@splunk/visualizations 23.3.0 → 24.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_PureChoroplethSvg_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_SVG_with_XML_and_DTD.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_background_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_black_dot.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_color_rectangles.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureChoroplethSvg_fixed_height_400_width_400.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Gauge_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Major_Unit_10.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Major_Unit_auto.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Max_Value_210_Major_Unit_25_ticks_position_unevenly.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Max_value_40K.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Min_Value_20_ticks_position_evenly.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_height_100_no_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Percentage_Range_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Percentage_Value_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Show_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_First_And_Last.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_Some.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields_Columns.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Handles_Large_Data_Set.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Height.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Highlight_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_X.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_Y.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Result_Limit.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Node_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Value_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_from.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_discontinuous_ranges.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_equals_to_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_is_larger_than_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_missing_entries.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Major_Unit_10.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Major_Unit_auto.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Percentage_Range_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Percentage_Value_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_min_20_max_100_tick_positions_even.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_min_20_max_110_majorUnit_20_tick_positions_uneven.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_multiple_steps.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Ranges_single_step.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Show_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_array_column_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_backgroundColor_navy_000080.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_categorical_dataSources_excessive_categorical_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_dimensions_less_than_minWidth_200_and_minHeight_150.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_lineColor_pink_FFC0CB.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_lineOpacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_showNullAxis_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureParallelCoordinates_stringified_numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Scale_area.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Scale_radius.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Max_Bubble_Radius_25.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5_Max_Bubble_Radius_30_Color_Mode_categorical_Bubble_Scale_radius_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_false_Min_Bubble_Radius_5_Max_Bubble_Radius_30_Color_Mode_dynamic_Bubble_Scale_area_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_75_Min_Bubble_Size_15_Color_Mode_categorical_Bubble_Scale_area_Bubble_Row_Scale_global.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_75_Min_Bubble_Size_15_Color_Mode_dynamic_Bubble_Scale_radius_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Max_Bubble_Size_99.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Bubble_Size_Dynamic_true_Min_Bubble_Size_30.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Series_Color_red_blue_green_orange_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Show_Legend_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_categorical_Show_Legend_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Bubble_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Min_ColorIntensity_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Color_Mode_dynamic_Min_ColorIntensity_100.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Duplicated_data_point_x_8_y_tuesday_size_29_category_Allison_V_1710.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_5_y_friday_size_undefined_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_5_y_undefined_size_12_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Invalid_data_point_x_undefined_y_friday_size_29_category_undefined.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Legend_label_is_long_no_overflow.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_all.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_max.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Show_Bubble_Labels_none.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Some_axis_labels_should_be_hidden.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_Sort_axes_useDefaultSort_true.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_default_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PurePunchcard_fixed_height_300_width_700.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_backgroundcolor_pink.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_backward_link_and_self_loop.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_colorMode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_height_and_width_set_to_non_numeric.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_less_than_minWidth_300_and_minHeight_200.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_invalid_columns_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_larger_dataset_charity_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_larger_dataset_energy_data.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_linkOpacity_changed_to_0_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_nodePadding_changed_to_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_nodeWidth_changed_to_15.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_resultLimit_set_to_4.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_100_height_and_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Background_color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Opacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_after.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_below.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_Position_top.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_activity.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Icon_clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Major_Font_Size_128_Trend_Font_Size_30.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Show_Value_false.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Truncate_Trend_Units_enabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_fixed_height_35_width_35.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_100_height_and_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Background_color_flamenco.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Background_color_is_white.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Max_Value_50.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Radial_Background_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Radial_Stroke_Color_valencia.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_String_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Thousand_Separators_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_absolute_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Indicator_Position_pushed_below_value_does_not_fit_inside_of_radial.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Truncate_Trend_Value_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Truncate_Trend_Value_enabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Under_label_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_dark_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_default_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_basic_scp_theme.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_fixed_height_35_width_35.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Automatic_font_sizing_should_not_overflow.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_white_Under_Label_and_Unit_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Large_card_686_width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Font_Size_128_Trend_Font_Size_30_Under_Label_Font_Size_16.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Value_is_null.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Medium_card_250_width_686.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Number_Precision_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Small_card_width_250.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Small_card_width_50.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_after.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_below_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_2_Sparkline_Highlight_Dots_2.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_4_Sparkline_Highlight_Dots_5.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_and_Sparkline_Highlight_Dots_characters_invalid.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Highlight_Segments_and_Sparkline_Highlight_Dots_negative_3_invalid.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Sparkline_Accept_Null_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Sparkline_Accept_Null_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Stroke_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Tooltip_show.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_disabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_billions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_hundreds.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_millions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_thousands.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_Use_Trend_Units_enabled_trillions.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_converts_non_numeric_values_to_null.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Sparkline_does_not_show_if_only_1_entry_in_graphData.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_String_values.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Thousand_Separators_disabled.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Thousand_Separators_enabled_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Color_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_absolute_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Major_Value_negative_10_Trend_Value_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Major_Value_negative_13_Trend_Value_negative_3.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_Trend_Value_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Display_percent_value_equals_trendValue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Value_Empty_string.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Trend_Value_Not_A_Number.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Under_Label_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic_0_value.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_basic_all_0.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_300_width_300.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_35_width_35_Major_Font_Size_8.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_fixed_height_60_width_60_Major_Font_Size_12_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_no_props.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Black_Dot.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Clock.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_Color_Rectangles.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_with_XML_and_DTD.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_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Area_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Background_Color_french_rose.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Basic_Area.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_20.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_and_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Major_Tick_and_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Max_120.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Min_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Chart_overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Data_Values_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Data_Values_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Legend_Mode_seriesCompare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_connect.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_gaps_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Null_Value_Display_zero.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Series_Colors_by_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Series_Colors_red_blue_green_orange_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_X_Axis_Major_Grid_Lines_true_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Line_Visibility_show_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Major_Ticks_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_Tick_Interval_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_and_Minor_Tick_Visibility_show_X_Axis_Major_Tick_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Major_and_Minor_Tick_Visibility_show_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Minimum_Number_250.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_and_X_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Area_Area_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Axis_Y_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Axis_Y_Minimum_Number_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Background_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Bar_Spacing_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Basic_Bar.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Major_and_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Minor_Ticks_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Major_Tick_and_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Max_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Min_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Chart_Overlay_on_Y2_Axis_Title_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Data_Value_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Data_Value_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_by_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Colors_red_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Series_Spacing_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_X_Axis_Major_Grid_true_Y_Axis_Major_Grid_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_Minor_Grid_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Major_Tick_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Major_Tick_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Major_and_Minor_Ticks_Visibility_show_Y_Axis_Major_Tick_Size_15_Y_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_Tick_Interval_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_and_X_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Y_Axis_and_X_Axis_Title_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Background_Color_grey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Basic_Bubble.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Max_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_area_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Method_diameter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Bubble_Size_Min_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Column_data_based_on_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Field_Colors_200_green_201_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Placeholder_if_viz_does_not_connect_to_datasource.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_Series_Colors_orange_and_blue.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_Rounded_Labels_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Show_X_Axis_Rounded_Labels_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_Abbreviation_auto.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_X_Axis_Abbreviation_off_default.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_800.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bubble_Bubble_Y_Axis_Minimum_Number_300.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_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_Choropleth_Svg_Choropleth_Svg_Click.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Missing_Props_Message_When_No_Svg.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_of_multiple_areas_in_an_Svg_based_on_a_rangeValue_threshold.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_of_multiple_areas_in_an_Svg_based_on_areaIds.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Set_the_color_using_multiMap_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Svg_Shows_Even_When_No_Datasources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Use_Local_To_Download_Svg.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Basic_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Interval_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Y2_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Major_Tick_Visibility_and_Y2_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Max_80000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Min_50000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Title_Text_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Grouping_overlay.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Grouping_overlay_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Column_Spacing_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Data_Value_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Data_Value_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Colors_By_Field_splunkd_green_mongod_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Colors_red_blue_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Series_Spacing_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Long_Tooltip_X_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Tooltip_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_X_Axis_Major_Grid_Lines_true_Show_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Stack_Mode_stacked.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Stack_Mode_stacked100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_X_Axis_and_Y_Axis_Major_Tick_Size_20_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y2_Axis_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Major_Tick_Interval_10000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Maximum_Number_80000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Minimum_Number_60000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Minor_Tick_Size_10_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Basic_Ellipse.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_purple_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fill_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Fixed_height_200_width_200.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_brown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_brown_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Color_green_Fill_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Dash_Style_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Opacity_0_8_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_20_Stroke_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Ellipse_Ellipse_Stroke_Width_5_Stroke_Dash_Style_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_100_height_width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Background_Color_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Basic_Filler_Gauge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Gauge_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Gauge_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Major_Tick_Interval_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_100_no_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Value_Display_percentage_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Basic_Image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Displays_dynamic_image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Displays_remote_image.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_JPEG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_JPG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_No_image_src_present_in_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_No_options_present.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_PNG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_JPG_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_PNG_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_Relative_svg_image_link.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Image_Image_SVG_image_Preserve_Aspect_Ratio_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_On_Y2_Axis_Major_Tick_Interval_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Multiple_Overlay_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Overlay_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_Rounded_Labels_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Show_Y2_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Tick_Size_15_Y2_Axis_Minor_Tick_Size_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Major_Tick_Visibility_and_Y2_Axis_Minor_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Maximum_Number_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Minimum_Number_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Chart_Overlay_on_Y2_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Data_Values_Display_all.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Data_Values_Display_minmax.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Legend_Mode_seriesCompare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_dot_percent_dash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_longDashDot_percent_longDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_longDash_percent_dashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_shortDashDot_percent_shortDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_by_Field_count_shortDash_percent_shortDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_dot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_longDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDash.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDashDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_shortDashDotDot.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Dash_Style_solid_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Line_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_filled.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_invalid_value.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_off_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Marker_Display_outlined.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_New_very_long_Legend_Label_Legend_Truncation_start.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_connect.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_gaps_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Null_Value_Display_zero.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_0_Number_of_Results_100.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_1000_Number_of_Results_5000.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_3_Number_of_Results_5_Chart_Annotation.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_3a_invalid_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Result_Limit_50_Number_of_Results_40.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_By_Field_count_green_percent_orange.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Series_Colors_red_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Independent_Y_Axis_Ranges_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Split_Series_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_X_Axis_Major_Grid_Lines_true_Show_Y_Axis_Major_Grid_Lines_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Extended_Range_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Extended_Range_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_Minor_Grid_Lines_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_With_Zero_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Show_Y_Axis_With_Zero_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_negative_45.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Rotation_negative_90.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Label_Visibility_and_Y_Axis_Label_Visibility_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Line_Visibility_show_Y_Axis_Line_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Major_Tick_Visibility_hide_Y_Axis_Major_Tick_Visibility_show.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Max_Label_Parts_3_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Title_Text_and_Y_Axis_Title_Text_hide.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_Title_Text_and_Y_Axis_Title_Text_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_X_Axis_and_Y_Axis_Major_Tick_Size_20.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y2_Axis_Mapped_Field_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y2_Axis_Multiple_Mapped_Fields_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Abbreviation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Abbreviation_on_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Major_Tick_Interval_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Maximum_Number_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Minimum_Number_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Minor_Tick_Visibility_show_Y_Axis_Minor_Tick_Size_15.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Y_Axis_Scale_log.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Basic_LinkGraph.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_First_and_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_First_to_the_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_Last_to_the_First_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Result_Limit_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Show_Placeholder.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_Marker_Gauge_Marker_Gauge_Background_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Basic_Marker_Gauge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Gauge_Ranges_0_to_30_purple_30_to_90_blue_90_to_100_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Gauge_Ranges_negative_10_to_50_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Major_Tick_Interval_7.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Orientation_horizontal.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Orientation_vertical_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_number_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Marker_Gauge_Marker_Gauge_Value_Display_percentage_Label_Display_percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Array_column_values.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Background_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Basic_Parallel_Coordinates.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Categorical_dataSources_excessive_categorical_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Larger_Dimensions_width_800_height_500.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Line_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Line_Opacity_0_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Show_Null_Axis_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Smaller_Dimensions_less_than_min_width_200_and_min_height_150.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Parallel_Coordinates_Parallel_Coordinates_Stringified_Numerical_dataSources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Background_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Basic_Pie.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Collapse_Label_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Collapse_Threshold_0_05.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_valuesAndPercentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Label_Display_values_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_More_than_2_columns_in_datasources.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Numeric_and_string_values_in_column_1.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Result_Limit_0_Number_of_Results_12.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Result_Limit_3_Number_of_Results_12.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Series_Colors_By_Field_April_black_December_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Series_Colors_red_blue_green_orange_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Show_Donut_Hole_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Background_Color_green.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Basic_Punchcard.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Color_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_all_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_max.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Label_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Row_Scale_global_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_75_Bubble_Size_Min_15_Bubble_Size_Method_radius_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Max_75_Bubble_Size_Min_15_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Method_area_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Method_radius.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Bubble_Size_Min_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Legend_Display_right_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_categorical_Series_Color_red_blue_green_orange_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Color_Mode_dynamic_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Default_Sort_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Default_Sort_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Max_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5_Bubble_Radius_Max_30_Bubble_Row_Scale_row.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_false_Bubble_Radius_Min_5_Bubble_Radius_Max_30_Color_Mode_categorical_Bubble_Size_Method_radius.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Punchcard_Punchcard_Show_Dynamic_Bubble_Size_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Basic_Rectangle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_Purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_Purple_Fill_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Fill_Color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_0_default_Vertical_Corner_Radius_ry_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_15_Vertical_Corner_Radius_ry_25.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_20_Vertical_Corner_Radius_ry_0.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_20_Vertical_Corner_Radius_ry_Undefined_default_set_to_rx.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Horizontal_Corner_Radius_rx_5_Vertical_Corner_Radius_ry_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_brown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_brown_Fill_Color_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_computed_using_rangeValue_formatter.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_yellow.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Color_yellow_Fill_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Dash_Style_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Dash_Style_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_Bevel_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_miter_default_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Join_Style_round_Stroke_Width_10.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Width_20_Stroke_Opacity_0_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Rectangle_Rectangle_Stroke_Width_5.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Background_Color_pink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Backward_Link_Self_Loop.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Basic_Sankey.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Color_Mode_dynamic.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Dimension_Too_Small.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Larger_Dimension.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Opacity_0_8.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Opacity_Changed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Link_Values_Not_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Show_Placeholder.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_Column_data_based_on_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Field_Colors_200_green_201_red.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_bottom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_left.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Display_top.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_end_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_middle.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_off.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Legend_Truncation_start.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_Multi_Series.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_0_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_10_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_3a_invalid_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Result_Limit_50_Number_of_Results_30.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Series_Colors_orange_and_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Rounded_X_Axis_Labels_false_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Show_Rounded_X_Axis_Labels_true.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_Abbreviation_auto.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_X_Axis_Abbreviation_off_default.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_Abbreviation_auto_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Scatter_Scatter_Y_Axis_Abbreviation_off.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_Numerical_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_String_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_The_First_Series_Data_If_No_Matched_Type.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_Radial_Single_Value_Radial_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Use_String_Type_Series_Data.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_No_Trend_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_Show_Gaps_For_Null_Value_In_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Show_Placeholder.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_Trend_Value_Is_Zero.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_Numerical_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_String_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_The_First_Series_Data_If_No_Matched_Type.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_By_Type_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Kitchen_Sink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Single_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Color_light_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table_With_No_Click.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Override.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Count_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Header_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Row_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_none.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Invalid_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Multi_Value_Field.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes_Row_Numbers.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Row_Numbers_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Px.png +0 -0
- package/Area.config.js +48 -44
- package/Area.config.js.map +1 -1
- package/Area.js +297 -241
- package/Area.js.map +1 -1
- package/Bar.config.js +36 -32
- package/Bar.config.js.map +1 -1
- package/Bar.js +283 -228
- package/Bar.js.map +1 -1
- package/Bubble.config.js +35 -25
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +289 -224
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +36 -33
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +272 -209
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +36 -32
- package/Column.config.js.map +1 -1
- package/Column.js +285 -229
- package/Column.js.map +1 -1
- package/Ellipse.config.js +30 -27
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +196 -141
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +888 -0
- package/FillerGauge.config.js.map +1 -0
- package/FillerGauge.js +3723 -0
- package/FillerGauge.js.map +1 -0
- package/Image.config.js +15 -8
- package/Image.config.js.map +1 -1
- package/Image.js +269 -205
- package/Image.js.map +1 -1
- package/LICENSE.md +14 -0
- package/Line.config.js +46 -38
- package/Line.config.js.map +1 -1
- package/Line.js +297 -235
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +110 -126
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +426 -402
- package/LinkGraph.js.map +1 -1
- package/Markdown.config.js +124 -32
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +301 -131
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +215 -68
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1918 -1729
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +52 -48
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +413 -184
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +79 -76
- package/Pie.config.js.map +1 -1
- package/Pie.js +300 -241
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +24 -21
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +276 -208
- package/Punchcard.js.map +1 -1
- package/README.internal.md +47 -0
- package/README.md +36 -3
- package/Rectangle.config.js +34 -32
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +287 -224
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +38 -33
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +336 -271
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +46 -37
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +438 -378
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +139 -131
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +838 -644
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +193 -36
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +141 -133
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +532 -325
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +542 -128
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1322 -767
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +30 -14
- package/Table.config.js.map +1 -1
- package/Table.js +425 -293
- package/Table.js.map +1 -1
- package/common/Charting.js +61 -49
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +5 -4
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +21 -23
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +4 -4
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +30 -32
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +376 -0
- package/common/OverviewDoc.js.map +1 -0
- package/common/SplunkVisualization.js +9 -9
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +11 -11
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +53 -76
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +8 -6
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +193 -104
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/JSONSchemaUtils.js.map +1 -1
- package/common/utils/configUtils.js +2 -2
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/hocUtils.js +58 -3
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +178 -21
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js.map +1 -1
- package/common/withDashboardViz.js +152 -91
- package/common/withDashboardViz.js.map +1 -1
- package/loki.config.js +11 -0
- package/package.json +25 -26
- package/common/utils/eventUtils.js +0 -115
- package/common/utils/eventUtils.js.map +0 -1
- package/jest.visual.config.js +0 -14
package/FillerGauge.js
ADDED
|
@@ -0,0 +1,3723 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2018 Splunk Inc.
|
|
3
|
+
* SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
4
|
+
* in part without a valid written license from Splunk Inc. is PROHIBITED.
|
|
5
|
+
*/
|
|
6
|
+
module.exports =
|
|
7
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
8
|
+
/******/ // The module cache
|
|
9
|
+
/******/ var installedModules = {};
|
|
10
|
+
/******/
|
|
11
|
+
/******/ // The require function
|
|
12
|
+
/******/ function __webpack_require__(moduleId) {
|
|
13
|
+
/******/
|
|
14
|
+
/******/ // Check if module is in cache
|
|
15
|
+
/******/ if(installedModules[moduleId]) {
|
|
16
|
+
/******/ return installedModules[moduleId].exports;
|
|
17
|
+
/******/ }
|
|
18
|
+
/******/ // Create a new module (and put it into the cache)
|
|
19
|
+
/******/ var module = installedModules[moduleId] = {
|
|
20
|
+
/******/ i: moduleId,
|
|
21
|
+
/******/ l: false,
|
|
22
|
+
/******/ exports: {}
|
|
23
|
+
/******/ };
|
|
24
|
+
/******/
|
|
25
|
+
/******/ // Execute the module function
|
|
26
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
27
|
+
/******/
|
|
28
|
+
/******/ // Flag the module as loaded
|
|
29
|
+
/******/ module.l = true;
|
|
30
|
+
/******/
|
|
31
|
+
/******/ // Return the exports of the module
|
|
32
|
+
/******/ return module.exports;
|
|
33
|
+
/******/ }
|
|
34
|
+
/******/
|
|
35
|
+
/******/
|
|
36
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
37
|
+
/******/ __webpack_require__.m = modules;
|
|
38
|
+
/******/
|
|
39
|
+
/******/ // expose the module cache
|
|
40
|
+
/******/ __webpack_require__.c = installedModules;
|
|
41
|
+
/******/
|
|
42
|
+
/******/ // define getter function for harmony exports
|
|
43
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
44
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
45
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
46
|
+
/******/ }
|
|
47
|
+
/******/ };
|
|
48
|
+
/******/
|
|
49
|
+
/******/ // define __esModule on exports
|
|
50
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
51
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
52
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
53
|
+
/******/ }
|
|
54
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
55
|
+
/******/ };
|
|
56
|
+
/******/
|
|
57
|
+
/******/ // create a fake namespace object
|
|
58
|
+
/******/ // mode & 1: value is a module id, require it
|
|
59
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
60
|
+
/******/ // mode & 4: return value when already ns object
|
|
61
|
+
/******/ // mode & 8|1: behave like require
|
|
62
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
63
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
64
|
+
/******/ if(mode & 8) return value;
|
|
65
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
66
|
+
/******/ var ns = Object.create(null);
|
|
67
|
+
/******/ __webpack_require__.r(ns);
|
|
68
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
69
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
70
|
+
/******/ return ns;
|
|
71
|
+
/******/ };
|
|
72
|
+
/******/
|
|
73
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
74
|
+
/******/ __webpack_require__.n = function(module) {
|
|
75
|
+
/******/ var getter = module && module.__esModule ?
|
|
76
|
+
/******/ function getDefault() { return module['default']; } :
|
|
77
|
+
/******/ function getModuleExports() { return module; };
|
|
78
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
79
|
+
/******/ return getter;
|
|
80
|
+
/******/ };
|
|
81
|
+
/******/
|
|
82
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
83
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
84
|
+
/******/
|
|
85
|
+
/******/ // __webpack_public_path__
|
|
86
|
+
/******/ __webpack_require__.p = "";
|
|
87
|
+
/******/
|
|
88
|
+
/******/
|
|
89
|
+
/******/ // Load entry module and return exports
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 160);
|
|
91
|
+
/******/ })
|
|
92
|
+
/************************************************************************/
|
|
93
|
+
/******/ ([
|
|
94
|
+
/* 0 */
|
|
95
|
+
/***/ (function(module, exports) {
|
|
96
|
+
|
|
97
|
+
module.exports = require("prop-types");
|
|
98
|
+
|
|
99
|
+
/***/ }),
|
|
100
|
+
/* 1 */
|
|
101
|
+
/***/ (function(module, exports) {
|
|
102
|
+
|
|
103
|
+
module.exports = require("react");
|
|
104
|
+
|
|
105
|
+
/***/ }),
|
|
106
|
+
/* 2 */
|
|
107
|
+
/***/ (function(module, exports) {
|
|
108
|
+
|
|
109
|
+
module.exports = require("lodash");
|
|
110
|
+
|
|
111
|
+
/***/ }),
|
|
112
|
+
/* 3 */
|
|
113
|
+
/***/ (function(module, exports) {
|
|
114
|
+
|
|
115
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
116
|
+
|
|
117
|
+
/***/ }),
|
|
118
|
+
/* 4 */
|
|
119
|
+
/***/ (function(module, exports) {
|
|
120
|
+
|
|
121
|
+
module.exports = require("styled-components");
|
|
122
|
+
|
|
123
|
+
/***/ }),
|
|
124
|
+
/* 5 */
|
|
125
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
126
|
+
|
|
127
|
+
"use strict";
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Object.defineProperty(exports, "__esModule", {
|
|
131
|
+
value: true
|
|
132
|
+
});
|
|
133
|
+
exports.VizBehavior = void 0;
|
|
134
|
+
var VizBehavior;
|
|
135
|
+
|
|
136
|
+
(function (VizBehavior) {
|
|
137
|
+
/**
|
|
138
|
+
* Dynamic Options Behavior.
|
|
139
|
+
* This allows visualization options to be powered by data
|
|
140
|
+
*
|
|
141
|
+
* **Example**
|
|
142
|
+
*
|
|
143
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
144
|
+
* would configure sparklineValues with an array of data points
|
|
145
|
+
* coming from the first series in the primary datasource
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
149
|
+
VizBehavior["EVENTS"] = "events";
|
|
150
|
+
/**
|
|
151
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
152
|
+
* missing.
|
|
153
|
+
* @type {string}
|
|
154
|
+
*/
|
|
155
|
+
|
|
156
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
157
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
158
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
159
|
+
|
|
160
|
+
/***/ }),
|
|
161
|
+
/* 6 */
|
|
162
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
163
|
+
|
|
164
|
+
"use strict";
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
var _defineProperty = __webpack_require__(7);
|
|
168
|
+
|
|
169
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
170
|
+
var t = {};
|
|
171
|
+
|
|
172
|
+
for (var p in s) {
|
|
173
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
177
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
178
|
+
}
|
|
179
|
+
return t;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
Object.defineProperty(exports, "__esModule", {
|
|
183
|
+
value: true
|
|
184
|
+
});
|
|
185
|
+
exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
186
|
+
|
|
187
|
+
var lodash_1 = __webpack_require__(2);
|
|
188
|
+
|
|
189
|
+
var schemaUtils_1 = __webpack_require__(14);
|
|
190
|
+
|
|
191
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
192
|
+
|
|
193
|
+
var dynamicOptionsDSLType = {
|
|
194
|
+
type: 'string',
|
|
195
|
+
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Helper function to extend an options schema with dynamic options DSL
|
|
199
|
+
* @param optionsSchema a visualization's options schema
|
|
200
|
+
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
204
|
+
var enhancedOptionsSchema = {};
|
|
205
|
+
Object.keys(optionsSchema).forEach(function (key) {
|
|
206
|
+
var _a = optionsSchema[key],
|
|
207
|
+
title = _a.title,
|
|
208
|
+
description = _a.description,
|
|
209
|
+
readOnly = _a.readOnly,
|
|
210
|
+
writeOnly = _a.writeOnly,
|
|
211
|
+
examples = _a.examples,
|
|
212
|
+
defaultValue = _a.default,
|
|
213
|
+
type = _a.type,
|
|
214
|
+
properties = _a.properties,
|
|
215
|
+
patternProperties = _a.patternProperties,
|
|
216
|
+
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
217
|
+
|
|
218
|
+
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
219
|
+
title: title
|
|
220
|
+
}), description !== undefined && {
|
|
221
|
+
description: description
|
|
222
|
+
}), readOnly !== undefined && {
|
|
223
|
+
readOnly: readOnly
|
|
224
|
+
}), writeOnly !== undefined && {
|
|
225
|
+
writeOnly: writeOnly
|
|
226
|
+
}), examples !== undefined && {
|
|
227
|
+
examples: examples
|
|
228
|
+
}), defaultValue !== undefined && {
|
|
229
|
+
default: defaultValue
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
if (type === 'object') {
|
|
233
|
+
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
234
|
+
type: type
|
|
235
|
+
}), properties && {
|
|
236
|
+
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
if (patternProperties) {
|
|
240
|
+
var enhancedPatternProperties = {};
|
|
241
|
+
Object.keys(patternProperties).forEach(function (opt) {
|
|
242
|
+
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
243
|
+
});
|
|
244
|
+
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
245
|
+
}
|
|
246
|
+
} else {
|
|
247
|
+
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
248
|
+
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
249
|
+
type: type
|
|
250
|
+
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
return enhancedOptionsSchema;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
258
|
+
/**
|
|
259
|
+
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
260
|
+
* @param vizConfig a Visualization Config
|
|
261
|
+
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
262
|
+
*/
|
|
263
|
+
|
|
264
|
+
function enhanceConfig(vizConfig) {
|
|
265
|
+
var enhancedConfig = vizConfig;
|
|
266
|
+
|
|
267
|
+
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
268
|
+
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
return enhancedConfig;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
exports.enhanceConfig = enhanceConfig;
|
|
275
|
+
|
|
276
|
+
function isDynamicOption(option) {
|
|
277
|
+
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
exports.isDynamicOption = isDynamicOption; // private helpers to improve readability of getInitialPreset
|
|
281
|
+
// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset
|
|
285
|
+
* if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset
|
|
286
|
+
* the inverse is true; if a preset has key is NOT undefined, it must also be NOT undefined in the corresponding vizContext
|
|
287
|
+
* the internal config contents are irrelevant (as the user could customize them in source), just as long as the presence of `undefined`s match up
|
|
288
|
+
*
|
|
289
|
+
* Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values
|
|
290
|
+
*/
|
|
291
|
+
|
|
292
|
+
function hasCompatibleContexts(vizContext, presetContext) {
|
|
293
|
+
var presetContextKeys = Object.keys(presetContext);
|
|
294
|
+
return presetContextKeys.every(function (contextKey) {
|
|
295
|
+
return presetContext[contextKey] === undefined && vizContext[contextKey] === undefined || presetContext[contextKey] !== undefined && vizContext[contextKey] !== undefined;
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions
|
|
300
|
+
*/
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
function hasCompatibleOptions(vizOptions, presetOptions) {
|
|
304
|
+
var presetOptionKeys = Object.keys(presetOptions);
|
|
305
|
+
return presetOptionKeys.every(function (optionKey) {
|
|
306
|
+
return isDynamicOption(presetOptions[optionKey]) === isDynamicOption(vizOptions[optionKey]);
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Evaluates whether there is an initialPreset that fits the current state of vizContext + vizOptions
|
|
311
|
+
* This function ignores extraneous vizOptions or vizContext keys, as they could be outside the scope of what the preset is intended to configure
|
|
312
|
+
*
|
|
313
|
+
* @param {Object} vizContext - the current vizContext definition
|
|
314
|
+
* @param {Object} vizOptions - the current vizOptions definition
|
|
315
|
+
* @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset
|
|
316
|
+
*/
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
function getInitialPreset(vizContext, vizOptions, presets) {
|
|
320
|
+
return presets.find(function (preset) {
|
|
321
|
+
var presetContext = lodash_1.get(preset, ['value', 'context'], {});
|
|
322
|
+
var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
|
|
323
|
+
var presetContextKeys = Object.keys(presetContext);
|
|
324
|
+
var presetOptionKeys = Object.keys(presetOptions); // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
|
|
325
|
+
// if not, then the preset is invalid in config.ts
|
|
326
|
+
|
|
327
|
+
if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;
|
|
328
|
+
return hasCompatibleContexts(vizContext, presetContext) && hasCompatibleOptions(vizOptions, presetOptions);
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
exports.getInitialPreset = getInitialPreset;
|
|
333
|
+
/**
|
|
334
|
+
* generates number precision values for a Select editor
|
|
335
|
+
*
|
|
336
|
+
* @param {Number} numPrecisionValues - number of integer precision values to generate
|
|
337
|
+
* @returns {{ label: string; value; string }[]} array of { label, value } tuples
|
|
338
|
+
*/
|
|
339
|
+
|
|
340
|
+
function generatePrecisionValues(numPrecisionValues) {
|
|
341
|
+
return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
|
|
342
|
+
return {
|
|
343
|
+
label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
|
|
344
|
+
value: i
|
|
345
|
+
};
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
exports.generatePrecisionValues = generatePrecisionValues;
|
|
350
|
+
|
|
351
|
+
/***/ }),
|
|
352
|
+
/* 7 */
|
|
353
|
+
/***/ (function(module, exports) {
|
|
354
|
+
|
|
355
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
356
|
+
|
|
357
|
+
/***/ }),
|
|
358
|
+
/* 8 */
|
|
359
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
360
|
+
|
|
361
|
+
"use strict";
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
var _typeof = __webpack_require__(22);
|
|
365
|
+
|
|
366
|
+
Object.defineProperty(exports, "__esModule", {
|
|
367
|
+
value: true
|
|
368
|
+
});
|
|
369
|
+
exports.deepMergeWithArrayOverrides = exports.extendStaticWrapperProps = void 0;
|
|
370
|
+
|
|
371
|
+
var lodash_1 = __webpack_require__(2);
|
|
372
|
+
/**
|
|
373
|
+
* @method extendStaticWrapperProps
|
|
374
|
+
* @param {Object} props
|
|
375
|
+
* @param {DashboardVizType} props.Wrapper
|
|
376
|
+
* @param {DashboardVizType} props.Visualization
|
|
377
|
+
*/
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
381
|
+
var Wrapper = _ref.Wrapper,
|
|
382
|
+
Visualization = _ref.Visualization;
|
|
383
|
+
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
384
|
+
extendProperties.forEach(function (prop) {
|
|
385
|
+
if (Visualization[prop]) {
|
|
386
|
+
// eslint-disable-next-line no-param-reassign
|
|
387
|
+
Wrapper[prop] = Visualization[prop];
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
393
|
+
/**
|
|
394
|
+
* helper to deeply merge objects while preserving arrays in earlier source objects
|
|
395
|
+
* deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays will be preserved if already present in the resultant merged object
|
|
396
|
+
* this prevents default arrays from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one)
|
|
397
|
+
*
|
|
398
|
+
* @method deepMergeWithArrayOverrides
|
|
399
|
+
* @param {Object} initial - target object to merge values into
|
|
400
|
+
* @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
|
|
401
|
+
*
|
|
402
|
+
* @returns {Object}
|
|
403
|
+
*/
|
|
404
|
+
|
|
405
|
+
var deepMergeWithArrayOverrides = function deepMergeWithArrayOverrides(initial) {
|
|
406
|
+
var clone = lodash_1.cloneDeep(initial);
|
|
407
|
+
|
|
408
|
+
for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
409
|
+
sources[_key - 1] = arguments[_key];
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
sources.forEach(function (sourceToApply) {
|
|
413
|
+
Object.keys(sourceToApply).forEach(function (sourceKey) {
|
|
414
|
+
if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
|
|
415
|
+
clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
|
|
416
|
+
} // object merging excluding arrays
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
|
|
420
|
+
clone[sourceKey] = exports.deepMergeWithArrayOverrides(clone[sourceKey], sourceToApply[sourceKey]);
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
});
|
|
424
|
+
return clone;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
|
|
428
|
+
|
|
429
|
+
/***/ }),
|
|
430
|
+
/* 9 */
|
|
431
|
+
/***/ (function(module, exports) {
|
|
432
|
+
|
|
433
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
434
|
+
|
|
435
|
+
/***/ }),
|
|
436
|
+
/* 10 */
|
|
437
|
+
/***/ (function(module, exports) {
|
|
438
|
+
|
|
439
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
440
|
+
|
|
441
|
+
/***/ }),
|
|
442
|
+
/* 11 */
|
|
443
|
+
/***/ (function(module, exports) {
|
|
444
|
+
|
|
445
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
446
|
+
|
|
447
|
+
/***/ }),
|
|
448
|
+
/* 12 */
|
|
449
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
450
|
+
|
|
451
|
+
"use strict";
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
Object.defineProperty(exports, "__esModule", {
|
|
455
|
+
value: true
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
var React = __webpack_require__(1);
|
|
459
|
+
|
|
460
|
+
var styled_components_1 = __webpack_require__(4);
|
|
461
|
+
|
|
462
|
+
var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
463
|
+
|
|
464
|
+
var style_1 = __webpack_require__(13);
|
|
465
|
+
|
|
466
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
467
|
+
|
|
468
|
+
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
469
|
+
var width = _ref.width;
|
|
470
|
+
return {
|
|
471
|
+
style: {
|
|
472
|
+
width: style_1.toPx(width)
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
}).withConfig({
|
|
476
|
+
displayName: "FixedSizeContainer__Item",
|
|
477
|
+
componentId: "sc-1yhgpod-0"
|
|
478
|
+
})(["position:relative;background-color:", "};"], function (props) {
|
|
479
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
480
|
+
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
481
|
+
|
|
482
|
+
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
483
|
+
var width = _ref2.width,
|
|
484
|
+
height = _ref2.height;
|
|
485
|
+
return {
|
|
486
|
+
style: Object.assign(Object.assign({}, width && {
|
|
487
|
+
width: style_1.toPx(width)
|
|
488
|
+
}), height && {
|
|
489
|
+
height: style_1.toPx(height)
|
|
490
|
+
})
|
|
491
|
+
};
|
|
492
|
+
}).withConfig({
|
|
493
|
+
displayName: "FixedSizeContainer__FixSizeItem",
|
|
494
|
+
componentId: "sc-1yhgpod-1"
|
|
495
|
+
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
496
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
497
|
+
});
|
|
498
|
+
var ItemContent = styled_components_1.default.div.withConfig({
|
|
499
|
+
displayName: "FixedSizeContainer__ItemContent",
|
|
500
|
+
componentId: "sc-1yhgpod-2"
|
|
501
|
+
})(["position:relative;min-height:100px;width:100%;"]);
|
|
502
|
+
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
503
|
+
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
504
|
+
componentId: "sc-1yhgpod-3"
|
|
505
|
+
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
506
|
+
|
|
507
|
+
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
508
|
+
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
509
|
+
var width = props.width,
|
|
510
|
+
height = props.height,
|
|
511
|
+
backgroundColor = props.backgroundColor;
|
|
512
|
+
|
|
513
|
+
if (!height) {
|
|
514
|
+
return React.createElement(Item, {
|
|
515
|
+
"data-test": "item",
|
|
516
|
+
width: width,
|
|
517
|
+
backgroundColor: backgroundColor
|
|
518
|
+
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
return React.createElement(FixSizeItem, {
|
|
522
|
+
"data-test": "fix-size-item",
|
|
523
|
+
width: width,
|
|
524
|
+
height: height,
|
|
525
|
+
backgroundColor: backgroundColor
|
|
526
|
+
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
527
|
+
var newWidth = _ref3.width,
|
|
528
|
+
newHeight = _ref3.height;
|
|
529
|
+
return React.createElement(Viz, Object.assign({}, props, {
|
|
530
|
+
width: newWidth,
|
|
531
|
+
height: newHeight
|
|
532
|
+
}));
|
|
533
|
+
})));
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
537
|
+
return FixedSizeContainer;
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
exports.default = withFixedSizeContainer;
|
|
541
|
+
|
|
542
|
+
/***/ }),
|
|
543
|
+
/* 13 */
|
|
544
|
+
/***/ (function(module, exports) {
|
|
545
|
+
|
|
546
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
547
|
+
|
|
548
|
+
/***/ }),
|
|
549
|
+
/* 14 */
|
|
550
|
+
/***/ (function(module, exports) {
|
|
551
|
+
|
|
552
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
553
|
+
|
|
554
|
+
/***/ }),
|
|
555
|
+
/* 15 */,
|
|
556
|
+
/* 16 */
|
|
557
|
+
/***/ (function(module, exports) {
|
|
558
|
+
|
|
559
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
560
|
+
|
|
561
|
+
/***/ }),
|
|
562
|
+
/* 17 */
|
|
563
|
+
/***/ (function(module, exports) {
|
|
564
|
+
|
|
565
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
566
|
+
|
|
567
|
+
/***/ }),
|
|
568
|
+
/* 18 */,
|
|
569
|
+
/* 19 */
|
|
570
|
+
/***/ (function(module, exports) {
|
|
571
|
+
|
|
572
|
+
module.exports = require("@splunk/themes/variables");
|
|
573
|
+
|
|
574
|
+
/***/ }),
|
|
575
|
+
/* 20 */
|
|
576
|
+
/***/ (function(module, exports) {
|
|
577
|
+
|
|
578
|
+
module.exports = require("@splunk/themes/pick");
|
|
579
|
+
|
|
580
|
+
/***/ }),
|
|
581
|
+
/* 21 */
|
|
582
|
+
/***/ (function(module, exports) {
|
|
583
|
+
|
|
584
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
585
|
+
|
|
586
|
+
/***/ }),
|
|
587
|
+
/* 22 */
|
|
588
|
+
/***/ (function(module, exports) {
|
|
589
|
+
|
|
590
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
591
|
+
|
|
592
|
+
/***/ }),
|
|
593
|
+
/* 23 */
|
|
594
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
595
|
+
|
|
596
|
+
"use strict";
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
var _defineProperty = __webpack_require__(7);
|
|
600
|
+
|
|
601
|
+
Object.defineProperty(exports, "__esModule", {
|
|
602
|
+
value: true
|
|
603
|
+
});
|
|
604
|
+
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
605
|
+
|
|
606
|
+
var T = __webpack_require__(0);
|
|
607
|
+
|
|
608
|
+
var lodash_1 = __webpack_require__(2);
|
|
609
|
+
|
|
610
|
+
var DataSource_1 = __webpack_require__(33);
|
|
611
|
+
|
|
612
|
+
exports.SortParamsPropTypes = T.shape({
|
|
613
|
+
currentSortKey: T.string,
|
|
614
|
+
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
615
|
+
onSort: T.func
|
|
616
|
+
});
|
|
617
|
+
|
|
618
|
+
var getSortingParams = function getSortingParams(_ref) {
|
|
619
|
+
var requestParams = _ref.requestParams,
|
|
620
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
621
|
+
var currentSortKey;
|
|
622
|
+
var currentSortDir;
|
|
623
|
+
var nextSortDirMap = {
|
|
624
|
+
asc: 'desc',
|
|
625
|
+
desc: 'asc',
|
|
626
|
+
none: 'asc'
|
|
627
|
+
};
|
|
628
|
+
var onSort;
|
|
629
|
+
|
|
630
|
+
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
631
|
+
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
632
|
+
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
633
|
+
currentSortDir = requestParams.sort[currentSortKey];
|
|
634
|
+
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
onSort = function onSort(e, _ref2) {
|
|
638
|
+
var sortKey = _ref2.sortKey,
|
|
639
|
+
sortDir = _ref2.sortDir;
|
|
640
|
+
|
|
641
|
+
if (typeof sortKey === 'string') {
|
|
642
|
+
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
643
|
+
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
644
|
+
offset: 0,
|
|
645
|
+
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
646
|
+
}));
|
|
647
|
+
} else {
|
|
648
|
+
onRequestParamsChange(requestParams);
|
|
649
|
+
}
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
return {
|
|
654
|
+
currentSortKey: currentSortKey,
|
|
655
|
+
currentSortDir: currentSortDir,
|
|
656
|
+
onSort: onSort
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
exports.getSortingParams = getSortingParams;
|
|
661
|
+
|
|
662
|
+
/***/ }),
|
|
663
|
+
/* 24 */
|
|
664
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
665
|
+
|
|
666
|
+
"use strict";
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
Object.defineProperty(exports, "__esModule", {
|
|
670
|
+
value: true
|
|
671
|
+
});
|
|
672
|
+
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
673
|
+
|
|
674
|
+
var T = __webpack_require__(0);
|
|
675
|
+
|
|
676
|
+
var lodash_1 = __webpack_require__(2);
|
|
677
|
+
|
|
678
|
+
exports.PaginatorParamsPropTypes = T.shape({
|
|
679
|
+
isPaging: T.bool,
|
|
680
|
+
current: T.number,
|
|
681
|
+
totalPages: T.number,
|
|
682
|
+
onChange: T.func
|
|
683
|
+
});
|
|
684
|
+
|
|
685
|
+
var getPaginationParams = function getPaginationParams(_ref) {
|
|
686
|
+
var requestParams = _ref.requestParams,
|
|
687
|
+
meta = _ref.meta,
|
|
688
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
689
|
+
var totalCount = meta && meta.totalCount || 0;
|
|
690
|
+
var offset = requestParams && requestParams.offset || 0;
|
|
691
|
+
var count = requestParams && requestParams.count;
|
|
692
|
+
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
693
|
+
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
694
|
+
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
695
|
+
|
|
696
|
+
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
697
|
+
var page = _ref2.page,
|
|
698
|
+
countArg = _ref2.count;
|
|
699
|
+
var newParams = lodash_1.cloneDeep(requestParams);
|
|
700
|
+
|
|
701
|
+
if (typeof countArg === 'number') {
|
|
702
|
+
newParams.count = countArg;
|
|
703
|
+
newParams.offset = 0;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
707
|
+
|
|
708
|
+
if (typeof page === 'number' && page > 0) {
|
|
709
|
+
newParams.count = pageCount;
|
|
710
|
+
newParams.offset = (page - 1) * pageCount;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
onRequestParamsChange(newParams);
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
return {
|
|
717
|
+
isPaging: isPaging,
|
|
718
|
+
current: current,
|
|
719
|
+
totalPages: totalPages,
|
|
720
|
+
onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
exports.getPaginationParams = getPaginationParams;
|
|
725
|
+
|
|
726
|
+
/***/ }),
|
|
727
|
+
/* 25 */
|
|
728
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
729
|
+
|
|
730
|
+
"use strict";
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
Object.defineProperty(exports, "__esModule", {
|
|
734
|
+
value: true
|
|
735
|
+
});
|
|
736
|
+
exports.shouldShowIconPlaceholder = void 0;
|
|
737
|
+
|
|
738
|
+
var React = __webpack_require__(1);
|
|
739
|
+
|
|
740
|
+
var T = __webpack_require__(0);
|
|
741
|
+
|
|
742
|
+
var lodash_1 = __webpack_require__(2);
|
|
743
|
+
|
|
744
|
+
var i18n_1 = __webpack_require__(3);
|
|
745
|
+
|
|
746
|
+
var Message_1 = __webpack_require__(9);
|
|
747
|
+
|
|
748
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
749
|
+
/**
|
|
750
|
+
* @method shouldShowIconPlaceholder
|
|
751
|
+
* @param {object} dataSources
|
|
752
|
+
* @param {boolean} loading
|
|
753
|
+
* @returns {boolean}
|
|
754
|
+
*/
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
758
|
+
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
759
|
+
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
760
|
+
var noData = data === undefined;
|
|
761
|
+
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
762
|
+
var noFields = fields === undefined;
|
|
763
|
+
return loading || noData || noFields;
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
767
|
+
var propTypes = {
|
|
768
|
+
icon: T.func,
|
|
769
|
+
width: T.oneOfType([T.string, T.number]),
|
|
770
|
+
height: T.oneOfType([T.string, T.number]),
|
|
771
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
772
|
+
backgroundColor: T.string
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* @method IconPlaceholder
|
|
776
|
+
* @param {IconPlaceholderProps} props
|
|
777
|
+
* @returns {React.ReactElement}
|
|
778
|
+
*/
|
|
779
|
+
|
|
780
|
+
var IconPlaceholder = function IconPlaceholder(props) {
|
|
781
|
+
var width = props.width,
|
|
782
|
+
height = props.height,
|
|
783
|
+
icon = props.icon;
|
|
784
|
+
|
|
785
|
+
if (icon) {
|
|
786
|
+
return React.createElement(icon, {
|
|
787
|
+
style: {
|
|
788
|
+
left: '50%',
|
|
789
|
+
top: '50%',
|
|
790
|
+
color: 'grey',
|
|
791
|
+
position: 'absolute',
|
|
792
|
+
transform: 'translate(-50%, -50%)'
|
|
793
|
+
},
|
|
794
|
+
width: '50%',
|
|
795
|
+
height: '50%'
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
return React.createElement(Message_1.default, {
|
|
800
|
+
width: width,
|
|
801
|
+
height: height,
|
|
802
|
+
level: "warning",
|
|
803
|
+
message: i18n_1._('No DataSource Connected')
|
|
804
|
+
});
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
IconPlaceholder.propTypes = propTypes;
|
|
808
|
+
IconPlaceholder.defaultProps = {
|
|
809
|
+
width: '100%',
|
|
810
|
+
height: 250
|
|
811
|
+
};
|
|
812
|
+
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
813
|
+
|
|
814
|
+
/***/ }),
|
|
815
|
+
/* 26 */
|
|
816
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
817
|
+
|
|
818
|
+
"use strict";
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
Object.defineProperty(exports, "__esModule", {
|
|
822
|
+
value: true
|
|
823
|
+
});
|
|
824
|
+
exports.VizCategory = void 0;
|
|
825
|
+
var VizCategory;
|
|
826
|
+
|
|
827
|
+
(function (VizCategory) {
|
|
828
|
+
VizCategory["SINGLE_VALUE"] = "Single Value";
|
|
829
|
+
VizCategory["TRENDS"] = "Trends";
|
|
830
|
+
VizCategory["COMPARISONS"] = "Comparisons";
|
|
831
|
+
VizCategory["TABLE"] = "Table";
|
|
832
|
+
VizCategory["GAUGE"] = "Gauge";
|
|
833
|
+
VizCategory["DISTRIBUTIONS"] = "Distributions";
|
|
834
|
+
VizCategory["CHOROPLETH"] = "Choropleth Maps";
|
|
835
|
+
VizCategory["SHAPES"] = "Shapes";
|
|
836
|
+
VizCategory["MISC"] = "misc";
|
|
837
|
+
VizCategory["FLOW"] = "Flow";
|
|
838
|
+
VizCategory["CORRELATION"] = "Correlation";
|
|
839
|
+
VizCategory["SPATIAL"] = "Spatial";
|
|
840
|
+
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
841
|
+
|
|
842
|
+
/***/ }),
|
|
843
|
+
/* 27 */
|
|
844
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
845
|
+
|
|
846
|
+
"use strict";
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
Object.defineProperty(exports, "__esModule", {
|
|
850
|
+
value: true
|
|
851
|
+
});
|
|
852
|
+
|
|
853
|
+
var React = __webpack_require__(1);
|
|
854
|
+
|
|
855
|
+
var lodash_1 = __webpack_require__(2);
|
|
856
|
+
|
|
857
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(28);
|
|
858
|
+
|
|
859
|
+
var Options_1 = __webpack_require__(29);
|
|
860
|
+
|
|
861
|
+
var SanitizeProps_1 = __webpack_require__(30);
|
|
862
|
+
|
|
863
|
+
var styled_components_1 = __webpack_require__(4);
|
|
864
|
+
|
|
865
|
+
var SplunkVisualization_1 = __webpack_require__(31);
|
|
866
|
+
|
|
867
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
868
|
+
|
|
869
|
+
var getSorting_1 = __webpack_require__(23);
|
|
870
|
+
|
|
871
|
+
var getPagination_1 = __webpack_require__(24);
|
|
872
|
+
|
|
873
|
+
var useDeepMemo_1 = __webpack_require__(34);
|
|
874
|
+
|
|
875
|
+
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
876
|
+
|
|
877
|
+
var MissingPropsMessage_1 = __webpack_require__(36);
|
|
878
|
+
|
|
879
|
+
var withEditModeCover_1 = __webpack_require__(37);
|
|
880
|
+
|
|
881
|
+
var withPlaceholder_1 = __webpack_require__(38);
|
|
882
|
+
|
|
883
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
884
|
+
/**
|
|
885
|
+
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
886
|
+
* @param {DashboardVizOpts} opts
|
|
887
|
+
* @returns {HOC}
|
|
888
|
+
*/
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
var withDashboardViz = function withDashboardViz(opts) {
|
|
892
|
+
var ReactViz = opts.ReactViz,
|
|
893
|
+
vizConfig = opts.vizConfig,
|
|
894
|
+
_opts$computeVizProps = opts.computeVizProps,
|
|
895
|
+
computeVizProps = _opts$computeVizProps === void 0 ? function () {} : _opts$computeVizProps,
|
|
896
|
+
useIconPlaceholder = opts.useIconPlaceholder; // sanitizing props before sending them to reactviz.
|
|
897
|
+
|
|
898
|
+
var SanitizedReactViz = SanitizeProps_1.withSanitizedProps(ReactViz);
|
|
899
|
+
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
|
|
900
|
+
|
|
901
|
+
var DashboardViz = function DashboardViz(props) {
|
|
902
|
+
var mode = props.mode,
|
|
903
|
+
hasEventHandlers = props.hasEventHandlers,
|
|
904
|
+
dataSources = props.dataSources,
|
|
905
|
+
options = props.options,
|
|
906
|
+
_props$context = props.context,
|
|
907
|
+
context = _props$context === void 0 ? {} : _props$context,
|
|
908
|
+
width = props.width,
|
|
909
|
+
height = props.height,
|
|
910
|
+
onComputedProps = props.onComputedProps,
|
|
911
|
+
onEventTrigger = props.onEventTrigger,
|
|
912
|
+
theme = props.theme,
|
|
913
|
+
onRequestParamsChange = props.onRequestParamsChange;
|
|
914
|
+
|
|
915
|
+
var themeFunc = function themeFunc(themeVar) {
|
|
916
|
+
var _a, _b;
|
|
917
|
+
|
|
918
|
+
return (_b = (_a = vizConfig.themes)[themeVar]) === null || _b === void 0 ? void 0 : _b.call(_a, props);
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
var bgColorFromTheme = themeFunc('defaultBackgroundColor');
|
|
922
|
+
|
|
923
|
+
var _getSettingsFromTheme = getSettingsFromThemedProps_1.default({
|
|
924
|
+
theme: theme
|
|
925
|
+
}),
|
|
926
|
+
currentThemeFamily = _getSettingsFromTheme.family,
|
|
927
|
+
currentThemeColorScheme = _getSettingsFromTheme.colorScheme,
|
|
928
|
+
currentThemeDensity = _getSettingsFromTheme.density;
|
|
929
|
+
|
|
930
|
+
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
931
|
+
|
|
932
|
+
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
933
|
+
try {
|
|
934
|
+
return Options_1.Options.evaluate({
|
|
935
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
936
|
+
options: hocUtils_1.deepMergeWithArrayOverrides({}, options, defaultOptions)
|
|
937
|
+
}, dataSources, themeFunc);
|
|
938
|
+
} catch (e) {
|
|
939
|
+
// eslint-disable-next-line no-console
|
|
940
|
+
console.error("unexpected error evaluating options: + ".concat(e.message));
|
|
941
|
+
return {};
|
|
942
|
+
}
|
|
943
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
|
|
944
|
+
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
945
|
+
|
|
946
|
+
React.useEffect(function () {
|
|
947
|
+
onComputedProps(evaluatedOptions);
|
|
948
|
+
}); // present warning message if any required props are missing
|
|
949
|
+
|
|
950
|
+
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
951
|
+
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
952
|
+
supports = vizConfig.supports;
|
|
953
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptions);
|
|
954
|
+
|
|
955
|
+
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)) {
|
|
956
|
+
return React.createElement(MissingPropsMessage_1.default, {
|
|
957
|
+
"data-test": "missing-props-message",
|
|
958
|
+
width: width,
|
|
959
|
+
height: height,
|
|
960
|
+
missingProps: missing,
|
|
961
|
+
backgroundColor: bgColorFromTheme
|
|
962
|
+
});
|
|
963
|
+
} // events
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
var eventCallbackProps = {};
|
|
967
|
+
|
|
968
|
+
if (hasEventHandlers && mode === 'view' && vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.EVENTS) > -1) {
|
|
969
|
+
var supportedEvents = vizConfig.events;
|
|
970
|
+
Object.keys(supportedEvents).forEach(function (eventName) {
|
|
971
|
+
var eventCallbackPropName = lodash_1.camelCase("on.".concat(eventName));
|
|
972
|
+
eventCallbackProps[eventCallbackPropName] = null; // todo: refactor single value and single value icon to send payload from viz
|
|
973
|
+
// then remove these lines
|
|
974
|
+
|
|
975
|
+
var payloadKeys = supportedEvents[eventName].payloadKeys;
|
|
976
|
+
var payload = {};
|
|
977
|
+
|
|
978
|
+
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
979
|
+
payloadKeys.forEach(function (p) {
|
|
980
|
+
payload[p] = evaluatedOptions[p];
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
eventCallbackProps[eventCallbackPropName] = function (ev) {
|
|
985
|
+
if (ev && ev.payload) {
|
|
986
|
+
payload = ev.payload;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
return onEventTrigger({
|
|
990
|
+
originalEvent: ev,
|
|
991
|
+
payload: payload,
|
|
992
|
+
type: eventName
|
|
993
|
+
});
|
|
994
|
+
};
|
|
995
|
+
});
|
|
996
|
+
} // compute pure viz props which are not from options
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptions), eventCallbackProps), {
|
|
1000
|
+
themeFunc: themeFunc
|
|
1001
|
+
}));
|
|
1002
|
+
/**
|
|
1003
|
+
* PAGE_AND_SORT behavior
|
|
1004
|
+
*
|
|
1005
|
+
* Some visualizations, like table, requires metadata about the datasource,
|
|
1006
|
+
* like total number of results, current count, offset, and sort, for rendering
|
|
1007
|
+
* paginator and sorting direction. In this approach, the visualization
|
|
1008
|
+
* allow users to set 'paginateDataSourceKey' to select which datasource
|
|
1009
|
+
* should the visualization extract the metadata from. It defaults to 'primary' datasource.
|
|
1010
|
+
* The visualization config should set the PAGE_AND_SORT behavior to receive
|
|
1011
|
+
* 'requestParams', 'meta' and onRequestParams callback as props.
|
|
1012
|
+
*
|
|
1013
|
+
* In future, we could automatically detect which all datasources are being used
|
|
1014
|
+
* and bind those magically to pagination/sorting behavior.
|
|
1015
|
+
*/
|
|
1016
|
+
|
|
1017
|
+
var dataSourceMetadata = {};
|
|
1018
|
+
var OptionKey = 'paginateDataSourceKey';
|
|
1019
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptions, OptionKey) && evaluatedOptions[OptionKey] || 'primary';
|
|
1020
|
+
|
|
1021
|
+
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
1022
|
+
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
1023
|
+
var meta = lodash_1.get(dataSources, [paginateDataSourceKey, 'meta'], {});
|
|
1024
|
+
|
|
1025
|
+
var handleRequestParamsChange = function handleRequestParamsChange(payload) {
|
|
1026
|
+
return onRequestParamsChange(paginateDataSourceKey, payload);
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
var sortParams = getSorting_1.getSortingParams({
|
|
1030
|
+
requestParams: requestParams,
|
|
1031
|
+
meta: meta,
|
|
1032
|
+
onRequestParamsChange: handleRequestParamsChange
|
|
1033
|
+
});
|
|
1034
|
+
var paginatorParams = getPagination_1.getPaginationParams({
|
|
1035
|
+
requestParams: requestParams,
|
|
1036
|
+
meta: meta,
|
|
1037
|
+
onRequestParamsChange: handleRequestParamsChange
|
|
1038
|
+
});
|
|
1039
|
+
dataSourceMetadata = {
|
|
1040
|
+
sortParams: sortParams,
|
|
1041
|
+
paginatorParams: paginatorParams
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
return React.createElement(SanitizedReactViz, Object.assign({
|
|
1046
|
+
mode: mode,
|
|
1047
|
+
width: width,
|
|
1048
|
+
height: height
|
|
1049
|
+
}, evaluatedOptions, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
1053
|
+
DashboardViz.defaultProps = Object.assign(Object.assign(Object.assign({}, SplunkVisualization_1.default.defaultProps), ReactViz.defaultProps), {
|
|
1054
|
+
// using withTheme requires component to receive theme prop. In case the consumer did not provide ThemeProvider, a default empty object will prevent warnings.
|
|
1055
|
+
theme: {}
|
|
1056
|
+
}); // attach viz config
|
|
1057
|
+
|
|
1058
|
+
DashboardViz.config = vizConfig; // @ts-ignore: TODO fix sc upgrade TS issues
|
|
1059
|
+
|
|
1060
|
+
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz), useIconPlaceholder));
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
exports.default = withDashboardViz;
|
|
1064
|
+
|
|
1065
|
+
/***/ }),
|
|
1066
|
+
/* 28 */
|
|
1067
|
+
/***/ (function(module, exports) {
|
|
1068
|
+
|
|
1069
|
+
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1070
|
+
|
|
1071
|
+
/***/ }),
|
|
1072
|
+
/* 29 */
|
|
1073
|
+
/***/ (function(module, exports) {
|
|
1074
|
+
|
|
1075
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1076
|
+
|
|
1077
|
+
/***/ }),
|
|
1078
|
+
/* 30 */
|
|
1079
|
+
/***/ (function(module, exports) {
|
|
1080
|
+
|
|
1081
|
+
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1082
|
+
|
|
1083
|
+
/***/ }),
|
|
1084
|
+
/* 31 */
|
|
1085
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1086
|
+
|
|
1087
|
+
"use strict";
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1091
|
+
|
|
1092
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1093
|
+
value: true
|
|
1094
|
+
});
|
|
1095
|
+
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1096
|
+
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1097
|
+
|
|
1098
|
+
var T = __webpack_require__(0);
|
|
1099
|
+
|
|
1100
|
+
var lodash_1 = __webpack_require__(2);
|
|
1101
|
+
|
|
1102
|
+
var VizActionHandler_1 = __webpack_require__(32); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
exports.INITIAL_WIDTH = 250;
|
|
1106
|
+
exports.INITIAL_HEIGHT = 250;
|
|
1107
|
+
/**
|
|
1108
|
+
* A Splunk visualization
|
|
1109
|
+
*/
|
|
1110
|
+
|
|
1111
|
+
var SplunkVisualization = function SplunkVisualization() {
|
|
1112
|
+
_classCallCheck(this, SplunkVisualization);
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
SplunkVisualization.propTypes = {
|
|
1116
|
+
/**
|
|
1117
|
+
* display mode
|
|
1118
|
+
*/
|
|
1119
|
+
mode: T.oneOf(['view', 'edit', 'export']).isRequired,
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* width in pixel or string, defaults to 100%
|
|
1123
|
+
*/
|
|
1124
|
+
width: T.oneOfType([T.string, T.number]).isRequired,
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* height in pixel or string
|
|
1128
|
+
*/
|
|
1129
|
+
height: T.oneOfType([T.string, T.number]).isRequired,
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* visualization context used for dynamic option evaluation
|
|
1133
|
+
*/
|
|
1134
|
+
context: T.object,
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* visualization formatting options
|
|
1138
|
+
*/
|
|
1139
|
+
options: T.object,
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* A callback to update formatting options
|
|
1143
|
+
*/
|
|
1144
|
+
onOptionsChange: T.func,
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* datasource state which include data and request params, object key indicate the datasource type.
|
|
1148
|
+
*/
|
|
1149
|
+
dataSources: T.objectOf(T.shape({
|
|
1150
|
+
/**
|
|
1151
|
+
* current request params
|
|
1152
|
+
*/
|
|
1153
|
+
requestParams: T.object,
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* current dataset
|
|
1157
|
+
*/
|
|
1158
|
+
data: T.shape({
|
|
1159
|
+
fields: T.array,
|
|
1160
|
+
columns: T.array
|
|
1161
|
+
}),
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* error
|
|
1165
|
+
*/
|
|
1166
|
+
error: T.shape({
|
|
1167
|
+
level: T.string,
|
|
1168
|
+
message: T.string
|
|
1169
|
+
}),
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* meta data that came with the dataset
|
|
1173
|
+
*/
|
|
1174
|
+
meta: T.object
|
|
1175
|
+
})),
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* A callback to trigger event
|
|
1179
|
+
*/
|
|
1180
|
+
onEventTrigger: T.func,
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* Inform viz if there are handlers listening to events
|
|
1184
|
+
*/
|
|
1185
|
+
hasEventHandlers: T.bool,
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* A callback to communicate computed props to a consumer
|
|
1189
|
+
*/
|
|
1190
|
+
onComputedProps: T.func,
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* A callback to obtain visualization api
|
|
1194
|
+
*/
|
|
1195
|
+
vizActionHandlerRef: T.func,
|
|
1196
|
+
loading: T.bool,
|
|
1197
|
+
theme: T.object,
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* A callback to request new data with updated request params
|
|
1201
|
+
*/
|
|
1202
|
+
onRequestParamsChange: T.func
|
|
1203
|
+
};
|
|
1204
|
+
/**
|
|
1205
|
+
*
|
|
1206
|
+
*/
|
|
1207
|
+
|
|
1208
|
+
SplunkVisualization.defaultProps = {
|
|
1209
|
+
// BaseVisualization in dashboard-visualizations uses 100% for width but 250 for height
|
|
1210
|
+
width: '100%',
|
|
1211
|
+
height: exports.INITIAL_HEIGHT,
|
|
1212
|
+
dataSources: {},
|
|
1213
|
+
onEventTrigger: function onEventTrigger() {
|
|
1214
|
+
return {};
|
|
1215
|
+
},
|
|
1216
|
+
mode: 'view',
|
|
1217
|
+
hasEventHandlers: false,
|
|
1218
|
+
options: {},
|
|
1219
|
+
context: {},
|
|
1220
|
+
onOptionsChange: function onOptionsChange() {
|
|
1221
|
+
return {};
|
|
1222
|
+
},
|
|
1223
|
+
vizActionHandlerRef: function vizActionHandlerRef() {
|
|
1224
|
+
return new VizActionHandler_1.DefaultVizActionHandler();
|
|
1225
|
+
},
|
|
1226
|
+
onComputedProps: function onComputedProps() {
|
|
1227
|
+
return {};
|
|
1228
|
+
},
|
|
1229
|
+
loading: false,
|
|
1230
|
+
onRequestParamsChange: lodash_1.noop
|
|
1231
|
+
};
|
|
1232
|
+
exports.default = SplunkVisualization;
|
|
1233
|
+
|
|
1234
|
+
/***/ }),
|
|
1235
|
+
/* 32 */
|
|
1236
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1237
|
+
|
|
1238
|
+
"use strict";
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1242
|
+
|
|
1243
|
+
var _createClass = __webpack_require__(16);
|
|
1244
|
+
|
|
1245
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1246
|
+
value: true
|
|
1247
|
+
});
|
|
1248
|
+
exports.DefaultVizActionHandler = void 0;
|
|
1249
|
+
|
|
1250
|
+
var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
1251
|
+
function DefaultVizActionHandler() {
|
|
1252
|
+
_classCallCheck(this, DefaultVizActionHandler);
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
_createClass(DefaultVizActionHandler, [{
|
|
1256
|
+
key: "focus",
|
|
1257
|
+
value: function focus() {// noop
|
|
1258
|
+
}
|
|
1259
|
+
}, {
|
|
1260
|
+
key: "snapshot",
|
|
1261
|
+
value: function snapshot() {
|
|
1262
|
+
return null; // noop
|
|
1263
|
+
}
|
|
1264
|
+
}]);
|
|
1265
|
+
|
|
1266
|
+
return DefaultVizActionHandler;
|
|
1267
|
+
}();
|
|
1268
|
+
|
|
1269
|
+
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1270
|
+
|
|
1271
|
+
/***/ }),
|
|
1272
|
+
/* 33 */
|
|
1273
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1274
|
+
|
|
1275
|
+
"use strict";
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1279
|
+
value: true
|
|
1280
|
+
});
|
|
1281
|
+
exports.validSortDirs = void 0;
|
|
1282
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1283
|
+
|
|
1284
|
+
/***/ }),
|
|
1285
|
+
/* 34 */
|
|
1286
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1287
|
+
|
|
1288
|
+
"use strict";
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1292
|
+
value: true
|
|
1293
|
+
});
|
|
1294
|
+
exports.useDeepMemo = void 0;
|
|
1295
|
+
|
|
1296
|
+
var react_1 = __webpack_require__(1);
|
|
1297
|
+
|
|
1298
|
+
var lodash_1 = __webpack_require__(2);
|
|
1299
|
+
/**
|
|
1300
|
+
* This hook evaluates and stores the result of a passed function and only
|
|
1301
|
+
* re-evaluates the function when passed dependencies change.
|
|
1302
|
+
*
|
|
1303
|
+
* It is different from the internal React useMemo in the following aspects:
|
|
1304
|
+
* - it only stores the last evaluated result
|
|
1305
|
+
* - it uses a deep equality check to determine if dependencies have changed
|
|
1306
|
+
*
|
|
1307
|
+
* Inspired by apollo-client's useDeepMemo
|
|
1308
|
+
*
|
|
1309
|
+
* @param fn the function to be executed and
|
|
1310
|
+
* @param dependencies an array of dependencies
|
|
1311
|
+
*/
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
1315
|
+
var ref = react_1.useRef();
|
|
1316
|
+
|
|
1317
|
+
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
1318
|
+
ref.current = {
|
|
1319
|
+
dependencies: dependencies,
|
|
1320
|
+
value: fn()
|
|
1321
|
+
};
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
return ref.current.value;
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
exports.useDeepMemo = useDeepMemo;
|
|
1328
|
+
|
|
1329
|
+
/***/ }),
|
|
1330
|
+
/* 35 */
|
|
1331
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1332
|
+
|
|
1333
|
+
"use strict";
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1337
|
+
value: true
|
|
1338
|
+
});
|
|
1339
|
+
exports.pickFieldFromJSONSchema = void 0;
|
|
1340
|
+
|
|
1341
|
+
var lodash_1 = __webpack_require__(2);
|
|
1342
|
+
|
|
1343
|
+
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
1344
|
+
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
1345
|
+
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
1346
|
+
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
1347
|
+
accum[k] = optionsSchema[k][fieldName];
|
|
1348
|
+
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
1349
|
+
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
1350
|
+
|
|
1351
|
+
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
1352
|
+
accum[k] = nestedSchema;
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
return accum;
|
|
1357
|
+
}, {});
|
|
1358
|
+
};
|
|
1359
|
+
|
|
1360
|
+
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
1361
|
+
|
|
1362
|
+
/***/ }),
|
|
1363
|
+
/* 36 */
|
|
1364
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1365
|
+
|
|
1366
|
+
"use strict";
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1370
|
+
value: true
|
|
1371
|
+
});
|
|
1372
|
+
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
1373
|
+
|
|
1374
|
+
var React = __webpack_require__(1);
|
|
1375
|
+
|
|
1376
|
+
var T = __webpack_require__(0);
|
|
1377
|
+
|
|
1378
|
+
var i18n_1 = __webpack_require__(3);
|
|
1379
|
+
|
|
1380
|
+
var Message_1 = __webpack_require__(9);
|
|
1381
|
+
|
|
1382
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
1383
|
+
/**
|
|
1384
|
+
* @method isMissing
|
|
1385
|
+
* @param {any} v
|
|
1386
|
+
* @returns {boolean} true if the input value === null or undefined
|
|
1387
|
+
*/
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
var isMissing = function isMissing(v) {
|
|
1391
|
+
return v === null || v === undefined;
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
exports.isMissing = isMissing;
|
|
1395
|
+
/**
|
|
1396
|
+
* @method misskingKeys
|
|
1397
|
+
* @param {string[]} keys
|
|
1398
|
+
* @param {object} target
|
|
1399
|
+
* @returns {string[]} the keys of missing required props
|
|
1400
|
+
*/
|
|
1401
|
+
|
|
1402
|
+
var missingKeys = function missingKeys(keys, target) {
|
|
1403
|
+
return keys.filter(function (k) {
|
|
1404
|
+
return exports.isMissing(target[k]);
|
|
1405
|
+
});
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
exports.missingKeys = missingKeys;
|
|
1409
|
+
var propTypes = {
|
|
1410
|
+
width: T.oneOfType([T.string, T.number]),
|
|
1411
|
+
height: T.oneOfType([T.string, T.number]),
|
|
1412
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
1413
|
+
backgroundColor: T.string,
|
|
1414
|
+
missingProps: T.arrayOf(T.string)
|
|
1415
|
+
};
|
|
1416
|
+
/**
|
|
1417
|
+
* @method MissingPropsMessage
|
|
1418
|
+
* @param {MissingPropsProps} props
|
|
1419
|
+
* @returns {React.ReactElement}
|
|
1420
|
+
*/
|
|
1421
|
+
|
|
1422
|
+
var MissingPropsMessage = function MissingPropsMessage(props) {
|
|
1423
|
+
var width = props.width,
|
|
1424
|
+
height = props.height,
|
|
1425
|
+
missingProps = props.missingProps;
|
|
1426
|
+
return React.createElement(Message_1.default, {
|
|
1427
|
+
"data-test": "message",
|
|
1428
|
+
width: width,
|
|
1429
|
+
height: height,
|
|
1430
|
+
message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
|
|
1431
|
+
});
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
exports.MissingPropsMessage = MissingPropsMessage;
|
|
1435
|
+
exports.MissingPropsMessage.propTypes = propTypes;
|
|
1436
|
+
exports.MissingPropsMessage.defaultProps = {
|
|
1437
|
+
width: '100%',
|
|
1438
|
+
height: 250
|
|
1439
|
+
};
|
|
1440
|
+
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1441
|
+
|
|
1442
|
+
/***/ }),
|
|
1443
|
+
/* 37 */
|
|
1444
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1445
|
+
|
|
1446
|
+
"use strict";
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1450
|
+
value: true
|
|
1451
|
+
});
|
|
1452
|
+
|
|
1453
|
+
var React = __webpack_require__(1);
|
|
1454
|
+
|
|
1455
|
+
var styled_components_1 = __webpack_require__(4);
|
|
1456
|
+
|
|
1457
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1458
|
+
|
|
1459
|
+
var Cover = styled_components_1.default.div.withConfig({
|
|
1460
|
+
displayName: "withEditModeCover__Cover",
|
|
1461
|
+
componentId: "sc-1gsbnxb-0"
|
|
1462
|
+
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1463
|
+
var Blocker = styled_components_1.default.div.withConfig({
|
|
1464
|
+
displayName: "withEditModeCover__Blocker",
|
|
1465
|
+
componentId: "sc-1gsbnxb-1"
|
|
1466
|
+
})(["position:relative;width:100%;height:100%;"]);
|
|
1467
|
+
/**
|
|
1468
|
+
* HOC that renders a cover layer in edit mode
|
|
1469
|
+
* @method withEditModeCover
|
|
1470
|
+
* @param {ExtendedDashViz} Visualization
|
|
1471
|
+
* @returns {ExtendedDashViz} Wrapper
|
|
1472
|
+
*/
|
|
1473
|
+
|
|
1474
|
+
var withEditModeCover = function withEditModeCover(Visualization) {
|
|
1475
|
+
var Wrapper = function Wrapper(props) {
|
|
1476
|
+
var mode = props.mode;
|
|
1477
|
+
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), mode === 'edit' && React.createElement(Cover, {
|
|
1478
|
+
"data-test": "edit-mode-cover"
|
|
1479
|
+
}));
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
hocUtils_1.extendStaticWrapperProps({
|
|
1483
|
+
Wrapper: Wrapper,
|
|
1484
|
+
Visualization: Visualization
|
|
1485
|
+
});
|
|
1486
|
+
return Wrapper;
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
exports.default = withEditModeCover;
|
|
1490
|
+
|
|
1491
|
+
/***/ }),
|
|
1492
|
+
/* 38 */
|
|
1493
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1494
|
+
|
|
1495
|
+
"use strict";
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1499
|
+
value: true
|
|
1500
|
+
});
|
|
1501
|
+
|
|
1502
|
+
var React = __webpack_require__(1);
|
|
1503
|
+
|
|
1504
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
1505
|
+
|
|
1506
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1507
|
+
|
|
1508
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
1509
|
+
|
|
1510
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1511
|
+
|
|
1512
|
+
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1513
|
+
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
1514
|
+
var config = Visualization.config;
|
|
1515
|
+
var themes = config.themes;
|
|
1516
|
+
|
|
1517
|
+
var Wrapper = function Wrapper(props) {
|
|
1518
|
+
var _a;
|
|
1519
|
+
|
|
1520
|
+
var dataSources = props.dataSources,
|
|
1521
|
+
loading = props.loading,
|
|
1522
|
+
options = props.options,
|
|
1523
|
+
height = props.height,
|
|
1524
|
+
width = props.width;
|
|
1525
|
+
var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
|
|
1526
|
+
var bgColorFromTheme = colorUtils_1.isColor(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
|
|
1527
|
+
|
|
1528
|
+
if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
|
|
1529
|
+
return React.createElement(IconPlaceholder_1.default, {
|
|
1530
|
+
"data-test": "icon-placeholder",
|
|
1531
|
+
icon: config.icon,
|
|
1532
|
+
width: width,
|
|
1533
|
+
height: height,
|
|
1534
|
+
backgroundColor: bgColorFromTheme
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
return React.createElement(Visualization, Object.assign({}, props));
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
hocUtils_1.extendStaticWrapperProps({
|
|
1542
|
+
Wrapper: Wrapper,
|
|
1543
|
+
Visualization: Visualization
|
|
1544
|
+
});
|
|
1545
|
+
return Wrapper;
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
exports.default = withPlaceholder;
|
|
1549
|
+
|
|
1550
|
+
/***/ }),
|
|
1551
|
+
/* 39 */
|
|
1552
|
+
/***/ (function(module, exports) {
|
|
1553
|
+
|
|
1554
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1555
|
+
|
|
1556
|
+
/***/ }),
|
|
1557
|
+
/* 40 */
|
|
1558
|
+
/***/ (function(module, exports) {
|
|
1559
|
+
|
|
1560
|
+
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
1561
|
+
|
|
1562
|
+
/***/ }),
|
|
1563
|
+
/* 41 */
|
|
1564
|
+
/***/ (function(module, exports) {
|
|
1565
|
+
|
|
1566
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
1567
|
+
|
|
1568
|
+
/***/ }),
|
|
1569
|
+
/* 42 */,
|
|
1570
|
+
/* 43 */
|
|
1571
|
+
/***/ (function(module, exports) {
|
|
1572
|
+
|
|
1573
|
+
module.exports = require("@babel/runtime/helpers/extends");
|
|
1574
|
+
|
|
1575
|
+
/***/ }),
|
|
1576
|
+
/* 44 */,
|
|
1577
|
+
/* 45 */
|
|
1578
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1579
|
+
|
|
1580
|
+
"use strict";
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1584
|
+
value: true
|
|
1585
|
+
});
|
|
1586
|
+
|
|
1587
|
+
var i18n_1 = __webpack_require__(3);
|
|
1588
|
+
|
|
1589
|
+
var background = function background(_ref) {
|
|
1590
|
+
var label = _ref.label,
|
|
1591
|
+
themes = _ref.themes,
|
|
1592
|
+
labelPosition = _ref.labelPosition;
|
|
1593
|
+
return [{
|
|
1594
|
+
label: i18n_1._(label || 'Background'),
|
|
1595
|
+
option: 'backgroundColor',
|
|
1596
|
+
editor: 'editor.color',
|
|
1597
|
+
editorProps: {
|
|
1598
|
+
labelPosition: labelPosition || 'top',
|
|
1599
|
+
themes: themes
|
|
1600
|
+
}
|
|
1601
|
+
}];
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
exports.default = background;
|
|
1605
|
+
|
|
1606
|
+
/***/ }),
|
|
1607
|
+
/* 46 */,
|
|
1608
|
+
/* 47 */,
|
|
1609
|
+
/* 48 */
|
|
1610
|
+
/***/ (function(module, exports) {
|
|
1611
|
+
|
|
1612
|
+
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1613
|
+
|
|
1614
|
+
/***/ }),
|
|
1615
|
+
/* 49 */,
|
|
1616
|
+
/* 50 */,
|
|
1617
|
+
/* 51 */,
|
|
1618
|
+
/* 52 */,
|
|
1619
|
+
/* 53 */,
|
|
1620
|
+
/* 54 */,
|
|
1621
|
+
/* 55 */,
|
|
1622
|
+
/* 56 */,
|
|
1623
|
+
/* 57 */,
|
|
1624
|
+
/* 58 */,
|
|
1625
|
+
/* 59 */,
|
|
1626
|
+
/* 60 */,
|
|
1627
|
+
/* 61 */,
|
|
1628
|
+
/* 62 */,
|
|
1629
|
+
/* 63 */,
|
|
1630
|
+
/* 64 */,
|
|
1631
|
+
/* 65 */,
|
|
1632
|
+
/* 66 */,
|
|
1633
|
+
/* 67 */,
|
|
1634
|
+
/* 68 */,
|
|
1635
|
+
/* 69 */,
|
|
1636
|
+
/* 70 */,
|
|
1637
|
+
/* 71 */
|
|
1638
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1639
|
+
|
|
1640
|
+
"use strict";
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
var _toConsumableArray = __webpack_require__(39);
|
|
1644
|
+
|
|
1645
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1646
|
+
value: true
|
|
1647
|
+
});
|
|
1648
|
+
exports.convertToGaugeProperties = exports.mapValueLabelDisplay = exports.mapToOldKey = exports.getGradientDimensions = exports.getGradientStops = exports.getGradientStopColors = exports.getGradientStopOffsets = exports.getGaugeRange = exports.validateRanges = exports.getSortedRanges = exports.getMarkerGaugeValueMarkerPositions = exports.getMarkerBarDimensions = exports.getFillerGaugeValueMarkerPositions = exports.getFillBarDimensions = exports.getGaugeBarHeight = exports.getGaugeBarWidth = exports.getGaugeBarStartPositions = exports.getGaugeBarLength = exports.assignGaugeColor = exports.getGaugeDimensions = exports.getGaugeStartPosition = exports.getGaugeLength = exports.getGaugeHeight = exports.getGaugeWidth = exports.FILL_THICKNESS = exports.GAUGE_THICKNESS = void 0;
|
|
1649
|
+
|
|
1650
|
+
var lodash_1 = __webpack_require__(2);
|
|
1651
|
+
|
|
1652
|
+
var colorConstants_1 = __webpack_require__(40);
|
|
1653
|
+
|
|
1654
|
+
var i18n_1 = __webpack_require__(3);
|
|
1655
|
+
|
|
1656
|
+
exports.GAUGE_THICKNESS = 50;
|
|
1657
|
+
exports.FILL_THICKNESS = 38;
|
|
1658
|
+
var GRADIENT_STOP_OFFSET_MIN = 0;
|
|
1659
|
+
var GRADIENT_STOP_OFFSET_MAX = 100;
|
|
1660
|
+
/**
|
|
1661
|
+
* get width for the whole gauge viz for horizontal or vertical view
|
|
1662
|
+
* @method getGaugeWidth
|
|
1663
|
+
* @param {Object} input
|
|
1664
|
+
* @param {Number} containerWidth
|
|
1665
|
+
* @param {String} orientation
|
|
1666
|
+
* @return {Number} width
|
|
1667
|
+
*/
|
|
1668
|
+
|
|
1669
|
+
var getGaugeWidth = function getGaugeWidth(_ref) {
|
|
1670
|
+
var containerWidth = _ref.containerWidth,
|
|
1671
|
+
orientation = _ref.orientation;
|
|
1672
|
+
return orientation === 'vertical' ? exports.GAUGE_THICKNESS : containerWidth * 0.8;
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
exports.getGaugeWidth = getGaugeWidth;
|
|
1676
|
+
/**
|
|
1677
|
+
* get height for the whole gauge viz for horizontal or vertical view
|
|
1678
|
+
* @method getGaugeHeight
|
|
1679
|
+
* @param {Object} input
|
|
1680
|
+
* @param {Number} containerHeight
|
|
1681
|
+
* @param {String} orientation
|
|
1682
|
+
* @return {Number} height
|
|
1683
|
+
*/
|
|
1684
|
+
|
|
1685
|
+
var getGaugeHeight = function getGaugeHeight(_ref2) {
|
|
1686
|
+
var containerHeight = _ref2.containerHeight,
|
|
1687
|
+
orientation = _ref2.orientation;
|
|
1688
|
+
return orientation === 'vertical' ? containerHeight * 0.8 : exports.GAUGE_THICKNESS;
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
exports.getGaugeHeight = getGaugeHeight;
|
|
1692
|
+
/**
|
|
1693
|
+
* get how long the gauge shoud be.
|
|
1694
|
+
* In horizontal view, gauge length equals to gauge width. In vertical view, it equals to gauge height.
|
|
1695
|
+
* @method getGaugeLength
|
|
1696
|
+
* @param {Object} input
|
|
1697
|
+
* @param {Number} input.containerWidth
|
|
1698
|
+
* @param {Number} input.containerHeight
|
|
1699
|
+
* @param {String} input.orientation
|
|
1700
|
+
* @return {Number} gaugeLength
|
|
1701
|
+
*/
|
|
1702
|
+
|
|
1703
|
+
var getGaugeLength = function getGaugeLength(_ref3) {
|
|
1704
|
+
var containerWidth = _ref3.containerWidth,
|
|
1705
|
+
containerHeight = _ref3.containerHeight,
|
|
1706
|
+
orientation = _ref3.orientation;
|
|
1707
|
+
return orientation === 'vertical' ? exports.getGaugeHeight({
|
|
1708
|
+
containerHeight: containerHeight,
|
|
1709
|
+
orientation: orientation
|
|
1710
|
+
}) : exports.getGaugeWidth({
|
|
1711
|
+
containerWidth: containerWidth,
|
|
1712
|
+
orientation: orientation
|
|
1713
|
+
});
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
exports.getGaugeLength = getGaugeLength;
|
|
1717
|
+
/**
|
|
1718
|
+
* get start x and y for rendering gauge
|
|
1719
|
+
* @method getGaugeStartPosition
|
|
1720
|
+
* @param {Object} input
|
|
1721
|
+
* @param {Number} containerWidth
|
|
1722
|
+
* @param {Number} containerHeight
|
|
1723
|
+
* @param {Number} gaugeLength
|
|
1724
|
+
* @param {String} orientation
|
|
1725
|
+
* @return {Object} position
|
|
1726
|
+
* @return {Number} position.gaugeStartX
|
|
1727
|
+
* @return {Number} position.gaugeStartY
|
|
1728
|
+
*/
|
|
1729
|
+
|
|
1730
|
+
var getGaugeStartPosition = function getGaugeStartPosition(_ref4) {
|
|
1731
|
+
var containerWidth = _ref4.containerWidth,
|
|
1732
|
+
containerHeight = _ref4.containerHeight,
|
|
1733
|
+
gaugeLength = _ref4.gaugeLength,
|
|
1734
|
+
orientation = _ref4.orientation;
|
|
1735
|
+
// for horizontal view
|
|
1736
|
+
var gaugeStartX = (containerWidth - gaugeLength) / 2.0;
|
|
1737
|
+
var gaugeStartY = (containerHeight - exports.GAUGE_THICKNESS) / 2.0;
|
|
1738
|
+
|
|
1739
|
+
if (orientation === 'vertical') {
|
|
1740
|
+
gaugeStartX = (containerWidth - exports.GAUGE_THICKNESS) / 2.0;
|
|
1741
|
+
gaugeStartY = (containerHeight - gaugeLength) / 2.0;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
return {
|
|
1745
|
+
gaugeStartX: gaugeStartX,
|
|
1746
|
+
gaugeStartY: gaugeStartY
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
exports.getGaugeStartPosition = getGaugeStartPosition;
|
|
1751
|
+
/**
|
|
1752
|
+
* get dimensions for the whole gauge viz,
|
|
1753
|
+
* which can be useful to calculate background bar and major ticks positions.
|
|
1754
|
+
* @method getGaugeDimensions
|
|
1755
|
+
* @param {Object} input
|
|
1756
|
+
* @param {Number} input.containerWidth
|
|
1757
|
+
* @param {Number} input.containerHeight
|
|
1758
|
+
* @param {String} input.orientation 'horizontal' or 'vertical'
|
|
1759
|
+
* @return {Object} gaugeDimensions
|
|
1760
|
+
* @return {Number} gaugeDimensions.gaugeLength how long the gauge shoud be in horizontal or vertical orientation.
|
|
1761
|
+
* @return {Number} gaugeDimensions.gaugeStartX start x to render gauge
|
|
1762
|
+
* @return {Number} gaugeDimensions.gaugeStartY start y to render gauge
|
|
1763
|
+
* @return {Number} gaugeDimensions.gaugeWidth natural width of gauge
|
|
1764
|
+
* @return {Number} gaugeDimensions.gaugeHeight natural height of gauge
|
|
1765
|
+
*/
|
|
1766
|
+
|
|
1767
|
+
var getGaugeDimensions = function getGaugeDimensions(_ref5) {
|
|
1768
|
+
var containerWidth = _ref5.containerWidth,
|
|
1769
|
+
containerHeight = _ref5.containerHeight,
|
|
1770
|
+
orientation = _ref5.orientation;
|
|
1771
|
+
var gaugeLength = exports.getGaugeLength({
|
|
1772
|
+
containerWidth: containerWidth,
|
|
1773
|
+
containerHeight: containerHeight,
|
|
1774
|
+
orientation: orientation
|
|
1775
|
+
});
|
|
1776
|
+
|
|
1777
|
+
var _exports$getGaugeStar = exports.getGaugeStartPosition({
|
|
1778
|
+
containerWidth: containerWidth,
|
|
1779
|
+
containerHeight: containerHeight,
|
|
1780
|
+
gaugeLength: gaugeLength,
|
|
1781
|
+
orientation: orientation
|
|
1782
|
+
}),
|
|
1783
|
+
gaugeStartX = _exports$getGaugeStar.gaugeStartX,
|
|
1784
|
+
gaugeStartY = _exports$getGaugeStar.gaugeStartY;
|
|
1785
|
+
|
|
1786
|
+
var gaugeWidth = exports.getGaugeWidth({
|
|
1787
|
+
containerWidth: containerWidth,
|
|
1788
|
+
orientation: orientation
|
|
1789
|
+
});
|
|
1790
|
+
var gaugeHeight = exports.getGaugeHeight({
|
|
1791
|
+
containerHeight: containerHeight,
|
|
1792
|
+
orientation: orientation
|
|
1793
|
+
});
|
|
1794
|
+
return {
|
|
1795
|
+
gaugeLength: gaugeLength,
|
|
1796
|
+
gaugeStartX: gaugeStartX,
|
|
1797
|
+
gaugeStartY: gaugeStartY,
|
|
1798
|
+
gaugeWidth: gaugeWidth,
|
|
1799
|
+
gaugeHeight: gaugeHeight
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1802
|
+
|
|
1803
|
+
exports.getGaugeDimensions = getGaugeDimensions;
|
|
1804
|
+
/**
|
|
1805
|
+
* if gaugeColor is not specified, auto assign a gauge color to the fill bar
|
|
1806
|
+
* based on how much percentage the value is taken between min and max
|
|
1807
|
+
* @method assignGaugeColor
|
|
1808
|
+
* @params
|
|
1809
|
+
* */
|
|
1810
|
+
|
|
1811
|
+
var assignGaugeColor = function assignGaugeColor(_ref6) {
|
|
1812
|
+
var value = _ref6.value,
|
|
1813
|
+
min = _ref6.min,
|
|
1814
|
+
max = _ref6.max;
|
|
1815
|
+
var rate = (value - min) / (max - min);
|
|
1816
|
+
|
|
1817
|
+
if (rate <= 0.3) {
|
|
1818
|
+
return colorConstants_1.SEMANTIC_SUCCESS;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
if (rate > 0.3 && rate <= 0.6) {
|
|
1822
|
+
return colorConstants_1.SEMANTIC_WARNING;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
return colorConstants_1.SEMANTIC_ERROR;
|
|
1826
|
+
};
|
|
1827
|
+
|
|
1828
|
+
exports.assignGaugeColor = assignGaugeColor;
|
|
1829
|
+
/**
|
|
1830
|
+
* get inner bar length in gauge
|
|
1831
|
+
* @method getGaugeBarLength
|
|
1832
|
+
* @param {Object} input
|
|
1833
|
+
* @param {Number} input.gaugeLength
|
|
1834
|
+
* @param {Number} input.value
|
|
1835
|
+
* @param {Number} input.min
|
|
1836
|
+
* @param {Number} input.max
|
|
1837
|
+
* @return {Number} gaugeBarLength
|
|
1838
|
+
*/
|
|
1839
|
+
|
|
1840
|
+
var getGaugeBarLength = function getGaugeBarLength(_ref7) {
|
|
1841
|
+
var gaugeLength = _ref7.gaugeLength,
|
|
1842
|
+
value = _ref7.value,
|
|
1843
|
+
min = _ref7.min,
|
|
1844
|
+
max = _ref7.max;
|
|
1845
|
+
|
|
1846
|
+
if (max < min) {
|
|
1847
|
+
return null;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
if (value >= max) {
|
|
1851
|
+
return gaugeLength;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
if (value < min) {
|
|
1855
|
+
return 0;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
return gaugeLength * (value - min) / (max - min);
|
|
1859
|
+
};
|
|
1860
|
+
|
|
1861
|
+
exports.getGaugeBarLength = getGaugeBarLength;
|
|
1862
|
+
/**
|
|
1863
|
+
* get x and y position for rendering inner bar in gauge
|
|
1864
|
+
* @method getGaugeBarStartPositions
|
|
1865
|
+
* @param {Object} input
|
|
1866
|
+
* @param {Number} input.gaugeStartX
|
|
1867
|
+
* @param {Number} input.gaugeStartY
|
|
1868
|
+
* @param {Number} input.gaugeWidth
|
|
1869
|
+
* @param {Number} input.gaugeHeight
|
|
1870
|
+
* @param {Number} input.gaugeBarLength
|
|
1871
|
+
* @param {String} input.orientation
|
|
1872
|
+
* @return {Object} position
|
|
1873
|
+
* @return {Number} position.gaugeBarX
|
|
1874
|
+
* @return {Number} position.gaugeBarY
|
|
1875
|
+
*/
|
|
1876
|
+
|
|
1877
|
+
var getGaugeBarStartPositions = function getGaugeBarStartPositions(_ref8) {
|
|
1878
|
+
var gaugeStartX = _ref8.gaugeStartX,
|
|
1879
|
+
gaugeStartY = _ref8.gaugeStartY,
|
|
1880
|
+
gaugeWidth = _ref8.gaugeWidth,
|
|
1881
|
+
gaugeHeight = _ref8.gaugeHeight,
|
|
1882
|
+
gaugeBarLength = _ref8.gaugeBarLength,
|
|
1883
|
+
orientation = _ref8.orientation;
|
|
1884
|
+
var gaugeBarX = gaugeStartX;
|
|
1885
|
+
var gaugeBarY = gaugeStartY;
|
|
1886
|
+
|
|
1887
|
+
if (orientation === 'vertical') {
|
|
1888
|
+
gaugeBarX += (gaugeWidth - exports.FILL_THICKNESS) / 2;
|
|
1889
|
+
gaugeBarY += gaugeHeight - gaugeBarLength;
|
|
1890
|
+
} else {
|
|
1891
|
+
gaugeBarY += (gaugeHeight - exports.FILL_THICKNESS) / 2;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
return {
|
|
1895
|
+
gaugeBarX: gaugeBarX,
|
|
1896
|
+
gaugeBarY: gaugeBarY
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
exports.getGaugeBarStartPositions = getGaugeBarStartPositions;
|
|
1901
|
+
/**
|
|
1902
|
+
* get width of inner bar in gauge
|
|
1903
|
+
* @method getGaugeBarWidth
|
|
1904
|
+
* @param {Object} input
|
|
1905
|
+
* @param {Number} input.gaugeBarLength
|
|
1906
|
+
* @param {String} orientation
|
|
1907
|
+
* @return {Number} gaugeBarWidth
|
|
1908
|
+
*/
|
|
1909
|
+
|
|
1910
|
+
var getGaugeBarWidth = function getGaugeBarWidth(_ref9) {
|
|
1911
|
+
var gaugeBarLength = _ref9.gaugeBarLength,
|
|
1912
|
+
orientation = _ref9.orientation;
|
|
1913
|
+
return orientation === 'vertical' ? exports.FILL_THICKNESS : gaugeBarLength;
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1916
|
+
exports.getGaugeBarWidth = getGaugeBarWidth;
|
|
1917
|
+
/**
|
|
1918
|
+
* get height of inner bar in gauge
|
|
1919
|
+
* @method getGaugeBarWidth
|
|
1920
|
+
* @param {Object} input
|
|
1921
|
+
* @param {Number} input.gaugeBarLength
|
|
1922
|
+
* @param {String} orientation
|
|
1923
|
+
* @return {Number} gaugeBarHeight
|
|
1924
|
+
*/
|
|
1925
|
+
|
|
1926
|
+
var getGaugeBarHeight = function getGaugeBarHeight(_ref10) {
|
|
1927
|
+
var gaugeBarLength = _ref10.gaugeBarLength,
|
|
1928
|
+
orientation = _ref10.orientation;
|
|
1929
|
+
return orientation === 'vertical' ? gaugeBarLength : exports.FILL_THICKNESS;
|
|
1930
|
+
};
|
|
1931
|
+
|
|
1932
|
+
exports.getGaugeBarHeight = getGaugeBarHeight;
|
|
1933
|
+
/**
|
|
1934
|
+
* get dimensions for the fill bar in the gauge
|
|
1935
|
+
* @method getFillBarDimensions
|
|
1936
|
+
* @param {Object} input
|
|
1937
|
+
* @param {Number} input.gaugeLength
|
|
1938
|
+
* @param {Number} input.gaugeStartX
|
|
1939
|
+
* @param {Number} input.gaugeStartY
|
|
1940
|
+
* @param {Number} input.gaugeWidth,
|
|
1941
|
+
* @param {Number} input.gaugeHeight,
|
|
1942
|
+
* @param {Number} input.value,
|
|
1943
|
+
* @param {Number} input.min,
|
|
1944
|
+
* @param {Number} input.max,
|
|
1945
|
+
* @param {String} input.orientation
|
|
1946
|
+
* @return {Object} fillBarDimensions
|
|
1947
|
+
* @return {Number} fillBarDimensions.fillBarLength
|
|
1948
|
+
* @return {Number} fillBarDimensions.fillBarX
|
|
1949
|
+
* @return {Number} fillBarDimensions.fillBarY
|
|
1950
|
+
* @return {Number} fillBarDimensions.fillBarWidth
|
|
1951
|
+
* @return {Number} fillBarDimensions.fillBarHeight
|
|
1952
|
+
*/
|
|
1953
|
+
|
|
1954
|
+
var getFillBarDimensions = function getFillBarDimensions(_ref11) {
|
|
1955
|
+
var gaugeLength = _ref11.gaugeLength,
|
|
1956
|
+
gaugeStartX = _ref11.gaugeStartX,
|
|
1957
|
+
gaugeStartY = _ref11.gaugeStartY,
|
|
1958
|
+
gaugeWidth = _ref11.gaugeWidth,
|
|
1959
|
+
gaugeHeight = _ref11.gaugeHeight,
|
|
1960
|
+
value = _ref11.value,
|
|
1961
|
+
min = _ref11.min,
|
|
1962
|
+
max = _ref11.max,
|
|
1963
|
+
orientation = _ref11.orientation;
|
|
1964
|
+
var gaugeBarLength = exports.getGaugeBarLength({
|
|
1965
|
+
gaugeLength: gaugeLength,
|
|
1966
|
+
value: value,
|
|
1967
|
+
max: max,
|
|
1968
|
+
min: min
|
|
1969
|
+
});
|
|
1970
|
+
|
|
1971
|
+
var _exports$getGaugeBarS = exports.getGaugeBarStartPositions({
|
|
1972
|
+
gaugeStartX: gaugeStartX,
|
|
1973
|
+
gaugeStartY: gaugeStartY,
|
|
1974
|
+
gaugeWidth: gaugeWidth,
|
|
1975
|
+
gaugeHeight: gaugeHeight,
|
|
1976
|
+
gaugeBarLength: gaugeBarLength,
|
|
1977
|
+
orientation: orientation
|
|
1978
|
+
}),
|
|
1979
|
+
fillBarX = _exports$getGaugeBarS.gaugeBarX,
|
|
1980
|
+
fillBarY = _exports$getGaugeBarS.gaugeBarY;
|
|
1981
|
+
|
|
1982
|
+
var fillBarWidth = exports.getGaugeBarWidth({
|
|
1983
|
+
gaugeBarLength: gaugeBarLength,
|
|
1984
|
+
orientation: orientation
|
|
1985
|
+
});
|
|
1986
|
+
var fillBarHeight = exports.getGaugeBarHeight({
|
|
1987
|
+
gaugeBarLength: gaugeBarLength,
|
|
1988
|
+
orientation: orientation
|
|
1989
|
+
});
|
|
1990
|
+
return {
|
|
1991
|
+
fillBarLength: gaugeBarLength,
|
|
1992
|
+
fillBarX: fillBarX,
|
|
1993
|
+
fillBarY: fillBarY,
|
|
1994
|
+
fillBarWidth: fillBarWidth,
|
|
1995
|
+
fillBarHeight: fillBarHeight
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1998
|
+
|
|
1999
|
+
exports.getFillBarDimensions = getFillBarDimensions;
|
|
2000
|
+
/**
|
|
2001
|
+
* get position x and y for value marker in filler gauge
|
|
2002
|
+
* @method getFillerGaugeValueMarkerPositions
|
|
2003
|
+
* @param {Object} input
|
|
2004
|
+
* @param {Number} input.fillBarX
|
|
2005
|
+
* @param {Number} input.fillBarY
|
|
2006
|
+
* @param {Number} input.fillBarLength
|
|
2007
|
+
* @param {String} input.orientation
|
|
2008
|
+
* @return {Object} position
|
|
2009
|
+
* @return {Number} position.valueMarkerX
|
|
2010
|
+
* @return {Number} position.valueMarkerY
|
|
2011
|
+
*/
|
|
2012
|
+
|
|
2013
|
+
var getFillerGaugeValueMarkerPositions = function getFillerGaugeValueMarkerPositions(_ref12) {
|
|
2014
|
+
var fillBarX = _ref12.fillBarX,
|
|
2015
|
+
fillBarY = _ref12.fillBarY,
|
|
2016
|
+
fillBarLength = _ref12.fillBarLength,
|
|
2017
|
+
orientation = _ref12.orientation;
|
|
2018
|
+
var valueMarkerX = fillBarX;
|
|
2019
|
+
var valueMarkerY = fillBarY;
|
|
2020
|
+
|
|
2021
|
+
if (orientation === 'vertical') {
|
|
2022
|
+
valueMarkerX -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2023
|
+
} else {
|
|
2024
|
+
valueMarkerX += fillBarLength;
|
|
2025
|
+
valueMarkerY -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
return {
|
|
2029
|
+
valueMarkerX: valueMarkerX,
|
|
2030
|
+
valueMarkerY: valueMarkerY
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
exports.getFillerGaugeValueMarkerPositions = getFillerGaugeValueMarkerPositions;
|
|
2035
|
+
/**
|
|
2036
|
+
* get dimensions for the marker bar in the gauge
|
|
2037
|
+
* @method getMarkerBarDimensions
|
|
2038
|
+
* @param {Object} input
|
|
2039
|
+
* @param {Number} input.gaugeLength
|
|
2040
|
+
* @param {Number} input.gaugeStartX
|
|
2041
|
+
* @param {Number} input.gaugeStartY
|
|
2042
|
+
* @param {Number} input.gaugeWidth,
|
|
2043
|
+
* @param {Number} input.gaugeHeight,
|
|
2044
|
+
* @param {String} input.orientation
|
|
2045
|
+
* @return {Object} markerBarDimensions
|
|
2046
|
+
* @return {Number} markerBarDimensions.markerBarLength
|
|
2047
|
+
* @return {Number} markerBarDimensions.markerBarX
|
|
2048
|
+
* @return {Number} markerBarDimensions.markerBarY
|
|
2049
|
+
* @return {Number} markerBarDimensions.markerBarWidth
|
|
2050
|
+
* @return {Number} markerBarDimensions.markerBarHeight
|
|
2051
|
+
*/
|
|
2052
|
+
|
|
2053
|
+
var getMarkerBarDimensions = function getMarkerBarDimensions(_ref13) {
|
|
2054
|
+
var gaugeLength = _ref13.gaugeLength,
|
|
2055
|
+
gaugeStartX = _ref13.gaugeStartX,
|
|
2056
|
+
gaugeStartY = _ref13.gaugeStartY,
|
|
2057
|
+
gaugeWidth = _ref13.gaugeWidth,
|
|
2058
|
+
gaugeHeight = _ref13.gaugeHeight,
|
|
2059
|
+
orientation = _ref13.orientation;
|
|
2060
|
+
var gaugeBarLength = gaugeLength; // For marker gauge, inner marker bar spans the entire gauge
|
|
2061
|
+
|
|
2062
|
+
var _exports$getGaugeBarS2 = exports.getGaugeBarStartPositions({
|
|
2063
|
+
gaugeStartX: gaugeStartX,
|
|
2064
|
+
gaugeStartY: gaugeStartY,
|
|
2065
|
+
gaugeWidth: gaugeWidth,
|
|
2066
|
+
gaugeHeight: gaugeHeight,
|
|
2067
|
+
gaugeBarLength: gaugeBarLength,
|
|
2068
|
+
orientation: orientation
|
|
2069
|
+
}),
|
|
2070
|
+
markerBarX = _exports$getGaugeBarS2.gaugeBarX,
|
|
2071
|
+
markerBarY = _exports$getGaugeBarS2.gaugeBarY;
|
|
2072
|
+
|
|
2073
|
+
var markerBarWidth = exports.getGaugeBarWidth({
|
|
2074
|
+
gaugeBarLength: gaugeBarLength,
|
|
2075
|
+
orientation: orientation
|
|
2076
|
+
});
|
|
2077
|
+
var markerBarHeight = exports.getGaugeBarHeight({
|
|
2078
|
+
gaugeBarLength: gaugeBarLength,
|
|
2079
|
+
orientation: orientation
|
|
2080
|
+
});
|
|
2081
|
+
return {
|
|
2082
|
+
markerBarLength: gaugeBarLength,
|
|
2083
|
+
markerBarX: markerBarX,
|
|
2084
|
+
markerBarY: markerBarY,
|
|
2085
|
+
markerBarWidth: markerBarWidth,
|
|
2086
|
+
markerBarHeight: markerBarHeight
|
|
2087
|
+
};
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
exports.getMarkerBarDimensions = getMarkerBarDimensions;
|
|
2091
|
+
/**
|
|
2092
|
+
* get position x and y for value marker in marker gauge
|
|
2093
|
+
* @method getMarkerGaugeValueMarkerPositions
|
|
2094
|
+
* @param {Object} input
|
|
2095
|
+
* @param {Number} input.markerBarX
|
|
2096
|
+
* @param {Number} input.markerBarY
|
|
2097
|
+
* @param {Number} input.markerBarHeight
|
|
2098
|
+
* @param {Number} input.markerBarLength
|
|
2099
|
+
* @param {Number} input.value
|
|
2100
|
+
* @param {Number} input.min
|
|
2101
|
+
* @param {Number} input.max
|
|
2102
|
+
* @param {String} input.orientation
|
|
2103
|
+
* @return {Object} position
|
|
2104
|
+
* @return {Number} position.valueMarkerX
|
|
2105
|
+
* @return {Number} position.valueMarkerY
|
|
2106
|
+
*/
|
|
2107
|
+
|
|
2108
|
+
var getMarkerGaugeValueMarkerPositions = function getMarkerGaugeValueMarkerPositions(_ref14) {
|
|
2109
|
+
var markerBarX = _ref14.markerBarX,
|
|
2110
|
+
markerBarY = _ref14.markerBarY,
|
|
2111
|
+
markerBarHeight = _ref14.markerBarHeight,
|
|
2112
|
+
gaugeLength = _ref14.markerBarLength,
|
|
2113
|
+
orientation = _ref14.orientation,
|
|
2114
|
+
value = _ref14.value,
|
|
2115
|
+
min = _ref14.min,
|
|
2116
|
+
max = _ref14.max;
|
|
2117
|
+
var valueMarkerX = markerBarX;
|
|
2118
|
+
var valueMarkerY = markerBarY;
|
|
2119
|
+
|
|
2120
|
+
if (orientation === 'vertical') {
|
|
2121
|
+
valueMarkerY += markerBarHeight - exports.getGaugeBarLength({
|
|
2122
|
+
gaugeLength: gaugeLength,
|
|
2123
|
+
value: value,
|
|
2124
|
+
max: max,
|
|
2125
|
+
min: min
|
|
2126
|
+
});
|
|
2127
|
+
valueMarkerX -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2128
|
+
} else {
|
|
2129
|
+
valueMarkerX += exports.getGaugeBarLength({
|
|
2130
|
+
gaugeLength: gaugeLength,
|
|
2131
|
+
value: value,
|
|
2132
|
+
max: max,
|
|
2133
|
+
min: min
|
|
2134
|
+
});
|
|
2135
|
+
valueMarkerY -= (exports.GAUGE_THICKNESS - exports.FILL_THICKNESS) / 4;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
return {
|
|
2139
|
+
valueMarkerX: valueMarkerX,
|
|
2140
|
+
valueMarkerY: valueMarkerY
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
exports.getMarkerGaugeValueMarkerPositions = getMarkerGaugeValueMarkerPositions;
|
|
2145
|
+
/**
|
|
2146
|
+
* sort the ranges in ascending order
|
|
2147
|
+
* @method getSortedRanges
|
|
2148
|
+
* @param {Array} ranges
|
|
2149
|
+
* @return {Array} sortedRanges
|
|
2150
|
+
*/
|
|
2151
|
+
|
|
2152
|
+
var getSortedRanges = function getSortedRanges(ranges) {
|
|
2153
|
+
return ranges.sort(function (a, b) {
|
|
2154
|
+
return a.from - b.from;
|
|
2155
|
+
});
|
|
2156
|
+
};
|
|
2157
|
+
|
|
2158
|
+
exports.getSortedRanges = getSortedRanges;
|
|
2159
|
+
/**
|
|
2160
|
+
* validate whether ranges prop is valid - continuous ranges, range.to < range.from, range.from != range.to
|
|
2161
|
+
* @method validateRanges
|
|
2162
|
+
* @param {Array} ranges
|
|
2163
|
+
* @return {String} error
|
|
2164
|
+
*/
|
|
2165
|
+
|
|
2166
|
+
var validateRanges = function validateRanges(ranges) {
|
|
2167
|
+
if (!ranges.length) {
|
|
2168
|
+
return i18n_1._('Prop "ranges" is missing entries');
|
|
2169
|
+
} // check whether a range has "from" >= "to" eg: 10 - 10, 100 - 10, -20 - -10 are invalid
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
if (ranges.some(function (range) {
|
|
2173
|
+
return range.from >= range.to;
|
|
2174
|
+
})) {
|
|
2175
|
+
return i18n_1._('Prop "ranges" has invalid entries: invalid range');
|
|
2176
|
+
} // check whether ranges have duplicate "from/to" eg: 0 - 50, 25 - 50
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
if (ranges.length !== lodash_1.uniqBy(ranges, 'to').length || ranges.length !== lodash_1.uniqBy(ranges, 'from').length) {
|
|
2180
|
+
return i18n_1._('Prop "ranges" has invalid entries: duplicate values');
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
var sortedRanges = exports.getSortedRanges(ranges); // check whether ranges are continuous eg: 0 - 10, 10 - 20, 20 - 30
|
|
2184
|
+
|
|
2185
|
+
for (var i = 1; i < sortedRanges.length; i += 1) {
|
|
2186
|
+
if (sortedRanges[i].from !== sortedRanges[i - 1].to) {
|
|
2187
|
+
return i18n_1._('Prop "ranges" has invalid entries: discontinuous ranges');
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
return null;
|
|
2192
|
+
};
|
|
2193
|
+
|
|
2194
|
+
exports.validateRanges = validateRanges;
|
|
2195
|
+
/**
|
|
2196
|
+
* calculate min and max value of gauge
|
|
2197
|
+
* @method getGaugeRange
|
|
2198
|
+
* @param {Array} ranges
|
|
2199
|
+
* @return {Object} gaugeRange
|
|
2200
|
+
* @return {Number} gaugeRange.min
|
|
2201
|
+
* @return {Number} gaugeRange.max
|
|
2202
|
+
*/
|
|
2203
|
+
|
|
2204
|
+
var getGaugeRange = function getGaugeRange(ranges) {
|
|
2205
|
+
var min = Math.min.apply(Math, _toConsumableArray(ranges.map(function (range) {
|
|
2206
|
+
return range.from;
|
|
2207
|
+
})));
|
|
2208
|
+
var max = Math.max.apply(Math, _toConsumableArray(ranges.map(function (range) {
|
|
2209
|
+
return range.to;
|
|
2210
|
+
})));
|
|
2211
|
+
return {
|
|
2212
|
+
min: min,
|
|
2213
|
+
max: max
|
|
2214
|
+
};
|
|
2215
|
+
};
|
|
2216
|
+
|
|
2217
|
+
exports.getGaugeRange = getGaugeRange;
|
|
2218
|
+
/**
|
|
2219
|
+
* calculate stop offsets for linear gradient
|
|
2220
|
+
* @method getGradientStopOffsets
|
|
2221
|
+
* @param {Array} ranges
|
|
2222
|
+
* @param {String} orientation
|
|
2223
|
+
* @return {Array} cumulativeOffsets
|
|
2224
|
+
*/
|
|
2225
|
+
|
|
2226
|
+
var getGradientStopOffsets = function getGradientStopOffsets(_ref15) {
|
|
2227
|
+
var ranges = _ref15.ranges,
|
|
2228
|
+
orientation = _ref15.orientation;
|
|
2229
|
+
|
|
2230
|
+
var _exports$getGaugeRang = exports.getGaugeRange(ranges),
|
|
2231
|
+
min = _exports$getGaugeRang.min,
|
|
2232
|
+
max = _exports$getGaugeRang.max;
|
|
2233
|
+
|
|
2234
|
+
var offsetScale = (GRADIENT_STOP_OFFSET_MAX - GRADIENT_STOP_OFFSET_MIN) / (max - min);
|
|
2235
|
+
var offsets = ranges.map(function (range) {
|
|
2236
|
+
return Math.abs(range.from - range.to) * offsetScale;
|
|
2237
|
+
}); // When orientation is vertical, since the gauge starts from bottom to top, linear gradient should be reversed
|
|
2238
|
+
|
|
2239
|
+
offsets = orientation === 'vertical' ? offsets.reverse() : offsets;
|
|
2240
|
+
var cumulativeOffsets = [];
|
|
2241
|
+
offsets.reduce(function (accumulator, currentValue, idx) {
|
|
2242
|
+
cumulativeOffsets[idx] = accumulator + currentValue;
|
|
2243
|
+
return cumulativeOffsets[idx];
|
|
2244
|
+
}, 0);
|
|
2245
|
+
return cumulativeOffsets;
|
|
2246
|
+
};
|
|
2247
|
+
|
|
2248
|
+
exports.getGradientStopOffsets = getGradientStopOffsets;
|
|
2249
|
+
/**
|
|
2250
|
+
* calculate stop colors for linear gradient
|
|
2251
|
+
* @method getGradientStopColors
|
|
2252
|
+
* @param {Array} ranges
|
|
2253
|
+
* @param {String} orientation
|
|
2254
|
+
* @return {Array} stopColors
|
|
2255
|
+
*/
|
|
2256
|
+
|
|
2257
|
+
var getGradientStopColors = function getGradientStopColors(_ref16) {
|
|
2258
|
+
var ranges = _ref16.ranges,
|
|
2259
|
+
orientation = _ref16.orientation;
|
|
2260
|
+
var stopColors = ranges.map(function (range) {
|
|
2261
|
+
return range.value;
|
|
2262
|
+
}); // When orientation is vertical, since the gauge starts from bottom to top, linear gradient should be reversed
|
|
2263
|
+
|
|
2264
|
+
return orientation === 'vertical' ? stopColors.reverse() : stopColors;
|
|
2265
|
+
};
|
|
2266
|
+
|
|
2267
|
+
exports.getGradientStopColors = getGradientStopColors;
|
|
2268
|
+
/**
|
|
2269
|
+
* calculate linear gradient stops from ranges
|
|
2270
|
+
* @method getGradientStops
|
|
2271
|
+
* @param {Object} input
|
|
2272
|
+
* @param {Array} ranges
|
|
2273
|
+
* @param {String} orientation
|
|
2274
|
+
* @return {Array} stops
|
|
2275
|
+
*/
|
|
2276
|
+
|
|
2277
|
+
var getGradientStops = function getGradientStops(_ref17) {
|
|
2278
|
+
var ranges = _ref17.ranges,
|
|
2279
|
+
orientation = _ref17.orientation;
|
|
2280
|
+
var stops = [];
|
|
2281
|
+
var offsets = exports.getGradientStopOffsets({
|
|
2282
|
+
ranges: ranges,
|
|
2283
|
+
orientation: orientation
|
|
2284
|
+
});
|
|
2285
|
+
var stopColors = exports.getGradientStopColors({
|
|
2286
|
+
ranges: ranges,
|
|
2287
|
+
orientation: orientation
|
|
2288
|
+
}); // Initialize stops with the first color stop
|
|
2289
|
+
|
|
2290
|
+
stops.push({
|
|
2291
|
+
offset: "".concat(offsets[0], "%"),
|
|
2292
|
+
stopColor: stopColors[0]
|
|
2293
|
+
}); // Add the remaining color stops with gradient change at each stop
|
|
2294
|
+
|
|
2295
|
+
for (var i = 1; i < ranges.length; i += 1) {
|
|
2296
|
+
stops.push({
|
|
2297
|
+
offset: "".concat(offsets[i - 1], "%"),
|
|
2298
|
+
stopColor: stopColors[i]
|
|
2299
|
+
});
|
|
2300
|
+
stops.push({
|
|
2301
|
+
offset: "".concat(offsets[i], "%"),
|
|
2302
|
+
stopColor: stopColors[i]
|
|
2303
|
+
});
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
return stops;
|
|
2307
|
+
};
|
|
2308
|
+
|
|
2309
|
+
exports.getGradientStops = getGradientStops;
|
|
2310
|
+
/**
|
|
2311
|
+
* calculate linear gradient dimensions
|
|
2312
|
+
* @method getGradientDimensions
|
|
2313
|
+
* @param {String} orientation
|
|
2314
|
+
* @return {Object} dimensions
|
|
2315
|
+
* @return {String} dimensions.x1
|
|
2316
|
+
* @return {String} dimensions.y1
|
|
2317
|
+
* @return {String} dimensions.x2
|
|
2318
|
+
* @return {String} dimensions.y2
|
|
2319
|
+
*/
|
|
2320
|
+
|
|
2321
|
+
var getGradientDimensions = function getGradientDimensions(orientation) {
|
|
2322
|
+
var x1 = '0%';
|
|
2323
|
+
var y1 = '0%';
|
|
2324
|
+
var x2 = orientation === 'horizontal' ? '100%' : '0%';
|
|
2325
|
+
var y2 = orientation === 'horizontal' ? '0%' : '100%';
|
|
2326
|
+
return {
|
|
2327
|
+
x1: x1,
|
|
2328
|
+
y1: y1,
|
|
2329
|
+
x2: x2,
|
|
2330
|
+
y2: y2
|
|
2331
|
+
};
|
|
2332
|
+
};
|
|
2333
|
+
|
|
2334
|
+
exports.getGradientDimensions = getGradientDimensions; // map for new options names to old option names
|
|
2335
|
+
|
|
2336
|
+
var gaugeOptionsMapping = {
|
|
2337
|
+
majorTickInterval: 'majorUnit',
|
|
2338
|
+
gaugeRanges: 'ranges'
|
|
2339
|
+
};
|
|
2340
|
+
/**
|
|
2341
|
+
* Helper method to update the option names which can be mapped to pure component options
|
|
2342
|
+
* @method mapToOldKey
|
|
2343
|
+
* @param {Object} options
|
|
2344
|
+
* @returns {Object}
|
|
2345
|
+
*/
|
|
2346
|
+
|
|
2347
|
+
var mapToOldKey = function mapToOldKey(options) {
|
|
2348
|
+
return lodash_1.mapKeys(options, function (val, key) {
|
|
2349
|
+
return gaugeOptionsMapping[key] ? gaugeOptionsMapping[key] : key;
|
|
2350
|
+
});
|
|
2351
|
+
};
|
|
2352
|
+
|
|
2353
|
+
exports.mapToOldKey = mapToOldKey;
|
|
2354
|
+
/**
|
|
2355
|
+
* Helper method to map labelDisplay and valueDisplay options to pure component option names
|
|
2356
|
+
* @method mapToOldKey
|
|
2357
|
+
* @param {string} labelOrValue
|
|
2358
|
+
* @param {Object} options
|
|
2359
|
+
* @returns {Object}
|
|
2360
|
+
*/
|
|
2361
|
+
|
|
2362
|
+
var mapValueLabelDisplay = function mapValueLabelDisplay(labelOrValue, options) {
|
|
2363
|
+
var rangeOrValue = labelOrValue === 'value' ? 'Value' : 'Range';
|
|
2364
|
+
var showKey = labelOrValue === 'value' ? 'showValue' : 'showLabels';
|
|
2365
|
+
var percentKey = "usePercentage".concat(rangeOrValue);
|
|
2366
|
+
var optionString = "".concat(labelOrValue, "Display");
|
|
2367
|
+
var newOptions = Object.assign({}, options);
|
|
2368
|
+
|
|
2369
|
+
if (newOptions[optionString]) {
|
|
2370
|
+
if (newOptions[optionString] === 'number') {
|
|
2371
|
+
newOptions[showKey] = true;
|
|
2372
|
+
newOptions[percentKey] = false;
|
|
2373
|
+
} else if (newOptions[optionString] === 'percentage') {
|
|
2374
|
+
newOptions[showKey] = true;
|
|
2375
|
+
newOptions[percentKey] = true;
|
|
2376
|
+
} else {
|
|
2377
|
+
newOptions[showKey] = false;
|
|
2378
|
+
newOptions[percentKey] = false;
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
return lodash_1.omit(newOptions, [optionString]);
|
|
2383
|
+
};
|
|
2384
|
+
|
|
2385
|
+
exports.mapValueLabelDisplay = mapValueLabelDisplay;
|
|
2386
|
+
/**
|
|
2387
|
+
* Chained helper for mapping the option properties (and values) we expose in config.ts into property values that pure component accepts
|
|
2388
|
+
* This is for options that has new key name and can not directly be mapped with pure component props
|
|
2389
|
+
* @method convertToGaugeProperties
|
|
2390
|
+
* @param {Object} originalOptions
|
|
2391
|
+
* @returns {Object}
|
|
2392
|
+
*/
|
|
2393
|
+
|
|
2394
|
+
var convertToGaugeProperties = function convertToGaugeProperties(originalOptions) {
|
|
2395
|
+
return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(function (options) {
|
|
2396
|
+
return exports.mapValueLabelDisplay('label', options);
|
|
2397
|
+
}).thru(function (options) {
|
|
2398
|
+
return exports.mapValueLabelDisplay('value', options);
|
|
2399
|
+
}).value();
|
|
2400
|
+
};
|
|
2401
|
+
|
|
2402
|
+
exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
2403
|
+
|
|
2404
|
+
/***/ }),
|
|
2405
|
+
/* 72 */,
|
|
2406
|
+
/* 73 */,
|
|
2407
|
+
/* 74 */,
|
|
2408
|
+
/* 75 */,
|
|
2409
|
+
/* 76 */,
|
|
2410
|
+
/* 77 */,
|
|
2411
|
+
/* 78 */,
|
|
2412
|
+
/* 79 */,
|
|
2413
|
+
/* 80 */,
|
|
2414
|
+
/* 81 */,
|
|
2415
|
+
/* 82 */,
|
|
2416
|
+
/* 83 */,
|
|
2417
|
+
/* 84 */,
|
|
2418
|
+
/* 85 */,
|
|
2419
|
+
/* 86 */,
|
|
2420
|
+
/* 87 */,
|
|
2421
|
+
/* 88 */,
|
|
2422
|
+
/* 89 */,
|
|
2423
|
+
/* 90 */,
|
|
2424
|
+
/* 91 */,
|
|
2425
|
+
/* 92 */,
|
|
2426
|
+
/* 93 */,
|
|
2427
|
+
/* 94 */,
|
|
2428
|
+
/* 95 */
|
|
2429
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2430
|
+
|
|
2431
|
+
"use strict";
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2435
|
+
value: true
|
|
2436
|
+
});
|
|
2437
|
+
|
|
2438
|
+
var i18n_1 = __webpack_require__(3);
|
|
2439
|
+
|
|
2440
|
+
var gauge = {
|
|
2441
|
+
label: i18n_1._('Gauge Settings'),
|
|
2442
|
+
layout: [[{
|
|
2443
|
+
label: i18n_1._('Value Display'),
|
|
2444
|
+
option: 'valueDisplay',
|
|
2445
|
+
editor: 'editor.radioBar',
|
|
2446
|
+
editorProps: {
|
|
2447
|
+
values: [{
|
|
2448
|
+
label: i18n_1._('Number'),
|
|
2449
|
+
value: 'number'
|
|
2450
|
+
}, {
|
|
2451
|
+
label: i18n_1._('Percentage'),
|
|
2452
|
+
value: 'percentage'
|
|
2453
|
+
}, {
|
|
2454
|
+
label: i18n_1._('Off'),
|
|
2455
|
+
value: 'off'
|
|
2456
|
+
}]
|
|
2457
|
+
}
|
|
2458
|
+
}], [{
|
|
2459
|
+
label: i18n_1._('Label Display'),
|
|
2460
|
+
option: 'labelDisplay',
|
|
2461
|
+
editor: 'editor.radioBar',
|
|
2462
|
+
editorProps: {
|
|
2463
|
+
values: [{
|
|
2464
|
+
label: i18n_1._('Numbers'),
|
|
2465
|
+
value: 'number'
|
|
2466
|
+
}, {
|
|
2467
|
+
label: i18n_1._('Percentages'),
|
|
2468
|
+
value: 'percentage'
|
|
2469
|
+
}, {
|
|
2470
|
+
label: i18n_1._('Off'),
|
|
2471
|
+
value: 'off'
|
|
2472
|
+
}]
|
|
2473
|
+
}
|
|
2474
|
+
}], [{
|
|
2475
|
+
label: i18n_1._('Orientation'),
|
|
2476
|
+
option: 'orientation',
|
|
2477
|
+
editor: 'editor.radioBar',
|
|
2478
|
+
editorProps: {
|
|
2479
|
+
values: [{
|
|
2480
|
+
label: i18n_1._('Vertical'),
|
|
2481
|
+
value: 'vertical'
|
|
2482
|
+
}, {
|
|
2483
|
+
label: i18n_1._('Horizontal'),
|
|
2484
|
+
value: 'horizontal'
|
|
2485
|
+
}]
|
|
2486
|
+
}
|
|
2487
|
+
}]]
|
|
2488
|
+
};
|
|
2489
|
+
exports.default = gauge;
|
|
2490
|
+
|
|
2491
|
+
/***/ }),
|
|
2492
|
+
/* 96 */
|
|
2493
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2494
|
+
|
|
2495
|
+
"use strict";
|
|
2496
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2497
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MajorTick", function() { return MajorTick; });
|
|
2498
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionMajorTick", function() { return positionMajorTick; });
|
|
2499
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
|
2500
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2501
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2502
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2503
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
2504
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2505
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2506
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2507
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21);
|
|
2508
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
var DEFAULT_NUM_OF_TICKS = 5;
|
|
2515
|
+
var TICK_LENGTH_DELTA = 5;
|
|
2516
|
+
var TICK_LABEL_PADDING_FACTOR = 3.2;
|
|
2517
|
+
var MajorTickLine = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.line.withConfig({
|
|
2518
|
+
displayName: "GaugeMajorTicks__MajorTickLine",
|
|
2519
|
+
componentId: "mchiad-0"
|
|
2520
|
+
})(["stroke:", ";stroke-width:2px;stroke-dasharray:", ";"], function (props) {
|
|
2521
|
+
return props.majorTickStrokeColor;
|
|
2522
|
+
}, function (props) {
|
|
2523
|
+
return props.index === 0 ? 0 : 3;
|
|
2524
|
+
});
|
|
2525
|
+
var MajorTickLabel = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.text.withConfig({
|
|
2526
|
+
displayName: "GaugeMajorTicks__MajorTickLabel",
|
|
2527
|
+
componentId: "mchiad-1"
|
|
2528
|
+
})(["font-size:12px;font-family:Splunk Platform Sans,sans-serif;line-height:19px;fill:", ";text-anchor:middle;text-align:center;"], function (props) {
|
|
2529
|
+
return props.majorTickFillColor;
|
|
2530
|
+
});
|
|
2531
|
+
var MajorTick = function MajorTick(_ref) {
|
|
2532
|
+
var index = _ref.index,
|
|
2533
|
+
x1 = _ref.x1,
|
|
2534
|
+
y1 = _ref.y1,
|
|
2535
|
+
x2 = _ref.x2,
|
|
2536
|
+
y2 = _ref.y2,
|
|
2537
|
+
showLabels = _ref.showLabels,
|
|
2538
|
+
label = _ref.label,
|
|
2539
|
+
labelX = _ref.labelX,
|
|
2540
|
+
labelY = _ref.labelY,
|
|
2541
|
+
majorTickStrokeColor = _ref.majorTickStrokeColor,
|
|
2542
|
+
majorTickFillColor = _ref.majorTickFillColor;
|
|
2543
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTickLine, {
|
|
2544
|
+
index: index,
|
|
2545
|
+
x1: x1,
|
|
2546
|
+
y1: y1,
|
|
2547
|
+
x2: x2,
|
|
2548
|
+
y2: y2,
|
|
2549
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
2550
|
+
}), showLabels && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTickLabel, {
|
|
2551
|
+
x: labelX,
|
|
2552
|
+
y: labelY,
|
|
2553
|
+
majorTickFillColor: majorTickFillColor
|
|
2554
|
+
}, Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["isNumerial"])(label) ? Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["formatNumber"])(label, 0, {
|
|
2555
|
+
useThousandSeparators: true,
|
|
2556
|
+
useTrendUnits: true
|
|
2557
|
+
}) : label));
|
|
2558
|
+
};
|
|
2559
|
+
MajorTick.propTypes = {
|
|
2560
|
+
index: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2561
|
+
x1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2562
|
+
y1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2563
|
+
x2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2564
|
+
y2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2565
|
+
showLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2566
|
+
label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number]),
|
|
2567
|
+
labelX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2568
|
+
labelY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2569
|
+
majorTickStrokeColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2570
|
+
majorTickFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
2571
|
+
};
|
|
2572
|
+
/**
|
|
2573
|
+
* calculate position for each major tick
|
|
2574
|
+
* @method positionMajorTick
|
|
2575
|
+
* @param {Object} input
|
|
2576
|
+
* @param {Number} input.width
|
|
2577
|
+
* @param {Number} input.height
|
|
2578
|
+
* @param {Number} input.startX start x for rendering the first major tick
|
|
2579
|
+
* @param {Number} input.startY start y for rendering the first major tick
|
|
2580
|
+
* @param {String} input.orientation
|
|
2581
|
+
* @param {Number} input.numOfTicks how many ticks need to render
|
|
2582
|
+
* @param {Number} input.i index of major tick
|
|
2583
|
+
* @return {Object} MajorTick positions
|
|
2584
|
+
*/
|
|
2585
|
+
|
|
2586
|
+
var positionMajorTick = function positionMajorTick(_ref2) {
|
|
2587
|
+
var width = _ref2.width,
|
|
2588
|
+
height = _ref2.height,
|
|
2589
|
+
startX = _ref2.startX,
|
|
2590
|
+
startY = _ref2.startY,
|
|
2591
|
+
orientation = _ref2.orientation,
|
|
2592
|
+
numOfTicks = _ref2.numOfTicks,
|
|
2593
|
+
i = _ref2.i;
|
|
2594
|
+
var x1 = startX;
|
|
2595
|
+
var y1 = startY;
|
|
2596
|
+
var x2 = startX;
|
|
2597
|
+
var y2 = startY;
|
|
2598
|
+
var labelX = startX;
|
|
2599
|
+
var labelY;
|
|
2600
|
+
|
|
2601
|
+
if (orientation === 'vertical') {
|
|
2602
|
+
var y = height / numOfTicks * (numOfTicks - i) + startY;
|
|
2603
|
+
x1 -= TICK_LENGTH_DELTA;
|
|
2604
|
+
y1 = y;
|
|
2605
|
+
x2 += width + TICK_LENGTH_DELTA;
|
|
2606
|
+
y2 = y;
|
|
2607
|
+
labelX += width + TICK_LENGTH_DELTA * TICK_LABEL_PADDING_FACTOR;
|
|
2608
|
+
labelY = y;
|
|
2609
|
+
} else {
|
|
2610
|
+
var x = width / numOfTicks * i + startX;
|
|
2611
|
+
x1 = x;
|
|
2612
|
+
y1 -= TICK_LENGTH_DELTA;
|
|
2613
|
+
x2 = x;
|
|
2614
|
+
y2 += height + TICK_LENGTH_DELTA;
|
|
2615
|
+
labelX = x;
|
|
2616
|
+
labelY = y2 + 16;
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2619
|
+
return {
|
|
2620
|
+
x1: x1,
|
|
2621
|
+
y1: y1,
|
|
2622
|
+
x2: x2,
|
|
2623
|
+
y2: y2,
|
|
2624
|
+
labelX: labelX,
|
|
2625
|
+
labelY: labelY
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
var MajorTicks = function MajorTicks(_ref3) {
|
|
2630
|
+
var props = _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, _ref3);
|
|
2631
|
+
|
|
2632
|
+
var width = props.width,
|
|
2633
|
+
height = props.height,
|
|
2634
|
+
startX = props.startX,
|
|
2635
|
+
startY = props.startY,
|
|
2636
|
+
min = props.min,
|
|
2637
|
+
max = props.max,
|
|
2638
|
+
majorUnit = props.majorUnit,
|
|
2639
|
+
orientation = props.orientation,
|
|
2640
|
+
showLabels = props.showLabels,
|
|
2641
|
+
usePercentageRange = props.usePercentageRange,
|
|
2642
|
+
majorTickFillColor = props.majorTickFillColor,
|
|
2643
|
+
majorTickStrokeColor = props.majorTickStrokeColor;
|
|
2644
|
+
var range = max - min;
|
|
2645
|
+
var numOfTicks = majorUnit === 'auto' || Number.isNaN(Number(majorUnit)) || majorUnit <= 0 ? DEFAULT_NUM_OF_TICKS : range / majorUnit;
|
|
2646
|
+
var majorTicks = [];
|
|
2647
|
+
|
|
2648
|
+
for (var i = 0; i <= numOfTicks; i += 1) {
|
|
2649
|
+
var _positionMajorTick = positionMajorTick({
|
|
2650
|
+
width: width,
|
|
2651
|
+
height: height,
|
|
2652
|
+
startX: startX,
|
|
2653
|
+
startY: startY,
|
|
2654
|
+
orientation: orientation,
|
|
2655
|
+
numOfTicks: numOfTicks,
|
|
2656
|
+
i: i
|
|
2657
|
+
}),
|
|
2658
|
+
x1 = _positionMajorTick.x1,
|
|
2659
|
+
y1 = _positionMajorTick.y1,
|
|
2660
|
+
x2 = _positionMajorTick.x2,
|
|
2661
|
+
y2 = _positionMajorTick.y2,
|
|
2662
|
+
labelX = _positionMajorTick.labelX,
|
|
2663
|
+
labelY = _positionMajorTick.labelY;
|
|
2664
|
+
|
|
2665
|
+
var label = usePercentageRange ? "".concat(parseInt((i / numOfTicks - min / range) * 100, 10), "%") : parseInt(min + range / numOfTicks * i, 10);
|
|
2666
|
+
majorTicks.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTick, {
|
|
2667
|
+
key: i,
|
|
2668
|
+
index: i,
|
|
2669
|
+
x1: x1,
|
|
2670
|
+
y1: y1,
|
|
2671
|
+
x2: x2,
|
|
2672
|
+
y2: y2,
|
|
2673
|
+
showLabels: showLabels,
|
|
2674
|
+
label: label,
|
|
2675
|
+
labelX: labelX,
|
|
2676
|
+
labelY: labelY,
|
|
2677
|
+
majorTickFillColor: majorTickFillColor,
|
|
2678
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
2679
|
+
}));
|
|
2680
|
+
} // if the gauge is not divided evenly, put the last tick at the end of the gauge
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
if (!Number.isInteger(numOfTicks)) {
|
|
2684
|
+
var extraNumOfTicks = Math.ceil(numOfTicks);
|
|
2685
|
+
|
|
2686
|
+
var _positionMajorTick2 = positionMajorTick({
|
|
2687
|
+
width: width,
|
|
2688
|
+
height: height,
|
|
2689
|
+
startX: startX,
|
|
2690
|
+
startY: startY,
|
|
2691
|
+
orientation: orientation,
|
|
2692
|
+
numOfTicks: extraNumOfTicks,
|
|
2693
|
+
i: extraNumOfTicks
|
|
2694
|
+
}),
|
|
2695
|
+
_x = _positionMajorTick2.x1,
|
|
2696
|
+
_y = _positionMajorTick2.y1,
|
|
2697
|
+
_x2 = _positionMajorTick2.x2,
|
|
2698
|
+
_y2 = _positionMajorTick2.y2,
|
|
2699
|
+
_labelX = _positionMajorTick2.labelX,
|
|
2700
|
+
_labelY = _positionMajorTick2.labelY;
|
|
2701
|
+
|
|
2702
|
+
majorTicks.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(MajorTick, {
|
|
2703
|
+
key: extraNumOfTicks,
|
|
2704
|
+
id: extraNumOfTicks,
|
|
2705
|
+
x1: _x,
|
|
2706
|
+
y1: _y,
|
|
2707
|
+
x2: _x2,
|
|
2708
|
+
y2: _y2,
|
|
2709
|
+
showLabels: showLabels,
|
|
2710
|
+
label: usePercentageRange ? '100%' : max,
|
|
2711
|
+
labelX: _labelX,
|
|
2712
|
+
labelY: _labelY,
|
|
2713
|
+
majorTickFillColor: majorTickFillColor,
|
|
2714
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
2715
|
+
}));
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, majorTicks);
|
|
2719
|
+
};
|
|
2720
|
+
|
|
2721
|
+
MajorTicks.propTypes = {
|
|
2722
|
+
width: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2723
|
+
height: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2724
|
+
startX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2725
|
+
startY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2726
|
+
min: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2727
|
+
max: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2728
|
+
majorUnit: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number]),
|
|
2729
|
+
orientation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2730
|
+
showLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2731
|
+
usePercentageRange: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2732
|
+
majorTickFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2733
|
+
majorTickStrokeColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
2734
|
+
};
|
|
2735
|
+
MajorTicks.defaultProps = {
|
|
2736
|
+
min: 0,
|
|
2737
|
+
max: 100,
|
|
2738
|
+
majorUnit: 'auto',
|
|
2739
|
+
orientation: 'horizontal',
|
|
2740
|
+
showLabels: true,
|
|
2741
|
+
usePercentageRange: false
|
|
2742
|
+
};
|
|
2743
|
+
/* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
|
|
2744
|
+
|
|
2745
|
+
/***/ }),
|
|
2746
|
+
/* 97 */
|
|
2747
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2748
|
+
|
|
2749
|
+
"use strict";
|
|
2750
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2751
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionValueMarkerRect", function() { return positionValueMarkerRect; });
|
|
2752
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionLabel", function() { return positionLabel; });
|
|
2753
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
|
2754
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2755
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2756
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2757
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
2758
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2759
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2760
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2761
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21);
|
|
2762
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
var MARKER_THICKNESS = 15;
|
|
2769
|
+
var MARKER_INNER_LENGTH = 30;
|
|
2770
|
+
var MARKER_LABEL_WIDTH = 60;
|
|
2771
|
+
var MARKER_LABEL_HEIGHT = 25;
|
|
2772
|
+
var RADIUS = 2;
|
|
2773
|
+
var DELTA_LENGTH = 12;
|
|
2774
|
+
var ValueMarkerRect = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.path.withConfig({
|
|
2775
|
+
displayName: "GaugeValueMarker__ValueMarkerRect",
|
|
2776
|
+
componentId: "sc-1bxkeao-0"
|
|
2777
|
+
})(["stroke-width:2px;fill:", ";"], function (props) {
|
|
2778
|
+
return props.valueMarkerFillColor;
|
|
2779
|
+
});
|
|
2780
|
+
var ValueMarkerLabelRect = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.rect.withConfig({
|
|
2781
|
+
displayName: "GaugeValueMarker__ValueMarkerLabelRect",
|
|
2782
|
+
componentId: "sc-1bxkeao-1"
|
|
2783
|
+
})(["fill:", ";"], function (props) {
|
|
2784
|
+
return props.valueMarkerFillColor;
|
|
2785
|
+
});
|
|
2786
|
+
var ValueMarkerLabel = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.text.withConfig({
|
|
2787
|
+
displayName: "GaugeValueMarker__ValueMarkerLabel",
|
|
2788
|
+
componentId: "sc-1bxkeao-2"
|
|
2789
|
+
})(["fill:", ";font-size:14px;font-family:Splunk Platform Sans,sans-serif;line-height:16px;text-anchor:middle;text-align:center;dominant-baseline:middle;"], function (props) {
|
|
2790
|
+
return props.valueMarkerLabelFillColor;
|
|
2791
|
+
});
|
|
2792
|
+
/**
|
|
2793
|
+
* calculate the path of Value Marker shape
|
|
2794
|
+
* @method positionValueMarkerRect
|
|
2795
|
+
* @param {Object} input
|
|
2796
|
+
* @param {Number} input.x
|
|
2797
|
+
* @param {Number} input.y
|
|
2798
|
+
* @param {String} input.orientation
|
|
2799
|
+
* @param {Number} input.valueMarkerRectLength
|
|
2800
|
+
* @return {String} d containing a series of path commands that define the path to be
|
|
2801
|
+
*/
|
|
2802
|
+
|
|
2803
|
+
var positionValueMarkerRect = function positionValueMarkerRect(_ref) {
|
|
2804
|
+
var x = _ref.x,
|
|
2805
|
+
y = _ref.y,
|
|
2806
|
+
orientation = _ref.orientation,
|
|
2807
|
+
valueMarkerRectLength = _ref.valueMarkerRectLength;
|
|
2808
|
+
var hLength = MARKER_THICKNESS;
|
|
2809
|
+
var vLength = valueMarkerRectLength;
|
|
2810
|
+
var markerStartX = x - MARKER_THICKNESS;
|
|
2811
|
+
var markerStartY = y;
|
|
2812
|
+
var innerHLength = hLength / 3;
|
|
2813
|
+
var innerVLength = MARKER_INNER_LENGTH;
|
|
2814
|
+
var innerStartX = markerStartX + innerHLength;
|
|
2815
|
+
var innerStartY = markerStartY + 7;
|
|
2816
|
+
|
|
2817
|
+
if (orientation === 'vertical') {
|
|
2818
|
+
hLength = valueMarkerRectLength;
|
|
2819
|
+
vLength = MARKER_THICKNESS;
|
|
2820
|
+
markerStartX = x;
|
|
2821
|
+
innerHLength = MARKER_INNER_LENGTH;
|
|
2822
|
+
innerVLength = vLength / 3;
|
|
2823
|
+
innerStartX = markerStartX + 7;
|
|
2824
|
+
innerStartY = markerStartY + innerVLength;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
return "M".concat(markerStartX, ",").concat(markerStartY, "h").concat(hLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(RADIUS, ",").concat(RADIUS, "v").concat(vLength - 2 * RADIUS, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(-RADIUS, ",").concat(RADIUS, "h").concat(-hLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(-RADIUS, ",").concat(-RADIUS, "v").concat(2 * RADIUS - vLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 1 ").concat(RADIUS, ",").concat(-RADIUS, "z") + "M".concat(innerStartX, ",").concat(innerStartY, "v").concat(innerVLength - RADIUS, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(RADIUS, ",").concat(RADIUS, "h").concat(innerHLength - 2 * RADIUS, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(RADIUS, ",").concat(-RADIUS, "v").concat(RADIUS - innerVLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(-RADIUS, ",").concat(-RADIUS, "h").concat(2 * RADIUS - innerHLength, "a").concat(RADIUS, ",").concat(RADIUS, " 0 0 0 ").concat(-RADIUS, ",").concat(RADIUS, "z");
|
|
2828
|
+
};
|
|
2829
|
+
/**
|
|
2830
|
+
* calculate the position of value marker label
|
|
2831
|
+
* @method positionLabel
|
|
2832
|
+
* @param {Object} input
|
|
2833
|
+
* @param {Number} input.x
|
|
2834
|
+
* @param {Number} input.y
|
|
2835
|
+
* @param {Number} input.length gauge thickness
|
|
2836
|
+
* @param {String} input.orientation
|
|
2837
|
+
* @return {Object} positions
|
|
2838
|
+
* @return {Number} positions.labelRectX x of value marker label rect
|
|
2839
|
+
* @return {Number} positions.labelRectY y of value marker label rect
|
|
2840
|
+
* @return {Number} positions.labelX x of value marker label text
|
|
2841
|
+
* @return {Number} positions.labelY y of value marker label text
|
|
2842
|
+
*/
|
|
2843
|
+
|
|
2844
|
+
var positionLabel = function positionLabel(_ref2) {
|
|
2845
|
+
var x = _ref2.x,
|
|
2846
|
+
y = _ref2.y,
|
|
2847
|
+
length = _ref2.length,
|
|
2848
|
+
orientation = _ref2.orientation; // for horizontal view
|
|
2849
|
+
|
|
2850
|
+
var labelRectX = x - MARKER_THICKNESS / 2 - MARKER_LABEL_WIDTH / 2;
|
|
2851
|
+
var labelRectY = y + length;
|
|
2852
|
+
|
|
2853
|
+
if (orientation === 'vertical') {
|
|
2854
|
+
labelRectX = x + length;
|
|
2855
|
+
labelRectY = y - (MARKER_LABEL_HEIGHT - MARKER_THICKNESS) / 2;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
var labelX = labelRectX + MARKER_LABEL_WIDTH / 2;
|
|
2859
|
+
var labelY = labelRectY + MARKER_LABEL_HEIGHT / 2;
|
|
2860
|
+
return {
|
|
2861
|
+
labelRectX: labelRectX,
|
|
2862
|
+
labelRectY: labelRectY,
|
|
2863
|
+
labelX: labelX,
|
|
2864
|
+
labelY: labelY
|
|
2865
|
+
};
|
|
2866
|
+
};
|
|
2867
|
+
|
|
2868
|
+
var ValueMarker = function ValueMarker(_ref3) {
|
|
2869
|
+
var props = _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, _ref3);
|
|
2870
|
+
|
|
2871
|
+
var x = props.x,
|
|
2872
|
+
y = props.y,
|
|
2873
|
+
length = props.length,
|
|
2874
|
+
min = props.min,
|
|
2875
|
+
max = props.max,
|
|
2876
|
+
value = props.value,
|
|
2877
|
+
orientation = props.orientation,
|
|
2878
|
+
showValue = props.showValue,
|
|
2879
|
+
usePercentageValue = props.usePercentageValue,
|
|
2880
|
+
valueMarkerFillColor = props.valueMarkerFillColor,
|
|
2881
|
+
valueMarkerLabelFillColor = props.valueMarkerLabelFillColor;
|
|
2882
|
+
var valueMarkerRectLength = length + DELTA_LENGTH;
|
|
2883
|
+
|
|
2884
|
+
var _positionLabel = positionLabel({
|
|
2885
|
+
x: x,
|
|
2886
|
+
y: y,
|
|
2887
|
+
length: length,
|
|
2888
|
+
orientation: orientation
|
|
2889
|
+
}),
|
|
2890
|
+
labelRectX = _positionLabel.labelRectX,
|
|
2891
|
+
labelRectY = _positionLabel.labelRectY,
|
|
2892
|
+
labelX = _positionLabel.labelX,
|
|
2893
|
+
labelY = _positionLabel.labelY;
|
|
2894
|
+
|
|
2895
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(ValueMarkerRect, {
|
|
2896
|
+
"data-test": "value-marker-rect",
|
|
2897
|
+
d: positionValueMarkerRect({
|
|
2898
|
+
x: x,
|
|
2899
|
+
y: y,
|
|
2900
|
+
orientation: orientation,
|
|
2901
|
+
valueMarkerRectLength: valueMarkerRectLength
|
|
2902
|
+
}),
|
|
2903
|
+
valueMarkerFillColor: valueMarkerFillColor
|
|
2904
|
+
}), showValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(ValueMarkerLabelRect, {
|
|
2905
|
+
"data-test": "value-marker-label-rect",
|
|
2906
|
+
x: labelRectX,
|
|
2907
|
+
y: labelRectY,
|
|
2908
|
+
width: MARKER_LABEL_WIDTH,
|
|
2909
|
+
height: MARKER_LABEL_HEIGHT,
|
|
2910
|
+
rx: RADIUS,
|
|
2911
|
+
ry: RADIUS,
|
|
2912
|
+
valueMarkerFillColor: valueMarkerFillColor
|
|
2913
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(ValueMarkerLabel, {
|
|
2914
|
+
"data-test": "value-marker-label",
|
|
2915
|
+
x: labelX,
|
|
2916
|
+
y: labelY,
|
|
2917
|
+
valueMarkerLabelFillColor: valueMarkerLabelFillColor
|
|
2918
|
+
}, usePercentageValue ? "".concat((value / (max - min) * 100).toFixed(2), "%") : Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__["formatNumber"])(value, 0, {
|
|
2919
|
+
useThousandSeparators: true,
|
|
2920
|
+
useTrendUnits: true
|
|
2921
|
+
}))));
|
|
2922
|
+
};
|
|
2923
|
+
|
|
2924
|
+
ValueMarker.propTypes = {
|
|
2925
|
+
x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2926
|
+
y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2927
|
+
length: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2928
|
+
min: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2929
|
+
max: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2930
|
+
value: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,
|
|
2931
|
+
orientation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2932
|
+
showValue: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2933
|
+
usePercentageValue: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,
|
|
2934
|
+
valueMarkerFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,
|
|
2935
|
+
valueMarkerLabelFillColor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string
|
|
2936
|
+
};
|
|
2937
|
+
ValueMarker.defaultProps = {
|
|
2938
|
+
min: 0,
|
|
2939
|
+
max: 100,
|
|
2940
|
+
orientation: 'horizontal',
|
|
2941
|
+
showValue: true,
|
|
2942
|
+
usePercentageValue: false
|
|
2943
|
+
};
|
|
2944
|
+
/* harmony default export */ __webpack_exports__["default"] = (ValueMarker);
|
|
2945
|
+
|
|
2946
|
+
/***/ }),
|
|
2947
|
+
/* 98 */,
|
|
2948
|
+
/* 99 */,
|
|
2949
|
+
/* 100 */,
|
|
2950
|
+
/* 101 */,
|
|
2951
|
+
/* 102 */,
|
|
2952
|
+
/* 103 */,
|
|
2953
|
+
/* 104 */,
|
|
2954
|
+
/* 105 */,
|
|
2955
|
+
/* 106 */,
|
|
2956
|
+
/* 107 */,
|
|
2957
|
+
/* 108 */,
|
|
2958
|
+
/* 109 */,
|
|
2959
|
+
/* 110 */,
|
|
2960
|
+
/* 111 */,
|
|
2961
|
+
/* 112 */,
|
|
2962
|
+
/* 113 */,
|
|
2963
|
+
/* 114 */,
|
|
2964
|
+
/* 115 */,
|
|
2965
|
+
/* 116 */,
|
|
2966
|
+
/* 117 */,
|
|
2967
|
+
/* 118 */,
|
|
2968
|
+
/* 119 */,
|
|
2969
|
+
/* 120 */,
|
|
2970
|
+
/* 121 */,
|
|
2971
|
+
/* 122 */,
|
|
2972
|
+
/* 123 */,
|
|
2973
|
+
/* 124 */,
|
|
2974
|
+
/* 125 */,
|
|
2975
|
+
/* 126 */,
|
|
2976
|
+
/* 127 */,
|
|
2977
|
+
/* 128 */,
|
|
2978
|
+
/* 129 */,
|
|
2979
|
+
/* 130 */,
|
|
2980
|
+
/* 131 */,
|
|
2981
|
+
/* 132 */,
|
|
2982
|
+
/* 133 */,
|
|
2983
|
+
/* 134 */,
|
|
2984
|
+
/* 135 */,
|
|
2985
|
+
/* 136 */,
|
|
2986
|
+
/* 137 */,
|
|
2987
|
+
/* 138 */,
|
|
2988
|
+
/* 139 */,
|
|
2989
|
+
/* 140 */,
|
|
2990
|
+
/* 141 */,
|
|
2991
|
+
/* 142 */,
|
|
2992
|
+
/* 143 */,
|
|
2993
|
+
/* 144 */,
|
|
2994
|
+
/* 145 */,
|
|
2995
|
+
/* 146 */,
|
|
2996
|
+
/* 147 */,
|
|
2997
|
+
/* 148 */,
|
|
2998
|
+
/* 149 */,
|
|
2999
|
+
/* 150 */,
|
|
3000
|
+
/* 151 */,
|
|
3001
|
+
/* 152 */,
|
|
3002
|
+
/* 153 */,
|
|
3003
|
+
/* 154 */,
|
|
3004
|
+
/* 155 */,
|
|
3005
|
+
/* 156 */,
|
|
3006
|
+
/* 157 */,
|
|
3007
|
+
/* 158 */,
|
|
3008
|
+
/* 159 */,
|
|
3009
|
+
/* 160 */
|
|
3010
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3011
|
+
|
|
3012
|
+
"use strict";
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
3016
|
+
var t = {};
|
|
3017
|
+
|
|
3018
|
+
for (var p in s) {
|
|
3019
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3023
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
3024
|
+
}
|
|
3025
|
+
return t;
|
|
3026
|
+
};
|
|
3027
|
+
|
|
3028
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3029
|
+
value: true
|
|
3030
|
+
});
|
|
3031
|
+
exports.themes = exports.computeVizProps = exports.PureFillerGauge = exports.config = void 0;
|
|
3032
|
+
|
|
3033
|
+
var lodash_1 = __webpack_require__(2);
|
|
3034
|
+
|
|
3035
|
+
var config_1 = __webpack_require__(161);
|
|
3036
|
+
|
|
3037
|
+
var withDashboardViz_1 = __webpack_require__(27);
|
|
3038
|
+
|
|
3039
|
+
var FillerGauge_1 = __webpack_require__(165);
|
|
3040
|
+
|
|
3041
|
+
var gaugeUtils_1 = __webpack_require__(71);
|
|
3042
|
+
|
|
3043
|
+
exports.config = config_1.default;
|
|
3044
|
+
exports.PureFillerGauge = FillerGauge_1.default;
|
|
3045
|
+
var validOptions = Object.keys(exports.config.optionsSchema);
|
|
3046
|
+
|
|
3047
|
+
var computeVizProps = function computeVizProps(_a) {
|
|
3048
|
+
var props = __rest(_a, []);
|
|
3049
|
+
|
|
3050
|
+
var options = lodash_1.chain(props).pick(validOptions).thru(gaugeUtils_1.convertToGaugeProperties).value();
|
|
3051
|
+
var defaultColors = {
|
|
3052
|
+
backgroundBarFillColor: exports.config.themes.defaultBackgroundBarFillColor(props),
|
|
3053
|
+
majorTickFillColor: exports.config.themes.majorTickFillColor(props),
|
|
3054
|
+
majorTickStrokeColor: exports.config.themes.majorTickStrokeColor(props),
|
|
3055
|
+
valueMarkerFillColor: exports.config.themes.valueMarkerFillColor(props),
|
|
3056
|
+
valueMarkerLabelFillColor: exports.config.themes.valueMarkerLabelFillColor(props)
|
|
3057
|
+
};
|
|
3058
|
+
return Object.assign(Object.assign({}, options), defaultColors);
|
|
3059
|
+
};
|
|
3060
|
+
|
|
3061
|
+
exports.computeVizProps = computeVizProps;
|
|
3062
|
+
var viz = withDashboardViz_1.default({
|
|
3063
|
+
ReactViz: FillerGauge_1.default,
|
|
3064
|
+
computeVizProps: exports.computeVizProps,
|
|
3065
|
+
vizConfig: config_1.default
|
|
3066
|
+
});
|
|
3067
|
+
exports.themes = config_1.default.themes;
|
|
3068
|
+
exports.default = viz;
|
|
3069
|
+
|
|
3070
|
+
/***/ }),
|
|
3071
|
+
/* 161 */
|
|
3072
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3073
|
+
|
|
3074
|
+
"use strict";
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3078
|
+
value: true
|
|
3079
|
+
});
|
|
3080
|
+
|
|
3081
|
+
var i18n_1 = __webpack_require__(3);
|
|
3082
|
+
|
|
3083
|
+
var schemaUtils_1 = __webpack_require__(14);
|
|
3084
|
+
|
|
3085
|
+
var pick_1 = __webpack_require__(20);
|
|
3086
|
+
|
|
3087
|
+
var variables_1 = __webpack_require__(19);
|
|
3088
|
+
|
|
3089
|
+
var visualization_color_palettes_1 = __webpack_require__(41);
|
|
3090
|
+
|
|
3091
|
+
var PresetPalettes_1 = __webpack_require__(48);
|
|
3092
|
+
|
|
3093
|
+
var GaugeFiller_1 = __webpack_require__(162);
|
|
3094
|
+
|
|
3095
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
3096
|
+
|
|
3097
|
+
var VizCategory_1 = __webpack_require__(26);
|
|
3098
|
+
|
|
3099
|
+
var configUtils_1 = __webpack_require__(6);
|
|
3100
|
+
|
|
3101
|
+
var Gauge_1 = __webpack_require__(95);
|
|
3102
|
+
|
|
3103
|
+
var BackgroundColor_1 = __webpack_require__(45);
|
|
3104
|
+
|
|
3105
|
+
var DynamicGaugeColorEditor_1 = __webpack_require__(163);
|
|
3106
|
+
|
|
3107
|
+
var StaticGaugeColorEditor_1 = __webpack_require__(164);
|
|
3108
|
+
|
|
3109
|
+
var dataContract = {
|
|
3110
|
+
requiredDataSources: [{
|
|
3111
|
+
name: 'primary',
|
|
3112
|
+
description: 'DataSource that powers the visualization'
|
|
3113
|
+
}],
|
|
3114
|
+
optionalDataSources: [],
|
|
3115
|
+
initialRequestParams: {
|
|
3116
|
+
primary: {
|
|
3117
|
+
offset: 0,
|
|
3118
|
+
count: 10000
|
|
3119
|
+
}
|
|
3120
|
+
}
|
|
3121
|
+
};
|
|
3122
|
+
var size = {
|
|
3123
|
+
initialWidth: 300,
|
|
3124
|
+
initialHeight: 300
|
|
3125
|
+
};
|
|
3126
|
+
var defaultContext = {
|
|
3127
|
+
gaugeColorConfig: [{
|
|
3128
|
+
to: 9,
|
|
3129
|
+
value: '#118832'
|
|
3130
|
+
}, {
|
|
3131
|
+
from: 10,
|
|
3132
|
+
to: 29,
|
|
3133
|
+
value: '#669922'
|
|
3134
|
+
}, {
|
|
3135
|
+
from: 30,
|
|
3136
|
+
to: 49,
|
|
3137
|
+
value: '#CBA700'
|
|
3138
|
+
}, {
|
|
3139
|
+
from: 50,
|
|
3140
|
+
to: 69,
|
|
3141
|
+
value: '#D94E17'
|
|
3142
|
+
}, {
|
|
3143
|
+
from: 70,
|
|
3144
|
+
value: '#D41F1F'
|
|
3145
|
+
}]
|
|
3146
|
+
};
|
|
3147
|
+
var optionsSchema = {
|
|
3148
|
+
backgroundColor: {
|
|
3149
|
+
default: '> themes.defaultBackgroundColor',
|
|
3150
|
+
description: 'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
3151
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3152
|
+
type: 'string'
|
|
3153
|
+
},
|
|
3154
|
+
gaugeColor: {
|
|
3155
|
+
default: visualization_color_palettes_1.CATEGORICAL[0],
|
|
3156
|
+
description: 'Specify the color for the gauge color of the filler gauge. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF".',
|
|
3157
|
+
type: 'string'
|
|
3158
|
+
},
|
|
3159
|
+
labelDisplay: {
|
|
3160
|
+
default: 'number',
|
|
3161
|
+
description: 'Specify whether to display the labels as numbers, percentages, or off.',
|
|
3162
|
+
pattern: schemaUtils_1.getPattern(['number', 'percentage', 'off']),
|
|
3163
|
+
type: 'string'
|
|
3164
|
+
},
|
|
3165
|
+
majorTickInterval: {
|
|
3166
|
+
description: 'Specify, in pixels, the spacing between major tick marks.',
|
|
3167
|
+
default: 'auto',
|
|
3168
|
+
type: ['string', 'number']
|
|
3169
|
+
},
|
|
3170
|
+
orientation: {
|
|
3171
|
+
default: 'vertical',
|
|
3172
|
+
description: 'Specify the axis orientation of the gauge.',
|
|
3173
|
+
pattern: schemaUtils_1.getPattern(['vertical', 'horizontal']),
|
|
3174
|
+
type: 'string'
|
|
3175
|
+
},
|
|
3176
|
+
value: {
|
|
3177
|
+
default: '> primary | seriesByType("number") | lastPoint()',
|
|
3178
|
+
description: 'Specify the dataSource applied to the value of the filler gauge.',
|
|
3179
|
+
type: 'number'
|
|
3180
|
+
},
|
|
3181
|
+
valueDisplay: {
|
|
3182
|
+
default: 'number',
|
|
3183
|
+
description: 'Specify whether to display the value as a number, percentage, or off.',
|
|
3184
|
+
pattern: schemaUtils_1.getPattern(['number', 'percentage', 'off']),
|
|
3185
|
+
type: 'string'
|
|
3186
|
+
}
|
|
3187
|
+
};
|
|
3188
|
+
var themes = {
|
|
3189
|
+
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
3190
|
+
return pick_1.default({
|
|
3191
|
+
enterprise: {
|
|
3192
|
+
dark: variables_1.default.black(props),
|
|
3193
|
+
light: variables_1.default.backgroundColor(props)
|
|
3194
|
+
},
|
|
3195
|
+
prisma: variables_1.default.backgroundColorSidebar(props)
|
|
3196
|
+
})(props);
|
|
3197
|
+
},
|
|
3198
|
+
defaultBackgroundBarFillColor: function defaultBackgroundBarFillColor(props) {
|
|
3199
|
+
return pick_1.default({
|
|
3200
|
+
enterprise: variables_1.default.backgroundColorHover(props),
|
|
3201
|
+
prisma: {
|
|
3202
|
+
light: variables_1.default.contentColorActive(props),
|
|
3203
|
+
dark: variables_1.default.neutral100(props)
|
|
3204
|
+
}
|
|
3205
|
+
})(props);
|
|
3206
|
+
},
|
|
3207
|
+
majorTickFillColor: function majorTickFillColor(props) {
|
|
3208
|
+
return pick_1.default({
|
|
3209
|
+
enterprise: {
|
|
3210
|
+
light: variables_1.default.gray30(props),
|
|
3211
|
+
dark: variables_1.default.textGray(props) // was #D7DAE0
|
|
3212
|
+
|
|
3213
|
+
},
|
|
3214
|
+
prisma: {
|
|
3215
|
+
// TODO: missed colors :(
|
|
3216
|
+
light: variables_1.default.neutral100(props),
|
|
3217
|
+
dark: variables_1.default.contentColorMuted(props) // was #D7DAE0; contentColor
|
|
3218
|
+
|
|
3219
|
+
}
|
|
3220
|
+
})(props);
|
|
3221
|
+
},
|
|
3222
|
+
majorTickStrokeColor: function majorTickStrokeColor(props) {
|
|
3223
|
+
return pick_1.default({
|
|
3224
|
+
enterprise: {
|
|
3225
|
+
light: variables_1.default.textGray(props),
|
|
3226
|
+
dark: variables_1.default.contentColorMuted(props)
|
|
3227
|
+
},
|
|
3228
|
+
prisma: variables_1.default.contentColorMuted(props)
|
|
3229
|
+
})(props);
|
|
3230
|
+
},
|
|
3231
|
+
valueMarkerFillColor: function valueMarkerFillColor(props) {
|
|
3232
|
+
return pick_1.default({
|
|
3233
|
+
enterprise: variables_1.default.textColor(props),
|
|
3234
|
+
prisma: {
|
|
3235
|
+
dark: variables_1.default.white(props),
|
|
3236
|
+
light: variables_1.default.black(props)
|
|
3237
|
+
}
|
|
3238
|
+
})(props);
|
|
3239
|
+
},
|
|
3240
|
+
valueMarkerLabelFillColor: function valueMarkerLabelFillColor(props) {
|
|
3241
|
+
return pick_1.default({
|
|
3242
|
+
enterprise: {
|
|
3243
|
+
light: variables_1.default.gray96(props),
|
|
3244
|
+
dark: variables_1.default.black(props)
|
|
3245
|
+
},
|
|
3246
|
+
prisma: variables_1.default.black(props)
|
|
3247
|
+
})(props);
|
|
3248
|
+
}
|
|
3249
|
+
};
|
|
3250
|
+
var basePresetContext = {
|
|
3251
|
+
gaugeColorEditorConfig: undefined
|
|
3252
|
+
};
|
|
3253
|
+
var basePresetOptions = {
|
|
3254
|
+
gaugeColor: visualization_color_palettes_1.CATEGORICAL[0]
|
|
3255
|
+
};
|
|
3256
|
+
var presets = [{
|
|
3257
|
+
// dummy context variables to allow for resetting of unused context states
|
|
3258
|
+
label: i18n_1._('None'),
|
|
3259
|
+
name: 'fillerGauge.none',
|
|
3260
|
+
value: {
|
|
3261
|
+
context: Object.assign({}, basePresetContext),
|
|
3262
|
+
options: Object.assign({}, basePresetOptions)
|
|
3263
|
+
}
|
|
3264
|
+
}, {
|
|
3265
|
+
label: i18n_1._('Gauge'),
|
|
3266
|
+
name: 'fillerGauge.gauge',
|
|
3267
|
+
value: {
|
|
3268
|
+
context: {
|
|
3269
|
+
gaugeColorEditorConfig: defaultContext.gaugeColorConfig
|
|
3270
|
+
},
|
|
3271
|
+
options: {
|
|
3272
|
+
gaugeColor: '> value | rangeValue(gaugeColorEditorConfig)'
|
|
3273
|
+
}
|
|
3274
|
+
}
|
|
3275
|
+
}];
|
|
3276
|
+
var editorConfig = [{
|
|
3277
|
+
label: i18n_1._('Select Data Field'),
|
|
3278
|
+
layout: [[{
|
|
3279
|
+
label: '',
|
|
3280
|
+
editor: 'editor.columnSelector',
|
|
3281
|
+
option: 'value',
|
|
3282
|
+
context: 'defaultContext',
|
|
3283
|
+
editorProps: {
|
|
3284
|
+
dataSourceKey: 'primary',
|
|
3285
|
+
prepareValue: function prepareValue(definition) {
|
|
3286
|
+
var value = definition.options.value;
|
|
3287
|
+
return {
|
|
3288
|
+
context: {},
|
|
3289
|
+
options: {
|
|
3290
|
+
value: "".concat(value, " | lastPoint()")
|
|
3291
|
+
}
|
|
3292
|
+
};
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
}]]
|
|
3296
|
+
}, Gauge_1.default, {
|
|
3297
|
+
label: i18n_1._('Coloring'),
|
|
3298
|
+
layout: [[{
|
|
3299
|
+
label: 'Dynamic Elements',
|
|
3300
|
+
key: 'presetSelector',
|
|
3301
|
+
editor: 'editor.presetSelector',
|
|
3302
|
+
editorProps: {
|
|
3303
|
+
presets: presets,
|
|
3304
|
+
value: function value(_ref) {
|
|
3305
|
+
var context = _ref.context,
|
|
3306
|
+
options = _ref.options;
|
|
3307
|
+
var initialPreset = configUtils_1.getInitialPreset(context, options, presets);
|
|
3308
|
+
return initialPreset && initialPreset.label || null;
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
}], [DynamicGaugeColorEditor_1.getDynamicGaugeColorEditor({
|
|
3312
|
+
defaultContext: defaultContext,
|
|
3313
|
+
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
3314
|
+
})], [Object.assign(Object.assign({}, StaticGaugeColorEditor_1.default), {
|
|
3315
|
+
editorProps: {
|
|
3316
|
+
labelPosition: 'left',
|
|
3317
|
+
themes: themes
|
|
3318
|
+
}
|
|
3319
|
+
})], BackgroundColor_1.default({
|
|
3320
|
+
themes: themes,
|
|
3321
|
+
labelPosition: 'left'
|
|
3322
|
+
})]
|
|
3323
|
+
}];
|
|
3324
|
+
/**
|
|
3325
|
+
* visualization configuration
|
|
3326
|
+
*/
|
|
3327
|
+
|
|
3328
|
+
var config = {
|
|
3329
|
+
/**
|
|
3330
|
+
* unique viz key
|
|
3331
|
+
*/
|
|
3332
|
+
key: 'splunk.fillergauge',
|
|
3333
|
+
|
|
3334
|
+
/**
|
|
3335
|
+
* viz name
|
|
3336
|
+
*/
|
|
3337
|
+
name: 'FillerGauge',
|
|
3338
|
+
category: VizCategory_1.VizCategory.GAUGE,
|
|
3339
|
+
|
|
3340
|
+
/**
|
|
3341
|
+
* viz icon
|
|
3342
|
+
*/
|
|
3343
|
+
icon: GaugeFiller_1.default,
|
|
3344
|
+
dataContract: dataContract,
|
|
3345
|
+
size: size,
|
|
3346
|
+
defaultContext: defaultContext,
|
|
3347
|
+
optionsSchema: optionsSchema,
|
|
3348
|
+
editorConfig: editorConfig,
|
|
3349
|
+
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER],
|
|
3350
|
+
themes: themes
|
|
3351
|
+
};
|
|
3352
|
+
exports.default = configUtils_1.enhanceConfig(config);
|
|
3353
|
+
|
|
3354
|
+
/***/ }),
|
|
3355
|
+
/* 162 */
|
|
3356
|
+
/***/ (function(module, exports) {
|
|
3357
|
+
|
|
3358
|
+
module.exports = require("@splunk/react-icons/GaugeFiller");
|
|
3359
|
+
|
|
3360
|
+
/***/ }),
|
|
3361
|
+
/* 163 */
|
|
3362
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3363
|
+
|
|
3364
|
+
"use strict";
|
|
3365
|
+
|
|
3366
|
+
|
|
3367
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3368
|
+
value: true
|
|
3369
|
+
});
|
|
3370
|
+
exports.getDynamicGaugeColorEditor = void 0;
|
|
3371
|
+
|
|
3372
|
+
var i18n_1 = __webpack_require__(3);
|
|
3373
|
+
|
|
3374
|
+
var configUtils_1 = __webpack_require__(6);
|
|
3375
|
+
|
|
3376
|
+
var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
3377
|
+
var defaultContext = _ref.defaultContext,
|
|
3378
|
+
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
3379
|
+
return {
|
|
3380
|
+
label: i18n_1._('Dynamic Gauge'),
|
|
3381
|
+
option: 'gaugeColor',
|
|
3382
|
+
context: 'gaugeColorConfig',
|
|
3383
|
+
editor: 'editor.dynamicColor',
|
|
3384
|
+
showEditor: function showEditor(_ref2) {
|
|
3385
|
+
var options = _ref2.options;
|
|
3386
|
+
return configUtils_1.isDynamicOption(options.gaugeColor);
|
|
3387
|
+
},
|
|
3388
|
+
editorProps: {
|
|
3389
|
+
labelPosition: 'left',
|
|
3390
|
+
flyoutTitle: i18n_1._('Dynamic Coloring: Gauge'),
|
|
3391
|
+
formatters: [{
|
|
3392
|
+
label: i18n_1._('Ranges'),
|
|
3393
|
+
value: 'rangeValue',
|
|
3394
|
+
defaults: {
|
|
3395
|
+
value: defaultContext.gaugeColorConfig
|
|
3396
|
+
}
|
|
3397
|
+
}],
|
|
3398
|
+
dataSelectors: [{
|
|
3399
|
+
label: i18n_1._('Value'),
|
|
3400
|
+
value: 'value'
|
|
3401
|
+
}],
|
|
3402
|
+
defaultPalettesConfig: defaultPalettesConfig
|
|
3403
|
+
}
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
|
|
3407
|
+
exports.getDynamicGaugeColorEditor = getDynamicGaugeColorEditor;
|
|
3408
|
+
|
|
3409
|
+
/***/ }),
|
|
3410
|
+
/* 164 */
|
|
3411
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3412
|
+
|
|
3413
|
+
"use strict";
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3417
|
+
value: true
|
|
3418
|
+
});
|
|
3419
|
+
|
|
3420
|
+
var i18n_1 = __webpack_require__(3);
|
|
3421
|
+
|
|
3422
|
+
var configUtils_1 = __webpack_require__(6);
|
|
3423
|
+
|
|
3424
|
+
var StaticGaugeColorEditor = {
|
|
3425
|
+
label: i18n_1._('Static Gauge'),
|
|
3426
|
+
option: 'gaugeColor',
|
|
3427
|
+
editor: 'editor.color',
|
|
3428
|
+
showEditor: function showEditor(_ref) {
|
|
3429
|
+
var options = _ref.options;
|
|
3430
|
+
return !configUtils_1.isDynamicOption(options.gaugeColor);
|
|
3431
|
+
}
|
|
3432
|
+
};
|
|
3433
|
+
exports.default = StaticGaugeColorEditor;
|
|
3434
|
+
|
|
3435
|
+
/***/ }),
|
|
3436
|
+
/* 165 */
|
|
3437
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3438
|
+
|
|
3439
|
+
"use strict";
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
3443
|
+
var t = {};
|
|
3444
|
+
|
|
3445
|
+
for (var p in s) {
|
|
3446
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3447
|
+
}
|
|
3448
|
+
|
|
3449
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3450
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
3451
|
+
}
|
|
3452
|
+
return t;
|
|
3453
|
+
};
|
|
3454
|
+
|
|
3455
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3456
|
+
value: true
|
|
3457
|
+
});
|
|
3458
|
+
exports.AXIS_ORIENTATION_TYPES = void 0;
|
|
3459
|
+
|
|
3460
|
+
var React = __webpack_require__(1);
|
|
3461
|
+
|
|
3462
|
+
var T = __webpack_require__(0);
|
|
3463
|
+
|
|
3464
|
+
var styled_components_1 = __webpack_require__(4);
|
|
3465
|
+
|
|
3466
|
+
var lodash_1 = __webpack_require__(2);
|
|
3467
|
+
|
|
3468
|
+
var i18n_1 = __webpack_require__(3);
|
|
3469
|
+
|
|
3470
|
+
var style_1 = __webpack_require__(13);
|
|
3471
|
+
|
|
3472
|
+
var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
3473
|
+
|
|
3474
|
+
var Message_1 = __webpack_require__(9);
|
|
3475
|
+
|
|
3476
|
+
var gaugeUtils_1 = __webpack_require__(71);
|
|
3477
|
+
|
|
3478
|
+
var GaugeMajorTicks_1 = __webpack_require__(96);
|
|
3479
|
+
|
|
3480
|
+
var GaugeValueMarker_1 = __webpack_require__(97);
|
|
3481
|
+
|
|
3482
|
+
var Container = styled_components_1.default.div.withConfig({
|
|
3483
|
+
displayName: "FillerGauge__Container",
|
|
3484
|
+
componentId: "u356pd-0"
|
|
3485
|
+
})(["overflow:hidden;", ";background-color:", ";"], function (props) {
|
|
3486
|
+
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
3487
|
+
}, function (props) {
|
|
3488
|
+
return props.backgroundColor;
|
|
3489
|
+
});
|
|
3490
|
+
var FillerGaugeWrapper = styled_components_1.default.div.withConfig({
|
|
3491
|
+
displayName: "FillerGauge__FillerGaugeWrapper",
|
|
3492
|
+
componentId: "u356pd-1"
|
|
3493
|
+
})(["display:flex;justify-content:center;flex-direction:row;width:100%;height:100%;background-color:", ";"], function (props) {
|
|
3494
|
+
return props.backgroundColor;
|
|
3495
|
+
});
|
|
3496
|
+
var FillerGaugeContainer = styled_components_1.default.div.withConfig({
|
|
3497
|
+
displayName: "FillerGauge__FillerGaugeContainer",
|
|
3498
|
+
componentId: "u356pd-2"
|
|
3499
|
+
})(["overflow:hidden;position:relative;", ";"], function (props) {
|
|
3500
|
+
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
3501
|
+
});
|
|
3502
|
+
var FillerGaugeSVG = styled_components_1.default.svg.withConfig({
|
|
3503
|
+
displayName: "FillerGauge__FillerGaugeSVG",
|
|
3504
|
+
componentId: "u356pd-3"
|
|
3505
|
+
})(["", ";"], function (props) {
|
|
3506
|
+
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
3507
|
+
});
|
|
3508
|
+
var BackgroundBar = styled_components_1.default.rect.attrs({
|
|
3509
|
+
'data-test': 'background-bar-rect'
|
|
3510
|
+
}).withConfig({
|
|
3511
|
+
displayName: "FillerGauge__BackgroundBar",
|
|
3512
|
+
componentId: "u356pd-4"
|
|
3513
|
+
})(["fill:", ";"], function (props) {
|
|
3514
|
+
return props.backgroundBarFillColor;
|
|
3515
|
+
});
|
|
3516
|
+
var FillBar = styled_components_1.default.rect.attrs({
|
|
3517
|
+
'data-test': 'fill-bar-rect'
|
|
3518
|
+
}).withConfig({
|
|
3519
|
+
displayName: "FillerGauge__FillBar",
|
|
3520
|
+
componentId: "u356pd-5"
|
|
3521
|
+
})(["fill:", ";"], function (props) {
|
|
3522
|
+
return props.color;
|
|
3523
|
+
});
|
|
3524
|
+
var MAX_VERTICAL_CONTAINER_WIDTH = 200;
|
|
3525
|
+
var MIN_VERTICAL_CONTAINER_HEIGHT = 200;
|
|
3526
|
+
var MIN_HORIZONTAL_CONTAINER_WIDTH = 200;
|
|
3527
|
+
var MIN_HORIZONTAL_CONTAINER_HEIGHT = 100;
|
|
3528
|
+
var AXIS_ORIENTATION_TYPES;
|
|
3529
|
+
|
|
3530
|
+
(function (AXIS_ORIENTATION_TYPES) {
|
|
3531
|
+
AXIS_ORIENTATION_TYPES["VERTICAL"] = "vertical";
|
|
3532
|
+
AXIS_ORIENTATION_TYPES["HORIZONTAL"] = "horizontal";
|
|
3533
|
+
})(AXIS_ORIENTATION_TYPES = exports.AXIS_ORIENTATION_TYPES || (exports.AXIS_ORIENTATION_TYPES = {}));
|
|
3534
|
+
|
|
3535
|
+
var FillerGauge = function FillerGauge(_a) {
|
|
3536
|
+
var props = __rest(_a, []);
|
|
3537
|
+
|
|
3538
|
+
var width = props.width,
|
|
3539
|
+
height = props.height,
|
|
3540
|
+
value = props.value,
|
|
3541
|
+
gaugeColor = props.gaugeColor,
|
|
3542
|
+
min = props.min,
|
|
3543
|
+
max = props.max,
|
|
3544
|
+
orientation = props.orientation,
|
|
3545
|
+
majorUnit = props.majorUnit,
|
|
3546
|
+
showLabels = props.showLabels,
|
|
3547
|
+
showValue = props.showValue,
|
|
3548
|
+
usePercentageRange = props.usePercentageRange,
|
|
3549
|
+
usePercentageValue = props.usePercentageValue,
|
|
3550
|
+
backgroundColor = props.backgroundColor,
|
|
3551
|
+
backgroundBarFillColor = props.backgroundBarFillColor,
|
|
3552
|
+
majorTickFillColor = props.majorTickFillColor,
|
|
3553
|
+
majorTickStrokeColor = props.majorTickStrokeColor,
|
|
3554
|
+
valueMarkerFillColor = props.valueMarkerFillColor,
|
|
3555
|
+
valueMarkerLabelFillColor = props.valueMarkerLabelFillColor;
|
|
3556
|
+
|
|
3557
|
+
var renderVisualization = function renderVisualization(_ref) {
|
|
3558
|
+
var containerWidth = _ref.width,
|
|
3559
|
+
containerHeight = _ref.height;
|
|
3560
|
+
|
|
3561
|
+
// todo: need change the size when get design for smaller space
|
|
3562
|
+
// 58 is the title & description header height in dashboard visualization
|
|
3563
|
+
if ((containerWidth < MAX_VERTICAL_CONTAINER_WIDTH || containerHeight + 58 < MIN_VERTICAL_CONTAINER_HEIGHT) && orientation === 'vertical' || (containerWidth < MIN_HORIZONTAL_CONTAINER_WIDTH || containerHeight < MIN_HORIZONTAL_CONTAINER_HEIGHT) && orientation === 'horizontal') {
|
|
3564
|
+
return React.createElement(Message_1.default, {
|
|
3565
|
+
width: containerWidth,
|
|
3566
|
+
height: containerHeight,
|
|
3567
|
+
message: i18n_1._('Too small to render content'),
|
|
3568
|
+
level: "info"
|
|
3569
|
+
});
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
var _gaugeUtils_1$getGaug = gaugeUtils_1.getGaugeDimensions({
|
|
3573
|
+
containerWidth: containerWidth,
|
|
3574
|
+
containerHeight: containerHeight,
|
|
3575
|
+
orientation: orientation
|
|
3576
|
+
}),
|
|
3577
|
+
gaugeLength = _gaugeUtils_1$getGaug.gaugeLength,
|
|
3578
|
+
gaugeStartX = _gaugeUtils_1$getGaug.gaugeStartX,
|
|
3579
|
+
gaugeStartY = _gaugeUtils_1$getGaug.gaugeStartY,
|
|
3580
|
+
gaugeWidth = _gaugeUtils_1$getGaug.gaugeWidth,
|
|
3581
|
+
gaugeHeight = _gaugeUtils_1$getGaug.gaugeHeight;
|
|
3582
|
+
|
|
3583
|
+
var _gaugeUtils_1$getFill = gaugeUtils_1.getFillBarDimensions({
|
|
3584
|
+
gaugeLength: gaugeLength,
|
|
3585
|
+
gaugeStartX: gaugeStartX,
|
|
3586
|
+
gaugeStartY: gaugeStartY,
|
|
3587
|
+
gaugeWidth: gaugeWidth,
|
|
3588
|
+
gaugeHeight: gaugeHeight,
|
|
3589
|
+
value: value,
|
|
3590
|
+
min: min,
|
|
3591
|
+
max: max,
|
|
3592
|
+
orientation: orientation
|
|
3593
|
+
}),
|
|
3594
|
+
fillBarLength = _gaugeUtils_1$getFill.fillBarLength,
|
|
3595
|
+
fillBarX = _gaugeUtils_1$getFill.fillBarX,
|
|
3596
|
+
fillBarY = _gaugeUtils_1$getFill.fillBarY,
|
|
3597
|
+
fillBarWidth = _gaugeUtils_1$getFill.fillBarWidth,
|
|
3598
|
+
fillBarHeight = _gaugeUtils_1$getFill.fillBarHeight;
|
|
3599
|
+
|
|
3600
|
+
var _gaugeUtils_1$getFill2 = gaugeUtils_1.getFillerGaugeValueMarkerPositions({
|
|
3601
|
+
fillBarX: fillBarX,
|
|
3602
|
+
fillBarY: fillBarY,
|
|
3603
|
+
fillBarLength: fillBarLength,
|
|
3604
|
+
orientation: orientation
|
|
3605
|
+
}),
|
|
3606
|
+
valueMarkerX = _gaugeUtils_1$getFill2.valueMarkerX,
|
|
3607
|
+
valueMarkerY = _gaugeUtils_1$getFill2.valueMarkerY;
|
|
3608
|
+
|
|
3609
|
+
return React.createElement(FillerGaugeWrapper, {
|
|
3610
|
+
backgroundColor: backgroundColor,
|
|
3611
|
+
"data-test": "FillerGaugeWrapper"
|
|
3612
|
+
}, React.createElement(FillerGaugeContainer, {
|
|
3613
|
+
width: containerWidth,
|
|
3614
|
+
height: containerHeight,
|
|
3615
|
+
"data-test": "FillerGaugeContainer"
|
|
3616
|
+
}, React.createElement(FillerGaugeSVG, {
|
|
3617
|
+
width: containerWidth,
|
|
3618
|
+
height: containerHeight,
|
|
3619
|
+
"data-test": "FillerGaugeSVG"
|
|
3620
|
+
}, React.createElement(BackgroundBar, {
|
|
3621
|
+
x: gaugeStartX,
|
|
3622
|
+
y: gaugeStartY,
|
|
3623
|
+
width: gaugeWidth,
|
|
3624
|
+
height: gaugeHeight,
|
|
3625
|
+
"data-test": "BackgroundBar",
|
|
3626
|
+
backgroundBarFillColor: backgroundBarFillColor
|
|
3627
|
+
}), React.createElement(GaugeMajorTicks_1.default, {
|
|
3628
|
+
width: gaugeWidth,
|
|
3629
|
+
height: gaugeHeight,
|
|
3630
|
+
startX: gaugeStartX,
|
|
3631
|
+
startY: gaugeStartY,
|
|
3632
|
+
min: min,
|
|
3633
|
+
max: max,
|
|
3634
|
+
majorUnit: majorUnit,
|
|
3635
|
+
orientation: orientation,
|
|
3636
|
+
showLabels: showLabels,
|
|
3637
|
+
usePercentageRange: usePercentageRange,
|
|
3638
|
+
majorTickFillColor: majorTickFillColor,
|
|
3639
|
+
majorTickStrokeColor: majorTickStrokeColor
|
|
3640
|
+
}), React.createElement(FillBar, {
|
|
3641
|
+
x: fillBarX,
|
|
3642
|
+
y: fillBarY,
|
|
3643
|
+
width: fillBarWidth,
|
|
3644
|
+
height: fillBarHeight,
|
|
3645
|
+
color: gaugeColor || gaugeUtils_1.assignGaugeColor({
|
|
3646
|
+
value: value,
|
|
3647
|
+
min: min,
|
|
3648
|
+
max: max
|
|
3649
|
+
}),
|
|
3650
|
+
"data-test": "FillBar"
|
|
3651
|
+
}), React.createElement(GaugeValueMarker_1.default, {
|
|
3652
|
+
x: valueMarkerX,
|
|
3653
|
+
y: valueMarkerY,
|
|
3654
|
+
length: gaugeUtils_1.GAUGE_THICKNESS,
|
|
3655
|
+
min: min,
|
|
3656
|
+
max: max,
|
|
3657
|
+
value: value,
|
|
3658
|
+
orientation: orientation,
|
|
3659
|
+
showValue: showValue,
|
|
3660
|
+
usePercentageValue: usePercentageValue,
|
|
3661
|
+
valueMarkerFillColor: valueMarkerFillColor,
|
|
3662
|
+
valueMarkerLabelFillColor: valueMarkerLabelFillColor
|
|
3663
|
+
}))));
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
return React.createElement(Container, {
|
|
3667
|
+
width: width,
|
|
3668
|
+
height: height,
|
|
3669
|
+
backgroundColor: backgroundColor
|
|
3670
|
+
}, React.createElement(SizeAwareWrapper_1.default, null, function (containerDimension) {
|
|
3671
|
+
return renderVisualization(containerDimension);
|
|
3672
|
+
}));
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
var propTypes = {
|
|
3676
|
+
width: T.oneOfType([T.string, T.number]),
|
|
3677
|
+
height: T.oneOfType([T.string, T.number]),
|
|
3678
|
+
value: T.number,
|
|
3679
|
+
gaugeColor: T.string,
|
|
3680
|
+
min: T.number,
|
|
3681
|
+
max: T.number,
|
|
3682
|
+
// valueFieldName: T.string, // todo: need add it back when displaying name later
|
|
3683
|
+
// gaugeColorFieldName: T.string, // todo: may need add it back may not
|
|
3684
|
+
orientation: T.oneOf(['horizontal', 'vertical']),
|
|
3685
|
+
majorUnit: T.oneOfType([T.string, T.number]),
|
|
3686
|
+
showLabels: T.bool,
|
|
3687
|
+
showValue: T.bool,
|
|
3688
|
+
usePercentageRange: T.bool,
|
|
3689
|
+
usePercentageValue: T.bool,
|
|
3690
|
+
backgroundColor: T.string,
|
|
3691
|
+
backgroundBarFillColor: T.string,
|
|
3692
|
+
majorTickFillColor: T.string,
|
|
3693
|
+
majorTickStrokeColor: T.string,
|
|
3694
|
+
valueMarkerFillColor: T.string,
|
|
3695
|
+
valueMarkerLabelFillColor: T.string
|
|
3696
|
+
};
|
|
3697
|
+
var defaultProps = {
|
|
3698
|
+
width: '100%',
|
|
3699
|
+
height: 250,
|
|
3700
|
+
value: undefined,
|
|
3701
|
+
gaugeColor: undefined,
|
|
3702
|
+
orientation: 'vertical',
|
|
3703
|
+
min: 0,
|
|
3704
|
+
max: 100,
|
|
3705
|
+
majorUnit: 'auto',
|
|
3706
|
+
showLabels: true,
|
|
3707
|
+
showValue: true,
|
|
3708
|
+
usePercentageRange: false,
|
|
3709
|
+
usePercentageValue: false,
|
|
3710
|
+
backgroundColor: 'transparent',
|
|
3711
|
+
backgroundBarFillColor: '#f2f4f5',
|
|
3712
|
+
majorTickFillColor: '#3c444d',
|
|
3713
|
+
majorTickStrokeColor: '#6b7785',
|
|
3714
|
+
valueMarkerFillColor: '#3c444d',
|
|
3715
|
+
valueMarkerLabelFillColor: '#f2f4f5'
|
|
3716
|
+
};
|
|
3717
|
+
FillerGauge.propTypes = propTypes;
|
|
3718
|
+
FillerGauge.defaultProps = defaultProps;
|
|
3719
|
+
exports.default = FillerGauge;
|
|
3720
|
+
|
|
3721
|
+
/***/ })
|
|
3722
|
+
/******/ ]);
|
|
3723
|
+
//# sourceMappingURL=FillerGauge.js.map
|