@factorialco/f0-react 16.26.0 → 16.26.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/{ArchiveThumbnail-DdBfDDOf.js → ArchiveThumbnail-BcDFhFZk.js} +1 -1
- package/dist/{ArchiveViewer-Bfbyf0oj.js → ArchiveViewer-BDV-KGME.js} +2 -2
- package/dist/{ChatPostComposerDialog-C92Df7L4.js → ChatPostComposerDialog-WlWd0ReE.js} +2 -2
- package/dist/{CoachmarkProvider-B27Hof_e.js → CoachmarkProvider-D40d5x5T.js} +12 -8
- package/dist/{CodeThumbnail-CNE5KNbp.js → CodeThumbnail-CYucqKhy.js} +1 -1
- package/dist/{CodeViewer-BgJoW3B4.js → CodeViewer-CA1PaRpi.js} +4 -4
- package/dist/{DocumentToolbar-Cy6NF51Q.js → DocumentToolbar-BAPS92ha.js} +2 -2
- package/dist/{DocxViewer-BjmAyUhF.js → DocxViewer-KqemE-aj.js} +1 -1
- package/dist/{F0AiProcessingOverlay-C7y7ABxK.js → F0AiProcessingOverlay-Btho92d0.js} +2 -2
- package/dist/{F0Alert-RkDEVcED.js → F0Alert-BeYDJ2qi.js} +1 -1
- package/dist/F0AudioPlayer-RjK2l3dn.js +2 -0
- package/dist/{F0CanvasPanel-jhOgcA_m.js → F0CanvasPanel-CM8YN8DB.js} +5 -5
- package/dist/{F0DocumentViewer-DXIhoMqd.js → F0DocumentViewer-CGtr7NK9.js} +2 -2
- package/dist/{F0DocumentViewer-LMxGzqhh.js → F0DocumentViewer-YBxbXQlS.js} +1 -1
- package/dist/{F0Map-CG_ymj03.js → F0Map-BiSi6wFY.js} +3 -3
- package/dist/{F0Select-lTHjAdPr.js → F0Select-DmBnMsOR.js} +137 -139
- package/dist/F0VideoPlayer-6agL3baY.js +1 -0
- package/dist/{F0VideoPlayer-D-Yf7qG7.js → F0VideoPlayer-Cq6wTbts.js} +1 -1
- package/dist/{HtmlViewer-i_XwrxeS.js → HtmlViewer-BsL9Xeyc.js} +4 -4
- package/dist/{Map-BkJV5kZU.js → Map-DPyC1mXS.js} +3 -3
- package/dist/{PdfThumbnail-pCtE7rde.js → PdfThumbnail-Cfl7rEmX.js} +1 -1
- package/dist/{PdfViewer-Bnzx2msH.js → PdfViewer-JyUUhcn8.js} +3 -3
- package/dist/{SheetViewer-CN9aouf0.js → SheetViewer-Bs0_GEwE.js} +2 -2
- package/dist/{TextViewer-C8zuDtWF.js → TextViewer-CvUGTGZc.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +1 -1
- package/dist/experimental.js +5 -5
- package/dist/f0.d.ts +1 -1
- package/dist/f0.js +7 -7
- package/dist/{highlight-D9VckAgH.js → highlight-SrV0X7jJ.js} +1 -1
- package/dist/{index-CChdz3fl.d.ts → index-D3U8ONFo.d.ts} +5 -10
- package/dist/{maplibre-DF5zdltX.js → maplibre-_D3tO8IJ.js} +1 -1
- package/dist/{pdfWorker-meKcOM10.js → pdfWorker-rW0wMIqN.js} +1 -1
- package/package.json +1 -1
- package/dist/F0AudioPlayer-DEdezV8_.js +0 -2
- package/dist/F0VideoPlayer-D9BIwS82.js +0 -1
|
@@ -1919,7 +1919,7 @@ var Os = Ss, ks = ws, As = F.forwardRef(({ className: e, disabled: t, hideLabel:
|
|
|
1919
1919
|
disabled: t,
|
|
1920
1920
|
children: [/* @__PURE__ */ U("span", {
|
|
1921
1921
|
"aria-hidden": "true",
|
|
1922
|
-
className: c("pointer-events-none absolute inset-x-0 top-1/2 h-5 -translate-y-1/2 rounded-full bg-f1-border transition-colors", "group-
|
|
1922
|
+
className: c("pointer-events-none absolute inset-x-0 top-1/2 h-5 -translate-y-1/2 rounded-full bg-f1-border transition-colors", "group-data-[state=checked]:bg-f1-background-selected-bold", !t && "group-hover:bg-f1-border-hover", "group-focus-visible:ring-1 group-focus-visible:ring-f1-special-ring group-focus-visible:ring-offset-1")
|
|
1923
1923
|
}), /* @__PURE__ */ U(ks, { className: c("relative block h-4 w-4 translate-x-[0.125rem] rounded-full bg-f1-background transition-transform duration-300 data-[state=checked]:translate-x-[0.75rem]") })]
|
|
1924
1924
|
}), i.title && !n ? /* @__PURE__ */ W("label", {
|
|
1925
1925
|
htmlFor: s,
|
|
@@ -54013,8 +54013,8 @@ var sN = (e) => e.flatMap((e) => [e, ...sN(e.subGroups ?? [])]), cN = (e, t) =>
|
|
|
54013
54013
|
}), pN = (e) => typeof e == "object" && !!e && !Array.isArray(e) && "key" in e && "records" in e, mN = (e, t) => Array.isArray(e) && t && e.some((e) => typeof e == "object" && !!e), hN = (e, t) => typeof e == "object" && !!e && !Array.isArray(e) && t;
|
|
54014
54014
|
//#endregion
|
|
54015
54015
|
//#region src/blocks/datasource/useSelectable/useSelectable.ts
|
|
54016
|
-
function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi", selectedState: i, onSelectItems: a, disableSelectAll: o, isSearchActive: s = !1, allPagesSelection: c,
|
|
54017
|
-
let m = e.type === "grouped", h = r === "multi", g = n.selectable, _ = R((e) => n.selectionDisabled?.(e) === !0, [n]), v = o ?? n.disableSelectAll ?? !1, y = !(c ?? n.allPagesSelection ?? !1), [b, x] = H(fN(i)), [S, C] = H(/* @__PURE__ */ new Map()), [w, T] = H(!1), [E, D] = H(null), O = V(!1), k = V(""), A = V(!1), j = V(!0), ee = V(n.currentFilters), te = V(n.currentSortings), ne = n.debouncedCurrentSearch, re = V(ne), ie = V(
|
|
54016
|
+
function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi", selectedState: i, onSelectItems: a, disableSelectAll: o, isSearchActive: s = !1, allPagesSelection: c, navigationFilters: l, preserveSelectionOnDatasetChange: u = !1, getRenderedSelectableEntries: d, getRowsBelow: f, renderedSelectableCount: p = 0 }) {
|
|
54017
|
+
let m = e.type === "grouped", h = r === "multi", g = n.selectable, _ = R((e) => n.selectionDisabled?.(e) === !0, [n]), v = o ?? n.disableSelectAll ?? !1, y = !(c ?? n.allPagesSelection ?? !1), [b, x] = H(fN(i)), [S, C] = H(/* @__PURE__ */ new Map()), [w, T] = H(!1), [E, D] = H(null), O = V(!1), k = V(""), A = V(!1), j = V(!0), ee = V(n.currentFilters), te = V(n.currentSortings), ne = n.debouncedCurrentSearch, re = V(ne), ie = V(l), ae = V(""), oe = V(""), se = V(!1), M = V(!1), le = V(void 0), ue = B(() => {
|
|
54018
54018
|
if (y) return e.records?.length || 0;
|
|
54019
54019
|
let n = t ? ce(t).records ?? 0 : e.records?.length ?? 0;
|
|
54020
54020
|
return Math.max(n, p);
|
|
@@ -54023,26 +54023,26 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54023
54023
|
e.records?.length,
|
|
54024
54024
|
y,
|
|
54025
54025
|
p
|
|
54026
|
-
]),
|
|
54026
|
+
]), de = B(() => t ? "type" in t && t.type === "pages" ? t.currentPage : "cursor" in t ? t.cursor : null : null, [t]), [fe, pe] = B(() => {
|
|
54027
54027
|
let e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
|
|
54028
54028
|
for (let [n, r] of b.items?.entries() || []) r.checked ? e.set(n, r.item) : t.set(n, r.item);
|
|
54029
54029
|
return [e, t];
|
|
54030
|
-
}, [b.items]),
|
|
54030
|
+
}, [b.items]), me = fe.size, he = pe.size, ge = B(() => me === ue && ue > 0, [ue, me]), _e = B(() => v ? !1 : s ? w && me > 0 : (w || ge) && me > 0, [
|
|
54031
54031
|
v,
|
|
54032
54032
|
w,
|
|
54033
|
-
|
|
54034
|
-
|
|
54033
|
+
ge,
|
|
54034
|
+
me,
|
|
54035
54035
|
s
|
|
54036
|
-
]),
|
|
54036
|
+
]), ve = B(() => v || s && !O.current || !w ? !1 : he === 0 || "indeterminate", [
|
|
54037
54037
|
v,
|
|
54038
54038
|
w,
|
|
54039
|
-
|
|
54039
|
+
he,
|
|
54040
54040
|
s
|
|
54041
|
-
]),
|
|
54041
|
+
]), ye = ve === "indeterminate", be = B(() => {
|
|
54042
54042
|
let e = /* @__PURE__ */ new Map();
|
|
54043
54043
|
for (let [t, n] of S.entries()) n.checked && e.set(t, n.group);
|
|
54044
54044
|
return e;
|
|
54045
|
-
}, [S]),
|
|
54045
|
+
}, [S]), xe = B(() => {
|
|
54046
54046
|
if (!m || e.type !== "grouped") return {};
|
|
54047
54047
|
let t = {};
|
|
54048
54048
|
for (let n of e.groups) {
|
|
@@ -54062,15 +54062,13 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54062
54062
|
e,
|
|
54063
54063
|
b.items,
|
|
54064
54064
|
g
|
|
54065
|
-
]),
|
|
54066
|
-
be,
|
|
54065
|
+
]), Se = B(() => w && E !== null ? Math.max(0, Math.max(E, p) - he) : me, [
|
|
54067
54066
|
E,
|
|
54067
|
+
he,
|
|
54068
54068
|
me,
|
|
54069
|
-
pe,
|
|
54070
|
-
m,
|
|
54071
54069
|
w,
|
|
54072
54070
|
p
|
|
54073
|
-
]), { itemsStatus:
|
|
54071
|
+
]), { itemsStatus: Ce, selectedIds: we } = B(() => {
|
|
54074
54072
|
let t = b.items || /* @__PURE__ */ new Map(), r = n.fetchChildren !== void 0, i = y && !r ? new Set(e.records.map((e) => g?.(e)).filter((e) => e !== void 0)) : null;
|
|
54075
54073
|
return {
|
|
54076
54074
|
itemsStatus: Array.from(t.values()).filter((e) => e.item === void 0 ? !1 : y && i ? i.has(e.id) : !0).map(({ item: e, checked: t }) => ({
|
|
@@ -54085,43 +54083,43 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54085
54083
|
e.records,
|
|
54086
54084
|
g,
|
|
54087
54085
|
n.fetchChildren
|
|
54088
|
-
]),
|
|
54089
|
-
allChecked:
|
|
54090
|
-
itemsStatus:
|
|
54091
|
-
selectedIds:
|
|
54092
|
-
checkedItems: Array.from(
|
|
54093
|
-
uncheckedItems: Array.from(
|
|
54094
|
-
groupsStatus:
|
|
54086
|
+
]), Te = B(() => Object.fromEntries(Array.from(S.values()).map(({ group: e, checked: t }) => [e.key, !!t])), [S]), Ee = B(() => ({
|
|
54087
|
+
allChecked: ve,
|
|
54088
|
+
itemsStatus: Ce,
|
|
54089
|
+
selectedIds: we,
|
|
54090
|
+
checkedItems: Array.from(fe.values()),
|
|
54091
|
+
uncheckedItems: Array.from(pe.values()),
|
|
54092
|
+
groupsStatus: Te,
|
|
54095
54093
|
filters: n.currentFilters || {},
|
|
54096
|
-
selectedCount:
|
|
54097
|
-
totalKnownItemsCount:
|
|
54094
|
+
selectedCount: Se,
|
|
54095
|
+
totalKnownItemsCount: ue
|
|
54098
54096
|
}), [
|
|
54099
|
-
|
|
54100
|
-
Se,
|
|
54097
|
+
ve,
|
|
54101
54098
|
Ce,
|
|
54102
|
-
de,
|
|
54103
|
-
fe,
|
|
54104
54099
|
we,
|
|
54100
|
+
fe,
|
|
54101
|
+
pe,
|
|
54102
|
+
Te,
|
|
54105
54103
|
n.currentFilters,
|
|
54106
|
-
|
|
54107
|
-
|
|
54108
|
-
]),
|
|
54109
|
-
checked: w ||
|
|
54110
|
-
indeterminate:
|
|
54111
|
-
selectedCount:
|
|
54112
|
-
unselectedCount:
|
|
54113
|
-
},
|
|
54104
|
+
Se,
|
|
54105
|
+
ue
|
|
54106
|
+
]), P = {
|
|
54107
|
+
checked: w || ye,
|
|
54108
|
+
indeterminate: ye,
|
|
54109
|
+
selectedCount: Se,
|
|
54110
|
+
unselectedCount: he
|
|
54111
|
+
}, De = R((t) => b.items?.get(t)?.item ?? e.records.find((e) => {
|
|
54114
54112
|
let n = g?.(e);
|
|
54115
54113
|
return n !== void 0 && n === t;
|
|
54116
54114
|
}), [
|
|
54117
54115
|
b.items,
|
|
54118
54116
|
e.records,
|
|
54119
54117
|
g
|
|
54120
|
-
]),
|
|
54118
|
+
]), Oe = R(() => e.type === "grouped" ? e.groups.flatMap((e) => e.records) : e.records, [e]), ke = R((e) => {
|
|
54121
54119
|
if (!e) return "";
|
|
54122
54120
|
let t = Array.from(e.items?.entries() || []).map(([e, t]) => `${e}:${t.checked}`).sort().join(","), n = Array.from(e.groups?.entries() || []).map(([e, t]) => `${e}:${t.checked}`).sort().join(",");
|
|
54123
54121
|
return `${e.allSelected}|${t}|${n}`;
|
|
54124
|
-
}, []),
|
|
54122
|
+
}, []), Ae = R((t) => {
|
|
54125
54123
|
let n = fN(t);
|
|
54126
54124
|
x((t) => {
|
|
54127
54125
|
let r = /* @__PURE__ */ new Map(), i = new Set(n.items?.keys() || []);
|
|
@@ -54130,7 +54128,7 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54130
54128
|
checked: !1
|
|
54131
54129
|
}) : r.set(e, n);
|
|
54132
54130
|
for (let [e, t] of n.items?.entries() || []) {
|
|
54133
|
-
let n = r.get(e), i =
|
|
54131
|
+
let n = r.get(e), i = De(e);
|
|
54134
54132
|
if (!n) r.set(e, {
|
|
54135
54133
|
id: e,
|
|
54136
54134
|
checked: t.checked,
|
|
@@ -54168,9 +54166,9 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54168
54166
|
e.records,
|
|
54169
54167
|
g,
|
|
54170
54168
|
w,
|
|
54171
|
-
|
|
54169
|
+
De,
|
|
54172
54170
|
h
|
|
54173
|
-
]),
|
|
54171
|
+
]), je = R((t, n, r = !1, i) => {
|
|
54174
54172
|
let a = (Array.isArray(t) ? t : [t]).slice(0, h ? void 0 : 1), o = Array.isArray(i) ? i : i === void 0 ? [] : [i];
|
|
54175
54173
|
x((t) => {
|
|
54176
54174
|
let i = !h && n ? /* @__PURE__ */ new Map() : new Map(t.items), s = 0;
|
|
@@ -54199,12 +54197,12 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54199
54197
|
h,
|
|
54200
54198
|
e.records,
|
|
54201
54199
|
g
|
|
54202
|
-
]),
|
|
54200
|
+
]), Me = R((t, n) => {
|
|
54203
54201
|
if (!m || e.type !== "grouped") return;
|
|
54204
54202
|
let r = pN(t) ? [t.key] : Array.isArray(t) ? [...t] : [t], i = e.groups.filter((e) => r.includes(e.key));
|
|
54205
54203
|
if (i.length === 0) return;
|
|
54206
54204
|
let a = i.flatMap((e) => e.records.map((e) => g?.(e)).filter((e) => e !== void 0));
|
|
54207
|
-
a.length > 0 &&
|
|
54205
|
+
a.length > 0 && je(a, n), C((e) => {
|
|
54208
54206
|
let t = new Map(e);
|
|
54209
54207
|
for (let e of i) t.set(e.key, {
|
|
54210
54208
|
group: e,
|
|
@@ -54216,55 +54214,55 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54216
54214
|
m,
|
|
54217
54215
|
e,
|
|
54218
54216
|
g,
|
|
54219
|
-
|
|
54220
|
-
]),
|
|
54217
|
+
je
|
|
54218
|
+
]), Ne = R((e) => e.flatMap((e) => {
|
|
54221
54219
|
let t = g?.(e);
|
|
54222
54220
|
return t === void 0 || _(e) ? [] : [[t, e]];
|
|
54223
|
-
}), [g, _]),
|
|
54221
|
+
}), [g, _]), Pe = R((e) => {
|
|
54224
54222
|
if (!f || e.length === 0) return e;
|
|
54225
|
-
let t =
|
|
54223
|
+
let t = Ne(e.flatMap(([e]) => f(e)));
|
|
54226
54224
|
return [...new Map([...e, ...t]).entries()];
|
|
54227
|
-
}, [f,
|
|
54225
|
+
}, [f, Ne]), Fe = R(() => {
|
|
54228
54226
|
let t = d?.() ?? [];
|
|
54229
|
-
return t.length > 0 ?
|
|
54227
|
+
return t.length > 0 ? Pe(t.filter(([, e]) => !_(e))) : Pe(Ne(e.records));
|
|
54230
54228
|
}, [
|
|
54231
54229
|
d,
|
|
54232
54230
|
e.records,
|
|
54233
54231
|
_,
|
|
54234
|
-
|
|
54235
|
-
|
|
54236
|
-
]),
|
|
54232
|
+
Ne,
|
|
54233
|
+
Pe
|
|
54234
|
+
]), Ie = R((e, t) => {
|
|
54237
54235
|
let n = g !== void 0, r = mN(e, n) ? e : hN(e, n) ? [e] : void 0;
|
|
54238
54236
|
if (!r) {
|
|
54239
|
-
let n = Array.isArray(e) ? e : [e], r =
|
|
54240
|
-
|
|
54237
|
+
let n = Array.isArray(e) ? e : [e], r = Ne(n.flatMap((e) => f?.(e) ?? []));
|
|
54238
|
+
je([.../* @__PURE__ */ new Set([...n, ...r.map(([e]) => e)])], t, !1, r.map(([, e]) => e));
|
|
54241
54239
|
return;
|
|
54242
54240
|
}
|
|
54243
|
-
let i = Ne(
|
|
54244
|
-
i.length > 0 &&
|
|
54241
|
+
let i = Pe(Ne(r));
|
|
54242
|
+
i.length > 0 && je(i.map(([e]) => e), t, !1, i.map(([, e]) => e));
|
|
54245
54243
|
}, [
|
|
54246
54244
|
g,
|
|
54247
54245
|
f,
|
|
54248
|
-
Me,
|
|
54249
54246
|
Ne,
|
|
54250
|
-
|
|
54251
|
-
|
|
54247
|
+
Pe,
|
|
54248
|
+
je
|
|
54249
|
+
]), Le = R((t) => {
|
|
54252
54250
|
if (!h) return;
|
|
54253
54251
|
if (!t && w) {
|
|
54254
|
-
T(!1), O.current = !1, D(null), C(/* @__PURE__ */ new Map()),
|
|
54252
|
+
T(!1), O.current = !1, D(null), C(/* @__PURE__ */ new Map()), se.current = !1, x(() => ({
|
|
54255
54253
|
allSelected: !1,
|
|
54256
54254
|
items: /* @__PURE__ */ new Map(),
|
|
54257
54255
|
groups: /* @__PURE__ */ new Map()
|
|
54258
54256
|
}));
|
|
54259
54257
|
return;
|
|
54260
54258
|
}
|
|
54261
|
-
let n = m && e.type === "grouped" ? [] :
|
|
54259
|
+
let n = m && e.type === "grouped" ? [] : Fe(), r = n.length || e.records?.length || 0;
|
|
54262
54260
|
if (t && D((e) => e === null ? r : e), m && e.type === "grouped") {
|
|
54263
54261
|
let n = e.groups.map((e) => e.key);
|
|
54264
|
-
n.length > 0 &&
|
|
54262
|
+
n.length > 0 && Me(n, t);
|
|
54265
54263
|
} else {
|
|
54266
54264
|
let e = n.map(([e]) => e), r = n.map(([, e]) => e);
|
|
54267
|
-
e.length > 0 &&
|
|
54265
|
+
e.length > 0 && je(e, t, !1, r);
|
|
54268
54266
|
}
|
|
54269
54267
|
t || (T(!1), O.current = !1, D(null));
|
|
54270
54268
|
}, [
|
|
@@ -54272,16 +54270,16 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54272
54270
|
w,
|
|
54273
54271
|
m,
|
|
54274
54272
|
e,
|
|
54275
|
-
|
|
54276
|
-
|
|
54277
|
-
|
|
54278
|
-
]),
|
|
54273
|
+
Fe,
|
|
54274
|
+
Me,
|
|
54275
|
+
je
|
|
54276
|
+
]), Re = R((t) => {
|
|
54279
54277
|
if (h) {
|
|
54280
|
-
if (T(t), O.current = t, D(t ?
|
|
54278
|
+
if (T(t), O.current = t, D(t ? ue : null), m && e.type === "grouped") {
|
|
54281
54279
|
let n = e.groups.map((e) => e.key);
|
|
54282
|
-
n.length > 0 &&
|
|
54280
|
+
n.length > 0 && Me(n, t);
|
|
54283
54281
|
} else if (t) {
|
|
54284
|
-
let e =
|
|
54282
|
+
let e = Fe();
|
|
54285
54283
|
x((t) => {
|
|
54286
54284
|
let n = /* @__PURE__ */ new Map();
|
|
54287
54285
|
for (let [t, r] of e) n.set(t, {
|
|
@@ -54296,8 +54294,8 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54296
54294
|
};
|
|
54297
54295
|
});
|
|
54298
54296
|
} else {
|
|
54299
|
-
let e =
|
|
54300
|
-
e.length > 0 &&
|
|
54297
|
+
let e = Fe().map(([e]) => e);
|
|
54298
|
+
e.length > 0 && je(e, !1), x((e) => {
|
|
54301
54299
|
let t = new Map(e.items), n = !1;
|
|
54302
54300
|
for (let [e, r] of t.entries()) r.checked !== !1 && (t.set(e, {
|
|
54303
54301
|
...r,
|
|
@@ -54313,14 +54311,14 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54313
54311
|
}
|
|
54314
54312
|
}, [
|
|
54315
54313
|
h,
|
|
54316
|
-
|
|
54314
|
+
ue,
|
|
54317
54315
|
m,
|
|
54318
54316
|
e,
|
|
54319
|
-
|
|
54320
|
-
|
|
54321
|
-
|
|
54322
|
-
]),
|
|
54323
|
-
T(!1), O.current = !1, D(null), C(/* @__PURE__ */ new Map()),
|
|
54317
|
+
Fe,
|
|
54318
|
+
Me,
|
|
54319
|
+
je
|
|
54320
|
+
]), ze = R(() => {
|
|
54321
|
+
T(!1), O.current = !1, D(null), C(/* @__PURE__ */ new Map()), se.current = !1, x(() => ({
|
|
54324
54322
|
allSelected: !1,
|
|
54325
54323
|
items: /* @__PURE__ */ new Map(),
|
|
54326
54324
|
groups: /* @__PURE__ */ new Map()
|
|
@@ -54329,64 +54327,65 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54329
54327
|
z(() => {
|
|
54330
54328
|
x((e) => ({
|
|
54331
54329
|
...e,
|
|
54332
|
-
allSelected:
|
|
54330
|
+
allSelected: ve
|
|
54333
54331
|
}));
|
|
54334
|
-
}, [
|
|
54335
|
-
let e =
|
|
54336
|
-
A.current ? e !== k.current && (k.current = e,
|
|
54332
|
+
}, [ve]), z(() => {
|
|
54333
|
+
let e = ke(i);
|
|
54334
|
+
A.current ? e !== k.current && (k.current = e, Ae(i)) : (A.current = !0, k.current = e);
|
|
54337
54335
|
}, [
|
|
54338
54336
|
i,
|
|
54339
|
-
|
|
54340
|
-
|
|
54337
|
+
ke,
|
|
54338
|
+
Ae
|
|
54341
54339
|
]), z(() => {
|
|
54342
54340
|
if (j.current) {
|
|
54343
|
-
j.current = !1, ee.current = n.currentFilters, te.current = n.currentSortings, re.current = ne;
|
|
54341
|
+
j.current = !1, ee.current = n.currentFilters, te.current = n.currentSortings, re.current = ne, ie.current = l;
|
|
54344
54342
|
return;
|
|
54345
54343
|
}
|
|
54346
|
-
let e = JSON.stringify(n.currentFilters) !== JSON.stringify(ee.current), t = JSON.stringify(n.currentSortings) !== JSON.stringify(te.current), r = ne !== re.current;
|
|
54347
|
-
(e || t || r) && (!v && (!u || w) && (
|
|
54344
|
+
let e = JSON.stringify(n.currentFilters) !== JSON.stringify(ee.current), t = JSON.stringify(n.currentSortings) !== JSON.stringify(te.current), r = ne !== re.current, i = JSON.stringify(l) !== JSON.stringify(ie.current);
|
|
54345
|
+
(e || t || r || i) && (!v && (!u || w) && (M.current = !0, ze()), ee.current = n.currentFilters, te.current = n.currentSortings, re.current = ne, ie.current = l);
|
|
54348
54346
|
}, [
|
|
54349
54347
|
n.currentFilters,
|
|
54350
54348
|
n.currentSortings,
|
|
54351
54349
|
ne,
|
|
54352
|
-
|
|
54350
|
+
l,
|
|
54351
|
+
ze,
|
|
54353
54352
|
v,
|
|
54354
54353
|
u,
|
|
54355
54354
|
w
|
|
54356
54355
|
]), z(() => {
|
|
54357
|
-
if (!
|
|
54356
|
+
if (!y) return;
|
|
54358
54357
|
if (t?.type === "infinite-scroll") {
|
|
54359
|
-
|
|
54358
|
+
le.current = de;
|
|
54360
54359
|
return;
|
|
54361
54360
|
}
|
|
54362
|
-
let e =
|
|
54363
|
-
e === void 0 ||
|
|
54361
|
+
let e = le.current;
|
|
54362
|
+
e === void 0 || de !== e && (w || ze()), le.current = de;
|
|
54364
54363
|
}, [
|
|
54365
|
-
|
|
54364
|
+
de,
|
|
54366
54365
|
w,
|
|
54367
|
-
|
|
54368
|
-
|
|
54366
|
+
ze,
|
|
54367
|
+
y,
|
|
54369
54368
|
t?.type
|
|
54370
54369
|
]), z(() => {
|
|
54371
|
-
|
|
54372
|
-
}, [
|
|
54373
|
-
let
|
|
54370
|
+
se.current = _e;
|
|
54371
|
+
}, [_e]);
|
|
54372
|
+
let Be = R((e) => {
|
|
54374
54373
|
for (let t of e) {
|
|
54375
54374
|
let e = g?.(t);
|
|
54376
54375
|
if (e === void 0) continue;
|
|
54377
54376
|
let n = t[N];
|
|
54378
|
-
n && S.get(n)?.checked &&
|
|
54377
|
+
n && S.get(n)?.checked && je(e, !0, !0);
|
|
54379
54378
|
}
|
|
54380
54379
|
}, [
|
|
54381
54380
|
g,
|
|
54382
54381
|
S,
|
|
54383
|
-
|
|
54382
|
+
je
|
|
54384
54383
|
]);
|
|
54385
54384
|
return z(() => {
|
|
54386
|
-
let e =
|
|
54385
|
+
let e = Oe();
|
|
54387
54386
|
if (e.length === 0) return;
|
|
54388
54387
|
let t = e.map((e) => g?.(e)).filter((e) => e !== void 0), n = t.join(",");
|
|
54389
|
-
n !==
|
|
54388
|
+
n !== ae.current && (ae.current = n, M.current ? M.current = !1 : (m ? Be(e) : h && !y && je(t, se.current, !0), x((t) => {
|
|
54390
54389
|
let n = !1, r = new Map(t.items);
|
|
54391
54390
|
for (let [t, i] of r.entries()) if (i.item === void 0) {
|
|
54392
54391
|
let a = e.find((e) => {
|
|
@@ -54407,57 +54406,57 @@ function gN({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
|
|
|
54407
54406
|
e.records,
|
|
54408
54407
|
e.groups,
|
|
54409
54408
|
g,
|
|
54410
|
-
|
|
54409
|
+
Oe,
|
|
54411
54410
|
m,
|
|
54412
54411
|
h,
|
|
54413
|
-
|
|
54412
|
+
je,
|
|
54414
54413
|
y,
|
|
54415
|
-
|
|
54414
|
+
Be
|
|
54416
54415
|
]), z(() => {
|
|
54417
|
-
|
|
54418
|
-
}, [
|
|
54416
|
+
me === 0 && (T(!1), O.current = !1);
|
|
54417
|
+
}, [me]), z(() => {
|
|
54419
54418
|
let e = JSON.stringify({
|
|
54420
54419
|
allSelectedCheck: w,
|
|
54421
|
-
allSelectedState:
|
|
54420
|
+
allSelectedState: ve,
|
|
54422
54421
|
itemsCount: b.items?.size ?? 0,
|
|
54423
|
-
checkedCount:
|
|
54424
|
-
resolvedItems:
|
|
54422
|
+
checkedCount: me,
|
|
54423
|
+
resolvedItems: Ce.map(({ item: e, checked: t }) => [g?.(e), t])
|
|
54425
54424
|
});
|
|
54426
|
-
e !==
|
|
54427
|
-
allSelected:
|
|
54428
|
-
itemsStatus:
|
|
54429
|
-
selectedIds:
|
|
54430
|
-
groupsStatus:
|
|
54425
|
+
e !== oe.current && (oe.current = e, a?.({
|
|
54426
|
+
allSelected: ve,
|
|
54427
|
+
itemsStatus: Ce,
|
|
54428
|
+
selectedIds: we,
|
|
54429
|
+
groupsStatus: Te,
|
|
54431
54430
|
filters: n.currentFilters || {},
|
|
54432
|
-
selectedCount:
|
|
54433
|
-
},
|
|
54431
|
+
selectedCount: Se
|
|
54432
|
+
}, ze, Re));
|
|
54434
54433
|
}, [
|
|
54435
54434
|
w,
|
|
54436
|
-
|
|
54437
|
-
Se,
|
|
54435
|
+
ve,
|
|
54438
54436
|
Ce,
|
|
54439
54437
|
we,
|
|
54440
|
-
|
|
54441
|
-
|
|
54438
|
+
Te,
|
|
54439
|
+
Se,
|
|
54440
|
+
me
|
|
54442
54441
|
]), {
|
|
54443
|
-
isAllSelected:
|
|
54444
|
-
isPartiallySelected:
|
|
54445
|
-
selectedItems:
|
|
54446
|
-
selectedGroups:
|
|
54447
|
-
allSelectedStatus:
|
|
54448
|
-
clearSelection:
|
|
54449
|
-
handleSelectItemChange:
|
|
54450
|
-
handleSelectAll:
|
|
54451
|
-
handleSelectAllItems:
|
|
54452
|
-
handleSelectGroupChange:
|
|
54442
|
+
isAllSelected: _e,
|
|
54443
|
+
isPartiallySelected: ye,
|
|
54444
|
+
selectedItems: fe,
|
|
54445
|
+
selectedGroups: be,
|
|
54446
|
+
allSelectedStatus: P,
|
|
54447
|
+
clearSelection: ze,
|
|
54448
|
+
handleSelectItemChange: Ie,
|
|
54449
|
+
handleSelectAll: Le,
|
|
54450
|
+
handleSelectAllItems: Re,
|
|
54451
|
+
handleSelectGroupChange: Me,
|
|
54453
54452
|
selectionMeta: {
|
|
54454
|
-
selectedItemsCount:
|
|
54455
|
-
totalKnownItemsCount:
|
|
54456
|
-
checkedItems: Array.from(
|
|
54457
|
-
uncheckedItems: Array.from(
|
|
54453
|
+
selectedItemsCount: Se,
|
|
54454
|
+
totalKnownItemsCount: ue,
|
|
54455
|
+
checkedItems: Array.from(fe.values()),
|
|
54456
|
+
uncheckedItems: Array.from(pe.values())
|
|
54458
54457
|
},
|
|
54459
|
-
groupAllSelectedStatus:
|
|
54460
|
-
selectionStatus:
|
|
54458
|
+
groupAllSelectedStatus: xe,
|
|
54459
|
+
selectionStatus: Ee,
|
|
54461
54460
|
selectedState: b
|
|
54462
54461
|
};
|
|
54463
54462
|
}
|
|
@@ -59983,7 +59982,6 @@ var yR = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
|
|
|
59983
59982
|
disableSelectAll: Ee,
|
|
59984
59983
|
isSearchActive: !!et,
|
|
59985
59984
|
allPagesSelection: !0,
|
|
59986
|
-
resetOnPageChange: !1,
|
|
59987
59985
|
preserveSelectionOnDatasetChange: pe
|
|
59988
59986
|
}), I = R((e) => ({
|
|
59989
59987
|
allSelected: e.allSelected,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-Cq6wTbts.js";
|
|
@@ -2,7 +2,7 @@ import { a as e, r as t } from "./i18n-provider-Bj_yUCV4.js";
|
|
|
2
2
|
import { n } from "./skeleton-BlWRZvRy.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { t as a } from "./F0Button-BU859Fsf.js";
|
|
5
|
-
import { Rc as o, Sc as s, Vs as c, _s as l, hc as u, tl as d, vs as f, ys as p } from "./F0CanvasPanel-
|
|
5
|
+
import { Rc as o, Sc as s, Vs as c, _s as l, hc as u, tl as d, vs as f, ys as p } from "./F0CanvasPanel-CM8YN8DB.js";
|
|
6
6
|
import { n as m, t as h } from "./F0Icon-CGpfItEb.js";
|
|
7
7
|
import { t as g } from "./Check-DAp9gCRh.js";
|
|
8
8
|
import { a as _, i as v, n as y, o as b, r as x, t as S } from "./localized-CnKvEJya.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-Bj_yUCV4.js";
|
|
2
2
|
import { t } from "./skeleton-BlWRZvRy.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import { kl as r } from "./F0CanvasPanel-
|
|
4
|
+
import { kl as r } from "./F0CanvasPanel-CM8YN8DB.js";
|
|
5
5
|
import { t as i } from "./F0Icon-CGpfItEb.js";
|
|
6
|
-
import { Tr as a } from "./F0Select-
|
|
7
|
-
import { t as o } from "./F0Alert-
|
|
6
|
+
import { Tr as a } from "./F0Select-DmBnMsOR.js";
|
|
7
|
+
import { t as o } from "./F0Alert-BeYDJ2qi.js";
|
|
8
8
|
import { r as s } from "./toolbarStyles-CRHL8QLK.js";
|
|
9
|
-
import { t as c } from "./DocumentToolbar-
|
|
9
|
+
import { t as c } from "./DocumentToolbar-BAPS92ha.js";
|
|
10
10
|
import { t as l } from "./useFetchedText-BR3_KLXx.js";
|
|
11
11
|
import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-ByXnijnz.js";
|
|
12
12
|
import { useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Mt as e, Nt as t } from "./CoachmarkProvider-
|
|
1
|
+
import { Mt as e, Nt as t } from "./CoachmarkProvider-D40d5x5T.js";
|
|
2
2
|
import { r as n } from "./i18n-provider-Bj_yUCV4.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { E as a } from "./F0Button-BU859Fsf.js";
|
|
5
|
-
import { aa as o, oa as s, sa as c } from "./F0CanvasPanel-
|
|
5
|
+
import { aa as o, oa as s, sa as c } from "./F0CanvasPanel-CM8YN8DB.js";
|
|
6
6
|
import { t as l } from "./F0Icon-CGpfItEb.js";
|
|
7
7
|
import { U as u, u as d } from "./useData-8I_yfx23.js";
|
|
8
8
|
import { J as ee } from "./popover-Cye-H1wu.js";
|
|
9
9
|
import { y as f } from "./dist-DQbyEaUi.js";
|
|
10
10
|
import { t as p } from "./F0Text-BAjgLVuY.js";
|
|
11
|
-
import { o as m, t as h } from "./F0Map-
|
|
11
|
+
import { o as m, t as h } from "./F0Map-BiSi6wFY.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./pdfWorker-
|
|
1
|
+
import { n as e, r as t, t as n } from "./pdfWorker-rW0wMIqN.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
|
n();
|
|
@@ -2,11 +2,11 @@ import { r as e } from "./i18n-provider-Bj_yUCV4.js";
|
|
|
2
2
|
import { t } from "./skeleton-BlWRZvRy.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { C as r, v as i } from "./F0Button-BU859Fsf.js";
|
|
5
|
-
import { Hs as a, Xs as o, tl as s } from "./F0CanvasPanel-
|
|
5
|
+
import { Hs as a, Xs as o, tl as s } from "./F0CanvasPanel-CM8YN8DB.js";
|
|
6
6
|
import { B as c, U as l } from "./useData-8I_yfx23.js";
|
|
7
|
-
import { Cr as u, Ir as d, t as f } from "./F0Select-
|
|
7
|
+
import { Cr as u, Ir as d, t as f } from "./F0Select-DmBnMsOR.js";
|
|
8
8
|
import { a as p, i as m, l as ee, n as te, o as ne, r as h, s as re, t as g, u as _ } from "./toolbarStyles-CRHL8QLK.js";
|
|
9
|
-
import { n as ie, r as ae, t as v } from "./pdfWorker-
|
|
9
|
+
import { n as ie, r as ae, t as v } from "./pdfWorker-rW0wMIqN.js";
|
|
10
10
|
import { forwardRef as y, useCallback as b, useEffect as x, useMemo as S, useRef as C, useState as w } from "react";
|
|
11
11
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
12
12
|
//#region src/addons/documents/F0DocumentViewer/crispCanvas.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-Bj_yUCV4.js";
|
|
2
2
|
import { t } from "./skeleton-BlWRZvRy.js";
|
|
3
|
-
import { M as n, ca as r, j as i } from "./F0CanvasPanel-
|
|
3
|
+
import { M as n, ca as r, j as i } from "./F0CanvasPanel-CM8YN8DB.js";
|
|
4
4
|
import { c as a } from "./toolbarStyles-CRHL8QLK.js";
|
|
5
|
-
import { n as o, t as s } from "./DocumentToolbar-
|
|
5
|
+
import { n as o, t as s } from "./DocumentToolbar-BAPS92ha.js";
|
|
6
6
|
import { n as c, t as l } from "./sheetPreview-Cd5OSWJi.js";
|
|
7
7
|
import { useEffect as u, useState as d } from "react";
|
|
8
8
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-Bj_yUCV4.js";
|
|
2
2
|
import { t } from "./skeleton-BlWRZvRy.js";
|
|
3
3
|
import { a as n } from "./F0Button-BU859Fsf.js";
|
|
4
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
4
|
+
import { n as r, t as i } from "./DocumentToolbar-BAPS92ha.js";
|
|
5
5
|
import { t as a } from "./fetchText-o_GOtiv3.js";
|
|
6
6
|
import { useEffect as o, useState as s } from "react";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
package/dist/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e, t } from "./i18n-provider-Bj_yUCV4.js";
|
|
2
|
-
import { Bn as n, G as r, Gn as i, H as a, K as o, Kt as s, V as c, i as l, jt as u, q as d, qn as f, sn as p, t as m } from "./F0CanvasPanel-
|
|
3
|
-
import { A as h, B as g, C as _, D as v, E as y, F as b, H as x, I as S, L as C, M as w, N as T, O as E, P as D, R as O, S as k, T as A, V as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z, v as Q, w as $, x as ee, y as te, z as ne } from "./F0AiProcessingOverlay-
|
|
2
|
+
import { Bn as n, G as r, Gn as i, H as a, K as o, Kt as s, V as c, i as l, jt as u, q as d, qn as f, sn as p, t as m } from "./F0CanvasPanel-CM8YN8DB.js";
|
|
3
|
+
import { A as h, B as g, C as _, D as v, E as y, F as b, H as x, I as S, L as C, M as w, N as T, O as E, P as D, R as O, S as k, T as A, V as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z, v as Q, w as $, x as ee, y as te, z as ne } from "./F0AiProcessingOverlay-Btho92d0.js";
|
|
4
4
|
import { t as re } from "./i18n-provider-defaults-H4N1k7Qh.js";
|
|
5
5
|
export { ee as AiChatTranslationsProvider, f as ChatSpinner, F as CollapsibleGroup, d as DropOverlay, i as F0ActionItem, c as F0AiChat, Z as F0AiChatHeader, Y as F0AiChatHistory, a as F0AiChatProvider, S as F0AiChatTextArea, ne as F0AiChatUsageLimitsButton, y as F0AiFileAttachments, p as F0AiFilePreviewsProvider, z as F0AiInsightCard, Q as F0AiMask, L as F0AiMessageSources, $ as F0AiMessagesContainer, r as F0AiPong, X as F0AiProcessingOverlay, q as F0AiProposalCard, I as F0AiTableCard, M as F0AuraVoiceAnimation, h as F0CanvasCard, m as F0CanvasPanel, g as F0ChatComposer, te as F0ClarifyingPanel, R as F0HILActionConfirmation, n as F0OneIcon, l as F0OneSwitch, v as FormCardValueFormatterProvider, t as I18nProvider, o as PongBall, U as ThreadItem, K as ThreadListSkeleton, O as WelcomeScreenCardsRow, x as actionItemStatuses, V as aiChatFileFromShowFilesItem, w as aiChatFileFromUploadedFile, T as aiChatFilesFromMessage, D as aiChatMessageText, _ as aiTranslations, J as chatHistoryIndicators, B as chatThreadStatuses, W as contentTypes, C as createPersonMentionSource, re as defaultTranslations, u as escapeUserText, b as markdownRenderers, j as oneIconSizes, G as usageLimitsPopoverSides, s as useAiChat, k as useAiChatTranslations, P as useCanvasEntity, N as useChatHistory, E as useFormCardValueFormatter, e as useI18n, H as useSetFormCardValueFormatter, A 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-11-27T13:
|
|
7
|
+
generatedAt: "2026-11-27T13:37:49.658Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 319,
|
|
10
10
|
byStatus: {
|