@ai-matrx/records 0.93.1 → 0.93.3
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 +29 -0
- package/dist/{client-D4mLGnph.d.ts → client-DM3dRewB.d.ts} +1 -1
- package/dist/{client-BPcc-V2O.d.cts → client-icpxhaRE.d.cts} +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/data/index.d.cts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/{declareTable-BSHX1Abl.d.cts → declareTable-BtpsSJCr.d.cts} +1 -1
- package/dist/{declareTable-Br_4v6L7.d.ts → declareTable-MN4WuhWK.d.ts} +1 -1
- package/dist/first-page/index.cjs +627 -0
- package/dist/first-page/index.cjs.map +1 -0
- package/dist/first-page/index.d.cts +1298 -0
- package/dist/first-page/index.d.ts +1298 -0
- package/dist/first-page/index.js +604 -0
- package/dist/first-page/index.js.map +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/memory/index.d.cts +2 -2
- package/dist/memory/index.d.ts +2 -2
- package/dist/questions/index.cjs +7 -2
- package/dist/questions/index.cjs.map +1 -1
- package/dist/questions/index.d.cts +2 -2
- package/dist/questions/index.d.ts +2 -2
- package/dist/questions/index.js +7 -2
- package/dist/questions/index.js.map +1 -1
- package/dist/setup/index.d.cts +2 -2
- package/dist/setup/index.d.ts +2 -2
- package/dist/{subscription-BGgwsJ8c.d.ts → subscription-DucBLG-Y.d.ts} +1 -1
- package/dist/{subscription-DVM2vL4e.d.cts → subscription-ycCVo9e2.d.cts} +1 -1
- package/dist/templates/index.d.cts +3 -3
- package/dist/templates/index.d.ts +3 -3
- package/dist/typed-table/index.d.cts +3 -3
- package/dist/typed-table/index.d.ts +3 -3
- package/dist/{types-C3ywxkho.d.ts → types-Cl0b_Hy8.d.ts} +1 -1
- package/dist/{types-reNR-zMe.d.cts → types-SezYoQ5_.d.cts} +1 -1
- package/dist/views/index.cjs +102 -0
- package/dist/views/index.cjs.map +1 -1
- package/dist/views/index.d.cts +46 -3
- package/dist/views/index.d.ts +46 -3
- package/dist/views/index.js +102 -0
- package/dist/views/index.js.map +1 -1
- package/package.json +12 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AggregateBucket } from '../subscription-
|
|
2
|
-
import { R as RecordsClient } from '../client-
|
|
1
|
+
import { A as AggregateBucket } from '../subscription-ycCVo9e2.cjs';
|
|
2
|
+
import { R as RecordsClient } from '../client-icpxhaRE.cjs';
|
|
3
3
|
import { F as Field } from '../field-DjS7iId2.cjs';
|
|
4
4
|
import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.cjs';
|
|
5
5
|
import { R as RuleExpression } from '../rule-CbBXN-FW.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AggregateBucket } from '../subscription-
|
|
2
|
-
import { R as RecordsClient } from '../client-
|
|
1
|
+
import { A as AggregateBucket } from '../subscription-DucBLG-Y.js';
|
|
2
|
+
import { R as RecordsClient } from '../client-DM3dRewB.js';
|
|
3
3
|
import { F as Field } from '../field-D-1OKy5r.js';
|
|
4
4
|
import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.js';
|
|
5
5
|
import { R as RuleExpression } from '../rule-BVX1C83I.js';
|
package/dist/questions/index.js
CHANGED
|
@@ -229,12 +229,17 @@ var KERNEL_TABLES = [
|
|
|
229
229
|
{ id: "11111111-0000-4000-8000-000000000008", name: "Widget" }
|
|
230
230
|
];
|
|
231
231
|
|
|
232
|
-
// src/
|
|
232
|
+
// src/fieldKind.ts
|
|
233
233
|
var kernelId = (name) => KERNEL_TABLES.find((t) => t.name === name)?.id ?? "";
|
|
234
234
|
var KERNEL = { file: kernelId("File"), person: kernelId("Person") };
|
|
235
|
+
function storeFieldKind(field) {
|
|
236
|
+
return fieldKindFor(field, KERNEL);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// src/questions/index.ts
|
|
235
240
|
var ARITHMETIC = /* @__PURE__ */ new Set(["add", "sub", "mul", "div", "mod", "power", "sum", "average", "round", "abs", "min", "max", "ceiling", "floor"]);
|
|
236
241
|
function kindOf(field) {
|
|
237
|
-
return
|
|
242
|
+
return storeFieldKind(field);
|
|
238
243
|
}
|
|
239
244
|
function isNumericField(field) {
|
|
240
245
|
const kind = kindOf(field);
|