@bimdata/bcf-components 1.0.3
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 +54 -0
- package/dist/i18n/index.js +7 -0
- package/dist/i18n/lang/en.json +170 -0
- package/dist/i18n/lang/fr.json +172 -0
- package/dist/vue2/bcf-components.es.js +4148 -0
- package/dist/vue2/style.css +1 -0
- package/dist/vue3/bcf-components.es.js +4970 -0
- package/dist/vue3/style.css +1 -0
- package/package.json +49 -0
- package/vue3-plugin.js +71 -0
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<h1 align="center">BIMData BCF components library</h1>
|
|
2
|
+
|
|
3
|
+
A set (library) of Vue components to manage BCF and build BCF related
|
|
4
|
+
features into your app.
|
|
5
|
+
|
|
6
|
+
Made with :heart: by [BIMData.io](https://github.com/bimdata).
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
Install:
|
|
11
|
+
```bash
|
|
12
|
+
npm install @bimdata/bcf-components
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then refer to the next sub-sections on how to use the library depending
|
|
16
|
+
on which version of Vue you're using.
|
|
17
|
+
|
|
18
|
+
### Vue 2.6+ application
|
|
19
|
+
|
|
20
|
+
In order to use the library in your Vue 2 app you'll need to use
|
|
21
|
+
[Vue Composition API plugin](https://github.com/vuejs/composition-api).
|
|
22
|
+
|
|
23
|
+
First add it to your dependencies:
|
|
24
|
+
```bash
|
|
25
|
+
npm install @vue/composition-api
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Then, in your application bootstrap script, add the following:
|
|
29
|
+
```js
|
|
30
|
+
import Vue from "vue";
|
|
31
|
+
import VueCompositionApi from "@vue/composition-api";
|
|
32
|
+
...
|
|
33
|
+
|
|
34
|
+
Vue.use(VueCompositionApi);
|
|
35
|
+
...
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
You can now use library components like so:
|
|
39
|
+
```js
|
|
40
|
+
import { HelloWorld } from "@bimdata/bcf-components/dist/vue2/bcf-components.es.js";
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Vue 3.x application
|
|
44
|
+
|
|
45
|
+
In Vue 3 app you can directly use components that way:
|
|
46
|
+
```js
|
|
47
|
+
import { HelloWorld } from "@bimdata/bcf-components";
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Build
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm run build
|
|
54
|
+
```
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"BcfComponents": {
|
|
3
|
+
"BcfFilters": {
|
|
4
|
+
"filtersButton": "Filters",
|
|
5
|
+
"filtersTitle": "Filters",
|
|
6
|
+
"priorityLabel": "Priority",
|
|
7
|
+
"statusLabel": "Status",
|
|
8
|
+
"startDatePlaceholder": "Start date",
|
|
9
|
+
"startDateExample": "(Ex: 28/04/2022)",
|
|
10
|
+
"endDatePlaceholder": "End date",
|
|
11
|
+
"endDateExample": "(Ex: 28/05/2022)",
|
|
12
|
+
"assignedToLabel": "Assigned to",
|
|
13
|
+
"creatorsLabel": "Created by",
|
|
14
|
+
"tagsLabel": "Tags",
|
|
15
|
+
"resetButton": "Reset",
|
|
16
|
+
"searchButton": "Search",
|
|
17
|
+
"noPriority": "No priority",
|
|
18
|
+
"undefinedStatus": "Undefined",
|
|
19
|
+
"undefinedUser": "Undefined",
|
|
20
|
+
"undefinedCreator": "Undefined"
|
|
21
|
+
},
|
|
22
|
+
"BcfSettings": {
|
|
23
|
+
"goBackButton": "Back",
|
|
24
|
+
"title": "BCF Settings",
|
|
25
|
+
"validateButton": "Validate BCF settings"
|
|
26
|
+
},
|
|
27
|
+
"BcfStatistics": {
|
|
28
|
+
"emptyText": "Add BCF Topics to start to have some stats here.",
|
|
29
|
+
"issues": "issues",
|
|
30
|
+
"extension": {
|
|
31
|
+
"Priority": "Priority",
|
|
32
|
+
"PriorityNotDefined": "No priority",
|
|
33
|
+
"PriorityTitle": "Priorities",
|
|
34
|
+
"Status": "Status",
|
|
35
|
+
"StatusNotDefined": "No status",
|
|
36
|
+
"StatusTitle": "Status"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"BcfTopicCard": {
|
|
40
|
+
"priority": "Priority: ",
|
|
41
|
+
"assignedTo": "Assigned to: ",
|
|
42
|
+
"noPriority": "None",
|
|
43
|
+
"notSpecified": "Not specified",
|
|
44
|
+
"elements": "Elements",
|
|
45
|
+
"noElements": "0 Element",
|
|
46
|
+
"see": "See"
|
|
47
|
+
},
|
|
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
|
+
"BcfTopicCreationCard": {
|
|
66
|
+
"text": "Create a new BCF topic",
|
|
67
|
+
"createBcfSideTitle": "Report a problem"
|
|
68
|
+
},
|
|
69
|
+
"BcfTopicForm": {
|
|
70
|
+
"goBackButton": "Back",
|
|
71
|
+
"dragDropImageText": "Please select a file",
|
|
72
|
+
"addPictureButton": "Add a picture",
|
|
73
|
+
"titlePlaceholder": "Title*",
|
|
74
|
+
"titleErrorMessage": "Missing title",
|
|
75
|
+
"typeLabel": "Type",
|
|
76
|
+
"priorityLabel": "Priority",
|
|
77
|
+
"statusLabel": "Status",
|
|
78
|
+
"stageLabel": "Stage",
|
|
79
|
+
"assignedToLabel": "Assigned to",
|
|
80
|
+
"descriptionLabel": "Description",
|
|
81
|
+
"labelsLabel": "Tags",
|
|
82
|
+
"editButton": "Modify this BCF",
|
|
83
|
+
"modalText": "You are about to quit editing issue {name} but there are unsaved changes.",
|
|
84
|
+
"cancelButton": "Discard changes",
|
|
85
|
+
"continueButton": "Continue editing"
|
|
86
|
+
},
|
|
87
|
+
"BcfTopicOverview": {
|
|
88
|
+
"openViewer": "Open in viewer",
|
|
89
|
+
"openViewerNoModels": "No model to open",
|
|
90
|
+
"elements": "Elements",
|
|
91
|
+
"noElements": "0 Element",
|
|
92
|
+
"type": "Type:",
|
|
93
|
+
"noTypeSpecified": "No type specified",
|
|
94
|
+
"description": "Description: ",
|
|
95
|
+
"noDescriptionProvided": "No description provided",
|
|
96
|
+
"assignedTo": "Assigned to:",
|
|
97
|
+
"notAssigned": "Not assigned",
|
|
98
|
+
"dueDate": "Due date:",
|
|
99
|
+
"noDueDate": "No due date",
|
|
100
|
+
"informations": "Informations",
|
|
101
|
+
"status": "Status:",
|
|
102
|
+
"noStatusSpecified": "No status specified",
|
|
103
|
+
"stage": "Stage:",
|
|
104
|
+
"noStageProvided": "No stage provided",
|
|
105
|
+
"priority": "Priority:",
|
|
106
|
+
"priorityNotDefined": "Not defined",
|
|
107
|
+
"tags": "Tags:",
|
|
108
|
+
"noTags": "No tags",
|
|
109
|
+
"deleteText": "You are about to delete {name}",
|
|
110
|
+
"deleteBcfButton": "Delete this BCF",
|
|
111
|
+
"keepBcfButton": "Keep this BCF"
|
|
112
|
+
},
|
|
113
|
+
"BcfTopicsTable": {
|
|
114
|
+
"headers": {
|
|
115
|
+
"index": "#",
|
|
116
|
+
"priority": "Priority",
|
|
117
|
+
"status": "Status",
|
|
118
|
+
"title": "Title",
|
|
119
|
+
"creator": "Created by",
|
|
120
|
+
"date": "Date",
|
|
121
|
+
"actions": "Actions"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
"BcfTopicActionsCell": {
|
|
126
|
+
"seeButton": "See"
|
|
127
|
+
},
|
|
128
|
+
"BcfTopicComments": {
|
|
129
|
+
"commentButton": "Post a comment",
|
|
130
|
+
"commentLabel": "Post a comment",
|
|
131
|
+
"commentText": "Comment",
|
|
132
|
+
"cancelButton": "Cancel",
|
|
133
|
+
"publishButton": "Publish",
|
|
134
|
+
"commentsText": "Comments",
|
|
135
|
+
"deleteCommentText": "Delete this comment ?",
|
|
136
|
+
"deleteButton": "Delete"
|
|
137
|
+
},
|
|
138
|
+
"BcfTopicPriorityCell": {
|
|
139
|
+
"noPriority": "None"
|
|
140
|
+
},
|
|
141
|
+
"SettingCard": {
|
|
142
|
+
"addButton": "add an element",
|
|
143
|
+
"cancelButton": "Cancel",
|
|
144
|
+
"validateButton": "Validate",
|
|
145
|
+
"deleteExtensionText": "Remove this setting",
|
|
146
|
+
"deleteButton": "Delete",
|
|
147
|
+
"title": {
|
|
148
|
+
"Priority": "Priorities",
|
|
149
|
+
"Label": "Labels",
|
|
150
|
+
"Status": "Status",
|
|
151
|
+
"Type": "Types",
|
|
152
|
+
"Stage": "Stages"
|
|
153
|
+
},
|
|
154
|
+
"input": {
|
|
155
|
+
"Priority": "Add a new priority",
|
|
156
|
+
"Label": "Add a new label",
|
|
157
|
+
"Status": "Add new status",
|
|
158
|
+
"Type": "Add a new type",
|
|
159
|
+
"Stage": "Add a new stage"
|
|
160
|
+
},
|
|
161
|
+
"text": {
|
|
162
|
+
"Priority": "Priority list",
|
|
163
|
+
"Label": "Labels list",
|
|
164
|
+
"Status": "Status list",
|
|
165
|
+
"Type": "Type list",
|
|
166
|
+
"Stage": "Stage list"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
{
|
|
2
|
+
"BcfComponents": {
|
|
3
|
+
"BcfFilters": {
|
|
4
|
+
"filtersButton": "Filtres",
|
|
5
|
+
"filtersTitle": "Filtres",
|
|
6
|
+
"priorityLabel": "Priorité",
|
|
7
|
+
"statusLabel": "Statut",
|
|
8
|
+
"startDatePlaceholder": "Date de début",
|
|
9
|
+
"startDateExample": "(Ex: 28/04/2022)",
|
|
10
|
+
"endDatePlaceholder": "Date de fin",
|
|
11
|
+
"endDateExample": "(Ex: 28/05/2022)",
|
|
12
|
+
"assignedToLabel": "Assigné à",
|
|
13
|
+
"creatorsLabel": "Créé par",
|
|
14
|
+
"tagsLabel": "Tags",
|
|
15
|
+
"resetButton": "Réinitialiser",
|
|
16
|
+
"searchButton": "Rechercher",
|
|
17
|
+
"noPriority": "Aucune priorité",
|
|
18
|
+
"undefinedStatus": "Non défini",
|
|
19
|
+
"undefinedUser": "Non défini",
|
|
20
|
+
"undefinedCreator": "Non défini"
|
|
21
|
+
},
|
|
22
|
+
"BcfSettings": {
|
|
23
|
+
"goBackButton": "Retour",
|
|
24
|
+
"title": "Paramètres BCF",
|
|
25
|
+
"text": "Créez, renseignez et listez les paramètres BCF que vous souhaitez avoir sur ce projet",
|
|
26
|
+
"validateButton": "Valider les paramètres BCF"
|
|
27
|
+
},
|
|
28
|
+
"BcfStatistics": {
|
|
29
|
+
"emptyText": "Ajoutez des questions pour voir les statistiques associées ici.",
|
|
30
|
+
"issues": "problèmes",
|
|
31
|
+
"extension": {
|
|
32
|
+
"Priority": "Priorité",
|
|
33
|
+
"PriorityNotDefined": "Aucune priorité",
|
|
34
|
+
"PriorityTitle": "Priorités",
|
|
35
|
+
"Status": "Statut",
|
|
36
|
+
"StatusNotDefined": "Aucun statut",
|
|
37
|
+
"StatusTitle": "Statuts"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"BcfTopicCard": {
|
|
41
|
+
"priority": "Priorité : ",
|
|
42
|
+
"noPriority": "Aucune",
|
|
43
|
+
"assignedTo": "Assigné à : ",
|
|
44
|
+
"elements": "Élements",
|
|
45
|
+
"noElements": "0 Élement",
|
|
46
|
+
"notSpecified": "Non défini",
|
|
47
|
+
"see": "Voir"
|
|
48
|
+
},
|
|
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
|
+
"BcfTopicCreationCard": {
|
|
67
|
+
"text": "Créer un nouveau topic BCF",
|
|
68
|
+
"createBcfSideTitle": "Signaler un problème"
|
|
69
|
+
},
|
|
70
|
+
"BcfTopicForm": {
|
|
71
|
+
"goBackButton": "Retour",
|
|
72
|
+
"dragDropImageText": "Veuillez sélectionner un fichier",
|
|
73
|
+
"addPictureButton": "Ajouter une image",
|
|
74
|
+
"titlePlaceholder": "Titre*",
|
|
75
|
+
"titleErrorMessage": "Titre manquant",
|
|
76
|
+
"typeLabel": "Type",
|
|
77
|
+
"priorityLabel": "Priorité",
|
|
78
|
+
"statusLabel": "Statut",
|
|
79
|
+
"stageLabel": "Phase",
|
|
80
|
+
"assignedToLabel": "Assigné à",
|
|
81
|
+
"descriptionLabel": "Description",
|
|
82
|
+
"labelsLabel": "Tags",
|
|
83
|
+
"editButton": "Modifier ce BCF",
|
|
84
|
+
"modalText": "Vous êtes sur le point de quitter l'édition de l'issue {name} mais il y'a des modifications non enregistrées.",
|
|
85
|
+
"cancelButton": "Annuler les modifications",
|
|
86
|
+
"continueButton": "Continuer les modifications"
|
|
87
|
+
},
|
|
88
|
+
"BcfTopicOverview": {
|
|
89
|
+
"openViewer": "Ouvrir dans le viewer",
|
|
90
|
+
"openViewerNoModels": "Il n'y a aucun modèle prêt pour une visualisation",
|
|
91
|
+
"elements": "Élements",
|
|
92
|
+
"noElements": "0 Élement",
|
|
93
|
+
"type": "Type :",
|
|
94
|
+
"noTypeSpecified": "Pas de type spécifié",
|
|
95
|
+
"description": "Description :",
|
|
96
|
+
"noDescriptionProvided": "Pas de description renseignée",
|
|
97
|
+
"assignedTo": "Assigné à :",
|
|
98
|
+
"notAssigned": "Non assigné",
|
|
99
|
+
"dueDate": "Échéance :",
|
|
100
|
+
"noDueDate": "Pas de date d'échéance",
|
|
101
|
+
"informations": "Informations",
|
|
102
|
+
"status": "Statut :",
|
|
103
|
+
"noStatusSpecified": "Pas de statut spécifié",
|
|
104
|
+
"stage": "Phase :",
|
|
105
|
+
"noStageProvided": "Pas de phase renseignée",
|
|
106
|
+
"priority": "Priorité :",
|
|
107
|
+
"priorityNotDefined": "Non défini",
|
|
108
|
+
"tags": "Tags :",
|
|
109
|
+
"noTags": "Pas de tags",
|
|
110
|
+
"commentButton": "Poster un commentaire",
|
|
111
|
+
"deleteText": "Vous êtes sur le point de supprimer {name}",
|
|
112
|
+
"deleteBcfButton": "Supprimer ce BCF",
|
|
113
|
+
"keepBcfButton": "Conserver ce BCF"
|
|
114
|
+
},
|
|
115
|
+
"BcfTopicsTable": {
|
|
116
|
+
"headers": {
|
|
117
|
+
"index": "#",
|
|
118
|
+
"priority": "Priorité",
|
|
119
|
+
"status": "Statut",
|
|
120
|
+
"title": "Titre",
|
|
121
|
+
"creator": "Crée par",
|
|
122
|
+
"date": "Date",
|
|
123
|
+
"actions": "Actions"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
|
|
127
|
+
"BcfTopicActionsCell": {
|
|
128
|
+
"seeButton": "Voir"
|
|
129
|
+
},
|
|
130
|
+
"BcfTopicComments": {
|
|
131
|
+
"commentButton": "Poster un commentaire",
|
|
132
|
+
"commentLabel": "Poster un commentaire",
|
|
133
|
+
"commentText": "Commentaire",
|
|
134
|
+
"cancelButton": "Annuler",
|
|
135
|
+
"publishButton": "Publier",
|
|
136
|
+
"commentsText": "commentaires",
|
|
137
|
+
"deleteCommentText": "Supprimer ce commentaire ?",
|
|
138
|
+
"deleteButton": "Supprimer"
|
|
139
|
+
},
|
|
140
|
+
"BcfTopicPriorityCell": {
|
|
141
|
+
"noPriority": "Aucune"
|
|
142
|
+
},
|
|
143
|
+
"SettingCard": {
|
|
144
|
+
"addButton": "ajouter un élément",
|
|
145
|
+
"cancelButton": "Annuler",
|
|
146
|
+
"validateButton": "Valider",
|
|
147
|
+
"deleteExtensionText": "Supprimmer ce paramètre",
|
|
148
|
+
"deleteButton": "Supprimer",
|
|
149
|
+
"title": {
|
|
150
|
+
"Priority": "Priorités",
|
|
151
|
+
"Label": "Tags",
|
|
152
|
+
"Status": "Statuts",
|
|
153
|
+
"Type": "Types",
|
|
154
|
+
"Stage": "Phases"
|
|
155
|
+
},
|
|
156
|
+
"input": {
|
|
157
|
+
"Priority": "Ajouter une nouvelle priorité",
|
|
158
|
+
"Label": "Ajouter un nouveau label",
|
|
159
|
+
"Status": "Ajouter un nouveau statut",
|
|
160
|
+
"Type": "Ajouter un nouveau type",
|
|
161
|
+
"Stage": "Ajouter une nouvelle phase"
|
|
162
|
+
},
|
|
163
|
+
"text": {
|
|
164
|
+
"Priority": "Liste des priorités",
|
|
165
|
+
"Label": "Liste des tags",
|
|
166
|
+
"Status": "Liste des statuts",
|
|
167
|
+
"Type": "Liste des types",
|
|
168
|
+
"Stage": "Liste des phases"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|