@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.
- package/CHANGELOG.md +35 -2
- package/dist/{SaveToTable-PDRY5OXB.js → SaveToTable-GRDFTAC4.js} +3 -3
- package/dist/{chunk-266JKBAS.js → chunk-DZ4KNUSS.js} +1 -1
- package/dist/chunk-DZ4KNUSS.js.map +1 -0
- package/dist/{chunk-HTZPVHDG.js → chunk-LGQLATW5.js} +7 -7
- package/dist/{chunk-HTZPVHDG.js.map → chunk-LGQLATW5.js.map} +1 -1
- package/dist/{chunk-FD4GYJX6.js → chunk-N76I4VXM.js} +4 -3
- package/dist/{chunk-FD4GYJX6.js.map → chunk-N76I4VXM.js.map} +1 -1
- package/dist/entity-ref.cjs +1 -1
- package/dist/entity-ref.cjs.map +1 -1
- package/dist/entity-ref.d.cts +4 -1
- package/dist/entity-ref.d.ts +4 -1
- package/dist/entity-ref.js +1 -1
- package/dist/entity-ref.js.map +1 -1
- package/dist/helpers.cjs +4 -4
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +11 -3
- package/dist/helpers.d.ts +11 -3
- package/dist/helpers.js +4 -4
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +76 -71
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +73 -69
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-266JKBAS.js.map +0 -1
- /package/dist/{SaveToTable-PDRY5OXB.js.map → SaveToTable-GRDFTAC4.js.map} +0 -0
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
useTableRights,
|
|
65
65
|
withoutInternalCodes,
|
|
66
66
|
writeOnTheWinningVersion_exports
|
|
67
|
-
} from "./chunk-
|
|
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-
|
|
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(
|
|
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(
|
|
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 ?
|
|
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 ? "
|
|
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-
|
|
14343
|
+
//# sourceMappingURL=chunk-LGQLATW5.js.map
|