@djb25/digit-ui-module-fsm 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +63 -101
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddNewIcon, ShippingTruck, EmployeeModuleCard, TickMark, FormStep as FormStep$1, RadioOrSelect, LabelFieldPair, CardLabel as CardLabel$1, Dropdown as Dropdown$2, TextInput as TextInput$1, RadioButtons, Loader, LocationSearchCard, TextArea as TextArea$1, CardLabelError as CardLabelError$1, CitizenInfoLabel, CardText as CardText$1, WrapUnMaskComponent, PitDimension, ImageUploadHandler, KeyNote, BackButton, PrivateRoute, TelePhone, CardSectionHeader, CheckPoint, ConnectingCheckPoints, LinkButton as LinkButton$1, ActionLinks, Rating, SubmitBar as SubmitBar$1, Header, Card as Card$1, CardHeader as CardHeader$1, CardSubHeader, StatusTable, Row, Banner, RatingCard, ULBHomeCard, ViewReportIcon, InboxIcon, Table, CheckBox, CloseSvg, Localities, RemoveableTag, ActionBar, ApplyFilterBar, Label, LinkLabel, DatePicker as DatePicker$3, DetailsCard, SearchAction, FilterAction, PopUp, BreadCrumb, ModuleHeader, ArrowLeft,
|
|
1
|
+
import { AddNewIcon, ShippingTruck, EmployeeModuleCard, TickMark, FormStep as FormStep$1, RadioOrSelect, LabelFieldPair, CardLabel as CardLabel$1, Dropdown as Dropdown$2, TextInput as TextInput$1, RadioButtons, Loader, LocationSearchCard, TextArea as TextArea$1, CardLabelError as CardLabelError$1, CitizenInfoLabel, CardText as CardText$1, WrapUnMaskComponent, PitDimension, ImageUploadHandler, KeyNote, BackButton, PrivateRoute, TelePhone, CardSectionHeader, CheckPoint, ConnectingCheckPoints, LinkButton as LinkButton$1, ActionLinks, Rating, SubmitBar as SubmitBar$1, Header, Card as Card$1, CardHeader as CardHeader$1, CardSubHeader, StatusTable, Row, Banner, RatingCard, ULBHomeCard, ViewReportIcon, InboxIcon, Table, CheckBox, CloseSvg, Localities, RemoveableTag, ActionBar, ApplyFilterBar, Label, LinkLabel, DatePicker as DatePicker$3, DetailsCard, SearchAction, FilterAction, PopUp, BreadCrumb, ModuleHeader, ArrowLeft, HomeIcon, Modal, FormComposer, UploadPitPhoto, ImageViewer, BreakLine, Toast, Menu, MultiUploadWrapper, AddIcon, ToggleSwitch, InfoIcon, EditIcon, DeleteIcon, VerticalTimeline, CitizenHomeCard, CitizenTruck } from '@djb25/digit-ui-react-components';
|
|
2
2
|
import React, { useState, useEffect, Fragment as Fragment$1, forwardRef, useCallback, useMemo, useRef } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { useLocation, useParams, Switch, Redirect, Link, useHistory, useRouteMatch, Route } from 'react-router-dom';
|
|
@@ -12749,6 +12749,11 @@ const EmployeeApp = ({
|
|
|
12749
12749
|
t
|
|
12750
12750
|
} = useTranslation();
|
|
12751
12751
|
const location = useLocation();
|
|
12752
|
+
const DSO = Digit.UserService.hasAccess(["FSM_DSO"]);
|
|
12753
|
+
const COLLECTOR = Digit.UserService.hasAccess("FSM_COLLECTOR") || false;
|
|
12754
|
+
const FSM_ADMIN = Digit.UserService.hasAccess("FSM_ADMIN") || false;
|
|
12755
|
+
const FSM_EDITOR = Digit.UserService.hasAccess("FSM_EDITOR_EMP") || false;
|
|
12756
|
+
const FSM_CREATOR = Digit.UserService.hasAccess("FSM_CREATOR_EMP") || false;
|
|
12752
12757
|
useEffect(() => {
|
|
12753
12758
|
var _location$pathname16;
|
|
12754
12759
|
if (!(location !== null && location !== void 0 && (_location$pathname16 = location.pathname) !== null && _location$pathname16 !== void 0 && _location$pathname16.includes("application-details"))) {
|
|
@@ -12770,6 +12775,7 @@ const EmployeeApp = ({
|
|
|
12770
12775
|
const ApplicationAudit = Digit.ComponentRegistryService.getComponent("FSMApplicationAudit");
|
|
12771
12776
|
const RateView = Digit.ComponentRegistryService.getComponent("FSMRateView");
|
|
12772
12777
|
const FSMLinks = Digit.ComponentRegistryService.getComponent("FSMLinks");
|
|
12778
|
+
const FSTPO = Digit.UserService.hasAccess(["FSM_EMP_FSTPO"]);
|
|
12773
12779
|
const FSMRegistry = Digit.ComponentRegistryService.getComponent("FSMRegistry");
|
|
12774
12780
|
const VendorDetails = Digit.ComponentRegistryService.getComponent("VendorDetails");
|
|
12775
12781
|
const AddVendor = Digit.ComponentRegistryService.getComponent("AddVendor");
|
|
@@ -12780,6 +12786,8 @@ const EmployeeApp = ({
|
|
|
12780
12786
|
const DriverDetails = Digit.ComponentRegistryService.getComponent("DriverDetails");
|
|
12781
12787
|
const AddDriver = Digit.ComponentRegistryService.getComponent("AddDriver");
|
|
12782
12788
|
const EditDriver = Digit.ComponentRegistryService.getComponent("EditDriver");
|
|
12789
|
+
const BreadCrumbComp = Digit.ComponentRegistryService.getComponent("FsmBreadCrumb");
|
|
12790
|
+
const locationCheck = window.location.href.includes("/employee/fsm/inbox") || window.location.href.includes("/employee/fsm/registry") || window.location.href.includes("/employee/fsm/application-details/");
|
|
12783
12791
|
const getDynamicBreadcrumbs = () => {
|
|
12784
12792
|
const pathname = location.pathname;
|
|
12785
12793
|
let crumbs = [{
|
|
@@ -12828,6 +12836,7 @@ const EmployeeApp = ({
|
|
|
12828
12836
|
}
|
|
12829
12837
|
return crumbs;
|
|
12830
12838
|
};
|
|
12839
|
+
const desludgingApplicationCheck = window.location.href.includes("/employee/fsm/new-application") || window.location.href.includes("/employee/fsm/modify-application");
|
|
12831
12840
|
return /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
12832
12841
|
className: "ground-container employee-app-container form-container"
|
|
12833
12842
|
}, /*#__PURE__*/React.createElement(ModuleHeader, {
|
|
@@ -12839,189 +12848,142 @@ const EmployeeApp = ({
|
|
|
12839
12848
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12840
12849
|
exact: true,
|
|
12841
12850
|
path: `${path}/`,
|
|
12842
|
-
component:
|
|
12843
|
-
layoutClass: "normal"
|
|
12844
|
-
}, /*#__PURE__*/React.createElement(FSMLinks, Object.assign({}, props, {
|
|
12851
|
+
component: renderWithLayout(() => /*#__PURE__*/React.createElement(FSMLinks, {
|
|
12845
12852
|
matchPath: path,
|
|
12846
12853
|
userType: userType
|
|
12847
|
-
}))
|
|
12854
|
+
}), layouts.normal)
|
|
12848
12855
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12849
12856
|
path: `${path}/inbox`,
|
|
12850
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12851
|
-
layoutClass: "normal"
|
|
12852
|
-
}, /*#__PURE__*/React.createElement(Inbox, Object.assign({}, props, {
|
|
12857
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(Inbox, Object.assign({}, props, {
|
|
12853
12858
|
parentRoute: path,
|
|
12854
12859
|
isInbox: true
|
|
12855
|
-
})))
|
|
12860
|
+
})), layouts.normal)
|
|
12856
12861
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12857
12862
|
path: `${path}/fstp-inbox`,
|
|
12858
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12859
|
-
layoutClass: "normal"
|
|
12860
|
-
}, /*#__PURE__*/React.createElement(FstpInbox, Object.assign({}, props, {
|
|
12863
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(FstpInbox, Object.assign({}, props, {
|
|
12861
12864
|
parentRoute: path
|
|
12862
|
-
})))
|
|
12865
|
+
})), layouts.normal)
|
|
12863
12866
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12864
12867
|
path: `${path}/new-application`,
|
|
12865
|
-
component: () => /*#__PURE__*/React.createElement(
|
|
12866
|
-
layoutClass: "normal"
|
|
12867
|
-
}, /*#__PURE__*/React.createElement(NewApplication, {
|
|
12868
|
+
component: renderWithLayout(() => /*#__PURE__*/React.createElement(NewApplication, {
|
|
12868
12869
|
parentUrl: url
|
|
12869
|
-
}))
|
|
12870
|
+
}), layouts.normal)
|
|
12870
12871
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12871
12872
|
path: `${path}/modify-application/:id`,
|
|
12872
|
-
component: () => /*#__PURE__*/React.createElement(
|
|
12873
|
-
layoutClass: "normal"
|
|
12874
|
-
}, /*#__PURE__*/React.createElement(EditApplication, null))
|
|
12873
|
+
component: renderWithLayout(() => /*#__PURE__*/React.createElement(EditApplication, null), layouts.normal)
|
|
12875
12874
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12876
12875
|
path: `${path}/application-details/:id`,
|
|
12877
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12878
|
-
layoutClass: "normal"
|
|
12879
|
-
}, /*#__PURE__*/React.createElement(EmployeeApplicationDetails, Object.assign({}, props, {
|
|
12876
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(EmployeeApplicationDetails, Object.assign({}, props, {
|
|
12880
12877
|
parentRoute: path,
|
|
12881
12878
|
userType: "EMPLOYEE"
|
|
12882
|
-
})))
|
|
12879
|
+
})), layouts.normal)
|
|
12883
12880
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12884
12881
|
path: `${path}/fstp-operator-details/:id`,
|
|
12885
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12886
|
-
layoutClass: "normal"
|
|
12887
|
-
}, /*#__PURE__*/React.createElement(FstpOperatorDetails, props))
|
|
12882
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(FstpOperatorDetails, props), layouts.normal)
|
|
12888
12883
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12889
12884
|
path: `${path}/response`,
|
|
12890
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12891
|
-
layoutClass: "normal"
|
|
12892
|
-
}, /*#__PURE__*/React.createElement(Response, Object.assign({}, props, {
|
|
12885
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(Response, Object.assign({}, props, {
|
|
12893
12886
|
parentRoute: path
|
|
12894
|
-
})))
|
|
12887
|
+
})), layouts.normal)
|
|
12895
12888
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12896
12889
|
path: `${path}/application-audit/:id`,
|
|
12897
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12898
|
-
layoutClass: "normal"
|
|
12899
|
-
}, /*#__PURE__*/React.createElement(ApplicationAudit, Object.assign({}, props, {
|
|
12890
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(ApplicationAudit, Object.assign({}, props, {
|
|
12900
12891
|
parentRoute: path
|
|
12901
|
-
})))
|
|
12892
|
+
})), layouts.normal)
|
|
12902
12893
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12903
12894
|
path: `${path}/search`,
|
|
12904
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12905
|
-
layoutClass: "normal"
|
|
12906
|
-
}, /*#__PURE__*/React.createElement(Inbox, Object.assign({}, props, {
|
|
12895
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(Inbox, Object.assign({}, props, {
|
|
12907
12896
|
parentRoute: path,
|
|
12908
12897
|
isSearch: true
|
|
12909
|
-
})))
|
|
12898
|
+
})), layouts.normal)
|
|
12910
12899
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12911
12900
|
path: `${path}/rate-view/:id`,
|
|
12912
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12913
|
-
layoutClass: "normal"
|
|
12914
|
-
}, /*#__PURE__*/React.createElement(RateView, Object.assign({}, props, {
|
|
12901
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(RateView, Object.assign({}, props, {
|
|
12915
12902
|
parentRoute: path
|
|
12916
|
-
})))
|
|
12903
|
+
})), layouts.normal)
|
|
12917
12904
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12918
12905
|
path: `${path}/mark-for-disposal`,
|
|
12919
|
-
component: () => /*#__PURE__*/React.createElement(
|
|
12920
|
-
layoutClass: "normal"
|
|
12921
|
-
}, /*#__PURE__*/React.createElement("div", null))
|
|
12906
|
+
component: renderWithLayout(() => /*#__PURE__*/React.createElement("div", null), layouts.normal)
|
|
12922
12907
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12923
12908
|
exact: true,
|
|
12924
12909
|
path: `${path}/registry`,
|
|
12925
|
-
|
|
12926
|
-
layoutClass: "normal"
|
|
12927
|
-
}, /*#__PURE__*/React.createElement(FSMRegistry, Object.assign({}, props, {
|
|
12910
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(FSMRegistry, Object.assign({}, props, {
|
|
12928
12911
|
parentRoute: path
|
|
12929
|
-
})))
|
|
12912
|
+
})), layouts.normal)
|
|
12930
12913
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12931
12914
|
path: `${path}/registry/vendor-details/:id`,
|
|
12932
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12933
|
-
layoutClass: "normal"
|
|
12934
|
-
}, /*#__PURE__*/React.createElement(VendorDetails, Object.assign({}, props, {
|
|
12915
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(VendorDetails, Object.assign({}, props, {
|
|
12935
12916
|
parentRoute: path
|
|
12936
|
-
})))
|
|
12917
|
+
})), layouts.normal)
|
|
12937
12918
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12938
12919
|
path: `${path}/registry/new-vendor`,
|
|
12939
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12940
|
-
layoutClass: "normal"
|
|
12941
|
-
}, /*#__PURE__*/React.createElement(AddVendor, Object.assign({}, props, {
|
|
12920
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(AddVendor, Object.assign({}, props, {
|
|
12942
12921
|
parentRoute: path
|
|
12943
|
-
})))
|
|
12922
|
+
})), layouts.normal)
|
|
12944
12923
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12945
12924
|
path: `${path}/registry/modify-vendor/:id`,
|
|
12946
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12947
|
-
layoutClass: "action"
|
|
12948
|
-
}, /*#__PURE__*/React.createElement(EditVendor, Object.assign({}, props, {
|
|
12925
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(EditVendor, Object.assign({}, props, {
|
|
12949
12926
|
parentRoute: path
|
|
12950
|
-
})))
|
|
12927
|
+
})), layouts.action)
|
|
12951
12928
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12952
12929
|
path: `${path}/registry/vehicle-details/:id`,
|
|
12953
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12954
|
-
layoutClass: "normal"
|
|
12955
|
-
}, /*#__PURE__*/React.createElement(VehicleDetails, Object.assign({}, props, {
|
|
12930
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(VehicleDetails, Object.assign({}, props, {
|
|
12956
12931
|
parentRoute: path
|
|
12957
|
-
})))
|
|
12932
|
+
})), layouts.normal)
|
|
12958
12933
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12959
12934
|
path: `${path}/registry/new-vehicle`,
|
|
12960
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12961
|
-
layoutClass: "normal"
|
|
12962
|
-
}, /*#__PURE__*/React.createElement(AddVehicle, Object.assign({}, props, {
|
|
12935
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(AddVehicle, Object.assign({}, props, {
|
|
12963
12936
|
parentRoute: path
|
|
12964
|
-
})))
|
|
12937
|
+
})), layouts.normal)
|
|
12965
12938
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12966
12939
|
path: `${path}/registry/modify-vehicle/:id`,
|
|
12967
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12968
|
-
layoutClass: "action"
|
|
12969
|
-
}, /*#__PURE__*/React.createElement(EditVehicle, Object.assign({}, props, {
|
|
12940
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(EditVehicle, Object.assign({}, props, {
|
|
12970
12941
|
parentRoute: path
|
|
12971
|
-
})))
|
|
12942
|
+
})), layouts.action)
|
|
12972
12943
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12973
12944
|
path: `${path}/registry/driver-details/:id`,
|
|
12974
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12975
|
-
layoutClass: "normal"
|
|
12976
|
-
}, /*#__PURE__*/React.createElement(DriverDetails, Object.assign({}, props, {
|
|
12945
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(DriverDetails, Object.assign({}, props, {
|
|
12977
12946
|
parentRoute: path
|
|
12978
|
-
})))
|
|
12947
|
+
})), layouts.normal)
|
|
12979
12948
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12980
12949
|
path: `${path}/registry/new-driver`,
|
|
12981
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12982
|
-
layoutClass: "normal"
|
|
12983
|
-
}, /*#__PURE__*/React.createElement(AddDriver, Object.assign({}, props, {
|
|
12950
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(AddDriver, Object.assign({}, props, {
|
|
12984
12951
|
parentRoute: path
|
|
12985
|
-
})))
|
|
12952
|
+
})), layouts.normal)
|
|
12986
12953
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12987
12954
|
path: `${path}/registry/modify-driver/:id`,
|
|
12988
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
12989
|
-
layoutClass: "action"
|
|
12990
|
-
}, /*#__PURE__*/React.createElement(EditDriver, Object.assign({}, props, {
|
|
12955
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(EditDriver, Object.assign({}, props, {
|
|
12991
12956
|
parentRoute: path
|
|
12992
|
-
})))
|
|
12957
|
+
})), layouts.action)
|
|
12993
12958
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
12994
12959
|
exact: true,
|
|
12995
12960
|
path: `${path}/fstp-operations`,
|
|
12996
|
-
component: () => /*#__PURE__*/React.createElement(
|
|
12997
|
-
layoutClass: "normal"
|
|
12998
|
-
}, /*#__PURE__*/React.createElement(FstpOperations, null))
|
|
12961
|
+
component: renderWithLayout(() => /*#__PURE__*/React.createElement(FstpOperations, null), layouts.normal)
|
|
12999
12962
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
13000
12963
|
exact: true,
|
|
13001
12964
|
path: `${path}/fstp-add-vehicle`,
|
|
13002
|
-
component: () => /*#__PURE__*/React.createElement(
|
|
13003
|
-
layoutClass: "normal"
|
|
13004
|
-
}, /*#__PURE__*/React.createElement(FstpAddVehicle, null))
|
|
12965
|
+
component: renderWithLayout(() => /*#__PURE__*/React.createElement(FstpAddVehicle, null), layouts.normal)
|
|
13005
12966
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
13006
12967
|
exact: true,
|
|
13007
12968
|
path: `${path}/fstp-fsm-request/:id`,
|
|
13008
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
13009
|
-
layoutClass: "normal"
|
|
13010
|
-
}, /*#__PURE__*/React.createElement(FstpServiceRequest, props))
|
|
12969
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(FstpServiceRequest, props), layouts.normal)
|
|
13011
12970
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
13012
12971
|
exact: true,
|
|
13013
12972
|
path: `${path}/fstp/new-vehicle-entry`,
|
|
13014
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
13015
|
-
layoutClass: "normal"
|
|
13016
|
-
}, /*#__PURE__*/React.createElement(FstpOperatorDetails, props))
|
|
12973
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(FstpOperatorDetails, props), layouts.normal)
|
|
13017
12974
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
13018
12975
|
exact: true,
|
|
13019
12976
|
path: `${path}/fstp/new-vehicle-entry/:id`,
|
|
13020
|
-
component: props => /*#__PURE__*/React.createElement(
|
|
13021
|
-
layoutClass: "normal"
|
|
13022
|
-
}, /*#__PURE__*/React.createElement(FstpOperatorDetails, props))
|
|
12977
|
+
component: renderWithLayout(props => /*#__PURE__*/React.createElement(FstpOperatorDetails, props), layouts.normal)
|
|
13023
12978
|
}))));
|
|
13024
12979
|
};
|
|
12980
|
+
const renderWithLayout = (Component, layoutClass) => routeProps => /*#__PURE__*/React.createElement("div", {
|
|
12981
|
+
className: layoutClass
|
|
12982
|
+
}, /*#__PURE__*/React.createElement(Component, routeProps));
|
|
12983
|
+
const layouts = {
|
|
12984
|
+
normal: "employee-form",
|
|
12985
|
+
action: "employee-form employee-form-content-with-action-bar"
|
|
12986
|
+
};
|
|
13025
12987
|
|
|
13026
12988
|
const ApplicationAudit = ({
|
|
13027
12989
|
parentRoute
|