@odoo/o-spreadsheet 19.1.0-alpha.5 → 19.1.0-alpha.6
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 +6638 -0
- package/dist/{o-spreadsheet.cjs.js → o-spreadsheet-engine.esm.js} +39995 -75717
- package/dist/{o-spreadsheet.iife.js → o-spreadsheet-engine.iife.js} +40094 -75704
- package/dist/o-spreadsheet-engine.min.iife.js +817 -0
- package/dist/o-spreadsheet.d.ts +6104 -6081
- package/dist/{o-spreadsheet.esm.js → o_spreadsheet.esm.js} +76652 -75095
- package/dist/o_spreadsheet.iife.js +87589 -0
- package/dist/o_spreadsheet.min.iife.js +843 -0
- package/dist/o_spreadsheet.xml +3 -3
- package/package.json +37 -22
- package/dist/o-spreadsheet.iife.min.js +0 -843
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.6
|
|
5
|
+
@date 2025-10-16T14:36:44.154Z
|
|
6
|
+
@hash 8ab685e
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/o-spreadsheet",
|
|
3
|
-
"version": "19.1.0-alpha.
|
|
3
|
+
"version": "19.1.0-alpha.6",
|
|
4
4
|
"description": "A spreadsheet component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/o-spreadsheet.cjs.js",
|
|
@@ -15,31 +15,41 @@
|
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">=22.0.0"
|
|
17
17
|
},
|
|
18
|
+
"workspaces": [
|
|
19
|
+
"packages/o-spreadsheet-engine"
|
|
20
|
+
],
|
|
18
21
|
"scripts": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
+
"prepare": "husky install",
|
|
23
|
+
"prettier": "prettier . --write",
|
|
24
|
+
"check-formatting": "prettier . --check && eslint",
|
|
25
|
+
"lint": "eslint --fix",
|
|
26
|
+
"dev": "npm-run-all --print-label prebuild build:dev --parallel build:watch:engine build:watch server serve-static",
|
|
27
|
+
"prebuild": "npm run build --workspaces --if-present",
|
|
28
|
+
"build:dev": "npm-run-all build:js bundle:iife \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\"",
|
|
29
|
+
"build": "npm-run-all build:js bundle:esm bundle:iife \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\"",
|
|
30
|
+
"build:watch": "npm-run-all --parallel build:js:watch bundle:iife:watch bundle:xml:watch bundle:css:watch",
|
|
31
|
+
"build:watch:engine": "npm run build:watch --workspace=@odoo/o-spreadsheet-engine",
|
|
22
32
|
"build:js": "tsc --module es6 --incremental",
|
|
23
|
-
"
|
|
33
|
+
"build:js:watch": "npm run build:js -- --watch",
|
|
34
|
+
"bundle:cjs": "rollup -c -m -- --format cjs",
|
|
24
35
|
"bundle:esm": "rollup -c -m -- --format esm",
|
|
36
|
+
"bundle:iife": "rollup -c -m -- --format iife",
|
|
37
|
+
"bundle:iife:watch": "npm run bundle:iife -- --watch",
|
|
38
|
+
"bundle:dev": "rollup -c -m -- --format dev",
|
|
25
39
|
"bundle:xml": "node tools/bundle_xml/main.cjs",
|
|
26
|
-
"bundle:
|
|
27
|
-
"
|
|
28
|
-
"
|
|
40
|
+
"bundle:xml:watch": "node tools/bundle_xml/watch_xml_templates.cjs",
|
|
41
|
+
"bundle:css": "node tools/bundle_css/main.cjs",
|
|
42
|
+
"bundle:css:watch": "node tools/bundle_css/watch_css_files.cjs",
|
|
43
|
+
"serve-static": "live-server --open=demo --watch=build/o_spreadsheet.iife.js,build/o_spreadsheet.xml,build/o_spreadsheet.css,demo",
|
|
44
|
+
"server": "node tools/server/main.cjs",
|
|
45
|
+
"predist": "npm run dist --workspaces --if-present",
|
|
46
|
+
"dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c",
|
|
47
|
+
"postdist": " npm run bundle:xml -- --outDir dist && npm run bundle:css -- --out dist",
|
|
48
|
+
"pretest": "npm run test --workspaces --if-present",
|
|
29
49
|
"test": "tsc --noEmit --project tsconfig.jest.json && jest",
|
|
30
|
-
"
|
|
31
|
-
"prettier": "prettier . --write",
|
|
32
|
-
"check-formatting": "prettier . --check && eslint",
|
|
33
|
-
"prepare": "husky install",
|
|
34
|
-
"watch": "npm-run-all -p watch:*",
|
|
35
|
-
"watch:bundle": "npm run bundle:iife -- --watch",
|
|
36
|
-
"watch:ts": "npm run build:js -- --watch",
|
|
37
|
-
"watch:xml": "node tools/bundle_xml/watch_xml_templates.cjs",
|
|
38
|
-
"watch:css": "node tools/bundle_css/watch_css_files.cjs",
|
|
39
|
-
"unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs",
|
|
50
|
+
"monkey": "SPREADSHEET_MONKEY_COUNT=$npm_config_monkey_count jest 'tests/collaborative/collaborative_monkey_party.test.ts'",
|
|
40
51
|
"zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.cjs",
|
|
41
|
-
"
|
|
42
|
-
"lint": "eslint --fix"
|
|
52
|
+
"unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs"
|
|
43
53
|
},
|
|
44
54
|
"browserslist": [
|
|
45
55
|
"last 1 Chrome versions"
|
|
@@ -62,10 +72,11 @@
|
|
|
62
72
|
"homepage": "https://github.com/odoo/o-spreadsheet#readme",
|
|
63
73
|
"devDependencies": {
|
|
64
74
|
"@prettier/plugin-xml": "^2.2.0",
|
|
75
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
65
76
|
"@rollup/plugin-node-resolve": "^15.2.0",
|
|
66
77
|
"@rollup/plugin-terser": "^0.4.3",
|
|
67
|
-
"@swc/jest": "0.2.36",
|
|
68
78
|
"@swc/core": "1.6.7",
|
|
79
|
+
"@swc/jest": "0.2.36",
|
|
69
80
|
"@types/jest": "^27.0.1",
|
|
70
81
|
"@types/node": "^20.17.24",
|
|
71
82
|
"@types/rbush": "^3.0.3",
|
|
@@ -80,7 +91,6 @@
|
|
|
80
91
|
"express-form-data": "^2.0.19",
|
|
81
92
|
"express-ws": "^4.0.0",
|
|
82
93
|
"file-saver": "^2.0.5",
|
|
83
|
-
"fs": "^0.0.1-security",
|
|
84
94
|
"glob": "^11.0.1",
|
|
85
95
|
"husky": "^7.0.4",
|
|
86
96
|
"jest": "^29.5.0",
|
|
@@ -122,6 +132,7 @@
|
|
|
122
132
|
"xmlSelfClosingSpace": false
|
|
123
133
|
},
|
|
124
134
|
"dependencies": {
|
|
135
|
+
"@odoo/o-spreadsheet-engine": "*",
|
|
125
136
|
"@odoo/owl": "2.5.1",
|
|
126
137
|
"bootstrap": "^5.3.3",
|
|
127
138
|
"font-awesome": "^4.7.0",
|
|
@@ -137,6 +148,10 @@
|
|
|
137
148
|
"@swc/jest"
|
|
138
149
|
]
|
|
139
150
|
},
|
|
151
|
+
"moduleNameMapper": {
|
|
152
|
+
"^@odoo/o-spreadsheet-engine$": "<rootDir>/packages/o-spreadsheet-engine/src",
|
|
153
|
+
"^@odoo/o-spreadsheet-engine/(.*)$": "<rootDir>/packages/o-spreadsheet-engine/src/$1"
|
|
154
|
+
},
|
|
140
155
|
"verbose": false,
|
|
141
156
|
"testEnvironment": "jsdom",
|
|
142
157
|
"testRegex": "(/tests/.*(test|spec))\\.ts?$",
|