@ai-matrx/records-ui 0.116.111 → 0.116.113

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.
@@ -64,7 +64,7 @@ import {
64
64
  useTableRights,
65
65
  withoutInternalCodes,
66
66
  writeOnTheWinningVersion_exports
67
- } from "./chunk-266JKBAS.js";
67
+ } from "./chunk-DZ4KNUSS.js";
68
68
  import {
69
69
  kindItemWords,
70
70
  kindLabel,
@@ -4646,7 +4646,7 @@ import { OutboundLink as OutboundLink5 } from "@ai-matrx/kit/outbound-react";
4646
4646
  import { humanizeIdentifier } from "@ai-matrx/kit/text-case";
4647
4647
  import { momentZoneOptions } from "@ai-matrx/design-system/field-formats";
4648
4648
  import { jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
4649
- var SaveToTable = lazy(() => import("./SaveToTable-PDRY5OXB.js").then((m) => ({ default: m.SaveToTable })));
4649
+ var SaveToTable = lazy(() => import("./SaveToTable-GRDFTAC4.js").then((m) => ({ default: m.SaveToTable })));
4650
4650
  var LONGEST_READ = 5e5;
4651
4651
  var FENCE = /^```(?:json)?[ \t]*\r?\n([\s\S]*?)\r?\n?```$/;
4652
4652
  function isPlainObject(v) {
@@ -8657,7 +8657,7 @@ function useGridColors(args) {
8657
8657
  async (path, value, said2) => {
8658
8658
  const answer = await client.tableDecorate({ table_id: tableId, path, value });
8659
8659
  if (!answer.ok) {
8660
- notify?.error(`The color was not kept: ${refusalSentence(answer.error)}`);
8660
+ notify?.error("Color not kept", { description: refusalSentence(answer.error) });
8661
8661
  return false;
8662
8662
  }
8663
8663
  decorations.apply(answer.data);
@@ -8757,13 +8757,13 @@ function useGridColors(args) {
8757
8757
  if (!field2) continue;
8758
8758
  const answer = await client.tableDecorate({ table_id: tableId, path: ["cells", cell.rowId, field2.id], value: color });
8759
8759
  if (!answer.ok) {
8760
- notify?.error(`The color was not kept: ${refusalSentence(answer.error)}`);
8760
+ notify?.error("Color not kept", { description: refusalSentence(answer.error) });
8761
8761
  return;
8762
8762
  }
8763
8763
  decorations.apply(answer.data);
8764
8764
  kept += 1;
8765
8765
  }
8766
- notify?.success(color ? `${kept} cells are highlighted.` : `${kept} cells are no longer highlighted.`);
8766
+ notify?.success(color ? "Highlighted" : "Highlight removed", void 0, { description: `${kept} cells` });
8767
8767
  })();
8768
8768
  })
8769
8769
  };
@@ -8802,7 +8802,7 @@ function useGridColors(args) {
8802
8802
  drafts: draftsFromView(view.rules, fields),
8803
8803
  onSave: async (drafts) => {
8804
8804
  view.save(viewRulesFrom(drafts));
8805
- notify?.success(drafts.length === 0 ? "This view's color rules are cleared." : "This view's color rules are kept.");
8805
+ notify?.success(drafts.length === 0 ? "Color rules cleared" : "Color rules kept");
8806
8806
  setRulesOpen(null);
8807
8807
  }
8808
8808
  }
@@ -14340,4 +14340,4 @@ export {
14340
14340
  RecordNameText,
14341
14341
  HeldChangeDecision
14342
14342
  };
14343
- //# sourceMappingURL=chunk-HTZPVHDG.js.map
14343
+ //# sourceMappingURL=chunk-LGQLATW5.js.map