@nebula.js/stardust 4.2.3 → 4.2.4
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 -7
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +2 -2
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +7 -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/dist/stardust.dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v4.2.
|
|
2
|
+
* @nebula.js/stardust v4.2.4
|
|
3
3
|
* Copyright (c) 2023 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -14784,7 +14784,7 @@
|
|
|
14784
14784
|
return cache[key];
|
|
14785
14785
|
}
|
|
14786
14786
|
|
|
14787
|
-
const NEBULA_VERSION_HASH = "
|
|
14787
|
+
const NEBULA_VERSION_HASH = "79ef" ;
|
|
14788
14788
|
ClassNameGenerator$1.configure(componentName => {
|
|
14789
14789
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
14790
14790
|
});
|
|
@@ -15031,7 +15031,7 @@
|
|
|
15031
15031
|
const appRef = React.createRef();
|
|
15032
15032
|
const element = document.createElement('div');
|
|
15033
15033
|
element.style.display = 'none';
|
|
15034
|
-
element.setAttribute('data-nebulajs-version', "4.2.
|
|
15034
|
+
element.setAttribute('data-nebulajs-version', "4.2.4" );
|
|
15035
15035
|
element.setAttribute('data-app-id', app.id);
|
|
15036
15036
|
document.body.appendChild(element);
|
|
15037
15037
|
if (context) {
|
|
@@ -33591,9 +33591,9 @@
|
|
|
33591
33591
|
}
|
|
33592
33592
|
return Promise.resolve();
|
|
33593
33593
|
}
|
|
33594
|
-
function runMenu(component, menu, event) {
|
|
33594
|
+
function runMenu(component, menu, event, menuBuilder) {
|
|
33595
33595
|
try {
|
|
33596
|
-
return Promise.all(component.__hooks.menus.map(h => Promise.resolve(h.fn(menu, event)))).then(menus => menus[menus.length - 1]);
|
|
33596
|
+
return Promise.all(component.__hooks.menus.map(h => Promise.resolve(h.fn(menu, event, menuBuilder)))).then(menus => menus[menus.length - 1]);
|
|
33597
33597
|
} catch (e) {
|
|
33598
33598
|
console.error(e);
|
|
33599
33599
|
}
|
|
@@ -34872,8 +34872,8 @@
|
|
|
34872
34872
|
setSnapshotData(layout) {
|
|
34873
34873
|
return generator.component.runSnaps(this, layout);
|
|
34874
34874
|
},
|
|
34875
|
-
onContextMenu(menu, event) {
|
|
34876
|
-
return generator.component.runMenu(this, menu, event);
|
|
34875
|
+
onContextMenu(menu, event, menuBuilder) {
|
|
34876
|
+
return generator.component.runMenu(this, menu, event, menuBuilder);
|
|
34877
34877
|
},
|
|
34878
34878
|
focus() {
|
|
34879
34879
|
generator.component.focus(this);
|