@splunk/visualizations 24.7.0 → 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_choropleth_layer.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_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_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_Y2_Axis_Mapped_Field_With_Space_specified.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_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_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_Right.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_Font_Monospace.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_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_Time_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.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 +702 -60
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +806 -203
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +62 -38
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +168 -178
- 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 +846 -352
- 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 +56 -36
- package/Table.config.js.map +1 -1
- package/Table.js +1610 -1553
- 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 +11 -11
- 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/SingleValue.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 254);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,11 +109,11 @@ module.exports = require("react");
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
112
|
+
module.exports = require("@splunk/themes/variables");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
-
/***/
|
|
116
|
+
/***/ 109:
|
|
117
117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
118
118
|
|
|
119
119
|
"use strict";
|
|
@@ -158,7 +158,14 @@ exports.defaultContext = {
|
|
|
158
158
|
|
|
159
159
|
/***/ }),
|
|
160
160
|
|
|
161
|
-
/***/
|
|
161
|
+
/***/ 11:
|
|
162
|
+
/***/ (function(module, exports) {
|
|
163
|
+
|
|
164
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
165
|
+
|
|
166
|
+
/***/ }),
|
|
167
|
+
|
|
168
|
+
/***/ 110:
|
|
162
169
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
163
170
|
|
|
164
171
|
"use strict";
|
|
@@ -257,21 +264,21 @@ var StaticMajorAndTrendLayout = [[{
|
|
|
257
264
|
|
|
258
265
|
/***/ }),
|
|
259
266
|
|
|
260
|
-
/***/
|
|
267
|
+
/***/ 12:
|
|
261
268
|
/***/ (function(module, exports) {
|
|
262
269
|
|
|
263
|
-
module.exports = require("@
|
|
270
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
264
271
|
|
|
265
272
|
/***/ }),
|
|
266
273
|
|
|
267
|
-
/***/
|
|
274
|
+
/***/ 13:
|
|
268
275
|
/***/ (function(module, exports) {
|
|
269
276
|
|
|
270
277
|
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
271
278
|
|
|
272
279
|
/***/ }),
|
|
273
280
|
|
|
274
|
-
/***/
|
|
281
|
+
/***/ 14:
|
|
275
282
|
/***/ (function(module, exports, __webpack_require__) {
|
|
276
283
|
|
|
277
284
|
"use strict";
|
|
@@ -285,11 +292,11 @@ var React = __webpack_require__(1);
|
|
|
285
292
|
|
|
286
293
|
var styled_components_1 = __webpack_require__(4);
|
|
287
294
|
|
|
288
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
295
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
289
296
|
|
|
290
|
-
var style_1 = __webpack_require__(
|
|
297
|
+
var style_1 = __webpack_require__(15);
|
|
291
298
|
|
|
292
|
-
var colorUtils_1 = __webpack_require__(
|
|
299
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
293
300
|
|
|
294
301
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
295
302
|
var width = _ref.width;
|
|
@@ -346,7 +353,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
346
353
|
|
|
347
354
|
return React.createElement(FixSizeItem, {
|
|
348
355
|
"data-test": "fix-size-item",
|
|
349
|
-
"data-splunk-visualization-version": "
|
|
356
|
+
"data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
|
|
350
357
|
width: width,
|
|
351
358
|
height: height,
|
|
352
359
|
backgroundColor: backgroundColor
|
|
@@ -368,35 +375,35 @@ exports.default = withFixedSizeContainer;
|
|
|
368
375
|
|
|
369
376
|
/***/ }),
|
|
370
377
|
|
|
371
|
-
/***/
|
|
378
|
+
/***/ 15:
|
|
372
379
|
/***/ (function(module, exports) {
|
|
373
380
|
|
|
374
381
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
375
382
|
|
|
376
383
|
/***/ }),
|
|
377
384
|
|
|
378
|
-
/***/
|
|
385
|
+
/***/ 16:
|
|
379
386
|
/***/ (function(module, exports) {
|
|
380
387
|
|
|
381
388
|
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
382
389
|
|
|
383
390
|
/***/ }),
|
|
384
391
|
|
|
385
|
-
/***/
|
|
392
|
+
/***/ 17:
|
|
386
393
|
/***/ (function(module, exports) {
|
|
387
394
|
|
|
388
395
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
389
396
|
|
|
390
397
|
/***/ }),
|
|
391
398
|
|
|
392
|
-
/***/
|
|
399
|
+
/***/ 18:
|
|
393
400
|
/***/ (function(module, exports) {
|
|
394
401
|
|
|
395
402
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
396
403
|
|
|
397
404
|
/***/ }),
|
|
398
405
|
|
|
399
|
-
/***/
|
|
406
|
+
/***/ 19:
|
|
400
407
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
401
408
|
|
|
402
409
|
"use strict";
|
|
@@ -435,13 +442,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
435
442
|
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
436
443
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
|
|
437
444
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
|
438
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
445
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
|
|
439
446
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
|
|
440
|
-
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
447
|
+
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48);
|
|
441
448
|
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
442
|
-
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
449
|
+
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
|
|
443
450
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
444
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
451
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43);
|
|
445
452
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
|
|
446
453
|
|
|
447
454
|
|
|
@@ -1405,13 +1412,6 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
|
|
|
1405
1412
|
|
|
1406
1413
|
/***/ }),
|
|
1407
1414
|
|
|
1408
|
-
/***/ 19:
|
|
1409
|
-
/***/ (function(module, exports) {
|
|
1410
|
-
|
|
1411
|
-
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1412
|
-
|
|
1413
|
-
/***/ }),
|
|
1414
|
-
|
|
1415
1415
|
/***/ 2:
|
|
1416
1416
|
/***/ (function(module, exports) {
|
|
1417
1417
|
|
|
@@ -1422,32 +1422,39 @@ module.exports = require("lodash");
|
|
|
1422
1422
|
/***/ 20:
|
|
1423
1423
|
/***/ (function(module, exports) {
|
|
1424
1424
|
|
|
1425
|
-
module.exports = require("@splunk/
|
|
1425
|
+
module.exports = require("@splunk/themes/pick");
|
|
1426
1426
|
|
|
1427
1427
|
/***/ }),
|
|
1428
1428
|
|
|
1429
1429
|
/***/ 21:
|
|
1430
1430
|
/***/ (function(module, exports) {
|
|
1431
1431
|
|
|
1432
|
-
module.exports = require("@
|
|
1432
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1433
1433
|
|
|
1434
1434
|
/***/ }),
|
|
1435
1435
|
|
|
1436
1436
|
/***/ 22:
|
|
1437
1437
|
/***/ (function(module, exports) {
|
|
1438
1438
|
|
|
1439
|
-
module.exports = require("@splunk/
|
|
1439
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1440
1440
|
|
|
1441
1441
|
/***/ }),
|
|
1442
1442
|
|
|
1443
1443
|
/***/ 23:
|
|
1444
1444
|
/***/ (function(module, exports) {
|
|
1445
1445
|
|
|
1446
|
-
module.exports = require("@
|
|
1446
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
1447
1447
|
|
|
1448
1448
|
/***/ }),
|
|
1449
1449
|
|
|
1450
1450
|
/***/ 24:
|
|
1451
|
+
/***/ (function(module, exports) {
|
|
1452
|
+
|
|
1453
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
1454
|
+
|
|
1455
|
+
/***/ }),
|
|
1456
|
+
|
|
1457
|
+
/***/ 25:
|
|
1451
1458
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1452
1459
|
|
|
1453
1460
|
"use strict";
|
|
@@ -1481,99 +1488,7 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
|
1481
1488
|
|
|
1482
1489
|
/***/ }),
|
|
1483
1490
|
|
|
1484
|
-
/***/
|
|
1485
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1486
|
-
|
|
1487
|
-
"use strict";
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1491
|
-
value: true
|
|
1492
|
-
});
|
|
1493
|
-
exports.shouldShowIconPlaceholder = void 0;
|
|
1494
|
-
|
|
1495
|
-
var React = __webpack_require__(1);
|
|
1496
|
-
|
|
1497
|
-
var T = __webpack_require__(0);
|
|
1498
|
-
|
|
1499
|
-
var lodash_1 = __webpack_require__(2);
|
|
1500
|
-
|
|
1501
|
-
var i18n_1 = __webpack_require__(3);
|
|
1502
|
-
|
|
1503
|
-
var Message_1 = __webpack_require__(9);
|
|
1504
|
-
|
|
1505
|
-
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
1506
|
-
/**
|
|
1507
|
-
* @method shouldShowIconPlaceholder
|
|
1508
|
-
* @param {object} dataSources
|
|
1509
|
-
* @param {boolean} loading
|
|
1510
|
-
* @returns {boolean}
|
|
1511
|
-
*/
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
1515
|
-
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
1516
|
-
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
1517
|
-
var noData = data === undefined;
|
|
1518
|
-
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
1519
|
-
var noFields = fields === undefined;
|
|
1520
|
-
return loading || noData || noFields;
|
|
1521
|
-
};
|
|
1522
|
-
|
|
1523
|
-
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
1524
|
-
var propTypes = {
|
|
1525
|
-
icon: T.func,
|
|
1526
|
-
width: T.oneOfType([T.string, T.number]),
|
|
1527
|
-
height: T.oneOfType([T.string, T.number]),
|
|
1528
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
1529
|
-
backgroundColor: T.string,
|
|
1530
|
-
iconColor: T.string
|
|
1531
|
-
};
|
|
1532
|
-
/**
|
|
1533
|
-
* @method IconPlaceholder
|
|
1534
|
-
* @param {IconPlaceholderProps} props
|
|
1535
|
-
* @returns {React.ReactElement}
|
|
1536
|
-
*/
|
|
1537
|
-
|
|
1538
|
-
var IconPlaceholder = function IconPlaceholder(props) {
|
|
1539
|
-
var width = props.width,
|
|
1540
|
-
height = props.height,
|
|
1541
|
-
icon = props.icon,
|
|
1542
|
-
iconColor = props.iconColor;
|
|
1543
|
-
|
|
1544
|
-
if (icon) {
|
|
1545
|
-
return React.createElement(icon, {
|
|
1546
|
-
style: {
|
|
1547
|
-
left: '50%',
|
|
1548
|
-
top: '50%',
|
|
1549
|
-
color: iconColor,
|
|
1550
|
-
opacity: 0.15,
|
|
1551
|
-
position: 'absolute',
|
|
1552
|
-
transform: 'translate(-50%, -50%)'
|
|
1553
|
-
},
|
|
1554
|
-
width: '50%',
|
|
1555
|
-
height: '50%'
|
|
1556
|
-
});
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
return React.createElement(Message_1.default, {
|
|
1560
|
-
width: width,
|
|
1561
|
-
height: height,
|
|
1562
|
-
level: "warning",
|
|
1563
|
-
message: i18n_1._('No DataSource Connected')
|
|
1564
|
-
});
|
|
1565
|
-
};
|
|
1566
|
-
|
|
1567
|
-
IconPlaceholder.propTypes = propTypes;
|
|
1568
|
-
IconPlaceholder.defaultProps = {
|
|
1569
|
-
width: '100%',
|
|
1570
|
-
height: 250
|
|
1571
|
-
};
|
|
1572
|
-
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
1573
|
-
|
|
1574
|
-
/***/ }),
|
|
1575
|
-
|
|
1576
|
-
/***/ 252:
|
|
1491
|
+
/***/ 254:
|
|
1577
1492
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1578
1493
|
|
|
1579
1494
|
"use strict";
|
|
@@ -1584,13 +1499,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1584
1499
|
});
|
|
1585
1500
|
exports.themes = exports.computeVizProps = exports.PureSingleValue = exports.config = void 0;
|
|
1586
1501
|
|
|
1587
|
-
var SingleValue_1 = __webpack_require__(
|
|
1502
|
+
var SingleValue_1 = __webpack_require__(277);
|
|
1588
1503
|
|
|
1589
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1504
|
+
var withDashboardViz_1 = __webpack_require__(30);
|
|
1590
1505
|
|
|
1591
|
-
var singleValueUtils_1 = __webpack_require__(
|
|
1506
|
+
var singleValueUtils_1 = __webpack_require__(19);
|
|
1592
1507
|
|
|
1593
|
-
var config_1 = __webpack_require__(
|
|
1508
|
+
var config_1 = __webpack_require__(255);
|
|
1594
1509
|
|
|
1595
1510
|
exports.config = config_1.default;
|
|
1596
1511
|
exports.PureSingleValue = SingleValue_1.default;
|
|
@@ -1629,7 +1544,7 @@ exports.default = viz;
|
|
|
1629
1544
|
|
|
1630
1545
|
/***/ }),
|
|
1631
1546
|
|
|
1632
|
-
/***/
|
|
1547
|
+
/***/ 255:
|
|
1633
1548
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1634
1549
|
|
|
1635
1550
|
"use strict";
|
|
@@ -1641,41 +1556,41 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1641
1556
|
|
|
1642
1557
|
var i18n_1 = __webpack_require__(3);
|
|
1643
1558
|
|
|
1644
|
-
var schemaUtils_1 = __webpack_require__(
|
|
1559
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
1645
1560
|
|
|
1646
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
1561
|
+
var PresetPalettes_1 = __webpack_require__(53);
|
|
1647
1562
|
|
|
1648
|
-
var variables_1 = __webpack_require__(
|
|
1563
|
+
var variables_1 = __webpack_require__(256);
|
|
1649
1564
|
|
|
1650
|
-
var pick_1 = __webpack_require__(
|
|
1565
|
+
var pick_1 = __webpack_require__(20);
|
|
1651
1566
|
|
|
1652
|
-
var variables_2 = __webpack_require__(
|
|
1567
|
+
var variables_2 = __webpack_require__(10);
|
|
1653
1568
|
|
|
1654
|
-
var visualization_icons_1 = __webpack_require__(
|
|
1569
|
+
var visualization_icons_1 = __webpack_require__(46);
|
|
1655
1570
|
|
|
1656
|
-
var placeholders_1 = __webpack_require__(
|
|
1571
|
+
var placeholders_1 = __webpack_require__(45);
|
|
1657
1572
|
|
|
1658
|
-
var singleValueContext_1 = __webpack_require__(
|
|
1573
|
+
var singleValueContext_1 = __webpack_require__(109);
|
|
1659
1574
|
|
|
1660
1575
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1661
1576
|
|
|
1662
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
1577
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(83);
|
|
1663
1578
|
|
|
1664
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
1579
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(84);
|
|
1665
1580
|
|
|
1666
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
1581
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(85);
|
|
1667
1582
|
|
|
1668
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
1583
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(110);
|
|
1669
1584
|
|
|
1670
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
1585
|
+
var StaticMajorColorEditor_1 = __webpack_require__(86);
|
|
1671
1586
|
|
|
1672
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
1587
|
+
var StaticTrendColorEditor_1 = __webpack_require__(87);
|
|
1673
1588
|
|
|
1674
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
1589
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(77);
|
|
1675
1590
|
|
|
1676
1591
|
var configUtils_1 = __webpack_require__(6);
|
|
1677
1592
|
|
|
1678
|
-
var VizCategory_1 = __webpack_require__(
|
|
1593
|
+
var VizCategory_1 = __webpack_require__(29);
|
|
1679
1594
|
|
|
1680
1595
|
var dataContract = {
|
|
1681
1596
|
requiredDataSources: [{
|
|
@@ -2155,7 +2070,7 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
2155
2070
|
|
|
2156
2071
|
/***/ }),
|
|
2157
2072
|
|
|
2158
|
-
/***/
|
|
2073
|
+
/***/ 256:
|
|
2159
2074
|
/***/ (function(module, exports) {
|
|
2160
2075
|
|
|
2161
2076
|
module.exports = require("@splunk/visualization-themes/variables");
|
|
@@ -2168,6 +2083,98 @@ module.exports = require("@splunk/visualization-themes/variables");
|
|
|
2168
2083
|
"use strict";
|
|
2169
2084
|
|
|
2170
2085
|
|
|
2086
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2087
|
+
value: true
|
|
2088
|
+
});
|
|
2089
|
+
exports.shouldShowIconPlaceholder = void 0;
|
|
2090
|
+
|
|
2091
|
+
var React = __webpack_require__(1);
|
|
2092
|
+
|
|
2093
|
+
var T = __webpack_require__(0);
|
|
2094
|
+
|
|
2095
|
+
var lodash_1 = __webpack_require__(2);
|
|
2096
|
+
|
|
2097
|
+
var i18n_1 = __webpack_require__(3);
|
|
2098
|
+
|
|
2099
|
+
var Message_1 = __webpack_require__(11);
|
|
2100
|
+
|
|
2101
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
2102
|
+
/**
|
|
2103
|
+
* @method shouldShowIconPlaceholder
|
|
2104
|
+
* @param {object} dataSources
|
|
2105
|
+
* @param {boolean} loading
|
|
2106
|
+
* @returns {boolean}
|
|
2107
|
+
*/
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
2111
|
+
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
2112
|
+
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
2113
|
+
var noData = data === undefined;
|
|
2114
|
+
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
2115
|
+
var noFields = fields === undefined;
|
|
2116
|
+
return loading || noData || noFields;
|
|
2117
|
+
};
|
|
2118
|
+
|
|
2119
|
+
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
2120
|
+
var propTypes = {
|
|
2121
|
+
icon: T.func,
|
|
2122
|
+
width: T.oneOfType([T.string, T.number]),
|
|
2123
|
+
height: T.oneOfType([T.string, T.number]),
|
|
2124
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
2125
|
+
backgroundColor: T.string,
|
|
2126
|
+
iconColor: T.string
|
|
2127
|
+
};
|
|
2128
|
+
/**
|
|
2129
|
+
* @method IconPlaceholder
|
|
2130
|
+
* @param {IconPlaceholderProps} props
|
|
2131
|
+
* @returns {React.ReactElement}
|
|
2132
|
+
*/
|
|
2133
|
+
|
|
2134
|
+
var IconPlaceholder = function IconPlaceholder(props) {
|
|
2135
|
+
var width = props.width,
|
|
2136
|
+
height = props.height,
|
|
2137
|
+
icon = props.icon,
|
|
2138
|
+
iconColor = props.iconColor;
|
|
2139
|
+
|
|
2140
|
+
if (icon) {
|
|
2141
|
+
return React.createElement(icon, {
|
|
2142
|
+
style: {
|
|
2143
|
+
left: '50%',
|
|
2144
|
+
top: '50%',
|
|
2145
|
+
color: iconColor,
|
|
2146
|
+
opacity: 0.15,
|
|
2147
|
+
position: 'absolute',
|
|
2148
|
+
transform: 'translate(-50%, -50%)'
|
|
2149
|
+
},
|
|
2150
|
+
width: '50%',
|
|
2151
|
+
height: '50%'
|
|
2152
|
+
});
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
return React.createElement(Message_1.default, {
|
|
2156
|
+
width: width,
|
|
2157
|
+
height: height,
|
|
2158
|
+
level: "warning",
|
|
2159
|
+
message: i18n_1._('No DataSource Connected')
|
|
2160
|
+
});
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2163
|
+
IconPlaceholder.propTypes = propTypes;
|
|
2164
|
+
IconPlaceholder.defaultProps = {
|
|
2165
|
+
width: '100%',
|
|
2166
|
+
height: 250
|
|
2167
|
+
};
|
|
2168
|
+
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
2169
|
+
|
|
2170
|
+
/***/ }),
|
|
2171
|
+
|
|
2172
|
+
/***/ 27:
|
|
2173
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2174
|
+
|
|
2175
|
+
"use strict";
|
|
2176
|
+
|
|
2177
|
+
|
|
2171
2178
|
var _defineProperty = __webpack_require__(7);
|
|
2172
2179
|
|
|
2173
2180
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -2179,7 +2186,7 @@ var T = __webpack_require__(0);
|
|
|
2179
2186
|
|
|
2180
2187
|
var lodash_1 = __webpack_require__(2);
|
|
2181
2188
|
|
|
2182
|
-
var DataSource_1 = __webpack_require__(
|
|
2189
|
+
var DataSource_1 = __webpack_require__(37);
|
|
2183
2190
|
|
|
2184
2191
|
exports.SortParamsPropTypes = T.shape({
|
|
2185
2192
|
currentSortKey: T.string,
|
|
@@ -2233,129 +2240,64 @@ exports.getSortingParams = getSortingParams;
|
|
|
2233
2240
|
|
|
2234
2241
|
/***/ }),
|
|
2235
2242
|
|
|
2236
|
-
/***/
|
|
2237
|
-
/***/ (function(module,
|
|
2243
|
+
/***/ 277:
|
|
2244
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2238
2245
|
|
|
2239
2246
|
"use strict";
|
|
2247
|
+
// ESM COMPAT FLAG
|
|
2248
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2240
2249
|
|
|
2250
|
+
// EXPORTS
|
|
2251
|
+
__webpack_require__.d(__webpack_exports__, "CONTENT_OVERFLOW_FADEOUT_AREA_PX", function() { return /* binding */ SingleValue_CONTENT_OVERFLOW_FADEOUT_AREA_PX; });
|
|
2252
|
+
__webpack_require__.d(__webpack_exports__, "DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO", function() { return /* binding */ DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO; });
|
|
2241
2253
|
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
2254
|
+
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
2255
|
+
var extends_ = __webpack_require__(47);
|
|
2256
|
+
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
2246
2257
|
|
|
2247
|
-
|
|
2258
|
+
// EXTERNAL MODULE: external "react"
|
|
2259
|
+
var external_react_ = __webpack_require__(1);
|
|
2260
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
2248
2261
|
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
isPaging: T.bool,
|
|
2253
|
-
current: T.number,
|
|
2254
|
-
totalPages: T.number,
|
|
2255
|
-
onChange: T.func
|
|
2256
|
-
});
|
|
2257
|
-
|
|
2258
|
-
var getPaginationParams = function getPaginationParams(_ref) {
|
|
2259
|
-
var requestParams = _ref.requestParams,
|
|
2260
|
-
meta = _ref.meta,
|
|
2261
|
-
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
2262
|
-
var totalCount = meta && meta.totalCount || 0;
|
|
2263
|
-
var offset = requestParams && requestParams.offset || 0;
|
|
2264
|
-
var count = requestParams && requestParams.count;
|
|
2265
|
-
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
2266
|
-
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
2267
|
-
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
2268
|
-
|
|
2269
|
-
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
2270
|
-
var page = _ref2.page,
|
|
2271
|
-
countArg = _ref2.count;
|
|
2272
|
-
var newParams = lodash_1.cloneDeep(requestParams);
|
|
2273
|
-
|
|
2274
|
-
if (typeof countArg === 'number') {
|
|
2275
|
-
newParams.count = countArg;
|
|
2276
|
-
newParams.offset = 0;
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
2280
|
-
|
|
2281
|
-
if (typeof page === 'number' && page > 0) {
|
|
2282
|
-
newParams.count = pageCount;
|
|
2283
|
-
newParams.offset = (page - 1) * pageCount;
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
onRequestParamsChange(newParams);
|
|
2287
|
-
};
|
|
2288
|
-
|
|
2289
|
-
return {
|
|
2290
|
-
isPaging: isPaging,
|
|
2291
|
-
current: current,
|
|
2292
|
-
totalPages: totalPages,
|
|
2293
|
-
onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
|
|
2294
|
-
};
|
|
2295
|
-
};
|
|
2296
|
-
|
|
2297
|
-
exports.getPaginationParams = getPaginationParams;
|
|
2298
|
-
|
|
2299
|
-
/***/ }),
|
|
2300
|
-
|
|
2301
|
-
/***/ 276:
|
|
2302
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2303
|
-
|
|
2304
|
-
"use strict";
|
|
2305
|
-
// ESM COMPAT FLAG
|
|
2306
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2307
|
-
|
|
2308
|
-
// EXPORTS
|
|
2309
|
-
__webpack_require__.d(__webpack_exports__, "CONTENT_OVERFLOW_FADEOUT_AREA_PX", function() { return /* binding */ SingleValue_CONTENT_OVERFLOW_FADEOUT_AREA_PX; });
|
|
2310
|
-
__webpack_require__.d(__webpack_exports__, "DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO", function() { return /* binding */ DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO; });
|
|
2311
|
-
|
|
2312
|
-
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
2313
|
-
var extends_ = __webpack_require__(46);
|
|
2314
|
-
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
2315
|
-
|
|
2316
|
-
// EXTERNAL MODULE: external "react"
|
|
2317
|
-
var external_react_ = __webpack_require__(1);
|
|
2318
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
2319
|
-
|
|
2320
|
-
// EXTERNAL MODULE: external "prop-types"
|
|
2321
|
-
var external_prop_types_ = __webpack_require__(0);
|
|
2322
|
-
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
2262
|
+
// EXTERNAL MODULE: external "prop-types"
|
|
2263
|
+
var external_prop_types_ = __webpack_require__(0);
|
|
2264
|
+
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
2323
2265
|
|
|
2324
2266
|
// EXTERNAL MODULE: external "styled-components"
|
|
2325
2267
|
var external_styled_components_ = __webpack_require__(4);
|
|
2326
2268
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
2327
2269
|
|
|
2328
2270
|
// EXTERNAL MODULE: external "lodash/pick"
|
|
2329
|
-
var pick_ = __webpack_require__(
|
|
2271
|
+
var pick_ = __webpack_require__(70);
|
|
2330
2272
|
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
2331
2273
|
|
|
2332
2274
|
// EXTERNAL MODULE: external "lodash/isEmpty"
|
|
2333
|
-
var isEmpty_ = __webpack_require__(
|
|
2275
|
+
var isEmpty_ = __webpack_require__(71);
|
|
2334
2276
|
var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty_);
|
|
2335
2277
|
|
|
2336
2278
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
|
|
2337
|
-
var style_ = __webpack_require__(
|
|
2279
|
+
var style_ = __webpack_require__(15);
|
|
2338
2280
|
|
|
2339
2281
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/SizeAwareWrapper"
|
|
2340
|
-
var SizeAwareWrapper_ = __webpack_require__(
|
|
2282
|
+
var SizeAwareWrapper_ = __webpack_require__(18);
|
|
2341
2283
|
var SizeAwareWrapper_default = /*#__PURE__*/__webpack_require__.n(SizeAwareWrapper_);
|
|
2342
2284
|
|
|
2343
2285
|
// EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
|
|
2344
|
-
var VizStyleWrapper = __webpack_require__(
|
|
2286
|
+
var VizStyleWrapper = __webpack_require__(62);
|
|
2345
2287
|
|
|
2346
2288
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
|
|
2347
2289
|
var defineProperty_ = __webpack_require__(7);
|
|
2348
2290
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
2349
2291
|
|
|
2350
2292
|
// EXTERNAL MODULE: ./src/SingleValueBasic/SingleValueBasic.jsx + 2 modules
|
|
2351
|
-
var SingleValueBasic = __webpack_require__(
|
|
2293
|
+
var SingleValueBasic = __webpack_require__(68);
|
|
2352
2294
|
|
|
2353
2295
|
// EXTERNAL MODULE: external "@splunk/react-sparkline/Line"
|
|
2354
|
-
var Line_ = __webpack_require__(
|
|
2296
|
+
var Line_ = __webpack_require__(90);
|
|
2355
2297
|
var Line_default = /*#__PURE__*/__webpack_require__.n(Line_);
|
|
2356
2298
|
|
|
2357
2299
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/propUtils"
|
|
2358
|
-
var propUtils_ = __webpack_require__(
|
|
2300
|
+
var propUtils_ = __webpack_require__(22);
|
|
2359
2301
|
|
|
2360
2302
|
// CONCATENATED MODULE: ./src/SingleValue/PureSingleValue/SingleValueSparkline.jsx
|
|
2361
2303
|
|
|
@@ -2419,13 +2361,13 @@ SingleValueSparkline_SingleValueSparkline.propTypes = {
|
|
|
2419
2361
|
};
|
|
2420
2362
|
/* harmony default export */ var PureSingleValue_SingleValueSparkline = (SingleValueSparkline_SingleValueSparkline);
|
|
2421
2363
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/colorConstants"
|
|
2422
|
-
var colorConstants_ = __webpack_require__(
|
|
2364
|
+
var colorConstants_ = __webpack_require__(43);
|
|
2423
2365
|
|
|
2424
2366
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/numberUtils"
|
|
2425
|
-
var numberUtils_ = __webpack_require__(
|
|
2367
|
+
var numberUtils_ = __webpack_require__(24);
|
|
2426
2368
|
|
|
2427
2369
|
// EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
|
|
2428
|
-
var singleValueUtils = __webpack_require__(
|
|
2370
|
+
var singleValueUtils = __webpack_require__(19);
|
|
2429
2371
|
|
|
2430
2372
|
// CONCATENATED MODULE: ./src/SingleValue/PureSingleValue/utils/displayUtils.js
|
|
2431
2373
|
|
|
@@ -3160,6 +3102,71 @@ SingleValue_SingleValue.defaultProps = {
|
|
|
3160
3102
|
"use strict";
|
|
3161
3103
|
|
|
3162
3104
|
|
|
3105
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3106
|
+
value: true
|
|
3107
|
+
});
|
|
3108
|
+
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
3109
|
+
|
|
3110
|
+
var T = __webpack_require__(0);
|
|
3111
|
+
|
|
3112
|
+
var lodash_1 = __webpack_require__(2);
|
|
3113
|
+
|
|
3114
|
+
exports.PaginatorParamsPropTypes = T.shape({
|
|
3115
|
+
isPaging: T.bool,
|
|
3116
|
+
current: T.number,
|
|
3117
|
+
totalPages: T.number,
|
|
3118
|
+
onChange: T.func
|
|
3119
|
+
});
|
|
3120
|
+
|
|
3121
|
+
var getPaginationParams = function getPaginationParams(_ref) {
|
|
3122
|
+
var requestParams = _ref.requestParams,
|
|
3123
|
+
meta = _ref.meta,
|
|
3124
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
3125
|
+
var totalCount = meta && meta.totalCount || 0;
|
|
3126
|
+
var offset = requestParams && requestParams.offset || 0;
|
|
3127
|
+
var count = requestParams && requestParams.count;
|
|
3128
|
+
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
3129
|
+
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
3130
|
+
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
3131
|
+
|
|
3132
|
+
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
3133
|
+
var page = _ref2.page,
|
|
3134
|
+
countArg = _ref2.count;
|
|
3135
|
+
var newParams = lodash_1.cloneDeep(requestParams);
|
|
3136
|
+
|
|
3137
|
+
if (typeof countArg === 'number') {
|
|
3138
|
+
newParams.count = countArg;
|
|
3139
|
+
newParams.offset = 0;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
3143
|
+
|
|
3144
|
+
if (typeof page === 'number' && page > 0) {
|
|
3145
|
+
newParams.count = pageCount;
|
|
3146
|
+
newParams.offset = (page - 1) * pageCount;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
onRequestParamsChange(newParams);
|
|
3150
|
+
};
|
|
3151
|
+
|
|
3152
|
+
return {
|
|
3153
|
+
isPaging: isPaging,
|
|
3154
|
+
current: current,
|
|
3155
|
+
totalPages: totalPages,
|
|
3156
|
+
onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
|
|
3157
|
+
};
|
|
3158
|
+
};
|
|
3159
|
+
|
|
3160
|
+
exports.getPaginationParams = getPaginationParams;
|
|
3161
|
+
|
|
3162
|
+
/***/ }),
|
|
3163
|
+
|
|
3164
|
+
/***/ 29:
|
|
3165
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3166
|
+
|
|
3167
|
+
"use strict";
|
|
3168
|
+
|
|
3169
|
+
|
|
3163
3170
|
Object.defineProperty(exports, "__esModule", {
|
|
3164
3171
|
value: true
|
|
3165
3172
|
});
|
|
@@ -3183,7 +3190,14 @@ var VizCategory;
|
|
|
3183
3190
|
|
|
3184
3191
|
/***/ }),
|
|
3185
3192
|
|
|
3186
|
-
/***/
|
|
3193
|
+
/***/ 3:
|
|
3194
|
+
/***/ (function(module, exports) {
|
|
3195
|
+
|
|
3196
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
3197
|
+
|
|
3198
|
+
/***/ }),
|
|
3199
|
+
|
|
3200
|
+
/***/ 30:
|
|
3187
3201
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3188
3202
|
|
|
3189
3203
|
"use strict";
|
|
@@ -3197,35 +3211,35 @@ var React = __webpack_require__(1);
|
|
|
3197
3211
|
|
|
3198
3212
|
var lodash_1 = __webpack_require__(2);
|
|
3199
3213
|
|
|
3200
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
3214
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(31);
|
|
3201
3215
|
|
|
3202
|
-
var Options_1 = __webpack_require__(
|
|
3216
|
+
var Options_1 = __webpack_require__(32);
|
|
3203
3217
|
|
|
3204
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
3218
|
+
var SanitizeProps_1 = __webpack_require__(33);
|
|
3205
3219
|
|
|
3206
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
3220
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
3207
3221
|
|
|
3208
|
-
var moment_1 = __webpack_require__(
|
|
3222
|
+
var moment_1 = __webpack_require__(34);
|
|
3209
3223
|
|
|
3210
3224
|
var styled_components_1 = __webpack_require__(4);
|
|
3211
3225
|
|
|
3212
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
3226
|
+
var SplunkVisualization_1 = __webpack_require__(35);
|
|
3213
3227
|
|
|
3214
3228
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3215
3229
|
|
|
3216
|
-
var getSorting_1 = __webpack_require__(
|
|
3230
|
+
var getSorting_1 = __webpack_require__(27);
|
|
3217
3231
|
|
|
3218
|
-
var getPagination_1 = __webpack_require__(
|
|
3232
|
+
var getPagination_1 = __webpack_require__(28);
|
|
3219
3233
|
|
|
3220
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
3234
|
+
var useDeepMemo_1 = __webpack_require__(38);
|
|
3221
3235
|
|
|
3222
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
3236
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
3223
3237
|
|
|
3224
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
3238
|
+
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
3225
3239
|
|
|
3226
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
3240
|
+
var withEditModeCover_1 = __webpack_require__(40);
|
|
3227
3241
|
|
|
3228
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
3242
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
3229
3243
|
|
|
3230
3244
|
var hocUtils_1 = __webpack_require__(8);
|
|
3231
3245
|
/**
|
|
@@ -3429,48 +3443,41 @@ exports.default = withDashboardViz;
|
|
|
3429
3443
|
|
|
3430
3444
|
/***/ }),
|
|
3431
3445
|
|
|
3432
|
-
/***/
|
|
3433
|
-
/***/ (function(module, exports) {
|
|
3434
|
-
|
|
3435
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
3436
|
-
|
|
3437
|
-
/***/ }),
|
|
3438
|
-
|
|
3439
|
-
/***/ 30:
|
|
3446
|
+
/***/ 31:
|
|
3440
3447
|
/***/ (function(module, exports) {
|
|
3441
3448
|
|
|
3442
3449
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
3443
3450
|
|
|
3444
3451
|
/***/ }),
|
|
3445
3452
|
|
|
3446
|
-
/***/
|
|
3453
|
+
/***/ 32:
|
|
3447
3454
|
/***/ (function(module, exports) {
|
|
3448
3455
|
|
|
3449
3456
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
3450
3457
|
|
|
3451
3458
|
/***/ }),
|
|
3452
3459
|
|
|
3453
|
-
/***/
|
|
3460
|
+
/***/ 33:
|
|
3454
3461
|
/***/ (function(module, exports) {
|
|
3455
3462
|
|
|
3456
3463
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
3457
3464
|
|
|
3458
3465
|
/***/ }),
|
|
3459
3466
|
|
|
3460
|
-
/***/
|
|
3467
|
+
/***/ 34:
|
|
3461
3468
|
/***/ (function(module, exports) {
|
|
3462
3469
|
|
|
3463
3470
|
module.exports = require("@splunk/moment");
|
|
3464
3471
|
|
|
3465
3472
|
/***/ }),
|
|
3466
3473
|
|
|
3467
|
-
/***/
|
|
3474
|
+
/***/ 35:
|
|
3468
3475
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3469
3476
|
|
|
3470
3477
|
"use strict";
|
|
3471
3478
|
|
|
3472
3479
|
|
|
3473
|
-
var _classCallCheck = __webpack_require__(
|
|
3480
|
+
var _classCallCheck = __webpack_require__(12);
|
|
3474
3481
|
|
|
3475
3482
|
Object.defineProperty(exports, "__esModule", {
|
|
3476
3483
|
value: true
|
|
@@ -3482,7 +3489,7 @@ var T = __webpack_require__(0);
|
|
|
3482
3489
|
|
|
3483
3490
|
var lodash_1 = __webpack_require__(2);
|
|
3484
3491
|
|
|
3485
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
3492
|
+
var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
3486
3493
|
|
|
3487
3494
|
|
|
3488
3495
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -3616,15 +3623,15 @@ exports.default = SplunkVisualization;
|
|
|
3616
3623
|
|
|
3617
3624
|
/***/ }),
|
|
3618
3625
|
|
|
3619
|
-
/***/
|
|
3626
|
+
/***/ 36:
|
|
3620
3627
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3621
3628
|
|
|
3622
3629
|
"use strict";
|
|
3623
3630
|
|
|
3624
3631
|
|
|
3625
|
-
var _classCallCheck = __webpack_require__(
|
|
3632
|
+
var _classCallCheck = __webpack_require__(12);
|
|
3626
3633
|
|
|
3627
|
-
var _createClass = __webpack_require__(
|
|
3634
|
+
var _createClass = __webpack_require__(17);
|
|
3628
3635
|
|
|
3629
3636
|
Object.defineProperty(exports, "__esModule", {
|
|
3630
3637
|
value: true
|
|
@@ -3654,7 +3661,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
3654
3661
|
|
|
3655
3662
|
/***/ }),
|
|
3656
3663
|
|
|
3657
|
-
/***/
|
|
3664
|
+
/***/ 37:
|
|
3658
3665
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3659
3666
|
|
|
3660
3667
|
"use strict";
|
|
@@ -3668,7 +3675,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
3668
3675
|
|
|
3669
3676
|
/***/ }),
|
|
3670
3677
|
|
|
3671
|
-
/***/
|
|
3678
|
+
/***/ 38:
|
|
3672
3679
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3673
3680
|
|
|
3674
3681
|
"use strict";
|
|
@@ -3714,7 +3721,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
3714
3721
|
|
|
3715
3722
|
/***/ }),
|
|
3716
3723
|
|
|
3717
|
-
/***/
|
|
3724
|
+
/***/ 39:
|
|
3718
3725
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3719
3726
|
|
|
3720
3727
|
"use strict";
|
|
@@ -3731,9 +3738,9 @@ var T = __webpack_require__(0);
|
|
|
3731
3738
|
|
|
3732
3739
|
var i18n_1 = __webpack_require__(3);
|
|
3733
3740
|
|
|
3734
|
-
var Message_1 = __webpack_require__(
|
|
3741
|
+
var Message_1 = __webpack_require__(11);
|
|
3735
3742
|
|
|
3736
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
3743
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
3737
3744
|
/**
|
|
3738
3745
|
* @method isMissing
|
|
3739
3746
|
* @param {any} v
|
|
@@ -3795,7 +3802,14 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
3795
3802
|
|
|
3796
3803
|
/***/ }),
|
|
3797
3804
|
|
|
3798
|
-
/***/
|
|
3805
|
+
/***/ 4:
|
|
3806
|
+
/***/ (function(module, exports) {
|
|
3807
|
+
|
|
3808
|
+
module.exports = require("styled-components");
|
|
3809
|
+
|
|
3810
|
+
/***/ }),
|
|
3811
|
+
|
|
3812
|
+
/***/ 40:
|
|
3799
3813
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3800
3814
|
|
|
3801
3815
|
"use strict";
|
|
@@ -3816,7 +3830,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
3816
3830
|
componentId: "sc-1gsbnxb-0"
|
|
3817
3831
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3818
3832
|
var Blocker = styled_components_1.default.div.attrs({
|
|
3819
|
-
'data-splunk-visualization-version': "
|
|
3833
|
+
'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
|
|
3820
3834
|
}).withConfig({
|
|
3821
3835
|
displayName: "withEditModeCover__Blocker",
|
|
3822
3836
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3848,14 +3862,14 @@ exports.default = withEditModeCover;
|
|
|
3848
3862
|
|
|
3849
3863
|
/***/ }),
|
|
3850
3864
|
|
|
3851
|
-
/***/
|
|
3865
|
+
/***/ 41:
|
|
3852
3866
|
/***/ (function(module, exports) {
|
|
3853
3867
|
|
|
3854
|
-
module.exports = require("
|
|
3868
|
+
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
3855
3869
|
|
|
3856
3870
|
/***/ }),
|
|
3857
3871
|
|
|
3858
|
-
/***/
|
|
3872
|
+
/***/ 42:
|
|
3859
3873
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3860
3874
|
|
|
3861
3875
|
"use strict";
|
|
@@ -3867,11 +3881,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3867
3881
|
|
|
3868
3882
|
var React = __webpack_require__(1);
|
|
3869
3883
|
|
|
3870
|
-
var colorUtils_1 = __webpack_require__(
|
|
3884
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
3871
3885
|
|
|
3872
|
-
var variables_1 = __webpack_require__(
|
|
3886
|
+
var variables_1 = __webpack_require__(10);
|
|
3873
3887
|
|
|
3874
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
3888
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
3875
3889
|
|
|
3876
3890
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3877
3891
|
|
|
@@ -3920,35 +3934,35 @@ exports.default = withPlaceholder;
|
|
|
3920
3934
|
|
|
3921
3935
|
/***/ }),
|
|
3922
3936
|
|
|
3923
|
-
/***/
|
|
3937
|
+
/***/ 43:
|
|
3924
3938
|
/***/ (function(module, exports) {
|
|
3925
3939
|
|
|
3926
3940
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
3927
3941
|
|
|
3928
3942
|
/***/ }),
|
|
3929
3943
|
|
|
3930
|
-
/***/
|
|
3944
|
+
/***/ 45:
|
|
3931
3945
|
/***/ (function(module, exports) {
|
|
3932
3946
|
|
|
3933
3947
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
3934
3948
|
|
|
3935
3949
|
/***/ }),
|
|
3936
3950
|
|
|
3937
|
-
/***/
|
|
3951
|
+
/***/ 46:
|
|
3938
3952
|
/***/ (function(module, exports) {
|
|
3939
3953
|
|
|
3940
3954
|
module.exports = require("@splunk/visualization-icons");
|
|
3941
3955
|
|
|
3942
3956
|
/***/ }),
|
|
3943
3957
|
|
|
3944
|
-
/***/
|
|
3958
|
+
/***/ 47:
|
|
3945
3959
|
/***/ (function(module, exports) {
|
|
3946
3960
|
|
|
3947
3961
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
3948
3962
|
|
|
3949
3963
|
/***/ }),
|
|
3950
3964
|
|
|
3951
|
-
/***/
|
|
3965
|
+
/***/ 48:
|
|
3952
3966
|
/***/ (function(module, exports) {
|
|
3953
3967
|
|
|
3954
3968
|
module.exports = require("@splunk/visualizations-shared/domUtils");
|
|
@@ -3993,7 +4007,7 @@ var VizBehavior;
|
|
|
3993
4007
|
|
|
3994
4008
|
/***/ }),
|
|
3995
4009
|
|
|
3996
|
-
/***/
|
|
4010
|
+
/***/ 53:
|
|
3997
4011
|
/***/ (function(module, exports) {
|
|
3998
4012
|
|
|
3999
4013
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -4006,6 +4020,8 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
4006
4020
|
"use strict";
|
|
4007
4021
|
|
|
4008
4022
|
|
|
4023
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
4024
|
+
|
|
4009
4025
|
var _defineProperty = __webpack_require__(7);
|
|
4010
4026
|
|
|
4011
4027
|
var __rest = this && this.__rest || function (s, e) {
|
|
@@ -4024,11 +4040,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
4024
4040
|
Object.defineProperty(exports, "__esModule", {
|
|
4025
4041
|
value: true
|
|
4026
4042
|
});
|
|
4027
|
-
exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
4043
|
+
exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
4028
4044
|
|
|
4029
4045
|
var lodash_1 = __webpack_require__(2);
|
|
4030
4046
|
|
|
4031
|
-
var schemaUtils_1 = __webpack_require__(
|
|
4047
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
4032
4048
|
|
|
4033
4049
|
var VizBehavior_1 = __webpack_require__(5);
|
|
4034
4050
|
|
|
@@ -4189,10 +4205,28 @@ function generatePrecisionValues(numPrecisionValues) {
|
|
|
4189
4205
|
}
|
|
4190
4206
|
|
|
4191
4207
|
exports.generatePrecisionValues = generatePrecisionValues;
|
|
4208
|
+
/**
|
|
4209
|
+
* insert layout in layout array, return a new layout array instead of updating the original
|
|
4210
|
+
*
|
|
4211
|
+
* @param {EditorLayoutConfig[][]} layout - editor layout
|
|
4212
|
+
* @param {Number} index - the index to insert layout item(s)
|
|
4213
|
+
* @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
|
|
4214
|
+
* @returns {EditorLayoutConfig[][]} new editor layout with insertion
|
|
4215
|
+
*/
|
|
4216
|
+
|
|
4217
|
+
var insertLayout = function insertLayout(layout, index) {
|
|
4218
|
+
for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
4219
|
+
layoutItems[_key - 2] = arguments[_key];
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
|
|
4223
|
+
};
|
|
4224
|
+
|
|
4225
|
+
exports.insertLayout = insertLayout;
|
|
4192
4226
|
|
|
4193
4227
|
/***/ }),
|
|
4194
4228
|
|
|
4195
|
-
/***/
|
|
4229
|
+
/***/ 62:
|
|
4196
4230
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4197
4231
|
|
|
4198
4232
|
"use strict";
|
|
@@ -4216,7 +4250,7 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
|
|
|
4216
4250
|
|
|
4217
4251
|
/***/ }),
|
|
4218
4252
|
|
|
4219
|
-
/***/
|
|
4253
|
+
/***/ 68:
|
|
4220
4254
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4221
4255
|
|
|
4222
4256
|
"use strict";
|
|
@@ -4227,7 +4261,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4227
4261
|
__webpack_require__.d(__webpack_exports__, "SingleValueTrendValue", function() { return /* binding */ SingleValueTrendValue; });
|
|
4228
4262
|
|
|
4229
4263
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
4230
|
-
var extends_ = __webpack_require__(
|
|
4264
|
+
var extends_ = __webpack_require__(47);
|
|
4231
4265
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
4232
4266
|
|
|
4233
4267
|
// EXTERNAL MODULE: external "react"
|
|
@@ -4243,14 +4277,14 @@ var external_styled_components_ = __webpack_require__(4);
|
|
|
4243
4277
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
4244
4278
|
|
|
4245
4279
|
// EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
|
|
4246
|
-
var singleValueUtils = __webpack_require__(
|
|
4280
|
+
var singleValueUtils = __webpack_require__(19);
|
|
4247
4281
|
|
|
4248
4282
|
// EXTERNAL MODULE: external "@splunk/react-icons/ArrowUp"
|
|
4249
|
-
var ArrowUp_ = __webpack_require__(
|
|
4283
|
+
var ArrowUp_ = __webpack_require__(72);
|
|
4250
4284
|
var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
|
|
4251
4285
|
|
|
4252
4286
|
// EXTERNAL MODULE: external "@splunk/react-icons/ArrowDown"
|
|
4253
|
-
var ArrowDown_ = __webpack_require__(
|
|
4287
|
+
var ArrowDown_ = __webpack_require__(73);
|
|
4254
4288
|
var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
|
|
4255
4289
|
|
|
4256
4290
|
// CONCATENATED MODULE: ./src/SingleValueBasic/TrendValue.jsx
|
|
@@ -4320,7 +4354,7 @@ TrendValue_SingleValueContent.propTypes = {
|
|
|
4320
4354
|
};
|
|
4321
4355
|
/* harmony default export */ var TrendValue = (TrendValue_SingleValueContent);
|
|
4322
4356
|
// EXTERNAL MODULE: external "cssesc"
|
|
4323
|
-
var external_cssesc_ = __webpack_require__(
|
|
4357
|
+
var external_cssesc_ = __webpack_require__(74);
|
|
4324
4358
|
var external_cssesc_default = /*#__PURE__*/__webpack_require__.n(external_cssesc_);
|
|
4325
4359
|
|
|
4326
4360
|
// CONCATENATED MODULE: ./src/SingleValueBasic/MajorValue.jsx
|
|
@@ -4381,6 +4415,15 @@ var MajorValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
4381
4415
|
}
|
|
4382
4416
|
}
|
|
4383
4417
|
|
|
4418
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
4419
|
+
if (e.keyCode !== 13) {
|
|
4420
|
+
return;
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
e.preventDefault();
|
|
4424
|
+
onValueClick(e);
|
|
4425
|
+
};
|
|
4426
|
+
|
|
4384
4427
|
return /*#__PURE__*/external_react_default.a.createElement(Row, {
|
|
4385
4428
|
size: fontSize
|
|
4386
4429
|
}, /*#__PURE__*/external_react_default.a.createElement(MajorValue_Text, {
|
|
@@ -4394,7 +4437,10 @@ var MajorValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
4394
4437
|
title: title,
|
|
4395
4438
|
pseudoContent: sanitizedUnit,
|
|
4396
4439
|
pseudoContentPosition: sanitizedUnitPosition,
|
|
4397
|
-
pseudoContentFontSize: fontSize * 0.6
|
|
4440
|
+
pseudoContentFontSize: fontSize * 0.6,
|
|
4441
|
+
tabIndex: "0",
|
|
4442
|
+
role: "button",
|
|
4443
|
+
onKeyDown: handleKeyDown
|
|
4398
4444
|
}, value));
|
|
4399
4445
|
};
|
|
4400
4446
|
|
|
@@ -4505,49 +4551,49 @@ var SingleValueTrendValue = TrendValue;
|
|
|
4505
4551
|
|
|
4506
4552
|
/***/ }),
|
|
4507
4553
|
|
|
4508
|
-
/***/
|
|
4554
|
+
/***/ 7:
|
|
4509
4555
|
/***/ (function(module, exports) {
|
|
4510
4556
|
|
|
4511
|
-
module.exports = require("
|
|
4557
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
4512
4558
|
|
|
4513
4559
|
/***/ }),
|
|
4514
4560
|
|
|
4515
|
-
/***/
|
|
4561
|
+
/***/ 70:
|
|
4516
4562
|
/***/ (function(module, exports) {
|
|
4517
4563
|
|
|
4518
|
-
module.exports = require("lodash/
|
|
4564
|
+
module.exports = require("lodash/pick");
|
|
4519
4565
|
|
|
4520
4566
|
/***/ }),
|
|
4521
4567
|
|
|
4522
|
-
/***/
|
|
4568
|
+
/***/ 71:
|
|
4523
4569
|
/***/ (function(module, exports) {
|
|
4524
4570
|
|
|
4525
|
-
module.exports = require("
|
|
4571
|
+
module.exports = require("lodash/isEmpty");
|
|
4526
4572
|
|
|
4527
4573
|
/***/ }),
|
|
4528
4574
|
|
|
4529
|
-
/***/
|
|
4575
|
+
/***/ 72:
|
|
4530
4576
|
/***/ (function(module, exports) {
|
|
4531
4577
|
|
|
4532
|
-
module.exports = require("@splunk/react-icons/
|
|
4578
|
+
module.exports = require("@splunk/react-icons/ArrowUp");
|
|
4533
4579
|
|
|
4534
4580
|
/***/ }),
|
|
4535
4581
|
|
|
4536
|
-
/***/
|
|
4582
|
+
/***/ 73:
|
|
4537
4583
|
/***/ (function(module, exports) {
|
|
4538
4584
|
|
|
4539
|
-
module.exports = require("@
|
|
4585
|
+
module.exports = require("@splunk/react-icons/ArrowDown");
|
|
4540
4586
|
|
|
4541
4587
|
/***/ }),
|
|
4542
4588
|
|
|
4543
|
-
/***/
|
|
4589
|
+
/***/ 74:
|
|
4544
4590
|
/***/ (function(module, exports) {
|
|
4545
4591
|
|
|
4546
4592
|
module.exports = require("cssesc");
|
|
4547
4593
|
|
|
4548
4594
|
/***/ }),
|
|
4549
4595
|
|
|
4550
|
-
/***/
|
|
4596
|
+
/***/ 77:
|
|
4551
4597
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4552
4598
|
|
|
4553
4599
|
"use strict";
|
|
@@ -4571,71 +4617,22 @@ var StaticBackgroundColorEditor = {
|
|
|
4571
4617
|
|
|
4572
4618
|
/***/ }),
|
|
4573
4619
|
|
|
4574
|
-
/***/ 79:
|
|
4575
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4576
|
-
|
|
4577
|
-
"use strict";
|
|
4578
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4579
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorEditor", function() { return getDynamicMajorColorEditor; });
|
|
4580
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
|
4581
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4582
|
-
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
4583
|
-
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
4587
|
-
var defaultContext = _ref.defaultContext,
|
|
4588
|
-
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
4589
|
-
return {
|
|
4590
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Major Value'),
|
|
4591
|
-
option: 'majorColor',
|
|
4592
|
-
context: 'majorColorEditorConfig',
|
|
4593
|
-
editor: 'editor.dynamicColor',
|
|
4594
|
-
showEditor: function showEditor(_ref2) {
|
|
4595
|
-
var options = _ref2.options;
|
|
4596
|
-
return Object(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.majorColor);
|
|
4597
|
-
},
|
|
4598
|
-
editorProps: {
|
|
4599
|
-
labelPosition: 'left',
|
|
4600
|
-
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Coloring: Major Value'),
|
|
4601
|
-
formatters: [{
|
|
4602
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
4603
|
-
value: 'rangeValue',
|
|
4604
|
-
defaults: {
|
|
4605
|
-
majorValue: defaultContext.majorColorConfig
|
|
4606
|
-
}
|
|
4607
|
-
}, {
|
|
4608
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Matches'),
|
|
4609
|
-
value: 'matchValue',
|
|
4610
|
-
defaults: {
|
|
4611
|
-
majorValue: defaultContext.majorColorMatchConfig
|
|
4612
|
-
}
|
|
4613
|
-
}],
|
|
4614
|
-
dataSelectors: [{
|
|
4615
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Major Value'),
|
|
4616
|
-
value: 'majorValue'
|
|
4617
|
-
}],
|
|
4618
|
-
defaultPalettesConfig: defaultPalettesConfig
|
|
4619
|
-
}
|
|
4620
|
-
};
|
|
4621
|
-
};
|
|
4622
|
-
|
|
4623
|
-
/***/ }),
|
|
4624
|
-
|
|
4625
4620
|
/***/ 8:
|
|
4626
4621
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4627
4622
|
|
|
4628
4623
|
"use strict";
|
|
4629
4624
|
|
|
4630
4625
|
|
|
4631
|
-
var _typeof = __webpack_require__(
|
|
4626
|
+
var _typeof = __webpack_require__(23);
|
|
4632
4627
|
|
|
4633
4628
|
Object.defineProperty(exports, "__esModule", {
|
|
4634
4629
|
value: true
|
|
4635
4630
|
});
|
|
4636
|
-
exports.
|
|
4631
|
+
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
4637
4632
|
|
|
4638
4633
|
var lodash_1 = __webpack_require__(2);
|
|
4634
|
+
|
|
4635
|
+
var mapUtils_1 = __webpack_require__(41);
|
|
4639
4636
|
/**
|
|
4640
4637
|
* @method extendStaticWrapperProps
|
|
4641
4638
|
* @param {Object} props
|
|
@@ -4690,7 +4687,7 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
4690
4687
|
// If option is an array of objects
|
|
4691
4688
|
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
4692
4689
|
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
4693
|
-
var closestMatchIdx =
|
|
4690
|
+
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
4694
4691
|
|
|
4695
4692
|
if (closestMatchIdx > -1) {
|
|
4696
4693
|
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
@@ -4704,54 +4701,61 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
4704
4701
|
};
|
|
4705
4702
|
|
|
4706
4703
|
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
4707
|
-
/**
|
|
4708
|
-
* Finds the closest matching object from the list, which has the max same key value pairs.
|
|
4709
|
-
* Returns the index of match if found, or -1
|
|
4710
|
-
* For eg :-
|
|
4711
|
-
const list = [{
|
|
4712
|
-
type: "marker",
|
|
4713
|
-
lat: "value1"
|
|
4714
|
-
}, {
|
|
4715
|
-
type: "bubble",
|
|
4716
|
-
size: "value2"
|
|
4717
|
-
}];
|
|
4718
4704
|
|
|
4719
|
-
|
|
4720
|
-
type: 'bubble'
|
|
4721
|
-
};
|
|
4705
|
+
/***/ }),
|
|
4722
4706
|
|
|
4723
|
-
|
|
4724
|
-
|
|
4707
|
+
/***/ 83:
|
|
4708
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4725
4709
|
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4710
|
+
"use strict";
|
|
4711
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4712
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorEditor", function() { return getDynamicMajorColorEditor; });
|
|
4713
|
+
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
|
4714
|
+
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4715
|
+
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
4716
|
+
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4730
4717
|
|
|
4731
|
-
var keys = Object.keys(inputObj);
|
|
4732
|
-
var maxMatchCnt = 0;
|
|
4733
|
-
var maxMatchIdx = 0;
|
|
4734
|
-
searchList.forEach(function (item, idx) {
|
|
4735
|
-
var matchCnt = 0;
|
|
4736
|
-
keys.forEach(function (key) {
|
|
4737
|
-
if (item[key] === inputObj[key]) {
|
|
4738
|
-
matchCnt += 1;
|
|
4739
|
-
}
|
|
4740
|
-
});
|
|
4741
4718
|
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4719
|
+
var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
4720
|
+
var defaultContext = _ref.defaultContext,
|
|
4721
|
+
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
4722
|
+
return {
|
|
4723
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Major Value'),
|
|
4724
|
+
option: 'majorColor',
|
|
4725
|
+
context: 'majorColorEditorConfig',
|
|
4726
|
+
editor: 'editor.dynamicColor',
|
|
4727
|
+
showEditor: function showEditor(_ref2) {
|
|
4728
|
+
var options = _ref2.options;
|
|
4729
|
+
return Object(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.majorColor);
|
|
4730
|
+
},
|
|
4731
|
+
editorProps: {
|
|
4732
|
+
labelPosition: 'left',
|
|
4733
|
+
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Coloring: Major Value'),
|
|
4734
|
+
formatters: [{
|
|
4735
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
4736
|
+
value: 'rangeValue',
|
|
4737
|
+
defaults: {
|
|
4738
|
+
majorValue: defaultContext.majorColorConfig
|
|
4739
|
+
}
|
|
4740
|
+
}, {
|
|
4741
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Matches'),
|
|
4742
|
+
value: 'matchValue',
|
|
4743
|
+
defaults: {
|
|
4744
|
+
majorValue: defaultContext.majorColorMatchConfig
|
|
4745
|
+
}
|
|
4746
|
+
}],
|
|
4747
|
+
dataSelectors: [{
|
|
4748
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Major Value'),
|
|
4749
|
+
value: 'majorValue'
|
|
4750
|
+
}],
|
|
4751
|
+
defaultPalettesConfig: defaultPalettesConfig
|
|
4745
4752
|
}
|
|
4746
|
-
}
|
|
4747
|
-
return maxMatchIdx;
|
|
4753
|
+
};
|
|
4748
4754
|
};
|
|
4749
4755
|
|
|
4750
|
-
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
4751
|
-
|
|
4752
4756
|
/***/ }),
|
|
4753
4757
|
|
|
4754
|
-
/***/
|
|
4758
|
+
/***/ 84:
|
|
4755
4759
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4756
4760
|
|
|
4757
4761
|
"use strict";
|
|
@@ -4796,7 +4800,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
4796
4800
|
|
|
4797
4801
|
/***/ }),
|
|
4798
4802
|
|
|
4799
|
-
/***/
|
|
4803
|
+
/***/ 85:
|
|
4800
4804
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4801
4805
|
|
|
4802
4806
|
"use strict";
|
|
@@ -4851,7 +4855,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
4851
4855
|
|
|
4852
4856
|
/***/ }),
|
|
4853
4857
|
|
|
4854
|
-
/***/
|
|
4858
|
+
/***/ 86:
|
|
4855
4859
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4856
4860
|
|
|
4857
4861
|
"use strict";
|
|
@@ -4875,7 +4879,7 @@ var StaticMajorColorEditor = {
|
|
|
4875
4879
|
|
|
4876
4880
|
/***/ }),
|
|
4877
4881
|
|
|
4878
|
-
/***/
|
|
4882
|
+
/***/ 87:
|
|
4879
4883
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4880
4884
|
|
|
4881
4885
|
"use strict";
|
|
@@ -4903,17 +4907,17 @@ var StaticTrendColorEditor = {
|
|
|
4903
4907
|
|
|
4904
4908
|
/***/ }),
|
|
4905
4909
|
|
|
4906
|
-
/***/
|
|
4910
|
+
/***/ 9:
|
|
4907
4911
|
/***/ (function(module, exports) {
|
|
4908
4912
|
|
|
4909
|
-
module.exports = require("@
|
|
4913
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
4910
4914
|
|
|
4911
4915
|
/***/ }),
|
|
4912
4916
|
|
|
4913
|
-
/***/
|
|
4917
|
+
/***/ 90:
|
|
4914
4918
|
/***/ (function(module, exports) {
|
|
4915
4919
|
|
|
4916
|
-
module.exports = require("@splunk/
|
|
4920
|
+
module.exports = require("@splunk/react-sparkline/Line");
|
|
4917
4921
|
|
|
4918
4922
|
/***/ })
|
|
4919
4923
|
|