@alfadocs/ui-kit 1.104.0 → 1.105.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/{ai-credits-exhausted-notice-CwZnSACy.js → ai-credits-exhausted-notice-Lws3113e.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-VNh3W57L.js → ai-permission-notice-BkgcGmu8.js} +2 -2
- package/dist/_chunks/{alert-9kEwDza3.js → alert-C4WKViaS.js} +59 -50
- package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js → anamnesis-summary-rows-QhbDdY7b.js} +4 -4
- package/dist/_chunks/{audio-recorder-BOm2FgEu.js → audio-recorder-BlDozxdU.js} +2 -2
- package/dist/_chunks/{auth-form-parts-B3GWChvG.js → auth-form-parts-DVHfqnp6.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js → balance-badge-cell-wJ6cTD_h.js} +3 -3
- package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js → calendar-appointment-editor-dialog-D8DblVjW.js} +8 -8
- package/dist/_chunks/{care-plan-card-YWKV8Kjq.js → care-plan-card-DMjlYlFc.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-CApivtMW.js → care-plan-entry-card-3hguBW45.js} +2 -2
- package/dist/_chunks/{contact-profile-card-uExd3pKC.js → contact-profile-card-CAL66GaH.js} +120 -111
- package/dist/_chunks/{data-table-C5uN4ato.js → data-table-zXBxFYpJ.js} +761 -715
- package/dist/_chunks/{date-range-picker-B_j4VQlV.js → date-range-picker-DCADIR8o.js} +2 -2
- package/dist/_chunks/{date-time-picker-cwsWiB4q.js → date-time-picker-CT2bC7-A.js} +2 -2
- package/dist/_chunks/{document-preview-U8H6tnDJ.js → document-preview-BalyZqnn.js} +2 -2
- package/dist/_chunks/{document-scanner-Bf3VUp00.js → document-scanner-5p-Uu8dy.js} +2 -2
- package/dist/_chunks/{entity-summary-BKfR4Vws.js → entity-summary-BbqqYqF1.js} +2 -2
- package/dist/_chunks/{error-summary-mGxIyDAY.js → error-summary-DxNhwf_G.js} +2 -2
- package/dist/_chunks/{face-scheme-DdVLQ5dP.js → face-scheme-e2M2HJGz.js} +2 -2
- package/dist/_chunks/{file-manager-CnGBVX_q.js → file-manager-BDKe59sg.js} +2 -2
- package/dist/_chunks/{forgot-password-form-CeTb5p-x.js → forgot-password-form-vfCO2-Tt.js} +4 -4
- package/dist/_chunks/{freemium-paywall-CM0zQSDE.js → freemium-paywall-BDeq9QWR.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js → gestational-age-calculator-AnaH00nk.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BJFR3onB.js → hcg-doubling-DdyUt4gz.js} +2 -2
- package/dist/_chunks/{heatmap-Cz0Krieg.js → heatmap-D4qqpCEj.js} +1550 -1547
- package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js → help-me-write-templates-YmceSxf5.js} +3 -3
- package/dist/_chunks/info-tip-C-MPkShR.js +266 -0
- package/dist/_chunks/{kit-extensions-C4o_tFN4.js → kit-extensions-BOnTM4Yf.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-BRek9kz7.js → link-cell-renderer-C8vfCOEp.js} +2 -2
- package/dist/_chunks/{login-dev-card-D5BV5j1i.js → login-dev-card-Cz1Clugq.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-BsctSegT.js → marketplace-app-shell-C-4QF6mp.js} +2 -2
- package/dist/_chunks/{notes-panel-BjTpaz8d.js → notes-panel-SlzUL8in.js} +4 -4
- package/dist/_chunks/{notice-group-DkYzKyAZ.js → notice-group-B-trhof8.js} +3 -3
- package/dist/_chunks/{patient-details-BXM3dRKb.js → patient-details-wMgTFtpp.js} +2 -2
- package/dist/_chunks/{patient-field-row--dCDO5oB.js → patient-field-row-Bhm2Ig1P.js} +2 -2
- package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js → patient-summary-card-DMdPPG3n.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js → payment-automation-upsell-u5EuFyCY.js} +2 -2
- package/dist/_chunks/{payment-form-PBuh8PIa.js → payment-form-C-s1x-bU.js} +2 -2
- package/dist/_chunks/{pdf-viewer-DlceXkfW.js → pdf-viewer-BnBKdx0y.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-BAvGdQmt.js → practice-profile-hero-Bb4YyxHA.js} +31 -29
- package/dist/_chunks/{practice-results-ChBP9x2r.js → practice-results-BXz01sti.js} +485 -445
- package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js → pregnancy-dating-D6dLkMpl.js} +2 -2
- package/dist/_chunks/{progress-notice-DiHWZ8Ms.js → progress-notice-F7ao70ZP.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js → radiograph-panel.agent-0ngF2sGS.js} +2 -2
- package/dist/_chunks/{registration-form-JzzTomhd.js → registration-form-CEJRUS9G.js} +3 -3
- package/dist/_chunks/{reserved.agent-BxD0gnbt.js → reserved.agent-C-C9cvO5.js} +2 -2
- package/dist/_chunks/{reset-password-form-DDdGEoIL.js → reset-password-form-B0acanDD.js} +4 -4
- package/dist/_chunks/{rich-text-editor-F04przIt.js → rich-text-editor-C3nANKZt.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js → send-registration-link-form-Nn0jf65G.js} +3 -3
- package/dist/_chunks/{sign-document-B5qZhthO.js → sign-document-CQZVzfpk.js} +2 -2
- package/dist/_chunks/{signature-request-DB6kePIm.js → signature-request-DtLph5Z4.js} +3 -3
- package/dist/_chunks/{switch-D--x7n6h.js → switch-DO6uC4HJ.js} +40 -36
- package/dist/_chunks/{task-editor-BiPGFXtB.js → task-editor-CmXcj6cC.js} +4 -4
- package/dist/_chunks/{tasks-panel-iVeuu9a8.js → tasks-panel-CFo5uIHx.js} +3 -3
- package/dist/_chunks/{theme-toggle-jZRbAidE.js → theme-toggle-Czq3K9jB.js} +2 -2
- package/dist/_chunks/{time-picker-DSt-ns5F.js → time-picker-DDr5vhwQ.js} +344 -332
- package/dist/_chunks/{tooth-scheme-Bd7xECuj.js → tooth-scheme-C-ALCHaV.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js → use-appointment-details-read-VI26Z-pc.js} +3 -3
- package/dist/_chunks/{voice-control-panel-BGJjUwnY.js → voice-control-panel-B0TUZAiP.js} +3 -3
- package/dist/_chunks/{warning-stack-3S7e2q07.js → warning-stack-Dx7cpj10.js} +2 -2
- package/dist/_chunks/week-availability-CsTiwtYj.js +318 -0
- package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js +252 -0
- package/dist/_chunks/{workflow-map-B1jf6QaB.js → workflow-map-DWk-rZse.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js → workflow-webhook-action-DILFqAVd.js} +2 -2
- package/dist/ag-grid.css +5 -1
- package/dist/agent-catalog.json +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +8 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +6 -0
- package/dist/components/data-table/header-min-width.d.ts +21 -0
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/heatmap.d.ts +5 -0
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/info-tip/info-tip.d.ts +10 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notice-group/index.js +1 -1
- package/dist/components/patient-details/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/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +7 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +13 -0
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/progress-notice/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch.d.ts +2 -0
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/week-availability/index.d.ts +3 -0
- package/dist/components/week-availability/index.js +10 -0
- package/dist/components/week-availability/week-availability.d.ts +68 -0
- package/dist/components/weekly-hours-editor/index.d.ts +3 -0
- package/dist/components/weekly-hours-editor/index.js +9 -0
- package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts +42 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +34 -0
- package/dist/i18n/locales/ar.js +34 -0
- package/dist/i18n/locales/de.d.ts +34 -0
- package/dist/i18n/locales/de.js +34 -0
- package/dist/i18n/locales/el.d.ts +34 -0
- package/dist/i18n/locales/el.js +34 -0
- package/dist/i18n/locales/en.d.ts +34 -0
- package/dist/i18n/locales/en.js +34 -0
- package/dist/i18n/locales/es.d.ts +34 -0
- package/dist/i18n/locales/es.js +34 -0
- package/dist/i18n/locales/fr.d.ts +34 -0
- package/dist/i18n/locales/fr.js +34 -0
- package/dist/i18n/locales/hi.d.ts +34 -0
- package/dist/i18n/locales/hi.js +34 -0
- package/dist/i18n/locales/it.d.ts +34 -0
- package/dist/i18n/locales/it.js +34 -0
- package/dist/i18n/locales/ja.d.ts +34 -0
- package/dist/i18n/locales/ja.js +34 -0
- package/dist/i18n/locales/nl.d.ts +34 -0
- package/dist/i18n/locales/nl.js +34 -0
- package/dist/i18n/locales/pl.d.ts +34 -0
- package/dist/i18n/locales/pl.js +34 -0
- package/dist/i18n/locales/pt.d.ts +34 -0
- package/dist/i18n/locales/pt.js +34 -0
- package/dist/i18n/locales/ro.d.ts +34 -0
- package/dist/i18n/locales/ro.js +34 -0
- package/dist/i18n/locales/ru.d.ts +34 -0
- package/dist/i18n/locales/ru.js +34 -0
- package/dist/i18n/locales/sq.d.ts +34 -0
- package/dist/i18n/locales/sq.js +34 -0
- package/dist/i18n/locales/sv.d.ts +34 -0
- package/dist/i18n/locales/sv.js +34 -0
- package/dist/i18n/locales/tr.d.ts +34 -0
- package/dist/i18n/locales/tr.js +34 -0
- package/dist/i18n/locales/zh.d.ts +34 -0
- package/dist/i18n/locales/zh.js +34 -0
- package/dist/index.js +879 -866
- package/dist/locales/ar.json +34 -0
- package/dist/locales/de.json +34 -0
- package/dist/locales/el.json +34 -0
- package/dist/locales/en.json +34 -0
- package/dist/locales/es.json +34 -0
- package/dist/locales/fr.json +34 -0
- package/dist/locales/hi.json +34 -0
- package/dist/locales/it.json +34 -0
- package/dist/locales/ja.json +34 -0
- package/dist/locales/nl.json +34 -0
- package/dist/locales/pl.json +34 -0
- package/dist/locales/pt.json +34 -0
- package/dist/locales/ro.json +34 -0
- package/dist/locales/ru.json +34 -0
- package/dist/locales/sq.json +34 -0
- package/dist/locales/sv.json +34 -0
- package/dist/locales/tr.json +34 -0
- package/dist/locales/zh.json +34 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/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/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +3 -1
- package/package.json +9 -1
- package/dist/_chunks/info-tip-1Xsq9GLi.js +0 -230
package/dist/ag-grid.css
CHANGED
|
@@ -2632,6 +2632,8 @@ button.ag-side-button-button:focus{box-shadow:none}
|
|
|
2632
2632
|
|
|
2633
2633
|
.ag-theme-alfadocs .ag-header-cell-text{font-weight:var(--font-weight-bold);font-size:var(--data-grid-eyebrow-size, var(--font-size-xs));letter-spacing:.04em;text-transform:uppercase;color:var(--data-grid-eyebrow-ink, var(--muted-foreground));min-width:0}
|
|
2634
2634
|
|
|
2635
|
+
.ag-theme-alfadocs .ag-header-cell-wrap-text .ag-header-cell-text{overflow-wrap:normal;word-break:normal;-webkit-hyphens:manual;hyphens:manual}
|
|
2636
|
+
|
|
2635
2637
|
.ag-theme-alfadocs .ag-header-cell-text:lang(zh),.ag-theme-alfadocs .ag-header-cell-text:lang(ja),.ag-theme-alfadocs .ag-header-cell-text:lang(ko){letter-spacing:0}
|
|
2636
2638
|
|
|
2637
2639
|
.ag-theme-alfadocs .ag-header-cell-sorted-asc .ag-header-cell-text,.ag-theme-alfadocs .ag-header-cell-sorted-desc .ag-header-cell-text{color:var(--foreground)}
|
|
@@ -2746,4 +2748,6 @@ button.ag-side-button-button:focus{box-shadow:none}
|
|
|
2746
2748
|
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:var(--radius-full);border:var(--scrollbar-padding) solid transparent;background-clip:content-box}
|
|
2747
2749
|
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb:hover,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}}
|
|
2748
2750
|
|
|
2749
|
-
.ag-theme-alfadocs .ag-header-cell-text:has([data-slot=header-info]){overflow:visible}
|
|
2751
|
+
.ag-theme-alfadocs .ag-header-cell-text:has([data-slot=header-info]){overflow:visible}
|
|
2752
|
+
|
|
2753
|
+
.ag-theme-alfadocs[data-empty=true] .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alfadocs[data-empty=true] .ag-layout-auto-height .ag-body-viewport{min-block-size:calc(var(--spacing-2xl) * 4)}
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as t } from "../../_chunks/ai-credits-notice-BNFcQoXo.js";
|
|
2
2
|
import { a, b as r, c as o } from "../../_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js";
|
|
3
|
-
import { A as d, a as A, i as C } from "../../_chunks/ai-credits-exhausted-notice-
|
|
3
|
+
import { A as d, a as A, i as C } from "../../_chunks/ai-credits-exhausted-notice-Lws3113e.js";
|
|
4
4
|
export {
|
|
5
5
|
d as AiCreditsExhaustedNotice,
|
|
6
6
|
t as AiCreditsNotice,
|
|
@@ -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-VI26Z-pc.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -30,6 +30,14 @@ export interface ContactProfileCardProps extends Omit<ComponentPropsWithoutRef<'
|
|
|
30
30
|
* card jumps straight into the data rows.
|
|
31
31
|
*/
|
|
32
32
|
description?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Language of the practice's own text (the description and the address
|
|
35
|
+
* line), as a BCP 47 tag such as `"it"`. Written as `lang` on that text so
|
|
36
|
+
* a screen reader on a page in another language pronounces it correctly.
|
|
37
|
+
* Leave it out and no `lang` is written. The kit's own labels keep the
|
|
38
|
+
* page language.
|
|
39
|
+
*/
|
|
40
|
+
contentLang?: string;
|
|
33
41
|
/** Street + postcode + city, with optional lat/lng for the map link. */
|
|
34
42
|
address?: ContactProfileCardAddress;
|
|
35
43
|
/** Phone number, displayed as-is. Compiled into a `tel:` link. */
|
|
@@ -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-CAL66GaH.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|
|
@@ -74,6 +74,12 @@ export interface DataTableProps<TData = unknown> extends Omit<VariantProps<typeo
|
|
|
74
74
|
getRowClass?: (params: RowClassParams<TData>) => string | undefined;
|
|
75
75
|
/** Rows pinned at the bottom of the grid. Use `useTotalRow()` to compute a totals row. */
|
|
76
76
|
pinnedBottomRowData?: TData[];
|
|
77
|
+
/**
|
|
78
|
+
* Leave the pinned rows out while there are no rows, so an empty table
|
|
79
|
+
* shows its message and no "Total 0" line. Default false: the pinned rows
|
|
80
|
+
* stay, and the message sits in the body above them.
|
|
81
|
+
*/
|
|
82
|
+
hidePinnedWhenEmpty?: boolean;
|
|
77
83
|
/** Print-optimised mode — hides toolbar, disables pagination, renders every row. */
|
|
78
84
|
printMode?: boolean;
|
|
79
85
|
/**
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ColDef, ColGroupDef } from 'ag-grid-community';
|
|
2
|
+
/** Room a header cell needs beside its text: side padding and the sort icon. */
|
|
3
|
+
export declare const HEADER_CELL_EXTRA_PX = 52;
|
|
4
|
+
/** The longest run of characters a wrapped header cannot break. */
|
|
5
|
+
export declare function longestWord(text: string): string;
|
|
6
|
+
type AnyDef<T> = ColDef<T> | ColGroupDef<T>;
|
|
7
|
+
/**
|
|
8
|
+
* Raises `minWidth` on every column whose header wraps (`wrapHeaderText`) to
|
|
9
|
+
* the width of its longest word, so a word never splits across two lines.
|
|
10
|
+
* A column that is already wider keeps its own `minWidth`. When the columns
|
|
11
|
+
* together are wider than the grid, the grid scrolls sideways.
|
|
12
|
+
*/
|
|
13
|
+
export declare function withHeaderMinWidths<T>(defs: readonly AnyDef<T>[], measure: ((word: string) => number) | null): AnyDef<T>[];
|
|
14
|
+
/**
|
|
15
|
+
* A function that measures a word as the grid's header text paints it, using
|
|
16
|
+
* a probe inside the themed grid root so the header font, weight, case and
|
|
17
|
+
* letter spacing all apply.
|
|
18
|
+
*/
|
|
19
|
+
export declare function createHeaderMeasure(root: HTMLElement): (word: string) => number;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=header-min-width.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-zXBxFYpJ.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 f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-BUdFMh67.js";
|
|
3
|
-
import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-
|
|
3
|
+
import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-C8vfCOEp.js";
|
|
4
4
|
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-BVn3vDTg.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-e2M2HJGz.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ANNOTATION_TOOL_KIND,
|
|
4
4
|
o as FACE_ANNOTATION_TOOLS,
|
|
@@ -117,6 +117,11 @@ export interface HeatmapProps {
|
|
|
117
117
|
showValues?: boolean;
|
|
118
118
|
/** Built-in legend above the grid, or `false` to place `Heatmap.Legend` yourself. */
|
|
119
119
|
legend?: 'stepped' | 'continuous' | false;
|
|
120
|
+
/**
|
|
121
|
+
* Show the "View as table" button. Default true. Set `false` when the page
|
|
122
|
+
* gives its own text alternative; the heatmap then stays a heatmap.
|
|
123
|
+
*/
|
|
124
|
+
tableToggle?: boolean;
|
|
120
125
|
/**
|
|
121
126
|
* A totals column at the row ends. A mean weights by count. Everything in
|
|
122
127
|
* that column uses this method: each row's total, each group's and the
|
|
@@ -96,6 +96,8 @@ export * from './smart-date';
|
|
|
96
96
|
export * from './sparkline';
|
|
97
97
|
export * from './stat';
|
|
98
98
|
export * from './stat-group';
|
|
99
|
+
export * from './week-availability';
|
|
100
|
+
export * from './weekly-hours-editor';
|
|
99
101
|
export * from './tag';
|
|
100
102
|
export * from './timeline';
|
|
101
103
|
export * from './timestamp';
|
|
@@ -51,6 +51,16 @@ export interface InfoTipProps {
|
|
|
51
51
|
* is long enough to scroll: then Tab reaches the text so it can be scrolled.
|
|
52
52
|
*/
|
|
53
53
|
learnMoreHref?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Makes the card interactive: `content` may hold links or buttons (for
|
|
56
|
+
* example a short list of links, use the kit `Link`). Tab from the open
|
|
57
|
+
* trigger moves into the card, Shift+Tab from its first control returns,
|
|
58
|
+
* Tab past its last closes the card and carries on after the trigger, and
|
|
59
|
+
* Escape closes and refocuses the trigger. The card is named from
|
|
60
|
+
* `heading` and its body is left out of `aria-describedby`, so links are
|
|
61
|
+
* not read as flat text. Default `false`: the card stays explanatory.
|
|
62
|
+
*/
|
|
63
|
+
interactive?: boolean;
|
|
54
64
|
/** Link text. Defaults to the translated "Learn more" chrome string. */
|
|
55
65
|
learnMoreLabel?: string;
|
|
56
66
|
/**
|
|
@@ -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-wJ6cTD_h.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-
|
|
1
|
+
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-C-s1x-bU.js";
|
|
2
2
|
export {
|
|
3
3
|
r as PaymentForm,
|
|
4
4
|
s as formatPaymentAmount,
|
|
@@ -23,6 +23,13 @@ export interface PracticeProfileHeroProps extends Omit<ComponentPropsWithoutRef<
|
|
|
23
23
|
name: string;
|
|
24
24
|
/** Slogan / tagline subtitle (e.g. "15 anni di esperienza nel cuore di Brera"). */
|
|
25
25
|
tagline?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Language of the practice's own text (the tagline), as a BCP 47 tag such
|
|
28
|
+
* as `"it"`. Written as `lang` on the tagline so a screen reader on a page
|
|
29
|
+
* in another language pronounces it correctly. Leave it out and no `lang`
|
|
30
|
+
* is written. The kit's own labels keep the page language.
|
|
31
|
+
*/
|
|
32
|
+
contentLang?: string;
|
|
26
33
|
/**
|
|
27
34
|
* Optional practice photo / logo URL. The kit always renders an
|
|
28
35
|
* `<Avatar>` — when `imageUrl` is missing the avatar falls back to
|
|
@@ -58,6 +58,14 @@ export interface PracticeResult {
|
|
|
58
58
|
* the CTA deep-links to the concrete slot. Added in 1.7.0.
|
|
59
59
|
*/
|
|
60
60
|
bookingHref?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Language of this practice's own text (tagline, description, address),
|
|
63
|
+
* as a BCP 47 tag such as `"it"`. Sets `lang` on that text so a screen
|
|
64
|
+
* reader on a page in another language pronounces it correctly. Overrides
|
|
65
|
+
* the list-level `contentLang`. Leave it out and no `lang` is written.
|
|
66
|
+
* The kit's own labels keep the page language.
|
|
67
|
+
*/
|
|
68
|
+
contentLang?: string;
|
|
61
69
|
/** Avatar / logo URL. */
|
|
62
70
|
imageUrl?: string;
|
|
63
71
|
/**
|
|
@@ -178,6 +186,11 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
178
186
|
/** Default: 'split-list-map'. Pass to override (PostHog / dev-menu). */
|
|
179
187
|
variant?: PracticeResultsVariant;
|
|
180
188
|
results: PracticeResult[];
|
|
189
|
+
/**
|
|
190
|
+
* Default language of every result's own text, as a BCP 47 tag. A result's
|
|
191
|
+
* own `contentLang` wins. Leave both out and no `lang` is written.
|
|
192
|
+
*/
|
|
193
|
+
contentLang?: string;
|
|
181
194
|
/** Total count for the "{{count}} risultati" header. May differ from results.length. */
|
|
182
195
|
totalCount?: number;
|
|
183
196
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-
|
|
2
|
-
import { k as s } from "../../_chunks/kit-extensions-
|
|
1
|
+
import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-C3nANKZt.js";
|
|
2
|
+
import { k as s } from "../../_chunks/kit-extensions-BOnTM4Yf.js";
|
|
3
3
|
export {
|
|
4
4
|
i as RichTextEditor,
|
|
5
5
|
s as kitEditorExtensions,
|
|
@@ -21,6 +21,8 @@ export interface SwitchProps extends Omit<RadixRootProps, 'children'>, VariantPr
|
|
|
21
21
|
size?: 'sm' | 'md' | 'lg';
|
|
22
22
|
icon?: SwitchIcon;
|
|
23
23
|
showStateText?: boolean;
|
|
24
|
+
/** Keep the label for screen readers and hide it visually, for a switch whose row already names it. */
|
|
25
|
+
hideLabel?: boolean;
|
|
24
26
|
}
|
|
25
27
|
export declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
26
28
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as s, t, r as e } from "../../_chunks/tooth-scheme-
|
|
1
|
+
import { T as s, t, r as e } from "../../_chunks/tooth-scheme-C-ALCHaV.js";
|
|
2
2
|
import { C as i, a as T, b as S, c as l, d as r, e as I, F as O, f as N, g as _, h as c, I as E, P as C, i as A, S as m, j as L, k as d, l as h, m as D, n as F, T as y, o as P, p as b, q as R, r as U, s as p, t as M, u, v as K, w as f, x as B, y as Y, z as H, A as g, B as z, D as w, E as x, G as V, H as k, J as G, K as j, L as q, M as v, N as J, O as Q, Q as W, R as X, U as Z, V as $, W as aa, X as oa, Y as sa, Z as ta, _ as ea, $ as na } from "../../_chunks/tooth-data-DR8Kdnup.js";
|
|
3
3
|
export {
|
|
4
4
|
i as CONDITION_COLORS,
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { WeekAvailability, WEEK_AVAILABILITY_MAX_TONES, fitHourRange, normaliseSpans, spanPlacement, visibleWeekdays, } from './week-availability';
|
|
2
|
+
export type { WeekAvailabilityProps, WeekAvailabilityRow, WeekAvailabilityDay, WeekAvailabilitySpan, WeekAvailabilityTone, WeekAvailabilityWeekday, } from './week-availability';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { W as e, a as i, f as n, n as l, s as A, v as o } from "../../_chunks/week-availability-CsTiwtYj.js";
|
|
2
|
+
export {
|
|
3
|
+
e as WEEK_AVAILABILITY_MAX_TONES,
|
|
4
|
+
i as WeekAvailability,
|
|
5
|
+
n as fitHourRange,
|
|
6
|
+
l as normaliseSpans,
|
|
7
|
+
A as spanPlacement,
|
|
8
|
+
o as visibleWeekdays
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
/** ISO weekday: 1 Monday to 7 Sunday. */
|
|
3
|
+
export type WeekAvailabilityWeekday = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
4
|
+
/** One open period, in minutes from midnight (9:00 is 540). */
|
|
5
|
+
export interface WeekAvailabilitySpan {
|
|
6
|
+
from: number;
|
|
7
|
+
to: number;
|
|
8
|
+
}
|
|
9
|
+
/** A named group the consumer defines, for example where the hours came from. */
|
|
10
|
+
export interface WeekAvailabilityTone {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
export interface WeekAvailabilityDay {
|
|
15
|
+
weekday: WeekAvailabilityWeekday;
|
|
16
|
+
/** Open periods. None, or an empty list, means closed. */
|
|
17
|
+
spans: readonly WeekAvailabilitySpan[];
|
|
18
|
+
/** Overrides the row's `tone` for this day. */
|
|
19
|
+
tone?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface WeekAvailabilityRow {
|
|
22
|
+
id: string;
|
|
23
|
+
/** Who or what the hours belong to: the studio, a chair, an operator. */
|
|
24
|
+
label: string;
|
|
25
|
+
/** A weekday that is missing from `days` is closed. */
|
|
26
|
+
days: readonly WeekAvailabilityDay[];
|
|
27
|
+
/** Tone id for every day that does not set its own. */
|
|
28
|
+
tone?: string;
|
|
29
|
+
/** Controls at the end of the row, for example a "Correggi" button. */
|
|
30
|
+
actions?: ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export interface WeekAvailabilityProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
33
|
+
rows: readonly WeekAvailabilityRow[];
|
|
34
|
+
/**
|
|
35
|
+
* The tones the rows use. The first six take the categorical colours in
|
|
36
|
+
* order, so a tone keeps its colour whatever the rows show. Any after the
|
|
37
|
+
* sixth is painted neutral.
|
|
38
|
+
*/
|
|
39
|
+
tones?: readonly WeekAvailabilityTone[];
|
|
40
|
+
/** Hours shown on every strip, `[start, end]` from 0 to 24. Default: fit the data. */
|
|
41
|
+
hourRange?: readonly [number, number];
|
|
42
|
+
/** Leave out weekdays that have no hours in any row. Default false. */
|
|
43
|
+
hideEmptyDays?: boolean;
|
|
44
|
+
/** First weekday of the week, ISO. Default 1 (Monday). */
|
|
45
|
+
weekStartsOn?: WeekAvailabilityWeekday;
|
|
46
|
+
/** Show the built-in legend of tones. Default true. */
|
|
47
|
+
legend?: boolean;
|
|
48
|
+
/** Makes each row label a button that reports its id. */
|
|
49
|
+
onRowSelect?: (rowId: string) => void;
|
|
50
|
+
/** Overrides the active language for weekday names and times. */
|
|
51
|
+
locale?: string;
|
|
52
|
+
/** Accessible name for the table. */
|
|
53
|
+
'aria-label'?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare const WEEK_AVAILABILITY_MAX_TONES = 6;
|
|
56
|
+
/** Spans that are valid, inside a day and in order, with overlaps merged. */
|
|
57
|
+
export declare function normaliseSpans(spans: readonly WeekAvailabilitySpan[] | undefined): WeekAvailabilitySpan[];
|
|
58
|
+
/** Whole hours that cover every span, at least 4 apart, within 0 to 24. */
|
|
59
|
+
export declare function fitHourRange(spans: readonly WeekAvailabilitySpan[]): [number, number];
|
|
60
|
+
/** Where a span sits on a strip, as percentages of its width. */
|
|
61
|
+
export declare function spanPlacement(span: WeekAvailabilitySpan, range: readonly [number, number]): {
|
|
62
|
+
start: number;
|
|
63
|
+
size: number;
|
|
64
|
+
} | null;
|
|
65
|
+
/** The weekdays to show, in week order. */
|
|
66
|
+
export declare function visibleWeekdays(rows: readonly WeekAvailabilityRow[], weekStartsOn: WeekAvailabilityWeekday, hideEmptyDays: boolean): WeekAvailabilityWeekday[];
|
|
67
|
+
export declare const WeekAvailability: import("react").ForwardRefExoticComponent<WeekAvailabilityProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
68
|
+
//# sourceMappingURL=week-availability.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { WeeklyHoursEditor, WEEKLY_HOURS_DEFAULT_RANGE, isWeeklyHoursValid, nextRange, validateDay, } from './weekly-hours-editor';
|
|
2
|
+
export type { WeeklyHoursEditorProps, WeeklyHours, HoursRange, HoursIssue, } from './weekly-hours-editor';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { W as s, a as i, i as o, n as r, v as E } from "../../_chunks/weekly-hours-editor-BsVsgeOc.js";
|
|
2
|
+
export {
|
|
3
|
+
s as WEEKLY_HOURS_DEFAULT_RANGE,
|
|
4
|
+
i as WeeklyHoursEditor,
|
|
5
|
+
o as isWeeklyHoursValid,
|
|
6
|
+
r as nextRange,
|
|
7
|
+
E as validateDay
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|