@nebula.js/stardust 3.1.0-alpha.0 → 3.1.0-alpha.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/stardust",
3
- "version": "3.1.0-alpha.0",
3
+ "version": "3.1.0-alpha.2",
4
4
  "description": "Product and framework agnostic integration API for Qlik's Associative Engine",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -42,17 +42,17 @@
42
42
  "@types/qlik-engineapi": "12.67.12"
43
43
  },
44
44
  "devDependencies": {
45
- "@emotion/react": "^11.10.4",
46
- "@emotion/styled": "^11.10.4",
47
- "@mui/icons-material": "^5.10.6",
48
- "@mui/material": "^5.10.8",
49
- "@nebula.js/conversion": "^3.1.0-alpha.0",
50
- "@nebula.js/enigma-mocker": "^3.1.0-alpha.0",
51
- "@nebula.js/locale": "^3.1.0-alpha.0",
52
- "@nebula.js/nucleus": "^3.1.0-alpha.0",
53
- "@nebula.js/supernova": "^3.1.0-alpha.0",
54
- "@nebula.js/theme": "^3.1.0-alpha.0",
55
- "@nebula.js/ui": "^3.1.0-alpha.0",
45
+ "@emotion/react": "^11.10.5",
46
+ "@emotion/styled": "^11.10.5",
47
+ "@mui/icons-material": "^5.10.16",
48
+ "@mui/material": "^5.10.16",
49
+ "@nebula.js/conversion": "^3.1.0-alpha.2",
50
+ "@nebula.js/enigma-mocker": "^3.1.0-alpha.2",
51
+ "@nebula.js/locale": "^3.1.0-alpha.2",
52
+ "@nebula.js/nucleus": "^3.1.0-alpha.2",
53
+ "@nebula.js/supernova": "^3.1.0-alpha.2",
54
+ "@nebula.js/theme": "^3.1.0-alpha.2",
55
+ "@nebula.js/ui": "^3.1.0-alpha.2",
56
56
  "@scriptappy/cli": "0.1.0",
57
57
  "@scriptappy/to-dts": "1.0.0-beta.4",
58
58
  "extend": "3.0.2",
@@ -61,10 +61,10 @@
61
61
  "react-dom": "18.2.0",
62
62
  "react-test-renderer": "18.2.0",
63
63
  "react-virtualized-auto-sizer": "^1.0.7",
64
- "react-window": "1.8.7",
64
+ "react-window": "1.8.8",
65
65
  "react-window-infinite-loader": "1.0.8",
66
- "regenerator-runtime": "0.13.9",
66
+ "regenerator-runtime": "0.13.11",
67
67
  "semver": "6.3.0"
68
68
  },
69
- "gitHead": "06eb9b2d1876ac3abce9a1c749c0b428d3251481"
69
+ "gitHead": "363faf5d8b9fd925fad73e9fe36da3d9d57d5b4b"
70
70
  }
package/types/index.d.ts CHANGED
@@ -324,6 +324,39 @@ declare namespace stardust {
324
324
  isEnabled(flag: string): boolean;
325
325
  }
326
326
 
327
+ type Field = string | EngineAPI.INxDimension | EngineAPI.INxMeasure | stardust.LibraryField;
328
+
329
+ /**
330
+ * Rendering configuration for creating and rendering a new object
331
+ */
332
+ interface CreateConfig extends stardust.BaseConfig{
333
+ type: string;
334
+ version?: string;
335
+ fields?: stardust.Field[];
336
+ properties?: EngineAPI.IGenericObjectProperties;
337
+ }
338
+
339
+ /**
340
+ * Basic rendering configuration for rendering an object
341
+ */
342
+ interface BaseConfig {
343
+ element: HTMLElement;
344
+ options?: object;
345
+ plugins?: stardust.Plugin[];
346
+ }
347
+
348
+ /**
349
+ * Rendering configuration for rendering an existing object
350
+ */
351
+ interface GetConfig extends stardust.BaseConfig{
352
+ id: string;
353
+ }
354
+
355
+ interface LibraryField {
356
+ qLibraryId: string;
357
+ type: "dimension" | "measure";
358
+ }
359
+
327
360
  class AppSelections {
328
361
  constructor();
329
362
 
@@ -384,49 +417,6 @@ declare namespace stardust {
384
417
 
385
418
  }
386
419
 
387
- type Field = string | EngineAPI.INxDimension | EngineAPI.INxMeasure | stardust.LibraryField;
388
-
389
- /**
390
- * Rendering configuration for creating and rendering a new object
391
- */
392
- interface CreateConfig extends stardust.BaseConfig{
393
- type: string;
394
- version?: string;
395
- fields?: stardust.Field[];
396
- properties?: EngineAPI.IGenericObjectProperties;
397
- }
398
-
399
- /**
400
- * Basic rendering configuration for rendering an object
401
- */
402
- interface BaseConfig {
403
- element: HTMLElement;
404
- options?: object;
405
- plugins?: stardust.Plugin[];
406
- }
407
-
408
- /**
409
- * Rendering configuration for rendering an existing object
410
- */
411
- interface GetConfig extends stardust.BaseConfig{
412
- id: string;
413
- }
414
-
415
- interface LibraryField {
416
- qLibraryId: string;
417
- type: "dimension" | "measure";
418
- }
419
-
420
- /**
421
- * An object literal containing meta information about the plugin and a function containing the plugin implementation.
422
- */
423
- interface Plugin {
424
- info: {
425
- name: string;
426
- };
427
- fn: ()=>void;
428
- }
429
-
430
420
  interface LoadType {
431
421
  (type: {
432
422
  name: string;
@@ -441,6 +431,16 @@ declare namespace stardust {
441
431
  meta?: object;
442
432
  }
443
433
 
434
+ /**
435
+ * An object literal containing meta information about the plugin and a function containing the plugin implementation.
436
+ */
437
+ interface Plugin {
438
+ info: {
439
+ name: string;
440
+ };
441
+ fn: ()=>void;
442
+ }
443
+
444
444
  interface ActionToolbarElement extends HTMLElement{
445
445
  className: "njs-action-toolbar-popover";
446
446
  }