Skip to content

Commit

Permalink
Changed react overlay loading package to react-overlay-loading-ts and…
Browse files Browse the repository at this point in the history
… uninstalled the package (AOT-Technologies#1813)
  • Loading branch information
shuhaib-aot authored Dec 19, 2023
1 parent 778f9a0 commit cb94fd8
Show file tree
Hide file tree
Showing 22 changed files with 661 additions and 480 deletions.
1,099 changes: 640 additions & 459 deletions forms-flow-web/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion forms-flow-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"react-helmet": "^6.1.0",
"react-i18next": "^11.15.3",
"react-js-pagination": "^3.0.3",
"react-loading-overlay": "^1.0.1",
"react-loading-overlay-ts": "^1.0.5",
"react-quill": "^2.0.0",
"react-redux": "^7.2.4",
"react-router-dom": "^5.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BootstrapTable from "react-bootstrap-table-next";
import filterFactory from "react-bootstrap-table2-filter";
import paginationFactory from "react-bootstrap-table2-paginator";
import ToolkitProvider from "react-bootstrap-table2-toolkit";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import "react-bootstrap-table-next/dist/react-bootstrap-table2.min.css";
import { Translation, useTranslation } from "react-i18next";
import { fetchApplicationAuditHistoryList } from "../../apiManager/services/applicationAuditServices";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
setCountPerpage,
} from "../../actions/applicationActions";
import { push } from "connected-react-router";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";

const ApplicationTable = () => {
const dispatch = useDispatch();
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Application/Details/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";

import ApplicationDetails from "./ApplicationDetails";
import { useSelector } from "react-redux";
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Dashboard/StatusChart.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from "react";
import { useTranslation } from "react-i18next";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";

import { Legend, PieChart, Pie, Cell, LabelList } from "recharts";

Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Draft/Details/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";

import { useSelector } from "react-redux";
import { useTranslation } from "react-i18next";
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Draft/DraftTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import DraftFilter from "./DraftFilter";
import DraftOperations from "./DraftOperations";

import { useTranslation } from "react-i18next";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";

const DraftTable = () => {
const dispatch = useDispatch();
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Draft/Edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import { push } from "connected-react-router";
import { Link, useParams } from "react-router-dom";
import { useTranslation, Translation } from "react-i18next";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import { toast } from "react-toastify";
import isEqual from "lodash/isEqual";

Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/Item/Edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
} from "../../../apiManager/services/FormServices";
import { manipulatingFormData } from "../../../apiManager/services/formFormatterService";
import SaveAsNewVersionConfirmationModal from "./SaveAsNewVersionConfirmationModal";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import RichText from "../RichText/index";
import { Collapse } from 'react-bootstrap';
const reducer = (form, { type, value }) => {
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/Item/Preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { saveFormProcessMapperPost } from "../../../apiManager/services/processS
import { toast } from "react-toastify";
import { t } from "i18next";
import { INACTIVE } from "../constants/formListConstants";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import FormHistoryModal from "./FormHistoryModal";
import CreateTemplateConfirmModal from "./CreateTemplateConfirmModal";
import { handleAuthorization } from "../../../apiManager/services/authorizationService";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
} from "../../../../../constants/applicationConstants";
import { useParams } from "react-router-dom";
import { updateApplicationEvent } from "../../../../../apiManager/services/applicationServices";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import { toast } from "react-toastify";
import { Translation, useTranslation } from "react-i18next";
import { updateCustomSubmission } from "../../../../../apiManager/services/FormServices";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import { push } from "connected-react-router";
import Loading from "../../../../../containers/Loading";
import { setFormSubmissionLoading } from "../../../../../actions/formActions";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import { useTranslation } from "react-i18next";
import { formio_resourceBundles } from "../../../../../resourceBundles/formio_resourceBundles";
import {
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/Item/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
} from "../../../actions/formActions";
import SubmissionError from "../../../containers/SubmissionError";
import { publicApplicationStatus } from "../../../apiManager/services/applicationServices";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import { CUSTOM_EVENT_TYPE } from "../../ServiceFlow/constants/customEventTypes";
import { toast } from "react-toastify";
import { setFormSubmitted } from "../../../actions/formActions";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
setBPMFormListSort,
setBpmFormSearch,
} from "../../../actions/formActions";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import {
MULTITENANCY_ENABLED,
STAFF_DESIGNER,
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/constants/FormTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
setFormDeleteStatus,
} from "../../../actions/formActions";
import SelectFormForDownload from "../FileUpload/SelectFormForDownload";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import {
CLIENT,
MULTITENANCY_ENABLED,
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Insights/Insights.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import {
setInsightDetailLoader,
} from "../../actions/insightActions";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import Loading from "../../containers/Loading";
import { useTranslation, Translation } from "react-i18next";
import { BASE_ROUTE, MULTITENANCY_ENABLED } from "../../constants/constants";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
import { Dropdown, FormControl, InputGroup } from "react-bootstrap";
import { useSelector, useDispatch } from "react-redux";
import Pagination from "react-js-pagination";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import {
fetchAllBpmProcesses,
fetchAllBpmProcessesCount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { useEffect, useState } from "react";
import { Dropdown, FormControl, InputGroup } from "react-bootstrap";
import { useSelector, useDispatch } from "react-redux";
import Pagination from "react-js-pagination";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";

import {
fetchAllDmnProcesses,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
removeBPMGroup,
} from "../../../apiManager/services/bpmTaskServices";
import { setBPMTaskGroupsLoading } from "../../../actions/bpmTaskActions";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import { useTranslation, Translation } from "react-i18next";
const AddGroupModal = React.memo((props) => {
const { t } = useTranslation();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import History from "../../Application/ApplicationHistory";
import FormEdit from "../../Form/Item/Submission/Item/Edit";
import FormView from "../../Form/Item/Submission/Item/View";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import { getForm, getSubmission, Formio, resetSubmission } from "react-formio";
import { CUSTOM_EVENT_TYPE } from "../constants/customEventTypes";
import { getTaskSubmitFormReq } from "../../../apiManager/services/bpmServices";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import History from "../../Application/ApplicationHistory";
import FormEdit from "../../Form/Item/Submission/Item/Edit";
import FormView from "../../Form/Item/Submission/Item/View";
import LoadingOverlay from "react-loading-overlay";
import LoadingOverlay from "react-loading-overlay-ts";
import { getForm, getSubmission, Formio } from "react-formio";
import { CUSTOM_EVENT_TYPE } from "../constants/customEventTypes";
import { getTaskSubmitFormReq } from "../../../apiManager/services/bpmServices";
Expand Down

0 comments on commit cb94fd8

Please sign in to comment.