@alfadocs/ui-kit 1.129.0 → 1.130.1
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/calendar-appointment-editor-dialog-CXch4Pmu.js +13663 -0
- package/dist/_chunks/contact-round-DiSvB3LP.js +18 -0
- package/dist/_chunks/{entity-summary-Dzk54yom.js → entity-summary-KHM0PnSI.js} +55 -67
- package/dist/_chunks/{header-settings-DsvheAOt.js → header-settings-ZGvYAuKF.js} +101 -97
- package/dist/_chunks/{marketplace-app-shell-BOBWmzoT.js → marketplace-app-shell-D_HA8CKx.js} +2 -2
- package/dist/_chunks/{muscle-scheme-CHrjv7p2.js → muscle-scheme-DdIdm8Gw.js} +2 -1
- package/dist/_chunks/{patient-search-D_S7joff.js → patient-search-OAwFgOW3.js} +2 -2
- package/dist/_chunks/{toast-BNoN8Qjh.js → toast-DQ1Zu1kk.js} +264 -251
- package/dist/_chunks/use-appointment-details-read-BrykoTOR.js +2475 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +7 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.links.d.ts +2 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +5 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +13 -4
- package/dist/i18n/locales/ar.js +16 -7
- package/dist/i18n/locales/de.d.ts +13 -4
- package/dist/i18n/locales/de.js +16 -7
- package/dist/i18n/locales/el.d.ts +13 -4
- package/dist/i18n/locales/el.js +16 -7
- package/dist/i18n/locales/en.d.ts +13 -4
- package/dist/i18n/locales/en.js +13 -4
- package/dist/i18n/locales/es.d.ts +13 -4
- package/dist/i18n/locales/es.js +16 -7
- package/dist/i18n/locales/fr.d.ts +13 -4
- package/dist/i18n/locales/fr.js +16 -7
- package/dist/i18n/locales/hi.d.ts +13 -4
- package/dist/i18n/locales/hi.js +16 -7
- package/dist/i18n/locales/it.d.ts +13 -4
- package/dist/i18n/locales/it.js +16 -7
- package/dist/i18n/locales/ja.d.ts +13 -4
- package/dist/i18n/locales/ja.js +16 -7
- package/dist/i18n/locales/nl.d.ts +13 -4
- package/dist/i18n/locales/nl.js +16 -7
- package/dist/i18n/locales/pl.d.ts +13 -4
- package/dist/i18n/locales/pl.js +16 -7
- package/dist/i18n/locales/pt.d.ts +13 -4
- package/dist/i18n/locales/pt.js +16 -7
- package/dist/i18n/locales/ro.d.ts +13 -4
- package/dist/i18n/locales/ro.js +16 -7
- package/dist/i18n/locales/ru.d.ts +13 -4
- package/dist/i18n/locales/ru.js +16 -7
- package/dist/i18n/locales/sq.d.ts +13 -4
- package/dist/i18n/locales/sq.js +16 -7
- package/dist/i18n/locales/sv.d.ts +13 -4
- package/dist/i18n/locales/sv.js +16 -7
- package/dist/i18n/locales/tr.d.ts +13 -4
- package/dist/i18n/locales/tr.js +16 -7
- package/dist/i18n/locales/zh.d.ts +13 -4
- package/dist/i18n/locales/zh.js +16 -7
- package/dist/index.js +7 -7
- package/dist/locales/ar.json +16 -7
- package/dist/locales/de.json +16 -7
- package/dist/locales/el.json +16 -7
- package/dist/locales/en.json +13 -4
- package/dist/locales/es.json +16 -7
- package/dist/locales/fr.json +16 -7
- package/dist/locales/hi.json +16 -7
- package/dist/locales/it.json +16 -7
- package/dist/locales/ja.json +16 -7
- package/dist/locales/nl.json +16 -7
- package/dist/locales/pl.json +16 -7
- package/dist/locales/pt.json +16 -7
- package/dist/locales/ro.json +16 -7
- package/dist/locales/ru.json +16 -7
- package/dist/locales/sq.json +16 -7
- package/dist/locales/sv.json +16 -7
- package/dist/locales/tr.json +16 -7
- package/dist/locales/zh.json +16 -7
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +10 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts +27 -0
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +5 -6
- package/dist/patterns/calendar/calendar.model.d.ts +57 -8
- package/dist/patterns/calendar/calendar.sheets.d.ts +46 -3
- package/dist/patterns/calendar/calendar.types.d.ts +13 -5
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/calendar-appointment-editor-dialog-DnPADcj9.js +0 -13438
- package/dist/_chunks/use-appointment-details-read-n7kycxrm.js +0 -2439
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as m, Fragment as X } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as le, useRef as d, useImperativeHandle as de, useState as ue, useCallback as pe, useMemo as me } from "react";
|
|
3
3
|
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as ee } from "react-i18next";
|
|
5
5
|
import { B as ge } from "./button-DohK_Ak_.js";
|
|
6
6
|
import { I as he } from "./icon-button-S8_weU3g.js";
|
|
7
|
-
import { D as
|
|
7
|
+
import { D as n } from "./dropdown-menu-Dw6sgQwJ.js";
|
|
8
8
|
import { u as fe, p as ye, d as S, r as be, b as te } from "./locale-picker-C86h8Yt1.js";
|
|
9
9
|
import { u as we } from "./use-media-query-CcAx5SMM.js";
|
|
10
10
|
import { u as ve } from "./use-locale-BExNy9Dl.js";
|
|
@@ -143,7 +143,7 @@ function Ke(a) {
|
|
|
143
143
|
const i = document.documentElement;
|
|
144
144
|
i.lang = a, i.dir = S[a].dir;
|
|
145
145
|
}
|
|
146
|
-
const
|
|
146
|
+
const _e = A("ds:inline-flex ds:items-center", {
|
|
147
147
|
variants: {
|
|
148
148
|
align: {
|
|
149
149
|
start: "",
|
|
@@ -151,7 +151,7 @@ const Ne = A("ds:inline-flex ds:items-center", {
|
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
defaultVariants: { align: "end" }
|
|
154
|
-
}),
|
|
154
|
+
}), ze = A("", {
|
|
155
155
|
variants: {
|
|
156
156
|
size: {
|
|
157
157
|
// Button sm is 44px tall on phones; IconButton sm is only 32px wide.
|
|
@@ -163,27 +163,29 @@ const Ne = A("ds:inline-flex ds:items-center", {
|
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
defaultVariants: { size: "md" }
|
|
166
|
-
}),
|
|
166
|
+
}), Ne = "ds:w-[var(--popover-size-md)]", Pe = A("", {
|
|
167
167
|
variants: {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
width: {
|
|
169
|
+
content: "",
|
|
170
|
+
language: "ds:[inline-size:var(--popover-size-md)] ds:[min-inline-size:0] ds:[max-inline-size:calc(100vw_-_2_*_var(--spacing-lg))] ds:[&_input]:min-w-0",
|
|
171
|
+
phone: "ds:[inline-size:calc(100vw_-_2_*_var(--spacing-lg))] ds:[min-inline-size:0] ds:[max-inline-size:none] ds:[&_input]:min-w-0"
|
|
171
172
|
}
|
|
172
|
-
}
|
|
173
|
-
|
|
173
|
+
},
|
|
174
|
+
defaultVariants: { width: "content" }
|
|
175
|
+
}), xe = A(
|
|
174
176
|
"ds:flex ds:flex-1 ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]"
|
|
175
177
|
);
|
|
176
178
|
function R({
|
|
177
179
|
label: a,
|
|
178
180
|
value: i,
|
|
179
|
-
lang:
|
|
181
|
+
lang: g
|
|
180
182
|
}) {
|
|
181
|
-
return /* @__PURE__ */
|
|
183
|
+
return /* @__PURE__ */ m("span", { className: xe(), children: [
|
|
182
184
|
/* @__PURE__ */ t("span", { className: "ds:truncate", children: a }),
|
|
183
185
|
/* @__PURE__ */ t(
|
|
184
186
|
"span",
|
|
185
187
|
{
|
|
186
|
-
lang:
|
|
188
|
+
lang: g,
|
|
187
189
|
className: "ds:shrink-0 ds:text-muted-foreground ds:[[data-highlighted]_&]:text-current",
|
|
188
190
|
children: i
|
|
189
191
|
}
|
|
@@ -193,91 +195,91 @@ function R({
|
|
|
193
195
|
function ae(a) {
|
|
194
196
|
return Object.prototype.hasOwnProperty.call(S, a);
|
|
195
197
|
}
|
|
196
|
-
function
|
|
198
|
+
function Ee({
|
|
197
199
|
locale: a,
|
|
198
200
|
onLocaleChange: i
|
|
199
201
|
}) {
|
|
200
|
-
const { t:
|
|
202
|
+
const { t: g } = ee("ui"), h = S[ae(a) ? a : "en"], D = (s) => {
|
|
201
203
|
var o;
|
|
202
|
-
|
|
203
|
-
}, I = (
|
|
204
|
-
const o =
|
|
204
|
+
s.target === s.currentTarget && ((o = s.currentTarget.querySelector("input")) == null || o.focus({ preventScroll: !0 }));
|
|
205
|
+
}, I = (s) => {
|
|
206
|
+
const o = s.target;
|
|
205
207
|
if (o instanceof HTMLInputElement) {
|
|
206
|
-
if (
|
|
207
|
-
|
|
208
|
+
if (s.nativeEvent.isComposing) {
|
|
209
|
+
s.stopPropagation();
|
|
208
210
|
return;
|
|
209
211
|
}
|
|
210
|
-
|
|
212
|
+
s.key !== "ArrowLeft" && s.key !== "ArrowRight" || (o.selectionStart !== 0 || o.selectionEnd !== 0) && s.stopPropagation();
|
|
211
213
|
}
|
|
212
214
|
};
|
|
213
|
-
return /* @__PURE__ */
|
|
214
|
-
/* @__PURE__ */ t(
|
|
215
|
-
/* @__PURE__ */ t("span", { className: "ds:truncate", children:
|
|
215
|
+
return /* @__PURE__ */ m(n.Sub, { children: [
|
|
216
|
+
/* @__PURE__ */ t(n.SubTrigger, { "aria-haspopup": "dialog", "data-value": h.code, children: /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
217
|
+
/* @__PURE__ */ t("span", { className: "ds:truncate", children: g("navigation.headerSettings.language.label") }),
|
|
216
218
|
/* @__PURE__ */ t(
|
|
217
219
|
"span",
|
|
218
220
|
{
|
|
219
|
-
lang:
|
|
221
|
+
lang: h.code,
|
|
220
222
|
className: "ds:shrink-0 ds:text-[color:var(--muted-foreground)] ds:[[data-highlighted]_&]:text-current",
|
|
221
|
-
children:
|
|
223
|
+
children: h.nativeName
|
|
222
224
|
}
|
|
223
225
|
)
|
|
224
226
|
] }) }),
|
|
225
227
|
/* @__PURE__ */ t(
|
|
226
|
-
|
|
228
|
+
n.SubContent,
|
|
227
229
|
{
|
|
228
230
|
role: "dialog",
|
|
229
231
|
"aria-orientation": void 0,
|
|
230
|
-
className:
|
|
232
|
+
className: Ne,
|
|
231
233
|
onFocus: D,
|
|
232
234
|
onKeyDownCapture: I,
|
|
233
|
-
onEscapeKeyDown: (
|
|
234
|
-
|
|
235
|
+
onEscapeKeyDown: (s) => {
|
|
236
|
+
s.isComposing && s.preventDefault();
|
|
235
237
|
},
|
|
236
238
|
children: /* @__PURE__ */ t(te.SearchList, { onLocaleChange: i })
|
|
237
239
|
}
|
|
238
240
|
)
|
|
239
241
|
] });
|
|
240
242
|
}
|
|
241
|
-
const
|
|
243
|
+
const He = le(
|
|
242
244
|
(a, i) => {
|
|
243
245
|
var G;
|
|
244
246
|
const {
|
|
245
|
-
align:
|
|
246
|
-
size:
|
|
247
|
+
align: g = "end",
|
|
248
|
+
size: h = "md",
|
|
247
249
|
disabled: D = !1,
|
|
248
250
|
initialLocaleFromHtmlLang: I = !1,
|
|
249
|
-
followHtmlLang:
|
|
251
|
+
followHtmlLang: s = !1,
|
|
250
252
|
onLocaleChange: o,
|
|
251
|
-
className:
|
|
252
|
-
id:
|
|
253
|
-
...
|
|
253
|
+
className: ne,
|
|
254
|
+
id: H,
|
|
255
|
+
...se
|
|
254
256
|
} = a, { t: u } = ee("ui"), c = Se(), { locale: w, setLocale: M } = ve();
|
|
255
|
-
fe(I,
|
|
256
|
-
const
|
|
257
|
-
|
|
257
|
+
fe(I, s);
|
|
258
|
+
const V = d(o);
|
|
259
|
+
V.current = o;
|
|
258
260
|
const K = d(null);
|
|
259
261
|
de(i, () => K.current, []);
|
|
260
|
-
const
|
|
262
|
+
const p = we("(width < 48rem)"), F = Le(), [L, f] = ue("main"), l = p ? L : "main", k = d(null), j = d(null), q = d(null), y = d(null), T = d("keyboard");
|
|
261
263
|
ke(() => {
|
|
262
264
|
var e, r, v, Q, W;
|
|
263
|
-
if (!
|
|
265
|
+
if (!p && L !== "main" && (y.current = L, f("main")), l === "language")
|
|
264
266
|
(r = (e = k.current) == null ? void 0 : e.querySelector(
|
|
265
267
|
T.current === "keyboard" ? "input" : "button"
|
|
266
268
|
)) == null || r.focus({ preventScroll: !0 });
|
|
267
269
|
else if (l === "appearance")
|
|
268
270
|
(Q = (v = k.current) == null ? void 0 : v.querySelector('[role="menuitem"]')) == null || Q.focus({ preventScroll: !0 });
|
|
269
271
|
else if (y.current) {
|
|
270
|
-
const J = y.current,
|
|
272
|
+
const J = y.current, E = p ? (J === "language" ? j : q).current : (W = k.current) == null ? void 0 : W.querySelector(
|
|
271
273
|
`[role="menuitem"][aria-haspopup="${J === "language" ? "dialog" : "menu"}"]`
|
|
272
274
|
);
|
|
273
|
-
|
|
275
|
+
E == null || E.focus({ preventScroll: !0 }), y.current = null;
|
|
274
276
|
}
|
|
275
|
-
}, [
|
|
277
|
+
}, [p, L, l]);
|
|
276
278
|
const O = (e, r) => {
|
|
277
279
|
if (e.nativeEvent.isComposing) return;
|
|
278
|
-
const v =
|
|
280
|
+
const v = F === "rtl" ? "ArrowLeft" : "ArrowRight";
|
|
279
281
|
(e.key === "Enter" || e.key === " " || e.key === v) && (T.current = "keyboard"), e.key === v && (e.preventDefault(), f(r));
|
|
280
|
-
},
|
|
282
|
+
}, _ = () => {
|
|
281
283
|
l !== "main" && (y.current = l, f("main"));
|
|
282
284
|
}, re = (e) => {
|
|
283
285
|
if (l === "main") return;
|
|
@@ -285,10 +287,10 @@ const _e = le(
|
|
|
285
287
|
e.stopPropagation();
|
|
286
288
|
return;
|
|
287
289
|
}
|
|
288
|
-
if (e.key !== (
|
|
290
|
+
if (e.key !== (F === "rtl" ? "ArrowRight" : "ArrowLeft"))
|
|
289
291
|
return;
|
|
290
292
|
const r = e.target;
|
|
291
|
-
r instanceof HTMLInputElement && (r.selectionStart !== 0 || r.selectionEnd !== 0) || (e.preventDefault(), e.stopPropagation(),
|
|
293
|
+
r instanceof HTMLInputElement && (r.selectionStart !== 0 || r.selectionEnd !== 0) || (e.preventDefault(), e.stopPropagation(), _());
|
|
292
294
|
}, B = pe(
|
|
293
295
|
(e) => {
|
|
294
296
|
M(e), Ke(e), ye(e);
|
|
@@ -296,17 +298,17 @@ const _e = le(
|
|
|
296
298
|
[M]
|
|
297
299
|
), $ = d(B);
|
|
298
300
|
$.current = B;
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
+
const z = d(w);
|
|
302
|
+
z.current = w;
|
|
301
303
|
const b = d(c);
|
|
302
304
|
b.current = c;
|
|
303
305
|
const ie = me(
|
|
304
306
|
() => ({
|
|
305
307
|
setLocale: (e) => {
|
|
306
308
|
if (Object.prototype.hasOwnProperty.call(S, e)) {
|
|
307
|
-
const r =
|
|
309
|
+
const r = z.current;
|
|
308
310
|
$.current(e), be(
|
|
309
|
-
|
|
311
|
+
V.current,
|
|
310
312
|
e,
|
|
311
313
|
r
|
|
312
314
|
);
|
|
@@ -319,15 +321,15 @@ const _e = le(
|
|
|
319
321
|
// class, so `theme: 'system'` and `theme: 'light'` both paint
|
|
320
322
|
// `.theme-light`. Without these an agent cannot tell a switch
|
|
321
323
|
// that landed from one that was dropped.
|
|
322
|
-
getLocale: () =>
|
|
324
|
+
getLocale: () => z.current,
|
|
323
325
|
getTheme: () => b.current.theme,
|
|
324
326
|
getAccessibility: () => b.current.accessibility,
|
|
325
327
|
getResolvedTheme: () => b.current.resolvedTheme
|
|
326
328
|
}),
|
|
327
329
|
[]
|
|
328
330
|
);
|
|
329
|
-
Te(Ie, ie,
|
|
330
|
-
const oe = c.accessibility === "accessible", ce = Ce("--spacing-lg", K, 24),
|
|
331
|
+
Te(Ie, ie, H);
|
|
332
|
+
const oe = c.accessibility === "accessible", ce = Ce("--spacing-lg", K, 24), N = u("navigation.headerSettings.language.label"), C = u("navigation.headerSettings.appearance.label"), P = S[ae(w) ? w : "en"], x = [
|
|
331
333
|
{
|
|
332
334
|
value: "light",
|
|
333
335
|
label: u("navigation.headerSettings.appearance.light")
|
|
@@ -343,44 +345,46 @@ const _e = le(
|
|
|
343
345
|
{
|
|
344
346
|
ref: K,
|
|
345
347
|
"data-component": "header-settings",
|
|
346
|
-
"data-component-id":
|
|
347
|
-
className:
|
|
348
|
-
...
|
|
349
|
-
children: /* @__PURE__ */
|
|
350
|
-
|
|
348
|
+
"data-component-id": H,
|
|
349
|
+
className: _e({ align: g, className: ne }),
|
|
350
|
+
...se,
|
|
351
|
+
children: /* @__PURE__ */ m(
|
|
352
|
+
n.Root,
|
|
351
353
|
{
|
|
352
354
|
onOpenChange: (e) => {
|
|
353
355
|
e || (y.current = null, f("main"));
|
|
354
356
|
},
|
|
355
357
|
children: [
|
|
356
|
-
/* @__PURE__ */ t(
|
|
358
|
+
/* @__PURE__ */ t(n.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
|
|
357
359
|
he,
|
|
358
360
|
{
|
|
359
|
-
size:
|
|
360
|
-
className:
|
|
361
|
+
size: h,
|
|
362
|
+
className: ze({ size: h }),
|
|
361
363
|
disabled: D,
|
|
362
364
|
icon: /* @__PURE__ */ t(De, { "aria-hidden": !0 }),
|
|
363
365
|
"aria-label": u("navigation.headerSettings.trigger")
|
|
364
366
|
}
|
|
365
367
|
) }),
|
|
366
368
|
/* @__PURE__ */ t(
|
|
367
|
-
|
|
369
|
+
n.Content,
|
|
368
370
|
{
|
|
369
371
|
ref: k,
|
|
370
|
-
align:
|
|
372
|
+
align: g,
|
|
371
373
|
collisionPadding: ce,
|
|
372
|
-
className:
|
|
374
|
+
className: Pe({
|
|
375
|
+
width: p ? "phone" : l === "language" ? "language" : "content"
|
|
376
|
+
}),
|
|
373
377
|
...l === "language" ? {
|
|
374
378
|
role: "dialog",
|
|
375
379
|
"aria-orientation": void 0,
|
|
376
|
-
"aria-label":
|
|
380
|
+
"aria-label": N,
|
|
377
381
|
"aria-labelledby": void 0
|
|
378
382
|
} : {},
|
|
379
383
|
onKeyDownCapture: re,
|
|
380
384
|
onEscapeKeyDown: (e) => {
|
|
381
385
|
e.isComposing && e.preventDefault();
|
|
382
386
|
},
|
|
383
|
-
children: l === "language" ? /* @__PURE__ */
|
|
387
|
+
children: l === "language" ? /* @__PURE__ */ m(
|
|
384
388
|
"div",
|
|
385
389
|
{
|
|
386
390
|
role: "presentation",
|
|
@@ -399,17 +403,17 @@ const _e = le(
|
|
|
399
403
|
className: "ds:w-full ds:justify-start ds:text-start ds:font-normal ds:min-h-[var(--min-target-size)] ds:sm:min-h-[var(--min-target-size)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:gap-[var(--spacing-sm)] ds:[&>span:last-child]:flex-1",
|
|
400
404
|
startIcon: /* @__PURE__ */ t(Y, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
401
405
|
flipIconInRtl: !0,
|
|
402
|
-
onClick:
|
|
403
|
-
children: /* @__PURE__ */ t(R, { label: U, value:
|
|
406
|
+
onClick: _,
|
|
407
|
+
children: /* @__PURE__ */ t(R, { label: U, value: N })
|
|
404
408
|
}
|
|
405
409
|
),
|
|
406
|
-
/* @__PURE__ */ t(
|
|
410
|
+
/* @__PURE__ */ t(n.Separator, {}),
|
|
407
411
|
/* @__PURE__ */ t(te.SearchList, { onLocaleChange: o })
|
|
408
412
|
]
|
|
409
413
|
}
|
|
410
|
-
) : l === "appearance" ? /* @__PURE__ */
|
|
414
|
+
) : l === "appearance" ? /* @__PURE__ */ m(X, { children: [
|
|
411
415
|
/* @__PURE__ */ t(
|
|
412
|
-
|
|
416
|
+
n.Item,
|
|
413
417
|
{
|
|
414
418
|
startIcon: /* @__PURE__ */ t(
|
|
415
419
|
Y,
|
|
@@ -419,20 +423,20 @@ const _e = le(
|
|
|
419
423
|
}
|
|
420
424
|
),
|
|
421
425
|
onSelect: (e) => {
|
|
422
|
-
e.preventDefault(),
|
|
426
|
+
e.preventDefault(), _();
|
|
423
427
|
},
|
|
424
428
|
children: /* @__PURE__ */ t(R, { label: U, value: C })
|
|
425
429
|
}
|
|
426
430
|
),
|
|
427
|
-
/* @__PURE__ */ t(
|
|
431
|
+
/* @__PURE__ */ t(n.Separator, {}),
|
|
428
432
|
/* @__PURE__ */ t(
|
|
429
|
-
|
|
433
|
+
n.RadioGroup,
|
|
430
434
|
{
|
|
431
435
|
"aria-label": C,
|
|
432
436
|
value: c.theme,
|
|
433
437
|
onValueChange: (e) => c.setTheme(e),
|
|
434
|
-
children:
|
|
435
|
-
|
|
438
|
+
children: x.map((e) => /* @__PURE__ */ t(
|
|
439
|
+
n.RadioItem,
|
|
436
440
|
{
|
|
437
441
|
value: e.value,
|
|
438
442
|
onSelect: (r) => r.preventDefault(),
|
|
@@ -442,13 +446,13 @@ const _e = le(
|
|
|
442
446
|
))
|
|
443
447
|
}
|
|
444
448
|
)
|
|
445
|
-
] }) : /* @__PURE__ */
|
|
446
|
-
|
|
447
|
-
|
|
449
|
+
] }) : /* @__PURE__ */ m(X, { children: [
|
|
450
|
+
p ? /* @__PURE__ */ t(
|
|
451
|
+
n.Item,
|
|
448
452
|
{
|
|
449
453
|
ref: j,
|
|
450
454
|
"aria-haspopup": "dialog",
|
|
451
|
-
"data-value":
|
|
455
|
+
"data-value": P.code,
|
|
452
456
|
endIcon: /* @__PURE__ */ t(
|
|
453
457
|
Z,
|
|
454
458
|
{
|
|
@@ -466,22 +470,22 @@ const _e = le(
|
|
|
466
470
|
children: /* @__PURE__ */ t(
|
|
467
471
|
R,
|
|
468
472
|
{
|
|
469
|
-
label:
|
|
470
|
-
value:
|
|
471
|
-
lang:
|
|
473
|
+
label: N,
|
|
474
|
+
value: P.nativeName,
|
|
475
|
+
lang: P.code
|
|
472
476
|
}
|
|
473
477
|
)
|
|
474
478
|
}
|
|
475
479
|
) : /* @__PURE__ */ t(
|
|
476
|
-
|
|
480
|
+
Ee,
|
|
477
481
|
{
|
|
478
482
|
locale: w,
|
|
479
483
|
onLocaleChange: o
|
|
480
484
|
}
|
|
481
485
|
),
|
|
482
|
-
/* @__PURE__ */ t(
|
|
483
|
-
|
|
484
|
-
|
|
486
|
+
/* @__PURE__ */ t(n.Separator, {}),
|
|
487
|
+
p ? /* @__PURE__ */ t(
|
|
488
|
+
n.Item,
|
|
485
489
|
{
|
|
486
490
|
ref: q,
|
|
487
491
|
"aria-haspopup": "menu",
|
|
@@ -504,23 +508,23 @@ const _e = le(
|
|
|
504
508
|
R,
|
|
505
509
|
{
|
|
506
510
|
label: C,
|
|
507
|
-
value: ((G =
|
|
511
|
+
value: ((G = x.find(
|
|
508
512
|
(e) => e.value === c.theme
|
|
509
513
|
)) == null ? void 0 : G.label) ?? ""
|
|
510
514
|
}
|
|
511
515
|
)
|
|
512
516
|
}
|
|
513
517
|
) : /* @__PURE__ */ t(
|
|
514
|
-
|
|
518
|
+
n.ChoiceSub,
|
|
515
519
|
{
|
|
516
520
|
label: C,
|
|
517
521
|
value: c.theme,
|
|
518
522
|
onValueChange: c.setTheme,
|
|
519
|
-
options:
|
|
523
|
+
options: x
|
|
520
524
|
}
|
|
521
525
|
),
|
|
522
526
|
/* @__PURE__ */ t(
|
|
523
|
-
|
|
527
|
+
n.SwitchItem,
|
|
524
528
|
{
|
|
525
529
|
checked: oe,
|
|
526
530
|
onCheckedChange: (e) => c.setAccessibility(e ? "accessible" : "default"),
|
|
@@ -537,8 +541,8 @@ const _e = le(
|
|
|
537
541
|
);
|
|
538
542
|
}
|
|
539
543
|
);
|
|
540
|
-
|
|
544
|
+
He.displayName = "HeaderSettings";
|
|
541
545
|
export {
|
|
542
|
-
|
|
546
|
+
He as H
|
|
543
547
|
};
|
|
544
|
-
//# sourceMappingURL=header-settings-
|
|
548
|
+
//# sourceMappingURL=header-settings-ZGvYAuKF.js.map
|
package/dist/_chunks/{marketplace-app-shell-BOBWmzoT.js → marketplace-app-shell-D_HA8CKx.js}
RENAMED
|
@@ -9,7 +9,7 @@ import { C as U } from "./card-n6W6LW-N.js";
|
|
|
9
9
|
import { D as u } from "./dropdown-menu-Dw6sgQwJ.js";
|
|
10
10
|
import { T as ke } from "./tab-bar-CF8R38Og.js";
|
|
11
11
|
import { a as Y, H as we, g as Ne, f as G, e as ye, c as Se, d as Ce } from "./header-l_B8MV0g.js";
|
|
12
|
-
import { H as Ae } from "./header-settings-
|
|
12
|
+
import { H as Ae } from "./header-settings-ZGvYAuKF.js";
|
|
13
13
|
import { S as Te } from "./sign-in-with-alfadocs-button-DzrNgbWv.js";
|
|
14
14
|
import { S as Ee, a as ee, v as ze, h as Ie, c as Me, r as Le, b as He, l as Ve, m as Be, k as Re, j as J } from "./sidebar-D5DFYN5K.js";
|
|
15
15
|
import { N as De } from "./navigation-dismiss-B1mcW1CT.js";
|
|
@@ -656,4 +656,4 @@ export {
|
|
|
656
656
|
na as M,
|
|
657
657
|
y as P
|
|
658
658
|
};
|
|
659
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
659
|
+
//# sourceMappingURL=marketplace-app-shell-D_HA8CKx.js.map
|
|
@@ -3171,6 +3171,7 @@ const y3 = w2(
|
|
|
3171
3171
|
className: "ds:z-[var(--z-tooltip)] ds:rounded-[var(--radius-sm)] ds:bg-[var(--popover)] ds:px-2 ds:py-1 ds:text-[length:var(--font-size-xs)] ds:text-[var(--popover-foreground)] ds:shadow-[var(--shadow-md)]",
|
|
3172
3172
|
children: [
|
|
3173
3173
|
C1(c),
|
|
3174
|
+
k && /* @__PURE__ */ r("span", { className: "ds:block ds:text-[var(--muted-foreground)]", children: y("muscleScheme.deselectHint") }),
|
|
3174
3175
|
/* @__PURE__ */ r(H.Arrow, { className: "ds:[fill:var(--popover)]" })
|
|
3175
3176
|
]
|
|
3176
3177
|
}
|
|
@@ -3414,4 +3415,4 @@ export {
|
|
|
3414
3415
|
I3 as u,
|
|
3415
3416
|
c3 as v
|
|
3416
3417
|
};
|
|
3417
|
-
//# sourceMappingURL=muscle-scheme-
|
|
3418
|
+
//# sourceMappingURL=muscle-scheme-DdIdm8Gw.js.map
|
|
@@ -6,7 +6,7 @@ import { A as Se } from "./autocomplete-D10ydpgi.js";
|
|
|
6
6
|
import { B as Fe } from "./button-DohK_Ak_.js";
|
|
7
7
|
import { C as te } from "./card-n6W6LW-N.js";
|
|
8
8
|
import { S as Ie } from "./slider-pZ95bEm7.js";
|
|
9
|
-
import { a as Oe } from "./toast-
|
|
9
|
+
import { a as Oe } from "./toast-DQ1Zu1kk.js";
|
|
10
10
|
import { D as Y } from "./dropdown-menu-Dw6sgQwJ.js";
|
|
11
11
|
import { u as Be } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { S as ke } from "./search-QbWPlY5f.js";
|
|
@@ -1273,4 +1273,4 @@ export {
|
|
|
1273
1273
|
nt as P,
|
|
1274
1274
|
He as p
|
|
1275
1275
|
};
|
|
1276
|
-
//# sourceMappingURL=patient-search-
|
|
1276
|
+
//# sourceMappingURL=patient-search-OAwFgOW3.js.map
|