@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
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./rolldown-runtime.js";
2
2
  import { n as t } from "./_setToString.js";
3
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseAssignValue.js
3
+ // ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseAssignValue.js
4
4
  var n = /* @__PURE__ */ e(((e, n) => {
5
5
  var r = t();
6
6
  function i(e, t, n) {
@@ -13,7 +13,6 @@ var n = /* @__PURE__ */ e(((e, n) => {
13
13
  }
14
14
  n.exports = i;
15
15
  }));
16
- //#endregion
17
16
  export { n as t };
18
17
 
19
18
  //# sourceMappingURL=_baseAssignValue.js.map
@@ -2,7 +2,7 @@ import { t as e } from "./rolldown-runtime.js";
2
2
  import { i as t } from "./isObject.js";
3
3
  import { r as n } from "./isArrayLike.js";
4
4
  import { S as r, x as i } from "./_baseGet.js";
5
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isFlattenable.js
5
+ // ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isFlattenable.js
6
6
  var a = /* @__PURE__ */ e(((e, r) => {
7
7
  var a = t(), o = i(), s = n(), c = a ? a.isConcatSpreadable : void 0;
8
8
  function l(e) {
@@ -21,7 +21,6 @@ var a = /* @__PURE__ */ e(((e, r) => {
21
21
  }
22
22
  t.exports = o;
23
23
  }));
24
- //#endregion
25
24
  export { o as t };
26
25
 
27
26
  //# sourceMappingURL=_baseFlatten.js.map
@@ -2,7 +2,7 @@ import { t as e } from "./rolldown-runtime.js";
2
2
  import { a as t, i as n, n as r, o as i, r as a } from "./isObject.js";
3
3
  import { t as o } from "./isSymbol.js";
4
4
  import { a as s, c, d as l, i as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./isArrayLike.js";
5
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arrayPush.js
5
+ // ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arrayPush.js
6
6
  var _ = /* @__PURE__ */ e(((e, t) => {
7
7
  function n(e, t) {
8
8
  for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
@@ -274,7 +274,6 @@ var _ = /* @__PURE__ */ e(((e, t) => {
274
274
  }
275
275
  t.exports = i;
276
276
  }));
277
- //#endregion
278
277
  export { _ as S, k as _, Y as a, T as b, U as c, R as d, L as f, A as g, N as h, X as i, B as l, P as m, $ as n, q as o, I as p, Q as r, W as s, ie as t, z as u, D as v, y as x, E as y };
279
278
 
280
279
  //# sourceMappingURL=_baseGet.js.map
@@ -3,7 +3,7 @@ import { i as t, n, t as r } from "./isObject.js";
3
3
  import { f as i, l as a, n as o, r as s } from "./isArrayLike.js";
4
4
  import { i as c, t as l } from "./_cacheHas.js";
5
5
  import { a as u, b as d, c as f, f as p, h as m, i as h, m as g, n as _, r as v, s as y, t as b, x, y as S } from "./_baseGet.js";
6
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arraySome.js
6
+ // ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arraySome.js
7
7
  var C = /* @__PURE__ */ e(((e, t) => {
8
8
  function n(e, t) {
9
9
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
@@ -268,7 +268,6 @@ var C = /* @__PURE__ */ e(((e, t) => {
268
268
  }
269
269
  t.exports = l;
270
270
  }));
271
- //#endregion
272
271
  export { E as n, W as t };
273
272
 
274
273
  //# sourceMappingURL=_baseIteratee.js.map
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime.js";
2
2
  import { n as t, r as n, t as r } from "./_baseGet.js";
3
3
  import { t as i } from "./last.js";
4
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseSlice.js
4
+ // ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseSlice.js
5
5
  var a = /* @__PURE__ */ e(((e, t) => {
6
6
  function n(e, t, n) {
7
7
  var r = -1, i = e.length;
@@ -31,7 +31,6 @@ var a = /* @__PURE__ */ e(((e, t) => {
31
31
  }
32
32
  r.exports = d;
33
33
  }));
34
- //#endregion
35
34
  export { s as t };
36
35
 
37
36
  //# sourceMappingURL=_baseUnset.js.map
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./rolldown-runtime.js";
2
2
  import { o as t } from "./isArrayLike.js";
3
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_setCacheAdd.js
3
+ // ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_setCacheAdd.js
4
4
  var n = /* @__PURE__ */ e(((e, t) => {
5
5
  function n(e) {
6
6
  return this.__data__.set(e, "__lodash_hash_undefined__"), this;
@@ -59,7 +59,6 @@ var n = /* @__PURE__ */ e(((e, t) => {
59
59
  }
60
60
  t.exports = n;
61
61
  }));
62
- //#endregion
63
62
  export { i, u as n, l as r, d as t };
64
63
 
65
64
  //# sourceMappingURL=_cacheHas.js.map
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./rolldown-runtime.js";
2
2
  import { f as t, u as n } from "./isArrayLike.js";
3
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_apply.js
3
+ // ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_apply.js
4
4
  var r = /* @__PURE__ */ e(((e, t) => {
5
5
  function n(e, t, n) {
6
6
  switch (n.length) {
@@ -65,7 +65,6 @@ var r = /* @__PURE__ */ e(((e, t) => {
65
65
  var n = s();
66
66
  t.exports = c()(n);
67
67
  }));
68
- //#endregion
69
68
  export { o as n, i as r, l as t };
70
69
 
71
70
  //# sourceMappingURL=_setToString.js.map
@@ -1,9 +1,8 @@
1
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
1
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/decorate.js
2
2
  function e(e, t, n, r) {
3
3
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
4
4
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
5
5
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
6
6
  return i > 3 && a && Object.defineProperty(t, n, a), a;
7
7
  }
8
- //#endregion
9
8
  export { e as t };
@@ -1,8 +1,7 @@
1
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
1
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/decorateParam.js
2
2
  function e(e, t) {
3
3
  return function(n, r) {
4
4
  t(n, r, e);
5
5
  };
6
6
  }
7
- //#endregion
8
7
  export { e as t };
@@ -1,25 +1,22 @@
1
1
  import { n as e, o as t, r as n, t as r } from "./toDate.js";
2
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
2
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
3
3
  var i = {};
4
4
  function a() {
5
5
  return i;
6
6
  }
7
- //#endregion
8
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
7
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
9
8
  function o(e, t) {
10
9
  let n = a(), i = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = r(e, t?.in), s = o.getDay(), c = (s < i ? 7 : 0) + s - i;
11
10
  return o.setDate(o.getDate() - c), o.setHours(0, 0, 0, 0), o;
12
11
  }
13
- //#endregion
14
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js
12
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js
15
13
  function s(e, t) {
16
14
  return o(e, {
17
15
  ...t,
18
16
  weekStartsOn: 1
19
17
  });
20
18
  }
21
- //#endregion
22
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
19
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
23
20
  function c(t, n) {
24
21
  let i = r(t, n?.in), a = i.getFullYear(), o = e(i, 0);
25
22
  o.setFullYear(a + 1, 0, 4), o.setHours(0, 0, 0, 0);
@@ -28,54 +25,45 @@ function c(t, n) {
28
25
  let u = s(l);
29
26
  return i.getTime() >= c.getTime() ? a + 1 : i.getTime() >= u.getTime() ? a : a - 1;
30
27
  }
31
- //#endregion
32
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
28
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
33
29
  function l(e) {
34
30
  let t = r(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
35
31
  return n.setUTCFullYear(t.getFullYear()), +e - n;
36
32
  }
37
- //#endregion
38
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
33
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
39
34
  function u(t, ...n) {
40
35
  let r = e.bind(null, t || n.find((e) => typeof e == "object"));
41
36
  return n.map(r);
42
37
  }
43
- //#endregion
44
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
38
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
45
39
  function d(e, t) {
46
40
  let n = r(e, t?.in);
47
41
  return n.setHours(0, 0, 0, 0), n;
48
42
  }
49
- //#endregion
50
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
43
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
51
44
  function f(e, t, r) {
52
45
  let [i, a] = u(r?.in, e, t), o = d(i), s = d(a), c = +o - l(o), f = +s - l(s);
53
46
  return Math.round((c - f) / n);
54
47
  }
55
- //#endregion
56
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
48
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
57
49
  function p(t, n) {
58
50
  let r = c(t, n), i = e(n?.in || t, 0);
59
51
  return i.setFullYear(r, 0, 4), i.setHours(0, 0, 0, 0), s(i);
60
52
  }
61
- //#endregion
62
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
53
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
63
54
  function m(e) {
64
55
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
65
56
  }
66
- //#endregion
67
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
57
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
68
58
  function h(e) {
69
59
  return !(!m(e) && typeof e != "number" || isNaN(+r(e)));
70
60
  }
71
- //#endregion
72
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
61
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
73
62
  function g(e, t) {
74
63
  let n = r(e, t?.in);
75
64
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
76
65
  }
77
- //#endregion
78
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
66
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
79
67
  var _ = {
80
68
  lessThanXSeconds: {
81
69
  one: "less than a second",
@@ -142,8 +130,7 @@ var _ = {
142
130
  let r, i = _[e];
143
131
  return r = typeof i == "string" ? i : t === 1 ? i.one : i.other.replace("{{count}}", t.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
144
132
  };
145
- //#endregion
146
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
133
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
147
134
  function y(e) {
148
135
  return (t = {}) => {
149
136
  let n = t.width ? String(t.width) : e.defaultWidth;
@@ -186,8 +173,7 @@ var b = {
186
173
  nextWeek: "eeee 'at' p",
187
174
  other: "P"
188
175
  }, S = (e, t, n, r) => x[e];
189
- //#endregion
190
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
176
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
191
177
  function C(e) {
192
178
  return (t, n) => {
193
179
  let r = n?.context ? String(n.context) : "standalone", i;
@@ -401,8 +387,7 @@ var w = {
401
387
  defaultFormattingWidth: "wide"
402
388
  })
403
389
  };
404
- //#endregion
405
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
390
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
406
391
  function T(e) {
407
392
  return (t, n = {}) => {
408
393
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
@@ -422,8 +407,7 @@ function E(e, t) {
422
407
  function D(e, t) {
423
408
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
424
409
  }
425
- //#endregion
426
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
410
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
427
411
  function O(e) {
428
412
  return (t, n = {}) => {
429
413
  let r = t.match(e.matchPattern);
@@ -439,8 +423,7 @@ function O(e) {
439
423
  };
440
424
  };
441
425
  }
442
- //#endregion
443
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js
426
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js
444
427
  var k = {
445
428
  code: "en-US",
446
429
  formatDistance: v,
@@ -572,20 +555,17 @@ var k = {
572
555
  firstWeekContainsDate: 1
573
556
  }
574
557
  };
575
- //#endregion
576
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
558
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
577
559
  function A(e, t) {
578
560
  let n = r(e, t?.in);
579
561
  return f(n, g(n)) + 1;
580
562
  }
581
- //#endregion
582
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
563
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
583
564
  function j(e, n) {
584
565
  let i = r(e, n?.in), a = +s(i) - p(i);
585
566
  return Math.round(a / t) + 1;
586
567
  }
587
- //#endregion
588
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js
568
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js
589
569
  function M(t, n) {
590
570
  let i = r(t, n?.in), s = i.getFullYear(), c = a(), l = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? c.firstWeekContainsDate ?? c.locale?.options?.firstWeekContainsDate ?? 1, u = e(n?.in || t, 0);
591
571
  u.setFullYear(s + 1, 0, l), u.setHours(0, 0, 0, 0);
@@ -594,25 +574,21 @@ function M(t, n) {
594
574
  let p = o(f, n);
595
575
  return +i >= +d ? s + 1 : +i >= +p ? s : s - 1;
596
576
  }
597
- //#endregion
598
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js
577
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js
599
578
  function N(t, n) {
600
579
  let r = a(), i = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, s = M(t, n), c = e(n?.in || t, 0);
601
580
  return c.setFullYear(s, 0, i), c.setHours(0, 0, 0, 0), o(c, n);
602
581
  }
603
- //#endregion
604
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js
582
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js
605
583
  function P(e, n) {
606
584
  let i = r(e, n?.in), a = +o(i, n) - N(i, n);
607
585
  return Math.round(a / t) + 1;
608
586
  }
609
- //#endregion
610
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js
587
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js
611
588
  function F(e, t) {
612
589
  return (e < 0 ? "-" : "") + Math.abs(e).toString().padStart(t, "0");
613
590
  }
614
- //#endregion
615
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js
591
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js
616
592
  var I = {
617
593
  y(e, t) {
618
594
  let n = e.getFullYear(), r = n > 0 ? n : 1 - n;
@@ -1023,8 +999,7 @@ function V(e, t = "") {
1023
999
  let n = e > 0 ? "-" : "+", r = Math.abs(e), i = F(Math.trunc(r / 60), 2), a = F(r % 60, 2);
1024
1000
  return n + i + t + a;
1025
1001
  }
1026
- //#endregion
1027
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js
1002
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js
1028
1003
  var H = (e, t) => {
1029
1004
  switch (e) {
1030
1005
  case "P": return t.date({ width: "short" });
@@ -1079,8 +1054,7 @@ function Z(e, t, n) {
1079
1054
  let r = e[0] === "Y" ? "years" : "days of the month";
1080
1055
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1081
1056
  }
1082
- //#endregion
1083
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
1057
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
1084
1058
  var Q = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, $ = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ee = /^'([^]*?)'?$/, te = /''/g, ne = /[a-zA-Z]/;
1085
1059
  function re(e, t, n) {
1086
1060
  let i = a(), o = n?.locale ?? i.locale ?? k, s = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, c = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0, l = r(e, n?.in);
@@ -1130,7 +1104,6 @@ function ie(e) {
1130
1104
  let t = e.match(ee);
1131
1105
  return t ? t[1].replace(te, "'") : e;
1132
1106
  }
1133
- //#endregion
1134
1107
  export { h as n, m as r, re as t };
1135
1108
 
1136
1109
  //# sourceMappingURL=format.js.map