@alfadocs/ui-kit 1.16.0 → 1.17.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 (68) hide show
  1. package/dist/_chunks/calendar-workspace-Ca0n_r1v.js +7341 -0
  2. package/dist/_chunks/{file-manager-DJMeB3V8.js → file-manager-spc3_khe.js} +152 -136
  3. package/dist/_chunks/{signature-field-CEiPe-vX.js → signature-field-0rFODJlW.js} +34 -19
  4. package/dist/agent-catalog.json +10 -56
  5. package/dist/agent-i18n/en.json +3 -5
  6. package/dist/components/file-manager/index.js +1 -1
  7. package/dist/components/signature-field/index.js +1 -1
  8. package/dist/i18n/locales/ar.d.ts +0 -38
  9. package/dist/i18n/locales/ar.js +2 -40
  10. package/dist/i18n/locales/de.d.ts +0 -38
  11. package/dist/i18n/locales/de.js +2 -40
  12. package/dist/i18n/locales/el.d.ts +0 -38
  13. package/dist/i18n/locales/el.js +2 -40
  14. package/dist/i18n/locales/en.d.ts +0 -38
  15. package/dist/i18n/locales/en.js +2 -40
  16. package/dist/i18n/locales/es.d.ts +0 -38
  17. package/dist/i18n/locales/es.js +2 -40
  18. package/dist/i18n/locales/fr.d.ts +0 -38
  19. package/dist/i18n/locales/fr.js +2 -40
  20. package/dist/i18n/locales/hi.d.ts +0 -38
  21. package/dist/i18n/locales/hi.js +2 -40
  22. package/dist/i18n/locales/it.d.ts +0 -38
  23. package/dist/i18n/locales/it.js +2 -40
  24. package/dist/i18n/locales/ja.d.ts +0 -38
  25. package/dist/i18n/locales/ja.js +2 -40
  26. package/dist/i18n/locales/nl.d.ts +0 -38
  27. package/dist/i18n/locales/nl.js +2 -40
  28. package/dist/i18n/locales/pl.d.ts +0 -38
  29. package/dist/i18n/locales/pl.js +2 -40
  30. package/dist/i18n/locales/pt.d.ts +0 -38
  31. package/dist/i18n/locales/pt.js +2 -40
  32. package/dist/i18n/locales/ro.d.ts +0 -38
  33. package/dist/i18n/locales/ro.js +2 -40
  34. package/dist/i18n/locales/ru.d.ts +0 -38
  35. package/dist/i18n/locales/ru.js +2 -40
  36. package/dist/i18n/locales/sq.d.ts +0 -38
  37. package/dist/i18n/locales/sq.js +2 -40
  38. package/dist/i18n/locales/sv.d.ts +0 -38
  39. package/dist/i18n/locales/sv.js +2 -40
  40. package/dist/i18n/locales/tr.d.ts +0 -38
  41. package/dist/i18n/locales/tr.js +2 -40
  42. package/dist/i18n/locales/zh.d.ts +0 -38
  43. package/dist/i18n/locales/zh.js +2 -40
  44. package/dist/index.js +3 -3
  45. package/dist/locales/ar.json +2 -40
  46. package/dist/locales/de.json +2 -40
  47. package/dist/locales/el.json +2 -40
  48. package/dist/locales/en.json +2 -40
  49. package/dist/locales/es.json +2 -40
  50. package/dist/locales/fr.json +2 -40
  51. package/dist/locales/hi.json +2 -40
  52. package/dist/locales/it.json +2 -40
  53. package/dist/locales/ja.json +2 -40
  54. package/dist/locales/nl.json +2 -40
  55. package/dist/locales/pl.json +2 -40
  56. package/dist/locales/pt.json +2 -40
  57. package/dist/locales/ro.json +2 -40
  58. package/dist/locales/ru.json +2 -40
  59. package/dist/locales/sq.json +2 -40
  60. package/dist/locales/sv.json +2 -40
  61. package/dist/locales/tr.json +2 -40
  62. package/dist/locales/zh.json +2 -40
  63. package/dist/patterns/calendar/calendar.sheets.d.ts +4 -8
  64. package/dist/patterns/calendar/index.js +1 -1
  65. package/package.json +1 -1
  66. package/dist/_chunks/calendar-workspace-B87-QI8L.js +0 -7606
  67. package/dist/_chunks/folder-plus-CutOs4DP.js +0 -22
  68. package/dist/_chunks/signature-CpFNpsVK.js +0 -21
@@ -4019,8 +4019,6 @@
4019
4019
  "anamnesisTitle": "病史需要关注",
4020
4020
  "anamnesisHighlighted": "重点标记的回答:{{n}}",
4021
4021
  "anamnesisExpired": "已过期回答:{{n}}",
4022
- "anamnesisRenew": "更新",
4023
- "anamnesisRenewToast": "病史更新——仅为演示,不会发送任何内容",
4024
4022
  "sectionSigning": "待签署文件",
4025
4023
  "signingToSignOne": "1 份文件待签署",
4026
4024
  "signingToSignMany": "{{n}} 份文件待签署",
@@ -4036,8 +4034,6 @@
4036
4034
  "sectionBooking": "在线预约",
4037
4035
  "bookedAt": "预约提交时间",
4038
4036
  "bookingNote": "患者留言",
4039
- "joinTelehealth": "加入远程问诊",
4040
- "joinTelehealthToast": "远程问诊会话 {{code}}——仅为演示,不会发起通话",
4041
4037
  "historyAction": "修改记录",
4042
4038
  "historyTitle": "修改记录",
4043
4039
  "historyBack": "返回详情",
@@ -4061,12 +4057,8 @@
4061
4057
  "move": "移动…",
4062
4058
  "copy": "复制…",
4063
4059
  "signingOnDevice": "在此设备上…",
4064
- "aesEnable": "启用高级电子签名",
4065
- "aesToast": "打开高级电子签名设置。不属于本演示内容。",
4066
4060
  "paidOnline": "已在线支付",
4067
4061
  "toCollect": "待收款",
4068
- "pauUpsell": "自动化收款",
4069
- "pauToast": "打开“自动化收款”。不属于本演示内容。",
4070
4062
  "address": "地址",
4071
4063
  "mapsLink": "在 Google 地图中打开",
4072
4064
  "bookingPhone": "预约电话",
@@ -4254,15 +4246,6 @@
4254
4246
  "duplicateAppointmentOnly": "仅预约",
4255
4247
  "duplicateWithTreatments": "预约及治疗项目",
4256
4248
  "cancel": "取消",
4257
- "createDocument": "创建文档",
4258
- "createBill": "创建发票",
4259
- "createBillNoOperator": "请先分配操作员",
4260
- "createFolder": "新建文件夹",
4261
- "createFromTemplate": "从模板创建文档",
4262
- "createEmptyDocument": "空白文档",
4263
- "createIdDocument": "身份证件",
4264
- "createWebCamera": "摄像头",
4265
- "createDocumentToast": "{{item}}——仅为演示,不会创建任何内容",
4266
4249
  "branch": "专科",
4267
4250
  "devices": "医疗设备",
4268
4251
  "signModeSms": "通过短信请求",
@@ -4288,10 +4271,6 @@
4288
4271
  "carePlanCleanup": "诊疗计划中的治疗项目",
4289
4272
  "carePlanRemove": "从诊疗计划中移除该治疗项目",
4290
4273
  "carePlanKeep": "在诊疗计划中保留该治疗项目",
4291
- "createBillConfirmTitle": "创建发票?",
4292
- "createBillConfirmBody": "与此预约关联的所有治疗项目将标记为由指定操作员完成,然后打开发票。",
4293
- "createBillConfirm": "继续",
4294
- "createBillCancel": "取消",
4295
4274
  "devicesRequired_one": "需要 {{count}} 台设备",
4296
4275
  "devicesRequired_many": "需要 {{count}} 台设备",
4297
4276
  "devicesRequired_other": "需要 {{count}} 台设备",
@@ -4372,9 +4351,7 @@
4372
4351
  "region": "诊疗计划",
4373
4352
  "entriesToggle": "治疗条目({{count}})",
4374
4353
  "linkedToThis": "已关联此预约",
4375
- "showOnCalendar": "在日历中显示",
4376
- "openFull": "打开完整计划",
4377
- "openFullToast": "完整的诊疗计划将在患者档案中打开——不属于本演示内容。"
4354
+ "showOnCalendar": "在日历中显示"
4378
4355
  },
4379
4356
  "backlog": {
4380
4357
  "tool": "待处理",
@@ -4454,10 +4431,6 @@
4454
4431
  "chairs": "诊椅",
4455
4432
  "operators": "操作员",
4456
4433
  "resetFilters": "重置筛选",
4457
- "scheduler": "排班",
4458
- "schedulerToast": "打开排班——诊所营业时间和操作员可用时间。不属于本演示内容。",
4459
- "settings": "日历设置",
4460
- "settingsToast": "打开日历设置页面。不属于本演示内容。",
4461
4434
  "navigation": "日历导航",
4462
4435
  "waitingListCount_one": "等候名单——{{count}} 个条目",
4463
4436
  "waitingListCount_many": "等候名单——{{count}} 个条目",
@@ -4515,9 +4488,7 @@
4515
4488
  "chairFull": "全名",
4516
4489
  "chairShort": "两字母缩写",
4517
4490
  "mapsLink": "在预约详情中显示地图链接",
4518
- "windowPractice": "诊所营业时间({{from}}–{{to}})",
4519
- "tutorial": "教程",
4520
- "tutorialToast": "打开 Academy 的日程教程。不属于本演示内容。"
4491
+ "windowPractice": "诊所营业时间({{from}}–{{to}})"
4521
4492
  },
4522
4493
  "print": {
4523
4494
  "title": "按日打印",
@@ -4531,9 +4502,6 @@
4531
4502
  "undo": "撤销",
4532
4503
  "undone": "时长已恢复"
4533
4504
  },
4534
- "dialogs": {
4535
- "carePlanToast": "在患者档案中打开诊疗计划。不属于本演示内容。"
4536
- },
4537
4505
  "bookings": {
4538
4506
  "title": "在线预约",
4539
4507
  "intro": "最近三十天内仍需分配患者或操作员的预约。",
@@ -4588,12 +4556,6 @@
4588
4556
  "readOnly": {
4589
4557
  "createBlocked": "您没有创建预约的权限。"
4590
4558
  },
4591
- "legacy": {
4592
- "patientFolder": "打开 {{name}} 的患者档案。不属于本演示内容。",
4593
- "saveAndReturn": "已保存。平台将返回到链接来源的诊疗计划。不属于本演示内容。",
4594
- "whatsapp": "打开旧版 WhatsApp Snippets 对话框。不属于本演示内容。",
4595
- "signOnDevice": "打开旧版电子签名对话框——在此设备上签名、签署人及操作员分配。不属于本演示内容。"
4596
- },
4597
4559
  "rail": {
4598
4560
  "appointments": "预约",
4599
4561
  "appointmentsTitle": "即将到来的预约",
@@ -107,8 +107,6 @@ export interface EditorPlatformOptions {
107
107
  recurringScope?: boolean;
108
108
  /** Price-list recurrence parent — ask about the care-plan lines on delete. */
109
109
  carePlanCleanup?: boolean;
110
- /** Create bill asks before executing the linked treatments. */
111
- confirmCreateBill?: boolean;
112
110
  /** Operator options for the select — defaults to the shared active
113
111
  * cast. A host whose appointment is held by an operator the practice
114
112
  * has since DISABLED passes the wider list, so the name still shows
@@ -230,14 +228,10 @@ export declare function SendReminderGroup({ onWhatsApp, channels: allowed, }: {
230
228
  /** The platform popover facts the Final State never modelled — every
231
229
  * field optional, so a host that passes nothing sees the extras as before. */
232
230
  export interface ExtrasPlatformOptions {
233
- /** The patient has an advanced e-signature setup (else "Enable AES"). */
234
- aesEnabled?: boolean;
235
231
  /** Deposit paid online when booking (Stripe). */
236
232
  paidOnlineAmount?: number;
237
233
  /** The patient's outstanding balance. */
238
234
  toCollectAmount?: number;
239
- /** Payment automation is off and the upsell toggle is on. */
240
- pauUpsell?: boolean;
241
235
  /** The user's map-link setting (the display cog). */
242
236
  mapsLink?: boolean;
243
237
  /** The phone typed on the booking site, when it differs from the record. */
@@ -324,8 +318,10 @@ export declare function WaitingListPanel({ entries, rows, locale, onPlaceWaiting
324
318
  onRemoveWaiting: (entry: CalendarWaitingEntry) => void;
325
319
  /** Add entry, and a row's edit → the host's entry sub-view. */
326
320
  onOpenEntryForm: (entry?: CalendarWaitingEntry) => void;
327
- /** The patient-folder hop the platform's name link makes. */
328
- onOpenPatient: (patient: CalendarPatient) => void;
321
+ /** The patient-folder hop the platform's name link makes. Unset — a
322
+ * host with no folder to route to — renders the name as plain text
323
+ * rather than a link that cannot arrive anywhere. */
324
+ onOpenPatient?: (patient: CalendarPatient) => void;
329
325
  /** The platform's `focusAppointmentId` deep link — steer and ring. */
330
326
  onOpenAppointment: (eventId: string) => void;
331
327
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-B87-QI8L.js";
1
+ import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-Ca0n_r1v.js";
2
2
  export {
3
3
  s as CALENDAR_PREFERENCE_KEYS,
4
4
  r as CalendarDataProvider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",