@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/dist/css/{app.7dd6bb8c.css → app.css} +1 -1
- package/dist/index.html +1 -1
- package/dist/js/app.js +2 -0
- package/dist/js/app.js.map +1 -0
- package/dist/js/{chunk-vendors.a48fca3f.js → chunk-vendors.js} +1 -1
- package/dist/js/chunk-vendors.js.map +1 -0
- package/package.json +2 -2
- package/src/components/DocumentAnnotations/DocumentAnnotations.vue +4 -1
- package/src/store/document.js +4 -1
- package/vue.config.js +13 -1
- package/dist/js/app.cc0b0c26.js +0 -2
- package/dist/js/app.cc0b0c26.js.map +0 -1
- package/dist/js/chunk-vendors.a48fca3f.js.map +0 -1
- /package/dist/css/{chunk-vendors.053b6b6e.css → chunk-vendors.css} +0 -0
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": "
|
|
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) =>
|
|
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) {
|
package/src/store/document.js
CHANGED
|
@@ -283,7 +283,10 @@ const getters = {
|
|
|
283
283
|
|
|
284
284
|
labels.map((label) => {
|
|
285
285
|
const found = state.missingAnnotations.find(
|
|
286
|
-
(l) =>
|
|
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
|
+
};
|