@splunk/visualizations 25.7.2 → 25.8.1
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/Area.config.js +18 -102
- package/Area.config.js.map +1 -1
- package/Area.js +191 -580
- package/Area.js.map +1 -1
- package/Bar.config.js +20 -104
- package/Bar.config.js.map +1 -1
- package/Bar.js +185 -576
- package/Bar.js.map +1 -1
- package/Bubble.config.js +20 -94
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +182 -563
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +14 -65
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +150 -488
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +18 -103
- package/Column.config.js.map +1 -1
- package/Column.js +187 -589
- package/Column.js.map +1 -1
- package/Ellipse.config.js +18 -83
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +120 -381
- package/Ellipse.js.map +1 -1
- package/Events.config.js +16 -68
- package/Events.config.js.map +1 -1
- package/Events.js +256 -646
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +19 -87
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +339 -712
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +16 -60
- package/Image.config.js.map +1 -1
- package/Image.js +121 -372
- package/Image.js.map +1 -1
- package/Line.config.js +20 -103
- package/Line.config.js.map +1 -1
- package/Line.js +189 -583
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +21 -71
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +184 -585
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +103 -248
- package/Map.config.js.map +1 -1
- package/Map.js +430 -1005
- package/Map.js.map +1 -1
- package/Markdown.config.js +18 -68
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +139 -390
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +17 -75
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +354 -731
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +16 -70
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +452 -810
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +18 -71
- package/Pie.config.js.map +1 -1
- package/Pie.js +179 -565
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +20 -72
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +344 -785
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +18 -84
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +120 -384
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +17 -72
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +282 -722
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +20 -94
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +177 -558
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +23 -92
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +545 -1004
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +219 -280
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +21 -90
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +471 -916
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +23 -94
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +506 -964
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +18 -71
- package/Table.config.js.map +1 -1
- package/Table.js +316 -827
- package/Table.js.map +1 -1
- package/common/Charting.js +35 -107
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +7 -18
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +18 -68
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +58 -68
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +28 -37
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +65 -155
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +5 -32
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -31
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -8
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +14 -27
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +12 -44
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +1 -11
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +90 -173
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +2 -12
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +14 -49
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +2 -7
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/hocUtils.js +1 -3
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/layoutUtils.js +0 -1
- package/common/utils/layoutUtils.js.map +1 -1
- package/common/utils/mapUtils.js +127 -283
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +196 -241
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +0 -6
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +0 -61
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/withDashboardViz.js +95 -262
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +31 -24
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_SVG_with_XML_and_DTD.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_background_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_black_dot.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_color_rectangles.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_fixed_height_400_width_400.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_Background_Color_Red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_Basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Actions_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Actions_for_Numeric_Field_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Light.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_DarkPrisma.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Light.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Gauge_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Major_Unit_10.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Major_Unit_auto.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Max_Value_210_Major_Unit_25_ticks_position_unevenly.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Max_value_40K.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Min_Value_20_ticks_position_evenly.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_height_100_no_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Percentage_Range_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Percentage_Value_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Show_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_First_And_Last.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_Some.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields_Columns.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Handles_Large_Data_Set.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Handles_Special_Characters.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Height.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Highlight_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_X.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_Y.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Result_Limit.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Node_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Value_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip_with_additional_fields.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Hover.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Light.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_base_map_light.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_dynamic_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_geostats_by.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color_with_no_seriesColors.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_center_seattle.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_choropleth_layer.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_zoom_9.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_from.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_discontinuous_ranges.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_equals_to_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_is_larger_than_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_missing_entries.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Major_Unit_10.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Major_Unit_auto.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Percentage_Range_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Percentage_Value_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_min_20_max_100_tick_positions_even.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_min_20_max_110_majorUnit_20_tick_positions_uneven.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_multiple_steps.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_single_step.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Show_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_array_column_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_backgroundColor_navy_000080.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_categorical_dataSources_excessive_categorical_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_dimensions_less_than_minWidth_200_and_minHeight_150.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_lineColor_pink_FFC0CB.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_lineOpacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_showNullAxis_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_stringified_numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Scale_area.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Scale_radius.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Max_Bubble_Radius_25.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5_Max_Bubble_Radius_30_Color_Mode_categorical_Bubble_Scale_radius_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5_Max_Bubble_Radius_30_Color_Mode_dynamic_Bubble_Scale_area_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_75_Min_Bubble_Size_15_Color_Mode_categorical_Bubble_Scale_area_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_75_Min_Bubble_Size_15_Color_Mode_dynamic_Bubble_Scale_radius_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_99.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Min_Bubble_Size_30.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Series_Color_red_blue_green_orange_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Show_Legend_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Show_Legend_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Bubble_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Min_ColorIntensity_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Min_ColorIntensity_100.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Duplicated_data_point_x_8_y_tuesday_size_29_category_Allison_V_1710.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_5_y_friday_size_undefined_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_5_y_undefined_size_12_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_undefined_y_friday_size_29_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Legend_label_is_long_no_overflow.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_all.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_max.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_none.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Some_axis_labels_should_be_hidden.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Sort_axes_useDefaultSort_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_default_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_fixed_height_300_width_700.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_backgroundcolor_pink.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_backward_link_and_self_loop.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_colorMode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_height_and_width_set_to_non_numeric.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_less_than_minWidth_300_and_minHeight_200.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_invalid_columns_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_larger_dataset_charity_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_larger_dataset_energy_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_linkOpacity_changed_to_0_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_nodePadding_changed_to_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_nodeWidth_changed_to_15.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_resultLimit_set_to_4.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_100_height_and_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Background_color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Opacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_after.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_below.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_top.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_activity.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Major_Font_Size_128_Trend_Font_Size_30.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Truncate_Trend_Units_enabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_fixed_height_35_width_35.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_100_height_and_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Background_color_flamenco.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Background_color_is_white.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Max_Value_50.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Radial_Background_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Radial_Stroke_Color_valencia.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_String_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Thousand_Separators_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_absolute_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Truncate_Trend_Value_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Truncate_Trend_Value_enabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Under_label_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_dark_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_default_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_scp_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_fixed_height_35_width_35.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Automatic_font_sizing_should_not_overflow.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_white_Under_Label_and_Unit_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Large_card_686_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Font_Size_128_Trend_Font_Size_30_Under_Label_Font_Size_16.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Value_is_null.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Medium_card_250_width_686.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Small_card_width_250.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Small_card_width_50.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_after.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_below_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_2_Sparkline_Highlight_Dots_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_4_Sparkline_Highlight_Dots_5.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_and_Sparkline_Highlight_Dots_characters_invalid.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_and_Sparkline_Highlight_Dots_negative_3_invalid.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Sparkline_Accept_Null_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Sparkline_Accept_Null_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Stroke_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Tooltip_show.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_disabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_billions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_hundreds.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_millions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_thousands.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_trillions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_converts_non_numeric_values_to_null.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_does_not_show_if_only_1_entry_in_graphData.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_String_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Thousand_Separators_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Color_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_absolute_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Major_Value_negative_10_Trend_Value_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Major_Value_negative_13_Trend_Value_negative_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Trend_Value_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_value_equals_trendValue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Value_Empty_string.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Value_Not_A_Number.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Under_Label_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic_0_value.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic_all_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_35_width_35_Major_Font_Size_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_60_width_60_Major_Font_Size_12_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Black_Dot.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Color_Rectangles.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_with_XML_and_DTD.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Events_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Area_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Background_Color_french_rose.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Basic_Area.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_and_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_and_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Max_40000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Min_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Data_Values_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Data_Values_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Mode_seriesCompare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_connect.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_gaps_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_zero.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_3_Number_of_Results_5_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Series_Colors_by_Field_splunkd_green_splunkd_web_access_orange_splunk_web_service_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Series_Colors_red_blue_green_orange_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_X_Axis_Major_Grid_Lines_true_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Line_Visibility_show_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Major_Ticks_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_and_Minor_Tick_Visibility_show_X_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_and_Minor_Tick_Visibility_show_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Maximum_Number_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Minimum_Number_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_and_X_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Background_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Bar_Spacing_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Basic_Bar.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Major_and_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Minor_Ticks_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_and_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Max_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Min_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Title_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Data_Value_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Data_Value_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Mode_Series_Compare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_by_Field_admin_green_andy_orange_john_cyan_wendy_olive.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_red_blue_green_and_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Spacing_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_X_Axis_Major_Grid_true_Y_Axis_Major_Grid_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Major_Tick_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Major_Tick_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Major_and_Minor_Ticks_Visibility_show_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Maximum_Number_1000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Minimum_Number_250.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Tick_Interval_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_and_X_Axis_Title_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Background_Color_grey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Basic_Bubble.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Max_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_area_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_diameter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Min_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Column_data_based_on_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Field_Colors_200_green_201_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_0_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_10_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_3a_invalid_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Result_Limit_50_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Series_Colors_orange_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Rounded_Labels_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Rounded_Labels_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Major_Grid_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Abbreviation_auto.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Abbreviation_off_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Line_Visibility_hide_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Interval_6.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Size_15_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Maximum_Number_14.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minimum_Number_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Abbreviation_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Interval_150.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Size_15_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Maximum_Number_1500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_and_X_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Click.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Missing_Props_Message_When_No_Svg.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_of_multiple_areas_in_an_Svg_based_on_a_rangeValue_threshold.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_of_multiple_areas_in_an_Svg_based_on_areaIds.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_using_multiMap_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Svg_Shows_Even_When_No_Datasources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Use_Local_To_Download_Svg.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Basic_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Multiple_Overlay_Fields_with_space_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Overlay_Field_with_space_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Y2_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Visibility_and_Y2_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Max_40000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Min_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Title_Text_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Grouping_overlay.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Grouping_overlay_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Spacing_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Data_Value_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Data_Value_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Mode_Series_Compare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Multiple_Categorical_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Colors_By_Field_splunkd_green_mongod_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Colors_red_blue_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Spacing_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Long_Tooltip_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Tooltip_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_X_Axis_Major_Grid_Lines_true_Show_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Single_Categorical_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_and_Y_Axis_Major_Tick_Size_20_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Mapped_Field_With_Space_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Maximum_Number_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Minimum_Number_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Minor_Tick_Size_10_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Basic_Ellipse.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_purple_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fixed_height_200_width_200.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_brown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_brown_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_green_Fill_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Dash_Style_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Opacity_0_8_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_20_Stroke_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_5_Stroke_Dash_Style_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Value_Highlighting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Basic_Filler_Gauge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Gauge_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Gauge_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Major_Tick_Interval_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_100_no_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_percentage_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Basic_Image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Displays_dynamic_image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Displays_remote_image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_JPEG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_JPG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_No_image_src_present_in_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_No_options_present.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_PNG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_JPG_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_PNG_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_svg_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_SVG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_IANA_timezone.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_serialized_timezone.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_utc_timezone.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Y2_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Tick_Visibility_and_Y2_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Maximum_Number_40000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Minimum_Number_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Data_Values_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Data_Values_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Mode_seriesCompare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_mongod_longDash_splunkd_access_dashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_mongod_shortDashDot_splunkd_access_shortDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_splunkd_dot_splunk_web_service_dash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_splunkd_longDashDot_splunkd_access_longDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_splunkd_shortDash_splunk_web_service_shortDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_solid_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_filled.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_invalid_value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_off_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_outlined.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_connect.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_gaps_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_zero.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Outlier_Detection.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_3_Number_of_Results_5_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_by_Field_splunkd_green_splunkd_web_access_orange_splunk_web_service_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_red_blue_green_orange_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_X_Axis_Major_Grid_Lines_true_Show_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Line_Visibility_show_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Major_Tick_Visibility_hide_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_and_Y_Axis_Major_Tick_Size_20.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Maximum_Number_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Minimum_Number_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Minor_Tick_Visibility_show_Y_Axis_Minor_Tick_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Basic_LinkGraph.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_ES.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_First_and_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_First_to_the_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_Last_to_the_First_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Node_Text_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Node_Text_Highlight_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Result_Limit_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map_ShowScale_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map_ShowZoomControls_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Additional_Cases.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Mostly_null.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_ChoroplethOpacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_ChoroplethStrokeColor_Red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Result_Limit_Set_To_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_Invalid.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_US.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_US_ChoroplethEmptyAreaColor_light_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_US_ChoroplethStrokeColor_grey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_US_ShowBaseLayer_ShowZoomControls_ShowScale_false_Background_Color_transparent_ChoroplethOpacity_1_0_ChoroplethStrokeColor_black.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_US_ShowBaseLayer_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_US_no_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_World.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_World_ChoroplethEmptyAreaColor_light_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_World_ChoroplethStrokeColor_black.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_World_ShowBaseLayer_ShowZoomControls_ShowScale_false_BackgroundColor_grey_ChoroplethOpacity_1_0_ChoroplethStrokeColor_grey_ChoroplethEmptyAreaColor_white.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_World_ShowBaseLayer_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_World_With_Additional_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Source_World_no_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_String_GeoJson_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_With_Additional_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_with_geostats_data_No_render.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Family_Times_New_Roman.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Markdown_with_number_as_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Rotation_180_degrees.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Basic_Marker_Gauge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Gauge_Ranges_0_to_30_purple_30_to_90_blue_90_to_100_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Gauge_Ranges_negative_10_to_50_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Major_Tick_Interval_7.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_percentage_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Array_column_values.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Background_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Basic_Parallel_Coordinates.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Categorical_dataSources_excessive_categorical_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Larger_Dimensions_width_800_height_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Line_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Line_Opacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Show_Null_Axis_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Smaller_Dimensions_less_than_min_width_200_and_min_height_150.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Stringified_Numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Basic_Pie.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Collapse_Label_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Collapse_Threshold_0_05.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_valuesAndPercentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_values_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Numeric_and_string_values_in_column_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_empty_columns_and_fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_label_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_value_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_missing_column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_values_in_datasource_are_all_invalid.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Result_Limit_0_Number_of_Results_12.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Result_Limit_3_Number_of_Results_12.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Series_Colors_By_Field_splunkd_black_splunkd_ui_access_yellow_mongod_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Series_Colors_red_blue_green_orange_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Show_Donut_Hole_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Background_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Basic_Punchcard.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_all_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_max.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Row_Scale_global_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_75_Bubble_Size_Min_15_Bubble_Size_Method_radius_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_75_Bubble_Size_Min_15_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Method_area_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Method_radius.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Min_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Legend_Display_right_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Series_Color_red_blue_green_orange_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_dynamic_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Default_Sort_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Default_Sort_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Max_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5_Bubble_Radius_Max_30_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5_Bubble_Radius_Max_30_Color_Mode_categorical_Bubble_Size_Method_radius.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Basic_Rectangle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_Purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_Purple_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_0_default_Vertical_Corner_Radius_ry_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_15_Vertical_Corner_Radius_ry_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_20_Vertical_Corner_Radius_ry_0.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_20_Vertical_Corner_Radius_ry_Undefined_default_set_to_rx.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_5_Vertical_Corner_Radius_ry_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_brown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_brown_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_yellow_Fill_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Dash_Style_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Dash_Style_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_Bevel_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_miter_default_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_round_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Width_20_Stroke_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Background_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Backward_Link_Self_Loop.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Basic_Sankey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Color_Mode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Dimension_Too_Small.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Larger_Dimension.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Opacity_0_8.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Opacity_Changed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Values_Not_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Background_Color_grey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Basic_Scatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Column_data_based_on_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Field_Colors_200_green_201_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Marker_Size_7.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_0_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_10_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_3a_invalid_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_50_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Series_Colors_orange_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Rounded_X_Axis_Labels_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Rounded_X_Axis_Labels_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_X_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Extend_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Extend_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Major_Grid_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Abbreviation_auto.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Abbreviation_off_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Line_Visibility_hide_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Interval_6.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Size_15_X_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Maximum_Number_14.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minimum_Number_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Abbreviation_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Interval_150.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Maximum_Number_1000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minimum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minor_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_background_color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_max_count_avg_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_max_count_avg_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_layout_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_makeresults_name_age.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_makeresults_name_age_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_avg_count_max_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_avg_count_max_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_table_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_max_count_avg_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Change_Icon_Color_For_A_Remote_Icon.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_The_Icon_As_A_Remote_Icon.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_after.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_before.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_backgroundColor_based_on_the_majorValue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_icon_color_based_on_the_majorValue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_the_majorColor_based_on_the_majorValue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Mixed_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Numerical_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_String_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_The_First_Series_Data_If_No_Matched_Type.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Background_From_Major_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Background_From_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Chart.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Chart_Count.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Timechart.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_background_color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_chart_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_chart_cmd_max_count_avg_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_chart_cmd_max_count_avg_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_layout_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_makeresults_name_age.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_makeresults_name_age_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_stats_cmd_avg_count_max_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_stats_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_stats_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_table_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_timechart_cmd_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_timechart_cmd_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_timechart_cmd_max_count_avg_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Major_Value_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Major_Value_Color_By_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Max_Value_1000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Radial_Color_By_Major_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_After.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_Before.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Use_String_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_assign_default_trellisSplitBy_value_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_background_color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_avg_count_max_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_avg_count_max_count_by_status_value_by_max_count.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_by_status_user_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_layout_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_makeresults_name_age.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_makeresults_name_age_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status_value_by_max_count.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_table_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_max_count_avg_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_max_count_avg_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Change_The_Color_Of_Major_Value_Based_On_Its_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Major_value_data_null_show_N_A.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_No_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Major_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Major_Value_Trellis.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Color_Of_Major_Value_Based_On_The_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Color_Of_The_Trend_Indicators_And_Number_Based_On_The_Trend_Value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Major_Value_Based_On_String_Type_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_After.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_Before.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Show_Gaps_For_Null_Value_In_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Trend_Index_Out_Of_Range.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Trend_Value_Is_Zero.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Mixed_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Numerical_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_String_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_The_First_Series_Data_If_No_Matched_Type.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_By_Type_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Kitchen_Sink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Single_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Color_light_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table_With_No_Click.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Override.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width_All_Columns.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width_Auto_Expand_First_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width_Auto_Expand_Last_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width_Middle_Columns.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Count_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Header_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Row_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Extra_Small.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Large.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Monospace.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Proportional.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Font_Small.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_none.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_50_no_paginator.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Invalid_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Mixed_Type_Column_With_Null.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Multi_Value_Field.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes_Row_Numbers.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Row_Numbers_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Px.png +0 -0
package/SingleValue.js
CHANGED
|
@@ -151,17 +151,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
151
151
|
value: true
|
|
152
152
|
});
|
|
153
153
|
exports.TrellisBackgroundColorEditor = exports.TrellisEditorConfig = void 0;
|
|
154
|
-
|
|
155
154
|
var React = __webpack_require__(0);
|
|
156
|
-
|
|
157
155
|
var i18n_1 = __webpack_require__(2);
|
|
158
|
-
|
|
159
156
|
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
160
|
-
|
|
161
157
|
var layoutUtils_1 = __webpack_require__(58);
|
|
162
158
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
163
|
-
|
|
164
|
-
|
|
165
159
|
exports.TrellisEditorConfig = [[{
|
|
166
160
|
label: i18n_1._('Trellis Layout'),
|
|
167
161
|
option: 'splitByLayout',
|
|
@@ -259,60 +253,37 @@ exports.TrellisBackgroundColorEditor = {
|
|
|
259
253
|
|
|
260
254
|
|
|
261
255
|
var _slicedToArray = __webpack_require__(17);
|
|
262
|
-
|
|
263
256
|
var __rest = this && this.__rest || function (s, e) {
|
|
264
257
|
var t = {};
|
|
265
|
-
|
|
266
258
|
for (var p in s) {
|
|
267
259
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
268
260
|
}
|
|
269
|
-
|
|
270
261
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
271
262
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
272
263
|
}
|
|
273
264
|
return t;
|
|
274
265
|
};
|
|
275
|
-
|
|
276
266
|
Object.defineProperty(exports, "__esModule", {
|
|
277
267
|
value: true
|
|
278
268
|
});
|
|
279
|
-
|
|
280
269
|
var React = __webpack_require__(0);
|
|
281
|
-
|
|
282
270
|
var react_1 = __webpack_require__(0);
|
|
283
|
-
|
|
284
271
|
var lodash_1 = __webpack_require__(3);
|
|
285
|
-
|
|
286
272
|
var styled_components_1 = __webpack_require__(4);
|
|
287
|
-
|
|
288
273
|
var Paginator_1 = __webpack_require__(87);
|
|
289
|
-
|
|
290
274
|
var i18n_1 = __webpack_require__(2);
|
|
291
|
-
|
|
292
275
|
var themes_1 = __webpack_require__(59);
|
|
293
|
-
|
|
294
276
|
var useSplunkTheme_1 = __webpack_require__(57);
|
|
295
|
-
|
|
296
277
|
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
297
|
-
|
|
298
278
|
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
299
|
-
|
|
300
279
|
var style_1 = __webpack_require__(14);
|
|
301
|
-
|
|
302
280
|
var Message_1 = __webpack_require__(9);
|
|
303
|
-
|
|
304
281
|
var trellisUtils_1 = __webpack_require__(76);
|
|
305
|
-
|
|
306
282
|
var hocUtils_1 = __webpack_require__(26);
|
|
307
|
-
|
|
308
283
|
var JSONSchemaUtils_1 = __webpack_require__(27);
|
|
309
|
-
|
|
310
284
|
var Options_1 = __webpack_require__(29);
|
|
311
|
-
|
|
312
285
|
var trellisUtils_2 = __webpack_require__(103);
|
|
313
|
-
|
|
314
286
|
var layoutUtils_1 = __webpack_require__(58);
|
|
315
|
-
|
|
316
287
|
var TrellisContainer = styled_components_1.default.div.withConfig({
|
|
317
288
|
displayName: "withTrellis__TrellisContainer",
|
|
318
289
|
componentId: "pjmeig-0"
|
|
@@ -333,7 +304,6 @@ var TrellisContainerGrid = styled_components_1.default.div.withConfig({
|
|
|
333
304
|
}, function (props) {
|
|
334
305
|
return "".concat(props.rowHeight, "px");
|
|
335
306
|
});
|
|
336
|
-
|
|
337
307
|
var showErrorMessage = function showErrorMessage(errorCode, width, height) {
|
|
338
308
|
if (errorCode === 'INVALID_SPLIT_BY_FIELD') {
|
|
339
309
|
return React.createElement(Message_1.default, {
|
|
@@ -343,7 +313,6 @@ var showErrorMessage = function showErrorMessage(errorCode, width, height) {
|
|
|
343
313
|
level: "info"
|
|
344
314
|
});
|
|
345
315
|
}
|
|
346
|
-
|
|
347
316
|
if (errorCode === 'UNKNOWN_DATA_SPLIT_MODE') {
|
|
348
317
|
return React.createElement(Message_1.default, {
|
|
349
318
|
width: width,
|
|
@@ -352,7 +321,6 @@ var showErrorMessage = function showErrorMessage(errorCode, width, height) {
|
|
|
352
321
|
level: "info"
|
|
353
322
|
});
|
|
354
323
|
}
|
|
355
|
-
|
|
356
324
|
return React.createElement(Message_1.default, {
|
|
357
325
|
width: width,
|
|
358
326
|
height: height,
|
|
@@ -360,38 +328,33 @@ var showErrorMessage = function showErrorMessage(errorCode, width, height) {
|
|
|
360
328
|
level: "info"
|
|
361
329
|
});
|
|
362
330
|
};
|
|
363
|
-
|
|
364
331
|
var withTrellis = function withTrellis(Viz) {
|
|
365
332
|
var VizWithTrellis = function VizWithTrellis(opts) {
|
|
366
333
|
var _opts$options = opts.options,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
334
|
+
options = _opts$options === void 0 ? {} : _opts$options,
|
|
335
|
+
height = opts.height,
|
|
336
|
+
width = opts.width,
|
|
337
|
+
otherProps = __rest(opts, ["options", "height", "width"]);
|
|
372
338
|
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(Viz.config.optionsSchema, 'default');
|
|
373
339
|
var mergedOptions = hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions);
|
|
374
340
|
var trellisColumns = mergedOptions.trellisColumns,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
341
|
+
trellisPageCount = mergedOptions.trellisPageCount,
|
|
342
|
+
trellisMinColumnWidth = mergedOptions.trellisMinColumnWidth,
|
|
343
|
+
trellisRowHeight = mergedOptions.trellisRowHeight,
|
|
344
|
+
splitByLayout = mergedOptions.splitByLayout,
|
|
345
|
+
trellisSplitBy = mergedOptions.trellisSplitBy;
|
|
380
346
|
var colCount = trellisColumns > 0 ? trellisColumns : defaultOptions.trellisColumns;
|
|
381
347
|
var pageCount = +trellisPageCount > 0 ? +trellisPageCount : defaultOptions.trellisPageCount;
|
|
382
348
|
var colMinWidth = trellisMinColumnWidth > 0 ? trellisMinColumnWidth : defaultOptions.trellisMinColumnWidth;
|
|
383
349
|
var rowHeight = trellisRowHeight > 0 ? trellisRowHeight : defaultOptions.trellisRowHeight;
|
|
384
|
-
|
|
385
350
|
var _react_1$useState = react_1.useState(1),
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
351
|
+
_react_1$useState2 = _slicedToArray(_react_1$useState, 2),
|
|
352
|
+
pageNum = _react_1$useState2[0],
|
|
353
|
+
setPageNum = _react_1$useState2[1];
|
|
390
354
|
var _react_1$useState3 = react_1.useState(null),
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
355
|
+
_react_1$useState4 = _slicedToArray(_react_1$useState3, 2),
|
|
356
|
+
pagedData = _react_1$useState4[0],
|
|
357
|
+
setPagedData = _react_1$useState4[1];
|
|
395
358
|
var splitByKeys = [];
|
|
396
359
|
var totalPages = 0;
|
|
397
360
|
var showPaginator = false;
|
|
@@ -399,25 +362,21 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
399
362
|
var theme = {
|
|
400
363
|
splunkThemeV1: useSplunkTheme_1.default()
|
|
401
364
|
};
|
|
402
|
-
|
|
403
365
|
var _themes_1$getSettings = themes_1.getSettingsFromThemedProps({
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
366
|
+
theme: theme
|
|
367
|
+
}),
|
|
368
|
+
currentThemeFamily = _themes_1$getSettings.family,
|
|
369
|
+
currentThemeColorScheme = _themes_1$getSettings.colorScheme,
|
|
370
|
+
currentThemeDensity = _themes_1$getSettings.density;
|
|
410
371
|
var trellisBackgroundColor = react_1.useMemo(function () {
|
|
411
372
|
var themeFunc = function themeFunc(themeVar) {
|
|
412
373
|
var _a, _b;
|
|
413
|
-
|
|
414
374
|
return (_b = (_a = Viz.config.themes)[themeVar]) === null || _b === void 0 ? void 0 : _b.call(_a, {
|
|
415
375
|
trellisBackgroundColor: mergedOptions.trellisBackgroundColor,
|
|
416
376
|
theme: theme
|
|
417
377
|
});
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
|
|
378
|
+
};
|
|
379
|
+
// trellisBackgroundColor option supports only static coloring and DSL option evaluation derived from the themes level only.
|
|
421
380
|
var evaluated = Options_1.Options.evaluate({
|
|
422
381
|
context: Viz.config.context,
|
|
423
382
|
options: {
|
|
@@ -430,7 +389,6 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
430
389
|
var fields = lodash_1.get(dataSources, 'primary.data.fields', undefined);
|
|
431
390
|
var noColumns = columns === undefined;
|
|
432
391
|
var noFields = fields === undefined;
|
|
433
|
-
|
|
434
392
|
var updateDataDisplay = function updateDataDisplay(currPage) {
|
|
435
393
|
if (!showPaginator) {
|
|
436
394
|
setPagedData(splitByKeys);
|
|
@@ -441,7 +399,6 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
441
399
|
setPagedData(paged);
|
|
442
400
|
}
|
|
443
401
|
};
|
|
444
|
-
|
|
445
402
|
react_1.useEffect(function () {
|
|
446
403
|
setPageNum(1);
|
|
447
404
|
updateDataDisplay(1);
|
|
@@ -455,11 +412,9 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
455
412
|
}, [pageNum, pagedData]);
|
|
456
413
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
457
414
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
458
|
-
|
|
459
415
|
if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !== layoutUtils_1.LAYOUT_TYPE.Trellis) {
|
|
460
416
|
return React.createElement(Viz, Object.assign({}, opts));
|
|
461
417
|
}
|
|
462
|
-
|
|
463
418
|
if (splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis) {
|
|
464
419
|
if (noColumns || noFields) {
|
|
465
420
|
return React.createElement(Message_1.default, {
|
|
@@ -468,34 +423,27 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
468
423
|
message: i18n_1._('Loading'),
|
|
469
424
|
level: "info"
|
|
470
425
|
});
|
|
471
|
-
}
|
|
426
|
+
}
|
|
427
|
+
// If no trellisSplitBy value is passed in, assign default trellisSplitBy
|
|
472
428
|
// The default value will be the first value in the individual splitBy field list or 'aggregations'
|
|
473
|
-
|
|
474
|
-
|
|
475
429
|
var currTrellisSplitBy = trellisSplitBy;
|
|
476
|
-
|
|
477
430
|
if (!trellisSplitBy || trellisSplitBy.length === 0) {
|
|
478
431
|
var splitByPossibleFields = trellisUtils_1.getAllPossibleSplitByFields(fields);
|
|
479
432
|
currTrellisSplitBy = splitByPossibleFields.fields && splitByPossibleFields.fields.length ? splitByPossibleFields.fields[0] : trellisUtils_2.AGGREGATIONS;
|
|
480
433
|
}
|
|
481
|
-
|
|
482
434
|
var splitMode = trellisUtils_1.getTrellisDataSplitterMode(fields);
|
|
483
435
|
var dataSplitResult = trellisUtils_2.getTrellisDataSourcesBySplitMode(splitMode, dataSources, currTrellisSplitBy);
|
|
484
436
|
var modifiedDataSourceBySplitBy = dataSplitResult === null || dataSplitResult === void 0 ? void 0 : dataSplitResult.splitDataSources;
|
|
485
437
|
var dataSplitErrorCode = dataSplitResult === null || dataSplitResult === void 0 ? void 0 : dataSplitResult.errorCode;
|
|
486
|
-
|
|
487
438
|
if (!modifiedDataSourceBySplitBy || Object.keys(modifiedDataSourceBySplitBy).length === 0 || dataSplitErrorCode) {
|
|
488
439
|
return showErrorMessage(dataSplitErrorCode, width, height);
|
|
489
440
|
}
|
|
490
|
-
|
|
491
441
|
var splitByKeysModified = modifiedDataSourceBySplitBy ? Object.keys(modifiedDataSourceBySplitBy) : [];
|
|
492
|
-
|
|
493
442
|
if (splitByKeysModified) {
|
|
494
443
|
showPaginator = splitByKeysModified.length > pageCount;
|
|
495
444
|
splitByKeys = splitByKeysModified;
|
|
496
445
|
totalPages = splitByKeysModified ? Math.ceil(splitByKeysModified.length / pageCount) : 0;
|
|
497
446
|
}
|
|
498
|
-
|
|
499
447
|
return React.createElement(TrellisContainer, {
|
|
500
448
|
height: height,
|
|
501
449
|
width: width,
|
|
@@ -512,8 +460,8 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
512
460
|
key: "div-child-".concat(idx.toString())
|
|
513
461
|
}, React.createElement(SizeAwareWrapper_1.default, null, function (_ref2) {
|
|
514
462
|
var childWidth = _ref2.childWidth,
|
|
515
|
-
|
|
516
|
-
|
|
463
|
+
_ref2$childHeight = _ref2.childHeight,
|
|
464
|
+
childHeight = _ref2$childHeight === void 0 ? rowHeight : _ref2$childHeight;
|
|
517
465
|
return React.createElement(Viz, Object.assign({}, otherProps, {
|
|
518
466
|
trellisKey: splitByKey,
|
|
519
467
|
trellisSplitBy: currTrellisSplitBy,
|
|
@@ -531,16 +479,13 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
531
479
|
totalPages: totalPages
|
|
532
480
|
}));
|
|
533
481
|
}
|
|
534
|
-
|
|
535
482
|
return null;
|
|
536
483
|
};
|
|
537
|
-
|
|
538
484
|
VizWithTrellis.propTypes = Viz.proptypes;
|
|
539
485
|
VizWithTrellis.defaultProps = Viz.defaultProps;
|
|
540
486
|
VizWithTrellis.config = Viz.config;
|
|
541
487
|
return VizWithTrellis;
|
|
542
488
|
};
|
|
543
|
-
|
|
544
489
|
exports.default = withTrellis;
|
|
545
490
|
|
|
546
491
|
/***/ }),
|
|
@@ -552,16 +497,12 @@ exports.default = withTrellis;
|
|
|
552
497
|
|
|
553
498
|
|
|
554
499
|
var _toConsumableArray = __webpack_require__(7);
|
|
555
|
-
|
|
556
500
|
Object.defineProperty(exports, "__esModule", {
|
|
557
501
|
value: true
|
|
558
502
|
});
|
|
559
503
|
exports.getTrellisDataSourcesBySplitMode = exports.dataSourcesSplitByModeStatsorUnknown = exports.dataSourcesSplitByModeChart = exports.dataSourcesSplitByModeTimechart = exports.dataSourcesSplitByAggregationsStats = exports.dataSourcesSplitByAggregationsTimechartAndChart = exports.dataSourcesSplitByAggregationsUnknown = exports.AGGREGATIONS = void 0;
|
|
560
|
-
|
|
561
504
|
var lodash_1 = __webpack_require__(3);
|
|
562
|
-
|
|
563
505
|
var trellisUtils_1 = __webpack_require__(76);
|
|
564
|
-
|
|
565
506
|
exports.AGGREGATIONS = 'aggregations';
|
|
566
507
|
/**
|
|
567
508
|
* There can be certain SPL cmds that can produce dataSource without a specific field meta info (like group_by_rank, split_by_field etc),
|
|
@@ -571,21 +512,16 @@ exports.AGGREGATIONS = 'aggregations';
|
|
|
571
512
|
* Example3:- `index = "_internal" | stats count`
|
|
572
513
|
* Example4:- `index=_internal | stats avg(count), max(count)`
|
|
573
514
|
*/
|
|
574
|
-
|
|
575
515
|
var dataSourcesSplitByAggregationsUnknown = function dataSourcesSplitByAggregationsUnknown(dataSource) {
|
|
576
516
|
var _a, _b, _c, _d;
|
|
577
|
-
|
|
578
517
|
var fields = (_b = (_a = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fields;
|
|
579
518
|
var columns = (_d = (_c = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.columns;
|
|
580
519
|
var splitDataSources = null;
|
|
581
520
|
var errorCode = null;
|
|
582
|
-
|
|
583
521
|
if (fields && fields.length) {
|
|
584
522
|
splitDataSources = {};
|
|
585
|
-
|
|
586
523
|
for (var i = 0; i < fields.length; i += 1) {
|
|
587
524
|
var fieldName = fields[i].name;
|
|
588
|
-
|
|
589
525
|
if (!(fieldName === null || fieldName === void 0 ? void 0 : fieldName.startsWith('_'))) {
|
|
590
526
|
splitDataSources[fieldName] = lodash_1.cloneDeep(lodash_1.omit(dataSource, ['primary.data.fields', 'primary.data.columns']));
|
|
591
527
|
splitDataSources[fieldName].primary.data.fields = [fields[i]];
|
|
@@ -595,28 +531,22 @@ var dataSourcesSplitByAggregationsUnknown = function dataSourcesSplitByAggregati
|
|
|
595
531
|
} else {
|
|
596
532
|
errorCode = 'INVALID_SPLIT_BY_FIELD';
|
|
597
533
|
}
|
|
598
|
-
|
|
599
534
|
return {
|
|
600
535
|
splitDataSources: splitDataSources,
|
|
601
536
|
errorCode: errorCode
|
|
602
537
|
};
|
|
603
538
|
};
|
|
604
|
-
|
|
605
539
|
exports.dataSourcesSplitByAggregationsUnknown = dataSourcesSplitByAggregationsUnknown;
|
|
606
|
-
|
|
607
540
|
var dataSourcesSplitByAggregationsTimechartAndChart = function dataSourcesSplitByAggregationsTimechartAndChart(dataSource) {
|
|
608
541
|
var _a, _b, _c, _d;
|
|
609
|
-
|
|
610
542
|
var fields = (_b = (_a = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fields;
|
|
611
543
|
var columns = (_d = (_c = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.columns;
|
|
612
544
|
var splitDataSources = null;
|
|
613
545
|
var splitByFields = [];
|
|
614
546
|
var errorCode = null;
|
|
615
|
-
|
|
616
547
|
if (typeof fields[0] !== 'string') {
|
|
617
548
|
splitByFields = trellisUtils_1.extractDataSourceAggregationKeysChart(fields);
|
|
618
549
|
}
|
|
619
|
-
|
|
620
550
|
if (splitByFields && splitByFields.length > 0) {
|
|
621
551
|
splitDataSources = {};
|
|
622
552
|
splitByFields.forEach(function (splitByField) {
|
|
@@ -625,7 +555,6 @@ var dataSourcesSplitByAggregationsTimechartAndChart = function dataSourcesSplitB
|
|
|
625
555
|
splitDataSources[splitByField].primary.data.columns = [columns[0]];
|
|
626
556
|
fields.forEach(function (field, idx) {
|
|
627
557
|
var fieldName = field === null || field === void 0 ? void 0 : field.name;
|
|
628
|
-
|
|
629
558
|
if (fieldName !== '_time' && !(fieldName === null || fieldName === void 0 ? void 0 : fieldName.startsWith('_')) && field.data_source === splitByField) {
|
|
630
559
|
splitDataSources[splitByField].primary.data.fields.push(field);
|
|
631
560
|
splitDataSources[splitByField].primary.data.columns.push(columns[idx]);
|
|
@@ -637,10 +566,8 @@ var dataSourcesSplitByAggregationsTimechartAndChart = function dataSourcesSplitB
|
|
|
637
566
|
// example1 :- index=_internal | timechart count
|
|
638
567
|
// example2 :- index=_internal | timechart max(count) avg(count)
|
|
639
568
|
splitDataSources = {};
|
|
640
|
-
|
|
641
569
|
for (var i = 1; i < fields.length; i += 1) {
|
|
642
570
|
var fieldName = fields[i].name;
|
|
643
|
-
|
|
644
571
|
if (!(fieldName === null || fieldName === void 0 ? void 0 : fieldName.startsWith('_'))) {
|
|
645
572
|
splitDataSources[fieldName] = lodash_1.cloneDeep(lodash_1.omit(dataSource, ['primary.data.fields', 'primary.data.columns']));
|
|
646
573
|
splitDataSources[fieldName].primary.data.fields = [fields[0], fields[i]];
|
|
@@ -650,28 +577,22 @@ var dataSourcesSplitByAggregationsTimechartAndChart = function dataSourcesSplitB
|
|
|
650
577
|
} else {
|
|
651
578
|
errorCode = 'INVALID_SPLIT_BY_FIELD';
|
|
652
579
|
}
|
|
653
|
-
|
|
654
580
|
return {
|
|
655
581
|
splitDataSources: splitDataSources,
|
|
656
582
|
errorCode: errorCode
|
|
657
583
|
};
|
|
658
584
|
};
|
|
659
|
-
|
|
660
585
|
exports.dataSourcesSplitByAggregationsTimechartAndChart = dataSourcesSplitByAggregationsTimechartAndChart;
|
|
661
|
-
|
|
662
586
|
var dataSourcesSplitByAggregationsStats = function dataSourcesSplitByAggregationsStats(dataSource) {
|
|
663
587
|
var _a, _b, _c, _d;
|
|
664
|
-
|
|
665
588
|
var fields = (_b = (_a = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fields;
|
|
666
589
|
var columns = (_d = (_c = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.columns;
|
|
667
590
|
var splitDataSources = null;
|
|
668
591
|
var splitByFields = [];
|
|
669
592
|
var errorCode = null;
|
|
670
|
-
|
|
671
593
|
if (typeof fields[0] !== 'string') {
|
|
672
594
|
splitByFields = trellisUtils_1.extractDataSourceAggregationKeysStats(fields);
|
|
673
595
|
}
|
|
674
|
-
|
|
675
596
|
if (splitByFields && splitByFields.length > 0) {
|
|
676
597
|
splitDataSources = {};
|
|
677
598
|
splitByFields.forEach(function (splitByField) {
|
|
@@ -681,7 +602,6 @@ var dataSourcesSplitByAggregationsStats = function dataSourcesSplitByAggregation
|
|
|
681
602
|
var idx = fields.findIndex(function (field) {
|
|
682
603
|
return field.name === splitByField;
|
|
683
604
|
});
|
|
684
|
-
|
|
685
605
|
if (idx > 0) {
|
|
686
606
|
splitDataSources[splitByField].primary.data.fields.push(fields[idx]);
|
|
687
607
|
splitDataSources[splitByField].primary.data.columns.push(columns[idx]);
|
|
@@ -690,40 +610,32 @@ var dataSourcesSplitByAggregationsStats = function dataSourcesSplitByAggregation
|
|
|
690
610
|
} else {
|
|
691
611
|
errorCode = 'INVALID_SPLIT_BY_FIELD';
|
|
692
612
|
}
|
|
693
|
-
|
|
694
613
|
return {
|
|
695
614
|
splitDataSources: splitDataSources,
|
|
696
615
|
errorCode: errorCode
|
|
697
616
|
};
|
|
698
617
|
};
|
|
699
|
-
|
|
700
618
|
exports.dataSourcesSplitByAggregationsStats = dataSourcesSplitByAggregationsStats;
|
|
701
|
-
|
|
702
619
|
var dataSourcesSplitByModeTimechart = function dataSourcesSplitByModeTimechart(dataSource, splitBy) {
|
|
703
620
|
var _a, _b, _c, _d, _e;
|
|
704
|
-
|
|
705
621
|
var fields = (_b = (_a = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fields;
|
|
706
622
|
var columns = (_d = (_c = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.columns;
|
|
707
623
|
var splitDataSources = null;
|
|
708
624
|
var splitByFields = [];
|
|
709
625
|
var errorCode = null;
|
|
710
|
-
|
|
711
626
|
if (typeof fields[0] !== 'string') {
|
|
712
627
|
splitByFields = trellisUtils_1.extractSplitByFieldsChartFields(fields);
|
|
713
628
|
}
|
|
714
|
-
|
|
715
629
|
if (splitByFields && splitByFields.indexOf(splitBy) > -1) {
|
|
716
630
|
splitDataSources = {};
|
|
717
631
|
var dataSourceKeys = trellisUtils_1.extractDataSourceAggregationKeysChart(fields);
|
|
718
632
|
var valueKeys = [];
|
|
719
|
-
|
|
720
633
|
for (var i = 1; i < fields.length; i += 1) {
|
|
721
634
|
// not including internal fields
|
|
722
635
|
if (!((_e = fields[i].name) === null || _e === void 0 ? void 0 : _e.startsWith('_'))) {
|
|
723
636
|
valueKeys.push(fields[i].splitby_value ? fields[i].splitby_value : fields[i].name);
|
|
724
637
|
}
|
|
725
638
|
}
|
|
726
|
-
|
|
727
639
|
valueKeys.forEach(function (val) {
|
|
728
640
|
splitDataSources[val] = lodash_1.cloneDeep(lodash_1.omit(dataSource, ['primary.data.fields', 'primary.data.columns']));
|
|
729
641
|
splitDataSources[val].primary.data.fields = [{
|
|
@@ -745,28 +657,22 @@ var dataSourcesSplitByModeTimechart = function dataSourcesSplitByModeTimechart(d
|
|
|
745
657
|
} else {
|
|
746
658
|
errorCode = 'INVALID_SPLIT_BY_FIELD';
|
|
747
659
|
}
|
|
748
|
-
|
|
749
660
|
return {
|
|
750
661
|
splitDataSources: splitDataSources,
|
|
751
662
|
errorCode: errorCode
|
|
752
663
|
};
|
|
753
664
|
};
|
|
754
|
-
|
|
755
665
|
exports.dataSourcesSplitByModeTimechart = dataSourcesSplitByModeTimechart;
|
|
756
|
-
|
|
757
666
|
var dataSourcesSplitByModeChart = function dataSourcesSplitByModeChart(dataSource, splitBy) {
|
|
758
667
|
var _a, _b, _c, _d;
|
|
759
|
-
|
|
760
668
|
var fields = (_b = (_a = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fields;
|
|
761
669
|
var columns = (_d = (_c = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.columns;
|
|
762
670
|
var splitDataSources = null;
|
|
763
671
|
var splitByFields = [];
|
|
764
672
|
var errorCode = null;
|
|
765
|
-
|
|
766
673
|
if (typeof fields[0] !== 'string') {
|
|
767
674
|
splitByFields = trellisUtils_1.extractSplitByFieldsChartFields(fields);
|
|
768
675
|
}
|
|
769
|
-
|
|
770
676
|
if (splitByFields && splitByFields.indexOf(splitBy) > -1) {
|
|
771
677
|
splitDataSources = {};
|
|
772
678
|
var splitByFieldIdx = splitByFields.findIndex(function (f) {
|
|
@@ -777,7 +683,6 @@ var dataSourcesSplitByModeChart = function dataSourcesSplitByModeChart(dataSourc
|
|
|
777
683
|
});
|
|
778
684
|
var dataSourceKeys = trellisUtils_1.extractDataSourceAggregationKeysChart(fields);
|
|
779
685
|
var nonDataSourceAggregations = [];
|
|
780
|
-
|
|
781
686
|
if (!dataSourceKeys.length && fields[0].groupby_rank === '0' && fields.length && !fields[1].groupby_rank) {
|
|
782
687
|
/* check for another aggregation scenario where no key 'data_source' will be returned (applies for both chart and stats cmd)
|
|
783
688
|
For example :-
|
|
@@ -802,14 +707,12 @@ var dataSourcesSplitByModeChart = function dataSourcesSplitByModeChart(dataSourc
|
|
|
802
707
|
nonDataSourceAggregations.push(fields[i].name);
|
|
803
708
|
}
|
|
804
709
|
}
|
|
805
|
-
|
|
806
710
|
if (splitByFieldIdx === 0) {
|
|
807
711
|
// if splitBy is the first field, split row wise
|
|
808
712
|
var valueKeys = lodash_1.cloneDeep(columns[0]);
|
|
809
713
|
valueKeys.forEach(function (val, idx) {
|
|
810
714
|
splitDataSources[val] = lodash_1.cloneDeep(lodash_1.omit(dataSource, ['primary.data.fields', 'primary.data.columns']));
|
|
811
715
|
splitDataSources[val].primary.data.fields = [];
|
|
812
|
-
|
|
813
716
|
if (otherSplitBy.length) {
|
|
814
717
|
splitDataSources[val].primary.data.fields = [{
|
|
815
718
|
name: otherSplitBy[0]
|
|
@@ -881,20 +784,16 @@ var dataSourcesSplitByModeChart = function dataSourcesSplitByModeChart(dataSourc
|
|
|
881
784
|
columnValues[1] = ['1','10','100']
|
|
882
785
|
columnValues[2] = ['5', '50', '500']
|
|
883
786
|
*/
|
|
884
|
-
|
|
885
787
|
var _loop = function _loop(_i) {
|
|
886
788
|
columnValues[0].push(fields[_i].splitby_value ? fields[_i].splitby_value : fields[_i].name);
|
|
887
789
|
dataSourceKeys.forEach(function (dskey, dsIndx) {
|
|
888
790
|
var mul = (fields.length - 1) / dataSourceKeys.length; // This line does the index calculation
|
|
889
|
-
|
|
890
791
|
columnValues[dsIndx + 1].push(columns[_i + dsIndx * mul][idx]);
|
|
891
792
|
});
|
|
892
793
|
};
|
|
893
|
-
|
|
894
794
|
for (var _i = 1; _i <= Math.ceil((fields.length - 1) / dataSourceKeys.length); _i += 1) {
|
|
895
795
|
_loop(_i);
|
|
896
796
|
}
|
|
897
|
-
|
|
898
797
|
splitDataSources[val].primary.data.columns = columnValues;
|
|
899
798
|
})();
|
|
900
799
|
} else if (nonDataSourceAggregations.length) {
|
|
@@ -916,11 +815,9 @@ var dataSourcesSplitByModeChart = function dataSourcesSplitByModeChart(dataSourc
|
|
|
916
815
|
} else {
|
|
917
816
|
// split column wise
|
|
918
817
|
var _valueKeys = [];
|
|
919
|
-
|
|
920
818
|
for (var _i2 = 1; _i2 < fields.length; _i2 += 1) {
|
|
921
819
|
_valueKeys.push(fields[_i2].splitby_value ? fields[_i2].splitby_value : fields[_i2].name);
|
|
922
820
|
}
|
|
923
|
-
|
|
924
821
|
_valueKeys.forEach(function (val) {
|
|
925
822
|
splitDataSources[val] = lodash_1.cloneDeep(lodash_1.omit(dataSource, ['primary.data.fields', 'primary.data.columns']));
|
|
926
823
|
splitDataSources[val].primary.data.fields = [{
|
|
@@ -943,36 +840,29 @@ var dataSourcesSplitByModeChart = function dataSourcesSplitByModeChart(dataSourc
|
|
|
943
840
|
} else {
|
|
944
841
|
errorCode = 'INVALID_SPLIT_BY_FIELD';
|
|
945
842
|
}
|
|
946
|
-
|
|
947
843
|
return {
|
|
948
844
|
splitDataSources: splitDataSources,
|
|
949
845
|
errorCode: errorCode
|
|
950
846
|
};
|
|
951
847
|
};
|
|
952
|
-
|
|
953
848
|
exports.dataSourcesSplitByModeChart = dataSourcesSplitByModeChart;
|
|
954
849
|
/**
|
|
955
850
|
* This method does datasplitting for 'stats' and generic cmds('makeresults','table' etc - categoried as 'unknown' splitMode).
|
|
956
851
|
* The main difference is for 'stats' cmd possible splitBy fields have 'group_by_rank' in field meta info, whereas for 'unknown' cmd it can be any fieldnames
|
|
957
852
|
*/
|
|
958
|
-
|
|
959
853
|
var dataSourcesSplitByModeStatsorUnknown = function dataSourcesSplitByModeStatsorUnknown(dataSource, splitBy, splitMode) {
|
|
960
854
|
var _a, _b, _c, _d, _e, _f;
|
|
961
|
-
|
|
962
855
|
var fields = (_b = (_a = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fields;
|
|
963
856
|
var columns = (_d = (_c = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.columns;
|
|
964
857
|
var splitDataSources = null;
|
|
965
858
|
var splitByFields = [];
|
|
966
859
|
var errorCode = null;
|
|
967
|
-
|
|
968
860
|
if (typeof fields[0] !== 'string') {
|
|
969
861
|
splitByFields = splitMode !== trellisUtils_1.UNKNOWN ? trellisUtils_1.extractSplitByFieldsForStats(fields) : trellisUtils_1.extractSplitByFieldsForUnknown(fields);
|
|
970
862
|
}
|
|
971
|
-
|
|
972
863
|
var splitByIndex = fields === null || fields === void 0 ? void 0 : fields.findIndex(function (field) {
|
|
973
864
|
return field === splitBy || field.name === splitBy;
|
|
974
865
|
});
|
|
975
|
-
|
|
976
866
|
if (splitByFields && splitByFields.indexOf(splitBy) > -1) {
|
|
977
867
|
var splitByColumn = (_f = (_e = dataSource === null || dataSource === void 0 ? void 0 : dataSource.primary) === null || _e === void 0 ? void 0 : _e.data) === null || _f === void 0 ? void 0 : _f.columns[splitByIndex];
|
|
978
868
|
splitDataSources = {};
|
|
@@ -1003,18 +893,14 @@ var dataSourcesSplitByModeStatsorUnknown = function dataSourcesSplitByModeStatso
|
|
|
1003
893
|
} else {
|
|
1004
894
|
errorCode = 'INVALID_SPLIT_BY_FIELD';
|
|
1005
895
|
}
|
|
1006
|
-
|
|
1007
896
|
return {
|
|
1008
897
|
splitDataSources: splitDataSources,
|
|
1009
898
|
errorCode: errorCode
|
|
1010
899
|
};
|
|
1011
900
|
};
|
|
1012
|
-
|
|
1013
901
|
exports.dataSourcesSplitByModeStatsorUnknown = dataSourcesSplitByModeStatsorUnknown;
|
|
1014
|
-
|
|
1015
902
|
var getTrellisDataSourcesBySplitMode = function getTrellisDataSourcesBySplitMode(splitMode, dataSources, trellisSplitBy) {
|
|
1016
903
|
var result = null;
|
|
1017
|
-
|
|
1018
904
|
try {
|
|
1019
905
|
if (splitMode === trellisUtils_1.TIMECHART) {
|
|
1020
906
|
result = trellisSplitBy === exports.AGGREGATIONS ? exports.dataSourcesSplitByAggregationsTimechartAndChart(dataSources) : exports.dataSourcesSplitByModeTimechart(dataSources, trellisSplitBy);
|
|
@@ -1032,10 +918,8 @@ var getTrellisDataSourcesBySplitMode = function getTrellisDataSourcesBySplitMode
|
|
|
1032
918
|
errorCode: 'UNKNOWN'
|
|
1033
919
|
};
|
|
1034
920
|
}
|
|
1035
|
-
|
|
1036
921
|
return result;
|
|
1037
922
|
};
|
|
1038
|
-
|
|
1039
923
|
exports.getTrellisDataSourcesBySplitMode = getTrellisDataSourcesBySplitMode;
|
|
1040
924
|
|
|
1041
925
|
/***/ }),
|
|
@@ -1070,17 +954,11 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
|
1070
954
|
Object.defineProperty(exports, "__esModule", {
|
|
1071
955
|
value: true
|
|
1072
956
|
});
|
|
1073
|
-
|
|
1074
957
|
var React = __webpack_require__(0);
|
|
1075
|
-
|
|
1076
958
|
var styled_components_1 = __webpack_require__(4);
|
|
1077
|
-
|
|
1078
959
|
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
1079
|
-
|
|
1080
960
|
var style_1 = __webpack_require__(14);
|
|
1081
|
-
|
|
1082
961
|
var colorUtils_1 = __webpack_require__(12);
|
|
1083
|
-
|
|
1084
962
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
1085
963
|
var width = _ref.width;
|
|
1086
964
|
return {
|
|
@@ -1093,11 +971,11 @@ var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
|
1093
971
|
componentId: "sc-1yhgpod-0"
|
|
1094
972
|
})(["position:relative;background-color:", "};"], function (props) {
|
|
1095
973
|
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
1096
|
-
});
|
|
1097
|
-
|
|
974
|
+
});
|
|
975
|
+
// Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
1098
976
|
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
1099
977
|
var width = _ref2.width,
|
|
1100
|
-
|
|
978
|
+
height = _ref2.height;
|
|
1101
979
|
return {
|
|
1102
980
|
style: Object.assign(Object.assign({}, width && {
|
|
1103
981
|
width: style_1.toPx(width)
|
|
@@ -1119,13 +997,11 @@ var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
|
1119
997
|
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
1120
998
|
componentId: "sc-1yhgpod-3"
|
|
1121
999
|
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
1122
|
-
|
|
1123
1000
|
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
1124
1001
|
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
1125
1002
|
var width = props.width,
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1003
|
+
height = props.height,
|
|
1004
|
+
backgroundColor = props.backgroundColor;
|
|
1129
1005
|
if (!height) {
|
|
1130
1006
|
return React.createElement(Item, {
|
|
1131
1007
|
"data-test": "item",
|
|
@@ -1133,27 +1009,24 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
1133
1009
|
backgroundColor: backgroundColor
|
|
1134
1010
|
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
1135
1011
|
}
|
|
1136
|
-
|
|
1137
1012
|
return React.createElement(FixSizeItem, {
|
|
1138
1013
|
"data-test": "fix-size-item",
|
|
1139
|
-
"data-splunk-visualization-version": "25.
|
|
1014
|
+
"data-splunk-visualization-version": "25.8.1 - 742d5fb96",
|
|
1140
1015
|
width: width,
|
|
1141
1016
|
height: height,
|
|
1142
1017
|
backgroundColor: backgroundColor
|
|
1143
1018
|
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
1144
1019
|
var newWidth = _ref3.width,
|
|
1145
|
-
|
|
1020
|
+
newHeight = _ref3.height;
|
|
1146
1021
|
return React.createElement(Viz, Object.assign({}, props, {
|
|
1147
1022
|
width: newWidth,
|
|
1148
1023
|
height: newHeight
|
|
1149
1024
|
}));
|
|
1150
1025
|
})));
|
|
1151
1026
|
};
|
|
1152
|
-
|
|
1153
1027
|
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
1154
1028
|
return FixedSizeContainer;
|
|
1155
1029
|
};
|
|
1156
|
-
|
|
1157
1030
|
exports.default = withFixedSizeContainer;
|
|
1158
1031
|
|
|
1159
1032
|
/***/ }),
|
|
@@ -1226,10 +1099,9 @@ exports.extendStaticWrapperProps = void 0;
|
|
|
1226
1099
|
* @param {DashboardVizType} props.Wrapper
|
|
1227
1100
|
* @param {DashboardVizType} props.Visualization
|
|
1228
1101
|
*/
|
|
1229
|
-
|
|
1230
1102
|
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
1231
1103
|
var Wrapper = _ref.Wrapper,
|
|
1232
|
-
|
|
1104
|
+
Visualization = _ref.Visualization;
|
|
1233
1105
|
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
1234
1106
|
extendProperties.forEach(function (prop) {
|
|
1235
1107
|
if (Visualization[prop]) {
|
|
@@ -1238,7 +1110,6 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
|
1238
1110
|
}
|
|
1239
1111
|
});
|
|
1240
1112
|
};
|
|
1241
|
-
|
|
1242
1113
|
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
1243
1114
|
|
|
1244
1115
|
/***/ }),
|
|
@@ -1271,33 +1142,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
1271
1142
|
|
|
1272
1143
|
|
|
1273
1144
|
var _toConsumableArray = __webpack_require__(7);
|
|
1274
|
-
|
|
1275
1145
|
var _defineProperty = __webpack_require__(8);
|
|
1276
|
-
|
|
1277
1146
|
var __rest = this && this.__rest || function (s, e) {
|
|
1278
1147
|
var t = {};
|
|
1279
|
-
|
|
1280
1148
|
for (var p in s) {
|
|
1281
1149
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1282
1150
|
}
|
|
1283
|
-
|
|
1284
1151
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1285
1152
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1286
1153
|
}
|
|
1287
1154
|
return t;
|
|
1288
1155
|
};
|
|
1289
|
-
|
|
1290
1156
|
Object.defineProperty(exports, "__esModule", {
|
|
1291
1157
|
value: true
|
|
1292
1158
|
});
|
|
1293
1159
|
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
1294
|
-
|
|
1295
1160
|
var lodash_1 = __webpack_require__(3);
|
|
1296
|
-
|
|
1297
1161
|
var schemaUtils_1 = __webpack_require__(16);
|
|
1298
|
-
|
|
1299
1162
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1300
|
-
|
|
1301
1163
|
var dynamicOptionsDSLType = {
|
|
1302
1164
|
type: 'string',
|
|
1303
1165
|
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
@@ -1307,22 +1169,20 @@ var dynamicOptionsDSLType = {
|
|
|
1307
1169
|
* @param optionsSchema a visualization's options schema
|
|
1308
1170
|
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
1309
1171
|
*/
|
|
1310
|
-
|
|
1311
1172
|
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
1312
1173
|
var enhancedOptionsSchema = {};
|
|
1313
1174
|
Object.keys(optionsSchema).forEach(function (key) {
|
|
1314
1175
|
var _a = optionsSchema[key],
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1176
|
+
title = _a.title,
|
|
1177
|
+
description = _a.description,
|
|
1178
|
+
readOnly = _a.readOnly,
|
|
1179
|
+
writeOnly = _a.writeOnly,
|
|
1180
|
+
examples = _a.examples,
|
|
1181
|
+
defaultValue = _a.default,
|
|
1182
|
+
type = _a.type,
|
|
1183
|
+
properties = _a.properties,
|
|
1184
|
+
patternProperties = _a.patternProperties,
|
|
1185
|
+
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
1326
1186
|
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1327
1187
|
title: title
|
|
1328
1188
|
}), description !== undefined && {
|
|
@@ -1336,14 +1196,12 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
|
1336
1196
|
}), defaultValue !== undefined && {
|
|
1337
1197
|
default: defaultValue
|
|
1338
1198
|
});
|
|
1339
|
-
|
|
1340
1199
|
if (type === 'object') {
|
|
1341
1200
|
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1342
1201
|
type: type
|
|
1343
1202
|
}), properties && {
|
|
1344
1203
|
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1345
1204
|
});
|
|
1346
|
-
|
|
1347
1205
|
if (patternProperties) {
|
|
1348
1206
|
var enhancedPatternProperties = {};
|
|
1349
1207
|
Object.keys(patternProperties).forEach(function (opt) {
|
|
@@ -1361,7 +1219,6 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
|
1361
1219
|
});
|
|
1362
1220
|
return enhancedOptionsSchema;
|
|
1363
1221
|
}
|
|
1364
|
-
|
|
1365
1222
|
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
1366
1223
|
/**
|
|
1367
1224
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
@@ -1370,14 +1227,11 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1370
1227
|
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
1371
1228
|
* and containing `open: false` for all editor panels in editorConfig
|
|
1372
1229
|
*/
|
|
1373
|
-
|
|
1374
1230
|
function enhanceConfig(vizConfig) {
|
|
1375
1231
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1376
|
-
|
|
1377
1232
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1378
1233
|
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1379
1234
|
}
|
|
1380
|
-
|
|
1381
1235
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1382
1236
|
return Object.assign(Object.assign({}, config), {
|
|
1383
1237
|
open: config.open || false
|
|
@@ -1385,7 +1239,6 @@ function enhanceConfig(vizConfig) {
|
|
|
1385
1239
|
});
|
|
1386
1240
|
return enhancedConfig;
|
|
1387
1241
|
}
|
|
1388
|
-
|
|
1389
1242
|
exports.enhanceConfig = enhanceConfig;
|
|
1390
1243
|
/**
|
|
1391
1244
|
* Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
|
|
@@ -1393,7 +1246,6 @@ exports.enhanceConfig = enhanceConfig;
|
|
|
1393
1246
|
* @param vizConfig a Visualization Config
|
|
1394
1247
|
* @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
|
|
1395
1248
|
*/
|
|
1396
|
-
|
|
1397
1249
|
function uncollapseEditorConfig(vizConfig) {
|
|
1398
1250
|
var editorPanelUncollapsedConfig = Object.assign({}, vizConfig);
|
|
1399
1251
|
editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
@@ -1403,16 +1255,13 @@ function uncollapseEditorConfig(vizConfig) {
|
|
|
1403
1255
|
});
|
|
1404
1256
|
return editorPanelUncollapsedConfig;
|
|
1405
1257
|
}
|
|
1406
|
-
|
|
1407
1258
|
exports.uncollapseEditorConfig = uncollapseEditorConfig;
|
|
1408
|
-
|
|
1409
1259
|
function isDynamicOption(option) {
|
|
1410
1260
|
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
1411
1261
|
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1262
|
+
exports.isDynamicOption = isDynamicOption;
|
|
1263
|
+
// private helpers to improve readability of getInitialPreset
|
|
1414
1264
|
// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset
|
|
1415
|
-
|
|
1416
1265
|
/**
|
|
1417
1266
|
* this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset
|
|
1418
1267
|
* if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset
|
|
@@ -1421,7 +1270,6 @@ exports.isDynamicOption = isDynamicOption; // private helpers to improve readabi
|
|
|
1421
1270
|
*
|
|
1422
1271
|
* Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values
|
|
1423
1272
|
*/
|
|
1424
|
-
|
|
1425
1273
|
function hasCompatibleContexts(vizContext, presetContext) {
|
|
1426
1274
|
var presetContextKeys = Object.keys(presetContext);
|
|
1427
1275
|
return presetContextKeys.every(function (contextKey) {
|
|
@@ -1431,8 +1279,6 @@ function hasCompatibleContexts(vizContext, presetContext) {
|
|
|
1431
1279
|
/**
|
|
1432
1280
|
* Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions
|
|
1433
1281
|
*/
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
1282
|
function hasCompatibleOptions(vizOptions, presetOptions) {
|
|
1437
1283
|
var presetOptionKeys = Object.keys(presetOptions);
|
|
1438
1284
|
return presetOptionKeys.every(function (optionKey) {
|
|
@@ -1447,21 +1293,18 @@ function hasCompatibleOptions(vizOptions, presetOptions) {
|
|
|
1447
1293
|
* @param {Object} vizOptions - the current vizOptions definition
|
|
1448
1294
|
* @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset
|
|
1449
1295
|
*/
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
1296
|
function getInitialPreset(vizContext, vizOptions, presets) {
|
|
1453
1297
|
return presets.find(function (preset) {
|
|
1454
1298
|
var presetContext = lodash_1.get(preset, ['value', 'context'], {});
|
|
1455
1299
|
var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
|
|
1456
1300
|
var presetContextKeys = Object.keys(presetContext);
|
|
1457
|
-
var presetOptionKeys = Object.keys(presetOptions);
|
|
1301
|
+
var presetOptionKeys = Object.keys(presetOptions);
|
|
1302
|
+
// all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
|
|
1458
1303
|
// if not, then the preset is invalid in config.ts
|
|
1459
|
-
|
|
1460
1304
|
if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;
|
|
1461
1305
|
return hasCompatibleContexts(vizContext, presetContext) && hasCompatibleOptions(vizOptions, presetOptions);
|
|
1462
1306
|
});
|
|
1463
1307
|
}
|
|
1464
|
-
|
|
1465
1308
|
exports.getInitialPreset = getInitialPreset;
|
|
1466
1309
|
/**
|
|
1467
1310
|
* generates number precision values for a Select editor
|
|
@@ -1469,7 +1312,6 @@ exports.getInitialPreset = getInitialPreset;
|
|
|
1469
1312
|
* @param {Number} numPrecisionValues - number of integer precision values to generate
|
|
1470
1313
|
* @returns {{ label: string; value; string }[]} array of { label, value } tuples
|
|
1471
1314
|
*/
|
|
1472
|
-
|
|
1473
1315
|
function generatePrecisionValues(numPrecisionValues) {
|
|
1474
1316
|
return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
|
|
1475
1317
|
return {
|
|
@@ -1478,7 +1320,6 @@ function generatePrecisionValues(numPrecisionValues) {
|
|
|
1478
1320
|
};
|
|
1479
1321
|
});
|
|
1480
1322
|
}
|
|
1481
|
-
|
|
1482
1323
|
exports.generatePrecisionValues = generatePrecisionValues;
|
|
1483
1324
|
/**
|
|
1484
1325
|
* insert layout in layout array, return a new layout array instead of updating the original
|
|
@@ -1488,15 +1329,12 @@ exports.generatePrecisionValues = generatePrecisionValues;
|
|
|
1488
1329
|
* @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
|
|
1489
1330
|
* @returns {EditorLayoutConfig[][]} new editor layout with insertion
|
|
1490
1331
|
*/
|
|
1491
|
-
|
|
1492
1332
|
var insertLayout = function insertLayout(layout, index) {
|
|
1493
1333
|
for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
1494
1334
|
layoutItems[_key - 2] = arguments[_key];
|
|
1495
1335
|
}
|
|
1496
|
-
|
|
1497
1336
|
return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
|
|
1498
1337
|
};
|
|
1499
|
-
|
|
1500
1338
|
exports.insertLayout = insertLayout;
|
|
1501
1339
|
|
|
1502
1340
|
/***/ }),
|
|
@@ -1584,38 +1422,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1584
1422
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49);
|
|
1585
1423
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
|
|
1586
1424
|
|
|
1587
|
-
|
|
1588
1425
|
function ownKeys(object, enumerableOnly) {
|
|
1589
1426
|
var keys = Object.keys(object);
|
|
1590
|
-
|
|
1591
1427
|
if (Object.getOwnPropertySymbols) {
|
|
1592
1428
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1593
|
-
|
|
1429
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
1594
1430
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1595
|
-
});
|
|
1596
|
-
keys.push.apply(keys, symbols);
|
|
1431
|
+
})), keys.push.apply(keys, symbols);
|
|
1597
1432
|
}
|
|
1598
|
-
|
|
1599
1433
|
return keys;
|
|
1600
1434
|
}
|
|
1601
|
-
|
|
1602
1435
|
function _objectSpread(target) {
|
|
1603
1436
|
for (var i = 1; i < arguments.length; i++) {
|
|
1604
|
-
var source = arguments[i]
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
1611
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1612
|
-
} else {
|
|
1613
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
1614
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1615
|
-
});
|
|
1616
|
-
}
|
|
1437
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
1438
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
1439
|
+
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]);
|
|
1440
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
1441
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1442
|
+
});
|
|
1617
1443
|
}
|
|
1618
|
-
|
|
1619
1444
|
return target;
|
|
1620
1445
|
}
|
|
1621
1446
|
|
|
@@ -1623,7 +1448,6 @@ function _objectSpread(target) {
|
|
|
1623
1448
|
|
|
1624
1449
|
|
|
1625
1450
|
|
|
1626
|
-
|
|
1627
1451
|
var DEFAULT_FONT = 12;
|
|
1628
1452
|
var DEFAULT_FONT_FAMILY = '"Splunk Platform Sans", "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif';
|
|
1629
1453
|
var SVR_PADDING = {
|
|
@@ -1632,27 +1456,28 @@ var SVR_PADDING = {
|
|
|
1632
1456
|
left: 16,
|
|
1633
1457
|
right: 16
|
|
1634
1458
|
};
|
|
1459
|
+
|
|
1635
1460
|
/**
|
|
1636
1461
|
* @method shouldShowTrend
|
|
1637
1462
|
* @param {String} trendDisplay
|
|
1638
1463
|
* @returns {Bool}
|
|
1639
1464
|
*/
|
|
1640
|
-
|
|
1641
1465
|
var shouldShowTrend = function shouldShowTrend(trendDisplay) {
|
|
1642
1466
|
return trendDisplay === 'absolute' || trendDisplay === 'percent';
|
|
1643
1467
|
};
|
|
1468
|
+
|
|
1644
1469
|
/**
|
|
1645
1470
|
* @method isLoadingOrNoColumns
|
|
1646
1471
|
* @param {Object} dataSources
|
|
1647
1472
|
* @param {Boolean} loading
|
|
1648
1473
|
* @returns {Boolean} return true if loading or without columns in dataSources
|
|
1649
1474
|
*/
|
|
1650
|
-
|
|
1651
1475
|
var isLoadingOrNoColumns = function isLoadingOrNoColumns(dataSources, loading) {
|
|
1652
1476
|
var data = Object(lodash__WEBPACK_IMPORTED_MODULE_1__["get"])(dataSources, 'primary.data.columns[0]', undefined);
|
|
1653
1477
|
var noColumns = data === undefined;
|
|
1654
1478
|
return loading || noColumns;
|
|
1655
1479
|
};
|
|
1480
|
+
|
|
1656
1481
|
/**
|
|
1657
1482
|
* Retrieve the valid formatted color
|
|
1658
1483
|
* @method getFormattedColor
|
|
@@ -1660,30 +1485,30 @@ var isLoadingOrNoColumns = function isLoadingOrNoColumns(dataSources, loading) {
|
|
|
1660
1485
|
* @param {String} defaultColor
|
|
1661
1486
|
* @returns {String} the formatted color
|
|
1662
1487
|
*/
|
|
1663
|
-
|
|
1664
1488
|
var getFormattedColor = function getFormattedColor(color, defaultColor) {
|
|
1665
1489
|
return Object(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__["formatColor"])(color) || Object(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__["formatColor"])(defaultColor);
|
|
1666
1490
|
};
|
|
1491
|
+
|
|
1667
1492
|
/**
|
|
1668
1493
|
* Determines if there is a background color
|
|
1669
1494
|
* @method hasBackground
|
|
1670
1495
|
* @param {String} backgroundColor
|
|
1671
1496
|
* @returns true for non-transparent background color
|
|
1672
1497
|
*/
|
|
1673
|
-
|
|
1674
1498
|
var hasBackground = function hasBackground(backgroundColor) {
|
|
1675
1499
|
return !!backgroundColor && backgroundColor !== 'transparent';
|
|
1676
1500
|
};
|
|
1501
|
+
|
|
1677
1502
|
/**
|
|
1678
1503
|
* @method isIdenticalColor
|
|
1679
1504
|
* @param {String} colorA
|
|
1680
1505
|
* @param {String} colorB
|
|
1681
1506
|
* @returns {Boolean}
|
|
1682
1507
|
*/
|
|
1683
|
-
|
|
1684
1508
|
var isIdenticalColor = function isIdenticalColor(colorA, colorB) {
|
|
1685
1509
|
return !!colorA && !!colorB && Object(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__["formatColor"])(colorA.toLowerCase()) === Object(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__["formatColor"])(colorB.toLowerCase());
|
|
1686
1510
|
};
|
|
1511
|
+
|
|
1687
1512
|
/*
|
|
1688
1513
|
* @method getDefaultColorWithBg
|
|
1689
1514
|
* @param {Object} props
|
|
@@ -1692,13 +1517,13 @@ var isIdenticalColor = function isIdenticalColor(colorA, colorB) {
|
|
|
1692
1517
|
* @param {String} props.defaultBlockFontColor
|
|
1693
1518
|
* @returns {String} defaultColor
|
|
1694
1519
|
*/
|
|
1695
|
-
|
|
1696
1520
|
var getDefaultColorWithBg = function getDefaultColorWithBg(_ref) {
|
|
1697
1521
|
var backgroundColor = _ref.backgroundColor,
|
|
1698
|
-
|
|
1699
|
-
|
|
1522
|
+
defaultFontColor = _ref.defaultFontColor,
|
|
1523
|
+
defaultBlockFontColor = _ref.defaultBlockFontColor;
|
|
1700
1524
|
return isIdenticalColor(backgroundColor, defaultBlockFontColor) ? defaultFontColor : defaultBlockFontColor;
|
|
1701
1525
|
};
|
|
1526
|
+
|
|
1702
1527
|
/*
|
|
1703
1528
|
* @method getMajorColor
|
|
1704
1529
|
* return formatted majorColor.
|
|
@@ -1709,16 +1534,15 @@ var getDefaultColorWithBg = function getDefaultColorWithBg(_ref) {
|
|
|
1709
1534
|
* @param {String} props.defaultBlockFontColor
|
|
1710
1535
|
* @returns {String} majorColor
|
|
1711
1536
|
*/
|
|
1712
|
-
|
|
1713
1537
|
var getMajorColor = function getMajorColor(_ref2) {
|
|
1714
1538
|
var majorColor = _ref2.majorColor,
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1539
|
+
backgroundColor = _ref2.backgroundColor,
|
|
1540
|
+
defaultFontColor = _ref2.defaultFontColor,
|
|
1541
|
+
defaultBlockFontColor = _ref2.defaultBlockFontColor;
|
|
1542
|
+
// If backgroundColor is set, but no majorColor,
|
|
1718
1543
|
// the default majorColor will turn to be defaultBlockFontColor.
|
|
1719
1544
|
// eg: major color will turn to be white in enterprise mode.
|
|
1720
1545
|
// however, if the bgColor is the same as defaultBlockFontColor, use defaultFontColor.
|
|
1721
|
-
|
|
1722
1546
|
if (hasBackground(backgroundColor) && !majorColor) {
|
|
1723
1547
|
return getDefaultColorWithBg({
|
|
1724
1548
|
backgroundColor: backgroundColor,
|
|
@@ -1726,9 +1550,9 @@ var getMajorColor = function getMajorColor(_ref2) {
|
|
|
1726
1550
|
defaultBlockFontColor: defaultBlockFontColor
|
|
1727
1551
|
});
|
|
1728
1552
|
}
|
|
1729
|
-
|
|
1730
1553
|
return getFormattedColor(majorColor, defaultFontColor);
|
|
1731
1554
|
};
|
|
1555
|
+
|
|
1732
1556
|
/**
|
|
1733
1557
|
* Get the color for the trend components
|
|
1734
1558
|
* @method getTrendColor
|
|
@@ -1741,41 +1565,35 @@ var getMajorColor = function getMajorColor(_ref2) {
|
|
|
1741
1565
|
* @param {Object} defaultColors
|
|
1742
1566
|
* @returns {String} trendColor
|
|
1743
1567
|
*/
|
|
1744
|
-
|
|
1745
1568
|
var getTrendColor = function getTrendColor(_ref3) {
|
|
1746
1569
|
var trendColor = _ref3.trendColor,
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1570
|
+
trendValue = _ref3.trendValue,
|
|
1571
|
+
majorValue = _ref3.majorValue,
|
|
1572
|
+
customizedBgColor = _ref3.customizedBgColor,
|
|
1573
|
+
trendDisplay = _ref3.trendDisplay,
|
|
1574
|
+
defaultColors = _ref3.defaultColors;
|
|
1753
1575
|
if (trendColor) {
|
|
1754
1576
|
return trendColor;
|
|
1755
1577
|
}
|
|
1756
|
-
|
|
1757
1578
|
if (Number.isNaN(Number(trendValue))) {
|
|
1758
1579
|
return undefined;
|
|
1759
1580
|
}
|
|
1760
|
-
|
|
1761
1581
|
var defaultFontColor = defaultColors.defaultFontColor,
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1582
|
+
defaultBlockFontColor = defaultColors.defaultBlockFontColor,
|
|
1583
|
+
defaultBackgroundColor = defaultColors.defaultBackgroundColor; // if user defined a backgroundColor, the default trend color will be defaultBlockFontColor
|
|
1765
1584
|
if (hasBackground(customizedBgColor) && !isIdenticalColor(customizedBgColor, defaultBackgroundColor) && !isIdenticalColor(customizedBgColor, defaultBlockFontColor)) {
|
|
1766
1585
|
return defaultBlockFontColor;
|
|
1767
|
-
}
|
|
1768
|
-
// the trend percent = trendValue / (value - trendValue) will return Infinity
|
|
1769
|
-
|
|
1586
|
+
}
|
|
1770
1587
|
|
|
1588
|
+
// if trendDisplay is percent, and trendValue === value
|
|
1589
|
+
// the trend percent = trendValue / (value - trendValue) will return Infinity
|
|
1771
1590
|
var isInvalidTrend = trendDisplay === 'percent' && trendValue === parseFloat(majorValue);
|
|
1772
|
-
|
|
1773
1591
|
if (trendValue === 0 || isInvalidTrend) {
|
|
1774
1592
|
return defaultFontColor;
|
|
1775
1593
|
}
|
|
1776
|
-
|
|
1777
1594
|
return trendValue > 0 ? _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__["DELTA_GREEN"] : _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__["DELTA_RED"];
|
|
1778
1595
|
};
|
|
1596
|
+
|
|
1779
1597
|
/**
|
|
1780
1598
|
* Computes visualization properties for display component
|
|
1781
1599
|
* @method computeColors
|
|
@@ -1788,7 +1606,6 @@ var getTrendColor = function getTrendColor(_ref3) {
|
|
|
1788
1606
|
* @returns {String} trendColor
|
|
1789
1607
|
* @returns {String} underLabelColor
|
|
1790
1608
|
*/
|
|
1791
|
-
|
|
1792
1609
|
var computeColors = function computeColors(props, defaultColors) {
|
|
1793
1610
|
var backgroundColor = getFormattedColor(props.backgroundColor, defaultColors.defaultBackgroundColor);
|
|
1794
1611
|
var backgroundEnabled = hasBackground(backgroundColor);
|
|
@@ -1805,8 +1622,8 @@ var computeColors = function computeColors(props, defaultColors) {
|
|
|
1805
1622
|
customizedBgColor: props.backgroundColor,
|
|
1806
1623
|
trendDisplay: props.trendDisplay,
|
|
1807
1624
|
defaultColors: defaultColors
|
|
1808
|
-
});
|
|
1809
|
-
|
|
1625
|
+
});
|
|
1626
|
+
// todo: need change it to not depend on majorColor
|
|
1810
1627
|
var underLabelColor = backgroundEnabled ? majorColor : defaultColors.defaultFontColor;
|
|
1811
1628
|
return {
|
|
1812
1629
|
backgroundColor: backgroundColor,
|
|
@@ -1816,6 +1633,7 @@ var computeColors = function computeColors(props, defaultColors) {
|
|
|
1816
1633
|
underLabelColor: underLabelColor
|
|
1817
1634
|
};
|
|
1818
1635
|
};
|
|
1636
|
+
|
|
1819
1637
|
/**
|
|
1820
1638
|
* Format and return the value (major/trend)
|
|
1821
1639
|
* @method computeText
|
|
@@ -1826,21 +1644,21 @@ var computeColors = function computeColors(props, defaultColors) {
|
|
|
1826
1644
|
* @param {Bool} props.shouldAbbreviateTrendValue
|
|
1827
1645
|
* @returns {Number} major or trend text
|
|
1828
1646
|
*/
|
|
1829
|
-
|
|
1830
1647
|
var computeText = function computeText(_ref4) {
|
|
1831
1648
|
var value = _ref4.value,
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1649
|
+
numberPrecision = _ref4.numberPrecision,
|
|
1650
|
+
shouldUseThousandSeparators = _ref4.shouldUseThousandSeparators,
|
|
1651
|
+
shouldAbbreviateTrendValue = _ref4.shouldAbbreviateTrendValue;
|
|
1835
1652
|
var text = Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["isNumerial"])(value) ? Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["formatNumber"])(value, numberPrecision, {
|
|
1836
1653
|
useThousandSeparators: shouldUseThousandSeparators,
|
|
1837
1654
|
// todo: need update formatNumber
|
|
1838
1655
|
useTrendUnits: shouldAbbreviateTrendValue
|
|
1839
|
-
}) : value;
|
|
1840
|
-
|
|
1656
|
+
}) : value;
|
|
1657
|
+
// When text is undefined, return empty string
|
|
1841
1658
|
text = text || '';
|
|
1842
1659
|
return text;
|
|
1843
1660
|
};
|
|
1661
|
+
|
|
1844
1662
|
/*
|
|
1845
1663
|
* @method getMajorText
|
|
1846
1664
|
* @param {Object} props
|
|
@@ -1849,11 +1667,10 @@ var computeText = function computeText(_ref4) {
|
|
|
1849
1667
|
* @param {Bool} props.shouldUseThousandSeparators
|
|
1850
1668
|
* @returns {String} majorText
|
|
1851
1669
|
*/
|
|
1852
|
-
|
|
1853
1670
|
var getMajorText = function getMajorText(_ref5) {
|
|
1854
1671
|
var majorValue = _ref5.majorValue,
|
|
1855
|
-
|
|
1856
|
-
|
|
1672
|
+
numberPrecision = _ref5.numberPrecision,
|
|
1673
|
+
shouldUseThousandSeparators = _ref5.shouldUseThousandSeparators;
|
|
1857
1674
|
return computeText({
|
|
1858
1675
|
value: majorValue === null ? 'N/A' : majorValue,
|
|
1859
1676
|
// if majorValue is null, use `N/A`.
|
|
@@ -1862,6 +1679,7 @@ var getMajorText = function getMajorText(_ref5) {
|
|
|
1862
1679
|
shouldAbbreviateTrendValue: false
|
|
1863
1680
|
});
|
|
1864
1681
|
};
|
|
1682
|
+
|
|
1865
1683
|
/*
|
|
1866
1684
|
* @method getTrendText
|
|
1867
1685
|
* @param {Object} props
|
|
@@ -1873,15 +1691,13 @@ var getMajorText = function getMajorText(_ref5) {
|
|
|
1873
1691
|
* @param {Bool} props.shouldAbbreviateTrendValue
|
|
1874
1692
|
* @returns {String} trendText
|
|
1875
1693
|
*/
|
|
1876
|
-
|
|
1877
1694
|
var getTrendText = function getTrendText(_ref6) {
|
|
1878
1695
|
var majorValue = _ref6.majorValue,
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1696
|
+
trendValue = _ref6.trendValue,
|
|
1697
|
+
trendDisplay = _ref6.trendDisplay,
|
|
1698
|
+
numberPrecision = _ref6.numberPrecision,
|
|
1699
|
+
shouldUseThousandSeparators = _ref6.shouldUseThousandSeparators,
|
|
1700
|
+
shouldAbbreviateTrendValue = _ref6.shouldAbbreviateTrendValue;
|
|
1885
1701
|
var compute = function compute(value) {
|
|
1886
1702
|
return computeText({
|
|
1887
1703
|
value: value,
|
|
@@ -1890,31 +1706,25 @@ var getTrendText = function getTrendText(_ref6) {
|
|
|
1890
1706
|
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
|
|
1891
1707
|
});
|
|
1892
1708
|
};
|
|
1893
|
-
|
|
1894
1709
|
if (trendValue === '' || !Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["isNumerial"])(trendValue)) {
|
|
1895
1710
|
return '';
|
|
1896
1711
|
}
|
|
1897
|
-
|
|
1898
1712
|
var showPercent = trendDisplay === 'percent';
|
|
1899
|
-
|
|
1900
1713
|
if (!showPercent) {
|
|
1901
1714
|
return compute(trendValue);
|
|
1902
1715
|
}
|
|
1903
|
-
|
|
1904
1716
|
var diff = Math.abs(trendValue - majorValue);
|
|
1905
1717
|
var val = Math.round(trendValue / diff * 100);
|
|
1906
|
-
|
|
1907
1718
|
if (trendValue === 0 && diff === 0) {
|
|
1908
1719
|
val = 0;
|
|
1909
1720
|
}
|
|
1910
|
-
|
|
1911
1721
|
if (!Number.isFinite(val)) {
|
|
1912
1722
|
return 'N/A';
|
|
1913
1723
|
}
|
|
1914
|
-
|
|
1915
1724
|
var text = compute(val);
|
|
1916
1725
|
return "".concat(text, "%");
|
|
1917
1726
|
};
|
|
1727
|
+
|
|
1918
1728
|
/**
|
|
1919
1729
|
* Helper to determine the font size for an element
|
|
1920
1730
|
* @method computeFontSize
|
|
@@ -1926,16 +1736,16 @@ var getTrendText = function getTrendText(_ref6) {
|
|
|
1926
1736
|
* @param {String} [fontWeight='normal'] Boldness of font
|
|
1927
1737
|
* @returns {Number} The size to use for fontSize styles
|
|
1928
1738
|
*/
|
|
1929
|
-
|
|
1930
1739
|
var computeFontSize = function computeFontSize(text, _ref7) {
|
|
1931
1740
|
var width = _ref7.width,
|
|
1932
|
-
|
|
1741
|
+
height = _ref7.height;
|
|
1933
1742
|
var fontFamily = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_FONT_FAMILY;
|
|
1934
1743
|
var fontWeight = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'normal';
|
|
1935
1744
|
var widthInDefaultFont = Object(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__["computeTextSize"])(text, "".concat(fontWeight, " ").concat(DEFAULT_FONT, "px ").concat(fontFamily));
|
|
1936
1745
|
var fontSize = Math.min(width / widthInDefaultFont * DEFAULT_FONT, height / DEFAULT_FONT * DEFAULT_FONT);
|
|
1937
1746
|
return parseInt(fontSize, 10);
|
|
1938
1747
|
};
|
|
1748
|
+
|
|
1939
1749
|
/*
|
|
1940
1750
|
* @method getMajorFontSize
|
|
1941
1751
|
* @param {Object} props
|
|
@@ -1946,20 +1756,20 @@ var computeFontSize = function computeFontSize(text, _ref7) {
|
|
|
1946
1756
|
* @param {Number} props.spaceRatio
|
|
1947
1757
|
* @returns {Number} majorFontSize
|
|
1948
1758
|
*/
|
|
1949
|
-
|
|
1950
1759
|
var getMajorFontSize = function getMajorFontSize(_ref8) {
|
|
1951
1760
|
var width = _ref8.width,
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1761
|
+
height = _ref8.height,
|
|
1762
|
+
unit = _ref8.unit,
|
|
1763
|
+
majorText = _ref8.majorText,
|
|
1764
|
+
_ref8$spaceRatio = _ref8.spaceRatio,
|
|
1765
|
+
spaceRatio = _ref8$spaceRatio === void 0 ? 1 : _ref8$spaceRatio;
|
|
1957
1766
|
var majorTextCalc = unit ? "".concat(unit).concat(majorText) : majorText;
|
|
1958
1767
|
return computeFontSize(majorTextCalc, {
|
|
1959
1768
|
width: width * spaceRatio,
|
|
1960
1769
|
height: height
|
|
1961
1770
|
});
|
|
1962
1771
|
};
|
|
1772
|
+
|
|
1963
1773
|
/*
|
|
1964
1774
|
* @method getTrendFontSize
|
|
1965
1775
|
* @param {Object} props
|
|
@@ -1969,15 +1779,13 @@ var getMajorFontSize = function getMajorFontSize(_ref8) {
|
|
|
1969
1779
|
* @param {Number} props.spaceRatio
|
|
1970
1780
|
* @returns {Number} trendFontSize
|
|
1971
1781
|
*/
|
|
1972
|
-
|
|
1973
1782
|
var getTrendFontSize = function getTrendFontSize(_ref9) {
|
|
1974
1783
|
var width = _ref9.width,
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1784
|
+
height = _ref9.height,
|
|
1785
|
+
trendText = _ref9.trendText,
|
|
1786
|
+
_ref9$spaceRatio = _ref9.spaceRatio,
|
|
1787
|
+
spaceRatio = _ref9$spaceRatio === void 0 ? 1 : _ref9$spaceRatio;
|
|
1979
1788
|
var trendFontSize = 12;
|
|
1980
|
-
|
|
1981
1789
|
if (spaceRatio > 0) {
|
|
1982
1790
|
trendFontSize = computeFontSize(trendText, {
|
|
1983
1791
|
width: width * spaceRatio,
|
|
@@ -1985,18 +1793,18 @@ var getTrendFontSize = function getTrendFontSize(_ref9) {
|
|
|
1985
1793
|
});
|
|
1986
1794
|
trendFontSize = parseInt(trendFontSize, 10) * spaceRatio;
|
|
1987
1795
|
}
|
|
1988
|
-
|
|
1989
1796
|
return trendFontSize;
|
|
1990
1797
|
};
|
|
1798
|
+
|
|
1991
1799
|
/*
|
|
1992
1800
|
* The height of underLabel should no more than 12px
|
|
1993
1801
|
* @param {Number} height
|
|
1994
1802
|
* @return {Number} height || DEFAULT_FONT
|
|
1995
1803
|
*/
|
|
1996
|
-
|
|
1997
1804
|
var getUnderLabelHeight = function getUnderLabelHeight(height) {
|
|
1998
1805
|
return height > DEFAULT_FONT ? DEFAULT_FONT : height;
|
|
1999
1806
|
};
|
|
1807
|
+
|
|
2000
1808
|
/*
|
|
2001
1809
|
* @param {Object} config
|
|
2002
1810
|
* @param {String} underLabel
|
|
@@ -2004,18 +1812,19 @@ var getUnderLabelHeight = function getUnderLabelHeight(height) {
|
|
|
2004
1812
|
* @param {Number} height height of underLabel
|
|
2005
1813
|
* @param {Number} fond size of underLabel
|
|
2006
1814
|
*/
|
|
2007
|
-
|
|
2008
1815
|
var getUnderLabel = function getUnderLabel(_ref10) {
|
|
2009
1816
|
var underLabel = _ref10.underLabel,
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
return (
|
|
1817
|
+
width = _ref10.width,
|
|
1818
|
+
height = _ref10.height;
|
|
1819
|
+
return (
|
|
1820
|
+
// todo: may need truncate underLabel later
|
|
2013
1821
|
computeFontSize(underLabel, {
|
|
2014
1822
|
width: width,
|
|
2015
1823
|
height: height
|
|
2016
1824
|
})
|
|
2017
1825
|
);
|
|
2018
1826
|
};
|
|
1827
|
+
|
|
2019
1828
|
/**
|
|
2020
1829
|
* Compute value and font size for major and trend
|
|
2021
1830
|
* @method getMajorAndTrend
|
|
@@ -2033,19 +1842,18 @@ var getUnderLabel = function getUnderLabel(_ref10) {
|
|
|
2033
1842
|
* @param {Bool} props.shouldAbbreviateTrendValue
|
|
2034
1843
|
* @returns {Number, Number, Number, Number} Major text, trend text, major text size, trend text size
|
|
2035
1844
|
*/
|
|
2036
|
-
|
|
2037
1845
|
var getMajorAndTrend = function getMajorAndTrend(_ref11) {
|
|
2038
1846
|
var width = _ref11.width,
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
1847
|
+
height = _ref11.height,
|
|
1848
|
+
majorValue = _ref11.majorValue,
|
|
1849
|
+
trendValue = _ref11.trendValue,
|
|
1850
|
+
majorFontSize = _ref11.majorFontSize,
|
|
1851
|
+
trendFontSize = _ref11.trendFontSize,
|
|
1852
|
+
trendDisplay = _ref11.trendDisplay,
|
|
1853
|
+
unit = _ref11.unit,
|
|
1854
|
+
numberPrecision = _ref11.numberPrecision,
|
|
1855
|
+
shouldUseThousandSeparators = _ref11.shouldUseThousandSeparators,
|
|
1856
|
+
shouldAbbreviateTrendValue = _ref11.shouldAbbreviateTrendValue;
|
|
2049
1857
|
var majorTextSpaceRatio = Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["isNumerial"])(trendValue) && shouldShowTrend(trendDisplay) ? 0.6 : 1;
|
|
2050
1858
|
var textContentWidth = width * 0.9;
|
|
2051
1859
|
var textContentHeight = height * 0.9;
|
|
@@ -2082,6 +1890,7 @@ var getMajorAndTrend = function getMajorAndTrend(_ref11) {
|
|
|
2082
1890
|
trendTextFontSize: trendTextFontSize
|
|
2083
1891
|
};
|
|
2084
1892
|
};
|
|
1893
|
+
|
|
2085
1894
|
/*
|
|
2086
1895
|
* @method updateVizInSmallSpace
|
|
2087
1896
|
* @param {Object} props
|
|
@@ -2101,26 +1910,25 @@ var getMajorAndTrend = function getMajorAndTrend(_ref11) {
|
|
|
2101
1910
|
* @returns {Object} results.newMajorAndTrend
|
|
2102
1911
|
* @returns {Object} results.updatedProps
|
|
2103
1912
|
*/
|
|
2104
|
-
|
|
2105
1913
|
var updateVizInSmallSpace = function updateVizInSmallSpace(_ref12) {
|
|
2106
1914
|
var width = _ref12.width,
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
1915
|
+
height = _ref12.height,
|
|
1916
|
+
toRemoveList = _ref12.toRemoveList,
|
|
1917
|
+
majorValue = _ref12.majorValue,
|
|
1918
|
+
trendValue = _ref12.trendValue,
|
|
1919
|
+
majorFontSize = _ref12.majorFontSize,
|
|
1920
|
+
trendFontSize = _ref12.trendFontSize,
|
|
1921
|
+
majorTextFontSize = _ref12.majorTextFontSize,
|
|
1922
|
+
unit = _ref12.unit,
|
|
1923
|
+
numberPrecision = _ref12.numberPrecision,
|
|
1924
|
+
shouldUseThousandSeparators = _ref12.shouldUseThousandSeparators,
|
|
1925
|
+
shouldAbbreviateTrendValue = _ref12.shouldAbbreviateTrendValue;
|
|
2118
1926
|
var removeIndex = 0;
|
|
2119
1927
|
var newProps = {}; // options need to be updated
|
|
2120
|
-
|
|
2121
1928
|
var newMajorAndTrend = {};
|
|
2122
|
-
var newTextSize = majorTextFontSize;
|
|
1929
|
+
var newTextSize = majorTextFontSize;
|
|
2123
1930
|
|
|
1931
|
+
// remove info on viz to make textFontSize >= 12px;
|
|
2124
1932
|
while (newTextSize < 12 && removeIndex < toRemoveList.length) {
|
|
2125
1933
|
var toRemove = toRemoveList[removeIndex];
|
|
2126
1934
|
newProps = _objectSpread(_objectSpread({}, newProps), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, toRemove.key, toRemove.value));
|
|
@@ -2138,9 +1946,9 @@ var updateVizInSmallSpace = function updateVizInSmallSpace(_ref12) {
|
|
|
2138
1946
|
}, newProps));
|
|
2139
1947
|
newTextSize = newMajorAndTrend.majorTextFontSize;
|
|
2140
1948
|
removeIndex += 1;
|
|
2141
|
-
}
|
|
2142
|
-
|
|
1949
|
+
}
|
|
2143
1950
|
|
|
1951
|
+
// truncate text if textFontSize is still less than 12
|
|
2144
1952
|
if (newTextSize < 12) {
|
|
2145
1953
|
var truncateValue = "".concat(majorValue.toString().slice(0, 3), "...");
|
|
2146
1954
|
newMajorAndTrend = getMajorAndTrend(_objectSpread({
|
|
@@ -2156,12 +1964,12 @@ var updateVizInSmallSpace = function updateVizInSmallSpace(_ref12) {
|
|
|
2156
1964
|
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
|
|
2157
1965
|
}, newProps));
|
|
2158
1966
|
}
|
|
2159
|
-
|
|
2160
1967
|
return {
|
|
2161
1968
|
newMajorAndTrend: newMajorAndTrend,
|
|
2162
1969
|
updatedProps: newProps
|
|
2163
1970
|
};
|
|
2164
1971
|
};
|
|
1972
|
+
|
|
2165
1973
|
/*
|
|
2166
1974
|
* @method computeSingleValueContent
|
|
2167
1975
|
* @param {Object} props
|
|
@@ -2187,71 +1995,67 @@ var updateVizInSmallSpace = function updateVizInSmallSpace(_ref12) {
|
|
|
2187
1995
|
* @returns {String} results.majorValueTitle
|
|
2188
1996
|
* @returns {Object} results.smallVizProps
|
|
2189
1997
|
*/
|
|
2190
|
-
|
|
2191
1998
|
var computeSingleValueContent = function computeSingleValueContent(_ref13) {
|
|
2192
1999
|
var contentWidth = _ref13.contentWidth,
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2000
|
+
contentHeight = _ref13.contentHeight,
|
|
2001
|
+
containerWidth = _ref13.containerWidth,
|
|
2002
|
+
containerHeight = _ref13.containerHeight,
|
|
2003
|
+
majorValue = _ref13.majorValue,
|
|
2004
|
+
trendValue = _ref13.trendValue,
|
|
2005
|
+
majorFontSize = _ref13.majorFontSize,
|
|
2006
|
+
trendFontSize = _ref13.trendFontSize,
|
|
2007
|
+
trendDisplay = _ref13.trendDisplay,
|
|
2008
|
+
unit = _ref13.unit,
|
|
2009
|
+
numberPrecision = _ref13.numberPrecision,
|
|
2010
|
+
shouldUseThousandSeparators = _ref13.shouldUseThousandSeparators,
|
|
2011
|
+
shouldAbbreviateTrendValue = _ref13.shouldAbbreviateTrendValue,
|
|
2012
|
+
toRemoveList = _ref13.toRemoveList;
|
|
2207
2013
|
var _getMajorAndTrend = getMajorAndTrend({
|
|
2208
|
-
majorValue: majorValue,
|
|
2209
|
-
trendValue: trendValue,
|
|
2210
|
-
majorFontSize: majorFontSize,
|
|
2211
|
-
trendFontSize: trendFontSize,
|
|
2212
|
-
trendDisplay: trendDisplay,
|
|
2213
|
-
width: contentWidth,
|
|
2214
|
-
height: contentHeight,
|
|
2215
|
-
unit: unit,
|
|
2216
|
-
numberPrecision: numberPrecision,
|
|
2217
|
-
shouldUseThousandSeparators: shouldUseThousandSeparators,
|
|
2218
|
-
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
|
|
2219
|
-
}),
|
|
2220
|
-
majorText = _getMajorAndTrend.majorText,
|
|
2221
|
-
trendText = _getMajorAndTrend.trendText,
|
|
2222
|
-
majorTextFontSize = _getMajorAndTrend.majorTextFontSize,
|
|
2223
|
-
trendTextFontSize = _getMajorAndTrend.trendTextFontSize;
|
|
2224
|
-
|
|
2225
|
-
var majorValueTitle = majorText;
|
|
2226
|
-
var smallVizProps = {}; // update viz in small space
|
|
2227
|
-
// if textFontSize is less than 12, remove extra info like sparkline, trendvalue, unit
|
|
2228
|
-
// or truncate major value to make the major font size >= 12
|
|
2229
|
-
|
|
2230
|
-
if (majorTextFontSize < 12) {
|
|
2231
|
-
var _updateVizInSmallSpac = updateVizInSmallSpace({
|
|
2232
|
-
width: containerWidth,
|
|
2233
|
-
height: containerHeight,
|
|
2234
|
-
toRemoveList: toRemoveList,
|
|
2235
2014
|
majorValue: majorValue,
|
|
2236
2015
|
trendValue: trendValue,
|
|
2237
2016
|
majorFontSize: majorFontSize,
|
|
2238
2017
|
trendFontSize: trendFontSize,
|
|
2239
|
-
|
|
2018
|
+
trendDisplay: trendDisplay,
|
|
2019
|
+
width: contentWidth,
|
|
2020
|
+
height: contentHeight,
|
|
2240
2021
|
unit: unit,
|
|
2241
2022
|
numberPrecision: numberPrecision,
|
|
2242
2023
|
shouldUseThousandSeparators: shouldUseThousandSeparators,
|
|
2243
2024
|
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
|
|
2244
2025
|
}),
|
|
2245
|
-
|
|
2246
|
-
|
|
2026
|
+
majorText = _getMajorAndTrend.majorText,
|
|
2027
|
+
trendText = _getMajorAndTrend.trendText,
|
|
2028
|
+
majorTextFontSize = _getMajorAndTrend.majorTextFontSize,
|
|
2029
|
+
trendTextFontSize = _getMajorAndTrend.trendTextFontSize;
|
|
2030
|
+
var majorValueTitle = majorText;
|
|
2031
|
+
var smallVizProps = {};
|
|
2247
2032
|
|
|
2033
|
+
// update viz in small space
|
|
2034
|
+
// if textFontSize is less than 12, remove extra info like sparkline, trendvalue, unit
|
|
2035
|
+
// or truncate major value to make the major font size >= 12
|
|
2036
|
+
if (majorTextFontSize < 12) {
|
|
2037
|
+
var _updateVizInSmallSpac = updateVizInSmallSpace({
|
|
2038
|
+
width: containerWidth,
|
|
2039
|
+
height: containerHeight,
|
|
2040
|
+
toRemoveList: toRemoveList,
|
|
2041
|
+
majorValue: majorValue,
|
|
2042
|
+
trendValue: trendValue,
|
|
2043
|
+
majorFontSize: majorFontSize,
|
|
2044
|
+
trendFontSize: trendFontSize,
|
|
2045
|
+
majorTextFontSize: majorTextFontSize,
|
|
2046
|
+
unit: unit,
|
|
2047
|
+
numberPrecision: numberPrecision,
|
|
2048
|
+
shouldUseThousandSeparators: shouldUseThousandSeparators,
|
|
2049
|
+
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
|
|
2050
|
+
}),
|
|
2051
|
+
newMajorAndTrend = _updateVizInSmallSpac.newMajorAndTrend,
|
|
2052
|
+
updatedProps = _updateVizInSmallSpac.updatedProps;
|
|
2248
2053
|
majorText = newMajorAndTrend.majorText;
|
|
2249
2054
|
trendText = newMajorAndTrend.trendText;
|
|
2250
2055
|
majorTextFontSize = newMajorAndTrend.majorTextFontSize;
|
|
2251
2056
|
trendTextFontSize = newMajorAndTrend.trendTextFontSize;
|
|
2252
2057
|
smallVizProps = updatedProps;
|
|
2253
2058
|
}
|
|
2254
|
-
|
|
2255
2059
|
return {
|
|
2256
2060
|
majorText: majorText,
|
|
2257
2061
|
trendText: trendText,
|
|
@@ -2263,17 +2067,17 @@ var computeSingleValueContent = function computeSingleValueContent(_ref13) {
|
|
|
2263
2067
|
};
|
|
2264
2068
|
var minimallyTruncateStringToWidth = function minimallyTruncateStringToWidth(_ref14) {
|
|
2265
2069
|
var text = _ref14.text,
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2070
|
+
_ref14$fontSize = _ref14.fontSize,
|
|
2071
|
+
fontSize = _ref14$fontSize === void 0 ? DEFAULT_FONT : _ref14$fontSize,
|
|
2072
|
+
_ref14$fontFamily = _ref14.fontFamily,
|
|
2073
|
+
fontFamily = _ref14$fontFamily === void 0 ? DEFAULT_FONT_FAMILY : _ref14$fontFamily,
|
|
2074
|
+
_ref14$fontWeight = _ref14.fontWeight,
|
|
2075
|
+
fontWeight = _ref14$fontWeight === void 0 ? 'normal' : _ref14$fontWeight,
|
|
2076
|
+
containerWidth = _ref14.containerWidth;
|
|
2273
2077
|
var textWidth = Object(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__["computeTextSize"])(text, "".concat(fontWeight, " ").concat(fontSize, "px ").concat(fontFamily));
|
|
2274
2078
|
var modifiedText = text;
|
|
2275
|
-
var ellipsesLength = Object(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__["computeTextSize"])('...', "".concat(fontWeight, " ").concat(fontSize, "px ").concat(fontFamily));
|
|
2276
|
-
|
|
2079
|
+
var ellipsesLength = Object(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__["computeTextSize"])('...', "".concat(fontWeight, " ").concat(fontSize, "px ").concat(fontFamily));
|
|
2080
|
+
// `containerWidth - ellipsesLength > 0` condition ensures space even exists for text.
|
|
2277
2081
|
if (containerWidth - ellipsesLength > 0 && textWidth > containerWidth) {
|
|
2278
2082
|
// Truncates the content such that the truncated value + ellipses fit within the allocated space for the ellipses.
|
|
2279
2083
|
// `textWidth > containerWidth - ellipsesLength` condition checks if text + ellipses exceeds container width.
|
|
@@ -2282,12 +2086,11 @@ var minimallyTruncateStringToWidth = function minimallyTruncateStringToWidth(_re
|
|
|
2282
2086
|
modifiedText = modifiedText.substring(0, modifiedText.length - 1);
|
|
2283
2087
|
textWidth = Object(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__["computeTextSize"])(modifiedText, "normal ".concat(fontSize, "px ").concat(fontFamily));
|
|
2284
2088
|
}
|
|
2285
|
-
|
|
2286
2089
|
modifiedText = "".concat(modifiedText, "...");
|
|
2287
2090
|
}
|
|
2288
|
-
|
|
2289
2091
|
return modifiedText;
|
|
2290
2092
|
};
|
|
2093
|
+
|
|
2291
2094
|
/*
|
|
2292
2095
|
* @method computeSingleValueRadialContent
|
|
2293
2096
|
* @param {Object} props
|
|
@@ -2314,46 +2117,44 @@ var minimallyTruncateStringToWidth = function minimallyTruncateStringToWidth(_re
|
|
|
2314
2117
|
* @returns {String} results.majorValueTitle
|
|
2315
2118
|
* @returns {Object} results.smallVizProps
|
|
2316
2119
|
*/
|
|
2317
|
-
|
|
2318
2120
|
var computeSingleValueRadialContent = function computeSingleValueRadialContent(_ref15) {
|
|
2319
2121
|
var contentWidth = _ref15.contentWidth,
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2122
|
+
contentHeight = _ref15.contentHeight,
|
|
2123
|
+
containerWidth = _ref15.containerWidth,
|
|
2124
|
+
containerHeight = _ref15.containerHeight,
|
|
2125
|
+
majorValue = _ref15.majorValue,
|
|
2126
|
+
trendValue = _ref15.trendValue,
|
|
2127
|
+
majorFontSize = _ref15.majorFontSize,
|
|
2128
|
+
trendFontSize = _ref15.trendFontSize,
|
|
2129
|
+
trendDisplay = _ref15.trendDisplay,
|
|
2130
|
+
unit = _ref15.unit,
|
|
2131
|
+
numberPrecision = _ref15.numberPrecision,
|
|
2132
|
+
shouldUseThousandSeparators = _ref15.shouldUseThousandSeparators,
|
|
2133
|
+
shouldAbbreviateTrendValue = _ref15.shouldAbbreviateTrendValue,
|
|
2134
|
+
smallViz = _ref15.smallViz;
|
|
2334
2135
|
var _getMajorAndTrend2 = getMajorAndTrend({
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2136
|
+
majorValue: majorValue,
|
|
2137
|
+
trendValue: trendValue,
|
|
2138
|
+
majorFontSize: majorFontSize,
|
|
2139
|
+
trendFontSize: trendFontSize,
|
|
2140
|
+
trendDisplay: trendDisplay,
|
|
2141
|
+
width: contentWidth,
|
|
2142
|
+
height: contentHeight,
|
|
2143
|
+
unit: unit,
|
|
2144
|
+
numberPrecision: numberPrecision,
|
|
2145
|
+
shouldUseThousandSeparators: shouldUseThousandSeparators,
|
|
2146
|
+
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
|
|
2147
|
+
}),
|
|
2148
|
+
majorText = _getMajorAndTrend2.majorText,
|
|
2149
|
+
trendText = _getMajorAndTrend2.trendText,
|
|
2150
|
+
majorTextFontSize = _getMajorAndTrend2.majorTextFontSize,
|
|
2151
|
+
trendTextFontSize = _getMajorAndTrend2.trendTextFontSize;
|
|
2352
2152
|
var majorValueTitle = majorText;
|
|
2353
|
-
var smallVizProps = {};
|
|
2153
|
+
var smallVizProps = {};
|
|
2154
|
+
|
|
2155
|
+
// custom logic for viz in small space
|
|
2354
2156
|
// if not showing the radial graph (if `smallViz` is true), then compute truncated major value
|
|
2355
2157
|
// and font sizes
|
|
2356
|
-
|
|
2357
2158
|
if (smallViz) {
|
|
2358
2159
|
var truncateValue = minimallyTruncateStringToWidth({
|
|
2359
2160
|
text: majorValue,
|
|
@@ -2361,7 +2162,6 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
|
|
|
2361
2162
|
fontSize: 12,
|
|
2362
2163
|
containerWidth: containerWidth
|
|
2363
2164
|
});
|
|
2364
|
-
|
|
2365
2165
|
var _getMajorAndTrend3 = getMajorAndTrend({
|
|
2366
2166
|
majorValue: truncateValue,
|
|
2367
2167
|
trendValue: trendValue,
|
|
@@ -2375,7 +2175,6 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
|
|
|
2375
2175
|
shouldUseThousandSeparators: shouldUseThousandSeparators,
|
|
2376
2176
|
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
|
|
2377
2177
|
});
|
|
2378
|
-
|
|
2379
2178
|
majorText = _getMajorAndTrend3.majorText;
|
|
2380
2179
|
trendText = _getMajorAndTrend3.trendText;
|
|
2381
2180
|
majorTextFontSize = _getMajorAndTrend3.majorTextFontSize;
|
|
@@ -2385,7 +2184,6 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
|
|
|
2385
2184
|
unit: unit
|
|
2386
2185
|
};
|
|
2387
2186
|
}
|
|
2388
|
-
|
|
2389
2187
|
return {
|
|
2390
2188
|
majorText: majorText,
|
|
2391
2189
|
trendText: trendText,
|
|
@@ -2395,6 +2193,7 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
|
|
|
2395
2193
|
smallVizProps: smallVizProps
|
|
2396
2194
|
};
|
|
2397
2195
|
};
|
|
2196
|
+
|
|
2398
2197
|
/**
|
|
2399
2198
|
* Get the colors for a graph
|
|
2400
2199
|
*
|
|
@@ -2407,22 +2206,21 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
|
|
|
2407
2206
|
* @returns {Object} { background, stroke } colors
|
|
2408
2207
|
* @private
|
|
2409
2208
|
*/
|
|
2410
|
-
|
|
2411
2209
|
var getGraphColors = function getGraphColors(_ref16) {
|
|
2412
2210
|
var backgroundEnabled = _ref16.backgroundEnabled,
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2211
|
+
backgroundColor = _ref16.backgroundColor,
|
|
2212
|
+
defaultColors = _ref16.defaultColors,
|
|
2213
|
+
customColorFormatter = _ref16.customColorFormatter;
|
|
2214
|
+
// Only do custom colors in block mode
|
|
2417
2215
|
if (backgroundEnabled) {
|
|
2418
2216
|
// Check if the user defined colors to use
|
|
2419
2217
|
if (backgroundColor && typeof customColorFormatter === 'function') {
|
|
2420
2218
|
return customColorFormatter(backgroundColor);
|
|
2421
2219
|
}
|
|
2422
2220
|
}
|
|
2423
|
-
|
|
2424
2221
|
return defaultColors.none;
|
|
2425
2222
|
};
|
|
2223
|
+
|
|
2426
2224
|
/**
|
|
2427
2225
|
* Adjust rgb value if it equals to 0 or 255
|
|
2428
2226
|
* @method adjustRGB
|
|
@@ -2431,18 +2229,16 @@ var getGraphColors = function getGraphColors(_ref16) {
|
|
|
2431
2229
|
* @returns {Number} adjusted rgb
|
|
2432
2230
|
* @private
|
|
2433
2231
|
*/
|
|
2434
|
-
|
|
2435
2232
|
var adjustRGB = function adjustRGB(rgb, delta) {
|
|
2436
2233
|
if (rgb === 255) {
|
|
2437
2234
|
return rgb - delta;
|
|
2438
2235
|
}
|
|
2439
|
-
|
|
2440
2236
|
if (rgb === 0) {
|
|
2441
2237
|
return rgb + delta;
|
|
2442
2238
|
}
|
|
2443
|
-
|
|
2444
2239
|
return rgb;
|
|
2445
2240
|
};
|
|
2241
|
+
|
|
2446
2242
|
/**
|
|
2447
2243
|
* Modifies colors by multiplying by a given ratio
|
|
2448
2244
|
* @method changeColor
|
|
@@ -2451,16 +2247,18 @@ var adjustRGB = function adjustRGB(rgb, delta) {
|
|
|
2451
2247
|
* @returns {String} new color
|
|
2452
2248
|
* @private
|
|
2453
2249
|
*/
|
|
2454
|
-
|
|
2455
2250
|
var changeColor = function changeColor(color, ratio) {
|
|
2456
2251
|
var hex = color.replace(/(0x|#)/, '');
|
|
2457
2252
|
var r = parseInt(hex.substr(0, 2), 16);
|
|
2458
2253
|
var g = parseInt(hex.substr(2, 2), 16);
|
|
2459
|
-
var b = parseInt(hex.substr(4, 2), 16);
|
|
2254
|
+
var b = parseInt(hex.substr(4, 2), 16);
|
|
2460
2255
|
|
|
2256
|
+
// Multiply by given ratio, make sure is between 0 and 255;
|
|
2461
2257
|
var newR = Math.max(Math.min(Math.floor(r * ratio), 255), 0);
|
|
2462
2258
|
var newG = Math.max(Math.min(Math.floor(g * ratio), 255), 0);
|
|
2463
|
-
var newB = Math.max(Math.min(Math.floor(b * ratio), 255), 0);
|
|
2259
|
+
var newB = Math.max(Math.min(Math.floor(b * ratio), 255), 0);
|
|
2260
|
+
|
|
2261
|
+
// If the color is not changed
|
|
2464
2262
|
// case 1: the color is (0, 0 0)
|
|
2465
2263
|
// lighten color (80, 80, 80)
|
|
2466
2264
|
// darken color (40, 40, 40)
|
|
@@ -2469,7 +2267,6 @@ var changeColor = function changeColor(color, ratio) {
|
|
|
2469
2267
|
// darken color (175, 175, 175)
|
|
2470
2268
|
// case 3: the color is e.g. (0, 255, 0)
|
|
2471
2269
|
// new color (20, 235, 20)
|
|
2472
|
-
|
|
2473
2270
|
if (newR === r && newG === g && newB === b) {
|
|
2474
2271
|
if (newR === 0 && newG === 0 && newB === 0) {
|
|
2475
2272
|
if (ratio > 1) {
|
|
@@ -2497,9 +2294,9 @@ var changeColor = function changeColor(color, ratio) {
|
|
|
2497
2294
|
newB = adjustRGB(newB, 20);
|
|
2498
2295
|
}
|
|
2499
2296
|
}
|
|
2500
|
-
|
|
2501
2297
|
return "#".concat(newR.toString(16).padStart(2, 0)) + "".concat(newG.toString(16).padStart(2, 0)) + "".concat(newB.toString(16).padStart(2, 0));
|
|
2502
2298
|
};
|
|
2299
|
+
|
|
2503
2300
|
/**
|
|
2504
2301
|
* Lighten a given color
|
|
2505
2302
|
* @method lighten
|
|
@@ -2507,11 +2304,10 @@ var changeColor = function changeColor(color, ratio) {
|
|
|
2507
2304
|
* @returns {String}
|
|
2508
2305
|
* @private
|
|
2509
2306
|
*/
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
2307
|
var lighten = function lighten(color) {
|
|
2513
2308
|
return changeColor(color, 1.3);
|
|
2514
2309
|
};
|
|
2310
|
+
|
|
2515
2311
|
/**
|
|
2516
2312
|
* Darkens a given color
|
|
2517
2313
|
* @method darken
|
|
@@ -2519,10 +2315,10 @@ var lighten = function lighten(color) {
|
|
|
2519
2315
|
* @returns {String}
|
|
2520
2316
|
* @private
|
|
2521
2317
|
*/
|
|
2522
|
-
|
|
2523
2318
|
var darken = function darken(color) {
|
|
2524
2319
|
return changeColor(color, 0.5);
|
|
2525
2320
|
};
|
|
2321
|
+
|
|
2526
2322
|
/** consistent token structure: handle callback to add value and name in event payload
|
|
2527
2323
|
* @method handleValueClickCallback
|
|
2528
2324
|
* @param {Object} ev
|
|
@@ -2531,7 +2327,6 @@ var darken = function darken(color) {
|
|
|
2531
2327
|
* @param {Number} trendValue
|
|
2532
2328
|
* @param {Function} onValueClick
|
|
2533
2329
|
*/
|
|
2534
|
-
|
|
2535
2330
|
var handleValueClickCallback = function handleValueClickCallback(ev, majorValue, majorValueField, trendValue, onValueClick) {
|
|
2536
2331
|
var trellisEnabled = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
|
|
2537
2332
|
var trellisSplityBy = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
|
|
@@ -2541,14 +2336,12 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
|
|
|
2541
2336
|
value: majorValue,
|
|
2542
2337
|
name: majorValueField
|
|
2543
2338
|
};
|
|
2544
|
-
|
|
2545
2339
|
if (trellisEnabled) {
|
|
2546
2340
|
payload = _objectSpread(_objectSpread({}, payload), {}, {
|
|
2547
2341
|
'trellis.name': trellisSplityBy,
|
|
2548
2342
|
'trellis.value': trellisKey
|
|
2549
2343
|
});
|
|
2550
2344
|
}
|
|
2551
|
-
|
|
2552
2345
|
return onValueClick(_objectSpread(_objectSpread({}, ev), {}, {
|
|
2553
2346
|
payload: payload
|
|
2554
2347
|
}));
|
|
@@ -2615,17 +2408,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2615
2408
|
value: true
|
|
2616
2409
|
});
|
|
2617
2410
|
exports.shouldShowIconPlaceholder = void 0;
|
|
2618
|
-
|
|
2619
2411
|
var React = __webpack_require__(0);
|
|
2620
|
-
|
|
2621
2412
|
var T = __webpack_require__(1);
|
|
2622
|
-
|
|
2623
2413
|
var lodash_1 = __webpack_require__(3);
|
|
2624
|
-
|
|
2625
2414
|
var i18n_1 = __webpack_require__(2);
|
|
2626
|
-
|
|
2627
2415
|
var Message_1 = __webpack_require__(9);
|
|
2628
|
-
|
|
2629
2416
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
2630
2417
|
/**
|
|
2631
2418
|
* @method shouldShowIconPlaceholder
|
|
@@ -2633,8 +2420,6 @@ var FixedSizeContainer_1 = __webpack_require__(13);
|
|
|
2633
2420
|
* @param {boolean} loading
|
|
2634
2421
|
* @returns {boolean}
|
|
2635
2422
|
*/
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
2423
|
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
2639
2424
|
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
2640
2425
|
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
@@ -2643,7 +2428,6 @@ var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources)
|
|
|
2643
2428
|
var noFields = fields === undefined;
|
|
2644
2429
|
return loading || noData || noFields;
|
|
2645
2430
|
};
|
|
2646
|
-
|
|
2647
2431
|
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
2648
2432
|
var propTypes = {
|
|
2649
2433
|
icon: T.func,
|
|
@@ -2658,13 +2442,11 @@ var propTypes = {
|
|
|
2658
2442
|
* @param {IconPlaceholderProps} props
|
|
2659
2443
|
* @returns {React.ReactElement}
|
|
2660
2444
|
*/
|
|
2661
|
-
|
|
2662
2445
|
var IconPlaceholder = function IconPlaceholder(props) {
|
|
2663
2446
|
var width = props.width,
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2447
|
+
height = props.height,
|
|
2448
|
+
icon = props.icon,
|
|
2449
|
+
iconColor = props.iconColor;
|
|
2668
2450
|
if (icon) {
|
|
2669
2451
|
return React.createElement(icon, {
|
|
2670
2452
|
style: {
|
|
@@ -2679,7 +2461,6 @@ var IconPlaceholder = function IconPlaceholder(props) {
|
|
|
2679
2461
|
height: '50%'
|
|
2680
2462
|
});
|
|
2681
2463
|
}
|
|
2682
|
-
|
|
2683
2464
|
return React.createElement(Message_1.default, {
|
|
2684
2465
|
width: width,
|
|
2685
2466
|
height: height,
|
|
@@ -2687,7 +2468,6 @@ var IconPlaceholder = function IconPlaceholder(props) {
|
|
|
2687
2468
|
message: i18n_1._('No DataSource Connected')
|
|
2688
2469
|
});
|
|
2689
2470
|
};
|
|
2690
|
-
|
|
2691
2471
|
IconPlaceholder.propTypes = propTypes;
|
|
2692
2472
|
IconPlaceholder.defaultProps = {
|
|
2693
2473
|
width: '100%',
|
|
@@ -2711,27 +2491,21 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
2711
2491
|
|
|
2712
2492
|
|
|
2713
2493
|
var _defineProperty = __webpack_require__(8);
|
|
2714
|
-
|
|
2715
2494
|
Object.defineProperty(exports, "__esModule", {
|
|
2716
2495
|
value: true
|
|
2717
2496
|
});
|
|
2718
2497
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
2719
|
-
|
|
2720
2498
|
var T = __webpack_require__(1);
|
|
2721
|
-
|
|
2722
2499
|
var lodash_1 = __webpack_require__(3);
|
|
2723
|
-
|
|
2724
2500
|
var DataSource_1 = __webpack_require__(43);
|
|
2725
|
-
|
|
2726
2501
|
exports.SortParamsPropTypes = T.shape({
|
|
2727
2502
|
currentSortKey: T.string,
|
|
2728
2503
|
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
2729
2504
|
onSort: T.func
|
|
2730
2505
|
});
|
|
2731
|
-
|
|
2732
2506
|
var getSortingParams = function getSortingParams(_ref) {
|
|
2733
2507
|
var requestParams = _ref.requestParams,
|
|
2734
|
-
|
|
2508
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
2735
2509
|
var currentSortKey;
|
|
2736
2510
|
var currentSortDir;
|
|
2737
2511
|
var nextSortDirMap = {
|
|
@@ -2740,18 +2514,15 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
2740
2514
|
none: 'asc'
|
|
2741
2515
|
};
|
|
2742
2516
|
var onSort;
|
|
2743
|
-
|
|
2744
2517
|
if (typeof onRequestParamsChange === 'function') {
|
|
2745
2518
|
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
2746
2519
|
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
2747
2520
|
currentSortDir = requestParams.sort[currentSortKey];
|
|
2748
|
-
}
|
|
2749
|
-
|
|
2750
|
-
|
|
2521
|
+
}
|
|
2522
|
+
// undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
2751
2523
|
onSort = function onSort(e, _ref2) {
|
|
2752
2524
|
var sortKey = _ref2.sortKey,
|
|
2753
|
-
|
|
2754
|
-
|
|
2525
|
+
sortDir = _ref2.sortDir;
|
|
2755
2526
|
if (typeof sortKey === 'string') {
|
|
2756
2527
|
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
2757
2528
|
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
@@ -2763,14 +2534,12 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
2763
2534
|
}
|
|
2764
2535
|
};
|
|
2765
2536
|
}
|
|
2766
|
-
|
|
2767
2537
|
return {
|
|
2768
2538
|
currentSortKey: currentSortKey,
|
|
2769
2539
|
currentSortDir: currentSortDir,
|
|
2770
2540
|
onSort: onSort
|
|
2771
2541
|
};
|
|
2772
2542
|
};
|
|
2773
|
-
|
|
2774
2543
|
exports.getSortingParams = getSortingParams;
|
|
2775
2544
|
|
|
2776
2545
|
/***/ }),
|
|
@@ -2785,49 +2554,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2785
2554
|
value: true
|
|
2786
2555
|
});
|
|
2787
2556
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
2788
|
-
|
|
2789
2557
|
var T = __webpack_require__(1);
|
|
2790
|
-
|
|
2791
2558
|
var lodash_1 = __webpack_require__(3);
|
|
2792
|
-
|
|
2793
2559
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
2794
2560
|
isPaging: T.bool,
|
|
2795
2561
|
current: T.number,
|
|
2796
2562
|
totalPages: T.number,
|
|
2797
2563
|
onChange: T.func
|
|
2798
2564
|
});
|
|
2799
|
-
|
|
2800
2565
|
var getPaginationParams = function getPaginationParams(_ref) {
|
|
2801
2566
|
var requestParams = _ref.requestParams,
|
|
2802
|
-
|
|
2803
|
-
|
|
2567
|
+
meta = _ref.meta,
|
|
2568
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
2804
2569
|
var totalCount = meta && meta.totalCount || 0;
|
|
2805
2570
|
var offset = requestParams && requestParams.offset || 0;
|
|
2806
2571
|
var count = requestParams && requestParams.count;
|
|
2807
2572
|
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
2808
2573
|
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
2809
2574
|
var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
|
|
2810
|
-
|
|
2811
2575
|
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
2812
2576
|
var page = _ref2.page,
|
|
2813
|
-
|
|
2577
|
+
countArg = _ref2.count;
|
|
2814
2578
|
var newParams = lodash_1.cloneDeep(requestParams);
|
|
2815
|
-
|
|
2816
2579
|
if (typeof countArg === 'number') {
|
|
2817
2580
|
newParams.count = countArg;
|
|
2818
2581
|
newParams.offset = 0;
|
|
2819
2582
|
}
|
|
2820
|
-
|
|
2821
2583
|
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
2822
|
-
|
|
2823
2584
|
if (typeof page === 'number' && page > 0) {
|
|
2824
2585
|
newParams.count = pageCount;
|
|
2825
2586
|
newParams.offset = (page - 1) * pageCount;
|
|
2826
2587
|
}
|
|
2827
|
-
|
|
2828
2588
|
onRequestParamsChange(newParams);
|
|
2829
2589
|
};
|
|
2830
|
-
|
|
2831
2590
|
return {
|
|
2832
2591
|
isPaging: isPaging,
|
|
2833
2592
|
current: current,
|
|
@@ -2835,7 +2594,6 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
2835
2594
|
onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
|
|
2836
2595
|
};
|
|
2837
2596
|
};
|
|
2838
|
-
|
|
2839
2597
|
exports.getPaginationParams = getPaginationParams;
|
|
2840
2598
|
|
|
2841
2599
|
/***/ }),
|
|
@@ -2851,7 +2609,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2851
2609
|
});
|
|
2852
2610
|
exports.VizCategory = void 0;
|
|
2853
2611
|
var VizCategory;
|
|
2854
|
-
|
|
2855
2612
|
(function (VizCategory) {
|
|
2856
2613
|
VizCategory["SINGLE_VALUE"] = "Single Value";
|
|
2857
2614
|
VizCategory["TRENDS"] = "Trends";
|
|
@@ -2876,90 +2633,60 @@ var VizCategory;
|
|
|
2876
2633
|
|
|
2877
2634
|
|
|
2878
2635
|
var _slicedToArray = __webpack_require__(17);
|
|
2879
|
-
|
|
2880
2636
|
Object.defineProperty(exports, "__esModule", {
|
|
2881
2637
|
value: true
|
|
2882
2638
|
});
|
|
2883
|
-
|
|
2884
2639
|
var React = __webpack_require__(0);
|
|
2885
|
-
|
|
2886
2640
|
var lodash_1 = __webpack_require__(3);
|
|
2887
|
-
|
|
2888
2641
|
var getSettingsFromThemedProps_1 = __webpack_require__(37);
|
|
2889
|
-
|
|
2890
2642
|
var Options_1 = __webpack_require__(29);
|
|
2891
|
-
|
|
2892
2643
|
var SanitizeProps_1 = __webpack_require__(38);
|
|
2893
|
-
|
|
2894
2644
|
var TimezoneContext_1 = __webpack_require__(25);
|
|
2895
|
-
|
|
2896
2645
|
var moment_1 = __webpack_require__(39);
|
|
2897
|
-
|
|
2898
2646
|
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
2899
|
-
|
|
2900
2647
|
var styled_components_1 = __webpack_require__(4);
|
|
2901
|
-
|
|
2902
2648
|
var hocUtils_1 = __webpack_require__(26);
|
|
2903
|
-
|
|
2904
2649
|
var JSONSchemaUtils_1 = __webpack_require__(27);
|
|
2905
|
-
|
|
2906
2650
|
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
2907
|
-
|
|
2908
2651
|
var id_1 = __webpack_require__(32);
|
|
2909
|
-
|
|
2910
2652
|
var SplunkVisualization_1 = __webpack_require__(41);
|
|
2911
|
-
|
|
2912
2653
|
var VizBehavior_1 = __webpack_require__(6);
|
|
2913
|
-
|
|
2914
2654
|
var getSorting_1 = __webpack_require__(33);
|
|
2915
|
-
|
|
2916
2655
|
var getPagination_1 = __webpack_require__(34);
|
|
2917
|
-
|
|
2918
2656
|
var useDeepMemo_1 = __webpack_require__(44);
|
|
2919
|
-
|
|
2920
2657
|
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
2921
|
-
|
|
2922
2658
|
var withEditModeCover_1 = __webpack_require__(46);
|
|
2923
|
-
|
|
2924
2659
|
var withPlaceholder_1 = __webpack_require__(47);
|
|
2925
|
-
|
|
2926
|
-
var UUID = id_1.createGUID();
|
|
2927
2660
|
/**
|
|
2928
2661
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
2929
2662
|
* @param {DashboardVizOpts} opts
|
|
2930
2663
|
* @returns {HOC}
|
|
2931
2664
|
*/
|
|
2932
|
-
|
|
2933
2665
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
2934
2666
|
var ReactViz = opts.ReactViz,
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2667
|
+
vizConfig = opts.vizConfig,
|
|
2668
|
+
_opts$computeVizProps = opts.computeVizProps,
|
|
2669
|
+
computeVizProps = _opts$computeVizProps === void 0 ? function () {} : _opts$computeVizProps,
|
|
2670
|
+
disableEditModeCover = opts.disableEditModeCover,
|
|
2671
|
+
useIconPlaceholder = opts.useIconPlaceholder; // sanitizing props before sending them to reactviz.
|
|
2941
2672
|
var SanitizedReactViz = SanitizeProps_1.withSanitizedProps(ReactViz);
|
|
2942
2673
|
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
|
|
2943
|
-
|
|
2944
2674
|
var DashboardViz = function DashboardViz(props) {
|
|
2945
2675
|
var _a;
|
|
2946
|
-
|
|
2947
2676
|
var mode = props.mode,
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2677
|
+
hasEventHandlers = props.hasEventHandlers,
|
|
2678
|
+
dataSources = props.dataSources,
|
|
2679
|
+
options = props.options,
|
|
2680
|
+
_props$context = props.context,
|
|
2681
|
+
context = _props$context === void 0 ? {} : _props$context,
|
|
2682
|
+
width = props.width,
|
|
2683
|
+
height = props.height,
|
|
2684
|
+
onComputedProps = props.onComputedProps,
|
|
2685
|
+
onEventTrigger = props.onEventTrigger,
|
|
2686
|
+
theme = props.theme,
|
|
2687
|
+
onRequestParamsChange = props.onRequestParamsChange;
|
|
2960
2688
|
var _React$useContext = React.useContext(TimezoneContext_1.default),
|
|
2961
|
-
|
|
2962
|
-
|
|
2689
|
+
serializedTimezone = _React$useContext.serializedTimezone;
|
|
2963
2690
|
if (serializedTimezone) {
|
|
2964
2691
|
/*
|
|
2965
2692
|
@splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
|
|
@@ -2973,41 +2700,30 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2973
2700
|
moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
|
|
2974
2701
|
}
|
|
2975
2702
|
}
|
|
2976
|
-
|
|
2977
2703
|
var themeFunc = function themeFunc(themeVar) {
|
|
2978
2704
|
var _a, _b;
|
|
2979
|
-
|
|
2980
2705
|
return (_b = (_a = vizConfig.themes)[themeVar]) === null || _b === void 0 ? void 0 : _b.call(_a, props);
|
|
2981
2706
|
};
|
|
2982
|
-
|
|
2983
2707
|
var bgColorFromTheme = themeFunc('defaultBackgroundColor');
|
|
2984
|
-
|
|
2985
2708
|
var _getSettingsFromTheme = getSettingsFromThemedProps_1.default({
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2709
|
+
theme: theme
|
|
2710
|
+
}),
|
|
2711
|
+
currentThemeFamily = _getSettingsFromTheme.family,
|
|
2712
|
+
currentThemeColorScheme = _getSettingsFromTheme.colorScheme,
|
|
2713
|
+
currentThemeDensity = _getSettingsFromTheme.density;
|
|
2992
2714
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
2993
|
-
|
|
2994
2715
|
var _React$useState = React.useState({}),
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
2716
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
2717
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
2718
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
3000
2719
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
visualizationID = _React$useState4[0];
|
|
3005
|
-
|
|
2720
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(id_1.createGUID())),
|
|
2721
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
2722
|
+
visualizationID = _React$useState4[0];
|
|
3006
2723
|
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
2724
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
2725
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
2726
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
3011
2727
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
3012
2728
|
try {
|
|
3013
2729
|
if (useAsyncEvaluatedOptions) {
|
|
@@ -3040,22 +2756,21 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
3040
2756
|
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
3041
2757
|
return {};
|
|
3042
2758
|
}
|
|
3043
|
-
|
|
3044
2759
|
return {};
|
|
3045
2760
|
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
3046
|
-
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync;
|
|
2761
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync;
|
|
2762
|
+
// trellis specific backgroundColor update for onComputedProps
|
|
3047
2763
|
// if trellis is enabled following these three criteria - 1) trellis feature flag is enabled 2) vizConfig supports array has 'trellis' 3) option 'splitByLayout' is set to 'trellis
|
|
3048
2764
|
// onComputedProps api should return back trellisBackgroundColor value for backgroundColor option to support coloring of sibling panels (for eg:- title/ description on UDF side)
|
|
3049
|
-
|
|
3050
2765
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
3051
|
-
var clonedEvaluatedOptions =
|
|
3052
|
-
|
|
2766
|
+
var clonedEvaluatedOptions = evaluatedOptionsToUse;
|
|
3053
2767
|
if (isTrellisFeatureFlagOn && ((_a = vizConfig === null || vizConfig === void 0 ? void 0 : vizConfig.supports) === null || _a === void 0 ? void 0 : _a.includes(VizBehavior_1.VizBehavior.TRELLIS)) && (clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.splitByLayout) === VizBehavior_1.VizBehavior.TRELLIS) {
|
|
3054
|
-
clonedEvaluatedOptions
|
|
3055
|
-
|
|
2768
|
+
clonedEvaluatedOptions = Object.assign(Object.assign({}, evaluatedOptionsToUse), {
|
|
2769
|
+
backgroundColor: clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.trellisBackgroundColor
|
|
2770
|
+
});
|
|
2771
|
+
}
|
|
2772
|
+
// useEffect hook needs to be initialized before any early returns
|
|
3056
2773
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
2774
|
React.useEffect(function () {
|
|
3060
2775
|
onComputedProps(clonedEvaluatedOptions);
|
|
3061
2776
|
});
|
|
@@ -3064,49 +2779,44 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
3064
2779
|
if (useAsyncEvaluatedOptions) {
|
|
3065
2780
|
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
3066
2781
|
}
|
|
3067
|
-
};
|
|
3068
|
-
|
|
3069
|
-
|
|
2782
|
+
};
|
|
2783
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2784
|
+
}, []);
|
|
2785
|
+
// present warning message if any required props are missing
|
|
3070
2786
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
3071
|
-
|
|
3072
|
-
|
|
2787
|
+
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
2788
|
+
supports = vizConfig.supports;
|
|
3073
2789
|
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
3074
|
-
|
|
3075
2790
|
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && vizConfig.key !== 'splunk.singlevalue' // For SV missing props msg is not displayed if required props majorValue is missing, instead this will be handled from the component, instead handled within component
|
|
3076
2791
|
) {
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
2792
|
+
return React.createElement(MissingPropsMessage_1.default, {
|
|
2793
|
+
"data-test": "missing-props-message",
|
|
2794
|
+
width: width,
|
|
2795
|
+
height: height,
|
|
2796
|
+
missingProps: missing,
|
|
2797
|
+
backgroundColor: bgColorFromTheme
|
|
2798
|
+
});
|
|
2799
|
+
}
|
|
2800
|
+
// events
|
|
3087
2801
|
var eventCallbackProps = {};
|
|
3088
|
-
|
|
3089
2802
|
if (hasEventHandlers && mode === 'view' && vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.EVENTS) > -1) {
|
|
3090
2803
|
var supportedEvents = vizConfig.events;
|
|
3091
2804
|
Object.keys(supportedEvents).forEach(function (eventName) {
|
|
3092
2805
|
var eventCallbackPropName = lodash_1.camelCase("on.".concat(eventName));
|
|
3093
|
-
eventCallbackProps[eventCallbackPropName] = null;
|
|
2806
|
+
eventCallbackProps[eventCallbackPropName] = null;
|
|
2807
|
+
// todo: refactor single value and single value icon to send payload from viz
|
|
3094
2808
|
// then remove these lines
|
|
3095
|
-
|
|
3096
2809
|
var payloadKeys = supportedEvents[eventName].payloadKeys;
|
|
3097
2810
|
var payload = {};
|
|
3098
|
-
|
|
3099
2811
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
3100
2812
|
payloadKeys.forEach(function (p) {
|
|
3101
2813
|
payload[p] = evaluatedOptionsToUse[p];
|
|
3102
2814
|
});
|
|
3103
2815
|
}
|
|
3104
|
-
|
|
3105
2816
|
eventCallbackProps[eventCallbackPropName] = function (ev) {
|
|
3106
2817
|
if (ev && ev.payload) {
|
|
3107
2818
|
payload = ev.payload;
|
|
3108
2819
|
}
|
|
3109
|
-
|
|
3110
2820
|
return onEventTrigger({
|
|
3111
2821
|
originalEvent: ev,
|
|
3112
2822
|
payload: payload,
|
|
@@ -3114,9 +2824,8 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
3114
2824
|
});
|
|
3115
2825
|
};
|
|
3116
2826
|
});
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
|
|
2827
|
+
}
|
|
2828
|
+
// compute pure viz props which are not from options
|
|
3120
2829
|
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
3121
2830
|
themeFunc: themeFunc
|
|
3122
2831
|
}));
|
|
@@ -3134,19 +2843,15 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
3134
2843
|
* In future, we could automatically detect which all datasources are being used
|
|
3135
2844
|
* and bind those magically to pagination/sorting behavior.
|
|
3136
2845
|
*/
|
|
3137
|
-
|
|
3138
2846
|
var dataSourceMetadata = {};
|
|
3139
2847
|
var OptionKey = 'paginateDataSourceKey';
|
|
3140
2848
|
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
3141
|
-
|
|
3142
2849
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
3143
2850
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
3144
2851
|
var meta = lodash_1.get(dataSources, [paginateDataSourceKey, 'meta'], {});
|
|
3145
|
-
|
|
3146
2852
|
var handleRequestParamsChange = function handleRequestParamsChange(payload) {
|
|
3147
2853
|
return onRequestParamsChange(paginateDataSourceKey, payload);
|
|
3148
2854
|
};
|
|
3149
|
-
|
|
3150
2855
|
var sortParams = getSorting_1.getSortingParams({
|
|
3151
2856
|
requestParams: requestParams,
|
|
3152
2857
|
meta: meta,
|
|
@@ -3162,25 +2867,26 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
3162
2867
|
paginatorParams: paginatorParams
|
|
3163
2868
|
};
|
|
3164
2869
|
}
|
|
3165
|
-
|
|
2870
|
+
// if were using webworkers and this is the first render we dont want to show a viz with missing data so we return null
|
|
2871
|
+
if (useAsyncEvaluatedOptions && Object.keys(evaluatedOptionsToUse).length === 0) {
|
|
2872
|
+
return null;
|
|
2873
|
+
}
|
|
3166
2874
|
return React.createElement(SanitizedReactViz, Object.assign({
|
|
3167
2875
|
mode: mode,
|
|
3168
2876
|
width: width,
|
|
3169
2877
|
height: height
|
|
3170
2878
|
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
3171
2879
|
};
|
|
3172
|
-
|
|
3173
2880
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
3174
2881
|
DashboardViz.defaultProps = Object.assign(Object.assign(Object.assign({}, SplunkVisualization_1.default.defaultProps), ReactViz.defaultProps), {
|
|
3175
2882
|
// using withTheme requires component to receive theme prop. In case the consumer did not provide ThemeProvider, a default empty object will prevent warnings.
|
|
3176
2883
|
theme: {}
|
|
3177
|
-
});
|
|
3178
|
-
|
|
3179
|
-
DashboardViz.config = vizConfig;
|
|
3180
|
-
|
|
2884
|
+
});
|
|
2885
|
+
// attach viz config
|
|
2886
|
+
DashboardViz.config = vizConfig;
|
|
2887
|
+
// @ts-ignore: TODO fix sc upgrade TS issues
|
|
3181
2888
|
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz, disableEditModeCover), useIconPlaceholder));
|
|
3182
2889
|
};
|
|
3183
|
-
|
|
3184
2890
|
exports.default = withDashboardViz;
|
|
3185
2891
|
|
|
3186
2892
|
/***/ }),
|
|
@@ -3227,61 +2933,48 @@ module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
|
3227
2933
|
|
|
3228
2934
|
|
|
3229
2935
|
var _classCallCheck = __webpack_require__(11);
|
|
3230
|
-
|
|
3231
2936
|
Object.defineProperty(exports, "__esModule", {
|
|
3232
2937
|
value: true
|
|
3233
2938
|
});
|
|
3234
2939
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
3235
2940
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
3236
|
-
|
|
3237
2941
|
var T = __webpack_require__(1);
|
|
3238
|
-
|
|
3239
2942
|
var lodash_1 = __webpack_require__(3);
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
2943
|
+
var VizActionHandler_1 = __webpack_require__(42);
|
|
2944
|
+
// this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
3244
2945
|
exports.INITIAL_WIDTH = 250;
|
|
3245
2946
|
exports.INITIAL_HEIGHT = 250;
|
|
3246
2947
|
/**
|
|
3247
2948
|
* A Splunk visualization
|
|
3248
2949
|
*/
|
|
3249
|
-
|
|
3250
2950
|
var SplunkVisualization = function SplunkVisualization() {
|
|
3251
2951
|
_classCallCheck(this, SplunkVisualization);
|
|
3252
2952
|
};
|
|
3253
|
-
|
|
3254
2953
|
SplunkVisualization.propTypes = {
|
|
3255
2954
|
/**
|
|
3256
2955
|
* display mode
|
|
3257
2956
|
*/
|
|
3258
2957
|
mode: T.oneOf(['view', 'edit', 'export']).isRequired,
|
|
3259
|
-
|
|
3260
2958
|
/**
|
|
3261
2959
|
* width in pixel or string, defaults to 100%
|
|
3262
2960
|
*/
|
|
3263
2961
|
width: T.oneOfType([T.string, T.number]).isRequired,
|
|
3264
|
-
|
|
3265
2962
|
/**
|
|
3266
2963
|
* height in pixel or string
|
|
3267
2964
|
*/
|
|
3268
2965
|
height: T.oneOfType([T.string, T.number]).isRequired,
|
|
3269
|
-
|
|
3270
2966
|
/**
|
|
3271
2967
|
* visualization context used for dynamic option evaluation
|
|
3272
2968
|
*/
|
|
3273
2969
|
context: T.object,
|
|
3274
|
-
|
|
3275
2970
|
/**
|
|
3276
2971
|
* visualization formatting options
|
|
3277
2972
|
*/
|
|
3278
2973
|
options: T.object,
|
|
3279
|
-
|
|
3280
2974
|
/**
|
|
3281
2975
|
* A callback to update formatting options
|
|
3282
2976
|
*/
|
|
3283
2977
|
onOptionsChange: T.func,
|
|
3284
|
-
|
|
3285
2978
|
/**
|
|
3286
2979
|
* datasource state which include data and request params, object key indicate the datasource type.
|
|
3287
2980
|
*/
|
|
@@ -3290,7 +2983,6 @@ SplunkVisualization.propTypes = {
|
|
|
3290
2983
|
* current request params
|
|
3291
2984
|
*/
|
|
3292
2985
|
requestParams: T.object,
|
|
3293
|
-
|
|
3294
2986
|
/**
|
|
3295
2987
|
* current dataset
|
|
3296
2988
|
*/
|
|
@@ -3298,7 +2990,6 @@ SplunkVisualization.propTypes = {
|
|
|
3298
2990
|
fields: T.array,
|
|
3299
2991
|
columns: T.array
|
|
3300
2992
|
}),
|
|
3301
|
-
|
|
3302
2993
|
/**
|
|
3303
2994
|
* error
|
|
3304
2995
|
*/
|
|
@@ -3306,35 +2997,29 @@ SplunkVisualization.propTypes = {
|
|
|
3306
2997
|
level: T.string,
|
|
3307
2998
|
message: T.string
|
|
3308
2999
|
}),
|
|
3309
|
-
|
|
3310
3000
|
/**
|
|
3311
3001
|
* meta data that came with the dataset
|
|
3312
3002
|
*/
|
|
3313
3003
|
meta: T.object
|
|
3314
3004
|
})),
|
|
3315
|
-
|
|
3316
3005
|
/**
|
|
3317
3006
|
* A callback to trigger event
|
|
3318
3007
|
*/
|
|
3319
3008
|
onEventTrigger: T.func,
|
|
3320
|
-
|
|
3321
3009
|
/**
|
|
3322
3010
|
* Inform viz if there are handlers listening to events
|
|
3323
3011
|
*/
|
|
3324
3012
|
hasEventHandlers: T.bool,
|
|
3325
|
-
|
|
3326
3013
|
/**
|
|
3327
3014
|
* A callback to communicate computed props to a consumer
|
|
3328
3015
|
*/
|
|
3329
3016
|
onComputedProps: T.func,
|
|
3330
|
-
|
|
3331
3017
|
/**
|
|
3332
3018
|
* A callback to obtain visualization api
|
|
3333
3019
|
*/
|
|
3334
3020
|
vizActionHandlerRef: T.func,
|
|
3335
3021
|
loading: T.bool,
|
|
3336
3022
|
theme: T.object,
|
|
3337
|
-
|
|
3338
3023
|
/**
|
|
3339
3024
|
* A callback to request new data with updated request params
|
|
3340
3025
|
*/
|
|
@@ -3343,7 +3028,6 @@ SplunkVisualization.propTypes = {
|
|
|
3343
3028
|
/**
|
|
3344
3029
|
*
|
|
3345
3030
|
*/
|
|
3346
|
-
|
|
3347
3031
|
SplunkVisualization.defaultProps = {
|
|
3348
3032
|
// BaseVisualization in dashboard-visualizations uses 100% for width but 250 for height
|
|
3349
3033
|
width: '100%',
|
|
@@ -3379,22 +3063,19 @@ exports.default = SplunkVisualization;
|
|
|
3379
3063
|
|
|
3380
3064
|
|
|
3381
3065
|
var _classCallCheck = __webpack_require__(11);
|
|
3382
|
-
|
|
3383
3066
|
var _createClass = __webpack_require__(22);
|
|
3384
|
-
|
|
3385
3067
|
Object.defineProperty(exports, "__esModule", {
|
|
3386
3068
|
value: true
|
|
3387
3069
|
});
|
|
3388
3070
|
exports.DefaultVizActionHandler = void 0;
|
|
3389
|
-
|
|
3390
3071
|
var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
3391
3072
|
function DefaultVizActionHandler() {
|
|
3392
3073
|
_classCallCheck(this, DefaultVizActionHandler);
|
|
3393
3074
|
}
|
|
3394
|
-
|
|
3395
3075
|
_createClass(DefaultVizActionHandler, [{
|
|
3396
3076
|
key: "focus",
|
|
3397
|
-
value: function focus() {
|
|
3077
|
+
value: function focus() {
|
|
3078
|
+
// noop
|
|
3398
3079
|
}
|
|
3399
3080
|
}, {
|
|
3400
3081
|
key: "snapshot",
|
|
@@ -3402,10 +3083,8 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
3402
3083
|
return null; // noop
|
|
3403
3084
|
}
|
|
3404
3085
|
}]);
|
|
3405
|
-
|
|
3406
3086
|
return DefaultVizActionHandler;
|
|
3407
3087
|
}();
|
|
3408
|
-
|
|
3409
3088
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
3410
3089
|
|
|
3411
3090
|
/***/ }),
|
|
@@ -3434,9 +3113,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3434
3113
|
value: true
|
|
3435
3114
|
});
|
|
3436
3115
|
exports.useDeepMemo = void 0;
|
|
3437
|
-
|
|
3438
3116
|
var react_1 = __webpack_require__(0);
|
|
3439
|
-
|
|
3440
3117
|
var lodash_1 = __webpack_require__(3);
|
|
3441
3118
|
/**
|
|
3442
3119
|
* This hook evaluates and stores the result of a passed function and only
|
|
@@ -3451,21 +3128,16 @@ var lodash_1 = __webpack_require__(3);
|
|
|
3451
3128
|
* @param fn the function to be executed and
|
|
3452
3129
|
* @param dependencies an array of dependencies
|
|
3453
3130
|
*/
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
3131
|
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
3457
3132
|
var ref = react_1.useRef();
|
|
3458
|
-
|
|
3459
3133
|
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
3460
3134
|
ref.current = {
|
|
3461
3135
|
dependencies: dependencies,
|
|
3462
3136
|
value: fn()
|
|
3463
3137
|
};
|
|
3464
3138
|
}
|
|
3465
|
-
|
|
3466
3139
|
return ref.current.value;
|
|
3467
3140
|
};
|
|
3468
|
-
|
|
3469
3141
|
exports.useDeepMemo = useDeepMemo;
|
|
3470
3142
|
|
|
3471
3143
|
/***/ }),
|
|
@@ -3480,27 +3152,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3480
3152
|
value: true
|
|
3481
3153
|
});
|
|
3482
3154
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
3483
|
-
|
|
3484
3155
|
var React = __webpack_require__(0);
|
|
3485
|
-
|
|
3486
3156
|
var T = __webpack_require__(1);
|
|
3487
|
-
|
|
3488
3157
|
var i18n_1 = __webpack_require__(2);
|
|
3489
|
-
|
|
3490
3158
|
var Message_1 = __webpack_require__(9);
|
|
3491
|
-
|
|
3492
3159
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
3493
3160
|
/**
|
|
3494
3161
|
* @method isMissing
|
|
3495
3162
|
* @param {any} v
|
|
3496
3163
|
* @returns {boolean} true if the input value === null or undefined
|
|
3497
3164
|
*/
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
3165
|
var isMissing = function isMissing(v) {
|
|
3501
3166
|
return v === null || v === undefined;
|
|
3502
3167
|
};
|
|
3503
|
-
|
|
3504
3168
|
exports.isMissing = isMissing;
|
|
3505
3169
|
/**
|
|
3506
3170
|
* @method misskingKeys
|
|
@@ -3508,13 +3172,11 @@ exports.isMissing = isMissing;
|
|
|
3508
3172
|
* @param {object} target
|
|
3509
3173
|
* @returns {string[]} the keys of missing required props
|
|
3510
3174
|
*/
|
|
3511
|
-
|
|
3512
3175
|
var missingKeys = function missingKeys(keys, target) {
|
|
3513
3176
|
return keys.filter(function (k) {
|
|
3514
3177
|
return exports.isMissing(target[k]);
|
|
3515
3178
|
});
|
|
3516
3179
|
};
|
|
3517
|
-
|
|
3518
3180
|
exports.missingKeys = missingKeys;
|
|
3519
3181
|
var propTypes = {
|
|
3520
3182
|
width: T.oneOfType([T.string, T.number]),
|
|
@@ -3528,11 +3190,10 @@ var propTypes = {
|
|
|
3528
3190
|
* @param {MissingPropsProps} props
|
|
3529
3191
|
* @returns {React.ReactElement}
|
|
3530
3192
|
*/
|
|
3531
|
-
|
|
3532
3193
|
var MissingPropsMessage = function MissingPropsMessage(props) {
|
|
3533
3194
|
var width = props.width,
|
|
3534
|
-
|
|
3535
|
-
|
|
3195
|
+
height = props.height,
|
|
3196
|
+
missingProps = props.missingProps;
|
|
3536
3197
|
return React.createElement(Message_1.default, {
|
|
3537
3198
|
"data-test": "message",
|
|
3538
3199
|
width: width,
|
|
@@ -3540,7 +3201,6 @@ var MissingPropsMessage = function MissingPropsMessage(props) {
|
|
|
3540
3201
|
message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
|
|
3541
3202
|
});
|
|
3542
3203
|
};
|
|
3543
|
-
|
|
3544
3204
|
exports.MissingPropsMessage = MissingPropsMessage;
|
|
3545
3205
|
exports.MissingPropsMessage.propTypes = propTypes;
|
|
3546
3206
|
exports.MissingPropsMessage.defaultProps = {
|
|
@@ -3560,19 +3220,15 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
3560
3220
|
Object.defineProperty(exports, "__esModule", {
|
|
3561
3221
|
value: true
|
|
3562
3222
|
});
|
|
3563
|
-
|
|
3564
3223
|
var React = __webpack_require__(0);
|
|
3565
|
-
|
|
3566
3224
|
var styled_components_1 = __webpack_require__(4);
|
|
3567
|
-
|
|
3568
3225
|
var hocUtils_1 = __webpack_require__(15);
|
|
3569
|
-
|
|
3570
3226
|
var Cover = styled_components_1.default.div.withConfig({
|
|
3571
3227
|
displayName: "withEditModeCover__Cover",
|
|
3572
3228
|
componentId: "sc-1gsbnxb-0"
|
|
3573
3229
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3574
3230
|
var Blocker = styled_components_1.default.div.attrs({
|
|
3575
|
-
'data-splunk-visualization-version': "25.
|
|
3231
|
+
'data-splunk-visualization-version': "25.8.1 - 742d5fb96"
|
|
3576
3232
|
}).withConfig({
|
|
3577
3233
|
displayName: "withEditModeCover__Blocker",
|
|
3578
3234
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3583,7 +3239,6 @@ var Blocker = styled_components_1.default.div.attrs({
|
|
|
3583
3239
|
* @param {ExtendedDashViz} Visualization
|
|
3584
3240
|
* @returns {ExtendedDashViz} Wrapper
|
|
3585
3241
|
*/
|
|
3586
|
-
|
|
3587
3242
|
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
3588
3243
|
var Wrapper = function Wrapper(props) {
|
|
3589
3244
|
var mode = props.mode;
|
|
@@ -3592,14 +3247,12 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
3592
3247
|
"data-test": "edit-mode-cover"
|
|
3593
3248
|
}));
|
|
3594
3249
|
};
|
|
3595
|
-
|
|
3596
3250
|
hocUtils_1.extendStaticWrapperProps({
|
|
3597
3251
|
Wrapper: Wrapper,
|
|
3598
3252
|
Visualization: Visualization
|
|
3599
3253
|
});
|
|
3600
3254
|
return Wrapper;
|
|
3601
3255
|
};
|
|
3602
|
-
|
|
3603
3256
|
exports.default = withEditModeCover;
|
|
3604
3257
|
|
|
3605
3258
|
/***/ }),
|
|
@@ -3612,59 +3265,45 @@ exports.default = withEditModeCover;
|
|
|
3612
3265
|
|
|
3613
3266
|
var __rest = this && this.__rest || function (s, e) {
|
|
3614
3267
|
var t = {};
|
|
3615
|
-
|
|
3616
3268
|
for (var p in s) {
|
|
3617
3269
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3618
3270
|
}
|
|
3619
|
-
|
|
3620
3271
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3621
3272
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
3622
3273
|
}
|
|
3623
3274
|
return t;
|
|
3624
3275
|
};
|
|
3625
|
-
|
|
3626
3276
|
Object.defineProperty(exports, "__esModule", {
|
|
3627
3277
|
value: true
|
|
3628
3278
|
});
|
|
3629
3279
|
exports.themes = exports.computeVizProps = exports.PureSingleValue = exports.config = void 0;
|
|
3630
|
-
|
|
3631
|
-
var SingleValue_1 = __webpack_require__(485);
|
|
3632
|
-
|
|
3280
|
+
var SingleValue_1 = __webpack_require__(484);
|
|
3633
3281
|
var withDashboardViz_1 = __webpack_require__(36);
|
|
3634
|
-
|
|
3635
3282
|
var singleValueUtils_1 = __webpack_require__(24);
|
|
3636
|
-
|
|
3637
3283
|
var config_1 = __webpack_require__(464);
|
|
3638
|
-
|
|
3639
3284
|
var withTrellis_1 = __webpack_require__(102);
|
|
3640
|
-
|
|
3641
3285
|
exports.config = config_1.default;
|
|
3642
3286
|
exports.PureSingleValue = SingleValue_1.default;
|
|
3643
|
-
|
|
3644
3287
|
var computeVizProps = function computeVizProps(_a) {
|
|
3645
3288
|
var themeFunc = _a.themeFunc,
|
|
3646
|
-
|
|
3647
|
-
|
|
3289
|
+
props = __rest(_a, ["themeFunc"]);
|
|
3648
3290
|
var defaultThemeColorVariables = ['defaultFontColor', 'defaultBackgroundColor', 'defaultBlockFontColor', 'defaultSparklineStrokeColor', 'sparklineSeverityColors'];
|
|
3649
3291
|
var defaultThemeColors = {};
|
|
3650
3292
|
defaultThemeColorVariables.forEach(function (variable) {
|
|
3651
3293
|
defaultThemeColors[variable] = themeFunc(variable);
|
|
3652
3294
|
});
|
|
3653
|
-
|
|
3654
3295
|
if (typeof defaultThemeColors.sparklineSeverityColors === 'string') {
|
|
3655
3296
|
// sparkline severity color defaults are stored as a stringified object inside platformViz themes, since @splunk/themes/pick does not accept objects for theme variable values
|
|
3656
3297
|
// convert stringified object into object if using platformviz themes
|
|
3657
3298
|
try {
|
|
3658
3299
|
defaultThemeColors.sparklineSeverityColors = JSON.parse(defaultThemeColors.sparklineSeverityColors);
|
|
3659
3300
|
} catch (e) {} // eslint-disable-line no-empty
|
|
3660
|
-
|
|
3661
3301
|
}
|
|
3662
3302
|
|
|
3663
3303
|
return Object.assign({
|
|
3664
3304
|
defaultThemeColors: defaultThemeColors
|
|
3665
3305
|
}, props);
|
|
3666
3306
|
};
|
|
3667
|
-
|
|
3668
3307
|
exports.computeVizProps = computeVizProps;
|
|
3669
3308
|
var viz = withTrellis_1.default(withDashboardViz_1.default({
|
|
3670
3309
|
ReactViz: SingleValue_1.default,
|
|
@@ -3686,53 +3325,30 @@ exports.default = viz;
|
|
|
3686
3325
|
|
|
3687
3326
|
|
|
3688
3327
|
var _toConsumableArray = __webpack_require__(7);
|
|
3689
|
-
|
|
3690
3328
|
Object.defineProperty(exports, "__esModule", {
|
|
3691
3329
|
value: true
|
|
3692
3330
|
});
|
|
3693
|
-
|
|
3694
3331
|
var i18n_1 = __webpack_require__(2);
|
|
3695
|
-
|
|
3696
3332
|
var schemaUtils_1 = __webpack_require__(16);
|
|
3697
|
-
|
|
3698
3333
|
var PresetPalettes_1 = __webpack_require__(60);
|
|
3699
|
-
|
|
3700
3334
|
var variables_1 = __webpack_require__(465);
|
|
3701
|
-
|
|
3702
3335
|
var pick_1 = __webpack_require__(23);
|
|
3703
|
-
|
|
3704
3336
|
var variables_2 = __webpack_require__(10);
|
|
3705
|
-
|
|
3706
3337
|
var visualization_icons_1 = __webpack_require__(51);
|
|
3707
|
-
|
|
3708
3338
|
var placeholders_1 = __webpack_require__(48);
|
|
3709
|
-
|
|
3710
3339
|
var singleValueContext_1 = __webpack_require__(133);
|
|
3711
|
-
|
|
3712
3340
|
var VizBehavior_1 = __webpack_require__(6);
|
|
3713
|
-
|
|
3714
3341
|
var DynamicMajorColorEditor_1 = __webpack_require__(95);
|
|
3715
|
-
|
|
3716
3342
|
var DynamicTrendColorEditor_1 = __webpack_require__(96);
|
|
3717
|
-
|
|
3718
3343
|
var DynamicBackgroundColorEditor_1 = __webpack_require__(97);
|
|
3719
|
-
|
|
3720
3344
|
var StaticMajorAndTrendLayout_1 = __webpack_require__(98);
|
|
3721
|
-
|
|
3722
3345
|
var StaticMajorColorEditor_1 = __webpack_require__(99);
|
|
3723
|
-
|
|
3724
3346
|
var StaticTrendColorEditor_1 = __webpack_require__(100);
|
|
3725
|
-
|
|
3726
3347
|
var StaticBackgroundColorEditor_1 = __webpack_require__(84);
|
|
3727
|
-
|
|
3728
3348
|
var configUtils_1 = __webpack_require__(19);
|
|
3729
|
-
|
|
3730
3349
|
var TrellisEditors_1 = __webpack_require__(101);
|
|
3731
|
-
|
|
3732
3350
|
var VizCategory_1 = __webpack_require__(35);
|
|
3733
|
-
|
|
3734
3351
|
var layoutUtils_1 = __webpack_require__(58);
|
|
3735
|
-
|
|
3736
3352
|
var dataContract = {
|
|
3737
3353
|
requiredDataSources: [{
|
|
3738
3354
|
name: 'primary',
|
|
@@ -3945,7 +3561,7 @@ var presets = [{
|
|
|
3945
3561
|
options: Object.assign({}, basePresetOptions)
|
|
3946
3562
|
}
|
|
3947
3563
|
}, {
|
|
3948
|
-
label: i18n_1._('Major
|
|
3564
|
+
label: i18n_1._('Major value'),
|
|
3949
3565
|
name: 'singleValue.majorValue',
|
|
3950
3566
|
value: {
|
|
3951
3567
|
context: Object.assign(Object.assign({}, basePresetContext), {
|
|
@@ -3956,7 +3572,7 @@ var presets = [{
|
|
|
3956
3572
|
})
|
|
3957
3573
|
}
|
|
3958
3574
|
}, {
|
|
3959
|
-
label: i18n_1._('Trend
|
|
3575
|
+
label: i18n_1._('Trend value'),
|
|
3960
3576
|
name: 'singleValue.trend',
|
|
3961
3577
|
value: {
|
|
3962
3578
|
context: Object.assign(Object.assign({}, basePresetContext), {
|
|
@@ -3967,7 +3583,7 @@ var presets = [{
|
|
|
3967
3583
|
})
|
|
3968
3584
|
}
|
|
3969
3585
|
}, {
|
|
3970
|
-
label: i18n_1._('Major
|
|
3586
|
+
label: i18n_1._('Major value and Trend value'),
|
|
3971
3587
|
name: 'singleValue.majorValueAndTrend',
|
|
3972
3588
|
value: {
|
|
3973
3589
|
context: Object.assign(Object.assign({}, basePresetContext), {
|
|
@@ -3990,10 +3606,10 @@ var presets = [{
|
|
|
3990
3606
|
backgroundColor: '> majorValue | rangeValue(backgroundColorEditorConfig)'
|
|
3991
3607
|
})
|
|
3992
3608
|
}
|
|
3993
|
-
}];
|
|
3609
|
+
}];
|
|
3610
|
+
// @TODO(pwied):
|
|
3994
3611
|
// remove once react-visualizations/SV was deprecated
|
|
3995
3612
|
// including unused sparklineFillColor
|
|
3996
|
-
|
|
3997
3613
|
var LIGHTMODE_SPARKLINE_AREA_COLOR = '#171D21';
|
|
3998
3614
|
var DARKMODE_SPARKLINE_AREA_COLOR = '#FFFFFF';
|
|
3999
3615
|
var themes = {
|
|
@@ -4201,7 +3817,7 @@ var editorConfig = [{
|
|
|
4201
3817
|
presets: presets,
|
|
4202
3818
|
value: function value(_ref3) {
|
|
4203
3819
|
var context = _ref3.context,
|
|
4204
|
-
|
|
3820
|
+
options = _ref3.options;
|
|
4205
3821
|
var initialPreset = configUtils_1.getInitialPreset(context, options, presets);
|
|
4206
3822
|
return initialPreset && initialPreset.label || null;
|
|
4207
3823
|
}
|
|
@@ -4264,19 +3880,16 @@ var editorConfig = [{
|
|
|
4264
3880
|
/**
|
|
4265
3881
|
* visualization configuration
|
|
4266
3882
|
*/
|
|
4267
|
-
|
|
4268
3883
|
var config = {
|
|
4269
3884
|
/**
|
|
4270
3885
|
* unique viz key
|
|
4271
3886
|
*/
|
|
4272
3887
|
key: 'splunk.singlevalue',
|
|
4273
|
-
|
|
4274
3888
|
/**
|
|
4275
3889
|
* viz name
|
|
4276
3890
|
*/
|
|
4277
3891
|
name: 'Single Value',
|
|
4278
3892
|
category: VizCategory_1.VizCategory.SINGLE_VALUE,
|
|
4279
|
-
|
|
4280
3893
|
/**
|
|
4281
3894
|
* viz icon
|
|
4282
3895
|
*/
|
|
@@ -4317,37 +3930,27 @@ module.exports = require("@splunk/visualization-themes/variables");
|
|
|
4317
3930
|
Object.defineProperty(exports, "__esModule", {
|
|
4318
3931
|
value: true
|
|
4319
3932
|
});
|
|
4320
|
-
|
|
4321
3933
|
var React = __webpack_require__(0);
|
|
4322
|
-
|
|
4323
3934
|
var colorUtils_1 = __webpack_require__(12);
|
|
4324
|
-
|
|
4325
3935
|
var variables_1 = __webpack_require__(10);
|
|
4326
|
-
|
|
4327
3936
|
var IconPlaceholder_1 = __webpack_require__(31);
|
|
4328
|
-
|
|
4329
3937
|
var VizBehavior_1 = __webpack_require__(6);
|
|
4330
|
-
|
|
4331
3938
|
var hocUtils_1 = __webpack_require__(15);
|
|
4332
|
-
|
|
4333
3939
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
4334
3940
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
4335
3941
|
var config = Visualization.config;
|
|
4336
3942
|
var themes = config.themes;
|
|
4337
|
-
|
|
4338
3943
|
var Wrapper = function Wrapper(props) {
|
|
4339
3944
|
var _a, _b;
|
|
4340
|
-
|
|
4341
3945
|
var dataSources = props.dataSources,
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
3946
|
+
loading = props.loading,
|
|
3947
|
+
options = props.options,
|
|
3948
|
+
height = props.height,
|
|
3949
|
+
width = props.width;
|
|
4346
3950
|
var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
|
|
4347
3951
|
var bgColorFromTheme = colorUtils_1.isColor(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
|
|
4348
3952
|
var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
|
|
4349
3953
|
var iconColor = variables_1.default.contentColorActive(props);
|
|
4350
|
-
|
|
4351
3954
|
if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
|
|
4352
3955
|
return React.createElement(IconPlaceholder_1.default, {
|
|
4353
3956
|
"data-test": "icon-placeholder",
|
|
@@ -4358,17 +3961,14 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
4358
3961
|
iconColor: iconColor
|
|
4359
3962
|
});
|
|
4360
3963
|
}
|
|
4361
|
-
|
|
4362
3964
|
return React.createElement(Visualization, Object.assign({}, props));
|
|
4363
3965
|
};
|
|
4364
|
-
|
|
4365
3966
|
hocUtils_1.extendStaticWrapperProps({
|
|
4366
3967
|
Wrapper: Wrapper,
|
|
4367
3968
|
Visualization: Visualization
|
|
4368
3969
|
});
|
|
4369
3970
|
return Wrapper;
|
|
4370
3971
|
};
|
|
4371
|
-
|
|
4372
3972
|
exports.default = withPlaceholder;
|
|
4373
3973
|
|
|
4374
3974
|
/***/ }),
|
|
@@ -4380,7 +3980,7 @@ module.exports = require("@splunk/visualization-icons/placeholders");
|
|
|
4380
3980
|
|
|
4381
3981
|
/***/ }),
|
|
4382
3982
|
|
|
4383
|
-
/***/
|
|
3983
|
+
/***/ 484:
|
|
4384
3984
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4385
3985
|
|
|
4386
3986
|
"use strict";
|
|
@@ -4454,23 +4054,22 @@ var propUtils_ = __webpack_require__(28);
|
|
|
4454
4054
|
|
|
4455
4055
|
|
|
4456
4056
|
|
|
4457
|
-
|
|
4458
4057
|
var SingleValueSparkline_SingleValueSparkline = function SingleValueSparkline(_ref) {
|
|
4459
4058
|
var width = _ref.width,
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4059
|
+
height = _ref.height,
|
|
4060
|
+
data = _ref.data,
|
|
4061
|
+
fill = _ref.fill,
|
|
4062
|
+
_ref$fillOpacity = _ref.fillOpacity,
|
|
4063
|
+
fillOpacity = _ref$fillOpacity === void 0 ? 0.2 : _ref$fillOpacity,
|
|
4064
|
+
stroke = _ref.stroke,
|
|
4065
|
+
showTooltip = _ref.showTooltip,
|
|
4066
|
+
isArea = _ref.isArea,
|
|
4067
|
+
_ref$lineLength = _ref.lineLength,
|
|
4068
|
+
lineLength = _ref$lineLength === void 0 ? 0 : _ref$lineLength,
|
|
4069
|
+
_ref$endDotCount = _ref.endDotCount,
|
|
4070
|
+
endDotCount = _ref$endDotCount === void 0 ? 0 : _ref$endDotCount,
|
|
4071
|
+
_ref$acceptNull = _ref.acceptNull,
|
|
4072
|
+
acceptNull = _ref$acceptNull === void 0 ? true : _ref$acceptNull;
|
|
4474
4073
|
return /*#__PURE__*/external_react_default.a.createElement(Line_default.a, {
|
|
4475
4074
|
lineColor: Object(propUtils_["formatColor"])(stroke),
|
|
4476
4075
|
fillColor: Object(propUtils_["formatColor"])(fill),
|
|
@@ -4495,7 +4094,6 @@ var SingleValueSparkline_SingleValueSparkline = function SingleValueSparkline(_r
|
|
|
4495
4094
|
}
|
|
4496
4095
|
});
|
|
4497
4096
|
};
|
|
4498
|
-
|
|
4499
4097
|
SingleValueSparkline_SingleValueSparkline.propTypes = {
|
|
4500
4098
|
acceptNull: external_prop_types_default.a.bool,
|
|
4501
4099
|
data: external_prop_types_default.a.arrayOf(external_prop_types_default.a.number),
|
|
@@ -4527,6 +4125,7 @@ var CONTENT_NEXT_TO_SPARKLINE_WIDTH_ALLOCATION_RATIO = 0.4;
|
|
|
4527
4125
|
var LINEHEIGHT_FACTOR = 1.2;
|
|
4528
4126
|
var CONTENT_SPARKLINE_SPACING = 16;
|
|
4529
4127
|
var VALID_SPARKLINE_POSITIONS = ['below', 'before', 'after', 'off'];
|
|
4128
|
+
|
|
4530
4129
|
/*
|
|
4531
4130
|
* @method getUnderLabelHeight
|
|
4532
4131
|
* @param {Object} props
|
|
@@ -4534,12 +4133,12 @@ var VALID_SPARKLINE_POSITIONS = ['below', 'before', 'after', 'off'];
|
|
|
4534
4133
|
* @param {Number} underLabelFontSize
|
|
4535
4134
|
* @returns {Number} underLabelHeight
|
|
4536
4135
|
*/
|
|
4537
|
-
|
|
4538
4136
|
var getUnderLabelHeight = function getUnderLabelHeight(_ref) {
|
|
4539
4137
|
var underLabel = _ref.underLabel,
|
|
4540
|
-
|
|
4138
|
+
underLabelFontSize = _ref.underLabelFontSize;
|
|
4541
4139
|
return underLabel && underLabel.length ? underLabelFontSize * LINEHEIGHT_FACTOR : 0;
|
|
4542
4140
|
};
|
|
4141
|
+
|
|
4543
4142
|
/**
|
|
4544
4143
|
* Get the available width for the Single Value content part
|
|
4545
4144
|
* @method getAvailableContentWidth
|
|
@@ -4550,20 +4149,18 @@ var getUnderLabelHeight = function getUnderLabelHeight(_ref) {
|
|
|
4550
4149
|
* @param {Number} config.overflowArea
|
|
4551
4150
|
* @returns {Number} available content width to use
|
|
4552
4151
|
*/
|
|
4553
|
-
|
|
4554
4152
|
var getAvailableContentWidth = function getAvailableContentWidth(_ref2) {
|
|
4555
4153
|
var hasSparkline = _ref2.hasSparkline,
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4154
|
+
isSparklinePositionBelow = _ref2.isSparklinePositionBelow,
|
|
4155
|
+
containerWidth = _ref2.containerWidth,
|
|
4156
|
+
overflowArea = _ref2.overflowArea;
|
|
4559
4157
|
var overflowTotalArea = 2 * overflowArea; // left and right overflow
|
|
4560
|
-
|
|
4561
4158
|
if (hasSparkline && !isSparklinePositionBelow) {
|
|
4562
4159
|
return CONTENT_NEXT_TO_SPARKLINE_WIDTH_ALLOCATION_RATIO * containerWidth - overflowTotalArea;
|
|
4563
4160
|
}
|
|
4564
|
-
|
|
4565
4161
|
return containerWidth - overflowTotalArea;
|
|
4566
4162
|
};
|
|
4163
|
+
|
|
4567
4164
|
/*
|
|
4568
4165
|
* @method getAvailableContentHeight
|
|
4569
4166
|
* @param {Object} props
|
|
@@ -4574,52 +4171,49 @@ var getAvailableContentWidth = function getAvailableContentWidth(_ref2) {
|
|
|
4574
4171
|
* @param {Number} props.underLabelHeight
|
|
4575
4172
|
* @returns {Number} contentHeight
|
|
4576
4173
|
*/
|
|
4577
|
-
|
|
4578
4174
|
var getAvailableContentHeight = function getAvailableContentHeight(_ref3) {
|
|
4579
4175
|
var height = _ref3.height,
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4176
|
+
hasSparkline = _ref3.hasSparkline,
|
|
4177
|
+
isSparklinePositionBelow = _ref3.isSparklinePositionBelow,
|
|
4178
|
+
majorTextFontSize = _ref3.majorTextFontSize,
|
|
4179
|
+
_ref3$underLabelHeigh = _ref3.underLabelHeight,
|
|
4180
|
+
underLabelHeight = _ref3$underLabelHeigh === void 0 ? 0 : _ref3$underLabelHeigh;
|
|
4586
4181
|
if (hasSparkline && !isSparklinePositionBelow) {
|
|
4587
4182
|
return height;
|
|
4588
4183
|
}
|
|
4589
|
-
|
|
4590
4184
|
return majorTextFontSize + CONTENT_SPARKLINE_SPACING + underLabelHeight;
|
|
4591
4185
|
};
|
|
4186
|
+
|
|
4592
4187
|
/*
|
|
4593
4188
|
* @method isValidPosition
|
|
4594
4189
|
* @param {String} sparklinePosition
|
|
4595
4190
|
* @param {Bool} isValid
|
|
4596
4191
|
*/
|
|
4597
|
-
|
|
4598
4192
|
var isValidPosition = function isValidPosition(sparklinePosition) {
|
|
4599
4193
|
return VALID_SPARKLINE_POSITIONS.indexOf(sparklinePosition) > -1;
|
|
4600
4194
|
};
|
|
4195
|
+
|
|
4601
4196
|
/**
|
|
4602
4197
|
* Sanitize sparklineValues, convert all values to numbers
|
|
4603
4198
|
* @method parseSparklineValues
|
|
4604
4199
|
* @params {Array} sparklineValues
|
|
4605
4200
|
* @params {Array}
|
|
4606
4201
|
*/
|
|
4607
|
-
|
|
4608
4202
|
var displayUtils_parseSparklineValues = function parseSparklineValues(_ref4) {
|
|
4609
4203
|
var sparklineValues = _ref4.sparklineValues;
|
|
4610
|
-
return (
|
|
4204
|
+
return (
|
|
4205
|
+
// todo: need this function to maitain the behavior for dashboard-viz and react-viz.
|
|
4611
4206
|
// can refactor it after we discard dashboard-viz and react-viz repo
|
|
4612
4207
|
Array.isArray(sparklineValues) ? sparklineValues.map(function (v) {
|
|
4613
4208
|
var numV = Object(numberUtils_["parseNumber"])(v);
|
|
4614
|
-
|
|
4615
4209
|
if (numV === 0) {
|
|
4616
4210
|
return null;
|
|
4617
4211
|
}
|
|
4618
|
-
|
|
4619
4212
|
return numV || v;
|
|
4620
4213
|
}) : undefined
|
|
4621
4214
|
);
|
|
4622
4215
|
};
|
|
4216
|
+
|
|
4623
4217
|
/**
|
|
4624
4218
|
* Determine if a sparkline graph should be displayed
|
|
4625
4219
|
* @method shouldShowSparkline
|
|
@@ -4628,10 +4222,9 @@ var displayUtils_parseSparklineValues = function parseSparklineValues(_ref4) {
|
|
|
4628
4222
|
* @param {Array} props.sparklineValues List of values to display in graph
|
|
4629
4223
|
* @returns {Bool} true if flag is on and sparklineValues has data to show
|
|
4630
4224
|
*/
|
|
4631
|
-
|
|
4632
4225
|
var displayUtils_shouldShowSparkline = function shouldShowSparkline(_ref5) {
|
|
4633
4226
|
var showSparkline = _ref5.showSparkline,
|
|
4634
|
-
|
|
4227
|
+
sparklineValues = _ref5.sparklineValues;
|
|
4635
4228
|
return showSparkline && Array.isArray(sparklineValues) && sparklineValues.length > 1 && sparklineValues.every(function (v) {
|
|
4636
4229
|
return v === null || !Number.isNaN(Object(numberUtils_["parseNumber"])(v));
|
|
4637
4230
|
}) && sparklineValues.filter(function (v) {
|
|
@@ -4646,13 +4239,13 @@ var displayUtils_shouldShowSparkline = function shouldShowSparkline(_ref5) {
|
|
|
4646
4239
|
* @param {Bool} props.isSparklinePositionBelow
|
|
4647
4240
|
* @returns {Number} sparklineWidth
|
|
4648
4241
|
*/
|
|
4649
|
-
|
|
4650
4242
|
var getSparklineWidth = function getSparklineWidth(_ref6) {
|
|
4651
4243
|
var width = _ref6.width,
|
|
4652
|
-
|
|
4244
|
+
isSparklinePositionBelow = _ref6.isSparklinePositionBelow;
|
|
4653
4245
|
var spaceRatio = isSparklinePositionBelow ? 1 : 0.6;
|
|
4654
4246
|
return width * spaceRatio;
|
|
4655
4247
|
};
|
|
4248
|
+
|
|
4656
4249
|
/*
|
|
4657
4250
|
* getSparklineHeight
|
|
4658
4251
|
* @param {Object} props
|
|
@@ -4661,13 +4254,13 @@ var getSparklineWidth = function getSparklineWidth(_ref6) {
|
|
|
4661
4254
|
* @param {Bool} props.isSparklinePositionBelow
|
|
4662
4255
|
* @returns {Number} sparklineHeight
|
|
4663
4256
|
*/
|
|
4664
|
-
|
|
4665
4257
|
var getSparklineHeight = function getSparklineHeight(_ref7) {
|
|
4666
4258
|
var height = _ref7.height,
|
|
4667
|
-
|
|
4668
|
-
|
|
4259
|
+
contentHeight = _ref7.contentHeight,
|
|
4260
|
+
isSparklinePositionBelow = _ref7.isSparklinePositionBelow;
|
|
4669
4261
|
return isSparklinePositionBelow ? height - contentHeight : height;
|
|
4670
4262
|
};
|
|
4263
|
+
|
|
4671
4264
|
/*
|
|
4672
4265
|
* getSparklineSegments
|
|
4673
4266
|
* @param {Object} props
|
|
@@ -4675,12 +4268,12 @@ var getSparklineHeight = function getSparklineHeight(_ref7) {
|
|
|
4675
4268
|
* @param {Number} props.sparklineHighlightSegments
|
|
4676
4269
|
* @returns {Number} sparkline segments
|
|
4677
4270
|
*/
|
|
4678
|
-
|
|
4679
4271
|
var getSparklineSegments = function getSparklineSegments(_ref8) {
|
|
4680
4272
|
var hasSparkline = _ref8.hasSparkline,
|
|
4681
|
-
|
|
4273
|
+
sparklineHighlightSegments = _ref8.sparklineHighlightSegments;
|
|
4682
4274
|
return hasSparkline && typeof sparklineHighlightSegments === 'number' && sparklineHighlightSegments > 0 ? sparklineHighlightSegments + 1 : 0;
|
|
4683
4275
|
};
|
|
4276
|
+
|
|
4684
4277
|
/*
|
|
4685
4278
|
* getEndDots
|
|
4686
4279
|
* @param {Object} props
|
|
@@ -4688,12 +4281,12 @@ var getSparklineSegments = function getSparklineSegments(_ref8) {
|
|
|
4688
4281
|
* @param {Number} props.sparklineHighlightDots
|
|
4689
4282
|
* @returns {Number} sparkline end dots
|
|
4690
4283
|
*/
|
|
4691
|
-
|
|
4692
4284
|
var getEndDots = function getEndDots(_ref9) {
|
|
4693
4285
|
var hasSparkline = _ref9.hasSparkline,
|
|
4694
|
-
|
|
4286
|
+
sparklineHighlightDots = _ref9.sparklineHighlightDots;
|
|
4695
4287
|
return !hasSparkline || typeof sparklineHighlightDots === 'string' || sparklineHighlightDots < 0 ? 0 : sparklineHighlightDots;
|
|
4696
4288
|
};
|
|
4289
|
+
|
|
4697
4290
|
/**
|
|
4698
4291
|
* Get the colors for a sparkline graph based on severity
|
|
4699
4292
|
* @method getSparklineColors
|
|
@@ -4703,11 +4296,10 @@ var getEndDots = function getEndDots(_ref9) {
|
|
|
4703
4296
|
* @param {Object} props.sparklineSeverityColors
|
|
4704
4297
|
* @returns {Object} { background, stroke } colors
|
|
4705
4298
|
*/
|
|
4706
|
-
|
|
4707
4299
|
var displayUtils_getSparklineColors = function getSparklineColors(_ref10) {
|
|
4708
4300
|
var backgroundEnabled = _ref10.backgroundEnabled,
|
|
4709
|
-
|
|
4710
|
-
|
|
4301
|
+
backgroundColor = _ref10.backgroundColor,
|
|
4302
|
+
sparklineSeverityColors = _ref10.sparklineSeverityColors;
|
|
4711
4303
|
return Object(singleValueUtils["getGraphColors"])({
|
|
4712
4304
|
backgroundEnabled: backgroundEnabled,
|
|
4713
4305
|
backgroundColor: backgroundColor,
|
|
@@ -4716,7 +4308,6 @@ var displayUtils_getSparklineColors = function getSparklineColors(_ref10) {
|
|
|
4716
4308
|
if (color === colorConstants_["SPARKLINE_WHITE"]) {
|
|
4717
4309
|
return sparklineSeverityColors.none;
|
|
4718
4310
|
}
|
|
4719
|
-
|
|
4720
4311
|
return {
|
|
4721
4312
|
background: Object(singleValueUtils["darken"])(color),
|
|
4722
4313
|
stroke: colorConstants_["SPARKLINE_WHITE"]
|
|
@@ -4724,6 +4315,7 @@ var displayUtils_getSparklineColors = function getSparklineColors(_ref10) {
|
|
|
4724
4315
|
}
|
|
4725
4316
|
});
|
|
4726
4317
|
};
|
|
4318
|
+
|
|
4727
4319
|
/*
|
|
4728
4320
|
* getSparklines
|
|
4729
4321
|
* @param {Object} props
|
|
@@ -4736,15 +4328,14 @@ var displayUtils_getSparklineColors = function getSparklineColors(_ref10) {
|
|
|
4736
4328
|
* @param {Number} props.sparklineHighlightDots
|
|
4737
4329
|
* @returns {Object} { sparklineWidth, sparklineHeight, sparklineSegments, endDots }
|
|
4738
4330
|
*/
|
|
4739
|
-
|
|
4740
4331
|
var getSparklines = function getSparklines(_ref11) {
|
|
4741
4332
|
var width = _ref11.width,
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4333
|
+
height = _ref11.height,
|
|
4334
|
+
contentHeight = _ref11.contentHeight,
|
|
4335
|
+
hasSparkline = _ref11.hasSparkline,
|
|
4336
|
+
isSparklinePositionBelow = _ref11.isSparklinePositionBelow,
|
|
4337
|
+
sparklineHighlightSegments = _ref11.sparklineHighlightSegments,
|
|
4338
|
+
sparklineHighlightDots = _ref11.sparklineHighlightDots;
|
|
4748
4339
|
var sparklineWidth = getSparklineWidth({
|
|
4749
4340
|
width: width,
|
|
4750
4341
|
isSparklinePositionBelow: isSparklinePositionBelow
|
|
@@ -4772,38 +4363,25 @@ var getSparklines = function getSparklines(_ref11) {
|
|
|
4772
4363
|
// CONCATENATED MODULE: ./src/SingleValue/PureSingleValue/StandardLayout.jsx
|
|
4773
4364
|
|
|
4774
4365
|
|
|
4775
|
-
|
|
4776
4366
|
function ownKeys(object, enumerableOnly) {
|
|
4777
4367
|
var keys = Object.keys(object);
|
|
4778
|
-
|
|
4779
4368
|
if (Object.getOwnPropertySymbols) {
|
|
4780
4369
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
4781
|
-
|
|
4370
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
4782
4371
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
4783
|
-
});
|
|
4784
|
-
keys.push.apply(keys, symbols);
|
|
4372
|
+
})), keys.push.apply(keys, symbols);
|
|
4785
4373
|
}
|
|
4786
|
-
|
|
4787
4374
|
return keys;
|
|
4788
4375
|
}
|
|
4789
|
-
|
|
4790
4376
|
function _objectSpread(target) {
|
|
4791
4377
|
for (var i = 1; i < arguments.length; i++) {
|
|
4792
|
-
var source = arguments[i]
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
4799
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
4800
|
-
} else {
|
|
4801
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
4802
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4803
|
-
});
|
|
4804
|
-
}
|
|
4378
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
4379
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
4380
|
+
defineProperty_default()(target, key, source[key]);
|
|
4381
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
4382
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4383
|
+
});
|
|
4805
4384
|
}
|
|
4806
|
-
|
|
4807
4385
|
return target;
|
|
4808
4386
|
}
|
|
4809
4387
|
|
|
@@ -4812,7 +4390,6 @@ function _objectSpread(target) {
|
|
|
4812
4390
|
|
|
4813
4391
|
|
|
4814
4392
|
|
|
4815
|
-
|
|
4816
4393
|
var CONTENT_OVERFLOW_FADEOUT_AREA_PX = 16;
|
|
4817
4394
|
var Column = external_styled_components_default.a.div.withConfig({
|
|
4818
4395
|
displayName: "StandardLayout__Column",
|
|
@@ -4840,40 +4417,37 @@ var OverflowWrapper = external_styled_components_default.a.div.attrs(function ()
|
|
|
4840
4417
|
}, function (props) {
|
|
4841
4418
|
return props.overflowBackgroundColor;
|
|
4842
4419
|
});
|
|
4843
|
-
|
|
4844
4420
|
var StandardLayout_SingleValueContent = function SingleValueContent(_ref) {
|
|
4845
4421
|
var props = extends_default()({}, _ref);
|
|
4846
|
-
|
|
4847
4422
|
var backgroundColor = props.backgroundColor,
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4423
|
+
contentHeight = props.contentHeight,
|
|
4424
|
+
majorColor = props.majorColor,
|
|
4425
|
+
majorText = props.majorText,
|
|
4426
|
+
majorTextFontSize = props.majorTextFontSize,
|
|
4427
|
+
majorValueTitle = props.majorValueTitle,
|
|
4428
|
+
trendColor = props.trendColor,
|
|
4429
|
+
trendText = props.trendText,
|
|
4430
|
+
trendTextFontSize = props.trendTextFontSize,
|
|
4431
|
+
showTrendIndicator = props.showTrendIndicator,
|
|
4432
|
+
unit = props.unit,
|
|
4433
|
+
unitPosition = props.unitPosition,
|
|
4434
|
+
underLabel = props.underLabel,
|
|
4435
|
+
underLabelFontSize = props.underLabelFontSize,
|
|
4436
|
+
underLabelColor = props.underLabelColor,
|
|
4437
|
+
onValueClick = props.onValueClick,
|
|
4438
|
+
showSparkline = props.showSparkline,
|
|
4439
|
+
sparklinePosition = props.sparklinePosition,
|
|
4440
|
+
sparklineWidth = props.sparklineWidth,
|
|
4441
|
+
sparklineHeight = props.sparklineHeight,
|
|
4442
|
+
sparklineValues = props.sparklineValues,
|
|
4443
|
+
sparklineAreaColor = props.sparklineAreaColor,
|
|
4444
|
+
sparklineStrokeColor = props.sparklineStrokeColor,
|
|
4445
|
+
showSparklineTooltip = props.showSparklineTooltip,
|
|
4446
|
+
showSparklineAreaGraph = props.showSparklineAreaGraph,
|
|
4447
|
+
shouldSparklineAcceptNullData = props.shouldSparklineAcceptNullData,
|
|
4448
|
+
sparklineSegments = props.sparklineSegments,
|
|
4449
|
+
endDots = props.endDots;
|
|
4875
4450
|
var sparkline = null;
|
|
4876
|
-
|
|
4877
4451
|
if (displayUtils_shouldShowSparkline({
|
|
4878
4452
|
showSparkline: showSparkline,
|
|
4879
4453
|
sparklineValues: sparklineValues
|
|
@@ -4891,7 +4465,6 @@ var StandardLayout_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
4891
4465
|
endDotCount: endDots
|
|
4892
4466
|
});
|
|
4893
4467
|
}
|
|
4894
|
-
|
|
4895
4468
|
return /*#__PURE__*/external_react_default.a.createElement(Column, null, /*#__PURE__*/external_react_default.a.createElement(Row, null, sparklinePosition === 'before' && sparkline, /*#__PURE__*/external_react_default.a.createElement(OverflowWrapper, {
|
|
4896
4469
|
overflowBackgroundColor: backgroundColor,
|
|
4897
4470
|
height: contentHeight
|
|
@@ -4912,7 +4485,6 @@ var StandardLayout_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
4912
4485
|
onValueClick: onValueClick
|
|
4913
4486
|
})), sparklinePosition === 'after' && sparkline), sparklinePosition === 'below' && sparkline);
|
|
4914
4487
|
};
|
|
4915
|
-
|
|
4916
4488
|
StandardLayout_SingleValueContent.propTypes = _objectSpread(_objectSpread({}, SingleValueBasic["default"].propTypes), {}, {
|
|
4917
4489
|
contentHeight: external_prop_types_default.a.number,
|
|
4918
4490
|
backgroundColor: external_prop_types_default.a.string,
|
|
@@ -4980,44 +4552,42 @@ var Container = external_styled_components_default.a.div.withConfig({
|
|
|
4980
4552
|
})(["overflow:hidden;", ";"], function (props) {
|
|
4981
4553
|
return Object(style_["toDimension"])(pick_default()(props, ['width', 'height']));
|
|
4982
4554
|
});
|
|
4983
|
-
|
|
4984
4555
|
var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
4985
4556
|
var props = extends_default()({}, _ref);
|
|
4986
|
-
|
|
4987
4557
|
var width = props.width,
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
4558
|
+
_props$height = props.height,
|
|
4559
|
+
height = _props$height === void 0 ? 250 : _props$height,
|
|
4560
|
+
hasEventHandlers = props.hasEventHandlers,
|
|
4561
|
+
style = props.style,
|
|
4562
|
+
majorFontSize = props.majorFontSize,
|
|
4563
|
+
majorValue = props.majorValue,
|
|
4564
|
+
majorValueField = props.majorValueField,
|
|
4565
|
+
trendValue = props.trendValue,
|
|
4566
|
+
trendFontSize = props.trendFontSize,
|
|
4567
|
+
unitPosition = props.unitPosition,
|
|
4568
|
+
underLabelFontSize = props.underLabelFontSize,
|
|
4569
|
+
numberPrecision = props.numberPrecision,
|
|
4570
|
+
shouldUseThousandSeparators = props.shouldUseThousandSeparators,
|
|
4571
|
+
shouldAbbreviateTrendValue = props.shouldAbbreviateTrendValue,
|
|
4572
|
+
sparklineValues = props.sparklineValues,
|
|
4573
|
+
sparklineHighlightSegments = props.sparklineHighlightSegments,
|
|
4574
|
+
sparklineHighlightDots = props.sparklineHighlightDots,
|
|
4575
|
+
showSparklineAreaGraph = props.showSparklineAreaGraph,
|
|
4576
|
+
showSparklineTooltip = props.showSparklineTooltip,
|
|
4577
|
+
shouldSparklineAcceptNullData = props.shouldSparklineAcceptNullData,
|
|
4578
|
+
onValueClick = props.onValueClick,
|
|
4579
|
+
defaultFontColor = props.defaultFontColor,
|
|
4580
|
+
defaultBackgroundColor = props.defaultBackgroundColor,
|
|
4581
|
+
defaultBlockFontColor = props.defaultBlockFontColor,
|
|
4582
|
+
_props$sparklineSever = props.sparklineSeverityColors,
|
|
4583
|
+
sparklineSeverityColors = _props$sparklineSever === void 0 ? DEFAULT_SPARKLINE_SEVERITY_COLORS : _props$sparklineSever,
|
|
4584
|
+
sparklineAreaColor = props.sparklineAreaColor,
|
|
4585
|
+
defaultThemeColors = props.defaultThemeColors,
|
|
4586
|
+
splitByLayout = props.splitByLayout,
|
|
4587
|
+
_props$trellisKey = props.trellisKey,
|
|
4588
|
+
trellisKey = _props$trellisKey === void 0 ? '' : _props$trellisKey,
|
|
4589
|
+
_props$trellisSplitBy = props.trellisSplitBy,
|
|
4590
|
+
trellisSplitBy = _props$trellisSplitBy === void 0 ? '' : _props$trellisSplitBy;
|
|
5021
4591
|
var defaultColors = {
|
|
5022
4592
|
defaultFontColor: defaultFontColor,
|
|
5023
4593
|
defaultBackgroundColor: defaultBackgroundColor,
|
|
@@ -5029,58 +4599,56 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
5029
4599
|
var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout === layoutUtils["LAYOUT_TYPE"].Trellis;
|
|
5030
4600
|
var handleValueClick = Object(external_react_["useCallback"])(function (ev) {
|
|
5031
4601
|
return Object(singleValueUtils["handleValueClickCallback"])(ev, majorValue, majorValueField, trendValue, onValueClick, trellisEnabled, trellisSplitBy, trellisKey);
|
|
5032
|
-
}, [onValueClick, majorValue, majorValueField, trendValue, trellisEnabled, trellisSplitBy, trellisKey]);
|
|
5033
|
-
// compute colors
|
|
4602
|
+
}, [onValueClick, majorValue, majorValueField, trendValue, trellisEnabled, trellisSplitBy, trellisKey]);
|
|
5034
4603
|
|
|
4604
|
+
// FIXME todo 'compute colors' is not pure, it must be lifted into behavior or DSL
|
|
4605
|
+
// compute colors
|
|
5035
4606
|
var _computeColors = Object(singleValueUtils["computeColors"])(props, defaultColors),
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
4607
|
+
backgroundEnabled = _computeColors.backgroundEnabled,
|
|
4608
|
+
backgroundColor = _computeColors.backgroundColor,
|
|
4609
|
+
majorColor = _computeColors.majorColor,
|
|
4610
|
+
trendColor = _computeColors.trendColor,
|
|
4611
|
+
underLabelColor = _computeColors.underLabelColor; // TODO(fkurniawan): possibly remove getSparklineColors, since for the new viz package,
|
|
5041
4612
|
// the default is obtained from > themes.defaultSparklineStrokeColor
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
4613
|
var sparklineStrokeColor = props.sparklineStrokeColor || displayUtils_getSparklineColors({
|
|
5045
4614
|
backgroundEnabled: backgroundEnabled,
|
|
5046
4615
|
backgroundColor: backgroundColor,
|
|
5047
4616
|
sparklineSeverityColors: sparklineSeverityColors
|
|
5048
4617
|
}).stroke;
|
|
5049
|
-
|
|
5050
4618
|
var renderVisualization = function renderVisualization(_ref2) {
|
|
5051
4619
|
var containerWidth = _ref2.width,
|
|
5052
|
-
|
|
5053
|
-
|
|
4620
|
+
containerHeight = _ref2.height;
|
|
4621
|
+
// will update later based on text size
|
|
5054
4622
|
var _props$sparklineDispl = props.sparklineDisplay,
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
4623
|
+
sparklineDisplay = _props$sparklineDispl === void 0 ? 'below' : _props$sparklineDispl,
|
|
4624
|
+
_props$trendDisplay = props.trendDisplay,
|
|
4625
|
+
trendDisplay = _props$trendDisplay === void 0 ? 'absolute' : _props$trendDisplay,
|
|
4626
|
+
unit = props.unit,
|
|
4627
|
+
underLabel = props.underLabel; // todo: need this function to maitain the behavior for dashboard-viz and react-viz.
|
|
5060
4628
|
// can refactor it after we discard dashboard-viz and react-viz repo
|
|
5061
|
-
|
|
5062
4629
|
var parsedSparklineValues = displayUtils_parseSparklineValues({
|
|
5063
4630
|
sparklineValues: sparklineValues
|
|
5064
4631
|
});
|
|
5065
4632
|
var hasSparkline = displayUtils_shouldShowSparkline({
|
|
5066
4633
|
showSparkline: isValidPosition(sparklineDisplay) && sparklineDisplay !== 'off',
|
|
5067
4634
|
sparklineValues: parsedSparklineValues
|
|
5068
|
-
});
|
|
4635
|
+
});
|
|
5069
4636
|
|
|
4637
|
+
// by default, the sparkline position is always below
|
|
5070
4638
|
if (hasSparkline) {
|
|
5071
4639
|
if (!isValidPosition(sparklineDisplay)) {
|
|
5072
4640
|
sparklineDisplay = 'below';
|
|
5073
4641
|
}
|
|
5074
4642
|
}
|
|
5075
|
-
|
|
5076
4643
|
var isSparklinePositionBelow = hasSparkline && sparklineDisplay === 'below';
|
|
5077
4644
|
var contentWidth = getAvailableContentWidth({
|
|
5078
4645
|
hasSparkline: hasSparkline,
|
|
5079
4646
|
isSparklinePositionBelow: isSparklinePositionBelow,
|
|
5080
4647
|
containerWidth: containerWidth,
|
|
5081
4648
|
overflowArea: SingleValue_CONTENT_OVERFLOW_FADEOUT_AREA_PX
|
|
5082
|
-
});
|
|
4649
|
+
});
|
|
5083
4650
|
|
|
4651
|
+
// calculate major and trend text and font size
|
|
5084
4652
|
var toRemoveList = [{
|
|
5085
4653
|
key: 'sparklineDisplay',
|
|
5086
4654
|
value: 'off'
|
|
@@ -5094,30 +4662,28 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
5094
4662
|
key: 'unit',
|
|
5095
4663
|
value: ''
|
|
5096
4664
|
}];
|
|
5097
|
-
|
|
5098
4665
|
var _computeSingleValueCo = Object(singleValueUtils["computeSingleValueContent"])({
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
4666
|
+
majorValue: majorValue,
|
|
4667
|
+
trendValue: trendValue,
|
|
4668
|
+
majorFontSize: majorFontSize,
|
|
4669
|
+
trendFontSize: trendFontSize,
|
|
4670
|
+
trendDisplay: trendDisplay,
|
|
4671
|
+
contentWidth: contentWidth,
|
|
4672
|
+
contentHeight: containerHeight * DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO,
|
|
4673
|
+
containerWidth: containerWidth,
|
|
4674
|
+
containerHeight: containerHeight,
|
|
4675
|
+
unit: unit,
|
|
4676
|
+
numberPrecision: numberPrecision,
|
|
4677
|
+
shouldUseThousandSeparators: shouldUseThousandSeparators,
|
|
4678
|
+
shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
|
|
4679
|
+
toRemoveList: toRemoveList
|
|
4680
|
+
}),
|
|
4681
|
+
majorText = _computeSingleValueCo.majorText,
|
|
4682
|
+
trendText = _computeSingleValueCo.trendText,
|
|
4683
|
+
majorTextFontSize = _computeSingleValueCo.majorTextFontSize,
|
|
4684
|
+
trendTextFontSize = _computeSingleValueCo.trendTextFontSize,
|
|
4685
|
+
majorValueTitle = _computeSingleValueCo.majorValueTitle,
|
|
4686
|
+
smallVizProps = _computeSingleValueCo.smallVizProps;
|
|
5121
4687
|
if (!isEmpty_default()(smallVizProps)) {
|
|
5122
4688
|
sparklineDisplay = smallVizProps.sparklineDisplay;
|
|
5123
4689
|
trendDisplay = smallVizProps.trendDisplay;
|
|
@@ -5128,7 +4694,6 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
5128
4694
|
sparklineValues: parsedSparklineValues
|
|
5129
4695
|
});
|
|
5130
4696
|
}
|
|
5131
|
-
|
|
5132
4697
|
var contentHeight = getAvailableContentHeight({
|
|
5133
4698
|
height: containerHeight,
|
|
5134
4699
|
hasSparkline: hasSparkline,
|
|
@@ -5138,22 +4703,22 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
5138
4703
|
underLabel: underLabel,
|
|
5139
4704
|
underLabelFontSize: underLabelFontSize
|
|
5140
4705
|
})
|
|
5141
|
-
});
|
|
4706
|
+
});
|
|
5142
4707
|
|
|
4708
|
+
// calculate sparkline size and positions
|
|
5143
4709
|
var _getSparklines = getSparklines({
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
4710
|
+
width: containerWidth,
|
|
4711
|
+
height: containerHeight,
|
|
4712
|
+
contentHeight: contentHeight,
|
|
4713
|
+
hasSparkline: hasSparkline,
|
|
4714
|
+
isSparklinePositionBelow: isSparklinePositionBelow,
|
|
4715
|
+
sparklineHighlightSegments: sparklineHighlightSegments,
|
|
4716
|
+
sparklineHighlightDots: sparklineHighlightDots
|
|
4717
|
+
}),
|
|
4718
|
+
sparklineWidth = _getSparklines.sparklineWidth,
|
|
4719
|
+
sparklineHeight = _getSparklines.sparklineHeight,
|
|
4720
|
+
sparklineSegments = _getSparklines.sparklineSegments,
|
|
4721
|
+
endDots = _getSparklines.endDots;
|
|
5157
4722
|
return /*#__PURE__*/external_react_default.a.createElement(VizStyleWrapper["default"], {
|
|
5158
4723
|
backgroundColor: backgroundColor,
|
|
5159
4724
|
style: style,
|
|
@@ -5190,7 +4755,6 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
5190
4755
|
endDots: endDots
|
|
5191
4756
|
}));
|
|
5192
4757
|
};
|
|
5193
|
-
|
|
5194
4758
|
if (trellisEnabled) {
|
|
5195
4759
|
return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, /*#__PURE__*/external_react_default.a.createElement(TrellisTitle["TrellisTitle"], {
|
|
5196
4760
|
fontColor: defaultThemeColors === null || defaultThemeColors === void 0 ? void 0 : defaultThemeColors.defaultFontColor,
|
|
@@ -5203,7 +4767,6 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
5203
4767
|
return renderVisualization(containerDimension);
|
|
5204
4768
|
})));
|
|
5205
4769
|
}
|
|
5206
|
-
|
|
5207
4770
|
return /*#__PURE__*/external_react_default.a.createElement(Container, {
|
|
5208
4771
|
width: width,
|
|
5209
4772
|
height: height
|
|
@@ -5211,7 +4774,6 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
5211
4774
|
return renderVisualization(containerDimension);
|
|
5212
4775
|
}));
|
|
5213
4776
|
};
|
|
5214
|
-
|
|
5215
4777
|
SingleValue_SingleValue.propTypes = {
|
|
5216
4778
|
width: external_prop_types_default.a.oneOfType([external_prop_types_default.a.string, external_prop_types_default.a.number]),
|
|
5217
4779
|
height: external_prop_types_default.a.oneOfType([external_prop_types_default.a.string, external_prop_types_default.a.number]),
|
|
@@ -5272,10 +4834,11 @@ SingleValue_SingleValue.defaultProps = {
|
|
|
5272
4834
|
hasEventHandlers: false,
|
|
5273
4835
|
onValueClick: function onValueClick() {},
|
|
5274
4836
|
trellisKey: '',
|
|
5275
|
-
trellisSplitBy: ''
|
|
4837
|
+
trellisSplitBy: ''
|
|
4838
|
+
// fixme todo: a pure viz should not be passed a map of severity colors! This should be resolved
|
|
5276
4839
|
// by behaviors or DSL in future. Pure viz does not understand concepts such as severity.
|
|
5277
|
-
|
|
5278
4840
|
};
|
|
4841
|
+
|
|
5279
4842
|
/* harmony default export */ var PureSingleValue_SingleValue = __webpack_exports__["default"] = (SingleValue_SingleValue);
|
|
5280
4843
|
|
|
5281
4844
|
/***/ }),
|
|
@@ -5326,7 +4889,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5326
4889
|
});
|
|
5327
4890
|
exports.LAYOUT_TYPE = void 0;
|
|
5328
4891
|
var LAYOUT_TYPE;
|
|
5329
|
-
|
|
5330
4892
|
(function (LAYOUT_TYPE) {
|
|
5331
4893
|
LAYOUT_TYPE["Off"] = "off";
|
|
5332
4894
|
LAYOUT_TYPE["Trellis"] = "trellis";
|
|
@@ -5352,7 +4914,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5352
4914
|
});
|
|
5353
4915
|
exports.VizBehavior = void 0;
|
|
5354
4916
|
var VizBehavior;
|
|
5355
|
-
|
|
5356
4917
|
(function (VizBehavior) {
|
|
5357
4918
|
/**
|
|
5358
4919
|
* Dynamic Options Behavior.
|
|
@@ -5372,7 +4933,6 @@ var VizBehavior;
|
|
|
5372
4933
|
* missing.
|
|
5373
4934
|
* @type {string}
|
|
5374
4935
|
*/
|
|
5375
|
-
|
|
5376
4936
|
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
5377
4937
|
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
5378
4938
|
VizBehavior["TRELLIS"] = "trellis";
|
|
@@ -5428,11 +4988,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5428
4988
|
value: true
|
|
5429
4989
|
});
|
|
5430
4990
|
exports.TrellisTitle = exports.TRELLIS_TITLE_HEIGHT = void 0;
|
|
5431
|
-
|
|
5432
4991
|
var React = __webpack_require__(0);
|
|
5433
|
-
|
|
5434
4992
|
var styled_components_1 = __webpack_require__(4);
|
|
5435
|
-
|
|
5436
4993
|
exports.TRELLIS_TITLE_HEIGHT = 28;
|
|
5437
4994
|
var TrellisTitleText = styled_components_1.default.div.withConfig({
|
|
5438
4995
|
displayName: "TrellisTitle__TrellisTitleText",
|
|
@@ -5448,15 +5005,15 @@ var TrellisTitleDiv = styled_components_1.default.div.withConfig({
|
|
|
5448
5005
|
}, function (props) {
|
|
5449
5006
|
return props.backgroundColor;
|
|
5450
5007
|
});
|
|
5451
|
-
|
|
5452
5008
|
var TrellisTitle = function TrellisTitle(props) {
|
|
5009
|
+
var titleText = String(props.trellisKey).toString();
|
|
5453
5010
|
return React.createElement(TrellisTitleDiv, {
|
|
5454
5011
|
fontColor: props.fontColor,
|
|
5455
5012
|
backgroundColor: props.backgroundColor,
|
|
5456
|
-
"data-test": "trellis-title"
|
|
5457
|
-
|
|
5013
|
+
"data-test": "trellis-title",
|
|
5014
|
+
title: titleText
|
|
5015
|
+
}, React.createElement(TrellisTitleText, null, titleText));
|
|
5458
5016
|
};
|
|
5459
|
-
|
|
5460
5017
|
exports.TrellisTitle = TrellisTitle;
|
|
5461
5018
|
|
|
5462
5019
|
/***/ }),
|
|
@@ -5529,20 +5086,17 @@ var Text = external_styled_components_default.a.div.withConfig({
|
|
|
5529
5086
|
}, function (props) {
|
|
5530
5087
|
return props.size ? "margin-left: ".concat(parseInt(props.size, 10) * 0.2 || 5, "px;") : '';
|
|
5531
5088
|
});
|
|
5532
|
-
|
|
5533
5089
|
var TrendValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
5534
5090
|
var fontSize = _ref.fontSize,
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5091
|
+
color = _ref.color,
|
|
5092
|
+
value = _ref.value,
|
|
5093
|
+
text = _ref.text;
|
|
5538
5094
|
var TrendIndicator = false;
|
|
5539
|
-
|
|
5540
5095
|
if (parseFloat(value, 10) > 0) {
|
|
5541
5096
|
TrendIndicator = ArrowUp_default.a;
|
|
5542
5097
|
} else if (parseFloat(value, 10) < 0) {
|
|
5543
5098
|
TrendIndicator = ArrowDown_default.a;
|
|
5544
5099
|
}
|
|
5545
|
-
|
|
5546
5100
|
return /*#__PURE__*/external_react_default.a.createElement(Column, {
|
|
5547
5101
|
justify: "flex-end",
|
|
5548
5102
|
size: fontSize
|
|
@@ -5556,7 +5110,6 @@ var TrendValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
5556
5110
|
color: color
|
|
5557
5111
|
}, "".concat(text)));
|
|
5558
5112
|
};
|
|
5559
|
-
|
|
5560
5113
|
TrendValue_SingleValueContent.propTypes = {
|
|
5561
5114
|
fontSize: external_prop_types_default.a.number,
|
|
5562
5115
|
color: external_prop_types_default.a.string,
|
|
@@ -5597,44 +5150,37 @@ var MajorValue_Text = external_styled_components_default.a.div.withConfig({
|
|
|
5597
5150
|
if (!props.pseudoContent || !props.pseudoContentPosition) {
|
|
5598
5151
|
return '';
|
|
5599
5152
|
}
|
|
5600
|
-
|
|
5601
5153
|
return "&:".concat(props.pseudoContentPosition, " {\n // by default this pseudo element would inherit text-decoration from main element\n // and text-decoration could not be overwritten.\n // adding display: inline-block makes text decoration independent from main element.\n // => the unit will not be underlined if a user hovers over the main value\n display: inline-block;\n font-size: ").concat(props.pseudoContentFontSize, "px;\n position: relative;\n font-weight: normal;\n content: ").concat(props.pseudoContent, ";\n }");
|
|
5602
5154
|
});
|
|
5603
5155
|
var validUnitPositions = ['before', 'after'];
|
|
5604
|
-
|
|
5605
5156
|
var MajorValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
5606
5157
|
var color = _ref.color,
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5158
|
+
fontSize = _ref.fontSize,
|
|
5159
|
+
unitPosition = _ref.unitPosition,
|
|
5160
|
+
title = _ref.title,
|
|
5161
|
+
value = _ref.value,
|
|
5162
|
+
onValueClick = _ref.onValueClick,
|
|
5163
|
+
unit = _ref.unit;
|
|
5613
5164
|
var sanitizedUnit;
|
|
5614
5165
|
var sanitizedUnitPosition;
|
|
5615
|
-
|
|
5616
5166
|
if (typeof unit === 'string') {
|
|
5617
5167
|
sanitizedUnit = external_cssesc_default()(unit, {
|
|
5618
5168
|
wrap: true,
|
|
5619
5169
|
quotes: 'double'
|
|
5620
5170
|
});
|
|
5621
|
-
|
|
5622
5171
|
if (typeof unitPosition === 'string' && validUnitPositions.includes(unitPosition)) {
|
|
5623
5172
|
sanitizedUnitPosition = unitPosition;
|
|
5624
5173
|
} else {
|
|
5625
5174
|
sanitizedUnitPosition = 'after';
|
|
5626
5175
|
}
|
|
5627
5176
|
}
|
|
5628
|
-
|
|
5629
5177
|
var handleKeyDown = function handleKeyDown(e) {
|
|
5630
5178
|
if (e.keyCode !== 13) {
|
|
5631
5179
|
return;
|
|
5632
5180
|
}
|
|
5633
|
-
|
|
5634
5181
|
e.preventDefault();
|
|
5635
5182
|
onValueClick(e);
|
|
5636
5183
|
};
|
|
5637
|
-
|
|
5638
5184
|
return /*#__PURE__*/external_react_default.a.createElement(Row, {
|
|
5639
5185
|
size: fontSize
|
|
5640
5186
|
}, /*#__PURE__*/external_react_default.a.createElement(MajorValue_Text, {
|
|
@@ -5654,7 +5200,6 @@ var MajorValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
5654
5200
|
onKeyDown: handleKeyDown
|
|
5655
5201
|
}, value));
|
|
5656
5202
|
};
|
|
5657
|
-
|
|
5658
5203
|
MajorValue_SingleValueContent.propTypes = {
|
|
5659
5204
|
color: external_prop_types_default.a.string,
|
|
5660
5205
|
fontSize: external_prop_types_default.a.number,
|
|
@@ -5693,24 +5238,22 @@ var SingleValueBasic_Text = external_styled_components_default.a.div.withConfig(
|
|
|
5693
5238
|
}, singleValueUtils["DEFAULT_FONT_FAMILY"], function (props) {
|
|
5694
5239
|
return props.size || 12;
|
|
5695
5240
|
});
|
|
5696
|
-
|
|
5697
5241
|
var SingleValueBasic_SingleValueBasic = function SingleValueBasic(_ref) {
|
|
5698
5242
|
var props = extends_default()({}, _ref);
|
|
5699
|
-
|
|
5700
5243
|
var majorColor = props.majorColor,
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5244
|
+
majorTextFontSize = props.majorTextFontSize,
|
|
5245
|
+
majorText = props.majorText,
|
|
5246
|
+
majorValueTitle = props.majorValueTitle,
|
|
5247
|
+
trendColor = props.trendColor,
|
|
5248
|
+
trendTextFontSize = props.trendTextFontSize,
|
|
5249
|
+
trendText = props.trendText,
|
|
5250
|
+
showTrendIndicator = props.showTrendIndicator,
|
|
5251
|
+
unit = props.unit,
|
|
5252
|
+
unitPosition = props.unitPosition,
|
|
5253
|
+
underLabel = props.underLabel,
|
|
5254
|
+
underLabelFontSize = props.underLabelFontSize,
|
|
5255
|
+
underLabelColor = props.underLabelColor,
|
|
5256
|
+
onValueClick = props.onValueClick;
|
|
5714
5257
|
var trendIndicatorEnabled = trendText !== '' && showTrendIndicator;
|
|
5715
5258
|
return /*#__PURE__*/external_react_default.a.createElement(SingleValueBasic_Column, null, /*#__PURE__*/external_react_default.a.createElement(SingleValueBasic_Row, {
|
|
5716
5259
|
align: "baseline"
|
|
@@ -5723,8 +5266,7 @@ var SingleValueBasic_SingleValueBasic = function SingleValueBasic(_ref) {
|
|
|
5723
5266
|
value: majorText,
|
|
5724
5267
|
title: majorValueTitle,
|
|
5725
5268
|
onValueClick: onValueClick
|
|
5726
|
-
}), trendIndicatorEnabled &&
|
|
5727
|
-
/*#__PURE__*/
|
|
5269
|
+
}), trendIndicatorEnabled && /*#__PURE__*/
|
|
5728
5270
|
// Passing the same value for value and text is a temporary hold until completion of https://jira.splunk.com/browse/SCP-21371
|
|
5729
5271
|
external_react_default.a.createElement(TrendValue, {
|
|
5730
5272
|
"data-test": "TrendIndicator",
|
|
@@ -5740,7 +5282,6 @@ var SingleValueBasic_SingleValueBasic = function SingleValueBasic(_ref) {
|
|
|
5740
5282
|
color: underLabelColor
|
|
5741
5283
|
}, underLabel)));
|
|
5742
5284
|
};
|
|
5743
|
-
|
|
5744
5285
|
SingleValueBasic_SingleValueBasic.propTypes = {
|
|
5745
5286
|
majorText: external_prop_types_default.a.string,
|
|
5746
5287
|
majorColor: external_prop_types_default.a.string,
|
|
@@ -5863,7 +5404,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5863
5404
|
|
|
5864
5405
|
var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
5865
5406
|
var defaultContext = _ref.defaultContext,
|
|
5866
|
-
|
|
5407
|
+
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
5867
5408
|
return {
|
|
5868
5409
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Major value'),
|
|
5869
5410
|
option: 'majorColor',
|
|
@@ -5914,7 +5455,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5914
5455
|
|
|
5915
5456
|
var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
5916
5457
|
var defaultContext = _ref.defaultContext,
|
|
5917
|
-
|
|
5458
|
+
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
5918
5459
|
return {
|
|
5919
5460
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Trend value'),
|
|
5920
5461
|
option: 'trendColor',
|
|
@@ -5959,7 +5500,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5959
5500
|
|
|
5960
5501
|
var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_ref) {
|
|
5961
5502
|
var defaultContext = _ref.defaultContext,
|
|
5962
|
-
|
|
5503
|
+
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
5963
5504
|
return {
|
|
5964
5505
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
|
|
5965
5506
|
option: 'backgroundColor',
|