diff --git a/frontend/micro-ui/web/docker/Dockerfile b/frontend/micro-ui/web/docker/Dockerfile
index 1cdc89bc5f7..91ffae28ff1 100644
--- a/frontend/micro-ui/web/docker/Dockerfile
+++ b/frontend/micro-ui/web/docker/Dockerfile
@@ -4,7 +4,7 @@ RUN apk update && apk upgrade
RUN apk add --no-cache git>2.30.0
RUN yarn add @upyog/digit-ui-libraries
RUN yarn add @upyog/digit-ui-module-pt
-RUN yarn add @upyog/digit-ui-module-fsm
+RUN yarn add @egovernments/digit-ui-module-fsm
RUN yarn add @upyog/digit-ui-module-tl
RUN yarn add @upyog/digit-ui-module-dss
RUN yarn add @upyog/digit-ui-module-mcollect
diff --git a/frontend/micro-ui/web/micro-ui-internals/example/package.json b/frontend/micro-ui/web/micro-ui-internals/example/package.json
index 475dcda5641..4e551590db2 100644
--- a/frontend/micro-ui/web/micro-ui-internals/example/package.json
+++ b/frontend/micro-ui/web/micro-ui-internals/example/package.json
@@ -12,7 +12,7 @@
"@upyog/digit-ui-module-bills": "1.8.0",
"@upyog/digit-ui-module-common": "1.8.0",
"@upyog/digit-ui-module-engagement": "1.8.0",
- "@upyog/digit-ui-module-fsm": "1.8.4",
+ "@egovernments/digit-ui-module-fsm": "1.8.4-beta1",
"@upyog/digit-ui-module-mcollect": "1.8.0",
"@upyog/digit-ui-module-noc": "1.8.0",
"@upyog/digit-ui-module-obps": "1.8.3",
diff --git a/frontend/micro-ui/web/micro-ui-internals/example/src/index.js b/frontend/micro-ui/web/micro-ui-internals/example/src/index.js
index 4af7d76a4d5..d339a462e2d 100644
--- a/frontend/micro-ui/web/micro-ui-internals/example/src/index.js
+++ b/frontend/micro-ui/web/micro-ui-internals/example/src/index.js
@@ -6,7 +6,7 @@ import { PGRReducers } from "@upyog/digit-ui-module-pgr";
import { PTModule, PTLinks, PTComponents } from "@upyog/digit-ui-module-pt";
import { MCollectModule, MCollectLinks } from "@upyog/digit-ui-module-mcollect";
// import { TLModule, TLLinks } from "@upyog/digit-ui-module-tl";
-import { initFSMComponents } from "@upyog/digit-ui-module-fsm";
+import { initFSMComponents } from "@egovernments/digit-ui-module-fsm";
import { initPGRComponents } from "@upyog/digit-ui-module-pgr";
import { initDSSComponents } from "@upyog/digit-ui-module-dss";
import { initHRMSComponents } from "@upyog/digit-ui-module-hrms";
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/fsm/useWorkerSearch.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/fsm/useWorkerSearch.js
new file mode 100644
index 00000000000..c693b53c317
--- /dev/null
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/fsm/useWorkerSearch.js
@@ -0,0 +1,10 @@
+import { useQuery } from "react-query";
+import { FSMService } from "../../services/elements/FSM";
+
+const useWorkerSearch = (args) => {
+ const { tenantId, params, details, config } = args;
+ console.log(tenantId, params, details,"sssss")
+ return useQuery(["FSM_WORKER_SEARCH", details], () => FSMService.workerSearch({ tenantId, params, details }), config);
+};
+
+export default useWorkerSearch;
\ No newline at end of file
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js
index fbeeb531020..cda243aa983 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js
@@ -49,6 +49,7 @@ import usePGRTenants from "./pgr/useTenants";
import usePGRMDMS from "./pgr/useMDMS";
import useComplaintSubType from "./pgr/useComplaintSubType";
import useComplaintStatusCount from "./pgr/useComplaintStatusWithCount";
+import useWorkerSearch from "./fsm/useWorkerSearch";
import useTenantsFSM from "./fsm/useTenants";
import useDesludging from "./fsm/useDesludging";
@@ -334,6 +335,7 @@ const fsm = {
useVehicleTripCreate,
useVendorSearch,
useAdvanceBalanceCalulation,
+ useWorkerSearch
};
const ptr = {
usePetMDMS,
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/atoms/urls.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/atoms/urls.js
index 3e691aab440..4f57c3ee447 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/atoms/urls.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/atoms/urls.js
@@ -53,6 +53,7 @@ const Urls = {
updateDriver: "/vendor/driver/v1/_update",
vehicleTripCreate: "/vehicle/trip/v1/_create",
advanceBalanceCalculate: "/fsm-calculator/v1/_advancebalancecalculate",
+ workerSearch: "/individual/v1/_search",
},
payment: {
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js
index 67f4c4d688a..3b06a13f90c 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js
@@ -174,4 +174,14 @@ export const FSMService = {
params: { tenantId, ...details },
auth: true,
}),
+ workerSearch: ({ tenantId, details, params }) =>
+ Request({
+ url: Urls.fsm.workerSearch,
+ data: details,
+ useCache: false,
+ userService: true,
+ method: "POST",
+ params: { tenantId, ...params },
+ auth: true,
+ }),
};
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/package.json
index 1248f7db9a0..8474785ab58 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/package.json
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/package.json
@@ -1,6 +1,6 @@
{
- "name": "@upyog/digit-ui-module-fsm",
- "version": "1.8.4",
+ "name": "@egovernments/digit-ui-module-fsm",
+ "version": "1.8.4-beta1",
"license": "MIT",
"main": "dist/index.js",
"description": "Digit FSM Module",
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/Module.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/Module.js
index 55413373277..caf13f64a51 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/Module.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/Module.js
@@ -62,6 +62,9 @@ import SelectTrips from "./pageComponents/SelectTrips";
import PlusMinusInput from "./pageComponents/PlusMinusInput";
import ConfirmationBox from "./components/Confirmation";
import SelectLocalityOrGramPanchayat from "./pageComponents/SelectLocalityOrGramPanchayat";
+import AddWorker from "./pages/employee/FSMRegistry/Worker/AddWorker"
+import EditWorker from "./pages/employee/FSMRegistry/Worker/EditWorker";
+import WorkerDetails from "./pages/employee/FSMRegistry/Worker/WorkerDetails";
const FSMModule = ({ stateCode, userType, tenants }) => {
const moduleCode = "FSM";
@@ -219,6 +222,9 @@ const componentsToRegister = {
PlusMinusInput,
ConfirmationBox,
SelectLocalityOrGramPanchayat,
+ AddWorker,
+ EditWorker,
+ WorkerDetails,
};
export const initFSMComponents = () => {
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js
index 91a7e98618b..1ecbb4d3deb 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/Modal/index.js
@@ -39,7 +39,7 @@ const popupActionBarStyles = {
justifyContent: 'space-around'
}
-const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction, actionData, module }) => {
+const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction, actionData, module, applicationDetails }) => {
const mobileView = Digit.Utils.browser.isMobile() ? true : false;
const { data: dsoData, isLoading: isDsoLoading, isSuccess: isDsoSuccess, error: dsoError } = Digit.Hooks.fsm.useDsoSearch(tenantId, { limit: '-1', status: 'ACTIVE' });
const { isLoading, isSuccess, isError, data: applicationData, error } = Digit.Hooks.fsm.useSearch(
@@ -130,6 +130,53 @@ const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction,
const [fstpoRejectionReason, setFstpoRejectionReason] = useState();
const [noOfTrips, setNoOfTrips] = useState(null);
+ const [workers,setWorkers] = useState([]);
+ const [drivers,setDrivers] = useState([]);
+ const [selectedDriver,setSelectedDriver] = useState([]);
+ const [selectedWorkers,setSelectedWorkers] = useState([]);
+ const [vehicleDriverList, setVehicleDriverList] = useState([]);
+ const [vehicleDriver, setVehicleDriver] = useState(null);
+
+ const individualIds = applicationDetails?.dsoDetails?.workers?.map(worker => {
+ return worker?.individualId
+ })?.filter(id => id)
+
+ console.log(applicationDetails,"applicationDetails")
+
+ const {
+ data: workerData,
+ isLoading: isLoadingWorkers,
+ isSuccess: isSuccessWorkers,
+ error: isErrorWorkers,
+ refetch: refetchWorkers,
+ } = Digit.Hooks.fsm.useWorkerSearch({
+ tenantId,
+ details: {
+ Individual: {
+ // roleCodes: ['SANITATION_WORKER'],
+ tenantId,
+ id:individualIds
+ },
+ },
+ params: {
+ // ...paginationParms,
+ // name: searchParams?.name,
+ limit: 100,
+ offset: 0,
+ },
+ config: {
+ enabled: individualIds?.length > 0 ? true : false,
+ select: (data) => {
+ const result = data?.Individual?.map(ind => {return {givenName:ind?.name?.givenName,optionsKey:`${ind?.name?.givenName} / ${ind?.individualId}`,...ind}})?.filter(worker => worker?.userDetails?.roles?.some(role=> role?.code === "SANITATION_WORKER"))
+ const workersOutOfResult = result?.filter(worker => worker?.userDetails?.roles?.some(role=> role?.code === "SANITATION_HELPER"))
+ setWorkers(workersOutOfResult)
+ const drivers = result?.filter(worker => worker?.userDetails?.roles?.some(role=> role?.code === "FSM_DRIVER"))
+ setDrivers(drivers)
+ return result
+ },
+ },
+ });
+
const [defaultValues, setDefautValue] = useState({
capacity: vehicle?.capacity,
wasteCollected: vehicle?.capacity,
@@ -200,7 +247,9 @@ const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction,
if (isSuccess && isDsoSuccess && applicationData && applicationData.dsoId) {
const [dso] = dsoData.filter((dso) => dso.id === applicationData.dsoId);
const tempList = dso?.vehicles?.filter((vehicle) => vehicle.capacity == applicationData?.vehicleCapacity);
- const vehicleNoList = tempList.sort((a,b) => (a.registrationNumber > b.registrationNumber ? 1 : -1 ));
+ const vehicleNoList = tempList?.sort((a,b) => (a?.registrationNumber > b?.registrationNumber ? 1 : -1 ));
+ const tempDriverList = dso?.drivers
+ setVehicleDriverList(tempDriverList)
setVehicleNoList(vehicleNoList);
}
}, [isSuccess, isDsoSuccess]);
@@ -253,6 +302,14 @@ const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction,
workflow.comments = data.comments ? state.code + "~" + data.comments : state.code;
}
+ function selectVehicleNo(vehicleNo) {
+ setVehicleNo(vehicleNo);
+ }
+
+ function selectVehicleDriver(driver) {
+ setVehicleDriver(driver)
+ }
+
const handleUpload = (ids) => {
if (!fileStoreId || fileStoreId.length < 4) {
setFileStoreId(ids);
@@ -267,6 +324,7 @@ const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction,
if (dso) applicationData.dsoId = dso.id;
if (vehicleNo && action === "ACCEPT") applicationData.vehicleId = vehicleNo.id;
if (vehicleNo && action === "DSO_ACCEPT") applicationData.vehicleId = vehicleNo.id;
+ if (vehicleDriver && action === "DSO_ACCEPT") applicationData.driverId = vehicleDriver.id;
if (vehicle && action === "ASSIGN") applicationData.vehicleType = vehicle.code;
if (data.date) applicationData.possibleServiceDate = new Date(`${data.date}`).getTime();
if (data.desluged) applicationData.completedOn = new Date(data.desluged).getTime();
@@ -289,7 +347,29 @@ const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction,
}
}
if (data.noOfTrips) applicationData.noOfTrips = Number(data.noOfTrips);
- if (action === "REASSING") applicationData.vehicleId = null;
+ if (action === "REASSING") {
+ applicationData.vehicleId = null
+ if(applicationData?.workers?.length > 0) {
+ applicationData.workers = applicationData?.workers?.map(worker => {
+ return {
+ ...worker,
+ status:"INACTIVE"
+ }
+ })
+ }
+ };
+ //if action is send back we'll inactivate the assigned workers
+
+ if (action === "SENDBACK") {
+ if(applicationData?.workers?.length > 0) {
+ applicationData.workers = applicationData?.workers?.map(worker => {
+ return {
+ ...worker,
+ status:"INACTIVE"
+ }
+ })
+ }
+ };
if (reassignReason) addCommentToWorkflow(reassignReason, workflow, data);
if (rejectionReason) addCommentToWorkflow(rejectionReason, workflow, data);
@@ -298,8 +378,44 @@ const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction,
if (fstpoRejectionReason && data.comments) workflow.comments = data.comments;
if (fstpoRejectionReason) workflow.fstpoRejectionReason = fstpoRejectionReason?.code;
+
+ if(action==="DSO_ACCEPT" || action==="ACCEPT"){
+ //if driver selected is there in selectedworkers do early return and show toast
+ if(selectedWorkers?.some?.(worker => worker?.id === selectedDriver?.id)){
+ setShowToast({ label:"FSM_DRIVER_SW_ERR",error:true });
+ setTimeout(closeToast, 5000);
+ return
+ }
+ const workersList = [selectedDriver,...tempSelectedWorkers]
+ // workerList?.filter(worker => worker?.userDetails?.roles?.some(role=> role?.code === "FSM_DRIVER"))
+ const workerPayload = workersList?.map((worker,idx)=> {
+ return {
+ tenantId:worker?.tenantId,
+ applicationId:applicationData?.id,
+ individualId:worker?.id,
+ // workerType:worker?.userDetails?.roles?.some(role=> role?.code === "FSM_DRIVER") ? "DRIVER":"HELPER",
+ workerType:idx===0 ? "DRIVER":"HELPER",
+
+ status:"ACTIVE"
+ }
+ })
+ //resettting the states
+ setSelectedDriver([])
+ setSelectedWorkers([])
+ setDrivers([])
+ setWorkers([])
+ refetchWorkers()
+ submitAction({ fsm: {...applicationData,workers:workerPayload}, workflow });
+ return
+ }
+
submitAction({ fsm: applicationData, workflow });
}
+
+ const onRemoveWorkers = (index, workerToRemove) => {
+ setSelectedWorkers(()=>selectedWorkers?.filter(worker=> worker.individualId!==workerToRemove.individualId))
+ };
+
useEffect(() => {
switch (action) {
case "UPDATE":
@@ -314,6 +430,32 @@ const ActionModal = ({ t, action, tenantId, state, id, closeModal, submitAction,
})
);
case "DSO_ACCEPT":
+ //TODO: add accept UI
+ setFormValve(vehicleNo && selectedDriver?.optionsKey ? true : false);
+ return setConfig(
+ configAcceptDso({
+ t,
+ dsoData,
+ dso,
+ vehicle,
+ vehicleCapacity: applicationData?.vehicleCapacity,
+ noOfTrips: applicationData?.noOfTrips,
+ vehicleNo,
+ vehicleNoList,
+ selectVehicleNo,
+ vehicleDriverList,
+ vehicleDriver,
+ selectVehicleDriver,
+ action,
+ workers,
+ selectedDriver,
+ selectedWorkers,
+ setSelectedDriver,
+ setSelectedWorkers,
+ onRemoveWorkers,
+ drivers,
+ })
+ );
case "ACCEPT":
//TODO: add accept UI
setFormValve(vehicleNo ? true : false);
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/config/AcceptDso.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/config/AcceptDso.js
index 0a1ce8cc2cc..4dc26607c5f 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/config/AcceptDso.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/config/AcceptDso.js
@@ -1,12 +1,35 @@
import React from "react";
-import { CardLabelError, Dropdown } from "@upyog/digit-ui-react-components";
+import { CardLabelError, Dropdown, MultiSelectDropdown, RemoveableTag, LabelFieldPair, CardLabel } from "@upyog/digit-ui-react-components";
-export const configAcceptDso = ({ t, dsoData, dso, selectVehicleNo, vehicleNoList, vehicleNo, vehicle, noOfTrips, action }) => {
+// steps
+// get individualIds array from workers array in vendor object
+// call individual service and get those individuals
+// filter out drivers bases on system role
+// show drivers and sanitation workers
+
+export const configAcceptDso = ({
+ t,
+ dsoData,
+ dso,
+ selectVehicleNo,
+ vehicleNoList,
+ vehicleNo,
+ vehicle,
+ noOfTrips,
+ action,
+ workers,
+ selectedDriver,
+ selectedWorkers,
+ setSelectedDriver,
+ setSelectedWorkers,
+ onRemoveWorkers,
+ drivers,
+}) => {
return {
label: {
heading: `ES_FSM_ACTION_TITLE_${action}`,
- submit: `CS_COMMON_${action}`,
- cancel: "CS_COMMON_CLOSE",
+ submit: `CS_COMMON_ASSIGN`,
+ cancel: "CS_COMMON_CANCEL",
},
form: [
{
@@ -17,9 +40,6 @@ export const configAcceptDso = ({ t, dsoData, dso, selectVehicleNo, vehicleNoLis
type: "dropdown",
populators: (
- {!vehicleNoList?.length ? (
- {t("ES_FSM_NO_VEHICLE_AVAILABLE")}
- ) : null}
0 ? false : true}
/>
+ {!vehicleNoList?.length ? {t("ES_FSM_NO_VEHICLE_AVAILABLE")} : null}
),
},
@@ -44,6 +65,76 @@ export const configAcceptDso = ({ t, dsoData, dso, selectVehicleNo, vehicleNoLis
},
disable: true,
},
+ // {
+ // label: t('ES_FSM_ACTION_NUMBER_OF_TRIPS'),
+ // isMandatory: true,
+ // type: 'text',
+ // populators: {
+ // name: 'noOfTrips',
+ // validation: {
+ // required: true,
+ // },
+ // defaultValue: noOfTrips,
+ // },
+ // disable: true,
+ // },
+ {
+ label: t("ES_FSM_ACTION_ASSIGN_DRIVER"),
+ isMandatory: true,
+ type: "dropdown",
+ populators: (
+
+ {
+ setSelectedDriver(option);
+ }}
+ selected={selectedDriver}
+ disable={drivers?.length > 0 ? false : true}
+ placeholder={t("SW_SEARCH_BY_NAME_ID")}
+ optionCardStyles={{"maxHeight":"16rem"}}
+ />
+ {drivers?.length === 0 || !drivers ? {t("ES_FSM_NO_DRIVER_AVAILABLE")} : null}
+
+ ),
+ },
+ {
+ label: t("ES_FSM_ACTION_ASSIGN_SW"),
+ isMandatory: false,
+ type: "dropdown",
+ populators: (
+
+ {
+ if (data.length >= 0) {
+ setSelectedWorkers(data?.map((arr) => arr?.[1]));
+ } else {
+ setSelectedWorkers([]);
+ }
+ }}
+ optionsKey={"optionsKey"}
+ t={t}
+ ServerStyle={{"maxHeight":"12rem"}}
+ // defaultLabel={t("SW_SEARCH_BY_NAME_ID")}
+ // defaultLabelClassName={"as-placeholder"}
+ />
+
+ {selectedWorkers?.map((value, index) => {
+ return onRemoveWorkers(index, value)} />;
+ })}
+
+
+ ),
+ },
{
label: t("ES_FSM_ACTION_NUMBER_OF_TRIPS"),
isMandatory: true,
@@ -53,7 +144,7 @@ export const configAcceptDso = ({ t, dsoData, dso, selectVehicleNo, vehicleNoLis
validation: {
required: true,
},
- defaultValue: noOfTrips
+ defaultValue: noOfTrips,
},
disable: true,
},
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js
index d0bf2e4c62c..6c1edf5da25 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js
@@ -421,6 +421,7 @@ const ApplicationDetails = (props) => {
submitAction={submitAction}
actionData={workflowDetails?.data?.timeline}
module={workflowDetails?.data?.applicationBusinessService}
+ applicationDetails={applicationDetails}
/>
) : null}
{showToast && (
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/AddWorker.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/AddWorker.js
new file mode 100644
index 00000000000..3e0e77da015
--- /dev/null
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/AddWorker.js
@@ -0,0 +1,323 @@
+import React, { useEffect, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { FormComposer, Toast, Header, FormComposerV2 } from "@upyog/digit-ui-react-components";
+import { useHistory } from "react-router-dom";
+import WorkerConfig from "../../configs/WorkerConfig";
+import { useQueryClient } from "react-query";
+
+const AddWorker = ({ parentUrl, heading }) => {
+ const tenantId = Digit.ULBService.getCurrentTenantId();
+ const stateId = Digit.ULBService.getStateId();
+ const [showToast, setShowToast] = useState(null);
+ const history = useHistory();
+ const queryClient = useQueryClient();
+ const { t } = useTranslation();
+ const [canSubmit, setSubmitValve] = useState(false);
+ const [checkRoleField, setCheckRoleField] = useState(false);
+ const [Config, setConfig] = useState(WorkerConfig({ t }));
+ const [skillsOption, setSkillsOption] = useState([]);
+ const [employer, setEmployer] = useState([]);
+ const { isLoading: isLoading, isError: vendorCreateError, data: updateResponse, error: updateError, mutate } = Digit.Hooks.fsm.useWorkerCreate(tenantId);
+ const {
+ isLoading: isVendorUpdateLoading,
+ isError: isvendorUpdateError,
+ data: vendorUpdateResponse,
+ error: vendorUpdateError,
+ mutate: vendorMutate,
+ } = Digit.Hooks.fsm.useVendorUpdate(tenantId);
+
+ const { isLoading: isPlantUserLoading, isError: isPlantUserError, data: plantUserResponse, error: PlantUserError, mutate: PlantUserMutate } = Digit.Hooks.fsm.usePlantUserCreate(
+ tenantId
+ );
+
+ const { isLoading: ismdms, data: mdmsOptions } = Digit.Hooks.useCustomMDMS(
+ stateId,
+ "FSM",
+ [
+ {
+ name: "SanitationWorkerSkills",
+ },
+ {
+ name: "SanitationWorkerEmployer",
+ },
+ {
+ name: "SanitationWorkerEmploymentType",
+ },
+ {
+ name: "SanitationWorkerFunctionalRoles",
+ },
+ ],
+ {
+ select: (data) => {
+ return data?.FSM;
+ },
+ }
+ );
+
+ useEffect(() => {
+ const tempSkills = mdmsOptions?.SanitationWorkerSkills?.map((i) => ({ ...i, i18nKey: `ES_FSM_OPTION_${i.code}` }));
+ const tempEmp = mdmsOptions?.SanitationWorkerEmployer?.map((i) => ({ ...i, i18nKey: `ES_FSM_OPTION_${i.code}` }));
+ setSkillsOption(tempSkills);
+ setEmployer(tempEmp);
+ }, [mdmsOptions, ismdms]);
+
+ useEffect(() => {
+ setConfig(WorkerConfig({ t, skillsOption, employer }));
+ }, [skillsOption, employer]);
+
+ const defaultValues = {};
+
+ const onFormValueChange = (setValue, formData, errors) => {
+ for (let i = 0; i < formData?.AddWorkerRoles?.length; i++) {
+ let key = formData?.AddWorkerRoles[i];
+ if (!(key?.emp_Type && key?.fn_role && key?.sys_role && key?.fn_role?.code)) {
+ setCheckRoleField(false);
+ break;
+ } else {
+ setCheckRoleField(true);
+ }
+ }
+
+ if (
+ !isNaN(formData?.SelectEmployeePhoneNumber?.mobileNumber?.length) &&
+ formData?.SelectEmployeePhoneNumber?.mobileNumber?.length === 10 &&
+ formData?.name &&
+ // formData?.selectGender &&
+ // formData?.dob &&
+ formData?.address?.city &&
+ formData?.address?.locality &&
+ formData?.skills &&
+ formData?.employementDetails?.employer &&
+ formData?.employementDetails?.vendor &&
+ (!formData?.AddWorkerRoles || formData?.AddWorkerRoles?.length === 0 || (formData?.AddWorkerRoles?.length > 0 && checkRoleField)) &&
+ !errors?.SelectEmployeePhoneNumber?.isMobilePresent
+ ) {
+ setSubmitValve(true);
+ } else {
+ setSubmitValve(false);
+ }
+ };
+
+ const closeToast = () => {
+ setShowToast(null);
+ };
+
+ const onSubmit = (data) => {
+ const name = data?.name;
+ const mobileNumber = data?.SelectEmployeePhoneNumber?.mobileNumber;
+ const gender = data?.selectGender?.code;
+ const dob = data.dob ? new Date(`${data.dob}`).getTime() : null;
+ const photograph = data?.documents?.img_photo?.[0]?.[1]?.fileStoreId?.fileStoreId || null;
+ const pincode = data?.pincode;
+ const city = data?.address?.city?.name;
+ const locality = data?.address?.locality?.code;
+ const doorNo = data?.doorNo;
+ const street = data?.street;
+ const landmark = data?.landmark;
+ const skills = data?.skills?.map((i) => {
+ return { type: i?.code, level: "UNSKILLED" };
+ });
+ const employer = data?.employementDetails?.employer?.code;
+ const vendor = data?.employementDetails?.vendor;
+ const roleDetails = data?.AddWorkerRoles;
+ const restructuredData = [];
+ roleDetails?.forEach((item) => {
+ const restructuredItem = {};
+ restructuredItem["FUNCTIONAL_ROLE"] = item.fn_role.code;
+ restructuredItem["EMPLOYMENT_TYPE"] = item.emp_Type.name;
+ restructuredItem["SYSTEM_ROLE"] = item.sys_role;
+ restructuredItem["PLANT"] = item?.plant;
+ restructuredData.push(restructuredItem);
+ });
+
+ const driverLicenses = roleDetails?.filter((entry) => entry.fn_role && entry.fn_role.code === "DRIVER" && entry.licenseNo).map((entry) => entry.licenseNo);
+ const roleDetailsArray = [];
+
+ roleDetails?.forEach((item, index) => {
+ // Extracting functional role information
+ const fnRoleKey = `FUNCTIONAL_ROLE_${index + 1}`;
+ const fnRoleValue = item.fn_role.code;
+
+ // Extracting employment type information
+ const empTypeKey = `EMPLOYMENT_TYPE_${index + 1}`;
+ const empTypeValue = item.emp_Type.name.toUpperCase();
+
+ // Pushing the extracted information to the output array
+ roleDetailsArray.push({ key: fnRoleKey, value: fnRoleValue });
+ roleDetailsArray.push({ key: empTypeKey, value: empTypeValue });
+ });
+
+ // Adding the count of functional roles
+ if (roleDetails) {
+ roleDetailsArray.push({ key: "FUNCTIONAL_ROLE_COUNT", value: `${roleDetails?.length < 10 ? "0" : ""}${roleDetails?.length.toString()}` });
+ }
+
+ // Adding the employer information (assuming it's a constant value like "PRIVATE_VENDOR")
+ roleDetailsArray.push({ key: "EMPLOYER", value: employer });
+
+ const checkDuplicacy = roleDetailsArray.filter((item) => item.key.startsWith("FUNCTIONAL_ROLE")).map((item) => item.value);
+ const isDuplicate = checkDuplicacy.length === new Set(checkDuplicacy).size;
+
+ if (!isDuplicate) {
+ setShowToast({ key: "error", action: `ES_FSM_WORKER_DUPLICATE_ROLE` });
+ setTimeout(() => {
+ closeToast();
+ }, 5000);
+ return;
+ }
+
+ const formData = {
+ Individual: {
+ tenantId: tenantId,
+ name: {
+ givenName: name,
+ },
+ dateOfBirth: dob,
+ gender: gender,
+ mobileNumber: mobileNumber,
+ address: [
+ {
+ tenantId: tenantId,
+ pincode: pincode,
+ city: tenantId,
+ street: street,
+ doorNo: doorNo,
+ locality: {
+ code: locality,
+ },
+ landmark: landmark,
+ type: "PERMANENT",
+ },
+ ],
+ identifiers:
+ driverLicenses?.length > 0
+ ? [
+ {
+ identifierType: "DRIVING_LICENSE_NUMBER",
+ identifierId: driverLicenses?.[0],
+ },
+ ]
+ : null,
+ skills: skills,
+ photo: photograph,
+ additionalFields: {
+ // fields: restructuredData,
+ fields: roleDetailsArray,
+ },
+ isSystemUser: true,
+ userDetails: {
+ username: mobileNumber,
+ tenantId: tenantId,
+ roles: roleDetails
+ ? // Object.values(roleDetails[0].sys_role).map((role) => ({
+ // code: role.code,
+ // tenantId: tenantId,
+ // }))
+ roleDetails
+ .map((item) => Object.values(item.sys_role))
+ .flat()
+ .reduce((result, role) => {
+ if (!result.some((entry) => entry.code === role.code)) {
+ result.push({ code: role.code, tenantId });
+ }
+ return result;
+ }, [])
+ : [{ code: "SANITATION_WORKER", tenantId }],
+ type: "CITIZEN",
+ },
+ },
+ };
+
+ mutate(formData, {
+ onError: (error, variables) => {
+ setShowToast({ key: "error", action: "ES_FSM_WORKER_ADD_FAILED" });
+ setTimeout(closeToast, 5000);
+ },
+ onSuccess: async (data, variables) => {
+ // setShowToast({ key: "success", action: "ADD_WORKER" });
+ // queryClient.invalidateQueries("FSM_WORKER_SEARCH");
+ // if (roleDetails?.some((entry) => entry.plant)) {
+ // try {
+ // const PlantCode = roleDetails
+ // ?.map((entry) => ({
+ // tenantId: tenantId,
+ // plantCode: entry?.plant?.code,
+ // individualId: data?.Individual?.individualId,
+ // isActive: true,
+ // }))
+ // .filter((i) => i?.plantCode);
+ // const plantFormData = {
+ // plantUsers: PlantCode,
+ // };
+ // const plantresponse = await PlantUserMutate(plantFormData);
+ // } catch (err) {
+ // console.error("Plant user create", err);
+ // setShowToast({ key: "error", action: err });
+ // }
+ // }
+ if (vendor) {
+ try {
+ const vendorData = {
+ vendor: {
+ ...vendor,
+ workers: vendor.workers
+ ? [...vendor.workers, { individualId: data?.Individual?.id, vendorWorkerStatus: "ACTIVE" }]
+ : [{ individualId: data?.Individual?.id, vendorWorkerStatus: "ACTIVE" }],
+ },
+ };
+ const response = await vendorMutate(vendorData);
+ setShowToast({ key: "success", action: "WORDER_ADDED_WITH_VENDOR" });
+ } catch (updateError) {
+ console.error("Error updating data:", updateError);
+ setShowToast({ key: "success", action: "WORDER_ADDED_VENDOR_FAILED" });
+ }
+ } else {
+ setShowToast({ key: "success", action: "ADD_WORKER_SUCCESS" });
+ }
+ setTimeout(() => {
+ closeToast();
+ history.push(`/${window?.contextPath}/employee/fsm/registry?selectedTabs=WORKER`);
+ }, 5000);
+ },
+ });
+ };
+ const isMobile = window.Digit.Utils.browser.isMobile();
+
+ return (
+
+
+ {t("FSM_REGISTRY_ADD_WORKER_HEADING")}
+
+
+ !i.hideInEmployee).map((config) => {
+ return {
+ ...config,
+ body: config.body.filter((a) => !a.hideInEmployee),
+ };
+ })}
+ fieldStyle={{ marginRight: 0 }}
+ sectionHeaderClassName="fsm-registry"
+ onSubmit={onSubmit}
+ defaultValues={defaultValues}
+ onFormValueChange={onFormValueChange}
+ noBreakLine={true}
+ cardStyle={{
+ padding: "1rem 1.5rem",
+ }}
+ />
+ {showToast && (
+
+ )}
+
+
+ );
+};
+
+export default AddWorker;
\ No newline at end of file
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/EditWorker.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/EditWorker.js
new file mode 100644
index 00000000000..2303bc8fe86
--- /dev/null
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/EditWorker.js
@@ -0,0 +1,509 @@
+import React, { useEffect, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Toast, Header, FormComposerV2, Loader } from "@upyog/digit-ui-react-components";
+import { useHistory } from "react-router-dom";
+import WorkerConfig from "../../configs/WorkerConfig";
+import { useQueryClient } from "react-query";
+
+// IND-2023-11-24-010875
+const EditWorker = ({ parentUrl, heading }) => {
+ const tenantId = Digit.ULBService.getCurrentTenantId();
+ const stateId = Digit.ULBService.getStateId();
+ const [showToast, setShowToast] = useState(null);
+ const history = useHistory();
+ const queryClient = useQueryClient();
+ const { t } = useTranslation();
+ const [canSubmit, setSubmitValve] = useState(false);
+ const [workerinfo, setWorkerinfo] = useState(null);
+ const [defaultValues, setDefaultValues] = useState(null);
+ const [skillsOption, setSkillsOption] = useState([]);
+ const [employer, setEmployer] = useState([]);
+ const [Config, setConfig] = useState(WorkerConfig({ t, disabled: true }));
+ const searchParams = new URLSearchParams(location.search);
+ const id = searchParams.get("id");
+ const [checkRoleField, setCheckRoleField] = useState(false);
+
+ const { isLoading: ismdms, data: mdmsOptions } = Digit.Hooks.useCustomMDMS(
+ stateId,
+ "FSM",
+ [
+ {
+ name: "SanitationWorkerSkills",
+ },
+ {
+ name: "SanitationWorkerEmployer",
+ },
+ {
+ name: "SanitationWorkerEmploymentType",
+ },
+ {
+ name: "SanitationWorkerFunctionalRoles",
+ },
+ ],
+ {
+ select: (data) => {
+ return data?.FSM;
+ },
+ }
+ );
+
+ const { isLoading: isPlantUserLoading, data: plantUserData } = Digit.Hooks.useCustomAPIHook({
+ url: "/pqm-service/plant/user/v1/_search",
+ params: {},
+ body: {
+ plantUserSearchCriteria: {
+ tenantId: tenantId,
+ individualIds: [id],
+ },
+ pagination: {},
+ },
+ changeQueryName: "plantUser",
+ staletime: 0,
+ });
+
+ useEffect(() => {
+ const tempSkills = mdmsOptions?.SanitationWorkerSkills?.map((i) => ({ ...i, i18nKey: `ES_FSM_OPTION_${i.code}` }));
+ const tempEmp = mdmsOptions?.SanitationWorkerEmployer?.map((i) => ({ ...i, i18nKey: `ES_FSM_OPTION_${i.code}` }));
+ setSkillsOption(tempSkills);
+ setEmployer(tempEmp);
+ }, [mdmsOptions, ismdms]);
+
+
+ const { isLoading: isLoading, isError: vendorCreateError, data: updateResponse, error: updateError, mutate } = Digit.Hooks.fsm.useWorkerUpdate(tenantId);
+
+ const { data: workerData, isLoading: WorkerLoading } = Digit.Hooks.fsm.useWorkerSearch({
+ tenantId,
+ params: {
+ offset: 0,
+ limit: 100,
+ },
+ details: {
+ Individual: {
+ individualId: id,
+ },
+ },
+ });
+
+ useEffect(() => {
+ const workerDetails = workerData?.Individual?.[0];
+ setConfig(WorkerConfig({ t, disabled: true, skillsOption, defaultSkill: workerDetails?.skills?.filter((i) => i.isDeleted === false), employer }));
+ }, [skillsOption, employer, workerData]);
+
+ const { data: vendorData, isLoading: isVendorLoading, isSuccess: isVendorSuccess, error: vendorError, refetch: refetchVendor } = Digit.Hooks.fsm.useDsoSearch(
+ tenantId,
+ { sortBy: "name", sortOrder: "ASC", status: "ACTIVE", individualIds: workerData?.Individual?.[0]?.id },
+ { enabled: workerData && !WorkerLoading, cacheTime: 0 },
+ t
+ );
+
+ const {
+ isLoading: isPlantUpdateLoading,
+ isError: isPlantUserError,
+ data: plantUserResponse,
+ error: PlantUserError,
+ mutate: PlantUserMutate,
+ } = Digit.Hooks.fsm.usePlantUserUpdate(tenantId);
+
+ const {
+ isLoading: isVendorUpdateLoading,
+ isError: isvendorUpdateError,
+ data: vendorUpdateResponse,
+ error: vendorUpdateError,
+ mutate: vendorMutate,
+ } = Digit.Hooks.fsm.useVendorUpdate(tenantId);
+
+ function transformData(rdata) {
+ const data = rdata?.additionalFields?.fields;
+ const functionalRoleCount = parseInt(data?.find((item) => item?.key === "FUNCTIONAL_ROLE_COUNT")?.value, 10) || null;
+ const resultArray = [];
+ const allowedRoles = mdmsOptions?.SanitationWorkerFunctionalRoles;
+ const resproles = rdata?.userDetails?.roles;
+ if (functionalRoleCount) {
+ for (let i = 1; i <= functionalRoleCount; i++) {
+ const functionalRoleKey = `FUNCTIONAL_ROLE_${i}`;
+ const functionalRoleValue = data.find((item) => item.key === functionalRoleKey).value;
+ const fnmap = allowedRoles?.find((i) => i.code === functionalRoleValue);
+
+ const transformedData = {
+ emp_Type: {
+ code: data.find((item) => item.key === `EMPLOYMENT_TYPE_${i}`).value,
+ },
+ fn_role: {
+ code: fnmap?.code,
+ i18nKey: `ES_FSM_OPTION_${fnmap?.code}`,
+ },
+ };
+
+ if (functionalRoleValue === "DRIVER" && rdata?.identifiers?.[0]?.identifierType === "DRIVING_LICENSE_NUMBER") {
+ transformedData.licenseNo = rdata?.identifiers?.[0]?.identifierId;
+ }
+
+ if (functionalRoleValue === "PLANT_OPERATOR") {
+ transformedData.plant = {
+ ...plantUserData?.plantUsers?.[0],
+ name: plantUserData?.plantUsers?.[0]?.plantCode,
+ i18nKey: `PQM_PLANT_${plantUserData?.plantUsers?.[0]?.plantCode}`,
+ };
+ }
+
+ const tempRoles = allowedRoles?.find((i) => i.code === functionalRoleValue)?.allowedSystemRoles;
+ const filterCodes = resproles.map((item) => item.code);
+ const filteredArray = tempRoles.filter((item) => filterCodes.includes(item.code));
+ transformedData.sys_role = filteredArray;
+ // transformedData.sys_role = filteredArray?.reduce((result, item, index) => {
+ // result[index] = item;
+ // return result;
+ // }, {});
+ resultArray.push(transformedData);
+ }
+ }
+
+ return resultArray.length !== 0 ? resultArray : undefined;
+ }
+
+ useEffect(() => {
+ if (workerData && workerData?.Individual && !isVendorLoading && vendorData ) {
+ const workerDetails = workerData?.Individual?.[0];
+ const respSkills = workerDetails?.skills?.filter((i) => i.isDeleted === false);
+ setWorkerinfo(workerDetails);
+ const values = {
+ SelectEmployeePhoneNumber: {
+ mobileNumber: workerDetails?.mobileNumber,
+ },
+ name: workerDetails?.name?.givenName,
+ selectGender: {
+ code: workerDetails?.gender,
+ active: true,
+ i18nKey: `COMMON_GENDER_${workerDetails?.gender}`,
+ },
+ dob: workerDetails?.dateOfBirth ? workerDetails?.dateOfBirth.split("/").reverse().join("-") : null,
+ pincode: workerDetails?.address?.[0]?.pincode,
+ address: {
+ city: {
+ code: workerDetails?.address?.[0]?.city,
+ },
+ locality: { ...workerDetails?.address?.[0]?.locality },
+ },
+ street: workerDetails?.address?.[0]?.street,
+ doorNo: workerDetails?.address?.[0]?.doorNo,
+ landmark: workerDetails?.address?.[0]?.landmark,
+ skills: mdmsOptions?.SanitationWorkerSkills?.filter((mdm) => respSkills?.some((item) => item?.type === mdm?.code))?.map((i) => ({
+ ...i,
+ i18nKey: `ES_FSM_OPTION_${i.code}`,
+ })),
+ // workerDetails?.skills?.map((obj) => ({ ...obj, code: obj.type })),
+ employementDetails: {
+ employer: { name: workerDetails?.additionalFields?.fields?.find((i) => i.key === "EMPLOYER")?.value },
+ vendor: vendorData?.[0],
+ },
+ AddWorkerRoles: transformData(workerDetails),
+ documents: {
+ img_photo: workerDetails?.photo
+ ? [
+ [
+ "Photo",
+ {
+ file: { name: "photo" },
+ fileStoreId: {
+ fileStoreId: workerDetails?.photo,
+ tenantId: tenantId,
+ },
+ },
+ ],
+ ]
+ : null,
+ },
+ };
+ setDefaultValues(values);
+ }
+ }, [workerData, WorkerLoading, plantUserData, vendorData, isVendorLoading]);
+
+ const onFormValueChange = (setValue, formData, errors) => {
+ for (let i = 0; i < formData?.AddWorkerRoles?.length; i++) {
+ let key = formData?.AddWorkerRoles[i];
+ if (!(key?.emp_Type && key?.fn_role && key?.sys_role && key?.fn_role?.code)) {
+ setCheckRoleField(false);
+ // break;
+ } else {
+ setCheckRoleField(true);
+ }
+ }
+
+ if (
+ !isNaN(formData?.SelectEmployeePhoneNumber?.mobileNumber?.length) &&
+ formData?.SelectEmployeePhoneNumber?.mobileNumber?.length === 10 &&
+ formData?.name &&
+ // formData?.selectGender &&
+ // formData?.dob &&
+ formData?.address?.city &&
+ formData?.address?.locality &&
+ formData?.skills &&
+ formData?.employementDetails?.employer &&
+ formData?.employementDetails?.vendor &&
+ (!formData?.AddWorkerRoles || formData?.AddWorkerRoles?.length === 0 || (formData?.AddWorkerRoles?.length > 0 && checkRoleField))
+ ) {
+ if (errors?.SelectEmployeePhoneNumber?.isMobilePresent && formData?.SelectEmployeePhoneNumber?.mobileNumber !== workerData?.Individual?.[0]?.mobileNumber) {
+ setSubmitValve(false);
+ } else {
+ setSubmitValve(true);
+ }
+ } else {
+ setSubmitValve(false);
+ }
+ };
+
+ const closeToast = () => {
+ setShowToast(null);
+ };
+
+ const onSubmit = (data) => {
+ const name = data?.name;
+ const mobileNumber = data?.SelectEmployeePhoneNumber?.mobileNumber;
+ const gender = data?.selectGender?.code;
+ const dob = data.dob ? new Date(`${data.dob}`).getTime() : null;
+ const photograph = data?.documents?.img_photo?.[0]?.[1]?.fileStoreId?.fileStoreId || null;
+ const pincode = data?.pincode;
+ const city = data?.address?.city?.name;
+ const locality = data?.address?.locality?.code;
+ const doorNo = data?.doorNo;
+ const street = data?.street;
+ const landmark = data?.landmark;
+ const skills = data?.skills?.map((i) => {
+ return { type: i?.code, level: "UNSKILLED" };
+ });
+
+ let respSkills = workerinfo?.skills;
+
+ // if skills are not there but present in resp then remove
+ respSkills = respSkills.filter((resp_item) => skills.some((mydata_item) => resp_item.type === mydata_item.type && resp_item.level === mydata_item.level));
+ // respSkills.forEach((resp_item) => {
+ // const existsInSelected = skills.some((selected_item) => resp_item.type === selected_item.type && resp_item.level === selected_item.level);
+ // resp_item.isDeleted = !existsInSelected;
+ // });
+
+ // if skills are not there in resp but present in selected then add
+ skills.forEach((selected_item) => {
+ const exists = respSkills.some((resp_item) => resp_item.type === selected_item.type && resp_item.level === selected_item.level);
+ if (!exists) {
+ respSkills.push({
+ type: selected_item.type,
+ level: selected_item.level,
+ });
+ }
+ });
+
+ const employer = data?.employementDetails?.employer?.code || data?.employementDetails?.employer?.name;
+ const vendor = data?.employementDetails?.vendor;
+ const roleDetails = data?.AddWorkerRoles;
+ const restructuredData = [];
+
+ roleDetails?.forEach((item) => {
+ const restructuredItem = {};
+ restructuredItem["FUNCTIONAL_ROLE"] = item.fn_role.code;
+ restructuredItem["EMPLOYMENT_TYPE"] = item.emp_Type.name;
+ restructuredItem["SYSTEM_ROLE"] = item.sys_role;
+ restructuredItem["PLANT"] = item?.plant;
+ restructuredData.push(restructuredItem);
+ });
+
+ const driverLicenses = roleDetails?.filter((entry) => entry.fn_role && entry.fn_role.code === "DRIVER" && entry.licenseNo).map((entry) => entry.licenseNo);
+ const roleDetailsArray = [];
+
+ if (roleDetails) {
+ roleDetails?.forEach((item, index) => {
+ // Extracting functional role information
+ const fnRoleKey = `FUNCTIONAL_ROLE_${index + 1}`;
+ const fnRoleValue = item.fn_role.code;
+
+ // Extracting employment type information
+ const empTypeKey = `EMPLOYMENT_TYPE_${index + 1}`;
+ const empTypeValue = item.emp_Type.code.toUpperCase();
+
+ // Pushing the extracted information to the output array
+ roleDetailsArray.push({ key: fnRoleKey, value: fnRoleValue });
+ roleDetailsArray.push({ key: empTypeKey, value: empTypeValue });
+ });
+
+ // Adding the count of functional roles
+ roleDetailsArray.push({ key: "FUNCTIONAL_ROLE_COUNT", value: `${roleDetails?.length < 10 ? "0" : ""}${roleDetails?.length.toString()}` });
+ }
+
+ // Adding the employer information (assuming it's a constant value like "PRIVATE_VENDOR")
+ roleDetailsArray.push({ key: "EMPLOYER", value: employer });
+
+ const checkDuplicacy = roleDetailsArray.filter((item) => item.key.startsWith("FUNCTIONAL_ROLE")).map((item) => item.value);
+ const isDuplicate = checkDuplicacy.length === new Set(checkDuplicacy).size;
+
+ if (!isDuplicate) {
+ setShowToast({ key: "error", action: `ES_FSM_WORKER_DUPLICATE_ROLE` });
+ setTimeout(() => {
+ closeToast();
+ }, 5000);
+ return;
+ }
+
+ const formData = {
+ Individual: {
+ ...workerinfo,
+ tenantId: tenantId,
+ name: {
+ ...workerinfo.name,
+ givenName: name,
+ },
+ dateOfBirth: dob,
+ gender: gender,
+ mobileNumber: mobileNumber,
+ address: [
+ {
+ ...workerinfo?.address?.[0],
+ tenantId: tenantId,
+ pincode: pincode,
+ city: tenantId,
+ street: street,
+ doorNo: doorNo,
+ locality: {
+ ...workerinfo?.address?.[0]?.locality,
+ code: locality,
+ },
+ landmark: landmark,
+ type: "PERMANENT",
+ },
+ ],
+ identifiers:
+ driverLicenses?.length > 0
+ ? [
+ {
+ ...workerinfo?.indentifiers?.[0],
+ identifierType: "DRIVING_LICENSE_NUMBER",
+ identifierId: driverLicenses?.[0],
+ },
+ ]
+ : null,
+ skills: respSkills,
+ photo: photograph,
+ additionalFields: {
+ ...workerinfo?.additionalDetails,
+ // fields: restructuredData,
+ fields: roleDetailsArray,
+ },
+ isSystemUser: true,
+ userDetails: {
+ ...workerinfo?.userDetails,
+ username: mobileNumber,
+ tenantId: tenantId,
+ roles: roleDetails
+ ? // Object.values(roleDetails[0].sys_role).map((role) => ({
+ // code: role.code,
+ // tenantId: tenantId,
+ // }))
+ roleDetails
+ .map((item) => Object.values(item.sys_role))
+ .flat()
+ .reduce((result, role) => {
+ if (!result.some((entry) => entry.code === role.code)) {
+ result.push({ code: role.code, tenantId });
+ }
+ return result;
+ }, [])
+ : [{ code: "SANITATION_WORKER", tenantId }],
+ type: "CITIZEN",
+ },
+ },
+ };
+
+ mutate(formData, {
+ onError: (error, variables) => {
+ setShowToast({ key: "error", action: `ES_FSM_WORKER_UPDATE_FAILED` });
+ setTimeout(closeToast, 5000);
+ },
+ onSuccess: async (data, variables) => {
+ // queryClient.invalidateQueries("FSM_WORKER_SEARCH");
+ // if (roleDetails.some((entry) => entry.plant)) {
+ // try {
+ // const PlantCode = roleDetails
+ // ?.map((entry) => ({
+ // tenantId: tenantId,
+ // plantCode: entry?.plant?.code,
+ // individualId: data?.Individual?.individualId,
+ // isActive: true,
+ // }))
+ // .filter((i) => i?.plantCode);
+ // const plantFormData = {
+ // plantUsers: PlantCode,
+ // };
+ // const plantresponse = await PlantUserMutate(plantFormData);
+ // } catch (err) {
+ // console.error("Plant user create", err);
+ // setShowToast({ key: "error", action: err });
+ // }
+ // }
+ if (vendor && !(vendor?.id === vendorData?.[0]?.id)) {
+ try {
+ const vendorData = {
+ vendor: {
+ ...vendor,
+ workers: vendor.workers
+ ? [...vendor.workers, { individualId: data?.Individual?.id, vendorWorkerStatus: "ACTIVE" }]
+ : [{ individualId: data?.Individual?.id, vendorWorkerStatus: "ACTIVE" }],
+ },
+ };
+ const response = await vendorMutate(vendorData);
+ setShowToast({ key: "success", action: "UPDATE_WORKER_WITH_VENDOR" });
+ } catch (updateError) {
+ console.error("Error updating data:", updateError);
+ setShowToast({ key: "error", action: "UPDATE_WORKER_VENDOR_FAILED" });
+ }
+ } else {
+ setShowToast({ key: "success", action: "EDIT_WORKER_SUCCESS" });
+ }
+ setTimeout(() => {
+ closeToast();
+ queryClient.invalidateQueries("FSM_WORKER_SEARCH");
+ history.push(`/${window?.contextPath}/employee/fsm/registry/worker-details?id=${id}`);
+ }, 5000);
+ },
+ });
+ };
+ const isMobile = window.Digit.Utils.browser.isMobile();
+
+ if (!defaultValues) {
+ return ;
+ }
+ return (
+
+
+ {t("FSM_REGISTRY_EDIT_WORKER_HEADING")}
+
+
+ !i.hideInEmployee).map((config) => {
+ return {
+ ...config,
+ body: config.body.filter((a) => !a.hideInEmployee),
+ };
+ })}
+ fieldStyle={{ marginRight: 0 }}
+ sectionHeaderClassName="fsm-registry"
+ onSubmit={onSubmit}
+ defaultValues={defaultValues}
+ onFormValueChange={onFormValueChange}
+ noBreakLine={true}
+ cardStyle={{
+ padding: "1rem 1.5rem",
+ }}
+ />
+ {showToast && (
+
+ )}
+
+
+ );
+};
+
+export default EditWorker;
\ No newline at end of file
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/WorkerDetails.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/WorkerDetails.js
new file mode 100644
index 00000000000..c3ec061bf66
--- /dev/null
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/Worker/WorkerDetails.js
@@ -0,0 +1,549 @@
+import React, { Fragment, useEffect, useState } from "react";
+import { useTranslation } from "react-i18next";
+
+import {
+ Card,
+ StatusTable,
+ Row,
+ SubmitBar,
+ Loader,
+ CardSectionHeader,
+ ActionBar,
+ Menu,
+ Toast,
+ Header,
+ EditIcon,
+ DeleteIcon,
+ Modal,
+ CardText,
+ Dropdown,
+ AddIcon,
+ AddNewIcon,
+} from "@upyog/digit-ui-react-components";
+
+import { useQueryClient } from "react-query";
+
+import { useHistory, useParams } from "react-router-dom";
+import ConfirmationBox from "../../../../components/Confirmation";
+import { ViewImages } from "../../../../components/ViewImages";
+
+const Heading = (props) => {
+ return
{props.label}
;
+};
+const Close = () => (
+
+);
+
+const CloseBtn = (props) => {
+ return (
+
+
+
+ );
+};
+
+const WorkerDetails = (props) => {
+ const tenantId = Digit.ULBService.getCurrentTenantId();
+ const state = Digit.ULBService.getStateId();
+ const { t } = useTranslation();
+ const history = useHistory();
+ const queryClient = useQueryClient();
+ const searchParams = new URLSearchParams(location.search);
+ const id = searchParams.get("id");
+ const [displayMenu, setDisplayMenu] = useState(false);
+ const [selectedAction, setSelectedAction] = useState(null);
+ const [config, setCurrentConfig] = useState({});
+ const [showModal, setShowModal] = useState(false);
+ const [showToast, setShowToast] = useState(null);
+ const [vendors, setVendors] = useState([]);
+
+ const [selectedOption, setSelectedOption] = useState({});
+
+ const { data: workerData, isLoading: isWorkerLoading, refetch } = Digit.Hooks.fsm.useWorkerDetails({
+ tenantId,
+ params: {
+ offset: 0,
+ limit: 100,
+ },
+ details: {
+ Individual: {
+ individualId: id,
+ },
+ },
+ t
+ });
+
+ // const { data: driverData, isLoading: isLoading, isSuccess: isDsoSuccess, error: dsoError, refetch } = Digit.Hooks.fsm.useDriverDetails(tenantId, { ids: id });
+
+ const { data: vendorData, isLoading: isVendorLoading, isSuccess: isVendorSuccess, error: vendorError } = Digit.Hooks.fsm.useDsoSearch(
+ tenantId,
+ { sortBy: "name", sortOrder: "ASC", status: "ACTIVE", agencyType: workerData?.[0]?.agencyType },
+ {},
+ t
+ );
+
+ const {
+ isLoading: ismutateUpdateWorkerLoading,
+ isError: vendorCreateError,
+ data: updateResponse,
+ error: updateError,
+ mutate: mutateUpdateWorker,
+ } = Digit.Hooks.fsm.useWorkerUpdate(tenantId);
+
+ const {
+ isLoading: isDeleteWorkerLoading,
+ isError: isDeleteWorkerError,
+ data: deleteWorkerResponse,
+ error: deleteWorkerError,
+ mutate: mutateDeleteWorker,
+ } = Digit.Hooks.fsm.useWorkerDelete(tenantId);
+
+ const {
+ isLoading: isVendorUpdateLoading,
+ isError: isVendorUpdateError,
+ data: vendorUpdateResponse,
+ error: vendorUpdateError,
+ mutate: mutateVendor,
+ } = Digit.Hooks.fsm.useVendorUpdate(tenantId);
+
+ function onActionSelect(action) {
+ setSelectedAction(action);
+ setDisplayMenu(false);
+ }
+ useEffect(() => {
+ if (vendorData) {
+ let vendors = vendorData.map((data) => data.dsoDetails);
+ setVendors(vendors);
+ }
+ }, [vendorData]);
+
+ useEffect(() => {
+ refetch();
+ }, []);
+
+ useEffect(() => {
+ switch (selectedAction) {
+ case "DELETE_SW":
+ case "ENABLE_SW":
+ case "ADD_VENDOR":
+ case "EDIT_VENDOR":
+ case "DELETE_VENDOR":
+ return setShowModal(true);
+ case "EDIT":
+ return history.push(`/${window?.contextPath}/employee/fsm/registry/edit-worker?id=${id}`);
+ case "HOME":
+ return history.push(`/${window?.contextPath}/employee/fsm/registry?selectedTabs=WORKER`);
+ default:
+ break;
+ }
+ }, [selectedAction]);
+
+ const closeToast = () => {
+ setShowToast(null);
+ };
+
+ const handleModalAction = () => {
+ switch (selectedAction) {
+ case "DELETE_SW":
+ case "ENABLE_SW":
+ return handleDeleteWorker();
+ case "DELETE_VENDOR":
+ return handleDeleteVendor();
+ case "ADD_VENDOR":
+ return handleAddVendor();
+ case "EDIT_VENDOR":
+ return handleEditVendor();
+ default:
+ break;
+ }
+ };
+
+ const handleDeleteWorker = () => {
+ let workerdetails = workerData?.[0]?.workerData;
+ const formData = {
+ Individual: {
+ ...workerdetails,
+ isSystemUserActive: selectedAction === "ENABLE_SW" ? true : false,
+ },
+ };
+
+ mutateUpdateWorker(formData, {
+ onError: (error, variables) => {
+ setShowToast({ key: "error", action: selectedAction === "ENABLE_SW" ? "ENABLE_WORKER_FAILED" : "DISABLE_WORKER_FAILED" });
+ setTimeout(closeToast, 5000);
+ },
+ onSuccess: (data, variables) => {
+ setShowToast({ key: "success", action: selectedAction === "ENABLE_SW" ? "ENABLE_WORKER" : "DISABLE_WORKER" });
+ queryClient.invalidateQueries("DSO_SEARCH");
+
+ setTimeout(() => {
+ closeToast, history.push(`/${window?.contextPath}/employee/fsm/registry?selectedTabs=WORKER`);
+ }, 5000);
+ },
+ });
+ setShowModal(false);
+ };
+
+ const handleDeleteVendor = () => {
+ let formData = {};
+ let dsoDetails = workerData?.[0]?.vendorDetails;
+ let getWorkerVendorDetails = dsoDetails?.workers;
+
+ getWorkerVendorDetails = getWorkerVendorDetails.map((data) => {
+ if (data.individualId === workerData?.[0]?.workerData?.id) {
+ data.vendorWorkerStatus = "INACTIVE";
+ }
+ return data;
+ });
+
+ formData = {
+ vendor: {
+ ...dsoDetails,
+ workers: getWorkerVendorDetails,
+ },
+ };
+
+ mutateVendor(formData, {
+ onError: (error, variables) => {
+ setShowToast({ key: "error", action: "DELETE_VENDOR_FAILED" });
+ setTimeout(closeToast, 5000);
+ },
+ onSuccess: (data, variables) => {
+ setShowToast({ key: "success", action: "DELETE_VENDOR" });
+ queryClient.invalidateQueries("DSO_SEARCH");
+ refetch();
+ setTimeout(closeToast, 5000);
+ },
+ });
+ setShowModal(false);
+ };
+
+ const handleAddVendor = () => {
+ let dsoDetails = selectedOption;
+ let workerDetails = workerData?.[0]?.workerData;
+ // workerDetails.vendorDriverStatus = "ACTIVE";
+ const formData = {
+ vendor: {
+ ...dsoDetails,
+ workers: dsoDetails.workers
+ ? [...dsoDetails.workers, { individualId: workerDetails?.id, vendorWorkerStatus: "ACTIVE" }]
+ : [{ individualId: workerDetails?.id, vendorWorkerStatus: "ACTIVE" }],
+ },
+ };
+ mutateVendor(formData, {
+ onError: (error, variables) => {
+ setShowToast({ key: "error", action: "ADD_VENDOR_FAILED" });
+ refetch();
+ setTimeout(closeToast, 5000);
+ },
+ onSuccess: (data, variables) => {
+ setShowToast({ key: "success", action: "ADD_VENDOR" });
+ queryClient.invalidateQueries("DSO_SEARCH");
+ refetch();
+ setTimeout(closeToast, 5000);
+ },
+ });
+ setShowModal(false);
+ setSelectedAction(null);
+ setSelectedOption({});
+ };
+
+ const handleEditVendor = () => {
+ let dsoDetails = selectedOption;
+ let workerDetails = workerData?.[0]?.workerData;
+ // driverDetails.vendorDriverStatus = "ACTIVE";
+
+ const formData = {
+ vendor: {
+ ...dsoDetails,
+ workers: dsoDetails.workers
+ ? [...dsoDetails.workers, { individualId: workerDetails?.id, vendorWorkerStatus: "ACTIVE" }]
+ : [{ individualId: workerDetails?.id, vendorWorkerStatus: "ACTIVE" }],
+ },
+ };
+
+ mutateVendor(formData, {
+ onError: (error, variables) => {
+ setShowToast({ key: "error", action: "EDIT_VENDOR_FAILED" });
+ setTimeout(closeToast, 5000);
+ },
+ onSuccess: (data, variables) => {
+ setShowToast({ key: "success", action: "EDIT_VENDOR" });
+ refetch();
+ queryClient.invalidateQueries("DSO_SEARCH");
+ setTimeout(closeToast, 5000);
+ },
+ });
+ setShowModal(false);
+ setSelectedAction(null);
+ setSelectedOption({});
+ };
+
+ const closeModal = () => {
+ setSelectedAction(null);
+ setSelectedOption({});
+ setShowModal(false);
+ };
+
+ const modalHeading = () => {
+ switch (selectedAction) {
+ case "DELETE_SW":
+ return "ES_FSM_REGISTRY_DELETE_SW_POPUP_HEADER";
+ case "ENABLE_SW":
+ return "ES_FSM_REGISTRY_ENABLE_SW_POPUP_HEADER";
+ case "DELETE_VENDOR":
+ return "ES_FSM_REGISTRY_DELETE_POPUP_HEADER";
+ case "ADD_VENDOR":
+ return "ES_FSM_REGISTRY_ADD_VENDOR_POPUP_HEADER";
+ case "EDIT_VENDOR":
+ return "ES_FSM_REGISTRY_ADD_VENDOR_POPUP_HEADER";
+ default:
+ break;
+ }
+ };
+
+ const renderModalContent = () => {
+ if (selectedAction === "DELETE_SW" || selectedAction === "ENABLE_SW") {
+ return (
+
+ //
+ // {t(`ES_FSM_REGISTRY_DELETE_TEXT`)}
+ //
+ );
+ }
+ if (selectedAction === "DELETE_VENDOR") {
+ return (
+
+ //
+ // {t(`ES_FSM_REGISTRY_DELETE_TEXT`)}
+ //
+ );
+ }
+ if (selectedAction === "ADD_VENDOR") {
+ return (
+ <>
+ {t(`ES_FSM_REGISTRY_SELECT_VENODOR`)}
+
+ >
+ );
+ }
+ if (selectedAction === "EDIT_VENDOR") {
+ return (
+ <>
+ {t(`ES_FSM_REGISTRY_SELECT_VENODOR`)}
+
+ >
+ );
+ }
+ };
+ const isMobile = window.Digit.Utils.browser.isMobile();
+
+ if (isWorkerLoading) {
+ return ;
+ }
+
+ return (
+
+ {!isWorkerLoading ? (
+
+ {t("ES_FSM_REGISTRY_WORKER_DETAILS_ID", { ID: id })}
+
+
+ {workerData?.[0]?.employeeResponse?.map((detail, index) => (
+
+ 0 ? { marginBottom: "16px", marginTop: "32px" } : { marginBottom: "16px" }}>{t(detail.title)}
+
+ {detail?.values?.map((value, index) =>
+ value?.type === "custom" ? (
+ <>
+
+
{t(value.title)}
+
+ {value.value === "ES_FSM_REGISTRY_DETAILS_ADD_VENDOR" && (
+
onActionSelect("ADD_VENDOR")}>
+
+
+ )}
+ {t(value.value) || "N/A"}
+ {value.value != "ES_FSM_REGISTRY_DETAILS_ADD_VENDOR" && (
+
onActionSelect("EDIT_VENDOR")}>
+
+
+ )}
+ {value.value != "ES_FSM_REGISTRY_DETAILS_ADD_VENDOR" && (
+
onActionSelect("DELETE_VENDOR")}>
+
+
+ )}
+
+
+ >
+ ) : (
+
+ )
+ )}
+ {detail?.isPhoto && (
+ <>
+ 0 ? { marginBottom: "16px", marginTop: "32px" } : { marginBottom: "16px" }}>{t(detail.titlee)}
+ window.open(source, "_blank")}
+ />
+ }
+ />
+ >
+ )}
+ {/* {detail?.isPhoto && (
+
+
+ window.open(source, '_blank')
+ }
+ />
+
+ )} */}
+ {detail?.child?.map((data, index) => {
+ return (
+
+
+
+ {t(`ES_SW_${detail.type}`)} {index + 1}
+
+
+ {data?.FUNCTIONAL_ROLE && (
+
+ )}
+ {data?.EMPLOYMENT_TYPE && (
+
+ )}
+ {data?.LICENSE_NUMBER && (
+
+ )}
+
+ );
+ })}
+
+
+ ))}
+
+
+ {showModal && (
+ }
+ headerBarEnd={}
+ actionCancelLabel={t("CS_COMMON_CANCEL")}
+ actionCancelOnSubmit={closeModal}
+ actionSaveLabel={t(
+ selectedAction === "DELETE_SW"
+ ? "ES_EVENT_DELETE_SW"
+ : selectedAction === "ENABLE_SW"
+ ? "ES_EVENT_ENABLE_SW"
+ : selectedAction === "DELETE_VENDOR"
+ ? "ES_EVENT_DELETE"
+ : "CS_COMMON_SUBMIT"
+ )}
+ actionSaveOnSubmit={handleModalAction}
+ formId="modal-action"
+ headerBarMainStyle={{ marginBottom: "0px" }}
+ >
+ {selectedAction === "DELETE_SW" || selectedAction === "ENABLE_SW" || selectedAction === "DELETE_VENDOR" ? (
+ renderModalContent()
+ ) : (
+ {renderModalContent()}
+ )}
+
+ )}
+ {showToast && (
+
+ )}
+
+ {displayMenu ? (
+
+ ) : null}
+ setDisplayMenu(!displayMenu)} />
+
+
+ ) : (
+
+ )}
+
+ );
+};
+
+export default WorkerDetails;
+
\ No newline at end of file
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/index.js
index ab128c54c5d..343476ce5ad 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/index.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/index.js
@@ -5,9 +5,25 @@ import { useParams, useHistory, useLocation } from "react-router-dom";
import RegisryInbox from "../../../components/RegistryInbox";
+function cleanObject(obj) {
+ for (const key in obj) {
+ if (obj.hasOwnProperty(key)) {
+ if (Array.isArray(obj[key])) {
+ if (obj[key].length === 0) {
+ delete obj[key];
+ }
+ } else if (obj[key] === undefined || obj[key] === null || obj[key] === false || obj[key] === '' || (typeof obj[key] === 'object' && Object.keys(obj[key]).length === 0)) {
+ delete obj[key];
+ }
+ }
+ }
+ return obj;
+}
+
const FSMRegistry = () => {
const { t } = useTranslation();
const tenantId = Digit.ULBService.getCurrentTenantId();
+ const tenant = Digit.ULBService.getStateId();
const [searchParams, setSearchParams] = useState({});
const [sortParams, setSortParams] = useState([{ id: "createdTime", desc: true }]);
const [pageOffset, setPageOffset] = useState(0);
@@ -24,7 +40,12 @@ const FSMRegistry = () => {
const userInfo = Digit.UserService.getUser();
- let paginationParms = { limit: pageSize, offset: pageOffset, sortBy: sortParams?.[0]?.id, sortOrder: sortParams?.[0]?.desc ? "DESC" : "ASC" };
+ let paginationParms = {
+ limit: pageSize,
+ offset: pageOffset,
+ sortBy: sortParams?.[0]?.id,
+ sortOrder: sortParams?.[0]?.desc ? "DESC" : "ASC",
+ };
const { data: dsoData, isLoading: isLoading, isSuccess: isDsoSuccess, error: dsoError, refetch } =
selectedTabs === "VEHICLE"
? Digit.Hooks.fsm.useVehiclesSearch({
@@ -46,6 +67,22 @@ const FSMRegistry = () => {
},
config: { enabled: false },
})
+ : selectedTabs === "WORKER"
+ ? Digit.Hooks.fsm.useWorkerSearch({
+ tenantId,
+ details: {
+ Individual: {
+ roleCodes:["SANITATION_WORKER"],
+ ...searchParams,
+ tenantId
+ },
+ },
+ params: {
+ ...paginationParms,
+ name: searchParams?.name,
+ },
+ config: { enabled: false },
+ })
: Digit.Hooks.fsm.useVendorSearch({
tenantId,
filters: {
@@ -56,22 +93,18 @@ const FSMRegistry = () => {
config: { enabled: false },
});
- const {
- data: vendorData,
- isLoading: isVendorLoading,
- isSuccess: isVendorSuccess,
- error: vendorError,
- refetch: refetchVendor,
- } = Digit.Hooks.fsm.useDsoSearch(
+ const { data: vendorData, isLoading: isVendorLoading, isSuccess: isVendorSuccess, error: vendorError, refetch: refetchVendor } = Digit.Hooks.fsm.useDsoSearch(
tenantId,
{
vehicleIds: vehicleIds,
driverIds: driverIds,
- // status: "ACTIVE",
+ status: "ACTIVE",
},
- { enabled: false }
+ { enabled: false },
+ t
);
- const inboxTotalCount = dsoData?.totalCount || 50;
+
+ const inboxTotalCount = dsoData?.TotalCount || dsoData?.totalCount ;
useEffect(() => {
refetch();
@@ -84,7 +117,7 @@ const FSMRegistry = () => {
useEffect(() => {
refetch();
- }, [searchParams, sortParams, pageOffset, pageSize]);
+ }, [sortParams, pageOffset, pageSize]);
useEffect(() => {
if (dsoData?.vehicle && selectedTabs === "VEHICLE") {
@@ -103,6 +136,14 @@ const FSMRegistry = () => {
setDriverIds(driverIds);
setTableData(dsoData?.driver);
}
+ if (dsoData?.driver && selectedTabs === "WORKER") {
+ let driverIds = "";
+ dsoData.Individual.map((data) => {
+ driverIds += `${data.individualId},`;
+ });
+ setDriverIds(driverIds);
+ setTableData(dsoData?.driver);
+ }
if (dsoData?.vendor && selectedTabs === "VENDOR") {
const tableData = dsoData.vendor.map((dso) => ({
mobileNumber: dso.owner?.mobileNumber,
@@ -113,6 +154,8 @@ const FSMRegistry = () => {
activeDrivers: dso.drivers?.filter((driver) => driver.status === "ACTIVE"),
allVehicles: dso.vehicles,
dsoDetails: dso,
+ // activeWorkers: dso.workers?.filter((worker) => worker.vendorWorkerStatus === "ACTIVE"),
+ workers: dso.workers,
vehicles: dso.vehicles
?.filter((vehicle) => vehicle.status === "ACTIVE")
?.map((vehicle) => ({
@@ -157,10 +200,24 @@ const FSMRegistry = () => {
setTableData(drivers);
setDriverIds("");
}
+ if (selectedTabs === "WORKER") {
+ const drivers = dsoData?.Individual?.map((data) => {
+ let vendor = vendorData.find((ele) => ele.dsoDetails?.workers?.find((driver) => driver.individualId === data.id));
+ if (vendor) {
+ data.vendor = vendor.dsoDetails;
+ }else{
+ data.vendor = null
+ }
+ return data;
+ });
+ setTableData(drivers);
+ setDriverIds("");
+ }
}
}, [vendorData, dsoData]);
const onSearch = (params = {}) => {
+ cleanObject(params)
setSearchParams({ ...params });
};
@@ -201,6 +258,21 @@ const FSMRegistry = () => {
name: "name",
},
]
+ : selectedTabs === "WORKER"
+ ? [
+ {
+ label: t("ES_FSM_REGISTRY_SEARCH_SW_ID"),
+ name: "individualId",
+ },
+ {
+ label: t("ES_FSM_REGISTRY_SEARCH_SW_NAME"),
+ name: "individualName",
+ },
+ {
+ label: t("ES_FSM_REGISTRY_SEARCH_SW_NUMBER"),
+ name: "mobileNumber",
+ },
+ ]
: [
{
label: t("ES_FSM_REGISTRY_SEARCH_VENDOR_NAME"),
@@ -215,7 +287,7 @@ const FSMRegistry = () => {
const onTabChange = (tab) => {
setTab(tab);
if (selectedTabs !== tab) {
- history.push(`/digit-ui/employee/fsm/registry?selectedTabs=${tab}`);
+ history.push(`/${window?.contextPath}/employee/fsm/registry?selectedTabs=${tab}`);
}
};
diff --git a/frontend/micro-ui/web/package.json b/frontend/micro-ui/web/package.json
index 56c044a7656..15752f0a709 100644
--- a/frontend/micro-ui/web/package.json
+++ b/frontend/micro-ui/web/package.json
@@ -18,7 +18,7 @@
"@upyog/digit-ui-module-core": "1.8.0",
"@upyog/digit-ui-module-engagement": "1.8.0",
"@upyog/digit-ui-module-dss": "1.8.1",
- "@upyog/digit-ui-module-fsm": "1.8.4",
+ "@egovernments/digit-ui-module-fsm": "1.8.4-beta1",
"@upyog/digit-ui-module-hrms": "1.8.0",
"@upyog/digit-ui-module-mcollect": "1.8.0",
"@upyog/digit-ui-module-commonpt":"1.8.0",
diff --git a/frontend/micro-ui/web/src/App.js b/frontend/micro-ui/web/src/App.js
index 90be45b85a2..1b6c46be157 100644
--- a/frontend/micro-ui/web/src/App.js
+++ b/frontend/micro-ui/web/src/App.js
@@ -1,16 +1,13 @@
import React from "react";
+import { initPGRComponents, PGRReducers } from "@upyog/digit-ui-module-pgr";
+import { initFSMComponents } from "@egovernments/digit-ui-module-fsm";
+import { PTModule, PTLinks, PTComponents } from "@upyog/digit-ui-module-pt";
import {
- initPGRComponents,
- PGRReducers,
-} from "@upyog/digit-ui-module-pgr";
-import { initFSMComponents } from "@upyog/digit-ui-module-fsm";
-import {
- PTModule,
- PTLinks,
- PTComponents,
-} from "@upyog/digit-ui-module-pt";
-import { MCollectModule, MCollectLinks, initMCollectComponents } from "@upyog/digit-ui-module-mcollect";
+ MCollectModule,
+ MCollectLinks,
+ initMCollectComponents,
+} from "@upyog/digit-ui-module-mcollect";
import { initDSSComponents } from "@upyog/digit-ui-module-dss";
import {
PaymentModule,
@@ -19,16 +16,12 @@ import {
} from "@upyog/digit-ui-module-common";
import { DigitUI } from "@upyog/digit-ui-module-core";
import { initLibraries } from "@upyog/digit-ui-libraries";
+import { HRMSModule, initHRMSComponents } from "@upyog/digit-ui-module-hrms";
+import { TLModule, TLLinks, initTLComponents } from "@upyog/digit-ui-module-tl";
import {
- HRMSModule,
- initHRMSComponents,
-} from "@upyog/digit-ui-module-hrms";
-import {
- TLModule,
- TLLinks,
- initTLComponents,
-} from "@upyog/digit-ui-module-tl";
-import { initReceiptsComponents, ReceiptsModule } from "@upyog/digit-ui-module-receipts";
+ initReceiptsComponents,
+ ReceiptsModule,
+} from "@upyog/digit-ui-module-receipts";
import { initOBPSComponents } from "@upyog/digit-ui-module-obps";
import { initNOCComponents } from "@upyog/digit-ui-module-noc";
import { initEngagementComponents } from "@upyog/digit-ui-module-engagement";
@@ -64,7 +57,7 @@ const enabledModules = [
"BillAmendment",
"FireNoc",
"Birth",
- "Death"
+ "Death",
];
window.Digit.ComponentRegistryService.setupRegistry({
...paymentConfigs,
@@ -78,7 +71,7 @@ window.Digit.ComponentRegistryService.setupRegistry({
HRMSModule,
TLModule,
TLLinks,
- ReceiptsModule
+ ReceiptsModule,
});
initPGRComponents();
diff --git a/frontend/tqm-ui/web/micro-ui-internals/packages/fsm-css/example/index.css b/frontend/tqm-ui/web/micro-ui-internals/packages/fsm-css/example/index.css
index 4af07a52d9e..e8349bb5d2d 100644
--- a/frontend/tqm-ui/web/micro-ui-internals/packages/fsm-css/example/index.css
+++ b/frontend/tqm-ui/web/micro-ui-internals/packages/fsm-css/example/index.css
@@ -1,86 +1,124 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
line-height: 1.15;
- -webkit-text-size-adjust: 100%; }
+ -webkit-text-size-adjust: 100%;
+}
body {
- margin: 0; }
+ margin: 0;
+}
main {
- display: block; }
+ display: block;
+}
h1 {
font-size: 2em;
- margin: .67em 0; }
+ margin: 0.67em 0;
+}
hr {
-webkit-box-sizing: content-box;
box-sizing: initial;
height: 0;
- overflow: visible; }
+ overflow: visible;
+}
pre {
- font-family: monospace,monospace;
- font-size: 1em; }
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
a {
- background-color: initial; }
+ background-color: initial;
+}
abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
- text-decoration: underline dotted; }
+ text-decoration: underline dotted;
+}
-b, strong {
- font-weight: bolder; }
+b,
+strong {
+ font-weight: bolder;
+}
-code, kbd, samp {
- font-family: monospace,monospace;
- font-size: 1em; }
+code,
+kbd,
+samp {
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
small {
- font-size: 80%; }
+ font-size: 80%;
+}
-sub, sup {
+sub,
+sup {
font-size: 75%;
line-height: 0;
position: relative;
- vertical-align: initial; }
+ vertical-align: initial;
+}
sub {
- bottom: -.25em; }
+ bottom: -0.25em;
+}
sup {
- top: -.5em; }
+ top: -0.5em;
+}
img {
- border-style: none; }
+ border-style: none;
+}
-button, input, optgroup, select, textarea {
+button,
+input,
+optgroup,
+select,
+textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
- margin: 0; }
+ margin: 0;
+}
-button, input {
- overflow: visible; }
+button,
+input {
+ overflow: visible;
+}
-button, select {
- text-transform: none; }
+button,
+select {
+ text-transform: none;
+}
-[type=button], [type=submit], button {
- -webkit-appearance: button; }
+[type="button"],
+[type="submit"],
+button {
+ -webkit-appearance: button;
+}
-[type=button]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
+[type="button"]::-moz-focus-inner,
+[type="submit"]::-moz-focus-inner,
+button::-moz-focus-inner {
border-style: none;
- padding: 0; }
+ padding: 0;
+}
-[type=button]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
- outline: 1px dotted ButtonText; }
+[type="button"]:-moz-focusring,
+[type="submit"]:-moz-focusring,
+button:-moz-focusring {
+ outline: 1px dotted ButtonText;
+}
fieldset {
- padding: .35em .75em .625em; }
+ padding: 0.35em 0.75em 0.625em;
+}
legend {
-webkit-box-sizing: border-box;
@@ -89,194 +127,306 @@ legend {
display: table;
max-width: 100%;
padding: 0;
- white-space: normal; }
+ white-space: normal;
+}
progress {
- vertical-align: initial; }
+ vertical-align: initial;
+}
textarea {
- overflow: auto; }
+ overflow: auto;
+}
-[type=checkbox], [type=radio] {
+[type="checkbox"],
+[type="radio"] {
-webkit-box-sizing: border-box;
box-sizing: border-box;
- padding: 0; }
+ padding: 0;
+}
-[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
- height: auto; }
+[type="number"]::-webkit-inner-spin-button,
+[type="number"]::-webkit-outer-spin-button {
+ height: auto;
+}
-[type=search] {
+[type="search"] {
-webkit-appearance: textfield;
- outline-offset: -2px; }
+ outline-offset: -2px;
+}
-[type=search]::-webkit-search-decoration {
- -webkit-appearance: none; }
+[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
details {
- display: block; }
+ display: block;
+}
summary {
- display: list-item; }
+ display: list-item;
+}
template {
- display: none; }
-
-blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
- margin: 0; }
+ display: none;
+}
+
+blockquote,
+dd,
+dl,
+figure,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+hr,
+p,
+pre {
+ margin: 0;
+}
button {
background-color: initial;
- background-image: none; }
+ background-image: none;
+}
button:focus {
outline: 1px dotted;
- outline: 5px auto -webkit-focus-ring-color; }
+ outline: 5px auto -webkit-focus-ring-color;
+}
-fieldset, ol, ul {
+fieldset,
+ol,
+ul {
margin: 0;
- padding: 0; }
+ padding: 0;
+}
-ol, ul {
- list-style: none; }
+ol,
+ul {
+ list-style: none;
+}
html {
- font-family: Roboto,sans-serif;
- line-height: 1.5; }
+ font-family: Roboto, sans-serif;
+ line-height: 1.5;
+}
-*, :after, :before {
+*,
+:after,
+:before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
- border: 0 solid; }
+ border: 0 solid;
+}
hr {
- border-top-width: 1px; }
+ border-top-width: 1px;
+}
img {
- border-style: solid; }
+ border-style: solid;
+}
textarea {
- resize: vertical; }
-
-input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
- color: #a0aec0; }
-
-input::-moz-placeholder, textarea::-moz-placeholder {
- color: #a0aec0; }
-
-input:-ms-input-placeholder, textarea:-ms-input-placeholder {
- color: #a0aec0; }
-
-input::-ms-input-placeholder, textarea::-ms-input-placeholder {
- color: #a0aec0; }
-
-input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
- color: #a0aec0; }
-
-input::-moz-placeholder, textarea::-moz-placeholder {
- color: #a0aec0; }
-
-input:-ms-input-placeholder, textarea:-ms-input-placeholder {
- color: #a0aec0; }
-
-input::-ms-input-placeholder, textarea::-ms-input-placeholder {
- color: #a0aec0; }
-
-input::placeholder, textarea::placeholder {
- color: #a0aec0; }
+ resize: vertical;
+}
+
+input::-webkit-input-placeholder,
+textarea::-webkit-input-placeholder {
+ color: #a0aec0;
+}
+
+input::-moz-placeholder,
+textarea::-moz-placeholder {
+ color: #a0aec0;
+}
+
+input:-ms-input-placeholder,
+textarea:-ms-input-placeholder {
+ color: #a0aec0;
+}
+
+input::-ms-input-placeholder,
+textarea::-ms-input-placeholder {
+ color: #a0aec0;
+}
+
+input::-webkit-input-placeholder,
+textarea::-webkit-input-placeholder {
+ color: #a0aec0;
+}
+
+input::-moz-placeholder,
+textarea::-moz-placeholder {
+ color: #a0aec0;
+}
+
+input:-ms-input-placeholder,
+textarea:-ms-input-placeholder {
+ color: #a0aec0;
+}
+
+input::-ms-input-placeholder,
+textarea::-ms-input-placeholder {
+ color: #a0aec0;
+}
+
+input::placeholder,
+textarea::placeholder {
+ color: #a0aec0;
+}
button {
- cursor: pointer; }
+ cursor: pointer;
+}
table {
- border-collapse: collapse; }
-
-h1, h2, h3, h4, h5, h6 {
+ border-collapse: collapse;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
font-size: inherit;
- font-weight: inherit; }
+ font-weight: inherit;
+}
a {
color: inherit;
- text-decoration: inherit; }
+ text-decoration: inherit;
+}
-button, input, optgroup, select, textarea {
+button,
+input,
+optgroup,
+select,
+textarea {
padding: 0;
line-height: inherit;
- color: inherit; }
-
-code, kbd, pre, samp {
- font-family: SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace; }
-
-audio, canvas, embed, iframe, img, object, svg, video {
+ color: inherit;
+}
+
+code,
+kbd,
+pre,
+samp {
+ font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono,
+ Courier New, monospace;
+}
+
+audio,
+canvas,
+embed,
+iframe,
+img,
+object,
+svg,
+video {
display: block;
- vertical-align: middle; }
+ vertical-align: middle;
+}
-img, video {
+img,
+video {
max-width: 100%;
- height: auto; }
+ height: auto;
+}
.container {
- width: 100%; }
+ width: 100%;
+}
@media (min-width: 780px) {
.container {
- max-width: 780px; } }
+ max-width: 780px;
+ }
+}
.table {
- display: table; }
+ display: table;
+}
@-webkit-keyframes spin {
to {
-webkit-transform: rotate(1turn);
- transform: rotate(1turn); } }
+ transform: rotate(1turn);
+ }
+}
@keyframes spin {
to {
-webkit-transform: rotate(1turn);
- transform: rotate(1turn); } }
+ transform: rotate(1turn);
+ }
+}
@-webkit-keyframes ping {
- 75%, to {
+ 75%,
+ to {
-webkit-transform: scale(2);
transform: scale(2);
- opacity: 0; } }
+ opacity: 0;
+ }
+}
@keyframes ping {
- 75%, to {
+ 75%,
+ to {
-webkit-transform: scale(2);
transform: scale(2);
- opacity: 0; } }
+ opacity: 0;
+ }
+}
@-webkit-keyframes pulse {
50% {
- opacity: .5; } }
+ opacity: 0.5;
+ }
+}
@keyframes pulse {
50% {
- opacity: .5; } }
+ opacity: 0.5;
+ }
+}
@-webkit-keyframes bounce {
- 0%, to {
+ 0%,
+ to {
-webkit-transform: translateY(-25%);
transform: translateY(-25%);
-webkit-animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
- animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
+ animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
+ }
50% {
-webkit-transform: none;
transform: none;
-webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
- animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } }
+ animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
+ }
+}
@keyframes bounce {
- 0%, to {
+ 0%,
+ to {
-webkit-transform: translateY(-25%);
transform: translateY(-25%);
-webkit-animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
- animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
+ animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
+ }
50% {
-webkit-transform: none;
transform: none;
-webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
- animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } }
+ animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
+ }
+}
.rdrCalendarWrapper {
-webkit-box-sizing: border-box;
@@ -292,7 +442,8 @@ img, video {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
- user-select: none; }
+ user-select: none;
+}
.rdrDateDisplay {
display: -webkit-box;
@@ -300,7 +451,8 @@ img, video {
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
- justify-content: space-between; }
+ justify-content: space-between;
+}
.rdrDateDisplayItem {
-webkit-box-flex: 1;
@@ -308,28 +460,35 @@ img, video {
flex: 1 1;
width: 0;
text-align: center;
- color: inherit; }
+ color: inherit;
+}
.rdrDateDisplayItem + .rdrDateDisplayItem {
- margin-left: .833em; }
+ margin-left: 0.833em;
+}
.rdrDateDisplayItem input {
- text-align: inherit; }
+ text-align: inherit;
+}
.rdrDateDisplayItem input:disabled {
- cursor: default; }
+ cursor: default;
+}
.rdrMonthAndYearWrapper {
-webkit-box-sizing: inherit;
box-sizing: inherit;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
- justify-content: space-between; }
+ justify-content: space-between;
+}
-.rdrMonthAndYearPickers, .rdrMonthAndYearWrapper {
+.rdrMonthAndYearPickers,
+.rdrMonthAndYearWrapper {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
.rdrMonthAndYearPickers {
-webkit-box-flex: 1;
@@ -340,24 +499,28 @@ img, video {
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
- align-items: center; }
+ align-items: center;
+}
.rdrNextPrevButton {
-webkit-box-sizing: inherit;
box-sizing: inherit;
cursor: pointer;
- outline: none; }
+ outline: none;
+}
.rdrMonths {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
.rdrMonthsVertical {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
- flex-direction: column; }
+ flex-direction: column;
+}
.rdrMonthsHorizontal > div > div > div {
display: -webkit-box;
@@ -366,52 +529,62 @@ img, video {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
- flex-direction: row; }
+ flex-direction: row;
+}
.rdrMonth {
- width: 27.667em; }
+ width: 27.667em;
+}
.rdrWeekDays {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
.rdrWeekDay {
-ms-flex-preferred-size: 14.28571%;
flex-basis: 14.28571%;
-webkit-box-sizing: inherit;
box-sizing: inherit;
- text-align: center; }
+ text-align: center;
+}
.rdrDays {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
- flex-wrap: wrap; }
+ flex-wrap: wrap;
+}
.rdrInfiniteMonths {
- overflow: auto; }
+ overflow: auto;
+}
.rdrDateRangeWrapper {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
- user-select: none; }
+ user-select: none;
+}
.rdrDateInput {
- position: relative; }
+ position: relative;
+}
.rdrDateInput input {
- outline: none; }
+ outline: none;
+}
.rdrDateInput .rdrWarning {
position: absolute;
font-size: 1.6em;
line-height: 1.6em;
top: 0;
- right: .25em;
- color: red; }
+ right: 0.25em;
+ color: red;
+}
.rdrDay {
-webkit-box-sizing: inherit;
@@ -419,25 +592,35 @@ img, video {
width: 14.28571%;
position: relative;
font: inherit;
- cursor: pointer; }
+ cursor: pointer;
+}
.rdrDayNumber {
display: block;
- position: relative; }
+ position: relative;
+}
.rdrDayNumber span {
- color: #1d2429; }
+ color: #1d2429;
+}
.rdrDayDisabled {
- cursor: not-allowed; }
+ cursor: not-allowed;
+}
@supports (-ms-ime-align: auto) {
.rdrDay {
-ms-flex-preferred-size: 14.285% !important;
- flex-basis: 14.285% !important; } }
+ flex-basis: 14.285% !important;
+ }
+}
-.rdrEndEdge, .rdrInRange, .rdrSelected, .rdrStartEdge {
- pointer-events: none; }
+.rdrEndEdge,
+.rdrInRange,
+.rdrSelected,
+.rdrStartEdge {
+ pointer-events: none;
+}
.rdrDateRangePickerWrapper {
display: -webkit-inline-box;
@@ -446,7 +629,8 @@ img, video {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
- user-select: none; }
+ user-select: none;
+}
.rdrStaticRanges {
display: -webkit-box;
@@ -455,32 +639,39 @@ img, video {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
- flex-direction: column; }
+ flex-direction: column;
+}
.rdrStaticRange {
- font-size: inherit; }
+ font-size: inherit;
+}
.rdrInputRange {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
.rdrCalendarWrapper {
color: #000;
- font-size: 12px; }
+ font-size: 12px;
+}
.rdrDateDisplayWrapper {
- background-color: #eff2f7; }
+ background-color: #eff2f7;
+}
.rdrDateDisplay {
- margin: .833em; }
+ margin: 0.833em;
+}
.rdrDateDisplayItem {
border-radius: 4px;
background-color: #fff;
-webkit-box-shadow: 0 1px 2px 0 rgba(35, 57, 66, 0.21);
box-shadow: 0 1px 2px 0 rgba(35, 57, 66, 0.21);
- border: 1px solid transparent; }
+ border: 1px solid transparent;
+}
.rdrDateDisplayItem input {
cursor: pointer;
@@ -489,23 +680,28 @@ img, video {
border: 0;
background: transparent;
width: 100%;
- color: #849095; }
+ color: #849095;
+}
.rdrDateDisplayItemActive {
- border-color: currentColor; }
+ border-color: currentColor;
+}
.rdrDateDisplayItemActive input {
- color: #7d888d; }
+ color: #7d888d;
+}
.rdrMonthAndYearWrapper {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: 60px;
- padding-top: 10px; }
+ padding-top: 10px;
+}
.rdrMonthAndYearPickers {
- font-weight: 600; }
+ font-weight: 600;
+}
.rdrMonthAndYearPickers select {
-moz-appearance: none;
@@ -517,29 +713,36 @@ img, video {
border-radius: 4px;
outline: 0;
color: #3e484f;
- background: url("data:image/svg+xml;utf8,") no-repeat;
+ background: url("data:image/svg+xml;utf8,")
+ no-repeat;
background-position: right 8px center;
cursor: pointer;
- text-align: center; }
+ text-align: center;
+}
.rdrMonthAndYearPickers select:hover {
- background-color: rgba(0, 0, 0, 0.07); }
+ background-color: rgba(0, 0, 0, 0.07);
+}
-.rdrMonthPicker, .rdrYearPicker {
- margin: 0 5px; }
+.rdrMonthPicker,
+.rdrYearPicker {
+ margin: 0 5px;
+}
.rdrNextPrevButton {
display: block;
width: 24px;
height: 24px;
- margin: 0 .833em;
+ margin: 0 0.833em;
padding: 0;
border: 0;
border-radius: 5px;
- background: #eff2f7; }
+ background: #eff2f7;
+}
.rdrNextPrevButton:hover {
- background: #e1e7f0; }
+ background: #e1e7f0;
+}
.rdrNextPrevButton i {
display: block;
@@ -548,39 +751,49 @@ img, video {
padding: 0;
text-align: center;
border-style: solid;
- margin: auto; }
+ margin: auto;
+}
-.rdrNextPrevButton i, .rdrPprevButton i {
+.rdrNextPrevButton i,
+.rdrPprevButton i {
-webkit-transform: translate(-3px);
- transform: translate(-3px); }
+ transform: translate(-3px);
+}
.rdrPprevButton i {
border-width: 4px 6px 4px 4px;
- border-color: transparent #34495e transparent transparent; }
+ border-color: transparent #34495e transparent transparent;
+}
.rdrNextButton i {
margin: 0 0 0 7px;
border-width: 4px 4px 4px 6px;
border-color: transparent transparent transparent #34495e;
-webkit-transform: translate(3px);
- transform: translate(3px); }
+ transform: translate(3px);
+}
.rdrWeekDays {
- padding: 0 .833em; }
+ padding: 0 0.833em;
+}
.rdrMonth {
- padding: 0 .833em 1.666em; }
+ padding: 0 0.833em 1.666em;
+}
.rdrMonth .rdrWeekDays {
- padding: 0; }
+ padding: 0;
+}
.rdrMonths.rdrMonthsVertical .rdrMonth:first-child .rdrMonthName {
- display: none; }
+ display: none;
+}
.rdrWeekDay {
font-weight: 400;
line-height: 2.667em;
- color: #849095; }
+ color: #849095;
+}
.rdrDay {
background: transparent;
@@ -593,10 +806,12 @@ img, video {
line-height: 3em;
height: 3em;
text-align: center;
- color: #1d2429; }
+ color: #1d2429;
+}
.rdrDay:focus {
- outline: 0; }
+ outline: 0;
+}
.rdrDayNumber {
outline: 0;
@@ -616,10 +831,12 @@ img, video {
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
- justify-content: center; }
+ justify-content: center;
+}
.rdrDayToday .rdrDayNumber span {
- font-weight: 500; }
+ font-weight: 500;
+}
.rdrDayToday .rdrDayNumber span:after {
content: "";
@@ -631,62 +848,97 @@ img, video {
width: 18px;
height: 2px;
border-radius: 2px;
- background: #3d91ff; }
-
-.rdrDayToday:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span:after, .rdrDayToday:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span:after, .rdrDayToday:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span:after, .rdrDayToday:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span:after {
- background: #fff; }
+ background: #3d91ff;
+}
-.rdrDay:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span, .rdrDay:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span, .rdrDay:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span, .rdrDay:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span {
- color: rgba(255, 255, 255, 0.85); }
-
-.rdrEndEdge, .rdrInRange, .rdrSelected, .rdrStartEdge {
+.rdrDayToday:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span:after,
+.rdrDayToday:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span:after,
+.rdrDayToday:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span:after,
+.rdrDayToday:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span:after {
+ background: #fff;
+}
+
+.rdrDay:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span,
+.rdrDay:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span,
+.rdrDay:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span,
+.rdrDay:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span {
+ color: rgba(255, 255, 255, 0.85);
+}
+
+.rdrEndEdge,
+.rdrInRange,
+.rdrSelected,
+.rdrStartEdge {
background: currentColor;
position: absolute;
top: 5px;
left: 0;
right: 0;
- bottom: 5px; }
+ bottom: 5px;
+}
.rdrSelected {
left: 2px;
- right: 2px; }
+ right: 2px;
+}
.rdrStartEdge {
border-top-left-radius: 1.042em;
border-bottom-left-radius: 1.042em;
- left: 2px; }
+ left: 2px;
+}
.rdrEndEdge {
border-top-right-radius: 1.042em;
border-bottom-right-radius: 1.042em;
- right: 2px; }
+ right: 2px;
+}
.rdrSelected {
- border-radius: 1.042em; }
+ border-radius: 1.042em;
+}
-.rdrDayStartOfMonth .rdrEndEdge, .rdrDayStartOfMonth .rdrInRange, .rdrDayStartOfWeek .rdrEndEdge, .rdrDayStartOfWeek .rdrInRange {
+.rdrDayStartOfMonth .rdrEndEdge,
+.rdrDayStartOfMonth .rdrInRange,
+.rdrDayStartOfWeek .rdrEndEdge,
+.rdrDayStartOfWeek .rdrInRange {
border-top-left-radius: 1.042em;
border-bottom-left-radius: 1.042em;
- left: 2px; }
+ left: 2px;
+}
-.rdrDayEndOfMonth .rdrInRange, .rdrDayEndOfMonth .rdrStartEdge, .rdrDayEndOfWeek .rdrInRange, .rdrDayEndOfWeek .rdrStartEdge {
+.rdrDayEndOfMonth .rdrInRange,
+.rdrDayEndOfMonth .rdrStartEdge,
+.rdrDayEndOfWeek .rdrInRange,
+.rdrDayEndOfWeek .rdrStartEdge {
border-top-right-radius: 1.042em;
border-bottom-right-radius: 1.042em;
- right: 2px; }
+ right: 2px;
+}
-.rdrDayStartOfMonth .rdrDayEndPreview, .rdrDayStartOfMonth .rdrDayInPreview, .rdrDayStartOfWeek .rdrDayEndPreview, .rdrDayStartOfWeek .rdrDayInPreview {
+.rdrDayStartOfMonth .rdrDayEndPreview,
+.rdrDayStartOfMonth .rdrDayInPreview,
+.rdrDayStartOfWeek .rdrDayEndPreview,
+.rdrDayStartOfWeek .rdrDayInPreview {
border-top-left-radius: 1.333em;
border-bottom-left-radius: 1.333em;
border-left-width: 1px;
- left: 0; }
+ left: 0;
+}
-.rdrDayEndOfMonth .rdrDayInPreview, .rdrDayEndOfMonth .rdrDayStartPreview, .rdrDayEndOfWeek .rdrDayInPreview, .rdrDayEndOfWeek .rdrDayStartPreview {
+.rdrDayEndOfMonth .rdrDayInPreview,
+.rdrDayEndOfMonth .rdrDayStartPreview,
+.rdrDayEndOfWeek .rdrDayInPreview,
+.rdrDayEndOfWeek .rdrDayStartPreview {
border-top-right-radius: 1.333em;
border-bottom-right-radius: 1.333em;
border-right-width: 1px;
- right: 0; }
+ right: 0;
+}
-.rdrDayEndPreview, .rdrDayInPreview, .rdrDayStartPreview {
+.rdrDayEndPreview,
+.rdrDayInPreview,
+.rdrDayStartPreview {
background: rgba(255, 255, 255, 0.09);
position: absolute;
top: 3px;
@@ -695,7 +947,8 @@ img, video {
bottom: 3px;
pointer-events: none;
border: 0 solid;
- z-index: 1; }
+ z-index: 1;
+}
.rdrDayStartPreview {
border-top-width: 1px;
@@ -703,28 +956,34 @@ img, video {
border-bottom-width: 1px;
border-top-left-radius: 1.333em;
border-bottom-left-radius: 1.333em;
- left: 0; }
+ left: 0;
+}
-.rdrDayEndPreview, .rdrDayInPreview {
+.rdrDayEndPreview,
+.rdrDayInPreview {
border-top-width: 1px;
- border-bottom-width: 1px; }
+ border-bottom-width: 1px;
+}
.rdrDayEndPreview {
border-right-width: 1px;
border-top-right-radius: 1.333em;
border-bottom-right-radius: 1.333em;
right: 2px;
- right: 0; }
+ right: 0;
+}
.rdrDefinedRangesWrapper {
font-size: 12px;
width: 226px;
border-right: 1px solid #eff2f7;
- background: #fff; }
+ background: #fff;
+}
.rdrDefinedRangesWrapper .rdrStaticRangeSelected {
color: currentColor;
- font-weight: 600; }
+ font-weight: 600;
+}
.rdrStaticRange {
border: 0;
@@ -733,26 +992,32 @@ img, video {
outline: 0;
border-bottom: 1px solid #eff2f7;
padding: 0;
- background: #fff; }
+ background: #fff;
+}
-.rdrStaticRange:focus .rdrStaticRangeLabel, .rdrStaticRange:hover .rdrStaticRangeLabel {
- background: #eff2f7; }
+.rdrStaticRange:focus .rdrStaticRangeLabel,
+.rdrStaticRange:hover .rdrStaticRangeLabel {
+ background: #eff2f7;
+}
.rdrStaticRangeLabel {
display: block;
outline: 0;
line-height: 18px;
padding: 10px 20px;
- text-align: left; }
+ text-align: left;
+}
.rdrInputRanges {
- padding: 10px 0; }
+ padding: 10px 0;
+}
.rdrInputRange {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
- padding: 5px 20px; }
+ padding: 5px 20px;
+}
.rdrInputRangeInput {
width: 30px;
@@ -762,14 +1027,19 @@ img, video {
text-align: center;
border: 1px solid #dee7eb;
margin-right: 10px;
- color: #6c767a; }
+ color: #6c767a;
+}
-.rdrInputRangeInput:focus, .rdrInputRangeInput:hover {
+.rdrInputRangeInput:focus,
+.rdrInputRangeInput:hover {
border-color: #b4bfc4;
outline: 0;
- color: #333; }
+ color: #333;
+}
-.rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrDayHovered .rdrDayNumber:after {
+.rdrCalendarWrapper:not(.rdrDateRangeWrapper)
+ .rdrDayHovered
+ .rdrDayNumber:after {
content: "";
border: 1px solid;
border-radius: 1.333em;
@@ -778,56 +1048,82 @@ img, video {
bottom: -2px;
left: 0;
right: 0;
- background: transparent; }
+ background: transparent;
+}
.rdrDayPassive {
- pointer-events: none; }
+ pointer-events: none;
+}
.rdrDayPassive .rdrDayNumber span {
- color: #d5dce0; }
-
-.rdrDayPassive .rdrDayEndPreview, .rdrDayPassive .rdrDayInPreview, .rdrDayPassive .rdrDayStartPreview, .rdrDayPassive .rdrEndEdge, .rdrDayPassive .rdrInRange, .rdrDayPassive .rdrSelected, .rdrDayPassive .rdrStartEdge {
- display: none; }
+ color: #d5dce0;
+}
+
+.rdrDayPassive .rdrDayEndPreview,
+.rdrDayPassive .rdrDayInPreview,
+.rdrDayPassive .rdrDayStartPreview,
+.rdrDayPassive .rdrEndEdge,
+.rdrDayPassive .rdrInRange,
+.rdrDayPassive .rdrSelected,
+.rdrDayPassive .rdrStartEdge {
+ display: none;
+}
.rdrDayDisabled {
- background-color: #f8f8f8; }
+ background-color: #f8f8f8;
+}
.rdrDayDisabled .rdrDayNumber span {
- color: #aeb9bf; }
-
-.rdrDayDisabled .rdrDayEndPreview, .rdrDayDisabled .rdrDayInPreview, .rdrDayDisabled .rdrDayStartPreview, .rdrDayDisabled .rdrEndEdge, .rdrDayDisabled .rdrInRange, .rdrDayDisabled .rdrSelected, .rdrDayDisabled .rdrStartEdge {
+ color: #aeb9bf;
+}
+
+.rdrDayDisabled .rdrDayEndPreview,
+.rdrDayDisabled .rdrDayInPreview,
+.rdrDayDisabled .rdrDayStartPreview,
+.rdrDayDisabled .rdrEndEdge,
+.rdrDayDisabled .rdrInRange,
+.rdrDayDisabled .rdrSelected,
+.rdrDayDisabled .rdrStartEdge {
-webkit-filter: grayscale(100%) opacity(60%);
- filter: grayscale(100%) opacity(60%); }
+ filter: grayscale(100%) opacity(60%);
+}
.rdrMonthName {
text-align: left;
font-weight: 600;
color: #849095;
- padding: .833em; }
+ padding: 0.833em;
+}
.employeeCard {
- margin: .5rem .5rem 1rem;
- padding: 1rem .5rem; }
+ margin: 0.5rem 0.5rem 1rem;
+ padding: 1rem 0.5rem;
+}
.employeeCard.fsm {
margin-bottom: 16px !important;
margin-left: 0 !important;
- margin-right: 16px !important; }
+ margin-right: 16px !important;
+}
.employeeCard.card-tqm-message {
font-size: 1.5rem;
font-weight: 700;
text-wrap: wrap;
text-align: center;
- margin: 0; }
- .employeeCard.card-tqm-message.success {
- border: 1px solid #00703c;
- color: #00703c; }
- .employeeCard.card-tqm-message.error {
- border: 1px solid #d4351c;
- color: #d4351c; }
- .employeeCard.card-tqm-message p {
- font-size: 1rem; }
+ margin: 0;
+}
+.employeeCard.card-tqm-message.success {
+ border: 1px solid #00703c;
+ color: #00703c;
+}
+.employeeCard.card-tqm-message.error {
+ border: 1px solid #d4351c;
+ color: #d4351c;
+}
+.employeeCard.card-tqm-message p {
+ font-size: 1rem;
+}
.employeeCard.tqm-card-reading {
width: 100%;
@@ -837,48 +1133,66 @@ img, video {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
- padding: .5rem;
+ padding: 0.5rem;
background-color: #f7f8fc;
border: 1px solid #d6d5d4;
-webkit-box-shadow: none;
- box-shadow: none; }
- .employeeCard.tqm-card-reading svg {
- margin-right: .5rem; }
- .employeeCard.tqm-card-reading .row.tqm-readings-info {
- width: 100%;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between; }
- .employeeCard.tqm-card-reading .row.tqm-readings-info .value, .employeeCard.tqm-card-reading .row.tqm-readings-info h2 {
- font-size: 1rem;
- font-weight: 700; }
- .employeeCard.tqm-card-reading .row.tqm-readings-info .value.success {
- color: #00703c; }
- .employeeCard.tqm-card-reading .row.tqm-readings-info .value.error {
- color: #d4351c; }
-
-.employee-card-sub-header, .employeeCard .card-sub-header, .employeeCard .employee-card-sub-header {
+ box-shadow: none;
+}
+.employeeCard.tqm-card-reading svg {
+ margin-right: 0.5rem;
+}
+.employeeCard.tqm-card-reading .row.tqm-readings-info {
+ width: 100%;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+}
+.employeeCard.tqm-card-reading .row.tqm-readings-info .value,
+.employeeCard.tqm-card-reading .row.tqm-readings-info h2 {
+ font-size: 1rem;
+ font-weight: 700;
+}
+.employeeCard.tqm-card-reading .row.tqm-readings-info .value.success {
+ color: #00703c;
+}
+.employeeCard.tqm-card-reading .row.tqm-readings-info .value.error {
+ color: #d4351c;
+}
+
+.employee-card-sub-header,
+.employeeCard .card-sub-header,
+.employeeCard .employee-card-sub-header {
font-size: 1.5rem;
- margin-bottom: 1rem; }
+ margin-bottom: 1rem;
+}
.employeeCard .employeeCard.tqm-card-reading {
margin-left: unset;
- margin-top: 1rem; }
-
-.employeeCard .complaint-links-container .body .links-wrapper > .link:first-child {
- margin-bottom: .75rem;
- margin-top: .75rem; }
+ margin-top: 1rem;
+}
+
+.employeeCard
+ .complaint-links-container
+ .body
+ .links-wrapper
+ > .link:first-child {
+ margin-bottom: 0.75rem;
+ margin-top: 0.75rem;
+}
.employeeCard .complaint-links-container .body .links-wrapper > .link {
- margin-bottom: .75rem; }
+ margin-bottom: 0.75rem;
+}
.react-switch-checkbox {
height: 0;
width: 0;
- visibility: hidden; }
+ visibility: hidden;
+}
.react-switch-label {
display: -webkit-box;
@@ -896,9 +1210,10 @@ img, video {
background: #fff;
border-radius: 100px;
position: relative;
- -webkit-transition: background-color .2s;
- transition: background-color .2s;
- border: 1px solid #bbb; }
+ -webkit-transition: background-color 0.2s;
+ transition: background-color 0.2s;
+ border: 1px solid #bbb;
+}
.react-switch-label .react-switch-button {
content: "";
@@ -908,19 +1223,22 @@ img, video {
width: 14px;
height: 14px;
border-radius: 45px;
- -webkit-transition: .2s;
- transition: .2s;
+ -webkit-transition: 0.2s;
+ transition: 0.2s;
background: #f47738;
-webkit-box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
- box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29); }
+ box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
+}
.react-switch-checkbox:checked + .react-switch-label .react-switch-button {
left: calc(100% - 2px);
-webkit-transform: translateX(-100%);
- transform: translateX(-100%); }
+ transform: translateX(-100%);
+}
.react-switch-label:active .react-switch-button {
- width: 45px; }
+ width: 45px;
+}
.PlusMinus {
text-align: center;
@@ -931,7 +1249,8 @@ img, video {
align-content: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
- justify-content: center; }
+ justify-content: center;
+}
.PlusMinusbutton {
border: 1px solid #d6d5d4;
@@ -940,38 +1259,45 @@ img, video {
font-size: 27px;
font-weight: 400;
text-align: center;
- width: 40px; }
+ width: 40px;
+}
.table {
- --bg-opacity:1;
+ --bg-opacity: 1;
background-color: #fff;
background-color: rgba(255, 255, 255, var(--bg-opacity));
width: 100%;
border-left-width: 24px;
border-right-width: 24px;
border-left-color: #fff;
- border-right-color: #fff; }
- .table thead th {
- padding: 20px 18px;
- font-weight: 700;
- vertical-align: middle;
- text-align: left; }
- .table thead th:first-child {
- min-width: 256px; }
- .table thead th:nth-child(2) {
- min-width: 200px; }
- .table tbody {
- border: none;
- padding: 0;
- margin: 0; }
- .table tbody td {
- border-top-width: 1px;
- --border-opacity:1;
- border-color: #d6d5d4;
- border-color: rgba(214, 213, 212, var(--border-opacity));
- text-align: left;
- vertical-align: middle;
- padding: "20px 18px"; }
+ border-right-color: #fff;
+}
+.table thead th {
+ padding: 20px 18px;
+ font-weight: 700;
+ vertical-align: middle;
+ text-align: left;
+}
+.table thead th:first-child {
+ min-width: 256px;
+}
+.table thead th:nth-child(2) {
+ min-width: 200px;
+}
+.table tbody {
+ border: none;
+ padding: 0;
+ margin: 0;
+}
+.table tbody td {
+ border-top-width: 1px;
+ --border-opacity: 1;
+ border-color: #d6d5d4;
+ border-color: rgba(214, 213, 212, var(--border-opacity));
+ text-align: left;
+ vertical-align: middle;
+ padding: "20px 18px";
+}
.fsm-table {
width: 100%;
@@ -979,40 +1305,47 @@ img, video {
border-radius: 4px 4px 0 0;
overflow-x: auto;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16); }
- .fsm-table .table {
- --bg-opacity:1;
- background-color: #fff;
- background-color: rgba(255, 255, 255, var(--bg-opacity));
- width: 100%;
- border-radius: 4px 4px 0 0;
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
- border-left-width: 24px;
- border-right-width: 24px;
- border-left-color: #fff;
- border-right-color: #fff; }
- .fsm-table .table thead th {
- padding: 20px 18px;
- font-weight: 700;
- vertical-align: middle;
- text-align: left; }
- .fsm-table .table thead th:first-child {
- min-width: 256px; }
- .fsm-table .table thead th:nth-child(2) {
- min-width: 200px; }
- .fsm-table .table tbody {
- border: none;
- padding: 0;
- margin: 0; }
- .fsm-table .table tbody td {
- border-top-width: 1px;
- --border-opacity:1;
- border-color: #d6d5d4;
- border-color: rgba(214, 213, 212, var(--border-opacity));
- text-align: left;
- vertical-align: middle;
- padding: "20px 18px"; }
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
+}
+.fsm-table .table {
+ --bg-opacity: 1;
+ background-color: #fff;
+ background-color: rgba(255, 255, 255, var(--bg-opacity));
+ width: 100%;
+ border-radius: 4px 4px 0 0;
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
+ border-left-width: 24px;
+ border-right-width: 24px;
+ border-left-color: #fff;
+ border-right-color: #fff;
+}
+.fsm-table .table thead th {
+ padding: 20px 18px;
+ font-weight: 700;
+ vertical-align: middle;
+ text-align: left;
+}
+.fsm-table .table thead th:first-child {
+ min-width: 256px;
+}
+.fsm-table .table thead th:nth-child(2) {
+ min-width: 200px;
+}
+.fsm-table .table tbody {
+ border: none;
+ padding: 0;
+ margin: 0;
+}
+.fsm-table .table tbody td {
+ border-top-width: 1px;
+ --border-opacity: 1;
+ border-color: #d6d5d4;
+ border-color: rgba(214, 213, 212, var(--border-opacity));
+ text-align: left;
+ vertical-align: middle;
+ padding: "20px 18px";
+}
.pagination {
display: -webkit-box;
@@ -1031,252 +1364,346 @@ img, video {
border-right-width: 24px;
border-left-width: 24px;
padding: 20px 40px 20px 0;
- color: #505a5f; }
- .pagination svg {
- fill: #505a5f;
- margin-left: 16px; }
+ color: #505a5f;
+}
+.pagination svg {
+ fill: #505a5f;
+ margin-left: 16px;
+}
.pagination button:first-child span:after {
- content: "\f105"; }
+ content: "\f105";
+}
.fullWidth {
- width: 100% !important; }
+ width: 100% !important;
+}
.customTable {
- width: 100%; }
- .customTable th {
- font-weight: 700; }
- .customTable td, .customTable th {
- text-align: left;
- border-bottom: 1px solid #b1b4b6;
- padding: 15px 10px; }
- .customTable tr:nth-child(odd) {
- background-color: #eee; }
- .customTable tr:nth-child(2n) {
- background-color: #fff; }
- .customTable thead tr:first-child {
- background-color: unset; }
+ width: 100%;
+}
+.customTable th {
+ font-weight: 700;
+}
+.customTable td,
+.customTable th {
+ text-align: left;
+ border-bottom: 1px solid #b1b4b6;
+ padding: 15px 10px;
+}
+.customTable tr:nth-child(odd) {
+ background-color: #eee;
+}
+.customTable tr:nth-child(2n) {
+ background-color: #fff;
+}
+.customTable thead tr:first-child {
+ background-color: unset;
+}
.table-fixed-first-column thead th:first-child {
position: sticky;
background: #fff;
left: 0;
border-right: 1px solid #b1b4b6;
- border-top-left-radius: 4px; }
+ border-top-left-radius: 4px;
+}
.table-fixed-first-column tbody td:first-child {
position: sticky;
background: #fff;
color: #f47738;
left: 0;
- border-right: 1px solid #b1b4b6; }
+ border-right: 1px solid #b1b4b6;
+}
.table-fixed-column-common-pay thead th:first-child {
- left: 0; }
+ left: 0;
+}
-.table-fixed-column-common-pay thead th:first-child, .table-fixed-column-common-pay thead th:last-child {
+.table-fixed-column-common-pay thead th:first-child,
+.table-fixed-column-common-pay thead th:last-child {
position: sticky;
background: #eee;
- border-top-left-radius: 4px; }
+ border-top-left-radius: 4px;
+}
.table-fixed-column-common-pay thead th:last-child {
- right: 0; }
+ right: 0;
+}
.table-fixed-column-common-pay tbody td:first-child {
- left: 0; }
+ left: 0;
+}
-.table-fixed-column-common-pay tbody td:first-child, .table-fixed-column-common-pay tbody td:last-child {
+.table-fixed-column-common-pay tbody td:first-child,
+.table-fixed-column-common-pay tbody td:last-child {
position: sticky;
- background: #eee; }
+ background: #eee;
+}
.table-fixed-column-common-pay tbody td:last-child {
- right: 0; }
+ right: 0;
+}
.table-fixed-first-second-column thead th:nth-child(2) {
position: sticky;
left: 0;
- background-color: #fff; }
+ background-color: #fff;
+}
.table-fixed-first-second-column tbody td:nth-child(2) {
position: sticky;
left: 0;
- background-color: inherit; }
+ background-color: inherit;
+}
.table-border-style {
border: 1px solid #b1b4b6;
border-radius: 4px;
border-spacing: 0;
- border-collapse: initial; }
+ border-collapse: initial;
+}
.dss-table-wrapper {
width: 100%;
display: block;
- overflow-x: auto; }
- .dss-table-wrapper table th .tooltip {
- min-width: 80px; }
- .dss-table-wrapper table tr td span {
- white-space: pre;
- min-width: 80px; }
+ overflow-x: auto;
+}
+.dss-table-wrapper table th .tooltip {
+ min-width: 80px;
+}
+.dss-table-wrapper table tr td span {
+ white-space: pre;
+ min-width: 80px;
+}
.reports-table {
- margin-top: 2rem; }
- .reports-table thead th:first-child {
- min-width: unset; }
+ margin-top: 2rem;
+}
+.reports-table thead th:first-child {
+ min-width: unset;
+}
.loginFormStyleEmployee .employeeCard .submit-bar {
- width: 100%; }
+ width: 100%;
+}
.banner .bannerCard {
- min-width: 420px !important; }
-
-.employeeForgotPassword .employeeCard .field .field-container .component-in-front {
+ min-width: 420px !important;
+}
+
+.employeeForgotPassword
+ .employeeCard
+ .field
+ .field-container
+ .component-in-front {
margin-top: 0;
border: 1px solid;
border-right: none;
- padding: 7px; }
+ padding: 7px;
+}
@media (min-width: 780px) {
- .employeeForgotPassword .employeeCard .field .field-container .component-in-front {
- padding: 7px; }
- .banner .bannerCard, .loginFormStyleEmployee .employeeCard {
- min-width: 420px !important; }
- .employeeChangePassword .employeeCard, .employeeForgotPassword .employeeCard {
+ .employeeForgotPassword
+ .employeeCard
+ .field
+ .field-container
+ .component-in-front {
+ padding: 7px;
+ }
+ .banner .bannerCard,
+ .loginFormStyleEmployee .employeeCard {
+ min-width: 420px !important;
+ }
+ .employeeChangePassword .employeeCard,
+ .employeeForgotPassword .employeeCard {
max-width: 420px !important;
- min-width: 420px !important; } }
+ min-width: 420px !important;
+ }
+}
.employeeForgotPassword .employee-card-input {
margin-bottom: 0;
- border-left: none; }
+ border-left: none;
+}
.employeeForgotPassword .field-container {
- margin: 10px 0; }
+ margin: 10px 0;
+}
.employeeForgotPassword .submit-bar {
- width: 100%; }
+ width: 100%;
+}
.employeeChangePassword .submit-bar {
- width: 100% !important; }
+ width: 100% !important;
+}
-.employeeChangePassword .card-text, .employeeChangePassword .input-otp-wrap {
- text-align: center; }
+.employeeChangePassword .card-text,
+.employeeChangePassword .input-otp-wrap {
+ text-align: center;
+}
.submit-bar .submit-bar {
- width: 100%; }
+ width: 100%;
+}
-.employeeChangePassword .bannerHeader p, .employeeForgotPassword .bannerHeader p, .loginFormStyleEmployee .bannerHeader p {
- font-size: 19px; }
+.employeeChangePassword .bannerHeader p,
+.employeeForgotPassword .bannerHeader p,
+.loginFormStyleEmployee .bannerHeader p {
+ font-size: 19px;
+}
.employeeCard .card-sub-header {
- font-size: 24px; }
+ font-size: 24px;
+}
-.employeeForgotPassword .employeeCard .card-label, .loginFormStyleEmployee .employeeCard .card-label {
+.employeeForgotPassword .employeeCard .card-label,
+.loginFormStyleEmployee .employeeCard .card-label {
font-weight: 400;
font-size: 16px;
line-height: 19px;
color: #0b0c0c;
- margin-top: 20px; }
+ margin-top: 20px;
+}
.banner .bannerHeader {
- margin-bottom: 20px; }
+ margin-bottom: 20px;
+}
.employeeCard .card-label {
font-weight: 400;
font-size: 16px;
line-height: 19px;
- color: #0b0c0c; }
+ color: #0b0c0c;
+}
.profile-label-margin {
- margin-top: 10px; }
+ margin-top: 10px;
+}
.employeeForgotPassword .employeeCard .card-label-desc {
font-weight: 400;
font-size: 16px;
line-height: 24px;
color: #505a5f;
- margin-top: 15px; }
+ margin-top: 15px;
+}
.employeeChangePassword .employeeCard .card-text {
margin-bottom: 15px;
font-size: 16px;
- color: #505a5f; }
+ color: #505a5f;
+}
@media screen and (max-width: 768px) {
.employeeChangePassword .employeeCard .card-text {
- margin-top: 7px; }
+ margin-top: 7px;
+ }
.employeeCard .card-sub-header {
- font-size: 18px; } }
+ font-size: 18px;
+ }
+}
.employeeChangePassword .employeeCard .card-text-button {
text-align: center !important;
- margin-bottom: 12px !important; }
+ margin-bottom: 12px !important;
+}
.employeeChangePassword .employeeCard .input-otp-wrap {
- margin-bottom: 10px; }
+ margin-bottom: 10px;
+}
.employee .loginContainer {
- padding-top: 0 !important; }
+ padding-top: 0 !important;
+}
.banner {
- height: 100vh !important; }
+ height: 100vh !important;
+}
.employeeChangePassword .employeeCard .field .field-container {
- margin-bottom: 24px; }
+ margin-bottom: 24px;
+}
-.employeeChangePassword .employeeCard .employee-card-sub-header, .employeeForgotPassword .employeeCard .employee-card-sub-header, .loginFormStyleEmployee .employeeCard .employee-card-sub-header {
+.employeeChangePassword .employeeCard .employee-card-sub-header,
+.employeeForgotPassword .employeeCard .employee-card-sub-header,
+.loginFormStyleEmployee .employeeCard .employee-card-sub-header {
font-size: 24px !important;
line-height: 28px !important;
- margin-bottom: 0 !important; }
+ margin-bottom: 0 !important;
+}
@media screen and (max-width: 768px) {
- .employeeChangePassword .employeeCard .employee-card-sub-header, .employeeForgotPassword .employeeCard .employee-card-sub-header, .loginFormStyleEmployee .employeeCard .employee-card-sub-header {
+ .employeeChangePassword .employeeCard .employee-card-sub-header,
+ .employeeForgotPassword .employeeCard .employee-card-sub-header,
+ .loginFormStyleEmployee .employeeCard .employee-card-sub-header {
font-size: 18px !important;
line-height: 21px !important;
- margin-bottom: 0 !important; }
- .banner .bannerCard, .loginFormStyleEmployee .employeeCard {
+ margin-bottom: 0 !important;
+ }
+ .banner .bannerCard,
+ .loginFormStyleEmployee .employeeCard {
min-width: 340px !important;
- margin: 10px !important; }
- .employeeChangePassword .employeeCard, .employeeForgotPassword .employeeCard {
+ margin: 10px !important;
+ }
+ .employeeChangePassword .employeeCard,
+ .employeeForgotPassword .employeeCard {
max-width: 360px !important;
min-width: 340px !important;
- margin: 10px !important; } }
+ margin: 10px !important;
+ }
+}
.employeeChangePassword .employeeCard .card-text {
margin-top: 18px !important;
- margin-bottom: 20px !important; }
+ margin-bottom: 20px !important;
+}
.employeeBackbuttonAlign {
- display: none; }
+ display: none;
+}
.employee-select-wrap.login-city-dd .options-card {
- max-height: 200px; }
+ max-height: 200px;
+}
@media screen and (max-width: 768px) {
.employeeBackbuttonAlign {
display: block;
position: absolute;
top: 20px;
- left: 20px; }
+ left: 20px;
+ }
.banner {
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
padding-bottom: 40px;
- height: 100vh !important; }
+ height: 100vh !important;
+ }
.topbar {
background: rgba(34, 57, 77, var(--bg-opacity)) !important;
- color: #fff; }
+ color: #fff;
+ }
.employee .loginContainer {
- padding-top: 0 !important; }
+ padding-top: 0 !important;
+ }
.removeBottomMargin {
- margin-bottom: 0 !important; }
+ margin-bottom: 0 !important;
+ }
.employee-select-wrap.login-city-dd .options-card {
- max-height: 160px; } }
+ max-height: 160px;
+ }
+}
.search-instruction-header {
margin-bottom: 1rem;
font-size: 16px;
font-weight: 500;
- color: #505a5f; }
+ color: #505a5f;
+}
.no-data-found {
height: 100%;
@@ -1293,32 +1720,51 @@ img, video {
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
- align-items: center; }
- .no-data-found .error-msg {
- margin: 2rem; }
-
-.inbox-search-wrapper .inbox-search-component-wrapper .sections-parent.inbox .links .inbox-links-icon {
+ align-items: center;
+}
+.no-data-found .error-msg {
+ margin: 2rem;
+}
+
+.inbox-search-wrapper
+ .inbox-search-component-wrapper
+ .sections-parent.inbox
+ .links
+ .inbox-links-icon {
height: 40px;
- width: 40px; }
- .inbox-search-wrapper .inbox-search-component-wrapper .sections-parent.inbox .links .inbox-links-icon path:first-child {
- fill: none; }
+ width: 40px;
+}
+.inbox-search-wrapper
+ .inbox-search-component-wrapper
+ .sections-parent.inbox
+ .links
+ .inbox-links-icon
+ path:first-child {
+ fill: none;
+}
.inbox-search-wrapper .search-wrapper {
- border-radius: 4px; }
+ border-radius: 4px;
+}
.inbox-search-wrapper .sections-parent.search .searchBox {
- margin-bottom: 0; }
+ margin-bottom: 0;
+}
.inbox-search-wrapper .sections-parent.search .details-container {
margin-top: 0;
- margin-bottom: 1rem; }
+ margin-bottom: 1rem;
+}
.search-wrapper .search-button-wrapper.inbox.sort button {
- width: 100%; }
+ width: 100%;
+}
@media (max-width: 649px) {
.search-wrapper .search-button-wrapper {
- padding-bottom: 8px; } }
+ padding-bottom: 8px;
+ }
+}
.popup-label .header {
display: -webkit-box;
@@ -1326,21 +1772,26 @@ img, video {
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
- align-items: center; }
+ align-items: center;
+}
.clear-search.refresh-icon-container {
padding: unset;
- border: unset; }
+ border: unset;
+}
.popup-module .search-wrapper .search-field-wrapper .label-field-pair {
- margin-bottom: 1rem; }
+ margin-bottom: 1rem;
+}
.multi-select-dropdown-wrap .server {
- overflow: auto; }
+ overflow: auto;
+}
.employee .breadcrumb {
margin-left: 8px;
- margin-bottom: 24px; }
+ margin-bottom: 24px;
+}
.employee .ground-container {
margin-bottom: 56px;
@@ -1350,19 +1801,22 @@ img, video {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
- flex-direction: column; }
+ flex-direction: column;
+}
.employee .card-home {
font-size: 16px;
padding: 0 0 16px;
width: 92vw;
display: inline-block;
- margin: 8px auto; }
+ margin: 8px auto;
+}
.employee .home-action-cards {
height: auto !important;
min-height: auto;
- padding-bottom: 0; }
+ padding-bottom: 0;
+}
.employee .topbar {
position: fixed;
@@ -1372,59 +1826,76 @@ img, video {
background: #fff;
-webkit-box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
- z-index: 9999; }
- .employee .topbar img {
- display: inline; }
- .employee .topbar img.city {
- margin-right: 8px;
- height: 48px;
- width: 48px; }
- .employee .topbar img.state {
- height: 20px;
- max-height: 20px;
- width: auto; }
- .employee .topbar .ulb {
- font-weight: 700; }
- .employee .topbar .right {
- float: right;
- margin-top: 12px; }
- .employee .topbar .right .user-img-txt {
- background: #f47738;
- padding: 10px 15px;
- border-radius: 50%;
- color: #fff;
- font-weight: 700; }
-
-.employee .loginContainer, .employee .main {
- padding-top: 88px; }
+ z-index: 9999;
+}
+.employee .topbar img {
+ display: inline;
+}
+.employee .topbar img.city {
+ margin-right: 8px;
+ height: 48px;
+ width: 48px;
+}
+.employee .topbar img.state {
+ height: 20px;
+ max-height: 20px;
+ width: auto;
+}
+.employee .topbar .ulb {
+ font-weight: 700;
+}
+.employee .topbar .right {
+ float: right;
+ margin-top: 12px;
+}
+.employee .topbar .right .user-img-txt {
+ background: #f47738;
+ padding: 10px 15px;
+ border-radius: 50%;
+ color: #fff;
+ font-weight: 700;
+}
+
+.employee .loginContainer,
+.employee .main {
+ padding-top: 88px;
+}
.employee .react-time-picker {
- width: 100%; }
+ width: 100%;
+}
.employee .react-time-picker__wrapper {
- border: 1px solid #464646; }
+ border: 1px solid #464646;
+}
.employee .react-time-picker__clock {
- display: none; }
+ display: none;
+}
.employee .react-time-picker__inputGroup__leadingZero {
padding-right: 8px;
- display: inline !important; }
+ display: inline !important;
+}
.employee .react-time-picker__inputGroup__input {
padding: 0;
min-width: none;
outline: none !important;
- border: none !important; }
+ border: none !important;
+}
.employee .react-time-picker__wrapper {
- padding-left: 8px; }
+ padding-left: 8px;
+}
.citizen .main {
padding-top: 82px;
- min-height: calc(100vh - 90px); }
+ min-height: calc(100vh - 90px);
+}
-.citizen .sidebar, .employee .sidebar {
+.citizen .sidebar,
+.employee .sidebar {
position: fixed;
left: 0;
background: #22394d;
@@ -1432,138 +1903,204 @@ img, video {
color: #fff;
margin-top: 80px;
z-index: 10;
- -webkit-transition: all .3s ease;
- transition: all .3s ease;
+ -webkit-transition: all 0.3s ease;
+ transition: all 0.3s ease;
white-space: nowrap;
height: calc(100vh - 36px);
- padding-bottom: 5rem; }
- .citizen .sidebar .actions, .employee .sidebar .actions {
- cursor: pointer;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center; }
- .citizen .sidebar .actions .tooltip, .employee .sidebar .actions .tooltip {
- margin-left: 16px; }
- .citizen .sidebar svg, .employee .sidebar svg {
- width: 24px;
- height: 24px;
- fill: #fff; }
- .citizen .sidebar a, .employee .sidebar a {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex; }
- .citizen .sidebar .sidebar-link, .employee .sidebar .sidebar-link {
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- padding: 20px; }
- .citizen .sidebar .sidebar-link.active, .employee .sidebar .sidebar-link.active {
- color: #f47738 !important;
- border-right: 4px solid #f47738; }
- .citizen .sidebar .sidebar-link.active svg, .employee .sidebar .sidebar-link.active svg {
- fill: #f47738 !important; }
- .citizen .sidebar .sidebar-link .employee-search-input, .employee .sidebar .sidebar-link .employee-search-input {
- border: none;
- outline: none;
- background-color: transparent;
- margin-left: 13px; }
- .citizen .sidebar .sidebar-link .custom-link .tooltip, .employee .sidebar .sidebar-link .custom-link .tooltip {
- margin-left: 16px; }
- .citizen .sidebar .sidebar-link .custom-link .tooltip span, .employee .sidebar .sidebar-link .custom-link .tooltip span {
- margin-left: unset !important;
- left: unset !important; }
- .citizen .sidebar .sidebar-link svg, .employee .sidebar .sidebar-link svg {
- fill: #fff !important;
- width: 21px;
- height: 21px; }
- .citizen .sidebar .sidebar-link:hover, .employee .sidebar .sidebar-link:hover {
- color: #f47738 !important;
- background-color: #486480;
- cursor: pointer; }
- .citizen .sidebar .sidebar-link:hover svg, .employee .sidebar .sidebar-link:hover svg {
- fill: #f47738 !important; }
- .citizen .sidebar .sidebar-link .search-icon-wrapper svg, .employee .sidebar .sidebar-link .search-icon-wrapper svg {
- fill: #fff !important;
- width: 21px;
- height: 21px; }
- .citizen .sidebar .sidebar-link .search-icon-wrapper svg path, .employee .sidebar .sidebar-link .search-icon-wrapper svg path {
- fill: #fff !important; }
- .citizen .sidebar .dropdown-link, .citizen .sidebar .sidebar-link, .employee .sidebar .dropdown-link, .employee .sidebar .sidebar-link {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- color: #fff;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- font-size: 14px; }
- .citizen .sidebar .dropdown-link, .employee .sidebar .dropdown-link {
- height: 40px;
- margin-left: 40px;
- text-decoration: none; }
- .citizen .sidebar .dropdown-link .actions .tooltiptext, .employee .sidebar .dropdown-link .actions .tooltiptext {
- left: unset;
- right: 1%; }
- .citizen .sidebar .dropdown-link svg, .employee .sidebar .dropdown-link svg {
- width: 20px;
- height: 20px;
- fill: #fff; }
- .citizen .sidebar .dropdown-link:hover, .employee .sidebar .dropdown-link:hover {
- color: #fe7a51 !important;
- background-color: #486480;
- cursor: pointer; }
- .citizen .sidebar .dropdown-link:hover svg, .employee .sidebar .dropdown-link:hover svg {
- fill: #fe7a51 !important; }
- .citizen .sidebar .dropdown-link.active, .employee .sidebar .dropdown-link.active {
- color: #f47738 !important;
- border-right: 4px solid #f47738; }
- .citizen .sidebar .dropdown-link.active svg, .employee .sidebar .dropdown-link.active svg {
- fill: #f47738 !important; }
- .citizen .sidebar span, .employee .sidebar span {
- margin-left: 16px;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap; }
+ padding-bottom: 5rem;
+}
+.citizen .sidebar .actions,
+.employee .sidebar .actions {
+ cursor: pointer;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+.citizen .sidebar .actions .tooltip,
+.employee .sidebar .actions .tooltip {
+ margin-left: 16px;
+}
+.citizen .sidebar svg,
+.employee .sidebar svg {
+ width: 24px;
+ height: 24px;
+ fill: #fff;
+}
+.citizen .sidebar a,
+.employee .sidebar a {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+}
+.citizen .sidebar .sidebar-link,
+.employee .sidebar .sidebar-link {
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ padding: 20px;
+}
+.citizen .sidebar .sidebar-link.active,
+.employee .sidebar .sidebar-link.active {
+ color: #f47738 !important;
+ border-right: 4px solid #f47738;
+}
+.citizen .sidebar .sidebar-link.active svg,
+.employee .sidebar .sidebar-link.active svg {
+ fill: #f47738 !important;
+}
+.citizen .sidebar .sidebar-link .employee-search-input,
+.employee .sidebar .sidebar-link .employee-search-input {
+ border: none;
+ outline: none;
+ background-color: transparent;
+ margin-left: 13px;
+}
+.citizen .sidebar .sidebar-link .custom-link .tooltip,
+.employee .sidebar .sidebar-link .custom-link .tooltip {
+ margin-left: 16px;
+}
+.citizen .sidebar .sidebar-link .custom-link .tooltip span,
+.employee .sidebar .sidebar-link .custom-link .tooltip span {
+ margin-left: unset !important;
+ left: unset !important;
+}
+.citizen .sidebar .sidebar-link svg,
+.employee .sidebar .sidebar-link svg {
+ fill: #fff !important;
+ width: 21px;
+ height: 21px;
+}
+.citizen .sidebar .sidebar-link:hover,
+.employee .sidebar .sidebar-link:hover {
+ color: #f47738 !important;
+ background-color: #486480;
+ cursor: pointer;
+}
+.citizen .sidebar .sidebar-link:hover svg,
+.employee .sidebar .sidebar-link:hover svg {
+ fill: #f47738 !important;
+}
+.citizen .sidebar .sidebar-link .search-icon-wrapper svg,
+.employee .sidebar .sidebar-link .search-icon-wrapper svg {
+ fill: #fff !important;
+ width: 21px;
+ height: 21px;
+}
+.citizen .sidebar .sidebar-link .search-icon-wrapper svg path,
+.employee .sidebar .sidebar-link .search-icon-wrapper svg path {
+ fill: #fff !important;
+}
+.citizen .sidebar .dropdown-link,
+.citizen .sidebar .sidebar-link,
+.employee .sidebar .dropdown-link,
+.employee .sidebar .sidebar-link {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ color: #fff;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ font-size: 14px;
+}
+.citizen .sidebar .dropdown-link,
+.employee .sidebar .dropdown-link {
+ height: 40px;
+ margin-left: 40px;
+ text-decoration: none;
+}
+.citizen .sidebar .dropdown-link .actions .tooltiptext,
+.employee .sidebar .dropdown-link .actions .tooltiptext {
+ left: unset;
+ right: 1%;
+}
+.citizen .sidebar .dropdown-link svg,
+.employee .sidebar .dropdown-link svg {
+ width: 20px;
+ height: 20px;
+ fill: #fff;
+}
+.citizen .sidebar .dropdown-link:hover,
+.employee .sidebar .dropdown-link:hover {
+ color: #fe7a51 !important;
+ background-color: #486480;
+ cursor: pointer;
+}
+.citizen .sidebar .dropdown-link:hover svg,
+.employee .sidebar .dropdown-link:hover svg {
+ fill: #fe7a51 !important;
+}
+.citizen .sidebar .dropdown-link.active,
+.employee .sidebar .dropdown-link.active {
+ color: #f47738 !important;
+ border-right: 4px solid #f47738;
+}
+.citizen .sidebar .dropdown-link.active svg,
+.employee .sidebar .dropdown-link.active svg {
+ fill: #f47738 !important;
+}
+.citizen .sidebar span,
+.employee .sidebar span {
+ margin-left: 16px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
-.citizen .wrapperStyles, .employee .wrapperStyles {
+.citizen .wrapperStyles,
+.employee .wrapperStyles {
margin-top: -5px;
padding-left: 20px;
- padding-top: 10px; }
- .citizen .wrapperStyles .containerStyles, .employee .wrapperStyles .containerStyles {
- border: 1px solid #505a5f;
- padding: 16px;
- margin-bottom: 20px; }
- .citizen .wrapperStyles.leftBorder, .employee .wrapperStyles.leftBorder {
- border-left: 2px solid rgba(0, 0, 0, 0.12); }
-
-.citizen .rowContainerStyles, .employee .rowContainerStyles {
+ padding-top: 10px;
+}
+.citizen .wrapperStyles .containerStyles,
+.employee .wrapperStyles .containerStyles {
+ border: 1px solid #505a5f;
+ padding: 16px;
+ margin-bottom: 20px;
+}
+.citizen .wrapperStyles.leftBorder,
+.employee .wrapperStyles.leftBorder {
+ border-left: 2px solid rgba(0, 0, 0, 0.12);
+}
+
+.citizen .rowContainerStyles,
+.employee .rowContainerStyles {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
- flex-direction: column; }
+ flex-direction: column;
+}
-.citizen .tableContainerStyles, .employee .tableContainerStyles {
+.citizen .tableContainerStyles,
+.employee .tableContainerStyles {
border: 1px solid #505a5f;
padding: 16px;
- margin-bottom: 20px; }
+ margin-bottom: 20px;
+}
-.citizen .historyTables, .employee .historyTables {
+.citizen .historyTables,
+.employee .historyTables {
display: grid;
grid-template-rows: 100px 100px;
- grid-template-columns: repeat(5, minmax(100px, 1fr)); }
+ grid-template-columns: repeat(5, minmax(100px, 1fr));
+}
-.citizen .historyContent, .employee .historyContent {
+.citizen .historyContent,
+.employee .historyContent {
margin: 0 10px;
position: relative;
- padding-bottom: 5px; }
+ padding-bottom: 5px;
+}
-.citizen .historyCheckpoint, .employee .historyCheckpoint {
+.citizen .historyCheckpoint,
+.employee .historyCheckpoint {
background-color: #fe7a51;
border-radius: 100%;
width: 18px;
@@ -1571,107 +2108,134 @@ img, video {
display: inline-block;
position: relative;
left: -9px;
- top: 4px; }
- .citizen .historyCheckpoint.zIndex, .employee .historyCheckpoint.zIndex {
- z-index: 10; }
+ top: 4px;
+}
+.citizen .historyCheckpoint.zIndex,
+.employee .historyCheckpoint.zIndex {
+ z-index: 10;
+}
-.citizen .historyTableDateLabel, .employee .historyTableDateLabel {
+.citizen .historyTableDateLabel,
+.employee .historyTableDateLabel {
color: rgba(0, 0, 0, 0.87);
font-size: 16px;
font-weight: 700;
line-height: 17px;
text-align: left;
display: inline-block;
- padding-top: 5px; }
+ padding-top: 5px;
+}
-.citizen .bottomMargin, .employee .bottomMargin {
- margin-bottom: 0; }
+.citizen .bottomMargin,
+.employee .bottomMargin {
+ margin-bottom: 0;
+}
-.citizen .historyTableDate, .employee .historyTableDate {
+.citizen .historyTableDate,
+.employee .historyTableDate {
color: rgba(0, 0, 0, 0.87);
font-size: 19px;
font-weight: 400;
line-height: 17px;
text-align: left;
display: inline-block;
- padding-top: 10px; }
+ padding-top: 10px;
+}
-.citizen .historyHorizontalBar, .employee .historyHorizontalBar {
+.citizen .historyHorizontalBar,
+.employee .historyHorizontalBar {
background-color: rgba(0, 0, 0, 0.12);
width: auto;
height: 2px;
- margin-left: 16px; }
+ margin-left: 16px;
+}
-.citizen .smallText, .employee .smallText {
+.citizen .smallText,
+.employee .smallText {
font-weight: 500;
- font-size: 14px; }
+ font-size: 14px;
+}
.citizen .sidebar {
margin-top: 54px;
- min-width: 200px; }
- .citizen .sidebar .actions {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- grid-gap: 10px;
- gap: 10px; }
-
-.link {
- --text-opacity:1;
- color: #f47738;
+ min-width: 200px;
+}
+.citizen .sidebar .actions {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ grid-gap: 10px;
+ gap: 10px;
+}
+
+.link {
+ --text-opacity: 1;
+ color: #f47738;
color: rgba(244, 119, 56, var(--text-opacity));
- cursor: pointer; }
- .link :hover {
- --text-opacity:1;
- color: #c8602b;
- color: rgba(200, 96, 43, var(--text-opacity)); }
+ cursor: pointer;
+}
+.link :hover {
+ --text-opacity: 1;
+ color: #c8602b;
+ color: rgba(200, 96, 43, var(--text-opacity));
+}
.RightMostTopBarOptions {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
- .RightMostTopBarOptions .EventNotificationWrapper {
- position: relative;
- cursor: pointer;
- margin-left: 16px; }
- .RightMostTopBarOptions .EventNotificationWrapper span {
- top: -10px;
- right: -10px;
- position: absolute;
- --bg-opacity:1;
- background-color: #d4351c;
- background-color: rgba(212, 53, 28, var(--bg-opacity));
- height: 1.25rem;
- width: 1.25rem;
- border-radius: 9999px;
- text-align: center; }
- .RightMostTopBarOptions .EventNotificationWrapper span p {
- line-height: 20px; }
- .RightMostTopBarOptions .select-wrap {
- margin-bottom: unset; }
- .RightMostTopBarOptions .select-wrap svg {
- fill: #fff; }
+ display: flex;
+}
+.RightMostTopBarOptions .EventNotificationWrapper {
+ position: relative;
+ cursor: pointer;
+ margin-left: 16px;
+}
+.RightMostTopBarOptions .EventNotificationWrapper span {
+ top: -10px;
+ right: -10px;
+ position: absolute;
+ --bg-opacity: 1;
+ background-color: #d4351c;
+ background-color: rgba(212, 53, 28, var(--bg-opacity));
+ height: 1.25rem;
+ width: 1.25rem;
+ border-radius: 9999px;
+ text-align: center;
+}
+.RightMostTopBarOptions .EventNotificationWrapper span p {
+ line-height: 20px;
+}
+.RightMostTopBarOptions .select-wrap {
+ margin-bottom: unset;
+}
+.RightMostTopBarOptions .select-wrap svg {
+ fill: #fff;
+}
@media (min-width: 640px) {
.employee .ground-container {
display: block;
margin-left: 16px;
- margin-left: 0; }
+ margin-left: 0;
+ }
.employee .breadcrumb {
margin-bottom: 24px;
- margin-left: 0; }
+ margin-left: 0;
+ }
.employee .card-home {
width: 270px;
margin-right: 10px;
- margin-bottom: 10px; }
+ margin-bottom: 10px;
+ }
.employee .card-home-hrms {
width: 405px;
padding: 0;
margin-right: 16px;
- margin-bottom: 16px; }
+ margin-bottom: 16px;
+ }
.employee .main {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
@@ -1679,11 +2243,14 @@ img, video {
flex-direction: column;
padding-top: 80px;
margin-left: 55px;
- width: calc(100% - 55px); }
- .employee .citizen-home-container, .employee .main {
+ width: calc(100% - 55px);
+ }
+ .employee .citizen-home-container,
+ .employee .main {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+ }
.employee .citizen-home-container {
-webkit-box-orient: unset !important;
-webkit-box-direction: unset !important;
@@ -1691,7 +2258,8 @@ img, video {
flex-direction: unset !important;
width: unset !important;
margin-left: unset !important;
- padding-top: 58px; }
+ padding-top: 58px;
+ }
.citizen .main {
width: 100%;
padding-top: 58px;
@@ -1701,18 +2269,23 @@ img, video {
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
- justify-content: center; } }
+ justify-content: center;
+ }
+}
.fullWidth {
- width: 100%; }
+ width: 100%;
+}
.multi-select-container .disposal-text {
- font-weight: 700; }
+ font-weight: 700;
+}
.multi-select-container .disposal-info {
margin-top: 16px;
margin-bottom: 16px;
- margin-left: 8px; }
+ margin-left: 8px;
+}
.multi-select-container .disposal-action-bar {
display: -webkit-box;
@@ -1723,7 +2296,8 @@ img, video {
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
- align-items: center; }
+ align-items: center;
+}
@media (min-width: 780px) {
.d-grid {
@@ -1735,16 +2309,21 @@ img, video {
column-gap: 10px;
grid-row-gap: 2px;
row-gap: 2px;
- margin-left: -12px; } }
+ margin-left: -12px;
+ }
+}
.m-auto {
- margin: auto !important; }
+ margin: auto !important;
+}
.mb-50 {
- margin-bottom: 50px; }
+ margin-bottom: 50px;
+}
.mb-25 {
- margin-bottom: 25px; }
+ margin-bottom: 25px;
+}
.back-wrapper {
display: -webkit-box;
@@ -1752,54 +2331,71 @@ img, video {
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
- justify-content: space-between; }
- .back-wrapper .top-back-btn {
- margin-bottom: 0;
- color: #fff;
- margin-right: 1em; }
- .back-wrapper .top-back-btn svg {
- fill: #fff; }
- .back-wrapper .hambuger-back-wrapper {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex; }
- @media (min-width: 780px) {
- .back-wrapper .hambuger-back-wrapper .hamburger-span {
- display: none; } }
+ justify-content: space-between;
+}
+.back-wrapper .top-back-btn {
+ margin-bottom: 0;
+ color: #fff;
+ margin-right: 1em;
+}
+.back-wrapper .top-back-btn svg {
+ fill: #fff;
+}
+.back-wrapper .hambuger-back-wrapper {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+}
+@media (min-width: 780px) {
+ .back-wrapper .hambuger-back-wrapper .hamburger-span {
+ display: none;
+ }
+}
@media (min-width: 780px) {
.back-wrapper {
margin-right: 2rem;
- margin-left: 2rem; } }
+ margin-left: 2rem;
+ }
+}
@media (min-width: 780px) {
.user-profile {
width: calc(100% - 219px);
margin-left: 16px;
- margin-right: 16px; } }
+ margin-right: 16px;
+ }
+}
.break-line {
- border-color: #d6d5d4 !important; }
+ border-color: #d6d5d4 !important;
+}
.upload-file {
- margin-bottom: 1rem; }
+ margin-bottom: 1rem;
+}
.card-label-error.custom-formcomposer {
width: 70%;
margin-left: 30%;
font-size: 14px;
- margin-top: -21px; }
- @media (max-width: 639px) {
- .card-label-error.custom-formcomposer {
- margin-left: unset;
- width: 100%; } }
+ margin-top: -21px;
+}
+@media (max-width: 639px) {
+ .card-label-error.custom-formcomposer {
+ margin-left: unset;
+ width: 100%;
+ }
+}
@media (min-width: 1024px) {
.employeeCard-override {
padding-left: 16px;
padding-bottom: 16px;
padding-right: 16px;
- padding-top: 16px; } }
+ padding-top: 16px;
+ }
+}
@media (max-width: 639px) {
.employeeCard-override {
@@ -1807,67 +2403,87 @@ img, video {
padding-left: 1rem;
padding-bottom: 1rem;
padding-right: 1rem;
- padding-top: 1rem; } }
+ padding-top: 1rem;
+ }
+}
.employeeCard-override .employee-card-sub-header {
margin-bottom: 16px;
margin-top: 32px;
font-size: 24px;
- line-height: 32px; }
- @media (max-width: 639px) {
- .employeeCard-override .employee-card-sub-header {
- margin-top: 0; } }
+ line-height: 32px;
+}
+@media (max-width: 639px) {
+ .employeeCard-override .employee-card-sub-header {
+ margin-top: 0;
+ }
+}
@media (min-width: 1024px) {
.field-container {
- max-width: unset; } }
+ max-width: unset;
+ }
+}
.label-field-pair .card-label {
- margin-bottom: .5rem; }
+ margin-bottom: 0.5rem;
+}
.drawer-list .sidebar-list .submenu-container .sidebar-link {
- padding: unset !important; }
+ padding: unset !important;
+}
.drawer-list .sidebar-list:last-child {
position: fixed;
- bottom: 0; }
+ bottom: 0;
+}
.sections-parent.inbox .details-container {
margin-bottom: 1rem;
- margin-top: 0; }
+ margin-top: 0;
+}
.sections-parent.inbox .searchBox {
- margin-bottom: 0; }
+ margin-bottom: 0;
+}
.field .error-msg {
- margin-bottom: 1rem; }
+ margin-bottom: 1rem;
+}
.validation-error {
- margin-top: -12px; }
+ margin-top: -12px;
+}
.tag-container .text {
text-overflow: ellipsis;
- text-wrap: nowrap; }
+ text-wrap: nowrap;
+}
video::-webkit-media-controls-panel {
position: absolute;
width: 100%;
top: 55%;
- height: auto; }
+ height: auto;
+}
video::-webkit-media-controls-play-button {
display: -webkit-box !important;
- display: flex !important; }
+ display: flex !important;
+}
@media (max-width: 700px) {
video::-webkit-media-controls-panel {
position: unset;
width: 100%;
top: 0;
- height: auto; }
+ height: auto;
+ }
video::-webkit-media-controls-play-button {
display: -webkit-box !important;
- display: flex !important; } }
+ display: flex !important;
+ }
+}
.search-add-icon {
background: #f47738;
@@ -1883,125 +2499,151 @@ video::-webkit-media-controls-play-button {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
- margin-left: 10px; }
+ margin-left: 10px;
+}
.inbox-search-links-container {
- border-radius: 4px; }
- .inbox-search-links-container .contents .link {
- padding-left: 0; }
+ border-radius: 4px;
+}
+.inbox-search-links-container .contents .link {
+ padding-left: 0;
+}
.inbox-search-component-wrapper .search-component-table {
- border-radius: 4px; }
+ border-radius: 4px;
+}
.notification {
- padding: 1rem; }
- .notification .card-header {
- color: #000;
- font-family: Roboto;
- font-size: 1rem;
- font-style: normal;
- font-weight: 700;
- line-height: normal; }
- .notification .notification-flex-container {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center; }
- .notification .notification-flex-container .icon {
- margin-right: .5rem; }
- .notification .notification-flex-container .icon svg {
- width: 1.5rem; }
- .notification .notification-flex-container .label {
- font-size: .875rem;
- font-weight: 400;
- color: #000;
- margin-bottom: unset; }
- .notification .notification-flex-container .selector-button-secondary {
- margin-left: auto;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- padding: .25rem 1rem;
- border: 1px solid #f47738;
- color: #f47738;
- font-weight: 700; }
- .notification .sla-cell-error, .notification .sla-cell-success {
- color: #00703c;
- background-color: #bad6c9; }
- .notification .sla-cell-error, .notification .sla-cell-success, .notification .sla-cell-warning {
- padding: .125rem .5rem;
- font-size: .75rem;
- font-weight: 400; }
- .notification .sla-cell-warning {
- color: #886b03;
- background-color: #ffedad; }
- .notification .action-link {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center; }
+ padding: 1rem;
+}
+.notification .card-header {
+ color: #000;
+ font-family: Roboto;
+ font-size: 1rem;
+ font-style: normal;
+ font-weight: 700;
+ line-height: normal;
+}
+.notification .notification-flex-container {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+.notification .notification-flex-container .icon {
+ margin-right: 0.5rem;
+}
+.notification .notification-flex-container .icon svg {
+ width: 1.5rem;
+}
+.notification .notification-flex-container .label {
+ font-size: 0.875rem;
+ font-weight: 400;
+ color: #000;
+ margin-bottom: unset;
+}
+.notification .notification-flex-container .selector-button-secondary {
+ margin-left: auto;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ padding: 0.25rem 1rem;
+ border: 1px solid #f47738;
+ color: #f47738;
+ font-weight: 700;
+}
+.notification .sla-cell-error,
+.notification .sla-cell-success {
+ color: #00703c;
+ background-color: #bad6c9;
+}
+.notification .sla-cell-error,
+.notification .sla-cell-success,
+.notification .sla-cell-warning {
+ padding: 0.125rem 0.5rem;
+ font-size: 0.75rem;
+ font-weight: 400;
+}
+.notification .sla-cell-warning {
+ color: #886b03;
+ background-color: #ffedad;
+}
+.notification .action-link {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+}
.employeeCard.home-card-tiles-container {
margin: 0;
background-color: initial;
-webkit-box-shadow: none;
box-shadow: none;
- padding-top: 0; }
- .employeeCard.home-card-tiles-container .tiles-card-container {
- display: grid;
- grid-template-columns: 30% 30% 30%;
- text-align: center;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between; }
- .employeeCard.home-card-tiles-container .employeeCard.tiles-card {
- margin: 0;
- min-width: 6.5rem;
- height: 8rem;
- cursor: pointer;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -ms-flex-pack: distribute;
- justify-content: space-around;
- word-wrap: break-word; }
+ padding-top: 0;
+}
+.employeeCard.home-card-tiles-container .tiles-card-container {
+ display: grid;
+ grid-template-columns: 30% 30% 30%;
+ text-align: center;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+}
+.employeeCard.home-card-tiles-container .employeeCard.tiles-card {
+ margin: 0;
+ min-width: 6.5rem;
+ height: 8rem;
+ cursor: pointer;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -ms-flex-pack: distribute;
+ justify-content: space-around;
+ word-wrap: break-word;
+}
.refresh-icon-container {
padding: 6px 8px;
- border: 1px solid #eee; }
+ border: 1px solid #eee;
+}
.employee-app-container {
- margin: auto; }
+ margin: auto;
+}
.multilink-label {
- color: #f47738 !important; }
+ color: #f47738 !important;
+}
.vertical-gap {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
grid-row-gap: 1.5rem !important;
- row-gap: 1.5rem !important; }
+ row-gap: 1.5rem !important;
+}
.how-it-works-video-play .close-button {
position: fixed;
right: 15px;
top: 10%;
- z-index: 1; }
+ z-index: 1;
+}
.how-it-works-video-play video {
position: fixed;
@@ -2009,14 +2651,19 @@ video::-webkit-media-controls-play-button {
left: 0;
min-width: 100%;
min-height: 100%;
- background-color: rgba(0, 0, 0, 0.5); }
+ background-color: rgba(0, 0, 0, 0.5);
+}
.how-it-works-page {
- margin-top: -1rem !important; }
- .how-it-works-page .back-btn2, .how-it-works-page .language-selector {
- margin-left: 0 !important; }
- .how-it-works-page .how-it-works-page-header .h1 {
- margin-left: 5px !important; }
+ margin-top: -1rem !important;
+}
+.how-it-works-page .back-btn2,
+.how-it-works-page .language-selector {
+ margin-left: 0 !important;
+}
+.how-it-works-page .how-it-works-page-header .h1 {
+ margin-left: 5px !important;
+}
.searchAction {
display: -webkit-box;
@@ -2024,14 +2671,17 @@ video::-webkit-media-controls-play-button {
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
- align-items: center; }
+ align-items: center;
+}
.searchText {
font-size: 18px;
- font-weight: 500; }
+ font-weight: 500;
+}
.bread-crumb a {
- color: #505a5f !important; }
+ color: #505a5f !important;
+}
.topbar-custom-tqm-container {
display: -webkit-box;
@@ -2040,72 +2690,94 @@ video::-webkit-media-controls-play-button {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
- flex-direction: row; }
- .topbar-custom-tqm-container span {
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end; }
- .topbar-custom-tqm-container span .options-card {
- margin-left: -2rem; }
- .topbar-custom-tqm-container span svg {
- fill: #fff; }
- .topbar-custom-tqm-container span label {
- color: #fff; }
+ flex-direction: row;
+}
+.topbar-custom-tqm-container span {
+ -webkit-box-pack: end;
+ -ms-flex-pack: end;
+ justify-content: flex-end;
+}
+.topbar-custom-tqm-container span .options-card {
+ margin-left: -2rem;
+}
+.topbar-custom-tqm-container span svg {
+ fill: #fff;
+}
+.topbar-custom-tqm-container span label {
+ color: #fff;
+}
.pqm-table td {
- vertical-align: top !important; }
+ vertical-align: top !important;
+}
.pqm-table thead th {
- min-width: 150px !important; }
+ min-width: 150px !important;
+}
.multi-select-dropdown-wrap .server {
overflow-x: auto !important;
- overflow-y: auto !important; }
+ overflow-y: auto !important;
+}
.popup-module-action-bar h2 {
- width: 105% !important; }
+ width: 105% !important;
+}
.search-field-wrapper.inbox.filter {
- grid-row-gap: 1.5rem; }
+ grid-row-gap: 1.5rem;
+}
.multilink-option {
display: -webkit-box !important;
display: -ms-flexbox !important;
- display: flex !important; }
+ display: flex !important;
+}
.multilink-optionWrap {
top: 0.8rem !important;
- right: -40% !important; }
+ right: -40% !important;
+}
.hide-class .multilink-block-wrapper {
- display: none; }
+ display: none;
+}
.fsm-application-modal-popup {
- top: 0 !important; }
+ top: 0 !important;
+}
.fsm-registry-dropdown {
- margin-bottom: 0; }
+ margin-bottom: 0;
+}
.search-tabs-container .search-tab-head-selected {
- background-color: #fff; }
+ background-color: #fff;
+}
.action-bar-wrap-registry {
- width: 10%; }
- .action-bar-wrap-registry .search-add {
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center; }
- .action-bar-wrap-registry .menu-wrap {
- right: 2.1rem; }
+ width: 10%;
+}
+.action-bar-wrap-registry .search-add {
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+}
+.action-bar-wrap-registry .menu-wrap {
+ right: 2.1rem;
+}
.page-padding-fix {
- padding: 1rem 1.5rem; }
+ padding: 1rem 1.5rem;
+}
-.language-selector .language-button-container .customBtn, .language-selector .language-button-container .customBtn-selected {
- width: 100px; }
+.language-selector .language-button-container .customBtn,
+.language-selector .language-button-container .customBtn-selected {
+ width: 100px;
+}
.tqm-home-container {
- margin: .5rem;
+ margin: 0.5rem;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@@ -2114,167 +2786,234 @@ video::-webkit-media-controls-play-button {
-ms-flex-direction: column;
flex-direction: column;
grid-gap: 1rem;
- gap: 1rem; }
- .tqm-home-container .tqm-home-card {
- margin: 0; }
- .tqm-home-container .alerts-container {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- grid-gap: .8rem;
- gap: .8rem;
- color: #0b0c0c; }
- .tqm-home-container .alerts-container .alerts-container-header {
- padding: 16px;
- --bg-opacity:1;
- background-color: #fff;
- background-color: rgba(255, 255, 255, var(--bg-opacity));
- -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
- padding: 16px;
- margin-bottom: 64px;
- -webkit-box-shadow: none;
- box-shadow: none;
- border-bottom: 1px solid rgba(0, 0, 0, 0.16);
- border-radius: 4px;
- font-size: 1.5rem;
- margin-bottom: 1rem;
- font-weight: 700; }
- .tqm-home-container .alerts-container .alerts-container-header .alerts-container-count {
- color: #505a5f; }
- .tqm-home-container .alerts-container .alerts-container-subheader {
- font-size: 16px;
- font-weight: 400;
- margin-bottom: .5rem; }
- .tqm-home-container .alerts-container .alerts-container-item {
- display: -webkit-box !important;
- display: -ms-flexbox !important;
- display: flex !important;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- color: #505a5f;
- font-weight: 700;
- padding: 0 16px;
- margin-bottom: .81rem; }
- .tqm-home-container .alerts-container .alerts-container-item .alerts-container-item-count {
- padding-left: 30px;
- color: #d4351c; }
- .tqm-home-container .performance-header {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- padding: 8px; }
- .tqm-home-container .performance-container {
- color: #505a5f;
- display: grid;
- grid-template-columns: 1fr 0fr 1fr;
- grid-gap: .5rem;
- gap: .5rem;
- padding: 1rem;
- height: 70%; }
- .tqm-home-container .performance-container .performance-item {
- display: -webkit-box !important;
- display: -ms-flexbox !important;
- display: flex !important;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- grid-gap: .2rem;
- gap: .2rem;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- text-align: center; }
- .tqm-home-container .performance-container .performance-item .performance-item-percentage {
- font-size: 1.5rem;
- font-weight: 700; }
- .tqm-home-container .performance-container .performance-item .performance-item-label {
- font-size: 1rem;
- font-weight: 400;
- padding-left: 10px; }
- .tqm-home-container .performance-container .performance-item .performance-item-label-caption {
- text-align: center;
- display: -webkit-box !important;
- display: -ms-flexbox !important;
- display: flex !important;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center; }
- .tqm-home-container .performance-container .performance-item .performance-item-label-caption svg {
- width: 1rem;
- height: 1rem; }
- .tqm-home-container .performance-container .performance-item .performance-item-label-caption__pass {
- color: #00703c; }
- .tqm-home-container .performance-container .performance-item .performance-item-label-caption__fail {
- color: #d4351c; }
- .tqm-home-container .performance-container .performance-item .performance-item-sla {
- padding: 8px 16px;
- border-radius: 16px;
- font-weight: 700; }
- .tqm-home-container .performance-container .performance-item .performance-item-sla__pass {
- color: #00703c;
- background-color: #bad6c9; }
- .tqm-home-container .performance-container .performance-item .performance-item-sla__fail {
- color: red;
- background-color: red; }
- .tqm-home-container .performance-container .vertical-line {
- display: block;
- margin: auto;
- min-height: 100%;
- min-width: 1px;
- width: 1px;
- background-color: #d6d5d4; }
+ gap: 1rem;
+}
+.tqm-home-container .tqm-home-card {
+ margin: 0;
+}
+.tqm-home-container .alerts-container {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ grid-gap: 0.8rem;
+ gap: 0.8rem;
+ color: #0b0c0c;
+}
+.tqm-home-container .alerts-container .alerts-container-header {
+ padding: 16px;
+ --bg-opacity: 1;
+ background-color: #fff;
+ background-color: rgba(255, 255, 255, var(--bg-opacity));
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
+ padding: 16px;
+ margin-bottom: 64px;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.16);
+ border-radius: 4px;
+ font-size: 1.5rem;
+ margin-bottom: 1rem;
+ font-weight: 700;
+}
+.tqm-home-container
+ .alerts-container
+ .alerts-container-header
+ .alerts-container-count {
+ color: #505a5f;
+}
+.tqm-home-container .alerts-container .alerts-container-subheader {
+ font-size: 16px;
+ font-weight: 400;
+ margin-bottom: 0.5rem;
+}
+.tqm-home-container .alerts-container .alerts-container-item {
+ display: -webkit-box !important;
+ display: -ms-flexbox !important;
+ display: flex !important;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ color: #505a5f;
+ font-weight: 700;
+ padding: 0 16px;
+ margin-bottom: 0.81rem;
+}
+.tqm-home-container
+ .alerts-container
+ .alerts-container-item
+ .alerts-container-item-count {
+ padding-left: 30px;
+ color: #d4351c;
+}
+.tqm-home-container .performance-header {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ padding: 8px;
+}
+.tqm-home-container .performance-container {
+ color: #505a5f;
+ display: grid;
+ grid-template-columns: 1fr 0fr 1fr;
+ grid-gap: 0.5rem;
+ gap: 0.5rem;
+ padding: 1rem;
+ height: 70%;
+}
+.tqm-home-container .performance-container .performance-item {
+ display: -webkit-box !important;
+ display: -ms-flexbox !important;
+ display: flex !important;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ grid-gap: 0.2rem;
+ gap: 0.2rem;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ text-align: center;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-percentage {
+ font-size: 1.5rem;
+ font-weight: 700;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-label {
+ font-size: 1rem;
+ font-weight: 400;
+ padding-left: 10px;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-label-caption {
+ text-align: center;
+ display: -webkit-box !important;
+ display: -ms-flexbox !important;
+ display: flex !important;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-label-caption
+ svg {
+ width: 1rem;
+ height: 1rem;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-label-caption__pass {
+ color: #00703c;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-label-caption__fail {
+ color: #d4351c;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-sla {
+ padding: 8px 16px;
+ border-radius: 16px;
+ font-weight: 700;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-sla__pass {
+ color: #00703c;
+ background-color: #bad6c9;
+}
+.tqm-home-container
+ .performance-container
+ .performance-item
+ .performance-item-sla__fail {
+ color: red;
+ background-color: red;
+}
+.tqm-home-container .performance-container .vertical-line {
+ display: block;
+ margin: auto;
+ min-height: 100%;
+ min-width: 1px;
+ width: 1px;
+ background-color: #d6d5d4;
+}
@media (min-width: 780px) {
.dashboard-container {
display: grid;
- grid-template-columns: 50% 50%; }
- .dashboard-container .performance-container {
- -ms-flex-pack: distribute;
- justify-content: space-around;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center; }
- .dashboard-container .performance-container .performance-item {
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 2rem; }
- .dashboard-container .alerts-container1 .alerts-container-item-count-2 {
- color: #d4351c;
- padding-left: 30px; }
- .dashboard-container .alerts-container1 .alerts-container-item-count-0, .dashboard-container .alerts-container1 .alerts-container-item-count-1 {
- color: #d4351c; }
- .dashboard-container .alerts-container1 .kk {
- margin-top: 1rem; } }
+ grid-template-columns: 50% 50%;
+ }
+ .dashboard-container .performance-container {
+ -ms-flex-pack: distribute;
+ justify-content: space-around;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ }
+ .dashboard-container .performance-container .performance-item {
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom: 2rem;
+ }
+ .dashboard-container .alerts-container1 .alerts-container-item-count-2 {
+ color: #d4351c;
+ padding-left: 30px;
+ }
+ .dashboard-container .alerts-container1 .alerts-container-item-count-0,
+ .dashboard-container .alerts-container1 .alerts-container-item-count-1 {
+ color: #d4351c;
+ }
+ .dashboard-container .alerts-container1 .kk {
+ margin-top: 1rem;
+ }
+}
@media (min-width: 780px) {
.alert {
display: none;
- padding-left: .6rem; } }
+ padding-left: 0.6rem;
+ }
+}
.alert-word {
padding-left: 3rem;
- margin-bottom: 3rem; }
+ margin-bottom: 3rem;
+}
.alerts-container-count1 {
padding-top: 35px;
- padding-left: 90px; }
+ padding-left: 90px;
+}
.alerts-container1 {
display: -webkit-box;
@@ -2289,49 +3028,56 @@ video::-webkit-media-controls-play-button {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
- grid-gap: .8rem;
- gap: .8rem;
+ grid-gap: 0.8rem;
+ gap: 0.8rem;
color: #0b0c0c;
height: 70%;
- margin-top: 1.5rem; }
- .alerts-container1 .alerts-container-header {
- padding: 16px;
- --bg-opacity:1;
- background-color: #fff;
- background-color: rgba(255, 255, 255, var(--bg-opacity));
- -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
- padding: 16px;
- margin-bottom: 64px;
- border-radius: 4px;
- font-size: 1.5rem;
- margin-bottom: 1rem;
- font-weight: 700; }
- .alerts-container1 .alerts-container-header .alerts-container-count {
- color: #505a5f; }
- .alerts-container1 .alerts-container-subheader {
- font-size: 16px;
- font-weight: 400;
- margin-bottom: .5rem; }
- .alerts-container1 .alerts-container-item {
- display: -webkit-box !important;
- display: -ms-flexbox !important;
- display: flex !important;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- color: #505a5f;
- font-weight: 700;
- padding: 0 16px;
- margin-bottom: .81rem;
- height: 100%; }
- .alerts-container1 .alerts-container-item .alerts-container-item-count {
- padding-left: 30px; }
+ margin-top: 1.5rem;
+}
+.alerts-container1 .alerts-container-header {
+ padding: 16px;
+ --bg-opacity: 1;
+ background-color: #fff;
+ background-color: rgba(255, 255, 255, var(--bg-opacity));
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
+ padding: 16px;
+ margin-bottom: 64px;
+ border-radius: 4px;
+ font-size: 1.5rem;
+ margin-bottom: 1rem;
+ font-weight: 700;
+}
+.alerts-container1 .alerts-container-header .alerts-container-count {
+ color: #505a5f;
+}
+.alerts-container1 .alerts-container-subheader {
+ font-size: 16px;
+ font-weight: 400;
+ margin-bottom: 0.5rem;
+}
+.alerts-container1 .alerts-container-item {
+ display: -webkit-box !important;
+ display: -ms-flexbox !important;
+ display: flex !important;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ color: #505a5f;
+ font-weight: 700;
+ padding: 0 16px;
+ margin-bottom: 0.81rem;
+ height: 100%;
+}
+.alerts-container1 .alerts-container-item .alerts-container-item-count {
+ padding-left: 30px;
+}
.employeeCard.alerts-container1 .alerts-container-header.alerts-container-item {
-webkit-box-pack: center;
-ms-flex-pack: center;
- justify-content: center; }
+ justify-content: center;
+}
.popup-module.tqm-pop-module {
height: -webkit-fit-content;
@@ -2343,7 +3089,8 @@ video::-webkit-media-controls-play-button {
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
- border-radius: 4px; }
+ border-radius: 4px;
+}
.popup-module-action-bar.tqm-pop-action {
display: -webkit-box;
@@ -2362,21 +3109,27 @@ video::-webkit-media-controls-play-button {
width: 100%;
left: 0;
bottom: 0;
- padding-top: 24px; }
+ padding-top: 24px;
+}
.tqm-pop-main {
- padding: 24px; }
+ padding: 24px;
+}
.selector-button-border.v-tqm {
- background-color: #f47738; }
- .selector-button-border.v-tqm h2 {
- color: #fff; }
+ background-color: #f47738;
+}
+.selector-button-border.v-tqm h2 {
+ color: #fff;
+}
.selector-button-primary.v-tqm {
background-color: #fff;
- border: 1px solid #f47738; }
- .selector-button-primary.v-tqm h2 {
- color: #f47738; }
+ border: 1px solid #f47738;
+}
+.selector-button-primary.v-tqm h2 {
+ color: #f47738;
+}
.tqm-modal-heading {
display: -webkit-box;
@@ -2387,68 +3140,89 @@ video::-webkit-media-controls-play-button {
font-size: 18px;
line-height: 28px;
margin-left: 16px;
- padding-top: 8px; }
- .tqm-modal-heading svg {
- margin-right: 10px; }
+ padding-top: 8px;
+}
+.tqm-modal-heading svg {
+ margin-right: 10px;
+}
.popup-wrap {
- top: 5rem; }
- .popup-wrap .popup-module.tqm-pop-module .header-wrap {
- margin-bottom: 0; }
+ top: 5rem;
+}
+.popup-wrap .popup-module.tqm-pop-module .header-wrap {
+ margin-bottom: 0;
+}
.tqm-table-test-container {
- border: .5px solid #d6d5d4;
+ border: 0.5px solid #d6d5d4;
border-radius: 4px;
background: #fff;
- margin-top: .75rem; }
- .tqm-table-test-container .table {
- border-width: 0;
- width: 100%;
- border-collapse: collapse; }
- .tqm-table-test-container .table thead {
- background-color: #efefef; }
- .tqm-table-test-container .table thead th {
- padding: 20px 18px;
- font-weight: 700;
- vertical-align: middle;
- text-align: left; }
- .tqm-table-test-container .table thead th, .tqm-table-test-container .table thead th:first-child {
- border: .5px solid #d6d5d4; }
- .tqm-table-test-container .table thead th:first-child {
- min-width: 6rem; }
- .tqm-table-test-container .table thead .underline {
- width: 370%;
- margin-top: 15px; }
- .tqm-table-test-container .table tbody {
- border: .5px solid #d6d5d4; }
- .tqm-table-test-container .table tbody .row:last-child .data {
- border: 0; }
- .tqm-table-test-container .table tbody td {
- --border-opacity:1;
- border: .5px solid #d6d5d4;
- border-color: rgba(214, 213, 212, var(--border-opacity));
- border-top: 1px solid rgba(214, 213, 212, var(--border-opacity));
- text-align: left;
- vertical-align: middle;
- padding: 20px 18px;
- font-size: 16px;
- white-space: normal; }
- .tqm-table-test-container .table tbody tr td:first-child {
- font-weight: 700;
- width: 1rem; }
- .tqm-table-test-container .table tbody .underline {
- width: 370%;
- margin-top: 15px; }
+ margin-top: 0.75rem;
+}
+.tqm-table-test-container .table {
+ border-width: 0;
+ width: 100%;
+ border-collapse: collapse;
+}
+.tqm-table-test-container .table thead {
+ background-color: #efefef;
+}
+.tqm-table-test-container .table thead th {
+ padding: 20px 18px;
+ font-weight: 700;
+ vertical-align: middle;
+ text-align: left;
+}
+.tqm-table-test-container .table thead th,
+.tqm-table-test-container .table thead th:first-child {
+ border: 0.5px solid #d6d5d4;
+}
+.tqm-table-test-container .table thead th:first-child {
+ min-width: 6rem;
+}
+.tqm-table-test-container .table thead .underline {
+ width: 370%;
+ margin-top: 15px;
+}
+.tqm-table-test-container .table tbody {
+ border: 0.5px solid #d6d5d4;
+}
+.tqm-table-test-container .table tbody .row:last-child .data {
+ border: 0;
+}
+.tqm-table-test-container .table tbody td {
+ --border-opacity: 1;
+ border: 0.5px solid #d6d5d4;
+ border-color: rgba(214, 213, 212, var(--border-opacity));
+ border-top: 1px solid rgba(214, 213, 212, var(--border-opacity));
+ text-align: left;
+ vertical-align: middle;
+ padding: 20px 18px;
+ font-size: 16px;
+ white-space: normal;
+}
+.tqm-table-test-container .table tbody tr td:first-child {
+ font-weight: 700;
+ width: 1rem;
+}
+.tqm-table-test-container .table tbody .underline {
+ width: 370%;
+ margin-top: 15px;
+}
@media (max-width: 639px) {
.tqm-table-test-container {
width: auto;
- overflow-x: scroll; }
- .tqm-table-test-container .table thead th, .tqm-table-test-container .table thead th:first-child {
- max-width: -webkit-fit-content;
- max-width: -moz-fit-content;
- max-width: fit-content;
- min-width: unset; } }
+ overflow-x: scroll;
+ }
+ .tqm-table-test-container .table thead th,
+ .tqm-table-test-container .table thead th:first-child {
+ max-width: -webkit-fit-content;
+ max-width: -moz-fit-content;
+ max-width: fit-content;
+ min-width: unset;
+ }
+}
.sla-cell-success {
color: #00703c !important;
@@ -2458,12 +3232,14 @@ video::-webkit-media-controls-play-button {
background-color: unset !important;
padding-left: 0;
border-radius: 11px;
- font-weight: 700; }
- .sla-cell-success.bg {
- padding: 0 24px;
- display: block !important;
- background-color: #00703c !important;
- color: #fff !important; }
+ font-weight: 700;
+}
+.sla-cell-success.bg {
+ padding: 0 24px;
+ display: block !important;
+ background-color: #00703c !important;
+ color: #fff !important;
+}
.sla-cell-error {
color: #d4351c !important;
@@ -2473,43 +3249,53 @@ video::-webkit-media-controls-play-button {
background-color: unset !important;
border-radius: 11px;
font-weight: 700;
- padding: 0 24px 0 0; }
- .sla-cell-error.bg {
- padding: 0 24px;
- display: block !important;
- background-color: #d4351c !important;
- color: #fff !important; }
+ padding: 0 24px 0 0;
+}
+.sla-cell-error.bg {
+ padding: 0 24px;
+ display: block !important;
+ background-color: #d4351c !important;
+ color: #fff !important;
+}
.button-container {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
- margin-right: 4rem; }
+ margin-right: 4rem;
+}
-.button-container, .headerContainer {
+.button-container,
+.headerContainer {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
.headerContainer {
-ms-flex-wrap: wrap;
- flex-wrap: wrap; }
+ flex-wrap: wrap;
+}
.clear-all-link {
color: #f47738;
text-decoration: underline;
margin-left: auto;
margin-top: 10px;
- cursor: pointer; }
+ cursor: pointer;
+}
.bell-icon {
margin-top: 8px;
- margin-right: 10px; }
+ margin-right: 10px;
+}
@media (max-width: 700px) {
.bell-icon {
margin-top: 4px;
- margin-bottom: 8px; } }
+ margin-bottom: 8px;
+ }
+}
.notificationContent {
display: -webkit-box;
@@ -2517,13 +3303,16 @@ video::-webkit-media-controls-play-button {
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
- justify-content: space-between; }
- .notificationContent p {
- font-size: .875rem; }
+ justify-content: space-between;
+}
+.notificationContent p {
+ font-size: 0.875rem;
+}
.WhatsNewCard {
margin-bottom: 15px;
- padding-left: 1rem; }
+ padding-left: 1rem;
+}
.NotificationHeader {
display: -webkit-box;
@@ -2533,8 +3322,9 @@ video::-webkit-media-controls-play-button {
-ms-flex-pack: justify;
justify-content: space-between;
font-size: 1rem;
- margin-bottom: .25rem;
- font-weight: 700; }
+ margin-bottom: 0.25rem;
+ font-weight: 700;
+}
.viewDetailsButton h2 {
color: #f47738;
@@ -2542,66 +3332,97 @@ video::-webkit-media-controls-play-button {
margin: 10px 20px;
overflow: inherit;
white-space: nowrap;
- text-overflow: ellipsis; }
+ text-overflow: ellipsis;
+}
.view-all-button {
color: #f47738;
text-decoration: underline;
margin-left: auto;
- cursor: pointer; }
+ cursor: pointer;
+}
.view-all-button-container {
- text-align: right; }
+ text-align: right;
+}
.view-all-button:active {
- border: none; }
+ border: none;
+}
.Container {
padding-left: 1.25rem;
- padding-right: .5rem; }
- .Container .no-results-found {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center; }
- .Container .no-results-found .text {
- margin-top: 1.25rem;
- font-size: 1rem;
- line-height: 1.5rem;
- color: #505a5f; }
+ padding-right: 0.5rem;
+}
+.Container .no-results-found {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+.Container .no-results-found .text {
+ margin-top: 1.25rem;
+ font-size: 1rem;
+ line-height: 1.5rem;
+ color: #505a5f;
+}
@media (max-width: 700px) {
.WhatsNewCard {
padding-left: 1rem;
- padding-right: 1rem; }
+ padding-right: 1rem;
+ }
.WhatsNewCard p {
- font-size: .875rem; }
+ font-size: 0.875rem;
+ }
.Container {
padding-left: 0;
padding-right: 0;
- margin: 1rem; }
- .Container .headerContainer .h1 {
- margin-left: 0; }
- .Container .NotificationItem .Notification .WhatsNewCard .NotificationHeader {
- font-size: 1rem;
- font-weight: 700;
- margin-bottom: .44rem; }
- .Container .NotificationItem .Notification .WhatsNewCard .notificationContent {
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column; }
- .Container .NotificationItem .Notification .WhatsNewCard .notificationContent .button-container {
- margin-right: 0;
- display: block; }
- .Container .NotificationItem .Notification .WhatsNewCard .notificationContent .button-container button {
- width: 100%; } }
+ margin: 1rem;
+ }
+ .Container .headerContainer .h1 {
+ margin-left: 0;
+ }
+ .Container .NotificationItem .Notification .WhatsNewCard .NotificationHeader {
+ font-size: 1rem;
+ font-weight: 700;
+ margin-bottom: 0.44rem;
+ }
+ .Container
+ .NotificationItem
+ .Notification
+ .WhatsNewCard
+ .notificationContent {
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ }
+ .Container
+ .NotificationItem
+ .Notification
+ .WhatsNewCard
+ .notificationContent
+ .button-container {
+ margin-right: 0;
+ display: block;
+ }
+ .Container
+ .NotificationItem
+ .Notification
+ .WhatsNewCard
+ .notificationContent
+ .button-container
+ button {
+ width: 100%;
+ }
+}
.tqm-header {
display: -webkit-box !important;
@@ -2613,53 +3434,65 @@ video::-webkit-media-controls-play-button {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
- margin: 1rem .5rem -.5rem .3rem; }
- .tqm-header .header-icon-container {
- color: #f47738;
- display: -webkit-box !important;
- display: -ms-flexbox !important;
- display: flex !important;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center; }
- .tqm-header .header-icon-container svg {
- margin: 0 0 .5rem .2rem; }
+ margin: 1rem 0.5rem -0.5rem 0.3rem;
+}
+.tqm-header .header-icon-container {
+ color: #f47738;
+ display: -webkit-box !important;
+ display: -ms-flexbox !important;
+ display: flex !important;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+.tqm-header .header-icon-container svg {
+ margin: 0 0 0.5rem 0.2rem;
+}
.suitableOption {
font-size: 1.1rem;
font-weight: 700;
- text-align: center; }
+ text-align: center;
+}
.search-tabs-container {
margin-bottom: 0;
- border-bottom: 0; }
- .search-tabs-container .search-tab-head {
- border: 1px solid #d6d5d4;
- color: #505050;
- border-radius: .5rem .5rem 0 0; }
- .search-tabs-container .search-tab-head-selected {
- border-radius: .5rem .5rem 0 0;
- border: solid #f47738;
- border-width: 1px 1px 4px;
- margin-bottom: -4px; }
+ border-bottom: 0;
+}
+.search-tabs-container .search-tab-head {
+ border: 1px solid #d6d5d4;
+ color: #505050;
+ border-radius: 0.5rem 0.5rem 0 0;
+}
+.search-tabs-container .search-tab-head-selected {
+ border-radius: 0.5rem 0.5rem 0 0;
+ border: solid #f47738;
+ border-width: 1px 1px 4px;
+ margin-bottom: -4px;
+}
.action-bar-wrap-registry .search-add {
border: 1px solid #f47738;
background-color: #fff;
- padding: .5rem; }
+ padding: 0.5rem;
+}
@media screen and (max-width: 768px) {
.employeeCard.fsm {
margin-bottom: 70px !important;
margin-left: 16px !important;
- margin-right: 16px !important; } }
+ margin-right: 16px !important;
+ }
+}
@media (min-width: 780px) {
.fsm-citizen-wrapper {
width: calc(100% - 219px);
padding-left: 16px;
padding-right: 16px;
- margin-top: 1rem; } }
+ margin-top: 1rem;
+ }
+}
.fsm-inline-style {
background: #fafafa;
@@ -2667,154 +3500,198 @@ video::-webkit-media-controls-play-button {
border-radius: 4px;
padding: 16px;
margin-bottom: 40px;
- width: 90%; }
+ width: 90%;
+}
.employee .ground-container {
- margin-left: unset; }
+ margin-left: unset;
+}
.employee-data-table .row h2 {
- width: 25%; }
+ width: 25%;
+}
@media (min-width: 1024px) {
.employee-data-table .row {
-webkit-box-pack: start;
-ms-flex-pack: start;
- justify-content: flex-start; } }
+ justify-content: flex-start;
+ }
+}
input::-webkit-calendar-picker-indicator {
position: absolute;
right: 1%;
width: 30px;
- height: 30px; }
+ height: 30px;
+}
.employeeCard .card-section-header.fsm-registry {
margin-top: 40px;
- margin-bottom: 16px; }
- .employeeCard .card-section-header.fsm-registry:first-child {
- margin-top: 0; }
+ margin-bottom: 16px;
+}
+.employeeCard .card-section-header.fsm-registry:first-child {
+ margin-top: 0;
+}
@media (min-width: 780px) {
.card-home {
width: -webkit-max-content !important;
width: -moz-max-content !important;
- width: max-content !important; }
+ width: max-content !important;
+ }
.complaint-links-container .header {
-webkit-box-align: center !important;
-ms-flex-align: center !important;
- align-items: center !important; }
+ align-items: center !important;
+ }
.complaint-links-container .removeHeight {
- padding-right: 16px; }
+ padding-right: 16px;
+ }
.complaint-links-container .flex-fit {
- padding: 8px 16px; } }
+ padding: 8px 16px;
+ }
+}
.CitizenHomeCard {
- border-radius: 4px; }
+ border-radius: 4px;
+}
.fsm-citizen-wrapper {
- min-height: 100vh; }
- .fsm-citizen-wrapper .card {
- padding-bottom: 16px;
- margin-bottom: 24px; }
- .fsm-citizen-wrapper .card-text {
- margin-bottom: 10px; }
+ min-height: 100vh;
+}
+.fsm-citizen-wrapper .card {
+ padding-bottom: 16px;
+ margin-bottom: 24px;
+}
+.fsm-citizen-wrapper .card-text {
+ margin-bottom: 10px;
+}
.primary-label-btn {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
@media screen and (max-width: 768px) {
.card .card-sub-header {
font-size: 24px;
- margin-bottom: 16px; } }
+ margin-bottom: 16px;
+ }
+}
.fsm-citizen-rating-wrapper .card-label {
- margin-bottom: 20px; }
+ margin-bottom: 20px;
+}
.fsm-citizen-rating-wrapper .custom-checkbox {
width: 24px;
- height: 24px; }
+ height: 24px;
+}
.fsm-citizen-rating-wrapper .checkbox-wrap input {
width: 24px;
- height: 24px; }
+ height: 24px;
+}
.fsm-citizen-rating-wrapper .checkbox-wrap .label {
padding-top: 5px !important;
- margin-left: 45px; }
+ margin-left: 45px;
+}
.fsm-citizen-rating-wrapper .primary-label-btn {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
-.radio-wrap .radio-btn, .radio-wrap .radio-btn-checkmark {
+.radio-wrap .radio-btn,
+.radio-wrap .radio-btn-checkmark {
width: 1.5rem;
- height: 1.5rem; }
+ height: 1.5rem;
+}
.radio-wrap .radio-btn-checkmark:after {
width: 0.75rem !important;
height: 0.75rem !important;
top: 6px !important;
- left: 6px !important; }
+ left: 6px !important;
+}
.radio-wrap div {
-webkit-box-align: center;
-ms-flex-align: center;
- align-items: center; }
+ align-items: center;
+}
-.gender-label-row, .radio-wrap div {
+.gender-label-row,
+.radio-wrap div {
display: -webkit-box;
display: -ms-flexbox;
- display: flex; }
+ display: flex;
+}
.gender-label-row {
padding-bottom: 0;
- margin-bottom: 0; }
- .gender-label-row h2 {
- width: 50%;
- font-weight: 700; }
- .gender-label-row .value {
- width: 50%; }
+ margin-bottom: 0;
+}
+.gender-label-row h2 {
+ width: 50%;
+ font-weight: 700;
+}
+.gender-label-row .value {
+ width: 50%;
+}
.info-banner-wrap h2 {
- color: #0b0c0c; }
+ color: #0b0c0c;
+}
.multi-upload-wrap div .delete {
border-radius: unset;
top: 0;
- right: 0; }
+ right: 0;
+}
.stepper-gender-wrap {
border-bottom-width: 2px;
border-color: #d6d5d4;
- margin-bottom: 16px; }
- .stepper-gender-wrap h2 {
- margin-bottom: 10px; }
+ margin-bottom: 16px;
+}
+.stepper-gender-wrap h2 {
+ margin-bottom: 10px;
+}
.fsm-citizen-payment-label-wrapper {
border-bottom-width: 2px;
margin-bottom: 16px;
- border-color: #d6d5d4; }
- .fsm-citizen-payment-label-wrapper .key-note-pair {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between; }
- .fsm-citizen-payment-label-wrapper .key-note-pair h3 {
- width: 40%;
- word-break: unset; }
+ border-color: #d6d5d4;
+}
+.fsm-citizen-payment-label-wrapper .key-note-pair {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+}
+.fsm-citizen-payment-label-wrapper .key-note-pair h3 {
+ width: 40%;
+ word-break: unset;
+}
.fsm-citizen-property-subtype-container .card-header {
- white-space: nowrap; }
+ white-space: nowrap;
+}
.citizen-payment-error {
- margin-bottom: 16px; }
+ margin-bottom: 16px;
+}
.fsm-payment-logo {
- padding-right: 10px; }
+ padding-right: 10px;
+}
.navbar a {
display: -webkit-box;
@@ -2826,56 +3703,72 @@ input::-webkit-calendar-picker-indicator {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
- text-align: center; }
+ text-align: center;
+}
.navbar img {
width: 80%;
-o-object-fit: contain;
- object-fit: contain; }
+ object-fit: contain;
+}
.navbar h3 {
- margin-left: unset; }
+ margin-left: unset;
+}
.margin-unset {
- margin: unset !important; }
+ margin: unset !important;
+}
.select-wrap .options-card {
max-height: 200px;
- overflow: auto; }
+ overflow: auto;
+}
.rating-star-wrap {
-webkit-box-pack: center;
-ms-flex-pack: center;
- justify-content: center; }
+ justify-content: center;
+}
.fsm-citizen-reponse-page {
- padding: 0; }
- .fsm-citizen-reponse-page .fsm-response-button-wrap {
- padding: 12px; }
- .fsm-citizen-reponse-page p {
- padding-left: 12px;
- padding-right: 12px; }
+ padding: 0;
+}
+.fsm-citizen-reponse-page .fsm-response-button-wrap {
+ padding: 12px;
+}
+.fsm-citizen-reponse-page p {
+ padding-left: 12px;
+ padding-right: 12px;
+}
.check-page-uploaded-images {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
- flex-direction: column; }
- .check-page-uploaded-images h2 {
- margin-bottom: 8px; }
- .check-page-uploaded-images .value {
- width: unset !important; }
- .check-page-uploaded-images .multi-upload-wrap {
- margin-bottom: unset; }
+ flex-direction: column;
+}
+.check-page-uploaded-images h2 {
+ margin-bottom: 8px;
+}
+.check-page-uploaded-images .value {
+ width: unset !important;
+}
+.check-page-uploaded-images .multi-upload-wrap {
+ margin-bottom: unset;
+}
.select-pit-wrapper .toast-success {
- bottom: 111px; }
+ bottom: 111px;
+}
.action-bar-wrap .card-link {
- margin-top: 4px; }
+ margin-top: 4px;
+}
.employeeCard .card-section-header {
- margin-bottom: 16px; }
+ margin-bottom: 16px;
+}
@media (max-width: 670px) {
.toast-success {
@@ -2883,7 +3776,9 @@ input::-webkit-calendar-picker-indicator {
bottom: 0;
border-radius: 0;
margin: 0;
- z-index: 1000; } }
+ z-index: 1000;
+ }
+}
.tqm-document-title {
text-align: left;
@@ -2891,21 +3786,27 @@ input::-webkit-calendar-picker-indicator {
font-weight: 700;
line-height: 18.75px;
color: #505a5f;
- font-size: 16px; }
+ font-size: 16px;
+}
.employee-select-wrap .options-card {
top: 100%;
border-left-width: 0 !important;
- border-right-width: 0 !important; }
+ border-right-width: 0 !important;
+}
.employee-select-wrap.fsm-registry-dropdown .options-card {
- top: unset !important; }
+ top: unset !important;
+}
.inbox-search-links-container .header {
grid-template-columns: 12% 1fr;
- grid-gap: .81rem; }
+ grid-gap: 0.81rem;
+}
@media (max-width: 640px) {
.employee-select-wrap .options-card.date-range {
top: unset;
- bottom: 100%; } }
+ bottom: 100%;
+ }
+}
diff --git a/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js b/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js
index c9d2145e393..7fa4f55b82b 100644
--- a/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js
+++ b/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/hooks/index.js
@@ -1,9 +1,9 @@
-import { useInitStore } from './store';
-import useWorkflowDetails from './workflow';
-import useSessionStorage from './useSessionStorage';
-import useQueryParams from './useQueryParams';
-import useDocumentSearch from './useDocumentSearch';
-import useClickOutside from './useClickOutside';
+import { useInitStore } from "./store";
+import useWorkflowDetails from "./workflow";
+import useSessionStorage from "./useSessionStorage";
+import useQueryParams from "./useQueryParams";
+import useDocumentSearch from "./useDocumentSearch";
+import useClickOutside from "./useClickOutside";
import useLocation from "./useLocation";
import {
useFetchPayment,
@@ -15,76 +15,76 @@ import {
useRecieptSearch,
usePaymentSearch,
useBulkPdfDetails,
-} from './payment';
-import useWorkflowDetailsFSM from './workflowWorks.js';
-import { useUserSearch } from './userSearch';
-import { useApplicationsForBusinessServiceSearch } from './useApplicationForBillSearch';
-import useBoundaryLocalities from './useLocalities';
-import useCommonMDMS from './useMDMS';
-import useCustomMDMS from './useCustomMDMS';
-import useInboxGeneral from './useInboxGeneral/useInboxGeneral';
-import useApplicationStatusGeneral from './useStatusGeneral';
-import useModuleTenants from './useModuleTenants';
-import useStore from './useStore';
-import { useTenants } from './useTenants';
+} from "./payment";
+import useWorkflowDetailsFSM from "./workflowWorks.js";
+import { useUserSearch } from "./userSearch";
+import { useApplicationsForBusinessServiceSearch } from "./useApplicationForBillSearch";
+import useBoundaryLocalities from "./useLocalities";
+import useCommonMDMS from "./useMDMS";
+import useCustomMDMS from "./useCustomMDMS";
+import useInboxGeneral from "./useInboxGeneral/useInboxGeneral";
+import useApplicationStatusGeneral from "./useStatusGeneral";
+import useModuleTenants from "./useModuleTenants";
+import useStore from "./useStore";
+import { useTenants } from "./useTenants";
import {
useEvents,
useClearNotifications,
useNotificationCount,
-} from './events';
-import useCreateEvent from './events/useCreateEvent';
-import useUpdateEvent from './events/useUpdateEvent';
-import useNewInboxGeneral from './useInboxGeneral/useNewInbox';
-
-import useEmployeeSearch from './useEmployeeSearch';
-
-import useDssMdms from './dss/useMDMS';
-import useDashboardConfig from './dss/useDashboardConfig';
-import useDSSDashboard from './dss/useDSSDashboard';
-import useGetChart from './dss/useGetChart';
-
-import useHRMSSearch from './hrms/useHRMSsearch';
-import useHrmsMDMS from './hrms/useHRMSMDMS';
-import useHRMSCreate from './hrms/useHRMScreate';
-import useHRMSUpdate from './hrms/useHRMSUpdate';
-import useHRMSCount from './hrms/useHRMSCount';
-import useHRMSGenderMDMS from './hrms/useHRMSGender';
-
-import useEventInbox from './events/useEventInbox';
-import useEventDetails from './events/useEventDetails';
-import { useEngagementMDMS } from './engagement/useMdms';
-import useDocSearch from './engagement/useSearch';
-import useDocCreate from './engagement/useCreate';
-import useDocUpdate from './engagement/useUpdate';
-import useDocDelete from './engagement/useDelete';
-
-import useSurveyCreate from './surveys/useCreate';
-import useSurveyDelete from './surveys/useDelete';
-import useSurveyUpdate from './surveys/useUpdate';
-import useSurveySearch from './surveys/useSearch';
-import useSurveyShowResults from './surveys/useShowResults';
-import useSurveySubmitResponse from './surveys/useSubmitResponse';
-import useSurveyInbox from './surveys/useSurveyInbox';
-
-import useAccessControl from './useAccessControl';
-import useBillSearch from './bills/useBillSearch';
-import useCancelBill from './bills/useCancelBill';
-
-import useTenantsBills from './bills/useTenants';
-import useReportMeta from './reports/useReport';
-
-import useGetHowItWorksJSON from './useHowItWorksJSON';
-import useGetFAQsJSON from './useGetFAQsJSON';
-import useGetDSSFAQsJSON from './useGetDSSFAQsJSON';
-import useGetDSSAboutJSON from './useGetDSSAboutJSON';
-import useStaticData from './useStaticData';
-import { usePrivacyContext } from './usePrivacyContext';
-import useCustomAPIHook from './useCustomAPIHook';
-import useCustomAPIMutationHook from './useCustomAPIMutationHook.js';
-import useDynamicData from './useDynamicData';
-import useRouteSubscription from './useRouteSubscription';
-import useGenderMDMS from './useGenderMDMS';
-import useScrollPersistence from './useScrollPersistence.js';
+} from "./events";
+import useCreateEvent from "./events/useCreateEvent";
+import useUpdateEvent from "./events/useUpdateEvent";
+import useNewInboxGeneral from "./useInboxGeneral/useNewInbox";
+
+import useEmployeeSearch from "./useEmployeeSearch";
+
+import useDssMdms from "./dss/useMDMS";
+import useDashboardConfig from "./dss/useDashboardConfig";
+import useDSSDashboard from "./dss/useDSSDashboard";
+import useGetChart from "./dss/useGetChart";
+
+import useHRMSSearch from "./hrms/useHRMSsearch";
+import useHrmsMDMS from "./hrms/useHRMSMDMS";
+import useHRMSCreate from "./hrms/useHRMScreate";
+import useHRMSUpdate from "./hrms/useHRMSUpdate";
+import useHRMSCount from "./hrms/useHRMSCount";
+import useHRMSGenderMDMS from "./hrms/useHRMSGender";
+
+import useEventInbox from "./events/useEventInbox";
+import useEventDetails from "./events/useEventDetails";
+import { useEngagementMDMS } from "./engagement/useMdms";
+import useDocSearch from "./engagement/useSearch";
+import useDocCreate from "./engagement/useCreate";
+import useDocUpdate from "./engagement/useUpdate";
+import useDocDelete from "./engagement/useDelete";
+
+import useSurveyCreate from "./surveys/useCreate";
+import useSurveyDelete from "./surveys/useDelete";
+import useSurveyUpdate from "./surveys/useUpdate";
+import useSurveySearch from "./surveys/useSearch";
+import useSurveyShowResults from "./surveys/useShowResults";
+import useSurveySubmitResponse from "./surveys/useSubmitResponse";
+import useSurveyInbox from "./surveys/useSurveyInbox";
+
+import useAccessControl from "./useAccessControl";
+import useBillSearch from "./bills/useBillSearch";
+import useCancelBill from "./bills/useCancelBill";
+
+import useTenantsBills from "./bills/useTenants";
+import useReportMeta from "./reports/useReport";
+
+import useGetHowItWorksJSON from "./useHowItWorksJSON";
+import useGetFAQsJSON from "./useGetFAQsJSON";
+import useGetDSSFAQsJSON from "./useGetDSSFAQsJSON";
+import useGetDSSAboutJSON from "./useGetDSSAboutJSON";
+import useStaticData from "./useStaticData";
+import { usePrivacyContext } from "./usePrivacyContext";
+import useCustomAPIHook from "./useCustomAPIHook";
+import useCustomAPIMutationHook from "./useCustomAPIMutationHook.js";
+import useDynamicData from "./useDynamicData";
+import useRouteSubscription from "./useRouteSubscription";
+import useGenderMDMS from "./useGenderMDMS";
+import useScrollPersistence from "./useScrollPersistence.js";
const dss = {
useMDMS: useDssMdms,
@@ -185,7 +185,7 @@ const Hooks = {
useDynamicData,
useGenderMDMS,
useLocation,
- useScrollPersistence
+ useScrollPersistence,
};
export default Hooks;
diff --git a/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js b/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js
index 67f4c4d688a..1732017225c 100644
--- a/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js
+++ b/frontend/tqm-ui/web/micro-ui-internals/packages/libraries/src/services/elements/FSM.js
@@ -86,6 +86,7 @@ export const FSMService = {
auth: true,
});
},
+
vehicleTripCreate: (details) => {
return Request({
url: Urls.fsm.vehicleTripCreate,