@bilig/protocol 0.16.0 → 0.16.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.
- package/dist/cell-format-types.d.ts +115 -0
- package/dist/cell-format-types.js +49 -0
- package/dist/cell-format-types.js.map +1 -0
- package/dist/types.d.ts +3 -106
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
export interface CellStyleFillSnapshot {
|
|
2
|
+
backgroundColor: string;
|
|
3
|
+
}
|
|
4
|
+
export interface CellStyleFontSnapshot {
|
|
5
|
+
family?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
bold?: boolean;
|
|
8
|
+
italic?: boolean;
|
|
9
|
+
underline?: boolean;
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const CELL_HORIZONTAL_ALIGNMENT_VALUES: readonly ["general", "left", "center", "right", "fill", "justify", "centerContinuous", "distributed"];
|
|
13
|
+
export declare const CELL_VERTICAL_ALIGNMENT_VALUES: readonly ["top", "middle", "bottom", "justify", "distributed"];
|
|
14
|
+
export declare const CELL_BORDER_STYLE_VALUES: readonly ["solid", "dashed", "dotted", "double"];
|
|
15
|
+
export declare const CELL_BORDER_WEIGHT_VALUES: readonly ["thin", "medium", "thick"];
|
|
16
|
+
export type CellHorizontalAlignment = (typeof CELL_HORIZONTAL_ALIGNMENT_VALUES)[number];
|
|
17
|
+
export type CellVerticalAlignment = (typeof CELL_VERTICAL_ALIGNMENT_VALUES)[number];
|
|
18
|
+
export type CellBorderStyle = (typeof CELL_BORDER_STYLE_VALUES)[number];
|
|
19
|
+
export type CellBorderWeight = (typeof CELL_BORDER_WEIGHT_VALUES)[number];
|
|
20
|
+
export interface CellStyleAlignmentSnapshot {
|
|
21
|
+
horizontal?: CellHorizontalAlignment;
|
|
22
|
+
vertical?: CellVerticalAlignment;
|
|
23
|
+
wrap?: boolean;
|
|
24
|
+
indent?: number;
|
|
25
|
+
shrinkToFit?: boolean;
|
|
26
|
+
readingOrder?: number;
|
|
27
|
+
textRotation?: number;
|
|
28
|
+
justifyLastLine?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface CellBorderSideSnapshot {
|
|
31
|
+
style: CellBorderStyle;
|
|
32
|
+
weight: CellBorderWeight;
|
|
33
|
+
color: string;
|
|
34
|
+
}
|
|
35
|
+
export interface CellStyleBordersSnapshot {
|
|
36
|
+
top?: CellBorderSideSnapshot;
|
|
37
|
+
right?: CellBorderSideSnapshot;
|
|
38
|
+
bottom?: CellBorderSideSnapshot;
|
|
39
|
+
left?: CellBorderSideSnapshot;
|
|
40
|
+
}
|
|
41
|
+
export interface CellStyleProtectionSnapshot {
|
|
42
|
+
locked?: boolean;
|
|
43
|
+
hidden?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface CellStyleRecord {
|
|
46
|
+
id: string;
|
|
47
|
+
fill?: CellStyleFillSnapshot;
|
|
48
|
+
font?: CellStyleFontSnapshot;
|
|
49
|
+
alignment?: CellStyleAlignmentSnapshot;
|
|
50
|
+
borders?: CellStyleBordersSnapshot;
|
|
51
|
+
protection?: CellStyleProtectionSnapshot;
|
|
52
|
+
}
|
|
53
|
+
export interface CellStyleFillPatch {
|
|
54
|
+
backgroundColor?: string | null;
|
|
55
|
+
}
|
|
56
|
+
export interface CellStyleFontPatch {
|
|
57
|
+
family?: string | null;
|
|
58
|
+
size?: number | null;
|
|
59
|
+
bold?: boolean | null;
|
|
60
|
+
italic?: boolean | null;
|
|
61
|
+
underline?: boolean | null;
|
|
62
|
+
color?: string | null;
|
|
63
|
+
}
|
|
64
|
+
export interface CellStyleAlignmentPatch {
|
|
65
|
+
horizontal?: CellHorizontalAlignment | null;
|
|
66
|
+
vertical?: CellVerticalAlignment | null;
|
|
67
|
+
wrap?: boolean | null;
|
|
68
|
+
indent?: number | null;
|
|
69
|
+
shrinkToFit?: boolean | null;
|
|
70
|
+
readingOrder?: number | null;
|
|
71
|
+
textRotation?: number | null;
|
|
72
|
+
justifyLastLine?: boolean | null;
|
|
73
|
+
}
|
|
74
|
+
export interface CellBorderSidePatch {
|
|
75
|
+
style?: CellBorderStyle | null;
|
|
76
|
+
weight?: CellBorderWeight | null;
|
|
77
|
+
color?: string | null;
|
|
78
|
+
}
|
|
79
|
+
export interface CellStyleBordersPatch {
|
|
80
|
+
top?: CellBorderSidePatch | null;
|
|
81
|
+
right?: CellBorderSidePatch | null;
|
|
82
|
+
bottom?: CellBorderSidePatch | null;
|
|
83
|
+
left?: CellBorderSidePatch | null;
|
|
84
|
+
}
|
|
85
|
+
export interface CellStylePatch {
|
|
86
|
+
fill?: CellStyleFillPatch | null;
|
|
87
|
+
font?: CellStyleFontPatch | null;
|
|
88
|
+
alignment?: CellStyleAlignmentPatch | null;
|
|
89
|
+
borders?: CellStyleBordersPatch | null;
|
|
90
|
+
}
|
|
91
|
+
export declare const CELL_STYLE_FIELD_VALUES: readonly ["backgroundColor", "fontFamily", "fontSize", "fontBold", "fontItalic", "fontUnderline", "fontColor", "alignmentHorizontal", "alignmentVertical", "alignmentWrap", "alignmentIndent", "alignmentShrinkToFit", "alignmentReadingOrder", "alignmentTextRotation", "alignmentJustifyLastLine", "borderTop", "borderRight", "borderBottom", "borderLeft"];
|
|
92
|
+
export type CellStyleField = (typeof CELL_STYLE_FIELD_VALUES)[number];
|
|
93
|
+
export declare const CELL_NUMBER_FORMAT_KIND_VALUES: readonly ["general", "number", "currency", "accounting", "percent", "date", "time", "datetime", "text"];
|
|
94
|
+
export declare const CELL_NUMBER_NEGATIVE_STYLE_VALUES: readonly ["minus", "parentheses"];
|
|
95
|
+
export declare const CELL_NUMBER_ZERO_STYLE_VALUES: readonly ["zero", "dash"];
|
|
96
|
+
export declare const CELL_DATE_STYLE_VALUES: readonly ["short", "iso"];
|
|
97
|
+
export type CellNumberFormatKind = (typeof CELL_NUMBER_FORMAT_KIND_VALUES)[number];
|
|
98
|
+
export type CellNumberNegativeStyle = (typeof CELL_NUMBER_NEGATIVE_STYLE_VALUES)[number];
|
|
99
|
+
export type CellNumberZeroStyle = (typeof CELL_NUMBER_ZERO_STYLE_VALUES)[number];
|
|
100
|
+
export type CellDateStyle = (typeof CELL_DATE_STYLE_VALUES)[number];
|
|
101
|
+
export interface CellNumberFormatPreset {
|
|
102
|
+
kind: CellNumberFormatKind;
|
|
103
|
+
currency?: string;
|
|
104
|
+
decimals?: number;
|
|
105
|
+
useGrouping?: boolean;
|
|
106
|
+
negativeStyle?: CellNumberNegativeStyle;
|
|
107
|
+
zeroStyle?: CellNumberZeroStyle;
|
|
108
|
+
dateStyle?: CellDateStyle;
|
|
109
|
+
}
|
|
110
|
+
export type CellNumberFormatInput = string | CellNumberFormatPreset;
|
|
111
|
+
export interface CellNumberFormatRecord {
|
|
112
|
+
id: string;
|
|
113
|
+
code: string;
|
|
114
|
+
kind: CellNumberFormatKind;
|
|
115
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export const CELL_HORIZONTAL_ALIGNMENT_VALUES = [
|
|
2
|
+
'general',
|
|
3
|
+
'left',
|
|
4
|
+
'center',
|
|
5
|
+
'right',
|
|
6
|
+
'fill',
|
|
7
|
+
'justify',
|
|
8
|
+
'centerContinuous',
|
|
9
|
+
'distributed',
|
|
10
|
+
];
|
|
11
|
+
export const CELL_VERTICAL_ALIGNMENT_VALUES = ['top', 'middle', 'bottom', 'justify', 'distributed'];
|
|
12
|
+
export const CELL_BORDER_STYLE_VALUES = ['solid', 'dashed', 'dotted', 'double'];
|
|
13
|
+
export const CELL_BORDER_WEIGHT_VALUES = ['thin', 'medium', 'thick'];
|
|
14
|
+
export const CELL_STYLE_FIELD_VALUES = [
|
|
15
|
+
'backgroundColor',
|
|
16
|
+
'fontFamily',
|
|
17
|
+
'fontSize',
|
|
18
|
+
'fontBold',
|
|
19
|
+
'fontItalic',
|
|
20
|
+
'fontUnderline',
|
|
21
|
+
'fontColor',
|
|
22
|
+
'alignmentHorizontal',
|
|
23
|
+
'alignmentVertical',
|
|
24
|
+
'alignmentWrap',
|
|
25
|
+
'alignmentIndent',
|
|
26
|
+
'alignmentShrinkToFit',
|
|
27
|
+
'alignmentReadingOrder',
|
|
28
|
+
'alignmentTextRotation',
|
|
29
|
+
'alignmentJustifyLastLine',
|
|
30
|
+
'borderTop',
|
|
31
|
+
'borderRight',
|
|
32
|
+
'borderBottom',
|
|
33
|
+
'borderLeft',
|
|
34
|
+
];
|
|
35
|
+
export const CELL_NUMBER_FORMAT_KIND_VALUES = [
|
|
36
|
+
'general',
|
|
37
|
+
'number',
|
|
38
|
+
'currency',
|
|
39
|
+
'accounting',
|
|
40
|
+
'percent',
|
|
41
|
+
'date',
|
|
42
|
+
'time',
|
|
43
|
+
'datetime',
|
|
44
|
+
'text',
|
|
45
|
+
];
|
|
46
|
+
export const CELL_NUMBER_NEGATIVE_STYLE_VALUES = ['minus', 'parentheses'];
|
|
47
|
+
export const CELL_NUMBER_ZERO_STYLE_VALUES = ['zero', 'dash'];
|
|
48
|
+
export const CELL_DATE_STYLE_VALUES = ['short', 'iso'];
|
|
49
|
+
//# sourceMappingURL=cell-format-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-format-types.js","sourceRoot":"","sources":["../src/cell-format-types.ts"],"names":[],"mappings":"AAaA,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,SAAS;IACT,MAAM;IACN,QAAQ;IACR,OAAO;IACP,MAAM;IACN,SAAS;IACT,kBAAkB;IAClB,aAAa;CACL,CAAA;AACV,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,CAAU,CAAA;AAC5G,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAA;AACxF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAU,CAAA;AAyF7E,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,iBAAiB;IACjB,YAAY;IACZ,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,WAAW;IACX,qBAAqB;IACrB,mBAAmB;IACnB,eAAe;IACf,iBAAiB;IACjB,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;IACvB,0BAA0B;IAC1B,WAAW;IACX,aAAa;IACb,cAAc;IACd,YAAY;CACJ,CAAA;AAIV,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,SAAS;IACT,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,SAAS;IACT,MAAM;IACN,MAAM;IACN,UAAU;IACV,MAAM;CACE,CAAA;AACV,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAU,CAAA;AAClF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,MAAM,EAAE,MAAM,CAAU,CAAA;AACtE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,KAAK,CAAU,CAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ErrorCode, type FormulaMode, type ValueTag } from './enums.js';
|
|
2
|
+
import type { CellNumberFormatRecord, CellStylePatch, CellStyleRecord } from './cell-format-types.js';
|
|
2
3
|
import type { WorkbookDataModelArtifactsSnapshot, WorkbookDocumentPropertiesArtifactsSnapshot, WorkbookControlArtifactsSnapshot, WorkbookDrawingArtifactsSnapshot, WorkbookExternalLinkArtifactsSnapshot, WorkbookSheetArrayFormulasSnapshot, WorkbookSheetDataTableFormulasSnapshot, WorkbookSheetControlArtifactsSnapshot, WorkbookSheetDrawingArtifactsSnapshot, WorkbookSheetThreadedCommentArtifactsSnapshot, WorkbookSlicerConnectionArtifactsSnapshot, WorkbookStyleArtifactsSnapshot, WorkbookThreadedCommentArtifactsSnapshot } from './package-artifacts.js';
|
|
3
4
|
import type { WorkbookPivotArtifactsSnapshot, WorkbookPivotSnapshot, WorkbookSheetPivotArtifactsSnapshot, WorkbookExternalWorkbookReferenceSnapshot, WorkbookUnsupportedFormulaDependencySnapshot, WorkbookUnsupportedPivotSnapshot } from './workbook-pivot-types.js';
|
|
5
|
+
export type { CellBorderSidePatch, CellBorderSideSnapshot, CellBorderStyle, CellBorderWeight, CellDateStyle, CellHorizontalAlignment, CellNumberFormatInput, CellNumberFormatKind, CellNumberFormatPreset, CellNumberFormatRecord, CellNumberNegativeStyle, CellNumberZeroStyle, CellStyleAlignmentPatch, CellStyleAlignmentSnapshot, CellStyleBordersPatch, CellStyleBordersSnapshot, CellStyleField, CellStyleFillPatch, CellStyleFillSnapshot, CellStyleFontPatch, CellStyleFontSnapshot, CellStylePatch, CellStyleProtectionSnapshot, CellStyleRecord, CellVerticalAlignment, } from './cell-format-types.js';
|
|
6
|
+
export { CELL_BORDER_STYLE_VALUES, CELL_BORDER_WEIGHT_VALUES, CELL_DATE_STYLE_VALUES, CELL_HORIZONTAL_ALIGNMENT_VALUES, CELL_NUMBER_FORMAT_KIND_VALUES, CELL_NUMBER_NEGATIVE_STYLE_VALUES, CELL_NUMBER_ZERO_STYLE_VALUES, CELL_STYLE_FIELD_VALUES, CELL_VERTICAL_ALIGNMENT_VALUES, } from './cell-format-types.js';
|
|
4
7
|
export type { PivotAggregation, WorkbookExternalWorkbookReferenceSnapshot, WorkbookPivotArtifactsSnapshot, WorkbookPivotPackagePartSnapshot, WorkbookPivotSnapshot, WorkbookPivotValueSnapshot, WorkbookSheetPivotArtifactsSnapshot, WorkbookUnsupportedFormulaDependencySnapshot, WorkbookUnsupportedPivotSnapshot, } from './workbook-pivot-types.js';
|
|
5
8
|
export type CellIndex = number;
|
|
6
9
|
export type FormulaId = number;
|
|
@@ -355,112 +358,6 @@ export interface WorkbookSheetTabColorSnapshot {
|
|
|
355
358
|
}
|
|
356
359
|
export interface WorkbookMergeRangeSnapshot extends CellRangeRef {
|
|
357
360
|
}
|
|
358
|
-
export interface CellStyleFillSnapshot {
|
|
359
|
-
backgroundColor: string;
|
|
360
|
-
}
|
|
361
|
-
export interface CellStyleFontSnapshot {
|
|
362
|
-
family?: string;
|
|
363
|
-
size?: number;
|
|
364
|
-
bold?: boolean;
|
|
365
|
-
italic?: boolean;
|
|
366
|
-
underline?: boolean;
|
|
367
|
-
color?: string;
|
|
368
|
-
}
|
|
369
|
-
export type CellHorizontalAlignment = 'general' | 'left' | 'center' | 'right' | 'fill' | 'justify' | 'centerContinuous' | 'distributed';
|
|
370
|
-
export type CellVerticalAlignment = 'top' | 'middle' | 'bottom' | 'justify' | 'distributed';
|
|
371
|
-
export type CellBorderStyle = 'solid' | 'dashed' | 'dotted' | 'double';
|
|
372
|
-
export type CellBorderWeight = 'thin' | 'medium' | 'thick';
|
|
373
|
-
export interface CellStyleAlignmentSnapshot {
|
|
374
|
-
horizontal?: CellHorizontalAlignment;
|
|
375
|
-
vertical?: CellVerticalAlignment;
|
|
376
|
-
wrap?: boolean;
|
|
377
|
-
indent?: number;
|
|
378
|
-
shrinkToFit?: boolean;
|
|
379
|
-
readingOrder?: number;
|
|
380
|
-
textRotation?: number;
|
|
381
|
-
justifyLastLine?: boolean;
|
|
382
|
-
}
|
|
383
|
-
export interface CellBorderSideSnapshot {
|
|
384
|
-
style: CellBorderStyle;
|
|
385
|
-
weight: CellBorderWeight;
|
|
386
|
-
color: string;
|
|
387
|
-
}
|
|
388
|
-
export interface CellStyleBordersSnapshot {
|
|
389
|
-
top?: CellBorderSideSnapshot;
|
|
390
|
-
right?: CellBorderSideSnapshot;
|
|
391
|
-
bottom?: CellBorderSideSnapshot;
|
|
392
|
-
left?: CellBorderSideSnapshot;
|
|
393
|
-
}
|
|
394
|
-
export interface CellStyleProtectionSnapshot {
|
|
395
|
-
locked?: boolean;
|
|
396
|
-
hidden?: boolean;
|
|
397
|
-
}
|
|
398
|
-
export interface CellStyleRecord {
|
|
399
|
-
id: string;
|
|
400
|
-
fill?: CellStyleFillSnapshot;
|
|
401
|
-
font?: CellStyleFontSnapshot;
|
|
402
|
-
alignment?: CellStyleAlignmentSnapshot;
|
|
403
|
-
borders?: CellStyleBordersSnapshot;
|
|
404
|
-
protection?: CellStyleProtectionSnapshot;
|
|
405
|
-
}
|
|
406
|
-
export interface CellStyleFillPatch {
|
|
407
|
-
backgroundColor?: string | null;
|
|
408
|
-
}
|
|
409
|
-
export interface CellStyleFontPatch {
|
|
410
|
-
family?: string | null;
|
|
411
|
-
size?: number | null;
|
|
412
|
-
bold?: boolean | null;
|
|
413
|
-
italic?: boolean | null;
|
|
414
|
-
underline?: boolean | null;
|
|
415
|
-
color?: string | null;
|
|
416
|
-
}
|
|
417
|
-
export interface CellStyleAlignmentPatch {
|
|
418
|
-
horizontal?: CellHorizontalAlignment | null;
|
|
419
|
-
vertical?: CellVerticalAlignment | null;
|
|
420
|
-
wrap?: boolean | null;
|
|
421
|
-
indent?: number | null;
|
|
422
|
-
shrinkToFit?: boolean | null;
|
|
423
|
-
readingOrder?: number | null;
|
|
424
|
-
textRotation?: number | null;
|
|
425
|
-
justifyLastLine?: boolean | null;
|
|
426
|
-
}
|
|
427
|
-
export interface CellBorderSidePatch {
|
|
428
|
-
style?: CellBorderStyle | null;
|
|
429
|
-
weight?: CellBorderWeight | null;
|
|
430
|
-
color?: string | null;
|
|
431
|
-
}
|
|
432
|
-
export interface CellStyleBordersPatch {
|
|
433
|
-
top?: CellBorderSidePatch | null;
|
|
434
|
-
right?: CellBorderSidePatch | null;
|
|
435
|
-
bottom?: CellBorderSidePatch | null;
|
|
436
|
-
left?: CellBorderSidePatch | null;
|
|
437
|
-
}
|
|
438
|
-
export interface CellStylePatch {
|
|
439
|
-
fill?: CellStyleFillPatch | null;
|
|
440
|
-
font?: CellStyleFontPatch | null;
|
|
441
|
-
alignment?: CellStyleAlignmentPatch | null;
|
|
442
|
-
borders?: CellStyleBordersPatch | null;
|
|
443
|
-
}
|
|
444
|
-
export type CellStyleField = 'backgroundColor' | 'fontFamily' | 'fontSize' | 'fontBold' | 'fontItalic' | 'fontUnderline' | 'fontColor' | 'alignmentHorizontal' | 'alignmentVertical' | 'alignmentWrap' | 'alignmentIndent' | 'alignmentShrinkToFit' | 'alignmentReadingOrder' | 'alignmentTextRotation' | 'alignmentJustifyLastLine' | 'borderTop' | 'borderRight' | 'borderBottom' | 'borderLeft';
|
|
445
|
-
export type CellNumberFormatKind = 'general' | 'number' | 'currency' | 'accounting' | 'percent' | 'date' | 'time' | 'datetime' | 'text';
|
|
446
|
-
export type CellNumberNegativeStyle = 'minus' | 'parentheses';
|
|
447
|
-
export type CellNumberZeroStyle = 'zero' | 'dash';
|
|
448
|
-
export type CellDateStyle = 'short' | 'iso';
|
|
449
|
-
export interface CellNumberFormatPreset {
|
|
450
|
-
kind: CellNumberFormatKind;
|
|
451
|
-
currency?: string;
|
|
452
|
-
decimals?: number;
|
|
453
|
-
useGrouping?: boolean;
|
|
454
|
-
negativeStyle?: CellNumberNegativeStyle;
|
|
455
|
-
zeroStyle?: CellNumberZeroStyle;
|
|
456
|
-
dateStyle?: CellDateStyle;
|
|
457
|
-
}
|
|
458
|
-
export type CellNumberFormatInput = string | CellNumberFormatPreset;
|
|
459
|
-
export interface CellNumberFormatRecord {
|
|
460
|
-
id: string;
|
|
461
|
-
code: string;
|
|
462
|
-
kind: CellNumberFormatKind;
|
|
463
|
-
}
|
|
464
361
|
export interface SheetStyleRangeSnapshot {
|
|
465
362
|
range: CellRangeRef;
|
|
466
363
|
styleId: string;
|
package/dist/types.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ErrorCode } from './enums.js';
|
|
2
|
+
export { CELL_BORDER_STYLE_VALUES, CELL_BORDER_WEIGHT_VALUES, CELL_DATE_STYLE_VALUES, CELL_HORIZONTAL_ALIGNMENT_VALUES, CELL_NUMBER_FORMAT_KIND_VALUES, CELL_NUMBER_NEGATIVE_STYLE_VALUES, CELL_NUMBER_ZERO_STYLE_VALUES, CELL_STYLE_FIELD_VALUES, CELL_VERTICAL_ALIGNMENT_VALUES, } from './cell-format-types.js';
|
|
2
3
|
export function formatErrorCode(code) {
|
|
3
4
|
switch (code) {
|
|
4
5
|
case ErrorCode.None:
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmC,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmC,MAAM,YAAY,CAAA;AAoDvE,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,gCAAgC,EAChC,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC7B,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,wBAAwB,CAAA;AA4B/B,MAAM,UAAU,eAAe,CAAC,IAAe;IAC7C,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,SAAS,CAAC,IAAI;YACjB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,IAAI;YACjB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,GAAG;YAChB,OAAO,OAAO,CAAA;QAChB,KAAK,SAAS,CAAC,KAAK;YAClB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,IAAI;YACjB,OAAO,QAAQ,CAAA;QACjB,KAAK,SAAS,CAAC,EAAE;YACf,OAAO,MAAM,CAAA;QACf,KAAK,SAAS,CAAC,KAAK;YAClB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,KAAK;YAClB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,OAAO;YACpB,OAAO,WAAW,CAAA;QACpB;YACE,OAAO,SAAS,CAAA;IACpB,CAAC;AACH,CAAC"}
|