@alfadocs/ui-kit 1.131.0 → 1.133.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.
Files changed (83) hide show
  1. package/dist/_chunks/{address-autocomplete-D2uNpxcE.js → address-autocomplete-yDLqg43e.js} +2 -2
  2. package/dist/_chunks/{address-fields-BU65pA-V.js → address-fields-DvSWdeR0.js} +2 -2
  3. package/dist/_chunks/calendar-appointment-editor-dialog-BHx6kUhX.js +13773 -0
  4. package/dist/_chunks/map-view-Cm69dCnY.js +1794 -0
  5. package/dist/_chunks/{maps-core-gate-DKx96CC_.js → maps-core-gate-CP8SEHH1.js} +97 -93
  6. package/dist/_chunks/{practice-results-M5A9-X9y.js → practice-results-DaxGw9_f.js} +762 -748
  7. package/dist/_chunks/{reserved.agent-BBuWWtYb.js → reserved.agent-W8mR179D.js} +2 -2
  8. package/dist/agent-catalog.json +25 -2
  9. package/dist/agent-i18n/en.json +3 -1
  10. package/dist/browser-support.js +1 -1
  11. package/dist/components/address-autocomplete/index.js +1 -1
  12. package/dist/components/address-fields/index.js +1 -1
  13. package/dist/components/booking/index.js +1 -1
  14. package/dist/components/map-view/index.d.ts +1 -1
  15. package/dist/components/map-view/index.js +1 -1
  16. package/dist/components/map-view/map-view.d.ts +42 -1
  17. package/dist/components/practice-results/index.js +1 -1
  18. package/dist/components/practice-results/practice-results.d.ts +12 -1
  19. package/dist/core.css +1 -1
  20. package/dist/host-compat.css +4 -1
  21. package/dist/i18n/locales/ar.d.ts +4 -0
  22. package/dist/i18n/locales/ar.js +6 -2
  23. package/dist/i18n/locales/de.d.ts +4 -0
  24. package/dist/i18n/locales/de.js +6 -2
  25. package/dist/i18n/locales/el.d.ts +4 -0
  26. package/dist/i18n/locales/el.js +6 -2
  27. package/dist/i18n/locales/en.d.ts +4 -0
  28. package/dist/i18n/locales/en.js +5 -1
  29. package/dist/i18n/locales/es.d.ts +4 -0
  30. package/dist/i18n/locales/es.js +6 -2
  31. package/dist/i18n/locales/fr.d.ts +4 -0
  32. package/dist/i18n/locales/fr.js +6 -2
  33. package/dist/i18n/locales/hi.d.ts +4 -0
  34. package/dist/i18n/locales/hi.js +6 -2
  35. package/dist/i18n/locales/it.d.ts +4 -0
  36. package/dist/i18n/locales/it.js +6 -2
  37. package/dist/i18n/locales/ja.d.ts +4 -0
  38. package/dist/i18n/locales/ja.js +6 -2
  39. package/dist/i18n/locales/nl.d.ts +4 -0
  40. package/dist/i18n/locales/nl.js +6 -2
  41. package/dist/i18n/locales/pl.d.ts +4 -0
  42. package/dist/i18n/locales/pl.js +6 -2
  43. package/dist/i18n/locales/pt.d.ts +4 -0
  44. package/dist/i18n/locales/pt.js +6 -2
  45. package/dist/i18n/locales/ro.d.ts +4 -0
  46. package/dist/i18n/locales/ro.js +6 -2
  47. package/dist/i18n/locales/ru.d.ts +4 -0
  48. package/dist/i18n/locales/ru.js +6 -2
  49. package/dist/i18n/locales/sq.d.ts +4 -0
  50. package/dist/i18n/locales/sq.js +6 -2
  51. package/dist/i18n/locales/sv.d.ts +4 -0
  52. package/dist/i18n/locales/sv.js +6 -2
  53. package/dist/i18n/locales/tr.d.ts +4 -0
  54. package/dist/i18n/locales/tr.js +6 -2
  55. package/dist/i18n/locales/zh.d.ts +4 -0
  56. package/dist/i18n/locales/zh.js +6 -2
  57. package/dist/index.js +6 -6
  58. package/dist/locales/ar.json +6 -2
  59. package/dist/locales/de.json +6 -2
  60. package/dist/locales/el.json +6 -2
  61. package/dist/locales/en.json +5 -1
  62. package/dist/locales/es.json +6 -2
  63. package/dist/locales/fr.json +6 -2
  64. package/dist/locales/hi.json +6 -2
  65. package/dist/locales/it.json +6 -2
  66. package/dist/locales/ja.json +6 -2
  67. package/dist/locales/nl.json +6 -2
  68. package/dist/locales/pl.json +6 -2
  69. package/dist/locales/pt.json +6 -2
  70. package/dist/locales/ro.json +6 -2
  71. package/dist/locales/ru.json +6 -2
  72. package/dist/locales/sq.json +6 -2
  73. package/dist/locales/sv.json +6 -2
  74. package/dist/locales/tr.json +6 -2
  75. package/dist/locales/zh.json +6 -2
  76. package/dist/patterns/calendar/calendar.journey.d.ts +4 -0
  77. package/dist/patterns/calendar/calendar.surface.d.ts +15 -1
  78. package/dist/patterns/calendar/calendar.types.d.ts +4 -0
  79. package/dist/patterns/calendar/index.js +1 -1
  80. package/dist/tokens.css +1 -1
  81. package/package.json +1 -1
  82. package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js +0 -13663
  83. package/dist/_chunks/map-view-DkL58SRp.js +0 -1613
@@ -4254,7 +4254,9 @@
4254
4254
  "consentTitle": "显示交互式地图",
4255
4255
  "consentDescription": "加载地图时,您的 IP 地址将被共享给 Google 以获取地图切片。是否继续?",
4256
4256
  "consentCta": "加载地图",
4257
- "openInGoogleMaps": "在 Google 地图中打开"
4257
+ "openInGoogleMaps": "在 Google 地图中打开",
4258
+ "unavailable": "地图目前无法使用",
4259
+ "retry": "重试"
4258
4260
  },
4259
4261
  "whatsApp": {
4260
4262
  "label": "在 WhatsApp 上联系我们",
@@ -6015,7 +6017,9 @@
6015
6017
  "sameDayReminderLater": "{{channel}}:该患者今天还有一个更晚的预约同样设置了此提醒。只有当天最早的就诊会发送。",
6016
6018
  "telehealthNeedsReminder": "远程医疗预约至少需要一个提醒。请开启短信或电子邮件提醒。",
6017
6019
  "signatureCreditsNone": "签名额度已用完,因此无法发送签名请求。",
6018
- "signatureCreditsBuy": "购买签名额度"
6020
+ "signatureCreditsBuy": "购买签名额度",
6021
+ "draftColumnRefused": "所选治疗项目在该列中不提供。预约保持在原位置。",
6022
+ "repeatsCarePlan": "与护理计划关联的预约无法重复。"
6019
6023
  },
6020
6024
  "taskEditor": {
6021
6025
  "title": "新建任务",
@@ -78,6 +78,10 @@ export interface CalendarAppointmentCopy {
78
78
  withTreatments: boolean;
79
79
  /** The source appointment's own archive, when it has one. */
80
80
  archiveId?: string;
81
+ /** The source's saved reminder ticks (`CalendarAppointmentMeta`): a copy
82
+ * keeps them (rule C5). Absent when the host holds none. */
83
+ emailReminder?: boolean;
84
+ smsReminder?: boolean;
81
85
  }
82
86
  export interface CalendarJourney {
83
87
  rows: CalendarRow[];
@@ -6,7 +6,7 @@ import { type CalendarArchive, type CalendarPrompts } from './calendar.types';
6
6
  import { type CalendarViewChange, type WorkspaceDisplaySettings, type WorkspaceViewId, type CreateModeRequest, type PlacementRequest, type SaveNotice, type RecurringScopeChosen, type CalendarWorkspaceToolId } from './calendar-workspace.model';
7
7
  import type { CalendarSettingsBridge } from './calendar-settings-panel';
8
8
  import type { CalendarJourney } from './calendar.journey';
9
- export declare function CalendarSurface({ rows, setRows, draftSlot, onFocus, locale, onComposeNew, onComposeTask, onOpenWaitingList, onAddWaitingEntry, onOpenOnlineBookings, onlineBookingsCount, waitingBadgeCount, onVisibleRangeChange, onRetryLoad, selectedEventId, gotoRequest, onBookSlot, onBookSlotFromFinder, display, setDisplay, defaultDisplay, onHistory, readOnly, reviewOnlyEventIds, detailsOnEveryClick, gridHeld, placement, onPlacementEnd, createMode, onCreateModeEnd, focusScroll, saveNotice, privacy, onPrivacyChange, availability, availabilityContext, availableTools, schedulerLicenseKey, id, preferences, onMoveOccurrence, onMoveAppointment, onResizeAppointment, onCopyAppointment, onDeleteAppointment, onRecurringScopeChosen, onViewChange, initialView, onNavigate, onPeekOpen, settingsBridge, settingsOpen, onToggleSettings, onSettingChanged, onHoursOpened, practiceSettings, onMoveDropped, onPrintUsed, onJumpToDateUsed, calendarArchive, prompts, }: {
9
+ export declare function CalendarSurface({ rows, setRows, draftSlot, onDraftMoved, onDraftResized, onFocus, locale, onComposeNew, onComposeTask, onOpenWaitingList, onAddWaitingEntry, onOpenOnlineBookings, onlineBookingsCount, waitingBadgeCount, onVisibleRangeChange, onRetryLoad, selectedEventId, gotoRequest, onBookSlot, onBookSlotFromFinder, display, setDisplay, defaultDisplay, onHistory, readOnly, reviewOnlyEventIds, detailsOnEveryClick, gridHeld, placement, onPlacementEnd, createMode, onCreateModeEnd, focusScroll, saveNotice, privacy, onPrivacyChange, availability, availabilityContext, availableTools, schedulerLicenseKey, id, preferences, onMoveOccurrence, onMoveAppointment, onResizeAppointment, onCopyAppointment, onDeleteAppointment, onRecurringScopeChosen, onViewChange, initialView, onNavigate, onPeekOpen, settingsBridge, settingsOpen, onToggleSettings, onSettingChanged, onHoursOpened, practiceSettings, onMoveDropped, onPrintUsed, onJumpToDateUsed, calendarArchive, prompts, }: {
10
10
  rows: CalendarRow[];
11
11
  setRows: React.Dispatch<React.SetStateAction<CalendarRow[]>>;
12
12
  onFocus: (focus: RailFocus) => void;
@@ -78,6 +78,20 @@ export declare function CalendarSurface({ rows, setRows, draftSlot, onFocus, loc
78
78
  /** The open NEW-appointment form's slot, held on the grid as a dashed
79
79
  * draft card until Save or Cancel. `null` when no create form is open. */
80
80
  draftSlot?: DraftSlot | null;
81
+ /** The user dropped the dashed draft card on another slot or column: the
82
+ * workspace patches the open form's date, time and column. Absent, the
83
+ * draft card stays fixed. */
84
+ onDraftMoved?: (next: {
85
+ date: Date;
86
+ time: {
87
+ hours: number;
88
+ minutes: number;
89
+ };
90
+ chairId?: string;
91
+ operatorId?: string;
92
+ }) => void;
93
+ /** The user resized the draft card: the open form's length, in minutes. */
94
+ onDraftResized?: (durationMin: number) => void;
81
95
  /** Seed the editor prefilled (an empty-slot click, a booking to process). */
82
96
  onBookSlot: (prefill: EditorPrefill) => void;
83
97
  /** A host tool holds the dock (`hold`): a grid click still selects, but
@@ -422,6 +422,10 @@ export interface CalendarAppointmentMeta {
422
422
  bookedAtIso?: string;
423
423
  /** Note the patient typed on the booking form. */
424
424
  bookingNote?: string;
425
+ /** The reminder ticks saved with the appointment. A copy carries them
426
+ * (rule C5); one left out is not sent with the copy. */
427
+ emailReminder?: boolean;
428
+ smsReminder?: boolean;
425
429
  }
426
430
  /**
427
431
  * Platform-shaped task detail (the `TaskDTO` slice the legacy task page
@@ -1,4 +1,4 @@
1
- import { A as s, C as r, a as t, b as S, c as E, d as n, e as o, f as i, D as A, g as C, S as d, V as P, W as D, h as l, i as _, m as O, r as c, u as p, j as L, k as R } from "../../_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js";
1
+ import { A as s, C as r, a as t, b as S, c as E, d as n, e as o, f as i, D as A, g as C, S as d, V as P, W as D, h as l, i as _, m as O, r as c, u as p, j as L, k as R } from "../../_chunks/calendar-appointment-editor-dialog-BHx6kUhX.js";
2
2
  export {
3
3
  s as AppointmentEditorDialog,
4
4
  r as CALENDAR_PREFERENCE_KEYS,