[IMP] spreadsheet: update o_spreadsheet to latest version

### Contains the following commits:

https://github.com/odoo/o-spreadsheet/commit/3b0b6f16 [REL] 16.4.0-alpha.5
https://github.com/odoo/o-spreadsheet/commit/b90a1620 [FIX] Filters: fix filter id on sheet duplication Task: 3384840
https://github.com/odoo/o-spreadsheet/commit/d309d391 [REF] ot_tests: use TEST_COMMANDS for ot test files Task: 3383455
https://github.com/odoo/o-spreadsheet/commit/ed0141fd [FIX] sheet: duplicate sheet name problem when renaming
https://github.com/odoo/o-spreadsheet/commit/869050fc [FIX]  registries: inline non-shared registry actions
https://github.com/odoo/o-spreadsheet/commit/2c434b6e [IMP] functions: update XLOOKUP to return array Task: 3184778
https://github.com/odoo/o-spreadsheet/commit/214213eb [IMP] functions: add a bunch or array functions Task: 3184778
https://github.com/odoo/o-spreadsheet/commit/d74d48ae [FIX] autocomplete dropdown: mock functions for snapshot
https://github.com/odoo/o-spreadsheet/commit/3401c874 [FIX] toolbar: missing hover effect on font size editor Task: 3360143
https://github.com/odoo/o-spreadsheet/commit/f60f2ffe [IMP] composer: double click on range will select the whole range
https://github.com/odoo/o-spreadsheet/commit/187d4d2f [FIX] rendering: cache text width
https://github.com/odoo/o-spreadsheet/commit/c1f7d666 [FIX] clipboard: paste - onlyformat behaviour
https://github.com/odoo/o-spreadsheet/commit/9c0b8ff4 [FIX] clipboard: fix behaviour when selection is updated before the paste
https://github.com/odoo/o-spreadsheet/commit/534fc20a [FIX] Composer: Allow to unselect fully selected composer content
https://github.com/odoo/o-spreadsheet/commit/8e647aec [FIX] xlsx: space loss in XML when exporting hyperlink
https://github.com/odoo/o-spreadsheet/commit/8023bd0b [IMP] filter: select/clear all pre-filtered data
https://github.com/odoo/o-spreadsheet/commit/c4c1b165 [FIX] chart panel: title state in chart design panel
https://github.com/odoo/o-spreadsheet/commit/8ba67af4 [FIX] selection_input: add missing test
https://github.com/odoo/o-spreadsheet/commit/84d4eb47 [IMP] dependencies: update owl to 2.1.3
https://github.com/odoo/o-spreadsheet/commit/bb9192d9 [IMP] dependencies: update Typescript to 4.9
https://github.com/odoo/o-spreadsheet/commit/383ab479 [FIX] functions: translate argument description
https://github.com/odoo/o-spreadsheet/commit/4815a8b6 [FIX] filters: export xlsx of empty cells

closes odoo/odoo#126436

Related: odoo/enterprise#43200
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
This commit is contained in:
Lucas Lefèvre (lul)
2023-06-27 00:31:30 +02:00
parent 53d41e7028
commit fa5bce0f8f
2 changed files with 2045 additions and 1013 deletions
File diff suppressed because it is too large Load Diff
@@ -447,11 +447,13 @@
t-on-keydown="onKeydown"
t-on-mousewheel.stop=""
t-on-input="onInput"
t-on-mousedown="onMousedown"
t-on-click="onClick"
t-on-keyup="onKeyup"
t-on-paste.stop=""
t-on-compositionstart="onCompositionStart"
t-on-compositionend="onCompositionEnd"
t-on-dblclick="onDblClick"
/>
<div
@@ -879,25 +881,32 @@
</t>
<t t-name="o-spreadsheet-FontSizeEditor" owl="1">
<div class="o-dropdown o-font-size-editor" t-ref="FontSizeEditor">
<input
type="number"
min="1"
max="400"
class="o-font-size bg-transparent border-0 ps-1"
t-on-keydown="onInputKeydown"
t-on-click.stop=""
t-on-focus.stop="onInputFocused"
t-att-value="currentFontSize"
t-on-change="setSizeFromInput"
t-ref="inputFontSize"
/>
<div title="Font Size" t-on-click="() => this.toggleFontList()">
<t t-call="o-spreadsheet-Icon.TRIANGLE_DOWN"/>
<div class="o-dropdown" t-ref="FontSizeEditor">
<div
class=" o-font-size-editor d-flex align-items-center"
t-att-class="props.class"
title="Font Size"
t-on-click="this.toggleFontList">
<input
type="number"
min="1"
max="400"
class="o-font-size bg-transparent border-0"
t-on-keydown="onInputKeydown"
t-on-click.stop=""
t-on-focus.stop="onInputFocused"
t-att-value="currentFontSize"
t-on-change="setSizeFromInput"
t-ref="inputFontSize"
/>
<span>
<t t-call="o-spreadsheet-Icon.TRIANGLE_DOWN"/>
</span>
</div>
<div
class="o-dropdown-content o-text-options"
t-if="dropdown.isOpen"
t-on-click.stop=""
t-att-style="props.dropdownStyle">
<t t-foreach="fontSizes" t-as="fontSize" t-key="fontSize">
<div
@@ -2377,7 +2386,7 @@
<div class="o-section-title">Title</div>
<input
type="text"
t-att-value="env._t(props.definition.title)"
t-model="state.title"
t-on-change="updateTitle"
class="o-input o-optional"
placeholder="New Chart"
@@ -2448,7 +2457,7 @@
<div class="o-section-title">Title</div>
<input
type="text"
t-att-value="env._t(props.definition.title)"
t-model="state.title"
t-on-change="updateTitle"
class="o-input o-optional"
placeholder="New Chart"
@@ -2642,7 +2651,7 @@
<div class="o-section-title">Title</div>
<input
type="text"
t-att-value="env._t(props.definition.title)"
t-model="state.title"
t-on-change="updateTitle"
class="o-input o-optional"
placeholder="New Chart"
@@ -2758,7 +2767,7 @@
<div class="o-section-title">Title</div>
<input
type="text"
t-att-value="props.definition.title"
t-model="state.title"
t-on-change="updateTitle"
class="o-input o-optional"
placeholder="New Chart"
@@ -2908,7 +2917,7 @@
<div class="o-section-title">Title</div>
<input
type="text"
t-att-value="env._t(props.definition.title)"
t-model="state.title"
t-on-change="updateTitle"
class="o-input o-optional"
placeholder="New Chart"
@@ -3748,9 +3757,11 @@
/>
<div class="o-divider"/>
<FontSizeEditor onToggle="() => this.onClick()" dropdownStyle="this.dropdownStyle"/>
<FontSizeEditor
class="'o-hoverable-button'"
onToggle.bind="this.onClick"
dropdownStyle="this.dropdownStyle"
/>
<div class="o-divider"/>
<ActionButton action="FORMAT.formatBold" class="'o-hoverable-button'"/>
@@ -3871,7 +3882,7 @@
</t>
</odoo>
<!--
__info__.version = '16.4.0-alpha.4';
__info__.date = '2023-06-12T14:15:15.398Z';
__info__.hash = '251a52e';
__info__.version = '16.4.0-alpha.5';
__info__.date = '2023-06-26T14:47:35.461Z';
__info__.hash = '3b0b6f1';
-->