@evlop/commons 1.0.236 → 1.0.238

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. package/dist/src/actions/restApi.js +8 -1
  2. package/dist/src/actions/restApi.js.map +1 -1
  3. package/dist/src/adapters/getUserToken/index.js +7 -18
  4. package/dist/src/adapters/getUserToken/index.js.map +1 -1
  5. package/dist/src/adapters/getUserToken/index.native.js +9 -20
  6. package/dist/src/adapters/getUserToken/index.native.js.map +1 -1
  7. package/dist/src/classes/Model.js +5 -14
  8. package/dist/src/classes/Model.js.map +1 -1
  9. package/dist/src/components/hoc/withSettings.js +1 -12
  10. package/dist/src/components/hoc/withSettings.js.map +1 -1
  11. package/dist/src/components/hoc/withSettings.native.js +2 -13
  12. package/dist/src/components/hoc/withSettings.native.js.map +1 -1
  13. package/dist/src/constants/iconInfo/index.js +4 -5
  14. package/dist/src/constants/iconInfo/index.js.map +1 -1
  15. package/dist/src/constants/iconInfo/reactNativeVectorIcons.js +1 -1
  16. package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -1
  17. package/dist/src/contexts/EDLContext.d.ts +7 -0
  18. package/dist/src/contexts/EDLContext.d.ts.map +1 -0
  19. package/dist/src/contexts/EDLContext.js +10 -0
  20. package/dist/src/contexts/EDLContext.js.map +1 -0
  21. package/dist/src/data-sources/collection.js +3 -12
  22. package/dist/src/data-sources/collection.js.map +1 -1
  23. package/dist/src/data-sources/collectionRecord.js +3 -12
  24. package/dist/src/data-sources/collectionRecord.js.map +1 -1
  25. package/dist/src/data-sources/listUrl.js +3 -12
  26. package/dist/src/data-sources/listUrl.js.map +1 -1
  27. package/dist/src/data-sources/url.js +3 -12
  28. package/dist/src/data-sources/url.js.map +1 -1
  29. package/dist/src/edl/BlockRenderer.d.ts +9 -0
  30. package/dist/src/edl/BlockRenderer.d.ts.map +1 -0
  31. package/dist/src/edl/BlockRenderer.js +102 -0
  32. package/dist/src/edl/BlockRenderer.js.map +1 -0
  33. package/dist/src/edl/DataSourceLoader.d.ts +7 -0
  34. package/dist/src/edl/DataSourceLoader.d.ts.map +1 -0
  35. package/dist/src/edl/DataSourceLoader.js +13 -0
  36. package/dist/src/edl/DataSourceLoader.js.map +1 -0
  37. package/dist/src/edl/elements/DataSource.d.ts +8 -0
  38. package/dist/src/edl/elements/DataSource.d.ts.map +1 -0
  39. package/dist/src/edl/elements/DataSource.js +19 -0
  40. package/dist/src/edl/elements/DataSource.js.map +1 -0
  41. package/dist/src/edl/elements/Fragment.d.ts +9 -0
  42. package/dist/src/edl/elements/Fragment.d.ts.map +1 -0
  43. package/dist/src/edl/elements/Fragment.js +14 -0
  44. package/dist/src/edl/elements/Fragment.js.map +1 -0
  45. package/dist/src/edl/elements/UseEffect.d.ts +10 -0
  46. package/dist/src/edl/elements/UseEffect.d.ts.map +1 -0
  47. package/dist/src/edl/elements/UseEffect.js +28 -0
  48. package/dist/src/edl/elements/UseEffect.js.map +1 -0
  49. package/dist/src/edl/elements/index.d.ts +17 -0
  50. package/dist/src/edl/elements/index.d.ts.map +1 -0
  51. package/dist/src/edl/elements/index.js +16 -0
  52. package/dist/src/edl/elements/index.js.map +1 -0
  53. package/dist/src/edl/index.d.ts +28 -0
  54. package/dist/src/edl/index.d.ts.map +1 -0
  55. package/dist/src/edl/index.js +107 -0
  56. package/dist/src/edl/index.js.map +1 -0
  57. package/dist/src/edl/localStorage.app.d.ts +6 -0
  58. package/dist/src/edl/localStorage.app.d.ts.map +1 -0
  59. package/dist/src/edl/localStorage.app.js +14 -0
  60. package/dist/src/edl/localStorage.app.js.map +1 -0
  61. package/dist/src/edl/localStorage.d.ts +6 -0
  62. package/dist/src/edl/localStorage.d.ts.map +1 -0
  63. package/dist/src/edl/localStorage.js +10 -0
  64. package/dist/src/edl/localStorage.js.map +1 -0
  65. package/dist/src/edl/parser.d.ts +3 -0
  66. package/dist/src/edl/parser.d.ts.map +1 -0
  67. package/dist/src/edl/parser.js +166 -0
  68. package/dist/src/edl/parser.js.map +1 -0
  69. package/dist/src/helpers/functions.js +1 -1
  70. package/dist/src/helpers/functions.js.map +1 -1
  71. package/dist/src/helpers/handlebarHelpers.js +1 -1
  72. package/dist/src/helpers/handlebarHelpers.js.map +1 -1
  73. package/dist/src/helpers/handlebarHelpers.test.d.ts.map +1 -1
  74. package/dist/src/helpers/handlebarHelpers.test.js +1 -1
  75. package/dist/src/helpers/handlebarHelpers.test.js.map +1 -1
  76. package/dist/src/helpers/iconHelper.js +7 -13
  77. package/dist/src/helpers/iconHelper.js.map +1 -1
  78. package/dist/src/helpers/pathHelper.js +1 -1
  79. package/dist/src/helpers/pathHelper.js.map +1 -1
  80. package/dist/src/helpers/themeHelpers.js +23 -3
  81. package/dist/src/helpers/themeHelpers.js.map +1 -1
  82. package/dist/src/hooks/useAction.js +3 -12
  83. package/dist/src/hooks/useAction.js.map +1 -1
  84. package/dist/src/hooks/useActionable.d.ts +1 -0
  85. package/dist/src/hooks/useActionable.d.ts.map +1 -1
  86. package/dist/src/hooks/useActionable.js +3 -1
  87. package/dist/src/hooks/useActionable.js.map +1 -1
  88. package/dist/src/hooks/useComponentConfigProps.js +1 -1
  89. package/dist/src/hooks/useComponentConfigProps.js.map +1 -1
  90. package/dist/src/hooks/useDataSource.js +1 -1
  91. package/dist/src/hooks/useDataSource.js.map +1 -1
  92. package/dist/src/hooks/useNavigator.js +1 -1
  93. package/dist/src/hooks/useNavigator.js.map +1 -1
  94. package/dist/src/hooks/useParams.js +1 -1
  95. package/dist/src/hooks/useParams.js.map +1 -1
  96. package/dist/src/hooks/useTranslation.js +2 -5
  97. package/dist/src/hooks/useTranslation.js.map +1 -1
  98. package/dist/src/middlewares/dataSourceMiddleware.js +11 -22
  99. package/dist/src/middlewares/dataSourceMiddleware.js.map +1 -1
  100. package/dist/src/middlewares/restApiMiddleware.js +5 -5
  101. package/dist/src/middlewares/restApiMiddleware.js.map +1 -1
  102. package/dist/src/providers/I18nProvider.js +11 -14
  103. package/dist/src/providers/I18nProvider.js.map +1 -1
  104. package/dist/src/providers/Scope.js +4 -1
  105. package/dist/src/providers/Scope.js.map +1 -1
  106. package/dist/src/reducers/adminMenus.js +1 -1
  107. package/dist/src/reducers/adminMenus.js.map +1 -1
  108. package/dist/src/reducers/collection.js +66 -15
  109. package/dist/src/reducers/collection.js.map +1 -1
  110. package/dist/src/reducers/components.js +28 -7
  111. package/dist/src/reducers/components.js.map +1 -1
  112. package/dist/src/reducers/config/index.js +16 -4
  113. package/dist/src/reducers/config/index.js.map +1 -1
  114. package/dist/src/reducers/context.js +5 -16
  115. package/dist/src/reducers/context.js.map +1 -1
  116. package/dist/src/reducers/dataSource.js +14 -2
  117. package/dist/src/reducers/dataSource.js.map +1 -1
  118. package/dist/src/reducers/files.js +18 -4
  119. package/dist/src/reducers/files.js.map +1 -1
  120. package/dist/src/reducers/fonts.js +15 -6
  121. package/dist/src/reducers/fonts.js.map +1 -1
  122. package/dist/src/reducers/icons.js +3 -12
  123. package/dist/src/reducers/icons.js.map +1 -1
  124. package/dist/src/reducers/modals.js +1 -1
  125. package/dist/src/reducers/modals.js.map +1 -1
  126. package/dist/src/reducers/pages/index.js +69 -27
  127. package/dist/src/reducers/pages/index.js.map +1 -1
  128. package/dist/src/reducers/routes.js +19 -21
  129. package/dist/src/reducers/routes.js.map +1 -1
  130. package/dist/src/reducers/search.js +4 -1
  131. package/dist/src/reducers/search.js.map +1 -1
  132. package/dist/src/reducers/session.js +21 -4
  133. package/dist/src/reducers/session.js.map +1 -1
  134. package/dist/src/reducers/user.js +12 -2
  135. package/dist/src/reducers/user.js.map +1 -1
  136. package/dist/src/services/SessionManager.js +4 -1
  137. package/dist/src/services/SessionManager.js.map +1 -1
  138. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"session.js","sourceRoot":"","sources":["../../../src/reducers/session.tsx"],"names":[],"mappings":";;;AAAA,mCAAwE;AACxE,+BAAoC;AACpC,wCAAqC;AAErC,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,SAAM,CAAC,GAAG,eAAM,CAAC,MAAM,CAA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AO,CAAC,WAAW,CAAC;gBAAE,OAAO,KAAK,CAAC;YAEtC,OAAO;gBACH,GAAG,KAAK;gBACR,cAAc,EAAE,mBAAU,CAAC,KAAK,CAAC,cAAc,EAAE,WAAW,CAAC;aAChE,CAAC;SACL;QACD,KAAK,qBAAa;YACd,OAAO,kBAAkB,EAAE,CAAC;QAChC;YACI,OAAO,KAAK,CAAC;KACpB;AACL,CAAC,CAAC;AAEF,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;AACvB,kBAAe,OAAO,CAAC"}
@@ -66,7 +66,13 @@ function register(data) {
66
66
  };
67
67
  }
68
68
  exports.register = register;
69
- const fetch = (endpoint, options) => (Object.assign({ endpoint, types: ["REQUEST", "SUCCESS", "FAILURE"], method: redux_rest_1.GET, isRestRequest: true }, options));
69
+ const fetch = (endpoint, options) => ({
70
+ endpoint,
71
+ types: ["REQUEST", "SUCCESS", "FAILURE"],
72
+ method: redux_rest_1.GET,
73
+ isRestRequest: true,
74
+ ...options
75
+ });
70
76
  exports.fetch = fetch;
71
77
  function logout() {
72
78
  return {
@@ -78,7 +84,11 @@ const initialState = { isLoggedIn: null };
78
84
  const user = (state = initialState, action) => {
79
85
  switch (action.type) {
80
86
  case exports.GET_ME_SUCCESS:
81
- return Object.assign(Object.assign(Object.assign({}, state), action.response), { isLoggedIn: true });
87
+ return {
88
+ ...state,
89
+ ...action.response,
90
+ isLoggedIn: true,
91
+ };
82
92
  case exports.LOGOUT:
83
93
  return { isLoggedIn: false };
84
94
  default:
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/reducers/user.tsx"],"names":[],"mappings":";;;AAAA,qDAA+C;AAElC,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,aAAa,GAAG,eAAe,CAAC;AAEhC,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,Q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
13
13
  console.log(id, data, pendingUpdates);
14
14
  if (lodash_1.isEmpty(pendingUpdates) || !id)
15
15
  return;
16
- const updates = lodash_1.reduce(pendingUpdates, (values, key) => (Object.assign(Object.assign({}, values), { [key]: lodash_1.isUndefined(data[key]) ? null : data[key] })), {});
16
+ const updates = lodash_1.reduce(pendingUpdates, (values, key) => ({
17
+ ...values,
18
+ [key]: lodash_1.isUndefined(data[key]) ? null : data[key]
19
+ }), {});
17
20
  console.log('updating values', updates);
18
21
  dispatch(session_1.updateRemoteSessionData(id, updates));
19
22
  }, [id, pendingUpdates, data, dispatch]);
@@ -1 +1 @@
1
- {"version":3,"file":"SessionManager.js","sourceRoot":"","sources":["../../../src/services/SessionManager.tsx"],"names":[],"mappings":";;;AAAA,mCAA0D;AAC1D,iCAAkC;AAClC,6CAAuD;AACvD,iDAA8D;AAE9D,SAAgB,cAAc;IAE1B,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,OAAO,GAAG,yBAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAE5C,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,GAAG,WAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAA;IAEhF,iBAAS,CAAC,GAAE,EAAE;QACV,OAAO,CAAC,GAAG,CAAE,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,CAAA;QACtC,IAAG,gBAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;YAAE,OAAO;QAC1C,MAAM,OAAO,GAAG,eAAM,CAAC,cAAc,EAAE,CAAC,MAAM,EAAE,GAAG,EAAC,EAAE,CAAA,iCAC/C,MAAM,KACT,CAAC,GAAG,CAAC,EAAE,oBAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,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QACP,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA;QACvC,QAAQ,CAAC,iCAAuB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAA;IAClD,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEzC,OAAO,IAAI,CAAC;AAChB,CAAC;AAnBD,wCAmBC;AAED,kBAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/commons",
3
- "version": "1.0.236",
3
+ "version": "1.0.238",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "peerDependencies": {