@alfadocs/ui-kit 1.90.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-DUMERHK3.js → anamnesis-summary-rows-fbEQwcuW.js} +661 -653
- package/dist/_chunks/{balance-badge-cell-C9-hyfxy.js → balance-badge-cell-C4FYwmrZ.js} +2 -2
- package/dist/_chunks/browser-D5CD3WOj.js +565 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-D8Wkbm8_.js → calendar-appointment-editor-dialog-C1v2MNE4.js} +2 -2
- package/dist/_chunks/{data-table-D7EGpqOn.js → data-table-B_IcS0Ke.js} +552 -551
- package/dist/_chunks/{file-manager-DQbWBTfk.js → file-manager-C9YOT-Dn.js} +2 -2
- package/dist/_chunks/{heatmap-BJB6V9yJ.js → heatmap-HTz3Jvzy.js} +2 -2
- package/dist/_chunks/index-CpVcVNBu.js +2326 -0
- package/dist/_chunks/{index.es-Bpb8_NrX.js → index.es-Beo-XicE.js} +2 -2
- package/dist/_chunks/jspdf.es.min-BW7y6yhl.js +9674 -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-table/index.js +1 -1
- package/dist/index.js +6 -6
- 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/package.json +4 -8
- package/dist/_chunks/exceljs.min-D2MHbJsF.js +0 -23046
- package/dist/_chunks/jspdf.es.min-Cal6Nuw_.js +0 -10007
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
|
|
@@ -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";
|
|
@@ -230,7 +230,7 @@ import { P as Gc, p as vc } from "./_chunks/patient-details-D0P5eog5.js";
|
|
|
230
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfadocs/ui-kit",
|
|
3
|
-
"version": "1.90.
|
|
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",
|
|
@@ -1192,11 +1192,6 @@
|
|
|
1192
1192
|
"optional": true
|
|
1193
1193
|
}
|
|
1194
1194
|
},
|
|
1195
|
-
"overrides": {
|
|
1196
|
-
"exceljs": {
|
|
1197
|
-
"uuid": "^11.1.1"
|
|
1198
|
-
}
|
|
1199
|
-
},
|
|
1200
1195
|
"dependencies": {
|
|
1201
1196
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
1202
1197
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -1230,7 +1225,8 @@
|
|
|
1230
1225
|
"sonner": "^2.0.7",
|
|
1231
1226
|
"tw-animate-css": "^1.4.0",
|
|
1232
1227
|
"uqr": "^0.1.3",
|
|
1233
|
-
"validator": "^13.15.35"
|
|
1228
|
+
"validator": "^13.15.35",
|
|
1229
|
+
"write-excel-file": "^4.1.1"
|
|
1234
1230
|
},
|
|
1235
1231
|
"devDependencies": {
|
|
1236
1232
|
"@chromatic-com/storybook": "^5.3.1",
|
|
@@ -1284,7 +1280,7 @@
|
|
|
1284
1280
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
1285
1281
|
"eslint-plugin-react": "^7.37.5",
|
|
1286
1282
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
1287
|
-
"
|
|
1283
|
+
"fflate": "^0.8.3",
|
|
1288
1284
|
"globals": "^17.6.0",
|
|
1289
1285
|
"i18next": "^26.0.4",
|
|
1290
1286
|
"jsqr": "^1.4.0",
|