@nebula.js/stardust 3.0.0 → 3.0.2-alpha.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 +13 -8
- 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 +13 -8
- 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 v3.0.0
|
|
2
|
+
* @nebula.js/stardust v3.0.2-alpha.0
|
|
3
3
|
* Copyright (c) 2022 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -17568,7 +17568,7 @@
|
|
|
17568
17568
|
return cache[key];
|
|
17569
17569
|
}
|
|
17570
17570
|
|
|
17571
|
-
const NEBULA_VERSION_HASH = "
|
|
17571
|
+
const NEBULA_VERSION_HASH = "04ac" ;
|
|
17572
17572
|
ClassNameGenerator.configure(componentName => {
|
|
17573
17573
|
|
|
17574
17574
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
@@ -18141,7 +18141,7 @@
|
|
|
18141
18141
|
const appRef = React.createRef();
|
|
18142
18142
|
const element = document.createElement('div');
|
|
18143
18143
|
element.style.display = 'none';
|
|
18144
|
-
element.setAttribute('data-nebulajs-version', "3.0.0" );
|
|
18144
|
+
element.setAttribute('data-nebulajs-version', "3.0.2-alpha.0" );
|
|
18145
18145
|
element.setAttribute('data-app-id', app.id);
|
|
18146
18146
|
document.body.appendChild(element);
|
|
18147
18147
|
ReactDOM.render( /*#__PURE__*/React.createElement(NebulaApp, {
|
|
@@ -36446,6 +36446,12 @@
|
|
|
36446
36446
|
return removeIdx;
|
|
36447
36447
|
}
|
|
36448
36448
|
|
|
36449
|
+
const nxDimension = f => ({
|
|
36450
|
+
qDef: {
|
|
36451
|
+
qFieldDefs: [f]
|
|
36452
|
+
}
|
|
36453
|
+
});
|
|
36454
|
+
|
|
36449
36455
|
const nxMeasure = f => ({
|
|
36450
36456
|
qDef: {
|
|
36451
36457
|
qDef: f
|
|
@@ -36475,10 +36481,9 @@
|
|
|
36475
36481
|
},
|
|
36476
36482
|
|
|
36477
36483
|
addDimension(d) {
|
|
36478
|
-
const dimension = _objectSpread2(_objectSpread2({}, d), {}, {
|
|
36484
|
+
const dimension = typeof d === 'string' ? nxDimension(d) : _objectSpread2(_objectSpread2({}, d), {}, {
|
|
36479
36485
|
qDef: d.qDef || {}
|
|
36480
36486
|
});
|
|
36481
|
-
|
|
36482
36487
|
dimension.qDef.cId = dimension.qDef.cId || uid(); // ====== add default objects and arrays for NxDimension =====
|
|
36483
36488
|
// TODO - apply autosort properties based on tags
|
|
36484
36489
|
|
|
@@ -37909,10 +37914,10 @@
|
|
|
37909
37914
|
theme
|
|
37910
37915
|
} = _ref;
|
|
37911
37916
|
return {
|
|
37912
|
-
["
|
|
37917
|
+
["&.".concat(classes$1.containerStyle)]: {
|
|
37913
37918
|
flexGrow: 0
|
|
37914
37919
|
},
|
|
37915
|
-
["
|
|
37920
|
+
["&.".concat(classes$1.containerTitleStyle)]: {
|
|
37916
37921
|
paddingBottom: theme.spacing(1)
|
|
37917
37922
|
}
|
|
37918
37923
|
};
|
|
@@ -43931,7 +43936,7 @@
|
|
|
43931
43936
|
var enigmaMocker_dev = {exports: {}};
|
|
43932
43937
|
|
|
43933
43938
|
/*
|
|
43934
|
-
* @nebula.js/enigma-mocker v3.0.
|
|
43939
|
+
* @nebula.js/enigma-mocker v3.0.1
|
|
43935
43940
|
* Copyright (c) 2022 QlikTech International AB
|
|
43936
43941
|
* Released under the MIT license.
|
|
43937
43942
|
*/
|