= [[parseInt(equiv[1]), okEquivSpans[i]]]
const eventDesc = eventDescs[equiv[0] + '*' + i] = new EventDesc(id, tiggerId, roles, EQUIV)
eventDesc.leftSpans = okEquivSpans.slice(0, i)
eventDesc.rightSpans = okEquivSpans.slice(i)
@@ -1032,7 +1005,6 @@ export class Visualizer {
this.sourceData.sentence_offsets, this.data.chunks)
this.assignFragmentsToChunks(this.data.chunks, sortedFragments)
this.data.arcs = this.assignArcsToSpans(this.data, this.data.eventDescs, this.data.spans)
- this.applyNormalizations(this.sourceData.normalizations)
this.applyHighlighting(this.data, this.sourceData)
if (this.data.spans) {
diff --git a/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts b/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts
index e40a6c3941d..931102feb54 100644
--- a/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts
+++ b/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts
@@ -150,7 +150,7 @@ export class VisualizerUI {
// to avoid clobbering on delayed response
commentPopupNormInfoSeqId = 0
- normInfoSortFunction (a, b) {
+ compareLazyDetails (a, b) {
// images at the top
if (a[0].toLowerCase() === '') return -1
if (b[0].toLowerCase() === '') return 1
@@ -205,28 +205,30 @@ export class VisualizerUI {
this.initiateNormalizationAjaxCall(arcId, arcRole)
}
- initiateNormalizationAjaxCall (id, type) {
- // TODO: cache some number of most recent norm_get_data results
- this.ajax.loadLazyDetails(id, type).then(response => {
- if (response.exception) {
- // TODO: response to error
- } else if (!response.results) {
- // TODO: response to missing key
- } else {
- // extend comment popup with normalization data
- let norminfo = ''
+ initiateNormalizationAjaxCall (id: VID, type: number) {
+ this.ajax.loadLazyDetails(id, type).then(detailGroups => {
+ // extend comment popup with normalization data
+ let norminfo = ''
+
+ for (const group of detailGroups) {
+ const details = group.details
// flatten outer (name, attr, info) array (idx for sort)
let infos: [string, string, number][] = []
let idx = 0
- for (let j = 0; j < response.results.length; j++) {
- const label = response.results[j][0] as string
- const value = response.results[j][1] as string
- infos.push([label, value, idx++])
+ for (let j = 0; j < details.length; j++) {
+ infos.push([details[j].label, details[j].value, idx++])
}
// sort, prioritizing images (to get floats right)
- infos = infos.sort(this.normInfoSortFunction)
+ infos = infos.sort(this.compareLazyDetails)
+
// generate HTML
+ if (group.title) {
+ norminfo += `
+
+
`
+ }
+
for (let i = 0; i < infos.length; i++) {
const label = infos[i][0] as string
let value = infos[i][1] as string
@@ -241,18 +243,18 @@ export class VisualizerUI {
}
norminfo += `${Util.escapeHTML(label)}
- : ${Util.escapeHTML(value)?.replace(/\n/g, '
')}
-
`
+ : ${Util.escapeHTML(value)?.replace(/\n/g, '
')}
+
`
}
}
}
+ }
- const drop = $('#lazy_details_drop_point')
- if (drop) {
- drop.html(norminfo)
- } else {
- console.log('Lazy details drop point not found!') // TODO XXX
- }
+ const drop = $('#lazy_details_drop_point')
+ if (drop) {
+ drop.html(norminfo)
+ } else {
+ console.log('Lazy details drop point not found!') // TODO XXX
}
})
}
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/EditorAjaxRequestHandler.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/EditorAjaxRequestHandler.java
index 13050ed5660..79a3ea94a95 100644
--- a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/EditorAjaxRequestHandler.java
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/EditorAjaxRequestHandler.java
@@ -41,7 +41,7 @@ public interface EditorAjaxRequestHandler
String PARAM_OFFSETS = "offsets";
String PARAM_TARGET_SPAN_ID = "targetSpanId";
String PARAM_ORIGIN_SPAN_ID = "originSpanId";
- String PARAM_TYPE = "type";
+ String PARAM_LAYER_ID = "layerId";
String ACTION_CONTEXT_MENU = "contextMenu";
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/LazyDetailsHandler.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/LazyDetailsHandler.java
index b22f7530900..d562def0532 100644
--- a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/LazyDetailsHandler.java
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/actions/LazyDetailsHandler.java
@@ -28,8 +28,7 @@
import de.tudarmstadt.ukp.inception.diam.editor.config.DiamAutoConfig;
import de.tudarmstadt.ukp.inception.diam.editor.lazydetails.LazyDetailsLookupService;
import de.tudarmstadt.ukp.inception.diam.model.ajax.AjaxResponse;
-import de.tudarmstadt.ukp.inception.rendering.editorstate.AnnotatorState;
-import de.tudarmstadt.ukp.inception.rendering.vmodel.VID;
+import de.tudarmstadt.ukp.inception.diam.model.ajax.DefaultAjaxResponse;
/**
*
@@ -59,19 +58,19 @@ public String getCommand()
public AjaxResponse handle(AjaxRequestTarget aTarget, Request aRequest)
{
try {
- AnnotationPageBase page = (AnnotationPageBase) aTarget.getPage();
+ var page = (AnnotationPageBase) aTarget.getPage();
CasProvider casProvider = () -> page.getEditorCas();
// Parse annotation ID if present in request
- final VID paramId = getVid(aRequest);
+ var paramId = getVid(aRequest);
+ var state = page.getModelObject();
+ var details = lazyDetailsLookupService.lookupLazyDetails(
+ aRequest.getRequestParameters(), paramId, casProvider, state.getDocument(),
+ state.getUser(), state.getWindowBeginOffset(), state.getWindowEndOffset());
+ attachResponse(aTarget, aRequest, toInterpretableJsonString(details));
- AnnotatorState state = page.getModelObject();
- var result = lazyDetailsLookupService.lookupLazyDetails(aRequest.getRequestParameters(),
- paramId, casProvider, state.getDocument(), state.getUser(),
- state.getWindowBeginOffset(), state.getWindowEndOffset());
- attachResponse(aTarget, aRequest, toInterpretableJsonString(result));
- return result;
+ return new DefaultAjaxResponse(COMMAND);
}
catch (Exception e) {
return handleError("Unable to load lazy details", e);
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailQuery.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetail.java
similarity index 94%
rename from inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailQuery.java
rename to inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetail.java
index 9d49b5ee1bc..7804b996349 100644
--- a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailQuery.java
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetail.java
@@ -24,12 +24,12 @@
@JsonSerialize(using = BeanAsArraySerializer.class)
@JsonPropertyOrder(value = { "label", "value" })
-public class LazyDetailQuery
+public class LazyDetail
{
private String label;
private String value;
- public LazyDetailQuery(String aLabel, String aValue)
+ public LazyDetail(String aLabel, String aValue)
{
label = aLabel;
value = aValue;
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailGroup.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailGroup.java
new file mode 100644
index 00000000000..13c4c2c0cb7
--- /dev/null
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailGroup.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Technische Universität Darmstadt under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The Technische Universität Darmstadt
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package de.tudarmstadt.ukp.inception.diam.editor.lazydetails;
+
+import java.util.List;
+
+public class LazyDetailGroup
+{
+ private String title;
+ private List details;
+
+ public LazyDetailGroup(String aTitle)
+ {
+ title = aTitle;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+
+ public void setTitle(String aTitle)
+ {
+ title = aTitle;
+ }
+
+ public List getDetails()
+ {
+ return details;
+ }
+
+ public void setDetails(List aDetails)
+ {
+ details = aDetails;
+ }
+}
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupService.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupService.java
index 24ebfe39e86..d990a35808d 100644
--- a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupService.java
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupService.java
@@ -18,6 +18,7 @@
package de.tudarmstadt.ukp.inception.diam.editor.lazydetails;
import java.io.IOException;
+import java.util.List;
import org.apache.wicket.request.IRequestParameters;
@@ -29,8 +30,9 @@
public interface LazyDetailsLookupService
{
- LazyDetailsResponse lookupLazyDetails(IRequestParameters request, VID paramId, CasProvider aCas,
- SourceDocument aSourceDocument, User aUser, int windowBeginOffset, int windowEndOffset)
+ List lookupLazyDetails(IRequestParameters request, VID paramId,
+ CasProvider aCas, SourceDocument aSourceDocument, User aUser, int windowBeginOffset,
+ int windowEndOffset)
throws AnnotationException, IOException;
}
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupServiceImpl.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupServiceImpl.java
index fbd25d52609..f7980828b95 100644
--- a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupServiceImpl.java
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsLookupServiceImpl.java
@@ -18,8 +18,7 @@
package de.tudarmstadt.ukp.inception.diam.editor.lazydetails;
import static de.tudarmstadt.ukp.clarin.webanno.support.uima.ICasUtil.selectFsByAddr;
-import static de.tudarmstadt.ukp.inception.diam.editor.actions.EditorAjaxRequestHandler.PARAM_TYPE;
-import static de.tudarmstadt.ukp.inception.diam.editor.actions.LazyDetailsHandler.COMMAND;
+import static de.tudarmstadt.ukp.inception.diam.editor.actions.EditorAjaxRequestHandler.PARAM_LAYER_ID;
import static java.util.Collections.emptyList;
import static java.util.stream.Collectors.toList;
@@ -40,7 +39,7 @@
import de.tudarmstadt.ukp.inception.diam.editor.config.DiamAutoConfig;
import de.tudarmstadt.ukp.inception.editor.AnnotationEditorExtensionRegistry;
import de.tudarmstadt.ukp.inception.rendering.vmodel.VID;
-import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailResult;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailGroup;
import de.tudarmstadt.ukp.inception.schema.AnnotationSchemaService;
import de.tudarmstadt.ukp.inception.schema.adapter.AnnotationException;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureSupportRegistry;
@@ -71,42 +70,47 @@ public LazyDetailsLookupServiceImpl(AnnotationSchemaService aAnnotationService,
}
@Override
- public LazyDetailsResponse lookupLazyDetails(IRequestParameters request, VID aVid,
+ public List lookupLazyDetails(IRequestParameters request, VID aVid,
CasProvider aCas, SourceDocument aDocument, User aUser, int windowBeginOffset,
int windowEndOffset)
throws AnnotationException, IOException
{
- var response = new LazyDetailsResponse(COMMAND);
-
- var layerParam = request.getParameterValue(PARAM_TYPE);
+ var layerParam = request.getParameterValue(PARAM_LAYER_ID);
if (layerParam.isEmpty()) {
- return response;
+ return emptyList();
}
var cas = aCas.get();
var layer = findLayer(aVid, cas, layerParam, aDocument.getProject());
- var details = new ArrayList();
+ var detailGroups = new ArrayList();
lookupLayerLevelDetails(aVid, cas, windowBeginOffset, windowEndOffset, layer)
- .forEach(details::add);
+ .forEach(detailGroups::add);
for (var feature : annotationService.listAnnotationFeature(layer)) {
- lookupExtensionLevelDetails(aVid, aDocument, cas, aUser, feature).forEach(details::add);
+ lookupExtensionLevelDetails(aVid, aDocument, cas, aUser, feature)
+ .forEach(detailGroups::add);
// FIXME: We would like to get feature-level lazy details for the annotation label
// provided by the extension or said otherwise, we want to e.g. get KB details for a
// concept
// feature suggestion... this worked when we used the "query", but now is broken!
- lookupFeatureLevelDetail(aVid, cas, feature).forEach(details::add);
+ lookupFeatureLevelDetail(aVid, cas, feature).forEach(detailGroups::add);
}
- response.setResults(details.stream() //
- .map(d -> new LazyDetailQuery(d.getLabel(), d.getValue())) //
- .collect(toList()));
+ return detailGroups.stream() //
+ .map(this::toExternalForm) //
+ .collect(toList());
+ }
- return response;
+ private LazyDetailGroup toExternalForm(VLazyDetailGroup aGroup)
+ {
+ var extGroup = new LazyDetailGroup(aGroup.getTitle());
+ extGroup.setDetails(aGroup.getDetails().stream()
+ .map(d -> new LazyDetail(d.getLabel(), d.getValue())).collect(toList()));
+ return extGroup;
}
private AnnotationLayer findLayer(VID aVid, CAS aCas, StringValue aLayerParam, Project project)
@@ -123,7 +127,7 @@ private AnnotationLayer findLayer(VID aVid, CAS aCas, StringValue aLayerParam, P
return annotationService.findLayer(project, fs);
}
- private List lookupFeatureLevelDetail(VID aVid, CAS aCas,
+ private List lookupFeatureLevelDetail(VID aVid, CAS aCas,
AnnotationFeature aFeature)
{
if (aVid.isSynthetic()) {
@@ -135,7 +139,7 @@ private List lookupFeatureLevelDetail(VID aVid, CAS aCas,
return ext.lookupLazyDetails(aFeature, ext.getFeatureValue(aFeature, fs));
}
- private List lookupLayerLevelDetails(VID aVid, CAS aCas,
+ private List lookupLayerLevelDetails(VID aVid, CAS aCas,
int windowBeginOffset, int windowEndOffset, AnnotationLayer aLayer)
{
if (aVid.isSynthetic()) {
@@ -148,7 +152,7 @@ private List lookupLayerLevelDetails(VID aVid, CAS aCas,
}
- private List lookupExtensionLevelDetails(VID aVid, SourceDocument aDocument,
+ private List lookupExtensionLevelDetails(VID aVid, SourceDocument aDocument,
CAS aCas, User aUser, AnnotationFeature aFeature)
throws IOException
{
@@ -156,7 +160,7 @@ private List lookupExtensionLevelDetails(VID aVid, SourceDocu
return emptyList();
}
- var result = new ArrayList();
+ var result = new ArrayList();
var extension = extensionRegistry.getExtension(aVid.getExtensionId());
var value = extension.getFeatureValue(aDocument, aUser, aCas, aVid, aFeature);
featureSupportRegistry.findExtension(aFeature).orElseThrow()
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsResponse.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsResponse.java
index c7db2ae9e44..374030732e8 100644
--- a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsResponse.java
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/editor/lazydetails/LazyDetailsResponse.java
@@ -22,34 +22,23 @@
import de.tudarmstadt.ukp.inception.diam.model.ajax.AjaxResponse;
-/**
- * Response for the {@code normData} command.
- *
- * This is essentially present in brat, but there {@code results} would be a member of an array
- * called {@code value}. We simplified this a bit here and in {@code visualizer_ui.js}.
- */
public class LazyDetailsResponse
extends AjaxResponse
{
- private List results = new ArrayList<>();
+ private List groups = new ArrayList<>();
public LazyDetailsResponse(String aAction)
{
super(aAction);
}
- public List getResults()
- {
- return results;
- }
-
- public void setResults(List aResult)
+ public List getGroups()
{
- results = aResult;
+ return groups;
}
- public void addResult(LazyDetailQuery aResult)
+ public void setGroups(List aGroups)
{
- results.add(aResult);
+ groups = aGroups;
}
}
diff --git a/inception/inception-diam/src/main/ts/src/diam/DiamAjaxImpl.ts b/inception/inception-diam/src/main/ts/src/diam/DiamAjaxImpl.ts
index 731b4b2adfe..c3a9ec6a46a 100644
--- a/inception/inception-diam/src/main/ts/src/diam/DiamAjaxImpl.ts
+++ b/inception/inception-diam/src/main/ts/src/diam/DiamAjaxImpl.ts
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import { DiamAjax, Offsets, VID } from '@inception-project/inception-js-api'
+import { Annotation, DiamAjax, Offsets, VID, LazyDetailGroup } from '@inception-project/inception-js-api'
import { DiamLoadAnnotationsOptions, DiamSelectAnnotationOptions } from '@inception-project/inception-js-api/src/diam/DiamAjax'
declare const Wicket: any
@@ -229,14 +229,28 @@ export class DiamAjaxImpl implements DiamAjax {
})
}
- loadLazyDetails (id: VID, type: string): Promise {
+ loadLazyDetails (idOrAnnotation: VID | Annotation, optionaLayerId?: number): Promise {
const token = DiamAjaxImpl.newToken()
+ let id : VID
+ if (Object.prototype.hasOwnProperty.call(idOrAnnotation, 'vid')) {
+ id = (idOrAnnotation as Annotation).vid
+ } else {
+ id = idOrAnnotation as VID
+ }
+
+ let layerId : number
+ if (optionaLayerId) {
+ layerId = optionaLayerId
+ } else {
+ layerId = (idOrAnnotation as Annotation).layer.id
+ }
+
const params: Record = {
action: 'normData',
token,
id,
- type
+ layerId
}
return new Promise((resolve, reject) => {
@@ -251,12 +265,26 @@ export class DiamAjaxImpl implements DiamAjax {
return
}
- resolve(result)
+ const detailGroups : LazyDetailGroup[] = []
+ for (const detailGroup of result) {
+ const group : LazyDetailGroup = {
+ title: detailGroup.title,
+ details: []
+ }
+
+ for (const detail of detailGroup.details as []) {
+ group.details.push({ label: detail[0], value: detail[1] })
+ }
+
+ detailGroups.push(group)
+ }
+
+ resolve(detailGroups)
}],
eh: [() => {
DiamAjaxImpl.clearResult(token)
- reject(new Error('Unable to load annotation'))
+ reject(new Error('Unable to load lazy details'))
}]
})
})
diff --git a/inception/inception-feature-lookup/src/main/java/de/tudarmstadt/ukp/inception/feature/lookup/LookupFeatureSupport.java b/inception/inception-feature-lookup/src/main/java/de/tudarmstadt/ukp/inception/feature/lookup/LookupFeatureSupport.java
index 42ef6a0a6cb..8fccf5284df 100644
--- a/inception/inception-feature-lookup/src/main/java/de/tudarmstadt/ukp/inception/feature/lookup/LookupFeatureSupport.java
+++ b/inception/inception-feature-lookup/src/main/java/de/tudarmstadt/ukp/inception/feature/lookup/LookupFeatureSupport.java
@@ -21,7 +21,6 @@
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import java.io.IOException;
-import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
@@ -43,7 +42,8 @@
import de.tudarmstadt.ukp.inception.feature.lookup.config.LookupServiceProperties;
import de.tudarmstadt.ukp.inception.rendering.editorstate.AnnotatorState;
import de.tudarmstadt.ukp.inception.rendering.editorstate.FeatureState;
-import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailResult;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetail;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailGroup;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureEditor;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureSupport;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureType;
@@ -235,19 +235,19 @@ public void generateFeature(TypeSystemDescription aTSD, TypeDescription aTD,
}
@Override
- public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
+ public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
{
if (aValue instanceof LookupEntry) {
var handle = (LookupEntry) aValue;
- var result = new ArrayList();
- result.add(new VLazyDetailResult("Label", handle.getUiLabel()));
+ var result = new VLazyDetailGroup();
+ result.addDetail(new VLazyDetail("Label", handle.getUiLabel()));
if (isNotBlank(handle.getDescription())) {
- result.add(new VLazyDetailResult("Description", handle.getDescription()));
+ result.addDetail(new VLazyDetail("Description", handle.getDescription()));
}
- return result;
+ return asList(result);
}
return Collections.emptyList();
diff --git a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte b/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte
index 77d394c00b5..7b6dbc03698 100644
--- a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte
+++ b/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte
@@ -18,7 +18,7 @@
@@ -92,6 +93,16 @@
{#each annotation.comments as comment}
{/each}
+ {#if detailGroups}
+ {#each detailGroups as detailGroup}
+ {#if detailGroup.title}
+
{detailGroup.title}
+ {/if}
+ {#each detailGroup.details as detail}
+
{detail.label}: {detail.value}
+ {/each}
+ {/each}
+ {/if}
{/if}
diff --git a/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/feature/ImageFeatureSupport.java b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/feature/ImageFeatureSupport.java
index 853e77fa916..4f8f3c8cd3e 100644
--- a/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/feature/ImageFeatureSupport.java
+++ b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/feature/ImageFeatureSupport.java
@@ -44,7 +44,8 @@
import de.tudarmstadt.ukp.inception.image.config.ImageSupportAutoConfiguration;
import de.tudarmstadt.ukp.inception.rendering.editorstate.AnnotatorState;
import de.tudarmstadt.ukp.inception.rendering.editorstate.FeatureState;
-import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailResult;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetail;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailGroup;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureEditor;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureSupport;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureType;
@@ -197,7 +198,7 @@ public Serializable wrapFeatureValue(AnnotationFeature aFeature, CAS aCAS, Objec
}
@Override
- public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
+ public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
{
if (aValue instanceof String) {
var url = (String) aValue;
@@ -206,7 +207,7 @@ public List lookupLazyDetails(AnnotationFeature aFeature, Obj
return emptyList();
}
- return asList(new VLazyDetailResult("", url));
+ return asList(new VLazyDetailGroup(new VLazyDetail("", url)));
}
return Collections.emptyList();
diff --git a/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts b/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts
index 582145d1b77..46cc916c91a 100644
--- a/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts
+++ b/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts
@@ -15,9 +15,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import { Offsets, VID } from '../model'
-
-declare const Wicket: any
+import { LazyDetail } from '@inception-project/inception-js-api/src/model/LazyDetail'
+import { Annotation, LazyDetailGroup, Offsets, VID } from '../model'
export type DiamLoadAnnotationsOptions = {
format?: string,
@@ -39,17 +38,42 @@ export interface DiamAjax {
*/
scrollTo(args: { id?: VID, offset?: Offsets }): void;
+ /**
+ * Delete the annotation with the given VID.
+ *
+ * @param id the VID of the annotation to delete.
+ */
deleteAnnotation(id: VID): void;
+ /**
+ * Create a new span annotation at the given location.
+ *
+ * @param offsets the offsets of the annotation.
+ *
+ * NOTE: Currently only a single element is supported in the offsets array.
+ */
createSpanAnnotation(offsets: Array, spanText?: string): void;
+ /**
+ * Move a new span annotation to a new location.
+ *
+ * @param offsets the offsets of the annotation.
+ *
+ * NOTE: Currently only a single element is supported in the offsets array.
+ */
moveSpanAnnotation(id: VID, offsets: Array): void;
createRelationAnnotation(originSpanId: VID, targetSpanId: VID): void;
loadAnnotations(options?: DiamLoadAnnotationsOptions): Promise;
- loadLazyDetails(id: VID, type: string): Promise;
+ /**
+ * Loads the lazy details for the given annotation
+ *
+ * @param ann either the VID or the annotation itself
+ * @param layerId the layer ID of the annnotation if the annotation is specified as a VID
+ */
+ loadLazyDetails(ann: VID | Annotation, layerId?: number): Promise;
loadPreferences (key: string): Promise;
diff --git a/inception/inception-js-api/src/main/ts/src/model/LazyDetail.ts b/inception/inception-js-api/src/main/ts/src/model/LazyDetail.ts
new file mode 100644
index 00000000000..2a283ab2224
--- /dev/null
+++ b/inception/inception-js-api/src/main/ts/src/model/LazyDetail.ts
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Technische Universität Darmstadt under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The Technische Universität Darmstadt
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export interface LazyDetail {
+ label: string
+ value: string
+}
diff --git a/inception/inception-js-api/src/main/ts/src/model/LazyDetailGroup.ts b/inception/inception-js-api/src/main/ts/src/model/LazyDetailGroup.ts
new file mode 100644
index 00000000000..180432faeb8
--- /dev/null
+++ b/inception/inception-js-api/src/main/ts/src/model/LazyDetailGroup.ts
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Technische Universität Darmstadt under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The Technische Universität Darmstadt
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { LazyDetail } from "@inception-project/inception-js-api/src/model/LazyDetail"
+
+export interface LazyDetailGroup {
+ title: string
+ details: LazyDetail[]
+}
diff --git a/inception/inception-js-api/src/main/ts/src/model/index.ts b/inception/inception-js-api/src/main/ts/src/model/index.ts
index 12928449271..b8264a6b5ba 100644
--- a/inception/inception-js-api/src/main/ts/src/model/index.ts
+++ b/inception/inception-js-api/src/main/ts/src/model/index.ts
@@ -26,3 +26,5 @@ export { TextMarker } from './TextMarker'
export { Argument } from './Argument'
export { Comment } from './Comment'
export { Layer } from './Layer'
+export { LazyDetail } from './LazyDetail'
+export { LazyDetailGroup } from './LazyDetailGroup'
diff --git a/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/RecommendationEditorExtension.java b/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/RecommendationEditorExtension.java
index c7e4e949d7b..cf7d1de73d2 100644
--- a/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/RecommendationEditorExtension.java
+++ b/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/RecommendationEditorExtension.java
@@ -24,6 +24,7 @@
import static de.tudarmstadt.ukp.clarin.webanno.model.Mode.ANNOTATION;
import static de.tudarmstadt.ukp.inception.recommendation.api.model.LearningRecordChangeLocation.MAIN_EDITOR;
import static de.tudarmstadt.ukp.inception.recommendation.api.model.LearningRecordType.ACCEPTED;
+import static java.util.Arrays.asList;
import static java.util.Collections.emptyList;
import static org.apache.commons.lang3.StringUtils.defaultIfBlank;
import static org.apache.wicket.event.Broadcast.BREADTH;
@@ -69,7 +70,8 @@
import de.tudarmstadt.ukp.inception.rendering.editorstate.AnnotatorState;
import de.tudarmstadt.ukp.inception.rendering.selection.SelectionChangedEvent;
import de.tudarmstadt.ukp.inception.rendering.vmodel.VID;
-import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailResult;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetail;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailGroup;
import de.tudarmstadt.ukp.inception.schema.AnnotationSchemaService;
import de.tudarmstadt.ukp.inception.schema.adapter.AnnotationException;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureSupportRegistry;
@@ -349,7 +351,7 @@ public V getFeatureValue(SourceDocument aDocument, User aUser, CAS aCas, VID
}
@Override
- public List lookupLazyDetails(SourceDocument aDocument, User aUser, VID aVid,
+ public List lookupLazyDetails(SourceDocument aDocument, User aUser, VID aVid,
AnnotationFeature aFeature)
{
var predictions = recommendationService.getPredictions(aUser, aDocument.getProject());
@@ -360,7 +362,8 @@ public List lookupLazyDetails(SourceDocument aDocument, User
var vid = VID.parse(aVid.getExtensionPayload());
var representative = predictions.getPredictionByVID(aDocument, vid);
- if (representative.isEmpty()) {
+ if (representative.isEmpty()
+ || !representative.get().getFeature().equals(aFeature.getName())) {
return emptyList();
}
@@ -381,7 +384,7 @@ public List lookupLazyDetails(SourceDocument aDocument, User
var sortedByScore = group.get().bestSuggestionsByFeatureAndLabel(pref, aFeature.getName(),
label);
- var details = new ArrayList();
+ var details = new VLazyDetailGroup();
for (var ao : sortedByScore) {
var items = new ArrayList();
if (ao.getScore() != -1) {
@@ -393,10 +396,10 @@ public List lookupLazyDetails(SourceDocument aDocument, User
if (pref.isShowAllPredictions() && !ao.isVisible()) {
items.add("Hidden: " + ao.getReasonForHiding());
}
- details.add(new VLazyDetailResult(ao.getRecommenderName(),
- "\n" + String.join("\n", items)));
+ details.addDetail(
+ new VLazyDetail(ao.getRecommenderName(), "\n" + String.join("\n", items)));
}
- return details;
+ return asList(details);
}
}
diff --git a/inception/inception-ui-curation/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/curation/component/BratSuggestionVisualizer.java b/inception/inception-ui-curation/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/curation/component/BratSuggestionVisualizer.java
index 1e7d2b638d0..5406ab487cc 100644
--- a/inception/inception-ui-curation/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/curation/component/BratSuggestionVisualizer.java
+++ b/inception/inception-ui-curation/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/curation/component/BratSuggestionVisualizer.java
@@ -388,7 +388,8 @@ public AjaxResponse handle(AjaxRequestTarget aTarget, Request aRequest)
casProvider, state.getDocument(), segment.getUser(),
state.getWindowBeginOffset(), state.getWindowEndOffset());
attachResponse(aTarget, aRequest, toInterpretableJsonString(result));
- return result;
+
+ return new DefaultAjaxResponse(LazyDetailsHandler.COMMAND);
}
catch (Exception e) {
return handleError("Unable to load lazy details", e);
diff --git a/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/ConceptFeatureSupport.java b/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/ConceptFeatureSupport.java
index f2b8d450a07..48c25fe4754 100644
--- a/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/ConceptFeatureSupport.java
+++ b/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/ConceptFeatureSupport.java
@@ -21,7 +21,6 @@
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import java.io.IOException;
-import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
@@ -44,7 +43,8 @@
import de.tudarmstadt.ukp.inception.kb.graph.KBHandle;
import de.tudarmstadt.ukp.inception.rendering.editorstate.AnnotatorState;
import de.tudarmstadt.ukp.inception.rendering.editorstate.FeatureState;
-import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailResult;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetail;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailGroup;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureEditor;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureSupport;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureType;
@@ -260,18 +260,18 @@ public void generateFeature(TypeSystemDescription aTSD, TypeDescription aTD,
}
@Override
- public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
+ public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
{
if (aValue instanceof KBHandle) {
var handle = (KBHandle) aValue;
- var result = new ArrayList();
- result.add(new VLazyDetailResult("Label", handle.getUiLabel()));
+ var result = new VLazyDetailGroup(handle.getIdentifier());
+ result.addDetail(new VLazyDetail("Label", handle.getUiLabel()));
if (isNotBlank(handle.getDescription())) {
- result.add(new VLazyDetailResult("Description", handle.getDescription()));
+ result.addDetail(new VLazyDetail("Description", handle.getDescription()));
}
- return result;
+ return asList(result);
}
return Collections.emptyList();
diff --git a/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/MultiValueConceptFeatureSupport.java b/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/MultiValueConceptFeatureSupport.java
index 18eb3eff1aa..ac5f923bbfe 100644
--- a/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/MultiValueConceptFeatureSupport.java
+++ b/inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/feature/MultiValueConceptFeatureSupport.java
@@ -51,7 +51,8 @@
import de.tudarmstadt.ukp.inception.kb.graph.KBHandle;
import de.tudarmstadt.ukp.inception.rendering.editorstate.AnnotatorState;
import de.tudarmstadt.ukp.inception.rendering.editorstate.FeatureState;
-import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailResult;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetail;
+import de.tudarmstadt.ukp.inception.rendering.vmodel.VLazyDetailGroup;
import de.tudarmstadt.ukp.inception.schema.adapter.IllegalFeatureValueException;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureEditor;
import de.tudarmstadt.ukp.inception.schema.feature.FeatureSupport;
@@ -329,24 +330,24 @@ public String renderFeatureValue(AnnotationFeature aFeature, FeatureStructure aF
}
@Override
- public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
+ public List lookupLazyDetails(AnnotationFeature aFeature, Object aValue)
{
- var result = new ArrayList();
+ var result = new VLazyDetailGroup();
if (aValue instanceof Iterable) {
var handles = (Iterable>) aValue;
for (var h : handles) {
if (h instanceof KBHandle) {
var handle = (KBHandle) h;
- result.add(new VLazyDetailResult("Label", handle.getUiLabel()));
+ result.addDetail(new VLazyDetail("Label", handle.getUiLabel()));
if (isNotBlank(handle.getDescription())) {
- result.add(new VLazyDetailResult("Description", handle.getDescription()));
+ result.addDetail(new VLazyDetail("Description", handle.getDescription()));
}
}
}
}
- return result;
+ return asList(result);
}
}
From a7a30904c6c483aa047726bcd9bcb19b1ec22db5 Mon Sep 17 00:00:00 2001
From: Richard Eckart de Castilho
Date: Thu, 10 Aug 2023 22:17:50 +0200
Subject: [PATCH 05/17] #4139 - Reusable popover component for annotation
editors
- Implemented reusable popup
- Use it in the Apache Annotator editor and the annotation sidebar
---
.../src/main/ts_template/package-lock.json | 26 +-
.../src/main/ts_template/package-lock.json | 537 ++++++++++++---
.../main/ts/src/AnnotationsByLabelList.svelte | 12 +
.../ts/src/AnnotationsByPositionList.svelte | 163 +++--
.../main/ts/src/DiamAnnotationBrowser.svelte | 12 +-
.../src/main/ts_template/package-lock.json | 616 ++++++++++++++---
.../src/main/ts_template/package-lock.json | 433 ++++++++++--
.../src/main/ts_template/package-lock.json | 537 ++++++++++++---
.../AnnotationDetailPopOver.svelte | 137 ----
.../apache-annotator/ApacheAnnotatorEditor.ts | 2 +-
.../ApacheAnnotatorVisualizer.ts | 13 +-
.../src/main/ts_template/package.json | 6 +-
.../src/main/ts_template/package-lock.json | 431 ++++++++++--
.../src/main/ts_template/package-lock.json | 511 ++++++++++++--
.../inception-js-api/src/main/ts/build.mjs | 22 +-
.../src/main/ts/esbuild-runner.config.js | 7 +
.../main/ts/src/event/AnnotationOutEvent.ts | 33 +
.../src/main/ts/src/event/index.ts | 1 +
.../src/widget/AnnotationDetailPopOver.svelte | 214 ++++++
.../src/main/ts_template/package-lock.json | 403 +++++++++--
.../src/main/ts_template/package.json | 6 +-
.../src/main/ts_template/package-lock.json | 427 ++++++++++--
.../src/main/ts/build.mjs | 22 +-
.../src/main/ts/esbuild-runner.config.js | 32 +
.../src/main/ts_template/package-lock.json | 623 ++++++++++++++++--
.../src/main/ts_template/package.json | 3 +
.../src/main/ts_template/package-lock.json | 261 ++++++--
.../src/main/ts_template/package-lock.json | 261 ++++++--
.../src/main/ts_template/package-lock.json | 261 ++++++--
.../src/main/ts_template/package-lock.json | 8 +-
.../src/main/ts_template/package-lock.json | 12 +-
31 files changed, 4967 insertions(+), 1065 deletions(-)
delete mode 100644 inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte
create mode 100644 inception/inception-js-api/src/main/ts/src/event/AnnotationOutEvent.ts
create mode 100644 inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte
create mode 100644 inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js
diff --git a/inception/inception-bootstrap/src/main/ts_template/package-lock.json b/inception/inception-bootstrap/src/main/ts_template/package-lock.json
index 115abfe6629..26d088d863d 100644
--- a/inception/inception-bootstrap/src/main/ts_template/package-lock.json
+++ b/inception/inception-bootstrap/src/main/ts_template/package-lock.json
@@ -599,9 +599,9 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz",
- "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
+ "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dev": true
},
"node_modules/is-binary-path": {
@@ -617,9 +617,9 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
- "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
+ "version": "2.13.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
+ "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
"dev": true,
"dependencies": {
"has": "^1.0.3"
@@ -713,12 +713,12 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
- "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
+ "version": "1.22.4",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
+ "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -730,9 +730,9 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz",
- "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==",
+ "version": "1.65.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
+ "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-brat-editor/src/main/ts_template/package-lock.json b/inception/inception-brat-editor/src/main/ts_template/package-lock.json
index 0f88badff2f..73a2fefcbdd 100644
--- a/inception/inception-brat-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-brat-editor/src/main/ts_template/package-lock.json
@@ -118,7 +118,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -126,7 +126,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -148,7 +148,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -246,7 +246,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/semver": {
@@ -560,6 +560,24 @@
"node": ">=8"
}
},
+ "../../../../inception-diam/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-diam/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -1138,26 +1156,26 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1219,13 +1237,13 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1301,25 +1319,28 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1443,7 +1464,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1454,7 +1475,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1552,7 +1573,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1963,7 +1984,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2085,7 +2106,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2675,6 +2696,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-diam/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-diam/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-diam/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2905,11 +2953,11 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3023,7 +3071,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3612,7 +3660,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -3623,6 +3672,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -3633,6 +3683,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -3676,7 +3728,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3684,7 +3736,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3706,7 +3758,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3743,6 +3795,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -3775,6 +3832,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -3800,7 +3866,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -4114,6 +4185,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4207,6 +4296,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -4232,6 +4338,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -4474,6 +4588,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -4598,6 +4720,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -4663,6 +4790,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -4683,26 +4822,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -4764,13 +4903,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -4857,25 +4996,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -4999,7 +5141,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5010,7 +5152,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -5108,7 +5250,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5515,7 +5657,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -5637,7 +5779,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5956,6 +6098,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -6013,6 +6166,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -6232,6 +6393,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -6462,11 +6650,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -6579,8 +6767,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -6658,6 +6879,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -6758,6 +6993,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -6791,6 +7037,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -7261,7 +7576,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -7269,7 +7584,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7291,7 +7606,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -7743,6 +8058,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -8337,26 +8670,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -8418,13 +8751,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -8511,25 +8844,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -8647,7 +8983,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -8658,7 +8994,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -8756,7 +9092,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -9167,7 +9503,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT"
},
@@ -9288,7 +9624,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -9897,6 +10233,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -10122,11 +10485,11 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -10273,7 +10636,7 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-diam-editor/src/main/ts/src/AnnotationsByLabelList.svelte b/inception/inception-diam-editor/src/main/ts/src/AnnotationsByLabelList.svelte
index bbc2bec52db..13d913bc191 100644
--- a/inception/inception-diam-editor/src/main/ts/src/AnnotationsByLabelList.svelte
+++ b/inception/inception-diam-editor/src/main/ts/src/AnnotationsByLabelList.svelte
@@ -20,6 +20,8 @@
import {
AnnotatedText,
Annotation,
+ AnnotationOverEvent,
+ AnnotationOutEvent,
DiamAjax,
Relation,
Span,
@@ -91,6 +93,13 @@
function scrollTo(ann: Annotation) {
ajaxClient.scrollTo({ id: ann.vid });
}
+
+ function mouseOverAnnotation(event: MouseEvent, annotation: Annotation) {
+ event.target.dispatchEvent(new AnnotationOverEvent(annotation, event))
+ }
+ function mouseOutAnnotation(event: MouseEvent, annotation: Annotation) {
+ event.target.dispatchEvent(new AnnotationOutEvent(annotation, event))
+ }
{#if !data}
@@ -141,8 +150,11 @@
{#if groupedAnnotations[label]}
{#each groupedAnnotations[label] as ann}
+
- mouseOverAnnotation(ev, ann)}
+ on:mouseout={ev => mouseOutAnnotation(ev, ann)}
>
- let groupedRelations: Record
- let sortedSpanOffsets: Offsets[]
+ let groupedSpans: Record;
+ let groupedRelations: Record;
+ let sortedSpanOffsets: Offsets[];
- $: groupedSpans = groupSpansByPosition(data)
- $: groupedRelations = groupRelationsByPosition(data)
- $: sortedSpanOffsets = uniqueOffsets(data)
+ $: groupedSpans = groupSpansByPosition(data);
+ $: groupedRelations = groupRelationsByPosition(data);
+ $: sortedSpanOffsets = uniqueOffsets(data);
- function scrollToSpan (span: Span) {
+ function scrollToSpan(span: Span) {
ajaxClient.scrollTo({ id: span.vid, offset: span.offsets[0] });
}
- function scrollToRelation (relation: Relation) {
+ function scrollToRelation(relation: Relation) {
ajaxClient.scrollTo({ id: relation.vid });
}
+
+ function mouseOverAnnotation(event: MouseEvent, annotation: Annotation) {
+ event.target.dispatchEvent(new AnnotationOverEvent(annotation, event));
+ }
+
+ function mouseOutAnnotation(event: MouseEvent, annotation: Annotation) {
+ event.target.dispatchEvent(new AnnotationOutEvent(annotation, event));
+ }
{#if !data}
-
-
-
{:else}
-
- {#if sortedSpanOffsets || sortedSpanOffsets?.length}
-
- {#each sortedSpanOffsets as offsets}
- {@const spans = groupedSpans[`${offsets}`]}
- {@const firstSpan = spans[0]}
- -
-
-
scrollToSpan(firstSpan)}>
-
- {#each spans as span}
-
- {/each}
+
+ {#if sortedSpanOffsets || sortedSpanOffsets?.length}
+
+ {#each sortedSpanOffsets as offsets}
+ {@const spans = groupedSpans[`${offsets}`]}
+ {@const firstSpan = spans[0]}
+
+ -
+
+
scrollToSpan(firstSpan)}
+ >
+
+ {#each spans as span}
+
+ mouseOverAnnotation(ev, span)}
+ on:mouseout={(ev) =>
+ mouseOutAnnotation(ev, span)}
+ >
+
+
+ {/each}
+
+
-
-
-
+
- {@const relations = groupedRelations[`${offsets}`]}
- {#if relations}
- {#each relations as relation}
- {@const target = relation.arguments[1].target}
-
-
-
- ↳
-
-
- scrollToRelation(relation)}>
-
-
+ {@const relations = groupedRelations[`${offsets}`]}
+ {#if relations}
+ {#each relations as relation}
+ {@const target = relation.arguments[1].target}
+
+
-
+ mouseOverAnnotation(ev, relation)}
+ on:mouseout={(ev) =>
+ mouseOutAnnotation(ev, relation)}
+ >
+
+ ↳
+
+ scrollToRelation(relation)}
+ >
+
+
+
-
-
-
- {/each}
- {/if}
- {/each}
-
- {/if}
-
+
+
+
+ {/each}
+ {/if}
+ {/each}
+
+ {/if}
+
{/if}
-
\ No newline at end of file
diff --git a/inception/inception-diam-editor/src/main/ts/src/DiamAnnotationBrowser.svelte b/inception/inception-diam-editor/src/main/ts/src/DiamAnnotationBrowser.svelte
index 850b8325137..20561f31527 100644
--- a/inception/inception-diam-editor/src/main/ts/src/DiamAnnotationBrowser.svelte
+++ b/inception/inception-diam-editor/src/main/ts/src/DiamAnnotationBrowser.svelte
@@ -31,6 +31,7 @@
} from "./AnnotationBrowserState";
import AnnotationsByPositionList from "./AnnotationsByPositionList.svelte";
import AnnotationsByLabelList from "./AnnotationsByLabelList.svelte";
+ import AnnotationDetailPopOver from "@inception-project/inception-js-api/src/widget/AnnotationDetailPopOver.svelte"
export let wsEndpointUrl: string;
export let topicChannel: string;
@@ -115,7 +116,16 @@
connected = false;
}
- onMount(async () => connect());
+ onMount(async () => {
+ connect()
+ new AnnotationDetailPopOver({
+ target: element,
+ props: {
+ root: element,
+ ajax: ajaxClient
+ }
+ })
+ });
onDestroy(async () => disconnect());
diff --git a/inception/inception-diam-editor/src/main/ts_template/package-lock.json b/inception/inception-diam-editor/src/main/ts_template/package-lock.json
index ec3d01b663a..35791ee13fa 100644
--- a/inception/inception-diam-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-diam-editor/src/main/ts_template/package-lock.json
@@ -118,7 +118,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -126,7 +126,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -148,7 +148,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -246,7 +246,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/semver": {
@@ -560,6 +560,24 @@
"node": ">=8"
}
},
+ "../../../../inception-diam/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-diam/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -1138,26 +1156,26 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1219,13 +1237,13 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1301,25 +1319,28 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1443,7 +1464,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1454,7 +1475,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1552,7 +1573,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1963,7 +1984,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2085,7 +2106,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2675,6 +2696,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-diam/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-diam/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-diam/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2905,11 +2953,11 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3023,7 +3071,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3612,7 +3660,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -3623,6 +3672,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -3633,6 +3683,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -3676,7 +3728,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3684,7 +3736,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3706,7 +3758,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3743,6 +3795,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -3775,6 +3832,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -3800,7 +3866,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -4114,6 +4185,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4207,6 +4296,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -4232,6 +4338,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -4474,6 +4588,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -4598,6 +4720,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -4663,6 +4790,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -4683,26 +4822,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -4764,13 +4903,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -4857,25 +4996,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -4999,7 +5141,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5010,7 +5152,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -5108,7 +5250,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5515,7 +5657,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -5637,7 +5779,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5956,6 +6098,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -6013,6 +6166,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -6232,6 +6393,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -6462,11 +6650,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -6579,8 +6767,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -6658,6 +6879,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -6758,6 +6993,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -6791,6 +7037,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -7232,16 +7547,81 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.22.5",
+ "version": "7.22.10",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/highlight": "^7.22.5"
+ "@babel/highlight": "^7.22.10",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/helper-validator-identifier": {
"version": "7.22.5",
"dev": true,
@@ -7251,12 +7631,12 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.22.5",
+ "version": "7.22.10",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.5",
- "chalk": "^2.0.0",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -7328,11 +7708,11 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.22.6",
+ "version": "7.22.10",
"dev": true,
"license": "MIT",
"dependencies": {
- "regenerator-runtime": "^0.13.11"
+ "regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
@@ -7368,7 +7748,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -7376,7 +7756,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7398,7 +7778,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -7900,6 +8280,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -8659,26 +9057,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -8740,13 +9138,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -8833,25 +9231,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -8984,7 +9385,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -8995,7 +9396,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -9105,7 +9506,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -9576,7 +9977,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT"
},
@@ -9712,7 +10113,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -10466,6 +10867,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -10711,7 +11139,7 @@
}
},
"node_modules/regenerator-runtime": {
- "version": "0.13.11",
+ "version": "0.14.0",
"dev": true,
"license": "MIT"
},
@@ -10756,11 +11184,11 @@
"license": "MIT"
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -10912,7 +11340,7 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-diam/src/main/ts_template/package-lock.json b/inception/inception-diam/src/main/ts_template/package-lock.json
index eec5041adf8..1dafc48cfb4 100644
--- a/inception/inception-diam/src/main/ts_template/package-lock.json
+++ b/inception/inception-diam/src/main/ts_template/package-lock.json
@@ -44,7 +44,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -55,6 +56,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -65,6 +67,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -108,7 +112,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -116,7 +120,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -138,7 +142,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -175,6 +179,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -207,6 +216,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -232,7 +250,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -546,6 +569,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -639,6 +680,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -664,6 +722,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -906,6 +972,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -1030,6 +1104,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -1095,6 +1174,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -1115,26 +1206,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1196,13 +1287,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1289,25 +1380,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1431,7 +1525,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1442,7 +1536,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1540,7 +1634,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1947,7 +2041,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2069,7 +2163,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2388,6 +2482,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -2445,6 +2550,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -2664,6 +2777,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2894,11 +3034,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3011,8 +3151,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3090,6 +3263,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -3190,6 +3377,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -3223,6 +3421,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -3693,7 +3960,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3701,7 +3968,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3723,7 +3990,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3821,7 +4088,7 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
"license": "MIT"
},
"node_modules/@types/semver": {
@@ -4135,6 +4402,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4713,26 +4998,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -4794,13 +5079,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -4876,25 +5161,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -5018,7 +5306,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5029,7 +5317,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -5127,7 +5415,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5538,7 +5826,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -5660,7 +5948,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -6250,6 +6538,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -6480,11 +6795,11 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -6598,7 +6913,7 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
diff --git a/inception/inception-external-editor/src/main/ts_template/package-lock.json b/inception/inception-external-editor/src/main/ts_template/package-lock.json
index 2439de0bd21..5321afab525 100644
--- a/inception/inception-external-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-external-editor/src/main/ts_template/package-lock.json
@@ -102,7 +102,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -110,7 +110,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -132,7 +132,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -230,7 +230,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/semver": {
@@ -544,6 +544,24 @@
"node": ">=8"
}
},
+ "../../../../inception-diam/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-diam/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -1122,26 +1140,26 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1203,13 +1221,13 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1285,25 +1303,28 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1427,7 +1448,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1438,7 +1459,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1536,7 +1557,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1947,7 +1968,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2069,7 +2090,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2659,6 +2680,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-diam/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-diam/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-diam/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2889,11 +2937,11 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3007,7 +3055,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3596,7 +3644,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -3607,6 +3656,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -3617,6 +3667,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -3660,7 +3712,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3668,7 +3720,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3690,7 +3742,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3727,6 +3779,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -3759,6 +3816,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -3784,7 +3850,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -4098,6 +4169,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4191,6 +4280,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -4216,6 +4322,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -4458,6 +4572,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -4582,6 +4704,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -4647,6 +4774,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -4667,26 +4806,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -4748,13 +4887,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -4841,25 +4980,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -4983,7 +5125,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -4994,7 +5136,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -5092,7 +5234,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5499,7 +5641,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -5621,7 +5763,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5940,6 +6082,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -5997,6 +6150,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -6216,6 +6377,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -6446,11 +6634,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -6563,8 +6751,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -6642,6 +6863,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -6742,6 +6977,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -6775,6 +7021,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -7245,7 +7560,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -7253,7 +7568,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7275,7 +7590,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -7659,6 +7974,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -8124,26 +8457,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -8205,13 +8538,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -8298,25 +8631,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -8440,7 +8776,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -8451,7 +8787,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -8549,7 +8885,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -8933,7 +9269,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -9051,7 +9387,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -9413,6 +9749,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -9628,11 +9991,11 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -9727,7 +10090,7 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
diff --git a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte b/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte
deleted file mode 100644
index 7b6dbc03698..00000000000
--- a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/AnnotationDetailPopOver.svelte
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-
-
- {#if annotation}
-
- {#each annotation.comments as comment}
-
- {/each}
- {#if detailGroups}
- {#each detailGroups as detailGroup}
- {#if detailGroup.title}
-
{detailGroup.title}
- {/if}
- {#each detailGroup.details as detail}
-
{detail.label}: {detail.value}
- {/each}
- {/each}
- {/if}
-
- {/if}
-
-
-
-
diff --git a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorEditor.ts b/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorEditor.ts
index 93c782c0932..4dd6f66d0b2 100644
--- a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorEditor.ts
+++ b/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorEditor.ts
@@ -20,7 +20,7 @@ import { highlights, ApacheAnnotatorVisualizer } from './ApacheAnnotatorVisualiz
import { ApacheAnnotatorSelector } from './ApacheAnnotatorSelector'
import ApacheAnnotatorToolbar from './ApacheAnnotatorToolbar.svelte'
import { showEmptyHighlights, showLabels } from './ApacheAnnotatorState'
-import AnnotationDetailPopOver from './AnnotationDetailPopOver.svelte'
+import AnnotationDetailPopOver from '@inception-project/inception-js-api/src/widget/AnnotationDetailPopOver.svelte'
export class ApacheAnnotatorEditor implements AnnotationEditor {
private ajax: DiamAjax
diff --git a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorVisualizer.ts b/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorVisualizer.ts
index fc04edddb63..10511853a2f 100644
--- a/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorVisualizer.ts
+++ b/inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorVisualizer.ts
@@ -16,7 +16,7 @@
* limitations under the License.
*/
import './ApacheAnnotatorEditor.scss'
-import { unpackCompactAnnotatedTextV2, DiamAjax, DiamLoadAnnotationsOptions, VID, ViewportTracker, offsetToRange, AnnotatedText, Span, TextMarker, Offsets, AnnotationOverEvent, AnnotationOutEvent, Annotation } from '@inception-project/inception-js-api'
+import { unpackCompactAnnotatedTextV2, DiamAjax, DiamLoadAnnotationsOptions, VID, ViewportTracker, offsetToRange, AnnotatedText, Span, TextMarker, Offsets, AnnotationOverEvent, AnnotationOutEvent } from '@inception-project/inception-js-api'
import { CompactAnnotatedText } from '@inception-project/inception-js-api/src/model/compact_v2'
import { highlightText } from '@apache-annotator/dom'
import { showEmptyHighlights, showLabels } from './ApacheAnnotatorState'
@@ -42,8 +42,6 @@ export class ApacheAnnotatorVisualizer {
private removePingMarkersTimeout: number | undefined = undefined
private alpha = '55'
- private overAnnotation : Annotation | undefined
-
constructor (element: Element, ajax: DiamAjax) {
this.ajax = ajax
this.root = element
@@ -61,9 +59,16 @@ export class ApacheAnnotatorVisualizer {
if (!vid) return
const annotation = this.data?.getAnnotation(vid)
if (!annotation) return
- this.overAnnotation = annotation
event.target.dispatchEvent(new AnnotationOverEvent(annotation, event))
})
+ this.root.addEventListener('mouseout', event => {
+ if (!(event instanceof MouseEvent) || !(event.target instanceof HTMLElement)) return
+ const vid = event.target.getAttribute('data-iaa-id')
+ if (!vid) return
+ const annotation = this.data?.getAnnotation(vid)
+ if (!annotation) return
+ event.target.dispatchEvent(new AnnotationOutEvent(annotation, event))
+ })
// Add event handlers for highlighting extent of the annotation the mouse is currently over
this.root.addEventListener('mouseover', e => this.addAnnotationHighlight(e as MouseEvent))
diff --git a/inception/inception-html-apache-annotator-editor/src/main/ts_template/package.json b/inception/inception-html-apache-annotator-editor/src/main/ts_template/package.json
index c828ef0fbee..cda6082f243 100644
--- a/inception/inception-html-apache-annotator-editor/src/main/ts_template/package.json
+++ b/inception/inception-html-apache-annotator-editor/src/main/ts_template/package.json
@@ -4,12 +4,12 @@
"author": "INCEpTION Team",
"license": "Apache-2.0",
"homepage": "https://github.com/inception-project/inception#readme",
- "scripts": {
- "build": "node build.mjs"
- },
"bugs": {
"url": "https://github.com/inception-project/issues"
},
+ "scripts": {
+ "build": "node build.mjs"
+ },
"dependencies": {
"@inception-project/inception-js-api": "${semver}",
"apache-annotator": "${apache-annotator.version}",
diff --git a/inception/inception-html-editor/src/main/ts_template/package-lock.json b/inception/inception-html-editor/src/main/ts_template/package-lock.json
index 539c8dc825d..7dd4ad5638b 100644
--- a/inception/inception-html-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-html-editor/src/main/ts_template/package-lock.json
@@ -72,7 +72,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -83,6 +84,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -93,6 +95,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -136,7 +140,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -144,7 +148,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -166,7 +170,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -203,6 +207,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -235,6 +244,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -260,7 +278,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -574,6 +597,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -667,6 +708,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -692,6 +750,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -934,6 +1000,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -1058,6 +1132,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -1123,6 +1202,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -1143,26 +1234,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1224,13 +1315,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1317,25 +1408,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1459,7 +1553,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1470,7 +1564,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1568,7 +1662,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1975,7 +2069,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2097,7 +2191,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2416,6 +2510,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -2473,6 +2578,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -2692,6 +2805,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2922,11 +3062,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3039,8 +3179,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3118,6 +3291,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -3218,6 +3405,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -3251,6 +3449,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -3721,7 +3988,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3729,7 +3996,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3751,7 +4018,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -4144,6 +4411,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4609,26 +4894,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -4690,13 +4975,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -4783,25 +5068,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -4925,7 +5213,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -4936,7 +5224,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -5034,7 +5322,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5418,7 +5706,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -5536,7 +5824,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5902,6 +6190,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -6117,11 +6432,11 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -6216,7 +6531,7 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
diff --git a/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json b/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json
index 917a98c82d4..334c34e083b 100644
--- a/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json
@@ -71,7 +71,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -82,6 +83,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -92,6 +94,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -135,7 +139,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -143,7 +147,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -165,7 +169,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -202,6 +206,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -234,6 +243,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -259,7 +277,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -573,6 +596,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -666,6 +707,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -691,6 +749,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -933,6 +999,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -1057,6 +1131,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -1122,6 +1201,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -1142,26 +1233,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1223,13 +1314,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1316,25 +1407,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1458,7 +1552,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1469,7 +1563,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1567,7 +1661,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1974,7 +2068,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2096,7 +2190,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2415,6 +2509,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -2472,6 +2577,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -2691,6 +2804,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2921,11 +3061,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3038,8 +3178,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3117,6 +3290,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -3217,6 +3404,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -3250,6 +3448,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -3691,15 +3958,73 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.22.5",
+ "version": "7.22.10",
"license": "MIT",
"dependencies": {
- "@babel/highlight": "^7.22.5"
+ "@babel/highlight": "^7.22.10",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "license": "MIT"
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/helper-module-imports": {
"version": "7.22.5",
"license": "MIT",
@@ -3725,11 +4050,11 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.22.5",
+ "version": "7.22.10",
"license": "MIT",
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.5",
- "chalk": "^2.0.0",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -3794,17 +4119,21 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.22.6",
+ "version": "7.22.10",
"license": "MIT",
"dependencies": {
- "regenerator-runtime": "^0.13.11"
+ "regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/runtime/node_modules/regenerator-runtime": {
+ "version": "0.14.0",
+ "license": "MIT"
+ },
"node_modules/@babel/types": {
- "version": "7.22.5",
+ "version": "7.22.10",
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^7.22.5",
@@ -3937,7 +4266,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3945,7 +4274,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3967,7 +4296,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3975,7 +4304,7 @@
}
},
"node_modules/@flatten-js/core": {
- "version": "1.3.12",
+ "version": "1.4.0",
"license": "MIT",
"dependencies": {
"@flatten-js/interval-tree": "^1.0.21"
@@ -4476,6 +4805,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4734,7 +5081,7 @@
"license": "MIT"
},
"node_modules/core-js": {
- "version": "3.31.1",
+ "version": "3.32.0",
"hasInstallScript": true,
"license": "MIT",
"funding": {
@@ -5008,26 +5355,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -5089,13 +5436,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -5171,25 +5518,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -5298,7 +5648,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5309,7 +5659,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -5406,7 +5756,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5787,7 +6137,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -5903,7 +6253,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"license": "MIT",
"dependencies": {
"has": "^1.0.3"
@@ -6317,6 +6667,33 @@
"node": ">= 0.4"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -6649,10 +7026,10 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -6744,7 +7121,7 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
diff --git a/inception/inception-js-api/src/main/ts/build.mjs b/inception/inception-js-api/src/main/ts/build.mjs
index 4cbe5e2f235..e0668afabf3 100644
--- a/inception/inception-js-api/src/main/ts/build.mjs
+++ b/inception/inception-js-api/src/main/ts/build.mjs
@@ -15,9 +15,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+import esbuild from 'esbuild'
+import esbuildSvelte from 'esbuild-svelte'
+import sveltePreprocess from 'svelte-preprocess'
import yargs from 'yargs/yargs'
import { hideBin } from 'yargs/helpers'
-import esbuild from 'esbuild'
import { sassPlugin } from 'esbuild-sass-plugin'
import fs from 'fs-extra'
@@ -31,10 +33,24 @@ const defaults = {
bundle: true,
sourcemap: true,
minify: !argv.live,
- target: 'es6',
+ target: 'es2018',
loader: { '.ts': 'ts' },
logLevel: 'info',
- plugins: [sassPlugin()]
+ plugins: [
+ sassPlugin(),
+ esbuildSvelte({
+ compilerOptions: { dev: argv.live },
+ preprocess: sveltePreprocess(),
+ filterWarnings: (warning) => {
+ // Ignore warnings about unused CSS selectors in Svelte components which appear as we import
+ // Bootstrap CSS files. We do not use all selectors in the files and thus the warnings are
+ // expected.
+ if (warning.code === 'css-unused-selector') {
+ return false
+ }
+ }
+ })
+ ]
}
if (argv.live) {
diff --git a/inception/inception-js-api/src/main/ts/esbuild-runner.config.js b/inception/inception-js-api/src/main/ts/esbuild-runner.config.js
index ee0183fffab..31493a4f5af 100644
--- a/inception/inception-js-api/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-js-api/src/main/ts/esbuild-runner.config.js
@@ -15,11 +15,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+const esbuildSvelte = require('esbuild-svelte')
+const sveltePreprocess = require('svelte-preprocess')
+
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
target: 'es6',
plugins: [
+ esbuildSvelte({
+ compilerOptions: { css: true },
+ preprocess: sveltePreprocess({ sourceMap: true })
+ })
]
}
}
diff --git a/inception/inception-js-api/src/main/ts/src/event/AnnotationOutEvent.ts b/inception/inception-js-api/src/main/ts/src/event/AnnotationOutEvent.ts
new file mode 100644
index 00000000000..dbe443e8e3c
--- /dev/null
+++ b/inception/inception-js-api/src/main/ts/src/event/AnnotationOutEvent.ts
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Technische Universität Darmstadt under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The Technische Universität Darmstadt
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { Annotation } from '../model'
+
+const eventType = 'i7n-annotation-out'
+export class AnnotationOutEvent extends Event {
+ static eventType = eventType
+
+ originalEvent: Event
+ annotation: Annotation
+
+ constructor (annotation: Annotation, originalEvent: Event) {
+ super(eventType, { bubbles: true })
+ this.originalEvent = originalEvent
+ this.annotation = annotation
+ }
+}
\ No newline at end of file
diff --git a/inception/inception-js-api/src/main/ts/src/event/index.ts b/inception/inception-js-api/src/main/ts/src/event/index.ts
index 63da7d8a990..18e2e4566c9 100644
--- a/inception/inception-js-api/src/main/ts/src/event/index.ts
+++ b/inception/inception-js-api/src/main/ts/src/event/index.ts
@@ -16,3 +16,4 @@
* limitations under the License.
*/
export { AnnotationOverEvent } from './AnnotationOverEvent'
+export { AnnotationOutEvent } from './AnnotationOutEvent'
diff --git a/inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte b/inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte
new file mode 100644
index 00000000000..4bfdaec4301
--- /dev/null
+++ b/inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+ {#if annotation}
+
+ {#each annotation.comments as comment}
+
+ {/each}
+ {#if detailGroups}
+ {#each detailGroups as detailGroup}
+ {#if detailGroup.title}
+
{detailGroup.title}
+ {/if}
+ {#each detailGroup.details as detail}
+
+ {detail.label}:
+ {detail.value}
+
+ {/each}
+ {/each}
+ {/if}
+
+ {/if}
+
+
+
+
diff --git a/inception/inception-js-api/src/main/ts_template/package-lock.json b/inception/inception-js-api/src/main/ts_template/package-lock.json
index e0e122479e6..177d9926a00 100644
--- a/inception/inception-js-api/src/main/ts_template/package-lock.json
+++ b/inception/inception-js-api/src/main/ts_template/package-lock.json
@@ -10,7 +10,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -21,6 +22,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -31,6 +33,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -413,18 +417,18 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz",
- "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==",
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
+ "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
"dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz",
- "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
+ "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -445,9 +449,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz",
- "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
+ "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -486,6 +490,12 @@
"integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
"dev": true
},
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
+ "dev": true
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -521,6 +531,16 @@
"node": ">= 8"
}
},
+ "node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
+ "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"node_modules/@stomp/stompjs": {
"version": "6.1.2",
"resolved": "https://registry.npmjs.org/@stomp/stompjs/-/stompjs-6.1.2.tgz",
@@ -551,9 +571,15 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "20.4.2",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.2.tgz",
- "integrity": "sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw=="
+ "version": "20.4.9",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.9.tgz",
+ "integrity": "sha512-8e2HYcg7ohnTUbHk8focoklEQYvemQmu9M/f43DZVx43kHn0tE3BY/6gSDxS7k0SprtS0NHvj+L80cGLnoOUcQ=="
+ },
+ "node_modules/@types/pug": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@types/pug/-/pug-2.0.6.tgz",
+ "integrity": "sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==",
+ "dev": true
},
"node_modules/@types/semver": {
"version": "7.5.0",
@@ -887,6 +913,25 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.2.tgz",
+ "integrity": "sha512-tb5thFFlUcp7NdNF6/MpDk/1r/4awWG1FIz3YqDf+/zJSTezBb+/5WViH41obXULHVpDzoiCLpJ/ZO9YbJMsdw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz",
@@ -988,6 +1033,24 @@
"node": ">=8"
}
},
+ "node_modules/bootstrap": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.0.tgz",
+ "integrity": "sha512-UnBV3E3v4STVNQdms6jSGO2CvOkjUMdDAVR2V5N4uCMdaIkaQjbcEAMqRimDHIs4uqBYzDAKCQwCB+97tJgHQw==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@@ -1016,6 +1079,15 @@
"integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
"dev": true
},
+ "node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+ "dev": true,
+ "engines": {
+ "node": "*"
+ }
+ },
"node_modules/buffer-from": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
@@ -1280,6 +1352,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/detect-indent": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz",
+ "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/diff": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz",
@@ -1412,6 +1493,12 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/es6-promise": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz",
+ "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==",
+ "dev": true
+ },
"node_modules/esbuild": {
"version": "0.16.17",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz",
@@ -1480,6 +1567,19 @@
"sass": "^1.56.1"
}
},
+ "node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/esbuild-svelte/-/esbuild-svelte-0.7.4.tgz",
+ "integrity": "sha512-d4Vafj5nFTmZPXznW6YL3ZHXiWwNiPLcE8yfq/5oE8nbyrZlIB92ZCVh3JMbMje+vCb4jnKdH+WoV2sLZRdOJA==",
+ "dev": true,
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"node_modules/escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
@@ -1502,27 +1602,27 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz",
- "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
+ "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1585,14 +1685,14 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz",
- "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==",
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
"dev": true,
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1686,26 +1786,29 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz",
- "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==",
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz",
+ "integrity": "sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==",
"dev": true,
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1838,9 +1941,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
- "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
+ "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1850,9 +1953,9 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
- "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
"dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
@@ -1958,9 +2061,9 @@
"dev": true
},
"node_modules/fast-glob": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz",
- "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
+ "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
"dev": true,
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
@@ -2405,9 +2508,9 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz",
- "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
+ "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dev": true,
"peer": true
},
@@ -2539,9 +2642,9 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
- "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
+ "version": "2.13.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
+ "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
"dev": true,
"dependencies": {
"has": "^1.0.3"
@@ -2889,6 +2992,18 @@
"node": ">=10"
}
},
+ "node_modules/magic-string": {
+ "version": "0.27.0",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz",
+ "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"node_modules/make-dir": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
@@ -2952,6 +3067,15 @@
"node": ">=8.6"
}
},
+ "node_modules/min-indent": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/minimatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
@@ -3190,6 +3314,35 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz",
+ "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.0.tgz",
+ "integrity": "sha512-70MWG6NfRH9GnbZOikuhPPYzpUpof9iW2J9E4dW7FXTqPNb6rllE6u39SKwwiNh8lCwX3DDb5OgcKGiEBrTTyw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz",
@@ -3442,12 +3595,12 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
- "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
+ "version": "1.22.4",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
+ "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3567,10 +3720,46 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/sander": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/sander/-/sander-0.5.1.tgz",
+ "integrity": "sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==",
+ "dev": true,
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
+ "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
+ "dev": true,
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
+ "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
+ "dev": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"node_modules/sass": {
- "version": "1.63.6",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz",
- "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==",
+ "version": "1.65.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
+ "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
"dev": true,
"peer": true,
"dependencies": {
@@ -3653,6 +3842,21 @@
"node": ">=8"
}
},
+ "node_modules/sorcery": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/sorcery/-/sorcery-0.11.0.tgz",
+ "integrity": "sha512-J69LQ22xrQB1cIFJhPfgtLuI6BpWRiWu1Y3vSsIwK/eAScqJxd/+CJlUuHQRdX2C9NGFamq+KqNywGgaThwfHw==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -3762,6 +3966,18 @@
"node": ">=4"
}
},
+ "node_modules/strip-indent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",
+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",
+ "dev": true,
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/strip-json-comments": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
@@ -3798,6 +4014,77 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/svelte": {
+ "version": "3.59.2",
+ "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.59.2.tgz",
+ "integrity": "sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/svelte-preprocess/-/svelte-preprocess-5.0.4.tgz",
+ "integrity": "sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"node_modules/temp-dir": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz",
diff --git a/inception/inception-js-api/src/main/ts_template/package.json b/inception/inception-js-api/src/main/ts_template/package.json
index 61be672bf58..0f24a393673 100644
--- a/inception/inception-js-api/src/main/ts_template/package.json
+++ b/inception/inception-js-api/src/main/ts_template/package.json
@@ -15,11 +15,13 @@
},
"dependencies": {
"@stomp/stompjs": "${stomp-stompjs.version}",
- "@types/stompjs": "${types-stompjs.version}"
+ "@types/stompjs": "${types-stompjs.version}",
+ "bootstrap": "${bootstrap.version}"
},
"devDependencies": {
"chai": "${chai.version}",
"esbuild": "${esbuild.version}",
+ "esbuild-svelte": "${esbuild-svelte.version}",
"esbuild-runner-plugins": "${esbuild-runner-plugins.version}",
"esbuild-sass-plugin": "${esbuild-sass-plugin.version}",
"eslint": "${eslint.version}",
@@ -32,6 +34,8 @@
"fs-extra": "${fs-extra.version}",
"mocha": "${mocha.version}",
"mocha-junit-reporter": "${mocha-junit-reporter.version}",
+ "svelte": "${svelte.version}",
+ "svelte-preprocess": "${svelte-preprocess.version}",
"ts-mocha": "${mocha.version}",
"typescript": "${typescript.version}",
"@typescript-eslint/eslint-plugin": "${typescript-eslint-eslint-plugin.version}",
diff --git a/inception/inception-pdf-editor/src/main/ts_template/package-lock.json b/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
index b24ed075ae8..3d02831accd 100644
--- a/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
@@ -72,7 +72,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -83,6 +84,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -93,6 +95,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -136,7 +140,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -144,7 +148,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -166,7 +170,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -203,6 +207,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -235,6 +244,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -260,7 +278,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -574,6 +597,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -667,6 +708,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -692,6 +750,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -934,6 +1000,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -1058,6 +1132,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -1123,6 +1202,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -1143,26 +1234,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1224,13 +1315,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1317,25 +1408,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1459,7 +1553,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1470,7 +1564,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1568,7 +1662,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1975,7 +2069,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2097,7 +2191,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2416,6 +2510,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -2473,6 +2578,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -2692,6 +2805,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2922,11 +3062,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3039,8 +3179,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3118,6 +3291,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -3218,6 +3405,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -3251,6 +3449,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -3721,7 +3988,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3729,7 +3996,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3751,7 +4018,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -4128,6 +4395,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4519,26 +4804,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -4600,13 +4885,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -4682,25 +4967,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -4809,7 +5097,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -4820,7 +5108,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -4925,7 +5213,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5396,7 +5684,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5749,6 +6037,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -5963,11 +6278,11 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
diff --git a/inception/inception-pdf-editor2/src/main/ts/build.mjs b/inception/inception-pdf-editor2/src/main/ts/build.mjs
index 0e9ca09d5e8..d8de9ae4751 100644
--- a/inception/inception-pdf-editor2/src/main/ts/build.mjs
+++ b/inception/inception-pdf-editor2/src/main/ts/build.mjs
@@ -15,9 +15,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+import esbuild from 'esbuild'
+import esbuildSvelte from 'esbuild-svelte'
+import sveltePreprocess from 'svelte-preprocess'
import yargs from 'yargs/yargs'
import { hideBin } from 'yargs/helpers'
-import esbuild from 'esbuild'
import { sassPlugin } from 'esbuild-sass-plugin'
import fs from 'fs-extra'
@@ -31,10 +33,24 @@ const defaults = {
bundle: true,
sourcemap: true,
minify: !argv.live,
- target: 'es6',
+ target: 'es2018',
loader: { '.ts': 'ts' },
logLevel: 'info',
- plugins: [sassPlugin()]
+ plugins: [
+ sassPlugin(),
+ esbuildSvelte({
+ compilerOptions: { dev: argv.live },
+ preprocess: sveltePreprocess(),
+ filterWarnings: (warning) => {
+ // Ignore warnings about unused CSS selectors in Svelte components which appear as we import
+ // Bootstrap CSS files. We do not use all selectors in the files and thus the warnings are
+ // expected.
+ if (warning.code === 'css-unused-selector') {
+ return false
+ }
+ }
+ })
+ ]
}
if (argv.live) {
diff --git a/inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js b/inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js
new file mode 100644
index 00000000000..31493a4f5af
--- /dev/null
+++ b/inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Technische Universität Darmstadt under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The Technische Universität Darmstadt
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const esbuildSvelte = require('esbuild-svelte')
+const sveltePreprocess = require('svelte-preprocess')
+
+module.exports = {
+ type: 'bundle', // bundle or transform (see description above)
+ esbuild: {
+ target: 'es6',
+ plugins: [
+ esbuildSvelte({
+ compilerOptions: { css: true },
+ preprocess: sveltePreprocess({ sourceMap: true })
+ })
+ ]
+ }
+}
diff --git a/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json b/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
index ce315663035..c672bba4fca 100644
--- a/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
+++ b/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
@@ -26,6 +26,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -36,6 +37,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"sass": "^1.57.1",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -82,7 +85,8 @@
"license": "Apache-2.0",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
- "@types/stompjs": "^2.3.5"
+ "@types/stompjs": "^2.3.5",
+ "bootstrap": "5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -93,6 +97,7 @@
"esbuild": "~0.16.17",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
"esbuild-sass-plugin": "~2.5.0",
+ "esbuild-svelte": "^0.7.3",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -103,6 +108,8 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
+ "svelte": "^3.55.0",
+ "svelte-preprocess": "^5.0.0",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -146,7 +153,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -154,7 +161,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -176,7 +183,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -213,6 +220,11 @@
"dev": true,
"license": "BSD-3-Clause"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -245,6 +257,15 @@
"node": ">= 8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "license": "MIT",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/@stomp/stompjs": {
"version": "6.1.2",
"license": "Apache-2.0"
@@ -270,7 +291,12 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.2",
+ "version": "20.4.9",
+ "license": "MIT"
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/semver": {
@@ -584,6 +610,24 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -677,6 +721,23 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
+ "version": "5.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/twbs"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/bootstrap"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.7"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
"version": "1.1.11",
"dev": true,
@@ -702,6 +763,14 @@
"dev": true,
"license": "ISC"
},
+ "../../../../inception-js-api/src/main/ts/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -944,6 +1013,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -1068,6 +1145,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -1133,6 +1215,18 @@
"sass": "^1.56.1"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -1153,26 +1247,26 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -1234,13 +1328,13 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -1327,25 +1421,28 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -1469,7 +1566,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1480,7 +1577,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -1578,7 +1675,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1985,7 +2082,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT",
"peer": true
@@ -2107,7 +2204,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2426,6 +2523,17 @@
"node": ">=10"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -2483,6 +2591,14 @@
"node": ">=8.6"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -2702,6 +2818,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -2932,11 +3075,11 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -3049,8 +3192,41 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"peer": true,
@@ -3128,6 +3304,20 @@
"node": ">=8"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -3228,6 +3418,17 @@
"node": ">=4"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -3261,6 +3462,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "../../../../inception-js-api/src/main/ts/node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"../../../../inception-js-api/src/main/ts/node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
@@ -3731,7 +4001,7 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "version": "4.6.2",
"dev": true,
"license": "MIT",
"engines": {
@@ -3739,7 +4009,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3761,7 +4031,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3802,6 +4072,11 @@
"resolved": "../../../../inception-js-api/src/main/ts",
"link": true
},
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"dev": true,
@@ -3867,6 +4142,11 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@types/pug": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@types/semver": {
"version": "7.5.0",
"dev": true,
@@ -4181,6 +4461,24 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"dev": true,
@@ -4291,6 +4589,14 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"node_modules/buffer-from": {
"version": "1.1.2",
"dev": true,
@@ -4517,6 +4823,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/detect-indent": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/diff": {
"version": "5.0.0",
"dev": true,
@@ -4645,6 +4959,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/es6-promise": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/esbuild": {
"version": "0.16.17",
"dev": true,
@@ -4710,6 +5029,18 @@
"sass": "^1.56.1"
}
},
+ "node_modules/esbuild-svelte": {
+ "version": "0.7.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.9.6",
+ "svelte": ">=3.43.0 <5"
+ }
+ },
"node_modules/escalade": {
"version": "3.1.1",
"dev": true,
@@ -4730,26 +5061,26 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
+ "version": "8.46.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -4811,13 +5142,13 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
+ "version": "0.3.9",
"dev": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -4904,25 +5235,28 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
+ "version": "2.28.0",
"dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -5046,7 +5380,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
+ "version": "3.4.2",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5057,7 +5391,7 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
+ "version": "7.2.2",
"dev": true,
"license": "BSD-2-Clause",
"dependencies": {
@@ -5162,7 +5496,7 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5569,7 +5903,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT"
},
@@ -5685,7 +6019,7 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -6004,6 +6338,17 @@
"node": ">=10"
}
},
+ "node_modules/magic-string": {
+ "version": "0.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.13"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"node_modules/make-dir": {
"version": "3.1.0",
"dev": true,
@@ -6046,6 +6391,14 @@
"node": ">=8.6"
}
},
+ "node_modules/min-indent": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/minimatch": {
"version": "3.1.2",
"dev": true,
@@ -6065,6 +6418,17 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/mkdirp": {
+ "version": "0.5.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ }
+ },
"node_modules/mocha": {
"version": "10.2.0",
"dev": true,
@@ -6236,6 +6600,33 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"dev": true,
@@ -6482,11 +6873,11 @@
}
},
"node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -6599,8 +6990,30 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/sander": {
+ "version": "0.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es6-promise": "^3.1.2",
+ "graceful-fs": "^4.1.3",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.2"
+ }
+ },
+ "node_modules/sander/node_modules/rimraf": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ }
+ },
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -6677,6 +7090,20 @@
"node": ">=8"
}
},
+ "node_modules/sorcery": {
+ "version": "0.11.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.14",
+ "buffer-crc32": "^0.2.5",
+ "minimist": "^1.2.0",
+ "sander": "^0.5.0"
+ },
+ "bin": {
+ "sorcery": "bin/sorcery"
+ }
+ },
"node_modules/source-map": {
"version": "0.6.1",
"dev": true,
@@ -6776,6 +7203,17 @@
"node": ">=4"
}
},
+ "node_modules/strip-indent": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
@@ -6809,6 +7247,75 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/svelte": {
+ "version": "3.59.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/svelte-preprocess": {
+ "version": "5.0.4",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/pug": "^2.0.6",
+ "detect-indent": "^6.1.0",
+ "magic-string": "^0.27.0",
+ "sorcery": "^0.11.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 14.10.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.10.2",
+ "coffeescript": "^2.5.1",
+ "less": "^3.11.3 || ^4.0.0",
+ "postcss": "^7 || ^8",
+ "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0",
+ "pug": "^3.0.0",
+ "sass": "^1.26.8",
+ "stylus": "^0.55.0",
+ "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0",
+ "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0",
+ "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "coffeescript": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "postcss-load-config": {
+ "optional": true
+ },
+ "pug": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"node_modules/temp-dir": {
"version": "1.0.0",
"dev": true,
diff --git a/inception/inception-pdf-editor2/src/main/ts_template/package.json b/inception/inception-pdf-editor2/src/main/ts_template/package.json
index 48dbca98a6a..9db1ae14780 100644
--- a/inception/inception-pdf-editor2/src/main/ts_template/package.json
+++ b/inception/inception-pdf-editor2/src/main/ts_template/package.json
@@ -22,6 +22,7 @@
"devDependencies": {
"chai": "${chai.version}",
"esbuild": "${esbuild.version}",
+ "esbuild-svelte": "${esbuild-svelte.version}",
"esbuild-runner-plugins": "${esbuild-runner-plugins.version}",
"esbuild-sass-plugin": "${esbuild-sass-plugin.version}",
"eslint": "${eslint.version}",
@@ -34,6 +35,8 @@
"fs-extra": "${fs-extra.version}",
"mocha": "${mocha.version}",
"sass": "${sass.version}",
+ "svelte": "${svelte.version}",
+ "svelte-preprocess": "${svelte-preprocess.version}",
"typescript": "${typescript.version}",
"@typescript-eslint/eslint-plugin": "${typescript-eslint-eslint-plugin.version}",
"@typescript-eslint/parser": "${typescript-eslint-parser.version}",
diff --git a/inception/inception-project-export/src/main/ts_template/package-lock.json b/inception/inception-project-export/src/main/ts_template/package-lock.json
index e59a7d4d9f0..e8fe911c547 100644
--- a/inception/inception-project-export/src/main/ts_template/package-lock.json
+++ b/inception/inception-project-export/src/main/ts_template/package-lock.json
@@ -53,17 +53,89 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz",
- "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.10.tgz",
+ "integrity": "sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==",
"dev": true,
"dependencies": {
- "@babel/highlight": "^7.22.5"
+ "@babel/highlight": "^7.22.10",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "dev": true
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/helper-validator-identifier": {
"version": "7.22.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz",
@@ -74,13 +146,13 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz",
- "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.10.tgz",
+ "integrity": "sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==",
"dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.5",
- "chalk": "^2.0.0",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -159,12 +231,12 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.22.6",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz",
- "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.10.tgz",
+ "integrity": "sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==",
"dev": true,
"dependencies": {
- "regenerator-runtime": "^0.13.11"
+ "regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
@@ -538,18 +610,18 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz",
- "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==",
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
+ "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
"dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz",
- "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
+ "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -570,9 +642,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz",
- "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
+ "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1112,6 +1184,25 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.2.tgz",
+ "integrity": "sha512-tb5thFFlUcp7NdNF6/MpDk/1r/4awWG1FIz3YqDf+/zJSTezBb+/5WViH41obXULHVpDzoiCLpJ/ZO9YbJMsdw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz",
@@ -1935,27 +2026,27 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz",
- "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
+ "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -2018,14 +2109,14 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz",
- "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==",
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
"dev": true,
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -2119,26 +2210,29 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz",
- "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==",
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz",
+ "integrity": "sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==",
"dev": true,
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -2281,9 +2375,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
- "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
+ "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2293,9 +2387,9 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
- "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
"dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
@@ -2414,9 +2508,9 @@
"dev": true
},
"node_modules/fast-glob": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz",
- "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
+ "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
"dev": true,
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
@@ -2926,9 +3020,9 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz",
- "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
+ "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dev": true
},
"node_modules/import-fresh": {
@@ -3075,9 +3169,9 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
- "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
+ "version": "2.13.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
+ "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
"dev": true,
"dependencies": {
"has": "^1.0.3"
@@ -3899,6 +3993,35 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz",
+ "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.0.tgz",
+ "integrity": "sha512-70MWG6NfRH9GnbZOikuhPPYzpUpof9iW2J9E4dW7FXTqPNb6rllE6u39SKwwiNh8lCwX3DDb5OgcKGiEBrTTyw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz",
@@ -4169,9 +4292,9 @@
}
},
"node_modules/regenerator-runtime": {
- "version": "0.13.11",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
- "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz",
+ "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==",
"dev": true
},
"node_modules/regexp.prototype.flags": {
@@ -4219,12 +4342,12 @@
"dev": true
},
"node_modules/resolve": {
- "version": "1.22.2",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
- "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
+ "version": "1.22.4",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
+ "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -4387,9 +4510,9 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz",
- "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==",
+ "version": "1.65.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
+ "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-recommendation/src/main/ts_template/package-lock.json b/inception/inception-recommendation/src/main/ts_template/package-lock.json
index 2c9e3a621c2..54b2623f244 100644
--- a/inception/inception-recommendation/src/main/ts_template/package-lock.json
+++ b/inception/inception-recommendation/src/main/ts_template/package-lock.json
@@ -54,17 +54,89 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz",
- "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.10.tgz",
+ "integrity": "sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==",
"dev": true,
"dependencies": {
- "@babel/highlight": "^7.22.5"
+ "@babel/highlight": "^7.22.10",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "dev": true
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/helper-validator-identifier": {
"version": "7.22.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz",
@@ -75,13 +147,13 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz",
- "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.10.tgz",
+ "integrity": "sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==",
"dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.5",
- "chalk": "^2.0.0",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -160,12 +232,12 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.22.6",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz",
- "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.10.tgz",
+ "integrity": "sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==",
"dev": true,
"dependencies": {
- "regenerator-runtime": "^0.13.11"
+ "regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
@@ -539,18 +611,18 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz",
- "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==",
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
+ "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
"dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz",
- "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
+ "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -571,9 +643,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz",
- "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
+ "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1113,6 +1185,25 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.2.tgz",
+ "integrity": "sha512-tb5thFFlUcp7NdNF6/MpDk/1r/4awWG1FIz3YqDf+/zJSTezBb+/5WViH41obXULHVpDzoiCLpJ/ZO9YbJMsdw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz",
@@ -1936,27 +2027,27 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz",
- "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
+ "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -2019,14 +2110,14 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz",
- "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==",
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
"dev": true,
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -2120,26 +2211,29 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz",
- "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==",
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz",
+ "integrity": "sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==",
"dev": true,
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -2282,9 +2376,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
- "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
+ "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2294,9 +2388,9 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
- "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
"dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
@@ -2415,9 +2509,9 @@
"dev": true
},
"node_modules/fast-glob": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz",
- "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
+ "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
"dev": true,
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
@@ -2927,9 +3021,9 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz",
- "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
+ "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dev": true
},
"node_modules/import-fresh": {
@@ -3076,9 +3170,9 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
- "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
+ "version": "2.13.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
+ "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
"dev": true,
"dependencies": {
"has": "^1.0.3"
@@ -3900,6 +3994,35 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz",
+ "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.0.tgz",
+ "integrity": "sha512-70MWG6NfRH9GnbZOikuhPPYzpUpof9iW2J9E4dW7FXTqPNb6rllE6u39SKwwiNh8lCwX3DDb5OgcKGiEBrTTyw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz",
@@ -4170,9 +4293,9 @@
}
},
"node_modules/regenerator-runtime": {
- "version": "0.13.11",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
- "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz",
+ "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==",
"dev": true
},
"node_modules/regexp.prototype.flags": {
@@ -4220,12 +4343,12 @@
"dev": true
},
"node_modules/resolve": {
- "version": "1.22.2",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
- "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
+ "version": "1.22.4",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
+ "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -4388,9 +4511,9 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz",
- "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==",
+ "version": "1.65.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
+ "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json b/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
index b6fe1a89d3a..2656c535a89 100644
--- a/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
@@ -53,17 +53,89 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz",
- "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.10.tgz",
+ "integrity": "sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==",
"dev": true,
"dependencies": {
- "@babel/highlight": "^7.22.5"
+ "@babel/highlight": "^7.22.10",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "dev": true
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/helper-validator-identifier": {
"version": "7.22.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz",
@@ -74,13 +146,13 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz",
- "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.10.tgz",
+ "integrity": "sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==",
"dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.5",
- "chalk": "^2.0.0",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -159,12 +231,12 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.22.6",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz",
- "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.10.tgz",
+ "integrity": "sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==",
"dev": true,
"dependencies": {
- "regenerator-runtime": "^0.13.11"
+ "regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
@@ -538,18 +610,18 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz",
- "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==",
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
+ "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
"dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz",
- "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
+ "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -570,9 +642,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz",
- "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
+ "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1107,6 +1179,25 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.2.tgz",
+ "integrity": "sha512-tb5thFFlUcp7NdNF6/MpDk/1r/4awWG1FIz3YqDf+/zJSTezBb+/5WViH41obXULHVpDzoiCLpJ/ZO9YbJMsdw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz",
@@ -1935,27 +2026,27 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz",
- "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
+ "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -2018,14 +2109,14 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz",
- "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==",
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
"dev": true,
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -2119,26 +2210,29 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz",
- "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==",
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz",
+ "integrity": "sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==",
"dev": true,
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -2281,9 +2375,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
- "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
+ "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2293,9 +2387,9 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
- "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
"dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
@@ -2414,9 +2508,9 @@
"dev": true
},
"node_modules/fast-glob": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz",
- "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
+ "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
"dev": true,
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
@@ -2926,9 +3020,9 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz",
- "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
+ "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dev": true
},
"node_modules/import-fresh": {
@@ -3075,9 +3169,9 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
- "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
+ "version": "2.13.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
+ "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
"dev": true,
"dependencies": {
"has": "^1.0.3"
@@ -3899,6 +3993,35 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz",
+ "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.0.tgz",
+ "integrity": "sha512-70MWG6NfRH9GnbZOikuhPPYzpUpof9iW2J9E4dW7FXTqPNb6rllE6u39SKwwiNh8lCwX3DDb5OgcKGiEBrTTyw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz",
@@ -4169,9 +4292,9 @@
}
},
"node_modules/regenerator-runtime": {
- "version": "0.13.11",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
- "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz",
+ "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==",
"dev": true
},
"node_modules/regexp.prototype.flags": {
@@ -4219,12 +4342,12 @@
"dev": true
},
"node_modules/resolve": {
- "version": "1.22.2",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
- "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
+ "version": "1.22.4",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
+ "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -4387,9 +4510,9 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz",
- "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==",
+ "version": "1.65.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
+ "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-ui-kb/src/main/ts_template/package-lock.json b/inception/inception-ui-kb/src/main/ts_template/package-lock.json
index 6767bcde4a2..4671a8238a4 100644
--- a/inception/inception-ui-kb/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-kb/src/main/ts_template/package-lock.json
@@ -257,7 +257,7 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/immutable": {
- "version": "4.3.0",
+ "version": "4.3.1",
"dev": true,
"license": "MIT"
},
@@ -375,7 +375,7 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/sass": {
- "version": "1.62.1",
+ "version": "1.63.6",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -577,7 +577,7 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT"
},
@@ -650,7 +650,7 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.65.1",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-ui-search/src/main/ts_template/package-lock.json b/inception/inception-ui-search/src/main/ts_template/package-lock.json
index a4bdc0e1d81..3346ae934df 100644
--- a/inception/inception-ui-search/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-search/src/main/ts_template/package-lock.json
@@ -112,9 +112,9 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz",
- "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
+ "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dev": true
},
"node_modules/is-binary-path": {
@@ -193,9 +193,9 @@
}
},
"node_modules/sass": {
- "version": "1.63.6",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.6.tgz",
- "integrity": "sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==",
+ "version": "1.65.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
+ "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
From 11789f95557519af3fa6fc1099b21546ee08a042 Mon Sep 17 00:00:00 2001
From: Richard Eckart de Castilho
Date: Fri, 11 Aug 2023 19:59:07 +0200
Subject: [PATCH 06/17] Issue #4148: Switch PDF editor to compact model v2
- Switch over to the new format
---
.../pdfanno/core/src/annotation/abstract.ts | 2 +-
.../src/main/ts/src/pdfanno/pdfanno.ts | 136 +++++++++---------
2 files changed, 72 insertions(+), 66 deletions(-)
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/abstract.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/abstract.ts
index 342d7338842..a405ec5f628 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/abstract.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/abstract.ts
@@ -69,7 +69,7 @@ export default abstract class AbstractAnnotation extends EventEmitter {
this.setHoverEvent()
}
- this.disabled && this.disable()
+ if (!this.disabled) this.disable()
}
/**
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
index 0d0ad5cb681..f376a9c0122 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
@@ -8,17 +8,14 @@ import AnnotationContainer from './core/src/annotation/container'
import AbstractAnnotation from './core/src/annotation/abstract'
import { installSpanSelection } from './core/src/UI/span'
import { installRelationSelection } from './core/src/UI/relation'
-import { CompactAnnotatedText, CompactSpan, DiamAjax, Offsets, VID } from '@inception-project/inception-js-api'
+import { unpackCompactAnnotatedTextV2, DiamAjax, Offsets, VID, AnnotatedText, Span, Relation, TextMarker } from '@inception-project/inception-js-api'
+import { CompactAnnotatedText } from '@inception-project/inception-js-api/src/model/compact_v2'
import { DiamLoadAnnotationsOptions } from '@inception-project/inception-js-api/src/diam/DiamAjax'
import SpanAnnotation from './core/src/annotation/span'
import { getGlyphAtTextOffset, getGlyphsInRange } from './page/textLayer'
import RelationAnnotation from './core/src/annotation/relation'
import { createRect, mapToDocumentCoordinates, mergeRects } from './core/src/render/renderSpan'
import { transform } from './core/src/render/appendChild'
-import { makeMarkerMap } from '@inception-project/inception-js-api/src/model/compact/CompactAnnotatedText'
-import { CompactTextMarker } from '@inception-project/inception-js-api/src/model/compact/CompactTextMarker'
-import { CompactRelation } from '@inception-project/inception-js-api/src/model/compact/CompactRelation'
-import { CompactAnnotationMarker } from '@inception-project/inception-js-api/src/model/compact/CompactAnnotationMarker'
import { Rectangle } from '../vmodel/Rectangle'
// TODO make it a global const.
@@ -31,6 +28,8 @@ let diamAjax: DiamAjax
let currentFocusPage: number
let pagechangeEventCounter: number
+let data: AnnotatedText | undefined
+
export async function initPdfAnno (ajax: DiamAjax): Promise {
globalThis.globalEvent = new EventEmitter()
globalThis.globalEvent.setMaxListeners(0)
@@ -198,13 +197,13 @@ function renderAnno () {
dispatchWindowEvent('annotationlayercreated')
- renderAnnotations()
+ rerenderAnnotations()
}
/**
* Render all annotations.
*/
-function renderAnnotations () {
+function rerenderAnnotations () {
const annotations = annotationContainer.getAllAnnotations()
if (annotations.length === 0) {
return
@@ -274,42 +273,44 @@ export function getAnnotations () {
const options : DiamLoadAnnotationsOptions = {
range: [extendedBegin, extendedEnd],
- includeText: false
+ includeText: false,
+ format: 'compact_v2'
}
diamAjax.loadAnnotations(options).then((doc: CompactAnnotatedText) => {
- annotationContainer.clear()
+ data = unpackCompactAnnotatedTextV2(doc)
+ renderAnnotations(data)
+ })
+}
- const annotationMarkers = makeMarkerMap(doc.annotationMarkers)
+function renderAnnotations (doc: AnnotatedText): void {
+ const startTime = new Date().getTime()
- console.log(`Loaded ${doc.spans?.length || '0'} spans and ${doc.relations?.length || '0'} relations in range [${doc.window}]`)
+ annotationContainer.clear()
- if (doc.spans) {
- for (const s of doc.spans) {
- makeSpan(s, doc, annotationMarkers)
- }
- }
+ if (doc.spans) {
+ console.log(`Loaded ${doc.spans.size} span annotations`)
+ doc.spans.forEach(span => renderSpan(doc, span))
+ }
- if (doc.relations) {
- for (const r of doc.relations) {
- makeRelation(r, annotationMarkers)
- }
- }
+ if (doc.relations) {
+ console.log(`Loaded ${doc.relations.size} relations annotations`)
+ doc.relations.forEach(relation => renderRelation(doc, relation))
+ }
- if (doc.textMarkers) {
- for (const m of doc.textMarkers) {
- makeTextMarker(m, doc)
- }
- }
+ if (doc.textMarkers) {
+ doc.textMarkers.forEach(marker => makeTextMarker(doc, marker))
+ }
- renderAnnotations()
- })
+ rerenderAnnotations()
+
+ const endTime = new Date().getTime()
+ console.log(`Client-side rendering took ${Math.abs(endTime - startTime)}ms`)
}
-function makeSpan (s: CompactSpan, doc: CompactAnnotatedText, annotationMarkers: Map>) {
- const offsets = s[1]
- const begin = offsets[0][0] + doc.window[0]
- const end = offsets[0][1] + doc.window[0]
+function renderSpan (doc: AnnotatedText, span: Span) {
+ const begin = span.offsets[0][0] + doc.window[0]
+ const end = span.offsets[0][1] + doc.window[0]
const range: Offsets = [begin, end]
const page = textLayer.findPageForTextOffset(begin)?.index
@@ -323,40 +324,45 @@ function makeSpan (s: CompactSpan, doc: CompactAnnotatedText, annotationMarkers:
return
}
- const span = new SpanAnnotation()
- span.vid = `${s[0]}`
- span.textRange = range
- span.page = page
- span.color = s[2]?.c || '#FFF'
- span.text = s[2]?.l || ''
- span.rectangles = rectangles
- annotationMarkers.get(s[0])?.forEach(m => span.classList.push(`marker-${m[0]}`))
- span.save()
+ const spanAnnotation = new SpanAnnotation()
+ spanAnnotation.vid = span.vid
+ spanAnnotation.textRange = range
+ spanAnnotation.page = page
+ spanAnnotation.color = span.color || '#FFF'
+ spanAnnotation.text = span.label || ''
+ spanAnnotation.rectangles = rectangles
+
+ const ms = doc.annotationMarkers.get(spanAnnotation.vid) || []
+ ms.forEach(m => spanAnnotation.classList.push(`marker-${m.type}`))
+
+ spanAnnotation.save()
}
-function makeRelation (r: CompactRelation, annotationMarkers: Map>) {
- const source = annotationContainer.findById(r[1][0][0])
- const target = annotationContainer.findById(r[1][1][0])
+function renderRelation (doc: AnnotatedText, relation: Relation) {
+ const source = annotationContainer.findById(relation.arguments[0].targetId)
+ const target = annotationContainer.findById(relation.arguments[1].targetId)
if (!source || !target) {
- console.warn(`Cannot find source or target for relation ${r[0]}`)
+ console.warn(`Cannot find source or target for relation ${relation[0]}`)
return
}
- const rel = new RelationAnnotation()
- rel.vid = `${r[0]}`
- rel.rel1Annotation = source as SpanAnnotation
- rel.rel2Annotation = target as SpanAnnotation
- rel.color = r[2]?.c
- rel.text = r[2]?.l || null
- annotationMarkers.get(r[0])?.forEach(m => rel.classList.push(`marker-${m[0]}`))
- rel.save()
+ const relationAnnotation = new RelationAnnotation()
+ relationAnnotation.vid = relation.vid
+ relationAnnotation.rel1Annotation = source as SpanAnnotation
+ relationAnnotation.rel2Annotation = target as SpanAnnotation
+ relationAnnotation.color = relation.color || '#FFF'
+ relationAnnotation.text = relation.label || ''
+
+ const ms = doc.annotationMarkers.get(relationAnnotation.vid) || []
+ ms.forEach(m => relationAnnotation.classList.push(`marker-${m.type}`))
+
+ relationAnnotation.save()
}
-function makeTextMarker (m: CompactTextMarker, doc: CompactAnnotatedText) {
- const offsets = m[1]
- const begin = offsets[0][0] + doc.window[0]
- const end = offsets[0][1] + doc.window[0]
+function makeTextMarker (doc: AnnotatedText, marker: TextMarker) {
+ const begin = marker.offsets[0][0] + doc.window[0]
+ const end = marker.offsets[0][1] + doc.window[0]
const range: Offsets = [begin, end]
const page = textLayer.findPageForTextOffset(begin)?.index
@@ -370,14 +376,14 @@ function makeTextMarker (m: CompactTextMarker, doc: CompactAnnotatedText) {
return
}
- const marker = new SpanAnnotation()
- marker.textRange = range
- marker.page = page
- marker.knob = false
- marker.border = false
- marker.rectangles = rectangles
- marker.classList = [`marker-${m[0]}`]
- marker.save()
+ const markerAnnotation = new SpanAnnotation()
+ markerAnnotation.textRange = range
+ markerAnnotation.page = page
+ markerAnnotation.knob = false
+ markerAnnotation.border = false
+ markerAnnotation.rectangles = rectangles
+ markerAnnotation.classList = [`marker-$${marker.type}`]
+ markerAnnotation.save()
}
function calculateRectangles (range: [number, number]): Rectangle[] | null {
From 1a29ee3ec9b4424a9eb6323d1c1b24dfbf287c78 Mon Sep 17 00:00:00 2001
From: Richard Eckart de Castilho
Date: Fri, 11 Aug 2023 22:03:55 +0200
Subject: [PATCH 07/17] #4139 - Reusable popover component for annotation
editors
- Add the popover to the PDF editor
---
.../src/main/ts_template/package-lock.json | 18 +++---
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts_template/package-lock.json | 62 +++++++++----------
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts_template/package-lock.json | 62 +++++++++----------
.../src/main/ts_template/package-lock.json | 42 ++++++-------
.../src/main/ts_template/package-lock.json | 58 ++++++++---------
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts_template/package-lock.json | 40 ++++++------
.../src/main/ts_template/package-lock.json | 40 ++++++------
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/widget/AnnotationDetailPopOver.svelte | 4 +-
.../src/main/ts_template/package-lock.json | 52 ++++++++--------
.../src/main/ts_template/package-lock.json | 40 ++++++------
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts/src/PdfAnnotationEditor.ts | 2 +-
.../ts/src/pdfanno/core/src/UI/relation.ts | 4 +-
.../main/ts/src/pdfanno/core/src/UI/span.ts | 2 +-
.../AbstractAnnotation.ts} | 16 ++++-
.../AnnotationContainer.ts} | 2 +-
.../RelationAnnotation.ts} | 8 +--
.../span.ts => model/SpanAnnotation.ts} | 2 +-
.../pdfanno/core/src/render/appendChild.ts | 6 +-
.../src/pdfanno/core/src/render/renderKnob.ts | 1 -
.../pdfanno/core/src/render/renderRelation.ts | 3 +-
.../src/pdfanno/core/src/render/renderSpan.ts | 2 +-
.../ts/src/pdfanno/page/pdf/PDFAnnoPage.ts | 6 +-
.../src/main/ts/src/pdfanno/pdfanno.ts | 21 +++++--
.../src/main/ts_template/package-lock.json | 44 ++++++-------
.../src/main/ts_template/package.json | 1 +
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts_template/package-lock.json | 44 ++++++-------
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts_template/package-lock.json | 44 ++++++-------
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts_template/package-lock.json | 44 ++++++-------
.../src/main/ts_template/package-lock.json | 28 ++++-----
.../src/main/ts/esbuild-runner.config.js | 2 +-
.../src/main/ts_template/package-lock.json | 8 +--
pom.xml | 4 +-
40 files changed, 374 insertions(+), 354 deletions(-)
rename inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/{annotation/abstract.ts => model/AbstractAnnotation.ts} (89%)
rename inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/{annotation/container.ts => model/AnnotationContainer.ts} (95%)
rename inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/{annotation/relation.ts => model/RelationAnnotation.ts} (97%)
rename inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/{annotation/span.ts => model/SpanAnnotation.ts} (98%)
diff --git a/inception/inception-bootstrap/src/main/ts_template/package-lock.json b/inception/inception-bootstrap/src/main/ts_template/package-lock.json
index 26d088d863d..8043f294a42 100644
--- a/inception/inception-bootstrap/src/main/ts_template/package-lock.json
+++ b/inception/inception-bootstrap/src/main/ts_template/package-lock.json
@@ -9,11 +9,11 @@
"version": "${semver}",
"license": "Apache-2.0",
"devDependencies": {
- "bootstrap": "5.3.0",
+ "bootstrap": "5.3.1",
"cross-env": "^7.0.3",
"esbuild": "~0.16.17",
"esbuild-sass-plugin": "~2.5.0",
- "sass": "^1.57.1"
+ "sass": "~1.64.2"
}
},
"node_modules/@esbuild/android-arm": {
@@ -402,9 +402,9 @@
}
},
"node_modules/bootstrap": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.0.tgz",
- "integrity": "sha512-UnBV3E3v4STVNQdms6jSGO2CvOkjUMdDAVR2V5N4uCMdaIkaQjbcEAMqRimDHIs4uqBYzDAKCQwCB+97tJgHQw==",
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.1.tgz",
+ "integrity": "sha512-jzwza3Yagduci2x0rr9MeFSORjcHpt0lRZukZPZQJT1Dth5qzV7XcgGqYzi39KGAVYR8QEDVoO0ubFKOxzMG+g==",
"dev": true,
"funding": [
{
@@ -417,7 +417,7 @@
}
],
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"node_modules/braces": {
@@ -730,9 +730,9 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
- "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
+ "version": "1.64.2",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.2.tgz",
+ "integrity": "sha512-TnDlfc+CRnUAgLO9D8cQLFu/GIjJIzJCGkE7o4ekIGQOH7T3GetiRR/PsTWJUHhkzcSPrARkPI+gNWn5alCzDg==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js b/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-brat-editor/src/main/ts_template/package-lock.json b/inception/inception-brat-editor/src/main/ts_template/package-lock.json
index 73a2fefcbdd..afc1924fe5b 100644
--- a/inception/inception-brat-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-brat-editor/src/main/ts_template/package-lock.json
@@ -38,7 +38,7 @@
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
- "sass": "^1.57.1",
+ "sass": "~1.64.2",
"svelte": "^3.55.0",
"svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
@@ -126,7 +126,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -148,7 +148,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -246,7 +246,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/semver": {
@@ -1156,14 +1156,14 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1174,7 +1174,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1464,7 +1464,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1826,7 +1826,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3661,7 +3661,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -3736,7 +3736,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3758,7 +3758,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3866,7 +3866,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -4297,7 +4297,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -4310,7 +4310,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -4822,14 +4822,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -4840,7 +4840,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5141,7 +5141,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5499,7 +5499,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7584,7 +7584,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7606,7 +7606,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -8670,14 +8670,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -8688,7 +8688,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -8983,7 +8983,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -9345,7 +9345,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -10636,7 +10636,7 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
+ "version": "1.64.2",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-diam-editor/src/main/ts/esbuild-runner.config.js b/inception/inception-diam-editor/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-diam-editor/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-diam-editor/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-diam-editor/src/main/ts_template/package-lock.json b/inception/inception-diam-editor/src/main/ts_template/package-lock.json
index 35791ee13fa..a128f1cfad2 100644
--- a/inception/inception-diam-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-diam-editor/src/main/ts_template/package-lock.json
@@ -38,7 +38,7 @@
"jsdom-global": "^3.0.2",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
- "sass": "^1.57.1",
+ "sass": "~1.64.2",
"svelte": "^3.55.0",
"svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
@@ -126,7 +126,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -148,7 +148,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -246,7 +246,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/semver": {
@@ -1156,14 +1156,14 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1174,7 +1174,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1464,7 +1464,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1826,7 +1826,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3661,7 +3661,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -3736,7 +3736,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3758,7 +3758,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3866,7 +3866,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -4297,7 +4297,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -4310,7 +4310,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -4822,14 +4822,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -4840,7 +4840,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5141,7 +5141,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5499,7 +5499,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7756,7 +7756,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7778,7 +7778,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -9057,14 +9057,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -9075,7 +9075,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -9385,7 +9385,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -9772,7 +9772,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -11340,7 +11340,7 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
+ "version": "1.64.2",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-diam/src/main/ts_template/package-lock.json b/inception/inception-diam/src/main/ts_template/package-lock.json
index 1dafc48cfb4..5985a56ca05 100644
--- a/inception/inception-diam/src/main/ts_template/package-lock.json
+++ b/inception/inception-diam/src/main/ts_template/package-lock.json
@@ -45,7 +45,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -120,7 +120,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -142,7 +142,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -250,7 +250,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -681,7 +681,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -694,7 +694,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -1206,14 +1206,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1224,7 +1224,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1525,7 +1525,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1883,7 +1883,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3968,7 +3968,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3990,7 +3990,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -4088,7 +4088,7 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"node_modules/@types/semver": {
@@ -4998,14 +4998,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -5016,7 +5016,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5306,7 +5306,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5668,7 +5668,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-external-editor/src/main/ts_template/package-lock.json b/inception/inception-external-editor/src/main/ts_template/package-lock.json
index 5321afab525..a498d5d6fe4 100644
--- a/inception/inception-external-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-external-editor/src/main/ts_template/package-lock.json
@@ -110,7 +110,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -132,7 +132,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -230,7 +230,7 @@
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-diam/src/main/ts/node_modules/@types/semver": {
@@ -1140,14 +1140,14 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1158,7 +1158,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1448,7 +1448,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1810,7 +1810,7 @@
}
},
"../../../../inception-diam/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3645,7 +3645,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -3720,7 +3720,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3742,7 +3742,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -3850,7 +3850,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -4281,7 +4281,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -4294,7 +4294,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -4806,14 +4806,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -4824,7 +4824,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5125,7 +5125,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5483,7 +5483,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7568,7 +7568,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7590,7 +7590,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -8457,14 +8457,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -8475,7 +8475,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -8776,7 +8776,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -9119,7 +9119,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-html-apache-annotator-editor/src/main/ts/esbuild-runner.config.js b/inception/inception-html-apache-annotator-editor/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-html-apache-annotator-editor/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-html-apache-annotator-editor/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-html-editor/src/main/ts_template/package-lock.json b/inception/inception-html-editor/src/main/ts_template/package-lock.json
index 7dd4ad5638b..2ece5a98d49 100644
--- a/inception/inception-html-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-html-editor/src/main/ts_template/package-lock.json
@@ -73,7 +73,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -148,7 +148,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -170,7 +170,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -278,7 +278,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -709,7 +709,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -722,7 +722,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -1234,14 +1234,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1252,7 +1252,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1553,7 +1553,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1911,7 +1911,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3996,7 +3996,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4018,7 +4018,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -4894,14 +4894,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -4912,7 +4912,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5213,7 +5213,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5556,7 +5556,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json b/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json
index 334c34e083b..16f15f42409 100644
--- a/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-html-recogito-editor/src/main/ts_template/package-lock.json
@@ -72,7 +72,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -147,7 +147,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -169,7 +169,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -277,7 +277,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -708,7 +708,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -721,7 +721,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -1233,14 +1233,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1251,7 +1251,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1552,7 +1552,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1910,7 +1910,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4274,7 +4274,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4296,7 +4296,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -5355,14 +5355,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -5373,7 +5373,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5648,7 +5648,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5988,7 +5988,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-js-api/src/main/ts/esbuild-runner.config.js b/inception/inception-js-api/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-js-api/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-js-api/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte b/inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte
index 4bfdaec4301..95eb20c43c4 100644
--- a/inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte
+++ b/inception/inception-js-api/src/main/ts/src/widget/AnnotationDetailPopOver.svelte
@@ -105,7 +105,7 @@
movePopover(e);
});
- root.addEventListener("mousedown", (e: MouseEvnet) => {
+ root.addEventListener("mousedown", (e: MouseEvent) => {
if (popoverTimeoutId) {
window.clearTimeout(popoverTimeoutId);
popoverTimeoutId = undefined;
@@ -198,7 +198,7 @@
.popover {
width: var(--width);
- max-width: min(var(--width), 90vw);
+ max-width: calc(min(var(--width), 90vw));
pointer-events: none;
}
diff --git a/inception/inception-js-api/src/main/ts_template/package-lock.json b/inception/inception-js-api/src/main/ts_template/package-lock.json
index 177d9926a00..8eed1782c76 100644
--- a/inception/inception-js-api/src/main/ts_template/package-lock.json
+++ b/inception/inception-js-api/src/main/ts_template/package-lock.json
@@ -11,7 +11,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -426,9 +426,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
- "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
+ "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -449,9 +449,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
- "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
+ "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -571,9 +571,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "20.4.9",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.9.tgz",
- "integrity": "sha512-8e2HYcg7ohnTUbHk8focoklEQYvemQmu9M/f43DZVx43kHn0tE3BY/6gSDxS7k0SprtS0NHvj+L80cGLnoOUcQ=="
+ "version": "20.4.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.10.tgz",
+ "integrity": "sha512-vwzFiiy8Rn6E0MtA13/Cxxgpan/N6UeNYR9oUu6kuJWxu6zCk98trcDp8CBhbtaeuq9SykCmXkFr2lWLoPcvLg=="
},
"node_modules/@types/pug": {
"version": "2.0.6",
@@ -1034,9 +1034,9 @@
}
},
"node_modules/bootstrap": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.0.tgz",
- "integrity": "sha512-UnBV3E3v4STVNQdms6jSGO2CvOkjUMdDAVR2V5N4uCMdaIkaQjbcEAMqRimDHIs4uqBYzDAKCQwCB+97tJgHQw==",
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.1.tgz",
+ "integrity": "sha512-jzwza3Yagduci2x0rr9MeFSORjcHpt0lRZukZPZQJT1Dth5qzV7XcgGqYzi39KGAVYR8QEDVoO0ubFKOxzMG+g==",
"funding": [
{
"type": "github",
@@ -1048,7 +1048,7 @@
}
],
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"node_modules/brace-expansion": {
@@ -1602,15 +1602,15 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
- "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
+ "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1621,7 +1621,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1941,9 +1941,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
- "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2335,9 +2335,9 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
- "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
+ "version": "13.21.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz",
+ "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==",
"dev": true,
"dependencies": {
"type-fest": "^0.20.2"
diff --git a/inception/inception-pdf-editor/src/main/ts_template/package-lock.json b/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
index 3d02831accd..ebe5a74bc6c 100644
--- a/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
@@ -73,7 +73,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -148,7 +148,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -170,7 +170,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -278,7 +278,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -709,7 +709,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -722,7 +722,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -1234,14 +1234,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1252,7 +1252,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1553,7 +1553,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1911,7 +1911,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3996,7 +3996,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4018,7 +4018,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -4804,14 +4804,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -4822,7 +4822,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5097,7 +5097,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5434,7 +5434,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js b/inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-pdf-editor2/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/PdfAnnotationEditor.ts b/inception/inception-pdf-editor2/src/main/ts/src/PdfAnnotationEditor.ts
index 3fdbac6b4e8..06c0637f26c 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/PdfAnnotationEditor.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/PdfAnnotationEditor.ts
@@ -18,7 +18,7 @@
import type { AnnotationEditor, DiamAjax, Offsets } from '@inception-project/inception-js-api'
import './PdfAnnotationEditor.css'
import { initPdfAnno, getAnnotations as doLoadAnnotations, scrollTo } from './pdfanno/pdfanno'
-import AbstractAnnotation from './pdfanno/core/src/annotation/abstract'
+import AbstractAnnotation from './pdfanno/core/src/model/AbstractAnnotation'
export class PdfAnnotationEditor implements AnnotationEditor {
private ajax: DiamAjax
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/relation.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/relation.ts
index a9b2f90c498..a27ef0be618 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/relation.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/relation.ts
@@ -1,5 +1,5 @@
-import RelationAnnotation from '../annotation/relation.js'
-import SpanAnnotation from '../annotation/span.js'
+import RelationAnnotation from '../model/RelationAnnotation.js'
+import SpanAnnotation from '../model/SpanAnnotation.js'
import { getClientXY, scaleDown } from './utils'
let relationAnnotation: RelationAnnotation | null = null
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/span.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/span.ts
index 164f67f0b90..7dd36370677 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/span.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/UI/span.ts
@@ -1,5 +1,5 @@
import { scaleDown } from './utils'
-import SpanAnnotation from '../annotation/span'
+import SpanAnnotation from '../model/SpanAnnotation'
import { getGlyphsInRange, findGlyphAtPointWithinPage } from '../../../page/textLayer'
import { mergeRects } from '../render/renderSpan'
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/abstract.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/AbstractAnnotation.ts
similarity index 89%
rename from inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/abstract.ts
rename to inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/AbstractAnnotation.ts
index a405ec5f628..277ebfcde7c 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/abstract.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/AbstractAnnotation.ts
@@ -2,13 +2,14 @@ import EventEmitter from 'events'
import { appendChild } from '../render/appendChild'
import { DEFAULT_RADIUS } from '../render/renderKnob'
import { dispatchWindowEvent } from '../../../shared/util'
-import { VID } from '@inception-project/inception-js-api'
+import { Annotation, AnnotationOutEvent, AnnotationOverEvent, VID } from '@inception-project/inception-js-api'
/**
* Abstract Annotation Class.
*/
export default abstract class AbstractAnnotation extends EventEmitter {
vid: VID | null = null
+ source: Annotation | null = null
color?: string
deleted = false
disabled = false
@@ -112,21 +113,30 @@ export default abstract class AbstractAnnotation extends EventEmitter {
/**
* Handle a hoverIn event.
*/
- handleHoverInEvent (e: Event) {
+ handleHoverInEvent (e: MouseEvent) {
// console.log('handleHoverInEvent', this.element)
+
this.highlight()
this.emit('hoverin')
dispatchWindowEvent('annotationHoverIn', this)
+
+ if (this.element && this.source) {
+ this.element.dispatchEvent(new AnnotationOverEvent(this.source, e))
+ }
}
/**
* Handle a hoverOut event.
*/
- handleHoverOutEvent (e: Event) {
+ handleHoverOutEvent (e: MouseEvent) {
// console.log('handleHoverOutEvent')
this.dehighlight()
this.emit('hoverout')
dispatchWindowEvent('annotationHoverOut', this)
+
+ if (this.element && this.source) {
+ this.element.dispatchEvent(new AnnotationOutEvent(this.source, e))
+ }
}
/**
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/container.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/AnnotationContainer.ts
similarity index 95%
rename from inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/container.ts
rename to inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/AnnotationContainer.ts
index cfed817fc9a..6a11e060329 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/container.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/AnnotationContainer.ts
@@ -1,6 +1,6 @@
import { VID } from '@inception-project/inception-js-api'
import { dispatchWindowEvent } from '../../../shared/util'
-import AbstractAnnotation from './abstract'
+import AbstractAnnotation from './AbstractAnnotation'
/**
* Annotation Container.
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/relation.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/RelationAnnotation.ts
similarity index 97%
rename from inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/relation.ts
rename to inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/RelationAnnotation.ts
index b702eaca64c..d12940586cd 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/relation.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/RelationAnnotation.ts
@@ -1,6 +1,6 @@
-import AbstractAnnotation from './abstract'
+import AbstractAnnotation from './AbstractAnnotation'
import { anyOf } from '../../../shared/util'
-import SpanAnnotation from './span'
+import SpanAnnotation from './SpanAnnotation'
/**
* Relation Annotation (one-way / two-way / link)
@@ -198,7 +198,7 @@ export default class RelationAnnotation extends AbstractAnnotation {
/**
* The callback that is called at hoverred in.
*/
- handleHoverInEvent (e) {
+ handleHoverInEvent (e: MouseEvent) {
super.handleHoverInEvent(e)
this.highlightRelAnnotations()
}
@@ -206,7 +206,7 @@ export default class RelationAnnotation extends AbstractAnnotation {
/**
* The callback that is called at hoverred out.
*/
- handleHoverOutEvent (e) {
+ handleHoverOutEvent (e: MouseEvent) {
super.handleHoverOutEvent(e)
this.dehighlightRelAnnotations()
}
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/span.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/SpanAnnotation.ts
similarity index 98%
rename from inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/span.ts
rename to inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/SpanAnnotation.ts
index 5a2e50b926e..7ab1b698440 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/annotation/span.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/model/SpanAnnotation.ts
@@ -1,4 +1,4 @@
-import AbstractAnnotation from './abstract'
+import AbstractAnnotation from './AbstractAnnotation'
import { getGlyphsInRange } from '../../../page/textLayer'
import { Rectangle } from '../../../../vmodel/Rectangle'
import { mergeRects } from '../render/renderSpan'
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/appendChild.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/appendChild.ts
index 248e90b119e..ab6874a9ae5 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/appendChild.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/appendChild.ts
@@ -1,8 +1,8 @@
import { renderSpan } from './renderSpan'
import { renderRelation } from './renderRelation'
-import AbstractAnnotation from '../annotation/abstract'
-import SpanAnnotation from '../annotation/span'
-import RelationAnnotation from '../annotation/relation'
+import AbstractAnnotation from '../model/AbstractAnnotation'
+import SpanAnnotation from '../model/SpanAnnotation'
+import RelationAnnotation from '../model/RelationAnnotation'
/**
* Transform the rotation and scale of a node using SVG's native transform attribute.
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderKnob.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderKnob.ts
index 95396037e10..ac22d166aa1 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderKnob.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderKnob.ts
@@ -12,7 +12,6 @@ export function renderKnob ({ a, x, y, readOnly, text }): HTMLElement {
[x, y] = adjustPoint(x, (y - (DEFAULT_RADIUS + 2)), DEFAULT_RADIUS)
const knob = document.createElement('div')
- knob.setAttribute('title', text)
knob.classList.add('anno-knob')
a.classList.forEach(c => knob.classList.add(c))
if (readOnly) {
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderRelation.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderRelation.ts
index 3c9a024ee87..1fdfe4572ea 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderRelation.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderRelation.ts
@@ -1,7 +1,7 @@
import setAttributes from '../utils/setAttributes'
import { DEFAULT_RADIUS } from './renderKnob'
import { findBezierControlPoint } from '../utils/relation.js'
-import RelationAnnotation from '../annotation/relation'
+import RelationAnnotation from '../model/RelationAnnotation'
/**
* Create a RELATION annotation.
@@ -111,7 +111,6 @@ export function renderRelation (a: RelationAnnotation): HTMLDivElement {
group.appendChild(relation)
const base = document.createElement('div')
- base.title = a.text || ''
base.style.position = 'absolute'
base.style.top = '0'
base.style.left = '0'
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderSpan.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderSpan.ts
index 2e451c45d70..1ac321a2861 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderSpan.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/core/src/render/renderSpan.ts
@@ -1,6 +1,6 @@
import { renderKnob } from './renderKnob'
import { hex2rgba } from '../utils/color'
-import SpanAnnotation from '../annotation/span'
+import SpanAnnotation from '../model/SpanAnnotation'
import { Rectangle } from '../../../../vmodel/Rectangle'
import { scale } from '../../../page/textLayer'
import { VGlyph } from '../../../../vmodel/VGlyph'
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/page/pdf/PDFAnnoPage.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/page/pdf/PDFAnnoPage.ts
index f3bd72840b1..790c10fbe1a 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/page/pdf/PDFAnnoPage.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/page/pdf/PDFAnnoPage.ts
@@ -1,9 +1,9 @@
import { dispatchWindowEvent } from '../../shared/util'
import { convertToExportY, paddingBetweenPages } from '../../shared/coords'
import { adjustViewerSize } from '../util/window'
-import AnnotationContainer from '../../core/src/annotation/container'
-import SpanAnnotation from '../../core/src/annotation/span'
-import RelationAnnotation from '../../core/src/annotation/relation'
+import AnnotationContainer from '../../core/src/model/AnnotationContainer'
+import SpanAnnotation from '../../core/src/model/SpanAnnotation'
+import RelationAnnotation from '../../core/src/model/RelationAnnotation'
import { VID } from '@inception-project/inception-js-api'
/**
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
index f376a9c0122..a544238b29c 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
@@ -4,19 +4,20 @@ import * as textLayer from './page/textLayer'
import PDFAnnoPage from './page/pdf/PDFAnnoPage'
import { dispatchWindowEvent } from './shared/util'
import EventEmitter from 'events'
-import AnnotationContainer from './core/src/annotation/container'
-import AbstractAnnotation from './core/src/annotation/abstract'
+import AnnotationContainer from './core/src/model/AnnotationContainer'
+import AbstractAnnotation from './core/src/model/AbstractAnnotation'
import { installSpanSelection } from './core/src/UI/span'
import { installRelationSelection } from './core/src/UI/relation'
-import { unpackCompactAnnotatedTextV2, DiamAjax, Offsets, VID, AnnotatedText, Span, Relation, TextMarker } from '@inception-project/inception-js-api'
+import { unpackCompactAnnotatedTextV2, DiamAjax, Offsets, AnnotatedText, Span, Relation, TextMarker } from '@inception-project/inception-js-api'
import { CompactAnnotatedText } from '@inception-project/inception-js-api/src/model/compact_v2'
import { DiamLoadAnnotationsOptions } from '@inception-project/inception-js-api/src/diam/DiamAjax'
-import SpanAnnotation from './core/src/annotation/span'
+import SpanAnnotation from './core/src/model/SpanAnnotation'
import { getGlyphAtTextOffset, getGlyphsInRange } from './page/textLayer'
-import RelationAnnotation from './core/src/annotation/relation'
+import RelationAnnotation from './core/src/model/RelationAnnotation'
import { createRect, mapToDocumentCoordinates, mergeRects } from './core/src/render/renderSpan'
import { transform } from './core/src/render/appendChild'
import { Rectangle } from '../vmodel/Rectangle'
+import AnnotationDetailPopOver from '@inception-project/inception-js-api/src/widget/AnnotationDetailPopOver.svelte'
// TODO make it a global const.
// const svgLayerId = 'annoLayer'
@@ -81,6 +82,14 @@ export async function initPdfAnno (ajax: DiamAjax): Promise {
installSpanSelection()
installRelationSelection()
+ this.popover = new AnnotationDetailPopOver({
+ target: document.body,
+ props: {
+ root: document.body,
+ ajax: diamAjax
+ }
+ })
+
// Show a content.
displayViewer()
@@ -325,6 +334,7 @@ function renderSpan (doc: AnnotatedText, span: Span) {
}
const spanAnnotation = new SpanAnnotation()
+ spanAnnotation.source = span
spanAnnotation.vid = span.vid
spanAnnotation.textRange = range
spanAnnotation.page = page
@@ -348,6 +358,7 @@ function renderRelation (doc: AnnotatedText, relation: Relation) {
}
const relationAnnotation = new RelationAnnotation()
+ relationAnnotation.source = relation
relationAnnotation.vid = relation.vid
relationAnnotation.rel1Annotation = source as SpanAnnotation
relationAnnotation.rel2Annotation = target as SpanAnnotation
diff --git a/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json b/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
index c672bba4fca..b0dd750a5dc 100644
--- a/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
+++ b/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
@@ -36,7 +36,7 @@
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
- "sass": "^1.57.1",
+ "sass": "~1.64.2",
"svelte": "^3.55.0",
"svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
@@ -86,7 +86,7 @@
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"@types/stompjs": "^2.3.5",
- "bootstrap": "5.3.0"
+ "bootstrap": "5.3.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
@@ -161,7 +161,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -183,7 +183,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -291,7 +291,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/node": {
- "version": "20.4.9",
+ "version": "20.4.10",
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/pug": {
@@ -722,7 +722,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"funding": [
{
"type": "github",
@@ -735,7 +735,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/brace-expansion": {
@@ -1247,14 +1247,14 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1265,7 +1265,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1566,7 +1566,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1924,7 +1924,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4009,7 +4009,7 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
+ "version": "2.1.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4031,7 +4031,7 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"engines": {
@@ -5061,14 +5061,14 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
+ "version": "8.47.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -5079,7 +5079,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -5380,7 +5380,7 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
+ "version": "3.4.3",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -5745,7 +5745,7 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
+ "version": "13.21.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7013,7 +7013,7 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
+ "version": "1.64.2",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-pdf-editor2/src/main/ts_template/package.json b/inception/inception-pdf-editor2/src/main/ts_template/package.json
index 9db1ae14780..c5f18bd8a4c 100644
--- a/inception/inception-pdf-editor2/src/main/ts_template/package.json
+++ b/inception/inception-pdf-editor2/src/main/ts_template/package.json
@@ -3,6 +3,7 @@
"version": "${semver}",
"author": "hshindo, yoheiMune, INCEpTION Team",
"license": "(MIT AND Apache-2.0)",
+ "homepage": "https://github.com/inception-project/inception#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/inception-project/inception.git"
diff --git a/inception/inception-project-export/src/main/ts/esbuild-runner.config.js b/inception/inception-project-export/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-project-export/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-project-export/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-project-export/src/main/ts_template/package-lock.json b/inception/inception-project-export/src/main/ts_template/package-lock.json
index e8fe911c547..6e994d79a41 100644
--- a/inception/inception-project-export/src/main/ts_template/package-lock.json
+++ b/inception/inception-project-export/src/main/ts_template/package-lock.json
@@ -36,7 +36,7 @@
"jsdom-global": "^3.0.2",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
- "sass": "^1.57.1",
+ "sass": "~1.64.2",
"svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
@@ -619,9 +619,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
- "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
+ "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -642,9 +642,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
- "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
+ "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2026,15 +2026,15 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
- "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
+ "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -2045,7 +2045,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -2375,9 +2375,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
- "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2796,9 +2796,9 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
- "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
+ "version": "13.21.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz",
+ "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==",
"dev": true,
"dependencies": {
"type-fest": "^0.20.2"
@@ -4510,9 +4510,9 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
- "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
+ "version": "1.64.2",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.2.tgz",
+ "integrity": "sha512-TnDlfc+CRnUAgLO9D8cQLFu/GIjJIzJCGkE7o4ekIGQOH7T3GetiRR/PsTWJUHhkzcSPrARkPI+gNWn5alCzDg==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-recommendation/src/main/ts/esbuild-runner.config.js b/inception/inception-recommendation/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-recommendation/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-recommendation/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-recommendation/src/main/ts_template/package-lock.json b/inception/inception-recommendation/src/main/ts_template/package-lock.json
index 54b2623f244..f2fc2724402 100644
--- a/inception/inception-recommendation/src/main/ts_template/package-lock.json
+++ b/inception/inception-recommendation/src/main/ts_template/package-lock.json
@@ -36,7 +36,7 @@
"jsdom-global": "^3.0.2",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
- "sass": "^1.57.1",
+ "sass": "~1.64.2",
"svelte": "^3.55.0",
"svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
@@ -620,9 +620,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
- "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
+ "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -643,9 +643,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
- "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
+ "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2027,15 +2027,15 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
- "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
+ "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -2046,7 +2046,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -2376,9 +2376,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
- "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2797,9 +2797,9 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
- "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
+ "version": "13.21.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz",
+ "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==",
"dev": true,
"dependencies": {
"type-fest": "^0.20.2"
@@ -4511,9 +4511,9 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
- "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
+ "version": "1.64.2",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.2.tgz",
+ "integrity": "sha512-TnDlfc+CRnUAgLO9D8cQLFu/GIjJIzJCGkE7o4ekIGQOH7T3GetiRR/PsTWJUHhkzcSPrARkPI+gNWn5alCzDg==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-ui-dashboard-activity/src/main/ts/esbuild-runner.config.js b/inception/inception-ui-dashboard-activity/src/main/ts/esbuild-runner.config.js
index ba069680a03..5261efdf384 100644
--- a/inception/inception-ui-dashboard-activity/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-ui-dashboard-activity/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require( "svelte-preprocess")
module.exports = {
type: "bundle", // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
preprocess: sveltePreprocess(),
diff --git a/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json b/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
index 2656c535a89..b41a3adb626 100644
--- a/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
@@ -36,7 +36,7 @@
"jsdom-global": "^3.0.2",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.1.0",
- "sass": "^1.57.1",
+ "sass": "~1.64.2",
"svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
@@ -619,9 +619,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
- "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
+ "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -642,9 +642,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
- "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
+ "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2026,15 +2026,15 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
- "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
+ "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -2045,7 +2045,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -2375,9 +2375,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
- "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2796,9 +2796,9 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
- "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
+ "version": "13.21.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz",
+ "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==",
"dev": true,
"dependencies": {
"type-fest": "^0.20.2"
@@ -4510,9 +4510,9 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
- "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
+ "version": "1.64.2",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.2.tgz",
+ "integrity": "sha512-TnDlfc+CRnUAgLO9D8cQLFu/GIjJIzJCGkE7o4ekIGQOH7T3GetiRR/PsTWJUHhkzcSPrARkPI+gNWn5alCzDg==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/inception-ui-kb/src/main/ts_template/package-lock.json b/inception/inception-ui-kb/src/main/ts_template/package-lock.json
index 4671a8238a4..21987b03b27 100644
--- a/inception/inception-ui-kb/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-kb/src/main/ts_template/package-lock.json
@@ -10,8 +10,8 @@
"license": "Apache-2.0",
"devDependencies": {
"@inception-project/inception-bootstrap": "${semver}",
- "bootstrap": "5.3.0",
- "sass": "^1.57.1"
+ "bootstrap": "5.3.1",
+ "sass": "~1.64.2"
}
},
"../../../../inception-bootstrap/src/main/ts": {
@@ -20,11 +20,11 @@
"dev": true,
"license": "Apache-2.0",
"devDependencies": {
- "bootstrap": "5.3.0",
+ "bootstrap": "5.3.1",
"cross-env": "^7.0.3",
"esbuild": "~0.16.17",
"esbuild-sass-plugin": "~2.5.0",
- "sass": "^1.57.1"
+ "sass": "~1.64.2"
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/@esbuild/darwin-arm64": {
@@ -73,7 +73,7 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"dev": true,
"funding": [
{
@@ -87,7 +87,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/braces": {
@@ -257,7 +257,7 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/immutable": {
- "version": "4.3.1",
+ "version": "4.3.2",
"dev": true,
"license": "MIT"
},
@@ -273,7 +273,7 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/is-core-module": {
- "version": "2.12.1",
+ "version": "2.13.0",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -359,11 +359,11 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/resolve": {
- "version": "1.22.2",
+ "version": "1.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -375,7 +375,7 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/sass": {
- "version": "1.63.6",
+ "version": "1.64.2",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -488,7 +488,7 @@
}
},
"node_modules/bootstrap": {
- "version": "5.3.0",
+ "version": "5.3.1",
"dev": true,
"funding": [
{
@@ -502,7 +502,7 @@
],
"license": "MIT",
"peerDependencies": {
- "@popperjs/core": "^2.11.7"
+ "@popperjs/core": "^2.11.8"
}
},
"node_modules/braces": {
@@ -650,7 +650,7 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
+ "version": "1.64.2",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/inception/inception-ui-scheduling/src/main/ts/esbuild-runner.config.js b/inception/inception-ui-scheduling/src/main/ts/esbuild-runner.config.js
index 31493a4f5af..8f28240c0c0 100644
--- a/inception/inception-ui-scheduling/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-ui-scheduling/src/main/ts/esbuild-runner.config.js
@@ -21,7 +21,7 @@ const sveltePreprocess = require('svelte-preprocess')
module.exports = {
type: 'bundle', // bundle or transform (see description above)
esbuild: {
- target: 'es6',
+ target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
diff --git a/inception/inception-ui-search/src/main/ts_template/package-lock.json b/inception/inception-ui-search/src/main/ts_template/package-lock.json
index 3346ae934df..dd05b8694bc 100644
--- a/inception/inception-ui-search/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-search/src/main/ts_template/package-lock.json
@@ -9,7 +9,7 @@
"version": "${semver}",
"license": "Apache-2.0",
"devDependencies": {
- "sass": "^1.57.1"
+ "sass": "~1.64.2"
}
},
"node_modules/anymatch": {
@@ -193,9 +193,9 @@
}
},
"node_modules/sass": {
- "version": "1.65.1",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
- "integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
+ "version": "1.64.2",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.2.tgz",
+ "integrity": "sha512-TnDlfc+CRnUAgLO9D8cQLFu/GIjJIzJCGkE7o4ekIGQOH7T3GetiRR/PsTWJUHhkzcSPrARkPI+gNWn5alCzDg==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/pom.xml b/pom.xml
index a6f9e3c4dad..3cad14ada2d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,7 @@
18.14.2
0.2.0
3.2.6
- 5.3.0
+ 5.3.1
^4.3.6
^7.0.3
^2.0.1
@@ -184,7 +184,7 @@
1.8.2
0.1.11
1.7.7
- ^1.57.1
+ ~1.64.2
^6.1.2
^3.55.0
^5.0.0
From 71a8a307277838967565dbe359753c30dfc72da9 Mon Sep 17 00:00:00 2001
From: Richard Eckart de Castilho
Date: Sat, 12 Aug 2023 18:29:18 +0200
Subject: [PATCH 08/17] #4139 - Reusable popover component for annotation
editors
- Raise target JS level to es2018
- Add new popover to the brat editor
- Remove rests of old lazy details code from brat editor
- esbuild 0.16.17 -> 0.18.19
- esbuild-sass-plugin 2.5.0 -> 2.10.0
- esbuild-svelte 0.7.3 -> 0.7.4
- mocha 10.0.0 -> 10.2.0
- mocha-junit-reporter 2.1.0 -> 2.2.1
- popperjs 2.11.7 -> 2.11.8
- svelte 3.55.0 -> 3.59.2
- svelte-preprocess 5.0.0 -> 5.0.4
- ts-mocha -> 10.0.0
- types-mocha 9.1.1 -> 10.0.1
- Regenerate package.json files
---
.../src/main/ts_template/package-lock.json | 199 +-
.../src/main/ts/build.mjs | 2 +-
.../src/main/ts/esbuild-runner.config.js | 4 +-
.../src/main/ts/src/BratEditor.ts | 10 +
.../AnnotationResizeHandle.svelte | 2 -
.../src/main/ts/src/visualizer/Arc.ts | 1 -
.../src/main/ts/src/visualizer/Entity.ts | 2 -
.../src/main/ts/src/visualizer/Visualizer.ts | 79 +-
.../main/ts/src/visualizer_ui/VisualizerUI.ts | 43 +-
.../src/main/ts_template/package-lock.json | 254 +-
.../src/main/ts_template/package.json | 1 +
.../src/main/ts_template/package-lock.json | 227 +-
.../src/main/ts_template/package-lock.json | 152 +-
.../src/main/ts_template/package-lock.json | 226 +-
.../src/main/ts_template/package-lock.json | 4796 ++---------------
.../src/main/ts_template/package-lock.json | 162 +-
.../src/main/ts_template/package-lock.json | 162 +-
.../inception-js-api/src/main/ts/index.ts | 2 +-
.../src/widget/AnnotationDetailPopOver.svelte | 21 +-
.../src/main/ts_template/package-lock.json | 220 +-
.../src/main/ts_template/package.json | 4 +-
.../src/main/ts_template/package-lock.json | 138 +-
.../src/main/ts/src/pdfanno/pdfanno.ts | 2 +-
.../src/main/ts_template/package-lock.json | 161 +-
.../src/main/ts_template/package-lock.json | 215 +-
.../src/main/ts_template/package-lock.json | 217 +-
.../src/main/ts_template/package-lock.json | 215 +-
.../src/main/ts_template/package-lock.json | 61 +-
.../src/main/ts_template/package-lock.json | 478 +-
inception/update-package-lock.sh | 19 +-
pom.xml | 19 +-
31 files changed, 2164 insertions(+), 5930 deletions(-)
diff --git a/inception/inception-bootstrap/src/main/ts_template/package-lock.json b/inception/inception-bootstrap/src/main/ts_template/package-lock.json
index 8043f294a42..05c4b5bd977 100644
--- a/inception/inception-bootstrap/src/main/ts_template/package-lock.json
+++ b/inception/inception-bootstrap/src/main/ts_template/package-lock.json
@@ -11,15 +11,15 @@
"devDependencies": {
"bootstrap": "5.3.1",
"cross-env": "^7.0.3",
- "esbuild": "~0.16.17",
- "esbuild-sass-plugin": "~2.5.0",
+ "esbuild": "~0.18.19",
+ "esbuild-sass-plugin": "~2.10.0",
"sass": "~1.64.2"
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz",
- "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
"cpu": [
"arm"
],
@@ -33,9 +33,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz",
- "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
"cpu": [
"arm64"
],
@@ -49,9 +49,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz",
- "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
"cpu": [
"x64"
],
@@ -65,9 +65,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz",
- "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
"cpu": [
"arm64"
],
@@ -81,9 +81,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz",
- "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
"cpu": [
"x64"
],
@@ -97,9 +97,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz",
- "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
"cpu": [
"arm64"
],
@@ -113,9 +113,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz",
- "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
"cpu": [
"x64"
],
@@ -129,9 +129,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz",
- "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
"cpu": [
"arm"
],
@@ -145,9 +145,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz",
- "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
"cpu": [
"arm64"
],
@@ -161,9 +161,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz",
- "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
"cpu": [
"ia32"
],
@@ -177,9 +177,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz",
- "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
"cpu": [
"loong64"
],
@@ -193,9 +193,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz",
- "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
"cpu": [
"mips64el"
],
@@ -209,9 +209,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz",
- "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
"cpu": [
"ppc64"
],
@@ -225,9 +225,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz",
- "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
"cpu": [
"riscv64"
],
@@ -241,9 +241,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz",
- "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
"cpu": [
"s390x"
],
@@ -257,9 +257,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz",
- "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
"cpu": [
"x64"
],
@@ -273,9 +273,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz",
- "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
"cpu": [
"x64"
],
@@ -289,9 +289,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz",
- "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
"cpu": [
"x64"
],
@@ -305,9 +305,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz",
- "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
"cpu": [
"x64"
],
@@ -321,9 +321,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz",
- "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
"cpu": [
"arm64"
],
@@ -337,9 +337,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz",
- "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
"cpu": [
"ia32"
],
@@ -353,9 +353,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz",
- "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
"cpu": [
"x64"
],
@@ -492,9 +492,9 @@
}
},
"node_modules/esbuild": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz",
- "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -504,42 +504,41 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.5.0.tgz",
- "integrity": "sha512-SKWcvZwB+3/3eLhSCscJfb9AEOgL3oYlwOaItnXpXNPVj9Hc1Iwf5Cx4muUd+H+6zKyUwviAtVdRwcUsocUYgA==",
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.10.0.tgz",
+ "integrity": "sha512-STv849QGT8g77RRFmroSt4VBVKjv+dypKcO4aWz8IP4G5JbRH0KC0+B8ODuzlUNu9R5MbkGcev/62RDP/JcZ2Q==",
"dev": true,
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"node_modules/fill-range": {
diff --git a/inception/inception-brat-editor/src/main/ts/build.mjs b/inception/inception-brat-editor/src/main/ts/build.mjs
index 65ae5a622c2..a09912fff6a 100644
--- a/inception/inception-brat-editor/src/main/ts/build.mjs
+++ b/inception/inception-brat-editor/src/main/ts/build.mjs
@@ -33,7 +33,7 @@ const defaults = {
bundle: true,
sourcemap: true,
minify: !argv.live,
- target: 'es6',
+ target: 'es2018',
loader: { '.ts': 'ts' },
logLevel: 'info',
plugins: [
diff --git a/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js b/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js
index 8f28240c0c0..92d338afb40 100644
--- a/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js
+++ b/inception/inception-brat-editor/src/main/ts/esbuild-runner.config.js
@@ -17,12 +17,14 @@
*/
const esbuildSvelte = require('esbuild-svelte')
const sveltePreprocess = require('svelte-preprocess')
+const { sassPlugin } = require('esbuild-sass-plugin')
module.exports = {
- type: 'bundle', // bundle or transform (see description above)
+ type: 'bundle',
esbuild: {
target: 'es2018',
plugins: [
+ sassPlugin(),
esbuildSvelte({
compilerOptions: { css: true },
preprocess: sveltePreprocess({ sourceMap: true })
diff --git a/inception/inception-brat-editor/src/main/ts/src/BratEditor.ts b/inception/inception-brat-editor/src/main/ts/src/BratEditor.ts
index 3cffb830ce1..07d3f80222c 100644
--- a/inception/inception-brat-editor/src/main/ts/src/BratEditor.ts
+++ b/inception/inception-brat-editor/src/main/ts/src/BratEditor.ts
@@ -23,11 +23,13 @@ import { Visualizer } from './visualizer/Visualizer'
import { VisualizerUI } from './visualizer_ui/VisualizerUI'
import './style-vis.scss'
import { ResizeManager } from './annotator_ui/ResizeManager'
+import AnnotationDetailPopOver from '@inception-project/inception-js-api/src/widget/AnnotationDetailPopOver.svelte'
export class BratEditor implements AnnotationEditor {
dispatcher: Dispatcher
visualizer: Visualizer
resizer: ResizeManager
+ popover: AnnotationDetailPopOver
public constructor (element: Element, ajax: DiamAjax, props: AnnotationEditorProperties) {
const markupId = element.getAttribute('id')
@@ -51,6 +53,14 @@ export class BratEditor implements AnnotationEditor {
}
this.resizer = new ResizeManager(this.dispatcher, this.visualizer, ajax)
+
+ this.popover = new AnnotationDetailPopOver({
+ target: document.body,
+ props: {
+ root: element,
+ ajax
+ }
+ })
}
post (command: Message, data: any) : void {
diff --git a/inception/inception-brat-editor/src/main/ts/src/annotator_ui/AnnotationResizeHandle.svelte b/inception/inception-brat-editor/src/main/ts/src/annotator_ui/AnnotationResizeHandle.svelte
index a9cfa97248f..3fb23d13b90 100644
--- a/inception/inception-brat-editor/src/main/ts/src/annotator_ui/AnnotationResizeHandle.svelte
+++ b/inception/inception-brat-editor/src/main/ts/src/annotator_ui/AnnotationResizeHandle.svelte
@@ -50,8 +50,6 @@
})
$: {
- console.debug("reactive update")
-
const rects = highlight ? highlight.getClientRects() : []
visibility = rects.length > 0 ? 'visible' : 'hidden'
opacity = dragging ? 0.0 : 1
diff --git a/inception/inception-brat-editor/src/main/ts/src/visualizer/Arc.ts b/inception/inception-brat-editor/src/main/ts/src/visualizer/Arc.ts
index e61351b129a..150c9019028 100644
--- a/inception/inception-brat-editor/src/main/ts/src/visualizer/Arc.ts
+++ b/inception/inception-brat-editor/src/main/ts/src/visualizer/Arc.ts
@@ -54,7 +54,6 @@ export class Arc {
equiv = false
eventDescId: string
relation = false
- normalizations: Array<[string?, string?, string?]> = []
marked: MarkerType
hidden = false
diff --git a/inception/inception-brat-editor/src/main/ts/src/visualizer/Entity.ts b/inception/inception-brat-editor/src/main/ts/src/visualizer/Entity.ts
index acb3fd37f2a..38ada66b04e 100644
--- a/inception/inception-brat-editor/src/main/ts/src/visualizer/Entity.ts
+++ b/inception/inception-brat-editor/src/main/ts/src/visualizer/Entity.ts
@@ -74,7 +74,6 @@ export class Entity {
annotatorNotes? : string
attributeMerge: Record = {} // for box, cross, etc. that are span-global
fragments: Fragment[] = []
- normalizations: Array<[string?, string?, string?]> = []
wholeFrom: number
wholeTo: number
comment: Comment
@@ -119,7 +118,6 @@ export class Entity {
this.attributeCueFor = {}
this.attributeMerge = {}
this.fragments = []
- this.normalizations = []
}
/**
diff --git a/inception/inception-brat-editor/src/main/ts/src/visualizer/Visualizer.ts b/inception/inception-brat-editor/src/main/ts/src/visualizer/Visualizer.ts
index f2b3138da97..96938a0569b 100644
--- a/inception/inception-brat-editor/src/main/ts/src/visualizer/Visualizer.ts
+++ b/inception/inception-brat-editor/src/main/ts/src/visualizer/Visualizer.ts
@@ -59,7 +59,7 @@ import '@svgdotjs/svg.filter.js'
import { SVG, Element as SVGJSElement, Svg, Container, Text as SVGText, PathCommand, Rect, ArrayXY, SVGTypeMapping, Defs } from '@svgdotjs/svg.js'
import { INSTANCE as Configuration } from '../configuration/Configuration'
import { INSTANCE as Util } from '../util/Util'
-import { Offsets } from '@inception-project/inception-js-api'
+import { AnnotationOutEvent, AnnotationOverEvent, Offsets, Relation, Span } from '@inception-project/inception-js-api'
declare const $: JQueryStatic
/**
@@ -82,7 +82,6 @@ function setSourceDataDefaults (sourceData: SourceData) {
'entities',
'equivs',
'events',
- 'normalizations',
'relations',
'triggers'
], (attrNo, attr) => {
@@ -3519,6 +3518,21 @@ export class Visualizer {
this.triggerRender()
}
+ onMouseOutSpan (evt: MouseEvent) {
+ if (!this.data) return
+
+ const target = $(evt.target)
+ const id = target.attr('data-span-id')
+ const span = this.data.spans[id]
+
+ if (span.hidden) { return }
+
+ if (evt.target) {
+ console.log(span)
+ evt.target.dispatchEvent(new AnnotationOutEvent({ vid: id, layer: { id: span.type, name: Util.spanDisplayForm(this.entityTypes, span.type) } }, evt.originalEvent))
+ }
+ }
+
onMouseOverSpan (evt: MouseEvent) {
if (!this.data) return
@@ -3528,13 +3542,19 @@ export class Visualizer {
if (span.hidden) { return }
+ if (evt.target) {
+ const fakeSpan = new Span()
+ fakeSpan.vid = id
+ fakeSpan.layer = { id: span.type, name: Util.spanDisplayForm(this.entityTypes, span.type) }
+ evt.target.dispatchEvent(new AnnotationOverEvent(fakeSpan, evt.originalEvent))
+ }
+
this.dispatcher.post('displaySpanComment', [
evt, target, id, span.type, span.attributeText,
span.text,
span.hovertext,
span.comment && span.comment.text,
- span.comment && span.comment.type,
- span.normalizations
+ span.comment && span.comment.type
])
if (span.actionButtons) {
@@ -3613,6 +3633,33 @@ export class Visualizer {
this.highlight.push(highlightBox)
}
+ onMouseOutArc (evt: MouseEvent) {
+ if (!this.data) return
+
+ const target = $(evt.target)
+ const originSpanId = target.attr('data-arc-origin')
+ const role = target.attr('data-arc-role')
+ const arcEventDescId: string = target.attr('data-arc-ed')
+ let arcId: string | undefined
+
+ if (arcEventDescId) {
+ const eventDesc = this.data.eventDescs[arcEventDescId]
+ if (eventDesc.relation) {
+ // among arcs, only ones corresponding to relations have "independent" IDs
+ arcId = arcEventDescId
+ }
+ }
+
+ const originSpanType = this.data.spans[originSpanId].type || ''
+
+ if (arcId) {
+ if (evt.target) {
+ const labelText = Util.arcDisplayForm(this.entityTypes, originSpanType, role, this.relationTypes)
+ evt.target.dispatchEvent(new AnnotationOutEvent({ vid: arcId, layer: { id: role, name: labelText } }, evt.originalEvent))
+ }
+ }
+ }
+
onMouseOverArc (evt: MouseEvent) {
if (!this.data) return
@@ -3650,19 +3697,23 @@ export class Visualizer {
const originSpanType = this.data.spans[originSpanId].type || ''
const targetSpanType = this.data.spans[targetSpanId].type || ''
- let normalizations : Array<[string?, string?, string?]> = []
- if (arcId) {
- normalizations = this.data.arcById[arcId].normalizations
- }
this.dispatcher.post('displayArcComment', [
evt, target, symmetric, arcId,
originSpanId, originSpanType, role,
targetSpanId, targetSpanType,
- commentText, commentType, normalizations
+ commentText, commentType
])
if (arcId) {
+ if (evt.target) {
+ const fakeRelation = new Relation()
+ fakeRelation.vid = arcId
+ const labelText = Util.arcDisplayForm(this.entityTypes, originSpanType, role, this.relationTypes)
+ fakeRelation.layer = { id: role, name: labelText }
+ evt.target.dispatchEvent(new AnnotationOverEvent(fakeRelation, evt.originalEvent))
+ }
+
this.highlightArcs = this.svg
.find(`g[data-id="${arcId}"]`)
.map(e => e.addClass('highlight'))
@@ -3731,6 +3782,16 @@ export class Visualizer {
// arc.removeClass('highlight')
// }
// }
+
+ if (target.getAttribute('data-span-id')) {
+ this.onMouseOutSpan(evt)
+ return
+ }
+
+ if (target.getAttribute('data-arc-role')) {
+ this.onMouseOutArc(evt)
+ return
+ }
}
onSelectionStarted () {
diff --git a/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts b/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts
index 931102feb54..78192706f85 100644
--- a/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts
+++ b/inception/inception-brat-editor/src/main/ts/src/visualizer_ui/VisualizerUI.ts
@@ -49,13 +49,10 @@ import { Entity } from '../visualizer/Entity'
import { AttributeType } from '../visualizer/AttributeType'
export class VisualizerUI {
- private spanTypes: Record | null = null
- private relationTypesHash: Record | null = null
+ private spanTypes: Record = {}
+ private relationTypesHash: Record = {}
private data: DocumentData | null = null
- // normalization: server-side DB by norm DB name
- private normServerDbByNormDbName = {}
-
private dispatcher: Dispatcher
private commentPopup: JQuery
@@ -73,8 +70,8 @@ export class VisualizerUI {
this.dispatcher
.on('init', this, this.init)
.on('dataReady', this, this.rememberData)
- .on('displaySpanComment', this, this.displaySpanComment)
- .on('displayArcComment', this, this.displayArcComment)
+// .on('displaySpanComment', this, this.displaySpanComment)
+// .on('displayArcComment', this, this.displayArcComment)
.on('displaySentComment', this, this.displaySentComment)
.on('hideComment', this, this.hideComment)
.on('resize', this, this.onResize)
@@ -89,6 +86,9 @@ export class VisualizerUI {
/* START comment popup - related */
+ /**
+ * @deprecated To be replaced with the new Popover component
+ */
adjustToCursor (evt: MouseEvent, element, offset, top, right) {
// get the real width, without wrapping
element.css({ left: 0, top: 0 })
@@ -117,10 +117,16 @@ export class VisualizerUI {
element.css({ top: y, left: x })
}
+ /**
+ * @deprecated To be replaced with the new Popover component
+ */
displaySentComment (evt: MouseEvent, commentText: string, commentType: CommentType) {
this.displayComment(evt, '', commentText, commentType)
}
+ /**
+ * @deprecated To be replaced with the new Popover component
+ */
displayComment (evt: MouseEvent, comment: string, commentText: string, commentType: CommentType, immediately?: boolean) {
let idtype = ''
if (commentType) {
@@ -150,6 +156,9 @@ export class VisualizerUI {
// to avoid clobbering on delayed response
commentPopupNormInfoSeqId = 0
+ /**
+ * @deprecated To be replaced with the new Popover component
+ */
compareLazyDetails (a, b) {
// images at the top
if (a[0].toLowerCase() === '') return -1
@@ -158,8 +167,11 @@ export class VisualizerUI {
return Util.cmp(a[2], b[2])
}
+ /**
+ * @deprecated To be replaced with the new Popover component
+ */
displaySpanComment (evt, target, spanId, spanType, mods, spanText, hoverText,
- commentText, commentType, normalizations) {
+ commentText, commentType) {
const immediately = false
let comment = ('
{#if annotation}
- {#each annotation.comments as comment}
-
- {/each}
+ {#if annotation.comments}
+ {#each annotation.comments as comment}
+
+ {/each}
+ {/if}
{#if detailGroups}
{#each detailGroups as detailGroup}
{#if detailGroup.title}
diff --git a/inception/inception-js-api/src/main/ts_template/package-lock.json b/inception/inception-js-api/src/main/ts_template/package-lock.json
index 8eed1782c76..bc2e458de46 100644
--- a/inception/inception-js-api/src/main/ts_template/package-lock.json
+++ b/inception/inception-js-api/src/main/ts_template/package-lock.json
@@ -15,14 +15,14 @@
},
"devDependencies": {
"@types/chai": "^4.3.1",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -32,9 +32,9 @@
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
- "svelte": "^3.55.0",
- "svelte-preprocess": "^5.0.0",
+ "mocha-junit-reporter": "^2.2.1",
+ "svelte": "^3.59.2",
+ "svelte-preprocess": "^5.0.4",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -50,9 +50,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz",
- "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
"cpu": [
"arm"
],
@@ -66,9 +66,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz",
- "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
"cpu": [
"arm64"
],
@@ -82,9 +82,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz",
- "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
"cpu": [
"x64"
],
@@ -98,9 +98,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz",
- "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
"cpu": [
"arm64"
],
@@ -114,9 +114,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz",
- "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
"cpu": [
"x64"
],
@@ -130,9 +130,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz",
- "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
"cpu": [
"arm64"
],
@@ -146,9 +146,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz",
- "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
"cpu": [
"x64"
],
@@ -162,9 +162,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz",
- "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
"cpu": [
"arm"
],
@@ -178,9 +178,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz",
- "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
"cpu": [
"arm64"
],
@@ -194,9 +194,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz",
- "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
"cpu": [
"ia32"
],
@@ -210,9 +210,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz",
- "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
"cpu": [
"loong64"
],
@@ -226,9 +226,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz",
- "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
"cpu": [
"mips64el"
],
@@ -242,9 +242,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz",
- "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
"cpu": [
"ppc64"
],
@@ -258,9 +258,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz",
- "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
"cpu": [
"riscv64"
],
@@ -274,9 +274,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz",
- "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
"cpu": [
"s390x"
],
@@ -290,9 +290,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz",
- "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
"cpu": [
"x64"
],
@@ -306,9 +306,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz",
- "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
"cpu": [
"x64"
],
@@ -322,9 +322,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz",
- "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
"cpu": [
"x64"
],
@@ -338,9 +338,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz",
- "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
"cpu": [
"x64"
],
@@ -354,9 +354,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz",
- "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
"cpu": [
"arm64"
],
@@ -370,9 +370,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz",
- "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
"cpu": [
"ia32"
],
@@ -386,9 +386,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz",
- "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
"cpu": [
"x64"
],
@@ -565,9 +565,9 @@
"dev": true
},
"node_modules/@types/mocha": {
- "version": "9.1.1",
- "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz",
- "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz",
+ "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==",
"dev": true
},
"node_modules/@types/node": {
@@ -1500,9 +1500,9 @@
"dev": true
},
"node_modules/esbuild": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz",
- "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -1512,28 +1512,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/esbuild-runner-plugins": {
@@ -1554,17 +1554,16 @@
}
},
"node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.5.0.tgz",
- "integrity": "sha512-SKWcvZwB+3/3eLhSCscJfb9AEOgL3oYlwOaItnXpXNPVj9Hc1Iwf5Cx4muUd+H+6zKyUwviAtVdRwcUsocUYgA==",
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.10.0.tgz",
+ "integrity": "sha512-STv849QGT8g77RRFmroSt4VBVKjv+dypKcO4aWz8IP4G5JbRH0KC0+B8ODuzlUNu9R5MbkGcev/62RDP/JcZ2Q==",
"dev": true,
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"node_modules/esbuild-svelte": {
@@ -2511,8 +2510,7 @@
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
"integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
- "dev": true,
- "peer": true
+ "dev": true
},
"node_modules/import-fresh": {
"version": "3.3.0",
@@ -3761,7 +3759,6 @@
"resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
"integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
"dev": true,
- "peer": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
"immutable": "^4.0.0",
@@ -3871,7 +3868,6 @@
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"dev": true,
- "peer": true,
"engines": {
"node": ">=0.10.0"
}
diff --git a/inception/inception-js-api/src/main/ts_template/package.json b/inception/inception-js-api/src/main/ts_template/package.json
index 0f24a393673..e6984b6e05e 100644
--- a/inception/inception-js-api/src/main/ts_template/package.json
+++ b/inception/inception-js-api/src/main/ts_template/package.json
@@ -32,11 +32,11 @@
"eslint-plugin-n": "${eslint-plugin-n.version}",
"eslint-plugin-promise": "${eslint-plugin-promise.version}",
"fs-extra": "${fs-extra.version}",
- "mocha": "${mocha.version}",
+ "mocha": "${ts-mocha.version}",
"mocha-junit-reporter": "${mocha-junit-reporter.version}",
"svelte": "${svelte.version}",
"svelte-preprocess": "${svelte-preprocess.version}",
- "ts-mocha": "${mocha.version}",
+ "ts-mocha": "${ts-mocha.version}",
"typescript": "${typescript.version}",
"@typescript-eslint/eslint-plugin": "${typescript-eslint-eslint-plugin.version}",
"@typescript-eslint/parser": "${typescript-eslint-parser.version}",
diff --git a/inception/inception-pdf-editor/src/main/ts_template/package-lock.json b/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
index ebe5a74bc6c..37441d60b35 100644
--- a/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
+++ b/inception/inception-pdf-editor/src/main/ts_template/package-lock.json
@@ -20,7 +20,7 @@
"@types/urijs": "^1.19.19",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
@@ -44,14 +44,14 @@
},
"devDependencies": {
"@types/chai": "^4.3.1",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
"cross-env": "^7.0.3",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
+ "esbuild-sass-plugin": "~2.10.0",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
@@ -59,8 +59,8 @@
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^10.1.0",
- "mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
+ "mocha": "^10.2.0",
+ "mocha-junit-reporter": "^2.2.1",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -77,14 +77,14 @@
},
"devDependencies": {
"@types/chai": "^4.3.1",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -94,9 +94,9 @@
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
- "svelte": "^3.55.0",
- "svelte-preprocess": "^5.0.0",
+ "mocha-junit-reporter": "^2.2.1",
+ "svelte": "^3.59.2",
+ "svelte-preprocess": "^5.0.4",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -111,7 +111,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
+ "version": "0.18.20",
"cpu": [
"arm64"
],
@@ -273,7 +273,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/mocha": {
- "version": "9.1.1",
+ "version": "10.0.1",
"dev": true,
"license": "MIT"
},
@@ -1138,7 +1138,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
- "version": "0.16.17",
+ "version": "0.18.20",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -1149,28 +1149,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild-runner-plugins": {
@@ -1190,16 +1190,15 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
+ "version": "2.10.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
@@ -2071,8 +2070,7 @@
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
"version": "4.3.2",
"dev": true,
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/import-fresh": {
"version": "3.3.0",
@@ -3216,7 +3214,6 @@
"version": "1.65.1",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
"immutable": "^4.0.0",
@@ -3317,7 +3314,6 @@
"version": "1.0.2",
"dev": true,
"license": "BSD-3-Clause",
- "peer": true,
"engines": {
"node": ">=0.10.0"
}
@@ -3959,7 +3955,7 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
+ "version": "0.18.20",
"cpu": [
"arm64"
],
@@ -4749,7 +4745,7 @@
}
},
"node_modules/esbuild": {
- "version": "0.16.17",
+ "version": "0.18.20",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -4760,28 +4756,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/escalade": {
diff --git a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
index a544238b29c..0c6759e4186 100644
--- a/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
+++ b/inception/inception-pdf-editor2/src/main/ts/src/pdfanno/pdfanno.ts
@@ -82,7 +82,7 @@ export async function initPdfAnno (ajax: DiamAjax): Promise
{
installSpanSelection()
installRelationSelection()
- this.popover = new AnnotationDetailPopOver({
+ new AnnotationDetailPopOver({
target: document.body,
props: {
root: document.body,
diff --git a/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json b/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
index b0dd750a5dc..9bba3679ffa 100644
--- a/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
+++ b/inception/inception-pdf-editor2/src/main/ts_template/package-lock.json
@@ -18,15 +18,15 @@
"@types/chai": "^4.3.1",
"@types/events": "^3.0.0",
"@types/jquery": "^3.5.14",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@types/urijs": "^1.19.19",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -35,10 +35,10 @@
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^10.1.0",
- "mocha": "^10.0.0",
+ "mocha": "^10.2.0",
"sass": "~1.64.2",
- "svelte": "^3.55.0",
- "svelte-preprocess": "^5.0.0",
+ "svelte": "^3.59.2",
+ "svelte-preprocess": "^5.0.4",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -57,14 +57,14 @@
},
"devDependencies": {
"@types/chai": "^4.3.1",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
"cross-env": "^7.0.3",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
+ "esbuild-sass-plugin": "~2.10.0",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
@@ -72,8 +72,8 @@
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^10.1.0",
- "mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
+ "mocha": "^10.2.0",
+ "mocha-junit-reporter": "^2.2.1",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -90,14 +90,14 @@
},
"devDependencies": {
"@types/chai": "^4.3.1",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -107,9 +107,9 @@
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
- "svelte": "^3.55.0",
- "svelte-preprocess": "^5.0.0",
+ "mocha-junit-reporter": "^2.2.1",
+ "svelte": "^3.59.2",
+ "svelte-preprocess": "^5.0.4",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.4",
"yargs": "^17.6.0"
@@ -124,7 +124,7 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
+ "version": "0.18.20",
"cpu": [
"arm64"
],
@@ -286,7 +286,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/@types/mocha": {
- "version": "9.1.1",
+ "version": "10.0.1",
"dev": true,
"license": "MIT"
},
@@ -1151,7 +1151,7 @@
"license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild": {
- "version": "0.16.17",
+ "version": "0.18.20",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -1162,28 +1162,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild-runner-plugins": {
@@ -1203,16 +1203,15 @@
}
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
+ "version": "2.10.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"../../../../inception-js-api/src/main/ts/node_modules/esbuild-svelte": {
@@ -2084,8 +2083,7 @@
"../../../../inception-js-api/src/main/ts/node_modules/immutable": {
"version": "4.3.2",
"dev": true,
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"../../../../inception-js-api/src/main/ts/node_modules/import-fresh": {
"version": "3.3.0",
@@ -3229,7 +3227,6 @@
"version": "1.65.1",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
"immutable": "^4.0.0",
@@ -3330,7 +3327,6 @@
"version": "1.0.2",
"dev": true,
"license": "BSD-3-Clause",
- "peer": true,
"engines": {
"node": ">=0.10.0"
}
@@ -3972,7 +3968,7 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
+ "version": "0.18.20",
"cpu": [
"arm64"
],
@@ -4138,7 +4134,7 @@
"license": "MIT"
},
"node_modules/@types/mocha": {
- "version": "9.1.1",
+ "version": "10.0.1",
"dev": true,
"license": "MIT"
},
@@ -4965,7 +4961,7 @@
"license": "MIT"
},
"node_modules/esbuild": {
- "version": "0.16.17",
+ "version": "0.18.20",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -4976,28 +4972,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/esbuild-runner-plugins": {
@@ -5017,16 +5013,15 @@
}
},
"node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
+ "version": "2.10.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"node_modules/esbuild-svelte": {
diff --git a/inception/inception-project-export/src/main/ts_template/package-lock.json b/inception/inception-project-export/src/main/ts_template/package-lock.json
index 6e994d79a41..60be9199d0b 100644
--- a/inception/inception-project-export/src/main/ts_template/package-lock.json
+++ b/inception/inception-project-export/src/main/ts_template/package-lock.json
@@ -15,14 +15,14 @@
"@testing-library/svelte": "^3.1.3",
"@types/chai": "^4.3.1",
"@types/events": "^3.0.0",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -34,10 +34,10 @@
"fs-extra": "^10.1.0",
"jsdom": "^20.0.0",
"jsdom-global": "^3.0.2",
- "mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
+ "mocha": "^10.2.0",
+ "mocha-junit-reporter": "^2.2.1",
"sass": "~1.64.2",
- "svelte-preprocess": "^5.0.0",
+ "svelte-preprocess": "^5.0.4",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -243,9 +243,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz",
- "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
"cpu": [
"arm"
],
@@ -259,9 +259,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz",
- "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
"cpu": [
"arm64"
],
@@ -275,9 +275,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz",
- "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
"cpu": [
"x64"
],
@@ -291,9 +291,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz",
- "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
"cpu": [
"arm64"
],
@@ -307,9 +307,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz",
- "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
"cpu": [
"x64"
],
@@ -323,9 +323,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz",
- "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
"cpu": [
"arm64"
],
@@ -339,9 +339,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz",
- "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
"cpu": [
"x64"
],
@@ -355,9 +355,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz",
- "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
"cpu": [
"arm"
],
@@ -371,9 +371,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz",
- "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
"cpu": [
"arm64"
],
@@ -387,9 +387,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz",
- "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
"cpu": [
"ia32"
],
@@ -403,9 +403,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz",
- "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
"cpu": [
"loong64"
],
@@ -419,9 +419,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz",
- "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
"cpu": [
"mips64el"
],
@@ -435,9 +435,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz",
- "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
"cpu": [
"ppc64"
],
@@ -451,9 +451,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz",
- "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
"cpu": [
"riscv64"
],
@@ -467,9 +467,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz",
- "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
"cpu": [
"s390x"
],
@@ -483,9 +483,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz",
- "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
"cpu": [
"x64"
],
@@ -499,9 +499,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz",
- "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
"cpu": [
"x64"
],
@@ -515,9 +515,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz",
- "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
"cpu": [
"x64"
],
@@ -531,9 +531,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz",
- "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
"cpu": [
"x64"
],
@@ -547,9 +547,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz",
- "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
"cpu": [
"arm64"
],
@@ -563,9 +563,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz",
- "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
"cpu": [
"ia32"
],
@@ -579,9 +579,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz",
- "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
"cpu": [
"x64"
],
@@ -803,9 +803,9 @@
"dev": true
},
"node_modules/@types/mocha": {
- "version": "9.1.1",
- "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz",
- "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz",
+ "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==",
"dev": true
},
"node_modules/@types/pug": {
@@ -1894,9 +1894,9 @@
"dev": true
},
"node_modules/esbuild": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz",
- "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -1906,28 +1906,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/esbuild-runner-plugins": {
@@ -1948,17 +1948,16 @@
}
},
"node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.5.0.tgz",
- "integrity": "sha512-SKWcvZwB+3/3eLhSCscJfb9AEOgL3oYlwOaItnXpXNPVj9Hc1Iwf5Cx4muUd+H+6zKyUwviAtVdRwcUsocUYgA==",
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.10.0.tgz",
+ "integrity": "sha512-STv849QGT8g77RRFmroSt4VBVKjv+dypKcO4aWz8IP4G5JbRH0KC0+B8ODuzlUNu9R5MbkGcev/62RDP/JcZ2Q==",
"dev": true,
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"node_modules/esbuild-svelte": {
diff --git a/inception/inception-recommendation/src/main/ts_template/package-lock.json b/inception/inception-recommendation/src/main/ts_template/package-lock.json
index f2fc2724402..de7cc78c23c 100644
--- a/inception/inception-recommendation/src/main/ts_template/package-lock.json
+++ b/inception/inception-recommendation/src/main/ts_template/package-lock.json
@@ -15,14 +15,14 @@
"@testing-library/svelte": "^3.1.3",
"@types/chai": "^4.3.1",
"@types/events": "^3.0.0",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -34,11 +34,11 @@
"fs-extra": "^10.1.0",
"jsdom": "^20.0.0",
"jsdom-global": "^3.0.2",
- "mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
+ "mocha": "^10.2.0",
+ "mocha-junit-reporter": "^2.2.1",
"sass": "~1.64.2",
- "svelte": "^3.55.0",
- "svelte-preprocess": "^5.0.0",
+ "svelte": "^3.59.2",
+ "svelte-preprocess": "^5.0.4",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -244,9 +244,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz",
- "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
"cpu": [
"arm"
],
@@ -260,9 +260,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz",
- "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
"cpu": [
"arm64"
],
@@ -276,9 +276,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz",
- "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
"cpu": [
"x64"
],
@@ -292,9 +292,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz",
- "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
"cpu": [
"arm64"
],
@@ -308,9 +308,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz",
- "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
"cpu": [
"x64"
],
@@ -324,9 +324,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz",
- "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
"cpu": [
"arm64"
],
@@ -340,9 +340,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz",
- "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
"cpu": [
"x64"
],
@@ -356,9 +356,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz",
- "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
"cpu": [
"arm"
],
@@ -372,9 +372,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz",
- "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
"cpu": [
"arm64"
],
@@ -388,9 +388,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz",
- "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
"cpu": [
"ia32"
],
@@ -404,9 +404,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz",
- "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
"cpu": [
"loong64"
],
@@ -420,9 +420,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz",
- "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
"cpu": [
"mips64el"
],
@@ -436,9 +436,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz",
- "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
"cpu": [
"ppc64"
],
@@ -452,9 +452,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz",
- "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
"cpu": [
"riscv64"
],
@@ -468,9 +468,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz",
- "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
"cpu": [
"s390x"
],
@@ -484,9 +484,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz",
- "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
"cpu": [
"x64"
],
@@ -500,9 +500,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz",
- "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
"cpu": [
"x64"
],
@@ -516,9 +516,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz",
- "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
"cpu": [
"x64"
],
@@ -532,9 +532,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz",
- "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
"cpu": [
"x64"
],
@@ -548,9 +548,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz",
- "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
"cpu": [
"arm64"
],
@@ -564,9 +564,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz",
- "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
"cpu": [
"ia32"
],
@@ -580,9 +580,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz",
- "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
"cpu": [
"x64"
],
@@ -804,9 +804,9 @@
"dev": true
},
"node_modules/@types/mocha": {
- "version": "9.1.1",
- "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz",
- "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz",
+ "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==",
"dev": true
},
"node_modules/@types/pug": {
@@ -1895,9 +1895,9 @@
"dev": true
},
"node_modules/esbuild": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz",
- "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -1907,28 +1907,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/esbuild-runner-plugins": {
@@ -1949,17 +1949,16 @@
}
},
"node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.5.0.tgz",
- "integrity": "sha512-SKWcvZwB+3/3eLhSCscJfb9AEOgL3oYlwOaItnXpXNPVj9Hc1Iwf5Cx4muUd+H+6zKyUwviAtVdRwcUsocUYgA==",
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.10.0.tgz",
+ "integrity": "sha512-STv849QGT8g77RRFmroSt4VBVKjv+dypKcO4aWz8IP4G5JbRH0KC0+B8ODuzlUNu9R5MbkGcev/62RDP/JcZ2Q==",
"dev": true,
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"node_modules/esbuild-svelte": {
diff --git a/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json b/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
index b41a3adb626..b2116e6797a 100644
--- a/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-dashboard-activity/src/main/ts_template/package-lock.json
@@ -15,14 +15,14 @@
"@testing-library/svelte": "^3.1.3",
"@types/chai": "^4.3.1",
"@types/events": "^3.0.0",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -34,10 +34,10 @@
"fs-extra": "^10.1.0",
"jsdom": "^20.0.0",
"jsdom-global": "^3.0.2",
- "mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
+ "mocha": "^10.2.0",
+ "mocha-junit-reporter": "^2.2.1",
"sass": "~1.64.2",
- "svelte-preprocess": "^5.0.0",
+ "svelte-preprocess": "^5.0.4",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -243,9 +243,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz",
- "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
"cpu": [
"arm"
],
@@ -259,9 +259,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz",
- "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
"cpu": [
"arm64"
],
@@ -275,9 +275,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz",
- "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
"cpu": [
"x64"
],
@@ -291,9 +291,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz",
- "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
"cpu": [
"arm64"
],
@@ -307,9 +307,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz",
- "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
"cpu": [
"x64"
],
@@ -323,9 +323,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz",
- "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
"cpu": [
"arm64"
],
@@ -339,9 +339,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz",
- "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
"cpu": [
"x64"
],
@@ -355,9 +355,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz",
- "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
"cpu": [
"arm"
],
@@ -371,9 +371,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz",
- "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
"cpu": [
"arm64"
],
@@ -387,9 +387,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz",
- "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
"cpu": [
"ia32"
],
@@ -403,9 +403,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz",
- "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
"cpu": [
"loong64"
],
@@ -419,9 +419,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz",
- "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
"cpu": [
"mips64el"
],
@@ -435,9 +435,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz",
- "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
"cpu": [
"ppc64"
],
@@ -451,9 +451,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz",
- "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
"cpu": [
"riscv64"
],
@@ -467,9 +467,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz",
- "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
"cpu": [
"s390x"
],
@@ -483,9 +483,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz",
- "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
"cpu": [
"x64"
],
@@ -499,9 +499,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz",
- "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
"cpu": [
"x64"
],
@@ -515,9 +515,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz",
- "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
"cpu": [
"x64"
],
@@ -531,9 +531,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz",
- "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
"cpu": [
"x64"
],
@@ -547,9 +547,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz",
- "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
"cpu": [
"arm64"
],
@@ -563,9 +563,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz",
- "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
"cpu": [
"ia32"
],
@@ -579,9 +579,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz",
- "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
"cpu": [
"x64"
],
@@ -798,9 +798,9 @@
"dev": true
},
"node_modules/@types/mocha": {
- "version": "9.1.1",
- "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz",
- "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz",
+ "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==",
"dev": true
},
"node_modules/@types/pug": {
@@ -1894,9 +1894,9 @@
"dev": true
},
"node_modules/esbuild": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz",
- "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -1906,28 +1906,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/esbuild-runner-plugins": {
@@ -1948,17 +1948,16 @@
}
},
"node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.5.0.tgz",
- "integrity": "sha512-SKWcvZwB+3/3eLhSCscJfb9AEOgL3oYlwOaItnXpXNPVj9Hc1Iwf5Cx4muUd+H+6zKyUwviAtVdRwcUsocUYgA==",
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.10.0.tgz",
+ "integrity": "sha512-STv849QGT8g77RRFmroSt4VBVKjv+dypKcO4aWz8IP4G5JbRH0KC0+B8ODuzlUNu9R5MbkGcev/62RDP/JcZ2Q==",
"dev": true,
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"node_modules/esbuild-svelte": {
diff --git a/inception/inception-ui-kb/src/main/ts_template/package-lock.json b/inception/inception-ui-kb/src/main/ts_template/package-lock.json
index 21987b03b27..46e43544149 100644
--- a/inception/inception-ui-kb/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-kb/src/main/ts_template/package-lock.json
@@ -22,13 +22,13 @@
"devDependencies": {
"bootstrap": "5.3.1",
"cross-env": "^7.0.3",
- "esbuild": "~0.16.17",
- "esbuild-sass-plugin": "~2.5.0",
+ "esbuild": "~0.18.19",
+ "esbuild-sass-plugin": "~2.10.0",
"sass": "~1.64.2"
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
+ "version": "0.18.20",
"cpu": [
"arm64"
],
@@ -158,7 +158,7 @@
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/esbuild": {
- "version": "0.16.17",
+ "version": "0.18.20",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -169,41 +169,40 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
+ "version": "2.10.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"../../../../inception-bootstrap/src/main/ts/node_modules/fill-range": {
diff --git a/inception/inception-ui-scheduling/src/main/ts_template/package-lock.json b/inception/inception-ui-scheduling/src/main/ts_template/package-lock.json
index 1ac0c17a00e..60be9199d0b 100644
--- a/inception/inception-ui-scheduling/src/main/ts_template/package-lock.json
+++ b/inception/inception-ui-scheduling/src/main/ts_template/package-lock.json
@@ -15,14 +15,14 @@
"@testing-library/svelte": "^3.1.3",
"@types/chai": "^4.3.1",
"@types/events": "^3.0.0",
- "@types/mocha": "^9.1.1",
+ "@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.6",
- "esbuild": "~0.16.17",
+ "esbuild": "~0.18.19",
"esbuild-runner-plugins": "^2.3.0-plugins.0",
- "esbuild-sass-plugin": "~2.5.0",
- "esbuild-svelte": "^0.7.3",
+ "esbuild-sass-plugin": "~2.10.0",
+ "esbuild-svelte": "^0.7.4",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
@@ -34,10 +34,10 @@
"fs-extra": "^10.1.0",
"jsdom": "^20.0.0",
"jsdom-global": "^3.0.2",
- "mocha": "^10.0.0",
- "mocha-junit-reporter": "^2.1.0",
- "sass": "^1.57.1",
- "svelte-preprocess": "^5.0.0",
+ "mocha": "^10.2.0",
+ "mocha-junit-reporter": "^2.2.1",
+ "sass": "~1.64.2",
+ "svelte-preprocess": "^5.0.4",
"typescript": "^4.9.4",
"uuid": "^8.3.2",
"yargs": "^17.6.0"
@@ -53,17 +53,89 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz",
- "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.10.tgz",
+ "integrity": "sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==",
"dev": true,
"dependencies": {
- "@babel/highlight": "^7.22.5"
+ "@babel/highlight": "^7.22.10",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "dev": true
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/helper-validator-identifier": {
"version": "7.22.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz",
@@ -74,13 +146,13 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz",
- "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.10.tgz",
+ "integrity": "sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==",
"dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.5",
- "chalk": "^2.0.0",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -159,21 +231,21 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.22.6",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz",
- "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==",
+ "version": "7.22.10",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.10.tgz",
+ "integrity": "sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==",
"dev": true,
"dependencies": {
- "regenerator-runtime": "^0.13.11"
+ "regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz",
- "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
"cpu": [
"arm"
],
@@ -187,9 +259,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz",
- "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
"cpu": [
"arm64"
],
@@ -203,9 +275,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz",
- "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
"cpu": [
"x64"
],
@@ -219,9 +291,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz",
- "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
"cpu": [
"arm64"
],
@@ -235,9 +307,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz",
- "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
"cpu": [
"x64"
],
@@ -251,9 +323,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz",
- "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
"cpu": [
"arm64"
],
@@ -267,9 +339,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz",
- "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
"cpu": [
"x64"
],
@@ -283,9 +355,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz",
- "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
"cpu": [
"arm"
],
@@ -299,9 +371,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz",
- "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
"cpu": [
"arm64"
],
@@ -315,9 +387,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz",
- "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
"cpu": [
"ia32"
],
@@ -331,9 +403,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz",
- "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
"cpu": [
"loong64"
],
@@ -347,9 +419,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz",
- "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
"cpu": [
"mips64el"
],
@@ -363,9 +435,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz",
- "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
"cpu": [
"ppc64"
],
@@ -379,9 +451,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz",
- "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
"cpu": [
"riscv64"
],
@@ -395,9 +467,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz",
- "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
"cpu": [
"s390x"
],
@@ -411,9 +483,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz",
- "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
"cpu": [
"x64"
],
@@ -427,9 +499,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz",
- "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
"cpu": [
"x64"
],
@@ -443,9 +515,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz",
- "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
"cpu": [
"x64"
],
@@ -459,9 +531,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz",
- "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
"cpu": [
"x64"
],
@@ -475,9 +547,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz",
- "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
"cpu": [
"arm64"
],
@@ -491,9 +563,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz",
- "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
"cpu": [
"ia32"
],
@@ -507,9 +579,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz",
- "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
"cpu": [
"x64"
],
@@ -538,18 +610,18 @@
}
},
"node_modules/@eslint-community/regexpp": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.0.tgz",
- "integrity": "sha512-uiPeRISaglZnaZk8vwrjQZ1CxogZeY/4IYft6gBOTqu1WhVXWmCmZMWxUv2Q/pxSvPdp1JPaO62kLOcOkMqWrw==",
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
+ "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
"dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz",
- "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
+ "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -570,9 +642,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.44.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz",
- "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
+ "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -731,9 +803,9 @@
"dev": true
},
"node_modules/@types/mocha": {
- "version": "9.1.1",
- "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz",
- "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz",
+ "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==",
"dev": true
},
"node_modules/@types/pug": {
@@ -1112,6 +1184,25 @@
"node": ">=8"
}
},
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.2.tgz",
+ "integrity": "sha512-tb5thFFlUcp7NdNF6/MpDk/1r/4awWG1FIz3YqDf+/zJSTezBb+/5WViH41obXULHVpDzoiCLpJ/ZO9YbJMsdw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/array.prototype.flat": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz",
@@ -1803,9 +1894,9 @@
"dev": true
},
"node_modules/esbuild": {
- "version": "0.16.17",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz",
- "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -1815,28 +1906,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.17",
- "@esbuild/android-arm64": "0.16.17",
- "@esbuild/android-x64": "0.16.17",
- "@esbuild/darwin-arm64": "0.16.17",
- "@esbuild/darwin-x64": "0.16.17",
- "@esbuild/freebsd-arm64": "0.16.17",
- "@esbuild/freebsd-x64": "0.16.17",
- "@esbuild/linux-arm": "0.16.17",
- "@esbuild/linux-arm64": "0.16.17",
- "@esbuild/linux-ia32": "0.16.17",
- "@esbuild/linux-loong64": "0.16.17",
- "@esbuild/linux-mips64el": "0.16.17",
- "@esbuild/linux-ppc64": "0.16.17",
- "@esbuild/linux-riscv64": "0.16.17",
- "@esbuild/linux-s390x": "0.16.17",
- "@esbuild/linux-x64": "0.16.17",
- "@esbuild/netbsd-x64": "0.16.17",
- "@esbuild/openbsd-x64": "0.16.17",
- "@esbuild/sunos-x64": "0.16.17",
- "@esbuild/win32-arm64": "0.16.17",
- "@esbuild/win32-ia32": "0.16.17",
- "@esbuild/win32-x64": "0.16.17"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/esbuild-runner-plugins": {
@@ -1857,17 +1948,16 @@
}
},
"node_modules/esbuild-sass-plugin": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.5.0.tgz",
- "integrity": "sha512-SKWcvZwB+3/3eLhSCscJfb9AEOgL3oYlwOaItnXpXNPVj9Hc1Iwf5Cx4muUd+H+6zKyUwviAtVdRwcUsocUYgA==",
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.10.0.tgz",
+ "integrity": "sha512-STv849QGT8g77RRFmroSt4VBVKjv+dypKcO4aWz8IP4G5JbRH0KC0+B8ODuzlUNu9R5MbkGcev/62RDP/JcZ2Q==",
"dev": true,
"dependencies": {
- "resolve": "^1.22.1"
+ "resolve": "^1.22.2",
+ "sass": "^1.63.0"
},
"peerDependencies": {
- "esbuild": "^0.16.17",
- "resolve": "^1.22.1",
- "sass": "^1.56.1"
+ "esbuild": "^0.18.0"
}
},
"node_modules/esbuild-svelte": {
@@ -1935,27 +2025,27 @@
}
},
"node_modules/eslint": {
- "version": "8.45.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz",
- "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
+ "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.3",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -2018,14 +2108,14 @@
}
},
"node_modules/eslint-import-resolver-node": {
- "version": "0.3.7",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz",
- "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==",
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
"dev": true,
"dependencies": {
"debug": "^3.2.7",
- "is-core-module": "^2.11.0",
- "resolve": "^1.22.1"
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
}
},
"node_modules/eslint-import-resolver-node/node_modules/debug": {
@@ -2119,26 +2209,29 @@
}
},
"node_modules/eslint-plugin-import": {
- "version": "2.27.5",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz",
- "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==",
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz",
+ "integrity": "sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==",
"dev": true,
"dependencies": {
"array-includes": "^3.1.6",
+ "array.prototype.findlastindex": "^1.2.2",
"array.prototype.flat": "^1.3.1",
"array.prototype.flatmap": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
- "eslint-module-utils": "^2.7.4",
+ "eslint-module-utils": "^2.8.0",
"has": "^1.0.3",
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.12.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.6",
+ "object.groupby": "^1.0.0",
"object.values": "^1.1.6",
- "resolve": "^1.22.1",
- "semver": "^6.3.0",
- "tsconfig-paths": "^3.14.1"
+ "resolve": "^1.22.3",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.14.2"
},
"engines": {
"node": ">=4"
@@ -2281,9 +2374,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
- "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2293,9 +2386,9 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
- "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
"dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
@@ -2702,9 +2795,9 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
- "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
+ "version": "13.21.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz",
+ "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==",
"dev": true,
"dependencies": {
"type-fest": "^0.20.2"
@@ -2926,9 +3019,9 @@
}
},
"node_modules/immutable": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz",
- "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
+ "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dev": true
},
"node_modules/import-fresh": {
@@ -3075,9 +3168,9 @@
}
},
"node_modules/is-core-module": {
- "version": "2.12.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
- "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
+ "version": "2.13.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
+ "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
"dev": true,
"dependencies": {
"has": "^1.0.3"
@@ -3899,6 +3992,35 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz",
+ "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "es-abstract": "^1.20.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.0.tgz",
+ "integrity": "sha512-70MWG6NfRH9GnbZOikuhPPYzpUpof9iW2J9E4dW7FXTqPNb6rllE6u39SKwwiNh8lCwX3DDb5OgcKGiEBrTTyw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.21.2",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
"node_modules/object.values": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz",
@@ -4169,9 +4291,9 @@
}
},
"node_modules/regenerator-runtime": {
- "version": "0.13.11",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
- "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz",
+ "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==",
"dev": true
},
"node_modules/regexp.prototype.flags": {
@@ -4219,12 +4341,12 @@
"dev": true
},
"node_modules/resolve": {
- "version": "1.22.2",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
- "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
+ "version": "1.22.4",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
+ "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.11.0",
+ "is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@@ -4387,9 +4509,9 @@
}
},
"node_modules/sass": {
- "version": "1.64.1",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.1.tgz",
- "integrity": "sha512-16rRACSOFEE8VN7SCgBu1MpYCyN7urj9At898tyzdXFhC+a+yOX5dXwAR7L8/IdPJ1NB8OYoXmD55DM30B2kEQ==",
+ "version": "1.64.2",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.2.tgz",
+ "integrity": "sha512-TnDlfc+CRnUAgLO9D8cQLFu/GIjJIzJCGkE7o4ekIGQOH7T3GetiRR/PsTWJUHhkzcSPrARkPI+gNWn5alCzDg==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
diff --git a/inception/update-package-lock.sh b/inception/update-package-lock.sh
index d95e36a2a39..a14ba21e48b 100755
--- a/inception/update-package-lock.sh
+++ b/inception/update-package-lock.sh
@@ -2,21 +2,26 @@
set -e
MVN=${MVN:-'mvn'}
-TS_MODULES="./inception-js-api/src/main/ts
+# Do not change the order without a good reason - modules that imported by other modules must come before them!
+TS_MODULES="
+./inception-bootstrap/src/main/ts
+./inception-js-api/src/main/ts
./inception-diam/src/main/ts
+./inception-brat-editor/src/main/ts
./inception-diam-editor/src/main/ts
-./inception-ui-kb/src/main/ts
-./inception-html-recogito-editor/src/main/ts
-./inception-bootstrap/src/main/ts
./inception-external-editor/src/main/ts
+./inception-html-apache-annotator-editor/src/main/ts
./inception-html-editor/src/main/ts
+./inception-html-recogito-editor/src/main/ts
./inception-pdf-editor/src/main/ts
./inception-pdf-editor2/src/main/ts
+./inception-project-export/src/main/ts
+./inception-recommendation/src/main/ts
./inception-ui-dashboard-activity/src/main/ts
-./inception-brat-editor/src/main/ts
+./inception-ui-kb/src/main/ts
./inception-ui-search/src/main/ts
-./inception-recommendation/src/main/ts
-./inception-project-export/src/main/ts"
+./inception-ui-scheduling/src/main/ts
+"
for module in $TS_MODULES ; do
pushd "$module"
diff --git a/pom.xml b/pom.xml
index 3cad14ada2d..e3fdbe21ed8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -156,9 +156,9 @@
^7.0.3
^2.0.1
^1.11.4
- ~0.16.17
- ~2.5.0
- ^0.7.3
+ ~0.18.19
+ ~2.10.0
+ ^0.7.4
^2.3.0-plugins.0
^8.31.0
^0.7.2
@@ -177,26 +177,27 @@
^3.0.2
3.7.0
1.13.2
- ^10.0.0
- ^2.1.0
+ ^10.2.0
+ ^2.2.1
2.14.305
- 2.11.7
+ 2.11.8
1.8.2
0.1.11
1.7.7
~1.64.2
^6.1.2
- ^3.55.0
- ^5.0.0
+ ^3.59.2
+ ^5.0.4
^3.1.2
^3.0.8
^3.1.3
+ ^10.0.0
^4.9.4
^5.47.1
^5.47.1
^3.0.0
^3.5.14
- ^9.1.1
+ ^10.0.1
^2.3.5
^1.19.19
^8.3.2
From 059e7dfbb925ddd5501f17d63d903ec6c7dd4cf9 Mon Sep 17 00:00:00 2001
From: Richard Eckart de Castilho
Date: Mon, 21 Aug 2023 12:50:53 +0200
Subject: [PATCH 09/17] #4139 - Reusable popover component for annotation
editors
- Remove "Yield" as a separate comment type - it is just a regular info comment
---
.../layer/relation/RelationRenderer.java | 91 ++++++++++---------
.../layer/relation/RelationRendererTest.java | 13 +--
.../rendering/vmodel/VCommentType.java | 2 +-
.../brat/render/BratSerializerImpl.java | 3 -
.../brat/render/model/AnnotationComment.java | 3 -
.../src/main/ts/src/protocol/Protocol.ts | 3 -
.../compactv2/CompactSerializerV2Impl.java | 3 -
.../src/main/ts/src/diam/DiamAjax.ts | 82 ++++++++++++++---
8 files changed, 125 insertions(+), 75 deletions(-)
diff --git a/inception/inception-api-annotation/src/main/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRenderer.java b/inception/inception-api-annotation/src/main/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRenderer.java
index 991bb0f9655..af3aa2ca1b0 100644
--- a/inception/inception-api-annotation/src/main/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRenderer.java
+++ b/inception/inception-api-annotation/src/main/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRenderer.java
@@ -20,6 +20,7 @@
import static java.util.Arrays.asList;
import static java.util.Collections.emptyList;
import static java.util.Comparator.comparingInt;
+import static org.apache.commons.lang3.StringUtils.abbreviate;
import static org.apache.uima.fit.util.CasUtil.selectCovered;
import java.util.ArrayList;
@@ -39,6 +40,7 @@
import org.apache.uima.cas.Type;
import org.apache.uima.cas.TypeSystem;
import org.apache.uima.cas.text.AnnotationFS;
+import org.apache.uima.jcas.tcas.Annotation;
import org.apache.wicket.Page;
import org.apache.wicket.core.request.handler.IPageRequestHandler;
import org.apache.wicket.request.cycle.PageRequestHandlerTracker;
@@ -157,27 +159,24 @@ public void render(final CAS aCas, List aFeatures, VDocument
}
}
- private Optional renderYield(AnnotationFS fs, Map> relationLinks,
- List yieldDeps)
+ private Optional renderYield(AnnotationFS fs)
{
FeatureStructure dependentFs = getDependentFs(fs);
- if (relationLinks.keySet().contains(ICasUtil.getAddr(dependentFs))
- && !yieldDeps.contains(ICasUtil.getAddr(dependentFs))) {
- yieldDeps.add(ICasUtil.getAddr(dependentFs));
+ var relationLinks = getRelationLinks(fs.getCAS());
- // sort the annotations (begin, end)
- List sortedDepFs = new ArrayList<>(
- relationLinks.get(ICasUtil.getAddr(dependentFs)));
- sortedDepFs.sort(comparingInt(
- arg0 -> ICasUtil.selectAnnotationByAddr(fs.getCAS(), arg0).getBegin()));
+ if (!relationLinks.keySet().contains(ICasUtil.getAddr(dependentFs))) {
+ return Optional.empty();
+ }
- String cm = getYieldMessage(fs.getCAS(), sortedDepFs);
+ // sort the annotations (begin, end)
+ var sortedDepFs = new ArrayList<>(relationLinks.get(ICasUtil.getAddr(dependentFs)));
+ sortedDepFs.sort(comparingInt(
+ arg0 -> ICasUtil.selectAnnotationByAddr(fs.getCAS(), arg0).getBegin()));
- return Optional.of(cm);
- }
+ var cm = getYieldMessage(fs.getCAS(), sortedDepFs);
- return Optional.empty();
+ return Optional.of(cm);
}
@Override
@@ -188,9 +187,9 @@ public List render(VDocument aVDocument, AnnotationFS aFS,
return Collections.emptyList();
}
- RelationAdapter typeAdapter = getTypeAdapter();
- FeatureStructure dependentFs = getDependentFs(aFS);
- FeatureStructure governorFs = getGovernorFs(aFS);
+ var typeAdapter = getTypeAdapter();
+ var dependentFs = getDependentFs(aFS);
+ var governorFs = getGovernorFs(aFS);
if (dependentFs == null || governorFs == null) {
StringBuilder message = new StringBuilder();
@@ -259,23 +258,29 @@ public List lookupLazyDetails(CAS aCas, VID aVid, int aWindowB
return Collections.emptyList();
}
- // FIXME Should also handle relations that are only partially visible using
- // selectAnnotationsInWindow()
- var relationLinks = getRelationLinks(aCas, aWindowBeginOffset, aWindowEndOffset);
-
- // if this is a governor for more than one dependent, avoid duplicate yield
- var yieldDeps = new ArrayList();
-
var fs = ICasUtil.selectByAddr(aCas, AnnotationFS.class, aVid.getId());
- var yield = renderYield(fs, relationLinks, yieldDeps);
+ var group = new VLazyDetailGroup();
- var details = super.lookupLazyDetails(aCas, aVid, aWindowBeginOffset, aWindowEndOffset);
+ var dependentFs = getDependentFs(fs);
+ if (dependentFs instanceof AnnotationFS) {
+ group.addDetail(new VLazyDetail("Target",
+ abbreviate(((AnnotationFS) dependentFs).getCoveredText(), 300)));
+ }
- if (yield.isPresent()) {
- details.add(new VLazyDetailGroup(new VLazyDetail("Yield", yield.get())));
+ var governorFs = getGovernorFs(fs);
+ if (governorFs instanceof AnnotationFS) {
+ group.addDetail(new VLazyDetail("Origin",
+ abbreviate(((AnnotationFS) governorFs).getCoveredText(), 300)));
}
+ renderYield(fs).ifPresent(
+ yield -> group.addDetail(new VLazyDetail("Yield", abbreviate(yield, "...", 300))));
+
+ var details = super.lookupLazyDetails(aCas, aVid, aWindowBeginOffset, aWindowEndOffset);
+ if (!group.getDetails().isEmpty()) {
+ details.add(0, group);
+ }
return details;
}
@@ -314,46 +319,48 @@ else if (end + 1 != ICasUtil.selectAnnotationByAddr(aCas, depFs).getBegin()) {
/**
* Get relation links to display in relation yield
*/
- private Map> getRelationLinks(CAS aCas, int aWindowBegin, int aWindowEnd)
+ private Map> getRelationLinks(CAS aCas)
{
- RelationAdapter typeAdapter = getTypeAdapter();
- Map> relations = new ConcurrentHashMap<>();
+ var typeAdapter = getTypeAdapter();
+ var relations = new ConcurrentHashMap>();
- for (AnnotationFS fs : selectCovered(aCas, type, aWindowBegin, aWindowEnd)) {
- FeatureStructure dependentFs = getGovernorFs(fs);
- FeatureStructure governorFs = getDependentFs(fs);
+ for (var fs : aCas. select(type)) {
+ var govFs = getGovernorFs(fs);
+ var depFs = getDependentFs(fs);
- if (dependentFs == null || governorFs == null) {
+ if (govFs == null || depFs == null) {
log.warn("Relation [" + typeAdapter.getLayer().getName() + "] with id ["
- + ICasUtil.getAddr(fs) + "] has loose ends - cannot render.");
+ + VID.of(fs) + "] has loose ends - cannot render.");
continue;
}
- Set links = relations.get(ICasUtil.getAddr(governorFs));
+ var links = relations.get(ICasUtil.getAddr(depFs));
if (links == null) {
links = new ConcurrentSkipListSet<>();
}
- links.add(ICasUtil.getAddr(dependentFs));
- relations.put(ICasUtil.getAddr(governorFs), links);
+ links.add(ICasUtil.getAddr(govFs));
+ relations.put(ICasUtil.getAddr(depFs), links);
}
// Update other subsequent links
for (int i = 0; i < relations.keySet().size(); i++) {
- for (Integer fs : relations.keySet()) {
+ for (var fs : relations.keySet()) {
updateLinks(relations, fs);
}
}
+
// to start displaying the text from the governor, include it
- for (Integer fs : relations.keySet()) {
+ for (var fs : relations.keySet()) {
relations.get(fs).add(fs);
}
+
return relations;
}
private void updateLinks(Map> aRelLinks, Integer aGov)
{
- for (Integer dep : aRelLinks.get(aGov)) {
+ for (var dep : aRelLinks.get(aGov)) {
if (aRelLinks.containsKey(dep)
&& !aRelLinks.get(aGov).containsAll(aRelLinks.get(dep))) {
aRelLinks.get(aGov).addAll(aRelLinks.get(dep));
diff --git a/inception/inception-api-annotation/src/test/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRendererTest.java b/inception/inception-api-annotation/src/test/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRendererTest.java
index cefb415ec3d..133d4685199 100644
--- a/inception/inception-api-annotation/src/test/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRendererTest.java
+++ b/inception/inception-api-annotation/src/test/java/de/tudarmstadt/ukp/inception/annotation/layer/relation/RelationRendererTest.java
@@ -27,7 +27,6 @@
import static de.tudarmstadt.ukp.clarin.webanno.support.WebAnnoConst.RELATION_TYPE;
import static de.tudarmstadt.ukp.clarin.webanno.support.WebAnnoConst.SPAN_TYPE;
import static de.tudarmstadt.ukp.inception.rendering.vmodel.VCommentType.ERROR;
-import static de.tudarmstadt.ukp.inception.rendering.vmodel.VCommentType.YIELD;
import static java.util.Arrays.asList;
import static org.apache.uima.fit.util.JCasUtil.select;
import static org.assertj.core.api.Assertions.assertThat;
@@ -201,8 +200,7 @@ public void thatRelationOverlapBehaviorOnRenderGeneratesErrors() throws Exceptio
VDocument vdoc = new VDocument();
sut.render(jcas.getCas(), asList(), vdoc, 0, jcas.getDocumentText().length());
- assertThat(vdoc.comments()).filteredOn(c -> !YIELD.equals(c.getCommentType()))
- .isEmpty();
+ assertThat(vdoc.comments()).filteredOn(c -> ERROR.equals(c.getCommentType())).isEmpty();
}
{
@@ -210,8 +208,7 @@ public void thatRelationOverlapBehaviorOnRenderGeneratesErrors() throws Exceptio
VDocument vdoc = new VDocument();
sut.render(jcas.getCas(), asList(), vdoc, 0, jcas.getDocumentText().length());
- assertThat(vdoc.comments()).filteredOn(c -> !YIELD.equals(c.getCommentType()))
- .isEmpty();
+ assertThat(vdoc.comments()).filteredOn(c -> ERROR.equals(c.getCommentType())).isEmpty();
}
@@ -221,7 +218,7 @@ public void thatRelationOverlapBehaviorOnRenderGeneratesErrors() throws Exceptio
sut.render(jcas.getCas(), asList(), vdoc, 0, jcas.getDocumentText().length());
assertThat(vdoc.comments()) //
- .filteredOn(c -> !YIELD.equals(c.getCommentType()))
+ .filteredOn(c -> ERROR.equals(c.getCommentType()))
.usingRecursiveFieldByFieldElementComparator().contains( //
new VComment(dep1, ERROR, "Stacking is not permitted."),
new VComment(dep2, ERROR, "Stacking is not permitted."));
@@ -233,7 +230,7 @@ public void thatRelationOverlapBehaviorOnRenderGeneratesErrors() throws Exceptio
sut.render(jcas.getCas(), asList(), vdoc, 0, jcas.getDocumentText().length());
assertThat(vdoc.comments()) //
- .filteredOn(c -> !YIELD.equals(c.getCommentType()))
+ .filteredOn(c -> ERROR.equals(c.getCommentType()))
.usingRecursiveFieldByFieldElementComparator().contains( //
new VComment(dep1, ERROR, "Stacking is not permitted."),
new VComment(dep2, ERROR, "Stacking is not permitted."));
@@ -251,7 +248,7 @@ public void thatRelationOverlapBehaviorOnRenderGeneratesErrors() throws Exceptio
sut.render(jcas.getCas(), asList(), vdoc, 0, jcas.getDocumentText().length());
assertThat(vdoc.comments()) //
- .filteredOn(c -> !YIELD.equals(c.getCommentType()))
+ .filteredOn(c -> ERROR.equals(c.getCommentType()))
.usingRecursiveFieldByFieldElementComparator().contains( //
new VComment(dep1, ERROR, "Overlap is not permitted."),
new VComment(dep3, ERROR, "Overlap is not permitted."));
diff --git a/inception/inception-api-render/src/main/java/de/tudarmstadt/ukp/inception/rendering/vmodel/VCommentType.java b/inception/inception-api-render/src/main/java/de/tudarmstadt/ukp/inception/rendering/vmodel/VCommentType.java
index 9214f9bbc90..3a88f3aa989 100644
--- a/inception/inception-api-render/src/main/java/de/tudarmstadt/ukp/inception/rendering/vmodel/VCommentType.java
+++ b/inception/inception-api-render/src/main/java/de/tudarmstadt/ukp/inception/rendering/vmodel/VCommentType.java
@@ -19,5 +19,5 @@
public enum VCommentType
{
- INFO, ERROR, YIELD
+ INFO, ERROR
}
diff --git a/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/BratSerializerImpl.java b/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/BratSerializerImpl.java
index 5fcc44c337e..3b0ba0aa434 100644
--- a/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/BratSerializerImpl.java
+++ b/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/BratSerializerImpl.java
@@ -193,9 +193,6 @@ private void renderComments(GetDocumentResponse aResponse, VDocument aVDoc,
case INFO:
type = AnnotationComment.ANNOTATOR_NOTES;
break;
- case YIELD:
- type = "Yield";
- break;
default:
type = AnnotationComment.ANNOTATOR_NOTES;
break;
diff --git a/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/model/AnnotationComment.java b/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/model/AnnotationComment.java
index 56d7fb215fb..9398def687a 100644
--- a/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/model/AnnotationComment.java
+++ b/inception/inception-brat-editor/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/render/model/AnnotationComment.java
@@ -23,9 +23,6 @@
import de.tudarmstadt.ukp.inception.rendering.vmodel.VID;
import de.tudarmstadt.ukp.inception.support.json.BeanAsArraySerializer;
-/**
- * Use this "comments" to highlight "yield" of relation nodes
- */
@JsonSerialize(using = BeanAsArraySerializer.class)
@JsonPropertyOrder(value = { "vid", "commentType", "comment" })
public class AnnotationComment
diff --git a/inception/inception-brat-editor/src/main/ts/src/protocol/Protocol.ts b/inception/inception-brat-editor/src/main/ts/src/protocol/Protocol.ts
index 178a5b18349..2ecc8b7a965 100644
--- a/inception/inception-brat-editor/src/main/ts/src/protocol/Protocol.ts
+++ b/inception/inception-brat-editor/src/main/ts/src/protocol/Protocol.ts
@@ -40,9 +40,6 @@ export type EntityAttributesDto = {
cl: ClippedState;
}
-/**
- * Use this "comments" to highlight "yield" of relation nodes
- */
export type AnnotationCommentDto = [
id: VID,
commentType: CommentType,
diff --git a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/model/compactv2/CompactSerializerV2Impl.java b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/model/compactv2/CompactSerializerV2Impl.java
index 4d1bd13009d..c560ba3553e 100644
--- a/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/model/compactv2/CompactSerializerV2Impl.java
+++ b/inception/inception-diam/src/main/java/de/tudarmstadt/ukp/inception/diam/model/compactv2/CompactSerializerV2Impl.java
@@ -195,9 +195,6 @@ private void renderComments(VDocument aVDoc, HashMap vid
case INFO:
code = CompactComment.INFO;
break;
- case YIELD:
- code = CompactComment.INFO;
- break;
default:
throw new IllegalStateException(
"Unsupported comment type [" + comment.getCommentType() + "]");
diff --git a/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts b/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts
index 46cc916c91a..6cc5fa5197b 100644
--- a/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts
+++ b/inception/inception-js-api/src/main/ts/src/diam/DiamAjax.ts
@@ -15,7 +15,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import { LazyDetail } from '@inception-project/inception-js-api/src/model/LazyDetail'
import { Annotation, LazyDetailGroup, Offsets, VID } from '../model'
export type DiamLoadAnnotationsOptions = {
@@ -30,6 +29,14 @@ export type DiamSelectAnnotationOptions = {
}
export interface DiamAjax {
+ /**
+ * Select the given annotation.
+ *
+ * This will generally trigger a re-rendering of the annotation detail sidebar by the server.
+ *
+ * @param id the annotation ID
+ * @param options options like whether to scroll the annotation into view
+ */
selectAnnotation(id: VID, options?: DiamSelectAnnotationOptions): void;
/**
@@ -39,47 +46,98 @@ export interface DiamAjax {
scrollTo(args: { id?: VID, offset?: Offsets }): void;
/**
- * Delete the annotation with the given VID.
+ * Delete the given annotation.
+ *
+ * This will generally trigger a re-rendering of the document triggered by the server.
*
- * @param id the VID of the annotation to delete.
+ * @param id the annotation ID
*/
deleteAnnotation(id: VID): void;
/**
- * Create a new span annotation at the given location.
+ * Create a new span annotation at the given loction.
*
- * @param offsets the offsets of the annotation.
+ * This will generally trigger a re-rendering of the document triggered by the server.
*
- * NOTE: Currently only a single element is supported in the offsets array.
+ * @param offsets the position of the new annotation. Note that currently only a single offset is
+ * supported.
+ * @param spanText the text of the new annotation. This is deprecated and will be removed in the
+ * future.
*/
createSpanAnnotation(offsets: Array, spanText?: string): void;
/**
- * Move a new span annotation to a new location.
+ * Move the given span annotation to a new location.
*
- * @param offsets the offsets of the annotation.
+ * This will generally trigger a re-rendering of the document triggered by the server.
*
- * NOTE: Currently only a single element is supported in the offsets array.
+ * @param id the annotation ID
+ * @param offsets the position of the new annotation. Note that currently only a single offset is supported.
*/
moveSpanAnnotation(id: VID, offsets: Array): void;
+ /**
+ * Create a new relation annotation between the two given spans.
+ *
+ * @param originSpanId the ID of the origin span
+ * @param targetSpanId the ID of the target span
+ */
createRelationAnnotation(originSpanId: VID, targetSpanId: VID): void;
+ /**
+ * Load annotations from the server. In the options, you can specify the format of the annotations.
+ * The controls the kind of data that is provided to the promise.
+ *
+ * This method can be used by the editor e.g. to load an entire document or only the currently
+ * visible annotations when scrolling through a document.
+ *
+ * @param options options controlling e.g. the format of the annotations
+ * @returns a promise that resolves to the loaded annotations in the specified format
+ */
loadAnnotations(options?: DiamLoadAnnotationsOptions): Promise;
/**
- * Loads the lazy details for the given annotation
+ * Load the lazy details of the given annotation.
*
* @param ann either the VID or the annotation itself
* @param layerId the layer ID of the annnotation if the annotation is specified as a VID
*/
loadLazyDetails(ann: VID | Annotation, layerId?: number): Promise;
- loadPreferences (key: string): Promise;
+ /**
+ * Load the preferences stored under the given key. This must be a key assigned to the editor
+ * by the server during initialization.
+ *
+ * @param key the key of the preferences
+ * @see {@link ../editor/AnnotationEditorProperties.ts}
+ * @returns a promise that resolves to a JSON-fiable object with the preferences
+ */
+ loadPreferences(key: string): Promise;
- savePreferences (key: string, data: Record): Promise;
+ /**
+ * Store preferences under the given key. This must be a key assigned to the editor by the
+ * server during initialization.
+ *
+ * @param key the key of the preferences
+ * @param data a JSON-fiable object with the preferences
+ */
+ savePreferences(key: string, data: Record): Promise;
+ /**
+ * Trigger an extension action with the given ID. This is typically bound to left-double-click
+ * events on an annotation.
+ *
+ * @param id the ID of the extension action
+ */
triggerExtensionAction(id: VID): void;
+ /**
+ * Open the context menu for the given annotation. The implementation of this context menu is
+ * on the server side.
+ *
+ * @param id the ID of the annotation
+ * @param evt the mouse event that triggered the context menu. The mouse position from the event
+ * is used by the server to determine where to display the context menu.
+ */
openContextMenu(id: VID, evt: MouseEvent): void;
}
From c1a59cedfdca008a34487a4abe743f042641e7f2 Mon Sep 17 00:00:00 2001
From: Richard Eckart de Castilho
Date: Tue, 22 Aug 2023 23:35:04 +0200
Subject: [PATCH 10/17] #4155 - Better annotation suggestion IDs
- Defer setting annotation suggestion IDs until they are added to the predictions object
- If an extracted suggestion matches an existing one, inherit the existing suggestion (and its ID) instead
- Inherit the ID counter across prediction generations
- Upgrade to Java 17 (so we can use records)
---
.../api/model/AnnotationSuggestion.java | 38 ++--
.../recommendation/api/model/ExtendedId.java | 27 ++-
.../recommendation/api/model/Predictions.java | 67 ++++---
.../api/model/RelationSuggestion.java | 36 ++--
.../api/model/SpanSuggestion.java | 30 ++-
.../api/model/PredictionsTest.java | 29 +++
.../service/RecommendationServiceImpl.java | 179 +++++++++++++-----
...ommendationServiceImplIntegrationTest.java | 22 +--
.../RecommendationServiceImplTest.java | 60 ++++++
inception/pom.xml | 2 +-
10 files changed, 334 insertions(+), 156 deletions(-)
diff --git a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/AnnotationSuggestion.java b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/AnnotationSuggestion.java
index 0e8d779bd3a..777653f78a5 100644
--- a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/AnnotationSuggestion.java
+++ b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/AnnotationSuggestion.java
@@ -33,6 +33,8 @@ public abstract class AnnotationSuggestion
{
private static final long serialVersionUID = -7137765759688480950L;
+ public static final int NEW_ID = -1;
+
public static final String EXTENSION_ID = "rec";
/**
@@ -84,6 +86,7 @@ public abstract class AnnotationSuggestion
private AutoAcceptMode autoAcceptMode;
private int hidingFlags = 0;
+ private int age = 0;
public AnnotationSuggestion(int aId, long aRecommenderId, String aRecommenderName,
long aLayerId, String aFeature, String aDocumentName, String aLabel, String aUiLabel,
@@ -102,21 +105,6 @@ public AnnotationSuggestion(int aId, long aRecommenderId, String aRecommenderNam
autoAcceptMode = aAutoAcceptMode;
}
- public AnnotationSuggestion(AnnotationSuggestion aObject)
- {
- label = aObject.label;
- uiLabel = aObject.uiLabel;
- id = aObject.id;
- layerId = aObject.layerId;
- feature = aObject.feature;
- recommenderName = aObject.recommenderName;
- score = aObject.score;
- scoreExplanation = aObject.scoreExplanation;
- recommenderId = aObject.recommenderId;
- documentName = aObject.documentName;
- autoAcceptMode = aObject.autoAcceptMode;
- }
-
public int getId()
{
return id;
@@ -297,4 +285,24 @@ public boolean hideSuggestion(LearningRecordType aAction)
return false;
}
}
+
+ public int incrementAge()
+ {
+ age++;
+ return age;
+ }
+
+ public int getAge()
+ {
+ return age;
+ }
+
+ /**
+ * @return a clone of the current suggestion with the new ID. This is used when adding a
+ * suggestion to {@link Predictions} if the ID of the suggestion is set to
+ * {@link #NEW_ID}.
+ * @param aId
+ * the ID of the suggestion.
+ */
+ abstract public AnnotationSuggestion assignId(int aId);
}
diff --git a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/ExtendedId.java b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/ExtendedId.java
index ff46d1c02eb..361305ee39d 100644
--- a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/ExtendedId.java
+++ b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/ExtendedId.java
@@ -25,22 +25,21 @@ class ExtendedId
{
private static final long serialVersionUID = -5214683455382881005L;
- private final String documentName;
+ private final int suggestionId;
+ private final long recommenderId;
private final long layerId;
+ private final String documentName;
private final Position position;
- private final int annotationId;
- private final long recommenderId;
private final int hash;
- public ExtendedId(String documentName, long layerId, Position aPosition, long recommenderId,
- int annotationId)
+ public ExtendedId(AnnotationSuggestion aSuggestion)
{
- this.documentName = documentName;
- this.layerId = layerId;
- this.annotationId = annotationId;
- this.recommenderId = recommenderId;
- this.position = aPosition;
- hash = Objects.hash(annotationId, documentName, layerId, position, recommenderId);
+ documentName = aSuggestion.getDocumentName();
+ layerId = aSuggestion.getLayerId();
+ suggestionId = aSuggestion.getId();
+ recommenderId = aSuggestion.getRecommenderId();
+ position = aSuggestion.getPosition();
+ hash = Objects.hash(suggestionId, documentName, layerId, position, recommenderId);
}
public String getDocumentName()
@@ -58,9 +57,9 @@ public Position getPosition()
return position;
}
- public int getAnnotationId()
+ public int getSuggestionId()
{
- return annotationId;
+ return suggestionId;
}
public long getRecommenderId()
@@ -91,7 +90,7 @@ public boolean equals(Object obj)
ExtendedId other = (ExtendedId) obj;
return Objects.equals(position, other.position) //
- && annotationId == other.annotationId //
+ && suggestionId == other.suggestionId //
&& Objects.equals(documentName, other.documentName) //
&& layerId == other.layerId //
&& recommenderId == other.recommenderId;
diff --git a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/Predictions.java b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/Predictions.java
index b0e25f40cf5..6c4dd61f920 100644
--- a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/Predictions.java
+++ b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/Predictions.java
@@ -59,19 +59,32 @@ public class Predictions
private final Map> idxDocuments = new HashMap<>();
- private final Object predictions = new Object();
+ private final Object predictionsLock = new Object();
private final Set seenDocumentsForPrediction = new HashSet<>();
private final List log = new ArrayList<>();
+ // Predictions are (currently) scoped to a user session. We assume that within a single user
+ // session, the pool of IDs of positive integer values is never exhausted.
+ private int nextId;
+
public Predictions(User aSessionOwner, String aDataOwner, Project aProject)
{
Validate.notNull(aProject, "Project must be specified");
Validate.notNull(aSessionOwner, "Session owner must be specified");
- Validate.notNull(aSessionOwner, "Data owner must be specified");
+ Validate.notNull(aDataOwner, "Data owner must be specified");
project = aProject;
sessionOwner = aSessionOwner;
dataOwner = aDataOwner;
+ nextId = 0;
+ }
+
+ public Predictions(Predictions aPredecessor)
+ {
+ project = aPredecessor.project;
+ sessionOwner = aPredecessor.sessionOwner;
+ dataOwner = aPredecessor.dataOwner;
+ nextId = aPredecessor.nextId;
}
public User getSessionOwner()
@@ -151,7 +164,7 @@ public SuggestionDocumentGroup getGroupedPre
private List getFlattenedPredictions(Class type,
String aDocumentName, AnnotationLayer aLayer, int aWindowBegin, int aWindowEnd)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
var byDocument = idxDocuments.getOrDefault(aDocumentName, emptyMap());
return byDocument.entrySet().stream() //
.filter(f -> type.isInstance(f.getValue())) //
@@ -180,11 +193,11 @@ private List getFlattenedPredictions(Class getPredictionByVID(SourceDocument aDocument, VID aVID)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
var byDocument = idxDocuments.getOrDefault(aDocument.getName(), emptyMap());
return byDocument.values().stream() //
- .filter(f -> f.getId() == aVID.getSubId()) //
- .filter(f -> f.getRecommenderId() == aVID.getId()) //
+ .filter(suggestion -> suggestion.getId() == aVID.getSubId()) //
+ .filter(suggestion -> suggestion.getRecommenderId() == aVID.getId()) //
.findFirst();
}
}
@@ -195,11 +208,19 @@ public Optional getPredictionByVID(SourceDocument aDocumen
*/
public void putPredictions(List aPredictions)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
for (var prediction : aPredictions) {
- var xid = new ExtendedId(prediction.getDocumentName(), prediction.getLayerId(),
- prediction.getPosition(), prediction.getRecommenderId(),
- prediction.getId());
+ // Assign ID to predictions that do not have an ID yet
+ if (prediction.getId() == AnnotationSuggestion.NEW_ID) {
+ prediction = prediction.assignId(nextId);
+ nextId++;
+ if (nextId < 0) {
+ throw new IllegalStateException(
+ "Annotation suggestion ID overflow. Restart session.");
+ }
+ }
+
+ var xid = new ExtendedId(prediction);
var byDocument = idxDocuments.computeIfAbsent(prediction.getDocumentName(),
$ -> new HashMap<>());
byDocument.put(xid, prediction);
@@ -212,35 +233,23 @@ public Project getProject()
return project;
}
- /**
- * @return whether there are any predictions.
- * @deprecated Use {@link #isEmpty()} instead.
- */
- @Deprecated
- public boolean hasPredictions()
- {
- synchronized (predictions) {
- return !idxDocuments.isEmpty();
- }
- }
-
public boolean isEmpty()
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
return idxDocuments.values().stream().allMatch(Map::isEmpty);
}
}
public int size()
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
return idxDocuments.values().stream().mapToInt(Map::size).sum();
}
}
public void removePredictions(Long recommenderId)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
idxDocuments.values().forEach(docGroup -> docGroup.entrySet() //
.removeIf((p) -> p.getKey().getRecommenderId() == recommenderId));
}
@@ -249,7 +258,7 @@ public void removePredictions(Long recommenderId)
@SuppressWarnings({ "rawtypes", "unchecked" })
public List getAlternativeSuggestions(SpanSuggestion aSuggestion)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
var byDocument = idxDocuments.getOrDefault(aSuggestion.getDocumentName(), emptyMap());
return byDocument.entrySet().stream() //
.filter(f -> f.getValue() instanceof SpanSuggestion) //
@@ -284,7 +293,7 @@ public List getAlternativeSuggestions(SpanSuggestion aSuggestion
public List getPredictionsByTokenAndFeature(String aDocumentName,
AnnotationLayer aLayer, int aBegin, int aEnd, String aFeature)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
var byDocument = idxDocuments.getOrDefault(aDocumentName, emptyMap());
return byDocument.entrySet().stream() //
.filter(f -> f.getValue() instanceof SpanSuggestion) //
@@ -301,7 +310,7 @@ public List getPredictionsByTokenAndFeature(String aDocumentName
public List getPredictionsByRecommenderAndDocument(
Recommender aRecommender, String aDocumentName)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
var byDocument = idxDocuments.getOrDefault(aDocumentName, emptyMap());
return byDocument.entrySet().stream() //
.filter(f -> f.getKey().getRecommenderId() == (long) aRecommender.getId())
@@ -312,7 +321,7 @@ public List getPredictionsByRecommenderAndDocument(
public List getPredictionsByDocument(String aDocumentName)
{
- synchronized (predictions) {
+ synchronized (predictionsLock) {
var byDocument = idxDocuments.getOrDefault(aDocumentName, emptyMap());
return byDocument.entrySet().stream() //
.map(Map.Entry::getValue) //
diff --git a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/RelationSuggestion.java b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/RelationSuggestion.java
index f17133e6e5c..3c8ea29f0c8 100644
--- a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/RelationSuggestion.java
+++ b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/RelationSuggestion.java
@@ -60,19 +60,6 @@ public RelationSuggestion(int aId, long aRecommenderId, String aRecommenderName,
position = new RelationPosition(aSourceBegin, aSourceEnd, aTargetBegin, aTargetEnd);
}
- /**
- * Copy constructor.
- *
- * @param aObject
- * The annotationObject to copy
- */
- public RelationSuggestion(RelationSuggestion aObject)
- {
- super(aObject);
-
- position = new RelationPosition(aObject.position);
- }
-
// Getter and setter
@Override
@@ -110,11 +97,34 @@ public String toString()
.append("reasonForHiding", getReasonForHiding()).toString();
}
+ @Override
+ public AnnotationSuggestion assignId(int aId)
+ {
+ return toBuilder().withId(aId).build();
+ }
+
public static Builder builder()
{
return new Builder();
}
+ public Builder toBuilder()
+ {
+ return builder() //
+ .withId(id) //
+ .withRecommenderId(recommenderId) //
+ .withRecommenderName(recommenderName) //
+ .withLayerId(layerId) //
+ .withFeature(feature) //
+ .withDocumentName(documentName) //
+ .withLabel(label) //
+ .withUiLabel(uiLabel) //
+ .withScore(score) //
+ .withScoreExplanation(scoreExplanation) //
+ .withPosition(position) //
+ .withAutoAcceptMode(getAutoAcceptMode());
+ }
+
public static final class Builder
{
private int id;
diff --git a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/SpanSuggestion.java b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/SpanSuggestion.java
index 3524819a1b8..a06093a2276 100644
--- a/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/SpanSuggestion.java
+++ b/inception/inception-recommendation-api/src/main/java/de/tudarmstadt/ukp/inception/recommendation/api/model/SpanSuggestion.java
@@ -62,20 +62,6 @@ public SpanSuggestion(int aId, long aRecommenderId, String aRecommenderName, lon
coveredText = aCoveredText;
}
- /**
- * Copy constructor.
- *
- * @param aObject
- * The annotationObject to copy
- */
- public SpanSuggestion(SpanSuggestion aObject)
- {
- super(aObject);
-
- position = new Offset(aObject.position.getBegin(), aObject.position.getEnd());
- coveredText = aObject.coveredText;
- }
-
// Getter and setter
public String getCoveredText()
@@ -124,6 +110,17 @@ public String toString()
.append("autoAcceptMode", getAutoAcceptMode()).toString();
}
+ @Override
+ public AnnotationSuggestion assignId(int aId)
+ {
+ return toBuilder().withId(aId).build();
+ }
+
+ public static Builder builder()
+ {
+ return new Builder();
+ }
+
public Builder toBuilder()
{
return builder() //
@@ -142,11 +139,6 @@ public Builder toBuilder()
.withAutoAcceptMode(getAutoAcceptMode());
}
- public static Builder builder()
- {
- return new Builder();
- }
-
public static final class Builder
{
private int id;
diff --git a/inception/inception-recommendation-api/src/test/java/de/tudarmstadt/ukp/inception/recommendation/api/model/PredictionsTest.java b/inception/inception-recommendation-api/src/test/java/de/tudarmstadt/ukp/inception/recommendation/api/model/PredictionsTest.java
index e1af2069d2e..d8659f3b67f 100644
--- a/inception/inception-recommendation-api/src/test/java/de/tudarmstadt/ukp/inception/recommendation/api/model/PredictionsTest.java
+++ b/inception/inception-recommendation-api/src/test/java/de/tudarmstadt/ukp/inception/recommendation/api/model/PredictionsTest.java
@@ -109,6 +109,35 @@ void timeGetGroupedPredictions() throws Exception
}
}
+ @Test
+ void thatIdsAreAssigned() throws Exception
+ {
+ var doc = "doc";
+ sut = new Predictions(user, user.getUsername(), project);
+ sut.putPredictions(asList( //
+ SpanSuggestion.builder() //
+ .withId(AnnotationSuggestion.NEW_ID) //
+ .withDocumentName(doc) //
+ .build()));
+
+ assertThat(sut.getPredictionsByDocument(doc)) //
+ .extracting(AnnotationSuggestion::getId) //
+ .containsExactly(0);
+
+ var inheritedPredictions = sut.getPredictionsByDocument(doc);
+ sut = new Predictions(sut);
+ sut.putPredictions(asList( //
+ SpanSuggestion.builder() //
+ .withId(AnnotationSuggestion.NEW_ID) //
+ .withDocumentName(doc) //
+ .build()));
+ sut.putPredictions(inheritedPredictions);
+
+ assertThat(sut.getPredictionsByDocument(doc)) //
+ .extracting(AnnotationSuggestion::getId) //
+ .containsExactlyInAnyOrder(0, 1);
+ }
+
private List generatePredictions(int aDocs, int aRecommenders,
int aSuggestions)
throws Exception
diff --git a/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImpl.java b/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImpl.java
index fa7e72568d6..d847cd9845a 100644
--- a/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImpl.java
+++ b/inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImpl.java
@@ -40,9 +40,12 @@
import static de.tudarmstadt.ukp.inception.recommendation.api.model.SuggestionType.RELATION;
import static de.tudarmstadt.ukp.inception.recommendation.api.model.SuggestionType.SPAN;
import static de.tudarmstadt.ukp.inception.recommendation.api.recommender.TrainingCapability.TRAINING_NOT_SUPPORTED;
+import static de.tudarmstadt.ukp.inception.rendering.model.Range.rangeCoveringDocument;
import static java.lang.Math.max;
import static java.lang.Math.min;
+import static java.util.Collections.emptyList;
import static java.util.Comparator.comparingInt;
+import static java.util.stream.Collectors.groupingBy;
import static java.util.stream.Collectors.toList;
import static java.util.stream.Collectors.toMap;
import static java.util.stream.Collectors.toUnmodifiableList;
@@ -62,6 +65,7 @@
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashMap;
+import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@@ -181,6 +185,7 @@
import de.tudarmstadt.ukp.inception.recommendation.tasks.SelectionTask;
import de.tudarmstadt.ukp.inception.recommendation.tasks.TrainingTask;
import de.tudarmstadt.ukp.inception.recommendation.util.OverlapIterator;
+import de.tudarmstadt.ukp.inception.rendering.model.Range;
import de.tudarmstadt.ukp.inception.scheduling.SchedulingService;
import de.tudarmstadt.ukp.inception.scheduling.Task;
import de.tudarmstadt.ukp.inception.scheduling.TaskMonitor;
@@ -1538,14 +1543,14 @@ public void removeLearningRecords(LearningRecord aRecord)
}
private void computePredictions(LazyCas aOriginalCas,
- EvaluatedRecommender aEvaluatedRecommender, Predictions aPredictions, CAS predictionCas,
- SourceDocument aDocument, User aSessionOwner, int aPredictionBegin, int aPredictionEnd)
+ EvaluatedRecommender aEvaluatedRecommender, Predictions activePredictions,
+ Predictions aPredictions, CAS predictionCas, SourceDocument aDocument,
+ User aSessionOwner, int aPredictionBegin, int aPredictionEnd)
throws IOException
{
- Project project = aDocument.getProject();
- Predictions activePredictions = getPredictions(aSessionOwner, project);
- int predictionBegin = aPredictionBegin;
- int predictionEnd = aPredictionEnd;
+ var project = aDocument.getProject();
+ var predictionBegin = aPredictionBegin;
+ var predictionEnd = aPredictionEnd;
// Make sure we have the latest recommender config from the DB - the one
// from the active recommenders list may be outdated
@@ -1685,8 +1690,9 @@ private void computePredictions(LazyCas aOriginalCas,
* @param aDataOwner
* the annotation data owner
*/
- private void computePredictions(Predictions aPredictions, CAS aPredictionCas,
- SourceDocument aDocument, String aDataOwner, int aPredictionBegin, int aPredictionEnd)
+ private void computePredictions(Predictions aActivePredictions, Predictions aPredictions,
+ CAS aPredictionCas, SourceDocument aDocument, String aDataOwner, int aPredictionBegin,
+ int aPredictionEnd)
{
var aSessionOwner = aPredictions.getSessionOwner();
@@ -1699,14 +1705,14 @@ private void computePredictions(Predictions aPredictions, CAS aPredictionCas,
}
LazyCas originalCas = new LazyCas(aDocument, aDataOwner);
- for (EvaluatedRecommender r : recommenders) {
- var layer = schemaService.getLayer(r.getRecommender().getLayer().getId());
+ for (var recommender : recommenders) {
+ var layer = schemaService.getLayer(recommender.getRecommender().getLayer().getId());
if (!layer.isEnabled()) {
continue;
}
- computePredictions(originalCas, r, aPredictions, aPredictionCas, aDocument,
- aSessionOwner, aPredictionBegin, aPredictionEnd);
+ computePredictions(originalCas, recommender, aActivePredictions, aPredictions,
+ aPredictionCas, aDocument, aSessionOwner, aPredictionBegin, aPredictionEnd);
}
}
catch (IOException e) {
@@ -1727,20 +1733,23 @@ private void computePredictions(Predictions aPredictions, CAS aPredictionCas,
public Predictions computePredictions(User aSessionOwner, Project aProject,
List aDocuments, String aDataOwner, TaskMonitor aMonitor)
{
+ var activePredictions = getPredictions(aSessionOwner, aProject);
+ var predictions = activePredictions != null ? new Predictions(activePredictions)
+ : new Predictions(aSessionOwner, aDataOwner, aProject);
+
try (var casHolder = new PredictionCasHolder()) {
- Predictions predictions = new Predictions(aSessionOwner, aDataOwner, aProject);
// Generate new predictions or inherit at the recommender level
aMonitor.setMaxProgress(aDocuments.size());
for (SourceDocument document : aDocuments) {
aMonitor.addMessage(LogMessage.info(this, "%s", document.getName()));
aMonitor.incrementProgress();
- computePredictions(predictions, casHolder.cas, document, aDataOwner, -1, -1);
+ computePredictions(activePredictions, predictions, casHolder.cas, document,
+ aDataOwner, -1, -1);
}
return predictions;
}
catch (ResourceInitializationException e) {
- Predictions predictions = new Predictions(aSessionOwner, aDataOwner, aProject);
predictions.log(
LogMessage.error(this, "Cannot create prediction CAS, stopping predictions!"));
LOG.error("Cannot create prediction CAS, stopping predictions!");
@@ -1755,13 +1764,14 @@ public Predictions computePredictions(User aSessionOwner, Project aProject,
{
aMonitor.setMaxProgress(1);
- var predictions = new Predictions(aSessionOwner, aDataOwner, aProject);
var activePredictions = getPredictions(aSessionOwner, aProject);
+ var predictions = activePredictions != null ? new Predictions(activePredictions)
+ : new Predictions(aSessionOwner, aDataOwner, aProject);
// Inherit at the document level. If inheritance at a recommender level is possible,
// this is done below.
if (activePredictions != null) {
- for (SourceDocument document : aInherit) {
+ for (var document : aInherit) {
inheritSuggestionsAtDocumentLevel(aProject, document, aSessionOwner,
activePredictions, predictions);
}
@@ -1771,8 +1781,8 @@ public Predictions computePredictions(User aSessionOwner, Project aProject,
final CAS predictionCas = casHolder.cas;
// Generate new predictions or inherit at the recommender level
- computePredictions(predictions, predictionCas, aCurrentDocument, aDataOwner,
- aPredictionBegin, aPredictionEnd);
+ computePredictions(activePredictions, predictions, predictionCas, aCurrentDocument,
+ aDataOwner, aPredictionBegin, aPredictionEnd);
}
catch (ResourceInitializationException e) {
predictions.log(
@@ -1793,8 +1803,8 @@ private void inheritSuggestionsAtRecommenderLevel(Predictions predictions, CAS a
Recommender aRecommender, Predictions activePredictions, SourceDocument document,
User aUser)
{
- List suggestions = activePredictions
- .getPredictionsByRecommenderAndDocument(aRecommender, document.getName());
+ var suggestions = activePredictions.getPredictionsByRecommenderAndDocument(aRecommender,
+ document.getName());
if (suggestions.isEmpty()) {
LOG.debug("{} for user {} on document {} in project {} there " //
@@ -1826,13 +1836,11 @@ private void inheritSuggestionsAtDocumentLevel(Project aProject, SourceDocument
return;
}
- List suggestions1 = aOldPredictions
- .getPredictionsByDocument(aDocument.getName());
+ var suggestions = aOldPredictions.getPredictionsByDocument(aDocument.getName());
LOG.debug("[{}]({}) for user [{}] on document {} in project {} inherited {} predictions",
- "ALL", "--", aUser.getUsername(), aDocument, aProject, suggestions1.size());
+ "ALL", "--", aUser.getUsername(), aDocument, aProject, suggestions.size());
- List suggestions = suggestions1;
aNewPredictions.putPredictions(suggestions);
aNewPredictions.markDocumentAsPredictionCompleted(aDocument);
}
@@ -1848,31 +1856,41 @@ void generateSuggestions(Predictions aPredictions, RecommenderContext aCtx,
var sessionOwner = aPredictions.getSessionOwner();
var recommender = aEngine.getRecommender();
+ // Perform the actual prediction
aPredictions.log(LogMessage.info(recommender.getName(),
"Generating predictions for layer [%s]...", recommender.getLayer().getUiName()));
LOG.trace("{}[{}]: Generating predictions for layer [{}]", sessionOwner,
recommender.getName(), recommender.getLayer().getUiName());
-
- // Perform the actual prediction
var predictedRange = aEngine.predict(aCtx, aPredictionCas, aPredictionBegin,
aPredictionEnd);
// Extract the suggestions from the data which the recommender has written into the CAS
- var suggestions = extractSuggestions(aOriginalCas, aPredictionCas, aDocument, recommender);
+ var generatedSuggestions = extractSuggestions(aOriginalCas, aPredictionCas, aDocument,
+ recommender);
+ // Reconcile new suggestions with suggestions from previous run
+ var reconciliationResult = reconcile(aActivePredictions, aDocument, recommender,
+ predictedRange, generatedSuggestions);
LOG.debug(
- "{} for user {} on document {} in project {} generated {} predictions within range {}",
- recommender, sessionOwner, aDocument, recommender.getProject(), suggestions.size(),
- predictedRange);
+ "{} for user {} on document {} in project {} generated {} predictions within range {} (+{}/-{}/={})",
+ recommender, sessionOwner, aDocument, recommender.getProject(),
+ generatedSuggestions.size(), predictedRange, reconciliationResult.added,
+ reconciliationResult.removed, reconciliationResult.aged);
aPredictions.log(LogMessage.info(recommender.getName(), //
- "Generated [%d] predictions within range %s", suggestions.size(), predictedRange));
-
- if (aActivePredictions != null) {
- // Inherit annotations that are outside the range which was predicted. Note that the
- // engine might actually predict a different range from what was requested.
- List inheritableSuggestions = aActivePredictions
+ "Generated [%d] predictions within range %s (+%d/-%d/=%d)",
+ generatedSuggestions.size(), predictedRange, reconciliationResult.added,
+ reconciliationResult.removed, reconciliationResult.aged));
+ var suggestions = reconciliationResult.suggestions;
+
+ // Inherit suggestions that are outside the range which was predicted. Note that the engine
+ // might actually predict a different range from what was requested. If the prediction
+ // covers the entire document, we can skip this.
+ if (aActivePredictions != null
+ && !predictedRange.equals(rangeCoveringDocument(aOriginalCas))) {
+ var inheritableSuggestions = aActivePredictions
.getPredictionsByRecommenderAndDocument(recommender, aDocument.getName())
- .stream().filter(s -> !s.coveredBy(predictedRange)) //
+ .stream() //
+ .filter(s -> !s.coveredBy(predictedRange)) //
.collect(toList());
LOG.debug("{} for user {} on document {} in project {} inherited {} " //
@@ -1890,10 +1908,68 @@ void generateSuggestions(Predictions aPredictions, RecommenderContext aCtx,
calculateSpanSuggestionVisibility(sessionOwner.getUsername(), aDocument, aOriginalCas,
aPredictions.getDataOwner(), aEngine.getRecommender().getLayer(),
groupedSuggestions, 0, aOriginalCas.getDocumentText().length());
+ // FIXME calculateRelationSuggestionVisibility?
aPredictions.putPredictions(suggestions);
}
+ static ReconciliationResult reconcile(Predictions aActivePredictions, SourceDocument aDocument,
+ Recommender recommender, Range predictedRange,
+ List aNewProtoSuggesitons)
+ {
+ if (aActivePredictions == null) {
+ return new ReconciliationResult(aNewProtoSuggesitons.size(), 0, 0,
+ aNewProtoSuggesitons);
+ }
+
+ var reconciledSuggestions = new LinkedHashSet();
+ var addedSuggestions = new ArrayList();
+ int agedSuggestionsCount = 0;
+
+ var predictionsByRecommenderAndDocument = aActivePredictions
+ .getPredictionsByRecommenderAndDocument(recommender, aDocument.getName());
+
+ var existingSuggestionsByPosition = predictionsByRecommenderAndDocument.stream() //
+ .filter(s -> s.coveredBy(predictedRange)) //
+ .collect(groupingBy(AnnotationSuggestion::getPosition));
+
+ for (var newSuggestion : aNewProtoSuggesitons) {
+ var existingSuggestions = existingSuggestionsByPosition
+ .getOrDefault(newSuggestion.getPosition(), emptyList()).stream() //
+ .filter(s -> Objects.equals(s.getLabel(), newSuggestion.getLabel()) && //
+ s.getScore() == newSuggestion.getScore() && //
+ Objects.equals(s.getScoreExplanation(),
+ newSuggestion.getScoreExplanation()))
+ .collect(toList());
+
+ if (existingSuggestions.isEmpty()) {
+ addedSuggestions.add(newSuggestion);
+ reconciledSuggestions.add(newSuggestion);
+ continue;
+ }
+
+ if (existingSuggestions.size() > 1) {
+ LOG.debug("Recommender produced more than one suggestion with the same "
+ + "label, score and score explanation - reconciling with first one");
+ }
+
+ var existingSuggestion = existingSuggestions.get(0);
+ existingSuggestion.incrementAge();
+ // Not sure if unhiding is necessary...
+ existingSuggestion.show(AnnotationSuggestion.FLAG_ALL);
+ agedSuggestionsCount++;
+ reconciledSuggestions.add(existingSuggestion);
+ }
+
+ var removedSuggestions = predictionsByRecommenderAndDocument.stream() //
+ .filter(s -> s.coveredBy(predictedRange)) //
+ .filter(s -> !reconciledSuggestions.contains(s)) //
+ .collect(toList());
+
+ return new ReconciliationResult(addedSuggestions.size(), removedSuggestions.size(),
+ agedSuggestionsCount, new ArrayList<>(reconciledSuggestions));
+ }
+
static List extractSuggestions(CAS aOriginalCas, CAS aPredictionCas,
SourceDocument aDocument, Recommender aRecommender)
{
@@ -1915,7 +1991,6 @@ static List extractSuggestions(CAS aOriginalCas, CAS aPred
var isMultiLabels = TYPE_NAME_STRING_ARRAY.equals(labelFeature.getRange().getName());
var result = new ArrayList();
- int id = 0;
var documentText = aOriginalCas.getDocumentText();
for (var predictedFS : aPredictionCas.select(predictedType)) {
@@ -1943,7 +2018,7 @@ static List extractSuggestions(CAS aOriginalCas, CAS aPred
for (var label : labels) {
var suggestion = SpanSuggestion.builder() //
- .withId(id) //
+ .withId(RelationSuggestion.NEW_ID) //
.withRecommender(aRecommender) //
.withDocumentName(aDocument.getName()) //
.withPosition(offsets) //
@@ -1955,7 +2030,6 @@ static List extractSuggestions(CAS aOriginalCas, CAS aPred
.withAutoAcceptMode(autoAcceptMode) //
.build();
result.add(suggestion);
- id++;
}
break;
}
@@ -1973,7 +2047,7 @@ static List extractSuggestions(CAS aOriginalCas, CAS aPred
for (var label : labels) {
var suggestion = RelationSuggestion.builder() //
- .withId(id) //
+ .withId(RelationSuggestion.NEW_ID) //
.withRecommender(aRecommender) //
.withDocumentName(aDocument.getName()) //
.withPosition(position).withLabel(label) //
@@ -1983,7 +2057,6 @@ static List extractSuggestions(CAS aOriginalCas, CAS aPred
.withAutoAcceptMode(autoAcceptMode) //
.build();
result.add(suggestion);
- id++;
}
break;
}
@@ -2011,14 +2084,11 @@ private static AutoAcceptMode getAutoAcceptMode(FeatureStructure aFS, Feature aM
private static String[] getPredictedLabels(FeatureStructure predictedFS,
Feature predictedFeature, boolean isStringMultiValue)
{
- String[] labels;
if (isStringMultiValue) {
- labels = FSUtil.getFeature(predictedFS, predictedFeature, String[].class);
- }
- else {
- labels = new String[] { predictedFS.getFeatureValueAsString(predictedFeature) };
+ return FSUtil.getFeature(predictedFS, predictedFeature, String[].class);
}
- return labels;
+
+ return new String[] { predictedFS.getFeatureValueAsString(predictedFeature) };
}
/**
@@ -2917,8 +2987,9 @@ public void deleteSkippedSuggestions(String aSessionOwner, User aDataOwner,
{
var state = getState(aSessionOwner, aLayer.getProject());
synchronized (state) {
- state.learningRecords.getOrDefault(aLayer, Collections.emptyList()).removeIf(
- r -> Objects.equals(r.getUser(), aDataOwner) && r.getUserAction() == SKIPPED);
+ state.learningRecords.getOrDefault(aLayer, Collections.emptyList())
+ .removeIf(r -> Objects.equals(r.getUser(), aDataOwner.getUsername())
+ && r.getUserAction() == SKIPPED);
}
String sql = String.join("\n", //
@@ -2960,7 +3031,6 @@ public CAS get() throws IOException
private static class PredictionCasHolder
implements AutoCloseable
{
-
private final CAS cas;
public PredictionCasHolder() throws ResourceInitializationException
@@ -2975,4 +3045,9 @@ public void close()
CasStorageSession.get().remove(cas);
}
}
+
+ final record ReconciliationResult(int added, int removed, int aged,
+ List suggestions)
+ {
+ }
}
diff --git a/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplIntegrationTest.java b/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplIntegrationTest.java
index 632e1d48faf..1b2bc655bca 100644
--- a/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplIntegrationTest.java
+++ b/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplIntegrationTest.java
@@ -39,7 +39,6 @@
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
-import java.util.List;
import java.util.Optional;
import org.apache.uima.cas.CAS;
@@ -146,10 +145,11 @@ public void listRecommenders_WithOneEnabledRecommender_ShouldReturnStoredRecomme
{
sut.createOrUpdateRecommender(rec);
- List enabledRecommenders = sut.listEnabledRecommenders(rec.getLayer());
+ var enabledRecommenders = sut.listEnabledRecommenders(rec.getLayer());
- assertThat(enabledRecommenders).as("Check that the previously created recommender is found")
- .hasSize(1).contains(rec);
+ assertThat(enabledRecommenders) //
+ .as("Check that the previously created recommender is found") //
+ .containsExactly(rec);
}
@SuppressWarnings("unchecked")
@@ -174,16 +174,13 @@ public void getNumOfEnabledRecommenders_WithNoEnabledRecommender()
rec.setEnabled(false);
testEntityManager.persist(rec);
- long numOfRecommenders = sut.countEnabledRecommenders();
- assertThat(numOfRecommenders).isEqualTo(0);
+ assertThat(sut.countEnabledRecommenders()).isEqualTo(0);
}
@Test
public void getRecommenders_WithOneEnabledRecommender_ShouldReturnStoredRecommender()
{
- Optional enabledRecommenders = sut.getEnabledRecommender(rec.getId());
-
- assertThat(enabledRecommenders)
+ assertThat(sut.getEnabledRecommender(rec.getId()))
.as("Check that only the previously created recommender is found").isPresent()
.contains(rec);
}
@@ -194,15 +191,14 @@ public void getRecommenders_WithOnlyDisabledRecommender_ShouldReturnEmptyList()
rec.setEnabled(false);
testEntityManager.persist(rec);
- Optional enabledRecommenders = sut.getEnabledRecommender(rec.getId());
-
- assertThat(enabledRecommenders).as("Check that no recommender is found").isEmpty();
+ assertThat(sut.getEnabledRecommender(rec.getId())) //
+ .as("Check that no recommender is found") //
+ .isEmpty();
}
@Test
public void getRecommenders_WithOtherRecommenderId_ShouldReturnEmptyList()
{
-
long otherId = 9999L;
Optional enabledRecommenders = sut.getEnabledRecommender(otherId);
diff --git a/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplTest.java b/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplTest.java
index 2aa41efbb4a..3086be29c68 100644
--- a/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplTest.java
+++ b/inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/service/RecommendationServiceImplTest.java
@@ -43,6 +43,8 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.tuple;
+import java.util.Arrays;
+
import org.apache.uima.UIMAFramework;
import org.apache.uima.fit.factory.CasFactory;
import org.apache.uima.fit.factory.JCasFactory;
@@ -53,15 +55,19 @@
import de.tudarmstadt.ukp.clarin.webanno.model.AnnotationFeature;
import de.tudarmstadt.ukp.clarin.webanno.model.AnnotationLayer;
+import de.tudarmstadt.ukp.clarin.webanno.model.Project;
import de.tudarmstadt.ukp.clarin.webanno.model.SourceDocument;
+import de.tudarmstadt.ukp.clarin.webanno.security.model.User;
import de.tudarmstadt.ukp.clarin.webanno.support.WebAnnoConst;
import de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence;
import de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token;
import de.tudarmstadt.ukp.inception.recommendation.api.model.AnnotationSuggestion;
import de.tudarmstadt.ukp.inception.recommendation.api.model.LearningRecord;
import de.tudarmstadt.ukp.inception.recommendation.api.model.Offset;
+import de.tudarmstadt.ukp.inception.recommendation.api.model.Predictions;
import de.tudarmstadt.ukp.inception.recommendation.api.model.Recommender;
import de.tudarmstadt.ukp.inception.recommendation.api.model.SpanSuggestion;
+import de.tudarmstadt.ukp.inception.rendering.model.Range;
class RecommendationServiceImplTest
{
@@ -87,6 +93,60 @@ void setup()
feature2 = AnnotationFeature.builder().withName("feat2").build();
}
+ @Test
+ void testReconciliation() throws Exception
+ {
+ var sessionOwner = User.builder().withUsername("user").build();
+ var doc = SourceDocument.builder().withName("doc1").build();
+ var layer = AnnotationLayer.builder().withId(1l).build();
+ var feature = AnnotationFeature.builder().withName("feature").withLayer(layer).build();
+ var rec = Recommender.builder().withId(1l).withName("rec").withLayer(layer)
+ .withFeature(feature).build();
+ var project = Project.builder().withId(1l).build();
+
+ var existingSuggestions = Arrays. asList( //
+ SpanSuggestion.builder() //
+ .withId(0) //
+ .withPosition(new Offset(0, 10)) //
+ .withDocumentName(doc.getName()) //
+ .withLabel("aged") //
+ .withRecommender(rec) //
+ .build(),
+ SpanSuggestion.builder() //
+ .withId(1) //
+ .withPosition(new Offset(0, 10)) //
+ .withDocumentName(doc.getName()) //
+ .withLabel("removed") //
+ .withRecommender(rec) //
+ .build());
+ var activePredictions = new Predictions(sessionOwner, sessionOwner.getUsername(), project);
+ activePredictions.putPredictions(existingSuggestions);
+
+ var newSuggestions = Arrays. asList( //
+ SpanSuggestion.builder() //
+ .withId(2) //
+ .withPosition(new Offset(0, 10)) //
+ .withDocumentName(doc.getName()) //
+ .withLabel("aged") //
+ .withRecommender(rec) //
+ .build(),
+ SpanSuggestion.builder() //
+ .withId(3) //
+ .withPosition(new Offset(0, 10)) //
+ .withDocumentName(doc.getName()) //
+ .withLabel("added") //
+ .withRecommender(rec) //
+ .build());
+
+ var result = RecommendationServiceImpl.reconcile(activePredictions, doc, rec,
+ new Range(0, 10), newSuggestions);
+
+ assertThat(result.suggestions()) //
+ .extracting(AnnotationSuggestion::getId, AnnotationSuggestion::getLabel,
+ AnnotationSuggestion::getAge) //
+ .containsExactlyInAnyOrder(tuple(0, "aged", 1), tuple(3, "added", 0));
+ }
+
@Test
void thatRejectedSuggestionIsHidden()
{
diff --git a/inception/pom.xml b/inception/pom.xml
index 8e54ef05aee..15ff48787e6 100644
--- a/inception/pom.xml
+++ b/inception/pom.xml
@@ -28,7 +28,7 @@
6g
- 11
+ 17
${maven.compiler.release}
${maven.compiler.release}
yyyy-MM-dd HH:mm
From af71ae57a92c751396d7ef01c9f95e02e67579b4 Mon Sep 17 00:00:00 2001
From: Richard Eckart de Castilho
Date: Wed, 23 Aug 2023 17:19:26 +0200
Subject: [PATCH 11/17] #4155 - Better annotation suggestion IDs
- Fix issue with suggestion visibility not being handled after previous commit
- Improve display of evaluation result in recommendation sidebar
- If evaluation is optional due to the threshold score being 0 do still trigger training
- Handle a zero-threshold directly in the recommender service instead of in each engine
- Remove some deprecated methods
- Add generation and age information to suggestions and prediction sets
- Using more var everywhere
- Using more static loggers
---
.../learning/ActiveLearningService.java | 14 +-
.../learning/ActiveLearningServiceImpl.java | 89 +++++-------
.../sidebar/ActiveLearningSidebar.java | 90 ++++++------
.../strategy/UncertaintySamplingStrategy.java | 4 +-
.../doccat/OpenNlpDoccatRecommender.java | 95 +++++++------
.../opennlp/ner/OpenNlpNerRecommender.java | 91 ++++++------
.../opennlp/pos/OpenNlpPosRecommender.java | 130 +++++++++---------
.../api/model/AnnotationSuggestion.java | 16 ++-
.../recommendation/api/model/Predictions.java | 8 ++
.../recommendation/api/model/Recommender.java | 5 +
.../api/model/RelationSuggestion.java | 77 +++++++----
.../api/model/SpanSuggestion.java | 78 +++++++----
.../api/model/RelationSuggestionTest.java | 49 +++++++
.../api/model/SpanSuggestionTest.java | 50 +++++++
.../service/RecommendationServiceImpl.java | 82 +++++++----
.../recommendation/sidebar/LogDialog.java | 2 +-
.../sidebar/RecommenderInfoPanel.java | 17 +--
.../recommendation/tasks/SelectionTask.java | 23 ++--
.../RecommendationServiceImplTest.java | 2 +-
.../detail/AnnotationDetailEditorPanel.java | 15 +-
.../detail/AnnotationInfoPanel.java | 6 +-
21 files changed, 565 insertions(+), 378 deletions(-)
create mode 100644 inception/inception-recommendation-api/src/test/java/de/tudarmstadt/ukp/inception/recommendation/api/model/RelationSuggestionTest.java
create mode 100644 inception/inception-recommendation-api/src/test/java/de/tudarmstadt/ukp/inception/recommendation/api/model/SpanSuggestionTest.java
diff --git a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningService.java b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningService.java
index 4cd7e362f4c..2549de5f2a4 100644
--- a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningService.java
+++ b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningService.java
@@ -25,7 +25,6 @@
import de.tudarmstadt.ukp.clarin.webanno.model.SourceDocument;
import de.tudarmstadt.ukp.clarin.webanno.security.model.User;
import de.tudarmstadt.ukp.inception.active.learning.ActiveLearningServiceImpl.ActiveLearningUserState;
-import de.tudarmstadt.ukp.inception.recommendation.api.model.LearningRecord;
import de.tudarmstadt.ukp.inception.recommendation.api.model.LearningRecordType;
import de.tudarmstadt.ukp.inception.recommendation.api.model.SpanSuggestion;
import de.tudarmstadt.ukp.inception.recommendation.api.model.SuggestionGroup;
@@ -44,15 +43,6 @@ public interface ActiveLearningService
*/
List> getSuggestions(User aDataOwner, AnnotationLayer aLayer);
- /**
- * @param aRecord
- * record to check
- * @return if the suggestions from which the given record was created (or an equivalent one) is
- * visible to the user. This is useful to check if the suggestion can be highlighted
- * when clicking on a history record.
- */
- boolean isSuggestionVisible(LearningRecord aRecord);
-
/**
* @return if the are any records of type {@link LearningRecordType#SKIPPED} in the history of
* the given layer for the given user.
@@ -64,8 +54,8 @@ public interface ActiveLearningService
*/
boolean hasSkippedSuggestions(String aSessionOwner, User aDataOwner, AnnotationLayer aLayer);
- void hideRejectedOrSkippedAnnotations(String aSessionOwner, User aDataOwner, AnnotationLayer aLayer,
- boolean aFilterSkippedRecommendation,
+ void hideRejectedOrSkippedAnnotations(String aSessionOwner, User aDataOwner,
+ AnnotationLayer aLayer, boolean aFilterSkippedRecommendation,
List> aSuggestionGroups);
Optional> generateNextSuggestion(String aSessionOwner, User aDataOwner,
diff --git a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningServiceImpl.java b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningServiceImpl.java
index 5a9dffbc25f..df12932ac33 100644
--- a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningServiceImpl.java
+++ b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/ActiveLearningServiceImpl.java
@@ -27,8 +27,8 @@
import java.io.IOException;
import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
import java.util.List;
-import java.util.Map;
import java.util.Optional;
import org.slf4j.Logger;
@@ -49,10 +49,7 @@
import de.tudarmstadt.ukp.inception.recommendation.api.LearningRecordService;
import de.tudarmstadt.ukp.inception.recommendation.api.RecommendationService;
import de.tudarmstadt.ukp.inception.recommendation.api.model.AnnotationSuggestion;
-import de.tudarmstadt.ukp.inception.recommendation.api.model.LearningRecord;
-import de.tudarmstadt.ukp.inception.recommendation.api.model.Predictions;
import de.tudarmstadt.ukp.inception.recommendation.api.model.SpanSuggestion;
-import de.tudarmstadt.ukp.inception.recommendation.api.model.SuggestionDocumentGroup;
import de.tudarmstadt.ukp.inception.recommendation.api.model.SuggestionGroup;
import de.tudarmstadt.ukp.inception.recommendation.api.model.SuggestionGroup.Delta;
import de.tudarmstadt.ukp.inception.schema.AnnotationSchemaService;
@@ -68,7 +65,7 @@
public class ActiveLearningServiceImpl
implements ActiveLearningService
{
- private final Logger log = LoggerFactory.getLogger(getClass());
+ private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
private final ApplicationEventPublisher applicationEventPublisher;
private final DocumentService documentService;
@@ -97,39 +94,20 @@ public ActiveLearningServiceImpl(DocumentService aDocumentService,
@Override
public List> getSuggestions(User aUser, AnnotationLayer aLayer)
{
- Predictions predictions = recommendationService.getPredictions(aUser, aLayer.getProject());
+ var predictions = recommendationService.getPredictions(aUser, aLayer.getProject());
if (predictions == null) {
return emptyList();
}
- Map> recommendationsMap = predictions
- .getPredictionsForWholeProject(SpanSuggestion.class, aLayer, documentService);
+ var recommendationsMap = predictions.getPredictionsForWholeProject(SpanSuggestion.class,
+ aLayer, documentService);
return recommendationsMap.values().stream() //
.flatMap(docMap -> docMap.stream()) //
.collect(toList());
}
- @Override
- public boolean isSuggestionVisible(LearningRecord aRecord)
- {
- var aSessionOwner = userService.get(aRecord.getUser());
- var suggestionGroups = getSuggestions(aSessionOwner, aRecord.getLayer());
- for (var suggestionGroup : suggestionGroups) {
- if (suggestionGroup.stream().anyMatch(suggestion -> suggestion.getDocumentName()
- .equals(aRecord.getSourceDocument().getName())
- && suggestion.getFeature().equals(aRecord.getAnnotationFeature().getName())
- && suggestion.labelEquals(aRecord.getAnnotation())
- && suggestion.getBegin() == aRecord.getOffsetBegin()
- && suggestion.getEnd() == aRecord.getOffsetEnd() //
- && suggestion.isVisible())) {
- return true;
- }
- }
- return false;
- }
-
@Override
public boolean hasSkippedSuggestions(String aSessionOwner, User aDataOwner,
AnnotationLayer aLayer)
@@ -174,27 +152,31 @@ public Optional> generateNextSuggestion(String aSessionOwn
long startTimer = System.currentTimeMillis();
var suggestionGroups = alState.getSuggestions();
long getRecommendationsFromRecommendationService = System.currentTimeMillis();
- log.trace("Getting recommendations from recommender system took {} ms.",
+ LOG.trace("Getting recommendations from recommender system took {} ms.",
(getRecommendationsFromRecommendationService - startTimer));
- // remove duplicate recommendations
- suggestionGroups = suggestionGroups.stream() //
- .map(it -> removeDuplicateRecommendations(it)) //
- .collect(toList());
- long removeDuplicateRecommendation = System.currentTimeMillis();
- log.trace("Removing duplicate recommendations took {} ms.",
- (removeDuplicateRecommendation - getRecommendationsFromRecommendationService));
-
// hide rejected recommendations
hideRejectedOrSkippedAnnotations(aSessionOwner, aDataOwner, alState.getLayer(), true,
suggestionGroups);
long removeRejectedSkippedRecommendation = System.currentTimeMillis();
- log.trace("Removing rejected or skipped ones took {} ms.",
- (removeRejectedSkippedRecommendation - removeDuplicateRecommendation));
+ LOG.trace("Hiding rejected or skipped ones took {} ms.",
+ (removeRejectedSkippedRecommendation
+ - getRecommendationsFromRecommendationService));
+
+ // remove duplicate recommendations
+ suggestionGroups = suggestionGroups.stream() //
+ .map(it -> removeDuplicatesAndHiddenSuggestions(it)) //
+ .filter(it -> !it.isEmpty()) //
+ .collect(toList());
+ long removeDuplicateRecommendation = System.currentTimeMillis();
+ LOG.trace("Removing duplicate recommendations took {} ms.",
+ (removeDuplicateRecommendation - removeRejectedSkippedRecommendation));
var pref = recommendationService.getPreferences(aDataOwner,
alState.getLayer().getProject());
- return alState.getStrategy().generateNextSuggestion(pref, suggestionGroups);
+ var nextSuggestion = alState.getStrategy().generateNextSuggestion(pref, suggestionGroups);
+ assert nextSuggestion.get().getFirst().isVisible() : "Generated suggestion must be visible";
+ return nextSuggestion;
}
@Override
@@ -296,35 +278,40 @@ public void skipSpanSuggestion(String aSessionOwner, User aDataOwner, Annotation
alternativeSuggestions));
}
- private static SuggestionGroup removeDuplicateRecommendations(
- SuggestionGroup unmodifiedRecommendationList)
+ private static SuggestionGroup removeDuplicatesAndHiddenSuggestions(
+ SuggestionGroup aSuggestionGroup)
{
- SuggestionGroup cleanRecommendationList = new SuggestionGroup<>();
+ var cleanSuggestionGroup = new SuggestionGroup();
- unmodifiedRecommendationList.forEach(recommendationItem -> {
- if (!isAlreadyInCleanList(cleanRecommendationList, recommendationItem)) {
- cleanRecommendationList.add(recommendationItem);
+ aSuggestionGroup.forEach(suggestion -> {
+ if (!suggestion.isVisible()) {
+ return;
+ }
+
+ if (!isAlreadyInCleanList(cleanSuggestionGroup, suggestion)) {
+ cleanSuggestionGroup.add(suggestion);
}
});
- return cleanRecommendationList;
+ return cleanSuggestionGroup;
}
private static boolean isAlreadyInCleanList(
SuggestionGroup cleanRecommendationList,
AnnotationSuggestion recommendationItem)
{
- String source = recommendationItem.getRecommenderName();
- String annotation = recommendationItem.getLabel();
- String documentName = recommendationItem.getDocumentName();
+ var source = recommendationItem.getRecommenderName();
+ var annotation = recommendationItem.getLabel();
+ var documentName = recommendationItem.getDocumentName();
- for (AnnotationSuggestion existingRecommendation : cleanRecommendationList) {
- boolean areLabelsEqual = existingRecommendation.labelEquals(annotation);
+ for (var existingRecommendation : cleanRecommendationList) {
+ var areLabelsEqual = existingRecommendation.labelEquals(annotation);
if (existingRecommendation.getRecommenderName().equals(source) && areLabelsEqual
&& existingRecommendation.getDocumentName().equals(documentName)) {
return true;
}
}
+
return false;
}
diff --git a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/sidebar/ActiveLearningSidebar.java b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/sidebar/ActiveLearningSidebar.java
index c5b026063d0..60f8a33aea1 100644
--- a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/sidebar/ActiveLearningSidebar.java
+++ b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/sidebar/ActiveLearningSidebar.java
@@ -75,7 +75,6 @@
import de.tudarmstadt.ukp.clarin.webanno.model.ReorderableTag;
import de.tudarmstadt.ukp.clarin.webanno.model.SourceDocument;
import de.tudarmstadt.ukp.clarin.webanno.security.UserDao;
-import de.tudarmstadt.ukp.clarin.webanno.security.model.User;
import de.tudarmstadt.ukp.clarin.webanno.support.bootstrap.BootstrapModalDialog;
import de.tudarmstadt.ukp.clarin.webanno.support.lambda.LambdaAjaxButton;
import de.tudarmstadt.ukp.clarin.webanno.support.lambda.LambdaAjaxLink;
@@ -302,10 +301,10 @@ private List listLayersWithRecommenders()
private void actionStartSession(AjaxRequestTarget aTarget, Form> form)
{
- ActiveLearningUserState alState = alStateModel.getObject();
- AnnotatorState state = getModelObject();
- String userName = state.getUser().getUsername();
- Project project = state.getProject();
+ var alState = alStateModel.getObject();
+ var state = getModelObject();
+ var userName = state.getUser().getUsername();
+ var project = state.getProject();
recommendationService.setPredictForAllDocuments(userName, project, true);
recommendationService.triggerPrediction(userName, "ActionStartActiveLearningSession",
@@ -333,6 +332,7 @@ private void actionStartSession(AjaxRequestTarget aTarget, Form> form)
*/
private void requestClearningSelectionAndJumpingToSuggestion()
{
+ LOG.trace("Requesting clearing and jumping");
RequestCycle.get().setMetaData(ClearSelectionAndJumpToSuggestionKey.INSTANCE, true);
}
@@ -365,7 +365,7 @@ private void actionStopSession(AjaxRequestTarget aTarget)
private void setActiveLearningHighlight(SpanSuggestion aSuggestion)
{
- assert aSuggestion.isVisible();
+ assert aSuggestion.isVisible() : "Cannot highlight hidden suggestions";
if (protectHighlight) {
LOG.trace("Active learning sidebar not updating protected highlights");
@@ -519,12 +519,18 @@ private LambdaAjaxLink createJumpToSuggestionLink()
private void actionJumpToSuggestion(AjaxRequestTarget aTarget) throws IOException
{
- ActiveLearningUserState alState = alStateModel.getObject();
- SpanSuggestion suggestion = alState.getSuggestion().get();
+ var alState = alStateModel.getObject();
+ var suggestion = alState.getSuggestion().get();
+
+ if (!suggestion.isVisible()) {
+ error("Cannot jump to hidden suggestion");
+ aTarget.addChildren(getPage(), IFeedback.class);
+ return;
+ }
if (LOG.isDebugEnabled()) {
LOG.debug("Active suggestion: {}", suggestion);
- Optional updatedSuggestion = getMatchingSuggestion(activeLearningService
+ var updatedSuggestion = getMatchingSuggestion(activeLearningService
.getSuggestions(getModelObject().getUser(), alState.getLayer()), suggestion)
.stream().findFirst();
updatedSuggestion.ifPresent(s -> LOG.debug("Update suggestion: {}", s));
@@ -732,13 +738,14 @@ private void moveToNextSuggestion(AjaxRequestTarget aTarget)
var sessionOwner = userService.getCurrentUser();
// Generate the next recommendation but remember the current one
- Optional prevSuggestion = alState.getSuggestion();
- alState.setCurrentDifference(activeLearningService
- .generateNextSuggestion(sessionOwner.getUsername(), dataOwner, alState));
+ var currentSuggestion = alState.getSuggestion();
+ var nextSuggestion = activeLearningService
+ .generateNextSuggestion(sessionOwner.getUsername(), dataOwner, alState);
+ alState.setCurrentDifference(nextSuggestion);
// If there is no new suggestion, nothing left to do here
if (!alState.getSuggestion().isPresent()) {
- if (prevSuggestion.isPresent()) {
+ if (currentSuggestion.isPresent()) {
infoOnce(aTarget, "There are no more recommendations right now.");
}
@@ -749,10 +756,11 @@ private void moveToNextSuggestion(AjaxRequestTarget aTarget)
}
// If the active suggestion has changed, inform the user
- if (prevSuggestion.isPresent()
- && !alState.getSuggestion().get().equals(prevSuggestion.get())) {
+ if (currentSuggestion.isPresent()
+ && !alState.getSuggestion().get().equals(currentSuggestion.get())) {
// infoOnce(aTarget, "Active learning has moved to next best suggestion.");
- LOG.trace("Moving from {} to {}", prevSuggestion.get(), alState.getSuggestion().get());
+ LOG.trace("Moving from {} to {}", currentSuggestion.get(),
+ alState.getSuggestion().get());
}
// If there is a suggestion, open it in the sidebar and take the main editor to its location
@@ -778,7 +786,7 @@ private void moveToNextSuggestion(AjaxRequestTarget aTarget)
private void clearSelectedAnnotationAndJumpToSuggestion(AjaxRequestTarget aTarget)
{
- ActiveLearningUserState alState = alStateModel.getObject();
+ var alState = alStateModel.getObject();
if (!alState.getSuggestion().isPresent()) {
return;
}
@@ -787,11 +795,11 @@ private void clearSelectedAnnotationAndJumpToSuggestion(AjaxRequestTarget aTarge
// I.e. we must not make the editor/feature details jump to the next suggestion but rather
// keep the view and selected annotation that the user has chosen to provide the opportunity
// to the user to continue editing on it
- SpanSuggestion suggestion = alState.getSuggestion().get();
- AnnotatorState state = getModelObject();
- Project project = state.getProject();
- User user = state.getUser();
- SourceDocument sourceDocument = documentService.getSourceDocument(project,
+ var suggestion = alState.getSuggestion().get();
+ var state = getModelObject();
+ var project = state.getProject();
+ var user = state.getUser();
+ var sourceDocument = documentService.getSourceDocument(project,
suggestion.getDocumentName());
LOG.trace("Jumping to {}", suggestion);
@@ -829,12 +837,12 @@ private void loadSuggestionInActiveLearningSidebar(AjaxRequestTarget aTarget,
// Obtain some left and right context of the active suggestion while we have easy
// access to the document which contains the current suggestion
try {
- CAS cas = documentService.readAnnotationCas(sourceDocument,
+ var cas = documentService.readAnnotationCas(sourceDocument,
getModelObject().getUser().getUsername(), AUTO_CAS_UPGRADE,
SHARED_READ_ONLY_ACCESS);
- String text = cas.getDocumentText();
+ var text = cas.getDocumentText();
- ActiveLearningUserState alState = alStateModel.getObject();
+ var alState = alStateModel.getObject();
alState.setLeftContext(
text.substring(Math.max(0, suggestion.getBegin() - 20), suggestion.getBegin()));
alState.setRightContext(text.substring(suggestion.getEnd(),
@@ -872,8 +880,8 @@ private ListView createLearningHistoryListView()
@Override
protected void populateItem(ListItem item)
{
- LearningRecord rec = item.getModelObject();
- AnnotationFeature recAnnotationFeature = rec.getAnnotationFeature();
+ var rec = item.getModelObject();
+ var recAnnotationFeature = rec.getAnnotationFeature();
String recFeatureValue;
if (recAnnotationFeature != null) {
FeatureSupport> featureSupport = featureSupportRegistry
@@ -885,7 +893,7 @@ protected void populateItem(ListItem item)
recFeatureValue = rec.getAnnotation();
}
- LambdaAjaxLink textLink = new LambdaAjaxLink(CID_JUMP_TO_ANNOTATION,
+ var textLink = new LambdaAjaxLink(CID_JUMP_TO_ANNOTATION,
_target -> actionSelectHistoryItem(_target, item.getModelObject()));
textLink.setBody(rec::getTokenText);
item.add(textLink);
@@ -923,10 +931,10 @@ private void actionSelectHistoryItem(AjaxRequestTarget aTarget, LearningRecord a
// Since we have switched documents above (if it was necessary), the editor CAS should
// now point to the correct one
- CAS cas = getCasProvider().get();
+ var cas = getCasProvider().get();
// ... if a matching annotation exists, highlight the annotaiton
- Optional annotation = getMatchingAnnotation(cas, aRecord);
+ var annotation = getMatchingAnnotation(cas, aRecord);
if (annotation.isPresent()) {
setActiveLearningHighlight(aRecord.getSourceDocument(), annotation.get());
@@ -976,7 +984,8 @@ private List getMatchingSuggestion(
&& (aFeature == null || aFeature.equals(group.getFeature()))
&& (aBegin == -1 || aBegin == ((Offset) group.getPosition()).getBegin())
&& (aEnd == -1 || aEnd == ((Offset) group.getPosition()).getEnd()))
- .flatMap(group -> group.stream())
+ .flatMap(group -> group.stream()) //
+ .filter(suggestion -> suggestion.isVisible()) //
.filter(suggestion -> aLabel == null || aLabel.equals(suggestion.getLabel()))
.collect(toList());
}
@@ -1360,10 +1369,10 @@ private void refreshAvailableSuggestions()
{
LOG.trace("refreshAvailableSuggestions()");
- AnnotatorState state = getModelObject();
- ActiveLearningUserState alState = alStateModel.getObject();
- alState.setSuggestions(
- activeLearningService.getSuggestions(state.getUser(), alState.getLayer()));
+ var state = getModelObject();
+ var alState = alStateModel.getObject();
+ var suggestions = activeLearningService.getSuggestions(state.getUser(), alState.getLayer());
+ alState.setSuggestions(suggestions);
}
@OnEvent
@@ -1420,11 +1429,11 @@ private void refreshCurrentSuggestionOrMoveToNextSuggestion(AjaxRequestTarget aT
// is still relevant - if yes, we need to replace it with its current counterpart since.
// if no counterpart exists in the current suggestions, then we need to load a
// suggestion from the current list.
- ActiveLearningUserState alState = alStateModel.getObject();
- SpanSuggestion activeSuggestion = alState.getSuggestion().get();
+ var alState = alStateModel.getObject();
+ var activeSuggestion = alState.getSuggestion().get();
// Find the groups which matches the active recommendation
- Optional updatedSuggestion = getMatchingSuggestion(alState.getSuggestions(),
- activeSuggestion).stream().findFirst();
+ var updatedSuggestion = getMatchingSuggestion(alState.getSuggestions(), activeSuggestion)
+ .stream().findFirst();
if (updatedSuggestion.isEmpty()) {
moveToNextSuggestion(aTarget);
@@ -1432,8 +1441,7 @@ private void refreshCurrentSuggestionOrMoveToNextSuggestion(AjaxRequestTarget aT
}
LOG.debug("Replacing outdated suggestion {} with new suggestion {}",
- alState.getCurrentDifference().get().getFirst().getId(),
- updatedSuggestion.get().getId());
+ alState.getCurrentDifference().get().getFirst(), updatedSuggestion.get());
// Update the highlight
if (alState.getSuggestion().get().getVID().equals(highlightVID)) {
diff --git a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/strategy/UncertaintySamplingStrategy.java b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/strategy/UncertaintySamplingStrategy.java
index a35a5f092e0..79eec16243e 100644
--- a/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/strategy/UncertaintySamplingStrategy.java
+++ b/inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/strategy/UncertaintySamplingStrategy.java
@@ -34,9 +34,9 @@ public class UncertaintySamplingStrategy
@Override
public Optional> generateNextSuggestion(Preferences aPreferences,
- List> suggestions)
+ List> aSuggestions)
{
- return suggestions.stream()
+ return aSuggestions.stream()
// Fetch the top deltas per recommender
.flatMap(group -> group.getTopDeltas(aPreferences).values().stream())
// ... sort them in ascending order (smallest delta first)
diff --git a/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/doccat/OpenNlpDoccatRecommender.java b/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/doccat/OpenNlpDoccatRecommender.java
index f246427a4f3..879ec7cac49 100644
--- a/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/doccat/OpenNlpDoccatRecommender.java
+++ b/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/doccat/OpenNlpDoccatRecommender.java
@@ -19,6 +19,7 @@
import static de.tudarmstadt.ukp.clarin.webanno.api.annotation.util.WebAnnoCasUtil.selectOverlapping;
import static de.tudarmstadt.ukp.inception.recommendation.api.evaluation.EvaluationResult.toEvaluationResult;
+import static de.tudarmstadt.ukp.inception.rendering.model.Range.rangeCoveringAnnotations;
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.apache.uima.fit.util.CasUtil.getType;
import static org.apache.uima.fit.util.CasUtil.indexCovered;
@@ -72,6 +73,9 @@ public class OpenNlpDoccatRecommender
private static final Class SAMPLE_UNIT = Sentence.class;
private static final Class DATAPOINT_UNIT = Sentence.class;
+ private static final int MIN_TRAINING_SET_SIZE = 2;
+ private static final int MIN_TEST_SET_SIZE = 2;
+
private final OpenNlpDoccatRecommenderTraits traits;
public OpenNlpDoccatRecommender(Recommender aRecommender,
@@ -91,7 +95,7 @@ public boolean isReadyForPrediction(RecommenderContext aContext)
@Override
public void train(RecommenderContext aContext, List aCasses) throws RecommendationException
{
- List docSamples = extractSamples(aCasses);
+ var docSamples = extractSamples(aCasses);
if (docSamples.size() < 2) {
aContext.warn("Not enough training data: [%d] items", docSamples.size());
@@ -109,10 +113,10 @@ public void train(RecommenderContext aContext, List aCasses) throws Recomme
// OpenNLP
int beamSize = Math.max(maxRecommendations, NameFinderME.DEFAULT_BEAM_SIZE);
- TrainingParameters params = traits.getParameters();
+ var params = traits.getParameters();
params.put(BeamSearch.BEAM_SIZE_PARAMETER, Integer.toString(beamSize));
- DoccatModel model = train(docSamples, params);
+ var model = train(docSamples, params);
aContext.put(KEY_MODEL, model);
}
@@ -127,43 +131,42 @@ public TrainingCapability getTrainingCapability()
public Range predict(RecommenderContext aContext, CAS aCas, int aBegin, int aEnd)
throws RecommendationException
{
- DoccatModel model = aContext.get(KEY_MODEL).orElseThrow(
+ var model = aContext.get(KEY_MODEL).orElseThrow(
() -> new RecommendationException("Key [" + KEY_MODEL + "] not found in context"));
- DocumentCategorizerME finder = new DocumentCategorizerME(model);
+ var finder = new DocumentCategorizerME(model);
- Type sampleUnitType = getType(aCas, SAMPLE_UNIT);
- Type predictedType = getPredictedType(aCas);
- Type tokenType = getType(aCas, Token.class);
- Feature scoreFeature = getScoreFeature(aCas);
- Feature predictedFeature = getPredictedFeature(aCas);
- Feature isPredictionFeature = getIsPredictionFeature(aCas);
+ var sampleUnitType = getType(aCas, SAMPLE_UNIT);
+ var predictedType = getPredictedType(aCas);
+ var tokenType = getType(aCas, Token.class);
+ var scoreFeature = getScoreFeature(aCas);
+ var predictedFeature = getPredictedFeature(aCas);
+ var isPredictionFeature = getIsPredictionFeature(aCas);
var units = selectOverlapping(aCas, sampleUnitType, aBegin, aEnd);
- int predictionCount = 0;
- for (AnnotationFS sampleUnit : units) {
+ var predictionCount = 0;
+ for (var unit : units) {
if (predictionCount >= traits.getPredictionLimit()) {
break;
}
predictionCount++;
- List tokenAnnotations = selectCovered(tokenType, sampleUnit);
- String[] tokens = tokenAnnotations.stream() //
+ var tokenAnnotations = selectCovered(tokenType, unit);
+ var tokens = tokenAnnotations.stream() //
.map(AnnotationFS::getCoveredText) //
.toArray(String[]::new);
- double[] outcome = finder.categorize(tokens);
- String label = finder.getBestCategory(outcome);
+ var outcome = finder.categorize(tokens);
+ var label = finder.getBestCategory(outcome);
- AnnotationFS annotation = aCas.createAnnotation(predictedType, sampleUnit.getBegin(),
- sampleUnit.getEnd());
+ var annotation = aCas.createAnnotation(predictedType, unit.getBegin(), unit.getEnd());
annotation.setStringValue(predictedFeature, label);
annotation.setDoubleValue(scoreFeature, NumberUtils.max(outcome));
annotation.setBooleanValue(isPredictionFeature, true);
aCas.addFsToIndexes(annotation);
}
- return new Range(units);
+ return rangeCoveringAnnotations(units);
}
@Override
@@ -176,9 +179,9 @@ public int estimateSampleCount(List aCasses)
public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
throws RecommendationException
{
- List data = extractSamples(aCasses);
- List trainingSet = new ArrayList<>();
- List testSet = new ArrayList<>();
+ var data = extractSamples(aCasses);
+ var trainingSet = new ArrayList();
+ var testSet = new ArrayList();
for (DocumentSample nameSample : data) {
switch (aDataSplitter.getTargetSet(nameSample)) {
@@ -194,39 +197,33 @@ public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
}
}
- int testSetSize = testSet.size();
- int trainingSetSize = trainingSet.size();
- double overallTrainingSize = data.size() - testSetSize;
- double trainRatio = (overallTrainingSize > 0) ? trainingSetSize / overallTrainingSize : 0.0;
-
- final int minTrainingSetSize = 2;
- final int minTestSetSize = 2;
- if (trainingSetSize < minTrainingSetSize || testSetSize < minTestSetSize) {
- if ((getRecommender().getThreshold() <= 0.0d)) {
- return new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
- SAMPLE_UNIT.getSimpleName());
- }
+ var testSetSize = testSet.size();
+ var trainingSetSize = trainingSet.size();
+ var overallTrainingSize = data.size() - testSetSize;
+ var trainRatio = (overallTrainingSize > 0) ? trainingSetSize / overallTrainingSize : 0.0;
- String info = String.format(
- "Not enough evaluation data: training set [%s] items, test set [%s] of total [%s]",
- trainingSetSize, testSetSize, data.size());
- LOG.info(info);
+ if (trainingSetSize < MIN_TRAINING_SET_SIZE || testSetSize < MIN_TEST_SET_SIZE) {
+ String msg = String.format(
+ "Not enough evaluation data: training set size [%d] (min. %d), test set size [%d] (min. %d) of total [%d] (min. %d)",
+ trainingSetSize, MIN_TRAINING_SET_SIZE, testSetSize, MIN_TEST_SET_SIZE,
+ data.size(), (MIN_TRAINING_SET_SIZE + MIN_TEST_SET_SIZE));
+ LOG.info(msg);
- EvaluationResult result = new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
+ var result = new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
SAMPLE_UNIT.getSimpleName(), trainingSetSize, testSetSize, trainRatio);
result.setEvaluationSkipped(true);
- result.setErrorMsg(info);
+ result.setErrorMsg(msg);
return result;
}
if (trainingSet.stream().map(DocumentSample::getCategory).distinct().count() <= 1) {
- String info = String.format("Training data requires at least two different labels");
- LOG.info(info);
+ var msg = String.format("Training data requires at least two different labels");
+ LOG.info(msg);
- EvaluationResult result = new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
+ var result = new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
SAMPLE_UNIT.getSimpleName(), trainingSetSize, testSetSize, trainRatio);
result.setEvaluationSkipped(true);
- result.setErrorMsg(info);
+ result.setErrorMsg(msg);
return result;
}
@@ -234,11 +231,11 @@ public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
trainingSet.size(), testSet.size());
// Train model
- DoccatModel model = train(trainingSet, traits.getParameters());
- DocumentCategorizerME doccat = new DocumentCategorizerME(model);
+ var model = train(trainingSet, traits.getParameters());
+ var doccat = new DocumentCategorizerME(model);
// Evaluate
- EvaluationResult result = testSet.stream()
+ var result = testSet.stream()
.map(sample -> new LabelPair(sample.getCategory(),
doccat.getBestCategory(doccat.categorize(sample.getText()))))
.collect(toEvaluationResult(DATAPOINT_UNIT.getSimpleName(),
@@ -250,7 +247,7 @@ public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
private List extractSamples(List aCasses)
{
- List samples = new ArrayList<>();
+ var samples = new ArrayList();
casses: for (CAS cas : aCasses) {
Type sampleUnitType = getType(cas, SAMPLE_UNIT);
Type tokenType = getType(cas, Token.class);
diff --git a/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/ner/OpenNlpNerRecommender.java b/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/ner/OpenNlpNerRecommender.java
index b1f9dc4a060..31f24694533 100644
--- a/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/ner/OpenNlpNerRecommender.java
+++ b/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/ner/OpenNlpNerRecommender.java
@@ -19,6 +19,7 @@
import static de.tudarmstadt.ukp.clarin.webanno.api.annotation.util.WebAnnoCasUtil.selectOverlapping;
import static de.tudarmstadt.ukp.inception.recommendation.api.evaluation.EvaluationResult.toEvaluationResult;
+import static de.tudarmstadt.ukp.inception.rendering.model.Range.rangeCoveringAnnotations;
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import static org.apache.uima.fit.util.CasUtil.getType;
@@ -73,6 +74,9 @@ public class OpenNlpNerRecommender
private static final Class SAMPLE_UNIT = Sentence.class;
private static final Class DATAPOINT_UNIT = Token.class;
+ private static final int MIN_TRAINING_SET_SIZE = 2;
+ private static final int MIN_TEST_SET_SIZE = 2;
+
private final OpenNlpNerRecommenderTraits traits;
public OpenNlpNerRecommender(Recommender aRecommender, OpenNlpNerRecommenderTraits aTraits)
@@ -121,40 +125,41 @@ public TrainingCapability getTrainingCapability()
public Range predict(RecommenderContext aContext, CAS aCas, int aBegin, int aEnd)
throws RecommendationException
{
- TokenNameFinderModel model = aContext.get(KEY_MODEL).orElseThrow(
+ var model = aContext.get(KEY_MODEL).orElseThrow(
() -> new RecommendationException("Key [" + KEY_MODEL + "] not found in context"));
- NameFinderME finder = new NameFinderME(model);
+ var finder = new NameFinderME(model);
- Type sampleUnitType = getType(aCas, SAMPLE_UNIT);
- Type tokenType = getType(aCas, Token.class);
- Type predictedType = getPredictedType(aCas);
+ var sampleUnitType = getType(aCas, SAMPLE_UNIT);
+ var tokenType = getType(aCas, Token.class);
+ var predictedType = getPredictedType(aCas);
- Feature predictedFeature = getPredictedFeature(aCas);
- Feature isPredictionFeature = getIsPredictionFeature(aCas);
- Feature scoreFeature = getScoreFeature(aCas);
+ var predictedFeature = getPredictedFeature(aCas);
+ var isPredictionFeature = getIsPredictionFeature(aCas);
+ var scoreFeature = getScoreFeature(aCas);
var units = selectOverlapping(aCas, sampleUnitType, aBegin, aEnd);
- int predictionCount = 0;
- for (AnnotationFS sampleUnit : units) {
+ var predictionCount = 0;
+
+ for (var unit : units) {
if (predictionCount >= traits.getPredictionLimit()) {
break;
}
predictionCount++;
- List tokenAnnotations = selectCovered(tokenType, sampleUnit);
- String[] tokens = tokenAnnotations.stream() //
+ var tokenAnnotations = selectCovered(tokenType, unit);
+ var tokens = tokenAnnotations.stream() //
.map(AnnotationFS::getCoveredText) //
.toArray(String[]::new);
- for (Span prediction : finder.find(tokens)) {
- String label = prediction.getType();
+ for (var prediction : finder.find(tokens)) {
+ var label = prediction.getType();
if (NameSample.DEFAULT_TYPE.equals(label)) {
continue;
}
int begin = tokenAnnotations.get(prediction.getStart()).getBegin();
int end = tokenAnnotations.get(prediction.getEnd() - 1).getEnd();
- AnnotationFS annotation = aCas.createAnnotation(predictedType, begin, end);
+ var annotation = aCas.createAnnotation(predictedType, begin, end);
annotation.setStringValue(predictedFeature, label);
if (scoreFeature != null) {
annotation.setDoubleValue(scoreFeature, prediction.getProb());
@@ -167,7 +172,7 @@ public Range predict(RecommenderContext aContext, CAS aCas, int aBegin, int aEnd
}
}
- return new Range(units);
+ return rangeCoveringAnnotations(units);
}
@Override
@@ -180,11 +185,11 @@ public int estimateSampleCount(List aCasses)
public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
throws RecommendationException
{
- List data = extractNameSamples(aCasses);
- List trainingSet = new ArrayList<>();
- List testSet = new ArrayList<>();
+ var data = extractNameSamples(aCasses);
+ var trainingSet = new ArrayList();
+ var testSet = new ArrayList();
- for (NameSample nameSample : data) {
+ for (var nameSample : data) {
switch (aDataSplitter.getTargetSet(nameSample)) {
case TRAIN:
trainingSet.add(nameSample);
@@ -198,28 +203,22 @@ public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
}
}
- int testSetSize = testSet.size();
- int trainingSetSize = trainingSet.size();
- double overallTrainingSize = data.size() - testSetSize;
- double trainRatio = (overallTrainingSize > 0) ? trainingSetSize / overallTrainingSize : 0.0;
-
- final int minTrainingSetSize = 2;
- final int minTestSetSize = 2;
- if (trainingSetSize < minTrainingSetSize || testSetSize < minTestSetSize) {
- if ((getRecommender().getThreshold() <= 0.0d)) {
- return new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
- SAMPLE_UNIT.getSimpleName());
- }
+ var testSetSize = testSet.size();
+ var trainingSetSize = trainingSet.size();
+ var overallTrainingSize = data.size() - testSetSize;
+ var trainRatio = (overallTrainingSize > 0) ? trainingSetSize / overallTrainingSize : 0.0;
- String info = String.format(
- "Not enough evaluation data: training set [%s] sentences, test set [%s] of total [%s]",
- trainingSetSize, testSetSize, data.size());
- LOG.info(info);
+ if (trainingSetSize < MIN_TRAINING_SET_SIZE || testSetSize < MIN_TEST_SET_SIZE) {
+ String msg = String.format(
+ "Not enough evaluation data: training set size [%d] (min. %d), test set size [%d] (min. %d) of total [%d] (min. %d)",
+ trainingSetSize, MIN_TRAINING_SET_SIZE, testSetSize, MIN_TEST_SET_SIZE,
+ data.size(), (MIN_TRAINING_SET_SIZE + MIN_TEST_SET_SIZE));
+ LOG.info(msg);
- EvaluationResult result = new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
+ var result = new EvaluationResult(DATAPOINT_UNIT.getSimpleName(),
SAMPLE_UNIT.getSimpleName(), trainingSetSize, testSetSize, trainRatio);
result.setEvaluationSkipped(true);
- result.setErrorMsg(info);
+ result.setErrorMsg(msg);
return result;
}
@@ -227,21 +226,21 @@ public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
testSet.size(), data.size());
// Train model
- TokenNameFinderModel model = train(trainingSet, traits.getParameters());
- NameFinderME nameFinder = new NameFinderME(model);
+ var model = train(trainingSet, traits.getParameters());
+ var nameFinder = new NameFinderME(model);
// Evaluate
- List labelPairs = new ArrayList<>();
- for (NameSample sample : testSet) {
+ var labelPairs = new ArrayList();
+ for (var sample : testSet) {
// clear adaptive data from feature generators if necessary
if (sample.isClearAdaptiveDataSet()) {
nameFinder.clearAdaptiveData();
}
// Span contains one NE, Array of them all in one sentence
- String[] sentence = sample.getSentence();
- Span[] predictedNames = nameFinder.find(sentence);
- Span[] goldNames = sample.getNames();
+ var sentence = sample.getSentence();
+ var predictedNames = nameFinder.find(sentence);
+ var goldNames = sample.getNames();
labelPairs.addAll(determineLabelsForASentence(sentence, predictedNames, goldNames));
}
@@ -309,7 +308,7 @@ private String determineLabel(Span aName, int aTokenIdx)
private List extractNameSamples(List aCasses)
{
- List nameSamples = new ArrayList<>();
+ var nameSamples = new ArrayList();
casses: for (CAS cas : aCasses) {
Type sampleUnitType = getType(cas, SAMPLE_UNIT);
diff --git a/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/pos/OpenNlpPosRecommender.java b/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/pos/OpenNlpPosRecommender.java
index b4601283b9f..ef7dd0d7230 100644
--- a/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/pos/OpenNlpPosRecommender.java
+++ b/inception/inception-imls-opennlp/src/main/java/de/tudarmstadt/ukp/inception/recommendation/imls/opennlp/pos/OpenNlpPosRecommender.java
@@ -59,7 +59,6 @@
import opennlp.tools.postag.POSSample;
import opennlp.tools.postag.POSTaggerFactory;
import opennlp.tools.postag.POSTaggerME;
-import opennlp.tools.util.Sequence;
import opennlp.tools.util.TrainingParameters;
public class OpenNlpPosRecommender
@@ -73,6 +72,9 @@ public class OpenNlpPosRecommender
private static final Class SAMPLE_UNIT = Sentence.class;
private static final Class DATAPOINT_UNIT = Token.class;
+ private static final int MIN_TRAINING_SET_SIZE = 2;
+ private static final int MIN_TEST_SET_SIZE = 2;
+
private final OpenNlpPosRecommenderTraits traits;
public OpenNlpPosRecommender(Recommender aRecommender, OpenNlpPosRecommenderTraits aTraits)
@@ -91,7 +93,7 @@ public boolean isReadyForPrediction(RecommenderContext aContext)
@Override
public void train(RecommenderContext aContext, List aCasses) throws RecommendationException
{
- List posSamples = extractPosSamples(aCasses);
+ var posSamples = extractPosSamples(aCasses);
if (posSamples.size() < 2) {
aContext.warn("Not enough training data: [%d] items", posSamples.size());
@@ -101,9 +103,9 @@ public void train(RecommenderContext aContext, List aCasses) throws Recomme
// The beam size controls how many results are returned at most. But even if the user
// requests only few results, we always use at least the default bean size recommended by
// OpenNLP
- int beamSize = Math.max(maxRecommendations, POSTaggerME.DEFAULT_BEAM_SIZE);
+ var beamSize = Math.max(maxRecommendations, POSTaggerME.DEFAULT_BEAM_SIZE);
- TrainingParameters params = traits.getParameters();
+ var params = traits.getParameters();
params.put(BeamSearch.BEAM_SIZE_PARAMETER, Integer.toString(beamSize));
POSModel model = train(posSamples, params);
@@ -120,60 +122,60 @@ public TrainingCapability getTrainingCapability()
public Range predict(RecommenderContext aContext, CAS aCas, int aBegin, int aEnd)
throws RecommendationException
{
- POSModel model = aContext.get(KEY_MODEL).orElseThrow(
+ var model = aContext.get(KEY_MODEL).orElseThrow(
() -> new RecommendationException("Key [" + KEY_MODEL + "] not found in context"));
- POSTaggerME tagger = new POSTaggerME(model);
+ var tagger = new POSTaggerME(model);
- Type sampleUnitType = getType(aCas, SAMPLE_UNIT);
- Type predictedType = getPredictedType(aCas);
- Type tokenType = getType(aCas, Token.class);
+ var sampleUnitType = getType(aCas, SAMPLE_UNIT);
+ var predictedType = getPredictedType(aCas);
+ var tokenType = getType(aCas, Token.class);
- Feature scoreFeature = getScoreFeature(aCas);
- Feature predictedFeature = getPredictedFeature(aCas);
- Feature isPredictionFeature = getIsPredictionFeature(aCas);
+ var scoreFeature = getScoreFeature(aCas);
+ var predictedFeature = getPredictedFeature(aCas);
+ var isPredictionFeature = getIsPredictionFeature(aCas);
var units = selectOverlapping(aCas, sampleUnitType, aBegin, aEnd);
int predictionCount = 0;
- for (AnnotationFS sampleUnit : units) {
+ for (var unit : units) {
if (predictionCount >= traits.getPredictionLimit()) {
break;
}
predictionCount++;
- List tokenAnnotations = selectCovered(tokenType, sampleUnit);
- String[] tokens = tokenAnnotations.stream() //
+ var tokenAnnotations = selectCovered(tokenType, unit);
+ var tokens = tokenAnnotations.stream() //
.map(AnnotationFS::getCoveredText) //
.toArray(String[]::new);
- Sequence[] bestSequences = tagger.topKSequences(tokens);
+ var bestSequences = tagger.topKSequences(tokens);
// LOG.debug("Total number of sequences predicted: {}", bestSequences.length);
for (int s = 0; s < Math.min(bestSequences.length, maxRecommendations); s++) {
- Sequence sequence = bestSequences[s];
- List outcomes = sequence.getOutcomes();
- double[] probabilities = sequence.getProbs();
+ var sequence = bestSequences[s];
+ var outcomes = sequence.getOutcomes();
+ var probabilities = sequence.getProbs();
// LOG.debug("Sequence {} score {}", s, sequence.getScore());
// LOG.debug("Outcomes: {}", outcomes);
// LOG.debug("Probabilities: {}", asList(probabilities));
for (int i = 0; i < outcomes.size(); i++) {
- String label = outcomes.get(i);
+ var label = outcomes.get(i);
// Do not return PADded tokens
if (PAD.equals(label)) {
continue;
}
- AnnotationFS token = tokenAnnotations.get(i);
+ var token = tokenAnnotations.get(i);
int begin = token.getBegin();
int end = token.getEnd();
double score = probabilities[i];
// Create the prediction
- AnnotationFS annotation = aCas.createAnnotation(predictedType, begin, end);
+ var annotation = aCas.createAnnotation(predictedType, begin, end);
annotation.setStringValue(predictedFeature, label);
annotation.setDoubleValue(scoreFeature, score);
annotation.setBooleanValue(isPredictionFeature, true);
@@ -182,7 +184,7 @@ public Range predict(RecommenderContext aContext, CAS aCas, int aBegin, int aEnd
}
}
- return new Range(units);
+ return Range.rangeCoveringAnnotations(units);
}
@Override
@@ -195,11 +197,11 @@ public int estimateSampleCount(List aCasses)
public EvaluationResult evaluate(List aCasses, DataSplitter aDataSplitter)
throws RecommendationException
{
- List data = extractPosSamples(aCasses);
- List trainingSet = new ArrayList<>();
- List testSet = new ArrayList<>();
+ var data = extractPosSamples(aCasses);
+ var trainingSet = new ArrayList