-
Notifications
You must be signed in to change notification settings - Fork 155
/
Copy pathenum.ts
324 lines (304 loc) · 8.96 KB
/
enum.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
/**
* Horizontal alignment type
*/
export type TextAlign = 'left' | 'center' | 'right';
/**
* Vertical alignment type
*/
export type VerticalAlign = 'bottom' | 'middle' | 'top';
/**
* Font weight type
*/
export type FontWeight = 'bold' | 'normal';
/**
* Font style type
*/
export type FontStyle = 'italic' | 'normal';
/**
* Text decoration type
*
* @hidden
*/
export type TextDecoration = 'underline' | 'line-through' | 'underline line-through' | 'none';
/**
* Font family type
*/
export type FontFamily = 'Arial' | 'Arial Black' | 'Axettac Demo' | 'Batang' | 'Book Antiqua' | 'Calibri' | 'Comic Sans MS' | 'Courier' |
'Courier New' | 'Din Condensed' | 'Georgia' | 'Helvetica' | 'Helvetica New' | 'Roboto' | 'Tahoma' | 'Times New Roman' | 'Verdana';
/**
* Specifies the number format types in Spreadsheet.
*/
export type NumberFormatType = 'General' | 'Number' | 'Currency' | 'Accounting' | 'ShortDate' | 'LongDate' | 'Time' | 'Percentage' |
'Fraction' | 'Scientific' | 'Text';
/**
* Specifies the option for save file type from Spreadsheet. By default, Excel save will be occur.
*/
export type SaveType = 'Xlsx' | 'Xls' | 'Csv' | 'Pdf';
/**
* Defines the order of Sorting. They are
* * Ascending
* * Descending
*/
export type SortOrder =
/** Defines SortDirection as Ascending */
'Ascending' |
/** Defines SortDirection as Descending */
'Descending';
/**
* Cell format type
*/
export type FormatType = 'CellFormat' | 'NumberFormat';
/**
* Border type
*/
export type BorderType = 'Vertical' | 'Horizontal' | 'Outer' | 'Inner';
/**
* Sheet visibility state
*/
export type SheetState =
/** Defines the state of sheet as visible. */
'Visible' |
/** Defines the state of sheet as hidden. It can be unhidden later. */
'Hidden' |
/** Defines the state of sheet as hidden. Once set, it cannot be unhidden. */
'VeryHidden';
/**
* Workbook model type
*/
export type ModelType = 'Sheet' | 'Row' | 'Column';
/**
* validation type
*/
export type ValidationType = 'WholeNumber' | 'Decimal' | 'Date' | 'TextLength' | 'List' | 'Time' | 'Custom';
/**
* validation operator
*/
export type ValidationOperator = 'Between' | 'NotBetween' | 'EqualTo' | 'NotEqualTo' | 'LessThan' |
'GreaterThan' | 'GreaterThanOrEqualTo' | 'LessThanOrEqualTo';
/**
* Merge type
*/
export type MergeType =
/** Merge all the cells between provided range. */
'All' |
/** Merge the cells row-wise. */
'Horizontally' |
/** Merge the cells column-wise. */
'Vertically';
/**
* Conditional formatting HighlightCell Type
*
* @hidden
*/
export type HighlightCell = 'GreaterThan' | 'LessThan' | 'Between' | 'EqualTo' | 'ContainsText' | 'DateOccur' | 'Duplicate' | 'Unique';
/**
* Conditional formatting TopBottom Type
*
* @hidden
*/
export type TopBottom = 'Top10Items' | 'Bottom10Items' | 'Top10Percentage' | 'Bottom10Percentage' | 'BelowAverage' | 'AboveAverage';
/**
* Conditional formatting DataBar Type
*
* @hidden
*/
export type DataBar = 'BlueDataBar' | 'GreenDataBar' | 'RedDataBar' | 'OrangeDataBar' | 'LightBlueDataBar' | 'PurpleDataBar';
/**
* Conditional formatting ColorScale Type
*
* @hidden
*/
export type ColorScale = 'GYRColorScale' | 'RYGColorScale' | 'GWRColorScale' | 'RWGColorScale' | 'BWRColorScale' | 'RWBColorScale' |
'WRColorScale' | 'RWColorScale' | 'GWColorScale' | 'WGColorScale' | 'GYColorScale' | 'YGColorScale';
/**
* Conditional formatting IconSet Type
*
* @hidden
*/
export type IconSet = 'ThreeArrows' | 'ThreeArrowsGray' | 'FourArrowsGray' | 'FourArrows' | 'FiveArrowsGray' |
'FiveArrows' | 'ThreeTrafficLights1' | 'ThreeTrafficLights2' | 'ThreeSigns' | 'FourTrafficLights' |
'FourRedToBlack' | 'ThreeSymbols' | 'ThreeSymbols2' | 'ThreeFlags' | 'FourRating' | 'FiveQuarters' |
'FiveRating' | 'ThreeTriangles' | 'ThreeStars' | 'FiveBoxes';
export type CFColor = 'RedFT' | 'YellowFT' | 'GreenFT' | 'RedF' | 'RedT';
/**
* Clear type
*/
export type ClearType =
/** Clear the content, formats and hyperlinks applied in the provided range. */
'Clear All' |
/** Clear the formats applied in the provided range. */
'Clear Formats' |
/** Clear the content in the provided range. */
'Clear Contents' |
/** Clear the hyperlinks applied in the provided range. */
'Clear Hyperlinks';
/**
* Chart type
*/
export type ChartType =
/** Define the Column series. */
'Column' |
/** Define the StackingColumn series. */
'StackingColumn' |
/** Define the StackingColumn100 series */
'StackingColumn100' |
/** Define the line series. */
'Line' |
/** Define the StackingLine series. */
'StackingLine' |
/** Define the StackingLine100 series */
'StackingLine100' |
/** Define the Bar series. */
'Bar' |
/** Define the StackingBar series. */
'StackingBar' |
/** Define the StackingBar100 series */
'StackingBar100' |
/** Define the Area series. */
'Area' |
/** Define the StackingArea series. */
'StackingArea' |
/** Define the StackingArea100 series */
'StackingArea100' |
/** Define the Scatter series. */
'Scatter' |
/** Define the Pie series. */
'Pie' |
/** Define the Doughnut series. */
'Doughnut';
/**
* Chart theme
*/
export type ChartTheme =
/** Render a chart with Material theme. */
'Material' |
/** Render a chart with Fabric theme. */
'Fabric' |
/** Render a chart with Bootstrap theme. */
'Bootstrap' |
/** Render a chart with HighcontrastLight theme. */
'HighContrastLight'|
/** Render a chart with MaterialDark theme. */
'MaterialDark' |
/** Render a chart with FabricDark theme. */
'FabricDark' |
/** Render a chart with HighContrast theme. */
'HighContrast'|
/** Render a chart with BootstrapDark theme. */
'BootstrapDark' |
/** Render a chart with Bootstrap4 theme. */
'Bootstrap4'|
/** Render a chart with Bootstrap5Dark theme. */
'Bootstrap5Dark'|
/** Render a chart with Bootstrap5 theme. */
'Bootstrap5' |
/** Render a chart with Tailwind theme. */
'Tailwind' |
/** Render a chart with TailwindDark theme. */
'TailwindDark' |
/** Render a chart with Tailwind3 theme. */
'Tailwind3' |
/** Render a chart with Tailwind3Dark theme. */
'Tailwind3Dark' |
/** Render a chart with Fluent theme. */
'Fluent' |
/** Render a chart with FluentDark theme. */
'FluentDark' |
/** Render a chart with Fluent 2 theme. */
'Fluent2' |
/** Render a chart with Fluent 2 dark theme. */
'Fluent2Dark' |
/** Render a chart with Material3 theme. */
'Material3' |
/** Render a chart with Material3Dark theme. */
'Material3Dark' ;
/**
* Defines the position of the legend. They are
* * auto - Places the legend based on area type.
* * top - Displays the legend on the top of chart.
* * left - Displays the legend on the left of chart.
* * bottom - Displays the legend on the bottom of chart.
* * right - Displays the legend on the right of chart.
*/
export type LegendPosition =
/** Places the legend based on area type. */
'Auto' |
/** Places the legend on the top of chart. */
'Top' |
/** Places the legend on the left of chart. */
'Left' |
/** Places the legend on the bottom of chart. */
'Bottom' |
/** Places the legend on the right of chart. */
'Right';
/**
* Defines the LabelPosition, They are.
* * outer - Position the label outside the point.
* * top - Position the label on top of the point.
* * bottom - Position the label on bottom of the point.
* * middle - Position the label to middle of the point.
* * auto - Position the label based on series.
*/
export type LabelPosition =
/** Position the label outside the point. */
'Outer' |
/** Position the label on top of the point. */
'Top' |
/** Position the label on bottom of the point. */
'Bottom' |
/** Position the label to middle of the point. */
'Middle' |
/** Position the label based on series. */
'Auto';
/**
* Defines the shape of marker. They are
* * circle - Renders a circle.
* * rectangle - Renders a rectangle.
* * triangle - Renders a triangle.
* * diamond - Renders a diamond.
* * cross - Renders a cross.
* * horizontalLine - Renders a horizontalLine.
* * verticalLine - Renders a verticalLine.
* * pentagon- Renders a pentagon.
* * invertedTriangle - Renders a invertedTriangle.
* * image - Renders a image.
*/
export type ChartShape =
/** Render a circle. */
'Circle' |
/** Render a Triangle. */
'Triangle' |
/** Render a Diamond. */
'Diamond' |
/** Render a Plus. */
'Plus' |
/** Render a none */
'None';
/**
* Defines fill type options.
*/
export type AutoFillType = 'FillSeries' | 'CopyCells' | 'FillFormattingOnly' | 'FillWithoutFormatting';
/**
* Defines Auto fill direction options.
*/
export type AutoFillDirection = 'Down' | 'Right' | 'Up' | 'Left';
/**
* Defines the types of page orientation.
*/
export type PdfPageOrientation =
/** Used to display content in a vertical layout. */
'Portrait' |
/** Used to display content in a horizontal layout. */
'Landscape';
/**
* Defines the calculation modes for spreadsheet formulas.
*/
export type CalculationMode =
/**
* Formulas are recalculated automatically whenever a change affecting a value occurs in the spreadsheet.
*/
'Automatic' |
/**
* Formulas are recalculated only when explicitly triggered by the user.
*/
'Manual';