@highcharts/grid-pro 2.0.1 → 2.1.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 (164) hide show
  1. package/css/grid-pro.css +69 -85
  2. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +2 -0
  3. package/es-modules/Accessibility/Options/LangDefaults.js +6 -1
  4. package/es-modules/Accessibility/Utils/ChartUtilities.js +3 -3
  5. package/es-modules/Core/Color/ColorString.d.ts +25 -0
  6. package/es-modules/Core/Color/ColorType.d.ts +43 -0
  7. package/es-modules/Core/Color/GradientColor.d.ts +57 -0
  8. package/es-modules/Core/Globals.js +1 -1
  9. package/es-modules/Core/Renderer/AlignObject.d.ts +37 -0
  10. package/es-modules/Core/Renderer/BBoxObject.d.ts +40 -0
  11. package/es-modules/Core/Renderer/CSSObject.d.ts +130 -0
  12. package/es-modules/Core/Renderer/DOMElementType.d.ts +36 -0
  13. package/es-modules/Core/Renderer/DashStyleValue.d.ts +28 -0
  14. package/es-modules/Core/Renderer/FontMetricsObject.d.ts +38 -0
  15. package/es-modules/Core/Renderer/HTML/HTMLAttributes.d.ts +57 -0
  16. package/es-modules/Core/Renderer/PolygonBoxObject.d.ts +19 -0
  17. package/es-modules/Core/Renderer/Position3DObject.d.ts +35 -0
  18. package/es-modules/Core/Renderer/PositionObject.d.ts +28 -0
  19. package/es-modules/Core/Renderer/RectangleObject.d.ts +35 -0
  20. package/es-modules/Core/Renderer/RendererType.d.ts +53 -0
  21. package/es-modules/Core/Renderer/SVG/ButtonThemeObject.d.ts +43 -0
  22. package/es-modules/Core/Renderer/SVG/SVGArc3D.d.ts +44 -0
  23. package/es-modules/Core/Renderer/SVG/SVGAttributes.d.ts +147 -0
  24. package/es-modules/Core/Renderer/SVG/SVGAttributes3D.d.ts +42 -0
  25. package/es-modules/Core/Renderer/SVG/SVGCuboid.d.ts +42 -0
  26. package/es-modules/Core/Renderer/SVG/SVGElementBase.d.ts +31 -0
  27. package/es-modules/Core/Renderer/SVG/SVGPath.d.ts +97 -0
  28. package/es-modules/Core/Renderer/SVG/SVGPath3D.d.ts +40 -0
  29. package/es-modules/Core/Renderer/SVG/SVGRendererBase.d.ts +31 -0
  30. package/es-modules/Core/Renderer/SVG/SymbolOptions.d.ts +41 -0
  31. package/es-modules/Core/Renderer/SVG/SymbolType.d.ts +50 -0
  32. package/es-modules/Core/Renderer/ShadowOptionsObject.d.ts +40 -0
  33. package/es-modules/Core/Renderer/SizeObject.d.ts +28 -0
  34. package/es-modules/Core/Templating.js +6 -7
  35. package/es-modules/Data/Connectors/DataConnector.js +3 -2
  36. package/es-modules/Data/Connectors/DataConnectorOptions.d.ts +1 -1
  37. package/es-modules/Data/DataTable.d.ts +1 -1
  38. package/es-modules/Data/DataTable.js +3 -2
  39. package/es-modules/Data/DataTableCore.js +15 -6
  40. package/es-modules/Grid/Core/Accessibility/Accessibility.d.ts +13 -15
  41. package/es-modules/Grid/Core/Credits.d.ts +0 -2
  42. package/es-modules/Grid/Core/Defaults.d.ts +20 -17
  43. package/es-modules/Grid/Core/Defaults.js +116 -114
  44. package/es-modules/Grid/Core/Globals.d.ts +108 -32
  45. package/es-modules/Grid/Core/Globals.js +98 -111
  46. package/es-modules/Grid/Core/Grid.d.ts +51 -17
  47. package/es-modules/Grid/Core/Grid.js +369 -79
  48. package/es-modules/Grid/Core/GridUtils.d.ts +96 -89
  49. package/es-modules/Grid/Core/GridUtils.js +143 -155
  50. package/es-modules/Grid/Core/Options.d.ts +3 -7
  51. package/es-modules/Grid/Core/Pagination/Icons.d.ts +4 -4
  52. package/es-modules/Grid/Core/Pagination/Pagination.d.ts +32 -57
  53. package/es-modules/Grid/Core/Pagination/Pagination.js +206 -214
  54. package/es-modules/Grid/Core/Pagination/PaginationOptions.d.ts +22 -15
  55. package/es-modules/Grid/Core/Querying/PaginationController.d.ts +32 -9
  56. package/es-modules/Grid/Core/Querying/PaginationController.js +58 -18
  57. package/es-modules/Grid/Core/Querying/SortingController.d.ts +7 -15
  58. package/es-modules/Grid/Core/Querying/SortingController.js +2 -3
  59. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.d.ts +1 -1
  60. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.js +32 -4
  61. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.d.ts +3 -3
  62. package/es-modules/Grid/Core/Table/Actions/ColumnSorting.d.ts +3 -5
  63. package/es-modules/Grid/Core/Table/Actions/ColumnSorting.js +1 -5
  64. package/es-modules/Grid/Core/Table/Body/TableCell.d.ts +14 -10
  65. package/es-modules/Grid/Core/Table/Body/TableCell.js +19 -21
  66. package/es-modules/Grid/Core/Table/Body/TableRow.d.ts +0 -2
  67. package/es-modules/Grid/Core/Table/Cell.js +30 -0
  68. package/es-modules/Grid/Core/Table/CellContent/TextContent.d.ts +2 -7
  69. package/es-modules/Grid/Core/Table/CellContent/TextContent.js +25 -14
  70. package/es-modules/Grid/Core/Table/Column.d.ts +7 -9
  71. package/es-modules/Grid/Core/Table/Column.js +23 -1
  72. package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.js +2 -2
  73. package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.d.ts +30 -23
  74. package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.js +39 -39
  75. package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.js +1 -1
  76. package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.js +2 -2
  77. package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.d.ts +6 -1
  78. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.js +10 -0
  79. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.d.ts +2 -2
  80. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.d.ts +26 -24
  81. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.js +37 -39
  82. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.d.ts +1 -1
  83. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.d.ts +1 -1
  84. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.d.ts +1 -1
  85. package/es-modules/Grid/Core/Table/Header/HeaderRow.d.ts +0 -2
  86. package/es-modules/Grid/Core/Table/Header/TableHeader.d.ts +0 -2
  87. package/es-modules/Grid/Core/Table/Table.d.ts +11 -13
  88. package/es-modules/Grid/Core/Table/Table.js +9 -5
  89. package/es-modules/Grid/Core/UI/Button.d.ts +1 -1
  90. package/es-modules/Grid/Core/UI/ContextMenu.d.ts +1 -1
  91. package/es-modules/Grid/Core/UI/ContextMenu.js +1 -1
  92. package/es-modules/Grid/Core/UI/ContextMenuButton.d.ts +39 -44
  93. package/es-modules/Grid/Core/UI/ContextMenuButton.js +4 -4
  94. package/es-modules/Grid/Core/UI/Popup.d.ts +17 -19
  95. package/es-modules/Grid/Core/UI/Popup.js +2 -1
  96. package/es-modules/Grid/Core/UI/SvgIcons.d.ts +49 -50
  97. package/es-modules/Grid/Core/UI/SvgIcons.js +114 -123
  98. package/es-modules/Grid/Core/UI/ToolbarButton.d.ts +46 -52
  99. package/es-modules/Grid/Core/UI/ToolbarButton.js +4 -3
  100. package/es-modules/Grid/Pro/CellEditing/CellEditing.d.ts +6 -8
  101. package/es-modules/Grid/Pro/CellEditing/CellEditing.js +8 -11
  102. package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.d.ts +27 -1
  103. package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.js +149 -149
  104. package/es-modules/Grid/Pro/CellRendering/CellRenderer.d.ts +18 -20
  105. package/es-modules/Grid/Pro/CellRendering/CellRenderer.js +1 -1
  106. package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.d.ts +19 -17
  107. package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.js +28 -34
  108. package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.d.ts +12 -1
  109. package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.js +41 -46
  110. package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.js +2 -2
  111. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.d.ts +2 -2
  112. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.d.ts +2 -2
  113. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.js +4 -2
  114. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.d.ts +2 -2
  115. package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.js +3 -1
  116. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.js +3 -1
  117. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.d.ts +19 -8
  118. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.js +17 -13
  119. package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.js +3 -1
  120. package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.d.ts +2 -2
  121. package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.d.ts +18 -20
  122. package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.js +3 -3
  123. package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.d.ts +10 -12
  124. package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.js +3 -3
  125. package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.d.ts +17 -20
  126. package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.d.ts +10 -12
  127. package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.js +3 -3
  128. package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.d.ts +20 -22
  129. package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.js +3 -3
  130. package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.d.ts +40 -42
  131. package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.js +3 -3
  132. package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.d.ts +16 -18
  133. package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.js +14 -22
  134. package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.d.ts +22 -24
  135. package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.js +3 -3
  136. package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.d.ts +10 -12
  137. package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.js +3 -3
  138. package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.d.ts +10 -12
  139. package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.js +3 -3
  140. package/es-modules/Grid/Pro/ColumnTypes/Validator.d.ts +46 -51
  141. package/es-modules/Grid/Pro/ColumnTypes/Validator.js +62 -77
  142. package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.d.ts +16 -3
  143. package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.js +26 -31
  144. package/es-modules/Grid/Pro/Credits/CreditsPro.d.ts +0 -2
  145. package/es-modules/Grid/Pro/Credits/CreditsProComposition.d.ts +12 -11
  146. package/es-modules/Grid/Pro/Credits/CreditsProComposition.js +29 -31
  147. package/es-modules/Grid/Pro/Export/Exporting.d.ts +3 -3
  148. package/es-modules/Grid/Pro/Export/Exporting.js +35 -29
  149. package/es-modules/Grid/Pro/Export/ExportingComposition.d.ts +12 -11
  150. package/es-modules/Grid/Pro/Export/ExportingComposition.js +24 -26
  151. package/es-modules/Grid/Pro/GridEvents.d.ts +19 -1
  152. package/es-modules/Grid/Pro/GridEvents.js +6 -2
  153. package/es-modules/Grid/Pro/Pagination/PaginationComposition.d.ts +4 -11
  154. package/es-modules/Grid/Pro/Pagination/PaginationComposition.js +44 -45
  155. package/es-modules/Grid/index.d.ts +1 -0
  156. package/es-modules/masters/grid-pro.src.d.ts +62 -37
  157. package/es-modules/masters/grid-pro.src.js +37 -39
  158. package/grid-pro.d.ts +122 -48
  159. package/grid-pro.js +3 -6
  160. package/grid-pro.js.map +1 -1
  161. package/grid-pro.src.d.ts +122 -48
  162. package/grid-pro.src.js +6645 -6270
  163. package/package.json +5 -4
  164. package/es-modules/Grid/Pro/ColumnTypes/ColumnDataType.d.ts +0 -29
@@ -0,0 +1,130 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Imports
14
+ *
15
+ * */
16
+
17
+ import type { AlignValue } from './AlignObject';
18
+ import type ColorString from '../Color/ColorString';
19
+ import ColorType from '../Color/ColorType';
20
+
21
+ /* *
22
+ *
23
+ * Declarations
24
+ *
25
+ * */
26
+
27
+ export type CursorValue = (
28
+ 'alias'|'all-scroll'|'auto'|'cell'|'col-resize'|'context-menu'|
29
+ 'copy'|'crosshair'|'default'|'e-resize'|'ew-resize'|'grab'|
30
+ 'grabbing'|'help'|'move'|'n-resize'|'ne-resize'|'nesw-resize'|
31
+ 'no-drop'|'none'|'not-allowed'|'ns-resize'|'nw-resize'|
32
+ 'nwse-resize'|'pointer'|'progress'|'row-resize'|'s-resize'|
33
+ 'se-resize'|'sw-resize'|'text'|'vertical-text'|'w-resize'|'wait'|
34
+ 'zoom-in'|'zoom-out'
35
+ );
36
+
37
+ export interface CSSObject {
38
+ // [key: string]: (boolean|number|string|undefined);
39
+ align?: string;
40
+ 'align-items'?: string;
41
+ '-ms-filter'?: string;
42
+ '-ms-touch-action'?: string;
43
+ '-ms-transform'?: string;
44
+ '-o-transform'?: string;
45
+ '-webkit-transform'?: string;
46
+ background?: string;
47
+ backgroundColor?: ColorString;
48
+ backgroundImage?: string;
49
+ borderRadius?: string;
50
+ borderWidth?: number;
51
+ border?: string|0;
52
+ 'border-radius'?: string;
53
+ bottom?: string;
54
+ boxShadow?: string;
55
+ clip?: string;
56
+ color?: ColorString; // @todo ('contrast'|ColorString);
57
+ cursor?: CursorValue;
58
+ direction?: string;
59
+ display?: string;
60
+ fill?: ColorType;
61
+ filter?: string;
62
+ flip?: string;
63
+ 'flex-direction'?: string;
64
+ font?: string;
65
+ fontFamily?: string;
66
+ fontSize?: (number|string);
67
+ fontStyle?: string;
68
+ fontWeight?: string;
69
+ height?: string|0;
70
+ 'justify-content'?: AlignValue;
71
+ left?: string|0;
72
+ lineClamp?: number;
73
+ lineHeight?: string|0;
74
+ lineWidth?: (number|string); // @todo: Check this. It's not CSS...
75
+ listStyle?: string;
76
+ margin?: string|0;
77
+ marginLeft?: string|0;
78
+ marginTop?: string|0;
79
+ 'max-height'?: string;
80
+ 'max-width'?: string;
81
+ mixedBlendMode?: string;
82
+ MozBoxShadow?: string;
83
+ MozTransform?: string;
84
+ opacity?: number;
85
+ overflow?: string;
86
+ overflowX?: string;
87
+ overflowY?: string;
88
+ outline?: string;
89
+ padding?: number|string;
90
+ 'pointer-events'?: string;
91
+ pointerEvents?: CSSObject['pointer-events'];
92
+ position?: 'absolute'|'fixed'|'relative'|'static';
93
+ right?: string;
94
+ rotation?: number;
95
+ stroke?: ColorType;
96
+ 'stroke-width'?: (number|string);
97
+ strokeWidth?: CSSObject['stroke-width'];
98
+ 'text-align'?: AlignValue;
99
+ textAlign?: CSSObject['text-align'];
100
+ textDecoration?: string;
101
+ textOverflow?: string;
102
+ textOutline?: string;
103
+ textTransform?: string;
104
+ top?: string|0;
105
+ 'touch-action'?: string;
106
+ transform?: string;
107
+ transformOrigin?: string;
108
+ transition?: string;
109
+ userSelect?: string;
110
+ verticalAlign?: 'bottom'|'middle'|'top';
111
+ visibility?: 'hidden'|'inherit'|'visible';
112
+ 'white-space'?: string;
113
+ whiteSpace?: CSSObject['white-space'];
114
+ width?: string|0;
115
+ WebkitBoxShadow?: string;
116
+ WebkitOverflowScrolling?: string;
117
+ WebkitBoxOrient?: 'vertical'|'horizontal';
118
+ WebkitLineClamp?: number;
119
+ '-webkit-tap-highlight-color'?: string;
120
+ zIndex?: number;
121
+ 'z-index'?: number;
122
+ }
123
+
124
+ /* *
125
+ *
126
+ * Default Export
127
+ *
128
+ * */
129
+
130
+ export default CSSObject;
@@ -0,0 +1,36 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Declarations
14
+ *
15
+ * */
16
+
17
+ export type DOMElementType = DOMElementTypeRegistry[
18
+ keyof DOMElementTypeRegistry
19
+ ];
20
+
21
+ export type HTMLDOMElement = globalThis.HTMLElement;
22
+
23
+ export type SVGDOMElement = globalThis.SVGElement;
24
+
25
+ export interface DOMElementTypeRegistry {
26
+ HTMLDOMElement: HTMLDOMElement;
27
+ SVGDOMElement: SVGDOMElement;
28
+ }
29
+
30
+ /* *
31
+ *
32
+ * Default Export
33
+ *
34
+ * */
35
+
36
+ export default DOMElementType;
@@ -0,0 +1,28 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Declarations
14
+ *
15
+ * */
16
+
17
+ export type DashStyleValue = (
18
+ 'Dash'|'DashDot'|'Dot'|'LongDash'|'LongDashDot'|'LongDashDotDot'|
19
+ 'ShortDash'|'ShortDashDot'|'ShortDashDotDot'|'ShortDot'|'Solid'
20
+ );
21
+
22
+ /* *
23
+ *
24
+ * Default Export
25
+ *
26
+ * */
27
+
28
+ export default DashStyleValue;
@@ -0,0 +1,38 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Declarations
14
+ *
15
+ * */
16
+
17
+ export interface FontMetricsObject {
18
+ /**
19
+ * Baseline height
20
+ */
21
+ b: number;
22
+ /**
23
+ * Font size
24
+ */
25
+ f: number;
26
+ /**
27
+ * Line height
28
+ */
29
+ h: number;
30
+ }
31
+
32
+ /* *
33
+ *
34
+ * Default Export
35
+ *
36
+ * */
37
+
38
+ export default FontMetricsObject;
@@ -0,0 +1,57 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Declarations
14
+ *
15
+ * */
16
+
17
+ export interface HTMLAttributes {
18
+ // [key: string]: (boolean|number|string|Function|undefined);
19
+ 'aria-expanded'?: boolean;
20
+ 'aria-label'?: string;
21
+ 'aria-live'?: string;
22
+ 'aria-atomic'?: boolean;
23
+ 'aria-rowindex'?: number;
24
+ checked?: boolean;
25
+ class?: string;
26
+ className?: string;
27
+ colspan?: number;
28
+ defaultChecked?: boolean;
29
+ disabled?: boolean;
30
+ href?: string;
31
+ htmlFor?: string;
32
+ id?: string;
33
+ name?: string;
34
+ onclick?: any;
35
+ onload?: any;
36
+ placeholder?: string;
37
+ scope?: string;
38
+ textContent?: string;
39
+ title?: string;
40
+ type?: string;
41
+ rel?: string;
42
+ role?: string;
43
+ src?: string;
44
+ rowspan?: number;
45
+ summary?: string;
46
+ tabindex?: number;
47
+ valign?: 'bottom'|'middle'|'top';
48
+ value?: string;
49
+ }
50
+
51
+ /* *
52
+ *
53
+ * Default Export
54
+ *
55
+ * */
56
+
57
+ export default HTMLAttributes;
@@ -0,0 +1,19 @@
1
+ /* *
2
+ *
3
+ * (c) 2016-2025 Highsoft AS
4
+ * Authors: Jon Arild Nygard
5
+ *
6
+ * License: www.highcharts.com/license
7
+ *
8
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
9
+ *
10
+ * */
11
+
12
+ export interface PolygonBoxObject {
13
+ bottom: number;
14
+ left: number;
15
+ right: number;
16
+ top: number;
17
+ }
18
+
19
+ export default PolygonBoxObject;
@@ -0,0 +1,35 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Imports
14
+ *
15
+ * */
16
+
17
+ import type PositionObject from './PositionObject';
18
+
19
+ /* *
20
+ *
21
+ * Declarations
22
+ *
23
+ * */
24
+
25
+ export interface Position3DObject extends PositionObject {
26
+ z: number;
27
+ }
28
+
29
+ /* *
30
+ *
31
+ * Default Export
32
+ *
33
+ * */
34
+
35
+ export default Position3DObject;
@@ -0,0 +1,28 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Declarations
14
+ *
15
+ * */
16
+
17
+ export interface PositionObject {
18
+ x: number;
19
+ y: number;
20
+ }
21
+
22
+ /* *
23
+ *
24
+ * Default Export
25
+ *
26
+ * */
27
+
28
+ export default PositionObject;
@@ -0,0 +1,35 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Import
14
+ *
15
+ * */
16
+
17
+ import type BBoxObject from './BBoxObject';
18
+
19
+ /* *
20
+ *
21
+ * Declarations
22
+ *
23
+ * */
24
+
25
+ export interface RectangleObject extends BBoxObject {
26
+ strokeWidth?: number;
27
+ }
28
+
29
+ /* *
30
+ *
31
+ * Default Export
32
+ *
33
+ * */
34
+
35
+ export default RectangleObject;
@@ -0,0 +1,53 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Imports
14
+ *
15
+ * */
16
+
17
+ import type SVGRenderer from './SVG/SVGRenderer';
18
+
19
+ /* *
20
+ *
21
+ * Declarations
22
+ *
23
+ * */
24
+
25
+ /**
26
+ * All possible renderer class constructors.
27
+ */
28
+ export type RendererClass = RendererTypeRegistry[keyof RendererTypeRegistry];
29
+
30
+ /**
31
+ * All possible renderer types.
32
+ */
33
+ export type RendererType = RendererTypeRegistry[
34
+ keyof RendererTypeRegistry
35
+ ]['prototype'];
36
+
37
+ /**
38
+ * Helper interface to add series types to `SeriesOptionsType` and `SeriesType`.
39
+ *
40
+ * Use the `declare module 'SeriesType'` pattern to overload the interface in
41
+ * this definition file.
42
+ */
43
+ export interface RendererTypeRegistry {
44
+ [key: string]: typeof SVGRenderer;
45
+ }
46
+
47
+ /* *
48
+ *
49
+ * Default Export
50
+ *
51
+ * */
52
+
53
+ export default RendererType;
@@ -0,0 +1,43 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Imports
14
+ *
15
+ * */
16
+
17
+ import type SVGAttributes from './SVGAttributes';
18
+ import type CSSObject from '../CSSObject';
19
+
20
+ /* *
21
+ *
22
+ * Declarations
23
+ *
24
+ * */
25
+
26
+ export interface ButtonThemeObject extends SVGAttributes {
27
+ states?: ButtonThemeStatesObject;
28
+ style?: CSSObject;
29
+ }
30
+
31
+ export interface ButtonThemeStatesObject {
32
+ disabled?: SVGAttributes;
33
+ hover?: SVGAttributes;
34
+ select?: SVGAttributes;
35
+ }
36
+
37
+ /* *
38
+ *
39
+ * Default Export
40
+ *
41
+ * */
42
+
43
+ export default ButtonThemeObject;
@@ -0,0 +1,44 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Imports
14
+ *
15
+ * */
16
+
17
+ import type SVGPath from './SVGPath';
18
+
19
+ /* *
20
+ *
21
+ * Declarations
22
+ *
23
+ * */
24
+
25
+ export interface SVGArc3D {
26
+ out: SVGPath;
27
+ inn: SVGPath;
28
+ side1: SVGPath;
29
+ side2: SVGPath;
30
+ top: SVGPath;
31
+ zInn: number;
32
+ zOut: number;
33
+ zSide1: number;
34
+ zSide2: number;
35
+ zTop: number;
36
+ }
37
+
38
+ /* *
39
+ *
40
+ * Default Export
41
+ *
42
+ * */
43
+
44
+ export default SVGArc3D;
@@ -0,0 +1,147 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2025 Torstein Honsi
4
+ *
5
+ * License: www.highcharts.com/license
6
+ *
7
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
+ *
9
+ * */
10
+
11
+ /* *
12
+ *
13
+ * Imports
14
+ *
15
+ * */
16
+
17
+ import type ColorType from '../../Color/ColorType';
18
+ import type {
19
+ CSSObject,
20
+ CursorValue
21
+ } from '../CSSObject';
22
+ import type DashStyleValue from '../DashStyleValue';
23
+ import type SVGPath from './SVGPath';
24
+
25
+ /* *
26
+ *
27
+ * Declarations
28
+ *
29
+ * */
30
+
31
+ export interface SVGAttributes {
32
+ // [key: string]: any;
33
+ align?: 'left'|'center'|'right';
34
+ 'alignment-baseline'?: string;
35
+ alphaCorrection?: number;
36
+ anchorX?: number;
37
+ anchorY?: number;
38
+ /**
39
+ * Dummy property used for custom step animations
40
+ */
41
+ animator?: number;
42
+ 'aria-expanded'?: boolean;
43
+ 'aria-hidden'?: boolean;
44
+ 'aria-label'?: string;
45
+ class?: string;
46
+ 'clip-path'?: string;
47
+ clockwise?: number;
48
+ cursor?: CursorValue;
49
+ cx?: number;
50
+ cy?: number;
51
+ d?: (string|SVGPath);
52
+ dashstyle?: DashStyleValue;
53
+ depth?: number;
54
+ display?: ''|'block'|'none';
55
+ 'dominant-baseline'?: string;
56
+ dx?: number;
57
+ dy?: number;
58
+ end?: number;
59
+ fill?: ColorType;
60
+ 'fill-opacity'?: number;
61
+ filter?: string;
62
+ filterUnits?: string;
63
+ 'flood-color'?: string;
64
+ 'flood-opacity'?: number;
65
+ gradientUnits?: 'userSpaceOnUse';
66
+ height?: number;
67
+ href?: string;
68
+ id?: string;
69
+ in?: string;
70
+ innerR?: number;
71
+ inverted?: boolean;
72
+ longArc?: number;
73
+ markerHeight?: number;
74
+ markerWidth?: number;
75
+ matrix?: Array<number>;
76
+ offset?: number;
77
+ opacity?: number;
78
+ open?: boolean;
79
+ operator?: string;
80
+ padding?: number;
81
+ paddingLeft?: number|'unset';
82
+ paddingRight?: number|'unset';
83
+ patternContentUnits?: 'userSpaceOnUse'|'objectBoundingBox';
84
+ patternTransform?: string;
85
+ patternUnits?: 'userSpaceOnUse';
86
+ preserveAspectRatio?: string;
87
+ r?: number;
88
+ radius?: number;
89
+ refX?: number;
90
+ refY?: number;
91
+ rx?: number;
92
+ ry?: number;
93
+ role?: string;
94
+ rotation?: number;
95
+ rotationOriginX?: number;
96
+ rotationOriginY?: number;
97
+ scaleX?: number;
98
+ scaleY?: number;
99
+ slope?: number;
100
+ start?: number;
101
+ stdDeviation?: number;
102
+ stroke?: ColorType;
103
+ 'stroke-linecap'?: 'butt'|'round'|'square';
104
+ 'stroke-linejoin'?: 'butt'|'round'|'square';
105
+ 'stroke-opacity'?: number;
106
+ 'stroke-width'?: number;
107
+ strokeWidth?: number; // Used in PatternFill, transformed to stroke-width
108
+ // @todo: Create special ButtonTheme class for exporting and RangeSelector
109
+ // states?: any;
110
+ 'stop-color'?: string;
111
+ 'stop-opacity'?: number;
112
+ style?: CSSObject|string;
113
+ 'sweep-flag'?: 0|1;
114
+ tabindex?: number;
115
+ tableValues?: string;
116
+ text?: string;
117
+ textAlign?: 'center'|'left'|'right';
118
+ 'text-align'?: 'center'|'left'|'right';
119
+ 'text-anchor'?: string;
120
+ title?: string;
121
+ transform?: string;
122
+ 'transform-origin'?: string;
123
+ translateX?: number;
124
+ translateY?: number;
125
+ type?: string;
126
+ version?: string;
127
+ viewBox?: string;
128
+ visibility?: 'hidden'|'inherit'|'visible';
129
+ width?: number;
130
+ x?: number;
131
+ x1?: number;
132
+ x2?: number;
133
+ xmlns?: string;
134
+ y?: number;
135
+ y1?: number;
136
+ y2?: number;
137
+ z?: number;
138
+ zIndex?: number;
139
+ }
140
+
141
+ /* *
142
+ *
143
+ * Default Export
144
+ *
145
+ * */
146
+
147
+ export default SVGAttributes;