@factorialco/f0-react 12.1.0 → 12.3.0
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/{ChatPostComposerDialog-NEIFDJib.js → ChatPostComposerDialog-DxjgJvww.js} +3 -3
- package/dist/{CoachmarkProvider-BR6fdrrh.js → CoachmarkProvider-DxxTrrK0.js} +27397 -27397
- package/dist/{DocumentToolbar-Cb3E9RnA.js → DocumentToolbar-MbpAP2xa.js} +5 -5
- package/dist/{DocxViewer-pfu-5v_l.js → DocxViewer-DLnunbBn.js} +2 -2
- package/dist/{F0AiProcessingOverlay-O9SpiZk4.js → F0AiProcessingOverlay-cNJdJNme.js} +1058 -1042
- package/dist/{F0CanvasPanel-Dn-Gkmsz.js → F0CanvasPanel-d0ARNvCs.js} +7890 -7886
- package/dist/F0DocumentViewer-CMTc9-v6.js +3 -0
- package/dist/{F0DocumentViewer-CRPMDWGj.js → F0DocumentViewer-DU0u8sE9.js} +37 -37
- package/dist/{F0Map-toEYLWLQ.js → F0Map-Ytutlfjd.js} +100 -100
- package/dist/{F0Select-BMzj1oyt.js → F0Select-DKCy1C1n.js} +1030 -1030
- package/dist/{F0Text-CjR98zwA.js → F0Text-BtzfLrwP.js} +10 -10
- package/dist/F0VideoPlayer-BZmP3fGi.js +1 -0
- package/dist/{F0VideoPlayer-BmbFZEII.js → F0VideoPlayer-DWE0J3NR.js} +290 -290
- package/dist/{Map-Cakv1wM4.js → Map-DyNfwVdY.js} +20 -20
- package/dist/{PdfThumbnail-Bxzk7G0u.js → PdfThumbnail-C-F-aujX.js} +1 -1
- package/dist/{SheetViewer-zNoFISP0.js → SheetViewer-BRTqhc5o.js} +6 -6
- package/dist/{TextViewer-BTRJxwwJ.js → TextViewer-_rXZwM4E.js} +2 -2
- package/dist/ai.js +4 -4
- package/dist/component-status.js +2 -2
- package/dist/{dist-UTTWm0CV.js → dist-DvxtFKDL.js} +1 -1
- package/dist/experimental.d.ts +7 -1
- package/dist/experimental.js +4531 -4704
- package/dist/f0.d.ts +1 -1
- package/dist/f0.js +477 -477
- package/dist/{maplibre-C5htrHET.js → maplibre-BMdn9aMc.js} +1 -1
- package/dist/{pdfWorker-B4yvX0G-.js → pdfWorker-YDigL1gB.js} +1 -1
- package/dist/{popover-B-ET_Kay.js → popover-BjrPOMeQ.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-CUKMWWRC.d.ts → types-DiDeZRzi.d.ts} +4 -0
- package/dist/{useData-DWwEymV5.js → useData-BPTvQHGp.js} +291 -291
- package/package.json +1 -1
- package/dist/F0DocumentViewer-DzZu9sCO.js +0 -3
- package/dist/F0VideoPlayer-DsHl-sBd.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Mt as e, Nt as t } from "./CoachmarkProvider-
|
|
2
|
-
import {
|
|
1
|
+
import { Mt as e, Nt as t } from "./CoachmarkProvider-DxxTrrK0.js";
|
|
2
|
+
import { Vt as n, in as r, pt as i, rn as a } from "./popover-BjrPOMeQ.js";
|
|
3
3
|
import { L as o, R as s } from "./tooltip-BX4dSfeL.js";
|
|
4
|
-
import { t as c } from "./F0Text-
|
|
5
|
-
import {
|
|
6
|
-
import { X as ee, l as f, z as p } from "./useData-
|
|
7
|
-
import { o as m, t as h } from "./F0Map-
|
|
4
|
+
import { t as c } from "./F0Text-BtzfLrwP.js";
|
|
5
|
+
import { Hr as l, Ur as u, Wr as d } from "./F0CanvasPanel-d0ARNvCs.js";
|
|
6
|
+
import { X as ee, l as f, z as p } from "./useData-BPTvQHGp.js";
|
|
7
|
+
import { o as m, t as h } from "./F0Map-Ytutlfjd.js";
|
|
8
8
|
import { useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
9
9
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
10
10
|
//#region src/addons/data-collection/OneDataCollection/visualizations/collection/Map/components/MapNotOnMapButton.tsx
|
|
@@ -33,17 +33,17 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: r, avatars: i, onClick: a, dat
|
|
|
33
33
|
value: t,
|
|
34
34
|
size: "sm"
|
|
35
35
|
})]
|
|
36
|
-
}), T = ({ title: e, count: t, open:
|
|
37
|
-
let [g = p, _] =
|
|
38
|
-
prop:
|
|
36
|
+
}), T = ({ title: e, count: t, open: a, onOpenChange: f, defaultOpen: p = !0, children: m, dataTestId: h }) => {
|
|
37
|
+
let [g = p, _] = i({
|
|
38
|
+
prop: a,
|
|
39
39
|
defaultProp: p,
|
|
40
40
|
onChange: f
|
|
41
41
|
});
|
|
42
|
-
return /* @__PURE__ */ C(
|
|
42
|
+
return /* @__PURE__ */ C(l, {
|
|
43
43
|
open: g,
|
|
44
44
|
onOpenChange: _,
|
|
45
45
|
"data-testid": h,
|
|
46
|
-
children: [/* @__PURE__ */ S(
|
|
46
|
+
children: [/* @__PURE__ */ S(d, {
|
|
47
47
|
asChild: !0,
|
|
48
48
|
children: /* @__PURE__ */ C("button", {
|
|
49
49
|
type: "button",
|
|
@@ -64,20 +64,20 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: r, avatars: i, onClick: a, dat
|
|
|
64
64
|
}),
|
|
65
65
|
/* @__PURE__ */ S("span", {
|
|
66
66
|
className: o("flex shrink-0 text-f1-icon transition-transform duration-200 motion-reduce:transition-none", g && "rotate-180"),
|
|
67
|
-
children: /* @__PURE__ */ S(
|
|
67
|
+
children: /* @__PURE__ */ S(r, {
|
|
68
68
|
icon: ee,
|
|
69
69
|
size: "sm"
|
|
70
70
|
})
|
|
71
71
|
})
|
|
72
72
|
]
|
|
73
73
|
})
|
|
74
|
-
}), /* @__PURE__ */ S(
|
|
74
|
+
}), /* @__PURE__ */ S(u, {
|
|
75
75
|
className: "px-0.5",
|
|
76
76
|
children: m
|
|
77
77
|
})]
|
|
78
78
|
});
|
|
79
|
-
}, ne = ({ rows: e, unplaced: t, placed: n, matches: r, notOnMapOpen:
|
|
80
|
-
let s =
|
|
79
|
+
}, ne = ({ rows: e, unplaced: t, placed: n, matches: r, notOnMapOpen: i, onNotOnMapOpenChange: o }) => {
|
|
80
|
+
let s = a();
|
|
81
81
|
return /* @__PURE__ */ S("div", {
|
|
82
82
|
className: "flex h-full min-h-0 flex-col gap-1 overflow-y-auto px-1 pb-1.5 pt-0.5",
|
|
83
83
|
children: r ? /* @__PURE__ */ S("div", {
|
|
@@ -94,7 +94,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: r, avatars: i, onClick: a, dat
|
|
|
94
94
|
}) : /* @__PURE__ */ C(x, { children: [t.length > 0 ? /* @__PURE__ */ S(T, {
|
|
95
95
|
title: s.collections.map.notOnMap,
|
|
96
96
|
count: t.length,
|
|
97
|
-
open:
|
|
97
|
+
open: i,
|
|
98
98
|
onOpenChange: o,
|
|
99
99
|
dataTestId: "map-panel-not-on-map",
|
|
100
100
|
children: e(t)
|
|
@@ -177,8 +177,8 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: r, avatars: i, onClick: a, dat
|
|
|
177
177
|
onSidebarToggle: r,
|
|
178
178
|
sidebarToggleAddon: i > 0 ? a : void 0,
|
|
179
179
|
sidebarHeaderStart: o
|
|
180
|
-
} : {}, E = ({ source: n, coordinates: r, label:
|
|
181
|
-
let A =
|
|
180
|
+
} : {}, E = ({ source: n, coordinates: r, label: i, marker: o, getRecordId: s, selectedRecordId: c, onSelect: l, revealRecordId: u, searchSelectionNonce: d, viewportInset: ee, initialViewport: f, showControls: p, projection: C, provider: w, markerLimit: T, ariaLabel: E, sidebar: D, sidebarSearchText: O, detail: k, onSidebarToggle: ce, onLoadData: le, onLoadError: ue }) => {
|
|
181
|
+
let A = a(), j = Math.min(T ?? 200, 200), de = v(() => n.dataAdapter.paginationType ? {
|
|
182
182
|
...n.dataAdapter,
|
|
183
183
|
perPage: j
|
|
184
184
|
} : n.dataAdapter, [n.dataAdapter, j]), { data: fe, paginationInfo: M, isInitialLoading: N, isLoading: pe } = e({
|
|
@@ -196,13 +196,13 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: r, avatars: i, onClick: a, dat
|
|
|
196
196
|
}, [M?.total, P]);
|
|
197
197
|
let F = g((e) => s ? s(e) : String(e.id), [s]), { points: I, placed: L, unplaced: R, placedIds: z, unplacedKinds: B } = v(() => ae(P, {
|
|
198
198
|
coordinates: r,
|
|
199
|
-
label:
|
|
199
|
+
label: i,
|
|
200
200
|
marker: o,
|
|
201
201
|
recordId: F
|
|
202
202
|
}), [
|
|
203
203
|
P,
|
|
204
204
|
r,
|
|
205
|
-
|
|
205
|
+
i,
|
|
206
206
|
o,
|
|
207
207
|
F
|
|
208
208
|
]), [me, he] = b(null), V = c === void 0 ? me : c, H = y(null), U = y(null), W = y(V);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as t, r as n } from "./pdfWorker-
|
|
1
|
+
import { i as e, n as t, r as n } from "./pdfWorker-YDigL1gB.js";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
//#region src/elements/primitives/_primitives/F0Attachments/components/thumbnails/PdfThumbnail.tsx
|
|
4
4
|
t();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { o as a } from "./F0DocumentViewer-
|
|
4
|
-
import { n as o, t as s } from "./DocumentToolbar-
|
|
1
|
+
import { ln as e, rn as t } from "./popover-BjrPOMeQ.js";
|
|
2
|
+
import { Gr as n, v as r, y as i } from "./F0CanvasPanel-d0ARNvCs.js";
|
|
3
|
+
import { o as a } from "./F0DocumentViewer-DU0u8sE9.js";
|
|
4
|
+
import { n as o, t as s } from "./DocumentToolbar-MbpAP2xa.js";
|
|
5
5
|
import { n as c, t as l } from "./sheetPreview-Ca0kCtSa.js";
|
|
6
6
|
import { useEffect as u, useState as d } from "react";
|
|
7
7
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -29,7 +29,7 @@ var h = 1e3, g = 100, _ = ({ url: _, filename: v, withCredentials: y = !0, actio
|
|
|
29
29
|
actions: b,
|
|
30
30
|
zoom: C,
|
|
31
31
|
placement: x,
|
|
32
|
-
children: w && w.length > 1 ? /* @__PURE__ */ p(
|
|
32
|
+
children: w && w.length > 1 ? /* @__PURE__ */ p(r, {
|
|
33
33
|
type: "single",
|
|
34
34
|
size: "sm",
|
|
35
35
|
value: String(O),
|
|
@@ -37,7 +37,7 @@ var h = 1e3, g = 100, _ = ({ url: _, filename: v, withCredentials: y = !0, actio
|
|
|
37
37
|
e && k(Number(e));
|
|
38
38
|
},
|
|
39
39
|
className: "justify-start",
|
|
40
|
-
children: w.map((e, t) => /* @__PURE__ */ p(
|
|
40
|
+
children: w.map((e, t) => /* @__PURE__ */ p(i, {
|
|
41
41
|
value: String(t),
|
|
42
42
|
className: "whitespace-nowrap",
|
|
43
43
|
children: e.name
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
1
|
+
import { ln as e, rn as t, xt as n } from "./popover-BjrPOMeQ.js";
|
|
2
|
+
import { n as r, t as i } from "./DocumentToolbar-MbpAP2xa.js";
|
|
3
3
|
import { useEffect as a, useState as o } from "react";
|
|
4
4
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
5
|
//#region src/addons/documents/F0DocumentViewer/components/TextViewer.tsx
|
package/dist/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, j as T, k as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, w as L, x as R, y as z, z as B } from "./F0AiProcessingOverlay-
|
|
3
|
-
import { A as V,
|
|
1
|
+
import { rn as e, tn as t } from "./popover-BjrPOMeQ.js";
|
|
2
|
+
import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, j as T, k as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, w as L, x as R, y as z, z as B } from "./F0AiProcessingOverlay-cNJdJNme.js";
|
|
3
|
+
import { A as V, B as H, Dt as U, E as W, Mt as G, Nt as K, R as q, T as J, et as Y, j as X, k as Z, n as Q, t as $ } from "./F0CanvasPanel-d0ARNvCs.js";
|
|
4
4
|
import { t as ee } from "./i18n-provider-defaults-p0UGTA_k.js";
|
|
5
|
-
export { v as AiChatTranslationsProvider,
|
|
5
|
+
export { v as AiChatTranslationsProvider, K as ChatSpinner, A as CollapsibleGroup, X as DropOverlay, G as F0ActionItem, J as F0AiChat, y as F0AiChatCreditsButton, D as F0AiChatHeader, w as F0AiChatHistory, W as F0AiChatProvider, o as F0AiChatTextArea, c as F0AiChatUsageLimitsButton, h as F0AiFileAttachments, Y as F0AiFilePreviewsProvider, O as F0AiInsightCard, g as F0AiMask, b as F0AiMessageSources, r as F0AiMessagesContainer, Z as F0AiPong, P as F0AiProcessingOverlay, x as F0AiProposalCard, F as F0AiTableCard, S as F0AuraVoiceAnimation, E as F0CanvasCard, $ as F0CanvasPanel, H as F0ChatComposer, I as F0ClarifyingPanel, C as F0HILActionConfirmation, U as F0OneIcon, Q as F0OneSwitch, a as FormCardValueFormatterProvider, t as I18nProvider, V as PongBall, N as ThreadItem, _ as ThreadListSkeleton, B as actionItemStatuses, n as aiChatFileFromShowFilesItem, T as aiChatFileFromUploadedFile, l as aiChatFilesFromMessage, u as aiChatMessageText, m as aiTranslations, j as contentTypes, s as createPersonMentionSource, ee as defaultTranslations, f as markdownRenderers, p as oneIconSizes, k as usageLimitsPopoverSides, q as useAiChat, R as useAiChatTranslations, z as useCanvasEntity, M as useChatHistory, i as useFormCardValueFormatter, e as useI18n, d as useSetFormCardValueFormatter, L as useToolCallId };
|
package/dist/component-status.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
|
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
5
|
//#region \0virtual:f0-component-status-data
|
|
6
6
|
var u = {
|
|
7
|
-
generatedAt: "2026-10-
|
|
7
|
+
generatedAt: "2026-10-30T15:59:26.589Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 312,
|
|
10
10
|
byStatus: {
|
|
@@ -3393,7 +3393,7 @@ var u = {
|
|
|
3393
3393
|
hasWhenToUse: !0,
|
|
3394
3394
|
hasWhenNotToUse: !0,
|
|
3395
3395
|
hasDoDonts: !0,
|
|
3396
|
-
exampleCount:
|
|
3396
|
+
exampleCount: 8
|
|
3397
3397
|
},
|
|
3398
3398
|
a11yTier: "enforced",
|
|
3399
3399
|
storyFile: "blocks/Navigation/Sidebar/F0PrimarySidebar/__stories__/F0PrimarySidebar.stories.tsx"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, T as t, k as n } from "./popover-
|
|
1
|
+
import { C as e, T as t, k as n } from "./popover-BjrPOMeQ.js";
|
|
2
2
|
import r, { forwardRef as i } from "react";
|
|
3
3
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
4
|
var s = i((e, t) => /* @__PURE__ */ o("svg", {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $i as Badge, A as Weekdays, C as FileItemSize, Ci as AvatarVariant, Cn as TooltipProps, Cr as F0PersonCardAction, Dn as ChartColorToken, Dt as SidePanelContextValue, Et as SidePanelContent, Gi as BaseAvatar, Gn as DropdownItemLabel, Hn as DropdownContentVariant, In as AlertAvatarProps, It as F0CardProps, Ji as F0AvatarColorListProps, Jn as DropdownItemSeparator, Kn as DropdownItemObject, Kt as CardMetadata, Ln as F0AvatarAlert, Mn as F0TagAlert, O as F0TagRaw, Ot as SidePanelLayout, Rn as alertAvatarTypes, S as FileItemProps, Sn as TooltipGroupProps, Sr as F0PersonCard, Wn as DropdownItem, Xi as F0AvatarColorProps, Xn as DropdownItemSwitch, Yi as F0AvatarColor, Yn as DropdownItemSubmenu, Zi as AvatarBadge, Zn as NavigationItem, _ as F0FileItem, _n as F0ProgressSeriesSize, _r as StatusVariant, a as F0CardHorizontal, b as FileAction, bi as F0AvatarModule, bn as Tooltip, c as MobileDropdown, da as WithDataTestIdProps, dr as DataAttributes, ea as BadgeProps, er as F0ButtonProps, fn as F0ProgressSeries, g as F0FileAction, gn as F0ProgressSeriesProps, h as DetailsItemType, hn as F0ProgressSeriesOptions, ia as Props$6, it as AiChatProviderProps, ji as PersonAvatarVariant, jn as F0AvatarListProps, kt as SidePanelViewDefinition, la as IconType, m as DetailsItemContent, mn as F0ProgressSeriesColor, na as modules, nr as ButtonVariant, o as F0CardHorizontalProps, oa as DistributiveOmit, p as DetailsItem, pa as WithDataTestIdReturnType, pn as F0ProgressSeriesBar, qi as F0AvatarColorList, qn as DropdownItemPanel, s as Dropdown, ta as ModuleId, tn as F0TagRawProps, ur as ActionButtonVariant, v as F0FileItemProps, vn as f0ProgressSeriesColors, w as f0FileItemSizes, wn as Shortcut, wr as F0PersonCardProps, x as FileItem, xi as F0AvatarModuleProps, xn as TooltipGroup, y as F0FileItemSize, yn as f0ProgressSeriesSizes, yt as TranscribeFn, zn as CardSecondaryAction } from "./index-DE9tIS8D.js";
|
|
2
|
-
import { $a as BulkActionsDefinition, $d as FiltersDefinition, $i as ReplaceContentNotesTextEditorPageDocumentPatch, $l as LineChartConfig, $o as getPrimaryActions, $s as locationInputSizes, Aa as DataCollectionStatusComplete, Ac as F0MapArea, Ad as BasePaginatedResponse, Ai as MentionsConfig, Ao as GranularityDefinitionsOptions, As as F0TextInputProps, Ba as MapUnplaced, Bc as F0MapStyle, Bd as PaginatedResponse, Bi as F0NotesTextEditorSkeleton, Bl as CategoryBarChart, Bo as DatePeriod, Bs as F0PhoneInputProps, C as F0DataChartRadarProps, Cc as F0MapSkeleton, Cd as GroupMetadataItem, Cf as WeekStartsOn, Ci as secondaryActionType, Co as getGranularityDefinition, Cs as NumberInputProps, Cu as F0SelectVariant, D as F0DataChartScatterProps, Dc as F0MapProjection, Dd as isVisibleAction, Di as FileType, Do as DatePickerValue, Ds as F0TextInput, Du as Action$1, Ec as F0MapHandle, Ed as filterItemActions, Ei as FILE_TYPES, Eo as DatePickerPopupProps, Es as F0TextInputInlineProps, Eu as selectVariants, Fa as EditableTableColumnDefinition, Fc as F0MapViewport, Fd as ItemNeighborsId, Fi as RichTextDisplayHandle, Fl as F0ActionBarRef, Fo as DateNavigationOptions, Fs as TemplateVariablesConfig, Ga as GraphVisualizationOptions, Gc as F0MapProvider, Gd as SortOrder, Gi as NotesTextEditorSkeleton, Gl as RadarChart, Go as SecondaryActionGroup, Gs as F0LocationInputChangeMeta, Ha as ListIconColor, Hc as f0MapStyles, Hd as PaginationType, Hi as NotesTextEditor, Hl as LineChart, Ho as MAX_EXPANDED_ACTIONS, Hs as PhoneInputSize, Ia as EditableTableOnCellChangeParams, Ic as F0MapViewportInset, Id as ItemNeighborsResponse, Ii as RichTextDisplayProps, Il as WiggleOptions, Io as DateStringFormat, Is as F0PhoneInput, Ja as CollectionProps, Jd as SortingsState, Ji as InsertAfterNotesTextEditorPageDocumentPatch, Jl as CategoryBarProps, Jo as SecondaryActionsDefinition, Js as F0LocationInputValue, Ka as ViewportInset, Kc as F0MapControlLabels, Kd as SortingKey, Ki as NotesTextEditorSkeletonProps, Kl as VerticalBarChart, Ko as SecondaryActionItem, Ks as F0LocationInputProps, La as CustomVisualizationProps, Lc as F0MapMarkerVariant, Ld as PageBasedPaginatedResponse, Li as F0NotesTextEditor, Ll as actionBarStatuses, Lo as GranularityDefinition, Ls as isPossiblePhoneValue, Ma as Chip, Mc as F0MapLineStyle, Md as DataAdapter, Mi as F0RichTextDisplayHandle, Ml as ActionBarItem, Mo as getGranularityDefinitions, Ms as F0SearchInputProps, Na as ChipProps, Nc as F0MapPoint, Nd as InfiniteScrollPaginatedResponse, Ni as F0RichTextDisplayProps, Nl as ActionBarStatus, No as granularityDefinitions, Ns as F1SearchBox, Oc as F0MapProps, Od as BaseDataAdapter, Oi as UPLOAD_INPUT_ID, Oo as DatePreset, Os as Input, Ou as InputFieldProps, Pa as chipVariants, Pc as F0MapRoute, Pd as ItemNeighborsFetchOptions, Pi as RichTextDisplay, Pl as F0ActionBar, Po as resolveGranularityDefinition, Ps as TemplateVariable, Qa as TableVisualizationType, Qd as FilterValueByKey, Qi as ReplaceBlockNotesTextEditorPageDocumentPatch, Ql as ChartConfig, Qo as filterActions, Qs as LocationPart, Ra as Visualization, Rc as F0MapMarkerVariantProps, Rd as PaginatedDataAdapter, Ri as F0NotesTextEditorHandle, Rl as AreaChart, Ro as GranularityDefinitionSimple, Rs as isValidPhoneValue, Sc as F0MapControls, Sd as GroupingState, Sf as WeekStartDay, Si as resultType, So as OneCalendarProps, Ss as NumberInput, Su as F0SelectTagProp, Tc as F0Map, Td as ItemActionsDefinition, Ti as subActionType, To as rangeSeparator, Ts as F0TextInputInline, Tu as selectSizes, Ua as ListIconPaletteColor, Uc as googleMapStyles, Ud as SelectedItems, Ui as NotesTextEditorHandle, Ul as PieChart, Uo as PrimaryActionItemDefinition, Us as phoneInputSizes, Uu as UseDataSourceItemNavigationReturn, Va as MapVisualizationOptions, Vc as defaultMapStyle, Vd as PaginationInfo, Vi as F0NotesTextEditorSkeletonProps, Vl as ComboChart, Vo as DatePeriodsDefinition, Vs as F0PhoneInputValue, Vu as DataSourceItemId, Wa as listIconColors, Wc as googlePinlessMapStyles, Wd as RecordType, Wi as NotesTextEditorProps, Wl as ProgressBarChart, Wo as PrimaryActionsDefinitionFn, Ws as F0LocationInput, Xa as OnLoadDataCallback, Xd as CurrentFilters, Xi as NotesTextEditorPageDocumentPatch, Xl as ChartPropsBase, Xo as UpsellActionDefinition, Xr as VideoPlayerContent, Xs as F0LocationSuggestion, Xu as Data, Ya as ExtractPropertyKeys, Yc as F0DialogInternalProps, Yd as SortingsStateMultiple, Yi as InsertBeforeNotesTextEditorPageDocumentPatch, Yl as ChartConfig$1, Yo as SecondaryActionsItems, Ys as F0LocationSearchContext, Za as OnLoadErrorCallback, Zd as FilterOptions, Zi as NotesTextEditorSnapshot, Zl as LineChartPropsBase, Zo as UpsellActionDefinitionFn, Zs as LocationInputSize, _a as predefinedPresets, _c as F0MapListProps, _f as DateRangeError, _i as actionType, _l as MetadataItemValue, _o as NavigationFiltersState, _s as TextareaProps, aa as User, ac as CardSelectableSingleProps, af as QuickFilterDefinition, al as BaseTabs, ao as Lane, as as OneFilterPicker, au as F0ButtonToggle, b as F0DataChartProps, bc as F0MapSidebar, bd as GroupingDefinition, bf as DateRangeComplete, bi as heightType, bo as OneCalendarInternal, bs as F0NumberInput, bu as F0SelectItemProps, c as F0DataChartGaugeProps, ca as enhanceConfig, cd as PromiseOrObservable, cf as SearchFilterDefinition, cl as TabsProps, co as SearchPreviewResultData, cs as TOCItem, cu as ButtonToggleSize, d as F0DataChartLineProps, da as lastIntentType, dd as OnSelectItemsCallback, df as DateFilterDefinition, di as F0RichTextEditorProps, dl as NavigationTarget, do as OnBulkActionCallback, ds as Pulse, du as buttonToggleSizes, ea as TopLevelAppendNotesTextEditorPageDocumentPatch, ec as locationParts, ed as UseDataOptions, ef as FiltersMode, eo as DataCollectionBaseFetchOptions, es as getSecondaryActions, eu as BannerAction, fc as F0TimelineRowProps, fd as SelectedItemState, ff as CalendarDate, fi as F0RichTextEditorSkeletonProps, fl as PageNavigation, fo as NavigationFilter, fs as F0TextAreaInputInline, ft as F0FormSchema, fu as buttonToggleVariants, g as F0DataChartPieProps, ga as OneEmptyState, gc as F0MapList, gd as SelectionId, gf as CalendarView, gi as RichTextEditorSkeletonProps, gl as MetadataItem, go as NavigationFiltersDefinition, gs as Textarea, hd as SelectedState, hf as CalendarSelection, hi as RichTextEditorProps, hl as HeaderSecondaryAction, ho as NavigationFilterValue, hs as F0TextAreaInputProps, ia as Message, ic as CardSelectableMultipleProps, if as PresetsDefinition, io as DataCollectionSourceDefinition, is as SummaryType, iu as F0SegmentedControlProps, ja as DataCollectionStorageFeaturesDefinition, jc as F0MapLineColor, jd as BaseResponse, ji as F0RichTextDisplay, jl as ActionBarGroup, jo as NavigationGranularityKey, js as F0SearchInput, kc as F0MapArc, kd as BaseFetchOptions, ki as MentionedUser, ko as GranularityDefinitionKey, ks as InputProps, l as F0DataChartHeatmapProps, la as enhanceTextParams, ld as DataSource, lf as NumberFilterDefinition, li as F0RichTextEditor, ll as TabsSkeleton, lo as BulkAction, ls as TOCItemAction, lu as ButtonToggleVariant, mc as TimelineRowStatus, md as SelectedItemsState, mf as CalendarMode, mi as RichTextEditorHandle, ml as F0ResourceHeaderProps, mo as NavigationFilterDefinition, ms as F0TextAreaInput, mu as F0Select, n as F0DataChartBarProps, na as HeaderProps, nc as CardSelectableContainerProps, nf as PresetDefinition, no as DataCollectionPaginatedFetchOptions, ns as SummariesDefinition, nu as BaseBannerProps, o as F0DataChartFunnelProps, oa as ImageUploadConfig, oc as CardSelectableValue, of as FilterDefinition, ol as TabItem, oo as SearchPreview, os as DropPosition, ou as F0ButtonToggleProps, pd as SelectedItemsDetailedStatus, pf as CalendarDateMatcher, pi as RichTextEditor, pl as F0ResourceHeader, po as NavigationFilterComponentProps, ps as F0TextAreaInputInlineProps, qc as F0MapControlsProps, qd as SortingsDefinition, qi as DeleteBlockNotesTextEditorPageDocumentPatch, ql as PieChartProps, qo as SecondaryActionSplitItem, qs as F0LocationInputShapeProps, ra as HeaderStatusProps, rc as CardSelectableItem, rf as PresetSettings, ri as F0DocumentKind, ro as DataCollectionSource, rs as SummaryKey, ru as F0SegmentedControlItem, sa as EnhancementOption, sf as FilterValue, sl as Tabs, so as SearchPreviewPage, ss as TOCAction, su as ButtonToggleColor, ta as TopLevelPrependNotesTextEditorPageDocumentPatch, tc as CardSelectableContainer, td as UseDataReturn, tf as FiltersState, to as DataCollectionDataAdapter, ts as getUpsellAction, tu as BaseBanner, ua as enhancedTextResponse, ud as DataSourceDefinition, uf as InFilterDefinition, ui as F0RichTextEditorHandle, ul as NavigationProps, uo as BulkActionDefinition, us as TOCProps, uu as buttonToggleColors, vc as F0MapSidebarToggle, vf as OptionalCalendarSelection, vi as editorStateType, vl as PrimaryActionButton, vo as NavigationFilterDefinitionBase, vs as F0NumberInputInline, vu as F0SelectItemMetadata, wa as UpsellingButtonProps, wc as F0MapSkeletonProps, wd as ActionDefinition, wi as secondaryActionsType, wo as getGranularitySimpleDefinition, ws as NumberInputPopoverConfig, wu as ResolvedRecordType, xa as ActionProps$1, xc as F0MapSidebarProps, xd as GroupingLevelState, xf as DateRangeString, xi as primaryActionType, xo as OneCalendarInternalProps, xs as F0NumberInputProps, xu as F0SelectProps, ya as DataCollectionStorage, yc as F0MapSidebarToggleProps, yd as SearchOptions, yf as DateRange, yi as filesConfig, yl as PrimaryDropdownAction, yo as OneCalendar, ys as F0NumberInputInlineProps, yu as F0SelectItemObject, za as VisualizationFilterOverrides, zc as f0MapMarkerVariants, zd as PaginatedFetchOptions, zi as F0NotesTextEditorProps, zl as BarChart, zo as PrevNextDateNavigation, zs as F0PhoneInputChangeMeta } from "./types-
|
|
2
|
+
import { $a as BulkActionsDefinition, $d as FiltersDefinition, $i as ReplaceContentNotesTextEditorPageDocumentPatch, $l as LineChartConfig, $o as getPrimaryActions, $s as locationInputSizes, Aa as DataCollectionStatusComplete, Ac as F0MapArea, Ad as BasePaginatedResponse, Ai as MentionsConfig, Ao as GranularityDefinitionsOptions, As as F0TextInputProps, Ba as MapUnplaced, Bc as F0MapStyle, Bd as PaginatedResponse, Bi as F0NotesTextEditorSkeleton, Bl as CategoryBarChart, Bo as DatePeriod, Bs as F0PhoneInputProps, C as F0DataChartRadarProps, Cc as F0MapSkeleton, Cd as GroupMetadataItem, Cf as WeekStartsOn, Ci as secondaryActionType, Co as getGranularityDefinition, Cs as NumberInputProps, Cu as F0SelectVariant, D as F0DataChartScatterProps, Dc as F0MapProjection, Dd as isVisibleAction, Di as FileType, Do as DatePickerValue, Ds as F0TextInput, Du as Action$1, Ec as F0MapHandle, Ed as filterItemActions, Ei as FILE_TYPES, Eo as DatePickerPopupProps, Es as F0TextInputInlineProps, Eu as selectVariants, Fa as EditableTableColumnDefinition, Fc as F0MapViewport, Fd as ItemNeighborsId, Fi as RichTextDisplayHandle, Fl as F0ActionBarRef, Fo as DateNavigationOptions, Fs as TemplateVariablesConfig, Ga as GraphVisualizationOptions, Gc as F0MapProvider, Gd as SortOrder, Gi as NotesTextEditorSkeleton, Gl as RadarChart, Go as SecondaryActionGroup, Gs as F0LocationInputChangeMeta, Ha as ListIconColor, Hc as f0MapStyles, Hd as PaginationType, Hi as NotesTextEditor, Hl as LineChart, Ho as MAX_EXPANDED_ACTIONS, Hs as PhoneInputSize, Ia as EditableTableOnCellChangeParams, Ic as F0MapViewportInset, Id as ItemNeighborsResponse, Ii as RichTextDisplayProps, Il as WiggleOptions, Io as DateStringFormat, Is as F0PhoneInput, Ja as CollectionProps, Jd as SortingsState, Ji as InsertAfterNotesTextEditorPageDocumentPatch, Jl as CategoryBarProps, Jo as SecondaryActionsDefinition, Js as F0LocationInputValue, Ka as ViewportInset, Kc as F0MapControlLabels, Kd as SortingKey, Ki as NotesTextEditorSkeletonProps, Kl as VerticalBarChart, Ko as SecondaryActionItem, Ks as F0LocationInputProps, La as CustomVisualizationProps, Lc as F0MapMarkerVariant, Ld as PageBasedPaginatedResponse, Li as F0NotesTextEditor, Ll as actionBarStatuses, Lo as GranularityDefinition, Ls as isPossiblePhoneValue, Ma as Chip, Mc as F0MapLineStyle, Md as DataAdapter, Mi as F0RichTextDisplayHandle, Ml as ActionBarItem, Mo as getGranularityDefinitions, Ms as F0SearchInputProps, Na as ChipProps, Nc as F0MapPoint, Nd as InfiniteScrollPaginatedResponse, Ni as F0RichTextDisplayProps, Nl as ActionBarStatus, No as granularityDefinitions, Ns as F1SearchBox, Oc as F0MapProps, Od as BaseDataAdapter, Oi as UPLOAD_INPUT_ID, Oo as DatePreset, Os as Input, Ou as InputFieldProps, Pa as chipVariants, Pc as F0MapRoute, Pd as ItemNeighborsFetchOptions, Pi as RichTextDisplay, Pl as F0ActionBar, Po as resolveGranularityDefinition, Ps as TemplateVariable, Qa as TableVisualizationType, Qd as FilterValueByKey, Qi as ReplaceBlockNotesTextEditorPageDocumentPatch, Ql as ChartConfig, Qo as filterActions, Qs as LocationPart, Ra as Visualization, Rc as F0MapMarkerVariantProps, Rd as PaginatedDataAdapter, Ri as F0NotesTextEditorHandle, Rl as AreaChart, Ro as GranularityDefinitionSimple, Rs as isValidPhoneValue, Sc as F0MapControls, Sd as GroupingState, Sf as WeekStartDay, Si as resultType, So as OneCalendarProps, Ss as NumberInput, Su as F0SelectTagProp, Tc as F0Map, Td as ItemActionsDefinition, Ti as subActionType, To as rangeSeparator, Ts as F0TextInputInline, Tu as selectSizes, Ua as ListIconPaletteColor, Uc as googleMapStyles, Ud as SelectedItems, Ui as NotesTextEditorHandle, Ul as PieChart, Uo as PrimaryActionItemDefinition, Us as phoneInputSizes, Uu as UseDataSourceItemNavigationReturn, Va as MapVisualizationOptions, Vc as defaultMapStyle, Vd as PaginationInfo, Vi as F0NotesTextEditorSkeletonProps, Vl as ComboChart, Vo as DatePeriodsDefinition, Vs as F0PhoneInputValue, Vu as DataSourceItemId, Wa as listIconColors, Wc as googlePinlessMapStyles, Wd as RecordType, Wi as NotesTextEditorProps, Wl as ProgressBarChart, Wo as PrimaryActionsDefinitionFn, Ws as F0LocationInput, Xa as OnLoadDataCallback, Xd as CurrentFilters, Xi as NotesTextEditorPageDocumentPatch, Xl as ChartPropsBase, Xo as UpsellActionDefinition, Xr as VideoPlayerContent, Xs as F0LocationSuggestion, Xu as Data, Ya as ExtractPropertyKeys, Yc as F0DialogInternalProps, Yd as SortingsStateMultiple, Yi as InsertBeforeNotesTextEditorPageDocumentPatch, Yl as ChartConfig$1, Yo as SecondaryActionsItems, Ys as F0LocationSearchContext, Za as OnLoadErrorCallback, Zd as FilterOptions, Zi as NotesTextEditorSnapshot, Zl as LineChartPropsBase, Zo as UpsellActionDefinitionFn, Zs as LocationInputSize, _a as predefinedPresets, _c as F0MapListProps, _f as DateRangeError, _i as actionType, _l as MetadataItemValue, _o as NavigationFiltersState, _s as TextareaProps, aa as User, ac as CardSelectableSingleProps, af as QuickFilterDefinition, al as BaseTabs, ao as Lane, as as OneFilterPicker, au as F0ButtonToggle, b as F0DataChartProps, bc as F0MapSidebar, bd as GroupingDefinition, bf as DateRangeComplete, bi as heightType, bo as OneCalendarInternal, bs as F0NumberInput, bu as F0SelectItemProps, c as F0DataChartGaugeProps, ca as enhanceConfig, cd as PromiseOrObservable, cf as SearchFilterDefinition, cl as TabsProps, co as SearchPreviewResultData, cs as TOCItem, cu as ButtonToggleSize, d as F0DataChartLineProps, da as lastIntentType, dd as OnSelectItemsCallback, df as DateFilterDefinition, di as F0RichTextEditorProps, dl as NavigationTarget, do as OnBulkActionCallback, ds as Pulse, du as buttonToggleSizes, ea as TopLevelAppendNotesTextEditorPageDocumentPatch, ec as locationParts, ed as UseDataOptions, ef as FiltersMode, eo as DataCollectionBaseFetchOptions, es as getSecondaryActions, eu as BannerAction, fc as F0TimelineRowProps, fd as SelectedItemState, ff as CalendarDate, fi as F0RichTextEditorSkeletonProps, fl as PageNavigation, fo as NavigationFilter, fs as F0TextAreaInputInline, ft as F0FormSchema, fu as buttonToggleVariants, g as F0DataChartPieProps, ga as OneEmptyState, gc as F0MapList, gd as SelectionId, gf as CalendarView, gi as RichTextEditorSkeletonProps, gl as MetadataItem, go as NavigationFiltersDefinition, gs as Textarea, hd as SelectedState, hf as CalendarSelection, hi as RichTextEditorProps, hl as HeaderSecondaryAction, ho as NavigationFilterValue, hs as F0TextAreaInputProps, ia as Message, ic as CardSelectableMultipleProps, if as PresetsDefinition, io as DataCollectionSourceDefinition, is as SummaryType, iu as F0SegmentedControlProps, ja as DataCollectionStorageFeaturesDefinition, jc as F0MapLineColor, jd as BaseResponse, ji as F0RichTextDisplay, jl as ActionBarGroup, jo as NavigationGranularityKey, js as F0SearchInput, kc as F0MapArc, kd as BaseFetchOptions, ki as MentionedUser, ko as GranularityDefinitionKey, ks as InputProps, l as F0DataChartHeatmapProps, la as enhanceTextParams, ld as DataSource, lf as NumberFilterDefinition, li as F0RichTextEditor, ll as TabsSkeleton, lo as BulkAction, ls as TOCItemAction, lu as ButtonToggleVariant, mc as TimelineRowStatus, md as SelectedItemsState, mf as CalendarMode, mi as RichTextEditorHandle, ml as F0ResourceHeaderProps, mo as NavigationFilterDefinition, ms as F0TextAreaInput, mu as F0Select, n as F0DataChartBarProps, na as HeaderProps, nc as CardSelectableContainerProps, nf as PresetDefinition, no as DataCollectionPaginatedFetchOptions, ns as SummariesDefinition, nu as BaseBannerProps, o as F0DataChartFunnelProps, oa as ImageUploadConfig, oc as CardSelectableValue, of as FilterDefinition, ol as TabItem, oo as SearchPreview, os as DropPosition, ou as F0ButtonToggleProps, pd as SelectedItemsDetailedStatus, pf as CalendarDateMatcher, pi as RichTextEditor, pl as F0ResourceHeader, po as NavigationFilterComponentProps, ps as F0TextAreaInputInlineProps, qc as F0MapControlsProps, qd as SortingsDefinition, qi as DeleteBlockNotesTextEditorPageDocumentPatch, ql as PieChartProps, qo as SecondaryActionSplitItem, qs as F0LocationInputShapeProps, ra as HeaderStatusProps, rc as CardSelectableItem, rf as PresetSettings, ri as F0DocumentKind, ro as DataCollectionSource, rs as SummaryKey, ru as F0SegmentedControlItem, sa as EnhancementOption, sf as FilterValue, sl as Tabs, so as SearchPreviewPage, ss as TOCAction, su as ButtonToggleColor, ta as TopLevelPrependNotesTextEditorPageDocumentPatch, tc as CardSelectableContainer, td as UseDataReturn, tf as FiltersState, to as DataCollectionDataAdapter, ts as getUpsellAction, tu as BaseBanner, ua as enhancedTextResponse, ud as DataSourceDefinition, uf as InFilterDefinition, ui as F0RichTextEditorHandle, ul as NavigationProps, uo as BulkActionDefinition, us as TOCProps, uu as buttonToggleColors, vc as F0MapSidebarToggle, vf as OptionalCalendarSelection, vi as editorStateType, vl as PrimaryActionButton, vo as NavigationFilterDefinitionBase, vs as F0NumberInputInline, vu as F0SelectItemMetadata, wa as UpsellingButtonProps, wc as F0MapSkeletonProps, wd as ActionDefinition, wi as secondaryActionsType, wo as getGranularitySimpleDefinition, ws as NumberInputPopoverConfig, wu as ResolvedRecordType, xa as ActionProps$1, xc as F0MapSidebarProps, xd as GroupingLevelState, xf as DateRangeString, xi as primaryActionType, xo as OneCalendarInternalProps, xs as F0NumberInputProps, xu as F0SelectProps, ya as DataCollectionStorage, yc as F0MapSidebarToggleProps, yd as SearchOptions, yf as DateRange, yi as filesConfig, yl as PrimaryDropdownAction, yo as OneCalendar, ys as F0NumberInputInlineProps, yu as F0SelectItemObject, za as VisualizationFilterOverrides, zc as f0MapMarkerVariants, zd as PaginatedFetchOptions, zi as F0NotesTextEditorProps, zl as BarChart, zo as PrevNextDateNavigation, zs as F0PhoneInputChangeMeta } from "./types-DiDeZRzi.js";
|
|
3
3
|
import * as React$2 from "react";
|
|
4
4
|
import React$1, { ButtonHTMLAttributes, CSSProperties, ComponentProps, Dispatch, FC, ForwardedRef, MouseEvent, PropsWithChildren, ReactElement, ReactNode, RefObject, SVGProps } from "react";
|
|
5
5
|
import { VariantProps } from "cva";
|
|
@@ -3480,6 +3480,12 @@ type F0PrimarySidebarAction = {
|
|
|
3480
3480
|
label: string;
|
|
3481
3481
|
icon: IconType;
|
|
3482
3482
|
onClick: () => void;
|
|
3483
|
+
/**
|
|
3484
|
+
* The button opens the page that is on screen, such as the settings. It is
|
|
3485
|
+
* marked like the active tab. Set `activeTab` to an id no tab has, so no tab
|
|
3486
|
+
* is marked as well.
|
|
3487
|
+
*/
|
|
3488
|
+
active?: boolean;
|
|
3483
3489
|
/** Show the unread marker over the icon. */
|
|
3484
3490
|
hasUpdates?: boolean;
|
|
3485
3491
|
/** A count shown instead of the plain marker. */
|