@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/Rectangle.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 = 242);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,122 +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
|
-
"use strict";
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Object.defineProperty(exports, "__esModule", {
|
|
137
|
-
value: true
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
var React = __webpack_require__(1);
|
|
141
|
-
|
|
142
|
-
var styled_components_1 = __webpack_require__(4);
|
|
143
|
-
|
|
144
|
-
var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
145
|
-
|
|
146
|
-
var style_1 = __webpack_require__(14);
|
|
147
|
-
|
|
148
|
-
var colorUtils_1 = __webpack_require__(12);
|
|
149
|
-
|
|
150
|
-
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
151
|
-
var width = _ref.width;
|
|
152
|
-
return {
|
|
153
|
-
style: {
|
|
154
|
-
width: style_1.toPx(width)
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
}).withConfig({
|
|
158
|
-
displayName: "FixedSizeContainer__Item",
|
|
159
|
-
componentId: "sc-1yhgpod-0"
|
|
160
|
-
})(["position:relative;background-color:", "};"], function (props) {
|
|
161
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
162
|
-
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
163
|
-
|
|
164
|
-
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
165
|
-
var width = _ref2.width,
|
|
166
|
-
height = _ref2.height;
|
|
167
|
-
return {
|
|
168
|
-
style: Object.assign(Object.assign({}, width && {
|
|
169
|
-
width: style_1.toPx(width)
|
|
170
|
-
}), height && {
|
|
171
|
-
height: style_1.toPx(height)
|
|
172
|
-
})
|
|
173
|
-
};
|
|
174
|
-
}).withConfig({
|
|
175
|
-
displayName: "FixedSizeContainer__FixSizeItem",
|
|
176
|
-
componentId: "sc-1yhgpod-1"
|
|
177
|
-
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
178
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
179
|
-
});
|
|
180
|
-
var ItemContent = styled_components_1.default.div.withConfig({
|
|
181
|
-
displayName: "FixedSizeContainer__ItemContent",
|
|
182
|
-
componentId: "sc-1yhgpod-2"
|
|
183
|
-
})(["position:relative;min-height:100px;width:100%;"]);
|
|
184
|
-
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
185
|
-
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
186
|
-
componentId: "sc-1yhgpod-3"
|
|
187
|
-
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
188
|
-
|
|
189
|
-
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
190
|
-
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
191
|
-
var width = props.width,
|
|
192
|
-
height = props.height,
|
|
193
|
-
backgroundColor = props.backgroundColor;
|
|
194
|
-
|
|
195
|
-
if (!height) {
|
|
196
|
-
return React.createElement(Item, {
|
|
197
|
-
"data-test": "item",
|
|
198
|
-
width: width,
|
|
199
|
-
backgroundColor: backgroundColor
|
|
200
|
-
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
return React.createElement(FixSizeItem, {
|
|
204
|
-
"data-test": "fix-size-item",
|
|
205
|
-
"data-splunk-visualization-version": "24.7.0 - c7389a161",
|
|
206
|
-
width: width,
|
|
207
|
-
height: height,
|
|
208
|
-
backgroundColor: backgroundColor
|
|
209
|
-
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
210
|
-
var newWidth = _ref3.width,
|
|
211
|
-
newHeight = _ref3.height;
|
|
212
|
-
return React.createElement(Viz, Object.assign({}, props, {
|
|
213
|
-
width: newWidth,
|
|
214
|
-
height: newHeight
|
|
215
|
-
}));
|
|
216
|
-
})));
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
220
|
-
return FixedSizeContainer;
|
|
221
|
-
};
|
|
131
|
+
/***/ (function(module, exports) {
|
|
222
132
|
|
|
223
|
-
exports
|
|
133
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
224
134
|
|
|
225
135
|
/***/ }),
|
|
226
136
|
|
|
227
|
-
/***/
|
|
137
|
+
/***/ 135:
|
|
228
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
229
139
|
|
|
230
140
|
"use strict";
|
|
@@ -256,13 +166,13 @@ var lodash_1 = __webpack_require__(2);
|
|
|
256
166
|
|
|
257
167
|
var T = __webpack_require__(0);
|
|
258
168
|
|
|
259
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
169
|
+
var withDashboardViz_1 = __webpack_require__(30);
|
|
260
170
|
|
|
261
|
-
var config_1 = __webpack_require__(
|
|
171
|
+
var config_1 = __webpack_require__(243);
|
|
262
172
|
|
|
263
173
|
exports.config = config_1.default;
|
|
264
174
|
|
|
265
|
-
var shapeUtils_1 = __webpack_require__(
|
|
175
|
+
var shapeUtils_1 = __webpack_require__(99);
|
|
266
176
|
|
|
267
177
|
var SVGContainer = styled_components_1.default.svg.withConfig({
|
|
268
178
|
displayName: "Rectangle__SVGContainer",
|
|
@@ -337,37 +247,127 @@ exports.default = Rectangle;
|
|
|
337
247
|
/***/ }),
|
|
338
248
|
|
|
339
249
|
/***/ 14:
|
|
340
|
-
/***/ (function(module, exports) {
|
|
250
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
341
251
|
|
|
342
|
-
|
|
252
|
+
"use strict";
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
Object.defineProperty(exports, "__esModule", {
|
|
256
|
+
value: true
|
|
257
|
+
});
|
|
258
|
+
|
|
259
|
+
var React = __webpack_require__(1);
|
|
260
|
+
|
|
261
|
+
var styled_components_1 = __webpack_require__(4);
|
|
262
|
+
|
|
263
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
264
|
+
|
|
265
|
+
var style_1 = __webpack_require__(15);
|
|
266
|
+
|
|
267
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
268
|
+
|
|
269
|
+
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
270
|
+
var width = _ref.width;
|
|
271
|
+
return {
|
|
272
|
+
style: {
|
|
273
|
+
width: style_1.toPx(width)
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
}).withConfig({
|
|
277
|
+
displayName: "FixedSizeContainer__Item",
|
|
278
|
+
componentId: "sc-1yhgpod-0"
|
|
279
|
+
})(["position:relative;background-color:", "};"], function (props) {
|
|
280
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
281
|
+
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
282
|
+
|
|
283
|
+
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
284
|
+
var width = _ref2.width,
|
|
285
|
+
height = _ref2.height;
|
|
286
|
+
return {
|
|
287
|
+
style: Object.assign(Object.assign({}, width && {
|
|
288
|
+
width: style_1.toPx(width)
|
|
289
|
+
}), height && {
|
|
290
|
+
height: style_1.toPx(height)
|
|
291
|
+
})
|
|
292
|
+
};
|
|
293
|
+
}).withConfig({
|
|
294
|
+
displayName: "FixedSizeContainer__FixSizeItem",
|
|
295
|
+
componentId: "sc-1yhgpod-1"
|
|
296
|
+
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
297
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
298
|
+
});
|
|
299
|
+
var ItemContent = styled_components_1.default.div.withConfig({
|
|
300
|
+
displayName: "FixedSizeContainer__ItemContent",
|
|
301
|
+
componentId: "sc-1yhgpod-2"
|
|
302
|
+
})(["position:relative;min-height:100px;width:100%;"]);
|
|
303
|
+
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
304
|
+
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
305
|
+
componentId: "sc-1yhgpod-3"
|
|
306
|
+
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
307
|
+
|
|
308
|
+
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
309
|
+
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
310
|
+
var width = props.width,
|
|
311
|
+
height = props.height,
|
|
312
|
+
backgroundColor = props.backgroundColor;
|
|
313
|
+
|
|
314
|
+
if (!height) {
|
|
315
|
+
return React.createElement(Item, {
|
|
316
|
+
"data-test": "item",
|
|
317
|
+
width: width,
|
|
318
|
+
backgroundColor: backgroundColor
|
|
319
|
+
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
return React.createElement(FixSizeItem, {
|
|
323
|
+
"data-test": "fix-size-item",
|
|
324
|
+
"data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
|
|
325
|
+
width: width,
|
|
326
|
+
height: height,
|
|
327
|
+
backgroundColor: backgroundColor
|
|
328
|
+
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
329
|
+
var newWidth = _ref3.width,
|
|
330
|
+
newHeight = _ref3.height;
|
|
331
|
+
return React.createElement(Viz, Object.assign({}, props, {
|
|
332
|
+
width: newWidth,
|
|
333
|
+
height: newHeight
|
|
334
|
+
}));
|
|
335
|
+
})));
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
339
|
+
return FixedSizeContainer;
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
exports.default = withFixedSizeContainer;
|
|
343
343
|
|
|
344
344
|
/***/ }),
|
|
345
345
|
|
|
346
346
|
/***/ 15:
|
|
347
347
|
/***/ (function(module, exports) {
|
|
348
348
|
|
|
349
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
349
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
350
350
|
|
|
351
351
|
/***/ }),
|
|
352
352
|
|
|
353
353
|
/***/ 16:
|
|
354
354
|
/***/ (function(module, exports) {
|
|
355
355
|
|
|
356
|
-
module.exports = require("@
|
|
356
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
357
357
|
|
|
358
358
|
/***/ }),
|
|
359
359
|
|
|
360
360
|
/***/ 17:
|
|
361
361
|
/***/ (function(module, exports) {
|
|
362
362
|
|
|
363
|
-
module.exports = require("@
|
|
363
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
364
364
|
|
|
365
365
|
/***/ }),
|
|
366
366
|
|
|
367
|
-
/***/
|
|
367
|
+
/***/ 18:
|
|
368
368
|
/***/ (function(module, exports) {
|
|
369
369
|
|
|
370
|
-
module.exports = require("@splunk/
|
|
370
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
371
371
|
|
|
372
372
|
/***/ }),
|
|
373
373
|
|
|
@@ -381,59 +381,32 @@ module.exports = require("lodash");
|
|
|
381
381
|
/***/ 20:
|
|
382
382
|
/***/ (function(module, exports) {
|
|
383
383
|
|
|
384
|
-
module.exports = require("@splunk/
|
|
384
|
+
module.exports = require("@splunk/themes/pick");
|
|
385
385
|
|
|
386
386
|
/***/ }),
|
|
387
387
|
|
|
388
388
|
/***/ 21:
|
|
389
389
|
/***/ (function(module, exports) {
|
|
390
390
|
|
|
391
|
-
module.exports = require("@
|
|
391
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
392
392
|
|
|
393
393
|
/***/ }),
|
|
394
394
|
|
|
395
395
|
/***/ 22:
|
|
396
396
|
/***/ (function(module, exports) {
|
|
397
397
|
|
|
398
|
-
module.exports = require("@splunk/
|
|
398
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
399
399
|
|
|
400
400
|
/***/ }),
|
|
401
401
|
|
|
402
|
-
/***/
|
|
403
|
-
/***/ (function(module, exports
|
|
404
|
-
|
|
405
|
-
"use strict";
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
Object.defineProperty(exports, "__esModule", {
|
|
409
|
-
value: true
|
|
410
|
-
});
|
|
411
|
-
exports.pickFieldFromJSONSchema = void 0;
|
|
412
|
-
|
|
413
|
-
var lodash_1 = __webpack_require__(2);
|
|
414
|
-
|
|
415
|
-
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
416
|
-
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
417
|
-
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
418
|
-
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
419
|
-
accum[k] = optionsSchema[k][fieldName];
|
|
420
|
-
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
421
|
-
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
422
|
-
|
|
423
|
-
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
424
|
-
accum[k] = nestedSchema;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
return accum;
|
|
429
|
-
}, {});
|
|
430
|
-
};
|
|
402
|
+
/***/ 23:
|
|
403
|
+
/***/ (function(module, exports) {
|
|
431
404
|
|
|
432
|
-
exports
|
|
405
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
433
406
|
|
|
434
407
|
/***/ }),
|
|
435
408
|
|
|
436
|
-
/***/
|
|
409
|
+
/***/ 242:
|
|
437
410
|
/***/ (function(module, exports, __webpack_require__) {
|
|
438
411
|
|
|
439
412
|
"use strict";
|
|
@@ -463,9 +436,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
463
436
|
});
|
|
464
437
|
exports.default = void 0;
|
|
465
438
|
|
|
466
|
-
__exportStar(__webpack_require__(
|
|
439
|
+
__exportStar(__webpack_require__(135), exports);
|
|
467
440
|
|
|
468
|
-
var Rectangle_1 = __webpack_require__(
|
|
441
|
+
var Rectangle_1 = __webpack_require__(135);
|
|
469
442
|
|
|
470
443
|
Object.defineProperty(exports, "default", {
|
|
471
444
|
enumerable: true,
|
|
@@ -476,7 +449,7 @@ Object.defineProperty(exports, "default", {
|
|
|
476
449
|
|
|
477
450
|
/***/ }),
|
|
478
451
|
|
|
479
|
-
/***/
|
|
452
|
+
/***/ 243:
|
|
480
453
|
/***/ (function(module, exports, __webpack_require__) {
|
|
481
454
|
|
|
482
455
|
"use strict";
|
|
@@ -487,29 +460,29 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
487
460
|
});
|
|
488
461
|
exports.optionsSchema = void 0;
|
|
489
462
|
|
|
490
|
-
var visualization_icons_1 = __webpack_require__(
|
|
463
|
+
var visualization_icons_1 = __webpack_require__(46);
|
|
491
464
|
|
|
492
|
-
var schemaUtils_1 = __webpack_require__(
|
|
465
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
493
466
|
|
|
494
467
|
var i18n_1 = __webpack_require__(3);
|
|
495
468
|
|
|
496
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
469
|
+
var PresetPalettes_1 = __webpack_require__(53);
|
|
497
470
|
|
|
498
|
-
var themes_1 = __webpack_require__(
|
|
471
|
+
var themes_1 = __webpack_require__(69);
|
|
499
472
|
|
|
500
473
|
var VizBehavior_1 = __webpack_require__(5);
|
|
501
474
|
|
|
502
|
-
var VizCategory_1 = __webpack_require__(
|
|
475
|
+
var VizCategory_1 = __webpack_require__(29);
|
|
503
476
|
|
|
504
477
|
var configUtils_1 = __webpack_require__(6);
|
|
505
478
|
|
|
506
|
-
var DynamicFillColorEditor_1 = __webpack_require__(
|
|
479
|
+
var DynamicFillColorEditor_1 = __webpack_require__(95);
|
|
507
480
|
|
|
508
|
-
var DynamicStrokeColorEditor_1 = __webpack_require__(
|
|
481
|
+
var DynamicStrokeColorEditor_1 = __webpack_require__(96);
|
|
509
482
|
|
|
510
|
-
var StaticFillColorEditor_1 = __webpack_require__(
|
|
483
|
+
var StaticFillColorEditor_1 = __webpack_require__(97);
|
|
511
484
|
|
|
512
|
-
var StaticStrokeColorEditor_1 = __webpack_require__(
|
|
485
|
+
var StaticStrokeColorEditor_1 = __webpack_require__(98);
|
|
513
486
|
|
|
514
487
|
var dataContract = {
|
|
515
488
|
requiredDataSources: [],
|
|
@@ -831,6 +804,40 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
831
804
|
"use strict";
|
|
832
805
|
|
|
833
806
|
|
|
807
|
+
Object.defineProperty(exports, "__esModule", {
|
|
808
|
+
value: true
|
|
809
|
+
});
|
|
810
|
+
exports.pickFieldFromJSONSchema = void 0;
|
|
811
|
+
|
|
812
|
+
var lodash_1 = __webpack_require__(2);
|
|
813
|
+
|
|
814
|
+
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
815
|
+
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
816
|
+
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
817
|
+
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
818
|
+
accum[k] = optionsSchema[k][fieldName];
|
|
819
|
+
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
820
|
+
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
821
|
+
|
|
822
|
+
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
823
|
+
accum[k] = nestedSchema;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
return accum;
|
|
828
|
+
}, {});
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
832
|
+
|
|
833
|
+
/***/ }),
|
|
834
|
+
|
|
835
|
+
/***/ 26:
|
|
836
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
837
|
+
|
|
838
|
+
"use strict";
|
|
839
|
+
|
|
840
|
+
|
|
834
841
|
Object.defineProperty(exports, "__esModule", {
|
|
835
842
|
value: true
|
|
836
843
|
});
|
|
@@ -844,9 +851,9 @@ var lodash_1 = __webpack_require__(2);
|
|
|
844
851
|
|
|
845
852
|
var i18n_1 = __webpack_require__(3);
|
|
846
853
|
|
|
847
|
-
var Message_1 = __webpack_require__(
|
|
854
|
+
var Message_1 = __webpack_require__(11);
|
|
848
855
|
|
|
849
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
856
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
850
857
|
/**
|
|
851
858
|
* @method shouldShowIconPlaceholder
|
|
852
859
|
* @param {object} dataSources
|
|
@@ -917,7 +924,7 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
917
924
|
|
|
918
925
|
/***/ }),
|
|
919
926
|
|
|
920
|
-
/***/
|
|
927
|
+
/***/ 27:
|
|
921
928
|
/***/ (function(module, exports, __webpack_require__) {
|
|
922
929
|
|
|
923
930
|
"use strict";
|
|
@@ -934,7 +941,7 @@ var T = __webpack_require__(0);
|
|
|
934
941
|
|
|
935
942
|
var lodash_1 = __webpack_require__(2);
|
|
936
943
|
|
|
937
|
-
var DataSource_1 = __webpack_require__(
|
|
944
|
+
var DataSource_1 = __webpack_require__(37);
|
|
938
945
|
|
|
939
946
|
exports.SortParamsPropTypes = T.shape({
|
|
940
947
|
currentSortKey: T.string,
|
|
@@ -988,7 +995,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
988
995
|
|
|
989
996
|
/***/ }),
|
|
990
997
|
|
|
991
|
-
/***/
|
|
998
|
+
/***/ 28:
|
|
992
999
|
/***/ (function(module, exports, __webpack_require__) {
|
|
993
1000
|
|
|
994
1001
|
"use strict";
|
|
@@ -1053,7 +1060,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
1053
1060
|
|
|
1054
1061
|
/***/ }),
|
|
1055
1062
|
|
|
1056
|
-
/***/
|
|
1063
|
+
/***/ 29:
|
|
1057
1064
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1058
1065
|
|
|
1059
1066
|
"use strict";
|
|
@@ -1082,7 +1089,14 @@ var VizCategory;
|
|
|
1082
1089
|
|
|
1083
1090
|
/***/ }),
|
|
1084
1091
|
|
|
1085
|
-
/***/
|
|
1092
|
+
/***/ 3:
|
|
1093
|
+
/***/ (function(module, exports) {
|
|
1094
|
+
|
|
1095
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1096
|
+
|
|
1097
|
+
/***/ }),
|
|
1098
|
+
|
|
1099
|
+
/***/ 30:
|
|
1086
1100
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1087
1101
|
|
|
1088
1102
|
"use strict";
|
|
@@ -1096,35 +1110,35 @@ var React = __webpack_require__(1);
|
|
|
1096
1110
|
|
|
1097
1111
|
var lodash_1 = __webpack_require__(2);
|
|
1098
1112
|
|
|
1099
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1113
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(31);
|
|
1100
1114
|
|
|
1101
|
-
var Options_1 = __webpack_require__(
|
|
1115
|
+
var Options_1 = __webpack_require__(32);
|
|
1102
1116
|
|
|
1103
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1117
|
+
var SanitizeProps_1 = __webpack_require__(33);
|
|
1104
1118
|
|
|
1105
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1119
|
+
var TimezoneContext_1 = __webpack_require__(21);
|
|
1106
1120
|
|
|
1107
|
-
var moment_1 = __webpack_require__(
|
|
1121
|
+
var moment_1 = __webpack_require__(34);
|
|
1108
1122
|
|
|
1109
1123
|
var styled_components_1 = __webpack_require__(4);
|
|
1110
1124
|
|
|
1111
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1125
|
+
var SplunkVisualization_1 = __webpack_require__(35);
|
|
1112
1126
|
|
|
1113
1127
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1114
1128
|
|
|
1115
|
-
var getSorting_1 = __webpack_require__(
|
|
1129
|
+
var getSorting_1 = __webpack_require__(27);
|
|
1116
1130
|
|
|
1117
|
-
var getPagination_1 = __webpack_require__(
|
|
1131
|
+
var getPagination_1 = __webpack_require__(28);
|
|
1118
1132
|
|
|
1119
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1133
|
+
var useDeepMemo_1 = __webpack_require__(38);
|
|
1120
1134
|
|
|
1121
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1135
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
1122
1136
|
|
|
1123
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1137
|
+
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
1124
1138
|
|
|
1125
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1139
|
+
var withEditModeCover_1 = __webpack_require__(40);
|
|
1126
1140
|
|
|
1127
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1141
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
1128
1142
|
|
|
1129
1143
|
var hocUtils_1 = __webpack_require__(8);
|
|
1130
1144
|
/**
|
|
@@ -1328,48 +1342,41 @@ exports.default = withDashboardViz;
|
|
|
1328
1342
|
|
|
1329
1343
|
/***/ }),
|
|
1330
1344
|
|
|
1331
|
-
/***/
|
|
1332
|
-
/***/ (function(module, exports) {
|
|
1333
|
-
|
|
1334
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1335
|
-
|
|
1336
|
-
/***/ }),
|
|
1337
|
-
|
|
1338
|
-
/***/ 30:
|
|
1345
|
+
/***/ 31:
|
|
1339
1346
|
/***/ (function(module, exports) {
|
|
1340
1347
|
|
|
1341
1348
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1342
1349
|
|
|
1343
1350
|
/***/ }),
|
|
1344
1351
|
|
|
1345
|
-
/***/
|
|
1352
|
+
/***/ 32:
|
|
1346
1353
|
/***/ (function(module, exports) {
|
|
1347
1354
|
|
|
1348
1355
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1349
1356
|
|
|
1350
1357
|
/***/ }),
|
|
1351
1358
|
|
|
1352
|
-
/***/
|
|
1359
|
+
/***/ 33:
|
|
1353
1360
|
/***/ (function(module, exports) {
|
|
1354
1361
|
|
|
1355
1362
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1356
1363
|
|
|
1357
1364
|
/***/ }),
|
|
1358
1365
|
|
|
1359
|
-
/***/
|
|
1366
|
+
/***/ 34:
|
|
1360
1367
|
/***/ (function(module, exports) {
|
|
1361
1368
|
|
|
1362
1369
|
module.exports = require("@splunk/moment");
|
|
1363
1370
|
|
|
1364
1371
|
/***/ }),
|
|
1365
1372
|
|
|
1366
|
-
/***/
|
|
1373
|
+
/***/ 35:
|
|
1367
1374
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1368
1375
|
|
|
1369
1376
|
"use strict";
|
|
1370
1377
|
|
|
1371
1378
|
|
|
1372
|
-
var _classCallCheck = __webpack_require__(
|
|
1379
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1373
1380
|
|
|
1374
1381
|
Object.defineProperty(exports, "__esModule", {
|
|
1375
1382
|
value: true
|
|
@@ -1381,7 +1388,7 @@ var T = __webpack_require__(0);
|
|
|
1381
1388
|
|
|
1382
1389
|
var lodash_1 = __webpack_require__(2);
|
|
1383
1390
|
|
|
1384
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1391
|
+
var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1385
1392
|
|
|
1386
1393
|
|
|
1387
1394
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1515,15 +1522,15 @@ exports.default = SplunkVisualization;
|
|
|
1515
1522
|
|
|
1516
1523
|
/***/ }),
|
|
1517
1524
|
|
|
1518
|
-
/***/
|
|
1525
|
+
/***/ 36:
|
|
1519
1526
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1520
1527
|
|
|
1521
1528
|
"use strict";
|
|
1522
1529
|
|
|
1523
1530
|
|
|
1524
|
-
var _classCallCheck = __webpack_require__(
|
|
1531
|
+
var _classCallCheck = __webpack_require__(12);
|
|
1525
1532
|
|
|
1526
|
-
var _createClass = __webpack_require__(
|
|
1533
|
+
var _createClass = __webpack_require__(17);
|
|
1527
1534
|
|
|
1528
1535
|
Object.defineProperty(exports, "__esModule", {
|
|
1529
1536
|
value: true
|
|
@@ -1553,7 +1560,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1553
1560
|
|
|
1554
1561
|
/***/ }),
|
|
1555
1562
|
|
|
1556
|
-
/***/
|
|
1563
|
+
/***/ 37:
|
|
1557
1564
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1558
1565
|
|
|
1559
1566
|
"use strict";
|
|
@@ -1567,7 +1574,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1567
1574
|
|
|
1568
1575
|
/***/ }),
|
|
1569
1576
|
|
|
1570
|
-
/***/
|
|
1577
|
+
/***/ 38:
|
|
1571
1578
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1572
1579
|
|
|
1573
1580
|
"use strict";
|
|
@@ -1613,7 +1620,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
1613
1620
|
|
|
1614
1621
|
/***/ }),
|
|
1615
1622
|
|
|
1616
|
-
/***/
|
|
1623
|
+
/***/ 39:
|
|
1617
1624
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1618
1625
|
|
|
1619
1626
|
"use strict";
|
|
@@ -1630,9 +1637,9 @@ var T = __webpack_require__(0);
|
|
|
1630
1637
|
|
|
1631
1638
|
var i18n_1 = __webpack_require__(3);
|
|
1632
1639
|
|
|
1633
|
-
var Message_1 = __webpack_require__(
|
|
1640
|
+
var Message_1 = __webpack_require__(11);
|
|
1634
1641
|
|
|
1635
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1642
|
+
var FixedSizeContainer_1 = __webpack_require__(14);
|
|
1636
1643
|
/**
|
|
1637
1644
|
* @method isMissing
|
|
1638
1645
|
* @param {any} v
|
|
@@ -1694,7 +1701,14 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
1694
1701
|
|
|
1695
1702
|
/***/ }),
|
|
1696
1703
|
|
|
1697
|
-
/***/
|
|
1704
|
+
/***/ 4:
|
|
1705
|
+
/***/ (function(module, exports) {
|
|
1706
|
+
|
|
1707
|
+
module.exports = require("styled-components");
|
|
1708
|
+
|
|
1709
|
+
/***/ }),
|
|
1710
|
+
|
|
1711
|
+
/***/ 40:
|
|
1698
1712
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1699
1713
|
|
|
1700
1714
|
"use strict";
|
|
@@ -1715,7 +1729,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1715
1729
|
componentId: "sc-1gsbnxb-0"
|
|
1716
1730
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1717
1731
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1718
|
-
'data-splunk-visualization-version': "
|
|
1732
|
+
'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
|
|
1719
1733
|
}).withConfig({
|
|
1720
1734
|
displayName: "withEditModeCover__Blocker",
|
|
1721
1735
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1747,14 +1761,14 @@ exports.default = withEditModeCover;
|
|
|
1747
1761
|
|
|
1748
1762
|
/***/ }),
|
|
1749
1763
|
|
|
1750
|
-
/***/
|
|
1764
|
+
/***/ 41:
|
|
1751
1765
|
/***/ (function(module, exports) {
|
|
1752
1766
|
|
|
1753
|
-
module.exports = require("
|
|
1767
|
+
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1754
1768
|
|
|
1755
1769
|
/***/ }),
|
|
1756
1770
|
|
|
1757
|
-
/***/
|
|
1771
|
+
/***/ 42:
|
|
1758
1772
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1759
1773
|
|
|
1760
1774
|
"use strict";
|
|
@@ -1766,11 +1780,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1766
1780
|
|
|
1767
1781
|
var React = __webpack_require__(1);
|
|
1768
1782
|
|
|
1769
|
-
var colorUtils_1 = __webpack_require__(
|
|
1783
|
+
var colorUtils_1 = __webpack_require__(13);
|
|
1770
1784
|
|
|
1771
|
-
var variables_1 = __webpack_require__(
|
|
1785
|
+
var variables_1 = __webpack_require__(10);
|
|
1772
1786
|
|
|
1773
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1787
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
1774
1788
|
|
|
1775
1789
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1776
1790
|
|
|
@@ -1819,7 +1833,7 @@ exports.default = withPlaceholder;
|
|
|
1819
1833
|
|
|
1820
1834
|
/***/ }),
|
|
1821
1835
|
|
|
1822
|
-
/***/
|
|
1836
|
+
/***/ 46:
|
|
1823
1837
|
/***/ (function(module, exports) {
|
|
1824
1838
|
|
|
1825
1839
|
module.exports = require("@splunk/visualization-icons");
|
|
@@ -1864,7 +1878,7 @@ var VizBehavior;
|
|
|
1864
1878
|
|
|
1865
1879
|
/***/ }),
|
|
1866
1880
|
|
|
1867
|
-
/***/
|
|
1881
|
+
/***/ 53:
|
|
1868
1882
|
/***/ (function(module, exports) {
|
|
1869
1883
|
|
|
1870
1884
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -1877,6 +1891,8 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
1877
1891
|
"use strict";
|
|
1878
1892
|
|
|
1879
1893
|
|
|
1894
|
+
var _toConsumableArray = __webpack_require__(9);
|
|
1895
|
+
|
|
1880
1896
|
var _defineProperty = __webpack_require__(7);
|
|
1881
1897
|
|
|
1882
1898
|
var __rest = this && this.__rest || function (s, e) {
|
|
@@ -1895,11 +1911,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
1895
1911
|
Object.defineProperty(exports, "__esModule", {
|
|
1896
1912
|
value: true
|
|
1897
1913
|
});
|
|
1898
|
-
exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
1914
|
+
exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
1899
1915
|
|
|
1900
1916
|
var lodash_1 = __webpack_require__(2);
|
|
1901
1917
|
|
|
1902
|
-
var schemaUtils_1 = __webpack_require__(
|
|
1918
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
1903
1919
|
|
|
1904
1920
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1905
1921
|
|
|
@@ -2060,10 +2076,28 @@ function generatePrecisionValues(numPrecisionValues) {
|
|
|
2060
2076
|
}
|
|
2061
2077
|
|
|
2062
2078
|
exports.generatePrecisionValues = generatePrecisionValues;
|
|
2079
|
+
/**
|
|
2080
|
+
* insert layout in layout array, return a new layout array instead of updating the original
|
|
2081
|
+
*
|
|
2082
|
+
* @param {EditorLayoutConfig[][]} layout - editor layout
|
|
2083
|
+
* @param {Number} index - the index to insert layout item(s)
|
|
2084
|
+
* @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
|
|
2085
|
+
* @returns {EditorLayoutConfig[][]} new editor layout with insertion
|
|
2086
|
+
*/
|
|
2087
|
+
|
|
2088
|
+
var insertLayout = function insertLayout(layout, index) {
|
|
2089
|
+
for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
2090
|
+
layoutItems[_key - 2] = arguments[_key];
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
|
|
2094
|
+
};
|
|
2095
|
+
|
|
2096
|
+
exports.insertLayout = insertLayout;
|
|
2063
2097
|
|
|
2064
2098
|
/***/ }),
|
|
2065
2099
|
|
|
2066
|
-
/***/
|
|
2100
|
+
/***/ 69:
|
|
2067
2101
|
/***/ (function(module, exports) {
|
|
2068
2102
|
|
|
2069
2103
|
module.exports = require("@splunk/themes");
|
|
@@ -2083,14 +2117,16 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
2083
2117
|
"use strict";
|
|
2084
2118
|
|
|
2085
2119
|
|
|
2086
|
-
var _typeof = __webpack_require__(
|
|
2120
|
+
var _typeof = __webpack_require__(23);
|
|
2087
2121
|
|
|
2088
2122
|
Object.defineProperty(exports, "__esModule", {
|
|
2089
2123
|
value: true
|
|
2090
2124
|
});
|
|
2091
|
-
exports.
|
|
2125
|
+
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
2092
2126
|
|
|
2093
2127
|
var lodash_1 = __webpack_require__(2);
|
|
2128
|
+
|
|
2129
|
+
var mapUtils_1 = __webpack_require__(41);
|
|
2094
2130
|
/**
|
|
2095
2131
|
* @method extendStaticWrapperProps
|
|
2096
2132
|
* @param {Object} props
|
|
@@ -2145,7 +2181,7 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
2145
2181
|
// If option is an array of objects
|
|
2146
2182
|
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
2147
2183
|
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
2148
|
-
var closestMatchIdx =
|
|
2184
|
+
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
2149
2185
|
|
|
2150
2186
|
if (closestMatchIdx > -1) {
|
|
2151
2187
|
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
@@ -2159,61 +2195,17 @@ var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveO
|
|
|
2159
2195
|
};
|
|
2160
2196
|
|
|
2161
2197
|
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
2162
|
-
/**
|
|
2163
|
-
* Finds the closest matching object from the list, which has the max same key value pairs.
|
|
2164
|
-
* Returns the index of match if found, or -1
|
|
2165
|
-
* For eg :-
|
|
2166
|
-
const list = [{
|
|
2167
|
-
type: "marker",
|
|
2168
|
-
lat: "value1"
|
|
2169
|
-
}, {
|
|
2170
|
-
type: "bubble",
|
|
2171
|
-
size: "value2"
|
|
2172
|
-
}];
|
|
2173
|
-
|
|
2174
|
-
const obj = {
|
|
2175
|
-
type: 'bubble'
|
|
2176
|
-
};
|
|
2177
|
-
|
|
2178
|
-
findClosestMatch(list, obj) -> returns index 1.
|
|
2179
|
-
*/
|
|
2180
|
-
|
|
2181
|
-
var findClosestMatchFromDefaultList = function findClosestMatchFromDefaultList(searchList, inputObj) {
|
|
2182
|
-
if (!Array.isArray(searchList) || searchList.length === 0) {
|
|
2183
|
-
return -1;
|
|
2184
|
-
}
|
|
2185
|
-
|
|
2186
|
-
var keys = Object.keys(inputObj);
|
|
2187
|
-
var maxMatchCnt = 0;
|
|
2188
|
-
var maxMatchIdx = 0;
|
|
2189
|
-
searchList.forEach(function (item, idx) {
|
|
2190
|
-
var matchCnt = 0;
|
|
2191
|
-
keys.forEach(function (key) {
|
|
2192
|
-
if (item[key] === inputObj[key]) {
|
|
2193
|
-
matchCnt += 1;
|
|
2194
|
-
}
|
|
2195
|
-
});
|
|
2196
|
-
|
|
2197
|
-
if (Math.max(maxMatchCnt, matchCnt) > maxMatchCnt) {
|
|
2198
|
-
maxMatchCnt = matchCnt;
|
|
2199
|
-
maxMatchIdx = idx;
|
|
2200
|
-
}
|
|
2201
|
-
});
|
|
2202
|
-
return maxMatchIdx;
|
|
2203
|
-
};
|
|
2204
|
-
|
|
2205
|
-
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
2206
2198
|
|
|
2207
2199
|
/***/ }),
|
|
2208
2200
|
|
|
2209
2201
|
/***/ 9:
|
|
2210
2202
|
/***/ (function(module, exports) {
|
|
2211
2203
|
|
|
2212
|
-
module.exports = require("@
|
|
2204
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
2213
2205
|
|
|
2214
2206
|
/***/ }),
|
|
2215
2207
|
|
|
2216
|
-
/***/
|
|
2208
|
+
/***/ 95:
|
|
2217
2209
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2218
2210
|
|
|
2219
2211
|
"use strict";
|
|
@@ -2269,7 +2261,7 @@ exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
|
|
|
2269
2261
|
|
|
2270
2262
|
/***/ }),
|
|
2271
2263
|
|
|
2272
|
-
/***/
|
|
2264
|
+
/***/ 96:
|
|
2273
2265
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2274
2266
|
|
|
2275
2267
|
"use strict";
|
|
@@ -2325,7 +2317,7 @@ exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
|
|
|
2325
2317
|
|
|
2326
2318
|
/***/ }),
|
|
2327
2319
|
|
|
2328
|
-
/***/
|
|
2320
|
+
/***/ 97:
|
|
2329
2321
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2330
2322
|
|
|
2331
2323
|
"use strict";
|
|
@@ -2352,7 +2344,7 @@ exports.default = StaticFillColorEditor;
|
|
|
2352
2344
|
|
|
2353
2345
|
/***/ }),
|
|
2354
2346
|
|
|
2355
|
-
/***/
|
|
2347
|
+
/***/ 98:
|
|
2356
2348
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2357
2349
|
|
|
2358
2350
|
"use strict";
|
|
@@ -2379,7 +2371,7 @@ exports.default = StaticStrokeColorEditor;
|
|
|
2379
2371
|
|
|
2380
2372
|
/***/ }),
|
|
2381
2373
|
|
|
2382
|
-
/***/
|
|
2374
|
+
/***/ 99:
|
|
2383
2375
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2384
2376
|
|
|
2385
2377
|
"use strict";
|
|
@@ -2394,11 +2386,11 @@ var lodash_1 = __webpack_require__(2);
|
|
|
2394
2386
|
|
|
2395
2387
|
var styled_components_1 = __webpack_require__(4);
|
|
2396
2388
|
|
|
2397
|
-
var pick_1 = __webpack_require__(
|
|
2389
|
+
var pick_1 = __webpack_require__(20);
|
|
2398
2390
|
|
|
2399
|
-
var variables_1 = __webpack_require__(
|
|
2391
|
+
var variables_1 = __webpack_require__(10);
|
|
2400
2392
|
|
|
2401
|
-
var propUtils_1 = __webpack_require__(
|
|
2393
|
+
var propUtils_1 = __webpack_require__(22); // map for new options names to old option names
|
|
2402
2394
|
|
|
2403
2395
|
|
|
2404
2396
|
var shapeOptionsMapping = {
|