@sisense/sdk-ui-vue 2.26.0 → 2.28.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/dist/ai.cjs +1 -1
- package/dist/ai.js +44 -45
- package/dist/index.cjs +1 -1
- package/dist/index.js +434 -426
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +5 -4
- package/dist/packages/sdk-ui-vue/src/helpers/vue-component-adapter.d.ts +2 -2
- package/dist/packages/sdk-ui-vue/src/providers/theme-provider/theme-context.d.ts +3 -3
- package/dist/{use-tracking-04bcc493.js → use-tracking-b2365036.js} +5 -5
- package/package.json +3 -3
|
@@ -20,13 +20,14 @@ export interface DashboardProps extends Omit<DashboardPropsPreact, 'widgets'> {
|
|
|
20
20
|
* <template>
|
|
21
21
|
* <Dashboard
|
|
22
22
|
* v-if="dashboardProps"
|
|
23
|
-
* :
|
|
23
|
+
* :config="dashboardProps.config"
|
|
24
|
+
* :defaultDataSource="dashboardProps.defaultDataSource"
|
|
25
|
+
* :filters="dashboardProps.filters"
|
|
24
26
|
* :layoutOptions="dashboardProps.layoutOptions"
|
|
27
|
+
* :styleOptions="dashboardProps.styleOptions"
|
|
28
|
+
* :title="dashboardProps.title"
|
|
25
29
|
* :widgets="dashboardProps.widgets"
|
|
26
|
-
* :filters="dashboardProps.filters"
|
|
27
|
-
* :defaultDataSource="dashboardProps.defaultDataSource"
|
|
28
30
|
* :widgetsOptions="dashboardProps.widgetsOptions"
|
|
29
|
-
* :styleOptions="dashboardProps.styleOptions"
|
|
30
31
|
* />
|
|
31
32
|
* </template>
|
|
32
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompleteThemeSettingsInternal, CustomSisenseContext } from '@sisense/sdk-ui-preact';
|
|
2
2
|
import type { ExternalComponentAdapter } from '@sisense/sdk-ui-preact';
|
|
3
3
|
import { type Component, type DefineComponent, type Ref } from 'vue';
|
|
4
4
|
type AnyObject = Record<string, any>;
|
|
@@ -22,7 +22,7 @@ export declare class VueComponentAdapter<Props extends AnyObject> implements Ext
|
|
|
22
22
|
private propsRef;
|
|
23
23
|
constructor(componentClass: Component<Props> | DefineComponent<Props>, contexts: {
|
|
24
24
|
sisenseContext: Ref<CustomSisenseContext>;
|
|
25
|
-
themeContext: Ref<
|
|
25
|
+
themeContext: Ref<CompleteThemeSettingsInternal>;
|
|
26
26
|
customWidgetsContext: Ref<any>;
|
|
27
27
|
});
|
|
28
28
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type CompleteThemeSettingsInternal } from '@sisense/sdk-ui-preact';
|
|
2
2
|
import type { InjectionKey, Ref } from 'vue';
|
|
3
|
-
export declare const themeContextConfigKey: InjectionKey<Ref<
|
|
3
|
+
export declare const themeContextConfigKey: InjectionKey<Ref<CompleteThemeSettingsInternal>>;
|
|
4
4
|
/**
|
|
5
5
|
* Gets Theme context
|
|
6
6
|
*/
|
|
7
|
-
export declare const getThemeContext: () => Ref<
|
|
7
|
+
export declare const getThemeContext: () => Ref<CompleteThemeSettingsInternal>;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"Sisense",
|
|
12
12
|
"Compose SDK"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.28.0",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "./dist/index.cjs",
|
|
17
17
|
"module": "./dist/index.js",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"clean": "rm -rf ./dist && rm -rf ./coverage && rm -rf tsconfig.tsbuildinfo"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@sisense/sdk-data": "2.
|
|
76
|
-
"@sisense/sdk-ui-preact": "2.
|
|
75
|
+
"@sisense/sdk-data": "2.28.0",
|
|
76
|
+
"@sisense/sdk-ui-preact": "2.28.0",
|
|
77
77
|
"deepmerge": "^4.3.1",
|
|
78
78
|
"lodash-es": "^4.17.21",
|
|
79
79
|
"vue": "^3.3.2"
|