@datagouv/components-next 1.0.2-dev.202 → 1.0.2-dev.204
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-CCziAlBg.js → Datafair.client-Cvuga2fe.js} +1 -1
- package/dist/{ImagePreview.client-CAvNUnVD.js → ImagePreview.client-BXpk0FV-.js} +1 -1
- package/dist/{JsonPreview.client-BHZx8aen.js → JsonPreview.client-D8dODX5U.js} +2 -2
- package/dist/{MapContainer.client-CbfoAPCF.js → MapContainer.client-BJVvyB2o.js} +2 -2
- package/dist/{PdfPreview.client-BWq1dMvs.js → PdfPreview.client-DGy-H39T.js} +2 -2
- package/dist/{Pmtiles.client-Diw2dwhY.js → Pmtiles.client-4prB0MP3.js} +127 -127
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-3CDNhxIL.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-BoORZnnB.js} +1 -1
- package/dist/{XmlPreview.client-HUxB9uqG.js → XmlPreview.client-DZnb0Kgw.js} +3 -3
- package/dist/components-next.js +84 -83
- package/dist/{index-BTx5DUIG.js → index-EN--nWTY.js} +1 -1
- package/dist/{leaflet-src-DNSrX3rh.js → leaflet-src-RBL-h8nt.js} +1 -1
- package/dist/{main--ZN-jusz.js → main-CICNrWF8.js} +6154 -6146
- package/dist/{vue3-xml-viewer.common-UMibNgKb.js → vue3-xml-viewer.common-BzKiHzXQ.js} +1 -1
- package/package.json +1 -1
- package/src/components/ResourceAccordion/Pmtiles.client.vue +2 -6
- package/src/functions/owned.ts +21 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, ref as v, computed as y, onMounted as S, nextTick as w, openBlock as a, createElementBlock as b, normalizeClass as B, renderSlot as x, createElementVNode as _, toDisplayString as i, unref as t, createBlock as s, withCtx as n, createTextVNode as u, createCommentVNode as E } from "vue";
|
|
2
|
-
import { a as L, b as N, c as R, d as c } from "./main
|
|
2
|
+
import { a as L, b as N, c as R, d as c } from "./main-CICNrWF8.js";
|
|
3
3
|
const V = { class: "text-gray-medium" }, F = /* @__PURE__ */ C({
|
|
4
4
|
__name: "PreviewWrapper",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, defineAsyncComponent as m, openBlock as u, createBlock as f, unref as t, withCtx as l, createVNode as p } from "vue";
|
|
2
|
-
import { u as x } from "./main
|
|
3
|
-
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as x } from "./main-CICNrWF8.js";
|
|
3
|
+
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-BoORZnnB.js";
|
|
4
4
|
const X = /* @__PURE__ */ i({
|
|
5
5
|
__name: "XmlPreview.client",
|
|
6
6
|
props: {
|
|
@@ -8,7 +8,7 @@ const X = /* @__PURE__ */ i({
|
|
|
8
8
|
},
|
|
9
9
|
setup(r) {
|
|
10
10
|
const o = m(
|
|
11
|
-
() => import("./vue3-xml-viewer.common-
|
|
11
|
+
() => import("./vue3-xml-viewer.common-BzKiHzXQ.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
|
|
12
12
|
), n = r, s = x(), c = async () => {
|
|
13
13
|
const e = await fetch(n.resource.url);
|
|
14
14
|
if (!e.ok) throw new Error(`HTTP error! status: ${e.status}`);
|
package/dist/components-next.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e,
|
|
1
|
+
import { A as e, k as t, l as r, m as o, n as i, o as n, p as c, q as l, i as b, C as u, r as g, s as T, D as d, v as p, w as C, x as m, y as S, z as D, B as R, E as O, F as E, G as f, H as I, I as y, J as h, K as A, L as M, M as P, N as v, O as F, P as L, R as z, S as w, T as G, U as _, V as N, W as U, X as k, Y as H, Z as x, $ as B, a0 as Q, a1 as V, a2 as W, a3 as Y, a4 as j, a5 as X, a6 as q, a7 as Z, a8 as J, a9 as K, aa as $, ab as aa, ac as sa, ad as ea, ae as ta, af as ra, ag as oa, ah as ia, ai as na, aj as ca, ak as la, al as ba, am as ua, an as ga, ao as Ta, ap as da, aq as pa, ar as Ca, as as ma, at as Sa, au as Da, av as Ra, aw as Oa, ax as Ea, ay as fa, az as Ia, aA as ya, aB as ha, aC as Aa, aD as Ma, aE as Pa, aF as va, aG as Fa, aH as La, aI as za, aJ as wa, aK as Ga, aL as _a, aM as Na, aN as Ua, aO as ka, aP as Ha, aQ as xa, aR as Ba, aS as Qa, aT as Va, aU as Wa, aV as Ya, aW as ja, aX as Xa, aY as qa, aZ as Za, a_ as Ja, a$ as Ka, b0 as $a, b1 as as, b2 as ss, b3 as es, b4 as ts, b5 as rs, b6 as os, b7 as is, b8 as ns, b9 as cs, ba as ls, bb as bs, bc as us, bd as gs, be as Ts, bf as ds, bg as ps, bh as Cs, bi as ms, bj as Ss, bk as Ds, bl as Rs, bm as Os, bn as Es, bo as fs, bp as Is, bq as ys, br as hs, bs as As, bt as Ms, f as Ps, bu as vs, bv as Fs, bw as Ls, bx as zs, by as ws, bz as Gs, bA as _s, bB as Ns, bC as Us, c as ks, bD as Hs, b as xs, bE as Bs, bF as Qs, bG as Vs, bH as Ws, bI as Ys, bJ as js, bK as Xs, bL as qs, bM as Zs, bN as Js, bO as Ks, bP as $s, bQ as ae, bR as se, bS as ee, bT as te, bU as re, bV as oe, bW as ie, bX as ne, bY as ce, bZ as le, b_ as be, b$ as ue, c0 as ge, c1 as Te, c2 as de, c2 as pe, c3 as Ce, c4 as me, c5 as Se, c6 as De, c7 as Re, t as Oe, c8 as Ee, c9 as fe, ca as Ie, cb as ye, cc as he, u as Ae, cd as Me, ce as Pe, cf as ve, e as Fe, cg as Le, ch as ze, ci as we, cj as Ge, ck as _e, cl as Ne, cm as Ue, cn as ke, co as He, cp as xe, cq as Be, cr as Qe, a as Ve } from "./main-CICNrWF8.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AI_SUGGESTION_MIN_DESCRIPTION_LENGTH,
|
|
4
4
|
t as ASSOCIATION,
|
|
@@ -13,8 +13,8 @@ export {
|
|
|
13
13
|
g as COMPANY,
|
|
14
14
|
T as CopyButton,
|
|
15
15
|
d as DESCRIPTION_MIN_LENGTH,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
p as DESCRIPTION_SHORT_MAX_LENGTH,
|
|
17
|
+
C as DataStructure,
|
|
18
18
|
m as DataserviceCard,
|
|
19
19
|
S as DataserviceQuality,
|
|
20
20
|
D as DataserviceQualityInline,
|
|
@@ -37,15 +37,15 @@ export {
|
|
|
37
37
|
_ as FormattedDate,
|
|
38
38
|
N as GENERIC_FORMATS,
|
|
39
39
|
U as GlobalSearch,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
k as InfiniteLoader,
|
|
41
|
+
H as LOCAL_AUTHORITY,
|
|
42
42
|
x as LabelTag,
|
|
43
43
|
B as LeafletMap,
|
|
44
44
|
Q as LicenseBadge,
|
|
45
45
|
V as Listbox,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
W as LoadingBlock,
|
|
47
|
+
Y as MarkdownViewer,
|
|
48
|
+
j as Metadata,
|
|
49
49
|
X as OGC_SERVICES_FORMATS,
|
|
50
50
|
q as OTHER,
|
|
51
51
|
Z as ObjectCardOwner,
|
|
@@ -67,8 +67,8 @@ export {
|
|
|
67
67
|
ga as RESOURCE_EXPLORER_PAGE_SIZE,
|
|
68
68
|
Ta as RESOURCE_TYPE,
|
|
69
69
|
da as RadioGroup,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
pa as RadioInput,
|
|
71
|
+
Ca as ReadMore,
|
|
72
72
|
ma as ResourceAccordion,
|
|
73
73
|
Sa as ResourceExplorer,
|
|
74
74
|
Da as ResourceExplorerSidebar,
|
|
@@ -91,15 +91,15 @@ export {
|
|
|
91
91
|
_a as TabPanels,
|
|
92
92
|
Na as TabularExplorer,
|
|
93
93
|
Ua as TabularMobileFilters,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
ka as TabularTable,
|
|
95
|
+
Ha as TabularToolbar,
|
|
96
96
|
xa as Tag,
|
|
97
97
|
Ba as Toaster,
|
|
98
98
|
Qa as Toggletip,
|
|
99
99
|
Va as Tooltip,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
Wa as TopicCard,
|
|
101
|
+
Ya as TranslationT,
|
|
102
|
+
ja as USER,
|
|
103
103
|
Xa as UserActivityList,
|
|
104
104
|
qa as accessTypeToApi,
|
|
105
105
|
Za as accessTypeToForm,
|
|
@@ -121,8 +121,8 @@ export {
|
|
|
121
121
|
gs as fetchTabularData,
|
|
122
122
|
Ts as filesize,
|
|
123
123
|
ds as findOrganizationType,
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
ps as findSchemaInCatalog,
|
|
125
|
+
Cs as formatMarkdown,
|
|
126
126
|
ms as getActivityTranslation,
|
|
127
127
|
Ss as getData,
|
|
128
128
|
Ds as getDataserviceMetrics,
|
|
@@ -135,73 +135,74 @@ export {
|
|
|
135
135
|
hs as getDefaultReuseConfig,
|
|
136
136
|
As as getDefaultTopicConfig,
|
|
137
137
|
Ms as getDescriptionShort,
|
|
138
|
-
Ps as
|
|
139
|
-
vs as
|
|
140
|
-
Fs as
|
|
141
|
-
Ls as
|
|
142
|
-
zs as
|
|
143
|
-
ws as
|
|
144
|
-
Gs as
|
|
145
|
-
_s as
|
|
146
|
-
Ns as
|
|
147
|
-
Us as
|
|
138
|
+
Ps as getMapAttribution,
|
|
139
|
+
vs as getMatomo,
|
|
140
|
+
Fs as getOrganizationMetrics,
|
|
141
|
+
Ls as getOrganizationOEmbedHtml,
|
|
142
|
+
zs as getOrganizationType,
|
|
143
|
+
ws as getOrganizationTypes,
|
|
144
|
+
Gs as getOwnerName,
|
|
145
|
+
_s as getOwnerPage,
|
|
146
|
+
Ns as getParsingErrorMessage,
|
|
147
|
+
Us as getParsingErrorStep,
|
|
148
|
+
ks as getResourceCorsStatus,
|
|
148
149
|
Hs as getResourceExternalUrl,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
150
|
+
xs as getResourceFilesize,
|
|
151
|
+
Bs as getResourceFormatIcon,
|
|
152
|
+
Qs as getResourceIconColor,
|
|
153
|
+
Vs as getResourceLabel,
|
|
154
|
+
Ws as getResourceTitleId,
|
|
155
|
+
Ys as getReuseMetrics,
|
|
156
|
+
js as getSchemaVersion,
|
|
157
|
+
Xs as getTopic,
|
|
158
|
+
qs as getType,
|
|
159
|
+
Zs as hasBadge,
|
|
160
|
+
Js as hasFilterForColumn,
|
|
161
|
+
Ks as hasTabularParsingError,
|
|
162
|
+
$s as humanizeFormat,
|
|
163
|
+
ae as injectTabularProfile,
|
|
164
|
+
se as isCommunityResource,
|
|
165
|
+
ee as isFalsy,
|
|
166
|
+
te as isImagePreviewFormat,
|
|
167
|
+
re as isOrganizationCertified,
|
|
168
|
+
oe as isSafeHttpUrl,
|
|
169
|
+
ie as isTruthy,
|
|
170
|
+
ne as isType,
|
|
171
|
+
ce as loadCurrentTranslations,
|
|
172
|
+
le as markdownClasses,
|
|
173
|
+
be as markdownSmClasses,
|
|
174
|
+
ue as markdownTableEditorClasses,
|
|
175
|
+
ge as parseTextWithPlaceholders,
|
|
176
|
+
Te as provideTabularProfile,
|
|
177
|
+
de as removeMarkdown,
|
|
178
|
+
pe as removeMarkdownAsync,
|
|
178
179
|
Ce as removeMarkdownSync,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
180
|
+
me as resolveColumnType,
|
|
181
|
+
Se as schemaMatchesQuery,
|
|
182
|
+
De as summarize,
|
|
183
|
+
Re as t,
|
|
184
|
+
Oe as throwOnNever,
|
|
185
|
+
Ee as toChartApi,
|
|
186
|
+
fe as toChartForm,
|
|
187
|
+
Ie as toast,
|
|
188
|
+
ye as trackEvent,
|
|
189
|
+
he as useActiveDescendant,
|
|
190
|
+
Ae as useComponentsConfig,
|
|
191
|
+
Me as useDatasetResources,
|
|
192
|
+
Pe as useDebouncedRef,
|
|
193
|
+
ve as useFetchReuseTypes,
|
|
194
|
+
Fe as useFormatDate,
|
|
195
|
+
Le as useFormatTabular,
|
|
196
|
+
ze as useGetCatalog,
|
|
197
|
+
we as useGetProfile,
|
|
198
|
+
Ge as useGetSchemaDocumentation,
|
|
199
|
+
_e as useGetSchemaValidationUrl,
|
|
200
|
+
Ne as useGetUserAvatar,
|
|
201
|
+
Ue as useHasTabularData,
|
|
202
|
+
ke as useMetrics,
|
|
202
203
|
He as useResizable,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
xe as useResourceCapabilities,
|
|
205
|
+
Be as useReuseType,
|
|
206
|
+
Qe as useSearchFilter,
|
|
207
|
+
Ve as useTranslation
|
|
207
208
|
};
|
|
@@ -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-BoeTUnDZ.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 defaultStrokeOffset, l as defaultPadding, m as defaultTextBaseline, n as defaultTextAlign, o as defaultFont, r as registerFont, p as getTextDimensions, q as drawImageOrLabel, s as measureAndCacheTextWidth, I as Icon, B as BaseVectorLayer, P as PointerInteraction, t as noModifierKeys, u as always, v as shiftKeyOnly, w as InteractionProperty, M as MapBrowserEventType, x as MapBrowserEvent, y as never, z as createEditingStyle, A as primaryAction, D as altKeyOnly, E as singleClick, F as Interaction, G as Fill, S as Stroke, T as Text, H as Style$1, J as CircleStyle, K as checkedFonts, L as Map$1, N as pointerMove, O as ImageStyle, Q as Attribution, Z as Zoom, U as MapProperty } from "./Map-BfqKMw0S.js";
|
|
8
8
|
import { S as SimpleGeometry, m as maxSquaredDelta, a as assignClosestPoint, i as inflateCoordinates, d as douglasPeucker, b as deflateCoordinates, c as arrayMaxSquaredDelta, e as assignClosestArrayPoint, f as inflateCoordinatesArray, g as douglasPeuckerArray, h as deflateCoordinatesArray, P as Point$1, j as multiArrayMaxSquaredDelta, k as assignClosestMultiArrayPoint, l as linearRingss$1, o as orientLinearRingsArray, n as inflateMultiCoordinatesArray, p as getInteriorPointsOfMultiArray, q as linearRingssAreOriented, r as quantizeMultiArray, s as Polygon, t as deflateMultiCoordinatesArray, u as getInteriorPointOfArray, v as inflateEnds, w as transform2D, x as quantizeArray, y as deflateCoordinate, z as rotate, A as snap, B as transformGeom2D, V as ViewHint, G as Geometry, C as getStrideForLayout, D as linearRingsAreOriented, E as orientLinearRings, F as getLayoutForStride, H as circular, L as LinearRing, I as View, J as ViewProperty, K as fromExtent } from "./View-BYBpt-AU.js";
|
|
9
|
-
import {
|
|
9
|
+
import { j as commonjsGlobal, g as getDefaultExportFromCjs$1 } from "./main-CICNrWF8.js";
|
|
10
10
|
import { R as RenderEventType, a as asArray, B as BaseLayer } from "./Event-iXDrp-fy.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-CSpn0Ca8.js";
|
|
12
12
|
function padNumber(i, e, t) {
|