@alfadocs/ui-kit 1.10.1 → 1.12.4
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/{actions-cell-renderer-xfSYiTXQ.js → actions-cell-renderer-BCEjn3-f.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-d44s_whc.js → anamnesis-summary-rows-BfhxWPO3.js} +1421 -1418
- package/dist/_chunks/appointment-timeline-DCn0Jx55.js +403 -0
- package/dist/_chunks/{balance-badge-cell-C_Qz76x7.js → balance-badge-cell-BrlikHfT.js} +317 -290
- package/dist/_chunks/booking-CBHKdsZl.js +2906 -0
- package/dist/_chunks/{chart-Bkr1Sh4o.js → chart-C6eHTxkO.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CE9OJKcl.js → contact-profile-card-BMIBr5s9.js} +104 -125
- package/dist/_chunks/{control-room-rail-Cj2iX9h_.js → control-room-rail-iO_BCaq1.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-zLf_bXvL.js → editable-currency-cell-renderer-B7TVZ5ZJ.js} +2 -2
- package/dist/_chunks/{face-scheme-BfDi4YkW.js → face-scheme-CZaKm6fG.js} +2 -2
- package/dist/_chunks/{file-manager-Df6hyUYg.js → file-manager-Moc7sUFj.js} +3 -3
- package/dist/_chunks/format-price-DNqXPa_q.js +61 -0
- package/dist/_chunks/{header-settings-CVC_davE.js → header-settings-J-ZCAfir.js} +2 -2
- package/dist/_chunks/{icon-button-group-D6SVMteH.js → icon-button-group-VCCod3Hz.js} +154 -145
- package/dist/_chunks/{link-cell-renderer-Cp2MSlJl.js → link-cell-renderer-CenJx-_7.js} +197 -181
- package/dist/_chunks/{marketplace-app-shell-Chfdia7m.js → marketplace-app-shell-DDQXQ8hX.js} +2 -2
- package/dist/_chunks/{notes-panel-e9cJWVRg.js → notes-panel-CymneXtl.js} +93 -91
- package/dist/_chunks/{practice-results-BEsAdW-B.js → practice-results-D7ygCj_W.js} +333 -291
- package/dist/_chunks/{signature-request-CW30B77U.js → signature-request-DVDTKLjM.js} +2 -2
- package/dist/_chunks/{stepper-accordion-BeVMZPuG.js → stepper-accordion-DmVykr5F.js} +91 -88
- package/dist/_chunks/{theme-toggle-DuMhQNFS.js → theme-toggle-uEwoKjl3.js} +2 -2
- package/dist/_chunks/{tool-rail-CHyUmulN.js → tool-rail-8Scslq3X.js} +2 -2
- package/dist/_chunks/{whatsapp-button-Ca9towA4.js → whatsapp-button-CuFIHJzG.js} +27 -19
- package/dist/agent-catalog.json +12 -5
- package/dist/agent-i18n/en.json +4 -3
- package/dist/components/_shared/format-price.d.ts +21 -0
- package/dist/components/_shared/index.d.ts +1 -0
- package/dist/components/_shared/stepper.d.ts +28 -2
- package/dist/components/appointment-card/appointment-card.d.ts +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +8 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +15 -2
- package/dist/components/booking/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-table/filters/date-range-filter.d.ts +22 -0
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +6 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +18 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +1 -1
- package/dist/components/whatsapp-button/index.js +1 -1
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.js +5 -1
- package/dist/i18n/locales/de.d.ts +5 -1
- package/dist/i18n/locales/de.js +6 -2
- package/dist/i18n/locales/el.d.ts +4 -0
- package/dist/i18n/locales/el.js +5 -1
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/en.js +5 -1
- package/dist/i18n/locales/es.d.ts +5 -1
- package/dist/i18n/locales/es.js +6 -2
- package/dist/i18n/locales/fr.d.ts +5 -1
- package/dist/i18n/locales/fr.js +6 -2
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.js +5 -1
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.js +5 -1
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.js +5 -1
- package/dist/i18n/locales/nl.d.ts +5 -1
- package/dist/i18n/locales/nl.js +6 -2
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.js +5 -1
- package/dist/i18n/locales/pt.d.ts +5 -1
- package/dist/i18n/locales/pt.js +6 -2
- package/dist/i18n/locales/ro.d.ts +4 -0
- package/dist/i18n/locales/ro.js +5 -1
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.js +5 -1
- package/dist/i18n/locales/sq.d.ts +4 -0
- package/dist/i18n/locales/sq.js +5 -1
- package/dist/i18n/locales/sv.d.ts +4 -0
- package/dist/i18n/locales/sv.js +5 -1
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.js +5 -1
- package/dist/i18n/locales/zh.d.ts +4 -0
- package/dist/i18n/locales/zh.js +5 -1
- package/dist/index.js +20 -20
- package/dist/locales/ar.json +5 -1
- package/dist/locales/de.json +6 -2
- package/dist/locales/el.json +5 -1
- package/dist/locales/en.json +5 -1
- package/dist/locales/es.json +6 -2
- package/dist/locales/fr.json +6 -2
- package/dist/locales/hi.json +5 -1
- package/dist/locales/it.json +5 -1
- package/dist/locales/ja.json +5 -1
- package/dist/locales/nl.json +6 -2
- package/dist/locales/pl.json +5 -1
- package/dist/locales/pt.json +6 -2
- package/dist/locales/ro.json +5 -1
- package/dist/locales/ru.json +5 -1
- package/dist/locales/sq.json +5 -1
- package/dist/locales/sv.json +5 -1
- package/dist/locales/tr.json +5 -1
- package/dist/locales/zh.json +5 -1
- package/dist/patterns/anamnesis/anamnesis-config.d.ts +18 -7
- package/dist/patterns/anamnesis/anamnesis-types.d.ts +8 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/appointment-timeline-0mwtpErq.js +0 -388
- package/dist/_chunks/booking-DHkKcUIl.js +0 -2713
- package/dist/_chunks/languages-CGLX6Qpe.js +0 -19
package/dist/locales/sq.json
CHANGED
|
@@ -1416,6 +1416,7 @@
|
|
|
1416
1416
|
"completed": "Kompletuar",
|
|
1417
1417
|
"error": "Gabim",
|
|
1418
1418
|
"edit": "Ndrysho",
|
|
1419
|
+
"open": "Hap",
|
|
1419
1420
|
"locked": "Bllokuar"
|
|
1420
1421
|
},
|
|
1421
1422
|
"stepperCalendar": {
|
|
@@ -1693,6 +1694,8 @@
|
|
|
1693
1694
|
},
|
|
1694
1695
|
"booking": {
|
|
1695
1696
|
"regionLabel": "Rezervo termin",
|
|
1697
|
+
"stepAnnouncement": "Hapi {{current}} nga {{total}}: {{label}}",
|
|
1698
|
+
"filtersLabel": "Zgjedhjet tuaja",
|
|
1696
1699
|
"inlineList": {
|
|
1697
1700
|
"title": "Rezervoni terminin online",
|
|
1698
1701
|
"subtitle": "Kërkoni sipas specialitetit, shërbimit, datës dhe orës"
|
|
@@ -1970,7 +1973,8 @@
|
|
|
1970
1973
|
},
|
|
1971
1974
|
"card": {
|
|
1972
1975
|
"open": "Open",
|
|
1973
|
-
"book": "Book"
|
|
1976
|
+
"book": "Book",
|
|
1977
|
+
"firstVisitPrice": "First visit cost"
|
|
1974
1978
|
},
|
|
1975
1979
|
"sheet": {
|
|
1976
1980
|
"title_one": "{{count}} practice",
|
package/dist/locales/sv.json
CHANGED
|
@@ -1416,6 +1416,7 @@
|
|
|
1416
1416
|
"completed": "Slutfört",
|
|
1417
1417
|
"error": "Fel",
|
|
1418
1418
|
"edit": "Redigera",
|
|
1419
|
+
"open": "Öppna",
|
|
1419
1420
|
"locked": "Låst"
|
|
1420
1421
|
},
|
|
1421
1422
|
"stepperCalendar": {
|
|
@@ -1693,6 +1694,8 @@
|
|
|
1693
1694
|
},
|
|
1694
1695
|
"booking": {
|
|
1695
1696
|
"regionLabel": "Boka tid",
|
|
1697
|
+
"stepAnnouncement": "Steg {{current}} av {{total}}: {{label}}",
|
|
1698
|
+
"filtersLabel": "Dina val",
|
|
1696
1699
|
"inlineList": {
|
|
1697
1700
|
"title": "Boka din tid online",
|
|
1698
1701
|
"subtitle": "Sök efter specialitet, tjänst, datum och tid"
|
|
@@ -1970,7 +1973,8 @@
|
|
|
1970
1973
|
},
|
|
1971
1974
|
"card": {
|
|
1972
1975
|
"open": "Open",
|
|
1973
|
-
"book": "Book"
|
|
1976
|
+
"book": "Book",
|
|
1977
|
+
"firstVisitPrice": "First visit cost"
|
|
1974
1978
|
},
|
|
1975
1979
|
"sheet": {
|
|
1976
1980
|
"title_one": "{{count}} practice",
|
package/dist/locales/tr.json
CHANGED
|
@@ -1416,6 +1416,7 @@
|
|
|
1416
1416
|
"completed": "Tamamlandı",
|
|
1417
1417
|
"error": "Hata",
|
|
1418
1418
|
"edit": "Düzenle",
|
|
1419
|
+
"open": "Aç",
|
|
1419
1420
|
"locked": "Kilitli"
|
|
1420
1421
|
},
|
|
1421
1422
|
"stepperCalendar": {
|
|
@@ -1693,6 +1694,8 @@
|
|
|
1693
1694
|
},
|
|
1694
1695
|
"booking": {
|
|
1695
1696
|
"regionLabel": "Randevu al",
|
|
1697
|
+
"stepAnnouncement": "Adım {{current}} / {{total}}: {{label}}",
|
|
1698
|
+
"filtersLabel": "Seçimleriniz",
|
|
1696
1699
|
"inlineList": {
|
|
1697
1700
|
"title": "Çevrimiçi randevu alın",
|
|
1698
1701
|
"subtitle": "Uzmanlık, hizmet, tarih ve saate göre arayın"
|
|
@@ -1970,7 +1973,8 @@
|
|
|
1970
1973
|
},
|
|
1971
1974
|
"card": {
|
|
1972
1975
|
"open": "Open",
|
|
1973
|
-
"book": "Book"
|
|
1976
|
+
"book": "Book",
|
|
1977
|
+
"firstVisitPrice": "First visit cost"
|
|
1974
1978
|
},
|
|
1975
1979
|
"sheet": {
|
|
1976
1980
|
"title_one": "{{count}} practice",
|
package/dist/locales/zh.json
CHANGED
|
@@ -1416,6 +1416,7 @@
|
|
|
1416
1416
|
"completed": "已完成",
|
|
1417
1417
|
"error": "错误",
|
|
1418
1418
|
"edit": "编辑",
|
|
1419
|
+
"open": "打开",
|
|
1419
1420
|
"locked": "已锁定"
|
|
1420
1421
|
},
|
|
1421
1422
|
"stepperCalendar": {
|
|
@@ -1693,6 +1694,8 @@
|
|
|
1693
1694
|
},
|
|
1694
1695
|
"booking": {
|
|
1695
1696
|
"regionLabel": "预约",
|
|
1697
|
+
"stepAnnouncement": "步骤 {{current}} / {{total}}:{{label}}",
|
|
1698
|
+
"filtersLabel": "您的选择",
|
|
1696
1699
|
"inlineList": {
|
|
1697
1700
|
"title": "在线预约",
|
|
1698
1701
|
"subtitle": "按专科、服务、日期和时间搜索"
|
|
@@ -1970,7 +1973,8 @@
|
|
|
1970
1973
|
},
|
|
1971
1974
|
"card": {
|
|
1972
1975
|
"open": "Open",
|
|
1973
|
-
"book": "Book"
|
|
1976
|
+
"book": "Book",
|
|
1977
|
+
"firstVisitPrice": "First visit cost"
|
|
1974
1978
|
},
|
|
1975
1979
|
"sheet": {
|
|
1976
1980
|
"title_one": "{{count}} practice",
|
|
@@ -4,14 +4,25 @@ import type { IntakeFieldDef, IntakeSectionDef, NumericParameterDef, ParameterGr
|
|
|
4
4
|
export declare const LOCKED_PARAMETER_KEYS: ReadonlySet<string>;
|
|
5
5
|
/** Whether a numeric parameter is locked against archiving / deletion. */
|
|
6
6
|
export declare function isParameterLocked(key: string): boolean;
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
/** Whether a per-patient target can be set for this parameter. Decided by the
|
|
8
|
+
* definition, not by a fixed list: its own `targetable` flag, or `goal` — a
|
|
9
|
+
* goal the practice tracks is targetable by definition. Not every number is
|
|
10
|
+
* one: a height is a fact about the patient, and a blood test carries a
|
|
11
|
+
* population reference range rather than a target. The kit seeds `targetable`
|
|
12
|
+
* on the four figures the nutrition plan is written in — weight, BMI, daily
|
|
13
|
+
* energy, protein — plus waist, which practices have long set a goal for; a
|
|
14
|
+
* host sets it (or `goal`) on any numeric question a practice marks as a
|
|
15
|
+
* goal. */
|
|
16
|
+
export declare function isParameterTargetable(def: NumericParameterDef): boolean;
|
|
17
|
+
/** @deprecated Pass the `NumericParameterDef`. A bare key answers for the
|
|
18
|
+
* kit's seeded catalogue only — it cannot see a practice's own vocabulary, so
|
|
19
|
+
* a parameter the practice added is never targetable through this form. */
|
|
14
20
|
export declare function isParameterTargetable(key: string): boolean;
|
|
21
|
+
/** The kit's seeded targetable parameters — weight, BMI, waist, daily energy,
|
|
22
|
+
* protein. Derived from the catalogue, so it describes the seed and is not the
|
|
23
|
+
* rule: a practice's own vocabulary is answered by `isParameterTargetable`
|
|
24
|
+
* on the definition. */
|
|
25
|
+
export declare const TARGETABLE_PARAMETER_KEYS: ReadonlySet<string>;
|
|
15
26
|
/** A practice's anamnesis vocabulary. Every list is optional: an omitted list
|
|
16
27
|
* falls back to the kit-seeded catalogue, so `undefined` is a fully working
|
|
17
28
|
* configuration and every existing mount keeps rendering unchanged. */
|
|
@@ -184,6 +184,14 @@ export interface NumericParameterDef extends ConfigurableDescriptor {
|
|
|
184
184
|
* current-vs-target status there. Seeded `true` for the plan's four
|
|
185
185
|
* figures; toggleable per practice like `enabled` and `order`. */
|
|
186
186
|
goal?: boolean;
|
|
187
|
+
/** A per-patient target may be set for this parameter — on its tile in the
|
|
188
|
+
* goals strip when `goal` is also true, otherwise from its capture block.
|
|
189
|
+
* Not every number is one: a height is a fact about the patient, and a
|
|
190
|
+
* blood test carries a population reference range rather than a target.
|
|
191
|
+
* The kit seeds it on weight, BMI, waist, daily energy and protein; a host
|
|
192
|
+
* sets it (or `goal`) on any numeric question a practice marks as a goal.
|
|
193
|
+
* A tracked goal is targetable whether or not this is set. */
|
|
194
|
+
targetable?: boolean;
|
|
187
195
|
}
|
|
188
196
|
/** One numeric parameter's value at one visit, stored by key. The reference
|
|
189
197
|
* range + out-of-range flag are derived by joining to the parameter definition,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-
|
|
1
|
+
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-BfhxWPO3.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Anamnesis,
|
|
4
4
|
i as AnamnesisConfigEditor,
|