spaday-regular-table 0.2.0__tar.gz → 0.2.2__tar.gz
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.
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/.gitignore +5 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/PKG-INFO +8 -3
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/README.md +6 -1
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/build.mjs +9 -3
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/package.json +12 -10
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/pnpm-lock.yaml +299 -167
- spaday_regular_table-0.2.2/js/src/css/theme.css +112 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/src/html/index.html +1 -0
- spaday_regular_table-0.2.2/js/src/ts/define-guard.ts +19 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/src/ts/index.ts +4 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/tests/index.spec.js +72 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/tools/bundle.mjs +1 -1
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/tsconfig.json +2 -2
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/pyproject.toml +3 -3
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/__init__.py +15 -3
- spaday_regular_table-0.2.2/spaday_regular_table/extension/cdn/index.js +2 -0
- spaday_regular_table-0.2.2/spaday_regular_table/extension/cdn/index.js.map +7 -0
- spaday_regular_table-0.2.2/spaday_regular_table/extension/css/index.css +0 -0
- spaday_regular_table-0.2.2/spaday_regular_table/extension/css/theme.css +1 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/extension/index.html +1 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/tests/test_all.py +2 -0
- spaday_regular_table-0.2.0/spaday_regular_table/extension/cdn/index.js +0 -1202
- spaday_regular_table-0.2.0/spaday_regular_table/extension/cdn/index.js.map +0 -7
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/LICENSE +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/.oxfmtrc.json +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/.oxlintrc.json +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/playwright.config.js +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/pnpm-workspace.yaml +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/src/css/index.css +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/src/ts/css.d.ts +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/tools/css.mjs +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/tools/externals.mjs +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/tools/getarg.mjs +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/js/tools/html.mjs +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/components.cem.json +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/components.py +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/example.py +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/extension/css/material.css +0 -0
- {spaday_regular_table-0.2.0 → spaday_regular_table-0.2.2}/spaday_regular_table/tests/test_example.py +0 -0
|
@@ -13,6 +13,10 @@ __pycache__/
|
|
|
13
13
|
*.exp
|
|
14
14
|
*.lib
|
|
15
15
|
|
|
16
|
+
# vcpkg
|
|
17
|
+
vcpkg/
|
|
18
|
+
vcpkg_installed/
|
|
19
|
+
|
|
16
20
|
# Rust
|
|
17
21
|
target
|
|
18
22
|
target-capi
|
|
@@ -142,6 +146,7 @@ spaday_regular_table/labextension
|
|
|
142
146
|
|
|
143
147
|
# Emscripten SDK (locally installed)
|
|
144
148
|
emsdk
|
|
149
|
+
.pyodide_build/
|
|
145
150
|
|
|
146
151
|
# Mac
|
|
147
152
|
.DS_Store
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: spaday-regular-table
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: regular-table for spaday
|
|
5
5
|
Project-URL: Repository, https://github.com/1kbgz/spaday-regular-table
|
|
6
6
|
Project-URL: Homepage, https://github.com/1kbgz/spaday-regular-table
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
17
17
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
18
18
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
19
19
|
Requires-Python: >=3.11
|
|
20
|
-
Requires-Dist: spaday
|
|
20
|
+
Requires-Dist: spaday<1.0,>=0.6.0
|
|
21
21
|
Provides-Extra: develop
|
|
22
22
|
Requires-Dist: build; extra == 'develop'
|
|
23
23
|
Requires-Dist: bump-my-version; extra == 'develop'
|
|
@@ -42,7 +42,12 @@ Requires-Dist: starlette; extra == 'examples'
|
|
|
42
42
|
Requires-Dist: uvicorn; extra == 'examples'
|
|
43
43
|
Description-Content-Type: text/markdown
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
<a href="https://github.com/1kbgz/spaday-regular-table">
|
|
46
|
+
<picture>
|
|
47
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/1kbgz/spaday-regular-table/raw/main/docs/img/logo-dark.png?raw=true">
|
|
48
|
+
<img alt="spaday-regular-table logo, a table with a data-grid top inside a browser window" src="https://github.com/1kbgz/spaday-regular-table/raw/main/docs/img/logo-light.png?raw=true" width="800">
|
|
49
|
+
</picture>
|
|
50
|
+
</a>
|
|
46
51
|
|
|
47
52
|
Viewport-virtualized data tables for spaday, powered by `regular-table`.
|
|
48
53
|
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
<a href="https://github.com/1kbgz/spaday-regular-table">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/1kbgz/spaday-regular-table/raw/main/docs/img/logo-dark.png?raw=true">
|
|
4
|
+
<img alt="spaday-regular-table logo, a table with a data-grid top inside a browser window" src="https://github.com/1kbgz/spaday-regular-table/raw/main/docs/img/logo-light.png?raw=true" width="800">
|
|
5
|
+
</picture>
|
|
6
|
+
</a>
|
|
2
7
|
|
|
3
8
|
Viewport-virtualized data tables for spaday, powered by `regular-table`.
|
|
4
9
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { bundle } from "./tools/bundle.mjs";
|
|
2
|
+
import { bundle_css } from "./tools/css.mjs";
|
|
2
3
|
import { node_modules_external } from "./tools/externals.mjs";
|
|
3
4
|
|
|
4
5
|
import fs from "fs";
|
|
@@ -23,12 +24,17 @@ async function build() {
|
|
|
23
24
|
force: true,
|
|
24
25
|
});
|
|
25
26
|
|
|
27
|
+
// Bundle css (incl. theme.css, the mode-aware wa-dark / wa-light overrides loaded after material.css)
|
|
28
|
+
await bundle_css("src/css");
|
|
29
|
+
|
|
26
30
|
// Copy HTML
|
|
27
31
|
await cpy("src/html/*", "dist/");
|
|
28
32
|
|
|
29
33
|
// Copy images
|
|
30
|
-
fs.
|
|
31
|
-
|
|
34
|
+
if (fs.existsSync("src/img")) {
|
|
35
|
+
fs.mkdirSync("dist/img", { recursive: true });
|
|
36
|
+
await cpy("src/img/*", "dist/img");
|
|
37
|
+
}
|
|
32
38
|
|
|
33
39
|
await cpy("node_modules/regular-table/dist/css/material.css", "dist/css", {
|
|
34
40
|
flat: true,
|
|
@@ -45,4 +51,4 @@ async function build() {
|
|
|
45
51
|
});
|
|
46
52
|
}
|
|
47
53
|
|
|
48
|
-
build();
|
|
54
|
+
await build();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spaday-regular-table",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "regular-table for spaday",
|
|
5
5
|
"repository": "git@github.com:1kbgz/spaday-regular-table.git",
|
|
6
6
|
"author": "1kbgz <dev@1kbgz.com>",
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"./package.json": "./package.json"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
|
-
"dist/**/*"
|
|
22
|
-
"index.d.ts"
|
|
21
|
+
"dist/**/*"
|
|
23
22
|
],
|
|
24
23
|
"types": "./dist/esm/index.d.ts",
|
|
25
24
|
"publishConfig": {
|
|
@@ -27,7 +26,9 @@
|
|
|
27
26
|
},
|
|
28
27
|
"scripts": {
|
|
29
28
|
"build:debug": "node build.mjs --debug",
|
|
30
|
-
"build": "node build.mjs",
|
|
29
|
+
"build:prod": "node build.mjs",
|
|
30
|
+
"build:types": "tsc",
|
|
31
|
+
"build": "npm-run-all build:prod build:types",
|
|
31
32
|
"clean": "rm -rf dist playwright-report ../spaday_regular_table/extension",
|
|
32
33
|
"dev": "npm-run-all -p start watch",
|
|
33
34
|
"lint": "oxlint . && oxfmt --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
|
|
@@ -40,17 +41,18 @@
|
|
|
40
41
|
"watch": "nodemon --watch src -e ts,css,html --exec \"pnpm build:debug\""
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
43
|
-
"regular-table": "
|
|
44
|
+
"regular-table": "=0.9.0"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@playwright/test": "^1.62.
|
|
47
|
+
"@playwright/test": "^1.62.1",
|
|
47
48
|
"cpy": "^13.2.2",
|
|
48
|
-
"esbuild": "^0.28.
|
|
49
|
+
"esbuild": "^0.28.2",
|
|
49
50
|
"http-server": "^14.1.1",
|
|
50
|
-
"
|
|
51
|
+
"lightningcss": "^1.33.0",
|
|
52
|
+
"nodemon": "^3.1.14",
|
|
51
53
|
"npm-run-all": "^4.1.5",
|
|
52
|
-
"oxfmt": "^0.
|
|
53
|
-
"oxlint": "^1.
|
|
54
|
+
"oxfmt": "^0.66.0",
|
|
55
|
+
"oxlint": "^1.81.0",
|
|
54
56
|
"typescript": "^7.0.2"
|
|
55
57
|
}
|
|
56
58
|
}
|