@ai-matrx/records-ui 0.116.87 → 0.116.88

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +2 -1
  2. package/dist/{SaveToTable-X2T2GDX7.js → SaveToTable-RV553LQL.js} +3 -3
  3. package/dist/{chunk-Y5UJD4FV.js → chunk-A5XXEX6A.js} +2 -2
  4. package/dist/{chunk-QNI75ZHU.js → chunk-D7LNXDKV.js} +2 -1
  5. package/dist/{chunk-QNI75ZHU.js.map → chunk-D7LNXDKV.js.map} +1 -1
  6. package/dist/{chunk-HYC2SPZZ.js → chunk-HEPOU6ZX.js} +1 -1
  7. package/dist/chunk-HEPOU6ZX.js.map +1 -0
  8. package/dist/{chunk-6BTGCYPK.js → chunk-NS2VEKMS.js} +4 -2
  9. package/dist/chunk-NS2VEKMS.js.map +1 -0
  10. package/dist/{chunk-ATBJZKUT.js → chunk-YQW2T27M.js} +4 -4
  11. package/dist/first-page.cjs.map +1 -1
  12. package/dist/first-page.js.map +1 -1
  13. package/dist/helpers.cjs +1 -0
  14. package/dist/helpers.cjs.map +1 -1
  15. package/dist/helpers.d.cts +18 -2
  16. package/dist/helpers.d.ts +18 -2
  17. package/dist/helpers.js +1 -0
  18. package/dist/helpers.js.map +1 -1
  19. package/dist/index.cjs +4109 -3888
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +20 -4
  22. package/dist/index.d.ts +20 -4
  23. package/dist/index.js +3514 -3295
  24. package/dist/index.js.map +1 -1
  25. package/dist/pickers.cjs.map +1 -1
  26. package/dist/pickers.js +3 -3
  27. package/dist/skeleton.cjs +2 -0
  28. package/dist/skeleton.cjs.map +1 -1
  29. package/dist/skeleton.d.cts +1 -1
  30. package/dist/skeleton.d.ts +1 -1
  31. package/dist/skeleton.js +2 -2
  32. package/package.json +6 -6
  33. package/dist/chunk-6BTGCYPK.js.map +0 -1
  34. package/dist/chunk-HYC2SPZZ.js.map +0 -1
  35. /package/dist/{SaveToTable-X2T2GDX7.js.map → SaveToTable-RV553LQL.js.map} +0 -0
  36. /package/dist/{chunk-Y5UJD4FV.js.map → chunk-A5XXEX6A.js.map} +0 -0
  37. /package/dist/{chunk-ATBJZKUT.js.map → chunk-YQW2T27M.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -3,6 +3,7 @@ import { ComponentType, ReactNode, KeyboardEvent, ReactElement, RefObject, SVGAt
3
3
  import * as _ai_matrx_records from '@ai-matrx/records';
4
4
  import { Field, ReadRow, Uuid, RowAction, RowActionStep, RecordScopeContext, EnrichCell, RecordsError, RecordDocument, Table, PermissionLevel, RecordsErrorCode, RecordRead, RowAgentTarget, AggregateFilter, RelationDisplay, WriteConflict, TableDecorations, StoreFilter as StoreFilter$1, ImportRun, NewFieldDeclaration, RuleExpression, ChoiceRehome, FieldOptionEdit, StoredRecord, ChoiceNudge, HiddenFieldNotice, ValueEnvelope, ChecklistRequirementKind, ContextPolicy, WorkDueState, FieldSensitivity, StageRuleOnFail, SubscriptionCadence, WorkApprovalState, WorkInboxKind, ArchiveLane, ArchivedRow, WorkInboxView, WorkInboxItem, MigrationEntry, PortalCard, PortalPrincipal, PortalPreviewRow, PortalAccent, PublicPicture, PortalStyle, RecordFilter, MySubscription, DashboardBlockKind, AggregateBucket, AggregateMeasure, AggregateCompare, DashboardTarget, DashboardBlock, DashboardSummary, AggregateGroupValue, DocTemplateRow, DocRenderRow, QuietHours, DashboardBlockResult, CoercibleField, AggregateRow, DashboardRunResult, ChecklistRunStep, BookingSummary, CaptureSheetFace, CaptureField, AnonTokenBinding, RecordsActor, RecordsDataSource, RecordsConfig, TableDuplicated, HistoryActor, FieldHistoryEntry, DrillDefinition, DrillSource, DrillLane, DrillQuestion, TableDuplicateProgress, TableArchiveProgress } from '@ai-matrx/records';
5
5
  import { ReversibleAnnouncement } from '@ai-matrx/kit/reversible';
6
+ import { DeckItem, DeckKeyOverride, DeckAnswer } from '@ai-matrx/design-system/swipe-deck';
6
7
  import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-Df9fA6DR.cjs';
7
8
  export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, C as Capability, D as DEFAULT_ACTION_ORIGIN, K as KERNEL_REASON, L as LEVEL_WORD, N as NOT_ANSWERED_YET, e as OBJECT_ACTION_GROUPS, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, r as levelNeededFor, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, x as whatYouMayDo, y as whatYouMayDoWithTable, z as withExtensions } from './objectActions-Df9fA6DR.cjs';
8
9
  import { Uuid as Uuid$1, Table as Table$1, Field as Field$1, ReadRow as ReadRow$1, StoreFilter, useRecordsClient } from '@ai-matrx/records/react';
@@ -681,6 +682,14 @@ interface RecordsUiHost {
681
682
  lat: number;
682
683
  lng: number;
683
684
  } | null>) | undefined;
685
+ /**
686
+ * OPTIONAL. THE SWIPE LAYOUT'S LOGIC GRAPH (2026-10-22). Which cards are asked after which answers is
687
+ * drawn on the platform's ONE diagram canvas, which lives above this package (rich-content's
688
+ * `./swipe-deck-logic` — `SwipeDeckLogicEditor` takes exactly `DeckLogicEditorProps`). Unbound, the
689
+ * Swipe layout's Logic panel says the graph is not installed here and the condition column stays
690
+ * editable in the grid.
691
+ */
692
+ deckLogicEditor?: ComponentType<DeckLogicEditorProps> | undefined;
684
693
  /**
685
694
  * TEMPORARY (one-grid merge, steps 5-8). Which table grid draws: `classic` — the default Grid
686
695
  * as it shipped in 0.86; `merged` — the same grid with the older /data grid's control layer on
@@ -1390,6 +1399,13 @@ declare const NO_REASK_REASON: string;
1390
1399
  * `<RecordsUiProvider>` with the host's file service and the chooser appears.
1391
1400
  */
1392
1401
  declare const NO_UPLOAD_REASON: string;
1402
+ /** What the Swipe layout hands the host's logic graph: the deck's cards, its answers, and where edits go. */
1403
+ interface DeckLogicEditorProps {
1404
+ readonly items: readonly DeckItem[];
1405
+ readonly answers?: DeckKeyOverride;
1406
+ readonly more?: readonly DeckAnswer[];
1407
+ readonly onChange: (items: DeckItem[]) => void;
1408
+ }
1393
1409
  declare function RecordsUiProvider({ value, children }: {
1394
1410
  value: RecordsUiHost;
1395
1411
  children: ReactNode;
@@ -4193,10 +4209,10 @@ declare function announceTableArchived({ notify, client, tableId, name, onRestor
4193
4209
 
4194
4210
  /** What a look may hold, with this package's grid look. */
4195
4211
  type ViewLook = base.ViewLook<GridPresentation>;
4196
- declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>) => Record<string, unknown>;
4197
- declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>;
4198
- declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>>>>;
4199
- declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
4212
+ declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">>) => Record<string, unknown>;
4213
+ declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">>;
4214
+ declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">>>>>;
4215
+ declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
4200
4216
  /** The words of the look bar. One sentence, then the doors. */
4201
4217
  declare const LOOK_WORDS: {
4202
4218
  /** The reason, for a tooltip or a screen reader — never a line on the page (interface-text). */
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { ComponentType, ReactNode, KeyboardEvent, ReactElement, RefObject, SVGAt
3
3
  import * as _ai_matrx_records from '@ai-matrx/records';
4
4
  import { Field, ReadRow, Uuid, RowAction, RowActionStep, RecordScopeContext, EnrichCell, RecordsError, RecordDocument, Table, PermissionLevel, RecordsErrorCode, RecordRead, RowAgentTarget, AggregateFilter, RelationDisplay, WriteConflict, TableDecorations, StoreFilter as StoreFilter$1, ImportRun, NewFieldDeclaration, RuleExpression, ChoiceRehome, FieldOptionEdit, StoredRecord, ChoiceNudge, HiddenFieldNotice, ValueEnvelope, ChecklistRequirementKind, ContextPolicy, WorkDueState, FieldSensitivity, StageRuleOnFail, SubscriptionCadence, WorkApprovalState, WorkInboxKind, ArchiveLane, ArchivedRow, WorkInboxView, WorkInboxItem, MigrationEntry, PortalCard, PortalPrincipal, PortalPreviewRow, PortalAccent, PublicPicture, PortalStyle, RecordFilter, MySubscription, DashboardBlockKind, AggregateBucket, AggregateMeasure, AggregateCompare, DashboardTarget, DashboardBlock, DashboardSummary, AggregateGroupValue, DocTemplateRow, DocRenderRow, QuietHours, DashboardBlockResult, CoercibleField, AggregateRow, DashboardRunResult, ChecklistRunStep, BookingSummary, CaptureSheetFace, CaptureField, AnonTokenBinding, RecordsActor, RecordsDataSource, RecordsConfig, TableDuplicated, HistoryActor, FieldHistoryEntry, DrillDefinition, DrillSource, DrillLane, DrillQuestion, TableDuplicateProgress, TableArchiveProgress } from '@ai-matrx/records';
5
5
  import { ReversibleAnnouncement } from '@ai-matrx/kit/reversible';
6
+ import { DeckItem, DeckKeyOverride, DeckAnswer } from '@ai-matrx/design-system/swipe-deck';
6
7
  import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-Df9fA6DR.js';
7
8
  export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, C as Capability, D as DEFAULT_ACTION_ORIGIN, K as KERNEL_REASON, L as LEVEL_WORD, N as NOT_ANSWERED_YET, e as OBJECT_ACTION_GROUPS, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, r as levelNeededFor, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, x as whatYouMayDo, y as whatYouMayDoWithTable, z as withExtensions } from './objectActions-Df9fA6DR.js';
8
9
  import { Uuid as Uuid$1, Table as Table$1, Field as Field$1, ReadRow as ReadRow$1, StoreFilter, useRecordsClient } from '@ai-matrx/records/react';
@@ -681,6 +682,14 @@ interface RecordsUiHost {
681
682
  lat: number;
682
683
  lng: number;
683
684
  } | null>) | undefined;
685
+ /**
686
+ * OPTIONAL. THE SWIPE LAYOUT'S LOGIC GRAPH (2026-10-22). Which cards are asked after which answers is
687
+ * drawn on the platform's ONE diagram canvas, which lives above this package (rich-content's
688
+ * `./swipe-deck-logic` — `SwipeDeckLogicEditor` takes exactly `DeckLogicEditorProps`). Unbound, the
689
+ * Swipe layout's Logic panel says the graph is not installed here and the condition column stays
690
+ * editable in the grid.
691
+ */
692
+ deckLogicEditor?: ComponentType<DeckLogicEditorProps> | undefined;
684
693
  /**
685
694
  * TEMPORARY (one-grid merge, steps 5-8). Which table grid draws: `classic` — the default Grid
686
695
  * as it shipped in 0.86; `merged` — the same grid with the older /data grid's control layer on
@@ -1390,6 +1399,13 @@ declare const NO_REASK_REASON: string;
1390
1399
  * `<RecordsUiProvider>` with the host's file service and the chooser appears.
1391
1400
  */
1392
1401
  declare const NO_UPLOAD_REASON: string;
1402
+ /** What the Swipe layout hands the host's logic graph: the deck's cards, its answers, and where edits go. */
1403
+ interface DeckLogicEditorProps {
1404
+ readonly items: readonly DeckItem[];
1405
+ readonly answers?: DeckKeyOverride;
1406
+ readonly more?: readonly DeckAnswer[];
1407
+ readonly onChange: (items: DeckItem[]) => void;
1408
+ }
1393
1409
  declare function RecordsUiProvider({ value, children }: {
1394
1410
  value: RecordsUiHost;
1395
1411
  children: ReactNode;
@@ -4193,10 +4209,10 @@ declare function announceTableArchived({ notify, client, tableId, name, onRestor
4193
4209
 
4194
4210
  /** What a look may hold, with this package's grid look. */
4195
4211
  type ViewLook = base.ViewLook<GridPresentation>;
4196
- declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>) => Record<string, unknown>;
4197
- declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>;
4198
- declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">>>>>;
4199
- declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "sorts">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
4212
+ declare const lookDocument: (look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">>) => Record<string, unknown>;
4213
+ declare const lookFromDocument: (doc: Record<string, unknown> | null | undefined) => Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">>;
4214
+ declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">>>>>;
4215
+ declare const keepLook: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookSet">, tableId: _ai_matrx_records.Uuid, viewId: _ai_matrx_records.Uuid, look: Partial<Pick<base.SavedViewSpec<GridPresentation>, "measure" | "presentation" | "mapField" | "where" | "layout" | "groupField" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField" | "answerField" | "conditionField" | "sorts">> | null) => Promise<_ai_matrx_records.RecordsResult<Record<string, unknown> | null>>;
4200
4216
  /** The words of the look bar. One sentence, then the doors. */
4201
4217
  declare const LOOK_WORDS: {
4202
4218
  /** The reason, for a tooltip or a screen reader — never a line on the page (interface-text). */