@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/SingleValueRadial.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 = 262);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,25 +109,32 @@ 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
|
/***/ 11:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
|
-
module.exports = require("@splunk/
|
|
119
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
120
120
|
|
|
121
121
|
/***/ }),
|
|
122
122
|
|
|
123
123
|
/***/ 12:
|
|
124
124
|
/***/ (function(module, exports) {
|
|
125
125
|
|
|
126
|
-
module.exports = require("@
|
|
126
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
127
127
|
|
|
128
128
|
/***/ }),
|
|
129
129
|
|
|
130
130
|
/***/ 13:
|
|
131
|
+
/***/ (function(module, exports) {
|
|
132
|
+
|
|
133
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
134
|
+
|
|
135
|
+
/***/ }),
|
|
136
|
+
|
|
137
|
+
/***/ 14:
|
|
131
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
132
139
|
|
|
133
140
|
"use strict";
|
|
@@ -141,11 +148,11 @@ var React = __webpack_require__(1);
|
|
|
141
148
|
|
|
142
149
|
var styled_components_1 = __webpack_require__(4);
|
|
143
150
|
|
|
144
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
151
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
145
152
|
|
|
146
|
-
var style_1 = __webpack_require__(
|
|
153
|
+
var style_1 = __webpack_require__(15);
|
|
147
154
|
|
|
148
|
-
var colorUtils_1 = __webpack_require__(
|
|
155
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
149
156
|
|
|
150
157
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
151
158
|
var width = _ref.width;
|
|
@@ -202,7 +209,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
202
209
|
|
|
203
210
|
return React.createElement(FixSizeItem, {
|
|
204
211
|
"data-test": "fix-size-item",
|
|
205
|
-
"data-splunk-visualization-version": "
|
|
212
|
+
"data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
|
|
206
213
|
width: width,
|
|
207
214
|
height: height,
|
|
208
215
|
backgroundColor: backgroundColor
|
|
@@ -224,35 +231,35 @@ exports.default = withFixedSizeContainer;
|
|
|
224
231
|
|
|
225
232
|
/***/ }),
|
|
226
233
|
|
|
227
|
-
/***/
|
|
234
|
+
/***/ 15:
|
|
228
235
|
/***/ (function(module, exports) {
|
|
229
236
|
|
|
230
237
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
231
238
|
|
|
232
239
|
/***/ }),
|
|
233
240
|
|
|
234
|
-
/***/
|
|
241
|
+
/***/ 16:
|
|
235
242
|
/***/ (function(module, exports) {
|
|
236
243
|
|
|
237
244
|
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
238
245
|
|
|
239
246
|
/***/ }),
|
|
240
247
|
|
|
241
|
-
/***/
|
|
248
|
+
/***/ 17:
|
|
242
249
|
/***/ (function(module, exports) {
|
|
243
250
|
|
|
244
251
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
245
252
|
|
|
246
253
|
/***/ }),
|
|
247
254
|
|
|
248
|
-
/***/
|
|
255
|
+
/***/ 18:
|
|
249
256
|
/***/ (function(module, exports) {
|
|
250
257
|
|
|
251
258
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
252
259
|
|
|
253
260
|
/***/ }),
|
|
254
261
|
|
|
255
|
-
/***/
|
|
262
|
+
/***/ 19:
|
|
256
263
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
257
264
|
|
|
258
265
|
"use strict";
|
|
@@ -291,13 +298,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
291
298
|
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
292
299
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
|
|
293
300
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
|
294
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
301
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
|
|
295
302
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
|
|
296
|
-
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
303
|
+
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48);
|
|
297
304
|
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
298
|
-
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
305
|
+
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
|
|
299
306
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
300
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
307
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43);
|
|
301
308
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
|
|
302
309
|
|
|
303
310
|
|
|
@@ -1261,13 +1268,6 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
|
|
|
1261
1268
|
|
|
1262
1269
|
/***/ }),
|
|
1263
1270
|
|
|
1264
|
-
/***/ 19:
|
|
1265
|
-
/***/ (function(module, exports) {
|
|
1266
|
-
|
|
1267
|
-
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1268
|
-
|
|
1269
|
-
/***/ }),
|
|
1270
|
-
|
|
1271
1271
|
/***/ 2:
|
|
1272
1272
|
/***/ (function(module, exports) {
|
|
1273
1273
|
|
|
@@ -1278,32 +1278,39 @@ module.exports = require("lodash");
|
|
|
1278
1278
|
/***/ 20:
|
|
1279
1279
|
/***/ (function(module, exports) {
|
|
1280
1280
|
|
|
1281
|
-
module.exports = require("@splunk/
|
|
1281
|
+
module.exports = require("@splunk/themes/pick");
|
|
1282
1282
|
|
|
1283
1283
|
/***/ }),
|
|
1284
1284
|
|
|
1285
1285
|
/***/ 21:
|
|
1286
1286
|
/***/ (function(module, exports) {
|
|
1287
1287
|
|
|
1288
|
-
module.exports = require("@
|
|
1288
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1289
1289
|
|
|
1290
1290
|
/***/ }),
|
|
1291
1291
|
|
|
1292
1292
|
/***/ 22:
|
|
1293
1293
|
/***/ (function(module, exports) {
|
|
1294
1294
|
|
|
1295
|
-
module.exports = require("@splunk/
|
|
1295
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1296
1296
|
|
|
1297
1297
|
/***/ }),
|
|
1298
1298
|
|
|
1299
1299
|
/***/ 23:
|
|
1300
1300
|
/***/ (function(module, exports) {
|
|
1301
1301
|
|
|
1302
|
-
module.exports = require("@
|
|
1302
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
1303
1303
|
|
|
1304
1304
|
/***/ }),
|
|
1305
1305
|
|
|
1306
1306
|
/***/ 24:
|
|
1307
|
+
/***/ (function(module, exports) {
|
|
1308
|
+
|
|
1309
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
1310
|
+
|
|
1311
|
+
/***/ }),
|
|
1312
|
+
|
|
1313
|
+
/***/ 25:
|
|
1307
1314
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1308
1315
|
|
|
1309
1316
|
"use strict";
|
|
@@ -1337,7 +1344,7 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
|
1337
1344
|
|
|
1338
1345
|
/***/ }),
|
|
1339
1346
|
|
|
1340
|
-
/***/
|
|
1347
|
+
/***/ 26:
|
|
1341
1348
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1342
1349
|
|
|
1343
1350
|
"use strict";
|
|
@@ -1356,9 +1363,9 @@ var lodash_1 = __webpack_require__(2);
|
|
|
1356
1363
|
|
|
1357
1364
|
var i18n_1 = __webpack_require__(3);
|
|
1358
1365
|
|
|
1359
|
-
var Message_1 = __webpack_require__(
|
|
1366
|
+
var Message_1 = __webpack_require__(11);
|
|
1360
1367
|
|
|
1361
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1368
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
1362
1369
|
/**
|
|
1363
1370
|
* @method shouldShowIconPlaceholder
|
|
1364
1371
|
* @param {object} dataSources
|
|
@@ -1429,78 +1436,7 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
1429
1436
|
|
|
1430
1437
|
/***/ }),
|
|
1431
1438
|
|
|
1432
|
-
/***/
|
|
1433
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1434
|
-
|
|
1435
|
-
"use strict";
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
var _defineProperty = __webpack_require__(7);
|
|
1439
|
-
|
|
1440
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1441
|
-
value: true
|
|
1442
|
-
});
|
|
1443
|
-
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1444
|
-
|
|
1445
|
-
var T = __webpack_require__(0);
|
|
1446
|
-
|
|
1447
|
-
var lodash_1 = __webpack_require__(2);
|
|
1448
|
-
|
|
1449
|
-
var DataSource_1 = __webpack_require__(36);
|
|
1450
|
-
|
|
1451
|
-
exports.SortParamsPropTypes = T.shape({
|
|
1452
|
-
currentSortKey: T.string,
|
|
1453
|
-
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
1454
|
-
onSort: T.func
|
|
1455
|
-
});
|
|
1456
|
-
|
|
1457
|
-
var getSortingParams = function getSortingParams(_ref) {
|
|
1458
|
-
var requestParams = _ref.requestParams,
|
|
1459
|
-
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
1460
|
-
var currentSortKey;
|
|
1461
|
-
var currentSortDir;
|
|
1462
|
-
var nextSortDirMap = {
|
|
1463
|
-
asc: 'desc',
|
|
1464
|
-
desc: 'asc',
|
|
1465
|
-
none: 'asc'
|
|
1466
|
-
};
|
|
1467
|
-
var onSort;
|
|
1468
|
-
|
|
1469
|
-
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
1470
|
-
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
1471
|
-
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
1472
|
-
currentSortDir = requestParams.sort[currentSortKey];
|
|
1473
|
-
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
onSort = function onSort(e, _ref2) {
|
|
1477
|
-
var sortKey = _ref2.sortKey,
|
|
1478
|
-
sortDir = _ref2.sortDir;
|
|
1479
|
-
|
|
1480
|
-
if (typeof sortKey === 'string') {
|
|
1481
|
-
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
1482
|
-
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
1483
|
-
offset: 0,
|
|
1484
|
-
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
1485
|
-
}));
|
|
1486
|
-
} else {
|
|
1487
|
-
onRequestParamsChange(requestParams);
|
|
1488
|
-
}
|
|
1489
|
-
};
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
return {
|
|
1493
|
-
currentSortKey: currentSortKey,
|
|
1494
|
-
currentSortDir: currentSortDir,
|
|
1495
|
-
onSort: onSort
|
|
1496
|
-
};
|
|
1497
|
-
};
|
|
1498
|
-
|
|
1499
|
-
exports.getSortingParams = getSortingParams;
|
|
1500
|
-
|
|
1501
|
-
/***/ }),
|
|
1502
|
-
|
|
1503
|
-
/***/ 260:
|
|
1439
|
+
/***/ 262:
|
|
1504
1440
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1505
1441
|
|
|
1506
1442
|
"use strict";
|
|
@@ -1511,11 +1447,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1511
1447
|
});
|
|
1512
1448
|
exports.PureSingleValueRadialThemes = exports.PureSingleValueRadial = exports.config = void 0;
|
|
1513
1449
|
|
|
1514
|
-
var SingleValueRadial_1 = __webpack_require__(
|
|
1450
|
+
var SingleValueRadial_1 = __webpack_require__(279);
|
|
1515
1451
|
|
|
1516
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1452
|
+
var withDashboardViz_1 = __webpack_require__(30);
|
|
1517
1453
|
|
|
1518
|
-
var config_1 = __webpack_require__(
|
|
1454
|
+
var config_1 = __webpack_require__(263);
|
|
1519
1455
|
|
|
1520
1456
|
exports.config = config_1.default;
|
|
1521
1457
|
exports.PureSingleValueRadial = SingleValueRadial_1.default; // TODO: proper theming support for SVR when we come back to SVR viz
|
|
@@ -1528,7 +1464,7 @@ exports.default = withDashboardViz_1.default({
|
|
|
1528
1464
|
|
|
1529
1465
|
/***/ }),
|
|
1530
1466
|
|
|
1531
|
-
/***/
|
|
1467
|
+
/***/ 263:
|
|
1532
1468
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1533
1469
|
|
|
1534
1470
|
"use strict";
|
|
@@ -1540,37 +1476,37 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1540
1476
|
|
|
1541
1477
|
var i18n_1 = __webpack_require__(3);
|
|
1542
1478
|
|
|
1543
|
-
var schemaUtils_1 = __webpack_require__(
|
|
1479
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
1544
1480
|
|
|
1545
|
-
var pick_1 = __webpack_require__(
|
|
1481
|
+
var pick_1 = __webpack_require__(20);
|
|
1546
1482
|
|
|
1547
|
-
var variables_1 = __webpack_require__(
|
|
1483
|
+
var variables_1 = __webpack_require__(10);
|
|
1548
1484
|
|
|
1549
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
1485
|
+
var PresetPalettes_1 = __webpack_require__(53);
|
|
1550
1486
|
|
|
1551
|
-
var visualization_icons_1 = __webpack_require__(
|
|
1487
|
+
var visualization_icons_1 = __webpack_require__(46);
|
|
1552
1488
|
|
|
1553
|
-
var placeholders_1 = __webpack_require__(
|
|
1489
|
+
var placeholders_1 = __webpack_require__(45);
|
|
1554
1490
|
|
|
1555
1491
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1556
1492
|
|
|
1557
1493
|
var configUtils_1 = __webpack_require__(6);
|
|
1558
1494
|
|
|
1559
|
-
var VizCategory_1 = __webpack_require__(
|
|
1495
|
+
var VizCategory_1 = __webpack_require__(29);
|
|
1560
1496
|
|
|
1561
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
1497
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(83);
|
|
1562
1498
|
|
|
1563
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
1499
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(84);
|
|
1564
1500
|
|
|
1565
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
1501
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(85);
|
|
1566
1502
|
|
|
1567
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
1503
|
+
var StaticMajorColorEditor_1 = __webpack_require__(86);
|
|
1568
1504
|
|
|
1569
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
1505
|
+
var StaticTrendColorEditor_1 = __webpack_require__(87);
|
|
1570
1506
|
|
|
1571
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
1507
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(77);
|
|
1572
1508
|
|
|
1573
|
-
var RadialBackgroundColor_1 = __webpack_require__(
|
|
1509
|
+
var RadialBackgroundColor_1 = __webpack_require__(264);
|
|
1574
1510
|
|
|
1575
1511
|
var dataContract = {
|
|
1576
1512
|
requiredDataSources: [{
|
|
@@ -1931,7 +1867,7 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
1931
1867
|
|
|
1932
1868
|
/***/ }),
|
|
1933
1869
|
|
|
1934
|
-
/***/
|
|
1870
|
+
/***/ 264:
|
|
1935
1871
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1936
1872
|
|
|
1937
1873
|
"use strict";
|
|
@@ -1968,66 +1904,72 @@ exports.default = radialBackground;
|
|
|
1968
1904
|
"use strict";
|
|
1969
1905
|
|
|
1970
1906
|
|
|
1907
|
+
var _defineProperty = __webpack_require__(7);
|
|
1908
|
+
|
|
1971
1909
|
Object.defineProperty(exports, "__esModule", {
|
|
1972
1910
|
value: true
|
|
1973
1911
|
});
|
|
1974
|
-
exports.
|
|
1912
|
+
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1975
1913
|
|
|
1976
1914
|
var T = __webpack_require__(0);
|
|
1977
1915
|
|
|
1978
1916
|
var lodash_1 = __webpack_require__(2);
|
|
1979
1917
|
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1918
|
+
var DataSource_1 = __webpack_require__(37);
|
|
1919
|
+
|
|
1920
|
+
exports.SortParamsPropTypes = T.shape({
|
|
1921
|
+
currentSortKey: T.string,
|
|
1922
|
+
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
1923
|
+
onSort: T.func
|
|
1985
1924
|
});
|
|
1986
1925
|
|
|
1987
|
-
var
|
|
1926
|
+
var getSortingParams = function getSortingParams(_ref) {
|
|
1988
1927
|
var requestParams = _ref.requestParams,
|
|
1989
|
-
meta = _ref.meta,
|
|
1990
1928
|
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
1991
|
-
var
|
|
1992
|
-
var
|
|
1993
|
-
var
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
var
|
|
1999
|
-
var page = _ref2.page,
|
|
2000
|
-
countArg = _ref2.count;
|
|
2001
|
-
var newParams = lodash_1.cloneDeep(requestParams);
|
|
1929
|
+
var currentSortKey;
|
|
1930
|
+
var currentSortDir;
|
|
1931
|
+
var nextSortDirMap = {
|
|
1932
|
+
asc: 'desc',
|
|
1933
|
+
desc: 'asc',
|
|
1934
|
+
none: 'asc'
|
|
1935
|
+
};
|
|
1936
|
+
var onSort;
|
|
2002
1937
|
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
1938
|
+
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
1939
|
+
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
1940
|
+
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
1941
|
+
currentSortDir = requestParams.sort[currentSortKey];
|
|
1942
|
+
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
2007
1943
|
|
|
2008
|
-
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
2009
1944
|
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
}
|
|
1945
|
+
onSort = function onSort(e, _ref2) {
|
|
1946
|
+
var sortKey = _ref2.sortKey,
|
|
1947
|
+
sortDir = _ref2.sortDir;
|
|
2014
1948
|
|
|
2015
|
-
|
|
2016
|
-
|
|
1949
|
+
if (typeof sortKey === 'string') {
|
|
1950
|
+
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
1951
|
+
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
1952
|
+
offset: 0,
|
|
1953
|
+
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
1954
|
+
}));
|
|
1955
|
+
} else {
|
|
1956
|
+
onRequestParamsChange(requestParams);
|
|
1957
|
+
}
|
|
1958
|
+
};
|
|
1959
|
+
}
|
|
2017
1960
|
|
|
2018
1961
|
return {
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
|
|
1962
|
+
currentSortKey: currentSortKey,
|
|
1963
|
+
currentSortDir: currentSortDir,
|
|
1964
|
+
onSort: onSort
|
|
2023
1965
|
};
|
|
2024
1966
|
};
|
|
2025
1967
|
|
|
2026
|
-
exports.
|
|
1968
|
+
exports.getSortingParams = getSortingParams;
|
|
2027
1969
|
|
|
2028
1970
|
/***/ }),
|
|
2029
1971
|
|
|
2030
|
-
/***/
|
|
1972
|
+
/***/ 279:
|
|
2031
1973
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2032
1974
|
|
|
2033
1975
|
"use strict";
|
|
@@ -2035,7 +1977,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
2035
1977
|
__webpack_require__.r(__webpack_exports__);
|
|
2036
1978
|
|
|
2037
1979
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
2038
|
-
var extends_ = __webpack_require__(
|
|
1980
|
+
var extends_ = __webpack_require__(47);
|
|
2039
1981
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
2040
1982
|
|
|
2041
1983
|
// EXTERNAL MODULE: external "react"
|
|
@@ -2047,11 +1989,11 @@ var external_prop_types_ = __webpack_require__(0);
|
|
|
2047
1989
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
2048
1990
|
|
|
2049
1991
|
// EXTERNAL MODULE: external "@splunk/themes/pick"
|
|
2050
|
-
var pick_ = __webpack_require__(
|
|
1992
|
+
var pick_ = __webpack_require__(20);
|
|
2051
1993
|
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
2052
1994
|
|
|
2053
1995
|
// EXTERNAL MODULE: external "@splunk/themes/variables"
|
|
2054
|
-
var variables_ = __webpack_require__(
|
|
1996
|
+
var variables_ = __webpack_require__(10);
|
|
2055
1997
|
var variables_default = /*#__PURE__*/__webpack_require__.n(variables_);
|
|
2056
1998
|
|
|
2057
1999
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -2059,32 +2001,32 @@ var external_styled_components_ = __webpack_require__(4);
|
|
|
2059
2001
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
2060
2002
|
|
|
2061
2003
|
// EXTERNAL MODULE: external "lodash/pick"
|
|
2062
|
-
var external_lodash_pick_ = __webpack_require__(
|
|
2004
|
+
var external_lodash_pick_ = __webpack_require__(70);
|
|
2063
2005
|
var external_lodash_pick_default = /*#__PURE__*/__webpack_require__.n(external_lodash_pick_);
|
|
2064
2006
|
|
|
2065
2007
|
// EXTERNAL MODULE: external "lodash/isEmpty"
|
|
2066
|
-
var isEmpty_ = __webpack_require__(
|
|
2008
|
+
var isEmpty_ = __webpack_require__(71);
|
|
2067
2009
|
var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty_);
|
|
2068
2010
|
|
|
2069
2011
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
|
|
2070
|
-
var style_ = __webpack_require__(
|
|
2012
|
+
var style_ = __webpack_require__(15);
|
|
2071
2013
|
|
|
2072
2014
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/SizeAwareWrapper"
|
|
2073
|
-
var SizeAwareWrapper_ = __webpack_require__(
|
|
2015
|
+
var SizeAwareWrapper_ = __webpack_require__(18);
|
|
2074
2016
|
var SizeAwareWrapper_default = /*#__PURE__*/__webpack_require__.n(SizeAwareWrapper_);
|
|
2075
2017
|
|
|
2076
2018
|
// EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
|
|
2077
|
-
var VizStyleWrapper = __webpack_require__(
|
|
2019
|
+
var VizStyleWrapper = __webpack_require__(62);
|
|
2078
2020
|
|
|
2079
2021
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
|
|
2080
2022
|
var defineProperty_ = __webpack_require__(7);
|
|
2081
2023
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
2082
2024
|
|
|
2083
2025
|
// EXTERNAL MODULE: ./src/SingleValueBasic/SingleValueBasic.jsx + 2 modules
|
|
2084
|
-
var SingleValueBasic = __webpack_require__(
|
|
2026
|
+
var SingleValueBasic = __webpack_require__(68);
|
|
2085
2027
|
|
|
2086
2028
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/colorConstants"
|
|
2087
|
-
var colorConstants_ = __webpack_require__(
|
|
2029
|
+
var colorConstants_ = __webpack_require__(43);
|
|
2088
2030
|
|
|
2089
2031
|
// CONCATENATED MODULE: ./src/SingleValueRadial/PureSingleValueRadial/RadialGraph.jsx
|
|
2090
2032
|
|
|
@@ -2153,7 +2095,7 @@ RadialGraph_RadialGraph.defaultProps = {
|
|
|
2153
2095
|
};
|
|
2154
2096
|
/* harmony default export */ var PureSingleValueRadial_RadialGraph = (RadialGraph_RadialGraph);
|
|
2155
2097
|
// EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
|
|
2156
|
-
var singleValueUtils = __webpack_require__(
|
|
2098
|
+
var singleValueUtils = __webpack_require__(19);
|
|
2157
2099
|
|
|
2158
2100
|
// CONCATENATED MODULE: ./src/SingleValueRadial/PureSingleValueRadial/utils/displayUtils.js
|
|
2159
2101
|
|
|
@@ -2727,6 +2669,71 @@ SingleValueRadial_SingleValueRadial.defaultProps = {
|
|
|
2727
2669
|
"use strict";
|
|
2728
2670
|
|
|
2729
2671
|
|
|
2672
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2673
|
+
value: true
|
|
2674
|
+
});
|
|
2675
|
+
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
2676
|
+
|
|
2677
|
+
var T = __webpack_require__(0);
|
|
2678
|
+
|
|
2679
|
+
var lodash_1 = __webpack_require__(2);
|
|
2680
|
+
|
|
2681
|
+
exports.PaginatorParamsPropTypes = T.shape({
|
|
2682
|
+
isPaging: T.bool,
|
|
2683
|
+
current: T.number,
|
|
2684
|
+
totalPages: T.number,
|
|
2685
|
+
onChange: T.func
|
|
2686
|
+
});
|
|
2687
|
+
|
|
2688
|
+
var getPaginationParams = function getPaginationParams(_ref) {
|
|
2689
|
+
var requestParams = _ref.requestParams,
|
|
2690
|
+
meta = _ref.meta,
|
|
2691
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
2692
|
+
var totalCount = meta && meta.totalCount || 0;
|
|
2693
|
+
var offset = requestParams && requestParams.offset || 0;
|
|
2694
|
+
var count = requestParams && requestParams.count;
|
|
2695
|
+
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
2696
|
+
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
2697
|
+
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
2698
|
+
|
|
2699
|
+
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
2700
|
+
var page = _ref2.page,
|
|
2701
|
+
countArg = _ref2.count;
|
|
2702
|
+
var newParams = lodash_1.cloneDeep(requestParams);
|
|
2703
|
+
|
|
2704
|
+
if (typeof countArg === 'number') {
|
|
2705
|
+
newParams.count = countArg;
|
|
2706
|
+
newParams.offset = 0;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
2710
|
+
|
|
2711
|
+
if (typeof page === 'number' && page > 0) {
|
|
2712
|
+
newParams.count = pageCount;
|
|
2713
|
+
newParams.offset = (page - 1) * pageCount;
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
onRequestParamsChange(newParams);
|
|
2717
|
+
};
|
|
2718
|
+
|
|
2719
|
+
return {
|
|
2720
|
+
isPaging: isPaging,
|
|
2721
|
+
current: current,
|
|
2722
|
+
totalPages: totalPages,
|
|
2723
|
+
onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
|
|
2724
|
+
};
|
|
2725
|
+
};
|
|
2726
|
+
|
|
2727
|
+
exports.getPaginationParams = getPaginationParams;
|
|
2728
|
+
|
|
2729
|
+
/***/ }),
|
|
2730
|
+
|
|
2731
|
+
/***/ 29:
|
|
2732
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2733
|
+
|
|
2734
|
+
"use strict";
|
|
2735
|
+
|
|
2736
|
+
|
|
2730
2737
|
Object.defineProperty(exports, "__esModule", {
|
|
2731
2738
|
value: true
|
|
2732
2739
|
});
|
|
@@ -2750,7 +2757,14 @@ var VizCategory;
|
|
|
2750
2757
|
|
|
2751
2758
|
/***/ }),
|
|
2752
2759
|
|
|
2753
|
-
/***/
|
|
2760
|
+
/***/ 3:
|
|
2761
|
+
/***/ (function(module, exports) {
|
|
2762
|
+
|
|
2763
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
2764
|
+
|
|
2765
|
+
/***/ }),
|
|
2766
|
+
|
|
2767
|
+
/***/ 30:
|
|
2754
2768
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2755
2769
|
|
|
2756
2770
|
"use strict";
|
|
@@ -2764,35 +2778,35 @@ var React = __webpack_require__(1);
|
|
|
2764
2778
|
|
|
2765
2779
|
var lodash_1 = __webpack_require__(2);
|
|
2766
2780
|
|
|
2767
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
2781
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(31);
|
|
2768
2782
|
|
|
2769
|
-
var Options_1 = __webpack_require__(
|
|
2783
|
+
var Options_1 = __webpack_require__(32);
|
|
2770
2784
|
|
|
2771
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
2785
|
+
var SanitizeProps_1 = __webpack_require__(33);
|
|
2772
2786
|
|
|
2773
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
2787
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
2774
2788
|
|
|
2775
|
-
var moment_1 = __webpack_require__(
|
|
2789
|
+
var moment_1 = __webpack_require__(34);
|
|
2776
2790
|
|
|
2777
2791
|
var styled_components_1 = __webpack_require__(4);
|
|
2778
2792
|
|
|
2779
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
2793
|
+
var SplunkVisualization_1 = __webpack_require__(35);
|
|
2780
2794
|
|
|
2781
2795
|
var VizBehavior_1 = __webpack_require__(5);
|
|
2782
2796
|
|
|
2783
|
-
var getSorting_1 = __webpack_require__(
|
|
2797
|
+
var getSorting_1 = __webpack_require__(27);
|
|
2784
2798
|
|
|
2785
|
-
var getPagination_1 = __webpack_require__(
|
|
2799
|
+
var getPagination_1 = __webpack_require__(28);
|
|
2786
2800
|
|
|
2787
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
2801
|
+
var useDeepMemo_1 = __webpack_require__(38);
|
|
2788
2802
|
|
|
2789
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
2803
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
2790
2804
|
|
|
2791
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
2805
|
+
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
2792
2806
|
|
|
2793
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
2807
|
+
var withEditModeCover_1 = __webpack_require__(40);
|
|
2794
2808
|
|
|
2795
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
2809
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
2796
2810
|
|
|
2797
2811
|
var hocUtils_1 = __webpack_require__(8);
|
|
2798
2812
|
/**
|
|
@@ -2996,48 +3010,41 @@ exports.default = withDashboardViz;
|
|
|
2996
3010
|
|
|
2997
3011
|
/***/ }),
|
|
2998
3012
|
|
|
2999
|
-
/***/
|
|
3000
|
-
/***/ (function(module, exports) {
|
|
3001
|
-
|
|
3002
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
3003
|
-
|
|
3004
|
-
/***/ }),
|
|
3005
|
-
|
|
3006
|
-
/***/ 30:
|
|
3013
|
+
/***/ 31:
|
|
3007
3014
|
/***/ (function(module, exports) {
|
|
3008
3015
|
|
|
3009
3016
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
3010
3017
|
|
|
3011
3018
|
/***/ }),
|
|
3012
3019
|
|
|
3013
|
-
/***/
|
|
3020
|
+
/***/ 32:
|
|
3014
3021
|
/***/ (function(module, exports) {
|
|
3015
3022
|
|
|
3016
3023
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
3017
3024
|
|
|
3018
3025
|
/***/ }),
|
|
3019
3026
|
|
|
3020
|
-
/***/
|
|
3027
|
+
/***/ 33:
|
|
3021
3028
|
/***/ (function(module, exports) {
|
|
3022
3029
|
|
|
3023
3030
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
3024
3031
|
|
|
3025
3032
|
/***/ }),
|
|
3026
3033
|
|
|
3027
|
-
/***/
|
|
3034
|
+
/***/ 34:
|
|
3028
3035
|
/***/ (function(module, exports) {
|
|
3029
3036
|
|
|
3030
3037
|
module.exports = require("@splunk/moment");
|
|
3031
3038
|
|
|
3032
3039
|
/***/ }),
|
|
3033
3040
|
|
|
3034
|
-
/***/
|
|
3041
|
+
/***/ 35:
|
|
3035
3042
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3036
3043
|
|
|
3037
3044
|
"use strict";
|
|
3038
3045
|
|
|
3039
3046
|
|
|
3040
|
-
var _classCallCheck = __webpack_require__(
|
|
3047
|
+
var _classCallCheck = __webpack_require__(12);
|
|
3041
3048
|
|
|
3042
3049
|
Object.defineProperty(exports, "__esModule", {
|
|
3043
3050
|
value: true
|
|
@@ -3049,7 +3056,7 @@ var T = __webpack_require__(0);
|
|
|
3049
3056
|
|
|
3050
3057
|
var lodash_1 = __webpack_require__(2);
|
|
3051
3058
|
|
|
3052
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
3059
|
+
var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
3053
3060
|
|
|
3054
3061
|
|
|
3055
3062
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -3183,15 +3190,15 @@ exports.default = SplunkVisualization;
|
|
|
3183
3190
|
|
|
3184
3191
|
/***/ }),
|
|
3185
3192
|
|
|
3186
|
-
/***/
|
|
3193
|
+
/***/ 36:
|
|
3187
3194
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3188
3195
|
|
|
3189
3196
|
"use strict";
|
|
3190
3197
|
|
|
3191
3198
|
|
|
3192
|
-
var _classCallCheck = __webpack_require__(
|
|
3199
|
+
var _classCallCheck = __webpack_require__(12);
|
|
3193
3200
|
|
|
3194
|
-
var _createClass = __webpack_require__(
|
|
3201
|
+
var _createClass = __webpack_require__(17);
|
|
3195
3202
|
|
|
3196
3203
|
Object.defineProperty(exports, "__esModule", {
|
|
3197
3204
|
value: true
|
|
@@ -3221,7 +3228,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
3221
3228
|
|
|
3222
3229
|
/***/ }),
|
|
3223
3230
|
|
|
3224
|
-
/***/
|
|
3231
|
+
/***/ 37:
|
|
3225
3232
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3226
3233
|
|
|
3227
3234
|
"use strict";
|
|
@@ -3235,7 +3242,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
3235
3242
|
|
|
3236
3243
|
/***/ }),
|
|
3237
3244
|
|
|
3238
|
-
/***/
|
|
3245
|
+
/***/ 38:
|
|
3239
3246
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3240
3247
|
|
|
3241
3248
|
"use strict";
|
|
@@ -3281,7 +3288,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
3281
3288
|
|
|
3282
3289
|
/***/ }),
|
|
3283
3290
|
|
|
3284
|
-
/***/
|
|
3291
|
+
/***/ 39:
|
|
3285
3292
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3286
3293
|
|
|
3287
3294
|
"use strict";
|
|
@@ -3298,9 +3305,9 @@ var T = __webpack_require__(0);
|
|
|
3298
3305
|
|
|
3299
3306
|
var i18n_1 = __webpack_require__(3);
|
|
3300
3307
|
|
|
3301
|
-
var Message_1 = __webpack_require__(
|
|
3308
|
+
var Message_1 = __webpack_require__(11);
|
|
3302
3309
|
|
|
3303
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
3310
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
3304
3311
|
/**
|
|
3305
3312
|
* @method isMissing
|
|
3306
3313
|
* @param {any} v
|
|
@@ -3362,7 +3369,14 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
3362
3369
|
|
|
3363
3370
|
/***/ }),
|
|
3364
3371
|
|
|
3365
|
-
/***/
|
|
3372
|
+
/***/ 4:
|
|
3373
|
+
/***/ (function(module, exports) {
|
|
3374
|
+
|
|
3375
|
+
module.exports = require("styled-components");
|
|
3376
|
+
|
|
3377
|
+
/***/ }),
|
|
3378
|
+
|
|
3379
|
+
/***/ 40:
|
|
3366
3380
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3367
3381
|
|
|
3368
3382
|
"use strict";
|
|
@@ -3383,7 +3397,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
3383
3397
|
componentId: "sc-1gsbnxb-0"
|
|
3384
3398
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3385
3399
|
var Blocker = styled_components_1.default.div.attrs({
|
|
3386
|
-
'data-splunk-visualization-version': "
|
|
3400
|
+
'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
|
|
3387
3401
|
}).withConfig({
|
|
3388
3402
|
displayName: "withEditModeCover__Blocker",
|
|
3389
3403
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3415,14 +3429,14 @@ exports.default = withEditModeCover;
|
|
|
3415
3429
|
|
|
3416
3430
|
/***/ }),
|
|
3417
3431
|
|
|
3418
|
-
/***/
|
|
3432
|
+
/***/ 41:
|
|
3419
3433
|
/***/ (function(module, exports) {
|
|
3420
3434
|
|
|
3421
|
-
module.exports = require("
|
|
3435
|
+
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
3422
3436
|
|
|
3423
3437
|
/***/ }),
|
|
3424
3438
|
|
|
3425
|
-
/***/
|
|
3439
|
+
/***/ 42:
|
|
3426
3440
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3427
3441
|
|
|
3428
3442
|
"use strict";
|
|
@@ -3434,11 +3448,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3434
3448
|
|
|
3435
3449
|
var React = __webpack_require__(1);
|
|
3436
3450
|
|
|
3437
|
-
var colorUtils_1 = __webpack_require__(
|
|
3451
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
3438
3452
|
|
|
3439
|
-
var variables_1 = __webpack_require__(
|
|
3453
|
+
var variables_1 = __webpack_require__(10);
|
|
3440
3454
|
|
|
3441
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
3455
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
3442
3456
|
|
|
3443
3457
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3444
3458
|
|
|
@@ -3487,35 +3501,35 @@ exports.default = withPlaceholder;
|
|
|
3487
3501
|
|
|
3488
3502
|
/***/ }),
|
|
3489
3503
|
|
|
3490
|
-
/***/
|
|
3504
|
+
/***/ 43:
|
|
3491
3505
|
/***/ (function(module, exports) {
|
|
3492
3506
|
|
|
3493
3507
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
3494
3508
|
|
|
3495
3509
|
/***/ }),
|
|
3496
3510
|
|
|
3497
|
-
/***/
|
|
3511
|
+
/***/ 45:
|
|
3498
3512
|
/***/ (function(module, exports) {
|
|
3499
3513
|
|
|
3500
3514
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
3501
3515
|
|
|
3502
3516
|
/***/ }),
|
|
3503
3517
|
|
|
3504
|
-
/***/
|
|
3518
|
+
/***/ 46:
|
|
3505
3519
|
/***/ (function(module, exports) {
|
|
3506
3520
|
|
|
3507
3521
|
module.exports = require("@splunk/visualization-icons");
|
|
3508
3522
|
|
|
3509
3523
|
/***/ }),
|
|
3510
3524
|
|
|
3511
|
-
/***/
|
|
3525
|
+
/***/ 47:
|
|
3512
3526
|
/***/ (function(module, exports) {
|
|
3513
3527
|
|
|
3514
3528
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
3515
3529
|
|
|
3516
3530
|
/***/ }),
|
|
3517
3531
|
|
|
3518
|
-
/***/
|
|
3532
|
+
/***/ 48:
|
|
3519
3533
|
/***/ (function(module, exports) {
|
|
3520
3534
|
|
|
3521
3535
|
module.exports = require("@splunk/visualizations-shared/domUtils");
|
|
@@ -3560,7 +3574,7 @@ var VizBehavior;
|
|
|
3560
3574
|
|
|
3561
3575
|
/***/ }),
|
|
3562
3576
|
|
|
3563
|
-
/***/
|
|
3577
|
+
/***/ 53:
|
|
3564
3578
|
/***/ (function(module, exports) {
|
|
3565
3579
|
|
|
3566
3580
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -3573,6 +3587,8 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
3573
3587
|
"use strict";
|
|
3574
3588
|
|
|
3575
3589
|
|
|
3590
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
3591
|
+
|
|
3576
3592
|
var _defineProperty = __webpack_require__(7);
|
|
3577
3593
|
|
|
3578
3594
|
var __rest = this && this.__rest || function (s, e) {
|
|
@@ -3591,11 +3607,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
3591
3607
|
Object.defineProperty(exports, "__esModule", {
|
|
3592
3608
|
value: true
|
|
3593
3609
|
});
|
|
3594
|
-
exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
3610
|
+
exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
3595
3611
|
|
|
3596
3612
|
var lodash_1 = __webpack_require__(2);
|
|
3597
3613
|
|
|
3598
|
-
var schemaUtils_1 = __webpack_require__(
|
|
3614
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
3599
3615
|
|
|
3600
3616
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3601
3617
|
|
|
@@ -3756,10 +3772,28 @@ function generatePrecisionValues(numPrecisionValues) {
|
|
|
3756
3772
|
}
|
|
3757
3773
|
|
|
3758
3774
|
exports.generatePrecisionValues = generatePrecisionValues;
|
|
3775
|
+
/**
|
|
3776
|
+
* insert layout in layout array, return a new layout array instead of updating the original
|
|
3777
|
+
*
|
|
3778
|
+
* @param {EditorLayoutConfig[][]} layout - editor layout
|
|
3779
|
+
* @param {Number} index - the index to insert layout item(s)
|
|
3780
|
+
* @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
|
|
3781
|
+
* @returns {EditorLayoutConfig[][]} new editor layout with insertion
|
|
3782
|
+
*/
|
|
3783
|
+
|
|
3784
|
+
var insertLayout = function insertLayout(layout, index) {
|
|
3785
|
+
for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
3786
|
+
layoutItems[_key - 2] = arguments[_key];
|
|
3787
|
+
}
|
|
3788
|
+
|
|
3789
|
+
return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
exports.insertLayout = insertLayout;
|
|
3759
3793
|
|
|
3760
3794
|
/***/ }),
|
|
3761
3795
|
|
|
3762
|
-
/***/
|
|
3796
|
+
/***/ 62:
|
|
3763
3797
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3764
3798
|
|
|
3765
3799
|
"use strict";
|
|
@@ -3783,7 +3817,7 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
|
|
|
3783
3817
|
|
|
3784
3818
|
/***/ }),
|
|
3785
3819
|
|
|
3786
|
-
/***/
|
|
3820
|
+
/***/ 68:
|
|
3787
3821
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3788
3822
|
|
|
3789
3823
|
"use strict";
|
|
@@ -3794,7 +3828,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3794
3828
|
__webpack_require__.d(__webpack_exports__, "SingleValueTrendValue", function() { return /* binding */ SingleValueTrendValue; });
|
|
3795
3829
|
|
|
3796
3830
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
3797
|
-
var extends_ = __webpack_require__(
|
|
3831
|
+
var extends_ = __webpack_require__(47);
|
|
3798
3832
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
3799
3833
|
|
|
3800
3834
|
// EXTERNAL MODULE: external "react"
|
|
@@ -3810,14 +3844,14 @@ var external_styled_components_ = __webpack_require__(4);
|
|
|
3810
3844
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
3811
3845
|
|
|
3812
3846
|
// EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
|
|
3813
|
-
var singleValueUtils = __webpack_require__(
|
|
3847
|
+
var singleValueUtils = __webpack_require__(19);
|
|
3814
3848
|
|
|
3815
3849
|
// EXTERNAL MODULE: external "@splunk/react-icons/ArrowUp"
|
|
3816
|
-
var ArrowUp_ = __webpack_require__(
|
|
3850
|
+
var ArrowUp_ = __webpack_require__(72);
|
|
3817
3851
|
var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
|
|
3818
3852
|
|
|
3819
3853
|
// EXTERNAL MODULE: external "@splunk/react-icons/ArrowDown"
|
|
3820
|
-
var ArrowDown_ = __webpack_require__(
|
|
3854
|
+
var ArrowDown_ = __webpack_require__(73);
|
|
3821
3855
|
var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
|
|
3822
3856
|
|
|
3823
3857
|
// CONCATENATED MODULE: ./src/SingleValueBasic/TrendValue.jsx
|
|
@@ -3887,7 +3921,7 @@ TrendValue_SingleValueContent.propTypes = {
|
|
|
3887
3921
|
};
|
|
3888
3922
|
/* harmony default export */ var TrendValue = (TrendValue_SingleValueContent);
|
|
3889
3923
|
// EXTERNAL MODULE: external "cssesc"
|
|
3890
|
-
var external_cssesc_ = __webpack_require__(
|
|
3924
|
+
var external_cssesc_ = __webpack_require__(74);
|
|
3891
3925
|
var external_cssesc_default = /*#__PURE__*/__webpack_require__.n(external_cssesc_);
|
|
3892
3926
|
|
|
3893
3927
|
// CONCATENATED MODULE: ./src/SingleValueBasic/MajorValue.jsx
|
|
@@ -3948,6 +3982,15 @@ var MajorValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
3948
3982
|
}
|
|
3949
3983
|
}
|
|
3950
3984
|
|
|
3985
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
3986
|
+
if (e.keyCode !== 13) {
|
|
3987
|
+
return;
|
|
3988
|
+
}
|
|
3989
|
+
|
|
3990
|
+
e.preventDefault();
|
|
3991
|
+
onValueClick(e);
|
|
3992
|
+
};
|
|
3993
|
+
|
|
3951
3994
|
return /*#__PURE__*/external_react_default.a.createElement(Row, {
|
|
3952
3995
|
size: fontSize
|
|
3953
3996
|
}, /*#__PURE__*/external_react_default.a.createElement(MajorValue_Text, {
|
|
@@ -3961,7 +4004,10 @@ var MajorValue_SingleValueContent = function SingleValueContent(_ref) {
|
|
|
3961
4004
|
title: title,
|
|
3962
4005
|
pseudoContent: sanitizedUnit,
|
|
3963
4006
|
pseudoContentPosition: sanitizedUnitPosition,
|
|
3964
|
-
pseudoContentFontSize: fontSize * 0.6
|
|
4007
|
+
pseudoContentFontSize: fontSize * 0.6,
|
|
4008
|
+
tabIndex: "0",
|
|
4009
|
+
role: "button",
|
|
4010
|
+
onKeyDown: handleKeyDown
|
|
3965
4011
|
}, value));
|
|
3966
4012
|
};
|
|
3967
4013
|
|
|
@@ -4072,49 +4118,49 @@ var SingleValueTrendValue = TrendValue;
|
|
|
4072
4118
|
|
|
4073
4119
|
/***/ }),
|
|
4074
4120
|
|
|
4075
|
-
/***/
|
|
4121
|
+
/***/ 7:
|
|
4076
4122
|
/***/ (function(module, exports) {
|
|
4077
4123
|
|
|
4078
|
-
module.exports = require("
|
|
4124
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
4079
4125
|
|
|
4080
4126
|
/***/ }),
|
|
4081
4127
|
|
|
4082
|
-
/***/
|
|
4128
|
+
/***/ 70:
|
|
4083
4129
|
/***/ (function(module, exports) {
|
|
4084
4130
|
|
|
4085
|
-
module.exports = require("lodash/
|
|
4131
|
+
module.exports = require("lodash/pick");
|
|
4086
4132
|
|
|
4087
4133
|
/***/ }),
|
|
4088
4134
|
|
|
4089
|
-
/***/
|
|
4135
|
+
/***/ 71:
|
|
4090
4136
|
/***/ (function(module, exports) {
|
|
4091
4137
|
|
|
4092
|
-
module.exports = require("
|
|
4138
|
+
module.exports = require("lodash/isEmpty");
|
|
4093
4139
|
|
|
4094
4140
|
/***/ }),
|
|
4095
4141
|
|
|
4096
|
-
/***/
|
|
4142
|
+
/***/ 72:
|
|
4097
4143
|
/***/ (function(module, exports) {
|
|
4098
4144
|
|
|
4099
|
-
module.exports = require("@splunk/react-icons/
|
|
4145
|
+
module.exports = require("@splunk/react-icons/ArrowUp");
|
|
4100
4146
|
|
|
4101
4147
|
/***/ }),
|
|
4102
4148
|
|
|
4103
|
-
/***/
|
|
4149
|
+
/***/ 73:
|
|
4104
4150
|
/***/ (function(module, exports) {
|
|
4105
4151
|
|
|
4106
|
-
module.exports = require("@
|
|
4152
|
+
module.exports = require("@splunk/react-icons/ArrowDown");
|
|
4107
4153
|
|
|
4108
4154
|
/***/ }),
|
|
4109
4155
|
|
|
4110
|
-
/***/
|
|
4156
|
+
/***/ 74:
|
|
4111
4157
|
/***/ (function(module, exports) {
|
|
4112
4158
|
|
|
4113
4159
|
module.exports = require("cssesc");
|
|
4114
4160
|
|
|
4115
4161
|
/***/ }),
|
|
4116
4162
|
|
|
4117
|
-
/***/
|
|
4163
|
+
/***/ 77:
|
|
4118
4164
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4119
4165
|
|
|
4120
4166
|
"use strict";
|
|
@@ -4138,71 +4184,22 @@ var StaticBackgroundColorEditor = {
|
|
|
4138
4184
|
|
|
4139
4185
|
/***/ }),
|
|
4140
4186
|
|
|
4141
|
-
/***/ 79:
|
|
4142
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4143
|
-
|
|
4144
|
-
"use strict";
|
|
4145
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4146
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorEditor", function() { return getDynamicMajorColorEditor; });
|
|
4147
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
|
4148
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4149
|
-
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
4150
|
-
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
4154
|
-
var defaultContext = _ref.defaultContext,
|
|
4155
|
-
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
4156
|
-
return {
|
|
4157
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Major Value'),
|
|
4158
|
-
option: 'majorColor',
|
|
4159
|
-
context: 'majorColorEditorConfig',
|
|
4160
|
-
editor: 'editor.dynamicColor',
|
|
4161
|
-
showEditor: function showEditor(_ref2) {
|
|
4162
|
-
var options = _ref2.options;
|
|
4163
|
-
return Object(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.majorColor);
|
|
4164
|
-
},
|
|
4165
|
-
editorProps: {
|
|
4166
|
-
labelPosition: 'left',
|
|
4167
|
-
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Coloring: Major Value'),
|
|
4168
|
-
formatters: [{
|
|
4169
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
4170
|
-
value: 'rangeValue',
|
|
4171
|
-
defaults: {
|
|
4172
|
-
majorValue: defaultContext.majorColorConfig
|
|
4173
|
-
}
|
|
4174
|
-
}, {
|
|
4175
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Matches'),
|
|
4176
|
-
value: 'matchValue',
|
|
4177
|
-
defaults: {
|
|
4178
|
-
majorValue: defaultContext.majorColorMatchConfig
|
|
4179
|
-
}
|
|
4180
|
-
}],
|
|
4181
|
-
dataSelectors: [{
|
|
4182
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Major Value'),
|
|
4183
|
-
value: 'majorValue'
|
|
4184
|
-
}],
|
|
4185
|
-
defaultPalettesConfig: defaultPalettesConfig
|
|
4186
|
-
}
|
|
4187
|
-
};
|
|
4188
|
-
};
|
|
4189
|
-
|
|
4190
|
-
/***/ }),
|
|
4191
|
-
|
|
4192
4187
|
/***/ 8:
|
|
4193
4188
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4194
4189
|
|
|
4195
4190
|
"use strict";
|
|
4196
4191
|
|
|
4197
4192
|
|
|
4198
|
-
var _typeof = __webpack_require__(
|
|
4193
|
+
var _typeof = __webpack_require__(23);
|
|
4199
4194
|
|
|
4200
4195
|
Object.defineProperty(exports, "__esModule", {
|
|
4201
4196
|
value: true
|
|
4202
4197
|
});
|
|
4203
|
-
exports.
|
|
4198
|
+
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
4204
4199
|
|
|
4205
4200
|
var lodash_1 = __webpack_require__(2);
|
|
4201
|
+
|
|
4202
|
+
var mapUtils_1 = __webpack_require__(41);
|
|
4206
4203
|
/**
|
|
4207
4204
|
* @method extendStaticWrapperProps
|
|
4208
4205
|
* @param {Object} props
|
|
@@ -4257,7 +4254,7 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
4257
4254
|
// If option is an array of objects
|
|
4258
4255
|
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
4259
4256
|
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
4260
|
-
var closestMatchIdx =
|
|
4257
|
+
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
4261
4258
|
|
|
4262
4259
|
if (closestMatchIdx > -1) {
|
|
4263
4260
|
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
@@ -4271,54 +4268,61 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
4271
4268
|
};
|
|
4272
4269
|
|
|
4273
4270
|
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
4274
|
-
/**
|
|
4275
|
-
* Finds the closest matching object from the list, which has the max same key value pairs.
|
|
4276
|
-
* Returns the index of match if found, or -1
|
|
4277
|
-
* For eg :-
|
|
4278
|
-
const list = [{
|
|
4279
|
-
type: "marker",
|
|
4280
|
-
lat: "value1"
|
|
4281
|
-
}, {
|
|
4282
|
-
type: "bubble",
|
|
4283
|
-
size: "value2"
|
|
4284
|
-
}];
|
|
4285
|
-
|
|
4286
|
-
const obj = {
|
|
4287
|
-
type: 'bubble'
|
|
4288
|
-
};
|
|
4289
4271
|
|
|
4290
|
-
|
|
4291
|
-
*/
|
|
4272
|
+
/***/ }),
|
|
4292
4273
|
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4274
|
+
/***/ 83:
|
|
4275
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4276
|
+
|
|
4277
|
+
"use strict";
|
|
4278
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4279
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorEditor", function() { return getDynamicMajorColorEditor; });
|
|
4280
|
+
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
|
4281
|
+
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4282
|
+
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
4283
|
+
/* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4297
4284
|
|
|
4298
|
-
var keys = Object.keys(inputObj);
|
|
4299
|
-
var maxMatchCnt = 0;
|
|
4300
|
-
var maxMatchIdx = 0;
|
|
4301
|
-
searchList.forEach(function (item, idx) {
|
|
4302
|
-
var matchCnt = 0;
|
|
4303
|
-
keys.forEach(function (key) {
|
|
4304
|
-
if (item[key] === inputObj[key]) {
|
|
4305
|
-
matchCnt += 1;
|
|
4306
|
-
}
|
|
4307
|
-
});
|
|
4308
4285
|
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4286
|
+
var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
4287
|
+
var defaultContext = _ref.defaultContext,
|
|
4288
|
+
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
4289
|
+
return {
|
|
4290
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Major Value'),
|
|
4291
|
+
option: 'majorColor',
|
|
4292
|
+
context: 'majorColorEditorConfig',
|
|
4293
|
+
editor: 'editor.dynamicColor',
|
|
4294
|
+
showEditor: function showEditor(_ref2) {
|
|
4295
|
+
var options = _ref2.options;
|
|
4296
|
+
return Object(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.majorColor);
|
|
4297
|
+
},
|
|
4298
|
+
editorProps: {
|
|
4299
|
+
labelPosition: 'left',
|
|
4300
|
+
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic Coloring: Major Value'),
|
|
4301
|
+
formatters: [{
|
|
4302
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
4303
|
+
value: 'rangeValue',
|
|
4304
|
+
defaults: {
|
|
4305
|
+
majorValue: defaultContext.majorColorConfig
|
|
4306
|
+
}
|
|
4307
|
+
}, {
|
|
4308
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Matches'),
|
|
4309
|
+
value: 'matchValue',
|
|
4310
|
+
defaults: {
|
|
4311
|
+
majorValue: defaultContext.majorColorMatchConfig
|
|
4312
|
+
}
|
|
4313
|
+
}],
|
|
4314
|
+
dataSelectors: [{
|
|
4315
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Major Value'),
|
|
4316
|
+
value: 'majorValue'
|
|
4317
|
+
}],
|
|
4318
|
+
defaultPalettesConfig: defaultPalettesConfig
|
|
4312
4319
|
}
|
|
4313
|
-
}
|
|
4314
|
-
return maxMatchIdx;
|
|
4320
|
+
};
|
|
4315
4321
|
};
|
|
4316
4322
|
|
|
4317
|
-
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
4318
|
-
|
|
4319
4323
|
/***/ }),
|
|
4320
4324
|
|
|
4321
|
-
/***/
|
|
4325
|
+
/***/ 84:
|
|
4322
4326
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4323
4327
|
|
|
4324
4328
|
"use strict";
|
|
@@ -4363,7 +4367,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
4363
4367
|
|
|
4364
4368
|
/***/ }),
|
|
4365
4369
|
|
|
4366
|
-
/***/
|
|
4370
|
+
/***/ 85:
|
|
4367
4371
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4368
4372
|
|
|
4369
4373
|
"use strict";
|
|
@@ -4418,7 +4422,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
4418
4422
|
|
|
4419
4423
|
/***/ }),
|
|
4420
4424
|
|
|
4421
|
-
/***/
|
|
4425
|
+
/***/ 86:
|
|
4422
4426
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4423
4427
|
|
|
4424
4428
|
"use strict";
|
|
@@ -4442,7 +4446,7 @@ var StaticMajorColorEditor = {
|
|
|
4442
4446
|
|
|
4443
4447
|
/***/ }),
|
|
4444
4448
|
|
|
4445
|
-
/***/
|
|
4449
|
+
/***/ 87:
|
|
4446
4450
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4447
4451
|
|
|
4448
4452
|
"use strict";
|
|
@@ -4473,7 +4477,7 @@ var StaticTrendColorEditor = {
|
|
|
4473
4477
|
/***/ 9:
|
|
4474
4478
|
/***/ (function(module, exports) {
|
|
4475
4479
|
|
|
4476
|
-
module.exports = require("@
|
|
4480
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
4477
4481
|
|
|
4478
4482
|
/***/ })
|
|
4479
4483
|
|