@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/core/esm/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
|
*/
|
|
@@ -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 = "28fc";
|
|
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.1");
|
|
11008
11008
|
element.setAttribute('data-app-id', app.id);
|
|
11009
11009
|
document.body.appendChild(element);
|
|
11010
11010
|
if (context) {
|
|
@@ -23149,17 +23149,21 @@ function Header(_ref2) {
|
|
|
23149
23149
|
container: true,
|
|
23150
23150
|
wrap: "nowrap",
|
|
23151
23151
|
direction: "column"
|
|
23152
|
-
}, showTitle && /*#__PURE__*/React__default.createElement(
|
|
23152
|
+
}, showTitle && /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
23153
|
+
title: layout.title
|
|
23154
|
+
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
23153
23155
|
variant: "h6",
|
|
23154
23156
|
noWrap: true,
|
|
23155
23157
|
className: CellTitle.className,
|
|
23156
23158
|
style: titleStyles.main
|
|
23157
|
-
}, layout.title), showSubtitle && /*#__PURE__*/React__default.createElement(
|
|
23159
|
+
}, layout.title)), showSubtitle && /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
23160
|
+
title: layout.subtitle
|
|
23161
|
+
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
23158
23162
|
variant: "body2",
|
|
23159
23163
|
noWrap: true,
|
|
23160
23164
|
className: CellSubTitle.className,
|
|
23161
23165
|
style: titleStyles.subTitle
|
|
23162
|
-
}, layout.subtitle))), /*#__PURE__*/React__default.createElement(Grid, {
|
|
23166
|
+
}, layout.subtitle)))), /*#__PURE__*/React__default.createElement(Grid, {
|
|
23163
23167
|
item: true
|
|
23164
23168
|
}, Toolbar));
|
|
23165
23169
|
}
|
|
@@ -23199,12 +23203,14 @@ function Footer(_ref2) {
|
|
|
23199
23203
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
23200
23204
|
item: true,
|
|
23201
23205
|
className: classes.itemStyle
|
|
23206
|
+
}, /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
23207
|
+
title: layout.footnote
|
|
23202
23208
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
23203
23209
|
noWrap: true,
|
|
23204
23210
|
variant: "body2",
|
|
23205
23211
|
className: CellFooter.className,
|
|
23206
23212
|
style: titleStyles.footer
|
|
23207
|
-
}, layout.footnote))) : null;
|
|
23213
|
+
}, layout.footnote)))) : null;
|
|
23208
23214
|
}
|
|
23209
23215
|
|
|
23210
23216
|
class RenderDebouncer {
|
|
@@ -29100,6 +29106,7 @@ const DEFAULT_SNAPSHOT_CONFIG = /** @lends SnapshotConfiguration */{
|
|
|
29100
29106
|
* @property {Context=} context Settings for the rendering instance
|
|
29101
29107
|
* @property {Array<TypeInfo>=} types Visualization types to register
|
|
29102
29108
|
* @property {Array<ThemeInfo>=} themes Themes to register
|
|
29109
|
+
* @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
29110
|
* @property {object=} anything
|
|
29104
29111
|
* @example
|
|
29105
29112
|
* import { embed } from '@nebula.js/stardust'
|
|
@@ -29198,6 +29205,7 @@ const mergeConfigs = (base, c) => ({
|
|
|
29198
29205
|
types: mergeArray(base.types, c.types),
|
|
29199
29206
|
themes: mergeArray(base.themes, c.themes),
|
|
29200
29207
|
flags: mergeObj(base.flags, c.flags),
|
|
29208
|
+
hostConfig: c.hostConfig || base.hostConfig,
|
|
29201
29209
|
anything: mergeObj(base.anything, c.anything)
|
|
29202
29210
|
});
|
|
29203
29211
|
|
|
@@ -29254,6 +29262,8 @@ function nuked() {
|
|
|
29254
29262
|
/** @type {string} */
|
|
29255
29263
|
deviceType: deviceTypeFn(configuration.context.deviceType),
|
|
29256
29264
|
/** @type {object} */
|
|
29265
|
+
hostConfig: configuration.hostConfig,
|
|
29266
|
+
/** @type {object} */
|
|
29257
29267
|
anything: configuration.anything
|
|
29258
29268
|
},
|
|
29259
29269
|
theme: appTheme$1.externalAPI,
|