2022-01-18 14:36:14 +00:00
|
|
|
import { Colors } from "constants/Colors";
|
|
|
|
|
import IconSVG from "./icon.svg";
|
2022-01-21 10:19:10 +00:00
|
|
|
import Widget from "./widget";
|
2022-01-18 14:36:14 +00:00
|
|
|
|
|
|
|
|
export const CONFIG = {
|
|
|
|
|
type: Widget.getWidgetType(),
|
|
|
|
|
name: "Circular Progress",
|
2022-04-01 16:02:19 +00:00
|
|
|
hideCard: true,
|
2022-01-18 14:36:14 +00:00
|
|
|
iconSVG: IconSVG,
|
|
|
|
|
defaults: {
|
|
|
|
|
counterClockWise: false,
|
|
|
|
|
fillColor: Colors.GREEN,
|
|
|
|
|
isVisible: true,
|
|
|
|
|
progress: 65,
|
|
|
|
|
showResult: true,
|
|
|
|
|
|
2022-01-21 10:19:10 +00:00
|
|
|
rows: 17,
|
|
|
|
|
columns: 16,
|
2022-01-18 14:36:14 +00:00
|
|
|
widgetName: "CircularProgress",
|
|
|
|
|
shouldScroll: false,
|
|
|
|
|
shouldTruncate: false,
|
|
|
|
|
version: 1,
|
|
|
|
|
animateLoading: true,
|
|
|
|
|
},
|
|
|
|
|
properties: {
|
|
|
|
|
derived: Widget.getDerivedPropertiesMap(),
|
|
|
|
|
default: Widget.getDefaultPropertiesMap(),
|
|
|
|
|
meta: Widget.getMetaPropertiesMap(),
|
|
|
|
|
config: Widget.getPropertyPaneConfig(),
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Widget;
|