@datagouv/components-next 1.0.2-dev.39 → 1.0.2-dev.40
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/{Datafair.client-DMOnLPse.js → Datafair.client-CYO9vwx6.js} +1 -1
- package/dist/{JsonPreview.client-CQPR5o2k.js → JsonPreview.client-B6aU3vl4.js} +1 -1
- package/dist/{MapContainer.client-BLjgwVUB.js → MapContainer.client-BZsKgRUh.js} +2 -2
- package/dist/{PdfPreview.client-BAEpI_fk.js → PdfPreview.client-ClkseuKU.js} +1 -1
- package/dist/{Pmtiles.client-Bx0uDKt2.js → Pmtiles.client-CUaeaV-O.js} +1 -1
- package/dist/Swagger.client-FpYXdDuX.js +4 -0
- package/dist/{XmlPreview.client-B6Xu5Kde.js → XmlPreview.client-BNGHvVnU.js} +2 -2
- package/dist/components-next.js +55 -54
- package/dist/{index-BhKnYEzB.js → index-B0fPq7-b.js} +1 -1
- package/dist/{main-AlteMgUe.js → main-ifX24DGW.js} +13860 -13825
- package/dist/{vue3-xml-viewer.common-BbdHXPon.js → vue3-xml-viewer.common-Bkgr-tAS.js} +1 -1
- package/package.json +1 -1
- package/src/components/Search/GlobalSearch.vue +29 -2
- package/src/main.ts +2 -1
- package/src/types/search.ts +26 -1
- package/dist/Swagger.client-DBac5r10.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, computed as a, createElementBlock as o, openBlock as t, createBlock as u, createElementVNode as f, withCtx as p, createTextVNode as m, toDisplayString as _, unref as h } from "vue";
|
|
2
|
-
import { a as x, _ as g } from "./main-
|
|
2
|
+
import { a as x, _ as g } from "./main-ifX24DGW.js";
|
|
3
3
|
const v = { class: "fr-text--xs" }, b = { key: 0 }, k = ["src"], $ = /* @__PURE__ */ l({
|
|
4
4
|
__name: "Datafair.client",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, defineAsyncComponent as z, ref as u, computed as g, onMounted as J, createElementBlock as m, openBlock as r, createBlock as i, createCommentVNode as N, createVNode as b, unref as s, toDisplayString as l, withCtx as c, createTextVNode as p } from "vue";
|
|
2
|
-
import { u as B, a as O, g as V, b as E, _ as d } from "./main-
|
|
2
|
+
import { u as B, a as O, g as V, b as E, _ as d } from "./main-ifX24DGW.js";
|
|
3
3
|
const L = { class: "fr-text--xs" }, D = { key: 0 }, P = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, useTemplateRef as G, ref as W, onMounted as B, createBlock as z, createElementBlock as N, openBlock as m, withCtx as U, createTextVNode as V, toDisplayString as q, unref as A } from "vue";
|
|
2
|
-
import { a as D, _ as F } from "./main-
|
|
2
|
+
import { a as D, _ as F } from "./main-ifX24DGW.js";
|
|
3
3
|
const Z = /* @__PURE__ */ E({
|
|
4
4
|
__name: "MapContainer.client",
|
|
5
5
|
props: {
|
|
@@ -24,7 +24,7 @@ const Z = /* @__PURE__ */ E({
|
|
|
24
24
|
import("./Tile-DbNFNPfU.js").then((t) => t.d),
|
|
25
25
|
import("./OSM-s40W6sQ2.js"),
|
|
26
26
|
// @ts-expect-error no types provided
|
|
27
|
-
import("./index-
|
|
27
|
+
import("./index-B0fPq7-b.js")
|
|
28
28
|
]), { CRS: S, GeoportalAttribution: g, GeoportalFullScreen: M, GeoportalZoom: b, LayerImport: v, LayerSwitcher: L } = _;
|
|
29
29
|
await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), S.load(), e = new s({
|
|
30
30
|
target: a.value,
|
|
@@ -12,7 +12,7 @@ var GZ = (R, l, U, Z) => ({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
import { defineComponent as hd, ref as Ol, computed as jU, onMounted as md, onBeforeUnmount as id, createElementBlock as $l, openBlock as Yl, createBlock as hU, createCommentVNode as Md, Fragment as Jd, renderList as Gd, toDisplayString as lU, unref as rl, withCtx as mU, createTextVNode as iU, nextTick as Td } from "vue";
|
|
15
|
-
import { u as Sd, a as Xd, g as Yd, b as Bd, _ as MU } from "./main-
|
|
15
|
+
import { u as Sd, a as Xd, g as Yd, b as Bd, _ as MU } from "./main-ifX24DGW.js";
|
|
16
16
|
var WU = {};
|
|
17
17
|
WU.d = (R, l) => {
|
|
18
18
|
for (var U in l)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ly, ref as cy, computed as dc, useTemplateRef as uy, onMounted as hy, createElementBlock as Mp, openBlock as eh, createBlock as py, withCtx as rm, createTextVNode as nm, toDisplayString as fc, unref as Gs, createCommentVNode as dy, createElementVNode as is, createVNode as fy } from "vue";
|
|
2
|
-
import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-
|
|
2
|
+
import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-ifX24DGW.js";
|
|
3
3
|
var fn = Uint8Array, Wo = Uint16Array, Iy = Int32Array, mm = new fn([
|
|
4
4
|
0,
|
|
5
5
|
0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as z, defineAsyncComponent as X, ref as u, computed as v, onMounted as L, createElementBlock as g, openBlock as r, createBlock as i, createCommentVNode as S, createVNode as b, unref as s, toDisplayString as n, withCtx as c, createTextVNode as f } from "vue";
|
|
2
|
-
import { u as B, a as M, g as V, b as E, _ as p } from "./main-
|
|
2
|
+
import { u as B, a as M, g as V, b as E, _ as p } from "./main-ifX24DGW.js";
|
|
3
3
|
const D = { class: "fr-text--xs" }, N = { key: 0 }, P = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -10,7 +10,7 @@ const D = { class: "fr-text--xs" }, N = { key: 0 }, P = {
|
|
|
10
10
|
},
|
|
11
11
|
setup(T) {
|
|
12
12
|
const x = X(
|
|
13
|
-
() => import("./vue3-xml-viewer.common-
|
|
13
|
+
() => import("./vue3-xml-viewer.common-Bkgr-tAS.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
|
|
14
14
|
), d = T, y = B(), { t: a } = M(), o = u(null), m = u(!1), t = u(null), h = u(!1), _ = v(() => V(d.resource)), k = v(() => E(d.resource)), w = v(() => {
|
|
15
15
|
const e = _.value, l = y.maxXmlPreviewCharSize;
|
|
16
16
|
return !e || !l ? !1 : e <= l;
|
package/dist/components-next.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aU as e, bd as t, y as r, z as o, A as i, B as n, C as c, D as l, i as g, bb as u, be as b, E as d, aT as T, aS as S, F as p, G as C, M as D, H as m, Q as O, R, S as E, T as I, U as f, L as y, J as A, I as h, V as M, O as v, N as z, P as L, W as w, aC as G, bf as P, X as N, Y as _, Z as B, $ as H, a1 as k, bt as U, bg as x, a2 as F, a3 as V, a4 as Q, a5 as W, a6 as Y, a7 as j, bc as q, a8 as X, a9 as J, aa as Z, ac as $, ab as K, br as aa, ad as sa, ae as ea, af as ta, ag as ra, ah as oa, ai as ia, aj as na, ak as ca, al as la, am as ga, an as ua, ao as ba, aD as da, aE as Ta, aF as Sa, ap as pa, aq as Ca, ar as Da, j as ma, as as Oa, at as Ra, au as Ea, av as Ia, aw as fa, a0 as ya, aG as Aa, ay as ha, ax as Ma, az as va, aA as za, bh as La, aB as wa, bG as Ga, bI as Pa, b8 as Na, b6 as _a, x as Ba, bH as Ha, s as ka, r as Ua, w as xa, v as Fa, bu as Va, aY as Qa, aL as Wa, aW as Ya, bl as ja, bC as qa, aZ as Xa, aQ as Ja, b9 as Za, b7 as $a, aR as Ka, m as as, l as ss, q as es, o as ts, n as rs, p as os, aV as is, b3 as ns, b5 as cs, bo as ls, bm as gs, bk as us, f as bs, e as ds, b as Ts, bw as Ss, g as ps, bp as Cs, bs as Ds, bq as ms, ba as Os, bB as Rs, bz as Es, by as Is, bj as fs, bv as ys, bn as As, bi as hs, aN as Ms, b0 as vs, b1 as zs, b2 as Ls, aM as ws, a_ as Gs, a_ as Ps, a$ as Ns, aX as _s, aO as Bs, t as Hs, aH as ks, b4 as Us, aI as xs, u as Fs, bx as Vs, d as Qs, bA as Ws, bD as Ys, bE as js, bF as qs, aP as Xs, aJ as Js, aK as Zs, a as $s } from "./main-ifX24DGW.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AI_SUGGESTION_MIN_DESCRIPTION_LENGTH,
|
|
4
4
|
t as ASSOCIATION,
|
|
@@ -16,8 +16,8 @@ export {
|
|
|
16
16
|
S as DESCRIPTION_SHORT_MAX_LENGTH,
|
|
17
17
|
p as DataserviceCard,
|
|
18
18
|
C as DatasetCard,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
D as DatasetEmbedSection,
|
|
20
|
+
m as DatasetInformationSection,
|
|
21
21
|
O as DatasetQuality,
|
|
22
22
|
R as DatasetQualityInline,
|
|
23
23
|
E as DatasetQualityItem,
|
|
@@ -48,8 +48,8 @@ export {
|
|
|
48
48
|
j as OwnerTypeIcon,
|
|
49
49
|
q as PUBLIC_SERVICE,
|
|
50
50
|
X as PaddedContainer,
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
J as Pagination,
|
|
52
|
+
Z as Placeholder,
|
|
53
53
|
$ as PostCard,
|
|
54
54
|
K as ProgressBar,
|
|
55
55
|
aa as RESOURCE_TYPE,
|
|
@@ -70,8 +70,8 @@ export {
|
|
|
70
70
|
Sa as SelectGroup,
|
|
71
71
|
pa as SimpleBanner,
|
|
72
72
|
Ca as SmallChart,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
Da as StatBox,
|
|
74
|
+
ma as Swagger,
|
|
75
75
|
Oa as Tab,
|
|
76
76
|
Ra as TabGroup,
|
|
77
77
|
Ea as TabList,
|
|
@@ -102,8 +102,8 @@ export {
|
|
|
102
102
|
ja as findOrganizationType,
|
|
103
103
|
qa as findSchemaInCatalog,
|
|
104
104
|
Xa as formatMarkdown,
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
Ja as getActivityTranslation,
|
|
106
|
+
Za as getDataserviceMetrics,
|
|
107
107
|
$a as getDatasetMetrics,
|
|
108
108
|
Ka as getDatasetOEmbedHtml,
|
|
109
109
|
as as getDefaultDataserviceConfig,
|
|
@@ -111,51 +111,52 @@ export {
|
|
|
111
111
|
es as getDefaultGlobalSearchConfig,
|
|
112
112
|
ts as getDefaultOrganizationConfig,
|
|
113
113
|
rs as getDefaultReuseConfig,
|
|
114
|
-
os as
|
|
115
|
-
is as
|
|
116
|
-
ns as
|
|
117
|
-
cs as
|
|
118
|
-
ls as
|
|
119
|
-
gs as
|
|
120
|
-
us as
|
|
121
|
-
bs as
|
|
122
|
-
ds as
|
|
123
|
-
Ts as
|
|
124
|
-
Ss as
|
|
125
|
-
ps as
|
|
126
|
-
Cs as
|
|
114
|
+
os as getDefaultTopicConfig,
|
|
115
|
+
is as getDescriptionShort,
|
|
116
|
+
ns as getMatomo,
|
|
117
|
+
cs as getOrganizationMetrics,
|
|
118
|
+
ls as getOrganizationOEmbedHtml,
|
|
119
|
+
gs as getOrganizationType,
|
|
120
|
+
us as getOrganizationTypes,
|
|
121
|
+
bs as getOwnerName,
|
|
122
|
+
ds as getOwnerPage,
|
|
123
|
+
Ts as getResourceCorsStatus,
|
|
124
|
+
Ss as getResourceExternalUrl,
|
|
125
|
+
ps as getResourceFilesize,
|
|
126
|
+
Cs as getResourceFormatIcon,
|
|
127
|
+
Ds as getResourceLabel,
|
|
127
128
|
ms as getResourceTitleId,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
129
|
+
Os as getReuseMetrics,
|
|
130
|
+
Rs as getSchemaVersion,
|
|
131
|
+
Es as getTopic,
|
|
132
|
+
Is as getType,
|
|
133
|
+
fs as hasBadge,
|
|
134
|
+
ys as isCommunityResource,
|
|
135
|
+
As as isOrganizationCertified,
|
|
136
|
+
hs as isType,
|
|
137
|
+
Ms as loadCurrentTranslations,
|
|
138
|
+
vs as markdownClasses,
|
|
139
|
+
zs as markdownSmClasses,
|
|
140
|
+
Ls as markdownTableEditorClasses,
|
|
141
|
+
ws as parseTextWithPlaceholders,
|
|
142
|
+
Gs as removeMarkdown,
|
|
143
|
+
Ps as removeMarkdownAsync,
|
|
144
|
+
Ns as removeMarkdownSync,
|
|
145
|
+
_s as summarize,
|
|
146
|
+
Bs as t,
|
|
147
|
+
Hs as throwOnNever,
|
|
148
|
+
ks as toast,
|
|
149
|
+
Us as trackEvent,
|
|
150
|
+
xs as useActiveDescendant,
|
|
151
|
+
Fs as useComponentsConfig,
|
|
152
|
+
Vs as useFetchReuseTypes,
|
|
153
|
+
Qs as useFormatDate,
|
|
154
|
+
Ws as useGetCatalog,
|
|
155
|
+
Ys as useGetSchemaDocumentation,
|
|
156
|
+
js as useGetSchemaValidationUrl,
|
|
157
|
+
qs as useGetUserAvatar,
|
|
158
|
+
Xs as useHasTabularData,
|
|
159
|
+
Js as useMetrics,
|
|
159
160
|
Zs as useReuseType,
|
|
160
|
-
|
|
161
|
+
$s as useTranslation
|
|
161
162
|
};
|
|
@@ -6,7 +6,7 @@ import { a as TileGrid, U as UrlTile, e as extentFromProjection, c as createXYZ,
|
|
|
6
6
|
import { D as DEFAULT_MAX_ZOOM, a as assert, f as forEach, i as intersectsLineString, b as intersectsLineStringArray, l as linearRingssContainsXY, c as intersectsLinearRingMultiArray, d as compose, e as create, g as apply, s as setFromArray, m as multiply, h as scale, r as reset, t as translate } from "./common-PJfpC179.js";
|
|
7
7
|
import { R as RBush$1, C as Collection, a as CollectionEventType, b as asColorLike, d as defaultFillStyle, c as defaultStrokeStyle, e as defaultLineCap, f as defaultLineDash, g as defaultLineDashOffset, h as defaultLineJoin, i as defaultLineWidth, j as defaultMiterLimit, k as defaultPadding, l as defaultTextBaseline, m as defaultTextAlign, n as defaultFont, r as registerFont, o as getTextDimensions, p as drawImageOrLabel, q as measureAndCacheTextWidth, I as Icon, B as BaseVectorLayer, P as PointerInteraction, s as noModifierKeys, t as always, u as shiftKeyOnly, v as InteractionProperty, M as MapBrowserEventType, w as MapBrowserEvent, x as never, y as createEditingStyle, z as primaryAction, A as altKeyOnly, D as singleClick, E as Interaction, F as Fill, S as Stroke, T as Text, G as Style$1, H as CircleStyle, J as checkedFonts, K as Map$1, L as pointerMove, N as ImageStyle, O as Attribution, Z as Zoom, Q as MapProperty } from "./Map-BjUnLyj8.js";
|
|
8
8
|
import { S as SimpleGeometry, d as deflateCoordinate, r as rotate, G as Geometry, m as maxSquaredDelta, a as assignClosestPoint, i as inflateCoordinates, b as douglasPeucker, c as deflateCoordinates, e as arrayMaxSquaredDelta, f as assignClosestArrayPoint, g as inflateCoordinatesArray, h as douglasPeuckerArray, j as deflateCoordinatesArray, P as Point$1, k as multiArrayMaxSquaredDelta, l as assignClosestMultiArrayPoint, n as linearRingss$1, o as orientLinearRingsArray, p as inflateMultiCoordinatesArray, q as getInteriorPointsOfMultiArray, s as linearRingssAreOriented, t as quantizeMultiArray, u as Polygon, v as deflateMultiCoordinatesArray, w as getInteriorPointOfArray, x as inflateEnds, y as transform2D, z as quantizeArray, A as snap, B as transformGeom2D, V as ViewHint, C as getStrideForLayout, D as linearRingsAreOriented, E as orientLinearRings, F as getLayoutForStride, L as LinearRing, H as View, I as ViewProperty, J as fromExtent } from "./View-BR92hTWP.js";
|
|
9
|
-
import { k as commonjsGlobal, c as getDefaultExportFromCjs$1 } from "./main-
|
|
9
|
+
import { k as commonjsGlobal, c as getDefaultExportFromCjs$1 } from "./main-ifX24DGW.js";
|
|
10
10
|
import { E as EventType$1, a as asArray } from "./Event--kp8kMdJ.js";
|
|
11
11
|
import { Z as ZIndexContext, C as CanvasLayerRenderer, c as canvasPool$1, T as TileLayer, a as CanvasTileLayerRenderer, b as TileProperty } from "./Tile-DbNFNPfU.js";
|
|
12
12
|
function padNumber(i, e, t) {
|