@vizzly/dashboard 0.14.0 → 0.14.1-dev-e0ca0009df3e30e44abcabf4d846020c4205cc61
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/charts/src/PieChart/PieChart.d.ts +4 -0
- package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +54 -12
- package/dist/dashboard/src/types.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/AdditionalFilter/toQueries.d.ts +3 -1
- package/dist/shared-logic/src/AdditionalFilter/fromDashboardRequiredFilterGroups.d.ts +9 -0
- package/dist/shared-logic/src/Callbacks/cell.funcs.d.ts +5 -3
- package/dist/shared-logic/src/Component/types.d.ts +7 -0
- package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +1 -0
- package/dist/shared-logic/src/Drilldown/Drilldown.d.ts +6 -1
- package/dist/shared-logic/src/FeatureToggle/types.d.ts +2 -0
- package/dist/shared-logic/src/Filter/combineFilters.d.ts +2 -0
- package/dist/shared-logic/src/Filter/index.d.ts +1 -0
- package/dist/shared-logic/src/FormatPanelConfig/types.d.ts +1 -1
- package/dist/shared-logic/src/PieChart/onViewClick.d.ts +8 -3
- package/dist/shared-logic/src/Query/Query.d.ts +1 -1
- package/dist/shared-logic/src/Theme/types.d.ts +22 -0
- package/dist/shared-logic/src/VizzlyState/index.d.ts +3 -0
- package/dist/shared-ui/src/api/useQueryEffect/download.d.ts +1 -1
- package/dist/shared-ui/src/base/Alert/Alert.types.d.ts +1 -1
- package/dist/shared-ui/src/base/Button/IconButton.d.ts +2 -0
- package/dist/shared-ui/src/base/DateTime/CustomRangePicker.d.ts +1 -0
- package/dist/shared-ui/src/base/DateTime/DatePicker.styles.d.ts +1 -1
- package/dist/shared-ui/src/base/DateTime/DateTimeFilter.d.ts +1 -0
- package/dist/shared-ui/src/base/Icons/SVGs.d.ts +6 -10
- package/dist/shared-ui/src/base/Icons.d.ts +2 -0
- package/dist/shared-ui/src/base/Input/Input.styles.d.ts +1 -1
- package/dist/shared-ui/src/base/Input/InputContainer.d.ts +1 -0
- package/dist/shared-ui/src/base/InputWithVariables/InputWithVariables.d.ts +14 -0
- package/dist/shared-ui/src/base/Section/Section.d.ts +1 -0
- package/dist/shared-ui/src/base/Table/Table.styles.d.ts +9 -1
- package/dist/shared-ui/src/components/AdditionalFilter/AdditionalFilter.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedDisplayValues.d.ts +0 -2
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedPicker.d.ts +0 -1
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedSelectFilter.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/usePopupPosition.d.ts +7 -0
- package/dist/shared-ui/src/components/BarChart/BarChartView.d.ts +3 -1
- package/dist/shared-ui/src/components/BarChart/types.d.ts +1 -1
- package/dist/shared-ui/src/components/ChartHelper.d.ts +2 -2
- package/dist/shared-ui/src/components/ClickSettings/AddClickSettingModal.d.ts +7 -0
- package/dist/shared-ui/src/components/ClickSettings/ClickSettingsModal.d.ts +7 -0
- package/dist/shared-ui/src/components/ComboChart/ComboChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/DataTable/DataTable.d.ts +2 -2
- package/dist/shared-ui/src/components/DataTable/DataTableView.d.ts +1 -1
- package/dist/shared-ui/src/components/GlobalFilters/storedFilters.d.ts +6 -0
- package/dist/shared-ui/src/components/GlobalFilters/updateGlobalFilters.d.ts +13 -1
- package/dist/shared-ui/src/components/LineChart/LineChartView.d.ts +3 -0
- package/dist/shared-ui/src/components/MercatorMap/View.d.ts +3 -0
- package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +2 -0
- package/dist/shared-ui/src/components/SingleStat/SingleStatView.d.ts +2 -1
- package/dist/shared-ui/src/components/Studio/StudioContexts.d.ts +1 -1
- package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +1 -1
- package/dist/shared-ui/src/contexts/DashboardBehaviour/defaultFormatMapping.d.ts +2 -0
- package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +10 -2
- package/dist/shared-ui/src/contexts/DashboardContext/types.d.ts +4 -1
- package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +1 -1
- package/dist/shared-ui/src/hooks/types.d.ts +9 -0
- package/dist/shared-ui/src/hooks/useDeveloperTools.d.ts +11 -0
- package/dist/shared-ui/src/hooks/useLocalStorage.d.ts +5 -0
- package/dist/shared-ui/src/library/ConditionalFormatting.d.ts +6 -1
- package/dist/shared-ui/src/library/Empty.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/GoalLine/GoalLineModal.d.ts +1 -8
- package/dist/shared-ui/src/library/StylePanel/GoalLine/GoalLineRules.d.ts +1 -2
- package/dist/shared-ui/src/library/StylePanel/GoalLine/types.d.ts +8 -0
- package/dist/shared-ui/src/library/StylePanel/GoalLine/useGoalLine.d.ts +1 -1
- package/dist/shared-ui/src/types.d.ts +9 -0
- package/package.json +4 -3
- package/dist/shared-logic/src/JSQueryEngine/compare.d.ts +0 -6
- package/dist/shared-ui/src/runQuery/compare.d.ts +0 -1
|
@@ -28,7 +28,14 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
28
28
|
};
|
|
29
29
|
} | undefined;
|
|
30
30
|
datePickerFormat?: "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD" | undefined;
|
|
31
|
-
|
|
31
|
+
defaultFormats?: (() => {
|
|
32
|
+
[functionId: string]: string;
|
|
33
|
+
}) | undefined;
|
|
34
|
+
developerTools?: boolean | (import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DeveloperTools & {
|
|
35
|
+
viewClickSettingsInput?: (import("../../../../shared-ui/src/hooks/types").ClickSettingTypes & {
|
|
36
|
+
viewId: string;
|
|
37
|
+
}) | undefined;
|
|
38
|
+
}) | undefined;
|
|
32
39
|
textOverrides?: Partial<import("../../../../shared-logic/src/Translations/translation.types").VizzlyTranslations & {
|
|
33
40
|
'view.data-set-changed': string;
|
|
34
41
|
'view.resizing': string;
|
|
@@ -62,7 +69,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
62
69
|
organizationName?: string | undefined;
|
|
63
70
|
renderTableCell?: ((data: import("../../../../shared-logic/src/Component/types").Component.RenderTableCell) => import("react").ReactNode) | undefined;
|
|
64
71
|
onError?: import("../../../../shared-ui/src").VizzlyComponents.OnError | undefined;
|
|
65
|
-
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick) => void) | undefined;
|
|
72
|
+
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick, loadUnderlyingData?: import("../../../../shared-logic/src/Component/types").Component.OnViewClickQuery | undefined) => void) | undefined;
|
|
66
73
|
parentDashboardId?: string | undefined;
|
|
67
74
|
dashboardId?: string | undefined;
|
|
68
75
|
cascadeFilterSelection?: boolean | undefined;
|
|
@@ -97,7 +104,14 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
97
104
|
};
|
|
98
105
|
} | undefined;
|
|
99
106
|
datePickerFormat?: "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD" | undefined;
|
|
100
|
-
|
|
107
|
+
defaultFormats?: (() => {
|
|
108
|
+
[functionId: string]: string;
|
|
109
|
+
}) | undefined;
|
|
110
|
+
developerTools?: boolean | (import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DeveloperTools & {
|
|
111
|
+
viewClickSettingsInput?: (import("../../../../shared-ui/src/hooks/types").ClickSettingTypes & {
|
|
112
|
+
viewId: string;
|
|
113
|
+
}) | undefined;
|
|
114
|
+
}) | undefined;
|
|
101
115
|
textOverrides?: Partial<import("../../../../shared-logic/src/Translations/translation.types").VizzlyTranslations & {
|
|
102
116
|
'view.data-set-changed': string;
|
|
103
117
|
'view.resizing': string;
|
|
@@ -131,7 +145,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
131
145
|
organizationName?: string | undefined;
|
|
132
146
|
renderTableCell?: ((data: import("../../../../shared-logic/src/Component/types").Component.RenderTableCell) => import("react").ReactNode) | undefined;
|
|
133
147
|
onError?: import("../../../../shared-ui/src").VizzlyComponents.OnError | undefined;
|
|
134
|
-
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick) => void) | undefined;
|
|
148
|
+
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick, loadUnderlyingData?: import("../../../../shared-logic/src/Component/types").Component.OnViewClickQuery | undefined) => void) | undefined;
|
|
135
149
|
parentDashboardId?: string | undefined;
|
|
136
150
|
dashboardId?: string | undefined;
|
|
137
151
|
cascadeFilterSelection?: boolean | undefined;
|
|
@@ -166,7 +180,14 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
166
180
|
};
|
|
167
181
|
} | undefined;
|
|
168
182
|
datePickerFormat?: "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD" | undefined;
|
|
169
|
-
|
|
183
|
+
defaultFormats?: (() => {
|
|
184
|
+
[functionId: string]: string;
|
|
185
|
+
}) | undefined;
|
|
186
|
+
developerTools?: boolean | (import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DeveloperTools & {
|
|
187
|
+
viewClickSettingsInput?: (import("../../../../shared-ui/src/hooks/types").ClickSettingTypes & {
|
|
188
|
+
viewId: string;
|
|
189
|
+
}) | undefined;
|
|
190
|
+
}) | undefined;
|
|
170
191
|
textOverrides?: Partial<import("../../../../shared-logic/src/Translations/translation.types").VizzlyTranslations & {
|
|
171
192
|
'view.data-set-changed': string;
|
|
172
193
|
'view.resizing': string;
|
|
@@ -200,7 +221,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
200
221
|
organizationName?: string | undefined;
|
|
201
222
|
renderTableCell?: ((data: import("../../../../shared-logic/src/Component/types").Component.RenderTableCell) => import("react").ReactNode) | undefined;
|
|
202
223
|
onError?: import("../../../../shared-ui/src").VizzlyComponents.OnError | undefined;
|
|
203
|
-
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick) => void) | undefined;
|
|
224
|
+
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick, loadUnderlyingData?: import("../../../../shared-logic/src/Component/types").Component.OnViewClickQuery | undefined) => void) | undefined;
|
|
204
225
|
parentDashboardId?: string | undefined;
|
|
205
226
|
dashboardId?: string | undefined;
|
|
206
227
|
cascadeFilterSelection?: boolean | undefined;
|
|
@@ -236,7 +257,14 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
236
257
|
};
|
|
237
258
|
} | undefined;
|
|
238
259
|
datePickerFormat?: "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD" | undefined;
|
|
239
|
-
|
|
260
|
+
defaultFormats?: (() => {
|
|
261
|
+
[functionId: string]: string;
|
|
262
|
+
}) | undefined;
|
|
263
|
+
developerTools?: boolean | (import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DeveloperTools & {
|
|
264
|
+
viewClickSettingsInput?: (import("../../../../shared-ui/src/hooks/types").ClickSettingTypes & {
|
|
265
|
+
viewId: string;
|
|
266
|
+
}) | undefined;
|
|
267
|
+
}) | undefined;
|
|
240
268
|
textOverrides?: Partial<import("../../../../shared-logic/src/Translations/translation.types").VizzlyTranslations & {
|
|
241
269
|
'view.data-set-changed': string;
|
|
242
270
|
'view.resizing': string;
|
|
@@ -270,7 +298,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
270
298
|
organizationName?: string | undefined;
|
|
271
299
|
renderTableCell?: ((data: import("../../../../shared-logic/src/Component/types").Component.RenderTableCell) => import("react").ReactNode) | undefined;
|
|
272
300
|
onError?: import("../../../../shared-ui/src").VizzlyComponents.OnError | undefined;
|
|
273
|
-
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick) => void) | undefined;
|
|
301
|
+
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick, loadUnderlyingData?: import("../../../../shared-logic/src/Component/types").Component.OnViewClickQuery | undefined) => void) | undefined;
|
|
274
302
|
parentDashboardId?: string | undefined;
|
|
275
303
|
dashboardId?: string | undefined;
|
|
276
304
|
cascadeFilterSelection?: boolean | undefined;
|
|
@@ -305,7 +333,14 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
305
333
|
};
|
|
306
334
|
} | undefined;
|
|
307
335
|
datePickerFormat?: "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD" | undefined;
|
|
308
|
-
|
|
336
|
+
defaultFormats?: (() => {
|
|
337
|
+
[functionId: string]: string;
|
|
338
|
+
}) | undefined;
|
|
339
|
+
developerTools?: boolean | (import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DeveloperTools & {
|
|
340
|
+
viewClickSettingsInput?: (import("../../../../shared-ui/src/hooks/types").ClickSettingTypes & {
|
|
341
|
+
viewId: string;
|
|
342
|
+
}) | undefined;
|
|
343
|
+
}) | undefined;
|
|
309
344
|
textOverrides?: Partial<import("../../../../shared-logic/src/Translations/translation.types").VizzlyTranslations & {
|
|
310
345
|
'view.data-set-changed': string;
|
|
311
346
|
'view.resizing': string;
|
|
@@ -339,7 +374,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
339
374
|
organizationName?: string | undefined;
|
|
340
375
|
renderTableCell?: ((data: import("../../../../shared-logic/src/Component/types").Component.RenderTableCell) => import("react").ReactNode) | undefined;
|
|
341
376
|
onError?: import("../../../../shared-ui/src").VizzlyComponents.OnError | undefined;
|
|
342
|
-
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick) => void) | undefined;
|
|
377
|
+
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick, loadUnderlyingData?: import("../../../../shared-logic/src/Component/types").Component.OnViewClickQuery | undefined) => void) | undefined;
|
|
343
378
|
parentDashboardId?: string | undefined;
|
|
344
379
|
dashboardId?: string | undefined;
|
|
345
380
|
cascadeFilterSelection?: boolean | undefined;
|
|
@@ -374,7 +409,14 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
374
409
|
};
|
|
375
410
|
} | undefined;
|
|
376
411
|
datePickerFormat?: "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD" | undefined;
|
|
377
|
-
|
|
412
|
+
defaultFormats?: (() => {
|
|
413
|
+
[functionId: string]: string;
|
|
414
|
+
}) | undefined;
|
|
415
|
+
developerTools?: boolean | (import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DeveloperTools & {
|
|
416
|
+
viewClickSettingsInput?: (import("../../../../shared-ui/src/hooks/types").ClickSettingTypes & {
|
|
417
|
+
viewId: string;
|
|
418
|
+
}) | undefined;
|
|
419
|
+
}) | undefined;
|
|
378
420
|
textOverrides?: Partial<import("../../../../shared-logic/src/Translations/translation.types").VizzlyTranslations & {
|
|
379
421
|
'view.data-set-changed': string;
|
|
380
422
|
'view.resizing': string;
|
|
@@ -408,7 +450,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
408
450
|
organizationName?: string | undefined;
|
|
409
451
|
renderTableCell?: ((data: import("../../../../shared-logic/src/Component/types").Component.RenderTableCell) => import("react").ReactNode) | undefined;
|
|
410
452
|
onError?: import("../../../../shared-ui/src").VizzlyComponents.OnError | undefined;
|
|
411
|
-
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick) => void) | undefined;
|
|
453
|
+
onViewClick?: ((data: import("../../../../shared-logic/src/Component/types").Component.OnViewClick, loadUnderlyingData?: import("../../../../shared-logic/src/Component/types").Component.OnViewClickQuery | undefined) => void) | undefined;
|
|
412
454
|
parentDashboardId?: string | undefined;
|
|
413
455
|
dashboardId?: string | undefined;
|
|
414
456
|
cascadeFilterSelection?: boolean | undefined;
|
|
@@ -52,6 +52,7 @@ export declare type SharedDashboardProps = {
|
|
|
52
52
|
numberFormatOptions?: DashboardBehaviour['numberFormatOptions'];
|
|
53
53
|
dateTimeFormatOptions?: DashboardBehaviour['dateTimeFormatOptions'];
|
|
54
54
|
datePickerFormat?: DashboardBehaviour['datePickerFormat'];
|
|
55
|
+
defaultFormats?: DashboardBehaviour['defaultFormats'];
|
|
55
56
|
developerTools?: DashboardBehaviour['developerTools'];
|
|
56
57
|
textOverrides?: DashboardBehaviour['textOverrides'];
|
|
57
58
|
dataPanel?: DashboardBehaviour['dataPanel'];
|