@splunk/visualizations 24.3.5 → 24.5.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/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_scp_theme.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_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_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_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_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_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_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_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_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_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_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_LinkGraph_LinkGraph_Basic_LinkGraph.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_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_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_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_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_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_Stringified_Numerical_dataSources.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_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_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_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_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_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_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_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_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_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_Change_The_Color_Of_Major_Value_Based_On_Its_Value.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_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_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_Cell_Types.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_Header_Visibility_fixed.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_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_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
- package/Area.config.js +40 -31
- package/Area.config.js.map +1 -1
- package/Area.js +324 -276
- package/Area.js.map +1 -1
- package/Bar.config.js +33 -24
- package/Bar.config.js.map +1 -1
- package/Bar.js +315 -267
- package/Bar.js.map +1 -1
- package/Bubble.config.js +26 -17
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +307 -259
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +24 -15
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +309 -256
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +33 -24
- package/Column.config.js.map +1 -1
- package/Column.js +315 -267
- package/Column.js.map +1 -1
- package/Ellipse.config.js +20 -19
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +272 -227
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +31 -22
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +293 -240
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +10 -10
- package/Image.config.js.map +1 -1
- package/Image.js +261 -211
- package/Image.js.map +1 -1
- package/Line.config.js +33 -24
- package/Line.config.js.map +1 -1
- package/Line.js +316 -268
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +52 -42
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +339 -278
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +67 -37
- package/Map.config.js.map +1 -1
- package/Map.js +1887 -1304
- package/Map.js.map +1 -1
- package/Markdown.config.js +37 -9
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +499 -238
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +21 -11
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1154 -1101
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +21 -11
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +306 -252
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +21 -11
- package/Pie.config.js.map +1 -1
- package/Pie.js +405 -261
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +21 -11
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +345 -291
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +22 -22
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +311 -268
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +31 -21
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +3135 -2948
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +25 -15
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +383 -337
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +41 -32
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +441 -388
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +27 -27
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +38 -37
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +350 -309
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +174 -136
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +455 -402
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +32 -21
- package/Table.config.js.map +1 -1
- package/Table.js +727 -449
- package/Table.js.map +1 -1
- package/common/Charting.js +26 -25
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +23 -22
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +12 -12
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +12 -12
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +225 -181
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +22 -22
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +28 -28
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +5 -5
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +13 -13
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +12 -12
- package/common/shapeUtils.js.map +1 -1
- package/common/withDashboardViz.js +99 -54
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +16 -13
package/Markdown.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 205);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -113,14 +113,28 @@ module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
+
/***/ 103:
|
|
117
|
+
/***/ (function(module, exports) {
|
|
118
|
+
|
|
119
|
+
module.exports = require("@splunk/react-ui/Paragraph");
|
|
120
|
+
|
|
121
|
+
/***/ }),
|
|
122
|
+
|
|
116
123
|
/***/ 11:
|
|
117
124
|
/***/ (function(module, exports) {
|
|
118
125
|
|
|
119
|
-
module.exports = require("@splunk/
|
|
126
|
+
module.exports = require("@splunk/themes/variables");
|
|
120
127
|
|
|
121
128
|
/***/ }),
|
|
122
129
|
|
|
123
130
|
/***/ 12:
|
|
131
|
+
/***/ (function(module, exports) {
|
|
132
|
+
|
|
133
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
134
|
+
|
|
135
|
+
/***/ }),
|
|
136
|
+
|
|
137
|
+
/***/ 13:
|
|
124
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
125
139
|
|
|
126
140
|
"use strict";
|
|
@@ -134,11 +148,11 @@ var React = __webpack_require__(1);
|
|
|
134
148
|
|
|
135
149
|
var styled_components_1 = __webpack_require__(4);
|
|
136
150
|
|
|
137
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
151
|
+
var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
138
152
|
|
|
139
|
-
var style_1 = __webpack_require__(
|
|
153
|
+
var style_1 = __webpack_require__(14);
|
|
140
154
|
|
|
141
|
-
var colorUtils_1 = __webpack_require__(
|
|
155
|
+
var colorUtils_1 = __webpack_require__(12);
|
|
142
156
|
|
|
143
157
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
144
158
|
var width = _ref.width;
|
|
@@ -195,7 +209,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
195
209
|
|
|
196
210
|
return React.createElement(FixSizeItem, {
|
|
197
211
|
"data-test": "fix-size-item",
|
|
198
|
-
"data-splunk-visualization-version": "24.
|
|
212
|
+
"data-splunk-visualization-version": "24.5.1 - edc4c958c",
|
|
199
213
|
width: width,
|
|
200
214
|
height: height,
|
|
201
215
|
backgroundColor: backgroundColor
|
|
@@ -217,42 +231,88 @@ exports.default = withFixedSizeContainer;
|
|
|
217
231
|
|
|
218
232
|
/***/ }),
|
|
219
233
|
|
|
220
|
-
/***/
|
|
234
|
+
/***/ 130:
|
|
221
235
|
/***/ (function(module, exports, __webpack_require__) {
|
|
222
236
|
|
|
223
237
|
"use strict";
|
|
224
238
|
|
|
225
239
|
|
|
240
|
+
var _taggedTemplateLiteral = __webpack_require__(77);
|
|
241
|
+
|
|
242
|
+
var _templateObject;
|
|
243
|
+
|
|
226
244
|
Object.defineProperty(exports, "__esModule", {
|
|
227
245
|
value: true
|
|
228
246
|
});
|
|
229
|
-
exports.config = exports.themes = void 0;
|
|
247
|
+
exports.getFontMap = exports.config = exports.themes = void 0;
|
|
230
248
|
|
|
231
249
|
var lodash_1 = __webpack_require__(2);
|
|
232
250
|
|
|
233
251
|
var React = __webpack_require__(1);
|
|
234
252
|
|
|
235
|
-
var style_1 = __webpack_require__(
|
|
253
|
+
var style_1 = __webpack_require__(14);
|
|
236
254
|
|
|
237
|
-
var Markdown_1 = __webpack_require__(
|
|
255
|
+
var Markdown_1 = __webpack_require__(206);
|
|
238
256
|
|
|
239
257
|
var styled_components_1 = __webpack_require__(4);
|
|
240
258
|
|
|
241
259
|
var T = __webpack_require__(0);
|
|
242
260
|
|
|
243
|
-
var
|
|
261
|
+
var themes_1 = __webpack_require__(65);
|
|
262
|
+
|
|
263
|
+
var Heading_1 = __webpack_require__(207);
|
|
264
|
+
|
|
265
|
+
var Paragraph_1 = __webpack_require__(103);
|
|
266
|
+
|
|
267
|
+
var List_1 = __webpack_require__(208);
|
|
268
|
+
|
|
269
|
+
var Code_1 = __webpack_require__(209);
|
|
270
|
+
|
|
271
|
+
var withDashboardViz_1 = __webpack_require__(29);
|
|
244
272
|
|
|
245
|
-
|
|
273
|
+
var config_1 = __webpack_require__(210);
|
|
246
274
|
|
|
247
|
-
|
|
275
|
+
exports.config = config_1.default; // map of valid font sizes with elements' respective pixel sizes
|
|
276
|
+
|
|
277
|
+
var FONT_SIZES = {
|
|
278
|
+
extraSmall: {
|
|
279
|
+
h1: 18,
|
|
280
|
+
h2: 14,
|
|
281
|
+
h3: 12,
|
|
282
|
+
p: 10
|
|
283
|
+
},
|
|
284
|
+
small: {
|
|
285
|
+
h1: 20,
|
|
286
|
+
h2: 16,
|
|
287
|
+
h3: 14,
|
|
288
|
+
p: 12
|
|
289
|
+
},
|
|
290
|
+
default: {
|
|
291
|
+
h1: 24,
|
|
292
|
+
h2: 18,
|
|
293
|
+
h3: 16,
|
|
294
|
+
p: 14
|
|
295
|
+
},
|
|
296
|
+
large: {
|
|
297
|
+
h1: 32,
|
|
298
|
+
h2: 24,
|
|
299
|
+
h3: 18,
|
|
300
|
+
p: 16
|
|
301
|
+
},
|
|
302
|
+
extraLarge: {
|
|
303
|
+
h1: 48,
|
|
304
|
+
h2: 32,
|
|
305
|
+
h3: 24,
|
|
306
|
+
p: 18
|
|
307
|
+
}
|
|
308
|
+
}; // startsWithHeader is a prop that can be
|
|
248
309
|
// falsy if the markdown text begins with text
|
|
249
310
|
// or the number of heading level;
|
|
250
311
|
// casting heading level below 4 to 4
|
|
251
312
|
// because ReactMarkdown supports heading level 1-4
|
|
252
313
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
displayName: "Markdown__Container",
|
|
314
|
+
var MarkdownContainer = styled_components_1.default.div.withConfig({
|
|
315
|
+
displayName: "Markdown__MarkdownContainer",
|
|
256
316
|
componentId: "zd3qkg-0"
|
|
257
317
|
})(["overflow:auto;position:relative;box-sizing:border-box;", ";", ";background-color:", ";& *:not(code):not(pre):not(code *):not(a){color:", ";}", ";"], function (props) {
|
|
258
318
|
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
@@ -266,19 +326,119 @@ var Container = styled_components_1.default.div.withConfig({
|
|
|
266
326
|
var startsWithHeader = _ref.startsWithHeader;
|
|
267
327
|
return startsWithHeader && "\n h".concat(startsWithHeader >= 4 ? 4 : startsWithHeader, ":first-of-type { \n margin-top: 0px;\n }\n ");
|
|
268
328
|
});
|
|
329
|
+
var CodeBlockContainer = styled_components_1.default.div.withConfig({
|
|
330
|
+
displayName: "Markdown__CodeBlockContainer",
|
|
331
|
+
componentId: "zd3qkg-1"
|
|
332
|
+
})(["padding:", ";margin:", " 0;background-color:", ";pre[data-test='code']{margin-bottom:0px;}code{font-size:", "px !important;}"], themes_1.pick({
|
|
333
|
+
enterprise: themes_1.variables.spacingHalf,
|
|
334
|
+
prisma: styled_components_1.css(_templateObject || (_templateObject = _taggedTemplateLiteral(["10px ", ""])), themes_1.variables.spacingLarge)
|
|
335
|
+
}), themes_1.pick({
|
|
336
|
+
enterprise: themes_1.variables.spacingHalf,
|
|
337
|
+
prisma: themes_1.variables.spacingLarge
|
|
338
|
+
}), themes_1.pick({
|
|
339
|
+
enterprise: {
|
|
340
|
+
light: themes_1.variables.gray96,
|
|
341
|
+
dark: themes_1.variables.gray22
|
|
342
|
+
},
|
|
343
|
+
prisma: themes_1.variables.backgroundColorSection
|
|
344
|
+
}), function (props) {
|
|
345
|
+
return props.fontSize;
|
|
346
|
+
});
|
|
347
|
+
var CodeInlineContainer = styled_components_1.default.code.withConfig({
|
|
348
|
+
displayName: "Markdown__CodeInlineContainer",
|
|
349
|
+
componentId: "zd3qkg-2"
|
|
350
|
+
})(["", ";font-family:", ";background-color:", ";"], themes_1.mixins.reset('inline'), themes_1.variables.monoFontFamily, themes_1.pick({
|
|
351
|
+
enterprise: {
|
|
352
|
+
light: themes_1.variables.gray92,
|
|
353
|
+
dark: themes_1.variables.gray22
|
|
354
|
+
},
|
|
355
|
+
prisma: themes_1.variables.neutral200
|
|
356
|
+
})); // retrieves the font map associated with a valid `fontSize` value. If the fontSize
|
|
357
|
+
// passed is invalid (does not exist in FONT_SIZES), the `default` value is used.
|
|
358
|
+
|
|
359
|
+
var getFontMap = function getFontMap(fontSize) {
|
|
360
|
+
var font = fontSize;
|
|
361
|
+
|
|
362
|
+
if (!FONT_SIZES[fontSize]) {
|
|
363
|
+
console.error("'".concat(fontSize, "' is not a valid value for Markdown's fontSize option. Using the 'default' font size."));
|
|
364
|
+
font = 'default';
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
return FONT_SIZES[font];
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
exports.getFontMap = getFontMap; // returns renderers customized with the appropriate font sizes given the provided `fontSize` value.
|
|
371
|
+
|
|
372
|
+
var getMarkdownRenderer = function getMarkdownRenderer(fontSize) {
|
|
373
|
+
/* eslint-disable react/display-name, react/prop-types */
|
|
374
|
+
var fontMap = getFontMap(fontSize);
|
|
375
|
+
return {
|
|
376
|
+
paragraphRenderer: function paragraphRenderer(_ref2) {
|
|
377
|
+
var children = _ref2.children;
|
|
378
|
+
return React.createElement(Paragraph_1.default, {
|
|
379
|
+
style: {
|
|
380
|
+
fontSize: fontMap.p
|
|
381
|
+
}
|
|
382
|
+
}, children);
|
|
383
|
+
},
|
|
384
|
+
headingRenderer: function headingRenderer(_ref3) {
|
|
385
|
+
var children = _ref3.children,
|
|
386
|
+
level = _ref3.level;
|
|
387
|
+
return React.createElement(Heading_1.default, {
|
|
388
|
+
level: level,
|
|
389
|
+
style: {
|
|
390
|
+
fontSize: fontMap["h".concat(level)],
|
|
391
|
+
lineHeight: "".concat(fontMap["h".concat(level)], "px")
|
|
392
|
+
}
|
|
393
|
+
}, children);
|
|
394
|
+
},
|
|
395
|
+
itemRenderer: function itemRenderer(_ref4) {
|
|
396
|
+
var children = _ref4.children,
|
|
397
|
+
nodeKey = _ref4.nodeKey;
|
|
398
|
+
return React.createElement(List_1.default.Item, {
|
|
399
|
+
style: {
|
|
400
|
+
fontSize: fontMap.p
|
|
401
|
+
},
|
|
402
|
+
key: nodeKey
|
|
403
|
+
}, children);
|
|
404
|
+
},
|
|
405
|
+
codeBlockRenderer: function codeBlockRenderer(_ref5) {
|
|
406
|
+
var language = _ref5.language,
|
|
407
|
+
literal = _ref5.literal,
|
|
408
|
+
nodeKey = _ref5.nodeKey;
|
|
409
|
+
return React.createElement(CodeBlockContainer, {
|
|
410
|
+
fontSize: fontMap.p
|
|
411
|
+
}, React.createElement(Code_1.default, {
|
|
412
|
+
value: literal,
|
|
413
|
+
language: language,
|
|
414
|
+
key: nodeKey
|
|
415
|
+
}));
|
|
416
|
+
},
|
|
417
|
+
codeRenderer: function codeRenderer(_ref6) {
|
|
418
|
+
var literal = _ref6.literal;
|
|
419
|
+
return React.createElement(CodeInlineContainer, {
|
|
420
|
+
style: {
|
|
421
|
+
fontSize: fontMap.p
|
|
422
|
+
}
|
|
423
|
+
}, literal);
|
|
424
|
+
}
|
|
425
|
+
};
|
|
426
|
+
};
|
|
269
427
|
|
|
270
|
-
var MarkdownVisualization = function MarkdownVisualization(
|
|
271
|
-
var height =
|
|
272
|
-
width =
|
|
273
|
-
markdown =
|
|
274
|
-
backgroundColor =
|
|
275
|
-
fontColor =
|
|
428
|
+
var MarkdownVisualization = function MarkdownVisualization(_ref7) {
|
|
429
|
+
var height = _ref7.height,
|
|
430
|
+
width = _ref7.width,
|
|
431
|
+
markdown = _ref7.markdown,
|
|
432
|
+
backgroundColor = _ref7.backgroundColor,
|
|
433
|
+
fontColor = _ref7.fontColor,
|
|
434
|
+
fontSize = _ref7.fontSize;
|
|
276
435
|
|
|
277
436
|
var _a; // because DSL evaluation is not guaranteed to return string data if `markdown` is powered by DSL, we do a typecast here
|
|
278
437
|
|
|
279
438
|
|
|
280
439
|
var stringifiedMarkdown = "".concat(markdown);
|
|
281
|
-
|
|
440
|
+
var renderersForFontSize = getMarkdownRenderer(fontSize);
|
|
441
|
+
return React.createElement(MarkdownContainer, {
|
|
282
442
|
"data-testid": "markdown-container",
|
|
283
443
|
padding: [5, 5, 5, 5],
|
|
284
444
|
width: width,
|
|
@@ -286,9 +446,9 @@ var MarkdownVisualization = function MarkdownVisualization(_ref2) {
|
|
|
286
446
|
backgroundColor: backgroundColor,
|
|
287
447
|
fontColor: fontColor,
|
|
288
448
|
startsWithHeader: (_a = stringifiedMarkdown.trim().match(/^#+/)) === null || _a === void 0 ? void 0 : _a[0].length
|
|
289
|
-
}, React.createElement(Markdown_1.default, {
|
|
449
|
+
}, React.createElement(Markdown_1.default, Object.assign({
|
|
290
450
|
text: stringifiedMarkdown
|
|
291
|
-
}));
|
|
451
|
+
}, renderersForFontSize)));
|
|
292
452
|
};
|
|
293
453
|
|
|
294
454
|
var propTypes = {
|
|
@@ -296,14 +456,16 @@ var propTypes = {
|
|
|
296
456
|
height: T.oneOfType([T.string, T.number]),
|
|
297
457
|
markdown: T.string,
|
|
298
458
|
backgroundColor: T.string,
|
|
299
|
-
fontColor: T.string
|
|
459
|
+
fontColor: T.string,
|
|
460
|
+
fontSize: T.string
|
|
300
461
|
};
|
|
301
462
|
var defaultProps = {
|
|
302
463
|
width: '100%',
|
|
303
464
|
height: undefined,
|
|
304
465
|
markdown: '',
|
|
305
466
|
backgroundColor: 'transparent',
|
|
306
|
-
fontColor: 'rgba(255, 255, 255, 0.7)'
|
|
467
|
+
fontColor: 'rgba(255, 255, 255, 0.7)',
|
|
468
|
+
fontSize: 'default'
|
|
307
469
|
};
|
|
308
470
|
MarkdownVisualization.propTypes = propTypes;
|
|
309
471
|
MarkdownVisualization.defaultProps = defaultProps;
|
|
@@ -317,49 +479,49 @@ exports.default = Markdown;
|
|
|
317
479
|
|
|
318
480
|
/***/ }),
|
|
319
481
|
|
|
320
|
-
/***/
|
|
482
|
+
/***/ 14:
|
|
321
483
|
/***/ (function(module, exports) {
|
|
322
484
|
|
|
323
485
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
324
486
|
|
|
325
487
|
/***/ }),
|
|
326
488
|
|
|
327
|
-
/***/
|
|
489
|
+
/***/ 15:
|
|
328
490
|
/***/ (function(module, exports) {
|
|
329
491
|
|
|
330
492
|
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
331
493
|
|
|
332
494
|
/***/ }),
|
|
333
495
|
|
|
334
|
-
/***/
|
|
496
|
+
/***/ 16:
|
|
335
497
|
/***/ (function(module, exports) {
|
|
336
498
|
|
|
337
499
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
338
500
|
|
|
339
501
|
/***/ }),
|
|
340
502
|
|
|
341
|
-
/***/
|
|
503
|
+
/***/ 17:
|
|
342
504
|
/***/ (function(module, exports) {
|
|
343
505
|
|
|
344
506
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
345
507
|
|
|
346
508
|
/***/ }),
|
|
347
509
|
|
|
348
|
-
/***/
|
|
510
|
+
/***/ 19:
|
|
349
511
|
/***/ (function(module, exports) {
|
|
350
512
|
|
|
351
|
-
module.exports = require("
|
|
513
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
352
514
|
|
|
353
515
|
/***/ }),
|
|
354
516
|
|
|
355
|
-
/***/
|
|
517
|
+
/***/ 2:
|
|
356
518
|
/***/ (function(module, exports) {
|
|
357
519
|
|
|
358
|
-
module.exports = require("
|
|
520
|
+
module.exports = require("lodash");
|
|
359
521
|
|
|
360
522
|
/***/ }),
|
|
361
523
|
|
|
362
|
-
/***/
|
|
524
|
+
/***/ 205:
|
|
363
525
|
/***/ (function(module, exports, __webpack_require__) {
|
|
364
526
|
|
|
365
527
|
"use strict";
|
|
@@ -389,9 +551,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
389
551
|
});
|
|
390
552
|
exports.default = void 0;
|
|
391
553
|
|
|
392
|
-
__exportStar(__webpack_require__(
|
|
554
|
+
__exportStar(__webpack_require__(130), exports);
|
|
393
555
|
|
|
394
|
-
var Markdown_1 = __webpack_require__(
|
|
556
|
+
var Markdown_1 = __webpack_require__(130);
|
|
395
557
|
|
|
396
558
|
Object.defineProperty(exports, "default", {
|
|
397
559
|
enumerable: true,
|
|
@@ -402,38 +564,66 @@ Object.defineProperty(exports, "default", {
|
|
|
402
564
|
|
|
403
565
|
/***/ }),
|
|
404
566
|
|
|
405
|
-
/***/
|
|
567
|
+
/***/ 206:
|
|
406
568
|
/***/ (function(module, exports) {
|
|
407
569
|
|
|
408
570
|
module.exports = require("@splunk/react-ui/Markdown");
|
|
409
571
|
|
|
410
572
|
/***/ }),
|
|
411
573
|
|
|
412
|
-
/***/
|
|
574
|
+
/***/ 207:
|
|
575
|
+
/***/ (function(module, exports) {
|
|
576
|
+
|
|
577
|
+
module.exports = require("@splunk/react-ui/Heading");
|
|
578
|
+
|
|
579
|
+
/***/ }),
|
|
580
|
+
|
|
581
|
+
/***/ 208:
|
|
582
|
+
/***/ (function(module, exports) {
|
|
583
|
+
|
|
584
|
+
module.exports = require("@splunk/react-ui/List");
|
|
585
|
+
|
|
586
|
+
/***/ }),
|
|
587
|
+
|
|
588
|
+
/***/ 209:
|
|
589
|
+
/***/ (function(module, exports) {
|
|
590
|
+
|
|
591
|
+
module.exports = require("@splunk/react-ui/Code");
|
|
592
|
+
|
|
593
|
+
/***/ }),
|
|
594
|
+
|
|
595
|
+
/***/ 21:
|
|
596
|
+
/***/ (function(module, exports) {
|
|
597
|
+
|
|
598
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
599
|
+
|
|
600
|
+
/***/ }),
|
|
601
|
+
|
|
602
|
+
/***/ 210:
|
|
413
603
|
/***/ (function(module, exports, __webpack_require__) {
|
|
414
604
|
|
|
415
605
|
"use strict";
|
|
416
606
|
|
|
417
607
|
|
|
418
|
-
var _toConsumableArray = __webpack_require__(
|
|
608
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
419
609
|
|
|
420
610
|
Object.defineProperty(exports, "__esModule", {
|
|
421
611
|
value: true
|
|
422
612
|
});
|
|
423
613
|
|
|
424
|
-
var themes_1 = __webpack_require__(
|
|
614
|
+
var themes_1 = __webpack_require__(65);
|
|
425
615
|
|
|
426
616
|
var i18n_1 = __webpack_require__(3);
|
|
427
617
|
|
|
428
|
-
var schemaUtils_1 = __webpack_require__(
|
|
618
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
429
619
|
|
|
430
620
|
var VizBehavior_1 = __webpack_require__(5);
|
|
431
621
|
|
|
432
|
-
var VizCategory_1 = __webpack_require__(
|
|
622
|
+
var VizCategory_1 = __webpack_require__(28);
|
|
433
623
|
|
|
434
624
|
var configUtils_1 = __webpack_require__(6);
|
|
435
625
|
|
|
436
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
626
|
+
var BackgroundColor_1 = __webpack_require__(48);
|
|
437
627
|
|
|
438
628
|
var dataContract = {
|
|
439
629
|
requiredDataSources: [],
|
|
@@ -468,6 +658,12 @@ var optionsSchema = {
|
|
|
468
658
|
default: '> themes.defaultFontColor',
|
|
469
659
|
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
470
660
|
},
|
|
661
|
+
fontSize: {
|
|
662
|
+
description: 'Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text.',
|
|
663
|
+
type: 'string',
|
|
664
|
+
default: 'default',
|
|
665
|
+
pattern: schemaUtils_1.getPattern(['extraSmall', 'small', 'default', 'large', 'extraLarge'])
|
|
666
|
+
},
|
|
471
667
|
markdown: {
|
|
472
668
|
description: 'Add text using basic markdown syntax.',
|
|
473
669
|
type: 'string'
|
|
@@ -506,7 +702,29 @@ var editorConfig = [{
|
|
|
506
702
|
}].concat(_toConsumableArray(BackgroundColor_1.default({
|
|
507
703
|
label: 'Background Color',
|
|
508
704
|
themes: themes
|
|
509
|
-
})))
|
|
705
|
+
}))), [{
|
|
706
|
+
label: i18n_1._('Font Size'),
|
|
707
|
+
option: 'fontSize',
|
|
708
|
+
editor: 'editor.select',
|
|
709
|
+
editorProps: {
|
|
710
|
+
values: [{
|
|
711
|
+
label: i18n_1._('Extra Small'),
|
|
712
|
+
value: 'extraSmall'
|
|
713
|
+
}, {
|
|
714
|
+
label: i18n_1._('Small'),
|
|
715
|
+
value: 'small'
|
|
716
|
+
}, {
|
|
717
|
+
label: i18n_1._('Default'),
|
|
718
|
+
value: 'default'
|
|
719
|
+
}, {
|
|
720
|
+
label: i18n_1._('Large'),
|
|
721
|
+
value: 'large'
|
|
722
|
+
}, {
|
|
723
|
+
label: i18n_1._('Extra Large'),
|
|
724
|
+
value: 'extraLarge'
|
|
725
|
+
}]
|
|
726
|
+
}
|
|
727
|
+
}]]
|
|
510
728
|
}];
|
|
511
729
|
/**
|
|
512
730
|
* visualization configuration
|
|
@@ -540,13 +758,139 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
540
758
|
|
|
541
759
|
/***/ }),
|
|
542
760
|
|
|
543
|
-
/***/
|
|
761
|
+
/***/ 24:
|
|
544
762
|
/***/ (function(module, exports, __webpack_require__) {
|
|
545
763
|
|
|
546
764
|
"use strict";
|
|
547
765
|
|
|
548
766
|
|
|
549
|
-
|
|
767
|
+
Object.defineProperty(exports, "__esModule", {
|
|
768
|
+
value: true
|
|
769
|
+
});
|
|
770
|
+
exports.pickFieldFromJSONSchema = void 0;
|
|
771
|
+
|
|
772
|
+
var lodash_1 = __webpack_require__(2);
|
|
773
|
+
|
|
774
|
+
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
775
|
+
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
776
|
+
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
777
|
+
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
778
|
+
accum[k] = optionsSchema[k][fieldName];
|
|
779
|
+
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
780
|
+
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
781
|
+
|
|
782
|
+
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
783
|
+
accum[k] = nestedSchema;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
return accum;
|
|
788
|
+
}, {});
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
792
|
+
|
|
793
|
+
/***/ }),
|
|
794
|
+
|
|
795
|
+
/***/ 25:
|
|
796
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
797
|
+
|
|
798
|
+
"use strict";
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
Object.defineProperty(exports, "__esModule", {
|
|
802
|
+
value: true
|
|
803
|
+
});
|
|
804
|
+
exports.shouldShowIconPlaceholder = void 0;
|
|
805
|
+
|
|
806
|
+
var React = __webpack_require__(1);
|
|
807
|
+
|
|
808
|
+
var T = __webpack_require__(0);
|
|
809
|
+
|
|
810
|
+
var lodash_1 = __webpack_require__(2);
|
|
811
|
+
|
|
812
|
+
var i18n_1 = __webpack_require__(3);
|
|
813
|
+
|
|
814
|
+
var Message_1 = __webpack_require__(9);
|
|
815
|
+
|
|
816
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
817
|
+
/**
|
|
818
|
+
* @method shouldShowIconPlaceholder
|
|
819
|
+
* @param {object} dataSources
|
|
820
|
+
* @param {boolean} loading
|
|
821
|
+
* @returns {boolean}
|
|
822
|
+
*/
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
826
|
+
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
827
|
+
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
828
|
+
var noData = data === undefined;
|
|
829
|
+
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
830
|
+
var noFields = fields === undefined;
|
|
831
|
+
return loading || noData || noFields;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
835
|
+
var propTypes = {
|
|
836
|
+
icon: T.func,
|
|
837
|
+
width: T.oneOfType([T.string, T.number]),
|
|
838
|
+
height: T.oneOfType([T.string, T.number]),
|
|
839
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
840
|
+
backgroundColor: T.string,
|
|
841
|
+
iconColor: T.string
|
|
842
|
+
};
|
|
843
|
+
/**
|
|
844
|
+
* @method IconPlaceholder
|
|
845
|
+
* @param {IconPlaceholderProps} props
|
|
846
|
+
* @returns {React.ReactElement}
|
|
847
|
+
*/
|
|
848
|
+
|
|
849
|
+
var IconPlaceholder = function IconPlaceholder(props) {
|
|
850
|
+
var width = props.width,
|
|
851
|
+
height = props.height,
|
|
852
|
+
icon = props.icon,
|
|
853
|
+
iconColor = props.iconColor;
|
|
854
|
+
|
|
855
|
+
if (icon) {
|
|
856
|
+
return React.createElement(icon, {
|
|
857
|
+
style: {
|
|
858
|
+
left: '50%',
|
|
859
|
+
top: '50%',
|
|
860
|
+
color: iconColor,
|
|
861
|
+
opacity: 0.15,
|
|
862
|
+
position: 'absolute',
|
|
863
|
+
transform: 'translate(-50%, -50%)'
|
|
864
|
+
},
|
|
865
|
+
width: '50%',
|
|
866
|
+
height: '50%'
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
return React.createElement(Message_1.default, {
|
|
871
|
+
width: width,
|
|
872
|
+
height: height,
|
|
873
|
+
level: "warning",
|
|
874
|
+
message: i18n_1._('No DataSource Connected')
|
|
875
|
+
});
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
IconPlaceholder.propTypes = propTypes;
|
|
879
|
+
IconPlaceholder.defaultProps = {
|
|
880
|
+
width: '100%',
|
|
881
|
+
height: 250
|
|
882
|
+
};
|
|
883
|
+
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
884
|
+
|
|
885
|
+
/***/ }),
|
|
886
|
+
|
|
887
|
+
/***/ 26:
|
|
888
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
889
|
+
|
|
890
|
+
"use strict";
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
var _defineProperty = __webpack_require__(7);
|
|
550
894
|
|
|
551
895
|
Object.defineProperty(exports, "__esModule", {
|
|
552
896
|
value: true
|
|
@@ -557,7 +901,7 @@ var T = __webpack_require__(0);
|
|
|
557
901
|
|
|
558
902
|
var lodash_1 = __webpack_require__(2);
|
|
559
903
|
|
|
560
|
-
var DataSource_1 = __webpack_require__(
|
|
904
|
+
var DataSource_1 = __webpack_require__(36);
|
|
561
905
|
|
|
562
906
|
exports.SortParamsPropTypes = T.shape({
|
|
563
907
|
currentSortKey: T.string,
|
|
@@ -611,7 +955,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
611
955
|
|
|
612
956
|
/***/ }),
|
|
613
957
|
|
|
614
|
-
/***/
|
|
958
|
+
/***/ 27:
|
|
615
959
|
/***/ (function(module, exports, __webpack_require__) {
|
|
616
960
|
|
|
617
961
|
"use strict";
|
|
@@ -676,130 +1020,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
676
1020
|
|
|
677
1021
|
/***/ }),
|
|
678
1022
|
|
|
679
|
-
/***/
|
|
680
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
681
|
-
|
|
682
|
-
"use strict";
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
Object.defineProperty(exports, "__esModule", {
|
|
686
|
-
value: true
|
|
687
|
-
});
|
|
688
|
-
exports.pickFieldFromJSONSchema = void 0;
|
|
689
|
-
|
|
690
|
-
var lodash_1 = __webpack_require__(2);
|
|
691
|
-
|
|
692
|
-
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
693
|
-
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
694
|
-
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
695
|
-
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
696
|
-
accum[k] = optionsSchema[k][fieldName];
|
|
697
|
-
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
698
|
-
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
699
|
-
|
|
700
|
-
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
701
|
-
accum[k] = nestedSchema;
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
return accum;
|
|
706
|
-
}, {});
|
|
707
|
-
};
|
|
708
|
-
|
|
709
|
-
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
710
|
-
|
|
711
|
-
/***/ }),
|
|
712
|
-
|
|
713
|
-
/***/ 26:
|
|
714
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
715
|
-
|
|
716
|
-
"use strict";
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
Object.defineProperty(exports, "__esModule", {
|
|
720
|
-
value: true
|
|
721
|
-
});
|
|
722
|
-
exports.shouldShowIconPlaceholder = void 0;
|
|
723
|
-
|
|
724
|
-
var React = __webpack_require__(1);
|
|
725
|
-
|
|
726
|
-
var T = __webpack_require__(0);
|
|
727
|
-
|
|
728
|
-
var lodash_1 = __webpack_require__(2);
|
|
729
|
-
|
|
730
|
-
var i18n_1 = __webpack_require__(3);
|
|
731
|
-
|
|
732
|
-
var Message_1 = __webpack_require__(9);
|
|
733
|
-
|
|
734
|
-
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
735
|
-
/**
|
|
736
|
-
* @method shouldShowIconPlaceholder
|
|
737
|
-
* @param {object} dataSources
|
|
738
|
-
* @param {boolean} loading
|
|
739
|
-
* @returns {boolean}
|
|
740
|
-
*/
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
744
|
-
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
745
|
-
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
746
|
-
var noData = data === undefined;
|
|
747
|
-
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
748
|
-
var noFields = fields === undefined;
|
|
749
|
-
return loading || noData || noFields;
|
|
750
|
-
};
|
|
751
|
-
|
|
752
|
-
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
753
|
-
var propTypes = {
|
|
754
|
-
icon: T.func,
|
|
755
|
-
width: T.oneOfType([T.string, T.number]),
|
|
756
|
-
height: T.oneOfType([T.string, T.number]),
|
|
757
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
758
|
-
backgroundColor: T.string
|
|
759
|
-
};
|
|
760
|
-
/**
|
|
761
|
-
* @method IconPlaceholder
|
|
762
|
-
* @param {IconPlaceholderProps} props
|
|
763
|
-
* @returns {React.ReactElement}
|
|
764
|
-
*/
|
|
765
|
-
|
|
766
|
-
var IconPlaceholder = function IconPlaceholder(props) {
|
|
767
|
-
var width = props.width,
|
|
768
|
-
height = props.height,
|
|
769
|
-
icon = props.icon;
|
|
770
|
-
|
|
771
|
-
if (icon) {
|
|
772
|
-
return React.createElement(icon, {
|
|
773
|
-
style: {
|
|
774
|
-
left: '50%',
|
|
775
|
-
top: '50%',
|
|
776
|
-
color: 'grey',
|
|
777
|
-
position: 'absolute',
|
|
778
|
-
transform: 'translate(-50%, -50%)'
|
|
779
|
-
},
|
|
780
|
-
width: '50%',
|
|
781
|
-
height: '50%'
|
|
782
|
-
});
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
return React.createElement(Message_1.default, {
|
|
786
|
-
width: width,
|
|
787
|
-
height: height,
|
|
788
|
-
level: "warning",
|
|
789
|
-
message: i18n_1._('No DataSource Connected')
|
|
790
|
-
});
|
|
791
|
-
};
|
|
792
|
-
|
|
793
|
-
IconPlaceholder.propTypes = propTypes;
|
|
794
|
-
IconPlaceholder.defaultProps = {
|
|
795
|
-
width: '100%',
|
|
796
|
-
height: 250
|
|
797
|
-
};
|
|
798
|
-
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
799
|
-
|
|
800
|
-
/***/ }),
|
|
801
|
-
|
|
802
|
-
/***/ 27:
|
|
1023
|
+
/***/ 28:
|
|
803
1024
|
/***/ (function(module, exports, __webpack_require__) {
|
|
804
1025
|
|
|
805
1026
|
"use strict";
|
|
@@ -828,7 +1049,7 @@ var VizCategory;
|
|
|
828
1049
|
|
|
829
1050
|
/***/ }),
|
|
830
1051
|
|
|
831
|
-
/***/
|
|
1052
|
+
/***/ 29:
|
|
832
1053
|
/***/ (function(module, exports, __webpack_require__) {
|
|
833
1054
|
|
|
834
1055
|
"use strict";
|
|
@@ -842,33 +1063,37 @@ var React = __webpack_require__(1);
|
|
|
842
1063
|
|
|
843
1064
|
var lodash_1 = __webpack_require__(2);
|
|
844
1065
|
|
|
845
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1066
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(30);
|
|
1067
|
+
|
|
1068
|
+
var Options_1 = __webpack_require__(31);
|
|
846
1069
|
|
|
847
|
-
var
|
|
1070
|
+
var SanitizeProps_1 = __webpack_require__(32);
|
|
848
1071
|
|
|
849
|
-
var
|
|
1072
|
+
var TimezoneContext_1 = __webpack_require__(19);
|
|
1073
|
+
|
|
1074
|
+
var moment_1 = __webpack_require__(33);
|
|
850
1075
|
|
|
851
1076
|
var styled_components_1 = __webpack_require__(4);
|
|
852
1077
|
|
|
853
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1078
|
+
var SplunkVisualization_1 = __webpack_require__(34);
|
|
854
1079
|
|
|
855
1080
|
var VizBehavior_1 = __webpack_require__(5);
|
|
856
1081
|
|
|
857
|
-
var getSorting_1 = __webpack_require__(
|
|
1082
|
+
var getSorting_1 = __webpack_require__(26);
|
|
858
1083
|
|
|
859
|
-
var getPagination_1 = __webpack_require__(
|
|
1084
|
+
var getPagination_1 = __webpack_require__(27);
|
|
860
1085
|
|
|
861
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1086
|
+
var useDeepMemo_1 = __webpack_require__(37);
|
|
862
1087
|
|
|
863
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1088
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
864
1089
|
|
|
865
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1090
|
+
var MissingPropsMessage_1 = __webpack_require__(38);
|
|
866
1091
|
|
|
867
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1092
|
+
var withEditModeCover_1 = __webpack_require__(39);
|
|
868
1093
|
|
|
869
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1094
|
+
var withPlaceholder_1 = __webpack_require__(40);
|
|
870
1095
|
|
|
871
|
-
var hocUtils_1 = __webpack_require__(
|
|
1096
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
872
1097
|
/**
|
|
873
1098
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
874
1099
|
* @param {DashboardVizOpts} opts
|
|
@@ -901,6 +1126,23 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
901
1126
|
theme = props.theme,
|
|
902
1127
|
onRequestParamsChange = props.onRequestParamsChange;
|
|
903
1128
|
|
|
1129
|
+
var _React$useContext = React.useContext(TimezoneContext_1.default),
|
|
1130
|
+
serializedTimezone = _React$useContext.serializedTimezone;
|
|
1131
|
+
|
|
1132
|
+
if (serializedTimezone) {
|
|
1133
|
+
/*
|
|
1134
|
+
@splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
|
|
1135
|
+
This ensures that if a timezone was provided via TimezoneContext @splunk/moment time formatting
|
|
1136
|
+
will use it.
|
|
1137
|
+
@TODO(pwied):
|
|
1138
|
+
- remove when we moved away from @splunk/moment
|
|
1139
|
+
- provide timezone context to dynamic option evaluation phase
|
|
1140
|
+
*/
|
|
1141
|
+
if (!moment_1.default.getDefaultSplunkTimezone()) {
|
|
1142
|
+
moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
904
1146
|
var themeFunc = function themeFunc(themeVar) {
|
|
905
1147
|
var _a, _b;
|
|
906
1148
|
|
|
@@ -929,7 +1171,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
929
1171
|
console.error("unexpected error evaluating options: + ".concat(e.message));
|
|
930
1172
|
return {};
|
|
931
1173
|
}
|
|
932
|
-
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
|
|
1174
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
|
|
933
1175
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
934
1176
|
|
|
935
1177
|
React.useEffect(function () {
|
|
@@ -1053,35 +1295,42 @@ exports.default = withDashboardViz;
|
|
|
1053
1295
|
|
|
1054
1296
|
/***/ }),
|
|
1055
1297
|
|
|
1056
|
-
/***/
|
|
1298
|
+
/***/ 3:
|
|
1057
1299
|
/***/ (function(module, exports) {
|
|
1058
1300
|
|
|
1059
|
-
module.exports = require("@splunk/
|
|
1301
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1060
1302
|
|
|
1061
1303
|
/***/ }),
|
|
1062
1304
|
|
|
1063
|
-
/***/
|
|
1305
|
+
/***/ 30:
|
|
1064
1306
|
/***/ (function(module, exports) {
|
|
1065
1307
|
|
|
1066
|
-
module.exports = require("@splunk/
|
|
1308
|
+
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1067
1309
|
|
|
1068
1310
|
/***/ }),
|
|
1069
1311
|
|
|
1070
|
-
/***/
|
|
1312
|
+
/***/ 31:
|
|
1071
1313
|
/***/ (function(module, exports) {
|
|
1072
1314
|
|
|
1073
1315
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1074
1316
|
|
|
1075
1317
|
/***/ }),
|
|
1076
1318
|
|
|
1077
|
-
/***/
|
|
1319
|
+
/***/ 32:
|
|
1078
1320
|
/***/ (function(module, exports) {
|
|
1079
1321
|
|
|
1080
1322
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1081
1323
|
|
|
1082
1324
|
/***/ }),
|
|
1083
1325
|
|
|
1084
|
-
/***/
|
|
1326
|
+
/***/ 33:
|
|
1327
|
+
/***/ (function(module, exports) {
|
|
1328
|
+
|
|
1329
|
+
module.exports = require("@splunk/moment");
|
|
1330
|
+
|
|
1331
|
+
/***/ }),
|
|
1332
|
+
|
|
1333
|
+
/***/ 34:
|
|
1085
1334
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1086
1335
|
|
|
1087
1336
|
"use strict";
|
|
@@ -1099,7 +1348,7 @@ var T = __webpack_require__(0);
|
|
|
1099
1348
|
|
|
1100
1349
|
var lodash_1 = __webpack_require__(2);
|
|
1101
1350
|
|
|
1102
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1351
|
+
var VizActionHandler_1 = __webpack_require__(35); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1103
1352
|
|
|
1104
1353
|
|
|
1105
1354
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1233,7 +1482,7 @@ exports.default = SplunkVisualization;
|
|
|
1233
1482
|
|
|
1234
1483
|
/***/ }),
|
|
1235
1484
|
|
|
1236
|
-
/***/
|
|
1485
|
+
/***/ 35:
|
|
1237
1486
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1238
1487
|
|
|
1239
1488
|
"use strict";
|
|
@@ -1241,7 +1490,7 @@ exports.default = SplunkVisualization;
|
|
|
1241
1490
|
|
|
1242
1491
|
var _classCallCheck = __webpack_require__(10);
|
|
1243
1492
|
|
|
1244
|
-
var _createClass = __webpack_require__(
|
|
1493
|
+
var _createClass = __webpack_require__(16);
|
|
1245
1494
|
|
|
1246
1495
|
Object.defineProperty(exports, "__esModule", {
|
|
1247
1496
|
value: true
|
|
@@ -1271,7 +1520,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1271
1520
|
|
|
1272
1521
|
/***/ }),
|
|
1273
1522
|
|
|
1274
|
-
/***/
|
|
1523
|
+
/***/ 36:
|
|
1275
1524
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1276
1525
|
|
|
1277
1526
|
"use strict";
|
|
@@ -1285,7 +1534,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1285
1534
|
|
|
1286
1535
|
/***/ }),
|
|
1287
1536
|
|
|
1288
|
-
/***/
|
|
1537
|
+
/***/ 37:
|
|
1289
1538
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1290
1539
|
|
|
1291
1540
|
"use strict";
|
|
@@ -1331,7 +1580,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
1331
1580
|
|
|
1332
1581
|
/***/ }),
|
|
1333
1582
|
|
|
1334
|
-
/***/
|
|
1583
|
+
/***/ 38:
|
|
1335
1584
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1336
1585
|
|
|
1337
1586
|
"use strict";
|
|
@@ -1350,7 +1599,7 @@ var i18n_1 = __webpack_require__(3);
|
|
|
1350
1599
|
|
|
1351
1600
|
var Message_1 = __webpack_require__(9);
|
|
1352
1601
|
|
|
1353
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1602
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
1354
1603
|
/**
|
|
1355
1604
|
* @method isMissing
|
|
1356
1605
|
* @param {any} v
|
|
@@ -1412,7 +1661,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
1412
1661
|
|
|
1413
1662
|
/***/ }),
|
|
1414
1663
|
|
|
1415
|
-
/***/
|
|
1664
|
+
/***/ 39:
|
|
1416
1665
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1417
1666
|
|
|
1418
1667
|
"use strict";
|
|
@@ -1426,14 +1675,14 @@ var React = __webpack_require__(1);
|
|
|
1426
1675
|
|
|
1427
1676
|
var styled_components_1 = __webpack_require__(4);
|
|
1428
1677
|
|
|
1429
|
-
var hocUtils_1 = __webpack_require__(
|
|
1678
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1430
1679
|
|
|
1431
1680
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1432
1681
|
displayName: "withEditModeCover__Cover",
|
|
1433
1682
|
componentId: "sc-1gsbnxb-0"
|
|
1434
1683
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1435
1684
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1436
|
-
'data-splunk-visualization-version': "24.
|
|
1685
|
+
'data-splunk-visualization-version': "24.5.1 - edc4c958c"
|
|
1437
1686
|
}).withConfig({
|
|
1438
1687
|
displayName: "withEditModeCover__Blocker",
|
|
1439
1688
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1465,7 +1714,14 @@ exports.default = withEditModeCover;
|
|
|
1465
1714
|
|
|
1466
1715
|
/***/ }),
|
|
1467
1716
|
|
|
1468
|
-
/***/
|
|
1717
|
+
/***/ 4:
|
|
1718
|
+
/***/ (function(module, exports) {
|
|
1719
|
+
|
|
1720
|
+
module.exports = require("styled-components");
|
|
1721
|
+
|
|
1722
|
+
/***/ }),
|
|
1723
|
+
|
|
1724
|
+
/***/ 40:
|
|
1469
1725
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1470
1726
|
|
|
1471
1727
|
"use strict";
|
|
@@ -1477,13 +1733,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1477
1733
|
|
|
1478
1734
|
var React = __webpack_require__(1);
|
|
1479
1735
|
|
|
1480
|
-
var colorUtils_1 = __webpack_require__(
|
|
1736
|
+
var colorUtils_1 = __webpack_require__(12);
|
|
1481
1737
|
|
|
1482
|
-
var
|
|
1738
|
+
var variables_1 = __webpack_require__(11);
|
|
1739
|
+
|
|
1740
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1483
1741
|
|
|
1484
1742
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1485
1743
|
|
|
1486
|
-
var hocUtils_1 = __webpack_require__(
|
|
1744
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1487
1745
|
|
|
1488
1746
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1489
1747
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1491,7 +1749,7 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1491
1749
|
var themes = config.themes;
|
|
1492
1750
|
|
|
1493
1751
|
var Wrapper = function Wrapper(props) {
|
|
1494
|
-
var _a;
|
|
1752
|
+
var _a, _b;
|
|
1495
1753
|
|
|
1496
1754
|
var dataSources = props.dataSources,
|
|
1497
1755
|
loading = props.loading,
|
|
@@ -1500,14 +1758,17 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1500
1758
|
width = props.width;
|
|
1501
1759
|
var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
|
|
1502
1760
|
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);
|
|
1761
|
+
var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
|
|
1762
|
+
var iconColor = variables_1.default.contentColorActive(props);
|
|
1503
1763
|
|
|
1504
1764
|
if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
|
|
1505
1765
|
return React.createElement(IconPlaceholder_1.default, {
|
|
1506
1766
|
"data-test": "icon-placeholder",
|
|
1507
|
-
icon:
|
|
1767
|
+
icon: icon,
|
|
1508
1768
|
width: width,
|
|
1509
1769
|
height: height,
|
|
1510
|
-
backgroundColor: bgColorFromTheme
|
|
1770
|
+
backgroundColor: bgColorFromTheme,
|
|
1771
|
+
iconColor: iconColor
|
|
1511
1772
|
});
|
|
1512
1773
|
}
|
|
1513
1774
|
|
|
@@ -1525,21 +1786,14 @@ exports.default = withPlaceholder;
|
|
|
1525
1786
|
|
|
1526
1787
|
/***/ }),
|
|
1527
1788
|
|
|
1528
|
-
/***/
|
|
1789
|
+
/***/ 41:
|
|
1529
1790
|
/***/ (function(module, exports) {
|
|
1530
1791
|
|
|
1531
1792
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1532
1793
|
|
|
1533
1794
|
/***/ }),
|
|
1534
1795
|
|
|
1535
|
-
/***/
|
|
1536
|
-
/***/ (function(module, exports) {
|
|
1537
|
-
|
|
1538
|
-
module.exports = require("styled-components");
|
|
1539
|
-
|
|
1540
|
-
/***/ }),
|
|
1541
|
-
|
|
1542
|
-
/***/ 45:
|
|
1796
|
+
/***/ 48:
|
|
1543
1797
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1544
1798
|
|
|
1545
1799
|
"use strict";
|
|
@@ -1614,7 +1868,7 @@ var VizBehavior;
|
|
|
1614
1868
|
"use strict";
|
|
1615
1869
|
|
|
1616
1870
|
|
|
1617
|
-
var _defineProperty = __webpack_require__(
|
|
1871
|
+
var _defineProperty = __webpack_require__(7);
|
|
1618
1872
|
|
|
1619
1873
|
var __rest = this && this.__rest || function (s, e) {
|
|
1620
1874
|
var t = {};
|
|
@@ -1636,7 +1890,7 @@ exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOp
|
|
|
1636
1890
|
|
|
1637
1891
|
var lodash_1 = __webpack_require__(2);
|
|
1638
1892
|
|
|
1639
|
-
var schemaUtils_1 = __webpack_require__(
|
|
1893
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
1640
1894
|
|
|
1641
1895
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1642
1896
|
|
|
@@ -1800,13 +2054,34 @@ exports.generatePrecisionValues = generatePrecisionValues;
|
|
|
1800
2054
|
|
|
1801
2055
|
/***/ }),
|
|
1802
2056
|
|
|
2057
|
+
/***/ 65:
|
|
2058
|
+
/***/ (function(module, exports) {
|
|
2059
|
+
|
|
2060
|
+
module.exports = require("@splunk/themes");
|
|
2061
|
+
|
|
2062
|
+
/***/ }),
|
|
2063
|
+
|
|
1803
2064
|
/***/ 7:
|
|
2065
|
+
/***/ (function(module, exports) {
|
|
2066
|
+
|
|
2067
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
2068
|
+
|
|
2069
|
+
/***/ }),
|
|
2070
|
+
|
|
2071
|
+
/***/ 77:
|
|
2072
|
+
/***/ (function(module, exports) {
|
|
2073
|
+
|
|
2074
|
+
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
2075
|
+
|
|
2076
|
+
/***/ }),
|
|
2077
|
+
|
|
2078
|
+
/***/ 8:
|
|
1804
2079
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1805
2080
|
|
|
1806
2081
|
"use strict";
|
|
1807
2082
|
|
|
1808
2083
|
|
|
1809
|
-
var _typeof = __webpack_require__(
|
|
2084
|
+
var _typeof = __webpack_require__(21);
|
|
1810
2085
|
|
|
1811
2086
|
Object.defineProperty(exports, "__esModule", {
|
|
1812
2087
|
value: true
|
|
@@ -1929,20 +2204,6 @@ exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
|
1929
2204
|
|
|
1930
2205
|
/***/ }),
|
|
1931
2206
|
|
|
1932
|
-
/***/ 70:
|
|
1933
|
-
/***/ (function(module, exports) {
|
|
1934
|
-
|
|
1935
|
-
module.exports = require("@splunk/themes");
|
|
1936
|
-
|
|
1937
|
-
/***/ }),
|
|
1938
|
-
|
|
1939
|
-
/***/ 8:
|
|
1940
|
-
/***/ (function(module, exports) {
|
|
1941
|
-
|
|
1942
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
1943
|
-
|
|
1944
|
-
/***/ }),
|
|
1945
|
-
|
|
1946
2207
|
/***/ 9:
|
|
1947
2208
|
/***/ (function(module, exports) {
|
|
1948
2209
|
|