@bimdata/bcf-components 1.0.4 → 1.1.0-rc.11

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/README.md CHANGED
@@ -31,20 +31,24 @@ Then, in your application bootstrap script, add the following:
31
31
  ```js
32
32
  import Vue from "vue";
33
33
  import VueCompositionApi from "@vue/composition-api";
34
+ import VueI18n from "vue-i18n"; // v8.x
35
+ import { makeBIMDataApiClient } from "@bimdata/typescript-fetch-api-client"; // v8.2+
36
+ // Import Vue 2 plugin factory
37
+ import BIMDataBcfComponents from "@bimdata/bcf-components/vue2-plugin.js";
34
38
  ...
35
39
 
40
+ // Instanciate i18n plugin
41
+ const i18nPlugin = new VueI18n({ ... });
42
+ // Instanciate BIMData API client
43
+ const apiClient = makeBIMDataApiClient({ ... });
44
+
36
45
  Vue.use(VueCompositionApi);
46
+ Vue.use(i18nPlugin);
47
+ // Provide both i18n plugin and API client as plugin config
48
+ Vue.use(BIMDataBcfComponents({ i18nPlugin, apiClient }));
37
49
  ...
38
50
  ```
39
51
 
40
- You can now use library components like so:
41
-
42
- ```js
43
- import { components } from "@bimdata/bcf-components/dist/vue2/bcf-components.es.js";
44
-
45
- const { BcfTopicCard } = components;
46
- ```
47
-
48
52
  ### Vue 3.x application
49
53
 
50
54
  **Using Vue plugin**
@@ -54,14 +58,14 @@ and make all components available globally.
54
58
 
55
59
  ```js
56
60
  import { createApp } from "vue";
57
- import { createI18n } from "vue-i18n";
58
- import { makeBIMDataApiClient } from "@bimdata/typescript-fetch-api-client";
61
+ import { createI18n } from "vue-i18n"; // v9.x
62
+ import { makeBIMDataApiClient } from "@bimdata/typescript-fetch-api-client"; // v8.2+
59
63
  // Import Vue 3 plugin factory
60
64
  import BIMDataBcfComponents from "@bimdata/bcf-components/vue3-plugin.js";
61
65
 
62
- // Instanciate i18n plugin (v9+)
66
+ // Instanciate i18n plugin
63
67
  const i18nPlugin = createI18n({ ... });
64
- // Instanciate BIMData API client (v8.2+)
68
+ // Instanciate BIMData API client
65
69
  const apiClient = makeBIMDataApiClient({ ... });
66
70
 
67
71
  const app = createApp()
@@ -95,9 +99,7 @@ setApiClient(apiClient);
95
99
  Then you can directly use components in your app that way:
96
100
 
97
101
  ```js
98
- import { components } from "@bimdata/bcf-components";
99
-
100
- const { BcfTopicCard } = components;
102
+ import { BcfTopicCard } from "@bimdata/bcf-components";
101
103
  ```
102
104
 
103
105
  ## Build
@@ -1,7 +1,13 @@
1
+ import de from "./lang/de.json";
1
2
  import en from "./lang/en.json";
3
+ import es from "./lang/es.json";
2
4
  import fr from "./lang/fr.json";
5
+ import it from "./lang/it.json";
3
6
 
4
7
  export default {
8
+ de,
5
9
  en,
6
- fr
10
+ es,
11
+ fr,
12
+ it,
7
13
  };
@@ -0,0 +1,155 @@
1
+ {
2
+ "BcfComponents": {
3
+ "BcfFilters": {
4
+ "filtersButton": "Filter",
5
+ "filtersTitle": "Filter",
6
+ "priorityLabel": "Priorität",
7
+ "statusLabel": "Status",
8
+ "startDatePlaceholder": "Anfangsdatum",
9
+ "startDateExample": "(Z. B.: 28.04.2022)",
10
+ "endDatePlaceholder": "Enddatum",
11
+ "endDateExample": "(Z. B.: 28.05.2022)",
12
+ "assignedToLabel": "Zugewiesen an",
13
+ "creatorsLabel": "Erstellt von",
14
+ "tagsLabel": "Tags",
15
+ "resetButton": "Zurücksetzen",
16
+ "searchButton": "Suchen",
17
+ "undefined": "Nicht definiert"
18
+ },
19
+ "BcfSettings": {
20
+ "goBackButton": "Zurück",
21
+ "title": "BCF-Parameter",
22
+ "text": "Erstellen, füllen und listen Sie die BCF-Einstellungen auf, die Sie für dieses Projekt haben möchten.",
23
+ "validateButton": "Die BCF-Parameter anerkennen"
24
+ },
25
+ "BcfStatistics": {
26
+ "emptyText": "Fügen Sie Fragen hinzu, um zugehörige Statistiken hier anzuzeigen.",
27
+ "issues": "Probleme",
28
+ "extension": {
29
+ "Priority": "Priorität",
30
+ "PriorityNotDefined": "Keine Priorität",
31
+ "PriorityTitle": "Prioritäten",
32
+ "Status": "Status",
33
+ "StatusNotDefined": "Kein Status",
34
+ "StatusTitle": "Status"
35
+ }
36
+ },
37
+ "BcfTopicCard": {
38
+ "priority": "Priorität:",
39
+ "assignedTo": "Zugewiesen an :",
40
+ "noPriority": "Keine",
41
+ "notSpecified": "Nicht definiert",
42
+ "elements": "Elemente",
43
+ "noElements": "0 Elemente",
44
+ "see": "Anzeigen"
45
+ },
46
+ "BcfTopicCreationCard": {
47
+ "text": "Ein neues BCF-Thema erstellen",
48
+ "createBcfSideTitle": "Ein Problem melden"
49
+ },
50
+ "BcfTopicForm": {
51
+ "dragDropImageText": "Bitte wählen Sie eine Datei aus.",
52
+ "addPictureButton": "Fügen Sie ein Bild hinzu.",
53
+ "titlePlaceholder": "Titel *",
54
+ "titleErrorMessage": "Titel fehlt",
55
+ "typeLabel": "Typ",
56
+ "priorityLabel": "Priorität",
57
+ "statusLabel": "Status",
58
+ "stageLabel": "Phase",
59
+ "assignedToLabel": "Zugewiesen an",
60
+ "dueDateLabel": "Fälligkeitsdatum (TT.MM.JJJJ)",
61
+ "dateErrorMessage": "Datumsformat oder falsches Datum",
62
+ "dateExample": "(Z. B.: 28.04.2022)",
63
+ "descriptionLabel": "Beschreibung",
64
+ "tagsPlaceholder": "Tags",
65
+ "createButton": "Bestätigen",
66
+ "updateButton": "Diesen BCF bearbeiten",
67
+ "modalText": "Sie sind dabei, die Bearbeitung der Ausgabe {Name} zu beenden, aber es gibt noch ungespeicherte Änderungen.",
68
+ "cancelButton": "Änderungen verwerfen",
69
+ "continueButton": "Änderungen fortsetzen"
70
+ },
71
+ "BcfTopicOverview": {
72
+ "openViewer": "Im Viewer öffnen",
73
+ "openViewerNoModels": "Es sind keine Vorlagen zur Ansicht bereit",
74
+ "elements": "Elemente",
75
+ "noElements": "0 Element",
76
+ "type": "Typ:",
77
+ "noTypeSpecified": "Kein Typ angegeben",
78
+ "description": "Beschreibung:",
79
+ "noDescriptionProvided": "Keine Beschreibung angegeben",
80
+ "assignedTo": "Zugeteilt an:",
81
+ "notAssigned": "Nicht zugewiesen",
82
+ "dueDate": "Fälligkeitsdatum:",
83
+ "noDueDate": "Kein Fälligkeitsdatum",
84
+ "informations": "Informationen",
85
+ "status": "Status:",
86
+ "noStatusSpecified": "Kein Status angegeben",
87
+ "stage": "Phase:",
88
+ "noStageProvided": "Keine Phase angegeben",
89
+ "priority": "Priorität:",
90
+ "priorityNotDefined": "Nicht definiert",
91
+ "tags": "Tags:",
92
+ "noTags": "Keine Tags",
93
+ "commentButton": "Ein Kommentar veröffentlichen",
94
+ "deleteText": "Sie löschen jetzt {Name}",
95
+ "deleteBcfButton": "Dieses BCF löschen",
96
+ "keepBcfButton": "Dieses BCF beibehalten"
97
+ },
98
+ "BcfTopicsTable": {
99
+ "headers": {
100
+ "index": "#",
101
+ "priority": "Priorität",
102
+ "status": "Status",
103
+ "title": "Titel",
104
+ "creator": "Erstellt durch",
105
+ "date": "Datum",
106
+ "actions": "Aktionen"
107
+ }
108
+ },
109
+
110
+ "BcfTopicActionsCell": {
111
+ "seeButton": "Anzeigen"
112
+ },
113
+ "BcfTopicComments": {
114
+ "commentButton": "Ein Kommentar verfassen",
115
+ "commentLabel": "Ein Kommentar verfassen",
116
+ "commentText": "Kommentar",
117
+ "cancelButton": "Abbrechen",
118
+ "publishButton": "Veröffentlichen",
119
+ "commentsText": "Kommentare",
120
+ "deleteCommentText": "Diesen Kommentar löschen?",
121
+ "deleteButton": "Löschen"
122
+ },
123
+ "BcfTopicPriorityCell": {
124
+ "noPriority": "Keine"
125
+ },
126
+ "SettingCard": {
127
+ "addButton": "ein Element hinzufügen",
128
+ "cancelButton": "Abbrechen",
129
+ "validateButton": "Bestätigen",
130
+ "deleteExtensionText": "Diesen Parameter löschen",
131
+ "deleteButton": "Löschen",
132
+ "title": {
133
+ "Priority": "Prioritäten",
134
+ "Label": "Tags",
135
+ "Status": "Status",
136
+ "Type": "Typen",
137
+ "Stage": "Phasen"
138
+ },
139
+ "input": {
140
+ "Priority": "Eine neue Priorität hinzufügen",
141
+ "Label": "Ein neues Etikett hinzufügen",
142
+ "Status": "Einen neuen Status hinzufügen",
143
+ "Type": "Einen neuen Typ hinzufügen",
144
+ "Stage": "Eine neue Phase hinzufügen"
145
+ },
146
+ "text": {
147
+ "Priority": "Liste der Prioritäten",
148
+ "Label": "Liste von Tags",
149
+ "Status": "Liste der Status",
150
+ "Type": "Liste der Typen",
151
+ "Stage": "Liste der Phasen"
152
+ }
153
+ }
154
+ }
155
+ }
@@ -14,14 +14,12 @@
14
14
  "tagsLabel": "Tags",
15
15
  "resetButton": "Reset",
16
16
  "searchButton": "Search",
17
- "noPriority": "No priority",
18
- "undefinedStatus": "Undefined",
19
- "undefinedUser": "Undefined",
20
- "undefinedCreator": "Undefined"
17
+ "undefined": "Not defined"
21
18
  },
22
19
  "BcfSettings": {
23
20
  "goBackButton": "Back",
24
21
  "title": "BCF Settings",
22
+ "text": "Create, enter in, and list the BCF settings you would like to have for this project",
25
23
  "validateButton": "Validate BCF settings"
26
24
  },
27
25
  "BcfStatistics": {
@@ -45,41 +43,29 @@
45
43
  "noElements": "0 Element",
46
44
  "see": "See"
47
45
  },
48
- "BcfTopicCreate": {
49
- "dragDropImageText": "Please select a file",
50
- "addPictureButton": "Add a picture",
51
- "titlePlaceholder": "Title *",
52
- "titleErrorMessage": "Missing title",
53
- "typeLabel": "Type",
54
- "priorityLabel": "Priority",
55
- "statusLabel": "Status",
56
- "stageLabel": "Stage",
57
- "assignedToLabel": "Assigned to",
58
- "dueDateLabel": "Due date",
59
- "dateErrorMessage": "Date format or incorrect date",
60
- "dateExample": "(Ex: 28/04/2022)",
61
- "descriptionLabel": "Description",
62
- "labelsLabel": "Tags",
63
- "validateButton": "Validate"
64
- },
65
46
  "BcfTopicCreationCard": {
66
47
  "text": "Create a new BCF topic",
67
48
  "createBcfSideTitle": "Report a problem"
68
49
  },
69
50
  "BcfTopicForm": {
70
- "goBackButton": "Back",
71
51
  "dragDropImageText": "Please select a file",
52
+ "addObjectButton": "Object",
53
+ "addAnnotationButton": "Annotation",
72
54
  "addPictureButton": "Add a picture",
73
- "titlePlaceholder": "Title*",
55
+ "titlePlaceholder": "Title *",
74
56
  "titleErrorMessage": "Missing title",
75
57
  "typeLabel": "Type",
76
58
  "priorityLabel": "Priority",
77
59
  "statusLabel": "Status",
78
60
  "stageLabel": "Stage",
79
61
  "assignedToLabel": "Assigned to",
62
+ "dueDateLabel": "Due date",
63
+ "dateErrorMessage": "Date format or incorrect date",
64
+ "dateExample": "(Ex: 28/04/2022)",
80
65
  "descriptionLabel": "Description",
81
66
  "labelsLabel": "Tags",
82
- "editButton": "Modify this BCF",
67
+ "createButton": "Validate",
68
+ "updateButton": "Modify this BCF",
83
69
  "modalText": "You are about to quit editing issue {name} but there are unsaved changes.",
84
70
  "cancelButton": "Discard changes",
85
71
  "continueButton": "Continue editing"
@@ -106,6 +92,7 @@
106
92
  "priorityNotDefined": "Not defined",
107
93
  "tags": "Tags:",
108
94
  "noTags": "No tags",
95
+ "commentButton": "Post a comment",
109
96
  "deleteText": "You are about to delete {name}",
110
97
  "deleteBcfButton": "Delete this BCF",
111
98
  "keepBcfButton": "Keep this BCF"
@@ -0,0 +1,155 @@
1
+ {
2
+ "BcfComponents": {
3
+ "BcfFilters": {
4
+ "filtersButton": "Filtros",
5
+ "filtersTitle": "Filtros",
6
+ "priorityLabel": "Prioridad",
7
+ "statusLabel": "Estado",
8
+ "startDatePlaceholder": "Fecha de inicio",
9
+ "startDateExample": "(Ej: 28/04/2022)",
10
+ "endDatePlaceholder": "Fecha de finalización",
11
+ "endDateExample": "(Ej: 28/05/2022)",
12
+ "assignedToLabel": "Asignado a",
13
+ "creatorsLabel": "Creado por",
14
+ "tagsLabel": "Etiquetas:",
15
+ "resetButton": "Restablecer",
16
+ "searchButton": "Buscar en",
17
+ "undefined": "No definido"
18
+ },
19
+ "BcfSettings": {
20
+ "goBackButton": "Volver",
21
+ "title": "Parámetros del BCF",
22
+ "validateButton": "Validar los parámetros del BCF",
23
+ "text": "Cree, rellene y enumere los parámetros del BCF que desea tener en este proyecto"
24
+ },
25
+ "BcfStatistics": {
26
+ "emptyText": "Añada preguntas para ver las estadísticas asociadas aquí.",
27
+ "issues": "problemas",
28
+ "extension": {
29
+ "Priority": "Prioridad",
30
+ "PriorityNotDefined": "Sin prioridad",
31
+ "PriorityTitle": "Prioridades",
32
+ "Status": "Estado",
33
+ "StatusNotDefined": "Sin estado",
34
+ "StatusTitle": "Estatutos"
35
+ }
36
+ },
37
+ "BcfTopicCard": {
38
+ "priority": "Prioridad :",
39
+ "assignedTo": "Asignado a :",
40
+ "noPriority": "Sin",
41
+ "notSpecified": "No definido",
42
+ "elements": "Elementos",
43
+ "noElements": "0 Elemento",
44
+ "see": "Ver"
45
+ },
46
+ "BcfTopicCreationCard": {
47
+ "text": "Crear un nuevo tema BCF",
48
+ "createBcfSideTitle": "Informar de un problema"
49
+ },
50
+ "BcfTopicForm": {
51
+ "dragDropImageText": "Seleccione un archivo",
52
+ "addPictureButton": "Añadir una imagen",
53
+ "titlePlaceholder": "Título *",
54
+ "titleErrorMessage": "Falta el título",
55
+ "typeLabel": "Tipo",
56
+ "priorityLabel": "Prioridad",
57
+ "statusLabel": "Estado",
58
+ "stageLabel": "Fase",
59
+ "assignedToLabel": "Asignado a",
60
+ "dueDateLabel": "Fecha de vencimiento (DD/MM/AAAA)",
61
+ "dateErrorMessage": "Formato de la fecha o fecha incorrecta",
62
+ "dateExample": "(Ej: 28/04/2022)",
63
+ "descriptionLabel": "Descripción",
64
+ "tagsPlaceholder": "Etiquetas:",
65
+ "createButton": "Validar",
66
+ "updateButton": "Modificar este BCF",
67
+ "modalText": "Está a punto de salir de la edición del problema de {name} pero hay cambios sin guardar.",
68
+ "cancelButton": "Cancelar los cambios",
69
+ "continueButton": "Continuar con los cambios"
70
+ },
71
+ "BcfTopicOverview": {
72
+ "openViewer": "Abrir en el visor",
73
+ "openViewerNoModels": "No hay ningún modelo listo para la visualización",
74
+ "elements": "Elementos",
75
+ "noElements": "0 Elemento",
76
+ "type": "Tipo:",
77
+ "noTypeSpecified": "No se especifica el tipo",
78
+ "description": "Descripción:",
79
+ "noDescriptionProvided": "No hay descripción",
80
+ "assignedTo": "Asignado a :",
81
+ "notAssigned": "No asignado",
82
+ "dueDate": "Plazo :",
83
+ "noDueDate": "Sin fecha de vencimiento",
84
+ "informations": "Información",
85
+ "status": "Estado:",
86
+ "noStatusSpecified": "No se especifica el estado",
87
+ "stage": "Fase:",
88
+ "noStageProvided": "No se indica ninguna fase",
89
+ "priority": "Prioridad:",
90
+ "priorityNotDefined": "No definido",
91
+ "tags": "Etiquetas :",
92
+ "noTags": "Sin etiquetas",
93
+ "commentButton": "Publicar un comentario",
94
+ "deleteText": "Estás a punto de borrar {name}",
95
+ "deleteBcfButton": "Borrar este BCF",
96
+ "keepBcfButton": "Mantenga este BCF"
97
+ },
98
+ "BcfTopicsTable": {
99
+ "headers": {
100
+ "index": "#",
101
+ "priority": "Prioridad",
102
+ "status": "Estado",
103
+ "title": "Título",
104
+ "creator": "Creado por",
105
+ "date": "Fecha",
106
+ "actions": "Acciones"
107
+ }
108
+ },
109
+
110
+ "BcfTopicActionsCell": {
111
+ "seeButton": "Ver"
112
+ },
113
+ "BcfTopicComments": {
114
+ "commentButton": "Publicar un comentario",
115
+ "commentLabel": "Publicar un comentario",
116
+ "commentText": "Comentario",
117
+ "cancelButton": "Cancelar",
118
+ "publishButton": "Publicar",
119
+ "commentsText": "comentarios",
120
+ "deleteCommentText": "¿Borrar este comentario?",
121
+ "deleteButton": "Borrar"
122
+ },
123
+ "BcfTopicPriorityCell": {
124
+ "noPriority": "Sin"
125
+ },
126
+ "SettingCard": {
127
+ "addButton": "añadir un elemento",
128
+ "cancelButton": "Cancelar",
129
+ "validateButton": "Validar",
130
+ "deleteExtensionText": "Borrar esta configuración",
131
+ "deleteButton": "Borrar",
132
+ "title": {
133
+ "Priority": "Prioridades",
134
+ "Label": "Etiquetas:",
135
+ "Status": "Estatutos",
136
+ "Type": "Tipos",
137
+ "Stage": "Fases"
138
+ },
139
+ "input": {
140
+ "Priority": "Añadir una nueva prioridad",
141
+ "Label": "Añadir una nueva etiqueta",
142
+ "Status": "Añadir un nuevo estado",
143
+ "Type": "Añadir un nuevo tipo",
144
+ "Stage": "Añadir una nueva fase"
145
+ },
146
+ "text": {
147
+ "Priority": "Lista de prioridades",
148
+ "Label": "Lista de etiquetas",
149
+ "Status": "Lista de estatutos",
150
+ "Type": "Lista de tipos",
151
+ "Stage": "Lista de fases"
152
+ }
153
+ }
154
+ }
155
+ }
@@ -6,18 +6,17 @@
6
6
  "priorityLabel": "Priorité",
7
7
  "statusLabel": "Statut",
8
8
  "startDatePlaceholder": "Date de début",
9
+ "startDateError": "Date invalide",
9
10
  "startDateExample": "(Ex: 28/04/2022)",
10
11
  "endDatePlaceholder": "Date de fin",
12
+ "endDateError": "Date invalide",
11
13
  "endDateExample": "(Ex: 28/05/2022)",
12
14
  "assignedToLabel": "Assigné à",
13
15
  "creatorsLabel": "Créé par",
14
16
  "tagsLabel": "Tags",
15
17
  "resetButton": "Réinitialiser",
16
18
  "searchButton": "Rechercher",
17
- "noPriority": "Aucune priorité",
18
- "undefinedStatus": "Non défini",
19
- "undefinedUser": "Non défini",
20
- "undefinedCreator": "Non défini"
19
+ "undefined": "Non défini"
21
20
  },
22
21
  "BcfSettings": {
23
22
  "goBackButton": "Retour",
@@ -46,41 +45,29 @@
46
45
  "notSpecified": "Non défini",
47
46
  "see": "Voir"
48
47
  },
49
- "BcfTopicCreate": {
50
- "dragDropImageText": "Veuillez sélectionner un fichier",
51
- "addPictureButton": "Ajouter une image",
52
- "titlePlaceholder": "Titre *",
53
- "titleErrorMessage": "Titre manquant",
54
- "typeLabel": "Type",
55
- "priorityLabel": "Priorité",
56
- "statusLabel": "Statut",
57
- "stageLabel": "Phase",
58
- "assignedToLabel": "Assigné à",
59
- "dueDateLabel": "Date d'échéance (JJ/MM/AAAA)",
60
- "dateErrorMessage": "Format de date ou date incorrecte",
61
- "dateExample": "(Ex: 28/04/2022)",
62
- "descriptionLabel": "Description",
63
- "labelsLabel": "Tags",
64
- "validateButton": "Valider"
65
- },
66
48
  "BcfTopicCreationCard": {
67
49
  "text": "Créer un nouveau topic BCF",
68
50
  "createBcfSideTitle": "Signaler un problème"
69
51
  },
70
52
  "BcfTopicForm": {
71
- "goBackButton": "Retour",
72
53
  "dragDropImageText": "Veuillez sélectionner un fichier",
54
+ "addObjectButton": "Objet",
55
+ "addAnnotationButton": "Annotation",
73
56
  "addPictureButton": "Ajouter une image",
74
- "titlePlaceholder": "Titre*",
57
+ "titlePlaceholder": "Titre *",
75
58
  "titleErrorMessage": "Titre manquant",
76
59
  "typeLabel": "Type",
77
60
  "priorityLabel": "Priorité",
78
61
  "statusLabel": "Statut",
79
62
  "stageLabel": "Phase",
80
63
  "assignedToLabel": "Assigné à",
64
+ "dueDateLabel": "Date d'échéance (JJ/MM/AAAA)",
65
+ "dateErrorMessage": "Format de date ou date incorrecte",
66
+ "dateExample": "(Ex: 28/04/2022)",
81
67
  "descriptionLabel": "Description",
82
68
  "labelsLabel": "Tags",
83
- "editButton": "Modifier ce BCF",
69
+ "createButton": "Valider",
70
+ "updateButton": "Modifier ce BCF",
84
71
  "modalText": "Vous êtes sur le point de quitter l'édition de l'issue {name} mais il y'a des modifications non enregistrées.",
85
72
  "cancelButton": "Annuler les modifications",
86
73
  "continueButton": "Continuer les modifications"