@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.
- package/dist/cjs/bin/generate-google-fonts-cache.d.ts.map +1 -0
- package/dist/cjs/bin/generate-google-fonts-cache.js.map +1 -0
- package/dist/cjs/bin/generate-icons-cache.d.ts.map +1 -0
- package/dist/cjs/bin/generate-icons-cache.js +49 -0
- package/dist/cjs/bin/generate-icons-cache.js.map +1 -0
- package/dist/cjs/main.d.ts.map +1 -0
- package/dist/cjs/main.js.map +1 -0
- package/dist/cjs/src/actions/index.d.ts.map +1 -0
- package/dist/cjs/src/actions/index.js.map +1 -0
- package/dist/cjs/src/actions/restApi.d.ts.map +1 -0
- package/dist/cjs/src/actions/restApi.js.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/default.test.d.ts.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/default.test.js.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/index.d.ts.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/index.js.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/index.native.d.ts.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/index.native.js.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/native.test.d.ts.map +1 -0
- package/dist/cjs/src/adapters/evaluateCode/native.test.js.map +1 -0
- package/dist/cjs/src/adapters/getUserToken/index.d.ts.map +1 -0
- package/dist/cjs/src/adapters/getUserToken/index.js.map +1 -0
- package/dist/cjs/src/adapters/getUserToken/index.native.d.ts.map +1 -0
- package/dist/cjs/src/adapters/getUserToken/index.native.js.map +1 -0
- package/dist/cjs/src/classes/Collection.d.ts.map +1 -0
- package/dist/cjs/src/classes/Collection.js.map +1 -0
- package/dist/cjs/src/classes/Form.d.ts.map +1 -0
- package/dist/cjs/src/classes/Form.js.map +1 -0
- package/dist/cjs/src/classes/Model.d.ts.map +1 -0
- package/dist/cjs/src/classes/Model.js.map +1 -0
- package/dist/cjs/src/classes/User.d.ts.map +1 -0
- package/dist/cjs/src/classes/User.js.map +1 -0
- package/dist/cjs/src/classes/index.d.ts.map +1 -0
- package/dist/cjs/src/classes/index.js.map +1 -0
- package/dist/cjs/src/components/EmptyComponent.d.ts.map +1 -0
- package/dist/cjs/src/components/EmptyComponent.js.map +1 -0
- package/dist/cjs/src/components/SkipSSR.d.ts.map +1 -0
- package/dist/cjs/src/components/SkipSSR.js.map +1 -0
- package/dist/cjs/src/components/Svg.d.ts.map +1 -0
- package/dist/cjs/src/components/Svg.js.map +1 -0
- package/dist/cjs/src/components/hoc/index.d.ts.map +1 -0
- package/dist/cjs/src/components/hoc/index.js.map +1 -0
- package/dist/cjs/src/components/hoc/withCollection.d.ts.map +1 -0
- package/dist/cjs/src/components/hoc/withCollection.js.map +1 -0
- package/dist/cjs/src/components/hoc/withCollectionRecord.d.ts.map +1 -0
- package/dist/cjs/src/components/hoc/withCollectionRecord.js.map +1 -0
- package/dist/cjs/src/components/hoc/withSettings.d.ts.map +1 -0
- package/dist/cjs/src/components/hoc/withSettings.js.map +1 -0
- package/dist/cjs/src/components/hoc/withSettings.native.d.ts.map +1 -0
- package/dist/cjs/src/components/hoc/withSettings.native.js.map +1 -0
- package/dist/cjs/src/components/hoc/withoutSSR.d.ts.map +1 -0
- package/dist/cjs/src/components/hoc/withoutSSR.js.map +1 -0
- package/dist/cjs/src/components/index.d.ts.map +1 -0
- package/dist/cjs/src/components/index.js.map +1 -0
- package/dist/cjs/src/constants/googleFonts/index.d.ts.map +1 -0
- package/dist/cjs/src/constants/googleFonts/index.js.map +1 -0
- package/dist/cjs/src/constants/iconInfo/directed-icons.d.ts.map +1 -0
- package/dist/cjs/src/constants/iconInfo/directed-icons.js.map +1 -0
- package/dist/cjs/src/constants/iconInfo/index.d.ts.map +1 -0
- package/dist/cjs/src/constants/iconInfo/index.js.map +1 -0
- package/dist/cjs/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
- package/dist/cjs/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -0
- package/dist/cjs/src/constants/iconInfo/types.d.ts.map +1 -0
- package/dist/cjs/src/constants/iconInfo/types.js.map +1 -0
- package/dist/cjs/src/constants/index.d.ts.map +1 -0
- package/dist/cjs/src/constants/index.js.map +1 -0
- package/dist/cjs/src/constants/platformSpecific.d.ts.map +1 -0
- package/dist/cjs/src/constants/platformSpecific.js.map +1 -0
- package/dist/cjs/src/constants/platformSpecific.native.d.ts.map +1 -0
- package/dist/cjs/src/constants/platformSpecific.native.js.map +1 -0
- package/dist/cjs/src/contexts/ComponentContext.d.ts.map +1 -0
- package/dist/cjs/src/contexts/ComponentContext.js.map +1 -0
- package/dist/cjs/src/contexts/DataContext.d.ts.map +1 -0
- package/dist/cjs/src/contexts/DataContext.js.map +1 -0
- package/dist/cjs/src/contexts/EDLContext.d.ts.map +1 -0
- package/dist/cjs/src/contexts/EDLContext.js.map +1 -0
- package/dist/cjs/src/contexts/LayoutContext.d.ts.map +1 -0
- package/dist/cjs/src/contexts/LayoutContext.js.map +1 -0
- package/dist/cjs/src/contexts/PageContext.d.ts.map +1 -0
- package/dist/cjs/src/contexts/PageContext.js.map +1 -0
- package/dist/cjs/src/contexts/ToolbarContext.d.ts.map +1 -0
- package/dist/cjs/src/contexts/ToolbarContext.js.map +1 -0
- package/dist/cjs/src/contexts/index.d.ts.map +1 -0
- package/dist/cjs/src/contexts/index.js.map +1 -0
- package/dist/cjs/src/data-sources/collection.d.ts.map +1 -0
- package/dist/cjs/src/data-sources/collection.js.map +1 -0
- package/dist/cjs/src/data-sources/collectionRecord.d.ts.map +1 -0
- package/dist/cjs/src/data-sources/collectionRecord.js.map +1 -0
- package/dist/cjs/src/data-sources/index.d.ts.map +1 -0
- package/dist/cjs/src/data-sources/index.js.map +1 -0
- package/dist/cjs/src/data-sources/listUrl.d.ts.map +1 -0
- package/dist/cjs/src/data-sources/listUrl.js.map +1 -0
- package/dist/cjs/src/data-sources/scopeDataSource.d.ts.map +1 -0
- package/dist/cjs/src/data-sources/scopeDataSource.js.map +1 -0
- package/dist/cjs/src/data-sources/url.d.ts.map +1 -0
- package/dist/cjs/src/data-sources/url.js.map +1 -0
- package/dist/cjs/src/edl/BlockRenderer.d.ts.map +1 -0
- package/dist/cjs/src/edl/BlockRenderer.js.map +1 -0
- package/dist/cjs/src/edl/DataSourceLoader.d.ts.map +1 -0
- package/dist/cjs/src/edl/DataSourceLoader.js.map +1 -0
- package/dist/cjs/src/edl/elements/DataSource.d.ts.map +1 -0
- package/dist/cjs/src/edl/elements/DataSource.js.map +1 -0
- package/dist/cjs/src/edl/elements/Fragment.d.ts.map +1 -0
- package/dist/cjs/src/edl/elements/Fragment.js.map +1 -0
- package/dist/cjs/src/edl/elements/UseEffect.d.ts.map +1 -0
- package/dist/cjs/src/edl/elements/UseEffect.js.map +1 -0
- package/dist/cjs/src/edl/elements/index.d.ts.map +1 -0
- package/dist/cjs/src/edl/elements/index.js.map +1 -0
- package/dist/cjs/src/edl/index.d.ts +58 -0
- package/dist/cjs/src/edl/index.d.ts.map +1 -0
- package/dist/cjs/src/edl/index.js +155 -0
- package/dist/cjs/src/edl/index.js.map +1 -0
- package/dist/cjs/src/edl/localStorage.app.d.ts.map +1 -0
- package/dist/cjs/src/edl/localStorage.app.js.map +1 -0
- package/dist/cjs/src/edl/localStorage.d.ts.map +1 -0
- package/dist/cjs/src/edl/localStorage.js.map +1 -0
- package/dist/cjs/src/edl/parser.d.ts.map +1 -0
- package/dist/cjs/src/edl/parser.js.map +1 -0
- package/dist/cjs/src/edl/parser.test.d.ts.map +1 -0
- package/dist/cjs/src/edl/parser.test.js.map +1 -0
- package/dist/cjs/src/helpers/analytics.d.ts.map +1 -0
- package/dist/cjs/src/helpers/analytics.js.map +1 -0
- package/dist/cjs/src/helpers/axiosClient.d.ts.map +1 -0
- package/dist/cjs/src/helpers/axiosClient.js.map +1 -0
- package/dist/cjs/src/helpers/base64.d.ts.map +1 -0
- package/dist/cjs/src/helpers/base64.js.map +1 -0
- package/dist/cjs/src/helpers/base64.test.d.ts.map +1 -0
- package/dist/cjs/src/helpers/base64.test.js.map +1 -0
- package/dist/cjs/src/helpers/commonStyles.d.ts.map +1 -0
- package/dist/cjs/src/helpers/commonStyles.js.map +1 -0
- package/dist/cjs/src/helpers/functions.d.ts.map +1 -0
- package/dist/cjs/src/helpers/functions.js.map +1 -0
- package/dist/cjs/src/helpers/handlebarHelpers.d.ts.map +1 -0
- package/dist/cjs/src/helpers/handlebarHelpers.js.map +1 -0
- package/dist/cjs/src/helpers/handlebarHelpers.test.d.ts.map +1 -0
- package/dist/cjs/src/helpers/handlebarHelpers.test.js.map +1 -0
- package/dist/cjs/src/helpers/i18nHelpers.d.ts.map +1 -0
- package/dist/cjs/src/helpers/i18nHelpers.js.map +1 -0
- package/dist/cjs/src/helpers/i18nHelpers.native.d.ts.map +1 -0
- package/dist/cjs/src/helpers/i18nHelpers.native.js.map +1 -0
- package/dist/cjs/src/helpers/i18ninstance.d.ts.map +1 -0
- package/dist/cjs/src/helpers/i18ninstance.js.map +1 -0
- package/dist/cjs/src/helpers/iconHelper.d.ts.map +1 -0
- package/dist/cjs/src/helpers/iconHelper.js.map +1 -0
- package/dist/cjs/src/helpers/index.d.ts.map +1 -0
- package/dist/cjs/src/helpers/index.js.map +1 -0
- package/dist/cjs/src/helpers/pathHelper.d.ts.map +1 -0
- package/dist/cjs/src/helpers/pathHelper.js.map +1 -0
- package/dist/cjs/src/helpers/pathhelper.test.d.ts.map +1 -0
- package/dist/cjs/src/helpers/pathhelper.test.js.map +1 -0
- package/dist/cjs/src/helpers/remoteAction.d.ts.map +1 -0
- package/dist/cjs/src/helpers/remoteAction.js.map +1 -0
- package/dist/cjs/src/helpers/themeHelpers.d.ts.map +1 -0
- package/dist/cjs/src/helpers/themeHelpers.js.map +1 -0
- package/dist/cjs/src/hooks/index.d.ts.map +1 -0
- package/dist/cjs/src/hooks/index.js.map +1 -0
- package/dist/cjs/src/hooks/useAction.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useAction.js.map +1 -0
- package/dist/cjs/src/hooks/useActionable.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useActionable.js.map +1 -0
- package/dist/cjs/src/hooks/useAuth.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useAuth.js.map +1 -0
- package/dist/cjs/src/hooks/useCollection.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useCollection.js.map +1 -0
- package/dist/cjs/src/hooks/useCollectionRecord.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useCollectionRecord.js.map +1 -0
- package/dist/cjs/src/hooks/useComponentConfigProps.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useComponentConfigProps.js.map +1 -0
- package/dist/cjs/src/hooks/useComponentData.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useComponentData.js.map +1 -0
- package/dist/cjs/src/hooks/useConfig.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useConfig.js.map +1 -0
- package/dist/cjs/src/hooks/useDataSource.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useDataSource.js.map +1 -0
- package/dist/cjs/src/hooks/useEditable.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useEditable.js.map +1 -0
- package/dist/cjs/src/hooks/useFocus.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useFocus.js.map +1 -0
- package/dist/cjs/src/hooks/useFonts.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useFonts.js.map +1 -0
- package/dist/cjs/src/hooks/useLayoutEditor.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useLayoutEditor.js.map +1 -0
- package/dist/cjs/src/hooks/useMenuItems.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useMenuItems.js.map +1 -0
- package/dist/cjs/src/hooks/useNavigator.app.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useNavigator.app.js.map +1 -0
- package/dist/cjs/src/hooks/useNavigator.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useNavigator.js.map +1 -0
- package/dist/cjs/src/hooks/useOnScrollAnimation.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useOnScrollAnimation.js.map +1 -0
- package/dist/cjs/src/hooks/usePage.d.ts.map +1 -0
- package/dist/cjs/src/hooks/usePage.js.map +1 -0
- package/dist/cjs/src/hooks/useParams.app.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useParams.app.js.map +1 -0
- package/dist/cjs/src/hooks/useParams.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useParams.js.map +1 -0
- package/dist/cjs/src/hooks/usePastePlainText.d.ts.map +1 -0
- package/dist/cjs/src/hooks/usePastePlainText.js.map +1 -0
- package/dist/cjs/src/hooks/useResponsive.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useResponsive.js.map +1 -0
- package/dist/cjs/src/hooks/useScope.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useScope.js.map +1 -0
- package/dist/cjs/src/hooks/useTemplate.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useTemplate.js.map +1 -0
- package/dist/cjs/src/hooks/useTheme.app.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useTheme.app.js.map +1 -0
- package/dist/cjs/src/hooks/useTheme.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useTheme.js.map +1 -0
- package/dist/cjs/src/hooks/useTranslation.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useTranslation.js.map +1 -0
- package/dist/cjs/src/hooks/useUrl.d.ts.map +1 -0
- package/dist/cjs/src/hooks/useUrl.js.map +1 -0
- package/dist/cjs/src/middlewares/dataSourceMiddleware.d.ts.map +1 -0
- package/dist/cjs/src/middlewares/dataSourceMiddleware.js.map +1 -0
- package/dist/cjs/src/middlewares/index.d.ts.map +1 -0
- package/dist/cjs/src/middlewares/index.js.map +1 -0
- package/dist/cjs/src/middlewares/platformEventsMiddleware.d.ts.map +1 -0
- package/dist/cjs/src/middlewares/platformEventsMiddleware.js.map +1 -0
- package/dist/cjs/src/middlewares/platformEventsMiddleware.native.d.ts.map +1 -0
- package/dist/cjs/src/middlewares/platformEventsMiddleware.native.js.map +1 -0
- package/dist/cjs/src/middlewares/restApiMiddleware.d.ts.map +1 -0
- package/dist/cjs/src/middlewares/restApiMiddleware.js.map +1 -0
- package/dist/cjs/src/middlewares/socketMiddleware.d.ts.map +1 -0
- package/dist/cjs/src/middlewares/socketMiddleware.js.map +1 -0
- package/dist/cjs/src/providers/DataSource.d.ts.map +1 -0
- package/dist/cjs/src/providers/DataSource.js.map +1 -0
- package/dist/cjs/src/providers/I18nProvider.d.ts.map +1 -0
- package/dist/cjs/src/providers/I18nProvider.js.map +1 -0
- package/dist/cjs/src/providers/Scope.d.ts.map +1 -0
- package/dist/cjs/src/providers/Scope.js.map +1 -0
- package/dist/cjs/src/providers/Scopes.d.ts.map +1 -0
- package/dist/cjs/src/providers/Scopes.js.map +1 -0
- package/dist/cjs/src/providers/index.d.ts.map +1 -0
- package/dist/cjs/src/providers/index.js.map +1 -0
- package/dist/cjs/src/reducers/addAdminMenuItem.d.ts.map +1 -0
- package/dist/cjs/src/reducers/addAdminMenuItem.js.map +1 -0
- package/dist/cjs/src/reducers/adminMenus.d.ts.map +1 -0
- package/dist/cjs/src/reducers/adminMenus.js.map +1 -0
- package/dist/cjs/src/reducers/collection.d.ts.map +1 -0
- package/dist/cjs/src/reducers/collection.js.map +1 -0
- package/dist/cjs/src/reducers/components.d.ts.map +1 -0
- package/dist/cjs/src/reducers/components.js.map +1 -0
- package/dist/cjs/src/reducers/config/index.d.ts.map +1 -0
- package/dist/cjs/src/reducers/config/index.js.map +1 -0
- package/dist/cjs/src/reducers/config/initialState.d.ts.map +1 -0
- package/dist/cjs/src/reducers/config/initialState.js.map +1 -0
- package/dist/cjs/src/reducers/config/initialState.native.d.ts.map +1 -0
- package/dist/cjs/src/reducers/config/initialState.native.js.map +1 -0
- package/dist/cjs/src/reducers/context.d.ts.map +1 -0
- package/dist/cjs/src/reducers/context.js.map +1 -0
- package/dist/cjs/src/reducers/dataSource.d.ts.map +1 -0
- package/dist/cjs/src/reducers/dataSource.js.map +1 -0
- package/dist/cjs/src/reducers/files.d.ts.map +1 -0
- package/dist/cjs/src/reducers/files.js.map +1 -0
- package/dist/cjs/src/reducers/fonts.d.ts.map +1 -0
- package/dist/cjs/src/reducers/fonts.js.map +1 -0
- package/dist/cjs/src/reducers/icons.d.ts.map +1 -0
- package/dist/cjs/src/reducers/icons.js.map +1 -0
- package/dist/cjs/src/reducers/index.d.ts.map +1 -0
- package/dist/cjs/src/reducers/index.js.map +1 -0
- package/dist/cjs/src/reducers/modals.d.ts.map +1 -0
- package/dist/cjs/src/reducers/modals.js.map +1 -0
- package/dist/cjs/src/reducers/notifications.d.ts.map +1 -0
- package/dist/cjs/src/reducers/notifications.js.map +1 -0
- package/dist/cjs/src/reducers/pages/index.d.ts.map +1 -0
- package/dist/cjs/src/reducers/pages/index.js.map +1 -0
- package/dist/cjs/src/reducers/pages/initialState.d.ts.map +1 -0
- package/dist/cjs/src/reducers/pages/initialState.js.map +1 -0
- package/dist/cjs/src/reducers/pages/initialState.native.d.ts.map +1 -0
- package/dist/cjs/src/reducers/pages/initialState.native.js.map +1 -0
- package/dist/cjs/src/reducers/routes.d.ts.map +1 -0
- package/dist/cjs/src/reducers/routes.js.map +1 -0
- package/dist/cjs/src/reducers/search.d.ts.map +1 -0
- package/dist/cjs/src/reducers/search.js.map +1 -0
- package/dist/cjs/src/reducers/session.d.ts.map +1 -0
- package/dist/cjs/src/reducers/session.js.map +1 -0
- package/dist/cjs/src/reducers/user.d.ts.map +1 -0
- package/dist/cjs/src/reducers/user.js.map +1 -0
- package/dist/cjs/src/services/SessionManager.d.ts.map +1 -0
- package/dist/cjs/src/services/SessionManager.js.map +1 -0
- package/dist/cjs/src/services/index.d.ts.map +1 -0
- package/dist/cjs/src/services/index.js.map +1 -0
- package/dist/esm/bin/generate-google-fonts-cache.d.ts +2 -0
- package/dist/esm/bin/generate-google-fonts-cache.d.ts.map +1 -0
- package/dist/esm/bin/generate-google-fonts-cache.js +39 -0
- package/dist/esm/bin/generate-google-fonts-cache.js.map +1 -0
- package/dist/esm/bin/generate-icons-cache.d.ts +2 -0
- package/dist/esm/bin/generate-icons-cache.d.ts.map +1 -0
- package/dist/esm/bin/generate-icons-cache.js +44 -0
- package/dist/esm/bin/generate-icons-cache.js.map +1 -0
- package/dist/esm/main.d.ts +14 -0
- package/dist/esm/main.d.ts.map +1 -0
- package/dist/esm/main.js +14 -0
- package/dist/esm/main.js.map +1 -0
- package/dist/esm/src/actions/index.d.ts +2 -0
- package/dist/esm/src/actions/index.d.ts.map +1 -0
- package/dist/esm/src/actions/index.js +2 -0
- package/dist/esm/src/actions/index.js.map +1 -0
- package/dist/esm/src/actions/restApi.d.ts +38 -0
- package/dist/esm/src/actions/restApi.d.ts.map +1 -0
- package/dist/esm/src/actions/restApi.js +19 -0
- package/dist/esm/src/actions/restApi.js.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/default.test.d.ts +2 -0
- package/dist/esm/src/adapters/evaluateCode/default.test.d.ts.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/default.test.js +10 -0
- package/dist/esm/src/adapters/evaluateCode/default.test.js.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/index.d.ts +2 -0
- package/dist/esm/src/adapters/evaluateCode/index.d.ts.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/index.js +5 -0
- package/dist/esm/src/adapters/evaluateCode/index.js.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/index.native.d.ts +2 -0
- package/dist/esm/src/adapters/evaluateCode/index.native.d.ts.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/index.native.js +10 -0
- package/dist/esm/src/adapters/evaluateCode/index.native.js.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/native.test.d.ts +2 -0
- package/dist/esm/src/adapters/evaluateCode/native.test.d.ts.map +1 -0
- package/dist/esm/src/adapters/evaluateCode/native.test.js +20 -0
- package/dist/esm/src/adapters/evaluateCode/native.test.js.map +1 -0
- package/dist/esm/src/adapters/getUserToken/index.d.ts +2 -0
- package/dist/esm/src/adapters/getUserToken/index.d.ts.map +1 -0
- package/dist/esm/src/adapters/getUserToken/index.js +9 -0
- package/dist/esm/src/adapters/getUserToken/index.js.map +1 -0
- package/dist/esm/src/adapters/getUserToken/index.native.d.ts +2 -0
- package/dist/esm/src/adapters/getUserToken/index.native.d.ts.map +1 -0
- package/dist/esm/src/adapters/getUserToken/index.native.js +12 -0
- package/dist/esm/src/adapters/getUserToken/index.native.js.map +1 -0
- package/dist/esm/src/classes/Collection.d.ts +33 -0
- package/dist/esm/src/classes/Collection.d.ts.map +1 -0
- package/dist/esm/src/classes/Collection.js +10 -0
- package/dist/esm/src/classes/Collection.js.map +1 -0
- package/dist/esm/src/classes/Form.d.ts +3 -0
- package/dist/esm/src/classes/Form.d.ts.map +1 -0
- package/dist/esm/src/classes/Form.js +3 -0
- package/dist/esm/src/classes/Form.js.map +1 -0
- package/dist/esm/src/classes/Model.d.ts +28 -0
- package/dist/esm/src/classes/Model.d.ts.map +1 -0
- package/dist/esm/src/classes/Model.js +49 -0
- package/dist/esm/src/classes/Model.js.map +1 -0
- package/dist/esm/src/classes/User.d.ts +20 -0
- package/dist/esm/src/classes/User.d.ts.map +1 -0
- package/dist/esm/src/classes/User.js +29 -0
- package/dist/esm/src/classes/User.js.map +1 -0
- package/dist/esm/src/classes/index.d.ts +4 -0
- package/dist/esm/src/classes/index.d.ts.map +1 -0
- package/dist/esm/src/classes/index.js +4 -0
- package/dist/esm/src/classes/index.js.map +1 -0
- package/dist/esm/src/components/EmptyComponent.d.ts +3 -0
- package/dist/esm/src/components/EmptyComponent.d.ts.map +1 -0
- package/dist/esm/src/components/EmptyComponent.js +3 -0
- package/dist/esm/src/components/EmptyComponent.js.map +1 -0
- package/dist/esm/src/components/SkipSSR.d.ts +8 -0
- package/dist/esm/src/components/SkipSSR.d.ts.map +1 -0
- package/dist/esm/src/components/SkipSSR.js +9 -0
- package/dist/esm/src/components/SkipSSR.js.map +1 -0
- package/dist/esm/src/components/Svg.d.ts +7 -0
- package/dist/esm/src/components/Svg.d.ts.map +1 -0
- package/dist/esm/src/components/Svg.js +14 -0
- package/dist/esm/src/components/Svg.js.map +1 -0
- package/dist/esm/src/components/hoc/index.d.ts +5 -0
- package/dist/esm/src/components/hoc/index.d.ts.map +1 -0
- package/dist/esm/src/components/hoc/index.js +11 -0
- package/dist/esm/src/components/hoc/index.js.map +1 -0
- package/dist/esm/src/components/hoc/withCollection.d.ts +10 -0
- package/dist/esm/src/components/hoc/withCollection.d.ts.map +1 -0
- package/dist/esm/src/components/hoc/withCollection.js +15 -0
- package/dist/esm/src/components/hoc/withCollection.js.map +1 -0
- package/dist/esm/src/components/hoc/withCollectionRecord.d.ts +10 -0
- package/dist/esm/src/components/hoc/withCollectionRecord.d.ts.map +1 -0
- package/dist/esm/src/components/hoc/withCollectionRecord.js +18 -0
- package/dist/esm/src/components/hoc/withCollectionRecord.js.map +1 -0
- package/dist/esm/src/components/hoc/withSettings.d.ts +21 -0
- package/dist/esm/src/components/hoc/withSettings.d.ts.map +1 -0
- package/dist/esm/src/components/hoc/withSettings.js +31 -0
- package/dist/esm/src/components/hoc/withSettings.js.map +1 -0
- package/dist/esm/src/components/hoc/withSettings.native.d.ts +18 -0
- package/dist/esm/src/components/hoc/withSettings.native.d.ts.map +1 -0
- package/dist/esm/src/components/hoc/withSettings.native.js +27 -0
- package/dist/esm/src/components/hoc/withSettings.native.js.map +1 -0
- package/dist/esm/src/components/hoc/withoutSSR.d.ts +2 -0
- package/dist/esm/src/components/hoc/withoutSSR.d.ts.map +1 -0
- package/dist/esm/src/components/hoc/withoutSSR.js +9 -0
- package/dist/esm/src/components/hoc/withoutSSR.js.map +1 -0
- package/dist/esm/src/components/index.d.ts +4 -0
- package/dist/esm/src/components/index.d.ts.map +1 -0
- package/dist/esm/src/components/index.js +22 -0
- package/dist/esm/src/components/index.js.map +1 -0
- package/dist/esm/src/constants/googleFonts/index.d.ts +6 -0
- package/dist/esm/src/constants/googleFonts/index.d.ts.map +1 -0
- package/dist/esm/src/constants/googleFonts/index.js +7 -0
- package/dist/esm/src/constants/googleFonts/index.js.map +1 -0
- package/dist/esm/src/constants/googleFonts/variants.min.json +1 -0
- package/dist/esm/src/constants/iconInfo/directed-icons.d.ts +18 -0
- package/dist/esm/src/constants/iconInfo/directed-icons.d.ts.map +1 -0
- package/dist/esm/src/constants/iconInfo/directed-icons.js +325 -0
- package/dist/esm/src/constants/iconInfo/directed-icons.js.map +1 -0
- package/dist/esm/src/constants/iconInfo/index.d.ts +21 -0
- package/dist/esm/src/constants/iconInfo/index.d.ts.map +1 -0
- package/dist/esm/src/constants/iconInfo/index.js +33 -0
- package/dist/esm/src/constants/iconInfo/index.js.map +1 -0
- package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.d.ts +25 -0
- package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
- package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.js +57 -0
- package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -0
- package/dist/esm/src/constants/iconInfo/reactNativeVectorIcons.lookup.min.json +1 -0
- package/dist/esm/src/constants/iconInfo/types.d.ts +45 -0
- package/dist/esm/src/constants/iconInfo/types.d.ts.map +1 -0
- package/dist/esm/src/constants/iconInfo/types.js +2 -0
- package/dist/esm/src/constants/iconInfo/types.js.map +1 -0
- package/dist/esm/src/constants/index.d.ts +14 -0
- package/dist/esm/src/constants/index.d.ts.map +1 -0
- package/dist/esm/src/constants/index.js +14 -0
- package/dist/esm/src/constants/index.js.map +1 -0
- package/dist/esm/src/constants/platformSpecific.d.ts +4 -0
- package/dist/esm/src/constants/platformSpecific.d.ts.map +1 -0
- package/dist/esm/src/constants/platformSpecific.js +4 -0
- package/dist/esm/src/constants/platformSpecific.js.map +1 -0
- package/dist/esm/src/constants/platformSpecific.native.d.ts +5 -0
- package/dist/esm/src/constants/platformSpecific.native.d.ts.map +1 -0
- package/dist/esm/src/constants/platformSpecific.native.js +7 -0
- package/dist/esm/src/constants/platformSpecific.native.js.map +1 -0
- package/dist/esm/src/contexts/ComponentContext.d.ts +11 -0
- package/dist/esm/src/contexts/ComponentContext.d.ts.map +1 -0
- package/dist/esm/src/contexts/ComponentContext.js +8 -0
- package/dist/esm/src/contexts/ComponentContext.js.map +1 -0
- package/dist/esm/src/contexts/DataContext.d.ts +5 -0
- package/dist/esm/src/contexts/DataContext.d.ts.map +1 -0
- package/dist/esm/src/contexts/DataContext.js +6 -0
- package/dist/esm/src/contexts/DataContext.js.map +1 -0
- package/dist/esm/src/contexts/EDLContext.d.ts +7 -0
- package/dist/esm/src/contexts/EDLContext.d.ts.map +1 -0
- package/dist/esm/src/contexts/EDLContext.js +7 -0
- package/dist/esm/src/contexts/EDLContext.js.map +1 -0
- package/dist/esm/src/contexts/LayoutContext.d.ts +12 -0
- package/dist/esm/src/contexts/LayoutContext.d.ts.map +1 -0
- package/dist/esm/src/contexts/LayoutContext.js +5 -0
- package/dist/esm/src/contexts/LayoutContext.js.map +1 -0
- package/dist/esm/src/contexts/PageContext.d.ts +8 -0
- package/dist/esm/src/contexts/PageContext.d.ts.map +1 -0
- package/dist/esm/src/contexts/PageContext.js +5 -0
- package/dist/esm/src/contexts/PageContext.js.map +1 -0
- package/dist/esm/src/contexts/ToolbarContext.d.ts +17 -0
- package/dist/esm/src/contexts/ToolbarContext.d.ts.map +1 -0
- package/dist/esm/src/contexts/ToolbarContext.js +6 -0
- package/dist/esm/src/contexts/ToolbarContext.js.map +1 -0
- package/dist/esm/src/contexts/index.d.ts +6 -0
- package/dist/esm/src/contexts/index.d.ts.map +1 -0
- package/dist/esm/src/contexts/index.js +6 -0
- package/dist/esm/src/contexts/index.js.map +1 -0
- package/dist/esm/src/data-sources/collection.d.ts +4 -0
- package/dist/esm/src/data-sources/collection.d.ts.map +1 -0
- package/dist/esm/src/data-sources/collection.js +90 -0
- package/dist/esm/src/data-sources/collection.js.map +1 -0
- package/dist/esm/src/data-sources/collectionRecord.d.ts +4 -0
- package/dist/esm/src/data-sources/collectionRecord.d.ts.map +1 -0
- package/dist/esm/src/data-sources/collectionRecord.js +43 -0
- package/dist/esm/src/data-sources/collectionRecord.js.map +1 -0
- package/dist/esm/src/data-sources/index.d.ts +3 -0
- package/dist/esm/src/data-sources/index.d.ts.map +1 -0
- package/dist/esm/src/data-sources/index.js +13 -0
- package/dist/esm/src/data-sources/index.js.map +1 -0
- package/dist/esm/src/data-sources/listUrl.d.ts +4 -0
- package/dist/esm/src/data-sources/listUrl.d.ts.map +1 -0
- package/dist/esm/src/data-sources/listUrl.js +70 -0
- package/dist/esm/src/data-sources/listUrl.js.map +1 -0
- package/dist/esm/src/data-sources/scopeDataSource.d.ts +4 -0
- package/dist/esm/src/data-sources/scopeDataSource.d.ts.map +1 -0
- package/dist/esm/src/data-sources/scopeDataSource.js +13 -0
- package/dist/esm/src/data-sources/scopeDataSource.js.map +1 -0
- package/dist/esm/src/data-sources/url.d.ts +4 -0
- package/dist/esm/src/data-sources/url.d.ts.map +1 -0
- package/dist/esm/src/data-sources/url.js +56 -0
- package/dist/esm/src/data-sources/url.js.map +1 -0
- package/dist/esm/src/edl/BlockRenderer.d.ts +9 -0
- package/dist/esm/src/edl/BlockRenderer.d.ts.map +1 -0
- package/dist/esm/src/edl/BlockRenderer.js +96 -0
- package/dist/esm/src/edl/BlockRenderer.js.map +1 -0
- package/dist/esm/src/edl/DataSourceLoader.d.ts +7 -0
- package/dist/esm/src/edl/DataSourceLoader.d.ts.map +1 -0
- package/dist/esm/src/edl/DataSourceLoader.js +11 -0
- package/dist/esm/src/edl/DataSourceLoader.js.map +1 -0
- package/dist/esm/src/edl/elements/DataSource.d.ts +8 -0
- package/dist/esm/src/edl/elements/DataSource.d.ts.map +1 -0
- package/dist/esm/src/edl/elements/DataSource.js +14 -0
- package/dist/esm/src/edl/elements/DataSource.js.map +1 -0
- package/dist/esm/src/edl/elements/Fragment.d.ts +9 -0
- package/dist/esm/src/edl/elements/Fragment.d.ts.map +1 -0
- package/dist/esm/src/edl/elements/Fragment.js +12 -0
- package/dist/esm/src/edl/elements/Fragment.js.map +1 -0
- package/dist/esm/src/edl/elements/UseEffect.d.ts +10 -0
- package/dist/esm/src/edl/elements/UseEffect.d.ts.map +1 -0
- package/dist/esm/src/edl/elements/UseEffect.js +26 -0
- package/dist/esm/src/edl/elements/UseEffect.js.map +1 -0
- package/dist/esm/src/edl/elements/index.d.ts +17 -0
- package/dist/esm/src/edl/elements/index.d.ts.map +1 -0
- package/dist/esm/src/edl/elements/index.js +11 -0
- package/dist/esm/src/edl/elements/index.js.map +1 -0
- package/dist/esm/src/edl/index.d.ts +58 -0
- package/dist/esm/src/edl/index.d.ts.map +1 -0
- package/dist/esm/src/edl/index.js +130 -0
- package/dist/esm/src/edl/index.js.map +1 -0
- package/dist/esm/src/edl/localStorage.app.d.ts +6 -0
- package/dist/esm/src/edl/localStorage.app.d.ts.map +1 -0
- package/dist/esm/src/edl/localStorage.app.js +9 -0
- package/dist/esm/src/edl/localStorage.app.js.map +1 -0
- package/dist/esm/src/edl/localStorage.d.ts +6 -0
- package/dist/esm/src/edl/localStorage.d.ts.map +1 -0
- package/dist/esm/src/edl/localStorage.js +8 -0
- package/dist/esm/src/edl/localStorage.js.map +1 -0
- package/dist/esm/src/edl/parser.d.ts +3 -0
- package/dist/esm/src/edl/parser.d.ts.map +1 -0
- package/dist/esm/src/edl/parser.js +202 -0
- package/dist/esm/src/edl/parser.js.map +1 -0
- package/dist/esm/src/edl/parser.test.d.ts +2 -0
- package/dist/esm/src/edl/parser.test.d.ts.map +1 -0
- package/dist/esm/src/edl/parser.test.js +217 -0
- package/dist/esm/src/edl/parser.test.js.map +1 -0
- package/dist/esm/src/helpers/analytics.d.ts +10 -0
- package/dist/esm/src/helpers/analytics.d.ts.map +1 -0
- package/dist/esm/src/helpers/analytics.js +20 -0
- package/dist/esm/src/helpers/analytics.js.map +1 -0
- package/dist/esm/src/helpers/axiosClient.d.ts +3 -0
- package/dist/esm/src/helpers/axiosClient.d.ts.map +1 -0
- package/dist/esm/src/helpers/axiosClient.js +12 -0
- package/dist/esm/src/helpers/axiosClient.js.map +1 -0
- package/dist/esm/src/helpers/base64.d.ts +3 -0
- package/dist/esm/src/helpers/base64.d.ts.map +1 -0
- package/dist/esm/src/helpers/base64.js +63 -0
- package/dist/esm/src/helpers/base64.js.map +1 -0
- package/dist/esm/src/helpers/base64.test.d.ts +2 -0
- package/dist/esm/src/helpers/base64.test.d.ts.map +1 -0
- package/dist/esm/src/helpers/base64.test.js +23 -0
- package/dist/esm/src/helpers/base64.test.js.map +1 -0
- package/dist/esm/src/helpers/commonStyles.d.ts +21 -0
- package/dist/esm/src/helpers/commonStyles.d.ts.map +1 -0
- package/dist/esm/src/helpers/commonStyles.js +23 -0
- package/dist/esm/src/helpers/commonStyles.js.map +1 -0
- package/dist/esm/src/helpers/functions.d.ts +14 -0
- package/dist/esm/src/helpers/functions.d.ts.map +1 -0
- package/dist/esm/src/helpers/functions.js +72 -0
- package/dist/esm/src/helpers/functions.js.map +1 -0
- package/dist/esm/src/helpers/handlebarHelpers.d.ts +2 -0
- package/dist/esm/src/helpers/handlebarHelpers.d.ts.map +1 -0
- package/dist/esm/src/helpers/handlebarHelpers.js +33 -0
- package/dist/esm/src/helpers/handlebarHelpers.js.map +1 -0
- package/dist/esm/src/helpers/handlebarHelpers.test.d.ts +2 -0
- package/dist/esm/src/helpers/handlebarHelpers.test.d.ts.map +1 -0
- package/dist/esm/src/helpers/handlebarHelpers.test.js +55 -0
- package/dist/esm/src/helpers/handlebarHelpers.test.js.map +1 -0
- package/dist/esm/src/helpers/i18nHelpers.d.ts +2 -0
- package/dist/esm/src/helpers/i18nHelpers.d.ts.map +1 -0
- package/dist/esm/src/helpers/i18nHelpers.js +4 -0
- package/dist/esm/src/helpers/i18nHelpers.js.map +1 -0
- package/dist/esm/src/helpers/i18nHelpers.native.d.ts +2 -0
- package/dist/esm/src/helpers/i18nHelpers.native.d.ts.map +1 -0
- package/dist/esm/src/helpers/i18nHelpers.native.js +8 -0
- package/dist/esm/src/helpers/i18nHelpers.native.js.map +1 -0
- package/dist/esm/src/helpers/i18ninstance.d.ts +3 -0
- package/dist/esm/src/helpers/i18ninstance.d.ts.map +1 -0
- package/dist/esm/src/helpers/i18ninstance.js +16 -0
- package/dist/esm/src/helpers/i18ninstance.js.map +1 -0
- package/dist/esm/src/helpers/iconHelper.d.ts +2 -0
- package/dist/esm/src/helpers/iconHelper.d.ts.map +1 -0
- package/dist/esm/src/helpers/iconHelper.js +16 -0
- package/dist/esm/src/helpers/iconHelper.js.map +1 -0
- package/dist/esm/src/helpers/index.d.ts +13 -0
- package/dist/esm/src/helpers/index.d.ts.map +1 -0
- package/dist/esm/src/helpers/index.js +13 -0
- package/dist/esm/src/helpers/index.js.map +1 -0
- package/dist/esm/src/helpers/pathHelper.d.ts +2 -0
- package/dist/esm/src/helpers/pathHelper.d.ts.map +1 -0
- package/dist/esm/src/helpers/pathHelper.js +24 -0
- package/dist/esm/src/helpers/pathHelper.js.map +1 -0
- package/dist/esm/src/helpers/pathhelper.test.d.ts +2 -0
- package/dist/esm/src/helpers/pathhelper.test.d.ts.map +1 -0
- package/dist/esm/src/helpers/pathhelper.test.js +33 -0
- package/dist/esm/src/helpers/pathhelper.test.js.map +1 -0
- package/dist/esm/src/helpers/remoteAction.d.ts +11 -0
- package/dist/esm/src/helpers/remoteAction.d.ts.map +1 -0
- package/dist/esm/src/helpers/remoteAction.js +17 -0
- package/dist/esm/src/helpers/remoteAction.js.map +1 -0
- package/dist/esm/src/helpers/themeHelpers.d.ts +241 -0
- package/dist/esm/src/helpers/themeHelpers.d.ts.map +1 -0
- package/dist/esm/src/helpers/themeHelpers.js +242 -0
- package/dist/esm/src/helpers/themeHelpers.js.map +1 -0
- package/dist/esm/src/hooks/index.d.ts +26 -0
- package/dist/esm/src/hooks/index.d.ts.map +1 -0
- package/dist/esm/src/hooks/index.js +26 -0
- package/dist/esm/src/hooks/index.js.map +1 -0
- package/dist/esm/src/hooks/useAction.d.ts +10 -0
- package/dist/esm/src/hooks/useAction.d.ts.map +1 -0
- package/dist/esm/src/hooks/useAction.js +34 -0
- package/dist/esm/src/hooks/useAction.js.map +1 -0
- package/dist/esm/src/hooks/useActionable.d.ts +37 -0
- package/dist/esm/src/hooks/useActionable.d.ts.map +1 -0
- package/dist/esm/src/hooks/useActionable.js +79 -0
- package/dist/esm/src/hooks/useActionable.js.map +1 -0
- package/dist/esm/src/hooks/useAuth.d.ts +9 -0
- package/dist/esm/src/hooks/useAuth.d.ts.map +1 -0
- package/dist/esm/src/hooks/useAuth.js +18 -0
- package/dist/esm/src/hooks/useAuth.js.map +1 -0
- package/dist/esm/src/hooks/useCollection.d.ts +3 -0
- package/dist/esm/src/hooks/useCollection.d.ts.map +1 -0
- package/dist/esm/src/hooks/useCollection.js +83 -0
- package/dist/esm/src/hooks/useCollection.js.map +1 -0
- package/dist/esm/src/hooks/useCollectionRecord.d.ts +2 -0
- package/dist/esm/src/hooks/useCollectionRecord.d.ts.map +1 -0
- package/dist/esm/src/hooks/useCollectionRecord.js +30 -0
- package/dist/esm/src/hooks/useCollectionRecord.js.map +1 -0
- package/dist/esm/src/hooks/useComponentConfigProps.d.ts +3 -0
- package/dist/esm/src/hooks/useComponentConfigProps.d.ts.map +1 -0
- package/dist/esm/src/hooks/useComponentConfigProps.js +15 -0
- package/dist/esm/src/hooks/useComponentConfigProps.js.map +1 -0
- package/dist/esm/src/hooks/useComponentData.d.ts +4 -0
- package/dist/esm/src/hooks/useComponentData.d.ts.map +1 -0
- package/dist/esm/src/hooks/useComponentData.js +6 -0
- package/dist/esm/src/hooks/useComponentData.js.map +1 -0
- package/dist/esm/src/hooks/useConfig.d.ts +2 -0
- package/dist/esm/src/hooks/useConfig.d.ts.map +1 -0
- package/dist/esm/src/hooks/useConfig.js +6 -0
- package/dist/esm/src/hooks/useConfig.js.map +1 -0
- package/dist/esm/src/hooks/useDataSource.d.ts +15 -0
- package/dist/esm/src/hooks/useDataSource.d.ts.map +1 -0
- package/dist/esm/src/hooks/useDataSource.js +136 -0
- package/dist/esm/src/hooks/useDataSource.js.map +1 -0
- package/dist/esm/src/hooks/useEditable.d.ts +3 -0
- package/dist/esm/src/hooks/useEditable.d.ts.map +1 -0
- package/dist/esm/src/hooks/useEditable.js +8 -0
- package/dist/esm/src/hooks/useEditable.js.map +1 -0
- package/dist/esm/src/hooks/useFocus.d.ts +6 -0
- package/dist/esm/src/hooks/useFocus.d.ts.map +1 -0
- package/dist/esm/src/hooks/useFocus.js +18 -0
- package/dist/esm/src/hooks/useFocus.js.map +1 -0
- package/dist/esm/src/hooks/useFonts.d.ts +9 -0
- package/dist/esm/src/hooks/useFonts.d.ts.map +1 -0
- package/dist/esm/src/hooks/useFonts.js +9 -0
- package/dist/esm/src/hooks/useFonts.js.map +1 -0
- package/dist/esm/src/hooks/useLayoutEditor.d.ts +11 -0
- package/dist/esm/src/hooks/useLayoutEditor.d.ts.map +1 -0
- package/dist/esm/src/hooks/useLayoutEditor.js +76 -0
- package/dist/esm/src/hooks/useLayoutEditor.js.map +1 -0
- package/dist/esm/src/hooks/useMenuItems.d.ts +3 -0
- package/dist/esm/src/hooks/useMenuItems.d.ts.map +1 -0
- package/dist/esm/src/hooks/useMenuItems.js +7 -0
- package/dist/esm/src/hooks/useMenuItems.js.map +1 -0
- package/dist/esm/src/hooks/useNavigator.app.d.ts +4 -0
- package/dist/esm/src/hooks/useNavigator.app.d.ts.map +1 -0
- package/dist/esm/src/hooks/useNavigator.app.js +21 -0
- package/dist/esm/src/hooks/useNavigator.app.js.map +1 -0
- package/dist/esm/src/hooks/useNavigator.d.ts +4 -0
- package/dist/esm/src/hooks/useNavigator.d.ts.map +1 -0
- package/dist/esm/src/hooks/useNavigator.js +33 -0
- package/dist/esm/src/hooks/useNavigator.js.map +1 -0
- package/dist/esm/src/hooks/useOnScrollAnimation.d.ts +4 -0
- package/dist/esm/src/hooks/useOnScrollAnimation.d.ts.map +1 -0
- package/dist/esm/src/hooks/useOnScrollAnimation.js +31 -0
- package/dist/esm/src/hooks/useOnScrollAnimation.js.map +1 -0
- package/dist/esm/src/hooks/usePage.d.ts +5 -0
- package/dist/esm/src/hooks/usePage.d.ts.map +1 -0
- package/dist/esm/src/hooks/usePage.js +7 -0
- package/dist/esm/src/hooks/usePage.js.map +1 -0
- package/dist/esm/src/hooks/useParams.app.d.ts +2 -0
- package/dist/esm/src/hooks/useParams.app.d.ts.map +1 -0
- package/dist/esm/src/hooks/useParams.app.js +7 -0
- package/dist/esm/src/hooks/useParams.app.js.map +1 -0
- package/dist/esm/src/hooks/useParams.d.ts +2 -0
- package/dist/esm/src/hooks/useParams.d.ts.map +1 -0
- package/dist/esm/src/hooks/useParams.js +9 -0
- package/dist/esm/src/hooks/useParams.js.map +1 -0
- package/dist/esm/src/hooks/usePastePlainText.d.ts +3 -0
- package/dist/esm/src/hooks/usePastePlainText.d.ts.map +1 -0
- package/dist/esm/src/hooks/usePastePlainText.js +18 -0
- package/dist/esm/src/hooks/usePastePlainText.js.map +1 -0
- package/dist/esm/src/hooks/useResponsive.d.ts +3 -0
- package/dist/esm/src/hooks/useResponsive.d.ts.map +1 -0
- package/dist/esm/src/hooks/useResponsive.js +36 -0
- package/dist/esm/src/hooks/useResponsive.js.map +1 -0
- package/dist/esm/src/hooks/useScope.d.ts +3 -0
- package/dist/esm/src/hooks/useScope.d.ts.map +1 -0
- package/dist/esm/src/hooks/useScope.js +12 -0
- package/dist/esm/src/hooks/useScope.js.map +1 -0
- package/dist/esm/src/hooks/useTemplate.d.ts +3 -0
- package/dist/esm/src/hooks/useTemplate.d.ts.map +1 -0
- package/dist/esm/src/hooks/useTemplate.js +33 -0
- package/dist/esm/src/hooks/useTemplate.js.map +1 -0
- package/dist/esm/src/hooks/useTheme.app.d.ts +2 -0
- package/dist/esm/src/hooks/useTheme.app.d.ts.map +1 -0
- package/dist/esm/src/hooks/useTheme.app.js +3 -0
- package/dist/esm/src/hooks/useTheme.app.js.map +1 -0
- package/dist/esm/src/hooks/useTheme.d.ts +5 -0
- package/dist/esm/src/hooks/useTheme.d.ts.map +1 -0
- package/dist/esm/src/hooks/useTheme.js +3 -0
- package/dist/esm/src/hooks/useTheme.js.map +1 -0
- package/dist/esm/src/hooks/useTranslation.d.ts +4 -0
- package/dist/esm/src/hooks/useTranslation.d.ts.map +1 -0
- package/dist/esm/src/hooks/useTranslation.js +12 -0
- package/dist/esm/src/hooks/useTranslation.js.map +1 -0
- package/dist/esm/src/hooks/useUrl.d.ts +2 -0
- package/dist/esm/src/hooks/useUrl.d.ts.map +1 -0
- package/dist/esm/src/hooks/useUrl.js +21 -0
- package/dist/esm/src/hooks/useUrl.js.map +1 -0
- package/dist/esm/src/middlewares/dataSourceMiddleware.d.ts +3 -0
- package/dist/esm/src/middlewares/dataSourceMiddleware.d.ts.map +1 -0
- package/dist/esm/src/middlewares/dataSourceMiddleware.js +123 -0
- package/dist/esm/src/middlewares/dataSourceMiddleware.js.map +1 -0
- package/dist/esm/src/middlewares/index.d.ts +5 -0
- package/dist/esm/src/middlewares/index.d.ts.map +1 -0
- package/dist/esm/src/middlewares/index.js +5 -0
- package/dist/esm/src/middlewares/index.js.map +1 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.d.ts +5 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.d.ts.map +1 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.js +67 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.js.map +1 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.native.d.ts +3 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.native.d.ts.map +1 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.native.js +3 -0
- package/dist/esm/src/middlewares/platformEventsMiddleware.native.js.map +1 -0
- package/dist/esm/src/middlewares/restApiMiddleware.d.ts +3 -0
- package/dist/esm/src/middlewares/restApiMiddleware.d.ts.map +1 -0
- package/dist/esm/src/middlewares/restApiMiddleware.js +72 -0
- package/dist/esm/src/middlewares/restApiMiddleware.js.map +1 -0
- package/dist/esm/src/middlewares/socketMiddleware.d.ts +5 -0
- package/dist/esm/src/middlewares/socketMiddleware.d.ts.map +1 -0
- package/dist/esm/src/middlewares/socketMiddleware.js +23 -0
- package/dist/esm/src/middlewares/socketMiddleware.js.map +1 -0
- package/dist/esm/src/providers/DataSource.d.ts +9 -0
- package/dist/esm/src/providers/DataSource.d.ts.map +1 -0
- package/dist/esm/src/providers/DataSource.js +9 -0
- package/dist/esm/src/providers/DataSource.js.map +1 -0
- package/dist/esm/src/providers/I18nProvider.d.ts +7 -0
- package/dist/esm/src/providers/I18nProvider.d.ts.map +1 -0
- package/dist/esm/src/providers/I18nProvider.js +47 -0
- package/dist/esm/src/providers/I18nProvider.js.map +1 -0
- package/dist/esm/src/providers/Scope.d.ts +13 -0
- package/dist/esm/src/providers/Scope.d.ts.map +1 -0
- package/dist/esm/src/providers/Scope.js +17 -0
- package/dist/esm/src/providers/Scope.js.map +1 -0
- package/dist/esm/src/providers/Scopes.d.ts +12 -0
- package/dist/esm/src/providers/Scopes.d.ts.map +1 -0
- package/dist/esm/src/providers/Scopes.js +15 -0
- package/dist/esm/src/providers/Scopes.js.map +1 -0
- package/dist/esm/src/providers/index.d.ts +5 -0
- package/dist/esm/src/providers/index.d.ts.map +1 -0
- package/dist/esm/src/providers/index.js +5 -0
- package/dist/esm/src/providers/index.js.map +1 -0
- package/dist/esm/src/reducers/addAdminMenuItem.d.ts +1 -0
- package/dist/esm/src/reducers/addAdminMenuItem.d.ts.map +1 -0
- package/dist/esm/src/reducers/addAdminMenuItem.js +1 -0
- package/dist/esm/src/reducers/addAdminMenuItem.js.map +1 -0
- package/dist/esm/src/reducers/adminMenus.d.ts +14 -0
- package/dist/esm/src/reducers/adminMenus.d.ts.map +1 -0
- package/dist/esm/src/reducers/adminMenus.js +29 -0
- package/dist/esm/src/reducers/adminMenus.js.map +1 -0
- package/dist/esm/src/reducers/collection.d.ts +122 -0
- package/dist/esm/src/reducers/collection.d.ts.map +1 -0
- package/dist/esm/src/reducers/collection.js +213 -0
- package/dist/esm/src/reducers/collection.js.map +1 -0
- package/dist/esm/src/reducers/components.d.ts +48 -0
- package/dist/esm/src/reducers/components.d.ts.map +1 -0
- package/dist/esm/src/reducers/components.js +128 -0
- package/dist/esm/src/reducers/components.js.map +1 -0
- package/dist/esm/src/reducers/config/index.d.ts +52 -0
- package/dist/esm/src/reducers/config/index.d.ts.map +1 -0
- package/dist/esm/src/reducers/config/index.js +82 -0
- package/dist/esm/src/reducers/config/index.js.map +1 -0
- package/dist/esm/src/reducers/config/initialState.d.ts +6 -0
- package/dist/esm/src/reducers/config/initialState.d.ts.map +1 -0
- package/dist/esm/src/reducers/config/initialState.js +6 -0
- package/dist/esm/src/reducers/config/initialState.js.map +1 -0
- package/dist/esm/src/reducers/config/initialState.native.d.ts +6 -0
- package/dist/esm/src/reducers/config/initialState.native.d.ts.map +1 -0
- package/dist/esm/src/reducers/config/initialState.native.js +18 -0
- package/dist/esm/src/reducers/config/initialState.native.js.map +1 -0
- package/dist/esm/src/reducers/context.d.ts +24 -0
- package/dist/esm/src/reducers/context.d.ts.map +1 -0
- package/dist/esm/src/reducers/context.js +37 -0
- package/dist/esm/src/reducers/context.js.map +1 -0
- package/dist/esm/src/reducers/dataSource.d.ts +36 -0
- package/dist/esm/src/reducers/dataSource.d.ts.map +1 -0
- package/dist/esm/src/reducers/dataSource.js +54 -0
- package/dist/esm/src/reducers/dataSource.js.map +1 -0
- package/dist/esm/src/reducers/files.d.ts +36 -0
- package/dist/esm/src/reducers/files.d.ts.map +1 -0
- package/dist/esm/src/reducers/files.js +89 -0
- package/dist/esm/src/reducers/files.js.map +1 -0
- package/dist/esm/src/reducers/fonts.d.ts +25 -0
- package/dist/esm/src/reducers/fonts.d.ts.map +1 -0
- package/dist/esm/src/reducers/fonts.js +79 -0
- package/dist/esm/src/reducers/fonts.js.map +1 -0
- package/dist/esm/src/reducers/icons.d.ts +14 -0
- package/dist/esm/src/reducers/icons.d.ts.map +1 -0
- package/dist/esm/src/reducers/icons.js +40 -0
- package/dist/esm/src/reducers/icons.js.map +1 -0
- package/dist/esm/src/reducers/index.d.ts +67 -0
- package/dist/esm/src/reducers/index.d.ts.map +1 -0
- package/dist/esm/src/reducers/index.js +61 -0
- package/dist/esm/src/reducers/index.js.map +1 -0
- package/dist/esm/src/reducers/modals.d.ts +30 -0
- package/dist/esm/src/reducers/modals.d.ts.map +1 -0
- package/dist/esm/src/reducers/modals.js +57 -0
- package/dist/esm/src/reducers/modals.js.map +1 -0
- package/dist/esm/src/reducers/notifications.d.ts +71 -0
- package/dist/esm/src/reducers/notifications.d.ts.map +1 -0
- package/dist/esm/src/reducers/notifications.js +36 -0
- package/dist/esm/src/reducers/notifications.js.map +1 -0
- package/dist/esm/src/reducers/pages/index.d.ts +6 -0
- package/dist/esm/src/reducers/pages/index.d.ts.map +1 -0
- package/dist/esm/src/reducers/pages/index.js +196 -0
- package/dist/esm/src/reducers/pages/index.js.map +1 -0
- package/dist/esm/src/reducers/pages/initialState.d.ts +10 -0
- package/dist/esm/src/reducers/pages/initialState.d.ts.map +1 -0
- package/dist/esm/src/reducers/pages/initialState.js +3 -0
- package/dist/esm/src/reducers/pages/initialState.js.map +1 -0
- package/dist/esm/src/reducers/pages/initialState.native.d.ts +10 -0
- package/dist/esm/src/reducers/pages/initialState.native.d.ts.map +1 -0
- package/dist/esm/src/reducers/pages/initialState.native.js +21 -0
- package/dist/esm/src/reducers/pages/initialState.native.js.map +1 -0
- package/dist/esm/src/reducers/routes.d.ts +45 -0
- package/dist/esm/src/reducers/routes.d.ts.map +1 -0
- package/dist/esm/src/reducers/routes.js +150 -0
- package/dist/esm/src/reducers/routes.js.map +1 -0
- package/dist/esm/src/reducers/search.d.ts +13 -0
- package/dist/esm/src/reducers/search.d.ts.map +1 -0
- package/dist/esm/src/reducers/search.js +24 -0
- package/dist/esm/src/reducers/search.js.map +1 -0
- package/dist/esm/src/reducers/session.d.ts +45 -0
- package/dist/esm/src/reducers/session.d.ts.map +1 -0
- package/dist/esm/src/reducers/session.js +99 -0
- package/dist/esm/src/reducers/session.js.map +1 -0
- package/dist/esm/src/reducers/user.d.ts +58 -0
- package/dist/esm/src/reducers/user.d.ts.map +1 -0
- package/dist/esm/src/reducers/user.js +89 -0
- package/dist/esm/src/reducers/user.js.map +1 -0
- package/dist/esm/src/services/SessionManager.d.ts +3 -0
- package/dist/esm/src/services/SessionManager.d.ts.map +1 -0
- package/dist/esm/src/services/SessionManager.js +23 -0
- package/dist/esm/src/services/SessionManager.js.map +1 -0
- package/dist/esm/src/services/index.d.ts +2 -0
- package/dist/esm/src/services/index.d.ts.map +1 -0
- package/dist/esm/src/services/index.js +2 -0
- package/dist/esm/src/services/index.js.map +1 -0
- package/dist/types/bin/generate-google-fonts-cache.d.ts +2 -0
- package/dist/types/bin/generate-google-fonts-cache.d.ts.map +1 -0
- package/dist/types/bin/generate-icons-cache.d.ts +2 -0
- package/dist/types/bin/generate-icons-cache.d.ts.map +1 -0
- package/dist/types/main.d.ts +14 -0
- package/dist/types/main.d.ts.map +1 -0
- package/dist/types/src/actions/index.d.ts +2 -0
- package/dist/types/src/actions/index.d.ts.map +1 -0
- package/dist/types/src/actions/restApi.d.ts +38 -0
- package/dist/types/src/actions/restApi.d.ts.map +1 -0
- package/dist/types/src/adapters/evaluateCode/default.test.d.ts +2 -0
- package/dist/types/src/adapters/evaluateCode/default.test.d.ts.map +1 -0
- package/dist/types/src/adapters/evaluateCode/index.d.ts +2 -0
- package/dist/types/src/adapters/evaluateCode/index.d.ts.map +1 -0
- package/dist/types/src/adapters/evaluateCode/index.native.d.ts +2 -0
- package/dist/types/src/adapters/evaluateCode/index.native.d.ts.map +1 -0
- package/dist/types/src/adapters/evaluateCode/native.test.d.ts +2 -0
- package/dist/types/src/adapters/evaluateCode/native.test.d.ts.map +1 -0
- package/dist/types/src/adapters/getUserToken/index.d.ts +2 -0
- package/dist/types/src/adapters/getUserToken/index.d.ts.map +1 -0
- package/dist/types/src/adapters/getUserToken/index.native.d.ts +2 -0
- package/dist/types/src/adapters/getUserToken/index.native.d.ts.map +1 -0
- package/dist/types/src/classes/Collection.d.ts +33 -0
- package/dist/types/src/classes/Collection.d.ts.map +1 -0
- package/dist/types/src/classes/Form.d.ts +3 -0
- package/dist/types/src/classes/Form.d.ts.map +1 -0
- package/dist/types/src/classes/Model.d.ts +28 -0
- package/dist/types/src/classes/Model.d.ts.map +1 -0
- package/dist/types/src/classes/User.d.ts +20 -0
- package/dist/types/src/classes/User.d.ts.map +1 -0
- package/dist/types/src/classes/index.d.ts +4 -0
- package/dist/types/src/classes/index.d.ts.map +1 -0
- package/dist/types/src/components/EmptyComponent.d.ts +3 -0
- package/dist/types/src/components/EmptyComponent.d.ts.map +1 -0
- package/dist/types/src/components/SkipSSR.d.ts +8 -0
- package/dist/types/src/components/SkipSSR.d.ts.map +1 -0
- package/dist/types/src/components/Svg.d.ts +7 -0
- package/dist/types/src/components/Svg.d.ts.map +1 -0
- package/dist/types/src/components/hoc/index.d.ts +5 -0
- package/dist/types/src/components/hoc/index.d.ts.map +1 -0
- package/dist/types/src/components/hoc/withCollection.d.ts +10 -0
- package/dist/types/src/components/hoc/withCollection.d.ts.map +1 -0
- package/dist/types/src/components/hoc/withCollectionRecord.d.ts +10 -0
- package/dist/types/src/components/hoc/withCollectionRecord.d.ts.map +1 -0
- package/dist/types/src/components/hoc/withSettings.d.ts +21 -0
- package/dist/types/src/components/hoc/withSettings.d.ts.map +1 -0
- package/dist/types/src/components/hoc/withSettings.native.d.ts +18 -0
- package/dist/types/src/components/hoc/withSettings.native.d.ts.map +1 -0
- package/dist/types/src/components/hoc/withoutSSR.d.ts +2 -0
- package/dist/types/src/components/hoc/withoutSSR.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +4 -0
- package/dist/types/src/components/index.d.ts.map +1 -0
- package/dist/types/src/constants/googleFonts/index.d.ts +6 -0
- package/dist/types/src/constants/googleFonts/index.d.ts.map +1 -0
- package/dist/types/src/constants/iconInfo/directed-icons.d.ts +18 -0
- package/dist/types/src/constants/iconInfo/directed-icons.d.ts.map +1 -0
- package/dist/types/src/constants/iconInfo/index.d.ts +21 -0
- package/dist/types/src/constants/iconInfo/index.d.ts.map +1 -0
- package/dist/types/src/constants/iconInfo/reactNativeVectorIcons.d.ts +25 -0
- package/dist/types/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
- package/dist/types/src/constants/iconInfo/types.d.ts +45 -0
- package/dist/types/src/constants/iconInfo/types.d.ts.map +1 -0
- package/dist/types/src/constants/index.d.ts +14 -0
- package/dist/types/src/constants/index.d.ts.map +1 -0
- package/dist/types/src/constants/platformSpecific.d.ts +4 -0
- package/dist/types/src/constants/platformSpecific.d.ts.map +1 -0
- package/dist/types/src/constants/platformSpecific.native.d.ts +5 -0
- package/dist/types/src/constants/platformSpecific.native.d.ts.map +1 -0
- package/dist/types/src/contexts/ComponentContext.d.ts +11 -0
- package/dist/types/src/contexts/ComponentContext.d.ts.map +1 -0
- package/dist/types/src/contexts/DataContext.d.ts +5 -0
- package/dist/types/src/contexts/DataContext.d.ts.map +1 -0
- package/dist/types/src/contexts/EDLContext.d.ts +7 -0
- package/dist/types/src/contexts/EDLContext.d.ts.map +1 -0
- package/dist/types/src/contexts/LayoutContext.d.ts +12 -0
- package/dist/types/src/contexts/LayoutContext.d.ts.map +1 -0
- package/dist/types/src/contexts/PageContext.d.ts +8 -0
- package/dist/types/src/contexts/PageContext.d.ts.map +1 -0
- package/dist/types/src/contexts/ToolbarContext.d.ts +17 -0
- package/dist/types/src/contexts/ToolbarContext.d.ts.map +1 -0
- package/dist/types/src/contexts/index.d.ts +6 -0
- package/dist/types/src/contexts/index.d.ts.map +1 -0
- package/dist/types/src/data-sources/collection.d.ts +4 -0
- package/dist/types/src/data-sources/collection.d.ts.map +1 -0
- package/dist/types/src/data-sources/collectionRecord.d.ts +4 -0
- package/dist/types/src/data-sources/collectionRecord.d.ts.map +1 -0
- package/dist/types/src/data-sources/index.d.ts +3 -0
- package/dist/types/src/data-sources/index.d.ts.map +1 -0
- package/dist/types/src/data-sources/listUrl.d.ts +4 -0
- package/dist/types/src/data-sources/listUrl.d.ts.map +1 -0
- package/dist/types/src/data-sources/scopeDataSource.d.ts +4 -0
- package/dist/types/src/data-sources/scopeDataSource.d.ts.map +1 -0
- package/dist/types/src/data-sources/url.d.ts +4 -0
- package/dist/types/src/data-sources/url.d.ts.map +1 -0
- package/dist/types/src/edl/BlockRenderer.d.ts +9 -0
- package/dist/types/src/edl/BlockRenderer.d.ts.map +1 -0
- package/dist/types/src/edl/DataSourceLoader.d.ts +7 -0
- package/dist/types/src/edl/DataSourceLoader.d.ts.map +1 -0
- package/dist/types/src/edl/elements/DataSource.d.ts +8 -0
- package/dist/types/src/edl/elements/DataSource.d.ts.map +1 -0
- package/dist/types/src/edl/elements/Fragment.d.ts +9 -0
- package/dist/types/src/edl/elements/Fragment.d.ts.map +1 -0
- package/dist/types/src/edl/elements/UseEffect.d.ts +10 -0
- package/dist/types/src/edl/elements/UseEffect.d.ts.map +1 -0
- package/dist/types/src/edl/elements/index.d.ts +17 -0
- package/dist/types/src/edl/elements/index.d.ts.map +1 -0
- package/dist/types/src/edl/index.d.ts +58 -0
- package/dist/types/src/edl/index.d.ts.map +1 -0
- package/dist/types/src/edl/localStorage.app.d.ts +6 -0
- package/dist/types/src/edl/localStorage.app.d.ts.map +1 -0
- package/dist/types/src/edl/localStorage.d.ts +6 -0
- package/dist/types/src/edl/localStorage.d.ts.map +1 -0
- package/dist/types/src/edl/parser.d.ts +3 -0
- package/dist/types/src/edl/parser.d.ts.map +1 -0
- package/dist/types/src/edl/parser.test.d.ts +2 -0
- package/dist/types/src/edl/parser.test.d.ts.map +1 -0
- package/dist/types/src/helpers/analytics.d.ts +10 -0
- package/dist/types/src/helpers/analytics.d.ts.map +1 -0
- package/dist/types/src/helpers/axiosClient.d.ts +3 -0
- package/dist/types/src/helpers/axiosClient.d.ts.map +1 -0
- package/dist/types/src/helpers/base64.d.ts +3 -0
- package/dist/types/src/helpers/base64.d.ts.map +1 -0
- package/dist/types/src/helpers/base64.test.d.ts +2 -0
- package/dist/types/src/helpers/base64.test.d.ts.map +1 -0
- package/dist/types/src/helpers/commonStyles.d.ts +21 -0
- package/dist/types/src/helpers/commonStyles.d.ts.map +1 -0
- package/dist/types/src/helpers/functions.d.ts +14 -0
- package/dist/types/src/helpers/functions.d.ts.map +1 -0
- package/dist/types/src/helpers/handlebarHelpers.d.ts +2 -0
- package/dist/types/src/helpers/handlebarHelpers.d.ts.map +1 -0
- package/dist/types/src/helpers/handlebarHelpers.test.d.ts +2 -0
- package/dist/types/src/helpers/handlebarHelpers.test.d.ts.map +1 -0
- package/dist/types/src/helpers/i18nHelpers.d.ts +2 -0
- package/dist/types/src/helpers/i18nHelpers.d.ts.map +1 -0
- package/dist/types/src/helpers/i18nHelpers.native.d.ts +2 -0
- package/dist/types/src/helpers/i18nHelpers.native.d.ts.map +1 -0
- package/dist/types/src/helpers/i18ninstance.d.ts +3 -0
- package/dist/types/src/helpers/i18ninstance.d.ts.map +1 -0
- package/dist/types/src/helpers/iconHelper.d.ts +2 -0
- package/dist/types/src/helpers/iconHelper.d.ts.map +1 -0
- package/dist/types/src/helpers/index.d.ts +13 -0
- package/dist/types/src/helpers/index.d.ts.map +1 -0
- package/dist/types/src/helpers/pathHelper.d.ts +2 -0
- package/dist/types/src/helpers/pathHelper.d.ts.map +1 -0
- package/dist/types/src/helpers/pathhelper.test.d.ts +2 -0
- package/dist/types/src/helpers/pathhelper.test.d.ts.map +1 -0
- package/dist/types/src/helpers/remoteAction.d.ts +11 -0
- package/dist/types/src/helpers/remoteAction.d.ts.map +1 -0
- package/dist/types/src/helpers/themeHelpers.d.ts +241 -0
- package/dist/types/src/helpers/themeHelpers.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +26 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -0
- package/dist/types/src/hooks/useAction.d.ts +10 -0
- package/dist/types/src/hooks/useAction.d.ts.map +1 -0
- package/dist/types/src/hooks/useActionable.d.ts +37 -0
- package/dist/types/src/hooks/useActionable.d.ts.map +1 -0
- package/dist/types/src/hooks/useAuth.d.ts +9 -0
- package/dist/types/src/hooks/useAuth.d.ts.map +1 -0
- package/dist/types/src/hooks/useCollection.d.ts +3 -0
- package/dist/types/src/hooks/useCollection.d.ts.map +1 -0
- package/dist/types/src/hooks/useCollectionRecord.d.ts +2 -0
- package/dist/types/src/hooks/useCollectionRecord.d.ts.map +1 -0
- package/dist/types/src/hooks/useComponentConfigProps.d.ts +3 -0
- package/dist/types/src/hooks/useComponentConfigProps.d.ts.map +1 -0
- package/dist/types/src/hooks/useComponentData.d.ts +4 -0
- package/dist/types/src/hooks/useComponentData.d.ts.map +1 -0
- package/dist/types/src/hooks/useConfig.d.ts +2 -0
- package/dist/types/src/hooks/useConfig.d.ts.map +1 -0
- package/dist/types/src/hooks/useDataSource.d.ts +15 -0
- package/dist/types/src/hooks/useDataSource.d.ts.map +1 -0
- package/dist/types/src/hooks/useEditable.d.ts +3 -0
- package/dist/types/src/hooks/useEditable.d.ts.map +1 -0
- package/dist/types/src/hooks/useFocus.d.ts +6 -0
- package/dist/types/src/hooks/useFocus.d.ts.map +1 -0
- package/dist/types/src/hooks/useFonts.d.ts +9 -0
- package/dist/types/src/hooks/useFonts.d.ts.map +1 -0
- package/dist/types/src/hooks/useLayoutEditor.d.ts +11 -0
- package/dist/types/src/hooks/useLayoutEditor.d.ts.map +1 -0
- package/dist/types/src/hooks/useMenuItems.d.ts +3 -0
- package/dist/types/src/hooks/useMenuItems.d.ts.map +1 -0
- package/dist/types/src/hooks/useNavigator.app.d.ts +4 -0
- package/dist/types/src/hooks/useNavigator.app.d.ts.map +1 -0
- package/dist/types/src/hooks/useNavigator.d.ts +4 -0
- package/dist/types/src/hooks/useNavigator.d.ts.map +1 -0
- package/dist/types/src/hooks/useOnScrollAnimation.d.ts +4 -0
- package/dist/types/src/hooks/useOnScrollAnimation.d.ts.map +1 -0
- package/dist/types/src/hooks/usePage.d.ts +5 -0
- package/dist/types/src/hooks/usePage.d.ts.map +1 -0
- package/dist/types/src/hooks/useParams.app.d.ts +2 -0
- package/dist/types/src/hooks/useParams.app.d.ts.map +1 -0
- package/dist/types/src/hooks/useParams.d.ts +2 -0
- package/dist/types/src/hooks/useParams.d.ts.map +1 -0
- package/dist/types/src/hooks/usePastePlainText.d.ts +3 -0
- package/dist/types/src/hooks/usePastePlainText.d.ts.map +1 -0
- package/dist/types/src/hooks/useResponsive.d.ts +3 -0
- package/dist/types/src/hooks/useResponsive.d.ts.map +1 -0
- package/dist/types/src/hooks/useScope.d.ts +3 -0
- package/dist/types/src/hooks/useScope.d.ts.map +1 -0
- package/dist/types/src/hooks/useTemplate.d.ts +3 -0
- package/dist/types/src/hooks/useTemplate.d.ts.map +1 -0
- package/dist/types/src/hooks/useTheme.app.d.ts +2 -0
- package/dist/types/src/hooks/useTheme.app.d.ts.map +1 -0
- package/dist/types/src/hooks/useTheme.d.ts +5 -0
- package/dist/types/src/hooks/useTheme.d.ts.map +1 -0
- package/dist/types/src/hooks/useTranslation.d.ts +4 -0
- package/dist/types/src/hooks/useTranslation.d.ts.map +1 -0
- package/dist/types/src/hooks/useUrl.d.ts +2 -0
- package/dist/types/src/hooks/useUrl.d.ts.map +1 -0
- package/dist/types/src/middlewares/dataSourceMiddleware.d.ts +3 -0
- package/dist/types/src/middlewares/dataSourceMiddleware.d.ts.map +1 -0
- package/dist/types/src/middlewares/index.d.ts +5 -0
- package/dist/types/src/middlewares/index.d.ts.map +1 -0
- package/dist/types/src/middlewares/platformEventsMiddleware.d.ts +5 -0
- package/dist/types/src/middlewares/platformEventsMiddleware.d.ts.map +1 -0
- package/dist/types/src/middlewares/platformEventsMiddleware.native.d.ts +3 -0
- package/dist/types/src/middlewares/platformEventsMiddleware.native.d.ts.map +1 -0
- package/dist/types/src/middlewares/restApiMiddleware.d.ts +3 -0
- package/dist/types/src/middlewares/restApiMiddleware.d.ts.map +1 -0
- package/dist/types/src/middlewares/socketMiddleware.d.ts +5 -0
- package/dist/types/src/middlewares/socketMiddleware.d.ts.map +1 -0
- package/dist/types/src/providers/DataSource.d.ts +9 -0
- package/dist/types/src/providers/DataSource.d.ts.map +1 -0
- package/dist/types/src/providers/I18nProvider.d.ts +7 -0
- package/dist/types/src/providers/I18nProvider.d.ts.map +1 -0
- package/dist/types/src/providers/Scope.d.ts +13 -0
- package/dist/types/src/providers/Scope.d.ts.map +1 -0
- package/dist/types/src/providers/Scopes.d.ts +12 -0
- package/dist/types/src/providers/Scopes.d.ts.map +1 -0
- package/dist/types/src/providers/index.d.ts +5 -0
- package/dist/types/src/providers/index.d.ts.map +1 -0
- package/dist/types/src/reducers/addAdminMenuItem.d.ts +1 -0
- package/dist/types/src/reducers/addAdminMenuItem.d.ts.map +1 -0
- package/dist/types/src/reducers/adminMenus.d.ts +14 -0
- package/dist/types/src/reducers/adminMenus.d.ts.map +1 -0
- package/dist/types/src/reducers/collection.d.ts +122 -0
- package/dist/types/src/reducers/collection.d.ts.map +1 -0
- package/dist/types/src/reducers/components.d.ts +48 -0
- package/dist/types/src/reducers/components.d.ts.map +1 -0
- package/dist/types/src/reducers/config/index.d.ts +52 -0
- package/dist/types/src/reducers/config/index.d.ts.map +1 -0
- package/dist/types/src/reducers/config/initialState.d.ts +6 -0
- package/dist/types/src/reducers/config/initialState.d.ts.map +1 -0
- package/dist/types/src/reducers/config/initialState.native.d.ts +6 -0
- package/dist/types/src/reducers/config/initialState.native.d.ts.map +1 -0
- package/dist/types/src/reducers/context.d.ts +24 -0
- package/dist/types/src/reducers/context.d.ts.map +1 -0
- package/dist/types/src/reducers/dataSource.d.ts +36 -0
- package/dist/types/src/reducers/dataSource.d.ts.map +1 -0
- package/dist/types/src/reducers/files.d.ts +36 -0
- package/dist/types/src/reducers/files.d.ts.map +1 -0
- package/dist/types/src/reducers/fonts.d.ts +25 -0
- package/dist/types/src/reducers/fonts.d.ts.map +1 -0
- package/dist/types/src/reducers/icons.d.ts +14 -0
- package/dist/types/src/reducers/icons.d.ts.map +1 -0
- package/dist/types/src/reducers/index.d.ts +67 -0
- package/dist/types/src/reducers/index.d.ts.map +1 -0
- package/dist/types/src/reducers/modals.d.ts +30 -0
- package/dist/types/src/reducers/modals.d.ts.map +1 -0
- package/dist/types/src/reducers/notifications.d.ts +71 -0
- package/dist/types/src/reducers/notifications.d.ts.map +1 -0
- package/dist/types/src/reducers/pages/index.d.ts +6 -0
- package/dist/types/src/reducers/pages/index.d.ts.map +1 -0
- package/dist/types/src/reducers/pages/initialState.d.ts +10 -0
- package/dist/types/src/reducers/pages/initialState.d.ts.map +1 -0
- package/dist/types/src/reducers/pages/initialState.native.d.ts +10 -0
- package/dist/types/src/reducers/pages/initialState.native.d.ts.map +1 -0
- package/dist/types/src/reducers/routes.d.ts +45 -0
- package/dist/types/src/reducers/routes.d.ts.map +1 -0
- package/dist/types/src/reducers/search.d.ts +13 -0
- package/dist/types/src/reducers/search.d.ts.map +1 -0
- package/dist/types/src/reducers/session.d.ts +45 -0
- package/dist/types/src/reducers/session.d.ts.map +1 -0
- package/dist/types/src/reducers/user.d.ts +58 -0
- package/dist/types/src/reducers/user.d.ts.map +1 -0
- package/dist/types/src/services/SessionManager.d.ts +3 -0
- package/dist/types/src/services/SessionManager.d.ts.map +1 -0
- package/dist/types/src/services/index.d.ts +2 -0
- package/dist/types/src/services/index.d.ts.map +1 -0
- package/package.json +20 -5
- package/dist/bin/generate-google-fonts-cache.d.ts.map +0 -1
- package/dist/bin/generate-google-fonts-cache.js.map +0 -1
- package/dist/bin/generate-icons-cache.d.ts.map +0 -1
- package/dist/bin/generate-icons-cache.js +0 -48
- package/dist/bin/generate-icons-cache.js.map +0 -1
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js.map +0 -1
- package/dist/src/actions/index.d.ts.map +0 -1
- package/dist/src/actions/index.js.map +0 -1
- package/dist/src/actions/restApi.d.ts.map +0 -1
- package/dist/src/actions/restApi.js.map +0 -1
- package/dist/src/adapters/evaluateCode/default.test.d.ts.map +0 -1
- package/dist/src/adapters/evaluateCode/default.test.js.map +0 -1
- package/dist/src/adapters/evaluateCode/index.d.ts.map +0 -1
- package/dist/src/adapters/evaluateCode/index.js.map +0 -1
- package/dist/src/adapters/evaluateCode/index.native.d.ts.map +0 -1
- package/dist/src/adapters/evaluateCode/index.native.js.map +0 -1
- package/dist/src/adapters/evaluateCode/native.test.d.ts.map +0 -1
- package/dist/src/adapters/evaluateCode/native.test.js.map +0 -1
- package/dist/src/adapters/getUserToken/index.d.ts.map +0 -1
- package/dist/src/adapters/getUserToken/index.js.map +0 -1
- package/dist/src/adapters/getUserToken/index.native.d.ts.map +0 -1
- package/dist/src/adapters/getUserToken/index.native.js.map +0 -1
- package/dist/src/classes/Collection.d.ts.map +0 -1
- package/dist/src/classes/Collection.js.map +0 -1
- package/dist/src/classes/Form.d.ts.map +0 -1
- package/dist/src/classes/Form.js.map +0 -1
- package/dist/src/classes/Model.d.ts.map +0 -1
- package/dist/src/classes/Model.js.map +0 -1
- package/dist/src/classes/User.d.ts.map +0 -1
- package/dist/src/classes/User.js.map +0 -1
- package/dist/src/classes/index.d.ts.map +0 -1
- package/dist/src/classes/index.js.map +0 -1
- package/dist/src/components/EmptyComponent.d.ts.map +0 -1
- package/dist/src/components/EmptyComponent.js.map +0 -1
- package/dist/src/components/SkipSSR.d.ts.map +0 -1
- package/dist/src/components/SkipSSR.js.map +0 -1
- package/dist/src/components/Svg.d.ts.map +0 -1
- package/dist/src/components/Svg.js.map +0 -1
- package/dist/src/components/hoc/index.d.ts.map +0 -1
- package/dist/src/components/hoc/index.js.map +0 -1
- package/dist/src/components/hoc/withCollection.d.ts.map +0 -1
- package/dist/src/components/hoc/withCollection.js.map +0 -1
- package/dist/src/components/hoc/withCollectionRecord.d.ts.map +0 -1
- package/dist/src/components/hoc/withCollectionRecord.js.map +0 -1
- package/dist/src/components/hoc/withSettings.d.ts.map +0 -1
- package/dist/src/components/hoc/withSettings.js.map +0 -1
- package/dist/src/components/hoc/withSettings.native.d.ts.map +0 -1
- package/dist/src/components/hoc/withSettings.native.js.map +0 -1
- package/dist/src/components/hoc/withoutSSR.d.ts.map +0 -1
- package/dist/src/components/hoc/withoutSSR.js.map +0 -1
- package/dist/src/components/index.d.ts.map +0 -1
- package/dist/src/components/index.js.map +0 -1
- package/dist/src/constants/googleFonts/index.d.ts.map +0 -1
- package/dist/src/constants/googleFonts/index.js.map +0 -1
- package/dist/src/constants/iconInfo/directed-icons.d.ts.map +0 -1
- package/dist/src/constants/iconInfo/directed-icons.js.map +0 -1
- package/dist/src/constants/iconInfo/index.d.ts.map +0 -1
- package/dist/src/constants/iconInfo/index.js.map +0 -1
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +0 -1
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +0 -1
- package/dist/src/constants/iconInfo/types.d.ts.map +0 -1
- package/dist/src/constants/iconInfo/types.js.map +0 -1
- package/dist/src/constants/index.d.ts.map +0 -1
- package/dist/src/constants/index.js.map +0 -1
- package/dist/src/constants/platformSpecific.d.ts.map +0 -1
- package/dist/src/constants/platformSpecific.js.map +0 -1
- package/dist/src/constants/platformSpecific.native.d.ts.map +0 -1
- package/dist/src/constants/platformSpecific.native.js.map +0 -1
- package/dist/src/contexts/ComponentContext.d.ts.map +0 -1
- package/dist/src/contexts/ComponentContext.js.map +0 -1
- package/dist/src/contexts/DataContext.d.ts.map +0 -1
- package/dist/src/contexts/DataContext.js.map +0 -1
- package/dist/src/contexts/EDLContext.d.ts.map +0 -1
- package/dist/src/contexts/EDLContext.js.map +0 -1
- package/dist/src/contexts/LayoutContext.d.ts.map +0 -1
- package/dist/src/contexts/LayoutContext.js.map +0 -1
- package/dist/src/contexts/PageContext.d.ts.map +0 -1
- package/dist/src/contexts/PageContext.js.map +0 -1
- package/dist/src/contexts/ToolbarContext.d.ts.map +0 -1
- package/dist/src/contexts/ToolbarContext.js.map +0 -1
- package/dist/src/contexts/index.d.ts.map +0 -1
- package/dist/src/contexts/index.js.map +0 -1
- package/dist/src/data-sources/collection.d.ts.map +0 -1
- package/dist/src/data-sources/collection.js.map +0 -1
- package/dist/src/data-sources/collectionRecord.d.ts.map +0 -1
- package/dist/src/data-sources/collectionRecord.js.map +0 -1
- package/dist/src/data-sources/index.d.ts.map +0 -1
- package/dist/src/data-sources/index.js.map +0 -1
- package/dist/src/data-sources/listUrl.d.ts.map +0 -1
- package/dist/src/data-sources/listUrl.js.map +0 -1
- package/dist/src/data-sources/scopeDataSource.d.ts.map +0 -1
- package/dist/src/data-sources/scopeDataSource.js.map +0 -1
- package/dist/src/data-sources/url.d.ts.map +0 -1
- package/dist/src/data-sources/url.js.map +0 -1
- package/dist/src/edl/BlockRenderer.d.ts.map +0 -1
- package/dist/src/edl/BlockRenderer.js.map +0 -1
- package/dist/src/edl/DataSourceLoader.d.ts.map +0 -1
- package/dist/src/edl/DataSourceLoader.js.map +0 -1
- package/dist/src/edl/elements/DataSource.d.ts.map +0 -1
- package/dist/src/edl/elements/DataSource.js.map +0 -1
- package/dist/src/edl/elements/Fragment.d.ts.map +0 -1
- package/dist/src/edl/elements/Fragment.js.map +0 -1
- package/dist/src/edl/elements/UseEffect.d.ts.map +0 -1
- package/dist/src/edl/elements/UseEffect.js.map +0 -1
- package/dist/src/edl/elements/index.d.ts.map +0 -1
- package/dist/src/edl/elements/index.js.map +0 -1
- package/dist/src/edl/index.d.ts +0 -57
- package/dist/src/edl/index.d.ts.map +0 -1
- package/dist/src/edl/index.js +0 -155
- package/dist/src/edl/index.js.map +0 -1
- package/dist/src/edl/localStorage.app.d.ts.map +0 -1
- package/dist/src/edl/localStorage.app.js.map +0 -1
- package/dist/src/edl/localStorage.d.ts.map +0 -1
- package/dist/src/edl/localStorage.js.map +0 -1
- package/dist/src/edl/parser.d.ts.map +0 -1
- package/dist/src/edl/parser.js.map +0 -1
- package/dist/src/edl/parser.test.d.ts.map +0 -1
- package/dist/src/edl/parser.test.js.map +0 -1
- package/dist/src/helpers/analytics.d.ts.map +0 -1
- package/dist/src/helpers/analytics.js.map +0 -1
- package/dist/src/helpers/axiosClient.d.ts.map +0 -1
- package/dist/src/helpers/axiosClient.js.map +0 -1
- package/dist/src/helpers/base64.d.ts.map +0 -1
- package/dist/src/helpers/base64.js.map +0 -1
- package/dist/src/helpers/base64.test.d.ts.map +0 -1
- package/dist/src/helpers/base64.test.js.map +0 -1
- package/dist/src/helpers/commonStyles.d.ts.map +0 -1
- package/dist/src/helpers/commonStyles.js.map +0 -1
- package/dist/src/helpers/functions.d.ts.map +0 -1
- package/dist/src/helpers/functions.js.map +0 -1
- package/dist/src/helpers/handlebarHelpers.d.ts.map +0 -1
- package/dist/src/helpers/handlebarHelpers.js.map +0 -1
- package/dist/src/helpers/handlebarHelpers.test.d.ts.map +0 -1
- package/dist/src/helpers/handlebarHelpers.test.js.map +0 -1
- package/dist/src/helpers/i18nHelpers.d.ts.map +0 -1
- package/dist/src/helpers/i18nHelpers.js.map +0 -1
- package/dist/src/helpers/i18nHelpers.native.d.ts.map +0 -1
- package/dist/src/helpers/i18nHelpers.native.js.map +0 -1
- package/dist/src/helpers/i18ninstance.d.ts.map +0 -1
- package/dist/src/helpers/i18ninstance.js.map +0 -1
- package/dist/src/helpers/iconHelper.d.ts.map +0 -1
- package/dist/src/helpers/iconHelper.js.map +0 -1
- package/dist/src/helpers/index.d.ts.map +0 -1
- package/dist/src/helpers/index.js.map +0 -1
- package/dist/src/helpers/pathHelper.d.ts.map +0 -1
- package/dist/src/helpers/pathHelper.js.map +0 -1
- package/dist/src/helpers/pathhelper.test.d.ts.map +0 -1
- package/dist/src/helpers/pathhelper.test.js.map +0 -1
- package/dist/src/helpers/remoteAction.d.ts.map +0 -1
- package/dist/src/helpers/remoteAction.js.map +0 -1
- package/dist/src/helpers/themeHelpers.d.ts.map +0 -1
- package/dist/src/helpers/themeHelpers.js.map +0 -1
- package/dist/src/hooks/index.d.ts.map +0 -1
- package/dist/src/hooks/index.js.map +0 -1
- package/dist/src/hooks/useAction.d.ts.map +0 -1
- package/dist/src/hooks/useAction.js.map +0 -1
- package/dist/src/hooks/useActionable.d.ts.map +0 -1
- package/dist/src/hooks/useActionable.js.map +0 -1
- package/dist/src/hooks/useAuth.d.ts.map +0 -1
- package/dist/src/hooks/useAuth.js.map +0 -1
- package/dist/src/hooks/useCollection.d.ts.map +0 -1
- package/dist/src/hooks/useCollection.js.map +0 -1
- package/dist/src/hooks/useCollectionRecord.d.ts.map +0 -1
- package/dist/src/hooks/useCollectionRecord.js.map +0 -1
- package/dist/src/hooks/useComponentConfigProps.d.ts.map +0 -1
- package/dist/src/hooks/useComponentConfigProps.js.map +0 -1
- package/dist/src/hooks/useComponentData.d.ts.map +0 -1
- package/dist/src/hooks/useComponentData.js.map +0 -1
- package/dist/src/hooks/useConfig.d.ts.map +0 -1
- package/dist/src/hooks/useConfig.js.map +0 -1
- package/dist/src/hooks/useDataSource.d.ts.map +0 -1
- package/dist/src/hooks/useDataSource.js.map +0 -1
- package/dist/src/hooks/useEditable.d.ts.map +0 -1
- package/dist/src/hooks/useEditable.js.map +0 -1
- package/dist/src/hooks/useFocus.d.ts.map +0 -1
- package/dist/src/hooks/useFocus.js.map +0 -1
- package/dist/src/hooks/useFonts.d.ts.map +0 -1
- package/dist/src/hooks/useFonts.js.map +0 -1
- package/dist/src/hooks/useLayoutEditor.d.ts.map +0 -1
- package/dist/src/hooks/useLayoutEditor.js.map +0 -1
- package/dist/src/hooks/useMenuItems.d.ts.map +0 -1
- package/dist/src/hooks/useMenuItems.js.map +0 -1
- package/dist/src/hooks/useNavigator.app.d.ts.map +0 -1
- package/dist/src/hooks/useNavigator.app.js.map +0 -1
- package/dist/src/hooks/useNavigator.d.ts.map +0 -1
- package/dist/src/hooks/useNavigator.js.map +0 -1
- package/dist/src/hooks/useOnScrollAnimation.d.ts.map +0 -1
- package/dist/src/hooks/useOnScrollAnimation.js.map +0 -1
- package/dist/src/hooks/usePage.d.ts.map +0 -1
- package/dist/src/hooks/usePage.js.map +0 -1
- package/dist/src/hooks/useParams.app.d.ts.map +0 -1
- package/dist/src/hooks/useParams.app.js.map +0 -1
- package/dist/src/hooks/useParams.d.ts.map +0 -1
- package/dist/src/hooks/useParams.js.map +0 -1
- package/dist/src/hooks/usePastePlainText.d.ts.map +0 -1
- package/dist/src/hooks/usePastePlainText.js.map +0 -1
- package/dist/src/hooks/useResponsive.d.ts.map +0 -1
- package/dist/src/hooks/useResponsive.js.map +0 -1
- package/dist/src/hooks/useScope.d.ts.map +0 -1
- package/dist/src/hooks/useScope.js.map +0 -1
- package/dist/src/hooks/useTemplate.d.ts.map +0 -1
- package/dist/src/hooks/useTemplate.js.map +0 -1
- package/dist/src/hooks/useTheme.app.d.ts.map +0 -1
- package/dist/src/hooks/useTheme.app.js.map +0 -1
- package/dist/src/hooks/useTheme.d.ts.map +0 -1
- package/dist/src/hooks/useTheme.js.map +0 -1
- package/dist/src/hooks/useTranslation.d.ts.map +0 -1
- package/dist/src/hooks/useTranslation.js.map +0 -1
- package/dist/src/hooks/useUrl.d.ts.map +0 -1
- package/dist/src/hooks/useUrl.js.map +0 -1
- package/dist/src/middlewares/dataSourceMiddleware.d.ts.map +0 -1
- package/dist/src/middlewares/dataSourceMiddleware.js.map +0 -1
- package/dist/src/middlewares/index.d.ts.map +0 -1
- package/dist/src/middlewares/index.js.map +0 -1
- package/dist/src/middlewares/platformEventsMiddleware.d.ts.map +0 -1
- package/dist/src/middlewares/platformEventsMiddleware.js.map +0 -1
- package/dist/src/middlewares/platformEventsMiddleware.native.d.ts.map +0 -1
- package/dist/src/middlewares/platformEventsMiddleware.native.js.map +0 -1
- package/dist/src/middlewares/restApiMiddleware.d.ts.map +0 -1
- package/dist/src/middlewares/restApiMiddleware.js.map +0 -1
- package/dist/src/middlewares/socketMiddleware.d.ts.map +0 -1
- package/dist/src/middlewares/socketMiddleware.js.map +0 -1
- package/dist/src/providers/DataSource.d.ts.map +0 -1
- package/dist/src/providers/DataSource.js.map +0 -1
- package/dist/src/providers/I18nProvider.d.ts.map +0 -1
- package/dist/src/providers/I18nProvider.js.map +0 -1
- package/dist/src/providers/Scope.d.ts.map +0 -1
- package/dist/src/providers/Scope.js.map +0 -1
- package/dist/src/providers/Scopes.d.ts.map +0 -1
- package/dist/src/providers/Scopes.js.map +0 -1
- package/dist/src/providers/index.d.ts.map +0 -1
- package/dist/src/providers/index.js.map +0 -1
- package/dist/src/reducers/addAdminMenuItem.d.ts.map +0 -1
- package/dist/src/reducers/addAdminMenuItem.js.map +0 -1
- package/dist/src/reducers/adminMenus.d.ts.map +0 -1
- package/dist/src/reducers/adminMenus.js.map +0 -1
- package/dist/src/reducers/collection.d.ts.map +0 -1
- package/dist/src/reducers/collection.js.map +0 -1
- package/dist/src/reducers/components.d.ts.map +0 -1
- package/dist/src/reducers/components.js.map +0 -1
- package/dist/src/reducers/config/index.d.ts.map +0 -1
- package/dist/src/reducers/config/index.js.map +0 -1
- package/dist/src/reducers/config/initialState.d.ts.map +0 -1
- package/dist/src/reducers/config/initialState.js.map +0 -1
- package/dist/src/reducers/config/initialState.native.d.ts.map +0 -1
- package/dist/src/reducers/config/initialState.native.js.map +0 -1
- package/dist/src/reducers/context.d.ts.map +0 -1
- package/dist/src/reducers/context.js.map +0 -1
- package/dist/src/reducers/dataSource.d.ts.map +0 -1
- package/dist/src/reducers/dataSource.js.map +0 -1
- package/dist/src/reducers/files.d.ts.map +0 -1
- package/dist/src/reducers/files.js.map +0 -1
- package/dist/src/reducers/fonts.d.ts.map +0 -1
- package/dist/src/reducers/fonts.js.map +0 -1
- package/dist/src/reducers/icons.d.ts.map +0 -1
- package/dist/src/reducers/icons.js.map +0 -1
- package/dist/src/reducers/index.d.ts.map +0 -1
- package/dist/src/reducers/index.js.map +0 -1
- package/dist/src/reducers/modals.d.ts.map +0 -1
- package/dist/src/reducers/modals.js.map +0 -1
- package/dist/src/reducers/notifications.d.ts.map +0 -1
- package/dist/src/reducers/notifications.js.map +0 -1
- package/dist/src/reducers/pages/index.d.ts.map +0 -1
- package/dist/src/reducers/pages/index.js.map +0 -1
- package/dist/src/reducers/pages/initialState.d.ts.map +0 -1
- package/dist/src/reducers/pages/initialState.js.map +0 -1
- package/dist/src/reducers/pages/initialState.native.d.ts.map +0 -1
- package/dist/src/reducers/pages/initialState.native.js.map +0 -1
- package/dist/src/reducers/routes.d.ts.map +0 -1
- package/dist/src/reducers/routes.js.map +0 -1
- package/dist/src/reducers/search.d.ts.map +0 -1
- package/dist/src/reducers/search.js.map +0 -1
- package/dist/src/reducers/session.d.ts.map +0 -1
- package/dist/src/reducers/session.js.map +0 -1
- package/dist/src/reducers/user.d.ts.map +0 -1
- package/dist/src/reducers/user.js.map +0 -1
- package/dist/src/services/SessionManager.d.ts.map +0 -1
- package/dist/src/services/SessionManager.js.map +0 -1
- package/dist/src/services/index.d.ts.map +0 -1
- package/dist/src/services/index.js.map +0 -1
- /package/dist/{bin → cjs/bin}/generate-google-fonts-cache.d.ts +0 -0
- /package/dist/{bin → cjs/bin}/generate-google-fonts-cache.js +0 -0
- /package/dist/{bin → cjs/bin}/generate-icons-cache.d.ts +0 -0
- /package/dist/{main.d.ts → cjs/main.d.ts} +0 -0
- /package/dist/{main.js → cjs/main.js} +0 -0
- /package/dist/{src → cjs/src}/actions/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/actions/index.js +0 -0
- /package/dist/{src → cjs/src}/actions/restApi.d.ts +0 -0
- /package/dist/{src → cjs/src}/actions/restApi.js +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/default.test.d.ts +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/default.test.js +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/index.js +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/index.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/index.native.js +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/native.test.d.ts +0 -0
- /package/dist/{src → cjs/src}/adapters/evaluateCode/native.test.js +0 -0
- /package/dist/{src → cjs/src}/adapters/getUserToken/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/adapters/getUserToken/index.js +0 -0
- /package/dist/{src → cjs/src}/adapters/getUserToken/index.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/adapters/getUserToken/index.native.js +0 -0
- /package/dist/{src → cjs/src}/classes/Collection.d.ts +0 -0
- /package/dist/{src → cjs/src}/classes/Collection.js +0 -0
- /package/dist/{src → cjs/src}/classes/Form.d.ts +0 -0
- /package/dist/{src → cjs/src}/classes/Form.js +0 -0
- /package/dist/{src → cjs/src}/classes/Model.d.ts +0 -0
- /package/dist/{src → cjs/src}/classes/Model.js +0 -0
- /package/dist/{src → cjs/src}/classes/User.d.ts +0 -0
- /package/dist/{src → cjs/src}/classes/User.js +0 -0
- /package/dist/{src → cjs/src}/classes/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/classes/index.js +0 -0
- /package/dist/{src → cjs/src}/components/EmptyComponent.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/EmptyComponent.js +0 -0
- /package/dist/{src → cjs/src}/components/SkipSSR.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/SkipSSR.js +0 -0
- /package/dist/{src → cjs/src}/components/Svg.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/Svg.js +0 -0
- /package/dist/{src → cjs/src}/components/hoc/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/hoc/index.js +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withCollection.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withCollection.js +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withCollectionRecord.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withCollectionRecord.js +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withSettings.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withSettings.js +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withSettings.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withSettings.native.js +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withoutSSR.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/hoc/withoutSSR.js +0 -0
- /package/dist/{src → cjs/src}/components/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/components/index.js +0 -0
- /package/dist/{src → cjs/src}/constants/googleFonts/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/googleFonts/index.js +0 -0
- /package/dist/{src → cjs/src}/constants/googleFonts/variants.min.json +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/directed-icons.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/directed-icons.js +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/index.js +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/reactNativeVectorIcons.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/reactNativeVectorIcons.js +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/reactNativeVectorIcons.lookup.min.json +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/types.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/iconInfo/types.js +0 -0
- /package/dist/{src → cjs/src}/constants/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/index.js +0 -0
- /package/dist/{src → cjs/src}/constants/platformSpecific.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/platformSpecific.js +0 -0
- /package/dist/{src → cjs/src}/constants/platformSpecific.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/constants/platformSpecific.native.js +0 -0
- /package/dist/{src → cjs/src}/contexts/ComponentContext.d.ts +0 -0
- /package/dist/{src → cjs/src}/contexts/ComponentContext.js +0 -0
- /package/dist/{src → cjs/src}/contexts/DataContext.d.ts +0 -0
- /package/dist/{src → cjs/src}/contexts/DataContext.js +0 -0
- /package/dist/{src → cjs/src}/contexts/EDLContext.d.ts +0 -0
- /package/dist/{src → cjs/src}/contexts/EDLContext.js +0 -0
- /package/dist/{src → cjs/src}/contexts/LayoutContext.d.ts +0 -0
- /package/dist/{src → cjs/src}/contexts/LayoutContext.js +0 -0
- /package/dist/{src → cjs/src}/contexts/PageContext.d.ts +0 -0
- /package/dist/{src → cjs/src}/contexts/PageContext.js +0 -0
- /package/dist/{src → cjs/src}/contexts/ToolbarContext.d.ts +0 -0
- /package/dist/{src → cjs/src}/contexts/ToolbarContext.js +0 -0
- /package/dist/{src → cjs/src}/contexts/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/contexts/index.js +0 -0
- /package/dist/{src → cjs/src}/data-sources/collection.d.ts +0 -0
- /package/dist/{src → cjs/src}/data-sources/collection.js +0 -0
- /package/dist/{src → cjs/src}/data-sources/collectionRecord.d.ts +0 -0
- /package/dist/{src → cjs/src}/data-sources/collectionRecord.js +0 -0
- /package/dist/{src → cjs/src}/data-sources/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/data-sources/index.js +0 -0
- /package/dist/{src → cjs/src}/data-sources/listUrl.d.ts +0 -0
- /package/dist/{src → cjs/src}/data-sources/listUrl.js +0 -0
- /package/dist/{src → cjs/src}/data-sources/scopeDataSource.d.ts +0 -0
- /package/dist/{src → cjs/src}/data-sources/scopeDataSource.js +0 -0
- /package/dist/{src → cjs/src}/data-sources/url.d.ts +0 -0
- /package/dist/{src → cjs/src}/data-sources/url.js +0 -0
- /package/dist/{src → cjs/src}/edl/BlockRenderer.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/BlockRenderer.js +0 -0
- /package/dist/{src → cjs/src}/edl/DataSourceLoader.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/DataSourceLoader.js +0 -0
- /package/dist/{src → cjs/src}/edl/elements/DataSource.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/elements/DataSource.js +0 -0
- /package/dist/{src → cjs/src}/edl/elements/Fragment.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/elements/Fragment.js +0 -0
- /package/dist/{src → cjs/src}/edl/elements/UseEffect.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/elements/UseEffect.js +0 -0
- /package/dist/{src → cjs/src}/edl/elements/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/elements/index.js +0 -0
- /package/dist/{src → cjs/src}/edl/localStorage.app.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/localStorage.app.js +0 -0
- /package/dist/{src → cjs/src}/edl/localStorage.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/localStorage.js +0 -0
- /package/dist/{src → cjs/src}/edl/parser.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/parser.js +0 -0
- /package/dist/{src → cjs/src}/edl/parser.test.d.ts +0 -0
- /package/dist/{src → cjs/src}/edl/parser.test.js +0 -0
- /package/dist/{src → cjs/src}/helpers/analytics.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/analytics.js +0 -0
- /package/dist/{src → cjs/src}/helpers/axiosClient.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/axiosClient.js +0 -0
- /package/dist/{src → cjs/src}/helpers/base64.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/base64.js +0 -0
- /package/dist/{src → cjs/src}/helpers/base64.test.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/base64.test.js +0 -0
- /package/dist/{src → cjs/src}/helpers/commonStyles.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/commonStyles.js +0 -0
- /package/dist/{src → cjs/src}/helpers/functions.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/functions.js +0 -0
- /package/dist/{src → cjs/src}/helpers/handlebarHelpers.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/handlebarHelpers.js +0 -0
- /package/dist/{src → cjs/src}/helpers/handlebarHelpers.test.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/handlebarHelpers.test.js +0 -0
- /package/dist/{src → cjs/src}/helpers/i18nHelpers.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/i18nHelpers.js +0 -0
- /package/dist/{src → cjs/src}/helpers/i18nHelpers.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/i18nHelpers.native.js +0 -0
- /package/dist/{src → cjs/src}/helpers/i18ninstance.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/i18ninstance.js +0 -0
- /package/dist/{src → cjs/src}/helpers/iconHelper.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/iconHelper.js +0 -0
- /package/dist/{src → cjs/src}/helpers/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/index.js +0 -0
- /package/dist/{src → cjs/src}/helpers/pathHelper.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/pathHelper.js +0 -0
- /package/dist/{src → cjs/src}/helpers/pathhelper.test.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/pathhelper.test.js +0 -0
- /package/dist/{src → cjs/src}/helpers/remoteAction.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/remoteAction.js +0 -0
- /package/dist/{src → cjs/src}/helpers/themeHelpers.d.ts +0 -0
- /package/dist/{src → cjs/src}/helpers/themeHelpers.js +0 -0
- /package/dist/{src → cjs/src}/hooks/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/index.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useAction.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useAction.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useActionable.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useActionable.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useAuth.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useAuth.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useCollection.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useCollection.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useCollectionRecord.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useCollectionRecord.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useComponentConfigProps.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useComponentConfigProps.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useComponentData.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useComponentData.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useConfig.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useConfig.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useDataSource.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useDataSource.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useEditable.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useEditable.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useFocus.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useFocus.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useFonts.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useFonts.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useLayoutEditor.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useLayoutEditor.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useMenuItems.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useMenuItems.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useNavigator.app.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useNavigator.app.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useNavigator.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useNavigator.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useOnScrollAnimation.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useOnScrollAnimation.js +0 -0
- /package/dist/{src → cjs/src}/hooks/usePage.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/usePage.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useParams.app.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useParams.app.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useParams.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useParams.js +0 -0
- /package/dist/{src → cjs/src}/hooks/usePastePlainText.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/usePastePlainText.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useResponsive.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useResponsive.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useScope.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useScope.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useTemplate.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useTemplate.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useTheme.app.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useTheme.app.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useTheme.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useTheme.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useTranslation.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useTranslation.js +0 -0
- /package/dist/{src → cjs/src}/hooks/useUrl.d.ts +0 -0
- /package/dist/{src → cjs/src}/hooks/useUrl.js +0 -0
- /package/dist/{src → cjs/src}/middlewares/dataSourceMiddleware.d.ts +0 -0
- /package/dist/{src → cjs/src}/middlewares/dataSourceMiddleware.js +0 -0
- /package/dist/{src → cjs/src}/middlewares/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/middlewares/index.js +0 -0
- /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.d.ts +0 -0
- /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.js +0 -0
- /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/middlewares/platformEventsMiddleware.native.js +0 -0
- /package/dist/{src → cjs/src}/middlewares/restApiMiddleware.d.ts +0 -0
- /package/dist/{src → cjs/src}/middlewares/restApiMiddleware.js +0 -0
- /package/dist/{src → cjs/src}/middlewares/socketMiddleware.d.ts +0 -0
- /package/dist/{src → cjs/src}/middlewares/socketMiddleware.js +0 -0
- /package/dist/{src → cjs/src}/providers/DataSource.d.ts +0 -0
- /package/dist/{src → cjs/src}/providers/DataSource.js +0 -0
- /package/dist/{src → cjs/src}/providers/I18nProvider.d.ts +0 -0
- /package/dist/{src → cjs/src}/providers/I18nProvider.js +0 -0
- /package/dist/{src → cjs/src}/providers/Scope.d.ts +0 -0
- /package/dist/{src → cjs/src}/providers/Scope.js +0 -0
- /package/dist/{src → cjs/src}/providers/Scopes.d.ts +0 -0
- /package/dist/{src → cjs/src}/providers/Scopes.js +0 -0
- /package/dist/{src → cjs/src}/providers/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/providers/index.js +0 -0
- /package/dist/{src → cjs/src}/reducers/addAdminMenuItem.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/addAdminMenuItem.js +0 -0
- /package/dist/{src → cjs/src}/reducers/adminMenus.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/adminMenus.js +0 -0
- /package/dist/{src → cjs/src}/reducers/collection.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/collection.js +0 -0
- /package/dist/{src → cjs/src}/reducers/components.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/components.js +0 -0
- /package/dist/{src → cjs/src}/reducers/config/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/config/index.js +0 -0
- /package/dist/{src → cjs/src}/reducers/config/initialState.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/config/initialState.js +0 -0
- /package/dist/{src → cjs/src}/reducers/config/initialState.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/config/initialState.native.js +0 -0
- /package/dist/{src → cjs/src}/reducers/context.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/context.js +0 -0
- /package/dist/{src → cjs/src}/reducers/dataSource.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/dataSource.js +0 -0
- /package/dist/{src → cjs/src}/reducers/files.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/files.js +0 -0
- /package/dist/{src → cjs/src}/reducers/fonts.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/fonts.js +0 -0
- /package/dist/{src → cjs/src}/reducers/icons.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/icons.js +0 -0
- /package/dist/{src → cjs/src}/reducers/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/index.js +0 -0
- /package/dist/{src → cjs/src}/reducers/modals.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/modals.js +0 -0
- /package/dist/{src → cjs/src}/reducers/notifications.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/notifications.js +0 -0
- /package/dist/{src → cjs/src}/reducers/pages/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/pages/index.js +0 -0
- /package/dist/{src → cjs/src}/reducers/pages/initialState.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/pages/initialState.js +0 -0
- /package/dist/{src → cjs/src}/reducers/pages/initialState.native.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/pages/initialState.native.js +0 -0
- /package/dist/{src → cjs/src}/reducers/routes.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/routes.js +0 -0
- /package/dist/{src → cjs/src}/reducers/search.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/search.js +0 -0
- /package/dist/{src → cjs/src}/reducers/session.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/session.js +0 -0
- /package/dist/{src → cjs/src}/reducers/user.d.ts +0 -0
- /package/dist/{src → cjs/src}/reducers/user.js +0 -0
- /package/dist/{src → cjs/src}/services/SessionManager.d.ts +0 -0
- /package/dist/{src → cjs/src}/services/SessionManager.js +0 -0
- /package/dist/{src → cjs/src}/services/index.d.ts +0 -0
- /package/dist/{src → cjs/src}/services/index.js +0 -0
@@ -0,0 +1,79 @@
|
|
1
|
+
import { useCallback, useRef } from 'react';
|
2
|
+
import { useDispatch } from 'react-redux';
|
3
|
+
import { get, castArray, reduce } from 'lodash';
|
4
|
+
import { useNavigator } from "./useNavigator";
|
5
|
+
import { useScope } from "./useScope";
|
6
|
+
import useTemplate from './useTemplate';
|
7
|
+
export const useActionableWithNavigator = (navigator) => {
|
8
|
+
const dispatch = useDispatch();
|
9
|
+
const scopeRef = useRef();
|
10
|
+
const templateFunctionRef = useRef();
|
11
|
+
scopeRef.current = useScope();
|
12
|
+
templateFunctionRef.current = useTemplate();
|
13
|
+
const handleAction = useCallback((action, event) => {
|
14
|
+
let actionToUse = action;
|
15
|
+
// let scopeActionName = typeof actionToUse === 'string' ? actionToUse : get(actionToUse, 'bindKey');
|
16
|
+
while (typeof actionToUse === 'string' || (typeof actionToUse === 'object' && actionToUse.hasOwnProperty('bindKey'))) {
|
17
|
+
if (typeof actionToUse === 'string') {
|
18
|
+
actionToUse = get(scopeRef.current, actionToUse);
|
19
|
+
}
|
20
|
+
else {
|
21
|
+
const actionKey = actionToUse.bindKey;
|
22
|
+
const params = actionToUse.params;
|
23
|
+
const actionFromScopeAtSpecifiedPath = get(scopeRef.current, actionKey);
|
24
|
+
if (typeof actionFromScopeAtSpecifiedPath === 'function') {
|
25
|
+
const actionParams = params ? JSON.parse(templateFunctionRef.current(JSON.stringify(params))) : undefined;
|
26
|
+
actionToUse = () => actionFromScopeAtSpecifiedPath(actionParams);
|
27
|
+
}
|
28
|
+
else {
|
29
|
+
actionToUse = actionFromScopeAtSpecifiedPath;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
if (typeof actionToUse === 'function')
|
34
|
+
return actionToUse(event);
|
35
|
+
if (typeof actionToUse === 'object') {
|
36
|
+
const { link, navigate, replace, navigationAction, push, page, params, setParams, dispatch: _reduxAction, reduxAction = _reduxAction, route, callback } = actionToUse;
|
37
|
+
if (link)
|
38
|
+
return navigator.openURL(templateFunctionRef.current(link));
|
39
|
+
if (navigate)
|
40
|
+
return navigator.navigate(...castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(navigate)))));
|
41
|
+
if (replace)
|
42
|
+
return navigator.replace(...castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(replace)))));
|
43
|
+
if (push)
|
44
|
+
return navigator.push(...castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(push)))));
|
45
|
+
if (navigationAction)
|
46
|
+
return navigator.dispatch(JSON.parse(templateFunctionRef.current(JSON.stringify(navigationAction))));
|
47
|
+
if (setParams)
|
48
|
+
return navigator.setParams(JSON.parse(templateFunctionRef.current(JSON.stringify(setParams))));
|
49
|
+
if (page) {
|
50
|
+
const routeParams = params ? JSON.parse(templateFunctionRef.current(JSON.stringify(params))) : undefined;
|
51
|
+
return navigator.openPage(page, routeParams);
|
52
|
+
}
|
53
|
+
;
|
54
|
+
if (route)
|
55
|
+
return navigator.openRoute(templateFunctionRef.current(route));
|
56
|
+
if (reduxAction)
|
57
|
+
return dispatch(reduxAction);
|
58
|
+
if (callback)
|
59
|
+
return callback({ event, navigator, dispatch, scope: scopeRef.current });
|
60
|
+
}
|
61
|
+
}, [navigator, dispatch]);
|
62
|
+
const createActionHandeller = useCallback((action) => (event) => {
|
63
|
+
if (Array.isArray(action)) {
|
64
|
+
// run all actions in sequence, if any action returns a promise, wait for it to resolve before running the next action
|
65
|
+
return reduce(action, (promise, actionItem) => promise.then(() => handleAction(actionItem, event)), Promise.resolve());
|
66
|
+
}
|
67
|
+
return handleAction(action, event);
|
68
|
+
}, [handleAction]);
|
69
|
+
return createActionHandeller;
|
70
|
+
};
|
71
|
+
/**
|
72
|
+
* @description a function to map action into action handeller function
|
73
|
+
*/
|
74
|
+
export const useActionable = () => {
|
75
|
+
const navigator = useNavigator();
|
76
|
+
return useActionableWithNavigator(navigator);
|
77
|
+
};
|
78
|
+
export default useActionable;
|
79
|
+
//# sourceMappingURL=useActionable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useActionable.js","sourceRoot":"","sources":["../../../../src/hooks/useActionable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAW,MAAM,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,EAAS,MAAM,QAAQ,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,WAAW,MAAM,eAAe,CAAC;AAgCvC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,SAAc,EAAE,EAAE;IAC1D,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC;IAC1B,MAAM,mBAAmB,GAAG,MAAM,EAAY,CAAC;IAC/C,QAAQ,CAAC,OAAO,GAAG,QAAQ,EAAE,CAAC;IAC9B,mBAAmB,CAAC,OAAO,GAAG,WAAW,EAAE,CAAC;IAE5C,MAAM,YAAY,GAAI,WAAW,CAAC,CAAC,MAAc,EAAE,KAAU,EAAG,EAAE;QAC9D,IAAI,WAAW,GAAG,MAAM,CAAC;QACzB,qGAAqG;QAErG,OAAO,OAAO,WAAW,KAAK,QAAQ,IAAI,CAAC,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAAE;YAClH,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;gBACjC,WAAW,GAAG,GAAG,CAAC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;aACpD;iBAAM;gBACH,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,CAAA;gBACrC,MAAM,MAAM,GAAG,WAAW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CAAC,CAAC,CAAC;IAE1B,MAAM,qBAAqB,GAAG,WAAW,CAAC,CAAC,MAAyB,EAAE,EAAE,CAAC,CAAC,KAAU,EAAE,EAAE;QACpF,IAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACtB,sHAAsH;YACtH,OAAO,MAAM,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;SACzH;QACD,OAAO,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO,qBAAqB,CAAC;AAChC,CAAC,CAAA;AAED;;GAEG;AACJ,MAAM,CAAC,MAAM,aAAa,GAAG,GAAE,EAAE;IAC7B,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IAEjC,OAAO,0BAA0B,CAAC,SAAS,CAAC,CAAA;AAChD,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { User } from '../classes';
|
2
|
+
/**
|
3
|
+
* @type {hook}
|
4
|
+
* Get authentication, Includes logged in user details
|
5
|
+
*/
|
6
|
+
export declare const useAuth: () => User;
|
7
|
+
export declare const useUser: () => User;
|
8
|
+
export default useAuth;
|
9
|
+
//# sourceMappingURL=useAuth.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC;;;GAGG;AACH,eAAO,MAAM,OAAO,YAQnB,CAAC;AAEF,eAAO,MAAM,OAAO,YAAU,CAAC;AAE/B,eAAe,OAAO,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { useMemo, useCallback } from 'react';
|
2
|
+
import { useSelector, useDispatch } from 'react-redux';
|
3
|
+
import { User } from '../classes';
|
4
|
+
import { login as loginAction, logout as logoutAction } from '../reducers';
|
5
|
+
/**
|
6
|
+
* @type {hook}
|
7
|
+
* Get authentication, Includes logged in user details
|
8
|
+
*/
|
9
|
+
export const useAuth = () => {
|
10
|
+
const userData = useSelector(s => s.user);
|
11
|
+
const dispatch = useDispatch();
|
12
|
+
const login = useCallback(() => dispatch(loginAction()), [dispatch]);
|
13
|
+
const logout = useCallback(() => dispatch(logoutAction()), [dispatch]);
|
14
|
+
return useMemo(() => new User(userData, { login, logout }), [userData, login, logout]);
|
15
|
+
};
|
16
|
+
export const useUser = useAuth;
|
17
|
+
export default useAuth;
|
18
|
+
//# sourceMappingURL=useAuth.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useAuth.js","sourceRoot":"","sources":["../../../../src/hooks/useAuth.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1E;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,GAAE,EAAE;IACvB,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAA,EAAE,CAAA,CAAC,CAAC,IAAI,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,KAAK,GAAG,WAAW,CAAC,GAAE,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpE,MAAM,MAAM,GAAG,WAAW,CAAC,GAAE,EAAE,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEtE,OAAO,OAAO,CAAC,GAAE,EAAE,CAAA,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,MAAM,EAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAE;AACxF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC;AAE/B,eAAe,OAAO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useCollection.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCollection.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAS,MAAM,YAAY,CAAC;AAY/C,eAAO,MAAM,aAAa,mBAAqB,MAAM,kCAAyE,GAAG,eA2EhI,CAAC"}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import _ from 'lodash';
|
2
|
+
import { useCallback, useEffect, useMemo, useState } from 'react';
|
3
|
+
import { useDispatch, useSelector } from 'react-redux';
|
4
|
+
import { Collection, Model } from '../classes';
|
5
|
+
import { collectionLoadMore, getCollection, getModelForCollection } from '../reducers';
|
6
|
+
const defaultCollection = {
|
7
|
+
page: 0,
|
8
|
+
pageSize: 0,
|
9
|
+
totalPages: 0,
|
10
|
+
totalRecords: 0,
|
11
|
+
items: [],
|
12
|
+
cache: {},
|
13
|
+
};
|
14
|
+
export const useCollection = (collectionName, { ready: isReady = !!collectionName, key = `_${collectionName}`, sort } = {}) => {
|
15
|
+
const { isLoading, page, pageSize, totalPages, totalRecords, items } = useSelector((state) => _.get(state.collection, key, defaultCollection));
|
16
|
+
const [searchQuery, setSearchQuery] = useState('');
|
17
|
+
const [filterOptions, setFilterOptions] = useState({});
|
18
|
+
const dispatch = useDispatch();
|
19
|
+
const CollectionModel = useMemo(() => {
|
20
|
+
if (!collectionName)
|
21
|
+
return Model.forCollection('no-operations');
|
22
|
+
const model = dispatch(getModelForCollection(collectionName));
|
23
|
+
if (model)
|
24
|
+
return model;
|
25
|
+
return Model.forCollection(collectionName);
|
26
|
+
}, [collectionName]);
|
27
|
+
const load = useCallback(({ page = 1 } = {}) => {
|
28
|
+
if (!collectionName || !dispatch || !isReady)
|
29
|
+
return;
|
30
|
+
dispatch(getCollection(collectionName, { key, page, sort, search: searchQuery }, filterOptions));
|
31
|
+
}, [dispatch, isReady, collectionName, searchQuery, filterOptions]);
|
32
|
+
const loadMore = useCallback(() => {
|
33
|
+
if (!collectionName || !isReady || !dispatch)
|
34
|
+
return;
|
35
|
+
dispatch(collectionLoadMore(collectionName, { key, page: page + 1, sort, search: searchQuery }));
|
36
|
+
}, [page, dispatch, collectionName, isReady]);
|
37
|
+
const next = useCallback(() => {
|
38
|
+
load({ page: page + 1 });
|
39
|
+
}, [load, page]);
|
40
|
+
const previous = useCallback(() => {
|
41
|
+
load({ page: page - 1 });
|
42
|
+
}, [load, page]);
|
43
|
+
const debounceSetSearch = useCallback(_.debounce(setSearchQuery, 150), [setSearchQuery]);
|
44
|
+
const search = useCallback((e) => {
|
45
|
+
if (typeof e === 'string')
|
46
|
+
debounceSetSearch(e);
|
47
|
+
else if (e instanceof Object)
|
48
|
+
debounceSetSearch(e.target.value);
|
49
|
+
}, [debounceSetSearch]);
|
50
|
+
const filterCollection = useCallback(_.debounce(setFilterOptions, 150), []);
|
51
|
+
const loadFirstPage = useCallback(() => {
|
52
|
+
load();
|
53
|
+
}, [load, searchQuery, filterOptions]);
|
54
|
+
useEffect(() => {
|
55
|
+
if (isReady) {
|
56
|
+
loadFirstPage();
|
57
|
+
}
|
58
|
+
}, [isReady, collectionName]);
|
59
|
+
const hasMore = page < totalPages;
|
60
|
+
const hasNext = hasMore;
|
61
|
+
const hasPrevious = page > 1;
|
62
|
+
const itemInstances = useMemo(() => items.map((i) => new CollectionModel(i)), [items, CollectionModel]);
|
63
|
+
return useMemo(() => {
|
64
|
+
return new Collection(itemInstances, {
|
65
|
+
page,
|
66
|
+
pageSize,
|
67
|
+
totalPages,
|
68
|
+
totalRecords,
|
69
|
+
load,
|
70
|
+
isLoading,
|
71
|
+
hasMore,
|
72
|
+
hasNext,
|
73
|
+
hasPrevious,
|
74
|
+
loadMore,
|
75
|
+
next,
|
76
|
+
previous,
|
77
|
+
search,
|
78
|
+
searchQuery,
|
79
|
+
filter: filterCollection,
|
80
|
+
});
|
81
|
+
}, [itemInstances, page, pageSize, totalPages, totalRecords, load, isLoading, hasMore, hasNext, hasPrevious, loadMore, next, previous, search, searchQuery]);
|
82
|
+
};
|
83
|
+
//# sourceMappingURL=useCollection.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useCollection.js","sourceRoot":"","sources":["../../../../src/hooks/useCollection.tsx"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEvF,MAAM,iBAAiB,GAAG;IACtB,IAAI,EAAE,CAAC;IACP,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,CAAC;IACb,YAAY,EAAE,CAAC;IACf,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAE,cAAsB,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,CAAC,CAAC,cAAc,EAAE,GAAG,GAAC,IAAI,cAAc,EAAE,EAAE,IAAI,KAAU,EAAE,EAAE,EAAE;IACtI,MAAM,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M,mBAAmB,mBAAqB,MAAM,MAAM,MAAM,QAyBtE,CAAC"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { useMemo, useCallback, useEffect } from 'react';
|
2
|
+
import { useDispatch, useSelector } from 'react-redux';
|
3
|
+
import { get } from 'lodash';
|
4
|
+
import { getModelForCollection, collectionGetRecord } from '../reducers';
|
5
|
+
import { Model } from '../classes';
|
6
|
+
const defaultValue = { isLoading: true };
|
7
|
+
export const useCollectionRecord = (collectionName, id) => {
|
8
|
+
const dispatch = useDispatch();
|
9
|
+
const key = `_${collectionName}`;
|
10
|
+
const CollectionModel = useMemo(() => {
|
11
|
+
if (!collectionName)
|
12
|
+
return;
|
13
|
+
const model = dispatch(getModelForCollection(collectionName));
|
14
|
+
if (model)
|
15
|
+
return model;
|
16
|
+
return Model.forCollection(collectionName);
|
17
|
+
}, [collectionName]);
|
18
|
+
const record = useSelector((state) => get(state.collection, [key, 'cache', id], defaultValue));
|
19
|
+
const load = useCallback(() => {
|
20
|
+
if (!id)
|
21
|
+
return;
|
22
|
+
return dispatch(collectionGetRecord(collectionName, id))
|
23
|
+
.then((r) => r.response);
|
24
|
+
}, [dispatch, collectionName, id]);
|
25
|
+
useEffect(() => {
|
26
|
+
load();
|
27
|
+
}, [load]);
|
28
|
+
return useMemo(() => new CollectionModel(record), [record]);
|
29
|
+
};
|
30
|
+
//# sourceMappingURL=useCollectionRecord.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useCollectionRecord.js","sourceRoot":"","sources":["../../../../src/hooks/useCollectionRecord.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAG,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CA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AC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9D,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useComponentConfigProps.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComponentConfigProps.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,uCAUnC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { useMemo } from 'react';
|
2
|
+
import _ from 'lodash';
|
3
|
+
import { useComponentData } from "./useComponentData";
|
4
|
+
export const useComponentConfigProps = (config_name, props) => {
|
5
|
+
const { data } = useComponentData();
|
6
|
+
const componentConfig = _.get(data, config_name, {});
|
7
|
+
return useMemo(() => Object.keys(componentConfig).reduce((config, key) => {
|
8
|
+
if (componentConfig[key] !== null) {
|
9
|
+
config[key] = componentConfig[key];
|
10
|
+
}
|
11
|
+
return config;
|
12
|
+
}, props ? { ...props } : {}), [componentConfig, props]);
|
13
|
+
};
|
14
|
+
export default useComponentConfigProps;
|
15
|
+
//# sourceMappingURL=useComponentConfigProps.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useComponentConfigProps.js","sourceRoot":"","sources":["../../../../src/hooks/useComponentConfigProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,WAAW,EAAE,KAAK,EAAC,EAAE;IAEzD,MAAM,EAAC,IAAI,EAAC,GAAG,gBAAgB,EAAE,CAAC;IAClC,MAAM,eAAe,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,CAAC,CAAC;IACrD,OAAO,OAAO,CAAC,GAAE,EAAE,CAAA,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,EAAC,EAAE;QAClE,IAAG,eAAe,CAAC,GAAG,CAAC,KAAK,IAAI,EAAC;YAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;SACtC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC,EAAE,KAAK,CAAA,CAAC,CAAC,EAAC,GAAG,KAAK,EAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC;AAC1D,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useComponentData.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComponentData.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;;CAE5B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useComponentData.js","sourceRoot":"","sources":["../../../../src/hooks/useComponentData.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAE,EAAE;IAChC,OAAO,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACxC,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useConfig.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useConfig.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,gBAAiB,MAAM,QAE5C,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useConfig.js","sourceRoot":"","sources":["../../../../src/hooks/useConfig.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,UAAmB,EAAC,EAAE;IAC5C,OAAO,WAAW,CAAC,CAAC,CAA8B,EAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;AACxH,CAAC,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Collection } from '../classes';
|
2
|
+
declare type DataSourceName = 'static' | 'collection' | 'url' | 'scope' | any;
|
3
|
+
interface DataSourceOptions {
|
4
|
+
type?: DataSourceName;
|
5
|
+
memoize?: boolean;
|
6
|
+
params?: string;
|
7
|
+
transformer?: string;
|
8
|
+
data?: Object;
|
9
|
+
isReady?: boolean;
|
10
|
+
[key: string]: any;
|
11
|
+
}
|
12
|
+
declare type Data = Collection | Object;
|
13
|
+
export declare const useDataSource: (source: string | DataSourceOptions, options?: DataSourceOptions) => Data;
|
14
|
+
export {};
|
15
|
+
//# sourceMappingURL=useDataSource.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useDataSource.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDataSource.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,aAAK,cAAc,GAAG,QAAQ,GAAG,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,GAAG,CAAC;AACtE,UAAU,iBAAiB;IACvB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAE;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,CAAC,GAAG,EAAC,MAAM,GAAG,GAAG,CAAC;CACrB;AAED,aAAK,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;AAIhC,eAAO,MAAM,aAAa,WAAa,MAAM,GAAG,iBAAiB,YAAa,iBAAiB,KAAI,IAsIlG,CAAC"}
|
@@ -0,0 +1,136 @@
|
|
1
|
+
import { assign, defaults, get, map, omit, reduce, sortedUniq } from 'lodash';
|
2
|
+
import { useCallback, useEffect, useMemo } from 'react';
|
3
|
+
import { useDispatch, useSelector } from 'react-redux';
|
4
|
+
import { Collection } from '../classes';
|
5
|
+
import { DATA_SOURCE_LOAD_DATA, DATA_SOURCE_LOAD_MORE_DATA, DATA_SOURCE_LOAD_NEXT_PAGE_DATA, DATA_SOURCE_LOAD_PREVIOUS_PAGE_DATA } from '../reducers';
|
6
|
+
import { useScope } from './useScope';
|
7
|
+
import useTemplate from './useTemplate';
|
8
|
+
const defaultDatasourceOptions = { memoize: true, isReady: true };
|
9
|
+
export const useDataSource = (source, options) => {
|
10
|
+
const dispatch = useDispatch();
|
11
|
+
const template = useTemplate();
|
12
|
+
const scope = useScope();
|
13
|
+
const { dataSourceName, options: _dataSourceOptions } = useMemo(() => {
|
14
|
+
if (typeof source === 'object') {
|
15
|
+
return { dataSourceName: source.type, options: defaults(omit(source, ['type']), defaultDatasourceOptions) };
|
16
|
+
}
|
17
|
+
else {
|
18
|
+
return { dataSourceName: source, options: defaults(options, defaultDatasourceOptions) };
|
19
|
+
}
|
20
|
+
}, [source, options]);
|
21
|
+
const dataSource = useSelector(state => state.dataSource.dataSources[dataSourceName]);
|
22
|
+
// prepare datasource options by filling values from scope using template
|
23
|
+
const dataSourceOptions = useMemo(() => {
|
24
|
+
const paramNames = sortedUniq(map(get(dataSource, 'configurationOptions'), 'name'));
|
25
|
+
const templatedValues = reduce(paramNames, (acc, paramName) => {
|
26
|
+
let paramValue = null;
|
27
|
+
let paramValueTemplate = _dataSourceOptions[`${paramName}Template`];
|
28
|
+
if (paramValueTemplate) {
|
29
|
+
if (typeof paramValueTemplate == 'string') {
|
30
|
+
paramValue = template(paramValueTemplate);
|
31
|
+
}
|
32
|
+
else {
|
33
|
+
paramValueTemplate = JSON.stringify(paramValueTemplate);
|
34
|
+
try {
|
35
|
+
paramValue = JSON.parse(template(paramValueTemplate));
|
36
|
+
}
|
37
|
+
catch (e) { }
|
38
|
+
}
|
39
|
+
}
|
40
|
+
else {
|
41
|
+
paramValue = template(_dataSourceOptions[paramName]);
|
42
|
+
}
|
43
|
+
if (paramValue && _dataSourceOptions[`${paramName}ParseJson`]) {
|
44
|
+
try {
|
45
|
+
paramValue = JSON.parse(paramValue);
|
46
|
+
}
|
47
|
+
catch (e) { }
|
48
|
+
}
|
49
|
+
return { ...acc, [paramName]: paramValue };
|
50
|
+
}, {});
|
51
|
+
return defaults(templatedValues, _dataSourceOptions);
|
52
|
+
}, [scope, template, dataSourceName, dataSource, _dataSourceOptions]);
|
53
|
+
const { memoize, isReady } = dataSourceOptions;
|
54
|
+
const key = dataSource && dataSource.keyExtractor(dataSourceOptions, { scope, dispatch });
|
55
|
+
const currentValue = useSelector(state => state.dataSource.data[key]);
|
56
|
+
const loadData = useCallback((params) => {
|
57
|
+
return dispatch({
|
58
|
+
type: DATA_SOURCE_LOAD_DATA,
|
59
|
+
datasourceName: dataSourceName,
|
60
|
+
key,
|
61
|
+
options: assign({}, dataSourceOptions, params),
|
62
|
+
scope,
|
63
|
+
});
|
64
|
+
}, [scope, dispatch, dataSourceOptions, key]);
|
65
|
+
const search = useCallback((condition, searchQuery) => {
|
66
|
+
return loadData({ searchQuery, condition });
|
67
|
+
}, [loadData]);
|
68
|
+
const loadMore = useCallback(() => {
|
69
|
+
return dispatch({
|
70
|
+
type: DATA_SOURCE_LOAD_MORE_DATA,
|
71
|
+
datasourceName: dataSourceName,
|
72
|
+
key,
|
73
|
+
options: dataSourceOptions,
|
74
|
+
scope,
|
75
|
+
});
|
76
|
+
}, [dataSourceName, dataSourceOptions, scope, key]);
|
77
|
+
const next = useCallback(() => {
|
78
|
+
return dispatch({
|
79
|
+
type: DATA_SOURCE_LOAD_NEXT_PAGE_DATA,
|
80
|
+
datasourceName: dataSourceName,
|
81
|
+
key,
|
82
|
+
options: dataSourceOptions,
|
83
|
+
scope,
|
84
|
+
});
|
85
|
+
}, [dataSourceName, dataSourceOptions, scope, key]);
|
86
|
+
const previous = useCallback(() => {
|
87
|
+
return dispatch({
|
88
|
+
type: DATA_SOURCE_LOAD_PREVIOUS_PAGE_DATA,
|
89
|
+
datasourceName: dataSourceName,
|
90
|
+
key,
|
91
|
+
options: dataSourceOptions,
|
92
|
+
scope,
|
93
|
+
});
|
94
|
+
}, [loadData, dataSourceOptions, scope, key]);
|
95
|
+
useEffect(() => {
|
96
|
+
if (dataSourceName === 'scope' || dataSourceName === 'static' || !isReady)
|
97
|
+
return;
|
98
|
+
if (!currentValue || !memoize) {
|
99
|
+
loadData();
|
100
|
+
}
|
101
|
+
}, [dataSourceName, key, memoize, isReady]);
|
102
|
+
const value = useMemo(() => {
|
103
|
+
if (dataSourceName === 'scope' || dataSourceName === 'static')
|
104
|
+
return;
|
105
|
+
if (get(dataSource, 'type') === 'Array') {
|
106
|
+
let items = get(currentValue, 'items');
|
107
|
+
items = Array.isArray(items) ? items : [];
|
108
|
+
return new Collection(items, {
|
109
|
+
page: get(currentValue, 'page', 0),
|
110
|
+
pageSize: get(currentValue, 'pageSize', 20),
|
111
|
+
isLoading: !currentValue || get(currentValue, 'isLoading', false),
|
112
|
+
isRefreshing: get(currentValue, 'isRefreshing', false),
|
113
|
+
hasMore: get(currentValue, 'hasMore', false),
|
114
|
+
queryString: get(currentValue, 'queryString', ''),
|
115
|
+
totalPages: get(currentValue, 'totalPages', 0),
|
116
|
+
totalRecords: get(currentValue, 'totalRecords', 0),
|
117
|
+
meta: get(currentValue, 'meta', {}),
|
118
|
+
refresh: loadData,
|
119
|
+
search,
|
120
|
+
loadMore,
|
121
|
+
next,
|
122
|
+
previous,
|
123
|
+
});
|
124
|
+
}
|
125
|
+
return currentValue || { isLoading: true };
|
126
|
+
}, [dataSourceName, currentValue, dataSource]);
|
127
|
+
switch (dataSourceName) {
|
128
|
+
case 'static':
|
129
|
+
return dataSourceOptions.data;
|
130
|
+
case 'scope':
|
131
|
+
return get(scope, dataSourceOptions.path);
|
132
|
+
default:
|
133
|
+
return value;
|
134
|
+
}
|
135
|
+
};
|
136
|
+
//# sourceMappingURL=useDataSource.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useDataSource.js","sourceRoot":"","sources":["../../../../src/hooks/useDataSource.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAS,QAAQ,EAAE,GAAG,EAAQ,GAAG,EAAE,IAAI,EAAQ,MAAM,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACjG,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,mCAAmC,EAAe,MAAM,aAAa,CAAC;AACnK,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,WAAW,MAAM,eAAe,CAAC;AAexC,MAAM,wBAAwB,GAAgC,EAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAA;AAE5F,MAAM,CAAC,MAAM,aAAa,GAAG,CAAE,MAAkC,EAAG,OAA2B,EAAQ,EAAE;IACrG,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,MAAM,EAAC,cAAc,EAAE,OAAO,EAAE,kBAAkB,EAAC,GAAG,OAA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EAAE,CAAC;IAC/C,CAAC,EAAE,CAAC,cAAc,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC;IAE/C,QAAO,cAAc,EAAC;QAClB,KAAK,QAAQ;YACT,OAAO,iBAAiB,CAAC,IAAI,CAAC;QAClC,KAAK,OAAO;YACR,OAAO,GAAG,CAAC,KAAK,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAC9C;YACI,OAAO,KAAK,CAAC;KACpB;AACL,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useEditable.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useEditable.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,eAIvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useEditable.js","sourceRoot":"","sources":["../../../../src/hooks/useEditable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAE,EAAE;IAC3B,MAAM,EAAC,SAAS,EAAC,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAE5C,OAAO,SAAS,CAAC;AACrB,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFocus.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFocus.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;CAiBpB,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { useState, useCallback } from 'react';
|
2
|
+
import _ from 'lodash';
|
3
|
+
export const useFocus = () => {
|
4
|
+
const [focused, setFocused] = useState(false);
|
5
|
+
const changeFocus = useCallback(_.debounce((focus) => {
|
6
|
+
setFocused(focus);
|
7
|
+
}, 150), [setFocused]);
|
8
|
+
const onBlur = useCallback(() => {
|
9
|
+
changeFocus(false);
|
10
|
+
// if(event) event.stopImmediatePropagation();
|
11
|
+
}, [changeFocus]);
|
12
|
+
const onFocus = useCallback(() => {
|
13
|
+
changeFocus(true);
|
14
|
+
// if(event) event.stopPropagation();
|
15
|
+
}, [changeFocus]);
|
16
|
+
return { focused, onBlur, onFocus };
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=useFocus.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFocus.js","sourceRoot":"","sources":["../../../../src/hooks/useFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAE,EAAE;IACxB,MAAM,CAAC,OAAO,EAAG,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;QACjD,UAAU,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEvB,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE;QAC5B,WAAW,CAAC,KAAK,CAAC,CAAC;QACnB,8CAA8C;IAClD,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAC7B,WAAW,CAAC,IAAI,CAAC,CAAC;QAClB,qCAAqC;IACzC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,OAAO,EAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAC,CAAC;AACtC,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFonts.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFonts.tsx"],"names":[],"mappings":"AACA;;GAEG;AACH,eAAO,MAAM,QAAQ,YAAS,CAAC;AAG/B;;GAEG;AACH,eAAO,MAAM,OAAO,qBAAa,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFonts.js","sourceRoot":"","sources":["../../../../src/hooks/useFonts.tsx"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAE,EAAE,GAAC,CAAC,CAAC;AAG/B;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAI,EAAC,EAAE,GAAC,CAAC,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare const useLayoutEditor: ({ uuid, index, type, blocks, newLayoutDirections, newLayoutType, acceptDirections }: {
|
2
|
+
uuid: any;
|
3
|
+
index: any;
|
4
|
+
type: any;
|
5
|
+
blocks?: any[];
|
6
|
+
newLayoutDirections?: any[];
|
7
|
+
newLayoutType: any;
|
8
|
+
acceptDirections?: any[];
|
9
|
+
}) => any;
|
10
|
+
export default useLayoutEditor;
|
11
|
+
//# sourceMappingURL=useLayoutEditor.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useLayoutEditor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useLayoutEditor.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;SA+E3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|