@alfadocs/ui-kit 1.10.1 → 1.12.4
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/{actions-cell-renderer-xfSYiTXQ.js → actions-cell-renderer-BCEjn3-f.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-d44s_whc.js → anamnesis-summary-rows-BfhxWPO3.js} +1421 -1418
- package/dist/_chunks/appointment-timeline-DCn0Jx55.js +403 -0
- package/dist/_chunks/{balance-badge-cell-C_Qz76x7.js → balance-badge-cell-BrlikHfT.js} +317 -290
- package/dist/_chunks/booking-CBHKdsZl.js +2906 -0
- package/dist/_chunks/{chart-Bkr1Sh4o.js → chart-C6eHTxkO.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CE9OJKcl.js → contact-profile-card-BMIBr5s9.js} +104 -125
- package/dist/_chunks/{control-room-rail-Cj2iX9h_.js → control-room-rail-iO_BCaq1.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-zLf_bXvL.js → editable-currency-cell-renderer-B7TVZ5ZJ.js} +2 -2
- package/dist/_chunks/{face-scheme-BfDi4YkW.js → face-scheme-CZaKm6fG.js} +2 -2
- package/dist/_chunks/{file-manager-Df6hyUYg.js → file-manager-Moc7sUFj.js} +3 -3
- package/dist/_chunks/format-price-DNqXPa_q.js +61 -0
- package/dist/_chunks/{header-settings-CVC_davE.js → header-settings-J-ZCAfir.js} +2 -2
- package/dist/_chunks/{icon-button-group-D6SVMteH.js → icon-button-group-VCCod3Hz.js} +154 -145
- package/dist/_chunks/{link-cell-renderer-Cp2MSlJl.js → link-cell-renderer-CenJx-_7.js} +197 -181
- package/dist/_chunks/{marketplace-app-shell-Chfdia7m.js → marketplace-app-shell-DDQXQ8hX.js} +2 -2
- package/dist/_chunks/{notes-panel-e9cJWVRg.js → notes-panel-CymneXtl.js} +93 -91
- package/dist/_chunks/{practice-results-BEsAdW-B.js → practice-results-D7ygCj_W.js} +333 -291
- package/dist/_chunks/{signature-request-CW30B77U.js → signature-request-DVDTKLjM.js} +2 -2
- package/dist/_chunks/{stepper-accordion-BeVMZPuG.js → stepper-accordion-DmVykr5F.js} +91 -88
- package/dist/_chunks/{theme-toggle-DuMhQNFS.js → theme-toggle-uEwoKjl3.js} +2 -2
- package/dist/_chunks/{tool-rail-CHyUmulN.js → tool-rail-8Scslq3X.js} +2 -2
- package/dist/_chunks/{whatsapp-button-Ca9towA4.js → whatsapp-button-CuFIHJzG.js} +27 -19
- package/dist/agent-catalog.json +12 -5
- package/dist/agent-i18n/en.json +4 -3
- package/dist/components/_shared/format-price.d.ts +21 -0
- package/dist/components/_shared/index.d.ts +1 -0
- package/dist/components/_shared/stepper.d.ts +28 -2
- package/dist/components/appointment-card/appointment-card.d.ts +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +8 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +15 -2
- package/dist/components/booking/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-table/filters/date-range-filter.d.ts +22 -0
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +6 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +18 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +1 -1
- package/dist/components/whatsapp-button/index.js +1 -1
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.js +5 -1
- package/dist/i18n/locales/de.d.ts +5 -1
- package/dist/i18n/locales/de.js +6 -2
- package/dist/i18n/locales/el.d.ts +4 -0
- package/dist/i18n/locales/el.js +5 -1
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/en.js +5 -1
- package/dist/i18n/locales/es.d.ts +5 -1
- package/dist/i18n/locales/es.js +6 -2
- package/dist/i18n/locales/fr.d.ts +5 -1
- package/dist/i18n/locales/fr.js +6 -2
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.js +5 -1
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.js +5 -1
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.js +5 -1
- package/dist/i18n/locales/nl.d.ts +5 -1
- package/dist/i18n/locales/nl.js +6 -2
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.js +5 -1
- package/dist/i18n/locales/pt.d.ts +5 -1
- package/dist/i18n/locales/pt.js +6 -2
- package/dist/i18n/locales/ro.d.ts +4 -0
- package/dist/i18n/locales/ro.js +5 -1
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.js +5 -1
- package/dist/i18n/locales/sq.d.ts +4 -0
- package/dist/i18n/locales/sq.js +5 -1
- package/dist/i18n/locales/sv.d.ts +4 -0
- package/dist/i18n/locales/sv.js +5 -1
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.js +5 -1
- package/dist/i18n/locales/zh.d.ts +4 -0
- package/dist/i18n/locales/zh.js +5 -1
- package/dist/index.js +20 -20
- package/dist/locales/ar.json +5 -1
- package/dist/locales/de.json +6 -2
- package/dist/locales/el.json +5 -1
- package/dist/locales/en.json +5 -1
- package/dist/locales/es.json +6 -2
- package/dist/locales/fr.json +6 -2
- package/dist/locales/hi.json +5 -1
- package/dist/locales/it.json +5 -1
- package/dist/locales/ja.json +5 -1
- package/dist/locales/nl.json +6 -2
- package/dist/locales/pl.json +5 -1
- package/dist/locales/pt.json +6 -2
- package/dist/locales/ro.json +5 -1
- package/dist/locales/ru.json +5 -1
- package/dist/locales/sq.json +5 -1
- package/dist/locales/sv.json +5 -1
- package/dist/locales/tr.json +5 -1
- package/dist/locales/zh.json +5 -1
- package/dist/patterns/anamnesis/anamnesis-config.d.ts +18 -7
- package/dist/patterns/anamnesis/anamnesis-types.d.ts +8 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/appointment-timeline-0mwtpErq.js +0 -388
- package/dist/_chunks/booking-DHkKcUIl.js +0 -2713
- package/dist/_chunks/languages-CGLX6Qpe.js +0 -19
|
@@ -8,7 +8,7 @@ import { u as Ge, g as ve, a as Ue, r as We } from "./apexcharts-theme-B_AxGC_h.
|
|
|
8
8
|
import { u as je } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
9
9
|
import { u as Ke } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { I as Ve } from "./icon-button-DA2CAGHZ.js";
|
|
11
|
-
import { I as Ye } from "./icon-button-group-
|
|
11
|
+
import { I as Ye } from "./icon-button-group-VCCod3Hz.js";
|
|
12
12
|
import { c as N } from "./createLucideIcon-DhHxpK9K.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v1.22.0 - ISC
|
|
@@ -702,4 +702,4 @@ export {
|
|
|
702
702
|
nt as a,
|
|
703
703
|
it as c
|
|
704
704
|
};
|
|
705
|
-
//# sourceMappingURL=chart-
|
|
705
|
+
//# sourceMappingURL=chart-C6eHTxkO.js.map
|
|
@@ -1,33 +1,22 @@
|
|
|
1
|
-
import { jsxs as f, jsx as e, Fragment as
|
|
2
|
-
import { forwardRef as le, useId as
|
|
1
|
+
import { jsxs as f, jsx as e, Fragment as I } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as le, useId as se, useMemo as ce } from "react";
|
|
3
3
|
import { c as de } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as pe } from "react-i18next";
|
|
5
|
-
import { B as
|
|
6
|
-
import { C as
|
|
5
|
+
import { B as T } from "./badge-sTusUqZD.js";
|
|
6
|
+
import { C as F } from "./card-DPmk26CL.js";
|
|
7
7
|
import { K as fe, a as ue } from "./key-value-pair-BubG4fUa.js";
|
|
8
8
|
import { L as d } from "./link-CPb_pZPr.js";
|
|
9
|
-
import {
|
|
9
|
+
import { B as H, L as V, f as me } from "./format-price-DNqXPa_q.js";
|
|
10
|
+
import { u as he } from "./registry-DvAUVLHh.js";
|
|
10
11
|
import { S as _ } from "./stethoscope-sZXGC43m.js";
|
|
11
|
-
import { H } from "./heart--qCA4ffe.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { L as z } from "./languages-CGLX6Qpe.js";
|
|
15
|
-
import { G as O } from "./globe-sHBW1JN5.js";
|
|
12
|
+
import { H as O } from "./heart--qCA4ffe.js";
|
|
13
|
+
import { S as z } from "./shield-check-DCJALLVh.js";
|
|
14
|
+
import { G as B } from "./globe-sHBW1JN5.js";
|
|
16
15
|
import { M as E } from "./mail-BqXVF2zH.js";
|
|
17
16
|
import { M as K } from "./message-circle-Bepl9JT5.js";
|
|
18
|
-
import { P as
|
|
19
|
-
import { M as
|
|
20
|
-
|
|
21
|
-
* @license lucide-react v1.22.0 - ISC
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the ISC license.
|
|
24
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/
|
|
26
|
-
const ge = [
|
|
27
|
-
["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
|
|
28
|
-
["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
|
|
29
|
-
["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
|
|
30
|
-
], B = he("banknote", ge), ve = {
|
|
17
|
+
import { P as U } from "./phone-FceYcIFQ.js";
|
|
18
|
+
import { M as G } from "./map-pin-BaY37-Km.js";
|
|
19
|
+
const ge = {
|
|
31
20
|
id: "contact-profile-card",
|
|
32
21
|
// Passive presentation surface — only exposes the rendered profession for
|
|
33
22
|
// introspection. No interactive capability is backed by the handle.
|
|
@@ -37,7 +26,7 @@ const ge = [
|
|
|
37
26
|
type: "string",
|
|
38
27
|
descriptionKey: "ui.agent.contactProfileCard.state.profession",
|
|
39
28
|
description: "Profession string the card is currently rendering — undefined when the consumer omitted it.",
|
|
40
|
-
read: (
|
|
29
|
+
read: (n) => n.getProfession()
|
|
41
30
|
}
|
|
42
31
|
},
|
|
43
32
|
actions: {},
|
|
@@ -53,7 +42,7 @@ const ge = [
|
|
|
53
42
|
description: "Sourced from the id prop."
|
|
54
43
|
}
|
|
55
44
|
}
|
|
56
|
-
},
|
|
45
|
+
}, ve = de(
|
|
57
46
|
"ds:w-full ds:text-[color:var(--foreground)] ds:[--key-value-pair-icon-color:var(--accent)]",
|
|
58
47
|
{
|
|
59
48
|
variants: {
|
|
@@ -69,38 +58,28 @@ const ge = [
|
|
|
69
58
|
defaultVariants: { surface: "elevated" }
|
|
70
59
|
}
|
|
71
60
|
);
|
|
72
|
-
function Ce(
|
|
73
|
-
return
|
|
61
|
+
function Ce(n) {
|
|
62
|
+
return n.replace(/[^\d+]/g, "");
|
|
74
63
|
}
|
|
75
|
-
function
|
|
76
|
-
const a = `https://wa.me/${
|
|
64
|
+
function xe(n, r) {
|
|
65
|
+
const a = `https://wa.me/${n}`;
|
|
77
66
|
return r ? `${a}?text=${encodeURIComponent(r)}` : a;
|
|
78
67
|
}
|
|
79
|
-
function
|
|
80
|
-
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(
|
|
68
|
+
function Pe(n) {
|
|
69
|
+
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(n.line)}`;
|
|
81
70
|
}
|
|
82
|
-
function
|
|
83
|
-
try {
|
|
84
|
-
return new Intl.NumberFormat(a, {
|
|
85
|
-
style: "currency",
|
|
86
|
-
currency: r
|
|
87
|
-
}).format(t / 100);
|
|
88
|
-
} catch {
|
|
89
|
-
return (t / 100).toFixed(2);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function ke() {
|
|
71
|
+
function be() {
|
|
93
72
|
if (typeof document > "u") return "4945a3";
|
|
94
|
-
const
|
|
73
|
+
const n = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), r = /^#?([0-9a-fA-F]{6})$/.exec(n);
|
|
95
74
|
return r ? r[1] : "4945a3";
|
|
96
75
|
}
|
|
97
|
-
function
|
|
98
|
-
const
|
|
76
|
+
function ye({ apiKey: n, center: r, zoom: a, altText: s }) {
|
|
77
|
+
const c = be(), u = `https://maps.googleapis.com/maps/api/staticmap?center=${r.lat},${r.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${c}%7C${r.lat},${r.lng}&key=${encodeURIComponent(n)}`;
|
|
99
78
|
return /* @__PURE__ */ e(
|
|
100
79
|
"img",
|
|
101
80
|
{
|
|
102
81
|
src: u,
|
|
103
|
-
alt:
|
|
82
|
+
alt: s,
|
|
104
83
|
loading: "lazy",
|
|
105
84
|
decoding: "async",
|
|
106
85
|
width: 640,
|
|
@@ -109,24 +88,24 @@ function we({ apiKey: t, center: r, zoom: a, altText: c }) {
|
|
|
109
88
|
}
|
|
110
89
|
);
|
|
111
90
|
}
|
|
112
|
-
const
|
|
91
|
+
const ke = le(
|
|
113
92
|
({
|
|
114
|
-
heading:
|
|
93
|
+
heading: n,
|
|
115
94
|
description: r,
|
|
116
95
|
address: a,
|
|
117
|
-
phone:
|
|
118
|
-
whatsappNumber:
|
|
96
|
+
phone: s,
|
|
97
|
+
whatsappNumber: c,
|
|
119
98
|
whatsappMessage: u,
|
|
120
99
|
email: m,
|
|
121
100
|
website: h,
|
|
122
101
|
languages: g,
|
|
123
102
|
languageLabels: p,
|
|
124
103
|
insurances: v,
|
|
125
|
-
firstVisitPriceCents:
|
|
126
|
-
currencyCode:
|
|
127
|
-
profession:
|
|
128
|
-
specializedInFearPatients:
|
|
129
|
-
googleMapsApiKey:
|
|
104
|
+
firstVisitPriceCents: C,
|
|
105
|
+
currencyCode: b = "EUR",
|
|
106
|
+
profession: x,
|
|
107
|
+
specializedInFearPatients: L,
|
|
108
|
+
googleMapsApiKey: y,
|
|
130
109
|
mapZoom: j = 14,
|
|
131
110
|
onPhoneClick: q,
|
|
132
111
|
onWhatsAppClick: W,
|
|
@@ -137,62 +116,62 @@ const Me = le(
|
|
|
137
116
|
mapSlot: X,
|
|
138
117
|
surface: k = "elevated",
|
|
139
118
|
"aria-label": Z,
|
|
140
|
-
id:
|
|
119
|
+
id: P,
|
|
141
120
|
className: ee,
|
|
142
121
|
...ae
|
|
143
122
|
}, te) => {
|
|
144
|
-
const { t
|
|
145
|
-
if (
|
|
146
|
-
return
|
|
147
|
-
}, [
|
|
123
|
+
const { t, i18n: w } = pe(), M = se(), $ = w.language ?? "en", A = n ?? t("contactProfileCard.heading"), re = Z ?? A, N = ce(() => {
|
|
124
|
+
if (C != null)
|
|
125
|
+
return me(C, b, $);
|
|
126
|
+
}, [C, b, $]), o = [];
|
|
148
127
|
if (a && o.push({
|
|
149
128
|
key: "address",
|
|
150
|
-
icon: /* @__PURE__ */ e(
|
|
151
|
-
label:
|
|
129
|
+
icon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
|
|
130
|
+
label: t("contactProfileCard.label.address"),
|
|
152
131
|
value: /* @__PURE__ */ f("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
153
132
|
/* @__PURE__ */ e("span", { children: a.line }),
|
|
154
133
|
a.lat != null && a.lng != null ? /* @__PURE__ */ e(
|
|
155
134
|
d,
|
|
156
135
|
{
|
|
157
|
-
href:
|
|
136
|
+
href: Pe(a),
|
|
158
137
|
external: !0,
|
|
159
138
|
intent: "default",
|
|
160
139
|
onClick: D,
|
|
161
|
-
children:
|
|
140
|
+
children: t("contactProfileCard.openInGoogleMaps")
|
|
162
141
|
}
|
|
163
142
|
) : null
|
|
164
143
|
] })
|
|
165
|
-
}),
|
|
144
|
+
}), s && o.push({
|
|
166
145
|
key: "phone",
|
|
167
|
-
icon: /* @__PURE__ */ e(
|
|
168
|
-
label:
|
|
146
|
+
icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
147
|
+
label: t("contactProfileCard.label.phone"),
|
|
169
148
|
value: /* @__PURE__ */ e(
|
|
170
149
|
d,
|
|
171
150
|
{
|
|
172
|
-
href: `tel:${Ce(
|
|
151
|
+
href: `tel:${Ce(s)}`,
|
|
173
152
|
intent: "default",
|
|
174
153
|
onClick: q,
|
|
175
|
-
children:
|
|
154
|
+
children: s
|
|
176
155
|
}
|
|
177
156
|
)
|
|
178
|
-
}),
|
|
157
|
+
}), c && o.push({
|
|
179
158
|
key: "whatsapp",
|
|
180
159
|
icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
|
|
181
|
-
label:
|
|
160
|
+
label: t("contactProfileCard.label.whatsapp"),
|
|
182
161
|
value: /* @__PURE__ */ e(
|
|
183
162
|
d,
|
|
184
163
|
{
|
|
185
|
-
href:
|
|
164
|
+
href: xe(c, u),
|
|
186
165
|
external: !0,
|
|
187
166
|
intent: "default",
|
|
188
167
|
onClick: W,
|
|
189
|
-
children:
|
|
168
|
+
children: c
|
|
190
169
|
}
|
|
191
170
|
)
|
|
192
171
|
}), m && o.push({
|
|
193
172
|
key: "email",
|
|
194
173
|
icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
|
|
195
|
-
label:
|
|
174
|
+
label: t("contactProfileCard.label.email"),
|
|
196
175
|
value: /* @__PURE__ */ e(
|
|
197
176
|
d,
|
|
198
177
|
{
|
|
@@ -204,59 +183,59 @@ const Me = le(
|
|
|
204
183
|
)
|
|
205
184
|
}), h && o.push({
|
|
206
185
|
key: "website",
|
|
207
|
-
icon: /* @__PURE__ */ e(
|
|
208
|
-
label:
|
|
186
|
+
icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
|
|
187
|
+
label: t("contactProfileCard.label.website"),
|
|
209
188
|
value: /* @__PURE__ */ e(d, { href: h, external: !0, intent: "default", children: h })
|
|
210
189
|
}), g && g.length > 0) {
|
|
211
190
|
const i = (l) => {
|
|
212
191
|
if (p != null && p[l]) return p[l];
|
|
213
|
-
const
|
|
214
|
-
return w.exists(
|
|
192
|
+
const S = `languages.${l}`;
|
|
193
|
+
return w.exists(S) ? t(S) : l.toUpperCase();
|
|
215
194
|
};
|
|
216
195
|
o.push({
|
|
217
196
|
key: "languages",
|
|
218
|
-
icon: /* @__PURE__ */ e(
|
|
219
|
-
label:
|
|
220
|
-
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((l) => /* @__PURE__ */ e(
|
|
197
|
+
icon: /* @__PURE__ */ e(V, { "aria-hidden": "true" }),
|
|
198
|
+
label: t("contactProfileCard.label.languages"),
|
|
199
|
+
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((l) => /* @__PURE__ */ e(T, { variant: "neutral", children: i(l) }, l)) })
|
|
221
200
|
});
|
|
222
201
|
}
|
|
223
202
|
v && v.length > 0 && o.push({
|
|
224
203
|
key: "insurances",
|
|
225
|
-
icon: /* @__PURE__ */ e(
|
|
226
|
-
label:
|
|
227
|
-
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((i) => /* @__PURE__ */ e(
|
|
228
|
-
}),
|
|
204
|
+
icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
|
|
205
|
+
label: t("contactProfileCard.label.insurances"),
|
|
206
|
+
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((i) => /* @__PURE__ */ e(T, { variant: "info", children: i }, i)) })
|
|
207
|
+
}), N && o.push({
|
|
229
208
|
key: "firstVisitPrice",
|
|
230
|
-
icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
|
|
231
|
-
label: n("contactProfileCard.label.firstVisitPrice"),
|
|
232
|
-
value: A
|
|
233
|
-
}), G && o.push({
|
|
234
|
-
key: "expertForAnxiousPatients",
|
|
235
209
|
icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
|
|
236
|
-
label:
|
|
237
|
-
value:
|
|
238
|
-
}),
|
|
210
|
+
label: t("contactProfileCard.label.firstVisitPrice"),
|
|
211
|
+
value: N
|
|
212
|
+
}), L && o.push({
|
|
213
|
+
key: "expertForAnxiousPatients",
|
|
214
|
+
icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
|
|
215
|
+
label: t("contactProfileCard.label.expertForAnxiousPatients"),
|
|
216
|
+
value: t("contactProfileCard.value.yesShort")
|
|
217
|
+
}), x && o.push({
|
|
239
218
|
key: "profession",
|
|
240
219
|
icon: /* @__PURE__ */ e(_, { "aria-hidden": "true" }),
|
|
241
|
-
label:
|
|
242
|
-
value:
|
|
243
|
-
}),
|
|
244
|
-
|
|
245
|
-
{ getProfession: () =>
|
|
246
|
-
|
|
220
|
+
label: t("contactProfileCard.label.profession"),
|
|
221
|
+
value: x
|
|
222
|
+
}), he(
|
|
223
|
+
ge,
|
|
224
|
+
{ getProfession: () => x },
|
|
225
|
+
P
|
|
247
226
|
);
|
|
248
|
-
const ne = !!
|
|
249
|
-
|
|
227
|
+
const ne = !!y && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
|
|
228
|
+
ye,
|
|
250
229
|
{
|
|
251
|
-
apiKey:
|
|
230
|
+
apiKey: y,
|
|
252
231
|
center: { lat: a.lat, lng: a.lng },
|
|
253
232
|
zoom: j,
|
|
254
|
-
altText:
|
|
233
|
+
altText: t("contactProfileCard.map.alt", {
|
|
255
234
|
address: a.line,
|
|
256
235
|
defaultValue: "Map showing {{address}}"
|
|
257
236
|
})
|
|
258
237
|
}
|
|
259
|
-
) : null, oe = X ?? ne, ie = /* @__PURE__ */ f(
|
|
238
|
+
) : null, oe = X ?? ne, ie = /* @__PURE__ */ f(I, { children: [
|
|
260
239
|
r ? /* @__PURE__ */ e("p", { className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: r }) : null,
|
|
261
240
|
o.length > 0 ? /* @__PURE__ */ e(fe, { rowGap: "md", children: o.map((i) => /* @__PURE__ */ e(
|
|
262
241
|
ue,
|
|
@@ -269,7 +248,7 @@ const Me = le(
|
|
|
269
248
|
)) }) : null,
|
|
270
249
|
oe,
|
|
271
250
|
Q
|
|
272
|
-
] }),
|
|
251
|
+
] }), R = /* @__PURE__ */ f(I, { children: [
|
|
273
252
|
/* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
274
253
|
J,
|
|
275
254
|
/* @__PURE__ */ e(
|
|
@@ -277,7 +256,7 @@ const Me = le(
|
|
|
277
256
|
{
|
|
278
257
|
id: M,
|
|
279
258
|
className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
|
|
280
|
-
children:
|
|
259
|
+
children: A
|
|
281
260
|
}
|
|
282
261
|
)
|
|
283
262
|
] }),
|
|
@@ -291,17 +270,17 @@ const Me = le(
|
|
|
291
270
|
"aria-label": re,
|
|
292
271
|
"aria-labelledby": M,
|
|
293
272
|
"data-component": "contact-profile-card",
|
|
294
|
-
"data-component-id":
|
|
295
|
-
id:
|
|
296
|
-
className:
|
|
273
|
+
"data-component-id": P,
|
|
274
|
+
id: P,
|
|
275
|
+
className: ve({ surface: k, className: ee }),
|
|
297
276
|
...ae,
|
|
298
|
-
children: k === "elevated" ? /* @__PURE__ */ e(
|
|
277
|
+
children: k === "elevated" ? /* @__PURE__ */ e(F, { variant: "elevated", children: /* @__PURE__ */ e(F.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: R }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: R })
|
|
299
278
|
}
|
|
300
279
|
);
|
|
301
280
|
}
|
|
302
281
|
);
|
|
303
|
-
|
|
304
|
-
const
|
|
282
|
+
ke.displayName = "ContactProfileCard";
|
|
283
|
+
const Ge = [
|
|
305
284
|
"address",
|
|
306
285
|
"phone",
|
|
307
286
|
"whatsapp",
|
|
@@ -312,22 +291,22 @@ const qe = [
|
|
|
312
291
|
"firstVisitPrice",
|
|
313
292
|
"expertForAnxiousPatients",
|
|
314
293
|
"profession"
|
|
315
|
-
],
|
|
316
|
-
address:
|
|
317
|
-
phone:
|
|
294
|
+
], Le = {
|
|
295
|
+
address: G,
|
|
296
|
+
phone: U,
|
|
318
297
|
whatsapp: K,
|
|
319
298
|
email: E,
|
|
320
|
-
website:
|
|
321
|
-
languages:
|
|
322
|
-
insurances:
|
|
323
|
-
firstVisitPrice:
|
|
324
|
-
expertForAnxiousPatients:
|
|
299
|
+
website: B,
|
|
300
|
+
languages: V,
|
|
301
|
+
insurances: z,
|
|
302
|
+
firstVisitPrice: H,
|
|
303
|
+
expertForAnxiousPatients: O,
|
|
325
304
|
profession: _
|
|
326
305
|
};
|
|
327
306
|
export {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
307
|
+
Le as C,
|
|
308
|
+
Ge as a,
|
|
309
|
+
ke as b,
|
|
310
|
+
ge as c
|
|
332
311
|
};
|
|
333
|
-
//# sourceMappingURL=contact-profile-card-
|
|
312
|
+
//# sourceMappingURL=contact-profile-card-BMIBr5s9.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as _, useCallback as g, useMemo as T, useRef as B, useContext
|
|
|
3
3
|
import { useTranslation as po } from "react-i18next";
|
|
4
4
|
import { I as G } from "./icon-button-DA2CAGHZ.js";
|
|
5
5
|
import { a as fo } from "./panel-header-D313n_9-.js";
|
|
6
|
-
import { T as mo } from "./tool-rail-
|
|
6
|
+
import { T as mo } from "./tool-rail-8Scslq3X.js";
|
|
7
7
|
import { u as go } from "./use-persistent-state-nZwZAnE9.js";
|
|
8
8
|
import { S as Ro } from "./star-Bf9L2Uot.js";
|
|
9
9
|
import { X as vo } from "./x-B5YnXwCz.js";
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
Ho as d,
|
|
335
335
|
Ko as u
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=control-room-rail-
|
|
337
|
+
//# sourceMappingURL=control-room-rail-iO_BCaq1.js.map
|
|
@@ -3,7 +3,7 @@ import { jsx as i, jsxs as L } from "react/jsx-runtime";
|
|
|
3
3
|
import { T as P } from "./tag-3wgkwwDB.js";
|
|
4
4
|
import { useTranslation as x } from "react-i18next";
|
|
5
5
|
import { I as S } from "./icon-button-DA2CAGHZ.js";
|
|
6
|
-
import { I as V } from "./icon-button-group-
|
|
6
|
+
import { I as V } from "./icon-button-group-VCCod3Hz.js";
|
|
7
7
|
import { A as $, a as H } from "./arrow-up-BYvcvTkB.js";
|
|
8
8
|
import { S as G } from "./square-check-big-dj0o8yA3.js";
|
|
9
9
|
import { S as O } from "./square-DASBRZ0U.js";
|
|
@@ -409,4 +409,4 @@ export {
|
|
|
409
409
|
ge as r,
|
|
410
410
|
me as u
|
|
411
411
|
};
|
|
412
|
-
//# sourceMappingURL=editable-currency-cell-renderer-
|
|
412
|
+
//# sourceMappingURL=editable-currency-cell-renderer-B7TVZ5ZJ.js.map
|
|
@@ -9,7 +9,7 @@ import { B as P } from "./button-nJaPh_HC.js";
|
|
|
9
9
|
import { I as Ze } from "./icon-button-DA2CAGHZ.js";
|
|
10
10
|
import { B as es } from "./button-group-CaxRJsNG.js";
|
|
11
11
|
import { C as ts } from "./combobox-DiMLItyu.js";
|
|
12
|
-
import { I as vn } from "./icon-button-group-
|
|
12
|
+
import { I as vn } from "./icon-button-group-VCCod3Hz.js";
|
|
13
13
|
import { T as Ar } from "./text-input-CUvCb6ST.js";
|
|
14
14
|
import { C as Oe } from "./card-DPmk26CL.js";
|
|
15
15
|
import { S as Tt } from "./separator-CYU_bGFn.js";
|
|
@@ -3137,4 +3137,4 @@ export {
|
|
|
3137
3137
|
Nn as t,
|
|
3138
3138
|
Kr as u
|
|
3139
3139
|
};
|
|
3140
|
-
//# sourceMappingURL=face-scheme-
|
|
3140
|
+
//# sourceMappingURL=face-scheme-CZaKm6fG.js.map
|
|
@@ -16,7 +16,7 @@ import { F as Nt, a as Tt } from "./file-Cwe9VC1A.js";
|
|
|
16
16
|
import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
17
17
|
import { F as At } from "./file-spreadsheet-DmwyfV4O.js";
|
|
18
18
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
19
|
-
import { A as Rt, d as It, D as Te } from "./actions-cell-renderer-
|
|
19
|
+
import { A as Rt, d as It, D as Te } from "./actions-cell-renderer-BCEjn3-f.js";
|
|
20
20
|
import { B as $e } from "./badge-sTusUqZD.js";
|
|
21
21
|
import { D as Ge } from "./download-CfYKJO_j.js";
|
|
22
22
|
import { P as zt } from "./pen-line-D0De5zdl.js";
|
|
@@ -24,7 +24,7 @@ import { S as Ue } from "./share-2-B49jcW2I.js";
|
|
|
24
24
|
import { P as Ye } from "./pencil-B1sKKyuT.js";
|
|
25
25
|
import { T as Ze } from "./trash-2-uumy3fy1.js";
|
|
26
26
|
import { I as Q } from "./icon-button-DA2CAGHZ.js";
|
|
27
|
-
import { I as _t } from "./icon-button-group-
|
|
27
|
+
import { I as _t } from "./icon-button-group-VCCod3Hz.js";
|
|
28
28
|
import { U as Xe } from "./upload-BfT2hzMg.js";
|
|
29
29
|
import { P as Lt } from "./plus-DzMQ_c6b.js";
|
|
30
30
|
/**
|
|
@@ -1756,4 +1756,4 @@ export {
|
|
|
1756
1756
|
yn as F,
|
|
1757
1757
|
Gt as f
|
|
1758
1758
|
};
|
|
1759
|
-
//# sourceMappingURL=file-manager-
|
|
1759
|
+
//# sourceMappingURL=file-manager-Moc7sUFj.js.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { c as a } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.22.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const h = [
|
|
9
|
+
["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
|
|
10
|
+
["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
|
|
11
|
+
["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
|
|
12
|
+
], k = a("banknote", h);
|
|
13
|
+
/**
|
|
14
|
+
* @license lucide-react v1.22.0 - ISC
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the ISC license.
|
|
17
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
19
|
+
const s = [
|
|
20
|
+
["path", { d: "m5 8 6 6", key: "1wu5hv" }],
|
|
21
|
+
["path", { d: "m4 14 6-6 2-3", key: "1k1g8d" }],
|
|
22
|
+
["path", { d: "M2 5h12", key: "or177f" }],
|
|
23
|
+
["path", { d: "M7 2h1", key: "1t2jsx" }],
|
|
24
|
+
["path", { d: "m22 22-5-10-5 10", key: "don7ne" }],
|
|
25
|
+
["path", { d: "M14 18h6", key: "1m8k6r" }]
|
|
26
|
+
], u = a("languages", s), o = /* @__PURE__ */ new Set([
|
|
27
|
+
"BIF",
|
|
28
|
+
"CLP",
|
|
29
|
+
"DJF",
|
|
30
|
+
"GNF",
|
|
31
|
+
"IDR",
|
|
32
|
+
"JPY",
|
|
33
|
+
"KMF",
|
|
34
|
+
"KRW",
|
|
35
|
+
"MGA",
|
|
36
|
+
"PYG",
|
|
37
|
+
"RWF",
|
|
38
|
+
"UGX",
|
|
39
|
+
"VND",
|
|
40
|
+
"VUV",
|
|
41
|
+
"XAF",
|
|
42
|
+
"XOF",
|
|
43
|
+
"XPF"
|
|
44
|
+
]);
|
|
45
|
+
function m(n, c, r) {
|
|
46
|
+
const t = c.toUpperCase(), e = o.has(t) ? n : n / 100;
|
|
47
|
+
try {
|
|
48
|
+
return new Intl.NumberFormat(r, {
|
|
49
|
+
style: "currency",
|
|
50
|
+
currency: t
|
|
51
|
+
}).format(e);
|
|
52
|
+
} catch {
|
|
53
|
+
return `${o.has(t) ? String(e) : e.toFixed(2)} ${t}`;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
k as B,
|
|
58
|
+
u as L,
|
|
59
|
+
m as f
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=format-price-DNqXPa_q.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as I, useRef as c, useImperativeHandle as C, useCallback as
|
|
|
3
3
|
import { c as _ } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as K } from "react-i18next";
|
|
5
5
|
import { I as l } from "./icon-button-DA2CAGHZ.js";
|
|
6
|
-
import { I as M } from "./icon-button-group-
|
|
6
|
+
import { I as M } from "./icon-button-group-VCCod3Hz.js";
|
|
7
7
|
import { D as r } from "./dropdown-menu-DU-Hrf33.js";
|
|
8
8
|
import { S as N } from "./switch-OILsBLWo.js";
|
|
9
9
|
import { c as S, a as j, L as H } from "./locale-picker-BvbVjDQ-.js";
|
|
@@ -332,4 +332,4 @@ J.displayName = "HeaderSettings";
|
|
|
332
332
|
export {
|
|
333
333
|
J as H
|
|
334
334
|
};
|
|
335
|
-
//# sourceMappingURL=header-settings-
|
|
335
|
+
//# sourceMappingURL=header-settings-J-ZCAfir.js.map
|