@xframework-ca-test/cli 1.0.33 → 1.0.34
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/ui/assets/AIVision-0025192f.js +4 -0
- package/dist/ui/assets/AccountDetails-42610e44.js +1 -0
- package/dist/ui/assets/AccountDetails-5b4cd3f7.js +1 -0
- package/dist/ui/assets/AccountServices-f68f471d.js +1 -0
- package/dist/ui/assets/AccountsList-262479cf.js +1 -0
- package/dist/ui/assets/ActionLink-9db8b1c2.js +1 -0
- package/dist/ui/assets/AdaptableCard-3d1e1f96.js +1 -0
- package/dist/ui/assets/AddAccount-2cd72664.js +1 -0
- package/dist/ui/assets/AddEditFile-6ae10d57.js +1 -0
- package/dist/ui/assets/AddEditTranslation-3812ff0f.js +1 -0
- package/dist/ui/assets/AiApiLogList-1eac39b7.js +1 -0
- package/dist/ui/assets/AiCa-2e90495f.js +1 -0
- package/dist/ui/assets/Alert-59d09a99.js +1 -0
- package/dist/ui/assets/ApiService-df126758.js +1 -0
- package/dist/ui/assets/AppLandingPage-afcea727.js +4 -0
- package/dist/ui/assets/AuditLogsList-ea37686b.js +1 -0
- package/dist/ui/assets/Auth0Callback-00729568.js +1 -0
- package/dist/ui/assets/BarCodes-4ff49536.js +1 -0
- package/dist/ui/assets/BlankLayout-7085ab88.js +1 -0
- package/dist/ui/assets/{BrainServices-a4bb698e.js → BrainServices-4cb93af5.js} +1 -1
- package/dist/ui/assets/CalendarList-689ed66a.js +2 -0
- package/dist/ui/assets/CalendarList-f4a9aa21.css +8 -0
- package/dist/ui/assets/CategoryList-a6d01041.js +1 -0
- package/dist/ui/assets/CategoryList-c03f4259.js +1 -0
- package/dist/ui/assets/ChatContainer-fec7b84d.js +1 -0
- package/dist/ui/assets/ChatsList-4b3194e4.js +1 -0
- package/dist/ui/assets/Check-af681a30.js +1 -0
- package/dist/ui/assets/CheckInVideo-aa9f50b2.js +6 -0
- package/dist/ui/assets/ClassicLayout-a9866742.js +2 -0
- package/dist/ui/assets/CompanyList-94119d71.js +1 -0
- package/dist/ui/assets/{CompanyService-1bf7c3c8.js → CompanyService-491a9cc1.js} +1 -1
- package/dist/ui/assets/{Component-59e4c14b.js → Component-566d01e0.js} +1 -1
- package/dist/ui/assets/ConfirmDialog-2838a642.js +1 -0
- package/dist/ui/assets/ContactDetails-c9dc0ed1.js +1 -0
- package/dist/ui/assets/{ContactService-92281a90.js → ContactService-8afcaeb7.js} +1 -1
- package/dist/ui/assets/ContactsList-5b06c9b8.js +1 -0
- package/dist/ui/assets/CountiesList-18b23cf7.js +1 -0
- package/dist/ui/assets/CountyDetails-ea024f14.js +1 -0
- package/dist/ui/assets/CourseDetails-8a5f8d63.js +1 -0
- package/dist/ui/assets/CourseList-3564fec3.js +1 -0
- package/dist/ui/assets/{CourseService-f0dc3bf1.js → CourseService-29ad460c.js} +1 -1
- package/dist/ui/assets/CreateSignature-c22e4a71.js +7 -0
- package/dist/ui/assets/{CustomerInfoField-fff65ace.js → CustomerInfoField-4bf880e2.js} +1 -1
- package/dist/ui/assets/DeckedLayout-610fe851.js +1 -0
- package/dist/ui/assets/DensitySelector-5d2e901f.js +1 -0
- package/dist/ui/assets/{DepartmentServices-3d56a9e7.js → DepartmentServices-a53e998b.js} +1 -1
- package/dist/ui/assets/{DigitalSignature-fff42e33.js → DigitalSignature-69eaf80c.js} +1 -1
- package/dist/ui/assets/{DocumemtManagementService-6501a5c1.js → DocumemtManagementService-85cde51a.js} +1 -1
- package/dist/ui/assets/DocumentActivity-bc938c61.js +1 -0
- package/dist/ui/assets/DocumentLayout-a12982d7.js +1 -0
- package/dist/ui/assets/DocumentList2-9c8c6284.js +23 -0
- package/dist/ui/assets/DocumentLists-1cdaae06.js +1 -0
- package/dist/ui/assets/DocumentUserSigned-f7371fc5.js +7 -0
- package/dist/ui/assets/DocumentsList-3b25907c.js +1 -0
- package/dist/ui/assets/DoubleSidedImage-b4bd3915.js +1 -0
- package/dist/ui/assets/{Drawer-949c18c6.js → Drawer-4f97e662.js} +1 -1
- package/dist/ui/assets/DynamicDashboard-0a41d287.js +1 -0
- package/dist/ui/assets/{DynamicTablesService-963fe77b.js → DynamicTablesService-6aa57f52.js} +1 -1
- package/dist/ui/assets/EditAccount-e42d66af.js +1 -0
- package/dist/ui/assets/EditLead-c8c9760a.js +1 -0
- package/dist/ui/assets/FaqItems-25d66543.js +6 -0
- package/dist/ui/assets/{FileManagementServices-25fd64c5.js → FileManagementServices-19b47568.js} +1 -1
- package/dist/ui/assets/{FolderOpen-88bfcc74.js → FolderOpen-7b0e2ac0.js} +1 -1
- package/dist/ui/assets/FormContainer-9a52b9e8.js +1 -0
- package/dist/ui/assets/{GeneralSettings-a7f805e8.js → GeneralSettings-c8c2f051.js} +5 -5
- package/dist/ui/assets/GenericPage-81e41302.js +1 -0
- package/dist/ui/assets/GridMapDetails-38f50b3c.js +1 -0
- package/dist/ui/assets/HorizontalMenuContent-fd559f4d.js +1 -0
- package/dist/ui/assets/{ImportFile-3f60d715.js → ImportFile-026b1771.js} +1 -1
- package/dist/ui/assets/{InlineSignaturePad-09c06619.js → InlineSignaturePad-f5630151.js} +1 -1
- package/dist/ui/assets/InvoicesList-9723bc5a.js +1 -0
- package/dist/ui/assets/{KeyVaultService-874d83fe.js → KeyVaultService-9608f0ff.js} +1 -1
- package/dist/ui/assets/LeadDetails-8cdaae0e.js +1 -0
- package/dist/ui/assets/{LeadSourceService-e46fa85e.js → LeadSourceService-cf71ea64.js} +1 -1
- package/dist/ui/assets/LeadsList-1ec20a77.js +1 -0
- package/dist/ui/assets/Logo-dd6f7656.js +1 -0
- package/dist/ui/assets/MapView-dcab88b3.js +1 -0
- package/dist/ui/assets/MarketingPage-998d10b0.js +4 -0
- package/dist/ui/assets/MenuNew-79fc95f3.js +1 -0
- package/dist/ui/assets/{MenuTable-c2c65021.js → MenuTable-f69e0fe4.js} +1 -1
- package/dist/ui/assets/MessageInput-07fcc5cb.js +21 -0
- package/dist/ui/assets/MessagesList-21d2b034.js +1 -0
- package/dist/ui/assets/ModernLayout-05af7cf7.js +1 -0
- package/dist/ui/assets/{NoData-8c485a3a.js → NoData-4cc4af03.js} +1 -1
- package/dist/ui/assets/Notify-8fb74d48.js +1 -0
- package/dist/ui/assets/OpportunitiesList-2f96958f.js +1 -0
- package/dist/ui/assets/OpportunityDetails-aaec3200.js +1 -0
- package/dist/ui/assets/{OpportunityServices-fa4fabfd.js → OpportunityServices-c4510dd2.js} +1 -1
- package/dist/ui/assets/OpportunityStatus-ea3b5ee2.js +1 -0
- package/dist/ui/assets/PageBreadcrumb-cf54a6e9.js +1 -0
- package/dist/ui/assets/{Password-d9294711.js → Password-21414dc6.js} +1 -1
- package/dist/ui/assets/PasswordInput-333c82ca.js +1 -0
- package/dist/ui/assets/{PreferenceService-75bf9db6.js → PreferenceService-d2b3e003.js} +1 -1
- package/dist/ui/assets/Profile-8c9fd2fc.js +1 -0
- package/dist/ui/assets/{ReportEditor-8880f57e.js → ReportEditor-4e4f6d53.js} +3 -3
- package/dist/ui/assets/{ReportViewer-9f1080f7.js → ReportViewer-616d3cfc.js} +30 -30
- package/dist/ui/assets/RoleEdit-a076ea85.js +1 -0
- package/dist/ui/assets/RoleForm-47691f91.js +1 -0
- package/dist/ui/assets/{RoleNew-49fadb16.js → RoleNew-e86a1513.js} +1 -1
- package/dist/ui/assets/{RoleService-7008da2c.js → RoleService-2f9ed883.js} +1 -1
- package/dist/ui/assets/ScheduleCycle-0ae23631.js +1 -0
- package/dist/ui/assets/{ScheduleService-7228f0a3.js → ScheduleService-41a88c41.js} +1 -1
- package/dist/ui/assets/ScreenList-8f58150b.js +1 -0
- package/dist/ui/assets/Settings-fc91c9d2.js +2 -0
- package/dist/ui/assets/{SetupWizard-4172e377.js → SetupWizard-d1363582.js} +1 -1
- package/dist/ui/assets/SimpleLayout-77cfb778.js +1 -0
- package/dist/ui/assets/StackedSideLayout-2f1ee9d1.js +1 -0
- package/dist/ui/assets/StickyFooter-3e569b80.js +1 -0
- package/dist/ui/assets/SupportRequets-0ecd4ab8.js +1 -0
- package/dist/ui/assets/{Switcher-c8648037.js → Switcher-e2fba588.js} +1 -1
- package/dist/ui/assets/TimeLogApprovalDataList-7b49a432.js +1 -0
- package/dist/ui/assets/TimeLogApprovalList-78cab2b6.js +1 -0
- package/dist/ui/assets/TimeLogList-592b29aa.js +1 -0
- package/dist/ui/assets/{TimeLogService-cd7b2f61.js → TimeLogService-83166cbc.js} +1 -1
- package/dist/ui/assets/TimesheetsList-d1520efb.js +1 -0
- package/dist/ui/assets/TranslationList-88d7d5d7.js +1 -0
- package/dist/ui/assets/TweaksPanel-bc10bc47.js +112 -0
- package/dist/ui/assets/{Upload-fb34ce03.js → Upload-be937eb6.js} +4 -4
- package/dist/ui/assets/UserEdit-1f8208f3.js +1 -0
- package/dist/ui/assets/UserForm-e9b56aff.js +1 -0
- package/dist/ui/assets/{UserNew-b36c342c.js → UserNew-31fa258f.js} +1 -1
- package/dist/ui/assets/{UserService-047aef51.js → UserService-1b93ceb0.js} +1 -1
- package/dist/ui/assets/ViewTimeLogForApproval-ae077050.js +1 -0
- package/dist/ui/assets/Views-1359da48.js +1 -0
- package/dist/ui/assets/WelcomeList-dc8666ec.js +9 -0
- package/dist/ui/assets/WidgetLayoutsService-49730609.js +1 -0
- package/dist/ui/assets/{WrapperCell-a7981b07.js → WrapperCell-3d5592cf.js} +1 -1
- package/dist/ui/assets/actioncell-6b5ebd6c.js +1 -0
- package/dist/ui/assets/{ar-3c9c213e.js → ar-fb4f0ea8.js} +1 -1
- package/dist/ui/assets/calendarList-ac838a86.js +2 -0
- package/dist/ui/assets/{cjs-162261df.js → cjs-998de55c.js} +1 -1
- package/dist/ui/assets/createSvgIcon-aba65987.js +1 -0
- package/dist/ui/assets/documentsList-4e2e061e.js +1 -0
- package/dist/ui/assets/{es-be649ede.js → es-cd58d3ad.js} +1 -1
- package/dist/ui/assets/{esm-f306d015.js → esm-c40433f8.js} +1 -1
- package/dist/ui/assets/gridList-e1571c87.js +1 -0
- package/dist/ui/assets/gridMapTable-d95f9c70.js +1 -0
- package/dist/ui/assets/{index-f6be0390.js → index-00a8eb64.js} +1 -1
- package/dist/ui/assets/index-04438b6b.js +22 -0
- package/dist/ui/assets/index-058738bc.js +1 -0
- package/dist/ui/assets/{index-e4c6057f.js → index-0b08ce18.js} +1 -1
- package/dist/ui/assets/index-0d730815.js +4 -0
- package/dist/ui/assets/index-0efcf53a.js +1 -0
- package/dist/ui/assets/index-0f432250.js +1 -0
- package/dist/ui/assets/{index-cebd880b.js → index-0fd6e996.js} +1 -1
- package/dist/ui/assets/{index-49a94e54.js → index-11297f4a.js} +1 -1
- package/dist/ui/assets/index-14c1c1d7.js +1 -0
- package/dist/ui/assets/index-15e1f4be.js +1 -0
- package/dist/ui/assets/index-16586c21.js +1 -0
- package/dist/ui/assets/index-19346c14.js +1 -0
- package/dist/ui/assets/{index-16bb10a6.js → index-1dc2b9d2.js} +1 -1
- package/dist/ui/assets/index-211fbe21.js +1 -0
- package/dist/ui/assets/index-23e16bff.js +1 -0
- package/dist/ui/assets/index-27aef8b5.js +1 -0
- package/dist/ui/assets/{index-36228db5.js → index-289b3fd9.js} +1 -1
- package/dist/ui/assets/{index-a22a3546.js → index-2dae59b1.js} +1 -1
- package/dist/ui/assets/index-353fd6dd.js +1 -0
- package/dist/ui/assets/{index-ea125a16.js → index-359d245d.js} +1 -1
- package/dist/ui/assets/{index-c62ac197.js → index-3b5ce20a.js} +70 -62
- package/dist/ui/assets/index-3b929ba4.js +34 -0
- package/dist/ui/assets/index-42e3a337.js +1 -0
- package/dist/ui/assets/index-44b6de3a.js +1 -0
- package/dist/ui/assets/index-46d3ca9a.js +7 -0
- package/dist/ui/assets/{index-e3cc723f.js → index-49016ad0.js} +1 -1
- package/dist/ui/assets/index-51132258.js +1 -0
- package/dist/ui/assets/{index-dc103f22.js → index-52963879.js} +1 -1
- package/dist/ui/assets/{index-fcc1c999.js → index-533fd007.js} +1 -1
- package/dist/ui/assets/index-59ec468b.js +13 -0
- package/dist/ui/assets/index-5e2d5279.js +1 -0
- package/dist/ui/assets/{index-d17da176.js → index-62f95885.js} +1 -1
- package/dist/ui/assets/index-659c6412.js +1 -0
- package/dist/ui/assets/index-6873dfc3.js +1 -0
- package/dist/ui/assets/index-69a68d9e.js +1 -0
- package/dist/ui/assets/index-6a6902c7.js +1 -0
- package/dist/ui/assets/index-7596c6bb.js +1 -0
- package/dist/ui/assets/{index-47dcc43a.js → index-8045c5f0.js} +1 -1
- package/dist/ui/assets/{index-b028e652.js → index-8677acd1.js} +1 -1
- package/dist/ui/assets/{index-42e65911.js → index-88c52b97.js} +1 -1
- package/dist/ui/assets/index-89cfefab.js +1 -0
- package/dist/ui/assets/{index-bea4c3dc.js → index-8c0643fd.js} +1 -1
- package/dist/ui/assets/index-8d5b6a1f.js +1 -0
- package/dist/ui/assets/index-8d5d70f9.js +1 -0
- package/dist/ui/assets/{index-9b41371d.js → index-91505016.js} +1 -1
- package/dist/ui/assets/{index-ffc00dbb.js → index-92314073.js} +1 -1
- package/dist/ui/assets/index-985cf3f6.js +1 -0
- package/dist/ui/assets/index-a14e51de.js +1 -0
- package/dist/ui/assets/index-a733f80b.js +1 -0
- package/dist/ui/assets/index-a84d5808.js +1 -0
- package/dist/ui/assets/index-acac6006.js +1 -0
- package/dist/ui/assets/index-b0ef7ac3.js +1 -0
- package/dist/ui/assets/index-b6ef5984.js +1 -0
- package/dist/ui/assets/{index-fc9071e0.js → index-bd4edda3.js} +1 -1
- package/dist/ui/assets/{index-0ec72c4b.js → index-c29b8474.js} +1 -1
- package/dist/ui/assets/index-c88c7790.js +19 -0
- package/dist/ui/assets/index-ce89a95e.css +7 -0
- package/dist/ui/assets/index-d221d69e.js +1 -0
- package/dist/ui/assets/{index-f1576468.js → index-d33facae.js} +1 -1
- package/dist/ui/assets/index-e46c57a5.js +1 -0
- package/dist/ui/assets/index-e863817c.js +1 -0
- package/dist/ui/assets/index-f4af2342.js +1 -0
- package/dist/ui/assets/{index-77e820d0.js → index-fc9f8c4b.js} +1 -1
- package/dist/ui/assets/{index-ec2010d2.js → index-ff23edc5.js} +1 -1
- package/dist/ui/assets/{index.esm-70ab539c.js → index.esm-b2d342b5.js} +1 -1
- package/dist/ui/assets/liveLocation-8e0bb2f3.js +1 -0
- package/dist/ui/assets/{mapView-ab35acaa.js → mapView-c8063ed6.js} +1 -1
- package/dist/ui/assets/modeuls-setup-4b06843c.js +1 -0
- package/dist/ui/assets/{permissionHoc-6f787658.js → permissionHoc-0818bfb0.js} +1 -1
- package/dist/ui/assets/{react-21134174.js → react-12ddbe48.js} +1 -1
- package/dist/ui/assets/{react-4d5dc208.js → react-61e0b284.js} +1 -1
- package/dist/ui/assets/{strongPassword-bbec776a.js → strongPassword-6bc8786f.js} +1 -1
- package/dist/ui/assets/{styles-0608350c.js → styles-b7ae7bf6.js} +1 -1
- package/dist/ui/assets/{tableV2-4d1c9fd2.js → tableV2-99c808c0.js} +1 -1
- package/dist/ui/assets/tableV3-24eed052.js +1 -0
- package/dist/ui/assets/ticketRequestDetails-8b299fbd.js +1 -0
- package/dist/ui/assets/{useDidUpdate-25c4d4ed.js → useDidUpdate-de319a18.js} +1 -1
- package/dist/ui/assets/{useDrop-02b0e5d7.js → useDrop-8f0d11a7.js} +1 -1
- package/dist/ui/assets/useFilteredData-e8fad668.js +1 -0
- package/dist/ui/assets/{usePermission-d94b4984.js → usePermission-4689548c.js} +1 -1
- package/dist/ui/assets/{vendor-charts-eccea5d1.js → vendor-charts-4be0b5ab.js} +1 -1
- package/dist/ui/assets/{vendor-codemirror-c8203b49.js → vendor-codemirror-1a1216c9.js} +11 -11
- package/dist/ui/assets/{vendor-devex-33a39e11.js → vendor-devex-4076ffeb.js} +2 -2
- package/dist/ui/assets/{vendor-excel-ee8fc4e5.js → vendor-excel-3b3553df.js} +1 -1
- package/dist/ui/assets/{vendor-i18n-2fcb1983.js → vendor-i18n-b89304ef.js} +1 -1
- package/dist/ui/assets/vendor-mui-98daa63f.js +185 -0
- package/dist/ui/assets/{vendor-pdf-b2a5d8b1.js → vendor-pdf-3c29882d.js} +1 -1
- package/dist/ui/assets/withHeaderItem-df2cc5d9.js +1 -0
- package/dist/ui/assets/{zh-cn-1881e930.js → zh-cn-13c6c696.js} +1 -1
- package/dist/ui/config.js +16 -20
- package/dist/ui/index.html +9 -9
- package/dist/ui/manifest.json +2 -2
- package/index.bundle.js +22 -8
- package/package.json +1 -1
- package/dist/ui/assets/AIVision-4f515575.js +0 -4
- package/dist/ui/assets/AccountDetails-2b42d262.js +0 -1
- package/dist/ui/assets/AccountDetails-492dee8f.js +0 -1
- package/dist/ui/assets/AccountServices-62599aae.js +0 -1
- package/dist/ui/assets/AccountsList-fe7cb5f9.js +0 -1
- package/dist/ui/assets/ActionLink-33e476e1.js +0 -1
- package/dist/ui/assets/AdaptableCard-df7695d6.js +0 -1
- package/dist/ui/assets/AddAccount-a05910e8.js +0 -1
- package/dist/ui/assets/AddEditFile-063c229b.js +0 -1
- package/dist/ui/assets/AddEditTranslation-43beae49.js +0 -1
- package/dist/ui/assets/AiApiLogList-a488921d.js +0 -1
- package/dist/ui/assets/AiCa-9c1b25b2.js +0 -1
- package/dist/ui/assets/Alert-7dfbd254.js +0 -1
- package/dist/ui/assets/ApiService-2b99757f.js +0 -1
- package/dist/ui/assets/AppLandingPage-3956cf0c.js +0 -4
- package/dist/ui/assets/AuditLogsList-7a2ce37d.js +0 -1
- package/dist/ui/assets/Auth0Callback-b943f19f.js +0 -1
- package/dist/ui/assets/BarCodes-17ed5da4.js +0 -1
- package/dist/ui/assets/BlankLayout-2f6e1153.js +0 -1
- package/dist/ui/assets/CalendarList-25834ddb.css +0 -11
- package/dist/ui/assets/CalendarList-72739043.js +0 -2
- package/dist/ui/assets/CategoryList-9f82e9a3.js +0 -1
- package/dist/ui/assets/CategoryList-c97891e7.js +0 -1
- package/dist/ui/assets/ChatContainer-4a38b179.js +0 -1
- package/dist/ui/assets/ChatsList-6c2c3e2f.js +0 -1
- package/dist/ui/assets/Check-71f21a49.js +0 -1
- package/dist/ui/assets/CheckInVideo-cb5fa9a2.js +0 -6
- package/dist/ui/assets/ClassicLayout-7d09e5ac.js +0 -1
- package/dist/ui/assets/CompanyList-9532f511.js +0 -1
- package/dist/ui/assets/ConfirmDialog-3202eb3d.js +0 -1
- package/dist/ui/assets/ContactDetails-3b70919b.js +0 -1
- package/dist/ui/assets/ContactsList-e9ac0fa3.js +0 -1
- package/dist/ui/assets/CountiesList-6ad338a5.js +0 -1
- package/dist/ui/assets/CountyDetails-22d4bc89.js +0 -1
- package/dist/ui/assets/CourseDetails-18040b49.js +0 -1
- package/dist/ui/assets/CourseList-e502f89d.js +0 -1
- package/dist/ui/assets/CreateSignature-375d191b.js +0 -7
- package/dist/ui/assets/DeckedLayout-909ac220.js +0 -1
- package/dist/ui/assets/DensitySelector-a2c1c68f.js +0 -1
- package/dist/ui/assets/DocumentActivity-d63dacec.js +0 -1
- package/dist/ui/assets/DocumentLayout-637075fd.js +0 -1
- package/dist/ui/assets/DocumentList2-518d2fa4.js +0 -23
- package/dist/ui/assets/DocumentLists-2da9ff88.js +0 -1
- package/dist/ui/assets/DocumentUserSigned-27bfa6e6.js +0 -7
- package/dist/ui/assets/DocumentsList-9f56db71.js +0 -1
- package/dist/ui/assets/DoubleSidedImage-ae98733b.js +0 -1
- package/dist/ui/assets/DynamicDashboard-6f177244.js +0 -1
- package/dist/ui/assets/EditAccount-1c1a8318.js +0 -1
- package/dist/ui/assets/EditLead-cc38d2a2.js +0 -1
- package/dist/ui/assets/FaqItems-c1c85af7.js +0 -6
- package/dist/ui/assets/FormContainer-91c2b0e4.js +0 -1
- package/dist/ui/assets/GenericPage-25a5d92a.js +0 -1
- package/dist/ui/assets/GridMapDetails-851a5781.js +0 -1
- package/dist/ui/assets/HorizontalMenuContent-96da38e1.js +0 -1
- package/dist/ui/assets/InvoicesList-8e66a112.js +0 -1
- package/dist/ui/assets/LeadDetails-ad63b3df.js +0 -1
- package/dist/ui/assets/LeadsList-bd7d9804.js +0 -1
- package/dist/ui/assets/Logo-3f3c9ee6.js +0 -1
- package/dist/ui/assets/MapView-afd1c913.js +0 -1
- package/dist/ui/assets/MarketingPage-89a860b1.js +0 -4
- package/dist/ui/assets/MenuEdit-d6e0d64c.js +0 -1
- package/dist/ui/assets/MessageInput-6dc83761.js +0 -21
- package/dist/ui/assets/MessagesList-966b69c5.js +0 -1
- package/dist/ui/assets/ModernLayout-03f30574.js +0 -1
- package/dist/ui/assets/Notify-bb3ce372.js +0 -1
- package/dist/ui/assets/OpportunitiesList-62eb34f6.js +0 -1
- package/dist/ui/assets/OpportunityDetails-356a8580.js +0 -1
- package/dist/ui/assets/OpportunityStatus-fa8108ea.js +0 -1
- package/dist/ui/assets/PasswordInput-8619a9df.js +0 -1
- package/dist/ui/assets/Profile-9104808b.js +0 -1
- package/dist/ui/assets/RoleEdit-98a6410b.js +0 -1
- package/dist/ui/assets/RoleForm-cc251eba.js +0 -1
- package/dist/ui/assets/ScheduleCycle-22c8e809.js +0 -1
- package/dist/ui/assets/ScreenList-9f7afa1c.js +0 -1
- package/dist/ui/assets/SidePanelContent-6b13836f.js +0 -1
- package/dist/ui/assets/SimpleLayout-d5445c0d.js +0 -2
- package/dist/ui/assets/StackedSideLayout-51127dc5.js +0 -1
- package/dist/ui/assets/StickyFooter-5b934274.js +0 -1
- package/dist/ui/assets/SupportRequets-be6542a9.js +0 -1
- package/dist/ui/assets/TimeLogApprovalDataList-c16d8bae.js +0 -1
- package/dist/ui/assets/TimeLogApprovalList-f6a75a20.js +0 -1
- package/dist/ui/assets/TimeLogList-ea288cce.js +0 -1
- package/dist/ui/assets/TimesheetsList-4a20e96c.js +0 -1
- package/dist/ui/assets/TranslationList-7a989333.js +0 -1
- package/dist/ui/assets/UserEdit-87262ea5.js +0 -1
- package/dist/ui/assets/UserForm-31fdd3b3.js +0 -1
- package/dist/ui/assets/ViewTimeLogForApproval-43b24a1a.js +0 -1
- package/dist/ui/assets/Views-74429e81.js +0 -1
- package/dist/ui/assets/WelcomeList-6c693eae.js +0 -9
- package/dist/ui/assets/actioncell-17e12e21.js +0 -1
- package/dist/ui/assets/calendarList-511b4d8f.js +0 -2
- package/dist/ui/assets/createSvgIcon-c5fc0d04.js +0 -1
- package/dist/ui/assets/documentsList-ac2c91ec.js +0 -1
- package/dist/ui/assets/dxicons-4c1b2089.ttf +0 -0
- package/dist/ui/assets/dxicons-ade3c9ed.woff2 +0 -0
- package/dist/ui/assets/dxicons-b4cd1226.woff +0 -0
- package/dist/ui/assets/gridList-cb9a14b1.js +0 -1
- package/dist/ui/assets/gridMapTable-c19770a8.js +0 -1
- package/dist/ui/assets/index-1d60e514.js +0 -1
- package/dist/ui/assets/index-26466d9d.js +0 -1
- package/dist/ui/assets/index-289cfedb.js +0 -1
- package/dist/ui/assets/index-2ce5b358.js +0 -1
- package/dist/ui/assets/index-307ce6d7.js +0 -1
- package/dist/ui/assets/index-36ba4ea7.js +0 -1
- package/dist/ui/assets/index-3f02e05a.js +0 -1
- package/dist/ui/assets/index-44662933.js +0 -13
- package/dist/ui/assets/index-51ee35f9.js +0 -1
- package/dist/ui/assets/index-54372d82.js +0 -1
- package/dist/ui/assets/index-569a9d2c.js +0 -1
- package/dist/ui/assets/index-62de659f.js +0 -13
- package/dist/ui/assets/index-6589dd2d.js +0 -1
- package/dist/ui/assets/index-6b6d0f06.js +0 -1
- package/dist/ui/assets/index-6c618440.js +0 -1
- package/dist/ui/assets/index-785ad361.js +0 -1
- package/dist/ui/assets/index-7df8779c.js +0 -1
- package/dist/ui/assets/index-82c9477e.js +0 -1
- package/dist/ui/assets/index-8ab45286.js +0 -1
- package/dist/ui/assets/index-8c229076.css +0 -7
- package/dist/ui/assets/index-a205cfed.js +0 -34
- package/dist/ui/assets/index-a23f9c87.js +0 -1
- package/dist/ui/assets/index-a455424a.js +0 -1
- package/dist/ui/assets/index-a4f78ee1.js +0 -1
- package/dist/ui/assets/index-aaad94c2.js +0 -1
- package/dist/ui/assets/index-b1b6b0f6.js +0 -1
- package/dist/ui/assets/index-c1f92742.js +0 -4
- package/dist/ui/assets/index-c2088808.js +0 -1
- package/dist/ui/assets/index-cbc29fa8.js +0 -1
- package/dist/ui/assets/index-cd2b7d32.js +0 -1
- package/dist/ui/assets/index-cf3804f1.js +0 -19
- package/dist/ui/assets/index-d0ef2cc2.js +0 -1
- package/dist/ui/assets/index-d1145737.js +0 -7
- package/dist/ui/assets/index-d58fb185.js +0 -1
- package/dist/ui/assets/index-d5b5a7e1.js +0 -1
- package/dist/ui/assets/index-daeff047.js +0 -1
- package/dist/ui/assets/index-ded3b055.js +0 -1
- package/dist/ui/assets/index-ede23a2b.js +0 -1
- package/dist/ui/assets/index-f8144346.js +0 -1
- package/dist/ui/assets/index-fd68b510.js +0 -1
- package/dist/ui/assets/index-fe3409ae.js +0 -1
- package/dist/ui/assets/liveLocation-646eef95.js +0 -1
- package/dist/ui/assets/modeuls-setup-402f891e.js +0 -1
- package/dist/ui/assets/tableV3-3d2f4952.js +0 -1
- package/dist/ui/assets/ticketRequestDetails-f78147f7.js +0 -1
- package/dist/ui/assets/vendor-mui-69397583.js +0 -185
- package/dist/ui/menudata/menus.json +0 -606
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{j as e,U as W,V as v,W as M,X,Y as k,Z as x,J as D,$ as Z,F as R}from"./vendor-mui-98daa63f.js";import{A as I}from"./AdaptableCard-3d1e1f96.js";import{P as Y}from"./PageBreadcrumb-cf54a6e9.js";import{r as f}from"./vendor-react-ece1c85f.js";import{a0 as G,B as E,Z as H,E as U,F as S,d as J}from"./index-3b5ce20a.js";import"./Alert-59d09a99.js";import"./index-7596c6bb.js";import"./index-a14e51de.js";import{D as K}from"./Drawer-4f97e662.js";import"./FormContainer-9a52b9e8.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import{U as Q}from"./Upload-be937eb6.js";import{c as ee,i as te,a as se,F as ae,b as ie,d as O,E as le}from"./index.esm-b2d342b5.js";import{S as ne}from"./StickyFooter-3e569b80.js";import{d as B}from"./FolderOpen-7b0e2ac0.js";import{A as re,T as z}from"./actioncell-6b5ebd6c.js";import{l as L,m as oe,n as ce,o as de,p as me}from"./DocumemtManagementService-85cde51a.js";import{C as pe}from"./ConfirmDialog-2838a642.js";import{N as fe}from"./NoData-4cc4af03.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-de319a18.js";import"./createSvgIcon-aba65987.js";const T=1,he=5e5,xe=ee({files:te().min(1,"Please upload at least one file").required("File upload is required"),fileName:se().required("File Name is required")}),be=({initialData:c={files:[],fileName:""},onSubmit:b,onCancel:u,footerWidth:j})=>{const w=(r,a)=>{let o=!0;if(a.length>=T)return`You can only upload ${T} file(s)`;if(r)for(const d of r)d.size>=he&&(o="Upload file cannot more then 500kb!");return o};return e.jsx(ae,{initialValues:c,validationSchema:xe,onSubmit:(r,{setSubmitting:a})=>{b(r,a)},children:({values:r,touched:a,errors:o,isSubmitting:d})=>e.jsx(ie,{children:e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Upload File"}),e.jsx(O,{name:"files",children:({field:m,form:y})=>e.jsx(Q,{draggable:!0,beforeUpload:w,fileList:r.files||[],onChange:i=>{var t;y.setFieldValue(m.name,i),y.setFieldValue("fileName",(t=i==null?void 0:i[0])==null?void 0:t.name)},onFileRemove:i=>y.setFieldValue(m.name,i)})}),o.files&&a.files&&e.jsx("div",{className:"text-red-500 text-sm mt-1",children:o.files})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"File Name"}),e.jsx(O,{name:"fileName",children:({field:m})=>e.jsx(G,{...m,placeholder:"File Name"})}),e.jsx(le,{name:"fileName",component:"div",className:"text-red-600"})]})]}),e.jsx(ne,{className:`px-8 flex items-center justify-between py-4 ${j}`,stickyClass:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"md:flex items-center justify-between w-full",children:[e.jsx(E,{size:"sm",className:"mr-2",type:"button",onClick:u,children:"Cancel"}),e.jsx(E,{size:"sm",variant:"solid",type:"submit",loading:d,children:"Save"})]})})]})})})};const ue=({files:c,fetchData:b,setType:u,setSelectedFile:j,setDrawerOpen:w,loading:r=!1})=>{const[a,o]=f.useState(!1),[d,m]=f.useState(""),[y,i]=f.useState(!1),t=(s,l)=>{l===z.edit&&(w(!0),u("Edit"),j(s)),l===z.delete&&(m(s==null?void 0:s.fileId),o(!0)),l===z.compareFiles&&N(s.fileId,s.analyzedFileId)},n=async s=>{try{i(!0);const l=await L(s),p=l.headers["content-type"],A=new Blob([l.data],{type:p}),F=URL.createObjectURL(A);if(p.startsWith("image/")||p==="application/pdf"||p==="text/html")window.open(F,"_blank");else{const h=document.createElement("a");h.href=F,h.download=`file-${s}`,document.body.appendChild(h),h.click(),document.body.removeChild(h)}}catch{i(!1)}finally{i(!1)}},N=async(s,l)=>{try{i(!0);const p=await L(s),A=new Blob([p.data],{type:p.headers["content-type"]}),F=URL.createObjectURL(A),h=await L(l),$=new Blob([h.data],{type:h.headers["content-type"]}),P=URL.createObjectURL($),V=`
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Compare Documents</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
gap: 10px;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
iframe {
|
|
16
|
+
height: 100vh;
|
|
17
|
+
border: none;
|
|
18
|
+
}
|
|
19
|
+
iframe.pdf-content {
|
|
20
|
+
width: 50%;
|
|
21
|
+
}
|
|
22
|
+
iframe.html-content {
|
|
23
|
+
width: 50%;
|
|
24
|
+
transform: scale(1.0);
|
|
25
|
+
transform-origin: top left;
|
|
26
|
+
}
|
|
27
|
+
</style>
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<iframe class="pdf-content" src="${F}" title="Original Document"></iframe>
|
|
31
|
+
<iframe class="html-content" src="${P}" title="Analyzed Document"></iframe>
|
|
32
|
+
</body>
|
|
33
|
+
</html>
|
|
34
|
+
`,_=new Blob([V],{type:"text/html"}),q=URL.createObjectURL(_);window.open(q,"_blank")||console.error("Popup was blocked by the browser.")}catch(p){console.error("Error fetching documents:",p)}finally{i(!1)}},g=()=>{m(null),o(!1)},C=async()=>{await oe(d??"")&&U.push(e.jsx(S,{title:"Deleted",type:"success",duration:2500,children:"File Successfully Deleted"}),{placement:"top-center"}),b(),g()};return e.jsx(e.Fragment,{children:e.jsxs(W,{component:v,className:"file-items-table",children:[e.jsxs(M,{children:[e.jsx(X,{children:e.jsxs(k,{className:"dark:bg-[#292f3c] dark:text-white",children:[e.jsx(x,{width:"10%"}),e.jsx(x,{width:"45%",children:e.jsx(D,{className:"text-md font-bold",children:"Original Files"})}),e.jsx(x,{width:"45%",children:e.jsx(D,{className:"text-md font-bold",children:"Analyzed Results"})})]})}),e.jsx(Z,{children:y?e.jsx(k,{children:e.jsx(x,{colSpan:4,children:e.jsx(R,{className:"flex justify-center items-center py-8",children:e.jsx(H,{loading:!0,type:"cover"})})})}):(c==null?void 0:c.length)>0?c.map((s,l)=>e.jsxs(k,{className:"dark:bg-[#292f3c] dark:text-white",children:[e.jsx(x,{className:"dark:bg-[#292f3c] dark:text-white",children:e.jsx(re,{row:s,actions:{edit:!0,delete:!0,compareFiles:!0},buttonClick:t})}),e.jsx(x,{className:"dark:bg-[#292f3c] dark:text-white",children:e.jsxs(R,{display:"flex",alignItems:"center",children:[e.jsx(B,{sx:{color:"var(--custom-600)"}}),e.jsx(D,{className:"text-sm",sx:{ml:1,cursor:"pointer"},onClick:()=>n(s.fileId),children:s.fileName})]})}),e.jsx(x,{className:"dark:bg-[#292f3c] dark:text-white",children:e.jsxs(R,{display:"flex",alignItems:"center",children:[e.jsx(B,{sx:{color:"#1C74F3"}}),e.jsx(D,{variant:"body1",className:"text-sm",sx:{ml:1,cursor:"pointer"},onClick:()=>n(s.analyzedFileId),children:s.fileName})]})})]},l)):e.jsx(k,{children:e.jsx(x,{colSpan:4,children:e.jsx(fe,{})})})})]}),e.jsx(pe,{isOpen:a,type:"danger",title:"Delete file",confirmButtonColor:"red-600",onClose:g,onCancel:g,onConfirm:C,children:e.jsx("p",{children:"Are you sure you want to delete this File?"})})]})})},ye=()=>{const[c,b]=f.useState(!1),[u,j]=f.useState("Add"),[w,r]=f.useState([]),[a,o]=f.useState(null),d=()=>{j("Add"),b(!c)},m=()=>{d()},y=async(t,n)=>{var N,g,C,s;try{const l=u==="Edit"?await de((a==null?void 0:a.fileId)??"",t==null?void 0:t.fileName,(g=(N=t==null?void 0:t.files)==null?void 0:N[0])!=null&&g.isViewOnly||(C=t==null?void 0:t.files)==null?void 0:C[0]):await me(t==null?void 0:t.fileName,(s=t==null?void 0:t.files)==null?void 0:s[0]);l.success?(i(),U.push(e.jsx(S,{title:"Success",type:"success",duration:2500,children:`File ${u==="Edit"?"Updated":"Uploaded"} Successfully`}),{placement:"top-center"})):U.push(e.jsx(S,{title:"Error",type:"danger",duration:2500,children:l.message}),{placement:"top-center"})}catch{U.push(e.jsx(S,{title:"Error",type:"danger",duration:2500,children:"Something went Wrong"}),{placement:"top-center"})}n(!1),d()},i=f.useCallback(async()=>{var t;try{const n=await ce();n!=null&&n.data&&r((t=n==null?void 0:n.data)==null?void 0:t.$values)}catch{r([])}},[]);return f.useEffect(()=>{i()},[i]),e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:[e.jsx(Y,{items:[{label:"Build"},{label:"OCR"}]}),e.jsxs("div",{className:"lg:flex items-center justify-between",children:[e.jsx("h3",{className:"mb-4 lg:mb-0",children:"OCR"}),e.jsx(E,{size:"sm",variant:"solid",icon:e.jsx(J,{}),onClick:()=>b(!0),children:"Add File"})]})]}),e.jsx(I,{className:"m-6 h-full py-4 px-6 bg-transparent",bodyClass:"h-full",children:e.jsxs(I,{className:"h-full borderless",bodyClass:"h-full",children:[e.jsx("div",{className:"lg:flex items-center justify-between",children:e.jsx("div",{className:"flex flex-col lg:flex-row lg:items-center gap-3",children:e.jsx(K,{title:"File",isOpen:c,portalClassName:"w30",onClose:()=>d(),children:e.jsx(be,{footerWidth:"w30",initialData:u==="Add"?{files:[],fileName:""}:{files:[{name:(a==null?void 0:a.fileName)??"",type:"application/zip",size:26775,isViewOnly:!0}],fileName:(a==null?void 0:a.fileName)??""},onSubmit:y,onCancel:m})})})}),e.jsx(ue,{files:w,fetchData:i,setType:j,setSelectedFile:o,setDrawerOpen:b})]})})]})},Ge=ye;export{Ge as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./vendor-mui-98daa63f.js";import{r as u}from"./vendor-react-ece1c85f.js";import{P as U}from"./PageBreadcrumb-cf54a6e9.js";import{_,dN as L,D as C,k as P,r as Z,B as $,E as I,F as D,H as W}from"./index-3b5ce20a.js";import{c as q,a as H}from"./vendor-redux-a1f00e6b.js";import{F as Y,a as X}from"./FormContainer-9a52b9e8.js";import{c as k,F as K,b as Q,d as ee}from"./index.esm-b2d342b5.js";import{r as N,u as M,g as G}from"./index-d221d69e.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./UserService-1b93ceb0.js";const te={loading:!1,deleteConfirmation:!1,usersList:[],IsDrawerOpen:!1,IsDetailsOpen:!1,type:"Add",accountsList:[],metricData:{},selectedUser:[],geoJson:{}},T=q({name:"geoFence",initialState:te,reducers:{setSelectedUser:(o,n)=>{o.selectedUser=n.payload},toggleDrawer:(o,n)=>{o.IsDrawerOpen=n.payload.IsDrawerOpen,o.type=n.payload.type,o.geoJson=n.payload.geoJson}},extraReducers:o=>{}}),{toggleDrawer:j,setSelectedUser:Ee}=T.actions,re=T.reducer,z=H({data:re}),oe=_;async function ne(o){return(await L.apiV10MapsCreateRestrictedZonePost(o)).data}async function se(o){return(await L.apiV10MapsValidateRestrictedZonePost(o)).data}async function ae(o,n,d){return(await L.apiV10MapsGetGeoFencesGet(o,n,d)).data}C("users",N);C("geoJson",z);const ce=k().shape({clientId:k().required("User is required")}),ie=({handleOnSubmit:o})=>{const n=P(),{usersList:d}=M(s=>{var i;return(i=s==null?void 0:s.users)==null?void 0:i.data}),{geoJson:p}=M(s=>{var i;return(i=s==null?void 0:s.geoFence)==null?void 0:i.data});u.useEffect(()=>{n(G({isActive:!0}))},[]);const w=async(s,i)=>{i(!0);try{const{clientId:g}=s,x=await ne({clientId:g==null?void 0:g.value,name:g==null?void 0:g.label,description:"",geoJson:p});x.success&&I.push(r.jsx(D,{title:"Success",type:"success",duration:2500,children:x==null?void 0:x.message}),{placement:"top-center"}),n(j({IsDrawerOpen:!1,type:"Add",geoJson:{}}))}catch(g){console.error("Error submitting form:",g)}finally{i(!1)}};return r.jsx(K,{initialValues:{clientId:""},validationSchema:ce,onSubmit:(s,{setSubmitting:i})=>{w(s,i)},children:({touched:s,errors:i,values:g})=>r.jsx(Q,{children:r.jsxs(Y,{children:[r.jsx(X,{label:"Users",invalid:i.clientId&&s.clientId,errorMessage:i.clientId,children:r.jsx(ee,{name:"clientId",children:({field:x,form:R})=>r.jsx(Z,{className:"min-w-[120px]",field:x,form:R,options:d==null?void 0:d.map(m=>({label:`${m.firstName} ${m.lastName}`,value:m.id})),value:g.clientId,onChange:m=>{R.setFieldValue(x.name,m)}})})}),r.jsx($,{block:!0,variant:"solid",type:"submit",children:"Submit"})]})})})};C("geoFence",z);const le=()=>{const o=P(),{IsDrawerOpen:n,type:d}=oe(w=>w.geoFence.data),p=()=>{o(j({IsDrawerOpen:!1,type:"Add",geoFence:{}}))};return r.jsxs(W,{isOpen:n,onClose:p,children:[r.jsx("h4",{children:"Add Restricted Zone"}),r.jsx("div",{className:"mt-4",children:r.jsx(ie,{})})]})};C("users",N);function de(o){let n=0;for(let d=0;d<o.length-1;d++){const[p,w]=o[d],[s,i]=o[d+1];n+=(s-p)*(i+w)}return n>0}const pe=()=>{const o=u.useRef(null),n=u.useRef(null),d=u.useRef(null),p=u.useRef(null),w=u.useRef(null),s=u.useRef([]),[i,g]=u.useState([]),[x,R]=u.useState(!1),m=P(),[S,B]=u.useState(()=>{var e,a;return!!((a=(e=window.google)==null?void 0:e.maps)!=null&&a.drawing)});u.useEffect(()=>{if(S)return;const e=document.querySelector('script[src*="maps.googleapis.com"]');if(e){const a=()=>B(!0);return e.addEventListener("load",a),()=>e.removeEventListener("load",a)}},[]);const J=e=>{var l,v,f;if(!p.current)return;s.current.forEach(h=>h.setMap(null)),s.current=[];const a=p.current;if(((l=e.properties)==null?void 0:l.type)==="circle"){const[h,b]=e.geometry.coordinates,F=new window.google.maps.Circle({center:{lat:b,lng:h},radius:e.properties.radius,fillColor:"#FF0000",fillOpacity:.35,strokeWeight:2,map:a});s.current.push(F),a.panTo({lat:b,lng:h})}if(((v=e.geometry)==null?void 0:v.type)==="Polygon"&&((f=e.geometry.coordinates)!=null&&f.length)){const h=e.geometry.coordinates[0].map(([c,t])=>({lat:t,lng:c})),b=new window.google.maps.Polygon({paths:h,fillColor:"#2196F3",fillOpacity:.4,strokeWeight:2,map:a});s.current.push(b);const F=new window.google.maps.LatLngBounds;h.forEach(c=>F.extend(c)),a.fitBounds(F)}};u.useEffect(()=>{(async()=>{try{R(!0);const[a,l]=await Promise.all([m(G({isActive:!0})),ae()]);g(l.data.result.$values||[])}catch(a){console.error("Failed to fetch data:",a)}finally{R(!1)}})()},[m]),u.useEffect(()=>{if(!S||!o.current||!n.current||!d.current)return;const e=new window.google.maps.Map(o.current,{center:{lat:29.785463,lng:-95.358547},zoom:12});e.controls[window.google.maps.ControlPosition.TOP_CENTER].push(n.current),p.current=e,w.current=new window.google.maps.drawing.DrawingManager({drawingControl:!0,drawingControlOptions:{position:window.google.maps.ControlPosition.TOP_RIGHT,drawingModes:["marker","circle","polygon","rectangle"]},polygonOptions:{fillColor:"#2196F3",fillOpacity:.4,strokeWeight:2,editable:!0}}),w.current.setMap(e),window.google.maps.event.addListener(w.current,"overlaycomplete",async l=>{var h,b,F;const v=l.overlay;s.current.push(v);let f=null;if(l.type==="polygon"){const c=v.getPath(),t=[];for(let O=0;O<c.getLength();O++){const A=c.getAt(O);t.push([A.lng(),A.lat()])}const y=t[0],E=t[t.length-1];(y[0]!==E[0]||y[1]!==E[1])&&t.push(y),f={type:"Feature",geometry:{type:"Polygon",coordinates:[de(t)?t.slice().reverse():t]},properties:{type:"polygon"}},m(j({IsDrawerOpen:!0,type:"Add",geoJson:f}))}if(l.type==="circle"){const c=v.getCenter(),t=v.getRadius();f={type:"Feature",geometry:{type:"Point",coordinates:c?[c.lng(),c.lat()]:[]},properties:{type:"circle",radius:t}},m(j({IsDrawerOpen:!0,type:"Add",geoJson:f}))}if(l.type==="rectangle"){const c=v.getBounds();if(!c)return;const t=c.getNorthEast(),y=c.getSouthWest();f={type:"Feature",geometry:{type:"Polygon",coordinates:[[[y.lng(),y.lat()],[t.lng(),y.lat()],[t.lng(),t.lat()],[y.lng(),t.lat()],[y.lng(),y.lat()]]]},properties:{type:"rectangle"}},m(j({IsDrawerOpen:!0,type:"Add",geoJson:f}))}if(l.type==="marker"){const c=v.getPosition();f={type:"Feature",geometry:{type:"Point",coordinates:c?[c.lng(),c.lat()]:[]},properties:{type:"marker"}};try{const t=await se({latitude:c.lat(),longitude:c.lng()});t.success&&I.push(r.jsx(D,{title:(h=t==null?void 0:t.data)!=null&&h.isInsideRestrictedZone?"Error":"Success",type:(b=t==null?void 0:t.data)!=null&&b.isInsideRestrictedZone?"danger":"success",duration:2500,children:(F=t==null?void 0:t.data)!=null&&F.isInsideRestrictedZone?"You are inside restricted zone.":"You are outside restricted zone."}),{placement:"top-center"})}catch(t){I.push(r.jsx(D,{title:"Error",type:"danger",duration:3e3,children:"Failed to validate marker."}),{placement:"top-center"}),console.error("Validation error:",t)}}});const a=new window.google.maps.places.Autocomplete(d.current);a.bindTo("bounds",e),a.addListener("place_changed",()=>{const l=a.getPlace();!l.geometry||!l.geometry.location||(l.geometry.viewport?e.fitBounds(l.geometry.viewport):(e.setCenter(l.geometry.location),e.setZoom(15)))})},[S]),u.useEffect(()=>{if(!S||!p.current||!n.current)return;const e=()=>{setTimeout(()=>{window.google.maps.event.trigger(p.current,"resize");const a=p.current.controls[window.google.maps.ControlPosition.TOP_CENTER];a.clear(),a.push(n.current)},200)};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)}},[S]);const V=()=>{s.current.forEach(e=>e.setMap(null)),s.current=[]};return r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"topbar py-4 px-6 border-gray-200 border-b dark:bg-[#292f3c] dark:text-white",children:[r.jsx(U,{items:[{label:"Build"},{label:"Geo Fence"}]}),r.jsxs("div",{className:"lg:flex items-center justify-between",children:[r.jsx("h3",{className:"mb-4 lg:mb-0",children:" Map Geo Fence "}),r.jsx("div",{className:"flex flex-col lg:flex-row lg:items-center",children:r.jsx("div",{style:{width:350},children:r.jsx(Z,{options:i||[],name:"Geo Fence Zones",isClearable:!0,loading:x,getOptionLabel:e=>e.name,getOptionValue:e=>e.id,placeholder:"Select Restricted Zone",onChange:e=>{if(!e)return;const a=JSON.parse(e.geoJson);m(j({IsDrawerOpen:!1,type:"",geoJson:a})),J(a)}})})})]})]}),r.jsxs("div",{style:{height:"100vh",width:"100%",position:"relative"},children:[p&&r.jsx(le,{}),r.jsxs("div",{ref:n,style:{position:"absolute",top:10,left:"50%",transform:"translateX(-50%)",zIndex:10,background:"white",padding:"8px",borderRadius:"4px",boxShadow:"0 2px 6px rgba(0,0,0,0.3)",display:"flex",gap:"8px"},children:[r.jsx("input",{ref:d,type:"text",placeholder:"Search a place...",style:{width:300,padding:6,fontSize:14}}),r.jsx("button",{onClick:V,children:"Clear All"})]}),r.jsx("div",{ref:o,style:{height:"100%",width:"100%"}})]})]})},Oe=pe;export{Oe as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{D as i}from"./ReportViewer-616d3cfc.js";import{A as D,R as h,E as k,M as q,P as w,a as z,b as B,S as C,c as I,T as O,e as V,d as j}from"./ReportViewer-616d3cfc.js";import"./vendor-mui-98daa63f.js";import"./vendor-react-ece1c85f.js";import"./vendor-pdf-3c29882d.js";import"./PageBreadcrumb-cf54a6e9.js";import"./index-3b5ce20a.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./AdaptableCard-3d1e1f96.js";import"./Alert-59d09a99.js";import"./index-7596c6bb.js";import"./useControllableState-d0909575.js";import"./index-a14e51de.js";import"./useDidUpdate-de319a18.js";import"./Drawer-4f97e662.js";import"./FormContainer-9a52b9e8.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";export{D as AISettings,h as Callbacks,i as DxReportViewer,k as ExportSettings,q as MobileModeSettings,w as ProgressBarSettings,z as RemoteSettings,B as RequestOptions,C as SearchSettings,I as SummarizationSettings,O as TabPanelSettings,V as TemplateEngine,j as TranslationSettings,i as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{j as e,l as se}from"./vendor-mui-98daa63f.js";import{r as f}from"./vendor-react-ece1c85f.js";import{P as te}from"./PageBreadcrumb-cf54a6e9.js";import{u as re,a as ae,D as oe,o as ne,g as ie,f as de,P as le}from"./core.esm-4386752a.js";import{ef as D,H as ce,r as me,B as W,d as pe,E as P,F as L}from"./index-3b5ce20a.js";import{A as ue}from"./AdaptableCard-3d1e1f96.js";import{c as q,F as fe,b as ge,d as be}from"./index.esm-b2d342b5.js";import{f as he}from"./DynamicTablesService-6aa57f52.js";import"./Alert-59d09a99.js";import"./index-7596c6bb.js";import"./index-a14e51de.js";import"./Drawer-4f97e662.js";import"./FormContainer-9a52b9e8.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-de319a18.js";async function xe(o,r,d){return(await D.apiV10AdvantageLaborJobsTableIdRowsRowIdEmployeesAddPost(o,r,d)).data}async function ye(o,r){return(await D.apiV10AdvantageLaborJobsTableIdRowsRowIdEmployeesGet(o,r)).data}async function we(o,r,d){return(await D.apiV10AdvantageLaborJobsTableIdRowsSourceRowIdEmployeesMovePost(o,r,d)).data}async function ke(o,r,d){return await D.apiV10AdvantageLaborJobsTableIdRowsRowIdEmployeesRemovePost(o,r,d)}const Ne="d6779f18-c895-4558-8880-6c578282d922",ve="737a994e-e551-4a0e-af77-3283af752764",Ee="7bbd2947-febc-4a87-b148-9f0666da1388",Se=()=>{const[o,r]=f.useState([]),[d,c]=f.useState([]),[y,m]=f.useState([]),[s,p]=f.useState([]),[x,E]=f.useState(!1),w=async N=>{var b,S;const h=await he(N,{});return((S=(b=h==null?void 0:h.data)==null?void 0:b.data)==null?void 0:S.$values)||[]},k=async(N,h)=>{var S;const b=await ye(N,h);p(((S=b==null?void 0:b.data)==null?void 0:S.$values)||[])},g=f.useCallback(async()=>{E(!0);try{const[N,h,b]=await Promise.all([w(Ne),w(ve),w(Ee)]);r(N),c(h),m(b)}catch(N){console.error("Error fetching dynamic tables",N)}finally{E(!1)}},[]);return f.useEffect(()=>{g()},[g]),{jobs:o,clients:d,employees:y,loading:x,refetch:g,fetchEmployees:k,alreadyAssignedEmployees:s}},Ie=Se,A="d6779f18-c895-4558-8880-6c578282d922",R=o=>o.toLowerCase(),Ce=(o,r,d)=>{const c=new Map(r.map(s=>[s.Id.toLowerCase(),s.ClientName])),y=new Map(d.map(s=>[s.Id,{name:`${s.FirstName} ${s.LastName}`,position:s.Position||""}])),m={};return o.forEach(s=>{if(!s.Client)return;const p=s.Client.toLowerCase(),x=c.get(p);if(!x)return;m[p]||(m[p]={id:R(p),name:x,jobs:[]});const E=s.EmployeesOnJob?JSON.parse(s.EmployeesOnJob).map(k=>{const g=y.get(k);return{empId:`job-${s.Id}-emp-${k}`,id:R(k),name:(g==null?void 0:g.name)??"Unknown Worker",position:g==null?void 0:g.position}}):[],w=`${(s==null?void 0:s.JobTitle)??"Job"} – ${s==null?void 0:s.Location}${s!=null&&s.JobOrderDate?` - ${s==null?void 0:s.JobOrderDate}`:""}`;m[p].jobs.push({id:R(s.Id),name:w,workers:E})}),Object.values(m)},je=({worker:o,clientId:r,jobId:d,onRemove:c})=>{const{attributes:y,listeners:m,setNodeRef:s,isDragging:p}=ie({id:o.empId,data:{workerId:o.id,clientId:r,jobId:d,droppableId:`${r}|${d}`}});return e.jsxs("div",{ref:s,...y,...m,style:{opacity:p?.4:1},className:"flex items-center justify-between bg-white border rounded px-2 py-1 mb-1 text-sm cursor-grab",children:[e.jsxs("span",{className:"truncate",children:[o.name," – ",o.position]}),e.jsx("button",{className:"text-gray-400 hover:text-red-500 text-xs ml-2",onPointerDown:x=>x.stopPropagation(),onClick:x=>{x.stopPropagation(),c(r,d,o.id)},children:"✕"})]})},Ae=({client:o,job:r,onRemoveWorker:d,onOpenAddWorker:c,fetchEmployeesForJob:y,children:m})=>{const{setNodeRef:s,isOver:p}=de({id:`${o.id}|${r.id}`});return e.jsxs("div",{ref:s,className:`border rounded p-2 ${p?"bg-blue-50":"bg-gray-50"}`,children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"text-sm font-semibold",children:r.name}),e.jsx(W,{variant:"solid",size:"xs",className:"ml-2 min-w-[32px] shrink-0",icon:e.jsx(pe,{}),onClick:()=>{y(A,r.id),c(o,r)}})]}),m]})};function es({permissionName:o}){const{jobs:r,clients:d,employees:c,loading:y,refetch:m,fetchEmployees:s,alreadyAssignedEmployees:p}=Ie(),x=re(ae(le)),[E,w]=f.useState([]),[k,g]=f.useState(null),[N,h]=f.useState(!1),[b,S]=f.useState(null),[I,z]=f.useState(null);f.useEffect(()=>{!r.length||!d.length||!c.length||w(Ce(r,d,c))},[r,d,c]);const H=a=>{const t=a.active.data.current;if(t){const i=E.find(n=>n.id===t.clientId),l=i==null?void 0:i.jobs.find(n=>n.id===t.jobId);g((l==null?void 0:l.workers.find(n=>n.empId===String(a.active.id)))||null)}},U=a=>{var V;g(null);const{active:t,over:i}=a;if(!i)return;const l=((V=t.data.current)==null?void 0:V.droppableId)||"",n=String(i.id);if(l===n)return;const[v,J]=l.split("|"),[Z,ee]=n.split("|"),$=structuredClone(E),B=$.find(u=>u.id===v),O=$.find(u=>u.id===Z);if(!B||!O)return;const j=B.jobs.find(u=>u.id===J),C=O.jobs.find(u=>u.id===ee);if(!j||!C)return;const T=j.workers.findIndex(u=>u.empId===String(t.id));if(T===-1)return;const[M]=j.workers.splice(T,1);C.workers.push(M),we(A,j.id,{targetRowId:C==null?void 0:C.id,employeeId:M.id}).then(()=>{m()}).catch(u=>{var _,G;console.error("Error moving worker:",u),P.push(e.jsx(L,{title:"Error",type:"danger",duration:2500,children:((G=(_=u==null?void 0:u.response)==null?void 0:_.data)==null?void 0:G.message)||"Failed to move worker."}),{placement:"top-center"})}),w($)},F=(a,t,i)=>{ke(A,t,{employeeId:i}).then(()=>{m()}).catch(l=>{var n,v;console.error("Error removing worker:",l),P.push(e.jsx(L,{title:"Error",type:"danger",duration:2500,children:((v=(n=l==null?void 0:l.response)==null?void 0:n.data)==null?void 0:v.message)||"Failed to remove worker."}),{placement:"top-center"})}),w(l=>l.map(n=>n.id===a?{...n,jobs:n.jobs.map(v=>v.id===t?{...v,workers:v.workers.filter(J=>J.id!==i)}:v)}:n))},Y=(a,t)=>{S(a),z(t),h(!0)},K=a=>{var t;!b||!I||xe(A,I.id,{employeeId:(t=a==null?void 0:a.workerName)==null?void 0:t.value}).then(()=>{m(),h(!1)}).catch(i=>{var l,n;console.error("Error adding worker:",i),P.push(e.jsx(L,{title:"Error",type:"danger",duration:2500,children:((n=(l=i==null?void 0:i.response)==null?void 0:l.data)==null?void 0:n.message)||"Failed to add worker."}),{placement:"top-center"})})},Q=q().shape({workerName:q().required("Worker name is required")}),X=f.useMemo(()=>{const a=new Set(p);return c.filter(t=>!a.has(t.Id)).map(t=>({label:`${t.FirstName} ${t.LastName} - ${t.Position||"No Position"}`,value:t.Id}))},[c,p]);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"topbar py-4 px-6 border-gray-200 border-b dark:bg-[#292f3c] dark:text-white",children:[e.jsx(te,{items:[{label:"Build"},{label:"Job Board"}]}),e.jsx("div",{className:"lg:flex items-center justify-between",children:e.jsx("h3",{className:"mb-4 lg:mb-0",children:"Job Board"})})]}),e.jsxs(ue,{className:"h-full py-4 px-2 bg-transparent",children:[y&&e.jsx(se,{sx:{backgroundColor:"rgba(0, 0, 0, 0.1)","& .MuiLinearProgress-bar":{backgroundColor:"var(--custom-600)"}}}),e.jsxs(oe,{sensors:x,onDragStart:H,onDragEnd:U,children:[e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 bg-gray-100 p-2",children:E.map(a=>e.jsxs("div",{className:`\r
|
|
2
|
+
w-full\r
|
|
3
|
+
bg-white\r
|
|
4
|
+
border\r
|
|
5
|
+
rounded\r
|
|
6
|
+
p-3\r
|
|
7
|
+
`,children:[e.jsx("h4",{className:"mb-3 font-semibold text-sm",children:a.name}),e.jsx("div",{className:"space-y-4",children:a.jobs.map(t=>e.jsx(Ae,{client:a,job:t,onRemoveWorker:F,onOpenAddWorker:Y,fetchEmployeesForJob:s,children:t.workers.map(i=>e.jsx(je,{worker:i,clientId:a.id,jobId:t.id,onRemove:F},i.empId))},`${a.id}|${t.id}`))})]},a.id))}),e.jsx(ne,{children:k?e.jsx("div",{className:"flex items-center justify-between bg-white border rounded px-2 py-1 text-sm shadow-lg cursor-grabbing",children:e.jsxs("span",{className:"truncate",children:[k.name," – ",k.position]})}):null})]}),e.jsxs(ce,{isOpen:N,onClose:()=>h(!1),children:[e.jsx("h4",{className:"mb-1",children:"Assign Worker"}),e.jsxs("p",{className:"text-sm text-gray-500 mb-4",children:[b==null?void 0:b.name," → ",I==null?void 0:I.name]}),e.jsx(fe,{initialValues:{workerName:""},validationSchema:Q,onSubmit:K,children:({errors:a,touched:t})=>e.jsxs(ge,{children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{className:"block text-sm mb-1",children:"Worker Name"}),e.jsx(be,{name:"workerName",className:"w-full border rounded px-3 py-2",children:({field:i,form:l})=>e.jsx(me,{field:i,form:l,options:X||[],placeholder:"Select a worker",name:"workerName",onChange:n=>{console.log("Selected option:",n),l.setFieldValue(i.name,n)}})}),a.workerName&&t.workerName&&e.jsx("div",{className:"text-red-500 text-xs mt-1",children:a.workerName})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(W,{type:"button",variant:"plain",onClick:()=>h(!1),children:"Cancel"}),e.jsx(W,{type:"submit",variant:"solid",children:"Add Worker"})]})]})})]})]})]})}export{es as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bY as r}from"./index-3b5ce20a.js";function i(t){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"23 6 13.5 15.5 8.5 10.5 1 18"},child:[]},{tag:"polyline",attr:{points:"17 6 23 6 23 12"},child:[]}]})(t)}function n(t){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"2"},child:[]},{tag:"path",attr:{d:"M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14"},child:[]}]})(t)}function e(t){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},child:[]}]})(t)}export{e as F,i as a,n as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as o}from"./ClassicLayout-a9866742.js";import"./vendor-mui-98daa63f.js";import"./vendor-react-ece1c85f.js";import"./index-3b5ce20a.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./withHeaderItem-df2cc5d9.js";import"./index-8d5b6a1f.js";import"./index-0b08ce18.js";import"./index-00a8eb64.js";import"./Views-1359da48.js";import"./index-a14e51de.js";import"./useDidUpdate-de319a18.js";import"./useControllableState-d0909575.js";import"./ApiService-df126758.js";import"./Alert-59d09a99.js";import"./index-7596c6bb.js";import"./Drawer-4f97e662.js";import"./FormContainer-9a52b9e8.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";import"./Logo-dd6f7656.js";import"./index-359d245d.js";import"./WidgetLayoutsService-49730609.js";import"./usePermission-4689548c.js";export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as s,c as l,a as S}from"./vendor-redux-a1f00e6b.js";import{a as O,i as I,j as k,k as E,l as N,m as L,n as T,o as A,p as $,q as R,r as b,s as h}from"./OpportunityServices-
|
|
1
|
+
import{b as s,c as l,a as S}from"./vendor-redux-a1f00e6b.js";import{a as O,i as I,j as k,k as E,l as N,m as L,n as T,o as A,p as $,q as R,r as b,s as h}from"./OpportunityServices-c4510dd2.js";import{ay as x,az as v,_ as G}from"./index-3b5ce20a.js";const r="opportunity",n=s(r+"/getOpportunities",async(a,{rejectWithValue:e})=>{const t=`apiCache-opportunities-${JSON.stringify(a)}`,i=x(t);if(i)return i;try{const o=await O(a),d={data:o.data.finalResults.$values,metricData:o.data.metrics};return v(t,d),d}catch(o){return e(o)}}),p=s(r+"/getOpportunitiesById",async a=>({data:(await I(a)).data})),ae=async a=>(await E(a)).success,_=s(r+"/getOpportunityAccountList",async()=>(await k()).data.$values),M={total:0,pageIndex:1,pageSize:10,query:"",sort:{order:"",key:""}},B={loading:!1,loadingDetails:!1,deleteConfirmation:!1,selectedOpportunity:{opportunityName:""},opportunityList:[],tableData:M,filterData:{opportunityStageId:"",accountId:""},IsDrawerOpen:!1,IsDetailsOpen:!1,type:"Add",accountsList:[],metricData:{}},D=l({name:"opportunity",initialState:B,reducers:{setTableData:(a,e)=>{a.tableData=e.payload},setFilterData:(a,e)=>{a.filterData=e.payload},toggleDeleteConfirmation:(a,e)=>{a.deleteConfirmation=e.payload},setSelectedOpportunity:(a,e)=>{a.selectedOpportunity=e.payload},toggleDrawer:(a,e)=>{a.IsDrawerOpen=e.payload.IsDrawerOpen,a.type=e.payload.type},toggleViewDrawer:(a,e)=>{a.IsDetailsOpen=e.payload}},extraReducers:a=>{a.addCase(n.fulfilled,(e,t)=>{e.opportunityList=t.payload.data,e.metricData=t.payload.metricData,e.loading=!1}).addCase(n.pending,e=>{e.loading=!0}).addCase(n.rejected,(e,t)=>{e.opportunityList=[],e.loading=!1}).addCase(p.fulfilled,(e,t)=>{e.opportunityDetails=t.payload.data,e.loadingDetails=!1}).addCase(p.pending,e=>{e.loadingDetails=!0}).addCase(_.fulfilled,(e,t)=>{e.accountsList=t.payload})}}),{setTableData:te,setFilterData:se,toggleDeleteConfirmation:le,setSelectedOpportunity:oe,toggleDrawer:ne,toggleViewDrawer:re}=D.actions,j=D.reducer,q="notes",c=s(q+"/getNotes",async a=>({data:(await N(a)).data.$values})),ie=async a=>(await L(a)).success,z={loading:!1,deleteConfirmation:!1,selectedNote:[],notesList:[],IsNotesDrawerOpen:!1,type:"Add"},f=l({name:"notes",initialState:z,reducers:{toggleNotesDelete:(a,e)=>{a.deleteConfirmation=e.payload},setSelectedNote:(a,e)=>{a.selectedNote=e.payload},toggleNotesDrawer:(a,e)=>{a.IsNotesDrawerOpen=e.payload.IsNotesDrawerOpen,a.type=e.payload.type}},extraReducers:a=>{a.addCase(c.fulfilled,(e,t)=>{e.notesList=t.payload.data,e.loading=!1}).addCase(c.pending,e=>{e.loading=!0})}}),{toggleNotesDelete:de,toggleNotesDrawer:pe,setSelectedNote:ce}=f.actions,F=f.reducer,V="call",u=s(V+"/getCalls",async a=>({data:(await T(a)).data.$values})),ue=async a=>(await A(a)).success,J={loading:!1,deleteConfirmation:!1,selectedCall:[],callsList:[],IsCallDrawerOpen:!1,type:"Add"},m=l({name:"calls",initialState:J,reducers:{toggleCallDelete:(a,e)=>{a.deleteConfirmation=e.payload},setSelectedCall:(a,e)=>{a.selectedCall=e.payload},toggleCallDrawer:(a,e)=>{a.IsCallDrawerOpen=e.payload.IsCallDrawerOpen,a.type=e.payload.type}},extraReducers:a=>{a.addCase(u.fulfilled,(e,t)=>{e.callsList=t.payload.data,e.loading=!1}).addCase(u.pending,e=>{e.loading=!0})}}),{toggleCallDelete:ge,toggleCallDrawer:ye,setSelectedCall:De}=m.actions,K=m.reducer,H="task",g=s(H+"/getTasks",async a=>({data:(await $(a)).data.$values})),fe=async a=>(await R(a)).success,P={loading:!1,deleteConfirmation:!1,selectedTask:[],tasksList:[],IsTaskDrawerOpen:!1,type:"Add"},C=l({name:"tasks",initialState:P,reducers:{toggleTaskDelete:(a,e)=>{a.deleteConfirmation=e.payload},setSelectedTask:(a,e)=>{a.selectedTask=e.payload},toggleTaskDrawer:(a,e)=>{a.IsTaskDrawerOpen=e.payload.IsTaskDrawerOpen,a.type=e.payload.type}},extraReducers:a=>{a.addCase(g.fulfilled,(e,t)=>{e.tasksList=t.payload.data,e.loading=!1}).addCase(g.pending,e=>{e.loading=!0})}}),{toggleTaskDelete:me,toggleTaskDrawer:Ce,setSelectedTask:we}=C.actions,Q=C.reducer,U="email",y=s(U+"/getEmails",async a=>({data:(await b(a)).data.$values})),Se=async a=>(await h(a)).success,W={loading:!1,deleteConfirmation:!1,selectedEmail:[],emailsList:[],IsEmailDrawerOpen:!1,type:"Add"},w=l({name:"emails",initialState:W,reducers:{toggleEmailDelete:(a,e)=>{a.deleteConfirmation=e.payload},setSelectedEmail:(a,e)=>{a.selectedEmail=e.payload},toggleEmailDrawer:(a,e)=>{a.IsEmailDrawerOpen=e.payload.IsEmailDrawerOpen,a.type=e.payload.type}},extraReducers:a=>{a.addCase(y.fulfilled,(e,t)=>{e.emailsList=t.payload.data,e.loading=!1}).addCase(y.pending,e=>{e.loading=!0})}}),{toggleEmailDelete:Oe,toggleEmailDrawer:Ie,setSelectedEmail:ke}=w.actions,X=w.reducer,Ee=S({data:j,notes:F,emails:X,tasks:Q,calls:K}),Ne=G;export{u as A,De as B,ge as C,ue as D,le as a,n as b,oe as c,ae as d,pe as e,p as f,_ as g,c as h,ce as i,de as j,ie as k,Ie as l,y as m,ke as n,Oe as o,Se as p,Ce as q,Ee as r,se as s,ne as t,Ne as u,g as v,we as w,me as x,fe as y,ye as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bY as l}from"./index-3b5ce20a.js";function o(t){return l({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"polygon",attr:{fill:"#90CAF9",points:"40,45 8,45 8,3 30,3 40,13"},child:[]},{tag:"polygon",attr:{fill:"#E1F5FE",points:"38.5,14 29,14 29,4.5"},child:[]},{tag:"polygon",attr:{fill:"#1565C0",points:"21,23 14,33 28,33"},child:[]},{tag:"polygon",attr:{fill:"#1976D2",points:"28,26.4 23,33 33,33"},child:[]},{tag:"circle",attr:{fill:"#1976D2",cx:"31.5",cy:"24.5",r:"1.5"},child:[]}]})(t)}export{o as F};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{r as l}from"./vendor-react-ece1c85f.js";import{L as m}from"./Logo-dd6f7656.js";import{a0 as c,cp as j,co as v,a4 as y,B as k}from"./index-3b5ce20a.js";import{F as w,a as d}from"./FormContainer-9a52b9e8.js";import{A as N}from"./Alert-59d09a99.js";import{A as x}from"./ActionLink-9db8b1c2.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";const B=()=>e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 48 48",children:[e.jsx("path",{fill:"#FFC107",d:"M43.6 20.5H42V20H24v8h11.3a12 12 0 1 1-3.4-13l5.7-5.7A20 20 0 1 0 44 24c0-1.2-.1-2.3-.4-3.5z"}),e.jsx("path",{fill:"#FF3D00",d:"M6.3 14.7l6.6 4.8A12 12 0 0 1 24 12c3 0 5.8 1.1 7.9 3l5.7-5.7A20 20 0 0 0 6.3 14.7z"}),e.jsx("path",{fill:"#4CAF50",d:"M24 44a20 20 0 0 0 13.5-5.2l-6.2-5.3a12 12 0 0 1-18-6.2l-6.6 5A20 20 0 0 0 24 44z"}),e.jsx("path",{fill:"#1976D2",d:"M43.6 20.5H42V20H24v8h11.3a12 12 0 0 1-4.1 5.5l6.2 5.3C42 35 44 30 44 24c0-1.2-.1-2.3-.4-3.5z"})]}),F=()=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 23 23",children:[e.jsx("rect",{x:"1",y:"1",width:"10",height:"10",fill:"#F25022"}),e.jsx("rect",{x:"12",y:"1",width:"10",height:"10",fill:"#7FBA00"}),e.jsx("rect",{x:"1",y:"12",width:"10",height:"10",fill:"#00A4EF"}),e.jsx("rect",{x:"12",y:"12",width:"10",height:"10",fill:"#FFB900"})]}),g=()=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M12 2l1.8 5.6L19.5 9l-5.7 1.4L12 16l-1.8-5.6L4.5 9l5.7-1.4z"}),e.jsx("path",{d:"M19 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"})]}),S=[30,55,42,68,50,78,62,90,72,95],C=()=>e.jsxs("aside",{className:"hidden lg:flex lg:w-[40%] relative overflow-hidden flex-col",style:{background:"#1B1B1B"},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(circle at 20% 30%,color-mix(in oklab, var(--custom-600) 35%, transparent),transparent 55%),radial-gradient(circle at 80% 70%,color-mix(in oklab, var(--custom-600) 18%, transparent),transparent 55%),linear-gradient(135deg,#1a1612 0%,#1B1B1B 60%,#1a1309 100%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(255,255,255,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.05) 1px,transparent 1px)",backgroundSize:"48px 48px",maskImage:"radial-gradient(circle at 50% 40%,#000 30%,transparent 80%)",WebkitMaskImage:"radial-gradient(circle at 50% 40%,#000 30%,transparent 80%)"}}),e.jsx("div",{className:"lg-orb-1 absolute rounded-full pointer-events-none",style:{top:-80,right:-100,width:360,height:360,background:"var(--custom-600)",filter:"blur(40px)",opacity:.7}}),e.jsx("div",{className:"lg-orb-2 absolute rounded-full pointer-events-none",style:{bottom:-120,left:-80,width:420,height:420,background:"#0D9488",filter:"blur(40px)",opacity:.7}}),e.jsxs("div",{className:"relative z-10 flex flex-col justify-between flex-1 p-14 text-white",children:[e.jsx("div",{children:e.jsx(m,{mode:"dark",logoWidth:"180px"})}),e.jsxs("div",{className:"max-w-[480px]",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 text-xs font-bold tracking-widest uppercase rounded-full px-3 py-1.5 mb-5",style:{color:"var(--custom-600)",background:"color-mix(in srgb, var(--custom-600) 12%, transparent)",border:"1px solid color-mix(in oklab, var(--custom-600) 30%, transparent)"},children:[e.jsx(g,{}),"Operations Platform"]}),e.jsxs("h1",{className:"text-[2.8rem] font-bold leading-tight tracking-tight text-white mb-4",children:["Your Journey to"," ",e.jsx("em",{className:"not-italic",style:{background:"linear-gradient(120deg,var(--custom-600),var(--custom-500))",WebkitBackgroundClip:"text",backgroundClip:"text",color:"transparent"},children:"Exceptional Service"})]}),e.jsx("p",{className:"text-base leading-relaxed mb-8",style:{color:"rgba(255,255,255,.7)",fontWeight:300},children:"Elevate your client relationships and deliver excellence every step of the way — with real-time data and full visibility into your operations."}),e.jsxs("div",{className:"rounded-xl p-4 mb-6",style:{background:"rgba(255,255,255,.04)",border:"1px solid rgba(255,255,255,.08)",backdropFilter:"blur(8px)"},children:[e.jsx("div",{className:"grid grid-cols-3 gap-2.5 mb-3",children:[{label:"On-time",value:"94.6%",delta:"▲ 2.4"},{label:"In transit",value:"1,284",delta:"▲ 118"},{label:"Idle / day",value:"18m",delta:"▼ 6m"}].map(t=>e.jsxs("div",{className:"rounded-lg p-2.5",style:{background:"rgba(255,255,255,.05)"},children:[e.jsx("div",{className:"text-[10px] font-bold tracking-wider uppercase",style:{color:"rgba(255,255,255,.5)"},children:t.label}),e.jsx("div",{className:"text-xl font-black text-white mt-1 leading-none",children:t.value}),e.jsx("div",{className:"text-[11px] font-bold mt-0.5",style:{color:"#4ade80"},children:t.delta})]},t.label))}),e.jsx("div",{className:"flex items-end gap-1.5 h-14 px-1",children:S.map((t,s)=>e.jsx("div",{className:"flex-1 rounded-sm lg-bar",style:{height:`${t}%`,animationDelay:`${s*.15}s`,background:"linear-gradient(180deg,var(--custom-600),color-mix(in srgb, var(--custom-600) 30%, transparent))"}},s))})]}),e.jsxs("div",{className:"rounded-xl p-5",style:{background:"rgba(255,255,255,.04)",border:"1px solid rgba(255,255,255,.08)"},children:[e.jsx("p",{className:"text-sm leading-relaxed italic mb-3",style:{color:"rgba(255,255,255,.85)",fontWeight:300},children:`"We replaced six separate tools in a weekend. Our ops team didn't even notice — they just got a cleaner UI and faster workflows."`}),e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-xs font-black text-white flex-shrink-0",style:{background:"var(--custom-600)"},children:"SH"}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-bold text-white",children:"Sara Han"}),e.jsx("div",{className:"text-xs",style:{color:"rgba(255,255,255,.5)"},children:"Operations Lead"})]})]})]})]}),e.jsx("div",{className:"flex gap-4 flex-wrap",children:["SOC 2 Type II","GDPR & HIPAA-ready","Self-host or cloud"].map(t=>e.jsxs("span",{className:"flex items-center gap-1.5 text-xs",style:{color:"rgba(255,255,255,.5)"},children:[e.jsx("span",{className:"w-4 h-4 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"rgba(74,222,128,.18)",color:"#4ade80"},children:e.jsx("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3.2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"20 6 9 17 4 12"})})}),t]},t))})]})]}),E=()=>{const[t,s]=l.useState(!1),[h,p]=l.useState(!1),[i,u]=l.useState(!1),[n]=l.useState(""),b=a=>{a.preventDefault(),s(!0),setTimeout(()=>s(!1),1200)};return e.jsx("main",{className:"flex-1 flex flex-col items-center justify-center bg-white dark:bg-gray-800 px-8 py-12 overflow-y-auto",children:e.jsxs("div",{className:"w-full max-w-[440px]",children:[e.jsx("div",{className:"mb-8 lg:hidden",children:e.jsx(m,{mode:"light",logoWidth:"160px"})}),e.jsx("h3",{className:"mb-1",children:"Welcome Back!"}),e.jsx("p",{className:"text-sm text-gray-500 mb-8",children:"Enter your credentials to access your account"}),n&&e.jsx(N,{showIcon:!0,className:"mb-4",type:"danger",children:n}),e.jsx("div",{className:"flex flex-col gap-2.5 mb-5",children:[{icon:e.jsx(B,{}),label:"Continue with Google"},{icon:e.jsx(F,{}),label:"Continue with Microsoft"},{icon:e.jsx(g,{}),label:"Email me a magic link",accent:!0}].map(({icon:a,label:o,accent:f})=>e.jsxs("button",{type:"button",className:"flex items-center justify-center gap-2.5 w-full rounded-lg border px-4 py-3 text-sm font-semibold transition-colors cursor-pointer",style:{borderColor:"#E9E9E9",color:f?"var(--custom-600)":"#1B1B1B",background:"#fff"},onMouseEnter:r=>{r.currentTarget.style.borderColor="#1B1B1B",r.currentTarget.style.background="#F6F4F1"},onMouseLeave:r=>{r.currentTarget.style.borderColor="#E9E9E9",r.currentTarget.style.background="#fff"},children:[a,o]},o))}),e.jsxs("div",{className:"flex items-center gap-3 my-1 mb-5",children:[e.jsx("div",{className:"flex-1 h-px bg-gray-200"}),e.jsx("span",{className:"text-xs font-bold tracking-widest uppercase text-gray-400",children:"or sign in with email"}),e.jsx("div",{className:"flex-1 h-px bg-gray-200"})]}),e.jsx("form",{onSubmit:b,noValidate:!0,children:e.jsxs(w,{children:[e.jsx(d,{label:"Email",children:e.jsx(c,{type:"email",name:"userName",placeholder:"you@company.com",autoComplete:"email"})}),e.jsx(d,{label:"Password",children:e.jsx(c,{type:i?"text":"password",name:"password",placeholder:"Enter your password",autoComplete:"current-password",suffix:e.jsx("span",{className:"cursor-pointer text-xl text-gray-400 hover:text-gray-700",onClick:()=>u(a=>!a),children:i?e.jsx(j,{}):e.jsx(v,{})})})}),e.jsxs("div",{className:"grid grid-cols-2 gap-1 mb-2",children:[e.jsx("div",{className:"my-1 text-left",children:e.jsx(y,{checked:h,onChange:a=>p(a),children:"Remember Me"})}),e.jsx("div",{className:"my-1 text-right",children:e.jsx(x,{to:"/forgot-password",children:"Forgot Password?"})})]}),e.jsx(k,{block:!0,className:"my-4",loading:t,variant:"solid",type:"submit",children:t?"Signing in...":"Sign In"}),e.jsx("div",{className:"text-center",children:e.jsxs("small",{children:["Don't have an account?"," ",e.jsx(x,{to:"/sign-up",children:"Sign Up"})]})})]})})]})})},I=()=>e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
|
|
2
|
+
@keyframes lgFloat {
|
|
3
|
+
0%,100% { transform:translate(0,0) scale(1); }
|
|
4
|
+
50% { transform:translate(20px,-25px) scale(1.05); }
|
|
5
|
+
}
|
|
6
|
+
@keyframes lgBar {
|
|
7
|
+
0%,100% { transform:scaleY(1); transform-origin:bottom; }
|
|
8
|
+
50% { transform:scaleY(.85); transform-origin:bottom; }
|
|
9
|
+
}
|
|
10
|
+
.lg-orb-1 { animation:lgFloat 8s ease-in-out infinite; }
|
|
11
|
+
.lg-orb-2 { animation:lgFloat 10s ease-in-out -3s infinite; }
|
|
12
|
+
.lg-bar { animation:lgBar 2.6s ease-in-out infinite; }
|
|
13
|
+
`}),e.jsxs("div",{className:"flex min-h-screen",children:[e.jsx(E,{}),e.jsx(C,{})]})]}),Y=I;export{Y as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as o}from"./vendor-mui-98daa63f.js";import{A as l}from"./AdaptableCard-3d1e1f96.js";import{D as T,M as p}from"./index-3b5ce20a.js";import{b as d,c as g,u as E,a as m}from"./vendor-redux-a1f00e6b.js";import{h as u}from"./AccountServices-f68f471d.js";import"./vendor-react-ece1c85f.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";const A="UPDATE-TICKET",C="COMMENT",I="ADD-TAGS-TO-TICKET",f="ADD-FILES-TO-TICKET",y="COMMENT-MENTION",L="ASSIGN-TICKET",M="CREATE-TICKET",s="accountActivityLog",c=d(s+"/getLogs",async e=>(await u()).data),r=d(s+"/filterLogs",async e=>(await apiGetAccountLogData(e)).data),N={loading:!1,loadMoreLoading:!1,loadable:!1,activityIndex:1,logs:[],selectedType:[A,C,y,L,I,f,M]},i=g({name:`${s}/state`,initialState:N,reducers:{setActivityIndex:(e,a)=>{e.activityIndex=a.payload},setSelected:(e,a)=>{e.selectedType=a.payload}},extraReducers:e=>{e.addCase(c.fulfilled,(a,t)=>{const n=E(a);a.logs=[...n.logs,...t.payload.data],a.loadMoreLoading=!1,a.loadable=t.payload.loadable}).addCase(c.pending,a=>{a.loadMoreLoading=!0}).addCase(r.fulfilled,(a,t)=>{a.logs=t.payload.data,a.loading=!1,a.loadable=t.payload.loadable}).addCase(r.pending,a=>{a.loading=!0})}});i.actions;const S=i.reducer,D=m({data:S});T("accountActivityLog",D);const x=()=>o.jsx(p,{children:o.jsx(l,{children:o.jsx("div",{className:"grid lg:grid-cols-5 gap-8 ",children:o.jsxs("div",{className:"col-span-4 order-last md:order-first",children:[o.jsx("h3",{className:"mb-6",children:"Notifications"}),"test"]})})})}),P=x;export{P as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i,c,a as p}from"./vendor-redux-a1f00e6b.js";import{a as C,e as f,f as g}from"./CourseService-
|
|
1
|
+
import{b as i,c,a as p}from"./vendor-redux-a1f00e6b.js";import{a as C,e as f,f as g}from"./CourseService-29ad460c.js";import{_ as D}from"./index-3b5ce20a.js";const o="CourseData",l=i(`${o}/getCourseList`,async a=>(await C({filters:a==null?void 0:a.filters})).data),d=i(o+"/getCourseDetails",async a=>(await f(a.id)).data),r=i(o+"/getCourseOptions",async(a,{rejectWithValue:e})=>{try{return(await g(a.id)).data}catch(s){return e(s)}}),y={total:0,pageIndex:1,pageSize:10,query:"",sort:{order:"",key:""}},m={loading:!1,deleteConfirmation:!1,selectedRowData:"",tableData:y,filterData:{name:"",category:["bags","cloths","devices","shoes","watches"],status:[0,1,2],productStatus:0},CourseList:[],CourseDetails:{},paymentList:[],CourseOptionList:[]},u=c({name:`${o}`,initialState:m,reducers:{setTableData:(a,e)=>{a.tableData=e.payload},setFilterData:(a,e)=>{a.filterData=e.payload},toggleDeleteConfirmation:(a,e)=>{a.deleteConfirmation=e.payload},setSelectedRowData:(a,e)=>{a.selectedRowData=e.payload}},extraReducers:a=>{a.addCase(l.fulfilled,(e,s)=>{var t;e.CourseList=(t=s.payload.finalResults)==null?void 0:t.$values,e.tableData.total=s.payload.finalResults.$values.length,e.loading=!1}).addCase(l.pending,e=>{e.loading=!0}).addCase(l.rejected,e=>{e.loading=!1}).addCase(d.fulfilled,(e,s)=>{e.CourseDetails=s.payload,e.loading=!1}).addCase(d.pending,e=>{e.loading=!0}).addCase(r.pending,e=>{e.loading=!0}).addCase(r.fulfilled,(e,s)=>{var t,n;e.CourseOptionList=(n=(t=s==null?void 0:s.payload)==null?void 0:t.finalResults)==null?void 0:n.$values,e.loading=!1}).addCase(r.rejected,(e,s)=>{e.CourseOptionList=[],e.loading=!1})}}),{setTableData:w,setFilterData:h,toggleDeleteConfirmation:O,setSelectedRowData:$}=u.actions,b=u.reducer,v=p({data:b}),A=D;export{r as a,d as b,l as g,v as r,$ as s,O as t,A as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as p,c as g,a as u}from"./vendor-redux-a1f00e6b.js";import{g as D}from"./DynamicTablesService-6aa57f52.js";import{ax as f,_ as y}from"./index-3b5ce20a.js";const d="dynamicTables",s=p(d+"/getDynamicTables",async a=>{var o,r,i,l;const{auth:e}=f.getState(),t=((r=(o=e==null?void 0:e.session)==null?void 0:o.tenantId)==null?void 0:r.toString())??"",m={searchString:"",userId:((l=(i=e==null?void 0:e.session)==null?void 0:i.userId)==null?void 0:l.toString())??"",tenantId:t,fromDate:null,toDate:null,sortBy:"",sortDirection:"",page:0,pageSize:100},n=await D(m);return{data:n.data.tables.$values,total:n.data.totalCount}}),S={loading:!1,deleteConfirmation:!1,selectedGrid:[],dynamicTableList:[],filterData:{tenantId:"",searchString:"",fromDate:"",toDate:""}},c=g({name:`${d}/state`,initialState:S,reducers:{updateUserList:(a,e)=>{a.dynamicTableList=e.payload},setTableData:(a,e)=>{a.dynamicTableList=e.payload},setFilterData:(a,e)=>{a.filterData=e.payload},toggleDeleteConfirmation:(a,e)=>{a.deleteConfirmation=e.payload},setSelectedGrid:(a,e)=>{a.selectedGrid=e.payload}},extraReducers:a=>{a.addCase(s.fulfilled,(e,t)=>{e.dynamicTableList=t.payload.data,e.loading=!1}).addCase(s.pending,e=>{e.loading=!0}).addCase(s.rejected,e=>{e.loading=!1})}}),{updateUserList:x,toggleDeleteConfirmation:A,setTableData:_,setFilterData:E,setSelectedGrid:F}=c.actions,b=c.reducer,R=u({data:b}),U=y;export{s as g,R as r,F as s,A as t,U as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as a}from"./vendor-mui-98daa63f.js";import{g as l}from"./index-3b5ce20a.js";import{a as d}from"./FormContainer-9a52b9e8.js";import{b as p,c as m,a as u}from"./vendor-redux-a1f00e6b.js";import{b,c as g,d as f,e as x}from"./PreferenceService-d2b3e003.js";const P=({title:e,desc:s,...r})=>a.jsxs("div",{className:"pb-8",...r,children:[a.jsx("h5",{children:e}),a.jsx("p",{children:s})]}),S=e=>{const{label:s,children:r,errors:o,touched:n,name:t,border:c=!0,alignCenter:i=!0}=e;return a.jsxs("div",{className:l("grid grid-cols-1 md:grid-cols-3 gap-4 py-2",c&&"border-gray-200 dark:border-gray-600",i&&"md:items-center"),children:[a.jsx("div",{className:"font-semibold",children:s}),a.jsx("div",{className:"col-span-2",children:a.jsx(d,{className:"mb-3 max-w-[700px]",invalid:o[t]&&n[t],errorMessage:o[t],children:r})})]})},h="roleList",U=async e=>(await g(e)).data,I=async e=>(await f(e)).data,R=async e=>(await x(e)).data,k=p("settings/uploadProfileAvatar",async({file:e},{rejectWithValue:s})=>{try{return await b(e)}catch(r){return s(r.response.data)}}),j={loading:!1,is2FAEnabled:localStorage.getItem("twoFactorEnabled")!==null?localStorage.getItem("isEnabled"):"false"},w=m({name:`${h}/state`,initialState:j,reducers:{}}),y=w.reducer;u({data:y});export{P as F,S as a,I as b,R as c,U as e,k as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{r as u}from"./vendor-react-ece1c85f.js";import{F as j,a as f}from"./FormContainer-9a52b9e8.js";import{a0 as g,B as F,a5 as v}from"./index-3b5ce20a.js";import{A as y}from"./Alert-59d09a99.js";import{A as b}from"./ActionLink-9db8b1c2.js";import{u as w}from"./useTimeOutMessage-e4eaa9f2.js";import{c as S,a as N,F as P,b as E,d as k}from"./index.esm-b2d342b5.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";const A=S().shape({email:N().matches(/^[^\s@]+@[^\s@]+\.[a-zA-Z]{2,}$/,"Invalid email").required("Please enter your email")}),I=l=>{const{disableSubmit:m=!1,className:c,signInUrl:d="/sign-in"}=l,[o,p]=u.useState(!1),[t,h]=w(),x=async(a,s)=>{var i,n;s(!0);try{(await v(a.email)).success&&(s(!1),p(!0))}catch(r){h(((n=(i=r==null?void 0:r.response)==null?void 0:i.data)==null?void 0:n.message)||r.toString()),s(!1)}};return e.jsxs("div",{className:c,children:[e.jsx("div",{className:"mb-6",children:o?e.jsxs(e.Fragment,{children:[e.jsx("h3",{className:"mb-1",children:"Check your email"}),e.jsx("p",{children:"We have sent a password recovery instruction to your email"})]}):e.jsxs(e.Fragment,{children:[e.jsx("h3",{className:"mb-1",children:"Forgot Password"}),e.jsx("p",{children:"Please enter your email address to receive a verification code"})]})}),t&&e.jsx(y,{showIcon:!0,className:"mb-4",type:"danger",children:t}),e.jsx(P,{initialValues:{email:""},validationSchema:A,onSubmit:(a,{setSubmitting:s})=>{m?s(!1):x(a,s)},children:({touched:a,errors:s,isSubmitting:i})=>e.jsx(E,{children:e.jsxs(j,{children:[e.jsx("div",{className:o?"hidden":"",children:e.jsx(f,{invalid:s.email&&a.email,errorMessage:s.email,children:e.jsx(k,{type:"email",autoComplete:"off",name:"email",placeholder:"Email",component:g})})}),e.jsx(F,{block:!0,loading:i,variant:"solid",type:"submit",children:o?"Resend Email":"Send Email"}),e.jsxs("div",{className:"mt-4 text-center",children:[e.jsx("span",{children:"Back to "}),e.jsx(b,{to:d,children:"Sign in"})]})]})})})]})},M=()=>e.jsx(I,{disableSubmit:!1}),G=M;export{G as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as c}from"./vendor-pdf-3c29882d.js";import{j as s}from"./vendor-mui-98daa63f.js";import{r as a,f as b,u}from"./vendor-react-ece1c85f.js";import{P as x}from"./PageBreadcrumb-cf54a6e9.js";import{T as l}from"./index-289b3fd9.js";import{cE as j,ds as h,dt as g}from"./index-3b5ce20a.js";import{A as P}from"./AdaptableCard-3d1e1f96.js";import"./useControllableState-d0909575.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";const _=a.lazy(()=>c(()=>import("./Profile-8c9fd2fc.js"),["assets/Profile-8c9fd2fc.js","assets/vendor-mui-98daa63f.js","assets/vendor-react-ece1c85f.js","assets/index-3b5ce20a.js","assets/vendor-redux-a1f00e6b.js","assets/vendor-pdf-3c29882d.js","assets/vendor-devex-4076ffeb.js","assets/vendor-i18n-b89304ef.js","assets/vendor-msal-9caa1ed1.js","assets/vendor-charts-4be0b5ab.js","assets/index-ce89a95e.css","assets/Upload-be937eb6.js","assets/Switcher-e2fba588.js","assets/FormContainer-9a52b9e8.js","assets/index-6873dfc3.js","assets/PreferenceService-d2b3e003.js","assets/index.esm-b2d342b5.js","assets/index-0ec48d3d.js"])),v=a.lazy(()=>c(()=>import("./Password-21414dc6.js"),["assets/Password-21414dc6.js","assets/vendor-mui-98daa63f.js","assets/vendor-react-ece1c85f.js","assets/PasswordInput-333c82ca.js","assets/index-3b5ce20a.js","assets/vendor-redux-a1f00e6b.js","assets/vendor-pdf-3c29882d.js","assets/vendor-devex-4076ffeb.js","assets/vendor-i18n-b89304ef.js","assets/vendor-msal-9caa1ed1.js","assets/vendor-charts-4be0b5ab.js","assets/index-ce89a95e.css","assets/index-88c52b97.js","assets/FormContainer-9a52b9e8.js","assets/index-6873dfc3.js","assets/PreferenceService-d2b3e003.js","assets/index.esm-b2d342b5.js","assets/strongPassword-6bc8786f.js"])),{TabNav:E,TabList:T}=l,r={profile:{label:"Profile",path:"profile",icon:s.jsx(h,{})},password:{label:"Password",path:"password",icon:s.jsx(g,{})}},y=()=>{const[e,i]=a.useState("profile"),[o,N]=a.useState({}),p=b(),n=u(),m=n.pathname.substring(n.pathname.lastIndexOf("/")+1),d=t=>{i(t),p(`/app/account/settings/${t}`)},f=async()=>{};return a.useEffect(()=>{i(m),j(o)&&f()},[]),s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:[s.jsx(x,{items:[{label:"Account"},{label:"Profile"}]}),s.jsx("div",{className:"lg:flex items-center justify-between",children:s.jsx("h3",{className:"mb-4 lg:mb-0",children:"Profile"})})]}),s.jsxs(P,{className:"m-4 borderless",children:[s.jsx(l,{value:e,onChange:t=>d(t),children:s.jsx(T,{children:Object.keys(r).map(t=>s.jsx(E,{value:t,icon:r[t].icon,children:r[t].label},t))})}),s.jsx("div",{className:"px-4 py-6",children:s.jsxs(a.Suspense,{fallback:s.jsx(s.Fragment,{}),children:[e==="profile"&&s.jsx(_,{data:o.profile}),e==="password"&&s.jsx(v,{data:o.loginHistory})]})})]})]})},B=y;export{B as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as C}from"./vendor-mui-98daa63f.js";import{r as t}from"./vendor-react-ece1c85f.js";import{g as p,bv as k,bO as I,bP as Y,bQ as ee,bR as A,bS as R,bF as $}from"./index-3b5ce20a.js";import{u as se}from"./useControllableState-d0909575.js";const te=t.forwardRef((l,x)=>{const{badgeStyle:m,children:c,className:a,content:e,innerClass:s,maxCount:f=99,...r}=l,n=p(typeof e!="number"&&typeof e!="string"?"badge-dot":"badge",s);return(()=>c?C.jsxs("span",{ref:x,className:p("badge-wrapper",a),...r,children:[C.jsx("span",{className:p(n,"badge-inner"),style:m,children:typeof e=="number"&&e>f?`${f}+`:e}),c]}):C.jsx("span",{ref:x,className:p(n,a),style:m,...r,children:e}))()});te.displayName="Badge";const V=t.forwardRef((l,x)=>{var n;const{children:m,className:c,size:a}=l,{controlSize:e}=k(),s=(n=I())==null?void 0:n.size,f=a||s||e,r=p("input-group",c),i={size:f};return C.jsx(Y,{value:i,children:C.jsx(ee,{children:()=>C.jsx("div",{ref:x,className:r,children:m})})})});V.displayName="InputGroup";const B=t.forwardRef((l,x)=>{var n,o;const{size:m,children:c,className:a}=l,{controlSize:e}=k(),s=(n=I())==null?void 0:n.size,f=(o=A())==null?void 0:o.size,r=m||f||s||e,i=p("input-addon",`input-addon-${r} h-${R[r]}`,a);return C.jsx("div",{ref:x,className:i,children:c})});B.displayName="Addon";const ae=V;ae.Addon=B;const E=t.createContext({}),ne=E.Provider,M=t.forwardRef((l,x)=>{const{name:m,disabled:c,value:a,onChange:e,color:s,vertical:f,radioGutter:r}=t.useContext(E),{children:i,className:n,checked:o,color:g,defaultChecked:d,disabled:u=c,field:b,labelRef:y,name:S=m,onChange:h,readOnly:N,value:v,vertical:D=f,...F}=l,{themeColor:Z,primaryColorLevel:Q}=k(),P=()=>typeof a<"u"?a===v:o,[G,w]=t.useState(P()),X=g||s||`${Z}-${Q}`,_=t.useMemo(()=>typeof a<"u"?{checked:G}:{checked:o,defaultChecked:d},[G,o,d,a]),q=t.useCallback(z=>{u||N||(e==null||e(v,z),h==null||h(v,z))},[u,w,h,v,e,a,N]);t.useEffect(()=>{const z=P();G!==z&&w(z)},[v,o,a]);const H=`radio text-${X}`,J=u&&"disabled",K=u&&"disabled",U=p(H,J),W=p("radio-label",K,n,"inline-flex",`${r?"m"+(D?"b-":"r-")+r:""}`);return C.jsxs("label",{ref:y,className:W,children:[C.jsx("input",{ref:x,type:"radio",className:U,disabled:u,value:v,name:S,readOnly:N,onChange:q,..._,...b,...F}),i?C.jsx("span",{className:p("ltr:ml-2 rtl:mr-2",u?"opacity-50":""),children:i}):null]})});M.displayName="Radio";const O=t.forwardRef((l,x)=>{const{color:m,disabled:c,name:a,onChange:e,radioGutter:s=3,value:f,vertical:r=!1,className:i,...n}=l,[o,g]=t.useState(f),d=t.useCallback((y,S)=>{g(y),e==null||e(y,S)},[e,g]),u=t.useMemo(()=>({vertical:r,name:a,value:typeof o>"u"?null:o,color:m,disabled:c,radioGutter:s,onChange:d}),[c,d,r,a,m,s,o]),b=p("radio-group",r&&"vertical",i);return C.jsx(ne,{value:u,children:C.jsx("div",{ref:x,className:b,...n,children:l.children})})});O.displayName="RadioGroup";const oe=M;oe.Group=O;const j=t.createContext({}),re=j.Provider;j.Consumer;function le(){return t.useContext(j)}const L=t.forwardRef((l,x)=>{const{children:m,className:c,defaultValue:a,onChange:e=()=>{},selectionType:s="single",size:f,value:r,...i}=l,n=I(),o=A(),{controlSize:g}=k(),[d,u]=se({prop:r,defaultProp:a,onChange:e}),b=t.useCallback(h=>{u(h)},[u]),y=t.useCallback(h=>{s==="single"&&u(""),s==="multiple"&&u((N=[])=>N.filter(v=>v!==h))},[u,s]),S=t.useMemo(()=>{if(s==="single")return d&&typeof d=="string"?[d]:d&&Array.isArray(d)?d:[];if(s==="multiple")return d||[]},[s,d]);return C.jsx(re,{value:{value:S,onActive:b,onDeactivate:y,size:f||(o==null?void 0:o.size)||(n==null?void 0:n.size)||g,selectionType:s},children:C.jsx("div",{ref:x,className:p("segment",c),...i,children:m})})});L.displayName="Segment";const ie=l=>Array.isArray(l)?l[0]:l,T=t.forwardRef((l,x)=>{const{size:m}=t.useContext(j),{children:c,className:a,disabled:e=!1,value:s,...f}=l,{value:r,onActive:i,onDeactivate:n,selectionType:o}=le(),g=r.includes(s),d=t.useCallback(()=>{let b="";switch(m){case $.LG:b=p(`h-${R.lg} md:px-8 py-2 px-4 text-base`);break;case $.SM:b=p(`h-${R.sm} px-3 py-2 text-sm`);break;case $.XS:b=p(`h-${R.xs} px-3 py-1 text-xs`);break;default:b=p(`h-${R.md} md:px-8 py-2 px-4`);break}return b},[m]),u=()=>{if(!e){if(g)o==="multiple"&&(n==null||n(s));else if(o==="single"&&(i==null||i([s])),o==="multiple"){const b=[...r,s];i==null||i(b)}}};return typeof c=="function"?ie(c)({active:g,onSegmentItemClick:u,disabled:e,value:s,...f}):C.jsx("button",{ref:x,className:p("segment-item segment-item-default",g&&"segment-item-active",e&&"segment-item-disabled",d(),a),onClick:u,...f,children:c})});T.displayName="SegmentItem";const ce=L;ce.Item=T;export{te as B,ae as I,oe as R,ce as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as m}from"./vendor-pdf-
|
|
1
|
+
import{_ as m}from"./vendor-pdf-3c29882d.js";import{c as d,r as n}from"./vendor-react-ece1c85f.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,S=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,C=/\.(m3u8)($|\?)/i,X=/\.(mpd)($|\?)/i,Y=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,j=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,F=/vimeo\.com\/(?!progressive_redirect).+/,K=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,q=/open\.spotify\.com\/(\w+)\/(\w+)/i,B=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,Z=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,b=(e,t)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&b(s,t)||b(s.src,t))return!0;return!1}return t(e)},y={html:e=>b(e,t=>N.test(t)||S.test(t)),hls:e=>b(e,t=>C.test(t)),dash:e=>b(e,t=>X.test(t)),mux:e=>Y.test(e),youtube:e=>j.test(e),vimeo:e=>F.test(e)&&!S.test(e)&&!C.test(e),wistia:e=>K.test(e),spotify:e=>q.test(e),twitch:e=>B.test(e),tiktok:e=>Z.test(e)},G=d.forwardRef((e,t)=>{const s=N.test(`${e.src}`)?"audio":"video";return d.createElement(s,{...e,ref:t},e.children)});var J=G;const Q=[{key:"hls",name:"hls.js",canPlay:y.hls,canEnablePIP:()=>!0,player:n.lazy(()=>m(()=>import("./react-170a0529.js"),["assets/react-170a0529.js","assets/vendor-react-ece1c85f.js","assets/mixin-01ba42c5.js","assets/hls-5a4bded5.js"]))},{key:"dash",name:"dash.js",canPlay:y.dash,canEnablePIP:()=>!0,player:n.lazy(()=>m(()=>import("./react-61e0b284.js"),["assets/react-61e0b284.js","assets/vendor-react-ece1c85f.js","assets/vendor-pdf-3c29882d.js","assets/vendor-mui-98daa63f.js","assets/mixin-01ba42c5.js"]))},{key:"mux",name:"Mux",canPlay:y.mux,canEnablePIP:()=>!0,player:n.lazy(()=>m(()=>import("./index-2eaef0be.js"),["assets/index-2eaef0be.js","assets/vendor-react-ece1c85f.js","assets/hls-5a4bded5.js","assets/mixin-01ba42c5.js"]))},{key:"youtube",name:"YouTube",canPlay:y.youtube,player:n.lazy(()=>m(()=>import("./react-ea77f572.js"),["assets/react-ea77f572.js","assets/vendor-react-ece1c85f.js","assets/index-3faf039c.js"]))},{key:"vimeo",name:"Vimeo",canPlay:y.vimeo,player:n.lazy(()=>m(()=>import("./react-f004be6c.js"),["assets/react-f004be6c.js","assets/vendor-react-ece1c85f.js","assets/index-3faf039c.js"]))},{key:"wistia",name:"Wistia",canPlay:y.wistia,canEnablePIP:()=>!0,player:n.lazy(()=>m(()=>import("./react-12ddbe48.js"),["assets/react-12ddbe48.js","assets/vendor-react-ece1c85f.js","assets/vendor-pdf-3c29882d.js","assets/vendor-mui-98daa63f.js"]))},{key:"spotify",name:"Spotify",canPlay:y.spotify,canEnablePIP:()=>!1,player:n.lazy(()=>m(()=>import("./react-e8a91697.js"),["assets/react-e8a91697.js","assets/vendor-react-ece1c85f.js"]))},{key:"twitch",name:"Twitch",canPlay:y.twitch,canEnablePIP:()=>!1,player:n.lazy(()=>m(()=>import("./react-f2c59655.js"),["assets/react-f2c59655.js","assets/vendor-react-ece1c85f.js"]))},{key:"tiktok",name:"TikTok",canPlay:y.tiktok,canEnablePIP:()=>!1,player:n.lazy(()=>m(()=>import("./react-ddb425a8.js"),["assets/react-ddb425a8.js","assets/vendor-react-ece1c85f.js"]))},{key:"html",name:"html",canPlay:y.html,canEnablePIP:()=>!0,player:J}];var O=Q;const ee={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},U=d.forwardRef((e,t)=>{const{playing:s,pip:u}=e,c=e.activePlayer,a=n.useRef(null),r=n.useRef(!0);n.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),n.useEffect(()=>{var l,i,o,h,R;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(h=(o=a.current).exitPictureInPicture)==null||h.call(o),(R=document.exitPictureInPicture)==null||R.call(document)}catch{}}},[u]);const I=l=>{var i,o;r.current=!0,(i=e.onReady)==null||i.call(e),(o=e.onLoadStart)==null||o.call(e,l)},k=l=>{var i,o;r.current&&(r.current=!1,(i=e.onStart)==null||i.call(e,l)),(o=e.onPlay)==null||o.call(e,l)};if(!c)return null;const v={},p=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!p.includes(l)&&(v[l]=e[l]);return d.createElement(c,{...v,style:e.style,className:e.className,slot:e.slot,ref:n.useCallback(l=>{a.current=l,typeof t=="function"?t(l):t!==null&&(t.current=l)},[t]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:I,onPlay:k},e.children)});U.displayName="Player";var te=U;const ae=n.lazy(()=>m(()=>import("./Preview-99df3d06.js"),["assets/Preview-99df3d06.js","assets/vendor-react-ece1c85f.js"])),w=[],le=(e,t)=>{const s=c=>{for(const a of[...w,...e])if(c&&a.canPlay(c))return a;return t||null},u=d.forwardRef((c,a)=>{const r={...ee,...c},{src:I,slot:k,className:v,style:p,width:l,height:i,fallback:o,wrapper:h}=r,[R,E]=n.useState(!!r.light);n.useEffect(()=>{r.light?E(!0):E(!1)},[r.light]);const D=_=>{var P;E(!1),(P=r.onClickPreview)==null||P.call(r,_)},H=_=>{if(!_)return null;const{light:P,playIcon:T,previewTabIndex:f,oEmbedUrl:g,previewAriaLabel:A}=r;return d.createElement(ae,{src:_,light:P,playIcon:T,previewTabIndex:f,previewAriaLabel:A,oEmbedUrl:g,onClickPreview:D})},V=_=>{var P,T;const f=s(_);if(!f)return null;const{style:g,width:A,height:$,wrapper:L}=r,W=(P=r.config)==null?void 0:P[f.key];return d.createElement(te,{...r,ref:a,activePlayer:(T=f.player)!=null?T:f,slot:L?void 0:k,className:L?void 0:v,style:L?{display:"block",width:"100%",height:"100%"}:{display:"block",width:A,height:$,...g},config:W})},z=h??x,M=o===!1?x:n.Suspense;return d.createElement(z,{slot:k,className:v,style:{width:l,height:i,...p}},d.createElement(M,{fallback:o},R?H(I):V(I)))});return u.displayName="ReactPlayer",u.addCustomPlayer=c=>{w.push(c)},u.removeCustomPlayers=()=>{w.length=0},u.canPlay=c=>{if(c){for(const a of[...w,...e])if(a.canPlay(c))return!0}return!1},u.canEnablePIP=c=>{var a;if(c){for(const r of[...w,...e])if(r.canPlay(c)&&((a=r.canEnablePIP)!=null&&a.call(r)))return!0}return!1},u},x=({children:e})=>e,re=O[O.length-1];var ie=le(O,re);export{ie as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as X,e as q,g as Y,r as $}from"./vendor-react-ece1c85f.js";import{p as G}from"./vendor-mui-
|
|
1
|
+
import{b as X,e as q,g as Y,r as $}from"./vendor-react-ece1c85f.js";import{p as G}from"./vendor-mui-98daa63f.js";var I={exports:{}};/*!
|
|
2
2
|
* Signature Pad v2.3.2
|
|
3
3
|
* https://github.com/szimek/signature_pad
|
|
4
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bY as l}from"./index-3b5ce20a.js";function a(c){return l({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"},child:[]}]})(c)}function s(c){return l({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"},child:[]}]})(c)}function r(c){return l({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"},child:[]}]})(c)}function i(c){return l({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 144-208 0c-35.3 0-64 28.7-64 64l0 144-48 0c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z"},child:[]}]})(c)}export{s as F,i as a,a as b,r as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{r as c,c as T}from"./vendor-react-ece1c85f.js";import{U as _,u as O,a0 as U,a4 as $,B as z}from"./index-3b5ce20a.js";import{F as H,a as I}from"./FormContainer-9a52b9e8.js";import{A as q}from"./Alert-59d09a99.js";import{P as D}from"./PasswordInput-333c82ca.js";import{A as N}from"./ActionLink-9db8b1c2.js";import{u as V}from"./useTimeOutMessage-e4eaa9f2.js";import{c as W,a as B,e as J,F as K,b as X,d as A}from"./index.esm-b2d342b5.js";import{u as Q}from"./vendor-msal-9caa1ed1.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-charts-4be0b5ab.js";import"./index-88c52b97.js";function Y(t={}){const{nonce:n,onScriptLoadSuccess:i,onScriptLoadError:a}=t,[u,l]=c.useState(!1),o=c.useRef(i);o.current=i;const h=c.useRef(a);return h.current=a,c.useEffect(()=>{const d=document.createElement("script");return d.src="https://accounts.google.com/gsi/client",d.async=!0,d.defer=!0,d.nonce=n,d.onload=()=>{var m;l(!0),(m=o.current)===null||m===void 0||m.call(o)},d.onerror=()=>{var m;l(!1),(m=h.current)===null||m===void 0||m.call(h)},document.body.appendChild(d),()=>{document.body.removeChild(d)}},[n]),u}const R=c.createContext(null);function Z({clientId:t,nonce:n,onScriptLoadSuccess:i,onScriptLoadError:a,children:u}){const l=Y({nonce:n,onScriptLoadSuccess:i,onScriptLoadError:a}),o=c.useMemo(()=>({clientId:t,scriptLoadedSuccessfully:l}),[t,l]);return T.createElement(R.Provider,{value:o},u)}function ee(){const t=c.useContext(R);if(!t)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return t}function te({flow:t="implicit",scope:n="",onSuccess:i,onError:a,onNonOAuthError:u,overrideScope:l,state:o,...h}){const{clientId:d,scriptLoadedSuccessfully:m}=ee(),v=c.useRef(),w=c.useRef(i);w.current=i;const y=c.useRef(a);y.current=a;const j=c.useRef(u);j.current=u,c.useEffect(()=>{var p,s;if(!m)return;const r=t==="implicit"?"initTokenClient":"initCodeClient",k=(s=(p=window==null?void 0:window.google)===null||p===void 0?void 0:p.accounts)===null||s===void 0?void 0:s.oauth2[r]({client_id:d,scope:l?n:`openid profile email ${n}`,callback:f=>{var g,b;if(f.error)return(g=y.current)===null||g===void 0?void 0:g.call(y,f);(b=w.current)===null||b===void 0||b.call(w,f)},error_callback:f=>{var g;(g=j.current)===null||g===void 0||g.call(j,f)},state:o,...h});v.current=k},[d,m,t,n,o]);const S=c.useCallback(p=>{var s;return(s=v.current)===null||s===void 0?void 0:s.requestAccessToken(p)},[]),F=c.useCallback(()=>{var p;return(p=v.current)===null||p===void 0?void 0:p.requestCode()},[]);return t==="implicit"?S:F}const oe=()=>e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 48 48",children:[e.jsx("path",{fill:"#FFC107",d:"M43.6 20.5H42V20H24v8h11.3a12 12 0 1 1-3.4-13l5.7-5.7A20 20 0 1 0 44 24c0-1.2-.1-2.3-.4-3.5z"}),e.jsx("path",{fill:"#FF3D00",d:"M6.3 14.7l6.6 4.8A12 12 0 0 1 24 12c3 0 5.8 1.1 7.9 3l5.7-5.7A20 20 0 0 0 6.3 14.7z"}),e.jsx("path",{fill:"#4CAF50",d:"M24 44a20 20 0 0 0 13.5-5.2l-6.2-5.3a12 12 0 0 1-18-6.2l-6.6 5A20 20 0 0 0 24 44z"}),e.jsx("path",{fill:"#1976D2",d:"M43.6 20.5H42V20H24v8h11.3a12 12 0 0 1-4.1 5.5l6.2 5.3C42 35 44 30 44 24c0-1.2-.1-2.3-.4-3.5z"})]}),se=({onSuccess:t,onFailure:n})=>{const[i,a]=c.useState(!1),u=te({onSuccess:l=>t(l.access_token),onError:l=>n({message:l.error_description||"Login Failed"}),scope:"openid email profile https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/calendar.events"});return e.jsxs("button",{type:"button",onClick:()=>u(),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),className:"flex items-center justify-center gap-2.5 w-full rounded-lg border px-4 py-3 text-sm font-semibold transition-colors cursor-pointer",style:{borderColor:i?"#1B1B1B":"#E9E9E9",color:"#1B1B1B",background:i?"#F6F4F1":"#fff"},children:[e.jsx(oe,{}),"Continue with Google"]})},ne=({clientId:t,onSuccess:n,onFailure:i})=>e.jsx(Z,{clientId:t,children:e.jsx(se,{clientId:t,onSuccess:n,onFailure:i})}),re=()=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 23 23",children:[e.jsx("rect",{x:"1",y:"1",width:"10",height:"10",fill:"#F25022"}),e.jsx("rect",{x:"12",y:"1",width:"10",height:"10",fill:"#7FBA00"}),e.jsx("rect",{x:"1",y:"12",width:"10",height:"10",fill:"#00A4EF"}),e.jsx("rect",{x:"12",y:"12",width:"10",height:"10",fill:"#FFB900"})]}),ie=({onSuccess:t,onFailure:n})=>{const{instance:i}=Q(),[a,u]=c.useState(!1),l=async()=>{try{const o=await i.loginPopup({scopes:["user.read"]});t({token:o.accessToken})}catch(o){n({message:(o==null?void 0:o.errorMessage)||"An unexpected error occurred. Please try again."})}};return e.jsxs("button",{type:"button",onClick:l,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),className:"flex items-center justify-center gap-2.5 w-full rounded-lg border px-4 py-3 text-sm font-semibold transition-colors cursor-pointer",style:{borderColor:a?"#1B1B1B":"#E9E9E9",color:"#1B1B1B",background:a?"#F6F4F1":"#fff"},children:[e.jsx(re,{}),"Continue with Microsoft"]})},ae=()=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M12 2l1.8 5.6L19.5 9l-5.7 1.4L12 16l-1.8-5.6L4.5 9l5.7-1.4z"}),e.jsx("path",{d:"M19 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"})]}),ce=()=>{const[t,n]=c.useState(!1),i=()=>{const a=`https:///authorize?client_id=${_.auth0ClientId}&redirect_uri=${encodeURIComponent(`${window.location.origin}/sign-in/auth0/callback`)}&response_type=code&scope=openid profile email&`;a.startsWith("https://")?window.location.replace(a):console.error("Invalid login URL")};return e.jsxs("button",{type:"button",onClick:i,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),className:"flex items-center justify-center gap-2.5 w-full rounded-lg border px-4 py-3 text-sm font-semibold transition-colors cursor-pointer",style:{borderColor:t?"#F15A22":"#E9E9E9",color:"#F15A22",background:t?"#FBF2EA":"#fff"},children:[e.jsx(ae,{}),"Email me a magic link"]})},C=5,P=5*60*1e3,le=()=>{const t=localStorage.getItem("loginAttempts");try{return JSON.parse(t||"{}")||{count:0,timestamp:0}}catch{return{count:0,timestamp:0}}},de=(t,n)=>{localStorage.setItem("loginAttempts",JSON.stringify({count:t,timestamp:n}))},ue=()=>{localStorage.removeItem("loginAttempts")},me=W().shape({userName:B().required("Please enter your user name"),password:B().required("Please enter your password"),rememberMe:J()}),pe=t=>{const{disableSubmit:n=!1,className:i,forgotPasswordUrl:a="/forgot-password",signUpUrl:u="/sign-up"}=t,[l,o]=V(),[h,d]=c.useState(!1),{signIn:m,signInExternal:v}=O(),w=async(s,r)=>{const{userName:k}=s;let{password:f}=s;const{count:g,timestamp:b}=le(),L=Date.now(),E=L-b;g>=C&&E<P&&(o("Too many failed attempts.try again after 5 minutes."),d(!0),r(!1)),r(!0),f=btoa(f);const x=await m({userName:k,password:f});if((x==null?void 0:x.status)==="failed"){const M=E>P?1:g+1;de(M,L),M>=C?(d(!0),o("Too many failed attempts.try again after 5 minutes.")):(d(!1),o(x.message||"Login failed.")),M>=C-1&&await new Promise(G=>setTimeout(G,2e3))}else(x==null?void 0:x.status)==="success"&&(ue(),d(!1));r(!1)},y=async s=>{try{const r=await v(2,s);(r==null?void 0:r.status)==="failed"&&o(r.message||"Google sign-in failed.")}catch{o("An error occurred during Google sign-in.")}},j=s=>{o("Google sign-in failed. Please try again.")},S=s=>{o("Microsoft sign-in failed. Please try again.")},F=async s=>{try{const r=await v(3,s.token);(r==null?void 0:r.status)==="failed"&&o(r.message||"Microsoft sign-in failed.")}catch{o("An error occurred during Microsoft sign-in.")}},{googleClientId:p}=_;return e.jsxs("div",{className:i,children:[l&&e.jsx(q,{duration:6e3,showIcon:!0,className:"mb-4",type:"danger",children:l}),e.jsxs("div",{className:"flex flex-col gap-2.5 mb-5",children:[e.jsx(ne,{clientId:p,onSuccess:y,onFailure:j}),e.jsx(ie,{onSuccess:F,onFailure:S}),e.jsx(ce,{})]}),e.jsxs("div",{className:"flex items-center gap-3 my-1 mb-5",children:[e.jsx("div",{className:"flex-1 h-px bg-gray-200"}),e.jsx("span",{className:"text-xs font-bold tracking-widest uppercase text-gray-500 dark:text-gray-400",children:"or sign in with email"}),e.jsx("div",{className:"flex-1 h-px bg-gray-200"})]}),e.jsx(K,{initialValues:{userName:"",password:"",rememberMe:!1},validationSchema:me,onSubmit:(s,{setSubmitting:r})=>{w(s,r)},children:({isSubmitting:s})=>e.jsx(X,{children:e.jsxs(H,{children:[e.jsx(I,{label:"Email",children:e.jsx(A,{type:"text",name:"userName",placeholder:"you@company.com",component:U})}),e.jsx(I,{label:"Password",children:e.jsx(A,{name:"password",placeholder:"Enter your password",component:D})}),e.jsxs("div",{className:"grid grid-cols-2 gap-1",children:[e.jsx("div",{className:"my-1 text-left",children:e.jsx(A,{name:"rememberMe",type:"checkbox",component:$,children:"Remember Me"})}),e.jsx("div",{className:"my-1 text-right",children:e.jsx(N,{to:a,children:"Forgot Password?"})})]}),e.jsx(z,{block:!0,className:"my-4",loading:s,variant:"solid",type:"submit",disabled:s||h,children:s?"Signing in...":h?"Please wait...":"Sign In"}),e.jsx("div",{className:"text-center",children:e.jsxs("small",{children:["Don't have an account?"," ",e.jsx(N,{to:u,children:"Sign Up"})]})})]})})})]})},ge=()=>e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mb-1 font-black",children:"Welcome Back!"}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300 mb-8",children:"Enter your credentials to access your account"}),e.jsx(pe,{disableSubmit:!1})]}),Ne=ge;export{Ne as default};
|