cx 25.9.0 → 25.10.1

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.
Files changed (139) hide show
  1. package/LICENSE-THIRD-PARTY.md +91 -91
  2. package/LICENSE.md +7 -7
  3. package/README.md +46 -46
  4. package/dist/charts.js +25 -11
  5. package/dist/manifest.js +493 -493
  6. package/dist/ui.js +1 -3
  7. package/package.json +1 -1
  8. package/src/charts/Bar.d.ts +27 -27
  9. package/src/charts/BarGraph.d.ts +15 -15
  10. package/src/charts/Chart.d.ts +12 -12
  11. package/src/charts/ColorMap.d.ts +21 -21
  12. package/src/charts/Column.d.ts +29 -29
  13. package/src/charts/ColumnBarBase.d.ts +64 -64
  14. package/src/charts/ColumnBarGraphBase.d.ts +73 -73
  15. package/src/charts/ColumnGraph.d.ts +18 -18
  16. package/src/charts/Gridlines.d.ts +24 -24
  17. package/src/charts/Legend.d.ts +45 -45
  18. package/src/charts/LegendEntry.d.ts +54 -54
  19. package/src/charts/LineGraph.d.ts +101 -101
  20. package/src/charts/Marker.d.ts +110 -110
  21. package/src/charts/MarkerLine.d.ts +56 -56
  22. package/src/charts/MouseTracker.d.ts +16 -16
  23. package/src/charts/PieChart.d.ts +92 -92
  24. package/src/charts/PieLabel.d.ts +26 -26
  25. package/src/charts/PieLabelsContainer.d.ts +6 -6
  26. package/src/charts/Range.d.ts +74 -74
  27. package/src/charts/RangeMarker.d.ts +35 -35
  28. package/src/charts/ScatterGraph.d.ts +64 -64
  29. package/src/charts/Swimlane.d.ts +24 -24
  30. package/src/charts/Swimlanes.d.ts +41 -41
  31. package/src/charts/axis/Axis.d.ts +113 -113
  32. package/src/charts/axis/Axis.js +8 -0
  33. package/src/charts/axis/Axis.scss +22 -22
  34. package/src/charts/axis/CategoryAxis.d.ts +30 -30
  35. package/src/charts/axis/NumericAxis.d.ts +46 -46
  36. package/src/charts/axis/Stack.d.ts +10 -10
  37. package/src/charts/axis/TimeAxis.d.ts +31 -31
  38. package/src/charts/axis/index.d.ts +3 -3
  39. package/src/charts/axis/index.scss +5 -5
  40. package/src/charts/axis/variables.scss +2 -2
  41. package/src/charts/helpers/MinMaxFinder.d.ts +22 -22
  42. package/src/charts/helpers/PointReducer.d.ts +24 -24
  43. package/src/charts/helpers/SnapPointFinder.d.ts +30 -30
  44. package/src/charts/helpers/ValueAtFinder.d.ts +16 -16
  45. package/src/charts/helpers/index.d.ts +4 -4
  46. package/src/charts/index.d.ts +27 -27
  47. package/src/charts/index.scss +22 -22
  48. package/src/charts/shapes.d.ts +22 -22
  49. package/src/global.scss +13 -13
  50. package/src/index.scss +6 -6
  51. package/src/svg/index.scss +8 -8
  52. package/src/ui/Instance.js +1 -4
  53. package/src/ui/index.scss +2 -2
  54. package/src/ui/layout/index.scss +3 -3
  55. package/src/ui/layout/variables.scss +2 -2
  56. package/src/ui/variables.scss +1 -1
  57. package/src/util/call-once.scss +6 -6
  58. package/src/util/index.scss +10 -10
  59. package/src/util/scss/divide.scss +3 -3
  60. package/src/util/scss/index.scss +9 -9
  61. package/src/variables.scss +217 -217
  62. package/src/widgets/AccessorBindings.spec.tsx +66 -66
  63. package/src/widgets/Button.d.ts +58 -58
  64. package/src/widgets/CxCredit.d.ts +12 -12
  65. package/src/widgets/DocumentTitle.d.ts +11 -11
  66. package/src/widgets/FlexBox.d.ts +69 -69
  67. package/src/widgets/Heading.d.ts +16 -16
  68. package/src/widgets/HighlightedSearchText.d.ts +9 -9
  69. package/src/widgets/HtmlElement.d.ts +30 -30
  70. package/src/widgets/Icon.d.ts +34 -34
  71. package/src/widgets/ProgressBar.d.ts +17 -17
  72. package/src/widgets/Resizer.d.ts +27 -27
  73. package/src/widgets/Sandbox.d.ts +18 -18
  74. package/src/widgets/Section.d.ts +52 -52
  75. package/src/widgets/animations.scss +10 -10
  76. package/src/widgets/autoFocus.d.ts +1 -1
  77. package/src/widgets/cx.d.ts +1 -1
  78. package/src/widgets/drag-drop/DragSource.d.ts +45 -45
  79. package/src/widgets/drag-drop/DropZone.d.ts +98 -98
  80. package/src/widgets/drag-drop/index.d.ts +4 -4
  81. package/src/widgets/drag-drop/index.scss +3 -3
  82. package/src/widgets/drag-drop/ops.d.ts +56 -56
  83. package/src/widgets/enableAllInternalDependencies.d.ts +1 -1
  84. package/src/widgets/form/Calendar.variables.scss +63 -63
  85. package/src/widgets/form/Checkbox.variables.scss +39 -39
  86. package/src/widgets/form/ColorPicker.variables.scss +22 -22
  87. package/src/widgets/form/Radio.variables.scss +45 -45
  88. package/src/widgets/form/index.scss +24 -24
  89. package/src/widgets/grid/Grid.d.ts +442 -442
  90. package/src/widgets/grid/GridCell.d.ts +38 -38
  91. package/src/widgets/grid/Pagination.d.ts +14 -14
  92. package/src/widgets/grid/TreeNode.d.ts +23 -23
  93. package/src/widgets/grid/index.d.ts +3 -3
  94. package/src/widgets/grid/index.scss +3 -3
  95. package/src/widgets/icons/arrow-down.svg +3 -3
  96. package/src/widgets/icons/arrow-right.svg +2 -2
  97. package/src/widgets/icons/base.svg +104 -104
  98. package/src/widgets/icons/calendar-old.svg +169 -169
  99. package/src/widgets/icons/calendar.svg +187 -187
  100. package/src/widgets/icons/clear.svg +74 -74
  101. package/src/widgets/icons/close.svg +74 -74
  102. package/src/widgets/icons/dropdown-arrow.svg +61 -61
  103. package/src/widgets/icons/file.svg +4 -4
  104. package/src/widgets/icons/folder-open.svg +5 -5
  105. package/src/widgets/icons/folder.svg +58 -58
  106. package/src/widgets/icons/forward.svg +67 -67
  107. package/src/widgets/icons/loading.svg +4 -4
  108. package/src/widgets/icons/search.svg +107 -107
  109. package/src/widgets/icons/sort-asc.svg +3 -3
  110. package/src/widgets/index.d.ts +55 -55
  111. package/src/widgets/index.scss +16 -16
  112. package/src/widgets/nav/Link.d.ts +26 -26
  113. package/src/widgets/nav/LinkButton.d.ts +34 -34
  114. package/src/widgets/nav/Menu.d.ts +27 -27
  115. package/src/widgets/nav/MenuItem.d.ts +31 -31
  116. package/src/widgets/nav/MenuSpacer.d.ts +5 -5
  117. package/src/widgets/nav/RedirectRoute.d.ts +9 -9
  118. package/src/widgets/nav/Route.d.ts +21 -21
  119. package/src/widgets/nav/Scroller.d.ts +17 -17
  120. package/src/widgets/nav/Submenu.d.ts +6 -6
  121. package/src/widgets/nav/Tab.d.ts +33 -33
  122. package/src/widgets/nav/Tab.variables.scss +84 -84
  123. package/src/widgets/nav/index.d.ts +10 -10
  124. package/src/widgets/nav/index.scss +5 -5
  125. package/src/widgets/overlay/ContextMenu.d.ts +10 -10
  126. package/src/widgets/overlay/Dropdown.d.ts +32 -32
  127. package/src/widgets/overlay/FlyweightTooltipTracker.d.ts +8 -8
  128. package/src/widgets/overlay/MsgBox.d.ts +16 -16
  129. package/src/widgets/overlay/Overlay.d.ts +73 -73
  130. package/src/widgets/overlay/Toast.d.ts +30 -30
  131. package/src/widgets/overlay/Tooltip.d.ts +50 -50
  132. package/src/widgets/overlay/Window.d.ts +42 -42
  133. package/src/widgets/overlay/Window.variables.scss +62 -62
  134. package/src/widgets/overlay/alerts.d.ts +7 -7
  135. package/src/widgets/overlay/captureMouse.d.ts +53 -53
  136. package/src/widgets/overlay/captureMouse.scss +13 -13
  137. package/src/widgets/overlay/createHotPromiseWindowFactory.d.ts +18 -18
  138. package/src/widgets/overlay/index.d.ts +11 -11
  139. package/src/widgets/overlay/index.scss +15 -15
@@ -1,56 +1,56 @@
1
- import * as Cx from "../core";
2
- import { BoundedObject, BoundedObjectProps } from "../svg/BoundedObject";
3
-
4
- interface MarkerLineProps extends BoundedObjectProps {
5
- /** The `x1` value binding or expression. */
6
- x1?: Cx.Prop<number | string | Date>;
7
-
8
- /** The `y1` value binding or expression. */
9
- y1?: Cx.NumberProp;
10
-
11
- /** The `x2` value binding or expression. */
12
- x2?: Cx.Prop<number | string | Date>;
13
-
14
- /** The `y2` value binding or expression. */
15
- y2?: Cx.NumberProp;
16
-
17
- /** Used to indicate if the data should affect axis span. */
18
- affectsAxes?: Cx.BooleanProp;
19
-
20
- /** Index of a color from the standard palette of colors. 0-15. */
21
- colorIndex?: Cx.NumberProp;
22
-
23
- /** Used to indicate if an item is active or not. Inactive items are shown only in the legend. */
24
- active?: Cx.BooleanProp;
25
-
26
- /** Name of the item as it will appear in the legend. */
27
- name?: Cx.StringProp;
28
-
29
- /** Name of the legend to be used. Default is `legend`. */
30
- legend?: Cx.StringProp;
31
-
32
- /** Shared `x1` and `x2` value binding or expression. */
33
- x?: Cx.Prop<number | string | Date>;
34
-
35
- /** Shared `y1` and `y2` value binding or expression. */
36
- y?: Cx.NumberProp;
37
-
38
- /**
39
- * Name of the horizontal axis. The value should match one of the horizontal axes set
40
- * in the `axes` configuration of the parent `Chart` component. Default value is `x`.
41
- */
42
- xAxis?: string;
43
-
44
- /**
45
- * Name of the vertical axis. The value should match one of the vertical axes set
46
- * in the axes configuration if the parent Chart component. Default value is y.
47
- */
48
- yAxis?: string;
49
-
50
- /** Base CSS class to be applied to the element. Defaults to `markerline`. */
51
- baseClass?: string;
52
-
53
- legendAction?: string;
54
- }
55
-
56
- export class MarkerLine extends Cx.Widget<MarkerLineProps> {}
1
+ import * as Cx from "../core";
2
+ import { BoundedObject, BoundedObjectProps } from "../svg/BoundedObject";
3
+
4
+ interface MarkerLineProps extends BoundedObjectProps {
5
+ /** The `x1` value binding or expression. */
6
+ x1?: Cx.Prop<number | string | Date>;
7
+
8
+ /** The `y1` value binding or expression. */
9
+ y1?: Cx.NumberProp;
10
+
11
+ /** The `x2` value binding or expression. */
12
+ x2?: Cx.Prop<number | string | Date>;
13
+
14
+ /** The `y2` value binding or expression. */
15
+ y2?: Cx.NumberProp;
16
+
17
+ /** Used to indicate if the data should affect axis span. */
18
+ affectsAxes?: Cx.BooleanProp;
19
+
20
+ /** Index of a color from the standard palette of colors. 0-15. */
21
+ colorIndex?: Cx.NumberProp;
22
+
23
+ /** Used to indicate if an item is active or not. Inactive items are shown only in the legend. */
24
+ active?: Cx.BooleanProp;
25
+
26
+ /** Name of the item as it will appear in the legend. */
27
+ name?: Cx.StringProp;
28
+
29
+ /** Name of the legend to be used. Default is `legend`. */
30
+ legend?: Cx.StringProp;
31
+
32
+ /** Shared `x1` and `x2` value binding or expression. */
33
+ x?: Cx.Prop<number | string | Date>;
34
+
35
+ /** Shared `y1` and `y2` value binding or expression. */
36
+ y?: Cx.NumberProp;
37
+
38
+ /**
39
+ * Name of the horizontal axis. The value should match one of the horizontal axes set
40
+ * in the `axes` configuration of the parent `Chart` component. Default value is `x`.
41
+ */
42
+ xAxis?: string;
43
+
44
+ /**
45
+ * Name of the vertical axis. The value should match one of the vertical axes set
46
+ * in the axes configuration if the parent Chart component. Default value is y.
47
+ */
48
+ yAxis?: string;
49
+
50
+ /** Base CSS class to be applied to the element. Defaults to `markerline`. */
51
+ baseClass?: string;
52
+
53
+ legendAction?: string;
54
+ }
55
+
56
+ export class MarkerLine extends Cx.Widget<MarkerLineProps> {}
@@ -1,17 +1,17 @@
1
- import * as Cx from '../core';
2
- import { BoundedObjectProps } from '../svg/BoundedObject';
3
-
4
- interface MouseTrackerProps extends BoundedObjectProps {
5
-
6
- /** The binding that is used to store the mouse x coordinate. */
7
- x?: Cx.NumberProp,
8
-
9
- /** The binding that is used to store the mouse y coordinate. */
10
- y?: Cx.NumberProp,
11
-
12
- /** Base CSS class to be applied to the element. Defaults to `mousetracker`. */
13
- baseClass?: string
14
-
15
- }
16
-
1
+ import * as Cx from '../core';
2
+ import { BoundedObjectProps } from '../svg/BoundedObject';
3
+
4
+ interface MouseTrackerProps extends BoundedObjectProps {
5
+
6
+ /** The binding that is used to store the mouse x coordinate. */
7
+ x?: Cx.NumberProp,
8
+
9
+ /** The binding that is used to store the mouse y coordinate. */
10
+ y?: Cx.NumberProp,
11
+
12
+ /** Base CSS class to be applied to the element. Defaults to `mousetracker`. */
13
+ baseClass?: string
14
+
15
+ }
16
+
17
17
  export class MouseTracker extends Cx.Widget<MouseTrackerProps> {}
@@ -1,92 +1,92 @@
1
- import * as Cx from "../core";
2
- import { BoundedObject, BoundedObjectProps } from "../svg/BoundedObject";
3
- import { PropertySelection, KeySelection } from "../ui/selection";
4
-
5
- interface PieChartProps extends BoundedObjectProps {
6
- /** Angle in degrees. Default is `360` which represents the full circle. */
7
- angle?: Cx.NumberProp;
8
-
9
- /** Start angle in degrees. Indicates the starting point of the first stack. Default is `0`. */
10
- startAngle?: Cx.NumberProp;
11
-
12
- /** When set to `true`, stacks are rendered in clock wise direction. */
13
- clockwise?: Cx.BooleanProp;
14
-
15
- /** Gap between slices in pixels. Default is `0` which means there is no gap. */
16
- gap?: Cx.NumberProp;
17
- }
18
-
19
- export class PieChart extends Cx.Widget<PieChartProps> {}
20
-
21
- interface PieSliceProps extends Cx.StyledContainerProps {
22
- /** Used to indicate whether an item is active or not. Inactive items are shown only in the legend. */
23
- active?: Cx.BooleanProp;
24
-
25
- /**
26
- * Inner pie radius in percents of the maximum available radius.
27
- * If `percentageRadius` flag is set to false, then the value represents the radius in pixels. Default is 0.
28
- */
29
- r0?: Cx.NumberProp;
30
-
31
- /**
32
- * Outer pie radius in percents of the maximum available radius.
33
- * If `percentageRadius` flag is set to false, then the value represents the radius in pixels. Default is 50.
34
- */
35
- r?: Cx.NumberProp;
36
-
37
- /** Index of a color from the standard palette of colors. 0-15. */
38
- colorIndex?: Cx.NumberProp;
39
-
40
- /** Used to automatically assign a color based on the `name` and the contextual `ColorMap` widget. */
41
- colorMap?: Cx.StringProp;
42
-
43
- /** Name used to resolve the color. If not provided, `name` is used instead. */
44
- colorName?: Cx.StringProp;
45
-
46
- /** Value in pixels to be used to explode the pie. */
47
- offset?: Cx.NumberProp;
48
-
49
- value?: Cx.NumberProp;
50
- disabled?: Cx.BooleanProp;
51
- innerPointRadius?: Cx.NumberProp;
52
- outerPointRadius?: Cx.NumberProp;
53
-
54
- /** Name of the item as it will appear in the legend. */
55
- name?: Cx.StringProp;
56
-
57
- /** Multi-level pie charts consist of multiple stacks. Assign a unique name to each level. Default is `stack`. */
58
- stack?: Cx.StringProp;
59
-
60
- /** Name of the legend to be used. Default is `legend`. */
61
- legend?: Cx.StringProp;
62
-
63
- percentageRaidus?: boolean;
64
-
65
- /** Base CSS class to be applied to the element. Defaults to `pieslice`. */
66
- baseClass?: string;
67
-
68
- legendAction?: string;
69
-
70
- /** Text to be displayed in the legend. The default is copying the `name` value. */
71
- legendDisplayText?: Cx.StringProp;
72
-
73
- /** Tooltip configuration. For more info see Tooltips. */
74
- tooltip?: Cx.StringProp | Cx.StructuredProp;
75
-
76
- /** Selection configuration. */
77
- selection?: { type: typeof PropertySelection | typeof KeySelection; [prop: string]: any };
78
-
79
- /** A value used to identify the group of components participating in hover effect synchronization. */
80
- hoverChannel?: string;
81
-
82
- /** A value used to uniquely identify the record within the hover sync group. */
83
- hoverId?: Cx.StringProp;
84
-
85
- /** Border radius of the slice. Default is 0. */
86
- borderRadius?: Cx.NumberProp;
87
-
88
- /** Border radius of the slice. Default is 0. */
89
- br?: Cx.NumberProp;
90
- }
91
-
92
- export class PieSlice extends Cx.Widget<PieSliceProps> {}
1
+ import * as Cx from "../core";
2
+ import { BoundedObject, BoundedObjectProps } from "../svg/BoundedObject";
3
+ import { PropertySelection, KeySelection } from "../ui/selection";
4
+
5
+ interface PieChartProps extends BoundedObjectProps {
6
+ /** Angle in degrees. Default is `360` which represents the full circle. */
7
+ angle?: Cx.NumberProp;
8
+
9
+ /** Start angle in degrees. Indicates the starting point of the first stack. Default is `0`. */
10
+ startAngle?: Cx.NumberProp;
11
+
12
+ /** When set to `true`, stacks are rendered in clock wise direction. */
13
+ clockwise?: Cx.BooleanProp;
14
+
15
+ /** Gap between slices in pixels. Default is `0` which means there is no gap. */
16
+ gap?: Cx.NumberProp;
17
+ }
18
+
19
+ export class PieChart extends Cx.Widget<PieChartProps> {}
20
+
21
+ interface PieSliceProps extends Cx.StyledContainerProps {
22
+ /** Used to indicate whether an item is active or not. Inactive items are shown only in the legend. */
23
+ active?: Cx.BooleanProp;
24
+
25
+ /**
26
+ * Inner pie radius in percents of the maximum available radius.
27
+ * If `percentageRadius` flag is set to false, then the value represents the radius in pixels. Default is 0.
28
+ */
29
+ r0?: Cx.NumberProp;
30
+
31
+ /**
32
+ * Outer pie radius in percents of the maximum available radius.
33
+ * If `percentageRadius` flag is set to false, then the value represents the radius in pixels. Default is 50.
34
+ */
35
+ r?: Cx.NumberProp;
36
+
37
+ /** Index of a color from the standard palette of colors. 0-15. */
38
+ colorIndex?: Cx.NumberProp;
39
+
40
+ /** Used to automatically assign a color based on the `name` and the contextual `ColorMap` widget. */
41
+ colorMap?: Cx.StringProp;
42
+
43
+ /** Name used to resolve the color. If not provided, `name` is used instead. */
44
+ colorName?: Cx.StringProp;
45
+
46
+ /** Value in pixels to be used to explode the pie. */
47
+ offset?: Cx.NumberProp;
48
+
49
+ value?: Cx.NumberProp;
50
+ disabled?: Cx.BooleanProp;
51
+ innerPointRadius?: Cx.NumberProp;
52
+ outerPointRadius?: Cx.NumberProp;
53
+
54
+ /** Name of the item as it will appear in the legend. */
55
+ name?: Cx.StringProp;
56
+
57
+ /** Multi-level pie charts consist of multiple stacks. Assign a unique name to each level. Default is `stack`. */
58
+ stack?: Cx.StringProp;
59
+
60
+ /** Name of the legend to be used. Default is `legend`. */
61
+ legend?: Cx.StringProp;
62
+
63
+ percentageRaidus?: boolean;
64
+
65
+ /** Base CSS class to be applied to the element. Defaults to `pieslice`. */
66
+ baseClass?: string;
67
+
68
+ legendAction?: string;
69
+
70
+ /** Text to be displayed in the legend. The default is copying the `name` value. */
71
+ legendDisplayText?: Cx.StringProp;
72
+
73
+ /** Tooltip configuration. For more info see Tooltips. */
74
+ tooltip?: Cx.StringProp | Cx.StructuredProp;
75
+
76
+ /** Selection configuration. */
77
+ selection?: { type: typeof PropertySelection | typeof KeySelection; [prop: string]: any };
78
+
79
+ /** A value used to identify the group of components participating in hover effect synchronization. */
80
+ hoverChannel?: string;
81
+
82
+ /** A value used to uniquely identify the record within the hover sync group. */
83
+ hoverId?: Cx.StringProp;
84
+
85
+ /** Border radius of the slice. Default is 0. */
86
+ borderRadius?: Cx.NumberProp;
87
+
88
+ /** Border radius of the slice. Default is 0. */
89
+ br?: Cx.NumberProp;
90
+ }
91
+
92
+ export class PieSlice extends Cx.Widget<PieSliceProps> {}
@@ -1,26 +1,26 @@
1
- import * as Cx from "../core";
2
- import { BoundedObjectProps } from "../svg/BoundedObject";
3
-
4
- interface PieLabelProps extends BoundedObjectProps {
5
- /** Distance in pixels, for which the labels will be separated from the pie chart. Default value is 100px. */
6
- distance: Cx.NumberProp;
7
-
8
- /**
9
- * Index of the color in the default color palette.
10
- */
11
- lineColorIndex?: Cx.NumberProp;
12
-
13
- /** A color used to paint the guideline. */
14
- lineStroke?: Cx.StringProp;
15
-
16
- /** CSS class applied to the line element. */
17
- lineClass?: Cx.StringProp;
18
-
19
- /** CSS style applied to the line element. */
20
- lineStyle?: Cx.StringProp;
21
-
22
- /** Base CSS class to be applied to the element. Defaults to `pielabel`. */
23
- baseClass?: string;
24
- }
25
-
26
- export class PieLabel extends Cx.Widget<PieLabelProps> {}
1
+ import * as Cx from "../core";
2
+ import { BoundedObjectProps } from "../svg/BoundedObject";
3
+
4
+ interface PieLabelProps extends BoundedObjectProps {
5
+ /** Distance in pixels, for which the labels will be separated from the pie chart. Default value is 100px. */
6
+ distance: Cx.NumberProp;
7
+
8
+ /**
9
+ * Index of the color in the default color palette.
10
+ */
11
+ lineColorIndex?: Cx.NumberProp;
12
+
13
+ /** A color used to paint the guideline. */
14
+ lineStroke?: Cx.StringProp;
15
+
16
+ /** CSS class applied to the line element. */
17
+ lineClass?: Cx.StringProp;
18
+
19
+ /** CSS style applied to the line element. */
20
+ lineStyle?: Cx.StringProp;
21
+
22
+ /** Base CSS class to be applied to the element. Defaults to `pielabel`. */
23
+ baseClass?: string;
24
+ }
25
+
26
+ export class PieLabel extends Cx.Widget<PieLabelProps> {}
@@ -1,6 +1,6 @@
1
- import { Widget } from "cx/src/core";
2
- import { BoundedObject, BoundedObjectProps } from "../svg/BoundedObject";
3
-
4
- interface PieLabelsContainerProps extends BoundedObjectProps {}
5
-
6
- export class PieLabelsContainer extends Widget<PieLabelsContainerProps> {}
1
+ import { Widget } from "cx/src/core";
2
+ import { BoundedObject, BoundedObjectProps } from "../svg/BoundedObject";
3
+
4
+ interface PieLabelsContainerProps extends BoundedObjectProps {}
5
+
6
+ export class PieLabelsContainer extends Widget<PieLabelsContainerProps> {}
@@ -1,75 +1,75 @@
1
- import * as Cx from '../core';
2
- import { BoundedObject, BoundedObjectProps } from '../svg/BoundedObject';
3
-
4
- interface RangeProps extends BoundedObjectProps {
5
-
6
- /** The `x1` value binding or expression. */
7
- x1?: Cx.NumberProp,
8
-
9
- /** The `y1` value binding or expression. */
10
- y1?: Cx.NumberProp,
11
-
12
- /** The `x2` value binding or expression. */
13
- x2?: Cx.NumberProp,
14
-
15
- /** The `y2` value binding or expression. */
16
- y2?: Cx.NumberProp,
17
-
18
- /** Index of a color from the standard palette of colors. 0-15. */
19
- colorIndex?: Cx.NumberProp,
20
-
21
- /** Used to indicate if an item is active or not. Inactive items are shown only in the legend. */
22
- active?: Cx.BooleanProp,
23
-
24
- /** Name of the item as it will appear in the legend. */
25
- name?: Cx.StringProp,
26
-
27
- /** Name of the legend to be used. Default is `legend`. */
28
- legend?: Cx.StringProp,
29
-
30
- invisible?: boolean,
31
-
32
- /**
33
- * Name of the horizontal axis. The value should match one of the horizontal axes set
34
- * in the `axes` configuration of the parent `Chart` component. Default value is `x`.
35
- */
36
- xAxis?: string,
37
-
38
- /**
39
- * Name of the vertical axis. The value should match one of the vertical axes set
40
- * in the `axes` configuration if the parent `Chart` component. Default value is `y`.
41
- */
42
- yAxis?: string,
43
-
44
- xSize?: number,
45
- ySize?: number,
46
- xOffset?: number,
47
- yOffset?: number,
48
-
49
- /** Base CSS class to be applied to the element. Defaults to `range`. */
50
- baseClass?: string,
51
-
52
- /** Set to `true` to make the range draggable along the X axis. */
53
- draggableX?: boolean,
54
-
55
- /** Set to `true` to make the range draggable along the Y axis. */
56
- draggableY?: boolean,
57
-
58
- /** Set to `true` to make the range draggable along the X and Y axis. */
59
- draggable?: boolean,
60
-
61
- /** Constrain the range position to min/max values of the X axis during drag operations. */
62
- constrainX?: boolean,
63
-
64
- /** Constrain the range position to min/max values of the Y axis during drag operations. */
65
- constrainY?: boolean,
66
-
67
- /** When set to `true`, it is equivalent to setting `constrainX` and `constrainY` to true. */
68
- constrain?: boolean,
69
-
70
- legendAction?: string,
71
- hidden?: boolean
72
-
73
- }
74
-
1
+ import * as Cx from '../core';
2
+ import { BoundedObject, BoundedObjectProps } from '../svg/BoundedObject';
3
+
4
+ interface RangeProps extends BoundedObjectProps {
5
+
6
+ /** The `x1` value binding or expression. */
7
+ x1?: Cx.NumberProp,
8
+
9
+ /** The `y1` value binding or expression. */
10
+ y1?: Cx.NumberProp,
11
+
12
+ /** The `x2` value binding or expression. */
13
+ x2?: Cx.NumberProp,
14
+
15
+ /** The `y2` value binding or expression. */
16
+ y2?: Cx.NumberProp,
17
+
18
+ /** Index of a color from the standard palette of colors. 0-15. */
19
+ colorIndex?: Cx.NumberProp,
20
+
21
+ /** Used to indicate if an item is active or not. Inactive items are shown only in the legend. */
22
+ active?: Cx.BooleanProp,
23
+
24
+ /** Name of the item as it will appear in the legend. */
25
+ name?: Cx.StringProp,
26
+
27
+ /** Name of the legend to be used. Default is `legend`. */
28
+ legend?: Cx.StringProp,
29
+
30
+ invisible?: boolean,
31
+
32
+ /**
33
+ * Name of the horizontal axis. The value should match one of the horizontal axes set
34
+ * in the `axes` configuration of the parent `Chart` component. Default value is `x`.
35
+ */
36
+ xAxis?: string,
37
+
38
+ /**
39
+ * Name of the vertical axis. The value should match one of the vertical axes set
40
+ * in the `axes` configuration if the parent `Chart` component. Default value is `y`.
41
+ */
42
+ yAxis?: string,
43
+
44
+ xSize?: number,
45
+ ySize?: number,
46
+ xOffset?: number,
47
+ yOffset?: number,
48
+
49
+ /** Base CSS class to be applied to the element. Defaults to `range`. */
50
+ baseClass?: string,
51
+
52
+ /** Set to `true` to make the range draggable along the X axis. */
53
+ draggableX?: boolean,
54
+
55
+ /** Set to `true` to make the range draggable along the Y axis. */
56
+ draggableY?: boolean,
57
+
58
+ /** Set to `true` to make the range draggable along the X and Y axis. */
59
+ draggable?: boolean,
60
+
61
+ /** Constrain the range position to min/max values of the X axis during drag operations. */
62
+ constrainX?: boolean,
63
+
64
+ /** Constrain the range position to min/max values of the Y axis during drag operations. */
65
+ constrainY?: boolean,
66
+
67
+ /** When set to `true`, it is equivalent to setting `constrainX` and `constrainY` to true. */
68
+ constrain?: boolean,
69
+
70
+ legendAction?: string,
71
+ hidden?: boolean
72
+
73
+ }
74
+
75
75
  export class Range extends Cx.Widget<RangeProps> {}
@@ -1,35 +1,35 @@
1
- import * as Cx from "../core";
2
-
3
- interface RangeMarkerProps extends Cx.StyledContainerProps {
4
- /** The `x` value binding or expression. */
5
- x?: Cx.NumberProp;
6
-
7
- /** The `y` value binding or expression. */
8
- y?: Cx.NumberProp;
9
-
10
- /** The shape of marker, Could be `min`, `max`, `line`. Default to `line`. */
11
- shape?: Cx.StringProp;
12
-
13
- /** Switch to vertical mode. */
14
- vertical?: Cx.BooleanProp;
15
-
16
- /** Size of the range marker. */
17
- size?: Cx.NumberProp;
18
-
19
- /** Style object applied to the range marker. */
20
- lineStyle?: Cx.StyleProp;
21
-
22
- /** Class object applied to the range marker. */
23
- lineClass?: Cx.StyleProp;
24
-
25
- /** Size of vertical or horizontal caps. */
26
- capSize?: Cx.NumberProp;
27
-
28
- /** The laneOffset property adjusts the positioning of lane elements, enhancing their alignment and readability. */
29
- laneOffset?: Cx.NumberProp;
30
-
31
- /** Inflate the range marker.*/
32
- inflate?: Cx.NumberProp;
33
- }
34
-
35
- export class RangeMarker extends Cx.Widget<RangeMarkerProps> {}
1
+ import * as Cx from "../core";
2
+
3
+ interface RangeMarkerProps extends Cx.StyledContainerProps {
4
+ /** The `x` value binding or expression. */
5
+ x?: Cx.NumberProp;
6
+
7
+ /** The `y` value binding or expression. */
8
+ y?: Cx.NumberProp;
9
+
10
+ /** The shape of marker, Could be `min`, `max`, `line`. Default to `line`. */
11
+ shape?: Cx.StringProp;
12
+
13
+ /** Switch to vertical mode. */
14
+ vertical?: Cx.BooleanProp;
15
+
16
+ /** Size of the range marker. */
17
+ size?: Cx.NumberProp;
18
+
19
+ /** Style object applied to the range marker. */
20
+ lineStyle?: Cx.StyleProp;
21
+
22
+ /** Class object applied to the range marker. */
23
+ lineClass?: Cx.StyleProp;
24
+
25
+ /** Size of vertical or horizontal caps. */
26
+ capSize?: Cx.NumberProp;
27
+
28
+ /** The laneOffset property adjusts the positioning of lane elements, enhancing their alignment and readability. */
29
+ laneOffset?: Cx.NumberProp;
30
+
31
+ /** Inflate the range marker.*/
32
+ inflate?: Cx.NumberProp;
33
+ }
34
+
35
+ export class RangeMarker extends Cx.Widget<RangeMarkerProps> {}