[DE mobile] Сomponents moved to controller and view folder

This commit is contained in:
JuliaSvinareva 2020-11-18 16:40:09 +03:00
parent 5912bc3e1f
commit 663e373ccf
23 changed files with 28 additions and 28 deletions

View file

@ -1,9 +1,9 @@
import React, {Component} from 'react';
import { f7 } from 'framework7-react';
import {Device} from '../../../../../../common/mobile/utils/device';
import {Device} from '../../../../../common/mobile/utils/device';
import {observer, inject} from "mobx-react";
import { EditChart } from '../EditChart'
import { EditChart } from '../../view/edit/EditChart'
class EditChartController extends Component {
constructor (props) {

View file

@ -1,6 +1,6 @@
import React, {Component} from 'react';
import EditHeader from '../EditHeader';
import EditHeader from '../../view/edit/EditHeader';
class EditHeaderController extends Component {
constructor (props) {

View file

@ -1,10 +1,10 @@
import React, {Component} from 'react';
import { f7 } from 'framework7-react';
import {Device} from '../../../../../../common/mobile/utils/device';
import {Device} from '../../../../../common/mobile/utils/device';
import {observer, inject} from "mobx-react";
import { withTranslation } from 'react-i18next';
import EditHyperlink from '../EditHyperlink';
import EditHyperlink from '../../view/edit/EditHyperlink';
class EditHyperlinkController extends Component {
constructor (props) {

View file

@ -1,9 +1,9 @@
import React, {Component} from 'react';
import { f7 } from 'framework7-react';
import {Device} from '../../../../../../common/mobile/utils/device';
import {Device} from '../../../../../common/mobile/utils/device';
import {observer, inject} from "mobx-react";
import { EditImage } from '../EditImage'
import { EditImage } from '../../view/edit/EditImage'
class EditImageController extends Component {
constructor (props) {

View file

@ -1,5 +1,5 @@
import React, {Component} from 'react';
import { EditParagraph } from '../EditParagraph'
import { EditParagraph } from '../../view/edit/EditParagraph'
class EditParagraphController extends Component {
constructor (props) {

View file

@ -1,9 +1,9 @@
import React, {Component} from 'react';
import { f7 } from 'framework7-react';
import {Device} from '../../../../../../common/mobile/utils/device';
import {Device} from '../../../../../common/mobile/utils/device';
import {observer, inject} from "mobx-react";
import { EditShape } from '../EditShape'
import { EditShape } from '../../view/edit/EditShape'
class EditShapeController extends Component {
constructor (props) {

View file

@ -1,9 +1,9 @@
import React, {Component} from 'react';
import { f7 } from 'framework7-react';
import {Device} from '../../../../../../common/mobile/utils/device';
import {Device} from '../../../../../common/mobile/utils/device';
import {observer, inject} from "mobx-react";
import { EditTable } from '../EditTable';
import { EditTable } from '../../view/edit/EditTable';
class EditTableController extends Component {
constructor (props) {

View file

@ -1,5 +1,5 @@
import React, {Component} from 'react';
import { EditText } from '../EditText'
import { EditText } from '../../view/edit/EditText'
class EditTextController extends Component {
constructor(props) {

View file

@ -1,6 +1,6 @@
import React, {Component} from 'react';
import {DocumentSettings} from '../document-settings/DocumentSettings';
import {DocumentSettings} from '../../view/settings/DocumentSettings';
class DocumentSettingsController extends Component {

View file

@ -20,7 +20,7 @@ import '../css/icons.css';
import '../css/app.less';
// Import App Component
import App from '../components/app.jsx';
import App from '../view/app';
import { I18nextProvider } from 'react-i18next';
import i18n from './i18n';

View file

@ -1,8 +1,8 @@
import React, { Component } from 'react';
import { Page, View, Navbar, NavLeft, NavRight, Link, Icon } from 'framework7-react';
import EditOptions from '../components/edit/Edit.jsx';
import Settings from '../components/settings/Settings.jsx';
import EditOptions from '../view/edit/Edit';
import Settings from '../view/settings/Settings';
import CollaborationView from '../../../../common/mobile/lib/view/Collaboration.jsx'
export default class Home extends Component {

View file

@ -5,14 +5,14 @@ import { f7 } from 'framework7-react';
import { useTranslation } from 'react-i18next';
import {Device} from '../../../../../common/mobile/utils/device';
import EditTextController from "./controller/EditText";
import EditParagraphController from "./controller/EditParagraph";
import EditShapeController from "./controller/EditShape";
import EditImageController from "./controller/EditImage";
import EditTableController from "./controller/EditTable";
import EditChartController from "./controller/EditChart";
import EditHyperlinkController from "./controller/EditHyperlink";
import EditHeaderController from "./controller/EditHeader";
import EditTextController from "../../controller/edit/EditText";
import EditParagraphController from "../../controller/edit/EditParagraph";
import EditShapeController from "../../controller/edit/EditShape";
import EditImageController from "../../controller/edit/EditImage";
import EditTableController from "../../controller/edit/EditTable";
import EditChartController from "../../controller/edit/EditChart";
import EditHyperlinkController from "../../controller/edit/EditHyperlink";
import EditHeaderController from "../../controller/edit/EditHeader";
import {PageAdditionalFormatting, PageBullets, PageFonts, PageLineSpacing, PageNumbers} from "./EditText";
import {PageAdvancedSettings} from "./EditParagraph";

View file

@ -2,10 +2,10 @@ import React, {Component, useEffect} from 'react';
import {View,Page,Navbar,NavRight,Link,Popup,Popover,Icon,ListItem,List} from 'framework7-react';
import { withTranslation } from 'react-i18next';
import {f7} from 'framework7-react';
import {Device} from '../../../../../common/mobile/utils/device'
import {Device} from '../../../../../common/mobile/utils/device';
import DocumentSettingsController from "../settings/controller/DocumentSettings";
import { DocumentFormats, DocumentMargins } from "../settings/document-settings/DocumentSettings";
import DocumentSettingsController from "../../controller/settings/DocumentSettings";
import { DocumentFormats, DocumentMargins } from "./DocumentSettings";
const routes = [
{