@trackunit/iris-app-runtime-core 0.3.179 → 0.3.181
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 -4
- package/index.esm.js +8 -5
- package/package.json +1 -1
- package/src/ThemeCssRuntime.d.ts +5 -0
- package/src/index.d.ts +1 -0
package/index.cjs.js
CHANGED
|
@@ -369,10 +369,6 @@ const NavigationRuntime = {
|
|
|
369
369
|
const api = yield getHostConnector();
|
|
370
370
|
return api.gotoCustomerHome(customerId, options);
|
|
371
371
|
}),
|
|
372
|
-
gotoMyExports: (exportId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
373
|
-
const api = yield getHostConnector();
|
|
374
|
-
return api.gotoMyExports(exportId);
|
|
375
|
-
}),
|
|
376
372
|
gotoAdmin: (url) => __awaiter(void 0, void 0, void 0, function* () {
|
|
377
373
|
const api = yield getHostConnector();
|
|
378
374
|
return api.gotoAdmin(url);
|
|
@@ -430,6 +426,13 @@ const SiteRuntime = {
|
|
|
430
426
|
}),
|
|
431
427
|
};
|
|
432
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
|
+
|
|
433
436
|
const ToastRuntime = {
|
|
434
437
|
addToast(toast) {
|
|
435
438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -483,6 +486,7 @@ exports.ParamsRuntime = ParamsRuntime;
|
|
|
483
486
|
exports.RestRuntime = RestRuntime;
|
|
484
487
|
exports.RouterRuntime = RouterRuntime;
|
|
485
488
|
exports.SiteRuntime = SiteRuntime;
|
|
489
|
+
exports.ThemeCssRuntime = ThemeCssRuntime;
|
|
486
490
|
exports.ToastRuntime = ToastRuntime;
|
|
487
491
|
exports.TokenRuntime = TokenRuntime;
|
|
488
492
|
exports.UserSubscriptionRuntime = UserSubscriptionRuntime;
|
package/index.esm.js
CHANGED
|
@@ -365,10 +365,6 @@ const NavigationRuntime = {
|
|
|
365
365
|
const api = yield getHostConnector();
|
|
366
366
|
return api.gotoCustomerHome(customerId, options);
|
|
367
367
|
}),
|
|
368
|
-
gotoMyExports: (exportId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
369
|
-
const api = yield getHostConnector();
|
|
370
|
-
return api.gotoMyExports(exportId);
|
|
371
|
-
}),
|
|
372
368
|
gotoAdmin: (url) => __awaiter(void 0, void 0, void 0, function* () {
|
|
373
369
|
const api = yield getHostConnector();
|
|
374
370
|
return api.gotoAdmin(url);
|
|
@@ -426,6 +422,13 @@ const SiteRuntime = {
|
|
|
426
422
|
}),
|
|
427
423
|
};
|
|
428
424
|
|
|
425
|
+
const ThemeCssRuntime = {
|
|
426
|
+
getThemeCssProperties: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
427
|
+
const api = yield getHostConnector();
|
|
428
|
+
return api.getThemeCssProperties();
|
|
429
|
+
}),
|
|
430
|
+
};
|
|
431
|
+
|
|
429
432
|
const ToastRuntime = {
|
|
430
433
|
addToast(toast) {
|
|
431
434
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -462,4 +465,4 @@ const UserSubscriptionRuntime = {
|
|
|
462
465
|
}),
|
|
463
466
|
};
|
|
464
467
|
|
|
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 };
|
|
468
|
+
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";
|