cx 24.0.2 → 24.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.
Files changed (62) hide show
  1. package/dist/data.js +15 -26
  2. package/dist/manifest.js +525 -522
  3. package/dist/ui.js +1 -1
  4. package/dist/widgets.js +162 -77
  5. package/locale/de-de.js +6 -1
  6. package/locale/en-us.js +5 -1
  7. package/locale/es-es.js +6 -1
  8. package/locale/fr-fr.js +7 -2
  9. package/locale/nl-nl.js +4 -5
  10. package/locale/pt-pt.js +12 -1
  11. package/locale/sr-latn-ba.js +6 -2
  12. package/package.json +1 -1
  13. package/src/charts/ColorMap.js +4 -6
  14. package/src/charts/axis/Axis.d.ts +96 -96
  15. package/src/charts/axis/Axis.js +252 -252
  16. package/src/data/Expression.js +212 -212
  17. package/src/data/Expression.spec.js +174 -174
  18. package/src/data/StringTemplate.spec.js +105 -105
  19. package/src/data/StructuredSelector.d.ts +1 -1
  20. package/src/data/ops/updateTree.js +1 -1
  21. package/src/data/ops/updateTree.spec.js +16 -14
  22. package/src/ui/Controller.d.ts +182 -182
  23. package/src/ui/Culture.d.ts +0 -3
  24. package/src/ui/DataProxy.d.ts +1 -0
  25. package/src/ui/DataProxy.js +2 -2
  26. package/src/ui/FocusManager.js +171 -171
  27. package/src/ui/Format.js +87 -87
  28. package/src/ui/Instance.d.ts +72 -72
  29. package/src/ui/Localization.js +0 -2
  30. package/src/ui/Rescope.js +2 -2
  31. package/src/ui/Text.js +2 -4
  32. package/src/ui/adapter/DataAdapter.js +7 -12
  33. package/src/ui/adapter/GroupAdapter.d.ts +22 -3
  34. package/src/ui/adapter/TreeAdapter.d.ts +23 -3
  35. package/src/ui/keyboardShortcuts.js +4 -5
  36. package/src/ui/selection/KeySelection.d.ts +1 -1
  37. package/src/ui/selection/PropertySelection.d.ts +1 -1
  38. package/src/ui/selection/PropertySelection.js +2 -4
  39. package/src/ui/selection/Selection.d.ts +1 -1
  40. package/src/widgets/form/ColorField.js +14 -9
  41. package/src/widgets/form/ColorPicker.scss +275 -275
  42. package/src/widgets/form/ColorPicker.variables.scss +22 -22
  43. package/src/widgets/form/DateTimeField.d.ts +86 -86
  44. package/src/widgets/form/DateTimeField.js +573 -572
  45. package/src/widgets/form/Field.js +24 -9
  46. package/src/widgets/form/FieldIcon.js +42 -0
  47. package/src/widgets/form/Label.js +88 -88
  48. package/src/widgets/form/LookupField.d.ts +173 -174
  49. package/src/widgets/form/LookupField.js +1130 -1131
  50. package/src/widgets/form/MonthField.d.ts +37 -38
  51. package/src/widgets/form/MonthField.js +16 -15
  52. package/src/widgets/form/NumberField.d.ts +2 -2
  53. package/src/widgets/form/NumberField.js +13 -13
  54. package/src/widgets/form/Select.d.ts +31 -35
  55. package/src/widgets/form/Select.js +7 -12
  56. package/src/widgets/form/TextArea.js +10 -6
  57. package/src/widgets/form/TextField.d.ts +2 -2
  58. package/src/widgets/form/TextField.js +17 -14
  59. package/src/widgets/form/UploadButton.d.ts +34 -34
  60. package/src/widgets/form/index.js +1 -2
  61. package/src/widgets/grid/Grid.d.ts +5 -2
  62. package/src/widgets/overlay/Dropdown.d.ts +1 -0
package/locale/en-us.js CHANGED
@@ -24,12 +24,14 @@ const calendarErrorMessages = {
24
24
  minValueErrorText: 'Select {0:d} or later.',
25
25
  minExclusiveErrorText: 'Select a date after {0:d}.',
26
26
  };
27
+
27
28
  // Calendar
28
29
  Localization.localize(c, 'cx/widgets/Calendar', {
29
30
  ...calendarErrorMessages,
30
31
  todayButtonText: 'Today',
31
32
  startWithMonday: false
32
33
  });
34
+
33
35
  // MonthPicker
34
36
  Localization.localize(c, 'cx/widgets/MonthPicker', calendarErrorMessages);
35
37
 
@@ -38,8 +40,10 @@ const dateFieldErrorMessages = {
38
40
  ...calendarErrorMessages,
39
41
  inputErrorText: 'Invalid date entered.'
40
42
  };
43
+
41
44
  // MonthField
42
45
  Localization.localize(c, 'cx/widgets/MonthField', dateFieldErrorMessages);
46
+
43
47
  // DateField
44
48
  Localization.localize(c, 'cx/widgets/DateField', dateFieldErrorMessages);
45
49
 
@@ -68,4 +72,4 @@ Localization.localize(c, 'cx/widgets/UploadButton', {
68
72
  Localization.localize(c, 'cx/widgets/MsgBox', {
69
73
  yesText: "Yes",
70
74
  noText: "No"
71
- });
75
+ });
package/locale/es-es.js CHANGED
@@ -24,11 +24,14 @@ const calendarErrorMessages = {
24
24
  minValueErrorText: 'Seleccione {0: d} o posterior',
25
25
  minExclusiveErrorText: 'Seleccione una fecha después de {0: d}.',
26
26
  };
27
+
27
28
  // Calendar
28
29
  Localization.localize(c, 'cx/widgets/Calendar', {
29
30
  ...calendarErrorMessages,
30
- todayButtonText: 'Hoy'
31
+ todayButtonText: 'Hoy',
32
+ startWithMonday: true
31
33
  });
34
+
32
35
  // MonthPicker
33
36
  Localization.localize(c, 'cx/widgets/MonthPicker', calendarErrorMessages);
34
37
 
@@ -37,8 +40,10 @@ const dateFieldErrorMessages = {
37
40
  ...calendarErrorMessages,
38
41
  inputErrorText: 'Fecha introducida no es válida.'
39
42
  };
43
+
40
44
  // MonthField
41
45
  Localization.localize(c, 'cx/widgets/MonthField', dateFieldErrorMessages);
46
+
42
47
  // DateField
43
48
  Localization.localize(c, 'cx/widgets/DateField', dateFieldErrorMessages);
44
49
 
package/locale/fr-fr.js CHANGED
@@ -24,11 +24,14 @@ const calendarErrorMessages = {
24
24
  minValueErrorText: 'Sélectionnez {0:d} ou plus tard.',
25
25
  minExclusiveErrorText: 'Sélectionnez une date après {0:d}.',
26
26
  };
27
+
27
28
  // Calendar
28
29
  Localization.localize(c, 'cx/widgets/Calendar', {
29
30
  ...calendarErrorMessages,
30
- todayButtonText: 'Aujourd\'hui'
31
+ todayButtonText: 'Aujourd\'hui',
32
+ startWithMonday: true
31
33
  });
34
+
32
35
  // MonthPicker
33
36
  Localization.localize(c, 'cx/widgets/MonthPicker', calendarErrorMessages);
34
37
 
@@ -37,8 +40,10 @@ const dateFieldErrorMessages = {
37
40
  ...calendarErrorMessages,
38
41
  inputErrorText: 'Date invalide entrée.'
39
42
  };
43
+
40
44
  // MonthField
41
45
  Localization.localize(c, 'cx/widgets/MonthField', dateFieldErrorMessages);
46
+
42
47
  // DateField
43
48
  Localization.localize(c, 'cx/widgets/DateField', dateFieldErrorMessages);
44
49
 
@@ -67,4 +72,4 @@ Localization.localize(c, 'cx/widgets/UploadButton', {
67
72
  Localization.localize(c, 'cx/widgets/MsgBox', {
68
73
  yesText: "Oui",
69
74
  noText: "Non"
70
- });
75
+ });
package/locale/nl-nl.js CHANGED
@@ -12,7 +12,6 @@ Localization.localize(c, 'cx/widgets/Field', {
12
12
  // LookupField
13
13
  Localization.localize(c, 'cx/widgets/LookupField', {
14
14
  loadingText: 'Bezig met laden ...',
15
- requiredText: 'Dit veld is verplicht.',
16
15
  queryErrorText: 'Er is een fout opgetreden bij het weergeven van gegevens.',
17
16
  noResultsText: 'Geen resultaten gevonden',
18
17
  minQueryLengthMessageText: 'Voer minimaal {0} tekens in.'
@@ -20,7 +19,6 @@ Localization.localize(c, 'cx/widgets/LookupField', {
20
19
 
21
20
  // In common for Calendar and MonthPicker
22
21
  const calendarErrorMessages = {
23
- requiredText: 'Dit veld is verplicht.',
24
22
  maxValueErrorText: 'De geselecteerde datum is later dan de laatst toegestane datum {0: d}',
25
23
  maxExclusiveErrorText: 'De geselecteerde datum moet vóór {0: d}',
26
24
  minValueErrorText: 'De geselecteerde datum is eerder dan {0: d}',
@@ -30,8 +28,10 @@ const calendarErrorMessages = {
30
28
  // Calendar
31
29
  Localization.localize(c, 'cx/widgets/Calendar', {
32
30
  ...calendarErrorMessages,
33
- todayButtonText: 'Vandaag'
31
+ todayButtonText: 'Vandaag',
32
+ startWithMonday: true
34
33
  });
34
+
35
35
  // MonthPicker
36
36
  Localization.localize(c, 'cx/widgets/MonthPicker', calendarErrorMessages);
37
37
 
@@ -43,12 +43,12 @@ const dateFieldErrorMessages = {
43
43
 
44
44
  // MonthField
45
45
  Localization.localize(c, 'cx/widgets/MonthField', dateFieldErrorMessages);
46
+
46
47
  // DateField
47
48
  Localization.localize(c, 'cx/widgets/DateField', dateFieldErrorMessages);
48
49
 
49
50
  // NumberField
50
51
  Localization.localize(c, 'cx/widgets/NumberField', {
51
- requiredText: 'Dit veld is verplicht.',
52
52
  maxValueErrorText: 'Voer {0} of minder in.',
53
53
  maxExclusiveErrorText: 'Voer een nummer in dat kleiner is dan {0}.',
54
54
  minValueErrorText: 'Voer {0} of meer in.',
@@ -58,7 +58,6 @@ Localization.localize(c, 'cx/widgets/NumberField', {
58
58
 
59
59
  // TextField
60
60
  Localization.localize(c, 'cx/widgets/TextField', {
61
- requiredText: 'Dit veld is verplicht.',
62
61
  validationErrorText: 'De ingevoerde waarde is ongeldig.',
63
62
  minLengthValidationErrorText: 'Vul {[{0} - {1}]} extra karakters in.',
64
63
  maxLengthValidationErrorText: 'Gebruik {0} tekens of minder.'
package/locale/pt-pt.js CHANGED
@@ -24,11 +24,14 @@ const calendarErrorMessages = {
24
24
  minValueErrorText: 'Selecione {0:d} ou posterior.',
25
25
  minExclusiveErrorText: 'Selecione uma data após {0:d}.',
26
26
  };
27
+
27
28
  // Calendar
28
29
  Localization.localize(c, 'cx/widgets/Calendar', {
29
30
  ...calendarErrorMessages,
30
- todayButtonText: 'Hoje'
31
+ todayButtonText: 'Hoje',
32
+ startWithMonday: false
31
33
  });
34
+
32
35
  // MonthPicker
33
36
  Localization.localize(c, 'cx/widgets/MonthPicker', calendarErrorMessages);
34
37
 
@@ -37,8 +40,10 @@ const dateFieldErrorMessages = {
37
40
  ...calendarErrorMessages,
38
41
  inputErrorText: 'Data inválida inserida.'
39
42
  };
43
+
40
44
  // MonthField
41
45
  Localization.localize(c, 'cx/widgets/MonthField', dateFieldErrorMessages);
46
+
42
47
  // DateField
43
48
  Localization.localize(c, 'cx/widgets/DateField', dateFieldErrorMessages);
44
49
 
@@ -61,4 +66,10 @@ Localization.localize(c, 'cx/widgets/TextField', {
61
66
  // UploadButton
62
67
  Localization.localize(c, 'cx/widgets/UploadButton', {
63
68
  validationErrorText: 'O upload está em andamento.'
69
+ });
70
+
71
+ // MsgBox
72
+ Localization.localize(c, 'cx/widgets/MsgBox', {
73
+ yesText: "Sim",
74
+ noText: "Não"
64
75
  });
@@ -6,14 +6,14 @@ var c = 'sr-latn-ba';
6
6
  Localization.localize(c, 'cx/widgets/Field', {
7
7
  requiredText: 'Ovo polje je obavezno.',
8
8
  validatingText: 'Validacija je u toku...',
9
- validationExceptionText: 'Došlo je do problema prilikom validacije podataka. Provjerite log za više detalja'
9
+ validationExceptionText: 'Došlo je do problema prilikom validacije podataka. Provjerite log za više detalja.'
10
10
  });
11
11
 
12
12
  // LookupField
13
13
  Localization.localize(c, 'cx/widgets/LookupField', {
14
14
  loadingText: 'Učitavanje...',
15
15
  queryErrorText: 'Došlo je do greške kod pribavljanja podataka za prikaz.',
16
- noResultsText: 'Rezultati nisu pronađeni',
16
+ noResultsText: 'Rezultati nisu pronađeni.',
17
17
  minQueryLengthMessageText: 'Unesite najmanje {0} karakter(a).'
18
18
  });
19
19
 
@@ -24,12 +24,14 @@ const calendarErrorMessages = {
24
24
  minValueErrorText: 'Izabrani datum je raniji od {0:d}',
25
25
  minExclusiveErrorText: 'Izabrani datum bi trebao biti kasniji od {0:d}',
26
26
  };
27
+
27
28
  // Calendar
28
29
  Localization.localize(c, 'cx/widgets/Calendar', {
29
30
  ...calendarErrorMessages,
30
31
  todayButtonText: 'Danas',
31
32
  startWithMonday: true
32
33
  });
34
+
33
35
  // MonthPicker
34
36
  Localization.localize(c, 'cx/widgets/MonthPicker', calendarErrorMessages);
35
37
 
@@ -38,8 +40,10 @@ const dateFieldErrorMessages = {
38
40
  ...calendarErrorMessages,
39
41
  inputErrorText: 'Neispravan datum.'
40
42
  };
43
+
41
44
  // MonthField
42
45
  Localization.localize(c, 'cx/widgets/MonthField', dateFieldErrorMessages);
46
+
43
47
  // DateField
44
48
  Localization.localize(c, 'cx/widgets/DateField', dateFieldErrorMessages);
45
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "24.0.2",
3
+ "version": "24.2.0",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "main": "index.js",
6
6
  "jsnext:main": "src/index.js",
@@ -1,5 +1,5 @@
1
- import {Widget} from '../ui/Widget';
2
- import {PureContainer} from '../ui/PureContainer';
1
+ import { Widget } from '../ui/Widget';
2
+ import { PureContainer } from '../ui/PureContainer';
3
3
 
4
4
  export class ColorMap extends Widget {
5
5
  declareData() {
@@ -21,7 +21,7 @@ export class ColorMap extends Widget {
21
21
  let cache = this.onGetCache ? instance.invoke("onGetCache") : {};
22
22
  map = cache[colorMap];
23
23
  if (!map) {
24
- let {data} = instance;
24
+ let { data } = instance;
25
25
  map = context.colorMaps[colorMap] = cache[colorMap] = new ColorIndex({
26
26
  offset: data.offset,
27
27
  step: data.step,
@@ -67,7 +67,7 @@ ColorMap.Scope = ColorMapScope;
67
67
  Widget.alias('color-map', ColorMap);
68
68
 
69
69
  export class ColorIndex {
70
- constructor({offset, step, size}) {
70
+ constructor({ offset, step, size }) {
71
71
  this.colorMap = {};
72
72
  this.dirty = true;
73
73
  this.offset = offset;
@@ -83,7 +83,6 @@ export class ColorIndex {
83
83
  }
84
84
 
85
85
  map(name) {
86
-
87
86
  if (this.dirty) {
88
87
  this.dirty = false;
89
88
  if (!this.step) {
@@ -94,6 +93,5 @@ export class ColorIndex {
94
93
 
95
94
  let index = this.colorMap[name] || 0;
96
95
  return Math.round(this.offset + this.step * index + this.size) % this.size;
97
-
98
96
  }
99
97
  }
@@ -1,96 +1,96 @@
1
- import { Instance } from "./../../ui/Instance.d";
2
- import * as Cx from "../../core";
3
- import { BoundedObject, BoundedObjectProps } from "../../svg/BoundedObject";
4
-
5
- export interface AxisProps extends BoundedObjectProps {
6
- /** Set to `true` for vertical axes. */
7
- vertical?: boolean;
8
-
9
- /** Used as a secondary axis. Displayed at the top/right. */
10
- secondary?: boolean;
11
-
12
- /** When set to `true`, the values are displayed in descending order. */
13
- inverted?: Cx.BooleanProp;
14
-
15
- /** When set to `true`, rendering of visual elements of the axis, such as ticks and labels, is skipped, but their function is preserved. */
16
- hidden?: boolean;
17
-
18
- tickSize?: number;
19
- minTickDistance?: number;
20
- minLabelDistanceVertical?: number;
21
- minLabelDistanceHorizontal?: number;
22
-
23
- /** Distance between labels and the axis. */
24
- labelOffset?: number | string;
25
-
26
- /** Label rotation angle in degrees. */
27
- labelRotation?: Cx.Prop<number | string>;
28
-
29
- /** Label text-anchor value. Allowed values are start, end and middle. Default value is set based on the value of vertical and secondary flags. */
30
- labelAnchor?: "start" | "end" | "middle" | "auto";
31
-
32
- /** Horizontal text offset. */
33
- labelDx?: number | string;
34
-
35
- /** Vertical text offset which can be used for vertical alignment. */
36
- labelDy?: number | string;
37
-
38
- /** Set to `true` to break long labels into multiple lines. Default value is `false`. Text is split at space characters. See also `labelMaxLineLength` and `labelLineCountDyFactor`. */
39
- labelWrap?: boolean;
40
-
41
- /**
42
- * Used for vertical adjustment of multi-line labels. Default value is `auto` which means
43
- * that value is initialized based on axis configuration. Value `0` means that label will grow towards
44
- * the bottom of the screen. Value `-1` will make labels to grow towards the top of the screen.
45
- * `-0.5` will make labels vertically centered.
46
- */
47
- labelLineCountDyFactor?: number | string;
48
-
49
- /**
50
- * Used for vertical adjustment of multi-line labels. Default value is 1 which means
51
- * that labels are stacked without any space between them. Value of 1.4 will add 40% of the label height as a space between labels.
52
- */
53
- labelLineHeight?: number | string;
54
-
55
- /** If `labelWrap` is on, this number is used as a measure to split labels into multiple lines. Default value is `10`. */
56
- labelMaxLineLength?: number;
57
-
58
- /** Set to true to hide the axis labels. */
59
- hideLabels?: boolean;
60
-
61
- /** Set to true to hide the axis line. */
62
- hideLine?: boolean;
63
-
64
- /** Set to true to hide the axis ticks. */
65
- hideTicks?: boolean;
66
-
67
- /** Additional CSS style to be applied to the axis line. */
68
- lineStyle?: Cx.StyleProp;
69
-
70
- /** Additional CSS style to be applied to the axis ticks. */
71
- tickStyle?: Cx.StyleProp;
72
-
73
- /** Additional CSS style to be applied to the axis labels. */
74
- labelStyle?: Cx.StyleProp;
75
-
76
- /** Additional CSS class to be applied to the axis line. */
77
- lineClass?: Cx.ClassProp;
78
-
79
- /** Additional CSS class to be applied to the axis ticks. */
80
- tickClass?: Cx.ClassProp;
81
-
82
- /** Additional CSS class to be applied to the axis labels. */
83
- labelClass?: Cx.ClassProp;
84
-
85
- onMeasured?: (info: any, instance: Instance) => void;
86
-
87
- /** A function used to create a formatter function for axis labels. See Complex Labels example in the CxJS documentation for more info. */
88
- onCreateLabelFormatter?:
89
- | string
90
- | ((
91
- context: any,
92
- instance: Instance
93
- ) => (formattedValue: string, value: any) => { text: string; style?: any; className?: string }[]);
94
- }
95
-
96
- export class Axis extends BoundedObject {}
1
+ import { Instance } from "./../../ui/Instance.d";
2
+ import * as Cx from "../../core";
3
+ import { BoundedObject, BoundedObjectProps } from "../../svg/BoundedObject";
4
+
5
+ export interface AxisProps extends BoundedObjectProps {
6
+ /** Set to `true` for vertical axes. */
7
+ vertical?: boolean;
8
+
9
+ /** Used as a secondary axis. Displayed at the top/right. */
10
+ secondary?: boolean;
11
+
12
+ /** When set to `true`, the values are displayed in descending order. */
13
+ inverted?: Cx.BooleanProp;
14
+
15
+ /** When set to `true`, rendering of visual elements of the axis, such as ticks and labels, is skipped, but their function is preserved. */
16
+ hidden?: boolean;
17
+
18
+ tickSize?: number;
19
+ minTickDistance?: number;
20
+ minLabelDistanceVertical?: number;
21
+ minLabelDistanceHorizontal?: number;
22
+
23
+ /** Distance between labels and the axis. */
24
+ labelOffset?: number | string;
25
+
26
+ /** Label rotation angle in degrees. */
27
+ labelRotation?: Cx.Prop<number | string>;
28
+
29
+ /** Label text-anchor value. Allowed values are start, end and middle. Default value is set based on the value of vertical and secondary flags. */
30
+ labelAnchor?: "start" | "end" | "middle" | "auto";
31
+
32
+ /** Horizontal text offset. */
33
+ labelDx?: number | string;
34
+
35
+ /** Vertical text offset which can be used for vertical alignment. */
36
+ labelDy?: number | string;
37
+
38
+ /** Set to `true` to break long labels into multiple lines. Default value is `false`. Text is split at space characters. See also `labelMaxLineLength` and `labelLineCountDyFactor`. */
39
+ labelWrap?: boolean;
40
+
41
+ /**
42
+ * Used for vertical adjustment of multi-line labels. Default value is `auto` which means
43
+ * that value is initialized based on axis configuration. Value `0` means that label will grow towards
44
+ * the bottom of the screen. Value `-1` will make labels to grow towards the top of the screen.
45
+ * `-0.5` will make labels vertically centered.
46
+ */
47
+ labelLineCountDyFactor?: number | string;
48
+
49
+ /**
50
+ * Used for vertical adjustment of multi-line labels. Default value is 1 which means
51
+ * that labels are stacked without any space between them. Value of 1.4 will add 40% of the label height as a space between labels.
52
+ */
53
+ labelLineHeight?: number | string;
54
+
55
+ /** If `labelWrap` is on, this number is used as a measure to split labels into multiple lines. Default value is `10`. */
56
+ labelMaxLineLength?: number;
57
+
58
+ /** Set to true to hide the axis labels. */
59
+ hideLabels?: boolean;
60
+
61
+ /** Set to true to hide the axis line. */
62
+ hideLine?: boolean;
63
+
64
+ /** Set to true to hide the axis ticks. */
65
+ hideTicks?: boolean;
66
+
67
+ /** Additional CSS style to be applied to the axis line. */
68
+ lineStyle?: Cx.StyleProp;
69
+
70
+ /** Additional CSS style to be applied to the axis ticks. */
71
+ tickStyle?: Cx.StyleProp;
72
+
73
+ /** Additional CSS style to be applied to the axis labels. */
74
+ labelStyle?: Cx.StyleProp;
75
+
76
+ /** Additional CSS class to be applied to the axis line. */
77
+ lineClass?: Cx.ClassProp;
78
+
79
+ /** Additional CSS class to be applied to the axis ticks. */
80
+ tickClass?: Cx.ClassProp;
81
+
82
+ /** Additional CSS class to be applied to the axis labels. */
83
+ labelClass?: Cx.ClassProp;
84
+
85
+ onMeasured?: (info: any, instance: Instance) => void;
86
+
87
+ /** A function used to create a formatter function for axis labels. See Complex Labels example in the CxJS documentation for more info. */
88
+ onCreateLabelFormatter?:
89
+ | string
90
+ | ((
91
+ context: any,
92
+ instance: Instance
93
+ ) => (formattedValue: string, value: any) => { text: string; style?: any; className?: string }[]);
94
+ }
95
+
96
+ export class Axis extends BoundedObject {}