@bimdata/bcf-components 1.0.3 → 1.0.4-rc.1

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
@@ -3,7 +3,7 @@
3
3
  A set (library) of Vue components to manage BCF and build BCF related
4
4
  features into your app.
5
5
 
6
- Made with :heart: by [BIMData.io](https://github.com/bimdata).
6
+ Made with :heart: by [BIMData.io](https://bimdata.io/).
7
7
 
8
8
  ## Usage
9
9
 
@@ -21,11 +21,13 @@ In order to use the library in your Vue 2 app you'll need to use
21
21
  [Vue Composition API plugin](https://github.com/vuejs/composition-api).
22
22
 
23
23
  First add it to your dependencies:
24
+
24
25
  ```bash
25
26
  npm install @vue/composition-api
26
27
  ```
27
28
 
28
29
  Then, in your application bootstrap script, add the following:
30
+
29
31
  ```js
30
32
  import Vue from "vue";
31
33
  import VueCompositionApi from "@vue/composition-api";
@@ -36,15 +38,66 @@ Vue.use(VueCompositionApi);
36
38
  ```
37
39
 
38
40
  You can now use library components like so:
41
+
39
42
  ```js
40
- import { HelloWorld } from "@bimdata/bcf-components/dist/vue2/bcf-components.es.js";
43
+ import { components } from "@bimdata/bcf-components/dist/vue2/bcf-components.es.js";
44
+
45
+ const { BcfTopicCard } = components;
41
46
  ```
42
47
 
43
48
  ### Vue 3.x application
44
49
 
45
- In Vue 3 app you can directly use components that way:
50
+ **Using Vue plugin**
51
+
52
+ The package provide a Vue plugin that can be used to setup the library for your app
53
+ and make all components available globally.
54
+
55
+ ```js
56
+ import { createApp } from "vue";
57
+ import { createI18n } from "vue-i18n";
58
+ import { makeBIMDataApiClient } from "@bimdata/typescript-fetch-api-client";
59
+ // Import Vue 3 plugin factory
60
+ import BIMDataBcfComponents from "@bimdata/bcf-components/vue3-plugin.js";
61
+
62
+ // Instanciate i18n plugin (v9+)
63
+ const i18nPlugin = createI18n({ ... });
64
+ // Instanciate BIMData API client (v8.2+)
65
+ const apiClient = makeBIMDataApiClient({ ... });
66
+
67
+ const app = createApp()
68
+ .use(i18nPlugin)
69
+ // Provide both i18n plugin and API client as plugin config
70
+ .use(BIMDataBcfComponents({ i18nPlugin, apiClient }));
71
+ ...
72
+ ```
73
+
74
+ It is also possible to provide your own translations for i18n by removing
75
+ `i18nPlugin` from plugin config and adding translation keys from
76
+ [`src/i18n/lang/fr.js`](./src/i18n/lang/fr.json) to the translation files of your app.
77
+
78
+ **Using "manual" setup**
79
+
80
+ To setup the library without the use of the plugin you have to provide your own translations
81
+ (as described above in the *Using Vue plugin* section) and inject an API client like so:
82
+
46
83
  ```js
47
- import { HelloWorld } from "@bimdata/bcf-components";
84
+ import { makeBIMDataApiClient } from "@bimdata/typescript-fetch-api-client";
85
+ // Import the `setApiClient` function
86
+ import { setApiClient } from "@bimdata/bcf-components";
87
+
88
+ // Instanciate BIMData API client (v8.2+)
89
+ const apiClient = makeBIMDataApiClient({ ... });
90
+
91
+ // Inject API client
92
+ setApiClient(apiClient);
93
+ ```
94
+
95
+ Then you can directly use components in your app that way:
96
+
97
+ ```js
98
+ import { components } from "@bimdata/bcf-components";
99
+
100
+ const { BcfTopicCard } = components;
48
101
  ```
49
102
 
50
103
  ## Build
@@ -0,0 +1,172 @@
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
+ "noPriority": "Keine Priorität",
18
+ "undefinedStatus": "Nicht definiert",
19
+ "undefinedUser": "Nicht definiert",
20
+ "undefinedCreator": "Nicht definiert"
21
+ },
22
+ "BcfSettings": {
23
+ "goBackButton": "Zurück",
24
+ "title": "BCF-Parameter",
25
+ "text": "Erstellen, füllen und listen Sie die BCF-Einstellungen auf, die Sie für dieses Projekt haben möchten.",
26
+ "validateButton": "Die BCF-Parameter anerkennen"
27
+ },
28
+ "BcfStatistics": {
29
+ "emptyText": "Fügen Sie Fragen hinzu, um zugehörige Statistiken hier anzuzeigen.",
30
+ "issues": "Probleme",
31
+ "extension": {
32
+ "Priority": "Priorität",
33
+ "PriorityNotDefined": "Keine Priorität",
34
+ "PriorityTitle": "Prioritäten",
35
+ "Status": "Status",
36
+ "StatusNotDefined": "Kein Status",
37
+ "StatusTitle": "Status"
38
+ }
39
+ },
40
+ "BcfTopicCard": {
41
+ "priority": "Priorität:",
42
+ "assignedTo": "Zugewiesen an :",
43
+ "noPriority": "Keine",
44
+ "notSpecified": "Nicht definiert",
45
+ "elements": "Elemente",
46
+ "noElements": "0 Elemente",
47
+ "see": "Anzeigen"
48
+ },
49
+ "BcfTopicCreate": {
50
+ "dragDropImageText": "Bitte wählen Sie eine Datei aus",
51
+ "addPictureButton": "Ein Bild hinzufügen",
52
+ "titlePlaceholder": "Titel *",
53
+ "titleErrorMessage": "Fehlender Titel",
54
+ "typeLabel": "Typ",
55
+ "priorityLabel": "Priorität",
56
+ "statusLabel": "Status",
57
+ "stageLabel": "Phase",
58
+ "assignedToLabel": "Zugewiesen an",
59
+ "dueDateLabel": "Fälligkeitsdatum (TT.MM.JJJJ)",
60
+ "dateErrorMessage": "Datumsformat oder falsches Datum",
61
+ "dateExample": "(Z. B.: 28.04.2022)",
62
+ "descriptionLabel": "Beschreibung",
63
+ "tagsLabel": "Tags",
64
+ "validateButton": "Bestätigen"
65
+ },
66
+ "BcfTopicCreationCard": {
67
+ "text": "Ein neues BCF-Thema erstellen",
68
+ "createBcfSideTitle": "Ein Problem melden"
69
+ },
70
+ "BcfTopicForm": {
71
+ "goBackButton": "Zurück",
72
+ "dragDropImageText": "Bitte wählen Sie eine Datei aus.",
73
+ "addPictureButton": "Fügen Sie ein Bild hinzu.",
74
+ "titlePlaceholder": "Titel*",
75
+ "titleErrorMessage": "Titel fehlt",
76
+ "typeLabel": "Typ",
77
+ "priorityLabel": "Priorität",
78
+ "statusLabel": "Status",
79
+ "stageLabel": "Phase",
80
+ "assignedToLabel": "Zugewiesen an",
81
+ "descriptionLabel": "Beschreibung",
82
+ "tagsPlaceholder": "Tags",
83
+ "editButton": "Diesen BCF bearbeiten",
84
+ "modalText": "Sie sind dabei, die Bearbeitung der Ausgabe {Name} zu beenden, aber es gibt noch ungespeicherte Änderungen.",
85
+ "cancelButton": "Änderungen verwerfen",
86
+ "continueButton": "Änderungen fortsetzen"
87
+ },
88
+ "BcfTopicOverview": {
89
+ "openViewer": "Im Viewer öffnen",
90
+ "openViewerNoModels": "Es sind keine Vorlagen zur Ansicht bereit",
91
+ "elements": "Elemente",
92
+ "noElements": "0 Element",
93
+ "type": "Typ:",
94
+ "noTypeSpecified": "Kein Typ angegeben",
95
+ "description": "Beschreibung:",
96
+ "noDescriptionProvided": "Keine Beschreibung angegeben",
97
+ "assignedTo": "Zugeteilt an:",
98
+ "notAssigned": "Nicht zugewiesen",
99
+ "dueDate": "Fälligkeitsdatum:",
100
+ "noDueDate": "Kein Fälligkeitsdatum",
101
+ "informations": "Informationen",
102
+ "status": "Status:",
103
+ "noStatusSpecified": "Kein Status angegeben",
104
+ "stage": "Phase:",
105
+ "noStageProvided": "Keine Phase angegeben",
106
+ "priority": "Priorität:",
107
+ "priorityNotDefined": "Nicht definiert",
108
+ "tags": "Tags:",
109
+ "noTags": "Keine Tags",
110
+ "commentButton": "Ein Kommentar veröffentlichen",
111
+ "deleteText": "Sie löschen jetzt {Name}",
112
+ "deleteBcfButton": "Dieses BCF löschen",
113
+ "keepBcfButton": "Dieses BCF beibehalten"
114
+ },
115
+ "BcfTopicsTable": {
116
+ "headers": {
117
+ "index": "#",
118
+ "priority": "Priorität",
119
+ "status": "Status",
120
+ "title": "Titel",
121
+ "creator": "Erstellt durch",
122
+ "date": "Datum",
123
+ "actions": "Aktionen"
124
+ }
125
+ },
126
+
127
+ "BcfTopicActionsCell": {
128
+ "seeButton": "Anzeigen"
129
+ },
130
+ "BcfTopicComments": {
131
+ "commentButton": "Ein Kommentar verfassen",
132
+ "commentLabel": "Ein Kommentar verfassen",
133
+ "commentText": "Kommentar",
134
+ "cancelButton": "Abbrechen",
135
+ "publishButton": "Veröffentlichen",
136
+ "commentsText": "Kommentare",
137
+ "deleteCommentText": "Diesen Kommentar löschen?",
138
+ "deleteButton": "Löschen"
139
+ },
140
+ "BcfTopicPriorityCell": {
141
+ "noPriority": "Keine"
142
+ },
143
+ "SettingCard": {
144
+ "addButton": "ein Element hinzufügen",
145
+ "cancelButton": "Abbrechen",
146
+ "validateButton": "Bestätigen",
147
+ "deleteExtensionText": "Diesen Parameter löschen",
148
+ "deleteButton": "Löschen",
149
+ "title": {
150
+ "Priority": "Prioritäten",
151
+ "Label": "Tags",
152
+ "Status": "Status",
153
+ "Type": "Typen",
154
+ "Stage": "Phasen"
155
+ },
156
+ "input": {
157
+ "Priority": "Eine neue Priorität hinzufügen",
158
+ "Label": "Ein neues Etikett hinzufügen",
159
+ "Status": "Einen neuen Status hinzufügen",
160
+ "Type": "Einen neuen Typ hinzufügen",
161
+ "Stage": "Eine neue Phase hinzufügen"
162
+ },
163
+ "text": {
164
+ "Priority": "Liste der Prioritäten",
165
+ "Label": "Liste von Tags",
166
+ "Status": "Liste der Status",
167
+ "Type": "Liste der Typen",
168
+ "Stage": "Liste der Phasen"
169
+ }
170
+ }
171
+ }
172
+ }
@@ -22,6 +22,7 @@
22
22
  "BcfSettings": {
23
23
  "goBackButton": "Back",
24
24
  "title": "BCF Settings",
25
+ "text": "Create, enter in, and list the BCF settings you would like to have for this project",
25
26
  "validateButton": "Validate BCF settings"
26
27
  },
27
28
  "BcfStatistics": {
@@ -106,6 +107,7 @@
106
107
  "priorityNotDefined": "Not defined",
107
108
  "tags": "Tags:",
108
109
  "noTags": "No tags",
110
+ "commentButton": "Post a comment",
109
111
  "deleteText": "You are about to delete {name}",
110
112
  "deleteBcfButton": "Delete this BCF",
111
113
  "keepBcfButton": "Keep this BCF"
@@ -0,0 +1,172 @@
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
+ "noPriority": "Sin prioridad",
18
+ "undefinedStatus": "No definido",
19
+ "undefinedUser": "No definido",
20
+ "undefinedCreator": "No definido"
21
+ },
22
+ "BcfSettings": {
23
+ "goBackButton": "Volver",
24
+ "title": "Parámetros del BCF",
25
+ "validateButton": "Validar los parámetros del BCF",
26
+ "text": "Cree, rellene y enumere los parámetros del BCF que desea tener en este proyecto"
27
+ },
28
+ "BcfStatistics": {
29
+ "emptyText": "Añada preguntas para ver las estadísticas asociadas aquí.",
30
+ "issues": "problemas",
31
+ "extension": {
32
+ "Priority": "Prioridad",
33
+ "PriorityNotDefined": "Sin prioridad",
34
+ "PriorityTitle": "Prioridades",
35
+ "Status": "Estado",
36
+ "StatusNotDefined": "Sin estado",
37
+ "StatusTitle": "Estatutos"
38
+ }
39
+ },
40
+ "BcfTopicCard": {
41
+ "priority": "Prioridad :",
42
+ "assignedTo": "Asignado a :",
43
+ "noPriority": "Sin",
44
+ "notSpecified": "No definido",
45
+ "elements": "Elementos",
46
+ "noElements": "0 Elemento",
47
+ "see": "Ver"
48
+ },
49
+ "BcfTopicCreate": {
50
+ "dragDropImageText": "Seleccione un archivo",
51
+ "addPictureButton": "Añadir una imagen",
52
+ "titlePlaceholder": "Título *",
53
+ "titleErrorMessage": "Falta el título",
54
+ "typeLabel": "Tipo",
55
+ "priorityLabel": "Prioridad",
56
+ "statusLabel": "Estado",
57
+ "stageLabel": "Fase",
58
+ "assignedToLabel": "Asignado a",
59
+ "dueDateLabel": "Fecha de vencimiento (DD/MM/AAAA)",
60
+ "dateErrorMessage": "Formato de la fecha o fecha incorrecta",
61
+ "dateExample": "(Ej: 28/04/2022)",
62
+ "descriptionLabel": "Descripción",
63
+ "tagsLabel": "Etiquetas:",
64
+ "validateButton": "Validar"
65
+ },
66
+ "BcfTopicCreationCard": {
67
+ "text": "Crear un nuevo tema BCF",
68
+ "createBcfSideTitle": "Informar de un problema"
69
+ },
70
+ "BcfTopicForm": {
71
+ "goBackButton": "Volver",
72
+ "dragDropImageText": "Seleccione un archivo",
73
+ "addPictureButton": "Añadir una imagen",
74
+ "titlePlaceholder": "Título",
75
+ "titleErrorMessage": "Falta el título",
76
+ "typeLabel": "Tipo",
77
+ "priorityLabel": "Prioridad",
78
+ "statusLabel": "Estado",
79
+ "stageLabel": "Fase",
80
+ "assignedToLabel": "Asignado a",
81
+ "descriptionLabel": "Descripción",
82
+ "tagsPlaceholder": "Etiquetas:",
83
+ "editButton": "Modificar este BCF",
84
+ "modalText": "Está a punto de salir de la edición del problema de {name} pero hay cambios sin guardar.",
85
+ "cancelButton": "Cancelar los cambios",
86
+ "continueButton": "Continuar con los cambios"
87
+ },
88
+ "BcfTopicOverview": {
89
+ "openViewer": "Abrir en el visor",
90
+ "openViewerNoModels": "No hay ningún modelo listo para la visualización",
91
+ "elements": "Elementos",
92
+ "noElements": "0 Elemento",
93
+ "type": "Tipo:",
94
+ "noTypeSpecified": "No se especifica el tipo",
95
+ "description": "Descripción:",
96
+ "noDescriptionProvided": "No hay descripción",
97
+ "assignedTo": "Asignado a :",
98
+ "notAssigned": "No asignado",
99
+ "dueDate": "Plazo :",
100
+ "noDueDate": "Sin fecha de vencimiento",
101
+ "informations": "Información",
102
+ "status": "Estado:",
103
+ "noStatusSpecified": "No se especifica el estado",
104
+ "stage": "Fase:",
105
+ "noStageProvided": "No se indica ninguna fase",
106
+ "priority": "Prioridad:",
107
+ "priorityNotDefined": "No definido",
108
+ "tags": "Etiquetas :",
109
+ "noTags": "Sin etiquetas",
110
+ "commentButton": "Publicar un comentario",
111
+ "deleteText": "Estás a punto de borrar {name}",
112
+ "deleteBcfButton": "Borrar este BCF",
113
+ "keepBcfButton": "Mantenga este BCF"
114
+ },
115
+ "BcfTopicsTable": {
116
+ "headers": {
117
+ "index": "#",
118
+ "priority": "Prioridad",
119
+ "status": "Estado",
120
+ "title": "Título",
121
+ "creator": "Creado por",
122
+ "date": "Fecha",
123
+ "actions": "Acciones"
124
+ }
125
+ },
126
+
127
+ "BcfTopicActionsCell": {
128
+ "seeButton": "Ver"
129
+ },
130
+ "BcfTopicComments": {
131
+ "commentButton": "Publicar un comentario",
132
+ "commentLabel": "Publicar un comentario",
133
+ "commentText": "Comentario",
134
+ "cancelButton": "Cancelar",
135
+ "publishButton": "Publicar",
136
+ "commentsText": "comentarios",
137
+ "deleteCommentText": "¿Borrar este comentario?",
138
+ "deleteButton": "Borrar"
139
+ },
140
+ "BcfTopicPriorityCell": {
141
+ "noPriority": "Sin"
142
+ },
143
+ "SettingCard": {
144
+ "addButton": "añadir un elemento",
145
+ "cancelButton": "Cancelar",
146
+ "validateButton": "Validar",
147
+ "deleteExtensionText": "Borrar esta configuración",
148
+ "deleteButton": "Borrar",
149
+ "title": {
150
+ "Priority": "Prioridades",
151
+ "Label": "Etiquetas:",
152
+ "Status": "Estatutos",
153
+ "Type": "Tipos",
154
+ "Stage": "Fases"
155
+ },
156
+ "input": {
157
+ "Priority": "Añadir una nueva prioridad",
158
+ "Label": "Añadir una nueva etiqueta",
159
+ "Status": "Añadir un nuevo estado",
160
+ "Type": "Añadir un nuevo tipo",
161
+ "Stage": "Añadir una nueva fase"
162
+ },
163
+ "text": {
164
+ "Priority": "Lista de prioridades",
165
+ "Label": "Lista de etiquetas",
166
+ "Status": "Lista de estatutos",
167
+ "Type": "Lista de tipos",
168
+ "Stage": "Lista de fases"
169
+ }
170
+ }
171
+ }
172
+ }
@@ -0,0 +1,172 @@
1
+ {
2
+ "BcfComponents": {
3
+ "BcfFilters": {
4
+ "filtersButton": "Filtri",
5
+ "filtersTitle": "Filtri",
6
+ "priorityLabel": "Priorità",
7
+ "statusLabel": "Stato",
8
+ "startDatePlaceholder": "Data di inizio",
9
+ "startDateExample": "(Ad es. 28/04/2022)",
10
+ "endDatePlaceholder": "Data di fine",
11
+ "endDateExample": "(Ad es. 28/05/2022)",
12
+ "assignedToLabel": "Assegnato a",
13
+ "creatorsLabel": "Creato da",
14
+ "tagsLabel": "Etichette",
15
+ "resetButton": "Ripristina",
16
+ "searchButton": "Cerca",
17
+ "noPriority": "Nessuna priorità",
18
+ "undefinedStatus": "Non definito",
19
+ "undefinedUser": "Non definito",
20
+ "undefinedCreator": "Non definito"
21
+ },
22
+ "BcfSettings": {
23
+ "goBackButton": "Indietro",
24
+ "title": "Parametri BCF",
25
+ "validateButton": "Conferma i parametri BCF",
26
+ "text": "Creare, notificare e elencare i parametri BCF che si desidera avere su questo progetto"
27
+ },
28
+ "BcfStatistics": {
29
+ "emptyText": "Aggiungi delle domande per vedere le statistiche associate qui.",
30
+ "issues": "problemi",
31
+ "extension": {
32
+ "Priority": "Priorità",
33
+ "PriorityNotDefined": "Nessuna priorità",
34
+ "PriorityTitle": "Priorità",
35
+ "Status": "Stato",
36
+ "StatusNotDefined": "Nessuno stato",
37
+ "StatusTitle": "Stati"
38
+ }
39
+ },
40
+ "BcfTopicCard": {
41
+ "priority": "Priorità:",
42
+ "assignedTo": "Assegnato a:",
43
+ "noPriority": "Nessuno",
44
+ "notSpecified": "Non definito",
45
+ "elements": "Elementi",
46
+ "noElements": "0 elementi",
47
+ "see": "Visualizza"
48
+ },
49
+ "BcfTopicCreate": {
50
+ "dragDropImageText": "Seleziona un file",
51
+ "addPictureButton": "Aggiungi un'immagine",
52
+ "titlePlaceholder": "Titolo*",
53
+ "titleErrorMessage": "Titolo assente",
54
+ "typeLabel": "Tipo",
55
+ "priorityLabel": "Priorità",
56
+ "statusLabel": "Stato",
57
+ "stageLabel": "Fase",
58
+ "assignedToLabel": "Assegnato a",
59
+ "dueDateLabel": "Data di scadenza (GG/MM/AAAA)",
60
+ "dateErrorMessage": "Formato della data o data errati",
61
+ "dateExample": "(Ad es. 28/04/2022)",
62
+ "descriptionLabel": "Descrizione",
63
+ "tagsLabel": "Etichette",
64
+ "validateButton": "Conferma"
65
+ },
66
+ "BcfTopicCreationCard": {
67
+ "text": "Crea un nuovo topic BCF",
68
+ "createBcfSideTitle": "Segnala un problema"
69
+ },
70
+ "BcfTopicForm": {
71
+ "goBackButton": "Indietro",
72
+ "dragDropImageText": "Selezionare un file",
73
+ "addPictureButton": "Aggiungere un'immagine",
74
+ "titlePlaceholder": "Titolo*",
75
+ "titleErrorMessage": "Titolo mancante",
76
+ "typeLabel": "Tipo",
77
+ "priorityLabel": "Priorità",
78
+ "statusLabel": "Stato",
79
+ "stageLabel": "Fase",
80
+ "assignedToLabel": "Assegnato a",
81
+ "descriptionLabel": "Descrizione",
82
+ "tagsPlaceholder": "Tags",
83
+ "editButton": "Modificare questo BCF",
84
+ "modalText": "State per abbandonare la modifica di {name} ma ci sono modifiche non salvate.",
85
+ "cancelButton": "Annullare le modifiche",
86
+ "continueButton": "Continuare le modifiche"
87
+ },
88
+ "BcfTopicOverview": {
89
+ "openViewer": "Apri nel visualizzatore",
90
+ "openViewerNoModels": "Non esistono modelli pronti per la visualizzazione",
91
+ "elements": "Elementi",
92
+ "noElements": "0 elementi",
93
+ "type": "Tipo:",
94
+ "noTypeSpecified": "Nessun tipo specificato",
95
+ "description": "Descrizione:",
96
+ "noDescriptionProvided": "Nessuna descrizione inserita",
97
+ "assignedTo": "Assegnato a:",
98
+ "notAssigned": "Non assegnato",
99
+ "dueDate": "Scadenza:",
100
+ "noDueDate": "Nessuna data di scadenza",
101
+ "informations": "Informazioni",
102
+ "status": "Stato:",
103
+ "noStatusSpecified": "Nessuno stato specificato",
104
+ "stage": "Fase:",
105
+ "noStageProvided": "Nessuna fase inserita",
106
+ "priority": "Priorità:",
107
+ "priorityNotDefined": "Non definita",
108
+ "tags": "Etichette:",
109
+ "noTags": "Nessuna etichetta",
110
+ "commentButton": "Pubblica un commento",
111
+ "deleteText": "Stai per eliminare {name}",
112
+ "deleteBcfButton": "Elimina questo BCF",
113
+ "keepBcfButton": "Conserva questo BCF"
114
+ },
115
+ "BcfTopicsTable": {
116
+ "headers": {
117
+ "index": "#",
118
+ "priority": "Priorità",
119
+ "status": "Stato",
120
+ "title": "Titolo",
121
+ "creator": "Creato da",
122
+ "date": "Data",
123
+ "actions": "Azioni"
124
+ }
125
+ },
126
+
127
+ "BcfTopicActionsCell": {
128
+ "seeButton": "Visualizza"
129
+ },
130
+ "BcfTopicComments": {
131
+ "commentButton": "Pubblica un commento",
132
+ "commentLabel": "Pubblica un commento",
133
+ "commentText": "Commento",
134
+ "cancelButton": "Annulla",
135
+ "publishButton": "Pubblica",
136
+ "commentsText": "commenti",
137
+ "deleteCommentText": "Eliminare questo commento?",
138
+ "deleteButton": "Elimina"
139
+ },
140
+ "BcfTopicPriorityCell": {
141
+ "noPriority": "Nessuno"
142
+ },
143
+ "SettingCard": {
144
+ "addButton": "aggiungi un elemento",
145
+ "cancelButton": "Annulla",
146
+ "validateButton": "Conferma",
147
+ "deleteExtensionText": "Elimina questo parametro",
148
+ "deleteButton": "Elimina",
149
+ "title": {
150
+ "Priority": "Priorità",
151
+ "Label": "Etichette",
152
+ "Status": "Stati",
153
+ "Type": "Tipi",
154
+ "Stage": "Fasi"
155
+ },
156
+ "input": {
157
+ "Priority": "Aggiungi una nuova priorità",
158
+ "Label": "Aggiungi una nuova etichetta",
159
+ "Status": "Aggiungi un nuovo stato",
160
+ "Type": "Aggiungi un nuovo tipo",
161
+ "Stage": "Aggiungi una nuova fase"
162
+ },
163
+ "text": {
164
+ "Priority": "Elenco delle priorità",
165
+ "Label": "Elenco delle etichette",
166
+ "Status": "Elenco degli stati",
167
+ "Type": "Elenco dei tipi",
168
+ "Stage": "Elenco delle fasi"
169
+ }
170
+ }
171
+ }
172
+ }
@@ -772,7 +772,7 @@ var render$i = function() {
772
772
  }, expression: "tags" } }), _c("div", { staticClass: "flex justify-center m-t-24" }, [_c("BIMDataButton", { staticClass: "m-r-12", attrs: { "color": "primary", "ghost": "", "radius": "" }, on: { "click": _vm.resetFilters } }, [_vm._v(_vm._s(_vm.$t("BcfComponents.BcfFilters.resetButton")))]), _c("BIMDataButton", { attrs: { "color": "primary", "fill": "", "radius": "" }, on: { "click": _vm.submitFilters } }, [_c("BIMDataIcon", { attrs: { "name": "search", "size": "xxs", "fill": "", "color": "default", "margin": "0 6px 0 0" } }), _c("span", [_vm._v(_vm._s(_vm.$t("BcfComponents.BcfFilters.searchButton")))])], 1)], 1)], 1)])], 1);
773
773
  };
774
774
  var staticRenderFns$i = [];
775
- var BcfFilters_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfFilters_2FBcfFilters_vue_src_scoped_true_lang = "";
775
+ var BcfFilters_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfFilters_2FBcfFilters_vue_src_scoped_true_lang = "";
776
776
  function normalizeComponent(scriptExports, render2, staticRenderFns2, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
777
777
  var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
778
778
  if (render2) {
@@ -1236,7 +1236,7 @@ var render$h = function() {
1236
1236
  } } }, [_c("BIMDataIcon", { attrs: { "name": "close", "size": "xxxs" } })], 1)], 1)]) : _vm._e()], 1);
1237
1237
  };
1238
1238
  var staticRenderFns$h = [];
1239
- var SettingCardItem_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfSettings_2FsettingCard_2FSettingCardItem_vue_src_scoped_true_lang = "";
1239
+ var SettingCardItem_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfSettings_2FsettingCard_2FSettingCardItem_vue_src_scoped_true_lang = "";
1240
1240
  const __vue2_script$h = {
1241
1241
  components: {
1242
1242
  BIMDataButton: c$5,
@@ -1344,7 +1344,7 @@ var render$g = function() {
1344
1344
  }), 1)], 1)]);
1345
1345
  };
1346
1346
  var staticRenderFns$g = [];
1347
- var SettingCard_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfSettings_2FsettingCard_2FSettingCard_vue_src_scoped_true_lang = "";
1347
+ var SettingCard_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfSettings_2FsettingCard_2FSettingCard_vue_src_scoped_true_lang = "";
1348
1348
  const __vue2_script$g = {
1349
1349
  components: {
1350
1350
  BIMDataButton: c$5,
@@ -1428,7 +1428,7 @@ var render$f = function() {
1428
1428
  })], 2)]);
1429
1429
  };
1430
1430
  var staticRenderFns$f = [];
1431
- var BcfSettings_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfSettings_2FBcfSettings_vue_src_scoped_true_lang = "";
1431
+ var BcfSettings_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfSettings_2FBcfSettings_vue_src_scoped_true_lang = "";
1432
1432
  const __vue2_script$f = {
1433
1433
  components: {
1434
1434
  BIMDataButton: c$5,
@@ -1725,7 +1725,7 @@ var render$e = function() {
1725
1725
  } }]) })], 1)], 1)]);
1726
1726
  };
1727
1727
  var staticRenderFns$e = [];
1728
- var BcfStatistics_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfStatistics_2FBcfStatistics_vue_src_scoped_true_lang = "";
1728
+ var BcfStatistics_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfStatistics_2FBcfStatistics_vue_src_scoped_true_lang = "";
1729
1729
  const __vue2_script$e = {
1730
1730
  components: {
1731
1731
  BIMDataPaginatedList: b$1,
@@ -1874,7 +1874,7 @@ var render$c = function() {
1874
1874
  } } }, [_vm._v(" " + _vm._s(_vm.$t("BcfComponents.BcfTopicCard.see")) + " ")])], 1)])]);
1875
1875
  };
1876
1876
  var staticRenderFns$c = [];
1877
- var BcfTopicCard_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicCard_2FBcfTopicCard_vue_src_scoped_true_lang = "";
1877
+ var BcfTopicCard_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicCard_2FBcfTopicCard_vue_src_scoped_true_lang = "";
1878
1878
  const __vue2_script$c = {
1879
1879
  components: {
1880
1880
  BcfTopicDefaultImage,
@@ -2103,7 +2103,7 @@ var render$b = function() {
2103
2103
  }, expression: "topicLabels" } })], 1)], 2), _c("div", { staticClass: "bcf-topic-create__footer" }, [_c("BIMDataButton", { attrs: { "disabled": !_vm.topicTitle, "width": "100%", "color": "primary", "fill": "", "radius": "" }, on: { "click": _vm.submit } }, [_vm._v(" " + _vm._s(_vm.$t("BcfComponents.BcfTopicCreate.validateButton")) + " ")])], 1), _vm.loading ? _c("div", { staticClass: "bcf-topic-create__loader" }, [_c("BIMDataLoading")], 1) : _vm._e()]);
2104
2104
  };
2105
2105
  var staticRenderFns$b = [];
2106
- var BcfTopicCreate_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicCreate_2FBcfTopicCreate_vue_src_scoped_true_lang = "";
2106
+ var BcfTopicCreate_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicCreate_2FBcfTopicCreate_vue_src_scoped_true_lang = "";
2107
2107
  const __vue2_script$b = {
2108
2108
  components: {
2109
2109
  BIMDataButton: c$5,
@@ -2270,7 +2270,7 @@ var render$9 = function() {
2270
2270
  } } }, [_c("BIMDataIcon", { attrs: { "name": "plus", "size": "m", "fill": "", "color": "default" } })], 1)], 1);
2271
2271
  };
2272
2272
  var staticRenderFns$9 = [];
2273
- var BcfTopicCreationCard_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicCreationCard_2FBcfTopicCreationCard_vue_src_scoped_true_lang = "";
2273
+ var BcfTopicCreationCard_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicCreationCard_2FBcfTopicCreationCard_vue_src_scoped_true_lang = "";
2274
2274
  const __vue2_script$9 = {
2275
2275
  components: {
2276
2276
  BcfTopicCreationCardImage,
@@ -2743,7 +2743,7 @@ var render$8 = function() {
2743
2743
  }, proxy: true }], null, false, 4095619558) }) : _vm._e()], 1);
2744
2744
  };
2745
2745
  var staticRenderFns$8 = [];
2746
- var BcfTopicForm_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicForm_2FBcfTopicForm_vue_src_scoped_true_lang = "";
2746
+ var BcfTopicForm_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicForm_2FBcfTopicForm_vue_src_scoped_true_lang = "";
2747
2747
  const __vue2_script$8 = {
2748
2748
  components: {
2749
2749
  BIMDataButton: c$5,
@@ -3356,7 +3356,7 @@ var render$7 = function() {
3356
3356
  } }, [_vm.user.profilePicture ? [_c("img", { attrs: { "src": _vm.user.profilePicture } })] : _vm.initials ? [_vm._v(" " + _vm._s(_vm.initials) + " ")] : [_c("BIMDataIcon", { attrs: { "name": "user", "size": "s" } })]], 2);
3357
3357
  };
3358
3358
  var staticRenderFns$7 = [];
3359
- var UserAvatar_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FuserAvatar_2FUserAvatar_vue_src_scoped_true_lang = "";
3359
+ var UserAvatar_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FuserAvatar_2FUserAvatar_vue_src_scoped_true_lang = "";
3360
3360
  const __vue2_script$7 = {
3361
3361
  props: {
3362
3362
  user: {
@@ -3407,7 +3407,7 @@ var render$6 = function() {
3407
3407
  }, expression: "text" } })], 1), _vm.loading ? [_c("BIMDataLoading")] : _vm._e()], 2);
3408
3408
  };
3409
3409
  var staticRenderFns$6 = [];
3410
- var Comment_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicOverview_2FbcfTopicComments_2Fcomment_2FComment_vue_src_scoped_true_lang = "";
3410
+ var Comment_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicOverview_2FbcfTopicComments_2Fcomment_2FComment_vue_src_scoped_true_lang = "";
3411
3411
  const __vue2_script$6 = {
3412
3412
  components: {
3413
3413
  BIMDataButton: c$5,
@@ -3524,7 +3524,7 @@ var render$5 = function() {
3524
3524
  }), 1) : _vm._e()]), _vm.loading ? [_c("BIMDataLoading")] : _vm._e()], 2);
3525
3525
  };
3526
3526
  var staticRenderFns$5 = [];
3527
- var BcfTopicComments_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicOverview_2FbcfTopicComments_2FBcfTopicComments_vue_src_scoped_true_lang = "";
3527
+ var BcfTopicComments_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicOverview_2FbcfTopicComments_2FBcfTopicComments_vue_src_scoped_true_lang = "";
3528
3528
  const __vue2_script$5 = {
3529
3529
  components: {
3530
3530
  BIMDataButton: c$5,
@@ -3625,7 +3625,7 @@ var render$4 = function() {
3625
3625
  }, proxy: true }], null, false, 2806232332) }) : _vm._e(), _vm.loading ? _c("div", [_c("BIMDataLoading")], 1) : _vm._e()], 1);
3626
3626
  };
3627
3627
  var staticRenderFns$4 = [];
3628
- var BcfTopicOverview_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicOverview_2FBcfTopicOverview_vue_src_scoped_true_lang = "";
3628
+ var BcfTopicOverview_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicOverview_2FBcfTopicOverview_vue_src_scoped_true_lang = "";
3629
3629
  const __vue2_script$4 = {
3630
3630
  components: {
3631
3631
  BcfTopicComments,
@@ -3951,7 +3951,7 @@ var render$3 = function() {
3951
3951
  } } }, [_vm._v(" " + _vm._s(_vm.$t("BcfComponents.BcfTopicActionsCell.seeButton")) + " ")])], 1);
3952
3952
  };
3953
3953
  var staticRenderFns$3 = [];
3954
- var BcfTopicActionsCell_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicsTable_2FbcfTopicActionsCell_2FBcfTopicActionsCell_vue_src_scoped_true_lang = "";
3954
+ var BcfTopicActionsCell_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicsTable_2FbcfTopicActionsCell_2FBcfTopicActionsCell_vue_src_scoped_true_lang = "";
3955
3955
  const __vue2_script$3 = {
3956
3956
  components: {
3957
3957
  BIMDataButton: c$5
@@ -3981,7 +3981,7 @@ var render$2 = function() {
3981
3981
  return _c("span", { staticClass: "bcf-topic-priority-cell", style: { color: _vm.priorityColor } }, [_vm._v(" " + _vm._s(_vm.bcfTopic.priority || _vm.$t("BcfComponents.BcfTopicPriorityCell.noPriority")) + " ")]);
3982
3982
  };
3983
3983
  var staticRenderFns$2 = [];
3984
- var BcfTopicPriorityCell_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicsTable_2FbcfTopicPriorityCell_2FBcfTopicPriorityCell_vue_src_scoped_true_lang = "";
3984
+ var BcfTopicPriorityCell_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicsTable_2FbcfTopicPriorityCell_2FBcfTopicPriorityCell_vue_src_scoped_true_lang = "";
3985
3985
  const __vue2_script$2 = {
3986
3986
  props: {
3987
3987
  bcfTopic: {
@@ -4028,7 +4028,7 @@ var render$1 = function() {
4028
4028
  } }, [_vm._v(" " + _vm._s(_vm.bcfTopic.topicStatus) + " ")]);
4029
4029
  };
4030
4030
  var staticRenderFns$1 = [];
4031
- var BcfTopicStatusCell_scss_vue_type_style_index_0_from__2Fhome_2Fnyko_2FWork_2Fprojects_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicsTable_2FbcfTopicStatusCell_2FBcfTopicStatusCell_vue_src_scoped_true_lang = "";
4031
+ var BcfTopicStatusCell_scss_vue_type_style_index_0_from__2Fhome_2Frunner_2FactionsRunner_2F_work_2FbcfComponents_2FbcfComponents_2Fsrc_2Fcomponents_2FbcfTopicsTable_2FbcfTopicStatusCell_2FBcfTopicStatusCell_vue_src_scoped_true_lang = "";
4032
4032
  const __vue2_script$1 = {
4033
4033
  props: {
4034
4034
  bcfTopic: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimdata/bcf-components",
3
- "version": "1.0.3",
3
+ "version": "1.0.4-rc.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "vue3-plugin.js"
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@vue/composition-api": "^1.4.9",
22
- "vue": "^2.6 || >=3"
22
+ "vue": "^2.6 || ^3.0"
23
23
  },
24
24
  "peerDependenciesMeta": {
25
25
  "@vue/composition-api": {
package/vue3-plugin.js CHANGED
@@ -11,7 +11,7 @@ import messages from "./dist/i18n/index.js";
11
11
  * @param {
12
12
  * {
13
13
  * apiClient: Object,
14
- * i18n: Object,
14
+ * i18nPlugin: Object,
15
15
  * includedComponents?: string[],
16
16
  * excludedComponents?: string[],
17
17
  * }
@@ -19,9 +19,9 @@ import messages from "./dist/i18n/index.js";
19
19
  */
20
20
  const pluginFactory = ({
21
21
  apiClient,
22
+ i18nPlugin,
22
23
  includedComponents = [],
23
24
  excludedComponents = [],
24
- i18n,
25
25
  } = {}) => {
26
26
  return {
27
27
  install(app) {
@@ -35,9 +35,9 @@ const pluginFactory = ({
35
35
  );
36
36
  }
37
37
 
38
- if (i18n) {
38
+ if (i18nPlugin) {
39
39
  Object.entries(messages).forEach(([locale, translations]) => {
40
- i18n.global.mergeLocaleMessage(locale, translations);
40
+ i18nPlugin.global.mergeLocaleMessage(locale, translations);
41
41
  });
42
42
  } else {
43
43
  console.warn(