codevdesign 1.0.32 → 1.0.33
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/index.ts +71 -36
- package/package.json +1 -1
- package/vite.config.ts +0 -31
package/index.ts
CHANGED
|
@@ -1,39 +1,74 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import csqcAlerteErreur from './composants/csqcAlerteErreur.vue'
|
|
2
|
+
import csqcDialogue from './composants/csqcDialogue.vue'
|
|
3
|
+
import csqcOptionSwitch from './composants/csqcOptionSwitch.vue'
|
|
4
|
+
import csqcRecherche from './composants/csqcRecherche.vue'
|
|
5
|
+
import csqcSnackbar from './composants/csqcSnackbar.vue'
|
|
6
|
+
import csqcTiroir from './composants/csqcTiroir.vue'
|
|
7
|
+
import pivEntete from './composants/gabarit/pivEntete.vue'
|
|
8
|
+
import pivFooter from './composants/gabarit/pivPiedPage.vue'
|
|
9
|
+
import csqcMenu from './composants/gabarit/csqcMenu.vue'
|
|
10
|
+
import csqcConfirmation from './composants/csqcConfirmation.vue'
|
|
11
|
+
import csqcSaisie from './composants/csqcModaleSaisie.vue'
|
|
12
|
+
import csqcDate from './composants/csqcDate.vue'
|
|
13
|
+
import csqcTable from './composants/csqcTable/csqcTable.vue'
|
|
14
|
+
import csqcCodeBudgetaire from './composants/csqcCodeBudgetaireGenerique.vue'
|
|
15
|
+
import csqcChaise from './composants/csqcChaise/chaiseConteneur.vue'
|
|
16
|
+
import csqcAide from './composants/csqcAide.vue'
|
|
17
|
+
import csqcEntete from './composants/csqcEntete.vue'
|
|
18
|
+
import csqcTexteBilingue from './composants/csqcTexteBilingue.vue'
|
|
19
|
+
import csqcEditeurTexteRiche from './composants/csqcEditeurTexteRiche.vue'
|
|
20
|
+
import csqcImportCSV from './composants/csqcImportCSV.vue'
|
|
21
|
+
import csqcRechercheUtilisateur from './composants/csqcRechercheUtilisateur.vue'
|
|
22
|
+
import validateurs from './composants/validateurs'
|
|
4
23
|
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export { default as pivEntete } from './composants/gabarit/pivEntete.vue'
|
|
13
|
-
export { default as pivFooter } from './composants/gabarit/pivPiedPage.vue'
|
|
14
|
-
export { default as csqcMenu } from './composants/gabarit/csqcMenu.vue'
|
|
15
|
-
export { default as csqcConfirmation } from './composants/csqcConfirmation.vue'
|
|
16
|
-
export { default as csqcSaisie } from './composants/csqcModaleSaisie.vue'
|
|
17
|
-
export { default as csqcDate } from './composants/csqcDate.vue'
|
|
18
|
-
export { default as csqcTable } from './composants/csqcTable/csqcTable.vue'
|
|
19
|
-
export { default as csqcCodeBudgetaire } from './composants/csqcCodeBudgetaireGenerique.vue'
|
|
20
|
-
export { default as csqcChaise } from './composants/csqcChaise/chaiseConteneur.vue'
|
|
21
|
-
export { default as csqcAide } from './composants/csqcAide.vue'
|
|
22
|
-
export { default as csqcEntete } from './composants/csqcEntete.vue'
|
|
23
|
-
export { default as csqcTexteBilingue } from './composants/csqcTexteBilingue.vue'
|
|
24
|
-
export { default as csqcEditeurTexteRiche } from './composants/csqcEditeurTexteRiche.vue'
|
|
25
|
-
export { default as csqcImportCSV } from './composants/csqcImportCSV.vue'
|
|
26
|
-
export { default as csqcRechercheUtilisateur } from './composants/csqcRechercheUtilisateur.vue'
|
|
27
|
-
export { default as validateurs } from './composants/validateurs'
|
|
24
|
+
// modèles
|
|
25
|
+
import NotificationGabaritDefaut from './modeles/notificationGabaritDefaut'
|
|
26
|
+
import modeleSnackbar from './modeles/composants/snackbar'
|
|
27
|
+
import modeleDatatableColonne from './modeles/composants/datatableColonne'
|
|
28
|
+
import apiReponse from './modeles/apiReponse'
|
|
29
|
+
import data from './modeles/data'
|
|
30
|
+
import response from './modeles/response'
|
|
28
31
|
|
|
29
|
-
//
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export { default as colonne } from './modeles/composants/datatableColonne'
|
|
33
|
-
export { default as apiReponse } from './modeles/apiReponse'
|
|
34
|
-
export { default as data } from './modeles/data'
|
|
35
|
-
export { default as response } from './modeles/response'
|
|
32
|
+
// outils
|
|
33
|
+
import csqcRafraichisseurToken from './outils/rafraichisseurToken'
|
|
34
|
+
import csqcOutils from './outils/csqcOutils'
|
|
36
35
|
|
|
37
|
-
//
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
// i18n
|
|
37
|
+
import csqcEn from './locales/en.json'
|
|
38
|
+
import csqcFr from './locales/fr.json'
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
export {
|
|
42
|
+
csqcFr,
|
|
43
|
+
csqcEn,
|
|
44
|
+
csqcAlerteErreur,
|
|
45
|
+
csqcDialogue,
|
|
46
|
+
csqcConfirmation,
|
|
47
|
+
csqcSaisie,
|
|
48
|
+
csqcDate,
|
|
49
|
+
csqcOptionSwitch,
|
|
50
|
+
csqcRecherche,
|
|
51
|
+
csqcSnackbar,
|
|
52
|
+
csqcTable,
|
|
53
|
+
csqcTiroir,
|
|
54
|
+
csqcMenu,
|
|
55
|
+
csqcCodeBudgetaire,
|
|
56
|
+
csqcChaise,
|
|
57
|
+
pivFooter,
|
|
58
|
+
pivEntete,
|
|
59
|
+
csqcAide,
|
|
60
|
+
csqcEntete,
|
|
61
|
+
csqcTexteBilingue,
|
|
62
|
+
csqcEditeurTexteRiche,
|
|
63
|
+
validateurs,
|
|
64
|
+
csqcImportCSV,
|
|
65
|
+
csqcRechercheUtilisateur,
|
|
66
|
+
csqcRafraichisseurToken,
|
|
67
|
+
csqcOutils,
|
|
68
|
+
modeleSnackbar,
|
|
69
|
+
modeleDatatableColonne as colonne,
|
|
70
|
+
apiReponse,
|
|
71
|
+
data,
|
|
72
|
+
response,
|
|
73
|
+
NotificationGabaritDefaut,
|
|
74
|
+
}
|
package/package.json
CHANGED
package/vite.config.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// vite.config.ts
|
|
2
|
-
import { defineConfig } from 'vite'
|
|
3
|
-
import vue from '@vitejs/plugin-vue'
|
|
4
|
-
import { fileURLToPath, URL } from 'node:url'
|
|
5
|
-
|
|
6
|
-
export default defineConfig({
|
|
7
|
-
plugins: [vue()],
|
|
8
|
-
resolve: {
|
|
9
|
-
alias: {
|
|
10
|
-
'@': fileURLToPath(new URL('./', import.meta.url)),
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
build: {
|
|
14
|
-
lib: {
|
|
15
|
-
entry: 'index.ts', // ton index.ts qui fait tous les exports
|
|
16
|
-
name: 'CodevDesign',
|
|
17
|
-
fileName: format => `codevdesign.${format}.js`,
|
|
18
|
-
formats: ['es', 'cjs'],
|
|
19
|
-
},
|
|
20
|
-
rollupOptions: {
|
|
21
|
-
// ne pas re-bundler ce qui doit être fourni par l'app
|
|
22
|
-
external: ['vue', 'vuetify', 'vue-i18n', '@e965/xlsx', 'tinymce', 'tinymce-i18n', '@tinymce/tinymce-vue'],
|
|
23
|
-
output: {
|
|
24
|
-
globals: {
|
|
25
|
-
vue: 'Vue',
|
|
26
|
-
vuetify: 'Vuetify',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
})
|