@factorialco/f0-react 14.13.1 → 14.13.2
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-BmBPJMpE.js → ChatPostComposerDialog-Cb5gsRIJ.js} +1 -1
- package/dist/{CoachmarkProvider-OHOuBMCK.js → CoachmarkProvider-C1Wi4qya.js} +22810 -22783
- package/dist/{F0Map-CWxPNwpT.js → F0Map-DjOgGzC-.js} +32 -32
- package/dist/{Map-BDCeP_s3.js → Map-CCrL2r-6.js} +4 -4
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +5 -5
- package/dist/experimental.js +5282 -5308
- package/dist/f0.d.ts +1 -1
- package/dist/f0.js +2112 -2102
- package/dist/{maplibre-B8zdhCfk.js → maplibre-D6UoDvbs.js} +1 -1
- package/dist/{types-B54GaoNi.d.ts → types-BfNTJIHT.d.ts} +5 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e, bi as t, o as n } from "./CoachmarkProvider-C1Wi4qya.js";
|
|
2
2
|
import { i as r, r as i } from "./i18n-provider-D7vYpiid.js";
|
|
3
3
|
import { L as a, R as o } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { H as s, K as c, T as l, U as u, b as d, h as f, t as p } from "./F0Button-CmqXenpF.js";
|
|
@@ -144,8 +144,8 @@ var oe = (e, t) => ({
|
|
|
144
144
|
}, z = (e) => xe[e], B = 5.6, Se = 1.5, Ce = () => {
|
|
145
145
|
let e = xe.xl;
|
|
146
146
|
return -(e.d - e.caretOverlap + e.caretH + B + Se) + 3;
|
|
147
|
-
}, V = "hsl(var(--white-100))", H = A(function(
|
|
148
|
-
let { size: i = "md", selected: s = !1, collapsed: l = !1, label: d, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } =
|
|
147
|
+
}, V = "hsl(var(--white-100))", H = A(function(e, n) {
|
|
148
|
+
let { size: i = "md", selected: s = !1, collapsed: l = !1, label: d, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } = e, y = e.variant ?? "color", x = xe[s ? "xl" : i], S = !!m, C = y === "color" || y === "icon" || y === "letter", E = y === "person" && "firstName" in e ? e.firstName + e.lastName : (y === "team" || y === "company") && "name" in e ? e.name : null, D = C ? e.color ?? "radical" : E ? y === "person" && "src" in e && e.src ? "grey" : T(E) ?? "grey" : "neutral", ee = t(), O = s ? 32 : {
|
|
149
149
|
xs: 12,
|
|
150
150
|
sm: 16,
|
|
151
151
|
md: 20,
|
|
@@ -159,8 +159,8 @@ var oe = (e, t) => ({
|
|
|
159
159
|
className: "flex shrink-0 items-center justify-center transition-transform duration-200 ease-out",
|
|
160
160
|
style: { transform: `scale(${j})` },
|
|
161
161
|
children: e
|
|
162
|
-
}), N = y === "color" ? null : y === "icon" && "icon" in
|
|
163
|
-
icon:
|
|
162
|
+
}), N = y === "color" ? null : y === "icon" && "icon" in e ? /* @__PURE__ */ L(b, {
|
|
163
|
+
icon: e.icon,
|
|
164
164
|
size: x.icon,
|
|
165
165
|
color: "#ffffff",
|
|
166
166
|
style: {
|
|
@@ -168,7 +168,7 @@ var oe = (e, t) => ({
|
|
|
168
168
|
height: O,
|
|
169
169
|
transition: "width 200ms ease-out, height 200ms ease-out"
|
|
170
170
|
}
|
|
171
|
-
}) : y === "letter" && "letter" in
|
|
171
|
+
}) : y === "letter" && "letter" in e ? /* @__PURE__ */ L("span", {
|
|
172
172
|
"aria-hidden": !0,
|
|
173
173
|
className: "font-semibold leading-none",
|
|
174
174
|
style: {
|
|
@@ -176,32 +176,32 @@ var oe = (e, t) => ({
|
|
|
176
176
|
fontSize: Math.round(O * .78),
|
|
177
177
|
transition: "font-size 200ms ease-out"
|
|
178
178
|
},
|
|
179
|
-
children:
|
|
180
|
-
}) : y === "person" && "firstName" in
|
|
179
|
+
children: e.letter.charAt(0).toUpperCase()
|
|
180
|
+
}) : y === "person" && "firstName" in e ? M(/* @__PURE__ */ L(w, {
|
|
181
181
|
avatar: {
|
|
182
182
|
type: "person",
|
|
183
|
-
firstName:
|
|
184
|
-
lastName:
|
|
185
|
-
src:
|
|
183
|
+
firstName: e.firstName,
|
|
184
|
+
lastName: e.lastName,
|
|
185
|
+
src: e.src
|
|
186
186
|
},
|
|
187
187
|
size: A
|
|
188
|
-
})) : y === "team" && "name" in
|
|
188
|
+
})) : y === "team" && "name" in e ? M(/* @__PURE__ */ L(w, {
|
|
189
189
|
avatar: {
|
|
190
190
|
type: "team",
|
|
191
|
-
name:
|
|
192
|
-
src:
|
|
191
|
+
name: e.name,
|
|
192
|
+
src: e.src
|
|
193
193
|
},
|
|
194
194
|
size: A
|
|
195
|
-
})) : y === "company" && "name" in
|
|
195
|
+
})) : y === "company" && "name" in e ? M(/* @__PURE__ */ L(w, {
|
|
196
196
|
avatar: {
|
|
197
197
|
type: "company",
|
|
198
|
-
name:
|
|
199
|
-
src:
|
|
198
|
+
name: e.name,
|
|
199
|
+
src: e.src
|
|
200
200
|
},
|
|
201
201
|
size: A
|
|
202
|
-
})) : y === "image" && "src" in
|
|
203
|
-
src:
|
|
204
|
-
alt: "alt" in
|
|
202
|
+
})) : y === "image" && "src" in e ? /* @__PURE__ */ L("img", {
|
|
203
|
+
src: e.src,
|
|
204
|
+
alt: "alt" in e ? e.alt ?? "" : "",
|
|
205
205
|
className: "h-full w-full object-cover"
|
|
206
206
|
}) : null, te = y === "team" || y === "company" || y === "icon", ne = /* @__PURE__ */ L("span", {
|
|
207
207
|
className: "relative z-[1] flex shrink-0 items-center justify-center overflow-hidden border-solid transition-all duration-200 ease-out",
|
|
@@ -1609,7 +1609,7 @@ var Xt = {
|
|
|
1609
1609
|
isDark: e
|
|
1610
1610
|
};
|
|
1611
1611
|
}, tn = {
|
|
1612
|
-
maplibre: async () => (await import("./maplibre-
|
|
1612
|
+
maplibre: async () => (await import("./maplibre-D6UoDvbs.js")).createMaplibreAdapter,
|
|
1613
1613
|
google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
|
|
1614
1614
|
}, nn = /* @__PURE__ */ new Map(), rn = (e, t) => {
|
|
1615
1615
|
let n = nn.get(e);
|
|
@@ -11763,8 +11763,8 @@ var Xt = {
|
|
|
11763
11763
|
maxZoom: u
|
|
11764
11764
|
});
|
|
11765
11765
|
d && (n ? e.easeTo(d, { animate: n }) : e.jumpTo(d, { animate: n }));
|
|
11766
|
-
}, bn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, xn = A(function({ markers:
|
|
11767
|
-
let xe = w ?? (k ? "greedy" : "cooperative"), z = i(), B =
|
|
11766
|
+
}, bn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, xn = A(function({ markers: t = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick: u, selectedMarkerId: d, defaultSelectedMarkerId: p = null, onMarkerSelect: m, onMarkerDrag: h, onMarkerDragEnd: g, highlightedId: _ = null, viewportInset: v, centerOnMarkerClick: y = !1, fitToMarkers: b, initialViewport: x, mapStyle: S, interactive: C = !0, gestureHandling: w, minZoom: T, maxZoom: E = 18, showControls: D = !0, controlLabels: ee, showCurrentLocation: O = !1, fullScreen: k = !1, onSidebarToggle: A, sidebarExpanded: M = !1, sidebarToggleAddon: re, sidebarHeaderStart: P, sidebar: ae, detail: de, detailOpen: fe = !1, clearSelectionOnBackgroundClick: pe = !0, projection: me = "mercator", provider: he, loading: ge = !1, ariaLabel: _e, dataTestId: ve, className: ye }, be) {
|
|
11767
|
+
let xe = w ?? (k ? "greedy" : "cooperative"), z = i(), B = e(he), Se = n(), Ce = F(null), V = F(null), [H, we] = I(null), [U, Te] = I(!1), [De, W] = I(!1), [Oe, ke] = I(0), Ae = te(), q = f(), { containerRef: Pe, isDark: Fe } = en(), Ie = j((e) => {
|
|
11768
11768
|
Ce.current = e, Pe(e);
|
|
11769
11769
|
}, [Pe]), Le = Fe, Re = !S || S.provider === B, ze = Re ? S ?? mn(B) : mn(B), J = Le ? ze.dark : ze.light, Be = F(!1);
|
|
11770
11770
|
N(() => {
|
|
@@ -11776,8 +11776,8 @@ var Xt = {
|
|
|
11776
11776
|
]);
|
|
11777
11777
|
let [Ve, He] = I(p), Ue = d === void 0 ? Ve : d, We = j((e) => {
|
|
11778
11778
|
d === void 0 && He(e), m?.(e);
|
|
11779
|
-
}, [d, m]), Y = M && !!A, Ge = fe && !!de, Ke = Y ? G.inset + G.listWidth + G.gap : G.inset, qe = Y ? G.inset : G.inset + G.toggleSize + G.gap, Je = Ge ? Ke + G.detailWidth : Y ? G.inset + G.listWidth : null, Ye = oe(v, { left: Je === null ? 0 : Je + G.gap }), X = F(
|
|
11780
|
-
X.current =
|
|
11779
|
+
}, [d, m]), Y = M && !!A, Ge = fe && !!de, Ke = Y ? G.inset + G.listWidth + G.gap : G.inset, qe = Y ? G.inset : G.inset + G.toggleSize + G.gap, Je = Ge ? Ke + G.detailWidth : Y ? G.inset + G.listWidth : null, Ye = oe(v, { left: Je === null ? 0 : Je + G.gap }), X = F(t);
|
|
11780
|
+
X.current = t;
|
|
11781
11781
|
let Xe = F(o);
|
|
11782
11782
|
Xe.current = o;
|
|
11783
11783
|
let Ze = F(s);
|
|
@@ -11839,8 +11839,8 @@ var Xt = {
|
|
|
11839
11839
|
q
|
|
11840
11840
|
]), ut = F(!1);
|
|
11841
11841
|
N(() => {
|
|
11842
|
-
ut.current ||
|
|
11843
|
-
}, [
|
|
11842
|
+
ut.current || t.length <= 200 || (ut.current = !0, console.warn(`F0Map: ${t.length} markers exceeds the recommended maximum of 200. Markers are DOM elements - pan/zoom will degrade. Aggregate or filter the data, or wait for a GL clustering path.`));
|
|
11843
|
+
}, [t.length]);
|
|
11844
11844
|
let { coords: dt, request: ft } = $t(O), pt = j(() => {
|
|
11845
11845
|
Q.current = null, V.current?.zoomIn();
|
|
11846
11846
|
}, []), mt = j(() => {
|
|
@@ -12025,7 +12025,7 @@ var Xt = {
|
|
|
12025
12025
|
role: "status",
|
|
12026
12026
|
"aria-live": "polite",
|
|
12027
12027
|
className: "sr-only",
|
|
12028
|
-
children: `${
|
|
12028
|
+
children: `${t.length} ${t.length === 1 ? z.map.location : z.map.locations}`
|
|
12029
12029
|
}),
|
|
12030
12030
|
!U && H && c.length > 0 ? /* @__PURE__ */ L(Ee, {
|
|
12031
12031
|
adapter: H,
|
|
@@ -12047,9 +12047,9 @@ var Xt = {
|
|
|
12047
12047
|
onRouteClick: l,
|
|
12048
12048
|
onArcClick: u
|
|
12049
12049
|
}) : null,
|
|
12050
|
-
!U && H &&
|
|
12050
|
+
!U && H && t.length > 0 ? /* @__PURE__ */ L(st, {
|
|
12051
12051
|
adapter: H,
|
|
12052
|
-
points:
|
|
12052
|
+
points: t,
|
|
12053
12053
|
selectedId: Ue,
|
|
12054
12054
|
highlightedId: _,
|
|
12055
12055
|
onSelect: lt,
|
|
@@ -12109,7 +12109,7 @@ var Xt = {
|
|
|
12109
12109
|
children: /* @__PURE__ */ L(Me, {
|
|
12110
12110
|
onZoomIn: pt,
|
|
12111
12111
|
onZoomOut: mt,
|
|
12112
|
-
onFit:
|
|
12112
|
+
onFit: t.length > 0 || Et || c.length > 0 ? ht : void 0,
|
|
12113
12113
|
onLocate: gt,
|
|
12114
12114
|
labels: ee
|
|
12115
12115
|
})
|
|
@@ -12130,7 +12130,7 @@ var Xt = {
|
|
|
12130
12130
|
/* @__PURE__ */ L(Ne, {
|
|
12131
12131
|
id: Ae,
|
|
12132
12132
|
label: z.map.listLabel,
|
|
12133
|
-
points:
|
|
12133
|
+
points: t,
|
|
12134
12134
|
selectedId: Ue,
|
|
12135
12135
|
onSelect: vt,
|
|
12136
12136
|
visible: U
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Mt as e, jt as t } from "./CoachmarkProvider-C1Wi4qya.js";
|
|
2
2
|
import { r as n } from "./i18n-provider-D7vYpiid.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { w as a } from "./F0Button-CmqXenpF.js";
|
|
@@ -8,7 +8,7 @@ import { V as u, l as d } from "./useData-BurKlDd5.js";
|
|
|
8
8
|
import { ft as ee } from "./popover-bk64qM9D.js";
|
|
9
9
|
import { c as f } from "./scrollarea-BqHpAVwQ.js";
|
|
10
10
|
import { t as p } from "./F0Text-BMRM-g68.js";
|
|
11
|
-
import { o as m, t as h } from "./F0Map-
|
|
11
|
+
import { o as m, t as h } from "./F0Map-DjOgGzC-.js";
|
|
12
12
|
import { useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
13
13
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
14
14
|
//#region src/addons/data-collection/OneDataCollection/visualizations/collection/Map/components/MapNotOnMapButton.tsx
|
|
@@ -185,7 +185,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
185
185
|
let A = n(), j = Math.min(T ?? 200, 200), de = v(() => r.dataAdapter.paginationType ? {
|
|
186
186
|
...r.dataAdapter,
|
|
187
187
|
perPage: j
|
|
188
|
-
} : r.dataAdapter, [r.dataAdapter, j]), { data: fe, paginationInfo: M, isInitialLoading: N, isLoading: pe } =
|
|
188
|
+
} : r.dataAdapter, [r.dataAdapter, j]), { data: fe, paginationInfo: M, isInitialLoading: N, isLoading: pe } = t({
|
|
189
189
|
...r,
|
|
190
190
|
dataAdapter: de
|
|
191
191
|
}, { onError: ue }), P = fe.records;
|
|
@@ -319,7 +319,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
319
319
|
onClick: xe,
|
|
320
320
|
dataTestId: "map-not-on-map"
|
|
321
321
|
}),
|
|
322
|
-
search: O ? /* @__PURE__ */ S(
|
|
322
|
+
search: O ? /* @__PURE__ */ S(e, {
|
|
323
323
|
value: Z,
|
|
324
324
|
onChange: (e) => ye(e ?? ""),
|
|
325
325
|
variant: "ghost",
|
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-11-
|
|
7
|
+
generatedAt: "2026-11-16T09:31:05.457Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 314,
|
|
10
10
|
byStatus: {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as F0TagRaw, $n as ChartColorToken, $t as SidePanelContextValue, A as F0CardHorizontal, At as AiChatProviderProps, B as DetailsItemType, Ba as F0AvatarColorListProps, Bn as F0ProgressSeriesColor, Ca as PersonAvatarVariant, Cr as NavigationItem, D as ComposerMentionRef, Dn as F0TagRawProps, E as ComposerMentionPinned, Er as F0ButtonProps, G as FileAction, Ga as Badge, Gn as f0ProgressSeriesSizes, Gt as TranscribeFn, H as F0FileItem, Ha as F0AvatarColorProps, Hn as F0ProgressSeriesProps, J as FileItemSize, Ja as modules, Jn as TooltipGroupProps, Jr as F0PersonCard, K as FileItem, Ka as BadgeProps, Kn as Tooltip, La as BaseAvatar, Lr as ActionButtonVariant, M as Dropdown, N as MobileDropdown, O as ComposerMentionSearchContext, Qa as DistributiveOmit, Qt as SidePanelContent, R as DetailsItem, Rn as F0ProgressSeries, S as ComposerTranscribeFn, Sr as DropdownItemSwitch, T as ComposerMentionItem, U as F0FileItemProps, Ua as AvatarBadge, Un as F0ProgressSeriesSize, Ur as StatusVariant, V as F0FileAction, Va as F0AvatarColor, Vn as F0ProgressSeriesOptions, W as F0FileItemSize, Wn as f0ProgressSeriesColors, Xa as Props$6, Xi as VideoPlayerContent, Xn as Shortcut, Xr as F0PersonCardProps, Y as f0FileItemSizes, Yn as TooltipProps, Yr as F0PersonCardAction, _ as F0ComposerSuggestionGroup, _r as DropdownItemLabel, a as ComposerAutocomplete, ao as WithDataTestIdReturnType, b as composerVariants, br as DropdownItemSeparator, c as F0ComposerAddMenu, cn as F0CardProps, cr as AlertAvatarProps, d as F0ComposerHandle, da as DataAttributes, dr as CardSecondaryAction, en as SidePanelLayout, f as F0ComposerLabels, fa as F0AvatarModule, g as F0ComposerSuggestion, gr as DropdownItem, h as F0ComposerState, ha as AvatarVariant, ia as F0DocumentHtmlSandbox, ir as F0TagAlert, j as F0CardHorizontalProps, k as ComposerMentionSource, kr as ButtonVariant, l as F0ComposerDisclaimer, lr as F0AvatarAlert, m as F0ComposerProps, mr as DropdownContentVariant, o as ComposerAutocompletePlugin, p as F0ComposerNotice, pa as F0AvatarModuleProps, q as FileItemProps, qa as ModuleId, qn as TooltipGroup, ra as F0DocumentHtmlExecution, ro as WithDataTestIdProps, rr as F0AvatarListProps, s as F0ComposerAction, tn as SidePanelViewDefinition, to as IconType, tt as Weekdays, u as F0ComposerDraft, ur as alertAvatarTypes, v as F0ComposerVariant, vn as CardMetadata, vr as DropdownItemObject, w as ComposerMention, x as RecorderStatus, xr as DropdownItemSubmenu, y as F0ComposerVoice, yr as DropdownItemPanel, z as DetailsItemContent, za as F0AvatarColorList, zn as F0ProgressSeriesBar } from "./index-B7kv1LaD.js";
|
|
2
|
-
import { $a as NavigationFilter, $c as TabsProps, $d as QuickFilterPanelHandle, $l as ButtonToggleColor, $o as F0TextAreaInput, $r as F0RichTextEditorSkeletonProps, Aa as ListIconPaletteColor, Ac as f0MapMarkerVariants, Ad as PageBasedPaginatedResponse, Ai as NotesTextEditorHandle, Al as BarChart, Ao as SecondaryActionGroup, As as F0LocationInputChangeMeta, Ba as BulkActionsDefinition, Bc as F0DialogInternalProps, Bd as SortingsDefinition, Bi as ReplaceContentNotesTextEditorPageDocumentPatch, Bl as CategoryBarProps, Bo as getUpsellAction, Bs as CardSelectableContainer, Ca as EditableTableOnCellChangeParams, Cc as F0MapLineStyle, Cd as BasePaginatedResponse, Ci as RichTextDisplayProps, Cl as ActionBarItem, Co as GranularityDefinitionSimple, Cs as isValidPhoneValue, Da as MapUnplaced, Dc as F0MapViewportInset, Dd as ItemNeighborsFetchOptions, Di as F0NotesTextEditorSkeleton, Dl as WiggleOptions, Do as MAX_EXPANDED_ACTIONS, Ds as PhoneInputSize, Ea as VisualizationFilterOverrides, Ec as F0MapViewport, Ed as InfiniteScrollPaginatedResponse, Ei as F0NotesTextEditorProps, El as F0ActionBarRef, Eo as DatePeriodsDefinition, Es as F0PhoneInputValue, Fa as CollectionProps, Fc as googlePinlessMapStyles, Fd as PaginationType, Fi as InsertAfterNotesTextEditorPageDocumentPatch, Fl as ProgressBarChart, Fo as UpsellActionDefinition, Fs as F0LocationSuggestion, Ga as DataCollectionSourceDefinition, Gd as FilterValueByKey, Gi as Message, Gl as LineChartConfig, Go as DropPosition, Gs as CardSelectableValue, Ha as DataCollectionDataAdapter, Hd as SortingsStateMultiple, Hi as TopLevelPrependNotesTextEditorPageDocumentPatch, Hl as ChartConfig, Ho as SummaryKey, Hs as CardSelectableItem, Ia as ExtractPropertyKeys, Ic as F0MapProvider, Id as SelectedItems, Ii as InsertBeforeNotesTextEditorPageDocumentPatch, Il as RadarChart, Io as UpsellActionDefinitionFn, Is as LocationInputSize, Iu as UseDataSourceItemNavigationReturn, Ja as SearchPreviewPage, Jc as F0DialogSecondaryAction, Jd as FiltersState, Ji as EnhancementOption, Jl as BaseBannerProps, Jo as TOCItemAction, Ju as UseDataReturn, Ka as Lane, Kd as FiltersDefinition, Ki as User, Kl as BannerAction, Ko as TOCAction, La as OnLoadDataCallback, Lc as F0MapControlLabels, Ld as RecordType, Li as NotesTextEditorPageDocumentPatch, Ll as VerticalBarChart, Lo as filterActions, Ls as LocationPart, Ma as GraphVisualizationOptions, Mc as defaultMapStyle, Md as PaginatedFetchOptions, Mi as NotesTextEditorSkeleton, Ml as ComboChart, Mo as SecondaryActionSplitItem, Ms as F0LocationInputShapeProps, Na as ViewportInset, Nc as f0MapStyles, Nd as PaginatedResponse, Ni as NotesTextEditorSkeletonProps, Nl as LineChart, No as SecondaryActionsDefinition, Ns as F0LocationInputValue, Oa as MapVisualizationOptions, Oc as F0MapMarkerVariant, Od as ItemNeighborsId, Oi as F0NotesTextEditorSkeletonProps, Ol as actionBarStatuses, Oo as PrimaryActionItemDefinition, Os as phoneInputSizes, Pc as googleMapStyles, Pd as PaginationInfo, Pi as DeleteBlockNotesTextEditorPageDocumentPatch, Pl as PieChart, Po as SecondaryActionsItems, Ps as F0LocationSearchContext, Pu as DataSourceItemId, Qa as OnBulkActionCallback, Qc as Tabs, Qd as QuickFilterDefinition, Qi as lastIntentType, Ql as F0ButtonToggleProps, Qo as F0TextAreaInputInlineProps, Qr as F0RichTextEditorProps, Qs as F0TimelineRowProps, Ra as OnLoadErrorCallback, Rc as F0MapControlsProps, Rd as SortOrder, Ri as NotesTextEditorSnapshot, Rl as ComboChartProps, Ro as getPrimaryActions, Rs as locationInputSizes, S as F0DataChartProps, Sa as EditableTableColumnDefinition, Sc as F0MapLineColor, Sd as BaseFetchOptions, Si as RichTextDisplayHandle, Sl as ActionBarGroup, So as GranularityDefinition, Ss as isPossiblePhoneValue, T as F0DataChartRadarProps, Ta as Visualization, Tc as F0MapRoute, Td as DataAdapter, Ti as F0NotesTextEditorHandle, Tl as F0ActionBar, To as DatePeriod, Ts as F0PhoneInputProps, Ua as DataCollectionPaginatedFetchOptions, Ud as CurrentFilters, Ui as HeaderProps, Ul as ChartPropsBase, Uo as SummaryType, Us as CardSelectableMultipleProps, Uu as Data, Va as DataCollectionBaseFetchOptions, Vd as SortingsState, Vi as TopLevelAppendNotesTextEditorPageDocumentPatch, Vl as BarChartProps, Vo as SummariesDefinition, Vs as CardSelectableContainerProps, Wa as DataCollectionSource, Wd as FilterOptions, Wi as HeaderStatusProps, Wl as LineChartPropsBase, Wo as OneFilterPicker, Ws as CardSelectableSingleProps, Xa as BulkAction, Xc as BaseTabs, Xd as PresetSettings, Xi as enhanceTextParams, Xl as F0SegmentedControlProps, Xo as Pulse, Xr as F0RichTextEditor, Ya as SearchPreviewResultData, Yd as PresetDefinition, Yi as enhanceConfig, Yl as F0SegmentedControlItem, Yo as TOCProps, Za as BulkActionDefinition, Zc as TabItem, Zd as PresetsDefinition, Zi as enhancedTextResponse, Zl as F0ButtonToggle, Zo as F0TextAreaInputInline, Zr as F0RichTextEditorHandle, _ as F0DataChartPieProps, _a as DataCollectionStatusComplete, _c as F0MapHandle, _d as ActionDefinition, _f as WeekStartsOn, _i as MentionsConfig, _o as getGranularityDefinitions, _s as F0SearchInputProps, _u as ResolvedRecordType, ad as SelectedItemState, af as DateFilterDefinition, ai as editorStateType, al as F0ResourceHeaderProps, ao as NavigationFilterDefinitionBase, as as F0NumberInput, au as buttonToggleVariants, ba as ChipProps, bc as F0MapArc, bd as isVisibleAction, bi as F0RichTextDisplayProps, bo as DateNavigationOptions, bs as TemplateVariablesConfig, bu as Action$1, ca as ActionProps$1, cc as F0MapListProps, cd as SelectedState, cf as CalendarMode, ci as primaryActionType, cl as MetadataItemValue, co as getGranularityDefinition, cs as NumberInputProps, da as UpsellingButtonProps, dc as F0MapSidebar, df as DateRangeError, di as secondaryActionsType, do as DatePickerPopupProps, ds as F0TextInputInlineProps, du as F0SelectItemMetadata, ef as FilterDefinition, ei as RichTextEditor, el as TabsSkeleton, eo as NavigationFilterComponentProps, es as F0TextAreaInputProps, eu as ButtonToggleSize, f as F0DataChartLineProps, fc as F0MapSidebarProps, fd as SearchOptions, ff as OptionalCalendarSelection, fi as subActionType, fo as DatePickerValue, fs as F0TextInput, fu as F0SelectItemObject, gc as F0Map, gd as GroupMetadataItem, gf as WeekStartDay, gi as MentionedUser, go as NavigationGranularityKey, gs as F0SearchInput, gu as F0SelectVariant, hc as F0MapSkeletonProps, hd as GroupingState, hf as DateRangeString, hi as UPLOAD_INPUT_ID, ho as GranularityDefinitionsOptions, hs as F0TextInputProps, hu as F0SelectTagProp, ia as predefinedPresets, id as OnSelectItemsCallback, if as InFilterDefinition, ii as actionType, il as F0ResourceHeader, io as NavigationFiltersState, is as F0NumberInputInlineProps, iu as buttonToggleSizes, ja as listIconColors, jc as F0MapStyle, jd as PaginatedDataAdapter, ji as NotesTextEditorProps, jl as CategoryBarChart, jo as SecondaryActionItem, js as F0LocationInputProps, k as F0DataChartScatterProps, ka as ListIconColor, kc as F0MapMarkerVariantProps, kd as ItemNeighborsResponse, ki as NotesTextEditor, kl as AreaChart, ko as PrimaryActionsDefinitionFn, ks as F0LocationInput, l as F0DataChartGaugeProps, lc as F0MapSidebarToggle, ld as SelectionId, lf as CalendarSelection, li as resultType, ll as PrimaryActionButton, lo as getGranularitySimpleDefinition, ls as NumberInputPopoverConfig, mc as F0MapSkeleton, md as GroupingLevelState, mf as DateRangeComplete, mi as FileType, mo as GranularityDefinitionKey, ms as InputProps, mt as F0FormSchema, mu as F0SelectProps, n as F0DataChartBarProps, nc as TimelineRowStatus, nd as DataSource, nf as SearchFilterDefinition, ni as RichTextEditorProps, nl as NavigationTarget, no as NavigationFilterValue, ns as TextareaProps, nu as F0ButtonToggleSelectionProps, oa as DataCollectionStorage, od as SelectedItemsDetailedStatus, of as CalendarDate, oi as filesConfig, ol as HeaderSecondaryAction, oo as OneCalendar, os as F0NumberInputProps, pc as F0MapControls, pd as GroupingDefinition, pf as DateRange, pi as FILE_TYPES, po as DatePreset, ps as Input, pu as F0SelectItemProps, qa as SearchPreview, qd as FiltersMode, qi as ImageUploadConfig, ql as BaseBanner, qo as TOCItem, qu as UseDataOptions, ra as OneEmptyState, rd as DataSourceDefinition, rf as NumberFilterDefinition, ri as RichTextEditorSkeletonProps, rl as PageNavigation, ro as NavigationFiltersDefinition, rs as F0NumberInputInline, ru as buttonToggleColors, s as F0DataChartFunnelProps, sc as F0MapList, sd as SelectedItemsState, sf as CalendarDateMatcher, si as heightType, sl as MetadataItem, so as OneCalendarProps, ss as NumberInput, su as F0Select, td as PromiseOrObservable, tf as FilterValue, ti as RichTextEditorHandle, tl as NavigationProps, to as NavigationFilterDefinition, ts as Textarea, tu as ButtonToggleVariant, u as F0DataChartHeatmapProps, uc as F0MapSidebarToggleProps, uf as CalendarView, ui as secondaryActionType, ul as PrimaryDropdownAction, uo as rangeSeparator, us as F0TextInputInline, va as DataCollectionStorageFeaturesDefinition, vc as F0MapProjection, vd as ItemActionsDefinition, vi as F0RichTextDisplay, vo as granularityDefinitions, vs as F1SearchBox, vu as selectSizes, wa as CustomVisualizationProps, wc as F0MapPoint, wd as BaseResponse, wi as F0NotesTextEditor, wl as ActionBarStatus, wo as PrevNextDateNavigation, ws as F0PhoneInputChangeMeta, xa as chipVariants, xc as F0MapArea, xd as BaseDataAdapter, xi as RichTextDisplay, xo as DateStringFormat, xs as F0PhoneInput, xu as InputFieldProps, ya as Chip, yc as F0MapProps, yd as filterItemActions, yi as F0RichTextDisplayHandle, yo as resolveGranularityDefinition, ys as TemplateVariable, yu as selectVariants, za as TableVisualizationType, zd as SortingKey, zi as ReplaceBlockNotesTextEditorPageDocumentPatch, zl as PieChartProps, zo as getSecondaryActions, zs as locationParts } from "./types-
|
|
2
|
+
import { $a as NavigationFilter, $c as TabsProps, $d as QuickFilterPanelHandle, $l as ButtonToggleColor, $o as F0TextAreaInput, $r as F0RichTextEditorSkeletonProps, Aa as ListIconPaletteColor, Ac as f0MapMarkerVariants, Ad as PageBasedPaginatedResponse, Ai as NotesTextEditorHandle, Al as BarChart, Ao as SecondaryActionGroup, As as F0LocationInputChangeMeta, Ba as BulkActionsDefinition, Bc as F0DialogInternalProps, Bd as SortingsDefinition, Bi as ReplaceContentNotesTextEditorPageDocumentPatch, Bl as CategoryBarProps, Bo as getUpsellAction, Bs as CardSelectableContainer, Ca as EditableTableOnCellChangeParams, Cc as F0MapLineStyle, Cd as BasePaginatedResponse, Ci as RichTextDisplayProps, Cl as ActionBarItem, Co as GranularityDefinitionSimple, Cs as isValidPhoneValue, Da as MapUnplaced, Dc as F0MapViewportInset, Dd as ItemNeighborsFetchOptions, Di as F0NotesTextEditorSkeleton, Dl as WiggleOptions, Do as MAX_EXPANDED_ACTIONS, Ds as PhoneInputSize, Ea as VisualizationFilterOverrides, Ec as F0MapViewport, Ed as InfiniteScrollPaginatedResponse, Ei as F0NotesTextEditorProps, El as F0ActionBarRef, Eo as DatePeriodsDefinition, Es as F0PhoneInputValue, Fa as CollectionProps, Fc as googlePinlessMapStyles, Fd as PaginationType, Fi as InsertAfterNotesTextEditorPageDocumentPatch, Fl as ProgressBarChart, Fo as UpsellActionDefinition, Fs as F0LocationSuggestion, Ga as DataCollectionSourceDefinition, Gd as FilterValueByKey, Gi as Message, Gl as LineChartConfig, Go as DropPosition, Gs as CardSelectableValue, Ha as DataCollectionDataAdapter, Hd as SortingsStateMultiple, Hi as TopLevelPrependNotesTextEditorPageDocumentPatch, Hl as ChartConfig, Ho as SummaryKey, Hs as CardSelectableItem, Ia as ExtractPropertyKeys, Ic as F0MapProvider, Id as SelectedItems, Ii as InsertBeforeNotesTextEditorPageDocumentPatch, Il as RadarChart, Io as UpsellActionDefinitionFn, Is as LocationInputSize, Iu as UseDataSourceItemNavigationReturn, Ja as SearchPreviewPage, Jc as F0DialogSecondaryAction, Jd as FiltersState, Ji as EnhancementOption, Jl as BaseBannerProps, Jo as TOCItemAction, Ju as UseDataReturn, Ka as Lane, Kd as FiltersDefinition, Ki as User, Kl as BannerAction, Ko as TOCAction, La as OnLoadDataCallback, Lc as F0MapControlLabels, Ld as RecordType, Li as NotesTextEditorPageDocumentPatch, Ll as VerticalBarChart, Lo as filterActions, Ls as LocationPart, Ma as GraphVisualizationOptions, Mc as defaultMapStyle, Md as PaginatedFetchOptions, Mi as NotesTextEditorSkeleton, Ml as ComboChart, Mo as SecondaryActionSplitItem, Ms as F0LocationInputShapeProps, Na as ViewportInset, Nc as f0MapStyles, Nd as PaginatedResponse, Ni as NotesTextEditorSkeletonProps, Nl as LineChart, No as SecondaryActionsDefinition, Ns as F0LocationInputValue, Oa as MapVisualizationOptions, Oc as F0MapMarkerVariant, Od as ItemNeighborsId, Oi as F0NotesTextEditorSkeletonProps, Ol as actionBarStatuses, Oo as PrimaryActionItemDefinition, Os as phoneInputSizes, Pc as googleMapStyles, Pd as PaginationInfo, Pi as DeleteBlockNotesTextEditorPageDocumentPatch, Pl as PieChart, Po as SecondaryActionsItems, Ps as F0LocationSearchContext, Pu as DataSourceItemId, Qa as OnBulkActionCallback, Qc as Tabs, Qd as QuickFilterDefinition, Qi as lastIntentType, Ql as F0ButtonToggleProps, Qo as F0TextAreaInputInlineProps, Qr as F0RichTextEditorProps, Qs as F0TimelineRowProps, Ra as OnLoadErrorCallback, Rc as F0MapControlsProps, Rd as SortOrder, Ri as NotesTextEditorSnapshot, Rl as ComboChartProps, Ro as getPrimaryActions, Rs as locationInputSizes, S as F0DataChartProps, Sa as EditableTableColumnDefinition, Sc as F0MapLineColor, Sd as BaseFetchOptions, Si as RichTextDisplayHandle, Sl as ActionBarGroup, So as GranularityDefinition, Ss as isPossiblePhoneValue, T as F0DataChartRadarProps, Ta as Visualization, Tc as F0MapRoute, Td as DataAdapter, Ti as F0NotesTextEditorHandle, Tl as F0ActionBar, To as DatePeriod, Ts as F0PhoneInputProps, Ua as DataCollectionPaginatedFetchOptions, Ud as CurrentFilters, Ui as HeaderProps, Ul as ChartPropsBase, Uo as SummaryType, Us as CardSelectableMultipleProps, Uu as Data, Va as DataCollectionBaseFetchOptions, Vd as SortingsState, Vi as TopLevelAppendNotesTextEditorPageDocumentPatch, Vl as BarChartProps, Vo as SummariesDefinition, Vs as CardSelectableContainerProps, Wa as DataCollectionSource, Wd as FilterOptions, Wi as HeaderStatusProps, Wl as LineChartPropsBase, Wo as OneFilterPicker, Ws as CardSelectableSingleProps, Xa as BulkAction, Xc as BaseTabs, Xd as PresetSettings, Xi as enhanceTextParams, Xl as F0SegmentedControlProps, Xo as Pulse, Xr as F0RichTextEditor, Ya as SearchPreviewResultData, Yd as PresetDefinition, Yi as enhanceConfig, Yl as F0SegmentedControlItem, Yo as TOCProps, Za as BulkActionDefinition, Zc as TabItem, Zd as PresetsDefinition, Zi as enhancedTextResponse, Zl as F0ButtonToggle, Zo as F0TextAreaInputInline, Zr as F0RichTextEditorHandle, _ as F0DataChartPieProps, _a as DataCollectionStatusComplete, _c as F0MapHandle, _d as ActionDefinition, _f as WeekStartsOn, _i as MentionsConfig, _o as getGranularityDefinitions, _s as F0SearchInputProps, _u as ResolvedRecordType, ad as SelectedItemState, af as DateFilterDefinition, ai as editorStateType, al as F0ResourceHeaderProps, ao as NavigationFilterDefinitionBase, as as F0NumberInput, au as buttonToggleVariants, ba as ChipProps, bc as F0MapArc, bd as isVisibleAction, bi as F0RichTextDisplayProps, bo as DateNavigationOptions, bs as TemplateVariablesConfig, bu as Action$1, ca as ActionProps$1, cc as F0MapListProps, cd as SelectedState, cf as CalendarMode, ci as primaryActionType, cl as MetadataItemValue, co as getGranularityDefinition, cs as NumberInputProps, da as UpsellingButtonProps, dc as F0MapSidebar, df as DateRangeError, di as secondaryActionsType, do as DatePickerPopupProps, ds as F0TextInputInlineProps, du as F0SelectItemMetadata, ef as FilterDefinition, ei as RichTextEditor, el as TabsSkeleton, eo as NavigationFilterComponentProps, es as F0TextAreaInputProps, eu as ButtonToggleSize, f as F0DataChartLineProps, fc as F0MapSidebarProps, fd as SearchOptions, ff as OptionalCalendarSelection, fi as subActionType, fo as DatePickerValue, fs as F0TextInput, fu as F0SelectItemObject, gc as F0Map, gd as GroupMetadataItem, gf as WeekStartDay, gi as MentionedUser, go as NavigationGranularityKey, gs as F0SearchInput, gu as F0SelectVariant, hc as F0MapSkeletonProps, hd as GroupingState, hf as DateRangeString, hi as UPLOAD_INPUT_ID, ho as GranularityDefinitionsOptions, hs as F0TextInputProps, hu as F0SelectTagProp, ia as predefinedPresets, id as OnSelectItemsCallback, if as InFilterDefinition, ii as actionType, il as F0ResourceHeader, io as NavigationFiltersState, is as F0NumberInputInlineProps, iu as buttonToggleSizes, ja as listIconColors, jc as F0MapStyle, jd as PaginatedDataAdapter, ji as NotesTextEditorProps, jl as CategoryBarChart, jo as SecondaryActionItem, js as F0LocationInputProps, k as F0DataChartScatterProps, ka as ListIconColor, kc as F0MapMarkerVariantProps, kd as ItemNeighborsResponse, ki as NotesTextEditor, kl as AreaChart, ko as PrimaryActionsDefinitionFn, ks as F0LocationInput, l as F0DataChartGaugeProps, lc as F0MapSidebarToggle, ld as SelectionId, lf as CalendarSelection, li as resultType, ll as PrimaryActionButton, lo as getGranularitySimpleDefinition, ls as NumberInputPopoverConfig, mc as F0MapSkeleton, md as GroupingLevelState, mf as DateRangeComplete, mi as FileType, mo as GranularityDefinitionKey, ms as InputProps, mt as F0FormSchema, mu as F0SelectProps, n as F0DataChartBarProps, nc as TimelineRowStatus, nd as DataSource, nf as SearchFilterDefinition, ni as RichTextEditorProps, nl as NavigationTarget, no as NavigationFilterValue, ns as TextareaProps, nu as F0ButtonToggleSelectionProps, oa as DataCollectionStorage, od as SelectedItemsDetailedStatus, of as CalendarDate, oi as filesConfig, ol as HeaderSecondaryAction, oo as OneCalendar, os as F0NumberInputProps, pc as F0MapControls, pd as GroupingDefinition, pf as DateRange, pi as FILE_TYPES, po as DatePreset, ps as Input, pu as F0SelectItemProps, qa as SearchPreview, qd as FiltersMode, qi as ImageUploadConfig, ql as BaseBanner, qo as TOCItem, qu as UseDataOptions, ra as OneEmptyState, rd as DataSourceDefinition, rf as NumberFilterDefinition, ri as RichTextEditorSkeletonProps, rl as PageNavigation, ro as NavigationFiltersDefinition, rs as F0NumberInputInline, ru as buttonToggleColors, s as F0DataChartFunnelProps, sc as F0MapList, sd as SelectedItemsState, sf as CalendarDateMatcher, si as heightType, sl as MetadataItem, so as OneCalendarProps, ss as NumberInput, su as F0Select, td as PromiseOrObservable, tf as FilterValue, ti as RichTextEditorHandle, tl as NavigationProps, to as NavigationFilterDefinition, ts as Textarea, tu as ButtonToggleVariant, u as F0DataChartHeatmapProps, uc as F0MapSidebarToggleProps, uf as CalendarView, ui as secondaryActionType, ul as PrimaryDropdownAction, uo as rangeSeparator, us as F0TextInputInline, va as DataCollectionStorageFeaturesDefinition, vc as F0MapProjection, vd as ItemActionsDefinition, vi as F0RichTextDisplay, vo as granularityDefinitions, vs as F1SearchBox, vu as selectSizes, wa as CustomVisualizationProps, wc as F0MapPoint, wd as BaseResponse, wi as F0NotesTextEditor, wl as ActionBarStatus, wo as PrevNextDateNavigation, ws as F0PhoneInputChangeMeta, xa as chipVariants, xc as F0MapArea, xd as BaseDataAdapter, xi as RichTextDisplay, xo as DateStringFormat, xs as F0PhoneInput, xu as InputFieldProps, ya as Chip, yc as F0MapProps, yd as filterItemActions, yi as F0RichTextDisplayHandle, yo as resolveGranularityDefinition, ys as TemplateVariable, yu as selectVariants, za as TableVisualizationType, zd as SortingKey, zi as ReplaceBlockNotesTextEditorPageDocumentPatch, zl as PieChartProps, zo as getSecondaryActions, zs as locationParts } from "./types-BfNTJIHT.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";
|
|
@@ -5003,10 +5003,10 @@ type ExcelExportOptions = CSVExportOptions;
|
|
|
5003
5003
|
/**
|
|
5004
5004
|
* Download collection records as an Excel workbook with one "Data" sheet.
|
|
5005
5005
|
* Takes the same arguments as `downloadAsCSV`, so both formats export the
|
|
5006
|
-
* same visible columns in the same order.
|
|
5007
|
-
* stay numeric, empty values stay
|
|
5008
|
-
*
|
|
5009
|
-
* as a formula.
|
|
5006
|
+
* same visible columns in the same order. Uses `excelValue` when provided,
|
|
5007
|
+
* otherwise the display renderer. Numbers stay numeric, empty values stay
|
|
5008
|
+
* blank, and other cells become readable text, cut at Excel's cell limit.
|
|
5009
|
+
* Worksheet text is never evaluated as a formula.
|
|
5010
5010
|
*/
|
|
5011
5011
|
export declare function downloadAsExcel<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>>(data: R[], visualization: Visualization<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping> | undefined, options?: ExcelExportOptions): Promise<void>;
|
|
5012
5012
|
//#endregion
|