mirador-annotation-editor-video 0.0.49 → 0.0.51

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.
@@ -39,7 +39,7 @@ var _externalStorageAnnotationPlugin = _interopRequireDefault(require("mirador-a
39
39
  var _canvasAnnotationsPlugin = _interopRequireDefault(require("mirador-annotations/src/plugins/canvasAnnotationsPlugin"));
40
40
  var _windowSideBarButtonsPlugin = _interopRequireDefault(require("mirador-annotations/src/plugins/windowSideBarButtonsPlugin"));
41
41
  var _AnnotationCreationCompanionWindowWrapper = _interopRequireDefault(require("../wrapper/AnnotationCreationCompanionWindowWrapper"));
42
- var _locales = _interopRequireDefault(require("../locales.js"));
42
+ var _locales = _interopRequireDefault(require("mirador-annotations/src/locales/locales"));
43
43
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
44
44
  var _default = exports.default = [{
45
45
  component: _AnnotationCreationWindowWrapper.default,
@@ -14,7 +14,7 @@ var _AnnotationFormUtils = require("mirador-annotations/es/annotationForm/Annota
14
14
  var _OSDReferences = require("mirador/dist/es/src/plugins/OSDReferences");
15
15
  var _VideosReferences = require("mirador/dist/es/src/plugins/VideosReferences");
16
16
  var _reactI18next = require("react-i18next");
17
- var _locales = _interopRequireDefault(require("../locales"));
17
+ var _locales = _interopRequireDefault(require("mirador-annotations/es/locales/locales"));
18
18
  var _playerReferences2 = require("mirador-annotations/es/playerReferences");
19
19
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
20
20
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mirador-annotation-editor-video",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "description": "Mirador 4 plugin wrapping Mirador Annotation Editor plugin and adding video annotation support",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@mui/icons-material": "^5.11.16",
26
- "mirador": "npm:mirador-video@1.0.15",
27
- "mirador-annotations": "npm:mirador-annotation-editor@1.0.78",
26
+ "mirador": "npm:mirador-video@^1.0.17",
27
+ "mirador-annotations": "npm:mirador-annotation-editor@^1.0.82 ",
28
28
  "react-i18next": "^15.4.0"
29
29
  },
30
30
  "peerDependencies": {
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "overrides": {
58
58
  "mirador-annotations": {
59
- "mirador": "npm:mirador-video@1.0.15"
59
+ "mirador": "npm:mirador-video@^1.0.17"
60
60
  }
61
61
  },
62
62
  "author": "",
@@ -3,7 +3,7 @@ import externalStorageAnnotationPlugin from 'mirador-annotations/src/plugins/ext
3
3
  import canvasAnnotationsPlugin from 'mirador-annotations/src/plugins/canvasAnnotationsPlugin';
4
4
  import windowSideBarButtonsPlugin from 'mirador-annotations/src/plugins/windowSideBarButtonsPlugin';
5
5
  import AnnotationCreationCompanionWindowWrapper from "../wrapper/AnnotationCreationCompanionWindowWrapper";
6
- import translations from '../locales.js'
6
+ import translations from 'mirador-annotations/src/locales/locales';
7
7
  export{
8
8
  AnnotationCreationWindowWrapper,
9
9
  externalStorageAnnotationPlugin,canvasAnnotationsPlugin,AnnotationCreationCompanionWindowWrapper,
@@ -10,7 +10,7 @@ import { MEDIA_TYPES} from "mirador-annotations/es/annotationForm/AnnotationForm
10
10
  import { OSDReferences } from 'mirador/dist/es/src/plugins/OSDReferences';
11
11
  import {VideosReferences} from "mirador/dist/es/src/plugins/VideosReferences";
12
12
  import { withTranslation } from 'react-i18next';
13
- import translations from '../locales';
13
+ import translations from 'mirador-annotations/es/locales/locales';
14
14
  import {WindowPlayer} from "mirador-annotations/es/playerReferences";
15
15
 
16
16
  /** */
package/es/locales.js DELETED
@@ -1,96 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _default = exports.default = {
8
- en: {
9
- cancel: 'Cancel',
10
- container_size: 'Container Size',
11
- create_annotation: 'Create annotation',
12
- delete: 'Delete',
13
- detected_media_type: 'We detect {{mediaType}} media type.',
14
- document: 'Document',
15
- drawings_and_text_in_overlay: 'Drawings and text in overlay',
16
- edit: 'Edit',
17
- edit_annotation: 'Edit annotation',
18
- edit_iiif_json_code: 'Edit directly the IIIF json code',
19
- expert_mode: 'Expert mode',
20
- export_annotation: 'Export Annotations',
21
- export_annotation_for: 'Export annotations for "${label}"',
22
- export_local_annotation: 'Export local annotations for visible items',
23
- image: 'Image',
24
- image_displayed: 'Image Displayed',
25
- image_in_overlay_with_note: 'Image in overlay with a note',
26
- image_true_size: 'Image True Size',
27
- invalid_url: 'Invalid URL',
28
- maev_github_link: 'https://github.com/SCENE-CE/mirador-annotation-editor-video',
29
- manifest_url: 'Manifest URL',
30
- media_not_supported: 'Media not supported',
31
- new_annotation: 'New annotation',
32
- no_annotation: 'No annotations stored yet.',
33
- note: 'Note',
34
- overlay: 'Overlay',
35
- save: 'Save',
36
- scale: 'Scale',
37
- select_cursor: 'Select Cursor',
38
- shape_selection: 'Shape Selection',
39
- svg_selection: 'SVG selection',
40
- switch_view: 'Switch to single view',
41
- switch_view_h2: 'Switch view type to single view?',
42
- tag: 'Tag',
43
- tag_with_target: 'Tag with target',
44
- target: 'Target',
45
- textual_note_with_target: 'Textual note with target',
46
- tool_selection: 'Tool Selection',
47
- unsupported_media_message: 'Your current canvas media type is not supported by the annotation editor.',
48
- video_annotation_instruction: 'If you want to annotate video media, you must install MAEV to create and edit annotations on video:',
49
- your_tag_here: 'Your tag here:',
50
- zoom: 'Zoom'
51
- },
52
- fr: {
53
- cancel: 'Annuler',
54
- container_size: 'Taille du conteneur',
55
- create_annotation: 'Créer une annotation',
56
- delete: 'Supprimer',
57
- detected_media_type: 'Nous détectons un média de type {{mediaType}}.',
58
- document: 'Document',
59
- drawings_and_text_in_overlay: 'Dessins et texte en superposition',
60
- edit: 'Éditer',
61
- edit_annotation: "Editer l'annotation",
62
- edit_iiif_json_code: 'Modifier directement le code JSON IIIF',
63
- expert_mode: 'Mode expert',
64
- export_annotation: 'Exporter les annotations',
65
- export_annotation_for: 'Exporter les annotations pour "${label}"',
66
- export_local_annotation: 'Exporter les annotations locales pour les éléments visibles',
67
- image: 'Image',
68
- image_displayed: 'Image affichée',
69
- image_in_overlay_with_note: 'Image en superposition avec une note',
70
- image_true_size: 'Taille réelle de l\'image',
71
- invalid_url: 'URL invalide',
72
- maev_github_link: 'https://github.com/SCENE-CE/mirador-annotation-editor-video',
73
- manifest_url: 'URL du manifeste',
74
- media_not_supported: 'Média non pris en charge',
75
- new_annotation: 'Nouvelle annotation',
76
- no_annotation: 'Aucune annotation enregistrée pour le moment.',
77
- note: 'Note',
78
- overlay: 'Superposition',
79
- save: 'Sauvegarder',
80
- scale: 'Échelle',
81
- select_cursor: 'Sélectionner le curseur',
82
- shape_selection: 'Sélection de forme',
83
- svg_selection: 'Sélection SVG',
84
- switch_view: 'Passer à la vue simple',
85
- switch_view_h2: 'Changer le type de vue en vue simple?',
86
- tag: 'Étiquette',
87
- tag_with_target: 'Étiquette avec cible',
88
- target: 'Target',
89
- textual_note_with_target: 'Note textuelle avec cible',
90
- tool_selection: 'Sélection d’outil',
91
- unsupported_media_message: "Le type de média de votre canvas actuel n'est pas pris en charge par l'éditeur d'annotations.",
92
- video_annotation_instruction: 'Si vous souhaitez annoter des vidéos, vous devez installer le plugin Mirador Annotation Editor Video (MAEV) pour créer et modifier des annotations sur les vidéos :',
93
- your_tag_here: 'Votre étiquette',
94
- zoom: 'Zoom'
95
- }
96
- };
package/src/locales.js DELETED
@@ -1,90 +0,0 @@
1
- export default {
2
- en: {
3
- cancel: 'Cancel',
4
- container_size: 'Container Size',
5
- create_annotation: 'Create annotation',
6
- delete: 'Delete',
7
- detected_media_type: 'We detect {{mediaType}} media type.',
8
- document: 'Document',
9
- drawings_and_text_in_overlay: 'Drawings and text in overlay',
10
- edit: 'Edit',
11
- edit_annotation: 'Edit annotation',
12
- edit_iiif_json_code: 'Edit directly the IIIF json code',
13
- expert_mode: 'Expert mode',
14
- export_annotation: 'Export Annotations',
15
- export_annotation_for: 'Export annotations for "${label}"',
16
- export_local_annotation: 'Export local annotations for visible items',
17
- image: 'Image',
18
- image_displayed: 'Image Displayed',
19
- image_in_overlay_with_note: 'Image in overlay with a note',
20
- image_true_size: 'Image True Size',
21
- invalid_url: 'Invalid URL',
22
- maev_github_link: 'https://github.com/SCENE-CE/mirador-annotation-editor-video',
23
- manifest_url: 'Manifest URL',
24
- media_not_supported: 'Media not supported',
25
- new_annotation: 'New annotation',
26
- no_annotation: 'No annotations stored yet.',
27
- note: 'Note',
28
- overlay: 'Overlay',
29
- save: 'Save',
30
- scale: 'Scale',
31
- select_cursor: 'Select Cursor',
32
- shape_selection: 'Shape Selection',
33
- svg_selection: 'SVG selection',
34
- switch_view: 'Switch to single view',
35
- switch_view_h2: 'Switch view type to single view?',
36
- tag: 'Tag',
37
- tag_with_target: 'Tag with target',
38
- target: 'Target',
39
- textual_note_with_target: 'Textual note with target',
40
- tool_selection: 'Tool Selection',
41
- unsupported_media_message: 'Your current canvas media type is not supported by the annotation editor.',
42
- video_annotation_instruction: 'If you want to annotate video media, you must install MAEV to create and edit annotations on video:',
43
- your_tag_here: 'Your tag here:',
44
- zoom: 'Zoom',
45
- },
46
- fr: {
47
- cancel: 'Annuler',
48
- container_size: 'Taille du conteneur',
49
- create_annotation: 'Créer une annotation',
50
- delete: 'Supprimer',
51
- detected_media_type: 'Nous détectons un média de type {{mediaType}}.',
52
- document: 'Document',
53
- drawings_and_text_in_overlay: 'Dessins et texte en superposition',
54
- edit: 'Éditer',
55
- edit_annotation: "Editer l'annotation",
56
- edit_iiif_json_code: 'Modifier directement le code JSON IIIF',
57
- expert_mode: 'Mode expert',
58
- export_annotation: 'Exporter les annotations',
59
- export_annotation_for: 'Exporter les annotations pour "${label}"',
60
- export_local_annotation: 'Exporter les annotations locales pour les éléments visibles',
61
- image: 'Image',
62
- image_displayed: 'Image affichée',
63
- image_in_overlay_with_note: 'Image en superposition avec une note',
64
- image_true_size: 'Taille réelle de l\'image',
65
- invalid_url: 'URL invalide',
66
- maev_github_link: 'https://github.com/SCENE-CE/mirador-annotation-editor-video',
67
- manifest_url: 'URL du manifeste',
68
- media_not_supported: 'Média non pris en charge',
69
- new_annotation: 'Nouvelle annotation',
70
- no_annotation: 'Aucune annotation enregistrée pour le moment.',
71
- note: 'Note',
72
- overlay: 'Superposition',
73
- save: 'Sauvegarder',
74
- scale: 'Échelle',
75
- select_cursor: 'Sélectionner le curseur',
76
- shape_selection: 'Sélection de forme',
77
- svg_selection: 'Sélection SVG',
78
- switch_view: 'Passer à la vue simple',
79
- switch_view_h2: 'Changer le type de vue en vue simple?',
80
- tag: 'Étiquette',
81
- tag_with_target: 'Étiquette avec cible',
82
- target: 'Target',
83
- textual_note_with_target: 'Note textuelle avec cible',
84
- tool_selection: 'Sélection d’outil',
85
- unsupported_media_message: "Le type de média de votre canvas actuel n'est pas pris en charge par l'éditeur d'annotations.",
86
- video_annotation_instruction: 'Si vous souhaitez annoter des vidéos, vous devez installer le plugin Mirador Annotation Editor Video (MAEV) pour créer et modifier des annotations sur les vidéos :',
87
- your_tag_here: 'Votre étiquette',
88
- zoom: 'Zoom',
89
- },
90
- };