@quillsql/react 2.16.11 → 2.16.13
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/index.cjs +480 -95
- package/dist/index.d.cts +23 -5
- package/dist/index.d.ts +23 -5
- package/dist/index.js +508 -117
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -153,7 +153,15 @@ interface QuillWeekInterval {
|
|
|
153
153
|
type: 'week';
|
|
154
154
|
label?: string;
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
interface QuillPreviousMonthInterval {
|
|
157
|
+
type: 'previous_month';
|
|
158
|
+
label?: string;
|
|
159
|
+
}
|
|
160
|
+
interface QuillPreviousQuarterInterval {
|
|
161
|
+
type: 'previous_quarter';
|
|
162
|
+
label?: string;
|
|
163
|
+
}
|
|
164
|
+
type QuillCustomInterval = QuillCustomRepeatingInterval | QuillCustomStaticInterval | QuillCustomRelativeInterval | QuillWeekInterval | QuillPreviousMonthInterval | QuillPreviousQuarterInterval;
|
|
157
165
|
|
|
158
166
|
type DateRangePickerOption = {
|
|
159
167
|
value: string;
|
|
@@ -455,6 +463,7 @@ interface InternalDashboardDateFilter extends InternalDashboardBaseFilter {
|
|
|
455
463
|
label: string;
|
|
456
464
|
loopStart?: Date;
|
|
457
465
|
loopEnd?: Date;
|
|
466
|
+
customLabel?: string;
|
|
458
467
|
}[];
|
|
459
468
|
preset: {
|
|
460
469
|
label: string;
|
|
@@ -2494,13 +2503,22 @@ interface ChartEditorProps {
|
|
|
2494
2503
|
*/
|
|
2495
2504
|
declare function ChartEditor({ isOpen, reportId, isAdmin, chartBuilderTitle, chartBuilderButtonLabel, onAddToDashboardComplete, onSubmitEditReport, onDiscardChanges, destinationDashboard, destinationSection, organizationName, isHorizontalView, onDelete, setIsOpen, SelectComponent, TextInputComponent, ButtonComponent, SecondaryButtonComponent, HeaderComponent, SubHeaderComponent, LabelComponent, TextComponent, DeleteButtonComponent, ModalComponent, CardComponent, PopoverComponent, LoadingComponent, TableComponent, ChartBuilderInputRowContainer, ChartBuilderInputColumnContainer, PivotRowContainer, PivotColumnContainer, ErrorMessageComponent, ChartBuilderFormContainer, ErrorComponent, hideDeleteButton, hideSubmitButton, showTableFormatOptions, showDashboardFilterFields, chartBuilderOptions, onClickChartElement, onClickChartError, }: ChartEditorProps): react_jsx_runtime.JSX.Element;
|
|
2496
2505
|
|
|
2497
|
-
interface
|
|
2506
|
+
interface StaticChartBaseProps {
|
|
2498
2507
|
reportId: string;
|
|
2499
2508
|
onClickChartElement?: (data: any) => void;
|
|
2500
|
-
containerStyle?: React.CSSProperties;
|
|
2501
2509
|
showLegend?: boolean;
|
|
2502
2510
|
}
|
|
2503
|
-
|
|
2511
|
+
type StaticChartProps = (StaticChartBaseProps & {
|
|
2512
|
+
className: string;
|
|
2513
|
+
containerStyle?: never;
|
|
2514
|
+
}) | (StaticChartBaseProps & {
|
|
2515
|
+
containerStyle: React.CSSProperties;
|
|
2516
|
+
className?: never;
|
|
2517
|
+
}) | (StaticChartBaseProps & {
|
|
2518
|
+
className?: undefined;
|
|
2519
|
+
containerStyle?: undefined;
|
|
2520
|
+
});
|
|
2521
|
+
declare function StaticChart(props: StaticChartProps): react_jsx_runtime.JSX.Element;
|
|
2504
2522
|
|
|
2505
2523
|
declare const quillFormat: ({ value, format, }: {
|
|
2506
2524
|
value: any;
|
|
@@ -3476,4 +3494,4 @@ interface ReportTableProps {
|
|
|
3476
3494
|
}
|
|
3477
3495
|
declare const ReportTable: ({ reportBuilder, TableComponent, }: ReportTableProps) => react_jsx_runtime.JSX.Element;
|
|
3478
3496
|
|
|
3479
|
-
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, Chart, ChartEditor, type ChartEditorProps, type ChartProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, useAllReports, useAskQuill, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|
|
3497
|
+
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, Chart, ChartEditor, type ChartEditorProps, type ChartProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, type QuillPreviousMonthInterval, type QuillPreviousQuarterInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, useAllReports, useAskQuill, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|
package/dist/index.d.ts
CHANGED
|
@@ -153,7 +153,15 @@ interface QuillWeekInterval {
|
|
|
153
153
|
type: 'week';
|
|
154
154
|
label?: string;
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
interface QuillPreviousMonthInterval {
|
|
157
|
+
type: 'previous_month';
|
|
158
|
+
label?: string;
|
|
159
|
+
}
|
|
160
|
+
interface QuillPreviousQuarterInterval {
|
|
161
|
+
type: 'previous_quarter';
|
|
162
|
+
label?: string;
|
|
163
|
+
}
|
|
164
|
+
type QuillCustomInterval = QuillCustomRepeatingInterval | QuillCustomStaticInterval | QuillCustomRelativeInterval | QuillWeekInterval | QuillPreviousMonthInterval | QuillPreviousQuarterInterval;
|
|
157
165
|
|
|
158
166
|
type DateRangePickerOption = {
|
|
159
167
|
value: string;
|
|
@@ -455,6 +463,7 @@ interface InternalDashboardDateFilter extends InternalDashboardBaseFilter {
|
|
|
455
463
|
label: string;
|
|
456
464
|
loopStart?: Date;
|
|
457
465
|
loopEnd?: Date;
|
|
466
|
+
customLabel?: string;
|
|
458
467
|
}[];
|
|
459
468
|
preset: {
|
|
460
469
|
label: string;
|
|
@@ -2494,13 +2503,22 @@ interface ChartEditorProps {
|
|
|
2494
2503
|
*/
|
|
2495
2504
|
declare function ChartEditor({ isOpen, reportId, isAdmin, chartBuilderTitle, chartBuilderButtonLabel, onAddToDashboardComplete, onSubmitEditReport, onDiscardChanges, destinationDashboard, destinationSection, organizationName, isHorizontalView, onDelete, setIsOpen, SelectComponent, TextInputComponent, ButtonComponent, SecondaryButtonComponent, HeaderComponent, SubHeaderComponent, LabelComponent, TextComponent, DeleteButtonComponent, ModalComponent, CardComponent, PopoverComponent, LoadingComponent, TableComponent, ChartBuilderInputRowContainer, ChartBuilderInputColumnContainer, PivotRowContainer, PivotColumnContainer, ErrorMessageComponent, ChartBuilderFormContainer, ErrorComponent, hideDeleteButton, hideSubmitButton, showTableFormatOptions, showDashboardFilterFields, chartBuilderOptions, onClickChartElement, onClickChartError, }: ChartEditorProps): react_jsx_runtime.JSX.Element;
|
|
2496
2505
|
|
|
2497
|
-
interface
|
|
2506
|
+
interface StaticChartBaseProps {
|
|
2498
2507
|
reportId: string;
|
|
2499
2508
|
onClickChartElement?: (data: any) => void;
|
|
2500
|
-
containerStyle?: React.CSSProperties;
|
|
2501
2509
|
showLegend?: boolean;
|
|
2502
2510
|
}
|
|
2503
|
-
|
|
2511
|
+
type StaticChartProps = (StaticChartBaseProps & {
|
|
2512
|
+
className: string;
|
|
2513
|
+
containerStyle?: never;
|
|
2514
|
+
}) | (StaticChartBaseProps & {
|
|
2515
|
+
containerStyle: React.CSSProperties;
|
|
2516
|
+
className?: never;
|
|
2517
|
+
}) | (StaticChartBaseProps & {
|
|
2518
|
+
className?: undefined;
|
|
2519
|
+
containerStyle?: undefined;
|
|
2520
|
+
});
|
|
2521
|
+
declare function StaticChart(props: StaticChartProps): react_jsx_runtime.JSX.Element;
|
|
2504
2522
|
|
|
2505
2523
|
declare const quillFormat: ({ value, format, }: {
|
|
2506
2524
|
value: any;
|
|
@@ -3476,4 +3494,4 @@ interface ReportTableProps {
|
|
|
3476
3494
|
}
|
|
3477
3495
|
declare const ReportTable: ({ reportBuilder, TableComponent, }: ReportTableProps) => react_jsx_runtime.JSX.Element;
|
|
3478
3496
|
|
|
3479
|
-
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, Chart, ChartEditor, type ChartEditorProps, type ChartProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, useAllReports, useAskQuill, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|
|
3497
|
+
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, Chart, ChartEditor, type ChartEditorProps, type ChartProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, type QuillPreviousMonthInterval, type QuillPreviousQuarterInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, useAllReports, useAskQuill, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|