@beda.software/web-item-controls 0.1.25-group-new-design.8 → 0.1.26
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/README.md +4 -0
- package/dist/components/ModalQuestionnaireGroupItem/hooks.js +7 -10
- package/dist/components/ModalQuestionnaireGroupItem/index.js +6 -4
- package/dist/components/SearchBar/SearchBarColumn/ReferenceColumn/index.js +2 -2
- package/dist/components/SearchBar/SearchBarMobile/styles.js +3 -3
- package/dist/components/Table/index.js +1 -1
- package/dist/controls/DateTimeSlotPicker/index.js +4 -4
- package/dist/controls/Display/index.js +5 -7
- package/dist/controls/Group/RepeatableGroups/RepeatableGroupCard/index.d.ts.map +1 -1
- package/dist/controls/Group/RepeatableGroups/RepeatableGroupCard/index.js +14 -15
- package/dist/controls/Group/RepeatableGroups/RepeatableGroupRow.d.ts.map +1 -1
- package/dist/controls/Group/RepeatableGroups/RepeatableGroupRow.js +11 -12
- package/dist/controls/Group/RepeatableGroups/index.d.ts.map +1 -1
- package/dist/controls/Group/RepeatableGroups/index.js +26 -27
- package/dist/controls/Group/group.module.scss.js +6 -10
- package/dist/controls/Group/index.d.ts.map +1 -1
- package/dist/controls/Group/index.js +45 -47
- package/dist/controls/GroupTable/RenderFormItemReadOnly/index.js +6 -7
- package/dist/controls/GroupTable/hooks.d.ts +0 -1
- package/dist/controls/GroupTable/hooks.d.ts.map +1 -1
- package/dist/controls/GroupTable/hooks.js +175 -177
- package/dist/controls/GroupTable/index.d.ts.map +1 -1
- package/dist/controls/GroupTable/index.js +38 -39
- package/dist/controls/GroupWizard/GroupWizard.stories.utils.d.ts +1 -1
- package/dist/controls/GroupWizard/GroupWizard.stories.utils.d.ts.map +1 -1
- package/dist/controls/GroupWizard/index.d.ts +1 -61
- package/dist/controls/GroupWizard/index.d.ts.map +1 -1
- package/dist/controls/ImageAnnotation/AnnotationImage.d.ts +16 -0
- package/dist/controls/ImageAnnotation/AnnotationImage.d.ts.map +1 -0
- package/dist/controls/ImageAnnotation/AnnotationImage.js +37 -0
- package/dist/controls/ImageAnnotation/index.d.ts +9 -0
- package/dist/controls/ImageAnnotation/index.d.ts.map +1 -0
- package/dist/controls/ImageAnnotation/index.js +121 -0
- package/dist/controls/ImageAnnotation/styles.d.ts +21 -0
- package/dist/controls/ImageAnnotation/styles.d.ts.map +1 -0
- package/dist/controls/ImageAnnotation/styles.js +66 -0
- package/dist/controls/ImageAnnotation/utils.d.ts +3 -0
- package/dist/controls/ImageAnnotation/utils.d.ts.map +1 -0
- package/dist/controls/ImageAnnotation/utils.js +9 -0
- package/dist/controls/MDEditorControl/MarkDownEditor/directives.js +3 -3
- package/dist/controls/MDEditorControl/MarkDownEditor/hooks.js +1 -1
- package/dist/controls/Reference/index.js +2 -2
- package/dist/controls/UploadFileControl/hooks.js +3 -4
- package/dist/controls/UploadFileControl/index.js +1 -1
- package/dist/controls/controls.d.ts.map +1 -1
- package/dist/controls/controls.js +51 -56
- package/dist/controls/index.d.ts +1 -1
- package/dist/controls/index.d.ts.map +1 -1
- package/dist/controls/index.js +44 -46
- package/dist/ext/d3-array/src/bisect.js +6 -7
- package/dist/ext/d3-array/src/bisector.js +2 -4
- package/dist/ext/d3-array/src/ticks.js +7 -18
- package/dist/ext/d3-color/src/color.js +3 -6
- package/dist/ext/d3-color/src/define.js +1 -2
- package/dist/ext/d3-format/src/defaultLocale.js +3 -4
- package/dist/ext/d3-format/src/formatDecimal.js +1 -2
- package/dist/ext/d3-format/src/formatPrefixAuto.js +1 -2
- package/dist/ext/d3-format/src/formatRounded.js +1 -2
- package/dist/ext/d3-format/src/formatSpecifier.js +1 -2
- package/dist/ext/d3-format/src/formatTrim.js +13 -15
- package/dist/ext/d3-interpolate/src/array.js +3 -6
- package/dist/ext/d3-interpolate/src/numberArray.js +1 -2
- package/dist/ext/d3-interpolate/src/object.js +1 -2
- package/dist/ext/d3-interpolate/src/string.js +1 -2
- package/dist/ext/d3-scale/src/continuous.js +4 -4
- package/dist/ext/unist-util-is/lib/index.js +2 -4
- package/dist/locale/de/messages.d.ts.map +1 -1
- package/dist/locale/de/messages.js +1 -4
- package/dist/locale/en/messages.d.ts.map +1 -1
- package/dist/locale/en/messages.js +1 -4
- package/dist/locale/es/messages.d.ts.map +1 -1
- package/dist/locale/es/messages.js +1 -4
- package/dist/locale/ru/messages.d.ts.map +1 -1
- package/dist/locale/ru/messages.js +1 -4
- package/dist/readonly-controls/Display/index.js +4 -4
- package/dist/readonly-controls/Group/index.d.ts.map +1 -1
- package/dist/readonly-controls/Group/index.js +25 -27
- package/dist/readonly-controls/ImageAnnotation/index.d.ts +4 -0
- package/dist/readonly-controls/ImageAnnotation/index.d.ts.map +1 -0
- package/dist/readonly-controls/ImageAnnotation/index.js +45 -0
- package/dist/readonly-controls/MarkdownRender/index.d.ts.map +1 -1
- package/dist/readonly-controls/MarkdownRender/index.js +51 -41
- package/dist/readonly-controls/index.d.ts +1 -1
- package/dist/readonly-controls/index.d.ts.map +1 -1
- package/dist/readonly-controls/index.js +17 -17
- package/dist/readonly-controls/readonly-controls.d.ts.map +1 -1
- package/dist/readonly-controls/readonly-controls.js +33 -42
- package/dist/services/fhir.js +73 -46
- package/dist/services/i18n.js +12 -33
- package/dist/style.css +1 -1
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/date.js +1 -1
- package/dist/utils/fhirpath.d.ts +1 -0
- package/dist/utils/fhirpath.d.ts.map +1 -1
- package/dist/utils/fhirpath.js +3 -2
- package/dist/utils/questionnaire.d.ts +0 -1
- package/dist/utils/questionnaire.d.ts.map +1 -1
- package/dist/utils/questionnaire.js +17 -23
- package/package.json +18 -13
- package/src/locale/de/messages.po +39 -48
- package/src/locale/de/messages.ts +1 -1
- package/src/locale/en/messages.po +39 -48
- package/src/locale/en/messages.ts +1 -1
- package/src/locale/es/messages.po +39 -48
- package/src/locale/es/messages.ts +1 -1
- package/src/locale/ru/messages.po +39 -48
- package/src/locale/ru/messages.ts +1 -1
- package/dist/components/Table/table.scss.js +0 -4
- package/dist/containers/App/utils.d.ts +0 -6
- package/dist/containers/App/utils.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/GroupWizardSidebar.stories.utils.d.ts +0 -10
- package/dist/controls/GroupWizard/GroupWizardSidebar/GroupWizardSidebar.stories.utils.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/ParentPreviewFields.d.ts +0 -9
- package/dist/controls/GroupWizard/GroupWizardSidebar/ParentPreviewFields.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/ParentPreviewFields.js +0 -29
- package/dist/controls/GroupWizard/GroupWizardSidebar/SidebarMenu.d.ts +0 -14
- package/dist/controls/GroupWizard/GroupWizardSidebar/SidebarMenu.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/SidebarMenu.js +0 -94
- package/dist/controls/GroupWizard/GroupWizardSidebar/index.d.ts +0 -5
- package/dist/controls/GroupWizard/GroupWizardSidebar/index.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/index.js +0 -152
- package/dist/controls/GroupWizard/GroupWizardSidebar/styles.d.ts +0 -35
- package/dist/controls/GroupWizard/GroupWizardSidebar/styles.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/styles.js +0 -106
- package/dist/controls/GroupWizard/GroupWizardSidebar/types.d.ts +0 -21
- package/dist/controls/GroupWizard/GroupWizardSidebar/types.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/utils.d.ts +0 -12
- package/dist/controls/GroupWizard/GroupWizardSidebar/utils.d.ts.map +0 -1
- package/dist/controls/GroupWizard/GroupWizardSidebar/utils.js +0 -99
- package/dist/readonly-controls/GroupWizardSidebar/index.d.ts +0 -3
- package/dist/readonly-controls/GroupWizardSidebar/index.d.ts.map +0 -1
- package/dist/readonly-controls/GroupWizardSidebar/index.js +0 -104
- package/dist/utils/constants.js +0 -4
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@ Reusable FHIR Questionnaire web itemControls and readonly itemControls for Beda-
|
|
|
4
4
|
|
|
5
5
|
This repository is a package, not a standalone frontend application. Storybook is the local development surface, and the library build publishes only the package entry points described below.
|
|
6
6
|
|
|
7
|
+
## Storybook
|
|
8
|
+
|
|
9
|
+
The latest published Storybook (most recent `master` build on Chromatic): https://master--6a0186ef4bcbb3928488373e.chromatic.com
|
|
10
|
+
|
|
7
11
|
## Public API
|
|
8
12
|
|
|
9
13
|
Only these package subpaths are supported:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useMemo as
|
|
1
|
+
import I from "lodash";
|
|
2
|
+
import { useMemo as S, useContext as v } from "react";
|
|
3
3
|
import { useFormContext as V } from "react-hook-form";
|
|
4
4
|
import { questionnaireItemsToValidationSchema as k } from "@beda.software/fhir-questionnaire/components";
|
|
5
5
|
import { BaseQuestionnaireResponseFormPropsContext as C } from "@beda.software/fhir-questionnaire/contexts";
|
|
@@ -16,21 +16,18 @@ function $(m) {
|
|
|
16
16
|
} = u, {
|
|
17
17
|
item: d,
|
|
18
18
|
linkId: o
|
|
19
|
-
} = r, p =
|
|
19
|
+
} = r, p = S(() => [...e, o, "items", ...t !== void 0 ? [t.toString()] : []], [e, o, t]), {
|
|
20
20
|
trigger: n,
|
|
21
21
|
getValues: f
|
|
22
22
|
} = V() ?? {
|
|
23
|
-
trigger: void 0
|
|
24
|
-
formState: {
|
|
25
|
-
isSubmitted: !1
|
|
26
|
-
}
|
|
23
|
+
trigger: void 0
|
|
27
24
|
}, s = v(C);
|
|
28
25
|
if (t === void 0)
|
|
29
26
|
return null;
|
|
30
|
-
const h =
|
|
27
|
+
const h = I.get(f(), p), a = !!r.repeats, g = a ? `${i} ${t + 1}` : i, x = a ? [...e, o, "items", t.toString()] : [...e, o, "items"];
|
|
31
28
|
return {
|
|
32
|
-
modalTitle:
|
|
33
|
-
modalParentPath:
|
|
29
|
+
modalTitle: g,
|
|
30
|
+
modalParentPath: x,
|
|
34
31
|
handleOk: async () => {
|
|
35
32
|
await (n == null ? void 0 : n()), k(d, s == null ? void 0 : s.customYupTests).isValidSync(h) === !1 || c();
|
|
36
33
|
},
|
|
@@ -12,7 +12,7 @@ import "../Select/styles.js";
|
|
|
12
12
|
import "lodash";
|
|
13
13
|
import "../../contexts/valueset-expand.js";
|
|
14
14
|
import "../../contexts/markdown-editor-context.js";
|
|
15
|
-
import "
|
|
15
|
+
import "../SearchBar/SearchBarColumn/DateColumn/index.js";
|
|
16
16
|
import "@lingui/core";
|
|
17
17
|
import "yup";
|
|
18
18
|
import "@beda.software/fhir-react";
|
|
@@ -23,15 +23,17 @@ import "../../services/fhir.js";
|
|
|
23
23
|
import "fhirpath/fhir-context/r4";
|
|
24
24
|
import "../../sharedState/index.js";
|
|
25
25
|
import "@ant-design/icons";
|
|
26
|
+
import "../Typography.js";
|
|
26
27
|
import "../SearchBar/SearchBarMobile/styles.js";
|
|
27
28
|
import "../SearchBar/styles.js";
|
|
29
|
+
import "moment";
|
|
28
30
|
import "../Table/styles.js";
|
|
29
31
|
import "../Table/TableCards/styles.js";
|
|
30
|
-
|
|
32
|
+
/* empty css */
|
|
31
33
|
import "../TimePicker/index.js";
|
|
32
34
|
import m from "../BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.module.scss.js";
|
|
33
35
|
import { useModalQuestionnaireGroupItem as I } from "./hooks.js";
|
|
34
|
-
function
|
|
36
|
+
function Z(t) {
|
|
35
37
|
const {
|
|
36
38
|
open: i,
|
|
37
39
|
groupItem: e,
|
|
@@ -52,5 +54,5 @@ function X(t) {
|
|
|
52
54
|
return /* @__PURE__ */ o(h, { title: u, open: i, onOk: a, onCancel: p, destroyOnClose: !0, closable: !1, children: /* @__PURE__ */ o("div", { className: d(m.content, "form__content", m.form), children: /* @__PURE__ */ o(f, { questionItems: s, parentPath: [...c], context: l }) }) });
|
|
53
55
|
}
|
|
54
56
|
export {
|
|
55
|
-
|
|
57
|
+
Z as ModalQuestionnaireGroupItem
|
|
56
58
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { AsyncSelect as r } from "../../../Select/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { getAnswerCode as i, getAnswerDisplay as p } from "../../../../utils/questionnaire.js";
|
|
4
4
|
import { useReferenceColumn as s } from "./hooks.js";
|
|
5
5
|
function O(o) {
|
|
6
6
|
const {
|
|
@@ -10,7 +10,7 @@ function O(o) {
|
|
|
10
10
|
debouncedLoadOptions: l,
|
|
11
11
|
onOptionChange: u
|
|
12
12
|
} = s(o);
|
|
13
|
-
return /* @__PURE__ */ a(r, { onChange: u, value: n.value, loadOptions: l, defaultOptions: !0, getOptionLabel: (e) =>
|
|
13
|
+
return /* @__PURE__ */ a(r, { onChange: u, value: n.value, loadOptions: l, defaultOptions: !0, getOptionLabel: (e) => p(e.value), getOptionValue: (e) => i(e.value), isMulti: !1, placeholder: n.column.placeholder, defaultMenuIsOpen: t, isClearable: !0 });
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
16
16
|
O as ReferenceColumn
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Drawer as o, Button as a, Badge as i } from "antd";
|
|
2
2
|
import t from "styled-components";
|
|
3
3
|
const p = {
|
|
4
4
|
Container: t.div.withConfig({
|
|
@@ -9,7 +9,7 @@ const p = {
|
|
|
9
9
|
displayName: "SearchBarMobile__FiltersButton",
|
|
10
10
|
componentId: "sc-nh45q8-1"
|
|
11
11
|
})(["position:relative;"]),
|
|
12
|
-
Badge: t(
|
|
12
|
+
Badge: t(i).withConfig({
|
|
13
13
|
displayName: "SearchBarMobile__Badge",
|
|
14
14
|
componentId: "sc-nh45q8-2"
|
|
15
15
|
})(["position:absolute;right:-3px;top:-3px;.ant-badge-count{background-color:", ";color:", ";}"], ({
|
|
@@ -23,7 +23,7 @@ const p = {
|
|
|
23
23
|
})(["height:56px;width:48px !important;color:", " !important;&:hover{background:0 !important;}"], ({
|
|
24
24
|
theme: e
|
|
25
25
|
}) => e.neutralPalette.gray_7),
|
|
26
|
-
Drawer: t(
|
|
26
|
+
Drawer: t(o).withConfig({
|
|
27
27
|
displayName: "SearchBarMobile__Drawer",
|
|
28
28
|
componentId: "sc-nh45q8-4"
|
|
29
29
|
})(["padding-top:56px;padding-bottom:129px;background-color:", ";.ant-drawer-body{padding:0;display:flex;flex-direction:column;justify-content:space-between;}.ant-input-search,.ant-picker,.react-select__control{width:100%;max-width:450px;}"], ({
|
|
@@ -2,7 +2,7 @@ import { jsxs as a, Fragment as d, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { Table as l } from "antd";
|
|
3
3
|
import { S as i } from "./styles.js";
|
|
4
4
|
import { TableCards as s } from "./TableCards/index.js";
|
|
5
|
-
|
|
5
|
+
/* empty css */
|
|
6
6
|
function c(e) {
|
|
7
7
|
const {
|
|
8
8
|
showCardsOnMobile: o = !0
|
|
@@ -4,12 +4,12 @@ import c from "lodash";
|
|
|
4
4
|
import H from "moment";
|
|
5
5
|
import { useState as F, useEffect as P } from "react";
|
|
6
6
|
import { useFormContext as S } from "react-hook-form";
|
|
7
|
-
import { RenderRemoteData as w,
|
|
7
|
+
import { RenderRemoteData as w, formatFHIRDate as I, parseFHIRDateTime as p, useService as x, formatFHIRDateTime as T, extractBundleResources as M } from "@beda.software/fhir-react";
|
|
8
8
|
import { mapSuccess as A, resolveMap as B } from "@beda.software/remote-data";
|
|
9
9
|
import { useFieldController as k } from "../../components/BaseQuestionnaireResponseForm/hooks.js";
|
|
10
10
|
import { DatePicker as q } from "../../components/DatePicker/index.js";
|
|
11
11
|
import { Spinner as y } from "../../components/Spinner/index.js";
|
|
12
|
-
import {
|
|
12
|
+
import { getAllFHIRResources as O, getFHIRResource as N } from "../../services/fhir.js";
|
|
13
13
|
import { humanDateTime as v } from "../../utils/date.js";
|
|
14
14
|
import { useCalendarOptions as $ } from "./useCalendarOptions.js";
|
|
15
15
|
import { getTimeSlots as j } from "./utils.js";
|
|
@@ -19,8 +19,8 @@ function E(t) {
|
|
|
19
19
|
} = $(), {
|
|
20
20
|
slotDuration: i
|
|
21
21
|
} = o, [s] = x(async () => A(await B({
|
|
22
|
-
practitionerRole:
|
|
23
|
-
appointmentsBundle:
|
|
22
|
+
practitionerRole: N(t),
|
|
23
|
+
appointmentsBundle: O("Appointment", {
|
|
24
24
|
actor: t.reference,
|
|
25
25
|
date: [`ge${T(H().startOf("day"))}`]
|
|
26
26
|
})
|
|
@@ -11,12 +11,10 @@ import "../../components/AudioRecorder/styles.js";
|
|
|
11
11
|
import "react";
|
|
12
12
|
import "@beda.software/remote-data";
|
|
13
13
|
import "@beda.software/fhir-questionnaire";
|
|
14
|
-
import "../../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.module.scss.js";
|
|
15
14
|
import "../Group/context.js";
|
|
16
15
|
import "../../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.styles.js";
|
|
17
16
|
import "@beda.software/emr-config";
|
|
18
17
|
import "../../services/fhir.js";
|
|
19
|
-
import "../../readonly-controls/ReadonlyWidgets.module.scss.js";
|
|
20
18
|
import "../../readonly-controls/ReadonlyWidgets.styles.js";
|
|
21
19
|
import "@lingui/core";
|
|
22
20
|
import "lodash";
|
|
@@ -25,21 +23,21 @@ import "sdc-qrf";
|
|
|
25
23
|
import "fhirpath";
|
|
26
24
|
import "../../utils/yup-locale.js";
|
|
27
25
|
import { S as d } from "./styles.js";
|
|
28
|
-
import "react-hook-form";
|
|
29
|
-
import "../GroupWizard/index.js";
|
|
30
|
-
import "../GroupWizard/GroupWizardSidebar/styles.js";
|
|
31
26
|
import "antd/es/layout/layout";
|
|
32
27
|
import "styled-components";
|
|
33
28
|
import "antd/es/layout/Sider";
|
|
29
|
+
import "react-hook-form";
|
|
34
30
|
import "../../components/Wizard/styles.js";
|
|
31
|
+
import "../GroupWizard/index.js";
|
|
35
32
|
import "../../readonly-controls/GroupWizard/styles.js";
|
|
33
|
+
import "../ImageAnnotation/styles.js";
|
|
36
34
|
import { MarkdownRender as c } from "../../readonly-controls/MarkdownRender/index.js";
|
|
37
35
|
import "react-select";
|
|
38
36
|
import "react-select/async";
|
|
39
37
|
import "../../components/Select/styles.js";
|
|
40
38
|
import "fhirpath/fhir-context/r4";
|
|
41
39
|
import "../../sharedState/index.js";
|
|
42
|
-
function
|
|
40
|
+
function C({
|
|
43
41
|
questionItem: m
|
|
44
42
|
}) {
|
|
45
43
|
var p, e;
|
|
@@ -65,6 +63,6 @@ const a = ({
|
|
|
65
63
|
return t == null ? void 0 : t.map((r, o) => r.startsWith("http://") || r.startsWith("https://") ? /* @__PURE__ */ i("a", { href: r, target: "_blank", rel: "noreferrer", children: r }, o) : /* @__PURE__ */ i("span", { children: r }, o));
|
|
66
64
|
};
|
|
67
65
|
export {
|
|
68
|
-
|
|
66
|
+
C as Display,
|
|
69
67
|
a as TextWithLink
|
|
70
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,UAAU,KAAM,SAAQ,oBAAoB;IACxC,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;CACtC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,2CAsB/C"}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { i18n as
|
|
2
|
+
import { i18n as l } from "@lingui/core";
|
|
3
3
|
import { QuestionItems as a } from "sdc-qrf";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
function $(e) {
|
|
4
|
+
import { useRepeatableGroup as x } from "./hooks.js";
|
|
5
|
+
import { GroupSubCard as I, GroupMainCard as b } from "../../GroupCard/index.js";
|
|
6
|
+
function v(e) {
|
|
8
7
|
const {
|
|
9
|
-
index:
|
|
8
|
+
index: s,
|
|
10
9
|
groupItem: p,
|
|
11
10
|
variant: c
|
|
12
11
|
} = e, {
|
|
13
|
-
questionItem:
|
|
12
|
+
questionItem: d
|
|
14
13
|
} = p, {
|
|
15
|
-
item:
|
|
14
|
+
item: o,
|
|
16
15
|
text: f,
|
|
17
|
-
readOnly:
|
|
18
|
-
} =
|
|
19
|
-
onRemove:
|
|
16
|
+
readOnly: r
|
|
17
|
+
} = d, {
|
|
18
|
+
onRemove: n,
|
|
20
19
|
parentPath: i,
|
|
21
20
|
context: m
|
|
22
|
-
} =
|
|
21
|
+
} = x(e), u = `${f || l._(
|
|
23
22
|
/*i18n*/
|
|
24
23
|
{
|
|
25
24
|
id: "HX5SVx"
|
|
26
25
|
}
|
|
27
|
-
)} ${
|
|
28
|
-
return c === "sub-card" ? /* @__PURE__ */ t(
|
|
26
|
+
)} ${s + 1}`;
|
|
27
|
+
return c === "sub-card" ? /* @__PURE__ */ t(I, { title: u, onRemove: n, readOnly: r, children: /* @__PURE__ */ t(a, { questionItems: o, parentPath: i, context: m }) }) : /* @__PURE__ */ t(b, { title: u, onRemove: n, readOnly: r, children: /* @__PURE__ */ t(a, { questionItems: o, parentPath: i, context: m }) });
|
|
29
28
|
}
|
|
30
29
|
export {
|
|
31
|
-
|
|
30
|
+
v as RepeatableGroupCard
|
|
32
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepeatableGroupRow.d.ts","sourceRoot":"","sources":["../../../../src/controls/Group/RepeatableGroups/RepeatableGroupRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RepeatableGroupRow.d.ts","sourceRoot":"","sources":["../../../../src/controls/Group/RepeatableGroups/RepeatableGroupRow.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,2CAkB7D"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { DeleteOutlined as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { QuestionItems as
|
|
5
|
-
import {
|
|
6
|
-
import { useRepeatableGroup as R } from "./RepeatableGroupCard/hooks.js";
|
|
2
|
+
import { DeleteOutlined as c } from "@ant-design/icons";
|
|
3
|
+
import { Button as a } from "antd";
|
|
4
|
+
import { QuestionItems as d } from "sdc-qrf";
|
|
5
|
+
import { useRepeatableGroup as f } from "./RepeatableGroupCard/hooks.js";
|
|
7
6
|
import { S as t } from "./styles.js";
|
|
8
|
-
function
|
|
7
|
+
function j(e) {
|
|
9
8
|
const {
|
|
10
9
|
groupItem: n
|
|
11
10
|
} = e, {
|
|
@@ -15,14 +14,14 @@ function q(e) {
|
|
|
15
14
|
readOnly: i
|
|
16
15
|
} = r, {
|
|
17
16
|
onRemove: s,
|
|
18
|
-
parentPath:
|
|
19
|
-
context:
|
|
20
|
-
} =
|
|
17
|
+
parentPath: l,
|
|
18
|
+
context: u
|
|
19
|
+
} = f(e);
|
|
21
20
|
return /* @__PURE__ */ p(t.Row, { children: [
|
|
22
|
-
/* @__PURE__ */ o(t.RowItems, { children: /* @__PURE__ */ o(
|
|
23
|
-
|
|
21
|
+
/* @__PURE__ */ o(t.RowItems, { children: /* @__PURE__ */ o(d, { questionItems: m, parentPath: l, context: u }) }),
|
|
22
|
+
i ? null : /* @__PURE__ */ o(t.RowControls, { children: /* @__PURE__ */ o(a, { icon: /* @__PURE__ */ o(c, {}), type: "default", onClick: s, size: "middle" }) })
|
|
24
23
|
] });
|
|
25
24
|
}
|
|
26
25
|
export {
|
|
27
|
-
|
|
26
|
+
j as RepeatableGroupRow
|
|
28
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/controls/Group/RepeatableGroups/index.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAyD,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/controls/Group/RepeatableGroups/index.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAyD,MAAM,SAAS,CAAC;AAIhG,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;AAEnD,UAAU,qBAAqB;IAC3B,SAAS,EAAE,cAAc,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,SAAS,CAAC;IACzD,UAAU,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC;CACnD;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CAiE5D"}
|
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as G, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { Trans as c } from "@lingui/react";
|
|
3
3
|
import { PlusOutlined as k } from "@ant-design/icons";
|
|
4
4
|
import { Button as x } from "antd";
|
|
5
5
|
import f from "lodash";
|
|
6
6
|
import F from "react";
|
|
7
7
|
import { useFormContext as V } from "react-hook-form";
|
|
8
|
-
import { getItemKey as
|
|
9
|
-
import { useFieldController as
|
|
10
|
-
import { isGroupAddItemButtonHidden as j } from "../../../utils/questionnaire.js";
|
|
8
|
+
import { getItemKey as R, populateItemKey as j } from "sdc-qrf";
|
|
9
|
+
import { useFieldController as q } from "../../../components/BaseQuestionnaireResponseForm/hooks.js";
|
|
11
10
|
import { RepeatableGroupCard as z } from "./RepeatableGroupCard/index.js";
|
|
12
11
|
import { S as h } from "./styles.js";
|
|
13
|
-
function
|
|
12
|
+
function B(i) {
|
|
14
13
|
return [...i, {}];
|
|
15
14
|
}
|
|
16
|
-
function
|
|
15
|
+
function A(i) {
|
|
17
16
|
const {
|
|
18
|
-
groupItem:
|
|
19
|
-
renderGroup:
|
|
20
|
-
buildValue:
|
|
17
|
+
groupItem: o,
|
|
18
|
+
renderGroup: u,
|
|
19
|
+
buildValue: g = B
|
|
21
20
|
} = i, {
|
|
22
|
-
parentPath:
|
|
21
|
+
parentPath: y,
|
|
23
22
|
questionItem: p
|
|
24
|
-
} =
|
|
25
|
-
linkId:
|
|
23
|
+
} = o, {
|
|
24
|
+
linkId: I,
|
|
26
25
|
text: s
|
|
27
|
-
} = p, l = [...
|
|
26
|
+
} = p, l = [...y, I], {
|
|
28
27
|
onChange: m
|
|
29
|
-
} =
|
|
28
|
+
} = q(l, p), {
|
|
30
29
|
getValues: C
|
|
31
|
-
} = V(), n = f.get(C(), l),
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
f.map(
|
|
34
|
-
if (!
|
|
30
|
+
} = V(), n = f.get(C(), l), b = (r) => (g(r) || []).map(j), e = (n == null ? void 0 : n.items) || [];
|
|
31
|
+
return /* @__PURE__ */ G(h.Group, { children: [
|
|
32
|
+
f.map(e, (r, a) => {
|
|
33
|
+
if (!e[a])
|
|
35
34
|
return null;
|
|
36
|
-
const d =
|
|
37
|
-
return
|
|
38
|
-
index:
|
|
39
|
-
items:
|
|
35
|
+
const d = R(r);
|
|
36
|
+
return u ? /* @__PURE__ */ t(F.Fragment, { children: u({
|
|
37
|
+
index: a,
|
|
38
|
+
items: e,
|
|
40
39
|
onChange: m,
|
|
41
|
-
groupItem:
|
|
42
|
-
}) }, d) : /* @__PURE__ */ t(z, { index:
|
|
40
|
+
groupItem: o
|
|
41
|
+
}) }, d) : /* @__PURE__ */ t(z, { index: a, items: e, onChange: m, groupItem: o, variant: "main-card" }, d);
|
|
43
42
|
}),
|
|
44
|
-
|
|
43
|
+
o.questionItem.readOnly ? null : /* @__PURE__ */ t(h.Footer, { children: /* @__PURE__ */ t(x, { icon: /* @__PURE__ */ t(k, {}), type: "primary", ghost: !0, onClick: () => {
|
|
45
44
|
const r = {
|
|
46
45
|
...n,
|
|
47
|
-
items:
|
|
46
|
+
items: b(e ?? [])
|
|
48
47
|
};
|
|
49
48
|
m(r);
|
|
50
49
|
}, size: "middle", "data-testid": "add-another-answer-button", children: /* @__PURE__ */ t("span", { children: s ? /* @__PURE__ */ t(c, { id: "yCbNQL", values: {
|
|
@@ -54,5 +53,5 @@ function D(i) {
|
|
|
54
53
|
}
|
|
55
54
|
export {
|
|
56
55
|
z as RepeatableGroupCard,
|
|
57
|
-
|
|
56
|
+
A as RepeatableGroups
|
|
58
57
|
};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
row: r,
|
|
5
|
-
col: t
|
|
1
|
+
const o = "_row_1ndd9_14", c = "_col_1ndd9_22", _ = {
|
|
2
|
+
row: o,
|
|
3
|
+
col: c
|
|
6
4
|
};
|
|
7
5
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
o as
|
|
11
|
-
_ as groupTitle,
|
|
12
|
-
r as row
|
|
6
|
+
c as col,
|
|
7
|
+
_ as default,
|
|
8
|
+
o as row
|
|
13
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controls/Group/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAiB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controls/Group/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAiB,MAAM,SAAS,CAAC;AAuExD,wBAAgB,KAAK,CAAC,KAAK,EAAE,cAAc,2CAE1C;AAED,wBAAgB,GAAG,CAAC,KAAK,EAAE,cAAc,2CAExC;AAED,wBAAgB,GAAG,CAAC,KAAK,EAAE,cAAc,2CAExC;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,cAAc,2CAE3C;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,cAAc,2CAEzC;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,cAAc,2CAE5C;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,cAAc,2CAEvD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,2CAE7C;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,cAAc,2CAE5C"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { QuestionItems as
|
|
4
|
-
import { ItemHelpText as
|
|
5
|
-
import { Title as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { GroupContext as T } from "./context.js";
|
|
9
|
-
import { GridGroup as q } from "./GridGroup/index.js";
|
|
2
|
+
import g from "classnames";
|
|
3
|
+
import { QuestionItems as w } from "sdc-qrf";
|
|
4
|
+
import { ItemHelpText as y } from "../../components/BaseQuestionnaireResponseForm/ItemHelpText.js";
|
|
5
|
+
import { Title as C } from "../../components/Typography.js";
|
|
6
|
+
import { GroupContext as R } from "./context.js";
|
|
7
|
+
import { GridGroup as S } from "./GridGroup/index.js";
|
|
10
8
|
import p from "./group.module.scss.js";
|
|
11
|
-
import { GroupCard as
|
|
12
|
-
import { GTable as
|
|
13
|
-
import { RepeatableGroups as
|
|
9
|
+
import { GroupCard as a } from "./GroupCard/index.js";
|
|
10
|
+
import { GTable as T } from "./GTable/index.js";
|
|
11
|
+
import { RepeatableGroups as l } from "./RepeatableGroups/index.js";
|
|
14
12
|
import { S as u } from "./styles.js";
|
|
15
|
-
import { RepeatableGroupRow as
|
|
13
|
+
import { RepeatableGroupRow as P } from "./RepeatableGroups/RepeatableGroupRow.js";
|
|
16
14
|
function o(r) {
|
|
17
15
|
const {
|
|
18
16
|
parentPath: d,
|
|
@@ -23,66 +21,66 @@ function o(r) {
|
|
|
23
21
|
linkId: h,
|
|
24
22
|
item: m,
|
|
25
23
|
repeats: G,
|
|
26
|
-
text:
|
|
27
|
-
helpText:
|
|
28
|
-
hidden:
|
|
24
|
+
text: n,
|
|
25
|
+
helpText: i,
|
|
26
|
+
hidden: x
|
|
29
27
|
} = f;
|
|
30
|
-
if (
|
|
28
|
+
if (x)
|
|
31
29
|
return null;
|
|
32
|
-
const
|
|
30
|
+
const b = () => e === "gtable" ? /* @__PURE__ */ t(T, { groupItem: r }) : e === "row" ? /* @__PURE__ */ t(l, { groupItem: r, renderGroup: (I) => /* @__PURE__ */ t(P, { ...I }) }) : /* @__PURE__ */ t(l, { groupItem: r });
|
|
33
31
|
if (e === "grid")
|
|
34
|
-
return /* @__PURE__ */ t(
|
|
32
|
+
return /* @__PURE__ */ t(S, { groupItem: r });
|
|
35
33
|
if (G)
|
|
36
|
-
return /* @__PURE__ */ t(
|
|
34
|
+
return /* @__PURE__ */ t(R.Provider, { value: {
|
|
37
35
|
type: e
|
|
38
|
-
}, children:
|
|
39
|
-
const
|
|
36
|
+
}, children: b() });
|
|
37
|
+
const v = e === "section" || e === "section-with-divider";
|
|
40
38
|
return /* @__PURE__ */ c(u.Group, { children: [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
n || i ? /* @__PURE__ */ t(u.Header, { $type: e, children: /* @__PURE__ */ c(u.Title, { children: [
|
|
40
|
+
n && /* @__PURE__ */ t(C, { level: v ? 4 : 5, children: n }),
|
|
41
|
+
i && /* @__PURE__ */ t(y, { helpText: i })
|
|
44
42
|
] }) }) : null,
|
|
45
|
-
m && /* @__PURE__ */ t("div", { className:
|
|
43
|
+
m && /* @__PURE__ */ t("div", { className: g({
|
|
46
44
|
[p.row]: e === "row",
|
|
47
45
|
[p.col]: !e || e === "col"
|
|
48
|
-
}), children: /* @__PURE__ */ t(
|
|
46
|
+
}), children: /* @__PURE__ */ t(w, { questionItems: m, parentPath: [...d, h, "items"], context: s[0] }) })
|
|
49
47
|
] });
|
|
50
48
|
}
|
|
51
|
-
function
|
|
52
|
-
return
|
|
49
|
+
function B(r) {
|
|
50
|
+
return /* @__PURE__ */ t(o, { ...r });
|
|
53
51
|
}
|
|
54
|
-
function
|
|
52
|
+
function E(r) {
|
|
55
53
|
return /* @__PURE__ */ t(o, { ...r, type: "col" });
|
|
56
54
|
}
|
|
57
|
-
function
|
|
55
|
+
function J(r) {
|
|
58
56
|
return /* @__PURE__ */ t(o, { ...r, type: "row" });
|
|
59
57
|
}
|
|
60
|
-
function
|
|
58
|
+
function K(r) {
|
|
61
59
|
return /* @__PURE__ */ t(o, { ...r, type: "gtable" });
|
|
62
60
|
}
|
|
63
|
-
function
|
|
61
|
+
function L(r) {
|
|
64
62
|
return /* @__PURE__ */ t(o, { ...r, type: "grid" });
|
|
65
63
|
}
|
|
66
|
-
function
|
|
64
|
+
function O(r) {
|
|
67
65
|
return /* @__PURE__ */ t(o, { ...r, type: "section" });
|
|
68
66
|
}
|
|
69
|
-
function
|
|
67
|
+
function U(r) {
|
|
70
68
|
return /* @__PURE__ */ t(o, { ...r, type: "section-with-divider" });
|
|
71
69
|
}
|
|
72
|
-
function
|
|
73
|
-
return /* @__PURE__ */ t(
|
|
70
|
+
function V(r) {
|
|
71
|
+
return /* @__PURE__ */ t(a, { ...r, variant: "main-card" });
|
|
74
72
|
}
|
|
75
|
-
function
|
|
76
|
-
return /* @__PURE__ */ t(
|
|
73
|
+
function X(r) {
|
|
74
|
+
return /* @__PURE__ */ t(a, { ...r, variant: "sub-card" });
|
|
77
75
|
}
|
|
78
76
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
77
|
+
E as Col,
|
|
78
|
+
L as Grid,
|
|
79
|
+
B as Group,
|
|
80
|
+
K as Gtable,
|
|
81
|
+
V as MainCard,
|
|
82
|
+
J as Row,
|
|
83
|
+
O as Section,
|
|
84
|
+
U as SectionWithDivider,
|
|
85
|
+
X as SubCard
|
|
88
86
|
};
|
|
@@ -5,16 +5,15 @@ import "@ant-design/icons";
|
|
|
5
5
|
import "antd";
|
|
6
6
|
import "react-audio-voice-recorder";
|
|
7
7
|
import "@beda.software/fhir-react";
|
|
8
|
+
import "../../../components/Typography.js";
|
|
8
9
|
import "../../../components/AudioRecorder/styles.js";
|
|
9
10
|
import "react";
|
|
10
11
|
import "@beda.software/remote-data";
|
|
11
12
|
import "@beda.software/fhir-questionnaire";
|
|
12
|
-
import "../../../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.module.scss.js";
|
|
13
13
|
import "../../../components/BaseQuestionnaireResponseForm/BaseQuestionnaireResponseForm.styles.js";
|
|
14
14
|
import "../../Group/context.js";
|
|
15
15
|
import "@beda.software/emr-config";
|
|
16
16
|
import "../../../services/fhir.js";
|
|
17
|
-
import "../../../readonly-controls/ReadonlyWidgets.module.scss.js";
|
|
18
17
|
import "../../../readonly-controls/ReadonlyWidgets.styles.js";
|
|
19
18
|
import "@lingui/core";
|
|
20
19
|
import "lodash";
|
|
@@ -23,14 +22,14 @@ import "sdc-qrf";
|
|
|
23
22
|
import "fhirpath";
|
|
24
23
|
import "../../../utils/yup-locale.js";
|
|
25
24
|
import "../../Display/styles.js";
|
|
26
|
-
import "react-hook-form";
|
|
27
|
-
import "../../GroupWizard/index.js";
|
|
28
|
-
import "../../GroupWizard/GroupWizardSidebar/styles.js";
|
|
29
25
|
import "antd/es/layout/layout";
|
|
30
26
|
import "styled-components";
|
|
31
27
|
import "antd/es/layout/Sider";
|
|
28
|
+
import "react-hook-form";
|
|
32
29
|
import "../../../components/Wizard/styles.js";
|
|
30
|
+
import "../../GroupWizard/index.js";
|
|
33
31
|
import "../../../readonly-controls/GroupWizard/styles.js";
|
|
32
|
+
import "../../ImageAnnotation/styles.js";
|
|
34
33
|
import { MarkdownRender as a } from "../../../readonly-controls/MarkdownRender/index.js";
|
|
35
34
|
import "react-select";
|
|
36
35
|
import "react-select/async";
|
|
@@ -39,7 +38,7 @@ import "fhirpath/fhir-context/r4";
|
|
|
39
38
|
import "../../../sharedState/index.js";
|
|
40
39
|
import { useRenderFormItemReadOnly as h } from "./hooks.js";
|
|
41
40
|
import { S as i } from "./styles.js";
|
|
42
|
-
const
|
|
41
|
+
const _ = (p) => {
|
|
43
42
|
const {
|
|
44
43
|
rows: m,
|
|
45
44
|
emptySymbol: e
|
|
@@ -53,5 +52,5 @@ const w = (p) => {
|
|
|
53
52
|
}) });
|
|
54
53
|
};
|
|
55
54
|
export {
|
|
56
|
-
|
|
55
|
+
_ as RenderFormItemReadOnly
|
|
57
56
|
};
|
|
@@ -28,7 +28,6 @@ export declare function useGroupTable(props: GroupTableProps): {
|
|
|
28
28
|
repeats: boolean | undefined;
|
|
29
29
|
hidden: boolean | undefined;
|
|
30
30
|
title: string;
|
|
31
|
-
hideAddButton: boolean;
|
|
32
31
|
handleAdd: () => void;
|
|
33
32
|
dataSource: GroupTableRow[];
|
|
34
33
|
columns: (ColumnType<GroupTableRow> | import('antd').TableColumnGroupType<GroupTableRow> | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/controls/GroupTable/hooks.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAuB,MAAM,yBAAyB,CAAC;AAIrF,OAAO,EAAE,oBAAoB,EAAwD,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/controls/GroupTable/hooks.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAuB,MAAM,yBAAyB,CAAC;AAIrF,OAAO,EAAE,oBAAoB,EAAwD,MAAM,SAAS,CAAC;AAQrG,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAYzE,wBAAgB,mBAAmB;yCAwCjB,WAAW,CAAC,aAAa,CAAC,gBAAgB,oBAAoB,KAAG,UAAU,CAAC,aAAa,CAAC,EAAE;EAmD7G;AAED,wBAAgB,mBAAmB;yCA+BjB,WAAW,CAAC,aAAa,CAAC,gBAAgB,oBAAoB,KAAG,UAAU,CAAC,aAAa,CAAC,EAAE;EA4B7G;AAED,MAAM,WAAW,wBAAwB;IACrC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,aAAa,EAAE,CAAC;CAC/B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB;yBAqDlD,MAAM,YAAY,cAAc,GAAG,IAAI;wCAsEvC,MAAM;;gCAiB4B,OAAO,UAAU,MAAM;;;;;;;EAgDzE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe;;;;;;;;;;;wBA+NxB,cAAc;;;;;;;;;6CAkCX,OAAO;;;;;;;;;;EA8BrC"}
|