@ai-matrx/records-ui 0.115.29 → 0.115.31
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 +12 -0
- package/dist/index.cjs +8045 -7435
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +7960 -7329
- package/dist/index.js.map +1 -1
- package/dist/object-actions.cjs.map +1 -1
- package/dist/object-actions.d.cts +1 -1
- package/dist/object-actions.d.ts +1 -1
- package/dist/object-actions.js.map +1 -1
- package/dist/{objectActions-CV8VEz58.d.cts → objectActions-ac0_y8UY.d.cts} +1 -1
- package/dist/{objectActions-CV8VEz58.d.ts → objectActions-ac0_y8UY.d.ts} +1 -1
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactNode, KeyboardEvent, ReactElement, ComponentType, RefObject, SVGAt
|
|
|
3
3
|
import * as _ai_matrx_records from '@ai-matrx/records';
|
|
4
4
|
import { Uuid, RowAction, Field, RowActionStep, RecordScopeContext, EnrichCell, RecordsError, RecordDocument, Table, ReadRow, RecordRead, RowAgentTarget, AggregateFilter, PermissionLevel, RelationDisplay, WriteConflict, TableDecorations, StoreFilter as StoreFilter$1, ImportRun, DeclarableFieldKind, NewerFieldKind, ParityFieldType, NewFieldDeclaration, RuleExpression, ChoiceRehome, FieldOptionEdit, StoredRecord, ChoiceNudge, HiddenFieldNotice, ValueEnvelope, ChecklistRequirementKind, ContextPolicy, WorkDueState, FieldSensitivity, StageRuleOnFail, SubscriptionCadence, WorkApprovalState, WorkInboxKind, FieldKind, ArchiveLane, ArchivedRow, WorkInboxView, WorkInboxItem, PortalCard, PortalPrincipal, PortalPreviewRow, PortalAccent, PublicPicture, PortalStyle, RecordFilter, MySubscription, DashboardBlockKind, AggregateBucket, AggregateMeasure, AggregateCompare, DashboardTarget, DashboardBlock, DashboardSummary, AggregateGroupValue, DocTemplateRow, DocRenderRow, QuietHours, DashboardBlockResult, ChecklistRunStep, BookingSummary, CaptureSheetFace, CaptureField, AnonTokenBinding, RecordsConfig, RecordsActor, RecordsDataSource, TableDuplicated, HistoryActor, FieldHistoryEntry, DrillDefinition, DrillSource, DrillLane, DrillQuestion, TableDuplicateProgress, TableArchiveProgress } from '@ai-matrx/records';
|
|
5
5
|
import { ReversibleAnnouncement } from '@ai-matrx/kit/reversible';
|
|
6
|
-
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-
|
|
7
|
-
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-
|
|
6
|
+
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-ac0_y8UY.cjs';
|
|
7
|
+
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-ac0_y8UY.cjs';
|
|
8
8
|
import { Uuid as Uuid$1, Table as Table$1, Field as Field$1, ReadRow as ReadRow$1, StoreFilter, useRecordsClient } from '@ai-matrx/records/react';
|
|
9
9
|
import * as _ai_matrx_records_core from '@ai-matrx/records/core';
|
|
10
10
|
import { RecordsClient, ParsedImport, NewFieldSpec } from '@ai-matrx/records/core';
|
|
@@ -6571,6 +6571,10 @@ interface RecordActionHost {
|
|
|
6571
6571
|
duplicate?: RecordHandler;
|
|
6572
6572
|
/** Merge another record of the same table into this one (`MergeRecordDialog`). */
|
|
6573
6573
|
merge?: RecordHandler;
|
|
6574
|
+
/** Move some of this record's values to a new record of the same table (`SplitRecordDialog`). */
|
|
6575
|
+
split?: RecordHandler;
|
|
6576
|
+
/** Copy some values up into a new record of a parent table and put this one under it (`ExtractParentDialog`). */
|
|
6577
|
+
extractParent?: RecordHandler;
|
|
6574
6578
|
/** Open the host's one record picker pointed at this record (`RecordsUiHost.linkRecord`). */
|
|
6575
6579
|
link?: RecordHandler;
|
|
6576
6580
|
history?: RecordHandler;
|
|
@@ -6602,9 +6606,13 @@ interface RecordActionHostArgs {
|
|
|
6602
6606
|
onChanged?: (() => void) | undefined;
|
|
6603
6607
|
/** Open the merge dialog for this record (`MergeRecordDialog`). Absent: Merge says why. */
|
|
6604
6608
|
onMerge?: ((record: RecordActionSubject) => void) | undefined;
|
|
6609
|
+
/** Open the split dialog for this record (`SplitRecordDialog`). Absent: Split says why. */
|
|
6610
|
+
onSplit?: ((record: RecordActionSubject) => void) | undefined;
|
|
6611
|
+
/** Open the extract-parent dialog for this record (`ExtractParentDialog`). Absent: it says why. */
|
|
6612
|
+
onExtractParent?: ((record: RecordActionSubject) => void) | undefined;
|
|
6605
6613
|
}
|
|
6606
6614
|
/** The handlers a record card's menu runs, bound to this package's client and the host's ports. */
|
|
6607
|
-
declare function useRecordActionHost({ tableId, row, onOpenRecord, onChanged, onMerge }: RecordActionHostArgs): RecordActionHost;
|
|
6615
|
+
declare function useRecordActionHost({ tableId, row, onOpenRecord, onChanged, onMerge, onSplit, onExtractParent }: RecordActionHostArgs): RecordActionHost;
|
|
6608
6616
|
declare function ObjectActionContextMenuItems({ actions }: {
|
|
6609
6617
|
actions: readonly ObjectAction[];
|
|
6610
6618
|
}): react.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactNode, KeyboardEvent, ReactElement, ComponentType, RefObject, SVGAt
|
|
|
3
3
|
import * as _ai_matrx_records from '@ai-matrx/records';
|
|
4
4
|
import { Uuid, RowAction, Field, RowActionStep, RecordScopeContext, EnrichCell, RecordsError, RecordDocument, Table, ReadRow, RecordRead, RowAgentTarget, AggregateFilter, PermissionLevel, RelationDisplay, WriteConflict, TableDecorations, StoreFilter as StoreFilter$1, ImportRun, DeclarableFieldKind, NewerFieldKind, ParityFieldType, NewFieldDeclaration, RuleExpression, ChoiceRehome, FieldOptionEdit, StoredRecord, ChoiceNudge, HiddenFieldNotice, ValueEnvelope, ChecklistRequirementKind, ContextPolicy, WorkDueState, FieldSensitivity, StageRuleOnFail, SubscriptionCadence, WorkApprovalState, WorkInboxKind, FieldKind, ArchiveLane, ArchivedRow, WorkInboxView, WorkInboxItem, PortalCard, PortalPrincipal, PortalPreviewRow, PortalAccent, PublicPicture, PortalStyle, RecordFilter, MySubscription, DashboardBlockKind, AggregateBucket, AggregateMeasure, AggregateCompare, DashboardTarget, DashboardBlock, DashboardSummary, AggregateGroupValue, DocTemplateRow, DocRenderRow, QuietHours, DashboardBlockResult, ChecklistRunStep, BookingSummary, CaptureSheetFace, CaptureField, AnonTokenBinding, RecordsConfig, RecordsActor, RecordsDataSource, TableDuplicated, HistoryActor, FieldHistoryEntry, DrillDefinition, DrillSource, DrillLane, DrillQuestion, TableDuplicateProgress, TableArchiveProgress } from '@ai-matrx/records';
|
|
5
5
|
import { ReversibleAnnouncement } from '@ai-matrx/kit/reversible';
|
|
6
|
-
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-
|
|
7
|
-
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-
|
|
6
|
+
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-ac0_y8UY.js';
|
|
7
|
+
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-ac0_y8UY.js';
|
|
8
8
|
import { Uuid as Uuid$1, Table as Table$1, Field as Field$1, ReadRow as ReadRow$1, StoreFilter, useRecordsClient } from '@ai-matrx/records/react';
|
|
9
9
|
import * as _ai_matrx_records_core from '@ai-matrx/records/core';
|
|
10
10
|
import { RecordsClient, ParsedImport, NewFieldSpec } from '@ai-matrx/records/core';
|
|
@@ -6571,6 +6571,10 @@ interface RecordActionHost {
|
|
|
6571
6571
|
duplicate?: RecordHandler;
|
|
6572
6572
|
/** Merge another record of the same table into this one (`MergeRecordDialog`). */
|
|
6573
6573
|
merge?: RecordHandler;
|
|
6574
|
+
/** Move some of this record's values to a new record of the same table (`SplitRecordDialog`). */
|
|
6575
|
+
split?: RecordHandler;
|
|
6576
|
+
/** Copy some values up into a new record of a parent table and put this one under it (`ExtractParentDialog`). */
|
|
6577
|
+
extractParent?: RecordHandler;
|
|
6574
6578
|
/** Open the host's one record picker pointed at this record (`RecordsUiHost.linkRecord`). */
|
|
6575
6579
|
link?: RecordHandler;
|
|
6576
6580
|
history?: RecordHandler;
|
|
@@ -6602,9 +6606,13 @@ interface RecordActionHostArgs {
|
|
|
6602
6606
|
onChanged?: (() => void) | undefined;
|
|
6603
6607
|
/** Open the merge dialog for this record (`MergeRecordDialog`). Absent: Merge says why. */
|
|
6604
6608
|
onMerge?: ((record: RecordActionSubject) => void) | undefined;
|
|
6609
|
+
/** Open the split dialog for this record (`SplitRecordDialog`). Absent: Split says why. */
|
|
6610
|
+
onSplit?: ((record: RecordActionSubject) => void) | undefined;
|
|
6611
|
+
/** Open the extract-parent dialog for this record (`ExtractParentDialog`). Absent: it says why. */
|
|
6612
|
+
onExtractParent?: ((record: RecordActionSubject) => void) | undefined;
|
|
6605
6613
|
}
|
|
6606
6614
|
/** The handlers a record card's menu runs, bound to this package's client and the host's ports. */
|
|
6607
|
-
declare function useRecordActionHost({ tableId, row, onOpenRecord, onChanged, onMerge }: RecordActionHostArgs): RecordActionHost;
|
|
6615
|
+
declare function useRecordActionHost({ tableId, row, onOpenRecord, onChanged, onMerge, onSplit, onExtractParent }: RecordActionHostArgs): RecordActionHost;
|
|
6608
6616
|
declare function ObjectActionContextMenuItems({ actions }: {
|
|
6609
6617
|
actions: readonly ObjectAction[];
|
|
6610
6618
|
}): react.JSX.Element;
|