@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.cjs
CHANGED
|
@@ -4247,13 +4247,13 @@ var import_records11 = require("@ai-matrx/records");
|
|
|
4247
4247
|
var import_react31 = require("@ai-matrx/records/react");
|
|
4248
4248
|
var import_design_system16 = require("@ai-matrx/design-system");
|
|
4249
4249
|
var import_jsx_runtime20 = require("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 = {}) {
|