@alfadocs/ui-kit 1.130.1 → 1.131.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/{actions-cell-renderer-DTaIQKp9.js → actions-cell-renderer-C-l_ppP6.js} +3 -3
- package/dist/_chunks/{alia-sidebar-BBxbMRmX.js → alia-sidebar-CK1zw_Bc.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CtcULkvc.js → anamnesis-summary-rows-CCNmkq55.js} +5 -5
- package/dist/_chunks/{appointment-card-vbUsDh70.js → appointment-card-OAOur8lH.js} +2 -2
- package/dist/_chunks/{appointment-peek-DdUhqfEi.js → appointment-peek-DZa6xyUb.js} +2 -2
- package/dist/_chunks/{appointment-timeline-B5pfBl-b.js → appointment-timeline-DQePqpyH.js} +3 -3
- package/dist/_chunks/{appointment-tray-BhiXetjs.js → appointment-tray-DSFqO5Rm.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-BtFge7Y6.js → balance-badge-cell-DTiMdnCZ.js} +4 -4
- package/dist/_chunks/bill-line-table-DHKb_O7c.js +2000 -0
- package/dist/_chunks/body-pointer-lock-CsOEDm1I.js +15 -0
- package/dist/_chunks/{button-group-B2MJo0Se.js → button-group-DuQuuulC.js} +2 -2
- package/dist/_chunks/{calculator-dialog-BGX5XQCM.js → calculator-dialog-Cg3GjaRf.js} +2 -2
- package/dist/_chunks/{calendar-DzR-vdJ5.js → calendar-BIoOeBTT.js} +103 -103
- package/dist/_chunks/{calendar-appointment-editor-dialog-CXch4Pmu.js → calendar-appointment-editor-dialog-WW6V1SGh.js} +15 -15
- package/dist/_chunks/{care-plan-card-CwgkImOD.js → care-plan-card-DKScH9Ss.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-cdojypxu.js → care-plan-entry-card-AG1y3nyW.js} +2 -2
- package/dist/_chunks/{chart-Aue_2dMb.js → chart-D0EeFWst.js} +2 -2
- package/dist/_chunks/{dashboard-grid-CaxgaEgI.js → dashboard-grid-2uVXEe9e.js} +2 -2
- package/dist/_chunks/{data-grid-C9xlUMLt.js → data-grid-B2oaI7Lt.js} +2345 -2328
- package/dist/_chunks/{data-table-BCfkcPti.js → data-table-FTV3uRjX.js} +3 -3
- package/dist/_chunks/{default-tabs-BnB6FUEW.js → default-tabs-DbebYO04.js} +5 -5
- package/dist/_chunks/{dialog-CIUn5oLb.js → dialog-CVTxyR0v.js} +48 -47
- package/dist/_chunks/{document-preview-BWDTCEHI.js → document-preview-_kQ9QvZV.js} +2 -2
- package/dist/_chunks/{dropdown-menu-Dw6sgQwJ.js → dropdown-menu-DBWaW4pq.js} +92 -88
- package/dist/_chunks/{editable-currency-cell-renderer-BlK-8A7b.js → editable-currency-cell-renderer-CZMQ5xRT.js} +2 -2
- package/dist/_chunks/{face-scheme-Bt07zQJU.js → face-scheme-D_Y1StPl.js} +3 -3
- package/dist/_chunks/{file-manager-Dpwv0qs-.js → file-manager-Bzr5NK1t.js} +5 -5
- package/dist/_chunks/{header-settings-ZGvYAuKF.js → header-settings-Cu-MKOsO.js} +2 -2
- package/dist/_chunks/{heatmap-Ds5DJBUL.js → heatmap-C5gJin_F.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-C28E_rOt.js → help-me-write-templates-DO6vJeP4.js} +2 -2
- package/dist/_chunks/{icon-button-group-BKtkVZ1W.js → icon-button-group-SmkdVCNx.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-tJY7W1g_.js → invoice-upload-list-B5aMffTy.js} +22 -22
- package/dist/_chunks/{link-cell-renderer-CC9VHU68.js → link-cell-renderer-D3JLPURZ.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-D_HA8CKx.js → marketplace-app-shell-dMmxI6MT.js} +4 -4
- package/dist/_chunks/{muscle-scheme-DdIdm8Gw.js → muscle-scheme-BGJD62op.js} +2 -2
- package/dist/_chunks/{notes-panel-DIY7eNsq.js → notes-panel-Cm-_pCRJ.js} +3 -3
- package/dist/_chunks/{parts-tGzYz0uG.js → parts-BOnDDU3E.js} +2 -2
- package/dist/_chunks/{patient-search-OAwFgOW3.js → patient-search-DBvLFArV.js} +2 -2
- package/dist/_chunks/{practice-results-BDnZtbDM.js → practice-results-M5A9-X9y.js} +3 -3
- package/dist/_chunks/{public-header.agent-Db4wm6_S.js → public-header.agent-DaeDfLfy.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-B-r3BoqU.js → radiograph-panel.agent-88VjqlG7.js} +2 -2
- package/dist/_chunks/{rich-text-editor-TnX0SYdq.js → rich-text-editor-DjHL1b3E.js} +3 -3
- package/dist/_chunks/{row-actions-Dpf9CrCP.js → row-actions-BF2-uizV.js} +3 -3
- package/dist/_chunks/{sheet-uZZXaO_S.js → sheet-BdhYeQQT.js} +84 -72
- package/dist/_chunks/{signature-request-DW2PSp66.js → signature-request-4pGq3YBe.js} +3 -3
- package/dist/_chunks/{tab-bar-CF8R38Og.js → tab-bar-CeC2QOwB.js} +2 -2
- package/dist/_chunks/{tabs-P4qFmxk5.js → tabs-CRIDBLP7.js} +2 -2
- package/dist/_chunks/{task-editor-CVRrDqpe.js → task-editor-BL2hHxNz.js} +3 -3
- package/dist/_chunks/{tasks-panel-DBSm3WjK.js → tasks-panel-BE3zaayj.js} +2 -2
- package/dist/_chunks/{theme-toggle-CeKl8f_f.js → theme-toggle-BQDFxvVS.js} +3 -3
- package/dist/_chunks/{token-insert-menu-BrK5NQIq.js → token-insert-menu-BLtfMTJd.js} +2 -2
- package/dist/_chunks/{toolbar-CC-Ls_eC.js → toolbar-CfdoJzMV.js} +3 -3
- package/dist/_chunks/{tooth-scheme-DHRxV2sE.js → tooth-scheme-BtnFgugP.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BrykoTOR.js → use-appointment-details-read-_b7FRB1x.js} +4 -4
- package/dist/_chunks/{verify-identity-types-D_LdByCp.js → verify-identity-types-CxtrBXsZ.js} +2 -2
- package/dist/_chunks/{warehouse-load-summary-DkAKXcw0.js → warehouse-load-summary-CMMYzTDv.js} +75 -66
- package/dist/_chunks/{widget-picker-DrxJjEkv.js → widget-picker-D3T7e8a4.js} +2 -2
- package/dist/_chunks/{workflow-map-DCjkRuS_.js → workflow-map-DaZFP9SJ.js} +2 -2
- package/dist/_chunks/{workflow-status-D0avpoeS.js → workflow-status-D1WgGVTP.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-Cae02r_4.js → workflow-webhook-action-BsGSh3h9.js} +2 -2
- package/dist/agent-catalog.json +10 -10
- package/dist/agent-i18n/en.json +3 -3
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/body-pointer-lock.d.ts +2 -0
- package/dist/components/_shared/decimal.d.ts +2 -0
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.header.d.ts +6 -0
- package/dist/components/bill-line-table/bill-line-table.invoice-cell.d.ts +6 -0
- package/dist/components/bill-line-table/bill-line-table.model.d.ts +23 -10
- package/dist/components/bill-line-table/bill-line-table.scope.d.ts +56 -0
- package/dist/components/bill-line-table/bill-line-table.types.d.ts +90 -10
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +2 -0
- package/dist/components/bill-line-table/index.d.ts +3 -2
- package/dist/components/bill-line-table/index.js +20 -18
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/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/chart/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-grid/types.d.ts +6 -0
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/row-actions/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/warehouse-load-summary/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/decimal/index.js +32 -28
- package/dist/host-compat.css +4 -1
- package/dist/index.js +1063 -1061
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/bill-line-table-CzYzg-Qh.js +0 -1757
package/dist/decimal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const g = {
|
|
2
2
|
quantity: {
|
|
3
3
|
allowNegative: !1,
|
|
4
4
|
maxIntegerDigits: 12,
|
|
@@ -24,11 +24,11 @@ const l = {
|
|
|
24
24
|
maxFractionDigits: 2
|
|
25
25
|
}
|
|
26
26
|
}, M = {
|
|
27
|
-
quantity: { ...
|
|
28
|
-
unitPrice: { ...
|
|
29
|
-
lineTotal: { ...
|
|
30
|
-
rate: { ...
|
|
31
|
-
}, p = /^(-)?([0-9]+)(?:\.([0-9]+))?$/, x = BigInt(Number.MAX_SAFE_INTEGER), F = BigInt(10), f = BigInt(0), N = BigInt(1), T = BigInt(2), $ = 15,
|
|
27
|
+
quantity: { ...g.quantity, minFractionDigits: 0 },
|
|
28
|
+
unitPrice: { ...g.unitPrice, minFractionDigits: 0 },
|
|
29
|
+
lineTotal: { ...g.lineTotal, minFractionDigits: 0 },
|
|
30
|
+
rate: { ...g.rate, minFractionDigits: 0 }
|
|
31
|
+
}, p = /^(-)?([0-9]+)(?:\.([0-9]+))?$/, x = BigInt(Number.MAX_SAFE_INTEGER), F = BigInt(10), f = BigInt(0), N = BigInt(1), T = BigInt(2), $ = 15, l = (t) => F ** BigInt(t), D = (t) => t < f ? -t : t;
|
|
32
32
|
function a(t, n) {
|
|
33
33
|
return D(t) > x ? null : { units: Number(t) || 0, scale: n };
|
|
34
34
|
}
|
|
@@ -37,23 +37,23 @@ function I(t, n) {
|
|
|
37
37
|
if (i === "") return { ok: !1, error: "empty" };
|
|
38
38
|
const e = p.exec(i);
|
|
39
39
|
if (!e) return { ok: !1, error: "syntax" };
|
|
40
|
-
const [, r, s = "",
|
|
41
|
-
if (
|
|
40
|
+
const [, r, s = "", c = ""] = e, o = r === "-";
|
|
41
|
+
if (o && n.allowNegative === !1)
|
|
42
42
|
return { ok: !1, error: "negative" };
|
|
43
43
|
const h = s.replace(/^0+(?=\d)/, "");
|
|
44
44
|
if (n.maxIntegerDigits !== void 0 && h.length > n.maxIntegerDigits)
|
|
45
45
|
return { ok: !1, error: "integer-digits" };
|
|
46
46
|
const d = n.minFractionDigits ?? 0, B = n.maxFractionDigits ?? Number.POSITIVE_INFINITY;
|
|
47
|
-
if (
|
|
47
|
+
if (c.length < d || c.length > B)
|
|
48
48
|
return { ok: !1, error: "fraction-digits" };
|
|
49
|
-
const m = BigInt(s +
|
|
49
|
+
const m = BigInt(s + c);
|
|
50
50
|
return {
|
|
51
51
|
ok: !0,
|
|
52
|
-
units:
|
|
53
|
-
scale:
|
|
52
|
+
units: o ? -m : m,
|
|
53
|
+
scale: c.length,
|
|
54
54
|
whole: s,
|
|
55
|
-
fraction:
|
|
56
|
-
negative:
|
|
55
|
+
fraction: c,
|
|
56
|
+
negative: o
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function A(t, n = {}) {
|
|
@@ -80,8 +80,8 @@ function _(t, n = 0) {
|
|
|
80
80
|
return r ? `${s}${e}.${r}` : `${s}${e}`;
|
|
81
81
|
}
|
|
82
82
|
function u(t, n, i) {
|
|
83
|
-
if (i >= n) return t *
|
|
84
|
-
const e =
|
|
83
|
+
if (i >= n) return t * l(i - n);
|
|
84
|
+
const e = l(n - i), r = D(t);
|
|
85
85
|
let s = r / e;
|
|
86
86
|
return r % e * T >= e && (s += N), t < f ? -s : s;
|
|
87
87
|
}
|
|
@@ -94,7 +94,7 @@ function S(t, n, i) {
|
|
|
94
94
|
}
|
|
95
95
|
function b(t, n, i) {
|
|
96
96
|
if (n.units === 0) return null;
|
|
97
|
-
const e = i + 1 + n.scale - t.scale, r = e >= 0 ? BigInt(t.units) *
|
|
97
|
+
const e = i + 1 + n.scale - t.scale, r = e >= 0 ? BigInt(t.units) * l(e) / BigInt(n.units) : BigInt(t.units) / (BigInt(n.units) * l(-e));
|
|
98
98
|
return a(u(r, i + 1, i), i);
|
|
99
99
|
}
|
|
100
100
|
function y(t) {
|
|
@@ -103,27 +103,30 @@ function y(t) {
|
|
|
103
103
|
for (const e of t) i += u(BigInt(e.units), e.scale, n);
|
|
104
104
|
return a(i, n);
|
|
105
105
|
}
|
|
106
|
-
function O(t
|
|
106
|
+
function O(t) {
|
|
107
|
+
return t.units === 0 ? t : { units: -t.units, scale: t.scale };
|
|
108
|
+
}
|
|
109
|
+
function q(t, n) {
|
|
107
110
|
const i = Math.max(t.scale, n.scale), e = u(BigInt(t.units), t.scale, i), r = u(BigInt(n.units), n.scale, i);
|
|
108
111
|
return e < r ? -1 : e > r ? 1 : 0;
|
|
109
112
|
}
|
|
110
113
|
function E(t) {
|
|
111
114
|
return String(Math.abs(t)).replace(/0+$/, "").length || 1;
|
|
112
115
|
}
|
|
113
|
-
function
|
|
116
|
+
function R(t) {
|
|
114
117
|
return E(t.units) > $ ? null : +`${t.units}e-${t.scale}`;
|
|
115
118
|
}
|
|
116
119
|
function k(t) {
|
|
117
120
|
const n = String(t), i = n.indexOf("e");
|
|
118
121
|
if (i === -1) return n;
|
|
119
|
-
const e = n.startsWith("-") ? "-" : "", [r = "", s = ""] = n.slice(e.length, i).split("."),
|
|
120
|
-
return
|
|
122
|
+
const e = n.startsWith("-") ? "-" : "", [r = "", s = ""] = n.slice(e.length, i).split("."), c = r + s, o = r.length + Number(n.slice(i + 1));
|
|
123
|
+
return o <= 0 ? `${e}0.${"0".repeat(-o)}${c}` : o >= c.length ? e + c + "0".repeat(o - c.length) : `${e}${c.slice(0, o)}.${c.slice(o)}`;
|
|
121
124
|
}
|
|
122
|
-
function
|
|
125
|
+
function L(t, n) {
|
|
123
126
|
const [i, e = "0"] = String(t).split("e");
|
|
124
127
|
return +`${i}e${Number(e) + n}`;
|
|
125
128
|
}
|
|
126
|
-
function
|
|
129
|
+
function U(t, n) {
|
|
127
130
|
if (!Number.isFinite(t)) return null;
|
|
128
131
|
const i = I(k(t), {});
|
|
129
132
|
if (!i.ok) return null;
|
|
@@ -131,18 +134,19 @@ function L(t, n) {
|
|
|
131
134
|
return a(u(i.units, i.scale, r), r);
|
|
132
135
|
}
|
|
133
136
|
export {
|
|
134
|
-
|
|
137
|
+
g as FATTURAPA_DECIMAL,
|
|
135
138
|
M as FATTURAPA_VALUE,
|
|
136
|
-
|
|
137
|
-
|
|
139
|
+
q as compareDecimal,
|
|
140
|
+
R as decimalToNumber,
|
|
138
141
|
b as divideDecimal,
|
|
139
142
|
_ as formatDecimal,
|
|
140
143
|
w as isDecimalString,
|
|
141
144
|
S as multiplyDecimal,
|
|
142
|
-
|
|
145
|
+
O as negateDecimal,
|
|
146
|
+
U as numberToDecimal,
|
|
143
147
|
A as parseDecimal,
|
|
144
148
|
P as rescaleDecimal,
|
|
145
|
-
|
|
149
|
+
L as shiftDecimal,
|
|
146
150
|
y as sumDecimals,
|
|
147
151
|
k as toPlainString
|
|
148
152
|
};
|
package/dist/host-compat.css
CHANGED
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
|
|
215
215
|
/* ───────────────────────────────────────────────────────────────────────
|
|
216
216
|
SECTION B — non-token declarations. ORIGINAL LAYER PRESERVED.
|
|
217
|
-
|
|
217
|
+
175 declarations across 171 rules.
|
|
218
218
|
|
|
219
219
|
Kit-authored arbitrary-value utilities (`ds:w-[20rem]`) and the
|
|
220
220
|
vendored AG Grid rules. These set real properties on real elements,
|
|
@@ -601,6 +601,9 @@
|
|
|
601
601
|
.ds\:\[inline-size\:26rem\] {
|
|
602
602
|
inline-size:416px;
|
|
603
603
|
}
|
|
604
|
+
.ds\:\[inline-size\:30rem\] {
|
|
605
|
+
inline-size:480px;
|
|
606
|
+
}
|
|
604
607
|
.ds\:\[inline-size\:32rem\] {
|
|
605
608
|
inline-size:512px;
|
|
606
609
|
}
|