@odoo/o-spreadsheet 18.3.0-alpha.2 → 18.3.0-alpha.3
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 +1971 -844
- package/dist/o-spreadsheet.d.ts +319 -747
- package/dist/o-spreadsheet.esm.js +1971 -844
- package/dist/o-spreadsheet.iife.js +1971 -844
- package/dist/o-spreadsheet.iife.min.js +462 -471
- package/dist/o_spreadsheet.xml +210 -168
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
3
3
|
@see https://github.com/odoo/o-spreadsheet
|
|
4
|
-
@version 18.3.0-alpha.
|
|
5
|
-
@date 2025-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.3.0-alpha.3
|
|
5
|
+
@date 2025-03-07T10:41:46.620Z
|
|
6
|
+
@hash f59f5f6
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
<div
|
|
34
34
|
class="o-spreadsheet-topbar o-two-columns d-flex flex-column user-select-none"
|
|
35
35
|
t-on-click="props.onClick">
|
|
36
|
-
<div class="o-topbar-top d-flex justify-content-between">
|
|
36
|
+
<div class="o-topbar-top d-flex justify-content-between flex-wrap">
|
|
37
37
|
<!-- Menus -->
|
|
38
38
|
<div class="o-topbar-topleft d-flex">
|
|
39
39
|
<t t-foreach="menus" t-as="menu" t-key="menu_index">
|
|
40
40
|
<div
|
|
41
41
|
t-if="menu.children.length !== 0"
|
|
42
|
-
class="o-topbar-menu o-hoverable-button rounded"
|
|
42
|
+
class="o-topbar-menu o-hoverable-button text-nowrap rounded"
|
|
43
43
|
t-att-class="{'active': state.menuState.parentMenu and state.menuState.parentMenu.id === menu.id}"
|
|
44
44
|
t-on-click="(ev) => this.toggleContextMenu(menu, ev)"
|
|
45
45
|
t-on-mouseover="(ev) => this.onMenuMouseOver(menu, ev)"
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
</div>
|
|
56
56
|
</div>
|
|
57
57
|
<!-- Toolbar and Cell Content -->
|
|
58
|
-
<div class="d-flex">
|
|
59
|
-
<div class="o-topbar-toolbar d-flex
|
|
58
|
+
<div class="d-flex o-topbar-responsive" t-ref="toolBarContainer">
|
|
59
|
+
<div class="o-topbar-toolbar d-flex">
|
|
60
60
|
<!-- Toolbar -->
|
|
61
61
|
<div
|
|
62
62
|
t-if="env.model.getters.isReadonly()"
|
|
@@ -66,135 +66,31 @@
|
|
|
66
66
|
Readonly Access
|
|
67
67
|
</span>
|
|
68
68
|
</div>
|
|
69
|
-
<div t-else="" class="o-toolbar-tools d-flex flex-
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
hasTriangleDownIcon="true"
|
|
84
|
-
class="'o-hoverable-button'"
|
|
85
|
-
/>
|
|
86
|
-
|
|
87
|
-
<div class="o-divider"/>
|
|
88
|
-
<FontSizeEditor
|
|
89
|
-
currentFontSize="currentFontSize"
|
|
90
|
-
onFontSizeChanged.bind="this.setFontSize"
|
|
91
|
-
class="'o-hoverable-button'"
|
|
92
|
-
onToggle.bind="this.onClick"
|
|
93
|
-
/>
|
|
94
|
-
<div class="o-divider"/>
|
|
95
|
-
|
|
96
|
-
<ActionButton action="FORMAT.formatBold" class="'o-hoverable-button'"/>
|
|
97
|
-
<ActionButton action="FORMAT.formatItalic" class="'o-hoverable-button'"/>
|
|
98
|
-
<ActionButton action="FORMAT.formatStrikethrough" class="'o-hoverable-button'"/>
|
|
99
|
-
|
|
100
|
-
<ColorPickerWidget
|
|
101
|
-
currentColor="state.textColor"
|
|
102
|
-
toggleColorPicker="(ev) => this.toggleDropdownTool('textColorTool', ev)"
|
|
103
|
-
showColorPicker="state.activeTool === 'textColorTool'"
|
|
104
|
-
onColorPicked="(color) => this.setColor('textColor', color)"
|
|
105
|
-
title="text_color"
|
|
106
|
-
icon="'o-spreadsheet-Icon.TEXT_COLOR'"
|
|
107
|
-
dropdownMaxHeight="this.props.dropdownMaxHeight"
|
|
108
|
-
class="'o-hoverable-button o-menu-item-button'"
|
|
109
|
-
/>
|
|
110
|
-
|
|
111
|
-
<div class="o-divider"/>
|
|
112
|
-
|
|
113
|
-
<ColorPickerWidget
|
|
114
|
-
currentColor="state.fillColor"
|
|
115
|
-
toggleColorPicker="(ev) => this.toggleDropdownTool('fillColorTool', ev)"
|
|
116
|
-
showColorPicker="state.activeTool === 'fillColorTool'"
|
|
117
|
-
onColorPicked="(color) => this.setColor('fillColor', color)"
|
|
118
|
-
title="fill_color"
|
|
119
|
-
icon="'o-spreadsheet-Icon.FILL_COLOR'"
|
|
120
|
-
dropdownMaxHeight="this.props.dropdownMaxHeight"
|
|
121
|
-
class="'o-hoverable-button o-menu-item-button'"
|
|
122
|
-
/>
|
|
123
|
-
|
|
124
|
-
<BorderEditorWidget
|
|
125
|
-
class="'o-hoverable-button o-menu-item-button'"
|
|
126
|
-
toggleBorderEditor="(ev) => this.toggleDropdownTool('borderTool', ev)"
|
|
127
|
-
showBorderEditor="state.activeTool === 'borderTool'"
|
|
128
|
-
dropdownMaxHeight="this.props.dropdownMaxHeight"
|
|
129
|
-
/>
|
|
130
|
-
<ActionButton action="EDIT.mergeCells" class="'o-hoverable-button'"/>
|
|
131
|
-
<div class="o-divider"/>
|
|
132
|
-
|
|
133
|
-
<div class="o-dropdown">
|
|
134
|
-
<ActionButton
|
|
135
|
-
action="FORMAT.formatAlignmentHorizontal"
|
|
136
|
-
hasTriangleDownIcon="true"
|
|
137
|
-
t-on-click="(ev) => this.toggleDropdownTool('horizontalAlignTool', ev)"
|
|
138
|
-
class="'o-hoverable-button'"
|
|
139
|
-
/>
|
|
140
|
-
<div
|
|
141
|
-
class="o-dropdown-content"
|
|
142
|
-
t-if="state.activeTool === 'horizontalAlignTool'"
|
|
143
|
-
t-att-style="dropdownStyle"
|
|
144
|
-
t-on-click.stop="">
|
|
145
|
-
<div class="o-dropdown-line">
|
|
146
|
-
<ActionButton action="FORMAT.formatAlignmentLeft" class="'o-hoverable-button'"/>
|
|
147
|
-
<ActionButton action="FORMAT.formatAlignmentCenter" class="'o-hoverable-button'"/>
|
|
148
|
-
<ActionButton action="FORMAT.formatAlignmentRight" class="'o-hoverable-button'"/>
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
<div class="o-dropdown">
|
|
153
|
-
<ActionButton
|
|
154
|
-
action="FORMAT.formatAlignmentVertical"
|
|
155
|
-
hasTriangleDownIcon="true"
|
|
156
|
-
t-on-click="(ev) => this.toggleDropdownTool('verticalAlignTool', ev)"
|
|
157
|
-
class="'o-hoverable-button'"
|
|
158
|
-
/>
|
|
159
|
-
<div
|
|
160
|
-
class="o-dropdown-content"
|
|
161
|
-
t-att-style="dropdownStyle"
|
|
162
|
-
t-if="state.activeTool === 'verticalAlignTool'"
|
|
163
|
-
t-on-click.stop="">
|
|
164
|
-
<div class="o-dropdown-line">
|
|
165
|
-
<ActionButton action="FORMAT.formatAlignmentTop" class="'o-hoverable-button'"/>
|
|
166
|
-
<ActionButton action="FORMAT.formatAlignmentMiddle" class="'o-hoverable-button'"/>
|
|
167
|
-
<ActionButton action="FORMAT.formatAlignmentBottom" class="'o-hoverable-button'"/>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
69
|
+
<div t-else="" class="o-toolbar-tools d-flex ms-4 flex-grow-1" t-ref="toolBar">
|
|
70
|
+
<div
|
|
71
|
+
class="d-flex tool-container"
|
|
72
|
+
t-foreach="toolsCategories"
|
|
73
|
+
t-as="category"
|
|
74
|
+
t-key="category"
|
|
75
|
+
t-att-id="category">
|
|
76
|
+
<t
|
|
77
|
+
t-foreach="toolbarMenuRegistry.getEntries(category)"
|
|
78
|
+
t-as="toolbarAction"
|
|
79
|
+
t-key="toolbarAction_index">
|
|
80
|
+
<t t-component="toolbarAction.component" t-props="toolbarAction.props"/>
|
|
81
|
+
</t>
|
|
82
|
+
<div t-if="showDivider(category_index)" class="o-topbar-divider"/>
|
|
170
83
|
</div>
|
|
171
|
-
<div
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
t-att-style="dropdownStyle"
|
|
181
|
-
t-if="state.activeTool === 'textWrappingTool'"
|
|
182
|
-
t-on-click.stop="">
|
|
183
|
-
<div class="o-dropdown-line">
|
|
184
|
-
<ActionButton
|
|
185
|
-
action="FORMAT.formatWrappingOverflow"
|
|
186
|
-
class="'o-hoverable-button'"
|
|
187
|
-
/>
|
|
188
|
-
<ActionButton action="FORMAT.formatWrappingWrap" class="'o-hoverable-button'"/>
|
|
189
|
-
<ActionButton action="FORMAT.formatWrappingClip" class="'o-hoverable-button'"/>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
84
|
+
<div
|
|
85
|
+
t-ref="moreToolsContainer"
|
|
86
|
+
class="d-flex align-items-center flex-grow-1 me-auto more-tools-container">
|
|
87
|
+
<span
|
|
88
|
+
class="o-toolbar-button o-menu-item-button o-hoverable-button me-2 px-1 py-2 more-tools"
|
|
89
|
+
t-ref="moreToolsButton"
|
|
90
|
+
t-on-click.stop="toggleMoreTools">
|
|
91
|
+
<t t-call="o-spreadsheet-Icon.SHORT_THIN_DRAG_HANDLE"/>
|
|
92
|
+
</span>
|
|
192
93
|
</div>
|
|
193
|
-
|
|
194
|
-
<div class="o-divider"/>
|
|
195
|
-
|
|
196
|
-
<TableDropdownButton/>
|
|
197
|
-
<ActionButton action="DATA.createRemoveFilterTool" class="'o-hoverable-button'"/>
|
|
198
94
|
</div>
|
|
199
95
|
</div>
|
|
200
96
|
<TopBarComposer/>
|
|
@@ -211,11 +107,14 @@
|
|
|
211
107
|
Irregularity map
|
|
212
108
|
</div>
|
|
213
109
|
<div
|
|
214
|
-
class="ps-3 h-100 flex-fill d-flex justify-content-between
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
110
|
+
class="ps-3 h-100 flex-fill d-flex justify-content-between rounded-0 alert alert-info ps-0 py-0 my-0">
|
|
111
|
+
<span class="d-flex align-items-center">
|
|
112
|
+
This tool analyzes formulas for patterns and highlights inconsistencies. Irregularities
|
|
113
|
+
may indicate potential errors in formula structures, references or arguments.
|
|
114
|
+
</span>
|
|
115
|
+
<div
|
|
116
|
+
class="ps-3 btn btn-link flex-shrink-0"
|
|
117
|
+
t-on-click="() => this.fingerprints.disable()">
|
|
219
118
|
Turn off
|
|
220
119
|
</div>
|
|
221
120
|
</div>
|
|
@@ -228,6 +127,83 @@
|
|
|
228
127
|
onClose="() => this.closeMenus()"
|
|
229
128
|
onMenuClicked="() => this.props.onClick()"
|
|
230
129
|
/>
|
|
130
|
+
<Popover t-if="state.toolsPopoverState.isOpen" t-props="toolsPopoverProps">
|
|
131
|
+
<div class="d-flex px-2 py-1 flex-wrap" style="background-color:white;">
|
|
132
|
+
<t
|
|
133
|
+
t-foreach="state.invisibleToolsCategories"
|
|
134
|
+
t-as="category"
|
|
135
|
+
t-key="category"
|
|
136
|
+
t-att-id="category">
|
|
137
|
+
<t
|
|
138
|
+
t-foreach="toolbarMenuRegistry.getEntries(category)"
|
|
139
|
+
t-as="toolbarAction"
|
|
140
|
+
t-key="toolbarAction_index">
|
|
141
|
+
<t t-component="toolbarAction.component" t-props="toolbarAction.props"/>
|
|
142
|
+
</t>
|
|
143
|
+
<div
|
|
144
|
+
t-if="category_index < state.invisibleToolsCategories.length-1"
|
|
145
|
+
class="o-topbar-divider my-2"
|
|
146
|
+
/>
|
|
147
|
+
</t>
|
|
148
|
+
</div>
|
|
149
|
+
</Popover>
|
|
150
|
+
</t>
|
|
151
|
+
|
|
152
|
+
<div t-name="o-spreadsheet-NumberFormatsTool" t-ref="buttonRef" t-on-click.stop="">
|
|
153
|
+
<ActionButton
|
|
154
|
+
action="formatNumberMenuItemSpec"
|
|
155
|
+
hasTriangleDownIcon="true"
|
|
156
|
+
onClick.bind="toggleMenu"
|
|
157
|
+
class="props.class"
|
|
158
|
+
/>
|
|
159
|
+
<Menu t-if="isActive" position="state.position" menuItems="state.menuItems" onClose="() => {}"/>
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
<t t-name="o-spreadsheet-TopBarFontSizeEditor">
|
|
163
|
+
<FontSizeEditor
|
|
164
|
+
currentFontSize="currentFontSize"
|
|
165
|
+
onFontSizeChanged.bind="this.setFontSize"
|
|
166
|
+
class="props.class"
|
|
167
|
+
onToggle.bind="this.onToggle"
|
|
168
|
+
onFocusInput.bind="this.onFocusInput"
|
|
169
|
+
/>
|
|
170
|
+
</t>
|
|
171
|
+
|
|
172
|
+
<div
|
|
173
|
+
t-name="o-spreadsheet-DropdownAction"
|
|
174
|
+
class="o-dropdown"
|
|
175
|
+
t-ref="actionRef"
|
|
176
|
+
t-on-click.stop="">
|
|
177
|
+
<ActionButton
|
|
178
|
+
action="props.parentAction"
|
|
179
|
+
hasTriangleDownIcon="true"
|
|
180
|
+
onClick.bind="toggleDropdown"
|
|
181
|
+
class="props.class"
|
|
182
|
+
/>
|
|
183
|
+
<Popover t-if="isActive" t-props="popoverProps">
|
|
184
|
+
<div class="o-dropdown-content p-1" t-if="isActive" t-on-click.stop="">
|
|
185
|
+
<div class="o-dropdown-line">
|
|
186
|
+
<t t-foreach="props.childActions" t-as="action" t-key="action_index">
|
|
187
|
+
<ActionButton action="action" class="props.childClass"/>
|
|
188
|
+
</t>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</Popover>
|
|
192
|
+
</div>
|
|
193
|
+
|
|
194
|
+
<t t-name="o-spreadsheet-ColorEditor">
|
|
195
|
+
<div class="d-flex align-items-center">
|
|
196
|
+
<ColorPickerWidget
|
|
197
|
+
currentColor="currentColor"
|
|
198
|
+
toggleColorPicker.bind="onClick"
|
|
199
|
+
showColorPicker="isMenuOpen"
|
|
200
|
+
onColorPicked="(color) => this.setColor(color)"
|
|
201
|
+
title="props.title"
|
|
202
|
+
icon="props.icon"
|
|
203
|
+
dropdownMaxHeight="dropdownMaxHeight"
|
|
204
|
+
class="props.class"
|
|
205
|
+
/>
|
|
206
|
+
</div>
|
|
231
207
|
</t>
|
|
232
208
|
|
|
233
209
|
<div t-name="o-spreadsheet-TextInput" class="w-100">
|
|
@@ -352,7 +328,7 @@
|
|
|
352
328
|
</t>
|
|
353
329
|
|
|
354
330
|
<t t-name="o-spreadsheet-TableDropdownButton">
|
|
355
|
-
<div class="o-table-widget d-flex align-item-center">
|
|
331
|
+
<div class="o-table-widget d-flex align-item-center" t-att-class="props.class">
|
|
356
332
|
<ActionButton
|
|
357
333
|
action="action"
|
|
358
334
|
hasTriangleDownIcon="true"
|
|
@@ -2745,6 +2721,40 @@
|
|
|
2745
2721
|
</div>
|
|
2746
2722
|
</t>
|
|
2747
2723
|
|
|
2724
|
+
<t t-name="o-spreadsheet-FunnelChartDesignPanel">
|
|
2725
|
+
<GeneralDesignEditor
|
|
2726
|
+
figureId="props.figureId"
|
|
2727
|
+
definition="props.definition"
|
|
2728
|
+
updateChart="props.updateChart">
|
|
2729
|
+
<t t-set-slot="general-extension">
|
|
2730
|
+
<Section class="'pt-0'" title.translate="Values">
|
|
2731
|
+
<Checkbox
|
|
2732
|
+
name="'showValues'"
|
|
2733
|
+
label.translate="Show values"
|
|
2734
|
+
value="props.definition.showValues"
|
|
2735
|
+
onChange="(showValues) => props.updateChart(this.props.figureId, { showValues })"
|
|
2736
|
+
/>
|
|
2737
|
+
</Section>
|
|
2738
|
+
</t>
|
|
2739
|
+
</GeneralDesignEditor>
|
|
2740
|
+
|
|
2741
|
+
<SidePanelCollapsible collapsedAtInit="false" title.translate="Funnel options">
|
|
2742
|
+
<t t-set-slot="content">
|
|
2743
|
+
<Section class="'o-funnel-colors pt-0'" title.translate="Funnel colors">
|
|
2744
|
+
<t t-foreach="getFunnelColorItems()" t-as="item" t-key="item_index">
|
|
2745
|
+
<div class="d-flex align-items-center mb-2" t-att-data-id="item_index">
|
|
2746
|
+
<RoundColorPicker
|
|
2747
|
+
currentColor="item.color"
|
|
2748
|
+
onColorPicked="(color) => this.updateFunnelItemColor(item_index, color)"
|
|
2749
|
+
/>
|
|
2750
|
+
<span class="ps-2" t-esc="item.label"/>
|
|
2751
|
+
</div>
|
|
2752
|
+
</t>
|
|
2753
|
+
</Section>
|
|
2754
|
+
</t>
|
|
2755
|
+
</SidePanelCollapsible>
|
|
2756
|
+
</t>
|
|
2757
|
+
|
|
2748
2758
|
<t t-name="o-spreadsheet-ComboChartDesignPanel">
|
|
2749
2759
|
<GeneralDesignEditor
|
|
2750
2760
|
figureId="props.figureId"
|
|
@@ -3134,6 +3144,14 @@
|
|
|
3134
3144
|
<circle cx="16" cy="16" r="13" stroke="#444"/>
|
|
3135
3145
|
</svg>
|
|
3136
3146
|
</t>
|
|
3147
|
+
<t t-name="o-spreadsheet-ChartPreview.FUNNEL_CHART">
|
|
3148
|
+
<svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
|
|
3149
|
+
<path stroke="#0074d9" fill="#c4e4ff" d="M2.5,6.5 h44 l-5,7 h-34 l-5,-7 h1"/>
|
|
3150
|
+
<path stroke="#eb6d00" fill="#ffe1c8" d="M9.5,16.5 h30 l-3,7 h-25 l-3,-7 h1"/>
|
|
3151
|
+
<path stroke="#0074d9" fill="#c4e4ff" d="M12.5,26.5 h23 l-8,7 h-7 l-8,-7 h1"/>
|
|
3152
|
+
<path stroke="#eb6d00" fill="#ffe1c8" d="M21.5,35.5 h5 l-2.5,7 l-2.5,-7 h1"/>
|
|
3153
|
+
</svg>
|
|
3154
|
+
</t>
|
|
3137
3155
|
|
|
3138
3156
|
<t t-name="o-spreadsheet.ChartTitle">
|
|
3139
3157
|
<t t-set="placeholder">Add a title</t>
|
|
@@ -3598,6 +3616,7 @@
|
|
|
3598
3616
|
<t t-portal="'.o-spreadsheet'">
|
|
3599
3617
|
<div
|
|
3600
3618
|
class="o-popover"
|
|
3619
|
+
t-att-class="props.class"
|
|
3601
3620
|
t-ref="popover"
|
|
3602
3621
|
t-on-wheel="props.onMouseWheel"
|
|
3603
3622
|
t-att-style="popoverStyle"
|
|
@@ -3680,6 +3699,7 @@
|
|
|
3680
3699
|
</div>
|
|
3681
3700
|
<Menu
|
|
3682
3701
|
t-if="subMenu.isOpen"
|
|
3702
|
+
t-key="subMenu.parentMenu.id"
|
|
3683
3703
|
position="subMenuPosition"
|
|
3684
3704
|
menuItems="subMenu.menuItems"
|
|
3685
3705
|
depth="props.depth + 1"
|
|
@@ -3882,6 +3902,19 @@
|
|
|
3882
3902
|
/>
|
|
3883
3903
|
</svg>
|
|
3884
3904
|
</t>
|
|
3905
|
+
<t t-name="o-spreadsheet-Icon.COPY_AS_IMAGE">
|
|
3906
|
+
<svg class="o-icon">
|
|
3907
|
+
<path
|
|
3908
|
+
fill="currentColor"
|
|
3909
|
+
d="m 14,15 v 1.5 H 2.5147386 c -0.5522847,0 -1,-0.447715 -1,-1 V 3 H 3 V 14 c 0,0.552285 0.4477153,1 1,1 h 10"
|
|
3910
|
+
/>
|
|
3911
|
+
<path
|
|
3912
|
+
fill="currentColor"
|
|
3913
|
+
d="M 3.8194506,2.0480809 A 1.1084934,1.1763958 0 0 1 4.927944,0.87168505 H 15.273882 A 1.1084934,1.1763958 0 0 1 16.382375,2.0480809 V 13.027775 a 1.1084934,1.1763958 0 0 1 -1.108493,1.176396 H 4.927944 A 1.1084934,1.1763958 0 0 1 3.8194506,13.027775 V 2.0480809 H 4.927944 V 13.027775 H 15.273882 V 2.0480809 H 4.927944 M 12.3179,5.5772683 10.839908,9.1064553 9.7314149,7.93006 8.2534245,9.8907193 7.1449309,8.7143233 5.6669395,11.067114 H 14.534886 M 6.0364374,4.4008725 a 1.1084936,1.176396 0 0 1 2.2169871,0 1.1084936,1.176396 0 0 1 -2.2169871,0"
|
|
3914
|
+
id="path1-5"
|
|
3915
|
+
/>
|
|
3916
|
+
</svg>
|
|
3917
|
+
</t>
|
|
3885
3918
|
<t t-name="o-spreadsheet-Icon.PASTE">
|
|
3886
3919
|
<svg class="o-icon">
|
|
3887
3920
|
<path
|
|
@@ -4771,6 +4804,11 @@
|
|
|
4771
4804
|
<i class="fa fa-eye-slash"/>
|
|
4772
4805
|
</div>
|
|
4773
4806
|
</t>
|
|
4807
|
+
<t t-name="o-spreadsheet-Icon.DOWNLOAD">
|
|
4808
|
+
<div class="o-icon">
|
|
4809
|
+
<i class="fa fa-download"/>
|
|
4810
|
+
</div>
|
|
4811
|
+
</t>
|
|
4774
4812
|
|
|
4775
4813
|
<t t-name="o-spreadsheet-IconPicker">
|
|
4776
4814
|
<div class="o-icon-picker">
|
|
@@ -5213,7 +5251,7 @@
|
|
|
5213
5251
|
class="o-font-size o-number-input bg-transparent border-0"
|
|
5214
5252
|
t-on-keydown="onInputKeydown"
|
|
5215
5253
|
t-on-wheel.prevent.stop=""
|
|
5216
|
-
t-on-click.stop=""
|
|
5254
|
+
t-on-click.stop="props.onFocusInput"
|
|
5217
5255
|
t-on-focus.stop="onInputFocused"
|
|
5218
5256
|
t-att-value="props.currentFontSize"
|
|
5219
5257
|
t-on-change="setSizeFromInput"
|
|
@@ -5577,7 +5615,7 @@
|
|
|
5577
5615
|
<t t-name="o-spreadsheet-TopBarComposer">
|
|
5578
5616
|
<div class="o-topbar-composer-container w-100">
|
|
5579
5617
|
<div
|
|
5580
|
-
class="o-topbar-composer position-relative bg-white user-select-text"
|
|
5618
|
+
class="o-topbar-composer position-relative bg-white user-select-text d-flex"
|
|
5581
5619
|
t-on-click.stop=""
|
|
5582
5620
|
t-att-style="containerStyle">
|
|
5583
5621
|
<Composer
|
|
@@ -5722,13 +5760,9 @@
|
|
|
5722
5760
|
/>
|
|
5723
5761
|
</div>
|
|
5724
5762
|
<div
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
t-
|
|
5728
|
-
t-on-wheel.stop=""
|
|
5729
|
-
t-on-pointerdown.prevent.stop=""
|
|
5730
|
-
t-on-click.prevent.stop=""
|
|
5731
|
-
t-on-pointerup.prevent.stop="">
|
|
5763
|
+
class="o-composer-assistant-container shadow position-absolute"
|
|
5764
|
+
t-att-style="assistantContainerStyle"
|
|
5765
|
+
t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable">
|
|
5732
5766
|
<span
|
|
5733
5767
|
role="button"
|
|
5734
5768
|
t-on-click="closeAssistant"
|
|
@@ -5736,23 +5770,31 @@
|
|
|
5736
5770
|
<i class="fa fa-circle fa-stack-1x fa-inverse"/>
|
|
5737
5771
|
<i class="fa fa-times-circle fa-stack-1x text-muted"/>
|
|
5738
5772
|
</span>
|
|
5739
|
-
<FunctionDescriptionProvider
|
|
5740
|
-
t-if="functionDescriptionState.showDescription"
|
|
5741
|
-
functionName="functionDescriptionState.functionName"
|
|
5742
|
-
functionDescription="functionDescriptionState.functionDescription"
|
|
5743
|
-
argToFocus="functionDescriptionState.argToFocus"
|
|
5744
|
-
/>
|
|
5745
5773
|
<div
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
t-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5774
|
+
class="o-composer-assistant overflow-auto"
|
|
5775
|
+
t-att-style="assistantStyle"
|
|
5776
|
+
t-on-wheel.stop=""
|
|
5777
|
+
t-on-pointerdown.prevent.stop=""
|
|
5778
|
+
t-on-click.prevent.stop=""
|
|
5779
|
+
t-on-pointerup.prevent.stop="">
|
|
5780
|
+
<FunctionDescriptionProvider
|
|
5781
|
+
t-if="functionDescriptionState.showDescription"
|
|
5782
|
+
functionName="functionDescriptionState.functionName"
|
|
5783
|
+
functionDescription="functionDescriptionState.functionDescription"
|
|
5784
|
+
argToFocus="functionDescriptionState.argToFocus"
|
|
5785
|
+
/>
|
|
5786
|
+
<div
|
|
5787
|
+
t-if="functionDescriptionState.showDescription and autoCompleteState.provider"
|
|
5788
|
+
class="border-top"
|
|
5789
|
+
/>
|
|
5790
|
+
<TextValueProvider
|
|
5791
|
+
t-if="autoCompleteState.provider"
|
|
5792
|
+
proposals="autoCompleteState.provider.proposals"
|
|
5793
|
+
selectedIndex="autoCompleteState.selectedIndex"
|
|
5794
|
+
onValueSelected.bind="this.autoComplete"
|
|
5795
|
+
onValueHovered.bind="this.updateAutoCompleteIndex"
|
|
5796
|
+
/>
|
|
5797
|
+
</div>
|
|
5756
5798
|
</div>
|
|
5757
5799
|
</div>
|
|
5758
5800
|
</t>
|
|
@@ -6064,7 +6106,7 @@
|
|
|
6064
6106
|
<div class="d-flex position-relative" title="Borders">
|
|
6065
6107
|
<span
|
|
6066
6108
|
t-ref="borderEditorButton"
|
|
6067
|
-
t-on-click.stop="
|
|
6109
|
+
t-on-click.stop="toggleBorderEditor"
|
|
6068
6110
|
t-att-class="props.class ? props.class : ''"
|
|
6069
6111
|
t-att-disabled="props.disabled">
|
|
6070
6112
|
<span t-att-style="iconStyle">
|
|
@@ -6072,14 +6114,14 @@
|
|
|
6072
6114
|
</span>
|
|
6073
6115
|
</span>
|
|
6074
6116
|
<BorderEditor
|
|
6075
|
-
t-if="
|
|
6117
|
+
t-if="isActive"
|
|
6076
6118
|
onBorderColorPicked.bind="onBorderColorPicked"
|
|
6077
6119
|
onBorderStylePicked.bind="onBorderStylePicked"
|
|
6078
6120
|
onBorderPositionPicked.bind="onBorderPositionPicked"
|
|
6079
6121
|
currentBorderColor="state.currentColor"
|
|
6080
6122
|
currentBorderStyle="state.currentStyle"
|
|
6081
6123
|
currentBorderPosition="state.currentPosition"
|
|
6082
|
-
maxHeight="
|
|
6124
|
+
maxHeight="dropdownMaxHeight"
|
|
6083
6125
|
anchorRect="borderEditorAnchorRect"
|
|
6084
6126
|
/>
|
|
6085
6127
|
</div>
|