@alfadocs/ui-kit 1.89.0 → 1.90.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/{anamnesis-summary-rows-DjM_HkCS.js → anamnesis-summary-rows-fbEQwcuW.js} +661 -653
- package/dist/_chunks/{balance-badge-cell-BHXJS8Ga.js → balance-badge-cell-C4FYwmrZ.js} +2 -2
- package/dist/_chunks/browser-D5CD3WOj.js +565 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-BuumJbcv.js → calendar-appointment-editor-dialog-C1v2MNE4.js} +2 -2
- package/dist/_chunks/{data-table-BlONA1rP.js → data-table-B_IcS0Ke.js} +552 -551
- package/dist/_chunks/{file-manager-C9iJjDZt.js → file-manager-C9YOT-Dn.js} +2 -2
- package/dist/_chunks/{heatmap-C2Rg-SV_.js → heatmap-HTz3Jvzy.js} +2 -2
- package/dist/_chunks/index-CpVcVNBu.js +2326 -0
- package/dist/_chunks/{index.es-B8zMZ1wV.js → index.es-Beo-XicE.js} +2 -2
- package/dist/_chunks/jspdf.es.min-BW7y6yhl.js +9674 -0
- package/dist/_chunks/{patient-search-BPjP2__L.js → patient-search-CCOUZABE.js} +415 -406
- package/dist/_chunks/purify.es-Lo4sC_pz.js +1483 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table/xlsx-export.d.ts +13 -0
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts +8 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/index.js +7 -7
- package/dist/patterns/anamnesis/anamnesis-export-download.d.ts +1 -1
- package/dist/patterns/anamnesis/anamnesis-export.d.ts +3 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/safe-html/index.js +6 -6
- package/package.json +5 -4
- package/dist/_chunks/exceljs.min-D2MHbJsF.js +0 -23046
- package/dist/_chunks/jspdf.es.min-DaapWjR1.js +0 -10007
- package/dist/_chunks/purify.es-Cm3utOpm.js +0 -561
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-
|
|
1
|
+
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-B_IcS0Ke.js";
|
|
2
2
|
import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as m, r as E, u as f } from "../../_chunks/editable-currency-cell-renderer-rWYiF4EI.js";
|
|
3
3
|
import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-C0ynDik7.js";
|
|
4
4
|
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-B1yaOfQM.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Colours (`#RRGGBB`) for the bold header row. */
|
|
2
|
+
export interface XlsxHeaderColors {
|
|
3
|
+
fill: string;
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Build the `.xlsx` for a data table: one sheet, a bold header row on a filled
|
|
8
|
+
* background, then one row per record. Pure: no DOM, no grid. The workbook
|
|
9
|
+
* library is dynamic-imported so it stays out of a consumer's main bundle
|
|
10
|
+
* until someone exports.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildDataTableXlsx(headers: readonly string[], rows: readonly (readonly unknown[])[], colors: XlsxHeaderColors): Promise<Blob>;
|
|
13
|
+
//# sourceMappingURL=xlsx-export.d.ts.map
|
|
@@ -86,6 +86,14 @@ export interface PatientSearchProps extends Omit<ComponentPropsWithoutRef<'div'>
|
|
|
86
86
|
/** Reverse-geocode lat/lng → human label. Optional. */
|
|
87
87
|
reverseGeocode?: (lat: number, lng: number) => Promise<string>;
|
|
88
88
|
discoveryCards?: DiscoveryCard[];
|
|
89
|
+
/**
|
|
90
|
+
* Heading level (`h2`, `h3` or `h4`) of the discovery section title.
|
|
91
|
+
* Pick the level that follows the heading above the search on the host
|
|
92
|
+
* page, so the page keeps a correct heading order. Used by the
|
|
93
|
+
* `discovery` variant only.
|
|
94
|
+
* @default 3
|
|
95
|
+
*/
|
|
96
|
+
discoveryHeadingLevel?: 2 | 3 | 4;
|
|
89
97
|
/** Forwarded to the consumer's loaders if they want to constrain by country. */
|
|
90
98
|
countryCode?: 'it' | 'de' | string;
|
|
91
99
|
value: SearchValue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-
|
|
1
|
+
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-C4FYwmrZ.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ import { C as Fo, c as Lo } from "./_chunks/carousel.agent-CkDXR3-8.js";
|
|
|
93
93
|
import { C as Mo, c as yo } from "./_chunks/connection-status-CVyCqxiY.js";
|
|
94
94
|
import { C as Bo } from "./_chunks/contact-card-Czu60UvU.js";
|
|
95
95
|
import { C as vo } from "./_chunks/counter-WsvRuum1.js";
|
|
96
|
-
import { D as Wo, E as wo, T as Uo, a as Vo, b as Ko, c as Yo, d as Xo, e as qo, f as zo, i as jo, g as Qo } from "./_chunks/data-table-
|
|
96
|
+
import { D as Wo, E as wo, T as Uo, a as Vo, b as Ko, c as Yo, d as Xo, e as qo, f as zo, i as jo, g as Qo } from "./_chunks/data-table-B_IcS0Ke.js";
|
|
97
97
|
import { B as Jo, C as $o, a as at, E as et, b as st, R as rt, T as ot, c as tt, r as nt, u as it } from "./_chunks/editable-currency-cell-renderer-rWYiF4EI.js";
|
|
98
98
|
import { D as mt, a as lt, b as dt, I as At, L as ft, N as ct, c as St, S as gt, d as Ct, e as Tt, T as xt, f as ut, g as Pt, U as Et } from "./_chunks/link-cell-renderer-C0ynDik7.js";
|
|
99
99
|
import { A as Rt, a as _t } from "./_chunks/actions-cell-renderer-B1yaOfQM.js";
|
|
@@ -102,7 +102,7 @@ import { C as ht, c as Mt } from "./_chunks/clinical-note-card-Caidqcwa.js";
|
|
|
102
102
|
import { N as kt, n as Bt } from "./_chunks/note-timeline-KzL52MmB.js";
|
|
103
103
|
import { D as vt } from "./_chunks/description-list-BxzDN9o2.js";
|
|
104
104
|
import { E as Wt } from "./_chunks/empty-state-DwJ5YNzz.js";
|
|
105
|
-
import { F as Ut, f as Vt } from "./_chunks/file-manager-
|
|
105
|
+
import { F as Ut, f as Vt } from "./_chunks/file-manager-C9YOT-Dn.js";
|
|
106
106
|
import { F as Yt, a as Xt, h as qt } from "./_chunks/flag-DVBE6DnB.js";
|
|
107
107
|
import { K as jt, k as Qt } from "./_chunks/kbd-Bx7eQv9f.js";
|
|
108
108
|
import { K as Jt, a as $t } from "./_chunks/key-value-pair-BoXOtBL1.js";
|
|
@@ -198,7 +198,7 @@ import { T as tA } from "./_chunks/theme-root-BOO73p5t.js";
|
|
|
198
198
|
import { C as iA, U as pA, a as mA, b as lA, c as dA } from "./_chunks/unit-converter-BH5ueIhT.js";
|
|
199
199
|
import { V as fA } from "./_chunks/visually-hidden-BHxEUGyT.js";
|
|
200
200
|
import { C as SA, c as gA, a as CA } from "./_chunks/chart-D4huJSru.js";
|
|
201
|
-
import { H as xA, a as uA, b as PA, h as EA } from "./_chunks/heatmap-
|
|
201
|
+
import { H as xA, a as uA, b as PA, h as EA } from "./_chunks/heatmap-HTz3Jvzy.js";
|
|
202
202
|
import { A as RA, a as _A } from "./_chunks/ai-prompt-input-DH_rnV-F.js";
|
|
203
203
|
import { A as NA } from "./_chunks/ai-sparkle-D23NT8Z_.js";
|
|
204
204
|
import { A as OA, a as FA } from "./_chunks/audio-recorder-m7Jqvvcl.js";
|
|
@@ -227,10 +227,10 @@ import { C as Dc, c as Oc } from "./_chunks/care-plan-header-BzsAg6oY.js";
|
|
|
227
227
|
import { O as Lc, o as hc } from "./_chunks/operator-hero-6aAIQaFZ.js";
|
|
228
228
|
import { P as yc, p as kc } from "./_chunks/practice-profile-hero-qfrsFQI_.js";
|
|
229
229
|
import { P as Gc, p as vc } from "./_chunks/patient-details-D0P5eog5.js";
|
|
230
|
-
import { P as Wc, p as wc } from "./_chunks/patient-search-
|
|
230
|
+
import { P as Wc, p as wc } from "./_chunks/patient-search-CCOUZABE.js";
|
|
231
231
|
import { P as Vc, p as Kc } from "./_chunks/patient-summary-card-6U74-ivO.js";
|
|
232
232
|
import { A as Xc, a as qc } from "./_chunks/anamnesis-summary-card-DQ3iE1gD.js";
|
|
233
|
-
import { B as jc, C as Qc, N as Zc, P as Jc, a as $c, T as aS, b as eS, g as sS, u as rS } from "./_chunks/balance-badge-cell-
|
|
233
|
+
import { B as jc, C as Qc, N as Zc, P as Jc, a as $c, T as aS, b as eS, g as sS, u as rS } from "./_chunks/balance-badge-cell-C4FYwmrZ.js";
|
|
234
234
|
import { B as tS, M as nS, P as iS, a as pS, b as mS, c as lS, d as dS, S as AS, e as fS, f as cS, g as SS, h as gS, p as CS, i as TS, j as xS, k as uS, s as PS, t as ES, l as IS } from "./_chunks/periodontal-chart-_y4Ck7_P.js";
|
|
235
235
|
import { P as _S, a as bS, p as NS } from "./_chunks/periodontal-chart-card-Bx6PeS3b.js";
|
|
236
236
|
import { D as OS, P as FS, a as LS, b as hS, c as MS, S as yS, e as kS, i as BS, p as GS } from "./_chunks/periodontal-diagnosis-B9YmmVmM.js";
|
|
@@ -261,8 +261,8 @@ import { A as vT, a as HT, i as WT, u as wT } from "./_chunks/appointment-workfl
|
|
|
261
261
|
import { C as VT, W as KT, a as YT, b as XT, c as qT, i as zT, l as jT, m as QT, r as ZT, w as JT, d as $T, e as ax, f as ex } from "./_chunks/workflow-map-BcfOwsSB.js";
|
|
262
262
|
import { AliaAsteroidIcon as rx } from "./alia-asteroid-icon/index.js";
|
|
263
263
|
import { A as tx, a as nx, b as ix, c as px } from "./_chunks/alia-sidebar-CsTRAxC8.js";
|
|
264
|
-
import { A as lx, a as dx, L as Ax, P as fx, S as cx, T as Sx, b as gx, c as Cx, d as Tx, e as xx, f as ux, g as Px, h as Ex, i as Ix, j as Rx, k as _x, l as bx, m as Nx, n as Dx, o as Ox, p as Fx, r as Lx, q as hx, s as Mx, t as yx, u as kx } from "./_chunks/anamnesis-summary-rows-
|
|
265
|
-
import { A as Gx, C as vx, a as Hx, b as Wx, c as wx, D as Ux, d as Vx, S as Kx, V as Yx, W as Xx, e as qx, i as zx, m as jx, r as Qx, u as Zx, f as Jx, g as $x } from "./_chunks/calendar-appointment-editor-dialog-
|
|
264
|
+
import { A as lx, a as dx, L as Ax, P as fx, S as cx, T as Sx, b as gx, c as Cx, d as Tx, e as xx, f as ux, g as Px, h as Ex, i as Ix, j as Rx, k as _x, l as bx, m as Nx, n as Dx, o as Ox, p as Fx, r as Lx, q as hx, s as Mx, t as yx, u as kx } from "./_chunks/anamnesis-summary-rows-fbEQwcuW.js";
|
|
265
|
+
import { A as Gx, C as vx, a as Hx, b as Wx, c as wx, D as Ux, d as Vx, S as Kx, V as Yx, W as Xx, e as qx, i as zx, m as jx, r as Qx, u as Zx, f as Jx, g as $x } from "./_chunks/calendar-appointment-editor-dialog-C1v2MNE4.js";
|
|
266
266
|
import { E as eu, a as su, b as ru, e as ou, r as tu } from "./_chunks/error-page-Bhai-spN.js";
|
|
267
267
|
import { E as iu } from "./_chunks/error-page-illustration-BdJLuMdV.js";
|
|
268
268
|
import { F as mu, a as lu } from "./_chunks/forgot-password-form-BQPvDS7i.js";
|
|
@@ -5,6 +5,6 @@ import { type CsvDialect, type ExportDocument } from './anamnesis-export';
|
|
|
5
5
|
export declare function downloadBlob(blob: Blob, filename: string): boolean;
|
|
6
6
|
/** Download the document as a `.csv` in the dialect its locale calls for. */
|
|
7
7
|
export declare function downloadCsv(doc: ExportDocument, dialect?: CsvDialect): boolean;
|
|
8
|
-
/** Download the document as an `.xlsx`. Async:
|
|
8
|
+
/** Download the document as an `.xlsx`. Async: the workbook library is dynamic-imported. */
|
|
9
9
|
export declare function downloadXlsx(doc: ExportDocument): Promise<boolean>;
|
|
10
10
|
//# sourceMappingURL=anamnesis-export-download.d.ts.map
|
|
@@ -135,7 +135,9 @@ export declare function toCsvBlob(document: ExportDocument, dialect?: CsvDialect
|
|
|
135
135
|
/** The document as an `.xlsx` — the info block on its own sheet, then one
|
|
136
136
|
* sheet per table. No colour: the kit's tokens are CSS custom properties that
|
|
137
137
|
* only resolve against a live DOM, and this module has none. Weight and
|
|
138
|
-
* freeze-panes carry the hierarchy instead.
|
|
138
|
+
* freeze-panes carry the hierarchy instead. The workbook library is
|
|
139
|
+
* dynamic-imported so it stays out of the bundle of a consumer who never
|
|
140
|
+
* exports. */
|
|
139
141
|
export declare function toXlsxBlob(document: ExportDocument): Promise<Blob>;
|
|
140
142
|
export type ExportFormat = 'csv' | 'xlsx' | 'pdf';
|
|
141
143
|
/** Deterministic, meaningful, and free of anything a filesystem rejects. */
|
|
@@ -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-fbEQwcuW.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Anamnesis,
|
|
4
4
|
i as AnamnesisConfigEditor,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, C as r, a as o, b as t, c as E, D as P, d as S, S as i, V as A, W as C, e as d, i as n, m as D, r as l, u as p, f as W, g as _ } from "../../_chunks/calendar-appointment-editor-dialog-
|
|
1
|
+
import { A as s, C as r, a as o, b as t, c as E, D as P, d as S, S as i, V as A, W as C, e as d, i as n, m as D, r as l, u as p, f as W, g as _ } from "../../_chunks/calendar-appointment-editor-dialog-C1v2MNE4.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AppointmentEditorDialog,
|
|
4
4
|
r as CALENDAR_PREFERENCE_KEYS,
|
package/dist/safe-html/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import i from "../_chunks/purify.es-Lo4sC_pz.js";
|
|
3
|
+
import { forwardRef as s, useMemo as m } from "react";
|
|
4
4
|
const c = {
|
|
5
5
|
ALLOWED_TAGS: [
|
|
6
6
|
"a",
|
|
@@ -57,15 +57,15 @@ function _(t) {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
function u(t, e) {
|
|
60
|
-
return
|
|
60
|
+
return i.sanitize(t, _(e));
|
|
61
61
|
}
|
|
62
|
-
const A =
|
|
62
|
+
const A = s(
|
|
63
63
|
({ html: t, profile: e = "markdown", ...o }, r) => {
|
|
64
64
|
const n = m(
|
|
65
65
|
() => u(t, e),
|
|
66
66
|
[t, e]
|
|
67
67
|
);
|
|
68
|
-
return /* @__PURE__ */
|
|
68
|
+
return /* @__PURE__ */ a(
|
|
69
69
|
"div",
|
|
70
70
|
{
|
|
71
71
|
ref: r,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfadocs/ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.90.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
|
|
6
6
|
"license": "BUSL-1.1",
|
|
@@ -1215,9 +1215,8 @@
|
|
|
1215
1215
|
"cmdk": "^1.1.1",
|
|
1216
1216
|
"country-flag-icons": "^1.6.16",
|
|
1217
1217
|
"date-fns": "^4.1.0",
|
|
1218
|
-
"dompurify": "^3.4.
|
|
1218
|
+
"dompurify": "^3.4.16",
|
|
1219
1219
|
"embla-carousel-react": "8.6.0",
|
|
1220
|
-
"exceljs": "^4.4.0",
|
|
1221
1220
|
"jspdf": "^4.2.1",
|
|
1222
1221
|
"jspdf-autotable": "^5.0.8",
|
|
1223
1222
|
"lucide-react": "^1.22.0",
|
|
@@ -1226,7 +1225,8 @@
|
|
|
1226
1225
|
"sonner": "^2.0.7",
|
|
1227
1226
|
"tw-animate-css": "^1.4.0",
|
|
1228
1227
|
"uqr": "^0.1.3",
|
|
1229
|
-
"validator": "^13.15.35"
|
|
1228
|
+
"validator": "^13.15.35",
|
|
1229
|
+
"write-excel-file": "^4.1.1"
|
|
1230
1230
|
},
|
|
1231
1231
|
"devDependencies": {
|
|
1232
1232
|
"@chromatic-com/storybook": "^5.3.1",
|
|
@@ -1280,6 +1280,7 @@
|
|
|
1280
1280
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
1281
1281
|
"eslint-plugin-react": "^7.37.5",
|
|
1282
1282
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
1283
|
+
"fflate": "^0.8.3",
|
|
1283
1284
|
"globals": "^17.6.0",
|
|
1284
1285
|
"i18next": "^26.0.4",
|
|
1285
1286
|
"jsqr": "^1.4.0",
|