@ai-matrx/records-ui 0.116.70 → 0.116.71

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/index.js CHANGED
@@ -188,7 +188,7 @@ import {
188
188
  withoutLeadingBlank,
189
189
  workedOutErrorFor,
190
190
  workedOutHoldsNumbers
191
- } from "./chunk-D2QW36IF.js";
191
+ } from "./chunk-YXPUXD5H.js";
192
192
  import {
193
193
  CHART_PLOT_PX,
194
194
  EMBEDDED_ROW_PX,
@@ -3230,7 +3230,19 @@ function EnrichPanel({ tableId, fieldId, className }) {
3230
3230
  }))
3231
3231
  }
3232
3232
  ),
3233
- /* @__PURE__ */ jsx7("p", { className: "text-[11px] text-muted-foreground", children: d.every ? `${d.every} days` : NEVER })
3233
+ /* @__PURE__ */ jsx7("p", { className: "text-[11px] text-muted-foreground", children: d.every ? `${d.every} days` : NEVER }),
3234
+ /* @__PURE__ */ jsxs5("label", { className: "flex items-center gap-2 text-xs", "data-enrich-auto-refill": "", children: [
3235
+ /* @__PURE__ */ jsx7(
3236
+ Switch,
3237
+ {
3238
+ size: "sm",
3239
+ checked: row.enrichment?.auto_refill === true,
3240
+ disabled: !rights.admin || !row.review_interval_days || busy === row.field_id,
3241
+ onCheckedChange: (on) => void save(row, { auto_refill: on })
3242
+ }
3243
+ ),
3244
+ "Refill on its own"
3245
+ ] })
3234
3246
  ] })
3235
3247
  ] }),
3236
3248
  /* @__PURE__ */ jsxs5("p", { className: "text-xs text-muted-foreground", children: [