@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,79 @@
1
+ import { useCallback, useRef } from 'react';
2
+ import { useDispatch } from 'react-redux';
3
+ import { get, castArray, reduce } from 'lodash';
4
+ import { useNavigator } from "./useNavigator";
5
+ import { useScope } from "./useScope";
6
+ import useTemplate from './useTemplate';
7
+ export const useActionableWithNavigator = (navigator) => {
8
+ const dispatch = useDispatch();
9
+ const scopeRef = useRef();
10
+ const templateFunctionRef = useRef();
11
+ scopeRef.current = useScope();
12
+ templateFunctionRef.current = useTemplate();
13
+ const handleAction = useCallback((action, event) => {
14
+ let actionToUse = action;
15
+ // let scopeActionName = typeof actionToUse === 'string' ? actionToUse : get(actionToUse, 'bindKey');
16
+ while (typeof actionToUse === 'string' || (typeof actionToUse === 'object' && actionToUse.hasOwnProperty('bindKey'))) {
17
+ if (typeof actionToUse === 'string') {
18
+ actionToUse = get(scopeRef.current, actionToUse);
19
+ }
20
+ else {
21
+ const actionKey = actionToUse.bindKey;
22
+ const params = actionToUse.params;
23
+ const actionFromScopeAtSpecifiedPath = get(scopeRef.current, actionKey);
24
+ if (typeof actionFromScopeAtSpecifiedPath === 'function') {
25
+ const actionParams = params ? JSON.parse(templateFunctionRef.current(JSON.stringify(params))) : undefined;
26
+ actionToUse = () => actionFromScopeAtSpecifiedPath(actionParams);
27
+ }
28
+ else {
29
+ actionToUse = actionFromScopeAtSpecifiedPath;
30
+ }
31
+ }
32
+ }
33
+ if (typeof actionToUse === 'function')
34
+ return actionToUse(event);
35
+ if (typeof actionToUse === 'object') {
36
+ const { link, navigate, replace, navigationAction, push, page, params, setParams, dispatch: _reduxAction, reduxAction = _reduxAction, route, callback } = actionToUse;
37
+ if (link)
38
+ return navigator.openURL(templateFunctionRef.current(link));
39
+ if (navigate)
40
+ return navigator.navigate(...castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(navigate)))));
41
+ if (replace)
42
+ return navigator.replace(...castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(replace)))));
43
+ if (push)
44
+ return navigator.push(...castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(push)))));
45
+ if (navigationAction)
46
+ return navigator.dispatch(JSON.parse(templateFunctionRef.current(JSON.stringify(navigationAction))));
47
+ if (setParams)
48
+ return navigator.setParams(JSON.parse(templateFunctionRef.current(JSON.stringify(setParams))));
49
+ if (page) {
50
+ const routeParams = params ? JSON.parse(templateFunctionRef.current(JSON.stringify(params))) : undefined;
51
+ return navigator.openPage(page, routeParams);
52
+ }
53
+ ;
54
+ if (route)
55
+ return navigator.openRoute(templateFunctionRef.current(route));
56
+ if (reduxAction)
57
+ return dispatch(reduxAction);
58
+ if (callback)
59
+ return callback({ event, navigator, dispatch, scope: scopeRef.current });
60
+ }
61
+ }, [navigator, dispatch]);
62
+ const createActionHandeller = useCallback((action) => (event) => {
63
+ if (Array.isArray(action)) {
64
+ // run all actions in sequence, if any action returns a promise, wait for it to resolve before running the next action
65
+ return reduce(action, (promise, actionItem) => promise.then(() => handleAction(actionItem, event)), Promise.resolve());
66
+ }
67
+ return handleAction(action, event);
68
+ }, [handleAction]);
69
+ return createActionHandeller;
70
+ };
71
+ /**
72
+ * @description a function to map action into action handeller function
73
+ */
74
+ export const useActionable = () => {
75
+ const navigator = useNavigator();
76
+ return useActionableWithNavigator(navigator);
77
+ };
78
+ export default useActionable;
79
+ //# sourceMappingURL=useActionable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useActionable.js","sourceRoot":"","sources":["../../../../src/hooks/useActionable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAW,MAAM,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,EAAS,MAAM,QAAQ,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,WAAW,MAAM,eAAe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AAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO,qBAAqB,CAAC;AAChC,CAAC,CAAA;AAED;;GAEG;AACJ,MAAM,CAAC,MAAM,aAAa,GAAG,GAAE,EAAE;IAC7B,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IAEjC,OAAO,0BAA0B,CAAC,SAAS,CAAC,CAAA;AAChD,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { User } from '../classes';
2
+ /**
3
+ * @type {hook}
4
+ * Get authentication, Includes logged in user details
5
+ */
6
+ export declare const useAuth: () => User;
7
+ export declare const useUser: () => User;
8
+ export default useAuth;
9
+ //# sourceMappingURL=useAuth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC;;;GAGG;AACH,eAAO,MAAM,OAAO,YAQnB,CAAC;AAEF,eAAO,MAAM,OAAO,YAAU,CAAC;AAE/B,eAAe,OAAO,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { useMemo, useCallback } from 'react';
2
+ import { useSelector, useDispatch } from 'react-redux';
3
+ import { User } from '../classes';
4
+ import { login as loginAction, logout as logoutAction } from '../reducers';
5
+ /**
6
+ * @type {hook}
7
+ * Get authentication, Includes logged in user details
8
+ */
9
+ export const useAuth = () => {
10
+ const userData = useSelector(s => s.user);
11
+ const dispatch = useDispatch();
12
+ const login = useCallback(() => dispatch(loginAction()), [dispatch]);
13
+ const logout = useCallback(() => dispatch(logoutAction()), [dispatch]);
14
+ return useMemo(() => new User(userData, { login, logout }), [userData, login, logout]);
15
+ };
16
+ export const useUser = useAuth;
17
+ export default useAuth;
18
+ //# sourceMappingURL=useAuth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAuth.js","sourceRoot":"","sources":["../../../../src/hooks/useAuth.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1E;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,GAAE,EAAE;IACvB,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAA,EAAE,CAAA,CAAC,CAAC,IAAI,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,KAAK,GAAG,WAAW,CAAC,GAAE,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpE,MAAM,MAAM,GAAG,WAAW,CAAC,GAAE,EAAE,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEtE,OAAO,OAAO,CAAC,GAAE,EAAE,CAAA,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,MAAM,EAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAE;AACxF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC;AAE/B,eAAe,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Collection } from '../classes';
2
+ export declare const useCollection: (collectionName: string, { ready: isReady, key, sort }?: any) => Collection;
3
+ //# sourceMappingURL=useCollection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollection.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCollection.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAS,MAAM,YAAY,CAAC;AAY/C,eAAO,MAAM,aAAa,mBAAqB,MAAM,kCAAyE,GAAG,eA2EhI,CAAC"}
@@ -0,0 +1,83 @@
1
+ import _ from 'lodash';
2
+ import { useCallback, useEffect, useMemo, useState } from 'react';
3
+ import { useDispatch, useSelector } from 'react-redux';
4
+ import { Collection, Model } from '../classes';
5
+ import { collectionLoadMore, getCollection, getModelForCollection } from '../reducers';
6
+ const defaultCollection = {
7
+ page: 0,
8
+ pageSize: 0,
9
+ totalPages: 0,
10
+ totalRecords: 0,
11
+ items: [],
12
+ cache: {},
13
+ };
14
+ export const useCollection = (collectionName, { ready: isReady = !!collectionName, key = `_${collectionName}`, sort } = {}) => {
15
+ const { isLoading, page, pageSize, totalPages, totalRecords, items } = useSelector((state) => _.get(state.collection, key, defaultCollection));
16
+ const [searchQuery, setSearchQuery] = useState('');
17
+ const [filterOptions, setFilterOptions] = useState({});
18
+ const dispatch = useDispatch();
19
+ const CollectionModel = useMemo(() => {
20
+ if (!collectionName)
21
+ return Model.forCollection('no-operations');
22
+ const model = dispatch(getModelForCollection(collectionName));
23
+ if (model)
24
+ return model;
25
+ return Model.forCollection(collectionName);
26
+ }, [collectionName]);
27
+ const load = useCallback(({ page = 1 } = {}) => {
28
+ if (!collectionName || !dispatch || !isReady)
29
+ return;
30
+ dispatch(getCollection(collectionName, { key, page, sort, search: searchQuery }, filterOptions));
31
+ }, [dispatch, isReady, collectionName, searchQuery, filterOptions]);
32
+ const loadMore = useCallback(() => {
33
+ if (!collectionName || !isReady || !dispatch)
34
+ return;
35
+ dispatch(collectionLoadMore(collectionName, { key, page: page + 1, sort, search: searchQuery }));
36
+ }, [page, dispatch, collectionName, isReady]);
37
+ const next = useCallback(() => {
38
+ load({ page: page + 1 });
39
+ }, [load, page]);
40
+ const previous = useCallback(() => {
41
+ load({ page: page - 1 });
42
+ }, [load, page]);
43
+ const debounceSetSearch = useCallback(_.debounce(setSearchQuery, 150), [setSearchQuery]);
44
+ const search = useCallback((e) => {
45
+ if (typeof e === 'string')
46
+ debounceSetSearch(e);
47
+ else if (e instanceof Object)
48
+ debounceSetSearch(e.target.value);
49
+ }, [debounceSetSearch]);
50
+ const filterCollection = useCallback(_.debounce(setFilterOptions, 150), []);
51
+ const loadFirstPage = useCallback(() => {
52
+ load();
53
+ }, [load, searchQuery, filterOptions]);
54
+ useEffect(() => {
55
+ if (isReady) {
56
+ loadFirstPage();
57
+ }
58
+ }, [isReady, collectionName]);
59
+ const hasMore = page < totalPages;
60
+ const hasNext = hasMore;
61
+ const hasPrevious = page > 1;
62
+ const itemInstances = useMemo(() => items.map((i) => new CollectionModel(i)), [items, CollectionModel]);
63
+ return useMemo(() => {
64
+ return new Collection(itemInstances, {
65
+ page,
66
+ pageSize,
67
+ totalPages,
68
+ totalRecords,
69
+ load,
70
+ isLoading,
71
+ hasMore,
72
+ hasNext,
73
+ hasPrevious,
74
+ loadMore,
75
+ next,
76
+ previous,
77
+ search,
78
+ searchQuery,
79
+ filter: filterCollection,
80
+ });
81
+ }, [itemInstances, page, pageSize, totalPages, totalRecords, load, isLoading, hasMore, hasNext, hasPrevious, loadMore, next, previous, search, searchQuery]);
82
+ };
83
+ //# sourceMappingURL=useCollection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollection.js","sourceRoot":"","sources":["../../../../src/hooks/useCollection.tsx"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEvF,MAAM,iBAAiB,GAAG;IACtB,IAAI,EAAE,CAAC;I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E,UAAU,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAA;AAChK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useCollectionRecord: (collectionName: string, id: string) => any;
2
+ //# sourceMappingURL=useCollectionRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollectionRecord.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCollectionRecord.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,mBAAmB,mBAAqB,MAAM,MAAM,MAAM,QAyBtE,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { useMemo, useCallback, useEffect } from 'react';
2
+ import { useDispatch, useSelector } from 'react-redux';
3
+ import { get } from 'lodash';
4
+ import { getModelForCollection, collectionGetRecord } from '../reducers';
5
+ import { Model } from '../classes';
6
+ const defaultValue = { isLoading: true };
7
+ export const useCollectionRecord = (collectionName, id) => {
8
+ const dispatch = useDispatch();
9
+ const key = `_${collectionName}`;
10
+ const CollectionModel = useMemo(() => {
11
+ if (!collectionName)
12
+ return;
13
+ const model = dispatch(getModelForCollection(collectionName));
14
+ if (model)
15
+ return model;
16
+ return Model.forCollection(collectionName);
17
+ }, [collectionName]);
18
+ const record = useSelector((state) => get(state.collection, [key, 'cache', id], defaultValue));
19
+ const load = useCallback(() => {
20
+ if (!id)
21
+ return;
22
+ return dispatch(collectionGetRecord(collectionName, id))
23
+ .then((r) => r.response);
24
+ }, [dispatch, collectionName, id]);
25
+ useEffect(() => {
26
+ load();
27
+ }, [load]);
28
+ return useMemo(() => new CollectionModel(record), [record]);
29
+ };
30
+ //# sourceMappingURL=useCollectionRecord.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollectionRecord.js","sourceRoot":"","sources":["../../../../src/hooks/useCollectionRecord.tsx"],"names":[],"mappings":"AA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AAC,CAAC;IAClC,CAAC,EAAE,CAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC;IAGpC,SAAS,CAAC,GAAE,EAAE;QACV,IAAI,EAAE,CAAC;IACX,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAEX,OAAO,OAAO,CAAC,GAAE,EAAE,CAAA,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9D,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const useComponentConfigProps: (config_name: any, props: any) => any;
2
+ export default useComponentConfigProps;
3
+ //# sourceMappingURL=useComponentConfigProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useComponentConfigProps.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComponentConfigProps.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,uCAUnC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { useMemo } from 'react';
2
+ import _ from 'lodash';
3
+ import { useComponentData } from "./useComponentData";
4
+ export const useComponentConfigProps = (config_name, props) => {
5
+ const { data } = useComponentData();
6
+ const componentConfig = _.get(data, config_name, {});
7
+ return useMemo(() => Object.keys(componentConfig).reduce((config, key) => {
8
+ if (componentConfig[key] !== null) {
9
+ config[key] = componentConfig[key];
10
+ }
11
+ return config;
12
+ }, props ? { ...props } : {}), [componentConfig, props]);
13
+ };
14
+ export default useComponentConfigProps;
15
+ //# sourceMappingURL=useComponentConfigProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useComponentConfigProps.js","sourceRoot":"","sources":["../../../../src/hooks/useComponentConfigProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,WAAW,EAAE,KAAK,EAAC,EAAE;IAEzD,MAAM,EAAC,IAAI,EAAC,GAAG,gBAAgB,EAAE,CAAC;IAClC,MAAM,eAAe,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,CAAC,CAAC;IACrD,OAAO,OAAO,CAAC,GAAE,EAAE,CAAA,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,EAAC,EAAE;QAClE,IAAG,eAAe,CAAC,GAAG,CAAC,KAAK,IAAI,EAAC;YAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;SACtC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC,EAAE,KAAK,CAAA,CAAC,CAAC,EAAC,GAAG,KAAK,EAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC;AAC1D,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const useComponentData: () => {
2
+ data: {};
3
+ };
4
+ //# sourceMappingURL=useComponentData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useComponentData.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComponentData.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;;CAE5B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { useContext } from 'react';
2
+ import { ComponentContext } from '../contexts';
3
+ export const useComponentData = () => {
4
+ return useContext(ComponentContext);
5
+ };
6
+ //# sourceMappingURL=useComponentData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useComponentData.js","sourceRoot":"","sources":["../../../../src/hooks/useComponentData.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAE,EAAE;IAChC,OAAO,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACxC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useConfig: (configName?: string) => any;
2
+ //# sourceMappingURL=useConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfig.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useConfig.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,gBAAiB,MAAM,QAE5C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { useSelector } from 'react-redux';
2
+ import { get } from 'lodash';
3
+ export const useConfig = (configName) => {
4
+ return useSelector((s) => configName ? get(s.config.data, configName) : s.config.data);
5
+ };
6
+ //# sourceMappingURL=useConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfig.js","sourceRoot":"","sources":["../../../../src/hooks/useConfig.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,UAAmB,EAAC,EAAE;IAC5C,OAAO,WAAW,CAAC,CAAC,CAA8B,EAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;AACxH,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { Collection } from '../classes';
2
+ declare type DataSourceName = 'static' | 'collection' | 'url' | 'scope' | any;
3
+ interface DataSourceOptions {
4
+ type?: DataSourceName;
5
+ memoize?: boolean;
6
+ params?: string;
7
+ transformer?: string;
8
+ data?: Object;
9
+ isReady?: boolean;
10
+ [key: string]: any;
11
+ }
12
+ declare type Data = Collection | Object;
13
+ export declare const useDataSource: (source: string | DataSourceOptions, options?: DataSourceOptions) => Data;
14
+ export {};
15
+ //# sourceMappingURL=useDataSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDataSource.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDataSource.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,aAAK,cAAc,GAAG,QAAQ,GAAG,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,GAAG,CAAC;AACtE,UAAU,iBAAiB;IACvB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAE;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,CAAC,GAAG,EAAC,MAAM,GAAG,GAAG,CAAC;CACrB;AAED,aAAK,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;AAIhC,eAAO,MAAM,aAAa,WAAa,MAAM,GAAG,iBAAiB,YAAa,iBAAiB,KAAI,IAsIlG,CAAC"}
@@ -0,0 +1,136 @@
1
+ import { assign, defaults, get, map, omit, reduce, sortedUniq } from 'lodash';
2
+ import { useCallback, useEffect, useMemo } from 'react';
3
+ import { useDispatch, useSelector } from 'react-redux';
4
+ import { Collection } from '../classes';
5
+ import { DATA_SOURCE_LOAD_DATA, DATA_SOURCE_LOAD_MORE_DATA, DATA_SOURCE_LOAD_NEXT_PAGE_DATA, DATA_SOURCE_LOAD_PREVIOUS_PAGE_DATA } from '../reducers';
6
+ import { useScope } from './useScope';
7
+ import useTemplate from './useTemplate';
8
+ const defaultDatasourceOptions = { memoize: true, isReady: true };
9
+ export const useDataSource = (source, options) => {
10
+ const dispatch = useDispatch();
11
+ const template = useTemplate();
12
+ const scope = useScope();
13
+ const { dataSourceName, options: _dataSourceOptions } = useMemo(() => {
14
+ if (typeof source === 'object') {
15
+ return { dataSourceName: source.type, options: defaults(omit(source, ['type']), defaultDatasourceOptions) };
16
+ }
17
+ else {
18
+ return { dataSourceName: source, options: defaults(options, defaultDatasourceOptions) };
19
+ }
20
+ }, [source, options]);
21
+ const dataSource = useSelector(state => state.dataSource.dataSources[dataSourceName]);
22
+ // prepare datasource options by filling values from scope using template
23
+ const dataSourceOptions = useMemo(() => {
24
+ const paramNames = sortedUniq(map(get(dataSource, 'configurationOptions'), 'name'));
25
+ const templatedValues = reduce(paramNames, (acc, paramName) => {
26
+ let paramValue = null;
27
+ let paramValueTemplate = _dataSourceOptions[`${paramName}Template`];
28
+ if (paramValueTemplate) {
29
+ if (typeof paramValueTemplate == 'string') {
30
+ paramValue = template(paramValueTemplate);
31
+ }
32
+ else {
33
+ paramValueTemplate = JSON.stringify(paramValueTemplate);
34
+ try {
35
+ paramValue = JSON.parse(template(paramValueTemplate));
36
+ }
37
+ catch (e) { }
38
+ }
39
+ }
40
+ else {
41
+ paramValue = template(_dataSourceOptions[paramName]);
42
+ }
43
+ if (paramValue && _dataSourceOptions[`${paramName}ParseJson`]) {
44
+ try {
45
+ paramValue = JSON.parse(paramValue);
46
+ }
47
+ catch (e) { }
48
+ }
49
+ return { ...acc, [paramName]: paramValue };
50
+ }, {});
51
+ return defaults(templatedValues, _dataSourceOptions);
52
+ }, [scope, template, dataSourceName, dataSource, _dataSourceOptions]);
53
+ const { memoize, isReady } = dataSourceOptions;
54
+ const key = dataSource && dataSource.keyExtractor(dataSourceOptions, { scope, dispatch });
55
+ const currentValue = useSelector(state => state.dataSource.data[key]);
56
+ const loadData = useCallback((params) => {
57
+ return dispatch({
58
+ type: DATA_SOURCE_LOAD_DATA,
59
+ datasourceName: dataSourceName,
60
+ key,
61
+ options: assign({}, dataSourceOptions, params),
62
+ scope,
63
+ });
64
+ }, [scope, dispatch, dataSourceOptions, key]);
65
+ const search = useCallback((condition, searchQuery) => {
66
+ return loadData({ searchQuery, condition });
67
+ }, [loadData]);
68
+ const loadMore = useCallback(() => {
69
+ return dispatch({
70
+ type: DATA_SOURCE_LOAD_MORE_DATA,
71
+ datasourceName: dataSourceName,
72
+ key,
73
+ options: dataSourceOptions,
74
+ scope,
75
+ });
76
+ }, [dataSourceName, dataSourceOptions, scope, key]);
77
+ const next = useCallback(() => {
78
+ return dispatch({
79
+ type: DATA_SOURCE_LOAD_NEXT_PAGE_DATA,
80
+ datasourceName: dataSourceName,
81
+ key,
82
+ options: dataSourceOptions,
83
+ scope,
84
+ });
85
+ }, [dataSourceName, dataSourceOptions, scope, key]);
86
+ const previous = useCallback(() => {
87
+ return dispatch({
88
+ type: DATA_SOURCE_LOAD_PREVIOUS_PAGE_DATA,
89
+ datasourceName: dataSourceName,
90
+ key,
91
+ options: dataSourceOptions,
92
+ scope,
93
+ });
94
+ }, [loadData, dataSourceOptions, scope, key]);
95
+ useEffect(() => {
96
+ if (dataSourceName === 'scope' || dataSourceName === 'static' || !isReady)
97
+ return;
98
+ if (!currentValue || !memoize) {
99
+ loadData();
100
+ }
101
+ }, [dataSourceName, key, memoize, isReady]);
102
+ const value = useMemo(() => {
103
+ if (dataSourceName === 'scope' || dataSourceName === 'static')
104
+ return;
105
+ if (get(dataSource, 'type') === 'Array') {
106
+ let items = get(currentValue, 'items');
107
+ items = Array.isArray(items) ? items : [];
108
+ return new Collection(items, {
109
+ page: get(currentValue, 'page', 0),
110
+ pageSize: get(currentValue, 'pageSize', 20),
111
+ isLoading: !currentValue || get(currentValue, 'isLoading', false),
112
+ isRefreshing: get(currentValue, 'isRefreshing', false),
113
+ hasMore: get(currentValue, 'hasMore', false),
114
+ queryString: get(currentValue, 'queryString', ''),
115
+ totalPages: get(currentValue, 'totalPages', 0),
116
+ totalRecords: get(currentValue, 'totalRecords', 0),
117
+ meta: get(currentValue, 'meta', {}),
118
+ refresh: loadData,
119
+ search,
120
+ loadMore,
121
+ next,
122
+ previous,
123
+ });
124
+ }
125
+ return currentValue || { isLoading: true };
126
+ }, [dataSourceName, currentValue, dataSource]);
127
+ switch (dataSourceName) {
128
+ case 'static':
129
+ return dataSourceOptions.data;
130
+ case 'scope':
131
+ return get(scope, dataSourceOptions.path);
132
+ default:
133
+ return value;
134
+ }
135
+ };
136
+ //# sourceMappingURL=useDataSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDataSource.js","sourceRoot":"","sources":["../../../../src/hooks/useDataSource.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAS,QAAQ,EAAE,GAAG,EAAQ,GAAG,EAAE,IAAI,EAAQ,MAAM,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACjG,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,mCAAmC,EAAe,MAAM,aAAa,CAAC;AACnK,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,WAAW,MAAM,eAAe,CAAC;AAexC,MAAM,wBAAwB,GAAgC,EAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAA;AAE5F,MAAM,CAAC,MAAM,aAAa,GAAG,CAAE,MAAkC,EAAG,OAA2B,EAAQ,EAAE;IACrG,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,MAAM,EAAC,cAAc,EAAE,OAAO,EAAE,kBAAkB,EAAC,GAAG,OAAO,CAAC,GAAE,EAAE;QAC9D,IAAG,OAAO,MAAM,KAAK,Q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Y,EAAE,UAAU,CAAC,CAAC,CAAC;IAE/C,QAAO,cAAc,EAAC;QAClB,KAAK,QAAQ;YACT,OAAO,iBAAiB,CAAC,IAAI,CAAC;QAClC,KAAK,OAAO;YACR,OAAO,GAAG,CAAC,KAAK,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAC9C;YACI,OAAO,KAAK,CAAC;KACpB;AACL,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const useEditable: () => boolean;
2
+ export default useEditable;
3
+ //# sourceMappingURL=useEditable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEditable.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useEditable.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,eAIvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { useContext } from 'react';
2
+ import { PageContext } from '../contexts';
3
+ export const useEditable = () => {
4
+ const { isEditing } = useContext(PageContext);
5
+ return isEditing;
6
+ };
7
+ export default useEditable;
8
+ //# sourceMappingURL=useEditable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEditable.js","sourceRoot":"","sources":["../../../../src/hooks/useEditable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAE,EAAE;IAC3B,MAAM,EAAC,SAAS,EAAC,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAE5C,OAAO,SAAS,CAAC;AACrB,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const useFocus: () => {
2
+ focused: boolean;
3
+ onBlur: () => void;
4
+ onFocus: () => void;
5
+ };
6
+ //# sourceMappingURL=useFocus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocus.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFocus.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;CAiBpB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { useState, useCallback } from 'react';
2
+ import _ from 'lodash';
3
+ export const useFocus = () => {
4
+ const [focused, setFocused] = useState(false);
5
+ const changeFocus = useCallback(_.debounce((focus) => {
6
+ setFocused(focus);
7
+ }, 150), [setFocused]);
8
+ const onBlur = useCallback(() => {
9
+ changeFocus(false);
10
+ // if(event) event.stopImmediatePropagation();
11
+ }, [changeFocus]);
12
+ const onFocus = useCallback(() => {
13
+ changeFocus(true);
14
+ // if(event) event.stopPropagation();
15
+ }, [changeFocus]);
16
+ return { focused, onBlur, onFocus };
17
+ };
18
+ //# sourceMappingURL=useFocus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocus.js","sourceRoot":"","sources":["../../../../src/hooks/useFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAE,EAAE;IACxB,MAAM,CAAC,OAAO,EAAG,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;QACjD,UAAU,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEvB,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE;QAC5B,WAAW,CAAC,KAAK,CAAC,CAAC;QACnB,8CAA8C;IAClD,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAC7B,WAAW,CAAC,IAAI,CAAC,CAAC;QAClB,qCAAqC;IACzC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,OAAO,EAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAC,CAAC;AACtC,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @deprecated
3
+ */
4
+ export declare const useFonts: () => void;
5
+ /**
6
+ * @deprecated
7
+ */
8
+ export declare const useFont: (font: any) => void;
9
+ //# sourceMappingURL=useFonts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFonts.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFonts.tsx"],"names":[],"mappings":"AACA;;GAEG;AACH,eAAO,MAAM,QAAQ,YAAS,CAAC;AAG/B;;GAEG;AACH,eAAO,MAAM,OAAO,qBAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @deprecated
3
+ */
4
+ export const useFonts = () => { };
5
+ /**
6
+ * @deprecated
7
+ */
8
+ export const useFont = (font) => { };
9
+ //# sourceMappingURL=useFonts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFonts.js","sourceRoot":"","sources":["../../../../src/hooks/useFonts.tsx"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAE,EAAE,GAAC,CAAC,CAAC;AAG/B;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAI,EAAC,EAAE,GAAC,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const useLayoutEditor: ({ uuid, index, type, blocks, newLayoutDirections, newLayoutType, acceptDirections }: {
2
+ uuid: any;
3
+ index: any;
4
+ type: any;
5
+ blocks?: any[];
6
+ newLayoutDirections?: any[];
7
+ newLayoutType: any;
8
+ acceptDirections?: any[];
9
+ }) => any;
10
+ export default useLayoutEditor;
11
+ //# sourceMappingURL=useLayoutEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLayoutEditor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useLayoutEditor.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;SA+E3B,CAAC;AAEF,eAAe,eAAe,CAAC"}