@middag-io/react 0.14.0 → 0.15.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.
Files changed (38) hide show
  1. package/dist-lib/{ChartPanelBlock-DIb2mv9F.js → ChartPanelBlock-CUEw9_bj.js} +5 -5
  2. package/dist-lib/{ConditionTreeBlock-C54B_GOo.js → ConditionTreeBlock-QxlPAP-u.js} +1 -1
  3. package/dist-lib/{DateField-CA-O-Fpw.js → DateField-HUdK_2-k.js} +1 -1
  4. package/dist-lib/{DocumentField-I92arMqr.js → DocumentField-C4zJ_TEG.js} +1 -1
  5. package/dist-lib/{FormBuilderBlock-B_LPQ4oN.js → FormBuilderBlock-BAyyV1iC.js} +1 -1
  6. package/dist-lib/FormPanelBlock-CvABbqMU.js +2 -0
  7. package/dist-lib/{FormPanelBlock-BE89P5Vj.js → FormPanelBlock-plcFRhaD.js} +3 -3
  8. package/dist-lib/{MarkdownContent-DVCptbxx.js → MarkdownContent-aG6edw18.js} +1 -1
  9. package/dist-lib/{PhoneField-BXhvQbTx.js → PhoneField-DSV3PZhq.js} +1 -1
  10. package/dist-lib/{SentenceBuilderBlock-Wf5YMSPg.js → SentenceBuilderBlock-Cc4cEZym.js} +1 -1
  11. package/dist-lib/api/index.json +14 -0
  12. package/dist-lib/api/inspector/connectors/canvas.json +18 -0
  13. package/dist-lib/api/inspector/connectors/moodle.json +18 -0
  14. package/dist-lib/api/inspector/connectors/n8n.json +18 -0
  15. package/dist-lib/api/inspector/connectors/open-edx.json +18 -0
  16. package/dist-lib/api/inspector/offerings/off-1.json +18 -0
  17. package/dist-lib/api/inspector/offerings/off-2.json +18 -0
  18. package/dist-lib/api/inspector/offerings/off-3.json +18 -0
  19. package/dist-lib/api/inspector/offerings/off-4.json +18 -0
  20. package/dist-lib/api/inspector/offerings/off-5.json +18 -0
  21. package/dist-lib/api/inspector/offerings/off-6.json +17 -0
  22. package/dist-lib/base/blocks/ChartPanelBlock.d.ts.map +1 -1
  23. package/dist-lib/base/blocks/DenseTableBlock.d.ts.map +1 -1
  24. package/dist-lib/base/blocks/LinkListBlock.d.ts.map +1 -1
  25. package/dist-lib/base/layout/DashboardLayout.d.ts +2 -2
  26. package/dist-lib/base/layout/DashboardLayout.d.ts.map +1 -1
  27. package/dist-lib/base/partials/DataTable/cell-renderers.d.ts.map +1 -1
  28. package/dist-lib/base/partials/DataTable/index.d.ts +3 -1
  29. package/dist-lib/base/partials/DataTable/index.d.ts.map +1 -1
  30. package/dist-lib/base/shell/ProductShell.d.ts.map +1 -1
  31. package/dist-lib/base/shell/partials/PageFilterTabs.d.ts.map +1 -1
  32. package/dist-lib/contracts/navigation.d.ts +1 -1
  33. package/dist-lib/contracts/navigation.d.ts.map +1 -1
  34. package/dist-lib/{i18n-CP5eDOjK.js → i18n-C-HkP6FS.js} +1 -1
  35. package/dist-lib/middag-react.css +1 -1
  36. package/dist-lib/middag-react.js +2413 -2121
  37. package/package.json +1 -1
  38. package/dist-lib/FormPanelBlock-Bn_z6669.js +0 -2
@@ -17985,19 +17985,19 @@ function lL({ data: e, series: t, categoryKey: n, config: r }) {
17985
17985
  });
17986
17986
  }
17987
17987
  function uL({ block: e }) {
17988
- let { chartType: t, series: n, showGrid: r = !0 } = e.data, i = w(() => sL(n), [n]);
17988
+ let { chartType: t, series: n, showGrid: r = !0 } = e.data, i = `${e.meta?.compact === !0 ? "h-[200px]" : "h-[300px]"} w-full [&>div]:aspect-auto [&>div]:h-full`, a = w(() => sL(n), [n]);
17989
17989
  return t === "pie" ? /* @__PURE__ */ O("div", {
17990
- className: "h-[300px] w-full",
17990
+ className: i,
17991
17991
  children: /* @__PURE__ */ O(lL, {
17992
17992
  ...e.data,
17993
- config: i
17993
+ config: a
17994
17994
  })
17995
17995
  }) : /* @__PURE__ */ O("div", {
17996
- className: "h-[300px] w-full",
17996
+ className: i,
17997
17997
  children: /* @__PURE__ */ O(cL, {
17998
17998
  ...e.data,
17999
17999
  showGrid: r,
18000
- config: i
18000
+ config: a
18001
18001
  })
18002
18002
  });
18003
18003
  }
@@ -1,4 +1,4 @@
1
- import { n as e } from "./i18n-CP5eDOjK.js";
1
+ import { n as e } from "./i18n-C-HkP6FS.js";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
3
  //#region src/base/blocks/ConditionTreeBlock.tsx
4
4
  function r({ logic: e }) {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./button-DY_CinAY.js";
2
2
  import { i as t, o as n, s as r, t as i } from "./calendar-Dw-fH9qs.js";
3
- import { n as a } from "./i18n-CP5eDOjK.js";
3
+ import { n as a } from "./i18n-C-HkP6FS.js";
4
4
  import { n as o, r as s, t as c } from "./popover-DeghPbgu.js";
5
5
  import { t as l } from "./input-DovH16Rh.js";
6
6
  import { useCallback as u, useState as d } from "react";
@@ -1,4 +1,4 @@
1
- import { n as e } from "./i18n-CP5eDOjK.js";
1
+ import { n as e } from "./i18n-C-HkP6FS.js";
2
2
  import { t } from "./input-DovH16Rh.js";
3
3
  import "./document-validation-C5Yr5Kkc.js";
4
4
  import { useCallback as n, useMemo as r } from "react";
@@ -1,4 +1,4 @@
1
- import { n as e } from "./i18n-CP5eDOjK.js";
1
+ import { n as e } from "./i18n-C-HkP6FS.js";
2
2
  import { _ as t, a as n, c as r, h as i, l as a, n as o, o as s, p as c, s as l, t as u, u as d, v as f } from "./sortable.esm-0nILrm98.js";
3
3
  import { useCallback as p, useState as m } from "react";
4
4
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./FormPanelBlock-plcFRhaD.js";
2
+ export { e as FormPanelBlock };
@@ -1,6 +1,6 @@
1
1
  import { a as e, c as t, i as n, l as r, o as i, r as a, s as o, t as s, u as c } from "./button-DY_CinAY.js";
2
2
  import { A as l, B as u, C as d, D as f, E as p, F as m, G as h, H as g, I as _, J as v, K as y, L as b, M as x, N as S, O as C, P as ee, Q as w, R as T, S as E, T as D, U as O, V as k, W as A, X as te, Y as ne, Z as re, _ as ie, a as ae, b as oe, d as se, f as ce, g as le, h as ue, i as de, j as fe, k as pe, m as me, n as he, o as ge, p as _e, q as ve, r as ye, t as be, u as xe, v as Se, w as Ce, x as we, y as Te, z as Ee } from "./combobox-DdpNpq0T.js";
3
- import { n as De } from "./i18n-CP5eDOjK.js";
3
+ import { n as De } from "./i18n-C-HkP6FS.js";
4
4
  import { G as Oe, J as ke, K as Ae, et as je, gt as Me, ht as Ne, l as Pe, lt as Fe, p as Ie, t as Le, u as Re, w as ze, y as Be } from "./HugeiconsIcon-C_2Bj2NI.js";
5
5
  import { t as j } from "./utils-DS8lnGJS.js";
6
6
  import { a as M, n as N, o as Ve } from "./dist-BVqmxsUH.js";
@@ -4989,7 +4989,7 @@ function Mf(e) {
4989
4989
  return e === "error" ? "text-destructive" : "text-muted-foreground/50";
4990
4990
  }
4991
4991
  function Nf({ variant: e = "first-use", icon: t, lottieUrl: n, title: r, description: i, cta: a, ctaSecondary: o }) {
4992
- let c = Af[e], l = jf(e, t), u = Mf(e), d = e !== "permission" && a, f = c.iconSize * 2.5;
4992
+ let c = Af[e], l = jf(e, t), u = Mf(e), d = e !== "permission" && a, f = c.iconSize * 1.8;
4993
4993
  return /* @__PURE__ */ R("div", {
4994
4994
  role: "status",
4995
4995
  "aria-live": "polite",
@@ -8355,7 +8355,7 @@ function Og(e, t, n) {
8355
8355
  }
8356
8356
  //#endregion
8357
8357
  //#region src/base/form/FormField.tsx
8358
- var kg = gt(() => import("./PhoneField-BXhvQbTx.js").then((e) => ({ default: e.PhoneField }))), Ag = gt(() => import("./DateField-CA-O-Fpw.js").then((e) => ({ default: e.DateField }))), jg = gt(() => import("./DocumentField-I92arMqr.js").then((e) => ({ default: e.DocumentField }))), Mg = gt(() => import("./DateRangeField-vXr5VVQz.js").then((e) => ({ default: e.DateRangeField })));
8358
+ var kg = gt(() => import("./PhoneField-DSV3PZhq.js").then((e) => ({ default: e.PhoneField }))), Ag = gt(() => import("./DateField-HUdK_2-k.js").then((e) => ({ default: e.DateField }))), jg = gt(() => import("./DocumentField-C4zJ_TEG.js").then((e) => ({ default: e.DocumentField }))), Mg = gt(() => import("./DateRangeField-vXr5VVQz.js").then((e) => ({ default: e.DateRangeField })));
8359
8359
  function Ng() {
8360
8360
  return /* @__PURE__ */ L(dt, { className: "h-9 w-full rounded-md" });
8361
8361
  }
@@ -1,5 +1,5 @@
1
1
  import { i as e, n as t, t as n } from "./chunk-DeC0fbbY.js";
2
- import { n as r } from "./i18n-CP5eDOjK.js";
2
+ import { n as r } from "./i18n-C-HkP6FS.js";
3
3
  import { P as i, t as a, vt as o } from "./HugeiconsIcon-C_2Bj2NI.js";
4
4
  import { t as s } from "./utils-DS8lnGJS.js";
5
5
  import { t as c } from "./skeleton-UFUcHob_.js";
@@ -1,7 +1,7 @@
1
1
  import { i as e, t } from "./chunk-DeC0fbbY.js";
2
2
  import { t as n } from "./button-DY_CinAY.js";
3
3
  import { a as r, c as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d } from "./combobox-DdpNpq0T.js";
4
- import { n as f } from "./i18n-CP5eDOjK.js";
4
+ import { n as f } from "./i18n-C-HkP6FS.js";
5
5
  import { B as p, t as m } from "./HugeiconsIcon-C_2Bj2NI.js";
6
6
  import { t as h } from "./utils-DS8lnGJS.js";
7
7
  import { t as g } from "./scroll-area-CDaBiyoP.js";
@@ -1,4 +1,4 @@
1
- import { n as e } from "./i18n-CP5eDOjK.js";
1
+ import { n as e } from "./i18n-C-HkP6FS.js";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
3
  //#region src/base/blocks/SentenceBuilderBlock.tsx
4
4
  var r = {
@@ -28,6 +28,20 @@
28
28
  "shell": "product",
29
29
  "layout": "stack",
30
30
  "blocks": ["card_grid"]
31
+ },
32
+ {
33
+ "path": "/api/inspector/connectors/{id}.json",
34
+ "method": "GET",
35
+ "host": "mock",
36
+ "summary": "Connector inspector -- sidebar preview panel for a single connector (Moodle, Open edX, Canvas, n8n)",
37
+ "ids": ["moodle", "open-edx", "canvas", "n8n"]
38
+ },
39
+ {
40
+ "path": "/api/inspector/offerings/{id}.json",
41
+ "method": "GET",
42
+ "host": "mock",
43
+ "summary": "Offering inspector -- sidebar preview panel for a single product/offering",
44
+ "ids": ["off-1", "off-2", "off-3", "off-4", "off-5", "off-6"]
31
45
  }
32
46
  ],
33
47
  "pageContractSpec": {
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "canvas",
3
+ "title": "Canvas LMS",
4
+ "subtitle": "OAuth2 Integration",
5
+ "status": "slow",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "OAuth2" },
8
+ { "key": "endpoint", "label": "Endpoint", "value": "https://canvas.example.com/api/v1" },
9
+ { "key": "latency", "label": "Latency", "value": "890ms" },
10
+ { "key": "records", "label": "Records Synced", "value": "156" },
11
+ { "key": "last_sync", "label": "Last Sync", "value": "2026-04-29T08:00:00Z" },
12
+ { "key": "uptime", "label": "Uptime (30d)", "value": "94.2%" }
13
+ ],
14
+ "actions": [
15
+ { "id": "sync", "label": "Sync Now", "href": "/connectors/canvas/sync", "method": "post" },
16
+ { "id": "edit", "label": "Edit", "href": "/connectors/canvas/edit", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "moodle",
3
+ "title": "Moodle LMS",
4
+ "subtitle": "LTI Integration",
5
+ "status": "active",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "LTI" },
8
+ { "key": "endpoint", "label": "Endpoint", "value": "https://moodle.example.com/webservice/rest/server.php" },
9
+ { "key": "latency", "label": "Latency", "value": "142ms" },
10
+ { "key": "records", "label": "Records Synced", "value": "847" },
11
+ { "key": "last_sync", "label": "Last Sync", "value": "2026-04-29T14:32:00Z" },
12
+ { "key": "uptime", "label": "Uptime (30d)", "value": "99.8%" }
13
+ ],
14
+ "actions": [
15
+ { "id": "sync", "label": "Sync Now", "href": "/connectors/moodle/sync", "method": "post" },
16
+ { "id": "edit", "label": "Edit", "href": "/connectors/moodle/edit", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "n8n",
3
+ "title": "n8n Automation",
4
+ "subtitle": "Webhook Integration",
5
+ "status": "error",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "Webhook" },
8
+ { "key": "endpoint", "label": "Endpoint", "value": "https://n8n.example.com/webhook/middag" },
9
+ { "key": "latency", "label": "Latency", "value": "\u2014" },
10
+ { "key": "records", "label": "Records Synced", "value": "0" },
11
+ { "key": "last_sync", "label": "Last Sync", "value": "Never" },
12
+ { "key": "uptime", "label": "Uptime (30d)", "value": "0%" }
13
+ ],
14
+ "actions": [
15
+ { "id": "test", "label": "Test Connection", "href": "/connectors/n8n/test", "method": "post" },
16
+ { "id": "edit", "label": "Edit", "href": "/connectors/n8n/edit", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "open-edx",
3
+ "title": "Open edX",
4
+ "subtitle": "REST API Integration",
5
+ "status": "active",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "REST API" },
8
+ { "key": "endpoint", "label": "Endpoint", "value": "https://courses.example.com/api/v1" },
9
+ { "key": "latency", "label": "Latency", "value": "320ms" },
10
+ { "key": "records", "label": "Records Synced", "value": "2,341" },
11
+ { "key": "last_sync", "label": "Last Sync", "value": "2026-04-29T13:15:00Z" },
12
+ { "key": "uptime", "label": "Uptime (30d)", "value": "99.5%" }
13
+ ],
14
+ "actions": [
15
+ { "id": "sync", "label": "Sync Now", "href": "/connectors/open-edx/sync", "method": "post" },
16
+ { "id": "edit", "label": "Edit", "href": "/connectors/open-edx/edit", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "off-1",
3
+ "title": "Trilha Seguran\u00e7a do Trabalho Completa",
4
+ "subtitle": "Trail \u2022 R$ 2,490.00",
5
+ "status": "active",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "Trail" },
8
+ { "key": "price", "label": "Price", "value": "R$ 2,490.00" },
9
+ { "key": "access_grants", "label": "Active Access", "value": "847" },
10
+ { "key": "connector", "label": "Payment Connector", "value": "Moodle LMS" },
11
+ { "key": "conversion", "label": "Conversion Rate", "value": "12.3%" },
12
+ { "key": "revenue", "label": "Total Revenue", "value": "R$ 2,049,330" }
13
+ ],
14
+ "actions": [
15
+ { "id": "edit", "label": "Edit", "href": "/ecommerce/offerings/off-1/edit", "method": "get" },
16
+ { "id": "view", "label": "View Details", "href": "/ecommerce/offerings/off-1", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "off-2",
3
+ "title": "NR-35 Trabalho em Altura",
4
+ "subtitle": "Standalone Course \u2022 R$ 390.00",
5
+ "status": "active",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "Standalone Course" },
8
+ { "key": "price", "label": "Price", "value": "R$ 390.00" },
9
+ { "key": "access_grants", "label": "Active Access", "value": "234" },
10
+ { "key": "connector", "label": "Payment Connector", "value": "\u2014" },
11
+ { "key": "conversion", "label": "Conversion Rate", "value": "8.7%" },
12
+ { "key": "revenue", "label": "Total Revenue", "value": "R$ 91,260" }
13
+ ],
14
+ "actions": [
15
+ { "id": "edit", "label": "Edit", "href": "/ecommerce/offerings/off-2/edit", "method": "get" },
16
+ { "id": "view", "label": "View Details", "href": "/ecommerce/offerings/off-2", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "off-3",
3
+ "title": "Pacote Compliance LGPD + NR",
4
+ "subtitle": "Bundle \u2022 R$ 1,890.00",
5
+ "status": "active",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "Bundle" },
8
+ { "key": "price", "label": "Price", "value": "R$ 1,890.00" },
9
+ { "key": "access_grants", "label": "Active Access", "value": "156" },
10
+ { "key": "connector", "label": "Payment Connector", "value": "\u2014" },
11
+ { "key": "conversion", "label": "Conversion Rate", "value": "6.2%" },
12
+ { "key": "revenue", "label": "Total Revenue", "value": "R$ 294,840" }
13
+ ],
14
+ "actions": [
15
+ { "id": "edit", "label": "Edit", "href": "/ecommerce/offerings/off-3/edit", "method": "get" },
16
+ { "id": "view", "label": "View Details", "href": "/ecommerce/offerings/off-3", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "off-4",
3
+ "title": "Onboarding Corporativo 2026",
4
+ "subtitle": "Trail \u2022 Free",
5
+ "status": "active",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "Trail" },
8
+ { "key": "price", "label": "Price", "value": "R$ 0.00 (Free)" },
9
+ { "key": "access_grants", "label": "Active Access", "value": "1,203" },
10
+ { "key": "connector", "label": "Payment Connector", "value": "Open edX" },
11
+ { "key": "conversion", "label": "Conversion Rate", "value": "N/A" },
12
+ { "key": "revenue", "label": "Total Revenue", "value": "R$ 0" }
13
+ ],
14
+ "actions": [
15
+ { "id": "edit", "label": "Edit", "href": "/ecommerce/offerings/off-4/edit", "method": "get" },
16
+ { "id": "view", "label": "View Details", "href": "/ecommerce/offerings/off-4", "method": "get" }
17
+ ]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "off-5",
3
+ "title": "Lideran\u00e7a e Gest\u00e3o Avan\u00e7ada",
4
+ "subtitle": "Standalone Course \u2022 R$ 890.00",
5
+ "status": "draft",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "Standalone Course" },
8
+ { "key": "price", "label": "Price", "value": "R$ 890.00" },
9
+ { "key": "access_grants", "label": "Active Access", "value": "0" },
10
+ { "key": "connector", "label": "Payment Connector", "value": "\u2014" },
11
+ { "key": "conversion", "label": "Conversion Rate", "value": "\u2014" },
12
+ { "key": "revenue", "label": "Total Revenue", "value": "R$ 0" }
13
+ ],
14
+ "actions": [
15
+ { "id": "edit", "label": "Edit", "href": "/ecommerce/offerings/off-5/edit", "method": "get" },
16
+ { "id": "publish", "label": "Publish", "href": "/ecommerce/offerings/off-5/publish", "method": "post" }
17
+ ]
18
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "off-6",
3
+ "title": "Kit Integra\u00e7\u00e3o Novos Colaboradores",
4
+ "subtitle": "Bundle \u2022 Free (Archived)",
5
+ "status": "archived",
6
+ "fields": [
7
+ { "key": "type", "label": "Type", "value": "Bundle" },
8
+ { "key": "price", "label": "Price", "value": "R$ 0.00" },
9
+ { "key": "access_grants", "label": "Historical Access", "value": "2,341" },
10
+ { "key": "connector", "label": "Payment Connector", "value": "\u2014" },
11
+ { "key": "conversion", "label": "Conversion Rate", "value": "15.1%" },
12
+ { "key": "revenue", "label": "Total Revenue", "value": "R$ 0" }
13
+ ],
14
+ "actions": [
15
+ { "id": "reactivate", "label": "Reactivate", "href": "/ecommerce/offerings/off-6/reactivate", "method": "post" }
16
+ ]
17
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"ChartPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/ChartPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAiBnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AASnD,OAAO,KAAK,EAAE,mBAAmB,EAAe,MAAM,wBAAwB,CAAC;AA0G/E,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAkBxF"}
1
+ {"version":3,"file":"ChartPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/ChartPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAiBnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AASnD,OAAO,KAAK,EAAE,mBAAmB,EAAe,MAAM,wBAAwB,CAAC;AA0G/E,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAqBxF"}
@@ -1 +1 @@
1
- {"version":3,"file":"DenseTableBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DenseTableBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAA4C,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAGpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAQnD,OAAO,KAAK,EAAsB,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAEtF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAwQxF"}
1
+ {"version":3,"file":"DenseTableBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DenseTableBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAA4C,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAGpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAQnD,OAAO,KAAK,EAAsB,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAEtF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CA0QxF"}
@@ -1 +1 @@
1
- {"version":3,"file":"LinkListBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/LinkListBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,YAAY,CAwCpF"}
1
+ {"version":3,"file":"LinkListBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/LinkListBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAGhE,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,YAAY,CA6CpF"}
@@ -3,8 +3,8 @@
3
3
  *
4
4
  * Regions: metrics (full-width grid row), header?, content, aside? (optional).
5
5
  *
6
- * The metrics region renders blocks directly in a grid (no per-block padding).
7
- * The content and aside regions use BlockRegion for per-block padding.
6
+ * Metrics renders blocks in a grid (no per-block padding).
7
+ * Content and aside render blocks directly blocks are self-describing.
8
8
  *
9
9
  * @see NV-05-ux-screens-core.md T-01
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/base/layout/DashboardLayout.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKpD,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,WAAW,GAAG,YAAY,CAmClF"}
1
+ {"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/base/layout/DashboardLayout.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAwBpD,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,WAAW,GAAG,YAAY,CA6ClF"}
@@ -1 +1 @@
1
- {"version":3,"file":"cell-renderers.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/DataTable/cell-renderers.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAY1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAwDzD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAS7E;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAOtE;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CASxE;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAkChF;AAcD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAWzE;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAMnE;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CA8BxE;AAUD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAiCxE"}
1
+ {"version":3,"file":"cell-renderers.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/DataTable/cell-renderers.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAY1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAoFzD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAe7E;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAOtE;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CASxE;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAkChF;AAcD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAiBzE;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAMnE;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CA8BxE;AAUD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAiCxE"}
@@ -8,5 +8,7 @@
8
8
  */
9
9
  import { type ReactElement } from "react";
10
10
  import type { DataTableProps } from "./types";
11
- export declare function DataTable<TData extends object>({ columns, rows, rowKey: rowKeyProp, pagination, sort, filters, appliedFilters, rowActions, actionsAlwaysVisible, bulkActions, isLoading, searchPlaceholder: _searchPlaceholder, searchValue: controlledSearch, emptyStateIcon, emptyStateTitle: _emptyStateTitle, emptyStateDescription, emptyStateCTA, onParamChange, onBulkAction, onRowClick, selectedRowKey, }: DataTableProps<TData>): ReactElement;
11
+ export declare function DataTable<TData extends object>({ columns, rows, rowKey: rowKeyProp, pagination, sort, filters, appliedFilters, rowActions, actionsAlwaysVisible, bulkActions, isLoading, searchPlaceholder: _searchPlaceholder, searchValue: controlledSearch, emptyStateIcon, emptyStateTitle: _emptyStateTitle, emptyStateDescription, emptyStateCTA, onParamChange, onBulkAction, onRowClick, selectedRowKey, clientSide, }: DataTableProps<TData> & {
12
+ clientSide?: boolean;
13
+ }): ReactElement;
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/DataTable/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAML,KAAK,YAAY,EAElB,MAAM,OAAO,CAAC;AA6Bf,OAAO,KAAK,EAGV,cAAc,EAEf,MAAM,SAAS,CAAC;AAoXjB,wBAAgB,SAAS,CAAC,KAAK,SAAS,MAAM,EAAE,EAC9C,OAAO,EACP,IAAI,EACJ,MAAM,EAAE,UAAU,EAClB,UAAU,EACV,IAAI,EACJ,OAAO,EACP,cAAmB,EACnB,UAAU,EACV,oBAA4B,EAC5B,WAAW,EACX,SAAiB,EACjB,iBAAiB,EAAE,kBAAkB,EACrC,WAAW,EAAE,gBAAqB,EAClC,cAAc,EACd,eAAe,EAAE,gBAAgB,EACjC,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,GACf,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAujBtC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/DataTable/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAML,KAAK,YAAY,EAElB,MAAM,OAAO,CAAC;AAgCf,OAAO,KAAK,EAGV,cAAc,EAEf,MAAM,SAAS,CAAC;AAoXjB,wBAAgB,SAAS,CAAC,KAAK,SAAS,MAAM,EAAE,EAC9C,OAAO,EACP,IAAI,EACJ,MAAM,EAAE,UAAU,EAClB,UAAU,EACV,IAAI,EACJ,OAAO,EACP,cAAmB,EACnB,UAAU,EACV,oBAA4B,EAC5B,WAAW,EACX,SAAiB,EACjB,iBAAiB,EAAE,kBAAkB,EACrC,WAAW,EAAE,gBAAqB,EAClC,cAAc,EACd,eAAe,EAAE,gBAAgB,EACjC,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,EACd,UAAkB,GACnB,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,YAAY,CAkoBjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductShell.d.ts","sourceRoot":"","sources":["../../../src/base/shell/ProductShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAIlE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AA+JnD;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CAsBnE"}
1
+ {"version":3,"file":"ProductShell.d.ts","sourceRoot":"","sources":["../../../src/base/shell/ProductShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAIlE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAgLnD;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CAsBnE"}
@@ -1 +1 @@
1
- {"version":3,"file":"PageFilterTabs.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/PageFilterTabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG/D,UAAU,mBAAmB;IAC3B,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,SAAS,EAAE,gBAAgB,EAC3B,WAAW,GACZ,EAAE,mBAAmB,GAAG,YAAY,CA4CpC"}
1
+ {"version":3,"file":"PageFilterTabs.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/PageFilterTabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG/D,UAAU,mBAAmB;IAC3B,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,SAAS,EAAE,gBAAgB,EAC3B,WAAW,GACZ,EAAE,mBAAmB,GAAG,YAAY,CAyDpC"}
@@ -9,7 +9,7 @@
9
9
  * @see NV-05-ux-shell-sidebar.md §1.3
10
10
  */
11
11
  /** Entity types for automatic icon resolution when no explicit icon is set. */
12
- export type NavigationEntityType = "connector" | "workflow" | "segment" | "instancegroup" | "condition" | "compliance" | "offering" | "order" | "course" | "form" | "certificate";
12
+ export type NavigationEntityType = "connector" | "workflow" | "segment" | "instancegroup" | "condition" | "compliance" | "offering" | "order" | "course" | "category" | "form" | "certificate";
13
13
  export interface NavigationNode {
14
14
  key: string;
15
15
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/contracts/navigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAC/E,MAAM,MAAM,oBAAoB,GAC5B,WAAW,GACX,UAAU,GACV,SAAS,GACT,eAAe,GACf,WAAW,GACX,YAAY,GACZ,UAAU,GACV,OAAO,GACP,QAAQ,GACR,MAAM,GACN,aAAa,CAAC;AAElB,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sFAAsF;IACtF,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,mGAAmG;IACnG,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oEAAoE;IACpE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qFAAqF;IACrF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gDAAgD;IAChD,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B"}
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/contracts/navigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAC/E,MAAM,MAAM,oBAAoB,GAC5B,WAAW,GACX,UAAU,GACV,SAAS,GACT,eAAe,GACf,WAAW,GACX,YAAY,GACZ,UAAU,GACV,OAAO,GACP,QAAQ,GACR,UAAU,GACV,MAAM,GACN,aAAa,CAAC;AAElB,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sFAAsF;IACtF,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,mGAAmG;IACnG,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oEAAoE;IACpE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qFAAqF;IACrF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gDAAgD;IAChD,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B"}
@@ -239,7 +239,7 @@ var s = {
239
239
  "middag.ui.table.pagination_per_page": "/ page",
240
240
  "middag.ui.table.previous_page": "Previous page",
241
241
  "middag.ui.table.next_page": "Next page",
242
- "middag.ui.filter.add": "+ Filter",
242
+ "middag.ui.filter.add": "Filter",
243
243
  "middag.ui.form_builder.drag_field": "Drag field",
244
244
  "middag.ui.markdown.copy_code": "Copy code"
245
245
  }, c = e(null);