@factorialco/f0-react 6.88.1 → 6.88.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/dist/{ChatDocxThumbnail-DzNPNFya.js → ChatDocxThumbnail-DhzoVI1K.js} +11 -8
- package/dist/{ChatPdfThumbnail-CU04qody.js → ChatPdfThumbnail-DdrOp7Rm.js} +1 -1
- package/dist/{ChatSheetThumbnail-CxGL5ukQ.js → ChatSheetThumbnail-D8aN1W_0.js} +3 -2
- package/dist/{ChatTextThumbnail-FVwMzn0I.js → ChatTextThumbnail-B53pSYUy.js} +2 -1
- package/dist/{CoachmarkProvider-Za9OFHyv.js → CoachmarkProvider-CoPINK6_.js} +10468 -10201
- package/dist/{DocumentToolbar-CjPXej-B.js → DocumentToolbar-p4qZSVUD.js} +2 -2
- package/dist/{DocxViewer-jBPMXxA5.js → DocxViewer-_Z59Wr2S.js} +11 -9
- package/dist/{F0AiProcessingOverlay-1Asmno_R.js → F0AiProcessingOverlay-CwJG6TgU.js} +492 -405
- package/dist/{F0CanvasPanel-B-mXfgsy.js → F0CanvasPanel-CpgOQnbI.js} +3716 -3608
- package/dist/F0CanvasPanel.css +1 -1
- package/dist/{F0VideoPlayer-tVJoBk75.js → F0VideoPlayer-CXAjfSnS.js} +447 -429
- package/dist/{LocationMap-C7xbKAtJ.js → LocationMap-Bp7gglCx.js} +5 -3
- package/dist/{SheetViewer-DqCzdCSC.js → SheetViewer-DSbC_CR2.js} +3 -3
- package/dist/{TextViewer-jnyFAnd_.js → TextViewer-BkgAiijZ.js} +4 -3
- package/dist/ai.d.ts +22 -22
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +17 -17
- package/dist/component-status.js +3 -2
- package/dist/{experimental-i99E8mRr.js → experimental-Crt7EEav.js} +3070 -2859
- package/dist/experimental.d.ts +85 -65
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +93 -82
- package/dist/f0.js +8070 -7967
- package/dist/i18n-provider-defaults.d.ts +13 -13
- package/dist/{index-X5f3wrms.js → index-BP9845Kl.js} +23 -13
- package/dist/index-uG8opRj1.js +4 -0
- package/dist/{pdfWorker-C0RfCQda.js → pdfWorker-wHv_aPH2.js} +2 -2
- package/dist/{sheetPreview-5qeAOp0W.js → sheetPreview-Djc-YyVs.js} +4 -2
- package/icons/app/CursorClick.d.ts.map +1 -1
- package/icons/app/FitView.d.ts.map +1 -1
- package/icons/modules/Benefits.d.ts.map +1 -1
- package/icons/modules/Calendar.d.ts.map +1 -1
- package/icons/modules/Cards.d.ts.map +1 -1
- package/icons/modules/ClockIn.d.ts.map +1 -1
- package/icons/modules/Communities.d.ts.map +1 -1
- package/icons/modules/Complaints.d.ts.map +1 -1
- package/icons/modules/Discover.d.ts.map +1 -1
- package/icons/modules/Documents.d.ts.map +1 -1
- package/icons/modules/Engagement.d.ts.map +1 -1
- package/icons/modules/Finance.d.ts.map +1 -1
- package/icons/modules/Goals.d.ts.map +1 -1
- package/icons/modules/Home.d.ts.map +1 -1
- package/icons/modules/Hub.d.ts.map +1 -1
- package/icons/modules/Inbox.d.ts.map +1 -1
- package/icons/modules/ItManagement.d.ts.map +1 -1
- package/icons/modules/Kudos.d.ts.map +1 -1
- package/icons/modules/LMS.d.ts.map +1 -1
- package/icons/modules/Marketplace.d.ts.map +1 -1
- package/icons/modules/Meetings.d.ts.map +1 -1
- package/icons/modules/MyDocuments.d.ts.map +1 -1
- package/icons/modules/Organization.d.ts.map +1 -1
- package/icons/modules/Overviews.d.ts.map +1 -1
- package/icons/modules/Pages.d.ts.map +1 -1
- package/icons/modules/Payroll.d.ts.map +1 -1
- package/icons/modules/Performance.d.ts.map +1 -1
- package/icons/modules/Profile.d.ts.map +1 -1
- package/icons/modules/Projects.d.ts.map +1 -1
- package/icons/modules/Recruitment.d.ts.map +1 -1
- package/icons/modules/Reports.d.ts.map +1 -1
- package/icons/modules/Rocket.d.ts.map +1 -1
- package/icons/modules/SalaryAdvance.d.ts.map +1 -1
- package/icons/modules/Sales.d.ts.map +1 -1
- package/icons/modules/Settings.d.ts.map +1 -1
- package/icons/modules/Shifts.d.ts.map +1 -1
- package/icons/modules/Social.d.ts.map +1 -1
- package/icons/modules/Software.d.ts.map +1 -1
- package/icons/modules/Spaces.d.ts.map +1 -1
- package/icons/modules/Spending.d.ts.map +1 -1
- package/icons/modules/Tasks.d.ts.map +1 -1
- package/icons/modules/TimeOff.d.ts.map +1 -1
- package/icons/modules/TimeTracking.d.ts.map +1 -1
- package/icons/modules/Trainings.d.ts.map +1 -1
- package/icons/modules/Treasury.d.ts.map +1 -1
- package/icons/modules/Workflows.d.ts.map +1 -1
- package/icons/special/One.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-onBO9HKr.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -1099,7 +1099,7 @@ export declare const BaseCommunityPost: ({ id, author, group, createdAt, title,
|
|
|
1099
1099
|
*/
|
|
1100
1100
|
export declare type BaseDataAdapter<R extends RecordType, Filters extends FiltersDefinition, Options extends BaseFetchOptions<Filters>, FetchReturn = BaseResponse<R>> = {
|
|
1101
1101
|
/** Indicates this adapter doesn't use pagination */
|
|
1102
|
-
paginationType?:
|
|
1102
|
+
paginationType?: undefined;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Function to fetch data based on filter options
|
|
1105
1105
|
* @param options - The filter options to apply when fetching data
|
|
@@ -1465,7 +1465,7 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
|
|
|
1465
1465
|
/**
|
|
1466
1466
|
* Callback fired when the button is clicked. Supports async functions for loading state.
|
|
1467
1467
|
*/
|
|
1468
|
-
onClick?: (event: React.MouseEvent<HTMLElement
|
|
1468
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void | Promise<unknown>;
|
|
1469
1469
|
/**
|
|
1470
1470
|
* The title of the button.
|
|
1471
1471
|
*/
|
|
@@ -2174,7 +2174,7 @@ export declare interface CardSelectableSingleProps<T extends CardSelectableValue
|
|
|
2174
2174
|
export declare type CardSelectableValue = string | number;
|
|
2175
2175
|
|
|
2176
2176
|
declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
|
|
2177
|
-
cardProperties:
|
|
2177
|
+
cardProperties: readonly CardPropertyDefinition<T>[];
|
|
2178
2178
|
title: (record: T) => string;
|
|
2179
2179
|
description?: (record: T) => string;
|
|
2180
2180
|
avatar?: (record: T) => CardAvatarVariant;
|
|
@@ -3564,10 +3564,10 @@ declare type DashboardCanvasActions = {
|
|
|
3564
3564
|
};
|
|
3565
3565
|
|
|
3566
3566
|
declare interface DashboardFetchSpec {
|
|
3567
|
-
fetch:
|
|
3567
|
+
fetch: {
|
|
3568
3568
|
toolId: string;
|
|
3569
3569
|
args: Record<string, unknown>;
|
|
3570
|
-
}
|
|
3570
|
+
}[];
|
|
3571
3571
|
query: string | null;
|
|
3572
3572
|
columnLabels?: Record<string, string>;
|
|
3573
3573
|
}
|
|
@@ -3668,6 +3668,11 @@ declare interface DataCollectionSettingsContextType {
|
|
|
3668
3668
|
* Extends the base data source with data collection specific elements / features
|
|
3669
3669
|
*/
|
|
3670
3670
|
export declare type DataCollectionSource<R extends RecordType = RecordType, Filters extends FiltersDefinition = FiltersDefinition, Sortings extends SortingsDefinition = SortingsDefinition, Summaries extends SummariesDefinition = SummariesDefinition, ItemActions extends ItemActionsDefinition<R> = ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition = NavigationFiltersDefinition, Grouping extends GroupingDefinition<R> = GroupingDefinition<R>> = DataSource<R, Filters, Sortings, Grouping> & DataCollectionSourceDefinition<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping> & {
|
|
3671
|
+
/**
|
|
3672
|
+
* The definition, pinned to `deps`, for what is rendered per record — the
|
|
3673
|
+
* source itself changes identity every render. Set by `memoizeDefinition`.
|
|
3674
|
+
*/
|
|
3675
|
+
definition?: DataCollectionSourceDefinition<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>;
|
|
3671
3676
|
currentNavigationFilters: NavigationFiltersState<NavigationFilters>;
|
|
3672
3677
|
setCurrentNavigationFilters: React.Dispatch<React.SetStateAction<NavigationFiltersState<NavigationFilters>>>;
|
|
3673
3678
|
/** Current summaries data */
|
|
@@ -3684,6 +3689,12 @@ export declare type DataCollectionSourceDefinition<R extends RecordType = Record
|
|
|
3684
3689
|
/**
|
|
3685
3690
|
* Data Collection specific datasource elements / features
|
|
3686
3691
|
*/
|
|
3692
|
+
/**
|
|
3693
|
+
* Pin this definition to `deps` so rows can skip a render. Only safe if `deps`
|
|
3694
|
+
* lists everything the callbacks below close over: miss one and a row keeps
|
|
3695
|
+
* calling the closure it mounted with.
|
|
3696
|
+
*/
|
|
3697
|
+
memoizeDefinition?: boolean;
|
|
3687
3698
|
/** Navigation filters */
|
|
3688
3699
|
navigationFilters?: NavigationFilters;
|
|
3689
3700
|
currentNavigationFilters?: NavigationFiltersState<NavigationFilters>;
|
|
@@ -3717,7 +3728,7 @@ export declare type DataCollectionSourceDefinition<R extends RecordType = Record
|
|
|
3717
3728
|
/** Item filter that can be used to filter the items before they are displayed */
|
|
3718
3729
|
itemPreFilter?: (item: R) => boolean;
|
|
3719
3730
|
/** Lanes configuration */
|
|
3720
|
-
lanes?:
|
|
3731
|
+
lanes?: readonly Lane<Filters>[];
|
|
3721
3732
|
/** Rich search preview shown in the shared header search (all visualizations). */
|
|
3722
3733
|
searchPreview?: SearchPreview<R>;
|
|
3723
3734
|
};
|
|
@@ -3754,7 +3765,7 @@ declare type DataCollectionStorageFeature = (typeof dataCollectionStorageFeature
|
|
|
3754
3765
|
*/
|
|
3755
3766
|
declare const dataCollectionStorageFeatures: readonly ["filters", "navigationFilters", "sortings", "grouping", "visualization", "search", "visualizationFilters"];
|
|
3756
3767
|
|
|
3757
|
-
declare type DataCollectionStorageFeaturesDefinition = ("*" | `all` | `!${DataCollectionStorageFeature}` |
|
|
3768
|
+
declare type DataCollectionStorageFeaturesDefinition = ("*" | `all` | `!${DataCollectionStorageFeature}` | DataCollectionStorageFeature)[];
|
|
3758
3769
|
|
|
3759
3770
|
/**
|
|
3760
3771
|
* Represents an error that occurred during data fetching
|
|
@@ -5610,7 +5621,7 @@ declare type DialogControls = {
|
|
|
5610
5621
|
} | {
|
|
5611
5622
|
kind: "back";
|
|
5612
5623
|
label: string;
|
|
5613
|
-
onClick: () => void
|
|
5624
|
+
onClick: () => void | Promise<void>;
|
|
5614
5625
|
};
|
|
5615
5626
|
|
|
5616
5627
|
declare type DialogPosition = (typeof dialogPositions)[number];
|
|
@@ -5862,7 +5873,7 @@ declare type EditableTableOnCellChangeParams<R extends RecordType> = {
|
|
|
5862
5873
|
};
|
|
5863
5874
|
|
|
5864
5875
|
declare type EditableTableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = Omit<TableVisualizationOptions<R, _Filters, Sortings, Summaries>, "columns"> & {
|
|
5865
|
-
columns:
|
|
5876
|
+
columns: readonly EditableTableColumnDefinition<R, Sortings, Summaries>[];
|
|
5866
5877
|
/**
|
|
5867
5878
|
* Called when a cell value changes. Receives an object with the full updated
|
|
5868
5879
|
* row (`updatedItem`) and a `changes` map of the modified attributes, keyed by
|
|
@@ -7693,7 +7704,7 @@ declare type F0DialogPrimaryAction = {
|
|
|
7693
7704
|
label: string;
|
|
7694
7705
|
icon?: IconType;
|
|
7695
7706
|
iconPosition?: "left" | "right";
|
|
7696
|
-
onClick: () => void
|
|
7707
|
+
onClick: () => void | Promise<void>;
|
|
7697
7708
|
disabled?: boolean;
|
|
7698
7709
|
loading?: boolean;
|
|
7699
7710
|
};
|
|
@@ -7704,7 +7715,7 @@ declare type F0DialogSecondaryAction = {
|
|
|
7704
7715
|
label: string;
|
|
7705
7716
|
icon?: IconType;
|
|
7706
7717
|
iconPosition?: "left" | "right";
|
|
7707
|
-
onClick: () => void
|
|
7718
|
+
onClick: () => void | Promise<void>;
|
|
7708
7719
|
disabled?: boolean;
|
|
7709
7720
|
loading?: boolean;
|
|
7710
7721
|
};
|
|
@@ -7911,7 +7922,7 @@ export declare type F0FormEditableTableColumn<R extends RecordType> = Omit<Edita
|
|
|
7911
7922
|
*/
|
|
7912
7923
|
export declare type F0FormEditableTableProps<R extends RecordType> = {
|
|
7913
7924
|
/** Column definitions (see {@link F0FormEditableTableColumn}). */
|
|
7914
|
-
columns:
|
|
7925
|
+
columns: readonly F0FormEditableTableColumn<R>[];
|
|
7915
7926
|
/**
|
|
7916
7927
|
* Rows in display order. The table is controlled: edits, reorders and
|
|
7917
7928
|
* removals are reported via callbacks and the parent updates `items`.
|
|
@@ -8846,8 +8857,8 @@ declare type F0SelectDataProps<T extends string, R = unknown> = {
|
|
|
8846
8857
|
} | {
|
|
8847
8858
|
source?: never;
|
|
8848
8859
|
mapOptions?: never;
|
|
8849
|
-
searchFn?: (option: F0SelectItemProps<T
|
|
8850
|
-
options: F0SelectItemProps<T
|
|
8860
|
+
searchFn?: (option: F0SelectItemProps<T>, search?: string) => boolean | undefined;
|
|
8861
|
+
options: F0SelectItemProps<T>[];
|
|
8851
8862
|
};
|
|
8852
8863
|
|
|
8853
8864
|
declare type F0SelectFieldProps<T extends string, R = unknown> = F0SelectPopupProps<T, R> & F0SelectSelectionProps<T, R> & {
|
|
@@ -8995,7 +9006,7 @@ declare type F0SelectSelectionProps<T extends string, R = unknown> = F0SelectSin
|
|
|
8995
9006
|
multiple?: false;
|
|
8996
9007
|
value?: T;
|
|
8997
9008
|
defaultItem?: F0SelectItemObject<T, ResolvedRecordType<R>>;
|
|
8998
|
-
onChange?: (value: T, originalItem?: ResolvedRecordType<R
|
|
9009
|
+
onChange?: (value: T, originalItem?: ResolvedRecordType<R>, option?: F0SelectItemObject<T, ResolvedRecordType<R>>) => void;
|
|
8999
9010
|
onSelectItems?: never;
|
|
9000
9011
|
} | {
|
|
9001
9012
|
multiple: true;
|
|
@@ -9027,7 +9038,7 @@ declare type F0SelectSingleSelectionProps<T extends string, R = unknown> = {
|
|
|
9027
9038
|
multiple?: false;
|
|
9028
9039
|
value?: T;
|
|
9029
9040
|
defaultItem?: F0SelectItemObject<T, ResolvedRecordType<R>>;
|
|
9030
|
-
onChange?: (value: T, originalItem?: ResolvedRecordType<R
|
|
9041
|
+
onChange?: (value: T, originalItem?: ResolvedRecordType<R>, option?: F0SelectItemObject<T, ResolvedRecordType<R>>) => void;
|
|
9031
9042
|
/** Callback for selection changes - provides full selection state for advanced use cases (e.g., "Select All" with exclusions) */
|
|
9032
9043
|
onSelectItems?: never;
|
|
9033
9044
|
};
|
|
@@ -9103,7 +9114,7 @@ declare type F0TagListProps<T extends TagType_2> = {
|
|
|
9103
9114
|
/**
|
|
9104
9115
|
* Array of tag data corresponding to the specified type.
|
|
9105
9116
|
*/
|
|
9106
|
-
tags:
|
|
9117
|
+
tags: TagTypeMapping[T][];
|
|
9107
9118
|
/**
|
|
9108
9119
|
* The maximum number of tags to display.
|
|
9109
9120
|
* @default 4
|
|
@@ -9207,7 +9218,7 @@ export declare interface F0VersionHistoryProps {
|
|
|
9207
9218
|
title: string;
|
|
9208
9219
|
versions: Version[];
|
|
9209
9220
|
currentVersion?: CurrentVersion;
|
|
9210
|
-
activeVersionId?:
|
|
9221
|
+
activeVersionId?: "current" | (string & {});
|
|
9211
9222
|
}
|
|
9212
9223
|
|
|
9213
9224
|
/**
|
|
@@ -9641,13 +9652,13 @@ export declare type GraphVisualizationOptions<R extends RecordType, Filters exte
|
|
|
9641
9652
|
* toggle to show/hide each metadata column (like configuring table columns).
|
|
9642
9653
|
* Values are tag `column` keys (or `type` when a tag has no `column`).
|
|
9643
9654
|
*/
|
|
9644
|
-
nodeTagTypes?:
|
|
9655
|
+
nodeTagTypes?: readonly F0GraphNodeTagColumn[];
|
|
9645
9656
|
/** Friendly labels per tag column, shown in the metadata visibility toggle. */
|
|
9646
9657
|
nodeTagTypeLabels?: Partial<Record<F0GraphNodeTagColumn, string>>;
|
|
9647
9658
|
/** Tag columns visible by default. Defaults to all of `nodeTagTypes`. */
|
|
9648
|
-
defaultVisibleTagTypes?:
|
|
9659
|
+
defaultVisibleTagTypes?: readonly F0GraphNodeTagColumn[];
|
|
9649
9660
|
/** Tag columns that are always visible and cannot be hidden in the settings. */
|
|
9650
|
-
pinnedTagTypes?:
|
|
9661
|
+
pinnedTagTypes?: readonly F0GraphNodeTagColumn[];
|
|
9651
9662
|
/**
|
|
9652
9663
|
* Tag columns the actor is not allowed to see, mapped to the reason. Each is
|
|
9653
9664
|
* still listed in the settings but with its toggle forced OFF and disabled,
|
|
@@ -10438,7 +10449,7 @@ declare type InFilterOptionItem<T = unknown> = {
|
|
|
10438
10449
|
/** The filter key where child selections are stored in FiltersState */
|
|
10439
10450
|
filterKey: string;
|
|
10440
10451
|
/** Child options, which can themselves have children for infinite nesting */
|
|
10441
|
-
options:
|
|
10452
|
+
options: InFilterOptionItem<T>[];
|
|
10442
10453
|
};
|
|
10443
10454
|
};
|
|
10444
10455
|
|
|
@@ -10458,7 +10469,7 @@ declare type InFilterOptions_2<T, _R extends RecordType = RecordType> = {
|
|
|
10458
10469
|
*/
|
|
10459
10470
|
getLabel?: (value: unknown) => string | Promise<string>;
|
|
10460
10471
|
} & ({
|
|
10461
|
-
options: Array<InFilterOptionItem<T>> | (() => Array<InFilterOptionItem<T>> | Promise<
|
|
10472
|
+
options: Array<InFilterOptionItem<T>> | (() => Array<InFilterOptionItem<T>> | Promise<InFilterOptionItem<T>[]>);
|
|
10462
10473
|
} | {
|
|
10463
10474
|
source: DataSourceDefinition<any, FiltersDefinition, SortingsDefinition, GroupingDefinition<any>>;
|
|
10464
10475
|
mapOptions: (item: any) => InFilterOptionItem<T>;
|
|
@@ -10769,12 +10780,12 @@ declare type KanbanOnMove<TRecord extends RecordType> = (fromLaneId: string, toL
|
|
|
10769
10780
|
} | null) => Promise<TRecord>;
|
|
10770
10781
|
|
|
10771
10782
|
declare type KanbanVisualizationOptions<Record extends RecordType, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
|
|
10772
|
-
lanes:
|
|
10783
|
+
lanes: readonly KanbanLaneDefinition[];
|
|
10773
10784
|
/** Per-group columns: when grouping is active, each group's board renders the
|
|
10774
10785
|
* lanes this returns instead of the global `lanes` (lane ids must exist in
|
|
10775
10786
|
* `source.lanes`). Enables the onboarding case where each policy version has
|
|
10776
10787
|
* its own phases. NOTE: API shape pending Foundations review. */
|
|
10777
|
-
getLanesForGroup?: (groupKey: string) =>
|
|
10788
|
+
getLanesForGroup?: (groupKey: string) => readonly KanbanLaneDefinition[];
|
|
10778
10789
|
/** Whether each group header shows a selection checkbox when the collection is
|
|
10779
10790
|
* selectable. Defaults to `true` (parity with Card/List). Set to `false` to
|
|
10780
10791
|
* keep per-card selection while hiding the group-level checkbox — e.g. when
|
|
@@ -10785,7 +10796,7 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
|
|
|
10785
10796
|
title?: (record: Record) => string;
|
|
10786
10797
|
description?: (record: Record) => string;
|
|
10787
10798
|
avatar?: (record: Record) => CardAvatarVariant;
|
|
10788
|
-
metadata?: (record: Record) =>
|
|
10799
|
+
metadata?: (record: Record) => readonly CardMetadata[];
|
|
10789
10800
|
onMove?: KanbanOnMove<Record>;
|
|
10790
10801
|
onCreate?: KanbanOnCreate;
|
|
10791
10802
|
};
|
|
@@ -10926,7 +10937,7 @@ export declare const listMoreButtonClass: (ctx: HomeRenderCtx) => string;
|
|
|
10926
10937
|
/** `list` params: the schema, then items shaped by it. Build with {@link listSlot}. */
|
|
10927
10938
|
export declare interface ListParams<S extends ListSchema = ListSchema> {
|
|
10928
10939
|
schema: S;
|
|
10929
|
-
items:
|
|
10940
|
+
items: ListItem<S>[];
|
|
10930
10941
|
}
|
|
10931
10942
|
|
|
10932
10943
|
declare type ListPropertyDefinition<R, Sortings extends SortingsDefinition> = WithOptionalSorting_2<R, Sortings> & PropertyDefinition_2<R>;
|
|
@@ -10934,7 +10945,7 @@ declare type ListPropertyDefinition<R, Sortings extends SortingsDefinition> = Wi
|
|
|
10934
10945
|
declare type ListRightData<R, Optional> = R extends "counter" ? Demanded<{
|
|
10935
10946
|
count: number;
|
|
10936
10947
|
}, Optional> : R extends `${infer T extends F0AvatarListProps["type"]}-list` ? Demanded<{
|
|
10937
|
-
avatars:
|
|
10948
|
+
avatars: AvatarData<T>[];
|
|
10938
10949
|
}, Optional> & {
|
|
10939
10950
|
remainingCount?: number;
|
|
10940
10951
|
} : R extends AvatarVariant["type"] ? Demanded<{
|
|
@@ -11026,7 +11037,7 @@ export declare interface ListSchema {
|
|
|
11026
11037
|
* CHECKED against it — a `left: "person"` slot only takes person data, a
|
|
11027
11038
|
* `clickBehavior: "link"` slot demands an `href` on every row.
|
|
11028
11039
|
*/
|
|
11029
|
-
export declare const listSlot: <const S extends ListSchema>(schema: S, items:
|
|
11040
|
+
export declare const listSlot: <const S extends ListSchema>(schema: S, items: ListItem<S>[], options?: SlotOptions) => HomeWidgetSlot;
|
|
11030
11041
|
|
|
11031
11042
|
declare type ListTextData<S extends ListSchema> = {
|
|
11032
11043
|
title: string;
|
|
@@ -11047,7 +11058,7 @@ declare type ListTextData<S extends ListSchema> = {
|
|
|
11047
11058
|
|
|
11048
11059
|
declare type ListVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition> = {
|
|
11049
11060
|
itemDefinition: (record: R) => ItemDefinition;
|
|
11050
|
-
fields:
|
|
11061
|
+
fields: readonly ListPropertyDefinition<R, Sortings>[];
|
|
11051
11062
|
};
|
|
11052
11063
|
|
|
11053
11064
|
declare interface LoadingStateProps {
|
|
@@ -11988,7 +11999,7 @@ declare type OneDataCollectionGeneric = <R extends RecordType, Filters extends F
|
|
|
11988
11999
|
*/
|
|
11989
12000
|
declare type OneDataCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = {
|
|
11990
12001
|
source: DataCollectionSource<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>;
|
|
11991
|
-
visualizations:
|
|
12002
|
+
visualizations: readonly Visualization<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>[];
|
|
11992
12003
|
onSelectItems?: OnSelectItemsCallback<R, Filters>;
|
|
11993
12004
|
onBulkAction?: OnBulkActionCallback<R, Filters>;
|
|
11994
12005
|
/**
|
|
@@ -12336,10 +12347,10 @@ export declare type PageAction = {
|
|
|
12336
12347
|
} | {
|
|
12337
12348
|
onClick: () => void;
|
|
12338
12349
|
} | {
|
|
12339
|
-
actions:
|
|
12350
|
+
actions: {
|
|
12340
12351
|
label: string;
|
|
12341
12352
|
href: string;
|
|
12342
|
-
}
|
|
12353
|
+
}[];
|
|
12343
12354
|
});
|
|
12344
12355
|
|
|
12345
12356
|
/**
|
|
@@ -12671,7 +12682,7 @@ declare type ProductUpdate = {
|
|
|
12671
12682
|
declare type ProductUpdatesProp = {
|
|
12672
12683
|
label: string;
|
|
12673
12684
|
updatesPageUrl: string;
|
|
12674
|
-
getUpdates: () => Promise<
|
|
12685
|
+
getUpdates: () => Promise<ProductUpdate[]>;
|
|
12675
12686
|
hasUnread?: boolean;
|
|
12676
12687
|
currentModule: string;
|
|
12677
12688
|
onOpenChange?: ComponentProps<typeof DropdownMenu>["onOpenChange"];
|
|
@@ -12691,7 +12702,7 @@ declare type ProductUpdatesProp = {
|
|
|
12691
12702
|
isVisible: boolean;
|
|
12692
12703
|
sectionTitle: string;
|
|
12693
12704
|
onClose?: () => void;
|
|
12694
|
-
products:
|
|
12705
|
+
products: ({
|
|
12695
12706
|
title: string;
|
|
12696
12707
|
description: string;
|
|
12697
12708
|
onClick: () => void;
|
|
@@ -12704,7 +12715,7 @@ declare type ProductUpdatesProp = {
|
|
|
12704
12715
|
} | {
|
|
12705
12716
|
module: ModuleId;
|
|
12706
12717
|
type?: never;
|
|
12707
|
-
})
|
|
12718
|
+
}))[];
|
|
12708
12719
|
};
|
|
12709
12720
|
};
|
|
12710
12721
|
|
|
@@ -12852,11 +12863,11 @@ dataTestId?: string;
|
|
|
12852
12863
|
declare interface RadarComputation {
|
|
12853
12864
|
datasetId: string;
|
|
12854
12865
|
seriesColumn: string;
|
|
12855
|
-
indicators:
|
|
12866
|
+
indicators: {
|
|
12856
12867
|
column: string;
|
|
12857
12868
|
label: string;
|
|
12858
12869
|
max?: number;
|
|
12859
|
-
}
|
|
12870
|
+
}[];
|
|
12860
12871
|
limit?: number;
|
|
12861
12872
|
sortBy?: string;
|
|
12862
12873
|
sortOrder?: "asc" | "desc";
|
|
@@ -13218,17 +13229,17 @@ declare type SelectCellConfig<R extends RecordType> = {
|
|
|
13218
13229
|
* Represents a collection of selected items.
|
|
13219
13230
|
* @template T - The type of items in the collection
|
|
13220
13231
|
*/
|
|
13221
|
-
export declare type SelectedItems<T> =
|
|
13232
|
+
export declare type SelectedItems<T> = readonly T[];
|
|
13222
13233
|
|
|
13223
13234
|
export declare type SelectedItemsDetailedStatus<R extends RecordType, Filters extends FiltersDefinition> = {
|
|
13224
13235
|
allSelected: boolean | "indeterminate";
|
|
13225
13236
|
/** Status of items that have been loaded. Items not yet loaded won't appear here. */
|
|
13226
|
-
itemsStatus:
|
|
13237
|
+
itemsStatus: readonly {
|
|
13227
13238
|
item: R;
|
|
13228
13239
|
checked: boolean;
|
|
13229
|
-
}
|
|
13240
|
+
}[];
|
|
13230
13241
|
/** All selected item IDs, including those not yet loaded */
|
|
13231
|
-
selectedIds:
|
|
13242
|
+
selectedIds: readonly SelectionId[];
|
|
13232
13243
|
groupsStatus: Record<string, boolean>;
|
|
13233
13244
|
filters: FiltersState<Filters>;
|
|
13234
13245
|
selectedCount: number;
|
|
@@ -14176,7 +14187,7 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
|
|
|
14176
14187
|
/**
|
|
14177
14188
|
* The columns to display
|
|
14178
14189
|
*/
|
|
14179
|
-
columns:
|
|
14190
|
+
columns: readonly TableColumnDefinition<R, Sortings, Summaries>[];
|
|
14180
14191
|
/**
|
|
14181
14192
|
* Placeholder to display in summary-row cells when no summary value is
|
|
14182
14193
|
* rendered. This also applies to columns without a `summary` definition.
|
|
@@ -14804,7 +14815,7 @@ export declare interface UseDataCollectionItemNavigationProps<R extends RecordTy
|
|
|
14804
14815
|
* Forwarded to `useDataCollectionSource` for `dataAdapter` memoization,
|
|
14805
14816
|
* same convention as `useDataCollectionSource(source, deps)`.
|
|
14806
14817
|
*/
|
|
14807
|
-
deps?:
|
|
14818
|
+
deps?: readonly unknown[];
|
|
14808
14819
|
}
|
|
14809
14820
|
|
|
14810
14821
|
export declare interface UseDataCollectionItemNavigationReturn<R extends RecordType = RecordType, Filters extends FiltersDefinition = FiltersDefinition, Sortings extends SortingsDefinition = SortingsDefinition, Summaries extends SummariesDefinition = SummariesDefinition, ItemActions extends ItemActionsDefinition<R> = ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition = NavigationFiltersDefinition, Grouping extends GroupingDefinition<R> = GroupingDefinition<R>> extends UseDataSourceItemNavigationReturn<R> {
|
|
@@ -14830,7 +14841,7 @@ export declare interface UseDataCollectionItemNavigationReturn<R extends RecordT
|
|
|
14830
14841
|
isLoading: boolean;
|
|
14831
14842
|
}
|
|
14832
14843
|
|
|
14833
|
-
export declare const useDataCollectionSource: <R extends RecordType = RecordType, FiltersSchema extends FiltersDefinition = FiltersDefinition, Sortings extends SortingsDefinition = SortingsDefinition, Summaries extends SummariesDefinition = SummariesDefinition, ItemActions extends ItemActionsDefinition<R> = ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition = NavigationFiltersDefinition, Grouping extends GroupingDefinition<R> = GroupingDefinition<R>>(source: DataCollectionSourceDefinition<R, FiltersSchema, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>, deps?:
|
|
14844
|
+
export declare const useDataCollectionSource: <R extends RecordType = RecordType, FiltersSchema extends FiltersDefinition = FiltersDefinition, Sortings extends SortingsDefinition = SortingsDefinition, Summaries extends SummariesDefinition = SummariesDefinition, ItemActions extends ItemActionsDefinition<R> = ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition = NavigationFiltersDefinition, Grouping extends GroupingDefinition<R> = GroupingDefinition<R>>(source: DataCollectionSourceDefinition<R, FiltersSchema, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>, deps?: readonly unknown[]) => DataCollectionSource<R, FiltersSchema, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>;
|
|
14834
14845
|
|
|
14835
14846
|
/**
|
|
14836
14847
|
* Hook options for useData
|
|
@@ -15569,11 +15580,11 @@ export declare type WidgetEmptyStateProps = {
|
|
|
15569
15580
|
*/
|
|
15570
15581
|
export declare interface WidgetHeaderSelect {
|
|
15571
15582
|
/** What the reader can switch between. The first one is the default. */
|
|
15572
|
-
options:
|
|
15583
|
+
options: {
|
|
15573
15584
|
value: string;
|
|
15574
15585
|
label: string;
|
|
15575
15586
|
icon?: IconType;
|
|
15576
|
-
}
|
|
15587
|
+
}[];
|
|
15577
15588
|
/** Which one the card starts on. Defaults to the first option. */
|
|
15578
15589
|
value?: string;
|
|
15579
15590
|
/** The trigger names the selection, so this is what says what KIND it is. */
|
|
@@ -15659,8 +15670,17 @@ export declare interface WidgetProps {
|
|
|
15659
15670
|
};
|
|
15660
15671
|
count?: number;
|
|
15661
15672
|
};
|
|
15662
|
-
/**
|
|
15663
|
-
|
|
15673
|
+
/**
|
|
15674
|
+
* The card's footer button — its call to action. `neutral`/`sm` by default,
|
|
15675
|
+
* `outline`/`md` once the card is wide.
|
|
15676
|
+
*
|
|
15677
|
+
* AN ARRAY draws TWO, side by side, for a card that carries both its own call
|
|
15678
|
+
* to action and the way out of it ("Sign now", "Go to Documents"). A pair is
|
|
15679
|
+
* drawn `outline` at every width: two buttons in a footer are a set of equals,
|
|
15680
|
+
* and filling one of them nominates it as the card's answer. Two is the
|
|
15681
|
+
* ceiling — a third belongs in `actions`, the overflow menu.
|
|
15682
|
+
*/
|
|
15683
|
+
action?: F0ButtonProps | F0ButtonProps[];
|
|
15664
15684
|
/**
|
|
15665
15685
|
* Extra classes for the FOOTER row that `action` draws in. For content that
|
|
15666
15686
|
* BLEEDS past the card's content box and wants the footer brought onto its
|
|
@@ -15669,12 +15689,12 @@ export declare interface WidgetProps {
|
|
|
15669
15689
|
* takes no className of its own, so this is the seam for it.
|
|
15670
15690
|
*/
|
|
15671
15691
|
footerClassName?: string;
|
|
15672
|
-
summaries?:
|
|
15692
|
+
summaries?: {
|
|
15673
15693
|
label: string;
|
|
15674
15694
|
value: string | number;
|
|
15675
15695
|
prefixUnit?: string;
|
|
15676
15696
|
postfixUnit?: string;
|
|
15677
|
-
}
|
|
15697
|
+
}[];
|
|
15678
15698
|
alert?: string;
|
|
15679
15699
|
status?: {
|
|
15680
15700
|
text: string;
|
|
@@ -15847,7 +15867,7 @@ declare type WithDataTestIdProps = {
|
|
|
15847
15867
|
};
|
|
15848
15868
|
|
|
15849
15869
|
declare type WithGroupId<RecordType> = RecordType & {
|
|
15850
|
-
[GROUP_ID_SYMBOL]: unknown
|
|
15870
|
+
[GROUP_ID_SYMBOL]: unknown;
|
|
15851
15871
|
};
|
|
15852
15872
|
|
|
15853
15873
|
declare type WithOptionalSorting<R extends RecordType, Sortings extends SortingsDefinition> = Omit<PropertyDefinition_2<R>, "hide"> & {
|
|
@@ -15924,17 +15944,17 @@ declare namespace _Page {
|
|
|
15924
15944
|
declare module "gridstack" {
|
|
15925
15945
|
interface GridStackWidget {
|
|
15926
15946
|
id?: string;
|
|
15927
|
-
allowedSizes?:
|
|
15947
|
+
allowedSizes?: {
|
|
15928
15948
|
w: number;
|
|
15929
15949
|
h: number;
|
|
15930
|
-
}
|
|
15950
|
+
}[];
|
|
15931
15951
|
meta?: Record<string, unknown>;
|
|
15932
15952
|
}
|
|
15933
15953
|
interface GridStackNode {
|
|
15934
|
-
allowedSizes?:
|
|
15954
|
+
allowedSizes?: {
|
|
15935
15955
|
w: number;
|
|
15936
15956
|
h: number;
|
|
15937
|
-
}
|
|
15957
|
+
}[];
|
|
15938
15958
|
}
|
|
15939
15959
|
}
|
|
15940
15960
|
|
|
@@ -15968,9 +15988,10 @@ declare module "@tiptap/core" {
|
|
|
15968
15988
|
|
|
15969
15989
|
declare module "@tiptap/core" {
|
|
15970
15990
|
interface Commands<ReturnType> {
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
|
|
15991
|
+
indent: {
|
|
15992
|
+
setIndent: (level: number) => ReturnType;
|
|
15993
|
+
unsetIndent: () => ReturnType;
|
|
15994
|
+
outdent: () => ReturnType;
|
|
15974
15995
|
};
|
|
15975
15996
|
}
|
|
15976
15997
|
}
|
|
@@ -15978,10 +15999,8 @@ declare module "@tiptap/core" {
|
|
|
15978
15999
|
|
|
15979
16000
|
declare module "@tiptap/core" {
|
|
15980
16001
|
interface Commands<ReturnType> {
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
unsetIndent: () => ReturnType;
|
|
15984
|
-
outdent: () => ReturnType;
|
|
16002
|
+
moodTracker: {
|
|
16003
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
15985
16004
|
};
|
|
15986
16005
|
}
|
|
15987
16006
|
}
|
|
@@ -15989,8 +16008,9 @@ declare module "@tiptap/core" {
|
|
|
15989
16008
|
|
|
15990
16009
|
declare module "@tiptap/core" {
|
|
15991
16010
|
interface Commands<ReturnType> {
|
|
15992
|
-
|
|
15993
|
-
|
|
16011
|
+
fontSize: {
|
|
16012
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
16013
|
+
unsetFontSize: () => ReturnType;
|
|
15994
16014
|
};
|
|
15995
16015
|
}
|
|
15996
16016
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { v as s, t, A as i, a as o, J as r, as as n, ar as l, at as d, B as S, w as C, y as g, L as m, az as u, aA as c, aJ as b, x as h, C as T, ay as P, aK as p, D as F, z as I, a3 as E, b4 as A, bb as B, K as L, b3 as y, E as D, b as W, i as k, ah as v, ai as _, G as O, ao as f, F as N, j as x, n as M, o as R, k as H, c as V, q as w, r as G, H as z, aN as U, aO as j, aC as q, an as K, aS as Q, b1 as X, au as Z, a6 as J, aM as Y, U as $, ac as aa, O as ea, bf as sa, V as ta, P as ia, M as oa, N as ra, av as na, R as la, a$ as da, b5 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ca, a0 as ba, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b9 as Ba, b8 as La, aq as ya, ap as Da, ax as Wa, aL as ka, aI as va, aw as _a, ab as Oa, aD as fa, ba as Na, bd as xa, aB as Ma, aG as Ra, aE as Ha, be as Va, aH as wa, aF as Ga, bc as za, d as Ua, af as ja, b7 as qa, b6 as Ka, ag as Qa, ak as Xa, f as Za, l as Ja, p as Ya, g as $a, h as ae, aV as ee, aT as se, al as te, am as ie, aR as oe, b2 as re, aU as ne, e as le, s as de, aZ as Se, aQ as Ce, aW as ge, ad as me, b0 as ue, u as ce, ae as be, aj as he, aP as Te, T as Pe, Q as pe, I as Fe, Y as Ie, X as Ee, a_ as Ae, aY as Be, aX as Le } from "./experimental-
|
|
2
|
-
import { dP as De, ep as We, eo as ke, eC as ve, dm as _e, em as Oe, ce as fe, c4 as Ne, cb as xe, eh as Me, bZ as Re, bZ as He, bS as Ve, ei as we, ch as Ge, e0 as ze, cj as Ue, eF as je, en as qe, ey as Ke, ez as Qe, d6 as Xe, eD as Ze, k as Je, dQ as Ye, cN as $e, el as as, er as es, eq as ss, T as ts, h as is, bT as os, eA as rs, eG as ns, eB as ls, eE as ds, ex as Ss, eu as Cs, ew as gs, es as ms, ej as us, ek as cs, ed as bs, ev as hs, et as Ts } from "./F0CanvasPanel-
|
|
3
|
-
import { ay as ps, az as Fs, a6 as Is, a7 as Es, a4 as As, ah as Bs, C as Ls, a8 as ys, aK as Ds, ad as Ws, aJ as ks, ag as vs, a5 as _s, aw as Os, aM as fs, aL as Ns, ao as xs, ai as Ms, ar as Rs, aP as Hs, a3 as Vs, at as ws, aq as Gs, al as zs, aR as Us, am as js, au as qs, av as Ks, a9 as Qs, aN as Xs, aO as Zs, an as Js, ax as Ys, aG as $s, O as at, aI as et, aa as st, aT as tt, ac as it, ae as ot, ar as rt, aQ as nt, as as lt, ap as dt, aS as St, ab as Ct, W as gt, af as mt, a2 as ut, a0 as ct, a1 as bt, aC as ht, aD as Tt, aA as Pt, aH as pt, ak as Ft, aj as It, aE as Et, m as At, aB as Bt, aF as Lt, z as yt } from "./CoachmarkProvider-
|
|
1
|
+
import { v as s, t, A as i, a as o, J as r, as as n, ar as l, at as d, B as S, w as C, y as g, L as m, az as u, aA as c, aJ as b, x as h, C as T, ay as P, aK as p, D as F, z as I, a3 as E, b4 as A, bb as B, K as L, b3 as y, E as D, b as W, i as k, ah as v, ai as _, G as O, ao as f, F as N, j as x, n as M, o as R, k as H, c as V, q as w, r as G, H as z, aN as U, aO as j, aC as q, an as K, aS as Q, b1 as X, au as Z, a6 as J, aM as Y, U as $, ac as aa, O as ea, bf as sa, V as ta, P as ia, M as oa, N as ra, av as na, R as la, a$ as da, b5 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ca, a0 as ba, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b9 as Ba, b8 as La, aq as ya, ap as Da, ax as Wa, aL as ka, aI as va, aw as _a, ab as Oa, aD as fa, ba as Na, bd as xa, aB as Ma, aG as Ra, aE as Ha, be as Va, aH as wa, aF as Ga, bc as za, d as Ua, af as ja, b7 as qa, b6 as Ka, ag as Qa, ak as Xa, f as Za, l as Ja, p as Ya, g as $a, h as ae, aV as ee, aT as se, al as te, am as ie, aR as oe, b2 as re, aU as ne, e as le, s as de, aZ as Se, aQ as Ce, aW as ge, ad as me, b0 as ue, u as ce, ae as be, aj as he, aP as Te, T as Pe, Q as pe, I as Fe, Y as Ie, X as Ee, a_ as Ae, aY as Be, aX as Le } from "./experimental-Crt7EEav.js";
|
|
2
|
+
import { dP as De, ep as We, eo as ke, eC as ve, dm as _e, em as Oe, ce as fe, c4 as Ne, cb as xe, eh as Me, bZ as Re, bZ as He, bS as Ve, ei as we, ch as Ge, e0 as ze, cj as Ue, eF as je, en as qe, ey as Ke, ez as Qe, d6 as Xe, eD as Ze, k as Je, dQ as Ye, cN as $e, el as as, er as es, eq as ss, T as ts, h as is, bT as os, eA as rs, eG as ns, eB as ls, eE as ds, ex as Ss, eu as Cs, ew as gs, es as ms, ej as us, ek as cs, ed as bs, ev as hs, et as Ts } from "./F0CanvasPanel-CpgOQnbI.js";
|
|
3
|
+
import { ay as ps, az as Fs, a6 as Is, a7 as Es, a4 as As, ah as Bs, C as Ls, a8 as ys, aK as Ds, ad as Ws, aJ as ks, ag as vs, a5 as _s, aw as Os, aM as fs, aL as Ns, ao as xs, ai as Ms, ar as Rs, aP as Hs, a3 as Vs, at as ws, aq as Gs, al as zs, aR as Us, am as js, au as qs, av as Ks, a9 as Qs, aN as Xs, aO as Zs, an as Js, ax as Ys, aG as $s, O as at, aI as et, aa as st, aT as tt, ac as it, ae as ot, ar as rt, aQ as nt, as as lt, ap as dt, aS as St, ab as Ct, W as gt, af as mt, a2 as ut, a0 as ct, a1 as bt, aC as ht, aD as Tt, aA as Pt, aH as pt, ak as Ft, aj as It, aE as Et, m as At, aB as Bt, aF as Lt, z as yt } from "./CoachmarkProvider-CoPINK6_.js";
|
|
4
4
|
export {
|
|
5
5
|
ps as AUTO_PER_PAGE_MAX,
|
|
6
6
|
Fs as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|