@factorialco/f0-react 6.88.1 → 6.88.3

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.
Files changed (77) hide show
  1. package/dist/{ChatDocxThumbnail-DzNPNFya.js → ChatDocxThumbnail-DhzoVI1K.js} +11 -8
  2. package/dist/{ChatPdfThumbnail-CU04qody.js → ChatPdfThumbnail-DdrOp7Rm.js} +1 -1
  3. package/dist/{ChatSheetThumbnail-CxGL5ukQ.js → ChatSheetThumbnail-D8aN1W_0.js} +3 -2
  4. package/dist/{ChatTextThumbnail-FVwMzn0I.js → ChatTextThumbnail-B53pSYUy.js} +2 -1
  5. package/dist/{CoachmarkProvider-Za9OFHyv.js → CoachmarkProvider-CoPINK6_.js} +10468 -10201
  6. package/dist/{DocumentToolbar-CjPXej-B.js → DocumentToolbar-p4qZSVUD.js} +2 -2
  7. package/dist/{DocxViewer-jBPMXxA5.js → DocxViewer-_Z59Wr2S.js} +11 -9
  8. package/dist/{F0AiProcessingOverlay-1Asmno_R.js → F0AiProcessingOverlay-CwJG6TgU.js} +492 -405
  9. package/dist/{F0CanvasPanel-B-mXfgsy.js → F0CanvasPanel-CpgOQnbI.js} +3716 -3608
  10. package/dist/F0CanvasPanel.css +1 -1
  11. package/dist/{F0VideoPlayer-tVJoBk75.js → F0VideoPlayer-CXAjfSnS.js} +447 -429
  12. package/dist/{LocationMap-C7xbKAtJ.js → LocationMap-Bp7gglCx.js} +5 -3
  13. package/dist/{SheetViewer-DqCzdCSC.js → SheetViewer-DSbC_CR2.js} +3 -3
  14. package/dist/{TextViewer-jnyFAnd_.js → TextViewer-BkgAiijZ.js} +4 -3
  15. package/dist/ai.d.ts +22 -22
  16. package/dist/ai.js +2 -2
  17. package/dist/component-status.d.ts +17 -17
  18. package/dist/component-status.js +3 -2
  19. package/dist/{experimental-i99E8mRr.js → experimental-Crt7EEav.js} +3070 -2859
  20. package/dist/experimental.d.ts +85 -65
  21. package/dist/experimental.js +3 -3
  22. package/dist/f0.d.ts +93 -82
  23. package/dist/f0.js +8070 -7967
  24. package/dist/i18n-provider-defaults.d.ts +13 -13
  25. package/dist/{index-X5f3wrms.js → index-BP9845Kl.js} +23 -13
  26. package/dist/index-uG8opRj1.js +4 -0
  27. package/dist/{pdfWorker-C0RfCQda.js → pdfWorker-wHv_aPH2.js} +2 -2
  28. package/dist/{sheetPreview-5qeAOp0W.js → sheetPreview-Djc-YyVs.js} +4 -2
  29. package/icons/app/CursorClick.d.ts.map +1 -1
  30. package/icons/app/FitView.d.ts.map +1 -1
  31. package/icons/modules/Benefits.d.ts.map +1 -1
  32. package/icons/modules/Calendar.d.ts.map +1 -1
  33. package/icons/modules/Cards.d.ts.map +1 -1
  34. package/icons/modules/ClockIn.d.ts.map +1 -1
  35. package/icons/modules/Communities.d.ts.map +1 -1
  36. package/icons/modules/Complaints.d.ts.map +1 -1
  37. package/icons/modules/Discover.d.ts.map +1 -1
  38. package/icons/modules/Documents.d.ts.map +1 -1
  39. package/icons/modules/Engagement.d.ts.map +1 -1
  40. package/icons/modules/Finance.d.ts.map +1 -1
  41. package/icons/modules/Goals.d.ts.map +1 -1
  42. package/icons/modules/Home.d.ts.map +1 -1
  43. package/icons/modules/Hub.d.ts.map +1 -1
  44. package/icons/modules/Inbox.d.ts.map +1 -1
  45. package/icons/modules/ItManagement.d.ts.map +1 -1
  46. package/icons/modules/Kudos.d.ts.map +1 -1
  47. package/icons/modules/LMS.d.ts.map +1 -1
  48. package/icons/modules/Marketplace.d.ts.map +1 -1
  49. package/icons/modules/Meetings.d.ts.map +1 -1
  50. package/icons/modules/MyDocuments.d.ts.map +1 -1
  51. package/icons/modules/Organization.d.ts.map +1 -1
  52. package/icons/modules/Overviews.d.ts.map +1 -1
  53. package/icons/modules/Pages.d.ts.map +1 -1
  54. package/icons/modules/Payroll.d.ts.map +1 -1
  55. package/icons/modules/Performance.d.ts.map +1 -1
  56. package/icons/modules/Profile.d.ts.map +1 -1
  57. package/icons/modules/Projects.d.ts.map +1 -1
  58. package/icons/modules/Recruitment.d.ts.map +1 -1
  59. package/icons/modules/Reports.d.ts.map +1 -1
  60. package/icons/modules/Rocket.d.ts.map +1 -1
  61. package/icons/modules/SalaryAdvance.d.ts.map +1 -1
  62. package/icons/modules/Sales.d.ts.map +1 -1
  63. package/icons/modules/Settings.d.ts.map +1 -1
  64. package/icons/modules/Shifts.d.ts.map +1 -1
  65. package/icons/modules/Social.d.ts.map +1 -1
  66. package/icons/modules/Software.d.ts.map +1 -1
  67. package/icons/modules/Spaces.d.ts.map +1 -1
  68. package/icons/modules/Spending.d.ts.map +1 -1
  69. package/icons/modules/Tasks.d.ts.map +1 -1
  70. package/icons/modules/TimeOff.d.ts.map +1 -1
  71. package/icons/modules/TimeTracking.d.ts.map +1 -1
  72. package/icons/modules/Trainings.d.ts.map +1 -1
  73. package/icons/modules/Treasury.d.ts.map +1 -1
  74. package/icons/modules/Workflows.d.ts.map +1 -1
  75. package/icons/special/One.d.ts.map +1 -1
  76. package/package.json +1 -1
  77. package/dist/index-onBO9HKr.js +0 -4
@@ -1,32 +1,35 @@
1
1
  import { jsx as h } from "react/jsx-runtime";
2
- import { useRef as n, useState as b, useEffect as g } from "react";
3
- import { r as p } from "./docx-preview-BaRDMyPN.js";
2
+ import { r as b } from "./docx-preview-BaRDMyPN.js";
3
+ import { useRef as n, useState as g, useEffect as p } from "react";
4
4
  const x = ({
5
5
  url: a,
6
6
  width: s,
7
7
  onError: o,
8
8
  onRendered: f
9
9
  }) => {
10
- const l = n(null), [c, m] = b(null), u = n(o);
10
+ const l = n(null), [c, m] = g(null), u = n(o);
11
11
  u.current = o;
12
12
  const i = n(f);
13
- return i.current = f, g(() => {
13
+ return i.current = f, p(() => {
14
14
  const t = l.current;
15
- if (!t) return;
15
+ if (!t)
16
+ return;
16
17
  let r = !1;
17
18
  return fetch(a).then((e) => {
18
- if (!e.ok) throw new Error(`${e.status}`);
19
+ if (!e.ok)
20
+ throw new Error(`${e.status}`);
19
21
  return e.blob();
20
22
  }).then((e) => {
21
23
  if (!r)
22
- return p(e, t, void 0, {
24
+ return b(e, t, void 0, {
23
25
  inWrapper: !1,
24
26
  breakPages: !1,
25
27
  ignoreLastRenderedPageBreak: !0,
26
28
  renderHeaders: !1,
27
29
  renderFooters: !1
28
30
  }).then(() => {
29
- if (r) return;
31
+ if (r)
32
+ return;
30
33
  const d = t.scrollWidth;
31
34
  m(d > 0 ? Math.min(1, s / d) : 1), i.current();
32
35
  });
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { D as l, P as d, e as s } from "./pdfWorker-C0RfCQda.js";
2
+ import { D as l, P as d, e as s } from "./pdfWorker-wHv_aPH2.js";
3
3
  s();
4
4
  const f = ({
5
5
  url: n,
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { useState as m, useRef as u, useEffect as h } from "react";
3
- import { f as b } from "./sheetPreview-5qeAOp0W.js";
3
+ import { f as b } from "./sheetPreview-Djc-YyVs.js";
4
4
  const p = 12, w = 8, S = ({
5
5
  url: s,
6
6
  onError: c,
@@ -12,7 +12,8 @@ const p = 12, w = 8, S = ({
12
12
  return f.current = l, h(() => {
13
13
  let e = !1;
14
14
  return b(s, { maxRows: p, maxCols: w }).then((n) => {
15
- if (e) return;
15
+ if (e)
16
+ return;
16
17
  const r = n[0];
17
18
  if (!r || r.rows.length === 0) {
18
19
  o.current();
@@ -11,7 +11,8 @@ const h = 4096, p = ({
11
11
  return o.current = c, m(() => {
12
12
  let r = !1;
13
13
  return fetch(n).then((t) => {
14
- if (!t.ok) throw new Error(`${t.status}`);
14
+ if (!t.ok)
15
+ throw new Error(`${t.status}`);
15
16
  return t.text();
16
17
  }).then((t) => {
17
18
  if (!r) {