@factorialco/f0-react 13.1.0 → 13.2.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.
Files changed (61) hide show
  1. package/dist/{ArchiveThumbnail-Bz26vD3k.js → ArchiveThumbnail-BGWiJFfA.js} +3 -3
  2. package/dist/{ArchiveViewer-Br_UrMQq.js → ArchiveViewer-gaakCGJ3.js} +5 -5
  3. package/dist/{ChatPostComposerDialog-xaCrNutP.js → ChatPostComposerDialog-Ap8woczj.js} +3 -3
  4. package/dist/{CoachmarkProvider-DYNzyAzo.js → CoachmarkProvider-E3_-IxOV.js} +27367 -27377
  5. package/dist/{CodeThumbnail-gCUveng3.js → CodeThumbnail-Bm_GaLxm.js} +1 -1
  6. package/dist/{CodeViewer-DIWvig04.js → CodeViewer-Ia0NwKX_.js} +6 -6
  7. package/dist/{DocumentToolbar-KSR6JvwX.js → DocumentToolbar-D4KElA1V.js} +5 -5
  8. package/dist/{DocxViewer-BaJCyWOv.js → DocxViewer-C6otSnj3.js} +3 -3
  9. package/dist/{F0AiProcessingOverlay-BOFAcdmY.js → F0AiProcessingOverlay-DMkI1tRu.js} +9 -9
  10. package/dist/{F0Alert-BkFPrwRK.js → F0Alert-D664MgOC.js} +5 -5
  11. package/dist/F0AudioPlayer-CgoLw3-_.js +2 -0
  12. package/dist/{F0Button-C1-0hRRA.js → F0Button-Bo-Zw0Zx.js} +3 -3
  13. package/dist/{F0CanvasPanel-DUZAHcRh.js → F0CanvasPanel-BWbAs38E.js} +5876 -5869
  14. package/dist/{F0DocumentViewer-DaymVJJ7.js → F0DocumentViewer-D8VcE-pQ.js} +4 -4
  15. package/dist/{F0DocumentViewer-D4NVYpen.js → F0DocumentViewer-DGk2W39u.js} +1 -1
  16. package/dist/{F0Icon-DmCBV0gK.js → F0Icon-P9uOVsGz.js} +1 -1
  17. package/dist/{F0Map-DValPZZ3.js → F0Map-Pl6RC3T5.js} +172 -151
  18. package/dist/{F0Select-DDqZWGSC.js → F0Select-CzWp91j0.js} +8 -8
  19. package/dist/{F0Text-KD9_ThWl.js → F0Text-BG36S9Xx.js} +2 -2
  20. package/dist/F0VideoPlayer-BDUW3ILk.js +1 -0
  21. package/dist/{F0VideoPlayer-_ThwtIuS.js → F0VideoPlayer-C_fMkaxj.js} +6 -6
  22. package/dist/{HtmlThumbnail-CGNpFG13.js → HtmlThumbnail-BiphE7Y5.js} +1 -1
  23. package/dist/{HtmlViewer-Bqei9VAg.js → HtmlViewer-DZHyuKz5.js} +9 -9
  24. package/dist/{LayoutGroup-88jf2Qrz.js → LayoutGroup-DLtALSqH.js} +1 -1
  25. package/dist/{Map-CSuL7eRp.js → Map-Gf6bkS6T.js} +10 -10
  26. package/dist/{PdfThumbnail-B20soGGL.js → PdfThumbnail-9X44csq5.js} +3 -3
  27. package/dist/{PdfViewer-06FXAmNj.js → PdfViewer-DtdRvpvP.js} +10 -10
  28. package/dist/{SandboxedHtmlFrame-B29PHJ6m.js → SandboxedHtmlFrame-DeAt348C.js} +2 -2
  29. package/dist/{SheetViewer-C3Phf24V.js → SheetViewer-_iq4uwXW.js} +5 -5
  30. package/dist/{TextViewer-DCVutuqX.js → TextViewer-C7xx-4YQ.js} +4 -4
  31. package/dist/ai.d.ts +3 -3
  32. package/dist/ai.js +4 -4
  33. package/dist/component-status.js +1 -1
  34. package/dist/{dist-CBheMQQo.js → dist-C_W2CLtJ.js} +4 -4
  35. package/dist/{dist-CFY0KELA.js → dist-Do5FlVaY.js} +1 -1
  36. package/dist/{dist-zvwuNflP.js → dist-Ol7JA7z9.js} +1 -1
  37. package/dist/experimental.d.ts +3 -3
  38. package/dist/experimental.js +16 -15
  39. package/dist/{exports-BPCb_V_l.d.ts → exports-CebiqGLM.d.ts} +1 -1
  40. package/dist/f0.d.ts +4 -4
  41. package/dist/f0.js +17 -17
  42. package/dist/{highlight-BfB_NSI3.js → highlight-izD68Eru.js} +1 -1
  43. package/dist/{i18n-provider-Bdgo-LeP.js → i18n-provider-C_PTccYX.js} +1 -1
  44. package/dist/{i18n-provider-defaults-DyPn8R7T.d.ts → i18n-provider-defaults-DD3oVvPp.d.ts} +1 -0
  45. package/dist/{i18n-provider-defaults-B9vdZZeS.js → i18n-provider-defaults-JkDaKXzI.js} +2 -1
  46. package/dist/i18n-provider-defaults.d.ts +1 -1
  47. package/dist/i18n-provider-defaults.js +1 -1
  48. package/dist/{index-BrWCSgfc.d.ts → index-CpTdsnxc.d.ts} +7 -2
  49. package/dist/{maplibre-6PzgwdR7.js → maplibre-nQ8eXeKQ.js} +1 -1
  50. package/dist/{pdfWorker-BhhAlqi1.js → pdfWorker-kyGjjW4X.js} +15 -6
  51. package/dist/pdfWorker.css +1 -0
  52. package/dist/{popover-ics24JxK.js → popover-DhWTWc7-.js} +1 -1
  53. package/dist/{scrollarea-BbCUnpY7.js → scrollarea-pyluD6aV.js} +3 -3
  54. package/dist/{skeleton-AC0Fb8zj.js → skeleton-CyLv1Ytt.js} +1 -1
  55. package/dist/styles.css +1 -1
  56. package/dist/{toolbarStyles-BffylLUB.js → toolbarStyles-stzlyka-.js} +1 -1
  57. package/dist/{types-CRx-aTBt.d.ts → types-ei71RXBT.d.ts} +19 -7
  58. package/dist/{useData-DikJqoNa.js → useData-BmoyjoRL.js} +150 -129
  59. package/package.json +1 -1
  60. package/dist/F0AudioPlayer-Dq4-9QDJ.js +0 -2
  61. package/dist/F0VideoPlayer-D3U1y8RL.js +0 -1
@@ -1,11 +1,11 @@
1
1
  import { r as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { a as t, i as n, r } from "./i18n-provider-Bdgo-LeP.js";
3
- import { n as i, t as a } from "./skeleton-AC0Fb8zj.js";
2
+ import { a as t, i as n, r } from "./i18n-provider-C_PTccYX.js";
3
+ import { n as i, t as a } from "./skeleton-CyLv1Ytt.js";
4
4
  import { L as o, R as s } from "./tooltip-BX4dSfeL.js";
5
- import { N as c, S as l, U as u, f as d, t as f } from "./F0Button-C1-0hRRA.js";
6
- import { o as p, r as m, t as h } from "./F0Icon-DmCBV0gK.js";
7
- import { A as g, E as _, H as v, M as y, O as b, T as x, a as ee, b as S, i as te, k as C, t as w } from "./popover-ics24JxK.js";
8
- import { n as T, r as E } from "./scrollarea-BbCUnpY7.js";
5
+ import { N as c, S as l, U as u, f as d, t as f } from "./F0Button-Bo-Zw0Zx.js";
6
+ import { o as p, r as m, t as h } from "./F0Icon-P9uOVsGz.js";
7
+ import { A as g, E as _, H as v, M as y, O as b, T as x, a as ee, b as S, i as te, k as C, t as w } from "./popover-DhWTWc7-.js";
8
+ import { n as T, r as E } from "./scrollarea-pyluD6aV.js";
9
9
  import { t as D } from "./dist-Cuwaibqg.js";
10
10
  import { t as ne } from "./ownValue-D4uSXt0d.js";
11
11
  import * as O from "react";
@@ -17575,10 +17575,31 @@ var fd = t(dd), pd = o("opacity-0 transition-opacity motion-reduce:transition-no
17575
17575
  dataTestId: n
17576
17576
  });
17577
17577
  }
17578
- }, vd = ({ actions: e, ...t }) => e?.length ? /* @__PURE__ */ z(hd, {
17579
- actions: e,
17580
- children: /* @__PURE__ */ z(_d, { ...t })
17581
- }) : /* @__PURE__ */ z(_d, { ...t }), yd = t(vd), bd = u.create(h), xd = ({ count: e, totalItemsCount: t, isOpen: n }) => {
17578
+ };
17579
+ function vd(e, t) {
17580
+ if ("aria-label" in e && e["aria-label"]) return e["aria-label"];
17581
+ switch (e.type) {
17582
+ case "person": return `${e.firstName} ${e.lastName}`.trim() || void 0;
17583
+ case "team":
17584
+ case "company": return e.name;
17585
+ case "file": return e.file.name;
17586
+ case "flag": return t[e.flag] ?? e.flag;
17587
+ default: return;
17588
+ }
17589
+ }
17590
+ var yd = ({ actions: e, onClick: t, ...n }) => {
17591
+ let { countries: i } = r(), a = t ? /* @__PURE__ */ z("button", {
17592
+ type: "button",
17593
+ "aria-label": vd(n.avatar, i),
17594
+ onClick: t,
17595
+ className: o("flex cursor-pointer border-0 bg-transparent p-0", n.avatar.type === "person" ? "rounded-full" : "rounded-md", s()),
17596
+ children: /* @__PURE__ */ z(_d, { ...n })
17597
+ }) : /* @__PURE__ */ z(_d, { ...n });
17598
+ return e?.length ? /* @__PURE__ */ z(hd, {
17599
+ actions: e,
17600
+ children: a
17601
+ }) : a;
17602
+ }, bd = t(yd), xd = u.create(h), Sd = ({ count: e, totalItemsCount: t, isOpen: n }) => {
17582
17603
  let i = r();
17583
17604
  return /* @__PURE__ */ B("div", {
17584
17605
  className: o("flex items-center gap-1 rounded py-1.5 pl-3 pr-2 text-base font-medium text-f1-foreground transition-colors hover:bg-f1-background-secondary", n && "bg-f1-background-secondary"),
@@ -17587,7 +17608,7 @@ var fd = t(dd), pd = o("opacity-0 transition-opacity motion-reduce:transition-no
17587
17608
  /* @__PURE__ */ z("span", { children: i.actions.more }),
17588
17609
  /* @__PURE__ */ z("div", {
17589
17610
  className: "flex h-5 w-5 items-center justify-center after:absolute after:h-4 after:w-4 after:rounded-xs after:bg-f1-background-secondary after:content-['']",
17590
- children: /* @__PURE__ */ z(bd, {
17611
+ children: /* @__PURE__ */ z(xd, {
17591
17612
  icon: ae,
17592
17613
  initial: { rotate: 0 },
17593
17614
  animate: { rotate: n ? 180 : 0 },
@@ -17597,11 +17618,11 @@ var fd = t(dd), pd = o("opacity-0 transition-opacity motion-reduce:transition-no
17597
17618
  ]
17598
17619
  });
17599
17620
  };
17600
- xd.displayName = "OverflowIndicator";
17621
+ Sd.displayName = "OverflowIndicator";
17601
17622
  //#endregion
17602
17623
  //#region src/elements/OverflowList/useOverflowCalculation.ts
17603
- var Sd = 20;
17604
- function Cd(e, t, n) {
17624
+ var Cd = 20;
17625
+ function wd(e, t, n) {
17605
17626
  let r = I(null), i = I(null), a = I(null), o = I(null), s = I(null), [c, u] = L(null), [d, f] = L(!1);
17606
17627
  l({
17607
17628
  ref: r,
@@ -17641,7 +17662,7 @@ function Cd(e, t, n) {
17641
17662
  if (_ !== null && h > _) {
17642
17663
  let e = m({
17643
17664
  itemWidths: d,
17644
- availableWidth: g - Sd
17665
+ availableWidth: g - Cd
17645
17666
  });
17646
17667
  e < h && (h = Math.max(e, _));
17647
17668
  }
@@ -17679,14 +17700,14 @@ function Cd(e, t, n) {
17679
17700
  }
17680
17701
  //#endregion
17681
17702
  //#region src/elements/OverflowList/OverflowList.tsx
17682
- var wd = function({ items: e, renderListItem: t, renderDropdownItem: n, overflowIndicatorWithPopover: r = !0, renderOverflowIndicator: i, forceShowingOverflowIndicator: c = !1, className: l = "", gap: u = 8, max: d, min: f = 0, fluidItems: p = !1, itemsWidth: m }) {
17703
+ var Td = function({ items: e, renderListItem: t, renderDropdownItem: n, overflowIndicatorWithPopover: r = !0, renderOverflowIndicator: i, forceShowingOverflowIndicator: c = !1, className: l = "", gap: u = 8, max: d, min: f = 0, fluidItems: p = !1, itemsWidth: m }) {
17683
17704
  let [h, g] = L(!1), _ = j((e) => {
17684
17705
  g(e);
17685
- }, []), { containerRef: v, overflowButtonRef: y, customOverflowIndicatorRef: b, measurementContainerRef: x, visibleItems: S, overflowItems: C, isInitialized: T } = Cd(e, u, {
17706
+ }, []), { containerRef: v, overflowButtonRef: y, customOverflowIndicatorRef: b, measurementContainerRef: x, visibleItems: S, overflowItems: C, isInitialized: T } = wd(e, u, {
17686
17707
  max: d,
17687
17708
  min: f,
17688
17709
  itemsWidth: m
17689
- }), E = F(() => /* @__PURE__ */ z(xd, {
17710
+ }), E = F(() => /* @__PURE__ */ z(Sd, {
17690
17711
  totalItemsCount: e.length,
17691
17712
  isOpen: h,
17692
17713
  count: C.length
@@ -17751,10 +17772,10 @@ var wd = function({ items: e, renderListItem: t, renderDropdownItem: n, overflow
17751
17772
  ]
17752
17773
  });
17753
17774
  };
17754
- wd.displayName = "OverflowList";
17775
+ Td.displayName = "OverflowList";
17755
17776
  //#endregion
17756
17777
  //#region src/elements/avatars/F0AvatarList/utils.ts
17757
- function Td(e, t) {
17778
+ function Ed(e, t) {
17758
17779
  switch (e) {
17759
17780
  case "person": return `${t.firstName} ${t.lastName}`;
17760
17781
  case "team": return t.name;
@@ -17766,7 +17787,7 @@ function Td(e, t) {
17766
17787
  }
17767
17788
  //#endregion
17768
17789
  //#region src/elements/avatars/F0AvatarList/components/MaxCounter.tsx
17769
- var Ed = p({
17790
+ var Dd = p({
17770
17791
  base: "flex shrink-0 items-center justify-center bg-f1-background-secondary font-medium text-f1-foreground-secondary",
17771
17792
  variants: {
17772
17793
  size: {
@@ -17792,7 +17813,7 @@ var Ed = p({
17792
17813
  size: "md",
17793
17814
  type: "base"
17794
17815
  }
17795
- }), Dd = ({ count: e, size: t = "md", type: n, list: r, avatarType: i = "person" }) => {
17816
+ }), Od = ({ count: e, size: t = "md", type: n, list: r, avatarType: i = "person" }) => {
17796
17817
  let [a, c] = L(!1), l = I(!1), u = I(null), d = I(void 0);
17797
17818
  N(() => () => clearTimeout(d.current), []);
17798
17819
  let f = () => clearTimeout(d.current), p = () => {
@@ -17807,7 +17828,7 @@ var Ed = p({
17807
17828
  children: ["+", e]
17808
17829
  })] }) : `+${e}`;
17809
17830
  if (!r?.length) return /* @__PURE__ */ z("div", {
17810
- className: o("cursor-default font-medium transition", Ed({
17831
+ className: o("cursor-default font-medium transition", Dd({
17811
17832
  size: t,
17812
17833
  type: n
17813
17834
  })),
@@ -17819,7 +17840,7 @@ var Ed = p({
17819
17840
  className: "flex w-[180px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
17820
17841
  children: [/* @__PURE__ */ z("div", {
17821
17842
  className: "h-6 w-6 shrink-0",
17822
- children: /* @__PURE__ */ z(yd, {
17843
+ children: /* @__PURE__ */ z(bd, {
17823
17844
  avatar: {
17824
17845
  type: i,
17825
17846
  ...e
@@ -17830,7 +17851,7 @@ var Ed = p({
17830
17851
  className: "flex min-w-0 flex-1 flex-col",
17831
17852
  children: [/* @__PURE__ */ z("div", {
17832
17853
  className: "truncate font-semibold",
17833
- children: Td(i, e)
17854
+ children: Ed(i, e)
17834
17855
  }), n ? /* @__PURE__ */ z("div", {
17835
17856
  className: "truncate text-sm text-current opacity-70",
17836
17857
  children: n
@@ -17850,7 +17871,7 @@ var Ed = p({
17850
17871
  onClick: (e) => {
17851
17872
  l.current = !1, a && (e.preventDefault(), u.current?.focus());
17852
17873
  },
17853
- className: o("cursor-pointer font-medium transition hover:bg-f1-background-secondary-hover", Ed({
17874
+ className: o("cursor-pointer font-medium transition hover:bg-f1-background-secondary-hover", Dd({
17854
17875
  size: t,
17855
17876
  type: n
17856
17877
  }), s()),
@@ -17877,11 +17898,11 @@ var Ed = p({
17877
17898
  })
17878
17899
  })]
17879
17900
  });
17880
- }, Od = [
17901
+ }, kd = [
17881
17902
  "xs",
17882
17903
  "sm",
17883
17904
  "md"
17884
- ], kd = {
17905
+ ], Ad = {
17885
17906
  base: {
17886
17907
  md: "path('M1.08993 5.46009C0 7.59921 0 10.3995 0 16C0 21.6005 0 24.4008 1.08993 26.5399C2.04867 28.4215 3.57847 29.9513 5.46009 30.9101C7.59921 32 10.3995 32 16 32C21.6005 32 24.4008 32 26.5399 30.9101C27.4506 30.446 28.279 29.8482 29 29.1414C28.2314 28.388 27.5846 27.5108 27.0899 26.5399C26 24.4008 26 21.6005 26 16C26 10.3995 26 7.59921 27.0899 5.46009C27.5846 4.48921 28.2314 3.612 29 2.85857C28.279 2.15181 27.4506 1.55398 26.5399 1.08993C24.4008 0 21.6005 0 16 0C10.3995 0 7.59921 0 5.46009 1.08993C3.57847 2.04867 2.04867 3.57847 1.08993 5.46009Z')",
17887
17908
  sm: "path('M0.608964 4.93853C0 6.4087 0 8.27247 0 12C0 15.7275 0 17.5913 0.608964 19.0615C1.42092 21.0217 2.97831 22.5791 4.93853 23.391C6.4087 24 8.27247 24 12 24C15.7275 24 17.5913 24 19.0615 23.391C19.9729 23.0135 20.7972 22.4749 21.5 21.8095C20.6912 21.0438 20.0434 20.1103 19.609 19.0615C19 17.5913 19 15.7275 19 12C19 8.27247 19 6.4087 19.609 4.93853C20.0434 3.88971 20.6912 2.95622 21.5 2.19052C20.7972 1.52515 19.9729 0.986481 19.0615 0.608964C17.5913 0 15.7275 0 12 0C8.27247 0 6.4087 0 4.93853 0.608964C2.97831 1.42092 1.42092 2.97831 0.608964 4.93853Z')",
@@ -17892,8 +17913,8 @@ var Ed = p({
17892
17913
  sm: "path('M21.3746 4.50813C19.1755 1.76008 15.7933 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C15.7933 24 19.1755 22.2399 21.3746 19.4919C19.8788 17.3743 19 14.7898 19 12C19 9.21023 19.8788 6.62571 21.3746 4.50813Z')",
17893
17914
  xs: "path('M18 4.19899C16.7442 5.95406 16 8.13577 16 10.5C16 12.8642 16.7442 15.0459 18 16.801C16.1755 19.3508 13.2712 21 10 21C4.47716 21 0 16.299 0 10.5C0 4.70102 4.47716 0 10 0C13.2712 0 16.1755 1.64923 18 4.19899Z')"
17894
17915
  }
17895
- }, Ad = ({ avatars: e, size: t = "md", type: n, noTooltip: r = !1, remainingCount: i, max: a, tooltipScroll: o, layout: s }) => {
17896
- if (t && !Od.includes(t)) {
17916
+ }, jd = ({ avatars: e, size: t = "md", type: n, noTooltip: r = !1, remainingCount: i, max: a, tooltipScroll: o, layout: s }) => {
17917
+ if (t && !kd.includes(t)) {
17897
17918
  let e = {
17898
17919
  small: "sm",
17899
17920
  medium: "md",
@@ -17910,7 +17931,7 @@ var Ed = p({
17910
17931
  sm: 24,
17911
17932
  md: 32
17912
17933
  })[t], [t]);
17913
- return /* @__PURE__ */ z(wd, {
17934
+ return /* @__PURE__ */ z(Td, {
17914
17935
  max: a,
17915
17936
  min: a,
17916
17937
  items: e.map((e) => ({
@@ -17921,10 +17942,10 @@ var Ed = p({
17921
17942
  itemsWidth: u,
17922
17943
  className: "flex items-center",
17923
17944
  renderListItem: (a, o) => {
17924
- let s = Td(n, a), l = a.tooltipDescription, u = !!a.badge, d = o === e.length - 1, f = /* @__PURE__ */ z("div", {
17945
+ let s = Ed(n, a), l = a.tooltipDescription, u = !!a.badge, d = o === e.length - 1, f = /* @__PURE__ */ z("div", {
17925
17946
  className: "flex h-fit w-fit shrink-0 items-center justify-center",
17926
- style: (!d || d && i !== void 0) && !u ? { clipPath: kd[n === "person" ? "rounded" : "base"][t] } : void 0,
17927
- children: /* @__PURE__ */ z(yd, {
17947
+ style: (!d || d && i !== void 0) && !u ? { clipPath: Ad[n === "person" ? "rounded" : "base"][t] } : void 0,
17948
+ children: /* @__PURE__ */ z(bd, {
17928
17949
  avatar: {
17929
17950
  ...a,
17930
17951
  type: n
@@ -17943,7 +17964,7 @@ var Ed = p({
17943
17964
  renderOverflowIndicator: (r) => /* @__PURE__ */ z("div", {
17944
17965
  className: "flex h-fit w-fit items-center",
17945
17966
  style: { marginLeft: l },
17946
- children: /* @__PURE__ */ z(Dd, {
17967
+ children: /* @__PURE__ */ z(Od, {
17947
17968
  count: (i ?? 0) + r,
17948
17969
  size: t,
17949
17970
  type: n === "person" ? "rounded" : "base",
@@ -17954,14 +17975,14 @@ var Ed = p({
17954
17975
  overflowIndicatorWithPopover: !1
17955
17976
  });
17956
17977
  };
17957
- Ad.displayName = "AvatarList";
17958
- var jd = t(Ad);
17978
+ jd.displayName = "AvatarList";
17979
+ var Md = t(jd);
17959
17980
  //#endregion
17960
17981
  //#region ../../node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js
17961
- function Md(e, t) {
17982
+ function Nd(e, t) {
17962
17983
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
17963
17984
  if (n) return (n = n.call(e)).next.bind(n);
17964
- if (Array.isArray(e) || (n = Nd(e)) || t && e && typeof e.length == "number") {
17985
+ if (Array.isArray(e) || (n = Pd(e)) || t && e && typeof e.length == "number") {
17965
17986
  n && (e = n);
17966
17987
  var r = 0;
17967
17988
  return function() {
@@ -17973,57 +17994,57 @@ function Md(e, t) {
17973
17994
  }
17974
17995
  throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17975
17996
  }
17976
- function Nd(e, t) {
17997
+ function Pd(e, t) {
17977
17998
  if (e) {
17978
- if (typeof e == "string") return Pd(e, t);
17999
+ if (typeof e == "string") return Fd(e, t);
17979
18000
  var n = Object.prototype.toString.call(e).slice(8, -1);
17980
18001
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
17981
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Pd(e, t);
18002
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Fd(e, t);
17982
18003
  }
17983
18004
  }
17984
- function Pd(e, t) {
18005
+ function Fd(e, t) {
17985
18006
  (t == null || t > e.length) && (t = e.length);
17986
18007
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
17987
18008
  return r;
17988
18009
  }
17989
- function Fd(e, t) {
18010
+ function Id(e, t) {
17990
18011
  for (var n = 0; n < t.length; n++) {
17991
18012
  var r = t[n];
17992
18013
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
17993
18014
  }
17994
18015
  }
17995
- function Id(e, t, n) {
17996
- return t && Fd(e.prototype, t), n && Fd(e, n), e;
18016
+ function Ld(e, t, n) {
18017
+ return t && Id(e.prototype, t), n && Id(e, n), e;
17997
18018
  }
17998
- var Ld = function() {
18019
+ var Rd = function() {
17999
18020
  return typeof Symbol == "function";
18000
- }, Rd = function(e) {
18001
- return Ld() && !!Symbol[e];
18002
18021
  }, zd = function(e) {
18003
- return Rd(e) ? Symbol[e] : "@@" + e;
18022
+ return Rd() && !!Symbol[e];
18023
+ }, Bd = function(e) {
18024
+ return zd(e) ? Symbol[e] : "@@" + e;
18004
18025
  };
18005
- Ld() && !Rd("observable") && (Symbol.observable = Symbol("observable"));
18006
- var Bd = zd("iterator"), Vd = zd("observable"), Hd = zd("species");
18007
- function Ud(e, t) {
18026
+ Rd() && !zd("observable") && (Symbol.observable = Symbol("observable"));
18027
+ var Vd = Bd("iterator"), Hd = Bd("observable"), Ud = Bd("species");
18028
+ function Wd(e, t) {
18008
18029
  var n = e[t];
18009
18030
  if (n != null) {
18010
18031
  if (typeof n != "function") throw TypeError(n + " is not a function");
18011
18032
  return n;
18012
18033
  }
18013
18034
  }
18014
- function Wd(e) {
18035
+ function Gd(e) {
18015
18036
  var t = e.constructor;
18016
- return t !== void 0 && (t = t[Hd], t === null && (t = void 0)), t === void 0 ? ef : t;
18037
+ return t !== void 0 && (t = t[Ud], t === null && (t = void 0)), t === void 0 ? tf : t;
18017
18038
  }
18018
- function Gd(e) {
18019
- return e instanceof ef;
18039
+ function Kd(e) {
18040
+ return e instanceof tf;
18020
18041
  }
18021
18042
  function $(e) {
18022
18043
  $.log ? $.log(e) : setTimeout(function() {
18023
18044
  throw e;
18024
18045
  });
18025
18046
  }
18026
- function Kd(e) {
18047
+ function qd(e) {
18027
18048
  Promise.resolve().then(function() {
18028
18049
  try {
18029
18050
  e();
@@ -18032,63 +18053,63 @@ function Kd(e) {
18032
18053
  }
18033
18054
  });
18034
18055
  }
18035
- function qd(e) {
18056
+ function Jd(e) {
18036
18057
  var t = e._cleanup;
18037
18058
  if (t !== void 0 && (e._cleanup = void 0, t)) try {
18038
18059
  if (typeof t == "function") t();
18039
18060
  else {
18040
- var n = Ud(t, "unsubscribe");
18061
+ var n = Wd(t, "unsubscribe");
18041
18062
  n && n.call(t);
18042
18063
  }
18043
18064
  } catch (e) {
18044
18065
  $(e);
18045
18066
  }
18046
18067
  }
18047
- function Jd(e) {
18068
+ function Yd(e) {
18048
18069
  e._observer = void 0, e._queue = void 0, e._state = "closed";
18049
18070
  }
18050
- function Yd(e) {
18071
+ function Xd(e) {
18051
18072
  var t = e._queue;
18052
18073
  if (t) {
18053
18074
  e._queue = void 0, e._state = "ready";
18054
- for (var n = 0; n < t.length && (Xd(e, t[n].type, t[n].value), e._state !== "closed"); ++n);
18075
+ for (var n = 0; n < t.length && (Zd(e, t[n].type, t[n].value), e._state !== "closed"); ++n);
18055
18076
  }
18056
18077
  }
18057
- function Xd(e, t, n) {
18078
+ function Zd(e, t, n) {
18058
18079
  e._state = "running";
18059
18080
  var r = e._observer;
18060
18081
  try {
18061
- var i = Ud(r, t);
18082
+ var i = Wd(r, t);
18062
18083
  switch (t) {
18063
18084
  case "next":
18064
18085
  i && i.call(r, n);
18065
18086
  break;
18066
18087
  case "error":
18067
- if (Jd(e), i) i.call(r, n);
18088
+ if (Yd(e), i) i.call(r, n);
18068
18089
  else throw n;
18069
18090
  break;
18070
- case "complete": Jd(e), i && i.call(r);
18091
+ case "complete": Yd(e), i && i.call(r);
18071
18092
  }
18072
18093
  } catch (e) {
18073
18094
  $(e);
18074
18095
  }
18075
- e._state === "closed" ? qd(e) : e._state === "running" && (e._state = "ready");
18096
+ e._state === "closed" ? Jd(e) : e._state === "running" && (e._state = "ready");
18076
18097
  }
18077
- function Zd(e, t, n) {
18098
+ function Qd(e, t, n) {
18078
18099
  e._state !== "closed" && (e._state === "buffering" ? e._queue.push({
18079
18100
  type: t,
18080
18101
  value: n
18081
- }) : e._state === "ready" ? Xd(e, t, n) : (e._state = "buffering", e._queue = [{
18102
+ }) : e._state === "ready" ? Zd(e, t, n) : (e._state = "buffering", e._queue = [{
18082
18103
  type: t,
18083
18104
  value: n
18084
- }], Kd(function() {
18085
- return Yd(e);
18105
+ }], qd(function() {
18106
+ return Xd(e);
18086
18107
  })));
18087
18108
  }
18088
- var Qd = /*#__PURE__*/ function() {
18109
+ var $d = /*#__PURE__*/ function() {
18089
18110
  function e(e, t) {
18090
18111
  this._cleanup = void 0, this._observer = e, this._queue = void 0, this._state = "initializing";
18091
- var n = new $d(this);
18112
+ var n = new ef(this);
18092
18113
  try {
18093
18114
  this._cleanup = t.call(void 0, n);
18094
18115
  } catch (e) {
@@ -18098,31 +18119,31 @@ var Qd = /*#__PURE__*/ function() {
18098
18119
  }
18099
18120
  var t = e.prototype;
18100
18121
  return t.unsubscribe = function() {
18101
- this._state !== "closed" && (Jd(this), qd(this));
18102
- }, Id(e, [{
18122
+ this._state !== "closed" && (Yd(this), Jd(this));
18123
+ }, Ld(e, [{
18103
18124
  key: "closed",
18104
18125
  get: function() {
18105
18126
  return this._state === "closed";
18106
18127
  }
18107
18128
  }]), e;
18108
- }(), $d = /*#__PURE__*/ function() {
18129
+ }(), ef = /*#__PURE__*/ function() {
18109
18130
  function e(e) {
18110
18131
  this._subscription = e;
18111
18132
  }
18112
18133
  var t = e.prototype;
18113
18134
  return t.next = function(e) {
18114
- Zd(this._subscription, "next", e);
18135
+ Qd(this._subscription, "next", e);
18115
18136
  }, t.error = function(e) {
18116
- Zd(this._subscription, "error", e);
18137
+ Qd(this._subscription, "error", e);
18117
18138
  }, t.complete = function() {
18118
- Zd(this._subscription, "complete");
18119
- }, Id(e, [{
18139
+ Qd(this._subscription, "complete");
18140
+ }, Ld(e, [{
18120
18141
  key: "closed",
18121
18142
  get: function() {
18122
18143
  return this._subscription._state === "closed";
18123
18144
  }
18124
18145
  }]), e;
18125
- }(), ef = /*#__PURE__*/ function() {
18146
+ }(), tf = /*#__PURE__*/ function() {
18126
18147
  function e(t) {
18127
18148
  if (!(this instanceof e)) throw TypeError("Observable cannot be called as a function");
18128
18149
  if (typeof t != "function") throw TypeError("Observable initializer must be a function");
@@ -18134,7 +18155,7 @@ var Qd = /*#__PURE__*/ function() {
18134
18155
  next: e,
18135
18156
  error: arguments[1],
18136
18157
  complete: arguments[2]
18137
- }), new Qd(e, this._subscriber);
18158
+ }), new $d(e, this._subscriber);
18138
18159
  }, t.forEach = function(e) {
18139
18160
  var t = this;
18140
18161
  return new Promise(function(n, r) {
@@ -18160,7 +18181,7 @@ var Qd = /*#__PURE__*/ function() {
18160
18181
  }, t.map = function(e) {
18161
18182
  var t = this;
18162
18183
  if (typeof e != "function") throw TypeError(e + " is not a function");
18163
- return new (Wd(this))(function(n) {
18184
+ return new (Gd(this))(function(n) {
18164
18185
  return t.subscribe({
18165
18186
  next: function(t) {
18166
18187
  try {
@@ -18181,7 +18202,7 @@ var Qd = /*#__PURE__*/ function() {
18181
18202
  }, t.filter = function(e) {
18182
18203
  var t = this;
18183
18204
  if (typeof e != "function") throw TypeError(e + " is not a function");
18184
- return new (Wd(this))(function(n) {
18205
+ return new (Gd(this))(function(n) {
18185
18206
  return t.subscribe({
18186
18207
  next: function(t) {
18187
18208
  try {
@@ -18202,7 +18223,7 @@ var Qd = /*#__PURE__*/ function() {
18202
18223
  }, t.reduce = function(e) {
18203
18224
  var t = this;
18204
18225
  if (typeof e != "function") throw TypeError(e + " is not a function");
18205
- var n = Wd(this), r = arguments.length > 1, i = !1, a = arguments[1];
18226
+ var n = Gd(this), r = arguments.length > 1, i = !1, a = arguments[1];
18206
18227
  return new n(function(n) {
18207
18228
  return t.subscribe({
18208
18229
  next: function(t) {
@@ -18224,7 +18245,7 @@ var Qd = /*#__PURE__*/ function() {
18224
18245
  });
18225
18246
  });
18226
18247
  }, t.concat = function() {
18227
- var e = this, t = [...arguments], n = Wd(this);
18248
+ var e = this, t = [...arguments], n = Gd(this);
18228
18249
  return new n(function(r) {
18229
18250
  var i, a = 0;
18230
18251
  function o(e) {
@@ -18247,7 +18268,7 @@ var Qd = /*#__PURE__*/ function() {
18247
18268
  }, t.flatMap = function(e) {
18248
18269
  var t = this;
18249
18270
  if (typeof e != "function") throw TypeError(e + " is not a function");
18250
- var n = Wd(this);
18271
+ var n = Gd(this);
18251
18272
  return new n(function(r) {
18252
18273
  var i = [], a = t.subscribe({
18253
18274
  next: function(t) {
@@ -18286,23 +18307,23 @@ var Qd = /*#__PURE__*/ function() {
18286
18307
  }), a.unsubscribe();
18287
18308
  };
18288
18309
  });
18289
- }, t[Vd] = function() {
18310
+ }, t[Hd] = function() {
18290
18311
  return this;
18291
18312
  }, e.from = function(t) {
18292
18313
  var n = typeof this == "function" ? this : e;
18293
18314
  if (t == null) throw TypeError(t + " is not an object");
18294
- var r = Ud(t, Vd);
18315
+ var r = Wd(t, Hd);
18295
18316
  if (r) {
18296
18317
  var i = r.call(t);
18297
18318
  if (Object(i) !== i) throw TypeError(i + " is not an object");
18298
- return Gd(i) && i.constructor === n ? i : new n(function(e) {
18319
+ return Kd(i) && i.constructor === n ? i : new n(function(e) {
18299
18320
  return i.subscribe(e);
18300
18321
  });
18301
18322
  }
18302
- if (Rd("iterator") && (r = Ud(t, Bd), r)) return new n(function(e) {
18303
- Kd(function() {
18323
+ if (zd("iterator") && (r = Wd(t, Vd), r)) return new n(function(e) {
18324
+ qd(function() {
18304
18325
  if (!e.closed) {
18305
- for (var n = Md(r.call(t)), i; !(i = n()).done;) {
18326
+ for (var n = Nd(r.call(t)), i; !(i = n()).done;) {
18306
18327
  var a = i.value;
18307
18328
  if (e.next(a), e.closed) return;
18308
18329
  }
@@ -18311,7 +18332,7 @@ var Qd = /*#__PURE__*/ function() {
18311
18332
  });
18312
18333
  });
18313
18334
  if (Array.isArray(t)) return new n(function(e) {
18314
- Kd(function() {
18335
+ qd(function() {
18315
18336
  if (!e.closed) {
18316
18337
  for (var n = 0; n < t.length; ++n) if (e.next(t[n]), e.closed) return;
18317
18338
  e.complete();
@@ -18322,37 +18343,37 @@ var Qd = /*#__PURE__*/ function() {
18322
18343
  }, e.of = function() {
18323
18344
  var t = [...arguments];
18324
18345
  return new (typeof this == "function" ? this : e)(function(e) {
18325
- Kd(function() {
18346
+ qd(function() {
18326
18347
  if (!e.closed) {
18327
18348
  for (var n = 0; n < t.length; ++n) if (e.next(t[n]), e.closed) return;
18328
18349
  e.complete();
18329
18350
  }
18330
18351
  });
18331
18352
  });
18332
- }, Id(e, null, [{
18333
- key: Hd,
18353
+ }, Ld(e, null, [{
18354
+ key: Ud,
18334
18355
  get: function() {
18335
18356
  return this;
18336
18357
  }
18337
18358
  }]), e;
18338
18359
  }();
18339
- Ld() && Object.defineProperty(ef, Symbol("extensions"), {
18360
+ Rd() && Object.defineProperty(tf, Symbol("extensions"), {
18340
18361
  value: {
18341
- symbol: Vd,
18362
+ symbol: Hd,
18342
18363
  hostReportError: $
18343
18364
  },
18344
18365
  configurable: !0
18345
18366
  });
18346
18367
  //#endregion
18347
18368
  //#region src/elements/lib/promise-to-observable.ts
18348
- function tf(e) {
18369
+ function nf(e) {
18349
18370
  return typeof e == "object" && !!e && "subscribe" in e;
18350
18371
  }
18351
- function nf(e) {
18372
+ function rf(e) {
18352
18373
  return typeof e == "object" && !!e && "then" in e;
18353
18374
  }
18354
- function rf(e) {
18355
- return new ef((t) => (t.next({
18375
+ function af(e) {
18376
+ return new tf((t) => (t.next({
18356
18377
  loading: !0,
18357
18378
  error: null,
18358
18379
  data: null
@@ -18372,7 +18393,7 @@ function rf(e) {
18372
18393
  }
18373
18394
  //#endregion
18374
18395
  //#region src/elements/lib/objectPaths.ts
18375
- function af(e, t) {
18396
+ function of(e, t) {
18376
18397
  if (!e || typeof e != "object") return;
18377
18398
  let n = t.split("."), r = e;
18378
18399
  for (let e of n) if (r && typeof r == "object" && e in r) r = r[e];
@@ -18381,7 +18402,7 @@ function af(e, t) {
18381
18402
  }
18382
18403
  //#endregion
18383
18404
  //#region src/blocks/datasource/types/groupId.typings.ts
18384
- var of = Symbol("groupId"), sf = (e, t) => {
18405
+ var sf = Symbol("groupId"), cf = (e, t) => {
18385
18406
  let n = /* @__PURE__ */ new Map();
18386
18407
  for (let r of e) {
18387
18408
  let e = String(r[t]);
@@ -18391,27 +18412,27 @@ var of = Symbol("groupId"), sf = (e, t) => {
18391
18412
  };
18392
18413
  //#endregion
18393
18414
  //#region src/blocks/datasource/useData.ts
18394
- function cf(e, t) {
18415
+ function lf(e, t) {
18395
18416
  return e === t ? void 0 : e?.page;
18396
18417
  }
18397
- function lf({ paginationType: e, sameQuery: t, perPage: n, previousPerPage: r, currentPage: i }) {
18418
+ function uf({ paginationType: e, sameQuery: t, perPage: n, previousPerPage: r, currentPage: i }) {
18398
18419
  return e === "pages" && t && n !== r ? i : void 0;
18399
18420
  }
18400
- var uf = (e, t, n) => {
18421
+ var df = (e, t, n) => {
18401
18422
  let r = n.current;
18402
18423
  return r.field !== t && (r.field = t, r.entries = /* @__PURE__ */ new WeakMap()), e.map((e) => {
18403
18424
  let n = r.entries.get(e);
18404
18425
  if (n) return n;
18405
18426
  let i = {
18406
18427
  ...e,
18407
- [of]: af(e, t) || void 0
18428
+ [sf]: of(e, t) || void 0
18408
18429
  };
18409
18430
  return r.entries.set(e, i), i;
18410
18431
  });
18411
- }, df = "", ff = ({ records: e, parentKey: t, fields: n, groupByConfig: r, filters: i }) => {
18432
+ }, ff = "", pf = ({ records: e, parentKey: t, fields: n, groupByConfig: r, filters: i }) => {
18412
18433
  let [a, ...o] = n, s = r[a], c = [], l = /* @__PURE__ */ new Map();
18413
18434
  for (let t of e) {
18414
- let e = af(t, a);
18435
+ let e = of(t, a);
18415
18436
  if (!e) {
18416
18437
  c.push(t);
18417
18438
  continue;
@@ -18421,7 +18442,7 @@ var uf = (e, t, n) => {
18421
18442
  }
18422
18443
  return {
18423
18444
  groups: Array.from(l.entries()).map(([e, n]) => {
18424
- let a = `${t}${e}`, c = o.length > 0 ? ff({
18445
+ let a = `${t}${e}`, c = o.length > 0 ? pf({
18425
18446
  records: n,
18426
18447
  parentKey: a,
18427
18448
  fields: o,
@@ -18442,7 +18463,7 @@ var uf = (e, t, n) => {
18442
18463
  own: c
18443
18464
  };
18444
18465
  };
18445
- function pf() {
18466
+ function mf() {
18446
18467
  let [e, t] = L(!0), [n, r] = L([]), [i, a] = L(null);
18447
18468
  return {
18448
18469
  isInitialLoading: e,
@@ -18453,16 +18474,16 @@ function pf() {
18453
18474
  setError: a
18454
18475
  };
18455
18476
  }
18456
- function mf() {
18477
+ function hf() {
18457
18478
  let [e, t] = L(null);
18458
18479
  return {
18459
18480
  paginationInfo: e,
18460
18481
  setPaginationInfo: t
18461
18482
  };
18462
18483
  }
18463
- var hf = (e) => e, gf = (e, t) => "id" in e ? `${e.id}` : t || JSON.stringify(e);
18464
- function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i, onError: a, fetchParamsProvider: o = hf, onResponse: s } = {}, c = []) {
18465
- let { dataAdapter: l, currentFilters: u, currentSortings: d, search: f, currentSearch: p, setCurrentSearch: m, isLoading: h, setIsLoading: g, currentGrouping: _, grouping: v, idProvider: y = gf, itemPreFilter: b, currentPage: x, onPaginationChange: ee } = e, S = I(), { isInitialLoading: te, setIsInitialLoading: C, data: w, setData: T, error: E, setError: D } = pf(), [ne, O] = L(0), { paginationInfo: k, setPaginationInfo: A } = mf();
18484
+ var gf = (e) => e, _f = (e, t) => "id" in e ? `${e.id}` : t || JSON.stringify(e);
18485
+ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i, onError: a, fetchParamsProvider: o = gf, onResponse: s } = {}, c = []) {
18486
+ let { dataAdapter: l, currentFilters: u, currentSortings: d, search: f, currentSearch: p, setCurrentSearch: m, isLoading: h, setIsLoading: g, currentGrouping: _, grouping: v, idProvider: y = _f, itemPreFilter: b, currentPage: x, onPaginationChange: ee } = e, S = I(), { isInitialLoading: te, setIsInitialLoading: C, data: w, setData: T, error: E, setError: D } = mf(), [ne, O] = L(0), { paginationInfo: k, setPaginationInfo: A } = hf();
18466
18487
  N(() => {
18467
18488
  b && T((e) => {
18468
18489
  let t = e.length, n = e.filter(b), r = t - n.length;
@@ -18540,7 +18561,7 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18540
18561
  }), pe = F(() => {
18541
18562
  let e = _?.field, t = v?.groupBy;
18542
18563
  if (e && t && t[e]) {
18543
- let n = uf(w, e, fe), r = n.filter((e) => e[of] === void 0), i = sf(n.filter((e) => e[of] !== void 0), of), a = t[e], o = (_?.thenBy ?? []).map((e) => String(e.field)).filter((e) => !!t[e]);
18564
+ let n = df(w, e, fe), r = n.filter((e) => e[sf] === void 0), i = cf(n.filter((e) => e[sf] !== void 0), sf), a = t[e], o = (_?.thenBy ?? []).map((e) => String(e.field)).filter((e) => !!t[e]);
18544
18565
  return {
18545
18566
  type: "grouped",
18546
18567
  records: n,
@@ -18557,7 +18578,7 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18557
18578
  records: n,
18558
18579
  ...(() => {
18559
18580
  if (!o.length) return {};
18560
- let r = ff({
18581
+ let r = pf({
18561
18582
  records: n,
18562
18583
  parentKey: e,
18563
18584
  fields: o,
@@ -18643,7 +18664,7 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18643
18664
  J(f, r, void 0, c);
18644
18665
  return;
18645
18666
  }
18646
- let p = ("subscribe" in f ? f : rf(f)).subscribe({
18667
+ let p = ("subscribe" in f ? f : af(f)).subscribe({
18647
18668
  next: (e) => {
18648
18669
  e.data ? J(e.data, r, e.loading, c) : e.loading ? g(!0) : e.error && Y(e.error);
18649
18670
  },
@@ -18665,7 +18686,7 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18665
18686
  g,
18666
18687
  ...c
18667
18688
  ]), me = j((e) => {
18668
- vf(k) && (G.current?.(e, "navigation"), g(!0), X({
18689
+ yf(k) && (G.current?.(e, "navigation"), g(!0), X({
18669
18690
  filters: K,
18670
18691
  currentPage: e,
18671
18692
  search: q
@@ -18680,7 +18701,7 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18680
18701
  ]), he = j(() => {
18681
18702
  let e = M.current;
18682
18703
  if (!(!e || h || z)) {
18683
- if (!yf(e)) console.warn("loadMore is only applicable for infinite-scroll pagination type");
18704
+ if (!bf(e)) console.warn("loadMore is only applicable for infinite-scroll pagination type");
18684
18705
  else if (e.hasMore) {
18685
18706
  let t = e.cursor;
18686
18707
  B(!0), g(!0), V.current = !0, X({
@@ -18709,8 +18730,8 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18709
18730
  grouping: _,
18710
18731
  search: q,
18711
18732
  paginationType: l.paginationType
18712
- }), i = n === se.current && c.length === U.current.length && c.every((e, t) => Object.is(e, U.current[t])), a = cf(r, le.current);
18713
- if (!h && W.current === 1 && a === void 0 && l.paginationType === "pages" && e !== void 0 && i && H.current !== void 0 && e < H.current && vf(t) && t.currentPage === 1 && oe.current.length >= e) {
18733
+ }), i = n === se.current && c.length === U.current.length && c.every((e, t) => Object.is(e, U.current[t])), a = lf(r, le.current);
18734
+ if (!h && W.current === 1 && a === void 0 && l.paginationType === "pages" && e !== void 0 && i && H.current !== void 0 && e < H.current && yf(t) && t.currentPage === 1 && oe.current.length >= e) {
18714
18735
  H.current = e, T((t) => t.slice(0, e)), A((t) => t && t.type === "pages" ? {
18715
18736
  ...t,
18716
18737
  perPage: e,
@@ -18718,7 +18739,7 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18718
18739
  } : t);
18719
18740
  return;
18720
18741
  }
18721
- let o = lf({
18742
+ let o = uf({
18722
18743
  paginationType: l.paginationType,
18723
18744
  sameQuery: i,
18724
18745
  perPage: e,
@@ -18763,11 +18784,11 @@ function _f(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18763
18784
  committedQuery: ie
18764
18785
  };
18765
18786
  }
18766
- function vf(e) {
18787
+ function yf(e) {
18767
18788
  return e !== null && e.type === "pages";
18768
18789
  }
18769
- function yf(e) {
18790
+ function bf(e) {
18770
18791
  return e !== null && e.type === "infinite-scroll";
18771
18792
  }
18772
18793
  //#endregion
18773
- export { Ot as A, oe as B, yn as C, Qt as D, en as E, ce as F, ae as H, W as I, U as L, Me as M, Oe as N, It as O, le as P, H as R, wn as S, ln as T, ie as U, V, sd as _, of as a, Pn as b, rf as c, Cd as d, yd as f, cd as g, ud as h, _f as i, Fe as j, Nt as k, jd as l, fd as m, yf as n, tf as o, vd as p, vf as r, nf as s, df as t, wd as u, id as v, Q as w, kn as x, td as y, se as z };
18794
+ export { Ot as A, oe as B, yn as C, Qt as D, en as E, ce as F, ae as H, W as I, U as L, Me as M, Oe as N, It as O, le as P, H as R, wn as S, ln as T, ie as U, V, sd as _, sf as a, Pn as b, af as c, wd as d, bd as f, cd as g, ud as h, vf as i, Fe as j, Nt as k, Md as l, fd as m, bf as n, nf as o, yd as p, yf as r, rf as s, ff as t, Td as u, id as v, Q as w, kn as x, td as y, se as z };