@ai-matrx/records-ui 0.116.63 → 0.116.65
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 +26 -1
- package/dist/{SaveToTable-VPLDWCSU.js → SaveToTable-OYJH3OKN.js} +3 -3
- package/dist/{chunk-WXYI4DKC.js → chunk-EACZUXJO.js} +2 -2
- package/dist/{chunk-X2WDIQIR.js → chunk-GLSY7IZC.js} +23 -4
- package/dist/{chunk-X2WDIQIR.js.map → chunk-GLSY7IZC.js.map} +1 -1
- package/dist/{chunk-4KWCNW7V.js → chunk-ZX4EFZSB.js} +2 -2
- package/dist/{chunk-4KWCNW7V.js.map → chunk-ZX4EFZSB.js.map} +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.js +1 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +22 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +15 -2
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/package.json +5 -5
- /package/dist/{SaveToTable-VPLDWCSU.js.map → SaveToTable-OYJH3OKN.js.map} +0 -0
- /package/dist/{chunk-WXYI4DKC.js.map → chunk-EACZUXJO.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -68,6 +68,7 @@ import {
|
|
|
68
68
|
WHOLE_VALUE_NOT_EDITABLE_HERE,
|
|
69
69
|
WITHHELD_WORD,
|
|
70
70
|
WholeValueEditor,
|
|
71
|
+
WithheldConditionFieldsContext,
|
|
71
72
|
WithheldValue,
|
|
72
73
|
archiveConfirmSentence,
|
|
73
74
|
askOnce_exports,
|
|
@@ -179,13 +180,14 @@ import {
|
|
|
179
180
|
wholeValueOpening,
|
|
180
181
|
withFormulaDisplayNow,
|
|
181
182
|
withOpenRecord,
|
|
183
|
+
withheldConditionFields,
|
|
182
184
|
withheldKeysOf,
|
|
183
185
|
withheldNoticeOf,
|
|
184
186
|
withheldSentence,
|
|
185
187
|
withoutAddition,
|
|
186
188
|
withoutLeadingBlank,
|
|
187
189
|
workedOutErrorFor
|
|
188
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-GLSY7IZC.js";
|
|
189
191
|
import {
|
|
190
192
|
CHART_PLOT_PX,
|
|
191
193
|
EMBEDDED_ROW_PX,
|
|
@@ -296,7 +298,7 @@ import {
|
|
|
296
298
|
visibilityLaneFor,
|
|
297
299
|
whyNotAskable,
|
|
298
300
|
writeOnTheWinningVersion_exports
|
|
299
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-EACZUXJO.js";
|
|
300
302
|
import {
|
|
301
303
|
ACTION_CHECKING_ACCESS_REASON,
|
|
302
304
|
ACTION_NOT_HERE_REASON,
|
|
@@ -409,7 +411,7 @@ import {
|
|
|
409
411
|
useRowRights,
|
|
410
412
|
useTableRights,
|
|
411
413
|
withoutInternalCodes
|
|
412
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-ZX4EFZSB.js";
|
|
413
415
|
import {
|
|
414
416
|
FEWEST_KEY_VALUE_PAIRS,
|
|
415
417
|
FEWEST_LIST_ITEMS,
|
|
@@ -40079,6 +40081,7 @@ function ViewFilter({ tableId, view, onApply, withheldKeys, className }) {
|
|
|
40079
40081
|
);
|
|
40080
40082
|
return [...own, ...reached];
|
|
40081
40083
|
}, [fields.data, relations, linkedFields, withheldKeys]);
|
|
40084
|
+
const withheldFields = useMemo70(() => withheldConditionFields(fields.data ?? [], withheldKeys), [fields.data, withheldKeys]);
|
|
40082
40085
|
if (!view) return null;
|
|
40083
40086
|
const count = conditionCount(saved);
|
|
40084
40087
|
const changed2 = JSON.stringify(draft) !== savedKey;
|
|
@@ -40116,7 +40119,7 @@ function ViewFilter({ tableId, view, onApply, withheldKeys, className }) {
|
|
|
40116
40119
|
"This view asks: ",
|
|
40117
40120
|
conditionInWords(saved, conditionFields),
|
|
40118
40121
|
". It cannot be drawn here; clear it to start a new filter."
|
|
40119
|
-
] }) : /* @__PURE__ */ jsx129(FilterTermsContext.Provider, { value: true, children: /* @__PURE__ */ jsx129(
|
|
40122
|
+
] }) : /* @__PURE__ */ jsx129(FilterTermsContext.Provider, { value: true, children: /* @__PURE__ */ jsx129(WithheldConditionFieldsContext.Provider, { value: withheldFields, children: /* @__PURE__ */ jsx129(
|
|
40120
40123
|
ConditionGroup,
|
|
40121
40124
|
{
|
|
40122
40125
|
lead: "Show records where",
|
|
@@ -40125,7 +40128,7 @@ function ViewFilter({ tableId, view, onApply, withheldKeys, className }) {
|
|
|
40125
40128
|
fields: conditionFields,
|
|
40126
40129
|
onChange: setDraft
|
|
40127
40130
|
}
|
|
40128
|
-
) }),
|
|
40131
|
+
) }) }),
|
|
40129
40132
|
view.ruleId ? null : /* @__PURE__ */ jsxs122("div", { className: "flex items-center gap-1", children: [
|
|
40130
40133
|
changed2 ? /* @__PURE__ */ jsx129(
|
|
40131
40134
|
Button99,
|