@jsonui/core 0.0.11 → 0.1.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 (86) hide show
  1. package/README.md +20 -0
  2. package/dist/cjs/index.js +14600 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/types/index.d.ts +13 -0
  5. package/dist/{stock → cjs/types/stock}/Stock.d.ts +27 -27
  6. package/dist/cjs/types/stock/Stock.test.d.ts +1 -0
  7. package/dist/{stock → cjs/types/stock}/appRootFunctions.d.ts +7 -7
  8. package/dist/{stock → cjs/types/stock}/functions.d.ts +7 -7
  9. package/dist/{stock → cjs/types/stock}/validation.d.ts +7 -7
  10. package/dist/{store → cjs/types/store}/persistConfig.d.ts +8 -8
  11. package/dist/{store → cjs/types/store}/reducers.d.ts +4 -4
  12. package/dist/{store → cjs/types/store}/root/actions.d.ts +10 -10
  13. package/dist/{store → cjs/types/store}/root/reducer.d.ts +4 -4
  14. package/dist/cjs/types/store/root/reducer.test.d.ts +1 -0
  15. package/dist/cjs/types/store/root/selector.test.d.ts +1 -0
  16. package/dist/{store → cjs/types/store}/root/selectors.d.ts +11 -11
  17. package/dist/{util → cjs/types/utils}/I18n.d.ts +27 -27
  18. package/dist/cjs/types/utils/I18n.test.d.ts +1 -0
  19. package/dist/{utils → cjs/types/utils}/constants.d.ts +23 -19
  20. package/dist/{utils → cjs/types/utils}/contextHandler.d.ts +4 -4
  21. package/dist/{util → cjs/types/utils}/jsonRefResolver.d.ts +2 -2
  22. package/dist/{utils → cjs/types/utils}/types.d.ts +27 -27
  23. package/dist/cjs/types/utils/util.d.ts +18 -0
  24. package/dist/cjs/types/utils/util.test.d.ts +1 -0
  25. package/dist/{wrapper → cjs/types/wrapper}/wrapperUtil.d.ts +15 -15
  26. package/dist/esm/index.js +14600 -0
  27. package/dist/esm/index.js.map +1 -0
  28. package/dist/esm/types/index.d.ts +13 -0
  29. package/dist/esm/types/stock/Stock.d.ts +27 -0
  30. package/dist/esm/types/stock/Stock.test.d.ts +1 -0
  31. package/dist/esm/types/stock/appRootFunctions.d.ts +7 -0
  32. package/dist/esm/types/stock/functions.d.ts +7 -0
  33. package/dist/esm/types/stock/validation.d.ts +7 -0
  34. package/dist/esm/types/store/persistConfig.d.ts +8 -0
  35. package/dist/esm/types/store/reducers.d.ts +4 -0
  36. package/dist/esm/types/store/root/actions.d.ts +10 -0
  37. package/dist/esm/types/store/root/reducer.d.ts +4 -0
  38. package/dist/esm/types/store/root/reducer.test.d.ts +1 -0
  39. package/dist/esm/types/store/root/selector.test.d.ts +1 -0
  40. package/dist/esm/types/store/root/selectors.d.ts +11 -0
  41. package/dist/{utils → esm/types/utils}/I18n.d.ts +27 -27
  42. package/dist/esm/types/utils/I18n.test.d.ts +1 -0
  43. package/dist/{util → esm/types/utils}/constants.d.ts +23 -19
  44. package/dist/esm/types/utils/contextHandler.d.ts +4 -0
  45. package/dist/{utils → esm/types/utils}/jsonRefResolver.d.ts +2 -2
  46. package/dist/{util → esm/types/utils}/types.d.ts +27 -27
  47. package/dist/esm/types/utils/util.d.ts +18 -0
  48. package/dist/esm/types/utils/util.test.d.ts +1 -0
  49. package/dist/esm/types/wrapper/wrapperUtil.d.ts +15 -0
  50. package/dist/index.d.ts +273 -14
  51. package/package.json +22 -9
  52. package/.eslintrc.json +0 -51
  53. package/.prettierrc +0 -6
  54. package/dist/index.cjs +0 -2
  55. package/dist/index.cjs.map +0 -1
  56. package/dist/index.modern.js +0 -2
  57. package/dist/index.modern.js.map +0 -1
  58. package/dist/index.module.mjs +0 -2
  59. package/dist/index.module.mjs.map +0 -1
  60. package/dist/index.umd.js +0 -2
  61. package/dist/index.umd.js.map +0 -1
  62. package/dist/store/renderers/actions.d.ts +0 -10
  63. package/dist/store/renderers/reducer.d.ts +0 -2
  64. package/dist/store/renderers/selectors.d.ts +0 -5
  65. package/dist/util/contextHandler.d.ts +0 -3
  66. package/dist/util/util.d.ts +0 -22
  67. package/dist/utils/util.d.ts +0 -22
  68. package/src/index.ts +0 -30
  69. package/src/stock/Stock.ts +0 -75
  70. package/src/stock/appRootFunctions.ts +0 -15
  71. package/src/stock/functions.ts +0 -25
  72. package/src/stock/validation.ts +0 -30
  73. package/src/store/persistConfig.ts +0 -20
  74. package/src/store/reducers.ts +0 -6
  75. package/src/store/root/actions.ts +0 -12
  76. package/src/store/root/reducer.ts +0 -71
  77. package/src/store/root/selectors.ts +0 -61
  78. package/src/typings/key-value-replace.d.ts +0 -8
  79. package/src/utils/I18n.ts +0 -99
  80. package/src/utils/constants.ts +0 -21
  81. package/src/utils/contextHandler.ts +0 -5
  82. package/src/utils/jsonRefResolver.ts +0 -88
  83. package/src/utils/types.ts +0 -35
  84. package/src/utils/util.ts +0 -142
  85. package/src/wrapper/wrapperUtil.tsx +0 -139
  86. package/tsconfig.json +0 -5
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # JSONUI
2
+
3
+ This is a core module of JsonUI, please use check the usage in @jsonui/react or @jsonui/reactnative
4
+
5
+ This is a Json markup language to define User Interface as a canvas where you can draw with Json definition.
6
+
7
+ When you change the Json definition, the interface immediately reflects on what you defined/changed.
8
+
9
+ Actually JSONUI is available for **react** and **react-native**. It will be able to integrate to 99% of the cross-platform environments, thanks for reactjs ecosystem
10
+
11
+ The UI definition contains a layout definition and components configuration as well. The most important it has a built in **state management system**. Data can be **persistent** or not, depends on the name of the store.
12
+
13
+ ## Core concept
14
+
15
+ Build a data driven UI. The "definition" is changeable by developer anytime and any reason.
16
+ If you would like to build a remote controlled app or a form generator app, I hope you will love it.
17
+
18
+ ## LICENSE [MIT](LICENSE)
19
+
20
+ Copyright (c) 2022 Istvan Fodor.