@odoo/o-spreadsheet 19.1.0-alpha.1 → 19.1.0-alpha.2

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 19.1.0-alpha.1
5
- @date 2025-09-12T13:34:33.243Z
6
- @hash d3e4e7b
4
+ @version 19.1.0-alpha.2
5
+ @date 2025-09-19T07:27:40.524Z
6
+ @hash 8cc543d
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -4268,7 +4268,6 @@
4268
4268
  t-att-class="props.class"
4269
4269
  t-ref="popover"
4270
4270
  t-on-wheel="props.onMouseWheel"
4271
- t-att-style="popoverStyle"
4272
4271
  t-on-click.stop="">
4273
4272
  <div class="o-popover-content" t-ref="popoverContent">
4274
4273
  <t t-slot="default"/>
@@ -5333,7 +5332,7 @@
5333
5332
  </svg>
5334
5333
  </t>
5335
5334
  <t t-name="o-spreadsheet-Icon.COG">
5336
- <svg fill="currentColor" viewBox="0 0 16 16">
5335
+ <svg class="o-icon" fill="currentColor" viewBox="0 0 16 16">
5337
5336
  <path
5338
5337
  d="M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z"
5339
5338
  />
@@ -5426,7 +5425,7 @@
5426
5425
  </svg>
5427
5426
  </t>
5428
5427
  <t t-name="o-spreadsheet-Icon.EDIT_TABLE">
5429
- <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18">
5428
+ <svg class="o-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18">
5430
5429
  <path
5431
5430
  fill="currentColor"
5432
5431
  d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15H7l1.5-1.5H7v-2.75h3.5v.75l2.25-2.25H12v-2.5h3.5v.75c.1-.2.45-.05.5.02l1 1V2.5A1.5 1.5 0 0 0 15.5 1m-13 1.5h13v2.75h-13m0 1.5h3v2.5h-3M7 6.75h3.5v2.5H7m-4.5 1.5h3v2.75h-3 M8.2 15.7v1.8h1.8l5.4-5.4-1.8-1.8-5.4 5.4Zm8.8-5.2a.5.5 0 0 0 0-.7l-1.1-1.1a.5.5 0 0 0-.7 0l-.9.9 1.8 1.8.9-.9Z"
@@ -5434,7 +5433,7 @@
5434
5433
  </svg>
5435
5434
  </t>
5436
5435
  <t t-name="o-spreadsheet-Icon.DELETE_TABLE">
5437
- <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18">
5436
+ <svg class="o-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18">
5438
5437
  <path
5439
5438
  fill="currentColor"
5440
5439
  d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15H7l1.5-1.5H7V6.75h3.5v.75L12 9V6.75h3.5l1.5 1.5V2.5A1.5 1.5 0 0 0 15.5 1m-13 1.5h13v2.75h-13m0 1.5h3v2.5h-3m0 1.5h3v2.75h-3m10-2.25 3-3 1.5 1.5-3 3 3 3-1.5 1.5-3-3-3 3-1.5-1.5 3-3-3-3 1.5-1.5"
@@ -5442,7 +5441,7 @@
5442
5441
  </svg>
5443
5442
  </t>
5444
5443
  <t t-name="o-spreadsheet-Icon.PAINT_TABLE">
5445
- <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18">
5444
+ <svg class="o-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18">
5446
5445
  <path
5447
5446
  fill="currentColor"
5448
5447
  d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15h5c0-.5 0-1 .5-1.5H7v-2.75h3.5v.75l2.25-2.25H12v-2.5h3.5v.75c1-.7 1.5-.4 1.5-.4V2.5A1.5 1.5 0 0 0 15.5 1m-13 1.5h13v2.75h-13m0 1.5h3v2.5h-3M7 6.75h3.5v2.5H7m-4.5 1.5h3v2.75h-3m7.5-.3c.7-.3 1.5-.1 2.1.6.6.7.8 1.4.5 1.9-.6 1.4-3.7 1.6-4 1.7l-.6.1.3-.5s.5-.8.5-2.1c0-.7.5-1.4 1.1-1.7Zm6.7-5.1a.9.9 0 0 1 1 1c-.1 1.3-2.5 3.7-4.3 5.3a3.9 3.9 0 0 0-.6-1.1c-.4-.4-.8-.7-1.3-.8 1.5-1.7 4-4.3 5.4-4.4"
@@ -5904,7 +5903,7 @@
5904
5903
  anchorRect="cellPopover.anchorRect"
5905
5904
  containerRect="env.getPopoverContainerRect()"
5906
5905
  onMouseWheel="props.onMouseWheel"
5907
- zIndex="zIndex">
5906
+ class="'o-popover-grid-index'">
5908
5907
  <t
5909
5908
  t-component="cellPopover.Component"
5910
5909
  t-props="{...cellPopover.props, onClosed : () => props.onClosePopover()}"
@@ -6353,7 +6352,11 @@
6353
6352
  </t>
6354
6353
 
6355
6354
  <t t-name="o-spreadsheet-FigureComponent">
6356
- <div class="o-figure-wrapper" t-att-style="wrapperStyle" t-ref="figureWrapper">
6355
+ <div
6356
+ class="o-figure-wrapper"
6357
+ t-att-class="{'o-figure-selected': isSelected}"
6358
+ t-att-style="wrapperStyle"
6359
+ t-ref="figureWrapper">
6357
6360
  <div
6358
6361
  class="o-figure w-100 h-100"
6359
6362
  t-att-class="props.class"
@@ -6595,9 +6598,10 @@
6595
6598
  class="o-topbar-composer position-relative bg-white user-select-text d-flex"
6596
6599
  t-att-class="{
6597
6600
  'o-topbar-composer-readonly': env.model.getters.isReadonly(),
6601
+ 'o-topbar-composer-active': focus !== 'inactive',
6602
+ 'o-topbar-composer-inactive': focus === 'inactive',
6598
6603
  }"
6599
- t-on-click.stop=""
6600
- t-att-style="containerStyle">
6604
+ t-on-click.stop="">
6601
6605
  <Composer
6602
6606
  focus="focus"
6603
6607
  inputStyle="composerStyle"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.1.0-alpha.1",
3
+ "version": "19.1.0-alpha.2",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -61,7 +61,8 @@
61
61
  "@prettier/plugin-xml": "^2.2.0",
62
62
  "@rollup/plugin-node-resolve": "^15.2.0",
63
63
  "@rollup/plugin-terser": "^0.4.3",
64
- "@swc/jest": "^0.2.36",
64
+ "@swc/jest": "0.2.36",
65
+ "@swc/core": "1.6.7",
65
66
  "@types/jest": "^27.0.1",
66
67
  "@types/node": "^20.17.24",
67
68
  "@types/rbush": "^3.0.3",
@@ -100,6 +101,18 @@
100
101
  "typescript-eslint": "^8.30.1",
101
102
  "xml-formatter": "^2.4.0"
102
103
  },
104
+ "optionalDependencies": {
105
+ "@swc/core-darwin-arm64": "1.6.7",
106
+ "@swc/core-darwin-x64": "1.6.7",
107
+ "@swc/core-linux-arm-gnueabihf": "1.6.7",
108
+ "@swc/core-linux-arm64-gnu": "1.6.7",
109
+ "@swc/core-linux-arm64-musl": "1.6.7",
110
+ "@swc/core-linux-x64-gnu": "1.6.7",
111
+ "@swc/core-linux-x64-musl": "1.6.7",
112
+ "@swc/core-win32-arm64-msvc": "1.6.7",
113
+ "@swc/core-win32-ia32-msvc": "1.6.7",
114
+ "@swc/core-win32-x64-msvc": "1.6.7"
115
+ },
103
116
  "prettier": {
104
117
  "printWidth": 100,
105
118
  "xmlWhitespaceSensitivity": "ignore",