@elastic/charts 46.11.2 → 46.13.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/README.md +5 -3
- package/dist/chart_types/flame_chart/render/draw_a_frame.js +42 -40
- package/dist/chart_types/flame_chart/render/draw_a_frame.js.map +1 -1
- package/dist/chart_types/goal_chart/state/selectors/get_goal_chart_data.js.map +1 -1
- package/dist/chart_types/goal_chart/state/selectors/picked_shapes.js.map +1 -1
- package/dist/chart_types/heatmap/state/selectors/get_color_scale.js.map +1 -1
- package/dist/chart_types/heatmap/state/selectors/get_heatmap_spec.js.map +1 -1
- package/dist/chart_types/heatmap/state/selectors/is_empty.js +1 -1
- package/dist/chart_types/heatmap/state/selectors/is_empty.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/index.js +27 -36
- package/dist/chart_types/metric/renderer/dom/index.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/metric.d.ts +2 -0
- package/dist/chart_types/metric/renderer/dom/metric.d.ts.map +1 -0
- package/dist/chart_types/metric/renderer/dom/metric.js +122 -0
- package/dist/chart_types/metric/renderer/dom/metric.js.map +1 -0
- package/dist/chart_types/metric/renderer/dom/progress.js +4 -4
- package/dist/chart_types/metric/renderer/dom/progress.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/text.js +20 -12
- package/dist/chart_types/metric/renderer/dom/text.js.map +1 -1
- package/dist/chart_types/metric/specs/index.d.ts +7 -5
- package/dist/chart_types/metric/specs/index.d.ts.map +1 -1
- package/dist/chart_types/metric/specs/index.js +2 -2
- package/dist/chart_types/metric/specs/index.js.map +1 -1
- package/dist/chart_types/metric/state/selectors/chart_size.js.map +1 -1
- package/dist/chart_types/partition_chart/layout/utils/group_by_rollup.js.map +1 -1
- package/dist/chart_types/partition_chart/layout/utils/highlighted_geoms.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/layout/utils/highlighted_geoms.js +51 -39
- package/dist/chart_types/partition_chart/layout/utils/highlighted_geoms.js.map +1 -1
- package/dist/chart_types/partition_chart/layout/viewmodel/hierarchy_of_arrays.js +13 -11
- package/dist/chart_types/partition_chart/layout/viewmodel/hierarchy_of_arrays.js.map +1 -1
- package/dist/chart_types/partition_chart/layout/viewmodel/viewmodel.js.map +1 -1
- package/dist/chart_types/partition_chart/state/selectors/get_debug_state.js +1 -3
- package/dist/chart_types/partition_chart/state/selectors/get_debug_state.js.map +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/multilayer_ticks.js.map +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/rasters.js.map +1 -1
- package/dist/chart_types/xy_chart/renderer/canvas/animations/index.js +22 -18
- package/dist/chart_types/xy_chart/renderer/canvas/animations/index.js.map +1 -1
- package/dist/chart_types/xy_chart/renderer/common/utils.js.map +1 -1
- package/dist/chart_types/xy_chart/renderer/shapes_paths.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/compute_annotations.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/compute_per_panel_axes_geoms.js +3 -1
- package/dist/chart_types/xy_chart/state/selectors/compute_per_panel_axes_geoms.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/get_elements_at_cursor_pos.js +1 -2
- package/dist/chart_types/xy_chart/state/selectors/get_elements_at_cursor_pos.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/get_specs.js.map +1 -1
- package/dist/chart_types/xy_chart/state/utils/common.js +5 -3
- package/dist/chart_types/xy_chart/state/utils/common.js.map +1 -1
- package/dist/chart_types/xy_chart/utils/series.js.map +1 -1
- package/dist/chart_types/xy_chart/utils/stacked_series_utils.js +8 -6
- package/dist/chart_types/xy_chart/utils/stacked_series_utils.js.map +1 -1
- package/dist/common/color_library_wrappers.js +6 -1
- package/dist/common/color_library_wrappers.js.map +1 -1
- package/dist/common/event_handler_selectors.js +54 -48
- package/dist/common/event_handler_selectors.js.map +1 -1
- package/dist/common/kingly.js +9 -7
- package/dist/common/kingly.js.map +1 -1
- package/dist/components/chart.d.ts.map +1 -1
- package/dist/components/chart.js.map +1 -1
- package/dist/components/legend/legend_icon.js +1 -3
- package/dist/components/legend/legend_icon.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/scales/scale_band.js.map +1 -1
- package/dist/specs/settings.d.ts +17 -2
- package/dist/specs/settings.d.ts.map +1 -1
- package/dist/specs/settings.js +5 -1
- package/dist/specs/settings.js.map +1 -1
- package/dist/state/selectors/get_settings_specs.js.map +1 -1
- package/dist/state/spec_factory.d.ts.map +1 -1
- package/dist/state/spec_factory.js +15 -11
- package/dist/state/spec_factory.js.map +1 -1
- package/dist/theme.scss +39 -1
- package/dist/theme_dark.css +1 -1
- package/dist/theme_dark.css.map +1 -1
- package/dist/theme_light.css +1 -1
- package/dist/theme_light.css.map +1 -1
- package/dist/theme_only_dark.css +1 -1
- package/dist/theme_only_dark.css.map +1 -1
- package/dist/theme_only_light.css +1 -1
- package/dist/theme_only_light.css.map +1 -1
- package/dist/utils/chrono/elasticsearch.d.ts +29 -4
- package/dist/utils/chrono/elasticsearch.d.ts.map +1 -1
- package/dist/utils/chrono/elasticsearch.js +7 -7
- package/dist/utils/chrono/elasticsearch.js.map +1 -1
- package/dist/utils/chrono/types.d.ts +6 -1
- package/dist/utils/chrono/types.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../src/components/_global.scss","../src/components/_container.scss","../src/components/brush/_brush.scss","../src/components/tooltip/_tooltip.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_shadow.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_tool_tip.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_tool_tip.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_z_index.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_typography.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_size.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_font_weight.scss","../src/components/_mixins.scss","../src/components/portal/_portal.scss","../src/components/icons/_icon.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_states.scss","../src/components/legend/_legend.scss","../src/components/legend/_variables.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_helpers.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_states.scss","../src/components/legend/_legend_item.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/_colors_dark.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_typography.scss","../src/components/_unavailable_chart.scss","../src/chart_types/xy_chart/renderer/dom/_highlighter.scss","../src/chart_types/xy_chart/renderer/dom/_crosshair.scss","../src/chart_types/xy_chart/renderer/dom/_screen_reader.scss","../src/chart_types/xy_chart/renderer/dom/annotations/_annotations.scss","../src/chart_types/partition_chart/renderer/_index.scss","../src/chart_types/metric/renderer/_index.scss","../src/chart_types/metric/renderer/dom/_text.scss","../src/chart_types/metric/renderer/dom/_progress.scss","../src/chart_types/metric/renderer/dom/_sparkline.scss"],"names":[],"mappings":"AAAA,gBACE,kBACA,oBACA,gBACA,QACA,SACA,kBAGF,oBACE,kBACA,MACA,SACA,OACA,QCdF,UACE,kBACA,aACA,YAEA,kBACE,sBAIJ,cACE,OACA,kBACA,gBAGF,0BACE,kBACA,MACA,SACA,QACA,OACA,sBACA,iBAGF,iBACE,kBACA,kBACA,SACA,MACA,OACA,QACA,sBCjCF,cACE,kBACA,MACA,OACA,SACA,UACA,sBACA,gBACA,oBCNF,YC2CE,WACE,kHC5CF,cCFgB,IDGhB,iBEH0B,KFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KF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MACA,QACA,SACA,OACA,WAGF,uBACE,eACA,aACA,uBACA,mBACA,OAzDe,KA0Df,2BAEA,uIAIE,YACA,WAIJ,sBACE,aACA,gBACA,mBAGF,sBZtDE,UCfc,KDgBd,0BAOF,4BYgDE,cACA,gBACA,wBACA,qBACA,mBRnFF,yBACA,qBACA,qBACA,sBACA,aACA,gBACA,cQgFE,kCE0DF,eACA,2BACA,kCACA,8BACA,4BFzDE,yCACE,oBACA,4BACA,qBAGF,uCACE,eACA,0BAIJ,sBZhFE,UCfc,KDgBd,0BAOF,4BY0EE,iBACA,cACA,YV1GU,IU2GV,6BACA,qBACA,cAGF,yBACE,gBACA,mBAEA,uCACE,eAGF,qCACE,eACA,kBAIJ,uBACE,MC5GgB,QDiHd,8CACE,iBGvIR,4BACE,aACA,mBACA,uBACA,WACA,YfmBE,UCfc,KDgBd,0BAOF,4BezBA,MFckB,QGrBpB,gBACE,kBACA,oBACA,MACA,SACA,OACA,QACA,WACA,YAGF,6BACE,0BAGF,+BACE,4BAGF,sBACE,uBCpBF,6DAGE,kBACA,MACA,OACA,oBCNF,qBACE,kBACA,cACA,SACA,UACA,WACA,gBAGF,0BACE,kBACA,iBACA,mBACA,oBACA,sBACA,uBACA,yBACA,gCACA,0FAGE,sBACA,eAIJ,sBACE,gBACA,gBC5BF,eACE,kBACA,iBACA,UlBMgB,KkBLhB,YhBG0B,IgBD1B,wBxBuCA,WACE,kHC5CF,cCFgB,IDGhB,iBEH0B,KFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KFoBV,UCfc,KDgBd,0BAOF,4BmBvBE,UACA,yBACA,oBACA,iBACA,gBAGF,uBvBGA,YOZ0B,IPa1B,6BACA,eMnBY,INoBZ,cMpBY,IiBgBV,gBAGF,wBACE,gBAGF,qBACE,kBAGF,qBACE,mBC9BJ,mBACE,kBACA,MACA,OACA,UACA,SACA,SACA,uBCPF,oBACE,aACA,WACA,YACA,oBACA,wBACA,oBACA,iBAGF,WACE,kBACA,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/components/_global.scss","../src/components/_container.scss","../src/components/brush/_brush.scss","../src/components/tooltip/_tooltip.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_shadow.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_tool_tip.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_tool_tip.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_z_index.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_typography.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_size.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_font_weight.scss","../src/components/_mixins.scss","../src/components/portal/_portal.scss","../src/components/icons/_icon.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_states.scss","../src/components/legend/_legend.scss","../src/components/legend/_variables.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_helpers.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_states.scss","../src/components/legend/_legend_item.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/_colors_dark.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_typography.scss","../src/components/_unavailable_chart.scss","../src/chart_types/xy_chart/renderer/dom/_highlighter.scss","../src/chart_types/xy_chart/renderer/dom/_crosshair.scss","../src/chart_types/xy_chart/renderer/dom/_screen_reader.scss","../src/chart_types/xy_chart/renderer/dom/annotations/_annotations.scss","../src/chart_types/partition_chart/renderer/_index.scss","../src/chart_types/metric/renderer/_index.scss","../src/chart_types/metric/renderer/dom/_text.scss","../src/chart_types/metric/renderer/dom/_progress.scss","../src/chart_types/metric/renderer/dom/_sparkline.scss"],"names":[],"mappings":"AAAA,gBACE,kBACA,oBACA,gBACA,QACA,SACA,kBAGF,oBACE,kBACA,MACA,SACA,OACA,QCdF,UACE,kBACA,aACA,YAEA,kBACE,sBAIJ,cACE,OACA,kBACA,gBAGF,0BACE,kBACA,MACA,SACA,QACA,OACA,sBACA,iBAGF,iBACE,kBACA,kBACA,SACA,MACA,OACA,QACA,sBCjCF,cACE,kBACA,MACA,OACA,SACA,UACA,sBACA,gBACA,oBCNF,YC2CE,WACE,kHC5CF,cCFgB,IDGhB,iBEH0B,KFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KFoBV,UCfc,KDgBd,0BAOF,4BN3BA,UACA,yBACA,oBACA,iBACA,gBAEA,kBACE,QQVU,IRaZ,oBEIA,YOZ0B,IPa1B,6BACA,eMnBY,INoBZ,cMpBY,IReV,gBACA,gBAGF,kBACE,aACA,cAEA,6BACE,aACA,cACA,YACA,eACA,cAGF,mCACE,kBACA,MQjCQ,IRkCR,iBACA,cAGF,yBACE,kBACA,MACA,OACA,QACA,SAIJ,mBUhDA,yBACA,qBACA,qBACA,sBACA,aACA,gBACA,cV4CE,cACA,cAGF,mBACE,YSjDwB,ITkDxB,iBACA,6BACA,YQxDU,IRyDV,cAGF,4BACE,sCAGF,oBACE,UAMI,kDACE,YACA,gBAGF,wDACE,eACA,gBAIJ,wCACE,cACA,aQpFM,IGHd,uBACE,oBAGF,gBACE,kBACA,oBAGF,6BACE,eACA,kBACA,QACA,SCbF,SACE,cACA,qBACA,sBACA,kBAEA,aACE,0BAGF,eACE,UACA,WCFsB,oBCTxB,0BACE,aACA,qCACA,uBACA,qBACA,qBACA,mBAGA,sCACE,gBCTe,KDUf,aCXY,IDYZ,WCZY,IDaZ,cCbY,IDiBhB,iCAEE,QAGF,qCAEE,QAGF,kBACE,gCACA,kBAGF,mCE1BA,iDAGE,qBAqCF,YACA,gBACA,kBfmDE,6HajEA,WACA,gBACA,kBEvBF,sDACE,MRfU,KQgBV,ORhBU,KQmBZ,4DACE,sCACA,4BAC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ACE,kHC5CF,cCFgB,IDGhB,iBEH0B,KFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KFoBV,UCfc,KDgBd,0BAOF,4BmBvBE,UACA,yBACA,oBACA,iBACA,gBAGF,uBvBGA,YOZ0B,IPa1B,6BACA,eMnBY,INoBZ,cMpBY,IiBgBV,gBAGF,wBACE,gBAGF,qBACE,kBAGF,qBACE,mBC9BJ,mBACE,kBACA,MACA,OACA,UACA,SACA,SACA,uBCPF,oBACE,aACA,WACA,YACA,oBACA,wBACA,oBACA,iBAGF,WACE,kBACA,WACA,YACA,gBACA,4CAEA,+BACE,kBACA,MACA,OACA,QACA,SACA,oBAIA,4CACE,aACA,sBAIJ,+BACE,aAGF,wBACE,+BAGF,yBACE,gCAIA,sCACE,kBAKF,wCACE,oBC5CN,eACE,kBACA,YACA,YACA,UACA,aACA,2BACA,wEACA,gBACA,gBACA,sBACE,gBACA,6BACE,gBAGJ,qBACE,kBACA,UACA,QAGF,yBACE,gBACA,gBACA,gBAGF,sBACE,iBACA,gBAGF,sBACE,kBACA,gBACA,iBACA,mBAGF,qBACE,gBAGF,oBACE,kBCtDJ,yBACE,kBACA,gBAEA,mCACE,OACA,QACA,MACA,SACA,YACA,WACA,kEACE,WACA,WAIJ,qCACE,OACA,QACA,WACA,MACA,SACA,YACA,oEACE,SACA,YAKN,4BACE,4CACA,sCACE,kBACA,OACA,QACA,SACA,WAEF,wCACE,kBACA,MACA,SACA,OACA,YC7CJ,0BACE,kBACA,gBACA,MACA,SACA,OACA,QAGF,+BACE,kBACA,MACA,SACA,OACA,QACA,WACA,YACA,wEAEE,gCAIJ,6BACE,kBACA,SACA,UACA,SACA,QACA,YACA","file":"theme_only_dark.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);border-radius:6px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:1rem;line-height:1.7142857143rem;padding:12px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin-left:8px;direction:ltr}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,.1)}.echTooltip--hidden{opacity:0}.echTooltip[dir=rtl] .echTooltip__item--container{padding:3px;padding-right:0}.echTooltip[dir=rtl] .echTooltip__item--backgroundColor{margin-right:0;margin-left:3px}.echTooltip[dir=rtl] .echTooltip__value{margin-left:0;margin-right:8px}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(0,119,204,.1)}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(0,119,204,.1);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#343741;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#f5f7fa}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#69707d}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#69707d}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(255,255,255,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);border-radius:6px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:1rem;line-height:1.7142857143rem;padding:12px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;overflow:hidden}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--small{padding-left:10px}.echMetric--horizontal.echMetric--small{padding-bottom:10px}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content}.echMetricText__title{font-weight:400}.echMetricText__subtitle{padding-top:5px;font-weight:300}.echMetricText__extra{text-align:right;font-weight:400}.echMetricText__value{position:relative;font-weight:600;text-align:right;white-space:nowrap}.echMetricText__part{font-weight:400}.echMetricText__gap{position:relative}.echSingleMetricProgress{position:absolute;overflow:hidden}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|
|
1
|
+
.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);border-radius:6px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:1rem;line-height:1.7142857143rem;padding:12px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin-left:8px;direction:ltr}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,.1)}.echTooltip--hidden{opacity:0}.echTooltip[dir=rtl] .echTooltip__item--container{padding:3px;padding-right:0}.echTooltip[dir=rtl] .echTooltip__item--backgroundColor{margin-right:0;margin-left:3px}.echTooltip[dir=rtl] .echTooltip__value{margin-left:0;margin-right:8px}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(0,119,204,.1)}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(0,119,204,.1);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#343741;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#f5f7fa}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#69707d}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#69707d}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(255,255,255,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);border-radius:6px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:1rem;line-height:1.7142857143rem;padding:12px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric:focus-within button{outline:none}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--small{padding-left:10px}.echMetric--horizontal.echMetric--small{padding-bottom:10px}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content;text-align:left;line-height:1.2}.echMetricText__title{font-weight:400}.echMetricText__title button{text-align:left}.echMetricText__icon{position:absolute;right:8px;top:8px}.echMetricText__subtitle{padding-top:5px;font-weight:300;text-align:left}.echMetricText__extra{text-align:right;font-weight:400}.echMetricText__value{position:relative;font-weight:600;text-align:right;white-space:nowrap}.echMetricText__part{font-weight:400}.echMetricText__gap{position:relative}.echSingleMetricProgress{position:absolute;overflow:hidden}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../src/components/_global.scss","../src/components/_container.scss","../src/components/brush/_brush.scss","../src/components/tooltip/_tooltip.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_shadow.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_tool_tip.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_tool_tip.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_z_index.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_typography.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_size.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_font_weight.scss","../src/components/_mixins.scss","../src/components/portal/_portal.scss","../src/components/icons/_icon.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_states.scss","../src/components/legend/_legend.scss","../src/components/legend/_variables.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_helpers.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_states.scss","../src/components/legend/_legend_item.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/_colors_light.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_typography.scss","../src/components/_unavailable_chart.scss","../src/chart_types/xy_chart/renderer/dom/_highlighter.scss","../src/chart_types/xy_chart/renderer/dom/_crosshair.scss","../src/chart_types/xy_chart/renderer/dom/_screen_reader.scss","../src/chart_types/xy_chart/renderer/dom/annotations/_annotations.scss","../src/chart_types/partition_chart/renderer/_index.scss","../src/chart_types/metric/renderer/_index.scss","../src/chart_types/metric/renderer/dom/_text.scss","../src/chart_types/metric/renderer/dom/_progress.scss","../src/chart_types/metric/renderer/dom/_sparkline.scss"],"names":[],"mappings":"AAAA,gBACE,kBACA,oBACA,gBACA,QACA,SACA,kBAGF,oBACE,kBACA,MACA,SACA,OACA,QCdF,UACE,kBACA,aACA,YAEA,kBACE,sBAIJ,cACE,OACA,kBACA,gBAGF,0BACE,kBACA,MACA,SACA,QACA,OACA,sBACA,iBAGF,iBACE,kBACA,kBACA,SACA,MACA,OACA,QACA,sBCjCF,cACE,kBACA,MACA,OACA,SACA,UACA,sBACA,gBACA,oBCNF,YC2CE,WACE,+GC5CF,cCFgB,IDGhB,iBEH0B,QFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KFoBV,UCfc,KDgBd,0BAOF,4BN3BA,UACA,yBACA,oBACA,iBACA,gBAEA,kBACE,QQVU,IRaZ,oBEIA,YOZ0B,IPa1B,gCACA,eMnBY,INoBZ,cMpBY,IReV,gBACA,gBAGF,kBACE,aACA,cAEA,6BACE,aACA,cACA,YACA,eACA,cAGF,mCACE,kBACA,MQjCQ,IRkCR,iBACA,cAGF,yBACE,kBACA,MACA,OACA,QACA,SAIJ,mBUhDA,yBACA,qBACA,qBACA,sBACA,aACA,gBACA,cV4CE,cACA,cAGF,mBACE,YSjDwB,ITkDxB,iBACA,6BACA,YQxDU,IRyDV,cAGF,4BACE,sCAGF,oBACE,UAMI,kDACE,YACA,gBAGF,wDACE,eACA,gBAIJ,wCACE,cACA,aQpFM,IGHd,uBACE,oBAGF,gBACE,kBACA,oBAGF,6BACE,eACA,kBACA,QACA,SCbF,SACE,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A,MFckB,QGrBpB,gBACE,kBACA,oBACA,MACA,SACA,OACA,QACA,WACA,YAGF,6BACE,0BAGF,+BACE,4BAGF,sBACE,0BCpBF,6DAGE,kBACA,MACA,OACA,oBCNF,qBACE,kBACA,cACA,SACA,UACA,WACA,gBAGF,0BACE,kBACA,iBACA,mBACA,oBACA,sBACA,uBACA,yBACA,gCACA,0FAGE,sBACA,eAIJ,sBACE,gBACA,gBC5BF,eACE,kBACA,iBACA,UlBMgB,KkBLhB,YhBG0B,IgBD1B,wBxBuCA,WACE,+GC5CF,cCFgB,IDGhB,iBEH0B,QFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KFoBV,UCfc,KDgBd,0BAOF,4BmBvBE,UACA,yBACA,oBACA,iBACA,gBAGF,uBvBGA,YOZ0B,IPa1B,gCACA,eMnBY,INoBZ,cMpBY,IiBgBV,gBAGF,wBACE,gBAGF,qBACE,kBAGF,qBACE,mBC9BJ,mBACE,kBACA,MACA,OACA,UACA,SACA,SACA,uBCPF,oBACE,aACA,WACA,YACA,oBACA,wBACA,oBACA,iBAGF,WACE,kBACA,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/components/_global.scss","../src/components/_container.scss","../src/components/brush/_brush.scss","../src/components/tooltip/_tooltip.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_shadow.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_tool_tip.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_tool_tip.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_z_index.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_typography.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_size.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_font_weight.scss","../src/components/_mixins.scss","../src/components/portal/_portal.scss","../src/components/icons/_icon.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_states.scss","../src/components/legend/_legend.scss","../src/components/legend/_variables.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_helpers.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_states.scss","../src/components/legend/_legend_item.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/_colors_light.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_typography.scss","../src/components/_unavailable_chart.scss","../src/chart_types/xy_chart/renderer/dom/_highlighter.scss","../src/chart_types/xy_chart/renderer/dom/_crosshair.scss","../src/chart_types/xy_chart/renderer/dom/_screen_reader.scss","../src/chart_types/xy_chart/renderer/dom/annotations/_annotations.scss","../src/chart_types/partition_chart/renderer/_index.scss","../src/chart_types/metric/renderer/_index.scss","../src/chart_types/metric/renderer/dom/_text.scss","../src/chart_types/metric/renderer/dom/_progress.scss","../src/chart_types/metric/renderer/dom/_sparkline.scss"],"names":[],"mappings":"AAAA,gBACE,kBACA,oBACA,gBACA,QACA,SACA,kBAGF,oBACE,kBACA,MACA,SACA,OACA,QCdF,UACE,kBACA,aACA,YAEA,kBACE,sBAIJ,cACE,OACA,kBACA,gBAGF,0BACE,kBACA,MACA,SACA,QACA,OACA,sBACA,iBAGF,iBACE,kBACA,kBACA,SACA,MACA,OACA,QACA,sBCjCF,cACE,kBACA,MACA,OACA,SACA,UACA,sBACA,gBACA,oBCNF,YC2CE,WACE,+GC5CF,cCFgB,IDGhB,iBEH0B,QFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KFoBV,UCfc,KDgBd,0BAOF,4BN3BA,UACA,yBACA,oBACA,iBACA,gBAEA,kBACE,QQVU,IRaZ,oBEIA,YOZ0B,IPa1B,gCACA,eMnBY,INoBZ,cMpBY,IReV,gBACA,gBAGF,kBACE,aACA,cAEA,6BACE,aACA,c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BRnFF,yBACA,qBACA,qBACA,sBACA,aACA,gBACA,cQgFE,kCE0DF,eACA,2BACA,kCACA,8BACA,4BFzDE,yCACE,oBACA,4BACA,qBAGF,uCACE,eACA,0BAIJ,sBZhFE,UCfc,KDgBd,0BAOF,4BY0EE,iBACA,cACA,YV1GU,IU2GV,6BACA,qBACA,cAGF,yBACE,gBACA,mBAEA,uCACE,eAGF,qCACE,eACA,kBAIJ,uBACE,MC5GgB,QDiHd,8CACE,iBGvIR,4BACE,aACA,mBACA,uBACA,WACA,YfmBE,UCfc,KDgBd,0BAOF,4BezBA,MFckB,QGrBpB,gBACE,kBACA,oBACA,MACA,SACA,OACA,QACA,WACA,YAGF,6BACE,0BAGF,+BACE,4BAGF,sBACE,0BCpBF,6DAGE,kBACA,MACA,OACA,oBCNF,qBACE,kBACA,cACA,SACA,UACA,WACA,gBAGF,0BACE,kBACA,iBACA,mBACA,oBACA,sBACA,uBACA,yBACA,gCACA,0FAGE,sBACA,eAIJ,sBACE,gBACA,gBC5BF,eACE,kBACA,iBACA,UlBMgB,KkBLhB,YhBG0B,IgBD1B,wBxBuCA,WACE,+GC5CF,cCFgB,IDGhB,iBEH0B,QFI1B,WACA,QGkBW,KHjBX,gBACA,yBIiBE,UCdc,KDed,eAOF,4BJlBE,QMVU,KFoBV,UCfc,KDgBd,0BAOF,4BmBvBE,UACA,yBACA,oBACA,iBACA,gBAGF,uBvBGA,YOZ0B,IPa1B,gCACA,eMnBY,INoBZ,cMpBY,IiBgBV,gBAGF,wBACE,gBAGF,qBACE,kBAGF,qBACE,mBC9BJ,mBACE,kBACA,MACA,OACA,UACA,SACA,SACA,uBCPF,oBACE,aACA,WACA,YACA,oBACA,wBACA,oBACA,iBAGF,WACE,kBACA,WACA,YACA,gBACA,4CAEA,+BACE,kBACA,MACA,OACA,QACA,SACA,oBAIA,4CACE,aACA,sBAIJ,+BACE,aAGF,wBACE,+BAGF,yBACE,gCAIA,sCACE,kBAKF,wCACE,oBC5CN,eACE,kBACA,YACA,YACA,UACA,aACA,2BACA,wEACA,gBACA,gBACA,sBACE,gBACA,6BACE,gBAGJ,qBACE,kBACA,UACA,QAGF,yBACE,gBACA,gBACA,gBAGF,sBACE,iBACA,gBAGF,sBACE,kBACA,gBACA,iBACA,mBAGF,qBACE,gBAGF,oBACE,kBCtDJ,yBACE,kBACA,gBAEA,mCACE,OACA,QACA,MACA,SACA,YACA,WACA,kEACE,WACA,WAIJ,qCACE,OACA,QACA,WACA,MACA,SACA,YACA,oEACE,SACA,YAKN,4BACE,4CACA,sCACE,kBACA,OACA,QACA,SACA,WAEF,wCACE,kBACA,MACA,SACA,OACA,YC7CJ,0BACE,kBACA,gBACA,MACA,SACA,OACA,QAGF,+BACE,kBACA,MACA,SACA,OACA,QACA,WACA,YACA,wEAEE,gCAIJ,6BACE,kBACA,SACA,UACA,SACA,QACA,YACA","file":"theme_only_light.css"}
|
|
@@ -1,17 +1,42 @@
|
|
|
1
|
-
|
|
1
|
+
import { UnixTimestamp } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* An [Elasticsearch Calendar interval unit](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#calendar_intervals)
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
export declare type ESCalendarIntervalUnit = 'minute' | 'm' | 'hour' | 'h' | 'day' | 'd' | 'week' | 'w' | 'month' | 'M' | 'quarter' | 'q' | 'year' | 'y';
|
|
3
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* An [Elasticsearch fixed interval unit](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#fixed_intervals)
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
4
11
|
export declare type ESFixedIntervalUnit = 'ms' | 's' | 'm' | 'h' | 'd';
|
|
5
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The definition of an [Elasticsearch Calendar interval](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#calendar_intervals)
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
6
16
|
export interface ESCalendarInterval {
|
|
7
17
|
type: 'calendar';
|
|
8
18
|
unit: ESCalendarIntervalUnit;
|
|
9
19
|
value: number;
|
|
10
20
|
}
|
|
11
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* The definition of an [Elasticsearch fixed interval](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#fixed_intervals)
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
12
25
|
export interface ESFixedInterval {
|
|
13
26
|
type: 'fixed';
|
|
14
27
|
unit: ESFixedIntervalUnit;
|
|
15
28
|
value: number;
|
|
16
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Round a Date or unix timestamp to the beginning or end of the corresponding Elasticsearch date histogram bucket.
|
|
32
|
+
* It uses the [date histogram aggregation Elasticsearch formula](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#datehistogram-aggregation-time-zone)
|
|
33
|
+
* to compute the fixed interval bucket, and it uses an internal selected date/time library to compute the calendar one.
|
|
34
|
+
*
|
|
35
|
+
* @param date - a unix timestamp or a Date object
|
|
36
|
+
* @param interval - the description of the Elasticsearch interval you want to round to
|
|
37
|
+
* @param snapTo - if you want to snap the date at the `start` or at the `end` of the interval
|
|
38
|
+
* @param timeZone - a IANA timezone
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare function roundDateToESInterval(date: UnixTimestamp | Date, interval: ESCalendarInterval | ESFixedInterval, snapTo: 'start' | 'end', timeZone: string): UnixTimestamp;
|
|
17
42
|
//# sourceMappingURL=elasticsearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elasticsearch.d.ts","sourceRoot":"","sources":["../../../src/utils/chrono/elasticsearch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"elasticsearch.d.ts","sourceRoot":"","sources":["../../../src/utils/chrono/elasticsearch.ts"],"names":[],"mappings":"AAUA,OAAO,EAA2C,aAAa,EAAE,MAAM,SAAS,CAAC;AAEjF;;;GAGG;AACH,oBAAY,sBAAsB,GAC9B,QAAQ,GACR,GAAG,GACH,MAAM,GACN,GAAG,GACH,KAAK,GACL,GAAG,GACH,MAAM,GACN,GAAG,GACH,OAAO,GACP,GAAG,GACH,SAAS,GACT,GAAG,GACH,MAAM,GACN,GAAG,CAAC;AAER;;;GAGG;AACH,oBAAY,mBAAmB,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAW/D;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAmBD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,aAAa,GAAG,IAAI,EAC1B,QAAQ,EAAE,kBAAkB,GAAG,eAAe,EAC9C,MAAM,EAAE,OAAO,GAAG,KAAK,EACvB,QAAQ,EAAE,MAAM,GACf,aAAa,CAIf"}
|
|
@@ -25,7 +25,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
25
25
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.addIntervalToTime = exports.timeRange = exports.
|
|
28
|
+
exports.addIntervalToTime = exports.timeRange = exports.roundDateToESInterval = exports.ES_FIXED_INTERVAL_UNIT_TO_BASE = void 0;
|
|
29
29
|
var chrono_1 = require("./chrono");
|
|
30
30
|
exports.ES_FIXED_INTERVAL_UNIT_TO_BASE = {
|
|
31
31
|
ms: 1,
|
|
@@ -50,12 +50,12 @@ var esCalendarIntervalToChronoInterval = {
|
|
|
50
50
|
year: 'year',
|
|
51
51
|
y: 'year',
|
|
52
52
|
};
|
|
53
|
-
function
|
|
53
|
+
function roundDateToESInterval(date, interval, snapTo, timeZone) {
|
|
54
54
|
return isCalendarInterval(interval)
|
|
55
55
|
? esCalendarIntervalSnap(date, interval, snapTo, timeZone)
|
|
56
56
|
: esFixedIntervalSnap(date, interval, snapTo, timeZone);
|
|
57
57
|
}
|
|
58
|
-
exports.
|
|
58
|
+
exports.roundDateToESInterval = roundDateToESInterval;
|
|
59
59
|
function isCalendarInterval(interval) {
|
|
60
60
|
return interval.type === 'calendar';
|
|
61
61
|
}
|
|
@@ -78,8 +78,8 @@ function timeRange(from, to, interval, timeZone) {
|
|
|
78
78
|
}
|
|
79
79
|
exports.timeRange = timeRange;
|
|
80
80
|
function calendarTimeRange(from, to, interval, timeZone) {
|
|
81
|
-
var snappedFrom =
|
|
82
|
-
var snappedTo =
|
|
81
|
+
var snappedFrom = roundDateToESInterval(from, interval, 'start', timeZone);
|
|
82
|
+
var snappedTo = roundDateToESInterval(to, interval, 'start', timeZone);
|
|
83
83
|
var values = [snappedFrom];
|
|
84
84
|
var current = snappedFrom;
|
|
85
85
|
while ((0, chrono_1.addTime)(current, timeZone, esCalendarIntervalToChronoInterval[interval.unit], interval.value) < snappedTo) {
|
|
@@ -89,8 +89,8 @@ function calendarTimeRange(from, to, interval, timeZone) {
|
|
|
89
89
|
return values;
|
|
90
90
|
}
|
|
91
91
|
function fixedTimeRange(from, to, interval, timeZone) {
|
|
92
|
-
var snappedFrom =
|
|
93
|
-
var snappedTo =
|
|
92
|
+
var snappedFrom = roundDateToESInterval(from, interval, 'start', timeZone);
|
|
93
|
+
var snappedTo = roundDateToESInterval(to, interval, 'start', timeZone);
|
|
94
94
|
var utcTo = localToUTC(snappedTo, timeZone);
|
|
95
95
|
var current = localToUTC(snappedFrom, timeZone);
|
|
96
96
|
var values = [current];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["../../../src/utils/chrono/elasticsearch.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,mCAAmF;
|
|
1
|
+
{"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["../../../src/utils/chrono/elasticsearch.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,mCAAmF;AA8BtE,QAAA,8BAA8B,GAAwC;IACjF,EAAE,EAAE,CAAC;IACL,CAAC,EAAE,IAAI;IACP,CAAC,EAAE,IAAI,GAAG,EAAE;IACZ,CAAC,EAAE,IAAI,GAAG,EAAE,GAAG,EAAE;IACjB,CAAC,EAAE,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;CACvB,CAAC;AAsBF,IAAM,kCAAkC,GAA6E;IACnH,MAAM,EAAE,QAAQ;IAChB,CAAC,EAAE,QAAQ;IACX,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,MAAM;IACT,GAAG,EAAE,KAAK;IACV,CAAC,EAAE,KAAK;IACR,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,MAAM;IACT,KAAK,EAAE,OAAO;IACd,CAAC,EAAE,OAAO;IACV,OAAO,EAAE,SAAS;IAClB,CAAC,EAAE,SAAS;IACZ,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,MAAM;CACV,CAAC;AAaF,SAAgB,qBAAqB,CACnC,IAA0B,EAC1B,QAA8C,EAC9C,MAAuB,EACvB,QAAgB;IAEhB,OAAO,kBAAkB,CAAC,QAAQ,CAAC;QACjC,CAAC,CAAC,sBAAsB,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC;QAC1D,CAAC,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAA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C"}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { TimeMs } from '../../common/geometry';
|
|
2
|
+
/**
|
|
3
|
+
* It represents the number of milliseconds between 1 January 1970 00:00:00 UTC and the identified date/time.
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare type UnixTimestamp = TimeMs;
|
|
2
7
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/chrono/types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/chrono/types.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAmB/C;;;GAGG;AACH,oBAAY,aAAa,GAAG,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/charts",
|
|
3
3
|
"description": "Elastic-Charts data visualization library",
|
|
4
|
-
"version": "46.
|
|
4
|
+
"version": "46.13.0",
|
|
5
5
|
"author": "Elastic DataVis",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"moment": "^2.29.1",
|
|
58
58
|
"moment-timezone": "^0.5.32",
|
|
59
|
-
"react": "^16.12 || ^17.0",
|
|
60
|
-
"react-dom": "^16.12 || ^17.0"
|
|
59
|
+
"react": "^16.12 || ^17.0 || ^18.0",
|
|
60
|
+
"react-dom": "^16.12 || ^17.0 || ^18.0"
|
|
61
61
|
},
|
|
62
62
|
"browserslist": [
|
|
63
63
|
"last 2 versions",
|