@gen-epix/ui-client-common 4.6.0 → 4.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.
Files changed (137) hide show
  1. package/README.md +2 -2
  2. package/dist/@types/mui.d.ts +13 -11
  3. package/dist/_chunks/ApplicationFooter.js +31 -21
  4. package/dist/_chunks/ApplicationFooter.js.map +1 -1
  5. package/dist/_chunks/Breadcrumbs.js +4 -4
  6. package/dist/_chunks/CrudPage.js +332 -336
  7. package/dist/_chunks/CrudPage.js.map +1 -1
  8. package/dist/_chunks/Notifications.js +16 -16
  9. package/dist/_chunks/QueryClientProvider.js +1 -1
  10. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  11. package/dist/_chunks/QueryClientService.js +73 -72
  12. package/dist/_chunks/QueryClientService.js.map +1 -1
  13. package/dist/_chunks/Table.js +853 -744
  14. package/dist/_chunks/Table.js.map +1 -1
  15. package/dist/_chunks/TableUtil.js +38 -38
  16. package/dist/_chunks/TableUtil.js.map +1 -1
  17. package/dist/_chunks/UserInvitationsAdminPage.js +131 -131
  18. package/dist/_chunks/UserInvitationsAdminPage.js.map +1 -1
  19. package/dist/_chunks/_baseFlatten.js +12 -12
  20. package/dist/_chunks/_baseFlatten.js.map +1 -1
  21. package/dist/_chunks/_baseIteratee.js +78 -78
  22. package/dist/_chunks/_baseIteratee.js.map +1 -1
  23. package/dist/_chunks/decorate.js +1 -1
  24. package/dist/_chunks/decorateParam.js +1 -1
  25. package/dist/_chunks/middleware.js +66 -70
  26. package/dist/_chunks/middleware.js.map +1 -1
  27. package/dist/_chunks/omit.js +98 -98
  28. package/dist/_chunks/omit.js.map +1 -1
  29. package/dist/_chunks/query.js +108 -92
  30. package/dist/_chunks/query.js.map +1 -1
  31. package/dist/_chunks/react.js +1 -1
  32. package/dist/_chunks/react.js.map +1 -1
  33. package/dist/_chunks/tableStore.js +61 -58
  34. package/dist/_chunks/tableStore.js.map +1 -1
  35. package/dist/_chunks/useColumnsMenu.js +73 -71
  36. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  37. package/dist/_chunks/useMutation.js +2 -2
  38. package/dist/_chunks/useMutation.js.map +1 -1
  39. package/dist/_chunks/useQueryMemo.js +15 -16
  40. package/dist/_chunks/useQueryMemo.js.map +1 -1
  41. package/dist/_chunks/vanilla.js +1 -1
  42. package/dist/_chunks/vanilla.js.map +1 -1
  43. package/dist/_chunks/yup.js +2 -2
  44. package/dist/_chunks/yup.js.map +1 -1
  45. package/dist/classes/services/AuthenticationService/index.js +8 -8
  46. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  47. package/dist/classes/services/AuthorizationService/index.js +4 -4
  48. package/dist/classes/services/AuthorizationService/index.js.map +1 -1
  49. package/dist/classes/services/BreadcrumbService/index.js +4 -4
  50. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  51. package/dist/classes/services/EmotionCacheService/index.js.map +1 -1
  52. package/dist/classes/services/InactivityService/index.js +30 -30
  53. package/dist/classes/services/InactivityService/index.js.map +1 -1
  54. package/dist/classes/services/LogService/index.js +15 -15
  55. package/dist/classes/services/LogService/index.js.map +1 -1
  56. package/dist/classes/services/PageEventBusService/index.js.map +1 -1
  57. package/dist/components/app/App/index.js +26 -24
  58. package/dist/components/app/App/index.js.map +1 -1
  59. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +18 -18
  60. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  61. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +18 -18
  62. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
  63. package/dist/components/app/AuthenticationWrapper/index.js +15 -15
  64. package/dist/components/app/AuthorizationWrapper/index.js +16 -16
  65. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  66. package/dist/components/app/RouterRoot/index.js +33 -33
  67. package/dist/components/app/RouterRoot/index.js.map +1 -1
  68. package/dist/components/epi/EpiContactDetailsDialog/index.js +4 -4
  69. package/dist/components/epi/EpiContactDetailsDialog/index.js.map +1 -1
  70. package/dist/components/ui/ApplicationBar/ApplicationBar.d.ts +4 -0
  71. package/dist/components/ui/ApplicationBar/ApplicationBarActions.d.ts +5 -0
  72. package/dist/components/ui/ApplicationBar/ApplicationBarNavigationMenu.d.ts +6 -0
  73. package/dist/components/ui/ApplicationBar/index.js +281 -266
  74. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  75. package/dist/components/ui/ApplicationFooter/ApplicationFooter.d.ts +3 -0
  76. package/dist/components/ui/ApplicationFooter/ApplicationFooterLink.d.ts +3 -0
  77. package/dist/components/ui/ApplicationFooter/ApplicationFooterLinkSection.d.ts +4 -0
  78. package/dist/components/ui/GenericErrorMessage/index.js +13 -13
  79. package/dist/components/ui/LicensesDialog/index.js +6 -6
  80. package/dist/components/ui/OrganizationSwitcherDialog/index.js +11 -11
  81. package/dist/components/ui/OutagesDialog/index.js +4 -4
  82. package/dist/components/ui/OutagesDialog/index.js.map +1 -1
  83. package/dist/components/ui/PageContainer/index.js +5 -5
  84. package/dist/components/ui/PageContainer/index.js.map +1 -1
  85. package/dist/components/ui/ResponseHandler/index.js +4 -4
  86. package/dist/components/ui/SortableList/SortableList.d.ts +5 -3
  87. package/dist/components/ui/Table/Table.d.ts +5 -2
  88. package/dist/components/ui/Table/TableColumnsEditorDialog.d.ts +13 -2
  89. package/dist/components/ui/Table/index.d.ts +1 -0
  90. package/dist/components/ui/Table/index.js +1 -1
  91. package/dist/components/ui/UserFeedbackDialog/index.js +15 -15
  92. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +12 -12
  93. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +11 -11
  94. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +5 -5
  95. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
  96. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +15 -15
  97. package/dist/dataHooks/useOrganizationsQuery/index.js +7 -7
  98. package/dist/dataHooks/useUsersQuery/index.js +10 -10
  99. package/dist/hooks/useCreateMutation/index.js +14 -14
  100. package/dist/hooks/useCreateMutation/index.js.map +1 -1
  101. package/dist/hooks/useDeleteMutation/index.js +17 -17
  102. package/dist/hooks/useDeleteMutation/index.js.map +1 -1
  103. package/dist/hooks/useEditMutation/index.js +47 -51
  104. package/dist/hooks/useEditMutation/index.js.map +1 -1
  105. package/dist/hooks/useEditMutation/useEditMutation.d.ts +1 -2
  106. package/dist/hooks/useInitializeTableStore/index.js +6 -6
  107. package/dist/hooks/useInitializeTableStore/index.js.map +1 -1
  108. package/dist/locale/en.json +13 -5
  109. package/dist/locale/nl.json +13 -5
  110. package/dist/pages/AcceptInvitationPage/index.js +10 -10
  111. package/dist/pages/AdminPage/index.js +19 -19
  112. package/dist/pages/ChooseIdentityProviderPage/index.js +5 -5
  113. package/dist/pages/ErrorPage/index.js +4 -4
  114. package/dist/pages/IdentifierIssuersAdminPage/index.js +7 -7
  115. package/dist/pages/IdentifierIssuersAdminPage/index.js.map +1 -1
  116. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +16 -16
  117. package/dist/pages/OrganizationContactsAdminPage/index.js +10 -10
  118. package/dist/pages/OrganizationContactsAdminPage/index.js.map +1 -1
  119. package/dist/pages/OrganizationSitesAdminPage/index.js +12 -12
  120. package/dist/pages/OrganizationSitesAdminPage/index.js.map +1 -1
  121. package/dist/pages/OrganizationsAdminPage/index.js +20 -20
  122. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  123. package/dist/pages/OutagesAdminPage/index.js +11 -11
  124. package/dist/pages/OutagesAdminPage/index.js.map +1 -1
  125. package/dist/pages/RouterErrorPage/index.js +4 -4
  126. package/dist/pages/UsersAdminPage/index.js +34 -34
  127. package/dist/pages/UsersAdminPage/index.js.map +1 -1
  128. package/dist/setup/setup.js +4 -4
  129. package/dist/setup/setup.js.map +1 -1
  130. package/dist/stores/oidcStore/oidcStore.d.ts +1 -1
  131. package/dist/theme/demoTheme/index.js +15 -7
  132. package/dist/theme/demoTheme/index.js.map +1 -1
  133. package/dist/utils/StandardConfigUtil/index.js +2 -2
  134. package/dist/utils/StandardConfigUtil/index.js.map +1 -1
  135. package/package.json +33 -37
  136. package/dist/models/theme.models.d.ts +0 -20
  137. package/dist/models/theme.models.js +0 -0
@@ -1,21 +1,21 @@
1
1
  import { n as e, t } from "./rolldown-runtime.js";
2
- import { a as n } from "./TextFilter.js";
3
- import { t as r } from "./TableUtil.js";
4
- import { r as i, t as a } from "./isArrayLike.js";
5
- import { c as o } from "./_baseGet.js";
6
- import { t as s } from "./_baseIteratee.js";
7
- import { DEFAULT_FILTER_GROUP as c, FILTER_MODE as l } from "../classes/abstracts/FilterAbstract/index.js";
8
- import { t as u } from "./vanilla.js";
9
- import { t as d } from "./_baseAssignValue.js";
10
- import { t as f } from "./last.js";
11
- import { n as p, t as m } from "./middleware.js";
12
- import { TableEventBus as h } from "../classes/TableEventBus/index.js";
2
+ import { t as n } from "./vanilla.js";
3
+ import { a as r } from "./TextFilter.js";
4
+ import { t as i } from "./_baseAssignValue.js";
5
+ import { c as a } from "./_baseGet.js";
6
+ import { r as o, t as s } from "./isArrayLike.js";
7
+ import { t as c } from "./_baseIteratee.js";
8
+ import { t as l } from "./last.js";
9
+ import { n as u, t as d } from "./middleware.js";
10
+ import { DEFAULT_FILTER_GROUP as f, FILTER_MODE as p } from "../classes/abstracts/FilterAbstract/index.js";
11
+ import { TableEventBus as m } from "../classes/TableEventBus/index.js";
12
+ import { t as h } from "./TableUtil.js";
13
13
  import { container as ee } from "tsyringe";
14
14
  import { WindowService as te } from "@gen-epix/ui-core/classes/services/WindowService";
15
15
  import { createContext as ne, use as re } from "react";
16
16
  import { ObjectUtil as ie } from "@gen-epix/ui-core/utils/ObjectUtil";
17
17
  import { jsx as ae } from "react/jsx-runtime";
18
- // ../../node_modules/.pnpm/immer@11.2.9/node_modules/immer/dist/immer.mjs
18
+ // ../../node_modules/.pnpm/immer@11.2.10/node_modules/immer/dist/immer.mjs
19
19
  var oe = Symbol.for("immer-nothing"), se = Symbol.for("immer-draftable"), g = Symbol.for("immer-state"), ce = process.env.NODE_ENV === "production" ? [] : [
20
20
  function(e) {
21
21
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
@@ -403,7 +403,9 @@ var He = class {
403
403
  n,
404
404
  r
405
405
  ];
406
- }, me(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), me(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), me(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
406
+ }, me(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze);
407
+ let t = e?.useStrictShallowCopy;
408
+ (me(t) || t === "class_only") && this.setUseStrictShallowCopy(t), me(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
407
409
  }
408
410
  createDraft(e) {
409
411
  E(e) || _(8), T(e) && (e = Ue(e));
@@ -496,13 +498,13 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
496
498
  })), Xe = /* @__PURE__ */ t(((e, t) => {
497
499
  t.exports = Ye()();
498
500
  })), Ze = /* @__PURE__ */ t(((e, t) => {
499
- var n = Xe(), r = o();
501
+ var n = Xe(), r = a();
500
502
  function i(e, t) {
501
503
  return e && n(e, t, r);
502
504
  }
503
505
  t.exports = i;
504
506
  })), Qe = /* @__PURE__ */ t(((e, t) => {
505
- var n = a();
507
+ var n = s();
506
508
  function r(e, t) {
507
509
  return function(r, i) {
508
510
  if (r == null) return r;
@@ -524,25 +526,25 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
524
526
  }
525
527
  t.exports = r;
526
528
  })), tt = /* @__PURE__ */ t(((e, t) => {
527
- var n = Je(), r = et(), a = s(), o = i();
528
- function c(e, t) {
529
- return function(i, s) {
530
- var c = o(i) ? n : r, l = t ? t() : {};
531
- return c(i, e, a(s, 2), l);
529
+ var n = Je(), r = et(), i = c(), a = o();
530
+ function s(e, t) {
531
+ return function(o, s) {
532
+ var c = a(o) ? n : r, l = t ? t() : {};
533
+ return c(o, e, i(s, 2), l);
532
534
  };
533
535
  }
534
- t.exports = c;
536
+ t.exports = s;
535
537
  })), nt = /* @__PURE__ */ t(((e, t) => {
536
- var n = d();
538
+ var n = i();
537
539
  t.exports = tt()(function(e, t, r) {
538
540
  n(e, r, t);
539
541
  });
540
- })), rt = /* @__PURE__ */ e(qe(), 1), it = /* @__PURE__ */ e(n(), 1), at = /* @__PURE__ */ e(nt(), 1), ot = /* @__PURE__ */ e(f(), 1), st = (e) => {
541
- let { defaultSortByField: t, defaultSortDirection: n, idSelectorCallback: r, isRowEnabledCallback: i, navigatorFunction: a } = e, o = new URL(document.location.href).searchParams, s = t, l = n;
542
+ })), rt = /* @__PURE__ */ e(qe(), 1), it = /* @__PURE__ */ e(r(), 1), at = /* @__PURE__ */ e(nt(), 1), ot = /* @__PURE__ */ e(l(), 1), st = (e) => {
543
+ let { defaultSortByField: t, defaultSortDirection: n, idSelectorCallback: r, isRowEnabledCallback: i, navigatorFunction: a } = e, o = new URL(document.location.href).searchParams, s = t, c = n;
542
544
  if (a) {
543
545
  o.get("sortByField") && (s = o.get("sortByField"));
544
546
  let e = o.get("sortDirection");
545
- (e === "asc" || e === "desc") && (l = e);
547
+ (e === "asc" || e === "desc") && (c = e);
546
548
  }
547
549
  return {
548
550
  backendFilters: [],
@@ -555,14 +557,14 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
555
557
  dataError: null,
556
558
  defaultSortByField: t,
557
559
  defaultSortDirection: n,
558
- eventBus: new h(),
560
+ eventBus: new m(),
559
561
  fetchAbortController: null,
560
562
  filterDimensions: [],
561
- filteredData: { [c]: [] },
563
+ filteredData: { [f]: [] },
562
564
  filters: [],
563
565
  filterValues: {},
564
- frontendFilterPriorities: [c],
565
- frontendFilters: { [c]: [] },
566
+ frontendFilterPriorities: [f],
567
+ frontendFilters: { [f]: [] },
566
568
  globalAbortSignal: null,
567
569
  idSelectorCallback: r,
568
570
  isCondensed: !1,
@@ -572,7 +574,7 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
572
574
  navigateFunction: a,
573
575
  selectedIds: [],
574
576
  sortByField: s,
575
- sortDirection: l,
577
+ sortDirection: c,
576
578
  sortedData: [],
577
579
  sortedIds: null,
578
580
  visibleFilterWithinDimensions: {}
@@ -590,7 +592,7 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
590
592
  sortDirection: e.sortDirection,
591
593
  ...n?.(e)
592
594
  }),
593
- storage: m(() => localStorage),
595
+ storage: d(() => localStorage),
594
596
  version: t
595
597
  }), lt = (e) => {
596
598
  let { get: t, set: n } = e;
@@ -613,12 +615,12 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
613
615
  },
614
616
  initialize: async (e) => {
615
617
  n({ globalAbortSignal: e });
616
- let { columns: i, columnVisualSettingsCondensed: a, columnVisualSettingsUncondensed: o, destroy: s, fetchData: c, isCondensed: l, setColumnVisualSettingsCondensed: u, setColumnVisualSettingsUncondensed: d, sortByField: f, sortDirection: p, updateUrl: m } = t();
617
- r.areColumnVisualSettingsValid(i, o) || d(r.createInitialVisualColumnSettings(i)), r.areColumnVisualSettingsValid(i, a) || u(l ? r.createCondensedVisualColumnSettingsFromColumnSettings(i, t().columnVisualSettingsUncondensed) : null);
618
- let h = () => {
619
- e.removeEventListener("abort", h), s();
618
+ let { columns: r, columnVisualSettingsCondensed: i, columnVisualSettingsUncondensed: a, destroy: o, fetchData: s, isCondensed: c, setColumnVisualSettingsCondensed: l, setColumnVisualSettingsUncondensed: u, sortByField: d, sortDirection: f, updateUrl: p } = t();
619
+ h.areColumnVisualSettingsValid(r, a) || u(h.createInitialVisualColumnSettings(r)), h.areColumnVisualSettingsValid(r, i) || l(c ? h.createCondensedVisualColumnSettingsFromColumnSettings(r, t().columnVisualSettingsUncondensed) : null);
620
+ let m = () => {
621
+ e.removeEventListener("abort", m), o();
620
622
  };
621
- e.addEventListener("abort", h), f && await m($("sortByField", f)), p && await m($("sortDirection", p)), await c(), n({ isInitialized: !0 });
623
+ e.addEventListener("abort", m), d && await p($("sortByField", d)), f && await p($("sortDirection", f)), await s(), n({ isInitialized: !0 });
622
624
  },
623
625
  reloadFilterData: (e) => {
624
626
  let { baseData: r, filteredData: i, frontendFilterPriorities: a, reloadFilterPriorityData: o, reloadSortedData: s } = t(), c = e || (0, rt.default)(a), l = Object.fromEntries(a.map((e) => [e, []])), u = r;
@@ -661,16 +663,17 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
661
663
  }), s = f.toSorted((e, n) => t.comparatorFactory ? o(e, n) : 0);
662
664
  n({ sortedData: s });
663
665
  } else if (d) {
664
- let e = f.toSorted((e, t) => {
665
- let n = c(e), r = c(t);
666
- return (d.includes(n) ? d.indexOf(n) : Infinity) - (d.includes(r) ? d.indexOf(r) : Infinity);
666
+ let e = /* @__PURE__ */ new Map();
667
+ d.forEach((t, n) => {
668
+ e.has(t) || e.set(t, n);
667
669
  });
668
- n({ sortedData: e });
670
+ let t = f.toSorted((t, n) => (e.get(c(t)) ?? Infinity) - (e.get(c(n)) ?? Infinity));
671
+ n({ sortedData: t });
669
672
  } else n({ sortedData: f });
670
673
  },
671
674
  resetColumns: () => {
672
- let { columns: e, isCondensed: n, setColumnVisualSettingsCondensed: i, setColumnVisualSettingsUncondensed: a } = t();
673
- a(r.createInitialVisualColumnSettings(e)), i(n ? r.createCondensedVisualColumnSettingsFromColumnSettings(e, t().columnVisualSettingsUncondensed) : null);
675
+ let { columns: e, isCondensed: n, setColumnVisualSettingsCondensed: r, setColumnVisualSettingsUncondensed: i } = t();
676
+ i(h.createInitialVisualColumnSettings(e)), r(n ? h.createCondensedVisualColumnSettingsFromColumnSettings(e, t().columnVisualSettingsUncondensed) : null);
674
677
  },
675
678
  resetFilters: async () => {
676
679
  let { setFilterValues: e } = t(), n = {};
@@ -708,7 +711,7 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
708
711
  filterDimensions: r,
709
712
  filters: e,
710
713
  frontendFilterPriorities: i
711
- }), n({ backendFilters: e.filter((e) => e.filterMode === l.BACKEND) }), n({ frontendFilters: Object.fromEntries(i.map((t) => [t, e.filter((e) => e.filterPriority === t)])) }), a) {
714
+ }), n({ backendFilters: e.filter((e) => e.filterMode === p.BACKEND) }), n({ frontendFilters: Object.fromEntries(i.map((t) => [t, e.filter((e) => e.filterPriority === t)])) }), a) {
712
715
  let t = new URLSearchParams(ee.resolve(te).window.document.location.search);
713
716
  e.forEach((e) => {
714
717
  let n = t.get(e.id);
@@ -729,9 +732,9 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
729
732
  await a(s);
730
733
  },
731
734
  setFilterValues: async (e) => {
732
- let { fetchData: r, filters: i, frontendFilterPriorities: a, navigateFunction: o, reloadFilterData: s, reloadSelectedIds: c, updateUrl: u } = t(), d = {}, f = {}, p = {}, m = {};
735
+ let { fetchData: r, filters: i, frontendFilterPriorities: a, navigateFunction: o, reloadFilterData: s, reloadSelectedIds: c, updateUrl: l } = t(), u = {}, d = {}, f = {}, m = {};
733
736
  i.forEach((e) => {
734
- e.filterMode === l.BACKEND && (p[e.id] = e.filterValue), e.filterMode === l.FRONTEND && (m[e.filterPriority] = m[e.filterPriority] || {}, m[e.filterPriority][e.id] = e.filterValue);
737
+ e.filterMode === p.BACKEND && (f[e.id] = e.filterValue), e.filterMode === p.FRONTEND && (m[e.filterPriority] = m[e.filterPriority] || {}, m[e.filterPriority][e.id] = e.filterValue);
735
738
  });
736
739
  let h = Ge(i, (t) => (t.forEach((t) => {
737
740
  e[t.id] !== void 0 && t.setFilterValue(e[t.id]);
@@ -740,17 +743,17 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
740
743
  let e = new URL(document.location.href).searchParams;
741
744
  h.forEach((t) => {
742
745
  t.isInitialFilterValue(t.filterValue) ? e.delete(t.id) : e = $(t.id, t.toURLSearchParameterValue(), e);
743
- }), await u(e);
746
+ }), await l(e);
744
747
  }
745
748
  h.forEach((e) => {
746
- e.filterMode === l.BACKEND && (d[e.id] = e.filterValue), e.filterMode === l.FRONTEND && (f[e.filterPriority] = f[e.filterPriority] || {}, f[e.filterPriority][e.id] = e.filterValue);
747
- }), ie.getObjectDiff(p, d).length > 0 ? await r() : (s(a.find((e) => ie.getObjectDiff(m[e], f[e]).length > 0 ? e : null)), c());
749
+ e.filterMode === p.BACKEND && (u[e.id] = e.filterValue), e.filterMode === p.FRONTEND && (d[e.filterPriority] = d[e.filterPriority] || {}, d[e.filterPriority][e.id] = e.filterValue);
750
+ }), ie.getObjectDiff(f, u).length > 0 ? await r() : (s(a.find((e) => ie.getObjectDiff(m[e], d[e]).length > 0 ? e : null)), c());
748
751
  },
749
752
  setIsCondensed: (e) => {
750
- let { columns: i } = t();
753
+ let { columns: r } = t();
751
754
  n((t) => ({
752
755
  ...t,
753
- columnVisualSettingsCondensed: e ? t.columnVisualSettingsCondensed ?? r.createCondensedVisualColumnSettingsFromColumnSettings(i, t.columnVisualSettingsUncondensed) : t.columnVisualSettingsCondensed,
756
+ columnVisualSettingsCondensed: e ? t.columnVisualSettingsCondensed ?? h.createCondensedVisualColumnSettingsFromColumnSettings(r, t.columnVisualSettingsUncondensed) : t.columnVisualSettingsCondensed,
754
757
  isCondensed: e
755
758
  }));
756
759
  },
@@ -764,11 +767,11 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
764
767
  n({ sortedIds: e });
765
768
  },
766
769
  setSorting: async (e, r) => {
767
- let { reloadSortedData: i, updateUrl: a } = t();
768
- await a($("sortByField", e)), await a($("sortDirection", r)), n({
770
+ let { reloadSortedData: i, sortByField: a, sortDirection: o, updateUrl: s } = t();
771
+ (a !== e || o !== r) && (await s($("sortByField", e)), await s($("sortDirection", r)), n({
769
772
  sortByField: e,
770
773
  sortDirection: r
771
- }), i();
774
+ }), i());
772
775
  },
773
776
  setVisibleFilterWithinDimension: (e, r) => {
774
777
  let { visibleFilterWithinDimensions: i } = t();
@@ -790,15 +793,15 @@ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
790
793
  }
791
794
  };
792
795
  }, ut = (e) => {
793
- let { storageNamePostFix: t, storageVersion: n, ...r } = e, i = st(r);
794
- return t ? u()(p((e, t) => ({
795
- ...i,
796
+ let { storageNamePostFix: t, storageVersion: r, ...i } = e, a = st(i);
797
+ return t ? n()(u((e, t) => ({
798
+ ...a,
796
799
  ...lt({
797
800
  get: t,
798
801
  set: e
799
802
  })
800
- }), ct(t, n))) : u()((e, t) => ({
801
- ...i,
803
+ }), ct(t, r))) : n()((e, t) => ({
804
+ ...a,
802
805
  ...lt({
803
806
  get: t,
804
807
  set: e