@odoo/o-spreadsheet 17.4.0-alpha.6 → 17.4.0-alpha.8

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.
@@ -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.4.0-alpha.6
5
- @date 2024-06-19T13:47:15.720Z
6
- @hash a4f22e4
4
+ @version 17.4.0-alpha.8
5
+ @date 2024-06-24T19:52:04.489Z
6
+ @hash ccd30df
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -3588,7 +3588,7 @@
3588
3588
  t-foreach="props.items"
3589
3589
  t-as="item"
3590
3590
  t-key="item.name"
3591
- t-on-click="item.onClick"
3591
+ t-on-click="() => this.onClick(item)"
3592
3592
  class="btn btn-link me-3">
3593
3593
  <i t-if="item.icon" t-att-class="'me-2 fa ' + item.icon"/>
3594
3594
  <t t-esc="item.name"/>
@@ -4736,7 +4736,7 @@
4736
4736
  <t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
4737
4737
  <div class="d-flex flex-column h-100 justify-content-between overflow-hidden">
4738
4738
  <div class="h-100 overflow-auto">
4739
- <PivotTitleSection pivotId="props.pivotId"/>
4739
+ <PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
4740
4740
  <Section>
4741
4741
  <t t-set-slot="title">Range</t>
4742
4742
  <SelectionInput
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.4.0-alpha.6",
3
+ "version": "17.4.0-alpha.8",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -14,11 +14,13 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "serve-static": "live-server --open=demo --watch=build/o_spreadsheet.js,build/o_spreadsheet.xml,demo",
17
- "dev": "npm-run-all --print-label build --parallel server serve-static watch:*",
17
+ "dev": "npm-run-all --print-label buildDev --parallel server serve-static watch:*",
18
18
  "server": "node tools/server/main.cjs",
19
19
  "build:js": "tsc --module es6 --incremental",
20
- "build:bundleJs": "rollup -c -m --configDev",
20
+ "build:bundleJsDev": "rollup -c -m --configDev",
21
+ "build:bundleJs": "rollup -c -m --configDist",
21
22
  "build:bundleXml": "node tools/bundle_xml/main.cjs",
23
+ "buildDev": "npm-run-all build:js build:bundleJsDev \"build:bundleXml -- --outDir build\"",
22
24
  "build": "npm-run-all build:js build:bundleJs \"build:bundleXml -- --outDir build\"",
23
25
  "doc": "typedoc",
24
26
  "precommit": "npm run prettier && npm run doc",
@@ -28,7 +30,7 @@
28
30
  "check-formatting": "prettier . --check",
29
31
  "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run build:bundleXml -- --outDir dist",
30
32
  "prepare": "husky install",
31
- "watch:bundle": "npm run build:bundleJs -- --watch",
33
+ "watch:bundle": "npm run build:bundleJsDev -- --watch",
32
34
  "watch:ts": "npm run build:js -- --watch",
33
35
  "watch:xml": "node tools/bundle_xml/watch_xml_templates.cjs",
34
36
  "unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs",