@vizzly/dashboard 0.8.1 → 0.8.2-dev-4ac76b0195bc8bd9f3866e4cdcdac08e26caeff3
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/CorePieChart.d.ts +1 -0
- package/dist/charts/src/XYChart/Annotations.d.ts +1 -0
- package/dist/charts/src/XYChart/XYChart.d.ts +1 -0
- package/dist/charts/src/XYChart/getCurveType.d.ts +7 -0
- package/dist/charts/src/XYChart/logic/constants.d.ts +2 -0
- package/dist/charts/src/XYChart/types.d.ts +1 -1
- package/dist/charts/src/types.d.ts +2 -0
- package/dist/charts/src/utils/buildStyleOverrides.d.ts +1 -1
- package/dist/dashboard/src/SetupError.d.ts +1 -0
- package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +6 -0
- package/dist/dashboard/src/index.d.ts +1 -0
- package/dist/dashboard/src/types.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/shared-logic/src/Aggregate/Aggregate.d.ts +2 -0
- package/dist/shared-logic/src/Callbacks/labelFormat.d.ts +2 -0
- package/dist/shared-logic/src/Component/types.d.ts +8 -0
- package/dist/shared-logic/src/DashboardAPI/dashboardAPI/updating.d.ts +2 -0
- package/dist/shared-logic/src/Logger/Logger.d.ts +2 -0
- package/dist/shared-logic/src/Logger/types.d.ts +1 -1
- package/dist/shared-logic/src/Query/validate.d.ts +1 -0
- package/dist/shared-logic/src/QueryEngineConfig/redshift.d.ts +2 -0
- package/dist/shared-logic/src/Theme/types.d.ts +2 -0
- package/dist/shared-logic/src/Translations/translation.types.d.ts +7 -0
- package/dist/shared-logic/src/VizzlyConfig/validate.d.ts +1 -0
- package/dist/shared-logic/src/api/queryEngine/createDashboard.d.ts +3 -1
- package/dist/shared-logic/src/api/vizzly/createDashboard.d.ts +3 -1
- package/dist/shared-logic/src/api/vizzly/updateDashboard.d.ts +2 -0
- package/dist/shared-ui/src/api/useQueryEffect/download.d.ts +1 -1
- package/dist/shared-ui/src/base/AppStyles/AppStyles.styles.d.ts +1 -1
- package/dist/shared-ui/src/base/Button/Button.d.ts +1 -0
- package/dist/shared-ui/src/base/DateTime/DateRangePicker.d.ts +7 -0
- package/dist/shared-ui/src/base/DateTime/DateTimeFilter.d.ts +0 -4
- package/dist/shared-ui/src/base/DateTimeInput.d.ts +1 -0
- package/dist/shared-ui/src/base/EmptyState/Illustration.d.ts +1 -0
- package/dist/shared-ui/src/base/HeroCenteredForm/Notice.d.ts +1 -0
- package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
- package/dist/shared-ui/src/base/Section/Section.d.ts +1 -1
- package/dist/shared-ui/src/base/Select/Select.types.d.ts +1 -0
- package/dist/shared-ui/src/base/Select/Wrapper.d.ts +1 -0
- package/dist/shared-ui/src/base/layout/View.d.ts +1 -0
- package/dist/shared-ui/src/base/utils/titleFormat.d.ts +1 -0
- package/dist/shared-ui/src/buildStyleOverrides.d.ts +1 -1
- package/dist/shared-ui/src/components/AdditionalFilter/AdditionalFilter.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/AdditionalSingleSelectFilter/index.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/DateFilter/index.d.ts +1 -0
- package/dist/shared-ui/src/components/AreaChart/AreaChart.d.ts +1 -0
- package/dist/shared-ui/src/components/ChartHelper.d.ts +3 -3
- package/dist/shared-ui/src/components/ComboChart/ComboChart.d.ts +1 -0
- package/dist/shared-ui/src/components/Component.d.ts +1 -0
- package/dist/shared-ui/src/components/CustomComponent/CustomComponent.d.ts +1 -0
- package/dist/shared-ui/src/components/DataPropsEditor/DataPanelFromConfig.d.ts +1 -0
- package/dist/shared-ui/src/components/DataPropsEditor.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/DataTable.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/DataTableView.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/TableHeader.d.ts +1 -0
- package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +1 -1
- package/dist/shared-ui/src/components/GlobalFilters/GlobalFilters.d.ts +1 -0
- package/dist/shared-ui/src/components/GlobalFilters/GlobalFiltersView.d.ts +1 -0
- package/dist/shared-ui/src/components/Icons/ComponentIcons.d.ts +1 -0
- package/dist/shared-ui/src/components/LineChart/LineChart.d.ts +1 -0
- package/dist/shared-ui/src/components/LocalFilter/DateTimeFilter/DataProps.d.ts +1 -0
- package/dist/shared-ui/src/components/LocalFilter/SelectFilter/DataProps.d.ts +1 -0
- package/dist/shared-ui/src/components/LocalFilter/View.d.ts +1 -0
- package/dist/shared-ui/src/components/MercatorMap/MercatorMap.d.ts +1 -0
- package/dist/shared-ui/src/components/MercatorMap/View.d.ts +1 -0
- package/dist/shared-ui/src/components/Parameters/ChangeViewMeasures.d.ts +5 -2
- package/dist/shared-ui/src/components/Parameters/ParametersView.d.ts +1 -0
- package/dist/shared-ui/src/components/Pickers/MetricsSelect.d.ts +1 -0
- package/dist/shared-ui/src/components/PieChart/PieChart.d.ts +1 -0
- package/dist/shared-ui/src/components/Progress/Progress.d.ts +1 -0
- package/dist/shared-ui/src/components/Progress/ProgressView.d.ts +1 -0
- package/dist/shared-ui/src/components/ScatterChart/ScatterChart.d.ts +1 -0
- package/dist/shared-ui/src/components/SingleStat/SingleStat.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/AdminTools/AdminTools.d.ts +2 -0
- package/dist/shared-ui/src/components/Studio/Studio.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioApp/Cell.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioApp/ComponentOptions.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioApp.d.ts +1 -0
- package/dist/shared-ui/src/components/Studio/StudioContexts.d.ts +2 -1
- package/dist/shared-ui/src/components/StylePropsEditor.d.ts +1 -0
- package/dist/shared-ui/src/components/Table/PrefixModal.d.ts +1 -0
- package/dist/shared-ui/src/components/ViewHeader/ViewHeader.d.ts +1 -0
- package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +4 -3
- package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +3 -0
- package/dist/shared-ui/src/headlessui/components/dialog/dialog.d.ts +10 -10
- package/dist/shared-ui/src/headlessui/components/disclosure/disclosure.d.ts +3 -3
- package/dist/shared-ui/src/headlessui/components/focus-trap/focus-trap.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/components/label/label.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/components/popover/popover.d.ts +10 -10
- package/dist/shared-ui/src/headlessui/components/portal/portal.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +15 -15
- package/dist/shared-ui/src/headlessui/components/tabs/tabs.d.ts +9 -9
- package/dist/shared-ui/src/headlessui/hooks/use-id.d.ts +1 -2
- package/dist/shared-ui/src/headlessui/internal/focus-sentinel.d.ts +1 -0
- package/dist/shared-ui/src/headlessui/internal/hidden.d.ts +1 -1
- package/dist/shared-ui/src/index.d.ts +1 -0
- package/dist/shared-ui/src/library/Accordion.d.ts +1 -0
- package/dist/shared-ui/src/library/Button/index.d.ts +1 -0
- package/dist/shared-ui/src/library/ComboBox.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/AxesInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/Comparison/DeltaTimeTruncListViewOptions.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/PercentageModal.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/CustomMetricsInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/DimensionInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FieldCollectorInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FieldsInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/AttributesToFields.d.ts +3 -3
- package/dist/shared-ui/src/library/DataPanel/FilterInput/FilterInputForm.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/IndividualFilter.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/attributesToFieldsFuncs.d.ts +3 -0
- package/dist/shared-ui/src/library/DataPanel/FilterInput/queryFilterToWipFilter.d.ts +2 -1
- package/dist/shared-ui/src/library/DataPanel/FilterInput/useFilterInputForm.d.ts +2 -1
- package/dist/shared-ui/src/library/DataPanel/FilterInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/MeasuresInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/QueryOpInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/SelectDataSet.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/SortInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/TimeDimensionInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/AdvancedFilterSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/ComboChartCompareSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/ComboChartMetricInputSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/CustomMetricsSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/DataSetSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/DrilldownSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/FieldCollectorSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/FieldsInputSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/LabelledMetricSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/LimitSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/PaginationSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/SortSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/sections/ViewsSection.d.ts +1 -0
- package/dist/shared-ui/src/library/DisplayStatusReport.d.ts +1 -0
- package/dist/shared-ui/src/library/Editor/View.d.ts +1 -0
- package/dist/shared-ui/src/library/Editor.d.ts +1 -0
- package/dist/shared-ui/src/library/Library/ComponentInLibrary.d.ts +1 -0
- package/dist/shared-ui/src/library/Library/ViewsInLibrary.d.ts +1 -0
- package/dist/shared-ui/src/library/OverridesDeveloperInfoModal.d.ts +1 -0
- package/dist/shared-ui/src/library/PanelInput/NumberInput.d.ts +1 -0
- package/dist/shared-ui/src/library/SetupNotice.d.ts +1 -0
- package/dist/shared-ui/src/library/SetupReportModal.d.ts +1 -0
- package/dist/shared-ui/src/library/Stepper.d.ts +1 -0
- package/dist/shared-ui/src/library/StepperIcons.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/BooleanInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/ColourInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/FontFamilyInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/FormatSelectInput.d.ts +1 -0
- package/dist/shared-ui/src/library/StylePanel/TextInput.d.ts +1 -0
- package/dist/shared-ui/src/library/effectHooks/useHeight.d.ts +1 -1
- package/dist/shared-ui/src/library/effectHooks/useWidth.d.ts +1 -1
- package/dist/shared-ui/src/types.d.ts +11 -6
- package/package.json +3 -7
|
@@ -27,7 +27,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
27
27
|
children?: React.ReactNode;
|
|
28
28
|
}>>(props: Pick<import("../../types").PropsOf<TTag_1>, Exclude<keyof import("../../types").PropsOf<TTag_1>, "children" | "className" | "as" | "refName">> & {
|
|
29
29
|
as?: TTag_1 | undefined;
|
|
30
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
30
|
+
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: TabsRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
|
|
31
31
|
refName?: string | undefined;
|
|
32
32
|
} & (true extends (import("../../types").PropsOf<TTag_1> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_1> ? true : never) ? {
|
|
33
33
|
className?: import("../../types").PropsOf<TTag_1>["className"] | ((bag: TabsRenderPropArg) => string) | undefined;
|
|
@@ -48,7 +48,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
48
48
|
};
|
|
49
49
|
Panel: (<TTag_4 extends React.ElementType<any> = "div">(props: (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
50
50
|
as?: TTag_4 | undefined;
|
|
51
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
51
|
+
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;
|
|
52
52
|
refName?: string | undefined;
|
|
53
53
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
54
54
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -58,7 +58,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
58
58
|
unmount?: boolean | undefined;
|
|
59
59
|
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "id" | "children" | "className" | "as" | "refName">> & {
|
|
60
60
|
as?: TTag_4 | undefined;
|
|
61
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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: PanelRenderPropArg) => 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;
|
|
63
63
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
64
64
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -68,7 +68,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
68
68
|
static?: boolean | undefined;
|
|
69
69
|
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "role" | "as" | "refName">> & {
|
|
70
70
|
as?: TTag_4 | undefined;
|
|
71
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
71
|
+
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;
|
|
72
72
|
refName?: string | undefined;
|
|
73
73
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
74
74
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -78,7 +78,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
78
78
|
unmount?: boolean | undefined;
|
|
79
79
|
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "role" | "as" | "refName">> & {
|
|
80
80
|
as?: TTag_4 | undefined;
|
|
81
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
81
|
+
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;
|
|
82
82
|
refName?: string | undefined;
|
|
83
83
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
84
84
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -88,7 +88,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
88
88
|
static?: boolean | undefined;
|
|
89
89
|
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
90
90
|
as?: TTag_4 | undefined;
|
|
91
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
93
93
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
94
94
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -98,7 +98,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
98
98
|
unmount?: boolean | undefined;
|
|
99
99
|
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "aria-labelledby" | "as" | "refName">> & {
|
|
100
100
|
as?: TTag_4 | undefined;
|
|
101
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
103
103
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
104
104
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -108,7 +108,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
108
108
|
static?: boolean | undefined;
|
|
109
109
|
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
|
|
110
110
|
as?: TTag_4 | undefined;
|
|
111
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
113
113
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
114
114
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -118,7 +118,7 @@ export declare let Tab: (<TTag extends React.ElementType<any> = "button">(props:
|
|
|
118
118
|
unmount?: boolean | undefined;
|
|
119
119
|
}) | (Pick<import("../../types").PropsOf<TTag_4>, Exclude<keyof import("../../types").PropsOf<TTag_4>, "children" | "className" | "as" | "refName" | "tabIndex">> & {
|
|
120
120
|
as?: TTag_4 | undefined;
|
|
121
|
-
children?: string | number | boolean | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.
|
|
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;
|
|
123
123
|
} & (true extends (import("../../types").PropsOf<TTag_4> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_4> ? true : never) ? {
|
|
124
124
|
className?: import("../../types").PropsOf<TTag_4>["className"] | ((bag: PanelRenderPropArg) => string) | undefined;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare let useId: typeof React.useId;
|
|
1
|
+
export declare let useId: any;
|
|
@@ -7,7 +7,7 @@ export declare enum Features {
|
|
|
7
7
|
}
|
|
8
8
|
export declare let Hidden: (<TTag extends ElementType<any> = "div">(props: Pick<import("../types").PropsOf<TTag>, Exclude<keyof import("../types").PropsOf<TTag>, "children" | "className" | "as" | "refName">> & {
|
|
9
9
|
as?: TTag | undefined;
|
|
10
|
-
children?: string | number | boolean | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").
|
|
10
|
+
children?: string | number | boolean | {} | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | Iterable<import("react").ReactNode> | import("react").ReactPortal | ((bag: {}) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>) | null | undefined;
|
|
11
11
|
refName?: string | undefined;
|
|
12
12
|
} & (true extends (import("../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../types").PropsOf<TTag> ? true : never) ? {
|
|
13
13
|
className?: import("../types").PropsOf<TTag>["className"] | ((bag: {}) => string) | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
|
|
2
3
|
import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
|
|
3
4
|
import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
|
|
2
3
|
import { CustomField, PercentageField, SimplePercentageField } from '../../../../../shared-logic/src/CustomField/types';
|
|
3
4
|
import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { InitValue } from '../../base/ListView/ListView';
|
|
2
3
|
import { DataSet as DataSetType, FieldFilterOptions } from '../../../../shared-logic/src/DataSet/types';
|
|
3
4
|
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
|
|
@@ -3,7 +3,7 @@ import * as Measure from '../../../../../shared-logic/src/Measure';
|
|
|
3
3
|
import { QueryAttributes as QueryAttributesType } from '../../../../../shared-logic/src/QueryAttributes/types';
|
|
4
4
|
import { FilterFieldType } from './types';
|
|
5
5
|
import { TextOverride } from '../../../../../shared-logic/src/Translations/types';
|
|
6
|
+
import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
|
|
6
7
|
export declare const dimensionToFields: (dataSet: DataSetType, dimension: QueryAttributesType.Dimension[]) => FilterFieldType[];
|
|
7
|
-
export declare const measuresToFields: (dataSet: DataSetType, measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride) => FilterFieldType[];
|
|
8
|
-
export declare const attributesToFields: (dataSet: DataSetType, dimension: QueryAttributesType.Dimension[], measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride) => FilterFieldType[];
|
|
9
|
-
export declare function adjustFieldForCountAndUnique(dataSetField: DataSetType.Field, fieldFunction: string, enableChangeToNumber?: boolean): DataSetType.Field;
|
|
8
|
+
export declare const measuresToFields: (dataSet: DataSetType, measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride, supportedAggregates: SupportedAggregates) => FilterFieldType[];
|
|
9
|
+
export declare const attributesToFields: (dataSet: DataSetType, dimension: QueryAttributesType.Dimension[], measures: QueryAttributesType.Measure[], enableChangeToNumber: boolean, textOverride: TextOverride, supportedAggregates: SupportedAggregates) => FilterFieldType[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
|
|
2
|
+
import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
|
|
3
|
+
export declare function adjustFieldForNonNumeric(dataSetField: DataSetType.Field, fieldFunction: string, supportedAggregates: SupportedAggregates, enableChangeToNumber?: boolean): DataSetType.Field;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
|
|
2
2
|
import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
|
|
3
3
|
import { WipFilter } from './types';
|
|
4
|
-
|
|
4
|
+
import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
|
|
5
|
+
declare function queryFilterToWipFilter(filter: QueryAttributes.Filter[][], dataSet: DataSetType, supportedAggregates: SupportedAggregates, enableChangeToNumber?: boolean): WipFilter[][];
|
|
5
6
|
export default queryFilterToWipFilter;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
|
|
2
2
|
import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
|
|
3
3
|
import { WipFilter } from './types';
|
|
4
|
+
import { SupportedAggregates } from '../../../../../shared-logic/src/Aggregate';
|
|
4
5
|
declare type FilterFormOptions = {
|
|
5
6
|
startWithEmptyField?: boolean;
|
|
6
7
|
maxFilters?: number;
|
|
7
8
|
enableChangeToNumber: boolean;
|
|
8
9
|
};
|
|
9
|
-
declare const useFilterInputForm: (currentFilter: QueryAttributes.Filter[][], dataSet: DataSet, options?: FilterFormOptions) => {
|
|
10
|
+
declare const useFilterInputForm: (currentFilter: QueryAttributes.Filter[][], dataSet: DataSet, supportedAggregates: SupportedAggregates, options?: FilterFormOptions) => {
|
|
10
11
|
addOrFilter: () => void;
|
|
11
12
|
deleteWipFilter: (orFilterIndex: number, andFilterIndex: number) => void;
|
|
12
13
|
updateWipFilter: (wipFilter: WipFilter, orFilterIndex: number, andFilterIndex: number) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { VizzlyComponents } from '../../../types';
|
|
2
3
|
import { FieldCollectorSection as FieldCollectorSectionType } from '../../../../../shared-logic/src/DataPanelConfig/types';
|
|
3
4
|
declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps<FieldCollectorSectionType>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { VizzlyComponents } from '../../../types';
|
|
2
3
|
import { LabelledMetricSection as LabelledMetricSectionType } from '../../../../../shared-logic/src/DataPanelConfig/types';
|
|
3
4
|
declare type Props = VizzlyComponents.ComponentOverrides.Props.SectionProps<LabelledMetricSectionType>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Ref } from 'react';
|
|
2
|
-
export declare const useHeight: () => [Ref<HTMLHeadingElement>, number];
|
|
2
|
+
export declare const useHeight: (changes?: string | undefined) => [Ref<HTMLHeadingElement>, number];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Ref } from 'react';
|
|
2
|
-
export declare const useWidth: () => [Ref<HTMLHeadingElement>, number];
|
|
2
|
+
export declare const useWidth: (changes?: string | undefined) => [Ref<HTMLHeadingElement>, number];
|
|
@@ -72,14 +72,19 @@ export declare namespace VizzlyComponents {
|
|
|
72
72
|
rightAligned?: boolean;
|
|
73
73
|
id?: string;
|
|
74
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* Represents the input props for a DateTimeRangeInputChange event.
|
|
77
|
+
* It can contain either a non-null object with start and end properties,
|
|
78
|
+
* or a null value.
|
|
79
|
+
*/
|
|
75
80
|
type DateTimeRangeInputChangeProps = {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
};
|
|
81
|
+
/** Returns the combined Date and Time for the Start value */
|
|
82
|
+
start: Date | null;
|
|
83
|
+
/** Returns the combined Date and Time for the End value */
|
|
84
|
+
end: Date | null;
|
|
85
|
+
} | null;
|
|
81
86
|
type DateTimeRangeInput = {
|
|
82
|
-
onChange: (
|
|
87
|
+
onChange: (values: DateTimeRangeInputChangeProps) => void;
|
|
83
88
|
onClear: () => void;
|
|
84
89
|
type?: 'date' | 'date_time';
|
|
85
90
|
startDate?: Date;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.2-dev-4ac76b0195bc8bd9f3866e4cdcdac08e26caeff3",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@vizzly/joi": "^17.7.0",
|
|
45
45
|
"lodash": "^4.17.21",
|
|
46
46
|
"lodash-es": "^4.17.21",
|
|
47
|
-
"react-dates-17": "22.0.
|
|
47
|
+
"react-dates-17": "22.0.8",
|
|
48
48
|
"react-dnd": "^15.1",
|
|
49
49
|
"react-dnd-html5-backend": "^15.0.1",
|
|
50
50
|
"react-popper": "^2.3.0",
|
|
@@ -61,10 +61,6 @@
|
|
|
61
61
|
"@babel/preset-typescript": "^7.15.0",
|
|
62
62
|
"@emotion/babel-plugin": "*",
|
|
63
63
|
"@size-limit/preset-small-lib": "^8.1.0",
|
|
64
|
-
"@storybook/addon-essentials": "^6.5.12",
|
|
65
|
-
"@storybook/addon-links": "^6.5.12",
|
|
66
|
-
"@storybook/addons": "^6.5.9",
|
|
67
|
-
"@storybook/react": "^6.5.12",
|
|
68
64
|
"@testing-library/jest-dom": "^5.14.1",
|
|
69
65
|
"@testing-library/react": "^12.1.2",
|
|
70
66
|
"@testing-library/user-event": "^14.2.3",
|
|
@@ -72,7 +68,7 @@
|
|
|
72
68
|
"@types/isomorphic-fetch": "^0.0.36",
|
|
73
69
|
"@types/jest": "^27.0.2",
|
|
74
70
|
"@types/lodash": "^4.14.186",
|
|
75
|
-
"@types/react": "^
|
|
71
|
+
"@types/react": "^17.0.2",
|
|
76
72
|
"@types/react-dom": "^18.0.6",
|
|
77
73
|
"@types/topojson-client": "^3.1.1",
|
|
78
74
|
"@types/uuid": "^8.3.4",
|