@odoo/o-spreadsheet 14.0.1 → 14.0.2
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/o_spreadsheet.cjs.js +17836 -0
- package/dist/o_spreadsheet.d.ts +4102 -0
- package/dist/o_spreadsheet.esm.js +17801 -0
- package/dist/o_spreadsheet.iife.js +17838 -0
- package/dist/o_spreadsheet.iife.min.js +1440 -0
- package/package.json +27 -7
- package/readme.md +10 -0
- package/.eslintrc.json +0 -20
- package/.husky/post-checkout +0 -9
- package/.husky/pre-commit +0 -39
- package/.prettierignore +0 -1
- package/astToFormula.patch +0 -0
- package/demo/data.js +0 -255
- package/demo/index.html +0 -9
- package/demo/libs/Chart.bundle.js +0 -20755
- package/demo/main.js +0 -101
- package/doc/readme.md +0 -46
- package/rollup.config.js +0 -23
- package/src/base_plugin.ts +0 -102
- package/src/components/autofill.ts +0 -146
- package/src/components/bottom_bar.ts +0 -199
- package/src/components/color_picker.ts +0 -150
- package/src/components/composer/autocomplete_dropdown.ts +0 -135
- package/src/components/composer/composer.ts +0 -487
- package/src/components/composer/content_editable_helper.ts +0 -146
- package/src/components/figures/chart.ts +0 -70
- package/src/components/figures/container.ts +0 -268
- package/src/components/figures/text_figure.ts +0 -36
- package/src/components/grid.ts +0 -635
- package/src/components/helpers/dom_helpers.ts +0 -7
- package/src/components/helpers/drag_and_drop.ts +0 -17
- package/src/components/icons.ts +0 -36
- package/src/components/index.ts +0 -1
- package/src/components/menu.ts +0 -288
- package/src/components/overlay.ts +0 -457
- package/src/components/scrollbar.ts +0 -22
- package/src/components/selection_input.ts +0 -168
- package/src/components/side_panel/cell_is_rule_editor.ts +0 -169
- package/src/components/side_panel/chart_panel.ts +0 -104
- package/src/components/side_panel/color_scale_rule_editor.ts +0 -145
- package/src/components/side_panel/conditional_formatting.ts +0 -396
- package/src/components/side_panel/side_panel.ts +0 -127
- package/src/components/side_panel/translations_terms.ts +0 -45
- package/src/components/spreadsheet.ts +0 -198
- package/src/components/top_bar.ts +0 -535
- package/src/constants.ts +0 -26
- package/src/data.ts +0 -149
- package/src/fonts.ts +0 -41
- package/src/formulas/compiler.ts +0 -258
- package/src/formulas/composer_tokenizer.ts +0 -70
- package/src/formulas/index.ts +0 -15
- package/src/formulas/normalize.ts +0 -52
- package/src/formulas/parser.ts +0 -280
- package/src/formulas/range_tokenizer.ts +0 -97
- package/src/formulas/tokenizer.ts +0 -242
- package/src/functions/arguments.ts +0 -114
- package/src/functions/dates.ts +0 -302
- package/src/functions/helpers.ts +0 -592
- package/src/functions/index.ts +0 -52
- package/src/functions/module_database.ts +0 -282
- package/src/functions/module_date.ts +0 -743
- package/src/functions/module_info.ts +0 -69
- package/src/functions/module_logical.ts +0 -208
- package/src/functions/module_lookup.ts +0 -185
- package/src/functions/module_math.ts +0 -1252
- package/src/functions/module_operators.ts +0 -291
- package/src/functions/module_statistical.ts +0 -882
- package/src/functions/module_text.ts +0 -370
- package/src/helpers/color.ts +0 -30
- package/src/helpers/coordinates.ts +0 -71
- package/src/helpers/grid_manipulation.ts +0 -68
- package/src/helpers/index.ts +0 -7
- package/src/helpers/misc.ts +0 -76
- package/src/helpers/numbers.ts +0 -117
- package/src/helpers/uuid.ts +0 -19
- package/src/helpers/zones.ts +0 -263
- package/src/history.ts +0 -186
- package/src/index.ts +0 -84
- package/src/model.ts +0 -261
- package/src/plugins/autofill.ts +0 -412
- package/src/plugins/chart.ts +0 -404
- package/src/plugins/clipboard.ts +0 -461
- package/src/plugins/conditional_format.ts +0 -445
- package/src/plugins/core.ts +0 -1502
- package/src/plugins/edition.ts +0 -157
- package/src/plugins/evaluation.ts +0 -428
- package/src/plugins/figures.ts +0 -123
- package/src/plugins/formatting.ts +0 -630
- package/src/plugins/highlight.ts +0 -187
- package/src/plugins/index.ts +0 -32
- package/src/plugins/merge.ts +0 -524
- package/src/plugins/renderer.ts +0 -571
- package/src/plugins/selection.ts +0 -562
- package/src/plugins/selection_inputs.ts +0 -326
- package/src/registries/autofill_modifiers.ts +0 -76
- package/src/registries/autofill_rules.ts +0 -98
- package/src/registries/figure_registry.ts +0 -30
- package/src/registries/index.ts +0 -7
- package/src/registries/menu_items_registry.ts +0 -110
- package/src/registries/menus/cell_menu_registry.ts +0 -79
- package/src/registries/menus/col_menu_registry.ts +0 -63
- package/src/registries/menus/index.ts +0 -6
- package/src/registries/menus/menu_items_actions.ts +0 -425
- package/src/registries/menus/row_menu_registry.ts +0 -63
- package/src/registries/menus/sheet_menu_registry.ts +0 -75
- package/src/registries/menus/topbar_menu_registry.ts +0 -204
- package/src/registries/side_panel_registry.ts +0 -26
- package/src/registries/topbar_component_registry.ts +0 -12
- package/src/registry.ts +0 -51
- package/src/translation.ts +0 -44
- package/src/types/autofill.ts +0 -48
- package/src/types/chart.ts +0 -26
- package/src/types/commands.ts +0 -716
- package/src/types/conditional_formatting.ts +0 -124
- package/src/types/env.ts +0 -13
- package/src/types/functions.ts +0 -35
- package/src/types/getters.ts +0 -103
- package/src/types/index.ts +0 -20
- package/src/types/misc.ts +0 -143
- package/src/types/rendering.ts +0 -41
- package/src/types/workbook_data.ts +0 -62
- package/tests/__mocks__/uuid.ts +0 -7
- package/tests/canvas.mock.ts +0 -34
- package/tests/components/__mocks__/content_editable_helper.ts +0 -79
- package/tests/components/__mocks__/scrollbar.ts +0 -18
- package/tests/components/__snapshots__/autocomplete_dropdown_test.ts.snap +0 -29
- package/tests/components/__snapshots__/bottom_bar_test.ts.snap +0 -75
- package/tests/components/__snapshots__/context_menu_test.ts.snap +0 -88
- package/tests/components/__snapshots__/grid_test.ts.snap +0 -60
- package/tests/components/__snapshots__/spreadsheet_test.ts.snap +0 -455
- package/tests/components/__snapshots__/top_bar_test.ts.snap +0 -705
- package/tests/components/autocomplete_dropdown_test.ts +0 -315
- package/tests/components/autofill_test.ts +0 -167
- package/tests/components/bottom_bar_test.ts +0 -262
- package/tests/components/chart_side_panel_test.ts +0 -123
- package/tests/components/composer_test.ts +0 -400
- package/tests/components/context_menu_test.ts +0 -825
- package/tests/components/grid_manipulation_test.ts +0 -163
- package/tests/components/grid_test.ts +0 -581
- package/tests/components/overlay_test.ts +0 -541
- package/tests/components/selection_input_test.ts +0 -259
- package/tests/components/side_panel_test.ts +0 -148
- package/tests/components/spreadsheet_test.ts +0 -194
- package/tests/components/top_bar_test.ts +0 -427
- package/tests/data_test.ts +0 -175
- package/tests/dom_helper.ts +0 -42
- package/tests/formulas/__snapshots__/compiler_test.ts.snap +0 -302
- package/tests/formulas/compiler_test.ts +0 -266
- package/tests/formulas/composer_tokenizer_test.ts +0 -137
- package/tests/formulas/expressions_test.ts +0 -57
- package/tests/formulas/formulas_test.ts +0 -80
- package/tests/formulas/normalize_test.ts +0 -82
- package/tests/formulas/parser_test.ts +0 -224
- package/tests/formulas/range_tokenizer_test.ts +0 -187
- package/tests/formulas/tokenizer_test.ts +0 -164
- package/tests/functions/arguments_test.ts +0 -141
- package/tests/functions/dates_test.ts +0 -1081
- package/tests/functions/functions_test.ts +0 -53
- package/tests/functions/helper_test.ts +0 -98
- package/tests/functions/module_database_test.ts +0 -311
- package/tests/functions/module_date_test.ts +0 -941
- package/tests/functions/module_info_test.ts +0 -139
- package/tests/functions/module_logical_test.ts +0 -369
- package/tests/functions/module_lookup_test.ts +0 -541
- package/tests/functions/module_math_test.ts +0 -2482
- package/tests/functions/module_operators_test.ts +0 -955
- package/tests/functions/module_statistical_test.ts +0 -2014
- package/tests/functions/module_text_test.ts +0 -667
- package/tests/helpers/coordinates_test.ts +0 -25
- package/tests/helpers/misc_test.ts +0 -95
- package/tests/helpers/numbers_test.ts +0 -196
- package/tests/helpers/zones_test.ts +0 -97
- package/tests/helpers.ts +0 -384
- package/tests/menu_items_registry_test.ts +0 -540
- package/tests/model/plugins/__snapshots__/chart_test.ts.snap +0 -90
- package/tests/model/plugins/chart_test.ts +0 -562
- package/tests/model_test.ts +0 -82
- package/tests/plugins/__snapshots__/conditional_formatting_test.ts.snap +0 -131
- package/tests/plugins/__snapshots__/renderer_test.ts.snap +0 -371
- package/tests/plugins/autofill_test.ts +0 -457
- package/tests/plugins/borders_test.ts +0 -295
- package/tests/plugins/clipboard_test.ts +0 -1180
- package/tests/plugins/conditional_formatting_test.ts +0 -1253
- package/tests/plugins/core_test.ts +0 -614
- package/tests/plugins/edition_test.ts +0 -100
- package/tests/plugins/evaluation_async_test.ts +0 -332
- package/tests/plugins/evaluation_dates_test.ts +0 -79
- package/tests/plugins/evaluation_test.ts +0 -901
- package/tests/plugins/figures_test.ts +0 -327
- package/tests/plugins/formatting_test.ts +0 -391
- package/tests/plugins/grid_manipulation_test.ts +0 -1366
- package/tests/plugins/highlight_test.ts +0 -413
- package/tests/plugins/history_test.ts +0 -142
- package/tests/plugins/import_export_test.ts +0 -276
- package/tests/plugins/merges_test.ts +0 -490
- package/tests/plugins/navigation_test.ts +0 -181
- package/tests/plugins/plugins/evaluation_test.ts +0 -111
- package/tests/plugins/renderer_test.ts +0 -598
- package/tests/plugins/resizing_test.ts +0 -152
- package/tests/plugins/selection_input_test.ts +0 -409
- package/tests/plugins/selection_test.ts +0 -442
- package/tests/plugins/sheets_test.ts +0 -643
- package/tests/plugins/style_test.ts +0 -90
- package/tsconfig.json +0 -22
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Functions autocomplete autocomplete simple snapshot with =S 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
class="o-autocomplete-dropdown"
|
|
6
|
-
>
|
|
7
|
-
<div
|
|
8
|
-
class="o-autocomplete-value-focus"
|
|
9
|
-
>
|
|
10
|
-
<div
|
|
11
|
-
class="o-autocomplete-value"
|
|
12
|
-
>
|
|
13
|
-
SUM
|
|
14
|
-
</div>
|
|
15
|
-
<div
|
|
16
|
-
class="o-autocomplete-description"
|
|
17
|
-
>
|
|
18
|
-
do sum
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
<div>
|
|
22
|
-
<div
|
|
23
|
-
class="o-autocomplete-value"
|
|
24
|
-
>
|
|
25
|
-
SZZ
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
`;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`BottomBar component simple rendering 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
class="o-spreadsheet-bottom-bar"
|
|
6
|
-
>
|
|
7
|
-
<div
|
|
8
|
-
class="o-sheet-item o-add-sheet"
|
|
9
|
-
>
|
|
10
|
-
<svg
|
|
11
|
-
class="o-icon"
|
|
12
|
-
>
|
|
13
|
-
<path
|
|
14
|
-
d="M8,0 L10,0 L10,8 L18,8 L18,10 L10,10 L10,18 L8,18 L8,10 L0,10 L0,8 L8,8"
|
|
15
|
-
fill="#000000"
|
|
16
|
-
/>
|
|
17
|
-
</svg>
|
|
18
|
-
</div>
|
|
19
|
-
<div
|
|
20
|
-
class="o-sheet-item o-list-sheets"
|
|
21
|
-
>
|
|
22
|
-
<svg
|
|
23
|
-
class="o-icon"
|
|
24
|
-
viewBox="0 0 384 384"
|
|
25
|
-
>
|
|
26
|
-
<rect
|
|
27
|
-
height="42.667"
|
|
28
|
-
width="384"
|
|
29
|
-
x="0"
|
|
30
|
-
y="277.333"
|
|
31
|
-
/>
|
|
32
|
-
<rect
|
|
33
|
-
height="42.667"
|
|
34
|
-
width="384"
|
|
35
|
-
x="0"
|
|
36
|
-
y="170.667"
|
|
37
|
-
/>
|
|
38
|
-
<rect
|
|
39
|
-
height="42.667"
|
|
40
|
-
width="384"
|
|
41
|
-
x="0"
|
|
42
|
-
y="64"
|
|
43
|
-
/>
|
|
44
|
-
</svg>
|
|
45
|
-
</div>
|
|
46
|
-
<div
|
|
47
|
-
class="o-all-sheets"
|
|
48
|
-
>
|
|
49
|
-
<div
|
|
50
|
-
class="o-sheet-item o-sheet active"
|
|
51
|
-
data-id="1"
|
|
52
|
-
title="Sheet1"
|
|
53
|
-
>
|
|
54
|
-
<span
|
|
55
|
-
class="o-sheet-name"
|
|
56
|
-
>
|
|
57
|
-
Sheet1
|
|
58
|
-
</span>
|
|
59
|
-
<span
|
|
60
|
-
class="o-sheet-icon"
|
|
61
|
-
>
|
|
62
|
-
<svg
|
|
63
|
-
class="o-icon"
|
|
64
|
-
>
|
|
65
|
-
<polygon
|
|
66
|
-
fill="#000000"
|
|
67
|
-
points="0 0 4 4 8 0"
|
|
68
|
-
transform="translate(5 7)"
|
|
69
|
-
/>
|
|
70
|
-
</svg>
|
|
71
|
-
</span>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
`;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Context Menu context menu simple rendering 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
class="o-menu"
|
|
6
|
-
style="top:200px;left:300px;max-height:1000px"
|
|
7
|
-
>
|
|
8
|
-
<div
|
|
9
|
-
class="o-menu-item"
|
|
10
|
-
data-name="cut"
|
|
11
|
-
title="Cut"
|
|
12
|
-
>
|
|
13
|
-
Cut
|
|
14
|
-
</div>
|
|
15
|
-
<div
|
|
16
|
-
class="o-menu-item"
|
|
17
|
-
data-name="copy"
|
|
18
|
-
title="Copy"
|
|
19
|
-
>
|
|
20
|
-
Copy
|
|
21
|
-
</div>
|
|
22
|
-
<div
|
|
23
|
-
class="o-menu-item"
|
|
24
|
-
data-name="paste"
|
|
25
|
-
title="Paste"
|
|
26
|
-
>
|
|
27
|
-
Paste
|
|
28
|
-
</div>
|
|
29
|
-
<div
|
|
30
|
-
class="o-menu-item o-menu-root o-separator"
|
|
31
|
-
data-name="paste_special"
|
|
32
|
-
title="Paste special"
|
|
33
|
-
>
|
|
34
|
-
Paste special
|
|
35
|
-
<svg
|
|
36
|
-
class="o-icon"
|
|
37
|
-
>
|
|
38
|
-
<polygon
|
|
39
|
-
fill="#000000"
|
|
40
|
-
points="0 0 4 4 0 8"
|
|
41
|
-
transform="translate(5 5)"
|
|
42
|
-
/>
|
|
43
|
-
</svg>
|
|
44
|
-
</div>
|
|
45
|
-
<div
|
|
46
|
-
class="o-menu-item"
|
|
47
|
-
data-name="add_row_before"
|
|
48
|
-
title="Insert row"
|
|
49
|
-
>
|
|
50
|
-
Insert row
|
|
51
|
-
</div>
|
|
52
|
-
<div
|
|
53
|
-
class="o-menu-item o-separator"
|
|
54
|
-
data-name="add_column_before"
|
|
55
|
-
title="Insert column"
|
|
56
|
-
>
|
|
57
|
-
Insert column
|
|
58
|
-
</div>
|
|
59
|
-
<div
|
|
60
|
-
class="o-menu-item"
|
|
61
|
-
data-name="delete_row"
|
|
62
|
-
title="Delete row 8"
|
|
63
|
-
>
|
|
64
|
-
Delete row 8
|
|
65
|
-
</div>
|
|
66
|
-
<div
|
|
67
|
-
class="o-menu-item o-separator"
|
|
68
|
-
data-name="delete_column"
|
|
69
|
-
title="Delete column C"
|
|
70
|
-
>
|
|
71
|
-
Delete column C
|
|
72
|
-
</div>
|
|
73
|
-
<div
|
|
74
|
-
class="o-menu-item disabled"
|
|
75
|
-
data-name="clear_cell"
|
|
76
|
-
title="Clear cell"
|
|
77
|
-
>
|
|
78
|
-
Clear cell
|
|
79
|
-
</div>
|
|
80
|
-
<div
|
|
81
|
-
class="o-menu-item"
|
|
82
|
-
data-name="conditional_formatting"
|
|
83
|
-
title="Conditional formatting"
|
|
84
|
-
>
|
|
85
|
-
Conditional formatting
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
`;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Grid component simple rendering snapshot 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
class="o-grid"
|
|
6
|
-
>
|
|
7
|
-
<canvas
|
|
8
|
-
height="985"
|
|
9
|
-
style="width:985px;height:985px;"
|
|
10
|
-
tabindex="-1"
|
|
11
|
-
width="985"
|
|
12
|
-
/>
|
|
13
|
-
<div
|
|
14
|
-
class="o-autofill"
|
|
15
|
-
style="top:45px;left:140px"
|
|
16
|
-
>
|
|
17
|
-
<div
|
|
18
|
-
class="o-autofill-handler"
|
|
19
|
-
style="top:0px;left:0px;"
|
|
20
|
-
/>
|
|
21
|
-
</div>
|
|
22
|
-
<div
|
|
23
|
-
class="o-overlay"
|
|
24
|
-
>
|
|
25
|
-
<div
|
|
26
|
-
class="o-col-resizer"
|
|
27
|
-
/>
|
|
28
|
-
<div
|
|
29
|
-
class="o-row-resizer"
|
|
30
|
-
/>
|
|
31
|
-
<div
|
|
32
|
-
class="all"
|
|
33
|
-
/>
|
|
34
|
-
</div>
|
|
35
|
-
<div />
|
|
36
|
-
<div
|
|
37
|
-
class="o-scrollbar vertical"
|
|
38
|
-
>
|
|
39
|
-
<div
|
|
40
|
-
style="width:1px;height:2328px"
|
|
41
|
-
/>
|
|
42
|
-
</div>
|
|
43
|
-
<div
|
|
44
|
-
class="o-scrollbar horizontal"
|
|
45
|
-
>
|
|
46
|
-
<div
|
|
47
|
-
style="height:1px;width:2592px"
|
|
48
|
-
/>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
`;
|
|
52
|
-
|
|
53
|
-
exports[`error tooltip can display error tooltip 1`] = `
|
|
54
|
-
<div
|
|
55
|
-
class="o-error-tooltip"
|
|
56
|
-
style="left:336px;top:187px"
|
|
57
|
-
>
|
|
58
|
-
Function DIVIDE parameter 2 cannot be zero.
|
|
59
|
-
</div>
|
|
60
|
-
`;
|
|
@@ -1,455 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Spreadsheet simple rendering snapshot 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
class="o-spreadsheet"
|
|
6
|
-
>
|
|
7
|
-
<div
|
|
8
|
-
class="o-spreadsheet-topbar o-two-columns"
|
|
9
|
-
>
|
|
10
|
-
<div
|
|
11
|
-
class="o-topbar-top"
|
|
12
|
-
>
|
|
13
|
-
<!-- Menus -->
|
|
14
|
-
<div
|
|
15
|
-
class="o-topbar-topleft"
|
|
16
|
-
>
|
|
17
|
-
<div
|
|
18
|
-
class="o-topbar-menu"
|
|
19
|
-
data-id="file"
|
|
20
|
-
>
|
|
21
|
-
File
|
|
22
|
-
</div>
|
|
23
|
-
<div
|
|
24
|
-
class="o-topbar-menu"
|
|
25
|
-
data-id="edit"
|
|
26
|
-
>
|
|
27
|
-
Edit
|
|
28
|
-
</div>
|
|
29
|
-
<div
|
|
30
|
-
class="o-topbar-menu"
|
|
31
|
-
data-id="view"
|
|
32
|
-
>
|
|
33
|
-
View
|
|
34
|
-
</div>
|
|
35
|
-
<div
|
|
36
|
-
class="o-topbar-menu"
|
|
37
|
-
data-id="insert"
|
|
38
|
-
>
|
|
39
|
-
Insert
|
|
40
|
-
</div>
|
|
41
|
-
<div
|
|
42
|
-
class="o-topbar-menu"
|
|
43
|
-
data-id="format"
|
|
44
|
-
>
|
|
45
|
-
Format
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div
|
|
49
|
-
class="o-topbar-topright"
|
|
50
|
-
/>
|
|
51
|
-
</div>
|
|
52
|
-
<!-- Toolbar and Cell Content -->
|
|
53
|
-
<div
|
|
54
|
-
class="o-topbar-toolbar"
|
|
55
|
-
>
|
|
56
|
-
<!-- Toolbar -->
|
|
57
|
-
<div
|
|
58
|
-
class="o-toolbar-tools"
|
|
59
|
-
>
|
|
60
|
-
<div
|
|
61
|
-
class="o-tool o-disabled"
|
|
62
|
-
title="Undo"
|
|
63
|
-
>
|
|
64
|
-
<svg
|
|
65
|
-
class="o-icon"
|
|
66
|
-
>
|
|
67
|
-
<path
|
|
68
|
-
d="M11.5656391,4.43436088 L9,7 L16,7 L16,0 L13.0418424,2.95815758 C11.5936787,1.73635959 9.72260775,1 7.67955083,1 C4.22126258,1 1.25575599,3.10984908 0,6 L2,7 C2.93658775,4.60974406 5.12943697,3.08011229 7.67955083,3 C9.14881247,3.0528747 10.4994783,3.57862053 11.5656391,4.43436088 Z"
|
|
69
|
-
fill="#000000"
|
|
70
|
-
transform="matrix(-1 0 0 1 17 5)"
|
|
71
|
-
/>
|
|
72
|
-
</svg>
|
|
73
|
-
</div>
|
|
74
|
-
<div
|
|
75
|
-
class="o-tool o-disabled"
|
|
76
|
-
title="Redo"
|
|
77
|
-
>
|
|
78
|
-
<svg
|
|
79
|
-
class="o-icon"
|
|
80
|
-
>
|
|
81
|
-
<path
|
|
82
|
-
d="M11.5656391,4.43436088 L9,7 L16,7 L16,0 L13.0418424,2.95815758 C11.5936787,1.73635959 9.72260775,1 7.67955083,1 C4.22126258,1 1.25575599,3.10984908 0,6 L2,7 C2.93658775,4.60974406 5.12943697,3.08011229 7.67955083,3 C9.14881247,3.0528747 10.4994783,3.57862053 11.5656391,4.43436088 Z"
|
|
83
|
-
fill="#000000"
|
|
84
|
-
transform="translate(1 5)"
|
|
85
|
-
/>
|
|
86
|
-
</svg>
|
|
87
|
-
</div>
|
|
88
|
-
<div
|
|
89
|
-
class="o-tool"
|
|
90
|
-
title="Paint Format"
|
|
91
|
-
>
|
|
92
|
-
<svg
|
|
93
|
-
class="o-icon"
|
|
94
|
-
>
|
|
95
|
-
<path
|
|
96
|
-
d="M9,0 L1,0 C0.45,0 0,0.45 0,1 L0,4 C0,4.55 0.45,5 1,5 L9,5 C9.55,5 10,4.55 10,4 L10,3 L11,3 L11,6 L4,6 L4,14 L6,14 L6,8 L13,8 L13,2 L10,2 L10,1 C10,0.45 9.55,0 9,0 Z"
|
|
97
|
-
fill="#000000"
|
|
98
|
-
transform="translate(3 2)"
|
|
99
|
-
/>
|
|
100
|
-
</svg>
|
|
101
|
-
</div>
|
|
102
|
-
<div
|
|
103
|
-
class="o-tool"
|
|
104
|
-
title="Clear Format"
|
|
105
|
-
>
|
|
106
|
-
<svg
|
|
107
|
-
class="o-icon"
|
|
108
|
-
>
|
|
109
|
-
<path
|
|
110
|
-
d="M0.27,1.55 L5.43,6.7 L3,12 L5.5,12 L7.14,8.42 L11.73,13 L13,11.73 L1.55,0.27 L0.27,1.55 L0.27,1.55 Z M3.82,0 L5.82,2 L7.58,2 L7.03,3.21 L8.74,4.92 L10.08,2 L14,2 L14,0 L3.82,0 L3.82,0 Z"
|
|
111
|
-
fill="#000000"
|
|
112
|
-
transform="translate(2 3)"
|
|
113
|
-
/>
|
|
114
|
-
</svg>
|
|
115
|
-
</div>
|
|
116
|
-
<div
|
|
117
|
-
class="o-divider"
|
|
118
|
-
/>
|
|
119
|
-
<div
|
|
120
|
-
class="o-tool"
|
|
121
|
-
title="Format as percent"
|
|
122
|
-
>
|
|
123
|
-
%
|
|
124
|
-
</div>
|
|
125
|
-
<div
|
|
126
|
-
class="o-tool"
|
|
127
|
-
title="Decrease decimal places"
|
|
128
|
-
>
|
|
129
|
-
.0
|
|
130
|
-
</div>
|
|
131
|
-
<div
|
|
132
|
-
class="o-tool"
|
|
133
|
-
title="Increase decimal places"
|
|
134
|
-
>
|
|
135
|
-
.00
|
|
136
|
-
</div>
|
|
137
|
-
<div
|
|
138
|
-
class="o-tool o-dropdown"
|
|
139
|
-
title="More formats"
|
|
140
|
-
>
|
|
141
|
-
<div
|
|
142
|
-
class="o-text-icon"
|
|
143
|
-
>
|
|
144
|
-
123
|
|
145
|
-
<svg
|
|
146
|
-
class="o-icon"
|
|
147
|
-
>
|
|
148
|
-
<polygon
|
|
149
|
-
fill="#000000"
|
|
150
|
-
points="0 0 4 4 8 0"
|
|
151
|
-
transform="translate(5 7)"
|
|
152
|
-
/>
|
|
153
|
-
</svg>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
<div
|
|
157
|
-
class="o-divider"
|
|
158
|
-
/>
|
|
159
|
-
<!-- <div class="o-tool" title="Font"><span>Roboto</span> <svg class="o-icon"><polygon fill="#000000" points="0 0 4 4 8 0" transform="translate(5 7)"/></svg></div> -->
|
|
160
|
-
<div
|
|
161
|
-
class="o-tool o-dropdown"
|
|
162
|
-
title="Font Size"
|
|
163
|
-
>
|
|
164
|
-
<div
|
|
165
|
-
class="o-text-icon"
|
|
166
|
-
>
|
|
167
|
-
10
|
|
168
|
-
|
|
169
|
-
<svg
|
|
170
|
-
class="o-icon"
|
|
171
|
-
>
|
|
172
|
-
<polygon
|
|
173
|
-
fill="#000000"
|
|
174
|
-
points="0 0 4 4 8 0"
|
|
175
|
-
transform="translate(5 7)"
|
|
176
|
-
/>
|
|
177
|
-
</svg>
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
<div
|
|
181
|
-
class="o-divider"
|
|
182
|
-
/>
|
|
183
|
-
<div
|
|
184
|
-
class="o-tool"
|
|
185
|
-
title="Bold"
|
|
186
|
-
>
|
|
187
|
-
<svg
|
|
188
|
-
class="o-icon"
|
|
189
|
-
>
|
|
190
|
-
<path
|
|
191
|
-
d="M9,3.5 C9,1.57 7.43,0 5.5,0 L1.77635684e-15,0 L1.77635684e-15,12 L6.25,12 C8.04,12 9.5,10.54 9.5,8.75 C9.5,7.45 8.73,6.34 7.63,5.82 C8.46,5.24 9,4.38 9,3.5 Z M5,2 C5.82999992,2 6.5,2.67 6.5,3.5 C6.5,4.33 5.82999992,5 5,5 L3,5 L3,2 L5,2 Z M3,10 L3,7 L5.5,7 C6.32999992,7 7,7.67 7,8.5 C7,9.33 6.32999992,10 5.5,10 L3,10 Z"
|
|
192
|
-
fill="#000000"
|
|
193
|
-
fill-rule="evenodd"
|
|
194
|
-
transform="translate(4 3)"
|
|
195
|
-
/>
|
|
196
|
-
</svg>
|
|
197
|
-
</div>
|
|
198
|
-
<div
|
|
199
|
-
class="o-tool"
|
|
200
|
-
title="Italic"
|
|
201
|
-
>
|
|
202
|
-
<svg
|
|
203
|
-
class="o-icon"
|
|
204
|
-
>
|
|
205
|
-
<polygon
|
|
206
|
-
fill="#000000"
|
|
207
|
-
fill-rule="evenodd"
|
|
208
|
-
points="4 0 4 2 6.58 2 2.92 10 0 10 0 12 8 12 8 10 5.42 10 9.08 2 12 2 12 0"
|
|
209
|
-
transform="translate(3 3)"
|
|
210
|
-
/>
|
|
211
|
-
</svg>
|
|
212
|
-
</div>
|
|
213
|
-
<div
|
|
214
|
-
class="o-tool"
|
|
215
|
-
title="Strikethrough"
|
|
216
|
-
>
|
|
217
|
-
<svg
|
|
218
|
-
class="o-icon"
|
|
219
|
-
>
|
|
220
|
-
<path
|
|
221
|
-
d="M2.8875,3.06 C2.8875,2.6025 2.985,2.18625 3.18375,1.8075 C3.3825,1.42875 3.66,1.10625 4.02,0.84 C4.38,0.57375 4.80375,0.3675 5.29875,0.22125 C5.79375,0.075 6.33375,0 6.92625,0 C7.53375,0 8.085,0.0825 8.58,0.25125 C9.075,0.42 9.49875,0.6525 9.85125,0.95625 C10.20375,1.25625 10.47375,1.6125 10.665,2.02875 C10.85625,2.44125 10.95,2.895 10.95,3.38625 L8.6925,3.38625 C8.6925,3.1575 8.655,2.94375 8.58375,2.74875 C8.5125,2.55 8.4,2.38125 8.25,2.2425 C8.1,2.10375 7.9125,1.99125 7.6875,1.91625 C7.4625,1.8375 7.19625,1.8 6.88875,1.8 C6.5925,1.8 6.3375,1.83375 6.11625,1.8975 C5.89875,1.96125 5.71875,2.05125 5.57625,2.1675 C5.43375,2.28375 5.325,2.41875 5.25375,2.5725 C5.1825,2.72625 5.145,2.895 5.145,3.0675 C5.145,3.4275 5.32875,3.73125 5.69625,3.975 C5.71780203,3.98908066 5.73942012,4.00311728 5.76118357,4.01733315 C6.02342923,4.18863185 6.5,4.5 7,5 L4,5 C4,5 3.21375,4.37625 3.17625,4.30875 C2.985,3.9525 2.8875,3.53625 2.8875,3.06 Z M14,6 L0,6 L0,8 L7.21875,8 C7.35375,8.0525 7.51875,8.105 7.63125,8.15375 C7.90875,8.2775 8.12625,8.40875 8.28375,8.53625 C8.44125,8.6675 8.54625,8.81 8.6025,8.96 C8.65875,9.11375 8.685,9.28625 8.685,9.47375 C8.685,9.65 8.65125,9.815 8.58375,9.965 C8.51625,10.11875 8.41125,10.25 8.2725,10.35875 C8.13375,10.4675 7.95375,10.55375 7.74,10.6175 C7.5225,10.68125 7.27125,10.71125 6.97875,10.71125 C6.6525,10.71125 6.35625,10.6775 6.09,10.61375 C5.82375,10.55 5.59875,10.445 5.41125,10.3025 C5.22375,10.16 5.0775,9.9725 4.9725,9.74375 C4.8675,9.515 4.78125,9.17 4.78125,9 L2.55,9 C2.55,9.2525 2.61,9.6875 2.72625,10.025 C2.8425,10.3625 3.0075,10.66625 3.21375,10.9325 C3.42,11.19875 3.6675,11.4275 3.94875,11.6225 C4.23,11.8175 4.53375,11.9825 4.86375,12.11 C5.19375,12.24125 5.535,12.33875 5.89875,12.39875 C6.25875,12.4625 6.6225,12.4925 6.9825,12.4925 C7.5825,12.4925 8.13,12.425 8.6175,12.28625 C9.105,12.1475 9.525,11.94875 9.87,11.69375 C10.215,11.435 10.48125,11.12 10.6725,10.74125 C10.86375,10.3625 10.95375,9.935 10.95375,9.455 C10.95375,9.005 10.875,8.6 10.72125,8.24375 C10.68375,8.1575 10.6425,8.075 10.59375,7.9925 L14,8 L14,6 Z"
|
|
222
|
-
fill="#010101"
|
|
223
|
-
fill-rule="evenodd"
|
|
224
|
-
transform="translate(2 3)"
|
|
225
|
-
/>
|
|
226
|
-
</svg>
|
|
227
|
-
</div>
|
|
228
|
-
<div
|
|
229
|
-
class="o-tool o-dropdown o-with-color"
|
|
230
|
-
>
|
|
231
|
-
<span
|
|
232
|
-
style="border-color:black"
|
|
233
|
-
title="Text Color"
|
|
234
|
-
>
|
|
235
|
-
<svg
|
|
236
|
-
class="o-icon"
|
|
237
|
-
>
|
|
238
|
-
<path
|
|
239
|
-
d="M7,0 L5,0 L0.5,12 L2.5,12 L3.62,9 L8.37,9 L9.49,12 L11.49,12 L7,0 L7,0 Z M4.38,7 L6,2.67 L7.62,7 L4.38,7 L4.38,7 Z"
|
|
240
|
-
fill="#000000"
|
|
241
|
-
transform="translate(3 1)"
|
|
242
|
-
/>
|
|
243
|
-
</svg>
|
|
244
|
-
</span>
|
|
245
|
-
</div>
|
|
246
|
-
<div
|
|
247
|
-
class="o-divider"
|
|
248
|
-
/>
|
|
249
|
-
<div
|
|
250
|
-
class="o-tool o-dropdown o-with-color"
|
|
251
|
-
>
|
|
252
|
-
<span
|
|
253
|
-
style="border-color:white"
|
|
254
|
-
title="Fill Color"
|
|
255
|
-
>
|
|
256
|
-
<svg
|
|
257
|
-
class="o-icon"
|
|
258
|
-
>
|
|
259
|
-
<path
|
|
260
|
-
d="M14.5,8.87 C14.5,8.87 13,10.49 13,11.49 C13,12.32 13.67,12.99 14.5,12.99 C15.33,12.99 16,12.32 16,11.49 C16,10.5 14.5,8.87 14.5,8.87 L14.5,8.87 Z M12.71,6.79 L5.91,0 L4.85,1.06 L6.44,2.65 L2.29,6.79 C1.9,7.18 1.9,7.81 2.29,8.2 L6.79,12.7 C6.99,12.9 7.24,13 7.5,13 C7.76,13 8.01,12.9 8.21,12.71 L12.71,8.21 C13.1,7.82 13.1,7.18 12.71,6.79 L12.71,6.79 Z M4.21,7 L7.5,3.71 L10.79,7 L4.21,7 L4.21,7 Z"
|
|
261
|
-
fill="#000000"
|
|
262
|
-
/>
|
|
263
|
-
</svg>
|
|
264
|
-
</span>
|
|
265
|
-
</div>
|
|
266
|
-
<div
|
|
267
|
-
class="o-tool o-dropdown"
|
|
268
|
-
>
|
|
269
|
-
<span
|
|
270
|
-
title="Borders"
|
|
271
|
-
>
|
|
272
|
-
<svg
|
|
273
|
-
class="o-icon"
|
|
274
|
-
>
|
|
275
|
-
<path
|
|
276
|
-
d="M0,0 L0,14 L14,14 L14,0 L0,0 L0,0 Z M6,12 L2,12 L2,8 L6,8 L6,12 L6,12 Z M6,6 L2,6 L2,2 L6,2 L6,6 L6,6 Z M12,12 L8,12 L8,8 L12,8 L12,12 L12,12 Z M12,6 L8,6 L8,2 L12,2 L12,6 L12,6 Z"
|
|
277
|
-
fill="#000000"
|
|
278
|
-
transform="translate(2 2)"
|
|
279
|
-
/>
|
|
280
|
-
</svg>
|
|
281
|
-
</span>
|
|
282
|
-
</div>
|
|
283
|
-
<div
|
|
284
|
-
class="o-tool o-disabled"
|
|
285
|
-
title="Merge Cells"
|
|
286
|
-
>
|
|
287
|
-
<svg
|
|
288
|
-
class="o-icon"
|
|
289
|
-
>
|
|
290
|
-
<path
|
|
291
|
-
d="M3,6 L1,6 L1,2 L8,2 L8,4 L3,4 L3,6 Z M10,4 L10,2 L17,2 L17,6 L15,6 L15,4 L10,4 Z M10,14 L15,14 L15,12 L17,12 L17,16 L10,16 L10,14 Z M1,12 L3,12 L3,14 L8,14 L8,16 L1,16 L1,12 Z M1,8 L5,8 L5,6 L8,9 L5,12 L5,10 L1,10 L1,8 Z M10,9 L13,6 L13,8 L17,8 L17,10 L13,10 L13,12 L10,9 Z"
|
|
292
|
-
fill="#000000"
|
|
293
|
-
/>
|
|
294
|
-
</svg>
|
|
295
|
-
</div>
|
|
296
|
-
<div
|
|
297
|
-
class="o-divider"
|
|
298
|
-
/>
|
|
299
|
-
<div
|
|
300
|
-
class="o-tool o-dropdown"
|
|
301
|
-
title="Horizontal align"
|
|
302
|
-
>
|
|
303
|
-
<span>
|
|
304
|
-
<svg
|
|
305
|
-
class="o-icon"
|
|
306
|
-
>
|
|
307
|
-
<path
|
|
308
|
-
d="M0,14 L10,14 L10,12 L0,12 L0,14 Z M10,4 L0,4 L0,6 L10,6 L10,4 Z M0,0 L0,2 L14,2 L14,0 L0,0 Z M0,10 L14,10 L14,8 L0,8 L0,10 Z"
|
|
309
|
-
fill="#000000"
|
|
310
|
-
transform="translate(2 2)"
|
|
311
|
-
/>
|
|
312
|
-
</svg>
|
|
313
|
-
<svg
|
|
314
|
-
class="o-icon"
|
|
315
|
-
>
|
|
316
|
-
<polygon
|
|
317
|
-
fill="#000000"
|
|
318
|
-
points="0 0 4 4 8 0"
|
|
319
|
-
transform="translate(5 7)"
|
|
320
|
-
/>
|
|
321
|
-
</svg>
|
|
322
|
-
</span>
|
|
323
|
-
</div>
|
|
324
|
-
<!-- <div class="o-tool" title="Vertical align"><span><svg class="o-icon"><path fill="#000000" d="M9.5,3 L7,3 L7,0 L5,0 L5,3 L2.5,3 L6,6.5 L9.5,3 L9.5,3 Z M0,8 L0,10 L12,10 L12,8 L0,8 L0,8 Z M2.5,15 L5,15 L5,18 L7,18 L7,15 L9.5,15 L6,11.5 L2.5,15 L2.5,15 Z" transform="translate(3)"/></svg></span> <svg class="o-icon"><polygon fill="#000000" points="0 0 4 4 8 0" transform="translate(5 7)"/></svg></div> -->
|
|
325
|
-
<!-- <div class="o-tool" title="Text Wrapping"><svg class="o-icon"><path fill="#000000" d="M14,0 L0,0 L0,2 L14,2 L14,0 Z M0,12 L4,12 L4,10 L0,10 L0,12 Z M11.5,5 L0,5 L0,7 L11.75,7 C12.58,7 13.25,7.67 13.25,8.5 C13.25,9.33 12.58,10 11.75,10 L9,10 L9,8 L6,11 L9,14 L9,12 L11.5,12 C13.43,12 15,10.43 15,8.5 C15,6.57 13.43,5 11.5,5 Z" transform="translate(2 3)"/></svg></div> -->
|
|
326
|
-
<div
|
|
327
|
-
class="o-divider"
|
|
328
|
-
/>
|
|
329
|
-
</div>
|
|
330
|
-
<!-- Cell content -->
|
|
331
|
-
<div
|
|
332
|
-
class="o-toolbar-cell-content"
|
|
333
|
-
/>
|
|
334
|
-
</div>
|
|
335
|
-
</div>
|
|
336
|
-
<div
|
|
337
|
-
class="o-grid o-two-columns"
|
|
338
|
-
>
|
|
339
|
-
<canvas
|
|
340
|
-
height="150"
|
|
341
|
-
style="width:-15px;height:-15px;"
|
|
342
|
-
tabindex="-1"
|
|
343
|
-
width="300"
|
|
344
|
-
/>
|
|
345
|
-
<div
|
|
346
|
-
class="o-autofill"
|
|
347
|
-
style="top:45px;left:140px"
|
|
348
|
-
>
|
|
349
|
-
<div
|
|
350
|
-
class="o-autofill-handler"
|
|
351
|
-
style="top:0px;left:0px;"
|
|
352
|
-
/>
|
|
353
|
-
</div>
|
|
354
|
-
<div
|
|
355
|
-
class="o-overlay"
|
|
356
|
-
>
|
|
357
|
-
<div
|
|
358
|
-
class="o-col-resizer"
|
|
359
|
-
/>
|
|
360
|
-
<div
|
|
361
|
-
class="o-row-resizer"
|
|
362
|
-
/>
|
|
363
|
-
<div
|
|
364
|
-
class="all"
|
|
365
|
-
/>
|
|
366
|
-
</div>
|
|
367
|
-
<div />
|
|
368
|
-
<div
|
|
369
|
-
class="o-scrollbar vertical"
|
|
370
|
-
>
|
|
371
|
-
<div
|
|
372
|
-
style="width:1px;height:2328px"
|
|
373
|
-
/>
|
|
374
|
-
</div>
|
|
375
|
-
<div
|
|
376
|
-
class="o-scrollbar horizontal"
|
|
377
|
-
>
|
|
378
|
-
<div
|
|
379
|
-
style="height:1px;width:2592px"
|
|
380
|
-
/>
|
|
381
|
-
</div>
|
|
382
|
-
</div>
|
|
383
|
-
<div
|
|
384
|
-
class="o-spreadsheet-bottom-bar o-two-columns"
|
|
385
|
-
>
|
|
386
|
-
<div
|
|
387
|
-
class="o-sheet-item o-add-sheet"
|
|
388
|
-
>
|
|
389
|
-
<svg
|
|
390
|
-
class="o-icon"
|
|
391
|
-
>
|
|
392
|
-
<path
|
|
393
|
-
d="M8,0 L10,0 L10,8 L18,8 L18,10 L10,10 L10,18 L8,18 L8,10 L0,10 L0,8 L8,8"
|
|
394
|
-
fill="#000000"
|
|
395
|
-
/>
|
|
396
|
-
</svg>
|
|
397
|
-
</div>
|
|
398
|
-
<div
|
|
399
|
-
class="o-sheet-item o-list-sheets"
|
|
400
|
-
>
|
|
401
|
-
<svg
|
|
402
|
-
class="o-icon"
|
|
403
|
-
viewBox="0 0 384 384"
|
|
404
|
-
>
|
|
405
|
-
<rect
|
|
406
|
-
height="42.667"
|
|
407
|
-
width="384"
|
|
408
|
-
x="0"
|
|
409
|
-
y="277.333"
|
|
410
|
-
/>
|
|
411
|
-
<rect
|
|
412
|
-
height="42.667"
|
|
413
|
-
width="384"
|
|
414
|
-
x="0"
|
|
415
|
-
y="170.667"
|
|
416
|
-
/>
|
|
417
|
-
<rect
|
|
418
|
-
height="42.667"
|
|
419
|
-
width="384"
|
|
420
|
-
x="0"
|
|
421
|
-
y="64"
|
|
422
|
-
/>
|
|
423
|
-
</svg>
|
|
424
|
-
</div>
|
|
425
|
-
<div
|
|
426
|
-
class="o-all-sheets"
|
|
427
|
-
>
|
|
428
|
-
<div
|
|
429
|
-
class="o-sheet-item o-sheet active"
|
|
430
|
-
data-id="1"
|
|
431
|
-
title="Sheet1"
|
|
432
|
-
>
|
|
433
|
-
<span
|
|
434
|
-
class="o-sheet-name"
|
|
435
|
-
>
|
|
436
|
-
Sheet1
|
|
437
|
-
</span>
|
|
438
|
-
<span
|
|
439
|
-
class="o-sheet-icon"
|
|
440
|
-
>
|
|
441
|
-
<svg
|
|
442
|
-
class="o-icon"
|
|
443
|
-
>
|
|
444
|
-
<polygon
|
|
445
|
-
fill="#000000"
|
|
446
|
-
points="0 0 4 4 8 0"
|
|
447
|
-
transform="translate(5 7)"
|
|
448
|
-
/>
|
|
449
|
-
</svg>
|
|
450
|
-
</span>
|
|
451
|
-
</div>
|
|
452
|
-
</div>
|
|
453
|
-
</div>
|
|
454
|
-
</div>
|
|
455
|
-
`;
|