@trackunit/iris-app-runtime-core 0.3.179 → 0.3.180
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 +8 -0
- package/index.esm.js +8 -1
- package/package.json +1 -1
- package/src/ThemeCssRuntime.d.ts +5 -0
- package/src/index.d.ts +1 -0
package/index.cjs.js
CHANGED
|
@@ -430,6 +430,13 @@ const SiteRuntime = {
|
|
|
430
430
|
}),
|
|
431
431
|
};
|
|
432
432
|
|
|
433
|
+
const ThemeCssRuntime = {
|
|
434
|
+
getThemeCssProperties: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
435
|
+
const api = yield getHostConnector();
|
|
436
|
+
return api.getThemeCssProperties();
|
|
437
|
+
}),
|
|
438
|
+
};
|
|
439
|
+
|
|
433
440
|
const ToastRuntime = {
|
|
434
441
|
addToast(toast) {
|
|
435
442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -483,6 +490,7 @@ exports.ParamsRuntime = ParamsRuntime;
|
|
|
483
490
|
exports.RestRuntime = RestRuntime;
|
|
484
491
|
exports.RouterRuntime = RouterRuntime;
|
|
485
492
|
exports.SiteRuntime = SiteRuntime;
|
|
493
|
+
exports.ThemeCssRuntime = ThemeCssRuntime;
|
|
486
494
|
exports.ToastRuntime = ToastRuntime;
|
|
487
495
|
exports.TokenRuntime = TokenRuntime;
|
|
488
496
|
exports.UserSubscriptionRuntime = UserSubscriptionRuntime;
|
package/index.esm.js
CHANGED
|
@@ -426,6 +426,13 @@ const SiteRuntime = {
|
|
|
426
426
|
}),
|
|
427
427
|
};
|
|
428
428
|
|
|
429
|
+
const ThemeCssRuntime = {
|
|
430
|
+
getThemeCssProperties: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
431
|
+
const api = yield getHostConnector();
|
|
432
|
+
return api.getThemeCssProperties();
|
|
433
|
+
}),
|
|
434
|
+
};
|
|
435
|
+
|
|
429
436
|
const ToastRuntime = {
|
|
430
437
|
addToast(toast) {
|
|
431
438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -462,4 +469,4 @@ const UserSubscriptionRuntime = {
|
|
|
462
469
|
}),
|
|
463
470
|
};
|
|
464
471
|
|
|
465
|
-
export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomerRuntime, EnvironmentRuntime, EventRuntime, FilterBarRuntime, ModalDialogRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, RouterRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueForDisplayInUI, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, isValidCustomFieldValue, setupHostConnector };
|
|
472
|
+
export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomerRuntime, EnvironmentRuntime, EventRuntime, FilterBarRuntime, ModalDialogRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, RouterRuntime, SiteRuntime, ThemeCssRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueForDisplayInUI, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, isValidCustomFieldValue, setupHostConnector };
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./ParamsRuntime";
|
|
|
18
18
|
export * from "./RestRuntime";
|
|
19
19
|
export * from "./RouterRuntime";
|
|
20
20
|
export * from "./SiteRuntime";
|
|
21
|
+
export * from "./ThemeCssRuntime";
|
|
21
22
|
export * from "./ToastRuntime";
|
|
22
23
|
export * from "./TokenRuntime";
|
|
23
24
|
export * from "./UserSubscriptionRuntime";
|