@beda.software/web-item-controls 0.1.22 → 0.1.23

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.
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/AudioRecorder/hooks.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC7B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC;AAED,wBAAgB,gBAAgB;;EAI/B"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/AudioRecorder/hooks.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC7B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC;AAED,wBAAgB,gBAAgB;;EAI/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AudioRecorder/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAQvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG3C,UAAU,kBAAkB;IACxB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,gBAAgB,EAAE,gBAAgB,CAAC;CACtC;AAQD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CA+BtD;AAED,UAAU,gBAAgB;IACtB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAalD;AAED,UAAU,sBAAsB;IAC5B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CA8D9D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AudioRecorder/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAOvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG3C,UAAU,kBAAkB;IACxB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,gBAAgB,EAAE,gBAAgB,CAAC;CACtC;AAQD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CA+BtD;AAED,UAAU,gBAAgB;IACtB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAalD;AAED,UAAU,sBAAsB;IAC5B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CA8D9D"}
@@ -0,0 +1,10 @@
1
+ import { Decorator } from '@storybook/react';
2
+ import { Questionnaire, QuestionnaireResponse } from 'fhir/r4b';
3
+ import { FCEQuestionnaireItem, ItemContext } from 'sdc-qrf';
4
+ export declare const WIZARD_ITEM: FCEQuestionnaireItem;
5
+ export declare const QUESTIONNAIRE: Questionnaire;
6
+ export declare const QUESTIONNAIRE_RESPONSE: QuestionnaireResponse;
7
+ export declare const CONTEXT: ItemContext[];
8
+ export declare const WithGroupWizardProviderDecorator: Decorator;
9
+ export declare function testScrollTo(qi: FCEQuestionnaireItem): import('@storybook/core/csf').PlayFunction<import('@storybook/react').ReactRenderer, {}>;
10
+ //# sourceMappingURL=GroupWizard.stories.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupWizard.stories.utils.d.ts","sourceRoot":"","sources":["../../../src/controls/GroupWizard/GroupWizard.stories.utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAa,WAAW,EAAqC,MAAM,SAAS,CAAC;AAW1G,eAAO,MAAM,WAAW,EAAE,oBAqEzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,qBAGpC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAAW,EAMhC,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,SAsB9C,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,EAAE,oBAAoB,4FAUpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controls/GroupWizard/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EACH,oBAAoB,EACpB,SAAS,EACT,cAAc,EACd,WAAW,EAGd,MAAM,SAAS,CAAC;AAOjB,OAAO,EAAsB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKxE,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,cAAc;;cACjB,UAAU;qBACH,MAAM;;cADb,UAAU;qBACH,MAAM;;;cADb,UAAU;qBACH,MAAM;;CACnB,CAAC;AAEL,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,2CAU1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,gBAAgB,2CAS9D;AAED,MAAM,WAAW,UAAU;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,yBAAyB,EAAE,MAAM,CAAC;CACrC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAsIlD;AAED,eAAO,MAAM,aAAa,GACtB,WAAW,oBAAoB,EAC/B,YAAY,MAAM,EAAE,EACpB,YAAY,SAAS,EACrB,SAAS,WAAW,KACrB,UAeF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controls/GroupWizard/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EACH,oBAAoB,EACpB,SAAS,EACT,cAAc,EACd,WAAW,EAGd,MAAM,SAAS,CAAC;AAOjB,OAAO,EAAsB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKxE,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,cAAc;;cACjB,UAAU;qBACH,MAAM;;cADb,UAAU;qBACH,MAAM;;;cADb,UAAU;qBACH,MAAM;;CACnB,CAAC;AAEL,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,2CAU1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,gBAAgB,2CAS9D;AAED,MAAM,WAAW,UAAU;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,yBAAyB,EAAE,MAAM,CAAC;CACrC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAkJlD;AAED,eAAO,MAAM,aAAa,GACtB,WAAW,oBAAoB,EAC/B,YAAY,MAAM,EAAE,EACpB,YAAY,SAAS,EACrB,SAAS,WAAW,KACrB,UAeF,CAAC"}
@@ -1,85 +1,90 @@
1
- import { jsx as n, jsxs as f } from "react/jsx-runtime";
2
- import { useContext as P, useState as A, useMemo as G } from "react";
1
+ import { jsx as n, jsxs as g } from "react/jsx-runtime";
2
+ import { useContext as P, useState as A, useMemo as I } from "react";
3
3
  import { useWatch as E, useFormState as V } from "react-hook-form";
4
4
  import { getEnabledQuestions as j, QuestionItems as S } from "sdc-qrf";
5
5
  import { questionnaireItemsToValidationSchema as D } from "@beda.software/fhir-questionnaire/components";
6
6
  import { BaseQuestionnaireResponseFormPropsContext as L } from "@beda.software/fhir-questionnaire/contexts";
7
7
  import { createBus as M } from "@beda.software/fhir-react";
8
- import { Text as k, Title as w } from "../../components/Typography.js";
8
+ import { Text as T, Title as w } from "../../components/Typography.js";
9
9
  import { Wizard as N } from "../../components/Wizard/index.js";
10
- import { S as g } from "./styles.js";
10
+ import { S as x } from "./styles.js";
11
11
  import { getAllGroupQuestionsWithAnswerStatus as Y } from "./utils.js";
12
- const rt = M();
12
+ const H = M();
13
13
  function st(s) {
14
- return /* @__PURE__ */ n(T, { ...s, wizard: {
14
+ return /* @__PURE__ */ n(b, { ...s, wizard: {
15
15
  direction: "vertical",
16
16
  size: "small"
17
17
  } });
18
18
  }
19
19
  function ut(s) {
20
- return /* @__PURE__ */ n(T, { ...s, wizard: {
20
+ return /* @__PURE__ */ n(b, { ...s, wizard: {
21
21
  labelPlacement: "tooltip"
22
22
  } });
23
23
  }
24
- function T(s) {
24
+ function b(s) {
25
25
  const {
26
26
  parentPath: l,
27
- questionItem: d,
27
+ questionItem: m,
28
28
  context: Q,
29
29
  wizard: e
30
30
  } = s, r = P(L);
31
- d.repeats && console.warn("GroupWizard does not support repeatable groups in the first level");
32
- const c = Q[0], [u, i] = A(0), {
33
- linkId: h
34
- } = d, a = E(), {
35
- isSubmitted: W
36
- } = V(), p = j(d.item ?? [], l, a, c), m = G(() => p.filter((t) => !t.hidden), [p]), b = G(() => p.filter((t) => t.hidden), [p]), q = m.length, C = q === u + 1, F = (e == null ? void 0 : e.direction) === "vertical", R = (t, o) => {
37
- var v, z, I;
38
- const x = ((I = (z = (v = a == null ? void 0 : a[h]) == null ? void 0 : v.items) == null ? void 0 : z[t.linkId]) == null ? void 0 : I.items) ?? {};
39
- return D(t.item, r == null ? void 0 : r.customYupTests).isValidSync(x) === !1 && W ? "error" : o.finishedQuestions === 0 ? "wait" : o.finishedRequiredQuestions >= o.totalRequiredQuestions ? "finish" : "process";
40
- }, y = (t) => {
41
- const o = H(t, [...l, h], a, c), x = F ? `${o.finishedQuestions} of ${o.totalQuestions}` : void 0;
31
+ m.repeats && console.warn("GroupWizard does not support repeatable groups in the first level");
32
+ const d = Q[0], [u, o] = A(0), {
33
+ linkId: p
34
+ } = m, a = E(), {
35
+ isSubmitted: v
36
+ } = V(), f = j(m.item ?? [], l, a, d), c = I(() => f.filter((t) => !t.hidden), [f]), C = I(() => f.filter((t) => t.hidden), [f]), G = c.length, F = G === u + 1, R = (e == null ? void 0 : e.direction) === "vertical", y = (t, i) => {
37
+ var k, q, z;
38
+ const h = ((z = (q = (k = a == null ? void 0 : a[p]) == null ? void 0 : k.items) == null ? void 0 : q[t.linkId]) == null ? void 0 : z.items) ?? {};
39
+ return D(t.item, r == null ? void 0 : r.customYupTests).isValidSync(h) === !1 && v ? "error" : i.finishedQuestions === 0 ? "wait" : i.finishedRequiredQuestions >= i.totalRequiredQuestions ? "finish" : "process";
40
+ }, B = (t) => {
41
+ const i = J(t, [...l, p], a, d), h = R ? `${i.finishedQuestions} of ${i.totalQuestions}` : void 0;
42
42
  return {
43
43
  title: t.text,
44
44
  linkId: t.linkId,
45
- status: R(t, o),
46
- description: x
45
+ status: y(t, i),
46
+ description: h
47
47
  };
48
- }, $ = G(() => m.map((t) => y(t)), [m, a, W]), B = (t) => {
49
- i(t);
48
+ }, $ = I(() => c.map((t) => B(t)), [c, a, v]), W = (t) => {
49
+ o(t);
50
50
  };
51
- return l.length !== 0 ? (console.error("The wizard item control must be in root group"), /* @__PURE__ */ n(k, { children: "The wizard item control must be in root group" })) : m.some((t) => t.type !== "group") ? (console.error("The wizard item control must contain only group items"), /* @__PURE__ */ n(k, { children: "The wizard item control must contain only group items" })) : /* @__PURE__ */ f(N, { items: $, currentIndex: u, onChange: B, ...s.wizard, children: [
52
- m.map((t, o) => o !== u ? null : /* @__PURE__ */ f(g.Group, { $active: o === u, children: [
51
+ return H.useBus("scrollTo", ({
52
+ groupLinkId: t
53
+ }) => {
54
+ const i = c.findIndex((h) => h.linkId === t);
55
+ i !== -1 && W(i);
56
+ }, [c]), l.length !== 0 ? (console.error("The wizard item control must be in root group"), /* @__PURE__ */ n(T, { children: "The wizard item control must be in root group" })) : c.some((t) => t.type !== "group") ? (console.error("The wizard item control must contain only group items"), /* @__PURE__ */ n(T, { children: "The wizard item control must contain only group items" })) : /* @__PURE__ */ g(N, { items: $, currentIndex: u, onChange: W, ...s.wizard, children: [
57
+ c.map((t, i) => i !== u ? null : /* @__PURE__ */ g(x.Group, { $active: i === u, children: [
53
58
  t.text && (e == null ? void 0 : e.direction) === "vertical" ? /* @__PURE__ */ n(w, { level: 4, style: {
54
59
  fontWeight: 700
55
60
  }, children: t.text }) : null,
56
- /* @__PURE__ */ n(S, { questionItems: t.item, parentPath: [...l, h, "items", t.linkId, "items"], context: c })
61
+ /* @__PURE__ */ n(S, { questionItems: t.item, parentPath: [...l, p, "items", t.linkId, "items"], context: d })
57
62
  ] }, `group-item-${t.linkId}`)),
58
- b.map((t) => /* @__PURE__ */ f(g.Group, { $hidden: !0, children: [
63
+ C.map((t) => /* @__PURE__ */ g(x.Group, { $hidden: !0, children: [
59
64
  t.text && (e == null ? void 0 : e.direction) === "vertical" ? /* @__PURE__ */ n(w, { level: 4, style: {
60
65
  fontWeight: 700
61
66
  }, children: t.text }) : null,
62
- /* @__PURE__ */ n(S, { questionItems: t.item, parentPath: [...l, h, "items", t.linkId, "items"], context: c })
67
+ /* @__PURE__ */ n(S, { questionItems: t.item, parentPath: [...l, p, "items", t.linkId, "items"], context: d })
63
68
  ] }, `group-item-${t.linkId}`)),
64
- /* @__PURE__ */ f(g.WizardFooter, { goBack: () => i((t) => t - 1), goForward: () => i((t) => t + 1), canGoBack: u > 0, canGoForward: u + 1 < q, children: [
69
+ /* @__PURE__ */ g(x.WizardFooter, { goBack: () => o((t) => t - 1), goForward: () => o((t) => t + 1), canGoBack: u > 0, canGoForward: u + 1 < G, children: [
65
70
  !r && /* @__PURE__ */ n("div", { children: "No baseQRFPropsContext update" }),
66
- r && /* @__PURE__ */ n(g.FormFooter, { ...r, submitDisabled: !C })
71
+ r && /* @__PURE__ */ n(x.FormFooter, { ...r, submitDisabled: !F })
67
72
  ] })
68
73
  ] });
69
74
  }
70
- const H = (s, l, d, Q) => {
71
- const e = Y(s, l, d, Q).filter(([i]) => !i.hidden), r = e.filter(([i]) => i.required === !0), c = e.filter(([, i]) => i), u = r.filter(([, i]) => i);
75
+ const J = (s, l, m, Q) => {
76
+ const e = Y(s, l, m, Q).filter(([o]) => !o.hidden), r = e.filter(([o]) => o.required === !0), d = e.filter(([, o]) => o), u = r.filter(([, o]) => o);
72
77
  return {
73
78
  totalQuestions: e.length,
74
- finishedQuestions: c.length,
79
+ finishedQuestions: d.length,
75
80
  totalRequiredQuestions: r.length,
76
81
  finishedRequiredQuestions: u.length
77
82
  };
78
83
  };
79
84
  export {
80
- T as GroupWizard,
81
- rt as GroupWizardBus,
85
+ b as GroupWizard,
86
+ H as GroupWizardBus,
82
87
  st as GroupWizardVertical,
83
88
  ut as GroupWizardWithTooltips,
84
- H as getGroupStats
89
+ J as getGroupStats
85
90
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._column_14bfg_1{display:flex;flex-direction:column}._row_14bfg_6{display:flex;flex-direction:row;justify-content:space-between;align-items:center}._questionText_14bfg_13{font-weight:700;margin:0}._answer_14bfg_18{display:block;min-width:40%;max-width:40%}._row_dy31e_1{display:flex}._inputWrapper_dy31e_5{flex:auto}._splitterWrapper_dy31e_9{display:flex;flex-direction:column;justify-content:flex-end}._splitter_dy31e_9{position:relative;bottom:22px;margin:0 8px;font-weight:400;font-size:20px;line-height:22px}._group_1ndd9_1{display:flex;flex-direction:column;gap:16px;width:100%}._groupTitle_1ndd9_8{font-weight:700;font-size:16px;line-height:24px}._row_1ndd9_14{display:flex;flex-direction:row;justify-content:space-between;gap:16px;width:100%}._col_1ndd9_22{display:flex;flex-direction:column;gap:16px}._form_1v4sy_1 .ant-form-item-label{font-weight:700}._form_1v4sy_1 .ant-form-item-row{flex:1;flex-direction:column;justify-content:space-between;gap:12px}._form_1v4sy_1 .ant-form-item-label{text-align:start;white-space:normal}._form_1v4sy_1 .ant-form-item-label label{display:flex;height:auto}._form_1v4sy_1 .ant-form-item-label label:after{display:none}._form_1v4sy_1 .ant-form-item-control{flex-grow:0}._content_1v4sy_25{display:flex;flex-direction:column;gap:24px}._field_1v4sy_31{width:100%;margin-bottom:0;display:flex}._field_1v4sy_31.__hidden_1v4sy_36{display:none}._inputContainer_gs0vq_1{display:flex;flex-direction:column}._inputHeader_gs0vq_6{display:flex;margin-bottom:12px;align-items:center;justify-content:space-between}._label_gs0vq_13{font-weight:700;font-size:14px;line-height:22px}.ant-dropdown .ant-table-filter-dropdown{border:0;background:none;box-shadow:none;position:relative;overflow:visible}
1
+ ._row_dy31e_1{display:flex}._inputWrapper_dy31e_5{flex:auto}._splitterWrapper_dy31e_9{display:flex;flex-direction:column;justify-content:flex-end}._splitter_dy31e_9{position:relative;bottom:22px;margin:0 8px;font-weight:400;font-size:20px;line-height:22px}._group_1ndd9_1{display:flex;flex-direction:column;gap:16px;width:100%}._groupTitle_1ndd9_8{font-weight:700;font-size:16px;line-height:24px}._row_1ndd9_14{display:flex;flex-direction:row;justify-content:space-between;gap:16px;width:100%}._col_1ndd9_22{display:flex;flex-direction:column;gap:16px}._form_1v4sy_1 .ant-form-item-label{font-weight:700}._form_1v4sy_1 .ant-form-item-row{flex:1;flex-direction:column;justify-content:space-between;gap:12px}._form_1v4sy_1 .ant-form-item-label{text-align:start;white-space:normal}._form_1v4sy_1 .ant-form-item-label label{display:flex;height:auto}._form_1v4sy_1 .ant-form-item-label label:after{display:none}._form_1v4sy_1 .ant-form-item-control{flex-grow:0}._content_1v4sy_25{display:flex;flex-direction:column;gap:24px}._field_1v4sy_31{width:100%;margin-bottom:0;display:flex}._field_1v4sy_31.__hidden_1v4sy_36{display:none}._inputContainer_gs0vq_1{display:flex;flex-direction:column}._inputHeader_gs0vq_6{display:flex;margin-bottom:12px;align-items:center;justify-content:space-between}._label_gs0vq_13{font-weight:700;font-size:14px;line-height:22px}._column_14bfg_1{display:flex;flex-direction:column}._row_14bfg_6{display:flex;flex-direction:row;justify-content:space-between;align-items:center}._questionText_14bfg_13{font-weight:700;margin:0}._answer_14bfg_18{display:block;min-width:40%;max-width:40%}.ant-dropdown .ant-table-filter-dropdown{border:0;background:none;box-shadow:none;position:relative;overflow:visible}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beda.software/web-item-controls",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -406,7 +406,7 @@ msgstr ""
406
406
  #~ msgid "Cancelled"
407
407
  #~ msgstr ""
408
408
 
409
- #: src/components/AudioRecorder/index.tsx:41
409
+ #: src/components/AudioRecorder/index.tsx:40
410
410
  msgid "Capture in progress"
411
411
  msgstr ""
412
412
 
@@ -637,7 +637,7 @@ msgstr ""
637
637
  #~ msgid "Dose form"
638
638
  #~ msgstr ""
639
639
 
640
- #: src/components/AudioRecorder/index.tsx:127
640
+ #: src/components/AudioRecorder/index.tsx:126
641
641
  msgid "Download audio"
642
642
  msgstr ""
643
643
 
@@ -964,7 +964,7 @@ msgstr ""
964
964
  msgid "linkIdX or linkIdY not defined"
965
965
  msgstr ""
966
966
 
967
- #: src/components/AudioRecorder/index.tsx:70
967
+ #: src/components/AudioRecorder/index.tsx:69
968
968
  msgid "Listen to the audio"
969
969
  msgstr ""
970
970
 
@@ -1620,7 +1620,7 @@ msgstr ""
1620
1620
  #~ msgid "There are no documents yet"
1621
1621
  #~ msgstr ""
1622
1622
 
1623
- #: src/components/AudioRecorder/index.tsx:96
1623
+ #: src/components/AudioRecorder/index.tsx:95
1624
1624
  msgid "This audio cannot be played in Safari, please download the audio or use the Chrome browser"
1625
1625
  msgstr ""
1626
1626
 
@@ -1772,6 +1772,6 @@ msgstr ""
1772
1772
  #~ msgid "You currently lack access to the patient's data. To obtain it, you must secure the patient's signed consent authorizing the release of their activity data."
1773
1773
  #~ msgstr ""
1774
1774
 
1775
- #: src/components/AudioRecorder/index.tsx:105
1775
+ #: src/components/AudioRecorder/index.tsx:104
1776
1776
  msgid "Your browser does not support the audio element"
1777
1777
  msgstr ""
@@ -435,7 +435,7 @@ msgstr ""
435
435
  #~ msgid "Cancelled"
436
436
  #~ msgstr ""
437
437
 
438
- #: src/components/AudioRecorder/index.tsx:41
438
+ #: src/components/AudioRecorder/index.tsx:40
439
439
  msgid "Capture in progress"
440
440
  msgstr ""
441
441
 
@@ -702,7 +702,7 @@ msgstr ""
702
702
  #~ msgid "Dose form"
703
703
  #~ msgstr ""
704
704
 
705
- #: src/components/AudioRecorder/index.tsx:127
705
+ #: src/components/AudioRecorder/index.tsx:126
706
706
  msgid "Download audio"
707
707
  msgstr ""
708
708
 
@@ -1107,7 +1107,7 @@ msgstr ""
1107
1107
  msgid "linkIdX or linkIdY not defined"
1108
1108
  msgstr ""
1109
1109
 
1110
- #: src/components/AudioRecorder/index.tsx:70
1110
+ #: src/components/AudioRecorder/index.tsx:69
1111
1111
  msgid "Listen to the audio"
1112
1112
  msgstr ""
1113
1113
 
@@ -1845,7 +1845,7 @@ msgstr ""
1845
1845
  #~ msgid "There are no documents yet"
1846
1846
  #~ msgstr ""
1847
1847
 
1848
- #: src/components/AudioRecorder/index.tsx:96
1848
+ #: src/components/AudioRecorder/index.tsx:95
1849
1849
  msgid "This audio cannot be played in Safari, please download the audio or use the Chrome browser"
1850
1850
  msgstr ""
1851
1851
 
@@ -2001,6 +2001,6 @@ msgstr ""
2001
2001
  #~ msgid "You currently lack access to the patient's data. To obtain it, you must secure the patient's signed consent authorizing the release of their activity data."
2002
2002
  #~ msgstr ""
2003
2003
 
2004
- #: src/components/AudioRecorder/index.tsx:105
2004
+ #: src/components/AudioRecorder/index.tsx:104
2005
2005
  msgid "Your browser does not support the audio element"
2006
2006
  msgstr ""
@@ -435,7 +435,7 @@ msgstr "Cancelar"
435
435
  #~ msgid "Cancelled"
436
436
  #~ msgstr "Cancelada"
437
437
 
438
- #: src/components/AudioRecorder/index.tsx:41
438
+ #: src/components/AudioRecorder/index.tsx:40
439
439
  msgid "Capture in progress"
440
440
  msgstr "Ejecución en curso"
441
441
 
@@ -698,7 +698,7 @@ msgstr "Eliminar"
698
698
  #~ msgid "Dose form"
699
699
  #~ msgstr "Forma de dosificación"
700
700
 
701
- #: src/components/AudioRecorder/index.tsx:127
701
+ #: src/components/AudioRecorder/index.tsx:126
702
702
  msgid "Download audio"
703
703
  msgstr "Descargar audio"
704
704
 
@@ -1103,7 +1103,7 @@ msgstr "Ítem"
1103
1103
  msgid "linkIdX or linkIdY not defined"
1104
1104
  msgstr ""
1105
1105
 
1106
- #: src/components/AudioRecorder/index.tsx:70
1106
+ #: src/components/AudioRecorder/index.tsx:69
1107
1107
  msgid "Listen to the audio"
1108
1108
  msgstr "Escuchar el audio"
1109
1109
 
@@ -1829,7 +1829,7 @@ msgstr ""
1829
1829
  #~ msgid "There are no documents yet"
1830
1830
  #~ msgstr "Aún no hay documentos"
1831
1831
 
1832
- #: src/components/AudioRecorder/index.tsx:96
1832
+ #: src/components/AudioRecorder/index.tsx:95
1833
1833
  msgid "This audio cannot be played in Safari, please download the audio or use the Chrome browser"
1834
1834
  msgstr "Este audio no se puede reproducir en Safari, por favor descarga el audio o usa el navegador Chrome"
1835
1835
 
@@ -1985,6 +1985,6 @@ msgstr "Sí"
1985
1985
  #~ msgid "You currently lack access to the patient's data. To obtain it, you must secure the patient's signed consent authorizing the release of their activity data."
1986
1986
  #~ msgstr "Actualmente no tienes acceso a los datos del paciente. Para obtenerlos, debes conseguir el consentimiento firmado del paciente que autorice la liberación de sus datos de actividad."
1987
1987
 
1988
- #: src/components/AudioRecorder/index.tsx:105
1988
+ #: src/components/AudioRecorder/index.tsx:104
1989
1989
  msgid "Your browser does not support the audio element"
1990
1990
  msgstr "Tu navegador no sorporta reproducción de audio"
@@ -435,7 +435,7 @@ msgstr ""
435
435
  #~ msgid "Cancelled"
436
436
  #~ msgstr ""
437
437
 
438
- #: src/components/AudioRecorder/index.tsx:41
438
+ #: src/components/AudioRecorder/index.tsx:40
439
439
  msgid "Capture in progress"
440
440
  msgstr ""
441
441
 
@@ -702,7 +702,7 @@ msgstr ""
702
702
  #~ msgid "Dose form"
703
703
  #~ msgstr ""
704
704
 
705
- #: src/components/AudioRecorder/index.tsx:127
705
+ #: src/components/AudioRecorder/index.tsx:126
706
706
  msgid "Download audio"
707
707
  msgstr ""
708
708
 
@@ -1107,7 +1107,7 @@ msgstr ""
1107
1107
  msgid "linkIdX or linkIdY not defined"
1108
1108
  msgstr ""
1109
1109
 
1110
- #: src/components/AudioRecorder/index.tsx:70
1110
+ #: src/components/AudioRecorder/index.tsx:69
1111
1111
  msgid "Listen to the audio"
1112
1112
  msgstr ""
1113
1113
 
@@ -1845,7 +1845,7 @@ msgstr ""
1845
1845
  #~ msgid "There are no documents yet"
1846
1846
  #~ msgstr ""
1847
1847
 
1848
- #: src/components/AudioRecorder/index.tsx:96
1848
+ #: src/components/AudioRecorder/index.tsx:95
1849
1849
  msgid "This audio cannot be played in Safari, please download the audio or use the Chrome browser"
1850
1850
  msgstr ""
1851
1851
 
@@ -2001,6 +2001,6 @@ msgstr ""
2001
2001
  #~ msgid "You currently lack access to the patient's data. To obtain it, you must secure the patient's signed consent authorizing the release of their activity data."
2002
2002
  #~ msgstr ""
2003
2003
 
2004
- #: src/components/AudioRecorder/index.tsx:105
2004
+ #: src/components/AudioRecorder/index.tsx:104
2005
2005
  msgid "Your browser does not support the audio element"
2006
2006
  msgstr ""