@alfadocs/ui-kit 1.125.3 → 1.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{balance-badge-cell-DtxbGJcA.js → balance-badge-cell-BtFge7Y6.js} +3 -3
- package/dist/_chunks/{bill-line-table-HrynB7ND.js → bill-line-table-BRxX0Awq.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CiCmsBCH.js → calendar-appointment-editor-dialog-B-zYgCgH.js} +2 -2
- package/dist/_chunks/{data-grid-C71BhGDw.js → data-grid-bzvkQ3kc.js} +446 -423
- package/dist/_chunks/{data-table-DhYx-hCD.js → data-table-BCfkcPti.js} +2 -2
- package/dist/_chunks/{default-tabs-RvCI5uN0.js → default-tabs-yEfqAPuT.js} +3 -3
- package/dist/_chunks/{file-manager-DNq-sEsy.js → file-manager-Dpwv0qs-.js} +2 -2
- package/dist/_chunks/{heatmap-BurtKmeu.js → heatmap-Ds5DJBUL.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-C95s5Q7m.js → invoice-upload-list-CgS_TBuX.js} +12 -12
- package/dist/_chunks/{link-cell-renderer-BEaLczk2.js → link-cell-renderer-CC9VHU68.js} +2 -2
- package/dist/_chunks/{muscle-scheme-C9dnSxzw.js → muscle-scheme-TgnoZGDA.js} +725 -590
- package/dist/_chunks/{parts-CcyRkB8t.js → parts-tGzYz0uG.js} +42 -36
- package/dist/_chunks/{toolbar-Dznu_Dou.js → toolbar-Co46MEn9.js} +3 -3
- package/dist/_chunks/warehouse-load-summary-DkAKXcw0.js +289 -0
- package/dist/agent-catalog.json +7 -7
- package/dist/browser-support.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/data-grid/data-grid.variants.d.ts +3 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +3 -2
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/warehouse-load-summary/index.js +1 -1
- package/dist/components/warehouse-load-summary/types.d.ts +6 -0
- package/dist/components/warehouse-load-summary/warehouse-load-summary.d.ts +1 -1
- package/dist/core.css +1 -1
- package/dist/host-legacy.css +9 -0
- package/dist/i18n/locales/ar.d.ts +32 -0
- package/dist/i18n/locales/ar.js +19 -2
- package/dist/i18n/locales/de.d.ts +32 -0
- package/dist/i18n/locales/de.js +16 -2
- package/dist/i18n/locales/el.d.ts +32 -0
- package/dist/i18n/locales/el.js +18 -1
- package/dist/i18n/locales/en.d.ts +32 -0
- package/dist/i18n/locales/en.js +19 -2
- package/dist/i18n/locales/es.d.ts +32 -0
- package/dist/i18n/locales/es.js +18 -1
- package/dist/i18n/locales/fr.d.ts +32 -0
- package/dist/i18n/locales/fr.js +16 -2
- package/dist/i18n/locales/hi.d.ts +32 -0
- package/dist/i18n/locales/hi.js +19 -2
- package/dist/i18n/locales/it.d.ts +32 -0
- package/dist/i18n/locales/it.js +18 -1
- package/dist/i18n/locales/ja.d.ts +32 -0
- package/dist/i18n/locales/ja.js +16 -2
- package/dist/i18n/locales/nl.d.ts +32 -0
- package/dist/i18n/locales/nl.js +16 -2
- package/dist/i18n/locales/pl.d.ts +32 -0
- package/dist/i18n/locales/pl.js +19 -2
- package/dist/i18n/locales/pt.d.ts +32 -0
- package/dist/i18n/locales/pt.js +18 -1
- package/dist/i18n/locales/ro.d.ts +32 -0
- package/dist/i18n/locales/ro.js +21 -1
- package/dist/i18n/locales/ru.d.ts +32 -0
- package/dist/i18n/locales/ru.js +21 -1
- package/dist/i18n/locales/sq.d.ts +32 -0
- package/dist/i18n/locales/sq.js +18 -1
- package/dist/i18n/locales/sv.d.ts +32 -0
- package/dist/i18n/locales/sv.js +16 -2
- package/dist/i18n/locales/tr.d.ts +32 -0
- package/dist/i18n/locales/tr.js +16 -2
- package/dist/i18n/locales/zh.d.ts +32 -0
- package/dist/i18n/locales/zh.js +16 -2
- package/dist/index.js +13 -13
- package/dist/locales/ar.json +33 -1
- package/dist/locales/de.json +33 -1
- package/dist/locales/el.json +33 -1
- package/dist/locales/en.json +33 -1
- package/dist/locales/es.json +33 -1
- package/dist/locales/fr.json +33 -1
- package/dist/locales/hi.json +33 -1
- package/dist/locales/it.json +33 -1
- package/dist/locales/ja.json +33 -1
- package/dist/locales/nl.json +33 -1
- package/dist/locales/pl.json +33 -1
- package/dist/locales/pt.json +33 -1
- package/dist/locales/ro.json +33 -1
- package/dist/locales/ru.json +33 -1
- package/dist/locales/sq.json +33 -1
- package/dist/locales/sv.json +33 -1
- package/dist/locales/tr.json +33 -1
- package/dist/locales/zh.json +33 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/warehouse-load-summary-D88M4Ii7.js +0 -255
|
@@ -7,7 +7,7 @@ import { I as H } from "./icon-button-S8_weU3g.js";
|
|
|
7
7
|
import { P as oe } from "./popover-CN5IsOeS.js";
|
|
8
8
|
import { C as Ve } from "./checkbox-DV4sNDeB.js";
|
|
9
9
|
import { T as Qe } from "./text-input-B6iAgCr3.js";
|
|
10
|
-
import { T as
|
|
10
|
+
import { T as Te } from "./tag-BNlcEJfE.js";
|
|
11
11
|
import { D as U } from "./dropdown-menu-Dw6sgQwJ.js";
|
|
12
12
|
import { a as me } from "./format-number-DdzqwMs1.js";
|
|
13
13
|
import { g as Le } from "./date-locale-OG-MupVD.js";
|
|
@@ -147,7 +147,7 @@ function it(a, e) {
|
|
|
147
147
|
}
|
|
148
148
|
function ot(a, e, d = {}) {
|
|
149
149
|
if (!a || typeof a != "object") return "";
|
|
150
|
-
const t = a, u = typeof t.type == "string" ? t.type : "", F = d.kitWording === !0, E = (
|
|
150
|
+
const t = a, u = typeof t.type == "string" ? t.type : "", F = d.kitWording === !0, E = (T) => F && typeof t.filter == "string" && at(T) ? st(T, e) : it(T, e), I = (T) => typeof T == "number" && d.number ? d.number(T) : String(T), M = (T) => d.day ? d.day(T) : T, N = e("dataTable.numberFilter.from", "From"), Y = e("dataTable.numberFilter.to", "To");
|
|
151
151
|
if (u === "blank" || u === "notBlank") return E(u);
|
|
152
152
|
const Q = typeof t.filter == "string" || typeof t.filter == "number", ee = typeof t.filterTo == "string" || typeof t.filterTo == "number";
|
|
153
153
|
if (u === "inRange" && (Q || ee))
|
|
@@ -155,10 +155,10 @@ function ot(a, e, d = {}) {
|
|
|
155
155
|
if (Q)
|
|
156
156
|
return u ? `${E(u)} ${I(t.filter)}` : I(t.filter);
|
|
157
157
|
if (F) {
|
|
158
|
-
const
|
|
159
|
-
if (
|
|
160
|
-
if (
|
|
161
|
-
return L ? `${N} ${M(
|
|
158
|
+
const T = typeof t.dateFrom == "string" && t.dateFrom ? t.dateFrom : "", D = typeof t.dateTo == "string" && t.dateTo ? t.dateTo : "", L = u === "inRange" || u === "";
|
|
159
|
+
if (T && D) return `${M(T)} – ${M(D)}`;
|
|
160
|
+
if (T)
|
|
161
|
+
return L ? `${N} ${M(T)}` : `${E(u)} ${M(T)}`;
|
|
162
162
|
if (D) return `${Y} ${M(D)}`;
|
|
163
163
|
} else if (typeof t.dateFrom == "string")
|
|
164
164
|
return typeof t.dateTo == "string" && t.dateTo ? `${t.dateFrom} – ${t.dateTo}` : String(t.dateFrom);
|
|
@@ -204,7 +204,10 @@ const ct = Z([
|
|
|
204
204
|
// `flex-nowrap` + `min-w-0` so the row stays single-line at every common
|
|
205
205
|
// desktop width (1024 / 1280 / 1440): the QuickSearch slot shrinks via
|
|
206
206
|
// its own `min-w-0` instead of pushing the trailing Actions to a new row.
|
|
207
|
-
|
|
207
|
+
// `items-start`: when FilterBar grows a second row (the FacetFilter tabs),
|
|
208
|
+
// Actions stay on the first row beside the search box instead of floating
|
|
209
|
+
// between the two rows.
|
|
210
|
+
"ds:flex ds:flex-wrap ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
208
211
|
"ds:sm:flex-nowrap ds:min-w-0"
|
|
209
212
|
// No card surface: the toolbar sits directly on the page background,
|
|
210
213
|
// matching the header-tools layout the Patients / Care Plan List
|
|
@@ -227,6 +230,9 @@ const ct = Z([
|
|
|
227
230
|
defaultVariants: { hiddenQuery: !1 }
|
|
228
231
|
}), mt = Z([
|
|
229
232
|
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
233
|
+
// One control row tall (the sm control height), so the buttons share the
|
|
234
|
+
// centre line of the search box; a taller icon button overflows evenly.
|
|
235
|
+
"ds:h-[var(--row-height-compact)] ds:content-center",
|
|
230
236
|
"ds:ms-auto"
|
|
231
237
|
]), ft = Z(
|
|
232
238
|
"ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-xs)] ds:py-[var(--spacing-2xs,var(--spacing-xs))] ds:transition-colors",
|
|
@@ -359,7 +365,7 @@ function Vt(a) {
|
|
|
359
365
|
Q.displayName = `${e}.Refresh.MenuItem`;
|
|
360
366
|
const ee = Object.assign(M, {
|
|
361
367
|
overflowMenuItem: Y
|
|
362
|
-
}),
|
|
368
|
+
}), T = Object.assign(N, {
|
|
363
369
|
overflowMenuItem: Q
|
|
364
370
|
}), D = ({
|
|
365
371
|
placeholder: n,
|
|
@@ -370,15 +376,15 @@ function Vt(a) {
|
|
|
370
376
|
l ? ["quickFilter", "filter", "columns"] : []
|
|
371
377
|
), b = l && we(o), [k, m] = A(
|
|
372
378
|
() => l && !we(o) ? o.getQuickFilter() : ""
|
|
373
|
-
),
|
|
379
|
+
), x = _(l ? o.getQuickFilter() : ""), f = _(b), y = _(void 0), [$, S] = A(!1), W = Ge(), g = _(null);
|
|
374
380
|
X(() => {
|
|
375
381
|
if (!l) return;
|
|
376
382
|
const h = o.getQuickFilter();
|
|
377
383
|
if (f.current !== b) {
|
|
378
|
-
f.current = b,
|
|
384
|
+
f.current = b, x.current = h, m(b ? "" : h);
|
|
379
385
|
return;
|
|
380
386
|
}
|
|
381
|
-
h !==
|
|
387
|
+
h !== x.current && (y.current && (window.clearTimeout(y.current), y.current = void 0, S(!1)), x.current = h, m(b && h !== "" ? "" : h));
|
|
382
388
|
}, [l, o, v, b]), X(
|
|
383
389
|
() => () => {
|
|
384
390
|
y.current && window.clearTimeout(y.current);
|
|
@@ -388,8 +394,8 @@ function Vt(a) {
|
|
|
388
394
|
const R = (h) => {
|
|
389
395
|
y.current && window.clearTimeout(y.current), S(!0), y.current = window.setTimeout(() => {
|
|
390
396
|
if (y.current = void 0, S(!1), l) {
|
|
391
|
-
if (o.getQuickFilter() !==
|
|
392
|
-
|
|
397
|
+
if (o.getQuickFilter() !== x.current || h === x.current) return;
|
|
398
|
+
x.current = h;
|
|
393
399
|
}
|
|
394
400
|
o.setQuickFilter(h);
|
|
395
401
|
}, c);
|
|
@@ -449,12 +455,12 @@ function Vt(a) {
|
|
|
449
455
|
K(i, ["filter", "quickFilter", "columns"]);
|
|
450
456
|
const [, o] = Ae((g) => g + 1, 0), l = i.getFilterModel() ?? {}, v = i.getColumns(), b = new Map(
|
|
451
457
|
v.map((g) => [g.id, g])
|
|
452
|
-
), k = i.features.formatsFilterValues === !0, m = (g, R) => k ? n("dataTable.filterChips.chip", { column: g, value: R }) : `${g}: ${R}`,
|
|
458
|
+
), k = i.features.formatsFilterValues === !0, m = (g, R) => k ? n("dataTable.filterChips.chip", { column: g, value: R }) : `${g}: ${R}`, x = [];
|
|
453
459
|
for (const g of Object.keys(l)) {
|
|
454
460
|
const R = b.get(g);
|
|
455
461
|
if (!R) {
|
|
456
462
|
const h = (W = i.getFilterLabel) == null ? void 0 : W.call(i, g);
|
|
457
|
-
|
|
463
|
+
x.push({ key: g, label: h ?? g });
|
|
458
464
|
continue;
|
|
459
465
|
}
|
|
460
466
|
const O = R.masked ? "" : ot(
|
|
@@ -462,10 +468,10 @@ function Vt(a) {
|
|
|
462
468
|
n,
|
|
463
469
|
nt(R, k, c.language)
|
|
464
470
|
), w = R.label || g;
|
|
465
|
-
|
|
471
|
+
x.push({ key: g, label: O ? m(w, O) : w });
|
|
466
472
|
}
|
|
467
473
|
const f = i.getQuickFilter(), y = n("dataTable.quickSearch.label", "Quick search"), $ = v.some((g) => g.masked === !0) ? y : m(y, f);
|
|
468
|
-
return
|
|
474
|
+
return x.length + (f ? 1 : 0) === 0 ? null : /* @__PURE__ */ G(
|
|
469
475
|
"div",
|
|
470
476
|
{
|
|
471
477
|
role: "group",
|
|
@@ -473,7 +479,7 @@ function Vt(a) {
|
|
|
473
479
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
474
480
|
children: [
|
|
475
481
|
f && /* @__PURE__ */ r(
|
|
476
|
-
|
|
482
|
+
Te,
|
|
477
483
|
{
|
|
478
484
|
label: $,
|
|
479
485
|
size: "sm",
|
|
@@ -484,8 +490,8 @@ function Vt(a) {
|
|
|
484
490
|
}
|
|
485
491
|
}
|
|
486
492
|
),
|
|
487
|
-
|
|
488
|
-
|
|
493
|
+
x.map((g) => /* @__PURE__ */ r(
|
|
494
|
+
Te,
|
|
489
495
|
{
|
|
490
496
|
label: g.label,
|
|
491
497
|
size: "sm",
|
|
@@ -521,7 +527,7 @@ function Vt(a) {
|
|
|
521
527
|
X(() => {
|
|
522
528
|
v && m(null);
|
|
523
529
|
}, [v, b]);
|
|
524
|
-
const
|
|
530
|
+
const x = k ? k.value : v ? ((y = l.getFacet) == null ? void 0 : y.call(l, n)) ?? null : null;
|
|
525
531
|
function f($) {
|
|
526
532
|
m({ value: $ }), l.setFacet(n, $);
|
|
527
533
|
}
|
|
@@ -530,9 +536,9 @@ function Vt(a) {
|
|
|
530
536
|
{
|
|
531
537
|
role: "group",
|
|
532
538
|
"aria-label": i ?? o("dataTable.facetFilter.label", "Filter"),
|
|
533
|
-
className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
539
|
+
className: "ds:flex ds:w-full ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
534
540
|
children: c.map(($) => {
|
|
535
|
-
const S =
|
|
541
|
+
const S = x === $.value;
|
|
536
542
|
return /* @__PURE__ */ r(
|
|
537
543
|
ie,
|
|
538
544
|
{
|
|
@@ -606,7 +612,7 @@ function Vt(a) {
|
|
|
606
612
|
he.displayName = `${e}.ExportMenu.Item`;
|
|
607
613
|
const de = V(
|
|
608
614
|
function({ label: c, icon: i, footer: o, header: l, intent: v = "outline", ...b }, k) {
|
|
609
|
-
const { t: m, i18n:
|
|
615
|
+
const { t: m, i18n: x } = q("ui"), f = t("ColumnToggle"), y = f.features.keyboardReorder, $ = f.features.toolbarAnnouncesColumnMoves === !0, [S, W] = A(!1), [g, R] = A(""), O = K(f, S ? ["columns"] : []), [w, h] = A([]), [ve, ce] = A(null), [Me, te] = A(null), J = _(/* @__PURE__ */ new Map()), re = _(
|
|
610
616
|
null
|
|
611
617
|
), j = se(
|
|
612
618
|
() => f.getColumns().filter((s) => s.hiddenByPrivacy !== !0),
|
|
@@ -631,7 +637,7 @@ function Vt(a) {
|
|
|
631
637
|
f.isReady() && (f.setColumnVisible(s, C), h(j()));
|
|
632
638
|
},
|
|
633
639
|
[f, j]
|
|
634
|
-
),
|
|
640
|
+
), xe = se(
|
|
635
641
|
(s, C) => {
|
|
636
642
|
if (!f.isReady()) return;
|
|
637
643
|
const B = f.getColumns().find((pe) => pe.id === s);
|
|
@@ -650,19 +656,19 @@ function Vt(a) {
|
|
|
650
656
|
R(
|
|
651
657
|
m("dataGrid.announce.columnMoved", {
|
|
652
658
|
column: ae,
|
|
653
|
-
position: me(p + 1,
|
|
654
|
-
total: me(P.length,
|
|
659
|
+
position: me(p + 1, x.language),
|
|
660
|
+
total: me(P.length, x.language)
|
|
655
661
|
})
|
|
656
662
|
);
|
|
657
663
|
},
|
|
658
|
-
[f, j, $, m,
|
|
664
|
+
[f, j, $, m, x.language]
|
|
659
665
|
), ue = se(
|
|
660
666
|
(s, C) => {
|
|
661
667
|
if (s === C) return;
|
|
662
668
|
const B = f.getColumns().findIndex((P) => P.id === C);
|
|
663
|
-
B < 0 ||
|
|
669
|
+
B < 0 || xe(s, B);
|
|
664
670
|
},
|
|
665
|
-
[f,
|
|
671
|
+
[f, xe]
|
|
666
672
|
), ne = c ?? m("dataTable.columnToggle");
|
|
667
673
|
return /* @__PURE__ */ G(oe.Root, { open: S, onOpenChange: W, children: [
|
|
668
674
|
/* @__PURE__ */ r(oe.Trigger, { asChild: !0, children: /* @__PURE__ */ r(
|
|
@@ -815,8 +821,8 @@ function Vt(a) {
|
|
|
815
821
|
({ label: n, icon: c, onAction: i, variant: o = "default", size: l = "sm", ...v }, b) => {
|
|
816
822
|
const { t: k } = q("ui"), m = t("BulkAction");
|
|
817
823
|
K(m, ["selection"]);
|
|
818
|
-
const
|
|
819
|
-
return
|
|
824
|
+
const x = m.getSelectionCount();
|
|
825
|
+
return x === 0 ? null : /* @__PURE__ */ G(
|
|
820
826
|
ie,
|
|
821
827
|
{
|
|
822
828
|
ref: b,
|
|
@@ -825,7 +831,7 @@ function Vt(a) {
|
|
|
825
831
|
size: l,
|
|
826
832
|
startIcon: lt(c),
|
|
827
833
|
onClick: () => i(dt(m)),
|
|
828
|
-
"aria-label": `${n} (${k("dataTable.bulkAction", { count:
|
|
834
|
+
"aria-label": `${n} (${k("dataTable.bulkAction", { count: x })})`,
|
|
829
835
|
...v,
|
|
830
836
|
children: [
|
|
831
837
|
/* @__PURE__ */ r("span", { children: n }),
|
|
@@ -834,7 +840,7 @@ function Vt(a) {
|
|
|
834
840
|
{
|
|
835
841
|
"aria-hidden": "true",
|
|
836
842
|
className: "ds:ms-[var(--spacing-xs)] ds:opacity-80",
|
|
837
|
-
children: k("dataTable.bulkAction", { count:
|
|
843
|
+
children: k("dataTable.bulkAction", { count: x })
|
|
838
844
|
}
|
|
839
845
|
)
|
|
840
846
|
]
|
|
@@ -850,7 +856,7 @@ function Vt(a) {
|
|
|
850
856
|
FilterBar: F,
|
|
851
857
|
Actions: E,
|
|
852
858
|
Print: ee,
|
|
853
|
-
Refresh:
|
|
859
|
+
Refresh: T,
|
|
854
860
|
QuickSearch: D,
|
|
855
861
|
FilterChips: L,
|
|
856
862
|
FacetFilter: fe,
|
|
@@ -866,4 +872,4 @@ export {
|
|
|
866
872
|
dt as a,
|
|
867
873
|
Vt as c
|
|
868
874
|
};
|
|
869
|
-
//# sourceMappingURL=parts-
|
|
875
|
+
//# sourceMappingURL=parts-tGzYz0uG.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as M, useEffect as G, forwardRef as m, useCallback as w } from "react";
|
|
3
3
|
import { useTranslation as I } from "react-i18next";
|
|
4
|
-
import { T as v, c as N, a as R } from "./parts-
|
|
4
|
+
import { T as v, c as N, a as R } from "./parts-tGzYz0uG.js";
|
|
5
5
|
import { e as k, s as P, w as A, a as B } from "./export-files-BByoK9Cg.js";
|
|
6
6
|
import { i as O } from "./is-development-CLUAnsU7.js";
|
|
7
7
|
import { d as j, g as Q, u as _ } from "./grid-context-jn9y8tNE.js";
|
|
8
|
-
import { g as U } from "./data-grid-
|
|
8
|
+
import { g as U } from "./data-grid-bzvkQ3kc.js";
|
|
9
9
|
function S() {
|
|
10
10
|
var t;
|
|
11
11
|
return ((t = _()) == null ? void 0 : t.toolbarSeam) ?? null;
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
Z as D,
|
|
157
157
|
Y as a
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=toolbar-
|
|
159
|
+
//# sourceMappingURL=toolbar-Co46MEn9.js.map
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { jsx as t, jsxs as l, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
+
import { useId as W, useRef as C, useEffect as j, useMemo as I } from "react";
|
|
3
|
+
import { useTranslation as R } from "react-i18next";
|
|
4
|
+
import { u as U } from "./registry-DvAUVLHh.js";
|
|
5
|
+
import { A as m } from "./alert-C4WKViaS.js";
|
|
6
|
+
import { S as k } from "./stat-WGLdn5Vn.js";
|
|
7
|
+
import { a as H } from "./stat-group-CC4-O-Fj.js";
|
|
8
|
+
import { W as $, w as D } from "./counts-BXtzNv_G.js";
|
|
9
|
+
const V = /* @__PURE__ */ new Set([
|
|
10
|
+
"itemsUpdated",
|
|
11
|
+
"filesWithErrors"
|
|
12
|
+
]), O = /* @__PURE__ */ new Set([
|
|
13
|
+
"invoicesLoaded",
|
|
14
|
+
"filesWithErrors"
|
|
15
|
+
]);
|
|
16
|
+
function L(a) {
|
|
17
|
+
return typeof a == "number" && Number.isFinite(a) && a >= 0;
|
|
18
|
+
}
|
|
19
|
+
function B(a, s) {
|
|
20
|
+
const o = [];
|
|
21
|
+
for (const r of $) {
|
|
22
|
+
if (s === "invoice" && O.has(r)) continue;
|
|
23
|
+
const d = a[r];
|
|
24
|
+
if (!L(d)) continue;
|
|
25
|
+
const n = Math.trunc(d);
|
|
26
|
+
n === 0 && V.has(r) || o.push({ key: r, count: n });
|
|
27
|
+
}
|
|
28
|
+
return o;
|
|
29
|
+
}
|
|
30
|
+
function Y(a, s, o) {
|
|
31
|
+
if (a) return a;
|
|
32
|
+
const d = (s.filesWithErrors ?? 0) > 0 || o.length > 0, n = L(s.invoicesLoaded) && s.invoicesLoaded >= 1 || L(s.linesLoaded) && s.linesLoaded >= 1;
|
|
33
|
+
return d ? n ? "partial" : "error" : n ? "success" : "unchanged";
|
|
34
|
+
}
|
|
35
|
+
const z = {
|
|
36
|
+
id: "warehouse-load-summary",
|
|
37
|
+
capabilities: [],
|
|
38
|
+
state: {
|
|
39
|
+
counts: {
|
|
40
|
+
type: "Record<string, number>",
|
|
41
|
+
description: "The counts shown, by key (invoicesLoaded, itemsCreated, itemsUpdated, linesLoaded, linesAlreadyLoaded, linesSkipped, filesWithErrors). Hidden counts are absent.",
|
|
42
|
+
read: (a) => a.getCounts()
|
|
43
|
+
},
|
|
44
|
+
failedFileIds: {
|
|
45
|
+
type: "string[]",
|
|
46
|
+
description: "Ids of the failed files listed. File names and error texts are not read.",
|
|
47
|
+
read: (a) => a.getFailedFileIds()
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
actions: {},
|
|
51
|
+
domHooks: {
|
|
52
|
+
root: {
|
|
53
|
+
attr: "data-component",
|
|
54
|
+
value: "warehouse-load-summary",
|
|
55
|
+
description: "Marks the summary root."
|
|
56
|
+
},
|
|
57
|
+
instanceId: {
|
|
58
|
+
attr: "data-component-id",
|
|
59
|
+
sourceProp: "id",
|
|
60
|
+
description: "Sourced from the id prop."
|
|
61
|
+
},
|
|
62
|
+
item: {
|
|
63
|
+
attr: "data-file-id",
|
|
64
|
+
description: "Each failed file row emits its id as data-file-id."
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}, N = {
|
|
68
|
+
success: "success",
|
|
69
|
+
partial: "warning",
|
|
70
|
+
error: "error",
|
|
71
|
+
unchanged: "info"
|
|
72
|
+
}, G = [], S = {
|
|
73
|
+
filesWithErrors: "destructive"
|
|
74
|
+
};
|
|
75
|
+
function re({
|
|
76
|
+
counts: a,
|
|
77
|
+
scope: s = "batch",
|
|
78
|
+
outcome: o,
|
|
79
|
+
failedFiles: r = G,
|
|
80
|
+
headingLevel: d = 2,
|
|
81
|
+
focusOnMount: n = !0,
|
|
82
|
+
actions: f,
|
|
83
|
+
variant: E = "full",
|
|
84
|
+
id: h,
|
|
85
|
+
className: b
|
|
86
|
+
}) {
|
|
87
|
+
const { t: c, i18n: T } = R("ui"), g = T.language, w = W(), v = C(null);
|
|
88
|
+
j(() => {
|
|
89
|
+
var e;
|
|
90
|
+
n && ((e = v.current) == null || e.focus({ preventScroll: !0 }));
|
|
91
|
+
}, [n]);
|
|
92
|
+
const u = I(() => B(a, s), [a, s]), i = Y(o, a, r), A = I(
|
|
93
|
+
() => ({
|
|
94
|
+
getCounts: () => Object.fromEntries(u.map((e) => [e.key, e.count])),
|
|
95
|
+
getFailedFileIds: () => r.map((e) => e.id)
|
|
96
|
+
}),
|
|
97
|
+
[u, r]
|
|
98
|
+
);
|
|
99
|
+
U(z, A, h);
|
|
100
|
+
const y = c(`warehouseLoadSummary.title.${s}.${i}`, {
|
|
101
|
+
defaultValue: K[s][i]
|
|
102
|
+
}), F = u.filter((e) => e.count > 0).map((e) => D(c, g, e.key, e.count)), p = P(F, g);
|
|
103
|
+
return E === "banner" ? /* @__PURE__ */ t(
|
|
104
|
+
"div",
|
|
105
|
+
{
|
|
106
|
+
"data-component": "warehouse-load-summary",
|
|
107
|
+
"data-component-id": h,
|
|
108
|
+
"data-outcome": i,
|
|
109
|
+
"data-variant": "banner",
|
|
110
|
+
className: b,
|
|
111
|
+
children: /* @__PURE__ */ t(
|
|
112
|
+
m,
|
|
113
|
+
{
|
|
114
|
+
variant: N[i],
|
|
115
|
+
announce: n ? "off" : "polite",
|
|
116
|
+
children: /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-xs)] ds:gap-y-[var(--spacing-xs)]", children: [
|
|
117
|
+
/* @__PURE__ */ t(
|
|
118
|
+
m.Title,
|
|
119
|
+
{
|
|
120
|
+
ref: v,
|
|
121
|
+
tabIndex: -1,
|
|
122
|
+
className: "ds:outline-none",
|
|
123
|
+
as: `h${d}`,
|
|
124
|
+
children: y
|
|
125
|
+
}
|
|
126
|
+
),
|
|
127
|
+
p ? /* @__PURE__ */ l(_, { children: [
|
|
128
|
+
/* @__PURE__ */ t("span", { "aria-hidden": "true", children: "·" }),
|
|
129
|
+
/* @__PURE__ */ t("p", { className: "type-body-sm ds:m-0", children: p })
|
|
130
|
+
] }) : null,
|
|
131
|
+
f ? /* @__PURE__ */ t("div", { className: "ds:ms-auto ds:flex ds:flex-wrap ds:justify-end ds:gap-[var(--spacing-sm)]", children: f }) : null
|
|
132
|
+
] })
|
|
133
|
+
}
|
|
134
|
+
)
|
|
135
|
+
}
|
|
136
|
+
) : /* @__PURE__ */ l(
|
|
137
|
+
"div",
|
|
138
|
+
{
|
|
139
|
+
"data-component": "warehouse-load-summary",
|
|
140
|
+
"data-component-id": h,
|
|
141
|
+
"data-outcome": i,
|
|
142
|
+
className: ["ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", b].filter(Boolean).join(" "),
|
|
143
|
+
children: [
|
|
144
|
+
/* @__PURE__ */ l(
|
|
145
|
+
m,
|
|
146
|
+
{
|
|
147
|
+
variant: N[i],
|
|
148
|
+
announce: n ? "off" : "polite",
|
|
149
|
+
children: [
|
|
150
|
+
/* @__PURE__ */ t(
|
|
151
|
+
m.Title,
|
|
152
|
+
{
|
|
153
|
+
ref: v,
|
|
154
|
+
tabIndex: -1,
|
|
155
|
+
className: "ds:outline-none",
|
|
156
|
+
as: `h${d}`,
|
|
157
|
+
children: y
|
|
158
|
+
}
|
|
159
|
+
),
|
|
160
|
+
p ? /* @__PURE__ */ t(m.Description, { children: p }) : null
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
),
|
|
164
|
+
u.length > 0 ? /* @__PURE__ */ t(
|
|
165
|
+
H,
|
|
166
|
+
{
|
|
167
|
+
"aria-label": c("warehouseLoadSummary.counts", {
|
|
168
|
+
defaultValue: "Load counts"
|
|
169
|
+
}),
|
|
170
|
+
maxColumns: 4,
|
|
171
|
+
children: u.map(({ key: e, count: x }) => /* @__PURE__ */ t(
|
|
172
|
+
k,
|
|
173
|
+
{
|
|
174
|
+
variant: "outlined",
|
|
175
|
+
size: "sm",
|
|
176
|
+
label: c(`warehouseLoadSummary.stat.${e}`, {
|
|
177
|
+
defaultValue: M[e]
|
|
178
|
+
}),
|
|
179
|
+
value: x,
|
|
180
|
+
locale: g,
|
|
181
|
+
intent: x > 0 && e in S ? S[e] : "foreground"
|
|
182
|
+
},
|
|
183
|
+
e
|
|
184
|
+
))
|
|
185
|
+
}
|
|
186
|
+
) : null,
|
|
187
|
+
r.length > 0 ? /* @__PURE__ */ l(
|
|
188
|
+
"div",
|
|
189
|
+
{
|
|
190
|
+
role: "group",
|
|
191
|
+
"aria-labelledby": w,
|
|
192
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
193
|
+
children: [
|
|
194
|
+
/* @__PURE__ */ t(
|
|
195
|
+
Z,
|
|
196
|
+
{
|
|
197
|
+
as: `h${Math.min(d + 1, 6)}`,
|
|
198
|
+
id: w,
|
|
199
|
+
children: c("warehouseLoadSummary.failedFiles", {
|
|
200
|
+
defaultValue: "Files that could not be loaded"
|
|
201
|
+
})
|
|
202
|
+
}
|
|
203
|
+
),
|
|
204
|
+
/* @__PURE__ */ t(
|
|
205
|
+
"ul",
|
|
206
|
+
{
|
|
207
|
+
role: "list",
|
|
208
|
+
className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-xs)] ds:p-0",
|
|
209
|
+
children: r.map((e) => /* @__PURE__ */ l(
|
|
210
|
+
"li",
|
|
211
|
+
{
|
|
212
|
+
"data-file-id": e.id,
|
|
213
|
+
className: "ds:flex ds:flex-col ds:break-words ds:border-s-[length:var(--border-width-md)] ds:border-s-[color:var(--destructive)] ds:ps-[var(--spacing-sm)]",
|
|
214
|
+
children: [
|
|
215
|
+
/* @__PURE__ */ t(
|
|
216
|
+
"span",
|
|
217
|
+
{
|
|
218
|
+
dir: "auto",
|
|
219
|
+
className: "type-label ds:text-[var(--foreground)]",
|
|
220
|
+
children: e.fileName
|
|
221
|
+
}
|
|
222
|
+
),
|
|
223
|
+
/* @__PURE__ */ t(
|
|
224
|
+
"span",
|
|
225
|
+
{
|
|
226
|
+
dir: "auto",
|
|
227
|
+
className: "type-meta ds:text-[var(--muted-foreground)]",
|
|
228
|
+
children: e.error
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
e.id
|
|
234
|
+
))
|
|
235
|
+
}
|
|
236
|
+
)
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
) : null,
|
|
240
|
+
f ? /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:justify-end ds:gap-[var(--spacing-sm)]", children: f }) : null
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
const K = {
|
|
246
|
+
invoice: {
|
|
247
|
+
success: "Invoice loaded",
|
|
248
|
+
partial: "Invoice loaded with warnings",
|
|
249
|
+
error: "The invoice could not be loaded",
|
|
250
|
+
unchanged: "Nothing new to load"
|
|
251
|
+
},
|
|
252
|
+
batch: {
|
|
253
|
+
success: "Invoices loaded",
|
|
254
|
+
partial: "Invoices loaded, some files failed",
|
|
255
|
+
error: "No invoices were loaded",
|
|
256
|
+
unchanged: "Nothing new to load"
|
|
257
|
+
}
|
|
258
|
+
}, M = {
|
|
259
|
+
invoicesLoaded: "Invoices loaded",
|
|
260
|
+
itemsCreated: "Items created",
|
|
261
|
+
itemsUpdated: "Items updated",
|
|
262
|
+
linesLoaded: "Lines loaded",
|
|
263
|
+
linesAlreadyLoaded: "Lines already loaded",
|
|
264
|
+
linesSkipped: "Lines skipped",
|
|
265
|
+
filesWithErrors: "Files with errors"
|
|
266
|
+
};
|
|
267
|
+
function P(a, s) {
|
|
268
|
+
if (a.length === 0) return "";
|
|
269
|
+
try {
|
|
270
|
+
return new Intl.ListFormat(s, {
|
|
271
|
+
style: "long",
|
|
272
|
+
type: "conjunction"
|
|
273
|
+
}).format(a);
|
|
274
|
+
} catch {
|
|
275
|
+
return a.join(", ");
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
function Z({
|
|
279
|
+
as: a,
|
|
280
|
+
id: s,
|
|
281
|
+
children: o
|
|
282
|
+
}) {
|
|
283
|
+
return /* @__PURE__ */ t(a, { id: s, className: "type-label ds:m-0 ds:text-[var(--foreground)]", children: o });
|
|
284
|
+
}
|
|
285
|
+
export {
|
|
286
|
+
re as W,
|
|
287
|
+
z as w
|
|
288
|
+
};
|
|
289
|
+
//# sourceMappingURL=warehouse-load-summary-DkAKXcw0.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.127.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -10225,7 +10225,7 @@
|
|
|
10225
10225
|
"properties": {
|
|
10226
10226
|
"regionId": {
|
|
10227
10227
|
"type": "string",
|
|
10228
|
-
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10228
|
+
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. Every body view also has head, elbow-l/r and wrist-l/r; front views add ribs-l/r and hip-l/r, back views spine, scapula-l/r and knee-back-l/r. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10229
10229
|
}
|
|
10230
10230
|
},
|
|
10231
10231
|
"required": [
|
|
@@ -10245,7 +10245,7 @@
|
|
|
10245
10245
|
"properties": {
|
|
10246
10246
|
"regionId": {
|
|
10247
10247
|
"type": "string",
|
|
10248
|
-
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10248
|
+
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. Every body view also has head, elbow-l/r and wrist-l/r; front views add ribs-l/r and hip-l/r, back views spine, scapula-l/r and knee-back-l/r. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10249
10249
|
}
|
|
10250
10250
|
},
|
|
10251
10251
|
"required": [
|
|
@@ -10306,7 +10306,7 @@
|
|
|
10306
10306
|
"type": "array",
|
|
10307
10307
|
"items": {
|
|
10308
10308
|
"type": "string",
|
|
10309
|
-
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10309
|
+
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. Every body view also has head, elbow-l/r and wrist-l/r; front views add ribs-l/r and hip-l/r, back views spine, scapula-l/r and knee-back-l/r. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10310
10310
|
}
|
|
10311
10311
|
},
|
|
10312
10312
|
"idempotent": true,
|
|
@@ -10322,7 +10322,7 @@
|
|
|
10322
10322
|
"properties": {
|
|
10323
10323
|
"regionId": {
|
|
10324
10324
|
"type": "string",
|
|
10325
|
-
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10325
|
+
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. Every body view also has head, elbow-l/r and wrist-l/r; front views add ribs-l/r and hip-l/r, back views spine, scapula-l/r and knee-back-l/r. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10326
10326
|
},
|
|
10327
10327
|
"type": {
|
|
10328
10328
|
"enum": [
|
|
@@ -10355,7 +10355,7 @@
|
|
|
10355
10355
|
"properties": {
|
|
10356
10356
|
"regionId": {
|
|
10357
10357
|
"type": "string",
|
|
10358
|
-
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10358
|
+
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. Every body view also has head, elbow-l/r and wrist-l/r; front views add ribs-l/r and hip-l/r, back views spine, scapula-l/r and knee-back-l/r. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10359
10359
|
},
|
|
10360
10360
|
"type": {
|
|
10361
10361
|
"enum": [
|
|
@@ -10385,7 +10385,7 @@
|
|
|
10385
10385
|
"properties": {
|
|
10386
10386
|
"regionId": {
|
|
10387
10387
|
"type": "string",
|
|
10388
|
-
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10388
|
+
"description": "Region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'chest-r', 'trapezius-l'. Every body view also has head, elbow-l/r and wrist-l/r; front views add ribs-l/r and hip-l/r, back views spine, scapula-l/r and knee-back-l/r. The female body view muscular-front-female also has breast-l and breast-r. The organ-only reproductive-female view has vulva, vagina, cervix, uterus, ovary-l, ovary-r, fallopian-tube-l, fallopian-tube-r, bladder and urethra. The organ-only reproductive-male view has penis, scrotum, testis-l, testis-r, prostate, bladder, urethra, epididymis-l, epididymis-r, vas-deferens-l, vas-deferens-r, seminal-vesicle-l and seminal-vesicle-r. Child views have no organ regions."
|
|
10389
10389
|
}
|
|
10390
10390
|
},
|
|
10391
10391
|
"required": [
|