@factorialco/f0-react 10.17.0 → 10.17.1
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-BrFO4dUM.js → ChatPostComposerDialog-Dy9Bc6xI.js} +1 -1
- package/dist/{CoachmarkProvider-wJuq_MOd.js → CoachmarkProvider-9OvXRTHG.js} +2 -2
- package/dist/{F0Map-3gjaLOrR.js → F0Map-Bu2AMIUf.js} +16 -16
- package/dist/{Map-z7w2uK4I.js → Map-DzJXQ-bz.js} +4 -4
- package/dist/component-status.js +2 -2
- package/dist/experimental.js +638 -638
- package/dist/f0.js +2429 -2402
- package/dist/{maplibre-CYMg4HQB.js → maplibre-6nvRH0dC.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./CoachmarkProvider-
|
|
1
|
+
import { j as e } from "./CoachmarkProvider-9OvXRTHG.js";
|
|
2
2
|
import { rn as t } from "./popover-DNcAIP25.js";
|
|
3
3
|
import { rr as n } from "./F0CanvasPanel-QT6bjBRY.js";
|
|
4
4
|
import { a as r, f as i, i as a, u as o } from "./posts-DgzHTT_B.js";
|
|
@@ -81590,7 +81590,7 @@ var eZ = ({ lanes: e, renderCard: t, getKey: n, onCreate: r, onMove: i, idProvid
|
|
|
81590
81590
|
})]
|
|
81591
81591
|
})
|
|
81592
81592
|
});
|
|
81593
|
-
}, T8e = rre(() => import("./Map-
|
|
81593
|
+
}, T8e = rre(() => import("./Map-DzJXQ-bz.js").then((e) => ({ default: e.MapCollection }))), iZ = {
|
|
81594
81594
|
table: {
|
|
81595
81595
|
name: "Table",
|
|
81596
81596
|
icon: Oee,
|
|
@@ -119061,4 +119061,4 @@ var Qkt = Ee("F0Coachmark", Zkt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set
|
|
|
119061
119061
|
}, c.id) : null, e] });
|
|
119062
119062
|
};
|
|
119063
119063
|
//#endregion
|
|
119064
|
-
export { P2 as $,
|
|
119064
|
+
export { P2 as $, xV as $n, eo as $r, sK as $t, nSt as A, aH as An, Ks as Ar, sJ as At, a8 as B, oVe as Bn, Go as Br, Yq as Bt, KCt as C, fH as Cn, hue as Cr, A8e as Ct, HSt as D, cH as Dn, tc as Dr, o8e as Dt, V8 as E, lH as En, Mc as Er, f8e as Et, m8 as F, qV as Fn, poe as Fr, kKe as Ft, Lyt as G, JBe as Gn, fo as Gr, Pq as Gt, Gyt as H, XBe as Hn, Mie as Hr, Gq as Ht, h8 as I, JV as In, Ss as Ir, DKe as It, Xvt as J, SV as Jn, xie as Jr, Tq as Jt, byt as K, wV as Kn, Sie as Kr, Nq as Kt, $bt as L, YV as Ln, Es as Lr, TKe as Lt, qxt as M, $V as Mn, Aoe as Mr, tJ as Mt, _8 as N, QV as Nn, voe as Nr, KKe as Nt, wSt as O, CVe as On, Xs as Or, u8e as Ot, v8 as P, XV as Pn, qae as Pr, eJ as Pt, A2 as Q, UBe as Qn, ro as Qr, mK as Qt, s8 as R, WV as Rn, Qo as Rr, Zq as Rt, ikt as S, pH as Sn, gue as Sr, v5e as St, OCt as T, TVe as Tn, eue as Tr, P8e as Tt, Jyt as U, YBe as Un, Die as Ur, Kq as Ut, Yyt as V, RV as Vn, zo as Vr, qq as Vt, Ryt as W, TV as Wn, po as Wr, Uq as Wt, fmt as X, WBe as Xn, no as Xr, mq as Xt, _mt as Y, GBe as Yn, to as Yr, hq as Yt, kft as Z, HBe as Zn, so as Zr, rq as Zt, skt as _, sU as _n, Fue as _r, Z8e as _t, Nkt as a, Va as ai, jG as an, OB as ar, xZ as at, N9 as b, $H as bn, Dl as br, g5e as bt, wkt as c, OG as cn, Rl as cr, M5e as ct, ykt as d, AW as dn, Oue as dr, A5e as dt, Xa as ei, iK as en, vV as er, t0 as et, _kt as f, gU as fn, kue as fr, O5e as ft, ukt as g, cU as gn, Nue as gr, q8e as gt, pkt as h, aU as hn, jue as hr, cZ as ht, Mkt as i, Ua as ii, MG as in, DBe as ir, Ltt as it, b8 as j, eH as jn, Noe as jr, oqe as jt, C8 as k, sH as kn, Soe as kr, P6e as kt, F9 as l, EG as ln, Al as lr, j5e as lt, mkt as m, mU as mn, Aue as mr, T5e as mt, $9 as n, Ka as ni, KG as nn, gV as nr, e$ as nt, Pkt as o, kG as on, Nxe as or, r7e as ot, hkt as p, hU as pn, Pue as pr, k5e as pt, J6 as q, qBe as qn, uo as qr, pKe as qt, Z9 as r, Ga as ri, WG as rn, PBe as rr, n$ as rt, jkt as s, DG as sn, Mxe as sr, F5e as st, sAt as t, Ja as ti, YG as tn, IBe as tr, D0 as tt, I9 as u, CG as un, Due as ur, fZ as ut, okt as v, tU as vn, Mue as vr, h5e as vt, ACt as w, dH as wn, mue as wr, j8e as wt, rkt as x, JH as xn, El as xr, _5e as xt, nkt as y, eU as yn, kl as yr, dZ as yt, cbt as z, UV as zn, Wo as zr, Xq as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e,
|
|
1
|
+
import { a as e, o as t, ri as n } from "./CoachmarkProvider-9OvXRTHG.js";
|
|
2
2
|
import { Ht as r, Lt as i, Mt as a, Zn as o, b as s, gn as c, in as l, ir as u, mn as d, rn as f } from "./popover-DNcAIP25.js";
|
|
3
3
|
import { L as p, R as m } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { n as h, r as g } from "./F0Text-eOwHoc51.js";
|
|
@@ -143,8 +143,8 @@ var ce = (e, t) => ({
|
|
|
143
143
|
}, L = (e) => Ce[e], R = 5.6, we = 1.5, Te = () => {
|
|
144
144
|
let e = Ce.xl;
|
|
145
145
|
return -(e.d - e.caretOverlap + e.caretH + R + we) + 3;
|
|
146
|
-
}, z = "hsl(var(--white-100))", B = O(function(e,
|
|
147
|
-
let { size: r = "md", selected: i = !1, collapsed: a = !1, label: s, showLabel: d = !0, labelPlacement: f = "right", onClick: h, ariaLabel: g, presentational: _ = !1, dataTestId: v, className: y } = e, b = e.variant ?? "color", x = Ce[i ? "xl" : r], S = !!h, w = b === "color" || b === "icon" || b === "letter", T = b === "person" && "firstName" in e ? e.firstName + e.lastName : (b === "team" || b === "company") && "name" in e ? e.name : null, te = w ? e.color ?? "radical" : T ? b === "person" && "src" in e && e.src ? "grey" : ee(T) ?? "grey" : "neutral", ne =
|
|
146
|
+
}, z = "hsl(var(--white-100))", B = O(function(e, t) {
|
|
147
|
+
let { size: r = "md", selected: i = !1, collapsed: a = !1, label: s, showLabel: d = !0, labelPlacement: f = "right", onClick: h, ariaLabel: g, presentational: _ = !1, dataTestId: v, className: y } = e, b = e.variant ?? "color", x = Ce[i ? "xl" : r], S = !!h, w = b === "color" || b === "icon" || b === "letter", T = b === "person" && "firstName" in e ? e.firstName + e.lastName : (b === "team" || b === "company") && "name" in e ? e.name : null, te = w ? e.color ?? "radical" : T ? b === "person" && "src" in e && e.src ? "grey" : ee(T) ?? "grey" : "neutral", ne = n(), E = i ? 32 : {
|
|
148
148
|
xs: 12,
|
|
149
149
|
sm: 16,
|
|
150
150
|
md: 20,
|
|
@@ -322,7 +322,7 @@ var ce = (e, t) => ({
|
|
|
322
322
|
return /* @__PURE__ */ F(u, {
|
|
323
323
|
dataTestId: v,
|
|
324
324
|
children: S ? /* @__PURE__ */ F("button", {
|
|
325
|
-
ref:
|
|
325
|
+
ref: t,
|
|
326
326
|
type: "button",
|
|
327
327
|
..._ ? {
|
|
328
328
|
tabIndex: -1,
|
|
@@ -1593,7 +1593,7 @@ var rn = {
|
|
|
1593
1593
|
isDark: e
|
|
1594
1594
|
};
|
|
1595
1595
|
}, ln = {
|
|
1596
|
-
maplibre: async () => (await import("./maplibre-
|
|
1596
|
+
maplibre: async () => (await import("./maplibre-6nvRH0dC.js")).createMaplibreAdapter,
|
|
1597
1597
|
google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
|
|
1598
1598
|
}, un = /* @__PURE__ */ new Map(), dn = (e, t) => {
|
|
1599
1599
|
let n = un.get(e);
|
|
@@ -11747,8 +11747,8 @@ var rn = {
|
|
|
11747
11747
|
maxZoom: u
|
|
11748
11748
|
});
|
|
11749
11749
|
d && (n ? e.easeTo(d, { animate: n }) : e.jumpTo(d, { animate: n }));
|
|
11750
|
-
}, Dn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, On = O(function({ markers:
|
|
11751
|
-
let Ce = C ?? (D ? "greedy" : "cooperative"), L = f(), R = e(_e), we =
|
|
11750
|
+
}, Dn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, On = O(function({ markers: n = [], routes: r = [], arcs: i = [], areas: o = [], onRouteClick: s, onArcClick: c, selectedMarkerId: l, defaultSelectedMarkerId: d = null, onMarkerSelect: m, onMarkerDrag: h, onMarkerDragEnd: g, highlightedId: _ = null, viewportInset: v, centerOnMarkerClick: y = !1, fitToMarkers: b, initialViewport: x, mapStyle: S, interactive: ee = !0, gestureHandling: C, minZoom: w, maxZoom: T = 18, showControls: te = !0, controlLabels: ne, showCurrentLocation: E = !1, fullScreen: D = !1, onSidebarToggle: O, sidebarExpanded: A = !1, sidebarToggleAddon: ae, sidebarHeaderStart: M, sidebar: se, detail: pe, detailOpen: me = !1, clearSelectionOnBackgroundClick: he = !0, projection: ge = "mercator", provider: _e, loading: ve = !1, ariaLabel: ye, dataTestId: be, className: xe }, Se) {
|
|
11751
|
+
let Ce = C ?? (D ? "greedy" : "cooperative"), L = f(), R = e(_e), we = t(), Te = N(null), z = N(null), [B, Ee] = P(null), [V, De] = P(!1), [ke, H] = P(!1), [Ae, je] = P(0), Me = re(), G = a(), { containerRef: Ie, isDark: Le } = cn(), Re = k((e) => {
|
|
11752
11752
|
Te.current = e, Ie(e);
|
|
11753
11753
|
}, [Ie]), ze = Le, Be = !S || S.provider === R, Ve = Be ? S ?? xn(R) : xn(R), K = ze ? Ve.dark : Ve.light, He = N(!1);
|
|
11754
11754
|
j(() => {
|
|
@@ -11760,8 +11760,8 @@ var rn = {
|
|
|
11760
11760
|
]);
|
|
11761
11761
|
let [Ue, We] = P(d), q = l === void 0 ? Ue : l, Ge = k((e) => {
|
|
11762
11762
|
l === void 0 && We(e), m?.(e);
|
|
11763
|
-
}, [l, m]), J = A && !!O, Ke = me && !!pe, qe = J ? U.inset + U.listWidth + U.gap : U.inset, Je = J ? U.inset : U.inset + U.toggleSize + U.gap, Ye = Ke ? qe + U.detailWidth : J ? U.inset + U.listWidth : null, Xe = ce(v, { left: Ye === null ? 0 : Ye + U.gap }), Y = N(
|
|
11764
|
-
Y.current =
|
|
11763
|
+
}, [l, m]), J = A && !!O, Ke = me && !!pe, qe = J ? U.inset + U.listWidth + U.gap : U.inset, Je = J ? U.inset : U.inset + U.toggleSize + U.gap, Ye = Ke ? qe + U.detailWidth : J ? U.inset + U.listWidth : null, Xe = ce(v, { left: Ye === null ? 0 : Ye + U.gap }), Y = N(n);
|
|
11764
|
+
Y.current = n;
|
|
11765
11765
|
let Ze = N(r);
|
|
11766
11766
|
Ze.current = r;
|
|
11767
11767
|
let Qe = N(i);
|
|
@@ -11823,8 +11823,8 @@ var rn = {
|
|
|
11823
11823
|
G
|
|
11824
11824
|
]), ut = N(!1);
|
|
11825
11825
|
j(() => {
|
|
11826
|
-
ut.current ||
|
|
11827
|
-
}, [
|
|
11826
|
+
ut.current || n.length <= 200 || (ut.current = !0, console.warn(`F0Map: ${n.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.`));
|
|
11827
|
+
}, [n.length]);
|
|
11828
11828
|
let { coords: dt, request: ft } = sn(E), pt = k(() => {
|
|
11829
11829
|
Z.current = null, z.current?.zoomIn();
|
|
11830
11830
|
}, []), mt = k(() => {
|
|
@@ -12009,7 +12009,7 @@ var rn = {
|
|
|
12009
12009
|
role: "status",
|
|
12010
12010
|
"aria-live": "polite",
|
|
12011
12011
|
className: "sr-only",
|
|
12012
|
-
children: `${
|
|
12012
|
+
children: `${n.length} ${n.length === 1 ? L.map.location : L.map.locations}`
|
|
12013
12013
|
}),
|
|
12014
12014
|
!V && B && o.length > 0 ? /* @__PURE__ */ F(Oe, {
|
|
12015
12015
|
adapter: B,
|
|
@@ -12031,9 +12031,9 @@ var rn = {
|
|
|
12031
12031
|
onRouteClick: s,
|
|
12032
12032
|
onArcClick: c
|
|
12033
12033
|
}) : null,
|
|
12034
|
-
!V && B &&
|
|
12034
|
+
!V && B && n.length > 0 ? /* @__PURE__ */ F(st, {
|
|
12035
12035
|
adapter: B,
|
|
12036
|
-
points:
|
|
12036
|
+
points: n,
|
|
12037
12037
|
selectedId: q,
|
|
12038
12038
|
highlightedId: _,
|
|
12039
12039
|
onSelect: lt,
|
|
@@ -12093,7 +12093,7 @@ var rn = {
|
|
|
12093
12093
|
children: /* @__PURE__ */ F(Pe, {
|
|
12094
12094
|
onZoomIn: pt,
|
|
12095
12095
|
onZoomOut: mt,
|
|
12096
|
-
onFit:
|
|
12096
|
+
onFit: n.length > 0 || Et || o.length > 0 ? ht : void 0,
|
|
12097
12097
|
onLocate: gt,
|
|
12098
12098
|
labels: ne
|
|
12099
12099
|
})
|
|
@@ -12114,7 +12114,7 @@ var rn = {
|
|
|
12114
12114
|
/* @__PURE__ */ F(Fe, {
|
|
12115
12115
|
id: Me,
|
|
12116
12116
|
label: L.map.listLabel,
|
|
12117
|
-
points:
|
|
12117
|
+
points: n,
|
|
12118
12118
|
selectedId: q,
|
|
12119
12119
|
onSelect: vt,
|
|
12120
12120
|
visible: V
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Mt as e,
|
|
1
|
+
import { Mt as e, Nt as t } from "./CoachmarkProvider-9OvXRTHG.js";
|
|
2
2
|
import { Vt as n, in as r, pt as i, rn as a } from "./popover-DNcAIP25.js";
|
|
3
3
|
import { L as o, R as s } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { t as c } from "./F0Text-eOwHoc51.js";
|
|
5
5
|
import { Hr as l, Ur as u, Wr as d } from "./F0CanvasPanel-QT6bjBRY.js";
|
|
6
6
|
import { L as f, l as p, q as ee } from "./useData-zygrn6e-.js";
|
|
7
|
-
import { o as m, t as h } from "./F0Map-
|
|
7
|
+
import { o as m, t as h } from "./F0Map-Bu2AMIUf.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
|
|
@@ -181,7 +181,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: r, avatars: i, onClick: a, dat
|
|
|
181
181
|
let A = a(), j = Math.min(T ?? 200, 200), de = v(() => n.dataAdapter.paginationType ? {
|
|
182
182
|
...n.dataAdapter,
|
|
183
183
|
perPage: j
|
|
184
|
-
} : n.dataAdapter, [n.dataAdapter, j]), { data: fe, paginationInfo: M, isInitialLoading: N, isLoading: pe } =
|
|
184
|
+
} : n.dataAdapter, [n.dataAdapter, j]), { data: fe, paginationInfo: M, isInitialLoading: N, isLoading: pe } = e({
|
|
185
185
|
...n,
|
|
186
186
|
dataAdapter: de
|
|
187
187
|
}, { onError: ue }), P = fe.records;
|
|
@@ -315,7 +315,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: r, avatars: i, onClick: a, dat
|
|
|
315
315
|
onClick: xe,
|
|
316
316
|
dataTestId: "map-not-on-map"
|
|
317
317
|
}),
|
|
318
|
-
search: O ? /* @__PURE__ */ S(
|
|
318
|
+
search: O ? /* @__PURE__ */ S(t, {
|
|
319
319
|
value: Z,
|
|
320
320
|
onChange: (e) => ye(e ?? ""),
|
|
321
321
|
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-10-27T09:
|
|
7
|
+
generatedAt: "2026-10-27T09:41:56.099Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 309,
|
|
10
10
|
byStatus: {
|
|
@@ -6549,7 +6549,7 @@ var u = {
|
|
|
6549
6549
|
tags: [],
|
|
6550
6550
|
hasStories: !0,
|
|
6551
6551
|
hasUnitTests: !0,
|
|
6552
|
-
hasPlayFunction: !
|
|
6552
|
+
hasPlayFunction: !0,
|
|
6553
6553
|
hasSnapshot: !1,
|
|
6554
6554
|
hasMdxDocs: !1,
|
|
6555
6555
|
docQuality: "none",
|