@beda.software/web-item-controls 0.1.6 → 0.1.12-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/components/BaseQuestionnaireResponseForm/hooks.d.ts +4 -4
- package/dist/components/BaseQuestionnaireResponseForm/hooks.d.ts.map +1 -1
- package/dist/components/BaseQuestionnaireResponseForm/hooks.js +28 -56
- package/dist/components/BaseQuestionnaireResponseForm/utils.js +12 -3
- package/dist/components/FormWrapper/index.d.ts +4 -3
- package/dist/components/FormWrapper/index.d.ts.map +1 -1
- package/dist/controls/Boolean/index.js +10 -10
- package/dist/controls/Display/index.js +6 -5
- package/dist/controls/EditableGroup/hooks.js +5 -5
- package/dist/controls/GroupTable/RenderFormItemReadOnly/index.js +6 -5
- package/dist/controls/GroupTable/hooks.js +13 -13
- package/dist/controls/InsideText/index.js +10 -10
- package/dist/controls/Number/index.js +37 -37
- package/dist/controls/PasswordInput/index.d.ts.map +1 -1
- package/dist/controls/PasswordInput/index.js +12 -12
- package/dist/controls/Reference/index.d.ts +3 -3
- package/dist/controls/Reference/index.d.ts.map +1 -1
- package/dist/controls/String/index.d.ts.map +1 -1
- package/dist/controls/String/index.js +31 -31
- package/dist/controls/controls.d.ts +6 -0
- package/dist/controls/controls.d.ts.map +1 -0
- package/dist/controls/controls.js +137 -0
- package/dist/controls/index.d.ts +2 -0
- package/dist/controls/index.d.ts.map +1 -1
- package/dist/controls/index.js +69 -61
- package/dist/readonly-controls/Display/index.js +6 -5
- package/dist/readonly-controls/index.d.ts +1 -0
- package/dist/readonly-controls/index.d.ts.map +1 -1
- package/dist/readonly-controls/index.js +41 -36
- package/dist/readonly-controls/readonly-controls.d.ts +6 -0
- package/dist/readonly-controls/readonly-controls.d.ts.map +1 -0
- package/dist/readonly-controls/readonly-controls.js +57 -0
- package/package.json +28 -36
- package/dist/components/BaseQuestionnaireResponseForm/controls.d.ts +0 -6
- package/dist/components/BaseQuestionnaireResponseForm/controls.d.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
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controls/String/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAI5C,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controls/String/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAI5C,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,iBAAiB,2CAmB7E;AACD,wBAAgB,aAAa,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,iBAAiB,2CAmB5E;AAED,wBAAgB,YAAY,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,iBAAiB,2CAgB3E"}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { Form as c, Input as
|
|
2
|
+
import { Form as c, Input as g } from "antd";
|
|
3
3
|
import { useFieldController as f } from "../../components/BaseQuestionnaireResponseForm/hooks.js";
|
|
4
|
-
function
|
|
5
|
-
parentPath:
|
|
4
|
+
function C({
|
|
5
|
+
parentPath: a,
|
|
6
6
|
questionItem: t
|
|
7
7
|
}) {
|
|
8
8
|
const {
|
|
9
9
|
linkId: e
|
|
10
|
-
} = t,
|
|
11
|
-
value:
|
|
12
|
-
onChange:
|
|
13
|
-
disabled:
|
|
10
|
+
} = t, r = [...a, e, 0, "value", "string"], {
|
|
11
|
+
value: o,
|
|
12
|
+
onChange: l,
|
|
13
|
+
disabled: i,
|
|
14
14
|
formItem: d,
|
|
15
15
|
onBlur: s,
|
|
16
|
-
placeholder:
|
|
17
|
-
} = f(
|
|
18
|
-
return /* @__PURE__ */ n(c.Item, { ...d, "data-testid": e, "data-linkid": e, children: /* @__PURE__ */ n(
|
|
16
|
+
placeholder: u
|
|
17
|
+
} = f(r, t);
|
|
18
|
+
return /* @__PURE__ */ n(c.Item, { ...d, "data-testid": e, "data-linkid": e, children: /* @__PURE__ */ n(g, { value: o, disabled: i, onChange: (m) => l(m.target.value), onBlur: s, placeholder: u }) });
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
parentPath:
|
|
20
|
+
function I({
|
|
21
|
+
parentPath: a,
|
|
22
22
|
questionItem: t
|
|
23
23
|
}) {
|
|
24
24
|
const {
|
|
25
25
|
linkId: e
|
|
26
|
-
} = t,
|
|
27
|
-
value:
|
|
28
|
-
onChange:
|
|
29
|
-
disabled:
|
|
26
|
+
} = t, r = [...a, e, 0, "value", "string"], {
|
|
27
|
+
value: o,
|
|
28
|
+
onChange: l,
|
|
29
|
+
disabled: i,
|
|
30
30
|
formItem: d,
|
|
31
31
|
onBlur: s,
|
|
32
|
-
placeholder:
|
|
33
|
-
} = f(
|
|
34
|
-
return /* @__PURE__ */ n(c.Item, { ...d, "data-testid": e, "data-linkid": e, children: /* @__PURE__ */ n(
|
|
32
|
+
placeholder: u
|
|
33
|
+
} = f(r, t);
|
|
34
|
+
return /* @__PURE__ */ n(c.Item, { ...d, "data-testid": e, "data-linkid": e, children: /* @__PURE__ */ n(g, { value: o, disabled: i, onChange: (m) => l(m.target.value.trim()), onBlur: s, placeholder: u }) });
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
parentPath:
|
|
36
|
+
function k({
|
|
37
|
+
parentPath: a,
|
|
38
38
|
questionItem: t
|
|
39
39
|
}) {
|
|
40
40
|
const {
|
|
41
41
|
linkId: e,
|
|
42
|
-
rowsNumber:
|
|
43
|
-
} = t,
|
|
44
|
-
value:
|
|
45
|
-
onChange:
|
|
42
|
+
rowsNumber: r = 3
|
|
43
|
+
} = t, o = [...a, e, 0, "value", "string"], {
|
|
44
|
+
value: l,
|
|
45
|
+
onChange: i,
|
|
46
46
|
disabled: d,
|
|
47
47
|
formItem: s,
|
|
48
|
-
placeholder:
|
|
49
|
-
} = f(
|
|
50
|
-
return /* @__PURE__ */ n(c.Item, { ...s, "data-testid": e, "data-linkid": e, children: /* @__PURE__ */ n(
|
|
48
|
+
placeholder: u
|
|
49
|
+
} = f(o, t);
|
|
50
|
+
return /* @__PURE__ */ n(c.Item, { ...s, "data-testid": e, "data-linkid": e, children: /* @__PURE__ */ n(g.TextArea, { value: l, rows: r, disabled: d, onChange: (m) => i(m.target.value), placeholder: u }) });
|
|
51
51
|
}
|
|
52
52
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
I as QuestionEmail,
|
|
54
|
+
C as QuestionString,
|
|
55
|
+
k as QuestionText
|
|
56
56
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GroupItemComponent, ItemControlGroupItemComponentMapping, ItemControlQuestionItemComponentMapping, QuestionItemComponentMapping } from 'sdc-qrf';
|
|
2
|
+
export declare const questionItemComponents: QuestionItemComponentMapping;
|
|
3
|
+
export declare const groupItemComponent: GroupItemComponent;
|
|
4
|
+
export declare const itemControlQuestionItemComponents: ItemControlQuestionItemComponentMapping;
|
|
5
|
+
export declare const itemControlGroupItemComponents: ItemControlGroupItemComponentMapping;
|
|
6
|
+
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../src/controls/controls.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAClB,oCAAoC,EACpC,uCAAuC,EACvC,4BAA4B,EAC/B,MAAM,SAAS,CAAC;AA6CjB,eAAO,MAAM,sBAAsB,EAAE,4BAepC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAA0B,CAAC;AAE5D,eAAO,MAAM,iCAAiC,EAAE,uCAiB/C,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,oCAmB5C,CAAC"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { AudioRecorderUploader as p } from "./AudioRecorderUploader/index.js";
|
|
2
|
+
import { Barcode as n } from "./Barcode/index.js";
|
|
3
|
+
import { BloodPressure as a } from "./BloodPressure/index.js";
|
|
4
|
+
import { QuestionBoolean as d } from "./Boolean/index.js";
|
|
5
|
+
import { QuestionChoice as i } from "./Choice/index.js";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "antd";
|
|
8
|
+
import "lodash";
|
|
9
|
+
import "moment";
|
|
10
|
+
import "react";
|
|
11
|
+
import "react-hook-form";
|
|
12
|
+
import "@beda.software/fhir-react";
|
|
13
|
+
import "@beda.software/remote-data";
|
|
14
|
+
import "classnames";
|
|
15
|
+
import "@beda.software/fhir-questionnaire";
|
|
16
|
+
import "../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.module.scss.js";
|
|
17
|
+
import "@ant-design/icons";
|
|
18
|
+
import "../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.styles.js";
|
|
19
|
+
import "./Group/context.js";
|
|
20
|
+
import "../components/DatePicker/index.js";
|
|
21
|
+
import "../services/fhir.js";
|
|
22
|
+
import { Display as s } from "./Display/index.js";
|
|
23
|
+
import { EditableGroup as u } from "./EditableGroup/index.js";
|
|
24
|
+
import { Group as l, Col as c, Row as f, Gtable as t, Grid as b, Section as g, SectionWithDivider as Q, MainCard as h, SubCard as C } from "./Group/index.js";
|
|
25
|
+
import "sdc-qrf";
|
|
26
|
+
import "./Group/GridGroup/Grid.styles.js";
|
|
27
|
+
import "@lingui/react";
|
|
28
|
+
import "@lingui/core";
|
|
29
|
+
import "./Group/GroupCard/styles.js";
|
|
30
|
+
import "./Group/RepeatableGroups/styles.js";
|
|
31
|
+
import "./Group/GTable/GTable.styles.js";
|
|
32
|
+
import { GroupTable as w } from "./GroupTable/index.js";
|
|
33
|
+
import "recharts";
|
|
34
|
+
import "styled-components";
|
|
35
|
+
import "./GroupTable/GroupTableChart/Tooltip/styles.js";
|
|
36
|
+
import "./GroupTable/utils.js";
|
|
37
|
+
import "react-audio-voice-recorder";
|
|
38
|
+
import "../components/AudioRecorder/styles.js";
|
|
39
|
+
import "@beda.software/emr-config";
|
|
40
|
+
import "../readonly-controls/ReadonlyWidgets.module.scss.js";
|
|
41
|
+
import "../readonly-controls/ReadonlyWidgets.styles.js";
|
|
42
|
+
import "yup";
|
|
43
|
+
import "fhirpath";
|
|
44
|
+
import "../utils/yup-locale.js";
|
|
45
|
+
import "antd/es/layout/layout";
|
|
46
|
+
import "antd/es/layout/Sider";
|
|
47
|
+
import "../components/Wizard/styles.js";
|
|
48
|
+
import { GroupWizard as m, GroupWizardWithTooltips as G, GroupWizardVertical as I } from "./GroupWizard/index.js";
|
|
49
|
+
import "../readonly-controls/GroupWizard/styles.js";
|
|
50
|
+
import "react-markdown";
|
|
51
|
+
import "rehype-raw";
|
|
52
|
+
import "remark-directive";
|
|
53
|
+
import "remark-gfm";
|
|
54
|
+
import "../components/RenderImage/cache.js";
|
|
55
|
+
import "../components/RenderImage/styles.js";
|
|
56
|
+
import "../readonly-controls/MarkdownRender/styles.js";
|
|
57
|
+
import { QuestionReference as T } from "./Reference/index.js";
|
|
58
|
+
import "./GroupTable/RenderFormItemReadOnly/styles.js";
|
|
59
|
+
import { GroupTabs as x } from "./GroupTabs/index.js";
|
|
60
|
+
import { InlineChoice as o } from "./InlineChoice/index.js";
|
|
61
|
+
import { InlineReference as e } from "./InlineReference/index.js";
|
|
62
|
+
import { QuestionInputInsideText as W } from "./InsideText/index.js";
|
|
63
|
+
import { MDEditorControl as z } from "./MDEditorControl/index.js";
|
|
64
|
+
import "@mdxeditor/editor";
|
|
65
|
+
import "@mdxeditor/editor/style.css";
|
|
66
|
+
import "react-dom/server";
|
|
67
|
+
import "./MDEditorControl/MarkDownEditor/context.js";
|
|
68
|
+
import "./MDEditorControl/MarkDownEditor/ImageEdit/styles.js";
|
|
69
|
+
import "./MDEditorControl/MarkDownEditor/styles.js";
|
|
70
|
+
import { QuestionDecimal as R, QuestionInteger as S, QuestionQuantity as D } from "./Number/index.js";
|
|
71
|
+
import { PasswordInput as k } from "./PasswordInput/index.js";
|
|
72
|
+
import { QuestionPhone as v } from "./PhoneInput/index.js";
|
|
73
|
+
import { QuestionDateTime as r } from "./QuestionDateTime/index.js";
|
|
74
|
+
import { QuestionSolidRadio as y } from "./Radio/index.js";
|
|
75
|
+
import { QuestionSlider as P } from "./Slider/index.js";
|
|
76
|
+
import { QuestionText as B, QuestionString as E, QuestionEmail as M } from "./String/index.js";
|
|
77
|
+
import { TextWithMacroFill as q } from "./TextWithMacroFill/index.js";
|
|
78
|
+
import { TimeRangePickerControl as F } from "./TimeRangePickerControl/index.js";
|
|
79
|
+
import { UploadFileControl as U } from "./UploadFileControl/index.js";
|
|
80
|
+
const lr = {
|
|
81
|
+
text: B,
|
|
82
|
+
string: E,
|
|
83
|
+
decimal: R,
|
|
84
|
+
integer: S,
|
|
85
|
+
date: r,
|
|
86
|
+
dateTime: r,
|
|
87
|
+
time: r,
|
|
88
|
+
choice: i,
|
|
89
|
+
"open-choice": i,
|
|
90
|
+
boolean: d,
|
|
91
|
+
display: s,
|
|
92
|
+
reference: T,
|
|
93
|
+
quantity: D,
|
|
94
|
+
attachment: U
|
|
95
|
+
}, cr = l, fr = {
|
|
96
|
+
phoneWidget: v,
|
|
97
|
+
email: M,
|
|
98
|
+
passwordWidget: k,
|
|
99
|
+
slider: P,
|
|
100
|
+
"solid-radio-button": y,
|
|
101
|
+
"inline-choice": o,
|
|
102
|
+
"inline-reference": e,
|
|
103
|
+
"text-with-macro": q,
|
|
104
|
+
"radio-button": o,
|
|
105
|
+
"check-box": o,
|
|
106
|
+
"input-inside-text": W,
|
|
107
|
+
"markdown-editor": z,
|
|
108
|
+
"audio-recorder-uploader": p,
|
|
109
|
+
barcode: n,
|
|
110
|
+
// reference-radio-button is deprecated, use inline-reference instead
|
|
111
|
+
"reference-radio-button": e
|
|
112
|
+
}, br = {
|
|
113
|
+
col: c,
|
|
114
|
+
row: f,
|
|
115
|
+
gtable: t,
|
|
116
|
+
table: t,
|
|
117
|
+
grid: b,
|
|
118
|
+
section: g,
|
|
119
|
+
"section-with-divider": Q,
|
|
120
|
+
"main-card": h,
|
|
121
|
+
"sub-card": C,
|
|
122
|
+
"blood-pressure": a,
|
|
123
|
+
"time-range-picker": F,
|
|
124
|
+
wizard: m,
|
|
125
|
+
"wizard-with-tooltips": G,
|
|
126
|
+
"wizard-navigation-group": m,
|
|
127
|
+
"wizard-vertical": I,
|
|
128
|
+
"group-tabs": x,
|
|
129
|
+
"group-table": w,
|
|
130
|
+
"editable-group": u
|
|
131
|
+
};
|
|
132
|
+
export {
|
|
133
|
+
cr as groupItemComponent,
|
|
134
|
+
br as itemControlGroupItemComponents,
|
|
135
|
+
fr as itemControlQuestionItemComponents,
|
|
136
|
+
lr as questionItemComponents
|
|
137
|
+
};
|
package/dist/controls/index.d.ts
CHANGED
|
@@ -41,4 +41,6 @@ export * from './TimeRangePickerControl';
|
|
|
41
41
|
export * from './TimeRangePickerControl/hooks';
|
|
42
42
|
export * from './UploadFileControl';
|
|
43
43
|
export * from './UploadFileControl/hooks';
|
|
44
|
+
export * from './controls';
|
|
45
|
+
export * from '../components/BaseQuestionnaireResponseForm/utils';
|
|
44
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/controls/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,C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;AACzC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAE3B,cAAc,oDAAoD,CAAC"}
|
package/dist/controls/index.js
CHANGED
|
@@ -1,113 +1,121 @@
|
|
|
1
1
|
import "../style.css";
|
|
2
|
-
import { AudioRecorderUploader as
|
|
3
|
-
import { Barcode as
|
|
2
|
+
import { AudioRecorderUploader as r } from "./AudioRecorderUploader/index.js";
|
|
3
|
+
import { Barcode as p } from "./Barcode/index.js";
|
|
4
4
|
import { BloodPressure as m } from "./BloodPressure/index.js";
|
|
5
|
-
import { QuestionBoolean as
|
|
5
|
+
import { QuestionBoolean as a } from "./Boolean/index.js";
|
|
6
6
|
import { ChoiceQuestionSelect as x, ChoiceQuestionValueSet as f, QuestionChoice as l } from "./Choice/index.js";
|
|
7
|
-
import { DateTimeSlotPicker as
|
|
8
|
-
import { Display as
|
|
9
|
-
import { EditableGroup as
|
|
10
|
-
import { Col as
|
|
11
|
-
import { GroupContext as
|
|
12
|
-
import { GridGroup as
|
|
7
|
+
import { DateTimeSlotPicker as d, usePractitionerRoleId as G } from "./DateTimeSlotPicker/index.js";
|
|
8
|
+
import { Display as c, TextWithLink as Q } from "./Display/index.js";
|
|
9
|
+
import { EditableGroup as g } from "./EditableGroup/index.js";
|
|
10
|
+
import { Col as T, Grid as I, Group as b, Gtable as S, MainCard as W, Row as P, Section as D, SectionWithDivider as M, SubCard as E } from "./Group/index.js";
|
|
11
|
+
import { GroupContext as w } from "./Group/context.js";
|
|
12
|
+
import { GridGroup as F } from "./Group/GridGroup/index.js";
|
|
13
13
|
import { GroupCard as y, GroupMainCard as A, GroupSubCard as U } from "./Group/GroupCard/index.js";
|
|
14
14
|
import { GTable as V } from "./Group/GTable/index.js";
|
|
15
|
-
import { RepeatableGroups as
|
|
16
|
-
import { RepeatableGroupCard as
|
|
17
|
-
import { GroupTable as
|
|
15
|
+
import { RepeatableGroups as v } from "./Group/RepeatableGroups/index.js";
|
|
16
|
+
import { RepeatableGroupCard as O } from "./Group/RepeatableGroups/RepeatableGroupCard/index.js";
|
|
17
|
+
import { GroupTable as j } from "./GroupTable/index.js";
|
|
18
18
|
import { GroupTableChart as K } from "./GroupTable/GroupTableChart/index.js";
|
|
19
19
|
import { HighlightArea as X } from "./GroupTable/GroupTableChart/HighlightArea/component.js";
|
|
20
20
|
import { getHighlightYParams as _ } from "./GroupTable/GroupTableChart/HighlightArea/utils.js";
|
|
21
21
|
import { Tooltip as oo } from "./GroupTable/GroupTableChart/Tooltip/index.js";
|
|
22
|
-
import { RenderFormItemReadOnly as
|
|
23
|
-
import { GroupTabs as
|
|
24
|
-
import { GroupWizard as mo, GroupWizardBus as
|
|
22
|
+
import { RenderFormItemReadOnly as ro } from "./GroupTable/RenderFormItemReadOnly/index.js";
|
|
23
|
+
import { GroupTabs as po } from "./GroupTabs/index.js";
|
|
24
|
+
import { GroupWizard as mo, GroupWizardBus as no, GroupWizardVertical as ao, GroupWizardWithTooltips as uo, getGroupStats as xo } from "./GroupWizard/index.js";
|
|
25
25
|
import { InlineChoice as lo } from "./InlineChoice/index.js";
|
|
26
26
|
import { InlineReference as Go } from "./InlineReference/index.js";
|
|
27
|
-
import { QuestionInputInsideText as
|
|
27
|
+
import { QuestionInputInsideText as co } from "./InsideText/index.js";
|
|
28
28
|
import { MDEditorControl as Ro } from "./MDEditorControl/index.js";
|
|
29
|
-
import { MarkDownEditor as
|
|
30
|
-
import { ImageEditModal as
|
|
31
|
-
import { QuestionDecimal as
|
|
29
|
+
import { MarkDownEditor as ho } from "./MDEditorControl/MarkDownEditor/index.js";
|
|
30
|
+
import { ImageEditModal as Io } from "./MDEditorControl/MarkDownEditor/ImageEdit/index.js";
|
|
31
|
+
import { QuestionDecimal as So, QuestionInteger as Wo, QuestionQuantity as Po } from "./Number/index.js";
|
|
32
32
|
import { PasswordInput as Mo } from "./PasswordInput/index.js";
|
|
33
|
-
import { QuestionPhone as
|
|
33
|
+
import { QuestionPhone as ko } from "./PhoneInput/index.js";
|
|
34
34
|
import { QuestionDateTime as zo } from "./QuestionDateTime/index.js";
|
|
35
|
-
import { QuestionSolidRadio as
|
|
35
|
+
import { QuestionSolidRadio as Bo } from "./Radio/index.js";
|
|
36
36
|
import { QuestionReference as Ao, useAnswerReference as Uo, useFieldReference as Ho } from "./Reference/index.js";
|
|
37
|
-
import { QuestionSlider as
|
|
38
|
-
import { QuestionEmail as
|
|
37
|
+
import { QuestionSlider as qo } from "./Slider/index.js";
|
|
38
|
+
import { QuestionEmail as Lo, QuestionString as Oo, QuestionText as Yo } from "./String/index.js";
|
|
39
39
|
import { TextWithMacroFill as Jo } from "./TextWithMacroFill/index.js";
|
|
40
40
|
import { TimeRangePickerControl as No } from "./TimeRangePickerControl/index.js";
|
|
41
41
|
import { useTimeRangePickerControl as Zo } from "./TimeRangePickerControl/hooks.js";
|
|
42
42
|
import { UploadFileControl as $o } from "./UploadFileControl/index.js";
|
|
43
|
-
import { useUploader as
|
|
44
|
-
import {
|
|
43
|
+
import { useUploader as ee } from "./UploadFileControl/hooks.js";
|
|
44
|
+
import { groupItemComponent as te, itemControlGroupItemComponents as pe, itemControlQuestionItemComponents as ie, questionItemComponents as me } from "./controls.js";
|
|
45
|
+
import { getFieldErrorMessage as ae, isGroupWizard as ue } from "../components/BaseQuestionnaireResponseForm/utils.js";
|
|
46
|
+
import { RepeatableGroupRow as fe } from "./Group/RepeatableGroups/RepeatableGroupRow.js";
|
|
45
47
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
r as AudioRecorderUploader,
|
|
49
|
+
p as Barcode,
|
|
48
50
|
m as BloodPressure,
|
|
49
51
|
x as ChoiceQuestionSelect,
|
|
50
52
|
f as ChoiceQuestionValueSet,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
T as Col,
|
|
54
|
+
d as DateTimeSlotPicker,
|
|
55
|
+
c as Display,
|
|
56
|
+
g as EditableGroup,
|
|
55
57
|
V as GTable,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
I as Grid,
|
|
59
|
+
F as GridGroup,
|
|
60
|
+
b as Group,
|
|
59
61
|
y as GroupCard,
|
|
60
|
-
|
|
62
|
+
w as GroupContext,
|
|
61
63
|
A as GroupMainCard,
|
|
62
64
|
U as GroupSubCard,
|
|
63
|
-
|
|
65
|
+
j as GroupTable,
|
|
64
66
|
K as GroupTableChart,
|
|
65
|
-
|
|
67
|
+
po as GroupTabs,
|
|
66
68
|
mo as GroupWizard,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
no as GroupWizardBus,
|
|
70
|
+
ao as GroupWizardVertical,
|
|
69
71
|
uo as GroupWizardWithTooltips,
|
|
70
|
-
|
|
72
|
+
S as Gtable,
|
|
71
73
|
X as HighlightArea,
|
|
72
|
-
|
|
74
|
+
Io as ImageEditModal,
|
|
73
75
|
lo as InlineChoice,
|
|
74
76
|
Go as InlineReference,
|
|
75
77
|
Ro as MDEditorControl,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
W as MainCard,
|
|
79
|
+
ho as MarkDownEditor,
|
|
78
80
|
Mo as PasswordInput,
|
|
79
|
-
|
|
81
|
+
a as QuestionBoolean,
|
|
80
82
|
l as QuestionChoice,
|
|
81
83
|
zo as QuestionDateTime,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
So as QuestionDecimal,
|
|
85
|
+
Lo as QuestionEmail,
|
|
86
|
+
co as QuestionInputInsideText,
|
|
87
|
+
Wo as QuestionInteger,
|
|
88
|
+
ko as QuestionPhone,
|
|
89
|
+
Po as QuestionQuantity,
|
|
88
90
|
Ao as QuestionReference,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
qo as QuestionSlider,
|
|
92
|
+
Bo as QuestionSolidRadio,
|
|
93
|
+
Oo as QuestionString,
|
|
94
|
+
Yo as QuestionText,
|
|
95
|
+
ro as RenderFormItemReadOnly,
|
|
96
|
+
O as RepeatableGroupCard,
|
|
97
|
+
fe as RepeatableGroupRow,
|
|
98
|
+
v as RepeatableGroups,
|
|
99
|
+
P as Row,
|
|
98
100
|
D as Section,
|
|
99
101
|
M as SectionWithDivider,
|
|
100
|
-
|
|
102
|
+
E as SubCard,
|
|
101
103
|
Q as TextWithLink,
|
|
102
104
|
Jo as TextWithMacroFill,
|
|
103
105
|
No as TimeRangePickerControl,
|
|
104
106
|
oo as Tooltip,
|
|
105
107
|
$o as UploadFileControl,
|
|
108
|
+
ae as getFieldErrorMessage,
|
|
106
109
|
xo as getGroupStats,
|
|
107
110
|
_ as getHighlightYParams,
|
|
111
|
+
te as groupItemComponent,
|
|
112
|
+
ue as isGroupWizard,
|
|
113
|
+
pe as itemControlGroupItemComponents,
|
|
114
|
+
ie as itemControlQuestionItemComponents,
|
|
115
|
+
me as questionItemComponents,
|
|
108
116
|
Uo as useAnswerReference,
|
|
109
117
|
Ho as useFieldReference,
|
|
110
118
|
G as usePractitionerRoleId,
|
|
111
119
|
Zo as useTimeRangePickerControl,
|
|
112
|
-
|
|
120
|
+
ee as useUploader
|
|
113
121
|
};
|
|
@@ -9,9 +9,7 @@ import "@beda.software/fhir-react";
|
|
|
9
9
|
import "../../components/AudioRecorder/styles.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "@beda.software/remote-data";
|
|
12
|
-
import "
|
|
13
|
-
import "react-hook-form";
|
|
14
|
-
import "sdc-qrf";
|
|
12
|
+
import "@beda.software/fhir-questionnaire";
|
|
15
13
|
import "../../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.module.scss.js";
|
|
16
14
|
import "../../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.styles.js";
|
|
17
15
|
import "../../controls/Group/context.js";
|
|
@@ -20,12 +18,15 @@ import "../../services/fhir.js";
|
|
|
20
18
|
import t from "../ReadonlyWidgets.module.scss.js";
|
|
21
19
|
import { S as u } from "../ReadonlyWidgets.styles.js";
|
|
22
20
|
import "@lingui/core";
|
|
21
|
+
import "lodash";
|
|
23
22
|
import "yup";
|
|
23
|
+
import "sdc-qrf";
|
|
24
24
|
import "fhirpath";
|
|
25
25
|
import "../../utils/yup-locale.js";
|
|
26
26
|
import "antd/es/layout/layout";
|
|
27
27
|
import "styled-components";
|
|
28
28
|
import "antd/es/layout/Sider";
|
|
29
|
+
import "react-hook-form";
|
|
29
30
|
import "../../components/Wizard/styles.js";
|
|
30
31
|
import "../../controls/GroupWizard/index.js";
|
|
31
32
|
import "../GroupWizard/styles.js";
|
|
@@ -35,7 +36,7 @@ import "react-select/async";
|
|
|
35
36
|
import "../../components/Select/styles.js";
|
|
36
37
|
import "fhirpath/fhir-context/r4";
|
|
37
38
|
import "../../sharedState/index.js";
|
|
38
|
-
function
|
|
39
|
+
function Z({
|
|
39
40
|
questionItem: n
|
|
40
41
|
}) {
|
|
41
42
|
var m, p;
|
|
@@ -47,5 +48,5 @@ function Y({
|
|
|
47
48
|
return e || !o || o === "" ? null : /* @__PURE__ */ r(u.Question, { className: a(t.question, t.column, "form__question"), children: /* @__PURE__ */ r("span", { className: t.questionText, children: s ? /* @__PURE__ */ r(d, { text: o }) : /* @__PURE__ */ r(c, { text: o }) }) });
|
|
48
49
|
}
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
+
Z as Display
|
|
51
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/readonly-controls/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/readonly-controls/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,45 +1,50 @@
|
|
|
1
1
|
import "../style.css";
|
|
2
|
-
import { AudioAttachment as
|
|
3
|
-
import { QuestionBoolean as
|
|
2
|
+
import { AudioAttachment as r } from "./AudioAttachment/index.js";
|
|
3
|
+
import { QuestionBoolean as n } from "./Boolean/index.js";
|
|
4
4
|
import { QuestionChoice as p } from "./Choice/index.js";
|
|
5
|
-
import { QuestionDateTime as
|
|
6
|
-
import { Display as
|
|
7
|
-
import { Col as
|
|
8
|
-
import { GroupSidebarNavigation as
|
|
9
|
-
import { NavigationGroup as
|
|
10
|
-
import { GroupWizard as
|
|
11
|
-
import { MarkdownCard as
|
|
12
|
-
import { QuestionDecimal as
|
|
13
|
-
import { QuestionReference as
|
|
5
|
+
import { QuestionDateTime as a } from "./DateTime/index.js";
|
|
6
|
+
import { Display as x } from "./Display/index.js";
|
|
7
|
+
import { Col as s, Group as d, Row as l } from "./Group/index.js";
|
|
8
|
+
import { GroupSidebarNavigation as Q } from "./Group/GroupSidebarNavigation/index.js";
|
|
9
|
+
import { NavigationGroup as G } from "./Group/NavigationGroup/index.js";
|
|
10
|
+
import { GroupWizard as g, GroupWizardVertical as k } from "./GroupWizard/index.js";
|
|
11
|
+
import { MarkdownCard as D, MarkdownDisplay as R, MarkdownRender as y, MarkdownRenderControl as M } from "./MarkdownRender/index.js";
|
|
12
|
+
import { QuestionDecimal as h, QuestionInteger as A, QuestionQuantity as S } from "./Number/index.js";
|
|
13
|
+
import { QuestionReference as v } from "./Reference/index.js";
|
|
14
14
|
import { AnxietyScore as N, DepressionScore as b } from "./Score/index.js";
|
|
15
|
-
import { QuestionText as
|
|
16
|
-
import { TimeRangePickerControl as
|
|
17
|
-
import { UploadFile as
|
|
15
|
+
import { QuestionText as B, TextWithInput as F } from "./String/index.js";
|
|
16
|
+
import { TimeRangePickerControl as U } from "./TimeRangePickerControl/index.js";
|
|
17
|
+
import { UploadFile as j } from "./UploadFile/index.js";
|
|
18
|
+
import { groupItemComponent as H, itemControlGroupItemComponents as J, itemControlQuestionItemComponents as K, questionItemComponents as L } from "./readonly-controls.js";
|
|
18
19
|
export {
|
|
19
20
|
N as AnxietyScore,
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
r as AudioAttachment,
|
|
22
|
+
s as Col,
|
|
22
23
|
b as DepressionScore,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
x as Display,
|
|
25
|
+
d as Group,
|
|
26
|
+
Q as GroupSidebarNavigation,
|
|
27
|
+
g as GroupWizard,
|
|
28
|
+
k as GroupWizardVertical,
|
|
29
|
+
D as MarkdownCard,
|
|
30
|
+
R as MarkdownDisplay,
|
|
31
|
+
y as MarkdownRender,
|
|
32
|
+
M as MarkdownRenderControl,
|
|
33
|
+
G as NavigationGroup,
|
|
34
|
+
n as QuestionBoolean,
|
|
34
35
|
p as QuestionChoice,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
a as QuestionDateTime,
|
|
37
|
+
h as QuestionDecimal,
|
|
38
|
+
A as QuestionInteger,
|
|
39
|
+
S as QuestionQuantity,
|
|
40
|
+
v as QuestionReference,
|
|
41
|
+
B as QuestionText,
|
|
41
42
|
l as Row,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
F as TextWithInput,
|
|
44
|
+
U as TimeRangePickerControl,
|
|
45
|
+
j as UploadFile,
|
|
46
|
+
H as groupItemComponent,
|
|
47
|
+
J as itemControlGroupItemComponents,
|
|
48
|
+
K as itemControlQuestionItemComponents,
|
|
49
|
+
L as questionItemComponents
|
|
45
50
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GroupItemComponent, ItemControlGroupItemComponentMapping, ItemControlQuestionItemComponentMapping, QuestionItemComponentMapping } from 'sdc-qrf';
|
|
2
|
+
export declare const questionItemComponents: QuestionItemComponentMapping;
|
|
3
|
+
export declare const groupItemComponent: GroupItemComponent;
|
|
4
|
+
export declare const itemControlQuestionItemComponents: ItemControlQuestionItemComponentMapping;
|
|
5
|
+
export declare const itemControlGroupItemComponents: ItemControlGroupItemComponentMapping;
|
|
6
|
+
//# sourceMappingURL=readonly-controls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readonly-controls.d.ts","sourceRoot":"","sources":["../../src/readonly-controls/readonly-controls.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAClB,oCAAoC,EACpC,uCAAuC,EACvC,4BAA4B,EAC/B,MAAM,SAAS,CAAC;AA4BjB,eAAO,MAAM,sBAAsB,EAAE,4BAcpC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAA0B,CAAC;AAE5D,eAAO,MAAM,iCAAiC,EAAE,uCAS/C,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,oCAM5C,CAAC"}
|