@alfadocs/ui-kit-debug 1.88.1 → 1.89.0
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/_chunks/{header-settings-CifwJEKB.js → header-settings-BVhjndtV.js} +188 -168
- package/dist/_chunks/header-settings-BVhjndtV.js.map +1 -0
- package/dist/_chunks/{locale-picker-QbT1p60X.js → locale-picker-DVvinQXU.js} +339 -310
- package/dist/_chunks/locale-picker-DVvinQXU.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-vON3WhD0.js → marketplace-app-shell-x_abo_ye.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-vON3WhD0.js.map → marketplace-app-shell-x_abo_ye.js.map} +1 -1
- package/dist/_chunks/{patient-search-Dy0sxcwv.js → patient-search-BPjP2__L.js} +15 -13
- package/dist/_chunks/patient-search-BPjP2__L.js.map +1 -0
- package/dist/agent-catalog.json +4 -4
- package/dist/agent-i18n/en.json +3 -3
- package/dist/components/header-settings/header-settings.d.ts +14 -0
- package/dist/components/header-settings/header-settings.d.ts.map +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/locale-picker/index.js +4 -3
- package/dist/components/locale-picker/locale-picker.d.ts +31 -1
- package/dist/components/locale-picker/locale-picker.d.ts.map +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/header-settings-CifwJEKB.js.map +0 -1
- package/dist/_chunks/locale-picker-QbT1p60X.js.map +0 -1
- package/dist/_chunks/patient-search-Dy0sxcwv.js.map +0 -1
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { _ as y, R as
|
|
6
|
-
import { I as
|
|
1
|
+
import { jsx as o, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as G, createElement as le, useId as ce, useState as de, useCallback as z, useEffect as ue, useMemo as K, useRef as V, useImperativeHandle as ge, useSyncExternalStore as me } from "react";
|
|
3
|
+
import { c as X } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as H } from "react-i18next";
|
|
5
|
+
import { _ as y, R as _e } from "./index-4xgbg-sn.js";
|
|
6
|
+
import { I as fe } from "./icon-button-S8_weU3g.js";
|
|
7
7
|
import { P as b } from "./popover-Da1ekjV1.js";
|
|
8
|
-
import { F as
|
|
9
|
-
import { b as
|
|
10
|
-
import { c as
|
|
11
|
-
import { LOCALES_WITH_BUNDLES as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
import { G } from "./globe-sHBW1JN5.js";
|
|
15
|
-
import { M as
|
|
16
|
-
import { C as
|
|
17
|
-
const
|
|
8
|
+
import { F as ve, f as pe, s as $, _ as he, a as ye, b as be, c as Ne, d as Le, e as Se, g as xe, h as Ce, i as ke, j as we, k as Pe, l as Ee, m as Re, n as Ie, o as Te, p as Ae, q as De, r as Fe, t as je, u as Oe, v as Ue, w as Ge, x as ze, y as He, z as Me, A as Be, B as qe, C as Je, D as Ke, E as Ve, G as We, H as Ye, I as Qe, J as Xe, K as $e, L as Ze } from "./flag-view-udarpAot.js";
|
|
9
|
+
import { b as es } from "./menu-row-BAr8bx1I.js";
|
|
10
|
+
import { c as ss, a as os, d as as } from "./input-surface-iBmxVBfr.js";
|
|
11
|
+
import { LOCALES_WITH_BUNDLES as M, resolveUiLanguage as ts } from "../i18n/config.js";
|
|
12
|
+
import { u as Z } from "./use-locale-BExNy9Dl.js";
|
|
13
|
+
import { u as ns } from "./registry-DvAUVLHh.js";
|
|
14
|
+
import { G as B } from "./globe-sHBW1JN5.js";
|
|
15
|
+
import { M as is } from "./monitor-xXSrufmP.js";
|
|
16
|
+
import { C as W } from "./check-DrFSN__t.js";
|
|
17
|
+
const q = $(
|
|
18
18
|
() => /* @__PURE__ */ Object.assign({
|
|
19
|
-
"/node_modules/country-flag-icons/3x2/AL.svg":
|
|
20
|
-
"/node_modules/country-flag-icons/3x2/CN.svg":
|
|
21
|
-
"/node_modules/country-flag-icons/3x2/DE.svg":
|
|
22
|
-
"/node_modules/country-flag-icons/3x2/ES.svg":
|
|
23
|
-
"/node_modules/country-flag-icons/3x2/FR.svg":
|
|
24
|
-
"/node_modules/country-flag-icons/3x2/GB.svg":
|
|
25
|
-
"/node_modules/country-flag-icons/3x2/GR.svg":
|
|
26
|
-
"/node_modules/country-flag-icons/3x2/IN.svg":
|
|
27
|
-
"/node_modules/country-flag-icons/3x2/IT.svg":
|
|
28
|
-
"/node_modules/country-flag-icons/3x2/JP.svg":
|
|
29
|
-
"/node_modules/country-flag-icons/3x2/NL.svg":
|
|
30
|
-
"/node_modules/country-flag-icons/3x2/PL.svg":
|
|
31
|
-
"/node_modules/country-flag-icons/3x2/PT.svg":
|
|
32
|
-
"/node_modules/country-flag-icons/3x2/RO.svg":
|
|
33
|
-
"/node_modules/country-flag-icons/3x2/RU.svg":
|
|
34
|
-
"/node_modules/country-flag-icons/3x2/SA.svg":
|
|
35
|
-
"/node_modules/country-flag-icons/3x2/SE.svg":
|
|
36
|
-
"/node_modules/country-flag-icons/3x2/TR.svg":
|
|
19
|
+
"/node_modules/country-flag-icons/3x2/AL.svg": Fe,
|
|
20
|
+
"/node_modules/country-flag-icons/3x2/CN.svg": De,
|
|
21
|
+
"/node_modules/country-flag-icons/3x2/DE.svg": Ae,
|
|
22
|
+
"/node_modules/country-flag-icons/3x2/ES.svg": Te,
|
|
23
|
+
"/node_modules/country-flag-icons/3x2/FR.svg": Ie,
|
|
24
|
+
"/node_modules/country-flag-icons/3x2/GB.svg": Re,
|
|
25
|
+
"/node_modules/country-flag-icons/3x2/GR.svg": Ee,
|
|
26
|
+
"/node_modules/country-flag-icons/3x2/IN.svg": Pe,
|
|
27
|
+
"/node_modules/country-flag-icons/3x2/IT.svg": we,
|
|
28
|
+
"/node_modules/country-flag-icons/3x2/JP.svg": ke,
|
|
29
|
+
"/node_modules/country-flag-icons/3x2/NL.svg": Ce,
|
|
30
|
+
"/node_modules/country-flag-icons/3x2/PL.svg": xe,
|
|
31
|
+
"/node_modules/country-flag-icons/3x2/PT.svg": Se,
|
|
32
|
+
"/node_modules/country-flag-icons/3x2/RO.svg": Le,
|
|
33
|
+
"/node_modules/country-flag-icons/3x2/RU.svg": Ne,
|
|
34
|
+
"/node_modules/country-flag-icons/3x2/SA.svg": be,
|
|
35
|
+
"/node_modules/country-flag-icons/3x2/SE.svg": ye,
|
|
36
|
+
"/node_modules/country-flag-icons/3x2/TR.svg": he
|
|
37
37
|
})
|
|
38
|
-
),
|
|
38
|
+
), rs = $(
|
|
39
39
|
() => /* @__PURE__ */ Object.assign({
|
|
40
|
-
"/node_modules/country-flag-icons/1x1/AL.svg":
|
|
41
|
-
"/node_modules/country-flag-icons/1x1/CN.svg":
|
|
42
|
-
"/node_modules/country-flag-icons/1x1/DE.svg":
|
|
43
|
-
"/node_modules/country-flag-icons/1x1/ES.svg":
|
|
44
|
-
"/node_modules/country-flag-icons/1x1/FR.svg":
|
|
45
|
-
"/node_modules/country-flag-icons/1x1/GB.svg":
|
|
46
|
-
"/node_modules/country-flag-icons/1x1/GR.svg":
|
|
47
|
-
"/node_modules/country-flag-icons/1x1/IN.svg":
|
|
48
|
-
"/node_modules/country-flag-icons/1x1/IT.svg":
|
|
49
|
-
"/node_modules/country-flag-icons/1x1/JP.svg":
|
|
50
|
-
"/node_modules/country-flag-icons/1x1/NL.svg":
|
|
51
|
-
"/node_modules/country-flag-icons/1x1/PL.svg":
|
|
52
|
-
"/node_modules/country-flag-icons/1x1/PT.svg":
|
|
53
|
-
"/node_modules/country-flag-icons/1x1/RO.svg":
|
|
54
|
-
"/node_modules/country-flag-icons/1x1/RU.svg":
|
|
55
|
-
"/node_modules/country-flag-icons/1x1/SA.svg":
|
|
56
|
-
"/node_modules/country-flag-icons/1x1/SE.svg":
|
|
57
|
-
"/node_modules/country-flag-icons/1x1/TR.svg":
|
|
40
|
+
"/node_modules/country-flag-icons/1x1/AL.svg": Ze,
|
|
41
|
+
"/node_modules/country-flag-icons/1x1/CN.svg": $e,
|
|
42
|
+
"/node_modules/country-flag-icons/1x1/DE.svg": Xe,
|
|
43
|
+
"/node_modules/country-flag-icons/1x1/ES.svg": Qe,
|
|
44
|
+
"/node_modules/country-flag-icons/1x1/FR.svg": Ye,
|
|
45
|
+
"/node_modules/country-flag-icons/1x1/GB.svg": We,
|
|
46
|
+
"/node_modules/country-flag-icons/1x1/GR.svg": Ve,
|
|
47
|
+
"/node_modules/country-flag-icons/1x1/IN.svg": Ke,
|
|
48
|
+
"/node_modules/country-flag-icons/1x1/IT.svg": Je,
|
|
49
|
+
"/node_modules/country-flag-icons/1x1/JP.svg": qe,
|
|
50
|
+
"/node_modules/country-flag-icons/1x1/NL.svg": Be,
|
|
51
|
+
"/node_modules/country-flag-icons/1x1/PL.svg": Me,
|
|
52
|
+
"/node_modules/country-flag-icons/1x1/PT.svg": He,
|
|
53
|
+
"/node_modules/country-flag-icons/1x1/RO.svg": ze,
|
|
54
|
+
"/node_modules/country-flag-icons/1x1/RU.svg": Ge,
|
|
55
|
+
"/node_modules/country-flag-icons/1x1/SA.svg": Ue,
|
|
56
|
+
"/node_modules/country-flag-icons/1x1/SE.svg": Oe,
|
|
57
|
+
"/node_modules/country-flag-icons/1x1/TR.svg": je
|
|
58
58
|
})
|
|
59
59
|
);
|
|
60
60
|
Object.freeze(
|
|
61
|
-
Object.keys(
|
|
61
|
+
Object.keys(q).sort()
|
|
62
62
|
);
|
|
63
|
-
function
|
|
64
|
-
return e.toUpperCase() in
|
|
63
|
+
function J(e) {
|
|
64
|
+
return e.toUpperCase() in q;
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const I = G(
|
|
67
67
|
({
|
|
68
68
|
country: e,
|
|
69
69
|
label: s,
|
|
70
|
-
shape:
|
|
71
|
-
size:
|
|
72
|
-
rounded:
|
|
73
|
-
className:
|
|
74
|
-
...
|
|
75
|
-
},
|
|
76
|
-
const
|
|
77
|
-
return
|
|
78
|
-
ref:
|
|
79
|
-
code:
|
|
80
|
-
src: (
|
|
70
|
+
shape: i = "rectangle",
|
|
71
|
+
size: l = "sm",
|
|
72
|
+
rounded: c = "sm",
|
|
73
|
+
className: a,
|
|
74
|
+
...d
|
|
75
|
+
}, u) => {
|
|
76
|
+
const n = e.toUpperCase();
|
|
77
|
+
return le(ve, {
|
|
78
|
+
ref: u,
|
|
79
|
+
code: n,
|
|
80
|
+
src: (i === "square" ? rs : q)[n],
|
|
81
81
|
label: s,
|
|
82
|
-
className:
|
|
83
|
-
...
|
|
82
|
+
className: pe({ shape: i, size: l, rounded: c }, a),
|
|
83
|
+
...d
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
);
|
|
87
|
-
|
|
88
|
-
const
|
|
87
|
+
I.displayName = "CoreFlag";
|
|
88
|
+
const N = {
|
|
89
89
|
en: {
|
|
90
90
|
code: "en",
|
|
91
91
|
nativeName: "English",
|
|
@@ -231,10 +231,10 @@ const L = {
|
|
|
231
231
|
dir: "ltr"
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
|
-
|
|
235
|
-
const
|
|
236
|
-
...
|
|
237
|
-
].sort((e, s) => e.englishName.localeCompare(s.englishName, "en")),
|
|
234
|
+
M.map((e) => N[e]);
|
|
235
|
+
const ls = [
|
|
236
|
+
...M.map((e) => N[e])
|
|
237
|
+
].sort((e, s) => e.englishName.localeCompare(s.englishName, "en")), cs = {
|
|
238
238
|
id: "locale-picker",
|
|
239
239
|
// Persists a single locale choice via the handle's `setLocale` → set_value.
|
|
240
240
|
capabilities: ["set_value"],
|
|
@@ -248,7 +248,7 @@ const ts = [
|
|
|
248
248
|
isSystemDefault: {
|
|
249
249
|
type: "boolean",
|
|
250
250
|
descriptionKey: "ui.agent.localePicker.state.isSystemDefault",
|
|
251
|
-
description: "True when following navigator.language. False for a saved or explicit choice, or when initialLocaleFromHtmlLang used the page language. Read alongside locale to distinguish browser detection from a concrete language selection.",
|
|
251
|
+
description: "True when following navigator.language. False for a saved or explicit choice, or when initialLocaleFromHtmlLang or followHtmlLang used the page language. Read alongside locale to distinguish browser detection from a concrete language selection.",
|
|
252
252
|
read: (e) => e.getIsSystemDefault()
|
|
253
253
|
}
|
|
254
254
|
},
|
|
@@ -284,26 +284,26 @@ const ts = [
|
|
|
284
284
|
description: "Marks the LocalePicker wrapper."
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
},
|
|
288
|
-
let
|
|
289
|
-
const
|
|
290
|
-
function
|
|
291
|
-
return
|
|
292
|
-
|
|
287
|
+
}, E = "alfadocs-ui.locale", g = "system";
|
|
288
|
+
let Y = !1, j;
|
|
289
|
+
const O = /* @__PURE__ */ new Set();
|
|
290
|
+
function ds(e) {
|
|
291
|
+
return O.add(e), () => {
|
|
292
|
+
O.delete(e);
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
if (
|
|
297
|
-
const e =
|
|
298
|
-
return e === null ?
|
|
295
|
+
function us() {
|
|
296
|
+
if (j !== void 0) return j;
|
|
297
|
+
const e = ee(E);
|
|
298
|
+
return e === null ? g : p(e) ? e : "en";
|
|
299
299
|
}
|
|
300
|
-
function
|
|
301
|
-
|
|
300
|
+
function P(e) {
|
|
301
|
+
j = e, O.forEach((s) => s());
|
|
302
302
|
}
|
|
303
|
-
function
|
|
304
|
-
return typeof e == "string" &&
|
|
303
|
+
function p(e) {
|
|
304
|
+
return typeof e == "string" && M.includes(e);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function ee(e) {
|
|
307
307
|
if (typeof window > "u") return null;
|
|
308
308
|
try {
|
|
309
309
|
return window.localStorage.getItem(e);
|
|
@@ -311,73 +311,82 @@ function X(e) {
|
|
|
311
311
|
return null;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function gs(e, s) {
|
|
315
315
|
if (!(typeof window > "u"))
|
|
316
316
|
try {
|
|
317
317
|
window.localStorage.setItem(e, s);
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function T() {
|
|
322
322
|
if (typeof navigator > "u") return "en";
|
|
323
323
|
const e = navigator.language;
|
|
324
324
|
if (!e) return "en";
|
|
325
325
|
const s = e.toLowerCase().split("-")[0];
|
|
326
|
-
return
|
|
326
|
+
return p(s) ? s : "en";
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function U(e, s, i) {
|
|
329
|
+
const l = s === g ? T() : s;
|
|
330
|
+
l !== i && (e == null || e(s, l));
|
|
331
|
+
}
|
|
332
|
+
function h(e) {
|
|
329
333
|
if (typeof document > "u") return;
|
|
330
334
|
const s = document.documentElement;
|
|
331
|
-
s.lang = e, s.dir =
|
|
335
|
+
s.lang = e, s.dir = N[e].dir;
|
|
332
336
|
}
|
|
333
|
-
function
|
|
337
|
+
function ms(e) {
|
|
334
338
|
if (!(typeof window > "u"))
|
|
335
339
|
try {
|
|
336
340
|
window.localStorage.removeItem(e);
|
|
337
341
|
} catch {
|
|
338
342
|
}
|
|
339
343
|
}
|
|
340
|
-
function
|
|
341
|
-
e ===
|
|
344
|
+
function R(e) {
|
|
345
|
+
e === g ? ms(E) : gs(E, e), P(e);
|
|
342
346
|
}
|
|
343
|
-
function
|
|
344
|
-
const { locale:
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
() =>
|
|
348
|
-
),
|
|
349
|
-
(
|
|
350
|
-
if (
|
|
351
|
-
|
|
352
|
-
const
|
|
353
|
-
l(
|
|
347
|
+
function se(e = !1, s = !1) {
|
|
348
|
+
const { locale: i, setLocale: l } = Z(), c = me(
|
|
349
|
+
ds,
|
|
350
|
+
us,
|
|
351
|
+
() => g
|
|
352
|
+
), a = p(i) ? i : "en", d = z(
|
|
353
|
+
(u) => {
|
|
354
|
+
if (u === g) {
|
|
355
|
+
R(g);
|
|
356
|
+
const n = T();
|
|
357
|
+
l(n), h(n);
|
|
354
358
|
return;
|
|
355
359
|
}
|
|
356
|
-
|
|
360
|
+
p(u) && (l(u), h(u), R(u));
|
|
357
361
|
},
|
|
358
362
|
[l]
|
|
359
363
|
);
|
|
360
|
-
return
|
|
361
|
-
locale:
|
|
362
|
-
isSystemDefault:
|
|
364
|
+
return _s(e, s), {
|
|
365
|
+
locale: a,
|
|
366
|
+
isSystemDefault: c === g,
|
|
363
367
|
setLocale: d
|
|
364
368
|
};
|
|
365
369
|
}
|
|
366
|
-
function
|
|
367
|
-
const { locale:
|
|
368
|
-
|
|
369
|
-
if (
|
|
370
|
-
|
|
371
|
-
const
|
|
372
|
-
if (
|
|
373
|
-
|
|
370
|
+
function _s(e = !1, s = !1) {
|
|
371
|
+
const { locale: i, setLocale: l } = Z();
|
|
372
|
+
ue(() => {
|
|
373
|
+
if (Y) return;
|
|
374
|
+
Y = !0;
|
|
375
|
+
const c = (e || s) && typeof document < "u" ? ts(document.documentElement.lang.trim()) : void 0, a = p(c) ? c : void 0;
|
|
376
|
+
if (s && a) {
|
|
377
|
+
a !== i && l(a), h(a), P(a);
|
|
378
|
+
return;
|
|
379
|
+
}
|
|
380
|
+
const d = ee(E);
|
|
381
|
+
if (p(d)) {
|
|
382
|
+
d !== i && l(d), h(d), P(d);
|
|
374
383
|
return;
|
|
375
384
|
}
|
|
376
|
-
const
|
|
377
|
-
|
|
385
|
+
const u = a ?? T();
|
|
386
|
+
P(a ?? g), l(u), h(u);
|
|
378
387
|
}, []);
|
|
379
388
|
}
|
|
380
|
-
const
|
|
389
|
+
const oe = X("ds:inline-flex ds:items-center", {
|
|
381
390
|
variants: {
|
|
382
391
|
variant: {
|
|
383
392
|
icon: "",
|
|
@@ -385,7 +394,7 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
385
394
|
}
|
|
386
395
|
},
|
|
387
396
|
defaultVariants: { variant: "icon" }
|
|
388
|
-
}),
|
|
397
|
+
}), fs = [
|
|
389
398
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
390
399
|
"ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-sm)]",
|
|
391
400
|
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
@@ -396,21 +405,21 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
396
405
|
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
397
406
|
"ds:disabled:opacity-50 ds:disabled:cursor-not-allowed",
|
|
398
407
|
"type-body-sm"
|
|
399
|
-
].join(" "),
|
|
408
|
+
].join(" "), ae = [
|
|
400
409
|
"ds:w-[18rem] ds:rounded-[var(--radius-md)]",
|
|
401
410
|
"ds:bg-background ds:text-foreground ds:border ds:border-border",
|
|
402
411
|
"ds:shadow-[var(--shadow-lg)]",
|
|
403
412
|
"ds:overflow-hidden"
|
|
404
|
-
].join(" "),
|
|
413
|
+
].join(" "), Q = [
|
|
405
414
|
"ds:relative ds:flex ds:cursor-pointer ds:select-none",
|
|
406
415
|
"ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
407
416
|
"ds:rounded-[var(--radius-sm)]",
|
|
408
417
|
"ds:min-h-[var(--min-target-size)]",
|
|
409
418
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
410
419
|
"ds:text-foreground ds:outline-none",
|
|
411
|
-
|
|
420
|
+
es.selected,
|
|
412
421
|
"ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-not-allowed"
|
|
413
|
-
].join(" "),
|
|
422
|
+
].join(" "), vs = X("ds:flex ds:flex-col", {
|
|
414
423
|
variants: {
|
|
415
424
|
loading: {
|
|
416
425
|
true: "ds:opacity-60 ds:pointer-events-none",
|
|
@@ -418,53 +427,65 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
418
427
|
}
|
|
419
428
|
},
|
|
420
429
|
defaultVariants: { loading: !1 }
|
|
421
|
-
}),
|
|
430
|
+
}), A = G(
|
|
422
431
|
({
|
|
423
432
|
value: e,
|
|
424
433
|
onValueChange: s,
|
|
434
|
+
onLocaleChange: i,
|
|
425
435
|
inputId: l,
|
|
426
|
-
disabled:
|
|
427
|
-
loading:
|
|
436
|
+
disabled: c = !1,
|
|
437
|
+
loading: a = !1,
|
|
428
438
|
className: d
|
|
429
|
-
},
|
|
430
|
-
const { t:
|
|
431
|
-
(
|
|
432
|
-
if (!(
|
|
433
|
-
if (
|
|
434
|
-
|
|
439
|
+
}, u) => {
|
|
440
|
+
const { t: n } = H("ui"), r = se(), C = r.locale, L = e ?? (r.isSystemDefault ? g : r.locale), D = ce(), k = l ?? `${D}-search`, [f, S] = de(""), x = z(
|
|
441
|
+
(t) => {
|
|
442
|
+
if (!(c || a)) {
|
|
443
|
+
if (t === g) {
|
|
444
|
+
if (s)
|
|
445
|
+
s(g);
|
|
446
|
+
else {
|
|
447
|
+
const m = r.locale;
|
|
448
|
+
r.setLocale(g), U(i, g, m);
|
|
449
|
+
}
|
|
435
450
|
return;
|
|
436
451
|
}
|
|
437
|
-
|
|
452
|
+
if (p(t))
|
|
453
|
+
if (s)
|
|
454
|
+
s(t);
|
|
455
|
+
else {
|
|
456
|
+
const m = r.locale;
|
|
457
|
+
r.setLocale(t), U(i, t, m);
|
|
458
|
+
}
|
|
438
459
|
}
|
|
439
460
|
},
|
|
440
|
-
[
|
|
461
|
+
[c, a, s, i, r]
|
|
441
462
|
);
|
|
442
463
|
return /* @__PURE__ */ o(
|
|
443
464
|
"div",
|
|
444
465
|
{
|
|
445
|
-
ref:
|
|
446
|
-
className: [
|
|
466
|
+
ref: u,
|
|
467
|
+
className: [vs({ loading: a }), d].filter(Boolean).join(" "),
|
|
447
468
|
"data-component": "locale-picker-search-list",
|
|
448
|
-
children: /* @__PURE__ */
|
|
469
|
+
children: /* @__PURE__ */ v(
|
|
449
470
|
y,
|
|
450
471
|
{
|
|
451
|
-
label:
|
|
452
|
-
filter:
|
|
472
|
+
label: n("navigation.localePicker.commandLabel"),
|
|
473
|
+
filter: _e,
|
|
453
474
|
shouldFilter: !0,
|
|
454
475
|
children: [
|
|
455
|
-
/* @__PURE__ */
|
|
476
|
+
/* @__PURE__ */ v(
|
|
456
477
|
"div",
|
|
457
478
|
{
|
|
458
479
|
className: [
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
480
|
+
ss,
|
|
481
|
+
os.sm,
|
|
482
|
+
as.sm,
|
|
462
483
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
463
484
|
"ds:m-[var(--spacing-xs)]"
|
|
464
485
|
].join(" "),
|
|
465
486
|
children: [
|
|
466
487
|
/* @__PURE__ */ o(
|
|
467
|
-
|
|
488
|
+
B,
|
|
468
489
|
{
|
|
469
490
|
"aria-hidden": "true",
|
|
470
491
|
className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
|
|
@@ -473,12 +494,12 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
473
494
|
/* @__PURE__ */ o(
|
|
474
495
|
y.Input,
|
|
475
496
|
{
|
|
476
|
-
id:
|
|
477
|
-
value:
|
|
478
|
-
onValueChange:
|
|
479
|
-
placeholder:
|
|
480
|
-
"aria-label":
|
|
481
|
-
disabled:
|
|
497
|
+
id: k,
|
|
498
|
+
value: f,
|
|
499
|
+
onValueChange: S,
|
|
500
|
+
placeholder: n("navigation.localePicker.searchPlaceholder"),
|
|
501
|
+
"aria-label": n("navigation.localePicker.searchLabel"),
|
|
502
|
+
disabled: c || a,
|
|
482
503
|
className: [
|
|
483
504
|
"ds:peer ds:flex-1 ds:bg-transparent ds:border-0 ds:outline-none",
|
|
484
505
|
"ds:placeholder:text-muted-foreground ds:text-foreground",
|
|
@@ -489,10 +510,10 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
489
510
|
]
|
|
490
511
|
}
|
|
491
512
|
),
|
|
492
|
-
/* @__PURE__ */
|
|
513
|
+
/* @__PURE__ */ v(
|
|
493
514
|
y.List,
|
|
494
515
|
{
|
|
495
|
-
label:
|
|
516
|
+
label: n("navigation.localePicker.commandLabel"),
|
|
496
517
|
className: [
|
|
497
518
|
"ds:max-h-[18rem] ds:overflow-y-auto",
|
|
498
519
|
"ds:p-[var(--spacing-xs)]"
|
|
@@ -505,15 +526,15 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
505
526
|
"ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
|
|
506
527
|
"type-body-sm ds:text-muted-foreground"
|
|
507
528
|
].join(" "),
|
|
508
|
-
children:
|
|
529
|
+
children: n("navigation.localePicker.empty")
|
|
509
530
|
}
|
|
510
531
|
),
|
|
511
532
|
(() => {
|
|
512
|
-
const
|
|
513
|
-
return /* @__PURE__ */
|
|
533
|
+
const t = L === g, m = N[C];
|
|
534
|
+
return /* @__PURE__ */ v(
|
|
514
535
|
y.Item,
|
|
515
536
|
{
|
|
516
|
-
value:
|
|
537
|
+
value: g,
|
|
517
538
|
keywords: [
|
|
518
539
|
"system",
|
|
519
540
|
"default",
|
|
@@ -522,53 +543,53 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
522
543
|
m.nativeName,
|
|
523
544
|
m.englishName
|
|
524
545
|
],
|
|
525
|
-
disabled:
|
|
526
|
-
onSelect:
|
|
527
|
-
className:
|
|
528
|
-
"aria-selected":
|
|
529
|
-
"data-current":
|
|
546
|
+
disabled: c || a,
|
|
547
|
+
onSelect: x,
|
|
548
|
+
className: Q,
|
|
549
|
+
"aria-selected": t || void 0,
|
|
550
|
+
"data-current": t ? "true" : void 0,
|
|
530
551
|
children: [
|
|
531
552
|
/* @__PURE__ */ o(
|
|
532
|
-
|
|
553
|
+
is,
|
|
533
554
|
{
|
|
534
555
|
"aria-hidden": "true",
|
|
535
556
|
className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
|
|
536
557
|
}
|
|
537
558
|
),
|
|
538
|
-
/* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children:
|
|
559
|
+
/* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: n("navigation.localePicker.systemDefault", {
|
|
539
560
|
locale: m.nativeName
|
|
540
561
|
}) }),
|
|
541
|
-
|
|
542
|
-
|
|
562
|
+
t ? /* @__PURE__ */ o(
|
|
563
|
+
W,
|
|
543
564
|
{
|
|
544
565
|
"aria-hidden": "true",
|
|
545
566
|
className: "ds:size-4 ds:text-primary ds:shrink-0"
|
|
546
567
|
}
|
|
547
568
|
) : null,
|
|
548
|
-
|
|
569
|
+
t ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: n("navigation.localePicker.currentSelection") }) : null
|
|
549
570
|
]
|
|
550
571
|
},
|
|
551
|
-
|
|
572
|
+
g
|
|
552
573
|
);
|
|
553
574
|
})(),
|
|
554
|
-
|
|
555
|
-
const m =
|
|
556
|
-
return /* @__PURE__ */
|
|
575
|
+
ls.map((t) => {
|
|
576
|
+
const m = L === t.code;
|
|
577
|
+
return /* @__PURE__ */ v(
|
|
557
578
|
y.Item,
|
|
558
579
|
{
|
|
559
|
-
value:
|
|
560
|
-
keywords: [
|
|
561
|
-
disabled:
|
|
562
|
-
onSelect:
|
|
563
|
-
className:
|
|
580
|
+
value: t.code,
|
|
581
|
+
keywords: [t.nativeName, t.englishName],
|
|
582
|
+
disabled: c || a,
|
|
583
|
+
onSelect: x,
|
|
584
|
+
className: Q,
|
|
564
585
|
"aria-selected": m || void 0,
|
|
565
586
|
"data-current": m ? "true" : void 0,
|
|
566
|
-
lang:
|
|
587
|
+
lang: t.code,
|
|
567
588
|
children: [
|
|
568
|
-
|
|
569
|
-
|
|
589
|
+
J(t.countryCode) ? /* @__PURE__ */ o(
|
|
590
|
+
I,
|
|
570
591
|
{
|
|
571
|
-
country:
|
|
592
|
+
country: t.countryCode,
|
|
572
593
|
size: "sm",
|
|
573
594
|
shape: "rectangle",
|
|
574
595
|
rounded: "sm",
|
|
@@ -586,22 +607,22 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
586
607
|
{
|
|
587
608
|
"aria-hidden": "true",
|
|
588
609
|
className: "ds:text-base ds:shrink-0",
|
|
589
|
-
children:
|
|
610
|
+
children: t.flag
|
|
590
611
|
}
|
|
591
612
|
)
|
|
592
613
|
),
|
|
593
|
-
/* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children:
|
|
614
|
+
/* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: t.nativeName }),
|
|
594
615
|
m ? /* @__PURE__ */ o(
|
|
595
|
-
|
|
616
|
+
W,
|
|
596
617
|
{
|
|
597
618
|
"aria-hidden": "true",
|
|
598
619
|
className: "ds:size-4 ds:text-primary ds:shrink-0"
|
|
599
620
|
}
|
|
600
621
|
) : null,
|
|
601
|
-
m ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children:
|
|
622
|
+
m ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: n("navigation.localePicker.currentSelection") }) : null
|
|
602
623
|
]
|
|
603
624
|
},
|
|
604
|
-
|
|
625
|
+
t.code
|
|
605
626
|
);
|
|
606
627
|
})
|
|
607
628
|
]
|
|
@@ -614,37 +635,37 @@ const Z = W("ds:inline-flex ds:items-center", {
|
|
|
614
635
|
);
|
|
615
636
|
}
|
|
616
637
|
);
|
|
617
|
-
|
|
618
|
-
function
|
|
638
|
+
A.displayName = "LocalePicker.SearchList";
|
|
639
|
+
function ps({
|
|
619
640
|
state: e,
|
|
620
641
|
selection: s,
|
|
621
|
-
rest:
|
|
622
|
-
forwardedRef:
|
|
623
|
-
className:
|
|
624
|
-
disabled:
|
|
625
|
-
loading:
|
|
626
|
-
popoverSide:
|
|
642
|
+
rest: i,
|
|
643
|
+
forwardedRef: l,
|
|
644
|
+
className: c,
|
|
645
|
+
disabled: a,
|
|
646
|
+
loading: d,
|
|
647
|
+
popoverSide: u
|
|
627
648
|
}) {
|
|
628
|
-
const { t:
|
|
649
|
+
const { t: n } = H("ui"), r = N[e.locale];
|
|
629
650
|
return /* @__PURE__ */ o(
|
|
630
651
|
"div",
|
|
631
652
|
{
|
|
632
|
-
ref:
|
|
653
|
+
ref: l,
|
|
633
654
|
"data-component": "locale-picker",
|
|
634
|
-
"data-component-id":
|
|
635
|
-
className:
|
|
636
|
-
...
|
|
637
|
-
children: /* @__PURE__ */
|
|
655
|
+
"data-component-id": i.id,
|
|
656
|
+
className: oe({ variant: "icon", className: c }),
|
|
657
|
+
...i,
|
|
658
|
+
children: /* @__PURE__ */ v(b.Root, { children: [
|
|
638
659
|
/* @__PURE__ */ o(b.Trigger, { asChild: !0, children: /* @__PURE__ */ o(
|
|
639
|
-
|
|
660
|
+
fe,
|
|
640
661
|
{
|
|
641
|
-
disabled:
|
|
642
|
-
icon: /* @__PURE__ */
|
|
643
|
-
/* @__PURE__ */ o(
|
|
644
|
-
|
|
645
|
-
|
|
662
|
+
disabled: a || d,
|
|
663
|
+
icon: /* @__PURE__ */ v("span", { className: "ds:relative ds:inline-flex ds:items-center ds:justify-center", children: [
|
|
664
|
+
/* @__PURE__ */ o(B, { "aria-hidden": !0, className: "ds:size-5" }),
|
|
665
|
+
J(r.countryCode) ? /* @__PURE__ */ o(
|
|
666
|
+
I,
|
|
646
667
|
{
|
|
647
|
-
country:
|
|
668
|
+
country: r.countryCode,
|
|
648
669
|
size: "sm",
|
|
649
670
|
shape: "rectangle",
|
|
650
671
|
rounded: "sm",
|
|
@@ -662,26 +683,26 @@ function ms({
|
|
|
662
683
|
}
|
|
663
684
|
) : null
|
|
664
685
|
] }),
|
|
665
|
-
"aria-label":
|
|
666
|
-
locale:
|
|
686
|
+
"aria-label": n("navigation.localePicker.trigger", {
|
|
687
|
+
locale: r.nativeName
|
|
667
688
|
})
|
|
668
689
|
}
|
|
669
690
|
) }),
|
|
670
691
|
/* @__PURE__ */ o(
|
|
671
692
|
b.Content,
|
|
672
693
|
{
|
|
673
|
-
side:
|
|
694
|
+
side: u,
|
|
674
695
|
align: "start",
|
|
675
696
|
sideOffset: 8,
|
|
676
|
-
className:
|
|
677
|
-
"aria-label":
|
|
697
|
+
className: ae,
|
|
698
|
+
"aria-label": n("navigation.localePicker.popupLabel"),
|
|
678
699
|
children: /* @__PURE__ */ o(
|
|
679
|
-
|
|
700
|
+
A,
|
|
680
701
|
{
|
|
681
702
|
value: s,
|
|
682
703
|
onValueChange: e.setLocale,
|
|
683
|
-
disabled:
|
|
684
|
-
loading:
|
|
704
|
+
disabled: a,
|
|
705
|
+
loading: d
|
|
685
706
|
}
|
|
686
707
|
)
|
|
687
708
|
}
|
|
@@ -690,52 +711,52 @@ function ms({
|
|
|
690
711
|
}
|
|
691
712
|
);
|
|
692
713
|
}
|
|
693
|
-
function
|
|
714
|
+
function hs({
|
|
694
715
|
state: e,
|
|
695
716
|
selection: s,
|
|
696
|
-
rest:
|
|
697
|
-
forwardedRef:
|
|
698
|
-
className:
|
|
699
|
-
disabled:
|
|
700
|
-
loading:
|
|
701
|
-
popoverSide:
|
|
717
|
+
rest: i,
|
|
718
|
+
forwardedRef: l,
|
|
719
|
+
className: c,
|
|
720
|
+
disabled: a,
|
|
721
|
+
loading: d,
|
|
722
|
+
popoverSide: u
|
|
702
723
|
}) {
|
|
703
|
-
const { t:
|
|
724
|
+
const { t: n } = H("ui"), r = N[e.locale];
|
|
704
725
|
return /* @__PURE__ */ o(
|
|
705
726
|
"div",
|
|
706
727
|
{
|
|
707
|
-
ref:
|
|
728
|
+
ref: l,
|
|
708
729
|
"data-component": "locale-picker",
|
|
709
|
-
"data-component-id":
|
|
710
|
-
className:
|
|
711
|
-
...
|
|
712
|
-
children: /* @__PURE__ */
|
|
713
|
-
/* @__PURE__ */ o(b.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
730
|
+
"data-component-id": i.id,
|
|
731
|
+
className: oe({ variant: "compact", className: c }),
|
|
732
|
+
...i,
|
|
733
|
+
children: /* @__PURE__ */ v(b.Root, { children: [
|
|
734
|
+
/* @__PURE__ */ o(b.Trigger, { asChild: !0, children: /* @__PURE__ */ v(
|
|
714
735
|
"button",
|
|
715
736
|
{
|
|
716
737
|
type: "button",
|
|
717
|
-
disabled:
|
|
718
|
-
className:
|
|
719
|
-
"aria-label":
|
|
720
|
-
locale:
|
|
738
|
+
disabled: a || d,
|
|
739
|
+
className: fs,
|
|
740
|
+
"aria-label": n("navigation.localePicker.trigger", {
|
|
741
|
+
locale: r.nativeName
|
|
721
742
|
}),
|
|
722
743
|
children: [
|
|
723
|
-
|
|
724
|
-
|
|
744
|
+
J(r.countryCode) ? /* @__PURE__ */ o(
|
|
745
|
+
I,
|
|
725
746
|
{
|
|
726
|
-
country:
|
|
747
|
+
country: r.countryCode,
|
|
727
748
|
size: "sm",
|
|
728
749
|
shape: "rectangle",
|
|
729
750
|
rounded: "sm",
|
|
730
751
|
className: "ds:shrink-0"
|
|
731
752
|
}
|
|
732
|
-
) : /* @__PURE__ */ o(
|
|
753
|
+
) : /* @__PURE__ */ o(B, { "aria-hidden": !0, className: "ds:size-4 ds:shrink-0" }),
|
|
733
754
|
/* @__PURE__ */ o(
|
|
734
755
|
"span",
|
|
735
756
|
{
|
|
736
757
|
className: "ds:flex-1 ds:truncate type-body-sm",
|
|
737
|
-
lang:
|
|
738
|
-
children:
|
|
758
|
+
lang: r.code,
|
|
759
|
+
children: r.nativeName
|
|
739
760
|
}
|
|
740
761
|
)
|
|
741
762
|
]
|
|
@@ -744,18 +765,18 @@ function _s({
|
|
|
744
765
|
/* @__PURE__ */ o(
|
|
745
766
|
b.Content,
|
|
746
767
|
{
|
|
747
|
-
side:
|
|
768
|
+
side: u,
|
|
748
769
|
align: "start",
|
|
749
770
|
sideOffset: 8,
|
|
750
|
-
className:
|
|
751
|
-
"aria-label":
|
|
771
|
+
className: ae,
|
|
772
|
+
"aria-label": n("navigation.localePicker.popupLabel"),
|
|
752
773
|
children: /* @__PURE__ */ o(
|
|
753
|
-
|
|
774
|
+
A,
|
|
754
775
|
{
|
|
755
776
|
value: s,
|
|
756
777
|
onValueChange: e.setLocale,
|
|
757
|
-
disabled:
|
|
758
|
-
loading:
|
|
778
|
+
disabled: a,
|
|
779
|
+
loading: d
|
|
759
780
|
}
|
|
760
781
|
)
|
|
761
782
|
}
|
|
@@ -764,47 +785,53 @@ function _s({
|
|
|
764
785
|
}
|
|
765
786
|
);
|
|
766
787
|
}
|
|
767
|
-
const
|
|
788
|
+
const te = G(
|
|
768
789
|
(e, s) => {
|
|
769
790
|
const {
|
|
770
|
-
variant:
|
|
771
|
-
value:
|
|
772
|
-
onValueChange:
|
|
773
|
-
disabled:
|
|
774
|
-
loading:
|
|
775
|
-
initialLocaleFromHtmlLang:
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
791
|
+
variant: i = "icon",
|
|
792
|
+
value: l,
|
|
793
|
+
onValueChange: c,
|
|
794
|
+
disabled: a = !1,
|
|
795
|
+
loading: d = !1,
|
|
796
|
+
initialLocaleFromHtmlLang: u = !1,
|
|
797
|
+
followHtmlLang: n = !1,
|
|
798
|
+
onLocaleChange: r,
|
|
799
|
+
popoverSide: C = "bottom",
|
|
800
|
+
className: L,
|
|
801
|
+
id: D,
|
|
802
|
+
...k
|
|
803
|
+
} = e, f = se(
|
|
804
|
+
u,
|
|
805
|
+
n
|
|
806
|
+
), S = l ?? f.locale, x = z(
|
|
781
807
|
(_) => {
|
|
782
|
-
if (
|
|
783
|
-
if (
|
|
784
|
-
|
|
785
|
-
const
|
|
786
|
-
|
|
787
|
-
} else
|
|
808
|
+
if (c) {
|
|
809
|
+
if (c(_), _ === g) {
|
|
810
|
+
R(g);
|
|
811
|
+
const re = T();
|
|
812
|
+
h(re);
|
|
813
|
+
} else p(_) && (h(_), R(_));
|
|
788
814
|
return;
|
|
789
815
|
}
|
|
790
|
-
|
|
816
|
+
const ie = f.locale;
|
|
817
|
+
f.setLocale(_), U(r, _, ie);
|
|
791
818
|
},
|
|
792
|
-
[
|
|
793
|
-
),
|
|
819
|
+
[c, r, f]
|
|
820
|
+
), t = K(
|
|
794
821
|
() => ({
|
|
795
822
|
locale: S,
|
|
796
|
-
isSystemDefault:
|
|
797
|
-
setLocale:
|
|
823
|
+
isSystemDefault: f.isSystemDefault,
|
|
824
|
+
setLocale: x
|
|
798
825
|
}),
|
|
799
|
-
[S,
|
|
800
|
-
),
|
|
801
|
-
|
|
802
|
-
const w =
|
|
803
|
-
w.current =
|
|
804
|
-
const
|
|
826
|
+
[S, f.isSystemDefault, x]
|
|
827
|
+
), m = (u || n) && l === void 0 && f.isSystemDefault ? g : S, F = V(null);
|
|
828
|
+
ge(s, () => F.current, []);
|
|
829
|
+
const w = V(t);
|
|
830
|
+
w.current = t;
|
|
831
|
+
const ne = K(
|
|
805
832
|
() => ({
|
|
806
833
|
setLocale: (_) => {
|
|
807
|
-
|
|
834
|
+
p(_) && w.current.setLocale(_);
|
|
808
835
|
},
|
|
809
836
|
// Read-back for `set_locale` — the setter swallows unsupported
|
|
810
837
|
// tags, so these are the only way an agent can tell a switch
|
|
@@ -814,43 +841,45 @@ const se = F(
|
|
|
814
841
|
}),
|
|
815
842
|
[]
|
|
816
843
|
);
|
|
817
|
-
return
|
|
818
|
-
|
|
844
|
+
return ns(cs, ne, D), i === "compact" ? /* @__PURE__ */ o(
|
|
845
|
+
hs,
|
|
819
846
|
{
|
|
820
|
-
state:
|
|
821
|
-
selection:
|
|
822
|
-
rest:
|
|
823
|
-
forwardedRef:
|
|
824
|
-
className:
|
|
825
|
-
disabled:
|
|
826
|
-
loading:
|
|
827
|
-
popoverSide:
|
|
847
|
+
state: t,
|
|
848
|
+
selection: m,
|
|
849
|
+
rest: k,
|
|
850
|
+
forwardedRef: F,
|
|
851
|
+
className: L,
|
|
852
|
+
disabled: a,
|
|
853
|
+
loading: d,
|
|
854
|
+
popoverSide: C
|
|
828
855
|
}
|
|
829
856
|
) : /* @__PURE__ */ o(
|
|
830
|
-
|
|
857
|
+
ps,
|
|
831
858
|
{
|
|
832
|
-
state:
|
|
833
|
-
selection:
|
|
834
|
-
rest:
|
|
835
|
-
forwardedRef:
|
|
836
|
-
className:
|
|
837
|
-
disabled:
|
|
838
|
-
loading:
|
|
839
|
-
popoverSide:
|
|
859
|
+
state: t,
|
|
860
|
+
selection: m,
|
|
861
|
+
rest: k,
|
|
862
|
+
forwardedRef: F,
|
|
863
|
+
className: L,
|
|
864
|
+
disabled: a,
|
|
865
|
+
loading: d,
|
|
866
|
+
popoverSide: C
|
|
840
867
|
}
|
|
841
868
|
);
|
|
842
869
|
}
|
|
843
870
|
);
|
|
844
|
-
|
|
845
|
-
const
|
|
846
|
-
SearchList:
|
|
871
|
+
te.displayName = "LocalePicker";
|
|
872
|
+
const Fs = Object.assign(te, {
|
|
873
|
+
SearchList: A
|
|
847
874
|
});
|
|
848
875
|
export {
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
876
|
+
E as L,
|
|
877
|
+
g as a,
|
|
878
|
+
Fs as b,
|
|
879
|
+
A as c,
|
|
880
|
+
N as d,
|
|
881
|
+
R as p,
|
|
882
|
+
U as r,
|
|
883
|
+
_s as u
|
|
855
884
|
};
|
|
856
|
-
//# sourceMappingURL=locale-picker-
|
|
885
|
+
//# sourceMappingURL=locale-picker-DVvinQXU.js.map
|