@vizzly/dashboard 0.12.13 → 0.12.14

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 (57) hide show
  1. package/dist/charts/src/PieChart/CorePieChart.d.ts +4 -3
  2. package/dist/charts/src/PieChart/PieChart.d.ts +6 -1
  3. package/dist/charts/src/ScatterChart/ScatterChart.d.ts +1 -1
  4. package/dist/charts/src/XYChart/components/Threshold.d.ts +1 -0
  5. package/dist/charts/src/XYChart/components/threshold.utils.d.ts +2 -2
  6. package/dist/index.js +1 -1
  7. package/dist/services/src/schemaValidations/dashboard.d.ts +2 -0
  8. package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +7 -4
  9. package/dist/shared-logic/src/AdditionalFilter/FilterConfig.d.ts +4 -0
  10. package/dist/shared-logic/src/AdditionalFilter/constants.d.ts +3 -0
  11. package/dist/shared-logic/src/AdditionalFilter/filterHelpers.d.ts +1 -0
  12. package/dist/shared-logic/src/AdditionalFilter/schema.d.ts +2 -0
  13. package/dist/shared-logic/src/AdditionalFilter/toQueryAttributesFilter.d.ts +5 -0
  14. package/dist/shared-logic/src/AdditionalFilter/types.d.ts +5 -0
  15. package/dist/shared-logic/src/Component/types.d.ts +2 -1
  16. package/dist/shared-logic/src/Dashboard/Dashboard.d.ts +6 -1
  17. package/dist/shared-logic/src/Dashboard/types.d.ts +1 -0
  18. package/dist/shared-logic/src/DateTimeField/DateTimeField.d.ts +2 -0
  19. package/dist/shared-logic/src/Downloads/downloadToJSON.d.ts +4 -0
  20. package/dist/shared-logic/src/Downloads/index.d.ts +1 -0
  21. package/dist/shared-logic/src/Drilldown/schema.d.ts +3 -0
  22. package/dist/shared-logic/src/PDFGenerator/index.d.ts +1 -1
  23. package/dist/shared-logic/src/PieChart/onViewClick.d.ts +10 -0
  24. package/dist/shared-logic/src/QueryEngine/types.d.ts +1 -1
  25. package/dist/shared-logic/src/Theme/types.d.ts +12 -0
  26. package/dist/shared-ui/src/base/DateTime/DateTimeFilter.d.ts +1 -0
  27. package/dist/shared-ui/src/base/DateTime/TimePickerCore.d.ts +1 -1
  28. package/dist/shared-ui/src/base/FileUpload/FileUpload.d.ts +20 -0
  29. package/dist/shared-ui/src/base/FileUpload/index.d.ts +1 -0
  30. package/dist/shared-ui/src/base/Icons/SVGs.d.ts +13 -4
  31. package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
  32. package/dist/shared-ui/src/base/Modal/Modal.types.d.ts +1 -0
  33. package/dist/shared-ui/src/base/Modal.d.ts +4 -2
  34. package/dist/shared-ui/src/base/Panel/Panel.d.ts +1 -1
  35. package/dist/shared-ui/src/base/Section/Section.d.ts +1 -1
  36. package/dist/shared-ui/src/base/Toolbar/Toolbar.d.ts +0 -32
  37. package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedDisplayValues.d.ts +4 -0
  38. package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedSelectFilter.d.ts +10 -0
  39. package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/advancedFilters.d.ts +2 -0
  40. package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.d.ts +5 -5
  41. package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.func.d.ts +6 -0
  42. package/dist/shared-ui/src/components/AdditionalFilter/useBuildDashboardFilter.d.ts +1 -0
  43. package/dist/shared-ui/src/components/Drilldown/useDrilldownSelection.d.ts +11 -0
  44. package/dist/shared-ui/src/components/PieChart/PieChart.d.ts +1 -0
  45. package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +6 -1
  46. package/dist/shared-ui/src/contexts/DashboardContext/types.d.ts +5 -1
  47. package/dist/shared-ui/src/headlessui/components/dialog/dialog.d.ts +6 -6
  48. package/dist/shared-ui/src/headlessui/components/popover/popover.d.ts +7 -7
  49. package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +11 -11
  50. package/dist/shared-ui/src/headlessui/components/tabs/tabs.d.ts +4 -4
  51. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownBreadcrumb.d.ts +1 -1
  52. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownInput.d.ts +2 -1
  53. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownModal.d.ts +2 -1
  54. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/drilldown.func.d.ts +3 -1
  55. package/dist/shared-ui/src/types.d.ts +12 -1
  56. package/package.json +12 -12
  57. package/dist/shared-ui/src/components/AdditionalFilter/AdvancedSelectFilter.d.ts +0 -12
@@ -55,6 +55,10 @@ export declare type SetDashboardAction = {
55
55
  type: 'setDashboard';
56
56
  dashboard: Dashboard;
57
57
  };
58
+ export declare type ImportDashboardAction = {
59
+ type: 'importDashboard';
60
+ dashboardToImport: Dashboard;
61
+ };
58
62
  export declare type SetThemeAction = {
59
63
  type: 'setTheme';
60
64
  theme: StoredTheme;
@@ -213,7 +217,7 @@ export declare type StartEditorAction = {
213
217
  libraryIndex: number | null;
214
218
  component: Component | null;
215
219
  };
216
- export declare type StudioAction = InitAction | SetDashboardAction | SaveComponentAction | ClearModalAction | InsertRowAction | AppendCellAction | AddHeaderRowAction | SetHeaderComponentAction | RemoveCellAction | ClearCellAction | RemoveRowAction | AddDataSetAction | RemoveDataSetAction | SetDataSetsAction | SetLocalFiltersAction | SetAttributesAction | UpdateEditorComponentAction | SetResultsForComponentInDisplayAction | SetResultsForComponentInEditorAction | SetResultsForComponentInLibraryAction | StartEditingComponentAction | StartPickingComponentFromLibraryForDisplayAction | PickComponentFromLibraryForDisplayAction | SetThemeAction | SetGlobalFiltersAction | ChangePreviewModeAction | UpdateDisplayComponentAttributesAction | UpdateComponentLibraryAttributesAction | RemoveComponentFromLibraryAction | AddCustomComponentAction | SetColSpansAction | SetRowHeightAction | SetComponentReportsAction | SwapComponentsAction | SetParameterBasedUpdateAction | AddComponentToLibrary | StartEditorAction;
220
+ export declare type StudioAction = InitAction | SetDashboardAction | ImportDashboardAction | SaveComponentAction | ClearModalAction | InsertRowAction | AppendCellAction | AddHeaderRowAction | SetHeaderComponentAction | RemoveCellAction | ClearCellAction | RemoveRowAction | AddDataSetAction | RemoveDataSetAction | SetDataSetsAction | SetLocalFiltersAction | SetAttributesAction | UpdateEditorComponentAction | SetResultsForComponentInDisplayAction | SetResultsForComponentInEditorAction | SetResultsForComponentInLibraryAction | StartEditingComponentAction | StartPickingComponentFromLibraryForDisplayAction | PickComponentFromLibraryForDisplayAction | SetThemeAction | SetGlobalFiltersAction | ChangePreviewModeAction | UpdateDisplayComponentAttributesAction | UpdateComponentLibraryAttributesAction | RemoveComponentFromLibraryAction | AddCustomComponentAction | SetColSpansAction | SetRowHeightAction | SetComponentReportsAction | SwapComponentsAction | SetParameterBasedUpdateAction | AddComponentToLibrary | StartEditorAction;
217
221
  export declare type PipelineTransformationOptions = {
218
222
  dashboardFilters: DashboardBehaviour['dashboardFilters'];
219
223
  onDashboardFilterChange: DashboardBehaviour['onDashboardFilterChange'];
@@ -81,7 +81,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
81
81
  onClose(value: boolean): void;
82
82
  initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
83
83
  __demoMode?: boolean | undefined;
84
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
84
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
85
85
  as?: TTag | undefined;
86
86
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
87
87
  refName?: string | undefined;
@@ -96,7 +96,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
96
96
  onClose(value: boolean): void;
97
97
  initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
98
98
  __demoMode?: boolean | undefined;
99
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
99
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
100
100
  as?: TTag | undefined;
101
101
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
102
102
  refName?: string | undefined;
@@ -111,7 +111,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
111
111
  onClose(value: boolean): void;
112
112
  initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
113
113
  __demoMode?: boolean | undefined;
114
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
114
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
115
115
  as?: TTag | undefined;
116
116
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
117
117
  refName?: string | undefined;
@@ -126,7 +126,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
126
126
  onClose(value: boolean): void;
127
127
  initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
128
128
  __demoMode?: boolean | undefined;
129
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
129
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
130
130
  as?: TTag | undefined;
131
131
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
132
132
  refName?: string | undefined;
@@ -141,7 +141,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
141
141
  onClose(value: boolean): void;
142
142
  initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
143
143
  __demoMode?: boolean | undefined;
144
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
144
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
145
145
  as?: TTag | undefined;
146
146
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
147
147
  refName?: string | undefined;
@@ -156,7 +156,7 @@ export declare let Dialog: (<TTag extends React.ElementType<any> = "div">(props:
156
156
  onClose(value: boolean): void;
157
157
  initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
158
158
  __demoMode?: boolean | undefined;
159
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
159
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-modal" | "as" | "refName">> & {
160
160
  as?: TTag | undefined;
161
161
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: DialogRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
162
162
  refName?: string | undefined;
@@ -27,7 +27,7 @@ declare type GroupPropsWeControl = 'id';
27
27
  export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props: Props<TTag, PopoverRenderPropArg, "1D45E01E-AF44-47C4-988A-19A94EBAF55C">, ref: Ref<HTMLElement>) => JSX.Element) & {
28
28
  displayName: string;
29
29
  } & {
30
- Button: (<TTag_1 extends React.ElementType<any> = "button">(props: Props<TTag_1, ButtonRenderPropArg, "id" | "type" | "onKeyDown" | "onClick" | "aria-controls" | "aria-expanded">, ref: Ref<HTMLButtonElement>) => JSX.Element) & {
30
+ Button: (<TTag_1 extends React.ElementType<any> = "button">(props: Props<TTag_1, ButtonRenderPropArg, "id" | "type" | "aria-controls" | "aria-expanded" | "onKeyDown" | "onClick">, ref: Ref<HTMLButtonElement>) => JSX.Element) & {
31
31
  displayName: string;
32
32
  };
33
33
  Overlay: (<TTag_2 extends React.ElementType<any> = "div">(props: (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "id" | "children" | "className" | "as" | "refName">> & {
@@ -50,7 +50,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
50
50
  unmount?: undefined;
51
51
  } & {
52
52
  static?: boolean | undefined;
53
- }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "onClick" | "as" | "refName">> & {
53
+ }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "aria-hidden" | "as" | "refName">> & {
54
54
  as?: TTag_2 | undefined;
55
55
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
56
56
  refName?: string | undefined;
@@ -60,7 +60,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
60
60
  static?: undefined;
61
61
  } & {
62
62
  unmount?: boolean | undefined;
63
- }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "onClick" | "as" | "refName">> & {
63
+ }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "aria-hidden" | "as" | "refName">> & {
64
64
  as?: TTag_2 | undefined;
65
65
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
66
66
  refName?: string | undefined;
@@ -70,7 +70,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
70
70
  unmount?: undefined;
71
71
  } & {
72
72
  static?: boolean | undefined;
73
- }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "as" | "refName" | "aria-hidden">> & {
73
+ }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "onClick" | "as" | "refName">> & {
74
74
  as?: TTag_2 | undefined;
75
75
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
76
76
  refName?: string | undefined;
@@ -80,7 +80,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
80
80
  static?: undefined;
81
81
  } & {
82
82
  unmount?: boolean | undefined;
83
- }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "as" | "refName" | "aria-hidden">> & {
83
+ }) | (Pick<import("../../types").PropsOf<TTag_2>, Exclude<keyof import("../../types").PropsOf<TTag_2>, "children" | "className" | "onClick" | "as" | "refName">> & {
84
84
  as?: TTag_2 | undefined;
85
85
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: OverlayRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
86
86
  refName?: string | undefined;
@@ -117,7 +117,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
117
117
  static?: boolean | undefined;
118
118
  } & {
119
119
  focus?: boolean | undefined;
120
- }) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "onKeyDown" | "className" | "as" | "refName">> & {
120
+ }) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "className" | "onKeyDown" | "as" | "refName">> & {
121
121
  as?: TTag_3 | undefined;
122
122
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
123
123
  refName?: string | undefined;
@@ -129,7 +129,7 @@ export declare let Popover: (<TTag extends React.ElementType<any> = "div">(props
129
129
  unmount?: boolean | undefined;
130
130
  } & {
131
131
  focus?: boolean | undefined;
132
- }) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "onKeyDown" | "className" | "as" | "refName">> & {
132
+ }) | (Pick<import("../../types").PropsOf<TTag_3>, Exclude<keyof import("../../types").PropsOf<TTag_3>, "children" | "className" | "onKeyDown" | "as" | "refName">> & {
133
133
  as?: TTag_3 | undefined;
134
134
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
135
135
  refName?: string | undefined;
@@ -32,7 +32,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
32
32
  onChange?(checked: boolean): void;
33
33
  name?: string | undefined;
34
34
  value?: string | undefined;
35
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "onChange" | "className" | "as" | "refName">> & {
35
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "name" | "as" | "refName">> & {
36
36
  as?: TTag | undefined;
37
37
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
38
38
  refName?: string | undefined;
@@ -44,7 +44,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
44
44
  onChange?(checked: boolean): void;
45
45
  name?: string | undefined;
46
46
  value?: string | undefined;
47
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onClick" | "as" | "refName">> & {
47
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "role" | "as" | "refName">> & {
48
48
  as?: TTag | undefined;
49
49
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
50
50
  refName?: string | undefined;
@@ -56,7 +56,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
56
56
  onChange?(checked: boolean): void;
57
57
  name?: string | undefined;
58
58
  value?: string | undefined;
59
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "role" | "as" | "refName">> & {
59
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "tabIndex" | "as" | "refName">> & {
60
60
  as?: TTag | undefined;
61
61
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
62
62
  refName?: string | undefined;
@@ -68,7 +68,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
68
68
  onChange?(checked: boolean): void;
69
69
  name?: string | undefined;
70
70
  value?: string | undefined;
71
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
71
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-checked" | "as" | "refName">> & {
72
72
  as?: TTag | undefined;
73
73
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
74
74
  refName?: string | undefined;
@@ -80,7 +80,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
80
80
  onChange?(checked: boolean): void;
81
81
  name?: string | undefined;
82
82
  value?: string | undefined;
83
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
83
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-describedby" | "as" | "refName">> & {
84
84
  as?: TTag | undefined;
85
85
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
86
86
  refName?: string | undefined;
@@ -92,7 +92,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
92
92
  onChange?(checked: boolean): void;
93
93
  name?: string | undefined;
94
94
  value?: string | undefined;
95
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "defaultChecked">> & {
95
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
96
96
  as?: TTag | undefined;
97
97
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
98
98
  refName?: string | undefined;
@@ -104,7 +104,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
104
104
  onChange?(checked: boolean): void;
105
105
  name?: string | undefined;
106
106
  value?: string | undefined;
107
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
107
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onChange" | "as" | "refName">> & {
108
108
  as?: TTag | undefined;
109
109
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
110
110
  refName?: string | undefined;
@@ -116,7 +116,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
116
116
  onChange?(checked: boolean): void;
117
117
  name?: string | undefined;
118
118
  value?: string | undefined;
119
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "aria-checked">> & {
119
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onKeyPress" | "as" | "refName">> & {
120
120
  as?: TTag | undefined;
121
121
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
122
122
  refName?: string | undefined;
@@ -128,7 +128,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
128
128
  onChange?(checked: boolean): void;
129
129
  name?: string | undefined;
130
130
  value?: string | undefined;
131
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "onKeyPress">> & {
131
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onKeyUp" | "as" | "refName">> & {
132
132
  as?: TTag | undefined;
133
133
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
134
134
  refName?: string | undefined;
@@ -140,7 +140,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
140
140
  onChange?(checked: boolean): void;
141
141
  name?: string | undefined;
142
142
  value?: string | undefined;
143
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "onKeyUp">> & {
143
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "onClick" | "as" | "refName">> & {
144
144
  as?: TTag | undefined;
145
145
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
146
146
  refName?: string | undefined;
@@ -152,7 +152,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
152
152
  onChange?(checked: boolean): void;
153
153
  name?: string | undefined;
154
154
  value?: string | undefined;
155
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "name">> & {
155
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName" | "defaultChecked">> & {
156
156
  as?: TTag | undefined;
157
157
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
158
158
  refName?: string | undefined;
@@ -86,7 +86,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
86
86
  unmount?: undefined;
87
87
  } & {
88
88
  static?: boolean | undefined;
89
- }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
89
+ }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "tabIndex" | "as" | "refName">> & {
90
90
  as?: TTag_4 | undefined;
91
91
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
92
92
  refName?: string | undefined;
@@ -96,7 +96,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
96
96
  static?: undefined;
97
97
  } & {
98
98
  unmount?: boolean | undefined;
99
- }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
99
+ }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "tabIndex" | "as" | "refName">> & {
100
100
  as?: TTag_4 | undefined;
101
101
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
102
102
  refName?: string | undefined;
@@ -106,7 +106,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
106
106
  unmount?: undefined;
107
107
  } & {
108
108
  static?: boolean | undefined;
109
- }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
109
+ }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
110
110
  as?: TTag_4 | undefined;
111
111
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
112
112
  refName?: string | undefined;
@@ -116,7 +116,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
116
116
  static?: undefined;
117
117
  } & {
118
118
  unmount?: boolean | undefined;
119
- }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
119
+ }) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
120
120
  as?: TTag_4 | undefined;
121
121
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: PanelRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
122
122
  refName?: string | undefined;
@@ -3,6 +3,6 @@ import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
3
3
  import { SelectedDrilldown } from '../../../../../shared-logic/src/Drilldown/Drilldown';
4
4
  export declare const DrilldownBreadcrumb: FunctionComponent<{
5
5
  onReset: () => void;
6
- drilldownSelections: SelectedDrilldown[];
6
+ drilldownSelections?: SelectedDrilldown[];
7
7
  dataSet: DataSet;
8
8
  }>;
@@ -1,10 +1,11 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
3
3
  import { QueryAttributes as QueryAttributesType } from '../../../../../shared-logic/src/QueryAttributes/types';
4
- import { Component } from '../../../../../shared-logic/src/Component/types';
4
+ import { Component, ComponentType } from '../../../../../shared-logic/src/Component/types';
5
5
  export declare const DrilldownInput: FunctionComponent<{
6
6
  dimensions: Array<QueryAttributesType.Dimension>;
7
7
  drilldownOptions?: Component.DrilldownOptions[];
8
8
  onSetDrilldown: (drilldown: Array<Component.DrilldownOptions>) => void;
9
9
  dataSet: DataSetType;
10
+ component: ComponentType;
10
11
  }>;
@@ -1,11 +1,12 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
3
3
  import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
4
- import { Component } from '../../../../../shared-logic/src/Component/types';
4
+ import { Component, ComponentType } from '../../../../../shared-logic/src/Component/types';
5
5
  export declare const DrilldownModal: FunctionComponent<{
6
6
  show: boolean;
7
7
  onClose: (drilldown?: Component.DrilldownOptions[]) => void;
8
8
  drilldownOptions?: Component.DrilldownOptions[];
9
9
  dataSet: DataSetType;
10
10
  dimension: QueryAttributes.Dimension[];
11
+ component: ComponentType;
11
12
  }>;
@@ -1,5 +1,7 @@
1
- import { Component } from '../../../../../shared-logic/src/Component/types';
1
+ import { Component, ComponentType } from '../../../../../shared-logic/src/Component/types';
2
2
  import { MultiSelectOptions } from '../../../base/MultiSelect';
3
3
  import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
4
+ import { FieldFilterOptions } from '../../../../../shared-logic/src/DataSet/types';
4
5
  export declare const getInitialSelected: (fieldOptions: MultiSelectOptions[], drilldownOptions?: Component.DrilldownOptions[] | undefined) => number[];
5
6
  export declare function getDrilldownOptions(selectedFieldIndexes: number[], fieldOptions: MultiSelectOptions[], queryEngineConfig: QueryEngineConfig): Component.DrilldownOptions[];
7
+ export declare const drilldownFieldConfiguration: (component: ComponentType) => FieldFilterOptions;
@@ -10,13 +10,14 @@ import { PivotConfig as PivotConfigImported } from '../../shared-logic/src/Pivot
10
10
  import { DataPanelSection } from '../../shared-logic/src/DataPanelConfig/types';
11
11
  import { FormatPanelSection } from '../../shared-logic/src/FormatPanelConfig/types';
12
12
  import { Dashboard } from '../../shared-logic/src/Dashboard/types';
13
- import { AdditionalFilter, FilterConfig } from '../../shared-logic/src/AdditionalFilter/types';
13
+ import { AdditionalFilter, FilterConfig, MultiSelectFilter, NumericFilter } from '../../shared-logic/src/AdditionalFilter/types';
14
14
  import { QueryAttributes } from '../../shared-logic/src/QueryAttributes/types';
15
15
  import { GlobalFilterViewProps } from './components/GlobalFilters/types';
16
16
  import { api } from '../../shared-logic/src/api';
17
17
  import { CustomView as CustomViewType } from '../../shared-logic/src/CustomView/types';
18
18
  import { runQueriesCallback as runQueriesCallbackImported } from '../../shared-logic/src/api/queryEngine/getRunQueriesCallback';
19
19
  import { SavingState } from '../../shared-logic/src/VizzlyState';
20
+ import { DataType } from '../../shared-logic/src/Field/types';
20
21
  declare global {
21
22
  var disableViewCheck: boolean;
22
23
  var disableResizing: boolean;
@@ -150,6 +151,14 @@ export declare namespace VizzlyComponents {
150
151
  type SectionProps<Section extends DataPanelSection | FormatPanelSection = DataPanelSection | FormatPanelSection> = EditorSectionProps<Component.Attributes> & {
151
152
  section: Section;
152
153
  };
154
+ type AdvancedFilter = PropsWithChildren<{
155
+ filterIndex: number;
156
+ filter: MultiSelectFilter | NumericFilter;
157
+ dataSets: DataSet[];
158
+ onChange: (filter: MultiSelectFilter | NumericFilter) => void;
159
+ showClearBtn?: boolean;
160
+ type: Omit<DataType, 'date_time'>;
161
+ }>;
153
162
  }
154
163
  type Props<Rest> = Rest & {
155
164
  activeDevToolHighlight: boolean;
@@ -158,6 +167,7 @@ export declare namespace VizzlyComponents {
158
167
  type renderGlobalFiltersViewComponent = (props: GlobalFilterViewProps) => JSX.Element | null;
159
168
  type renderManageGlobalFilters = (props: Props.ManageGlobalFilters) => JSX.Element | null;
160
169
  type renderButtonComponent = (props: Props.Button) => JSX.Element;
170
+ type renderAdvancedFilter = (props: Props.AdvancedFilter) => JSX.Element;
161
171
  type renderDateTimeInput = (props: Props.DateTimeInput) => JSX.Element;
162
172
  type renderSelectComponent = (props: Props.Select) => JSX.Element;
163
173
  type renderDateTimeRangeInput = (props: Props.DateTimeRangeInput) => JSX.Element;
@@ -261,6 +271,7 @@ export declare namespace VizzlyComponents {
261
271
  renderManageGlobalFilters?: ComponentOverrides.renderManageGlobalFilters | null;
262
272
  renderSelectComponent: ComponentOverrides.renderSelectComponent | null;
263
273
  renderButtonComponent: ComponentOverrides.renderButtonComponent | null;
274
+ renderAdvancedFilter: ComponentOverrides.renderAdvancedFilter | null;
264
275
  renderDateTimeInput: ComponentOverrides.renderDateTimeInput | null;
265
276
  renderDateTimeRangeInput: ComponentOverrides.renderDateTimeRangeInput | null;
266
277
  renderSavingComponent: ComponentOverrides.renderSavingComponent | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizzly/dashboard",
3
3
  "author": "james@vizzly.co",
4
- "version": "0.12.13",
4
+ "version": "0.12.14",
5
5
  "source": "src/index.tsx",
6
6
  "types": "./dist/dashboard/src/index.d.ts",
7
7
  "main": "dist/index.js",
@@ -28,13 +28,6 @@
28
28
  "react-dom": ">=17"
29
29
  },
30
30
  "dependencies": {
31
- "@tiptap/extension-color": "2.5.1",
32
- "@tiptap/extension-text-style": "2.5.1",
33
- "@tiptap/extension-underline": "2.5.1",
34
- "@tiptap/pm": "2.5.1",
35
- "@tiptap/react": "2.5.1",
36
- "@tiptap/starter-kit": "2.5.1",
37
- "liquidjs": "^10.15.0",
38
31
  "@emotion/cache": "^11.11.0",
39
32
  "@emotion/css": "^11.10.6",
40
33
  "@emotion/react": "^11.11.1",
@@ -42,13 +35,19 @@
42
35
  "@heroicons/react": "^1.0.6",
43
36
  "@popperjs/core": "^2.11.6",
44
37
  "@react-spring/web": "9.6.1",
38
+ "@tiptap/extension-color": "2.5.1",
39
+ "@tiptap/extension-text-style": "2.5.1",
40
+ "@tiptap/extension-underline": "2.5.1",
41
+ "@tiptap/pm": "2.5.1",
42
+ "@tiptap/react": "2.5.1",
43
+ "@tiptap/starter-kit": "2.5.1",
45
44
  "@visx/visx": "^3.10.2",
46
45
  "@vizzly/api-client": "0.0.38",
47
46
  "@vizzly/dnd-backend": "0.0.4",
48
47
  "@vizzly/joi": "^17.7.0",
49
- "@vizzly/semantic-layer-public": "0.0.118",
50
- "@vizzly/sqlbuilder-public": "0.1.9",
51
- "chroma-js": "^2.4.2",
48
+ "@vizzly/semantic-layer-public": "0.0.203",
49
+ "@vizzly/sqlbuilder-public": "0.1.13",
50
+ "chroma-js": "2.4.2",
52
51
  "copy-to-clipboard": "^3.3.3",
53
52
  "cross-fetch": "^4.0.0",
54
53
  "file-saver": "^2.0.5",
@@ -56,6 +55,7 @@
56
55
  "html2canvas": "^1.4.1",
57
56
  "joi-to-json": "^4.2.1",
58
57
  "jspdf": "^2.5.1",
58
+ "liquidjs": "^10.15.0",
59
59
  "lodash": "^4.17.21",
60
60
  "lodash-es": "^4.17.21",
61
61
  "react-dates-17": "22.0.8",
@@ -74,7 +74,7 @@
74
74
  "@testing-library/jest-dom": "^5.14.1",
75
75
  "@testing-library/react": "^12.1.2",
76
76
  "@testing-library/user-event": "^14.2.3",
77
- "@types/chroma-js": "^2.1.4",
77
+ "@types/chroma-js": "2.4.2",
78
78
  "@types/jest": "^27.0.2",
79
79
  "@types/lodash": "^4.14.186",
80
80
  "@types/react": "^17.0.2",
@@ -1,12 +0,0 @@
1
- import { MultiSelectFilter as MultiSelectFilterType, NumericFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
2
- import { DataSet } from '../../../../shared-logic/src/DataSet/types';
3
- import { FunctionComponent } from 'react';
4
- import { DataType } from '../../../../shared-logic/src/Field/types';
5
- export declare const AdvancedSelectFilter: FunctionComponent<{
6
- filterIndex: number;
7
- filter: MultiSelectFilterType | NumericFilter;
8
- dataSets: DataSet[];
9
- onChange: (filter: MultiSelectFilterType | NumericFilter) => void;
10
- showClearBtn?: boolean;
11
- type: Omit<DataType, 'date_time'>;
12
- }>;