@alfadocs/ui-kit 1.79.0 → 1.81.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/{address-fields-GnoSkvh6.js → address-fields-CfnXK8RT.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-M6u29f87.js → ai-prompt-input-DH_rnV-F.js} +33 -26
- package/dist/_chunks/{anamnesis-summary-rows-lONg-zja.js → anamnesis-summary-rows-BYtpwCyn.js} +2 -2
- package/dist/_chunks/{autocomplete-DosDnGie.js → autocomplete-CnB1mHGc.js} +65 -64
- package/dist/_chunks/{balance-badge-cell-Dzd-Z_5W.js → balance-badge-cell-NoEPeFdj.js} +2 -2
- package/dist/_chunks/{benefit-card-BWBClvdF.js → benefit-card-BcPtRHgM.js} +37 -36
- package/dist/_chunks/{booking-BV2s2J3C.js → booking-CxrB0e6d.js} +1782 -1754
- package/dist/_chunks/{calendar-appointment-editor-dialog-DhTTWgXw.js → calendar-appointment-editor-dialog-BuumJbcv.js} +4 -4
- package/dist/_chunks/{city-input-3J3bz9EO.js → city-input-CJVGswxp.js} +2 -2
- package/dist/_chunks/{combobox-vF9O-QoG.js → combobox-CDPm_n0p.js} +93 -92
- package/dist/_chunks/{command-palette-D9TBzmOG.js → command-palette-B3dVqm9D.js} +68 -68
- package/dist/_chunks/{contact-profile-card-DKk94l-d.js → contact-profile-card-Da1vmJQI.js} +115 -102
- package/dist/_chunks/{country-select-CSE2Zm_s.js → country-select-DQ8q7ypA.js} +2 -2
- package/dist/_chunks/{face-scheme-BIPJqw9f.js → face-scheme-BgJGFDTa.js} +2 -2
- package/dist/_chunks/{header-settings-BYpVmLip.js → header-settings-CifwJEKB.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-B0riA_h_.js → link-cell-renderer-Dwp_DCYT.js} +3 -3
- package/dist/_chunks/{locale-picker-DzdGDSBI.js → locale-picker-QbT1p60X.js} +39 -38
- package/dist/_chunks/{map-view-C6MIVaqn.js → map-view-Bvi06RVh.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-mS7Q2-81.js → marketplace-app-shell-vON3WhD0.js} +2 -2
- package/dist/_chunks/{multi-select-BOad3za9.js → multi-select-IOVnOGlP.js} +106 -106
- package/dist/_chunks/{patient-details-B-I9Xkh9.js → patient-details-D0P5eog5.js} +2 -2
- package/dist/_chunks/{patient-field-row-Bn0z6lAZ.js → patient-field-row-R73dZJY6.js} +5 -5
- package/dist/_chunks/{patient-search-CxqNcth4.js → patient-search-Dy0sxcwv.js} +2 -2
- package/dist/_chunks/{patient-summary-card-bhDo0gVX.js → patient-summary-card-6U74-ivO.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-AQpHOS1X.js → payment-automation-upsell-D1YdO1xY.js} +2 -2
- package/dist/_chunks/{phone-input-C3NrD-nl.js → phone-input-DJ4BN8tG.js} +70 -63
- package/dist/_chunks/{practice-results-BnY2EkzI.js → practice-results-B61krlwu.js} +659 -615
- package/dist/_chunks/{province-select-CDjs5obD.js → province-select-CPdTwEob.js} +2 -2
- package/dist/_chunks/{registration-form-CNBfUduG.js → registration-form-e9oYscB7.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-vTn1HxjA.js → send-registration-link-form-CZYOO7NO.js} +2 -2
- package/dist/_chunks/{task-editor-Cpw-NmND.js → task-editor-BOETWbjU.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-lFUL4kkd.js → use-appointment-details-read-CWN-nJCZ.js} +2 -2
- package/dist/agent-catalog.json +3 -3
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/benefit-card/benefit-card.d.ts +7 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +16 -1
- package/dist/components/booking/cascade.d.ts +3 -0
- package/dist/components/booking/details-form.d.ts +2 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +4 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +19 -2
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +2 -0
- package/dist/i18n/locales/ar.js +3 -1
- package/dist/i18n/locales/de.d.ts +2 -0
- package/dist/i18n/locales/de.js +3 -1
- package/dist/i18n/locales/el.d.ts +2 -0
- package/dist/i18n/locales/el.js +3 -1
- package/dist/i18n/locales/en.d.ts +2 -0
- package/dist/i18n/locales/en.js +3 -1
- package/dist/i18n/locales/es.d.ts +2 -0
- package/dist/i18n/locales/es.js +3 -1
- package/dist/i18n/locales/fr.d.ts +2 -0
- package/dist/i18n/locales/fr.js +3 -1
- package/dist/i18n/locales/hi.d.ts +2 -0
- package/dist/i18n/locales/hi.js +3 -1
- package/dist/i18n/locales/it.d.ts +2 -0
- package/dist/i18n/locales/it.js +3 -1
- package/dist/i18n/locales/ja.d.ts +2 -0
- package/dist/i18n/locales/ja.js +3 -1
- package/dist/i18n/locales/nl.d.ts +2 -0
- package/dist/i18n/locales/nl.js +3 -1
- package/dist/i18n/locales/pl.d.ts +2 -0
- package/dist/i18n/locales/pl.js +3 -1
- package/dist/i18n/locales/pt.d.ts +2 -0
- package/dist/i18n/locales/pt.js +3 -1
- package/dist/i18n/locales/ro.d.ts +2 -0
- package/dist/i18n/locales/ro.js +3 -1
- package/dist/i18n/locales/ru.d.ts +2 -0
- package/dist/i18n/locales/ru.js +3 -1
- package/dist/i18n/locales/sq.d.ts +2 -0
- package/dist/i18n/locales/sq.js +3 -1
- package/dist/i18n/locales/sv.d.ts +2 -0
- package/dist/i18n/locales/sv.js +3 -1
- package/dist/i18n/locales/tr.d.ts +2 -0
- package/dist/i18n/locales/tr.js +3 -1
- package/dist/i18n/locales/zh.d.ts +2 -0
- package/dist/i18n/locales/zh.js +3 -1
- package/dist/index.js +29 -29
- package/dist/locales/ar.json +3 -1
- package/dist/locales/de.json +3 -1
- package/dist/locales/el.json +3 -1
- package/dist/locales/en.json +3 -1
- package/dist/locales/es.json +3 -1
- package/dist/locales/fr.json +3 -1
- package/dist/locales/hi.json +3 -1
- package/dist/locales/it.json +3 -1
- package/dist/locales/ja.json +3 -1
- package/dist/locales/nl.json +3 -1
- package/dist/locales/pl.json +3 -1
- package/dist/locales/pt.json +3 -1
- package/dist/locales/ro.json +3 -1
- package/dist/locales/ru.json +3 -1
- package/dist/locales/sq.json +3 -1
- package/dist/locales/sv.json +3 -1
- package/dist/locales/tr.json +3 -1
- package/dist/locales/zh.json +3 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as P } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y, useMemo as g, useCallback as R, useRef as D, useEffect as _ } from "react";
|
|
3
3
|
import { useTranslation as k } from "react-i18next";
|
|
4
|
-
import { C as x } from "./combobox-
|
|
4
|
+
import { C as x } from "./combobox-CDPm_n0p.js";
|
|
5
5
|
import { n as t } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
6
6
|
import { u as K } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as j } from "./registry-DvAUVLHh.js";
|
|
@@ -271,4 +271,4 @@ export {
|
|
|
271
271
|
Z as P,
|
|
272
272
|
H as p
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=province-select-
|
|
274
|
+
//# sourceMappingURL=province-select-CPdTwEob.js.map
|
|
@@ -14,7 +14,7 @@ import { F as W } from "./form-field-CyHfOVKF.js";
|
|
|
14
14
|
import { L as qr } from "./list-CNnn7DOD.js";
|
|
15
15
|
import { P as Tr } from "./password-input-BokZ_rnT.js";
|
|
16
16
|
import { u as Rn } from "./use-password-requirements-C8DdwPEy.js";
|
|
17
|
-
import { P as Ln } from "./phone-input-
|
|
17
|
+
import { P as Ln } from "./phone-input-DJ4BN8tG.js";
|
|
18
18
|
import { R as An } from "./recaptcha-widget-iglUBIF3.js";
|
|
19
19
|
import { S as Pn } from "./select-4S-eYZUf.js";
|
|
20
20
|
import { S as Dr } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
@@ -1334,4 +1334,4 @@ export {
|
|
|
1334
1334
|
Gr as R,
|
|
1335
1335
|
cs as a
|
|
1336
1336
|
};
|
|
1337
|
-
//# sourceMappingURL=registration-form-
|
|
1337
|
+
//# sourceMappingURL=registration-form-e9oYscB7.js.map
|
|
@@ -10,7 +10,7 @@ import { C as B } from "./card-BA4Ig_kn.js";
|
|
|
10
10
|
import { D as Ze } from "./date-picker-CdhXlgVI.js";
|
|
11
11
|
import { E as Ve } from "./error-summary-mGxIyDAY.js";
|
|
12
12
|
import { F } from "./form-field-CyHfOVKF.js";
|
|
13
|
-
import { P as ue } from "./phone-input-
|
|
13
|
+
import { P as ue } from "./phone-input-DJ4BN8tG.js";
|
|
14
14
|
import { a as en, i as nn } from "./safe-href-5dbsfbQn.js";
|
|
15
15
|
import { u as ge } from "./use-state-backed-input-DhRQo6gM.js";
|
|
16
16
|
import { u as Ce } from "./use-field-match-C8ug3sdQ.js";
|
|
@@ -406,4 +406,4 @@ export {
|
|
|
406
406
|
q as S,
|
|
407
407
|
fn as a
|
|
408
408
|
};
|
|
409
|
-
//# sourceMappingURL=send-registration-link-form-
|
|
409
|
+
//# sourceMappingURL=send-registration-link-form-CZYOO7NO.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as gt } from "react-i18next";
|
|
|
5
5
|
import { A as M } from "./alert-9kEwDza3.js";
|
|
6
6
|
import { B as Me } from "./button-DohK_Ak_.js";
|
|
7
7
|
import { I as We } from "./icon-button-S8_weU3g.js";
|
|
8
|
-
import { C as Qe } from "./combobox-
|
|
8
|
+
import { C as Qe } from "./combobox-CDPm_n0p.js";
|
|
9
9
|
import { D as ce } from "./dialog-C7RWaH08.js";
|
|
10
10
|
import { D as Bt } from "./date-picker-CdhXlgVI.js";
|
|
11
11
|
import { F as H } from "./form-field-CyHfOVKF.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
vn as T,
|
|
1240
1240
|
ln as t
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=task-editor-
|
|
1242
|
+
//# sourceMappingURL=task-editor-BOETWbjU.js.map
|
|
@@ -16,7 +16,7 @@ import { E as zt } from "./editable-description-KU56SP4P.js";
|
|
|
16
16
|
import { N as Xe } from "./note-timeline-KzL52MmB.js";
|
|
17
17
|
import { P as Ot } from "./panel-header-CbtlTe85.js";
|
|
18
18
|
import { P as Ge } from "./panel-subview-DCyvn-49.js";
|
|
19
|
-
import { P as _t } from "./patient-summary-card-
|
|
19
|
+
import { P as _t } from "./patient-summary-card-6U74-ivO.js";
|
|
20
20
|
import { S as ne } from "./section-card-D5nWiTcK.js";
|
|
21
21
|
import { C as nn, S as ue } from "./skeleton-tTWJpvAq.js";
|
|
22
22
|
import { T as an } from "./text-area-COMVJ1yE.js";
|
|
@@ -2195,4 +2195,4 @@ export {
|
|
|
2195
2195
|
Kn as s,
|
|
2196
2196
|
_s as u
|
|
2197
2197
|
};
|
|
2198
|
-
//# sourceMappingURL=use-appointment-details-read-
|
|
2198
|
+
//# sourceMappingURL=use-appointment-details-read-CWN-nJCZ.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.81.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -1512,7 +1512,7 @@
|
|
|
1512
1512
|
"root": {
|
|
1513
1513
|
"attr": "data-component",
|
|
1514
1514
|
"value": "booking",
|
|
1515
|
-
"description": "Marks the Booking root region. The host prop hideEmail (boolean, default false) hides the email field, skips its validation and omits email from submission.
|
|
1515
|
+
"description": "Marks the Booking root region. The host prop hideEmail (boolean, default false) hides the email field, skips its validation and omits email from submission. The host prop emailOptional (boolean, default false) keeps email visible and optional unless used for confirmation. Email is marked and validated as required when selected in the channel picker or singleConfirmationChannel radio, or when the effective confirmation channel is email. With a hidden picker, the form and success screen use the sole enabled channel, or email when multiple channels are enabled. This includes payment and blocked-payment flows, which omit stored selections from submission. Omitting confirmationChannels also defaults to email. Selecting SMS without email makes the field optional again. The optional/required marker updates visually when the channel changes, with no announcement of that change. Validation updates immediately using the existing email error. With emailOptional, surrounding spaces are trimmed before validation, even when email is required for confirmation. Optional blank values are omitted from submission; filled values are sent trimmed. hideEmail takes precedence over emailOptional. Neither prop changes confirmation channels; pair with confirmationChannels [\"sms\"] for SMS-only confirmation with no channel picker. The optional codeStep prop adds SMS verification after submission and payment; the step remains 7 until verification succeeds, then becomes 8. Patient contact details and verification codes are never exposed through this adapter."
|
|
1516
1516
|
},
|
|
1517
1517
|
"instanceId": {
|
|
1518
1518
|
"attr": "data-component-id",
|
|
@@ -11217,7 +11217,7 @@
|
|
|
11217
11217
|
},
|
|
11218
11218
|
"item": {
|
|
11219
11219
|
"attr": "data-result-id",
|
|
11220
|
-
"description": "Stable result id emitted on each rendered result card. Used by scroll_to_result / focus_pin to address a single result. The non-focusable card group is labelled by the practice-result-{id}-name heading, which contains data-component=\"practice-result-name-link\": a visible link to result.href that navigates without firing onResultSelect or click telemetry. Each card also carries up to two CTA anchors: data-component=\"practice-result-open-cta\" (practice page; absent when the consumer sets showCardOpenButton=false) and data-component=\"practice-result-book-cta\" (booking flow; data-slot-aware=\"true\" when it deep-links to a next slot). Card content carries its own read-only hooks: data-component=\"practice-result-tagline\", data-component=\"practice-result-description\", and data-component=\"practice-result-price\" (the kit-formatted first-visit cost,
|
|
11220
|
+
"description": "Stable result id emitted on each rendered result card. Used by scroll_to_result / focus_pin to address a single result. The non-focusable card group is labelled by the practice-result-{id}-name heading, which contains data-component=\"practice-result-name-link\": a visible link to result.href that navigates without firing onResultSelect or click telemetry. Each card also carries up to two CTA anchors: data-component=\"practice-result-open-cta\" (practice page; absent when the consumer sets showCardOpenButton=false) and data-component=\"practice-result-book-cta\" (booking flow; data-slot-aware=\"true\" when it deep-links to a next slot). Card content carries its own read-only hooks: data-component=\"practice-result-tagline\", data-component=\"practice-result-description\", and data-component=\"practice-result-price\" (the kit-formatted first-visit cost: firstVisitPrice supports fixed, from and range amounts plus an optional practice-written label; it takes precedence over the older firstVisitPriceCents fixed-price field. Absent when neither price is set)."
|
|
11221
11221
|
}
|
|
11222
11222
|
}
|
|
11223
11223
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-
|
|
1
|
+
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-CWN-nJCZ.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -8,8 +8,14 @@ export interface BenefitCardProps extends Omit<HTMLAttributes<HTMLElement>, 'tit
|
|
|
8
8
|
step?: number;
|
|
9
9
|
/** Icon node — usually an `<svg>` 24-32px. Rendered inside a tinted square chip. */
|
|
10
10
|
icon?: ReactNode;
|
|
11
|
-
/** Card heading
|
|
11
|
+
/** Card heading, rendered as a heading element. Pass only inline / phrasing content. */
|
|
12
12
|
title: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Level of the title heading, `3` by default. Set it to one below the
|
|
15
|
+
* section heading the cards sit under: `2` when the page's `h1` is the
|
|
16
|
+
* only heading above them.
|
|
17
|
+
*/
|
|
18
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
13
19
|
/** Optional CTA — usually a `<Button intent="link">` or kit `<Link>`. Rendered at the block-end. */
|
|
14
20
|
cta?: ReactNode;
|
|
15
21
|
/** Surface treatment. */
|
|
@@ -170,7 +170,11 @@ export interface BookingBillingDetails {
|
|
|
170
170
|
export interface BookingDetails {
|
|
171
171
|
firstName: string;
|
|
172
172
|
lastName: string;
|
|
173
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* Required by default. Omitted when `hideEmail` is true, or when blank
|
|
175
|
+
* with `emailOptional` and confirmation uses another channel.
|
|
176
|
+
* Filled values are trimmed when submitted.
|
|
177
|
+
*/
|
|
174
178
|
email?: string;
|
|
175
179
|
mobilePhone: string;
|
|
176
180
|
privacyConsent: boolean;
|
|
@@ -319,10 +323,21 @@ export interface BookingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'ari
|
|
|
319
323
|
/**
|
|
320
324
|
* Hide the email field and skip its validation. Default: false.
|
|
321
325
|
* Submission omits email, including any email in the controlled value.
|
|
326
|
+
* Takes precedence over `emailOptional`.
|
|
322
327
|
* Pair with `confirmationChannels={['sms']}` for SMS-only confirmation.
|
|
323
328
|
* This prop does not change the enabled confirmation channels.
|
|
324
329
|
*/
|
|
325
330
|
hideEmail?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* Keep email visible but optional unless used for confirmation. Default: false.
|
|
333
|
+
* Email remains required when selected in the picker or radio, or when
|
|
334
|
+
* the resolved channels contain only email (including the omitted-prop default).
|
|
335
|
+
* Otherwise, blank or whitespace-only values are omitted from submission.
|
|
336
|
+
* Filled values must match the existing email format and are submitted trimmed.
|
|
337
|
+
* `hideEmail` takes precedence. This does not change confirmation channels;
|
|
338
|
+
* pair with `confirmationChannels={['sms']}` for SMS-only confirmation.
|
|
339
|
+
*/
|
|
340
|
+
emailOptional?: boolean;
|
|
326
341
|
requireCodiceFiscale?: boolean;
|
|
327
342
|
requireDateOfBirth?: boolean;
|
|
328
343
|
requireInsuranceNumber?: boolean;
|
|
@@ -108,6 +108,9 @@ export declare function resolveOperatorId(value: BookingValue): string | undefin
|
|
|
108
108
|
* when the consumer omits the prop, preserving the pre-amendment behaviour.
|
|
109
109
|
*/
|
|
110
110
|
export declare function resolveConfirmationChannels(enabled: ConfirmationChannel[] | undefined): ConfirmationChannel[];
|
|
111
|
+
/** Use the selection when present, otherwise the sole enabled channel or email.
|
|
112
|
+
* `enabled` must be resolved with `resolveConfirmationChannels` first. */
|
|
113
|
+
export declare function resolveEffectiveConfirmationChannels(enabled: ConfirmationChannel[], selection: ConfirmationChannel[] | undefined): ConfirmationChannel[];
|
|
111
114
|
/**
|
|
112
115
|
* Compute the channels to pre-check. Result is intersected with `enabled`
|
|
113
116
|
* for safety so a channel the practice didn't enable never gets ticked.
|
|
@@ -6,6 +6,8 @@ export interface BookingDetailsFormProps {
|
|
|
6
6
|
onSubmit: (details: BookingDetails) => void | Promise<void>;
|
|
7
7
|
/** Hide email, skip its validation and omit it from submission. Default: false. */
|
|
8
8
|
hideEmail?: boolean;
|
|
9
|
+
/** Keep email optional unless used for confirmation; `hideEmail` wins. Default: false. */
|
|
10
|
+
emailOptional?: boolean;
|
|
9
11
|
requireCodiceFiscale?: boolean;
|
|
10
12
|
requireDateOfBirth?: boolean;
|
|
11
13
|
/** When `true` AND `insuranceType === 'public'`, render the Versichertennummer field. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as t, a as e, b as o, c as s, d as n, e as d, f as i, g as C, h as r, i as l, j as c, k as h, u as g } from "../../_chunks/command-palette-
|
|
1
|
+
import { C as t, a as e, b as o, c as s, d as n, e as d, f as i, g as C, h as r, i as l, j as c, k as h, u as g } from "../../_chunks/command-palette-B3dVqm9D.js";
|
|
2
2
|
export {
|
|
3
3
|
t as CommandEmpty,
|
|
4
4
|
e as CommandGroup,
|
|
@@ -40,7 +40,10 @@ export interface ContactProfileCardProps extends Omit<ComponentPropsWithoutRef<'
|
|
|
40
40
|
whatsappMessage?: string;
|
|
41
41
|
/** Public-facing email. Compiled into a `mailto:` link. */
|
|
42
42
|
email?: string;
|
|
43
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Practice website. An address without a scheme (`www.example.it`) is
|
|
45
|
+
* linked over `https://`; anything but a web address shows as text.
|
|
46
|
+
*/
|
|
44
47
|
website?: string;
|
|
45
48
|
/**
|
|
46
49
|
* Google Maps Static API key. When provided alongside `address.lat`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-
|
|
1
|
+
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-Da1vmJQI.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-BlONA1rP.js";
|
|
2
2
|
import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as m, r as E, u as f } from "../../_chunks/editable-currency-cell-renderer-rWYiF4EI.js";
|
|
3
|
-
import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-
|
|
3
|
+
import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-Dwp_DCYT.js";
|
|
4
4
|
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-B1yaOfQM.js";
|
|
5
5
|
export {
|
|
6
6
|
X as ActionsCellRenderer,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-
|
|
1
|
+
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-BgJGFDTa.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ANNOTATION_TOOL_KIND,
|
|
4
4
|
o as FACE_ANNOTATION_TOOLS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-
|
|
1
|
+
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-NoEPeFdj.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -80,7 +80,24 @@ export interface PracticeResult {
|
|
|
80
80
|
/** Anxious-patient friendly — renders an icon chip on rich-cards. */
|
|
81
81
|
specializedInFearPatients?: boolean;
|
|
82
82
|
/**
|
|
83
|
-
* First-visit price in
|
|
83
|
+
* First-visit price in minor currency units, formatted by the kit.
|
|
84
|
+
* Takes precedence over the older `firstVisitPriceCents` field when
|
|
85
|
+
* `minCents` is finite; otherwise the older field is used.
|
|
86
|
+
* Fixed zero means "Free"; from/range zero stays numeric. A range
|
|
87
|
+
* without a finite maximum above its minimum renders as a starting price.
|
|
88
|
+
*/
|
|
89
|
+
firstVisitPrice?: {
|
|
90
|
+
kind: 'fixed' | 'from' | 'range';
|
|
91
|
+
minCents: number;
|
|
92
|
+
maxCents?: number;
|
|
93
|
+
/** Short practice-written plain text, without trailing punctuation. */
|
|
94
|
+
label?: string;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Older fixed-price form, kept for booking-website compatibility.
|
|
98
|
+
* Use `firstVisitPrice` for new integrations; a finite minimum wins when
|
|
99
|
+
* both are set.
|
|
100
|
+
* Price in the smallest currency unit (cents / centesimi).
|
|
84
101
|
* Rendered as a labelled "First visit cost" row on every card in both
|
|
85
102
|
* densities (booking-website maps the practice's long-standing
|
|
86
103
|
* first-visit price setting here). Same convention as
|
|
@@ -94,7 +111,7 @@ export interface PracticeResult {
|
|
|
94
111
|
*/
|
|
95
112
|
firstVisitPriceCents?: number;
|
|
96
113
|
/**
|
|
97
|
-
* ISO-4217 currency code for
|
|
114
|
+
* ISO-4217 currency code for either first-visit price form. Defaults to
|
|
98
115
|
* `EUR`. Added for HTP-6136.
|
|
99
116
|
*/
|
|
100
117
|
currencyCode?: string;
|
|
@@ -2522,6 +2522,8 @@ export declare const arUi: {
|
|
|
2522
2522
|
readonly open: "فتح";
|
|
2523
2523
|
readonly book: "احجز";
|
|
2524
2524
|
readonly firstVisitPrice: "تكلفة الزيارة الأولى";
|
|
2525
|
+
readonly priceFrom: "ابتداءً من {{price}}";
|
|
2526
|
+
readonly priceRange: "من {{min}} إلى {{max}}";
|
|
2525
2527
|
};
|
|
2526
2528
|
readonly sheet: {
|
|
2527
2529
|
readonly title_one: "عيادة واحدة";
|
package/dist/i18n/locales/ar.js
CHANGED
|
@@ -2504,7 +2504,9 @@ const e = {
|
|
|
2504
2504
|
card: {
|
|
2505
2505
|
open: "فتح",
|
|
2506
2506
|
book: "احجز",
|
|
2507
|
-
firstVisitPrice: "تكلفة الزيارة الأولى"
|
|
2507
|
+
firstVisitPrice: "تكلفة الزيارة الأولى",
|
|
2508
|
+
priceFrom: "ابتداءً من {{price}}",
|
|
2509
|
+
priceRange: "من {{min}} إلى {{max}}"
|
|
2508
2510
|
},
|
|
2509
2511
|
sheet: {
|
|
2510
2512
|
title_one: "عيادة واحدة",
|
|
@@ -2510,6 +2510,8 @@ export declare const deUi: {
|
|
|
2510
2510
|
readonly open: "Öffnen";
|
|
2511
2511
|
readonly book: "Buchen";
|
|
2512
2512
|
readonly firstVisitPrice: "Kosten der Erstuntersuchung";
|
|
2513
|
+
readonly priceFrom: "ab {{price}}";
|
|
2514
|
+
readonly priceRange: "{{min}} bis {{max}}";
|
|
2513
2515
|
};
|
|
2514
2516
|
readonly sheet: {
|
|
2515
2517
|
readonly title_one: "{{count}} Praxis";
|
package/dist/i18n/locales/de.js
CHANGED
|
@@ -2491,7 +2491,9 @@ const e = {
|
|
|
2491
2491
|
card: {
|
|
2492
2492
|
open: "Öffnen",
|
|
2493
2493
|
book: "Buchen",
|
|
2494
|
-
firstVisitPrice: "Kosten der Erstuntersuchung"
|
|
2494
|
+
firstVisitPrice: "Kosten der Erstuntersuchung",
|
|
2495
|
+
priceFrom: "ab {{price}}",
|
|
2496
|
+
priceRange: "{{min}} bis {{max}}"
|
|
2495
2497
|
},
|
|
2496
2498
|
sheet: {
|
|
2497
2499
|
title_one: "{{count}} Praxis",
|
|
@@ -2507,6 +2507,8 @@ export declare const elUi: {
|
|
|
2507
2507
|
readonly open: "Άνοιγμα";
|
|
2508
2508
|
readonly book: "Κράτηση";
|
|
2509
2509
|
readonly firstVisitPrice: "Κόστος πρώτης επίσκεψης";
|
|
2510
|
+
readonly priceFrom: "από {{price}}";
|
|
2511
|
+
readonly priceRange: "από {{min}} έως {{max}}";
|
|
2510
2512
|
};
|
|
2511
2513
|
readonly sheet: {
|
|
2512
2514
|
readonly title_one: "{{count}} ιατρείο";
|
package/dist/i18n/locales/el.js
CHANGED
|
@@ -2492,7 +2492,9 @@ const e = {
|
|
|
2492
2492
|
card: {
|
|
2493
2493
|
open: "Άνοιγμα",
|
|
2494
2494
|
book: "Κράτηση",
|
|
2495
|
-
firstVisitPrice: "Κόστος πρώτης επίσκεψης"
|
|
2495
|
+
firstVisitPrice: "Κόστος πρώτης επίσκεψης",
|
|
2496
|
+
priceFrom: "από {{price}}",
|
|
2497
|
+
priceRange: "από {{min}} έως {{max}}"
|
|
2496
2498
|
},
|
|
2497
2499
|
sheet: {
|
|
2498
2500
|
title_one: "{{count}} ιατρείο",
|
|
@@ -2633,6 +2633,8 @@ export declare const enUi: {
|
|
|
2633
2633
|
readonly open: "Open";
|
|
2634
2634
|
readonly book: "Book";
|
|
2635
2635
|
readonly firstVisitPrice: "First visit cost";
|
|
2636
|
+
readonly priceFrom: "from {{price}}";
|
|
2637
|
+
readonly priceRange: "{{min}} to {{max}}";
|
|
2636
2638
|
};
|
|
2637
2639
|
readonly sheet: {
|
|
2638
2640
|
readonly title_one: "{{count}} practice";
|
package/dist/i18n/locales/en.js
CHANGED
|
@@ -2612,7 +2612,9 @@ const e = {
|
|
|
2612
2612
|
card: {
|
|
2613
2613
|
open: "Open",
|
|
2614
2614
|
book: "Book",
|
|
2615
|
-
firstVisitPrice: "First visit cost"
|
|
2615
|
+
firstVisitPrice: "First visit cost",
|
|
2616
|
+
priceFrom: "from {{price}}",
|
|
2617
|
+
priceRange: "{{min}} to {{max}}"
|
|
2616
2618
|
},
|
|
2617
2619
|
sheet: {
|
|
2618
2620
|
title_one: "{{count}} practice",
|
|
@@ -2510,6 +2510,8 @@ export declare const esUi: {
|
|
|
2510
2510
|
readonly open: "Abrir";
|
|
2511
2511
|
readonly book: "Reservar";
|
|
2512
2512
|
readonly firstVisitPrice: "Coste de la primera visita";
|
|
2513
|
+
readonly priceFrom: "desde {{price}}";
|
|
2514
|
+
readonly priceRange: "de {{min}} a {{max}}";
|
|
2513
2515
|
};
|
|
2514
2516
|
readonly sheet: {
|
|
2515
2517
|
readonly title_one: "{{count}} clínica";
|
package/dist/i18n/locales/es.js
CHANGED
|
@@ -2494,7 +2494,9 @@ const e = {
|
|
|
2494
2494
|
card: {
|
|
2495
2495
|
open: "Abrir",
|
|
2496
2496
|
book: "Reservar",
|
|
2497
|
-
firstVisitPrice: "Coste de la primera visita"
|
|
2497
|
+
firstVisitPrice: "Coste de la primera visita",
|
|
2498
|
+
priceFrom: "desde {{price}}",
|
|
2499
|
+
priceRange: "de {{min}} a {{max}}"
|
|
2498
2500
|
},
|
|
2499
2501
|
sheet: {
|
|
2500
2502
|
title_one: "{{count}} clínica",
|
|
@@ -2510,6 +2510,8 @@ export declare const frUi: {
|
|
|
2510
2510
|
readonly open: "Ouvrir";
|
|
2511
2511
|
readonly book: "Réserver";
|
|
2512
2512
|
readonly firstVisitPrice: "Coût de la première consultation";
|
|
2513
|
+
readonly priceFrom: "à partir de {{price}}";
|
|
2514
|
+
readonly priceRange: "de {{min}} à {{max}}";
|
|
2513
2515
|
};
|
|
2514
2516
|
readonly sheet: {
|
|
2515
2517
|
readonly title_one: "{{count}} cabinet";
|
package/dist/i18n/locales/fr.js
CHANGED
|
@@ -2494,7 +2494,9 @@ const e = {
|
|
|
2494
2494
|
card: {
|
|
2495
2495
|
open: "Ouvrir",
|
|
2496
2496
|
book: "Réserver",
|
|
2497
|
-
firstVisitPrice: "Coût de la première consultation"
|
|
2497
|
+
firstVisitPrice: "Coût de la première consultation",
|
|
2498
|
+
priceFrom: "à partir de {{price}}",
|
|
2499
|
+
priceRange: "de {{min}} à {{max}}"
|
|
2498
2500
|
},
|
|
2499
2501
|
sheet: {
|
|
2500
2502
|
title_one: "{{count}} cabinet",
|
|
@@ -2507,6 +2507,8 @@ export declare const hiUi: {
|
|
|
2507
2507
|
readonly open: "खोलें";
|
|
2508
2508
|
readonly book: "बुक करें";
|
|
2509
2509
|
readonly firstVisitPrice: "पहली विज़िट का शुल्क";
|
|
2510
|
+
readonly priceFrom: "{{price}} से शुरू";
|
|
2511
|
+
readonly priceRange: "{{min}} से {{max}} तक";
|
|
2510
2512
|
};
|
|
2511
2513
|
readonly sheet: {
|
|
2512
2514
|
readonly title_one: "{{count}} क्लिनिक";
|
package/dist/i18n/locales/hi.js
CHANGED
|
@@ -2492,7 +2492,9 @@ const e = {
|
|
|
2492
2492
|
card: {
|
|
2493
2493
|
open: "खोलें",
|
|
2494
2494
|
book: "बुक करें",
|
|
2495
|
-
firstVisitPrice: "पहली विज़िट का शुल्क"
|
|
2495
|
+
firstVisitPrice: "पहली विज़िट का शुल्क",
|
|
2496
|
+
priceFrom: "{{price}} से शुरू",
|
|
2497
|
+
priceRange: "{{min}} से {{max}} तक"
|
|
2496
2498
|
},
|
|
2497
2499
|
sheet: {
|
|
2498
2500
|
title_one: "{{count}} क्लिनिक",
|
|
@@ -2507,6 +2507,8 @@ export declare const itUi: {
|
|
|
2507
2507
|
readonly open: "Apri";
|
|
2508
2508
|
readonly book: "Prenota";
|
|
2509
2509
|
readonly firstVisitPrice: "Costo prima visita";
|
|
2510
|
+
readonly priceFrom: "da {{price}}";
|
|
2511
|
+
readonly priceRange: "da {{min}} a {{max}}";
|
|
2510
2512
|
};
|
|
2511
2513
|
readonly sheet: {
|
|
2512
2514
|
readonly title_one: "{{count}} studio";
|
package/dist/i18n/locales/it.js
CHANGED
|
@@ -2475,7 +2475,9 @@ const e = {
|
|
|
2475
2475
|
card: {
|
|
2476
2476
|
open: "Apri",
|
|
2477
2477
|
book: "Prenota",
|
|
2478
|
-
firstVisitPrice: "Costo prima visita"
|
|
2478
|
+
firstVisitPrice: "Costo prima visita",
|
|
2479
|
+
priceFrom: "da {{price}}",
|
|
2480
|
+
priceRange: "da {{min}} a {{max}}"
|
|
2479
2481
|
},
|
|
2480
2482
|
sheet: {
|
|
2481
2483
|
title_one: "{{count}} studio",
|
|
@@ -2507,6 +2507,8 @@ export declare const jaUi: {
|
|
|
2507
2507
|
readonly open: "開く";
|
|
2508
2508
|
readonly book: "予約する";
|
|
2509
2509
|
readonly firstVisitPrice: "初回受診費用";
|
|
2510
|
+
readonly priceFrom: "{{price}}から";
|
|
2511
|
+
readonly priceRange: "{{min}}〜{{max}}";
|
|
2510
2512
|
};
|
|
2511
2513
|
readonly sheet: {
|
|
2512
2514
|
readonly title_one: "{{count}}件の医院";
|
package/dist/i18n/locales/ja.js
CHANGED
|
@@ -2492,7 +2492,9 @@ const e = {
|
|
|
2492
2492
|
card: {
|
|
2493
2493
|
open: "開く",
|
|
2494
2494
|
book: "予約する",
|
|
2495
|
-
firstVisitPrice: "初回受診費用"
|
|
2495
|
+
firstVisitPrice: "初回受診費用",
|
|
2496
|
+
priceFrom: "{{price}}から",
|
|
2497
|
+
priceRange: "{{min}}〜{{max}}"
|
|
2496
2498
|
},
|
|
2497
2499
|
sheet: {
|
|
2498
2500
|
title_one: "{{count}}件の医院",
|