@sisense/sdk-ui-vue 2.3.0 → 2.4.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.
Files changed (38) hide show
  1. package/dist/ai.cjs +23 -22
  2. package/dist/ai.js +642 -543
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.js +935 -805
  5. package/dist/packages/sdk-ui-vue/src/components/charts/chart.d.ts +2 -2
  6. package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard-by-id.d.ts +2 -6
  7. package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +2 -6
  8. package/dist/packages/sdk-ui-vue/src/components/dashboard/index.d.ts +2 -2
  9. package/dist/packages/sdk-ui-vue/src/components/filters/filters-panel.d.ts +106 -0
  10. package/dist/packages/sdk-ui-vue/src/components/filters/index.d.ts +1 -0
  11. package/dist/packages/sdk-ui-vue/src/components/widgets/chart-widget.d.ts +2 -2
  12. package/dist/packages/sdk-ui-vue/src/components/widgets/index.d.ts +1 -1
  13. package/dist/packages/sdk-ui-vue/src/components/widgets/widget-by-id.d.ts +2 -2
  14. package/dist/packages/sdk-ui-vue/src/components/widgets/widget.d.ts +13 -13
  15. package/dist/packages/sdk-ui-vue/src/composables/index.d.ts +4 -1
  16. package/dist/packages/sdk-ui-vue/src/composables/use-custom-widgets.d.ts +46 -0
  17. package/dist/packages/sdk-ui-vue/src/composables/use-execute-custom-widget-query.d.ts +45 -0
  18. package/dist/packages/sdk-ui-vue/src/composables/use-get-filter-members.d.ts +46 -0
  19. package/dist/packages/sdk-ui-vue/src/helpers/context-connectors/custom-widgets-context-connector.d.ts +8 -0
  20. package/dist/packages/sdk-ui-vue/src/helpers/context-connectors/index.d.ts +1 -1
  21. package/dist/packages/sdk-ui-vue/src/helpers/dynamic-renderer.d.ts +16 -0
  22. package/dist/packages/sdk-ui-vue/src/helpers/setup-helper.d.ts +1 -1
  23. package/dist/packages/sdk-ui-vue/src/lib.d.ts +1 -1
  24. package/dist/packages/sdk-ui-vue/src/providers/custom-widgets-provider/custom-widgets-context.d.ts +12 -0
  25. package/dist/packages/sdk-ui-vue/src/providers/{plugins-provider/plugins-provider.d.ts → custom-widgets-provider/custom-widgets-provider.d.ts} +3 -3
  26. package/dist/packages/sdk-ui-vue/src/providers/custom-widgets-provider/index.d.ts +2 -0
  27. package/dist/packages/sdk-ui-vue/src/providers/index.d.ts +1 -1
  28. package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +1 -1
  29. package/dist/packages/sdk-ui-vue/src/types/index.d.ts +0 -1
  30. package/dist/use-tracking-522444fb.cjs +1073 -0
  31. package/dist/{use-tracking-594f296b.js → use-tracking-d5f179d9.js} +38192 -38020
  32. package/package.json +2 -2
  33. package/dist/packages/sdk-ui-vue/src/composables/use-plugins.d.ts +0 -4
  34. package/dist/packages/sdk-ui-vue/src/helpers/context-connectors/plugins-context-connector.d.ts +0 -8
  35. package/dist/packages/sdk-ui-vue/src/providers/plugins-provider/index.d.ts +0 -2
  36. package/dist/packages/sdk-ui-vue/src/providers/plugins-provider/plugins-context.d.ts +0 -10
  37. package/dist/packages/sdk-ui-vue/src/types/dashboard-config.d.ts +0 -24
  38. package/dist/use-tracking-58ebfa35.cjs +0 -1073
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "2.3.0",
14
+ "version": "2.4.0",
15
15
  "type": "module",
16
16
  "main": "./dist/index.cjs",
17
17
  "module": "./dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "format:check": "prettier --check ."
57
57
  },
58
58
  "dependencies": {
59
- "@sisense/sdk-ui-preact": "2.3.0",
59
+ "@sisense/sdk-ui-preact": "2.4.0",
60
60
  "deepmerge": "^4.3.1",
61
61
  "lodash-es": "^4.17.21",
62
62
  "vue": "^3.3.2"
@@ -1,4 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export declare const usePlugins: () => import("@sisense/sdk-ui").CustomPluginsContext;
@@ -1,8 +0,0 @@
1
- import type { ContextConnector, CustomPluginsProviderProps } from '@sisense/sdk-ui-preact';
2
- /**
3
- * Creates plugins context connector
4
- *
5
- * @group Contexts
6
- * @internal
7
- */
8
- export declare const createPluginsContextConnector: () => ContextConnector<CustomPluginsProviderProps>;
@@ -1,2 +0,0 @@
1
- export * from './plugins-provider';
2
- export * from './plugins-context';
@@ -1,10 +0,0 @@
1
- import type { InjectionKey, Ref } from 'vue';
2
- import type { CustomPluginsContext } from '@sisense/sdk-ui-preact';
3
- export declare const defaultPluginsContext: CustomPluginsContext;
4
- export declare const pluginsContextKey: InjectionKey<Ref<CustomPluginsContext>>;
5
- /**
6
- * Gets Plugins context
7
- *
8
- * @group Contexts
9
- */
10
- export declare const getPluginsContext: () => Ref<CustomPluginsContext>;
@@ -1,24 +0,0 @@
1
- import type { DashboardConfig as DashboardConfigPreact, DashboardByIdConfig as DashboardByIdConfigPreact, DashboardFiltersPanelConfig as DashboardFiltersPanelConfigPreact } from '@sisense/sdk-ui-preact';
2
- /**
3
- * {@inheritDoc @sisense/sdk-ui!DashboardFiltersPanelConfig}
4
- */
5
- export interface DashboardFiltersPanelConfig extends Omit<DashboardFiltersPanelConfigPreact, 'actions'> {
6
- }
7
- /**
8
- * {@inheritDoc @sisense/sdk-ui!DashboardConfig}
9
- */
10
- export interface DashboardConfig extends Omit<DashboardConfigPreact, 'filtersPanel'> {
11
- /**
12
- * {@inheritDoc @sisense/sdk-ui!DashboardConfig.filtersPanel}
13
- */
14
- filtersPanel?: DashboardFiltersPanelConfig;
15
- }
16
- /**
17
- * {@inheritDoc @sisense/sdk-ui!DashboardByIdConfig}
18
- */
19
- export interface DashboardByIdConfig extends Omit<DashboardByIdConfigPreact, 'filtersPanel'> {
20
- /**
21
- * {@inheritDoc @sisense/sdk-ui!DashboardByIdConfig.filtersPanel}
22
- */
23
- filtersPanel?: DashboardFiltersPanelConfig;
24
- }