@trackunit/filters-asset-filter-definitions 1.15.42 → 1.15.46
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +18 -18
package/index.cjs.js
CHANGED
|
@@ -6143,7 +6143,7 @@ const useInsightsCumulativeIdleHoursFilter = (defaultValue) => {
|
|
|
6143
6143
|
* @returns {FilterBarDefinition} Default asset filter bar definition
|
|
6144
6144
|
*/
|
|
6145
6145
|
const useDefaultAssetFilterBarDefinition = () => {
|
|
6146
|
-
const showHiddenAssetsEnabled = reactCoreHooks.useUserPermission("
|
|
6146
|
+
const showHiddenAssetsEnabled = reactCoreHooks.useUserPermission("asset.manage"); // should be `permissions.ASSET_VISIBILITY_MANAGE` but we can't import { permissions } in this lib 😮💨 (Buildable libraries cannot import non-buildable libraries)
|
|
6147
6147
|
const { hasAccess: serviceManagementEnabled } = reactCoreHooks.useHasAccessTo({ irisAppId: "@trackunit/service-management" });
|
|
6148
6148
|
const assetType = useAssetTypeFilter();
|
|
6149
6149
|
const metadataCompleteness = useMetadataCompletenessFilter();
|
package/index.esm.js
CHANGED
|
@@ -6141,7 +6141,7 @@ const useInsightsCumulativeIdleHoursFilter = (defaultValue) => {
|
|
|
6141
6141
|
* @returns {FilterBarDefinition} Default asset filter bar definition
|
|
6142
6142
|
*/
|
|
6143
6143
|
const useDefaultAssetFilterBarDefinition = () => {
|
|
6144
|
-
const showHiddenAssetsEnabled = useUserPermission("
|
|
6144
|
+
const showHiddenAssetsEnabled = useUserPermission("asset.manage"); // should be `permissions.ASSET_VISIBILITY_MANAGE` but we can't import { permissions } in this lib 😮💨 (Buildable libraries cannot import non-buildable libraries)
|
|
6145
6145
|
const { hasAccess: serviceManagementEnabled } = useHasAccessTo({ irisAppId: "@trackunit/service-management" });
|
|
6146
6146
|
const assetType = useAssetTypeFilter();
|
|
6147
6147
|
const metadataCompleteness = useMetadataCompletenessFilter();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-asset-filter-definitions",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.46",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
"zod": "^3.23.8",
|
|
16
16
|
"string-ts": "^2.0.0",
|
|
17
17
|
"tailwind-merge": "^2.0.0",
|
|
18
|
-
"@trackunit/iris-app-build-utilities": "1.11.
|
|
19
|
-
"@trackunit/filters-filter-bar": "1.11.
|
|
20
|
-
"@trackunit/react-core-hooks": "1.10.
|
|
21
|
-
"@trackunit/react-filter-components": "1.10.
|
|
22
|
-
"@trackunit/react-form-components": "1.11.
|
|
23
|
-
"@trackunit/filters-graphql-hook": "1.14.
|
|
24
|
-
"@trackunit/utilization-indicator": "1.10.
|
|
25
|
-
"@trackunit/geo-json-utils": "1.10.
|
|
26
|
-
"@trackunit/react-components": "1.14.
|
|
27
|
-
"@trackunit/shared-utils": "1.12.
|
|
28
|
-
"@trackunit/translations-machine-type": "1.10.
|
|
29
|
-
"@trackunit/criticality-indicator": "1.10.
|
|
30
|
-
"@trackunit/iris-app-api": "1.13.
|
|
31
|
-
"@trackunit/react-core-contexts-test": "1.10.
|
|
32
|
-
"@trackunit/i18n-library-translation": "1.10.
|
|
33
|
-
"@trackunit/iris-app-runtime-core-api": "1.10.
|
|
34
|
-
"@trackunit/react-graphql-hooks": "1.11.
|
|
18
|
+
"@trackunit/iris-app-build-utilities": "1.11.23",
|
|
19
|
+
"@trackunit/filters-filter-bar": "1.11.38",
|
|
20
|
+
"@trackunit/react-core-hooks": "1.10.27",
|
|
21
|
+
"@trackunit/react-filter-components": "1.10.36",
|
|
22
|
+
"@trackunit/react-form-components": "1.11.32",
|
|
23
|
+
"@trackunit/filters-graphql-hook": "1.14.40",
|
|
24
|
+
"@trackunit/utilization-indicator": "1.10.32",
|
|
25
|
+
"@trackunit/geo-json-utils": "1.10.25",
|
|
26
|
+
"@trackunit/react-components": "1.14.32",
|
|
27
|
+
"@trackunit/shared-utils": "1.12.25",
|
|
28
|
+
"@trackunit/translations-machine-type": "1.10.35",
|
|
29
|
+
"@trackunit/criticality-indicator": "1.10.32",
|
|
30
|
+
"@trackunit/iris-app-api": "1.13.25",
|
|
31
|
+
"@trackunit/react-core-contexts-test": "1.10.27",
|
|
32
|
+
"@trackunit/i18n-library-translation": "1.10.27",
|
|
33
|
+
"@trackunit/iris-app-runtime-core-api": "1.10.27",
|
|
34
|
+
"@trackunit/react-graphql-hooks": "1.11.32"
|
|
35
35
|
},
|
|
36
36
|
"module": "./index.esm.js",
|
|
37
37
|
"main": "./index.cjs.js",
|