@odoo/o-spreadsheet 19.1.0-alpha.13 → 19.1.0-alpha.14
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-engine.d.ts +18 -6
- package/dist/o-spreadsheet-engine.esm.js +342 -60
- package/dist/o-spreadsheet-engine.iife.js +342 -60
- package/dist/o-spreadsheet-engine.min.iife.js +313 -313
- package/dist/o-spreadsheet.d.ts +35 -21
- package/dist/o_spreadsheet.esm.js +518 -143
- package/dist/o_spreadsheet.iife.js +518 -143
- package/dist/o_spreadsheet.min.iife.js +320 -320
- package/dist/o_spreadsheet.xml +31 -16
- 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 19.1.0-alpha.
|
|
5
|
-
@date 2025-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.1.0-alpha.14
|
|
5
|
+
@date 2025-12-02T05:35:39.337Z
|
|
6
|
+
@hash 04cf666
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -1946,7 +1946,7 @@
|
|
|
1946
1946
|
<t t-else="">
|
|
1947
1947
|
<div
|
|
1948
1948
|
t-att-style="getPreviewImageStyle(cf.rule)"
|
|
1949
|
-
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2
|
|
1949
|
+
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2 border">
|
|
1950
1950
|
123
|
|
1951
1951
|
</div>
|
|
1952
1952
|
</t>
|
|
@@ -4740,7 +4740,7 @@
|
|
|
4740
4740
|
class="o-number-editor d-flex align-items-center"
|
|
4741
4741
|
t-att-class="props.class"
|
|
4742
4742
|
t-att-title="props.title"
|
|
4743
|
-
t-on-click="this.toggleList">
|
|
4743
|
+
t-on-click.stop="this.toggleList">
|
|
4744
4744
|
<input
|
|
4745
4745
|
type="number"
|
|
4746
4746
|
t-att-min="props.min"
|
|
@@ -6031,6 +6031,7 @@
|
|
|
6031
6031
|
xmlns="http://www.w3.org/2000/svg">
|
|
6032
6032
|
<path
|
|
6033
6033
|
d="M5 2h1v12h1.5l-2 2-2-2H5m6-5h1v5h1.5l-2 2-2-2H11M8 2l7 2.8V6L8 8.8l-.43-1.12 1.9-.7V3.8l-1.9-.7L8 1.98m2.7 2.25v2.3l2.8-1.1z"
|
|
6034
|
+
fill="currentColor"
|
|
6034
6035
|
/>
|
|
6035
6036
|
</svg>
|
|
6036
6037
|
</t>
|
|
@@ -6038,6 +6039,7 @@
|
|
|
6038
6039
|
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
|
|
6039
6040
|
<path
|
|
6040
6041
|
d="m1.95 6.879.707-.707 8.485 8.485 1.06-1.06v2.828H9.375l1.061-1.061m.706-7.778.707-.707 3.536 3.535 1.06-1.06v2.828h-2.828l1.06-1.06M4.071 4.757l6.93-2.97.848.849-2.97 6.93-1.096-.488.849-1.839-2.249-2.248-1.838.848-.488-1.096m3.5-.318 1.626 1.626 1.203-2.757z"
|
|
6042
|
+
fill="currentColor"
|
|
6041
6043
|
/>
|
|
6042
6044
|
</svg>
|
|
6043
6045
|
</t>
|
|
@@ -6045,13 +6047,16 @@
|
|
|
6045
6047
|
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
|
|
6046
6048
|
<path
|
|
6047
6049
|
d="M5 2h1v12h1.5l-2 2-2-2H5m6-5h1v5h1.5l-2 2-2-2H11M8 2l7 2.8V6L8 8.8l-.43-1.12 1.9-.7V3.8l-1.9-.7L8 1.98m2.7 2.25v2.3l2.8-1.1z"
|
|
6050
|
+
fill="currentColor"
|
|
6048
6051
|
/>
|
|
6049
6052
|
</svg>
|
|
6050
6053
|
</t>
|
|
6054
|
+
|
|
6051
6055
|
<t t-name="o-spreadsheet-Icon.ROTATION-270">
|
|
6052
6056
|
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
|
|
6053
6057
|
<path
|
|
6054
6058
|
d="M13 16h-1V4h-1.5l2-2 2 2H13M7 9H6V4H4.5l2-2 2 2H7m3 12-7-2.8V12l7-2.8.43 1.12-1.9.7v3.18l1.9.7-.43 1.12m-2.7-2.25v-2.3l-2.8 1.1z"
|
|
6059
|
+
fill="currentColor"
|
|
6055
6060
|
/>
|
|
6056
6061
|
</svg>
|
|
6057
6062
|
</t>
|
|
@@ -6059,6 +6064,7 @@
|
|
|
6059
6064
|
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
|
|
6060
6065
|
<path
|
|
6061
6066
|
d="m6.879 16.55-.707-.707 8.485-8.485-1.06-1.06h2.828v2.828l-1.061-1.061m-7.778-.707-.707-.707 3.535-3.536-1.06-1.06h2.828v2.828l-1.06-1.06M4.757 14.429l-2.97-6.93.849-.848 6.93 2.97-.488 1.096-1.839-.849-2.248 2.249.848 1.838-1.096.488m-.318-3.5 1.626-1.626-2.757-1.203z"
|
|
6067
|
+
fill="currentColor"
|
|
6062
6068
|
/>
|
|
6063
6069
|
</svg>
|
|
6064
6070
|
</t>
|
|
@@ -6230,7 +6236,6 @@
|
|
|
6230
6236
|
t-on-mouseleave="onMouseLeave"
|
|
6231
6237
|
t-on-pointerdown.self.prevent="select"
|
|
6232
6238
|
t-on-click="onClick"
|
|
6233
|
-
t-on-pointerup.self="onMouseUp"
|
|
6234
6239
|
t-on-contextmenu.self="onContextMenu"
|
|
6235
6240
|
t-att-class="{'o-grab': state.waitingForMove, 'o-dragging': state.isMoving}">
|
|
6236
6241
|
<div
|
|
@@ -6274,7 +6279,6 @@
|
|
|
6274
6279
|
t-on-mouseleave="onMouseLeave"
|
|
6275
6280
|
t-on-pointerdown.self.prevent="select"
|
|
6276
6281
|
t-on-click="onClick"
|
|
6277
|
-
t-on-pointerup.self="onMouseUp"
|
|
6278
6282
|
t-on-contextmenu.self="onContextMenu"
|
|
6279
6283
|
t-att-class="{'o-grab': state.waitingForMove, 'o-dragging': state.isMoving, }">
|
|
6280
6284
|
<div
|
|
@@ -6452,7 +6456,8 @@
|
|
|
6452
6456
|
<button
|
|
6453
6457
|
t-on-click="onConfirm"
|
|
6454
6458
|
t-att-disabled="state.errorFlag"
|
|
6455
|
-
class="o-button flex-grow-0 me-2"
|
|
6459
|
+
class="o-button flex-grow-0 me-2"
|
|
6460
|
+
tabindex="-1">
|
|
6456
6461
|
Add
|
|
6457
6462
|
</button>
|
|
6458
6463
|
<input
|
|
@@ -6464,6 +6469,7 @@
|
|
|
6464
6469
|
t-on-keydown.stop="onKeydown"
|
|
6465
6470
|
t-on-pointerdown.stop=""
|
|
6466
6471
|
t-on-input.stop="onInput"
|
|
6472
|
+
tabindex="-1"
|
|
6467
6473
|
/>
|
|
6468
6474
|
<span>more rows at the bottom</span>
|
|
6469
6475
|
<ValidationMessages t-if="state.errorFlag" messages="errorMessages" msgType="'error'"/>
|
|
@@ -7175,7 +7181,13 @@
|
|
|
7175
7181
|
</t>
|
|
7176
7182
|
|
|
7177
7183
|
<t t-name="o-spreadsheet-FunctionDescriptionProvider">
|
|
7178
|
-
<div
|
|
7184
|
+
<div
|
|
7185
|
+
class="o-formula-assistant-container shadow"
|
|
7186
|
+
tabindex="-1"
|
|
7187
|
+
t-on-pointerdown=""
|
|
7188
|
+
t-on-pointerup.stop=""
|
|
7189
|
+
t-on-keydown.stop=""
|
|
7190
|
+
t-on-click.stop="">
|
|
7179
7191
|
<t t-set="context" t-value="getContext()"/>
|
|
7180
7192
|
<div class="o-formula-assistant bg-white" t-if="context.functionDescription.name">
|
|
7181
7193
|
<div class="o-formula-assistant-head d-flex flex-row justify-content-between">
|
|
@@ -7190,6 +7202,7 @@
|
|
|
7190
7202
|
<div
|
|
7191
7203
|
class="collapsor px-2 d-flex align-items-center rounded"
|
|
7192
7204
|
t-att-class="state.isCollapsed ? 'collapsed' : ''"
|
|
7205
|
+
t-on-pointerdown.prevent=""
|
|
7193
7206
|
t-on-click="() => this.toggle()">
|
|
7194
7207
|
<span class="collapsor-arrow d-inline-block">
|
|
7195
7208
|
<t t-call="o-spreadsheet-Icon.ANGLE_DOWN"/>
|
|
@@ -7236,7 +7249,7 @@
|
|
|
7236
7249
|
</t>
|
|
7237
7250
|
|
|
7238
7251
|
<t t-name="o-spreadsheet-Composer">
|
|
7239
|
-
<div class="o-composer-container w-100 h-100">
|
|
7252
|
+
<div class="o-composer-container w-100 h-100" t-ref="composerContainer">
|
|
7240
7253
|
<t t-set="autoCompleteProposals" t-value="props.composerStore.autoCompleteProposals"/>
|
|
7241
7254
|
<t t-set="canBeToggled" t-value="props.composerStore.canBeToggled"/>
|
|
7242
7255
|
<t
|
|
@@ -7248,10 +7261,9 @@
|
|
|
7248
7261
|
t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
|
|
7249
7262
|
role="button"
|
|
7250
7263
|
title="Show formula help"
|
|
7251
|
-
t-on-click="openAssistant"
|
|
7264
|
+
t-on-click.stop="openAssistant"
|
|
7252
7265
|
t-on-pointerdown.prevent.stop=""
|
|
7253
|
-
t-on-
|
|
7254
|
-
t-on-pointerup.prevent.stop=""
|
|
7266
|
+
t-on-pointerup.stop=""
|
|
7255
7267
|
class="fa-stack position-absolute translate-middle force-open-assistant fs-4">
|
|
7256
7268
|
<i class="fa fa-circle fa-stack-1x fa-inverse"/>
|
|
7257
7269
|
<i class="fa fa-question-circle fa-stack-1x"/>
|
|
@@ -7287,13 +7299,14 @@
|
|
|
7287
7299
|
t-att-style="assistantContainerStyle"
|
|
7288
7300
|
t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
|
|
7289
7301
|
t-on-wheel.stop=""
|
|
7290
|
-
t-on-pointerdown.
|
|
7291
|
-
t-on-pointerup.
|
|
7292
|
-
t-on-click.
|
|
7302
|
+
t-on-pointerdown.stop=""
|
|
7303
|
+
t-on-pointerup.stop=""
|
|
7304
|
+
t-on-click.stop="">
|
|
7293
7305
|
<span
|
|
7294
7306
|
t-if="canBeToggled and !assistant.forcedClosed"
|
|
7295
7307
|
role="button"
|
|
7296
7308
|
t-on-click="closeAssistant"
|
|
7309
|
+
t-on-pointerdown.prevent.stop=""
|
|
7297
7310
|
class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
|
|
7298
7311
|
<i class="fa fa-circle fa-stack-1x fa-inverse"/>
|
|
7299
7312
|
<i class="fa fa-times-circle fa-stack-1x"/>
|
|
@@ -7329,6 +7342,7 @@
|
|
|
7329
7342
|
<t t-name="o-spreadsheet-TextValueProvider">
|
|
7330
7343
|
<div
|
|
7331
7344
|
t-ref="autoCompleteList"
|
|
7345
|
+
t-on-pointerdown.prevent=""
|
|
7332
7346
|
t-att-class="{
|
|
7333
7347
|
'o-autocomplete-dropdown bg-white': props.proposals.length}">
|
|
7334
7348
|
<t t-foreach="props.proposals" t-as="proposal" t-key="proposal.text + proposal_index">
|
|
@@ -7601,6 +7615,7 @@
|
|
|
7601
7615
|
t-on-click="onClick"
|
|
7602
7616
|
t-on-contextmenu.prevent="(ev) => this.onContextMenu(ev)"
|
|
7603
7617
|
t-ref="sheetDiv"
|
|
7618
|
+
t-key="sheetName"
|
|
7604
7619
|
t-att-style="props.style"
|
|
7605
7620
|
t-att-title="sheetName"
|
|
7606
7621
|
t-att-data-id="props.sheetId"
|