kimu-core 0.4.1 → 0.5.0

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 (75) hide show
  1. package/.editorconfig +116 -30
  2. package/.gitattributes +81 -11
  3. package/.github/FUNDING.yml +8 -8
  4. package/.github/kimu-copilot-instructions.md +3779 -3779
  5. package/.github/workflows/deploy-demo.yml +39 -39
  6. package/.nvmrc +1 -0
  7. package/.prettierignore +44 -0
  8. package/.prettierrc +16 -0
  9. package/FUNDING.md +31 -31
  10. package/icon.svg +10 -10
  11. package/kimu-core-0.5.0.tgz +0 -0
  12. package/package.json +10 -3
  13. package/scripts/minify-css-assets.js +82 -82
  14. package/src/core/index.ts +47 -47
  15. package/src/core/kimu-global-styles.ts +136 -136
  16. package/src/core/kimu-reactive.ts +196 -196
  17. package/src/extensions/{kimu-home → app-root}/component.ts +5 -5
  18. package/src/extensions/extensions-manifest.json +4 -4
  19. package/src/main.ts +3 -3
  20. package/src/modules-repository/api-axios/CHANGELOG.md +48 -48
  21. package/src/modules-repository/api-axios/QUICK-REFERENCE.md +178 -178
  22. package/src/modules-repository/api-axios/README.md +304 -304
  23. package/src/modules-repository/api-axios/api-axios-service.ts +355 -355
  24. package/src/modules-repository/api-axios/examples.ts +293 -293
  25. package/src/modules-repository/api-axios/index.ts +19 -19
  26. package/src/modules-repository/api-axios/interfaces.ts +71 -71
  27. package/src/modules-repository/api-axios/module.ts +41 -41
  28. package/src/modules-repository/api-core/CHANGELOG.md +42 -42
  29. package/src/modules-repository/api-core/QUICK-REFERENCE.md +192 -192
  30. package/src/modules-repository/api-core/README.md +435 -435
  31. package/src/modules-repository/api-core/api-core-service.ts +289 -289
  32. package/src/modules-repository/api-core/examples.ts +432 -432
  33. package/src/modules-repository/api-core/index.ts +8 -8
  34. package/src/modules-repository/api-core/interfaces.ts +83 -83
  35. package/src/modules-repository/api-core/module.ts +30 -30
  36. package/src/modules-repository/event-bus/README.md +273 -273
  37. package/src/modules-repository/event-bus/event-bus-service.ts +176 -176
  38. package/src/modules-repository/event-bus/module.ts +30 -30
  39. package/src/modules-repository/notification/README.md +423 -423
  40. package/src/modules-repository/notification/module.ts +30 -30
  41. package/src/modules-repository/notification/notification-service.ts +436 -436
  42. package/src/modules-repository/router/README.it.md +61 -10
  43. package/src/modules-repository/router/README.md +61 -10
  44. package/src/modules-repository/router/router-config.ts.example +61 -0
  45. package/src/modules-repository/router/router.ts +18 -0
  46. package/src/modules-repository/state/README.md +409 -409
  47. package/src/modules-repository/state/module.ts +30 -30
  48. package/src/modules-repository/state/state-service.ts +296 -296
  49. package/src/modules-repository/theme/README.md +311 -267
  50. package/src/modules-repository/theme/module.ts +30 -30
  51. package/src/modules-repository/theme/pre-build.js +40 -40
  52. package/src/modules-repository/theme/theme-service.ts +411 -389
  53. package/src/modules-repository/theme/themes/theme-cherry-blossom.css +78 -78
  54. package/src/modules-repository/theme/themes/theme-cozy.css +111 -111
  55. package/src/modules-repository/theme/themes/theme-cyberpunk.css +150 -150
  56. package/src/modules-repository/theme/themes/theme-dark.css +79 -79
  57. package/src/modules-repository/theme/themes/theme-forest.css +171 -171
  58. package/src/modules-repository/theme/themes/theme-gold.css +100 -100
  59. package/src/modules-repository/theme/themes/theme-high-contrast.css +126 -126
  60. package/src/modules-repository/theme/themes/theme-lava.css +101 -101
  61. package/src/modules-repository/theme/themes/theme-lavender.css +90 -90
  62. package/src/modules-repository/theme/themes/theme-light.css +79 -79
  63. package/src/modules-repository/theme/themes/theme-matrix.css +103 -103
  64. package/src/modules-repository/theme/themes/theme-midnight.css +81 -81
  65. package/src/modules-repository/theme/themes/theme-nord.css +94 -94
  66. package/src/modules-repository/theme/themes/theme-ocean.css +84 -84
  67. package/src/modules-repository/theme/themes/theme-retro80s.css +343 -343
  68. package/src/modules-repository/theme/themes/theme-sunset.css +62 -62
  69. package/src/modules-repository/theme/themes-config-default.json +19 -0
  70. package/src/modules-repository/theme/themes-config.d.ts +27 -27
  71. package/src/modules-repository/theme/{themes-config.json → themes-config.json.example} +223 -213
  72. /package/src/extensions/{kimu-home → app-root}/lang/en.json +0 -0
  73. /package/src/extensions/{kimu-home → app-root}/lang/it.json +0 -0
  74. /package/src/extensions/{kimu-home → app-root}/style.css +0 -0
  75. /package/src/extensions/{kimu-home → app-root}/view.html +0 -0
package/.editorconfig CHANGED
@@ -1,30 +1,116 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
-
11
- [*.md]
12
- trim_trailing_whitespace = false
13
-
14
- [*.json]
15
- indent_size = 2
16
-
17
- [*.ts]
18
- indent_size = 2
19
-
20
- [*.js]
21
- indent_size = 2
22
-
23
- [*.css]
24
- indent_size = 2
25
-
26
- [*.scss]
27
- indent_size = 2
28
-
29
- [*.html]
30
- indent_size = 2
1
+ # EditorConfig is awesome: https://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ # Unix-style newlines with a newline ending every file
7
+ [*]
8
+ end_of_line = lf
9
+ insert_final_newline = true
10
+ charset = utf-8
11
+ trim_trailing_whitespace = true
12
+ indent_style = space
13
+ indent_size = 2
14
+
15
+ # TypeScript and JavaScript files
16
+ [*.{ts,tsx,js,jsx,mjs,cjs}]
17
+ indent_style = space
18
+ indent_size = 2
19
+
20
+ # JSON files
21
+ [*.json]
22
+ indent_style = space
23
+ indent_size = 2
24
+
25
+ # JSON5 and JSONC files
26
+ [*.{json5,jsonc}]
27
+ indent_style = space
28
+ indent_size = 2
29
+
30
+ # YAML files
31
+ [*.{yml,yaml}]
32
+ indent_style = space
33
+ indent_size = 2
34
+
35
+ # CSS, SCSS, Sass, and Less files
36
+ [*.{css,scss,sass,less}]
37
+ indent_style = space
38
+ indent_size = 2
39
+
40
+ # HTML and template files
41
+ [*.{html,htm}]
42
+ indent_style = space
43
+ indent_size = 2
44
+
45
+ # XML and SVG files
46
+ [*.{xml,svg}]
47
+ indent_style = space
48
+ indent_size = 2
49
+
50
+ # Markdown files
51
+ [*.md]
52
+ trim_trailing_whitespace = false
53
+ max_line_length = off
54
+
55
+ # Text and documentation files
56
+ [*.{txt,rst}]
57
+ trim_trailing_whitespace = true
58
+
59
+ # Log files
60
+ [*.log]
61
+ insert_final_newline = false
62
+
63
+ # GraphQL files
64
+ [*.{graphql,gql}]
65
+ indent_style = space
66
+ indent_size = 2
67
+
68
+ # Makefiles
69
+ [Makefile]
70
+ indent_style = tab
71
+
72
+ # Package files
73
+ [package.json]
74
+ indent_style = space
75
+ indent_size = 2
76
+
77
+ # Lock files (read-only, don't format)
78
+ [{package-lock.json,yarn.lock,pnpm-lock.yaml}]
79
+ indent_style = space
80
+ indent_size = 2
81
+ insert_final_newline = false
82
+
83
+ # Configuration files
84
+ [*.config.{js,ts,mjs,cjs}]
85
+ indent_style = space
86
+ indent_size = 2
87
+
88
+ # RC files (dotfiles)
89
+ [.{eslintrc,prettierrc,babelrc,stylelintrc}*]
90
+ indent_style = space
91
+ indent_size = 2
92
+
93
+ # Docker files
94
+ [{Dockerfile,*.dockerfile}]
95
+ indent_style = space
96
+ indent_size = 2
97
+
98
+ [docker-compose*.{yml,yaml}]
99
+ indent_style = space
100
+ indent_size = 2
101
+
102
+ # Shell scripts
103
+ [*.{sh,bash,zsh}]
104
+ indent_style = space
105
+ indent_size = 2
106
+ end_of_line = lf
107
+
108
+ # Batch files (Windows)
109
+ [*.{cmd,bat}]
110
+ end_of_line = crlf
111
+
112
+ # PowerShell files
113
+ [*.ps1]
114
+ indent_style = space
115
+ indent_size = 2
116
+ end_of_line = crlf
package/.gitattributes CHANGED
@@ -1,11 +1,81 @@
1
- # Ensure consistent line endings
2
- * text=auto
3
-
4
- # Treat Markdown and code files as UTF-8
5
- *.md text eol=lf
6
- *.js text eol=lf
7
- *.ts text eol=lf
8
- *.json text eol=lf
9
- *.css text eol=lf
10
- *.html text eol=lf
11
- *.scss text eol=lf
1
+ # Git attributes for consistent line endings and file handling
2
+ # https://git-scm.com/docs/gitattributes
3
+
4
+ # Auto detect text files and normalize line endings to LF
5
+ * text=auto eol=lf
6
+
7
+ # Explicitly declare text files
8
+ *.ts text eol=lf
9
+ *.js text eol=lf
10
+ *.mjs text eol=lf
11
+ *.cjs text eol=lf
12
+ *.json text eol=lf
13
+ *.md text eol=lf
14
+ *.yml text eol=lf
15
+ *.yaml text eol=lf
16
+ *.txt text eol=lf
17
+ *.xml text eol=lf
18
+ *.html text eol=lf
19
+ *.css text eol=lf
20
+ *.scss text eol=lf
21
+ *.sass text eol=lf
22
+ *.sh text eol=lf
23
+
24
+ # Configuration files
25
+ .editorconfig text eol=lf
26
+ .gitignore text eol=lf
27
+ .gitattributes text eol=lf
28
+ .npmrc text eol=lf
29
+ .eslintrc* text eol=lf
30
+ .prettierrc* text eol=lf
31
+ tsconfig*.json text eol=lf
32
+ package.json text eol=lf
33
+ package-lock.json text eol=lf
34
+
35
+ # Scripts
36
+ *.bash text eol=lf
37
+ *.zsh text eol=lf
38
+
39
+ # Windows specific files (use CRLF)
40
+ *.bat text eol=crlf
41
+ *.cmd text eol=crlf
42
+ *.ps1 text eol=crlf
43
+
44
+ # Binary files (no text conversion)
45
+ *.png binary
46
+ *.jpg binary
47
+ *.jpeg binary
48
+ *.gif binary
49
+ *.ico binary
50
+ *.svg binary
51
+ *.woff binary
52
+ *.woff2 binary
53
+ *.ttf binary
54
+ *.eot binary
55
+ *.otf binary
56
+ *.pdf binary
57
+ *.zip binary
58
+ *.tar binary
59
+ *.gz binary
60
+ *.tgz binary
61
+
62
+ # Linguist vendored paths (exclude from language statistics)
63
+ dist/** linguist-generated=true
64
+ node_modules/** linguist-vendored
65
+
66
+ # Git diff settings
67
+ *.ts diff=typescript
68
+ *.js diff=javascript
69
+ *.json diff=json
70
+ *.md diff=markdown
71
+
72
+ # Git merge strategies
73
+ package-lock.json merge=ours
74
+ yarn.lock merge=ours
75
+ pnpm-lock.yaml merge=ours
76
+
77
+ # Mark files as documentation
78
+ docs/** linguist-documentation
79
+ *.md linguist-documentation
80
+ LICENSE linguist-documentation
81
+ CHANGELOG.md linguist-documentation
@@ -1,8 +1,8 @@
1
- github: hocram
2
- open_collective: unicoverso
3
- patreon: UnicoVerso
4
- ko_fi: marcodipasquale
5
- custom:
6
- - "https://unicoverso.com/dona"
7
- - "https://paypal.me/marcodipasquale"
8
- - "https://www.buymeacoffee.com/hocram"
1
+ github: hocram
2
+ open_collective: unicoverso
3
+ patreon: UnicoVerso
4
+ ko_fi: marcodipasquale
5
+ custom:
6
+ - "https://unicoverso.com/dona"
7
+ - "https://paypal.me/marcodipasquale"
8
+ - "https://www.buymeacoffee.com/hocram"