@nebula.js/stardust 5.6.0 → 5.7.1
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 +17 -7
- 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 +17 -7
- 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/dist/stardust.dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v5.
|
|
2
|
+
* @nebula.js/stardust v5.7.1
|
|
3
3
|
* Copyright (c) 2024 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -15373,7 +15373,7 @@
|
|
|
15373
15373
|
return cache[key];
|
|
15374
15374
|
}
|
|
15375
15375
|
|
|
15376
|
-
const NEBULA_VERSION_HASH = "
|
|
15376
|
+
const NEBULA_VERSION_HASH = "28fc";
|
|
15377
15377
|
ClassNameGenerator.configure(componentName => {
|
|
15378
15378
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
15379
15379
|
});
|
|
@@ -15605,7 +15605,7 @@
|
|
|
15605
15605
|
const appRef = React.createRef();
|
|
15606
15606
|
const element = document.createElement('div');
|
|
15607
15607
|
element.style.display = 'none';
|
|
15608
|
-
element.setAttribute('data-nebulajs-version', "5.
|
|
15608
|
+
element.setAttribute('data-nebulajs-version', "5.7.1");
|
|
15609
15609
|
element.setAttribute('data-app-id', app.id);
|
|
15610
15610
|
document.body.appendChild(element);
|
|
15611
15611
|
if (context) {
|
|
@@ -36053,17 +36053,21 @@
|
|
|
36053
36053
|
container: true,
|
|
36054
36054
|
wrap: "nowrap",
|
|
36055
36055
|
direction: "column"
|
|
36056
|
-
}, showTitle && /*#__PURE__*/React.createElement(
|
|
36056
|
+
}, showTitle && /*#__PURE__*/React.createElement(Tooltip, {
|
|
36057
|
+
title: layout.title
|
|
36058
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
36057
36059
|
variant: "h6",
|
|
36058
36060
|
noWrap: true,
|
|
36059
36061
|
className: CellTitle.className,
|
|
36060
36062
|
style: titleStyles.main
|
|
36061
|
-
}, layout.title), showSubtitle && /*#__PURE__*/React.createElement(
|
|
36063
|
+
}, layout.title)), showSubtitle && /*#__PURE__*/React.createElement(Tooltip, {
|
|
36064
|
+
title: layout.subtitle
|
|
36065
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
36062
36066
|
variant: "body2",
|
|
36063
36067
|
noWrap: true,
|
|
36064
36068
|
className: CellSubTitle.className,
|
|
36065
36069
|
style: titleStyles.subTitle
|
|
36066
|
-
}, layout.subtitle))), /*#__PURE__*/React.createElement(Grid, {
|
|
36070
|
+
}, layout.subtitle)))), /*#__PURE__*/React.createElement(Grid, {
|
|
36067
36071
|
item: true
|
|
36068
36072
|
}, Toolbar));
|
|
36069
36073
|
}
|
|
@@ -36103,12 +36107,14 @@
|
|
|
36103
36107
|
}, /*#__PURE__*/React.createElement(Grid, {
|
|
36104
36108
|
item: true,
|
|
36105
36109
|
className: classes.itemStyle
|
|
36110
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
36111
|
+
title: layout.footnote
|
|
36106
36112
|
}, /*#__PURE__*/React.createElement(Typography, {
|
|
36107
36113
|
noWrap: true,
|
|
36108
36114
|
variant: "body2",
|
|
36109
36115
|
className: CellFooter.className,
|
|
36110
36116
|
style: titleStyles.footer
|
|
36111
|
-
}, layout.footnote))) : null;
|
|
36117
|
+
}, layout.footnote)))) : null;
|
|
36112
36118
|
}
|
|
36113
36119
|
|
|
36114
36120
|
class RenderDebouncer {
|
|
@@ -42004,6 +42010,7 @@
|
|
|
42004
42010
|
* @property {Context=} context Settings for the rendering instance
|
|
42005
42011
|
* @property {Array<TypeInfo>=} types Visualization types to register
|
|
42006
42012
|
* @property {Array<ThemeInfo>=} themes Themes to register
|
|
42013
|
+
* @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
|
|
42007
42014
|
* @property {object=} anything
|
|
42008
42015
|
* @example
|
|
42009
42016
|
* import { embed } from '@nebula.js/stardust'
|
|
@@ -42102,6 +42109,7 @@
|
|
|
42102
42109
|
types: mergeArray(base.types, c.types),
|
|
42103
42110
|
themes: mergeArray(base.themes, c.themes),
|
|
42104
42111
|
flags: mergeObj(base.flags, c.flags),
|
|
42112
|
+
hostConfig: c.hostConfig || base.hostConfig,
|
|
42105
42113
|
anything: mergeObj(base.anything, c.anything)
|
|
42106
42114
|
});
|
|
42107
42115
|
|
|
@@ -42158,6 +42166,8 @@
|
|
|
42158
42166
|
/** @type {string} */
|
|
42159
42167
|
deviceType: deviceTypeFn(configuration.context.deviceType),
|
|
42160
42168
|
/** @type {object} */
|
|
42169
|
+
hostConfig: configuration.hostConfig,
|
|
42170
|
+
/** @type {object} */
|
|
42161
42171
|
anything: configuration.anything
|
|
42162
42172
|
},
|
|
42163
42173
|
theme: appTheme$1.externalAPI,
|