@factorialco/f0-react 13.5.0 → 13.7.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-DeP9Phs8.js → ChatPostComposerDialog-DpGmDp-T.js} +1 -1
- package/dist/{CoachmarkProvider-CuUjs6QC.js → CoachmarkProvider-DEQCQBiS.js} +140 -81
- package/dist/{F0Map-tFtFJtP4.js → F0Map-h_d1Gu-_.js} +2 -2
- package/dist/{Map-B8TeG7oj.js → Map-B1sIoNac.js} +2 -2
- package/dist/component-status.js +2 -2
- package/dist/experimental.d.ts +20 -10
- package/dist/experimental.js +608 -591
- package/dist/f0.js +1 -1
- package/dist/{maplibre-BkIfNzww.js → maplibre-DNAzGJNy.js} +1 -1
- package/dist/styles.css +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-DEQCQBiS.js";
|
|
2
2
|
import { r as t } from "./i18n-provider-aZCxX7lT.js";
|
|
3
3
|
import { Vr as n } from "./F0CanvasPanel-DxGAla5J.js";
|
|
4
4
|
import { a as r, f as i, i as a, u as o } from "./posts-i2uZfohA.js";
|
|
@@ -82453,7 +82453,7 @@ var dY = ({ lanes: e, renderCard: t, getKey: n, onCreate: r, onMove: i, idProvid
|
|
|
82453
82453
|
})]
|
|
82454
82454
|
})
|
|
82455
82455
|
});
|
|
82456
|
-
}, z7e = dre(() => import("./Map-
|
|
82456
|
+
}, z7e = dre(() => import("./Map-B1sIoNac.js").then((e) => ({ default: e.MapCollection }))), xY = {
|
|
82457
82457
|
table: {
|
|
82458
82458
|
name: "Table",
|
|
82459
82459
|
icon: tee,
|
|
@@ -119904,8 +119904,8 @@ var _At = (e, t) => (t === 1 ? e.one : e.other).replace("{{count}}", String(t)),
|
|
|
119904
119904
|
let n = setTimeout(() => r(!1), RAt);
|
|
119905
119905
|
return () => clearTimeout(n);
|
|
119906
119906
|
}, [e, t]), n;
|
|
119907
|
-
}, BAt = ({ target: e, container: t, onOutsideInteraction: n }) => {
|
|
119908
|
-
let
|
|
119907
|
+
}, BAt = ({ target: e, container: t, onOutsideInteraction: n, suspended: r = !1 }) => {
|
|
119908
|
+
let i = IAt(e), a = LAt(e), o = zAt(e, !L());
|
|
119909
119909
|
return H(() => {
|
|
119910
119910
|
if (typeof e.scrollIntoView != "function") return;
|
|
119911
119911
|
let t = () => e.scrollIntoView({
|
|
@@ -119918,27 +119918,43 @@ var _At = (e, t) => (t === 1 ? e.one : e.other).replace("{{count}}", String(t)),
|
|
|
119918
119918
|
}, [e]), typeof document > "u" ? null : qi(/* @__PURE__ */ K("div", {
|
|
119919
119919
|
"aria-hidden": !0,
|
|
119920
119920
|
"data-f0-coachmark-blocker": !0,
|
|
119921
|
-
className: "fixed inset-0 z-[
|
|
119921
|
+
className: u("fixed inset-0 z-[1239] cursor-default", r && "invisible"),
|
|
119922
119922
|
onPointerDown: (e) => {
|
|
119923
119923
|
e.preventDefault(), n();
|
|
119924
119924
|
},
|
|
119925
119925
|
onMouseDown: (e) => e.preventDefault(),
|
|
119926
119926
|
children: /* @__PURE__ */ K("div", {
|
|
119927
|
-
className: u("absolute", "shadow-[0_0_0_200vmax_hsl(var(--shadow)/0.5)]", "dark:shadow-[0_0_0_200vmax_hsl(var(--shadow)/0.85)]",
|
|
119927
|
+
className: u("absolute", "shadow-[0_0_0_200vmax_hsl(var(--shadow)/0.5)]", "dark:shadow-[0_0_0_200vmax_hsl(var(--shadow)/0.85)]", o && "transition-[top,left,width,height] duration-300 ease-out"),
|
|
119928
119928
|
style: {
|
|
119929
|
-
...
|
|
119930
|
-
borderRadius:
|
|
119929
|
+
...i,
|
|
119930
|
+
borderRadius: a
|
|
119931
119931
|
}
|
|
119932
119932
|
})
|
|
119933
119933
|
}), t ?? document.body);
|
|
119934
|
-
},
|
|
119934
|
+
}, VAt = "[role=\"dialog\"], [role=\"alertdialog\"]", HAt = (e) => e.dataset.state !== "closed" && !e.closest("[data-radix-popper-content-wrapper]"), UAt = () => [...document.querySelectorAll(VAt)].some(HAt), WAt = () => {
|
|
119935
|
+
let [e, t] = G(() => typeof document < "u" && UAt());
|
|
119936
|
+
return H(() => {
|
|
119937
|
+
if (typeof MutationObserver != "function") return;
|
|
119938
|
+
let e = () => t(UAt());
|
|
119939
|
+
e();
|
|
119940
|
+
let n = new MutationObserver(e);
|
|
119941
|
+
return n.observe(document.body, {
|
|
119942
|
+
childList: !0,
|
|
119943
|
+
subtree: !0,
|
|
119944
|
+
attributes: !0,
|
|
119945
|
+
attributeFilter: ["data-state"]
|
|
119946
|
+
}), () => n.disconnect();
|
|
119947
|
+
}, []), e;
|
|
119948
|
+
}, U9 = 12, W9 = 6, GAt = [
|
|
119935
119949
|
"0px",
|
|
119936
119950
|
"-6px",
|
|
119937
119951
|
"6px",
|
|
119938
119952
|
"-4px",
|
|
119939
119953
|
"4px",
|
|
119940
119954
|
"0px"
|
|
119941
|
-
],
|
|
119955
|
+
], KAt = 320, qAt = "textarea, input:not([type='hidden']), [contenteditable='true']", JAt = `${qAt}, select, button, a[href], [tabindex]:not([tabindex='-1'])`, YAt = (e) => e.matches(JAt) ? e : e.querySelector(qAt) ?? e.querySelector(JAt), XAt = (e) => {
|
|
119956
|
+
e && e !== document.body && document.contains(e) && e.focus();
|
|
119957
|
+
}, ZAt = (e, t, n) => {
|
|
119942
119958
|
let [r, i] = G(!1), a = W(!1);
|
|
119943
119959
|
return H(() => {
|
|
119944
119960
|
a.current = !1, i(!1);
|
|
@@ -119959,100 +119975,137 @@ var _At = (e, t) => (t === 1 ? e.one : e.other).replace("{{count}}", String(t)),
|
|
|
119959
119975
|
t,
|
|
119960
119976
|
n
|
|
119961
119977
|
]), r;
|
|
119962
|
-
},
|
|
119978
|
+
}, QAt = () => U(() => ({ current: { getBoundingClientRect: () => new DOMRect(window.innerWidth / 2, window.innerHeight / 2, 0, 0) } }), []), $At = (e) => {
|
|
119963
119979
|
let t = L();
|
|
119964
119980
|
return V(() => {
|
|
119965
119981
|
let n = e.current;
|
|
119966
|
-
n && !t && typeof n.animate == "function" && n.animate(
|
|
119967
|
-
duration:
|
|
119982
|
+
n && !t && typeof n.animate == "function" && n.animate(GAt.map((e) => ({ translate: e })), {
|
|
119983
|
+
duration: KAt,
|
|
119968
119984
|
easing: "ease-in-out"
|
|
119969
119985
|
});
|
|
119970
119986
|
}, [e, t]);
|
|
119971
|
-
},
|
|
119972
|
-
|
|
119973
|
-
|
|
119974
|
-
|
|
119987
|
+
}, ejt = ({ step: e }) => /* @__PURE__ */ q("div", {
|
|
119988
|
+
className: "flex flex-row items-center gap-1.5",
|
|
119989
|
+
children: [/* @__PURE__ */ q("span", {
|
|
119990
|
+
className: "sr-only",
|
|
119991
|
+
children: [
|
|
119992
|
+
e.current,
|
|
119993
|
+
"/",
|
|
119994
|
+
e.total
|
|
119995
|
+
]
|
|
119996
|
+
}), Array.from({ length: e.total }, (t, n) => /* @__PURE__ */ K("span", {
|
|
119997
|
+
"aria-hidden": !0,
|
|
119998
|
+
className: u("size-1.5 rounded-full bg-current transition-colors", n + 1 === e.current ? "text-f1-foreground-inverse" : "text-f1-foreground-inverse-secondary opacity-40")
|
|
119999
|
+
}, n))]
|
|
120000
|
+
}), tjt = ({ onBack: e, step: t, label: n, actionIcon: r, onAction: i }) => {
|
|
120001
|
+
let a = o();
|
|
120002
|
+
return /* @__PURE__ */ q("div", {
|
|
120003
|
+
className: "grid grid-cols-[1fr_auto_1fr] items-center gap-3",
|
|
120004
|
+
children: [
|
|
120005
|
+
/* @__PURE__ */ K("div", {
|
|
120006
|
+
className: "flex min-w-0 justify-start",
|
|
120007
|
+
children: e ? /* @__PURE__ */ K(ie, {
|
|
120008
|
+
variant: "outline",
|
|
120009
|
+
label: a.actions.back,
|
|
120010
|
+
onClick: e
|
|
120011
|
+
}) : null
|
|
120012
|
+
}),
|
|
120013
|
+
/* @__PURE__ */ K("div", {
|
|
120014
|
+
className: "flex justify-center",
|
|
120015
|
+
children: t ? /* @__PURE__ */ K(ejt, { step: t }) : null
|
|
120016
|
+
}),
|
|
120017
|
+
/* @__PURE__ */ K("div", {
|
|
120018
|
+
className: "flex min-w-0 justify-end",
|
|
120019
|
+
children: /* @__PURE__ */ K(ie, {
|
|
120020
|
+
variant: "outline",
|
|
120021
|
+
label: n,
|
|
120022
|
+
icon: r,
|
|
120023
|
+
onClick: i
|
|
120024
|
+
})
|
|
120025
|
+
})
|
|
120026
|
+
]
|
|
120027
|
+
});
|
|
120028
|
+
}, njt = ({ target: e, title: t, description: n, actionLabel: r, actionIcon: i, onAction: a, onBack: s, onClose: c, step: l, arrow: d = !0, side: f = "bottom", align: p = "center", sideOffset: m = d ? 8 : 4, container: h, overlay: g = !1, onOutsideInteraction: _, leaving: v = !1, focusTarget: y = !1 }) => {
|
|
120029
|
+
let b = o(), x = W(null), S = W(null), C = $At(x), w = ZAt(x, l?.current, e), T = QAt(), E = WAt(), D = () => {
|
|
120030
|
+
E || ((y ? YAt(e) : null) ?? x.current)?.focus();
|
|
120031
|
+
}, O = Ui(), k = `${O}-title`, A = `${O}-description`, j = U(() => ({ current: e }), [e]), M = W(l?.current);
|
|
119975
120032
|
H(() => {
|
|
119976
|
-
|
|
119977
|
-
}, [
|
|
119978
|
-
let
|
|
120033
|
+
M.current !== l?.current && (M.current = l?.current, D());
|
|
120034
|
+
}, [l?.current]);
|
|
120035
|
+
let N = W(E);
|
|
120036
|
+
H(() => {
|
|
120037
|
+
N.current !== E && (N.current = E, E || D());
|
|
120038
|
+
}, [E]);
|
|
120039
|
+
let P = !l || l.current >= l.total, F = r ?? (P ? b.coachmark.done : b.coachmark.next);
|
|
119979
120040
|
return /* @__PURE__ */ q(Di, {
|
|
119980
120041
|
open: !0,
|
|
119981
120042
|
onOpenChange: (e) => {
|
|
119982
|
-
e ||
|
|
120043
|
+
e || c();
|
|
119983
120044
|
},
|
|
119984
120045
|
children: [
|
|
119985
|
-
/* @__PURE__ */ K(Qne, { virtualRef:
|
|
119986
|
-
|
|
120046
|
+
/* @__PURE__ */ K(Qne, { virtualRef: w ? T : j }),
|
|
120047
|
+
g ? /* @__PURE__ */ K(BAt, {
|
|
119987
120048
|
target: e,
|
|
119988
|
-
container:
|
|
120049
|
+
container: h,
|
|
120050
|
+
suspended: E,
|
|
119989
120051
|
onOutsideInteraction: () => {
|
|
119990
|
-
|
|
120052
|
+
C(), _?.();
|
|
119991
120053
|
}
|
|
119992
120054
|
}) : null,
|
|
119993
120055
|
/* @__PURE__ */ q(Si, {
|
|
119994
|
-
ref:
|
|
119995
|
-
container:
|
|
119996
|
-
side:
|
|
119997
|
-
align:
|
|
119998
|
-
sideOffset:
|
|
120056
|
+
ref: x,
|
|
120057
|
+
container: h,
|
|
120058
|
+
side: w ? "bottom" : f,
|
|
120059
|
+
align: w ? "center" : p,
|
|
120060
|
+
sideOffset: w ? 0 : m,
|
|
119999
120061
|
collisionPadding: 8,
|
|
120000
|
-
"data-coachmark-centred":
|
|
120062
|
+
"data-coachmark-centred": w || void 0,
|
|
120001
120063
|
tabIndex: -1,
|
|
120002
|
-
"aria-labelledby":
|
|
120003
|
-
"aria-describedby": n ?
|
|
120064
|
+
"aria-labelledby": k,
|
|
120065
|
+
"aria-describedby": n ? A : void 0,
|
|
120004
120066
|
onOpenAutoFocus: (e) => {
|
|
120005
|
-
e.preventDefault(),
|
|
120067
|
+
e.preventDefault(), S.current = document.activeElement, D();
|
|
120006
120068
|
},
|
|
120007
120069
|
onCloseAutoFocus: (e) => {
|
|
120008
120070
|
e.preventDefault();
|
|
120009
|
-
let t =
|
|
120010
|
-
|
|
120071
|
+
let t = S.current;
|
|
120072
|
+
S.current = null, XAt(t);
|
|
120011
120073
|
},
|
|
120012
120074
|
onInteractOutside: (e) => e.preventDefault(),
|
|
120013
|
-
className: u("w-72 overflow-visible rounded-lg border-none p-4", "flex flex-col", "shadow-lg backdrop-blur-sm", "bg-f1-background-inverse text-f1-foreground-inverse", "dark:bg-f1-background-tertiary",
|
|
120075
|
+
className: u("z-[1240] w-72 overflow-visible rounded-lg border-none p-4", "flex flex-col", "shadow-lg backdrop-blur-sm", "bg-f1-background-inverse text-f1-foreground-inverse", "dark:bg-f1-background-tertiary", g && "dark:bg-f1-background-secondary", "transition-opacity", v ? "opacity-0 duration-150" : "opacity-100 duration-200", E && "invisible"),
|
|
120014
120076
|
children: [/* @__PURE__ */ q("div", {
|
|
120015
120077
|
"data-coachmark-body": !0,
|
|
120016
|
-
className: "dark flex min-h-0 flex-col gap-
|
|
120078
|
+
className: "dark flex min-h-0 flex-col gap-6 overflow-y-auto",
|
|
120017
120079
|
children: [/* @__PURE__ */ q("div", {
|
|
120018
|
-
className: "flex flex-col gap-
|
|
120080
|
+
className: "flex flex-col gap-0.5",
|
|
120019
120081
|
children: [/* @__PURE__ */ q("div", {
|
|
120020
120082
|
className: "flex flex-row items-start justify-between gap-2",
|
|
120021
120083
|
children: [/* @__PURE__ */ K("p", {
|
|
120022
|
-
id:
|
|
120084
|
+
id: k,
|
|
120023
120085
|
className: "font-semibold",
|
|
120024
120086
|
children: t
|
|
120025
120087
|
}), /* @__PURE__ */ K(ie, {
|
|
120026
|
-
variant: "
|
|
120088
|
+
variant: "ghost",
|
|
120027
120089
|
icon: Ae,
|
|
120028
120090
|
size: "sm",
|
|
120029
120091
|
hideLabel: !0,
|
|
120030
|
-
onClick:
|
|
120031
|
-
label:
|
|
120092
|
+
onClick: c,
|
|
120093
|
+
label: b.actions.close,
|
|
120032
120094
|
className: "flex-shrink-0"
|
|
120033
120095
|
})]
|
|
120034
120096
|
}), n ? /* @__PURE__ */ K("p", {
|
|
120035
|
-
id:
|
|
120097
|
+
id: A,
|
|
120036
120098
|
className: "font-normal text-f1-foreground-inverse-secondary",
|
|
120037
120099
|
children: n
|
|
120038
120100
|
}) : null]
|
|
120039
|
-
}), /* @__PURE__ */
|
|
120040
|
-
|
|
120041
|
-
|
|
120042
|
-
|
|
120043
|
-
|
|
120044
|
-
|
|
120045
|
-
"/",
|
|
120046
|
-
s.total
|
|
120047
|
-
]
|
|
120048
|
-
}) : null, /* @__PURE__ */ K(ie, {
|
|
120049
|
-
variant: "outline",
|
|
120050
|
-
label: j,
|
|
120051
|
-
onClick: i,
|
|
120052
|
-
className: "ml-auto"
|
|
120053
|
-
})]
|
|
120101
|
+
}), /* @__PURE__ */ K(tjt, {
|
|
120102
|
+
onBack: s,
|
|
120103
|
+
step: l,
|
|
120104
|
+
label: F,
|
|
120105
|
+
actionIcon: i,
|
|
120106
|
+
onAction: a
|
|
120054
120107
|
})]
|
|
120055
|
-
}),
|
|
120108
|
+
}), d && !w ? /* @__PURE__ */ K($ne, {
|
|
120056
120109
|
asChild: !0,
|
|
120057
120110
|
width: U9,
|
|
120058
120111
|
height: W9,
|
|
@@ -120068,10 +120121,10 @@ var _At = (e, t) => (t === 1 ? e.one : e.other).replace("{{count}}", String(t)),
|
|
|
120068
120121
|
]
|
|
120069
120122
|
});
|
|
120070
120123
|
};
|
|
120071
|
-
|
|
120072
|
-
var
|
|
120124
|
+
njt.displayName = "F0Coachmark";
|
|
120125
|
+
var rjt = c("F0Coachmark", njt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set(), ijt = 0, J9 = /* @__PURE__ */ new Set(), Y9 = /* @__PURE__ */ new Set(), X9 = () => {
|
|
120073
120126
|
for (let e of q9) e();
|
|
120074
|
-
},
|
|
120127
|
+
}, ajt = () => {
|
|
120075
120128
|
for (let e of Y9) e();
|
|
120076
120129
|
}, Z9 = {
|
|
120077
120130
|
subscribe(e) {
|
|
@@ -120100,12 +120153,12 @@ var XAt = c("F0Coachmark", YAt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set(
|
|
|
120100
120153
|
K9.length !== 0 && (K9 = G9, X9());
|
|
120101
120154
|
},
|
|
120102
120155
|
acquireRenderer() {
|
|
120103
|
-
|
|
120104
|
-
let e =
|
|
120105
|
-
return J9.add(e),
|
|
120156
|
+
ijt += 1;
|
|
120157
|
+
let e = ijt;
|
|
120158
|
+
return J9.add(e), ajt(), {
|
|
120106
120159
|
id: e,
|
|
120107
120160
|
release() {
|
|
120108
|
-
J9.delete(e),
|
|
120161
|
+
J9.delete(e), ajt();
|
|
120109
120162
|
}
|
|
120110
120163
|
};
|
|
120111
120164
|
},
|
|
@@ -120122,7 +120175,7 @@ var XAt = c("F0Coachmark", YAt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set(
|
|
|
120122
120175
|
hasProvider() {
|
|
120123
120176
|
return J9.size > 0;
|
|
120124
120177
|
}
|
|
120125
|
-
},
|
|
120178
|
+
}, ojt = process.env.NODE_ENV !== "production", Q9 = (e) => typeof e.checkVisibility != "function" || e.checkVisibility(), $9 = (e) => typeof e == "string" ? [...document.querySelectorAll(e)].find(Q9) ?? null : e.isConnected && Q9(e) ? e : null, sjt = (e) => typeof e == "string" ? [...document.querySelectorAll(e)].filter(Q9).length : 1, cjt = (e) => {
|
|
120126
120179
|
let [t, n] = G(null), r = W(null);
|
|
120127
120180
|
return H(() => {
|
|
120128
120181
|
let t = (e) => {
|
|
@@ -120132,9 +120185,9 @@ var XAt = c("F0Coachmark", YAt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set(
|
|
|
120132
120185
|
t(null);
|
|
120133
120186
|
return;
|
|
120134
120187
|
}
|
|
120135
|
-
if (t($9(e)),
|
|
120188
|
+
if (t($9(e)), ojt) {
|
|
120136
120189
|
r.current === null && typeof e == "string" && console.warn(`[f0] coachmarks: no element matches the selector "${e}" yet. The coachmark will show as soon as one does.`);
|
|
120137
|
-
let t =
|
|
120190
|
+
let t = sjt(e);
|
|
120138
120191
|
t > 1 && console.warn(`[f0] coachmarks: the selector "${String(e)}" matched ${t} elements. Anchoring to the first one — use a selector that matches exactly one.`);
|
|
120139
120192
|
}
|
|
120140
120193
|
let i = new MutationObserver(() => t($9(e)));
|
|
@@ -120145,27 +120198,32 @@ var XAt = c("F0Coachmark", YAt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set(
|
|
|
120145
120198
|
attributeFilter: ["hidden"]
|
|
120146
120199
|
}), () => i.disconnect();
|
|
120147
120200
|
}, [e]), t;
|
|
120148
|
-
},
|
|
120201
|
+
}, ljt = 5, ujt = 150, djt = ({ item: e, container: t }) => {
|
|
120149
120202
|
let [n, r] = G(0), [i, a] = G(!1), o = W(), s = L(), c = Math.min(n, e.steps.length - 1), l = e.steps[c], u = c === e.steps.length - 1;
|
|
120150
120203
|
H(() => () => clearTimeout(o.current), []);
|
|
120151
120204
|
let d = (e) => {
|
|
120152
|
-
s ? r(e) : (a(!0), o.current = setTimeout(() => {
|
|
120205
|
+
clearTimeout(o.current), s ? r(e) : (a(!0), o.current = setTimeout(() => {
|
|
120153
120206
|
r(e), a(!1);
|
|
120154
|
-
},
|
|
120155
|
-
}, f =
|
|
120207
|
+
}, ujt));
|
|
120208
|
+
}, f = cjt(l.targetElement), p = W(0), m = W(/* @__PURE__ */ new Set());
|
|
120209
|
+
H(() => {
|
|
120210
|
+
m.current = /* @__PURE__ */ new Set();
|
|
120211
|
+
}, [e.steps]);
|
|
120212
|
+
let h = e.skipAfterOutsideClicks ?? ljt, g = () => Z9.removeItem(e.id), _ = (t) => {
|
|
120156
120213
|
e.onEnd?.({
|
|
120157
120214
|
reason: t,
|
|
120158
120215
|
step: c + 1,
|
|
120159
120216
|
totalSteps: e.steps.length,
|
|
120160
120217
|
outsidePresses: p.current
|
|
120161
|
-
}),
|
|
120218
|
+
}), g();
|
|
120162
120219
|
};
|
|
120163
|
-
return f ? /* @__PURE__ */ K(
|
|
120220
|
+
return f ? /* @__PURE__ */ K(rjt, {
|
|
120164
120221
|
target: f,
|
|
120165
120222
|
container: t,
|
|
120166
120223
|
title: l.title,
|
|
120167
120224
|
description: l.description,
|
|
120168
120225
|
actionLabel: l.action?.label,
|
|
120226
|
+
actionIcon: l.action?.icon,
|
|
120169
120227
|
arrow: l.arrow,
|
|
120170
120228
|
side: l.side,
|
|
120171
120229
|
align: l.align,
|
|
@@ -120175,19 +120233,20 @@ var XAt = c("F0Coachmark", YAt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set(
|
|
|
120175
120233
|
total: e.steps.length
|
|
120176
120234
|
} : void 0,
|
|
120177
120235
|
onAction: () => {
|
|
120178
|
-
l.action?.onClick?.(), u ? (e.onComplete?.(),
|
|
120236
|
+
m.current.has(c) || (m.current.add(c), l.action?.onClick?.()), u ? (e.onComplete?.(), _("completed")) : d(c + 1);
|
|
120179
120237
|
},
|
|
120238
|
+
onBack: c > 0 ? () => d(c - 1) : void 0,
|
|
120180
120239
|
onClose: () => {
|
|
120181
|
-
e.onDismiss?.(),
|
|
120240
|
+
e.onDismiss?.(), _("dismissed");
|
|
120182
120241
|
},
|
|
120183
120242
|
overlay: e.overlay,
|
|
120184
120243
|
leaving: i,
|
|
120185
120244
|
focusTarget: l.focusTarget,
|
|
120186
120245
|
onOutsideInteraction: () => {
|
|
120187
|
-
p.current += 1, !(
|
|
120246
|
+
p.current += 1, !(h <= 0 || p.current < h) && (e.onDismiss?.(), _("skipped"));
|
|
120188
120247
|
}
|
|
120189
120248
|
}) : null;
|
|
120190
|
-
},
|
|
120249
|
+
}, fjt = ({ children: e, portalTarget: t = "#f0-overlay-root" }) => {
|
|
120191
120250
|
let n = mre(Z9.subscribe, Z9.getSnapshot, Z9.getServerSnapshot), r = W(null), i = mre(Z9.subscribeRenderer, Z9.getActiveRendererId, () => null);
|
|
120192
120251
|
H(() => {
|
|
120193
120252
|
let { id: e, release: t } = Z9.acquireRenderer();
|
|
@@ -120198,10 +120257,10 @@ var XAt = c("F0Coachmark", YAt), G9 = [], K9 = G9, q9 = /* @__PURE__ */ new Set(
|
|
|
120198
120257
|
typeof document < "u" && s(document.querySelector(t));
|
|
120199
120258
|
}, [t]);
|
|
120200
120259
|
let c = n[0];
|
|
120201
|
-
return /* @__PURE__ */ q(Ki, { children: [a && c ? /* @__PURE__ */ K(
|
|
120260
|
+
return /* @__PURE__ */ q(Ki, { children: [a && c ? /* @__PURE__ */ K(djt, {
|
|
120202
120261
|
item: c,
|
|
120203
120262
|
container: o
|
|
120204
120263
|
}, c.id) : null, e] });
|
|
120205
120264
|
};
|
|
120206
120265
|
//#endregion
|
|
120207
|
-
export { E2 as $, YF as $n, Uo as $r, FB as $t, XSt as A, CL as An, Rue as Ar, rY as At, $6 as B, AI as Bn, Sl as Br, vH as Bt, Wwt as C, Pa as Ci, PL as Cn, Xue as Cr, W7e as Ct, zCt as D, jL as Dn, Iue as Dr, E7e as Dt, V8 as E, OL as En, Fue as Er, pY as Et, f8 as F, PI as Fn, Dl as Fr, DH as Ft, xbt as G, gI as Gn, vs as Gr, dH as Gt, Pbt as H, SI as Hn, nl as Hr, hH as Ht, p8 as I, Aqe as In, El as Ir, wH as It, Fyt as J, pI as Jn, gs as Jr, _Qe as Jt, ibt as K, _I as Kn, fs as Kr, nH as Kt, qxt as L, MI as Ln, Tl as Lr, CH as Lt, VSt as M, _L as Mn, Hue as Mr, VH as Mt, h8 as N, II as Nn, zue as Nr, NH as Nt, xCt as O, AL as On, Vue as Or, fY as Ot, g8 as P, FI as Pn, kl as Pr, kH as Pt, S2 as Q, oqe as Qn, rse as Qr, TV as Qt, a8 as R, jI as Rn, wl as Rr, SH as Rt, nAt as S, Ia as Si, JR as Sn, $ue as Sr, _9e as St, Ewt as T, ML as Tn, Pue as Tr, K7e as Tt, Lbt as U, xI as Un, fc as Ur, pH as Ut, Rbt as V, OI as Vn, xl as Vr, _H as Vt, Sbt as W, bI as Wn, Cs as Wr, mH as Wt, Zmt as X, cI as Xn, ls as Xr, LV as Xt, nht as Y, _qe as Yn, ms as Yr, qV as Yt, mpt as Z, sqe as Zn, zoe as Zr, IV as Zt, aAt as _, Ja as _i, Mz as _n, Zue as _r, i9e as _t, jAt as a, Gie as ai, $z as an, tqe as ar, SX as at, N9 as b, za as bi, fz as bn, Jue as br, HY as bt, SAt as c, Rie as ci, Jz as cn, GF as cr, ZY as ct, _At as d, Pie as di, Wz as dn, zKe as dr, YY as dt, Go as ei, OB as en, aqe as er, q1 as et, hAt as f, to as fi, Hz as fn, gF as fr, qY as ft, cAt as g, Qa as gi, Lz as gn, Gue as gr, r9e as gt, dAt as h, qa as hi, Iz as hn, Bl as hr, kY as ht, AAt as i, Oo as ii, dB as in, nqe as ir, zZ as it, v8 as j, SL as jn, Bue as jr, XH as jt, x8 as k, wL as kn, Lue as kr, iY as kt, F9 as l, ro as li, Yz as ln, HF as lr, XY as lt, fAt as m, Ka as mi, Rz as mn, Kxe as mr, KY as mt, $9 as n, jo as ni, gB as nn, iqe as nr, KQ as nt, MAt as o, zie as oi, Qz as on, $Ke as or, lX as ot, pAt as p, Nie as pi, Uz as pn, qxe as pr, JY as pt, B6 as q, vI as qn, as as qr, tH as qt, Z9 as r, uae as ri, pB as rn, KF as rr, JQ as rt, kAt as s, io as si, Xz as sn, eqe as sr, tX as st,
|
|
120266
|
+
export { E2 as $, YF as $n, Uo as $r, FB as $t, XSt as A, CL as An, Rue as Ar, rY as At, $6 as B, AI as Bn, Sl as Br, vH as Bt, Wwt as C, Pa as Ci, PL as Cn, Xue as Cr, W7e as Ct, zCt as D, jL as Dn, Iue as Dr, E7e as Dt, V8 as E, OL as En, Fue as Er, pY as Et, f8 as F, PI as Fn, Dl as Fr, DH as Ft, xbt as G, gI as Gn, vs as Gr, dH as Gt, Pbt as H, SI as Hn, nl as Hr, hH as Ht, p8 as I, Aqe as In, El as Ir, wH as It, Fyt as J, pI as Jn, gs as Jr, _Qe as Jt, ibt as K, _I as Kn, fs as Kr, nH as Kt, qxt as L, MI as Ln, Tl as Lr, CH as Lt, VSt as M, _L as Mn, Hue as Mr, VH as Mt, h8 as N, II as Nn, zue as Nr, NH as Nt, xCt as O, AL as On, Vue as Or, fY as Ot, g8 as P, FI as Pn, kl as Pr, kH as Pt, S2 as Q, oqe as Qn, rse as Qr, TV as Qt, a8 as R, jI as Rn, wl as Rr, SH as Rt, nAt as S, Ia as Si, JR as Sn, $ue as Sr, _9e as St, Ewt as T, ML as Tn, Pue as Tr, K7e as Tt, Lbt as U, xI as Un, fc as Ur, pH as Ut, Rbt as V, OI as Vn, xl as Vr, _H as Vt, Sbt as W, bI as Wn, Cs as Wr, mH as Wt, Zmt as X, cI as Xn, ls as Xr, LV as Xt, nht as Y, _qe as Yn, ms as Yr, qV as Yt, mpt as Z, sqe as Zn, zoe as Zr, IV as Zt, aAt as _, Ja as _i, Mz as _n, Zue as _r, i9e as _t, jAt as a, Gie as ai, $z as an, tqe as ar, SX as at, N9 as b, za as bi, fz as bn, Jue as br, HY as bt, SAt as c, Rie as ci, Jz as cn, GF as cr, ZY as ct, _At as d, Pie as di, Wz as dn, zKe as dr, YY as dt, Go as ei, OB as en, aqe as er, q1 as et, hAt as f, to as fi, Hz as fn, gF as fr, qY as ft, cAt as g, Qa as gi, Lz as gn, Gue as gr, r9e as gt, dAt as h, qa as hi, Iz as hn, Bl as hr, kY as ht, AAt as i, Oo as ii, dB as in, nqe as ir, zZ as it, v8 as j, SL as jn, Bue as jr, XH as jt, x8 as k, wL as kn, Lue as kr, iY as kt, F9 as l, ro as li, Yz as ln, HF as lr, XY as lt, fAt as m, Ka as mi, Rz as mn, Kxe as mr, KY as mt, $9 as n, jo as ni, gB as nn, iqe as nr, KQ as nt, MAt as o, zie as oi, Qz as on, $Ke as or, lX as ot, pAt as p, Nie as pi, Uz as pn, qxe as pr, JY as pt, B6 as q, vI as qn, as as qr, tH as qt, Z9 as r, uae as ri, pB as rn, KF as rr, JQ as rt, kAt as s, io as si, Xz as sn, eqe as sr, tX as st, fjt as t, vae as ti, TB as tn, JF as tr, y0 as tt, I9 as u, no as ui, qz as un, KKe as ur, GY as ut, iAt as v, Ga as vi, Cz as vn, ede as vr, g9e as vt, Owt as w, Ma as wi, NL as wn, Al as wr, G7e as wt, tAt as x, La as xi, iz as xn, Que as xr, UY as xt, eAt as y, Va as yi, pz as yn, tde as yr, zY as yt, nxt as z, kqe as zn, Cl as zr, yH as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Si as e, a as t, o as n } from "./CoachmarkProvider-
|
|
1
|
+
import { Si as e, a as t, o as n } from "./CoachmarkProvider-DEQCQBiS.js";
|
|
2
2
|
import { i as r, r as i } from "./i18n-provider-aZCxX7lT.js";
|
|
3
3
|
import { L as a, R as o } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { H as s, T as c, U as l, b as u, h as d, t as f, wt as p } from "./F0Button-xbk-nrvL.js";
|
|
@@ -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-DNAzGJNy.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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nt as e, Pt as t } from "./CoachmarkProvider-
|
|
1
|
+
import { Nt as e, Pt as t } from "./CoachmarkProvider-DEQCQBiS.js";
|
|
2
2
|
import { r as n } from "./i18n-provider-aZCxX7lT.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { w as a } from "./F0Button-xbk-nrvL.js";
|
|
@@ -8,7 +8,7 @@ import { H as u, l as d } from "./useData-Af3QuQSP.js";
|
|
|
8
8
|
import { ft as ee } from "./popover-CT3rox5D.js";
|
|
9
9
|
import { c as f } from "./scrollarea-iuapGs70.js";
|
|
10
10
|
import { t as p } from "./F0Text-DzVOqGyO.js";
|
|
11
|
-
import { o as m, t as h } from "./F0Map-
|
|
11
|
+
import { o as m, t as h } from "./F0Map-h_d1Gu-_.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
|
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-09T14:35:35.603Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 313,
|
|
10
10
|
byStatus: {
|
|
@@ -2755,7 +2755,7 @@ var u = {
|
|
|
2755
2755
|
hasWhenToUse: !0,
|
|
2756
2756
|
hasWhenNotToUse: !0,
|
|
2757
2757
|
hasDoDonts: !0,
|
|
2758
|
-
exampleCount:
|
|
2758
|
+
exampleCount: 12
|
|
2759
2759
|
},
|
|
2760
2760
|
a11yTier: "todo",
|
|
2761
2761
|
storyFile: "blocks/F0Coachmark/__stories__/F0Coachmark.stories.tsx"
|
package/dist/experimental.d.ts
CHANGED
|
@@ -4695,7 +4695,7 @@ type CoachmarkId = string;
|
|
|
4695
4695
|
*/
|
|
4696
4696
|
type CoachmarkTarget = string | HTMLElement;
|
|
4697
4697
|
/**
|
|
4698
|
-
* The single call to action at the bottom of the panel.
|
|
4698
|
+
* The single call to action at the bottom of the panel. Every field is
|
|
4699
4699
|
* optional: the coachmark always advances to the next step (or closes on the
|
|
4700
4700
|
* last one) when the button is pressed, so `onClick` is only for side effects
|
|
4701
4701
|
* and `label` only for overriding the default wording.
|
|
@@ -4703,7 +4703,12 @@ type CoachmarkTarget = string | HTMLElement;
|
|
|
4703
4703
|
interface CoachmarkAction {
|
|
4704
4704
|
/** Defaults to `Next` on every step but the last, `Got it` on the last. */
|
|
4705
4705
|
label?: string;
|
|
4706
|
-
/**
|
|
4706
|
+
/** Leads the label, e.g. `One` from `@/icons/ai` on an action that opens One. */
|
|
4707
|
+
icon?: IconType;
|
|
4708
|
+
/**
|
|
4709
|
+
* Extra side effect. Advancing and closing happen either way. Runs once per
|
|
4710
|
+
* step, even if the reader goes back and advances again.
|
|
4711
|
+
*/
|
|
4707
4712
|
onClick?: () => void;
|
|
4708
4713
|
}
|
|
4709
4714
|
/**
|
|
@@ -9769,6 +9774,11 @@ export type RailActionTone = (typeof railActionTones)[number];
|
|
|
9769
9774
|
* over the feed, as any glyph does) and the CLICK is the action's rather than the
|
|
9770
9775
|
* panel's.
|
|
9771
9776
|
*
|
|
9777
|
+
* AT REST it wears the widget's own `icon` — the clock, not its pause button —
|
|
9778
|
+
* and turns to the action's `icon` only while pointed at or focused, which is
|
|
9779
|
+
* the only time it can be pressed. A widget without an `icon` always shows the
|
|
9780
|
+
* action's.
|
|
9781
|
+
*
|
|
9772
9782
|
* Only the COLLAPSED rail draws it. Expanded, the card's own footer button
|
|
9773
9783
|
* (`action`) is where a widget's call to action belongs, and stacked (below `md`)
|
|
9774
9784
|
* there is no glyph to put it on.
|
|
@@ -9827,14 +9837,13 @@ export interface HomeWidgetRailAction {
|
|
|
9827
9837
|
*/
|
|
9828
9838
|
ticking?: boolean;
|
|
9829
9839
|
/**
|
|
9830
|
-
*
|
|
9831
|
-
*
|
|
9832
|
-
*
|
|
9833
|
-
* something AND what it wants without growing a second control.
|
|
9840
|
+
* No longer has any effect: the glyph rests on the widget's own icon and
|
|
9841
|
+
* turns to the action's only while it is pointed at or focused, so there is
|
|
9842
|
+
* no face left to alternate with.
|
|
9834
9843
|
*
|
|
9835
|
-
*
|
|
9836
|
-
*
|
|
9837
|
-
* the
|
|
9844
|
+
* @deprecated The glyph no longer flashes.
|
|
9845
|
+
* @removeIn 14.0.0
|
|
9846
|
+
* @migration Drop the prop; there is no replacement.
|
|
9838
9847
|
*/
|
|
9839
9848
|
flashing?: boolean;
|
|
9840
9849
|
}
|
|
@@ -12198,7 +12207,8 @@ interface F0AgenticHomeClockIn {
|
|
|
12198
12207
|
ticking?: boolean;
|
|
12199
12208
|
/**
|
|
12200
12209
|
* The button's resting face: the clock it stands for. Defaults to `Timer`.
|
|
12201
|
-
*
|
|
12210
|
+
* Pointed at, focused, or with the card out, it turns to `action.icon` —
|
|
12211
|
+
* what a press does.
|
|
12202
12212
|
*/
|
|
12203
12213
|
icon?: IconType;
|
|
12204
12214
|
/** The one thing the clock can be told without opening it: clock in, take a break, resume. */
|