@nebula.js/stardust 5.6.0 → 5.7.0
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/core/esm/dev.js +7 -3
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +4 -4
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +7 -3
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +3 -3
- package/dist/stardust.js.map +1 -1
- package/package.json +9 -9
- package/types/index.d.ts +2 -0
package/core/esm/dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v5.
|
|
2
|
+
* @nebula.js/stardust v5.7.0
|
|
3
3
|
* Copyright (c) 2024 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -10772,7 +10772,7 @@ function create$3(definition) {
|
|
|
10772
10772
|
return cache[key];
|
|
10773
10773
|
}
|
|
10774
10774
|
|
|
10775
|
-
const NEBULA_VERSION_HASH = "
|
|
10775
|
+
const NEBULA_VERSION_HASH = "f884";
|
|
10776
10776
|
ClassNameGenerator.configure(componentName => {
|
|
10777
10777
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
10778
10778
|
});
|
|
@@ -11004,7 +11004,7 @@ function boot(_ref2) {
|
|
|
11004
11004
|
const appRef = React__default.createRef();
|
|
11005
11005
|
const element = document.createElement('div');
|
|
11006
11006
|
element.style.display = 'none';
|
|
11007
|
-
element.setAttribute('data-nebulajs-version', "5.
|
|
11007
|
+
element.setAttribute('data-nebulajs-version', "5.7.0");
|
|
11008
11008
|
element.setAttribute('data-app-id', app.id);
|
|
11009
11009
|
document.body.appendChild(element);
|
|
11010
11010
|
if (context) {
|
|
@@ -29100,6 +29100,7 @@ const DEFAULT_SNAPSHOT_CONFIG = /** @lends SnapshotConfiguration */{
|
|
|
29100
29100
|
* @property {Context=} context Settings for the rendering instance
|
|
29101
29101
|
* @property {Array<TypeInfo>=} types Visualization types to register
|
|
29102
29102
|
* @property {Array<ThemeInfo>=} themes Themes to register
|
|
29103
|
+
* @property {object=} hostConfig Qlik api compatible host config, see https://github.com/qlik-oss/qlik-api-ts/blob/main/docs/authentication.md#the-host-config
|
|
29103
29104
|
* @property {object=} anything
|
|
29104
29105
|
* @example
|
|
29105
29106
|
* import { embed } from '@nebula.js/stardust'
|
|
@@ -29198,6 +29199,7 @@ const mergeConfigs = (base, c) => ({
|
|
|
29198
29199
|
types: mergeArray(base.types, c.types),
|
|
29199
29200
|
themes: mergeArray(base.themes, c.themes),
|
|
29200
29201
|
flags: mergeObj(base.flags, c.flags),
|
|
29202
|
+
hostConfig: c.hostConfig || base.hostConfig,
|
|
29201
29203
|
anything: mergeObj(base.anything, c.anything)
|
|
29202
29204
|
});
|
|
29203
29205
|
|
|
@@ -29254,6 +29256,8 @@ function nuked() {
|
|
|
29254
29256
|
/** @type {string} */
|
|
29255
29257
|
deviceType: deviceTypeFn(configuration.context.deviceType),
|
|
29256
29258
|
/** @type {object} */
|
|
29259
|
+
hostConfig: configuration.hostConfig,
|
|
29260
|
+
/** @type {object} */
|
|
29257
29261
|
anything: configuration.anything
|
|
29258
29262
|
},
|
|
29259
29263
|
theme: appTheme$1.externalAPI,
|