@alfadocs/ui-kit 1.107.0 → 1.109.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/{map-view-V7etHnyF.js → map-view-Dn7aXZJw.js} +187 -182
- package/dist/_chunks/{practice-results-BXz01sti.js → practice-results-BOpaPaav.js} +2 -2
- package/dist/_chunks/{signature-request-DtLph5Z4.js → signature-request-opW0fQ5P.js} +1032 -1016
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +8 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +2 -0
- package/dist/i18n/locales/ar.js +2 -0
- package/dist/i18n/locales/de.d.ts +2 -0
- package/dist/i18n/locales/de.js +2 -0
- package/dist/i18n/locales/el.d.ts +2 -0
- package/dist/i18n/locales/el.js +2 -0
- package/dist/i18n/locales/en.d.ts +2 -0
- package/dist/i18n/locales/en.js +2 -0
- package/dist/i18n/locales/es.d.ts +2 -0
- package/dist/i18n/locales/es.js +2 -0
- package/dist/i18n/locales/fr.d.ts +2 -0
- package/dist/i18n/locales/fr.js +2 -0
- package/dist/i18n/locales/hi.d.ts +2 -0
- package/dist/i18n/locales/hi.js +2 -0
- package/dist/i18n/locales/it.d.ts +2 -0
- package/dist/i18n/locales/it.js +2 -0
- package/dist/i18n/locales/ja.d.ts +2 -0
- package/dist/i18n/locales/ja.js +2 -0
- package/dist/i18n/locales/nl.d.ts +2 -0
- package/dist/i18n/locales/nl.js +2 -0
- package/dist/i18n/locales/pl.d.ts +2 -0
- package/dist/i18n/locales/pl.js +2 -0
- package/dist/i18n/locales/pt.d.ts +2 -0
- package/dist/i18n/locales/pt.js +2 -0
- package/dist/i18n/locales/ro.d.ts +2 -0
- package/dist/i18n/locales/ro.js +2 -0
- package/dist/i18n/locales/ru.d.ts +2 -0
- package/dist/i18n/locales/ru.js +2 -0
- package/dist/i18n/locales/sq.d.ts +2 -0
- package/dist/i18n/locales/sq.js +2 -0
- package/dist/i18n/locales/sv.d.ts +2 -0
- package/dist/i18n/locales/sv.js +2 -0
- package/dist/i18n/locales/tr.d.ts +2 -0
- package/dist/i18n/locales/tr.js +2 -0
- package/dist/i18n/locales/zh.d.ts +2 -0
- package/dist/i18n/locales/zh.js +2 -0
- package/dist/index.js +3 -3
- package/dist/locales/ar.json +2 -0
- package/dist/locales/de.json +2 -0
- package/dist/locales/el.json +2 -0
- package/dist/locales/en.json +2 -0
- package/dist/locales/es.json +2 -0
- package/dist/locales/fr.json +2 -0
- package/dist/locales/hi.json +2 -0
- package/dist/locales/it.json +2 -0
- package/dist/locales/ja.json +2 -0
- package/dist/locales/nl.json +2 -0
- package/dist/locales/pl.json +2 -0
- package/dist/locales/pt.json +2 -0
- package/dist/locales/ro.json +2 -0
- package/dist/locales/ru.json +2 -0
- package/dist/locales/sq.json +2 -0
- package/dist/locales/sv.json +2 -0
- package/dist/locales/tr.json +2 -0
- package/dist/locales/zh.json +2 -0
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signature-request/required-documents.d.ts +7 -3
- package/dist/patterns/signature-request/signature-request.d.ts +27 -21
- package/package.json +1 -1
|
@@ -339,7 +339,8 @@ export interface SignatureRequestModalProps {
|
|
|
339
339
|
/**
|
|
340
340
|
* Cap on roster size. Default `2`. In required documents mode the roster
|
|
341
341
|
* is the main signer plus at most one second signee, offered only when
|
|
342
|
-
* the second signee rules allow it
|
|
342
|
+
* the second signee rules allow it; `1` means none is on offer, so nothing
|
|
343
|
+
* about a second signee shows.
|
|
343
344
|
*/
|
|
344
345
|
maxSigners?: number;
|
|
345
346
|
/**
|
|
@@ -490,7 +491,9 @@ export interface SignatureRequestModalProps {
|
|
|
490
491
|
requiredItems?: readonly RequiredSignatureItem[];
|
|
491
492
|
/**
|
|
492
493
|
* Shows required documents mode loading (skeleton rows). Also enters the
|
|
493
|
-
* mode while `requiredItems` is still undefined.
|
|
494
|
+
* mode while `requiredItems` is still undefined. The form seeds from the
|
|
495
|
+
* `initial*` props when it ends, as with `loading`, so keep it on until
|
|
496
|
+
* `signerOptions` is in too. Not a request-in-flight state: use `busy`.
|
|
494
497
|
*/
|
|
495
498
|
requiredItemsLoading?: boolean;
|
|
496
499
|
/**
|
|
@@ -529,8 +532,9 @@ export interface SignatureRequestModalProps {
|
|
|
529
532
|
* parent or guardian (see `isMinor`), in either form. Required documents
|
|
530
533
|
* mode also shows it under the Patient signers heading while the patient
|
|
531
534
|
* has no registered signee (no `signerOptions` entry without
|
|
532
|
-
* `isPatient`), unless the warning already carries it
|
|
533
|
-
*
|
|
535
|
+
* `isPatient`), unless the warning already carries it or
|
|
536
|
+
* `secondSigneeSlot` is on: the signer dropdowns then end with "New
|
|
537
|
+
* signatory". Hidden when omitted.
|
|
534
538
|
*/
|
|
535
539
|
onAddSignee?: () => void;
|
|
536
540
|
/**
|
|
@@ -560,26 +564,28 @@ export interface SignatureRequestModalProps {
|
|
|
560
564
|
* (default): "Add signer" adds a roster row, up to `maxSigners`.
|
|
561
565
|
* `'createSignee'`: "Add signatory" calls `onAddSignee`, so the host opens
|
|
562
566
|
* its own create-signee page, as platform's button does. It shows while
|
|
563
|
-
* `onAddSignee` is passed (and `secondSigneeSlot` is not in effect:
|
|
564
|
-
*
|
|
565
|
-
* button
|
|
566
|
-
*
|
|
567
|
-
* signatory", which calls `onAddSignee`.
|
|
567
|
+
* `onAddSignee` is passed (and `secondSigneeSlot` is not in effect: the
|
|
568
|
+
* slot overrides this prop for the heading button), and the minor patient
|
|
569
|
+
* warning then has no button of its own. Every signer dropdown also ends
|
|
570
|
+
* with "New signatory", which calls `onAddSignee`.
|
|
568
571
|
*/
|
|
569
572
|
signerAddAction?: 'addRow' | 'createSignee';
|
|
570
573
|
/**
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
575
|
-
*
|
|
576
|
-
* dropdown ends with "New signatory", which calls `onAddSignee`
|
|
577
|
-
* host's create-signee page). While the patient is the main signer a
|
|
578
|
-
* visible line says why there is no second signee. A new main signer
|
|
579
|
-
* signee, as on platform. A second signee who cannot
|
|
580
|
-
* shows a message under the row and blocks the
|
|
581
|
-
* signer". Pass `maxSigners: 1` when the document
|
|
582
|
-
* signature field
|
|
574
|
+
* With `maxSigners` of 2 or more: platform's secondary signee. While one
|
|
575
|
+
* can be seated (a registered signee is the main signer and another is
|
|
576
|
+
* registered), "Add signer" beside the heading opens a Second signee line
|
|
577
|
+
* offering registered signees only, never the patient; its X takes the
|
|
578
|
+
* line away again. While none can be seated there is no button. Every
|
|
579
|
+
* signer dropdown ends with "New signatory", which calls `onAddSignee`
|
|
580
|
+
* (the host's create-signee page). While the patient is the main signer a
|
|
581
|
+
* visible line says why there is no second signee. A new main signer
|
|
582
|
+
* clears the second signee, as on platform. A second signee who cannot
|
|
583
|
+
* receive the channel shows a message under the row and blocks the
|
|
584
|
+
* request. Replaces "Add signer". Pass `maxSigners: 1` when the document
|
|
585
|
+
* has no second signature field, or the practice has no second signee:
|
|
586
|
+
* then nothing about one shows. Required documents mode adds its second
|
|
587
|
+
* signee rules: every item must carry one and the main signer must sign
|
|
588
|
+
* on this device, and a line says why while either fails. Default `false`.
|
|
583
589
|
*/
|
|
584
590
|
secondSigneeSlot?: boolean;
|
|
585
591
|
/**
|
package/package.json
CHANGED