@alfadocs/ui-kit 1.4.11 → 1.4.13
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-BD-jruqA.js +1784 -0
- package/dist/_chunks/{address-fields-pHsfkXGk.js → address-fields-D-8akw2m.js} +2 -2
- package/dist/_chunks/{agenda-card-BCGaQazD.js → agenda-card-BQDs2ZMp.js} +2 -2
- package/dist/_chunks/{agenda-tray-CG6FuccE.js → agenda-tray-BTyWsVwT.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-CpF_rbG9.js → ai-consent-banner-gVcoiXxv.js} +2 -2
- package/dist/_chunks/{anamnesis-card-C4FVp9wO.js → anamnesis-card-Bt0twrML.js} +2 -2
- package/dist/_chunks/anamnesis-summary-card-BKGVcwny.js +350 -0
- package/dist/_chunks/{anamnesis-summary-rows-Dw3l6nOD.js → anamnesis-summary-rows-B5MAYkJ-.js} +2768 -2951
- package/dist/_chunks/{antenatal-schedule-timeline-u8TsS2QJ.js → antenatal-schedule-timeline-BSLrOQ3S.js} +2 -2
- package/dist/_chunks/{appointment-card-DgKI5QKD.js → appointment-card-kcUC7vWR.js} +2 -2
- package/dist/_chunks/{appointment-timeline-CUijZCxZ.js → appointment-timeline-BC3dlZu5.js} +2 -2
- package/dist/_chunks/{appointment-tray-B1aUk46V.js → appointment-tray-BPY5rATW.js} +2 -2
- package/dist/_chunks/{badge-DCOqV9mI.js → badge-CIt-UFEx.js} +28 -28
- package/dist/_chunks/{bishop-score-Bpe20Ctl.js → bishop-score-B6iYYO0c.js} +3 -3
- package/dist/_chunks/{bmi-calculator-DF5bNsDD.js → bmi-calculator-DC5SaqXT.js} +5 -5
- package/dist/_chunks/{booking-DuSkvE5x.js → booking-CmHX15dh.js} +2 -2
- package/dist/_chunks/{care-plan-card-DiyK3Eys.js → care-plan-card-9tLgsDYY.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-6du8PYVk.js → care-plan-entry-card-CSan4h7A.js} +2 -2
- package/dist/_chunks/{care-plan-header-BWvDvly-.js → care-plan-header-D_BTi77b.js} +2 -2
- package/dist/_chunks/{clinical-note-card-D63x_AkK.js → clinical-note-card-ByzQ86uz.js} +2 -2
- package/dist/_chunks/{connection-status-Bi4Hwpd1.js → connection-status-D8mZ4klk.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CGS_NABR.js → contact-profile-card-DuW6VpzY.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Bd4_fJhq.js → cycle-calculator-B_NlctlQ.js} +4 -4
- package/dist/_chunks/{date-time-picker-DafkGDGO.js → date-time-picker-DVETwpzc.js} +2 -2
- package/dist/_chunks/{dependent-selector-DyFpdzZV.js → dependent-selector-BUvrZRi0.js} +2 -2
- package/dist/_chunks/{document-preview-DuMzmupZ.js → document-preview-Di15VrpQ.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Do67C-Z-.js → due-date-calculator-le1z3KpW.js} +6 -6
- package/dist/_chunks/{fetal-weight-DHxXx7Uz.js → fetal-weight-DXA6ZpMq.js} +4 -4
- package/dist/_chunks/{field-value-C5A4t4OE.js → field-value-BCFLVBmu.js} +2 -2
- package/dist/_chunks/{file-manager-BY6FdHAt.js → file-manager-BjCM2fZB.js} +3 -3
- package/dist/_chunks/form-field-D1oqYisL.js +127 -0
- package/dist/_chunks/{gestational-age-calculator-CMhOtFE_.js → gestational-age-calculator-Ch8vmJAl.js} +5 -5
- package/dist/_chunks/{hcg-doubling-DNG9Q2go.js → hcg-doubling-BT6lki_i.js} +5 -5
- package/dist/_chunks/{link-cell-renderer-C8npOgmM.js → link-cell-renderer-C7GvyK66.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-BxOiy25s.js → marketplace-app-shell-BhRH7Zi4.js} +2 -2
- package/dist/_chunks/{notes-panel-BoyzMHI_.js → notes-panel-Bz83SO4-.js} +2 -2
- package/dist/_chunks/number-input-CM1q9zvH.js +414 -0
- package/dist/_chunks/{operator-hero-DVy0RGoD.js → operator-hero-CpJkDNAM.js} +2 -2
- package/dist/_chunks/{optical-prescription-Brs0CeP3.js → optical-prescription-CQR_WJiS.js} +2 -2
- package/dist/_chunks/{patient-details-Bf4iTAPp.js → patient-details-CnFgF3MU.js} +3 -3
- package/dist/_chunks/{patient-summary-card-dkV6a53T.js → patient-summary-card-DfbOtOV6.js} +3 -3
- package/dist/_chunks/{patient-table-zifAcsjV.js → patient-table-BXzcrC79.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-CZZPGfs0.js → payment-automation-upsell-Ckh3b7Xx.js} +2 -2
- package/dist/_chunks/{payment-request-card-Dy7_DA-2.js → payment-request-card-Dn6-tH-D.js} +2 -2
- package/dist/_chunks/{periodontal-chart-CfFgKXWa.js → periodontal-chart-B0yko9Xm.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card--6yTUsrQ.js → periodontal-chart-card-HbYTmWlo.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-cco40xTa.js → periodontal-diagnosis-Qk4F3Wc_.js} +3 -3
- package/dist/_chunks/{periodontal-risk-chart-bUGkMwDg.js → periodontal-risk-chart-ByKuM4cF.js} +2 -2
- package/dist/_chunks/{practice-results-Mys11x9p.js → practice-results-C5exrEn0.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-t3oM4ZzC.js → pregnancy-dating-4tPV_Yko.js} +6 -6
- package/dist/_chunks/{pregnancy-weight-gain-Bfz7SbIw.js → pregnancy-weight-gain-BBgbWBGe.js} +5 -5
- package/dist/_chunks/radio-group-BmIqhIT2.js +171 -0
- package/dist/_chunks/{radiograph-panel.agent-DyA4wsZA.js → radiograph-panel.agent-Drj0hYVV.js} +3 -3
- package/dist/_chunks/signature-status-chip-DlLJk1VA.js +97 -0
- package/dist/_chunks/{tab-bar-BYESZINM.js → tab-bar-Ddp_ZbnL.js} +2 -2
- package/dist/_chunks/{tasks-panel-CoESdfZI.js → tasks-panel-T7vaKJcA.js} +2 -2
- package/dist/_chunks/{time-picker-BPlJWm8w.js → time-picker-D0RS391l.js} +66 -63
- package/dist/_chunks/{unit-converter-lUW9Q888.js → unit-converter-Dsk__pjA.js} +3 -3
- package/dist/_chunks/{widget-picker-DEmTVuFL.js → widget-picker-DqMbjQy_.js} +2 -2
- package/dist/_chunks/{workflow-map-C5PGP6cD.js → workflow-map-BNBeG2zn.js} +2 -2
- package/dist/agent-catalog.json +34 -34
- package/dist/agent-i18n/en.json +4 -4
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/badge/badge.d.ts +1 -0
- package/dist/components/badge/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +19 -0
- package/dist/components/data-table/expanded-row-renderer.d.ts +47 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/index.js +31 -27
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/form-field/form-field.d.ts +6 -0
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.d.ts +11 -0
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.d.ts +3 -0
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/signature-status-chip/index.d.ts +3 -0
- package/dist/components/signature-status-chip/index.js +6 -0
- package/dist/components/signature-status-chip/signature-status-chip.d.ts +29 -0
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +17 -0
- package/dist/i18n/locales/ar.js +11 -0
- package/dist/i18n/locales/de.d.ts +17 -0
- package/dist/i18n/locales/de.js +11 -0
- package/dist/i18n/locales/el.d.ts +17 -0
- package/dist/i18n/locales/el.js +11 -0
- package/dist/i18n/locales/en.d.ts +17 -0
- package/dist/i18n/locales/en.js +11 -0
- package/dist/i18n/locales/es.d.ts +17 -0
- package/dist/i18n/locales/es.js +11 -0
- package/dist/i18n/locales/fr.d.ts +17 -0
- package/dist/i18n/locales/fr.js +11 -0
- package/dist/i18n/locales/hi.d.ts +17 -0
- package/dist/i18n/locales/hi.js +11 -0
- package/dist/i18n/locales/it.d.ts +17 -0
- package/dist/i18n/locales/it.js +11 -0
- package/dist/i18n/locales/ja.d.ts +17 -0
- package/dist/i18n/locales/ja.js +11 -0
- package/dist/i18n/locales/nl.d.ts +17 -0
- package/dist/i18n/locales/nl.js +11 -0
- package/dist/i18n/locales/pl.d.ts +17 -0
- package/dist/i18n/locales/pl.js +11 -0
- package/dist/i18n/locales/pt.d.ts +17 -0
- package/dist/i18n/locales/pt.js +11 -0
- package/dist/i18n/locales/ro.d.ts +17 -0
- package/dist/i18n/locales/ro.js +11 -0
- package/dist/i18n/locales/ru.d.ts +17 -0
- package/dist/i18n/locales/ru.js +11 -0
- package/dist/i18n/locales/sq.d.ts +17 -0
- package/dist/i18n/locales/sq.js +11 -0
- package/dist/i18n/locales/sv.d.ts +17 -0
- package/dist/i18n/locales/sv.js +11 -0
- package/dist/i18n/locales/tr.d.ts +17 -0
- package/dist/i18n/locales/tr.js +11 -0
- package/dist/i18n/locales/zh.d.ts +17 -0
- package/dist/i18n/locales/zh.js +11 -0
- package/dist/index.js +799 -792
- package/dist/locales/ar.json +17 -0
- package/dist/locales/de.json +17 -0
- package/dist/locales/el.json +17 -0
- package/dist/locales/en.json +17 -0
- package/dist/locales/es.json +17 -0
- package/dist/locales/fr.json +17 -0
- package/dist/locales/hi.json +17 -0
- package/dist/locales/it.json +17 -0
- package/dist/locales/ja.json +17 -0
- package/dist/locales/nl.json +17 -0
- package/dist/locales/pl.json +17 -0
- package/dist/locales/pt.json +17 -0
- package/dist/locales/ro.json +17 -0
- package/dist/locales/ru.json +17 -0
- package/dist/locales/sq.json +17 -0
- package/dist/locales/sv.json +17 -0
- package/dist/locales/tr.json +17 -0
- package/dist/locales/zh.json +17 -0
- package/dist/patterns/anamnesis/anamnesis-baseline.d.ts +6 -0
- package/dist/patterns/anamnesis/anamnesis-compile.d.ts +4 -1
- package/dist/patterns/anamnesis/anamnesis-evolution-grid.d.ts +8 -9
- package/dist/patterns/anamnesis/anamnesis-evolution.d.ts +24 -12
- package/dist/patterns/anamnesis/anamnesis-intake.d.ts +5 -1
- package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +4 -1
- package/dist/patterns/anamnesis/anamnesis-readonly.d.ts +4 -1
- package/dist/patterns/anamnesis/anamnesis-source-blocks.d.ts +29 -0
- package/dist/patterns/anamnesis/anamnesis-window.d.ts +3 -5
- package/dist/patterns/anamnesis/anamnesis.d.ts +4 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/tokens.css +5 -2
- package/package.json +5 -1
- package/dist/_chunks/actions-cell-renderer-C67oj7mR.js +0 -1581
- package/dist/_chunks/anamnesis-summary-card-CpQViN5l.js +0 -392
- package/dist/_chunks/form-field-M5UpX65Z.js +0 -123
- package/dist/_chunks/number-input-DOe5VYei.js +0 -370
- package/dist/_chunks/radio-group-CI-6SmSw.js +0 -167
- package/dist/patterns/anamnesis/anamnesis-compare-panel.d.ts +0 -89
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-
|
|
1
|
+
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-DuW6VpzY.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|
|
@@ -28,6 +28,8 @@ export interface DataTableHandle<TData = unknown> {
|
|
|
28
28
|
setSort: (model: DataTableSortEntry[]) => void;
|
|
29
29
|
getCurrentPage: () => number;
|
|
30
30
|
goToPage: (page: number) => void;
|
|
31
|
+
/** Id of the row whose detail is open (`expandedRowId`), or `null`. */
|
|
32
|
+
getExpandedRowId: () => string | null;
|
|
31
33
|
getRawApi: () => GridApi<TData> | undefined;
|
|
32
34
|
}
|
|
33
35
|
export interface DataTableProps<TData = unknown> extends Omit<VariantProps<typeof dataTableVariants>, 'density'> {
|
|
@@ -63,6 +65,23 @@ export interface DataTableProps<TData = unknown> extends Omit<VariantProps<typeo
|
|
|
63
65
|
pinnedBottomRowData?: TData[];
|
|
64
66
|
/** Print-optimised mode — hides toolbar, disables pagination, renders every row. */
|
|
65
67
|
printMode?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Controlled: the id (per `gridOptions.getRowId`) of the ONE row whose
|
|
70
|
+
* detail is open. Requires `gridOptions.getRowId`. Not supported together
|
|
71
|
+
* with `rowSelection="multiple"` in v1.
|
|
72
|
+
*/
|
|
73
|
+
expandedRowId?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Rendered as a full-width row directly beneath the expanded row. Must
|
|
76
|
+
* derive everything from the row — the grid may unmount it when scrolled
|
|
77
|
+
* out of view, so the content has to be stateless.
|
|
78
|
+
*/
|
|
79
|
+
renderExpandedRow?: (row: TData) => ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* The detail asked to close (Escape inside it, or the consumer's own close
|
|
82
|
+
* control). The consumer owns the state and the focus return.
|
|
83
|
+
*/
|
|
84
|
+
onExpandedRowChange?: (id: string | null) => void;
|
|
66
85
|
/** Composable toolbar — renders `<DataTable.Toolbar>…</DataTable.Toolbar>` above the grid. */
|
|
67
86
|
children?: ReactNode;
|
|
68
87
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from 'react';
|
|
2
|
+
import type { CustomCellRendererProps } from 'ag-grid-react';
|
|
3
|
+
/** Private marker written onto the synthetic detail node's data. */
|
|
4
|
+
export declare const EXPANDED_ROW_MARKER = "__dsDetailOf";
|
|
5
|
+
/** Row class stamped on the synthetic detail row (styled in ag-grid-theme.css). */
|
|
6
|
+
export declare const EXPANDED_ROW_CLASS = "ds-data-table-expanded-row";
|
|
7
|
+
export type ExpandedRowDetail<TData> = TData & {
|
|
8
|
+
[EXPANDED_ROW_MARKER]: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* True when `data` is the synthetic detail node DataTable interleaves
|
|
12
|
+
* beneath the expanded row. Custom export / iteration code that walks
|
|
13
|
+
* `api.forEachNode*` should skip these.
|
|
14
|
+
*/
|
|
15
|
+
export declare function isExpandedRowDetail<TData>(data: TData | null | undefined): data is ExpandedRowDetail<TData>;
|
|
16
|
+
/** Row id AG Grid sees for the detail node beneath `parentId`. */
|
|
17
|
+
export declare function expandedRowDetailId(parentId: string): string;
|
|
18
|
+
/**
|
|
19
|
+
* True when a `row-id` read off the DOM belongs to the synthetic detail
|
|
20
|
+
* row rather than a record. The DOM-side twin of `isExpandedRowDetail`.
|
|
21
|
+
*/
|
|
22
|
+
export declare function isExpandedRowDetailId(rowId: string): boolean;
|
|
23
|
+
/** Build the synthetic node: the parent's values plus the marker. */
|
|
24
|
+
export declare function seedExpandedRowDetail<TData>(parent: TData, parentId: string): ExpandedRowDetail<TData>;
|
|
25
|
+
export interface ExpandedRowContextValue<TData = unknown> {
|
|
26
|
+
renderExpandedRow: ((row: TData) => ReactNode) | undefined;
|
|
27
|
+
onExpandedRowChange: ((id: string | null) => void) | undefined;
|
|
28
|
+
/** The one open row — the renderer hands its original object to `renderExpandedRow`. */
|
|
29
|
+
expanded: {
|
|
30
|
+
id: string;
|
|
31
|
+
row: TData;
|
|
32
|
+
} | null;
|
|
33
|
+
/** Measured detail heights by detail row id; served back through `getRowHeight`. */
|
|
34
|
+
heights: Map<string, number>;
|
|
35
|
+
/** Consumer's own full-width renderer, honoured for non-detail full-width rows. */
|
|
36
|
+
fallbackRenderer: ComponentType<CustomCellRendererProps<TData>> | undefined;
|
|
37
|
+
}
|
|
38
|
+
export declare const ExpandedRowContext: import("react").Context<ExpandedRowContextValue<unknown> | null>;
|
|
39
|
+
/**
|
|
40
|
+
* `fullWidthCellRenderer` for the synthetic detail node. Measures its own
|
|
41
|
+
* content (Community has no auto-height for full-width rows) and pushes
|
|
42
|
+
* the height into the node. Escape — on the grid-focused row or anywhere
|
|
43
|
+
* inside the surface — asks the consumer to close; Enter on the row moves
|
|
44
|
+
* focus into the content.
|
|
45
|
+
*/
|
|
46
|
+
export declare function ExpandedRowRenderer<TData = unknown>(props: CustomCellRendererProps<TData>): import("react/jsx-runtime").JSX.Element | null;
|
|
47
|
+
//# sourceMappingURL=expanded-row-renderer.d.ts.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { DataTable } from './data-table';
|
|
2
2
|
export type { DataTableProps, DataTableHandle, DataTableSortEntry, } from './data-table';
|
|
3
3
|
export { dataTableAgent } from './data-table.agent';
|
|
4
|
+
export { isExpandedRowDetail, isExpandedRowDetailId, expandedRowDetailId, EXPANDED_ROW_CLASS, } from './expanded-row-renderer';
|
|
5
|
+
export type { ExpandedRowDetail } from './expanded-row-renderer';
|
|
4
6
|
export { Toolbar, ToolbarProvider, defaultExportPdf } from './toolbar';
|
|
5
7
|
export type { ToolbarProviderProps, ToolbarRootProps, ExportCsvProps, ExportPdfProps, PrintProps, ColumnToggleProps, BulkActionProps, QuickSearchProps, RefreshButtonProps, FacetFilterOption, FacetFilterProps, ExportFormat, ExportMenuProps, ExportMenuItemProps, } from './toolbar';
|
|
6
8
|
export { useTotalRow } from './hooks/use-total-row';
|
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
import { A as r, D as l,
|
|
2
|
-
import { B as
|
|
3
|
-
import { C as
|
|
1
|
+
import { A as r, D as l, E as t, T as s, a as d, b as n, c as o, d as i, e as R, f as C, g as T, i as F, h as g } from "../../_chunks/actions-cell-renderer-BD-jruqA.js";
|
|
2
|
+
import { B as b, C as u, E as x, a as c, R as p, T as E, b as m, r as f, u as h } from "../../_chunks/editable-currency-cell-renderer-DyMbSyDK.js";
|
|
3
|
+
import { C as A, D as w, a as y, b as I, I as L, L as N, N as P, c as W, S as B, d as U, e as _, T as k, f as v, g as O, U as X } from "../../_chunks/link-cell-renderer-C7GvyK66.js";
|
|
4
4
|
export {
|
|
5
5
|
r as ActionsCellRenderer,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
b as BalanceCellRenderer,
|
|
7
|
+
u as ColorDotCellRenderer,
|
|
8
|
+
A as CurrencyCellRenderer,
|
|
9
9
|
l as DataTable,
|
|
10
|
-
|
|
10
|
+
w as DateCellRenderer,
|
|
11
11
|
y as DateRangeFilter,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
I as DateRangeFloatingFilter,
|
|
13
|
+
t as EXPANDED_ROW_CLASS,
|
|
14
|
+
x as EditableCurrencyCellRenderer,
|
|
15
|
+
c as EditableTextCellRenderer,
|
|
16
|
+
L as ImageCellRenderer,
|
|
17
|
+
N as LinkCellRenderer,
|
|
18
|
+
P as NumberFilter,
|
|
19
|
+
W as NumberFloatingFilter,
|
|
20
|
+
p as ReorderCellRenderer,
|
|
20
21
|
B as SelectFilter,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
U as SelectFloatingFilter,
|
|
23
|
+
_ as StatusCellRenderer,
|
|
24
|
+
k as TagListCellRenderer,
|
|
25
|
+
s as TextFilter,
|
|
26
|
+
d as TextFloatingFilter,
|
|
27
|
+
E as ToggleCellRenderer,
|
|
27
28
|
n as Toolbar,
|
|
28
29
|
o as ToolbarProvider,
|
|
29
30
|
m as ToothCellRenderer,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
v as TypeaheadFilter,
|
|
32
|
+
O as TypeaheadFloatingFilter,
|
|
33
|
+
X as UserCellRenderer,
|
|
34
|
+
i as actionsColumnWidth,
|
|
35
|
+
R as dataTableAgent,
|
|
35
36
|
C as defaultExportPdf,
|
|
37
|
+
T as expandedRowDetailId,
|
|
38
|
+
F as isExpandedRowDetail,
|
|
39
|
+
g as isExpandedRowDetailId,
|
|
36
40
|
f as reorderColumnWidth,
|
|
37
|
-
|
|
41
|
+
h as useTotalRow
|
|
38
42
|
};
|
|
39
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e } from "../../_chunks/due-date-calculator-
|
|
2
|
-
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-
|
|
1
|
+
import { D as e } from "../../_chunks/due-date-calculator-le1z3KpW.js";
|
|
2
|
+
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-BSLrOQ3S.js";
|
|
3
3
|
export {
|
|
4
4
|
r as CRL_DATING_MAX_MM,
|
|
5
5
|
o as CRL_DATING_MIN_MM,
|
|
@@ -13,6 +13,12 @@ type RequiredIndicator = {
|
|
|
13
13
|
};
|
|
14
14
|
interface BaseFormFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'>, Omit<VariantProps<typeof fieldVariants>, 'disabled'> {
|
|
15
15
|
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* Rendered at the inline end of the label line — a status chip or a
|
|
18
|
+
* marker, never a control. Part of the label, so its text joins the
|
|
19
|
+
* field's accessible name ("Allergies, Highlighted").
|
|
20
|
+
*/
|
|
21
|
+
labelEnd?: React.ReactNode;
|
|
16
22
|
description?: string;
|
|
17
23
|
error?: string;
|
|
18
24
|
disabled?: boolean;
|
|
@@ -191,6 +191,7 @@ export * from './rich-text-editor';
|
|
|
191
191
|
export * from './editor-overlay';
|
|
192
192
|
export * from './signature-capture';
|
|
193
193
|
export * from './signature-field';
|
|
194
|
+
export * from './signature-status-chip';
|
|
194
195
|
export * from './sign-document';
|
|
195
196
|
export * from './slot-grid';
|
|
196
197
|
export * from './face-scheme';
|
|
@@ -11,6 +11,7 @@ export interface NumberInputHandle {
|
|
|
11
11
|
declare const numberInputVariants: (props?: ({
|
|
12
12
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
13
13
|
tone?: "default" | "error" | null | undefined;
|
|
14
|
+
inline?: "full" | "sm" | "md" | "lg" | null | undefined;
|
|
14
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
16
|
export type { NumberInputMode };
|
|
16
17
|
export interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'value' | 'defaultValue' | 'size'>, VariantProps<typeof numberInputVariants> {
|
|
@@ -35,6 +36,16 @@ export interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElem
|
|
|
35
36
|
locale?: string;
|
|
36
37
|
/** Size variant. */
|
|
37
38
|
size?: 'sm' | 'md' | 'lg';
|
|
39
|
+
/** 'stepper' (default) keeps the chevron buttons; 'plain' renders the bare
|
|
40
|
+
* field — keyboard arrows still step, and the wheel scrolls the page as it
|
|
41
|
+
* always has. */
|
|
42
|
+
variant?: 'stepper' | 'plain';
|
|
43
|
+
/** Unit shown inside the field at the inline end (e.g. "cm"), muted; joins
|
|
44
|
+
* the input's accessible description, never its value. */
|
|
45
|
+
unit?: string;
|
|
46
|
+
/** Intrinsic inline size: 'full' (default) fills the container; 'sm' ≈ 8
|
|
47
|
+
* characters, 'md' ≈ 12, 'lg' ≈ 16 — plus room for the unit and paddings. */
|
|
48
|
+
inline?: 'sm' | 'md' | 'lg' | 'full';
|
|
38
49
|
/** Additional class names on the wrapper. */
|
|
39
50
|
className?: string;
|
|
40
51
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-
|
|
1
|
+
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-CQR_WJiS.js";
|
|
2
2
|
export {
|
|
3
3
|
S as ADD_MAX,
|
|
4
4
|
r as ADD_MIN,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-
|
|
1
|
+
import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-BXzcrC79.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as t, M as s, P as e, a as i, b as E, c as r, d as P, S as _, e as n, f as A, g as d, h as l, p as T, i as p, j as C, k as L, s as N, t as O, l as R } from "../../_chunks/periodontal-chart-
|
|
1
|
+
import { B as t, M as s, P as e, a as i, b as E, c as r, d as P, S as _, e as n, f as A, g as d, h as l, p as T, i as p, j as C, k as L, s as N, t as O, l as R } from "../../_chunks/periodontal-chart-B0yko9Xm.js";
|
|
2
2
|
export {
|
|
3
3
|
t as BLEEDING_WARN_PERCENT,
|
|
4
4
|
s as MODERATE_POCKET_MM,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-
|
|
1
|
+
import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-Qk4F3Wc_.js";
|
|
2
2
|
export {
|
|
3
3
|
i as DEFAULT_DIAGNOSIS_FACTORS,
|
|
4
4
|
S as PERIODONTITIS_EXTENTS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as o, a as s, c as i, p as t, r as e } from "../../_chunks/periodontal-risk-chart-
|
|
1
|
+
import { P as o, a as s, c as i, p as t, r as e } from "../../_chunks/periodontal-risk-chart-ByKuM4cF.js";
|
|
2
2
|
export {
|
|
3
3
|
o as PERIODONTAL_RISK_FACTORS,
|
|
4
4
|
s as PeriodontalRiskChart,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-
|
|
1
|
+
import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-BBgbWBGe.js";
|
|
2
2
|
export {
|
|
3
3
|
n as PregnancyWeightGain,
|
|
4
4
|
s as RATE_BANDS,
|
|
@@ -15,6 +15,9 @@ export interface RadioGroupProps extends Omit<RadixRootProps, 'children' | 'orie
|
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
variant?: RadioGroupVariant;
|
|
17
17
|
label?: string;
|
|
18
|
+
/** Rendered at the inline end of the legend line — a status chip or a
|
|
19
|
+
* marker, never a control. Its text joins the group's accessible name. */
|
|
20
|
+
labelEnd?: React.ReactNode;
|
|
18
21
|
description?: string;
|
|
19
22
|
error?: string;
|
|
20
23
|
required?: boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
/** One party's standing on the document. */
|
|
3
|
+
export type SignatureParty = 'signed' | 'pending' | 'notRequired';
|
|
4
|
+
/** The chip's derived state. */
|
|
5
|
+
export type SignatureStatus = 'signed' | 'partial' | 'unsigned' | 'notRequired';
|
|
6
|
+
/**
|
|
7
|
+
* The rule, exported so hosts can sort/filter by the same state the chip
|
|
8
|
+
* shows: required = parties not `notRequired`; all signed → `signed`, some
|
|
9
|
+
* signed → `partial`, none signed → `unsigned`, nobody required → `notRequired`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function signatureStatusOf(operator: SignatureParty, patient: SignatureParty): SignatureStatus;
|
|
12
|
+
export interface SignatureStatusChipProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
13
|
+
/** The operator's standing. */
|
|
14
|
+
operator: SignatureParty;
|
|
15
|
+
/** The patient's standing. */
|
|
16
|
+
patient: SignatureParty;
|
|
17
|
+
/** Chip height — maps onto the Badge `sm` / `md` sizes. */
|
|
18
|
+
size?: 'sm' | 'md';
|
|
19
|
+
/**
|
|
20
|
+
* Spell the breakdown in the chip text ("Signed · Operator signed · Patient
|
|
21
|
+
* signed") instead of the summary word. Default false — the breakdown is
|
|
22
|
+
* always in the accessible name / title.
|
|
23
|
+
*/
|
|
24
|
+
detail?: boolean;
|
|
25
|
+
/** Agent-readiness consumer id, surfaced as `data-component-id`. */
|
|
26
|
+
id?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const SignatureStatusChip: import("react").ForwardRefExoticComponent<SignatureStatusChipProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
29
|
+
//# sourceMappingURL=signature-status-chip.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-
|
|
1
|
+
import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-BNBeG2zn.js";
|
|
2
2
|
export {
|
|
3
3
|
r as CORE_PATIENT_FIELDS,
|
|
4
4
|
e as WorkflowCard,
|
package/dist/host-compat.css
CHANGED
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
|
|
197
197
|
/* ───────────────────────────────────────────────────────────────────────
|
|
198
198
|
SECTION B — non-token declarations. ORIGINAL LAYER PRESERVED.
|
|
199
|
-
|
|
199
|
+
128 declarations across 124 rules.
|
|
200
200
|
|
|
201
201
|
Kit-authored arbitrary-value utilities (`ds:w-[20rem]`) and the
|
|
202
202
|
vendored AG Grid rules. These set real properties on real elements,
|
|
@@ -403,6 +403,9 @@
|
|
|
403
403
|
.ds\:max-w-\[42rem\] {
|
|
404
404
|
max-width:672px;
|
|
405
405
|
}
|
|
406
|
+
.ds\:max-w-\[44rem\] {
|
|
407
|
+
max-width:704px;
|
|
408
|
+
}
|
|
406
409
|
.ds\:max-w-\[48rem\] {
|
|
407
410
|
max-width:768px;
|
|
408
411
|
}
|
|
@@ -933,6 +933,7 @@ export declare const arUi: {
|
|
|
933
933
|
};
|
|
934
934
|
readonly expandRow: "توسيع الصف";
|
|
935
935
|
readonly collapseRow: "طي الصف";
|
|
936
|
+
readonly expandedRow: "تفاصيل الصف الموسّع";
|
|
936
937
|
readonly totalRow: "الإجمالي";
|
|
937
938
|
readonly noRows: "لا توجد بيانات للعرض";
|
|
938
939
|
readonly noRowsDescription: "حاول تعديل البحث أو الفلاتر.";
|
|
@@ -2861,6 +2862,22 @@ export declare const arUi: {
|
|
|
2861
2862
|
readonly signed: "تم التوقيع";
|
|
2862
2863
|
readonly signedNamed: "{{label}} — تم التوقيع";
|
|
2863
2864
|
};
|
|
2865
|
+
readonly signatureStatusChip: {
|
|
2866
|
+
readonly signed: "تم التوقيع";
|
|
2867
|
+
readonly unsigned: "لم يتم التوقيع";
|
|
2868
|
+
readonly notRequired: "لا يلزم توقيع";
|
|
2869
|
+
readonly missingOperator: "توقيع المشغّل مفقود";
|
|
2870
|
+
readonly missingPatient: "توقيع المريض مفقود";
|
|
2871
|
+
readonly breakdownItem: "{{party}}: {{state}}";
|
|
2872
|
+
readonly party: {
|
|
2873
|
+
readonly operator: "المشغّل";
|
|
2874
|
+
readonly patient: "المريض";
|
|
2875
|
+
};
|
|
2876
|
+
readonly state: {
|
|
2877
|
+
readonly signed: "تم التوقيع";
|
|
2878
|
+
readonly pending: "قيد الانتظار";
|
|
2879
|
+
};
|
|
2880
|
+
};
|
|
2864
2881
|
readonly signature: {
|
|
2865
2882
|
readonly padLabel: "منطقة التوقيع";
|
|
2866
2883
|
readonly clear: "مسح التوقيع";
|
package/dist/i18n/locales/ar.js
CHANGED
|
@@ -922,6 +922,7 @@ const e = {
|
|
|
922
922
|
},
|
|
923
923
|
expandRow: "توسيع الصف",
|
|
924
924
|
collapseRow: "طي الصف",
|
|
925
|
+
expandedRow: "تفاصيل الصف الموسّع",
|
|
925
926
|
totalRow: "الإجمالي",
|
|
926
927
|
noRows: "لا توجد بيانات للعرض",
|
|
927
928
|
noRowsDescription: "حاول تعديل البحث أو الفلاتر.",
|
|
@@ -2835,6 +2836,16 @@ const e = {
|
|
|
2835
2836
|
signed: "تم التوقيع",
|
|
2836
2837
|
signedNamed: "{{label}} — تم التوقيع"
|
|
2837
2838
|
},
|
|
2839
|
+
signatureStatusChip: {
|
|
2840
|
+
signed: "تم التوقيع",
|
|
2841
|
+
unsigned: "لم يتم التوقيع",
|
|
2842
|
+
notRequired: "لا يلزم توقيع",
|
|
2843
|
+
missingOperator: "توقيع المشغّل مفقود",
|
|
2844
|
+
missingPatient: "توقيع المريض مفقود",
|
|
2845
|
+
breakdownItem: "{{party}}: {{state}}",
|
|
2846
|
+
party: { operator: "المشغّل", patient: "المريض" },
|
|
2847
|
+
state: { signed: "تم التوقيع", pending: "قيد الانتظار" }
|
|
2848
|
+
},
|
|
2838
2849
|
signature: {
|
|
2839
2850
|
padLabel: "منطقة التوقيع",
|
|
2840
2851
|
clear: "مسح التوقيع",
|