@odoo/o-spreadsheet 19.1.0-alpha.8 → 19.1.0-alpha.9
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 +11 -2
- package/dist/o-spreadsheet-engine.esm.js +22 -13
- package/dist/o-spreadsheet-engine.iife.js +22 -13
- package/dist/o-spreadsheet-engine.min.iife.js +2 -2
- package/dist/o-spreadsheet.d.ts +242 -148
- package/dist/o_spreadsheet.esm.js +114 -59
- package/dist/o_spreadsheet.iife.js +114 -59
- package/dist/o_spreadsheet.min.iife.js +2 -2
- package/dist/o_spreadsheet.xml +52 -31
- 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-10-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.1.0-alpha.9
|
|
5
|
+
@date 2025-10-23T11:13:50.088Z
|
|
6
|
+
@hash bd756dd
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -215,22 +215,20 @@
|
|
|
215
215
|
</div>
|
|
216
216
|
</t>
|
|
217
217
|
|
|
218
|
-
<
|
|
218
|
+
<t t-name="o-spreadsheet-TextInput">
|
|
219
219
|
<input
|
|
220
|
-
t-ref="input"
|
|
221
|
-
class="os-input w-100"
|
|
222
220
|
type="text"
|
|
221
|
+
t-ref="{{refName}}"
|
|
223
222
|
t-att-class="inputClass"
|
|
224
223
|
t-att-id="props.id"
|
|
225
224
|
t-att-placeholder="props.placeholder"
|
|
226
|
-
t-att-value="props.value"
|
|
227
225
|
t-on-change="save"
|
|
228
226
|
t-on-blur="save"
|
|
229
227
|
t-on-pointerdown="onMouseDown"
|
|
230
228
|
t-on-pointerup="onMouseUp"
|
|
231
229
|
t-on-keydown="onKeyDown"
|
|
232
230
|
/>
|
|
233
|
-
</
|
|
231
|
+
</t>
|
|
234
232
|
|
|
235
233
|
<t t-name="o-spreadsheet-TableStylesPopover">
|
|
236
234
|
<Popover t-if="props.popoverProps" t-props="props.popoverProps">
|
|
@@ -514,12 +512,12 @@
|
|
|
514
512
|
value="tableConfig.numberOfHeaders > 0"
|
|
515
513
|
onChange.bind="this.updateHasHeaders"
|
|
516
514
|
/>
|
|
517
|
-
<
|
|
515
|
+
<NumberInput
|
|
518
516
|
t-if="tableConfig.numberOfHeaders > 0"
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
517
|
+
value="tableConfig.numberOfHeaders"
|
|
518
|
+
class="'o-table-n-of-headers ms-2'"
|
|
519
|
+
min="0"
|
|
520
|
+
onChange.bind="onChangeNumberOfHeaders"
|
|
523
521
|
/>
|
|
524
522
|
</div>
|
|
525
523
|
<Checkbox
|
|
@@ -864,7 +862,12 @@
|
|
|
864
862
|
<CogWheelMenu items="cogWheelMenuItems"/>
|
|
865
863
|
</div>
|
|
866
864
|
</t>
|
|
867
|
-
<TextInput
|
|
865
|
+
<TextInput
|
|
866
|
+
class="'os-pivot-title'"
|
|
867
|
+
value="name"
|
|
868
|
+
onChange.bind="onNameChanged"
|
|
869
|
+
selectContentOnFocus="true"
|
|
870
|
+
/>
|
|
868
871
|
</Section>
|
|
869
872
|
</t>
|
|
870
873
|
|
|
@@ -1315,6 +1318,7 @@
|
|
|
1315
1318
|
value="props.dimension.displayName"
|
|
1316
1319
|
onChange.bind="updateName"
|
|
1317
1320
|
class="'o-fw-bold'"
|
|
1321
|
+
selectContentOnFocus="true"
|
|
1318
1322
|
/>
|
|
1319
1323
|
<span t-else="1" class="o-fw-bold" t-esc="props.dimension.displayName"/>
|
|
1320
1324
|
</div>
|
|
@@ -1399,6 +1403,7 @@
|
|
|
1399
1403
|
<TextInput
|
|
1400
1404
|
value="group.name"
|
|
1401
1405
|
onChange="(newName) => this.onRenameGroup(group_index, newName)"
|
|
1406
|
+
selectContentOnFocus="true"
|
|
1402
1407
|
/>
|
|
1403
1408
|
<i
|
|
1404
1409
|
class="o-button-icon ps-3 fa fa-trash"
|
|
@@ -3910,11 +3915,11 @@
|
|
|
3910
3915
|
</div>
|
|
3911
3916
|
<div class="w-50 ms-3" t-if="trendType === 'trailingMovingAverage'">
|
|
3912
3917
|
<span class="o-section-subtitle">Window</span>
|
|
3913
|
-
<
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
+
<NumberInput
|
|
3919
|
+
value="trend.window || this.defaultWindowSize"
|
|
3920
|
+
class="'w-100 trend-window-input'"
|
|
3921
|
+
min="2"
|
|
3922
|
+
onChange="(value) => this.onChangeMovingAverageWindow(index, value)"
|
|
3918
3923
|
/>
|
|
3919
3924
|
</div>
|
|
3920
3925
|
<div class="w-50 ms-3" t-if="trendType === 'polynomial'">
|
|
@@ -3987,13 +3992,12 @@
|
|
|
3987
3992
|
<t t-name="o-spreadsheet.PieHoleSize">
|
|
3988
3993
|
<Section class="'pt-0'" title.translate="Center radius">
|
|
3989
3994
|
<div class="d-flex flex-row">
|
|
3990
|
-
<
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
class="o-input o-pie-hole-size-input"
|
|
3995
|
+
<NumberInput
|
|
3996
|
+
value="props.value"
|
|
3997
|
+
class="'o-pie-hole-size-input'"
|
|
3994
3998
|
min="0"
|
|
3995
3999
|
max="95"
|
|
3996
|
-
|
|
4000
|
+
onChange.bind="onChange"
|
|
3997
4001
|
/>
|
|
3998
4002
|
%
|
|
3999
4003
|
</div>
|
|
@@ -4140,12 +4144,11 @@
|
|
|
4140
4144
|
|
|
4141
4145
|
<t t-name="o-spreadsheet.ChartTitle">
|
|
4142
4146
|
<Section class="'o-chart-title'" title="props.name">
|
|
4143
|
-
<
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
t-att-placeholder="props.placeholder"
|
|
4147
|
+
<TextInput
|
|
4148
|
+
value="props.title"
|
|
4149
|
+
onChange.bind="updateTitle"
|
|
4150
|
+
placeholder="props.placeholder"
|
|
4151
|
+
alwaysShowBorder="true"
|
|
4149
4152
|
/>
|
|
4150
4153
|
<TextStyler
|
|
4151
4154
|
style="props.style"
|
|
@@ -4215,6 +4218,7 @@
|
|
|
4215
4218
|
onChange.bind="updateTitleText"
|
|
4216
4219
|
placeholder.translate="Add a Title"
|
|
4217
4220
|
alwaysShowBorder="true"
|
|
4221
|
+
selectContentOnFocus="true"
|
|
4218
4222
|
/>
|
|
4219
4223
|
<TextStyler
|
|
4220
4224
|
style="title ?? {}"
|
|
@@ -4248,6 +4252,7 @@
|
|
|
4248
4252
|
<TextInput
|
|
4249
4253
|
value="getItemTitle(item)"
|
|
4250
4254
|
onChange="(newName) => this.renameCarouselItem(item, newName)"
|
|
4255
|
+
selectContentOnFocus="true"
|
|
4251
4256
|
/>
|
|
4252
4257
|
</div>
|
|
4253
4258
|
<div class="ms-auto"/>
|
|
@@ -4436,6 +4441,23 @@
|
|
|
4436
4441
|
</span>
|
|
4437
4442
|
</t>
|
|
4438
4443
|
|
|
4444
|
+
<t t-name="o-spreadsheet-NumberInput">
|
|
4445
|
+
<input
|
|
4446
|
+
type="number"
|
|
4447
|
+
t-ref="{{refName}}"
|
|
4448
|
+
t-att-class="inputClass"
|
|
4449
|
+
t-att-id="props.id"
|
|
4450
|
+
t-att-placeholder="props.placeholder"
|
|
4451
|
+
t-on-change="save"
|
|
4452
|
+
t-on-blur="save"
|
|
4453
|
+
t-on-pointerdown="onMouseDown"
|
|
4454
|
+
t-on-pointerup="onMouseUp"
|
|
4455
|
+
t-on-keydown="onKeyDown"
|
|
4456
|
+
t-att-min="props.min"
|
|
4457
|
+
t-att-max="props.max"
|
|
4458
|
+
/>
|
|
4459
|
+
</t>
|
|
4460
|
+
|
|
4439
4461
|
<t t-name="o-spreadsheet-Menu-Popover">
|
|
4440
4462
|
<Popover t-if="props.menuItems" t-props="popoverProps">
|
|
4441
4463
|
<div t-ref="menu" class="o-menu-wrapper" t-on-mouseover="() => this.onMouseOverMainMenu()">
|
|
@@ -6199,7 +6221,6 @@
|
|
|
6199
6221
|
t-on-wheel.prevent.stop=""
|
|
6200
6222
|
t-on-click.stop="props.onFocusInput"
|
|
6201
6223
|
t-on-focus.stop="onInputFocused"
|
|
6202
|
-
t-att-value="props.currentFontSize"
|
|
6203
6224
|
t-on-change="setSizeFromInput"
|
|
6204
6225
|
t-ref="inputFontSize"
|
|
6205
6226
|
/>
|