@northern.tech/store 0.41.0 → 0.41.2

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 (168) hide show
  1. package/dist/actions.d.cts +6 -6
  2. package/dist/actions.d.ts +6 -6
  3. package/dist/api/general-api.cjs +1 -1
  4. package/dist/api/general-api.js +1 -1
  5. package/dist/appSlice/index.d.cts +1 -1
  6. package/dist/appSlice/index.d.ts +1 -1
  7. package/dist/appSlice/index.js +1 -1
  8. package/dist/appSlice/mocks.d.cts +1 -1
  9. package/dist/appSlice/mocks.d.ts +1 -1
  10. package/dist/appSlice/selectors.d.cts +7 -7
  11. package/dist/appSlice/selectors.d.ts +7 -7
  12. package/dist/appSlice/thunks.d.cts +2 -2
  13. package/dist/appSlice/thunks.d.ts +2 -2
  14. package/dist/auth.cjs +1 -1
  15. package/dist/auth.d.cts +1 -1
  16. package/dist/auth.d.ts +1 -1
  17. package/dist/auth.js +1 -1
  18. package/dist/commonConstants.cjs +3 -1
  19. package/dist/commonConstants.d.cts +2 -2
  20. package/dist/commonConstants.d.ts +2 -2
  21. package/dist/commonConstants.js +2 -2
  22. package/dist/commonSelectors.cjs +18 -12
  23. package/dist/commonSelectors.cjs.map +1 -1
  24. package/dist/commonSelectors.d.cts +9 -9
  25. package/dist/commonSelectors.d.ts +9 -9
  26. package/dist/commonSelectors.js +19 -13
  27. package/dist/commonSelectors.js.map +1 -1
  28. package/dist/{constants-CNZ5L0A0.cjs → constants-C_SC_VKE.cjs} +18 -1
  29. package/dist/constants-C_SC_VKE.cjs.map +1 -0
  30. package/dist/{constants-OcdoVk6f.d.ts → constants-CzjK2gV-.d.ts} +7 -2
  31. package/dist/{constants-_p6w8uEp.d.cts → constants-DAi2zOZN.d.cts} +7 -2
  32. package/dist/{constants-Cj2kp3Iy.js → constants-xpheFFkA.js} +7 -2
  33. package/dist/constants-xpheFFkA.js.map +1 -0
  34. package/dist/constants.cjs +3 -1
  35. package/dist/constants.d.cts +2 -2
  36. package/dist/constants.d.ts +2 -2
  37. package/dist/constants.js +2 -2
  38. package/dist/deploymentsSlice/constants.cjs +1 -1
  39. package/dist/deploymentsSlice/constants.js +1 -1
  40. package/dist/deploymentsSlice/index.cjs +1 -1
  41. package/dist/deploymentsSlice/index.js +1 -1
  42. package/dist/deploymentsSlice/selectors.cjs +1 -1
  43. package/dist/deploymentsSlice/selectors.d.cts +7 -7
  44. package/dist/deploymentsSlice/selectors.d.ts +7 -7
  45. package/dist/deploymentsSlice/selectors.js +1 -1
  46. package/dist/deploymentsSlice/thunks.d.cts +4 -4
  47. package/dist/deploymentsSlice/thunks.d.ts +4 -4
  48. package/dist/devicesSlice/constants.cjs +1 -1
  49. package/dist/devicesSlice/constants.d.cts +1 -1
  50. package/dist/devicesSlice/constants.d.ts +1 -1
  51. package/dist/devicesSlice/constants.js +1 -1
  52. package/dist/devicesSlice/index.d.cts +1 -1
  53. package/dist/devicesSlice/index.d.ts +1 -1
  54. package/dist/devicesSlice/index.js +1 -1
  55. package/dist/devicesSlice/mocks.js +1 -1
  56. package/dist/devicesSlice/selectors.cjs +1 -1
  57. package/dist/devicesSlice/selectors.d.cts +7 -7
  58. package/dist/devicesSlice/selectors.d.ts +7 -7
  59. package/dist/devicesSlice/selectors.js +1 -1
  60. package/dist/devicesSlice/thunks.d.cts +4 -4
  61. package/dist/devicesSlice/thunks.d.ts +4 -4
  62. package/dist/{index-Cf81vLTi.d.ts → index-BCErsO5h.d.ts} +2 -2
  63. package/dist/{index-5Q-iI4EB.d.cts → index-BQCnJ5gh.d.cts} +2 -2
  64. package/dist/{index-BqJuhvO_.d.ts → index-BtGhTFBc.d.ts} +2 -2
  65. package/dist/{index-ByfjrTdH.d.ts → index-C5oQrJGU.d.ts} +2 -2
  66. package/dist/{index-Bj3OArhr.d.cts → index-CSOj22xK.d.cts} +2 -2
  67. package/dist/{index-CSk4ENmk.d.cts → index-CgPgKMve.d.cts} +2 -2
  68. package/dist/{index-BLvjQfGj.d.ts → index-CnH51JfB.d.ts} +2 -2
  69. package/dist/{index-C8QadAm7.d.cts → index-Dn1SqQYh.d.cts} +2 -2
  70. package/dist/{index-BBsUj1a8.d.ts → index-H9zg_3UV.d.ts} +2 -2
  71. package/dist/{index-Zs9RnVoR.d.cts → index-VEayiYkv.d.cts} +2 -2
  72. package/dist/{index-DLDY7bNT.d.ts → index-m1c0qk2s.d.ts} +2 -2
  73. package/dist/{index-Doc_1P_Y.d.cts → index-vXsWdis1.d.cts} +2 -2
  74. package/dist/locationutils.cjs +29 -37
  75. package/dist/locationutils.cjs.map +1 -1
  76. package/dist/locationutils.d.cts +2 -2
  77. package/dist/locationutils.d.ts +2 -2
  78. package/dist/locationutils.js +29 -37
  79. package/dist/locationutils.js.map +1 -1
  80. package/dist/monitorSlice/constants.d.cts +1 -1
  81. package/dist/monitorSlice/constants.d.ts +1 -1
  82. package/dist/monitorSlice/index.d.cts +1 -1
  83. package/dist/monitorSlice/index.d.ts +1 -1
  84. package/dist/monitorSlice/index.js +1 -1
  85. package/dist/monitorSlice/mocks.d.cts +1 -1
  86. package/dist/monitorSlice/mocks.d.ts +1 -1
  87. package/dist/monitorSlice/mocks.js +1 -1
  88. package/dist/monitorSlice/selectors.d.cts +1 -1
  89. package/dist/monitorSlice/selectors.d.ts +1 -1
  90. package/dist/monitorSlice/thunks.cjs +1 -1
  91. package/dist/monitorSlice/thunks.d.cts +4 -4
  92. package/dist/monitorSlice/thunks.d.ts +4 -4
  93. package/dist/monitorSlice/thunks.js +1 -1
  94. package/dist/onboardingSlice/selectors.d.cts +1 -1
  95. package/dist/onboardingSlice/selectors.d.ts +1 -1
  96. package/dist/onboardingSlice/thunks.d.cts +2 -2
  97. package/dist/onboardingSlice/thunks.d.ts +2 -2
  98. package/dist/organizationSlice/constants.cjs +1 -1
  99. package/dist/organizationSlice/constants.js +1 -1
  100. package/dist/organizationSlice/index.cjs +1 -1
  101. package/dist/organizationSlice/index.d.cts +1 -1
  102. package/dist/organizationSlice/index.d.ts +1 -1
  103. package/dist/organizationSlice/index.js +1 -1
  104. package/dist/organizationSlice/mocks.d.cts +1 -1
  105. package/dist/organizationSlice/mocks.d.ts +1 -1
  106. package/dist/organizationSlice/mocks.js +1 -1
  107. package/dist/organizationSlice/selectors.cjs +1 -1
  108. package/dist/organizationSlice/selectors.d.cts +8 -8
  109. package/dist/organizationSlice/selectors.d.ts +8 -8
  110. package/dist/organizationSlice/selectors.js +1 -1
  111. package/dist/organizationSlice/thunks.d.cts +4 -4
  112. package/dist/organizationSlice/thunks.d.ts +4 -4
  113. package/dist/organizationSlice/types.d.cts +1 -1
  114. package/dist/organizationSlice/types.d.ts +1 -1
  115. package/dist/releasesSlice/index.d.cts +1 -1
  116. package/dist/releasesSlice/index.d.ts +1 -1
  117. package/dist/releasesSlice/index.js +1 -1
  118. package/dist/releasesSlice/mocks.js +1 -1
  119. package/dist/releasesSlice/selectors.d.cts +7 -7
  120. package/dist/releasesSlice/selectors.d.ts +7 -7
  121. package/dist/releasesSlice/thunks.cjs +1 -1
  122. package/dist/releasesSlice/thunks.d.cts +4 -4
  123. package/dist/releasesSlice/thunks.d.ts +4 -4
  124. package/dist/releasesSlice/thunks.js +1 -1
  125. package/dist/sockethook.cjs +8 -6
  126. package/dist/sockethook.cjs.map +1 -1
  127. package/dist/sockethook.js +8 -5
  128. package/dist/sockethook.js.map +1 -1
  129. package/dist/{store-B5-0USDz.d.cts → store-CGP5pCH8.d.cts} +18 -10
  130. package/dist/{store-CmiiLjxd.d.ts → store-CkgokFlk.d.ts} +18 -10
  131. package/dist/store.cjs +1 -1
  132. package/dist/store.d.cts +1 -1
  133. package/dist/store.d.ts +1 -1
  134. package/dist/store.js +1 -1
  135. package/dist/storehooks.cjs +1 -1
  136. package/dist/storehooks.d.cts +2 -2
  137. package/dist/storehooks.d.ts +2 -2
  138. package/dist/storehooks.js +1 -1
  139. package/dist/thunks.cjs +7 -2
  140. package/dist/thunks.cjs.map +1 -1
  141. package/dist/thunks.js +7 -2
  142. package/dist/thunks.js.map +1 -1
  143. package/dist/{types-BjtmX60L.d.ts → types-uHmaedGU.d.ts} +2 -2
  144. package/dist/{types-B33vKVhi.d.cts → types-yQ0ypHMZ.d.cts} +2 -2
  145. package/dist/usersSlice/constants.cjs +1 -1
  146. package/dist/usersSlice/constants.js +1 -1
  147. package/dist/usersSlice/index.cjs +1 -1
  148. package/dist/usersSlice/index.d.cts +1 -1
  149. package/dist/usersSlice/index.d.ts +1 -1
  150. package/dist/usersSlice/index.js +1 -1
  151. package/dist/usersSlice/mocks.d.cts +1 -1
  152. package/dist/usersSlice/mocks.d.ts +1 -1
  153. package/dist/usersSlice/mocks.js +1 -1
  154. package/dist/usersSlice/selectors.cjs +1 -1
  155. package/dist/usersSlice/selectors.d.cts +7 -7
  156. package/dist/usersSlice/selectors.d.ts +7 -7
  157. package/dist/usersSlice/selectors.js +1 -1
  158. package/dist/usersSlice/thunks.d.cts +4 -4
  159. package/dist/usersSlice/thunks.d.ts +4 -4
  160. package/dist/utils.cjs +9 -1
  161. package/dist/utils.cjs.map +1 -1
  162. package/dist/utils.d.cts +2 -2
  163. package/dist/utils.d.ts +2 -2
  164. package/dist/utils.js +8 -2
  165. package/dist/utils.js.map +1 -1
  166. package/package.json +2 -2
  167. package/dist/constants-CNZ5L0A0.cjs.map +0 -1
  168. package/dist/constants-Cj2kp3Iy.js.map +0 -1
@@ -1,12 +1,12 @@
1
- import { o as UserSliceType } from "../index-Cf81vLTi.js";
2
- import { i as ReleaseSliceType } from "../index-DLDY7bNT.js";
1
+ import { o as UserSliceType } from "../index-BCErsO5h.js";
2
+ import { i as ReleaseSliceType } from "../index-m1c0qk2s.js";
3
3
  import { n as OnboardingSliceType } from "../index-DBUt8xVc.js";
4
4
  import { l as SelectionState, n as DeploymentByStatus, o as DeploymentsSliceType, t as Deployment } from "../index-Bb4yvvgG.js";
5
- import { s as DeviceSliceType } from "../index-BqJuhvO_.js";
6
- import { t as AppSliceType } from "../index-BLvjQfGj.js";
7
- import { t as MonitorSliceType } from "../index-ByfjrTdH.js";
8
- import { t as OrganizationSliceType } from "../index-BBsUj1a8.js";
9
- import { r as RootState } from "../store-CmiiLjxd.js";
5
+ import { s as DeviceSliceType } from "../index-BtGhTFBc.js";
6
+ import { t as AppSliceType } from "../index-CnH51JfB.js";
7
+ import { t as MonitorSliceType } from "../index-C5oQrJGU.js";
8
+ import { t as OrganizationSliceType } from "../index-H9zg_3UV.js";
9
+ import { r as RootState } from "../store-CkgokFlk.js";
10
10
 
11
11
  //#region src/deploymentsSlice/selectors.d.ts
12
12
  declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
@@ -1,4 +1,4 @@
1
- import { gt as DEPLOYMENT_STATES } from "../constants-Cj2kp3Iy.js";
1
+ import { gt as DEPLOYMENT_STATES } from "../constants-xpheFFkA.js";
2
2
  import { createSelector } from "@reduxjs/toolkit";
3
3
  //#region src/deploymentsSlice/selectors.ts
4
4
  const getDeploymentsById = (state) => state.deployments.byId;
@@ -1,8 +1,8 @@
1
- import { T as SortOptions } from "../constants-_p6w8uEp.cjs";
1
+ import { T as SortOptions } from "../constants-DAi2zOZN.cjs";
2
2
  import { c as SelectionListState, i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "../index-EPmsL6Lb.cjs";
3
- import { t as Device$1 } from "../index-Doc_1P_Y.cjs";
4
- import { i as SnackbarContent } from "../index-C8QadAm7.cjs";
5
- import { r as RootState, t as AppDispatch } from "../store-B5-0USDz.cjs";
3
+ import { t as Device$1 } from "../index-vXsWdis1.cjs";
4
+ import { i as SnackbarContent } from "../index-Dn1SqQYh.cjs";
5
+ import { r as RootState, t as AppDispatch } from "../store-CGP5pCH8.cjs";
6
6
  import { DeploymentV1, DeploymentV2, NewDeploymentForGroup, NewDeploymentTypeManagement, NewDeploymentV2TypeManagement } from "@northern.tech/types/MenderTypes";
7
7
 
8
8
  //#region src/deploymentsSlice/thunks.d.ts
@@ -1,8 +1,8 @@
1
- import { T as SortOptions } from "../constants-OcdoVk6f.js";
1
+ import { T as SortOptions } from "../constants-CzjK2gV-.js";
2
2
  import { c as SelectionListState, i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "../index-Bb4yvvgG.js";
3
- import { t as Device$1 } from "../index-BqJuhvO_.js";
4
- import { i as SnackbarContent } from "../index-BLvjQfGj.js";
5
- import { r as RootState, t as AppDispatch } from "../store-CmiiLjxd.js";
3
+ import { t as Device$1 } from "../index-BtGhTFBc.js";
4
+ import { i as SnackbarContent } from "../index-CnH51JfB.js";
5
+ import { r as RootState, t as AppDispatch } from "../store-CkgokFlk.js";
6
6
  import { DeploymentV1, DeploymentV2, NewDeploymentForGroup, NewDeploymentTypeManagement, NewDeploymentV2TypeManagement } from "@northern.tech/types/MenderTypes";
7
7
 
8
8
  //#region src/deploymentsSlice/thunks.d.ts
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_constants = require("../constants-CNZ5L0A0.cjs");
2
+ const require_constants = require("../constants-C_SC_VKE.cjs");
3
3
  exports.DEVICE_CONNECT_STATES = require_constants.DEVICE_CONNECT_STATES;
4
4
  exports.DEVICE_DISMISSAL_STATE = require_constants.DEVICE_DISMISSAL_STATE;
5
5
  exports.DEVICE_MESSAGE_PROTOCOLS = require_constants.DEVICE_MESSAGE_PROTOCOLS;
@@ -1,2 +1,2 @@
1
- import { _t as geoAttributes, dt as DEVICE_DISMISSAL_STATE, ft as DEVICE_MESSAGE_PROTOCOLS, gt as emptyFilter, ht as REPORT_CHART_SIZE_LIMIT, mt as DeviceAuthState, pt as DEVICE_MESSAGE_TYPES, ut as DEVICE_CONNECT_STATES } from "../constants-_p6w8uEp.cjs";
1
+ import { _t as geoAttributes, dt as DEVICE_DISMISSAL_STATE, ft as DEVICE_MESSAGE_PROTOCOLS, gt as emptyFilter, ht as REPORT_CHART_SIZE_LIMIT, mt as DeviceAuthState, pt as DEVICE_MESSAGE_TYPES, ut as DEVICE_CONNECT_STATES } from "../constants-DAi2zOZN.cjs";
2
2
  export { DEVICE_CONNECT_STATES, DEVICE_DISMISSAL_STATE, DEVICE_MESSAGE_PROTOCOLS, DEVICE_MESSAGE_TYPES, DeviceAuthState, REPORT_CHART_SIZE_LIMIT, emptyFilter, geoAttributes };
@@ -1,2 +1,2 @@
1
- import { _t as geoAttributes, dt as DEVICE_DISMISSAL_STATE, ft as DEVICE_MESSAGE_PROTOCOLS, gt as emptyFilter, ht as REPORT_CHART_SIZE_LIMIT, mt as DeviceAuthState, pt as DEVICE_MESSAGE_TYPES, ut as DEVICE_CONNECT_STATES } from "../constants-OcdoVk6f.js";
1
+ import { _t as geoAttributes, dt as DEVICE_DISMISSAL_STATE, ft as DEVICE_MESSAGE_PROTOCOLS, gt as emptyFilter, ht as REPORT_CHART_SIZE_LIMIT, mt as DeviceAuthState, pt as DEVICE_MESSAGE_TYPES, ut as DEVICE_CONNECT_STATES } from "../constants-CzjK2gV-.js";
2
2
  export { DEVICE_CONNECT_STATES, DEVICE_DISMISSAL_STATE, DEVICE_MESSAGE_PROTOCOLS, DEVICE_MESSAGE_TYPES, DeviceAuthState, REPORT_CHART_SIZE_LIMIT, emptyFilter, geoAttributes };
@@ -1,2 +1,2 @@
1
- import { ct as DEVICE_DISMISSAL_STATE, dt as REPORT_CHART_SIZE_LIMIT, ft as emptyFilter, lt as DEVICE_MESSAGE_PROTOCOLS, pt as geoAttributes, st as DEVICE_CONNECT_STATES, ut as DEVICE_MESSAGE_TYPES } from "../constants-Cj2kp3Iy.js";
1
+ import { ct as DEVICE_DISMISSAL_STATE, dt as REPORT_CHART_SIZE_LIMIT, ft as emptyFilter, lt as DEVICE_MESSAGE_PROTOCOLS, pt as geoAttributes, st as DEVICE_CONNECT_STATES, ut as DEVICE_MESSAGE_TYPES } from "../constants-xpheFFkA.js";
2
2
  export { DEVICE_CONNECT_STATES, DEVICE_DISMISSAL_STATE, DEVICE_MESSAGE_PROTOCOLS, DEVICE_MESSAGE_TYPES, REPORT_CHART_SIZE_LIMIT, emptyFilter, geoAttributes };
@@ -1,2 +1,2 @@
1
- import { a as DeviceListState, c as InventoryAttributes, d as devicesSlice, f as initialState, i as DeviceGroups, l as _default, n as DeviceFilter, o as DeviceSelectedAttribute, p as sliceName, r as DeviceGroup, s as DeviceSliceType, t as Device, u as actions } from "../index-Doc_1P_Y.cjs";
1
+ import { a as DeviceListState, c as InventoryAttributes, d as devicesSlice, f as initialState, i as DeviceGroups, l as _default, n as DeviceFilter, o as DeviceSelectedAttribute, p as sliceName, r as DeviceGroup, s as DeviceSliceType, t as Device, u as actions } from "../index-vXsWdis1.cjs";
2
2
  export { Device, DeviceFilter, DeviceGroup, DeviceGroups, DeviceListState, DeviceSelectedAttribute, DeviceSliceType, InventoryAttributes, actions, _default as default, devicesSlice, initialState, sliceName };
@@ -1,2 +1,2 @@
1
- import { a as DeviceListState, c as InventoryAttributes, d as devicesSlice, f as initialState, i as DeviceGroups, l as _default, n as DeviceFilter, o as DeviceSelectedAttribute, p as sliceName, r as DeviceGroup, s as DeviceSliceType, t as Device, u as actions } from "../index-BqJuhvO_.js";
1
+ import { a as DeviceListState, c as InventoryAttributes, d as devicesSlice, f as initialState, i as DeviceGroups, l as _default, n as DeviceFilter, o as DeviceSelectedAttribute, p as sliceName, r as DeviceGroup, s as DeviceSliceType, t as Device, u as actions } from "../index-BtGhTFBc.js";
2
2
  export { Device, DeviceFilter, DeviceGroup, DeviceGroups, DeviceListState, DeviceSelectedAttribute, DeviceSliceType, InventoryAttributes, actions, _default as default, devicesSlice, initialState, sliceName };
@@ -1,4 +1,4 @@
1
- import { f as SORTING_OPTIONS, l as DEVICE_LIST_DEFAULTS, u as DEVICE_STATES } from "../constants-Cj2kp3Iy.js";
1
+ import { f as SORTING_OPTIONS, l as DEVICE_LIST_DEFAULTS, u as DEVICE_STATES } from "../constants-xpheFFkA.js";
2
2
  import { createSlice } from "@reduxjs/toolkit";
3
3
  import { deepCompare, duplicateFilter } from "@northern.tech/utils/helpers";
4
4
  //#region src/devicesSlice/index.ts
@@ -1,4 +1,4 @@
1
- import { f as SORTING_OPTIONS, u as DEVICE_STATES } from "../constants-Cj2kp3Iy.js";
1
+ import { f as SORTING_OPTIONS, u as DEVICE_STATES } from "../constants-xpheFFkA.js";
2
2
  import { initialState } from "./index.js";
3
3
  //#region src/devicesSlice/mocks.ts
4
4
  const deviceTypes = { qemu: "qemux86-64" };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_constants = require("../constants-CNZ5L0A0.cjs");
2
+ const require_constants = require("../constants-C_SC_VKE.cjs");
3
3
  let _reduxjs_toolkit = require("@reduxjs/toolkit");
4
4
  let _northern_tech_utils_helpers = require("@northern.tech/utils/helpers");
5
5
  let _northern_tech_utils_constants = require("@northern.tech/utils/constants");
@@ -1,12 +1,12 @@
1
- import { o as UserSliceType } from "../index-CSk4ENmk.cjs";
2
- import { i as ReleaseSliceType } from "../index-Zs9RnVoR.cjs";
1
+ import { o as UserSliceType } from "../index-CgPgKMve.cjs";
2
+ import { i as ReleaseSliceType } from "../index-VEayiYkv.cjs";
3
3
  import { n as OnboardingSliceType } from "../index-DBUt8xVc.cjs";
4
4
  import { o as DeploymentsSliceType } from "../index-EPmsL6Lb.cjs";
5
- import { a as DeviceListState, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType, t as Device } from "../index-Doc_1P_Y.cjs";
6
- import { t as AppSliceType } from "../index-C8QadAm7.cjs";
7
- import { t as MonitorSliceType } from "../index-5Q-iI4EB.cjs";
8
- import { t as OrganizationSliceType } from "../index-Bj3OArhr.cjs";
9
- import { r as RootState } from "../store-B5-0USDz.cjs";
5
+ import { a as DeviceListState, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType, t as Device } from "../index-vXsWdis1.cjs";
6
+ import { t as AppSliceType } from "../index-Dn1SqQYh.cjs";
7
+ import { t as MonitorSliceType } from "../index-BQCnJ5gh.cjs";
8
+ import { t as OrganizationSliceType } from "../index-CSOj22xK.cjs";
9
+ import { r as RootState } from "../store-CGP5pCH8.cjs";
10
10
 
11
11
  //#region src/devicesSlice/selectors.d.ts
12
12
  declare const getAcceptedDevices: (state: RootState) => {
@@ -1,12 +1,12 @@
1
- import { o as UserSliceType } from "../index-Cf81vLTi.js";
2
- import { i as ReleaseSliceType } from "../index-DLDY7bNT.js";
1
+ import { o as UserSliceType } from "../index-BCErsO5h.js";
2
+ import { i as ReleaseSliceType } from "../index-m1c0qk2s.js";
3
3
  import { n as OnboardingSliceType } from "../index-DBUt8xVc.js";
4
4
  import { o as DeploymentsSliceType } from "../index-Bb4yvvgG.js";
5
- import { a as DeviceListState, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType, t as Device } from "../index-BqJuhvO_.js";
6
- import { t as AppSliceType } from "../index-BLvjQfGj.js";
7
- import { t as MonitorSliceType } from "../index-ByfjrTdH.js";
8
- import { t as OrganizationSliceType } from "../index-BBsUj1a8.js";
9
- import { r as RootState } from "../store-CmiiLjxd.js";
5
+ import { a as DeviceListState, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType, t as Device } from "../index-BtGhTFBc.js";
6
+ import { t as AppSliceType } from "../index-CnH51JfB.js";
7
+ import { t as MonitorSliceType } from "../index-C5oQrJGU.js";
8
+ import { t as OrganizationSliceType } from "../index-H9zg_3UV.js";
9
+ import { r as RootState } from "../store-CkgokFlk.js";
10
10
 
11
11
  //#region src/devicesSlice/selectors.d.ts
12
12
  declare const getAcceptedDevices: (state: RootState) => {
@@ -1,4 +1,4 @@
1
- import { Mt as UNGROUPED_GROUP, u as DEVICE_STATES } from "../constants-Cj2kp3Iy.js";
1
+ import { Pt as UNGROUPED_GROUP, u as DEVICE_STATES } from "../constants-xpheFFkA.js";
2
2
  import { createSelector } from "@reduxjs/toolkit";
3
3
  import { duplicateFilter } from "@northern.tech/utils/helpers";
4
4
  //#region src/devicesSlice/selectors.ts
@@ -1,7 +1,7 @@
1
- import { m as DeviceIssueOptionKey, mt as DeviceAuthState } from "../constants-_p6w8uEp.cjs";
2
- import { a as DeviceListState, n as DeviceFilter, o as DeviceSelectedAttribute, r as DeviceGroup, t as Device$1 } from "../index-Doc_1P_Y.cjs";
3
- import { i as SnackbarContent, n as SearchState } from "../index-C8QadAm7.cjs";
4
- import { r as RootState, t as AppDispatch } from "../store-B5-0USDz.cjs";
1
+ import { m as DeviceIssueOptionKey, mt as DeviceAuthState } from "../constants-DAi2zOZN.cjs";
2
+ import { a as DeviceListState, n as DeviceFilter, o as DeviceSelectedAttribute, r as DeviceGroup, t as Device$1 } from "../index-vXsWdis1.cjs";
3
+ import { i as SnackbarContent, n as SearchState } from "../index-Dn1SqQYh.cjs";
4
+ import { r as RootState, t as AppDispatch } from "../store-CGP5pCH8.cjs";
5
5
  import { ConnectionState, Device, DeviceConfiguration, DeviceInventoryResponse, DeviceTierLimits, DeviceWithImage, Filter, Integration, ManagementApiConfiguration, NewConfigurationDeployment, PreAuthSet, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
6
6
 
7
7
  //#region src/devicesSlice/thunks.d.ts
@@ -1,7 +1,7 @@
1
- import { m as DeviceIssueOptionKey, mt as DeviceAuthState } from "../constants-OcdoVk6f.js";
2
- import { a as DeviceListState, n as DeviceFilter, o as DeviceSelectedAttribute, r as DeviceGroup, t as Device$1 } from "../index-BqJuhvO_.js";
3
- import { i as SnackbarContent, n as SearchState } from "../index-BLvjQfGj.js";
4
- import { r as RootState, t as AppDispatch } from "../store-CmiiLjxd.js";
1
+ import { m as DeviceIssueOptionKey, mt as DeviceAuthState } from "../constants-CzjK2gV-.js";
2
+ import { a as DeviceListState, n as DeviceFilter, o as DeviceSelectedAttribute, r as DeviceGroup, t as Device$1 } from "../index-BtGhTFBc.js";
3
+ import { i as SnackbarContent, n as SearchState } from "../index-CnH51JfB.js";
4
+ import { r as RootState, t as AppDispatch } from "../store-CkgokFlk.js";
5
5
  import { ConnectionState, Device, DeviceConfiguration, DeviceInventoryResponse, DeviceTierLimits, DeviceWithImage, Filter, Integration, ManagementApiConfiguration, NewConfigurationDeployment, PreAuthSet, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
6
6
 
7
7
  //#region src/devicesSlice/thunks.d.ts
@@ -1,4 +1,4 @@
1
- import { S as Role, v as PermissionSet, xt as FilterOperator } from "./constants-OcdoVk6f.js";
1
+ import { S as Role, St as FilterOperator, v as PermissionSet } from "./constants-CzjK2gV-.js";
2
2
  import { i as ReadState } from "./constants-Sn4gnNA3.js";
3
3
  import { PayloadAction } from "@reduxjs/toolkit";
4
4
  import { DeploymentPhase, TenantInfo, TenantsIdName, User } from "@northern.tech/types/MenderTypes";
@@ -146,4 +146,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
146
146
  declare const _default: import("redux").Reducer<UserSliceType>;
147
147
  //#endregion
148
148
  export { UserSettings as a, actions as c, usersSlice as d, UserSession as i, initialState as l, GlobalSettings as n, UserSliceType as o, User$1 as r, _default as s, CustomColumn as t, sliceName as u };
149
- //# sourceMappingURL=index-Cf81vLTi.d.ts.map
149
+ //# sourceMappingURL=index-BCErsO5h.d.ts.map
@@ -1,4 +1,4 @@
1
- import { lt as AlertChannelKey, m as DeviceIssueOptionKey } from "./constants-_p6w8uEp.cjs";
1
+ import { lt as AlertChannelKey, m as DeviceIssueOptionKey } from "./constants-DAi2zOZN.cjs";
2
2
  import { Alert } from "@northern.tech/types/MenderTypes";
3
3
  import { PayloadAction } from "@reduxjs/toolkit";
4
4
 
@@ -89,4 +89,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
89
89
  declare const _default: import("redux").Reducer<MonitorSliceType>;
90
90
  //#endregion
91
91
  export { monitorSlice as a, initialState as i, _default as n, sliceName as o, actions as r, MonitorSliceType as t };
92
- //# sourceMappingURL=index-5Q-iI4EB.d.cts.map
92
+ //# sourceMappingURL=index-BQCnJ5gh.d.cts.map
@@ -1,4 +1,4 @@
1
- import { T as SortOptions, m as DeviceIssueOptionKey, mt as DeviceAuthState, n as ALL_DEVICE_STATES, xt as FilterOperator } from "./constants-OcdoVk6f.js";
1
+ import { St as FilterOperator, T as SortOptions, m as DeviceIssueOptionKey, mt as DeviceAuthState, n as ALL_DEVICE_STATES } from "./constants-CzjK2gV-.js";
2
2
  import { s as DeviceDeployment } from "./index-Bb4yvvgG.js";
3
3
  import { PayloadAction } from "@reduxjs/toolkit";
4
4
  import { ConnectionState, Device, DeviceConfiguration, DeviceState, DeviceTierLimits, MonitorConfiguration, Scope, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
@@ -202,4 +202,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
202
202
  declare const _default: import("redux").Reducer<DeviceSliceType>;
203
203
  //#endregion
204
204
  export { DeviceListState as a, InventoryAttributes as c, devicesSlice as d, initialState as f, DeviceGroups as i, _default as l, DeviceFilter as n, DeviceSelectedAttribute as o, sliceName as p, DeviceGroup as r, DeviceSliceType as s, Device$1 as t, actions as u };
205
- //# sourceMappingURL=index-BqJuhvO_.d.ts.map
205
+ //# sourceMappingURL=index-BtGhTFBc.d.ts.map
@@ -1,4 +1,4 @@
1
- import { lt as AlertChannelKey, m as DeviceIssueOptionKey } from "./constants-OcdoVk6f.js";
1
+ import { lt as AlertChannelKey, m as DeviceIssueOptionKey } from "./constants-CzjK2gV-.js";
2
2
  import { PayloadAction } from "@reduxjs/toolkit";
3
3
  import { Alert } from "@northern.tech/types/MenderTypes";
4
4
 
@@ -89,4 +89,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
89
89
  declare const _default: import("redux").Reducer<MonitorSliceType>;
90
90
  //#endregion
91
91
  export { monitorSlice as a, initialState as i, _default as n, sliceName as o, actions as r, MonitorSliceType as t };
92
- //# sourceMappingURL=index-ByfjrTdH.d.ts.map
92
+ //# sourceMappingURL=index-C5oQrJGU.d.ts.map
@@ -1,4 +1,4 @@
1
- import { d as TenantList, f as Webhook, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, t as AuditLog$1 } from "./types-B33vKVhi.cjs";
1
+ import { d as TenantList, f as Webhook, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, t as AuditLog$1 } from "./types-yQ0ypHMZ.cjs";
2
2
  import { AuditLog, BillingProfile, Event, Integration } from "@northern.tech/types/MenderTypes";
3
3
  import { PayloadAction } from "@reduxjs/toolkit";
4
4
 
@@ -65,4 +65,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
65
65
  declare const _default: import("redux").Reducer<OrganizationSliceType>;
66
66
  //#endregion
67
67
  export { organizationSlice as a, initialState as i, _default as n, sliceName as o, actions as r, OrganizationSliceType as t };
68
- //# sourceMappingURL=index-Bj3OArhr.d.cts.map
68
+ //# sourceMappingURL=index-CSOj22xK.d.cts.map
@@ -1,4 +1,4 @@
1
- import { S as Role, v as PermissionSet, xt as FilterOperator } from "./constants-_p6w8uEp.cjs";
1
+ import { S as Role, St as FilterOperator, v as PermissionSet } from "./constants-DAi2zOZN.cjs";
2
2
  import { i as ReadState } from "./constants-Sn4gnNA3.cjs";
3
3
  import { DeploymentPhase, TenantInfo, TenantsIdName, User } from "@northern.tech/types/MenderTypes";
4
4
  import { PayloadAction } from "@reduxjs/toolkit";
@@ -146,4 +146,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
146
146
  declare const _default: import("redux").Reducer<UserSliceType>;
147
147
  //#endregion
148
148
  export { UserSettings as a, actions as c, usersSlice as d, UserSession as i, initialState as l, GlobalSettings as n, UserSliceType as o, User$1 as r, _default as s, CustomColumn as t, sliceName as u };
149
- //# sourceMappingURL=index-CSk4ENmk.d.cts.map
149
+ //# sourceMappingURL=index-CgPgKMve.d.cts.map
@@ -1,4 +1,4 @@
1
- import { T as SortOptions } from "./constants-OcdoVk6f.js";
1
+ import { T as SortOptions } from "./constants-CzjK2gV-.js";
2
2
  import { PayloadAction } from "@reduxjs/toolkit";
3
3
  import { SnackbarProps } from "@mui/material";
4
4
 
@@ -116,4 +116,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
116
116
  declare const _default: import("redux").Reducer<AppSliceType>;
117
117
  //#endregion
118
118
  export { Upload as a, appSlice as c, SnackbarContent as i, initialState as l, SearchState as n, _default as o, SentryConfig as r, actions as s, AppSliceType as t, sliceName as u };
119
- //# sourceMappingURL=index-BLvjQfGj.d.ts.map
119
+ //# sourceMappingURL=index-CnH51JfB.d.ts.map
@@ -1,4 +1,4 @@
1
- import { T as SortOptions } from "./constants-_p6w8uEp.cjs";
1
+ import { T as SortOptions } from "./constants-DAi2zOZN.cjs";
2
2
  import { PayloadAction } from "@reduxjs/toolkit";
3
3
  import { SnackbarProps } from "@mui/material";
4
4
 
@@ -116,4 +116,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
116
116
  declare const _default: import("redux").Reducer<AppSliceType>;
117
117
  //#endregion
118
118
  export { Upload as a, appSlice as c, SnackbarContent as i, initialState as l, SearchState as n, _default as o, SentryConfig as r, actions as s, AppSliceType as t, sliceName as u };
119
- //# sourceMappingURL=index-C8QadAm7.d.cts.map
119
+ //# sourceMappingURL=index-Dn1SqQYh.d.cts.map
@@ -1,4 +1,4 @@
1
- import { d as TenantList, f as Webhook, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, t as AuditLog$1 } from "./types-BjtmX60L.js";
1
+ import { d as TenantList, f as Webhook, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, t as AuditLog$1 } from "./types-uHmaedGU.js";
2
2
  import { PayloadAction } from "@reduxjs/toolkit";
3
3
  import { AuditLog, BillingProfile, Event, Integration } from "@northern.tech/types/MenderTypes";
4
4
 
@@ -65,4 +65,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
65
65
  declare const _default: import("redux").Reducer<OrganizationSliceType>;
66
66
  //#endregion
67
67
  export { organizationSlice as a, initialState as i, _default as n, sliceName as o, actions as r, OrganizationSliceType as t };
68
- //# sourceMappingURL=index-BBsUj1a8.d.ts.map
68
+ //# sourceMappingURL=index-H9zg_3UV.d.ts.map
@@ -1,4 +1,4 @@
1
- import { T as SortOptions } from "./constants-_p6w8uEp.cjs";
1
+ import { T as SortOptions } from "./constants-DAi2zOZN.cjs";
2
2
  import { ArtifactV1, ArtifactV2, DeltaJobDetailsItem, DeltaJobsListItem, Manifest, ReleaseV1, ReleaseV2, Software, Tags, Update } from "@northern.tech/types/MenderTypes";
3
3
  import { PayloadAction } from "@reduxjs/toolkit";
4
4
 
@@ -162,4 +162,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
162
162
  declare const _default: import("redux").Reducer<ReleaseSliceType>;
163
163
  //#endregion
164
164
  export { ReleasesList as a, _default as c, releaseSlice as d, sliceName as f, ReleaseSliceType as i, actions as l, ManifestsList as n, SoftwareKind as o, Release as r, SoftwareList as s, Artifact as t, initialState as u };
165
- //# sourceMappingURL=index-Zs9RnVoR.d.cts.map
165
+ //# sourceMappingURL=index-VEayiYkv.d.cts.map
@@ -1,4 +1,4 @@
1
- import { T as SortOptions } from "./constants-OcdoVk6f.js";
1
+ import { T as SortOptions } from "./constants-CzjK2gV-.js";
2
2
  import { PayloadAction } from "@reduxjs/toolkit";
3
3
  import { ArtifactV1, ArtifactV2, DeltaJobDetailsItem, DeltaJobsListItem, Manifest, ReleaseV1, ReleaseV2, Software, Tags, Update } from "@northern.tech/types/MenderTypes";
4
4
 
@@ -162,4 +162,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
162
162
  declare const _default: import("redux").Reducer<ReleaseSliceType>;
163
163
  //#endregion
164
164
  export { ReleasesList as a, _default as c, releaseSlice as d, sliceName as f, ReleaseSliceType as i, actions as l, ManifestsList as n, SoftwareKind as o, Release as r, SoftwareList as s, Artifact as t, initialState as u };
165
- //# sourceMappingURL=index-DLDY7bNT.d.ts.map
165
+ //# sourceMappingURL=index-m1c0qk2s.d.ts.map
@@ -1,4 +1,4 @@
1
- import { T as SortOptions, m as DeviceIssueOptionKey, mt as DeviceAuthState, n as ALL_DEVICE_STATES, xt as FilterOperator } from "./constants-_p6w8uEp.cjs";
1
+ import { St as FilterOperator, T as SortOptions, m as DeviceIssueOptionKey, mt as DeviceAuthState, n as ALL_DEVICE_STATES } from "./constants-DAi2zOZN.cjs";
2
2
  import { s as DeviceDeployment } from "./index-EPmsL6Lb.cjs";
3
3
  import { ConnectionState, Device, DeviceConfiguration, DeviceState, DeviceTierLimits, MonitorConfiguration, Scope, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
4
4
  import { PayloadAction } from "@reduxjs/toolkit";
@@ -202,4 +202,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
202
202
  declare const _default: import("redux").Reducer<DeviceSliceType>;
203
203
  //#endregion
204
204
  export { DeviceListState as a, InventoryAttributes as c, devicesSlice as d, initialState as f, DeviceGroups as i, _default as l, DeviceFilter as n, DeviceSelectedAttribute as o, sliceName as p, DeviceGroup as r, DeviceSliceType as s, Device$1 as t, actions as u };
205
- //# sourceMappingURL=index-Doc_1P_Y.d.cts.map
205
+ //# sourceMappingURL=index-vXsWdis1.d.cts.map
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_constants = require("./constants-CNZ5L0A0.cjs");
2
+ const require_constants = require("./constants-C_SC_VKE.cjs");
3
+ const require_utils = require("./utils.cjs");
3
4
  let _northern_tech_utils_helpers = require("@northern.tech/utils/helpers");
4
5
  let _northern_tech_utils_constants = require("@northern.tech/utils/constants");
5
6
  //#region src/locationutils.ts
@@ -32,27 +33,11 @@ const commonFields = {
32
33
  target: "open"
33
34
  }
34
35
  };
35
- const scopes = {
36
- identity: {
37
- delimiter: "identity",
38
- filters: []
39
- },
40
- inventory: {
41
- delimiter: "inventory",
42
- filters: []
43
- },
44
- monitor: {
45
- delimiter: "monitor",
46
- filters: []
47
- },
48
- system: {
49
- delimiter: "system",
50
- filters: []
51
- },
52
- tags: {
53
- delimiter: "tags",
54
- filters: []
55
- }
36
+ const filterScopeParams = [...Object.values(_northern_tech_utils_constants.ATTRIBUTE_SCOPES), require_constants.ATTRIBUTE_SCOPE_LABELS.default];
37
+ const scopeFromParam = (param, key) => {
38
+ if (param === require_constants.ATTRIBUTE_SCOPE_LABELS.default) return _northern_tech_utils_constants.ATTRIBUTE_SCOPES.system;
39
+ if (param === require_constants.ATTRIBUTE_SCOPE_LABELS.system) return key.startsWith("mender-orchestrator-manifest.") ? _northern_tech_utils_constants.ATTRIBUTE_SCOPES.inventory : _northern_tech_utils_constants.ATTRIBUTE_SCOPES.system;
40
+ return param;
56
41
  };
57
42
  const commonProcessor = (searchParams) => {
58
43
  const params = new URLSearchParams(searchParams);
@@ -88,10 +73,13 @@ const commonProcessor = (searchParams) => {
88
73
  };
89
74
  const legacyDeviceQueryParse = (searchParams, filteringAttributes) => {
90
75
  const params = new URLSearchParams(searchParams);
91
- const result = Object.keys(scopes).reduce((accu, scope) => ({
92
- ...accu,
93
- [scope]: []
94
- }), {});
76
+ const result = {
77
+ identity: [],
78
+ inventory: [],
79
+ monitor: [],
80
+ system: [],
81
+ tags: []
82
+ };
95
83
  if (params.get("group")) {
96
84
  result.inventory.push({
97
85
  ...require_constants.emptyFilter,
@@ -124,18 +112,18 @@ const legacyDeviceQueryParse = (searchParams, filteringAttributes) => {
124
112
  };
125
113
  const scopedFilterParse = (searchParams) => {
126
114
  const params = new URLSearchParams(searchParams);
127
- const filters = Object.keys(scopes).reduce((accu, scope) => {
128
- accu[scope] = [];
129
- if (!params.has(scope)) return accu;
130
- accu[scope] = params.getAll(scope).map((scopedQuery) => {
115
+ const filters = filterScopeParams.reduce((accu, param) => {
116
+ params.getAll(param).forEach((scopedQuery) => {
131
117
  const items = scopedQuery.split(SEPARATOR);
132
- return {
118
+ const key = items[0];
119
+ const scope = scopeFromParam(param, key);
120
+ accu[scope].push({
133
121
  ...require_constants.emptyFilter,
134
122
  scope,
135
- key: items[0],
123
+ key,
136
124
  operator: `$${items[1]}`,
137
125
  value: items.slice(2).join(SEPARATOR)
138
- };
126
+ });
139
127
  });
140
128
  return accu;
141
129
  }, {
@@ -145,7 +133,7 @@ const scopedFilterParse = (searchParams) => {
145
133
  system: [],
146
134
  tags: []
147
135
  });
148
- Object.keys(scopes).forEach((scope) => params.delete(scope));
136
+ filterScopeParams.forEach((param) => params.delete(param));
149
137
  return {
150
138
  filters,
151
139
  params
@@ -156,7 +144,7 @@ const parseDeviceQuery = (searchParams, extraProps = {}) => {
156
144
  const { filteringAttributes = {}, pageState = {} } = extraProps;
157
145
  const pageStateExtension = pageState.id?.length === 1 ? { open: true } : {};
158
146
  let scopedFilters;
159
- if (Object.values(filteringAttributes).some((scopeValues) => scopeValues.some((scopedValue) => queryParams.get(scopedValue))) && !Object.keys(scopes).some((scope) => queryParams.get(scope)) || queryParams.get("group")) {
147
+ if (Object.values(filteringAttributes).some((scopeValues) => scopeValues.some((scopedValue) => queryParams.get(scopedValue))) && !filterScopeParams.some((param) => queryParams.get(param)) || queryParams.get("group")) {
160
148
  const { filters, params } = legacyDeviceQueryParse(queryParams, filteringAttributes);
161
149
  scopedFilters = filters;
162
150
  queryParams = params;
@@ -208,9 +196,13 @@ const stripFilterOperator = (operator) => operator.replaceAll("$", "");
208
196
  const formatFilters = (filters) => {
209
197
  const result = filters.reduce((accu, filter) => {
210
198
  const { scope = _northern_tech_utils_constants.ATTRIBUTE_SCOPES.inventory, operator = "$eq" } = filter;
211
- accu[scope].add(`${scopes[scope].delimiter}=${filter.key}${SEPARATOR}${stripFilterOperator(operator)}${SEPARATOR}${encodeURIComponent(filter.value)}`);
199
+ const param = require_utils.getAttributeScopeLabel({
200
+ key: filter.key,
201
+ scope
202
+ });
203
+ accu[param].add(`${param}=${filter.key}${SEPARATOR}${stripFilterOperator(operator)}${SEPARATOR}${encodeURIComponent(filter.value)}`);
212
204
  return accu;
213
- }, Object.keys(scopes).reduce((accu, item) => ({
205
+ }, filterScopeParams.reduce((accu, item) => ({
214
206
  ...accu,
215
207
  [item]: /* @__PURE__ */ new Set()
216
208
  }), {}));