@splunk/visualizations 24.5.3 → 25.0.0
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_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_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_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_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.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_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_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_Result_Limit_3_Number_of_Results_5_Chart_Annotation.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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_Multi_Series.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_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_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_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_Choropleth_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Opacities_scaled_to_be_less_than_max_of_0_8.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_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_Size_extraLarge.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_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_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_Marker_Size_7.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_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_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_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_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_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_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_Set_The_Major_Value_Based_On_String_Type_Data.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_Use_Mixed_Type_Series_Data.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.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_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_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_Invalid_Background_Color.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_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/Area.config.js +1119 -241
- package/Area.config.js.map +1 -1
- package/Area.js +1241 -402
- package/Area.js.map +1 -1
- package/Bar.config.js +1089 -153
- package/Bar.config.js.map +1 -1
- package/Bar.js +1262 -365
- package/Bar.js.map +1 -1
- package/Bubble.config.js +719 -77
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +823 -220
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +62 -38
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +185 -180
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +1059 -170
- package/Column.config.js.map +1 -1
- package/Column.js +1234 -384
- package/Column.js.map +1 -1
- package/Ellipse.config.js +55 -31
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +135 -145
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +67 -43
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +157 -172
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +52 -25
- package/Image.config.js.map +1 -1
- package/Image.js +132 -140
- package/Image.js.map +1 -1
- package/Line.config.js +1035 -108
- package/Line.config.js.map +1 -1
- package/Line.js +1199 -311
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +78 -58
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +179 -194
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +787 -78
- package/Map.config.js.map +1 -1
- package/Map.js +849 -353
- package/Map.js.map +1 -1
- package/Markdown.config.js +73 -48
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +271 -259
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +77 -50
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +2079 -1987
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +75 -48
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +166 -181
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +77 -50
- package/Pie.config.js.map +1 -1
- package/Pie.js +1139 -1042
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +76 -49
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +196 -211
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +83 -56
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +256 -264
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +82 -55
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +190 -205
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +790 -135
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +1072 -485
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +85 -56
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +415 -411
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +37 -25
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +81 -57
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +195 -211
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +80 -51
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +342 -338
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +129 -60
- package/Table.config.js.map +1 -1
- package/Table.js +1853 -1712
- package/Table.js.map +1 -1
- package/common/Charting.js +10 -10
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +3 -3
- package/common/EventsDoc.js.map +1 -1
- package/common/OptionsDoc.js +49 -21
- package/common/OptionsDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/ThemesDoc.js +2 -2
- package/common/chartingUtils.js +2 -2
- package/common/gaugeUtils.js +2 -2
- package/common/utils/configUtils.js +30 -4
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/hocUtils.js +26 -56
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +4 -2
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +8 -8
- package/common/utils/testHelper.js.map +1 -1
- package/common/withDashboardViz.js +32 -68
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +12 -13
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_20.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Max_120.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Min_50.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_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_Series_Colors_by_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_Tick_Interval_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Minimum_Number_250.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Axis_Y_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Axis_Y_Minimum_Number_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_by_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_red_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Tick_Interval_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Maximum_Number_800.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_300.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Max_80000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Min_50000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Major_Tick_Interval_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Maximum_Number_80000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Minimum_Number_60000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_On_Y2_Axis_Major_Tick_Interval_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Minimum_Number_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_dot_percent_dash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_longDashDot_percent_longDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_longDash_percent_dashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_shortDashDot_percent_shortDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_shortDash_percent_shortDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_By_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_red_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Missing_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_More_than_2_columns_in_datasources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Series_Colors_By_Field_April_black_December_yellow.png +0 -0
package/Pie.js
CHANGED
|
@@ -87,54 +87,41 @@ 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 = 227);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
|
-
/******/ (
|
|
94
|
-
|
|
95
|
-
/***/ 0:
|
|
93
|
+
/******/ ([
|
|
94
|
+
/* 0 */
|
|
96
95
|
/***/ (function(module, exports) {
|
|
97
96
|
|
|
98
97
|
module.exports = require("prop-types");
|
|
99
98
|
|
|
100
99
|
/***/ }),
|
|
101
|
-
|
|
102
|
-
/***/ 1:
|
|
100
|
+
/* 1 */
|
|
103
101
|
/***/ (function(module, exports) {
|
|
104
102
|
|
|
105
103
|
module.exports = require("react");
|
|
106
104
|
|
|
107
105
|
/***/ }),
|
|
108
|
-
|
|
109
|
-
/***/ 10:
|
|
110
|
-
/***/ (function(module, exports) {
|
|
111
|
-
|
|
112
|
-
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
113
|
-
|
|
114
|
-
/***/ }),
|
|
115
|
-
|
|
116
|
-
/***/ 104:
|
|
106
|
+
/* 2 */
|
|
117
107
|
/***/ (function(module, exports) {
|
|
118
108
|
|
|
119
|
-
module.exports = require("
|
|
109
|
+
module.exports = require("lodash");
|
|
120
110
|
|
|
121
111
|
/***/ }),
|
|
122
|
-
|
|
123
|
-
/***/ 11:
|
|
112
|
+
/* 3 */
|
|
124
113
|
/***/ (function(module, exports) {
|
|
125
114
|
|
|
126
|
-
module.exports = require("@splunk/
|
|
115
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
127
116
|
|
|
128
117
|
/***/ }),
|
|
129
|
-
|
|
130
|
-
/***/ 12:
|
|
118
|
+
/* 4 */
|
|
131
119
|
/***/ (function(module, exports) {
|
|
132
120
|
|
|
133
|
-
module.exports = require("
|
|
121
|
+
module.exports = require("styled-components");
|
|
134
122
|
|
|
135
123
|
/***/ }),
|
|
136
|
-
|
|
137
|
-
/***/ 13:
|
|
124
|
+
/* 5 */
|
|
138
125
|
/***/ (function(module, exports, __webpack_require__) {
|
|
139
126
|
|
|
140
127
|
"use strict";
|
|
@@ -143,100 +130,44 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
|
143
130
|
Object.defineProperty(exports, "__esModule", {
|
|
144
131
|
value: true
|
|
145
132
|
});
|
|
133
|
+
exports.VizBehavior = void 0;
|
|
134
|
+
var VizBehavior;
|
|
146
135
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
componentId: "sc-1yhgpod-0"
|
|
167
|
-
})(["position:relative;background-color:", "};"], function (props) {
|
|
168
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
169
|
-
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
170
|
-
|
|
171
|
-
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
172
|
-
var width = _ref2.width,
|
|
173
|
-
height = _ref2.height;
|
|
174
|
-
return {
|
|
175
|
-
style: Object.assign(Object.assign({}, width && {
|
|
176
|
-
width: style_1.toPx(width)
|
|
177
|
-
}), height && {
|
|
178
|
-
height: style_1.toPx(height)
|
|
179
|
-
})
|
|
180
|
-
};
|
|
181
|
-
}).withConfig({
|
|
182
|
-
displayName: "FixedSizeContainer__FixSizeItem",
|
|
183
|
-
componentId: "sc-1yhgpod-1"
|
|
184
|
-
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
185
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
186
|
-
});
|
|
187
|
-
var ItemContent = styled_components_1.default.div.withConfig({
|
|
188
|
-
displayName: "FixedSizeContainer__ItemContent",
|
|
189
|
-
componentId: "sc-1yhgpod-2"
|
|
190
|
-
})(["position:relative;min-height:100px;width:100%;"]);
|
|
191
|
-
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
192
|
-
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
193
|
-
componentId: "sc-1yhgpod-3"
|
|
194
|
-
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
195
|
-
|
|
196
|
-
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
197
|
-
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
198
|
-
var width = props.width,
|
|
199
|
-
height = props.height,
|
|
200
|
-
backgroundColor = props.backgroundColor;
|
|
201
|
-
|
|
202
|
-
if (!height) {
|
|
203
|
-
return React.createElement(Item, {
|
|
204
|
-
"data-test": "item",
|
|
205
|
-
width: width,
|
|
206
|
-
backgroundColor: backgroundColor
|
|
207
|
-
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
return React.createElement(FixSizeItem, {
|
|
211
|
-
"data-test": "fix-size-item",
|
|
212
|
-
"data-splunk-visualization-version": "24.5.3 - 3129e19a7",
|
|
213
|
-
width: width,
|
|
214
|
-
height: height,
|
|
215
|
-
backgroundColor: backgroundColor
|
|
216
|
-
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
217
|
-
var newWidth = _ref3.width,
|
|
218
|
-
newHeight = _ref3.height;
|
|
219
|
-
return React.createElement(Viz, Object.assign({}, props, {
|
|
220
|
-
width: newWidth,
|
|
221
|
-
height: newHeight
|
|
222
|
-
}));
|
|
223
|
-
})));
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
227
|
-
return FixedSizeContainer;
|
|
228
|
-
};
|
|
136
|
+
(function (VizBehavior) {
|
|
137
|
+
/**
|
|
138
|
+
* Dynamic Options Behavior.
|
|
139
|
+
* This allows visualization options to be powered by data
|
|
140
|
+
*
|
|
141
|
+
* **Example**
|
|
142
|
+
*
|
|
143
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
144
|
+
* would configure sparklineValues with an array of data points
|
|
145
|
+
* coming from the first series in the primary datasource
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
149
|
+
VizBehavior["EVENTS"] = "events";
|
|
150
|
+
/**
|
|
151
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
152
|
+
* missing.
|
|
153
|
+
* @type {string}
|
|
154
|
+
*/
|
|
229
155
|
|
|
230
|
-
|
|
156
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
157
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
158
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
231
159
|
|
|
232
160
|
/***/ }),
|
|
233
|
-
|
|
234
|
-
/***/ 133:
|
|
161
|
+
/* 6 */
|
|
235
162
|
/***/ (function(module, exports, __webpack_require__) {
|
|
236
163
|
|
|
237
164
|
"use strict";
|
|
238
165
|
|
|
239
166
|
|
|
167
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
168
|
+
|
|
169
|
+
var _defineProperty = __webpack_require__(7);
|
|
170
|
+
|
|
240
171
|
var __rest = this && this.__rest || function (s, e) {
|
|
241
172
|
var t = {};
|
|
242
173
|
|
|
@@ -253,221 +184,314 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
253
184
|
Object.defineProperty(exports, "__esModule", {
|
|
254
185
|
value: true
|
|
255
186
|
});
|
|
256
|
-
exports.
|
|
257
|
-
|
|
258
|
-
var lodash_1 = __webpack_require__(2); // Charting imports i18n which needs to be run to instantiate window globals in the
|
|
259
|
-
// eslint-disable-next-line import/order
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
var Charting_1 = __webpack_require__(54);
|
|
263
|
-
|
|
264
|
-
var charting_bundle_1 = __webpack_require__(50);
|
|
265
|
-
|
|
266
|
-
var simpleXMLOptions_1 = __webpack_require__(60);
|
|
267
|
-
|
|
268
|
-
var config_1 = __webpack_require__(226);
|
|
269
|
-
|
|
270
|
-
exports.config = config_1.default;
|
|
187
|
+
exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
271
188
|
|
|
272
|
-
var
|
|
273
|
-
|
|
274
|
-
var pieUtils_1 = __webpack_require__(228);
|
|
275
|
-
|
|
276
|
-
var chartingUtils_1 = __webpack_require__(49);
|
|
189
|
+
var lodash_1 = __webpack_require__(2);
|
|
277
190
|
|
|
278
|
-
var
|
|
191
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
279
192
|
|
|
280
|
-
var
|
|
281
|
-
exports.PieInnerSize = 0.7;
|
|
193
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
282
194
|
|
|
283
|
-
var
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
195
|
+
var dynamicOptionsDSLType = {
|
|
196
|
+
type: 'string',
|
|
197
|
+
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Helper function to extend an options schema with dynamic options DSL
|
|
201
|
+
* @param optionsSchema a visualization's options schema
|
|
202
|
+
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
203
|
+
*/
|
|
291
204
|
|
|
205
|
+
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
206
|
+
var enhancedOptionsSchema = {};
|
|
207
|
+
Object.keys(optionsSchema).forEach(function (key) {
|
|
208
|
+
var _a = optionsSchema[key],
|
|
209
|
+
title = _a.title,
|
|
210
|
+
description = _a.description,
|
|
211
|
+
readOnly = _a.readOnly,
|
|
212
|
+
writeOnly = _a.writeOnly,
|
|
213
|
+
examples = _a.examples,
|
|
214
|
+
defaultValue = _a.default,
|
|
215
|
+
type = _a.type,
|
|
216
|
+
properties = _a.properties,
|
|
217
|
+
patternProperties = _a.patternProperties,
|
|
218
|
+
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
292
219
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
220
|
+
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
221
|
+
title: title
|
|
222
|
+
}), description !== undefined && {
|
|
223
|
+
description: description
|
|
224
|
+
}), readOnly !== undefined && {
|
|
225
|
+
readOnly: readOnly
|
|
226
|
+
}), writeOnly !== undefined && {
|
|
227
|
+
writeOnly: writeOnly
|
|
228
|
+
}), examples !== undefined && {
|
|
229
|
+
examples: examples
|
|
230
|
+
}), defaultValue !== undefined && {
|
|
231
|
+
default: defaultValue
|
|
302
232
|
});
|
|
303
|
-
}).value();
|
|
304
|
-
var truncationLimit = computedProps.options['chart.resultTruncationLimit'];
|
|
305
|
-
var primaryData = Object.assign(Object.assign({}, dataSources.primary.data), {
|
|
306
|
-
columns: [label, value]
|
|
307
|
-
});
|
|
308
|
-
primaryData.fields = [{
|
|
309
|
-
name: labelField
|
|
310
|
-
}, {
|
|
311
|
-
name: valueField
|
|
312
|
-
}];
|
|
313
233
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
234
|
+
if (type === 'object') {
|
|
235
|
+
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
236
|
+
type: type
|
|
237
|
+
}), properties && {
|
|
238
|
+
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
239
|
+
});
|
|
317
240
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
241
|
+
if (patternProperties) {
|
|
242
|
+
var enhancedPatternProperties = {};
|
|
243
|
+
Object.keys(patternProperties).forEach(function (opt) {
|
|
244
|
+
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
245
|
+
});
|
|
246
|
+
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
247
|
+
}
|
|
248
|
+
} else {
|
|
249
|
+
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
250
|
+
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
251
|
+
type: type
|
|
252
|
+
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
253
|
+
});
|
|
321
254
|
}
|
|
322
255
|
});
|
|
256
|
+
return enhancedOptionsSchema;
|
|
257
|
+
}
|
|
323
258
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
259
|
+
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
260
|
+
/**
|
|
261
|
+
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
262
|
+
* @param vizConfig a Visualization Config
|
|
263
|
+
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
264
|
+
*/
|
|
327
265
|
|
|
328
|
-
|
|
266
|
+
function enhanceConfig(vizConfig) {
|
|
267
|
+
var enhancedConfig = vizConfig;
|
|
329
268
|
|
|
330
|
-
if (
|
|
331
|
-
|
|
332
|
-
} else {
|
|
333
|
-
computedProps.options['chart.pieInnerSize'] = 0;
|
|
269
|
+
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
270
|
+
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
334
271
|
}
|
|
335
272
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}
|
|
273
|
+
return enhancedConfig;
|
|
274
|
+
}
|
|
339
275
|
|
|
340
|
-
|
|
341
|
-
};
|
|
276
|
+
exports.enhanceConfig = enhanceConfig;
|
|
342
277
|
|
|
343
|
-
|
|
278
|
+
function isDynamicOption(option) {
|
|
279
|
+
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
280
|
+
}
|
|
344
281
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
};
|
|
282
|
+
exports.isDynamicOption = isDynamicOption; // private helpers to improve readability of getInitialPreset
|
|
283
|
+
// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset
|
|
348
284
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
});
|
|
358
|
-
var themes = null;
|
|
359
|
-
exports.themes = themes;
|
|
360
|
-
exports.default = Pie;
|
|
285
|
+
/**
|
|
286
|
+
* this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset
|
|
287
|
+
* 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
|
|
288
|
+
* the inverse is true; if a preset has key is NOT undefined, it must also be NOT undefined in the corresponding vizContext
|
|
289
|
+
* the internal config contents are irrelevant (as the user could customize them in source), just as long as the presence of `undefined`s match up
|
|
290
|
+
*
|
|
291
|
+
* Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values
|
|
292
|
+
*/
|
|
361
293
|
|
|
362
|
-
|
|
294
|
+
function hasCompatibleContexts(vizContext, presetContext) {
|
|
295
|
+
var presetContextKeys = Object.keys(presetContext);
|
|
296
|
+
return presetContextKeys.every(function (contextKey) {
|
|
297
|
+
return presetContext[contextKey] === undefined && vizContext[contextKey] === undefined || presetContext[contextKey] !== undefined && vizContext[contextKey] !== undefined;
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions
|
|
302
|
+
*/
|
|
363
303
|
|
|
364
|
-
/***/ 14:
|
|
365
|
-
/***/ (function(module, exports) {
|
|
366
304
|
|
|
367
|
-
|
|
305
|
+
function hasCompatibleOptions(vizOptions, presetOptions) {
|
|
306
|
+
var presetOptionKeys = Object.keys(presetOptions);
|
|
307
|
+
return presetOptionKeys.every(function (optionKey) {
|
|
308
|
+
return isDynamicOption(presetOptions[optionKey]) === isDynamicOption(vizOptions[optionKey]);
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Evaluates whether there is an initialPreset that fits the current state of vizContext + vizOptions
|
|
313
|
+
* This function ignores extraneous vizOptions or vizContext keys, as they could be outside the scope of what the preset is intended to configure
|
|
314
|
+
*
|
|
315
|
+
* @param {Object} vizContext - the current vizContext definition
|
|
316
|
+
* @param {Object} vizOptions - the current vizOptions definition
|
|
317
|
+
* @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset
|
|
318
|
+
*/
|
|
368
319
|
|
|
369
|
-
/***/ }),
|
|
370
320
|
|
|
371
|
-
|
|
372
|
-
|
|
321
|
+
function getInitialPreset(vizContext, vizOptions, presets) {
|
|
322
|
+
return presets.find(function (preset) {
|
|
323
|
+
var presetContext = lodash_1.get(preset, ['value', 'context'], {});
|
|
324
|
+
var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
|
|
325
|
+
var presetContextKeys = Object.keys(presetContext);
|
|
326
|
+
var presetOptionKeys = Object.keys(presetOptions); // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
|
|
327
|
+
// if not, then the preset is invalid in config.ts
|
|
373
328
|
|
|
374
|
-
|
|
329
|
+
if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;
|
|
330
|
+
return hasCompatibleContexts(vizContext, presetContext) && hasCompatibleOptions(vizOptions, presetOptions);
|
|
331
|
+
});
|
|
332
|
+
}
|
|
375
333
|
|
|
376
|
-
|
|
334
|
+
exports.getInitialPreset = getInitialPreset;
|
|
335
|
+
/**
|
|
336
|
+
* generates number precision values for a Select editor
|
|
337
|
+
*
|
|
338
|
+
* @param {Number} numPrecisionValues - number of integer precision values to generate
|
|
339
|
+
* @returns {{ label: string; value; string }[]} array of { label, value } tuples
|
|
340
|
+
*/
|
|
377
341
|
|
|
378
|
-
|
|
379
|
-
|
|
342
|
+
function generatePrecisionValues(numPrecisionValues) {
|
|
343
|
+
return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
|
|
344
|
+
return {
|
|
345
|
+
label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
|
|
346
|
+
value: i
|
|
347
|
+
};
|
|
348
|
+
});
|
|
349
|
+
}
|
|
380
350
|
|
|
381
|
-
|
|
351
|
+
exports.generatePrecisionValues = generatePrecisionValues;
|
|
352
|
+
/**
|
|
353
|
+
* insert layout in layout array, return a new layout array instead of updating the original
|
|
354
|
+
*
|
|
355
|
+
* @param {EditorLayoutConfig[][]} layout - editor layout
|
|
356
|
+
* @param {Number} index - the index to insert layout item(s)
|
|
357
|
+
* @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
|
|
358
|
+
* @returns {EditorLayoutConfig[][]} new editor layout with insertion
|
|
359
|
+
*/
|
|
382
360
|
|
|
383
|
-
|
|
361
|
+
var insertLayout = function insertLayout(layout, index) {
|
|
362
|
+
for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
363
|
+
layoutItems[_key - 2] = arguments[_key];
|
|
364
|
+
}
|
|
384
365
|
|
|
385
|
-
|
|
386
|
-
|
|
366
|
+
return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
|
|
367
|
+
};
|
|
387
368
|
|
|
388
|
-
|
|
369
|
+
exports.insertLayout = insertLayout;
|
|
389
370
|
|
|
390
371
|
/***/ }),
|
|
391
|
-
|
|
392
|
-
/***/ 19:
|
|
372
|
+
/* 7 */
|
|
393
373
|
/***/ (function(module, exports) {
|
|
394
374
|
|
|
395
|
-
module.exports = require("@
|
|
375
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
396
376
|
|
|
397
377
|
/***/ }),
|
|
378
|
+
/* 8 */
|
|
379
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
398
380
|
|
|
399
|
-
|
|
400
|
-
/***/ (function(module, exports) {
|
|
381
|
+
"use strict";
|
|
401
382
|
|
|
402
|
-
module.exports = require("lodash");
|
|
403
383
|
|
|
404
|
-
|
|
384
|
+
var _typeof = __webpack_require__(23);
|
|
405
385
|
|
|
406
|
-
|
|
407
|
-
|
|
386
|
+
Object.defineProperty(exports, "__esModule", {
|
|
387
|
+
value: true
|
|
388
|
+
});
|
|
389
|
+
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
408
390
|
|
|
409
|
-
|
|
391
|
+
var lodash_1 = __webpack_require__(2);
|
|
410
392
|
|
|
411
|
-
|
|
393
|
+
var mapUtils_1 = __webpack_require__(41);
|
|
394
|
+
/**
|
|
395
|
+
* @method extendStaticWrapperProps
|
|
396
|
+
* @param {Object} props
|
|
397
|
+
* @param {DashboardVizType} props.Wrapper
|
|
398
|
+
* @param {DashboardVizType} props.Visualization
|
|
399
|
+
*/
|
|
412
400
|
|
|
413
|
-
/***/ 21:
|
|
414
|
-
/***/ (function(module, exports) {
|
|
415
401
|
|
|
416
|
-
|
|
402
|
+
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
403
|
+
var Wrapper = _ref.Wrapper,
|
|
404
|
+
Visualization = _ref.Visualization;
|
|
405
|
+
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
406
|
+
extendProperties.forEach(function (prop) {
|
|
407
|
+
if (Visualization[prop]) {
|
|
408
|
+
// eslint-disable-next-line no-param-reassign
|
|
409
|
+
Wrapper[prop] = Visualization[prop];
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
};
|
|
417
413
|
|
|
418
|
-
|
|
414
|
+
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
415
|
+
/**
|
|
416
|
+
* helper to deeply merge objects while preserving arrays in earlier source objects
|
|
417
|
+
* deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays of primitives will be preserved if already present in the resultant merged object
|
|
418
|
+
* this prevents default arrays of primitives from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one).
|
|
419
|
+
* Array of objects gets merged with the defaults, where the defaults can be an array of objects. Closest matching default object from the defaults list based on key - value pair
|
|
420
|
+
* will be used for merging defaults for each object in the array. If no closest match found, first object in default array list used for merging.
|
|
421
|
+
*
|
|
422
|
+
* @method deepMergeWithArrayPrimitiveOverrides
|
|
423
|
+
* @param {Object} initial - target object to merge values into
|
|
424
|
+
* @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
|
|
425
|
+
*
|
|
426
|
+
* @returns {Object}
|
|
427
|
+
*/
|
|
419
428
|
|
|
420
|
-
|
|
421
|
-
|
|
429
|
+
var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveOverrides(initial) {
|
|
430
|
+
var clone = lodash_1.cloneDeep(initial);
|
|
422
431
|
|
|
423
|
-
|
|
432
|
+
for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
433
|
+
sources[_key - 1] = arguments[_key];
|
|
434
|
+
}
|
|
424
435
|
|
|
425
|
-
|
|
436
|
+
sources.forEach(function (sourceToApply) {
|
|
437
|
+
Object.keys(sourceToApply).forEach(function (sourceKey) {
|
|
438
|
+
if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
|
|
439
|
+
clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
|
|
440
|
+
}
|
|
426
441
|
|
|
427
|
-
|
|
428
|
-
|
|
442
|
+
if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
|
|
443
|
+
clone[sourceKey] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey], sourceToApply[sourceKey]);
|
|
444
|
+
} else if (Array.isArray(clone[sourceKey]) && _typeof(clone[sourceKey][0]) === 'object' && !Array.isArray(clone[sourceKey][0])) {
|
|
445
|
+
// If option is an array of objects
|
|
446
|
+
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
447
|
+
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
448
|
+
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
429
449
|
|
|
430
|
-
|
|
450
|
+
if (closestMatchIdx > -1) {
|
|
451
|
+
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
});
|
|
457
|
+
});
|
|
458
|
+
return clone;
|
|
459
|
+
};
|
|
431
460
|
|
|
461
|
+
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
432
462
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
enumerable: true,
|
|
437
|
-
get: function get() {
|
|
438
|
-
return m[k];
|
|
439
|
-
}
|
|
440
|
-
});
|
|
441
|
-
} : function (o, m, k, k2) {
|
|
442
|
-
if (k2 === undefined) k2 = k;
|
|
443
|
-
o[k2] = m[k];
|
|
444
|
-
});
|
|
463
|
+
/***/ }),
|
|
464
|
+
/* 9 */
|
|
465
|
+
/***/ (function(module, exports) {
|
|
445
466
|
|
|
446
|
-
|
|
447
|
-
for (var p in m) {
|
|
448
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
449
|
-
}
|
|
450
|
-
};
|
|
467
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
451
468
|
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
exports.default = void 0;
|
|
469
|
+
/***/ }),
|
|
470
|
+
/* 10 */
|
|
471
|
+
/***/ (function(module, exports) {
|
|
456
472
|
|
|
457
|
-
|
|
473
|
+
module.exports = require("@splunk/themes/variables");
|
|
458
474
|
|
|
459
|
-
|
|
475
|
+
/***/ }),
|
|
476
|
+
/* 11 */
|
|
477
|
+
/***/ (function(module, exports) {
|
|
460
478
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
479
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
480
|
+
|
|
481
|
+
/***/ }),
|
|
482
|
+
/* 12 */
|
|
483
|
+
/***/ (function(module, exports) {
|
|
484
|
+
|
|
485
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
467
486
|
|
|
468
487
|
/***/ }),
|
|
488
|
+
/* 13 */
|
|
489
|
+
/***/ (function(module, exports) {
|
|
469
490
|
|
|
470
|
-
|
|
491
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
492
|
+
|
|
493
|
+
/***/ }),
|
|
494
|
+
/* 14 */
|
|
471
495
|
/***/ (function(module, exports, __webpack_require__) {
|
|
472
496
|
|
|
473
497
|
"use strict";
|
|
@@ -477,430 +501,143 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
477
501
|
value: true
|
|
478
502
|
});
|
|
479
503
|
|
|
480
|
-
var
|
|
481
|
-
|
|
482
|
-
var placeholders_1 = __webpack_require__(44);
|
|
483
|
-
|
|
484
|
-
var i18n_1 = __webpack_require__(3);
|
|
485
|
-
|
|
486
|
-
var schemaUtils_1 = __webpack_require__(15);
|
|
487
|
-
|
|
488
|
-
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
489
|
-
|
|
490
|
-
var pick_1 = __webpack_require__(22);
|
|
491
|
-
|
|
492
|
-
var variables_1 = __webpack_require__(11);
|
|
504
|
+
var React = __webpack_require__(1);
|
|
493
505
|
|
|
494
|
-
var
|
|
506
|
+
var styled_components_1 = __webpack_require__(4);
|
|
495
507
|
|
|
496
|
-
var
|
|
508
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
497
509
|
|
|
498
|
-
var
|
|
510
|
+
var style_1 = __webpack_require__(15);
|
|
499
511
|
|
|
500
|
-
var
|
|
512
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
501
513
|
|
|
502
|
-
var
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
optionalDataSources: [// Note: SCP-14090 disable ui for optional datasources. We may need to add it back later
|
|
508
|
-
// {
|
|
509
|
-
// name: 'annotation',
|
|
510
|
-
// description: 'DataSource that populate event annotations',
|
|
511
|
-
// },
|
|
512
|
-
],
|
|
513
|
-
initialRequestParams: {
|
|
514
|
-
primary: {
|
|
515
|
-
offset: 0,
|
|
516
|
-
count: 10000
|
|
514
|
+
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
515
|
+
var width = _ref.width;
|
|
516
|
+
return {
|
|
517
|
+
style: {
|
|
518
|
+
width: style_1.toPx(width)
|
|
517
519
|
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
var optionsSchema = {
|
|
526
|
-
backgroundColor: {
|
|
527
|
-
default: '> themes.defaultBackgroundColor',
|
|
528
|
-
description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
529
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN,
|
|
530
|
-
type: 'string'
|
|
531
|
-
},
|
|
532
|
-
collapseLabel: {
|
|
533
|
-
description: 'Specify the label for the consolidated slice.',
|
|
534
|
-
type: 'string',
|
|
535
|
-
default: 'other'
|
|
536
|
-
},
|
|
537
|
-
collapseThreshold: {
|
|
538
|
-
description: 'Specify the size threshold as a number between 0 and 1 (inclusive), of the whole pie at which slices collapse into one consolidated slice.',
|
|
539
|
-
type: 'number',
|
|
540
|
-
default: 0.01
|
|
541
|
-
},
|
|
542
|
-
label: {
|
|
543
|
-
description: 'List of string values to display the pie chart labels.',
|
|
544
|
-
type: 'array',
|
|
545
|
-
items: {
|
|
546
|
-
type: 'string'
|
|
547
|
-
},
|
|
548
|
-
default: '> primary | seriesByIndex(0)'
|
|
549
|
-
},
|
|
550
|
-
labelField: {
|
|
551
|
-
default: '> label | getField()',
|
|
552
|
-
description: 'Specify the field that corresponds to the labels.',
|
|
553
|
-
type: 'string'
|
|
554
|
-
},
|
|
555
|
-
labelDisplay: {
|
|
556
|
-
description: 'Specify whether to display the labels and/or slice percentages.',
|
|
557
|
-
type: 'string',
|
|
558
|
-
pattern: schemaUtils_1.getPattern(['values', 'valuesAndPercentage', 'off']),
|
|
559
|
-
default: 'values'
|
|
560
|
-
},
|
|
561
|
-
resultLimit: {
|
|
562
|
-
default: 50000,
|
|
563
|
-
description: 'Specify the number of data points rendered in a chart.',
|
|
564
|
-
type: 'number'
|
|
565
|
-
},
|
|
566
|
-
seriesColors: {
|
|
567
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
568
|
-
description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
569
|
-
type: 'array',
|
|
570
|
-
items: {
|
|
571
|
-
type: 'string'
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
|
-
seriesColorsByField: {
|
|
575
|
-
description: 'Specify the colors used for specific pie slice labels. For example: {"April": "#008000", "May": "#FFA500"}.',
|
|
576
|
-
type: 'object'
|
|
577
|
-
},
|
|
578
|
-
showDonutHole: {
|
|
579
|
-
default: false,
|
|
580
|
-
description: 'Specify whether the pie should be a donut.',
|
|
581
|
-
type: 'boolean'
|
|
582
|
-
},
|
|
583
|
-
value: {
|
|
584
|
-
description: 'List of numerical values to power the pie chart.',
|
|
585
|
-
type: 'array',
|
|
586
|
-
items: {
|
|
587
|
-
type: 'number'
|
|
588
|
-
},
|
|
589
|
-
default: '> primary | seriesByIndex(1)'
|
|
590
|
-
},
|
|
591
|
-
valueField: {
|
|
592
|
-
default: '> value | getField()',
|
|
593
|
-
description: 'Specify the field that corresponds to the data powering values.',
|
|
594
|
-
type: 'string'
|
|
595
|
-
}
|
|
596
|
-
};
|
|
597
|
-
var themes = {
|
|
598
|
-
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
599
|
-
return pick_1.default({
|
|
600
|
-
enterprise: {
|
|
601
|
-
dark: variables_1.default.black(props),
|
|
602
|
-
light: variables_1.default.backgroundColor(props)
|
|
603
|
-
},
|
|
604
|
-
prisma: variables_1.default.backgroundColorSidebar(props)
|
|
605
|
-
})(props);
|
|
606
|
-
}
|
|
607
|
-
};
|
|
608
|
-
var editorConfig = [{
|
|
609
|
-
label: i18n_1._('General'),
|
|
610
|
-
layout: [BackgroundColor_1.default({
|
|
611
|
-
themes: themes
|
|
612
|
-
})]
|
|
613
|
-
}, {
|
|
614
|
-
label: i18n_1._('Appearance'),
|
|
615
|
-
open: true,
|
|
616
|
-
layout: [[{
|
|
617
|
-
label: i18n_1._(''),
|
|
618
|
-
option: 'showDonutHole',
|
|
619
|
-
editor: 'editor.radioBar',
|
|
620
|
-
editorProps: {
|
|
621
|
-
values: [{
|
|
622
|
-
label: i18n_1._('Pie'),
|
|
623
|
-
value: false
|
|
624
|
-
}, {
|
|
625
|
-
label: i18n_1._('Donut'),
|
|
626
|
-
value: true
|
|
627
|
-
}]
|
|
628
|
-
}
|
|
629
|
-
}]]
|
|
630
|
-
}, {
|
|
631
|
-
label: i18n_1._('Labels'),
|
|
632
|
-
layout: [[{
|
|
633
|
-
label: '',
|
|
634
|
-
option: 'labelDisplay',
|
|
635
|
-
editor: 'editor.radioBar',
|
|
636
|
-
editorProps: {
|
|
637
|
-
values: [{
|
|
638
|
-
label: i18n_1._('Values'),
|
|
639
|
-
value: 'values'
|
|
640
|
-
}, {
|
|
641
|
-
label: i18n_1._('Values & Percent'),
|
|
642
|
-
value: 'valuesAndPercentage'
|
|
643
|
-
}, {
|
|
644
|
-
label: i18n_1._('Off'),
|
|
645
|
-
value: 'off'
|
|
646
|
-
}]
|
|
647
|
-
}
|
|
648
|
-
}]]
|
|
649
|
-
}, {
|
|
650
|
-
label: i18n_1._('Collapse to Summary'),
|
|
651
|
-
layout: [[{
|
|
652
|
-
label: i18n_1._('Collapse Threshold'),
|
|
653
|
-
option: 'collapseThreshold',
|
|
654
|
-
editor: 'editor.number',
|
|
655
|
-
editorProps: {
|
|
656
|
-
min: 0,
|
|
657
|
-
max: 1,
|
|
658
|
-
step: 0.01
|
|
659
|
-
}
|
|
660
|
-
}], [{
|
|
661
|
-
label: i18n_1._('Collapsed Slice Label'),
|
|
662
|
-
option: 'collapseLabel',
|
|
663
|
-
editor: 'editor.text'
|
|
664
|
-
}]]
|
|
665
|
-
}];
|
|
666
|
-
/**
|
|
667
|
-
* visualization configuration
|
|
668
|
-
*/
|
|
520
|
+
};
|
|
521
|
+
}).withConfig({
|
|
522
|
+
displayName: "FixedSizeContainer__Item",
|
|
523
|
+
componentId: "sc-1yhgpod-0"
|
|
524
|
+
})(["position:relative;background-color:", "};"], function (props) {
|
|
525
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
526
|
+
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
669
527
|
|
|
670
|
-
var
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
528
|
+
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
529
|
+
var width = _ref2.width,
|
|
530
|
+
height = _ref2.height;
|
|
531
|
+
return {
|
|
532
|
+
style: Object.assign(Object.assign({}, width && {
|
|
533
|
+
width: style_1.toPx(width)
|
|
534
|
+
}), height && {
|
|
535
|
+
height: style_1.toPx(height)
|
|
536
|
+
})
|
|
537
|
+
};
|
|
538
|
+
}).withConfig({
|
|
539
|
+
displayName: "FixedSizeContainer__FixSizeItem",
|
|
540
|
+
componentId: "sc-1yhgpod-1"
|
|
541
|
+
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
542
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
543
|
+
});
|
|
544
|
+
var ItemContent = styled_components_1.default.div.withConfig({
|
|
545
|
+
displayName: "FixedSizeContainer__ItemContent",
|
|
546
|
+
componentId: "sc-1yhgpod-2"
|
|
547
|
+
})(["position:relative;min-height:100px;width:100%;"]);
|
|
548
|
+
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
549
|
+
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
550
|
+
componentId: "sc-1yhgpod-3"
|
|
551
|
+
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
675
552
|
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
553
|
+
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
554
|
+
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
555
|
+
var width = props.width,
|
|
556
|
+
height = props.height,
|
|
557
|
+
backgroundColor = props.backgroundColor;
|
|
681
558
|
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
size: size,
|
|
689
|
-
defaultContext: defaultContext,
|
|
690
|
-
optionsSchema: optionsSchema,
|
|
691
|
-
editorConfig: editorConfig,
|
|
692
|
-
events: {
|
|
693
|
-
'point.click': {
|
|
694
|
-
description: 'triggered when user clicks on a point in the pie chart'
|
|
559
|
+
if (!height) {
|
|
560
|
+
return React.createElement(Item, {
|
|
561
|
+
"data-test": "item",
|
|
562
|
+
width: width,
|
|
563
|
+
backgroundColor: backgroundColor
|
|
564
|
+
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
695
565
|
}
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
566
|
+
|
|
567
|
+
return React.createElement(FixSizeItem, {
|
|
568
|
+
"data-test": "fix-size-item",
|
|
569
|
+
"data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
|
|
570
|
+
width: width,
|
|
571
|
+
height: height,
|
|
572
|
+
backgroundColor: backgroundColor
|
|
573
|
+
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
574
|
+
var newWidth = _ref3.width,
|
|
575
|
+
newHeight = _ref3.height;
|
|
576
|
+
return React.createElement(Viz, Object.assign({}, props, {
|
|
577
|
+
width: newWidth,
|
|
578
|
+
height: newHeight
|
|
579
|
+
}));
|
|
580
|
+
})));
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
584
|
+
return FixedSizeContainer;
|
|
699
585
|
};
|
|
700
|
-
exports.default = configUtils_1.enhanceConfig(config);
|
|
701
586
|
|
|
702
|
-
|
|
587
|
+
exports.default = withFixedSizeContainer;
|
|
703
588
|
|
|
704
|
-
/***/
|
|
589
|
+
/***/ }),
|
|
590
|
+
/* 15 */
|
|
705
591
|
/***/ (function(module, exports) {
|
|
706
592
|
|
|
707
|
-
module.exports = require("@splunk/
|
|
593
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
708
594
|
|
|
709
595
|
/***/ }),
|
|
596
|
+
/* 16 */
|
|
597
|
+
/***/ (function(module, exports) {
|
|
710
598
|
|
|
711
|
-
|
|
712
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
599
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
713
600
|
|
|
714
|
-
|
|
601
|
+
/***/ }),
|
|
602
|
+
/* 17 */
|
|
603
|
+
/***/ (function(module, exports) {
|
|
715
604
|
|
|
605
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
716
606
|
|
|
717
|
-
|
|
718
|
-
|
|
607
|
+
/***/ }),
|
|
608
|
+
/* 18 */
|
|
609
|
+
/***/ (function(module, exports) {
|
|
719
610
|
|
|
720
|
-
|
|
721
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
722
|
-
}
|
|
611
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
723
612
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
};
|
|
729
|
-
|
|
730
|
-
Object.defineProperty(exports, "__esModule", {
|
|
731
|
-
value: true
|
|
732
|
-
});
|
|
733
|
-
exports.allInvalidDataValues = exports.invalidOptionField = exports.getPieOptionFieldIndex = exports.getPieMergedOptions = exports.convertToPieSCProperties = exports.mapToOldKey = exports.mapLabelDisplay = exports.convertToStringValues = void 0;
|
|
734
|
-
|
|
735
|
-
var lodash_1 = __webpack_require__(2);
|
|
736
|
-
|
|
737
|
-
var propUtils_1 = __webpack_require__(20);
|
|
738
|
-
|
|
739
|
-
var dsl_1 = __webpack_require__(104);
|
|
740
|
-
|
|
741
|
-
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
742
|
-
|
|
743
|
-
var hocUtils_1 = __webpack_require__(8); // CONVERT THIS TO PIE THEN ADD TO Pie.TSX
|
|
744
|
-
// map for key names which are either new or not present in SimpleXML options mapping
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
var pieOptionsSCMapping = {
|
|
748
|
-
resultLimit: 'resultTruncationLimit',
|
|
749
|
-
seriesColorsByField: 'fieldColors',
|
|
750
|
-
collapseThreshold: 'chart.sliceCollapsingThreshold',
|
|
751
|
-
collapseLabel: 'chart.sliceCollapsingLabel'
|
|
752
|
-
};
|
|
753
|
-
/**
|
|
754
|
-
* Helper method to convert option which contains object literal values (e.g. arrays, objects)
|
|
755
|
-
* to strings as SC can only accept their stringified equivalents
|
|
756
|
-
* @method convertToStringValues
|
|
757
|
-
* @param {Object} options
|
|
758
|
-
* @returns {Object}
|
|
759
|
-
*/
|
|
760
|
-
|
|
761
|
-
var convertToStringValues = function convertToStringValues(options) {
|
|
762
|
-
var updatedOptions = propUtils_1.convertPropsToString({
|
|
763
|
-
vizProps: options,
|
|
764
|
-
propNames: ['seriesColors', 'fieldColors']
|
|
765
|
-
});
|
|
766
|
-
return Object.assign(Object.assign({}, options), updatedOptions);
|
|
767
|
-
};
|
|
768
|
-
|
|
769
|
-
exports.convertToStringValues = convertToStringValues;
|
|
770
|
-
/**
|
|
771
|
-
* Helper method to map labelDisplay options to jsCharting options
|
|
772
|
-
* @method mapLabelDisplay
|
|
773
|
-
* @param {Object} options
|
|
774
|
-
* @returns {Object}
|
|
775
|
-
*/
|
|
776
|
-
|
|
777
|
-
var mapLabelDisplay = function mapLabelDisplay(_a) {
|
|
778
|
-
var labelDisplay = _a.labelDisplay,
|
|
779
|
-
options = __rest(_a, ["labelDisplay"]);
|
|
780
|
-
|
|
781
|
-
var convertedOptions = Object.assign(Object.assign({}, options), {
|
|
782
|
-
// default for labelDisplay option is 'values'
|
|
783
|
-
'chart.showLabels': true,
|
|
784
|
-
'chart.showPercent': false
|
|
785
|
-
});
|
|
786
|
-
|
|
787
|
-
if (labelDisplay === 'valuesAndPercentage') {
|
|
788
|
-
convertedOptions['chart.showPercent'] = true;
|
|
789
|
-
} else if (labelDisplay === 'off') {
|
|
790
|
-
convertedOptions['chart.showLabels'] = false;
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
return convertedOptions;
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
exports.mapLabelDisplay = mapLabelDisplay;
|
|
797
|
-
/**
|
|
798
|
-
* Helper method to update the option names which can be mapped to SimpleXML options or
|
|
799
|
-
* can be used directly with SC if don't have a 1-1 mapping in SimpleXML
|
|
800
|
-
* @method mapToOldKey
|
|
801
|
-
* @param {Object} options
|
|
802
|
-
* @returns {Object}
|
|
803
|
-
*/
|
|
804
|
-
|
|
805
|
-
var mapToOldKey = function mapToOldKey(options) {
|
|
806
|
-
return lodash_1.mapKeys(options, function (val, key) {
|
|
807
|
-
return pieOptionsSCMapping[key] ? pieOptionsSCMapping[key] : key;
|
|
808
|
-
});
|
|
809
|
-
};
|
|
810
|
-
|
|
811
|
-
exports.mapToOldKey = mapToOldKey;
|
|
812
|
-
/**
|
|
813
|
-
* Chained helper for mapping the option properties (and values) we expose in config.ts into property values that splunk-charting accepts
|
|
814
|
-
* This is for options that has new key name and can not directly be mapped with SimpleXML or
|
|
815
|
-
* don't have a 1-1 mapping in SimpleXML (i.e. a straightforward name mapping where values are preserved)
|
|
816
|
-
* @method convertToPieSCProperties
|
|
817
|
-
* @param {Object} originalOptions
|
|
818
|
-
* @returns {Object}
|
|
819
|
-
*/
|
|
820
|
-
|
|
821
|
-
var convertToPieSCProperties = function convertToPieSCProperties(originalOptions) {
|
|
822
|
-
return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(exports.convertToStringValues).thru(exports.mapLabelDisplay).value();
|
|
823
|
-
};
|
|
824
|
-
|
|
825
|
-
exports.convertToPieSCProperties = convertToPieSCProperties;
|
|
826
|
-
/**
|
|
827
|
-
* Return all merged options (default + config) using vizConfig and options
|
|
828
|
-
* @param options
|
|
829
|
-
* @param vizConfig
|
|
830
|
-
* @returns
|
|
831
|
-
*/
|
|
832
|
-
|
|
833
|
-
var getPieMergedOptions = function getPieMergedOptions(options, vizConfig) {
|
|
834
|
-
return hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default'));
|
|
835
|
-
};
|
|
836
|
-
|
|
837
|
-
exports.getPieMergedOptions = getPieMergedOptions;
|
|
838
|
-
/**
|
|
839
|
-
* Returns option's field index. If not found returns -1
|
|
840
|
-
* @param optionName
|
|
841
|
-
* @param dataSources
|
|
842
|
-
* @param options
|
|
843
|
-
* @param vizConfig
|
|
844
|
-
* @returns
|
|
845
|
-
*/
|
|
846
|
-
|
|
847
|
-
var getPieOptionFieldIndex = function getPieOptionFieldIndex(optionName, dataSources, options, vizConfig) {
|
|
848
|
-
var mergedOptions = exports.getPieMergedOptions(options, vizConfig); // find the field name configured for pie "value"
|
|
849
|
-
|
|
850
|
-
var fieldName = dsl_1.getFieldsFromDSL(mergedOptions[optionName], dataSources)[0];
|
|
851
|
-
var fields = dataSources.primary.data.fields; // find the field index configured for pie "value"
|
|
852
|
-
|
|
853
|
-
var fieldIndex = fields.findIndex(function (field) {
|
|
854
|
-
return (typeof field === 'string' ? field : field.name.toString()) === fieldName;
|
|
855
|
-
});
|
|
856
|
-
return fieldIndex;
|
|
857
|
-
};
|
|
858
|
-
|
|
859
|
-
exports.getPieOptionFieldIndex = getPieOptionFieldIndex;
|
|
860
|
-
/**
|
|
861
|
-
* Returns true if columns data has invalid data format for specified option (label or value)
|
|
862
|
-
* @param optionName
|
|
863
|
-
* @param dataSources
|
|
864
|
-
* @param options
|
|
865
|
-
* @param vizConfig
|
|
866
|
-
* @returns
|
|
867
|
-
*/
|
|
868
|
-
|
|
869
|
-
var invalidOptionField = function invalidOptionField(optionName, dataSources, options, vizConfig) {
|
|
870
|
-
var columns = dataSources.primary.data.columns;
|
|
871
|
-
var fieldIndex = exports.getPieOptionFieldIndex(optionName, dataSources, options, vizConfig);
|
|
872
|
-
|
|
873
|
-
if (fieldIndex === -1 || !columns[fieldIndex] || !Array.isArray(columns[fieldIndex]) || Array.isArray(columns[fieldIndex]) && !columns[fieldIndex].length) {
|
|
874
|
-
return true;
|
|
875
|
-
}
|
|
613
|
+
/***/ }),
|
|
614
|
+
/* 19 */,
|
|
615
|
+
/* 20 */
|
|
616
|
+
/***/ (function(module, exports) {
|
|
876
617
|
|
|
877
|
-
|
|
878
|
-
};
|
|
618
|
+
module.exports = require("@splunk/themes/pick");
|
|
879
619
|
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
*/
|
|
620
|
+
/***/ }),
|
|
621
|
+
/* 21 */
|
|
622
|
+
/***/ (function(module, exports) {
|
|
884
623
|
|
|
885
|
-
|
|
886
|
-
var columns = dataSources.primary.data.columns; // find the field index configured for pie "value"
|
|
624
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
887
625
|
|
|
888
|
-
|
|
626
|
+
/***/ }),
|
|
627
|
+
/* 22 */
|
|
628
|
+
/***/ (function(module, exports) {
|
|
889
629
|
|
|
890
|
-
|
|
891
|
-
return !columns[valueFieldIndex].some(function (value) {
|
|
892
|
-
return +value > 0;
|
|
893
|
-
});
|
|
894
|
-
}
|
|
630
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
895
631
|
|
|
896
|
-
|
|
897
|
-
|
|
632
|
+
/***/ }),
|
|
633
|
+
/* 23 */
|
|
634
|
+
/***/ (function(module, exports) {
|
|
898
635
|
|
|
899
|
-
exports
|
|
636
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
900
637
|
|
|
901
638
|
/***/ }),
|
|
902
|
-
|
|
903
|
-
|
|
639
|
+
/* 24 */,
|
|
640
|
+
/* 25 */
|
|
904
641
|
/***/ (function(module, exports, __webpack_require__) {
|
|
905
642
|
|
|
906
643
|
"use strict";
|
|
@@ -933,8 +670,7 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
933
670
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
934
671
|
|
|
935
672
|
/***/ }),
|
|
936
|
-
|
|
937
|
-
/***/ 25:
|
|
673
|
+
/* 26 */
|
|
938
674
|
/***/ (function(module, exports, __webpack_require__) {
|
|
939
675
|
|
|
940
676
|
"use strict";
|
|
@@ -953,9 +689,9 @@ var lodash_1 = __webpack_require__(2);
|
|
|
953
689
|
|
|
954
690
|
var i18n_1 = __webpack_require__(3);
|
|
955
691
|
|
|
956
|
-
var Message_1 = __webpack_require__(
|
|
692
|
+
var Message_1 = __webpack_require__(11);
|
|
957
693
|
|
|
958
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
694
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
959
695
|
/**
|
|
960
696
|
* @method shouldShowIconPlaceholder
|
|
961
697
|
* @param {object} dataSources
|
|
@@ -1025,8 +761,7 @@ IconPlaceholder.defaultProps = {
|
|
|
1025
761
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
1026
762
|
|
|
1027
763
|
/***/ }),
|
|
1028
|
-
|
|
1029
|
-
/***/ 26:
|
|
764
|
+
/* 27 */
|
|
1030
765
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1031
766
|
|
|
1032
767
|
"use strict";
|
|
@@ -1043,7 +778,7 @@ var T = __webpack_require__(0);
|
|
|
1043
778
|
|
|
1044
779
|
var lodash_1 = __webpack_require__(2);
|
|
1045
780
|
|
|
1046
|
-
var DataSource_1 = __webpack_require__(
|
|
781
|
+
var DataSource_1 = __webpack_require__(37);
|
|
1047
782
|
|
|
1048
783
|
exports.SortParamsPropTypes = T.shape({
|
|
1049
784
|
currentSortKey: T.string,
|
|
@@ -1096,8 +831,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1096
831
|
exports.getSortingParams = getSortingParams;
|
|
1097
832
|
|
|
1098
833
|
/***/ }),
|
|
1099
|
-
|
|
1100
|
-
/***/ 27:
|
|
834
|
+
/* 28 */
|
|
1101
835
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1102
836
|
|
|
1103
837
|
"use strict";
|
|
@@ -1161,8 +895,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1161
895
|
exports.getPaginationParams = getPaginationParams;
|
|
1162
896
|
|
|
1163
897
|
/***/ }),
|
|
1164
|
-
|
|
1165
|
-
/***/ 28:
|
|
898
|
+
/* 29 */
|
|
1166
899
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1167
900
|
|
|
1168
901
|
"use strict";
|
|
@@ -1190,8 +923,7 @@ var VizCategory;
|
|
|
1190
923
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
1191
924
|
|
|
1192
925
|
/***/ }),
|
|
1193
|
-
|
|
1194
|
-
/***/ 29:
|
|
926
|
+
/* 30 */
|
|
1195
927
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1196
928
|
|
|
1197
929
|
"use strict";
|
|
@@ -1205,35 +937,35 @@ var React = __webpack_require__(1);
|
|
|
1205
937
|
|
|
1206
938
|
var lodash_1 = __webpack_require__(2);
|
|
1207
939
|
|
|
1208
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
940
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(31);
|
|
1209
941
|
|
|
1210
|
-
var Options_1 = __webpack_require__(
|
|
942
|
+
var Options_1 = __webpack_require__(32);
|
|
1211
943
|
|
|
1212
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
944
|
+
var SanitizeProps_1 = __webpack_require__(33);
|
|
1213
945
|
|
|
1214
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
946
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
1215
947
|
|
|
1216
|
-
var moment_1 = __webpack_require__(
|
|
948
|
+
var moment_1 = __webpack_require__(34);
|
|
1217
949
|
|
|
1218
950
|
var styled_components_1 = __webpack_require__(4);
|
|
1219
951
|
|
|
1220
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
952
|
+
var SplunkVisualization_1 = __webpack_require__(35);
|
|
1221
953
|
|
|
1222
954
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1223
955
|
|
|
1224
|
-
var getSorting_1 = __webpack_require__(
|
|
956
|
+
var getSorting_1 = __webpack_require__(27);
|
|
1225
957
|
|
|
1226
|
-
var getPagination_1 = __webpack_require__(
|
|
958
|
+
var getPagination_1 = __webpack_require__(28);
|
|
1227
959
|
|
|
1228
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
960
|
+
var useDeepMemo_1 = __webpack_require__(38);
|
|
1229
961
|
|
|
1230
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
962
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
1231
963
|
|
|
1232
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
964
|
+
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
1233
965
|
|
|
1234
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
966
|
+
var withEditModeCover_1 = __webpack_require__(40);
|
|
1235
967
|
|
|
1236
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
968
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
1237
969
|
|
|
1238
970
|
var hocUtils_1 = __webpack_require__(8);
|
|
1239
971
|
/**
|
|
@@ -1436,49 +1168,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1436
1168
|
exports.default = withDashboardViz;
|
|
1437
1169
|
|
|
1438
1170
|
/***/ }),
|
|
1439
|
-
|
|
1440
|
-
/***/ 3:
|
|
1441
|
-
/***/ (function(module, exports) {
|
|
1442
|
-
|
|
1443
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1444
|
-
|
|
1445
|
-
/***/ }),
|
|
1446
|
-
|
|
1447
|
-
/***/ 30:
|
|
1171
|
+
/* 31 */
|
|
1448
1172
|
/***/ (function(module, exports) {
|
|
1449
1173
|
|
|
1450
1174
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1451
1175
|
|
|
1452
1176
|
/***/ }),
|
|
1453
|
-
|
|
1454
|
-
/***/ 31:
|
|
1177
|
+
/* 32 */
|
|
1455
1178
|
/***/ (function(module, exports) {
|
|
1456
1179
|
|
|
1457
1180
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1458
1181
|
|
|
1459
1182
|
/***/ }),
|
|
1460
|
-
|
|
1461
|
-
/***/ 32:
|
|
1183
|
+
/* 33 */
|
|
1462
1184
|
/***/ (function(module, exports) {
|
|
1463
1185
|
|
|
1464
1186
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1465
1187
|
|
|
1466
1188
|
/***/ }),
|
|
1467
|
-
|
|
1468
|
-
/***/ 33:
|
|
1189
|
+
/* 34 */
|
|
1469
1190
|
/***/ (function(module, exports) {
|
|
1470
1191
|
|
|
1471
1192
|
module.exports = require("@splunk/moment");
|
|
1472
1193
|
|
|
1473
1194
|
/***/ }),
|
|
1474
|
-
|
|
1475
|
-
/***/ 34:
|
|
1195
|
+
/* 35 */
|
|
1476
1196
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1477
1197
|
|
|
1478
1198
|
"use strict";
|
|
1479
1199
|
|
|
1480
1200
|
|
|
1481
|
-
var _classCallCheck = __webpack_require__(
|
|
1201
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1482
1202
|
|
|
1483
1203
|
Object.defineProperty(exports, "__esModule", {
|
|
1484
1204
|
value: true
|
|
@@ -1490,7 +1210,7 @@ var T = __webpack_require__(0);
|
|
|
1490
1210
|
|
|
1491
1211
|
var lodash_1 = __webpack_require__(2);
|
|
1492
1212
|
|
|
1493
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1213
|
+
var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1494
1214
|
|
|
1495
1215
|
|
|
1496
1216
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1623,16 +1343,15 @@ SplunkVisualization.defaultProps = {
|
|
|
1623
1343
|
exports.default = SplunkVisualization;
|
|
1624
1344
|
|
|
1625
1345
|
/***/ }),
|
|
1626
|
-
|
|
1627
|
-
/***/ 35:
|
|
1346
|
+
/* 36 */
|
|
1628
1347
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1629
1348
|
|
|
1630
1349
|
"use strict";
|
|
1631
1350
|
|
|
1632
1351
|
|
|
1633
|
-
var _classCallCheck = __webpack_require__(
|
|
1352
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1634
1353
|
|
|
1635
|
-
var _createClass = __webpack_require__(
|
|
1354
|
+
var _createClass = __webpack_require__(17);
|
|
1636
1355
|
|
|
1637
1356
|
Object.defineProperty(exports, "__esModule", {
|
|
1638
1357
|
value: true
|
|
@@ -1661,8 +1380,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1661
1380
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1662
1381
|
|
|
1663
1382
|
/***/ }),
|
|
1664
|
-
|
|
1665
|
-
/***/ 36:
|
|
1383
|
+
/* 37 */
|
|
1666
1384
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1667
1385
|
|
|
1668
1386
|
"use strict";
|
|
@@ -1675,8 +1393,7 @@ exports.validSortDirs = void 0;
|
|
|
1675
1393
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1676
1394
|
|
|
1677
1395
|
/***/ }),
|
|
1678
|
-
|
|
1679
|
-
/***/ 37:
|
|
1396
|
+
/* 38 */
|
|
1680
1397
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1681
1398
|
|
|
1682
1399
|
"use strict";
|
|
@@ -1721,8 +1438,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1721
1438
|
exports.useDeepMemo = useDeepMemo;
|
|
1722
1439
|
|
|
1723
1440
|
/***/ }),
|
|
1724
|
-
|
|
1725
|
-
/***/ 38:
|
|
1441
|
+
/* 39 */
|
|
1726
1442
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1727
1443
|
|
|
1728
1444
|
"use strict";
|
|
@@ -1739,9 +1455,9 @@ var T = __webpack_require__(0);
|
|
|
1739
1455
|
|
|
1740
1456
|
var i18n_1 = __webpack_require__(3);
|
|
1741
1457
|
|
|
1742
|
-
var Message_1 = __webpack_require__(
|
|
1458
|
+
var Message_1 = __webpack_require__(11);
|
|
1743
1459
|
|
|
1744
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1460
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
1745
1461
|
/**
|
|
1746
1462
|
* @method isMissing
|
|
1747
1463
|
* @param {any} v
|
|
@@ -1802,8 +1518,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1802
1518
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1803
1519
|
|
|
1804
1520
|
/***/ }),
|
|
1805
|
-
|
|
1806
|
-
/***/ 39:
|
|
1521
|
+
/* 40 */
|
|
1807
1522
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1808
1523
|
|
|
1809
1524
|
"use strict";
|
|
@@ -1824,7 +1539,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1824
1539
|
componentId: "sc-1gsbnxb-0"
|
|
1825
1540
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1826
1541
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1827
|
-
'data-splunk-visualization-version': "
|
|
1542
|
+
'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
|
|
1828
1543
|
}).withConfig({
|
|
1829
1544
|
displayName: "withEditModeCover__Blocker",
|
|
1830
1545
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1855,15 +1570,13 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1855
1570
|
exports.default = withEditModeCover;
|
|
1856
1571
|
|
|
1857
1572
|
/***/ }),
|
|
1858
|
-
|
|
1859
|
-
/***/ 4:
|
|
1573
|
+
/* 41 */
|
|
1860
1574
|
/***/ (function(module, exports) {
|
|
1861
1575
|
|
|
1862
|
-
module.exports = require("
|
|
1576
|
+
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1863
1577
|
|
|
1864
1578
|
/***/ }),
|
|
1865
|
-
|
|
1866
|
-
/***/ 40:
|
|
1579
|
+
/* 42 */
|
|
1867
1580
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1868
1581
|
|
|
1869
1582
|
"use strict";
|
|
@@ -1875,11 +1588,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1875
1588
|
|
|
1876
1589
|
var React = __webpack_require__(1);
|
|
1877
1590
|
|
|
1878
|
-
var colorUtils_1 = __webpack_require__(
|
|
1591
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
1879
1592
|
|
|
1880
|
-
var variables_1 = __webpack_require__(
|
|
1593
|
+
var variables_1 = __webpack_require__(10);
|
|
1881
1594
|
|
|
1882
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1595
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
1883
1596
|
|
|
1884
1597
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1885
1598
|
|
|
@@ -1927,29 +1640,23 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1927
1640
|
exports.default = withPlaceholder;
|
|
1928
1641
|
|
|
1929
1642
|
/***/ }),
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
/***/ (function(module, exports) {
|
|
1933
|
-
|
|
1934
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1935
|
-
|
|
1936
|
-
/***/ }),
|
|
1937
|
-
|
|
1938
|
-
/***/ 43:
|
|
1643
|
+
/* 43 */,
|
|
1644
|
+
/* 44 */
|
|
1939
1645
|
/***/ (function(module, exports) {
|
|
1940
1646
|
|
|
1941
1647
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1942
1648
|
|
|
1943
1649
|
/***/ }),
|
|
1944
|
-
|
|
1945
|
-
/***/ 44:
|
|
1650
|
+
/* 45 */
|
|
1946
1651
|
/***/ (function(module, exports) {
|
|
1947
1652
|
|
|
1948
1653
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1949
1654
|
|
|
1950
1655
|
/***/ }),
|
|
1951
|
-
|
|
1952
|
-
|
|
1656
|
+
/* 46 */,
|
|
1657
|
+
/* 47 */,
|
|
1658
|
+
/* 48 */,
|
|
1659
|
+
/* 49 */
|
|
1953
1660
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1954
1661
|
|
|
1955
1662
|
"use strict";
|
|
@@ -1979,14 +1686,13 @@ var background = function background(_ref) {
|
|
|
1979
1686
|
exports.default = background;
|
|
1980
1687
|
|
|
1981
1688
|
/***/ }),
|
|
1982
|
-
|
|
1983
|
-
/***/ 49:
|
|
1689
|
+
/* 50 */
|
|
1984
1690
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1985
1691
|
|
|
1986
1692
|
"use strict";
|
|
1987
1693
|
|
|
1988
1694
|
|
|
1989
|
-
var _toConsumableArray = __webpack_require__(
|
|
1695
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
1990
1696
|
|
|
1991
1697
|
var __rest = this && this.__rest || function (s, e) {
|
|
1992
1698
|
var t = {};
|
|
@@ -2201,53 +1907,16 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
|
|
|
2201
1907
|
exports.constructFieldsAndColumns = constructFieldsAndColumns;
|
|
2202
1908
|
|
|
2203
1909
|
/***/ }),
|
|
2204
|
-
|
|
2205
|
-
/***/ 5:
|
|
2206
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2207
|
-
|
|
2208
|
-
"use strict";
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2212
|
-
value: true
|
|
2213
|
-
});
|
|
2214
|
-
exports.VizBehavior = void 0;
|
|
2215
|
-
var VizBehavior;
|
|
2216
|
-
|
|
2217
|
-
(function (VizBehavior) {
|
|
2218
|
-
/**
|
|
2219
|
-
* Dynamic Options Behavior.
|
|
2220
|
-
* This allows visualization options to be powered by data
|
|
2221
|
-
*
|
|
2222
|
-
* **Example**
|
|
2223
|
-
*
|
|
2224
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
2225
|
-
* would configure sparklineValues with an array of data points
|
|
2226
|
-
* coming from the first series in the primary datasource
|
|
2227
|
-
*
|
|
2228
|
-
*/
|
|
2229
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
2230
|
-
VizBehavior["EVENTS"] = "events";
|
|
2231
|
-
/**
|
|
2232
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
2233
|
-
* missing.
|
|
2234
|
-
* @type {string}
|
|
2235
|
-
*/
|
|
2236
|
-
|
|
2237
|
-
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
2238
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2239
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2240
|
-
|
|
2241
|
-
/***/ }),
|
|
2242
|
-
|
|
2243
|
-
/***/ 50:
|
|
1910
|
+
/* 51 */
|
|
2244
1911
|
/***/ (function(module, exports) {
|
|
2245
1912
|
|
|
2246
1913
|
module.exports = require("@splunk/charting-bundle");
|
|
2247
1914
|
|
|
2248
1915
|
/***/ }),
|
|
2249
|
-
|
|
2250
|
-
|
|
1916
|
+
/* 52 */,
|
|
1917
|
+
/* 53 */,
|
|
1918
|
+
/* 54 */,
|
|
1919
|
+
/* 55 */
|
|
2251
1920
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2252
1921
|
|
|
2253
1922
|
"use strict";
|
|
@@ -2263,7 +1932,7 @@ var lodash_1 = __webpack_require__(2);
|
|
|
2263
1932
|
|
|
2264
1933
|
var i18n_1 = __webpack_require__(3);
|
|
2265
1934
|
|
|
2266
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1935
|
+
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
2267
1936
|
|
|
2268
1937
|
var react_1 = __webpack_require__(1);
|
|
2269
1938
|
|
|
@@ -2271,26 +1940,26 @@ var React = __webpack_require__(1);
|
|
|
2271
1940
|
|
|
2272
1941
|
var T = __webpack_require__(0);
|
|
2273
1942
|
|
|
2274
|
-
var react_event_listener_1 = __webpack_require__(
|
|
1943
|
+
var react_event_listener_1 = __webpack_require__(56);
|
|
2275
1944
|
|
|
2276
|
-
__webpack_require__(
|
|
1945
|
+
__webpack_require__(57); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
2277
1946
|
|
|
2278
1947
|
|
|
2279
|
-
var charting_bundle_1 = __webpack_require__(
|
|
1948
|
+
var charting_bundle_1 = __webpack_require__(51);
|
|
2280
1949
|
|
|
2281
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1950
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
2282
1951
|
|
|
2283
|
-
var style_1 = __webpack_require__(
|
|
1952
|
+
var style_1 = __webpack_require__(15);
|
|
2284
1953
|
|
|
2285
1954
|
var styled_components_1 = __webpack_require__(4);
|
|
2286
1955
|
|
|
2287
|
-
var Message_1 = __webpack_require__(
|
|
1956
|
+
var Message_1 = __webpack_require__(11);
|
|
2288
1957
|
|
|
2289
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
1958
|
+
var useSplunkTheme_1 = __webpack_require__(58);
|
|
2290
1959
|
|
|
2291
|
-
var themeUtils_1 = __webpack_require__(
|
|
1960
|
+
var themeUtils_1 = __webpack_require__(59);
|
|
2292
1961
|
|
|
2293
|
-
var ChartingApi_1 = __webpack_require__(
|
|
1962
|
+
var ChartingApi_1 = __webpack_require__(60);
|
|
2294
1963
|
|
|
2295
1964
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
2296
1965
|
|
|
@@ -2669,44 +2338,39 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
|
|
|
2669
2338
|
exports.default = withEmptyChartMessage(Charting);
|
|
2670
2339
|
|
|
2671
2340
|
/***/ }),
|
|
2672
|
-
|
|
2673
|
-
/***/ 55:
|
|
2341
|
+
/* 56 */
|
|
2674
2342
|
/***/ (function(module, exports) {
|
|
2675
2343
|
|
|
2676
2344
|
module.exports = require("react-event-listener");
|
|
2677
2345
|
|
|
2678
2346
|
/***/ }),
|
|
2679
|
-
|
|
2680
|
-
/***/ 56:
|
|
2347
|
+
/* 57 */
|
|
2681
2348
|
/***/ (function(module, exports) {
|
|
2682
2349
|
|
|
2683
2350
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
2684
2351
|
|
|
2685
2352
|
/***/ }),
|
|
2686
|
-
|
|
2687
|
-
/***/ 57:
|
|
2353
|
+
/* 58 */
|
|
2688
2354
|
/***/ (function(module, exports) {
|
|
2689
2355
|
|
|
2690
2356
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2691
2357
|
|
|
2692
2358
|
/***/ }),
|
|
2693
|
-
|
|
2694
|
-
/***/ 58:
|
|
2359
|
+
/* 59 */
|
|
2695
2360
|
/***/ (function(module, exports) {
|
|
2696
2361
|
|
|
2697
2362
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
2698
2363
|
|
|
2699
2364
|
/***/ }),
|
|
2700
|
-
|
|
2701
|
-
/***/ 59:
|
|
2365
|
+
/* 60 */
|
|
2702
2366
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2703
2367
|
|
|
2704
2368
|
"use strict";
|
|
2705
2369
|
|
|
2706
2370
|
|
|
2707
|
-
var _classCallCheck = __webpack_require__(
|
|
2371
|
+
var _classCallCheck = __webpack_require__(12);
|
|
2708
2372
|
|
|
2709
|
-
var _createClass = __webpack_require__(
|
|
2373
|
+
var _createClass = __webpack_require__(17);
|
|
2710
2374
|
|
|
2711
2375
|
Object.defineProperty(exports, "__esModule", {
|
|
2712
2376
|
value: true
|
|
@@ -2766,15 +2430,95 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
|
2766
2430
|
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
2767
2431
|
|
|
2768
2432
|
/***/ }),
|
|
2433
|
+
/* 61 */
|
|
2434
|
+
/***/ (function(module, exports) {
|
|
2435
|
+
|
|
2436
|
+
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
2437
|
+
|
|
2438
|
+
/***/ }),
|
|
2439
|
+
/* 62 */,
|
|
2440
|
+
/* 63 */,
|
|
2441
|
+
/* 64 */,
|
|
2442
|
+
/* 65 */,
|
|
2443
|
+
/* 66 */,
|
|
2444
|
+
/* 67 */,
|
|
2445
|
+
/* 68 */,
|
|
2446
|
+
/* 69 */,
|
|
2447
|
+
/* 70 */,
|
|
2448
|
+
/* 71 */,
|
|
2449
|
+
/* 72 */,
|
|
2450
|
+
/* 73 */,
|
|
2451
|
+
/* 74 */,
|
|
2452
|
+
/* 75 */,
|
|
2453
|
+
/* 76 */,
|
|
2454
|
+
/* 77 */,
|
|
2455
|
+
/* 78 */,
|
|
2456
|
+
/* 79 */,
|
|
2457
|
+
/* 80 */,
|
|
2458
|
+
/* 81 */,
|
|
2459
|
+
/* 82 */,
|
|
2460
|
+
/* 83 */,
|
|
2461
|
+
/* 84 */,
|
|
2462
|
+
/* 85 */,
|
|
2463
|
+
/* 86 */,
|
|
2464
|
+
/* 87 */,
|
|
2465
|
+
/* 88 */,
|
|
2466
|
+
/* 89 */,
|
|
2467
|
+
/* 90 */,
|
|
2468
|
+
/* 91 */,
|
|
2469
|
+
/* 92 */,
|
|
2470
|
+
/* 93 */,
|
|
2471
|
+
/* 94 */,
|
|
2472
|
+
/* 95 */,
|
|
2473
|
+
/* 96 */,
|
|
2474
|
+
/* 97 */,
|
|
2475
|
+
/* 98 */,
|
|
2476
|
+
/* 99 */,
|
|
2477
|
+
/* 100 */,
|
|
2478
|
+
/* 101 */,
|
|
2479
|
+
/* 102 */,
|
|
2480
|
+
/* 103 */,
|
|
2481
|
+
/* 104 */,
|
|
2482
|
+
/* 105 */
|
|
2483
|
+
/***/ (function(module, exports) {
|
|
2769
2484
|
|
|
2770
|
-
|
|
2485
|
+
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
2486
|
+
|
|
2487
|
+
/***/ }),
|
|
2488
|
+
/* 106 */,
|
|
2489
|
+
/* 107 */,
|
|
2490
|
+
/* 108 */,
|
|
2491
|
+
/* 109 */,
|
|
2492
|
+
/* 110 */,
|
|
2493
|
+
/* 111 */,
|
|
2494
|
+
/* 112 */,
|
|
2495
|
+
/* 113 */,
|
|
2496
|
+
/* 114 */,
|
|
2497
|
+
/* 115 */,
|
|
2498
|
+
/* 116 */,
|
|
2499
|
+
/* 117 */,
|
|
2500
|
+
/* 118 */,
|
|
2501
|
+
/* 119 */,
|
|
2502
|
+
/* 120 */,
|
|
2503
|
+
/* 121 */,
|
|
2504
|
+
/* 122 */,
|
|
2505
|
+
/* 123 */,
|
|
2506
|
+
/* 124 */,
|
|
2507
|
+
/* 125 */,
|
|
2508
|
+
/* 126 */,
|
|
2509
|
+
/* 127 */,
|
|
2510
|
+
/* 128 */,
|
|
2511
|
+
/* 129 */,
|
|
2512
|
+
/* 130 */,
|
|
2513
|
+
/* 131 */,
|
|
2514
|
+
/* 132 */,
|
|
2515
|
+
/* 133 */,
|
|
2516
|
+
/* 134 */
|
|
2771
2517
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2772
2518
|
|
|
2773
2519
|
"use strict";
|
|
2774
2520
|
|
|
2775
2521
|
|
|
2776
|
-
var _defineProperty = __webpack_require__(7);
|
|
2777
|
-
|
|
2778
2522
|
var __rest = this && this.__rest || function (s, e) {
|
|
2779
2523
|
var t = {};
|
|
2780
2524
|
|
|
@@ -2791,323 +2535,676 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
2791
2535
|
Object.defineProperty(exports, "__esModule", {
|
|
2792
2536
|
value: true
|
|
2793
2537
|
});
|
|
2794
|
-
exports.
|
|
2538
|
+
exports.config = exports.themes = exports.showPlaceHolderIcon = exports.computeVizProps = exports.PieInnerSize = void 0;
|
|
2795
2539
|
|
|
2796
|
-
var lodash_1 = __webpack_require__(2);
|
|
2540
|
+
var lodash_1 = __webpack_require__(2); // Charting imports i18n which needs to be run to instantiate window globals in the
|
|
2541
|
+
// eslint-disable-next-line import/order
|
|
2797
2542
|
|
|
2798
|
-
var schemaUtils_1 = __webpack_require__(15);
|
|
2799
2543
|
|
|
2800
|
-
var
|
|
2544
|
+
var Charting_1 = __webpack_require__(55);
|
|
2801
2545
|
|
|
2802
|
-
var
|
|
2803
|
-
type: 'string',
|
|
2804
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
2805
|
-
};
|
|
2806
|
-
/**
|
|
2807
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
2808
|
-
* @param optionsSchema a visualization's options schema
|
|
2809
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
2810
|
-
*/
|
|
2546
|
+
var charting_bundle_1 = __webpack_require__(51);
|
|
2811
2547
|
|
|
2812
|
-
|
|
2813
|
-
var enhancedOptionsSchema = {};
|
|
2814
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
2815
|
-
var _a = optionsSchema[key],
|
|
2816
|
-
title = _a.title,
|
|
2817
|
-
description = _a.description,
|
|
2818
|
-
readOnly = _a.readOnly,
|
|
2819
|
-
writeOnly = _a.writeOnly,
|
|
2820
|
-
examples = _a.examples,
|
|
2821
|
-
defaultValue = _a.default,
|
|
2822
|
-
type = _a.type,
|
|
2823
|
-
properties = _a.properties,
|
|
2824
|
-
patternProperties = _a.patternProperties,
|
|
2825
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
2548
|
+
var simpleXMLOptions_1 = __webpack_require__(61);
|
|
2826
2549
|
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2550
|
+
var config_1 = __webpack_require__(228);
|
|
2551
|
+
|
|
2552
|
+
exports.config = config_1.default;
|
|
2553
|
+
|
|
2554
|
+
var withDashboardViz_1 = __webpack_require__(30);
|
|
2555
|
+
|
|
2556
|
+
var pieUtils_1 = __webpack_require__(230);
|
|
2557
|
+
|
|
2558
|
+
var chartingUtils_1 = __webpack_require__(50);
|
|
2559
|
+
|
|
2560
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
2561
|
+
|
|
2562
|
+
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
2563
|
+
exports.PieInnerSize = 0.7;
|
|
2564
|
+
|
|
2565
|
+
var computeVizProps = function computeVizProps(_a) {
|
|
2566
|
+
var dataSources = _a.dataSources,
|
|
2567
|
+
onEventTrigger = _a.onEventTrigger,
|
|
2568
|
+
label = _a.label,
|
|
2569
|
+
value = _a.value,
|
|
2570
|
+
showDonutHole = _a.showDonutHole,
|
|
2571
|
+
visualizationApiRef = _a.visualizationApiRef,
|
|
2572
|
+
otherOptions = __rest(_a, ["dataSources", "onEventTrigger", "label", "value", "showDonutHole", "visualizationApiRef"]); // options to be passed as props
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
var computedProps = {
|
|
2576
|
+
visualizationApiRef: visualizationApiRef
|
|
2577
|
+
};
|
|
2578
|
+
var labelField = otherOptions.labelField,
|
|
2579
|
+
valueField = otherOptions.valueField,
|
|
2580
|
+
hasEventHandlers = otherOptions.hasEventHandlers;
|
|
2581
|
+
computedProps.options = lodash_1.chain(otherOptions).pick(validOptions).thru(pieUtils_1.convertToPieSCProperties).thru(function (options) {
|
|
2582
|
+
return Object.assign(Object.assign({}, simpleXMLOptions_1.getSimpleXMLOptionsForProps(options)), {
|
|
2583
|
+
chart: 'pie'
|
|
2839
2584
|
});
|
|
2585
|
+
}).value();
|
|
2586
|
+
var truncationLimit = computedProps.options['chart.resultTruncationLimit'];
|
|
2587
|
+
var primaryData = Object.assign(Object.assign({}, dataSources.primary.data), {
|
|
2588
|
+
columns: [label, value]
|
|
2589
|
+
});
|
|
2590
|
+
primaryData.fields = [{
|
|
2591
|
+
name: labelField
|
|
2592
|
+
}, {
|
|
2593
|
+
name: valueField
|
|
2594
|
+
}];
|
|
2840
2595
|
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
}), properties && {
|
|
2845
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
2846
|
-
});
|
|
2596
|
+
if (!value) {
|
|
2597
|
+
primaryData.columns = [label, []];
|
|
2598
|
+
}
|
|
2847
2599
|
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
2852
|
-
});
|
|
2853
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
2854
|
-
}
|
|
2855
|
-
} else {
|
|
2856
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
2857
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
2858
|
-
type: type
|
|
2859
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
2860
|
-
});
|
|
2600
|
+
primaryData.columns.forEach(function (column, index) {
|
|
2601
|
+
if (column) {
|
|
2602
|
+
primaryData.columns[index] = column.map(String);
|
|
2861
2603
|
}
|
|
2862
2604
|
});
|
|
2863
|
-
return enhancedOptionsSchema;
|
|
2864
|
-
}
|
|
2865
2605
|
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
* @param vizConfig a Visualization Config
|
|
2870
|
-
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
2871
|
-
*/
|
|
2606
|
+
if (truncationLimit) {
|
|
2607
|
+
primaryData = chartingUtils_1.truncateData(primaryData, truncationLimit);
|
|
2608
|
+
}
|
|
2872
2609
|
|
|
2873
|
-
|
|
2874
|
-
var enhancedConfig = vizConfig;
|
|
2610
|
+
computedProps.chartData = charting_bundle_1.default.extractChartReadyData(Object.assign({}, primaryData));
|
|
2875
2611
|
|
|
2876
|
-
if (
|
|
2877
|
-
|
|
2612
|
+
if (showDonutHole) {
|
|
2613
|
+
computedProps.options['chart.pieInnerSize'] = exports.PieInnerSize;
|
|
2614
|
+
} else {
|
|
2615
|
+
computedProps.options['chart.pieInnerSize'] = 0;
|
|
2878
2616
|
}
|
|
2879
2617
|
|
|
2880
|
-
|
|
2881
|
-
|
|
2618
|
+
if (hasEventHandlers) {
|
|
2619
|
+
computedProps.onClick = onEventTrigger;
|
|
2620
|
+
}
|
|
2882
2621
|
|
|
2883
|
-
|
|
2622
|
+
return computedProps;
|
|
2623
|
+
};
|
|
2884
2624
|
|
|
2885
|
-
|
|
2886
|
-
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
2887
|
-
}
|
|
2625
|
+
exports.computeVizProps = computeVizProps; // Returns true to display the placeholder icon, if invalid datasource condition or invalid data value/labels condition is met
|
|
2888
2626
|
|
|
2889
|
-
|
|
2890
|
-
|
|
2627
|
+
var showPlaceHolderIcon = function showPlaceHolderIcon(dataSources, loading, options) {
|
|
2628
|
+
return IconPlaceholder_1.shouldShowIconPlaceholder(dataSources, loading) || pieUtils_1.invalidOptionField('value', dataSources, options, config_1.default) || pieUtils_1.invalidOptionField('label', dataSources, options, config_1.default) || pieUtils_1.allInvalidDataValues(dataSources, options, config_1.default);
|
|
2629
|
+
};
|
|
2891
2630
|
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2631
|
+
exports.showPlaceHolderIcon = showPlaceHolderIcon;
|
|
2632
|
+
var Pie = withDashboardViz_1.default({
|
|
2633
|
+
ReactViz: Charting_1.default,
|
|
2634
|
+
computeVizProps: exports.computeVizProps,
|
|
2635
|
+
useIconPlaceholder: function useIconPlaceholder(dataSources, loading, options) {
|
|
2636
|
+
return exports.showPlaceHolderIcon(dataSources, loading, options);
|
|
2637
|
+
},
|
|
2638
|
+
vizConfig: config_1.default
|
|
2639
|
+
});
|
|
2640
|
+
var themes = null;
|
|
2641
|
+
exports.themes = themes;
|
|
2642
|
+
exports.default = Pie;
|
|
2900
2643
|
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2644
|
+
/***/ }),
|
|
2645
|
+
/* 135 */,
|
|
2646
|
+
/* 136 */,
|
|
2647
|
+
/* 137 */,
|
|
2648
|
+
/* 138 */,
|
|
2649
|
+
/* 139 */,
|
|
2650
|
+
/* 140 */,
|
|
2651
|
+
/* 141 */,
|
|
2652
|
+
/* 142 */,
|
|
2653
|
+
/* 143 */,
|
|
2654
|
+
/* 144 */,
|
|
2655
|
+
/* 145 */,
|
|
2656
|
+
/* 146 */,
|
|
2657
|
+
/* 147 */,
|
|
2658
|
+
/* 148 */,
|
|
2659
|
+
/* 149 */,
|
|
2660
|
+
/* 150 */,
|
|
2661
|
+
/* 151 */,
|
|
2662
|
+
/* 152 */,
|
|
2663
|
+
/* 153 */,
|
|
2664
|
+
/* 154 */,
|
|
2665
|
+
/* 155 */,
|
|
2666
|
+
/* 156 */,
|
|
2667
|
+
/* 157 */,
|
|
2668
|
+
/* 158 */,
|
|
2669
|
+
/* 159 */,
|
|
2670
|
+
/* 160 */,
|
|
2671
|
+
/* 161 */,
|
|
2672
|
+
/* 162 */,
|
|
2673
|
+
/* 163 */,
|
|
2674
|
+
/* 164 */,
|
|
2675
|
+
/* 165 */,
|
|
2676
|
+
/* 166 */,
|
|
2677
|
+
/* 167 */,
|
|
2678
|
+
/* 168 */,
|
|
2679
|
+
/* 169 */,
|
|
2680
|
+
/* 170 */,
|
|
2681
|
+
/* 171 */,
|
|
2682
|
+
/* 172 */,
|
|
2683
|
+
/* 173 */,
|
|
2684
|
+
/* 174 */,
|
|
2685
|
+
/* 175 */,
|
|
2686
|
+
/* 176 */,
|
|
2687
|
+
/* 177 */,
|
|
2688
|
+
/* 178 */,
|
|
2689
|
+
/* 179 */,
|
|
2690
|
+
/* 180 */,
|
|
2691
|
+
/* 181 */,
|
|
2692
|
+
/* 182 */,
|
|
2693
|
+
/* 183 */,
|
|
2694
|
+
/* 184 */,
|
|
2695
|
+
/* 185 */,
|
|
2696
|
+
/* 186 */,
|
|
2697
|
+
/* 187 */,
|
|
2698
|
+
/* 188 */,
|
|
2699
|
+
/* 189 */,
|
|
2700
|
+
/* 190 */,
|
|
2701
|
+
/* 191 */,
|
|
2702
|
+
/* 192 */,
|
|
2703
|
+
/* 193 */,
|
|
2704
|
+
/* 194 */,
|
|
2705
|
+
/* 195 */,
|
|
2706
|
+
/* 196 */,
|
|
2707
|
+
/* 197 */,
|
|
2708
|
+
/* 198 */,
|
|
2709
|
+
/* 199 */,
|
|
2710
|
+
/* 200 */,
|
|
2711
|
+
/* 201 */,
|
|
2712
|
+
/* 202 */,
|
|
2713
|
+
/* 203 */,
|
|
2714
|
+
/* 204 */,
|
|
2715
|
+
/* 205 */,
|
|
2716
|
+
/* 206 */,
|
|
2717
|
+
/* 207 */,
|
|
2718
|
+
/* 208 */,
|
|
2719
|
+
/* 209 */,
|
|
2720
|
+
/* 210 */,
|
|
2721
|
+
/* 211 */,
|
|
2722
|
+
/* 212 */,
|
|
2723
|
+
/* 213 */,
|
|
2724
|
+
/* 214 */,
|
|
2725
|
+
/* 215 */,
|
|
2726
|
+
/* 216 */,
|
|
2727
|
+
/* 217 */,
|
|
2728
|
+
/* 218 */,
|
|
2729
|
+
/* 219 */,
|
|
2730
|
+
/* 220 */,
|
|
2731
|
+
/* 221 */,
|
|
2732
|
+
/* 222 */,
|
|
2733
|
+
/* 223 */,
|
|
2734
|
+
/* 224 */,
|
|
2735
|
+
/* 225 */,
|
|
2736
|
+
/* 226 */,
|
|
2737
|
+
/* 227 */
|
|
2738
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2910
2739
|
|
|
2740
|
+
"use strict";
|
|
2911
2741
|
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2742
|
+
|
|
2743
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
2744
|
+
if (k2 === undefined) k2 = k;
|
|
2745
|
+
Object.defineProperty(o, k2, {
|
|
2746
|
+
enumerable: true,
|
|
2747
|
+
get: function get() {
|
|
2748
|
+
return m[k];
|
|
2749
|
+
}
|
|
2916
2750
|
});
|
|
2917
|
-
}
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
*
|
|
2922
|
-
* @param {Object} vizContext - the current vizContext definition
|
|
2923
|
-
* @param {Object} vizOptions - the current vizOptions definition
|
|
2924
|
-
* @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset
|
|
2925
|
-
*/
|
|
2751
|
+
} : function (o, m, k, k2) {
|
|
2752
|
+
if (k2 === undefined) k2 = k;
|
|
2753
|
+
o[k2] = m[k];
|
|
2754
|
+
});
|
|
2926
2755
|
|
|
2756
|
+
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
2757
|
+
for (var p in m) {
|
|
2758
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2759
|
+
}
|
|
2760
|
+
};
|
|
2927
2761
|
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
var presetContextKeys = Object.keys(presetContext);
|
|
2933
|
-
var presetOptionKeys = Object.keys(presetOptions); // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
|
|
2934
|
-
// if not, then the preset is invalid in config.ts
|
|
2762
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2763
|
+
value: true
|
|
2764
|
+
});
|
|
2765
|
+
exports.default = void 0;
|
|
2935
2766
|
|
|
2936
|
-
|
|
2937
|
-
return hasCompatibleContexts(vizContext, presetContext) && hasCompatibleOptions(vizOptions, presetOptions);
|
|
2938
|
-
});
|
|
2939
|
-
}
|
|
2767
|
+
__exportStar(__webpack_require__(134), exports);
|
|
2940
2768
|
|
|
2941
|
-
|
|
2769
|
+
var Pie_1 = __webpack_require__(134);
|
|
2770
|
+
|
|
2771
|
+
Object.defineProperty(exports, "default", {
|
|
2772
|
+
enumerable: true,
|
|
2773
|
+
get: function get() {
|
|
2774
|
+
return Pie_1.default;
|
|
2775
|
+
}
|
|
2776
|
+
});
|
|
2777
|
+
|
|
2778
|
+
/***/ }),
|
|
2779
|
+
/* 228 */
|
|
2780
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2781
|
+
|
|
2782
|
+
"use strict";
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2786
|
+
value: true
|
|
2787
|
+
});
|
|
2788
|
+
|
|
2789
|
+
var ChartPie_1 = __webpack_require__(229);
|
|
2790
|
+
|
|
2791
|
+
var placeholders_1 = __webpack_require__(45);
|
|
2792
|
+
|
|
2793
|
+
var i18n_1 = __webpack_require__(3);
|
|
2794
|
+
|
|
2795
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
2796
|
+
|
|
2797
|
+
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
2798
|
+
|
|
2799
|
+
var pick_1 = __webpack_require__(20);
|
|
2800
|
+
|
|
2801
|
+
var variables_1 = __webpack_require__(10);
|
|
2802
|
+
|
|
2803
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
2804
|
+
|
|
2805
|
+
var VizCategory_1 = __webpack_require__(29);
|
|
2806
|
+
|
|
2807
|
+
var configUtils_1 = __webpack_require__(6);
|
|
2808
|
+
|
|
2809
|
+
var BackgroundColor_1 = __webpack_require__(49);
|
|
2810
|
+
|
|
2811
|
+
var dataContract = {
|
|
2812
|
+
requiredDataSources: [{
|
|
2813
|
+
name: 'primary',
|
|
2814
|
+
description: 'DataSource that powers the visualization'
|
|
2815
|
+
}],
|
|
2816
|
+
optionalDataSources: [// Note: SCP-14090 disable ui for optional datasources. We may need to add it back later
|
|
2817
|
+
// {
|
|
2818
|
+
// name: 'annotation',
|
|
2819
|
+
// description: 'DataSource that populate event annotations',
|
|
2820
|
+
// },
|
|
2821
|
+
],
|
|
2822
|
+
initialRequestParams: {
|
|
2823
|
+
primary: {
|
|
2824
|
+
offset: 0,
|
|
2825
|
+
count: 10000
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
};
|
|
2829
|
+
var size = {
|
|
2830
|
+
initialWidth: 300,
|
|
2831
|
+
initialHeight: 300
|
|
2832
|
+
};
|
|
2833
|
+
var defaultContext = {};
|
|
2834
|
+
var optionsSchema = {
|
|
2835
|
+
backgroundColor: {
|
|
2836
|
+
default: '> themes.defaultBackgroundColor',
|
|
2837
|
+
description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
2838
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN,
|
|
2839
|
+
type: 'string'
|
|
2840
|
+
},
|
|
2841
|
+
collapseLabel: {
|
|
2842
|
+
description: 'Specify the label for the consolidated slice.',
|
|
2843
|
+
type: 'string',
|
|
2844
|
+
default: 'other'
|
|
2845
|
+
},
|
|
2846
|
+
collapseThreshold: {
|
|
2847
|
+
description: 'Specify the size threshold as a number between 0 and 1 (inclusive), of the whole pie at which slices collapse into one consolidated slice.',
|
|
2848
|
+
type: 'number',
|
|
2849
|
+
default: 0.01
|
|
2850
|
+
},
|
|
2851
|
+
label: {
|
|
2852
|
+
description: 'List of string values to display the pie chart labels.',
|
|
2853
|
+
type: 'array',
|
|
2854
|
+
items: {
|
|
2855
|
+
type: 'string'
|
|
2856
|
+
},
|
|
2857
|
+
default: '> primary | seriesByIndex(0)'
|
|
2858
|
+
},
|
|
2859
|
+
labelField: {
|
|
2860
|
+
default: '> label | getField()',
|
|
2861
|
+
description: 'Specify the field that corresponds to the labels.',
|
|
2862
|
+
type: 'string'
|
|
2863
|
+
},
|
|
2864
|
+
labelDisplay: {
|
|
2865
|
+
description: 'Specify whether to display the labels and/or slice percentages.',
|
|
2866
|
+
type: 'string',
|
|
2867
|
+
pattern: schemaUtils_1.getPattern(['values', 'valuesAndPercentage', 'off']),
|
|
2868
|
+
default: 'values'
|
|
2869
|
+
},
|
|
2870
|
+
resultLimit: {
|
|
2871
|
+
default: 50000,
|
|
2872
|
+
description: 'Specify the number of data points rendered in a chart.',
|
|
2873
|
+
type: 'number'
|
|
2874
|
+
},
|
|
2875
|
+
seriesColors: {
|
|
2876
|
+
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
2877
|
+
description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
2878
|
+
type: 'array',
|
|
2879
|
+
items: {
|
|
2880
|
+
type: 'string'
|
|
2881
|
+
}
|
|
2882
|
+
},
|
|
2883
|
+
seriesColorsByField: {
|
|
2884
|
+
description: 'Specify the colors used for specific pie slice labels. For example: {"April": "#008000", "May": "#FFA500"}.',
|
|
2885
|
+
type: 'object'
|
|
2886
|
+
},
|
|
2887
|
+
showDonutHole: {
|
|
2888
|
+
default: false,
|
|
2889
|
+
description: 'Specify whether the pie should be a donut.',
|
|
2890
|
+
type: 'boolean'
|
|
2891
|
+
},
|
|
2892
|
+
value: {
|
|
2893
|
+
description: 'List of numerical values to power the pie chart.',
|
|
2894
|
+
type: 'array',
|
|
2895
|
+
items: {
|
|
2896
|
+
type: 'number'
|
|
2897
|
+
},
|
|
2898
|
+
default: '> primary | seriesByIndex(1)'
|
|
2899
|
+
},
|
|
2900
|
+
valueField: {
|
|
2901
|
+
default: '> value | getField()',
|
|
2902
|
+
description: 'Specify the field that corresponds to the data powering values.',
|
|
2903
|
+
type: 'string'
|
|
2904
|
+
}
|
|
2905
|
+
};
|
|
2906
|
+
var themes = {
|
|
2907
|
+
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
2908
|
+
return pick_1.default({
|
|
2909
|
+
enterprise: {
|
|
2910
|
+
dark: variables_1.default.black(props),
|
|
2911
|
+
light: variables_1.default.backgroundColor(props)
|
|
2912
|
+
},
|
|
2913
|
+
prisma: variables_1.default.backgroundColorSidebar(props)
|
|
2914
|
+
})(props);
|
|
2915
|
+
}
|
|
2916
|
+
};
|
|
2917
|
+
var editorConfig = [{
|
|
2918
|
+
label: i18n_1._('General'),
|
|
2919
|
+
layout: [BackgroundColor_1.default({
|
|
2920
|
+
themes: themes
|
|
2921
|
+
})]
|
|
2922
|
+
}, {
|
|
2923
|
+
label: i18n_1._('Appearance'),
|
|
2924
|
+
open: true,
|
|
2925
|
+
layout: [[{
|
|
2926
|
+
label: i18n_1._(''),
|
|
2927
|
+
option: 'showDonutHole',
|
|
2928
|
+
editor: 'editor.radioBar',
|
|
2929
|
+
editorProps: {
|
|
2930
|
+
values: [{
|
|
2931
|
+
label: i18n_1._('Pie'),
|
|
2932
|
+
value: false
|
|
2933
|
+
}, {
|
|
2934
|
+
label: i18n_1._('Donut'),
|
|
2935
|
+
value: true
|
|
2936
|
+
}]
|
|
2937
|
+
}
|
|
2938
|
+
}]]
|
|
2939
|
+
}, {
|
|
2940
|
+
label: i18n_1._('Labels'),
|
|
2941
|
+
layout: [[{
|
|
2942
|
+
label: '',
|
|
2943
|
+
option: 'labelDisplay',
|
|
2944
|
+
editor: 'editor.radioBar',
|
|
2945
|
+
editorProps: {
|
|
2946
|
+
values: [{
|
|
2947
|
+
label: i18n_1._('Values'),
|
|
2948
|
+
value: 'values'
|
|
2949
|
+
}, {
|
|
2950
|
+
label: i18n_1._('Values & Percent'),
|
|
2951
|
+
value: 'valuesAndPercentage'
|
|
2952
|
+
}, {
|
|
2953
|
+
label: i18n_1._('Off'),
|
|
2954
|
+
value: 'off'
|
|
2955
|
+
}]
|
|
2956
|
+
}
|
|
2957
|
+
}]]
|
|
2958
|
+
}, {
|
|
2959
|
+
label: i18n_1._('Collapse to Summary'),
|
|
2960
|
+
layout: [[{
|
|
2961
|
+
label: i18n_1._('Collapse Threshold'),
|
|
2962
|
+
option: 'collapseThreshold',
|
|
2963
|
+
editor: 'editor.number',
|
|
2964
|
+
editorProps: {
|
|
2965
|
+
min: 0,
|
|
2966
|
+
max: 1,
|
|
2967
|
+
step: 0.01
|
|
2968
|
+
}
|
|
2969
|
+
}], [{
|
|
2970
|
+
label: i18n_1._('Collapsed Slice Label'),
|
|
2971
|
+
option: 'collapseLabel',
|
|
2972
|
+
editor: 'editor.text'
|
|
2973
|
+
}]]
|
|
2974
|
+
}];
|
|
2942
2975
|
/**
|
|
2943
|
-
*
|
|
2944
|
-
*
|
|
2945
|
-
* @param {Number} numPrecisionValues - number of integer precision values to generate
|
|
2946
|
-
* @returns {{ label: string; value; string }[]} array of { label, value } tuples
|
|
2976
|
+
* visualization configuration
|
|
2947
2977
|
*/
|
|
2948
2978
|
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
};
|
|
2955
|
-
});
|
|
2956
|
-
}
|
|
2957
|
-
|
|
2958
|
-
exports.generatePrecisionValues = generatePrecisionValues;
|
|
2959
|
-
|
|
2960
|
-
/***/ }),
|
|
2979
|
+
var config = {
|
|
2980
|
+
/**
|
|
2981
|
+
* unique viz key
|
|
2982
|
+
*/
|
|
2983
|
+
key: 'splunk.pie',
|
|
2961
2984
|
|
|
2962
|
-
|
|
2963
|
-
|
|
2985
|
+
/**
|
|
2986
|
+
* viz name
|
|
2987
|
+
*/
|
|
2988
|
+
name: 'Pie',
|
|
2989
|
+
category: VizCategory_1.VizCategory.COMPARISONS,
|
|
2964
2990
|
|
|
2965
|
-
|
|
2991
|
+
/**
|
|
2992
|
+
* viz icon
|
|
2993
|
+
*/
|
|
2994
|
+
icon: ChartPie_1.default,
|
|
2995
|
+
placeholderIcon: placeholders_1.Pie,
|
|
2996
|
+
dataContract: dataContract,
|
|
2997
|
+
size: size,
|
|
2998
|
+
defaultContext: defaultContext,
|
|
2999
|
+
optionsSchema: optionsSchema,
|
|
3000
|
+
editorConfig: editorConfig,
|
|
3001
|
+
events: {
|
|
3002
|
+
'point.click': {
|
|
3003
|
+
description: 'triggered when user clicks on a point in the pie chart'
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER, VizBehavior_1.VizBehavior.EVENTS],
|
|
3007
|
+
themes: themes
|
|
3008
|
+
};
|
|
3009
|
+
exports.default = configUtils_1.enhanceConfig(config);
|
|
2966
3010
|
|
|
2967
3011
|
/***/ }),
|
|
2968
|
-
|
|
2969
|
-
/***/ 7:
|
|
3012
|
+
/* 229 */
|
|
2970
3013
|
/***/ (function(module, exports) {
|
|
2971
3014
|
|
|
2972
|
-
module.exports = require("@
|
|
3015
|
+
module.exports = require("@splunk/react-icons/ChartPie");
|
|
2973
3016
|
|
|
2974
3017
|
/***/ }),
|
|
2975
|
-
|
|
2976
|
-
/***/ 8:
|
|
3018
|
+
/* 230 */
|
|
2977
3019
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2978
3020
|
|
|
2979
3021
|
"use strict";
|
|
2980
3022
|
|
|
2981
3023
|
|
|
2982
|
-
var
|
|
3024
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
3025
|
+
var t = {};
|
|
3026
|
+
|
|
3027
|
+
for (var p in s) {
|
|
3028
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3032
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
3033
|
+
}
|
|
3034
|
+
return t;
|
|
3035
|
+
};
|
|
2983
3036
|
|
|
2984
3037
|
Object.defineProperty(exports, "__esModule", {
|
|
2985
3038
|
value: true
|
|
2986
3039
|
});
|
|
2987
|
-
exports.
|
|
3040
|
+
exports.allInvalidDataValues = exports.invalidOptionField = exports.getPieOptionFieldIndex = exports.getPieMergedOptions = exports.convertToPieSCProperties = exports.mapToOldKey = exports.mapLabelDisplay = exports.convertToStringValues = void 0;
|
|
2988
3041
|
|
|
2989
3042
|
var lodash_1 = __webpack_require__(2);
|
|
3043
|
+
|
|
3044
|
+
var propUtils_1 = __webpack_require__(22);
|
|
3045
|
+
|
|
3046
|
+
var dsl_1 = __webpack_require__(105);
|
|
3047
|
+
|
|
3048
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
3049
|
+
|
|
3050
|
+
var hocUtils_1 = __webpack_require__(8); // CONVERT THIS TO PIE THEN ADD TO Pie.TSX
|
|
3051
|
+
// map for key names which are either new or not present in SimpleXML options mapping
|
|
3052
|
+
|
|
3053
|
+
|
|
3054
|
+
var pieOptionsSCMapping = {
|
|
3055
|
+
resultLimit: 'resultTruncationLimit',
|
|
3056
|
+
seriesColorsByField: 'fieldColors',
|
|
3057
|
+
collapseThreshold: 'chart.sliceCollapsingThreshold',
|
|
3058
|
+
collapseLabel: 'chart.sliceCollapsingLabel'
|
|
3059
|
+
};
|
|
2990
3060
|
/**
|
|
2991
|
-
*
|
|
2992
|
-
*
|
|
2993
|
-
* @
|
|
2994
|
-
* @param {
|
|
3061
|
+
* Helper method to convert option which contains object literal values (e.g. arrays, objects)
|
|
3062
|
+
* to strings as SC can only accept their stringified equivalents
|
|
3063
|
+
* @method convertToStringValues
|
|
3064
|
+
* @param {Object} options
|
|
3065
|
+
* @returns {Object}
|
|
2995
3066
|
*/
|
|
2996
3067
|
|
|
2997
|
-
|
|
2998
|
-
var
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
3002
|
-
extendProperties.forEach(function (prop) {
|
|
3003
|
-
if (Visualization[prop]) {
|
|
3004
|
-
// eslint-disable-next-line no-param-reassign
|
|
3005
|
-
Wrapper[prop] = Visualization[prop];
|
|
3006
|
-
}
|
|
3068
|
+
var convertToStringValues = function convertToStringValues(options) {
|
|
3069
|
+
var updatedOptions = propUtils_1.convertPropsToString({
|
|
3070
|
+
vizProps: options,
|
|
3071
|
+
propNames: ['seriesColors', 'fieldColors']
|
|
3007
3072
|
});
|
|
3073
|
+
return Object.assign(Object.assign({}, options), updatedOptions);
|
|
3008
3074
|
};
|
|
3009
3075
|
|
|
3010
|
-
exports.
|
|
3076
|
+
exports.convertToStringValues = convertToStringValues;
|
|
3011
3077
|
/**
|
|
3012
|
-
*
|
|
3013
|
-
*
|
|
3014
|
-
*
|
|
3015
|
-
* Array of objects gets merged with the defaults, where the defaults can be an array of objects. Closest matching default object from the defaults list based on key - value pair
|
|
3016
|
-
* will be used for merging defaults for each object in the array. If no closest match found, first object in default array list used for merging.
|
|
3017
|
-
*
|
|
3018
|
-
* @method deepMergeWithArrayPrimitiveOverrides
|
|
3019
|
-
* @param {Object} initial - target object to merge values into
|
|
3020
|
-
* @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
|
|
3021
|
-
*
|
|
3078
|
+
* Helper method to map labelDisplay options to jsCharting options
|
|
3079
|
+
* @method mapLabelDisplay
|
|
3080
|
+
* @param {Object} options
|
|
3022
3081
|
* @returns {Object}
|
|
3023
3082
|
*/
|
|
3024
3083
|
|
|
3025
|
-
var
|
|
3026
|
-
var
|
|
3084
|
+
var mapLabelDisplay = function mapLabelDisplay(_a) {
|
|
3085
|
+
var labelDisplay = _a.labelDisplay,
|
|
3086
|
+
options = __rest(_a, ["labelDisplay"]);
|
|
3027
3087
|
|
|
3028
|
-
|
|
3029
|
-
|
|
3088
|
+
var convertedOptions = Object.assign(Object.assign({}, options), {
|
|
3089
|
+
// default for labelDisplay option is 'values'
|
|
3090
|
+
'chart.showLabels': true,
|
|
3091
|
+
'chart.showPercent': false
|
|
3092
|
+
});
|
|
3093
|
+
|
|
3094
|
+
if (labelDisplay === 'valuesAndPercentage') {
|
|
3095
|
+
convertedOptions['chart.showPercent'] = true;
|
|
3096
|
+
} else if (labelDisplay === 'off') {
|
|
3097
|
+
convertedOptions['chart.showLabels'] = false;
|
|
3030
3098
|
}
|
|
3031
3099
|
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
|
|
3035
|
-
clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
|
|
3036
|
-
}
|
|
3100
|
+
return convertedOptions;
|
|
3101
|
+
};
|
|
3037
3102
|
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3103
|
+
exports.mapLabelDisplay = mapLabelDisplay;
|
|
3104
|
+
/**
|
|
3105
|
+
* Helper method to update the option names which can be mapped to SimpleXML options or
|
|
3106
|
+
* can be used directly with SC if don't have a 1-1 mapping in SimpleXML
|
|
3107
|
+
* @method mapToOldKey
|
|
3108
|
+
* @param {Object} options
|
|
3109
|
+
* @returns {Object}
|
|
3110
|
+
*/
|
|
3045
3111
|
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
}
|
|
3050
|
-
}
|
|
3051
|
-
}
|
|
3052
|
-
});
|
|
3112
|
+
var mapToOldKey = function mapToOldKey(options) {
|
|
3113
|
+
return lodash_1.mapKeys(options, function (val, key) {
|
|
3114
|
+
return pieOptionsSCMapping[key] ? pieOptionsSCMapping[key] : key;
|
|
3053
3115
|
});
|
|
3054
|
-
return clone;
|
|
3055
3116
|
};
|
|
3056
3117
|
|
|
3057
|
-
exports.
|
|
3118
|
+
exports.mapToOldKey = mapToOldKey;
|
|
3058
3119
|
/**
|
|
3059
|
-
*
|
|
3060
|
-
*
|
|
3061
|
-
*
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
const obj = {
|
|
3071
|
-
type: 'bubble'
|
|
3072
|
-
};
|
|
3120
|
+
* Chained helper for mapping the option properties (and values) we expose in config.ts into property values that splunk-charting accepts
|
|
3121
|
+
* This is for options that has new key name and can not directly be mapped with SimpleXML or
|
|
3122
|
+
* don't have a 1-1 mapping in SimpleXML (i.e. a straightforward name mapping where values are preserved)
|
|
3123
|
+
* @method convertToPieSCProperties
|
|
3124
|
+
* @param {Object} originalOptions
|
|
3125
|
+
* @returns {Object}
|
|
3126
|
+
*/
|
|
3127
|
+
|
|
3128
|
+
var convertToPieSCProperties = function convertToPieSCProperties(originalOptions) {
|
|
3129
|
+
return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(exports.convertToStringValues).thru(exports.mapLabelDisplay).value();
|
|
3130
|
+
};
|
|
3073
3131
|
|
|
3074
|
-
|
|
3132
|
+
exports.convertToPieSCProperties = convertToPieSCProperties;
|
|
3133
|
+
/**
|
|
3134
|
+
* Return all merged options (default + config) using vizConfig and options
|
|
3135
|
+
* @param options
|
|
3136
|
+
* @param vizConfig
|
|
3137
|
+
* @returns
|
|
3075
3138
|
*/
|
|
3076
3139
|
|
|
3077
|
-
var
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
}
|
|
3140
|
+
var getPieMergedOptions = function getPieMergedOptions(options, vizConfig) {
|
|
3141
|
+
return hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default'));
|
|
3142
|
+
};
|
|
3081
3143
|
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
});
|
|
3144
|
+
exports.getPieMergedOptions = getPieMergedOptions;
|
|
3145
|
+
/**
|
|
3146
|
+
* Returns option's field index. If not found returns -1
|
|
3147
|
+
* @param optionName
|
|
3148
|
+
* @param dataSources
|
|
3149
|
+
* @param options
|
|
3150
|
+
* @param vizConfig
|
|
3151
|
+
* @returns
|
|
3152
|
+
*/
|
|
3092
3153
|
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3154
|
+
var getPieOptionFieldIndex = function getPieOptionFieldIndex(optionName, dataSources, options, vizConfig) {
|
|
3155
|
+
var mergedOptions = exports.getPieMergedOptions(options, vizConfig); // find the field name configured for pie "value"
|
|
3156
|
+
|
|
3157
|
+
var fieldName = dsl_1.getFieldsFromDSL(mergedOptions[optionName], dataSources)[0];
|
|
3158
|
+
var fields = dataSources.primary.data.fields; // find the field index configured for pie "value"
|
|
3159
|
+
|
|
3160
|
+
var fieldIndex = fields.findIndex(function (field) {
|
|
3161
|
+
return (typeof field === 'string' ? field : field.name.toString()) === fieldName;
|
|
3097
3162
|
});
|
|
3098
|
-
return
|
|
3163
|
+
return fieldIndex;
|
|
3099
3164
|
};
|
|
3100
3165
|
|
|
3101
|
-
exports.
|
|
3166
|
+
exports.getPieOptionFieldIndex = getPieOptionFieldIndex;
|
|
3167
|
+
/**
|
|
3168
|
+
* Returns true if columns data has invalid data format for specified option (label or value)
|
|
3169
|
+
* @param optionName
|
|
3170
|
+
* @param dataSources
|
|
3171
|
+
* @param options
|
|
3172
|
+
* @param vizConfig
|
|
3173
|
+
* @returns
|
|
3174
|
+
*/
|
|
3102
3175
|
|
|
3103
|
-
|
|
3176
|
+
var invalidOptionField = function invalidOptionField(optionName, dataSources, options, vizConfig) {
|
|
3177
|
+
var columns = dataSources.primary.data.columns;
|
|
3178
|
+
var fieldIndex = exports.getPieOptionFieldIndex(optionName, dataSources, options, vizConfig);
|
|
3104
3179
|
|
|
3105
|
-
|
|
3106
|
-
|
|
3180
|
+
if (fieldIndex === -1 || !columns[fieldIndex] || !Array.isArray(columns[fieldIndex]) || Array.isArray(columns[fieldIndex]) && !columns[fieldIndex].length) {
|
|
3181
|
+
return true;
|
|
3182
|
+
}
|
|
3107
3183
|
|
|
3108
|
-
|
|
3184
|
+
return false;
|
|
3185
|
+
};
|
|
3109
3186
|
|
|
3110
|
-
|
|
3187
|
+
exports.invalidOptionField = invalidOptionField;
|
|
3188
|
+
/**
|
|
3189
|
+
* Helper function to evaluate if all data values are invalid (zero or negative)
|
|
3190
|
+
*/
|
|
3191
|
+
|
|
3192
|
+
var allInvalidDataValues = function allInvalidDataValues(dataSources, options, vizConfig) {
|
|
3193
|
+
var columns = dataSources.primary.data.columns; // find the field index configured for pie "value"
|
|
3194
|
+
|
|
3195
|
+
var valueFieldIndex = exports.getPieOptionFieldIndex('value', dataSources, options, vizConfig); // check if all values are invalid
|
|
3196
|
+
|
|
3197
|
+
if (Array.isArray(columns) && columns[valueFieldIndex] && Array.isArray(columns[valueFieldIndex])) {
|
|
3198
|
+
return !columns[valueFieldIndex].some(function (value) {
|
|
3199
|
+
return +value > 0;
|
|
3200
|
+
});
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
return false;
|
|
3204
|
+
};
|
|
3205
|
+
|
|
3206
|
+
exports.allInvalidDataValues = allInvalidDataValues;
|
|
3111
3207
|
|
|
3112
|
-
|
|
3208
|
+
/***/ })
|
|
3209
|
+
/******/ ]);
|
|
3113
3210
|
//# sourceMappingURL=Pie.js.map
|