@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
package/dist/index.d.cts
CHANGED
|
@@ -7,7 +7,7 @@ import { p as CoercibleField } from './field-DjS7iId2.cjs';
|
|
|
7
7
|
export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, q as FIELD_KINDS, F as Field, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, b as FieldRule, a as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from './field-DjS7iId2.cjs';
|
|
8
8
|
export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from './rule-CbBXN-FW.cjs';
|
|
9
9
|
export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from './portal-CUwIsXsx.cjs';
|
|
10
|
-
export { A as AggregateBucket,
|
|
10
|
+
export { A as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, b as AggregateFilter, t as AggregateGroupValue, c as AggregateMeasure, a as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from './subscription-ycCVo9e2.cjs';
|
|
11
11
|
export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from './relation-BbPDcXp5.cjs';
|
|
12
12
|
export { a as ObjectKind, O as ObjectOrganizationAnswer, R as RecordOrganizationPort, W as WHERE_ID_OPENS_DOOR, r as readObjectOrganizationAnswer, b as resolveObjectOrganization, w as whereIdOpensPort } from './objectOrganization-CDAoE7Ft.cjs';
|
|
13
13
|
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { p as CoercibleField } from './field-D-1OKy5r.js';
|
|
|
7
7
|
export { A as ADDRESS_PARTS, f as AGENT_WRITER_WORDS, g as AddressPart, h as AddressValue, i as BARCODE_SYMBOLOGIES, j as BUTTON_DOES, k as ButtonDoes, B as ButtonPressed, l as ButtonSettings, C as ChoiceOptions, m as CoerceOptions, n as Coerced, o as CoercedAnswers, q as FIELD_KINDS, F as Field, d as FieldDuplicated, r as FieldKind, s as FieldOptionEdit, c as FieldPatch, e as FieldProposal, b as FieldRule, a as FieldTypeWord, K as KernelTargets, t as NEWER_FIELD_KINDS, u as NOT_A_MEMBER_WORDS, N as NewFieldDeclaration, v as NewerFieldKind, P as ParityFieldTypeDescriptor, w as PersonStamp, x as RelationDisplay, y as RelationNameIndex, z as RelationNameMatch, R as RelationNamesAnswer, S as STATUS_GROUPS, D as STATUS_GROUP_WORDS, E as SYSTEM_WRITER_WORDS, G as StatusGroup, T as TableProposal, H as addressFromText, I as addressMapUrl, J as addressText, L as allowsOtherValues, M as buttonNeeds, O as buttonOf, Q as buttonUrlPlaceholders, U as coerceTypedAnswer, V as coerceTypedAnswers, W as coercionLabel, X as durationText, Y as entityReferenceKindsOf, Z as fieldKindFor, _ as isAddressValue, $ as isButtonField, a0 as isEntityReferenceConfig, a1 as isPersonStamp, a2 as newerKindExportWords, a3 as newerKindOf, a4 as newerKindWords, a5 as personStampText, a6 as ratingMaxOf, a7 as readTypedDuration, a8 as relationNameIndexOf, a9 as relationNameKey, aa as relationNamesIn, ab as richTextPlain, ac as safeLinkHref, ad as splitListCell, ae as statusGroupOf } from './field-D-1OKy5r.js';
|
|
8
8
|
export { a as BookingAvailability, b as BookingDeclared, B as BookingSummary, e as BookingWindow, d as FormResults, c as FormRoute, F as FormSummary, f as Rule, g as RuleAnswer, R as RuleExpression, h as bookingPath, p as publicFormPath } from './rule-BVX1C83I.js';
|
|
9
9
|
export { D as DEFAULT_PORTAL_ARCHIVE_FILTER, F as FormLookOptions, l as PORTAL_ACCENTS, m as PORTAL_ARCHIVE_FILTERS, k as PortalAccent, b as PortalArchiveAnswer, a as PortalArchiveFilter, d as PortalCard, n as PortalConfig, e as PortalConfigInput, o as PortalFooterLink, g as PortalFormAnswer, p as PortalFormInput, q as PortalFormRef, f as PortalFormSpec, h as PortalInvitation, j as PortalPreviewRow, r as PortalPrincipal, i as PortalRevocation, s as PortalStage, t as PortalStyle, u as PortalStyleInput, P as PortalSummary, v as PortalTableExposure, c as PortalTableRef, w as PublicPicture, x as emptyPortalArchiveLine, y as isPortalAccent, z as isPortalArchiveFilter, A as portalArchiveConsequence, B as portalConfirmLine, C as portalPath, E as portalTitleTypedBack } from './portal-DDOmQR1f.js';
|
|
10
|
-
export { A as AggregateBucket,
|
|
10
|
+
export { A as AggregateBucket, g as AggregateCompare, q as AggregateCompareKind, r as AggregateCompareWindows, s as AggregateDelta, b as AggregateFilter, t as AggregateGroupValue, c as AggregateMeasure, a as AggregateOperation, j as AggregateRow, u as AggregateWindow, f as DashboardBlock, D as DashboardBlockKind, v as DashboardBlockResult, h as DashboardRunResult, e as DashboardSummary, w as DashboardTarget, x as DashboardTargetBase, y as DashboardTargetOp, z as DashboardTargetResult, B as DashboardTotals, m as DigestPreview, M as MySubscription, Q as QuietHours, R as RecordFilter, p as RowTemplateRow, C as SavedViewColorBy, E as SavedViewDefinition, F as SavedViewLayout, n as SavedViewRow, o as SavedViewSpecIn, d as StoreFilter, i as StuckRow, k as Subscription, G as SubscriptionBlock, S as SubscriptionCadence, l as SubscriptionSpec, H as callersTimeZone, I as hasQuietHours, J as isRuleFilter, K as liftWithheld, L as measureKey, N as stableFilterKey, O as withCallersClock } from './subscription-DucBLG-Y.js';
|
|
11
11
|
export { g as EntityRef, E as EntityRefWithWords, h as EntityReferenceKind, i as REVERSE_LINKS_PAGE_MAX, j as REVERSE_LINKS_RECORDS_PER_CALL, k as Relation, l as RelationCarries, R as RelationCoordinate, b as RelationIcons, m as RelationProperties, n as RelationTarget, a as RelationWordsManyArgs, c as ReverseColumn, o as ReverseLink, e as ReverseLinks, f as ReverseLinksFieldsArgs, d as ReverseLinksManyArgs, S as SourceArchived, p as entityReferenceKinds, q as entityReferenceSearch, r as entityReferenceWords, s as entityRefsOf, t as entityRefsToWrite, u as isReverseField, v as sourceArchivedOf } from './relation-Dk9-VzY0.js';
|
|
12
12
|
export { a as ObjectKind, O as ObjectOrganizationAnswer, R as RecordOrganizationPort, W as WHERE_ID_OPENS_DOOR, r as readObjectOrganizationAnswer, b as resolveObjectOrganization, w as whereIdOpensPort } from './objectOrganization-IBxZqFZQ.js';
|
|
13
13
|
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as RecordsDataSource, a as RecordsConfig } from '../ports-DEkN-WfA.cjs';
|
|
2
|
-
import { T as TemplateSpec } from '../types-
|
|
2
|
+
import { T as TemplateSpec } from '../types-SezYoQ5_.cjs';
|
|
3
3
|
import { P as PgError } from '../record-zwSBU5PQ.cjs';
|
|
4
4
|
import '../field-DjS7iId2.cjs';
|
|
5
|
-
import '../subscription-
|
|
5
|
+
import '../subscription-ycCVo9e2.cjs';
|
|
6
6
|
import '../rule-CbBXN-FW.cjs';
|
|
7
7
|
import '../types-DtEP7XLv.cjs';
|
|
8
8
|
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as RecordsDataSource, a as RecordsConfig } from '../ports-YOhD5T7h.js';
|
|
2
|
-
import { T as TemplateSpec } from '../types-
|
|
2
|
+
import { T as TemplateSpec } from '../types-Cl0b_Hy8.js';
|
|
3
3
|
import { P as PgError } from '../record-zwSBU5PQ.js';
|
|
4
4
|
import '../field-D-1OKy5r.js';
|
|
5
|
-
import '../subscription-
|
|
5
|
+
import '../subscription-DucBLG-Y.js';
|
|
6
6
|
import '../rule-BVX1C83I.js';
|
|
7
7
|
import '../types-D31PewA2.js';
|
|
8
8
|
|
package/dist/questions/index.cjs
CHANGED
|
@@ -268,12 +268,17 @@ var KERNEL_TABLES = [
|
|
|
268
268
|
{ id: "11111111-0000-4000-8000-000000000008", name: "Widget" }
|
|
269
269
|
];
|
|
270
270
|
|
|
271
|
-
// src/
|
|
271
|
+
// src/fieldKind.ts
|
|
272
272
|
var kernelId = (name) => KERNEL_TABLES.find((t) => t.name === name)?.id ?? "";
|
|
273
273
|
var KERNEL = { file: kernelId("File"), person: kernelId("Person") };
|
|
274
|
+
function storeFieldKind(field) {
|
|
275
|
+
return fieldKindFor(field, KERNEL);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// src/questions/index.ts
|
|
274
279
|
var ARITHMETIC = /* @__PURE__ */ new Set(["add", "sub", "mul", "div", "mod", "power", "sum", "average", "round", "abs", "min", "max", "ceiling", "floor"]);
|
|
275
280
|
function kindOf(field) {
|
|
276
|
-
return
|
|
281
|
+
return storeFieldKind(field);
|
|
277
282
|
}
|
|
278
283
|
function isNumericField(field) {
|
|
279
284
|
const kind = kindOf(field);
|