@alfadocs/ui-kit 1.148.0 → 1.149.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-Cz8F2H4M.js → calendar-appointment-editor-dialog-fQleWmJE.js} +5 -5
- package/dist/_chunks/{calendar-waiting-list-panel-C4T85b4q.js → calendar-waiting-list-panel-BKBHfBpn.js} +2 -2
- package/dist/_chunks/{calendar.sheets-DsgPdycU.js → calendar.sheets-lgAqJB34.js} +2 -2
- package/dist/_chunks/notes-panel-Cw06dLDm.js +1135 -0
- package/dist/_chunks/rich-text-editor-eGdYDPK2.js +4405 -0
- package/dist/_chunks/task-editor-C-4I2sBa.js +1162 -0
- package/dist/_chunks/{tasks-panel-DufAoAxG.js → tasks-panel-BDPQPOP6.js} +475 -461
- package/dist/_chunks/{use-appointment-details-read-kYp-gfhb.js → use-appointment-details-read-Bl1DHXQ2.js} +568 -554
- package/dist/agent-catalog.json +9 -7
- package/dist/agent-i18n/en.json +4 -4
- package/dist/appointment-editor-panel/index.js +1 -1
- package/dist/aws-transcribe/index.js +287 -181
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/save-outcome.d.ts +23 -0
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +12 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +5 -3
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-editor/use-task-editor-form.d.ts +7 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +2 -1
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +2 -1
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +2 -1
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +2 -1
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +2 -1
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +2 -1
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +2 -1
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +2 -1
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +2 -1
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +2 -1
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +2 -1
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +2 -1
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +2 -1
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +2 -1
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +2 -1
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +2 -1
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +2 -1
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +2 -1
- package/dist/index.js +1407 -1403
- package/dist/locales/ar.json +2 -1
- package/dist/locales/de.json +2 -1
- package/dist/locales/el.json +2 -1
- package/dist/locales/en.json +2 -1
- package/dist/locales/es.json +2 -1
- package/dist/locales/fr.json +2 -1
- package/dist/locales/hi.json +2 -1
- package/dist/locales/it.json +2 -1
- package/dist/locales/ja.json +2 -1
- package/dist/locales/nl.json +2 -1
- package/dist/locales/pl.json +2 -1
- package/dist/locales/pt.json +2 -1
- package/dist/locales/ro.json +2 -1
- package/dist/locales/ru.json +2 -1
- package/dist/locales/sq.json +2 -1
- package/dist/locales/sv.json +2 -1
- package/dist/locales/tr.json +2 -1
- package/dist/locales/zh.json +2 -1
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/calendar/index.js +2 -2
- package/dist/save-outcome/index.js +20 -0
- package/dist/speech/aws-transcribe.d.ts +30 -6
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +5 -1
- package/dist/_chunks/notes-panel-BHMnLbEH.js +0 -1116
- package/dist/_chunks/rich-text-editor-BAcJq1PO.js +0 -4359
- package/dist/_chunks/task-editor-B9YpfwcW.js +0 -1095
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.149.1",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -11572,9 +11572,10 @@
|
|
|
11572
11572
|
"errors": [
|
|
11573
11573
|
"The panel offers no pin here: no onTogglePin, no note with this id, a deleted note, or actions.pin is false.",
|
|
11574
11574
|
"A pin or delete for this note is still pending. Read notes again once it has settled.",
|
|
11575
|
-
"The host refused the change. The pin is restored and the panel shows the host's message."
|
|
11575
|
+
"The host refused the change. The pin is restored and the panel shows the host's message.",
|
|
11576
|
+
"The host rejected with SaveOutcomeUnknownError (the save hit its time limit and may still have landed). The pin keeps the value it moved to and the panel shows the kit's neutral message. Read notes again after a reload."
|
|
11576
11577
|
],
|
|
11577
|
-
"description": "Toggle the pinned state of the note with the given id. Returns the host's promise; a refusal restores the pin and the panel shows the host's message. Rejects without reaching the host when the panel refuses: a deleted note, actions.pin false, or a write for the note still pending.",
|
|
11578
|
+
"description": "Toggle the pinned state of the note with the given id. Returns the host's promise; a refusal restores the pin and the panel shows the host's message, except a SaveOutcomeUnknownError, which keeps the new value and shows the kit's neutral message. Rejects without reaching the host when the panel refuses: a deleted note, actions.pin false, or a write for the note still pending.",
|
|
11578
11579
|
"descriptionKey": "ui.agent.notesPanel.actions.togglePin"
|
|
11579
11580
|
},
|
|
11580
11581
|
{
|
|
@@ -11597,9 +11598,10 @@
|
|
|
11597
11598
|
"errors": [
|
|
11598
11599
|
"The panel offers no flag here: no onToggleFlag, no note with this id, a deleted note, or actions.flag is false.",
|
|
11599
11600
|
"A flag or delete for this note is still pending. Read notes again once it has settled.",
|
|
11600
|
-
"The host refused the change. The flag is restored and the panel shows the host's message."
|
|
11601
|
+
"The host refused the change. The flag is restored and the panel shows the host's message.",
|
|
11602
|
+
"The host rejected with SaveOutcomeUnknownError (the save hit its time limit and may still have landed). The flag keeps the value it moved to and the panel shows the kit's neutral message. Read notes again after a reload."
|
|
11601
11603
|
],
|
|
11602
|
-
"description": "Toggle the flagged state of the note with the given id. Returns the host's promise; a refusal restores the flag and the panel shows the host's message. Rejects without reaching the host when the panel refuses: a deleted note, actions.flag false, or a write for the note still pending.",
|
|
11604
|
+
"description": "Toggle the flagged state of the note with the given id. Returns the host's promise; a refusal restores the flag and the panel shows the host's message, except a SaveOutcomeUnknownError, which keeps the new value and shows the kit's neutral message. Rejects without reaching the host when the panel refuses: a deleted note, actions.flag false, or a write for the note still pending.",
|
|
11603
11605
|
"descriptionKey": "ui.agent.notesPanel.actions.toggleFlag"
|
|
11604
11606
|
}
|
|
11605
11607
|
],
|
|
@@ -17925,7 +17927,7 @@
|
|
|
17925
17927
|
{
|
|
17926
17928
|
"name": "draft",
|
|
17927
17929
|
"type": "{ mode: string; dateIso: string | null; about: string; patientId: string | null; companyId: string | null; operatorId: string | null; typeId: string | null; assigneeId: string | null; done: boolean; hasNote: boolean; noteLength: number }",
|
|
17928
|
-
"description": "The draft as Save would send it: ids and structure only, never the note body. done is the last value the host confirmed.",
|
|
17930
|
+
"description": "The draft as Save would send it: ids and structure only, never the note body. done is the last value the host confirmed, or the value the reader chose when a Done save ended with SaveOutcomeUnknownError.",
|
|
17929
17931
|
"descriptionKey": "ui.agent.taskEditor.state.draft"
|
|
17930
17932
|
},
|
|
17931
17933
|
{
|
|
@@ -18016,7 +18018,7 @@
|
|
|
18016
18018
|
"A save, a delete or another Done change is in flight.",
|
|
18017
18019
|
"The task was already saved or deleted in this session."
|
|
18018
18020
|
],
|
|
18019
|
-
"description": "Mark an existing task done or not done through the host. A rejection rolls the switch back.",
|
|
18021
|
+
"description": "Mark an existing task done or not done through the host. A rejection rolls the switch back, except a SaveOutcomeUnknownError (the save hit its time limit), which keeps the chosen value and shows the neutral kit message.",
|
|
18020
18022
|
"descriptionKey": "ui.agent.taskEditor.actions.setDone"
|
|
18021
18023
|
},
|
|
18022
18024
|
{
|
package/dist/agent-i18n/en.json
CHANGED
|
@@ -1078,8 +1078,8 @@
|
|
|
1078
1078
|
},
|
|
1079
1079
|
"actions": {
|
|
1080
1080
|
"addNote": "Compose and commit a new note. A clinical note requires the clinical-note permission (read canAddClinical first).",
|
|
1081
|
-
"togglePin": "Toggle the pinned state of the note with the given id. Returns the host's promise; a refusal restores the pin and the panel shows the host's message. Rejects without reaching the host when the panel refuses: a deleted note, actions.pin false, or a write for the note still pending.",
|
|
1082
|
-
"toggleFlag": "Toggle the flagged state of the note with the given id. Returns the host's promise; a refusal restores the flag and the panel shows the host's message. Rejects without reaching the host when the panel refuses: a deleted note, actions.flag false, or a write for the note still pending."
|
|
1081
|
+
"togglePin": "Toggle the pinned state of the note with the given id. Returns the host's promise; a refusal restores the pin and the panel shows the host's message, except a SaveOutcomeUnknownError, which keeps the new value and shows the kit's neutral message. Rejects without reaching the host when the panel refuses: a deleted note, actions.pin false, or a write for the note still pending.",
|
|
1082
|
+
"toggleFlag": "Toggle the flagged state of the note with the given id. Returns the host's promise; a refusal restores the flag and the panel shows the host's message, except a SaveOutcomeUnknownError, which keeps the new value and shows the kit's neutral message. Rejects without reaching the host when the panel refuses: a deleted note, actions.flag false, or a write for the note still pending."
|
|
1083
1083
|
}
|
|
1084
1084
|
},
|
|
1085
1085
|
"noticeGroup": {
|
|
@@ -1739,13 +1739,13 @@
|
|
|
1739
1739
|
"taskEditor": {
|
|
1740
1740
|
"state": {
|
|
1741
1741
|
"status": "Where the form is: loading the task, ready, failed to load, locked (edit mode with nothing to load) or withheld behind the privacy notice. Writes need 'ready'.",
|
|
1742
|
-
"draft": "The draft as Save would send it: ids and structure only, never the note body. done is the last value the host confirmed.",
|
|
1742
|
+
"draft": "The draft as Save would send it: ids and structure only, never the note body. done is the last value the host confirmed, or the value the reader chose when a Done save ended with SaveOutcomeUnknownError.",
|
|
1743
1743
|
"canSave": "Whether save would reach the host now: the form is ready, the note is filled, a chosen counterpart has an id and no write is pending."
|
|
1744
1744
|
},
|
|
1745
1745
|
"actions": {
|
|
1746
1746
|
"setFields": "Set draft fields. Ids must come from the host lists, a patient the host search returned, or equal the stored one. At most one counterpart per call, and it selects its branch; assigneeId null is nobody. Nothing is saved.",
|
|
1747
1747
|
"save": "Save the task through the host. Resolves once the write lands and rejects with the host error, which the form also shows.",
|
|
1748
|
-
"setDone": "Mark an existing task done or not done through the host. A rejection rolls the switch back.",
|
|
1748
|
+
"setDone": "Mark an existing task done or not done through the host. A rejection rolls the switch back, except a SaveOutcomeUnknownError (the save hit its time limit), which keeps the chosen value and shows the neutral kit message.",
|
|
1749
1749
|
"delete": "Delete the task through the host, without the confirmation dialog. Resolves once the delete lands.",
|
|
1750
1750
|
"cancel": "Close the editor without saving. Anything typed since the last save is lost. Refused while a save or delete is in flight."
|
|
1751
1751
|
}
|
|
@@ -5,7 +5,7 @@ import { I as j } from "../_chunks/icon-button-u9VMQn3x.js";
|
|
|
5
5
|
import { a as F } from "../_chunks/panel-header-CbtlTe85.js";
|
|
6
6
|
import { a as G } from "../_chunks/tooltip-uEBdD1-5.js";
|
|
7
7
|
import { C as N, E as O } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
8
|
-
import { A as W, S as q } from "../_chunks/calendar.sheets-
|
|
8
|
+
import { A as W, S as q } from "../_chunks/calendar.sheets-lgAqJB34.js";
|
|
9
9
|
import { u as z, c as B } from "../_chunks/calendar-editor-discard-host-DWS_kM-a.js";
|
|
10
10
|
import { X as M } from "../_chunks/x-B5YnXwCz.js";
|
|
11
11
|
import { P as R } from "../_chunks/privacy-mask-zVh0ntm0.js";
|