@ai-matrx/records-ui 0.110.12 → 0.113.2
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 +33 -0
- package/dist/first-page.cjs +3 -543
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.js +3 -543
- package/dist/first-page.js.map +1 -1
- package/dist/index.cjs +5958 -6238
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -8
- package/dist/index.d.ts +19 -8
- package/dist/index.js +4960 -5243
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +2 -2
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/dist/pickers.js.map +1 -1
- package/package.json +3 -3
package/dist/pickers.js
CHANGED
|
@@ -4247,13 +4247,13 @@ import { withTablePlacement } from "@ai-matrx/records";
|
|
|
4247
4247
|
import { useRecordsClient as useRecordsClient2, useTables } from "@ai-matrx/records/react";
|
|
4248
4248
|
import { Checkbox as Checkbox2, cn as cn14 } from "@ai-matrx/design-system";
|
|
4249
4249
|
import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
4250
|
-
var
|
|
4250
|
+
var PLATFORM_TABLE_PREFIX = "records_ui_";
|
|
4251
4251
|
function isValueSet(table) {
|
|
4252
4252
|
if (table.kept_for === "choices") return true;
|
|
4253
4253
|
return table.kept_for == null && table.kind === "list" && table.kept_by_the_app === true;
|
|
4254
4254
|
}
|
|
4255
4255
|
function isKeptTable(table) {
|
|
4256
|
-
return table.kept_by_the_app === true || isValueSet(table) || Boolean(table.work_kind) || (table.slug ?? "").startsWith(
|
|
4256
|
+
return table.kept_by_the_app === true || isValueSet(table) || Boolean(table.work_kind) || (table.slug ?? "").startsWith(PLATFORM_TABLE_PREFIX);
|
|
4257
4257
|
}
|
|
4258
4258
|
var CHOICES_SUFFIX = / choices$/i;
|
|
4259
4259
|
function tablePickerEntries(tables, options = {}) {
|