@c8y/options 1020.24.2 → 1020.26.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/options",
|
|
3
|
-
"version": "1020.
|
|
3
|
+
"version": "1020.26.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Cumulocity",
|
|
6
6
|
"description": "Cumulocity application options",
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
"options"
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@c8y/client": "1020.
|
|
20
|
+
"@c8y/client": "1020.26.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -40,6 +40,8 @@ export interface ApplicationOptions {
|
|
|
40
40
|
faviconUrl?: string;
|
|
41
41
|
/** URL to *.css file which will replace default branding. */
|
|
42
42
|
brandingUrl?: string;
|
|
43
|
+
/** Enables the branding preview mode. If set to true, the `dynamicOptionsUrl` will be polled regularly for changes. In case the `lastUpdated` field of the dynamic options changes, the page is reloaded in order to apply the new branding. */
|
|
44
|
+
brandingPreview?: boolean;
|
|
43
45
|
/** Object with properties that will be converted to CSS custom variables. */
|
|
44
46
|
brandingCssVars?: BrandingCssVars;
|
|
45
47
|
/**
|
|
@@ -85,6 +87,8 @@ export interface ApplicationOptions {
|
|
|
85
87
|
i18nExtra?: I18nExtra;
|
|
86
88
|
/** Array of URLs to additional *.css files to be loaded at runtime. */
|
|
87
89
|
extraCssUrls?: string[];
|
|
90
|
+
/** Stylesheet (CSS) that will be added at runtime. The string should actually contain the CSS not a path or URL to it. */
|
|
91
|
+
extraCss?: string;
|
|
88
92
|
/** Documentation links settings. */
|
|
89
93
|
docs?: Docs;
|
|
90
94
|
/** Application icon to be displayed in app switcher and header bar. */
|
|
@@ -364,6 +368,8 @@ export interface CookieBannerConfiguration {
|
|
|
364
368
|
cookieBannerText?: string;
|
|
365
369
|
/** Here you can set the policyUrl of Cookie Banner */
|
|
366
370
|
policyUrl?: string;
|
|
371
|
+
/** Here you can set the version of the cookie policy. In case the version changes, users will need to re-accept the cookies. */
|
|
372
|
+
policyVersion?: string;
|
|
367
373
|
}
|
|
368
374
|
|
|
369
375
|
export interface CookiePreferencesConfiguration {
|