@evlop/commons 1.0.259 → 1.0.261

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 (1676) hide show
  1. package/dist/cjs/bin/generate-google-fonts-cache.d.ts.map +1 -0
  2. package/dist/cjs/bin/generate-google-fonts-cache.js.map +1 -0
  3. package/dist/cjs/bin/generate-icons-cache.d.ts.map +1 -0
  4. package/dist/cjs/bin/generate-icons-cache.js +49 -0
  5. package/dist/cjs/bin/generate-icons-cache.js.map +1 -0
  6. package/dist/cjs/main.d.ts.map +1 -0
  7. package/dist/cjs/main.js.map +1 -0
  8. package/dist/cjs/src/actions/index.d.ts.map +1 -0
  9. package/dist/cjs/src/actions/index.js.map +1 -0
  10. package/dist/cjs/src/actions/restApi.d.ts.map +1 -0
  11. package/dist/cjs/src/actions/restApi.js.map +1 -0
  12. package/dist/cjs/src/adapters/evaluateCode/default.test.d.ts.map +1 -0
  13. package/dist/cjs/src/adapters/evaluateCode/default.test.js.map +1 -0
  14. package/dist/cjs/src/adapters/evaluateCode/index.d.ts.map +1 -0
  15. package/dist/cjs/src/adapters/evaluateCode/index.js.map +1 -0
  16. package/dist/cjs/src/adapters/evaluateCode/index.native.d.ts.map +1 -0
  17. package/dist/cjs/src/adapters/evaluateCode/index.native.js.map +1 -0
  18. package/dist/cjs/src/adapters/evaluateCode/native.test.d.ts.map +1 -0
  19. package/dist/cjs/src/adapters/evaluateCode/native.test.js.map +1 -0
  20. package/dist/cjs/src/adapters/getUserToken/index.d.ts.map +1 -0
  21. package/dist/cjs/src/adapters/getUserToken/index.js.map +1 -0
  22. package/dist/cjs/src/adapters/getUserToken/index.native.d.ts.map +1 -0
  23. package/dist/cjs/src/adapters/getUserToken/index.native.js.map +1 -0
  24. package/dist/cjs/src/classes/Collection.d.ts.map +1 -0
  25. package/dist/cjs/src/classes/Collection.js.map +1 -0
  26. package/dist/cjs/src/classes/Form.d.ts.map +1 -0
  27. package/dist/cjs/src/classes/Form.js.map +1 -0
  28. package/dist/cjs/src/classes/Model.d.ts.map +1 -0
  29. package/dist/cjs/src/classes/Model.js.map +1 -0
  30. package/dist/cjs/src/classes/User.d.ts.map +1 -0
  31. package/dist/cjs/src/classes/User.js.map +1 -0
  32. package/dist/cjs/src/classes/index.d.ts.map +1 -0
  33. package/dist/cjs/src/classes/index.js.map +1 -0
  34. package/dist/cjs/src/components/EmptyComponent.d.ts.map +1 -0
  35. package/dist/cjs/src/components/EmptyComponent.js.map +1 -0
  36. package/dist/cjs/src/components/SkipSSR.d.ts.map +1 -0
  37. package/dist/cjs/src/components/SkipSSR.js.map +1 -0
  38. package/dist/cjs/src/components/Svg.d.ts.map +1 -0
  39. package/dist/cjs/src/components/Svg.js.map +1 -0
  40. package/dist/cjs/src/components/hoc/index.d.ts.map +1 -0
  41. package/dist/cjs/src/components/hoc/index.js.map +1 -0
  42. package/dist/cjs/src/components/hoc/withCollection.d.ts.map +1 -0
  43. package/dist/cjs/src/components/hoc/withCollection.js.map +1 -0
  44. package/dist/cjs/src/components/hoc/withCollectionRecord.d.ts.map +1 -0
  45. package/dist/cjs/src/components/hoc/withCollectionRecord.js.map +1 -0
  46. package/dist/cjs/src/components/hoc/withSettings.d.ts.map +1 -0
  47. package/dist/cjs/src/components/hoc/withSettings.js.map +1 -0
  48. package/dist/cjs/src/components/hoc/withSettings.native.d.ts.map +1 -0
  49. package/dist/cjs/src/components/hoc/withSettings.native.js.map +1 -0
  50. package/dist/cjs/src/components/hoc/withoutSSR.d.ts.map +1 -0
  51. package/dist/cjs/src/components/hoc/withoutSSR.js.map +1 -0
  52. package/dist/cjs/src/components/index.d.ts.map +1 -0
  53. package/dist/cjs/src/components/index.js.map +1 -0
  54. package/dist/cjs/src/constants/googleFonts/index.d.ts.map +1 -0
  55. package/dist/cjs/src/constants/googleFonts/index.js.map +1 -0
  56. package/dist/cjs/src/constants/iconInfo/directed-icons.d.ts.map +1 -0
  57. package/dist/cjs/src/constants/iconInfo/directed-icons.js.map +1 -0
  58. package/dist/cjs/src/constants/iconInfo/index.d.ts.map +1 -0
  59. package/dist/cjs/src/constants/iconInfo/index.js.map +1 -0
  60. package/dist/cjs/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
  61. package/dist/cjs/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -0
  62. package/dist/cjs/src/constants/iconInfo/types.d.ts.map +1 -0
  63. package/dist/cjs/src/constants/iconInfo/types.js.map +1 -0
  64. package/dist/cjs/src/constants/index.d.ts.map +1 -0
  65. package/dist/cjs/src/constants/index.js.map +1 -0
  66. package/dist/cjs/src/constants/platformSpecific.d.ts.map +1 -0
  67. package/dist/cjs/src/constants/platformSpecific.js.map +1 -0
  68. package/dist/cjs/src/constants/platformSpecific.native.d.ts.map +1 -0
  69. package/dist/cjs/src/constants/platformSpecific.native.js.map +1 -0
  70. package/dist/cjs/src/contexts/ComponentContext.d.ts.map +1 -0
  71. package/dist/cjs/src/contexts/ComponentContext.js.map +1 -0
  72. package/dist/cjs/src/contexts/DataContext.d.ts.map +1 -0
  73. package/dist/cjs/src/contexts/DataContext.js.map +1 -0
  74. package/dist/cjs/src/contexts/EDLContext.d.ts.map +1 -0
  75. package/dist/cjs/src/contexts/EDLContext.js.map +1 -0
  76. package/dist/cjs/src/contexts/LayoutContext.d.ts.map +1 -0
  77. package/dist/cjs/src/contexts/LayoutContext.js.map +1 -0
  78. package/dist/cjs/src/contexts/PageContext.d.ts.map +1 -0
  79. package/dist/cjs/src/contexts/PageContext.js.map +1 -0
  80. package/dist/cjs/src/contexts/ToolbarContext.d.ts.map +1 -0
  81. package/dist/cjs/src/contexts/ToolbarContext.js.map +1 -0
  82. package/dist/cjs/src/contexts/index.d.ts.map +1 -0
  83. package/dist/cjs/src/contexts/index.js.map +1 -0
  84. package/dist/cjs/src/data-sources/collection.d.ts.map +1 -0
  85. package/dist/cjs/src/data-sources/collection.js.map +1 -0
  86. package/dist/cjs/src/data-sources/collectionRecord.d.ts.map +1 -0
  87. package/dist/cjs/src/data-sources/collectionRecord.js.map +1 -0
  88. package/dist/cjs/src/data-sources/index.d.ts.map +1 -0
  89. package/dist/cjs/src/data-sources/index.js.map +1 -0
  90. package/dist/cjs/src/data-sources/listUrl.d.ts.map +1 -0
  91. package/dist/cjs/src/data-sources/listUrl.js.map +1 -0
  92. package/dist/cjs/src/data-sources/scopeDataSource.d.ts.map +1 -0
  93. package/dist/cjs/src/data-sources/scopeDataSource.js.map +1 -0
  94. package/dist/cjs/src/data-sources/url.d.ts.map +1 -0
  95. package/dist/cjs/src/data-sources/url.js.map +1 -0
  96. package/dist/cjs/src/edl/BlockRenderer.d.ts.map +1 -0
  97. package/dist/cjs/src/edl/BlockRenderer.js.map +1 -0
  98. package/dist/cjs/src/edl/DataSourceLoader.d.ts.map +1 -0
  99. package/dist/cjs/src/edl/DataSourceLoader.js.map +1 -0
  100. package/dist/cjs/src/edl/elements/DataSource.d.ts.map +1 -0
  101. package/dist/cjs/src/edl/elements/DataSource.js.map +1 -0
  102. package/dist/cjs/src/edl/elements/Fragment.d.ts.map +1 -0
  103. package/dist/cjs/src/edl/elements/Fragment.js.map +1 -0
  104. package/dist/cjs/src/edl/elements/UseEffect.d.ts.map +1 -0
  105. package/dist/cjs/src/edl/elements/UseEffect.js.map +1 -0
  106. package/dist/cjs/src/edl/elements/index.d.ts.map +1 -0
  107. package/dist/cjs/src/edl/elements/index.js.map +1 -0
  108. package/dist/cjs/src/edl/index.d.ts +58 -0
  109. package/dist/cjs/src/edl/index.d.ts.map +1 -0
  110. package/dist/cjs/src/edl/index.js +155 -0
  111. package/dist/cjs/src/edl/index.js.map +1 -0
  112. package/dist/cjs/src/edl/localStorage.app.d.ts.map +1 -0
  113. package/dist/cjs/src/edl/localStorage.app.js.map +1 -0
  114. package/dist/cjs/src/edl/localStorage.d.ts.map +1 -0
  115. package/dist/cjs/src/edl/localStorage.js.map +1 -0
  116. package/dist/cjs/src/edl/parser.d.ts.map +1 -0
  117. package/dist/cjs/src/edl/parser.js.map +1 -0
  118. package/dist/cjs/src/edl/parser.test.d.ts.map +1 -0
  119. package/dist/cjs/src/edl/parser.test.js.map +1 -0
  120. package/dist/cjs/src/helpers/analytics.d.ts.map +1 -0
  121. package/dist/cjs/src/helpers/analytics.js.map +1 -0
  122. package/dist/cjs/src/helpers/axiosClient.d.ts.map +1 -0
  123. package/dist/cjs/src/helpers/axiosClient.js.map +1 -0
  124. package/dist/cjs/src/helpers/base64.d.ts.map +1 -0
  125. package/dist/cjs/src/helpers/base64.js.map +1 -0
  126. package/dist/cjs/src/helpers/base64.test.d.ts.map +1 -0
  127. package/dist/cjs/src/helpers/base64.test.js.map +1 -0
  128. package/dist/cjs/src/helpers/commonStyles.d.ts.map +1 -0
  129. package/dist/cjs/src/helpers/commonStyles.js.map +1 -0
  130. package/dist/cjs/src/helpers/functions.d.ts.map +1 -0
  131. package/dist/cjs/src/helpers/functions.js.map +1 -0
  132. package/dist/cjs/src/helpers/handlebarHelpers.d.ts.map +1 -0
  133. package/dist/cjs/src/helpers/handlebarHelpers.js.map +1 -0
  134. package/dist/cjs/src/helpers/handlebarHelpers.test.d.ts.map +1 -0
  135. package/dist/cjs/src/helpers/handlebarHelpers.test.js.map +1 -0
  136. package/dist/cjs/src/helpers/i18nHelpers.d.ts.map +1 -0
  137. package/dist/cjs/src/helpers/i18nHelpers.js.map +1 -0
  138. package/dist/cjs/src/helpers/i18nHelpers.native.d.ts.map +1 -0
  139. package/dist/cjs/src/helpers/i18nHelpers.native.js.map +1 -0
  140. package/dist/cjs/src/helpers/i18ninstance.d.ts.map +1 -0
  141. package/dist/cjs/src/helpers/i18ninstance.js.map +1 -0
  142. package/dist/cjs/src/helpers/iconHelper.d.ts.map +1 -0
  143. package/dist/cjs/src/helpers/iconHelper.js.map +1 -0
  144. package/dist/cjs/src/helpers/index.d.ts.map +1 -0
  145. package/dist/cjs/src/helpers/index.js.map +1 -0
  146. package/dist/cjs/src/helpers/pathHelper.d.ts.map +1 -0
  147. package/dist/cjs/src/helpers/pathHelper.js.map +1 -0
  148. package/dist/cjs/src/helpers/pathhelper.test.d.ts.map +1 -0
  149. package/dist/cjs/src/helpers/pathhelper.test.js.map +1 -0
  150. package/dist/cjs/src/helpers/remoteAction.d.ts.map +1 -0
  151. package/dist/cjs/src/helpers/remoteAction.js.map +1 -0
  152. package/dist/cjs/src/helpers/themeHelpers.d.ts.map +1 -0
  153. package/dist/cjs/src/helpers/themeHelpers.js.map +1 -0
  154. package/dist/cjs/src/hooks/index.d.ts.map +1 -0
  155. package/dist/cjs/src/hooks/index.js.map +1 -0
  156. package/dist/cjs/src/hooks/useAction.d.ts.map +1 -0
  157. package/dist/cjs/src/hooks/useAction.js.map +1 -0
  158. package/dist/cjs/src/hooks/useActionable.d.ts.map +1 -0
  159. package/dist/cjs/src/hooks/useActionable.js.map +1 -0
  160. package/dist/cjs/src/hooks/useAuth.d.ts.map +1 -0
  161. package/dist/cjs/src/hooks/useAuth.js.map +1 -0
  162. package/dist/cjs/src/hooks/useCollection.d.ts.map +1 -0
  163. package/dist/cjs/src/hooks/useCollection.js.map +1 -0
  164. package/dist/cjs/src/hooks/useCollectionRecord.d.ts.map +1 -0
  165. package/dist/cjs/src/hooks/useCollectionRecord.js.map +1 -0
  166. package/dist/cjs/src/hooks/useComponentConfigProps.d.ts.map +1 -0
  167. package/dist/cjs/src/hooks/useComponentConfigProps.js.map +1 -0
  168. package/dist/cjs/src/hooks/useComponentData.d.ts.map +1 -0
  169. package/dist/cjs/src/hooks/useComponentData.js.map +1 -0
  170. package/dist/cjs/src/hooks/useConfig.d.ts.map +1 -0
  171. package/dist/cjs/src/hooks/useConfig.js.map +1 -0
  172. package/dist/cjs/src/hooks/useDataSource.d.ts.map +1 -0
  173. package/dist/cjs/src/hooks/useDataSource.js.map +1 -0
  174. package/dist/cjs/src/hooks/useEditable.d.ts.map +1 -0
  175. package/dist/cjs/src/hooks/useEditable.js.map +1 -0
  176. package/dist/cjs/src/hooks/useFocus.d.ts.map +1 -0
  177. package/dist/cjs/src/hooks/useFocus.js.map +1 -0
  178. package/dist/cjs/src/hooks/useFonts.d.ts.map +1 -0
  179. package/dist/cjs/src/hooks/useFonts.js.map +1 -0
  180. package/dist/cjs/src/hooks/useLayoutEditor.d.ts.map +1 -0
  181. package/dist/cjs/src/hooks/useLayoutEditor.js.map +1 -0
  182. package/dist/cjs/src/hooks/useMenuItems.d.ts.map +1 -0
  183. package/dist/cjs/src/hooks/useMenuItems.js.map +1 -0
  184. package/dist/cjs/src/hooks/useNavigator.app.d.ts.map +1 -0
  185. package/dist/cjs/src/hooks/useNavigator.app.js.map +1 -0
  186. package/dist/cjs/src/hooks/useNavigator.d.ts.map +1 -0
  187. package/dist/cjs/src/hooks/useNavigator.js.map +1 -0
  188. package/dist/cjs/src/hooks/useOnScrollAnimation.d.ts.map +1 -0
  189. package/dist/cjs/src/hooks/useOnScrollAnimation.js.map +1 -0
  190. package/dist/cjs/src/hooks/usePage.d.ts.map +1 -0
  191. package/dist/cjs/src/hooks/usePage.js.map +1 -0
  192. package/dist/cjs/src/hooks/useParams.app.d.ts.map +1 -0
  193. package/dist/cjs/src/hooks/useParams.app.js.map +1 -0
  194. package/dist/cjs/src/hooks/useParams.d.ts.map +1 -0
  195. package/dist/cjs/src/hooks/useParams.js.map +1 -0
  196. package/dist/cjs/src/hooks/usePastePlainText.d.ts.map +1 -0
  197. package/dist/cjs/src/hooks/usePastePlainText.js.map +1 -0
  198. package/dist/cjs/src/hooks/useResponsive.d.ts.map +1 -0
  199. package/dist/cjs/src/hooks/useResponsive.js.map +1 -0
  200. package/dist/cjs/src/hooks/useScope.d.ts.map +1 -0
  201. package/dist/cjs/src/hooks/useScope.js.map +1 -0
  202. package/dist/cjs/src/hooks/useTemplate.d.ts.map +1 -0
  203. package/dist/cjs/src/hooks/useTemplate.js.map +1 -0
  204. package/dist/cjs/src/hooks/useTheme.app.d.ts.map +1 -0
  205. package/dist/cjs/src/hooks/useTheme.app.js.map +1 -0
  206. package/dist/cjs/src/hooks/useTheme.d.ts.map +1 -0
  207. package/dist/cjs/src/hooks/useTheme.js.map +1 -0
  208. package/dist/cjs/src/hooks/useTranslation.d.ts.map +1 -0
  209. package/dist/cjs/src/hooks/useTranslation.js.map +1 -0
  210. package/dist/cjs/src/hooks/useUrl.d.ts.map +1 -0
  211. package/dist/cjs/src/hooks/useUrl.js.map +1 -0
  212. package/dist/cjs/src/middlewares/dataSourceMiddleware.d.ts.map +1 -0
  213. package/dist/cjs/src/middlewares/dataSourceMiddleware.js.map +1 -0
  214. package/dist/cjs/src/middlewares/index.d.ts.map +1 -0
  215. package/dist/cjs/src/middlewares/index.js.map +1 -0
  216. package/dist/cjs/src/middlewares/platformEventsMiddleware.d.ts.map +1 -0
  217. package/dist/cjs/src/middlewares/platformEventsMiddleware.js.map +1 -0
  218. package/dist/cjs/src/middlewares/platformEventsMiddleware.native.d.ts.map +1 -0
  219. package/dist/cjs/src/middlewares/platformEventsMiddleware.native.js.map +1 -0
  220. package/dist/cjs/src/middlewares/restApiMiddleware.d.ts.map +1 -0
  221. package/dist/cjs/src/middlewares/restApiMiddleware.js.map +1 -0
  222. package/dist/cjs/src/middlewares/socketMiddleware.d.ts.map +1 -0
  223. package/dist/cjs/src/middlewares/socketMiddleware.js.map +1 -0
  224. package/dist/cjs/src/providers/DataSource.d.ts.map +1 -0
  225. package/dist/cjs/src/providers/DataSource.js.map +1 -0
  226. package/dist/cjs/src/providers/I18nProvider.d.ts.map +1 -0
  227. package/dist/cjs/src/providers/I18nProvider.js.map +1 -0
  228. package/dist/cjs/src/providers/Scope.d.ts.map +1 -0
  229. package/dist/cjs/src/providers/Scope.js.map +1 -0
  230. package/dist/cjs/src/providers/Scopes.d.ts.map +1 -0
  231. package/dist/cjs/src/providers/Scopes.js.map +1 -0
  232. package/dist/cjs/src/providers/index.d.ts.map +1 -0
  233. package/dist/cjs/src/providers/index.js.map +1 -0
  234. package/dist/cjs/src/reducers/addAdminMenuItem.d.ts.map +1 -0
  235. package/dist/cjs/src/reducers/addAdminMenuItem.js.map +1 -0
  236. package/dist/cjs/src/reducers/adminMenus.d.ts.map +1 -0
  237. package/dist/cjs/src/reducers/adminMenus.js.map +1 -0
  238. package/dist/cjs/src/reducers/collection.d.ts.map +1 -0
  239. package/dist/cjs/src/reducers/collection.js.map +1 -0
  240. package/dist/cjs/src/reducers/components.d.ts.map +1 -0
  241. package/dist/cjs/src/reducers/components.js.map +1 -0
  242. package/dist/cjs/src/reducers/config/index.d.ts.map +1 -0
  243. package/dist/cjs/src/reducers/config/index.js.map +1 -0
  244. package/dist/cjs/src/reducers/config/initialState.d.ts.map +1 -0
  245. package/dist/cjs/src/reducers/config/initialState.js.map +1 -0
  246. package/dist/cjs/src/reducers/config/initialState.native.d.ts.map +1 -0
  247. package/dist/cjs/src/reducers/config/initialState.native.js.map +1 -0
  248. package/dist/cjs/src/reducers/context.d.ts.map +1 -0
  249. package/dist/cjs/src/reducers/context.js.map +1 -0
  250. package/dist/cjs/src/reducers/dataSource.d.ts.map +1 -0
  251. package/dist/cjs/src/reducers/dataSource.js.map +1 -0
  252. package/dist/cjs/src/reducers/files.d.ts.map +1 -0
  253. package/dist/cjs/src/reducers/files.js.map +1 -0
  254. package/dist/cjs/src/reducers/fonts.d.ts.map +1 -0
  255. package/dist/cjs/src/reducers/fonts.js.map +1 -0
  256. package/dist/cjs/src/reducers/icons.d.ts.map +1 -0
  257. package/dist/cjs/src/reducers/icons.js.map +1 -0
  258. package/dist/cjs/src/reducers/index.d.ts.map +1 -0
  259. package/dist/cjs/src/reducers/index.js.map +1 -0
  260. package/dist/cjs/src/reducers/modals.d.ts.map +1 -0
  261. package/dist/cjs/src/reducers/modals.js.map +1 -0
  262. package/dist/cjs/src/reducers/notifications.d.ts.map +1 -0
  263. package/dist/cjs/src/reducers/notifications.js.map +1 -0
  264. package/dist/cjs/src/reducers/pages/index.d.ts.map +1 -0
  265. package/dist/cjs/src/reducers/pages/index.js.map +1 -0
  266. package/dist/cjs/src/reducers/pages/initialState.d.ts.map +1 -0
  267. package/dist/cjs/src/reducers/pages/initialState.js.map +1 -0
  268. package/dist/cjs/src/reducers/pages/initialState.native.d.ts.map +1 -0
  269. package/dist/cjs/src/reducers/pages/initialState.native.js.map +1 -0
  270. package/dist/cjs/src/reducers/routes.d.ts.map +1 -0
  271. package/dist/cjs/src/reducers/routes.js.map +1 -0
  272. package/dist/cjs/src/reducers/search.d.ts.map +1 -0
  273. package/dist/cjs/src/reducers/search.js.map +1 -0
  274. package/dist/cjs/src/reducers/session.d.ts.map +1 -0
  275. package/dist/cjs/src/reducers/session.js.map +1 -0
  276. package/dist/cjs/src/reducers/user.d.ts.map +1 -0
  277. package/dist/cjs/src/reducers/user.js.map +1 -0
  278. package/dist/cjs/src/services/SessionManager.d.ts.map +1 -0
  279. package/dist/cjs/src/services/SessionManager.js.map +1 -0
  280. package/dist/cjs/src/services/index.d.ts.map +1 -0
  281. package/dist/cjs/src/services/index.js.map +1 -0
  282. package/dist/esm/bin/generate-google-fonts-cache.d.ts +2 -0
  283. package/dist/esm/bin/generate-google-fonts-cache.d.ts.map +1 -0
  284. package/dist/esm/bin/generate-google-fonts-cache.js +39 -0
  285. package/dist/esm/bin/generate-google-fonts-cache.js.map +1 -0
  286. package/dist/esm/bin/generate-icons-cache.d.ts +2 -0
  287. package/dist/esm/bin/generate-icons-cache.d.ts.map +1 -0
  288. package/dist/esm/bin/generate-icons-cache.js +44 -0
  289. package/dist/esm/bin/generate-icons-cache.js.map +1 -0
  290. package/dist/esm/main.d.ts +14 -0
  291. package/dist/esm/main.d.ts.map +1 -0
  292. package/dist/esm/main.js +14 -0
  293. package/dist/esm/main.js.map +1 -0
  294. package/dist/esm/src/actions/index.d.ts +2 -0
  295. package/dist/esm/src/actions/index.d.ts.map +1 -0
  296. package/dist/esm/src/actions/index.js +2 -0
  297. package/dist/esm/src/actions/index.js.map +1 -0
  298. package/dist/esm/src/actions/restApi.d.ts +38 -0
  299. package/dist/esm/src/actions/restApi.d.ts.map +1 -0
  300. package/dist/esm/src/actions/restApi.js +19 -0
  301. package/dist/esm/src/actions/restApi.js.map +1 -0
  302. package/dist/esm/src/adapters/evaluateCode/default.test.d.ts +2 -0
  303. package/dist/esm/src/adapters/evaluateCode/default.test.d.ts.map +1 -0
  304. package/dist/esm/src/adapters/evaluateCode/default.test.js +10 -0
  305. package/dist/esm/src/adapters/evaluateCode/default.test.js.map +1 -0
  306. package/dist/esm/src/adapters/evaluateCode/index.d.ts +2 -0
  307. package/dist/esm/src/adapters/evaluateCode/index.d.ts.map +1 -0
  308. package/dist/esm/src/adapters/evaluateCode/index.js +5 -0
  309. package/dist/esm/src/adapters/evaluateCode/index.js.map +1 -0
  310. package/dist/esm/src/adapters/evaluateCode/index.native.d.ts +2 -0
  311. package/dist/esm/src/adapters/evaluateCode/index.native.d.ts.map +1 -0
  312. package/dist/esm/src/adapters/evaluateCode/index.native.js +10 -0
  313. package/dist/esm/src/adapters/evaluateCode/index.native.js.map +1 -0
  314. package/dist/esm/src/adapters/evaluateCode/native.test.d.ts +2 -0
  315. package/dist/esm/src/adapters/evaluateCode/native.test.d.ts.map +1 -0
  316. package/dist/esm/src/adapters/evaluateCode/native.test.js +20 -0
  317. package/dist/esm/src/adapters/evaluateCode/native.test.js.map +1 -0
  318. package/dist/esm/src/adapters/getUserToken/index.d.ts +2 -0
  319. package/dist/esm/src/adapters/getUserToken/index.d.ts.map +1 -0
  320. package/dist/esm/src/adapters/getUserToken/index.js +9 -0
  321. package/dist/esm/src/adapters/getUserToken/index.js.map +1 -0
  322. package/dist/esm/src/adapters/getUserToken/index.native.d.ts +2 -0
  323. package/dist/esm/src/adapters/getUserToken/index.native.d.ts.map +1 -0
  324. package/dist/esm/src/adapters/getUserToken/index.native.js +12 -0
  325. package/dist/esm/src/adapters/getUserToken/index.native.js.map +1 -0
  326. package/dist/esm/src/classes/Collection.d.ts +33 -0
  327. package/dist/esm/src/classes/Collection.d.ts.map +1 -0
  328. package/dist/esm/src/classes/Collection.js +10 -0
  329. package/dist/esm/src/classes/Collection.js.map +1 -0
  330. package/dist/esm/src/classes/Form.d.ts +3 -0
  331. package/dist/esm/src/classes/Form.d.ts.map +1 -0
  332. package/dist/esm/src/classes/Form.js +3 -0
  333. package/dist/esm/src/classes/Form.js.map +1 -0
  334. package/dist/esm/src/classes/Model.d.ts +28 -0
  335. package/dist/esm/src/classes/Model.d.ts.map +1 -0
  336. package/dist/esm/src/classes/Model.js +49 -0
  337. package/dist/esm/src/classes/Model.js.map +1 -0
  338. package/dist/esm/src/classes/User.d.ts +20 -0
  339. package/dist/esm/src/classes/User.d.ts.map +1 -0
  340. package/dist/esm/src/classes/User.js +29 -0
  341. package/dist/esm/src/classes/User.js.map +1 -0
  342. package/dist/esm/src/classes/index.d.ts +4 -0
  343. package/dist/esm/src/classes/index.d.ts.map +1 -0
  344. package/dist/esm/src/classes/index.js +4 -0
  345. package/dist/esm/src/classes/index.js.map +1 -0
  346. package/dist/esm/src/components/EmptyComponent.d.ts +3 -0
  347. package/dist/esm/src/components/EmptyComponent.d.ts.map +1 -0
  348. package/dist/esm/src/components/EmptyComponent.js +3 -0
  349. package/dist/esm/src/components/EmptyComponent.js.map +1 -0
  350. package/dist/esm/src/components/SkipSSR.d.ts +8 -0
  351. package/dist/esm/src/components/SkipSSR.d.ts.map +1 -0
  352. package/dist/esm/src/components/SkipSSR.js +9 -0
  353. package/dist/esm/src/components/SkipSSR.js.map +1 -0
  354. package/dist/esm/src/components/Svg.d.ts +7 -0
  355. package/dist/esm/src/components/Svg.d.ts.map +1 -0
  356. package/dist/esm/src/components/Svg.js +14 -0
  357. package/dist/esm/src/components/Svg.js.map +1 -0
  358. package/dist/esm/src/components/hoc/index.d.ts +5 -0
  359. package/dist/esm/src/components/hoc/index.d.ts.map +1 -0
  360. package/dist/esm/src/components/hoc/index.js +11 -0
  361. package/dist/esm/src/components/hoc/index.js.map +1 -0
  362. package/dist/esm/src/components/hoc/withCollection.d.ts +10 -0
  363. package/dist/esm/src/components/hoc/withCollection.d.ts.map +1 -0
  364. package/dist/esm/src/components/hoc/withCollection.js +15 -0
  365. package/dist/esm/src/components/hoc/withCollection.js.map +1 -0
  366. package/dist/esm/src/components/hoc/withCollectionRecord.d.ts +10 -0
  367. package/dist/esm/src/components/hoc/withCollectionRecord.d.ts.map +1 -0
  368. package/dist/esm/src/components/hoc/withCollectionRecord.js +18 -0
  369. package/dist/esm/src/components/hoc/withCollectionRecord.js.map +1 -0
  370. package/dist/esm/src/components/hoc/withSettings.d.ts +21 -0
  371. package/dist/esm/src/components/hoc/withSettings.d.ts.map +1 -0
  372. package/dist/esm/src/components/hoc/withSettings.js +31 -0
  373. package/dist/esm/src/components/hoc/withSettings.js.map +1 -0
  374. package/dist/esm/src/components/hoc/withSettings.native.d.ts +18 -0
  375. package/dist/esm/src/components/hoc/withSettings.native.d.ts.map +1 -0
  376. package/dist/esm/src/components/hoc/withSettings.native.js +27 -0
  377. package/dist/esm/src/components/hoc/withSettings.native.js.map +1 -0
  378. package/dist/esm/src/components/hoc/withoutSSR.d.ts +2 -0
  379. package/dist/esm/src/components/hoc/withoutSSR.d.ts.map +1 -0
  380. package/dist/esm/src/components/hoc/withoutSSR.js +9 -0
  381. package/dist/esm/src/components/hoc/withoutSSR.js.map +1 -0
  382. package/dist/esm/src/components/index.d.ts +4 -0
  383. package/dist/esm/src/components/index.d.ts.map +1 -0
  384. package/dist/esm/src/components/index.js +22 -0
  385. package/dist/esm/src/components/index.js.map +1 -0
  386. package/dist/esm/src/constants/googleFonts/index.d.ts +6 -0
  387. package/dist/esm/src/constants/googleFonts/index.d.ts.map +1 -0
  388. package/dist/esm/src/constants/googleFonts/index.js +7 -0
  389. package/dist/esm/src/constants/googleFonts/index.js.map +1 -0
  390. package/dist/esm/src/constants/googleFonts/variants.min.json +1 -0
  391. package/dist/esm/src/constants/iconInfo/directed-icons.d.ts +18 -0
  392. package/dist/esm/src/constants/iconInfo/directed-icons.d.ts.map +1 -0
  393. package/dist/esm/src/constants/iconInfo/directed-icons.js +325 -0
  394. package/dist/esm/src/constants/iconInfo/directed-icons.js.map +1 -0
  395. package/dist/esm/src/constants/iconInfo/index.d.ts +21 -0
  396. package/dist/esm/src/constants/iconInfo/index.d.ts.map +1 -0
  397. package/dist/esm/src/constants/iconInfo/index.js +33 -0
  398. package/dist/esm/src/constants/iconInfo/index.js.map +1 -0
  399. package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.d.ts +25 -0
  400. package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
  401. package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.js +57 -0
  402. package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -0
  403. package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.lookup.min.json +1 -0
  404. package/dist/esm/src/constants/iconInfo/types.d.ts +45 -0
  405. package/dist/esm/src/constants/iconInfo/types.d.ts.map +1 -0
  406. package/dist/esm/src/constants/iconInfo/types.js +2 -0
  407. package/dist/esm/src/constants/iconInfo/types.js.map +1 -0
  408. package/dist/esm/src/constants/index.d.ts +14 -0
  409. package/dist/esm/src/constants/index.d.ts.map +1 -0
  410. package/dist/esm/src/constants/index.js +14 -0
  411. package/dist/esm/src/constants/index.js.map +1 -0
  412. package/dist/esm/src/constants/platformSpecific.d.ts +4 -0
  413. package/dist/esm/src/constants/platformSpecific.d.ts.map +1 -0
  414. package/dist/esm/src/constants/platformSpecific.js +4 -0
  415. package/dist/esm/src/constants/platformSpecific.js.map +1 -0
  416. package/dist/esm/src/constants/platformSpecific.native.d.ts +5 -0
  417. package/dist/esm/src/constants/platformSpecific.native.d.ts.map +1 -0
  418. package/dist/esm/src/constants/platformSpecific.native.js +7 -0
  419. package/dist/esm/src/constants/platformSpecific.native.js.map +1 -0
  420. package/dist/esm/src/contexts/ComponentContext.d.ts +11 -0
  421. package/dist/esm/src/contexts/ComponentContext.d.ts.map +1 -0
  422. package/dist/esm/src/contexts/ComponentContext.js +8 -0
  423. package/dist/esm/src/contexts/ComponentContext.js.map +1 -0
  424. package/dist/esm/src/contexts/DataContext.d.ts +5 -0
  425. package/dist/esm/src/contexts/DataContext.d.ts.map +1 -0
  426. package/dist/esm/src/contexts/DataContext.js +6 -0
  427. package/dist/esm/src/contexts/DataContext.js.map +1 -0
  428. package/dist/esm/src/contexts/EDLContext.d.ts +7 -0
  429. package/dist/esm/src/contexts/EDLContext.d.ts.map +1 -0
  430. package/dist/esm/src/contexts/EDLContext.js +7 -0
  431. package/dist/esm/src/contexts/EDLContext.js.map +1 -0
  432. package/dist/esm/src/contexts/LayoutContext.d.ts +12 -0
  433. package/dist/esm/src/contexts/LayoutContext.d.ts.map +1 -0
  434. package/dist/esm/src/contexts/LayoutContext.js +5 -0
  435. package/dist/esm/src/contexts/LayoutContext.js.map +1 -0
  436. package/dist/esm/src/contexts/PageContext.d.ts +8 -0
  437. package/dist/esm/src/contexts/PageContext.d.ts.map +1 -0
  438. package/dist/esm/src/contexts/PageContext.js +5 -0
  439. package/dist/esm/src/contexts/PageContext.js.map +1 -0
  440. package/dist/esm/src/contexts/ToolbarContext.d.ts +17 -0
  441. package/dist/esm/src/contexts/ToolbarContext.d.ts.map +1 -0
  442. package/dist/esm/src/contexts/ToolbarContext.js +6 -0
  443. package/dist/esm/src/contexts/ToolbarContext.js.map +1 -0
  444. package/dist/esm/src/contexts/index.d.ts +6 -0
  445. package/dist/esm/src/contexts/index.d.ts.map +1 -0
  446. package/dist/esm/src/contexts/index.js +6 -0
  447. package/dist/esm/src/contexts/index.js.map +1 -0
  448. package/dist/esm/src/data-sources/collection.d.ts +4 -0
  449. package/dist/esm/src/data-sources/collection.d.ts.map +1 -0
  450. package/dist/esm/src/data-sources/collection.js +90 -0
  451. package/dist/esm/src/data-sources/collection.js.map +1 -0
  452. package/dist/esm/src/data-sources/collectionRecord.d.ts +4 -0
  453. package/dist/esm/src/data-sources/collectionRecord.d.ts.map +1 -0
  454. package/dist/esm/src/data-sources/collectionRecord.js +43 -0
  455. package/dist/esm/src/data-sources/collectionRecord.js.map +1 -0
  456. package/dist/esm/src/data-sources/index.d.ts +3 -0
  457. package/dist/esm/src/data-sources/index.d.ts.map +1 -0
  458. package/dist/esm/src/data-sources/index.js +13 -0
  459. package/dist/esm/src/data-sources/index.js.map +1 -0
  460. package/dist/esm/src/data-sources/listUrl.d.ts +4 -0
  461. package/dist/esm/src/data-sources/listUrl.d.ts.map +1 -0
  462. package/dist/esm/src/data-sources/listUrl.js +70 -0
  463. package/dist/esm/src/data-sources/listUrl.js.map +1 -0
  464. package/dist/esm/src/data-sources/scopeDataSource.d.ts +4 -0
  465. package/dist/esm/src/data-sources/scopeDataSource.d.ts.map +1 -0
  466. package/dist/esm/src/data-sources/scopeDataSource.js +13 -0
  467. package/dist/esm/src/data-sources/scopeDataSource.js.map +1 -0
  468. package/dist/esm/src/data-sources/url.d.ts +4 -0
  469. package/dist/esm/src/data-sources/url.d.ts.map +1 -0
  470. package/dist/esm/src/data-sources/url.js +56 -0
  471. package/dist/esm/src/data-sources/url.js.map +1 -0
  472. package/dist/esm/src/edl/BlockRenderer.d.ts +9 -0
  473. package/dist/esm/src/edl/BlockRenderer.d.ts.map +1 -0
  474. package/dist/esm/src/edl/BlockRenderer.js +96 -0
  475. package/dist/esm/src/edl/BlockRenderer.js.map +1 -0
  476. package/dist/esm/src/edl/DataSourceLoader.d.ts +7 -0
  477. package/dist/esm/src/edl/DataSourceLoader.d.ts.map +1 -0
  478. package/dist/esm/src/edl/DataSourceLoader.js +11 -0
  479. package/dist/esm/src/edl/DataSourceLoader.js.map +1 -0
  480. package/dist/esm/src/edl/elements/DataSource.d.ts +8 -0
  481. package/dist/esm/src/edl/elements/DataSource.d.ts.map +1 -0
  482. package/dist/esm/src/edl/elements/DataSource.js +14 -0
  483. package/dist/esm/src/edl/elements/DataSource.js.map +1 -0
  484. package/dist/esm/src/edl/elements/Fragment.d.ts +9 -0
  485. package/dist/esm/src/edl/elements/Fragment.d.ts.map +1 -0
  486. package/dist/esm/src/edl/elements/Fragment.js +12 -0
  487. package/dist/esm/src/edl/elements/Fragment.js.map +1 -0
  488. package/dist/esm/src/edl/elements/UseEffect.d.ts +10 -0
  489. package/dist/esm/src/edl/elements/UseEffect.d.ts.map +1 -0
  490. package/dist/esm/src/edl/elements/UseEffect.js +26 -0
  491. package/dist/esm/src/edl/elements/UseEffect.js.map +1 -0
  492. package/dist/esm/src/edl/elements/index.d.ts +17 -0
  493. package/dist/esm/src/edl/elements/index.d.ts.map +1 -0
  494. package/dist/esm/src/edl/elements/index.js +11 -0
  495. package/dist/esm/src/edl/elements/index.js.map +1 -0
  496. package/dist/esm/src/edl/index.d.ts +58 -0
  497. package/dist/esm/src/edl/index.d.ts.map +1 -0
  498. package/dist/esm/src/edl/index.js +130 -0
  499. package/dist/esm/src/edl/index.js.map +1 -0
  500. package/dist/esm/src/edl/localStorage.app.d.ts +6 -0
  501. package/dist/esm/src/edl/localStorage.app.d.ts.map +1 -0
  502. package/dist/esm/src/edl/localStorage.app.js +9 -0
  503. package/dist/esm/src/edl/localStorage.app.js.map +1 -0
  504. package/dist/esm/src/edl/localStorage.d.ts +6 -0
  505. package/dist/esm/src/edl/localStorage.d.ts.map +1 -0
  506. package/dist/esm/src/edl/localStorage.js +8 -0
  507. package/dist/esm/src/edl/localStorage.js.map +1 -0
  508. package/dist/esm/src/edl/parser.d.ts +3 -0
  509. package/dist/esm/src/edl/parser.d.ts.map +1 -0
  510. package/dist/esm/src/edl/parser.js +202 -0
  511. package/dist/esm/src/edl/parser.js.map +1 -0
  512. package/dist/esm/src/edl/parser.test.d.ts +2 -0
  513. package/dist/esm/src/edl/parser.test.d.ts.map +1 -0
  514. package/dist/esm/src/edl/parser.test.js +217 -0
  515. package/dist/esm/src/edl/parser.test.js.map +1 -0
  516. package/dist/esm/src/helpers/analytics.d.ts +10 -0
  517. package/dist/esm/src/helpers/analytics.d.ts.map +1 -0
  518. package/dist/esm/src/helpers/analytics.js +20 -0
  519. package/dist/esm/src/helpers/analytics.js.map +1 -0
  520. package/dist/esm/src/helpers/axiosClient.d.ts +3 -0
  521. package/dist/esm/src/helpers/axiosClient.d.ts.map +1 -0
  522. package/dist/esm/src/helpers/axiosClient.js +12 -0
  523. package/dist/esm/src/helpers/axiosClient.js.map +1 -0
  524. package/dist/esm/src/helpers/base64.d.ts +3 -0
  525. package/dist/esm/src/helpers/base64.d.ts.map +1 -0
  526. package/dist/esm/src/helpers/base64.js +63 -0
  527. package/dist/esm/src/helpers/base64.js.map +1 -0
  528. package/dist/esm/src/helpers/base64.test.d.ts +2 -0
  529. package/dist/esm/src/helpers/base64.test.d.ts.map +1 -0
  530. package/dist/esm/src/helpers/base64.test.js +23 -0
  531. package/dist/esm/src/helpers/base64.test.js.map +1 -0
  532. package/dist/esm/src/helpers/commonStyles.d.ts +21 -0
  533. package/dist/esm/src/helpers/commonStyles.d.ts.map +1 -0
  534. package/dist/esm/src/helpers/commonStyles.js +23 -0
  535. package/dist/esm/src/helpers/commonStyles.js.map +1 -0
  536. package/dist/esm/src/helpers/functions.d.ts +14 -0
  537. package/dist/esm/src/helpers/functions.d.ts.map +1 -0
  538. package/dist/esm/src/helpers/functions.js +72 -0
  539. package/dist/esm/src/helpers/functions.js.map +1 -0
  540. package/dist/esm/src/helpers/handlebarHelpers.d.ts +2 -0
  541. package/dist/esm/src/helpers/handlebarHelpers.d.ts.map +1 -0
  542. package/dist/esm/src/helpers/handlebarHelpers.js +33 -0
  543. package/dist/esm/src/helpers/handlebarHelpers.js.map +1 -0
  544. package/dist/esm/src/helpers/handlebarHelpers.test.d.ts +2 -0
  545. package/dist/esm/src/helpers/handlebarHelpers.test.d.ts.map +1 -0
  546. package/dist/esm/src/helpers/handlebarHelpers.test.js +55 -0
  547. package/dist/esm/src/helpers/handlebarHelpers.test.js.map +1 -0
  548. package/dist/esm/src/helpers/i18nHelpers.d.ts +2 -0
  549. package/dist/esm/src/helpers/i18nHelpers.d.ts.map +1 -0
  550. package/dist/esm/src/helpers/i18nHelpers.js +4 -0
  551. package/dist/esm/src/helpers/i18nHelpers.js.map +1 -0
  552. package/dist/esm/src/helpers/i18nHelpers.native.d.ts +2 -0
  553. package/dist/esm/src/helpers/i18nHelpers.native.d.ts.map +1 -0
  554. package/dist/esm/src/helpers/i18nHelpers.native.js +8 -0
  555. package/dist/esm/src/helpers/i18nHelpers.native.js.map +1 -0
  556. package/dist/esm/src/helpers/i18ninstance.d.ts +3 -0
  557. package/dist/esm/src/helpers/i18ninstance.d.ts.map +1 -0
  558. package/dist/esm/src/helpers/i18ninstance.js +16 -0
  559. package/dist/esm/src/helpers/i18ninstance.js.map +1 -0
  560. package/dist/esm/src/helpers/iconHelper.d.ts +2 -0
  561. package/dist/esm/src/helpers/iconHelper.d.ts.map +1 -0
  562. package/dist/esm/src/helpers/iconHelper.js +16 -0
  563. package/dist/esm/src/helpers/iconHelper.js.map +1 -0
  564. package/dist/esm/src/helpers/index.d.ts +13 -0
  565. package/dist/esm/src/helpers/index.d.ts.map +1 -0
  566. package/dist/esm/src/helpers/index.js +13 -0
  567. package/dist/esm/src/helpers/index.js.map +1 -0
  568. package/dist/esm/src/helpers/pathHelper.d.ts +2 -0
  569. package/dist/esm/src/helpers/pathHelper.d.ts.map +1 -0
  570. package/dist/esm/src/helpers/pathHelper.js +24 -0
  571. package/dist/esm/src/helpers/pathHelper.js.map +1 -0
  572. package/dist/esm/src/helpers/pathhelper.test.d.ts +2 -0
  573. package/dist/esm/src/helpers/pathhelper.test.d.ts.map +1 -0
  574. package/dist/esm/src/helpers/pathhelper.test.js +33 -0
  575. package/dist/esm/src/helpers/pathhelper.test.js.map +1 -0
  576. package/dist/esm/src/helpers/remoteAction.d.ts +11 -0
  577. package/dist/esm/src/helpers/remoteAction.d.ts.map +1 -0
  578. package/dist/esm/src/helpers/remoteAction.js +17 -0
  579. package/dist/esm/src/helpers/remoteAction.js.map +1 -0
  580. package/dist/esm/src/helpers/themeHelpers.d.ts +241 -0
  581. package/dist/esm/src/helpers/themeHelpers.d.ts.map +1 -0
  582. package/dist/esm/src/helpers/themeHelpers.js +242 -0
  583. package/dist/esm/src/helpers/themeHelpers.js.map +1 -0
  584. package/dist/esm/src/hooks/index.d.ts +26 -0
  585. package/dist/esm/src/hooks/index.d.ts.map +1 -0
  586. package/dist/esm/src/hooks/index.js +26 -0
  587. package/dist/esm/src/hooks/index.js.map +1 -0
  588. package/dist/esm/src/hooks/useAction.d.ts +10 -0
  589. package/dist/esm/src/hooks/useAction.d.ts.map +1 -0
  590. package/dist/esm/src/hooks/useAction.js +34 -0
  591. package/dist/esm/src/hooks/useAction.js.map +1 -0
  592. package/dist/esm/src/hooks/useActionable.d.ts +37 -0
  593. package/dist/esm/src/hooks/useActionable.d.ts.map +1 -0
  594. package/dist/esm/src/hooks/useActionable.js +79 -0
  595. package/dist/esm/src/hooks/useActionable.js.map +1 -0
  596. package/dist/esm/src/hooks/useAuth.d.ts +9 -0
  597. package/dist/esm/src/hooks/useAuth.d.ts.map +1 -0
  598. package/dist/esm/src/hooks/useAuth.js +18 -0
  599. package/dist/esm/src/hooks/useAuth.js.map +1 -0
  600. package/dist/esm/src/hooks/useCollection.d.ts +3 -0
  601. package/dist/esm/src/hooks/useCollection.d.ts.map +1 -0
  602. package/dist/esm/src/hooks/useCollection.js +83 -0
  603. package/dist/esm/src/hooks/useCollection.js.map +1 -0
  604. package/dist/esm/src/hooks/useCollectionRecord.d.ts +2 -0
  605. package/dist/esm/src/hooks/useCollectionRecord.d.ts.map +1 -0
  606. package/dist/esm/src/hooks/useCollectionRecord.js +30 -0
  607. package/dist/esm/src/hooks/useCollectionRecord.js.map +1 -0
  608. package/dist/esm/src/hooks/useComponentConfigProps.d.ts +3 -0
  609. package/dist/esm/src/hooks/useComponentConfigProps.d.ts.map +1 -0
  610. package/dist/esm/src/hooks/useComponentConfigProps.js +15 -0
  611. package/dist/esm/src/hooks/useComponentConfigProps.js.map +1 -0
  612. package/dist/esm/src/hooks/useComponentData.d.ts +4 -0
  613. package/dist/esm/src/hooks/useComponentData.d.ts.map +1 -0
  614. package/dist/esm/src/hooks/useComponentData.js +6 -0
  615. package/dist/esm/src/hooks/useComponentData.js.map +1 -0
  616. package/dist/esm/src/hooks/useConfig.d.ts +2 -0
  617. package/dist/esm/src/hooks/useConfig.d.ts.map +1 -0
  618. package/dist/esm/src/hooks/useConfig.js +6 -0
  619. package/dist/esm/src/hooks/useConfig.js.map +1 -0
  620. package/dist/esm/src/hooks/useDataSource.d.ts +15 -0
  621. package/dist/esm/src/hooks/useDataSource.d.ts.map +1 -0
  622. package/dist/esm/src/hooks/useDataSource.js +136 -0
  623. package/dist/esm/src/hooks/useDataSource.js.map +1 -0
  624. package/dist/esm/src/hooks/useEditable.d.ts +3 -0
  625. package/dist/esm/src/hooks/useEditable.d.ts.map +1 -0
  626. package/dist/esm/src/hooks/useEditable.js +8 -0
  627. package/dist/esm/src/hooks/useEditable.js.map +1 -0
  628. package/dist/esm/src/hooks/useFocus.d.ts +6 -0
  629. package/dist/esm/src/hooks/useFocus.d.ts.map +1 -0
  630. package/dist/esm/src/hooks/useFocus.js +18 -0
  631. package/dist/esm/src/hooks/useFocus.js.map +1 -0
  632. package/dist/esm/src/hooks/useFonts.d.ts +9 -0
  633. package/dist/esm/src/hooks/useFonts.d.ts.map +1 -0
  634. package/dist/esm/src/hooks/useFonts.js +9 -0
  635. package/dist/esm/src/hooks/useFonts.js.map +1 -0
  636. package/dist/esm/src/hooks/useLayoutEditor.d.ts +11 -0
  637. package/dist/esm/src/hooks/useLayoutEditor.d.ts.map +1 -0
  638. package/dist/esm/src/hooks/useLayoutEditor.js +76 -0
  639. package/dist/esm/src/hooks/useLayoutEditor.js.map +1 -0
  640. package/dist/esm/src/hooks/useMenuItems.d.ts +3 -0
  641. package/dist/esm/src/hooks/useMenuItems.d.ts.map +1 -0
  642. package/dist/esm/src/hooks/useMenuItems.js +7 -0
  643. package/dist/esm/src/hooks/useMenuItems.js.map +1 -0
  644. package/dist/esm/src/hooks/useNavigator.app.d.ts +4 -0
  645. package/dist/esm/src/hooks/useNavigator.app.d.ts.map +1 -0
  646. package/dist/esm/src/hooks/useNavigator.app.js +21 -0
  647. package/dist/esm/src/hooks/useNavigator.app.js.map +1 -0
  648. package/dist/esm/src/hooks/useNavigator.d.ts +4 -0
  649. package/dist/esm/src/hooks/useNavigator.d.ts.map +1 -0
  650. package/dist/esm/src/hooks/useNavigator.js +33 -0
  651. package/dist/esm/src/hooks/useNavigator.js.map +1 -0
  652. package/dist/esm/src/hooks/useOnScrollAnimation.d.ts +4 -0
  653. package/dist/esm/src/hooks/useOnScrollAnimation.d.ts.map +1 -0
  654. package/dist/esm/src/hooks/useOnScrollAnimation.js +31 -0
  655. package/dist/esm/src/hooks/useOnScrollAnimation.js.map +1 -0
  656. package/dist/esm/src/hooks/usePage.d.ts +5 -0
  657. package/dist/esm/src/hooks/usePage.d.ts.map +1 -0
  658. package/dist/esm/src/hooks/usePage.js +7 -0
  659. package/dist/esm/src/hooks/usePage.js.map +1 -0
  660. package/dist/esm/src/hooks/useParams.app.d.ts +2 -0
  661. package/dist/esm/src/hooks/useParams.app.d.ts.map +1 -0
  662. package/dist/esm/src/hooks/useParams.app.js +7 -0
  663. package/dist/esm/src/hooks/useParams.app.js.map +1 -0
  664. package/dist/esm/src/hooks/useParams.d.ts +2 -0
  665. package/dist/esm/src/hooks/useParams.d.ts.map +1 -0
  666. package/dist/esm/src/hooks/useParams.js +9 -0
  667. package/dist/esm/src/hooks/useParams.js.map +1 -0
  668. package/dist/esm/src/hooks/usePastePlainText.d.ts +3 -0
  669. package/dist/esm/src/hooks/usePastePlainText.d.ts.map +1 -0
  670. package/dist/esm/src/hooks/usePastePlainText.js +18 -0
  671. package/dist/esm/src/hooks/usePastePlainText.js.map +1 -0
  672. package/dist/esm/src/hooks/useResponsive.d.ts +3 -0
  673. package/dist/esm/src/hooks/useResponsive.d.ts.map +1 -0
  674. package/dist/esm/src/hooks/useResponsive.js +36 -0
  675. package/dist/esm/src/hooks/useResponsive.js.map +1 -0
  676. package/dist/esm/src/hooks/useScope.d.ts +3 -0
  677. package/dist/esm/src/hooks/useScope.d.ts.map +1 -0
  678. package/dist/esm/src/hooks/useScope.js +12 -0
  679. package/dist/esm/src/hooks/useScope.js.map +1 -0
  680. package/dist/esm/src/hooks/useTemplate.d.ts +3 -0
  681. package/dist/esm/src/hooks/useTemplate.d.ts.map +1 -0
  682. package/dist/esm/src/hooks/useTemplate.js +33 -0
  683. package/dist/esm/src/hooks/useTemplate.js.map +1 -0
  684. package/dist/esm/src/hooks/useTheme.app.d.ts +2 -0
  685. package/dist/esm/src/hooks/useTheme.app.d.ts.map +1 -0
  686. package/dist/esm/src/hooks/useTheme.app.js +3 -0
  687. package/dist/esm/src/hooks/useTheme.app.js.map +1 -0
  688. package/dist/esm/src/hooks/useTheme.d.ts +5 -0
  689. package/dist/esm/src/hooks/useTheme.d.ts.map +1 -0
  690. package/dist/esm/src/hooks/useTheme.js +3 -0
  691. package/dist/esm/src/hooks/useTheme.js.map +1 -0
  692. package/dist/esm/src/hooks/useTranslation.d.ts +4 -0
  693. package/dist/esm/src/hooks/useTranslation.d.ts.map +1 -0
  694. package/dist/esm/src/hooks/useTranslation.js +12 -0
  695. package/dist/esm/src/hooks/useTranslation.js.map +1 -0
  696. package/dist/esm/src/hooks/useUrl.d.ts +2 -0
  697. package/dist/esm/src/hooks/useUrl.d.ts.map +1 -0
  698. package/dist/esm/src/hooks/useUrl.js +21 -0
  699. package/dist/esm/src/hooks/useUrl.js.map +1 -0
  700. package/dist/esm/src/middlewares/dataSourceMiddleware.d.ts +3 -0
  701. package/dist/esm/src/middlewares/dataSourceMiddleware.d.ts.map +1 -0
  702. package/dist/esm/src/middlewares/dataSourceMiddleware.js +123 -0
  703. package/dist/esm/src/middlewares/dataSourceMiddleware.js.map +1 -0
  704. package/dist/esm/src/middlewares/index.d.ts +5 -0
  705. package/dist/esm/src/middlewares/index.d.ts.map +1 -0
  706. package/dist/esm/src/middlewares/index.js +5 -0
  707. package/dist/esm/src/middlewares/index.js.map +1 -0
  708. package/dist/esm/src/middlewares/platformEventsMiddleware.d.ts +5 -0
  709. package/dist/esm/src/middlewares/platformEventsMiddleware.d.ts.map +1 -0
  710. package/dist/esm/src/middlewares/platformEventsMiddleware.js +67 -0
  711. package/dist/esm/src/middlewares/platformEventsMiddleware.js.map +1 -0
  712. package/dist/esm/src/middlewares/platformEventsMiddleware.native.d.ts +3 -0
  713. package/dist/esm/src/middlewares/platformEventsMiddleware.native.d.ts.map +1 -0
  714. package/dist/esm/src/middlewares/platformEventsMiddleware.native.js +3 -0
  715. package/dist/esm/src/middlewares/platformEventsMiddleware.native.js.map +1 -0
  716. package/dist/esm/src/middlewares/restApiMiddleware.d.ts +3 -0
  717. package/dist/esm/src/middlewares/restApiMiddleware.d.ts.map +1 -0
  718. package/dist/esm/src/middlewares/restApiMiddleware.js +72 -0
  719. package/dist/esm/src/middlewares/restApiMiddleware.js.map +1 -0
  720. package/dist/esm/src/middlewares/socketMiddleware.d.ts +5 -0
  721. package/dist/esm/src/middlewares/socketMiddleware.d.ts.map +1 -0
  722. package/dist/esm/src/middlewares/socketMiddleware.js +23 -0
  723. package/dist/esm/src/middlewares/socketMiddleware.js.map +1 -0
  724. package/dist/esm/src/providers/DataSource.d.ts +9 -0
  725. package/dist/esm/src/providers/DataSource.d.ts.map +1 -0
  726. package/dist/esm/src/providers/DataSource.js +9 -0
  727. package/dist/esm/src/providers/DataSource.js.map +1 -0
  728. package/dist/esm/src/providers/I18nProvider.d.ts +7 -0
  729. package/dist/esm/src/providers/I18nProvider.d.ts.map +1 -0
  730. package/dist/esm/src/providers/I18nProvider.js +47 -0
  731. package/dist/esm/src/providers/I18nProvider.js.map +1 -0
  732. package/dist/esm/src/providers/Scope.d.ts +13 -0
  733. package/dist/esm/src/providers/Scope.d.ts.map +1 -0
  734. package/dist/esm/src/providers/Scope.js +17 -0
  735. package/dist/esm/src/providers/Scope.js.map +1 -0
  736. package/dist/esm/src/providers/Scopes.d.ts +12 -0
  737. package/dist/esm/src/providers/Scopes.d.ts.map +1 -0
  738. package/dist/esm/src/providers/Scopes.js +15 -0
  739. package/dist/esm/src/providers/Scopes.js.map +1 -0
  740. package/dist/esm/src/providers/index.d.ts +5 -0
  741. package/dist/esm/src/providers/index.d.ts.map +1 -0
  742. package/dist/esm/src/providers/index.js +5 -0
  743. package/dist/esm/src/providers/index.js.map +1 -0
  744. package/dist/esm/src/reducers/addAdminMenuItem.d.ts +1 -0
  745. package/dist/esm/src/reducers/addAdminMenuItem.d.ts.map +1 -0
  746. package/dist/esm/src/reducers/addAdminMenuItem.js +1 -0
  747. package/dist/esm/src/reducers/addAdminMenuItem.js.map +1 -0
  748. package/dist/esm/src/reducers/adminMenus.d.ts +14 -0
  749. package/dist/esm/src/reducers/adminMenus.d.ts.map +1 -0
  750. package/dist/esm/src/reducers/adminMenus.js +29 -0
  751. package/dist/esm/src/reducers/adminMenus.js.map +1 -0
  752. package/dist/esm/src/reducers/collection.d.ts +122 -0
  753. package/dist/esm/src/reducers/collection.d.ts.map +1 -0
  754. package/dist/esm/src/reducers/collection.js +213 -0
  755. package/dist/esm/src/reducers/collection.js.map +1 -0
  756. package/dist/esm/src/reducers/components.d.ts +48 -0
  757. package/dist/esm/src/reducers/components.d.ts.map +1 -0
  758. package/dist/esm/src/reducers/components.js +128 -0
  759. package/dist/esm/src/reducers/components.js.map +1 -0
  760. package/dist/esm/src/reducers/config/index.d.ts +52 -0
  761. package/dist/esm/src/reducers/config/index.d.ts.map +1 -0
  762. package/dist/esm/src/reducers/config/index.js +82 -0
  763. package/dist/esm/src/reducers/config/index.js.map +1 -0
  764. package/dist/esm/src/reducers/config/initialState.d.ts +6 -0
  765. package/dist/esm/src/reducers/config/initialState.d.ts.map +1 -0
  766. package/dist/esm/src/reducers/config/initialState.js +6 -0
  767. package/dist/esm/src/reducers/config/initialState.js.map +1 -0
  768. package/dist/esm/src/reducers/config/initialState.native.d.ts +6 -0
  769. package/dist/esm/src/reducers/config/initialState.native.d.ts.map +1 -0
  770. package/dist/esm/src/reducers/config/initialState.native.js +18 -0
  771. package/dist/esm/src/reducers/config/initialState.native.js.map +1 -0
  772. package/dist/esm/src/reducers/context.d.ts +24 -0
  773. package/dist/esm/src/reducers/context.d.ts.map +1 -0
  774. package/dist/esm/src/reducers/context.js +37 -0
  775. package/dist/esm/src/reducers/context.js.map +1 -0
  776. package/dist/esm/src/reducers/dataSource.d.ts +36 -0
  777. package/dist/esm/src/reducers/dataSource.d.ts.map +1 -0
  778. package/dist/esm/src/reducers/dataSource.js +54 -0
  779. package/dist/esm/src/reducers/dataSource.js.map +1 -0
  780. package/dist/esm/src/reducers/files.d.ts +36 -0
  781. package/dist/esm/src/reducers/files.d.ts.map +1 -0
  782. package/dist/esm/src/reducers/files.js +89 -0
  783. package/dist/esm/src/reducers/files.js.map +1 -0
  784. package/dist/esm/src/reducers/fonts.d.ts +25 -0
  785. package/dist/esm/src/reducers/fonts.d.ts.map +1 -0
  786. package/dist/esm/src/reducers/fonts.js +79 -0
  787. package/dist/esm/src/reducers/fonts.js.map +1 -0
  788. package/dist/esm/src/reducers/icons.d.ts +14 -0
  789. package/dist/esm/src/reducers/icons.d.ts.map +1 -0
  790. package/dist/esm/src/reducers/icons.js +40 -0
  791. package/dist/esm/src/reducers/icons.js.map +1 -0
  792. package/dist/esm/src/reducers/index.d.ts +67 -0
  793. package/dist/esm/src/reducers/index.d.ts.map +1 -0
  794. package/dist/esm/src/reducers/index.js +61 -0
  795. package/dist/esm/src/reducers/index.js.map +1 -0
  796. package/dist/esm/src/reducers/modals.d.ts +30 -0
  797. package/dist/esm/src/reducers/modals.d.ts.map +1 -0
  798. package/dist/esm/src/reducers/modals.js +57 -0
  799. package/dist/esm/src/reducers/modals.js.map +1 -0
  800. package/dist/esm/src/reducers/notifications.d.ts +71 -0
  801. package/dist/esm/src/reducers/notifications.d.ts.map +1 -0
  802. package/dist/esm/src/reducers/notifications.js +36 -0
  803. package/dist/esm/src/reducers/notifications.js.map +1 -0
  804. package/dist/esm/src/reducers/pages/index.d.ts +6 -0
  805. package/dist/esm/src/reducers/pages/index.d.ts.map +1 -0
  806. package/dist/esm/src/reducers/pages/index.js +196 -0
  807. package/dist/esm/src/reducers/pages/index.js.map +1 -0
  808. package/dist/esm/src/reducers/pages/initialState.d.ts +10 -0
  809. package/dist/esm/src/reducers/pages/initialState.d.ts.map +1 -0
  810. package/dist/esm/src/reducers/pages/initialState.js +3 -0
  811. package/dist/esm/src/reducers/pages/initialState.js.map +1 -0
  812. package/dist/esm/src/reducers/pages/initialState.native.d.ts +10 -0
  813. package/dist/esm/src/reducers/pages/initialState.native.d.ts.map +1 -0
  814. package/dist/esm/src/reducers/pages/initialState.native.js +21 -0
  815. package/dist/esm/src/reducers/pages/initialState.native.js.map +1 -0
  816. package/dist/esm/src/reducers/routes.d.ts +45 -0
  817. package/dist/esm/src/reducers/routes.d.ts.map +1 -0
  818. package/dist/esm/src/reducers/routes.js +150 -0
  819. package/dist/esm/src/reducers/routes.js.map +1 -0
  820. package/dist/esm/src/reducers/search.d.ts +13 -0
  821. package/dist/esm/src/reducers/search.d.ts.map +1 -0
  822. package/dist/esm/src/reducers/search.js +24 -0
  823. package/dist/esm/src/reducers/search.js.map +1 -0
  824. package/dist/esm/src/reducers/session.d.ts +45 -0
  825. package/dist/esm/src/reducers/session.d.ts.map +1 -0
  826. package/dist/esm/src/reducers/session.js +99 -0
  827. package/dist/esm/src/reducers/session.js.map +1 -0
  828. package/dist/esm/src/reducers/user.d.ts +58 -0
  829. package/dist/esm/src/reducers/user.d.ts.map +1 -0
  830. package/dist/esm/src/reducers/user.js +89 -0
  831. package/dist/esm/src/reducers/user.js.map +1 -0
  832. package/dist/esm/src/services/SessionManager.d.ts +3 -0
  833. package/dist/esm/src/services/SessionManager.d.ts.map +1 -0
  834. package/dist/esm/src/services/SessionManager.js +23 -0
  835. package/dist/esm/src/services/SessionManager.js.map +1 -0
  836. package/dist/esm/src/services/index.d.ts +2 -0
  837. package/dist/esm/src/services/index.d.ts.map +1 -0
  838. package/dist/esm/src/services/index.js +2 -0
  839. package/dist/esm/src/services/index.js.map +1 -0
  840. package/dist/types/bin/generate-google-fonts-cache.d.ts +2 -0
  841. package/dist/types/bin/generate-google-fonts-cache.d.ts.map +1 -0
  842. package/dist/types/bin/generate-icons-cache.d.ts +2 -0
  843. package/dist/types/bin/generate-icons-cache.d.ts.map +1 -0
  844. package/dist/types/main.d.ts +14 -0
  845. package/dist/types/main.d.ts.map +1 -0
  846. package/dist/types/src/actions/index.d.ts +2 -0
  847. package/dist/types/src/actions/index.d.ts.map +1 -0
  848. package/dist/types/src/actions/restApi.d.ts +38 -0
  849. package/dist/types/src/actions/restApi.d.ts.map +1 -0
  850. package/dist/types/src/adapters/evaluateCode/default.test.d.ts +2 -0
  851. package/dist/types/src/adapters/evaluateCode/default.test.d.ts.map +1 -0
  852. package/dist/types/src/adapters/evaluateCode/index.d.ts +2 -0
  853. package/dist/types/src/adapters/evaluateCode/index.d.ts.map +1 -0
  854. package/dist/types/src/adapters/evaluateCode/index.native.d.ts +2 -0
  855. package/dist/types/src/adapters/evaluateCode/index.native.d.ts.map +1 -0
  856. package/dist/types/src/adapters/evaluateCode/native.test.d.ts +2 -0
  857. package/dist/types/src/adapters/evaluateCode/native.test.d.ts.map +1 -0
  858. package/dist/types/src/adapters/getUserToken/index.d.ts +2 -0
  859. package/dist/types/src/adapters/getUserToken/index.d.ts.map +1 -0
  860. package/dist/types/src/adapters/getUserToken/index.native.d.ts +2 -0
  861. package/dist/types/src/adapters/getUserToken/index.native.d.ts.map +1 -0
  862. package/dist/types/src/classes/Collection.d.ts +33 -0
  863. package/dist/types/src/classes/Collection.d.ts.map +1 -0
  864. package/dist/types/src/classes/Form.d.ts +3 -0
  865. package/dist/types/src/classes/Form.d.ts.map +1 -0
  866. package/dist/types/src/classes/Model.d.ts +28 -0
  867. package/dist/types/src/classes/Model.d.ts.map +1 -0
  868. package/dist/types/src/classes/User.d.ts +20 -0
  869. package/dist/types/src/classes/User.d.ts.map +1 -0
  870. package/dist/types/src/classes/index.d.ts +4 -0
  871. package/dist/types/src/classes/index.d.ts.map +1 -0
  872. package/dist/types/src/components/EmptyComponent.d.ts +3 -0
  873. package/dist/types/src/components/EmptyComponent.d.ts.map +1 -0
  874. package/dist/types/src/components/SkipSSR.d.ts +8 -0
  875. package/dist/types/src/components/SkipSSR.d.ts.map +1 -0
  876. package/dist/types/src/components/Svg.d.ts +7 -0
  877. package/dist/types/src/components/Svg.d.ts.map +1 -0
  878. package/dist/types/src/components/hoc/index.d.ts +5 -0
  879. package/dist/types/src/components/hoc/index.d.ts.map +1 -0
  880. package/dist/types/src/components/hoc/withCollection.d.ts +10 -0
  881. package/dist/types/src/components/hoc/withCollection.d.ts.map +1 -0
  882. package/dist/types/src/components/hoc/withCollectionRecord.d.ts +10 -0
  883. package/dist/types/src/components/hoc/withCollectionRecord.d.ts.map +1 -0
  884. package/dist/types/src/components/hoc/withSettings.d.ts +21 -0
  885. package/dist/types/src/components/hoc/withSettings.d.ts.map +1 -0
  886. package/dist/types/src/components/hoc/withSettings.native.d.ts +18 -0
  887. package/dist/types/src/components/hoc/withSettings.native.d.ts.map +1 -0
  888. package/dist/types/src/components/hoc/withoutSSR.d.ts +2 -0
  889. package/dist/types/src/components/hoc/withoutSSR.d.ts.map +1 -0
  890. package/dist/types/src/components/index.d.ts +4 -0
  891. package/dist/types/src/components/index.d.ts.map +1 -0
  892. package/dist/types/src/constants/googleFonts/index.d.ts +6 -0
  893. package/dist/types/src/constants/googleFonts/index.d.ts.map +1 -0
  894. package/dist/types/src/constants/iconInfo/directed-icons.d.ts +18 -0
  895. package/dist/types/src/constants/iconInfo/directed-icons.d.ts.map +1 -0
  896. package/dist/types/src/constants/iconInfo/index.d.ts +21 -0
  897. package/dist/types/src/constants/iconInfo/index.d.ts.map +1 -0
  898. package/dist/types/src/constants/iconInfo/reactNativeVectorIcons.d.ts +25 -0
  899. package/dist/types/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
  900. package/dist/types/src/constants/iconInfo/types.d.ts +45 -0
  901. package/dist/types/src/constants/iconInfo/types.d.ts.map +1 -0
  902. package/dist/types/src/constants/index.d.ts +14 -0
  903. package/dist/types/src/constants/index.d.ts.map +1 -0
  904. package/dist/types/src/constants/platformSpecific.d.ts +4 -0
  905. package/dist/types/src/constants/platformSpecific.d.ts.map +1 -0
  906. package/dist/types/src/constants/platformSpecific.native.d.ts +5 -0
  907. package/dist/types/src/constants/platformSpecific.native.d.ts.map +1 -0
  908. package/dist/types/src/contexts/ComponentContext.d.ts +11 -0
  909. package/dist/types/src/contexts/ComponentContext.d.ts.map +1 -0
  910. package/dist/types/src/contexts/DataContext.d.ts +5 -0
  911. package/dist/types/src/contexts/DataContext.d.ts.map +1 -0
  912. package/dist/types/src/contexts/EDLContext.d.ts +7 -0
  913. package/dist/types/src/contexts/EDLContext.d.ts.map +1 -0
  914. package/dist/types/src/contexts/LayoutContext.d.ts +12 -0
  915. package/dist/types/src/contexts/LayoutContext.d.ts.map +1 -0
  916. package/dist/types/src/contexts/PageContext.d.ts +8 -0
  917. package/dist/types/src/contexts/PageContext.d.ts.map +1 -0
  918. package/dist/types/src/contexts/ToolbarContext.d.ts +17 -0
  919. package/dist/types/src/contexts/ToolbarContext.d.ts.map +1 -0
  920. package/dist/types/src/contexts/index.d.ts +6 -0
  921. package/dist/types/src/contexts/index.d.ts.map +1 -0
  922. package/dist/types/src/data-sources/collection.d.ts +4 -0
  923. package/dist/types/src/data-sources/collection.d.ts.map +1 -0
  924. package/dist/types/src/data-sources/collectionRecord.d.ts +4 -0
  925. package/dist/types/src/data-sources/collectionRecord.d.ts.map +1 -0
  926. package/dist/types/src/data-sources/index.d.ts +3 -0
  927. package/dist/types/src/data-sources/index.d.ts.map +1 -0
  928. package/dist/types/src/data-sources/listUrl.d.ts +4 -0
  929. package/dist/types/src/data-sources/listUrl.d.ts.map +1 -0
  930. package/dist/types/src/data-sources/scopeDataSource.d.ts +4 -0
  931. package/dist/types/src/data-sources/scopeDataSource.d.ts.map +1 -0
  932. package/dist/types/src/data-sources/url.d.ts +4 -0
  933. package/dist/types/src/data-sources/url.d.ts.map +1 -0
  934. package/dist/types/src/edl/BlockRenderer.d.ts +9 -0
  935. package/dist/types/src/edl/BlockRenderer.d.ts.map +1 -0
  936. package/dist/types/src/edl/DataSourceLoader.d.ts +7 -0
  937. package/dist/types/src/edl/DataSourceLoader.d.ts.map +1 -0
  938. package/dist/types/src/edl/elements/DataSource.d.ts +8 -0
  939. package/dist/types/src/edl/elements/DataSource.d.ts.map +1 -0
  940. package/dist/types/src/edl/elements/Fragment.d.ts +9 -0
  941. package/dist/types/src/edl/elements/Fragment.d.ts.map +1 -0
  942. package/dist/types/src/edl/elements/UseEffect.d.ts +10 -0
  943. package/dist/types/src/edl/elements/UseEffect.d.ts.map +1 -0
  944. package/dist/types/src/edl/elements/index.d.ts +17 -0
  945. package/dist/types/src/edl/elements/index.d.ts.map +1 -0
  946. package/dist/types/src/edl/index.d.ts +58 -0
  947. package/dist/types/src/edl/index.d.ts.map +1 -0
  948. package/dist/types/src/edl/localStorage.app.d.ts +6 -0
  949. package/dist/types/src/edl/localStorage.app.d.ts.map +1 -0
  950. package/dist/types/src/edl/localStorage.d.ts +6 -0
  951. package/dist/types/src/edl/localStorage.d.ts.map +1 -0
  952. package/dist/types/src/edl/parser.d.ts +3 -0
  953. package/dist/types/src/edl/parser.d.ts.map +1 -0
  954. package/dist/types/src/edl/parser.test.d.ts +2 -0
  955. package/dist/types/src/edl/parser.test.d.ts.map +1 -0
  956. package/dist/types/src/helpers/analytics.d.ts +10 -0
  957. package/dist/types/src/helpers/analytics.d.ts.map +1 -0
  958. package/dist/types/src/helpers/axiosClient.d.ts +3 -0
  959. package/dist/types/src/helpers/axiosClient.d.ts.map +1 -0
  960. package/dist/types/src/helpers/base64.d.ts +3 -0
  961. package/dist/types/src/helpers/base64.d.ts.map +1 -0
  962. package/dist/types/src/helpers/base64.test.d.ts +2 -0
  963. package/dist/types/src/helpers/base64.test.d.ts.map +1 -0
  964. package/dist/types/src/helpers/commonStyles.d.ts +21 -0
  965. package/dist/types/src/helpers/commonStyles.d.ts.map +1 -0
  966. package/dist/types/src/helpers/functions.d.ts +14 -0
  967. package/dist/types/src/helpers/functions.d.ts.map +1 -0
  968. package/dist/types/src/helpers/handlebarHelpers.d.ts +2 -0
  969. package/dist/types/src/helpers/handlebarHelpers.d.ts.map +1 -0
  970. package/dist/types/src/helpers/handlebarHelpers.test.d.ts +2 -0
  971. package/dist/types/src/helpers/handlebarHelpers.test.d.ts.map +1 -0
  972. package/dist/types/src/helpers/i18nHelpers.d.ts +2 -0
  973. package/dist/types/src/helpers/i18nHelpers.d.ts.map +1 -0
  974. package/dist/types/src/helpers/i18nHelpers.native.d.ts +2 -0
  975. package/dist/types/src/helpers/i18nHelpers.native.d.ts.map +1 -0
  976. package/dist/types/src/helpers/i18ninstance.d.ts +3 -0
  977. package/dist/types/src/helpers/i18ninstance.d.ts.map +1 -0
  978. package/dist/types/src/helpers/iconHelper.d.ts +2 -0
  979. package/dist/types/src/helpers/iconHelper.d.ts.map +1 -0
  980. package/dist/types/src/helpers/index.d.ts +13 -0
  981. package/dist/types/src/helpers/index.d.ts.map +1 -0
  982. package/dist/types/src/helpers/pathHelper.d.ts +2 -0
  983. package/dist/types/src/helpers/pathHelper.d.ts.map +1 -0
  984. package/dist/types/src/helpers/pathhelper.test.d.ts +2 -0
  985. package/dist/types/src/helpers/pathhelper.test.d.ts.map +1 -0
  986. package/dist/types/src/helpers/remoteAction.d.ts +11 -0
  987. package/dist/types/src/helpers/remoteAction.d.ts.map +1 -0
  988. package/dist/types/src/helpers/themeHelpers.d.ts +241 -0
  989. package/dist/types/src/helpers/themeHelpers.d.ts.map +1 -0
  990. package/dist/types/src/hooks/index.d.ts +26 -0
  991. package/dist/types/src/hooks/index.d.ts.map +1 -0
  992. package/dist/types/src/hooks/useAction.d.ts +10 -0
  993. package/dist/types/src/hooks/useAction.d.ts.map +1 -0
  994. package/dist/types/src/hooks/useActionable.d.ts +37 -0
  995. package/dist/types/src/hooks/useActionable.d.ts.map +1 -0
  996. package/dist/types/src/hooks/useAuth.d.ts +9 -0
  997. package/dist/types/src/hooks/useAuth.d.ts.map +1 -0
  998. package/dist/types/src/hooks/useCollection.d.ts +3 -0
  999. package/dist/types/src/hooks/useCollection.d.ts.map +1 -0
  1000. package/dist/types/src/hooks/useCollectionRecord.d.ts +2 -0
  1001. package/dist/types/src/hooks/useCollectionRecord.d.ts.map +1 -0
  1002. package/dist/types/src/hooks/useComponentConfigProps.d.ts +3 -0
  1003. package/dist/types/src/hooks/useComponentConfigProps.d.ts.map +1 -0
  1004. package/dist/types/src/hooks/useComponentData.d.ts +4 -0
  1005. package/dist/types/src/hooks/useComponentData.d.ts.map +1 -0
  1006. package/dist/types/src/hooks/useConfig.d.ts +2 -0
  1007. package/dist/types/src/hooks/useConfig.d.ts.map +1 -0
  1008. package/dist/types/src/hooks/useDataSource.d.ts +15 -0
  1009. package/dist/types/src/hooks/useDataSource.d.ts.map +1 -0
  1010. package/dist/types/src/hooks/useEditable.d.ts +3 -0
  1011. package/dist/types/src/hooks/useEditable.d.ts.map +1 -0
  1012. package/dist/types/src/hooks/useFocus.d.ts +6 -0
  1013. package/dist/types/src/hooks/useFocus.d.ts.map +1 -0
  1014. package/dist/types/src/hooks/useFonts.d.ts +9 -0
  1015. package/dist/types/src/hooks/useFonts.d.ts.map +1 -0
  1016. package/dist/types/src/hooks/useLayoutEditor.d.ts +11 -0
  1017. package/dist/types/src/hooks/useLayoutEditor.d.ts.map +1 -0
  1018. package/dist/types/src/hooks/useMenuItems.d.ts +3 -0
  1019. package/dist/types/src/hooks/useMenuItems.d.ts.map +1 -0
  1020. package/dist/types/src/hooks/useNavigator.app.d.ts +4 -0
  1021. package/dist/types/src/hooks/useNavigator.app.d.ts.map +1 -0
  1022. package/dist/types/src/hooks/useNavigator.d.ts +4 -0
  1023. package/dist/types/src/hooks/useNavigator.d.ts.map +1 -0
  1024. package/dist/types/src/hooks/useOnScrollAnimation.d.ts +4 -0
  1025. package/dist/types/src/hooks/useOnScrollAnimation.d.ts.map +1 -0
  1026. package/dist/types/src/hooks/usePage.d.ts +5 -0
  1027. package/dist/types/src/hooks/usePage.d.ts.map +1 -0
  1028. package/dist/types/src/hooks/useParams.app.d.ts +2 -0
  1029. package/dist/types/src/hooks/useParams.app.d.ts.map +1 -0
  1030. package/dist/types/src/hooks/useParams.d.ts +2 -0
  1031. package/dist/types/src/hooks/useParams.d.ts.map +1 -0
  1032. package/dist/types/src/hooks/usePastePlainText.d.ts +3 -0
  1033. package/dist/types/src/hooks/usePastePlainText.d.ts.map +1 -0
  1034. package/dist/types/src/hooks/useResponsive.d.ts +3 -0
  1035. package/dist/types/src/hooks/useResponsive.d.ts.map +1 -0
  1036. package/dist/types/src/hooks/useScope.d.ts +3 -0
  1037. package/dist/types/src/hooks/useScope.d.ts.map +1 -0
  1038. package/dist/types/src/hooks/useTemplate.d.ts +3 -0
  1039. package/dist/types/src/hooks/useTemplate.d.ts.map +1 -0
  1040. package/dist/types/src/hooks/useTheme.app.d.ts +2 -0
  1041. package/dist/types/src/hooks/useTheme.app.d.ts.map +1 -0
  1042. package/dist/types/src/hooks/useTheme.d.ts +5 -0
  1043. package/dist/types/src/hooks/useTheme.d.ts.map +1 -0
  1044. package/dist/types/src/hooks/useTranslation.d.ts +4 -0
  1045. package/dist/types/src/hooks/useTranslation.d.ts.map +1 -0
  1046. package/dist/types/src/hooks/useUrl.d.ts +2 -0
  1047. package/dist/types/src/hooks/useUrl.d.ts.map +1 -0
  1048. package/dist/types/src/middlewares/dataSourceMiddleware.d.ts +3 -0
  1049. package/dist/types/src/middlewares/dataSourceMiddleware.d.ts.map +1 -0
  1050. package/dist/types/src/middlewares/index.d.ts +5 -0
  1051. package/dist/types/src/middlewares/index.d.ts.map +1 -0
  1052. package/dist/types/src/middlewares/platformEventsMiddleware.d.ts +5 -0
  1053. package/dist/types/src/middlewares/platformEventsMiddleware.d.ts.map +1 -0
  1054. package/dist/types/src/middlewares/platformEventsMiddleware.native.d.ts +3 -0
  1055. package/dist/types/src/middlewares/platformEventsMiddleware.native.d.ts.map +1 -0
  1056. package/dist/types/src/middlewares/restApiMiddleware.d.ts +3 -0
  1057. package/dist/types/src/middlewares/restApiMiddleware.d.ts.map +1 -0
  1058. package/dist/types/src/middlewares/socketMiddleware.d.ts +5 -0
  1059. package/dist/types/src/middlewares/socketMiddleware.d.ts.map +1 -0
  1060. package/dist/types/src/providers/DataSource.d.ts +9 -0
  1061. package/dist/types/src/providers/DataSource.d.ts.map +1 -0
  1062. package/dist/types/src/providers/I18nProvider.d.ts +7 -0
  1063. package/dist/types/src/providers/I18nProvider.d.ts.map +1 -0
  1064. package/dist/types/src/providers/Scope.d.ts +13 -0
  1065. package/dist/types/src/providers/Scope.d.ts.map +1 -0
  1066. package/dist/types/src/providers/Scopes.d.ts +12 -0
  1067. package/dist/types/src/providers/Scopes.d.ts.map +1 -0
  1068. package/dist/types/src/providers/index.d.ts +5 -0
  1069. package/dist/types/src/providers/index.d.ts.map +1 -0
  1070. package/dist/types/src/reducers/addAdminMenuItem.d.ts +1 -0
  1071. package/dist/types/src/reducers/addAdminMenuItem.d.ts.map +1 -0
  1072. package/dist/types/src/reducers/adminMenus.d.ts +14 -0
  1073. package/dist/types/src/reducers/adminMenus.d.ts.map +1 -0
  1074. package/dist/types/src/reducers/collection.d.ts +122 -0
  1075. package/dist/types/src/reducers/collection.d.ts.map +1 -0
  1076. package/dist/types/src/reducers/components.d.ts +48 -0
  1077. package/dist/types/src/reducers/components.d.ts.map +1 -0
  1078. package/dist/types/src/reducers/config/index.d.ts +52 -0
  1079. package/dist/types/src/reducers/config/index.d.ts.map +1 -0
  1080. package/dist/types/src/reducers/config/initialState.d.ts +6 -0
  1081. package/dist/types/src/reducers/config/initialState.d.ts.map +1 -0
  1082. package/dist/types/src/reducers/config/initialState.native.d.ts +6 -0
  1083. package/dist/types/src/reducers/config/initialState.native.d.ts.map +1 -0
  1084. package/dist/types/src/reducers/context.d.ts +24 -0
  1085. package/dist/types/src/reducers/context.d.ts.map +1 -0
  1086. package/dist/types/src/reducers/dataSource.d.ts +36 -0
  1087. package/dist/types/src/reducers/dataSource.d.ts.map +1 -0
  1088. package/dist/types/src/reducers/files.d.ts +36 -0
  1089. package/dist/types/src/reducers/files.d.ts.map +1 -0
  1090. package/dist/types/src/reducers/fonts.d.ts +25 -0
  1091. package/dist/types/src/reducers/fonts.d.ts.map +1 -0
  1092. package/dist/types/src/reducers/icons.d.ts +14 -0
  1093. package/dist/types/src/reducers/icons.d.ts.map +1 -0
  1094. package/dist/types/src/reducers/index.d.ts +67 -0
  1095. package/dist/types/src/reducers/index.d.ts.map +1 -0
  1096. package/dist/types/src/reducers/modals.d.ts +30 -0
  1097. package/dist/types/src/reducers/modals.d.ts.map +1 -0
  1098. package/dist/types/src/reducers/notifications.d.ts +71 -0
  1099. package/dist/types/src/reducers/notifications.d.ts.map +1 -0
  1100. package/dist/types/src/reducers/pages/index.d.ts +6 -0
  1101. package/dist/types/src/reducers/pages/index.d.ts.map +1 -0
  1102. package/dist/types/src/reducers/pages/initialState.d.ts +10 -0
  1103. package/dist/types/src/reducers/pages/initialState.d.ts.map +1 -0
  1104. package/dist/types/src/reducers/pages/initialState.native.d.ts +10 -0
  1105. package/dist/types/src/reducers/pages/initialState.native.d.ts.map +1 -0
  1106. package/dist/types/src/reducers/routes.d.ts +45 -0
  1107. package/dist/types/src/reducers/routes.d.ts.map +1 -0
  1108. package/dist/types/src/reducers/search.d.ts +13 -0
  1109. package/dist/types/src/reducers/search.d.ts.map +1 -0
  1110. package/dist/types/src/reducers/session.d.ts +45 -0
  1111. package/dist/types/src/reducers/session.d.ts.map +1 -0
  1112. package/dist/types/src/reducers/user.d.ts +58 -0
  1113. package/dist/types/src/reducers/user.d.ts.map +1 -0
  1114. package/dist/types/src/services/SessionManager.d.ts +3 -0
  1115. package/dist/types/src/services/SessionManager.d.ts.map +1 -0
  1116. package/dist/types/src/services/index.d.ts +2 -0
  1117. package/dist/types/src/services/index.d.ts.map +1 -0
  1118. package/package.json +20 -5
  1119. package/dist/bin/generate-google-fonts-cache.d.ts.map +0 -1
  1120. package/dist/bin/generate-google-fonts-cache.js.map +0 -1
  1121. package/dist/bin/generate-icons-cache.d.ts.map +0 -1
  1122. package/dist/bin/generate-icons-cache.js +0 -48
  1123. package/dist/bin/generate-icons-cache.js.map +0 -1
  1124. package/dist/main.d.ts.map +0 -1
  1125. package/dist/main.js.map +0 -1
  1126. package/dist/src/actions/index.d.ts.map +0 -1
  1127. package/dist/src/actions/index.js.map +0 -1
  1128. package/dist/src/actions/restApi.d.ts.map +0 -1
  1129. package/dist/src/actions/restApi.js.map +0 -1
  1130. package/dist/src/adapters/evaluateCode/default.test.d.ts.map +0 -1
  1131. package/dist/src/adapters/evaluateCode/default.test.js.map +0 -1
  1132. package/dist/src/adapters/evaluateCode/index.d.ts.map +0 -1
  1133. package/dist/src/adapters/evaluateCode/index.js.map +0 -1
  1134. package/dist/src/adapters/evaluateCode/index.native.d.ts.map +0 -1
  1135. package/dist/src/adapters/evaluateCode/index.native.js.map +0 -1
  1136. package/dist/src/adapters/evaluateCode/native.test.d.ts.map +0 -1
  1137. package/dist/src/adapters/evaluateCode/native.test.js.map +0 -1
  1138. package/dist/src/adapters/getUserToken/index.d.ts.map +0 -1
  1139. package/dist/src/adapters/getUserToken/index.js.map +0 -1
  1140. package/dist/src/adapters/getUserToken/index.native.d.ts.map +0 -1
  1141. package/dist/src/adapters/getUserToken/index.native.js.map +0 -1
  1142. package/dist/src/classes/Collection.d.ts.map +0 -1
  1143. package/dist/src/classes/Collection.js.map +0 -1
  1144. package/dist/src/classes/Form.d.ts.map +0 -1
  1145. package/dist/src/classes/Form.js.map +0 -1
  1146. package/dist/src/classes/Model.d.ts.map +0 -1
  1147. package/dist/src/classes/Model.js.map +0 -1
  1148. package/dist/src/classes/User.d.ts.map +0 -1
  1149. package/dist/src/classes/User.js.map +0 -1
  1150. package/dist/src/classes/index.d.ts.map +0 -1
  1151. package/dist/src/classes/index.js.map +0 -1
  1152. package/dist/src/components/EmptyComponent.d.ts.map +0 -1
  1153. package/dist/src/components/EmptyComponent.js.map +0 -1
  1154. package/dist/src/components/SkipSSR.d.ts.map +0 -1
  1155. package/dist/src/components/SkipSSR.js.map +0 -1
  1156. package/dist/src/components/Svg.d.ts.map +0 -1
  1157. package/dist/src/components/Svg.js.map +0 -1
  1158. package/dist/src/components/hoc/index.d.ts.map +0 -1
  1159. package/dist/src/components/hoc/index.js.map +0 -1
  1160. package/dist/src/components/hoc/withCollection.d.ts.map +0 -1
  1161. package/dist/src/components/hoc/withCollection.js.map +0 -1
  1162. package/dist/src/components/hoc/withCollectionRecord.d.ts.map +0 -1
  1163. package/dist/src/components/hoc/withCollectionRecord.js.map +0 -1
  1164. package/dist/src/components/hoc/withSettings.d.ts.map +0 -1
  1165. package/dist/src/components/hoc/withSettings.js.map +0 -1
  1166. package/dist/src/components/hoc/withSettings.native.d.ts.map +0 -1
  1167. package/dist/src/components/hoc/withSettings.native.js.map +0 -1
  1168. package/dist/src/components/hoc/withoutSSR.d.ts.map +0 -1
  1169. package/dist/src/components/hoc/withoutSSR.js.map +0 -1
  1170. package/dist/src/components/index.d.ts.map +0 -1
  1171. package/dist/src/components/index.js.map +0 -1
  1172. package/dist/src/constants/googleFonts/index.d.ts.map +0 -1
  1173. package/dist/src/constants/googleFonts/index.js.map +0 -1
  1174. package/dist/src/constants/iconInfo/directed-icons.d.ts.map +0 -1
  1175. package/dist/src/constants/iconInfo/directed-icons.js.map +0 -1
  1176. package/dist/src/constants/iconInfo/index.d.ts.map +0 -1
  1177. package/dist/src/constants/iconInfo/index.js.map +0 -1
  1178. package/dist/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +0 -1
  1179. package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +0 -1
  1180. package/dist/src/constants/iconInfo/types.d.ts.map +0 -1
  1181. package/dist/src/constants/iconInfo/types.js.map +0 -1
  1182. package/dist/src/constants/index.d.ts.map +0 -1
  1183. package/dist/src/constants/index.js.map +0 -1
  1184. package/dist/src/constants/platformSpecific.d.ts.map +0 -1
  1185. package/dist/src/constants/platformSpecific.js.map +0 -1
  1186. package/dist/src/constants/platformSpecific.native.d.ts.map +0 -1
  1187. package/dist/src/constants/platformSpecific.native.js.map +0 -1
  1188. package/dist/src/contexts/ComponentContext.d.ts.map +0 -1
  1189. package/dist/src/contexts/ComponentContext.js.map +0 -1
  1190. package/dist/src/contexts/DataContext.d.ts.map +0 -1
  1191. package/dist/src/contexts/DataContext.js.map +0 -1
  1192. package/dist/src/contexts/EDLContext.d.ts.map +0 -1
  1193. package/dist/src/contexts/EDLContext.js.map +0 -1
  1194. package/dist/src/contexts/LayoutContext.d.ts.map +0 -1
  1195. package/dist/src/contexts/LayoutContext.js.map +0 -1
  1196. package/dist/src/contexts/PageContext.d.ts.map +0 -1
  1197. package/dist/src/contexts/PageContext.js.map +0 -1
  1198. package/dist/src/contexts/ToolbarContext.d.ts.map +0 -1
  1199. package/dist/src/contexts/ToolbarContext.js.map +0 -1
  1200. package/dist/src/contexts/index.d.ts.map +0 -1
  1201. package/dist/src/contexts/index.js.map +0 -1
  1202. package/dist/src/data-sources/collection.d.ts.map +0 -1
  1203. package/dist/src/data-sources/collection.js.map +0 -1
  1204. package/dist/src/data-sources/collectionRecord.d.ts.map +0 -1
  1205. package/dist/src/data-sources/collectionRecord.js.map +0 -1
  1206. package/dist/src/data-sources/index.d.ts.map +0 -1
  1207. package/dist/src/data-sources/index.js.map +0 -1
  1208. package/dist/src/data-sources/listUrl.d.ts.map +0 -1
  1209. package/dist/src/data-sources/listUrl.js.map +0 -1
  1210. package/dist/src/data-sources/scopeDataSource.d.ts.map +0 -1
  1211. package/dist/src/data-sources/scopeDataSource.js.map +0 -1
  1212. package/dist/src/data-sources/url.d.ts.map +0 -1
  1213. package/dist/src/data-sources/url.js.map +0 -1
  1214. package/dist/src/edl/BlockRenderer.d.ts.map +0 -1
  1215. package/dist/src/edl/BlockRenderer.js.map +0 -1
  1216. package/dist/src/edl/DataSourceLoader.d.ts.map +0 -1
  1217. package/dist/src/edl/DataSourceLoader.js.map +0 -1
  1218. package/dist/src/edl/elements/DataSource.d.ts.map +0 -1
  1219. package/dist/src/edl/elements/DataSource.js.map +0 -1
  1220. package/dist/src/edl/elements/Fragment.d.ts.map +0 -1
  1221. package/dist/src/edl/elements/Fragment.js.map +0 -1
  1222. package/dist/src/edl/elements/UseEffect.d.ts.map +0 -1
  1223. package/dist/src/edl/elements/UseEffect.js.map +0 -1
  1224. package/dist/src/edl/elements/index.d.ts.map +0 -1
  1225. package/dist/src/edl/elements/index.js.map +0 -1
  1226. package/dist/src/edl/index.d.ts +0 -57
  1227. package/dist/src/edl/index.d.ts.map +0 -1
  1228. package/dist/src/edl/index.js +0 -155
  1229. package/dist/src/edl/index.js.map +0 -1
  1230. package/dist/src/edl/localStorage.app.d.ts.map +0 -1
  1231. package/dist/src/edl/localStorage.app.js.map +0 -1
  1232. package/dist/src/edl/localStorage.d.ts.map +0 -1
  1233. package/dist/src/edl/localStorage.js.map +0 -1
  1234. package/dist/src/edl/parser.d.ts.map +0 -1
  1235. package/dist/src/edl/parser.js.map +0 -1
  1236. package/dist/src/edl/parser.test.d.ts.map +0 -1
  1237. package/dist/src/edl/parser.test.js.map +0 -1
  1238. package/dist/src/helpers/analytics.d.ts.map +0 -1
  1239. package/dist/src/helpers/analytics.js.map +0 -1
  1240. package/dist/src/helpers/axiosClient.d.ts.map +0 -1
  1241. package/dist/src/helpers/axiosClient.js.map +0 -1
  1242. package/dist/src/helpers/base64.d.ts.map +0 -1
  1243. package/dist/src/helpers/base64.js.map +0 -1
  1244. package/dist/src/helpers/base64.test.d.ts.map +0 -1
  1245. package/dist/src/helpers/base64.test.js.map +0 -1
  1246. package/dist/src/helpers/commonStyles.d.ts.map +0 -1
  1247. package/dist/src/helpers/commonStyles.js.map +0 -1
  1248. package/dist/src/helpers/functions.d.ts.map +0 -1
  1249. package/dist/src/helpers/functions.js.map +0 -1
  1250. package/dist/src/helpers/handlebarHelpers.d.ts.map +0 -1
  1251. package/dist/src/helpers/handlebarHelpers.js.map +0 -1
  1252. package/dist/src/helpers/handlebarHelpers.test.d.ts.map +0 -1
  1253. package/dist/src/helpers/handlebarHelpers.test.js.map +0 -1
  1254. package/dist/src/helpers/i18nHelpers.d.ts.map +0 -1
  1255. package/dist/src/helpers/i18nHelpers.js.map +0 -1
  1256. package/dist/src/helpers/i18nHelpers.native.d.ts.map +0 -1
  1257. package/dist/src/helpers/i18nHelpers.native.js.map +0 -1
  1258. package/dist/src/helpers/i18ninstance.d.ts.map +0 -1
  1259. package/dist/src/helpers/i18ninstance.js.map +0 -1
  1260. package/dist/src/helpers/iconHelper.d.ts.map +0 -1
  1261. package/dist/src/helpers/iconHelper.js.map +0 -1
  1262. package/dist/src/helpers/index.d.ts.map +0 -1
  1263. package/dist/src/helpers/index.js.map +0 -1
  1264. package/dist/src/helpers/pathHelper.d.ts.map +0 -1
  1265. package/dist/src/helpers/pathHelper.js.map +0 -1
  1266. package/dist/src/helpers/pathhelper.test.d.ts.map +0 -1
  1267. package/dist/src/helpers/pathhelper.test.js.map +0 -1
  1268. package/dist/src/helpers/remoteAction.d.ts.map +0 -1
  1269. package/dist/src/helpers/remoteAction.js.map +0 -1
  1270. package/dist/src/helpers/themeHelpers.d.ts.map +0 -1
  1271. package/dist/src/helpers/themeHelpers.js.map +0 -1
  1272. package/dist/src/hooks/index.d.ts.map +0 -1
  1273. package/dist/src/hooks/index.js.map +0 -1
  1274. package/dist/src/hooks/useAction.d.ts.map +0 -1
  1275. package/dist/src/hooks/useAction.js.map +0 -1
  1276. package/dist/src/hooks/useActionable.d.ts.map +0 -1
  1277. package/dist/src/hooks/useActionable.js.map +0 -1
  1278. package/dist/src/hooks/useAuth.d.ts.map +0 -1
  1279. package/dist/src/hooks/useAuth.js.map +0 -1
  1280. package/dist/src/hooks/useCollection.d.ts.map +0 -1
  1281. package/dist/src/hooks/useCollection.js.map +0 -1
  1282. package/dist/src/hooks/useCollectionRecord.d.ts.map +0 -1
  1283. package/dist/src/hooks/useCollectionRecord.js.map +0 -1
  1284. package/dist/src/hooks/useComponentConfigProps.d.ts.map +0 -1
  1285. package/dist/src/hooks/useComponentConfigProps.js.map +0 -1
  1286. package/dist/src/hooks/useComponentData.d.ts.map +0 -1
  1287. package/dist/src/hooks/useComponentData.js.map +0 -1
  1288. package/dist/src/hooks/useConfig.d.ts.map +0 -1
  1289. package/dist/src/hooks/useConfig.js.map +0 -1
  1290. package/dist/src/hooks/useDataSource.d.ts.map +0 -1
  1291. package/dist/src/hooks/useDataSource.js.map +0 -1
  1292. package/dist/src/hooks/useEditable.d.ts.map +0 -1
  1293. package/dist/src/hooks/useEditable.js.map +0 -1
  1294. package/dist/src/hooks/useFocus.d.ts.map +0 -1
  1295. package/dist/src/hooks/useFocus.js.map +0 -1
  1296. package/dist/src/hooks/useFonts.d.ts.map +0 -1
  1297. package/dist/src/hooks/useFonts.js.map +0 -1
  1298. package/dist/src/hooks/useLayoutEditor.d.ts.map +0 -1
  1299. package/dist/src/hooks/useLayoutEditor.js.map +0 -1
  1300. package/dist/src/hooks/useMenuItems.d.ts.map +0 -1
  1301. package/dist/src/hooks/useMenuItems.js.map +0 -1
  1302. package/dist/src/hooks/useNavigator.app.d.ts.map +0 -1
  1303. package/dist/src/hooks/useNavigator.app.js.map +0 -1
  1304. package/dist/src/hooks/useNavigator.d.ts.map +0 -1
  1305. package/dist/src/hooks/useNavigator.js.map +0 -1
  1306. package/dist/src/hooks/useOnScrollAnimation.d.ts.map +0 -1
  1307. package/dist/src/hooks/useOnScrollAnimation.js.map +0 -1
  1308. package/dist/src/hooks/usePage.d.ts.map +0 -1
  1309. package/dist/src/hooks/usePage.js.map +0 -1
  1310. package/dist/src/hooks/useParams.app.d.ts.map +0 -1
  1311. package/dist/src/hooks/useParams.app.js.map +0 -1
  1312. package/dist/src/hooks/useParams.d.ts.map +0 -1
  1313. package/dist/src/hooks/useParams.js.map +0 -1
  1314. package/dist/src/hooks/usePastePlainText.d.ts.map +0 -1
  1315. package/dist/src/hooks/usePastePlainText.js.map +0 -1
  1316. package/dist/src/hooks/useResponsive.d.ts.map +0 -1
  1317. package/dist/src/hooks/useResponsive.js.map +0 -1
  1318. package/dist/src/hooks/useScope.d.ts.map +0 -1
  1319. package/dist/src/hooks/useScope.js.map +0 -1
  1320. package/dist/src/hooks/useTemplate.d.ts.map +0 -1
  1321. package/dist/src/hooks/useTemplate.js.map +0 -1
  1322. package/dist/src/hooks/useTheme.app.d.ts.map +0 -1
  1323. package/dist/src/hooks/useTheme.app.js.map +0 -1
  1324. package/dist/src/hooks/useTheme.d.ts.map +0 -1
  1325. package/dist/src/hooks/useTheme.js.map +0 -1
  1326. package/dist/src/hooks/useTranslation.d.ts.map +0 -1
  1327. package/dist/src/hooks/useTranslation.js.map +0 -1
  1328. package/dist/src/hooks/useUrl.d.ts.map +0 -1
  1329. package/dist/src/hooks/useUrl.js.map +0 -1
  1330. package/dist/src/middlewares/dataSourceMiddleware.d.ts.map +0 -1
  1331. package/dist/src/middlewares/dataSourceMiddleware.js.map +0 -1
  1332. package/dist/src/middlewares/index.d.ts.map +0 -1
  1333. package/dist/src/middlewares/index.js.map +0 -1
  1334. package/dist/src/middlewares/platformEventsMiddleware.d.ts.map +0 -1
  1335. package/dist/src/middlewares/platformEventsMiddleware.js.map +0 -1
  1336. package/dist/src/middlewares/platformEventsMiddleware.native.d.ts.map +0 -1
  1337. package/dist/src/middlewares/platformEventsMiddleware.native.js.map +0 -1
  1338. package/dist/src/middlewares/restApiMiddleware.d.ts.map +0 -1
  1339. package/dist/src/middlewares/restApiMiddleware.js.map +0 -1
  1340. package/dist/src/middlewares/socketMiddleware.d.ts.map +0 -1
  1341. package/dist/src/middlewares/socketMiddleware.js.map +0 -1
  1342. package/dist/src/providers/DataSource.d.ts.map +0 -1
  1343. package/dist/src/providers/DataSource.js.map +0 -1
  1344. package/dist/src/providers/I18nProvider.d.ts.map +0 -1
  1345. package/dist/src/providers/I18nProvider.js.map +0 -1
  1346. package/dist/src/providers/Scope.d.ts.map +0 -1
  1347. package/dist/src/providers/Scope.js.map +0 -1
  1348. package/dist/src/providers/Scopes.d.ts.map +0 -1
  1349. package/dist/src/providers/Scopes.js.map +0 -1
  1350. package/dist/src/providers/index.d.ts.map +0 -1
  1351. package/dist/src/providers/index.js.map +0 -1
  1352. package/dist/src/reducers/addAdminMenuItem.d.ts.map +0 -1
  1353. package/dist/src/reducers/addAdminMenuItem.js.map +0 -1
  1354. package/dist/src/reducers/adminMenus.d.ts.map +0 -1
  1355. package/dist/src/reducers/adminMenus.js.map +0 -1
  1356. package/dist/src/reducers/collection.d.ts.map +0 -1
  1357. package/dist/src/reducers/collection.js.map +0 -1
  1358. package/dist/src/reducers/components.d.ts.map +0 -1
  1359. package/dist/src/reducers/components.js.map +0 -1
  1360. package/dist/src/reducers/config/index.d.ts.map +0 -1
  1361. package/dist/src/reducers/config/index.js.map +0 -1
  1362. package/dist/src/reducers/config/initialState.d.ts.map +0 -1
  1363. package/dist/src/reducers/config/initialState.js.map +0 -1
  1364. package/dist/src/reducers/config/initialState.native.d.ts.map +0 -1
  1365. package/dist/src/reducers/config/initialState.native.js.map +0 -1
  1366. package/dist/src/reducers/context.d.ts.map +0 -1
  1367. package/dist/src/reducers/context.js.map +0 -1
  1368. package/dist/src/reducers/dataSource.d.ts.map +0 -1
  1369. package/dist/src/reducers/dataSource.js.map +0 -1
  1370. package/dist/src/reducers/files.d.ts.map +0 -1
  1371. package/dist/src/reducers/files.js.map +0 -1
  1372. package/dist/src/reducers/fonts.d.ts.map +0 -1
  1373. package/dist/src/reducers/fonts.js.map +0 -1
  1374. package/dist/src/reducers/icons.d.ts.map +0 -1
  1375. package/dist/src/reducers/icons.js.map +0 -1
  1376. package/dist/src/reducers/index.d.ts.map +0 -1
  1377. package/dist/src/reducers/index.js.map +0 -1
  1378. package/dist/src/reducers/modals.d.ts.map +0 -1
  1379. package/dist/src/reducers/modals.js.map +0 -1
  1380. package/dist/src/reducers/notifications.d.ts.map +0 -1
  1381. package/dist/src/reducers/notifications.js.map +0 -1
  1382. package/dist/src/reducers/pages/index.d.ts.map +0 -1
  1383. package/dist/src/reducers/pages/index.js.map +0 -1
  1384. package/dist/src/reducers/pages/initialState.d.ts.map +0 -1
  1385. package/dist/src/reducers/pages/initialState.js.map +0 -1
  1386. package/dist/src/reducers/pages/initialState.native.d.ts.map +0 -1
  1387. package/dist/src/reducers/pages/initialState.native.js.map +0 -1
  1388. package/dist/src/reducers/routes.d.ts.map +0 -1
  1389. package/dist/src/reducers/routes.js.map +0 -1
  1390. package/dist/src/reducers/search.d.ts.map +0 -1
  1391. package/dist/src/reducers/search.js.map +0 -1
  1392. package/dist/src/reducers/session.d.ts.map +0 -1
  1393. package/dist/src/reducers/session.js.map +0 -1
  1394. package/dist/src/reducers/user.d.ts.map +0 -1
  1395. package/dist/src/reducers/user.js.map +0 -1
  1396. package/dist/src/services/SessionManager.d.ts.map +0 -1
  1397. package/dist/src/services/SessionManager.js.map +0 -1
  1398. package/dist/src/services/index.d.ts.map +0 -1
  1399. package/dist/src/services/index.js.map +0 -1
  1400. /package/dist/{bin → cjs/bin}/generate-google-fonts-cache.d.ts +0 -0
  1401. /package/dist/{bin → cjs/bin}/generate-google-fonts-cache.js +0 -0
  1402. /package/dist/{bin → cjs/bin}/generate-icons-cache.d.ts +0 -0
  1403. /package/dist/{main.d.ts → cjs/main.d.ts} +0 -0
  1404. /package/dist/{main.js → cjs/main.js} +0 -0
  1405. /package/dist/{src → cjs/src}/actions/index.d.ts +0 -0
  1406. /package/dist/{src → cjs/src}/actions/index.js +0 -0
  1407. /package/dist/{src → cjs/src}/actions/restApi.d.ts +0 -0
  1408. /package/dist/{src → cjs/src}/actions/restApi.js +0 -0
  1409. /package/dist/{src → cjs/src}/adapters/evaluateCode/default.test.d.ts +0 -0
  1410. /package/dist/{src → cjs/src}/adapters/evaluateCode/default.test.js +0 -0
  1411. /package/dist/{src → cjs/src}/adapters/evaluateCode/index.d.ts +0 -0
  1412. /package/dist/{src → cjs/src}/adapters/evaluateCode/index.js +0 -0
  1413. /package/dist/{src → cjs/src}/adapters/evaluateCode/index.native.d.ts +0 -0
  1414. /package/dist/{src → cjs/src}/adapters/evaluateCode/index.native.js +0 -0
  1415. /package/dist/{src → cjs/src}/adapters/evaluateCode/native.test.d.ts +0 -0
  1416. /package/dist/{src → cjs/src}/adapters/evaluateCode/native.test.js +0 -0
  1417. /package/dist/{src → cjs/src}/adapters/getUserToken/index.d.ts +0 -0
  1418. /package/dist/{src → cjs/src}/adapters/getUserToken/index.js +0 -0
  1419. /package/dist/{src → cjs/src}/adapters/getUserToken/index.native.d.ts +0 -0
  1420. /package/dist/{src → cjs/src}/adapters/getUserToken/index.native.js +0 -0
  1421. /package/dist/{src → cjs/src}/classes/Collection.d.ts +0 -0
  1422. /package/dist/{src → cjs/src}/classes/Collection.js +0 -0
  1423. /package/dist/{src → cjs/src}/classes/Form.d.ts +0 -0
  1424. /package/dist/{src → cjs/src}/classes/Form.js +0 -0
  1425. /package/dist/{src → cjs/src}/classes/Model.d.ts +0 -0
  1426. /package/dist/{src → cjs/src}/classes/Model.js +0 -0
  1427. /package/dist/{src → cjs/src}/classes/User.d.ts +0 -0
  1428. /package/dist/{src → cjs/src}/classes/User.js +0 -0
  1429. /package/dist/{src → cjs/src}/classes/index.d.ts +0 -0
  1430. /package/dist/{src → cjs/src}/classes/index.js +0 -0
  1431. /package/dist/{src → cjs/src}/components/EmptyComponent.d.ts +0 -0
  1432. /package/dist/{src → cjs/src}/components/EmptyComponent.js +0 -0
  1433. /package/dist/{src → cjs/src}/components/SkipSSR.d.ts +0 -0
  1434. /package/dist/{src → cjs/src}/components/SkipSSR.js +0 -0
  1435. /package/dist/{src → cjs/src}/components/Svg.d.ts +0 -0
  1436. /package/dist/{src → cjs/src}/components/Svg.js +0 -0
  1437. /package/dist/{src → cjs/src}/components/hoc/index.d.ts +0 -0
  1438. /package/dist/{src → cjs/src}/components/hoc/index.js +0 -0
  1439. /package/dist/{src → cjs/src}/components/hoc/withCollection.d.ts +0 -0
  1440. /package/dist/{src → cjs/src}/components/hoc/withCollection.js +0 -0
  1441. /package/dist/{src → cjs/src}/components/hoc/withCollectionRecord.d.ts +0 -0
  1442. /package/dist/{src → cjs/src}/components/hoc/withCollectionRecord.js +0 -0
  1443. /package/dist/{src → cjs/src}/components/hoc/withSettings.d.ts +0 -0
  1444. /package/dist/{src → cjs/src}/components/hoc/withSettings.js +0 -0
  1445. /package/dist/{src → cjs/src}/components/hoc/withSettings.native.d.ts +0 -0
  1446. /package/dist/{src → cjs/src}/components/hoc/withSettings.native.js +0 -0
  1447. /package/dist/{src → cjs/src}/components/hoc/withoutSSR.d.ts +0 -0
  1448. /package/dist/{src → cjs/src}/components/hoc/withoutSSR.js +0 -0
  1449. /package/dist/{src → cjs/src}/components/index.d.ts +0 -0
  1450. /package/dist/{src → cjs/src}/components/index.js +0 -0
  1451. /package/dist/{src → cjs/src}/constants/googleFonts/index.d.ts +0 -0
  1452. /package/dist/{src → cjs/src}/constants/googleFonts/index.js +0 -0
  1453. /package/dist/{src → cjs/src}/constants/googleFonts/variants.min.json +0 -0
  1454. /package/dist/{src → cjs/src}/constants/iconInfo/directed-icons.d.ts +0 -0
  1455. /package/dist/{src → cjs/src}/constants/iconInfo/directed-icons.js +0 -0
  1456. /package/dist/{src → cjs/src}/constants/iconInfo/index.d.ts +0 -0
  1457. /package/dist/{src → cjs/src}/constants/iconInfo/index.js +0 -0
  1458. /package/dist/{src → cjs/src}/constants/iconInfo/reactNativeVectorIcons.d.ts +0 -0
  1459. /package/dist/{src → cjs/src}/constants/iconInfo/reactNativeVectorIcons.js +0 -0
  1460. /package/dist/{src → cjs/src}/constants/iconInfo/reactNativeVectorIcons.lookup.min.json +0 -0
  1461. /package/dist/{src → cjs/src}/constants/iconInfo/types.d.ts +0 -0
  1462. /package/dist/{src → cjs/src}/constants/iconInfo/types.js +0 -0
  1463. /package/dist/{src → cjs/src}/constants/index.d.ts +0 -0
  1464. /package/dist/{src → cjs/src}/constants/index.js +0 -0
  1465. /package/dist/{src → cjs/src}/constants/platformSpecific.d.ts +0 -0
  1466. /package/dist/{src → cjs/src}/constants/platformSpecific.js +0 -0
  1467. /package/dist/{src → cjs/src}/constants/platformSpecific.native.d.ts +0 -0
  1468. /package/dist/{src → cjs/src}/constants/platformSpecific.native.js +0 -0
  1469. /package/dist/{src → cjs/src}/contexts/ComponentContext.d.ts +0 -0
  1470. /package/dist/{src → cjs/src}/contexts/ComponentContext.js +0 -0
  1471. /package/dist/{src → cjs/src}/contexts/DataContext.d.ts +0 -0
  1472. /package/dist/{src → cjs/src}/contexts/DataContext.js +0 -0
  1473. /package/dist/{src → cjs/src}/contexts/EDLContext.d.ts +0 -0
  1474. /package/dist/{src → cjs/src}/contexts/EDLContext.js +0 -0
  1475. /package/dist/{src → cjs/src}/contexts/LayoutContext.d.ts +0 -0
  1476. /package/dist/{src → cjs/src}/contexts/LayoutContext.js +0 -0
  1477. /package/dist/{src → cjs/src}/contexts/PageContext.d.ts +0 -0
  1478. /package/dist/{src → cjs/src}/contexts/PageContext.js +0 -0
  1479. /package/dist/{src → cjs/src}/contexts/ToolbarContext.d.ts +0 -0
  1480. /package/dist/{src → cjs/src}/contexts/ToolbarContext.js +0 -0
  1481. /package/dist/{src → cjs/src}/contexts/index.d.ts +0 -0
  1482. /package/dist/{src → cjs/src}/contexts/index.js +0 -0
  1483. /package/dist/{src → cjs/src}/data-sources/collection.d.ts +0 -0
  1484. /package/dist/{src → cjs/src}/data-sources/collection.js +0 -0
  1485. /package/dist/{src → cjs/src}/data-sources/collectionRecord.d.ts +0 -0
  1486. /package/dist/{src → cjs/src}/data-sources/collectionRecord.js +0 -0
  1487. /package/dist/{src → cjs/src}/data-sources/index.d.ts +0 -0
  1488. /package/dist/{src → cjs/src}/data-sources/index.js +0 -0
  1489. /package/dist/{src → cjs/src}/data-sources/listUrl.d.ts +0 -0
  1490. /package/dist/{src → cjs/src}/data-sources/listUrl.js +0 -0
  1491. /package/dist/{src → cjs/src}/data-sources/scopeDataSource.d.ts +0 -0
  1492. /package/dist/{src → cjs/src}/data-sources/scopeDataSource.js +0 -0
  1493. /package/dist/{src → cjs/src}/data-sources/url.d.ts +0 -0
  1494. /package/dist/{src → cjs/src}/data-sources/url.js +0 -0
  1495. /package/dist/{src → cjs/src}/edl/BlockRenderer.d.ts +0 -0
  1496. /package/dist/{src → cjs/src}/edl/BlockRenderer.js +0 -0
  1497. /package/dist/{src → cjs/src}/edl/DataSourceLoader.d.ts +0 -0
  1498. /package/dist/{src → cjs/src}/edl/DataSourceLoader.js +0 -0
  1499. /package/dist/{src → cjs/src}/edl/elements/DataSource.d.ts +0 -0
  1500. /package/dist/{src → cjs/src}/edl/elements/DataSource.js +0 -0
  1501. /package/dist/{src → cjs/src}/edl/elements/Fragment.d.ts +0 -0
  1502. /package/dist/{src → cjs/src}/edl/elements/Fragment.js +0 -0
  1503. /package/dist/{src → cjs/src}/edl/elements/UseEffect.d.ts +0 -0
  1504. /package/dist/{src → cjs/src}/edl/elements/UseEffect.js +0 -0
  1505. /package/dist/{src → cjs/src}/edl/elements/index.d.ts +0 -0
  1506. /package/dist/{src → cjs/src}/edl/elements/index.js +0 -0
  1507. /package/dist/{src → cjs/src}/edl/localStorage.app.d.ts +0 -0
  1508. /package/dist/{src → cjs/src}/edl/localStorage.app.js +0 -0
  1509. /package/dist/{src → cjs/src}/edl/localStorage.d.ts +0 -0
  1510. /package/dist/{src → cjs/src}/edl/localStorage.js +0 -0
  1511. /package/dist/{src → cjs/src}/edl/parser.d.ts +0 -0
  1512. /package/dist/{src → cjs/src}/edl/parser.js +0 -0
  1513. /package/dist/{src → cjs/src}/edl/parser.test.d.ts +0 -0
  1514. /package/dist/{src → cjs/src}/edl/parser.test.js +0 -0
  1515. /package/dist/{src → cjs/src}/helpers/analytics.d.ts +0 -0
  1516. /package/dist/{src → cjs/src}/helpers/analytics.js +0 -0
  1517. /package/dist/{src → cjs/src}/helpers/axiosClient.d.ts +0 -0
  1518. /package/dist/{src → cjs/src}/helpers/axiosClient.js +0 -0
  1519. /package/dist/{src → cjs/src}/helpers/base64.d.ts +0 -0
  1520. /package/dist/{src → cjs/src}/helpers/base64.js +0 -0
  1521. /package/dist/{src → cjs/src}/helpers/base64.test.d.ts +0 -0
  1522. /package/dist/{src → cjs/src}/helpers/base64.test.js +0 -0
  1523. /package/dist/{src → cjs/src}/helpers/commonStyles.d.ts +0 -0
  1524. /package/dist/{src → cjs/src}/helpers/commonStyles.js +0 -0
  1525. /package/dist/{src → cjs/src}/helpers/functions.d.ts +0 -0
  1526. /package/dist/{src → cjs/src}/helpers/functions.js +0 -0
  1527. /package/dist/{src → cjs/src}/helpers/handlebarHelpers.d.ts +0 -0
  1528. /package/dist/{src → cjs/src}/helpers/handlebarHelpers.js +0 -0
  1529. /package/dist/{src → cjs/src}/helpers/handlebarHelpers.test.d.ts +0 -0
  1530. /package/dist/{src → cjs/src}/helpers/handlebarHelpers.test.js +0 -0
  1531. /package/dist/{src → cjs/src}/helpers/i18nHelpers.d.ts +0 -0
  1532. /package/dist/{src → cjs/src}/helpers/i18nHelpers.js +0 -0
  1533. /package/dist/{src → cjs/src}/helpers/i18nHelpers.native.d.ts +0 -0
  1534. /package/dist/{src → cjs/src}/helpers/i18nHelpers.native.js +0 -0
  1535. /package/dist/{src → cjs/src}/helpers/i18ninstance.d.ts +0 -0
  1536. /package/dist/{src → cjs/src}/helpers/i18ninstance.js +0 -0
  1537. /package/dist/{src → cjs/src}/helpers/iconHelper.d.ts +0 -0
  1538. /package/dist/{src → cjs/src}/helpers/iconHelper.js +0 -0
  1539. /package/dist/{src → cjs/src}/helpers/index.d.ts +0 -0
  1540. /package/dist/{src → cjs/src}/helpers/index.js +0 -0
  1541. /package/dist/{src → cjs/src}/helpers/pathHelper.d.ts +0 -0
  1542. /package/dist/{src → cjs/src}/helpers/pathHelper.js +0 -0
  1543. /package/dist/{src → cjs/src}/helpers/pathhelper.test.d.ts +0 -0
  1544. /package/dist/{src → cjs/src}/helpers/pathhelper.test.js +0 -0
  1545. /package/dist/{src → cjs/src}/helpers/remoteAction.d.ts +0 -0
  1546. /package/dist/{src → cjs/src}/helpers/remoteAction.js +0 -0
  1547. /package/dist/{src → cjs/src}/helpers/themeHelpers.d.ts +0 -0
  1548. /package/dist/{src → cjs/src}/helpers/themeHelpers.js +0 -0
  1549. /package/dist/{src → cjs/src}/hooks/index.d.ts +0 -0
  1550. /package/dist/{src → cjs/src}/hooks/index.js +0 -0
  1551. /package/dist/{src → cjs/src}/hooks/useAction.d.ts +0 -0
  1552. /package/dist/{src → cjs/src}/hooks/useAction.js +0 -0
  1553. /package/dist/{src → cjs/src}/hooks/useActionable.d.ts +0 -0
  1554. /package/dist/{src → cjs/src}/hooks/useActionable.js +0 -0
  1555. /package/dist/{src → cjs/src}/hooks/useAuth.d.ts +0 -0
  1556. /package/dist/{src → cjs/src}/hooks/useAuth.js +0 -0
  1557. /package/dist/{src → cjs/src}/hooks/useCollection.d.ts +0 -0
  1558. /package/dist/{src → cjs/src}/hooks/useCollection.js +0 -0
  1559. /package/dist/{src → cjs/src}/hooks/useCollectionRecord.d.ts +0 -0
  1560. /package/dist/{src → cjs/src}/hooks/useCollectionRecord.js +0 -0
  1561. /package/dist/{src → cjs/src}/hooks/useComponentConfigProps.d.ts +0 -0
  1562. /package/dist/{src → cjs/src}/hooks/useComponentConfigProps.js +0 -0
  1563. /package/dist/{src → cjs/src}/hooks/useComponentData.d.ts +0 -0
  1564. /package/dist/{src → cjs/src}/hooks/useComponentData.js +0 -0
  1565. /package/dist/{src → cjs/src}/hooks/useConfig.d.ts +0 -0
  1566. /package/dist/{src → cjs/src}/hooks/useConfig.js +0 -0
  1567. /package/dist/{src → cjs/src}/hooks/useDataSource.d.ts +0 -0
  1568. /package/dist/{src → cjs/src}/hooks/useDataSource.js +0 -0
  1569. /package/dist/{src → cjs/src}/hooks/useEditable.d.ts +0 -0
  1570. /package/dist/{src → cjs/src}/hooks/useEditable.js +0 -0
  1571. /package/dist/{src → cjs/src}/hooks/useFocus.d.ts +0 -0
  1572. /package/dist/{src → cjs/src}/hooks/useFocus.js +0 -0
  1573. /package/dist/{src → cjs/src}/hooks/useFonts.d.ts +0 -0
  1574. /package/dist/{src → cjs/src}/hooks/useFonts.js +0 -0
  1575. /package/dist/{src → cjs/src}/hooks/useLayoutEditor.d.ts +0 -0
  1576. /package/dist/{src → cjs/src}/hooks/useLayoutEditor.js +0 -0
  1577. /package/dist/{src → cjs/src}/hooks/useMenuItems.d.ts +0 -0
  1578. /package/dist/{src → cjs/src}/hooks/useMenuItems.js +0 -0
  1579. /package/dist/{src → cjs/src}/hooks/useNavigator.app.d.ts +0 -0
  1580. /package/dist/{src → cjs/src}/hooks/useNavigator.app.js +0 -0
  1581. /package/dist/{src → cjs/src}/hooks/useNavigator.d.ts +0 -0
  1582. /package/dist/{src → cjs/src}/hooks/useNavigator.js +0 -0
  1583. /package/dist/{src → cjs/src}/hooks/useOnScrollAnimation.d.ts +0 -0
  1584. /package/dist/{src → cjs/src}/hooks/useOnScrollAnimation.js +0 -0
  1585. /package/dist/{src → cjs/src}/hooks/usePage.d.ts +0 -0
  1586. /package/dist/{src → cjs/src}/hooks/usePage.js +0 -0
  1587. /package/dist/{src → cjs/src}/hooks/useParams.app.d.ts +0 -0
  1588. /package/dist/{src → cjs/src}/hooks/useParams.app.js +0 -0
  1589. /package/dist/{src → cjs/src}/hooks/useParams.d.ts +0 -0
  1590. /package/dist/{src → cjs/src}/hooks/useParams.js +0 -0
  1591. /package/dist/{src → cjs/src}/hooks/usePastePlainText.d.ts +0 -0
  1592. /package/dist/{src → cjs/src}/hooks/usePastePlainText.js +0 -0
  1593. /package/dist/{src → cjs/src}/hooks/useResponsive.d.ts +0 -0
  1594. /package/dist/{src → cjs/src}/hooks/useResponsive.js +0 -0
  1595. /package/dist/{src → cjs/src}/hooks/useScope.d.ts +0 -0
  1596. /package/dist/{src → cjs/src}/hooks/useScope.js +0 -0
  1597. /package/dist/{src → cjs/src}/hooks/useTemplate.d.ts +0 -0
  1598. /package/dist/{src → cjs/src}/hooks/useTemplate.js +0 -0
  1599. /package/dist/{src → cjs/src}/hooks/useTheme.app.d.ts +0 -0
  1600. /package/dist/{src → cjs/src}/hooks/useTheme.app.js +0 -0
  1601. /package/dist/{src → cjs/src}/hooks/useTheme.d.ts +0 -0
  1602. /package/dist/{src → cjs/src}/hooks/useTheme.js +0 -0
  1603. /package/dist/{src → cjs/src}/hooks/useTranslation.d.ts +0 -0
  1604. /package/dist/{src → cjs/src}/hooks/useTranslation.js +0 -0
  1605. /package/dist/{src → cjs/src}/hooks/useUrl.d.ts +0 -0
  1606. /package/dist/{src → cjs/src}/hooks/useUrl.js +0 -0
  1607. /package/dist/{src → cjs/src}/middlewares/dataSourceMiddleware.d.ts +0 -0
  1608. /package/dist/{src → cjs/src}/middlewares/dataSourceMiddleware.js +0 -0
  1609. /package/dist/{src → cjs/src}/middlewares/index.d.ts +0 -0
  1610. /package/dist/{src → cjs/src}/middlewares/index.js +0 -0
  1611. /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.d.ts +0 -0
  1612. /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.js +0 -0
  1613. /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.native.d.ts +0 -0
  1614. /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.native.js +0 -0
  1615. /package/dist/{src → cjs/src}/middlewares/restApiMiddleware.d.ts +0 -0
  1616. /package/dist/{src → cjs/src}/middlewares/restApiMiddleware.js +0 -0
  1617. /package/dist/{src → cjs/src}/middlewares/socketMiddleware.d.ts +0 -0
  1618. /package/dist/{src → cjs/src}/middlewares/socketMiddleware.js +0 -0
  1619. /package/dist/{src → cjs/src}/providers/DataSource.d.ts +0 -0
  1620. /package/dist/{src → cjs/src}/providers/DataSource.js +0 -0
  1621. /package/dist/{src → cjs/src}/providers/I18nProvider.d.ts +0 -0
  1622. /package/dist/{src → cjs/src}/providers/I18nProvider.js +0 -0
  1623. /package/dist/{src → cjs/src}/providers/Scope.d.ts +0 -0
  1624. /package/dist/{src → cjs/src}/providers/Scope.js +0 -0
  1625. /package/dist/{src → cjs/src}/providers/Scopes.d.ts +0 -0
  1626. /package/dist/{src → cjs/src}/providers/Scopes.js +0 -0
  1627. /package/dist/{src → cjs/src}/providers/index.d.ts +0 -0
  1628. /package/dist/{src → cjs/src}/providers/index.js +0 -0
  1629. /package/dist/{src → cjs/src}/reducers/addAdminMenuItem.d.ts +0 -0
  1630. /package/dist/{src → cjs/src}/reducers/addAdminMenuItem.js +0 -0
  1631. /package/dist/{src → cjs/src}/reducers/adminMenus.d.ts +0 -0
  1632. /package/dist/{src → cjs/src}/reducers/adminMenus.js +0 -0
  1633. /package/dist/{src → cjs/src}/reducers/collection.d.ts +0 -0
  1634. /package/dist/{src → cjs/src}/reducers/collection.js +0 -0
  1635. /package/dist/{src → cjs/src}/reducers/components.d.ts +0 -0
  1636. /package/dist/{src → cjs/src}/reducers/components.js +0 -0
  1637. /package/dist/{src → cjs/src}/reducers/config/index.d.ts +0 -0
  1638. /package/dist/{src → cjs/src}/reducers/config/index.js +0 -0
  1639. /package/dist/{src → cjs/src}/reducers/config/initialState.d.ts +0 -0
  1640. /package/dist/{src → cjs/src}/reducers/config/initialState.js +0 -0
  1641. /package/dist/{src → cjs/src}/reducers/config/initialState.native.d.ts +0 -0
  1642. /package/dist/{src → cjs/src}/reducers/config/initialState.native.js +0 -0
  1643. /package/dist/{src → cjs/src}/reducers/context.d.ts +0 -0
  1644. /package/dist/{src → cjs/src}/reducers/context.js +0 -0
  1645. /package/dist/{src → cjs/src}/reducers/dataSource.d.ts +0 -0
  1646. /package/dist/{src → cjs/src}/reducers/dataSource.js +0 -0
  1647. /package/dist/{src → cjs/src}/reducers/files.d.ts +0 -0
  1648. /package/dist/{src → cjs/src}/reducers/files.js +0 -0
  1649. /package/dist/{src → cjs/src}/reducers/fonts.d.ts +0 -0
  1650. /package/dist/{src → cjs/src}/reducers/fonts.js +0 -0
  1651. /package/dist/{src → cjs/src}/reducers/icons.d.ts +0 -0
  1652. /package/dist/{src → cjs/src}/reducers/icons.js +0 -0
  1653. /package/dist/{src → cjs/src}/reducers/index.d.ts +0 -0
  1654. /package/dist/{src → cjs/src}/reducers/index.js +0 -0
  1655. /package/dist/{src → cjs/src}/reducers/modals.d.ts +0 -0
  1656. /package/dist/{src → cjs/src}/reducers/modals.js +0 -0
  1657. /package/dist/{src → cjs/src}/reducers/notifications.d.ts +0 -0
  1658. /package/dist/{src → cjs/src}/reducers/notifications.js +0 -0
  1659. /package/dist/{src → cjs/src}/reducers/pages/index.d.ts +0 -0
  1660. /package/dist/{src → cjs/src}/reducers/pages/index.js +0 -0
  1661. /package/dist/{src → cjs/src}/reducers/pages/initialState.d.ts +0 -0
  1662. /package/dist/{src → cjs/src}/reducers/pages/initialState.js +0 -0
  1663. /package/dist/{src → cjs/src}/reducers/pages/initialState.native.d.ts +0 -0
  1664. /package/dist/{src → cjs/src}/reducers/pages/initialState.native.js +0 -0
  1665. /package/dist/{src → cjs/src}/reducers/routes.d.ts +0 -0
  1666. /package/dist/{src → cjs/src}/reducers/routes.js +0 -0
  1667. /package/dist/{src → cjs/src}/reducers/search.d.ts +0 -0
  1668. /package/dist/{src → cjs/src}/reducers/search.js +0 -0
  1669. /package/dist/{src → cjs/src}/reducers/session.d.ts +0 -0
  1670. /package/dist/{src → cjs/src}/reducers/session.js +0 -0
  1671. /package/dist/{src → cjs/src}/reducers/user.d.ts +0 -0
  1672. /package/dist/{src → cjs/src}/reducers/user.js +0 -0
  1673. /package/dist/{src → cjs/src}/services/SessionManager.d.ts +0 -0
  1674. /package/dist/{src → cjs/src}/services/SessionManager.js +0 -0
  1675. /package/dist/{src → cjs/src}/services/index.d.ts +0 -0
  1676. /package/dist/{src → cjs/src}/services/index.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EDLContext.js","sourceRoot":"","sources":["../../../../src/contexts/EDLContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAMpC,MAAM,UAAU,GAAG,aAAa,CAAiB;IAC7C,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC;AAE/C,eAAe,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ declare const LayoutContext: import("react").Context<{
2
+ type: string;
3
+ updateIndex: (...params: any) => void;
4
+ addBlock: (...params: any) => void;
5
+ }>;
6
+ export declare const LayoutProvider: import("react").Provider<{
7
+ type: string;
8
+ updateIndex: (...params: any) => void;
9
+ addBlock: (...params: any) => void;
10
+ }>;
11
+ export default LayoutContext;
12
+ //# sourceMappingURL=LayoutContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/LayoutContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;6BAAsD,GAAG;0BAA6B,GAAG;EAAQ,CAAC;AAErH,eAAO,MAAM,cAAc;;6BAF8C,GAAG;0BAA6B,GAAG;EAExD,CAAC;AAErD,eAAe,aAAa,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { createContext } from 'react';
2
+ const LayoutContext = createContext({ type: '', updateIndex: (...params) => { }, addBlock: (...params) => { } });
3
+ export const LayoutProvider = LayoutContext.Provider;
4
+ export default LayoutContext;
5
+ //# sourceMappingURL=LayoutContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutContext.js","sourceRoot":"","sources":["../../../../src/contexts/LayoutContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEpC,MAAM,aAAa,GAAG,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,GAAG,MAAW,EAAC,EAAE,GAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,MAAW,EAAC,EAAE,GAAC,CAAC,EAAE,CAAC,CAAC;AAErH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC;AAErD,eAAe,aAAa,CAAA"}
@@ -0,0 +1,8 @@
1
+ declare const PageContext: import("react").Context<{
2
+ isEditing: boolean;
3
+ }>;
4
+ export declare const PageProvider: import("react").Provider<{
5
+ isEditing: boolean;
6
+ }>;
7
+ export default PageContext;
8
+ //# sourceMappingURL=PageContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/PageContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW;;EAAsC,CAAC;AAExD,eAAO,MAAM,YAAY;;EAAuB,CAAC;AAEjD,eAAe,WAAW,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { createContext } from 'react';
2
+ const PageContext = createContext({ isEditing: false });
3
+ export const PageProvider = PageContext.Provider;
4
+ export default PageContext;
5
+ //# sourceMappingURL=PageContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageContext.js","sourceRoot":"","sources":["../../../../src/contexts/PageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEpC,MAAM,WAAW,GAAG,aAAa,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC;AAExD,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,QAAQ,CAAC;AAEjD,eAAe,WAAW,CAAA"}
@@ -0,0 +1,17 @@
1
+ declare const ToolbarContext: import("react").Context<{
2
+ setter: any;
3
+ stack: any[];
4
+ setActiveToolbar: (...props: any) => void;
5
+ }>;
6
+ export declare const ToolbarProvider: import("react").Provider<{
7
+ setter: any;
8
+ stack: any[];
9
+ setActiveToolbar: (...props: any) => void;
10
+ }>;
11
+ export declare const ToolbarData: import("react").Consumer<{
12
+ setter: any;
13
+ stack: any[];
14
+ setActiveToolbar: (...props: any) => void;
15
+ }>;
16
+ export default ToolbarContext;
17
+ //# sourceMappingURL=ToolbarContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolbarContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ToolbarContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;iCAAwE,GAAG;EAAO,CAAC;AAEvG,eAAO,MAAM,eAAe;;;iCAFgE,GAAG;EAEzC,CAAC;AAEvD,eAAO,MAAM,WAAW;;;iCAJoE,GAAG;EAI7C,CAAC;AAEnD,eAAe,cAAc,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { createContext } from 'react';
2
+ const ToolbarContext = createContext({ setter: null, stack: [], setActiveToolbar: (...props) => { } });
3
+ export const ToolbarProvider = ToolbarContext.Provider;
4
+ export const ToolbarData = ToolbarContext.Consumer;
5
+ export default ToolbarContext;
6
+ //# sourceMappingURL=ToolbarContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolbarContext.js","sourceRoot":"","sources":["../../../../src/contexts/ToolbarContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEpC,MAAM,cAAc,GAAG,aAAa,CAAC,EAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,gBAAgB,EAAE,CAAC,GAAG,KAAU,EAAC,EAAE,GAAC,CAAC,EAAC,CAAC,CAAC;AAEvG,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,QAAQ,CAAC;AAEvD,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC,QAAQ,CAAC;AAEnD,eAAe,cAAc,CAAA"}
@@ -0,0 +1,6 @@
1
+ export { default as PageContext, PageProvider } from './PageContext';
2
+ export { default as LayoutContext, LayoutProvider } from './LayoutContext';
3
+ export { default as ComponentContext, ComponentProvider } from './ComponentContext';
4
+ export { default as DataContext, DataProvider } from './DataContext';
5
+ export { default as ToolbarContext, ToolbarProvider } from './ToolbarContext';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAC,OAAO,IAAI,aAAa,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAEzE,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AAElF,OAAO,EAAC,OAAO,IAAI,WAAW,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAC,OAAO,IAAI,cAAc,EAAE,eAAe,EAAC,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { default as PageContext, PageProvider } from './PageContext';
2
+ export { default as LayoutContext, LayoutProvider } from './LayoutContext';
3
+ export { default as ComponentContext, ComponentProvider } from './ComponentContext';
4
+ export { default as DataContext, DataProvider } from './DataContext';
5
+ export { default as ToolbarContext, ToolbarProvider } from './ToolbarContext';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAC,OAAO,IAAI,aAAa,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAEzE,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AAElF,OAAO,EAAC,OAAO,IAAI,WAAW,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAC,OAAO,IAAI,cAAc,EAAE,eAAe,EAAC,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { _DataSource } from "../reducers";
2
+ declare const collectionDataSource: _DataSource;
3
+ export default collectionDataSource;
4
+ //# sourceMappingURL=collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../src/data-sources/collection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAwC,MAAM,aAAa,CAAC;AAchF,QAAA,MAAM,oBAAoB,EAAE,WAmC3B,CAAA;AA6CD,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,90 @@
1
+ import { assign, get, map, memoize } from "lodash";
2
+ import { Model } from "../classes";
3
+ import { getCollection, getModelForCollection } from "../reducers";
4
+ import { v5 as uuidv5 } from 'uuid';
5
+ import { DATA_SOURCE_KEY_NAMESPACE } from "../constants";
6
+ function _getModel(collectionName, dispatch) {
7
+ if (!collectionName)
8
+ return Model.forCollection('no-operations');
9
+ const model = dispatch(getModelForCollection(collectionName));
10
+ if (model)
11
+ return model;
12
+ return Model.forCollection(collectionName);
13
+ }
14
+ const getModel = memoize(_getModel);
15
+ const collectionDataSource = async (options, { dispatch }) => {
16
+ const { key, sourceId, collectionName = sourceId, params: requestOptions } = options;
17
+ if (!collectionName)
18
+ return;
19
+ let reqOptions = {};
20
+ if (requestOptions) {
21
+ if (typeof requestOptions === 'string') {
22
+ try {
23
+ assign(reqOptions, JSON.parse(requestOptions));
24
+ }
25
+ catch (e) {
26
+ console.log('reqOptions', e);
27
+ }
28
+ }
29
+ else if (typeof requestOptions === 'object') {
30
+ assign(reqOptions, requestOptions);
31
+ }
32
+ }
33
+ const pageSize = get(reqOptions, 'pageSize', options.pageSize) || 20;
34
+ const page = get(reqOptions, 'page', options.page) || 1;
35
+ const filter = get(reqOptions, 'filter', options.filter) || {};
36
+ const search = get(reqOptions, 'search', options.search) || '';
37
+ const sort = get(reqOptions, 'sort', options.sort) || {};
38
+ const populate = get(reqOptions, 'populate', options.populate);
39
+ const { response } = await dispatch(getCollection(collectionName, { page, key, pageSize, sort, search, populate }, filter));
40
+ const _Model = getModel(collectionName, dispatch);
41
+ return {
42
+ items: map(get(response, 'data'), item => new _Model(item)),
43
+ page: get(response, 'page'),
44
+ pageSize: get(response, 'pageSize'),
45
+ totalRecords: get(response, 'totalRecords'),
46
+ totalPages: get(response, 'totalPages'),
47
+ };
48
+ };
49
+ collectionDataSource.displayName = 'Collection';
50
+ collectionDataSource.identifier = 'collection';
51
+ collectionDataSource.type = 'Array';
52
+ collectionDataSource.configurationOptions = [
53
+ { type: 'text', key: 'collection-name', label: 'Collection Name', name: 'collectionName' },
54
+ { type: 'text', key: 'collection-page-size', label: 'Page Size', name: 'pageSize' },
55
+ { type: 'text', key: 'collection-page', label: 'Page', name: 'page' },
56
+ { type: 'code', key: 'collection-sort', label: 'Sort', name: 'sort' },
57
+ { type: 'text', key: 'collection-search', label: 'Search', name: 'search' },
58
+ { type: 'code', key: 'collection-filter', label: 'Filter', name: 'filter' },
59
+ { type: 'code', key: 'collection-params', label: 'Params', name: 'params', minHeight: 100 },
60
+ ];
61
+ collectionDataSource.defaultValues = {
62
+ collectionName: '',
63
+ params: JSON.stringify({ sort: { createdAt: -1 }, search: '', filter: {} }, null, 2),
64
+ };
65
+ collectionDataSource.keyExtractor = (options) => {
66
+ const { collectionName, params: requestOptionsString } = options;
67
+ let requestOptions;
68
+ try {
69
+ requestOptions = JSON.parse(requestOptionsString);
70
+ }
71
+ catch (e) { }
72
+ const pageSize = get(requestOptions, 'pageSize', options.pageSize) || 20;
73
+ const page = get(requestOptions, 'page', options.page) || 1;
74
+ const filter = get(requestOptions, 'filter', options.filter) || {};
75
+ const search = get(requestOptions, 'search', options.search) || '';
76
+ const sort = get(requestOptions, 'sort', options.sort) || {};
77
+ const populate = get(requestOptions, 'populate', options.populate);
78
+ return uuidv5([
79
+ get(requestOptions, 'key', ''),
80
+ collectionName,
81
+ search,
82
+ page,
83
+ pageSize,
84
+ populate,
85
+ JSON.stringify(sort),
86
+ ...map(filter, (v, k) => `${k}=${JSON.stringify(v)}`),
87
+ ].join(':'), DATA_SOURCE_KEY_NAMESPACE);
88
+ };
89
+ export default collectionDataSource;
90
+ //# sourceMappingURL=collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../../src/data-sources/collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAQ,GAAG,EAAE,OAAO,EAAU,MAAM,QAAQ,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAe,aAAa,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAGzD,SAAS,SAAS,CAAE,cAAc,EAAE,QAAQ;IACxC,IAAG,CAAC,cAAc;QAAE,OAAO,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAC5D,MAAM,KAAK,GAAG,QAAQ,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC7D,IAAG,KAAK;QAAE,OAAO,KAAK,CAAC;IACvB,OAAO,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAEpC,MAAM,oBAAoB,GAAgB,KAAK,EAAE,OAAO,EAAE,EAAC,QAAQ,EAAC,EAAC,EAAE;IACnE,MAAM,EAAC,GAAG,EAAE,QAAQ,EAAE,cAAc,GAAG,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAC,GAAG,OAAO,CAAC;IAEnF,IAAG,CAAC,cAAc;QAAE,OAAO;IAE3B,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,IAAG,cAAc,EAAC;QACd,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAC;YACnC,IAAG;gBACC,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;aAClD;YAAC,OAAM,CAAC,EAAC;gBACN,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;aAChC;SACJ;aAAM,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAC;YAC1C,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;SACtC;KACJ;IAED,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAA;IACpE,MAAM,IAAI,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACvD,MAAM,MAAM,GAAG,GAAG,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA;IAC9D,MAAM,MAAM,GAAG,GAAG,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA;IAC9D,MAAM,IAAI,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAA;IACxD,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;IAE9D,MAAM,EAAC,QAAQ,EAAC,GAAG,MAAM,QAAQ,CAAC,aAAa,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1H,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IAElD,OAAO;QACH,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,IAAI,CAAA,EAAE,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;QAC1D,IAAI,EAAE,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC;QAC3B,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,UAAU,CAAC;QACnC,YAAY,EAAE,GAAG,CAAC,QAAQ,EAAE,cAAc,CAAC;QAC3C,UAAU,EAAE,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAC;KAC1C,CAAC;AACN,CAAC,CAAA;AAGD,oBAAoB,CAAC,WAAW,GAAG,YAAY,CAAC;AAChD,oBAAoB,CAAC,UAAU,GAAG,YAAY,CAAC;AAC/C,oBAAoB,CAAC,IAAI,GAAG,OAAO,CAAC;AACpC,oBAAoB,CAAC,oBAAoB,GAAG;IACxC,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,gBAAgB,EAAC;IACxF,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,sBAAsB,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAC;IACjF,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAC;IACnE,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAC;IACnE,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,mBAAmB,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAC;IACzE,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,mBAAmB,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAC;IACzE,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,mBAAmB,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAC;CAC5F,CAAC;AACF,oBAAoB,CAAC,aAAa,GAAG;IACjC,cAAc,EAAE,EAAE;IAClB,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,EAAC,IAAI,EAAE,EAAC,SAAS,EAAE,CAAC,CAAC,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAC,EAAE,IAAI,EAAE,CAAC,CAAC;CACnF,CAAC;AACF,oBAAoB,CAAC,YAAY,GAAG,CAAC,OAAO,EAAC,EAAE;IAC3C,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,oBAAoB,EAAC,GAAG,OAAO,CAAC;IAChE,IAAI,cAAc,CAAC;IACnB,IAAG;QACC,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;KACrD;IAAA,OAAM,CAAC,EAAC,GAAE;IAEX,MAAM,QAAQ,GAAG,GAAG,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAA;IACxE,MAAM,IAAI,GAAG,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3D,MAAM,MAAM,GAAG,GAAG,CAAC,cAAc,EAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA;IAClE,MAAM,MAAM,GAAG,GAAG,CAAC,cAAc,EAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA;IAClE,MAAM,IAAI,GAAG,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAA;IAC5D,MAAM,QAAQ,GAAG,GAAG,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;IAClE,OAAO,MAAM,CAAC;QACV,GAAG,CAAC,cAAc,EAAE,KAAK,EAAE,EAAE,CAAC;QAC9B,cAAc;QACd,MAAM;QACN,IAAI;QACJ,QAAQ;QACR,QAAQ;QACR,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;QACpB,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAC,EAAE,CAAA,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;KACtD,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,yBAAyB,CAAC,CAAA;AAC3C,CAAC,CAAC;AAGF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { _DataSource } from "../reducers";
2
+ declare const collectionRecordDataSource: _DataSource;
3
+ export default collectionRecordDataSource;
4
+ //# sourceMappingURL=collectionRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collectionRecord.d.ts","sourceRoot":"","sources":["../../../../src/data-sources/collectionRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAA8C,MAAM,aAAa,CAAC;AAYtF,QAAA,MAAM,0BAA0B,EAAE,WASjC,CAAA;AAyBD,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { memoize } from "lodash";
2
+ import { v5 as uuidv5 } from 'uuid';
3
+ import { Model } from "../classes";
4
+ import { DATA_SOURCE_KEY_NAMESPACE } from "../constants";
5
+ import { collectionGetRecord, getModelForCollection } from "../reducers";
6
+ function _getModel(collectionName, dispatch) {
7
+ if (!collectionName)
8
+ return Model.forCollection('no-operations');
9
+ const model = dispatch(getModelForCollection(collectionName));
10
+ if (model)
11
+ return model;
12
+ return Model.forCollection(collectionName);
13
+ }
14
+ const getModel = memoize(_getModel);
15
+ const collectionRecordDataSource = async (options, { dispatch }) => {
16
+ const { collectionName, id, recordId = id, populate } = options;
17
+ if (!collectionName || !recordId)
18
+ return;
19
+ const { response } = await dispatch(collectionGetRecord(collectionName, recordId, populate));
20
+ const _Model = getModel(collectionName, dispatch);
21
+ return response ? new _Model(response) : null;
22
+ };
23
+ collectionRecordDataSource.displayName = 'Collection Record';
24
+ collectionRecordDataSource.identifier = 'collectionRecord';
25
+ collectionRecordDataSource.type = 'Object';
26
+ collectionRecordDataSource.configurationOptions = [
27
+ { type: 'text', key: 'collection-name', label: 'Collection Name', name: 'collectionName' },
28
+ { type: 'text', key: 'collection-record-id', label: 'Record ID/Handle', name: 'recordId' },
29
+ { type: 'code', key: 'collection-populate', label: 'Populate', name: 'populate', minHeight: 100 },
30
+ ];
31
+ collectionRecordDataSource.defaultValues = {
32
+ collectionName: '',
33
+ };
34
+ collectionRecordDataSource.keyExtractor = (options) => {
35
+ const { collectionName, id, recordId = id, populate } = options;
36
+ return uuidv5([
37
+ collectionName,
38
+ recordId,
39
+ populate,
40
+ ].join(':'), DATA_SOURCE_KEY_NAMESPACE);
41
+ };
42
+ export default collectionRecordDataSource;
43
+ //# sourceMappingURL=collectionRecord.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collectionRecord.js","sourceRoot":"","sources":["../../../../src/data-sources/collectionRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAe,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGtF,SAAS,SAAS,CAAE,cAAsB,EAAE,QAAkB;IAC1D,IAAG,CAAC,cAAc;QAAE,OAAO,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAChE,MAAM,KAAK,GAAG,QAAQ,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC7D,IAAG,KAAK;QAAE,OAAO,KAAK,CAAC;IACvB,OAAO,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAC/C,CAAC;AAED,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAEpC,MAAM,0BAA0B,GAAgB,KAAK,EAAE,OAAO,EAAE,EAAC,QAAQ,EAAC,EAAC,EAAE;IACzE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;IAEhE,IAAG,CAAC,cAAc,IAAI,CAAC,QAAQ;QAAE,OAAO;IAExC,MAAM,EAAC,QAAQ,EAAC,GAAG,MAAM,QAAQ,CAAC,mBAAmB,CAAC,cAAc,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC3F,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IAElD,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClD,CAAC,CAAA;AAGD,0BAA0B,CAAC,WAAW,GAAG,mBAAmB,CAAC;AAC7D,0BAA0B,CAAC,UAAU,GAAG,kBAAkB,CAAC;AAC3D,0BAA0B,CAAC,IAAI,GAAG,QAAQ,CAAC;AAC3C,0BAA0B,CAAC,oBAAoB,GAAG;IAC9C,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,gBAAgB,EAAC;IACxF,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,sBAAsB,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,UAAU,EAAC;IACxF,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,qBAAqB,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,EAAC;CAClG,CAAC;AACF,0BAA0B,CAAC,aAAa,GAAG;IACvC,cAAc,EAAE,EAAE;CACrB,CAAC;AACF,0BAA0B,CAAC,YAAY,GAAG,CAAC,OAAO,EAAC,EAAE;IACjD,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;IAEhE,OAAO,MAAM,CAAC;QACV,cAAc;QACd,QAAQ;QACR,QAAQ;KACX,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,yBAAyB,CAAC,CAAA;AAC3C,CAAC,CAAC;AAGF,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("../reducers")._DataSource[];
2
+ export default _default;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/data-sources/index.ts"],"names":[],"mappings":";AAMA,wBAME"}
@@ -0,0 +1,13 @@
1
+ import collectionDataSource from "./collection";
2
+ import collectionRecordDataSource from "./collectionRecord";
3
+ import listUrlDataSource from "./listUrl";
4
+ import scopeDataSource from "./scopeDataSource";
5
+ import urlDataSource from "./url";
6
+ export default [
7
+ collectionDataSource,
8
+ collectionRecordDataSource,
9
+ urlDataSource,
10
+ listUrlDataSource,
11
+ scopeDataSource,
12
+ ];
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/data-sources/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,cAAc,CAAC;AAChD,OAAO,0BAA0B,MAAM,oBAAoB,CAAC;AAC5D,OAAO,iBAAiB,MAAM,WAAW,CAAC;AAC1C,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,aAAa,MAAM,OAAO,CAAC;AAElC,eAAe;IACX,oBAAoB;IACpB,0BAA0B;IAC1B,aAAa;IACb,iBAAiB;IACjB,eAAe;CAClB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { _DataSource } from "../reducers";
2
+ declare const listUrlDataSource: _DataSource;
3
+ export default listUrlDataSource;
4
+ //# sourceMappingURL=listUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listUrl.d.ts","sourceRoot":"","sources":["../../../../src/data-sources/listUrl.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,QAAA,MAAM,iBAAiB,EAAE,WAyCxB,CAAA;AAiCD,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,70 @@
1
+ import { assign, defaultsDeep, get, pick } from "lodash";
2
+ import { request } from "../actions";
3
+ import { v5 as uuidv5 } from 'uuid';
4
+ import { DATA_SOURCE_KEY_NAMESPACE } from "../constants";
5
+ const listUrlDataSource = async (options, { dispatch }) => {
6
+ const { sourceId, url = sourceId, data, requestOptions, page } = options;
7
+ let reqOptions = {};
8
+ if (requestOptions) {
9
+ if (typeof requestOptions === 'string') {
10
+ try {
11
+ assign(reqOptions, JSON.parse(requestOptions));
12
+ }
13
+ catch (e) {
14
+ console.log('reqOptions', e);
15
+ }
16
+ }
17
+ else if (typeof requestOptions === 'object') {
18
+ assign(reqOptions, requestOptions);
19
+ }
20
+ }
21
+ console.log('reqOptions', reqOptions, requestOptions);
22
+ const pageSize = get(reqOptions, 'pageSize') || options.pageSize;
23
+ const pageSizeParamName = get(reqOptions, 'paramsMap.pageSize', 'pageSize');
24
+ const pageParamName = get(reqOptions, 'paramsMap.page', 'page');
25
+ const { response } = await dispatch(request(url, data, defaultsDeep({ params: { [pageParamName]: page, [pageSizeParamName]: pageSize } }, pick(reqOptions, ['params', 'headers', 'method']))));
26
+ if (Array.isArray(response)) {
27
+ return {
28
+ items: response,
29
+ page: page + 1,
30
+ pageSize: pageSize,
31
+ totalRecords: (page + 1) * pageSize,
32
+ };
33
+ }
34
+ return {
35
+ items: get(response, 'data') || get(response, 'items') || 'content',
36
+ page: get(response, 'page'),
37
+ pageSize: get(response, 'pageSize'),
38
+ totalRecords: get(response, 'totalRecords'),
39
+ totalPages: get(response, 'totalPages'),
40
+ };
41
+ };
42
+ listUrlDataSource.displayName = 'Rest API (Array)';
43
+ listUrlDataSource.identifier = 'array-url';
44
+ listUrlDataSource.type = 'Array';
45
+ listUrlDataSource.configurationOptions = [
46
+ { type: 'text', key: 'url-source', label: 'API URL', name: 'url', placeholder: 'eg. https://api.example.com/data' },
47
+ { type: 'code', key: 'url-params', label: 'Request Options', name: 'requestOptions', minHeight: 100 },
48
+ ];
49
+ listUrlDataSource.defaultValues = {
50
+ url: '',
51
+ requestOptions: JSON.stringify({ params: {}, data: {}, method: 'get' }, null, 2),
52
+ };
53
+ listUrlDataSource.keyExtractor = (options) => options.url || options.sourceId;
54
+ listUrlDataSource.keyExtractor = (options) => {
55
+ const { url = '', requestOptions: requestOptionsString } = options;
56
+ let requestOptions;
57
+ try {
58
+ requestOptions = JSON.parse(requestOptionsString);
59
+ }
60
+ catch (e) { }
61
+ return uuidv5([
62
+ get(requestOptions, 'key', ''),
63
+ url,
64
+ get(requestOptions, 'method', ''),
65
+ JSON.stringify(get(requestOptions, 'data', {})),
66
+ JSON.stringify(get(requestOptions, 'params')),
67
+ ].join(':'), DATA_SOURCE_KEY_NAMESPACE);
68
+ };
69
+ export default listUrlDataSource;
70
+ //# sourceMappingURL=listUrl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listUrl.js","sourceRoot":"","sources":["../../../../src/data-sources/listUrl.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ import { _DataSource } from "../reducers";
2
+ declare const scopeDataSource: _DataSource;
3
+ export default scopeDataSource;
4
+ //# sourceMappingURL=scopeDataSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopeDataSource.d.ts","sourceRoot":"","sources":["../../../../src/data-sources/scopeDataSource.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,QAAA,MAAM,eAAe,EAAE,WAEtB,CAAC;AAWF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { get } from "lodash";
2
+ const scopeDataSource = (options, { scope }) => {
3
+ return get(scope, get(options, 'path'));
4
+ };
5
+ scopeDataSource.keyExtractor = () => 'scope';
6
+ scopeDataSource.displayName = 'Scope';
7
+ scopeDataSource.identifier = 'scope';
8
+ scopeDataSource.type = 'Object';
9
+ scopeDataSource.configurationOptions = [
10
+ { type: 'text', key: 'scope-name', label: 'Scope name', name: 'path', placeholder: 'eg. user' },
11
+ ];
12
+ export default scopeDataSource;
13
+ //# sourceMappingURL=scopeDataSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopeDataSource.js","sourceRoot":"","sources":["../../../../src/data-sources/scopeDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAI7B,MAAM,eAAe,GAAgB,CAAC,OAAO,EAAE,EAAC,KAAK,EAAC,EAAC,EAAE;IACjD,OAAO,GAAG,CAAC,KAAK,EAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAA;AAC9C,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC;AAC7C,eAAe,CAAC,WAAW,GAAG,OAAO,CAAC;AACtC,eAAe,CAAC,UAAU,GAAG,OAAO,CAAC;AACrC,eAAe,CAAC,IAAI,GAAG,QAAQ,CAAC;AAChC,eAAe,CAAC,oBAAoB,GAAG;IACnC,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,YAAY,EAAG,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAC;CAEjG,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { _DataSource } from "../reducers";
2
+ declare const urlDataSource: _DataSource;
3
+ export default urlDataSource;
4
+ //# sourceMappingURL=url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../src/data-sources/url.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,QAAA,MAAM,aAAa,EAAE,WA0BpB,CAAA;AAiCD,eAAe,aAAa,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { assign, defaultsDeep, get, pick } from "lodash";
2
+ import { request } from "../actions";
3
+ import { v5 as uuidv5 } from 'uuid';
4
+ import { DATA_SOURCE_KEY_NAMESPACE } from "../constants";
5
+ const urlDataSource = async (options, { dispatch }) => {
6
+ const { sourceId, url = sourceId, data, requestOptions, page } = options;
7
+ let reqOptions = {};
8
+ if (requestOptions) {
9
+ if (typeof requestOptions === 'string') {
10
+ try {
11
+ assign(reqOptions, JSON.parse(requestOptions));
12
+ }
13
+ catch (e) {
14
+ console.log('reqOptions', e);
15
+ }
16
+ }
17
+ else if (typeof requestOptions === 'object') {
18
+ assign(reqOptions, requestOptions);
19
+ }
20
+ }
21
+ console.log('reqOptions', reqOptions, requestOptions);
22
+ const pageSize = get(reqOptions, 'pageSize') || options.pageSize;
23
+ const pageSizeParamName = get(reqOptions, 'paramsMap.pageSize', 'pageSize');
24
+ const pageParamName = get(reqOptions, 'paramsMap.page', 'page');
25
+ const { response } = await dispatch(request(url, data, defaultsDeep({ params: { [pageParamName]: page, [pageSizeParamName]: pageSize } }, pick(reqOptions, ['params', 'headers', 'method']))));
26
+ return response;
27
+ };
28
+ urlDataSource.displayName = 'Rest API';
29
+ urlDataSource.identifier = 'url';
30
+ urlDataSource.type = 'Object';
31
+ urlDataSource.configurationOptions = [
32
+ { type: 'text', key: 'url-source', label: 'API URL', name: 'url', placeholder: 'eg. https://api.example.com/data' },
33
+ { type: 'code', key: 'url-params', label: 'Request Options', name: 'requestOptions', minHeight: 100 },
34
+ ];
35
+ urlDataSource.defaultValues = {
36
+ url: '',
37
+ requestOptions: JSON.stringify({ params: {}, data: {}, method: 'get' }, null, 2),
38
+ };
39
+ urlDataSource.keyExtractor = (options) => options.url || options.sourceId;
40
+ urlDataSource.keyExtractor = (options) => {
41
+ const { url = '', requestOptions: requestOptionsString } = options;
42
+ let requestOptions;
43
+ try {
44
+ requestOptions = JSON.parse(requestOptionsString);
45
+ }
46
+ catch (e) { }
47
+ return uuidv5([
48
+ get(requestOptions, 'key', ''),
49
+ url,
50
+ get(requestOptions, 'method', ''),
51
+ JSON.stringify(get(requestOptions, 'data', {})),
52
+ JSON.stringify(get(requestOptions, 'params')),
53
+ ].join(':'), DATA_SOURCE_KEY_NAMESPACE);
54
+ };
55
+ export default urlDataSource;
56
+ //# sourceMappingURL=url.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url.js","sourceRoot":"","sources":["../../../../src/data-sources/url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,aAAa,GAAgB,KAAK,EAAE,OAAO,EAAE,EAAC,QAAQ,EAAC,EAAC,EAAE;IAC5D,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IACzE,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,IAAG,cAAc,EAAC;QACd,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAC;YACnC,IAAG;gBACC,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;aAClD;YAAC,OAAM,CAAC,EAAC;gBACN,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;aAChC;SACJ;aAAM,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAC;YAC1C,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;SACtC;KACJ;IACD,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACtD,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC;IACjE,MAAM,iBAAiB,GAAG,GAAG,CAAC,UAAU,EAAE,oBAAoB,EAAE,UAAU,CAAC,CAAC;IAC5E,MAAM,aAAa,GAAG,GAAG,CAAC,UAAU,EAAE,gBAAgB,EAAE,MAAM,CAAC,CAAC;IAEhE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,QAAQ,CAAC,OAAO,CACnC,GAAG,EACH,IAAI,EACJ,YAAY,CAAC,EAAC,MAAM,EAAE,EAAC,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CACrI,CAAC,CAAC;IAEP,OAAO,QAAQ,CAAC;AACpB,CAAC,CAAA;AAID,aAAa,CAAC,WAAW,GAAG,UAAU,CAAC;AACvC,aAAa,CAAC,UAAU,GAAI,KAAK,CAAC;AAClC,aAAa,CAAC,IAAI,GAAG,QAAQ,CAAC;AAC9B,aAAa,CAAC,oBAAoB,GAAG;IACjC,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,kCAAkC,EAAC;IACjH,EAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,GAAG,EAAC;CACtG,CAAC;AACF,aAAa,CAAC,aAAa,GAAG;IAC1B,GAAG,EAAE,EAAE;IACP,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,EAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAC,EAAE,IAAI,EAAE,CAAC,CAAC;CACjF,CAAC;AACF,aAAa,CAAC,YAAY,GAAG,CAAC,OAAO,EAAC,EAAE,CAAA,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC;AAExE,aAAa,CAAC,YAAY,GAAG,CAAC,OAAO,EAAC,EAAE;IACpC,MAAM,EAAE,GAAG,GAAG,EAAE,EAAE,cAAc,EAAE,oBAAoB,EAAC,GAAG,OAAO,CAAC;IAClE,IAAI,cAAc,CAAC;IACnB,IAAG;QACC,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;KACrD;IAAA,OAAM,CAAC,EAAC,GAAE;IAEX,OAAO,MAAM,CAAC;QACV,GAAG,CAAC,cAAc,EAAE,KAAK,EAAE,EAAE,CAAC;QAC9B,GAAG;QACH,GAAG,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,CAAC;QACjC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC;QAC/C,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;KAChD,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,yBAAyB,CAAC,CAAA;AAC3C,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ export default class EDLBlockRenderer {
2
+ private elements;
3
+ private options;
4
+ constructor(elements: any, options: any);
5
+ prepareNewContext(context: any, dataToAdd: any): any;
6
+ renderBlock: (block: any, context: any, parentBlockId: string) => any;
7
+ renderBlocks: (blocks: any, contextData: any, parentBlockId: string) => any[];
8
+ }
9
+ //# sourceMappingURL=BlockRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockRenderer.d.ts","sourceRoot":"","sources":["../../../../src/edl/BlockRenderer.tsx"],"names":[],"mappings":"AAiBA,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACnC,OAAO,CAAC,QAAQ,CAAM;IACtB,OAAO,CAAC,OAAO,CAAM;gBAET,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG;IAKvC,iBAAiB,CAAC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG;IAK9C,WAAW,UAAW,GAAG,WAAW,GAAG,iBAAiB,MAAM,SAqE7D;IAED,YAAY,WAAY,GAAG,eAAe,GAAG,iBAAiB,MAAM,WAEnE;CACF"}
@@ -0,0 +1,96 @@
1
+ import { assign, cloneDeep, forEach, fromPairs, get, isEmpty, map, set } from 'lodash';
2
+ import React from 'react';
3
+ const reservedProps = [':if', ':forEach', ':as', ':withContext'];
4
+ const isReservedProp = fromPairs(map(reservedProps, propName => [propName, true]));
5
+ function safelyRunFunction(fn, data) {
6
+ try {
7
+ return fn.call(data, data);
8
+ }
9
+ catch (e) {
10
+ }
11
+ }
12
+ const clone = typeof structuredClone === 'function' ? structuredClone : cloneDeep;
13
+ export default class EDLBlockRenderer {
14
+ constructor(elements, options) {
15
+ this.renderBlock = (block, context, parentBlockId) => {
16
+ if (!block)
17
+ return null;
18
+ if (typeof block === 'string')
19
+ return block;
20
+ if (typeof block === 'function')
21
+ return safelyRunFunction(block, context);
22
+ const { tag, staticProps, variableProps, sharedPropNames, children } = block;
23
+ // special props handling
24
+ if (staticProps[':withContext'] && staticProps[':as']) {
25
+ const { ':withContext': contextName, ':as': asName, ...remainingStaticProps } = staticProps;
26
+ const contextValue = get(context.context, contextName);
27
+ const dataToAdd = { [asName]: contextValue };
28
+ const newContext = this.prepareNewContext(context, dataToAdd);
29
+ const newBlock = {
30
+ ...block,
31
+ staticProps: remainingStaticProps,
32
+ };
33
+ return this.renderBlock(newBlock, newContext, parentBlockId);
34
+ }
35
+ else if ((variableProps[":forEach"])) {
36
+ const items = safelyRunFunction(variableProps[":forEach"], context);
37
+ return map(items, (item, index) => {
38
+ const asName = staticProps[':as'] || 'loopItem';
39
+ const dataToAdd = { [asName]: item, [`${asName}Index`]: index };
40
+ const newContext = this.prepareNewContext(context, dataToAdd);
41
+ const { ":forEach": sfe, ':as': _staticAsName, ...remainingStaticProps } = staticProps;
42
+ const { ":forEach": vfe, ':as': _variableAsName, ...remainingVariableProps } = variableProps;
43
+ const newBlock = {
44
+ ...block,
45
+ _id: `${block._id}-${index}`,
46
+ staticProps: remainingStaticProps,
47
+ variableProps: remainingVariableProps,
48
+ };
49
+ return this.renderBlock(newBlock, newContext, parentBlockId);
50
+ });
51
+ }
52
+ else if (variableProps[":if"]) {
53
+ const shouldShow = safelyRunFunction(variableProps[":if"], context);
54
+ if (!shouldShow)
55
+ return null;
56
+ }
57
+ const Element = this.elements[tag] || (get(this.options, ['allowAnyTags']) ? tag : null);
58
+ if (Element) {
59
+ const props = { ...staticProps };
60
+ forEach(sharedPropNames, propName => {
61
+ if (staticProps[propName]) {
62
+ props[propName] = clone(props[propName]);
63
+ }
64
+ });
65
+ forEach(variableProps, (expression, propName) => {
66
+ if (typeof expression === 'function' && !isReservedProp[propName]) {
67
+ set(props, propName, safelyRunFunction(expression, context));
68
+ }
69
+ });
70
+ if (!isEmpty(children)) {
71
+ let childRenderContext = context;
72
+ if (staticProps[':as'] && tag === 'DataSource') {
73
+ const datasourceAsName = staticProps[':as'];
74
+ const datasourceDataKey = parentBlockId ? `${parentBlockId}-${block._id}` : block._id;
75
+ const dataToAdd = { [datasourceAsName]: get(context, [datasourceDataKey]) };
76
+ childRenderContext = this.prepareNewContext(context, dataToAdd);
77
+ }
78
+ const childrenRendered = this.renderBlocks(children, childRenderContext, parentBlockId ? `${parentBlockId}-${block._id}` : block._id);
79
+ assign(props, { children: childrenRendered });
80
+ }
81
+ return React.createElement(Element, Object.assign({ _parentBlockId: parentBlockId, _blockId: block._id, key: props.key || block._id }, props));
82
+ }
83
+ return null;
84
+ };
85
+ this.renderBlocks = (blocks, contextData, parentBlockId) => {
86
+ return map(blocks, (block, index) => this.renderBlock(block, contextData, parentBlockId));
87
+ };
88
+ this.elements = elements;
89
+ this.options = options;
90
+ }
91
+ prepareNewContext(context, dataToAdd) {
92
+ const newContextData = assign({}, context.data, dataToAdd);
93
+ return assign({}, context, { data: newContextData }, dataToAdd);
94
+ }
95
+ }
96
+ //# sourceMappingURL=BlockRenderer.js.map