@alfadocs/ui-kit 1.92.0 → 1.93.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/map-view--c9bJDRw.js +726 -0
- package/dist/_chunks/{practice-results-Bls-mygM.js → practice-results-BWX9y6mS.js} +376 -374
- package/dist/_chunks/{reserved.agent-C1gLyK2R.js → reserved.agent-DnPwaa4u.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/booking/booking-types.d.ts +5 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +17 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/dist/_chunks/map-view-UrNgxBy3.js +0 -606
|
@@ -2830,7 +2830,7 @@ function vi({
|
|
|
2830
2830
|
}), s == null || s(Y);
|
|
2831
2831
|
},
|
|
2832
2832
|
[i, s, r]
|
|
2833
|
-
), L = c || u ? "loading" : "default", F = w.some((I) => I.slots.length > 0), W = (
|
|
2833
|
+
), L = c || u ? "loading" : "default", F = w.some((I) => I.slots.length > 0), W = (o ? [...e, o] : e).filter((I) => ut(rt(fe(I)), N)).sort()[0];
|
|
2834
2834
|
return /* @__PURE__ */ b("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
2835
2835
|
L !== "loading" && !p && !F && !!W ? /* @__PURE__ */ n(
|
|
2836
2836
|
pr,
|
|
@@ -4607,4 +4607,4 @@ export {
|
|
|
4607
4607
|
bs as b,
|
|
4608
4608
|
Ao as c
|
|
4609
4609
|
};
|
|
4610
|
-
//# sourceMappingURL=reserved.agent-
|
|
4610
|
+
//# sourceMappingURL=reserved.agent-DnPwaa4u.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -346,7 +346,11 @@ export interface BookingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'ari
|
|
|
346
346
|
operators?: BookingOperator[];
|
|
347
347
|
availableDates: string[];
|
|
348
348
|
availableSlots: Record<string, BookingSlot[]>;
|
|
349
|
-
/**
|
|
349
|
+
/**
|
|
350
|
+
* Server-side hint of the next free date. In the four-day grid, when the
|
|
351
|
+
* visible page has no slots, the notice offers the earlier of this and the
|
|
352
|
+
* cached `availableDates` after the page; a hint not after the page is ignored.
|
|
353
|
+
*/
|
|
350
354
|
nextAvailableDate?: string;
|
|
351
355
|
/**
|
|
352
356
|
* Hide the email field and skip its validation. Default: false.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { MapView } from './map-view';
|
|
2
|
-
export type { MapViewProps, MapViewHandle, MapMarker, MapLatLng, MapFitPoint, } from './map-view';
|
|
2
|
+
export type { MapViewProps, MapViewHandle, MapMarker, MapLatLng, MapFitPoint, MapBounds, MapBoundsChangeDetails, } from './map-view';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,6 +4,16 @@ export interface MapLatLng {
|
|
|
4
4
|
lat: number;
|
|
5
5
|
lng: number;
|
|
6
6
|
}
|
|
7
|
+
export interface MapBounds {
|
|
8
|
+
north: number;
|
|
9
|
+
south: number;
|
|
10
|
+
east: number;
|
|
11
|
+
west: number;
|
|
12
|
+
}
|
|
13
|
+
export interface MapBoundsChangeDetails {
|
|
14
|
+
/** False for initial load, resizing, fitting and imperative camera moves. */
|
|
15
|
+
userInteraction: boolean;
|
|
16
|
+
}
|
|
7
17
|
/**
|
|
8
18
|
* A point to fit the camera to. `id` is its identity (a result id): it
|
|
9
19
|
* decides whether a new set only added points to the old one. Without
|
|
@@ -69,6 +79,13 @@ export interface MapViewProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCl
|
|
|
69
79
|
selectedMarkerId?: string | null;
|
|
70
80
|
/** Fires when a marker is clicked, or `null` when the map background is clicked. */
|
|
71
81
|
onMarkerClick?: (id: string | null) => void;
|
|
82
|
+
/**
|
|
83
|
+
* The visible viewport once the map settles, including its first bounds.
|
|
84
|
+
* Fires only when bounds change. `userInteraction` is true after patient
|
|
85
|
+
* input that pans or zooms, never for a kit-initiated camera move.
|
|
86
|
+
* Silent until the consented map has loaded.
|
|
87
|
+
*/
|
|
88
|
+
onBoundsChange?: (bounds: MapBounds, details: MapBoundsChangeDetails) => void;
|
|
72
89
|
/**
|
|
73
90
|
* GDPR consent gate. When `false` (default) the component renders a
|
|
74
91
|
* placeholder with a translated CTA — the Maps JS API is **not**
|
|
@@ -209,7 +209,7 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
209
209
|
* Default 13.
|
|
210
210
|
*/
|
|
211
211
|
defaultZoom?: number;
|
|
212
|
-
/**
|
|
212
|
+
/** Actual settled viewport, including initial load and refits (split + map-first only). */
|
|
213
213
|
onBoundsChange?: (bounds: PracticeResultsBounds) => void;
|
|
214
214
|
/**
|
|
215
215
|
* GDPR consent gate, forwarded to the embedded MapView. When `false`
|
package/dist/index.js
CHANGED
|
@@ -108,7 +108,7 @@ import { K as jt, k as Qt } from "./_chunks/kbd-Bx7eQv9f.js";
|
|
|
108
108
|
import { K as Jt, a as $t } from "./_chunks/key-value-pair-BoXOtBL1.js";
|
|
109
109
|
import { L as en, l as sn } from "./_chunks/list-CNnn7DOD.js";
|
|
110
110
|
import { L as on } from "./_chunks/logo-hIsyVE96.js";
|
|
111
|
-
import { M as nn } from "./_chunks/map-view
|
|
111
|
+
import { M as nn } from "./_chunks/map-view--c9bJDRw.js";
|
|
112
112
|
import { R as mn } from "./_chunks/rating-CGYpg5dj.js";
|
|
113
113
|
import { C as dn, S as An } from "./_chunks/skeleton-tTWJpvAq.js";
|
|
114
114
|
import { S as cn } from "./_chunks/smart-date-pYK6WmM_.js";
|
|
@@ -217,7 +217,7 @@ import { V as tf, v as nf } from "./_chunks/voice-control-panel-BP0otrID.js";
|
|
|
217
217
|
import { A as mf } from "./_chunks/anamnesis-card-BcadMmEM.js";
|
|
218
218
|
import { D as df, F as Af, a as ff, M as cf, b as Sf, e as gf, f as Cf, g as Tf, c as xf, m as uf, r as Pf, v as Ef } from "./_chunks/muscle-scheme-C66WlCxG.js";
|
|
219
219
|
import { A as Rf, a as _f, b as bf, c as Nf, d as Df, e as Of, C as Ff, f as Lf, g as hf, D as Mf, h as yf, E as kf, L as Bf, O as vf, P as Gf, i as Hf, j as Wf, k as wf, l as Uf, R as Vf, S as Kf, m as Yf, n as Xf, o as qf, p as zf, q as jf, r as Qf, s as Zf, t as Jf, u as $f, v as ac, w as ec, x as sc, y as rc, z as oc, B as tc, F as nc } from "./_chunks/optical-prescription-CMM1Y6Xg.js";
|
|
220
|
-
import { B as pc, a as mc, C as lc, O as dc, b as Ac, c as fc } from "./_chunks/reserved.agent-
|
|
220
|
+
import { B as pc, a as mc, C as lc, O as dc, b as Ac, c as fc } from "./_chunks/reserved.agent-DnPwaa4u.js";
|
|
221
221
|
import { C as Sc, c as gc, r as Cc } from "./_chunks/calendar-CmiMS4FJ.js";
|
|
222
222
|
import { C as xc } from "./_chunks/calendar-event-card-DXAYWH6k.js";
|
|
223
223
|
import { R as Pc, a as Ec } from "./_chunks/resource-chip-DB5jDwUO.js";
|
|
@@ -236,7 +236,7 @@ import { P as NS, a as DS, p as OS } from "./_chunks/periodontal-chart-card-Bx6P
|
|
|
236
236
|
import { D as LS, P as hS, a as MS, b as yS, c as kS, S as BS, e as vS, i as GS, p as HS } from "./_chunks/periodontal-diagnosis-DD3hrg9X.js";
|
|
237
237
|
import { P as wS, a as US, c as VS, p as KS, r as YS } from "./_chunks/periodontal-risk-chart-B7S9OmPC.js";
|
|
238
238
|
import { C as qS, a as zS, b as jS, c as QS } from "./_chunks/contact-profile-card-CX45mZA3.js";
|
|
239
|
-
import { P as JS, p as $S } from "./_chunks/practice-results-
|
|
239
|
+
import { P as JS, p as $S } from "./_chunks/practice-results-BWX9y6mS.js";
|
|
240
240
|
import { P as eg, a as sg, p as rg, b as og } from "./_chunks/payment-request-card-BfGauFY0.js";
|
|
241
241
|
import { P as ng, f as ig, p as pg, a as mg, s as lg, b as dg, c as Ag } from "./_chunks/payment-form-PBuh8PIa.js";
|
|
242
242
|
import { P as cg, p as Sg } from "./_chunks/pdf-viewer-gAsNUsA8.js";
|
package/package.json
CHANGED