@alfadocs/ui-kit 1.54.1 → 1.54.3
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/{address-fields-1pD-8hML.js → address-fields-BaClzQLM.js} +5 -5
- package/dist/_chunks/{anamnesis-summary-rows-BMjSBqhS.js → anamnesis-summary-rows-Brru7JrH.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-BDX1Krdv.js → balance-badge-cell-C5hmahoB.js} +2 -2
- package/dist/_chunks/{bishop-score-CGAVpIWL.js → bishop-score-BzvVol-u.js} +2 -2
- package/dist/_chunks/{bmi-calculator-g_wjo4nq.js → bmi-calculator-CDmQk0b5.js} +2 -2
- package/dist/_chunks/{booking-BN7TXe27.js → booking-BGY3LUi8.js} +5 -5
- package/dist/_chunks/{calendar-workspace-BbZIx2PT.js → calendar-workspace-BJPhMb2c.js} +8 -8
- package/dist/_chunks/{city-input-DyxVWSRQ.js → city-input-BL5WsGJ3.js} +2 -2
- package/dist/_chunks/{cycle-calculator-CwDEdmda.js → cycle-calculator-LjsQd9Gl.js} +2 -2
- package/dist/_chunks/{data-table-DeUoJzNn.js → data-table-BErtJzaT.js} +2 -2
- package/dist/_chunks/{data-table-tabs-BfEmXvUk.js → data-table-tabs-D5nFZKxg.js} +2 -2
- package/dist/_chunks/{due-date-calculator-_0Dz_d7n.js → due-date-calculator-mDvGKmRV.js} +2 -2
- package/dist/_chunks/{email-input-Cmeo4zdT.js → email-input-DQixfopu.js} +2 -2
- package/dist/_chunks/error-page-C15GfNEj.js +312 -0
- package/dist/_chunks/{error-page-illustration-QGJAvuFB.js → error-page-illustration-bFti0VEc.js} +73 -56
- package/dist/_chunks/{face-scheme-pZgT26gB.js → face-scheme-Doodi6A6.js} +2 -2
- package/dist/_chunks/{fetal-weight-CbE61Uyk.js → fetal-weight-DBgEaMoJ.js} +2 -2
- package/dist/_chunks/{file-manager-DdsAd4TQ.js → file-manager-BDNSnr7f.js} +3 -3
- package/dist/_chunks/{forgot-password-form-DVVOBEGj.js → forgot-password-form-Duu3pZDU.js} +3 -3
- package/dist/_chunks/{form-field-D9WfDpYB.js → form-field-Db0liyI8.js} +72 -63
- package/dist/_chunks/{gestational-age-calculator-BMkoLJGR.js → gestational-age-calculator-BVBz_5dm.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BtW2pBJX.js → hcg-doubling-BECrAUu3.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-Cy-iO5AU.js → help-me-write-templates-B4Y8dBv1.js} +3 -3
- package/dist/_chunks/{icon-picker-CSViTQL9.js → icon-picker-JZzs1ol_.js} +2 -2
- package/dist/_chunks/{kit-extensions-Kca1tkfP.js → kit-extensions-GQHKTLWI.js} +6 -6
- package/dist/_chunks/{login-dev-card-C7wo-Hv1.js → login-dev-card-DletSsX3.js} +5 -5
- package/dist/_chunks/{notes-panel-BPb-2ZnJ.js → notes-panel-DWJY3WV8.js} +2 -2
- package/dist/_chunks/{password-input-B7pQTk7l.js → password-input-6Yl6x1IO.js} +2 -2
- package/dist/_chunks/{patient-details-BP9r_lNS.js → patient-details-D7QlsGK1.js} +2 -2
- package/dist/_chunks/{patient-field-row-BK9JjbzA.js → patient-field-row-Dr-ndtG8.js} +5 -5
- package/dist/_chunks/{patient-summary-card-DGbRLzF1.js → patient-summary-card-A3WhxFwp.js} +2 -2
- package/dist/_chunks/{postal-code-input-BmbqjkfD.js → postal-code-input-lCk8me6K.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-DV3o2PPl.js → pregnancy-dating-BEmsMys4.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-BLjWgtS9.js → pregnancy-weight-gain-DMVPvM3a.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-C4j6eoQn.js → radiograph-panel.agent-rS3Tegx6.js} +2 -2
- package/dist/_chunks/{registration-form-CBDeXzlk.js → registration-form-Lz9iKrKo.js} +246 -235
- package/dist/_chunks/{rich-text-editor-CCCSEPlG.js → rich-text-editor-DmnWavgl.js} +2 -2
- package/dist/_chunks/{search-bar-D695TCDH.js → search-bar-ORcfuK9A.js} +2 -2
- package/dist/_chunks/{search-input-Tl-RkS5x.js → search-input-6SoR2Rf4.js} +2 -2
- package/dist/_chunks/{task-editor-Dl27rI3J.js → task-editor-i-juLk76.js} +3 -3
- package/dist/_chunks/{text-input-lZ2-t-p2.js → text-input-rzLEKhRU.js} +145 -97
- package/dist/_chunks/{transcript-panel-CLgtyVbR.js → transcript-panel-jOCW4Ycl.js} +2 -2
- package/dist/_chunks/{unit-converter-CXNr5P4J.js → unit-converter-Bvhj9r3m.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BEbLseXW.js → use-appointment-details-read-B6dBBgDa.js} +3 -3
- package/dist/_chunks/{widget-picker-BCbwD5Z1.js → widget-picker-Ck8HTsil.js} +2 -2
- package/dist/agent-catalog.json +5 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/appointment-details-panel/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/city-input/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- 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-context.d.ts +5 -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/icon-picker/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/password-input/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/postal-code-input/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/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/text-input/text-input.d.ts +13 -0
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/hooks/use-field-match.d.ts +3 -2
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.js +4 -0
- package/dist/i18n/locales/de.d.ts +4 -0
- package/dist/i18n/locales/de.js +4 -0
- package/dist/i18n/locales/el.d.ts +4 -0
- package/dist/i18n/locales/el.js +4 -0
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/en.js +4 -0
- package/dist/i18n/locales/es.d.ts +4 -0
- package/dist/i18n/locales/es.js +4 -0
- package/dist/i18n/locales/fr.d.ts +4 -0
- package/dist/i18n/locales/fr.js +4 -0
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.js +4 -0
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.js +4 -0
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.js +4 -0
- package/dist/i18n/locales/nl.d.ts +4 -0
- package/dist/i18n/locales/nl.js +4 -0
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.js +4 -0
- package/dist/i18n/locales/pt.d.ts +4 -0
- package/dist/i18n/locales/pt.js +4 -0
- package/dist/i18n/locales/ro.d.ts +4 -0
- package/dist/i18n/locales/ro.js +4 -0
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.js +4 -0
- package/dist/i18n/locales/sq.d.ts +4 -0
- package/dist/i18n/locales/sq.js +4 -0
- package/dist/i18n/locales/sv.d.ts +4 -0
- package/dist/i18n/locales/sv.js +4 -0
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.js +4 -0
- package/dist/i18n/locales/zh.d.ts +4 -0
- package/dist/i18n/locales/zh.js +4 -0
- package/dist/index.js +167 -165
- package/dist/locales/ar.json +4 -0
- package/dist/locales/de.json +4 -0
- package/dist/locales/el.json +4 -0
- package/dist/locales/en.json +4 -0
- package/dist/locales/es.json +4 -0
- package/dist/locales/fr.json +4 -0
- package/dist/locales/hi.json +4 -0
- package/dist/locales/it.json +4 -0
- package/dist/locales/ja.json +4 -0
- package/dist/locales/nl.json +4 -0
- package/dist/locales/pl.json +4 -0
- package/dist/locales/pt.json +4 -0
- package/dist/locales/ro.json +4 -0
- package/dist/locales/ru.json +4 -0
- package/dist/locales/sq.json +4 -0
- package/dist/locales/sv.json +4 -0
- package/dist/locales/tr.json +4 -0
- package/dist/locales/zh.json +4 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-illustration.d.ts +3 -1
- package/dist/patterns/error-page/error-page.d.ts +34 -2
- package/dist/patterns/error-page/index.d.ts +2 -1
- package/dist/patterns/error-page/index.js +7 -5
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/registration-form/index.d.ts +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/registration-form/registration-form.d.ts +16 -0
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/error-page-CKFJlekz.js +0 -275
|
@@ -25,7 +25,7 @@ import { a as Fn } from "./tooltip-Cp-PLePW.js";
|
|
|
25
25
|
import { P as ne } from "./popover-9_v-7fJc.js";
|
|
26
26
|
import { D as ae } from "./dialog-D52AI4nF.js";
|
|
27
27
|
import { C as jn } from "./color-picker-Bu0wM8xv.js";
|
|
28
|
-
import { T as en } from "./text-input-
|
|
28
|
+
import { T as en } from "./text-input-rzLEKhRU.js";
|
|
29
29
|
import { C as li } from "./checkbox--ndmyokr.js";
|
|
30
30
|
import { F as ci } from "./file-upload-CxjCs7TX.js";
|
|
31
31
|
import { c as I } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -4228,4 +4228,4 @@ export {
|
|
|
4228
4228
|
Sa as r,
|
|
4229
4229
|
As as w
|
|
4230
4230
|
};
|
|
4231
|
-
//# sourceMappingURL=rich-text-editor-
|
|
4231
|
+
//# sourceMappingURL=rich-text-editor-DmnWavgl.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as te, useState as j, useEffect as F, useRef as _, useMemo a
|
|
|
3
3
|
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as U } from "react-i18next";
|
|
5
5
|
import * as P from "@radix-ui/react-popover";
|
|
6
|
-
import { S as oe } from "./search-input-
|
|
6
|
+
import { S as oe } from "./search-input-6SoR2Rf4.js";
|
|
7
7
|
import { b as ie } from "./menu-row-BAr8bx1I.js";
|
|
8
8
|
import { u as W } from "./registry-DvAUVLHh.js";
|
|
9
9
|
import { n as O } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
@@ -611,4 +611,4 @@ export {
|
|
|
611
611
|
Me as f,
|
|
612
612
|
J as s
|
|
613
613
|
};
|
|
614
|
-
//# sourceMappingURL=search-bar-
|
|
614
|
+
//# sourceMappingURL=search-bar-ORcfuK9A.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as ne } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ie, useState as R, useRef as K, useCallback as V, useImperativeHandle as oe, useEffect as de } from "react";
|
|
3
3
|
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as le } from "react-i18next";
|
|
5
|
-
import { T as ce } from "./text-input-
|
|
5
|
+
import { T as ce } from "./text-input-rzLEKhRU.js";
|
|
6
6
|
import { S as ue } from "./spinner-a0FTYX9Q.js";
|
|
7
7
|
import { u as fe, a as me } from "./form-field-context-DtiROUJV.js";
|
|
8
8
|
import { u as be } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
@@ -234,4 +234,4 @@ we.displayName = "SearchInput";
|
|
|
234
234
|
export {
|
|
235
235
|
we as S
|
|
236
236
|
};
|
|
237
|
-
//# sourceMappingURL=search-input-
|
|
237
|
+
//# sourceMappingURL=search-input-6SoR2Rf4.js.map
|
|
@@ -8,7 +8,7 @@ import { I as We } from "./icon-button-mKIvw90h.js";
|
|
|
8
8
|
import { C as Qe } from "./combobox-DppVSuUm.js";
|
|
9
9
|
import { D as ce } from "./dialog-D52AI4nF.js";
|
|
10
10
|
import { D as Bt } from "./date-picker-BnhBmcH6.js";
|
|
11
|
-
import { F as H } from "./form-field-
|
|
11
|
+
import { F as H } from "./form-field-Db0liyI8.js";
|
|
12
12
|
import { I as Ft } from "./icon-button-group-BsQkbCX4.js";
|
|
13
13
|
import { P as Pt } from "./panel-header-D_mTdhUp.js";
|
|
14
14
|
import { P as Ot } from "./panel-subview-D8HGXaUa.js";
|
|
@@ -19,7 +19,7 @@ import { S as Ke } from "./select-DHPmASkG.js";
|
|
|
19
19
|
import { S as He } from "./skeleton-B1KTdJ4N.js";
|
|
20
20
|
import { S as $t } from "./switch-D--x7n6h.js";
|
|
21
21
|
import { T as zt } from "./text-area-CDuItrvL.js";
|
|
22
|
-
import { T as Oe } from "./text-input-
|
|
22
|
+
import { T as Oe } from "./text-input-rzLEKhRU.js";
|
|
23
23
|
import { T as qt } from "./time-picker-DKKmpFh3.js";
|
|
24
24
|
import { u as Vt } from "./registry-DvAUVLHh.js";
|
|
25
25
|
import { u as Lt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
@@ -1240,4 +1240,4 @@ export {
|
|
|
1240
1240
|
vo as T,
|
|
1241
1241
|
lo as t
|
|
1242
1242
|
};
|
|
1243
|
-
//# sourceMappingURL=task-editor-
|
|
1243
|
+
//# sourceMappingURL=task-editor-i-juLk76.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { u as
|
|
6
|
-
import { I as
|
|
7
|
-
import { u as
|
|
8
|
-
import { X as
|
|
9
|
-
const
|
|
1
|
+
import { jsxs as Ie, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Te, useState as U, useRef as K, useEffect as B, useCallback as Q, useMemo as Ve } from "react";
|
|
3
|
+
import { c as Z } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Se } from "react-i18next";
|
|
5
|
+
import { u as Re, a as ze } from "./form-field-context-DtiROUJV.js";
|
|
6
|
+
import { I as Oe, a as H, b as q } from "./input-surface-xyERuLU_.js";
|
|
7
|
+
import { u as _e } from "./registry-DvAUVLHh.js";
|
|
8
|
+
import { X as $e } from "./x-B5YnXwCz.js";
|
|
9
|
+
const je = {
|
|
10
10
|
id: "text-input",
|
|
11
11
|
capabilities: ["set_value"],
|
|
12
12
|
state: {
|
|
@@ -35,8 +35,8 @@ const ue = {
|
|
|
35
35
|
idempotent: !0,
|
|
36
36
|
descriptionKey: "ui.agent.textInput.actions.setValue",
|
|
37
37
|
description: "Replace the input value.",
|
|
38
|
-
invoke: (s,
|
|
39
|
-
s.setValue(
|
|
38
|
+
invoke: (s, b) => {
|
|
39
|
+
s.setValue(b.value);
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
clear: {
|
|
@@ -69,7 +69,7 @@ const ue = {
|
|
|
69
69
|
description: "Sourced from the id prop."
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
},
|
|
72
|
+
}, Ne = Z(
|
|
73
73
|
[
|
|
74
74
|
"ds:relative ds:flex ds:items-center ds:w-full",
|
|
75
75
|
"ds:rounded-[var(--radius-sm)]",
|
|
@@ -78,7 +78,7 @@ const ue = {
|
|
|
78
78
|
"ds:forced-colors:focus-within:outline-[CanvasText]",
|
|
79
79
|
"ds:has-[:disabled]:cursor-not-allowed"
|
|
80
80
|
].join(" ")
|
|
81
|
-
),
|
|
81
|
+
), Pe = Z(
|
|
82
82
|
[
|
|
83
83
|
"ds:w-full ds:rounded-[var(--radius-sm)] ds:border ds:bg-input ds:text-foreground",
|
|
84
84
|
"ds:shadow-[var(--shadow-input)]",
|
|
@@ -91,11 +91,11 @@ const ue = {
|
|
|
91
91
|
{
|
|
92
92
|
variants: {
|
|
93
93
|
size: {
|
|
94
|
-
sm: `${
|
|
95
|
-
md: `${
|
|
96
|
-
lg: `${
|
|
94
|
+
sm: `${H.sm} ${q.sm}`,
|
|
95
|
+
md: `${H.md} ${q.md}`,
|
|
96
|
+
lg: `${H.lg} ${q.lg}`
|
|
97
97
|
},
|
|
98
|
-
tone:
|
|
98
|
+
tone: Oe,
|
|
99
99
|
hasStart: {
|
|
100
100
|
true: "ds:ps-10",
|
|
101
101
|
false: ""
|
|
@@ -120,50 +120,91 @@ const ue = {
|
|
|
120
120
|
hasEnd: !1
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
),
|
|
123
|
+
), Y = "ds:absolute ds:inset-y-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground", ke = Te(
|
|
124
124
|
({
|
|
125
125
|
size: s = "md",
|
|
126
|
-
tone:
|
|
127
|
-
startAdornment:
|
|
128
|
-
endAdornment:
|
|
129
|
-
clearable:
|
|
130
|
-
onClear:
|
|
131
|
-
className:
|
|
132
|
-
id:
|
|
133
|
-
disabled:
|
|
134
|
-
value:
|
|
135
|
-
defaultValue:
|
|
136
|
-
onChange:
|
|
137
|
-
onCompositionStart:
|
|
138
|
-
onCompositionEnd:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
126
|
+
tone: b = "default",
|
|
127
|
+
startAdornment: x,
|
|
128
|
+
endAdornment: w,
|
|
129
|
+
clearable: C = !1,
|
|
130
|
+
onClear: E,
|
|
131
|
+
className: ee,
|
|
132
|
+
id: I,
|
|
133
|
+
disabled: te,
|
|
134
|
+
value: M,
|
|
135
|
+
defaultValue: se,
|
|
136
|
+
onChange: i,
|
|
137
|
+
onCompositionStart: T,
|
|
138
|
+
onCompositionEnd: V,
|
|
139
|
+
blockPaste: h = !1,
|
|
140
|
+
blockCopy: p = !1,
|
|
141
|
+
onPaste: S,
|
|
142
|
+
onDrop: R,
|
|
143
|
+
onCopy: z,
|
|
144
|
+
onCut: O,
|
|
145
|
+
onDragStart: _,
|
|
146
|
+
onBlur: $,
|
|
147
|
+
...D
|
|
148
|
+
}, f) => {
|
|
149
|
+
const { t: j } = Se("ui"), n = Re(), ae = ze(n, I), W = n.disabled || te, ie = n.invalid ? "error" : b, g = M !== void 0, [ne, N] = U(
|
|
150
|
+
String(se ?? "")
|
|
151
|
+
), X = g ? String(M) : ne, re = X.length > 0, P = K(!1), [de, A] = U(!1), [u, k] = U(void 0), l = u && (u.kind === "paste" ? h : p) ? u : void 0, m = l ? l.kind === "paste" ? j(
|
|
152
|
+
"inputs.clipboard.pasteBlocked",
|
|
153
|
+
"Pasting is turned off for this field. Please type it."
|
|
154
|
+
) : j(
|
|
155
|
+
"inputs.clipboard.copyBlocked",
|
|
156
|
+
"Copying is turned off for this field."
|
|
157
|
+
) : void 0, a = n.setNotice, y = K(!1);
|
|
158
|
+
B(() => {
|
|
159
|
+
m !== void 0 ? (y.current = !0, a == null || a(m)) : y.current && (y.current = !1, a == null || a(void 0));
|
|
160
|
+
}, [m, a]), B(
|
|
161
|
+
() => () => {
|
|
162
|
+
y.current && (a == null || a(void 0));
|
|
163
|
+
},
|
|
164
|
+
[a]
|
|
165
|
+
), B(() => {
|
|
166
|
+
u && !l && k(void 0);
|
|
167
|
+
}, [u, l]);
|
|
168
|
+
const v = (e, t) => {
|
|
169
|
+
e.preventDefault(), k((d) => ({ kind: t, count: ((d == null ? void 0 : d.count) ?? 0) + 1 }));
|
|
170
|
+
}, G = () => {
|
|
171
|
+
u !== void 0 && k(void 0);
|
|
172
|
+
}, oe = (e) => {
|
|
173
|
+
h && v(e, "paste"), S == null || S(e);
|
|
174
|
+
}, ue = (e) => {
|
|
175
|
+
h && v(e, "paste"), R == null || R(e);
|
|
176
|
+
}, le = (e) => {
|
|
177
|
+
p && v(e, "copy"), z == null || z(e);
|
|
178
|
+
}, ce = (e) => {
|
|
179
|
+
p && v(e, "copy"), O == null || O(e);
|
|
180
|
+
}, pe = (e) => {
|
|
181
|
+
p && v(e, "copy"), _ == null || _(e);
|
|
182
|
+
}, fe = (e) => {
|
|
183
|
+
G(), $ == null || $(e);
|
|
184
|
+
}, r = K(null), me = Q(
|
|
144
185
|
(e) => {
|
|
145
|
-
r.current = e, typeof
|
|
186
|
+
r.current = e, typeof f == "function" ? f(e) : f && (f.current = e);
|
|
146
187
|
},
|
|
147
|
-
[
|
|
148
|
-
),
|
|
149
|
-
|
|
150
|
-
},
|
|
151
|
-
|
|
152
|
-
},
|
|
153
|
-
|
|
188
|
+
[f]
|
|
189
|
+
), ve = !!x, L = C && re && !W && !D.readOnly, he = !!w || L, ge = (e) => {
|
|
190
|
+
G(), g || N(e.target.value), !P.current && (i == null || i(e));
|
|
191
|
+
}, ye = (e) => {
|
|
192
|
+
P.current = !0, A(!0), T == null || T(e);
|
|
193
|
+
}, be = (e) => {
|
|
194
|
+
P.current = !1, A(!1), V == null || V(e);
|
|
154
195
|
const t = e.currentTarget;
|
|
155
|
-
|
|
196
|
+
g || N(t.value), i == null || i({
|
|
156
197
|
...e,
|
|
157
198
|
target: t,
|
|
158
199
|
currentTarget: t
|
|
159
200
|
});
|
|
160
|
-
},
|
|
201
|
+
}, xe = () => {
|
|
161
202
|
var t;
|
|
162
|
-
|
|
203
|
+
g || N("");
|
|
163
204
|
const e = r.current;
|
|
164
|
-
if (e &&
|
|
165
|
-
const
|
|
166
|
-
|
|
205
|
+
if (e && i) {
|
|
206
|
+
const d = Object.getPrototypeOf(e), o = (t = Object.getOwnPropertyDescriptor(d, "value")) == null ? void 0 : t.set;
|
|
207
|
+
o == null || o.call(e, ""), i({
|
|
167
208
|
target: e,
|
|
168
209
|
currentTarget: e,
|
|
169
210
|
bubbles: !0,
|
|
@@ -179,105 +220,112 @@ const ue = {
|
|
|
179
220
|
}
|
|
180
221
|
});
|
|
181
222
|
}
|
|
182
|
-
|
|
183
|
-
},
|
|
184
|
-
var
|
|
223
|
+
E == null || E(), e == null || e.focus();
|
|
224
|
+
}, F = Q((e) => {
|
|
225
|
+
var J;
|
|
185
226
|
const t = r.current;
|
|
186
227
|
if (!t) return;
|
|
187
|
-
const
|
|
188
|
-
|
|
189
|
-
}, []),
|
|
228
|
+
const d = Object.getPrototypeOf(t), o = (J = Object.getOwnPropertyDescriptor(d, "value")) == null ? void 0 : J.set;
|
|
229
|
+
o == null || o.call(t, e), t.dispatchEvent(new Event("input", { bubbles: !0 })), t.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
230
|
+
}, []), we = Ve(
|
|
190
231
|
() => ({
|
|
191
232
|
getValue: () => {
|
|
192
233
|
var e;
|
|
193
234
|
return ((e = r.current) == null ? void 0 : e.value) ?? "";
|
|
194
235
|
},
|
|
195
236
|
setValue: (e) => {
|
|
196
|
-
|
|
237
|
+
F(e);
|
|
197
238
|
},
|
|
198
239
|
clear: () => {
|
|
199
|
-
|
|
240
|
+
F("");
|
|
200
241
|
},
|
|
201
242
|
focus: () => {
|
|
202
243
|
var e;
|
|
203
244
|
(e = r.current) == null || e.focus();
|
|
204
245
|
}
|
|
205
246
|
}),
|
|
206
|
-
[
|
|
247
|
+
[F]
|
|
207
248
|
);
|
|
208
|
-
|
|
209
|
-
const
|
|
249
|
+
_e(je, we, I);
|
|
250
|
+
const Ee = (e) => {
|
|
210
251
|
var t;
|
|
211
252
|
e.target !== r.current && (e.target.closest("button") || (t = r.current) == null || t.focus());
|
|
212
253
|
};
|
|
213
254
|
return (
|
|
214
255
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions -- click on wrapper forwards focus to the inner input; keyboard interaction stays on the input itself
|
|
215
|
-
/* @__PURE__ */
|
|
256
|
+
/* @__PURE__ */ Ie(
|
|
216
257
|
"div",
|
|
217
258
|
{
|
|
218
|
-
className:
|
|
219
|
-
onClick:
|
|
259
|
+
className: Ne(),
|
|
260
|
+
onClick: Ee,
|
|
220
261
|
"data-component": "text-input",
|
|
221
|
-
"data-component-id":
|
|
222
|
-
"data-composing":
|
|
262
|
+
"data-component-id": I,
|
|
263
|
+
"data-composing": de ? "true" : void 0,
|
|
223
264
|
children: [
|
|
224
|
-
|
|
265
|
+
x ? /* @__PURE__ */ c(
|
|
225
266
|
"span",
|
|
226
267
|
{
|
|
227
268
|
"aria-hidden": "true",
|
|
228
|
-
className: `${
|
|
229
|
-
children:
|
|
269
|
+
className: `${Y} ds:start-0 ds:ps-3 ds:[&_svg]:size-4`,
|
|
270
|
+
children: x
|
|
230
271
|
}
|
|
231
272
|
) : null,
|
|
232
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ c(
|
|
233
274
|
"input",
|
|
234
275
|
{
|
|
235
|
-
ref:
|
|
236
|
-
id:
|
|
276
|
+
ref: me,
|
|
277
|
+
id: ae,
|
|
237
278
|
type: "text",
|
|
238
|
-
value:
|
|
239
|
-
disabled:
|
|
240
|
-
"aria-describedby":
|
|
241
|
-
"aria-invalid":
|
|
242
|
-
"aria-required":
|
|
243
|
-
onChange:
|
|
244
|
-
onCompositionStart:
|
|
245
|
-
onCompositionEnd:
|
|
246
|
-
|
|
279
|
+
value: X,
|
|
280
|
+
disabled: W,
|
|
281
|
+
"aria-describedby": n.describedBy || void 0,
|
|
282
|
+
"aria-invalid": n.invalid || void 0,
|
|
283
|
+
"aria-required": n.required || void 0,
|
|
284
|
+
onChange: ge,
|
|
285
|
+
onCompositionStart: ye,
|
|
286
|
+
onCompositionEnd: be,
|
|
287
|
+
onPaste: oe,
|
|
288
|
+
onDrop: ue,
|
|
289
|
+
onCopy: le,
|
|
290
|
+
onCut: ce,
|
|
291
|
+
onDragStart: pe,
|
|
292
|
+
onBlur: fe,
|
|
293
|
+
className: Pe({
|
|
247
294
|
size: s,
|
|
248
|
-
tone:
|
|
249
|
-
hasStart:
|
|
250
|
-
hasEnd:
|
|
251
|
-
className:
|
|
295
|
+
tone: ie,
|
|
296
|
+
hasStart: ve,
|
|
297
|
+
hasEnd: he,
|
|
298
|
+
className: ee
|
|
252
299
|
}),
|
|
253
|
-
...
|
|
300
|
+
...D
|
|
254
301
|
}
|
|
255
302
|
),
|
|
256
|
-
|
|
303
|
+
L ? /* @__PURE__ */ c(
|
|
257
304
|
"button",
|
|
258
305
|
{
|
|
259
306
|
type: "button",
|
|
260
|
-
"aria-label":
|
|
261
|
-
onClick:
|
|
307
|
+
"aria-label": j("inputs.text.clear", "Clear input"),
|
|
308
|
+
onClick: xe,
|
|
262
309
|
className: "ds:absolute ds:inset-y-0 ds:end-0 ds:pe-3 ds:flex ds:items-center ds:pointer-events-auto ds:text-muted-foreground ds:hover:text-foreground ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
263
|
-
children: /* @__PURE__ */
|
|
310
|
+
children: /* @__PURE__ */ c($e, { "aria-hidden": "true", className: "ds:size-4" })
|
|
264
311
|
}
|
|
265
|
-
) :
|
|
312
|
+
) : w ? /* @__PURE__ */ c(
|
|
266
313
|
"span",
|
|
267
314
|
{
|
|
268
315
|
"aria-hidden": "true",
|
|
269
|
-
className: `${
|
|
270
|
-
children:
|
|
316
|
+
className: `${Y} ds:end-0 ds:pe-3 ds:[&_svg]:size-4`,
|
|
317
|
+
children: w
|
|
271
318
|
}
|
|
272
|
-
) : null
|
|
319
|
+
) : null,
|
|
320
|
+
h || p ? /* @__PURE__ */ c("span", { role: "status", className: "ds:sr-only", children: l && m ? `${m}${l.count % 2 === 0 ? " " : ""}` : "" }) : null
|
|
273
321
|
]
|
|
274
322
|
}
|
|
275
323
|
)
|
|
276
324
|
);
|
|
277
325
|
}
|
|
278
326
|
);
|
|
279
|
-
|
|
327
|
+
ke.displayName = "TextInput";
|
|
280
328
|
export {
|
|
281
|
-
|
|
329
|
+
ke as T
|
|
282
330
|
};
|
|
283
|
-
//# sourceMappingURL=text-input-
|
|
331
|
+
//# sourceMappingURL=text-input-rzLEKhRU.js.map
|
|
@@ -4,7 +4,7 @@ import { c as V } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as q } from "react-i18next";
|
|
5
5
|
import { u as D } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { u as B } from "./index-CJE9uQmb.js";
|
|
7
|
-
import { S as U } from "./search-input-
|
|
7
|
+
import { S as U } from "./search-input-6SoR2Rf4.js";
|
|
8
8
|
import { P as G } from "./panel-header-D_mTdhUp.js";
|
|
9
9
|
import { u as Q } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
10
10
|
import { F as W } from "./file-text-5yv6r2ls.js";
|
|
@@ -371,4 +371,4 @@ export {
|
|
|
371
371
|
ae as T,
|
|
372
372
|
Y as t
|
|
373
373
|
};
|
|
374
|
-
//# sourceMappingURL=transcript-panel-
|
|
374
|
+
//# sourceMappingURL=transcript-panel-jOCW4Ycl.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as H, useState as h, useMemo as $, useEffect as j, useRef as
|
|
|
3
3
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { u as Y } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { F as C } from "./form-field-
|
|
6
|
+
import { F as C } from "./form-field-Db0liyI8.js";
|
|
7
7
|
import { N as B } from "./number-input-DRDRYZJg.js";
|
|
8
8
|
import { S } from "./select-DHPmASkG.js";
|
|
9
9
|
import { I as D } from "./insert-result-BuWQl11Z.js";
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
ee as b,
|
|
335
335
|
Q as c
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=unit-converter-
|
|
337
|
+
//# sourceMappingURL=unit-converter-Bvhj9r3m.js.map
|
|
@@ -16,7 +16,7 @@ import { E as zt } from "./editable-description-CCrAEJMq.js";
|
|
|
16
16
|
import { N as Xe } from "./note-timeline-CsY8YOE7.js";
|
|
17
17
|
import { P as _t } from "./panel-header-D_mTdhUp.js";
|
|
18
18
|
import { P as Ge } from "./panel-subview-D8HGXaUa.js";
|
|
19
|
-
import { P as Ot } from "./patient-summary-card-
|
|
19
|
+
import { P as Ot } from "./patient-summary-card-A3WhxFwp.js";
|
|
20
20
|
import { S as ne } from "./section-card-XR2bW1Ie.js";
|
|
21
21
|
import { C as nn, S as ue } from "./skeleton-B1KTdJ4N.js";
|
|
22
22
|
import { T as an } from "./text-area-CDuItrvL.js";
|
|
@@ -53,7 +53,7 @@ import { P as vn } from "./phone-FceYcIFQ.js";
|
|
|
53
53
|
import { M as yn } from "./mail-BqXVF2zH.js";
|
|
54
54
|
import { M as bn } from "./map-pin-BaY37-Km.js";
|
|
55
55
|
import { C as kn } from "./calendar-days-BGWklvE-.js";
|
|
56
|
-
import { H as wn } from "./patient-field-row-
|
|
56
|
+
import { H as wn } from "./patient-field-row-Dr-ndtG8.js";
|
|
57
57
|
import { A as It } from "./armchair-BaLDW6Hz.js";
|
|
58
58
|
import { B as xn } from "./building-2-D33bLCWL.js";
|
|
59
59
|
import { N as Nn } from "./notebook-pen-CO7HoM-W.js";
|
|
@@ -2195,4 +2195,4 @@ export {
|
|
|
2195
2195
|
Kn as s,
|
|
2196
2196
|
Oi as u
|
|
2197
2197
|
};
|
|
2198
|
-
//# sourceMappingURL=use-appointment-details-read-
|
|
2198
|
+
//# sourceMappingURL=use-appointment-details-read-B6dBBgDa.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as P, useState as N, useEffect as S, useMemo as f, useCallba
|
|
|
3
3
|
import { c as _ } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as j } from "react-i18next";
|
|
5
5
|
import { D as l } from "./dialog-D52AI4nF.js";
|
|
6
|
-
import { T as z } from "./text-input-
|
|
6
|
+
import { T as z } from "./text-input-rzLEKhRU.js";
|
|
7
7
|
import { B as C } from "./badge-hnBt8o7n.js";
|
|
8
8
|
import { u as I } from "./registry-DvAUVLHh.js";
|
|
9
9
|
import { S as L } from "./search-QbWPlY5f.js";
|
|
@@ -190,4 +190,4 @@ export {
|
|
|
190
190
|
B as W,
|
|
191
191
|
R as w
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=widget-picker-
|
|
193
|
+
//# sourceMappingURL=widget-picker-Ck8HTsil.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.54.
|
|
3
|
+
"packageVersion": "1.54.3",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -19019,6 +19019,10 @@
|
|
|
19019
19019
|
{
|
|
19020
19020
|
"component": "button",
|
|
19021
19021
|
"as": "support"
|
|
19022
|
+
},
|
|
19023
|
+
{
|
|
19024
|
+
"component": "button",
|
|
19025
|
+
"as": "custom"
|
|
19022
19026
|
}
|
|
19023
19027
|
],
|
|
19024
19028
|
"workflows": [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-
|
|
1
|
+
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-B6dBBgDa.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as m } from "../../_chunks/bmi-calculator-
|
|
1
|
+
import { B as m } from "../../_chunks/bmi-calculator-CDmQk0b5.js";
|
|
2
2
|
import { b as e, a as t, c as r, d as T, e as c, f as i, i as b, k as n, l as f } from "../../_chunks/bmi-BxD-tFzU.js";
|
|
3
3
|
export {
|
|
4
4
|
m as BmiCalculator,
|
|
@@ -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-BErtJzaT.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-CfFp_1hI.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-D-xv2HMS.js";
|
|
4
4
|
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-CjzSqMgn.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e } from "../../_chunks/due-date-calculator-
|
|
1
|
+
import { D as e } from "../../_chunks/due-date-calculator-mDvGKmRV.js";
|
|
2
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-BZzgjfyd.js";
|
|
3
3
|
export {
|
|
4
4
|
r as CRL_DATING_MAX_MM,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-
|
|
1
|
+
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-Doodi6A6.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ANNOTATION_TOOL_KIND,
|
|
4
4
|
o as FACE_ANNOTATION_TOOLS,
|
|
@@ -15,6 +15,11 @@ export interface FormFieldContextShape {
|
|
|
15
15
|
* `useFormFieldControlId`.
|
|
16
16
|
*/
|
|
17
17
|
registerControlId?: (controlId: string) => () => void;
|
|
18
|
+
/**
|
|
19
|
+
* A control shows a short note under the field, e.g. that a paste was
|
|
20
|
+
* refused; `undefined` removes it. The control announces it itself.
|
|
21
|
+
*/
|
|
22
|
+
setNotice?: (notice: string | undefined) => void;
|
|
18
23
|
}
|
|
19
24
|
export declare const FormFieldContext: import("react").Context<FormFieldContextShape | null>;
|
|
20
25
|
export declare function useFormField(): FormFieldContextShape;
|