@contributte/datagrid 0.0.0-20250531-d4580b9

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.
Files changed (39) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +84 -0
  3. package/assets/ajax/index.ts +1 -0
  4. package/assets/ajax/naja.ts +154 -0
  5. package/assets/css/datagrid-all.css +6 -0
  6. package/assets/css/datagrid-full.css +7 -0
  7. package/assets/css/datagrid.css +651 -0
  8. package/assets/css/happy.css +463 -0
  9. package/assets/datagrid-all.ts +1 -0
  10. package/assets/datagrid-full.ts +53 -0
  11. package/assets/datagrid.ts +228 -0
  12. package/assets/index.ts +4 -0
  13. package/assets/integrations/happy.ts +217 -0
  14. package/assets/integrations/index.ts +4 -0
  15. package/assets/integrations/sortable-js.ts +58 -0
  16. package/assets/integrations/tom-select.ts +30 -0
  17. package/assets/integrations/vanilla-datepicker.ts +25 -0
  18. package/assets/plugins/features/autosubmit.ts +87 -0
  19. package/assets/plugins/features/checkboxes.ts +92 -0
  20. package/assets/plugins/features/confirm.ts +28 -0
  21. package/assets/plugins/features/editable.ts +118 -0
  22. package/assets/plugins/features/inline.ts +89 -0
  23. package/assets/plugins/features/item-detail.ts +48 -0
  24. package/assets/plugins/features/treeView.ts +44 -0
  25. package/assets/plugins/index.ts +13 -0
  26. package/assets/plugins/integrations/datepicker.ts +25 -0
  27. package/assets/plugins/integrations/happy.ts +19 -0
  28. package/assets/plugins/integrations/nette-forms.ts +18 -0
  29. package/assets/plugins/integrations/selectpicker.ts +25 -0
  30. package/assets/plugins/integrations/sortable.ts +61 -0
  31. package/assets/types/ajax.d.ts +143 -0
  32. package/assets/types/datagrid.d.ts +31 -0
  33. package/assets/types/index.d.ts +41 -0
  34. package/assets/types/integrations.d.ts +15 -0
  35. package/assets/utils.ts +179 -0
  36. package/dist/datagrid-full.css +1 -0
  37. package/dist/datagrid-full.js +20 -0
  38. package/dist/datagrid-full.js.map +1 -0
  39. package/package.json +55 -0
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@contributte/datagrid",
3
+ "version": "0.0.0-20250531-d4580b9",
4
+ "description": "Assets for contributte/datagrid",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/contributte/datagrid"
8
+ },
9
+ "keywords": [
10
+ "contributte",
11
+ "datagrid",
12
+ "tables"
13
+ ],
14
+ "license": "MIT",
15
+ "type": "module",
16
+ "files": [
17
+ "dist",
18
+ "assets"
19
+ ],
20
+ "scripts": {
21
+ "build": "rollup -c",
22
+ "dev": "rollup -c -w"
23
+ },
24
+ "dependencies": {
25
+ "@fortawesome/fontawesome-free": "^6.7.2",
26
+ "bootstrap": "^5.3.6",
27
+ "naja": "^2.6.1",
28
+ "nette-forms": "^3.5.3",
29
+ "sortablejs": "^1.15.6",
30
+ "tom-select": "^2.4.3",
31
+ "vanillajs-datepicker": "^1.3.4"
32
+ },
33
+ "devDependencies": {
34
+ "@rollup/plugin-commonjs": "^28.0.3",
35
+ "@rollup/plugin-node-resolve": "^15.2.3",
36
+ "@rollup/plugin-terser": "^0.4.4",
37
+ "@rollup/plugin-typescript": "^12.1.2",
38
+ "@rollup/plugin-url": "^8.0.2",
39
+ "@types/bootstrap": "^5.2.10",
40
+ "@types/jquery": "^3.5.32",
41
+ "@types/jqueryui": "^1.12.24",
42
+ "@types/node": "^22.15.27",
43
+ "@types/sortablejs": "^1.15.8",
44
+ "@types/vanillajs-datepicker": "^1.3.5",
45
+ "autoprefixer": "^10.4.21",
46
+ "postcss": "^8.4.35",
47
+ "postcss-import": "^16.1.0",
48
+ "postcss-url": "^10.1.3",
49
+ "rollup": "^4.41.1",
50
+ "rollup-plugin-postcss": "^4.0.2",
51
+ "sass": "^1.71.1",
52
+ "tslib": "^2.8.1",
53
+ "typescript": "^5.8.3"
54
+ }
55
+ }