@odoo/o-spreadsheet 17.2.0-alpha.6 → 17.2.0
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 +847 -468
- package/dist/o-spreadsheet.d.ts +157 -119
- package/dist/o-spreadsheet.esm.js +847 -468
- package/dist/o-spreadsheet.iife.js +847 -468
- package/dist/o-spreadsheet.iife.min.js +196 -194
- package/dist/o_spreadsheet.xml +22 -13
- package/package.json +2 -2
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 17.2.0
|
|
5
|
-
@date 2024-
|
|
6
|
-
@hash
|
|
4
|
+
@version 17.2.0
|
|
5
|
+
@date 2024-03-20T08:13:23.283Z
|
|
6
|
+
@hash 1869c24
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -2018,7 +2018,7 @@ https://fontawesome.com/license -->
|
|
|
2018
2018
|
focusable="false"
|
|
2019
2019
|
viewBox="0 0 448 512">
|
|
2020
2020
|
<path
|
|
2021
|
-
fill="#
|
|
2021
|
+
fill="#E06666"
|
|
2022
2022
|
t-att-style="color"
|
|
2023
2023
|
d="M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z"
|
|
2024
2024
|
/>
|
|
@@ -2027,7 +2027,7 @@ https://fontawesome.com/license -->
|
|
|
2027
2027
|
<t t-name="o-spreadsheet-Icon.ARROW_UP">
|
|
2028
2028
|
<svg class="o-cf-icon arrow-up" width="10" height="10" focusable="false" viewBox="0 0 448 512">
|
|
2029
2029
|
<path
|
|
2030
|
-
fill="#
|
|
2030
|
+
fill="#6AA84F"
|
|
2031
2031
|
t-att-style="color"
|
|
2032
2032
|
d="M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"
|
|
2033
2033
|
/>
|
|
@@ -2050,7 +2050,7 @@ https://fontawesome.com/license -->
|
|
|
2050
2050
|
<t t-name="o-spreadsheet-Icon.SMILE">
|
|
2051
2051
|
<svg class="o-cf-icon smile" width="10" height="10" focusable="false" viewBox="0 0 496 512">
|
|
2052
2052
|
<path
|
|
2053
|
-
fill="#
|
|
2053
|
+
fill="#6AA84F"
|
|
2054
2054
|
d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"
|
|
2055
2055
|
/>
|
|
2056
2056
|
</svg>
|
|
@@ -2066,7 +2066,7 @@ https://fontawesome.com/license -->
|
|
|
2066
2066
|
<t t-name="o-spreadsheet-Icon.FROWN">
|
|
2067
2067
|
<svg class="o-cf-icon frown" width="10" height="10" focusable="false" viewBox="0 0 496 512">
|
|
2068
2068
|
<path
|
|
2069
|
-
fill="#
|
|
2069
|
+
fill="#E06666"
|
|
2070
2070
|
d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"
|
|
2071
2071
|
/>
|
|
2072
2072
|
</svg>
|
|
@@ -2075,7 +2075,7 @@ https://fontawesome.com/license -->
|
|
|
2075
2075
|
<t t-name="o-spreadsheet-Icon.GREEN_DOT">
|
|
2076
2076
|
<svg class="o-cf-icon green-dot" width="10" height="10" focusable="false" viewBox="0 0 512 512">
|
|
2077
2077
|
<path
|
|
2078
|
-
fill="#
|
|
2078
|
+
fill="#6AA84F"
|
|
2079
2079
|
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"
|
|
2080
2080
|
/>
|
|
2081
2081
|
</svg>
|
|
@@ -2096,7 +2096,7 @@ https://fontawesome.com/license -->
|
|
|
2096
2096
|
<t t-name="o-spreadsheet-Icon.RED_DOT">
|
|
2097
2097
|
<svg class="o-cf-icon red-dot" width="10" height="10" focusable="false" viewBox="0 0 512 512">
|
|
2098
2098
|
<path
|
|
2099
|
-
fill="#
|
|
2099
|
+
fill="#E06666"
|
|
2100
2100
|
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"
|
|
2101
2101
|
/>
|
|
2102
2102
|
</svg>
|
|
@@ -2410,6 +2410,7 @@ https://fontawesome.com/license -->
|
|
|
2410
2410
|
t-on-scroll="onScroll"
|
|
2411
2411
|
t-on-wheel.stop=""
|
|
2412
2412
|
t-on-click.stop=""
|
|
2413
|
+
t-on-mouseover="onMouseOverMainMenu"
|
|
2413
2414
|
t-on-contextmenu.prevent="">
|
|
2414
2415
|
<t t-foreach="menuItemsAndSeparators" t-as="menuItem" t-key="menuItem_index">
|
|
2415
2416
|
<div t-if="menuItem === 'separator'" class="o-separator"/>
|
|
@@ -2421,9 +2422,10 @@ https://fontawesome.com/license -->
|
|
|
2421
2422
|
t-att-data-name="menuItem.id"
|
|
2422
2423
|
t-on-click="(ev) => this.onClickMenu(menuItem, ev)"
|
|
2423
2424
|
t-on-mouseenter="(ev) => this.onMouseEnter(menuItem, ev)"
|
|
2425
|
+
t-on-mouseover="(ev) => this.onMouseOver(menuItem, ev)"
|
|
2424
2426
|
t-on-mouseleave="(ev) => this.onMouseLeave(menuItem)"
|
|
2425
|
-
class="o-menu-item d-flex align-items-center"
|
|
2426
|
-
t-att-class="{
|
|
2427
|
+
class="o-menu-item d-flex justify-content-between align-items-center"
|
|
2428
|
+
t-att-class="{'disabled': !isMenuEnabled, 'o-menu-item-active': isActive(menuItem)}"
|
|
2427
2429
|
t-att-style="getColor(menuItem)">
|
|
2428
2430
|
<div class="d-flex w-100">
|
|
2429
2431
|
<div t-if="childrenHaveIcon" class="o-menu-item-icon align-middle">
|
|
@@ -2459,8 +2461,9 @@ https://fontawesome.com/license -->
|
|
|
2459
2461
|
depth="props.depth + 1"
|
|
2460
2462
|
maxHeight="props.maxHeight"
|
|
2461
2463
|
onMenuClicked="props.onMenuClicked"
|
|
2462
|
-
onClose="
|
|
2464
|
+
onClose.bind="close"
|
|
2463
2465
|
menuId="props.menuId"
|
|
2466
|
+
onMouseOver.bind="onMouseOverChildMenu"
|
|
2464
2467
|
/>
|
|
2465
2468
|
</Popover>
|
|
2466
2469
|
</t>
|
|
@@ -4132,7 +4135,7 @@ https://fontawesome.com/license -->
|
|
|
4132
4135
|
t-component="panel.Body"
|
|
4133
4136
|
t-props="sidePanelStore.panelProps"
|
|
4134
4137
|
onCloseSidePanel.bind="close"
|
|
4135
|
-
t-key="'Body_' + sidePanelStore.componentTag"
|
|
4138
|
+
t-key="'Body_' + sidePanelStore.componentTag + sidePanelStore.panelKey"
|
|
4136
4139
|
/>
|
|
4137
4140
|
</div>
|
|
4138
4141
|
<div class="o-sidePanelFooter" t-if="panel?.Footer">
|
|
@@ -4268,6 +4271,12 @@ https://fontawesome.com/license -->
|
|
|
4268
4271
|
onSelectionConfirmed.bind="this.onRangeConfirmed"
|
|
4269
4272
|
/>
|
|
4270
4273
|
<ValidationMessages messages="errorMessages" msgType="'error'"/>
|
|
4274
|
+
<Checkbox
|
|
4275
|
+
label="getCheckboxLabel('automaticAutofill')"
|
|
4276
|
+
name="'automaticAutofill'"
|
|
4277
|
+
value="tableConfig.automaticAutofill"
|
|
4278
|
+
onChange="(val) => this.updateTableConfig('automaticAutofill', val)"
|
|
4279
|
+
/>
|
|
4271
4280
|
</Section>
|
|
4272
4281
|
<div class="o-sidePanelButtons">
|
|
4273
4282
|
<button t-on-click="deleteTable" class="o-table-delete o-button">Delete table</button>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/o-spreadsheet",
|
|
3
|
-
"version": "17.2.0
|
|
3
|
+
"version": "17.2.0",
|
|
4
4
|
"description": "A spreadsheet component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/o-spreadsheet.cjs.js",
|
|
@@ -139,6 +139,6 @@
|
|
|
139
139
|
"*": "prettier --write"
|
|
140
140
|
},
|
|
141
141
|
"publishConfig": {
|
|
142
|
-
"tag": "
|
|
142
|
+
"tag": "latest"
|
|
143
143
|
}
|
|
144
144
|
}
|