@northern.tech/store 0.19.1 → 0.19.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.
- package/dist/actions.js +6 -6
- package/dist/api/general-api.js +2 -2
- package/dist/api/users-api.js +2 -2
- package/dist/appSlice/constants.cjs +8 -4
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +1 -1
- package/dist/appSlice/constants.d.ts +1 -1
- package/dist/appSlice/constants.js +1 -1
- package/dist/appSlice/index.js +2 -2
- package/dist/appSlice/mocks.js +2 -2
- package/dist/appSlice/thunks.cjs +16 -4
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.js +17 -17
- package/dist/auth.js +2 -2
- package/dist/{chunk-GEQ2QQEE.js → chunk-42GZ6FGV.js} +2 -2
- package/dist/{chunk-QL6FN2JC.js → chunk-43ZBO3JW.js} +2 -2
- package/dist/{chunk-C3EMLDPU.js → chunk-45BHMNX6.js} +5 -5
- package/dist/{chunk-EL672W25.js → chunk-AJ6DIDO4.js} +9 -5
- package/dist/chunk-AJ6DIDO4.js.map +1 -0
- package/dist/{chunk-GBXG2XBY.js → chunk-AV7SRATY.js} +6 -6
- package/dist/{chunk-U5TPV5X5.js → chunk-B3C6H2PR.js} +2 -2
- package/dist/{chunk-FUGCLQ5L.js → chunk-KJ2SUFAU.js} +33 -24
- package/dist/chunk-KJ2SUFAU.js.map +1 -0
- package/dist/{chunk-QFYYTAYD.js → chunk-RJRZXDVT.js} +9 -9
- package/dist/{chunk-MZ5NRW3K.js → chunk-XOASGJZU.js} +19 -19
- package/dist/{chunk-KJHHSYGP.js → chunk-ZAZTNDSY.js} +11 -11
- package/dist/commonConstants.js +2 -2
- package/dist/commonSelectors.cjs +8 -4
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.js +9 -9
- package/dist/constants.cjs +8 -4
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.js +2 -2
- package/dist/deploymentsSlice/constants.js +2 -2
- package/dist/deploymentsSlice/index.js +2 -2
- package/dist/deploymentsSlice/mocks.js +2 -2
- package/dist/deploymentsSlice/selectors.js +2 -2
- package/dist/deploymentsSlice/thunks.cjs +16 -4
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.js +17 -17
- package/dist/devicesSlice/constants.js +2 -2
- package/dist/devicesSlice/index.js +2 -2
- package/dist/devicesSlice/mocks.js +2 -2
- package/dist/devicesSlice/selectors.js +2 -2
- package/dist/devicesSlice/thunks.cjs +18 -4
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +41 -3
- package/dist/devicesSlice/thunks.d.ts +41 -3
- package/dist/devicesSlice/thunks.js +19 -17
- package/dist/liststatehook.js +2 -2
- package/dist/locationutils.js +2 -2
- package/dist/monitorSlice/index.js +2 -2
- package/dist/monitorSlice/mocks.js +2 -2
- package/dist/monitorSlice/thunks.cjs +8 -4
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.js +15 -15
- package/dist/onboardingSlice/thunks.cjs +16 -4
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.js +17 -17
- package/dist/organizationSlice/constants.js +2 -2
- package/dist/organizationSlice/index.js +2 -2
- package/dist/organizationSlice/mocks.js +2 -2
- package/dist/organizationSlice/selectors.js +2 -2
- package/dist/organizationSlice/thunks.cjs +16 -4
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.js +17 -17
- package/dist/releasesSlice/index.js +2 -2
- package/dist/releasesSlice/mocks.js +2 -2
- package/dist/releasesSlice/selectors.js +4 -4
- package/dist/releasesSlice/thunks.cjs +8 -4
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.js +15 -15
- package/dist/selectors.cjs +8 -4
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.js +51 -51
- package/dist/sockethook.js +2 -2
- package/dist/store.js +7 -7
- package/dist/storehooks.cjs +16 -4
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +20 -20
- package/dist/thunks.cjs +18 -4
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +1 -1
- package/dist/thunks.d.ts +1 -1
- package/dist/thunks.js +19 -17
- package/dist/useDeploymentDevice.cjs +16 -4
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js +18 -18
- package/dist/usersSlice/constants.js +2 -2
- package/dist/usersSlice/index.js +2 -2
- package/dist/usersSlice/mocks.js +2 -2
- package/dist/usersSlice/selectors.cjs +8 -4
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.js +4 -4
- package/dist/usersSlice/thunks.cjs +16 -4
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.js +17 -17
- package/dist/utils.cjs +8 -4
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +3 -3
- package/package.json +3 -3
- package/dist/chunk-EL672W25.js.map +0 -1
- package/dist/chunk-FUGCLQ5L.js.map +0 -1
- /package/dist/{chunk-GEQ2QQEE.js.map → chunk-42GZ6FGV.js.map} +0 -0
- /package/dist/{chunk-QL6FN2JC.js.map → chunk-43ZBO3JW.js.map} +0 -0
- /package/dist/{chunk-C3EMLDPU.js.map → chunk-45BHMNX6.js.map} +0 -0
- /package/dist/{chunk-GBXG2XBY.js.map → chunk-AV7SRATY.js.map} +0 -0
- /package/dist/{chunk-U5TPV5X5.js.map → chunk-B3C6H2PR.js.map} +0 -0
- /package/dist/{chunk-QFYYTAYD.js.map → chunk-RJRZXDVT.js.map} +0 -0
- /package/dist/{chunk-MZ5NRW3K.js.map → chunk-XOASGJZU.js.map} +0 -0
- /package/dist/{chunk-KJHHSYGP.js.map → chunk-ZAZTNDSY.js.map} +0 -0
package/dist/appSlice/thunks.js
CHANGED
|
@@ -3,39 +3,39 @@ import {
|
|
|
3
3
|
setFirstLoginAfterSignup,
|
|
4
4
|
setOfflineThreshold,
|
|
5
5
|
setSearchState
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-KJ2SUFAU.js";
|
|
7
|
+
import "../chunk-AV7SRATY.js";
|
|
8
|
+
import "../chunk-45BHMNX6.js";
|
|
9
|
+
import "../chunk-ZAZTNDSY.js";
|
|
10
10
|
import "../chunk-XJLZK4QY.js";
|
|
11
11
|
import "../chunk-IRQRV552.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-YR65C62H.js";
|
|
14
|
-
import "../chunk-VODRLEDP.js";
|
|
12
|
+
import "../chunk-RJRZXDVT.js";
|
|
15
13
|
import "../chunk-TRKA7XYU.js";
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-YR65C62H.js";
|
|
17
15
|
import "../chunk-VCEFZTWS.js";
|
|
18
16
|
import "../chunk-PVCHKW35.js";
|
|
17
|
+
import "../chunk-CQXDAXQF.js";
|
|
18
|
+
import "../chunk-VODRLEDP.js";
|
|
19
19
|
import "../chunk-6WJI4MOP.js";
|
|
20
20
|
import "../chunk-OLKM53RL.js";
|
|
21
21
|
import "../chunk-UVTLZV34.js";
|
|
22
22
|
import "../chunk-53W2NRSL.js";
|
|
23
23
|
import "../chunk-NMAXZ3ZY.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-GEQ2QQEE.js";
|
|
28
|
-
import "../chunk-JIS4PA3R.js";
|
|
24
|
+
import "../chunk-XOASGJZU.js";
|
|
25
|
+
import "../chunk-42GZ6FGV.js";
|
|
26
|
+
import "../chunk-43ZBO3JW.js";
|
|
29
27
|
import "../chunk-3NOV7X4M.js";
|
|
30
|
-
import "../chunk-WR6RQKF5.js";
|
|
31
28
|
import "../chunk-YO22XLHI.js";
|
|
29
|
+
import "../chunk-JIS4PA3R.js";
|
|
30
|
+
import "../chunk-WR6RQKF5.js";
|
|
31
|
+
import "../chunk-O7DR57RN.js";
|
|
32
32
|
import "../chunk-4BHM6WVX.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-B3C6H2PR.js";
|
|
34
34
|
import "../chunk-WWED74SG.js";
|
|
35
35
|
import "../chunk-2DYA3X77.js";
|
|
36
|
-
import "../chunk-ZKAH3APE.js";
|
|
37
36
|
import "../chunk-FAJ3I2UQ.js";
|
|
38
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-ZKAH3APE.js";
|
|
38
|
+
import "../chunk-AJ6DIDO4.js";
|
|
39
39
|
export {
|
|
40
40
|
getLatestReleaseInfo,
|
|
41
41
|
setFirstLoginAfterSignup,
|
package/dist/auth.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
} from "./chunk-UVTLZV34.js";
|
|
8
8
|
import "./chunk-WWED74SG.js";
|
|
9
9
|
import "./chunk-2DYA3X77.js";
|
|
10
|
-
import "./chunk-ZKAH3APE.js";
|
|
11
10
|
import "./chunk-FAJ3I2UQ.js";
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ZKAH3APE.js";
|
|
12
|
+
import "./chunk-AJ6DIDO4.js";
|
|
13
13
|
export {
|
|
14
14
|
cleanUp,
|
|
15
15
|
getSessionInfo,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listItemMapper
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B3C6H2PR.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-
|
|
44
|
+
//# sourceMappingURL=chunk-42GZ6FGV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isDarkMode
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B3C6H2PR.js";
|
|
4
4
|
import {
|
|
5
5
|
DEVICE_ONLINE_CUTOFF,
|
|
6
6
|
READ_STATES,
|
|
@@ -79,4 +79,4 @@ export {
|
|
|
79
79
|
getRolesInitialized,
|
|
80
80
|
getSecurityAlertDismissedTimestamp
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-43ZBO3JW.js.map
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
commonErrorFallback,
|
|
3
3
|
commonErrorHandler,
|
|
4
4
|
createAppAsyncThunk
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZAZTNDSY.js";
|
|
6
6
|
import {
|
|
7
7
|
general_api_default
|
|
8
8
|
} from "./chunk-IRQRV552.js";
|
|
9
9
|
import {
|
|
10
10
|
actions_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RJRZXDVT.js";
|
|
12
12
|
import {
|
|
13
13
|
actions,
|
|
14
14
|
sliceName
|
|
15
15
|
} from "./chunk-PVCHKW35.js";
|
|
16
16
|
import {
|
|
17
17
|
getSearchEndpoint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XOASGJZU.js";
|
|
19
19
|
import {
|
|
20
20
|
getDeviceFilters
|
|
21
21
|
} from "./chunk-O7DR57RN.js";
|
|
22
22
|
import {
|
|
23
23
|
convertDeviceListStateToFilters
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-B3C6H2PR.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-
|
|
110
|
+
//# sourceMappingURL=chunk-45BHMNX6.js.map
|
|
@@ -53,7 +53,7 @@ var ADDONS = {
|
|
|
53
53
|
configure: {
|
|
54
54
|
id: "configure",
|
|
55
55
|
title: "Configure",
|
|
56
|
-
description: "
|
|
56
|
+
description: "Seamlessly configure applications and devices remotely \u2013 configure each device to its environment.",
|
|
57
57
|
needs: ["hasDeviceConfig"],
|
|
58
58
|
os: {
|
|
59
59
|
price: "$11/month",
|
|
@@ -68,7 +68,7 @@ var ADDONS = {
|
|
|
68
68
|
monitor: {
|
|
69
69
|
id: "monitor",
|
|
70
70
|
title: "Monitor",
|
|
71
|
-
description: "
|
|
71
|
+
description: "Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.",
|
|
72
72
|
needs: ["hasMonitor"],
|
|
73
73
|
os: {
|
|
74
74
|
price: "-",
|
|
@@ -83,7 +83,7 @@ var ADDONS = {
|
|
|
83
83
|
troubleshoot: {
|
|
84
84
|
id: "troubleshoot",
|
|
85
85
|
title: "Troubleshoot",
|
|
86
|
-
description: "
|
|
86
|
+
description: "Secure, remote access to your devices \u2013 quickly diagnose and fix issues in real time.",
|
|
87
87
|
needs: ["hasDeviceConnect"],
|
|
88
88
|
os: {
|
|
89
89
|
price: "$27/month",
|
|
@@ -97,7 +97,11 @@ var ADDONS = {
|
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
var BENEFITS = {
|
|
100
|
-
auditlog: {
|
|
100
|
+
auditlog: {
|
|
101
|
+
id: "auditlog",
|
|
102
|
+
benefit: "gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays",
|
|
103
|
+
requiredPlan: PLANS.enterprise.id
|
|
104
|
+
},
|
|
101
105
|
dashboard: { id: "dashboard", benefit: "actionable insights into the devices you are updating with Mender", requiredPlan: PLANS.enterprise.id },
|
|
102
106
|
deltaGeneration: {
|
|
103
107
|
id: "deltaGeneration",
|
|
@@ -150,4 +154,4 @@ export {
|
|
|
150
154
|
DARK_MODE,
|
|
151
155
|
LIGHT_MODE
|
|
152
156
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-AJ6DIDO4.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: { micro: number; standard: 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: { standard: 50, micro: 100 },\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: { standard: 250, micro: 500 },\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: { standard: 1000, micro: 2000 },\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: 'Seamlessly configure applications and devices remotely – configure each device to its environment.',\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: 'Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.',\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: 'Secure, remote access to your devices – quickly diagnose and fix issues in real time.',\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: {\n id: 'auditlog',\n benefit: 'gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays',\n requiredPlan: PLANS.enterprise.id\n },\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,IAAM,iBAAiB,CAAC,EAAE,GAAG,qBAAqB,OAAO,MAAM,WAAW,iBAAiB,MAAM,kBAAkB,CAAC;AAEpH,IAAM,oBAAoB;AAE1B,IAAM,YAAY;AAAA,EACvB,IAAI,EAAE,KAAK,MAAM,OAAO,SAAS,UAAU,mBAAmB;AAAA,EAC9D,IAAI,EAAE,KAAK,MAAM,OAAO,MAAM,UAAU,sBAAsB;AAAA,EAC9D,IAAI,EAAE,KAAK,MAAM,OAAO,MAAM,UAAU,mB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ACT,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":[]}
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
commonErrorFallback,
|
|
3
3
|
commonErrorHandler,
|
|
4
4
|
createAppAsyncThunk
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZAZTNDSY.js";
|
|
6
6
|
import {
|
|
7
7
|
general_api_default
|
|
8
8
|
} from "./chunk-IRQRV552.js";
|
|
9
9
|
import {
|
|
10
10
|
actions_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RJRZXDVT.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-
|
|
21
|
+
} from "./chunk-XOASGJZU.js";
|
|
22
22
|
import {
|
|
23
23
|
getReleasesById
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-42GZ6FGV.js";
|
|
25
25
|
import {
|
|
26
26
|
convertDeviceListStateToFilters,
|
|
27
27
|
progress
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-B3C6H2PR.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-
|
|
445
|
+
//# sourceMappingURL=chunk-AV7SRATY.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-2DYA3X77.js";
|
|
17
17
|
import {
|
|
18
18
|
DARK_MODE
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AJ6DIDO4.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-
|
|
236
|
+
//# sourceMappingURL=chunk-B3C6H2PR.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDeviceMonitorConfig,
|
|
3
3
|
getLatestDeviceAlerts
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-45BHMNX6.js";
|
|
5
5
|
import {
|
|
6
6
|
commonErrorFallback,
|
|
7
7
|
commonErrorHandler,
|
|
8
8
|
createAppAsyncThunk
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZAZTNDSY.js";
|
|
10
10
|
import {
|
|
11
11
|
users_api_default
|
|
12
12
|
} from "./chunk-XJLZK4QY.js";
|
|
@@ -15,23 +15,23 @@ import {
|
|
|
15
15
|
} from "./chunk-IRQRV552.js";
|
|
16
16
|
import {
|
|
17
17
|
actions_default
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RJRZXDVT.js";
|
|
19
19
|
import {
|
|
20
20
|
actions as actions6,
|
|
21
21
|
sliceName as sliceName6
|
|
22
22
|
} from "./chunk-YR65C62H.js";
|
|
23
23
|
import {
|
|
24
|
-
actions as
|
|
25
|
-
sliceName as
|
|
26
|
-
} from "./chunk-
|
|
24
|
+
actions as actions5,
|
|
25
|
+
sliceName as sliceName5
|
|
26
|
+
} from "./chunk-VCEFZTWS.js";
|
|
27
27
|
import {
|
|
28
28
|
actions as actions4,
|
|
29
29
|
sliceName as sliceName4
|
|
30
30
|
} from "./chunk-CQXDAXQF.js";
|
|
31
31
|
import {
|
|
32
|
-
actions as
|
|
33
|
-
sliceName as
|
|
34
|
-
} from "./chunk-
|
|
32
|
+
actions as actions3,
|
|
33
|
+
sliceName as sliceName3
|
|
34
|
+
} from "./chunk-VODRLEDP.js";
|
|
35
35
|
import {
|
|
36
36
|
actions,
|
|
37
37
|
sliceName
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
getSearchEndpoint,
|
|
53
53
|
getTenantCapabilities,
|
|
54
54
|
getUserCapabilities
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-XOASGJZU.js";
|
|
56
56
|
import {
|
|
57
57
|
getCurrentSession,
|
|
58
58
|
getCurrentUser,
|
|
@@ -64,7 +64,17 @@ import {
|
|
|
64
64
|
getTooltipsState,
|
|
65
65
|
getUserSettings,
|
|
66
66
|
getUsersById
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-43ZBO3JW.js";
|
|
68
|
+
import {
|
|
69
|
+
getAuditlogState,
|
|
70
|
+
getDeviceTwinIntegrations,
|
|
71
|
+
getOrganization,
|
|
72
|
+
getTenantsList
|
|
73
|
+
} from "./chunk-3NOV7X4M.js";
|
|
74
|
+
import {
|
|
75
|
+
getDeploymentsById,
|
|
76
|
+
getDeploymentsByStatus
|
|
77
|
+
} from "./chunk-WR6RQKF5.js";
|
|
68
78
|
import {
|
|
69
79
|
getAcceptedDevices,
|
|
70
80
|
getDeviceById,
|
|
@@ -76,16 +86,6 @@ import {
|
|
|
76
86
|
getGroupsById,
|
|
77
87
|
getSelectedGroup
|
|
78
88
|
} from "./chunk-O7DR57RN.js";
|
|
79
|
-
import {
|
|
80
|
-
getAuditlogState,
|
|
81
|
-
getDeviceTwinIntegrations,
|
|
82
|
-
getOrganization,
|
|
83
|
-
getTenantsList
|
|
84
|
-
} from "./chunk-3NOV7X4M.js";
|
|
85
|
-
import {
|
|
86
|
-
getDeploymentsById,
|
|
87
|
-
getDeploymentsByStatus
|
|
88
|
-
} from "./chunk-WR6RQKF5.js";
|
|
89
89
|
import {
|
|
90
90
|
getFeatures,
|
|
91
91
|
getSearchState
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
mergePermissions,
|
|
102
102
|
parseSubscriptionPreview,
|
|
103
103
|
progress
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-B3C6H2PR.js";
|
|
105
105
|
import {
|
|
106
106
|
ALL_DEVICE_STATES,
|
|
107
107
|
ALL_RELEASES,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
} from "./chunk-FAJ3I2UQ.js";
|
|
164
164
|
import {
|
|
165
165
|
locations
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-AJ6DIDO4.js";
|
|
167
167
|
|
|
168
168
|
// src/appSlice/thunks.ts
|
|
169
169
|
import { deepCompare as deepCompare4, extractErrorMessage as extractErrorMessage3 } from "@northern.tech/utils/helpers";
|
|
@@ -652,11 +652,18 @@ var addStaticGroup = createAppAsyncThunk(
|
|
|
652
652
|
)
|
|
653
653
|
).catch((err) => commonErrorHandler(err, `Group could not be updated:`, dispatch))
|
|
654
654
|
);
|
|
655
|
+
var removeReportsByGroupName = createAppAsyncThunk(`${sliceName3}/removeReportsByGroupName`, (groupName, { dispatch, getState }) => {
|
|
656
|
+
if (!groupName) return Promise.resolve();
|
|
657
|
+
const reports = getDeviceReportsForUser(getState());
|
|
658
|
+
const filteredReports = reports.filter((report) => report.group !== groupName);
|
|
659
|
+
dispatch(saveUserSettings({ reports: filteredReports }));
|
|
660
|
+
});
|
|
655
661
|
var removeStaticGroup = createAppAsyncThunk(
|
|
656
662
|
`${sliceName3}/removeStaticGroup`,
|
|
657
663
|
(groupName, { dispatch }) => general_api_default.delete(`${inventoryApiUrl}/groups/${groupName}`).then(
|
|
658
664
|
() => Promise.all([
|
|
659
665
|
dispatch(actions3.removeGroup(groupName)),
|
|
666
|
+
dispatch(removeReportsByGroupName(groupName)),
|
|
660
667
|
dispatch(getGroups()),
|
|
661
668
|
dispatch(setSnackbar2({ message: "Group was removed successfully", autoHideDuration: TIMEOUTS.fiveSeconds }))
|
|
662
669
|
])
|
|
@@ -722,6 +729,7 @@ var removeDynamicGroup = createAppAsyncThunk(`${sliceName3}/removeDynamicGroup`,
|
|
|
722
729
|
return general_api_default.delete(`${inventoryApiUrlV2}/filters/${filterId}`).then(
|
|
723
730
|
() => Promise.all([
|
|
724
731
|
dispatch(actions3.removeGroup(groupName)),
|
|
732
|
+
dispatch(removeReportsByGroupName(groupName)),
|
|
725
733
|
dispatch(setSnackbar2({ message: "Group was removed successfully", autoHideDuration: TIMEOUTS.fiveSeconds }))
|
|
726
734
|
])
|
|
727
735
|
);
|
|
@@ -2648,6 +2656,7 @@ export {
|
|
|
2648
2656
|
addDevicesToGroup,
|
|
2649
2657
|
removeDevicesFromGroup,
|
|
2650
2658
|
addStaticGroup,
|
|
2659
|
+
removeReportsByGroupName,
|
|
2651
2660
|
removeStaticGroup,
|
|
2652
2661
|
getDynamicGroups,
|
|
2653
2662
|
addDynamicGroup,
|
|
@@ -2771,4 +2780,4 @@ export {
|
|
|
2771
2780
|
setAllTooltipsReadState,
|
|
2772
2781
|
submitUserFeedback
|
|
2773
2782
|
};
|
|
2774
|
-
//# sourceMappingURL=chunk-
|
|
2783
|
+
//# sourceMappingURL=chunk-KJ2SUFAU.js.map
|