@trackunit/iris-app-runtime-core 0.3.128 → 0.3.131
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 +10 -0
- package/index.esm.js +10 -1
- package/package.json +1 -1
- package/src/ConfirmationDialogRuntime.d.ts +2 -0
- package/src/index.d.ts +1 -0
package/index.cjs.js
CHANGED
|
@@ -95,6 +95,15 @@ const AssetSortingRuntime = {
|
|
|
95
95
|
}),
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
+
const ConfirmationDialogRuntime = {
|
|
99
|
+
confirm(props) {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
const api = yield getHostConnector();
|
|
102
|
+
return api.confirm(Object.assign({}, props));
|
|
103
|
+
});
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
|
|
98
107
|
const CurrentUserPreferenceRuntime = {
|
|
99
108
|
getCurrentUserLanguage: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
100
109
|
const api = yield getHostConnector();
|
|
@@ -406,6 +415,7 @@ const UserSubscriptionRuntime = {
|
|
|
406
415
|
exports.AnalyticsContextRuntime = AnalyticsContextRuntime;
|
|
407
416
|
exports.AssetRuntime = AssetRuntime;
|
|
408
417
|
exports.AssetSortingRuntime = AssetSortingRuntime;
|
|
418
|
+
exports.ConfirmationDialogRuntime = ConfirmationDialogRuntime;
|
|
409
419
|
exports.CurrentUserPreferenceRuntime = CurrentUserPreferenceRuntime;
|
|
410
420
|
exports.CurrentUserRuntime = CurrentUserRuntime;
|
|
411
421
|
exports.CustomFieldRuntime = CustomFieldRuntime;
|
package/index.esm.js
CHANGED
|
@@ -91,6 +91,15 @@ const AssetSortingRuntime = {
|
|
|
91
91
|
}),
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
+
const ConfirmationDialogRuntime = {
|
|
95
|
+
confirm(props) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
const api = yield getHostConnector();
|
|
98
|
+
return api.confirm(Object.assign({}, props));
|
|
99
|
+
});
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
|
|
94
103
|
const CurrentUserPreferenceRuntime = {
|
|
95
104
|
getCurrentUserLanguage: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
96
105
|
const api = yield getHostConnector();
|
|
@@ -399,4 +408,4 @@ const UserSubscriptionRuntime = {
|
|
|
399
408
|
}),
|
|
400
409
|
};
|
|
401
410
|
|
|
402
|
-
export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, EventRuntime, FilterBarRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
|
|
411
|
+
export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, EventRuntime, FilterBarRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "@trackunit/iris-app-runtime-core-api";
|
|
|
2
2
|
export * from "./AnalyticsRuntime";
|
|
3
3
|
export * from "./AssetRuntime";
|
|
4
4
|
export * from "./AssetSortingRuntime";
|
|
5
|
+
export * from "./ConfirmationDialogRuntime";
|
|
5
6
|
export * from "./CurrentPreferenceUserRuntime";
|
|
6
7
|
export * from "./CurrentUserRuntime";
|
|
7
8
|
export * from "./CustomFieldRuntime";
|