@alfadocs/ui-kit 1.129.0 → 1.130.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/calendar-appointment-editor-dialog-CXch4Pmu.js +13663 -0
- package/dist/_chunks/contact-round-DiSvB3LP.js +18 -0
- package/dist/_chunks/{entity-summary-Dzk54yom.js → entity-summary-KHM0PnSI.js} +55 -67
- package/dist/_chunks/{header-settings-DsvheAOt.js → header-settings-ZGvYAuKF.js} +101 -97
- package/dist/_chunks/{marketplace-app-shell-BOBWmzoT.js → marketplace-app-shell-D_HA8CKx.js} +2 -2
- package/dist/_chunks/{muscle-scheme-CHrjv7p2.js → muscle-scheme-DdIdm8Gw.js} +2 -1
- package/dist/_chunks/{patient-search-D_S7joff.js → patient-search-OAwFgOW3.js} +2 -2
- package/dist/_chunks/{toast-BNoN8Qjh.js → toast-DQ1Zu1kk.js} +264 -251
- package/dist/_chunks/use-appointment-details-read-BrykoTOR.js +2475 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +7 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.links.d.ts +2 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +5 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +13 -4
- package/dist/i18n/locales/ar.js +16 -7
- package/dist/i18n/locales/de.d.ts +13 -4
- package/dist/i18n/locales/de.js +16 -7
- package/dist/i18n/locales/el.d.ts +13 -4
- package/dist/i18n/locales/el.js +16 -7
- package/dist/i18n/locales/en.d.ts +13 -4
- package/dist/i18n/locales/en.js +13 -4
- package/dist/i18n/locales/es.d.ts +13 -4
- package/dist/i18n/locales/es.js +16 -7
- package/dist/i18n/locales/fr.d.ts +13 -4
- package/dist/i18n/locales/fr.js +16 -7
- package/dist/i18n/locales/hi.d.ts +13 -4
- package/dist/i18n/locales/hi.js +16 -7
- package/dist/i18n/locales/it.d.ts +13 -4
- package/dist/i18n/locales/it.js +16 -7
- package/dist/i18n/locales/ja.d.ts +13 -4
- package/dist/i18n/locales/ja.js +16 -7
- package/dist/i18n/locales/nl.d.ts +13 -4
- package/dist/i18n/locales/nl.js +16 -7
- package/dist/i18n/locales/pl.d.ts +13 -4
- package/dist/i18n/locales/pl.js +16 -7
- package/dist/i18n/locales/pt.d.ts +13 -4
- package/dist/i18n/locales/pt.js +16 -7
- package/dist/i18n/locales/ro.d.ts +13 -4
- package/dist/i18n/locales/ro.js +16 -7
- package/dist/i18n/locales/ru.d.ts +13 -4
- package/dist/i18n/locales/ru.js +16 -7
- package/dist/i18n/locales/sq.d.ts +13 -4
- package/dist/i18n/locales/sq.js +16 -7
- package/dist/i18n/locales/sv.d.ts +13 -4
- package/dist/i18n/locales/sv.js +16 -7
- package/dist/i18n/locales/tr.d.ts +13 -4
- package/dist/i18n/locales/tr.js +16 -7
- package/dist/i18n/locales/zh.d.ts +13 -4
- package/dist/i18n/locales/zh.js +16 -7
- package/dist/index.js +7 -7
- package/dist/locales/ar.json +16 -7
- package/dist/locales/de.json +16 -7
- package/dist/locales/el.json +16 -7
- package/dist/locales/en.json +13 -4
- package/dist/locales/es.json +16 -7
- package/dist/locales/fr.json +16 -7
- package/dist/locales/hi.json +16 -7
- package/dist/locales/it.json +16 -7
- package/dist/locales/ja.json +16 -7
- package/dist/locales/nl.json +16 -7
- package/dist/locales/pl.json +16 -7
- package/dist/locales/pt.json +16 -7
- package/dist/locales/ro.json +16 -7
- package/dist/locales/ru.json +16 -7
- package/dist/locales/sq.json +16 -7
- package/dist/locales/sv.json +16 -7
- package/dist/locales/tr.json +16 -7
- package/dist/locales/zh.json +16 -7
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +10 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts +27 -0
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +5 -6
- package/dist/patterns/calendar/calendar.model.d.ts +57 -8
- package/dist/patterns/calendar/calendar.sheets.d.ts +46 -3
- package/dist/patterns/calendar/calendar.types.d.ts +13 -5
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/calendar-appointment-editor-dialog-DnPADcj9.js +0 -13438
- package/dist/_chunks/use-appointment-details-read-n7kycxrm.js +0 -2439
package/dist/locales/ro.json
CHANGED
|
@@ -394,6 +394,7 @@
|
|
|
394
394
|
"ariaLabel": "Schemă anatomică",
|
|
395
395
|
"legendLabel": "Legendă constatări",
|
|
396
396
|
"viewListLabel": "Vederi anatomice",
|
|
397
|
+
"deselectHint": "Faceți clic din nou pentru a deselecta",
|
|
397
398
|
"viewShort": {
|
|
398
399
|
"front": "Față",
|
|
399
400
|
"back": "Spate",
|
|
@@ -5521,13 +5522,13 @@
|
|
|
5521
5522
|
"practiceSaved": "Setările cabinetului au fost salvate.",
|
|
5522
5523
|
"practiceNotices": "Notificări",
|
|
5523
5524
|
"practicePatientNotices": "Notificări pentru pacienți",
|
|
5524
|
-
"practicePatientNoticesHint": "
|
|
5525
|
+
"practicePatientNoticesHint": "Mementourile și notificarea de mutare sunt bifate implicit când personalul programează sau mută o programare, iar personalul le poate schimba de fiecare dată.",
|
|
5525
5526
|
"practiceReminderSms": "Trimite o reamintire prin SMS",
|
|
5526
5527
|
"practiceReminderEmail": "Trimite o reamintire prin e-mail",
|
|
5527
5528
|
"practiceOperatorNotices": "Notificări pentru operator",
|
|
5528
|
-
"practiceOperatorNoticesHint": "Anunță operatorul când
|
|
5529
|
-
"practiceOperatorOnCancel": "
|
|
5530
|
-
"practiceOperatorOnChange": "
|
|
5529
|
+
"practiceOperatorNoticesHint": "Anunță operatorul când o programare este creată, modificată sau anulată.",
|
|
5530
|
+
"practiceOperatorOnCancel": "Anunță operatorul când un pacient anulează",
|
|
5531
|
+
"practiceOperatorOnChange": "Anunță operatorul când un pacient modifică",
|
|
5531
5532
|
"practiceWhatsapp": "Mesaj WhatsApp implicit",
|
|
5532
5533
|
"practiceWhatsappHint": "Textul cu care începe un mesaj WhatsApp către un pacient. Personalul îl poate edita înainte de trimitere.",
|
|
5533
5534
|
"practiceWhatsappInsert": "Inserează un substituent",
|
|
@@ -5543,7 +5544,9 @@
|
|
|
5543
5544
|
"icalConfirmBody": "Linkul actual nu mai funcționează imediat. Calendarele care îl folosesc nu se mai actualizează până le dai noul link. Această acțiune nu poate fi anulată.",
|
|
5544
5545
|
"icalRevoked": "A fost creat un link nou pentru {{name}}.",
|
|
5545
5546
|
"icalFailed": "Linkul nu a putut fi revocat. Linkul vechi încă funcționează.",
|
|
5546
|
-
"practiceMoved": "Anunță pacientul când o programare este mutată"
|
|
5547
|
+
"practiceMoved": "Anunță pacientul când o programare este mutată",
|
|
5548
|
+
"practiceConfirmationSms": "Trimite un SMS de confirmare când se creează o programare",
|
|
5549
|
+
"practiceOperatorOnUserChange": "Anunță operatorul când un utilizator al cabinetului creează, modifică sau anulează"
|
|
5547
5550
|
},
|
|
5548
5551
|
"filters": {
|
|
5549
5552
|
"chairs": "Filtrează fotoliile",
|
|
@@ -5738,7 +5741,8 @@
|
|
|
5738
5741
|
"seriesOnNth": "{{every}}: {{ordinal}} {{weekday}} a lunii",
|
|
5739
5742
|
"seriesOnLast": "{{every}}, ultima {{weekday}} a lunii",
|
|
5740
5743
|
"seriesUntil": "{{rule}}, până pe {{date}}",
|
|
5741
|
-
"buyWhatsApp": "Cumpără WhatsApp"
|
|
5744
|
+
"buyWhatsApp": "Cumpără WhatsApp",
|
|
5745
|
+
"openPatient": "Deschide fișa pacientului"
|
|
5742
5746
|
},
|
|
5743
5747
|
"task": {
|
|
5744
5748
|
"region": "Detalii activitate",
|
|
@@ -6018,7 +6022,12 @@
|
|
|
6018
6022
|
"deviceBusy": "ocupat",
|
|
6019
6023
|
"deviceNoneFree": "Niciun dispozitiv liber",
|
|
6020
6024
|
"devicesAllBusy": "Toate dispozitivele pentru {{care}} sunt ocupate la această oră. Poți salva oricum.",
|
|
6021
|
-
"discardBody": "Ați introdus detalii pentru această programare și nu le-ați salvat. Dacă ieșiți, se vor pierde."
|
|
6025
|
+
"discardBody": "Ați introdus detalii pentru această programare și nu le-ați salvat. Dacă ieșiți, se vor pierde.",
|
|
6026
|
+
"sameDayReminderEarlier": "{{channel}}: acest pacient are deja astăzi o programare mai devreme care trimite unul, deci această vizită nu trimite niciunul.",
|
|
6027
|
+
"sameDayReminderLater": "{{channel}}: acest pacient are astăzi și o programare mai târziu cu același memento. Îl trimite doar prima vizită a zilei.",
|
|
6028
|
+
"telehealthNeedsReminder": "O programare de telemedicină are nevoie de cel puțin un memento. Activează mementoul prin SMS sau prin e-mail.",
|
|
6029
|
+
"signatureCreditsNone": "Nu mai există credite de semnătură, deci cererile de semnătură nu pot fi trimise.",
|
|
6030
|
+
"signatureCreditsBuy": "Cumpără credite de semnătură"
|
|
6022
6031
|
},
|
|
6023
6032
|
"taskEditor": {
|
|
6024
6033
|
"title": "Activitate nouă",
|
package/dist/locales/ru.json
CHANGED
|
@@ -394,6 +394,7 @@
|
|
|
394
394
|
"ariaLabel": "Анатомическая схема",
|
|
395
395
|
"legendLabel": "Условные обозначения",
|
|
396
396
|
"viewListLabel": "Анатомические виды",
|
|
397
|
+
"deselectHint": "Нажмите ещё раз, чтобы снять выделение",
|
|
397
398
|
"viewShort": {
|
|
398
399
|
"front": "Спереди",
|
|
399
400
|
"back": "Сзади",
|
|
@@ -5524,13 +5525,13 @@
|
|
|
5524
5525
|
"practiceSaved": "Настройки клиники сохранены.",
|
|
5525
5526
|
"practiceNotices": "Уведомления",
|
|
5526
5527
|
"practicePatientNotices": "Уведомления для пациентов",
|
|
5527
|
-
"practicePatientNoticesHint": "
|
|
5528
|
+
"practicePatientNoticesHint": "Напоминания и уведомление о переносе отмечены по умолчанию, когда сотрудники записывают или переносят приём, и сотрудники могут менять их каждый раз.",
|
|
5528
5529
|
"practiceReminderSms": "Отправлять напоминание по SMS",
|
|
5529
5530
|
"practiceReminderEmail": "Отправлять напоминание по электронной почте",
|
|
5530
5531
|
"practiceOperatorNotices": "Уведомления для оператора",
|
|
5531
|
-
"practiceOperatorNoticesHint": "
|
|
5532
|
-
"practiceOperatorOnCancel": "Уведомлять
|
|
5533
|
-
"practiceOperatorOnChange": "Уведомлять
|
|
5532
|
+
"practiceOperatorNoticesHint": "Уведомлять оператора, когда приём создан, изменён или отменён.",
|
|
5533
|
+
"practiceOperatorOnCancel": "Уведомлять оператора, когда пациент отменяет приём",
|
|
5534
|
+
"practiceOperatorOnChange": "Уведомлять оператора, когда пациент изменяет приём",
|
|
5534
5535
|
"practiceWhatsapp": "Сообщение WhatsApp по умолчанию",
|
|
5535
5536
|
"practiceWhatsappHint": "Текст, с которого начинается сообщение пациенту в WhatsApp. Сотрудники могут изменить его перед отправкой.",
|
|
5536
5537
|
"practiceWhatsappInsert": "Вставить заполнитель",
|
|
@@ -5546,7 +5547,9 @@
|
|
|
5546
5547
|
"icalConfirmBody": "Текущая ссылка перестаёт работать сразу. Календари, которые её используют, не будут обновляться, пока вы не дадите им новую ссылку. Это действие нельзя отменить.",
|
|
5547
5548
|
"icalRevoked": "Для {{name}} создана новая ссылка.",
|
|
5548
5549
|
"icalFailed": "Не удалось отозвать ссылку. Старая ссылка по-прежнему работает.",
|
|
5549
|
-
"practiceMoved": "Сообщать пациенту о переносе приёма"
|
|
5550
|
+
"practiceMoved": "Сообщать пациенту о переносе приёма",
|
|
5551
|
+
"practiceConfirmationSms": "Отправлять SMS с подтверждением при создании приёма",
|
|
5552
|
+
"practiceOperatorOnUserChange": "Уведомлять оператора, когда пользователь клиники создаёт, изменяет или отменяет приём"
|
|
5550
5553
|
},
|
|
5551
5554
|
"filters": {
|
|
5552
5555
|
"chairs": "Фильтр по креслам",
|
|
@@ -5741,7 +5744,8 @@
|
|
|
5741
5744
|
"seriesOnNth": "{{every}}, {{weekday}} {{ordinal}} недели месяца",
|
|
5742
5745
|
"seriesOnLast": "{{every}}, {{weekday}} последней недели месяца",
|
|
5743
5746
|
"seriesUntil": "{{rule}}, до {{date}}",
|
|
5744
|
-
"buyWhatsApp": "Купить WhatsApp"
|
|
5747
|
+
"buyWhatsApp": "Купить WhatsApp",
|
|
5748
|
+
"openPatient": "Открыть карту пациента"
|
|
5745
5749
|
},
|
|
5746
5750
|
"task": {
|
|
5747
5751
|
"region": "Детали задачи",
|
|
@@ -6021,7 +6025,12 @@
|
|
|
6021
6025
|
"deviceBusy": "занято",
|
|
6022
6026
|
"deviceNoneFree": "Нет свободных устройств",
|
|
6023
6027
|
"devicesAllBusy": "Все устройства для {{care}} в это время заняты. Вы всё равно можете сохранить.",
|
|
6024
|
-
"discardBody": "Вы ввели данные для этой записи и не сохранили их. Если вы уйдёте, они будут потеряны."
|
|
6028
|
+
"discardBody": "Вы ввели данные для этой записи и не сохранили их. Если вы уйдёте, они будут потеряны.",
|
|
6029
|
+
"sameDayReminderEarlier": "{{channel}}: у этого пациента сегодня уже есть более ранний приём, который отправляет напоминание, поэтому этот визит его не отправляет.",
|
|
6030
|
+
"sameDayReminderLater": "{{channel}}: у этого пациента сегодня есть и более поздний приём с таким же напоминанием. Его отправляет только самый ранний визит дня.",
|
|
6031
|
+
"telehealthNeedsReminder": "Для приёма по телемедицине нужно хотя бы одно напоминание. Включите напоминание по SMS или по электронной почте.",
|
|
6032
|
+
"signatureCreditsNone": "Кредиты на подпись закончились, поэтому запросы на подпись отправить нельзя.",
|
|
6033
|
+
"signatureCreditsBuy": "Купить кредиты на подпись"
|
|
6025
6034
|
},
|
|
6026
6035
|
"taskEditor": {
|
|
6027
6036
|
"title": "Новая задача",
|
package/dist/locales/sq.json
CHANGED
|
@@ -394,6 +394,7 @@
|
|
|
394
394
|
"ariaLabel": "Skema anatomike",
|
|
395
395
|
"legendLabel": "Legjenda e gjetjeve",
|
|
396
396
|
"viewListLabel": "Pamjet anatomike",
|
|
397
|
+
"deselectHint": "Klikoni përsëri për të hequr zgjedhjen",
|
|
397
398
|
"viewShort": {
|
|
398
399
|
"front": "Ballore",
|
|
399
400
|
"back": "Shpinore",
|
|
@@ -5518,13 +5519,13 @@
|
|
|
5518
5519
|
"practiceSaved": "Cilësimet e studios u ruajtën.",
|
|
5519
5520
|
"practiceNotices": "Njoftime",
|
|
5520
5521
|
"practicePatientNotices": "Njoftime për pacientët",
|
|
5521
|
-
"practicePatientNoticesHint": "
|
|
5522
|
+
"practicePatientNoticesHint": "Kujtesat dhe njoftimi i zhvendosjes janë të shënuara si parazgjedhje kur stafi cakton ose zhvendos një takim, dhe stafi mund t'i ndryshojë çdo herë.",
|
|
5522
5523
|
"practiceReminderSms": "Dërgo një kujtesë me SMS",
|
|
5523
5524
|
"practiceReminderEmail": "Dërgo një kujtesë me email",
|
|
5524
5525
|
"practiceOperatorNotices": "Njoftime për operatorin",
|
|
5525
|
-
"practiceOperatorNoticesHint": "Njofto operatorin kur një
|
|
5526
|
-
"practiceOperatorOnCancel": "Njofto operatorin
|
|
5527
|
-
"practiceOperatorOnChange": "Njofto operatorin
|
|
5526
|
+
"practiceOperatorNoticesHint": "Njofto operatorin kur një takim krijohet, ndryshohet ose anulohet.",
|
|
5527
|
+
"practiceOperatorOnCancel": "Njofto operatorin kur një pacient anulon",
|
|
5528
|
+
"practiceOperatorOnChange": "Njofto operatorin kur një pacient ndryshon",
|
|
5528
5529
|
"practiceWhatsapp": "Mesazhi i parazgjedhur i WhatsApp",
|
|
5529
5530
|
"practiceWhatsappHint": "Teksti me të cilin fillon një mesazh WhatsApp për një pacient. Stafi mund ta ndryshojë përpara se ta dërgojë.",
|
|
5530
5531
|
"practiceWhatsappInsert": "Fut një vendmbajtës",
|
|
@@ -5540,7 +5541,9 @@
|
|
|
5540
5541
|
"icalConfirmBody": "Lidhja aktuale pushon së punuari menjëherë. Kalendarët që e përdorin nuk përditësohen derisa t'u japësh lidhjen e re. Ky veprim nuk mund të zhbëhet.",
|
|
5541
5542
|
"icalRevoked": "U krijua një lidhje e re për {{name}}.",
|
|
5542
5543
|
"icalFailed": "Lidhja nuk mund të revokohej. Lidhja e vjetër ende funksionon.",
|
|
5543
|
-
"practiceMoved": "Njofto pacientin kur një takim zhvendoset"
|
|
5544
|
+
"practiceMoved": "Njofto pacientin kur një takim zhvendoset",
|
|
5545
|
+
"practiceConfirmationSms": "Dërgo një SMS konfirmimi kur krijohet një takim",
|
|
5546
|
+
"practiceOperatorOnUserChange": "Njofto operatorin kur një përdorues i klinikës krijon, ndryshon ose anulon"
|
|
5544
5547
|
},
|
|
5545
5548
|
"filters": {
|
|
5546
5549
|
"chairs": "Filtro karriget",
|
|
@@ -5735,7 +5738,8 @@
|
|
|
5735
5738
|
"seriesOnNth": "{{every}}: {{ordinal}} {{weekday}} e muajit",
|
|
5736
5739
|
"seriesOnLast": "{{every}}, {{weekday}} e fundit e muajit",
|
|
5737
5740
|
"seriesUntil": "{{rule}}, deri më {{date}}",
|
|
5738
|
-
"buyWhatsApp": "Bli WhatsApp"
|
|
5741
|
+
"buyWhatsApp": "Bli WhatsApp",
|
|
5742
|
+
"openPatient": "Hap dosjen e pacientit"
|
|
5739
5743
|
},
|
|
5740
5744
|
"task": {
|
|
5741
5745
|
"region": "Detajet e detyrës",
|
|
@@ -6006,7 +6010,12 @@
|
|
|
6006
6010
|
"deviceBusy": "i zënë",
|
|
6007
6011
|
"deviceNoneFree": "Asnjë pajisje e lirë",
|
|
6008
6012
|
"devicesAllBusy": "Të gjitha pajisjet për {{care}} janë të zëna në këtë orë. Mund ta ruash gjithsesi.",
|
|
6009
|
-
"discardBody": "Keni futur detaje për këtë takim dhe nuk i keni ruajtur. Nëse dilni, do të humbasin."
|
|
6013
|
+
"discardBody": "Keni futur detaje për këtë takim dhe nuk i keni ruajtur. Nëse dilni, do të humbasin.",
|
|
6014
|
+
"sameDayReminderEarlier": "{{channel}}: ky pacient ka sot një takim më të hershëm që e dërgon, ndaj kjo vizitë nuk dërgon asnjë.",
|
|
6015
|
+
"sameDayReminderLater": "{{channel}}: ky pacient ka sot edhe një takim më vonë me të njëjtin kujtues. Vetëm vizita e parë e ditës e dërgon.",
|
|
6016
|
+
"telehealthNeedsReminder": "Një takim i telemjekësisë ka nevojë për të paktën një kujtues. Aktivizo kujtuesin me SMS ose me email.",
|
|
6017
|
+
"signatureCreditsNone": "Nuk ka më kredite nënshkrimi, ndaj kërkesat për nënshkrim nuk mund të dërgohen.",
|
|
6018
|
+
"signatureCreditsBuy": "Bli kredite nënshkrimi"
|
|
6010
6019
|
},
|
|
6011
6020
|
"taskEditor": {
|
|
6012
6021
|
"title": "Detyrë e re",
|
package/dist/locales/sv.json
CHANGED
|
@@ -394,6 +394,7 @@
|
|
|
394
394
|
"ariaLabel": "Anatomisk karta",
|
|
395
395
|
"legendLabel": "Teckenförklaring för fynd",
|
|
396
396
|
"viewListLabel": "Anatomiska vyer",
|
|
397
|
+
"deselectHint": "Klicka igen för att avmarkera",
|
|
397
398
|
"viewShort": {
|
|
398
399
|
"front": "Framifrån",
|
|
399
400
|
"back": "Bakifrån",
|
|
@@ -5518,13 +5519,13 @@
|
|
|
5518
5519
|
"practiceSaved": "Mottagningens inställningar sparades.",
|
|
5519
5520
|
"practiceNotices": "Aviseringar",
|
|
5520
5521
|
"practicePatientNotices": "Patientaviseringar",
|
|
5521
|
-
"practicePatientNoticesHint": "
|
|
5522
|
+
"practicePatientNoticesHint": "Påminnelserna och flyttmeddelandet är förkryssade när personalen bokar eller flyttar en tid, och personalen kan ändra dem varje gång.",
|
|
5522
5523
|
"practiceReminderSms": "Skicka en påminnelse via sms",
|
|
5523
5524
|
"practiceReminderEmail": "Skicka en påminnelse via e-post",
|
|
5524
5525
|
"practiceOperatorNotices": "Aviseringar till behandlaren",
|
|
5525
|
-
"practiceOperatorNoticesHint": "Meddela
|
|
5526
|
-
"practiceOperatorOnCancel": "Meddela
|
|
5527
|
-
"practiceOperatorOnChange": "Meddela
|
|
5526
|
+
"practiceOperatorNoticesHint": "Meddela operatören när en tid skapas, ändras eller avbokas.",
|
|
5527
|
+
"practiceOperatorOnCancel": "Meddela operatören när en patient avbokar",
|
|
5528
|
+
"practiceOperatorOnChange": "Meddela operatören när en patient ändrar",
|
|
5528
5529
|
"practiceWhatsapp": "Standardmeddelande för WhatsApp",
|
|
5529
5530
|
"practiceWhatsappHint": "Texten som inleder ett WhatsApp-meddelande till en patient. Personalen kan redigera den innan den skickas.",
|
|
5530
5531
|
"practiceWhatsappInsert": "Infoga platshållare",
|
|
@@ -5540,7 +5541,9 @@
|
|
|
5540
5541
|
"icalConfirmBody": "Den nuvarande länken slutar fungera direkt. Kalendrar som använder den slutar uppdateras tills du ger dem den nya länken. Det går inte att ångra.",
|
|
5541
5542
|
"icalRevoked": "En ny länk har skapats för {{name}}.",
|
|
5542
5543
|
"icalFailed": "Länken kunde inte återkallas. Den gamla länken fungerar fortfarande.",
|
|
5543
|
-
"practiceMoved": "Meddela patienten när en tid flyttas"
|
|
5544
|
+
"practiceMoved": "Meddela patienten när en tid flyttas",
|
|
5545
|
+
"practiceConfirmationSms": "Skicka ett bekräftelse-sms när en tid skapas",
|
|
5546
|
+
"practiceOperatorOnUserChange": "Meddela operatören när en användare på kliniken skapar, ändrar eller avbokar"
|
|
5544
5547
|
},
|
|
5545
5548
|
"filters": {
|
|
5546
5549
|
"chairs": "Filtrera behandlingsstolar",
|
|
@@ -5735,7 +5738,8 @@
|
|
|
5735
5738
|
"seriesOnNth": "{{every}}, {{weekday}} i månadens {{ordinal}} vecka",
|
|
5736
5739
|
"seriesOnLast": "{{every}}, {{weekday}} i månadens sista vecka",
|
|
5737
5740
|
"seriesUntil": "{{rule}}, till och med {{date}}",
|
|
5738
|
-
"buyWhatsApp": "Köp WhatsApp"
|
|
5741
|
+
"buyWhatsApp": "Köp WhatsApp",
|
|
5742
|
+
"openPatient": "Öppna patientjournalen"
|
|
5739
5743
|
},
|
|
5740
5744
|
"task": {
|
|
5741
5745
|
"region": "Uppgiftsdetaljer",
|
|
@@ -6006,7 +6010,12 @@
|
|
|
6006
6010
|
"deviceBusy": "upptagen",
|
|
6007
6011
|
"deviceNoneFree": "Ingen enhet ledig",
|
|
6008
6012
|
"devicesAllBusy": "Alla enheter för {{care}} är upptagna vid den här tiden. Du kan ändå spara.",
|
|
6009
|
-
"discardBody": "Du har fyllt i uppgifter för den här bokningen och inte sparat dem. Om du lämnar sidan går de förlorade."
|
|
6013
|
+
"discardBody": "Du har fyllt i uppgifter för den här bokningen och inte sparat dem. Om du lämnar sidan går de förlorade.",
|
|
6014
|
+
"sameDayReminderEarlier": "{{channel}}: den här patienten har redan en tidigare tid i dag som skickar en, så det här besöket skickar ingen.",
|
|
6015
|
+
"sameDayReminderLater": "{{channel}}: den här patienten har också en senare tid i dag med samma påminnelse. Bara dagens första besök skickar den.",
|
|
6016
|
+
"telehealthNeedsReminder": "En telehälsotid behöver minst en påminnelse. Slå på sms- eller e-postpåminnelsen.",
|
|
6017
|
+
"signatureCreditsNone": "Inga signaturkrediter kvar, så signaturförfrågningar kan inte skickas.",
|
|
6018
|
+
"signatureCreditsBuy": "Köp signaturkrediter"
|
|
6010
6019
|
},
|
|
6011
6020
|
"taskEditor": {
|
|
6012
6021
|
"title": "Ny uppgift",
|
package/dist/locales/tr.json
CHANGED
|
@@ -394,6 +394,7 @@
|
|
|
394
394
|
"ariaLabel": "Anatomi şeması",
|
|
395
395
|
"legendLabel": "Bulgu açıklaması",
|
|
396
396
|
"viewListLabel": "Anatomi görünümleri",
|
|
397
|
+
"deselectHint": "Seçimi kaldırmak için tekrar tıklayın",
|
|
397
398
|
"viewShort": {
|
|
398
399
|
"front": "Önden",
|
|
399
400
|
"back": "Arkadan",
|
|
@@ -5518,13 +5519,13 @@
|
|
|
5518
5519
|
"practiceSaved": "Muayenehane ayarları kaydedildi.",
|
|
5519
5520
|
"practiceNotices": "Bildirimler",
|
|
5520
5521
|
"practicePatientNotices": "Hasta bildirimleri",
|
|
5521
|
-
"practicePatientNoticesHint": "Personel bir randevu aldığında veya taşıdığında
|
|
5522
|
+
"practicePatientNoticesHint": "Personel bir randevu aldığında veya taşıdığında hatırlatmalar ile taşıma bildirimi işaretli gelir ve personel bunları her seferinde değiştirebilir.",
|
|
5522
5523
|
"practiceReminderSms": "SMS ile hatırlatma gönder",
|
|
5523
5524
|
"practiceReminderEmail": "E-posta ile hatırlatma gönder",
|
|
5524
5525
|
"practiceOperatorNotices": "Operatör bildirimleri",
|
|
5525
|
-
"practiceOperatorNoticesHint": "Bir
|
|
5526
|
-
"practiceOperatorOnCancel": "
|
|
5527
|
-
"practiceOperatorOnChange": "
|
|
5526
|
+
"practiceOperatorNoticesHint": "Bir randevu oluşturulduğunda, değiştirildiğinde veya iptal edildiğinde operatöre bildir.",
|
|
5527
|
+
"practiceOperatorOnCancel": "Hasta iptal ettiğinde operatöre bildir",
|
|
5528
|
+
"practiceOperatorOnChange": "Hasta değiştirdiğinde operatöre bildir",
|
|
5528
5529
|
"practiceWhatsapp": "Varsayılan WhatsApp mesajı",
|
|
5529
5530
|
"practiceWhatsappHint": "Bir hastaya gönderilen WhatsApp mesajını başlatan metin. Personel göndermeden önce düzenleyebilir.",
|
|
5530
5531
|
"practiceWhatsappInsert": "Yer tutucu ekle",
|
|
@@ -5540,7 +5541,9 @@
|
|
|
5540
5541
|
"icalConfirmBody": "Mevcut bağlantı hemen çalışmayı durdurur. Bağlantıyı kullanan takvimler, onlara yeni bağlantıyı verene kadar güncellenmez. Bu işlem geri alınamaz.",
|
|
5541
5542
|
"icalRevoked": "{{name}} için yeni bir bağlantı oluşturuldu.",
|
|
5542
5543
|
"icalFailed": "Bağlantı iptal edilemedi. Eski bağlantı hâlâ çalışıyor.",
|
|
5543
|
-
"practiceMoved": "Randevu taşındığında hastayı bilgilendir"
|
|
5544
|
+
"practiceMoved": "Randevu taşındığında hastayı bilgilendir",
|
|
5545
|
+
"practiceConfirmationSms": "Randevu oluşturulduğunda onay SMS'i gönder",
|
|
5546
|
+
"practiceOperatorOnUserChange": "Kliniğin bir kullanıcısı oluşturduğunda, değiştirdiğinde veya iptal ettiğinde operatöre bildir"
|
|
5544
5547
|
},
|
|
5545
5548
|
"filters": {
|
|
5546
5549
|
"chairs": "Koltukları filtrele",
|
|
@@ -5735,7 +5738,8 @@
|
|
|
5735
5738
|
"seriesOnNth": "{{every}}, ayın {{ordinal}} {{weekday}} günü",
|
|
5736
5739
|
"seriesOnLast": "{{every}}, ayın son {{weekday}} günü",
|
|
5737
5740
|
"seriesUntil": "{{rule}}, {{date}} tarihine kadar",
|
|
5738
|
-
"buyWhatsApp": "WhatsApp satın al"
|
|
5741
|
+
"buyWhatsApp": "WhatsApp satın al",
|
|
5742
|
+
"openPatient": "Hasta dosyasını aç"
|
|
5739
5743
|
},
|
|
5740
5744
|
"task": {
|
|
5741
5745
|
"region": "Görev ayrıntıları",
|
|
@@ -6006,7 +6010,12 @@
|
|
|
6006
6010
|
"deviceBusy": "meşgul",
|
|
6007
6011
|
"deviceNoneFree": "Boş cihaz yok",
|
|
6008
6012
|
"devicesAllBusy": "{{care}} için tüm cihazlar bu saatte meşgul. Yine de kaydedebilirsin.",
|
|
6009
|
-
"discardBody": "Bu randevu için ayrıntılar girdiniz ve kaydetmediniz. Ayrılırsanız kaybolacaklar."
|
|
6013
|
+
"discardBody": "Bu randevu için ayrıntılar girdiniz ve kaydetmediniz. Ayrılırsanız kaybolacaklar.",
|
|
6014
|
+
"sameDayReminderEarlier": "{{channel}}: Bu hastanın bugün bunu gönderen daha erken bir randevusu var, bu nedenle bu ziyaret hiçbir hatırlatma göndermez.",
|
|
6015
|
+
"sameDayReminderLater": "{{channel}}: Bu hastanın bugün aynı hatırlatmaya sahip daha geç bir randevusu da var. Yalnızca günün en erken ziyareti gönderir.",
|
|
6016
|
+
"telehealthNeedsReminder": "Bir telesağlık randevusu için en az bir hatırlatma gerekir. SMS veya e-posta hatırlatmasını aç.",
|
|
6017
|
+
"signatureCreditsNone": "Kalan imza kredisi yok, bu nedenle imza istekleri gönderilemez.",
|
|
6018
|
+
"signatureCreditsBuy": "İmza kredisi satın al"
|
|
6010
6019
|
},
|
|
6011
6020
|
"taskEditor": {
|
|
6012
6021
|
"title": "Yeni görev",
|
package/dist/locales/zh.json
CHANGED
|
@@ -394,6 +394,7 @@
|
|
|
394
394
|
"ariaLabel": "解剖图",
|
|
395
395
|
"legendLabel": "所见图例",
|
|
396
396
|
"viewListLabel": "解剖视图",
|
|
397
|
+
"deselectHint": "再次点击可取消选择",
|
|
397
398
|
"viewShort": {
|
|
398
399
|
"front": "正面",
|
|
399
400
|
"back": "背面",
|
|
@@ -5518,13 +5519,13 @@
|
|
|
5518
5519
|
"practiceSaved": "诊所设置已保存。",
|
|
5519
5520
|
"practiceNotices": "通知",
|
|
5520
5521
|
"practicePatientNotices": "患者通知",
|
|
5521
|
-
"practicePatientNoticesHint": "
|
|
5522
|
+
"practicePatientNoticesHint": "工作人员预约或移动预约时,提醒和移动通知默认已勾选,工作人员每次都可以更改。",
|
|
5522
5523
|
"practiceReminderSms": "发送短信提醒",
|
|
5523
5524
|
"practiceReminderEmail": "发送电子邮件提醒",
|
|
5524
5525
|
"practiceOperatorNotices": "操作员通知",
|
|
5525
|
-
"practiceOperatorNoticesHint": "
|
|
5526
|
-
"practiceOperatorOnCancel": "
|
|
5527
|
-
"practiceOperatorOnChange": "
|
|
5526
|
+
"practiceOperatorNoticesHint": "预约被创建、更改或取消时通知操作员。",
|
|
5527
|
+
"practiceOperatorOnCancel": "患者取消时通知操作员",
|
|
5528
|
+
"practiceOperatorOnChange": "患者更改时通知操作员",
|
|
5528
5529
|
"practiceWhatsapp": "WhatsApp 默认消息",
|
|
5529
5530
|
"practiceWhatsappHint": "发给患者的 WhatsApp 消息的开头文字。员工可在发送前编辑。",
|
|
5530
5531
|
"practiceWhatsappInsert": "插入占位符",
|
|
@@ -5540,7 +5541,9 @@
|
|
|
5540
5541
|
"icalConfirmBody": "当前链接将立即失效。使用该链接的日历将停止更新,直到你提供新链接。此操作无法撤销。",
|
|
5541
5542
|
"icalRevoked": "已为 {{name}} 创建新链接。",
|
|
5542
5543
|
"icalFailed": "无法撤销该链接。旧链接仍然有效。",
|
|
5543
|
-
"practiceMoved": "预约改期时通知患者"
|
|
5544
|
+
"practiceMoved": "预约改期时通知患者",
|
|
5545
|
+
"practiceConfirmationSms": "创建预约时发送确认短信",
|
|
5546
|
+
"practiceOperatorOnUserChange": "诊所用户创建、更改或取消时通知操作员"
|
|
5544
5547
|
},
|
|
5545
5548
|
"filters": {
|
|
5546
5549
|
"chairs": "筛选诊椅",
|
|
@@ -5735,7 +5738,8 @@
|
|
|
5735
5738
|
"seriesOnNth": "{{every}},第{{ordinal}}个{{weekday}}",
|
|
5736
5739
|
"seriesOnLast": "{{every}},最后一个{{weekday}}",
|
|
5737
5740
|
"seriesUntil": "{{rule}},截至{{date}}",
|
|
5738
|
-
"buyWhatsApp": "购买 WhatsApp"
|
|
5741
|
+
"buyWhatsApp": "购买 WhatsApp",
|
|
5742
|
+
"openPatient": "打开患者档案"
|
|
5739
5743
|
},
|
|
5740
5744
|
"task": {
|
|
5741
5745
|
"region": "任务详情",
|
|
@@ -6006,7 +6010,12 @@
|
|
|
6006
6010
|
"deviceBusy": "占用中",
|
|
6007
6011
|
"deviceNoneFree": "没有空闲设备",
|
|
6008
6012
|
"devicesAllBusy": "此时段 {{care}} 的所有设备均被占用。你仍然可以保存。",
|
|
6009
|
-
"discardBody": "您已输入此预约的详细信息,但尚未保存。如果离开,这些信息将会丢失。"
|
|
6013
|
+
"discardBody": "您已输入此预约的详细信息,但尚未保存。如果离开,这些信息将会丢失。",
|
|
6014
|
+
"sameDayReminderEarlier": "{{channel}}:该患者今天已有一个更早的预约会发送提醒,因此本次就诊不会发送。",
|
|
6015
|
+
"sameDayReminderLater": "{{channel}}:该患者今天还有一个更晚的预约同样设置了此提醒。只有当天最早的就诊会发送。",
|
|
6016
|
+
"telehealthNeedsReminder": "远程医疗预约至少需要一个提醒。请开启短信或电子邮件提醒。",
|
|
6017
|
+
"signatureCreditsNone": "签名额度已用完,因此无法发送签名请求。",
|
|
6018
|
+
"signatureCreditsBuy": "购买签名额度"
|
|
6010
6019
|
},
|
|
6011
6020
|
"taskEditor": {
|
|
6012
6021
|
"title": "新建任务",
|
|
@@ -112,6 +112,15 @@ export interface CalendarAppointmentDetailsPanelProps {
|
|
|
112
112
|
* The host opens its own flow (the To complete one). Absent = withheld;
|
|
113
113
|
* `readOnly` withholds it too. */
|
|
114
114
|
onAssignPatient?: () => void;
|
|
115
|
+
/** Open the patient's record: the host's navigation, given the patient
|
|
116
|
+
* the panel shows. Absent = no "Open patient record" button. Never
|
|
117
|
+
* offered with no patient or under `privacy`. Opening a record is a
|
|
118
|
+
* read, so `readOnly` keeps it. */
|
|
119
|
+
onOpenPatient?: (patient: CalendarPatient) => void;
|
|
120
|
+
/** Sign on the practice's device, beside Request signature and only
|
|
121
|
+
* while a document is still to sign. The host opens its own flow.
|
|
122
|
+
* Absent = withheld. Counted as `request-signature`. */
|
|
123
|
+
onSignOnDevice?: () => void;
|
|
115
124
|
onEdit?: () => void;
|
|
116
125
|
/** Arm a Move placement: the next slot click places the appointment. */
|
|
117
126
|
onMove?: () => void;
|
|
@@ -162,5 +171,5 @@ export interface CalendarAppointmentDetailsPanelProps {
|
|
|
162
171
|
/** The appointment details panel of the calendar (P-C2, P-C3): the published
|
|
163
172
|
* AppointmentDetailsPanel, fed from CalendarData and the calendar's read.
|
|
164
173
|
* It docks in the rail, is no dialog and asks no series scope. */
|
|
165
|
-
export declare function CalendarAppointmentDetailsPanel({ details, patientId, notesSeam, onOpenNotes, readOnly, onAssignPatient, onEdit, onMove, onCopy, onDelete, deleteConfirm, onDeleteInitiated, onDocumentCreateClicked, onDetailsActionUsed, onStatusChange, onDescriptionChange, mapsLink, noteUnrecordedEdits, privacy, privacyTitle, locale, }: CalendarAppointmentDetailsPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
174
|
+
export declare function CalendarAppointmentDetailsPanel({ details, patientId, notesSeam, onOpenNotes, readOnly, onAssignPatient, onOpenPatient, onSignOnDevice, onEdit, onMove, onCopy, onDelete, deleteConfirm, onDeleteInitiated, onDocumentCreateClicked, onDetailsActionUsed, onStatusChange, onDescriptionChange, mapsLink, noteUnrecordedEdits, privacy, privacyTitle, locale, }: CalendarAppointmentDetailsPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
166
175
|
//# sourceMappingURL=calendar-appointment-details.d.ts.map
|
|
@@ -123,6 +123,12 @@ export interface CalendarWorkspaceRecurrence {
|
|
|
123
123
|
/** Start value of "Skip closed days" (on when absent); the user can
|
|
124
124
|
* still flip it. */
|
|
125
125
|
skipClosedDaysDefault?: boolean;
|
|
126
|
+
/** The Custom repeat rule: every N days, weeks, months or years, chosen
|
|
127
|
+
* weekdays, the Nth or last weekday. The host receives it as `interval`
|
|
128
|
+
* and `byDay` on the draft's `recurrence`. `false` when the host cannot
|
|
129
|
+
* save those two fields, so the user is never offered "every 2 weeks" and
|
|
130
|
+
* given every week. Defaults to on. */
|
|
131
|
+
custom?: boolean;
|
|
126
132
|
}
|
|
127
133
|
export interface CalendarWorkspaceAnalytics {
|
|
128
134
|
/** A built-in tool panel opened. Not raised again while it stays open,
|
|
@@ -410,6 +416,18 @@ export interface CalendarWorkspaceProps {
|
|
|
410
416
|
* pure: see `EditorPlatformOptions.medicalDevicesForCares`.
|
|
411
417
|
*/
|
|
412
418
|
medicalDevicesForCares?: EditorPlatformOptions['medicalDevicesForCares'];
|
|
419
|
+
/**
|
|
420
|
+
* Same-day reminder seam (rule B8): see
|
|
421
|
+
* `EditorPlatformOptions.sameDayReminders`. Omit it and neither message
|
|
422
|
+
* appears.
|
|
423
|
+
*/
|
|
424
|
+
sameDayReminders?: EditorPlatformOptions['sameDayReminders'];
|
|
425
|
+
/**
|
|
426
|
+
* The practice's signature credits (rule B10): see
|
|
427
|
+
* `EditorPlatformOptions.signatureCredits`. Omit it and the editor shows
|
|
428
|
+
* neither the no-credits message nor any limit on the sign mode.
|
|
429
|
+
*/
|
|
430
|
+
signatureCredits?: EditorPlatformOptions['signatureCredits'];
|
|
413
431
|
/**
|
|
414
432
|
* Create a patient from an online booking that has none (PRD 01). The
|
|
415
433
|
* editor shows "Create patient" in the booking card while no patient is
|
|
@@ -434,6 +452,15 @@ export interface CalendarWorkspaceProps {
|
|
|
434
452
|
* `createPatientFromBooking` keeps its own button and prefill.
|
|
435
453
|
*/
|
|
436
454
|
createPatient?: CalendarCreatePatient;
|
|
455
|
+
/**
|
|
456
|
+
* Propose the first-visit answer on a NEW appointment (PRD 01, B12). The
|
|
457
|
+
* editor asks once a patient is chosen, and again when the date changes,
|
|
458
|
+
* and sets the answer unless the user has already picked one. Resolve
|
|
459
|
+
* `'unknown'` when the host cannot tell; a rejection is ignored. The
|
|
460
|
+
* answer starts on unknown without this seam. An edit shows the saved
|
|
461
|
+
* `EditorPrefill.firstVisit` and never asks.
|
|
462
|
+
*/
|
|
463
|
+
proposeFirstVisit?: EditorPlatformOptions['proposeFirstVisit'];
|
|
437
464
|
/** Where the cog's settings, the view, the days shown and the
|
|
438
465
|
* chair / operator selections are remembered — the host's per-user
|
|
439
466
|
* store. Defaults to the session-scoped in-memory adapter. */
|
|
@@ -309,10 +309,9 @@ export declare function signChannelStates(ref: PatientRef): {
|
|
|
309
309
|
sms: PatientChannelState;
|
|
310
310
|
email: PatientChannelState;
|
|
311
311
|
};
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
|
|
315
|
-
export declare function defaultSignMode(ref: PatientRef): RequiredDocsSignMode;
|
|
312
|
+
/** Sign mode starts on "not now" (rule B10): staff pick SMS or email on
|
|
313
|
+
* purpose, even when the patient could take either. */
|
|
314
|
+
export declare function defaultSignMode(): RequiredDocsSignMode;
|
|
316
315
|
export { patientAddressLabel, patientAddressLine, patientMapsUrl, } from '../../components/_shared/appointment-format';
|
|
317
316
|
/** A CREATE mode armed by a deep link (`createParameters`) or the
|
|
318
317
|
* Backlog's Schedule: the next empty-slot click opens the editor with
|
|
@@ -337,11 +336,11 @@ export interface PlacementRequest {
|
|
|
337
336
|
}
|
|
338
337
|
/** The platform's "Copia & incolla": the same appointment on a new slot
|
|
339
338
|
* with a fresh id — never a series member, treatments only on request.
|
|
339
|
+
* The clicked slot sets the date and time only: the copy keeps the
|
|
340
|
+
* SOURCE chair and operator, whichever column was clicked (rule C5).
|
|
340
341
|
* An all-day source stays all-day on the target date. */
|
|
341
342
|
export declare function copyRowAt(source: CalendarRow, target: {
|
|
342
343
|
start: Date;
|
|
343
|
-
resourceId?: string;
|
|
344
|
-
axisKind: DisplaySettings['resourceKind'];
|
|
345
344
|
}, id: string, withTreatments: boolean): CalendarRow;
|
|
346
345
|
/** Apply an edit saved with "this and following" / "all" to the other
|
|
347
346
|
* occurrences: each keeps its own day shifted by the same delta as the
|
|
@@ -17,7 +17,7 @@ import { APPOINTMENT_STATUS_BADGE_VARIANT } from '../../components/appointment-d
|
|
|
17
17
|
import type { AppointmentRecurrenceFrequency } from '../../components/appointment-details-panel';
|
|
18
18
|
import type { CalendarData } from './calendar.data';
|
|
19
19
|
import type { StatusColours } from './calendar-status-colours';
|
|
20
|
-
import { type CareDescriptionMode, type ColorAssociation, type CalendarBaseEvent, type CalendarBookingContact, type CalendarCareEntry, type CalendarCareLink, type CalendarClosure, type CalendarDayHours, type CalendarHistoryEntry, type CalendarPatient, type CalendarPhoneNumber, type CalendarSignDocument, type CalendarWaitingEntry, type CatalogueState, type PatientRef } from './calendar.types';
|
|
20
|
+
import { type CareDescriptionMode, type ColorAssociation, type CalendarBaseEvent, type CalendarBookingContact, type CalendarCare, type CalendarCareEntry, type CalendarCareLink, type CalendarClosure, type CalendarDayHours, type CalendarHistoryEntry, type CalendarPatient, type CalendarPhoneNumber, type CalendarSignDocument, type CalendarWaitingEntry, type CatalogueState, type PatientRef } from './calendar.types';
|
|
21
21
|
export declare const STATUS_UI_KEY: Record<CalendarEventStatus, string>;
|
|
22
22
|
export interface CalendarRow {
|
|
23
23
|
event: CalendarEvent;
|
|
@@ -168,10 +168,28 @@ export interface CalendarEditorCapabilities {
|
|
|
168
168
|
}
|
|
169
169
|
/** The editor field an arrival lands focus on. */
|
|
170
170
|
export type EditorInitialFocus = 'patient' | 'operator' | 'chair';
|
|
171
|
+
/** "First visit" is yes, no or unknown (rule B12). */
|
|
172
|
+
export type FirstVisitAnswer = 'yes' | 'no' | 'unknown';
|
|
171
173
|
export interface EditorPrefill {
|
|
172
174
|
/** Set = the editor EDITS this existing event; unset = create. */
|
|
173
175
|
editEventId?: string;
|
|
174
176
|
patientId?: string;
|
|
177
|
+
/** The reminder ticks SAVED with the appointment. An edit keeps them
|
|
178
|
+
* (rule B7): a host that leaves one out reads as off in the boxes, and
|
|
179
|
+
* the save then omits that field unless the user changes it, so the
|
|
180
|
+
* host keeps its stored value (B23). A new appointment
|
|
181
|
+
* and an online booking being completed ignore them and take the
|
|
182
|
+
* practice defaults. */
|
|
183
|
+
emailReminder?: boolean;
|
|
184
|
+
smsReminder?: boolean;
|
|
185
|
+
/** The saved first-visit answer; absent reads as unknown, and the save
|
|
186
|
+
* omits `firstVisit` on an edit until the user answers. */
|
|
187
|
+
firstVisit?: FirstVisitAnswer;
|
|
188
|
+
/** An edit only: the appointment is in the waiting list. The editor
|
|
189
|
+
* offers "Add to waiting list" on an edit when this is passed, ticked
|
|
190
|
+
* when true, and unticking sends `addToWaitingList: false`. Leave it out
|
|
191
|
+
* when the host cannot remove the entry: the tick is then withheld. */
|
|
192
|
+
addToWaitingList?: boolean;
|
|
175
193
|
isTelehealth?: boolean;
|
|
176
194
|
date?: Date;
|
|
177
195
|
time?: {
|
|
@@ -292,14 +310,14 @@ export declare function isPracticeClosedDay(dateIso: string, data: Pick<Calendar
|
|
|
292
310
|
* so the series and the calendar never disagree. Chair-only bookings
|
|
293
311
|
* check the practice alone.
|
|
294
312
|
*/
|
|
295
|
-
export declare function isUnbookableDay(date: Date, operatorId: string | undefined, data: CalendarData): boolean;
|
|
313
|
+
export declare function isUnbookableDay(date: Date, operatorId: string | null | undefined, data: CalendarData): boolean;
|
|
296
314
|
/**
|
|
297
315
|
* Expand a rule into the dates that actually get booked. Skipped
|
|
298
316
|
* candidates do NOT consume the count — asking for 4 appointments
|
|
299
317
|
* yields 4 appointments, with the closed days stepped over rather than
|
|
300
318
|
* silently swallowing an occurrence.
|
|
301
319
|
*/
|
|
302
|
-
export declare function expandRecurrence(start: Date, rule: EditorRecurrence, operatorId: string | undefined, data: CalendarData): {
|
|
320
|
+
export declare function expandRecurrence(start: Date, rule: EditorRecurrence, operatorId: string | null | undefined, data: CalendarData): {
|
|
303
321
|
dates: Date[];
|
|
304
322
|
skipped: number;
|
|
305
323
|
};
|
|
@@ -310,6 +328,10 @@ export declare function expandRecurrence(start: Date, rule: EditorRecurrence, op
|
|
|
310
328
|
export interface CalendarSeries {
|
|
311
329
|
id: string;
|
|
312
330
|
frequency: RecurrenceFrequency;
|
|
331
|
+
/** The Custom rule's step and weekdays, as `EditorRecurrence` carries
|
|
332
|
+
* them. Absent for a plain rule. */
|
|
333
|
+
interval?: number;
|
|
334
|
+
byDay?: readonly RecurrenceByDay[];
|
|
313
335
|
/** 1-based position of this occurrence. */
|
|
314
336
|
index: number;
|
|
315
337
|
total: number;
|
|
@@ -323,7 +345,10 @@ export interface CalendarSeries {
|
|
|
323
345
|
}
|
|
324
346
|
export interface EditorDraft {
|
|
325
347
|
editEventId?: string;
|
|
326
|
-
|
|
348
|
+
/** The save carries the whole appointment (rule B23): an empty field is
|
|
349
|
+
* sent as empty, never left out. `null` = no patient (cleared or never
|
|
350
|
+
* chosen); absent only while the patient is locked and cannot change. */
|
|
351
|
+
patientId?: string | null;
|
|
327
352
|
isTelehealth: boolean;
|
|
328
353
|
date: Date;
|
|
329
354
|
time: {
|
|
@@ -331,17 +356,33 @@ export interface EditorDraft {
|
|
|
331
356
|
minutes: number;
|
|
332
357
|
};
|
|
333
358
|
durationMin: number;
|
|
334
|
-
|
|
335
|
-
|
|
359
|
+
/** `null` = None: clear the operator. */
|
|
360
|
+
operatorId?: string | null;
|
|
361
|
+
/** `null` = None: clear the chair. */
|
|
362
|
+
chairId?: string | null;
|
|
336
363
|
colorHex: string;
|
|
364
|
+
/** The description. Always sent when the editor offers it: an emptied one is `''` (rule B23), never left out. */
|
|
337
365
|
care?: string;
|
|
338
366
|
cares?: CalendarCareEntry[];
|
|
339
367
|
careLink?: CalendarCareLink;
|
|
340
368
|
/** The waiting-list entry this save settles (removed from the queue). */
|
|
341
369
|
waitingEntryId?: string;
|
|
370
|
+
/** Always sent: `false` turns all day off. */
|
|
342
371
|
allDay?: boolean;
|
|
343
|
-
/**
|
|
372
|
+
/** The waiting-list tick, on create and on edit. `false` on an edit of
|
|
373
|
+
* an appointment in the list removes its entry. Absent when the editor
|
|
374
|
+
* does not offer the tick. */
|
|
344
375
|
addToWaitingList?: boolean;
|
|
376
|
+
/** The two reminder ticks. Always sent on a create; on an edit sent when
|
|
377
|
+
* the host passed the saved tick in the prefill or the user changed it,
|
|
378
|
+
* otherwise omitted and the stored value stands. `false` also when no
|
|
379
|
+
* patient is chosen or the patient cannot take the channel. */
|
|
380
|
+
emailReminder?: boolean;
|
|
381
|
+
smsReminder?: boolean;
|
|
382
|
+
/** Sent once the editor shows the question (on an edit only when the
|
|
383
|
+
* prefill carried it or the user answered); `unknown` until the user or
|
|
384
|
+
* `proposeFirstVisit` answers. */
|
|
385
|
+
firstVisit?: FirstVisitAnswer;
|
|
345
386
|
/** Edit mode only — the platform changes status from the popover, but
|
|
346
387
|
the rail's details-as-form surface owns it here. */
|
|
347
388
|
status?: CalendarEventStatus;
|
|
@@ -426,9 +467,15 @@ export declare function scheduleByEntryId(rows: ReadonlyArray<{
|
|
|
426
467
|
eventId: string;
|
|
427
468
|
startIso: string;
|
|
428
469
|
}>>;
|
|
470
|
+
/** B22: a care's length for the phases chosen. With the host's
|
|
471
|
+
* `phaseShares` and a phase pick, it is the sum of the picked phases'
|
|
472
|
+
* shares (percent) of `base`; with no shares, no pick, or shares that
|
|
473
|
+
* name none of the picked phases, it is `base` whole. */
|
|
474
|
+
export declare function careLengthForPhases(care: Pick<CalendarCare, 'phaseShares'>, base: number, picked?: readonly string[]): number;
|
|
429
475
|
/** What a link implies for the form (platform `_getAppointmentDuration`,
|
|
430
476
|
* `_getColorIdFromCarePlanEntry` / `_getColorIdFromPriceList`): the
|
|
431
|
-
* summed duration
|
|
477
|
+
* summed duration (each line's phases counted by share, B22), the FIRST
|
|
478
|
+
* line's care colour in plan order, a label. */
|
|
432
479
|
export declare function deriveCareLinkDefaults(link: CalendarCareLink | undefined, data: CalendarData): {
|
|
433
480
|
durationMin?: number;
|
|
434
481
|
colorHex?: string;
|
|
@@ -626,6 +673,8 @@ export declare const SLOT_STEP_MIN = 30;
|
|
|
626
673
|
export declare const FREE_SLOT_MAX_RANGE_DAYS = 185;
|
|
627
674
|
/** The From→To span the finder opens on — the platform's own default. */
|
|
628
675
|
export declare const FREE_SLOT_DEFAULT_HORIZON_DAYS = 30;
|
|
676
|
+
/** The finder's length with no care chosen (the old finder's DEFAULT_DURATION). */
|
|
677
|
+
export declare const FREE_SLOT_DEFAULT_DURATION_MIN = 30;
|
|
629
678
|
/** Whole days between two dates — the finder's range rule. */
|
|
630
679
|
export declare function rangeDays(from: Date, to: Date): number;
|
|
631
680
|
export interface CalendarFreeSlot {
|