@sisense/sdk-ui-vue 1.7.2 → 1.9.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.
@@ -2,7 +2,6 @@ import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component similar to a {@link LineChart},
4
4
  * but with filled in areas under each line and an option to display them as stacked.
5
- * More info on [Sisense Documentation page](https://docs.sisense.com/main/SisenseLinux/area-chart.htm).
6
5
  *
7
6
  * @example
8
7
  * Here's how you can use the AreaChart component in a Vue application:
@@ -1,7 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component for visualizing geographical data as polygons on a map.
4
- * See [Areamap Chart](https://docs.sisense.com/main/SisenseLinux/area-map.htm) for more information.
5
4
  *
6
5
  * @example
7
6
  * Here's how you can use the AreamapChart component in a Vue application:
@@ -2,7 +2,7 @@ import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component representing categorical data with horizontal rectangular bars,
4
4
  * whose lengths are proportional to the values that they represent.
5
- * See [Bar Chart](https://docs.sisense.com/main/SisenseLinux/bar-chart.htm) for more information.
5
+ *
6
6
  * @example
7
7
  * Here's how you can use the BarChart component in a Vue application:
8
8
  * ```vue
@@ -2,7 +2,7 @@ import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component representing data in a way that visually describes the distribution, variability,
4
4
  * and center of a data set along an axis.
5
- * See [Boxplot Chart](https://docs.sisense.com/main/SisenseLinux/box-and-whisker-plot.htm) for more information.
5
+ *
6
6
  * @example
7
7
  * Here's how you can use the BoxplotChart component in a Vue application:
8
8
  * ```vue
@@ -2,7 +2,6 @@ import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component representing categorical data with vertical rectangular bars
4
4
  * whose heights are proportional to the values that they represent.
5
- * See [Column Chart](https://docs.sisense.com/main/SisenseLinux/column-chart.htm) for more information.
6
5
  *
7
6
  * @example
8
7
  * Here's how you can use the ColumnChart component in a Vue application:
@@ -1,7 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component that provides various options for displaying one or two numeric values as a number, gauge or ticker.
4
- * See [Indicator](https://docs.sisense.com/main/SisenseLinux/indicator.htm) for more information.
5
4
  *
6
5
  * @example
7
6
  * Here's how you can use the IndicatorChart component in a Vue application:
@@ -2,7 +2,6 @@ import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component representing data in a circular graph with the data shown as slices of a whole,
4
4
  * with each slice representing a proportion of the total.
5
- * See [Pie Chart](https://docs.sisense.com/main/SisenseLinux/pie-chart.htm) for more information.
6
5
  *
7
6
  * @example
8
7
  * Here's how you can use the PieChart component in a Vue application:
@@ -1,7 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component comparing multiple categories/variables with a spacial perspective in a radial chart.
4
- * See [Polar Chart](https://docs.sisense.com/main/SisenseLinux/polar-chart.htm) for more information.
5
4
  *
6
5
  * @example
7
6
  * Here's how you can use the PolarChart component in a Vue application:
@@ -8,8 +8,6 @@ import type { PropType } from 'vue';
8
8
  * **Size**: An optional field represented by the size of the circles.
9
9
  * If omitted, all scatter points are equal in size. If used, the circle sizes are relative to their values.
10
10
  *
11
- * See [Scatter Chart](https://docs.sisense.com/main/SisenseLinux/scatter-chart.htm) for more information.
12
- *
13
11
  * @example
14
12
  * Here's how you can use the ScatterChart component in a Vue application:
15
13
  * ```vue
@@ -1,8 +1,8 @@
1
1
  import type { PropType } from 'vue';
2
2
  /**
3
3
  * A Vue component displaying hierarchical data in the form of nested rectangles.
4
+ *
4
5
  * This type of chart can be used instead of a column chart for comparing a large number of categories and sub-categories.
5
- * See [Treemap Chart](https://docs.sisense.com/main/SisenseLinux/treemap.htm) for more information.
6
6
  *
7
7
  * @example
8
8
  * Here's how you can use the TreemapChart component in a Vue application:
@@ -49,6 +49,7 @@ export declare const useCustomDrilldown: ({ drilldownDimensions, initialDimensio
49
49
  toJSON: () => any;
50
50
  jaql: (nested?: boolean | undefined) => any;
51
51
  skipValidation?: boolean | undefined;
52
+ composeCode?: string | undefined;
52
53
  };
53
54
  }[]>;
54
55
  availableDrilldowns: import("vue").ComputedRef<Attribute[]>;
@@ -70,6 +71,7 @@ export declare const useCustomDrilldown: ({ drilldownDimensions, initialDimensio
70
71
  toJSON: () => any;
71
72
  jaql: (nested?: boolean | undefined) => any;
72
73
  skipValidation?: boolean | undefined;
74
+ composeCode?: string | undefined;
73
75
  };
74
76
  readonly filterType: string;
75
77
  readonly guid: string;
@@ -24,6 +24,88 @@ export declare const getThemeContext: () => Ref<{
24
24
  primaryButtonTextColor: string;
25
25
  primaryButtonHoverColor: string;
26
26
  };
27
+ aiChat: {
28
+ backgroundColor: string;
29
+ primaryTextColor: string;
30
+ secondaryTextColor: string;
31
+ primaryFontSize: [fontSize: string, lineHeight: string];
32
+ border: string | false;
33
+ borderRadius: string | false;
34
+ body: {
35
+ paddingLeft: string;
36
+ paddingRight: string;
37
+ paddingTop: string;
38
+ paddingBottom: string;
39
+ gapBetweenMessages: string;
40
+ };
41
+ footer: {
42
+ paddingLeft: string;
43
+ paddingRight: string;
44
+ paddingTop: string;
45
+ paddingBottom: string;
46
+ };
47
+ userMessages: {
48
+ backgroundColor: string;
49
+ };
50
+ systemMessages: {
51
+ backgroundColor: string;
52
+ };
53
+ input: {
54
+ backgroundColor: string;
55
+ focus: {
56
+ outlineColor: string;
57
+ };
58
+ };
59
+ header: {
60
+ backgroundColor: string;
61
+ textColor: string;
62
+ };
63
+ dropup: {
64
+ backgroundColor: string;
65
+ boxShadow: string;
66
+ borderRadius: string;
67
+ headers: {
68
+ textColor: string;
69
+ hover: {
70
+ backgroundColor: string;
71
+ };
72
+ };
73
+ items: {
74
+ textColor: string;
75
+ hover: {
76
+ backgroundColor: string;
77
+ };
78
+ };
79
+ };
80
+ suggestions: {
81
+ textColor: string;
82
+ backgroundColor: string;
83
+ border: string;
84
+ borderGradient: [string, string] | null;
85
+ borderRadius: string;
86
+ hover: {
87
+ backgroundColor: string;
88
+ textColor: string;
89
+ };
90
+ loadingGradient: [string, string];
91
+ gap: string;
92
+ };
93
+ clickableMessages: {
94
+ backgroundColor: string;
95
+ textColor: string;
96
+ border: string | false;
97
+ hover: {
98
+ textColor: string;
99
+ backgroundColor: string;
100
+ };
101
+ };
102
+ icons: {
103
+ color: string;
104
+ hover: {
105
+ color: string;
106
+ };
107
+ };
108
+ };
27
109
  }> | undefined;
28
110
  /**
29
111
  * Creates theme context connector
@@ -52,6 +134,88 @@ export declare const createThemeContextConnector: (themeSettings?: CompleteTheme
52
134
  primaryButtonTextColor: string;
53
135
  primaryButtonHoverColor: string;
54
136
  };
137
+ aiChat: {
138
+ backgroundColor: string;
139
+ primaryTextColor: string;
140
+ secondaryTextColor: string;
141
+ primaryFontSize: [fontSize: string, lineHeight: string];
142
+ border: string | false;
143
+ borderRadius: string | false;
144
+ body: {
145
+ paddingLeft: string;
146
+ paddingRight: string;
147
+ paddingTop: string;
148
+ paddingBottom: string;
149
+ gapBetweenMessages: string;
150
+ };
151
+ footer: {
152
+ paddingLeft: string;
153
+ paddingRight: string;
154
+ paddingTop: string;
155
+ paddingBottom: string;
156
+ };
157
+ userMessages: {
158
+ backgroundColor: string;
159
+ };
160
+ systemMessages: {
161
+ backgroundColor: string;
162
+ };
163
+ input: {
164
+ backgroundColor: string;
165
+ focus: {
166
+ outlineColor: string;
167
+ };
168
+ };
169
+ header: {
170
+ backgroundColor: string;
171
+ textColor: string;
172
+ };
173
+ dropup: {
174
+ backgroundColor: string;
175
+ boxShadow: string;
176
+ borderRadius: string;
177
+ headers: {
178
+ textColor: string;
179
+ hover: {
180
+ backgroundColor: string;
181
+ };
182
+ };
183
+ items: {
184
+ textColor: string;
185
+ hover: {
186
+ backgroundColor: string;
187
+ };
188
+ };
189
+ };
190
+ suggestions: {
191
+ textColor: string;
192
+ backgroundColor: string;
193
+ border: string;
194
+ borderGradient: [string, string] | null;
195
+ borderRadius: string;
196
+ hover: {
197
+ backgroundColor: string;
198
+ textColor: string;
199
+ };
200
+ loadingGradient: [string, string];
201
+ gap: string;
202
+ };
203
+ clickableMessages: {
204
+ backgroundColor: string;
205
+ textColor: string;
206
+ border: string | false;
207
+ hover: {
208
+ textColor: string;
209
+ backgroundColor: string;
210
+ };
211
+ };
212
+ icons: {
213
+ color: string;
214
+ hover: {
215
+ color: string;
216
+ };
217
+ };
218
+ };
55
219
  };
56
220
  skipTracking: boolean;
57
221
  }>;
@@ -77,6 +241,88 @@ export declare const createThemeContextConnector: (themeSettings?: CompleteTheme
77
241
  primaryButtonTextColor: string;
78
242
  primaryButtonHoverColor: string;
79
243
  };
244
+ aiChat: {
245
+ backgroundColor: string;
246
+ primaryTextColor: string;
247
+ secondaryTextColor: string;
248
+ primaryFontSize: [fontSize: string, lineHeight: string];
249
+ border: string | false;
250
+ borderRadius: string | false;
251
+ body: {
252
+ paddingLeft: string;
253
+ paddingRight: string;
254
+ paddingTop: string;
255
+ paddingBottom: string;
256
+ gapBetweenMessages: string;
257
+ };
258
+ footer: {
259
+ paddingLeft: string;
260
+ paddingRight: string;
261
+ paddingTop: string;
262
+ paddingBottom: string;
263
+ };
264
+ userMessages: {
265
+ backgroundColor: string;
266
+ };
267
+ systemMessages: {
268
+ backgroundColor: string;
269
+ };
270
+ input: {
271
+ backgroundColor: string;
272
+ focus: {
273
+ outlineColor: string;
274
+ };
275
+ };
276
+ header: {
277
+ backgroundColor: string;
278
+ textColor: string;
279
+ };
280
+ dropup: {
281
+ backgroundColor: string;
282
+ boxShadow: string;
283
+ borderRadius: string;
284
+ headers: {
285
+ textColor: string;
286
+ hover: {
287
+ backgroundColor: string;
288
+ };
289
+ };
290
+ items: {
291
+ textColor: string;
292
+ hover: {
293
+ backgroundColor: string;
294
+ };
295
+ };
296
+ };
297
+ suggestions: {
298
+ textColor: string;
299
+ backgroundColor: string;
300
+ border: string;
301
+ borderGradient: [string, string] | null;
302
+ borderRadius: string;
303
+ hover: {
304
+ backgroundColor: string;
305
+ textColor: string;
306
+ };
307
+ loadingGradient: [string, string];
308
+ gap: string;
309
+ };
310
+ clickableMessages: {
311
+ backgroundColor: string;
312
+ textColor: string;
313
+ border: string | false;
314
+ hover: {
315
+ textColor: string;
316
+ backgroundColor: string;
317
+ };
318
+ };
319
+ icons: {
320
+ color: string;
321
+ hover: {
322
+ color: string;
323
+ };
324
+ };
325
+ };
80
326
  };
81
327
  skipTracking?: boolean | undefined;
82
328
  }, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
@@ -1,5 +1,5 @@
1
1
  export { boxWhiskerProcessResult } from '@sisense/sdk-ui-preact';
2
- export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, AreaChartProps, BarChartProps, ChartProps, LineChartProps, ColumnChartProps, FunnelChartProps, PolarChartProps, ScatterChartProps, PieChartProps, TreemapChartProps, SunburstChartProps, IndicatorChartProps, MemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, DashboardWidgetProps, ExecuteQueryByWidgetIdParams, ExecuteQueryParams, GetWidgetModelParams, GetSharedFormulaParams, GetDashboardModelParams, UseGetSharedFormulaParams, GetDashboardModelsParams, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, NumberFormatConfig, DecimalScale, DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, ValueToColorMap, MultiColumnValueToColorMap, SortDirection, BoxWhiskerType, ScattermapLocationLevel, StyledColumn, StyledMeasureColumn, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, TableStyleOptions, PivotTableStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, } from '@sisense/sdk-ui-preact';
2
+ export type { ChartType, CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, TableType, AreaSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, WidgetType, CartesianWidgetType, CategoricalWidgetType, TabularWidgetType, AreaChartProps, BarChartProps, ChartProps, LineChartProps, ColumnChartProps, FunnelChartProps, PolarChartProps, ScatterChartProps, PieChartProps, TreemapChartProps, SunburstChartProps, IndicatorChartProps, MemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, DashboardWidgetProps, ExecuteQueryByWidgetIdParams, ExecuteQueryParams, GetWidgetModelParams, GetSharedFormulaParams, GetDashboardModelParams, UseGetSharedFormulaParams, GetDashboardModelsParams, ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ScatterChartDataOptions, IndicatorChartDataOptions, BoxplotChartDataOptions, BoxplotChartCustomDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, TableDataOptions, PivotTableDataOptions, WidgetDataOptions, NumberFormatConfig, DecimalScale, DataColorCondition, ConditionalDataColorOptions, DataColorOptions, RangeDataColorOptions, UniformDataColorOptions, ValueToColorMap, MultiColumnValueToColorMap, SortDirection, BoxWhiskerType, ScattermapLocationLevel, StyledColumn, StyledMeasureColumn, PivotRowsSort, ChartStyleOptions, LineStyleOptions, AreaStyleOptions, StackableStyleOptions, PieStyleOptions, FunnelStyleOptions, PolarStyleOptions, IndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, NumericBarIndicatorStyleOptions, GaugeIndicatorStyleOptions, ScatterStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, ChartWidgetStyleOptions, WidgetStyleOptions, DashboardWidgetStyleOptions, TableStyleOptions, PivotTableStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, AppConfig, DateConfig, MenuItemSection, MonthOfYear, DayOfWeek, DateLevel, ThemeOid, GetDashboardModelOptions, GetDashboardModelsOptions, SeriesChartType, MenuPosition, ThemeSettings, Color, ColorPaletteTheme, Navigator, DrilldownOptions, DrilldownSelection, CriteriaFilterType, Member, FilterVariant, } from '@sisense/sdk-ui-preact';
3
3
  import type { ContextMenuProps as ContextMenuPropsPreact, ThemeProviderProps as ThemeProviderPropsPreact } from '@sisense/sdk-ui-preact';
4
4
  export type ContextMenuProps = Omit<ContextMenuPropsPreact, 'children'>;
5
5
  export type ThemeProviderProps = Omit<ThemeProviderPropsPreact, 'children'>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.7.2",
14
+ "version": "1.9.0",
15
15
  "type": "module",
16
16
  "main": "./dist/index.js",
17
17
  "module": "./dist/index.js",
@@ -34,7 +34,7 @@
34
34
  "format:check": "prettier --check ."
35
35
  },
36
36
  "dependencies": {
37
- "@sisense/sdk-ui-preact": "^1.7.2",
37
+ "@sisense/sdk-ui-preact": "^1.9.0",
38
38
  "deepmerge": "^4.3.1",
39
39
  "lodash": "^4.17.21",
40
40
  "vue": "^3.3.2"