@northern.tech/store 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/actions.js +5 -5
  2. package/dist/api/general-api.js +1 -1
  3. package/dist/api/users-api.js +1 -1
  4. package/dist/appSlice/constants.cjs +2 -1
  5. package/dist/appSlice/constants.cjs.map +1 -1
  6. package/dist/appSlice/constants.js +1 -1
  7. package/dist/appSlice/index.js +1 -1
  8. package/dist/appSlice/mocks.js +1 -1
  9. package/dist/appSlice/thunks.cjs +1 -0
  10. package/dist/appSlice/thunks.cjs.map +1 -1
  11. package/dist/appSlice/thunks.js +16 -16
  12. package/dist/auth.js +1 -1
  13. package/dist/{chunk-Z5TDXPYZ.js → chunk-7QKCBSFU.js} +2 -2
  14. package/dist/{chunk-H5YHKATI.js → chunk-GGBE6KJV.js} +2 -2
  15. package/dist/{chunk-2TYNHR66.js → chunk-GX2TWNLC.js} +2 -2
  16. package/dist/{chunk-FCHMFLKB.js → chunk-ITGVP27I.js} +8 -8
  17. package/dist/{chunk-EF4FYV4X.js → chunk-MUZHPRLI.js} +6 -6
  18. package/dist/{chunk-IURSNZM7.js → chunk-N3TU2WH2.js} +5 -5
  19. package/dist/{chunk-N3XU7WJM.js → chunk-OWWCFJZ5.js} +3 -2
  20. package/dist/chunk-OWWCFJZ5.js.map +1 -0
  21. package/dist/{chunk-IY3OCILF.js → chunk-VWNMAIL2.js} +19 -19
  22. package/dist/{chunk-DJXS3LMY.js → chunk-ZOF45MII.js} +10 -10
  23. package/dist/{chunk-RJKAD2TK.js → chunk-ZRSVD5QY.js} +16 -16
  24. package/dist/commonConstants.js +1 -1
  25. package/dist/commonSelectors.cjs +1 -0
  26. package/dist/commonSelectors.cjs.map +1 -1
  27. package/dist/commonSelectors.js +8 -8
  28. package/dist/constants.cjs +2 -1
  29. package/dist/constants.cjs.map +1 -1
  30. package/dist/constants.js +1 -1
  31. package/dist/deploymentsSlice/constants.js +1 -1
  32. package/dist/deploymentsSlice/index.js +1 -1
  33. package/dist/deploymentsSlice/mocks.js +1 -1
  34. package/dist/deploymentsSlice/selectors.js +1 -1
  35. package/dist/deploymentsSlice/thunks.cjs +1 -0
  36. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  37. package/dist/deploymentsSlice/thunks.js +16 -16
  38. package/dist/devicesSlice/constants.js +1 -1
  39. package/dist/devicesSlice/index.js +1 -1
  40. package/dist/devicesSlice/mocks.js +1 -1
  41. package/dist/devicesSlice/selectors.js +1 -1
  42. package/dist/devicesSlice/thunks.cjs +1 -0
  43. package/dist/devicesSlice/thunks.cjs.map +1 -1
  44. package/dist/devicesSlice/thunks.js +16 -16
  45. package/dist/liststatehook.js +1 -1
  46. package/dist/locationutils.js +1 -1
  47. package/dist/monitorSlice/index.js +1 -1
  48. package/dist/monitorSlice/mocks.js +1 -1
  49. package/dist/monitorSlice/thunks.cjs +1 -0
  50. package/dist/monitorSlice/thunks.cjs.map +1 -1
  51. package/dist/monitorSlice/thunks.js +14 -14
  52. package/dist/onboardingSlice/thunks.cjs +1 -0
  53. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  54. package/dist/onboardingSlice/thunks.js +16 -16
  55. package/dist/organizationSlice/constants.js +1 -1
  56. package/dist/organizationSlice/index.js +1 -1
  57. package/dist/organizationSlice/mocks.js +1 -1
  58. package/dist/organizationSlice/selectors.js +1 -1
  59. package/dist/organizationSlice/thunks.cjs +1 -0
  60. package/dist/organizationSlice/thunks.cjs.map +1 -1
  61. package/dist/organizationSlice/thunks.js +16 -16
  62. package/dist/releasesSlice/index.js +1 -1
  63. package/dist/releasesSlice/mocks.js +1 -1
  64. package/dist/releasesSlice/selectors.js +3 -3
  65. package/dist/releasesSlice/thunks.cjs +1 -0
  66. package/dist/releasesSlice/thunks.cjs.map +1 -1
  67. package/dist/releasesSlice/thunks.js +14 -14
  68. package/dist/selectors.cjs +1 -0
  69. package/dist/selectors.cjs.map +1 -1
  70. package/dist/selectors.js +21 -21
  71. package/dist/sockethook.cjs.map +1 -1
  72. package/dist/sockethook.js +1 -1
  73. package/dist/sockethook.js.map +1 -1
  74. package/dist/store.js +6 -6
  75. package/dist/storehooks.cjs +1 -0
  76. package/dist/storehooks.cjs.map +1 -1
  77. package/dist/storehooks.js +16 -16
  78. package/dist/thunks.cjs +1 -0
  79. package/dist/thunks.cjs.map +1 -1
  80. package/dist/thunks.js +16 -16
  81. package/dist/useDeploymentDevice.cjs +1 -0
  82. package/dist/useDeploymentDevice.cjs.map +1 -1
  83. package/dist/useDeploymentDevice.js +16 -16
  84. package/dist/usersSlice/constants.js +1 -1
  85. package/dist/usersSlice/index.js +1 -1
  86. package/dist/usersSlice/mocks.js +1 -1
  87. package/dist/usersSlice/selectors.cjs +1 -0
  88. package/dist/usersSlice/selectors.cjs.map +1 -1
  89. package/dist/usersSlice/selectors.js +3 -3
  90. package/dist/usersSlice/thunks.cjs +1 -0
  91. package/dist/usersSlice/thunks.cjs.map +1 -1
  92. package/dist/usersSlice/thunks.js +16 -16
  93. package/dist/utils.cjs +1 -0
  94. package/dist/utils.cjs.map +1 -1
  95. package/dist/utils.js +2 -2
  96. package/package.json +7 -7
  97. package/dist/chunk-N3XU7WJM.js.map +0 -1
  98. /package/dist/{chunk-Z5TDXPYZ.js.map → chunk-7QKCBSFU.js.map} +0 -0
  99. /package/dist/{chunk-H5YHKATI.js.map → chunk-GGBE6KJV.js.map} +0 -0
  100. /package/dist/{chunk-2TYNHR66.js.map → chunk-GX2TWNLC.js.map} +0 -0
  101. /package/dist/{chunk-FCHMFLKB.js.map → chunk-ITGVP27I.js.map} +0 -0
  102. /package/dist/{chunk-EF4FYV4X.js.map → chunk-MUZHPRLI.js.map} +0 -0
  103. /package/dist/{chunk-IURSNZM7.js.map → chunk-N3TU2WH2.js.map} +0 -0
  104. /package/dist/{chunk-IY3OCILF.js.map → chunk-VWNMAIL2.js.map} +0 -0
  105. /package/dist/{chunk-DJXS3LMY.js.map → chunk-ZOF45MII.js.map} +0 -0
  106. /package/dist/{chunk-RJKAD2TK.js.map → chunk-ZRSVD5QY.js.map} +0 -0
@@ -3,39 +3,39 @@ import {
3
3
  setFirstLoginAfterSignup,
4
4
  setOfflineThreshold,
5
5
  setSearchState
6
- } from "../chunk-IY3OCILF.js";
7
- import "../chunk-EF4FYV4X.js";
8
- import "../chunk-IURSNZM7.js";
9
- import "../chunk-DJXS3LMY.js";
6
+ } from "../chunk-VWNMAIL2.js";
7
+ import "../chunk-MUZHPRLI.js";
8
+ import "../chunk-N3TU2WH2.js";
9
+ import "../chunk-ZOF45MII.js";
10
10
  import "../chunk-Y3DJIMEN.js";
11
11
  import "../chunk-5M6EUVNO.js";
12
- import "../chunk-FCHMFLKB.js";
12
+ import "../chunk-ITGVP27I.js";
13
13
  import "../chunk-TRKA7XYU.js";
14
14
  import "../chunk-CKF76YO4.js";
15
- import "../chunk-C2LGE3P6.js";
16
- import "../chunk-HLX5L3IM.js";
17
15
  import "../chunk-QOFVCPRW.js";
16
+ import "../chunk-HLX5L3IM.js";
18
17
  import "../chunk-VANBSJS5.js";
19
- import "../chunk-OFGCC3GM.js";
20
18
  import "../chunk-KQ6AGXRK.js";
19
+ import "../chunk-OFGCC3GM.js";
20
+ import "../chunk-C2LGE3P6.js";
21
21
  import "../chunk-FDSMCFV5.js";
22
22
  import "../chunk-53W2NRSL.js";
23
23
  import "../chunk-NMAXZ3ZY.js";
24
- import "../chunk-RJKAD2TK.js";
25
- import "../chunk-H5YHKATI.js";
26
- import "../chunk-Z5TDXPYZ.js";
27
- import "../chunk-WR6RQKF5.js";
28
- import "../chunk-YO22XLHI.js";
24
+ import "../chunk-ZRSVD5QY.js";
25
+ import "../chunk-GGBE6KJV.js";
26
+ import "../chunk-7QKCBSFU.js";
29
27
  import "../chunk-3NOV7X4M.js";
30
- import "../chunk-UVYRVFZX.js";
28
+ import "../chunk-YO22XLHI.js";
31
29
  import "../chunk-JIS4PA3R.js";
30
+ import "../chunk-WR6RQKF5.js";
31
+ import "../chunk-UVYRVFZX.js";
32
32
  import "../chunk-BYUPW7RA.js";
33
- import "../chunk-2TYNHR66.js";
33
+ import "../chunk-GX2TWNLC.js";
34
34
  import "../chunk-WWED74SG.js";
35
35
  import "../chunk-2DYA3X77.js";
36
36
  import "../chunk-FAJ3I2UQ.js";
37
37
  import "../chunk-ZKAH3APE.js";
38
- import "../chunk-N3XU7WJM.js";
38
+ import "../chunk-OWWCFJZ5.js";
39
39
  export {
40
40
  getLatestReleaseInfo,
41
41
  setFirstLoginAfterSignup,
package/dist/auth.js CHANGED
@@ -9,7 +9,7 @@ import "./chunk-WWED74SG.js";
9
9
  import "./chunk-2DYA3X77.js";
10
10
  import "./chunk-FAJ3I2UQ.js";
11
11
  import "./chunk-ZKAH3APE.js";
12
- import "./chunk-N3XU7WJM.js";
12
+ import "./chunk-OWWCFJZ5.js";
13
13
  export {
14
14
  cleanUp,
15
15
  getSessionInfo,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isDarkMode
3
- } from "./chunk-2TYNHR66.js";
3
+ } from "./chunk-GX2TWNLC.js";
4
4
  import {
5
5
  DEVICE_ONLINE_CUTOFF,
6
6
  READ_STATES,
@@ -77,4 +77,4 @@ export {
77
77
  getCurrentSession,
78
78
  getRolesInitialized
79
79
  };
80
- //# sourceMappingURL=chunk-Z5TDXPYZ.js.map
80
+ //# sourceMappingURL=chunk-7QKCBSFU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listItemMapper
3
- } from "./chunk-2TYNHR66.js";
3
+ } from "./chunk-GX2TWNLC.js";
4
4
 
5
5
  // src/releasesSlice/selectors.ts
6
6
  import { createSelector } from "@reduxjs/toolkit";
@@ -41,4 +41,4 @@ export {
41
41
  getDeltaJobById,
42
42
  getSelectedJob
43
43
  };
44
- //# sourceMappingURL=chunk-H5YHKATI.js.map
44
+ //# sourceMappingURL=chunk-GGBE6KJV.js.map
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-2DYA3X77.js";
17
17
  import {
18
18
  DARK_MODE
19
- } from "./chunk-N3XU7WJM.js";
19
+ } from "./chunk-OWWCFJZ5.js";
20
20
 
21
21
  // src/utils.ts
22
22
  import { duplicateFilter, yes } from "@northern.tech/utils/helpers";
@@ -233,4 +233,4 @@ export {
233
233
  isDarkMode,
234
234
  parseSubscriptionPreview
235
235
  };
236
- //# sourceMappingURL=chunk-2TYNHR66.js.map
236
+ //# sourceMappingURL=chunk-GX2TWNLC.js.map
@@ -5,23 +5,23 @@ import {
5
5
  actions as actions8
6
6
  } from "./chunk-CKF76YO4.js";
7
7
  import {
8
- actions as actions2
9
- } from "./chunk-C2LGE3P6.js";
8
+ actions as actions6
9
+ } from "./chunk-QOFVCPRW.js";
10
10
  import {
11
11
  actions as actions4
12
12
  } from "./chunk-HLX5L3IM.js";
13
- import {
14
- actions as actions6
15
- } from "./chunk-QOFVCPRW.js";
16
13
  import {
17
14
  actions as actions5
18
15
  } from "./chunk-VANBSJS5.js";
16
+ import {
17
+ actions as actions3
18
+ } from "./chunk-KQ6AGXRK.js";
19
19
  import {
20
20
  actions
21
21
  } from "./chunk-OFGCC3GM.js";
22
22
  import {
23
- actions as actions3
24
- } from "./chunk-KQ6AGXRK.js";
23
+ actions as actions2
24
+ } from "./chunk-C2LGE3P6.js";
25
25
 
26
26
  // src/actions.ts
27
27
  var actions_default = {
@@ -38,4 +38,4 @@ var actions_default = {
38
38
  export {
39
39
  actions_default
40
40
  };
41
- //# sourceMappingURL=chunk-FCHMFLKB.js.map
41
+ //# sourceMappingURL=chunk-ITGVP27I.js.map
@@ -2,13 +2,13 @@ import {
2
2
  commonErrorFallback,
3
3
  commonErrorHandler,
4
4
  createAppAsyncThunk
5
- } from "./chunk-DJXS3LMY.js";
5
+ } from "./chunk-ZOF45MII.js";
6
6
  import {
7
7
  general_api_default
8
8
  } from "./chunk-5M6EUVNO.js";
9
9
  import {
10
10
  actions_default
11
- } from "./chunk-FCHMFLKB.js";
11
+ } from "./chunk-ITGVP27I.js";
12
12
  import {
13
13
  actions,
14
14
  sliceName
@@ -18,14 +18,14 @@ import {
18
18
  } from "./chunk-53W2NRSL.js";
19
19
  import {
20
20
  getSearchEndpoint
21
- } from "./chunk-RJKAD2TK.js";
21
+ } from "./chunk-ZRSVD5QY.js";
22
22
  import {
23
23
  getReleasesById
24
- } from "./chunk-H5YHKATI.js";
24
+ } from "./chunk-GGBE6KJV.js";
25
25
  import {
26
26
  convertDeviceListStateToFilters,
27
27
  progress
28
- } from "./chunk-2TYNHR66.js";
28
+ } from "./chunk-GX2TWNLC.js";
29
29
  import {
30
30
  DEVICE_LIST_DEFAULTS,
31
31
  SORTING_OPTIONS,
@@ -442,4 +442,4 @@ export {
442
442
  getDeltaGenerationJobs,
443
443
  getDeltaGenerationJobDetails
444
444
  };
445
- //# sourceMappingURL=chunk-EF4FYV4X.js.map
445
+ //# sourceMappingURL=chunk-MUZHPRLI.js.map
@@ -2,26 +2,26 @@ import {
2
2
  commonErrorFallback,
3
3
  commonErrorHandler,
4
4
  createAppAsyncThunk
5
- } from "./chunk-DJXS3LMY.js";
5
+ } from "./chunk-ZOF45MII.js";
6
6
  import {
7
7
  general_api_default
8
8
  } from "./chunk-5M6EUVNO.js";
9
9
  import {
10
10
  actions_default
11
- } from "./chunk-FCHMFLKB.js";
11
+ } from "./chunk-ITGVP27I.js";
12
12
  import {
13
13
  actions,
14
14
  sliceName
15
15
  } from "./chunk-HLX5L3IM.js";
16
16
  import {
17
17
  getSearchEndpoint
18
- } from "./chunk-RJKAD2TK.js";
18
+ } from "./chunk-ZRSVD5QY.js";
19
19
  import {
20
20
  getDeviceFilters
21
21
  } from "./chunk-UVYRVFZX.js";
22
22
  import {
23
23
  convertDeviceListStateToFilters
24
- } from "./chunk-2TYNHR66.js";
24
+ } from "./chunk-GX2TWNLC.js";
25
25
  import {
26
26
  DEVICE_LIST_DEFAULTS,
27
27
  TIMEOUTS,
@@ -107,4 +107,4 @@ export {
107
107
  getDeviceMonitorConfig,
108
108
  changeNotificationSetting
109
109
  };
110
- //# sourceMappingURL=chunk-IURSNZM7.js.map
110
+ //# sourceMappingURL=chunk-N3TU2WH2.js.map
@@ -1,5 +1,6 @@
1
1
  // src/appSlice/constants.ts
2
2
  import { BarChart as BarChartIcon, PieChartOutline as PieChartIcon } from "@mui/icons-material";
3
+ import { yes as yesUtil } from "@northern.tech/utils";
3
4
  var startingDeviceCount = {
4
5
  os: "for first 50 devices",
5
6
  professional: "for first 250 devices"
@@ -129,7 +130,7 @@ var BENEFITS = {
129
130
  },
130
131
  default: { id: "default", benefit: "gain access to this feature", requiredPlan: PLANS.enterprise.id }
131
132
  };
132
- var yes = () => true;
133
+ var yes = yesUtil;
133
134
  var canAccess = yes;
134
135
  var DARK_MODE = "dark";
135
136
  var LIGHT_MODE = "light";
@@ -149,4 +150,4 @@ export {
149
150
  DARK_MODE,
150
151
  LIGHT_MODE
151
152
  };
152
- //# sourceMappingURL=chunk-N3XU7WJM.js.map
153
+ //# sourceMappingURL=chunk-OWWCFJZ5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/appSlice/constants.ts"],"sourcesContent":["// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { BarChart as BarChartIcon, PieChartOutline as PieChartIcon } from '@mui/icons-material';\n\nimport { yes as yesUtil } from '@northern.tech/utils';\n\nconst startingDeviceCount = {\n os: 'for first 50 devices',\n professional: 'for first 250 devices'\n} as const;\n\nexport const chartTypes = {\n bar: { key: 'bar', Icon: BarChartIcon },\n pie: { key: 'pie', Icon: PieChartIcon }\n} as const;\nexport const emptyChartSelection = { software: '', group: '', chartType: chartTypes.bar.key, attribute: 'artifact_name' };\nexport const defaultReportType = 'distribution';\nexport const defaultReports = [{ ...emptyChartSelection, group: null, attribute: 'artifact_name', type: defaultReportType }];\n\nexport const BEGINNING_OF_TIME = '2016-01-01T00:00:00.000Z';\n\nexport const locations = {\n cn: { key: 'cn', title: 'China', location: 'hosted.mender.cn' },\n eu: { key: 'eu', title: 'EU', location: 'eu.hosted.mender.io' },\n us: { key: 'us', title: 'US', location: 'hosted.mender.io' }\n} as const;\nexport type AvailablePlans = 'os' | 'professional' | 'enterprise';\n\nexport type Plan = {\n description: string;\n deviceCount: string;\n features: string[];\n id: AvailablePlans;\n minimalDeviceCount: number;\n name: string;\n offer?: boolean;\n offerprice?: string;\n price: string;\n price2?: string;\n};\n\nexport type AvailableAddon = 'configure' | 'troubleshoot' | 'monitor';\n\nexport const PLANS: { [key in AvailablePlans]: Plan } = {\n os: {\n id: 'os',\n name: 'Basic',\n minimalDeviceCount: 50,\n offer: true,\n price: '$34 / month',\n deviceCount: startingDeviceCount.os,\n description:\n 'The core features of Mender. To continue using Enterprise Trial features—like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more—please upgrade to a higher plan.',\n features: ['Access to core features of Mender', 'Basic support']\n },\n professional: {\n id: 'professional',\n name: 'Professional',\n minimalDeviceCount: 250,\n offer: true,\n price: '$291 / month',\n deviceCount: startingDeviceCount.professional,\n description: 'Everything in Basic, plus enhanced update management and automation features.',\n features: ['Advanced OTA features', 'Higher priority support']\n },\n enterprise: {\n id: 'enterprise',\n name: 'Enterprise',\n minimalDeviceCount: 1000,\n price: 'Custom pricing',\n deviceCount: 'Unlimited devices',\n description:\n 'Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription — ask us for a quote.',\n features: ['All Mender features', 'Advanced security features', 'SLA-backed support']\n }\n} as const;\nexport type Addon = {\n description: string;\n eligible: AvailablePlans[];\n id: string;\n needs: string[];\n title: string;\n} & {\n [key in Exclude<AvailablePlans, 'enterprise'>]: {\n deviceCount: string;\n price: string;\n };\n};\n\nexport type AddonId = keyof typeof ADDONS;\n\n// the needs names need to be aligned with the name of the features in the appReducer, as they will be checked in the addonselection\nexport const ADDONS: { [key in AvailableAddon]: Addon } = {\n configure: {\n id: 'configure',\n title: 'Configure',\n description: 'Expand your plan with device configuration features',\n needs: ['hasDeviceConfig'],\n os: {\n price: '$11/month',\n deviceCount: startingDeviceCount.os\n },\n professional: {\n price: '$65/month',\n deviceCount: startingDeviceCount.professional\n },\n eligible: ['os', 'professional', 'enterprise']\n },\n monitor: {\n id: 'monitor',\n title: 'Monitor',\n description: 'Expand your plan with device monitoring features',\n needs: ['hasMonitor'],\n os: {\n price: '-',\n deviceCount: '-'\n },\n professional: {\n price: '$86/month',\n deviceCount: startingDeviceCount.professional\n },\n eligible: ['professional', 'enterprise']\n },\n troubleshoot: {\n id: 'troubleshoot',\n title: 'Troubleshoot',\n description: 'Expand your plan with device troubleshooting features',\n needs: ['hasDeviceConnect'],\n os: {\n price: '$27/month',\n deviceCount: startingDeviceCount.os\n },\n professional: {\n price: '$72/month',\n deviceCount: startingDeviceCount.professional\n },\n eligible: ['os', 'professional', 'enterprise']\n }\n};\n\nexport const BENEFITS = {\n auditlog: { id: 'auditlog', benefit: 'trace change across your devices and access troubleshooting session replay', requiredPlan: PLANS.professional.id },\n dashboard: { id: 'dashboard', benefit: 'actionable insights into the devices you are updating with Mender', requiredPlan: PLANS.enterprise.id },\n deltaGeneration: {\n id: 'deltaGeneration',\n benefit: 'automatic delta artifacts generation to minimize data transfer and improve the update delivery',\n requiredPlan: PLANS.enterprise.id\n },\n deviceConfiguration: { id: 'deviceConfiguration', benefit: 'device configuration features', requiredAddon: ADDONS.configure.id },\n deviceMonitor: { id: 'deviceMonitor', benefit: 'device monitoring features', requiredAddon: ADDONS.monitor.id, requiredPlan: PLANS.professional.id },\n deviceTroubleshoot: { id: 'deviceTroubleshoot', benefit: 'device troubleshooting features', requiredAddon: ADDONS.troubleshoot.id },\n dynamicGroups: { id: 'dynamicGroups', benefit: 'create dynamic groups to ease device management', requiredPlan: PLANS.enterprise.id },\n fullFiltering: { id: 'fullFiltering', benefit: 'filtering by multiple attributes to improve the device overview', requiredPlan: PLANS.professional.id },\n gateway: { id: 'gateway', benefit: 'see devices connected to your gateway device for easy access', requiredPlans: PLANS.professional.id },\n pausedDeployments: {\n id: 'pausedDeployments',\n benefit: 'granular control about update rollout to allow synchronization across your fleet',\n requiredPlan: PLANS.enterprise.id\n },\n phasedDeployments: { id: 'phasedDeployments', benefit: 'choose to roll out deployments in multiple phases', requiredPlan: PLANS.enterprise.id },\n rbac: { id: 'rbac', benefit: 'granular role based access control', requiredPlan: PLANS.enterprise.id },\n retryDeployments: { id: 'retryDeployments', benefit: 'optional retries for failed rollout attempts', requiredPlan: PLANS.professional.id },\n scheduledDeployments: {\n id: 'scheduledDeployments',\n benefit: 'scheduled deployments to steer the distribution of your updates.',\n requiredPlan: PLANS.professional.id\n },\n webhookEvents: {\n id: 'webhookEvents',\n benefit: 'receive inventory events and select which type(s) of events the webhook will receive',\n requiredPlan: PLANS.professional.id\n },\n\n default: { id: 'default', benefit: 'gain access to this feature', requiredPlan: PLANS.enterprise.id }\n} as const;\n\nexport const yes = yesUtil;\nexport const canAccess = yes;\n\nexport const DARK_MODE = 'dark';\nexport const LIGHT_MODE = 'light';\n"],"mappings":";AAaA,SAAS,YAAY,cAAc,mBAAmB,oBAAoB;AAE1E,SAAS,OAAO,eAAe;AAE/B,IAAM,sBAAsB;AAAA,EAC1B,IAAI;AAAA,EACJ,cAAc;AAChB;AAEO,IAAM,aAAa;AAAA,EACxB,KAAK,EAAE,KAAK,OAAO,MAAM,aAAa;AAAA,EACtC,KAAK,EAAE,KAAK,OAAO,MAAM,aAAa;AACxC;AACO,IAAM,sBAAsB,EAAE,UAAU,IAAI,OAAO,IAAI,WAAW,WAAW,IAAI,KAAK,WAAW,gBAAgB;AACjH,IAAM,oBAAoB;AAC1B,IA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Ae,EAAE,IAAI,iBAAiB,SAAS,mEAAmE,cAAc,MAAM,aAAa,GAAG;AAAA,EACtJ,SAAS,EAAE,IAAI,WAAW,SAAS,gEAAgE,eAAe,MAAM,aAAa,GAAG;AAAA,EACxI,mBAAmB;AAAA,IACjB,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,cAAc,MAAM,WAAW;AAAA,EACjC;AAAA,EACA,mBAAmB,EAAE,IAAI,qBAAqB,SAAS,qDAAqD,cAAc,MAAM,WAAW,GAAG;AAAA,EAC9I,MAAM,EAAE,IAAI,QAAQ,SAAS,sCAAsC,cAAc,MAAM,WAAW,GAAG;AAAA,EACrG,kBAAkB,EAAE,IAAI,oBAAoB,SAAS,gDAAgD,cAAc,MAAM,aAAa,GAAG;AAAA,EACzI,sBAAsB;AAAA,IACpB,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,cAAc,MAAM,aAAa;AAAA,EACnC;AAAA,EACA,eAAe;AAAA,IACb,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,cAAc,MAAM,aAAa;AAAA,EACnC;AAAA,EAEA,SAAS,EAAE,IAAI,WAAW,SAAS,+BAA+B,cAAc,MAAM,WAAW,GAAG;AACtG;AAEO,IAAM,MAAM;AACZ,IAAM,YAAY;AAElB,IAAM,YAAY;AAClB,IAAM,aAAa;","names":[]}
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getDeviceMonitorConfig,
3
3
  getLatestDeviceAlerts
4
- } from "./chunk-IURSNZM7.js";
4
+ } from "./chunk-N3TU2WH2.js";
5
5
  import {
6
6
  commonErrorFallback,
7
7
  commonErrorHandler,
8
8
  createAppAsyncThunk
9
- } from "./chunk-DJXS3LMY.js";
9
+ } from "./chunk-ZOF45MII.js";
10
10
  import {
11
11
  users_api_default
12
12
  } from "./chunk-Y3DJIMEN.js";
@@ -15,15 +15,11 @@ import {
15
15
  } from "./chunk-5M6EUVNO.js";
16
16
  import {
17
17
  actions_default
18
- } from "./chunk-FCHMFLKB.js";
18
+ } from "./chunk-ITGVP27I.js";
19
19
  import {
20
20
  actions as actions6,
21
21
  sliceName as sliceName6
22
22
  } from "./chunk-CKF76YO4.js";
23
- import {
24
- actions as actions2,
25
- sliceName as sliceName2
26
- } from "./chunk-C2LGE3P6.js";
27
23
  import {
28
24
  actions as actions5,
29
25
  sliceName as sliceName5
@@ -32,14 +28,18 @@ import {
32
28
  actions as actions4,
33
29
  sliceName as sliceName4
34
30
  } from "./chunk-VANBSJS5.js";
31
+ import {
32
+ actions as actions3,
33
+ sliceName as sliceName3
34
+ } from "./chunk-KQ6AGXRK.js";
35
35
  import {
36
36
  actions,
37
37
  sliceName
38
38
  } from "./chunk-OFGCC3GM.js";
39
39
  import {
40
- actions as actions3,
41
- sliceName as sliceName3
42
- } from "./chunk-KQ6AGXRK.js";
40
+ actions as actions2,
41
+ sliceName as sliceName2
42
+ } from "./chunk-C2LGE3P6.js";
43
43
  import {
44
44
  cleanUp,
45
45
  getSessionInfo,
@@ -52,7 +52,7 @@ import {
52
52
  getSearchEndpoint,
53
53
  getTenantCapabilities,
54
54
  getUserCapabilities
55
- } from "./chunk-RJKAD2TK.js";
55
+ } from "./chunk-ZRSVD5QY.js";
56
56
  import {
57
57
  getCurrentSession,
58
58
  getCurrentUser,
@@ -64,17 +64,17 @@ import {
64
64
  getTooltipsState,
65
65
  getUserSettings,
66
66
  getUsersById
67
- } from "./chunk-Z5TDXPYZ.js";
68
- import {
69
- getDeploymentsById,
70
- getDeploymentsByStatus
71
- } from "./chunk-WR6RQKF5.js";
67
+ } from "./chunk-7QKCBSFU.js";
72
68
  import {
73
69
  getAuditlogState,
74
70
  getDeviceTwinIntegrations,
75
71
  getOrganization,
76
72
  getTenantsList
77
73
  } from "./chunk-3NOV7X4M.js";
74
+ import {
75
+ getDeploymentsById,
76
+ getDeploymentsByStatus
77
+ } from "./chunk-WR6RQKF5.js";
78
78
  import {
79
79
  getAcceptedDevices,
80
80
  getDeviceById,
@@ -100,7 +100,7 @@ import {
100
100
  mergePermissions,
101
101
  parseSubscriptionPreview,
102
102
  progress
103
- } from "./chunk-2TYNHR66.js";
103
+ } from "./chunk-GX2TWNLC.js";
104
104
  import {
105
105
  ALL_DEVICE_STATES,
106
106
  ALL_RELEASES,
@@ -162,7 +162,7 @@ import {
162
162
  } from "./chunk-FAJ3I2UQ.js";
163
163
  import {
164
164
  locations
165
- } from "./chunk-N3XU7WJM.js";
165
+ } from "./chunk-OWWCFJZ5.js";
166
166
 
167
167
  // src/appSlice/thunks.ts
168
168
  import { deepCompare as deepCompare4, extractErrorMessage as extractErrorMessage3 } from "@northern.tech/utils/helpers";
@@ -2767,4 +2767,4 @@ export {
2767
2767
  setAllTooltipsReadState,
2768
2768
  submitUserFeedback
2769
2769
  };
2770
- //# sourceMappingURL=chunk-IY3OCILF.js.map
2770
+ //# sourceMappingURL=chunk-VWNMAIL2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  actions_default
3
- } from "./chunk-FCHMFLKB.js";
3
+ } from "./chunk-ITGVP27I.js";
4
4
  import {
5
5
  releasesSlice_default
6
6
  } from "./chunk-TRKA7XYU.js";
@@ -8,25 +8,25 @@ import {
8
8
  actions as actions2,
9
9
  usersSlice_default
10
10
  } from "./chunk-CKF76YO4.js";
11
- import {
12
- deploymentsSlice_default
13
- } from "./chunk-C2LGE3P6.js";
14
- import {
15
- monitorSlice_default
16
- } from "./chunk-HLX5L3IM.js";
17
11
  import {
18
12
  actions,
19
13
  organizationSlice_default
20
14
  } from "./chunk-QOFVCPRW.js";
15
+ import {
16
+ monitorSlice_default
17
+ } from "./chunk-HLX5L3IM.js";
21
18
  import {
22
19
  onboardingSlice_default
23
20
  } from "./chunk-VANBSJS5.js";
21
+ import {
22
+ devicesSlice_default
23
+ } from "./chunk-KQ6AGXRK.js";
24
24
  import {
25
25
  appSlice_default
26
26
  } from "./chunk-OFGCC3GM.js";
27
27
  import {
28
- devicesSlice_default
29
- } from "./chunk-KQ6AGXRK.js";
28
+ deploymentsSlice_default
29
+ } from "./chunk-C2LGE3P6.js";
30
30
  import {
31
31
  getToken
32
32
  } from "./chunk-FDSMCFV5.js";
@@ -139,4 +139,4 @@ export {
139
139
  useAppDispatch,
140
140
  createAppAsyncThunk
141
141
  };
142
- //# sourceMappingURL=chunk-DJXS3LMY.js.map
142
+ //# sourceMappingURL=chunk-ZOF45MII.js.map
@@ -1,26 +1,29 @@
1
1
  import {
2
2
  getReleasesById
3
- } from "./chunk-H5YHKATI.js";
3
+ } from "./chunk-GGBE6KJV.js";
4
4
  import {
5
5
  getCurrentUser,
6
6
  getGlobalSettings,
7
7
  getRolesById,
8
8
  getRolesList,
9
9
  getUserSettings
10
- } from "./chunk-Z5TDXPYZ.js";
11
- import {
12
- getDeploymentsById,
13
- getDeploymentsSelectionState,
14
- getSelectedDeploymentDeviceIds
15
- } from "./chunk-WR6RQKF5.js";
16
- import {
17
- getIssueCountsByType
18
- } from "./chunk-YO22XLHI.js";
10
+ } from "./chunk-7QKCBSFU.js";
19
11
  import {
20
12
  getAuditLogEntry,
21
13
  getIsServiceProvider,
22
14
  getOrganization
23
15
  } from "./chunk-3NOV7X4M.js";
16
+ import {
17
+ getIssueCountsByType
18
+ } from "./chunk-YO22XLHI.js";
19
+ import {
20
+ getOnboarding
21
+ } from "./chunk-JIS4PA3R.js";
22
+ import {
23
+ getDeploymentsById,
24
+ getDeploymentsSelectionState,
25
+ getSelectedDeploymentDeviceIds
26
+ } from "./chunk-WR6RQKF5.js";
24
27
  import {
25
28
  getDeviceById,
26
29
  getDevicesById,
@@ -28,9 +31,6 @@ import {
28
31
  getGroupsById,
29
32
  getListedDevices
30
33
  } from "./chunk-UVYRVFZX.js";
31
- import {
32
- getOnboarding
33
- } from "./chunk-JIS4PA3R.js";
34
34
  import {
35
35
  getFeatures,
36
36
  getSearchedDevices
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  listItemMapper,
40
40
  mapUserRolesToUiPermissions
41
- } from "./chunk-2TYNHR66.js";
41
+ } from "./chunk-GX2TWNLC.js";
42
42
  import {
43
43
  ALL_DEVICES,
44
44
  ATTRIBUTE_SCOPES,
@@ -59,7 +59,7 @@ import {
59
59
  ADDONS,
60
60
  PLANS,
61
61
  defaultReports
62
- } from "./chunk-N3XU7WJM.js";
62
+ } from "./chunk-OWWCFJZ5.js";
63
63
 
64
64
  // src/commonSelectors.ts
65
65
  import { attributeDuplicateFilter, getDemoDeviceAddress as getDemoDeviceAddressHelper } from "@northern.tech/utils/helpers";
@@ -289,4 +289,4 @@ export {
289
289
  getAuditlogDevice,
290
290
  getRelevantRoles
291
291
  };
292
- //# sourceMappingURL=chunk-RJKAD2TK.js.map
292
+ //# sourceMappingURL=chunk-ZRSVD5QY.js.map
@@ -14,7 +14,7 @@ import {
14
14
  import "./chunk-2DYA3X77.js";
15
15
  import "./chunk-FAJ3I2UQ.js";
16
16
  import "./chunk-ZKAH3APE.js";
17
- import "./chunk-N3XU7WJM.js";
17
+ import "./chunk-OWWCFJZ5.js";
18
18
  export {
19
19
  DEVICE_LIST_MAXIMUM_LENGTH,
20
20
  DEVICE_ONLINE_CUTOFF,
@@ -45,6 +45,7 @@ var import_toolkit7 = require("@reduxjs/toolkit");
45
45
 
46
46
  // src/appSlice/constants.ts
47
47
  var import_icons_material = require("@mui/icons-material");
48
+ var import_utils = require("@northern.tech/utils");
48
49
  var startingDeviceCount = {
49
50
  os: "for first 50 devices",
50
51
  professional: "for first 250 devices"