@middag-io/react 0.46.0 → 0.47.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 (50) hide show
  1. package/dist-lib/{FormField-Csx8hGAW.js → FormField-BGqAQLtX.js} +1863 -1806
  2. package/dist-lib/{FormPanelBlock-Bmd0DpiX.js → FormPanelBlock-CGgA83Mu.js} +50 -49
  3. package/dist-lib/base/blocks/CardGridBlock.d.ts.map +1 -1
  4. package/dist-lib/base/blocks/DenseTableBlock.d.ts.map +1 -1
  5. package/dist-lib/base/blocks/DetailPanelBlock.d.ts.map +1 -1
  6. package/dist-lib/base/blocks/FormPanelBlock.d.ts.map +1 -1
  7. package/dist-lib/base/partials/ActionBar/index.d.ts.map +1 -1
  8. package/dist-lib/base/partials/FilterBar/index.d.ts.map +1 -1
  9. package/dist-lib/base/shell/BasicShell.js +1 -1
  10. package/dist-lib/base/shell/partials/InlineEditablePanel.d.ts.map +1 -1
  11. package/dist-lib/base/shell/partials/InlineEditablePanel.js +131 -127
  12. package/dist-lib/base/shell/partials/PageActionButton.d.ts.map +1 -1
  13. package/dist-lib/base/shell/partials/PageActionButton.js +1 -1
  14. package/dist-lib/base/theme/appearance.d.ts.map +1 -1
  15. package/dist-lib/base/theme/appearance.js +1 -1
  16. package/dist-lib/base/utils/action-intent.d.ts +3 -0
  17. package/dist-lib/base/utils/action-intent.d.ts.map +1 -0
  18. package/dist-lib/base/utils/action-intent.js +16 -0
  19. package/dist-lib/chunks/subpath-Bs35txZS.js +166 -0
  20. package/dist-lib/contracts/generated/index.d.ts +7 -7
  21. package/dist-lib/contracts/generated/index.d.ts.map +1 -1
  22. package/dist-lib/contracts/generated/schemas.d.ts +3992 -0
  23. package/dist-lib/contracts/generated/schemas.d.ts.map +1 -0
  24. package/dist-lib/contracts/generated/{contract-types.d.ts → types.d.ts} +26 -16
  25. package/dist-lib/contracts/generated/types.d.ts.map +1 -0
  26. package/dist-lib/contracts/page-contract-schema.d.ts +217 -27
  27. package/dist-lib/contracts/page-contract-schema.d.ts.map +1 -1
  28. package/dist-lib/middag-react.js +10111 -10782
  29. package/dist-lib/primitives/reui/button.d.ts +1 -1
  30. package/docs/public/schemas/fragment.json +66 -2
  31. package/docs/public/schemas/page-contract.json +66 -2
  32. package/package.json +1 -1
  33. package/src/base/blocks/CardGridBlock.tsx +2 -1
  34. package/src/base/blocks/DenseTableBlock.tsx +2 -1
  35. package/src/base/blocks/DetailPanelBlock.tsx +2 -1
  36. package/src/base/blocks/FormPanelBlock.tsx +2 -1
  37. package/src/base/partials/ActionBar/index.tsx +3 -2
  38. package/src/base/partials/FilterBar/index.tsx +12 -1
  39. package/src/base/shell/partials/InlineEditablePanel.tsx +14 -7
  40. package/src/base/shell/partials/PageActionButton.tsx +3 -1
  41. package/src/base/theme/appearance.ts +2 -1
  42. package/src/base/utils/action-intent.ts +22 -0
  43. package/src/contracts/generated/index.ts +7 -7
  44. package/src/contracts/generated/schemas.ts +565 -0
  45. package/src/contracts/generated/{contract-types.ts → types.ts} +42 -15
  46. package/dist-lib/chunks/subpath-Bh1MAmBT.js +0 -165
  47. package/dist-lib/contracts/generated/contract-schema.d.ts +0 -183
  48. package/dist-lib/contracts/generated/contract-schema.d.ts.map +0 -1
  49. package/dist-lib/contracts/generated/contract-types.d.ts.map +0 -1
  50. package/src/contracts/generated/contract-schema.ts +0 -1237
@@ -1,4 +1,4 @@
1
- import { $ as e, Et as t, I as n, J as r, Jt as i, Xt as a, Yt as o, Z as s, a as c, at as l, ct as u, et as d, i as f, lt as p, n as m, nt as h, o as g, pt as _, r as v, s as y, st as b, t as x, ut as S } from "./FormField-Csx8hGAW.js";
1
+ import { $ as e, $t as t, Et as n, I as r, J as i, Qt as a, Z as o, Zt as s, a as c, at as l, ct as u, et as d, i as f, lt as p, n as m, nt as h, o as g, pt as _, r as v, s as y, st as b, t as x, ut as S } from "./FormField-BGqAQLtX.js";
2
2
  import { t as C } from "./button-PJdZDEA8.js";
3
3
  import { t as ee } from "./useTranslation-u1Lygbup.js";
4
4
  import { t as w } from "./utils-DXlQmFY8.js";
@@ -1148,16 +1148,16 @@ function gt(e, t) {
1148
1148
  }
1149
1149
  return n;
1150
1150
  }
1151
- function _t(e, t, n) {
1152
- if (n === void 0 && (n = {}), function(e) {
1151
+ function _t(e, n, r) {
1152
+ if (r === void 0 && (r = {}), function(e) {
1153
1153
  return "_def" in e && typeof e._def == "object" && "typeName" in e._def;
1154
- }(e)) return function(r, i, a) {
1154
+ }(e)) return function(t, i, a) {
1155
1155
  try {
1156
1156
  return Promise.resolve(mt(function() {
1157
- return Promise.resolve(e[n.mode === "sync" ? "parse" : "parseAsync"](r, t)).then(function(e) {
1157
+ return Promise.resolve(e[r.mode === "sync" ? "parse" : "parseAsync"](t, n)).then(function(e) {
1158
1158
  return a.shouldUseNativeValidation && ut({}, a), {
1159
1159
  errors: {},
1160
- values: n.raw ? Object.assign({}, r) : e
1160
+ values: r.raw ? Object.assign({}, t) : e
1161
1161
  };
1162
1162
  });
1163
1163
  }, function(e) {
@@ -1175,18 +1175,18 @@ function _t(e, t, n) {
1175
1175
  };
1176
1176
  if (function(e) {
1177
1177
  return "_zod" in e && typeof e._zod == "object";
1178
- }(e)) return function(r, s, c) {
1178
+ }(e)) return function(i, o, c) {
1179
1179
  try {
1180
1180
  return Promise.resolve(mt(function() {
1181
- return Promise.resolve((n.mode === "sync" ? i : o)(e, r, t)).then(function(e) {
1181
+ return Promise.resolve((r.mode === "sync" ? s : a)(e, i, n)).then(function(e) {
1182
1182
  return c.shouldUseNativeValidation && ut({}, c), {
1183
1183
  errors: {},
1184
- values: n.raw ? Object.assign({}, r) : e
1184
+ values: r.raw ? Object.assign({}, i) : e
1185
1185
  };
1186
1186
  });
1187
1187
  }, function(e) {
1188
1188
  if (function(e) {
1189
- return e instanceof a;
1189
+ return e instanceof t;
1190
1190
  }(e)) return {
1191
1191
  values: {},
1192
1192
  errors: dt(gt(e.issues, !c.shouldUseNativeValidation && c.criteriaMode === "all"), c)
@@ -1220,26 +1220,27 @@ function vt(e, t) {
1220
1220
  function yt(e, t) {
1221
1221
  return Object.prototype.hasOwnProperty.call(t, e.key) ? t[e.key] : vt(e, t);
1222
1222
  }
1223
- function bt({ nodes: e, values: t, errors: r, onChange: i, sourceValues: a }) {
1224
- return /* @__PURE__ */ j(te, { children: e.map((e, o) => {
1223
+ function bt({ nodes: e, values: t, errors: n, onChange: i, sourceValues: a }) {
1224
+ let { t: o } = ee();
1225
+ return /* @__PURE__ */ j(te, { children: e.map((e, s) => {
1225
1226
  switch (e.kind) {
1226
1227
  case "field": return c(e, t) ? /* @__PURE__ */ j(x, {
1227
1228
  field: e,
1228
1229
  value: yt(e, t),
1229
1230
  onChange: (t) => i(e.key, t),
1230
- error: r[e.key],
1231
+ error: n[e.key],
1231
1232
  sourceValues: a
1232
1233
  }, e.key) : null;
1233
1234
  case "section": return /* @__PURE__ */ j(y, {
1234
1235
  id: e.id,
1235
- title: e.label,
1236
+ title: h(e.label, o) || void 0,
1236
1237
  defaultCollapsed: e.defaultCollapsed,
1237
- hasErrors: e.children.some((e) => e.kind === "field" && !!r[e.key]),
1238
- errorCount: e.children.filter((e) => e.kind === "field" && !!r[e.key]).length,
1238
+ hasErrors: e.children.some((e) => e.kind === "field" && !!n[e.key]),
1239
+ errorCount: e.children.filter((e) => e.kind === "field" && !!n[e.key]).length,
1239
1240
  children: /* @__PURE__ */ j(bt, {
1240
1241
  nodes: e.children,
1241
1242
  values: t,
1242
- errors: r,
1243
+ errors: n,
1243
1244
  onChange: i,
1244
1245
  sourceValues: a
1245
1246
  })
@@ -1249,24 +1250,24 @@ function bt({ nodes: e, values: t, errors: r, onChange: i, sourceValues: a }) {
1249
1250
  children: /* @__PURE__ */ j(bt, {
1250
1251
  nodes: e.children,
1251
1252
  values: t,
1252
- errors: r,
1253
+ errors: n,
1253
1254
  onChange: i,
1254
1255
  sourceValues: a
1255
1256
  })
1256
1257
  }, e.id);
1257
1258
  case "header": return /* @__PURE__ */ M("div", {
1258
1259
  className: "space-y-2",
1259
- children: [/* @__PURE__ */ j(n, {}), /* @__PURE__ */ j("h4", {
1260
+ children: [/* @__PURE__ */ j(r, {}), /* @__PURE__ */ j("h4", {
1260
1261
  className: "text-foreground text-base font-semibold",
1261
1262
  children: e.label
1262
1263
  })]
1263
- }, `header-${o}`);
1264
+ }, `header-${s}`);
1264
1265
  default: return null;
1265
1266
  }
1266
1267
  }) });
1267
1268
  }
1268
- function xt({ block: n }) {
1269
- let { t: i } = ee(), { data: a } = n, o = O(() => v(a.schema), [a.schema]), y = O(() => new Set(o.map((e) => e.key)), [o]), x = (a.meta.validation ?? "both") !== "server", w = O(() => Object.fromEntries(o.map((e) => [e.key, vt(e, a.values)])), [o, a.values]), T = k(x ? m(a.schema, w, i) : null), P = ct({
1269
+ function xt({ block: t }) {
1270
+ let { t: r } = ee(), { data: a } = t, s = O(() => v(a.schema), [a.schema]), y = O(() => new Set(s.map((e) => e.key)), [s]), x = (a.meta.validation ?? "both") !== "server", w = O(() => Object.fromEntries(s.map((e) => [e.key, vt(e, a.values)])), [s, a.values]), T = k(x ? m(a.schema, w, r) : null), P = ct({
1270
1271
  defaultValues: w,
1271
1272
  mode: "onTouched",
1272
1273
  resolver: O(() => {
@@ -1275,13 +1276,13 @@ function xt({ block: n }) {
1275
1276
  errors: {}
1276
1277
  };
1277
1278
  }, [x])
1278
- }), F = he({ control: P.control }) ?? w, I = o.map((e) => `${c(e, F) ? "1" : "0"}${f(e, F) ? "1" : "0"}`).join("");
1279
+ }), F = he({ control: P.control }) ?? w, I = s.map((e) => `${c(e, F) ? "1" : "0"}${f(e, F) ? "1" : "0"}`).join("");
1279
1280
  D(() => {
1280
- x && (T.current = m(a.schema, F, i));
1281
+ x && (T.current = m(a.schema, F, r));
1281
1282
  }, [
1282
1283
  x,
1283
1284
  a.schema,
1284
- i,
1285
+ r,
1285
1286
  I
1286
1287
  ]);
1287
1288
  let [ne, L] = A(!1), [re, ie] = A(null), [ae, oe] = A({}), R = JSON.stringify(a.values), z = k(!0);
@@ -1293,12 +1294,12 @@ function xt({ block: n }) {
1293
1294
  P.reset(w);
1294
1295
  for (let [e, t] of Object.entries(a.errors)) y.has(e) && P.setError(e, {
1295
1296
  type: "server",
1296
- message: g(t, i)
1297
+ message: g(t, r)
1297
1298
  });
1298
1299
  }, [R]), D(() => {
1299
1300
  if (Object.keys(a.errors).length > 0) for (let [e, t] of Object.entries(a.errors)) y.has(e) && P.setError(e, {
1300
1301
  type: "server",
1301
- message: g(t, i)
1302
+ message: g(t, r)
1302
1303
  });
1303
1304
  }, [JSON.stringify(a.errors)]);
1304
1305
  let { isDirty: B, isSubmitting: V } = P.formState;
@@ -1316,19 +1317,19 @@ function xt({ block: n }) {
1316
1317
  }), P.clearErrors(e);
1317
1318
  }, [P]), U = E((e) => {
1318
1319
  oe({});
1319
- let t = o.filter((t) => c(t, e)), n = Object.fromEntries(t.map((t) => [t.key, e[t.key]])), r = Object.values(n).some((e) => e instanceof File || Array.isArray(e) && e.some((e) => e instanceof File)), s = a.method === "put" ? "put" : a.method === "patch" ? "patch" : "post";
1320
+ let t = s.filter((t) => c(t, e)), n = Object.fromEntries(t.map((t) => [t.key, e[t.key]])), i = Object.values(n).some((e) => e instanceof File || Array.isArray(e) && e.some((e) => e instanceof File)), o = a.method === "put" ? "put" : a.method === "patch" ? "patch" : "post";
1320
1321
  return new Promise((e) => {
1321
- N[s](a.action, n, {
1322
- forceFormData: r,
1322
+ N[o](a.action, n, {
1323
+ forceFormData: i,
1323
1324
  onProgress: (e) => {
1324
1325
  e && typeof e.percentage == "number" && ie(Math.round(e.percentage));
1325
1326
  },
1326
1327
  onError: (e) => {
1327
1328
  let t = {};
1328
- for (let [n, r] of Object.entries(e)) y.has(n) ? P.setError(n, {
1329
+ for (let [n, i] of Object.entries(e)) y.has(n) ? P.setError(n, {
1329
1330
  type: "server",
1330
- message: g(r, i)
1331
- }) : t[n] = r;
1331
+ message: g(i, r)
1332
+ }) : t[n] = i;
1332
1333
  Object.keys(t).length > 0 && oe((e) => ({
1333
1334
  ...e,
1334
1335
  ...t
@@ -1340,10 +1341,10 @@ function xt({ block: n }) {
1340
1341
  });
1341
1342
  });
1342
1343
  }, [
1343
- o,
1344
+ s,
1344
1345
  a,
1345
1346
  P,
1346
- i,
1347
+ r,
1347
1348
  y
1348
1349
  ]), W = E(() => {
1349
1350
  B ? L(!0) : a.meta.cancelHref ? N.visit(a.meta.cancelHref) : window.history.back();
@@ -1353,9 +1354,9 @@ function xt({ block: n }) {
1353
1354
  return e;
1354
1355
  }, [P.formState.errors]), K = O(() => {
1355
1356
  let e = /* @__PURE__ */ new Map(), t = (t) => {
1356
- for (let [n, r] of Object.entries(t)) {
1357
+ for (let [n, i] of Object.entries(t)) {
1357
1358
  if (y.has(n)) continue;
1358
- let t = g(r, i);
1359
+ let t = g(i, r);
1359
1360
  t && e.set(n, t);
1360
1361
  }
1361
1362
  };
@@ -1367,21 +1368,21 @@ function xt({ block: n }) {
1367
1368
  a.errors,
1368
1369
  ae,
1369
1370
  y,
1370
- i
1371
+ r
1371
1372
  ]);
1372
- return o.filter((e) => c(e, F)).length === 0 && a.schema.length === 0 ? /* @__PURE__ */ j(r, {
1373
+ return s.filter((e) => c(e, F)).length === 0 && a.schema.length === 0 ? /* @__PURE__ */ j(i, {
1373
1374
  variant: "inline",
1374
- title: i("middag.ui.form.no_fields")
1375
+ title: r("middag.ui.form.no_fields")
1375
1376
  }) : /* @__PURE__ */ M(te, { children: [/* @__PURE__ */ M("form", {
1376
1377
  onSubmit: P.handleSubmit(U),
1377
1378
  className: "mx-auto max-w-[720px] space-y-6",
1378
1379
  noValidate: !0,
1379
1380
  role: "form",
1380
- "aria-label": h(n.title, i) || i("middag.ui.form.default_title"),
1381
+ "aria-label": h(t.title, r) || r("middag.ui.form.default_title"),
1381
1382
  children: [
1382
- K.length > 0 && /* @__PURE__ */ M(s, {
1383
+ K.length > 0 && /* @__PURE__ */ M(o, {
1383
1384
  variant: "destructive",
1384
- children: [/* @__PURE__ */ j(d, { children: i("middag.ui.form.errors_title") }), /* @__PURE__ */ j(e, { children: /* @__PURE__ */ j("ul", {
1385
+ children: [/* @__PURE__ */ j(d, { children: r("middag.ui.form.errors_title") }), /* @__PURE__ */ j(e, { children: /* @__PURE__ */ j("ul", {
1385
1386
  className: "list-disc ps-4",
1386
1387
  children: K.map((e) => /* @__PURE__ */ j("li", { children: e.message }, e.key))
1387
1388
  }) })]
@@ -1397,32 +1398,32 @@ function xt({ block: n }) {
1397
1398
  className: "flex gap-3 pt-4",
1398
1399
  children: [/* @__PURE__ */ j(C, {
1399
1400
  type: "submit",
1400
- "data-testid": t.formSubmit,
1401
+ "data-testid": n.formSubmit,
1401
1402
  disabled: V,
1402
1403
  "aria-disabled": V,
1403
1404
  "aria-busy": V,
1404
- children: V ? re === null ? i("middag.ui.form.saving") : `${i("middag.ui.form.saving")} ${re}%` : a.meta.submitLabel ?? i("middag.ui.form.save")
1405
+ children: V ? re === null ? r("middag.ui.form.saving") : `${r("middag.ui.form.saving")} ${re}%` : a.meta.submitLabel ?? r("middag.ui.form.save")
1405
1406
  }), /* @__PURE__ */ j(C, {
1406
1407
  type: "button",
1407
1408
  variant: "outline",
1408
1409
  onClick: W,
1409
- children: a.meta.cancelLabel ?? i("middag.ui.cancel")
1410
+ children: a.meta.cancelLabel ?? r("middag.ui.cancel")
1410
1411
  })]
1411
1412
  })
1412
1413
  ]
1413
1414
  }), /* @__PURE__ */ j(l, {
1414
1415
  open: ne,
1415
1416
  onOpenChange: L,
1416
- children: /* @__PURE__ */ M(b, { children: [/* @__PURE__ */ M(S, { children: [/* @__PURE__ */ j(_, { children: i("middag.ui.form.dirty_title") }), /* @__PURE__ */ j(u, { children: i("middag.ui.form.dirty_message") })] }), /* @__PURE__ */ M(p, { children: [/* @__PURE__ */ j(C, {
1417
+ children: /* @__PURE__ */ M(b, { children: [/* @__PURE__ */ M(S, { children: [/* @__PURE__ */ j(_, { children: r("middag.ui.form.dirty_title") }), /* @__PURE__ */ j(u, { children: r("middag.ui.form.dirty_message") })] }), /* @__PURE__ */ M(p, { children: [/* @__PURE__ */ j(C, {
1417
1418
  variant: "outline",
1418
1419
  onClick: () => L(!1),
1419
- children: i("middag.ui.cancel")
1420
+ children: r("middag.ui.cancel")
1420
1421
  }), /* @__PURE__ */ j(C, {
1421
1422
  variant: "destructive",
1422
1423
  onClick: () => {
1423
1424
  L(!1), a.meta.cancelHref ? N.visit(a.meta.cancelHref) : window.history.back();
1424
1425
  },
1425
- children: i("middag.ui.form.dirty_leave")
1426
+ children: r("middag.ui.form.dirty_leave")
1426
1427
  })] })] })
1427
1428
  })] });
1428
1429
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CardGridBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/CardGridBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAkC,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAS1E,OAAO,KAAK,EAEV,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOtD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,YAAY,CAuLpF"}
1
+ {"version":3,"file":"CardGridBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/CardGridBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAkC,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAU1E,OAAO,KAAK,EAEV,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOtD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,YAAY,CAuLpF"}
@@ -1 +1 @@
1
- {"version":3,"file":"DenseTableBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DenseTableBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAA4C,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAWpF,OAAO,KAAK,EAAsB,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAKtD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CA4XxF"}
1
+ {"version":3,"file":"DenseTableBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DenseTableBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAA4C,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAYpF,OAAO,KAAK,EAAsB,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAKtD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,YAAY,CA4XxF"}
@@ -1 +1 @@
1
- {"version":3,"file":"DetailPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DetailPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAyB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAQjE,OAAO,KAAK,EACV,oBAAoB,EAGrB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOtD,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,oBAAoB,CAAC,GAAG,YAAY,CAsD1F"}
1
+ {"version":3,"file":"DetailPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/DetailPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAyB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AASjE,OAAO,KAAK,EACV,oBAAoB,EAGrB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOtD,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,oBAAoB,CAAC,GAAG,YAAY,CAsD1F"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/FormPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqD,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAW7F,OAAO,KAAK,EAAc,kBAAkB,EAAkB,MAAM,wBAAwB,CAAC;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AA0ItD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,kBAAkB,CAAC,GAAG,YAAY,CAyTtF"}
1
+ {"version":3,"file":"FormPanelBlock.d.ts","sourceRoot":"","sources":["../../../src/base/blocks/FormPanelBlock.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqD,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAW7F,OAAO,KAAK,EAAc,kBAAkB,EAAkB,MAAM,wBAAwB,CAAC;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AA2ItD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,CAAC,kBAAkB,CAAC,GAAG,YAAY,CAyTtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/ActionBar/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAM/D,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EACxB,aAAa,EACb,UAAU,EACV,OAAO,EACP,QAAQ,EACR,WAAW,EACX,SAAS,GACV,EAAE,cAAc,GAAG,YAAY,CAgF/B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/ActionBar/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAM/D,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EACxB,aAAa,EACb,UAAU,EACV,OAAO,EACP,QAAQ,EACR,WAAW,EACX,SAAS,GACV,EAAE,cAAc,GAAG,YAAY,CAgF/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/FilterBar/index.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAkB9D,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IACzD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAiB,GAClB,EAAE,cAAc,GAAG,YAAY,CAyM/B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/FilterBar/index.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA6B9D,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IACzD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAiB,GAClB,EAAE,cAAc,GAAG,YAAY,CAyM/B"}
@@ -5,7 +5,7 @@ import { setAppearance as x } from "../theme/appearance.js";
5
5
  import { Toaster as S } from "../../primitives/reui/sonner.js";
6
6
  import { renderLabel as C } from "../../i18n/render-label.js";
7
7
  import { useTranslation as w } from "../../i18n/useTranslation.js";
8
- import { t as T } from "../../chunks/subpath-Bh1MAmBT.js";
8
+ import { t as T } from "../../chunks/subpath-Bs35txZS.js";
9
9
  import { useSyncExternalStore as E } from "react";
10
10
  import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
11
11
  import { Link as A, usePage as j } from "@inertiajs/react";
@@ -1 +1 @@
1
- {"version":3,"file":"InlineEditablePanel.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/InlineEditablePanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AA0F7E;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,IAAI,YAAY,GAAG,IAAI,CAwIzD"}
1
+ {"version":3,"file":"InlineEditablePanel.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/InlineEditablePanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AAiG7E;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,IAAI,YAAY,GAAG,IAAI,CAwIzD"}