logisheets 0.6.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 (120) hide show
  1. package/README.md +15 -0
  2. package/index.ts +1 -0
  3. package/package.json +31 -0
  4. package/src/api/index.ts +1 -0
  5. package/src/api/workbook.ts +201 -0
  6. package/src/bindings/action_effect.ts +17 -0
  7. package/src/bindings/async_func_result.ts +12 -0
  8. package/src/bindings/block_cell_id.ts +7 -0
  9. package/src/bindings/block_info.ts +9 -0
  10. package/src/bindings/block_input.ts +9 -0
  11. package/src/bindings/block_style_update.ts +10 -0
  12. package/src/bindings/border.ts +15 -0
  13. package/src/bindings/border_pr.ts +8 -0
  14. package/src/bindings/cell_alignment.ts +15 -0
  15. package/src/bindings/cell_formula_value.ts +9 -0
  16. package/src/bindings/cell_id.ts +7 -0
  17. package/src/bindings/cell_input.ts +9 -0
  18. package/src/bindings/cell_protection.ts +6 -0
  19. package/src/bindings/cell_style.ts +8 -0
  20. package/src/bindings/col_info.ts +7 -0
  21. package/src/bindings/color.ts +8 -0
  22. package/src/bindings/comment.ts +8 -0
  23. package/src/bindings/create_block.ts +15 -0
  24. package/src/bindings/create_sheet.ts +6 -0
  25. package/src/bindings/delete_cols.ts +7 -0
  26. package/src/bindings/delete_cols_in_block.ts +8 -0
  27. package/src/bindings/delete_rows.ts +7 -0
  28. package/src/bindings/delete_rows_in_block.ts +8 -0
  29. package/src/bindings/delete_sheet.ts +5 -0
  30. package/src/bindings/display_patch.ts +19 -0
  31. package/src/bindings/display_request.ts +6 -0
  32. package/src/bindings/display_response.ts +7 -0
  33. package/src/bindings/edit_action.ts +10 -0
  34. package/src/bindings/edit_payload.ts +47 -0
  35. package/src/bindings/fill.ts +7 -0
  36. package/src/bindings/font.ts +25 -0
  37. package/src/bindings/font_family.ts +5 -0
  38. package/src/bindings/font_name.ts +5 -0
  39. package/src/bindings/font_scheme.ts +6 -0
  40. package/src/bindings/gradient_fill.ts +13 -0
  41. package/src/bindings/gradient_stop.ts +7 -0
  42. package/src/bindings/index.ts +85 -0
  43. package/src/bindings/insert_cols.ts +7 -0
  44. package/src/bindings/insert_cols_in_block.ts +8 -0
  45. package/src/bindings/insert_rows.ts +7 -0
  46. package/src/bindings/insert_rows_in_block.ts +8 -0
  47. package/src/bindings/merge_cell.ts +8 -0
  48. package/src/bindings/move_block.ts +8 -0
  49. package/src/bindings/msg_edit.ts +9 -0
  50. package/src/bindings/msg_join.ts +9 -0
  51. package/src/bindings/msg_sequencer_action_invalid_message.ts +10 -0
  52. package/src/bindings/msg_sequencer_action_message.ts +10 -0
  53. package/src/bindings/msg_sequencer_init_workbook.ts +8 -0
  54. package/src/bindings/msg_sequencer_message.ts +9 -0
  55. package/src/bindings/msg_user_message.ts +7 -0
  56. package/src/bindings/normal_cell_id.ts +6 -0
  57. package/src/bindings/pattern_fill.ts +9 -0
  58. package/src/bindings/payloads_action.ts +15 -0
  59. package/src/bindings/recalc_cell.ts +7 -0
  60. package/src/bindings/remove_block.ts +6 -0
  61. package/src/bindings/row_info.ts +7 -0
  62. package/src/bindings/set_col_width.ts +7 -0
  63. package/src/bindings/set_row_height.ts +7 -0
  64. package/src/bindings/set_visible.ts +8 -0
  65. package/src/bindings/sheet_blocks.ts +7 -0
  66. package/src/bindings/sheet_col_info.ts +8 -0
  67. package/src/bindings/sheet_comments.ts +7 -0
  68. package/src/bindings/sheet_merge_cells.ts +7 -0
  69. package/src/bindings/sheet_names.ts +5 -0
  70. package/src/bindings/sheet_rename.ts +8 -0
  71. package/src/bindings/sheet_row_info.ts +8 -0
  72. package/src/bindings/sheet_styles.ts +7 -0
  73. package/src/bindings/sheet_values.ts +7 -0
  74. package/src/bindings/st_border_style.ts +17 -0
  75. package/src/bindings/st_font_scheme.ts +6 -0
  76. package/src/bindings/st_gradient_type.ts +6 -0
  77. package/src/bindings/st_horizontal_alignment.ts +12 -0
  78. package/src/bindings/st_pattern_type.ts +23 -0
  79. package/src/bindings/st_underline_values.ts +9 -0
  80. package/src/bindings/st_vertical_align_run.ts +7 -0
  81. package/src/bindings/st_vertical_alignment.ts +9 -0
  82. package/src/bindings/status_code.ts +5 -0
  83. package/src/bindings/style.ts +15 -0
  84. package/src/bindings/style_update.ts +9 -0
  85. package/src/bindings/style_update_type.ts +29 -0
  86. package/src/bindings/task.ts +6 -0
  87. package/src/bindings/underline_property.ts +6 -0
  88. package/src/bindings/value.ts +8 -0
  89. package/src/bindings/vertical_align_font_property.ts +6 -0
  90. package/src/bindings/workbook_file.ts +6 -0
  91. package/src/index.ts +42 -0
  92. package/src/payloads/block_input.ts +54 -0
  93. package/src/payloads/cell_input.ts +44 -0
  94. package/src/payloads/create_block.ts +78 -0
  95. package/src/payloads/delete_block_cols.ts +44 -0
  96. package/src/payloads/delete_block_rows.ts +44 -0
  97. package/src/payloads/delete_cols.ts +37 -0
  98. package/src/payloads/delete_rows.ts +37 -0
  99. package/src/payloads/delete_sheet.ts +19 -0
  100. package/src/payloads/index.ts +66 -0
  101. package/src/payloads/insert_block_cols.ts +44 -0
  102. package/src/payloads/insert_block_rows.ts +44 -0
  103. package/src/payloads/insert_cols.ts +35 -0
  104. package/src/payloads/insert_rows.ts +36 -0
  105. package/src/payloads/insert_sheet.ts +27 -0
  106. package/src/payloads/move_block.ts +45 -0
  107. package/src/payloads/set_border.ts +113 -0
  108. package/src/payloads/set_col_visible.ts +35 -0
  109. package/src/payloads/set_col_width.ts +35 -0
  110. package/src/payloads/set_font.ts +107 -0
  111. package/src/payloads/set_row_height.ts +35 -0
  112. package/src/payloads/set_row_visible.ts +35 -0
  113. package/src/payloads/sheet_rename.ts +35 -0
  114. package/src/transactions.ts +14 -0
  115. package/wasm/.gitignore +1 -0
  116. package/wasm/logisheets_wasm_server.d.ts +255 -0
  117. package/wasm/logisheets_wasm_server.js +946 -0
  118. package/wasm/logisheets_wasm_server_bg.wasm +0 -0
  119. package/wasm/logisheets_wasm_server_bg.wasm.d.ts +40 -0
  120. package/wasm/package.json +14 -0
@@ -0,0 +1,13 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {GradientStop} from './gradient_stop'
3
+ import {StGradientType} from './st_gradient_type'
4
+
5
+ export interface GradientFill {
6
+ stops: readonly GradientStop[]
7
+ ty: StGradientType
8
+ degree: number
9
+ left: number
10
+ right: number
11
+ top: number
12
+ bottom: number
13
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {Color} from './color'
3
+
4
+ export interface GradientStop {
5
+ color: Color
6
+ position: number
7
+ }
@@ -0,0 +1,85 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ export * from './action_effect'
3
+ export * from './async_func_result'
4
+ export * from './block_cell_id'
5
+ export * from './block_info'
6
+ export * from './block_input'
7
+ export * from './block_style_update'
8
+ export * from './border'
9
+ export * from './border_pr'
10
+ export * from './cell_alignment'
11
+ export * from './cell_formula_value'
12
+ export * from './cell_id'
13
+ export * from './cell_input'
14
+ export * from './cell_protection'
15
+ export * from './cell_style'
16
+ export * from './col_info'
17
+ export * from './color'
18
+ export * from './comment'
19
+ export * from './create_block'
20
+ export * from './create_sheet'
21
+ export * from './delete_cols'
22
+ export * from './delete_cols_in_block'
23
+ export * from './delete_rows'
24
+ export * from './delete_rows_in_block'
25
+ export * from './delete_sheet'
26
+ export * from './display_patch'
27
+ export * from './display_request'
28
+ export * from './display_response'
29
+ export * from './edit_action'
30
+ export * from './edit_payload'
31
+ export * from './fill'
32
+ export * from './font'
33
+ export * from './font_family'
34
+ export * from './font_name'
35
+ export * from './font_scheme'
36
+ export * from './gradient_fill'
37
+ export * from './gradient_stop'
38
+ export * from './insert_cols'
39
+ export * from './insert_cols_in_block'
40
+ export * from './insert_rows'
41
+ export * from './insert_rows_in_block'
42
+ export * from './merge_cell'
43
+ export * from './move_block'
44
+ export * from './msg_edit'
45
+ export * from './msg_join'
46
+ export * from './msg_sequencer_action_invalid_message'
47
+ export * from './msg_sequencer_action_message'
48
+ export * from './msg_sequencer_init_workbook'
49
+ export * from './msg_sequencer_message'
50
+ export * from './msg_user_message'
51
+ export * from './normal_cell_id'
52
+ export * from './pattern_fill'
53
+ export * from './payloads_action'
54
+ export * from './recalc_cell'
55
+ export * from './remove_block'
56
+ export * from './row_info'
57
+ export * from './set_col_width'
58
+ export * from './set_row_height'
59
+ export * from './set_visible'
60
+ export * from './sheet_blocks'
61
+ export * from './sheet_col_info'
62
+ export * from './sheet_comments'
63
+ export * from './sheet_merge_cells'
64
+ export * from './sheet_names'
65
+ export * from './sheet_rename'
66
+ export * from './sheet_row_info'
67
+ export * from './sheet_styles'
68
+ export * from './sheet_values'
69
+ export * from './st_border_style'
70
+ export * from './st_font_scheme'
71
+ export * from './st_gradient_type'
72
+ export * from './st_horizontal_alignment'
73
+ export * from './st_pattern_type'
74
+ export * from './st_underline_values'
75
+ export * from './st_vertical_align_run'
76
+ export * from './st_vertical_alignment'
77
+ export * from './status_code'
78
+ export * from './style'
79
+ export * from './style_update'
80
+ export * from './style_update_type'
81
+ export * from './task'
82
+ export * from './underline_property'
83
+ export * from './value'
84
+ export * from './vertical_align_font_property'
85
+ export * from './workbook_file'
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface InsertCols {
4
+ sheetIdx: number
5
+ start: number
6
+ count: number
7
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface InsertColsInBlock {
4
+ sheetIdx: number
5
+ blockId: number
6
+ start: number
7
+ cnt: number
8
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface InsertRows {
4
+ sheetIdx: number
5
+ start: number
6
+ count: number
7
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface InsertRowsInBlock {
4
+ sheetIdx: number
5
+ blockId: number
6
+ start: number
7
+ cnt: number
8
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface MergeCell {
4
+ rowStart: number
5
+ colStart: number
6
+ rowEnd: number
7
+ colEnd: number
8
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface MoveBlock {
4
+ sheetIdx: number
5
+ id: number
6
+ newMasterRow: number
7
+ newMasterCol: number
8
+ }
@@ -0,0 +1,9 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {EditAction} from './edit_action'
3
+
4
+ export interface Edit {
5
+ version: number
6
+ file: string
7
+ user: string
8
+ action: EditAction
9
+ }
@@ -0,0 +1,9 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {WorkbookFile} from './workbook_file'
3
+
4
+ // Join to edit the file.
5
+ export interface Join {
6
+ file: string
7
+ user: string
8
+ wbFile?: WorkbookFile
9
+ }
@@ -0,0 +1,10 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // If users' action is conflicted with others', this action will not be executed
4
+ // and this message will be sent to this user only.
5
+ export interface SequencerActionInvalidMessage {
6
+ version: number
7
+ userId: string
8
+ fileId: string
9
+ reason: string
10
+ }
@@ -0,0 +1,10 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {EditAction} from './edit_action'
3
+
4
+ // Users will receive this message to update its local file.
5
+ export interface SequencerActionMessage {
6
+ version: number
7
+ userId: string
8
+ fileId: string
9
+ action: EditAction
10
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // The reponse message for users' `Join` message.
4
+ export interface SequencerInitWorkbook {
5
+ version: number
6
+ fileId: string
7
+ data?: Uint8Array
8
+ }
@@ -0,0 +1,9 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {SequencerActionInvalidMessage} from './msg_sequencer_action_invalid_message'
3
+ import {SequencerActionMessage} from './msg_sequencer_action_message'
4
+ import {SequencerInitWorkbook} from './msg_sequencer_init_workbook'
5
+
6
+ export type SequencerMessage =
7
+ | {invalidAction: SequencerActionInvalidMessage}
8
+ | {action: SequencerActionMessage}
9
+ | {join: SequencerInitWorkbook}
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {Edit} from './msg_edit'
3
+ import {Join} from './msg_join'
4
+
5
+ export type UserMessage =
6
+ | {join: Join}
7
+ | {edit: Edit}
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface NormalCellId {
4
+ row: number
5
+ col: number
6
+ }
@@ -0,0 +1,9 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {Color} from './color'
3
+ import {StPatternType} from './st_pattern_type'
4
+
5
+ export interface PatternFill {
6
+ fgColor?: Color
7
+ bgColor?: Color
8
+ patternType?: StPatternType
9
+ }
@@ -0,0 +1,15 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {EditPayload} from './edit_payload'
3
+
4
+ // A `PayloadsAction` contains one or more `EditPayload`.
5
+ // These `EditPayload`s will be withdrawn at the same time if user undo it.
6
+ // And if one of the payload is failed to be executed, this `EditAction` will
7
+ // not do anything at all.
8
+ //
9
+ // An `EditPayload` represents an atomic update of a workbook and they will be
10
+ // executed in sequence. That means it is a totally different result between
11
+ // updating a cell at B4 before inserting and after inserting.
12
+ export interface PayloadsAction {
13
+ payloads: readonly EditPayload[]
14
+ undoable: boolean
15
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {CellId} from './cell_id'
3
+
4
+ export interface RecalcCell {
5
+ sheetId: number
6
+ cellId: CellId
7
+ }
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface RemoveBlock {
4
+ sheetIdx: number
5
+ id: number
6
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface RowInfo {
4
+ idx: number
5
+ height: number
6
+ hidden: boolean
7
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface SetColWidth {
4
+ sheetIdx: number
5
+ col: number
6
+ width: number
7
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface SetRowHeight {
4
+ sheetIdx: number
5
+ row: number
6
+ height: number
7
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface SetVisible {
4
+ isRow: boolean
5
+ sheetIdx: number
6
+ start: number
7
+ visible: boolean
8
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {BlockInfo} from './block_info'
3
+
4
+ export interface SheetBlocks {
5
+ sheetIdx: number
6
+ blocks: readonly BlockInfo[]
7
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {ColInfo} from './col_info'
3
+
4
+ export interface SheetColInfo {
5
+ sheetIdx: number
6
+ info: readonly ColInfo[]
7
+ defaultWidth: number
8
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {Comment} from './comment'
3
+
4
+ export interface SheetComments {
5
+ sheetIdx: number
6
+ comments: readonly Comment[]
7
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {MergeCell} from './merge_cell'
3
+
4
+ export interface SheetMergeCells {
5
+ sheetIdx: number
6
+ mergeCells: readonly MergeCell[]
7
+ }
@@ -0,0 +1,5 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface SheetNames {
4
+ names: readonly string[]
5
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // Find a sheet by its name and rename it. If no sheet is found, do nothing.
4
+ export interface SheetRename {
5
+ oldName?: string
6
+ idx?: number
7
+ newName: string
8
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {RowInfo} from './row_info'
3
+
4
+ export interface SheetRowInfo {
5
+ sheetIdx: number
6
+ info: readonly RowInfo[]
7
+ defaultHeight: number
8
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {CellStyle} from './cell_style'
3
+
4
+ export interface SheetStyles {
5
+ sheetIdx: number
6
+ styles: readonly CellStyle[]
7
+ }
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {CellFormulaValue} from './cell_formula_value'
3
+
4
+ export interface SheetValues {
5
+ sheetIdx: number
6
+ values: readonly CellFormulaValue[]
7
+ }
@@ -0,0 +1,17 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export type StBorderStyle =
4
+ | 'none'
5
+ | 'thin'
6
+ | 'medium'
7
+ | 'dashed'
8
+ | 'dotted'
9
+ | 'thick'
10
+ | 'double'
11
+ | 'hair'
12
+ | 'mediumDashed'
13
+ | 'dashDot'
14
+ | 'mediumDashDot'
15
+ | 'dashDotDot'
16
+ | 'mediumDashDotDot'
17
+ | 'slantDashDot'
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export type StFontScheme =
4
+ | 'none'
5
+ | 'major'
6
+ | 'minor'
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // 18.18.37
4
+ export type StGradientType =
5
+ | 'linear'
6
+ | 'path'
@@ -0,0 +1,12 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // 18.18.40
4
+ export type StHorizontalAlignment =
5
+ | 'general'
6
+ | 'left'
7
+ | 'center'
8
+ | 'right'
9
+ | 'fill'
10
+ | 'justify'
11
+ | 'centerContinuous'
12
+ | 'distributed'
@@ -0,0 +1,23 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // 18.18.55
4
+ export type StPatternType =
5
+ | 'none'
6
+ | 'solid'
7
+ | 'mediumGray'
8
+ | 'darkGray'
9
+ | 'lightGray'
10
+ | 'darkHorizontal'
11
+ | 'darkVertical'
12
+ | 'darkDown'
13
+ | 'darkUp'
14
+ | 'darkGrid'
15
+ | 'darkTrellis'
16
+ | 'lightHorizontal'
17
+ | 'lightVertical'
18
+ | 'lightDown'
19
+ | 'lightUp'
20
+ | 'lightGrid'
21
+ | 'lightTrellis'
22
+ | 'gray125'
23
+ | 'gray0625'
@@ -0,0 +1,9 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // 18.18.85
4
+ export type StUnderlineValues =
5
+ | 'single'
6
+ | 'double'
7
+ | 'singleAccounting'
8
+ | 'doubleAccounting'
9
+ | 'none'
@@ -0,0 +1,7 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // 18.18.92
4
+ export type StVerticalAlignRun =
5
+ | 'baseline'
6
+ | 'superscript'
7
+ | 'subscript'
@@ -0,0 +1,9 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ // 18.18.88
4
+ export type StVerticalAlignment =
5
+ | 'top'
6
+ | 'center'
7
+ | 'bottom'
8
+ | 'justify'
9
+ | 'distributed'
@@ -0,0 +1,5 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export type StatusCode =
4
+ | {ok: boolean}
5
+ | {err: number}
@@ -0,0 +1,15 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {Border} from './border'
3
+ import {CtCellAlignment} from './cell_alignment'
4
+ import {CtCellProtection} from './cell_protection'
5
+ import {Fill} from './fill'
6
+ import {Font} from './font'
7
+
8
+ export interface Style {
9
+ font: Font
10
+ fill: Fill
11
+ border: Border
12
+ alignment?: CtCellAlignment
13
+ protection?: CtCellProtection
14
+ formatter: string
15
+ }
@@ -0,0 +1,9 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {StyleUpdateType} from './style_update_type'
3
+
4
+ export interface StyleUpdate {
5
+ sheetIdx: number
6
+ row: number
7
+ col: number
8
+ ty: StyleUpdateType
9
+ }
@@ -0,0 +1,29 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {PatternFill} from './pattern_fill'
3
+ import {StBorderStyle} from './st_border_style'
4
+ import {StUnderlineValues} from './st_underline_values'
5
+
6
+ export interface StyleUpdateType {
7
+ setFontBold?: boolean
8
+ setFontItalic?: boolean
9
+ setFontUnderline?: StUnderlineValues
10
+ setFontColor?: string
11
+ setFontSize?: number
12
+ setFontName?: string
13
+ setFontOutline?: boolean
14
+ setFontShadow?: boolean
15
+ setFontStrike?: boolean
16
+ setFontCondense?: boolean
17
+ setLeftBorderColor?: string
18
+ setRightBorderColor?: string
19
+ setTopBorderColor?: string
20
+ setBottomBorderColor?: string
21
+ setLeftBorderStyle?: StBorderStyle
22
+ setRightBorderStyle?: StBorderStyle
23
+ setTopBorderStyle?: StBorderStyle
24
+ setBottomBorderStyle?: StBorderStyle
25
+ setBorderGiagonalUp?: boolean
26
+ setBorderGiagonalDown?: boolean
27
+ setBorderOutline?: boolean
28
+ setPatternFill?: PatternFill
29
+ }
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface Task {
4
+ asyncFunc: string
5
+ args: readonly string[]
6
+ }
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {StUnderlineValues} from './st_underline_values'
3
+
4
+ export interface CtUnderlineProperty {
5
+ val: StUnderlineValues
6
+ }
@@ -0,0 +1,8 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export type Value =
4
+ | {str: string}
5
+ | {bool: boolean}
6
+ | {number: number}
7
+ | {error: string}
8
+ | 'empty'
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+ import {StVerticalAlignRun} from './st_vertical_align_run'
3
+
4
+ export interface CtVerticalAlignFontProperty {
5
+ val: StVerticalAlignRun
6
+ }
@@ -0,0 +1,6 @@
1
+ // DO NOT EDIT. CODE GENERATED BY gents.
2
+
3
+ export interface WorkbookFile {
4
+ data: Uint8Array
5
+ name: string
6
+ }