@splunk/visualizations 24.7.0 → 25.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_ChoroplethTooltip_with_additional_fields.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_choropleth_layer.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.png +0 -0
- package/.loki/reference/chrome_docker_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_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Opacities_scaled_to_be_less_than_max_of_0_8.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_Result_Limit_Set_To_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_String_GeoJson_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Choropleth_Layer_With_additional_fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_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 +1144 -241
- package/Area.config.js.map +1 -1
- package/Area.js +1251 -386
- package/Area.js.map +1 -1
- package/Bar.config.js +1114 -153
- package/Bar.config.js.map +1 -1
- package/Bar.js +1270 -347
- package/Bar.js.map +1 -1
- package/Bubble.config.js +727 -60
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +830 -201
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +88 -40
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +197 -182
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +1084 -170
- package/Column.config.js.map +1 -1
- package/Column.js +1241 -365
- package/Column.js.map +1 -1
- package/Ellipse.config.js +80 -31
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +160 -144
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +93 -44
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +183 -172
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +78 -27
- package/Image.config.js.map +1 -1
- package/Image.js +161 -145
- package/Image.js.map +1 -1
- package/Line.config.js +1060 -108
- package/Line.config.js.map +1 -1
- package/Line.js +1210 -296
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +103 -58
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +208 -197
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +824 -78
- package/Map.config.js.map +1 -1
- package/Map.js +878 -344
- package/Map.js.map +1 -1
- package/Markdown.config.js +98 -50
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +294 -259
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +103 -52
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +384 -375
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +101 -49
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +189 -178
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +104 -53
- package/Pie.config.js.map +1 -1
- package/Pie.js +380 -371
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +101 -51
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +224 -215
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +108 -56
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +315 -298
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +107 -55
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +247 -237
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +816 -135
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +1096 -484
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +113 -58
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +436 -407
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +35 -23
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +107 -57
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +221 -211
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +192 -168
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +329 -300
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +82 -37
- package/Table.config.js.map +1 -1
- package/Table.js +1849 -1767
- 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 +74 -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 +55 -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/Pie.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 = 228);
|
|
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
|
+
/***/ 106:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
119
|
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
@@ -123,115 +123,25 @@ module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
|
123
123
|
/***/ 11:
|
|
124
124
|
/***/ (function(module, exports) {
|
|
125
125
|
|
|
126
|
-
module.exports = require("@splunk/
|
|
126
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
127
127
|
|
|
128
128
|
/***/ }),
|
|
129
129
|
|
|
130
130
|
/***/ 12:
|
|
131
131
|
/***/ (function(module, exports) {
|
|
132
132
|
|
|
133
|
-
module.exports = require("@
|
|
133
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
134
134
|
|
|
135
135
|
/***/ }),
|
|
136
136
|
|
|
137
137
|
/***/ 13:
|
|
138
|
-
/***/ (function(module, exports
|
|
139
|
-
|
|
140
|
-
"use strict";
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
Object.defineProperty(exports, "__esModule", {
|
|
144
|
-
value: true
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
var React = __webpack_require__(1);
|
|
148
|
-
|
|
149
|
-
var styled_components_1 = __webpack_require__(4);
|
|
150
|
-
|
|
151
|
-
var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
152
|
-
|
|
153
|
-
var style_1 = __webpack_require__(14);
|
|
154
|
-
|
|
155
|
-
var colorUtils_1 = __webpack_require__(12);
|
|
156
|
-
|
|
157
|
-
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
158
|
-
var width = _ref.width;
|
|
159
|
-
return {
|
|
160
|
-
style: {
|
|
161
|
-
width: style_1.toPx(width)
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
}).withConfig({
|
|
165
|
-
displayName: "FixedSizeContainer__Item",
|
|
166
|
-
componentId: "sc-1yhgpod-0"
|
|
167
|
-
})(["position:relative;background-color:", "};"], function (props) {
|
|
168
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
169
|
-
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
170
|
-
|
|
171
|
-
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
172
|
-
var width = _ref2.width,
|
|
173
|
-
height = _ref2.height;
|
|
174
|
-
return {
|
|
175
|
-
style: Object.assign(Object.assign({}, width && {
|
|
176
|
-
width: style_1.toPx(width)
|
|
177
|
-
}), height && {
|
|
178
|
-
height: style_1.toPx(height)
|
|
179
|
-
})
|
|
180
|
-
};
|
|
181
|
-
}).withConfig({
|
|
182
|
-
displayName: "FixedSizeContainer__FixSizeItem",
|
|
183
|
-
componentId: "sc-1yhgpod-1"
|
|
184
|
-
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
185
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
186
|
-
});
|
|
187
|
-
var ItemContent = styled_components_1.default.div.withConfig({
|
|
188
|
-
displayName: "FixedSizeContainer__ItemContent",
|
|
189
|
-
componentId: "sc-1yhgpod-2"
|
|
190
|
-
})(["position:relative;min-height:100px;width:100%;"]);
|
|
191
|
-
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
192
|
-
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
193
|
-
componentId: "sc-1yhgpod-3"
|
|
194
|
-
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
195
|
-
|
|
196
|
-
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
197
|
-
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
198
|
-
var width = props.width,
|
|
199
|
-
height = props.height,
|
|
200
|
-
backgroundColor = props.backgroundColor;
|
|
201
|
-
|
|
202
|
-
if (!height) {
|
|
203
|
-
return React.createElement(Item, {
|
|
204
|
-
"data-test": "item",
|
|
205
|
-
width: width,
|
|
206
|
-
backgroundColor: backgroundColor
|
|
207
|
-
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
return React.createElement(FixSizeItem, {
|
|
211
|
-
"data-test": "fix-size-item",
|
|
212
|
-
"data-splunk-visualization-version": "24.7.0 - c7389a161",
|
|
213
|
-
width: width,
|
|
214
|
-
height: height,
|
|
215
|
-
backgroundColor: backgroundColor
|
|
216
|
-
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
217
|
-
var newWidth = _ref3.width,
|
|
218
|
-
newHeight = _ref3.height;
|
|
219
|
-
return React.createElement(Viz, Object.assign({}, props, {
|
|
220
|
-
width: newWidth,
|
|
221
|
-
height: newHeight
|
|
222
|
-
}));
|
|
223
|
-
})));
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
227
|
-
return FixedSizeContainer;
|
|
228
|
-
};
|
|
138
|
+
/***/ (function(module, exports) {
|
|
229
139
|
|
|
230
|
-
exports
|
|
140
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
231
141
|
|
|
232
142
|
/***/ }),
|
|
233
143
|
|
|
234
|
-
/***/
|
|
144
|
+
/***/ 135:
|
|
235
145
|
/***/ (function(module, exports, __webpack_require__) {
|
|
236
146
|
|
|
237
147
|
"use strict";
|
|
@@ -259,23 +169,23 @@ var lodash_1 = __webpack_require__(2); // Charting imports i18n which needs to b
|
|
|
259
169
|
// eslint-disable-next-line import/order
|
|
260
170
|
|
|
261
171
|
|
|
262
|
-
var Charting_1 = __webpack_require__(
|
|
172
|
+
var Charting_1 = __webpack_require__(55);
|
|
263
173
|
|
|
264
|
-
var charting_bundle_1 = __webpack_require__(
|
|
174
|
+
var charting_bundle_1 = __webpack_require__(51);
|
|
265
175
|
|
|
266
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
176
|
+
var simpleXMLOptions_1 = __webpack_require__(61);
|
|
267
177
|
|
|
268
|
-
var config_1 = __webpack_require__(
|
|
178
|
+
var config_1 = __webpack_require__(229);
|
|
269
179
|
|
|
270
180
|
exports.config = config_1.default;
|
|
271
181
|
|
|
272
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
182
|
+
var withDashboardViz_1 = __webpack_require__(30);
|
|
273
183
|
|
|
274
|
-
var pieUtils_1 = __webpack_require__(
|
|
184
|
+
var pieUtils_1 = __webpack_require__(231);
|
|
275
185
|
|
|
276
|
-
var chartingUtils_1 = __webpack_require__(
|
|
186
|
+
var chartingUtils_1 = __webpack_require__(50);
|
|
277
187
|
|
|
278
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
188
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
279
189
|
|
|
280
190
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
281
191
|
exports.PieInnerSize = 0.7;
|
|
@@ -362,37 +272,127 @@ exports.default = Pie;
|
|
|
362
272
|
/***/ }),
|
|
363
273
|
|
|
364
274
|
/***/ 14:
|
|
365
|
-
/***/ (function(module, exports) {
|
|
275
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
366
276
|
|
|
367
|
-
|
|
277
|
+
"use strict";
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
Object.defineProperty(exports, "__esModule", {
|
|
281
|
+
value: true
|
|
282
|
+
});
|
|
283
|
+
|
|
284
|
+
var React = __webpack_require__(1);
|
|
285
|
+
|
|
286
|
+
var styled_components_1 = __webpack_require__(4);
|
|
287
|
+
|
|
288
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
289
|
+
|
|
290
|
+
var style_1 = __webpack_require__(15);
|
|
291
|
+
|
|
292
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
293
|
+
|
|
294
|
+
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
295
|
+
var width = _ref.width;
|
|
296
|
+
return {
|
|
297
|
+
style: {
|
|
298
|
+
width: style_1.toPx(width)
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
}).withConfig({
|
|
302
|
+
displayName: "FixedSizeContainer__Item",
|
|
303
|
+
componentId: "sc-1yhgpod-0"
|
|
304
|
+
})(["position:relative;background-color:", "};"], function (props) {
|
|
305
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
306
|
+
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
307
|
+
|
|
308
|
+
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
309
|
+
var width = _ref2.width,
|
|
310
|
+
height = _ref2.height;
|
|
311
|
+
return {
|
|
312
|
+
style: Object.assign(Object.assign({}, width && {
|
|
313
|
+
width: style_1.toPx(width)
|
|
314
|
+
}), height && {
|
|
315
|
+
height: style_1.toPx(height)
|
|
316
|
+
})
|
|
317
|
+
};
|
|
318
|
+
}).withConfig({
|
|
319
|
+
displayName: "FixedSizeContainer__FixSizeItem",
|
|
320
|
+
componentId: "sc-1yhgpod-1"
|
|
321
|
+
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
322
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
323
|
+
});
|
|
324
|
+
var ItemContent = styled_components_1.default.div.withConfig({
|
|
325
|
+
displayName: "FixedSizeContainer__ItemContent",
|
|
326
|
+
componentId: "sc-1yhgpod-2"
|
|
327
|
+
})(["position:relative;min-height:100px;width:100%;"]);
|
|
328
|
+
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
329
|
+
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
330
|
+
componentId: "sc-1yhgpod-3"
|
|
331
|
+
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
332
|
+
|
|
333
|
+
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
334
|
+
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
335
|
+
var width = props.width,
|
|
336
|
+
height = props.height,
|
|
337
|
+
backgroundColor = props.backgroundColor;
|
|
338
|
+
|
|
339
|
+
if (!height) {
|
|
340
|
+
return React.createElement(Item, {
|
|
341
|
+
"data-test": "item",
|
|
342
|
+
width: width,
|
|
343
|
+
backgroundColor: backgroundColor
|
|
344
|
+
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
return React.createElement(FixSizeItem, {
|
|
348
|
+
"data-test": "fix-size-item",
|
|
349
|
+
"data-splunk-visualization-version": "25.0.1 - de10ad954",
|
|
350
|
+
width: width,
|
|
351
|
+
height: height,
|
|
352
|
+
backgroundColor: backgroundColor
|
|
353
|
+
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
354
|
+
var newWidth = _ref3.width,
|
|
355
|
+
newHeight = _ref3.height;
|
|
356
|
+
return React.createElement(Viz, Object.assign({}, props, {
|
|
357
|
+
width: newWidth,
|
|
358
|
+
height: newHeight
|
|
359
|
+
}));
|
|
360
|
+
})));
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
364
|
+
return FixedSizeContainer;
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
exports.default = withFixedSizeContainer;
|
|
368
368
|
|
|
369
369
|
/***/ }),
|
|
370
370
|
|
|
371
371
|
/***/ 15:
|
|
372
372
|
/***/ (function(module, exports) {
|
|
373
373
|
|
|
374
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
374
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
375
375
|
|
|
376
376
|
/***/ }),
|
|
377
377
|
|
|
378
378
|
/***/ 16:
|
|
379
379
|
/***/ (function(module, exports) {
|
|
380
380
|
|
|
381
|
-
module.exports = require("@
|
|
381
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
382
382
|
|
|
383
383
|
/***/ }),
|
|
384
384
|
|
|
385
385
|
/***/ 17:
|
|
386
386
|
/***/ (function(module, exports) {
|
|
387
387
|
|
|
388
|
-
module.exports = require("@
|
|
388
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
389
389
|
|
|
390
390
|
/***/ }),
|
|
391
391
|
|
|
392
|
-
/***/
|
|
392
|
+
/***/ 18:
|
|
393
393
|
/***/ (function(module, exports) {
|
|
394
394
|
|
|
395
|
-
module.exports = require("@splunk/
|
|
395
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
396
396
|
|
|
397
397
|
/***/ }),
|
|
398
398
|
|
|
@@ -406,25 +406,25 @@ module.exports = require("lodash");
|
|
|
406
406
|
/***/ 20:
|
|
407
407
|
/***/ (function(module, exports) {
|
|
408
408
|
|
|
409
|
-
module.exports = require("@splunk/
|
|
409
|
+
module.exports = require("@splunk/themes/pick");
|
|
410
410
|
|
|
411
411
|
/***/ }),
|
|
412
412
|
|
|
413
413
|
/***/ 21:
|
|
414
414
|
/***/ (function(module, exports) {
|
|
415
415
|
|
|
416
|
-
module.exports = require("@
|
|
416
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
417
417
|
|
|
418
418
|
/***/ }),
|
|
419
419
|
|
|
420
420
|
/***/ 22:
|
|
421
421
|
/***/ (function(module, exports) {
|
|
422
422
|
|
|
423
|
-
module.exports = require("@splunk/
|
|
423
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
424
424
|
|
|
425
425
|
/***/ }),
|
|
426
426
|
|
|
427
|
-
/***/
|
|
427
|
+
/***/ 228:
|
|
428
428
|
/***/ (function(module, exports, __webpack_require__) {
|
|
429
429
|
|
|
430
430
|
"use strict";
|
|
@@ -454,9 +454,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
454
454
|
});
|
|
455
455
|
exports.default = void 0;
|
|
456
456
|
|
|
457
|
-
__exportStar(__webpack_require__(
|
|
457
|
+
__exportStar(__webpack_require__(135), exports);
|
|
458
458
|
|
|
459
|
-
var Pie_1 = __webpack_require__(
|
|
459
|
+
var Pie_1 = __webpack_require__(135);
|
|
460
460
|
|
|
461
461
|
Object.defineProperty(exports, "default", {
|
|
462
462
|
enumerable: true,
|
|
@@ -467,7 +467,7 @@ Object.defineProperty(exports, "default", {
|
|
|
467
467
|
|
|
468
468
|
/***/ }),
|
|
469
469
|
|
|
470
|
-
/***/
|
|
470
|
+
/***/ 229:
|
|
471
471
|
/***/ (function(module, exports, __webpack_require__) {
|
|
472
472
|
|
|
473
473
|
"use strict";
|
|
@@ -477,27 +477,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
477
477
|
value: true
|
|
478
478
|
});
|
|
479
479
|
|
|
480
|
-
var ChartPie_1 = __webpack_require__(
|
|
480
|
+
var ChartPie_1 = __webpack_require__(230);
|
|
481
481
|
|
|
482
|
-
var placeholders_1 = __webpack_require__(
|
|
482
|
+
var placeholders_1 = __webpack_require__(45);
|
|
483
483
|
|
|
484
484
|
var i18n_1 = __webpack_require__(3);
|
|
485
485
|
|
|
486
|
-
var schemaUtils_1 = __webpack_require__(
|
|
486
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
487
487
|
|
|
488
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
488
|
+
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
489
489
|
|
|
490
|
-
var pick_1 = __webpack_require__(
|
|
490
|
+
var pick_1 = __webpack_require__(20);
|
|
491
491
|
|
|
492
|
-
var variables_1 = __webpack_require__(
|
|
492
|
+
var variables_1 = __webpack_require__(10);
|
|
493
493
|
|
|
494
494
|
var VizBehavior_1 = __webpack_require__(5);
|
|
495
495
|
|
|
496
|
-
var VizCategory_1 = __webpack_require__(
|
|
496
|
+
var VizCategory_1 = __webpack_require__(29);
|
|
497
497
|
|
|
498
498
|
var configUtils_1 = __webpack_require__(6);
|
|
499
499
|
|
|
500
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
500
|
+
var BackgroundColor_1 = __webpack_require__(49);
|
|
501
501
|
|
|
502
502
|
var dataContract = {
|
|
503
503
|
requiredDataSources: [{
|
|
@@ -612,9 +612,8 @@ var editorConfig = [{
|
|
|
612
612
|
})]
|
|
613
613
|
}, {
|
|
614
614
|
label: i18n_1._('Appearance'),
|
|
615
|
-
open: true,
|
|
616
615
|
layout: [[{
|
|
617
|
-
label: i18n_1._(''),
|
|
616
|
+
label: i18n_1._('Display type'),
|
|
618
617
|
option: 'showDonutHole',
|
|
619
618
|
editor: 'editor.radioBar',
|
|
620
619
|
editorProps: {
|
|
@@ -630,7 +629,7 @@ var editorConfig = [{
|
|
|
630
629
|
}, {
|
|
631
630
|
label: i18n_1._('Labels'),
|
|
632
631
|
layout: [[{
|
|
633
|
-
label: '',
|
|
632
|
+
label: i18n_1._('Label display'),
|
|
634
633
|
option: 'labelDisplay',
|
|
635
634
|
editor: 'editor.radioBar',
|
|
636
635
|
editorProps: {
|
|
@@ -701,14 +700,14 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
701
700
|
|
|
702
701
|
/***/ }),
|
|
703
702
|
|
|
704
|
-
/***/
|
|
703
|
+
/***/ 230:
|
|
705
704
|
/***/ (function(module, exports) {
|
|
706
705
|
|
|
707
706
|
module.exports = require("@splunk/react-icons/ChartPie");
|
|
708
707
|
|
|
709
708
|
/***/ }),
|
|
710
709
|
|
|
711
|
-
/***/
|
|
710
|
+
/***/ 231:
|
|
712
711
|
/***/ (function(module, exports, __webpack_require__) {
|
|
713
712
|
|
|
714
713
|
"use strict";
|
|
@@ -734,9 +733,9 @@ exports.allInvalidDataValues = exports.invalidOptionField = exports.getPieOption
|
|
|
734
733
|
|
|
735
734
|
var lodash_1 = __webpack_require__(2);
|
|
736
735
|
|
|
737
|
-
var propUtils_1 = __webpack_require__(
|
|
736
|
+
var propUtils_1 = __webpack_require__(22);
|
|
738
737
|
|
|
739
|
-
var dsl_1 = __webpack_require__(
|
|
738
|
+
var dsl_1 = __webpack_require__(106);
|
|
740
739
|
|
|
741
740
|
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
742
741
|
|
|
@@ -935,6 +934,13 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
|
935
934
|
/***/ }),
|
|
936
935
|
|
|
937
936
|
/***/ 25:
|
|
937
|
+
/***/ (function(module, exports) {
|
|
938
|
+
|
|
939
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
940
|
+
|
|
941
|
+
/***/ }),
|
|
942
|
+
|
|
943
|
+
/***/ 26:
|
|
938
944
|
/***/ (function(module, exports, __webpack_require__) {
|
|
939
945
|
|
|
940
946
|
"use strict";
|
|
@@ -953,9 +959,9 @@ var lodash_1 = __webpack_require__(2);
|
|
|
953
959
|
|
|
954
960
|
var i18n_1 = __webpack_require__(3);
|
|
955
961
|
|
|
956
|
-
var Message_1 = __webpack_require__(
|
|
962
|
+
var Message_1 = __webpack_require__(11);
|
|
957
963
|
|
|
958
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
964
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
959
965
|
/**
|
|
960
966
|
* @method shouldShowIconPlaceholder
|
|
961
967
|
* @param {object} dataSources
|
|
@@ -1026,7 +1032,7 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
1026
1032
|
|
|
1027
1033
|
/***/ }),
|
|
1028
1034
|
|
|
1029
|
-
/***/
|
|
1035
|
+
/***/ 27:
|
|
1030
1036
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1031
1037
|
|
|
1032
1038
|
"use strict";
|
|
@@ -1043,7 +1049,7 @@ var T = __webpack_require__(0);
|
|
|
1043
1049
|
|
|
1044
1050
|
var lodash_1 = __webpack_require__(2);
|
|
1045
1051
|
|
|
1046
|
-
var DataSource_1 = __webpack_require__(
|
|
1052
|
+
var DataSource_1 = __webpack_require__(37);
|
|
1047
1053
|
|
|
1048
1054
|
exports.SortParamsPropTypes = T.shape({
|
|
1049
1055
|
currentSortKey: T.string,
|
|
@@ -1097,7 +1103,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
1097
1103
|
|
|
1098
1104
|
/***/ }),
|
|
1099
1105
|
|
|
1100
|
-
/***/
|
|
1106
|
+
/***/ 28:
|
|
1101
1107
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1102
1108
|
|
|
1103
1109
|
"use strict";
|
|
@@ -1162,7 +1168,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
1162
1168
|
|
|
1163
1169
|
/***/ }),
|
|
1164
1170
|
|
|
1165
|
-
/***/
|
|
1171
|
+
/***/ 29:
|
|
1166
1172
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1167
1173
|
|
|
1168
1174
|
"use strict";
|
|
@@ -1191,7 +1197,14 @@ var VizCategory;
|
|
|
1191
1197
|
|
|
1192
1198
|
/***/ }),
|
|
1193
1199
|
|
|
1194
|
-
/***/
|
|
1200
|
+
/***/ 3:
|
|
1201
|
+
/***/ (function(module, exports) {
|
|
1202
|
+
|
|
1203
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1204
|
+
|
|
1205
|
+
/***/ }),
|
|
1206
|
+
|
|
1207
|
+
/***/ 30:
|
|
1195
1208
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1196
1209
|
|
|
1197
1210
|
"use strict";
|
|
@@ -1205,35 +1218,35 @@ var React = __webpack_require__(1);
|
|
|
1205
1218
|
|
|
1206
1219
|
var lodash_1 = __webpack_require__(2);
|
|
1207
1220
|
|
|
1208
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1221
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(31);
|
|
1209
1222
|
|
|
1210
|
-
var Options_1 = __webpack_require__(
|
|
1223
|
+
var Options_1 = __webpack_require__(32);
|
|
1211
1224
|
|
|
1212
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1225
|
+
var SanitizeProps_1 = __webpack_require__(33);
|
|
1213
1226
|
|
|
1214
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1227
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
1215
1228
|
|
|
1216
|
-
var moment_1 = __webpack_require__(
|
|
1229
|
+
var moment_1 = __webpack_require__(34);
|
|
1217
1230
|
|
|
1218
1231
|
var styled_components_1 = __webpack_require__(4);
|
|
1219
1232
|
|
|
1220
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1233
|
+
var SplunkVisualization_1 = __webpack_require__(35);
|
|
1221
1234
|
|
|
1222
1235
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1223
1236
|
|
|
1224
|
-
var getSorting_1 = __webpack_require__(
|
|
1237
|
+
var getSorting_1 = __webpack_require__(27);
|
|
1225
1238
|
|
|
1226
|
-
var getPagination_1 = __webpack_require__(
|
|
1239
|
+
var getPagination_1 = __webpack_require__(28);
|
|
1227
1240
|
|
|
1228
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1241
|
+
var useDeepMemo_1 = __webpack_require__(38);
|
|
1229
1242
|
|
|
1230
1243
|
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
1231
1244
|
|
|
1232
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1245
|
+
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
1233
1246
|
|
|
1234
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1247
|
+
var withEditModeCover_1 = __webpack_require__(40);
|
|
1235
1248
|
|
|
1236
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1249
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
1237
1250
|
|
|
1238
1251
|
var hocUtils_1 = __webpack_require__(8);
|
|
1239
1252
|
/**
|
|
@@ -1437,48 +1450,41 @@ exports.default = withDashboardViz;
|
|
|
1437
1450
|
|
|
1438
1451
|
/***/ }),
|
|
1439
1452
|
|
|
1440
|
-
/***/
|
|
1441
|
-
/***/ (function(module, exports) {
|
|
1442
|
-
|
|
1443
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1444
|
-
|
|
1445
|
-
/***/ }),
|
|
1446
|
-
|
|
1447
|
-
/***/ 30:
|
|
1453
|
+
/***/ 31:
|
|
1448
1454
|
/***/ (function(module, exports) {
|
|
1449
1455
|
|
|
1450
1456
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1451
1457
|
|
|
1452
1458
|
/***/ }),
|
|
1453
1459
|
|
|
1454
|
-
/***/
|
|
1460
|
+
/***/ 32:
|
|
1455
1461
|
/***/ (function(module, exports) {
|
|
1456
1462
|
|
|
1457
1463
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1458
1464
|
|
|
1459
1465
|
/***/ }),
|
|
1460
1466
|
|
|
1461
|
-
/***/
|
|
1467
|
+
/***/ 33:
|
|
1462
1468
|
/***/ (function(module, exports) {
|
|
1463
1469
|
|
|
1464
1470
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1465
1471
|
|
|
1466
1472
|
/***/ }),
|
|
1467
1473
|
|
|
1468
|
-
/***/
|
|
1474
|
+
/***/ 34:
|
|
1469
1475
|
/***/ (function(module, exports) {
|
|
1470
1476
|
|
|
1471
1477
|
module.exports = require("@splunk/moment");
|
|
1472
1478
|
|
|
1473
1479
|
/***/ }),
|
|
1474
1480
|
|
|
1475
|
-
/***/
|
|
1481
|
+
/***/ 35:
|
|
1476
1482
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1477
1483
|
|
|
1478
1484
|
"use strict";
|
|
1479
1485
|
|
|
1480
1486
|
|
|
1481
|
-
var _classCallCheck = __webpack_require__(
|
|
1487
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1482
1488
|
|
|
1483
1489
|
Object.defineProperty(exports, "__esModule", {
|
|
1484
1490
|
value: true
|
|
@@ -1490,7 +1496,7 @@ var T = __webpack_require__(0);
|
|
|
1490
1496
|
|
|
1491
1497
|
var lodash_1 = __webpack_require__(2);
|
|
1492
1498
|
|
|
1493
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1499
|
+
var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1494
1500
|
|
|
1495
1501
|
|
|
1496
1502
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1624,15 +1630,15 @@ exports.default = SplunkVisualization;
|
|
|
1624
1630
|
|
|
1625
1631
|
/***/ }),
|
|
1626
1632
|
|
|
1627
|
-
/***/
|
|
1633
|
+
/***/ 36:
|
|
1628
1634
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1629
1635
|
|
|
1630
1636
|
"use strict";
|
|
1631
1637
|
|
|
1632
1638
|
|
|
1633
|
-
var _classCallCheck = __webpack_require__(
|
|
1639
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1634
1640
|
|
|
1635
|
-
var _createClass = __webpack_require__(
|
|
1641
|
+
var _createClass = __webpack_require__(17);
|
|
1636
1642
|
|
|
1637
1643
|
Object.defineProperty(exports, "__esModule", {
|
|
1638
1644
|
value: true
|
|
@@ -1662,7 +1668,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1662
1668
|
|
|
1663
1669
|
/***/ }),
|
|
1664
1670
|
|
|
1665
|
-
/***/
|
|
1671
|
+
/***/ 37:
|
|
1666
1672
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1667
1673
|
|
|
1668
1674
|
"use strict";
|
|
@@ -1676,7 +1682,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1676
1682
|
|
|
1677
1683
|
/***/ }),
|
|
1678
1684
|
|
|
1679
|
-
/***/
|
|
1685
|
+
/***/ 38:
|
|
1680
1686
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1681
1687
|
|
|
1682
1688
|
"use strict";
|
|
@@ -1722,7 +1728,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
1722
1728
|
|
|
1723
1729
|
/***/ }),
|
|
1724
1730
|
|
|
1725
|
-
/***/
|
|
1731
|
+
/***/ 39:
|
|
1726
1732
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1727
1733
|
|
|
1728
1734
|
"use strict";
|
|
@@ -1739,9 +1745,9 @@ var T = __webpack_require__(0);
|
|
|
1739
1745
|
|
|
1740
1746
|
var i18n_1 = __webpack_require__(3);
|
|
1741
1747
|
|
|
1742
|
-
var Message_1 = __webpack_require__(
|
|
1748
|
+
var Message_1 = __webpack_require__(11);
|
|
1743
1749
|
|
|
1744
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1750
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
1745
1751
|
/**
|
|
1746
1752
|
* @method isMissing
|
|
1747
1753
|
* @param {any} v
|
|
@@ -1803,10 +1809,17 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
1803
1809
|
|
|
1804
1810
|
/***/ }),
|
|
1805
1811
|
|
|
1806
|
-
/***/
|
|
1807
|
-
/***/ (function(module, exports
|
|
1812
|
+
/***/ 4:
|
|
1813
|
+
/***/ (function(module, exports) {
|
|
1808
1814
|
|
|
1809
|
-
|
|
1815
|
+
module.exports = require("styled-components");
|
|
1816
|
+
|
|
1817
|
+
/***/ }),
|
|
1818
|
+
|
|
1819
|
+
/***/ 40:
|
|
1820
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1821
|
+
|
|
1822
|
+
"use strict";
|
|
1810
1823
|
|
|
1811
1824
|
|
|
1812
1825
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -1824,7 +1837,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1824
1837
|
componentId: "sc-1gsbnxb-0"
|
|
1825
1838
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1826
1839
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1827
|
-
'data-splunk-visualization-version': "
|
|
1840
|
+
'data-splunk-visualization-version': "25.0.1 - de10ad954"
|
|
1828
1841
|
}).withConfig({
|
|
1829
1842
|
displayName: "withEditModeCover__Blocker",
|
|
1830
1843
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1856,14 +1869,14 @@ exports.default = withEditModeCover;
|
|
|
1856
1869
|
|
|
1857
1870
|
/***/ }),
|
|
1858
1871
|
|
|
1859
|
-
/***/
|
|
1872
|
+
/***/ 41:
|
|
1860
1873
|
/***/ (function(module, exports) {
|
|
1861
1874
|
|
|
1862
|
-
module.exports = require("
|
|
1875
|
+
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1863
1876
|
|
|
1864
1877
|
/***/ }),
|
|
1865
1878
|
|
|
1866
|
-
/***/
|
|
1879
|
+
/***/ 42:
|
|
1867
1880
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1868
1881
|
|
|
1869
1882
|
"use strict";
|
|
@@ -1875,11 +1888,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1875
1888
|
|
|
1876
1889
|
var React = __webpack_require__(1);
|
|
1877
1890
|
|
|
1878
|
-
var colorUtils_1 = __webpack_require__(
|
|
1891
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
1879
1892
|
|
|
1880
|
-
var variables_1 = __webpack_require__(
|
|
1893
|
+
var variables_1 = __webpack_require__(10);
|
|
1881
1894
|
|
|
1882
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1895
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
1883
1896
|
|
|
1884
1897
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1885
1898
|
|
|
@@ -1928,28 +1941,21 @@ exports.default = withPlaceholder;
|
|
|
1928
1941
|
|
|
1929
1942
|
/***/ }),
|
|
1930
1943
|
|
|
1931
|
-
/***/
|
|
1932
|
-
/***/ (function(module, exports) {
|
|
1933
|
-
|
|
1934
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1935
|
-
|
|
1936
|
-
/***/ }),
|
|
1937
|
-
|
|
1938
|
-
/***/ 43:
|
|
1944
|
+
/***/ 44:
|
|
1939
1945
|
/***/ (function(module, exports) {
|
|
1940
1946
|
|
|
1941
1947
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1942
1948
|
|
|
1943
1949
|
/***/ }),
|
|
1944
1950
|
|
|
1945
|
-
/***/
|
|
1951
|
+
/***/ 45:
|
|
1946
1952
|
/***/ (function(module, exports) {
|
|
1947
1953
|
|
|
1948
1954
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1949
1955
|
|
|
1950
1956
|
/***/ }),
|
|
1951
1957
|
|
|
1952
|
-
/***/
|
|
1958
|
+
/***/ 49:
|
|
1953
1959
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1954
1960
|
|
|
1955
1961
|
"use strict";
|
|
@@ -1980,13 +1986,51 @@ exports.default = background;
|
|
|
1980
1986
|
|
|
1981
1987
|
/***/ }),
|
|
1982
1988
|
|
|
1983
|
-
/***/
|
|
1989
|
+
/***/ 5:
|
|
1990
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1991
|
+
|
|
1992
|
+
"use strict";
|
|
1993
|
+
|
|
1994
|
+
|
|
1995
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1996
|
+
value: true
|
|
1997
|
+
});
|
|
1998
|
+
exports.VizBehavior = void 0;
|
|
1999
|
+
var VizBehavior;
|
|
2000
|
+
|
|
2001
|
+
(function (VizBehavior) {
|
|
2002
|
+
/**
|
|
2003
|
+
* Dynamic Options Behavior.
|
|
2004
|
+
* This allows visualization options to be powered by data
|
|
2005
|
+
*
|
|
2006
|
+
* **Example**
|
|
2007
|
+
*
|
|
2008
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
2009
|
+
* would configure sparklineValues with an array of data points
|
|
2010
|
+
* coming from the first series in the primary datasource
|
|
2011
|
+
*
|
|
2012
|
+
*/
|
|
2013
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
2014
|
+
VizBehavior["EVENTS"] = "events";
|
|
2015
|
+
/**
|
|
2016
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
2017
|
+
* missing.
|
|
2018
|
+
* @type {string}
|
|
2019
|
+
*/
|
|
2020
|
+
|
|
2021
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
2022
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2023
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2024
|
+
|
|
2025
|
+
/***/ }),
|
|
2026
|
+
|
|
2027
|
+
/***/ 50:
|
|
1984
2028
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1985
2029
|
|
|
1986
2030
|
"use strict";
|
|
1987
2031
|
|
|
1988
2032
|
|
|
1989
|
-
var _toConsumableArray = __webpack_require__(
|
|
2033
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
1990
2034
|
|
|
1991
2035
|
var __rest = this && this.__rest || function (s, e) {
|
|
1992
2036
|
var t = {};
|
|
@@ -2202,52 +2246,14 @@ exports.constructFieldsAndColumns = constructFieldsAndColumns;
|
|
|
2202
2246
|
|
|
2203
2247
|
/***/ }),
|
|
2204
2248
|
|
|
2205
|
-
/***/
|
|
2206
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2207
|
-
|
|
2208
|
-
"use strict";
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2212
|
-
value: true
|
|
2213
|
-
});
|
|
2214
|
-
exports.VizBehavior = void 0;
|
|
2215
|
-
var VizBehavior;
|
|
2216
|
-
|
|
2217
|
-
(function (VizBehavior) {
|
|
2218
|
-
/**
|
|
2219
|
-
* Dynamic Options Behavior.
|
|
2220
|
-
* This allows visualization options to be powered by data
|
|
2221
|
-
*
|
|
2222
|
-
* **Example**
|
|
2223
|
-
*
|
|
2224
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
2225
|
-
* would configure sparklineValues with an array of data points
|
|
2226
|
-
* coming from the first series in the primary datasource
|
|
2227
|
-
*
|
|
2228
|
-
*/
|
|
2229
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
2230
|
-
VizBehavior["EVENTS"] = "events";
|
|
2231
|
-
/**
|
|
2232
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
2233
|
-
* missing.
|
|
2234
|
-
* @type {string}
|
|
2235
|
-
*/
|
|
2236
|
-
|
|
2237
|
-
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
2238
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2239
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2240
|
-
|
|
2241
|
-
/***/ }),
|
|
2242
|
-
|
|
2243
|
-
/***/ 50:
|
|
2249
|
+
/***/ 51:
|
|
2244
2250
|
/***/ (function(module, exports) {
|
|
2245
2251
|
|
|
2246
2252
|
module.exports = require("@splunk/charting-bundle");
|
|
2247
2253
|
|
|
2248
2254
|
/***/ }),
|
|
2249
2255
|
|
|
2250
|
-
/***/
|
|
2256
|
+
/***/ 55:
|
|
2251
2257
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2252
2258
|
|
|
2253
2259
|
"use strict";
|
|
@@ -2263,7 +2269,7 @@ var lodash_1 = __webpack_require__(2);
|
|
|
2263
2269
|
|
|
2264
2270
|
var i18n_1 = __webpack_require__(3);
|
|
2265
2271
|
|
|
2266
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2272
|
+
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
2267
2273
|
|
|
2268
2274
|
var react_1 = __webpack_require__(1);
|
|
2269
2275
|
|
|
@@ -2271,26 +2277,26 @@ var React = __webpack_require__(1);
|
|
|
2271
2277
|
|
|
2272
2278
|
var T = __webpack_require__(0);
|
|
2273
2279
|
|
|
2274
|
-
var react_event_listener_1 = __webpack_require__(
|
|
2280
|
+
var react_event_listener_1 = __webpack_require__(56);
|
|
2275
2281
|
|
|
2276
|
-
__webpack_require__(
|
|
2282
|
+
__webpack_require__(57); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
2277
2283
|
|
|
2278
2284
|
|
|
2279
|
-
var charting_bundle_1 = __webpack_require__(
|
|
2285
|
+
var charting_bundle_1 = __webpack_require__(51);
|
|
2280
2286
|
|
|
2281
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
2287
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
2282
2288
|
|
|
2283
|
-
var style_1 = __webpack_require__(
|
|
2289
|
+
var style_1 = __webpack_require__(15);
|
|
2284
2290
|
|
|
2285
2291
|
var styled_components_1 = __webpack_require__(4);
|
|
2286
2292
|
|
|
2287
|
-
var Message_1 = __webpack_require__(
|
|
2293
|
+
var Message_1 = __webpack_require__(11);
|
|
2288
2294
|
|
|
2289
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
2295
|
+
var useSplunkTheme_1 = __webpack_require__(58);
|
|
2290
2296
|
|
|
2291
|
-
var themeUtils_1 = __webpack_require__(
|
|
2297
|
+
var themeUtils_1 = __webpack_require__(59);
|
|
2292
2298
|
|
|
2293
|
-
var ChartingApi_1 = __webpack_require__(
|
|
2299
|
+
var ChartingApi_1 = __webpack_require__(60);
|
|
2294
2300
|
|
|
2295
2301
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
2296
2302
|
|
|
@@ -2670,109 +2676,42 @@ exports.default = withEmptyChartMessage(Charting);
|
|
|
2670
2676
|
|
|
2671
2677
|
/***/ }),
|
|
2672
2678
|
|
|
2673
|
-
/***/
|
|
2679
|
+
/***/ 56:
|
|
2674
2680
|
/***/ (function(module, exports) {
|
|
2675
2681
|
|
|
2676
2682
|
module.exports = require("react-event-listener");
|
|
2677
2683
|
|
|
2678
2684
|
/***/ }),
|
|
2679
2685
|
|
|
2680
|
-
/***/
|
|
2686
|
+
/***/ 57:
|
|
2681
2687
|
/***/ (function(module, exports) {
|
|
2682
2688
|
|
|
2683
2689
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
2684
2690
|
|
|
2685
2691
|
/***/ }),
|
|
2686
2692
|
|
|
2687
|
-
/***/
|
|
2693
|
+
/***/ 58:
|
|
2688
2694
|
/***/ (function(module, exports) {
|
|
2689
2695
|
|
|
2690
2696
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2691
2697
|
|
|
2692
2698
|
/***/ }),
|
|
2693
2699
|
|
|
2694
|
-
/***/
|
|
2700
|
+
/***/ 59:
|
|
2695
2701
|
/***/ (function(module, exports) {
|
|
2696
2702
|
|
|
2697
2703
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
2698
2704
|
|
|
2699
2705
|
/***/ }),
|
|
2700
2706
|
|
|
2701
|
-
/***/ 59:
|
|
2702
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2703
|
-
|
|
2704
|
-
"use strict";
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
var _classCallCheck = __webpack_require__(10);
|
|
2708
|
-
|
|
2709
|
-
var _createClass = __webpack_require__(16);
|
|
2710
|
-
|
|
2711
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2712
|
-
value: true
|
|
2713
|
-
});
|
|
2714
|
-
exports.ChartingApiFunctional = void 0;
|
|
2715
|
-
|
|
2716
|
-
var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
2717
|
-
// eslint-disable-next-line no-useless-constructor
|
|
2718
|
-
function ChartingApiFunctional(chartRef) {
|
|
2719
|
-
_classCallCheck(this, ChartingApiFunctional);
|
|
2720
|
-
|
|
2721
|
-
this.chartRef = chartRef;
|
|
2722
|
-
}
|
|
2723
|
-
/**
|
|
2724
|
-
* Allows users to programmatically highlight a point on the chart
|
|
2725
|
-
*
|
|
2726
|
-
* @memberof ChartingApiFunctional
|
|
2727
|
-
*/
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
_createClass(ChartingApiFunctional, [{
|
|
2731
|
-
key: "highlight",
|
|
2732
|
-
value: function highlight() {
|
|
2733
|
-
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
2734
|
-
xValue: '',
|
|
2735
|
-
seriesName: ''
|
|
2736
|
-
},
|
|
2737
|
-
xValue = _ref.xValue,
|
|
2738
|
-
seriesName = _ref.seriesName;
|
|
2739
|
-
|
|
2740
|
-
this.getChart().highlight(xValue, seriesName);
|
|
2741
|
-
}
|
|
2742
|
-
/**
|
|
2743
|
-
* Allows users to programmatically unhighlight all points on the chart
|
|
2744
|
-
*
|
|
2745
|
-
* @memberof ChartingApiFunctional
|
|
2746
|
-
*/
|
|
2747
|
-
|
|
2748
|
-
}, {
|
|
2749
|
-
key: "unHighlight",
|
|
2750
|
-
value: function unHighlight() {
|
|
2751
|
-
this.getChart().unHighlight();
|
|
2752
|
-
} // returns chart object
|
|
2753
|
-
|
|
2754
|
-
}, {
|
|
2755
|
-
key: "getChart",
|
|
2756
|
-
value: function getChart() {
|
|
2757
|
-
var _a;
|
|
2758
|
-
|
|
2759
|
-
return (_a = this.chartRef) === null || _a === void 0 ? void 0 : _a.current;
|
|
2760
|
-
}
|
|
2761
|
-
}]);
|
|
2762
|
-
|
|
2763
|
-
return ChartingApiFunctional;
|
|
2764
|
-
}();
|
|
2765
|
-
|
|
2766
|
-
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
2767
|
-
|
|
2768
|
-
/***/ }),
|
|
2769
|
-
|
|
2770
2707
|
/***/ 6:
|
|
2771
2708
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2772
2709
|
|
|
2773
2710
|
"use strict";
|
|
2774
2711
|
|
|
2775
2712
|
|
|
2713
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
2714
|
+
|
|
2776
2715
|
var _defineProperty = __webpack_require__(7);
|
|
2777
2716
|
|
|
2778
2717
|
var __rest = this && this.__rest || function (s, e) {
|
|
@@ -2791,11 +2730,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
2791
2730
|
Object.defineProperty(exports, "__esModule", {
|
|
2792
2731
|
value: true
|
|
2793
2732
|
});
|
|
2794
|
-
exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
2733
|
+
exports.insertLayout = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
2795
2734
|
|
|
2796
2735
|
var lodash_1 = __webpack_require__(2);
|
|
2797
2736
|
|
|
2798
|
-
var schemaUtils_1 = __webpack_require__(
|
|
2737
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
2799
2738
|
|
|
2800
2739
|
var VizBehavior_1 = __webpack_require__(5);
|
|
2801
2740
|
|
|
@@ -2866,8 +2805,10 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
|
2866
2805
|
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
2867
2806
|
/**
|
|
2868
2807
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
2808
|
+
* this function also collapse all editor panels
|
|
2869
2809
|
* @param vizConfig a Visualization Config
|
|
2870
2810
|
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
2811
|
+
* and containing `open: false` for all editor panels in editorConfig
|
|
2871
2812
|
*/
|
|
2872
2813
|
|
|
2873
2814
|
function enhanceConfig(vizConfig) {
|
|
@@ -2877,10 +2818,33 @@ function enhanceConfig(vizConfig) {
|
|
|
2877
2818
|
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
2878
2819
|
}
|
|
2879
2820
|
|
|
2821
|
+
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
2822
|
+
return Object.assign(Object.assign({}, config), {
|
|
2823
|
+
open: false
|
|
2824
|
+
});
|
|
2825
|
+
});
|
|
2880
2826
|
return enhancedConfig;
|
|
2881
2827
|
}
|
|
2882
2828
|
|
|
2883
2829
|
exports.enhanceConfig = enhanceConfig;
|
|
2830
|
+
/**
|
|
2831
|
+
* Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
|
|
2832
|
+
* Created for editor unit tests
|
|
2833
|
+
* @param vizConfig a Visualization Config
|
|
2834
|
+
* @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
|
|
2835
|
+
*/
|
|
2836
|
+
|
|
2837
|
+
function uncollapseEditorConfig(vizConfig) {
|
|
2838
|
+
var editorPanelUncollapsedConfig = vizConfig;
|
|
2839
|
+
editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
2840
|
+
return Object.assign(Object.assign({}, config), {
|
|
2841
|
+
open: true
|
|
2842
|
+
});
|
|
2843
|
+
});
|
|
2844
|
+
return editorPanelUncollapsedConfig;
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
exports.uncollapseEditorConfig = uncollapseEditorConfig;
|
|
2884
2848
|
|
|
2885
2849
|
function isDynamicOption(option) {
|
|
2886
2850
|
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
@@ -2956,10 +2920,97 @@ function generatePrecisionValues(numPrecisionValues) {
|
|
|
2956
2920
|
}
|
|
2957
2921
|
|
|
2958
2922
|
exports.generatePrecisionValues = generatePrecisionValues;
|
|
2923
|
+
/**
|
|
2924
|
+
* insert layout in layout array, return a new layout array instead of updating the original
|
|
2925
|
+
*
|
|
2926
|
+
* @param {EditorLayoutConfig[][]} layout - editor layout
|
|
2927
|
+
* @param {Number} index - the index to insert layout item(s)
|
|
2928
|
+
* @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
|
|
2929
|
+
* @returns {EditorLayoutConfig[][]} new editor layout with insertion
|
|
2930
|
+
*/
|
|
2931
|
+
|
|
2932
|
+
var insertLayout = function insertLayout(layout, index) {
|
|
2933
|
+
for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
2934
|
+
layoutItems[_key - 2] = arguments[_key];
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
|
|
2938
|
+
};
|
|
2939
|
+
|
|
2940
|
+
exports.insertLayout = insertLayout;
|
|
2959
2941
|
|
|
2960
2942
|
/***/ }),
|
|
2961
2943
|
|
|
2962
2944
|
/***/ 60:
|
|
2945
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2946
|
+
|
|
2947
|
+
"use strict";
|
|
2948
|
+
|
|
2949
|
+
|
|
2950
|
+
var _classCallCheck = __webpack_require__(12);
|
|
2951
|
+
|
|
2952
|
+
var _createClass = __webpack_require__(17);
|
|
2953
|
+
|
|
2954
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2955
|
+
value: true
|
|
2956
|
+
});
|
|
2957
|
+
exports.ChartingApiFunctional = void 0;
|
|
2958
|
+
|
|
2959
|
+
var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
2960
|
+
// eslint-disable-next-line no-useless-constructor
|
|
2961
|
+
function ChartingApiFunctional(chartRef) {
|
|
2962
|
+
_classCallCheck(this, ChartingApiFunctional);
|
|
2963
|
+
|
|
2964
|
+
this.chartRef = chartRef;
|
|
2965
|
+
}
|
|
2966
|
+
/**
|
|
2967
|
+
* Allows users to programmatically highlight a point on the chart
|
|
2968
|
+
*
|
|
2969
|
+
* @memberof ChartingApiFunctional
|
|
2970
|
+
*/
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
_createClass(ChartingApiFunctional, [{
|
|
2974
|
+
key: "highlight",
|
|
2975
|
+
value: function highlight() {
|
|
2976
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
2977
|
+
xValue: '',
|
|
2978
|
+
seriesName: ''
|
|
2979
|
+
},
|
|
2980
|
+
xValue = _ref.xValue,
|
|
2981
|
+
seriesName = _ref.seriesName;
|
|
2982
|
+
|
|
2983
|
+
this.getChart().highlight(xValue, seriesName);
|
|
2984
|
+
}
|
|
2985
|
+
/**
|
|
2986
|
+
* Allows users to programmatically unhighlight all points on the chart
|
|
2987
|
+
*
|
|
2988
|
+
* @memberof ChartingApiFunctional
|
|
2989
|
+
*/
|
|
2990
|
+
|
|
2991
|
+
}, {
|
|
2992
|
+
key: "unHighlight",
|
|
2993
|
+
value: function unHighlight() {
|
|
2994
|
+
this.getChart().unHighlight();
|
|
2995
|
+
} // returns chart object
|
|
2996
|
+
|
|
2997
|
+
}, {
|
|
2998
|
+
key: "getChart",
|
|
2999
|
+
value: function getChart() {
|
|
3000
|
+
var _a;
|
|
3001
|
+
|
|
3002
|
+
return (_a = this.chartRef) === null || _a === void 0 ? void 0 : _a.current;
|
|
3003
|
+
}
|
|
3004
|
+
}]);
|
|
3005
|
+
|
|
3006
|
+
return ChartingApiFunctional;
|
|
3007
|
+
}();
|
|
3008
|
+
|
|
3009
|
+
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
3010
|
+
|
|
3011
|
+
/***/ }),
|
|
3012
|
+
|
|
3013
|
+
/***/ 61:
|
|
2963
3014
|
/***/ (function(module, exports) {
|
|
2964
3015
|
|
|
2965
3016
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
@@ -2979,14 +3030,16 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
2979
3030
|
"use strict";
|
|
2980
3031
|
|
|
2981
3032
|
|
|
2982
|
-
var _typeof = __webpack_require__(
|
|
3033
|
+
var _typeof = __webpack_require__(25);
|
|
2983
3034
|
|
|
2984
3035
|
Object.defineProperty(exports, "__esModule", {
|
|
2985
3036
|
value: true
|
|
2986
3037
|
});
|
|
2987
|
-
exports.
|
|
3038
|
+
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
2988
3039
|
|
|
2989
3040
|
var lodash_1 = __webpack_require__(2);
|
|
3041
|
+
|
|
3042
|
+
var mapUtils_1 = __webpack_require__(41);
|
|
2990
3043
|
/**
|
|
2991
3044
|
* @method extendStaticWrapperProps
|
|
2992
3045
|
* @param {Object} props
|
|
@@ -3041,7 +3094,7 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
3041
3094
|
// If option is an array of objects
|
|
3042
3095
|
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
3043
3096
|
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
3044
|
-
var closestMatchIdx =
|
|
3097
|
+
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
3045
3098
|
|
|
3046
3099
|
if (closestMatchIdx > -1) {
|
|
3047
3100
|
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
@@ -3055,57 +3108,13 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
3055
3108
|
};
|
|
3056
3109
|
|
|
3057
3110
|
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
3058
|
-
/**
|
|
3059
|
-
* Finds the closest matching object from the list, which has the max same key value pairs.
|
|
3060
|
-
* Returns the index of match if found, or -1
|
|
3061
|
-
* For eg :-
|
|
3062
|
-
const list = [{
|
|
3063
|
-
type: "marker",
|
|
3064
|
-
lat: "value1"
|
|
3065
|
-
}, {
|
|
3066
|
-
type: "bubble",
|
|
3067
|
-
size: "value2"
|
|
3068
|
-
}];
|
|
3069
|
-
|
|
3070
|
-
const obj = {
|
|
3071
|
-
type: 'bubble'
|
|
3072
|
-
};
|
|
3073
|
-
|
|
3074
|
-
findClosestMatch(list, obj) -> returns index 1.
|
|
3075
|
-
*/
|
|
3076
|
-
|
|
3077
|
-
var findClosestMatchFromDefaultList = function findClosestMatchFromDefaultList(searchList, inputObj) {
|
|
3078
|
-
if (!Array.isArray(searchList) || searchList.length === 0) {
|
|
3079
|
-
return -1;
|
|
3080
|
-
}
|
|
3081
|
-
|
|
3082
|
-
var keys = Object.keys(inputObj);
|
|
3083
|
-
var maxMatchCnt = 0;
|
|
3084
|
-
var maxMatchIdx = 0;
|
|
3085
|
-
searchList.forEach(function (item, idx) {
|
|
3086
|
-
var matchCnt = 0;
|
|
3087
|
-
keys.forEach(function (key) {
|
|
3088
|
-
if (item[key] === inputObj[key]) {
|
|
3089
|
-
matchCnt += 1;
|
|
3090
|
-
}
|
|
3091
|
-
});
|
|
3092
|
-
|
|
3093
|
-
if (Math.max(maxMatchCnt, matchCnt) > maxMatchCnt) {
|
|
3094
|
-
maxMatchCnt = matchCnt;
|
|
3095
|
-
maxMatchIdx = idx;
|
|
3096
|
-
}
|
|
3097
|
-
});
|
|
3098
|
-
return maxMatchIdx;
|
|
3099
|
-
};
|
|
3100
|
-
|
|
3101
|
-
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
3102
3111
|
|
|
3103
3112
|
/***/ }),
|
|
3104
3113
|
|
|
3105
3114
|
/***/ 9:
|
|
3106
3115
|
/***/ (function(module, exports) {
|
|
3107
3116
|
|
|
3108
|
-
module.exports = require("@
|
|
3117
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
3109
3118
|
|
|
3110
3119
|
/***/ })
|
|
3111
3120
|
|