@odoo/o-spreadsheet 19.0.3 → 19.0.5
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 +102 -93
- package/dist/o-spreadsheet.d.ts +208 -152
- package/dist/o-spreadsheet.esm.js +102 -93
- package/dist/o-spreadsheet.iife.js +102 -93
- package/dist/o-spreadsheet.iife.min.js +216 -224
- package/dist/o_spreadsheet.xml +57 -17
- 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.0.
|
|
5
|
-
@date 2025-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.0.5
|
|
5
|
+
@date 2025-10-07T10:04:55.625Z
|
|
6
|
+
@hash 86fc442
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
t-att-style="getStyle()">
|
|
362
362
|
<t t-if="env.isDashboard()">
|
|
363
363
|
<SpreadsheetDashboard getGridSize.bind="getGridSize"/>
|
|
364
|
-
<
|
|
364
|
+
<FullScreenFigure/>
|
|
365
365
|
</t>
|
|
366
366
|
<t t-else="">
|
|
367
367
|
<div class="o-spreadsheet-topbar-wrapper o-two-columns">
|
|
@@ -398,9 +398,14 @@
|
|
|
398
398
|
<RibbonMenu onClose="() => this.menuState.isOpen=false"/>
|
|
399
399
|
</t>
|
|
400
400
|
<t t-else="">
|
|
401
|
-
<div class="o-small-composer px-2 py-2">
|
|
401
|
+
<div class="o-small-composer px-2 py-2 position-relative">
|
|
402
402
|
<div class="w-100" t-ref="bottombarComposer">
|
|
403
403
|
<Composer t-props="composerProps"/>
|
|
404
|
+
<span
|
|
405
|
+
t-if="showFxIcon"
|
|
406
|
+
class="position-absolute top-50 translate-middle-y ps-2 pe-none">
|
|
407
|
+
<t t-call="o-spreadsheet-Icon.FX_SVG"/>
|
|
408
|
+
</span>
|
|
404
409
|
</div>
|
|
405
410
|
<span
|
|
406
411
|
class="align-items-center d-flex justify-content-center o-selection-button"
|
|
@@ -4154,7 +4159,7 @@
|
|
|
4154
4159
|
/>
|
|
4155
4160
|
</div>
|
|
4156
4161
|
<div class="ms-auto"/>
|
|
4157
|
-
<div class="flex-shrink-0 d-flex
|
|
4162
|
+
<div class="flex-shrink-0 d-flex me-1">
|
|
4158
4163
|
<CogWheelMenu items="getCogWheelMenuItems(item)"/>
|
|
4159
4164
|
</div>
|
|
4160
4165
|
</div>
|
|
@@ -5553,6 +5558,14 @@
|
|
|
5553
5558
|
/>
|
|
5554
5559
|
</svg>
|
|
5555
5560
|
</t>
|
|
5561
|
+
<t t-name="o-spreadsheet-Icon.FX_SVG">
|
|
5562
|
+
<svg class="o-icon" viewBox="0 0 121.8 122.9">
|
|
5563
|
+
<path
|
|
5564
|
+
fill="#BDBDBD"
|
|
5565
|
+
d='m28 34-4 5v2h10l-6 40c-4 22-6 28-7 30-2 2-3 3-5 3-3 0-7-2-9-4H4c-2 2-4 4-4 7s4 6 8 6 9-2 15-8c8-7 13-17 18-39l7-35 13-1 3-6H49c4-23 7-27 11-27 2 0 5 2 8 6h4c1-1 4-4 4-7 0-2-3-6-9-6-5 0-13 4-20 10-6 7-9 14-11 24h-8zm41 16c4-5 7-7 8-7s2 1 5 9l3 12c-7 11-12 17-16 17l-3-1-2-1c-3 0-6 3-6 7s3 7 7 7c6 0 12-6 22-23l3 10c3 9 6 13 10 13 5 0 11-4 18-15l-3-4c-4 6-7 8-8 8-2 0-4-3-6-10l-5-15 8-10 6-4 3 1 3 2c2 0 6-3 6-7s-2-7-6-7c-6 0-11 5-21 20l-2-6c-3-9-5-14-9-14-5 0-12 6-18 15l3 3z'
|
|
5566
|
+
/>
|
|
5567
|
+
</svg>
|
|
5568
|
+
</t>
|
|
5556
5569
|
|
|
5557
5570
|
<t t-name="o-spreadsheet-IconPicker">
|
|
5558
5571
|
<div class="o-icon-picker">
|
|
@@ -6030,8 +6043,8 @@
|
|
|
6030
6043
|
</div>
|
|
6031
6044
|
</t>
|
|
6032
6045
|
|
|
6033
|
-
<t t-name="o-spreadsheet-
|
|
6034
|
-
<div class="position-absolute o-fullscreen-
|
|
6046
|
+
<t t-name="o-spreadsheet-FullScreenFigure">
|
|
6047
|
+
<div class="position-absolute o-fullscreen-figure-overlay w-100 h-100 d-flex" t-if="figureUI">
|
|
6035
6048
|
<div
|
|
6036
6049
|
class="position-absolute top-0 start-0 end-0 bottom-0"
|
|
6037
6050
|
t-on-click="exitFullScreen"
|
|
@@ -6044,15 +6057,20 @@
|
|
|
6044
6057
|
</button>
|
|
6045
6058
|
<div class="flex-fill">
|
|
6046
6059
|
<div
|
|
6047
|
-
class="o-fullscreen-
|
|
6060
|
+
class="o-fullscreen-figure o-figure position-relative border rounded shadow"
|
|
6048
6061
|
tabindex="1"
|
|
6049
|
-
t-ref="
|
|
6062
|
+
t-ref="fullScreenFigure"
|
|
6050
6063
|
t-on-click.stop=""
|
|
6051
6064
|
t-on-keydown="(ev) => this.onKeyDown(ev)">
|
|
6052
|
-
<t
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6065
|
+
<t>
|
|
6066
|
+
<t
|
|
6067
|
+
t-component="figureComponent"
|
|
6068
|
+
figureUI="figureUI"
|
|
6069
|
+
isFullScreen="true"
|
|
6070
|
+
onFigureDeleted="() => {}"
|
|
6071
|
+
t-key="figureUI.id"
|
|
6072
|
+
/>
|
|
6073
|
+
</t>
|
|
6056
6074
|
</div>
|
|
6057
6075
|
</div>
|
|
6058
6076
|
</div>
|
|
@@ -6279,7 +6297,12 @@
|
|
|
6279
6297
|
|
|
6280
6298
|
<t t-name="o-spreadsheet-ChartFigure">
|
|
6281
6299
|
<div class="o-chart-container w-100 h-100" t-on-dblclick="onDoubleClick">
|
|
6282
|
-
<t
|
|
6300
|
+
<t
|
|
6301
|
+
t-component="chartComponent"
|
|
6302
|
+
chartId="chartId"
|
|
6303
|
+
t-key="chartId"
|
|
6304
|
+
isFullScreen="props.isFullScreen"
|
|
6305
|
+
/>
|
|
6283
6306
|
</div>
|
|
6284
6307
|
<div t-if="env.isDashboard()" class="position-absolute top-0 end-0">
|
|
6285
6308
|
<ChartDashboardMenu chartId="chartId"/>
|
|
@@ -6303,7 +6326,7 @@
|
|
|
6303
6326
|
t-att-style="titleStyle"
|
|
6304
6327
|
/>
|
|
6305
6328
|
<div class="o-carousel-tabs d-flex flex-fill justify-content-end" t-ref="carouselTabs">
|
|
6306
|
-
<t t-foreach="
|
|
6329
|
+
<t t-foreach="visibleCarouselItems" t-as="item" t-key="item_index">
|
|
6307
6330
|
<div
|
|
6308
6331
|
class="o-carousel-tab text-truncate px-2 mt-1 flex-shrink-0"
|
|
6309
6332
|
t-att-class="{ 'selected': isItemSelected(item) }"
|
|
@@ -6313,7 +6336,7 @@
|
|
|
6313
6336
|
</t>
|
|
6314
6337
|
</div>
|
|
6315
6338
|
<div
|
|
6316
|
-
class="o-carousel-tabs-dropdown flex-shrink-0 rounded"
|
|
6339
|
+
class="o-carousel-tabs-dropdown o-carousel-button flex-shrink-0 rounded p-1"
|
|
6317
6340
|
t-att-class="{'active': menuState.isOpen}"
|
|
6318
6341
|
t-ref="carouselTabsDropdown"
|
|
6319
6342
|
t-on-click="toggleMenu">
|
|
@@ -6327,6 +6350,17 @@
|
|
|
6327
6350
|
popoverPositioning="'bottom-left'"
|
|
6328
6351
|
/>
|
|
6329
6352
|
</div>
|
|
6353
|
+
<div
|
|
6354
|
+
t-if="env.isDashboard()"
|
|
6355
|
+
t-att-title="fullScreenButtonTitle"
|
|
6356
|
+
class="o-carousel-full-screen-button fa o-carousel-button rounded p-1 ms-1"
|
|
6357
|
+
t-att-class="{
|
|
6358
|
+
'fa-compress': props.isFullScreen,
|
|
6359
|
+
'fa-expand': !props.isFullScreen,
|
|
6360
|
+
'invisible': selectedCarouselItem?.type !== 'chart',
|
|
6361
|
+
}"
|
|
6362
|
+
t-on-click="toggleFullScreen"
|
|
6363
|
+
/>
|
|
6330
6364
|
</div>
|
|
6331
6365
|
<div
|
|
6332
6366
|
t-if="!selectedItem"
|
|
@@ -6340,12 +6374,14 @@
|
|
|
6340
6374
|
<t
|
|
6341
6375
|
t-component="chartComponent"
|
|
6342
6376
|
chartId="selectedItem.chartId"
|
|
6377
|
+
isFullScreen="props.isFullScreen"
|
|
6343
6378
|
t-key="selectedItem.chartId"
|
|
6344
6379
|
/>
|
|
6345
6380
|
</div>
|
|
6346
6381
|
<ChartDashboardMenu
|
|
6347
6382
|
t-if="env.isDashboard()"
|
|
6348
6383
|
chartId="selectedItem.chartId"
|
|
6384
|
+
hasFullScreenButton="false"
|
|
6349
6385
|
t-key="selectedItem.chartId"
|
|
6350
6386
|
/>
|
|
6351
6387
|
</div>
|
|
@@ -6605,6 +6641,9 @@
|
|
|
6605
6641
|
composerStore="composerStore"
|
|
6606
6642
|
placeholder="composerStore.placeholder"
|
|
6607
6643
|
/>
|
|
6644
|
+
<span t-if="showFxIcon" class="position-absolute top-50 translate-middle-y ps-2 pe-none">
|
|
6645
|
+
<t t-call="o-spreadsheet-Icon.FX_SVG"/>
|
|
6646
|
+
</span>
|
|
6608
6647
|
</div>
|
|
6609
6648
|
</div>
|
|
6610
6649
|
</t>
|
|
@@ -7083,6 +7122,7 @@
|
|
|
7083
7122
|
t-ref="sheetNameSpan"
|
|
7084
7123
|
t-esc="sheetName"
|
|
7085
7124
|
t-on-pointerdown="(ev) => this.onMouseEventSheetName(ev)"
|
|
7125
|
+
t-on-click="(ev) => this.onMouseEventSheetName(ev)"
|
|
7086
7126
|
t-on-dblclick="() => this.onDblClick()"
|
|
7087
7127
|
t-on-focusout="() => this.onFocusOut()"
|
|
7088
7128
|
t-on-keydown="(ev) => this.onKeyDown(ev)"
|