@vizzly/dashboard 0.14.1 → 0.14.2-dev-b5d1d3db2e08da70c1901b7ed65768aee6c329fb
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/LineChart/types.d.ts +3 -1
- package/dist/charts/src/RichText/useRichTextEditorContextProvider.d.ts +2 -3
- package/dist/charts/src/ScatterChart/ScatterChart.d.ts +1 -1
- package/dist/charts/src/XYChart/types.d.ts +2 -0
- package/dist/charts/src/types.d.ts +4 -0
- package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +12 -12
- package/dist/dashboard/src/contexts/SessionContext/useSessionContext.d.ts +3 -0
- package/dist/dashboard/src/contexts/useScheduledReports.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/results-driver/src/driver/Custom.d.ts +5 -5
- package/dist/results-driver/src/driver/VizzlyQuery/AdditionalFilter/toQueries.d.ts +2 -2
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/ComboChart/toQueries.d.ts +2 -4
- package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/MercatorMap/toQueries.d.ts +2 -4
- package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/QueryAttributes/toQueries.d.ts +5 -2
- package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/ScatterChart/toQueries.d.ts +2 -4
- package/dist/results-driver/src/driver/VizzlyQuery/SingleStat/toQueries.d.ts +2 -4
- package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +2 -4
- package/dist/results-driver/src/driver/VizzlyQueryEngine.d.ts +5 -5
- package/dist/results-driver/src/utils/runWithValidationAndCaching.d.ts +4 -2
- package/dist/services/src/index.d.ts +7 -1
- package/dist/services/src/schemaValidations/query.d.ts +1 -1
- package/dist/shared-logic/src/AdditionalFilter/types.d.ts +1 -0
- package/dist/shared-logic/src/AdditionalFilter/validate.d.ts +2 -2
- package/dist/shared-logic/src/Callbacks/cell.funcs.d.ts +7 -4
- package/dist/shared-logic/src/Component/types.d.ts +9 -1
- package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +1 -1
- package/dist/shared-logic/src/CustomField/Conditional/index.d.ts +2 -2
- package/dist/shared-logic/src/CustomField/CustomField.d.ts +2 -2
- package/dist/shared-logic/src/CustomField/Percentage/index.d.ts +2 -2
- package/dist/shared-logic/src/CustomField/Rules/index.d.ts +3 -3
- package/dist/shared-logic/src/CustomField/SimpleMath/index.d.ts +6 -2
- package/dist/shared-logic/src/DashboardAPI/dashboardAPI.d.ts +2 -2
- package/dist/shared-logic/src/DashboardAPI/dataConfigurationAndIdentity.d.ts +4 -3
- package/dist/shared-logic/src/DashboardAPI/dataSets.d.ts +2 -2
- package/dist/shared-logic/src/DashboardAPI/types.d.ts +1 -1
- package/dist/shared-logic/src/DataPanelConfig/types.d.ts +3 -2
- package/dist/shared-logic/src/DataSet/DataSet.d.ts +1 -0
- package/dist/shared-logic/src/DataSet/fieldFilterOptions.d.ts +15 -0
- package/dist/shared-logic/src/DataSet/filterFields.d.ts +2 -1
- package/dist/shared-logic/src/DataSet/types.d.ts +1 -15
- package/dist/shared-logic/src/Drilldown/Drilldown.d.ts +1 -1
- package/dist/shared-logic/src/Field/Field.d.ts +1 -1
- package/dist/shared-logic/src/Field/types.d.ts +1 -1
- package/dist/shared-logic/src/Filter/Filter.d.ts +2 -2
- package/dist/shared-logic/src/Filter/Where.d.ts +6 -0
- package/dist/shared-logic/src/Filter/types.d.ts +9 -0
- package/dist/shared-logic/src/FormatPanelConfig/types.d.ts +1 -1
- package/dist/shared-logic/src/Generate/query.d.ts +2 -2
- package/dist/shared-logic/src/GlobalLibrary/globalLibraries.d.ts +2 -2
- package/dist/shared-logic/src/JSQueryEngine/fetchData.d.ts +1 -1
- package/dist/shared-logic/src/JSQueryEngine/localRunQueriesCallback.d.ts +6 -4
- package/dist/shared-logic/src/JSQueryEngine/runQueryV3.d.ts +0 -2
- package/dist/shared-logic/src/Parameters/parameters.d.ts +1 -1
- package/dist/shared-logic/src/PieChart/onViewClick.d.ts +2 -1
- package/dist/shared-logic/src/Query/Query.d.ts +1 -1
- package/dist/shared-logic/src/Query/buildFromQueryAttributes.d.ts +2 -3
- package/dist/shared-logic/src/Result/Result.d.ts +1 -0
- package/dist/shared-logic/src/Result/types.d.ts +1 -0
- package/dist/shared-logic/src/Strategy/types.d.ts +1 -5
- package/dist/shared-logic/src/Theme/types.d.ts +17 -2
- package/dist/shared-logic/src/Translations/translateQueryEngineConfig.d.ts +1 -1
- package/dist/shared-logic/src/Translations/translation.types.d.ts +159 -58
- package/dist/shared-logic/src/Webhook/types.d.ts +2 -0
- package/dist/shared-logic/src/api/queryEngine/createResults.d.ts +8 -1
- package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +12 -12
- package/dist/shared-logic/src/api/queryEngine/uploadDataToVizzlyCloud.d.ts +1 -1
- package/dist/shared-logic/src/utils/feedback.d.ts +2 -2
- package/dist/shared-ui/src/base/DataTypeIcon.d.ts +1 -1
- package/dist/shared-ui/src/base/ListView/Item.d.ts +3 -43
- package/dist/shared-ui/src/base/ListView/ListItemDnD.d.ts +3 -0
- package/dist/shared-ui/src/base/ListView/ListItemPrimative.d.ts +14 -0
- package/dist/shared-ui/src/base/ListView/ListView.d.ts +3 -2
- package/dist/shared-ui/src/base/ListView/OptionIcon.d.ts +1 -1
- package/dist/shared-ui/src/base/ListView/types.d.ts +52 -0
- package/dist/shared-ui/src/base/Modal/Modal.styles.d.ts +2 -1
- package/dist/shared-ui/src/base/Table/ArrowButton.d.ts +1 -0
- package/dist/shared-ui/src/base/classNames.d.ts +1 -0
- package/dist/shared-ui/src/base/layout/View.d.ts +1 -0
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedPicker.d.ts +6 -2
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/advancedFilters.d.ts +0 -1
- package/dist/shared-ui/src/components/CustomMetric/CustomMetric.d.ts +7 -0
- package/dist/shared-ui/src/components/CustomMetric/CustomMetricField.d.ts +7 -0
- package/dist/shared-ui/src/components/CustomMetric/CustomMetricVariable.d.ts +5 -0
- package/dist/shared-ui/src/components/CustomMetric/OperatorIcon.d.ts +5 -0
- package/dist/shared-ui/src/components/CustomMetric/buildCustomMetric.d.ts +9 -0
- package/dist/shared-ui/src/components/CustomMetric/buildVariableItems.d.ts +3 -0
- package/dist/shared-ui/src/components/CustomMetric/buildVariableItems.test.d.ts +1 -0
- package/dist/shared-ui/src/components/CustomMetric/pickAvailableItems.d.ts +34 -0
- package/dist/shared-ui/src/components/CustomMetric/pickAvailableItems.test.d.ts +1 -0
- package/dist/shared-ui/src/components/CustomMetric/types.d.ts +41 -0
- package/dist/shared-ui/src/components/DragAndDrop/DndWrapper.d.ts +4 -0
- package/dist/shared-ui/src/components/ItemPicker/ItemPicker.d.ts +16 -0
- package/dist/shared-ui/src/components/Parameters/Metrics.d.ts +1 -1
- package/dist/shared-ui/src/components/Pickers/MetricsSelect.d.ts +5 -5
- package/dist/shared-ui/src/components/Studio/SetupScheduledReport/SetupScheduledReport.d.ts +2 -0
- package/dist/shared-ui/src/components/Studio/StudioApp/Cell.d.ts +0 -1
- package/dist/shared-ui/src/components/Studio/StudioApp/ComponentOptions.d.ts +0 -2
- package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +2 -0
- package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +5 -1
- package/dist/shared-ui/src/examples/component-overrides/components.d.ts +1 -0
- package/dist/shared-ui/src/hooks/useScheduledReports.d.ts +8 -0
- package/dist/shared-ui/src/hooks/useVizzly.d.ts +5 -1
- package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/MathModal/mathModalUtils.d.ts +2 -0
- package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/RoundedNumberModal/useRoundedNumberBuilder.d.ts +4 -4
- package/dist/shared-ui/src/library/DataPanel/DimensionInput.d.ts +2 -2
- package/dist/shared-ui/src/library/DataPanel/DrilldownInput/drilldown.func.d.ts +1 -1
- package/dist/shared-ui/src/library/DataPanel/FieldCollectorInput.d.ts +3 -2
- package/dist/shared-ui/src/library/DataPanel/FilterInput/FilterInputForm.d.ts +2 -1
- package/dist/shared-ui/src/library/DataPanel/MeasuresInput/buildListViewItems.d.ts +1 -1
- package/dist/shared-ui/src/library/DataPanel/MeasuresInput.d.ts +3 -2
- package/dist/shared-ui/src/library/DataPanel/TimeDimensionInput.d.ts +1 -1
- package/dist/shared-ui/src/library/DataPanel/Trends/TrendsInput.d.ts +1 -0
- package/dist/shared-ui/src/library/DataPanel/Trends/types.d.ts +1 -0
- package/dist/shared-ui/src/library/EditorModalFeedback/EditorModalFeedback.d.ts +1 -4
- package/dist/shared-ui/src/library/EditorModalFeedback/useEditorFeedback.d.ts +17 -0
- package/dist/shared-ui/src/library/SetupReportModal.d.ts +0 -3
- package/dist/shared-ui/src/library/StylePanel/ConditionalFormatting/ConditionalFormattingRules.d.ts +2 -9
- package/dist/shared-ui/src/types.d.ts +1 -0
- package/package.json +8 -5
- package/dist/shared-logic/src/Query/upcast/oldQueryExamples.d.ts +0 -10
- package/dist/shared-logic/src/Query/upcast/oldQueryType.d.ts +0 -77
- package/dist/shared-logic/src/Query/upcast.d.ts +0 -3
|
@@ -420,6 +420,13 @@ export declare type VizzlyTranslations = {
|
|
|
420
420
|
* String containing the translation.
|
|
421
421
|
*/
|
|
422
422
|
close: string;
|
|
423
|
+
/**
|
|
424
|
+
* @default 'Click Settings'
|
|
425
|
+
*
|
|
426
|
+
* @returns
|
|
427
|
+
* String containing the translation.
|
|
428
|
+
*/
|
|
429
|
+
click_settings: string;
|
|
423
430
|
/**
|
|
424
431
|
* @default 'No value'
|
|
425
432
|
*
|
|
@@ -964,13 +971,6 @@ export declare type VizzlyTranslations = {
|
|
|
964
971
|
* String containing the translation.
|
|
965
972
|
*/
|
|
966
973
|
add_to_library: string;
|
|
967
|
-
/**
|
|
968
|
-
* @default 'Click Settings'
|
|
969
|
-
*
|
|
970
|
-
* @returns
|
|
971
|
-
* String containing the translation.
|
|
972
|
-
*/
|
|
973
|
-
click_settings: string;
|
|
974
974
|
/**
|
|
975
975
|
* @default 'JSON Results'
|
|
976
976
|
*
|
|
@@ -1146,20 +1146,6 @@ export declare type VizzlyTranslations = {
|
|
|
1146
1146
|
* String containing the translation.
|
|
1147
1147
|
*/
|
|
1148
1148
|
advanced_filters: string;
|
|
1149
|
-
/**
|
|
1150
|
-
* @default 'Add filter'
|
|
1151
|
-
*
|
|
1152
|
-
* @returns
|
|
1153
|
-
* String containing the translation.
|
|
1154
|
-
*/
|
|
1155
|
-
add_filter: string;
|
|
1156
|
-
/**
|
|
1157
|
-
* @default 'Add `OR`'
|
|
1158
|
-
*
|
|
1159
|
-
* @returns
|
|
1160
|
-
* String containing the translation.
|
|
1161
|
-
*/
|
|
1162
|
-
add_or_filter: string;
|
|
1163
1149
|
/**
|
|
1164
1150
|
* @default 'Cancel'
|
|
1165
1151
|
*
|
|
@@ -1431,6 +1417,13 @@ export declare type VizzlyTranslations = {
|
|
|
1431
1417
|
* String containing the translation.
|
|
1432
1418
|
*/
|
|
1433
1419
|
fields_being_used_description: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* @default 'A variable is not available.'
|
|
1422
|
+
*
|
|
1423
|
+
* @returns
|
|
1424
|
+
* String containing the translation.
|
|
1425
|
+
*/
|
|
1426
|
+
'custom_metric.variable_not_available': string;
|
|
1434
1427
|
/**
|
|
1435
1428
|
* @default 'Cannot find data set.'
|
|
1436
1429
|
*
|
|
@@ -1439,7 +1432,7 @@ export declare type VizzlyTranslations = {
|
|
|
1439
1432
|
*/
|
|
1440
1433
|
cannot_find_data_set: string;
|
|
1441
1434
|
/**
|
|
1442
|
-
* @default
|
|
1435
|
+
* @default "This will permanently remove the custom field '[[nameOfCustomMetric]]' from all views on the dashboard, not just this view. Are you sure you want to continue?"
|
|
1443
1436
|
*
|
|
1444
1437
|
* @params
|
|
1445
1438
|
* Fixed Variables: [[nameOfCustomMetric]]
|
|
@@ -1491,12 +1484,12 @@ export declare type VizzlyTranslations = {
|
|
|
1491
1484
|
*/
|
|
1492
1485
|
add_drilldown_field: string;
|
|
1493
1486
|
/**
|
|
1494
|
-
* @default '
|
|
1487
|
+
* @default 'OR'
|
|
1495
1488
|
*
|
|
1496
1489
|
* @returns
|
|
1497
1490
|
* String containing the translation.
|
|
1498
1491
|
*/
|
|
1499
|
-
|
|
1492
|
+
'filters.or': string;
|
|
1500
1493
|
/**
|
|
1501
1494
|
* @default 'Value'
|
|
1502
1495
|
*
|
|
@@ -1504,6 +1497,41 @@ export declare type VizzlyTranslations = {
|
|
|
1504
1497
|
* String containing the translation.
|
|
1505
1498
|
*/
|
|
1506
1499
|
value: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* @default '+ OR Filter'
|
|
1502
|
+
*
|
|
1503
|
+
* @returns
|
|
1504
|
+
* String containing the translation.
|
|
1505
|
+
*/
|
|
1506
|
+
'filters.plus_or_filter': string;
|
|
1507
|
+
/**
|
|
1508
|
+
* @default 'Filter is successfully defined'
|
|
1509
|
+
*
|
|
1510
|
+
* @returns
|
|
1511
|
+
* String containing the translation.
|
|
1512
|
+
*/
|
|
1513
|
+
'filters.filter_is_successfully_defined': string;
|
|
1514
|
+
/**
|
|
1515
|
+
* @default 'Filter is not defined'
|
|
1516
|
+
*
|
|
1517
|
+
* @returns
|
|
1518
|
+
* String containing the translation.
|
|
1519
|
+
*/
|
|
1520
|
+
'filters.filter_is_not_defined': string;
|
|
1521
|
+
/**
|
|
1522
|
+
* @default 'No filter to remove'
|
|
1523
|
+
*
|
|
1524
|
+
* @returns
|
|
1525
|
+
* String containing the translation.
|
|
1526
|
+
*/
|
|
1527
|
+
'filters.no_filter_to_remove': string;
|
|
1528
|
+
/**
|
|
1529
|
+
* @default 'Click to Remove filter'
|
|
1530
|
+
*
|
|
1531
|
+
* @returns
|
|
1532
|
+
* String containing the translation.
|
|
1533
|
+
*/
|
|
1534
|
+
'filters.click_to_remove_filter': string;
|
|
1507
1535
|
/**
|
|
1508
1536
|
* @default 'Remove filter: [[filterNumber]]'
|
|
1509
1537
|
*
|
|
@@ -1559,6 +1587,13 @@ export declare type VizzlyTranslations = {
|
|
|
1559
1587
|
* String containing the translation.
|
|
1560
1588
|
*/
|
|
1561
1589
|
filter_list_subtext: TranslationInterpolation;
|
|
1590
|
+
/**
|
|
1591
|
+
* @default 'Add filter'
|
|
1592
|
+
*
|
|
1593
|
+
* @returns
|
|
1594
|
+
* String containing the translation.
|
|
1595
|
+
*/
|
|
1596
|
+
add_filter: string;
|
|
1562
1597
|
/**
|
|
1563
1598
|
* @default 'Add metric'
|
|
1564
1599
|
*
|
|
@@ -1650,6 +1685,34 @@ export declare type VizzlyTranslations = {
|
|
|
1650
1685
|
* String containing the translation.
|
|
1651
1686
|
*/
|
|
1652
1687
|
add_time_dimension: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* @default 'Trend'
|
|
1690
|
+
*
|
|
1691
|
+
* @returns
|
|
1692
|
+
* String containing the translation.
|
|
1693
|
+
*/
|
|
1694
|
+
'trend-lines.trens.title': string;
|
|
1695
|
+
/**
|
|
1696
|
+
* @default 'Analyzes trends within the given date range.'
|
|
1697
|
+
*
|
|
1698
|
+
* @returns
|
|
1699
|
+
* String containing the translation.
|
|
1700
|
+
*/
|
|
1701
|
+
'trend-lines.trend.subtext': string;
|
|
1702
|
+
/**
|
|
1703
|
+
* @default 'Forecast'
|
|
1704
|
+
*
|
|
1705
|
+
* @returns
|
|
1706
|
+
* String containing the translation.
|
|
1707
|
+
*/
|
|
1708
|
+
'trend-lines.forecast.title': string;
|
|
1709
|
+
/**
|
|
1710
|
+
* @default 'Forecast uses historical data to predict future trends.'
|
|
1711
|
+
*
|
|
1712
|
+
* @returns
|
|
1713
|
+
* String containing the translation.
|
|
1714
|
+
*/
|
|
1715
|
+
'trend-lines.forecast.subtext': string;
|
|
1653
1716
|
/**
|
|
1654
1717
|
* @default 'Add trend line'
|
|
1655
1718
|
*
|
|
@@ -1657,6 +1720,23 @@ export declare type VizzlyTranslations = {
|
|
|
1657
1720
|
* String containing the translation.
|
|
1658
1721
|
*/
|
|
1659
1722
|
add_trend: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* @default 'Add Trend Lines'
|
|
1725
|
+
*
|
|
1726
|
+
* @returns
|
|
1727
|
+
* String containing the translation.
|
|
1728
|
+
*/
|
|
1729
|
+
add_trend_lines: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* @default '[[timeDimension]] Forecast Limit'
|
|
1732
|
+
*
|
|
1733
|
+
* @params
|
|
1734
|
+
* Fixed Variables: [[timeDimension]]
|
|
1735
|
+
*
|
|
1736
|
+
* @returns
|
|
1737
|
+
* String containing the translation.
|
|
1738
|
+
*/
|
|
1739
|
+
forecast_limit: string;
|
|
1660
1740
|
/**
|
|
1661
1741
|
* @default 'Line'
|
|
1662
1742
|
*
|
|
@@ -1755,6 +1835,13 @@ export declare type VizzlyTranslations = {
|
|
|
1755
1835
|
* String containing the translation.
|
|
1756
1836
|
*/
|
|
1757
1837
|
'editor_modal.confirm': string;
|
|
1838
|
+
/**
|
|
1839
|
+
* @default 'There is too much data for this view.'
|
|
1840
|
+
*
|
|
1841
|
+
* @returns
|
|
1842
|
+
* String containing the translation.
|
|
1843
|
+
*/
|
|
1844
|
+
'results-too-large': string;
|
|
1758
1845
|
/**
|
|
1759
1846
|
* @default 'There are no Views in your template library'
|
|
1760
1847
|
*
|
|
@@ -1882,47 +1969,54 @@ export declare type VizzlyTranslations = {
|
|
|
1882
1969
|
*/
|
|
1883
1970
|
hide_labels: string;
|
|
1884
1971
|
/**
|
|
1885
|
-
* @default '
|
|
1972
|
+
* @default 'Natural'
|
|
1886
1973
|
*
|
|
1887
1974
|
* @returns
|
|
1888
1975
|
* String containing the translation.
|
|
1889
1976
|
*/
|
|
1890
|
-
|
|
1977
|
+
natural: string;
|
|
1891
1978
|
/**
|
|
1892
|
-
* @default '
|
|
1979
|
+
* @default 'Straight'
|
|
1893
1980
|
*
|
|
1894
1981
|
* @returns
|
|
1895
1982
|
* String containing the translation.
|
|
1896
1983
|
*/
|
|
1897
|
-
|
|
1984
|
+
straight: string;
|
|
1898
1985
|
/**
|
|
1899
|
-
* @default '
|
|
1986
|
+
* @default 'Step'
|
|
1900
1987
|
*
|
|
1901
1988
|
* @returns
|
|
1902
1989
|
* String containing the translation.
|
|
1903
1990
|
*/
|
|
1904
|
-
|
|
1991
|
+
step: string;
|
|
1905
1992
|
/**
|
|
1906
|
-
* @default '
|
|
1993
|
+
* @default 'Dotted'
|
|
1907
1994
|
*
|
|
1908
1995
|
* @returns
|
|
1909
1996
|
* String containing the translation.
|
|
1910
1997
|
*/
|
|
1911
|
-
|
|
1998
|
+
dotted: string;
|
|
1912
1999
|
/**
|
|
1913
|
-
* @default '
|
|
2000
|
+
* @default 'Grouped'
|
|
1914
2001
|
*
|
|
1915
2002
|
* @returns
|
|
1916
2003
|
* String containing the translation.
|
|
1917
2004
|
*/
|
|
1918
|
-
|
|
2005
|
+
grouped: string;
|
|
1919
2006
|
/**
|
|
1920
|
-
* @default '
|
|
2007
|
+
* @default 'Stacked'
|
|
1921
2008
|
*
|
|
1922
2009
|
* @returns
|
|
1923
2010
|
* String containing the translation.
|
|
1924
2011
|
*/
|
|
1925
|
-
|
|
2012
|
+
stacked: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* @default 'Stacked (100%)'
|
|
2015
|
+
*
|
|
2016
|
+
* @returns
|
|
2017
|
+
* String containing the translation.
|
|
2018
|
+
*/
|
|
2019
|
+
stacked_100prc: string;
|
|
1926
2020
|
/**
|
|
1927
2021
|
* @default 'Add Conditional Formatting'
|
|
1928
2022
|
*
|
|
@@ -2020,6 +2114,13 @@ export declare type VizzlyTranslations = {
|
|
|
2020
2114
|
* String containing the translation.
|
|
2021
2115
|
*/
|
|
2022
2116
|
goal_line_configuration: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* @default 'This variable is not available.'
|
|
2119
|
+
*
|
|
2120
|
+
* @returns
|
|
2121
|
+
* String containing the translation.
|
|
2122
|
+
*/
|
|
2123
|
+
'goal_line.variable_not_available': string;
|
|
2023
2124
|
/**
|
|
2024
2125
|
* @default 'None'
|
|
2025
2126
|
*
|
|
@@ -2415,13 +2516,6 @@ export declare type VizzlyTranslations = {
|
|
|
2415
2516
|
* String containing the translation.
|
|
2416
2517
|
*/
|
|
2417
2518
|
'filter.past_18_months': string;
|
|
2418
|
-
/**
|
|
2419
|
-
* @default NULL_REPLACEMENT
|
|
2420
|
-
*
|
|
2421
|
-
* @returns
|
|
2422
|
-
* String containing the translation.
|
|
2423
|
-
*/
|
|
2424
|
-
'textOverrideKey ? textOverrideKey : no_value': string;
|
|
2425
2519
|
/**
|
|
2426
2520
|
* @default 'Minutes'
|
|
2427
2521
|
*
|
|
@@ -4137,20 +4231,6 @@ export declare type VizzlyTranslations = {
|
|
|
4137
4231
|
* String containing the translation.
|
|
4138
4232
|
*/
|
|
4139
4233
|
'line_chart.data_panel.custom_metrics.description': string;
|
|
4140
|
-
/**
|
|
4141
|
-
* @default "Trend lines"
|
|
4142
|
-
*
|
|
4143
|
-
* @returns
|
|
4144
|
-
* String containing the translation.
|
|
4145
|
-
*/
|
|
4146
|
-
'line_chart.data_panel.trends.title': string;
|
|
4147
|
-
/**
|
|
4148
|
-
* @default "Specify a trend type for the line chart."
|
|
4149
|
-
*
|
|
4150
|
-
* @returns
|
|
4151
|
-
* String containing the translation.
|
|
4152
|
-
*/
|
|
4153
|
-
'line_chart.data_panel.trends.description': string;
|
|
4154
4234
|
/**
|
|
4155
4235
|
* @default "Limit"
|
|
4156
4236
|
*
|
|
@@ -4194,7 +4274,7 @@ export declare type VizzlyTranslations = {
|
|
|
4194
4274
|
*/
|
|
4195
4275
|
'line_chart.format_panel.chart_styles.title': string;
|
|
4196
4276
|
/**
|
|
4197
|
-
* @default "Line
|
|
4277
|
+
* @default "Line Style"
|
|
4198
4278
|
*
|
|
4199
4279
|
* @returns
|
|
4200
4280
|
* String containing the translation.
|
|
@@ -4312,6 +4392,20 @@ export declare type VizzlyTranslations = {
|
|
|
4312
4392
|
* String containing the translation.
|
|
4313
4393
|
*/
|
|
4314
4394
|
'line_chart.format_panel.headline.title': string;
|
|
4395
|
+
/**
|
|
4396
|
+
* @default "Trend lines"
|
|
4397
|
+
*
|
|
4398
|
+
* @returns
|
|
4399
|
+
* String containing the translation.
|
|
4400
|
+
*/
|
|
4401
|
+
'line_chart.format_panel.trends.title': string;
|
|
4402
|
+
/**
|
|
4403
|
+
* @default "Specify a trend type for the line chart."
|
|
4404
|
+
*
|
|
4405
|
+
* @returns
|
|
4406
|
+
* String containing the translation.
|
|
4407
|
+
*/
|
|
4408
|
+
'line_chart.format_panel.trends.description': string;
|
|
4315
4409
|
/**
|
|
4316
4410
|
* @default "Goal Lines"
|
|
4317
4411
|
*
|
|
@@ -5243,6 +5337,13 @@ export declare type VizzlyTranslations = {
|
|
|
5243
5337
|
* String containing the translation.
|
|
5244
5338
|
*/
|
|
5245
5339
|
'single_stat.format_panel.format.font_size.title': string;
|
|
5340
|
+
/**
|
|
5341
|
+
* @default "Direction"
|
|
5342
|
+
*
|
|
5343
|
+
* @returns
|
|
5344
|
+
* String containing the translation.
|
|
5345
|
+
*/
|
|
5346
|
+
'single_stat.format_panel.format.direction.title': string;
|
|
5246
5347
|
/**
|
|
5247
5348
|
* @default "Greater than"
|
|
5248
5349
|
*
|
|
@@ -6,6 +6,7 @@ export declare type Webhook = {
|
|
|
6
6
|
active: boolean;
|
|
7
7
|
createdAt: Date;
|
|
8
8
|
updatedAt: Date;
|
|
9
|
+
project_id: string;
|
|
9
10
|
};
|
|
10
11
|
export declare type RawWebhook = {
|
|
11
12
|
id: string;
|
|
@@ -15,6 +16,7 @@ export declare type RawWebhook = {
|
|
|
15
16
|
active: boolean;
|
|
16
17
|
created_at: string;
|
|
17
18
|
updated_at: string;
|
|
19
|
+
project_id: string;
|
|
18
20
|
};
|
|
19
21
|
export declare type WebhookHealthSummary = {
|
|
20
22
|
[webhookId: string]: {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { PreparedQuery, Query } from '../../Query/types';
|
|
2
2
|
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
|
-
|
|
3
|
+
declare type CreateResultsResponse = {
|
|
4
|
+
results: {
|
|
5
|
+
content: any[][];
|
|
6
|
+
hasMoreResults: boolean | null;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export declare const createResults: (queries: (Query | PreparedQuery)[], queryEngineEndpoint: QueryEngineEndpoint, dataAccessToken?: string | undefined, abortSignal?: AbortSignal | undefined) => Promise<CreateResultsResponse | null>;
|
|
10
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AdditionalFilter, FilterConfig, TimeRangeOptions } from '
|
|
2
|
-
import { loadDataCallback } from '
|
|
3
|
-
import { QueryEngineConfig as QueryEngineConfigType } from '
|
|
4
|
-
import { Component } from '
|
|
5
|
-
import { QueryAttributes } from '
|
|
6
|
-
import { PreparedQuery } from '
|
|
7
|
-
import { Result } from '
|
|
8
|
-
import { DataSet } from '
|
|
9
|
-
import { IdentityConfig as IdentityConfigType } from '
|
|
1
|
+
import { AdditionalFilter, FilterConfig, TimeRangeOptions } from '../../AdditionalFilter/types';
|
|
2
|
+
import { loadDataCallback } from '../../Callbacks/types';
|
|
3
|
+
import { QueryEngineConfig as QueryEngineConfigType } from '../../QueryEngineConfig/types';
|
|
4
|
+
import { Component } from '../../Component/types';
|
|
5
|
+
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
6
|
+
import { PreparedQuery } from '../../Query/types';
|
|
7
|
+
import { Result } from '../../Result/types';
|
|
8
|
+
import { DataSet } from '../../DataSet/types';
|
|
9
|
+
import { IdentityConfig as IdentityConfigType } from '../../IdentityConfig/types';
|
|
10
10
|
import { VariableList } from '../../Variables/types';
|
|
11
11
|
declare type CallbackError = null;
|
|
12
12
|
export declare type runQueriesCallback = (queries: Component.Attributes | AdditionalFilter | QueryAttributes[] | [PreparedQuery], params: {
|
|
@@ -16,11 +16,11 @@ export declare type runQueriesCallback = (queries: Component.Attributes | Additi
|
|
|
16
16
|
filterConfig?: FilterConfig;
|
|
17
17
|
}) => Promise<(Result | null)[] | Array<Result['content'] | null> | CallbackError>;
|
|
18
18
|
declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, runQueries?: ((queries: import("../../../../shared-logic/src/Query/types").Query<string, string, string>[], params: {
|
|
19
|
-
dataSets: DataSet<DataSet.Field>[];
|
|
19
|
+
dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[];
|
|
20
20
|
abortSignal?: AbortSignal | undefined;
|
|
21
21
|
dataAccessToken?: string | undefined;
|
|
22
|
-
filterConfig?: FilterConfig | undefined;
|
|
23
|
-
}) => Promise<(Result | any[][] | null)[] | null>) | undefined, data?: loadDataCallback | undefined, queryEngineEndpoint?: string | {
|
|
22
|
+
filterConfig?: import("../../../../shared-logic/src/AdditionalFilter/types").FilterConfig | undefined;
|
|
23
|
+
}) => Promise<(import("../../../../shared-logic/src/Result/types").Result | any[][] | null)[] | null>) | undefined, data?: loadDataCallback | undefined, queryEngineEndpoint?: string | {
|
|
24
24
|
endpoint: string;
|
|
25
25
|
dynamicConfig?: Object | undefined;
|
|
26
26
|
customHeaders?: (() => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Ingest } from '
|
|
1
|
+
import { Ingest } from '../../DataIngest/types';
|
|
2
2
|
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
3
|
export declare const uploadDataToVizzlyCloud: (queryEngineEndpoint: QueryEngineEndpoint, queryEngineAccessToken: string, ingest: Ingest) => Promise<number>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Component } from '../../src/Component/types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const getGroupingFeedbackMessage: (attributes: Component.Attributes) => string | null;
|
|
3
3
|
export declare const chartHasDimensions: (attributes: Component.Attributes) => boolean;
|
|
4
|
-
export declare const createFeedback: (attribute: Component.Attributes) =>
|
|
4
|
+
export declare const createFeedback: (attribute: Component.Attributes) => string | true | null;
|
|
@@ -1,43 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export declare type ListSelectOptions<T> = {
|
|
5
|
-
label: string;
|
|
6
|
-
value: T;
|
|
7
|
-
};
|
|
8
|
-
export declare type ListSelect<T> = {
|
|
9
|
-
showClearBtn?: boolean;
|
|
10
|
-
onChange: (value: T, itemIndex: number) => void;
|
|
11
|
-
selected: T;
|
|
12
|
-
options: ListSelectOptions<T>[];
|
|
13
|
-
};
|
|
14
|
-
export declare type ListViewItem<T> = {
|
|
15
|
-
title: string | ReactNode;
|
|
16
|
-
subtext?: JSX.Element | string;
|
|
17
|
-
highlight?: boolean;
|
|
18
|
-
onClick?: (index: number) => void;
|
|
19
|
-
editIcon?: boolean;
|
|
20
|
-
icon?: IconType;
|
|
21
|
-
select?: ListSelect<T>;
|
|
22
|
-
renderRight?: () => JSX.Element;
|
|
23
|
-
preventDelete?: boolean;
|
|
24
|
-
context?: any;
|
|
25
|
-
};
|
|
26
|
-
declare type Props<T> = {
|
|
27
|
-
testId?: string;
|
|
28
|
-
index: number;
|
|
29
|
-
totalItemsCount: number;
|
|
30
|
-
item: ListViewItem<T>;
|
|
31
|
-
onOrderChange?: (index: number, movedTo: number) => void;
|
|
32
|
-
onDeleteItem?: (itemIndex: number, context: any) => void;
|
|
33
|
-
onToggleHidden?: (args: {
|
|
34
|
-
itemIndex: number;
|
|
35
|
-
}) => void;
|
|
36
|
-
isHidden?: (args: {
|
|
37
|
-
itemIndex: number;
|
|
38
|
-
}) => boolean;
|
|
39
|
-
mode: Mode;
|
|
40
|
-
showHiddenToggle?: boolean;
|
|
41
|
-
};
|
|
42
|
-
export declare const ListViewItem: (props: Props<any>) => JSX.Element;
|
|
43
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListItemProps } from './types';
|
|
3
|
+
export declare const ListViewItem: (props: ListItemProps<any>) => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ListItemProps } from './types';
|
|
3
|
+
export declare const ListViewItemPrimative: React.ForwardRefExoticComponent<ListItemProps<{}> & {
|
|
4
|
+
state?: {
|
|
5
|
+
type: "idle";
|
|
6
|
+
} | {
|
|
7
|
+
type: "preview";
|
|
8
|
+
container: HTMLElement;
|
|
9
|
+
rect: DOMRect;
|
|
10
|
+
} | {
|
|
11
|
+
type: "dragging";
|
|
12
|
+
} | undefined;
|
|
13
|
+
closestEdge?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
14
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { ListViewItem } from './Item';
|
|
3
2
|
import { Mode } from '../../contexts/DashboardBehaviour/types';
|
|
4
3
|
import { DataType } from '../../../../shared-logic/src/Field/types';
|
|
4
|
+
import { ListViewItem as ListViewItemType } from './types';
|
|
5
5
|
export declare type InitValue<T> = {
|
|
6
6
|
title: string;
|
|
7
7
|
subtext?: string;
|
|
@@ -22,7 +22,7 @@ declare type NewItemProps<T> = {
|
|
|
22
22
|
};
|
|
23
23
|
export declare function NewItem<T>(props: NewItemProps<T>): JSX.Element | null;
|
|
24
24
|
declare type ListViewProps<T> = {
|
|
25
|
-
items:
|
|
25
|
+
items: ListViewItemType<T>[];
|
|
26
26
|
onOrderChange?: (index: number, movedTo: number) => void;
|
|
27
27
|
onDeleteItem?: (itemIndex: number, context: any) => void;
|
|
28
28
|
onToggleHidden?: (args: {
|
|
@@ -43,6 +43,7 @@ declare type ListViewProps<T> = {
|
|
|
43
43
|
children?: ReactNode;
|
|
44
44
|
paddingRight?: CSSProperties['paddingRight'];
|
|
45
45
|
showHiddenToggle?: boolean;
|
|
46
|
+
purpose?: string;
|
|
46
47
|
};
|
|
47
48
|
export declare function ListView<T>(props: ListViewProps<T>): JSX.Element;
|
|
48
49
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, FunctionComponent } from 'react';
|
|
2
2
|
import { DataType } from '../../../../shared-logic/src/Field/types';
|
|
3
|
-
export declare type IconType = DataType | JSX.Element;
|
|
3
|
+
export declare type IconType = DataType | JSX.Element | 'variable';
|
|
4
4
|
export declare const OptionIcon: FunctionComponent<{
|
|
5
5
|
icon: IconType;
|
|
6
6
|
paddingTop?: CSSProperties['paddingTop'];
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IconType } from './OptionIcon';
|
|
3
|
+
import { Mode } from '../../contexts/DashboardBehaviour/types';
|
|
4
|
+
export declare type ListSelectOptions<T> = {
|
|
5
|
+
label: string;
|
|
6
|
+
value: T;
|
|
7
|
+
};
|
|
8
|
+
export declare type ListSelect<T> = {
|
|
9
|
+
showClearBtn?: boolean;
|
|
10
|
+
onChange: (value: T, itemIndex: number) => void;
|
|
11
|
+
selected: T;
|
|
12
|
+
options: ListSelectOptions<T>[];
|
|
13
|
+
};
|
|
14
|
+
export declare type ListViewItem<T> = {
|
|
15
|
+
title: string | ReactNode;
|
|
16
|
+
id: string;
|
|
17
|
+
subtext?: JSX.Element | string;
|
|
18
|
+
highlight?: boolean;
|
|
19
|
+
onClick?: (index: number) => void;
|
|
20
|
+
editIcon?: boolean;
|
|
21
|
+
icon?: IconType;
|
|
22
|
+
select?: ListSelect<T>;
|
|
23
|
+
renderRight?: () => JSX.Element;
|
|
24
|
+
preventDelete?: boolean;
|
|
25
|
+
context?: any;
|
|
26
|
+
};
|
|
27
|
+
export declare type ListItemProps<T> = {
|
|
28
|
+
testId?: string;
|
|
29
|
+
index: number;
|
|
30
|
+
totalItemsCount: number;
|
|
31
|
+
item: ListViewItem<T>;
|
|
32
|
+
onOrderChange?: (index: number, movedTo: number) => void;
|
|
33
|
+
onDeleteItem?: (itemIndex: number, context: any) => void;
|
|
34
|
+
onToggleHidden?: (args: {
|
|
35
|
+
itemIndex: number;
|
|
36
|
+
}) => void;
|
|
37
|
+
isHidden?: (args: {
|
|
38
|
+
itemIndex: number;
|
|
39
|
+
}) => boolean;
|
|
40
|
+
mode: Mode;
|
|
41
|
+
showHiddenToggle?: boolean;
|
|
42
|
+
purpose?: string;
|
|
43
|
+
};
|
|
44
|
+
export declare type ListItemState = {
|
|
45
|
+
type: 'idle';
|
|
46
|
+
} | {
|
|
47
|
+
type: 'preview';
|
|
48
|
+
container: HTMLElement;
|
|
49
|
+
rect: DOMRect;
|
|
50
|
+
} | {
|
|
51
|
+
type: 'dragging';
|
|
52
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { VizzlyTheming } from '../../types';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
2
3
|
export declare const modalCoreStyle: (themedStyles?: VizzlyTheming.ModalBase | undefined) => {
|
|
3
4
|
(variantOptions: Object): string;
|
|
4
5
|
toString: any;
|
|
@@ -7,7 +8,7 @@ export declare const modalScrollbar: {
|
|
|
7
8
|
(variantOptions: Object): string;
|
|
8
9
|
toString: any;
|
|
9
10
|
};
|
|
10
|
-
export declare const modalContentStyle: (themedStyles?: VizzlyTheming.ModalContent | undefined) => {
|
|
11
|
+
export declare const modalContentStyle: (themedStyles?: VizzlyTheming.ModalContent | undefined, overrides?: CSSProperties | undefined) => {
|
|
11
12
|
(variantOptions: Object): string;
|
|
12
13
|
toString: any;
|
|
13
14
|
};
|
|
@@ -48,6 +48,7 @@ declare type CustomThemeClassNamespaceDescriptionMap = {
|
|
|
48
48
|
accordion: string;
|
|
49
49
|
'custom-view': string;
|
|
50
50
|
'table-th-button': string;
|
|
51
|
+
'picker-content': string;
|
|
51
52
|
};
|
|
52
53
|
export declare const namespaceDescriptions: CustomThemeClassNamespaceDescriptionMap;
|
|
53
54
|
export declare type CustomThemeClassNamespaces = keyof CustomThemeClassNamespaceDescriptionMap;
|