@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 @@
|
|
|
1
|
+
import{j as e,l as fe}from"./vendor-mui-98daa63f.js";import{A as $}from"./AdaptableCard-3d1e1f96.js";import{r as d,f as z}from"./vendor-react-ece1c85f.js";import{b as B,c as he,a as ge}from"./vendor-redux-a1f00e6b.js";import{a as xe,b as De,c as je,d as be,e as Ce,f as te}from"./KeyVaultService-9608f0ff.js";import{_ as ke,D as J,k as V,r as ve,B as K,a4 as we,cF as Ke,E as F,F as N,Z as Ve,cE as Z,l as Se,d as Ae,b8 as Fe,dI as Ne,eB as Ee}from"./index-3b5ce20a.js";import{P as Ie}from"./PageBreadcrumb-cf54a6e9.js";import"./Alert-59d09a99.js";import"./index-7596c6bb.js";import"./index-a14e51de.js";import{D as Q}from"./Drawer-4f97e662.js";import{a as O,F as Re}from"./FormContainer-9a52b9e8.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";import{A as Le,T}from"./actioncell-6b5ebd6c.js";import{D as Oe}from"./tableV2-99c808c0.js";import{h as Te}from"./index-b0ef7ac3.js";import{S as Me}from"./StickyFooter-3e569b80.js";import{C as ae}from"./ConfirmDialog-2838a642.js";import{u as $e,d as M,c as W,a as Pe,e as qe,F as ze,b as Be}from"./index.esm-b2d342b5.js";import{a as Je}from"./index-0b08ce18.js";import{D as Ue}from"./DoubleSidedImage-b4bd3915.js";import{F as _e}from"./index-49016ad0.js";import{p as X}from"./Notify-8fb74d48.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"./FileSaver.min-20f3f13a.js";import"./DensitySelector-5d2e901f.js";import"./NoData-4cc4af03.js";const E="AppKeyVaultData",C=B(`${E}/getAppKeyVaultsData`,async l=>{const a=await xe(l);return console.log("LeadSources",a),a.data}),se=B(`${E}/getAppKeys`,async l=>{const a=await De(l);return console.log("LeadSources",a),a.data}),P=B(E+"/getAppKeyDetails",async l=>(console.log("getappkeyDetails"),(await je(l.id)).data)),Ge={total:0,pageIndex:1,pageSize:10,query:"",sort:{order:"",key:""}},Ye={loading:!1,deleteConfirmation:!1,selectedRowData:"",tableData:Ge,filterData:{name:"",category:["bags","cloths","devices","shoes","watches"],status:[0,1,2],productStatus:0},keyVaultDataList:[],appKeysList:[]},le=he({name:`${E}`,initialState:Ye,reducers:{setTableData:(l,a)=>{l.tableData=a.payload},setFilterData:(l,a)=>{l.filterData=a.payload},toggleDeleteConfirmation:(l,a)=>{l.deleteConfirmation=a.payload},setSelectedRowData:(l,a)=>{l.selectedRowData=a.payload}},extraReducers:l=>{l.addCase(C.fulfilled,(a,n)=>{a.keyVaultDataList=n.payload.$values,a.tableData.total=n.payload.$values.length,a.loading=!1}).addCase(C.pending,a=>{a.loading=!0}).addCase(P.fulfilled,(a,n)=>{a.keyData=n.payload,a.loading=!1}).addCase(P.pending,a=>{a.loading=!0}).addCase(se.fulfilled,(a,n)=>{a.appKeysList=n.payload.$values})}}),{setTableData:zt,setFilterData:Bt,toggleDeleteConfirmation:q,setSelectedRowData:ee}=le.actions,He=le.reducer,U=ge({data:He}),j=ke;J("AppKeyVaultData",U);const Ze=l=>{const a=V(),[n,y]=d.useState(!0),{touched:s,errors:c,type:p}=l,f=j(t=>{var r,g;return(g=(r=t==null?void 0:t.AppKeyVaultData)==null?void 0:r.data)==null?void 0:g.appKeysList.map(x=>({value:x.id,label:x.key}))}),D=()=>{const t=se({});a(t)};d.useEffect(()=>{D()},[]),d.useState("{}");const{values:h,setFieldValue:m}=$e(),u=t=>{try{if(!t.trim())return;const i=JSON.parse(t),r=JSON.stringify(i,null,2);m("keyvalue",r)}catch(i){console.error("Invalid JSON format:",i),alert("Invalid JSON format. Please correct the input.")}};return e.jsxs($,{className:"mb-4",children:[e.jsx(O,{label:"Select Key",asterisk:!0,invalid:c.key&&s.key,errorMessage:c.key,children:e.jsx(M,{name:"key",children:({field:t,form:i})=>e.jsx(ve,{field:t,form:i,options:f,name:"key",onChange:r=>{i.setFieldValue(t.name,r)}})})}),e.jsx("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"-18px"},children:e.jsx(K,{size:"sm",className:"ltr:mr-3 rtl:ml-3",type:"button",onClick:()=>{y(t=>!t)},children:n?"JSON Input":"Text Input"})}),e.jsx(O,{label:"Value",invalid:c.keyvalue&&s.keyvalue,errorMessage:c.keyvalue,children:n?e.jsx(M,{as:"textarea",name:"keyvalue",rows:8,className:"form-control",style:{width:"100%",fontFamily:"monospace",border:"1px solid #ccc"}}):e.jsx("textarea",{value:h.keyvalue,onChange:t=>{m("keyvalue",t.target.value)},onBlur:t=>u(t.target.value),rows:10,style:{width:"100%",fontFamily:"monospace",border:"1px solid #ccc"},placeholder:"Paste JSON in {}"})}),e.jsx(O,{label:"",invalid:c.isEncrypted&&s.isEncrypted,errorMessage:c.isEncrypted,children:e.jsx(M,{name:"isEncrypted",children:({field:t,form:i})=>e.jsx(we,{className:"mb-3",name:t.name,checked:t.value,onChange:r=>{i.setFieldValue(t.name,r)},children:e.jsx("b",{children:" Encrypt Value"})})})})]})},{useUniqueId:Qe}=Te,We=W().shape({key:W().required("Key is required"),keyvalue:Pe().required("Value is Required"),isEncrypted:qe()}),Xe=({onDelete:l})=>{const[a,n]=d.useState(!1),y=()=>{n(!0)},s=()=>{n(!1)},c=()=>{l==null||l(n)};return e.jsxs(e.Fragment,{children:[e.jsx(K,{className:"text-red-600",variant:"plain",size:"sm",icon:e.jsx(Ke,{}),type:"button",onClick:y,children:"Delete"}),e.jsx(ae,{isOpen:a,type:"danger",title:"Delete Category",confirmButtonColor:"red-600",onClose:s,onRequestClose:s,onCancel:s,onConfirm:c,children:e.jsx("p",{children:"Are you sure you want to delete this? All record related to this role will be deleted as well. This action cannot be undone."})})]})},_=d.forwardRef((l,a)=>{const{type:n,initialData:y={id:"",key:null,keyvalue:"",isEncrypted:!1},onFormSubmit:s,onDiscard:c,onDelete:p}=l,f=Qe("KeyVaultForm-");return e.jsx(e.Fragment,{children:e.jsx(ze,{innerRef:a,initialValues:{...y},validationSchema:We,onSubmit:(D,{setSubmitting:h})=>{const m=D;n==="new"&&(m.id=f),s==null||s(m,h)},children:({values:D,touched:h,errors:m,isSubmitting:u})=>e.jsx(Be,{children:e.jsxs(Re,{children:[e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-1 gap-4",children:e.jsx("div",{className:"lg:col-span-2 pb-8",children:e.jsx(Ze,{type:n,touched:h,errors:m})})}),e.jsxs(Me,{className:"px-8 flex items-center justify-between py-4",stickyClass:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700",children:[e.jsx("div",{children:n==="edit"&&e.jsx(Xe,{onDelete:p})}),e.jsxs("div",{className:"md:flex items-center justify-between w-full",children:[e.jsx(K,{size:"sm",className:"ltr:mr-3 rtl:ml-3",type:"button",onClick:()=>c==null?void 0:c(),children:"Discard"}),e.jsx(K,{size:"sm",variant:"solid",loading:u,icon:e.jsx(Je,{}),type:"submit",children:"Save"})]})]})]})})})})});_.displayName="KeyVaultForm";const et=l=>{const{onDrawerClose:a,customerId:n,onContactCreated:y,isfromDropdown:s=!1,newContactName:c=""}=l;z();const p=V();d.useState(!1);const f=async u=>await be(u),D=()=>{p(C({}))},h=async(u,t)=>{t(!0);const i={KeyId:u.key.value??"",value:u.keyvalue??"",IsEncrypted:u.isEncrypted??""};f(i).then(r=>{r.success&&(F.push(e.jsx(N,{title:"Success",type:"success",duration:2500,children:"Key Successfully Added"}),{placement:"top-center"}),y&&y(r==null?void 0:r.data),D(),a())}).catch(r=>{var g=r.response.data;t(!1),F.push(e.jsx(N,{title:"Error",type:"danger",duration:2500,children:g.message}),{placement:"top-center"})})},m=()=>{a()};return e.jsx(e.Fragment,{children:e.jsx(_,{type:"new",onFormSubmit:h,onDiscard:m,initialData:{key:"",keyvalue:"",isEncrypted:!1}})})};J("AppKeyVaultData",U);const tt=l=>{const{id:a,onDrawerClose:n}=l,y=V();z();const s=j(t=>{var i,r,g,x,k,v,S,I,A;return{...(r=(i=t.AppKeyVaultData)==null?void 0:i.data)==null?void 0:r.keyData,key:{value:(k=(x=(g=t.AppKeyVaultData)==null?void 0:g.data)==null?void 0:x.keyData)==null?void 0:k.keyId,label:(A=(I=(S=(v=t.AppKeyVaultData)==null?void 0:v.data)==null?void 0:S.keyData)==null?void 0:I.appKeyNavigation)==null?void 0:A.key}}});console.log("EditKeyVaultData - data",s);const c=j(t=>{var i,r;return(r=(i=t.AppKeyVaultData)==null?void 0:i.data)==null?void 0:r.loading}),p=t=>{y(P({id:t}))},f=()=>{y(C({}))},D=async(t,i)=>{var x;i(!0);const r={KeyId:((x=t.key)==null?void 0:x.value)??"",value:t.keyvalue??"",IsEncrypted:t.isEncrypted??""},g=await Ce(a,r);i(!1),g&&(u("updated"),f(),n())},h=()=>{n()},m=async t=>{t(!1),await te(a??"").then(i=>{u("deleted"),f(),n(null)})},u=t=>{F.push(e.jsxs(N,{title:"Success",type:"success",duration:2500,children:["Key Successfully ",t]}),{placement:"top-center"})};return d.useEffect(()=>{p(a)},[a]),e.jsxs(e.Fragment,{children:[e.jsx(Ve,{loading:c,children:!Z(s)&&e.jsx(e.Fragment,{children:e.jsx(_,{type:"edit",initialData:{key:s==null?void 0:s.key,keyvalue:s==null?void 0:s.value,id:s==null?void 0:s.id,isEncrypted:s==null?void 0:s.isEncrypted},onFormSubmit:D,onDiscard:h,onDelete:m})})}),!c&&Z(s)&&e.jsxs("div",{className:"h-full flex flex-col items-center justify-center",children:[e.jsx(Ue,{src:"/img/others/img-2.png",darkModeSrc:"/img/others/img-2-dark.png",alt:"No product found!"}),e.jsx("h3",{className:"mt-8",children:"No Key found!"})]})]})},at=()=>{const l=V(),a=j(p=>p.AppKeyVaultData.data.deleteConfirmation),n=j(p=>p.AppKeyVaultData.data.selectedRowData),y=j(p=>p.AppKeyVaultData.data.tableData),s=()=>{l(q(!1))},c=async()=>{l(q(!1)),await te(n.id)&&(l(C(y)),F.push(e.jsx(N,{title:"Deleted",type:"success",duration:2500,children:"Key Successfully Deleted"}),{placement:"top-center"}))};return e.jsx(ae,{isOpen:a,type:"danger",title:"Delete Contact",confirmButtonColor:"red-600",onClose:s,onRequestClose:s,onCancel:s,onConfirm:c,children:e.jsx("p",{children:"Are you sure you want to delete this Key? This action cannot be undone."})})},st=["nextColumn","widget"];J("AppKeyVaultData",U);const lt={edit:!0,delete:!0,view:!1},ot=()=>{const[l,a]=d.useState([]),[n,y]=d.useState(!1);d.useState(!1);const[s,c]=d.useState(!1),[p,f]=d.useState(!1),[D,h]=d.useState(),m=()=>{c(!0)},u=()=>{c(!1)};d.useRef(null),d.useState(st[0]),z();const t=V(),i=j(o=>o.AppKeyVaultData.data.filterData),r=j(o=>o.AppKeyVaultData.data.loading),g=j(o=>o.AppKeyVaultData.data.keyVaultDataList);Se();const{pageIndex:x,pageSize:k,sort:v,query:S,total:I}=j(o=>o.AppKeyVaultData.data.tableData);d.useEffect(()=>{A()},[x,k,v,n,i]);const A=()=>{const o=C({pageIndex:x,pageSize:k,sort:v,query:S,filterData:i});t(o)},[oe,ne]=d.useState({pageSize:"",pageIndex:""}),re=(o,b)=>{T.view,b===T.edit&&(h(o.id),t(ee(o)),f(!0)),b===T.delete&&(t(q(!0)),t(ee(o)))},G=()=>{f(!1)},ie=async o=>{try{await navigator.clipboard.writeText(o),X("Copied to clipboard!","Success","success")}catch{X("Failed to copy!","Error","danger")}},ce=({value:o,isEncrypted:b})=>{const[R,pe]=d.useState("Loading..."),[L,ue]=d.useState("");return d.useEffect(()=>{(async()=>{let w=o;if(b)try{w=await Ne(o,Ee)}catch{w="[Decryption Error]"}ue(w);const Y=6,H=w.length-Y,ye=`${"*".repeat(H>0?H:0)}${w.slice(-Y)}`;pe(ye)})()},[o,b]),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-2 break-words",children:[e.jsx("span",{className:"font-mono text-sm break-all",children:R}),L&&L!=="[Decryption Error]"&&e.jsx(Fe,{title:"Copy full value",children:e.jsx(_e,{className:"cursor-pointer w-4 h-4 text-custom-600",onClick:()=>ie(L)})})]})},de=[{dataField:"Action",caption:"Action",width:"130",cellRender:o=>e.jsx("div",{id:"mAction","data-cname":"Action",children:e.jsx(Le,{row:o==null?void 0:o.data,actions:lt,buttonClick:re})})},{dataField:"key",caption:"Key",width:"300"},{dataField:"value",caption:"Value",width:"450",cellRender:o=>{const{value:b,isEncrypted:R}=o==null?void 0:o.data;return e.jsxs("div",{"data-cname":"Value",className:"flex align-center",children:[e.jsx(ce,{value:b,isEncrypted:R}),";"]})}},{dataField:"createdDate",caption:"Created On",width:"150",dataType:"date",format:"MM/dd/yyyy"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:[e.jsx(Ie,{items:[{label:"Settings"},{label:"App Keys"}]}),e.jsxs("div",{className:"lg:flex items-center justify-between",children:[e.jsx("h3",{className:"mb-4 lg:mb-0",children:"App Keys"}),e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center",children:[e.jsx(K,{onClick:()=>m(),block:!0,variant:"solid",size:"sm",icon:e.jsx(Ae,{}),children:"Add Key"}),e.jsx(Q,{title:"Add Key",isOpen:s,onClose:u,portalClassName:"w30 prevent-overflow",children:e.jsx(et,{onDrawerClose:u})}),e.jsx(Q,{title:"Edit Key",isOpen:p,onClose:G,portalClassName:"w30 prevent-overflow",children:e.jsx(tt,{id:D,onDrawerClose:G})})]})]})]}),r&&e.jsx(fe,{sx:{backgroundColor:"rgba(0, 0, 0, 0.1)","& .MuiLinearProgress-bar":{backgroundColor:"var(--custom-600)"}}}),e.jsx($,{className:"m-6 h-full py-4 px-6 bg-transparent",bodyClass:"h-full",children:e.jsx($,{className:"borderless",children:e.jsx(Oe,{columns:de,tableName:"key-list-table",data:g||[],height:"calc(100vh - 320px)",defaultHiddenColumn:[],fetchData:()=>{},id_label:"$id",selectedRowId:l,setSelectedRowId:a,setFilterValues:()=>{},filterValues:[],identity:"Lead-Listing",setInLineFilters:()=>{},inLineFilter:[],inLineFilterMobileView:[],setInLineFiltersMobileView:()=>{},setColSorting:()=>{},ImpColumnName:"DocumentId",idName:"app-key-Listing-table",handleSearch:()=>{},isColumnResizing:!0,pager:oe,setPager:ne,isPaginationReq:!0,isSelectionReq:!1,isLoading:r})})}),e.jsx(at,{})]})},Jt=ot;export{Jt as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{D as i}from"./ReportEditor-4e4f6d53.js";import{C as v,a as w,b as z,c as E,P as M,R as O,W as h}from"./ReportEditor-4e4f6d53.js";import"./vendor-pdf-3c29882d.js";import"./vendor-mui-98daa63f.js";import"./vendor-react-ece1c85f.js";import"./ReportViewer-616d3cfc.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{v as Callbacks,w as DataSourceSettings,z as DesignerModelSettings,i as DxReportDesigner,E as ParameterEditingSettings,M as PreviewSettings,O as RequestOptions,h as WizardSettings,i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{f as V,r as g,u as E}from"./vendor-react-ece1c85f.js";import{F as R}from"./FormContainer-9a52b9e8.js";import{c as S,u as v,a0 as I,B as k,E as P,F as B}from"./index-3b5ce20a.js";import{A as L}from"./Alert-59d09a99.js";import{c as K,F as $,b as M}from"./index.esm-b2d342b5.js";import"./index-7596c6bb.js";import"./index-a14e51de.js";import"./Drawer-4f97e662.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";import{a as U}from"./UserService-1b93ceb0.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";const q=d=>{const{disableSubmit:b=!1,className:y,tempToken:i,email:m,authType:l,userId:f,phone:p}=d,h=V();S(t=>t.auth.user),v();const[j,x]=g.useState(""),[c,w]=g.useState(["","","","","",""]),{verifyTwoFactor:F,signIn:G}=v(),u=g.useRef(Array(6).fill(null)),O=K().shape({}),A=(t,a)=>{var r;if(!/^\d*$/.test(a))return;const o=[...c];o[t]=a,w(o),a&&t<5&&((r=u.current[t+1])==null||r.focus())},D=(t,a)=>{var o;a.key==="Backspace"&&!c[t]&&t>0&&((o=u.current[t-1])==null||o.focus())},N=async(t,a)=>{var r,n;a(!0);let o={userName:m,verificationCode:c.join(""),tempToken:i};try{const s=await F(o);(s==null?void 0:s.status)==="failed"&&x(s.message),a(!1)}catch(s){x((n=(r=s==null?void 0:s.response)==null?void 0:r.data)==null?void 0:n.message),a(!1),console.log(s)}},T=async()=>{var t,a;try{await U(f,l)&&P.push(e.jsx(B,{title:"Success",type:"success",duration:2500,children:"Resend otp success"}),{placement:"top-center"})}catch(o){x((a=(t=o==null?void 0:o.response)==null?void 0:t.data)==null?void 0:a.message),setSubmitting(!1)}},C=t=>{var n;const a=t.clipboardData.getData("Text").trim();if(!/^\d{6}$/.test(a))return;const o=a.split(""),r=[...c];for(let s=0;s<6;s++)r[s]=o[s];w(r),(n=u.current[5])==null||n.focus(),t.preventDefault()};return e.jsxs(e.Fragment,{children:[e.jsx("img",{src:"/img/logo/logo-light-streamline.png",className:"absolute left-2 top-2 w-10 h-10 block xl:hidden",alt:"Logo"}),e.jsxs("div",{className:"xl:min-w-[550px] w-full px-4 sm:px-8 space-y-6 mt-6 xl:mt-4 text-center",children:[e.jsxs("div",{className:"px-2 pt-4 pb-0 xl:p-4",children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-black mb-2 pb-2",children:"2 Factor Authentication"}),e.jsxs("p",{className:"text-sm sm:text-base text-gray-700 leading-relaxed pb-2 break-words",children:["Enter the One-Time Passcode sent to:",e.jsx("br",{}),e.jsx("span",{className:"text-custom-500 font-medium break-all",children:l==="Email"?m:l==="SMS"?p:"Authenticator App"})]})]}),e.jsxs("div",{className:"pt-2",children:[j&&e.jsx(L,{showIcon:!0,className:"mb-6",type:"danger",children:j}),e.jsx($,{initialValues:{otp:""},validationSchema:O,onSubmit:(t,{setSubmitting:a})=>{N(t,a)},children:({values:t,setSubmitting:a,isSubmitting:o})=>e.jsx(M,{onKeyDown:r=>{r.key==="Enter"&&(r.preventDefault(),N(t,a))},children:e.jsxs(R,{className:"space-y-6 sm:px-0",children:[e.jsx("div",{className:"flex justify-center gap-1 sm:gap-2 flex-wrap sm:flex-nowrap",children:c.map((r,n)=>e.jsx(I,{type:"text",maxLength:1,className:"!w-10 !h-10 sm:w-12 sm:h-14 text-base sm:text-xl text-center border border-gray-300 rounded-md focus:border-custom-500 focus:ring-2 focus:ring-custom-500 bg-gray-100",value:r,ref:s=>u.current[n]=s,onChange:s=>A(n,s.target.value),autoComplete:n===0?"one-time-code":void 0,onKeyDown:s=>D(n,s),onPaste:n===0?C:void 0},n))}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsx(k,{block:!0,onClick:()=>h("/sign-in"),variant:"default",className:"w-full sm:w-1/2",children:"Back"}),e.jsx(k,{block:!0,loading:o,disabled:c.join("").length!==6,variant:"solid",type:"submit",className:"w-full sm:w-1/2",children:"Verify"})]})]})})}),l!=="Authenticator"&&e.jsxs("p",{className:"mt-4 text-sm text-gray-600 text-center px-4 sm:px-8 pt-2",children:["Didn’t get OTP?"," ",e.jsx("span",{onClick:()=>T(),className:"text-custom-500 hover:underline cursor-pointer",children:"Resend"})]})]})]})]})},z=()=>{var p;const{email:d,id:b,phone:y}=S(h=>h.auth.user),i=E(),m=((p=i==null?void 0:i.state)==null?void 0:p.validatethrough)||"",f=new URLSearchParams(document.location.search).get("tempToken")??"";return e.jsx(q,{disableSubmit:!1,tempToken:f,email:d??"",authType:m,userId:b,phone:y})},de=z;export{de as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as i}from"./vendor-mui-
|
|
1
|
+
import{j as i}from"./vendor-mui-98daa63f.js";import{r as b}from"./vendor-react-ece1c85f.js";import{u as R,a as w}from"./useControllableState-d0909575.js";import{g as C,bv as L}from"./index-3b5ce20a.js";const p=b.createContext({}),P=p.Provider;p.Consumer;function N(){return b.useContext(p)}const $=b.forwardRef((s,n)=>{const{className:t,defaultValue:a,onChange:o,value:e,variant:r="pill",...l}=s,[d,v]=R({prop:e,onChange:o,defaultProp:a}),u=C("tabs",t);return i.jsx(P,{value:{value:d,onValueChange:v,variant:r},children:i.jsx("div",{className:u,...l,ref:n})})});$.displayName="Tabs";const h=b.forwardRef((s,n)=>{const{className:t,children:a,...o}=s,{variant:e}=N(),r=C("tab-list",`tab-list-${e}`,t);return i.jsx("div",{ref:n,role:"tablist",className:r,...o,children:a})});h.displayName="TabList";const j=b.forwardRef((s,n)=>{const{value:t,disabled:a,className:o,icon:e,children:r,...l}=s,{value:d,onValueChange:v,variant:u}=N(),c=t===d,{themeColor:m,primaryColorLevel:y}=L(),T=w(()=>{!c&&!a&&(v==null||v(t))}),x=`${m}-${y}`,g=C("tab-nav",`tab-nav-${u}`,c&&`tab-nav-active text-${x} dark:text-${m}-100`,c&&u==="underline"&&`border-${x}`,c&&u==="pill"&&`bg-${m}-50 dark:bg-${x} dark:text-gray-100`,a&&"tab-nav-disabled",!a&&!c&&`hover:text-${x} dark:hover:text-${m}-100`,o);return i.jsxs("div",{ref:n,className:g,role:"tab","aria-selected":c,tabIndex:0,onClick:T,onKeyDown:T,...l,children:[e&&i.jsx("div",{className:"tab-nav-icon",children:e}),r]})});j.displayName="TabNav";const k=b.forwardRef((s,n)=>{const{value:t,children:a,className:o,...e}=s,r=N(),l=t===r.value,d=C("tab-content",l&&"tab-content-active",o);return i.jsx("div",{ref:n,role:"tabpanel",tabIndex:0,className:d,...e,children:l&&a})});k.displayName="TabContent";const f=$;f.TabList=h;f.TabNav=j;f.TabContent=k;export{f as T,h as a,j as b,k as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as ye}from"./vendor-mui-69397583.js";import{r as j}from"./vendor-react-ece1c85f.js";const Te=j.createContext({dragDropManager:void 0});function T(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var W=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),L=function(){return Math.random().toString(36).substring(7).split("").join(".")},z={INIT:"@@redux/INIT"+L(),REPLACE:"@@redux/REPLACE"+L(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+L()}};function Ee(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ie(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(T(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(T(1));return r(ie)(t,e)}if(typeof t!="function")throw new Error(T(2));var n=t,s=e,a=[],o=a,c=!1;function d(){o===a&&(o=a.slice())}function g(){if(c)throw new Error(T(3));return s}function v(f){if(typeof f!="function")throw new Error(T(4));if(c)throw new Error(T(5));var p=!0;return d(),o.push(f),function(){if(p){if(c)throw new Error(T(6));p=!1,d();var y=o.indexOf(f);o.splice(y,1),a=null}}}function h(f){if(!Ee(f))throw new Error(T(7));if(typeof f.type>"u")throw new Error(T(8));if(c)throw new Error(T(9));try{c=!0,s=n(s,f)}finally{c=!1}for(var p=a=o,D=0;D<p.length;D++){var y=p[D];y()}return f}function u(f){if(typeof f!="function")throw new Error(T(10));n=f,h({type:z.REPLACE})}function m(){var f,p=v;return f={subscribe:function(y){if(typeof y!="object"||y===null)throw new Error(T(11));function O(){y.next&&y.next(g())}O();var _=p(O);return{unsubscribe:_}}},f[W]=function(){return this},f}return h({type:z.INIT}),i={dispatch:h,subscribe:v,getState:g,replaceReducer:u},i[W]=m,i}function l(t,e,...r){if(Oe()&&e===void 0)throw new Error("invariant requires an error message argument");if(!t){let i;if(e===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;i=new Error(e.replace(/%s/g,function(){return r[n++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}function Oe(){return typeof process<"u"&&process.env.NODE_ENV==="production"}function Se(t,e,r){return e.split(".").reduce((i,n)=>i&&i[n]?i[n]:r||null,t)}function be(t,e){return t.filter(r=>r!==e)}function se(t){return typeof t=="object"}function Ie(t,e){const r=new Map,i=s=>{r.set(s,r.has(s)?r.get(s)+1:1)};t.forEach(i),e.forEach(i);const n=[];return r.forEach((s,a)=>{s===1&&n.push(a)}),n}function we(t,e){return t.filter(r=>e.indexOf(r)>-1)}const F="dnd-core/INIT_COORDS",C="dnd-core/BEGIN_DRAG",$="dnd-core/PUBLISH_DRAG_SOURCE",N="dnd-core/HOVER",x="dnd-core/DROP",P="dnd-core/END_DRAG";function Y(t,e){return{type:F,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}const Ce={type:F,payload:{clientOffset:null,sourceClientOffset:null}};function Ne(t){return function(r=[],i={publishSource:!0}){const{publishSource:n=!0,clientOffset:s,getSourceClientOffset:a}=i,o=t.getMonitor(),c=t.getRegistry();t.dispatch(Y(s)),xe(r,o,c);const d=_e(r,o);if(d==null){t.dispatch(Ce);return}let g=null;if(s){if(!a)throw new Error("getSourceClientOffset must be defined");Pe(a),g=a(d)}t.dispatch(Y(s,g));const h=c.getSource(d).beginDrag(o,d);if(h==null)return;Re(h),c.pinSource(d);const u=c.getSourceType(d);return{type:C,payload:{itemType:u,item:h,sourceId:d,clientOffset:s||null,sourceClientOffset:g||null,isSourcePublic:!!n}}}}function xe(t,e,r){l(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(i){l(r.getSource(i),"Expected sourceIds to be registered.")})}function Pe(t){l(typeof t=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Re(t){l(se(t),"Item must be an object.")}function _e(t,e){let r=null;for(let i=t.length-1;i>=0;i--)if(e.canDragSource(t[i])){r=t[i];break}return r}function Le(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){Le(t,n,r[n])})}return t}function Me(t){return function(r={}){const i=t.getMonitor(),n=t.getRegistry();je(i),Ue(i).forEach((a,o)=>{const c=He(a,o,n,i),d={type:x,payload:{dropResult:Ae({},r,c)}};t.dispatch(d)})}}function je(t){l(t.isDragging(),"Cannot call drop while not dragging."),l(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function He(t,e,r,i){const n=r.getTarget(t);let s=n?n.drop(i,t):void 0;return ke(s),typeof s>"u"&&(s=e===0?{}:i.getDropResult()),s}function ke(t){l(typeof t>"u"||se(t),"Drop result must either be an object or undefined.")}function Ue(t){const e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function Fe(t){return function(){const r=t.getMonitor(),i=t.getRegistry();$e(r);const n=r.getSourceId();return n!=null&&(i.getSource(n,!0).endDrag(r,n),i.unpinSource()),{type:P}}}function $e(t){l(t.isDragging(),"Cannot call endDrag while not dragging.")}function H(t,e){return e===null?t===null:Array.isArray(t)?t.some(r=>r===e):t===e}function qe(t){return function(r,{clientOffset:i}={}){Ge(r);const n=r.slice(0),s=t.getMonitor(),a=t.getRegistry(),o=s.getItemType();return Ve(n,a,o),Be(n,s,a),Xe(n,s,a),{type:N,payload:{targetIds:n,clientOffset:i||null}}}}function Ge(t){l(Array.isArray(t),"Expected targetIds to be an array.")}function Be(t,e,r){l(e.isDragging(),"Cannot call hover while not dragging."),l(!e.didDrop(),"Cannot call hover after drop.");for(let i=0;i<t.length;i++){const n=t[i];l(t.lastIndexOf(n)===i,"Expected targetIds to be unique in the passed array.");const s=r.getTarget(n);l(s,"Expected targetIds to be registered.")}}function Ve(t,e,r){for(let i=t.length-1;i>=0;i--){const n=t[i],s=e.getTargetType(n);H(s,r)||t.splice(i,1)}}function Xe(t,e,r){t.forEach(function(i){r.getTarget(i).hover(e,i)})}function We(t){return function(){if(t.getMonitor().isDragging())return{type:$}}}function ze(t){return{beginDrag:Ne(t),publishDragSource:We(t),hover:qe(t),drop:Me(t),endDrag:Fe(t)}}class Ye{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:r}=this.store;function i(s){return(...a)=>{const o=s.apply(e,a);typeof o<"u"&&r(o)}}const n=ze(this);return Object.keys(n).reduce((s,a)=>{const o=n[a];return s[a]=i(o),s},{})}dispatch(e){this.store.dispatch(e)}constructor(e,r){this.isSetUp=!1,this.handleRefCountChange=()=>{const i=this.store.getState().refCount>0;this.backend&&(i&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!i&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=r,e.subscribe(this.handleRefCountChange)}}function Qe(t,e){return{x:t.x+e.x,y:t.y+e.y}}function oe(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Je(t){const{clientOffset:e,initialClientOffset:r,initialSourceClientOffset:i}=t;return!e||!r||!i?null:oe(Qe(e,i),r)}function Ke(t){const{clientOffset:e,initialClientOffset:r}=t;return!e||!r?null:oe(e,r)}const b=[],q=[];b.__IS_NONE__=!0;q.__IS_ALL__=!0;function Ze(t,e){return t===b?!1:t===q||typeof e>"u"?!0:we(e,t).length>0}class et{subscribeToStateChange(e,r={}){const{handlerIds:i}=r;l(typeof e=="function","listener must be a function."),l(typeof i>"u"||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;const s=()=>{const a=this.store.getState(),o=a.stateId;try{o===n||o===n+1&&!Ze(a.dirtyHandlerIds,i)||e()}finally{n=o}};return this.store.subscribe(s)}subscribeToOffsetChange(e){l(typeof e=="function","listener must be a function.");let r=this.store.getState().dragOffset;const i=()=>{const n=this.store.getState().dragOffset;n!==r&&(r=n,e())};return this.store.subscribe(i)}canDragSource(e){if(!e)return!1;const r=this.registry.getSource(e);return l(r,`Expected to find a valid source. sourceId=${e}`),this.isDragging()?!1:r.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const r=this.registry.getTarget(e);if(l(r,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;const i=this.registry.getTargetType(e),n=this.getItemType();return H(i,n)&&r.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;const r=this.registry.getSource(e,!0);if(l(r,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;const i=this.registry.getSourceType(e),n=this.getItemType();return i!==n?!1:r.isDragging(this,e)}isOverTarget(e,r={shallow:!1}){if(!e)return!1;const{shallow:i}=r;if(!this.isDragging())return!1;const n=this.registry.getTargetType(e),s=this.getItemType();if(s&&!H(n,s))return!1;const a=this.getTargetIds();if(!a.length)return!1;const o=a.indexOf(e);return i?o===a.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return Je(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return Ke(this.store.getState().dragOffset)}constructor(e,r){this.store=e,this.registry=r}}const Q=typeof global<"u"?global:self,ae=Q.MutationObserver||Q.WebKitMutationObserver;function ue(t){return function(){const r=setTimeout(n,0),i=setInterval(n,50);function n(){clearTimeout(r),clearInterval(i),t()}}}function tt(t){let e=1;const r=new ae(t),i=document.createTextNode("");return r.observe(i,{characterData:!0}),function(){e=-e,i.data=e}}const rt=typeof ae=="function"?tt:ue;class nt{enqueueTask(e){const{queue:r,requestFlush:i}=this;r.length||(i(),this.flushing=!0),r[r.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const r=this.index;if(this.index++,e[r].call(),this.index>this.capacity){for(let i=0,n=e.length-this.index;i<n;i++)e[i]=e[i+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=rt(this.flush),this.requestErrorThrow=ue(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class it{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,r){this.onError=e,this.release=r,this.task=null}}class st{create(e){const r=this.freeTasks,i=r.length?r.pop():new it(this.onError,n=>r[r.length]=n);return i.task=e,i}constructor(e){this.onError=e,this.freeTasks=[]}}const ce=new nt,ot=new st(ce.registerPendingError);function at(t){ce.enqueueTask(ot.create(t))}const G="dnd-core/ADD_SOURCE",B="dnd-core/ADD_TARGET",V="dnd-core/REMOVE_SOURCE",R="dnd-core/REMOVE_TARGET";function ut(t){return{type:G,payload:{sourceId:t}}}function ct(t){return{type:B,payload:{targetId:t}}}function lt(t){return{type:V,payload:{sourceId:t}}}function dt(t){return{type:R,payload:{targetId:t}}}function ft(t){l(typeof t.canDrag=="function","Expected canDrag to be a function."),l(typeof t.beginDrag=="function","Expected beginDrag to be a function."),l(typeof t.endDrag=="function","Expected endDrag to be a function.")}function gt(t){l(typeof t.canDrop=="function","Expected canDrop to be a function."),l(typeof t.hover=="function","Expected hover to be a function."),l(typeof t.drop=="function","Expected beginDrag to be a function.")}function k(t,e){if(e&&Array.isArray(t)){t.forEach(r=>k(r,!1));return}l(typeof t=="string"||typeof t=="symbol",e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var E;(function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"})(E||(E={}));let ht=0;function pt(){return ht++}function vt(t){const e=pt().toString();switch(t){case E.SOURCE:return`S${e}`;case E.TARGET:return`T${e}`;default:throw new Error(`Unknown Handler Role: ${t}`)}}function J(t){switch(t[0]){case"S":return E.SOURCE;case"T":return E.TARGET;default:throw new Error(`Cannot parse handler ID: ${t}`)}}function K(t,e){const r=t.entries();let i=!1;do{const{done:n,value:[,s]}=r.next();if(s===e)return!0;i=!!n}while(!i);return!1}class mt{addSource(e,r){k(e),ft(r);const i=this.addHandler(E.SOURCE,e,r);return this.store.dispatch(ut(i)),i}addTarget(e,r){k(e,!0),gt(r);const i=this.addHandler(E.TARGET,e,r);return this.store.dispatch(ct(i)),i}containsHandler(e){return K(this.dragSources,e)||K(this.dropTargets,e)}getSource(e,r=!1){return l(this.isSourceId(e),"Expected a valid source ID."),r&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return l(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return l(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return l(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return J(e)===E.SOURCE}isTargetId(e){return J(e)===E.TARGET}removeSource(e){l(this.getSource(e),"Expected an existing source."),this.store.dispatch(lt(e)),at(()=>{this.dragSources.delete(e),this.types.delete(e)})}removeTarget(e){l(this.getTarget(e),"Expected an existing target."),this.store.dispatch(dt(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const r=this.getSource(e);l(r,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=r}unpinSource(){l(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,r,i){const n=vt(e);return this.types.set(n,r),e===E.SOURCE?this.dragSources.set(n,i):e===E.TARGET&&this.dropTargets.set(n,i),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const Dt=(t,e)=>t===e;function yt(t,e){return!t&&!e?!0:!t||!e?!1:t.x===e.x&&t.y===e.y}function Tt(t,e,r=Dt){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!r(t[i],e[i]))return!1;return!0}function Et(t=b,e){switch(e.type){case N:break;case G:case B:case R:case V:return b;case C:case $:case P:case x:default:return q}const{targetIds:r=[],prevTargetIds:i=[]}=e.payload,n=Ie(r,i);if(!(n.length>0||!Tt(r,i)))return b;const a=i[i.length-1],o=r[r.length-1];return a!==o&&(a&&n.push(a),o&&n.push(o)),n}function Ot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function St(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){Ot(t,n,r[n])})}return t}const Z={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function bt(t=Z,e){const{payload:r}=e;switch(e.type){case F:case C:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case N:return yt(t.clientOffset,r.clientOffset)?t:St({},t,{clientOffset:r.clientOffset});case P:case x:return Z;default:return t}}function It(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){It(t,n,r[n])})}return t}const wt={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Ct(t=wt,e){const{payload:r}=e;switch(e.type){case C:return S({},t,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case $:return S({},t,{isSourcePublic:!0});case N:return S({},t,{targetIds:r.targetIds});case R:return t.targetIds.indexOf(r.targetId)===-1?t:S({},t,{targetIds:be(t.targetIds,r.targetId)});case x:return S({},t,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case P:return S({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}function Nt(t=0,e){switch(e.type){case G:case B:return t+1;case V:case R:return t-1;default:return t}}function xt(t=0){return t+1}function Pt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){Pt(t,n,r[n])})}return t}function _t(t={},e){return{dirtyHandlerIds:Et(t.dirtyHandlerIds,{type:e.type,payload:Rt({},e.payload,{prevTargetIds:Se(t,"dragOperation.targetIds",[])})}),dragOffset:bt(t.dragOffset,e),refCount:Nt(t.refCount,e),dragOperation:Ct(t.dragOperation,e),stateId:xt(t.stateId)}}function Lt(t,e=void 0,r={},i=!1){const n=At(i),s=new et(n,new mt(n)),a=new Ye(n,s),o=t(a,e,r);return a.receiveBackend(o),a}function At(t){const e=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return ie(_t,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}function Mt(t,e){if(t==null)return{};var r=jt(t,e),i,n;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)i=s[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}function jt(t,e){if(t==null)return{};var r={},i=Object.keys(t),n,s;for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}let ee=0;const w=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var er=j.memo(function(e){var{children:r}=e,i=Mt(e,["children"]);const[n,s]=Ht(i);return j.useEffect(()=>{if(s){const a=le();return++ee,()=>{--ee===0&&(a[w]=null)}}},[]),ye.jsx(Te.Provider,{value:n,children:r})});function Ht(t){if("manager"in t)return[{dragDropManager:t.manager},!1];const e=kt(t.backend,t.context,t.options,t.debugMode),r=!t.context;return[e,r]}function kt(t,e=le(),r,i){const n=e;return n[w]||(n[w]={dragDropManager:Lt(t,e,r,i)}),n[w]}function le(){return typeof global<"u"?global:window}function de(t){let e=null;return()=>(e==null&&(e=t()),e)}function Ut(t,e){return t.filter(r=>r!==e)}function Ft(t,e){const r=new Set,i=s=>r.add(s);t.forEach(i),e.forEach(i);const n=[];return r.forEach(s=>n.push(s)),n}class $t{enter(e){const r=this.entered.length,i=n=>this.isNodeInDocument(n)&&(!n.contains||n.contains(e));return this.entered=Ft(this.entered.filter(i),[e]),r===0&&this.entered.length>0}leave(e){const r=this.entered.length;return this.entered=Ut(this.entered.filter(this.isNodeInDocument),e),r>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class qt{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){const r={};Object.keys(this.config.exposeProperties).forEach(i=>{const n=this.config.exposeProperties[i];n!=null&&(r[i]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,r)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,r){return r===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const fe="__NATIVE_FILE__",ge="__NATIVE_URL__",he="__NATIVE_TEXT__",pe="__NATIVE_HTML__",te=Object.freeze(Object.defineProperty({__proto__:null,FILE:fe,HTML:pe,TEXT:he,URL:ge},Symbol.toStringTag,{value:"Module"}));function A(t,e,r){const i=e.reduce((n,s)=>n||t.getData(s),"");return i??r}const U={[fe]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[pe]:{exposeProperties:{html:(t,e)=>A(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[ge]:{exposeProperties:{urls:(t,e)=>A(t,e,"").split(`
|
|
1
|
+
import{j as ye}from"./vendor-mui-98daa63f.js";import{r as j}from"./vendor-react-ece1c85f.js";const Te=j.createContext({dragDropManager:void 0});function T(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var W=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),L=function(){return Math.random().toString(36).substring(7).split("").join(".")},z={INIT:"@@redux/INIT"+L(),REPLACE:"@@redux/REPLACE"+L(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+L()}};function Ee(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ie(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(T(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(T(1));return r(ie)(t,e)}if(typeof t!="function")throw new Error(T(2));var n=t,s=e,a=[],o=a,c=!1;function d(){o===a&&(o=a.slice())}function g(){if(c)throw new Error(T(3));return s}function v(f){if(typeof f!="function")throw new Error(T(4));if(c)throw new Error(T(5));var p=!0;return d(),o.push(f),function(){if(p){if(c)throw new Error(T(6));p=!1,d();var y=o.indexOf(f);o.splice(y,1),a=null}}}function h(f){if(!Ee(f))throw new Error(T(7));if(typeof f.type>"u")throw new Error(T(8));if(c)throw new Error(T(9));try{c=!0,s=n(s,f)}finally{c=!1}for(var p=a=o,D=0;D<p.length;D++){var y=p[D];y()}return f}function u(f){if(typeof f!="function")throw new Error(T(10));n=f,h({type:z.REPLACE})}function m(){var f,p=v;return f={subscribe:function(y){if(typeof y!="object"||y===null)throw new Error(T(11));function O(){y.next&&y.next(g())}O();var _=p(O);return{unsubscribe:_}}},f[W]=function(){return this},f}return h({type:z.INIT}),i={dispatch:h,subscribe:v,getState:g,replaceReducer:u},i[W]=m,i}function l(t,e,...r){if(Oe()&&e===void 0)throw new Error("invariant requires an error message argument");if(!t){let i;if(e===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;i=new Error(e.replace(/%s/g,function(){return r[n++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}function Oe(){return typeof process<"u"&&process.env.NODE_ENV==="production"}function Se(t,e,r){return e.split(".").reduce((i,n)=>i&&i[n]?i[n]:r||null,t)}function be(t,e){return t.filter(r=>r!==e)}function se(t){return typeof t=="object"}function Ie(t,e){const r=new Map,i=s=>{r.set(s,r.has(s)?r.get(s)+1:1)};t.forEach(i),e.forEach(i);const n=[];return r.forEach((s,a)=>{s===1&&n.push(a)}),n}function we(t,e){return t.filter(r=>e.indexOf(r)>-1)}const F="dnd-core/INIT_COORDS",C="dnd-core/BEGIN_DRAG",$="dnd-core/PUBLISH_DRAG_SOURCE",N="dnd-core/HOVER",x="dnd-core/DROP",P="dnd-core/END_DRAG";function Y(t,e){return{type:F,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}const Ce={type:F,payload:{clientOffset:null,sourceClientOffset:null}};function Ne(t){return function(r=[],i={publishSource:!0}){const{publishSource:n=!0,clientOffset:s,getSourceClientOffset:a}=i,o=t.getMonitor(),c=t.getRegistry();t.dispatch(Y(s)),xe(r,o,c);const d=_e(r,o);if(d==null){t.dispatch(Ce);return}let g=null;if(s){if(!a)throw new Error("getSourceClientOffset must be defined");Pe(a),g=a(d)}t.dispatch(Y(s,g));const h=c.getSource(d).beginDrag(o,d);if(h==null)return;Re(h),c.pinSource(d);const u=c.getSourceType(d);return{type:C,payload:{itemType:u,item:h,sourceId:d,clientOffset:s||null,sourceClientOffset:g||null,isSourcePublic:!!n}}}}function xe(t,e,r){l(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(i){l(r.getSource(i),"Expected sourceIds to be registered.")})}function Pe(t){l(typeof t=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Re(t){l(se(t),"Item must be an object.")}function _e(t,e){let r=null;for(let i=t.length-1;i>=0;i--)if(e.canDragSource(t[i])){r=t[i];break}return r}function Le(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){Le(t,n,r[n])})}return t}function Me(t){return function(r={}){const i=t.getMonitor(),n=t.getRegistry();je(i),Ue(i).forEach((a,o)=>{const c=He(a,o,n,i),d={type:x,payload:{dropResult:Ae({},r,c)}};t.dispatch(d)})}}function je(t){l(t.isDragging(),"Cannot call drop while not dragging."),l(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function He(t,e,r,i){const n=r.getTarget(t);let s=n?n.drop(i,t):void 0;return ke(s),typeof s>"u"&&(s=e===0?{}:i.getDropResult()),s}function ke(t){l(typeof t>"u"||se(t),"Drop result must either be an object or undefined.")}function Ue(t){const e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function Fe(t){return function(){const r=t.getMonitor(),i=t.getRegistry();$e(r);const n=r.getSourceId();return n!=null&&(i.getSource(n,!0).endDrag(r,n),i.unpinSource()),{type:P}}}function $e(t){l(t.isDragging(),"Cannot call endDrag while not dragging.")}function H(t,e){return e===null?t===null:Array.isArray(t)?t.some(r=>r===e):t===e}function qe(t){return function(r,{clientOffset:i}={}){Ge(r);const n=r.slice(0),s=t.getMonitor(),a=t.getRegistry(),o=s.getItemType();return Ve(n,a,o),Be(n,s,a),Xe(n,s,a),{type:N,payload:{targetIds:n,clientOffset:i||null}}}}function Ge(t){l(Array.isArray(t),"Expected targetIds to be an array.")}function Be(t,e,r){l(e.isDragging(),"Cannot call hover while not dragging."),l(!e.didDrop(),"Cannot call hover after drop.");for(let i=0;i<t.length;i++){const n=t[i];l(t.lastIndexOf(n)===i,"Expected targetIds to be unique in the passed array.");const s=r.getTarget(n);l(s,"Expected targetIds to be registered.")}}function Ve(t,e,r){for(let i=t.length-1;i>=0;i--){const n=t[i],s=e.getTargetType(n);H(s,r)||t.splice(i,1)}}function Xe(t,e,r){t.forEach(function(i){r.getTarget(i).hover(e,i)})}function We(t){return function(){if(t.getMonitor().isDragging())return{type:$}}}function ze(t){return{beginDrag:Ne(t),publishDragSource:We(t),hover:qe(t),drop:Me(t),endDrag:Fe(t)}}class Ye{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:r}=this.store;function i(s){return(...a)=>{const o=s.apply(e,a);typeof o<"u"&&r(o)}}const n=ze(this);return Object.keys(n).reduce((s,a)=>{const o=n[a];return s[a]=i(o),s},{})}dispatch(e){this.store.dispatch(e)}constructor(e,r){this.isSetUp=!1,this.handleRefCountChange=()=>{const i=this.store.getState().refCount>0;this.backend&&(i&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!i&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=r,e.subscribe(this.handleRefCountChange)}}function Qe(t,e){return{x:t.x+e.x,y:t.y+e.y}}function oe(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Je(t){const{clientOffset:e,initialClientOffset:r,initialSourceClientOffset:i}=t;return!e||!r||!i?null:oe(Qe(e,i),r)}function Ke(t){const{clientOffset:e,initialClientOffset:r}=t;return!e||!r?null:oe(e,r)}const b=[],q=[];b.__IS_NONE__=!0;q.__IS_ALL__=!0;function Ze(t,e){return t===b?!1:t===q||typeof e>"u"?!0:we(e,t).length>0}class et{subscribeToStateChange(e,r={}){const{handlerIds:i}=r;l(typeof e=="function","listener must be a function."),l(typeof i>"u"||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;const s=()=>{const a=this.store.getState(),o=a.stateId;try{o===n||o===n+1&&!Ze(a.dirtyHandlerIds,i)||e()}finally{n=o}};return this.store.subscribe(s)}subscribeToOffsetChange(e){l(typeof e=="function","listener must be a function.");let r=this.store.getState().dragOffset;const i=()=>{const n=this.store.getState().dragOffset;n!==r&&(r=n,e())};return this.store.subscribe(i)}canDragSource(e){if(!e)return!1;const r=this.registry.getSource(e);return l(r,`Expected to find a valid source. sourceId=${e}`),this.isDragging()?!1:r.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const r=this.registry.getTarget(e);if(l(r,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;const i=this.registry.getTargetType(e),n=this.getItemType();return H(i,n)&&r.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;const r=this.registry.getSource(e,!0);if(l(r,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;const i=this.registry.getSourceType(e),n=this.getItemType();return i!==n?!1:r.isDragging(this,e)}isOverTarget(e,r={shallow:!1}){if(!e)return!1;const{shallow:i}=r;if(!this.isDragging())return!1;const n=this.registry.getTargetType(e),s=this.getItemType();if(s&&!H(n,s))return!1;const a=this.getTargetIds();if(!a.length)return!1;const o=a.indexOf(e);return i?o===a.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return Je(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return Ke(this.store.getState().dragOffset)}constructor(e,r){this.store=e,this.registry=r}}const Q=typeof global<"u"?global:self,ae=Q.MutationObserver||Q.WebKitMutationObserver;function ue(t){return function(){const r=setTimeout(n,0),i=setInterval(n,50);function n(){clearTimeout(r),clearInterval(i),t()}}}function tt(t){let e=1;const r=new ae(t),i=document.createTextNode("");return r.observe(i,{characterData:!0}),function(){e=-e,i.data=e}}const rt=typeof ae=="function"?tt:ue;class nt{enqueueTask(e){const{queue:r,requestFlush:i}=this;r.length||(i(),this.flushing=!0),r[r.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const r=this.index;if(this.index++,e[r].call(),this.index>this.capacity){for(let i=0,n=e.length-this.index;i<n;i++)e[i]=e[i+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=rt(this.flush),this.requestErrorThrow=ue(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class it{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,r){this.onError=e,this.release=r,this.task=null}}class st{create(e){const r=this.freeTasks,i=r.length?r.pop():new it(this.onError,n=>r[r.length]=n);return i.task=e,i}constructor(e){this.onError=e,this.freeTasks=[]}}const ce=new nt,ot=new st(ce.registerPendingError);function at(t){ce.enqueueTask(ot.create(t))}const G="dnd-core/ADD_SOURCE",B="dnd-core/ADD_TARGET",V="dnd-core/REMOVE_SOURCE",R="dnd-core/REMOVE_TARGET";function ut(t){return{type:G,payload:{sourceId:t}}}function ct(t){return{type:B,payload:{targetId:t}}}function lt(t){return{type:V,payload:{sourceId:t}}}function dt(t){return{type:R,payload:{targetId:t}}}function ft(t){l(typeof t.canDrag=="function","Expected canDrag to be a function."),l(typeof t.beginDrag=="function","Expected beginDrag to be a function."),l(typeof t.endDrag=="function","Expected endDrag to be a function.")}function gt(t){l(typeof t.canDrop=="function","Expected canDrop to be a function."),l(typeof t.hover=="function","Expected hover to be a function."),l(typeof t.drop=="function","Expected beginDrag to be a function.")}function k(t,e){if(e&&Array.isArray(t)){t.forEach(r=>k(r,!1));return}l(typeof t=="string"||typeof t=="symbol",e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var E;(function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"})(E||(E={}));let ht=0;function pt(){return ht++}function vt(t){const e=pt().toString();switch(t){case E.SOURCE:return`S${e}`;case E.TARGET:return`T${e}`;default:throw new Error(`Unknown Handler Role: ${t}`)}}function J(t){switch(t[0]){case"S":return E.SOURCE;case"T":return E.TARGET;default:throw new Error(`Cannot parse handler ID: ${t}`)}}function K(t,e){const r=t.entries();let i=!1;do{const{done:n,value:[,s]}=r.next();if(s===e)return!0;i=!!n}while(!i);return!1}class mt{addSource(e,r){k(e),ft(r);const i=this.addHandler(E.SOURCE,e,r);return this.store.dispatch(ut(i)),i}addTarget(e,r){k(e,!0),gt(r);const i=this.addHandler(E.TARGET,e,r);return this.store.dispatch(ct(i)),i}containsHandler(e){return K(this.dragSources,e)||K(this.dropTargets,e)}getSource(e,r=!1){return l(this.isSourceId(e),"Expected a valid source ID."),r&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return l(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return l(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return l(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return J(e)===E.SOURCE}isTargetId(e){return J(e)===E.TARGET}removeSource(e){l(this.getSource(e),"Expected an existing source."),this.store.dispatch(lt(e)),at(()=>{this.dragSources.delete(e),this.types.delete(e)})}removeTarget(e){l(this.getTarget(e),"Expected an existing target."),this.store.dispatch(dt(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const r=this.getSource(e);l(r,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=r}unpinSource(){l(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,r,i){const n=vt(e);return this.types.set(n,r),e===E.SOURCE?this.dragSources.set(n,i):e===E.TARGET&&this.dropTargets.set(n,i),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const Dt=(t,e)=>t===e;function yt(t,e){return!t&&!e?!0:!t||!e?!1:t.x===e.x&&t.y===e.y}function Tt(t,e,r=Dt){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!r(t[i],e[i]))return!1;return!0}function Et(t=b,e){switch(e.type){case N:break;case G:case B:case R:case V:return b;case C:case $:case P:case x:default:return q}const{targetIds:r=[],prevTargetIds:i=[]}=e.payload,n=Ie(r,i);if(!(n.length>0||!Tt(r,i)))return b;const a=i[i.length-1],o=r[r.length-1];return a!==o&&(a&&n.push(a),o&&n.push(o)),n}function Ot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function St(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){Ot(t,n,r[n])})}return t}const Z={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function bt(t=Z,e){const{payload:r}=e;switch(e.type){case F:case C:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case N:return yt(t.clientOffset,r.clientOffset)?t:St({},t,{clientOffset:r.clientOffset});case P:case x:return Z;default:return t}}function It(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){It(t,n,r[n])})}return t}const wt={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Ct(t=wt,e){const{payload:r}=e;switch(e.type){case C:return S({},t,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case $:return S({},t,{isSourcePublic:!0});case N:return S({},t,{targetIds:r.targetIds});case R:return t.targetIds.indexOf(r.targetId)===-1?t:S({},t,{targetIds:be(t.targetIds,r.targetId)});case x:return S({},t,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case P:return S({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}function Nt(t=0,e){switch(e.type){case G:case B:return t+1;case V:case R:return t-1;default:return t}}function xt(t=0){return t+1}function Pt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){Pt(t,n,r[n])})}return t}function _t(t={},e){return{dirtyHandlerIds:Et(t.dirtyHandlerIds,{type:e.type,payload:Rt({},e.payload,{prevTargetIds:Se(t,"dragOperation.targetIds",[])})}),dragOffset:bt(t.dragOffset,e),refCount:Nt(t.refCount,e),dragOperation:Ct(t.dragOperation,e),stateId:xt(t.stateId)}}function Lt(t,e=void 0,r={},i=!1){const n=At(i),s=new et(n,new mt(n)),a=new Ye(n,s),o=t(a,e,r);return a.receiveBackend(o),a}function At(t){const e=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return ie(_t,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}function Mt(t,e){if(t==null)return{};var r=jt(t,e),i,n;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)i=s[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}function jt(t,e){if(t==null)return{};var r={},i=Object.keys(t),n,s;for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}let ee=0;const w=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var er=j.memo(function(e){var{children:r}=e,i=Mt(e,["children"]);const[n,s]=Ht(i);return j.useEffect(()=>{if(s){const a=le();return++ee,()=>{--ee===0&&(a[w]=null)}}},[]),ye.jsx(Te.Provider,{value:n,children:r})});function Ht(t){if("manager"in t)return[{dragDropManager:t.manager},!1];const e=kt(t.backend,t.context,t.options,t.debugMode),r=!t.context;return[e,r]}function kt(t,e=le(),r,i){const n=e;return n[w]||(n[w]={dragDropManager:Lt(t,e,r,i)}),n[w]}function le(){return typeof global<"u"?global:window}function de(t){let e=null;return()=>(e==null&&(e=t()),e)}function Ut(t,e){return t.filter(r=>r!==e)}function Ft(t,e){const r=new Set,i=s=>r.add(s);t.forEach(i),e.forEach(i);const n=[];return r.forEach(s=>n.push(s)),n}class $t{enter(e){const r=this.entered.length,i=n=>this.isNodeInDocument(n)&&(!n.contains||n.contains(e));return this.entered=Ft(this.entered.filter(i),[e]),r===0&&this.entered.length>0}leave(e){const r=this.entered.length;return this.entered=Ut(this.entered.filter(this.isNodeInDocument),e),r>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class qt{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){const r={};Object.keys(this.config.exposeProperties).forEach(i=>{const n=this.config.exposeProperties[i];n!=null&&(r[i]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,r)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,r){return r===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const fe="__NATIVE_FILE__",ge="__NATIVE_URL__",he="__NATIVE_TEXT__",pe="__NATIVE_HTML__",te=Object.freeze(Object.defineProperty({__proto__:null,FILE:fe,HTML:pe,TEXT:he,URL:ge},Symbol.toStringTag,{value:"Module"}));function A(t,e,r){const i=e.reduce((n,s)=>n||t.getData(s),"");return i??r}const U={[fe]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[pe]:{exposeProperties:{html:(t,e)=>A(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[ge]:{exposeProperties:{urls:(t,e)=>A(t,e,"").split(`
|
|
2
2
|
`),dataTransfer:t=>t},matchesTypes:["Url","text/uri-list"]},[he]:{exposeProperties:{text:(t,e)=>A(t,e,""),dataTransfer:t=>t},matchesTypes:["Text","text/plain"]}};function Gt(t,e){const r=U[t];if(!r)throw new Error(`native type ${t} has no configuration`);const i=new qt(r);return i.loadDataTransfer(e),i}function M(t){if(!t)return null;const e=Array.prototype.slice.call(t.types||[]);return Object.keys(U).filter(r=>{const i=U[r];return i!=null&&i.matchesTypes?i.matchesTypes.some(n=>e.indexOf(n)>-1):!1})[0]||null}const Bt=de(()=>/firefox/i.test(navigator.userAgent)),ve=de(()=>!!window.safari);class re{interpolate(e){const{xs:r,ys:i,c1s:n,c2s:s,c3s:a}=this;let o=r.length-1;if(e===r[o])return i[o];let c=0,d=a.length-1,g;for(;c<=d;){g=Math.floor(.5*(c+d));const u=r[g];if(u<e)c=g+1;else if(u>e)d=g-1;else return i[g]}o=Math.max(0,d);const v=e-r[o],h=v*v;return i[o]+n[o]*v+s[o]*h+a[o]*v*h}constructor(e,r){const{length:i}=e,n=[];for(let u=0;u<i;u++)n.push(u);n.sort((u,m)=>e[u]<e[m]?-1:1);const s=[],a=[];let o,c;for(let u=0;u<i-1;u++)o=e[u+1]-e[u],c=r[u+1]-r[u],s.push(o),a.push(c/o);const d=[a[0]];for(let u=0;u<s.length-1;u++){const m=a[u],f=a[u+1];if(m*f<=0)d.push(0);else{o=s[u];const p=s[u+1],D=o+p;d.push(3*D/((D+p)/m+(D+o)/f))}}d.push(a[a.length-1]);const g=[],v=[];let h;for(let u=0;u<d.length-1;u++){h=a[u];const m=d[u],f=1/s[u],p=m+d[u+1]-h-h;g.push((h-m-p)*f),v.push(p*f*f)}this.xs=e,this.ys=r,this.c1s=d,this.c2s=g,this.c3s=v}}const Vt=1;function me(t){const e=t.nodeType===Vt?t:t.parentElement;if(!e)return null;const{top:r,left:i}=e.getBoundingClientRect();return{x:i,y:r}}function I(t){return{x:t.clientX,y:t.clientY}}function Xt(t){var e;return t.nodeName==="IMG"&&(Bt()||!(!((e=document.documentElement)===null||e===void 0)&&e.contains(t)))}function Wt(t,e,r,i){let n=t?e.width:r,s=t?e.height:i;return ve()&&t&&(s/=window.devicePixelRatio,n/=window.devicePixelRatio),{dragPreviewWidth:n,dragPreviewHeight:s}}function zt(t,e,r,i,n){const s=Xt(e),o=me(s?t:e),c={x:r.x-o.x,y:r.y-o.y},{offsetWidth:d,offsetHeight:g}=t,{anchorX:v,anchorY:h}=i,{dragPreviewWidth:u,dragPreviewHeight:m}=Wt(s,e,d,g),f=()=>{let X=new re([0,.5,1],[c.y,c.y/g*m,c.y+m-g]).interpolate(h);return ve()&&s&&(X+=(window.devicePixelRatio-1)*m),X},p=()=>new re([0,.5,1],[c.x,c.x/d*u,c.x+u-d]).interpolate(v),{offsetX:D,offsetY:y}=n,O=D===0||D,_=y===0||y;return{x:O?D:p(),y:_?y:f()}}class Yt{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var e;return!((e=this.globalContext)===null||e===void 0)&&e.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return((e=this.optionsArgs)===null||e===void 0?void 0:e.rootElement)||this.window}constructor(e,r){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=r}}function Qt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ne(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},i=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),i.forEach(function(n){Qt(t,n,r[n])})}return t}class Jt{profile(){var e,r;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((e=this.dragStartSourceIds)===null||e===void 0?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((r=this.dragOverTargetIds)===null||r===void 0?void 0:r.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(e!==void 0){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;if(e!==void 0&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var r;(r=this.window)===null||r===void 0||r.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,r,i){return this.sourcePreviewNodeOptions.set(e,i),this.sourcePreviewNodes.set(e,r),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,r,i){this.sourceNodes.set(e,r),this.sourceNodeOptions.set(e,i);const n=a=>this.handleDragStart(a,e),s=a=>this.handleSelectStart(a);return r.setAttribute("draggable","true"),r.addEventListener("dragstart",n),r.addEventListener("selectstart",s),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),r.removeEventListener("dragstart",n),r.removeEventListener("selectstart",s),r.setAttribute("draggable","false")}}connectDropTarget(e,r){const i=a=>this.handleDragEnter(a,e),n=a=>this.handleDragOver(a,e),s=a=>this.handleDrop(a,e);return r.addEventListener("dragenter",i),r.addEventListener("dragover",n),r.addEventListener("drop",s),()=>{r.removeEventListener("dragenter",i),r.removeEventListener("dragover",n),r.removeEventListener("drop",s)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),r=this.sourceNodeOptions.get(e);return ne({dropEffect:this.altKeyPressed?"copy":"move"},r||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId(),r=this.sourcePreviewNodeOptions.get(e);return ne({anchorX:.5,anchorY:.5,captureDraggingState:!1},r||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(te).some(r=>te[r]===e)}beginDragNativeItem(e,r){this.clearCurrentDragSourceNode(),this.currentNativeSource=Gt(e,r),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;const r=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var i;return(i=this.rootElement)===null||i===void 0?void 0:i.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},r)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)===null||e===void 0||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,r){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(r))}handleDragEnter(e,r){this.dragEnterTargetIds.unshift(r)}handleDragOver(e,r){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(r)}handleDrop(e,r){this.dropTargetIds.unshift(r)}constructor(e,r,i){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&me(s)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=n=>!!(n&&this.document&&this.document.body&&this.document.body.contains(n)),this.endDragIfSourceWasRemovedFromDOM=()=>{const n=this.currentDragSourceNode;n==null||this.isNodeInDocument(n)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=n=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(n||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=n=>{if(n.defaultPrevented)return;const{dragStartSourceIds:s}=this;this.dragStartSourceIds=null;const a=I(n);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(s||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:a});const{dataTransfer:o}=n,c=M(o);if(this.monitor.isDragging()){if(o&&typeof o.setDragImage=="function"){const g=this.monitor.getSourceId(),v=this.sourceNodes.get(g),h=this.sourcePreviewNodes.get(g)||v;if(h){const{anchorX:u,anchorY:m,offsetX:f,offsetY:p}=this.getCurrentSourcePreviewNodeOptions(),O=zt(v,h,a,{anchorX:u,anchorY:m},{offsetX:f,offsetY:p});o.setDragImage(h,O.x,O.y)}}try{o==null||o.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(n.target);const{captureDraggingState:d}=this.getCurrentSourcePreviewNodeOptions();d?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(c)this.beginDragNativeItem(c);else{if(o&&!o.types&&(n.target&&!n.target.hasAttribute||!n.target.hasAttribute("draggable")))return;n.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=n=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var s;(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)}if(!this.enterLeaveCounter.enter(n.target)||this.monitor.isDragging())return;const{dataTransfer:o}=n,c=M(o);c&&this.beginDragNativeItem(c,o)},this.handleTopDragEnter=n=>{const{dragEnterTargetIds:s}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=n.altKey,s.length>0&&this.actions.hover(s,{clientOffset:I(n)}),s.some(o=>this.monitor.canDropOnTarget(o))&&(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=n=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var s;(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)}},this.handleTopDragOver=n=>{const{dragOverTargetIds:s}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="none");return}this.altKeyPressed=n.altKey,this.lastClientOffset=I(n),this.scheduleHover(s),(s||[]).some(o=>this.monitor.canDropOnTarget(o))?(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?n.preventDefault():(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=n=>{this.isDraggingNativeItem()&&n.preventDefault(),this.enterLeaveCounter.leave(n.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=n=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var s;n.preventDefault(),(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)}else M(n.dataTransfer)&&n.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=n=>{const{dropTargetIds:s}=this;this.dropTargetIds=[],this.actions.hover(s,{clientOffset:I(n)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=n=>{const s=n.target;typeof s.dragDrop=="function"&&(s.tagName==="INPUT"||s.tagName==="SELECT"||s.tagName==="TEXTAREA"||s.isContentEditable||(n.preventDefault(),s.dragDrop()))},this.options=new Yt(r,i),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new $t(this.isNodeInDocument)}}const tr=function(e,r,i){return new Jt(e,r,i)};export{er as D,tr as H,Te as a,l as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{u as f,a0 as x,B as j,c as v}from"./index-3b5ce20a.js";import{F,a as C}from"./FormContainer-9a52b9e8.js";import{A as b}from"./Alert-59d09a99.js";import{u as g}from"./useTimeOutMessage-e4eaa9f2.js";import{c as w,a as A,F as y,b as T,d as k}from"./index.esm-b2d342b5.js";import{Q as S}from"./index-0ec48d3d.js";import"./vendor-react-ece1c85f.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 M=w().shape({verificationCode:A().required("Please enter verification code")}),N=r=>{const{disableSubmit:s=!1,className:m,tempToken:n,email:c}=r,{verifyTwoFactor:d}=f(),[l,p]=g(),u=async(t,o)=>{const{verificationCode:a}=t,h={verificationCode:a,userName:c,tempToken:n};o(!0);const i=await d(h);(i==null?void 0:i.status)==="failed"&&p(i.message),o(!1)};return e.jsxs("div",{className:m,children:[l&&e.jsx(b,{showIcon:!0,className:"mb-4",type:"danger",children:l}),e.jsx(y,{initialValues:{verificationCode:""},validationSchema:M,onSubmit:(t,{setSubmitting:o})=>{s?o(!1):u(t,o)},children:({touched:t,errors:o,isSubmitting:a})=>e.jsx(T,{children:e.jsxs(F,{children:[e.jsx(C,{label:"Verification Code",invalid:o.verificationCode&&t.verificationCode,errorMessage:o.verificationCode,children:e.jsx(k,{type:"text",autoComplete:"off",name:"verificationCode",placeholder:"Verification Code",component:x})}),e.jsx(j,{block:!0,loading:a,variant:"solid",type:"submit",children:a?"Verifying...":"Submit"})]})})})]})},V=()=>{const{authenticatorUrl:r,email:s}=v(c=>c.auth.user),n=new URLSearchParams(document.location.search).get("tempToken")??"";return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("h3",{className:"mb-1",children:"Enter Authentication Code"}),e.jsx("p",{children:"Check your authenticator app for the 6-digit code and enter it below:"}),e.jsx("p",{children:"For added security, consider using an authenticator app like Google or Microsoft Authenticator."}),e.jsx("p",{children:"Don't have an authenticator app? Download one from the App Store or Google Play."}),e.jsx("br",{}),e.jsx(S,{value:r||""})]}),e.jsx(N,{disableSubmit:!1,tempToken:n,email:s??""})]})},H=V;export{H as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i,c as d,a as l}from"./vendor-redux-a1f00e6b.js";import{
|
|
1
|
+
import{b as i,c as d,a as l}from"./vendor-redux-a1f00e6b.js";import{J as r,b as c,b_ as m,_ as p}from"./index-3b5ce20a.js";const n="menuList",t=i(n+"/getPermissions",async()=>{const s=await r(),e={data:s.data.$values,total:s.data.$values.length};return console.log("MenuData",e),e}),o=i(n+"/getMenuPermissions",async s=>{const e=await c(s.roleId,"default"),a={data:e.data.$values,total:e.data.$values.length};return console.log("menuList - getMenuPermissions",a),a}),P=async s=>(await m(s)).success,g={loading:!1,menus:[],deleteConfirmation:!1,selectedMenu:"",menuPermissions:[]},u=d({name:`${n}/state`,initialState:g,reducers:{updateMenu:(s,e)=>{s.menus=e.payload},toggleDeleteConfirmation:(s,e)=>{s.deleteConfirmation=e.payload},setSelectedMenu:(s,e)=>{s.selectedMenu=e.payload},getMenusList:(s,e)=>{s.menus=e.payload},getMenuPermissionList:(s,e)=>{s.menuPermissions=e.payload}},extraReducers:s=>{s.addCase(t.fulfilled,(e,a)=>{e.menus=a.payload.data??[],e.loading=!1}).addCase(t.pending,e=>{e.loading=!0}).addCase(o.fulfilled,(e,a)=>{e.menuPermissions=a.payload.data??[],e.loading=!1}).addCase(o.pending,e=>{e.loading=!0})}}),{updateMenu:C,toggleDeleteConfirmation:S,setSelectedMenu:L,getMenusList:b}=u.actions,M=u.reducer,D=l({data:M}),$=p;export{t as a,$ as b,o as g,D as r,L as s,S as t,P as u};
|