@trackunit/iris-app-runtime-core 1.7.13 → 1.7.14
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
CHANGED
|
@@ -12,7 +12,6 @@ const doNothingByDefault = () => { };
|
|
|
12
12
|
*/
|
|
13
13
|
const setupHostConnector = (subscribedMethods) => {
|
|
14
14
|
const methods = {
|
|
15
|
-
onFilterBarValuesChanged: doNothingByDefault,
|
|
16
15
|
onTokenChanged: doNothingByDefault,
|
|
17
16
|
onAssetSortingStateChanged: doNothingByDefault,
|
|
18
17
|
onAssetsFilterBarValuesChanged: doNothingByDefault,
|
|
@@ -345,13 +344,6 @@ const EventRuntime = {
|
|
|
345
344
|
},
|
|
346
345
|
};
|
|
347
346
|
|
|
348
|
-
const FilterBarRuntime = {
|
|
349
|
-
getFilterBarValues: async () => {
|
|
350
|
-
const api = await getHostConnector();
|
|
351
|
-
return api.getFilterBarValues();
|
|
352
|
-
},
|
|
353
|
-
};
|
|
354
|
-
|
|
355
347
|
const OemBrandingContextRuntime = {
|
|
356
348
|
getOemBrandingContextRuntime: async () => {
|
|
357
349
|
const api = await getHostConnector();
|
|
@@ -553,7 +545,6 @@ exports.CustomerRuntime = CustomerRuntime;
|
|
|
553
545
|
exports.CustomersFilterBarRuntime = CustomersFilterBarRuntime;
|
|
554
546
|
exports.EnvironmentRuntime = EnvironmentRuntime;
|
|
555
547
|
exports.EventRuntime = EventRuntime;
|
|
556
|
-
exports.FilterBarRuntime = FilterBarRuntime;
|
|
557
548
|
exports.ModalDialogRuntime = ModalDialogRuntime;
|
|
558
549
|
exports.NavigationRuntime = NavigationRuntime;
|
|
559
550
|
exports.OemBrandingContextRuntime = OemBrandingContextRuntime;
|
package/index.esm.js
CHANGED
|
@@ -10,7 +10,6 @@ const doNothingByDefault = () => { };
|
|
|
10
10
|
*/
|
|
11
11
|
const setupHostConnector = (subscribedMethods) => {
|
|
12
12
|
const methods = {
|
|
13
|
-
onFilterBarValuesChanged: doNothingByDefault,
|
|
14
13
|
onTokenChanged: doNothingByDefault,
|
|
15
14
|
onAssetSortingStateChanged: doNothingByDefault,
|
|
16
15
|
onAssetsFilterBarValuesChanged: doNothingByDefault,
|
|
@@ -343,13 +342,6 @@ const EventRuntime = {
|
|
|
343
342
|
},
|
|
344
343
|
};
|
|
345
344
|
|
|
346
|
-
const FilterBarRuntime = {
|
|
347
|
-
getFilterBarValues: async () => {
|
|
348
|
-
const api = await getHostConnector();
|
|
349
|
-
return api.getFilterBarValues();
|
|
350
|
-
},
|
|
351
|
-
};
|
|
352
|
-
|
|
353
345
|
const OemBrandingContextRuntime = {
|
|
354
346
|
getOemBrandingContextRuntime: async () => {
|
|
355
347
|
const api = await getHostConnector();
|
|
@@ -540,4 +532,4 @@ const WidgetConfigRuntime = {
|
|
|
540
532
|
},
|
|
541
533
|
};
|
|
542
534
|
|
|
543
|
-
export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, AssetsFilterBarRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomerRuntime, CustomersFilterBarRuntime, EnvironmentRuntime, EventRuntime,
|
|
535
|
+
export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, AssetsFilterBarRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomerRuntime, CustomersFilterBarRuntime, EnvironmentRuntime, EventRuntime, ModalDialogRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, RouterRuntime, SiteRuntime, SitesFilterBarRuntime, ThemeCssRuntime, TimeRangeRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, WidgetConfigRuntime, getCustomFieldValueForDisplayInUI, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, isValidCustomFieldValue, setupHostConnector };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app-runtime-core",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.14",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"penpal": "^6.2.2",
|
|
11
11
|
"jest-fetch-mock": "^3.0.3",
|
|
12
|
-
"@trackunit/react-core-contexts-api": "1.7.
|
|
13
|
-
"@trackunit/iris-app-runtime-core-api": "1.6.
|
|
12
|
+
"@trackunit/react-core-contexts-api": "1.7.14",
|
|
13
|
+
"@trackunit/iris-app-runtime-core-api": "1.6.14",
|
|
14
14
|
"@trackunit/react-test-setup": "1.3.13"
|
|
15
15
|
},
|
|
16
16
|
"module": "./index.esm.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterBarValues } from "@trackunit/react-core-contexts-api";
|
|
2
2
|
export interface AssetsFilterBarRuntimeApi {
|
|
3
|
-
getAssetsFilterBarValues: () => Promise<FilterBarValues>;
|
|
3
|
+
getAssetsFilterBarValues: () => Promise<FilterBarValues | null>;
|
|
4
4
|
}
|
|
5
5
|
export declare const AssetsFilterBarRuntime: AssetsFilterBarRuntimeApi;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterBarValues } from "@trackunit/react-core-contexts-api";
|
|
2
2
|
export interface CustomersFilterBarRuntimeApi {
|
|
3
|
-
getCustomersFilterBarValues: () => Promise<FilterBarValues>;
|
|
3
|
+
getCustomersFilterBarValues: () => Promise<FilterBarValues | null>;
|
|
4
4
|
}
|
|
5
5
|
export declare const CustomersFilterBarRuntime: CustomersFilterBarRuntimeApi;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterBarValues } from "@trackunit/react-core-contexts-api";
|
|
2
2
|
export interface SitesFilterBarRuntimeApi {
|
|
3
|
-
getSitesFilterBarValues: () => Promise<FilterBarValues>;
|
|
3
|
+
getSitesFilterBarValues: () => Promise<FilterBarValues | null>;
|
|
4
4
|
}
|
|
5
5
|
export declare const SitesFilterBarRuntime: SitesFilterBarRuntimeApi;
|
package/src/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export * from "./CustomersFilterBarRuntime";
|
|
|
11
11
|
export * from "./CustomFieldRuntime";
|
|
12
12
|
export * from "./EnvironmentRuntime";
|
|
13
13
|
export * from "./EventRuntime";
|
|
14
|
-
export * from "./FilterBarRuntime";
|
|
15
14
|
export * from "./HostConnector";
|
|
16
15
|
export * from "./IrisOemManifestRuntime";
|
|
17
16
|
export * from "./ModalDialogRuntime";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FilterBarValues } from "@trackunit/react-core-contexts-api";
|
|
2
|
-
export interface FilterBarRuntimeApi {
|
|
3
|
-
/**
|
|
4
|
-
* Gets the filter bar values.
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Use { AssetsFilterBarRuntime.getAssetsFilterBarValues} instead.
|
|
7
|
-
*/
|
|
8
|
-
getFilterBarValues: () => Promise<FilterBarValues>;
|
|
9
|
-
}
|
|
10
|
-
export declare const FilterBarRuntime: FilterBarRuntimeApi;
|