Merge branch 'feature/appm-publisher' into 'master'

Change the file structure of APPM Publisher

Closes product-iots#480

See merge request entgra/carbon-device-mgt!503
reporting
Dharmakeerthi Lasantha 5 years ago
commit a278b6993a

@ -22,7 +22,7 @@ import RouteWithSubRoutes from './components/RouteWithSubRoutes';
import { BrowserRouter as Router, Redirect, Switch } from 'react-router-dom'; import { BrowserRouter as Router, Redirect, Switch } from 'react-router-dom';
import axios from 'axios'; import axios from 'axios';
import { Layout, Spin, Result } from 'antd'; import { Layout, Spin, Result } from 'antd';
import ConfigContext from './context/ConfigContext'; import ConfigContext from './components/ConfigContext';
const { Content } = Layout; const { Content } = Layout;
const loadingView = ( const loadingView = (

@ -18,21 +18,21 @@
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import * as serviceWorker from './serviceWorker'; import * as serviceWorker from './services/serviceWorkers/serviceWorker';
import App from './App'; import App from './App';
import Login from './pages/Login'; import Login from './scenes/Login';
import Dashboard from './pages/dashboard/Dashboard'; import Dashboard from './scenes/Home';
import Apps from './pages/dashboard/apps/Apps'; import Apps from './scenes/Home/scenes/Apps';
import Release from './pages/dashboard/apps/release/Release'; import Release from './scenes/Home/scenes/Apps/scenes/Release';
import AddNewEnterpriseApp from './pages/dashboard/add-new-app/AddNewEnterpriseApp'; import AddNewEnterpriseApp from './scenes/Home/scenes/AddNewApp/scenes/Enterprise';
import Mange from './pages/dashboard/manage/Manage'; import Mange from './scenes/Home/scenes/Manage';
import './index.css'; import './index.css';
import AddNewPublicApp from './pages/dashboard/add-new-app/AddNewPublicApp'; import AddNewPublicApp from './scenes/Home/scenes/AddNewApp/scenes/Public';
import AddNewWebClip from './pages/dashboard/add-new-app/AddNewWebClip'; import AddNewWebClip from './scenes/Home/scenes/AddNewApp/scenes/WebClip';
import AddNewRelease from './pages/dashboard/add-new-release/AddNewRelease'; import AddNewRelease from './scenes/Home/scenes/AddNewRelease';
import AddNewCustomApp from './pages/dashboard/add-new-app/AddNewCustomApp'; import AddNewCustomApp from './scenes/Home/scenes/AddNewApp/scenes/Custom';
import ManageAndroidEnterprise from './pages/dashboard/manage/android-enterprise/ManageAndroidEnterprise'; import ManageAndroidEnterprise from './scenes/Home/scenes/Manage/scenes/AndroidEnterprise';
import Page from './pages/dashboard/manage/android-enterprise/page/Page'; import Page from './scenes/Home/scenes/Manage/scenes/AndroidEnterprise/scenes/Page';
const routes = [ const routes = [
{ {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,7 +19,7 @@
import React from 'react'; import React from 'react';
import { notification, Menu, Icon } from 'antd'; import { notification, Menu, Icon } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../components/ConfigContext';
/* /*
This class for call the logout api by sending request This class for call the logout api by sending request

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -21,9 +21,9 @@ import { Layout, Menu, Icon, Drawer, Button } from 'antd';
import { Switch, Link } from 'react-router-dom'; import { Switch, Link } from 'react-router-dom';
import RouteWithSubRoutes from '../../components/RouteWithSubRoutes'; import RouteWithSubRoutes from '../../components/RouteWithSubRoutes';
import { Redirect } from 'react-router'; import { Redirect } from 'react-router';
import './Dashboard.css'; import './styles.css';
import { withConfigContext } from '../../context/ConfigContext'; import { withConfigContext } from '../../components/ConfigContext';
import Logout from './logout/Logout'; import Logout from './components/Logout';
const { Header, Content, Footer } = Layout; const { Header, Content, Footer } = Layout;
const { SubMenu } = Menu; const { SubMenu } = Menu;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,8 +19,8 @@
import React from 'react'; import React from 'react';
import { Alert, Button, Col, Form, Input, Row, Select, Spin } from 'antd'; import { Alert, Button, Col, Form, Input, Row, Select, Spin } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
import { handleApiError } from '../../../js/Utils'; import { handleApiError } from '../../../../../../../../services/utils/errorHandler';
import debounce from 'lodash.debounce'; import debounce from 'lodash.debounce';
const formItemLayout = { const formItemLayout = {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -20,10 +20,10 @@ import React from 'react';
import { Card, Button, Steps, Row, Col, Form, Result, Spin } from 'antd'; import { Card, Button, Steps, Row, Col, Form, Result, Spin } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withRouter } from 'react-router-dom'; import { withRouter } from 'react-router-dom';
import NewAppDetailsForm from './subForms/NewAppDetailsForm'; import NewAppDetailsForm from './components/NewAppDetailsForm';
import NewAppUploadForm from './subForms/NewAppUploadForm'; import NewAppUploadForm from './components/NewAppUploadForm';
import { withConfigContext } from '../../context/ConfigContext'; import { withConfigContext } from '../../../../../../components/ConfigContext';
import { handleApiError } from '../../js/Utils'; import { handleApiError } from '../../../../../../services/utils/errorHandler';
const { Step } = Steps; const { Step } = Steps;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,7 +18,7 @@
import React from 'react'; import React from 'react';
import { PageHeader, Typography, Breadcrumb, Icon } from 'antd'; import { PageHeader, Typography, Breadcrumb, Icon } from 'antd';
import AddNewAppForm from '../../../components/new-app/AddNewAppForm'; import AddNewAppForm from '../../components/AddNewAppForm';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
const { Paragraph } = Typography; const { Paragraph } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,7 +18,7 @@
import React from 'react'; import React from 'react';
import { PageHeader, Typography, Breadcrumb, Icon } from 'antd'; import { PageHeader, Typography, Breadcrumb, Icon } from 'antd';
import AddNewAppForm from '../../../components/new-app/AddNewAppForm'; import AddNewAppForm from '../../components/AddNewAppForm';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
const { Paragraph } = Typography; const { Paragraph } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,7 +18,7 @@
import React from 'react'; import React from 'react';
import { Icon, PageHeader, Typography, Breadcrumb } from 'antd'; import { Icon, PageHeader, Typography, Breadcrumb } from 'antd';
import AddNewAppForm from '../../../components/new-app/AddNewAppForm'; import AddNewAppForm from '../../components/AddNewAppForm';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
const { Paragraph } = Typography; const { Paragraph } = Typography;
@ -38,7 +38,7 @@ const formConfig = {
}, },
}; };
class AddNewEnterpriseApp extends React.Component { class AddNewPublicApp extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {
@ -79,4 +79,4 @@ class AddNewEnterpriseApp extends React.Component {
} }
} }
export default AddNewEnterpriseApp; export default AddNewPublicApp;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,7 +18,7 @@
import React from 'react'; import React from 'react';
import { Icon, PageHeader, Typography, Breadcrumb } from 'antd'; import { Icon, PageHeader, Typography, Breadcrumb } from 'antd';
import AddNewAppForm from '../../../components/new-app/AddNewAppForm'; import AddNewAppForm from '../../components/AddNewAppForm';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
const { Paragraph } = Typography; const { Paragraph } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -20,9 +20,9 @@ import React from 'react';
import { Form, notification, Spin, Card, Row, Col } from 'antd'; import { Form, notification, Spin, Card, Row, Col } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withRouter } from 'react-router-dom'; import { withRouter } from 'react-router-dom';
import { withConfigContext } from '../../context/ConfigContext'; import { withConfigContext } from '../../../../../../components/ConfigContext';
import { handleApiError } from '../../js/Utils'; import { handleApiError } from '../../../../../../services/utils/errorHandler';
import NewAppUploadForm from '../new-app/subForms/NewAppUploadForm'; import NewAppUploadForm from '../../../AddNewApp/components/AddNewAppForm/components/NewAppUploadForm';
const formConfig = { const formConfig = {
specificElements: { specificElements: {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,7 +18,7 @@
import React from 'react'; import React from 'react';
import { Icon, PageHeader, Typography, Breadcrumb } from 'antd'; import { Icon, PageHeader, Typography, Breadcrumb } from 'antd';
import AddNewReleaseForm from '../../../components/new-release/AddReleaseForm'; import AddNewReleaseForm from './components/AddNewReleaseForm';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
const Paragraph = Typography; const Paragraph = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,8 +19,8 @@
import React from 'react'; import React from 'react';
import { Button, Modal, notification, Spin } from 'antd'; import { Button, Modal, notification, Spin } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../../components/ConfigContext';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../../../../../../services/utils/errorHandler';
class ManagedConfigurationsIframe extends React.Component { class ManagedConfigurationsIframe extends React.Component {
constructor(props) { constructor(props) {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -34,16 +34,16 @@ import {
Badge, Badge,
Tooltip, Tooltip,
} from 'antd'; } from 'antd';
import DetailedRating from '../../detailed-rating/DetailedRating'; import DetailedRating from '../../../../DetailedRating';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import axios from 'axios'; import axios from 'axios';
import ReactQuill from 'react-quill'; import ReactQuill from 'react-quill';
import ReactHtmlParser from 'react-html-parser'; import ReactHtmlParser from 'react-html-parser';
import './AppDetailsDrawer.css'; import './styles.css';
import pSBC from 'shade-blend-color'; import pSBC from 'shade-blend-color';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../components/ConfigContext';
import ManagedConfigurationsIframe from '../../../manage/android-enterprise/ManagedConfigurationsIframe/ManagedConfigurationsIframe'; import ManagedConfigurationsIframe from './components/ManagedConfigurationsIframe';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../../../../services/utils/errorHandler';
const { Meta } = Card; const { Meta } = Card;
const { Text, Title } = Typography; const { Text, Title } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -20,10 +20,10 @@ import React from 'react';
import { Avatar, Table, Tag, Icon, Badge, Alert, Tooltip } from 'antd'; import { Avatar, Table, Tag, Icon, Badge, Alert, Tooltip } from 'antd';
import axios from 'axios'; import axios from 'axios';
import pSBC from 'shade-blend-color'; import pSBC from 'shade-blend-color';
import './AppsTable.css'; import './styles.css';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
import AppDetailsDrawer from '../AppDetailsDrawer/AppDetailsDrawer'; import AppDetailsDrawer from './AppDetailsDrawer';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../../../services/utils/errorHandler';
let config = null; let config = null;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -29,8 +29,8 @@ import {
Alert, Alert,
} from 'antd'; } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
import { handleApiError } from '../../../js/Utils'; import { handleApiError } from '../../../../../../../../services/utils/errorHandler';
const { Option } = Select; const { Option } = Select;
const { Title } = Typography; const { Title } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,13 +18,13 @@
import React from 'react'; import React from 'react';
import { Card, Col, Row, Typography, Input, Divider } from 'antd'; import { Card, Col, Row, Typography, Input, Divider } from 'antd';
import AppsTable from './appsTable/AppsTable'; import AppsTable from './components/ApssTable';
import Filters from './Filters'; import Filters from './components/Filters';
const { Title } = Typography; const { Title } = Typography;
const Search = Input.Search; const Search = Input.Search;
class ListApps extends React.Component { class Apps extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {
@ -99,4 +99,4 @@ class ListApps extends React.Component {
} }
} }
export default ListApps; export default Apps;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,10 +19,10 @@
import React from 'react'; import React from 'react';
import { Row, Typography, Icon } from 'antd'; import { Row, Typography, Icon } from 'antd';
import StarRatings from 'react-star-ratings'; import StarRatings from 'react-star-ratings';
import './DetailedRating.css'; import './styles.css';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../components/ConfigContext';
import { handleApiError } from '../../../js/Utils'; import { handleApiError } from '../../../../../../services/utils/errorHandler';
const { Text } = Typography; const { Text } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -17,7 +17,7 @@
*/ */
import React from 'react'; import React from 'react';
import ListApps from '../../../components/apps/list-apps/ListApps'; import AppList from './components/AppList';
class Apps extends React.Component { class Apps extends React.Component {
routes; routes;
@ -30,7 +30,7 @@ class Apps extends React.Component {
return ( return (
<div> <div>
<div style={{ background: '#f0f2f5', padding: 24, minHeight: 780 }}> <div style={{ background: '#f0f2f5', padding: 24, minHeight: 780 }}>
<ListApps /> <AppList />
</div> </div>
</div> </div>
); );

@ -19,7 +19,7 @@
import React from 'react'; import React from 'react';
import { Modal, Button, Tag, List, Typography } from 'antd'; import { Modal, Button, Tag, List, Typography } from 'antd';
import pSBC from 'shade-blend-color'; import pSBC from 'shade-blend-color';
import { withConfigContext } from '../../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../components/ConfigContext';
const { Text } = Typography; const { Text } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -29,10 +29,10 @@ import {
import axios from 'axios'; import axios from 'axios';
import ReactQuill from 'react-quill'; import ReactQuill from 'react-quill';
import 'react-quill/dist/quill.snow.css'; import 'react-quill/dist/quill.snow.css';
import './LifeCycle.css'; import './styles.css';
import LifeCycleDetailsModal from './lifeCycleDetailsModal/lifeCycleDetailsModal'; import LifeCycleDetailsModal from './components/lifeCycleDetailsModal';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../../../services/utils/errorHandler';
const { Text, Title, Paragraph } = Typography; const { Text, Title, Paragraph } = Typography;
const { Option } = Select; const { Option } = Select;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -35,7 +35,7 @@ import {
} from 'antd'; } from 'antd';
import axios from 'axios'; import axios from 'axios';
import '@babel/polyfill'; import '@babel/polyfill';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../components/ConfigContext';
const { TextArea } = Input; const { TextArea } = Input;
const InputGroup = Input.Group; const InputGroup = Input.Group;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,13 +18,13 @@
import React from 'react'; import React from 'react';
import { List, Spin, Button, Alert } from 'antd'; import { List, Spin, Button, Alert } from 'antd';
import './Reviews.css'; import './styles.css';
import InfiniteScroll from 'react-infinite-scroller'; import InfiniteScroll from 'react-infinite-scroller';
import SingleReview from './SingleReview'; import SingleReview from './components/Review';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../components/ConfigContext';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../../../../../services/utils/errorHandler';
const limit = 5; const limit = 5;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,11 +19,11 @@
import React from 'react'; import React from 'react';
import { Divider, Row, Col, Typography, Button, Icon, Tooltip } from 'antd'; import { Divider, Row, Col, Typography, Button, Icon, Tooltip } from 'antd';
import StarRatings from 'react-star-ratings'; import StarRatings from 'react-star-ratings';
import Reviews from './review/Reviews'; import Reviews from './components/Reviews';
import '../../../App.css'; import '../../../../../../../../App.css';
import DetailedRating from '../detailed-rating/DetailedRating'; import DetailedRating from '../../../../components/DetailedRating';
import EditRelease from './edit-release/EditRelease'; import EditRelease from './components/EditRelease';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
const { Title, Text, Paragraph } = Typography; const { Title, Text, Paragraph } = Typography;

@ -17,13 +17,13 @@
*/ */
import React from 'react'; import React from 'react';
import '../../../../App.css'; import '../../../../../../App.css';
import { Typography, Row, Col, Card, Skeleton } from 'antd'; import { Typography, Row, Col, Card, Skeleton } from 'antd';
import axios from 'axios'; import axios from 'axios';
import ReleaseView from '../../../../components/apps/release/ReleaseView'; import ReleaseView from './components/ReleaseView';
import LifeCycle from '../../../../components/apps/release/lifeCycle/LifeCycle'; import LifeCycle from './components/LifeCycle';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../components/ConfigContext';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../services/utils/errorHandler';
const { Title } = Typography; const { Title } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -38,8 +38,8 @@ import {
import axios from 'axios'; import axios from 'axios';
import { TweenOneGroup } from 'rc-tween-one'; import { TweenOneGroup } from 'rc-tween-one';
import pSBC from 'shade-blend-color'; import pSBC from 'shade-blend-color';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../components/ConfigContext';
import { handleApiError } from '../../../js/Utils'; import { handleApiError } from '../../../../../../services/utils/errorHandler';
const { Title } = Typography; const { Title } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -37,8 +37,8 @@ import {
} from 'antd'; } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { TweenOneGroup } from 'rc-tween-one'; import { TweenOneGroup } from 'rc-tween-one';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../components/ConfigContext';
import { handleApiError } from '../../../js/Utils'; import { handleApiError } from '../../../../../../services/utils/errorHandler';
const { Title } = Typography; const { Title } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,8 +18,8 @@
import React from 'react'; import React from 'react';
import { PageHeader, Typography, Breadcrumb, Row, Col, Icon } from 'antd'; import { PageHeader, Typography, Breadcrumb, Row, Col, Icon } from 'antd';
import ManageCategories from '../../../components/manage/categories/ManageCategories'; import ManageCategories from './components/Categories';
import ManageTags from '../../../components/manage/categories/ManageTags'; import ManageTags from './components/Tags';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
const { Paragraph } = Typography; const { Paragraph } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,7 +18,7 @@
import React from 'react'; import React from 'react';
import { Modal, Button } from 'antd'; import { Modal, Button } from 'antd';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
class GooglePlayIframe extends React.Component { class GooglePlayIframe extends React.Component {
constructor(props) { constructor(props) {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,9 +19,9 @@
import React from 'react'; import React from 'react';
import { Button, Divider, Input, Modal, notification, Spin } from 'antd'; import { Button, Divider, Input, Modal, notification, Spin } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../components/ConfigContext';
import { withRouter } from 'react-router'; import { withRouter } from 'react-router';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../../../../../services/utils/errorHandler';
class AddNewPage extends React.Component { class AddNewPage extends React.Component {
state = { state = {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -29,11 +29,11 @@ import {
Button, Button,
} from 'antd'; } from 'antd';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
import './Pages.css'; import './styles.css';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import AddNewPage from '../AddNewPage/AddNewPage'; import AddNewPage from './components/AddNewPage';
import { handleApiError } from '../../../../js/Utils'; import { handleApiError } from '../../../../../../../../services/utils/errorHandler';
const { Text, Title } = Typography; const { Text, Title } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,8 +19,8 @@
import React from 'react'; import React from 'react';
import { Button, notification } from 'antd'; import { Button, notification } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
import { handleApiError } from '../../../js/Utils'; import { handleApiError } from '../../../../../../../../services/utils/errorHandler';
class SyncAndroidApps extends React.Component { class SyncAndroidApps extends React.Component {
constructor(props) { constructor(props) {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -19,10 +19,10 @@
import React from 'react'; import React from 'react';
import { PageHeader, Breadcrumb, Divider, Icon } from 'antd'; import { PageHeader, Breadcrumb, Divider, Icon } from 'antd';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import SyncAndroidApps from '../../../../components/manage/android-enterprise/SyncAndroidApps'; import SyncAndroidApps from './components/SyncAndroidApps';
import { withConfigContext } from '../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../components/ConfigContext';
import GooglePlayIframe from '../../../../components/manage/android-enterprise/GooglePlayIframe'; import GooglePlayIframe from './components/GooglePlayIframe';
import Pages from '../../../../components/manage/android-enterprise/Pages/Pages'; import Pages from './components/Pages';
class ManageAndroidEnterprise extends React.Component { class ManageAndroidEnterprise extends React.Component {
routes; routes;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -18,8 +18,8 @@
import React from 'react'; import React from 'react';
import { Modal, Icon, Table, Avatar } from 'antd'; import { Modal, Icon, Table, Avatar } from 'antd';
import '../Cluster.css'; import '../../styles.css';
import { withConfigContext } from '../../../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../../../components/ConfigContext';
const columns = [ const columns = [
{ {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -31,11 +31,11 @@ import {
Typography, Typography,
} from 'antd'; } from 'antd';
import './Cluster.css'; import './styles.css';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../components/ConfigContext';
import AddAppsToClusterModal from './AddAppsToClusterModal/AddAppsToClusterModal'; import AddAppsToClusterModal from './components/AddAppsToClusterModal';
import { handleApiError } from '../../../../../js/Utils'; import { handleApiError } from '../../../../../../../../../../services/utils/errorHandler';
const { Title } = Typography; const { Title } = Typography;

@ -19,8 +19,8 @@
import React from 'react'; import React from 'react';
import { Button, Modal, notification, Select, Spin } from 'antd'; import { Button, Modal, notification, Select, Spin } from 'antd';
import axios from 'axios'; import axios from 'axios';
import { withConfigContext } from '../../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../../../components/ConfigContext';
import { handleApiError } from '../../../../../js/Utils'; import { handleApiError } from '../../../../../../../../../../services/utils/errorHandler';
const { Option } = Select; const { Option } = Select;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -32,11 +32,11 @@ import {
Divider, Divider,
} from 'antd'; } from 'antd';
import { Link, withRouter } from 'react-router-dom'; import { Link, withRouter } from 'react-router-dom';
import { withConfigContext } from '../../../../../context/ConfigContext'; import { withConfigContext } from '../../../../../../../../components/ConfigContext';
import axios from 'axios'; import axios from 'axios';
import Cluster from '../../../../../components/manage/android-enterprise/Pages/Cluster/Cluster'; import Cluster from './components/Cluster';
import EditLinks from '../../../../../components/manage/android-enterprise/Pages/EditLinks/EditLinks'; import EditLinks from './components/EditLinks';
import { handleApiError } from '../../../../../js/Utils'; import { handleApiError } from '../../../../../../../../services/utils/errorHandler';
const { Title } = Typography; const { Title } = Typography;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved. * Copyright (c) 2020, Entgra (pvt) Ltd. (http://entgra.io) All Rights Reserved.
* *
* Entgra (pvt) Ltd. licenses this file to you under the Apache License, * Entgra (pvt) Ltd. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except * Version 2.0 (the "License"); you may not use this file except
@ -28,10 +28,10 @@ import {
message, message,
notification, notification,
} from 'antd'; } from 'antd';
import './Login.css'; import './styles.css';
import axios from 'axios'; import axios from 'axios';
import './Login.css'; import './styles.css';
import { withConfigContext } from '../context/ConfigContext'; import { withConfigContext } from '../../components/ConfigContext';
const { Title } = Typography; const { Title } = Typography;
const { Text } = Typography; const { Text } = Typography;
Loading…
Cancel
Save