@gen-epix/ui-client-common 4.5.1 → 4.6.1

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 (179) hide show
  1. package/dist/@types/mui.d.ts +13 -11
  2. package/dist/_chunks/ApplicationFooter.js +32 -23
  3. package/dist/_chunks/ApplicationFooter.js.map +1 -1
  4. package/dist/_chunks/Breadcrumbs.js +1 -2
  5. package/dist/_chunks/CrudPage.js +221 -226
  6. package/dist/_chunks/CrudPage.js.map +1 -1
  7. package/dist/_chunks/GeoFilter.js +1 -2
  8. package/dist/_chunks/GeoFilter.js.map +1 -1
  9. package/dist/_chunks/Notifications.js +1 -2
  10. package/dist/_chunks/OutageList.js +1 -2
  11. package/dist/_chunks/OutageList.js.map +1 -1
  12. package/dist/_chunks/OutageUtil.js +3 -6
  13. package/dist/_chunks/OutageUtil.js.map +1 -1
  14. package/dist/_chunks/QueryClientProvider.js +1 -2
  15. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  16. package/dist/_chunks/QueryClientService.js +6 -8
  17. package/dist/_chunks/QueryClientService.js.map +1 -1
  18. package/dist/_chunks/Reflect.js +1 -2
  19. package/dist/_chunks/Table.js +5 -10
  20. package/dist/_chunks/Table.js.map +1 -1
  21. package/dist/_chunks/TableUtil.js +2 -4
  22. package/dist/_chunks/TableUtil.js.map +1 -1
  23. package/dist/_chunks/TextFilter.js +4 -8
  24. package/dist/_chunks/TextFilter.js.map +1 -1
  25. package/dist/_chunks/UserInvitationsAdminPage.js +1 -2
  26. package/dist/_chunks/UserManagerUtil.js +2 -4
  27. package/dist/_chunks/UserManagerUtil.js.map +1 -1
  28. package/dist/_chunks/_baseAssignValue.js +1 -2
  29. package/dist/_chunks/_baseFlatten.js +1 -2
  30. package/dist/_chunks/_baseGet.js +1 -2
  31. package/dist/_chunks/_baseIteratee.js +1 -2
  32. package/dist/_chunks/_baseUnset.js +1 -2
  33. package/dist/_chunks/_cacheHas.js +1 -2
  34. package/dist/_chunks/_setToString.js +1 -2
  35. package/dist/_chunks/decorate.js +1 -2
  36. package/dist/_chunks/decorateParam.js +1 -2
  37. package/dist/_chunks/format.js +27 -54
  38. package/dist/_chunks/format.js.map +1 -1
  39. package/dist/_chunks/isArrayLike.js +1 -2
  40. package/dist/_chunks/isObject.js +1 -2
  41. package/dist/_chunks/isSymbol.js +1 -2
  42. package/dist/_chunks/last.js +1 -2
  43. package/dist/_chunks/middleware.js +2 -3
  44. package/dist/_chunks/middleware.js.map +1 -1
  45. package/dist/_chunks/omit.js +1 -2
  46. package/dist/_chunks/query.js +8 -15
  47. package/dist/_chunks/query.js.map +1 -1
  48. package/dist/_chunks/react.js +2 -3
  49. package/dist/_chunks/react.js.map +1 -1
  50. package/dist/_chunks/rolldown-runtime.js +2 -3
  51. package/dist/_chunks/tableStore.js +171 -171
  52. package/dist/_chunks/tableStore.js.map +1 -1
  53. package/dist/_chunks/toDate.js +8 -14
  54. package/dist/_chunks/toDate.js.map +1 -1
  55. package/dist/_chunks/uniq.js +1 -2
  56. package/dist/_chunks/useColumnsMenu.js +3 -6
  57. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  58. package/dist/_chunks/useMutation.js +2 -4
  59. package/dist/_chunks/useMutation.js.map +1 -1
  60. package/dist/_chunks/useQueryMemo.js +8 -14
  61. package/dist/_chunks/useQueryMemo.js.map +1 -1
  62. package/dist/_chunks/vanilla.js +1 -2
  63. package/dist/_chunks/vanilla.js.map +1 -1
  64. package/dist/_chunks/yup.js +2 -4
  65. package/dist/_chunks/yup.js.map +1 -1
  66. package/dist/classes/TableEventBus/index.js +1 -2
  67. package/dist/classes/abstracts/FilterAbstract/index.js +1 -2
  68. package/dist/classes/abstracts/FilterAbstract/index.js.map +1 -1
  69. package/dist/classes/services/AuthenticationService/index.js +0 -1
  70. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  71. package/dist/classes/services/AuthorizationService/index.js +1 -2
  72. package/dist/classes/services/BackendVersionService/index.js +1 -2
  73. package/dist/classes/services/BreadcrumbService/index.js +1 -2
  74. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  75. package/dist/classes/services/EmotionCacheService/index.js +1 -2
  76. package/dist/classes/services/FeatureFlagsService/index.js +1 -2
  77. package/dist/classes/services/I18nService/index.js +1 -2
  78. package/dist/classes/services/InactivityService/index.js +1 -2
  79. package/dist/classes/services/InactivityService/index.js.map +1 -1
  80. package/dist/classes/services/LogService/index.js +1 -2
  81. package/dist/classes/services/NavigationHistoryService/index.js +1 -2
  82. package/dist/classes/services/NotificationService/index.js +1 -2
  83. package/dist/classes/services/PageEventBusService/index.js +1 -2
  84. package/dist/classes/services/RouterService/index.js +1 -2
  85. package/dist/classes/services/UserSettingsService/index.js +1 -2
  86. package/dist/components/app/App/index.js +1 -2
  87. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +1 -2
  88. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  89. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +1 -2
  90. package/dist/components/app/AuthenticationWrapper/index.js +1 -2
  91. package/dist/components/app/AuthorizationWrapper/index.js +1 -2
  92. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  93. package/dist/components/app/RouterRoot/index.js +1 -2
  94. package/dist/components/epi/EpiContactDetailsDialog/index.js +1 -2
  95. package/dist/components/filters/BooleanFilterField/index.js +1 -2
  96. package/dist/components/filters/DateFilterField/index.js +1 -2
  97. package/dist/components/filters/GeoFilterField/index.js +1 -2
  98. package/dist/components/filters/MultiSelectFilterField/index.js +1 -2
  99. package/dist/components/filters/NumberRangeFilterField/index.js +1 -2
  100. package/dist/components/filters/TextFilterField/index.js +1 -2
  101. package/dist/components/ui/ApplicationBar/ApplicationBar.d.ts +4 -0
  102. package/dist/components/ui/ApplicationBar/ApplicationBarActions.d.ts +5 -0
  103. package/dist/components/ui/ApplicationBar/ApplicationBarNavigationMenu.d.ts +6 -0
  104. package/dist/components/ui/ApplicationBar/index.js +109 -95
  105. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  106. package/dist/components/ui/ApplicationFooter/ApplicationFooter.d.ts +3 -0
  107. package/dist/components/ui/ApplicationFooter/ApplicationFooterLink.d.ts +3 -0
  108. package/dist/components/ui/ApplicationFooter/ApplicationFooterLinkSection.d.ts +4 -0
  109. package/dist/components/ui/ConsentDialog/index.js +1 -2
  110. package/dist/components/ui/GenericErrorMessage/index.js +1 -2
  111. package/dist/components/ui/LicensesDialog/index.js +1 -2
  112. package/dist/components/ui/MyPermissionsDialog/index.js +1 -2
  113. package/dist/components/ui/NavLink/index.js +1 -2
  114. package/dist/components/ui/OrganizationSwitcherDialog/index.js +1 -2
  115. package/dist/components/ui/OutagesDialog/index.js +1 -2
  116. package/dist/components/ui/PageContainer/index.js +1 -2
  117. package/dist/components/ui/ResponseHandler/index.js +1 -2
  118. package/dist/components/ui/Sidebar/index.js +1 -2
  119. package/dist/components/ui/UserFeedbackDialog/index.js +1 -2
  120. package/dist/components/ui/UserInactivityConfirmation/index.js +1 -2
  121. package/dist/constants/api.constants.js +1 -2
  122. package/dist/constants/config.constants.js +1 -2
  123. package/dist/constants/query.constants.js +1 -2
  124. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +1 -2
  125. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +1 -2
  126. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +1 -2
  127. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +1 -2
  128. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +1 -2
  129. package/dist/dataHooks/useOrganizationsQuery/index.js +1 -2
  130. package/dist/dataHooks/useUsersQuery/index.js +1 -2
  131. package/dist/hoc/withPermissions/index.js +1 -2
  132. package/dist/hooks/useConfig/index.js +1 -2
  133. package/dist/hooks/useCreateMutation/index.js +1 -2
  134. package/dist/hooks/useDeleteMutation/index.js +1 -2
  135. package/dist/hooks/useEditMutation/index.js +37 -42
  136. package/dist/hooks/useEditMutation/index.js.map +1 -1
  137. package/dist/hooks/useEditMutation/useEditMutation.d.ts +1 -2
  138. package/dist/hooks/useInitializeTableStore/index.js +1 -2
  139. package/dist/hooks/useItemQuery/index.js +1 -2
  140. package/dist/hooks/useUpdateBreadcrumb/index.js +1 -2
  141. package/dist/hooks/useUpdateDocumentTitle/index.js +1 -2
  142. package/dist/models/admin.models.js +1 -2
  143. package/dist/models/admin.models.js.map +1 -1
  144. package/dist/models/table.models.js +1 -2
  145. package/dist/models/table.models.js.map +1 -1
  146. package/dist/pages/AcceptInvitationPage/index.js +1 -2
  147. package/dist/pages/AdminPage/index.js +1 -2
  148. package/dist/pages/ChooseIdentityProviderPage/index.js +1 -2
  149. package/dist/pages/ErrorPage/index.js +1 -2
  150. package/dist/pages/IdentifierIssuersAdminPage/index.js +1 -2
  151. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +1 -2
  152. package/dist/pages/OrganizationContactsAdminPage/index.js +1 -2
  153. package/dist/pages/OrganizationSitesAdminPage/index.js +1 -2
  154. package/dist/pages/OrganizationsAdminPage/index.js +1 -2
  155. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  156. package/dist/pages/OutagesAdminPage/index.js +1 -2
  157. package/dist/pages/PostLoginPage/index.js +2 -3
  158. package/dist/pages/PostLoginPage/index.js.map +1 -1
  159. package/dist/pages/PostLogoutPage/index.js +1 -2
  160. package/dist/pages/RouterErrorPage/index.js +1 -2
  161. package/dist/pages/UsersAdminPage/index.js +1 -2
  162. package/dist/routes/index.js +1 -2
  163. package/dist/setup/setup.js +1 -2
  164. package/dist/stores/oidcStore/index.js +1 -2
  165. package/dist/stores/outagesStore/index.js +1 -2
  166. package/dist/theme/demoTheme/index.js +16 -9
  167. package/dist/theme/demoTheme/index.js.map +1 -1
  168. package/dist/utils/AxiosUtil/index.js +1 -2
  169. package/dist/utils/DataHookUtil/index.js +1 -2
  170. package/dist/utils/DependencyContainerUtil/index.js +0 -1
  171. package/dist/utils/LoadableUtil/index.js +1 -2
  172. package/dist/utils/MenuDataUtil/index.js +1 -2
  173. package/dist/utils/NotificationUtil/index.js +1 -2
  174. package/dist/utils/StandardConfigUtil/index.js +1 -2
  175. package/dist/utils/TimeUtil/index.js +1 -2
  176. package/dist/utils/UserUtil/index.js +1 -2
  177. package/package.json +25 -29
  178. package/dist/models/theme.models.d.ts +0 -20
  179. package/dist/models/theme.models.js +0 -0
@@ -15,7 +15,7 @@ import { WindowService as te } from "@gen-epix/ui-core/classes/services/WindowSe
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
- //#region ../../node_modules/.pnpm/immer@11.1.21/node_modules/immer/dist/immer.mjs
18
+ // ../../node_modules/.pnpm/immer@11.2.9/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.`;
@@ -46,63 +46,63 @@ var oe = Symbol.for("immer-nothing"), se = Symbol.for("immer-draftable"), g = Sy
46
46
  ];
47
47
  function _(e, ...t) {
48
48
  if (process.env.NODE_ENV !== "production") {
49
- let n = ce[e], r = L(n) ? n.apply(null, t) : n;
49
+ let n = ce[e], r = I(n) ? n.apply(null, t) : n;
50
50
  throw Error(`[Immer] ${r}`);
51
51
  }
52
52
  throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
53
53
  }
54
- var v = Object, y = v.getPrototypeOf, b = "constructor", x = "prototype", S = "configurable", C = "enumerable", w = "writable", T = "value", E = (e) => !!e && !!e[g];
55
- function D(e) {
56
- return e ? de(e) || N(e) || !!e[se] || !!e[b]?.[se] || P(e) || F(e) : !1;
54
+ var v = Object, y = v.getPrototypeOf, b = "constructor", x = "prototype", le = "configurable", S = "enumerable", C = "writable", w = "value", T = (e) => !!e && !!e[g];
55
+ function E(e) {
56
+ return e ? fe(e) || M(e) || !!e[se] || !!e[b]?.[se] || N(e) || P(e) : !1;
57
57
  }
58
- var le = v[x][b].toString(), ue = /* @__PURE__ */ new WeakMap();
59
- function de(e) {
60
- if (!e || !I(e)) return !1;
58
+ var ue = v[x][b].toString(), de = /* @__PURE__ */ new WeakMap();
59
+ function fe(e) {
60
+ if (!e || !F(e)) return !1;
61
61
  let t = y(e);
62
62
  if (t === null || t === v[x]) return !0;
63
63
  let n = v.hasOwnProperty.call(t, b) && t[b];
64
64
  if (n === Object) return !0;
65
- if (!L(n)) return !1;
66
- let r = ue.get(n);
67
- return r === void 0 && (r = Function.toString.call(n), ue.set(n, r)), r === le;
65
+ if (!I(n)) return !1;
66
+ let r = de.get(n);
67
+ return r === void 0 && (r = Function.toString.call(n), de.set(n, r)), r === ue;
68
68
  }
69
- function O(e, t, n = !0) {
70
- k(e) === 0 ? (n ? Reflect.ownKeys(e) : v.keys(e)).forEach((n) => {
69
+ function D(e, t, n = !0) {
70
+ O(e) === 0 ? (n ? Reflect.ownKeys(e) : v.keys(e)).forEach((n) => {
71
71
  t(n, e[n], e);
72
72
  }) : e.forEach((n, r) => t(r, n, e));
73
73
  }
74
- function k(e) {
74
+ function O(e) {
75
75
  let t = e[g];
76
- return t ? t.type_ : N(e) ? 1 : P(e) ? 2 : F(e) ? 3 : 0;
76
+ return t ? t.type_ : M(e) ? 1 : N(e) ? 2 : P(e) ? 3 : 0;
77
77
  }
78
- var A = (e, t, n = k(e)) => n === 2 ? e.has(t) : v[x].hasOwnProperty.call(e, t), j = (e, t, n = k(e)) => n === 2 ? e.get(t) : e[t], M = (e, t, n, r = k(e)) => {
78
+ var k = (e, t, n = O(e)) => n === 2 ? e.has(t) : v[x].hasOwnProperty.call(e, t), A = (e, t, n = O(e)) => n === 2 ? e.get(t) : e[t], j = (e, t, n, r = O(e)) => {
79
79
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
80
80
  };
81
- function fe(e, t) {
81
+ function pe(e, t) {
82
82
  return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
83
83
  }
84
- var N = Array.isArray, P = (e) => e instanceof Map, F = (e) => e instanceof Set, I = (e) => typeof e == "object", L = (e) => typeof e == "function", R = (e) => typeof e == "boolean";
85
- function pe(e) {
84
+ var M = Array.isArray, N = (e) => e instanceof Map, P = (e) => e instanceof Set, F = (e) => typeof e == "object", I = (e) => typeof e == "function", me = (e) => typeof e == "boolean";
85
+ function he(e) {
86
86
  let t = +e;
87
87
  return Number.isInteger(t) && String(t) === e;
88
88
  }
89
- var z = (e) => e.copy_ || e.base_, B = (e) => e.modified_ ? e.copy_ : e.base_;
90
- function V(e, t) {
91
- if (P(e)) return new Map(e);
92
- if (F(e)) return new Set(e);
93
- if (N(e)) return Array[x].slice.call(e);
94
- let n = de(e);
89
+ var L = (e) => e.copy_ || e.base_, ge = (e) => e.modified_ ? e.copy_ : e.base_;
90
+ function _e(e, t) {
91
+ if (N(e)) return new Map(e);
92
+ if (P(e)) return new Set(e);
93
+ if (M(e)) return Array[x].slice.call(e);
94
+ let n = fe(e);
95
95
  if (t === !0 || t === "class_only" && !n) {
96
96
  let t = v.getOwnPropertyDescriptors(e);
97
97
  delete t[g];
98
98
  let n = Reflect.ownKeys(t);
99
99
  for (let r = 0; r < n.length; r++) {
100
100
  let i = n[r], a = t[i];
101
- a[w] === !1 && (a[w] = !0, a[S] = !0), (a.get || a.set) && (t[i] = {
102
- [S]: !0,
103
- [w]: !0,
104
- [C]: a[C],
105
- [T]: e[i]
101
+ a[C] === !1 && (a[C] = !0, a[le] = !0), (a.get || a.set) && (t[i] = {
102
+ [le]: !0,
103
+ [C]: !0,
104
+ [S]: a[S],
105
+ [w]: e[i]
106
106
  });
107
107
  }
108
108
  return v.create(y(e), t);
@@ -114,29 +114,29 @@ function V(e, t) {
114
114
  return v.assign(r, e);
115
115
  }
116
116
  }
117
- function H(e, t = !1) {
118
- return W(e) || E(e) || !D(e) || (k(e) > 1 && v.defineProperties(e, {
119
- set: U,
120
- add: U,
121
- clear: U,
122
- delete: U
123
- }), v.freeze(e), t && O(e, (e, t) => {
124
- H(t, !0);
117
+ function R(e, t = !1) {
118
+ return B(e) || T(e) || !E(e) || (O(e) > 1 && v.defineProperties(e, {
119
+ set: z,
120
+ add: z,
121
+ clear: z,
122
+ delete: z
123
+ }), v.freeze(e), t && D(e, (e, t) => {
124
+ R(t, !0);
125
125
  }, !1)), e;
126
126
  }
127
- function me() {
127
+ function ve() {
128
128
  _(2);
129
129
  }
130
- var U = { [T]: me };
131
- function W(e) {
132
- return e === null || !I(e) || v.isFrozen(e);
130
+ var z = { [w]: ve };
131
+ function B(e) {
132
+ return e === null || !F(e) || v.isFrozen(e);
133
133
  }
134
- var G = "MapSet", he = "Patches", ge = "ArrayMethods", _e = {};
135
- function K(e) {
136
- let t = _e[e];
134
+ var V = "MapSet", H = "Patches", ye = "ArrayMethods", be = {};
135
+ function U(e) {
136
+ let t = be[e];
137
137
  return t || _(0, e), t;
138
138
  }
139
- var ve = (e) => !!_e[e], q, ye = () => q, be = (e, t) => ({
139
+ var xe = (e) => !!be[e], W, Se = () => W, Ce = (e, t) => ({
140
140
  drafts_: [],
141
141
  parent_: e,
142
142
  immer_: t,
@@ -144,114 +144,114 @@ var ve = (e) => !!_e[e], q, ye = () => q, be = (e, t) => ({
144
144
  unfinalizedDrafts_: 0,
145
145
  handledSet_: /* @__PURE__ */ new Set(),
146
146
  processedForPatches_: /* @__PURE__ */ new Set(),
147
- mapSetPlugin_: ve(G) ? K(G) : void 0,
148
- arrayMethodsPlugin_: ve(ge) ? K(ge) : void 0
147
+ mapSetPlugin_: xe(V) ? U(V) : void 0,
148
+ arrayMethodsPlugin_: xe(ye) ? U(ye) : void 0
149
149
  });
150
- function xe(e, t) {
151
- t && (e.patchPlugin_ = K(he), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
150
+ function we(e, t) {
151
+ t && (e.patchPlugin_ = U(H), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
152
152
  }
153
- function Se(e) {
154
- Ce(e), e.drafts_.forEach(Te), e.drafts_ = null;
153
+ function G(e) {
154
+ K(e), e.drafts_.forEach(Ee), e.drafts_ = null;
155
155
  }
156
- function Ce(e) {
157
- e === q && (q = e.parent_);
156
+ function K(e) {
157
+ e === W && (W = e.parent_);
158
158
  }
159
- var we = (e) => q = be(q, e);
160
- function Te(e) {
159
+ var Te = (e) => W = Ce(W, e);
160
+ function Ee(e) {
161
161
  let t = e[g];
162
162
  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
163
163
  }
164
- function Ee(e, t) {
164
+ function De(e, t) {
165
165
  t.unfinalizedDrafts_ = t.drafts_.length;
166
166
  let n = t.drafts_[0];
167
167
  if (e !== void 0 && e !== n) {
168
- n[g].modified_ && (Se(t), _(4)), D(e) && (e = De(t, e));
168
+ n[g].modified_ && (G(t), _(4)), E(e) && (e = Oe(t, e));
169
169
  let { patchPlugin_: r } = t;
170
170
  r && r.generateReplacementPatches_(n[g].base_, e, t);
171
- } else e = De(t, n);
172
- return Oe(t, e, !0), Se(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === oe ? void 0 : e;
171
+ } else e = Oe(t, n);
172
+ return ke(t, e, !0), G(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === oe ? void 0 : e;
173
173
  }
174
- function De(e, t) {
175
- if (W(t)) return t;
174
+ function Oe(e, t) {
175
+ if (B(t)) return t;
176
176
  let n = t[g];
177
- if (!n) return Y(t, e.handledSet_, e);
178
- if (!J(n, e)) return t;
177
+ if (!n) return J(t, e.handledSet_, e);
178
+ if (!q(n, e)) return t;
179
179
  if (!n.modified_) return n.base_;
180
180
  if (!n.finalized_) {
181
181
  let { callbacks_: t } = n;
182
182
  if (t) for (; t.length > 0;) t.pop()(e);
183
- Ne(n, e);
183
+ Pe(n, e);
184
184
  }
185
185
  return n.copy_;
186
186
  }
187
- function Oe(e, t, n = !1) {
188
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && H(t, n);
187
+ function ke(e, t, n = !1) {
188
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && R(t, n);
189
189
  }
190
- function ke(e) {
190
+ function Ae(e) {
191
191
  e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
192
192
  }
193
- var J = (e, t) => e.scope_ === t, Ae = [];
194
- function je(e, t, n, r) {
195
- let i = z(e), a = e.type_;
196
- if (r !== void 0 && j(i, r, a) === t) {
197
- M(i, r, n, a);
193
+ var q = (e, t) => e.scope_ === t, je = [];
194
+ function Me(e, t, n, r) {
195
+ let i = L(e), a = e.type_;
196
+ if (r !== void 0 && A(i, r, a) === t) {
197
+ j(i, r, n, a);
198
198
  return;
199
199
  }
200
200
  if (!e.draftLocations_) {
201
201
  let t = e.draftLocations_ = /* @__PURE__ */ new Map();
202
- O(i, (e, n) => {
203
- if (E(n)) {
202
+ D(i, (e, n) => {
203
+ if (T(n)) {
204
204
  let r = t.get(n) || [];
205
205
  r.push(e), t.set(n, r);
206
206
  }
207
207
  });
208
208
  }
209
- let o = e.draftLocations_.get(t) ?? Ae;
210
- for (let e of o) M(i, e, n, a);
209
+ let o = e.draftLocations_.get(t) ?? je;
210
+ for (let e of o) j(i, e, n, a);
211
211
  }
212
- function Me(e, t, n) {
212
+ function Ne(e, t, n) {
213
213
  e.callbacks_.push(function(r) {
214
214
  let i = t;
215
- if (!i || !J(i, r)) return;
215
+ if (!i || !q(i, r)) return;
216
216
  r.mapSetPlugin_?.fixSetContents(i);
217
- let a = B(i);
218
- je(e, i.draft_ ?? i, a, n), Ne(i, r);
217
+ let a = ge(i);
218
+ Me(e, i.draft_ ?? i, a, n), Pe(i, r);
219
219
  });
220
220
  }
221
- function Ne(e, t) {
221
+ function Pe(e, t) {
222
222
  if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
223
223
  let { patchPlugin_: n } = t;
224
224
  if (n) {
225
225
  let r = n.getPath(e);
226
226
  r && n.generatePatches_(e, r, t);
227
227
  }
228
- ke(e);
228
+ Ae(e);
229
229
  }
230
230
  }
231
- function Pe(e, t, n) {
231
+ function Fe(e, t, n) {
232
232
  let { scope_: r } = e;
233
- if (E(n)) {
233
+ if (T(n)) {
234
234
  let i = n[g];
235
- J(i, r) && i.callbacks_.push(function() {
236
- Q(e), je(e, n, B(i), t);
235
+ q(i, r) && i.callbacks_.push(function() {
236
+ Z(e), Me(e, n, ge(i), t);
237
237
  });
238
- } else D(n) && e.callbacks_.push(function() {
239
- let i = z(e);
240
- e.type_ === 3 ? i.has(n) && Y(n, r.handledSet_, r) : j(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && Y(j(e.copy_, t, e.type_), r.handledSet_, r);
238
+ } else E(n) && e.callbacks_.push(function() {
239
+ let i = L(e);
240
+ e.type_ === 3 ? i.has(n) && J(n, r.handledSet_, r) : A(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && J(A(e.copy_, t, e.type_), r.handledSet_, r);
241
241
  });
242
242
  }
243
- function Y(e, t, n) {
244
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || E(e) || t.has(e) || !D(e) || W(e) || (t.add(e), O(e, (r, i) => {
245
- if (E(i)) {
243
+ function J(e, t, n) {
244
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || T(e) || t.has(e) || !E(e) || B(e) || (t.add(e), D(e, (r, i) => {
245
+ if (T(i)) {
246
246
  let t = i[g];
247
- J(t, n) && (M(e, r, B(t), e.type_), ke(t));
248
- } else D(i) && Y(i, t, n);
247
+ q(t, n) && (j(e, r, ge(t), e.type_), Ae(t));
248
+ } else E(i) && J(i, t, n);
249
249
  })), e;
250
250
  }
251
- function Fe(e, t) {
252
- let n = N(e), r = {
251
+ function Ie(e, t) {
252
+ let n = M(e), r = {
253
253
  type_: +!!n,
254
- scope_: t ? t.scope_ : ye(),
254
+ scope_: t ? t.scope_ : Se(),
255
255
  modified_: !1,
256
256
  finalized_: !1,
257
257
  assigned_: void 0,
@@ -262,54 +262,54 @@ function Fe(e, t) {
262
262
  revoke_: null,
263
263
  isManual_: !1,
264
264
  callbacks_: void 0
265
- }, i = r, a = X;
266
- n && (i = [r], a = Z);
265
+ }, i = r, a = Y;
266
+ n && (i = [r], a = X);
267
267
  let { revoke: o, proxy: s } = Proxy.revocable(i, a);
268
268
  return r.draft_ = s, r.revoke_ = o, [s, r];
269
269
  }
270
- var X = {
270
+ var Y = {
271
271
  get(e, t) {
272
272
  if (t === g) return e;
273
273
  let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
274
274
  if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
275
- let i = z(e);
276
- if (!A(i, t, e.type_)) return Re(e, i, t);
275
+ let i = L(e);
276
+ if (!k(i, t, e.type_)) return ze(e, i, t);
277
277
  let a = i[t];
278
- if (e.finalized_ || !D(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && pe(t)) return a;
279
- if (a === Ie(e.base_, t) || Le(e, t, a)) {
280
- Q(e);
281
- let n = e.type_ === 1 ? +t : t, r = He(e.scope_, a, e, n);
278
+ if (e.finalized_ || !E(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && he(t)) return a;
279
+ if (a === Le(e.base_, t) || Re(e, t, a)) {
280
+ Z(e);
281
+ let n = e.type_ === 1 ? +t : t, r = Q(e.scope_, a, e, n);
282
282
  return e.copy_[n] = r;
283
283
  }
284
284
  return a;
285
285
  },
286
286
  has(e, t) {
287
- return t in z(e);
287
+ return t in L(e);
288
288
  },
289
289
  ownKeys(e) {
290
- return Reflect.ownKeys(z(e));
290
+ return Reflect.ownKeys(L(e));
291
291
  },
292
292
  set(e, t, n) {
293
- let r = ze(z(e), t);
293
+ let r = Be(L(e), t);
294
294
  if (r?.set) return r.set.call(e.draft_, n), !0;
295
295
  if (!e.modified_) {
296
- let r = Ie(z(e), t), i = r?.[g];
296
+ let r = Le(L(e), t), i = r?.[g];
297
297
  if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
298
- if (fe(n, r) && (n !== void 0 || A(e.base_, t, e.type_))) return !0;
299
- Q(e), Be(e);
298
+ if (pe(n, r) && (n !== void 0 || k(e.base_, t, e.type_))) return !0;
299
+ Z(e), Ve(e);
300
300
  }
301
- return e.copy_[t] === n && (n !== void 0 || A(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), Pe(e, t, n)), !0;
301
+ return e.copy_[t] === n && (n !== void 0 || k(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), Fe(e, t, n)), !0;
302
302
  },
303
303
  deleteProperty(e, t) {
304
- return Q(e), Ie(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Be(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
304
+ return Z(e), Le(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Ve(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
305
305
  },
306
306
  getOwnPropertyDescriptor(e, t) {
307
- let n = z(e), r = Reflect.getOwnPropertyDescriptor(n, t);
307
+ let n = L(e), r = Reflect.getOwnPropertyDescriptor(n, t);
308
308
  return r && {
309
- [w]: !0,
310
- [S]: e.type_ !== 1 || t !== "length",
311
- [C]: r[C],
312
- [T]: n[t]
309
+ [C]: !0,
310
+ [le]: e.type_ !== 1 || t !== "length",
311
+ [S]: r[S],
312
+ [w]: n[t]
313
313
  };
314
314
  },
315
315
  defineProperty() {
@@ -321,31 +321,31 @@ var X = {
321
321
  setPrototypeOf() {
322
322
  _(12);
323
323
  }
324
- }, Z = {};
325
- for (let e in X) {
326
- let t = X[e];
327
- Z[e] = function() {
324
+ }, X = {};
325
+ for (let e in Y) {
326
+ let t = Y[e];
327
+ X[e] = function() {
328
328
  let e = arguments;
329
329
  return e[0] = e[0][0], t.apply(this, e);
330
330
  };
331
331
  }
332
- Z.deleteProperty = function(e, t) {
333
- return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && _(13), Z.set.call(this, e, t, void 0);
334
- }, Z.set = function(e, t, n) {
335
- return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && _(14), X.set.call(this, e[0], t, n, e[0]);
332
+ X.deleteProperty = function(e, t) {
333
+ return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && _(13), X.set.call(this, e, t, void 0);
334
+ }, X.set = function(e, t, n) {
335
+ return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && _(14), Y.set.call(this, e[0], t, n, e[0]);
336
336
  };
337
- function Ie(e, t) {
337
+ function Le(e, t) {
338
338
  let n = e[g];
339
- return (n ? z(n) : e)[t];
340
- }
341
- function Le(e, t, n) {
342
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !D(n) || n[g] ? !1 : e.baseRefs_.has(n);
339
+ return (n ? L(n) : e)[t];
343
340
  }
344
341
  function Re(e, t, n) {
345
- let r = ze(t, n);
346
- return r ? T in r ? r[T] : r.get?.call(e.draft_) : void 0;
342
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || !E(n) || n[g] ? !1 : e.baseRefs_.has(n);
343
+ }
344
+ function ze(e, t, n) {
345
+ let r = Be(t, n);
346
+ return r ? w in r ? r[w] : r.get?.call(e.draft_) : void 0;
347
347
  }
348
- function ze(e, t) {
348
+ function Be(e, t) {
349
349
  if (!(t in e)) return;
350
350
  let n = y(e);
351
351
  for (; n;) {
@@ -354,16 +354,16 @@ function ze(e, t) {
354
354
  n = y(n);
355
355
  }
356
356
  }
357
- function Be(e) {
358
- e.modified_ || (e.modified_ = !0, e.parent_ && Be(e.parent_));
357
+ function Ve(e) {
358
+ e.modified_ || (e.modified_ = !0, e.parent_ && Ve(e.parent_));
359
359
  }
360
- function Q(e) {
361
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), V(e.base_, e.scope_.immer_.useStrictShallowCopy_));
360
+ function Z(e) {
361
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), _e(e.base_, e.scope_.immer_.useStrictShallowCopy_));
362
362
  }
363
- var Ve = class {
363
+ var He = class {
364
364
  constructor(e) {
365
365
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
366
- if (L(e) && !L(t)) {
366
+ if (I(e) && !I(t)) {
367
367
  let n = t;
368
368
  t = e;
369
369
  let r = this;
@@ -371,21 +371,21 @@ var Ve = class {
371
371
  return r.produce(e, (e) => t.call(this, e, ...i));
372
372
  };
373
373
  }
374
- L(t) || _(6), n !== void 0 && !L(n) && _(7);
374
+ I(t) || _(6), n !== void 0 && !I(n) && _(7);
375
375
  let r;
376
- if (D(e)) {
377
- let i = we(this), a = He(i, e, void 0), o = !0;
376
+ if (E(e)) {
377
+ let i = Te(this), a = Q(i, e, void 0), o = !0;
378
378
  try {
379
379
  r = t(a), o = !1;
380
380
  } finally {
381
- o ? Se(i) : Ce(i);
381
+ o ? G(i) : K(i);
382
382
  }
383
- return xe(i, n), Ee(r, i);
383
+ return we(i, n), De(r, i);
384
384
  }
385
- if (!e || !I(e)) {
386
- if (r = t(e), r === void 0 && (r = e), r === oe && (r = void 0), this.autoFreeze_ && H(r, !0), n) {
385
+ if (!e || !F(e)) {
386
+ if (r = t(e), r === void 0 && (r = e), r === oe && (r = void 0), this.autoFreeze_ && R(r, !0), n) {
387
387
  let t = [], i = [];
388
- K(he).generateReplacementPatches_(e, r, {
388
+ U(H).generateReplacementPatches_(e, r, {
389
389
  patches_: t,
390
390
  inversePatches_: i
391
391
  }), n(t, i);
@@ -394,7 +394,7 @@ var Ve = class {
394
394
  }
395
395
  _(1, e);
396
396
  }, this.produceWithPatches = (e, t) => {
397
- if (L(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
397
+ if (I(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
398
398
  let n, r;
399
399
  return [
400
400
  this.produce(e, t, (e, t) => {
@@ -403,18 +403,18 @@ var Ve = class {
403
403
  n,
404
404
  r
405
405
  ];
406
- }, R(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), R(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), R(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
406
+ }, me(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), me(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), me(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
407
407
  }
408
408
  createDraft(e) {
409
- D(e) || _(8), E(e) && (e = Ue(e));
410
- let t = we(this), n = He(t, e, void 0);
411
- return n[g].isManual_ = !0, Ce(t), n;
409
+ E(e) || _(8), T(e) && (e = Ue(e));
410
+ let t = Te(this), n = Q(t, e, void 0);
411
+ return n[g].isManual_ = !0, K(t), n;
412
412
  }
413
413
  finishDraft(e, t) {
414
414
  let n = e && e[g];
415
- (!n || !n.isManual_) && _(9);
415
+ n && n.isManual_ || _(9);
416
416
  let { scope_: r } = n;
417
- return xe(r, t), Ee(void 0, r);
417
+ return we(r, t), De(void 0, r);
418
418
  }
419
419
  setAutoFreeze(e) {
420
420
  this.autoFreeze_ = e;
@@ -438,34 +438,35 @@ var Ve = class {
438
438
  }
439
439
  }
440
440
  n > -1 && (t = t.slice(n + 1));
441
- let r = K(he).applyPatches_;
442
- return E(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
441
+ let r = U(H).applyPatches_;
442
+ return T(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
443
443
  }
444
444
  };
445
- function He(e, t, n, r) {
446
- let [i, a] = P(t) ? K(G).proxyMap_(t, n) : F(t) ? K(G).proxySet_(t, n) : Fe(t, n);
447
- return (n?.scope_ ?? ye()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Me(n, a, r) : a.callbacks_.push(function(e) {
445
+ function Q(e, t, n, r) {
446
+ let [i, a] = N(t) ? U(V).proxyMap_(t, n) : P(t) ? U(V).proxySet_(t, n) : Ie(t, n);
447
+ return (n?.scope_ ?? Se()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Ne(n, a, r) : a.callbacks_.push(function(e) {
448
448
  e.mapSetPlugin_?.fixSetContents(a);
449
449
  let { patchPlugin_: t } = e;
450
450
  a.modified_ && t && t.generatePatches_(a, [], e);
451
451
  }), i;
452
452
  }
453
453
  function Ue(e) {
454
- return E(e) || _(10, e), We(e);
454
+ return T(e) || _(10, e), We(e);
455
455
  }
456
456
  function We(e) {
457
- if (!D(e) || W(e)) return e;
457
+ if (!E(e) || B(e)) return e;
458
458
  let t = e[g], n, r = !0;
459
459
  if (t) {
460
460
  if (!t.modified_) return t.base_;
461
- t.finalized_ = !0, n = V(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
462
- } else n = V(e, !0);
463
- return O(n, (e, t) => {
464
- M(n, e, We(t));
461
+ t.finalized_ = !0, n = _e(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
462
+ } else n = _e(e, !0);
463
+ let i = n;
464
+ return P(n) && (n = /* @__PURE__ */ new Set()), D(i, (e, t) => {
465
+ j(n, e, We(t));
465
466
  }, r), t && (t.finalized_ = !1), n;
466
467
  }
467
468
  globalThis.Iterator?.from;
468
- var Ge = new Ve().produce, Ke = /* @__PURE__ */ t(((e, t) => {
469
+ var Ge = new He().produce, Ke = /* @__PURE__ */ t(((e, t) => {
469
470
  function n(e) {
470
471
  return e && e.length ? e[0] : void 0;
471
472
  }
@@ -649,7 +650,7 @@ var Ge = new Ve().produce, Ke = /* @__PURE__ */ t(((e, t) => {
649
650
  let { columns: e, dataContext: r, defaultSortByField: i, defaultSortDirection: a, filteredData: o, frontendFilterPriorities: s, idSelectorCallback: c, sortByField: l, sortDirection: u, sortedIds: d } = t(), f = o[(0, ot.default)(s)], p = l, m = u;
650
651
  if (p && m) {
651
652
  let t = e.find((e) => e.id === l);
652
- if ((!t || !t.comparatorFactory) && (console.warn(`Column not found or missing comparatorFactory for field '${l}', reverting to default sort settings.`), p = i, m = a, t = e.find((e) => e.id === p)), !t || !t.comparatorFactory) {
653
+ if (t && t.comparatorFactory || (console.warn(`Column not found or missing comparatorFactory for field '${l}', reverting to default sort settings.`), p = i, m = a, t = e.find((e) => e.id === p)), !t || !t.comparatorFactory) {
653
654
  console.error(`Column not found or missing comparatorFactory for field '${l}'`), n({ sortedData: f });
654
655
  return;
655
656
  }
@@ -810,7 +811,6 @@ var Ge = new Ve().produce, Ke = /* @__PURE__ */ t(((e, t) => {
810
811
  children: t
811
812
  });
812
813
  }, pt = () => re(dt);
813
- //#endregion
814
814
  export { lt as a, $ as c, ut as i, Ge as l, ft as n, st as o, dt as r, ct as s, pt as t };
815
815
 
816
816
  //# sourceMappingURL=tableStore.js.map