mirror of https://github.com/doccano/doccano.git
21 changed files with 474 additions and 28 deletions
Split View
Diff Options
-
28backend/label_types/migrations/0008_categorytype_description_relationtype_description_and_more.py
-
2backend/label_types/models.py
-
1backend/label_types/serializers.py
-
5backend/label_types/urls.py
-
1backend/projects/serializers.py
-
378frontend/assets/css/fonts.css
-
16frontend/components/label/FormCreate.vue
-
2frontend/components/label/FormImport.vue
-
10frontend/components/label/LabelList.vue
-
9frontend/components/tasks/sequenceLabeling/LabelingMenu.vue
-
8frontend/domain/models/label/label.ts
-
1frontend/i18n/en/projects/labels.js
-
5frontend/nuxt.config.js
-
20frontend/pages/demo/intent-detection-and-slot-filling/index.vue
-
1frontend/pages/projects/_id/labels/_label_id/edit.vue
-
2frontend/pages/projects/_id/labels/add.vue
-
1frontend/plugins/role.ts
-
2frontend/repositories/label/apiLabelRepository.ts
-
5frontend/services/application/label/labelApplicationService.ts
-
2frontend/services/application/label/labelData.ts
-
3frontend/vue-shim.d.ts
@ -0,0 +1,28 @@ |
|||
# Generated by Django 4.1.1 on 2022-10-13 19:21 |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
("label_types", "0007_delete_relationtypeold"), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name="categorytype", |
|||
name="description", |
|||
field=models.CharField(max_length=200, null=True), |
|||
), |
|||
migrations.AddField( |
|||
model_name="relationtype", |
|||
name="description", |
|||
field=models.CharField(max_length=200, null=True), |
|||
), |
|||
migrations.AddField( |
|||
model_name="spantype", |
|||
name="description", |
|||
field=models.CharField(max_length=200, null=True), |
|||
), |
|||
] |
@ -0,0 +1,378 @@ |
|||
/* cyrillic-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 100; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-100-cyrillic-ext1.woff2') format('woff2'); |
|||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
|||
} |
|||
/* cyrillic */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 100; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-100-cyrillic2.woff2') format('woff2'); |
|||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
|||
} |
|||
/* greek-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 100; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-100-greek-ext3.woff2') format('woff2'); |
|||
unicode-range: U+1F00-1FFF; |
|||
} |
|||
/* greek */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 100; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-100-greek4.woff2') format('woff2'); |
|||
unicode-range: U+0370-03FF; |
|||
} |
|||
/* vietnamese */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 100; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-100-vietnamese5.woff2') format('woff2'); |
|||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; |
|||
} |
|||
/* latin-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 100; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-100-latin-ext6.woff2') format('woff2'); |
|||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
|||
} |
|||
/* latin */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 100; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-100-latin7.woff2') format('woff2'); |
|||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
|||
} |
|||
/* cyrillic-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 300; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-300-cyrillic-ext8.woff2') format('woff2'); |
|||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
|||
} |
|||
/* cyrillic */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 300; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-300-cyrillic9.woff2') format('woff2'); |
|||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
|||
} |
|||
/* greek-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 300; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-300-greek-ext10.woff2') format('woff2'); |
|||
unicode-range: U+1F00-1FFF; |
|||
} |
|||
/* greek */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 300; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-300-greek11.woff2') format('woff2'); |
|||
unicode-range: U+0370-03FF; |
|||
} |
|||
/* vietnamese */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 300; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-300-vietnamese12.woff2') format('woff2'); |
|||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; |
|||
} |
|||
/* latin-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 300; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-300-latin-ext13.woff2') format('woff2'); |
|||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
|||
} |
|||
/* latin */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 300; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-300-latin14.woff2') format('woff2'); |
|||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
|||
} |
|||
/* cyrillic-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-400-cyrillic-ext15.woff2') format('woff2'); |
|||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
|||
} |
|||
/* cyrillic */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-400-cyrillic16.woff2') format('woff2'); |
|||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
|||
} |
|||
/* greek-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-400-greek-ext17.woff2') format('woff2'); |
|||
unicode-range: U+1F00-1FFF; |
|||
} |
|||
/* greek */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-400-greek18.woff2') format('woff2'); |
|||
unicode-range: U+0370-03FF; |
|||
} |
|||
/* vietnamese */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-400-vietnamese19.woff2') format('woff2'); |
|||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; |
|||
} |
|||
/* latin-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-400-latin-ext20.woff2') format('woff2'); |
|||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
|||
} |
|||
/* latin */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-400-latin21.woff2') format('woff2'); |
|||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
|||
} |
|||
/* cyrillic-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-500-cyrillic-ext22.woff2') format('woff2'); |
|||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
|||
} |
|||
/* cyrillic */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-500-cyrillic23.woff2') format('woff2'); |
|||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
|||
} |
|||
/* greek-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-500-greek-ext24.woff2') format('woff2'); |
|||
unicode-range: U+1F00-1FFF; |
|||
} |
|||
/* greek */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-500-greek25.woff2') format('woff2'); |
|||
unicode-range: U+0370-03FF; |
|||
} |
|||
/* vietnamese */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-500-vietnamese26.woff2') format('woff2'); |
|||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; |
|||
} |
|||
/* latin-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-500-latin-ext27.woff2') format('woff2'); |
|||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
|||
} |
|||
/* latin */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-500-latin28.woff2') format('woff2'); |
|||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
|||
} |
|||
/* cyrillic-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-700-cyrillic-ext29.woff2') format('woff2'); |
|||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
|||
} |
|||
/* cyrillic */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-700-cyrillic30.woff2') format('woff2'); |
|||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
|||
} |
|||
/* greek-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-700-greek-ext31.woff2') format('woff2'); |
|||
unicode-range: U+1F00-1FFF; |
|||
} |
|||
/* greek */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-700-greek32.woff2') format('woff2'); |
|||
unicode-range: U+0370-03FF; |
|||
} |
|||
/* vietnamese */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-700-vietnamese33.woff2') format('woff2'); |
|||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; |
|||
} |
|||
/* latin-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-700-latin-ext34.woff2') format('woff2'); |
|||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
|||
} |
|||
/* latin */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-700-latin35.woff2') format('woff2'); |
|||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
|||
} |
|||
/* cyrillic-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-900-cyrillic-ext36.woff2') format('woff2'); |
|||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
|||
} |
|||
/* cyrillic */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-900-cyrillic37.woff2') format('woff2'); |
|||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
|||
} |
|||
/* greek-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-900-greek-ext38.woff2') format('woff2'); |
|||
unicode-range: U+1F00-1FFF; |
|||
} |
|||
/* greek */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-900-greek39.woff2') format('woff2'); |
|||
unicode-range: U+0370-03FF; |
|||
} |
|||
/* vietnamese */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-900-vietnamese40.woff2') format('woff2'); |
|||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; |
|||
} |
|||
/* latin-ext */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-900-latin-ext41.woff2') format('woff2'); |
|||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
|||
} |
|||
/* latin */ |
|||
@font-face { |
|||
font-family: 'Roboto'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
font-display: swap; |
|||
src: url('~assets/fonts/Roboto-900-latin42.woff2') format('woff2'); |
|||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
|||
} |
@ -1,5 +1,4 @@ |
|||
declare module '*.vue' { |
|||
import Vue from 'vue' |
|||
export default Vue |
|||
import Vue from 'vue' export default Vue |
|||
} |
|||
declare module 'v-annotator' |
Write
Preview
Loading…
Cancel
Save