@konfuzio/document-validation-ui 0.1.2 → 0.1.3-pre-release-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@konfuzio/document-validation-ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3-pre-release-2",
4
4
  "repository": "git://github.com:konfuzio-ai/document-validation-ui.git",
5
- "main": "src/main.js",
5
+ "main": "dist/app.js",
6
6
  "scripts": {
7
7
  "serve": "vue-cli-service serve",
8
8
  "build": "vue-cli-service build --name DocumentValidationUi ./src/main.js",
@@ -390,7 +390,10 @@ export default {
390
390
 
391
391
  allEmptyLabels.map((label) => {
392
392
  const found = this.missingAnnotations.find(
393
- (l) => l.label === label.id && l.annotation_set === annotationSet.id
393
+ (l) =>
394
+ l.label === label.id &&
395
+ l.annotation_set === annotationSet.id &&
396
+ l.label_set === annotationSet.label_set.id
394
397
  );
395
398
 
396
399
  if (!found) {
@@ -283,7 +283,10 @@ const getters = {
283
283
 
284
284
  labels.map((label) => {
285
285
  const found = state.missingAnnotations.find(
286
- (l) => l.label === label.id && annotationSet.id === l.annotation_set
286
+ (l) =>
287
+ l.label === label.id &&
288
+ annotationSet.id === l.annotation_set &&
289
+ annotationSet.label_set.id === l.label_set
287
290
  );
288
291
 
289
292
  if (!found) {
package/vue.config.js CHANGED
@@ -10,4 +10,16 @@ module.exports = {
10
10
  enableBridge: true,
11
11
  },
12
12
  },
13
- };
13
+ css: {
14
+ extract: {
15
+ filename: "css/[name].css?_hash=[contenthash:8]",
16
+ chunkFilename: "css/[name].css?_hash=[contenthash:8]",
17
+ },
18
+ },
19
+ configureWebpack: {
20
+ output: {
21
+ filename: "js/[name].js",
22
+ chunkFilename: "js/[name].js",
23
+ },
24
+ },
25
+ };