@trackunit/iris-app-runtime-core 1.8.50 → 1.8.52
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 +12 -0
- package/index.esm.js +12 -1
- package/package.json +4 -4
- package/src/ExportDataRuntime.d.ts +2 -0
- package/src/ToastRuntime.d.ts +1 -0
- package/src/index.d.ts +1 -0
package/index.cjs.js
CHANGED
|
@@ -346,6 +346,13 @@ const EventRuntime = {
|
|
|
346
346
|
},
|
|
347
347
|
};
|
|
348
348
|
|
|
349
|
+
const ExportDataRuntime = {
|
|
350
|
+
exportData: async ({ document, variables, columns, name, headers, }) => {
|
|
351
|
+
const api = await getHostConnector();
|
|
352
|
+
return api.exportData({ document, variables, columns, name, headers });
|
|
353
|
+
},
|
|
354
|
+
};
|
|
355
|
+
|
|
349
356
|
const OemBrandingContextRuntime = {
|
|
350
357
|
getOemBrandingContextRuntime: async () => {
|
|
351
358
|
const api = await getHostConnector();
|
|
@@ -529,6 +536,10 @@ const ToastRuntime = {
|
|
|
529
536
|
break;
|
|
530
537
|
}
|
|
531
538
|
},
|
|
539
|
+
async removeToast(id) {
|
|
540
|
+
const api = await getHostConnector();
|
|
541
|
+
await api.removeToast(id);
|
|
542
|
+
},
|
|
532
543
|
};
|
|
533
544
|
|
|
534
545
|
const TokenRuntime = {
|
|
@@ -595,6 +606,7 @@ exports.CustomerRuntime = CustomerRuntime;
|
|
|
595
606
|
exports.CustomersFilterBarRuntime = CustomersFilterBarRuntime;
|
|
596
607
|
exports.EnvironmentRuntime = EnvironmentRuntime;
|
|
597
608
|
exports.EventRuntime = EventRuntime;
|
|
609
|
+
exports.ExportDataRuntime = ExportDataRuntime;
|
|
598
610
|
exports.ModalDialogRuntime = ModalDialogRuntime;
|
|
599
611
|
exports.NavigationRuntime = NavigationRuntime;
|
|
600
612
|
exports.OemBrandingContextRuntime = OemBrandingContextRuntime;
|
package/index.esm.js
CHANGED
|
@@ -344,6 +344,13 @@ const EventRuntime = {
|
|
|
344
344
|
},
|
|
345
345
|
};
|
|
346
346
|
|
|
347
|
+
const ExportDataRuntime = {
|
|
348
|
+
exportData: async ({ document, variables, columns, name, headers, }) => {
|
|
349
|
+
const api = await getHostConnector();
|
|
350
|
+
return api.exportData({ document, variables, columns, name, headers });
|
|
351
|
+
},
|
|
352
|
+
};
|
|
353
|
+
|
|
347
354
|
const OemBrandingContextRuntime = {
|
|
348
355
|
getOemBrandingContextRuntime: async () => {
|
|
349
356
|
const api = await getHostConnector();
|
|
@@ -527,6 +534,10 @@ const ToastRuntime = {
|
|
|
527
534
|
break;
|
|
528
535
|
}
|
|
529
536
|
},
|
|
537
|
+
async removeToast(id) {
|
|
538
|
+
const api = await getHostConnector();
|
|
539
|
+
await api.removeToast(id);
|
|
540
|
+
},
|
|
530
541
|
};
|
|
531
542
|
|
|
532
543
|
const TokenRuntime = {
|
|
@@ -582,4 +593,4 @@ const WidgetConfigRuntime = {
|
|
|
582
593
|
},
|
|
583
594
|
};
|
|
584
595
|
|
|
585
|
-
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 };
|
|
596
|
+
export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, AssetsFilterBarRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomerRuntime, CustomersFilterBarRuntime, EnvironmentRuntime, EventRuntime, ExportDataRuntime, 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.8.
|
|
3
|
+
"version": "1.8.52",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"penpal": "^6.2.2",
|
|
11
11
|
"jest-fetch-mock": "^3.0.3",
|
|
12
|
-
"@trackunit/react-core-contexts-api": "1.8.
|
|
13
|
-
"@trackunit/iris-app-runtime-core-api": "1.7.
|
|
14
|
-
"@trackunit/react-test-setup": "1.4.
|
|
12
|
+
"@trackunit/react-core-contexts-api": "1.8.52",
|
|
13
|
+
"@trackunit/iris-app-runtime-core-api": "1.7.52",
|
|
14
|
+
"@trackunit/react-test-setup": "1.4.47"
|
|
15
15
|
},
|
|
16
16
|
"module": "./index.esm.js",
|
|
17
17
|
"main": "./index.cjs.js",
|
package/src/ToastRuntime.d.ts
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from "./CustomersFilterBarRuntime";
|
|
|
11
11
|
export * from "./CustomFieldRuntime";
|
|
12
12
|
export * from "./EnvironmentRuntime";
|
|
13
13
|
export * from "./EventRuntime";
|
|
14
|
+
export * from "./ExportDataRuntime";
|
|
14
15
|
export * from "./HostConnector";
|
|
15
16
|
export * from "./IrisOemManifestRuntime";
|
|
16
17
|
export * from "./ModalDialogRuntime";
|