logisheets 0.7.0 → 0.8.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.
- package/dist/src/api/block_manager.d.ts +21 -0
- package/dist/src/api/block_manager.js +35 -0
- package/dist/src/api/calculator.d.ts +19 -0
- package/dist/src/api/calculator.js +46 -0
- package/dist/src/api/cell.d.ts +28 -0
- package/dist/src/api/cell.js +52 -0
- package/dist/src/api/index.d.ts +5 -0
- package/dist/src/api/index.js +3 -0
- package/dist/src/api/utils.d.ts +3 -1
- package/dist/src/api/utils.js +5 -0
- package/dist/src/api/workbook.d.ts +30 -8
- package/dist/src/api/workbook.js +161 -21
- package/dist/src/api/worksheet.d.ts +20 -12
- package/dist/src/api/worksheet.js +58 -20
- package/dist/src/bindings/alignment.d.ts +6 -0
- package/dist/src/bindings/alignment.js +1 -0
- package/dist/src/bindings/block_cell_id.d.ts +1 -1
- package/dist/src/bindings/cell_clear.d.ts +5 -0
- package/dist/src/bindings/cell_clear.js +2 -0
- package/dist/src/bindings/cell_format_brush.d.ts +10 -0
- package/dist/src/bindings/cell_format_brush.js +2 -0
- package/dist/src/bindings/cell_id.d.ts +5 -3
- package/dist/src/bindings/cell_info.d.ts +1 -0
- package/dist/src/bindings/cell_position.d.ts +4 -0
- package/dist/src/bindings/cell_position.js +2 -0
- package/dist/src/bindings/cell_style_update.d.ts +7 -0
- package/dist/src/bindings/cell_style_update.js +1 -0
- package/dist/src/bindings/display_window.d.ts +14 -0
- package/dist/src/bindings/display_window.js +1 -0
- package/dist/src/bindings/display_window_request.d.ts +7 -0
- package/dist/src/bindings/display_window_request.js +2 -0
- package/dist/src/bindings/display_window_with_start_point.d.ts +6 -0
- package/dist/src/bindings/display_window_with_start_point.js +1 -0
- package/dist/src/bindings/edit_action.d.ts +1 -1
- package/dist/src/bindings/edit_payload.d.ts +27 -3
- package/dist/src/bindings/ephemeral_cell_input.d.ts +5 -0
- package/dist/src/bindings/ephemeral_cell_input.js +2 -0
- package/dist/src/bindings/ephemeral_cell_style_update.d.ts +6 -0
- package/dist/src/bindings/ephemeral_cell_style_update.js +1 -0
- package/dist/src/bindings/fill.d.ts +1 -1
- package/dist/src/bindings/horizontal_alignment.d.ts +1 -0
- package/dist/src/bindings/horizontal_alignment.js +2 -0
- package/dist/src/bindings/index.d.ts +19 -17
- package/dist/src/bindings/index.js +19 -17
- package/dist/src/bindings/line_format_brush.d.ts +9 -0
- package/dist/src/bindings/line_format_brush.js +2 -0
- package/dist/src/bindings/line_style_update.d.ts +8 -0
- package/dist/src/bindings/line_style_update.js +1 -0
- package/dist/src/bindings/merge_cell.d.ts +4 -4
- package/dist/src/bindings/merge_cells.d.ts +7 -0
- package/dist/src/bindings/merge_cells.js +2 -0
- package/dist/src/bindings/msg_sequencer_message.d.ts +1 -1
- package/dist/src/bindings/msg_user_message.d.ts +1 -1
- package/dist/src/bindings/payloads_action.d.ts +1 -0
- package/dist/src/bindings/sheet_dimension.d.ts +6 -0
- package/dist/src/bindings/sheet_dimension.js +2 -0
- package/dist/src/bindings/sheet_info.d.ts +6 -0
- package/dist/src/bindings/sheet_info.js +2 -0
- package/dist/src/bindings/split_merged_cells.d.ts +5 -0
- package/dist/src/bindings/split_merged_cells.js +2 -0
- package/dist/src/bindings/st_border_style.d.ts +1 -1
- package/dist/src/bindings/st_font_scheme.d.ts +1 -1
- package/dist/src/bindings/st_gradient_type.d.ts +1 -1
- package/dist/src/bindings/st_pattern_type.d.ts +1 -1
- package/dist/src/bindings/st_underline_values.d.ts +1 -1
- package/dist/src/bindings/st_vertical_align_run.d.ts +1 -1
- package/dist/src/bindings/status_code.d.ts +3 -2
- package/dist/src/bindings/status_code.js +0 -1
- package/dist/src/bindings/style.d.ts +2 -2
- package/dist/src/bindings/style_update_type.d.ts +2 -0
- package/dist/src/bindings/value.d.ts +1 -1
- package/dist/src/bindings/vertical_alignment.d.ts +1 -0
- package/dist/src/bindings/vertical_alignment.js +2 -0
- package/dist/src/bindings/workbook_update_type.d.ts +1 -0
- package/dist/src/bindings/workbook_update_type.js +2 -0
- package/dist/src/client.d.ts +82 -0
- package/dist/src/client.js +1 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.js +1 -0
- package/dist/src/payloads/cell_clear.d.ts +15 -0
- package/dist/src/payloads/cell_clear.js +31 -0
- package/dist/src/payloads/cell_format_brush.d.ts +30 -0
- package/dist/src/payloads/cell_format_brush.js +71 -0
- package/dist/src/payloads/index.d.ts +28 -6
- package/dist/src/payloads/index.js +14 -3
- package/dist/src/payloads/line_format_brush.d.ts +27 -0
- package/dist/src/payloads/line_format_brush.js +63 -0
- package/dist/src/payloads/merge_cells.d.ts +21 -0
- package/dist/src/payloads/merge_cells.js +47 -0
- package/dist/src/payloads/set_cell_alignment.d.ts +19 -0
- package/dist/src/payloads/set_cell_alignment.js +39 -0
- package/dist/src/payloads/set_cell_border.d.ts +49 -0
- package/dist/src/payloads/set_cell_border.js +97 -0
- package/dist/src/payloads/set_cell_font.d.ts +46 -0
- package/dist/src/payloads/set_cell_font.js +91 -0
- package/dist/src/payloads/set_cell_pattern_fill.d.ts +25 -0
- package/dist/src/payloads/set_cell_pattern_fill.js +49 -0
- package/dist/src/payloads/set_line_alignment.d.ts +22 -0
- package/dist/src/payloads/set_line_alignment.js +47 -0
- package/dist/src/payloads/set_line_border.d.ts +49 -0
- package/dist/src/payloads/set_line_border.js +97 -0
- package/dist/src/payloads/set_line_font.d.ts +49 -0
- package/dist/src/payloads/set_line_font.js +99 -0
- package/dist/src/payloads/set_line_pattern_fill.d.ts +28 -0
- package/dist/src/payloads/set_line_pattern_fill.js +57 -0
- package/dist/src/payloads/split_merged_cells.d.ts +15 -0
- package/dist/src/payloads/split_merged_cells.js +31 -0
- package/dist/src/transactions.d.ts +9 -3
- package/dist/src/transactions.js +15 -4
- package/package.json +2 -2
- package/wasm/.gitignore +0 -1
- package/wasm/logisheets_wasm_server.d.ts +0 -255
- package/wasm/logisheets_wasm_server.js +0 -946
- package/wasm/logisheets_wasm_server_bg.wasm +0 -0
- package/wasm/logisheets_wasm_server_bg.wasm.d.ts +0 -40
- package/wasm/package.json +0 -14
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { BlockCellId } from './block_cell_id';
|
|
2
2
|
import { NormalCellId } from './normal_cell_id';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export type CellId = {
|
|
4
|
+
normalCell: NormalCellId;
|
|
5
5
|
} | {
|
|
6
|
-
|
|
6
|
+
blockCell: BlockCellId;
|
|
7
|
+
} | {
|
|
8
|
+
ephemeralCell: number;
|
|
7
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BlockInfo } from './block_info';
|
|
2
|
+
import { CellInfo } from './cell_info';
|
|
3
|
+
import { ColInfo } from './col_info';
|
|
4
|
+
import { Comment } from './comment';
|
|
5
|
+
import { MergeCell } from './merge_cell';
|
|
6
|
+
import { RowInfo } from './row_info';
|
|
7
|
+
export interface DisplayWindow {
|
|
8
|
+
cells: readonly CellInfo[];
|
|
9
|
+
rows: readonly RowInfo[];
|
|
10
|
+
cols: readonly ColInfo[];
|
|
11
|
+
comments: readonly Comment[];
|
|
12
|
+
mergeCells: readonly MergeCell[];
|
|
13
|
+
blocks: readonly BlockInfo[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PayloadsAction } from './payloads_action';
|
|
2
2
|
import { RecalcCell } from './recalc_cell';
|
|
3
|
-
export
|
|
3
|
+
export type EditAction = 'undo' | 'redo' | {
|
|
4
4
|
payloads: PayloadsAction;
|
|
5
5
|
} | {
|
|
6
6
|
recalc: readonly RecalcCell[];
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { BlockInput } from './block_input';
|
|
2
2
|
import { BlockStyleUpdate } from './block_style_update';
|
|
3
|
+
import { CellClear } from './cell_clear';
|
|
4
|
+
import { CellFormatBrush } from './cell_format_brush';
|
|
3
5
|
import { CellInput } from './cell_input';
|
|
6
|
+
import { CellStyleUpdate } from './cell_style_update';
|
|
4
7
|
import { CreateBlock } from './create_block';
|
|
5
8
|
import { CreateSheet } from './create_sheet';
|
|
6
9
|
import { DeleteColsInBlock } from './delete_cols_in_block';
|
|
@@ -8,18 +11,23 @@ import { DeleteCols } from './delete_cols';
|
|
|
8
11
|
import { DeleteRowsInBlock } from './delete_rows_in_block';
|
|
9
12
|
import { DeleteRows } from './delete_rows';
|
|
10
13
|
import { DeleteSheet } from './delete_sheet';
|
|
14
|
+
import { EphemeralCellInput } from './ephemeral_cell_input';
|
|
15
|
+
import { EphemeralCellStyleUpdate } from './ephemeral_cell_style_update';
|
|
11
16
|
import { InsertColsInBlock } from './insert_cols_in_block';
|
|
12
17
|
import { InsertCols } from './insert_cols';
|
|
13
18
|
import { InsertRowsInBlock } from './insert_rows_in_block';
|
|
14
19
|
import { InsertRows } from './insert_rows';
|
|
20
|
+
import { LineFormatBrush } from './line_format_brush';
|
|
21
|
+
import { LineStyleUpdate } from './line_style_update';
|
|
22
|
+
import { MergeCells } from './merge_cells';
|
|
15
23
|
import { MoveBlock } from './move_block';
|
|
16
24
|
import { RemoveBlock } from './remove_block';
|
|
17
25
|
import { SetColWidth } from './set_col_width';
|
|
18
26
|
import { SetRowHeight } from './set_row_height';
|
|
19
27
|
import { SetVisible } from './set_visible';
|
|
20
28
|
import { SheetRename } from './sheet_rename';
|
|
21
|
-
import {
|
|
22
|
-
export
|
|
29
|
+
import { SplitMergedCells } from './split_merged_cells';
|
|
30
|
+
export type EditPayload = {
|
|
23
31
|
blockInput: BlockInput;
|
|
24
32
|
} | {
|
|
25
33
|
moveBlock: MoveBlock;
|
|
@@ -28,17 +36,33 @@ export declare type EditPayload = {
|
|
|
28
36
|
} | {
|
|
29
37
|
createBlock: CreateBlock;
|
|
30
38
|
} | {
|
|
31
|
-
|
|
39
|
+
cellStyleUpdate: CellStyleUpdate;
|
|
40
|
+
} | {
|
|
41
|
+
ephemeralCellStyleUpdate: EphemeralCellStyleUpdate;
|
|
42
|
+
} | {
|
|
43
|
+
lineStyleUpdate: LineStyleUpdate;
|
|
32
44
|
} | {
|
|
33
45
|
blockStyleUpdate: BlockStyleUpdate;
|
|
46
|
+
} | {
|
|
47
|
+
cellFormatBrush: CellFormatBrush;
|
|
48
|
+
} | {
|
|
49
|
+
lineFormatBrush: LineFormatBrush;
|
|
34
50
|
} | {
|
|
35
51
|
cellInput: CellInput;
|
|
52
|
+
} | {
|
|
53
|
+
ephemeralCellInput: EphemeralCellInput;
|
|
54
|
+
} | {
|
|
55
|
+
cellClear: CellClear;
|
|
36
56
|
} | {
|
|
37
57
|
setColWidth: SetColWidth;
|
|
38
58
|
} | {
|
|
39
59
|
setRowHeight: SetRowHeight;
|
|
40
60
|
} | {
|
|
41
61
|
setVisible: SetVisible;
|
|
62
|
+
} | {
|
|
63
|
+
mergeCells: MergeCells;
|
|
64
|
+
} | {
|
|
65
|
+
splitMergedCells: SplitMergedCells;
|
|
42
66
|
} | {
|
|
43
67
|
sheetRename: SheetRename;
|
|
44
68
|
} | {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type HorizontalAlignment = 'general' | 'left' | 'center' | 'right' | 'fill' | 'justify' | 'centerContinuous' | 'distributed';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './action_effect';
|
|
2
|
+
export * from './alignment';
|
|
2
3
|
export * from './async_func_result';
|
|
3
4
|
export * from './block_cell_id';
|
|
4
5
|
export * from './block_info';
|
|
@@ -6,13 +7,14 @@ export * from './block_input';
|
|
|
6
7
|
export * from './block_style_update';
|
|
7
8
|
export * from './border';
|
|
8
9
|
export * from './border_pr';
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
10
|
+
export * from './cell_clear';
|
|
11
|
+
export * from './cell_format_brush';
|
|
11
12
|
export * from './cell_id';
|
|
12
13
|
export * from './cell_info';
|
|
13
14
|
export * from './cell_input';
|
|
15
|
+
export * from './cell_position';
|
|
14
16
|
export * from './cell_protection';
|
|
15
|
-
export * from './
|
|
17
|
+
export * from './cell_style_update';
|
|
16
18
|
export * from './col_info';
|
|
17
19
|
export * from './color';
|
|
18
20
|
export * from './comment';
|
|
@@ -23,11 +25,13 @@ export * from './delete_cols_in_block';
|
|
|
23
25
|
export * from './delete_rows';
|
|
24
26
|
export * from './delete_rows_in_block';
|
|
25
27
|
export * from './delete_sheet';
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
28
|
+
export * from './display_window';
|
|
29
|
+
export * from './display_window_request';
|
|
30
|
+
export * from './display_window_with_start_point';
|
|
29
31
|
export * from './edit_action';
|
|
30
32
|
export * from './edit_payload';
|
|
33
|
+
export * from './ephemeral_cell_input';
|
|
34
|
+
export * from './ephemeral_cell_style_update';
|
|
31
35
|
export * from './error_message';
|
|
32
36
|
export * from './fill';
|
|
33
37
|
export * from './font';
|
|
@@ -36,11 +40,15 @@ export * from './font_name';
|
|
|
36
40
|
export * from './font_scheme';
|
|
37
41
|
export * from './gradient_fill';
|
|
38
42
|
export * from './gradient_stop';
|
|
43
|
+
export * from './horizontal_alignment';
|
|
39
44
|
export * from './insert_cols';
|
|
40
45
|
export * from './insert_cols_in_block';
|
|
41
46
|
export * from './insert_rows';
|
|
42
47
|
export * from './insert_rows_in_block';
|
|
48
|
+
export * from './line_format_brush';
|
|
49
|
+
export * from './line_style_update';
|
|
43
50
|
export * from './merge_cell';
|
|
51
|
+
export * from './merge_cells';
|
|
44
52
|
export * from './move_block';
|
|
45
53
|
export * from './msg_edit';
|
|
46
54
|
export * from './msg_join';
|
|
@@ -58,29 +66,23 @@ export * from './row_info';
|
|
|
58
66
|
export * from './set_col_width';
|
|
59
67
|
export * from './set_row_height';
|
|
60
68
|
export * from './set_visible';
|
|
61
|
-
export * from './
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './sheet_comments';
|
|
64
|
-
export * from './sheet_merge_cells';
|
|
65
|
-
export * from './sheet_names';
|
|
69
|
+
export * from './sheet_dimension';
|
|
70
|
+
export * from './sheet_info';
|
|
66
71
|
export * from './sheet_rename';
|
|
67
|
-
export * from './
|
|
68
|
-
export * from './sheet_styles';
|
|
69
|
-
export * from './sheet_values';
|
|
72
|
+
export * from './split_merged_cells';
|
|
70
73
|
export * from './st_border_style';
|
|
71
74
|
export * from './st_font_scheme';
|
|
72
75
|
export * from './st_gradient_type';
|
|
73
|
-
export * from './st_horizontal_alignment';
|
|
74
76
|
export * from './st_pattern_type';
|
|
75
77
|
export * from './st_underline_values';
|
|
76
78
|
export * from './st_vertical_align_run';
|
|
77
|
-
export * from './st_vertical_alignment';
|
|
78
79
|
export * from './status_code';
|
|
79
80
|
export * from './style';
|
|
80
|
-
export * from './style_update';
|
|
81
81
|
export * from './style_update_type';
|
|
82
82
|
export * from './task';
|
|
83
83
|
export * from './underline_property';
|
|
84
84
|
export * from './value';
|
|
85
85
|
export * from './vertical_align_font_property';
|
|
86
|
+
export * from './vertical_alignment';
|
|
86
87
|
export * from './workbook_file';
|
|
88
|
+
export * from './workbook_update_type';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// DO NOT EDIT. CODE GENERATED BY gents.
|
|
2
2
|
export * from './action_effect';
|
|
3
|
+
export * from './alignment';
|
|
3
4
|
export * from './async_func_result';
|
|
4
5
|
export * from './block_cell_id';
|
|
5
6
|
export * from './block_info';
|
|
@@ -7,13 +8,14 @@ export * from './block_input';
|
|
|
7
8
|
export * from './block_style_update';
|
|
8
9
|
export * from './border';
|
|
9
10
|
export * from './border_pr';
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
11
|
+
export * from './cell_clear';
|
|
12
|
+
export * from './cell_format_brush';
|
|
12
13
|
export * from './cell_id';
|
|
13
14
|
export * from './cell_info';
|
|
14
15
|
export * from './cell_input';
|
|
16
|
+
export * from './cell_position';
|
|
15
17
|
export * from './cell_protection';
|
|
16
|
-
export * from './
|
|
18
|
+
export * from './cell_style_update';
|
|
17
19
|
export * from './col_info';
|
|
18
20
|
export * from './color';
|
|
19
21
|
export * from './comment';
|
|
@@ -24,11 +26,13 @@ export * from './delete_cols_in_block';
|
|
|
24
26
|
export * from './delete_rows';
|
|
25
27
|
export * from './delete_rows_in_block';
|
|
26
28
|
export * from './delete_sheet';
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
29
|
+
export * from './display_window';
|
|
30
|
+
export * from './display_window_request';
|
|
31
|
+
export * from './display_window_with_start_point';
|
|
30
32
|
export * from './edit_action';
|
|
31
33
|
export * from './edit_payload';
|
|
34
|
+
export * from './ephemeral_cell_input';
|
|
35
|
+
export * from './ephemeral_cell_style_update';
|
|
32
36
|
export * from './error_message';
|
|
33
37
|
export * from './fill';
|
|
34
38
|
export * from './font';
|
|
@@ -37,11 +41,15 @@ export * from './font_name';
|
|
|
37
41
|
export * from './font_scheme';
|
|
38
42
|
export * from './gradient_fill';
|
|
39
43
|
export * from './gradient_stop';
|
|
44
|
+
export * from './horizontal_alignment';
|
|
40
45
|
export * from './insert_cols';
|
|
41
46
|
export * from './insert_cols_in_block';
|
|
42
47
|
export * from './insert_rows';
|
|
43
48
|
export * from './insert_rows_in_block';
|
|
49
|
+
export * from './line_format_brush';
|
|
50
|
+
export * from './line_style_update';
|
|
44
51
|
export * from './merge_cell';
|
|
52
|
+
export * from './merge_cells';
|
|
45
53
|
export * from './move_block';
|
|
46
54
|
export * from './msg_edit';
|
|
47
55
|
export * from './msg_join';
|
|
@@ -59,29 +67,23 @@ export * from './row_info';
|
|
|
59
67
|
export * from './set_col_width';
|
|
60
68
|
export * from './set_row_height';
|
|
61
69
|
export * from './set_visible';
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './
|
|
64
|
-
export * from './sheet_comments';
|
|
65
|
-
export * from './sheet_merge_cells';
|
|
66
|
-
export * from './sheet_names';
|
|
70
|
+
export * from './sheet_dimension';
|
|
71
|
+
export * from './sheet_info';
|
|
67
72
|
export * from './sheet_rename';
|
|
68
|
-
export * from './
|
|
69
|
-
export * from './sheet_styles';
|
|
70
|
-
export * from './sheet_values';
|
|
73
|
+
export * from './split_merged_cells';
|
|
71
74
|
export * from './st_border_style';
|
|
72
75
|
export * from './st_font_scheme';
|
|
73
76
|
export * from './st_gradient_type';
|
|
74
|
-
export * from './st_horizontal_alignment';
|
|
75
77
|
export * from './st_pattern_type';
|
|
76
78
|
export * from './st_underline_values';
|
|
77
79
|
export * from './st_vertical_align_run';
|
|
78
|
-
export * from './st_vertical_alignment';
|
|
79
80
|
export * from './status_code';
|
|
80
81
|
export * from './style';
|
|
81
|
-
export * from './style_update';
|
|
82
82
|
export * from './style_update_type';
|
|
83
83
|
export * from './task';
|
|
84
84
|
export * from './underline_property';
|
|
85
85
|
export * from './value';
|
|
86
86
|
export * from './vertical_align_font_property';
|
|
87
|
+
export * from './vertical_alignment';
|
|
87
88
|
export * from './workbook_file';
|
|
89
|
+
export * from './workbook_update_type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SequencerActionInvalidMessage } from './msg_sequencer_action_invalid_message';
|
|
2
2
|
import { SequencerActionMessage } from './msg_sequencer_action_message';
|
|
3
3
|
import { SequencerInitWorkbook } from './msg_sequencer_init_workbook';
|
|
4
|
-
export
|
|
4
|
+
export type SequencerMessage = {
|
|
5
5
|
invalidAction: SequencerActionInvalidMessage;
|
|
6
6
|
} | {
|
|
7
7
|
action: SequencerActionMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StBorderStyle = 'none' | 'thin' | 'medium' | 'dashed' | 'dotted' | 'thick' | 'double' | 'hair' | 'mediumDashed' | 'dashDot' | 'mediumDashDot' | 'dashDotDot' | 'mediumDashDotDot' | 'slantDashDot';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StFontScheme = 'none' | 'major' | 'minor';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StGradientType = 'linear' | 'path';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StPatternType = 'none' | 'solid' | 'mediumGray' | 'darkGray' | 'lightGray' | 'darkHorizontal' | 'darkVertical' | 'darkDown' | 'darkUp' | 'darkGrid' | 'darkTrellis' | 'lightHorizontal' | 'lightVertical' | 'lightDown' | 'lightUp' | 'lightGrid' | 'lightTrellis' | 'gray125' | 'gray0625';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StUnderlineValues = 'single' | 'double' | 'singleAccounting' | 'doubleAccounting' | 'none';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StVerticalAlignRun = 'baseline' | 'superscript' | 'subscript';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Alignment } from './alignment';
|
|
1
2
|
import { Border } from './border';
|
|
2
|
-
import { CtCellAlignment } from './cell_alignment';
|
|
3
3
|
import { CtCellProtection } from './cell_protection';
|
|
4
4
|
import { Fill } from './fill';
|
|
5
5
|
import { Font } from './font';
|
|
@@ -7,7 +7,7 @@ export interface Style {
|
|
|
7
7
|
font: Font;
|
|
8
8
|
fill: Fill;
|
|
9
9
|
border: Border;
|
|
10
|
-
alignment?:
|
|
10
|
+
alignment?: Alignment;
|
|
11
11
|
protection?: CtCellProtection;
|
|
12
12
|
formatter: string;
|
|
13
13
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Alignment } from './alignment';
|
|
1
2
|
import { PatternFill } from './pattern_fill';
|
|
2
3
|
import { StBorderStyle } from './st_border_style';
|
|
3
4
|
import { StUnderlineValues } from './st_underline_values';
|
|
@@ -24,4 +25,5 @@ export interface StyleUpdateType {
|
|
|
24
25
|
setBorderGiagonalDown?: boolean;
|
|
25
26
|
setBorderOutline?: boolean;
|
|
26
27
|
setPatternFill?: PatternFill;
|
|
28
|
+
setAlignment?: Alignment;
|
|
27
29
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type VerticalAlignment = 'center' | 'top' | 'bottom' | 'justify' | 'distributed';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type WorkbookUpdateType = 'doNothing' | 'cell' | 'sheet' | 'sheetAndCell' | 'undoNothing' | 'redoNothing' | 'undo' | 'redo' | 'ephemeralCells';
|