@nebula.js/stardust 5.3.0 → 5.4.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 +235 -92
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +3 -3
- package/core/esm/index.js.map +1 -1
- package/core/package.json +3 -3
- package/dist/stardust.dev.js +241 -93
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +4 -4
- package/dist/stardust.js.map +1 -1
- package/package.json +11 -11
- package/types/index.d.ts +24 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebula.js/stardust",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "Product and framework agnostic integration API for Qlik's Associative Engine",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "QlikTech International AB",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@emotion/react": "^11.13.0",
|
|
45
45
|
"@emotion/styled": "^11.13.0",
|
|
46
|
-
"@mui/icons-material": "^5.16.
|
|
47
|
-
"@mui/material": "^5.16.
|
|
48
|
-
"@nebula.js/conversion": "^5.
|
|
49
|
-
"@nebula.js/enigma-mocker": "^5.
|
|
50
|
-
"@nebula.js/locale": "^5.
|
|
51
|
-
"@nebula.js/nucleus": "^5.
|
|
52
|
-
"@nebula.js/supernova": "^5.
|
|
53
|
-
"@nebula.js/theme": "^5.
|
|
54
|
-
"@nebula.js/ui": "^5.
|
|
46
|
+
"@mui/icons-material": "^5.16.6",
|
|
47
|
+
"@mui/material": "^5.16.6",
|
|
48
|
+
"@nebula.js/conversion": "^5.4.1",
|
|
49
|
+
"@nebula.js/enigma-mocker": "^5.4.1",
|
|
50
|
+
"@nebula.js/locale": "^5.4.1",
|
|
51
|
+
"@nebula.js/nucleus": "^5.4.1",
|
|
52
|
+
"@nebula.js/supernova": "^5.4.1",
|
|
53
|
+
"@nebula.js/theme": "^5.4.1",
|
|
54
|
+
"@nebula.js/ui": "^5.4.1",
|
|
55
55
|
"@qlik/api": "^1.14.0",
|
|
56
56
|
"@scriptappy/cli": "0.10.0",
|
|
57
57
|
"@scriptappy/from-jsdoc": "0.19.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"regenerator-runtime": "0.14.1",
|
|
68
68
|
"semver": "7.6.3"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "cecadd5efeb538f888638685a31e525f8ee50b86"
|
|
71
71
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -122,6 +122,11 @@ export function useTranslator(): stardust.Translator;
|
|
|
122
122
|
*/
|
|
123
123
|
export function useDeviceType(): string;
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* Gets the navigation api to control sheet navigation. When useNavigation is used in Sense, it returns Sense.navigation.
|
|
127
|
+
*/
|
|
128
|
+
export function useNavigation(): stardust.Navigation;
|
|
129
|
+
|
|
125
130
|
/**
|
|
126
131
|
* Gets the array of plugins provided when rendering the visualization.
|
|
127
132
|
*/
|
|
@@ -389,6 +394,8 @@ declare namespace stardust {
|
|
|
389
394
|
|
|
390
395
|
model: string;
|
|
391
396
|
|
|
397
|
+
navigation: stardust.Navigation;
|
|
398
|
+
|
|
392
399
|
/**
|
|
393
400
|
* Destroys the sheet and removes it from the the DOM.
|
|
394
401
|
*/
|
|
@@ -592,6 +599,23 @@ declare namespace stardust {
|
|
|
592
599
|
meta?: object;
|
|
593
600
|
}
|
|
594
601
|
|
|
602
|
+
class Navigation implements stardust.Emitter {
|
|
603
|
+
constructor();
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Navigate to the supplied sheet and emit 'sheetChanged' event if the target sheet Id is valid.
|
|
607
|
+
* This allows a navigation object to synchronize its current sheet item with the active sheet.
|
|
608
|
+
* @param sheetId Id of the sheet to navigate to
|
|
609
|
+
*/
|
|
610
|
+
goToSheet(sheetId: string): void;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Return the current sheet id
|
|
614
|
+
*/
|
|
615
|
+
getCurrentSheetId(): string | "false";
|
|
616
|
+
|
|
617
|
+
}
|
|
618
|
+
|
|
595
619
|
interface ActionToolbarElement extends HTMLElement{
|
|
596
620
|
className: "njs-action-toolbar-popover";
|
|
597
621
|
}
|