@sisense/sdk-ui-vue 1.18.1 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +796 -727
- package/dist/index.d.ts +1 -1
- package/dist/index.js +74308 -74014
- package/dist/{src → packages/sdk-ui-vue/src}/components/dashboard/dashboard-by-id.d.ts +1 -1
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +110 -0
- package/dist/{src → packages/sdk-ui-vue/src}/components/filters/basic-member-filter-tile.d.ts +2 -2
- package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/chart-widget.d.ts +1 -1
- package/dist/{src → packages/sdk-ui-vue/src}/composables/index.d.ts +1 -0
- package/dist/packages/sdk-ui-vue/src/composables/use-custom-drilldown.d.ts +5835 -0
- package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-dashboard-model.d.ts +13 -9
- package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-widget-model.d.ts +2 -2
- package/dist/packages/sdk-ui-vue/src/composables/use-plugins.d.ts +8 -0
- package/dist/{src → packages/sdk-ui-vue/src}/providers/index.d.ts +1 -0
- package/dist/packages/sdk-ui-vue/src/providers/plugins-provider.d.ts +33 -0
- package/dist/packages/sdk-ui-vue/src/providers/theme-provider.d.ts +97 -0
- package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +5 -0
- package/package.json +2 -2
- package/dist/src/components/dashboard/dashboard.d.ts +0 -95
- package/dist/src/composables/use-custom-drilldown.d.ts +0 -121
- package/dist/src/providers/theme-provider.d.ts +0 -544
- package/dist/src/sdk-ui-core-exports.d.ts +0 -5
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/area-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/area-range-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/areamap-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/bar-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/boxplot-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/column-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/funnel-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/indicator-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/line-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/pie-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/pivot-table.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/polar-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/scatter-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/scattermap-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/sunburst-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/table.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/charts/treemap-chart.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/context-menu.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/dashboard/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-breadcrumbs.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-widget.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/drilldown-widget.vue.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/criteria-filter-tile.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/date-range-filter-tile.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/filters/member-filter-tile.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/dashboard-widget.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/index.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/components/widgets/table-widget.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-execute-query-by-widget-id.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-execute-query.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-fetch.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-dashboard-models.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-get-shared-formula.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/composables/use-tracking.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/helpers/use-reducer.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/lib.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/providers/sisense-context-provider.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/setup-helper.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/types.d.ts +0 -0
- /package/dist/{src → packages/sdk-ui-vue/src}/utils.d.ts +0 -0
@@ -1,544 +0,0 @@
|
|
1
|
-
import type { PropType, Ref } from 'vue';
|
2
|
-
import type { CompleteThemeSettings } from '@sisense/sdk-ui-preact';
|
3
|
-
/**
|
4
|
-
* Gets Theme context
|
5
|
-
*/
|
6
|
-
export declare const getThemeContext: () => Ref<{
|
7
|
-
chart: {
|
8
|
-
textColor: string;
|
9
|
-
secondaryTextColor: string;
|
10
|
-
backgroundColor: string;
|
11
|
-
panelBackgroundColor: string;
|
12
|
-
animation: {
|
13
|
-
init: {
|
14
|
-
duration: number | "auto";
|
15
|
-
};
|
16
|
-
redraw: {
|
17
|
-
duration: number | "auto";
|
18
|
-
};
|
19
|
-
};
|
20
|
-
};
|
21
|
-
palette: {
|
22
|
-
variantColors: import("@sisense/sdk-ui-preact").Color[];
|
23
|
-
};
|
24
|
-
typography: {
|
25
|
-
fontFamily: string;
|
26
|
-
primaryTextColor: string;
|
27
|
-
secondaryTextColor: string;
|
28
|
-
};
|
29
|
-
general: {
|
30
|
-
brandColor: string;
|
31
|
-
backgroundColor: string;
|
32
|
-
primaryButtonTextColor: string;
|
33
|
-
primaryButtonHoverColor: string;
|
34
|
-
};
|
35
|
-
widget: {
|
36
|
-
spaceAround: import("@sisense/sdk-ui-preact").SpaceSizes;
|
37
|
-
cornerRadius: import("@sisense/sdk-ui-preact").RadiusSizes;
|
38
|
-
shadow: import("@sisense/sdk-ui-preact").ShadowsTypes;
|
39
|
-
border: boolean;
|
40
|
-
borderColor: string;
|
41
|
-
header: {
|
42
|
-
titleTextColor: string;
|
43
|
-
titleAlignment: import("@sisense/sdk-ui-preact").AlignmentTypes;
|
44
|
-
dividerLine: boolean;
|
45
|
-
dividerLineColor: string;
|
46
|
-
backgroundColor: string;
|
47
|
-
};
|
48
|
-
};
|
49
|
-
dashboard: {
|
50
|
-
backgroundColor: string;
|
51
|
-
dividerLineWidth: number;
|
52
|
-
dividerLineColor: string;
|
53
|
-
};
|
54
|
-
filter: {
|
55
|
-
panel: {
|
56
|
-
titleColor: string;
|
57
|
-
backgroundColor: string;
|
58
|
-
};
|
59
|
-
};
|
60
|
-
aiChat: {
|
61
|
-
backgroundColor: string;
|
62
|
-
primaryTextColor: string;
|
63
|
-
secondaryTextColor: string;
|
64
|
-
primaryFontSize: [fontSize: string, lineHeight: string];
|
65
|
-
border: string | false;
|
66
|
-
borderRadius: string | false;
|
67
|
-
body: {
|
68
|
-
paddingLeft: string;
|
69
|
-
paddingRight: string;
|
70
|
-
paddingTop: string;
|
71
|
-
paddingBottom: string;
|
72
|
-
gapBetweenMessages: string;
|
73
|
-
};
|
74
|
-
footer: {
|
75
|
-
paddingLeft: string;
|
76
|
-
paddingRight: string;
|
77
|
-
paddingTop: string;
|
78
|
-
paddingBottom: string;
|
79
|
-
};
|
80
|
-
userMessages: {
|
81
|
-
backgroundColor: string;
|
82
|
-
};
|
83
|
-
systemMessages: {
|
84
|
-
backgroundColor: string;
|
85
|
-
};
|
86
|
-
input: {
|
87
|
-
backgroundColor: string;
|
88
|
-
focus: {
|
89
|
-
outlineColor: string;
|
90
|
-
};
|
91
|
-
};
|
92
|
-
header: {
|
93
|
-
backgroundColor: string;
|
94
|
-
textColor: string;
|
95
|
-
};
|
96
|
-
dropup: {
|
97
|
-
backgroundColor: string;
|
98
|
-
boxShadow: string;
|
99
|
-
borderRadius: string;
|
100
|
-
headers: {
|
101
|
-
textColor: string;
|
102
|
-
hover: {
|
103
|
-
backgroundColor: string;
|
104
|
-
};
|
105
|
-
};
|
106
|
-
items: {
|
107
|
-
textColor: string;
|
108
|
-
hover: {
|
109
|
-
backgroundColor: string;
|
110
|
-
};
|
111
|
-
};
|
112
|
-
};
|
113
|
-
suggestions: {
|
114
|
-
textColor: string;
|
115
|
-
backgroundColor: string;
|
116
|
-
border: string;
|
117
|
-
borderGradient: [string, string] | null;
|
118
|
-
borderRadius: string;
|
119
|
-
hover: {
|
120
|
-
textColor: string;
|
121
|
-
backgroundColor: string;
|
122
|
-
};
|
123
|
-
loadingGradient: [string, string];
|
124
|
-
gap: string;
|
125
|
-
};
|
126
|
-
clickableMessages: {
|
127
|
-
textColor: string;
|
128
|
-
backgroundColor: string;
|
129
|
-
border: string | false;
|
130
|
-
borderGradient: [string, string] | null;
|
131
|
-
hover: {
|
132
|
-
textColor: string;
|
133
|
-
backgroundColor: string;
|
134
|
-
};
|
135
|
-
};
|
136
|
-
dataTopics: {
|
137
|
-
backgroundColor: string;
|
138
|
-
items: {
|
139
|
-
textColor: string;
|
140
|
-
backgroundColor: string;
|
141
|
-
};
|
142
|
-
};
|
143
|
-
icons: {
|
144
|
-
color: string;
|
145
|
-
feedbackIcons: {
|
146
|
-
hoverColor: string;
|
147
|
-
};
|
148
|
-
};
|
149
|
-
tooltips: {
|
150
|
-
backgroundColor: string;
|
151
|
-
textColor: string;
|
152
|
-
boxShadow: string;
|
153
|
-
};
|
154
|
-
};
|
155
|
-
}> | undefined;
|
156
|
-
/**
|
157
|
-
* Creates theme context connector
|
158
|
-
* @internal
|
159
|
-
*/
|
160
|
-
export declare const createThemeContextConnector: (themeSettings?: CompleteThemeSettings) => {
|
161
|
-
prepareContext(): Promise<{
|
162
|
-
themeSettings: {
|
163
|
-
chart: {
|
164
|
-
textColor: string;
|
165
|
-
secondaryTextColor: string;
|
166
|
-
backgroundColor: string;
|
167
|
-
panelBackgroundColor: string;
|
168
|
-
animation: {
|
169
|
-
init: {
|
170
|
-
duration: number | "auto";
|
171
|
-
};
|
172
|
-
redraw: {
|
173
|
-
duration: number | "auto";
|
174
|
-
};
|
175
|
-
};
|
176
|
-
};
|
177
|
-
palette: {
|
178
|
-
variantColors: import("@sisense/sdk-ui-preact").Color[];
|
179
|
-
};
|
180
|
-
typography: {
|
181
|
-
fontFamily: string;
|
182
|
-
primaryTextColor: string;
|
183
|
-
secondaryTextColor: string;
|
184
|
-
};
|
185
|
-
general: {
|
186
|
-
brandColor: string;
|
187
|
-
backgroundColor: string;
|
188
|
-
primaryButtonTextColor: string;
|
189
|
-
primaryButtonHoverColor: string;
|
190
|
-
};
|
191
|
-
widget: {
|
192
|
-
spaceAround: import("@sisense/sdk-ui-preact").SpaceSizes;
|
193
|
-
cornerRadius: import("@sisense/sdk-ui-preact").RadiusSizes;
|
194
|
-
shadow: import("@sisense/sdk-ui-preact").ShadowsTypes;
|
195
|
-
border: boolean;
|
196
|
-
borderColor: string;
|
197
|
-
header: {
|
198
|
-
titleTextColor: string;
|
199
|
-
titleAlignment: import("@sisense/sdk-ui-preact").AlignmentTypes;
|
200
|
-
dividerLine: boolean;
|
201
|
-
dividerLineColor: string;
|
202
|
-
backgroundColor: string;
|
203
|
-
};
|
204
|
-
};
|
205
|
-
dashboard: {
|
206
|
-
backgroundColor: string;
|
207
|
-
dividerLineWidth: number;
|
208
|
-
dividerLineColor: string;
|
209
|
-
};
|
210
|
-
filter: {
|
211
|
-
panel: {
|
212
|
-
titleColor: string;
|
213
|
-
backgroundColor: string;
|
214
|
-
};
|
215
|
-
};
|
216
|
-
aiChat: {
|
217
|
-
backgroundColor: string;
|
218
|
-
primaryTextColor: string;
|
219
|
-
secondaryTextColor: string;
|
220
|
-
primaryFontSize: [fontSize: string, lineHeight: string];
|
221
|
-
border: string | false;
|
222
|
-
borderRadius: string | false;
|
223
|
-
body: {
|
224
|
-
paddingLeft: string;
|
225
|
-
paddingRight: string;
|
226
|
-
paddingTop: string;
|
227
|
-
paddingBottom: string;
|
228
|
-
gapBetweenMessages: string;
|
229
|
-
};
|
230
|
-
footer: {
|
231
|
-
paddingLeft: string;
|
232
|
-
paddingRight: string;
|
233
|
-
paddingTop: string;
|
234
|
-
paddingBottom: string;
|
235
|
-
};
|
236
|
-
userMessages: {
|
237
|
-
backgroundColor: string;
|
238
|
-
};
|
239
|
-
systemMessages: {
|
240
|
-
backgroundColor: string;
|
241
|
-
};
|
242
|
-
input: {
|
243
|
-
backgroundColor: string;
|
244
|
-
focus: {
|
245
|
-
outlineColor: string;
|
246
|
-
};
|
247
|
-
};
|
248
|
-
header: {
|
249
|
-
backgroundColor: string;
|
250
|
-
textColor: string;
|
251
|
-
};
|
252
|
-
dropup: {
|
253
|
-
backgroundColor: string;
|
254
|
-
boxShadow: string;
|
255
|
-
borderRadius: string;
|
256
|
-
headers: {
|
257
|
-
textColor: string;
|
258
|
-
hover: {
|
259
|
-
backgroundColor: string;
|
260
|
-
};
|
261
|
-
};
|
262
|
-
items: {
|
263
|
-
textColor: string;
|
264
|
-
hover: {
|
265
|
-
backgroundColor: string;
|
266
|
-
};
|
267
|
-
};
|
268
|
-
};
|
269
|
-
suggestions: {
|
270
|
-
textColor: string;
|
271
|
-
backgroundColor: string;
|
272
|
-
border: string;
|
273
|
-
borderGradient: [string, string] | null;
|
274
|
-
borderRadius: string;
|
275
|
-
hover: {
|
276
|
-
textColor: string;
|
277
|
-
backgroundColor: string;
|
278
|
-
};
|
279
|
-
loadingGradient: [string, string];
|
280
|
-
gap: string;
|
281
|
-
};
|
282
|
-
clickableMessages: {
|
283
|
-
textColor: string;
|
284
|
-
backgroundColor: string;
|
285
|
-
border: string | false;
|
286
|
-
borderGradient: [string, string] | null;
|
287
|
-
hover: {
|
288
|
-
textColor: string;
|
289
|
-
backgroundColor: string;
|
290
|
-
};
|
291
|
-
};
|
292
|
-
dataTopics: {
|
293
|
-
backgroundColor: string;
|
294
|
-
items: {
|
295
|
-
textColor: string;
|
296
|
-
backgroundColor: string;
|
297
|
-
};
|
298
|
-
};
|
299
|
-
icons: {
|
300
|
-
color: string;
|
301
|
-
feedbackIcons: {
|
302
|
-
hoverColor: string;
|
303
|
-
};
|
304
|
-
};
|
305
|
-
tooltips: {
|
306
|
-
backgroundColor: string;
|
307
|
-
textColor: string;
|
308
|
-
boxShadow: string;
|
309
|
-
};
|
310
|
-
};
|
311
|
-
};
|
312
|
-
skipTracking: boolean;
|
313
|
-
}>;
|
314
|
-
renderContextProvider: (contextData: {
|
315
|
-
themeSettings: {
|
316
|
-
chart: {
|
317
|
-
textColor: string;
|
318
|
-
secondaryTextColor: string;
|
319
|
-
backgroundColor: string;
|
320
|
-
panelBackgroundColor: string;
|
321
|
-
animation: {
|
322
|
-
init: {
|
323
|
-
duration: number | "auto";
|
324
|
-
};
|
325
|
-
redraw: {
|
326
|
-
duration: number | "auto";
|
327
|
-
};
|
328
|
-
};
|
329
|
-
};
|
330
|
-
palette: {
|
331
|
-
variantColors: import("@sisense/sdk-ui-preact").Color[];
|
332
|
-
};
|
333
|
-
typography: {
|
334
|
-
fontFamily: string;
|
335
|
-
primaryTextColor: string;
|
336
|
-
secondaryTextColor: string;
|
337
|
-
};
|
338
|
-
general: {
|
339
|
-
brandColor: string;
|
340
|
-
backgroundColor: string;
|
341
|
-
primaryButtonTextColor: string;
|
342
|
-
primaryButtonHoverColor: string;
|
343
|
-
};
|
344
|
-
widget: {
|
345
|
-
spaceAround: import("@sisense/sdk-ui-preact").SpaceSizes;
|
346
|
-
cornerRadius: import("@sisense/sdk-ui-preact").RadiusSizes;
|
347
|
-
shadow: import("@sisense/sdk-ui-preact").ShadowsTypes;
|
348
|
-
border: boolean;
|
349
|
-
borderColor: string;
|
350
|
-
header: {
|
351
|
-
titleTextColor: string;
|
352
|
-
titleAlignment: import("@sisense/sdk-ui-preact").AlignmentTypes;
|
353
|
-
dividerLine: boolean;
|
354
|
-
dividerLineColor: string;
|
355
|
-
backgroundColor: string;
|
356
|
-
};
|
357
|
-
};
|
358
|
-
dashboard: {
|
359
|
-
backgroundColor: string;
|
360
|
-
dividerLineWidth: number;
|
361
|
-
dividerLineColor: string;
|
362
|
-
};
|
363
|
-
filter: {
|
364
|
-
panel: {
|
365
|
-
titleColor: string;
|
366
|
-
backgroundColor: string;
|
367
|
-
};
|
368
|
-
};
|
369
|
-
aiChat: {
|
370
|
-
backgroundColor: string;
|
371
|
-
primaryTextColor: string;
|
372
|
-
secondaryTextColor: string;
|
373
|
-
primaryFontSize: [fontSize: string, lineHeight: string];
|
374
|
-
border: string | false;
|
375
|
-
borderRadius: string | false;
|
376
|
-
body: {
|
377
|
-
paddingLeft: string;
|
378
|
-
paddingRight: string;
|
379
|
-
paddingTop: string;
|
380
|
-
paddingBottom: string;
|
381
|
-
gapBetweenMessages: string;
|
382
|
-
};
|
383
|
-
footer: {
|
384
|
-
paddingLeft: string;
|
385
|
-
paddingRight: string;
|
386
|
-
paddingTop: string;
|
387
|
-
paddingBottom: string;
|
388
|
-
};
|
389
|
-
userMessages: {
|
390
|
-
backgroundColor: string;
|
391
|
-
};
|
392
|
-
systemMessages: {
|
393
|
-
backgroundColor: string;
|
394
|
-
};
|
395
|
-
input: {
|
396
|
-
backgroundColor: string;
|
397
|
-
focus: {
|
398
|
-
outlineColor: string;
|
399
|
-
};
|
400
|
-
};
|
401
|
-
header: {
|
402
|
-
backgroundColor: string;
|
403
|
-
textColor: string;
|
404
|
-
};
|
405
|
-
dropup: {
|
406
|
-
backgroundColor: string;
|
407
|
-
boxShadow: string;
|
408
|
-
borderRadius: string;
|
409
|
-
headers: {
|
410
|
-
textColor: string;
|
411
|
-
hover: {
|
412
|
-
backgroundColor: string;
|
413
|
-
};
|
414
|
-
};
|
415
|
-
items: {
|
416
|
-
textColor: string;
|
417
|
-
hover: {
|
418
|
-
backgroundColor: string;
|
419
|
-
};
|
420
|
-
};
|
421
|
-
};
|
422
|
-
suggestions: {
|
423
|
-
textColor: string;
|
424
|
-
backgroundColor: string;
|
425
|
-
border: string;
|
426
|
-
borderGradient: [string, string] | null;
|
427
|
-
borderRadius: string;
|
428
|
-
hover: {
|
429
|
-
textColor: string;
|
430
|
-
backgroundColor: string;
|
431
|
-
};
|
432
|
-
loadingGradient: [string, string];
|
433
|
-
gap: string;
|
434
|
-
};
|
435
|
-
clickableMessages: {
|
436
|
-
textColor: string;
|
437
|
-
backgroundColor: string;
|
438
|
-
border: string | false;
|
439
|
-
borderGradient: [string, string] | null;
|
440
|
-
hover: {
|
441
|
-
textColor: string;
|
442
|
-
backgroundColor: string;
|
443
|
-
};
|
444
|
-
};
|
445
|
-
dataTopics: {
|
446
|
-
backgroundColor: string;
|
447
|
-
items: {
|
448
|
-
textColor: string;
|
449
|
-
backgroundColor: string;
|
450
|
-
};
|
451
|
-
};
|
452
|
-
icons: {
|
453
|
-
color: string;
|
454
|
-
feedbackIcons: {
|
455
|
-
hoverColor: string;
|
456
|
-
};
|
457
|
-
};
|
458
|
-
tooltips: {
|
459
|
-
backgroundColor: string;
|
460
|
-
textColor: string;
|
461
|
-
boxShadow: string;
|
462
|
-
};
|
463
|
-
};
|
464
|
-
};
|
465
|
-
skipTracking?: boolean | undefined;
|
466
|
-
}, children: import("preact").VNode<{}>, error?: Error | undefined) => import("preact").VNode<{}>;
|
467
|
-
};
|
468
|
-
/**
|
469
|
-
* Theme provider, which allows you to adjust the look and feel of child components.
|
470
|
-
*
|
471
|
-
* Components not wrapped in a theme provider use the current theme from the connected Fusion instance by default.
|
472
|
-
*
|
473
|
-
* @example
|
474
|
-
* Example of a theme provider, which changes the colors and font of the nested indicator chart:
|
475
|
-
* ```vue
|
476
|
-
* <template>
|
477
|
-
* <ThemeProvider :theme="customTheme">
|
478
|
-
* <IndicatorChart .... />
|
479
|
-
* </ThemeProvider>
|
480
|
-
* </template>
|
481
|
-
*
|
482
|
-
* <script>
|
483
|
-
* import { ref } from 'vue';
|
484
|
-
* import ThemeProvider from './ThemeProvider.vue';
|
485
|
-
*
|
486
|
-
* export default {
|
487
|
-
* components: { ThemeProvider },
|
488
|
-
* setup() {
|
489
|
-
* const customTheme = ref({
|
490
|
-
chart: {
|
491
|
-
backgroundColor: '#333333',
|
492
|
-
textColor: 'orange',
|
493
|
-
secondaryTextColor: 'purple',
|
494
|
-
},
|
495
|
-
typography: {
|
496
|
-
fontFamily: 'impact',
|
497
|
-
},
|
498
|
-
* });
|
499
|
-
*
|
500
|
-
* return { customTheme };
|
501
|
-
* }
|
502
|
-
* };
|
503
|
-
* </script>
|
504
|
-
* ```
|
505
|
-
*
|
506
|
-
* Alternatively, to fetch theme settings based on a theme ID:
|
507
|
-
* ```vue
|
508
|
-
* <template>
|
509
|
-
* <ThemeProvider :theme="'theme_id_string'">
|
510
|
-
* <!-- Components that will use the fetched theme settings -->
|
511
|
-
* </ThemeProvider>
|
512
|
-
* </template>
|
513
|
-
* ```
|
514
|
-
*
|
515
|
-
* Indicator chart with custom theme settings:
|
516
|
-
*
|
517
|
-
* <img src="media://indicator-chart-example-2.png" width="400px" />
|
518
|
-
*
|
519
|
-
*
|
520
|
-
* For comparison, indicator chart with default theme settings:
|
521
|
-
*
|
522
|
-
* <img src="media://indicator-chart-example-1.png" width="400px" />
|
523
|
-
*
|
524
|
-
* @see {@link ThemeSettings} and {@link IndicatorChart}
|
525
|
-
* @param props - Theme provider props
|
526
|
-
* @returns A Theme Provider component * @prop {Object | String} theme - Theme settings object for custom themes or a string identifier to fetch theme settings. When provided as an object, it merges with the default theme settings. When provided as a string, it attempts to fetch theme settings using the provided ID.
|
527
|
-
* @prop {Boolean} skipTracking [internal] - Specifies whether to skip tracking of theme usage. Intended for internal use and debugging purposes.
|
528
|
-
* @group Contexts
|
529
|
-
*/
|
530
|
-
export declare const ThemeProvider: import("vue").DefineComponent<{
|
531
|
-
theme: PropType<string | import("@sisense/sdk-ui-preact").ThemeSettings | undefined>;
|
532
|
-
/**
|
533
|
-
* @internal
|
534
|
-
*/
|
535
|
-
skipTracking: PropType<boolean | undefined>;
|
536
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
537
|
-
[key: string]: any;
|
538
|
-
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
539
|
-
theme: PropType<string | import("@sisense/sdk-ui-preact").ThemeSettings | undefined>;
|
540
|
-
/**
|
541
|
-
* @internal
|
542
|
-
*/
|
543
|
-
skipTracking: PropType<boolean | undefined>;
|
544
|
-
}>>, {}, {}>;
|
@@ -1,5 +0,0 @@
|
|
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, AreaRangeChartProps, MemberFilterTileProps, BasicMemberFilterTileProps, CriteriaFilterTileProps, DateRangeFilterTileProps, ChartWidgetProps, TableWidgetProps, TableProps, PivotTableProps, DrilldownBreadcrumbsProps, BoxplotChartProps, AreamapChartProps, ScattermapChartProps, SisenseContextProviderProps, DashboardWidgetProps, DashboardByIdProps, DashboardProps, 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, AreaRangeStyleOptions, DataLimits, Legend, Markers, Labels, IndicatorComponents, ScatterMarkerSize, LineWidth, AxisLabel, Convolution, SeriesLabels, X2Title, ScattermapMarkers, WidgetModel, DashboardModel, BeforeRenderHandler, DataPoint, ScatterDataPoint, HighchartsOptions, BoxplotDataPoint, Layout, WidgetFilterOptions, 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
|
-
import type { ContextMenuProps as ContextMenuPropsPreact, ThemeProviderProps as ThemeProviderPropsPreact } from '@sisense/sdk-ui-preact';
|
4
|
-
export type ContextMenuProps = Omit<ContextMenuPropsPreact, 'children'>;
|
5
|
-
export type ThemeProviderProps = Omit<ThemeProviderPropsPreact, 'children'>;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → packages/sdk-ui-vue/src}/components/filters/date-range-filter-tile.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → packages/sdk-ui-vue/src}/composables/use-execute-query-by-widget-id.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|