@alfadocs/ui-kit 0.94.0 → 0.96.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.
- package/dist/_chunks/{apexcharts-theme-fAQXLIMW.js → apexcharts-theme-B_AxGC_h.js} +25 -20
- package/dist/_chunks/chart-DR68TJD5.js +705 -0
- package/dist/_chunks/{date-range-picker-Cfv4Sr63.js → date-range-picker-pEG3Ln3i.js} +314 -297
- package/dist/_chunks/{link-cell-renderer-_LDZhY4r.js → link-cell-renderer-flfZh2qY.js} +2 -2
- package/dist/_chunks/{patient-table-CFM92QqU.js → patient-table-CvZTIM2R.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-DDnDGVpN.js → radiograph-panel.agent-AsXJBr1p.js} +2 -2
- package/dist/_chunks/signature-request-BzXTV_RH.js +403 -0
- package/dist/_chunks/{sparkline-o6JH4O66.js → sparkline-DcXqRZoq.js} +2 -2
- package/dist/agent-catalog.json +10 -6
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/chart/chart.d.ts +12 -5
- package/dist/components/chart/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +10 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +3 -1
- package/dist/i18n/locales/ar.js +3 -1
- package/dist/i18n/locales/de.d.ts +3 -1
- package/dist/i18n/locales/de.js +3 -1
- package/dist/i18n/locales/el.d.ts +3 -1
- package/dist/i18n/locales/el.js +3 -1
- package/dist/i18n/locales/en.d.ts +3 -1
- package/dist/i18n/locales/en.js +3 -1
- package/dist/i18n/locales/es.d.ts +3 -1
- package/dist/i18n/locales/es.js +3 -1
- package/dist/i18n/locales/fr.d.ts +3 -1
- package/dist/i18n/locales/fr.js +3 -1
- package/dist/i18n/locales/hi.d.ts +3 -1
- package/dist/i18n/locales/hi.js +3 -1
- package/dist/i18n/locales/it.d.ts +3 -1
- package/dist/i18n/locales/it.js +3 -1
- package/dist/i18n/locales/ja.d.ts +3 -1
- package/dist/i18n/locales/ja.js +3 -1
- package/dist/i18n/locales/nl.d.ts +3 -1
- package/dist/i18n/locales/nl.js +3 -1
- package/dist/i18n/locales/pl.d.ts +3 -1
- package/dist/i18n/locales/pl.js +3 -1
- package/dist/i18n/locales/pt.d.ts +3 -1
- package/dist/i18n/locales/pt.js +3 -1
- package/dist/i18n/locales/ro.d.ts +3 -1
- package/dist/i18n/locales/ro.js +3 -1
- package/dist/i18n/locales/ru.d.ts +3 -1
- package/dist/i18n/locales/ru.js +3 -1
- package/dist/i18n/locales/sq.d.ts +3 -1
- package/dist/i18n/locales/sq.js +3 -1
- package/dist/i18n/locales/sv.d.ts +3 -1
- package/dist/i18n/locales/sv.js +3 -1
- package/dist/i18n/locales/tr.d.ts +3 -1
- package/dist/i18n/locales/tr.js +3 -1
- package/dist/i18n/locales/zh.d.ts +3 -1
- package/dist/i18n/locales/zh.js +3 -1
- package/dist/index.js +7 -7
- package/dist/locales/ar.json +3 -1
- package/dist/locales/de.json +3 -1
- package/dist/locales/el.json +3 -1
- package/dist/locales/en.json +3 -1
- package/dist/locales/es.json +3 -1
- package/dist/locales/fr.json +3 -1
- package/dist/locales/hi.json +3 -1
- package/dist/locales/it.json +3 -1
- package/dist/locales/ja.json +3 -1
- package/dist/locales/nl.json +3 -1
- package/dist/locales/pl.json +3 -1
- package/dist/locales/pt.json +3 -1
- package/dist/locales/ro.json +3 -1
- package/dist/locales/ru.json +3 -1
- package/dist/locales/sq.json +3 -1
- package/dist/locales/sv.json +3 -1
- package/dist/locales/tr.json +3 -1
- package/dist/locales/zh.json +3 -1
- package/dist/patterns/signature-request/index.d.ts +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signature-request/signature-request.d.ts +30 -3
- package/dist/tokens/apexcharts-theme.d.ts +19 -33
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/chart-DqxVCm1I.js +0 -664
- package/dist/_chunks/signature-request-D_6jgDZd.js +0 -324
package/dist/locales/ja.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "自分に割り当てる",
|
|
3024
3024
|
"operatorPlaceholder": "オペレーターを選択",
|
|
3025
3025
|
"assignLater": "後で割り当てる",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "オペレーターの署名チャネル",
|
|
3027
|
+
"onDeviceUnavailableHint": "患者側の署名者のうち少なくとも1人がこのデバイスで署名する場合に利用できます。",
|
|
3028
|
+
"operatorChannelReverted": "このデバイスで署名する患者側の署名者がいなくなったため、オペレーターの署名チャネルは「{{channel}}」にリセットされました。",
|
|
3027
3029
|
"signersSection": "患者側の署名者",
|
|
3028
3030
|
"signerPlaceholder": "署名者を選択",
|
|
3029
3031
|
"channelLabel": "署名チャネル",
|
package/dist/locales/nl.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Aan mij toewijzen",
|
|
3024
3024
|
"operatorPlaceholder": "Selecteer een operator",
|
|
3025
3025
|
"assignLater": "Later toewijzen",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Ondertekeningskanaal operator",
|
|
3027
|
+
"onDeviceUnavailableHint": "Beschikbaar wanneer ten minste één ondertekenaar aan patiëntzijde op dit apparaat ondertekent.",
|
|
3028
|
+
"operatorChannelReverted": "De verzending voor de operator is teruggezet naar {{channel}} — er ondertekent geen ondertekenaar aan patiëntzijde op dit apparaat.",
|
|
3027
3029
|
"signersSection": "Ondertekenaars (patiëntzijde)",
|
|
3028
3030
|
"signerPlaceholder": "Selecteer een ondertekenaar",
|
|
3029
3031
|
"channelLabel": "Ondertekeningskanaal",
|
package/dist/locales/pl.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Przypisz do mnie",
|
|
3024
3024
|
"operatorPlaceholder": "Wybierz operatora",
|
|
3025
3025
|
"assignLater": "Przypisz później",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Kanał podpisu operatora",
|
|
3027
|
+
"onDeviceUnavailableHint": "Dostępne, gdy co najmniej jeden podpisujący po stronie pacjenta podpisuje na tym urządzeniu.",
|
|
3028
|
+
"operatorChannelReverted": "Kanał podpisu operatora przywrócono na {{channel}} — żaden podpisujący po stronie pacjenta nie podpisuje na tym urządzeniu.",
|
|
3027
3029
|
"signersSection": "Podpisujący (strona pacjenta)",
|
|
3028
3030
|
"signerPlaceholder": "Wybierz podpisującego",
|
|
3029
3031
|
"channelLabel": "Kanał podpisu",
|
package/dist/locales/pt.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Atribuir a mim",
|
|
3024
3024
|
"operatorPlaceholder": "Selecione um operador",
|
|
3025
3025
|
"assignLater": "Atribuir mais tarde",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Canal de assinatura do operador",
|
|
3027
|
+
"onDeviceUnavailableHint": "Disponível quando pelo menos um assinante do paciente assina neste dispositivo.",
|
|
3028
|
+
"operatorChannelReverted": "O envio ao operador foi reposto para {{channel}} — nenhum assinante do paciente assina neste dispositivo.",
|
|
3027
3029
|
"signersSection": "Assinantes do paciente",
|
|
3028
3030
|
"signerPlaceholder": "Selecione um assinante",
|
|
3029
3031
|
"channelLabel": "Canal de assinatura",
|
package/dist/locales/ro.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Atribuie-mi mie",
|
|
3024
3024
|
"operatorPlaceholder": "Selectează un operator",
|
|
3025
3025
|
"assignLater": "Atribuie mai târziu",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Canal de semnare al operatorului",
|
|
3027
|
+
"onDeviceUnavailableHint": "Disponibil când cel puțin un semnatar pacient semnează pe acest dispozitiv.",
|
|
3028
|
+
"operatorChannelReverted": "Canalul de semnare al operatorului a fost resetat la {{channel}} — niciun semnatar pacient nu semnează pe acest dispozitiv.",
|
|
3027
3029
|
"signersSection": "Semnatari pacient",
|
|
3028
3030
|
"signerPlaceholder": "Selectează un semnatar",
|
|
3029
3031
|
"channelLabel": "Canal de semnare",
|
package/dist/locales/ru.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Назначить мне",
|
|
3024
3024
|
"operatorPlaceholder": "Выберите оператора",
|
|
3025
3025
|
"assignLater": "Назначить позже",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Канал подписи оператора",
|
|
3027
|
+
"onDeviceUnavailableHint": "Доступно, если хотя бы один подписант пациента подписывает на этом устройстве.",
|
|
3028
|
+
"operatorChannelReverted": "Канал подписи оператора сброшен на «{{channel}}» — ни один подписант пациента не подписывает на этом устройстве.",
|
|
3027
3029
|
"signersSection": "Подписанты пациента",
|
|
3028
3030
|
"signerPlaceholder": "Выберите подписанта",
|
|
3029
3031
|
"channelLabel": "Канал подписи",
|
package/dist/locales/sq.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Ma cakto mua",
|
|
3024
3024
|
"operatorPlaceholder": "Zgjidh një operator",
|
|
3025
3025
|
"assignLater": "Cakto më vonë",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Kanali i nënshkrimit të operatorit",
|
|
3027
|
+
"onDeviceUnavailableHint": "I disponueshëm kur të paktën një nënshkrues i pacientit nënshkruan në këtë pajisje.",
|
|
3028
|
+
"operatorChannelReverted": "Dërgimi për operatorin u rikthye në {{channel}} — asnjë nënshkrues i pacientit nuk nënshkruan në këtë pajisje.",
|
|
3027
3029
|
"signersSection": "Nënshkruesit e pacientit",
|
|
3028
3030
|
"signerPlaceholder": "Zgjidh një nënshkrues",
|
|
3029
3031
|
"channelLabel": "Kanali i nënshkrimit",
|
package/dist/locales/sv.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Tilldela mig",
|
|
3024
3024
|
"operatorPlaceholder": "Välj en behandlare",
|
|
3025
3025
|
"assignLater": "Tilldela senare",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Behandlarens signeringskanal",
|
|
3027
|
+
"onDeviceUnavailableHint": "Tillgängligt när minst en undertecknare på patientsidan signerar på den här enheten.",
|
|
3028
|
+
"operatorChannelReverted": "Behandlarens signeringskanal återställdes till {{channel}} – ingen undertecknare på patientsidan signerar på den här enheten.",
|
|
3027
3029
|
"signersSection": "Undertecknare (patientsidan)",
|
|
3028
3030
|
"signerPlaceholder": "Välj en undertecknare",
|
|
3029
3031
|
"channelLabel": "Signeringskanal",
|
package/dist/locales/tr.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "Bana ata",
|
|
3024
3024
|
"operatorPlaceholder": "Bir operatör seçin",
|
|
3025
3025
|
"assignLater": "Daha sonra ata",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "Operatör imza kanalı",
|
|
3027
|
+
"onDeviceUnavailableHint": "En az bir hasta imzalayanı bu cihazda imza attığında kullanılabilir.",
|
|
3028
|
+
"operatorChannelReverted": "Operatörün gönderimi {{channel}} seçeneğine sıfırlandı — bu cihazda imza atan hasta imzalayanı yok.",
|
|
3027
3029
|
"signersSection": "Hasta imzalayanları",
|
|
3028
3030
|
"signerPlaceholder": "Bir imzalayan seçin",
|
|
3029
3031
|
"channelLabel": "İmza kanalı",
|
package/dist/locales/zh.json
CHANGED
|
@@ -3023,7 +3023,9 @@
|
|
|
3023
3023
|
"assignToMe": "分配给我",
|
|
3024
3024
|
"operatorPlaceholder": "选择操作员",
|
|
3025
3025
|
"assignLater": "稍后分配",
|
|
3026
|
-
"
|
|
3026
|
+
"operatorChannelLabel": "操作员签名渠道",
|
|
3027
|
+
"onDeviceUnavailableHint": "当至少有一位患者方签署人在此设备上签名时可用。",
|
|
3028
|
+
"operatorChannelReverted": "由于已无患者方签署人在此设备上签名,操作员签名渠道已恢复为{{channel}}。",
|
|
3027
3029
|
"signersSection": "患者方签署人",
|
|
3028
3030
|
"signerPlaceholder": "选择签署人",
|
|
3029
3031
|
"channelLabel": "签名渠道",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { SignatureRequestModal } from './signature-request';
|
|
2
|
-
export type { SignatureRequestModalProps, SignatureRequestSubmission, SignerRequest, SignerOption, SignatureChannel, } from './signature-request';
|
|
2
|
+
export type { SignatureRequestModalProps, SignatureRequestSubmission, SignerRequest, SignerOption, SignatureChannel, OperatorChannel, } from './signature-request';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SignatureRequestModal — the practice-side "Documenti firmati" modal that
|
|
3
3
|
* dispatches a document-signature request: assign the operator who must
|
|
4
|
-
* counter-sign (or leave the request unassigned)
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* counter-sign (or leave the request unassigned) and how their request is
|
|
5
|
+
* delivered (their system-defined default channel arrives pre-checked),
|
|
6
|
+
* build the patient-side signer roster (up to `maxSigners`, each with their
|
|
7
|
+
* own delivery channel and, for on-device signing, an OTP waiver), and send.
|
|
7
8
|
*
|
|
8
9
|
* Runtime pattern: real consuming apps mount this in production (surfaced via
|
|
9
10
|
* `src/patterns/index.ts` and the `./patterns/signature-request` subpath).
|
|
@@ -16,6 +17,13 @@
|
|
|
16
17
|
import { type ComponentPropsWithoutRef } from 'react';
|
|
17
18
|
/** Delivery channel for one signer's signature request. */
|
|
18
19
|
export type SignatureChannel = 'sms' | 'email' | 'whatsapp' | 'on-device';
|
|
20
|
+
/**
|
|
21
|
+
* Delivery channel for the operator's counter-sign request. The default is
|
|
22
|
+
* system defined — the assigned operator's own `defaultChannel` (e-mail or
|
|
23
|
+
* SMS) arrives pre-checked; `'on-device'` is offerable only while a roster
|
|
24
|
+
* signer also signs on this device.
|
|
25
|
+
*/
|
|
26
|
+
export type OperatorChannel = 'sms' | 'email' | 'on-device';
|
|
19
27
|
/** One selectable person/role for the operator or signer selects. */
|
|
20
28
|
export interface SignerOption {
|
|
21
29
|
value: string;
|
|
@@ -27,6 +35,13 @@ export interface SignerOption {
|
|
|
27
35
|
* and `'whatsapp'`. Only meaningful for signer options, not operators.
|
|
28
36
|
*/
|
|
29
37
|
availableChannels?: SignatureChannel[];
|
|
38
|
+
/**
|
|
39
|
+
* The delivery channel this operator's own settings resolve to — the
|
|
40
|
+
* system-defined default, pre-checked when the operator is assigned.
|
|
41
|
+
* Falls back to `'email'` when omitted. Only meaningful for operator
|
|
42
|
+
* options, not signers.
|
|
43
|
+
*/
|
|
44
|
+
defaultChannel?: 'sms' | 'email';
|
|
30
45
|
}
|
|
31
46
|
/** One patient-side signer row in the submission. */
|
|
32
47
|
export interface SignerRequest {
|
|
@@ -39,6 +54,12 @@ export interface SignerRequest {
|
|
|
39
54
|
export interface SignatureRequestSubmission {
|
|
40
55
|
/** `null` when the counter-signing operator is left unassigned. */
|
|
41
56
|
operatorId: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* How the operator's counter-sign request is delivered. `null` while the
|
|
59
|
+
* operator is unassigned. Defaults to the operator's own system-defined
|
|
60
|
+
* channel unless explicitly changed in the modal.
|
|
61
|
+
*/
|
|
62
|
+
operatorChannel: OperatorChannel | null;
|
|
42
63
|
/** 1..N signers; on-device signers sign sequentially in this order. */
|
|
43
64
|
signers: SignerRequest[];
|
|
44
65
|
}
|
|
@@ -64,6 +85,12 @@ export interface SignatureRequestModalProps {
|
|
|
64
85
|
* while `allowAssignLater` — otherwise the first operator is seeded).
|
|
65
86
|
*/
|
|
66
87
|
initialOperatorId?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Preselected operator delivery channel. Defaults to the seeded operator's
|
|
90
|
+
* system-defined `defaultChannel`. `'on-device'` is honoured only while a
|
|
91
|
+
* seeded roster signer also signs on this device.
|
|
92
|
+
*/
|
|
93
|
+
initialOperatorChannel?: OperatorChannel;
|
|
67
94
|
/** Seed the signer roster. Defaults to the first option, on-device. */
|
|
68
95
|
initialSigners?: SignerRequest[];
|
|
69
96
|
/** Cap on roster size. Default `2`. */
|
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
import type ApexCharts from 'apexcharts';
|
|
2
|
+
/** The theme-bridge output. */
|
|
3
|
+
export type ApexChartsTheme = ApexCharts.ApexOptions;
|
|
2
4
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
6
|
-
* the
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* Compare fill opacity from the `--chart-compare-fill-opacity` token. Drives
|
|
6
|
+
* the per-series `fill.opacity` of a compare bar / area overlay (see
|
|
7
|
+
* `ChartSeries.role` in `src/components/chart/chart.tsx`). Theme-invariant —
|
|
8
|
+
* the token value itself does not shift between themes; the resulting COLOUR
|
|
9
|
+
* retints because it is mixed from the theme-shifting primary and background
|
|
10
|
+
* (see `resolveCompareTint`). Falls back to 0.18 outside a browser.
|
|
9
11
|
*/
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* Decorative faint grey wash for the compare area gradient tint only.
|
|
22
|
-
* Sourced from `--calendar-compare-fill`, which is a `color-mix()` string
|
|
23
|
-
* that `getPropertyValue` returns UNRESOLVED, so it is resolved via a
|
|
24
|
-
* detached probe (see `resolveColour`).
|
|
25
|
-
*/
|
|
26
|
-
wash: string;
|
|
27
|
-
}
|
|
28
|
-
/** The theme-bridge output, plus resolved compare-overlay colours. */
|
|
29
|
-
export interface ApexChartsTheme extends ApexCharts.ApexOptions {
|
|
30
|
-
/**
|
|
31
|
-
* Resolved compare-overlay colours. Read ONLY inside the chart's
|
|
32
|
-
* `hasCompare` branches and never spread into the ApexCharts options object,
|
|
33
|
-
* so a chart with no compare series emits byte-identical options.
|
|
34
|
-
*/
|
|
35
|
-
compare?: ApexCompareColors;
|
|
36
|
-
}
|
|
12
|
+
export declare function getCompareFillOpacity(): number;
|
|
13
|
+
/**
|
|
14
|
+
* Resolve a compare TINT: the paired primary mixed OVER the surface at the
|
|
15
|
+
* compare opacity, so it is an opaque lighter shade of the same hue — used for
|
|
16
|
+
* the legend swatch (and anywhere the tint is needed as a solid colour).
|
|
17
|
+
* `primary` is an already-resolved colour (the k-th primary's colour). Uses the
|
|
18
|
+
* same detached probe the bridge uses for `color-mix`, so it retints per theme
|
|
19
|
+
* with no new observer and no hex literal in component code. Returns `primary`
|
|
20
|
+
* untouched outside a browser.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveCompareTint(primary: string): string;
|
|
37
23
|
export declare function getApexChartsTheme(): ApexChartsTheme;
|
|
38
24
|
//# sourceMappingURL=apexcharts-theme.d.ts.map
|