@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,202 @@
1
+ import { map, random, set, split, toPath, union } from "lodash";
2
+ import { decode as decodeHtmlEntities } from "he";
3
+ const inbuiltVariables = ['context', 'data', 'setRuntimeData', 'setState', 'setStates', 'state', 'dispatchAction', 'createAction'];
4
+ // Regex to match expressions in EDL
5
+ const expressionRegex = /{(\((?:(?!\)\}).)*\)|[^{}]*)}/g;
6
+ // Regex to match opening tag in EDL
7
+ const openingTagRegex = /<([a-zA-Z0-9_]+)((?:\s+[a-zA-Z0-9_\-\.\:]+=(?:"[^"]*"|'[^']*'|`[^`]*`|\{\{(?:(?!\}\}).)*\}\}|\{\[(?:(?!\]\}).)*\]\}|\{\((?:(?!\)\}).)*\)\}|\{[^\}]*\}))*)\s*(\/)?>/s;
8
+ // Regex to match closing tag in EDL
9
+ const closingTagRegex = /<\/([a-zA-Z0-9_]+)>/;
10
+ // Regex to match attributes
11
+ const attributeRegex = /([a-zA-Z0-9_\-\.\:]+)=("[^"]*"|'[^']*'|`[^`]*`|\{\{(?:(?!\}\}).)*\}\}|\{\[(?:(?!\]\}).)*\]\}|\{\((?:(?!\)\}).)*\)\}|\{[^\}]*\})/sg;
12
+ // Regex to split the JSX string into tokens using opening or closing tag regex pattern
13
+ const openingOrClosingTagRegex = /(<(?:\/)?(?:[a-zA-Z0-9_]+)(?:(?:\s+[a-zA-Z0-9_\-\.\:]+=(?:"[^"]*"|'[^']*'|`[^`]*`|\{\{(?:(?!\}\}).)*\}\}|\{\[(?:(?!\]\}).)*\]\}|\{\((?:(?!\)\}).)*\)\}|\{[^\}]*\}))*)\s*(?:\/)?>)/s;
14
+ const TemplateCompiler = {
15
+ breakTemplateStringToExpressionsAndStaticString: (templateString) => {
16
+ const parts = [];
17
+ const regex = new RegExp(expressionRegex);
18
+ let match;
19
+ let lastIndex = 0;
20
+ while ((match = regex.exec(templateString)) !== null) {
21
+ const startIndex = match.index;
22
+ const endIndex = startIndex + match[0].length;
23
+ if (startIndex > lastIndex) {
24
+ parts.push({ startIndex, endIndex, type: 'string', value: templateString.slice(lastIndex, startIndex) });
25
+ }
26
+ parts.push({ startIndex, endIndex, type: 'expression', value: match[1] });
27
+ lastIndex = endIndex;
28
+ }
29
+ if (lastIndex < templateString.length) {
30
+ parts.push({ startIndex: lastIndex, endIndex: templateString.length, type: 'string', value: templateString.slice(lastIndex) });
31
+ }
32
+ return parts;
33
+ },
34
+ compileStringTemplate: (variables) => {
35
+ const variableNamesString = `{ ${variables.join(', ')} }`;
36
+ return (templateString) => {
37
+ try {
38
+ // replace all the {expression} with ${ expression } and wrap the whole template in a function
39
+ const processedTemplate = templateString.replace(expressionRegex, "${ $1 }");
40
+ if (processedTemplate === templateString)
41
+ return templateString;
42
+ return new Function(variableNamesString, `return \`${processedTemplate}\`;`);
43
+ }
44
+ catch (e) { }
45
+ };
46
+ },
47
+ compileExpression: variables => {
48
+ const variableNamesString = `{ ${variables.join(', ')} }`;
49
+ return (expression) => {
50
+ try {
51
+ return new Function(variableNamesString, `return ${expression};`);
52
+ }
53
+ catch (e) { }
54
+ };
55
+ }
56
+ };
57
+ function generateUniqueId() {
58
+ return random(1000, 9999999999).toString(36);
59
+ }
60
+ function removeUnnecessaryWhitespace(htmlString) {
61
+ return htmlString
62
+ .replace(/>\s*\n\s*/g, '>') // Remove whitespace/newline between closing bracket and content
63
+ .replace(/\s*\n\s*</g, '<') // Remove whitespace/newline between opening bracket and content
64
+ .replace(/\s*\n\s*/g, ' ') // Remove whitespace from start and end of each line
65
+ .trim(); // Trim leading and trailing whitespaces
66
+ }
67
+ const scriptTagRegex = /<(Script)([^>]*?)>(.*?)<\/\1>/gs;
68
+ const variableDeclarationRegex = /(const|var|let|function)\s+(\$[a-zA-Z0-9_]+)/g;
69
+ function extractScriptsAndVariables(inputString) {
70
+ // Initialize an empty object to store the scripts by their unique IDs
71
+ const scriptsById = {};
72
+ // Initialize an empty set to store all the unique variables, throughout all the scripts
73
+ const allVariables = new Set();
74
+ const cleanedString = inputString.replace(scriptTagRegex, (match, tagName, attributes, jsCode) => {
75
+ const uniqueId = generateUniqueId();
76
+ let variables = jsCode.match(variableDeclarationRegex) || [];
77
+ variables = map(variables, v => split(v, ' ')[1]);
78
+ variables.forEach(v => allVariables.add(v));
79
+ scriptsById[uniqueId] = { code: jsCode.trim(), variables: Array.from(variables) };
80
+ return `<${tagName} :scriptId="${uniqueId}"${attributes}/>`;
81
+ });
82
+ return { cleanedString, scriptsById, variables: Array.from(allVariables) };
83
+ }
84
+ const asVariableRegex = /:as="([^"]+)"/g;
85
+ function extractAsVariables(inputString) {
86
+ const asVariables = new Set();
87
+ let asMatch;
88
+ while ((asMatch = asVariableRegex.exec(inputString)) !== null) {
89
+ asVariables.add(asMatch[1]);
90
+ }
91
+ return Array.from(asVariables);
92
+ }
93
+ // This function takes a JSX string as input and returns an array of objects representing the parsed JSX structure.
94
+ function parseEDL(edlString, additionalVariables) {
95
+ // separate the scripts and extract variables from the edl string
96
+ const { cleanedString: edlStringWithCodeRemovedFromScript, scriptsById, variables: scriptVariables } = extractScriptsAndVariables(edlString);
97
+ // remove unnecessary whitespace from the edl string, after code has been removed from the script tags
98
+ const edlStringWithCodeRemovedFromScriptAndWhitespaceRemoved = removeUnnecessaryWhitespace(edlStringWithCodeRemovedFromScript);
99
+ // Extract :as variables and include them in the union
100
+ const asVariables = extractAsVariables(edlStringWithCodeRemovedFromScriptAndWhitespaceRemoved);
101
+ const variables = union(inbuiltVariables, Array.from(additionalVariables), scriptVariables, asVariables);
102
+ const compileStringTemplate = TemplateCompiler.compileStringTemplate(variables);
103
+ const compileExpression = TemplateCompiler.compileExpression(variables);
104
+ const breakTemplateStringToExpressionsAndStaticString = TemplateCompiler.breakTemplateStringToExpressionsAndStaticString;
105
+ // Initialize an empty array to store the final JSX objects
106
+ const jsxObjects = [];
107
+ // Initialize an empty stack to keep track of the nested JSX elements
108
+ const jsxStack = [];
109
+ String(edlStringWithCodeRemovedFromScript).split(openingOrClosingTagRegex).forEach(token => {
110
+ // If the token is an empty string, skip it
111
+ if (token.trim() === '') {
112
+ return;
113
+ }
114
+ // If the token is not an opening or closing JSX tag, treat it as plain text
115
+ if (token[0] !== '<') {
116
+ const parentNode = jsxStack[jsxStack.length - 1];
117
+ const parts = breakTemplateStringToExpressionsAndStaticString(decodeHtmlEntities(token)).map(({ type, value }) => type == 'expression' ? compileExpression(value) : value);
118
+ if (parentNode) {
119
+ parentNode.children.push(...parts);
120
+ }
121
+ else {
122
+ jsxObjects.push(...parts);
123
+ }
124
+ return;
125
+ }
126
+ // Check if the token matches a closing tag pattern
127
+ const closingTagMatch = token.match(closingTagRegex);
128
+ // If it's a closing tag, pop the last element from the JSX stack
129
+ if (closingTagMatch) {
130
+ jsxStack.pop();
131
+ return;
132
+ }
133
+ // Check if the token matches an opening tag pattern
134
+ const openingTagMatch = token.match(openingTagRegex);
135
+ // If it's an opening tag, parse its attributes and create a new JSX element object
136
+ if (openingTagMatch) {
137
+ const tagName = openingTagMatch[1];
138
+ const propsString = openingTagMatch[2];
139
+ const isSelfClosing = openingTagMatch[3] === '/';
140
+ // Extract the attributes from the opening tag using the attribute regex
141
+ const staticProps = {};
142
+ const variableProps = {};
143
+ let attributeMatch;
144
+ while ((attributeMatch = attributeRegex.exec(propsString)) !== null) {
145
+ let attributeName = attributeMatch[1];
146
+ if (attributeName === 'class') {
147
+ attributeName = 'className';
148
+ }
149
+ const value = attributeMatch[2].slice(1, -1);
150
+ // Check if the attribute value is dynamic (enclosed in curly braces) either variable or js expression
151
+ const isDynamicProp = attributeMatch[2].startsWith("{");
152
+ const isTemplateProp = attributeMatch[2].startsWith("`");
153
+ if (isDynamicProp) {
154
+ try {
155
+ // If the value is dynamic compile it so it can be ran against scope data
156
+ variableProps[attributeName] = compileExpression(value);
157
+ }
158
+ catch (error) {
159
+ // ignore the attribute if cannot be compiled
160
+ }
161
+ }
162
+ else if (isTemplateProp) {
163
+ variableProps[attributeName] = compileStringTemplate(value);
164
+ }
165
+ else {
166
+ // If the value is not dynamic, assign it directly to the props object
167
+ set(staticProps, attributeName, value);
168
+ }
169
+ }
170
+ // Get the shared prop names between static and variable props, ensuring uniqueness
171
+ const sharedPropNames = Array.from(new Set(Object.keys(variableProps)
172
+ .map(key => toPath(key)[0])
173
+ .filter(key => staticProps[key])));
174
+ // Create a new JSX element object with the tag name, properties, and an empty children array
175
+ const newElement = { _id: generateUniqueId(), tag: tagName, staticProps, variableProps, children: [], sharedPropNames };
176
+ // If the tag is a Script tag, replace it with a UseEffect tag, and convert code to UseEffect function
177
+ if (newElement.tag === 'Script') {
178
+ const scriptId = newElement.staticProps[':scriptId'];
179
+ delete newElement.staticProps[':scriptId'];
180
+ const code = scriptsById[scriptId].code;
181
+ const exportVariables = scriptsById[scriptId].variables;
182
+ newElement.variableProps[':function'] = compileExpression(`()=>{ ${code} \n setRuntimeData({ ${exportVariables.join(', ')} }); }`);
183
+ }
184
+ // If there's a parent node, add the new element as a child to the parent node
185
+ if (jsxStack.length > 0) {
186
+ const parentNode = jsxStack[jsxStack.length - 1];
187
+ parentNode.children.push(newElement);
188
+ }
189
+ else {
190
+ // If there's no parent node, add the new element to the root-level jsxObjects array
191
+ jsxObjects.push(newElement);
192
+ }
193
+ // If the tag is not self-closing, push the new element onto the JSX stack
194
+ if (!isSelfClosing) {
195
+ jsxStack.push(newElement);
196
+ }
197
+ }
198
+ });
199
+ return jsxObjects;
200
+ }
201
+ export default parseEDL;
202
+ //# sourceMappingURL=parser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChE,OAAO,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAElD,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,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ources":["../../../../src/edl/parser.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,217 @@
1
+ import parseEDL from './parser';
2
+ import { expect } from 'chai';
3
+ describe('parseEDL', () => {
4
+ it('should parse an EDL string with a single tag and no props', () => {
5
+ const edlString = '<div></div>';
6
+ const result = parseEDL(edlString, new Set());
7
+ expect(result).to.be.an('array').with.lengthOf(1);
8
+ expect(result[0].tag).to.equal('div');
9
+ expect(result[0].staticProps).to.deep.equal({});
10
+ expect(result[0].variableProps).to.deep.equal({});
11
+ expect(result[0].children).to.deep.equal([]);
12
+ });
13
+ it('should parse an EDL string with a single tag and static props', () => {
14
+ const edlString = '<div class="container" id="main"></div>';
15
+ const result = parseEDL(edlString, new Set());
16
+ expect(result).to.be.an('array').with.lengthOf(1);
17
+ expect(result[0].tag).to.equal('div');
18
+ expect(result[0].staticProps).to.deep.equal({ className: 'container', id: 'main' });
19
+ expect(result[0].variableProps).to.deep.equal({});
20
+ expect(result[0].children).to.deep.equal([]);
21
+ });
22
+ it('should parse an EDL string with inline expression interpolation', () => {
23
+ const edlString = '<Text>Hello {user.name}!</Text>';
24
+ const result = parseEDL(edlString, new Set(['user']));
25
+ expect(result).to.be.an('array').with.lengthOf(1);
26
+ expect(result[0].tag).to.equal('Text');
27
+ expect(result[0].children).to.be.an('array').with.lengthOf(3);
28
+ expect(result[0].children[0]).to.equal('Hello ');
29
+ expect(result[0].children[1]).to.be.a('function'); // The interpolated expression
30
+ expect(result[0].children[2]).to.equal('!');
31
+ });
32
+ it('should parse an EDL string with nested tags', () => {
33
+ const edlString = '<div><span>Hello World</span></div>';
34
+ const result = parseEDL(edlString, new Set());
35
+ expect(result).to.be.an('array').with.lengthOf(1);
36
+ expect(result[0].tag).to.equal('div');
37
+ expect(result[0].children).to.be.an('array').with.lengthOf(1);
38
+ expect(result[0].children[0].tag).to.equal('span');
39
+ expect(result[0].children[0].children).to.deep.equal(['Hello World']);
40
+ });
41
+ it('should parse an EDL string with dynamic props', () => {
42
+ const edlString = '<input type="text" value={state.value} />';
43
+ const additionalVariables = new Set(['state']);
44
+ const result = parseEDL(edlString, additionalVariables);
45
+ expect(result).to.be.an('array').with.lengthOf(1);
46
+ expect(result[0].tag).to.equal('input');
47
+ expect(result[0].staticProps).to.deep.equal({ type: 'text' });
48
+ expect(result[0].variableProps).to.have.property('value');
49
+ expect(result[0].variableProps.value).to.be.a('function');
50
+ });
51
+ it('should parse an EDL string with a script tag and extract variables', () => {
52
+ const edlString = `<Script>
53
+ const $var1 = 42;
54
+ let $var2 = "";
55
+ </Script>`;
56
+ const result = parseEDL(edlString, new Set());
57
+ console.log(result);
58
+ expect(result).to.be.an('array').with.lengthOf(1);
59
+ expect(result[0].tag).to.equal('Script');
60
+ expect(result[0].variableProps).to.have.property(':function');
61
+ expect(result[0].variableProps[':function']).to.be.a('function');
62
+ });
63
+ it('should handle self-closing tags', () => {
64
+ const edlString = '<img src="image.png" />';
65
+ const result = parseEDL(edlString, new Set());
66
+ expect(result).to.be.an('array').with.lengthOf(1);
67
+ expect(result[0].tag).to.equal('img');
68
+ expect(result[0].staticProps).to.deep.equal({ src: 'image.png' });
69
+ });
70
+ it('should parse an EDL string with both static and dynamic props', () => {
71
+ const edlString = '<button class="btn" onClick={handleClick}>Click Me</button>';
72
+ const additionalVariables = new Set(['handleClick']);
73
+ const result = parseEDL(edlString, additionalVariables);
74
+ expect(result).to.be.an('array').with.lengthOf(1);
75
+ expect(result[0].tag).to.equal('button');
76
+ expect(result[0].staticProps).to.deep.equal({ className: 'btn' });
77
+ expect(result[0].variableProps).to.have.property('onClick');
78
+ expect(result[0].variableProps.onClick).to.be.a('function');
79
+ expect(result[0].children).to.deep.equal(['Click Me']);
80
+ });
81
+ it('should parse an EDL string with mixed content (text and elements)', () => {
82
+ const edlString = '<div>Text before <span>inline text</span> and after</div>';
83
+ const result = parseEDL(edlString, new Set());
84
+ expect(result).to.be.an('array').with.lengthOf(1);
85
+ expect(result[0].tag).to.equal('div');
86
+ expect(result[0].children).to.be.an('array').with.lengthOf(3);
87
+ expect(result[0].children[0]).to.equal('Text before ');
88
+ expect(result[0].children[1].tag).to.equal('span');
89
+ expect(result[0].children[1].children).to.deep.equal(['inline text']);
90
+ expect(result[0].children[2]).to.equal(' and after');
91
+ });
92
+ it('should identify shared props when they modify different object properties', () => {
93
+ const edlString = '<div style.color="red" style.width={width}></div>';
94
+ const result = parseEDL(edlString, new Set(['width']));
95
+ expect(result).to.be.an('array').with.lengthOf(1);
96
+ expect(result[0].tag).to.equal('div');
97
+ expect(result[0].staticProps).to.deep.equal({
98
+ style: { color: 'red' }
99
+ });
100
+ expect(result[0].variableProps).to.have.property('style.width');
101
+ expect(result[0].sharedPropNames).to.deep.equal(['style']);
102
+ });
103
+ it('should handle multiple shared object properties', () => {
104
+ const edlString = '<div style.color="red" style.width={width} style.height="100px" style.margin={margin}></div>';
105
+ const result = parseEDL(edlString, new Set(['width', 'margin']));
106
+ expect(result).to.be.an('array').with.lengthOf(1);
107
+ expect(result[0].tag).to.equal('div');
108
+ expect(result[0].staticProps).to.deep.equal({
109
+ style: {
110
+ color: 'red',
111
+ height: '100px'
112
+ }
113
+ });
114
+ expect(result[0].variableProps).to.have.keys('style.width', 'style.margin');
115
+ expect(result[0].sharedPropNames).to.deep.equal(['style']);
116
+ });
117
+ it('should handle mixed shared object properties and regular props', () => {
118
+ const edlString = '<div class="container" style.color="red" style.width={width} onClick={handleClick}></div>';
119
+ const result = parseEDL(edlString, new Set(['width', 'handleClick']));
120
+ expect(result).to.be.an('array').with.lengthOf(1);
121
+ expect(result[0].tag).to.equal('div');
122
+ expect(result[0].staticProps).to.deep.equal({
123
+ className: 'container',
124
+ style: { color: 'red' }
125
+ });
126
+ expect(result[0].variableProps).to.have.keys('style.width', 'onClick');
127
+ console.log(result[0].sharedPropNames);
128
+ expect(result[0].sharedPropNames).to.deep.equal(['style']);
129
+ });
130
+ it('should not mark props as shared when only static object properties exist', () => {
131
+ const edlString = '<div style.color="red" style.width="100px"></div>';
132
+ const result = parseEDL(edlString, new Set());
133
+ expect(result).to.be.an('array').with.lengthOf(1);
134
+ expect(result[0].tag).to.equal('div');
135
+ expect(result[0].staticProps).to.deep.equal({
136
+ style: {
137
+ color: 'red',
138
+ width: '100px'
139
+ }
140
+ });
141
+ expect(result[0].variableProps).to.deep.equal({});
142
+ expect(result[0].sharedPropNames).to.deep.equal([]);
143
+ });
144
+ it('should not mark props as shared when only dynamic object properties exist', () => {
145
+ const edlString = '<div style.color={color} style.width={width}></div>';
146
+ const result = parseEDL(edlString, new Set(['color', 'width']));
147
+ expect(result).to.be.an('array').with.lengthOf(1);
148
+ expect(result[0].tag).to.equal('div');
149
+ expect(result[0].staticProps).to.deep.equal({});
150
+ expect(result[0].variableProps).to.have.keys('style.color', 'style.width');
151
+ expect(result[0].sharedPropNames).to.deep.equal([]);
152
+ });
153
+ it('should parse an EDL string with static props only', () => {
154
+ const edlString = '<div class="container" id="main"></div>';
155
+ const result = parseEDL(edlString, new Set());
156
+ expect(result).to.be.an('array').with.lengthOf(1);
157
+ expect(result[0].tag).to.equal('div');
158
+ expect(result[0].staticProps).to.deep.equal({ className: 'container', id: 'main' });
159
+ expect(result[0].variableProps).to.deep.equal({});
160
+ expect(result[0].sharedPropNames).to.deep.equal([]);
161
+ });
162
+ it('should parse an EDL string with dynamic props only', () => {
163
+ const edlString = '<input value={state.value} onChange={handleChange} />';
164
+ const additionalVariables = new Set(['state', 'handleChange']);
165
+ const result = parseEDL(edlString, additionalVariables);
166
+ expect(result).to.be.an('array').with.lengthOf(1);
167
+ expect(result[0].tag).to.equal('input');
168
+ expect(result[0].staticProps).to.deep.equal({});
169
+ expect(result[0].variableProps).to.have.all.keys('value', 'onChange');
170
+ expect(result[0].sharedPropNames).to.deep.equal([]);
171
+ });
172
+ it('should parse an EDL string with both static and dynamic props (not shared)', () => {
173
+ const edlString = '<button class="btn" onClick={handleClick}>Click Me</button>';
174
+ const additionalVariables = new Set(['handleClick']);
175
+ const result = parseEDL(edlString, additionalVariables);
176
+ expect(result).to.be.an('array').with.lengthOf(1);
177
+ expect(result[0].tag).to.equal('button');
178
+ expect(result[0].staticProps).to.deep.equal({ className: 'btn' });
179
+ expect(result[0].variableProps).to.have.property('onClick');
180
+ expect(result[0].sharedPropNames).to.deep.equal([]);
181
+ expect(result[0].children).to.deep.equal(['Click Me']);
182
+ });
183
+ it('should identify single shared prop correctly', () => {
184
+ const edlString = '<div class="static-class" class={dynamicClass}></div>';
185
+ const result = parseEDL(edlString, new Set(['dynamicClass']));
186
+ expect(result).to.be.an('array').with.lengthOf(1);
187
+ expect(result[0].tag).to.equal('div');
188
+ expect(result[0].staticProps).to.deep.equal({ className: 'static-class' });
189
+ expect(result[0].variableProps).to.have.property('className');
190
+ expect(result[0].sharedPropNames).to.deep.equal(['className']);
191
+ });
192
+ it('should handle multiple shared props correctly', () => {
193
+ const edlString = '<div id="static-id" class="static-class" id={dynamicId} class={dynamicClass}></div>';
194
+ const result = parseEDL(edlString, new Set(['dynamicId', 'dynamicClass']));
195
+ expect(result).to.be.an('array').with.lengthOf(1);
196
+ expect(result[0].tag).to.equal('div');
197
+ expect(result[0].staticProps).to.deep.equal({
198
+ id: 'static-id',
199
+ className: 'static-class'
200
+ });
201
+ expect(result[0].variableProps).to.have.keys('id', 'className');
202
+ expect(result[0].sharedPropNames).to.have.members(['id', 'className']);
203
+ });
204
+ it('should handle mixed shared and non-shared props', () => {
205
+ const edlString = '<div id="static-id" class="static-class" id={dynamicId} onClick={handleClick}></div>';
206
+ const result = parseEDL(edlString, new Set(['dynamicId', 'handleClick']));
207
+ expect(result).to.be.an('array').with.lengthOf(1);
208
+ expect(result[0].tag).to.equal('div');
209
+ expect(result[0].staticProps).to.deep.equal({
210
+ id: 'static-id',
211
+ className: 'static-class'
212
+ });
213
+ expect(result[0].variableProps).to.have.keys('id', 'onClick');
214
+ expect(result[0].sharedPropNames).to.deep.equal(['id']);
215
+ });
216
+ });
217
+ //# sourceMappingURL=parser.test.js.map
@@ -0,0 +1 @@
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M,SAAS,GAAG,sFAAsF,CAAC;QACzG,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAE1E,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QAClD,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;YAC1C,EAAE,EAAE,WAAW;YACf,SAAS,EAAE,cAAc;SAC1B,CAAC,CAAC;QACH,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC9D,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare type TrackListener = (eventName: string, properties: Object) => void;
2
+ declare type UnsubscribeTrackListener = () => void;
3
+ declare class Analytics {
4
+ private eventEmitter;
5
+ track(eventName: string, properties: Object): void;
6
+ onTrack(handleTrack: TrackListener): UnsubscribeTrackListener;
7
+ }
8
+ export declare const analytics: Analytics;
9
+ export default analytics;
10
+ //# sourceMappingURL=analytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../../src/helpers/analytics.ts"],"names":[],"mappings":"AAEA,aAAK,aAAa,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;AACrE,aAAK,wBAAwB,GAAG,MAAM,IAAI,CAAC;AAE3C,cAAM,SAAS;IACX,OAAO,CAAC,YAAY,CAAsB;IAE1C,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAO3C,OAAO,CAAC,WAAW,EAAE,aAAa,GAAG,wBAAwB;CAMhE;AAED,eAAO,MAAM,SAAS,WAAkB,CAAC;AAEzC,eAAe,SAAS,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from 'events';
2
+ class Analytics {
3
+ constructor() {
4
+ this.eventEmitter = new EventEmitter();
5
+ }
6
+ track(eventName, properties) {
7
+ this.eventEmitter.emit('track', {
8
+ eventName,
9
+ properties,
10
+ });
11
+ }
12
+ onTrack(handleTrack) {
13
+ const handleEvent = ({ eventName, properties }) => handleTrack(eventName, properties);
14
+ this.eventEmitter.addListener('track', handleEvent);
15
+ return () => this.eventEmitter.removeListener('track', handleEvent);
16
+ }
17
+ }
18
+ export const analytics = new Analytics();
19
+ export default analytics;
20
+ //# sourceMappingURL=analytics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../../src/helpers/analytics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAKtC,MAAM,SAAS;IAAf;QACY,iBAAY,GAAG,IAAI,YAAY,EAAE,CAAC;IAe9C,CAAC;IAbG,KAAK,CAAC,SAAiB,EAAE,UAAkB;QACvC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE;YAC5B,SAAS;YACT,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAED,OAAO,CAAC,WAA0B;QAC9B,MAAM,WAAW,GAAG,CAAC,EAAC,SAAS,EAAE,UAAU,EAAC,EAAC,EAAE,CAAA,WAAW,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;QACjF,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,CAAC;QACnD,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IACxE,CAAC;CAEJ;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;AAEzC,eAAe,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const axiosClient: import("axios").AxiosInstance;
2
+ export default axiosClient;
3
+ //# sourceMappingURL=axiosClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+BAEtB,CAAC;AAOF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,12 @@
1
+ import Axios from "axios";
2
+ import { API_BASE_URL } from "../constants";
3
+ import axiosRetry from "axios-retry";
4
+ export const axiosClient = Axios.create({
5
+ baseURL: API_BASE_URL || '/api',
6
+ });
7
+ axiosRetry(axiosClient, {
8
+ retries: Number.MAX_SAFE_INTEGER,
9
+ retryDelay: (retryNumber) => Math.min(10000, axiosRetry.exponentialDelay(retryNumber)),
10
+ });
11
+ export default axiosClient;
12
+ //# sourceMappingURL=axiosClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,YAAY,IAAI,MAAM;CAClC,CAAC,CAAC;AAEH,UAAU,CAAC,WAAW,EAAE;IACpB,OAAO,EAAE,MAAM,CAAC,gBAAgB;IAChC,UAAU,EAAE,CAAC,WAAW,EAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;CACvF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const encodeBase64: (input: string) => string;
2
+ export declare const decodeBase64: (input: string) => string;
3
+ //# sourceMappingURL=base64.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base64.d.ts","sourceRoot":"","sources":["../../../../src/helpers/base64.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,UAAoB,MAAM,WAgClD,CAAC;AAEF,eAAO,MAAM,YAAY,UAAoB,MAAM,WAwClD,CAAC"}
@@ -0,0 +1,63 @@
1
+ const keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
2
+ export const encodeBase64 = function (input) {
3
+ let output = [];
4
+ let chr1, chr2, chr3 = "";
5
+ let enc1, enc2, enc3, enc4 = "";
6
+ let i = 0;
7
+ do {
8
+ chr1 = input.charCodeAt(i++);
9
+ chr2 = input.charCodeAt(i++);
10
+ chr3 = input.charCodeAt(i++);
11
+ enc1 = chr1 >> 2;
12
+ enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
13
+ enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
14
+ enc4 = chr3 & 63;
15
+ if (isNaN(chr2)) {
16
+ enc3 = enc4 = 64;
17
+ }
18
+ else if (isNaN(chr3)) {
19
+ enc4 = 64;
20
+ }
21
+ output.push(keyStr.charAt(enc1) +
22
+ keyStr.charAt(enc2) +
23
+ keyStr.charAt(enc3) +
24
+ keyStr.charAt(enc4));
25
+ chr1 = chr2 = chr3 = "";
26
+ enc1 = enc2 = enc3 = enc4 = "";
27
+ } while (i < input.length);
28
+ return output.join('');
29
+ };
30
+ export const decodeBase64 = function (input) {
31
+ let output = "";
32
+ let chr1, chr2, chr3 = "";
33
+ let enc1, enc2, enc3, enc4 = "";
34
+ let i = 0;
35
+ // remove all characters that are not A-Z, a-z, 0-9, +, /, or =
36
+ var base64test = /[^A-Za-z0-9\+\/\=]/g;
37
+ if (base64test.exec(input)) {
38
+ throw new Error("There were invalid base64 characters in the input text.\n" +
39
+ "Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\n" +
40
+ "Expect errors in decoding.");
41
+ }
42
+ input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
43
+ do {
44
+ enc1 = keyStr.indexOf(input.charAt(i++));
45
+ enc2 = keyStr.indexOf(input.charAt(i++));
46
+ enc3 = keyStr.indexOf(input.charAt(i++));
47
+ enc4 = keyStr.indexOf(input.charAt(i++));
48
+ chr1 = (enc1 << 2) | (enc2 >> 4);
49
+ chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
50
+ chr3 = ((enc3 & 3) << 6) | enc4;
51
+ output = output + String.fromCharCode(chr1);
52
+ if (enc3 != 64) {
53
+ output = output + String.fromCharCode(chr2);
54
+ }
55
+ if (enc4 != 64) {
56
+ output = output + String.fromCharCode(chr3);
57
+ }
58
+ chr1 = chr2 = chr3 = "";
59
+ enc1 = enc2 = enc3 = enc4 = "";
60
+ } while (i < input.length);
61
+ return output;
62
+ };
63
+ //# sourceMappingURL=base64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base64.js","sourceRoot":"","sources":["../../../../src/helpers/base64.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,mEAAmE,CAAC;AAEnF,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,KAAa;IAC/C,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,IAAS,EAAE,IAAS,EAAE,IAAI,GAAQ,EAAE,CAAC;IACzC,IAAI,IAAS,EAAE,IAAS,EAAE,IAAS,EAAE,IAAI,GAAQ,EAAE,CAAC;IACpD,I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C,IAAI,IAAI,IAAI,EAAE,EAAE;YACZ,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/C;QACD,IAAI,IAAI,IAAI,EAAE,EAAE;YACZ,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/C;QAED,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;QACxB,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;KAElC,QAAQ,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE;IAE3B,OAAO,MAAM,CAAC;AAClB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=base64.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base64.test.d.ts","sourceRoot":"","sources":["../../../../src/helpers/base64.test.ts"],"names":[],"mappings":""}