andoncloud-prometheus-widget 1.0.7 → 1.2.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 +0 -4
- package/dist/assets/.gitkeep +0 -0
- package/dist/components/PrometheusChart/GradientPlugin.d.ts +6 -0
- package/dist/components/SettingsFormContent/index.d.ts +5 -0
- package/dist/components/Widget/index.d.ts +3 -2
- package/dist/helpers.d.ts +4 -0
- package/dist/index.js +23405 -24111
- package/dist/index.js.map +1 -1
- package/dist/stories/Widget.stories.d.ts +4 -2
- package/dist/types.d.ts +12 -33
- package/dist/version.d.ts +1 -0
- package/package.json +31 -53
package/README.md
CHANGED
|
File without changes
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SettingsFormContentProps } from 'andoncloud-widget-base';
|
|
3
|
+
import { WidgetData, WidgetSettings } from '@/types';
|
|
4
|
+
declare const SettingsFormContent: React.FC<SettingsFormContentProps<WidgetData, WidgetSettings>>;
|
|
5
|
+
export default SettingsFormContent;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WidgetProps } from '
|
|
3
|
-
|
|
2
|
+
import { WidgetProps } from 'andoncloud-dashboard-toolkit';
|
|
3
|
+
import { WidgetData, WidgetSettings } from '@/types';
|
|
4
|
+
declare const Widget: React.FC<WidgetProps<WidgetData, WidgetSettings>>;
|
|
4
5
|
export default Widget;
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
/// <reference types="moment-range" />
|
|
2
|
+
import * as BaseMoment from 'moment';
|
|
1
3
|
import { QueriesPeriod, QueriesTimeRange, WidgetData } from './types';
|
|
4
|
+
export declare const moment: import("moment-range").MomentRange & typeof import("moment");
|
|
5
|
+
export declare type Moment = BaseMoment.Moment;
|
|
2
6
|
export declare const getQueriesTimeRange: (period: QueriesPeriod, data: WidgetData) => QueriesTimeRange | null;
|