@datagouv/components-next 0.0.17 → 0.0.19
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/dist/{JsonPreview.client-DhW6_H9n.js → JsonPreview.client-BV0aJz23.js} +33 -32
- package/dist/{MapContainer.client-Bvbt6dnn.js → MapContainer.client-CxqfY1ge.js} +3 -2
- package/dist/{PdfPreview.client-D6LTtYh7.js → PdfPreview.client-Brxtbt2i.js} +32 -31
- package/dist/{Pmtiles.client-CcrZRQLW.js → Pmtiles.client-AIjEzaIg.js} +694 -693
- package/dist/Swagger.client-C8O-wVwV.js +4 -0
- package/dist/{XmlPreview.client-Be0RWwzt.js → XmlPreview.client-XiPNQxwG.js} +27 -26
- package/dist/components-next.js +56 -55
- package/dist/main-CUy8gy19.js +101710 -0
- package/dist/{pdf-vue3-BH4rWOjw.js → pdf-vue3-Dm2ZCc3P.js} +1 -1
- package/dist/{text-clamp.esm-B39D0K4b.js → text-clamp.esm-Mb7Qdtu9.js} +5 -5
- package/dist/{vue3-json-viewer-BAs2SD9h.js → vue3-json-viewer-B1fiyuLU.js} +100 -100
- package/dist/vue3-xml-viewer.common-BvRWr7iE.js +759 -0
- package/package.json +1 -1
- package/src/main.ts +3 -2
- package/dist/Swagger.client-DTm9HS9i.js +0 -4
- package/dist/main-DCjiKaCW.js +0 -100461
- package/dist/vue3-xml-viewer.common-DL5vgWDy.js +0 -5443
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type { Site } from './types/site'
|
|
|
15
15
|
import type { Weight, WellType } from './types/ui'
|
|
16
16
|
import type { User } from './types/users'
|
|
17
17
|
|
|
18
|
+
import AppLink from './components/AppLink.vue'
|
|
18
19
|
import Avatar from './components/Avatar.vue'
|
|
19
20
|
import AvatarWithName from './components/AvatarWithName.vue'
|
|
20
21
|
import BannerAction from './components/BannerAction.vue'
|
|
@@ -106,18 +107,18 @@ export type {
|
|
|
106
107
|
// Vue Plugin
|
|
107
108
|
const datagouv: Plugin<PluginConfig> = {
|
|
108
109
|
async install(app: App, options) {
|
|
110
|
+
app.provide(configKey, options)
|
|
109
111
|
if (!options.textClamp) {
|
|
110
112
|
const textClamp = await import('vue3-text-clamp')
|
|
111
113
|
options.textClamp = textClamp.default
|
|
112
114
|
}
|
|
113
|
-
|
|
114
|
-
app.provide(configKey, options)
|
|
115
115
|
},
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
export {
|
|
119
119
|
datagouv,
|
|
120
120
|
useComponentsConfig,
|
|
121
|
+
AppLink,
|
|
121
122
|
Avatar,
|
|
122
123
|
AvatarWithName,
|
|
123
124
|
BannerAction,
|