udp-react-enterprise-component-library 25.18.3 → 25.18.4-beta.2
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/AadCallback-BStaCVo9.js +21 -0
- package/dist/AadCallback-BStaCVo9.js.map +1 -0
- package/dist/Accordion-BGyks2oO.js +192 -0
- package/dist/Accordion-BGyks2oO.js.map +1 -0
- package/dist/ActionLoadingContext-CjOXwOMF.js +8 -0
- package/dist/ActionLoadingContext-CjOXwOMF.js.map +1 -0
- package/dist/ActionLoadingDispatchContext-BSv-fgrZ.js +16 -0
- package/dist/ActionLoadingDispatchContext-BSv-fgrZ.js.map +1 -0
- package/dist/ActionProvider-CqLFwUt6.js +368 -0
- package/dist/ActionProvider-CqLFwUt6.js.map +1 -0
- package/dist/ActionSplitScreen-Manhgwvs.js +296 -0
- package/dist/ActionSplitScreen-Manhgwvs.js.map +1 -0
- package/dist/ActionSummaryPopover-D1FYtTY3.js +255 -0
- package/dist/ActionSummaryPopover-D1FYtTY3.js.map +1 -0
- package/dist/ActionWrapper-DSvobFw6.js +891 -0
- package/dist/ActionWrapper-DSvobFw6.js.map +1 -0
- package/dist/ActionsRenderer-UdXmpfzu.js +240 -0
- package/dist/ActionsRenderer-UdXmpfzu.js.map +1 -0
- package/dist/ActionsRenderer-amETjBUn.js +156 -0
- package/dist/ActionsRenderer-amETjBUn.js.map +1 -0
- package/dist/AddUser-DGj_Drr3.js +209 -0
- package/dist/AddUser-DGj_Drr3.js.map +1 -0
- package/dist/AddressListItem-Bd9OFX1z.js +19 -0
- package/dist/AddressListItem-Bd9OFX1z.js.map +1 -0
- package/dist/Adornment-Ciq1X7he.js +19 -0
- package/dist/Adornment-Ciq1X7he.js.map +1 -0
- package/dist/AgTable-DhNlOTs0.js +184 -0
- package/dist/AgTable-DhNlOTs0.js.map +1 -0
- package/dist/AggregateChip-DJLReylv.js +242 -0
- package/dist/AggregateChip-DJLReylv.js.map +1 -0
- package/dist/AlertContainer-JhEDfi4e.js +45 -0
- package/dist/AlertContainer-JhEDfi4e.js.map +1 -0
- package/dist/AmChart-04PtpeIm.js +71 -0
- package/dist/AmChart-04PtpeIm.js.map +1 -0
- package/dist/AmbientAlert-BXaACQ3f.js +42 -0
- package/dist/AmbientAlert-BXaACQ3f.js.map +1 -0
- package/dist/AmbientAutoComplete-DrhrqnYv.js +103 -0
- package/dist/AmbientAutoComplete-DrhrqnYv.js.map +1 -0
- package/dist/AmbientCard-D-le1ghN.js +165 -0
- package/dist/AmbientCard-D-le1ghN.js.map +1 -0
- package/dist/AmbientCardButton-DGhpVDRV.js +31 -0
- package/dist/AmbientCardButton-DGhpVDRV.js.map +1 -0
- package/dist/AmbientCardTitle-CvXW2qf0.js +38 -0
- package/dist/AmbientCardTitle-CvXW2qf0.js.map +1 -0
- package/dist/AmbientChipButton-IjNBpZLk.js +50 -0
- package/dist/AmbientChipButton-IjNBpZLk.js.map +1 -0
- package/dist/AmbientGridTemplate-DCpqNxBN.js +458 -0
- package/dist/AmbientGridTemplate-DCpqNxBN.js.map +1 -0
- package/dist/AmbientPopoverMenuItem-8a94ZJvZ.js +75 -0
- package/dist/AmbientPopoverMenuItem-8a94ZJvZ.js.map +1 -0
- package/dist/AmbientSingleDateSelector-ChxAQxJH.js +51 -0
- package/dist/AmbientSingleDateSelector-ChxAQxJH.js.map +1 -0
- package/dist/AmbientStepper-CuQRn0yM.js +174 -0
- package/dist/AmbientStepper-CuQRn0yM.js.map +1 -0
- package/dist/AmbientTextField-CdYuItOr.js +79 -0
- package/dist/AmbientTextField-CdYuItOr.js.map +1 -0
- package/dist/AmbientToast-Doj3A0sL.js +70 -0
- package/dist/AmbientToast-Doj3A0sL.js.map +1 -0
- package/dist/AmbientToggleButton-BjyjXj8S.js +67 -0
- package/dist/AmbientToggleButton-BjyjXj8S.js.map +1 -0
- package/dist/AmbientToggleButtonGroup-Cnblqvo9.js +88 -0
- package/dist/AmbientToggleButtonGroup-Cnblqvo9.js.map +1 -0
- package/dist/AmbientToggleButtonGroupDefault-0ldj0g2l.js +107 -0
- package/dist/AmbientToggleButtonGroupDefault-0ldj0g2l.js.map +1 -0
- package/dist/AmbientTokenButton--yIOr3fX.js +46 -0
- package/dist/AmbientTokenButton--yIOr3fX.js.map +1 -0
- package/dist/AmbientVisualizationCard-DmZtPMWV.js +232 -0
- package/dist/AmbientVisualizationCard-DmZtPMWV.js.map +1 -0
- package/dist/AmbientVisualizer-B-220uXn.js +627 -0
- package/dist/AmbientVisualizer-B-220uXn.js.map +1 -0
- package/dist/Attachments-KlQrecdt.js +312 -0
- package/dist/Attachments-KlQrecdt.js.map +1 -0
- package/dist/AuthProvider-CMj1Bo6u.js +222 -0
- package/dist/AuthProvider-CMj1Bo6u.js.map +1 -0
- package/dist/AutoCompletePropertyWidget-Bt2oA2dd.js +252 -0
- package/dist/AutoCompletePropertyWidget-Bt2oA2dd.js.map +1 -0
- package/dist/AvatarAlphabet-r0KzzYa6.js +187 -0
- package/dist/AvatarAlphabet-r0KzzYa6.js.map +1 -0
- package/dist/BarChartWidget-4utK2ld3.js +76 -0
- package/dist/BarChartWidget-4utK2ld3.js.map +1 -0
- package/dist/BaseTreeMenu-DaDDlxkN.js +357 -0
- package/dist/BaseTreeMenu-DaDDlxkN.js.map +1 -0
- package/dist/BioCard-DBRmSPYr.js +60 -0
- package/dist/BioCard-DBRmSPYr.js.map +1 -0
- package/dist/BioCardWrapper-LiIp9UgF.js +513 -0
- package/dist/BioCardWrapper-LiIp9UgF.js.map +1 -0
- package/dist/Box-Colr5GEl.js +11 -0
- package/dist/Box-Colr5GEl.js.map +1 -0
- package/dist/BreadCrumbMenu-qTB_mu5q.js +54 -0
- package/dist/BreadCrumbMenu-qTB_mu5q.js.map +1 -0
- package/dist/BubbleWidget-7Vb2Cbkz.js +48 -0
- package/dist/BubbleWidget-7Vb2Cbkz.js.map +1 -0
- package/dist/BulkActionsGridButton-DFINfTUG.js +922 -0
- package/dist/BulkActionsGridButton-DFINfTUG.js.map +1 -0
- package/dist/CardList-BtEp7mES.js +78 -0
- package/dist/CardList-BtEp7mES.js.map +1 -0
- package/dist/CatalogUtilities-KhFqgbAz.js +16 -0
- package/dist/CatalogUtilities-KhFqgbAz.js.map +1 -0
- package/dist/ChartSummaryToggle-lc3Ow8CO.js +29 -0
- package/dist/ChartSummaryToggle-lc3Ow8CO.js.map +1 -0
- package/dist/ChatBotContext-CgEZrG-E.js +8 -0
- package/dist/ChatBotContext-CgEZrG-E.js.map +1 -0
- package/dist/ChatBotProvider-DBSQ_hLr.js +55 -0
- package/dist/ChatBotProvider-DBSQ_hLr.js.map +1 -0
- package/dist/ChatContainer-Dtf61QLI.js +254 -0
- package/dist/ChatContainer-Dtf61QLI.js.map +1 -0
- package/dist/ChatUDP-D5sDVWbb.js +11 -0
- package/dist/ChatUDP-D5sDVWbb.js.map +1 -0
- package/dist/ChipAlphabet-D4I7crBn.js +353 -0
- package/dist/ChipAlphabet-D4I7crBn.js.map +1 -0
- package/dist/CircleButton-D5-HA20c.js +240 -0
- package/dist/CircleButton-D5-HA20c.js.map +1 -0
- package/dist/CircularProgress-DVvPWdUx.js +48 -0
- package/dist/CircularProgress-DVvPWdUx.js.map +1 -0
- package/dist/CkRichEditor-y91ta2ri.js +47 -0
- package/dist/CkRichEditor-y91ta2ri.js.map +1 -0
- package/dist/ClientSideUdpGrid-Bz-hQ9K5.js +11 -0
- package/dist/ClientSideUdpGrid-Bz-hQ9K5.js.map +1 -0
- package/dist/CompactDataList-7iWBkfy4.js +16 -0
- package/dist/CompactDataList-7iWBkfy4.js.map +1 -0
- package/dist/CompactDataListItem-DVNgHapB.js +28 -0
- package/dist/CompactDataListItem-DVNgHapB.js.map +1 -0
- package/dist/ContentContainer-DcDoMHfV.js +30 -0
- package/dist/ContentContainer-DcDoMHfV.js.map +1 -0
- package/dist/ConvertISODate-DyCKi72D.js +8 -0
- package/dist/ConvertISODate-DyCKi72D.js.map +1 -0
- package/dist/CoreLayoutFloorplan-DHxCjYh1.js +154 -0
- package/dist/CoreLayoutFloorplan-DHxCjYh1.js.map +1 -0
- package/dist/CrudBrowserContainer-DPDVX5gz.js +176 -0
- package/dist/CrudBrowserContainer-DPDVX5gz.js.map +1 -0
- package/dist/CrudForm-BPA7XUes.js +349 -0
- package/dist/CrudForm-BPA7XUes.js.map +1 -0
- package/dist/CrudTableSidePanel-DHAGiqqE.js +120 -0
- package/dist/CrudTableSidePanel-DHAGiqqE.js.map +1 -0
- package/dist/CustomMenuPage-Co09SW_Y.js +100 -0
- package/dist/CustomMenuPage-Co09SW_Y.js.map +1 -0
- package/dist/CustomNavigationClient-C18_hCOZ.js +23 -0
- package/dist/CustomNavigationClient-C18_hCOZ.js.map +1 -0
- package/dist/DashboardWidget-DdjiSCbP.js +343 -0
- package/dist/DashboardWidget-DdjiSCbP.js.map +1 -0
- package/dist/DataBrowserContainer-BlR_3mV7.js +397 -0
- package/dist/DataBrowserContainer-BlR_3mV7.js.map +1 -0
- package/dist/DateTimeField-DFKWUryi.js +32 -0
- package/dist/DateTimeField-DFKWUryi.js.map +1 -0
- package/dist/DateTrendWidget-BtYhzUmI.js +52 -0
- package/dist/DateTrendWidget-BtYhzUmI.js.map +1 -0
- package/dist/DateUtilities-C55GOCT0.js +15 -0
- package/dist/DateUtilities-C55GOCT0.js.map +1 -0
- package/dist/DensePlotWidget-IvGX9sbA.js +58 -0
- package/dist/DensePlotWidget-IvGX9sbA.js.map +1 -0
- package/dist/DiffChecker-D4AQHYDS.js +38 -0
- package/dist/DiffChecker-D4AQHYDS.js.map +1 -0
- package/dist/Directory-BJF6Xzsq.js +52 -0
- package/dist/Directory-BJF6Xzsq.js.map +1 -0
- package/dist/Divider-DTby6br8.js +11 -0
- package/dist/Divider-DTby6br8.js.map +1 -0
- package/dist/DonutChartWidget-j7IMhayw.js +153 -0
- package/dist/DonutChartWidget-j7IMhayw.js.map +1 -0
- package/dist/DragDropFileUpload-j6JdxqDB.js +89 -0
- package/dist/DragDropFileUpload-j6JdxqDB.js.map +1 -0
- package/dist/DraggableSidebarTemplate-BUWBvL6H.js +93 -0
- package/dist/DraggableSidebarTemplate-BUWBvL6H.js.map +1 -0
- package/dist/DynamicContainerWithMenu-B--g75rw.js +141 -0
- package/dist/DynamicContainerWithMenu-B--g75rw.js.map +1 -0
- package/dist/DynamicRangeSlider-CZV2yDD3.js +569 -0
- package/dist/DynamicRangeSlider-CZV2yDD3.js.map +1 -0
- package/dist/Ellipse-DGTaApGj.js +113 -0
- package/dist/Ellipse-DGTaApGj.js.map +1 -0
- package/dist/EmailDisplay-znWYZ3hx.js +116 -0
- package/dist/EmailDisplay-znWYZ3hx.js.map +1 -0
- package/dist/EmptyStateDisplay-CPCd-JUL.js +66 -0
- package/dist/EmptyStateDisplay-CPCd-JUL.js.map +1 -0
- package/dist/EntityHeader-DMUQIymp.js +528 -0
- package/dist/EntityHeader-DMUQIymp.js.map +1 -0
- package/dist/EntitySideBarContent-CrmRGiFz.js +84 -0
- package/dist/EntitySideBarContent-CrmRGiFz.js.map +1 -0
- package/dist/ExpandRenderer-CacQgNZo.js +20 -0
- package/dist/ExpandRenderer-CacQgNZo.js.map +1 -0
- package/dist/Expander-_LXH1bID.js +250 -0
- package/dist/Expander-_LXH1bID.js.map +1 -0
- package/dist/ExportSidesheet-B4azX1aE.js +334 -0
- package/dist/ExportSidesheet-B4azX1aE.js.map +1 -0
- package/dist/ExtenderToggle-Bhk4quIt.js +48 -0
- package/dist/ExtenderToggle-Bhk4quIt.js.map +1 -0
- package/dist/ExternalRedirectUrlStorage-Bmxr_Pcy.js +15 -0
- package/dist/ExternalRedirectUrlStorage-Bmxr_Pcy.js.map +1 -0
- package/dist/FUIAppSwitcher-WazWLZB9.js +353 -0
- package/dist/FUIAppSwitcher-WazWLZB9.js.map +1 -0
- package/dist/FUICard-DM7-UnEe.js +140 -0
- package/dist/FUICard-DM7-UnEe.js.map +1 -0
- package/dist/FUIMenuItem-Crrm7Xbo.js +26 -0
- package/dist/FUIMenuItem-Crrm7Xbo.js.map +1 -0
- package/dist/FUISquareIconButton-DlWi-qWr.js +19 -0
- package/dist/FUISquareIconButton-DlWi-qWr.js.map +1 -0
- package/dist/FieldArrayCard-Cz5SwJCq.js +401 -0
- package/dist/FieldArrayCard-Cz5SwJCq.js.map +1 -0
- package/dist/FileUpload-Bpf333wI.js +239 -0
- package/dist/FileUpload-Bpf333wI.js.map +1 -0
- package/dist/FileViewer-D1yaA_06.js +385 -0
- package/dist/FileViewer-D1yaA_06.js.map +1 -0
- package/dist/FluentActivityRow-CpAEktQk.js +69 -0
- package/dist/FluentActivityRow-CpAEktQk.js.map +1 -0
- package/dist/FluentCard-Dsd3Pkux.js +23 -0
- package/dist/FluentCard-Dsd3Pkux.js.map +1 -0
- package/dist/FluentCardHeader-3vPpjp7D.js +29 -0
- package/dist/FluentCardHeader-3vPpjp7D.js.map +1 -0
- package/dist/FluentCardText-BbDL3Uo_.js +89 -0
- package/dist/FluentCardText-BbDL3Uo_.js.map +1 -0
- package/dist/FluentCheckbox-CX7XgoFz.js +23 -0
- package/dist/FluentCheckbox-CX7XgoFz.js.map +1 -0
- package/dist/FluentColorPicker-7Wb1Ud8l.js +77 -0
- package/dist/FluentColorPicker-7Wb1Ud8l.js.map +1 -0
- package/dist/FluentDataTable-D8DX3FBt.js +30 -0
- package/dist/FluentDataTable-D8DX3FBt.js.map +1 -0
- package/dist/FluentDatePicker-C6WEywwM.js +75 -0
- package/dist/FluentDatePicker-C6WEywwM.js.map +1 -0
- package/dist/FluentDialog-COrrKCGR.js +80 -0
- package/dist/FluentDialog-COrrKCGR.js.map +1 -0
- package/dist/FluentDisplayNumbers-SPFOLb3Y.js +50 -0
- package/dist/FluentDisplayNumbers-SPFOLb3Y.js.map +1 -0
- package/dist/FluentIcon-pwGrBtD8.js +57 -0
- package/dist/FluentIcon-pwGrBtD8.js.map +1 -0
- package/dist/FluentIconButton-Av4urxc6.js +29 -0
- package/dist/FluentIconButton-Av4urxc6.js.map +1 -0
- package/dist/FluentIconKey-BMx7hYa-.js +41 -0
- package/dist/FluentIconKey-BMx7hYa-.js.map +1 -0
- package/dist/FluentInputSlider-iUdAzMFS.js +49 -0
- package/dist/FluentInputSlider-iUdAzMFS.js.map +1 -0
- package/dist/FluentLink-DZndJvST.js +39 -0
- package/dist/FluentLink-DZndJvST.js.map +1 -0
- package/dist/FluentListElement-x4t_kFgR.js +180 -0
- package/dist/FluentListElement-x4t_kFgR.js.map +1 -0
- package/dist/FluentListItem-BtUqcjod.js +99 -0
- package/dist/FluentListItem-BtUqcjod.js.map +1 -0
- package/dist/FluentMap-aGnB0xBd.js +72 -0
- package/dist/FluentMap-aGnB0xBd.js.map +1 -0
- package/dist/FluentMenuListItem-CvEx0IXI.js +32 -0
- package/dist/FluentMenuListItem-CvEx0IXI.js.map +1 -0
- package/dist/FluentRadio-neACxaR8.js +31 -0
- package/dist/FluentRadio-neACxaR8.js.map +1 -0
- package/dist/FluentSearchField-6dGDqt0d.js +135 -0
- package/dist/FluentSearchField-6dGDqt0d.js.map +1 -0
- package/dist/FluentSecondaryStatNumber-BAyT3K1L.js +56 -0
- package/dist/FluentSecondaryStatNumber-BAyT3K1L.js.map +1 -0
- package/dist/FluentSelectMenu-CVYCDs_c.js +28 -0
- package/dist/FluentSelectMenu-CVYCDs_c.js.map +1 -0
- package/dist/FluentSideNav-tAGEI2Kd.js +144 -0
- package/dist/FluentSideNav-tAGEI2Kd.js.map +1 -0
- package/dist/FluentSimpleSelect-Dc4MGzYT.js +420 -0
- package/dist/FluentSimpleSelect-Dc4MGzYT.js.map +1 -0
- package/dist/FluentSimpleTabs-DMo34CiA.js +72 -0
- package/dist/FluentSimpleTabs-DMo34CiA.js.map +1 -0
- package/dist/FluentStatNumber-CeWuM2GC.js +40 -0
- package/dist/FluentStatNumber-CeWuM2GC.js.map +1 -0
- package/dist/FluentStatsSnippet-6S3H6__S.js +81 -0
- package/dist/FluentStatsSnippet-6S3H6__S.js.map +1 -0
- package/dist/FluentTabPanel-BrpTjgLo.js +24 -0
- package/dist/FluentTabPanel-BrpTjgLo.js.map +1 -0
- package/dist/FluentTabPanels-BdyH1OFz.js +93 -0
- package/dist/FluentTabPanels-BdyH1OFz.js.map +1 -0
- package/dist/FluentTextField-BsEmi6u7.js +68 -0
- package/dist/FluentTextField-BsEmi6u7.js.map +1 -0
- package/dist/FluentTextFieldAutoComplete-oKuTIZT1.js +100 -0
- package/dist/FluentTextFieldAutoComplete-oKuTIZT1.js.map +1 -0
- package/dist/FluentTimePicker-mZfOzfUD.js +67 -0
- package/dist/FluentTimePicker-mZfOzfUD.js.map +1 -0
- package/dist/FluentTimeline-D5mLnKHe.js +90 -0
- package/dist/FluentTimeline-D5mLnKHe.js.map +1 -0
- package/dist/FluentTimeline-DK4NXRol.js +156 -0
- package/dist/FluentTimeline-DK4NXRol.js.map +1 -0
- package/dist/FluentToggle-0VOyyhK0.js +49 -0
- package/dist/FluentToggle-0VOyyhK0.js.map +1 -0
- package/dist/FluentUploadIconButton-BaMok8z1.js +159 -0
- package/dist/FluentUploadIconButton-BaMok8z1.js.map +1 -0
- package/dist/Form-kH10DtvM.js +80 -0
- package/dist/Form-kH10DtvM.js.map +1 -0
- package/dist/FormControl-DLhlJSNI.js +12 -0
- package/dist/FormControl-DLhlJSNI.js.map +1 -0
- package/dist/FormControlLabel-Q67VQt3z.js +17 -0
- package/dist/FormControlLabel-Q67VQt3z.js.map +1 -0
- package/dist/FullScreenControl-DZiC3GGe.js +25 -0
- package/dist/FullScreenControl-DZiC3GGe.js.map +1 -0
- package/dist/GeoLocation-HIP0PotM.js +115 -0
- package/dist/GeoLocation-HIP0PotM.js.map +1 -0
- package/dist/GeoMap-BOyY0Q6t.js +108 -0
- package/dist/GeoMap-BOyY0Q6t.js.map +1 -0
- package/dist/GraphCard-D270INjj.js +75 -0
- package/dist/GraphCard-D270INjj.js.map +1 -0
- package/dist/Grid-D1-yWIw5.js +17 -0
- package/dist/Grid-D1-yWIw5.js.map +1 -0
- package/dist/GridFunctions-BVA59EGg.js +150 -0
- package/dist/GridFunctions-BVA59EGg.js.map +1 -0
- package/dist/GridGroupingSidebar-BvlKuYy1.js +142 -0
- package/dist/GridGroupingSidebar-BvlKuYy1.js.map +1 -0
- package/dist/GridRow-CLy6rV1W.js +54 -0
- package/dist/GridRow-CLy6rV1W.js.map +1 -0
- package/dist/GroupNode-LePhfWeJ.js +39 -0
- package/dist/GroupNode-LePhfWeJ.js.map +1 -0
- package/dist/HeaderExpander-CoXqTheu.js +53 -0
- package/dist/HeaderExpander-CoXqTheu.js.map +1 -0
- package/dist/IconButtonWithToolTip-WW35n9G6.js +28 -0
- package/dist/IconButtonWithToolTip-WW35n9G6.js.map +1 -0
- package/dist/IconKey-CgJtWXWL.js +60 -0
- package/dist/IconKey-CgJtWXWL.js.map +1 -0
- package/dist/IconLibrary-XhH3iILo.js +179 -0
- package/dist/IconLibrary-XhH3iILo.js.map +1 -0
- package/dist/IconRenderer-e2JSYZS_.js +43 -0
- package/dist/IconRenderer-e2JSYZS_.js.map +1 -0
- package/dist/Iframe-BfXbTs-j.js +31 -0
- package/dist/Iframe-BfXbTs-j.js.map +1 -0
- package/dist/IframeContainer-g9jgd0Yo.js +23 -0
- package/dist/IframeContainer-g9jgd0Yo.js.map +1 -0
- package/dist/ImageLayer-BXtNLKiO.js +71 -0
- package/dist/ImageLayer-BXtNLKiO.js.map +1 -0
- package/dist/ImportDataFromFileMapping-B4D64b8N.js +568 -0
- package/dist/ImportDataFromFileMapping-B4D64b8N.js.map +1 -0
- package/dist/IndicatorChip-D43p29LE.js +32 -0
- package/dist/IndicatorChip-D43p29LE.js.map +1 -0
- package/dist/InfoCard-BBF3NTOJ.js +129 -0
- package/dist/InfoCard-BBF3NTOJ.js.map +1 -0
- package/dist/InputAdornment-Cy5rAWmy.js +15 -0
- package/dist/InputAdornment-Cy5rAWmy.js.map +1 -0
- package/dist/InputFieldTypeEnums-RRbDefPT.js +14 -0
- package/dist/InputFieldTypeEnums-RRbDefPT.js.map +1 -0
- package/dist/Inquiry-71TYFqZi.js +2633 -0
- package/dist/Inquiry-71TYFqZi.js.map +1 -0
- package/dist/InquiryDashboard-qlfX8PVt.js +17 -0
- package/dist/InquiryDashboard-qlfX8PVt.js.map +1 -0
- package/dist/InquiryHeaderControl-iAutQL9G.js +40 -0
- package/dist/InquiryHeaderControl-iAutQL9G.js.map +1 -0
- package/dist/InquiryHeaderSecondaryAlert-CgJGr3-f.js +39 -0
- package/dist/InquiryHeaderSecondaryAlert-CgJGr3-f.js.map +1 -0
- package/dist/InquiryNodeControls-BDux8csl.js +209 -0
- package/dist/InquiryNodeControls-BDux8csl.js.map +1 -0
- package/dist/InquirySearchContainer-CDD3cXYq.js +835 -0
- package/dist/InquirySearchContainer-CDD3cXYq.js.map +1 -0
- package/dist/InsightRenderer-Cd2spm-5.js +83 -0
- package/dist/InsightRenderer-Cd2spm-5.js.map +1 -0
- package/dist/ItemsWidgetCard-DwiAhT98.js +180 -0
- package/dist/ItemsWidgetCard-DwiAhT98.js.map +1 -0
- package/dist/KeyValueTextField-CeViXDnI.js +104 -0
- package/dist/KeyValueTextField-CeViXDnI.js.map +1 -0
- package/dist/LayoutUnit-xKXf06lQ.js +80 -0
- package/dist/LayoutUnit-xKXf06lQ.js.map +1 -0
- package/dist/LibraryData-D8Uai7Yd.js +9043 -0
- package/dist/LibraryData-D8Uai7Yd.js.map +1 -0
- package/dist/LineAndSparklinesWidget-Cjeh_bks.js +93 -0
- package/dist/LineAndSparklinesWidget-Cjeh_bks.js.map +1 -0
- package/dist/LineGraphWidget-DzEOIGXq.js +83 -0
- package/dist/LineGraphWidget-DzEOIGXq.js.map +1 -0
- package/dist/LinearProgress-BKtF0I7Z.js +49 -0
- package/dist/LinearProgress-BKtF0I7Z.js.map +1 -0
- package/dist/ListCard-SkkEVkQJ.js +33 -0
- package/dist/ListCard-SkkEVkQJ.js.map +1 -0
- package/dist/LoadingIndicator-COnc5PwV.js +23 -0
- package/dist/LoadingIndicator-COnc5PwV.js.map +1 -0
- package/dist/LoadingOverlay-CqUVWbb6.js +16 -0
- package/dist/LoadingOverlay-CqUVWbb6.js.map +1 -0
- package/dist/LocalRedirectUrlStorage-CoKXrY8k.js +42 -0
- package/dist/LocalRedirectUrlStorage-CoKXrY8k.js.map +1 -0
- package/dist/Map-DFN3lG2c.js +55 -0
- package/dist/Map-DFN3lG2c.js.map +1 -0
- package/dist/Map-GmwY1Ioi.js +127 -0
- package/dist/Map-GmwY1Ioi.js.map +1 -0
- package/dist/MapContent-B6Sw2lvP.js +117 -0
- package/dist/MapContent-B6Sw2lvP.js.map +1 -0
- package/dist/MapContext-BSiiuqv3.js +8 -0
- package/dist/MapContext-BSiiuqv3.js.map +1 -0
- package/dist/MapContext-YGovmKdh.js +8 -0
- package/dist/MapContext-YGovmKdh.js.map +1 -0
- package/dist/MapControlsStandard-CTzJh1yU.js +138 -0
- package/dist/MapControlsStandard-CTzJh1yU.js.map +1 -0
- package/dist/MapLayout-Da5pFBGy.js +513 -0
- package/dist/MapLayout-Da5pFBGy.js.map +1 -0
- package/dist/MapUtilities-pcP3VTTj.js +96 -0
- package/dist/MapUtilities-pcP3VTTj.js.map +1 -0
- package/dist/MenuPage-g6NbH0C7.js +248 -0
- package/dist/MenuPage-g6NbH0C7.js.map +1 -0
- package/dist/MttMainTimeline-BbujuT8v.js +888 -0
- package/dist/MttMainTimeline-BbujuT8v.js.map +1 -0
- package/dist/MttSummary-JRPoDUNn.js +256 -0
- package/dist/MttSummary-JRPoDUNn.js.map +1 -0
- package/dist/MttYearTag-6e-A9968.js +178 -0
- package/dist/MttYearTag-6e-A9968.js.map +1 -0
- package/dist/MyExportsPage-D6cTR0Do.js +220 -0
- package/dist/MyExportsPage-D6cTR0Do.js.map +1 -0
- package/dist/NestedGrid-Cm-pVrf_.js +84 -0
- package/dist/NestedGrid-Cm-pVrf_.js.map +1 -0
- package/dist/NewsCard-B45z95i2.js +57 -0
- package/dist/NewsCard-B45z95i2.js.map +1 -0
- package/dist/NodeLoader-B5o6twM7.js +46 -0
- package/dist/NodeLoader-B5o6twM7.js.map +1 -0
- package/dist/Notes-7UXczsI1.js +63 -0
- package/dist/Notes-7UXczsI1.js.map +1 -0
- package/dist/NotesScreen-Dn28NiPK.js +365 -0
- package/dist/NotesScreen-Dn28NiPK.js.map +1 -0
- package/dist/NumberOperator-5gITov_X.js +45 -0
- package/dist/NumberOperator-5gITov_X.js.map +1 -0
- package/dist/OutlookCallback-CgkIpTjX.js +50 -0
- package/dist/OutlookCallback-CgkIpTjX.js.map +1 -0
- package/dist/PAHAdditionalRightComponent-BYLsraVm.js +21 -0
- package/dist/PAHAdditionalRightComponent-BYLsraVm.js.map +1 -0
- package/dist/PAHAdditionalTitleComponent-Bj9GAo0k.js +47 -0
- package/dist/PAHAdditionalTitleComponent-Bj9GAo0k.js.map +1 -0
- package/dist/PDFViewer-7jDtV0Ry.js +168 -0
- package/dist/PDFViewer-7jDtV0Ry.js.map +1 -0
- package/dist/Page-xJ0DWMbX.js +62 -0
- package/dist/Page-xJ0DWMbX.js.map +1 -0
- package/dist/PageActionWrapper-CZBFNpfv.js +55 -0
- package/dist/PageActionWrapper-CZBFNpfv.js.map +1 -0
- package/dist/PageContainer-CvcNKX87.js +189 -0
- package/dist/PageContainer-CvcNKX87.js.map +1 -0
- package/dist/PageContext-BpOBJHpb.js +49 -0
- package/dist/PageContext-BpOBJHpb.js.map +1 -0
- package/dist/PageForbiddenRoute-Bzg9CA7g.js +25 -0
- package/dist/PageForbiddenRoute-Bzg9CA7g.js.map +1 -0
- package/dist/PageLoading-GD6E2uMU.js +18 -0
- package/dist/PageLoading-GD6E2uMU.js.map +1 -0
- package/dist/PageNotFoundRoute-DSpB5lFF.js +28 -0
- package/dist/PageNotFoundRoute-DSpB5lFF.js.map +1 -0
- package/dist/PageRenderer-DPPEuave.js +29 -0
- package/dist/PageRenderer-DPPEuave.js.map +1 -0
- package/dist/PageSectionSpacer-zAG3cUcj.js +88 -0
- package/dist/PageSectionSpacer-zAG3cUcj.js.map +1 -0
- package/dist/PageStatus-DpJghCK7.js +52 -0
- package/dist/PageStatus-DpJghCK7.js.map +1 -0
- package/dist/PageSubHeaderAction-C_T27QG1.js +20 -0
- package/dist/PageSubHeaderAction-C_T27QG1.js.map +1 -0
- package/dist/PasswordResetRedirect-CqWa28HU.js +58 -0
- package/dist/PasswordResetRedirect-CqWa28HU.js.map +1 -0
- package/dist/PaymentForm-pg0aBfYf.js +2249 -0
- package/dist/PaymentForm-pg0aBfYf.js.map +1 -0
- package/dist/PowerBIReport-Cb_tnI2r.js +60 -0
- package/dist/PowerBIReport-Cb_tnI2r.js.map +1 -0
- package/dist/PrimaryActionButton-C_9XH4Yr.js +35 -0
- package/dist/PrimaryActionButton-C_9XH4Yr.js.map +1 -0
- package/dist/PrimaryActionHeader-rDbNJsiU.js +548 -0
- package/dist/PrimaryActionHeader-rDbNJsiU.js.map +1 -0
- package/dist/ProgressBarWidget-bjwEyeyL.js +69 -0
- package/dist/ProgressBarWidget-bjwEyeyL.js.map +1 -0
- package/dist/PropertyFields-DcFIE8F4.js +65 -0
- package/dist/PropertyFields-DcFIE8F4.js.map +1 -0
- package/dist/QueryResult-CNLmUNN4.js +10 -0
- package/dist/QueryResult-CNLmUNN4.js.map +1 -0
- package/dist/QuickViewCard-odqSWVkJ.js +24 -0
- package/dist/QuickViewCard-odqSWVkJ.js.map +1 -0
- package/dist/RecentlyLoadedNodesTable-nSghM376.js +108 -0
- package/dist/RecentlyLoadedNodesTable-nSghM376.js.map +1 -0
- package/dist/RecentlyLoadedNodesWidget-doJRBMbo.js +26 -0
- package/dist/RecentlyLoadedNodesWidget-doJRBMbo.js.map +1 -0
- package/dist/RejectIcon-BXbp694g.js +40 -0
- package/dist/RejectIcon-BXbp694g.js.map +1 -0
- package/dist/RemindersCard-Ch6pY4CS.js +138 -0
- package/dist/RemindersCard-Ch6pY4CS.js.map +1 -0
- package/dist/RemindersScreen-ubWdQBMt.js +440 -0
- package/dist/RemindersScreen-ubWdQBMt.js.map +1 -0
- package/dist/RemindersWidget-B5Z5eNJz.js +336 -0
- package/dist/RemindersWidget-B5Z5eNJz.js.map +1 -0
- package/dist/Reports-D14a_qHI.js +21 -0
- package/dist/Reports-D14a_qHI.js.map +1 -0
- package/dist/RequiredFieldsMappingForm-A1clxoW8.js +345 -0
- package/dist/RequiredFieldsMappingForm-A1clxoW8.js.map +1 -0
- package/dist/RuleUtilities-Dzn4U1kc.js +89 -0
- package/dist/RuleUtilities-Dzn4U1kc.js.map +1 -0
- package/dist/SearchMethodUdpGrid-D6NBIBer.js +11 -0
- package/dist/SearchMethodUdpGrid-D6NBIBer.js.map +1 -0
- package/dist/SearchOperator-D9838PIe.js +59 -0
- package/dist/SearchOperator-D9838PIe.js.map +1 -0
- package/dist/SearchServiceDatasource-DTCGq4As.js +156 -0
- package/dist/SearchServiceDatasource-DTCGq4As.js.map +1 -0
- package/dist/SearchUtilities-B23mFoYf.js +194 -0
- package/dist/SearchUtilities-B23mFoYf.js.map +1 -0
- package/dist/SelectUtilities-C6xXA72a.js +30 -0
- package/dist/SelectUtilities-C6xXA72a.js.map +1 -0
- package/dist/ServerSideUdpGrid-EI3HEevm.js +119 -0
- package/dist/ServerSideUdpGrid-EI3HEevm.js.map +1 -0
- package/dist/Shell-A6o_Ae2M.js +322 -0
- package/dist/Shell-A6o_Ae2M.js.map +1 -0
- package/dist/ShortcutContentFinder-DwsTfius.js +123 -0
- package/dist/ShortcutContentFinder-DwsTfius.js.map +1 -0
- package/dist/SideBarTemplate-B6CpqMbK.js +128 -0
- package/dist/SideBarTemplate-B6CpqMbK.js.map +1 -0
- package/dist/SideSheet-B7N-AM_z.js +81 -0
- package/dist/SideSheet-B7N-AM_z.js.map +1 -0
- package/dist/SideSheetHeader-FMBox_vD.js +79 -0
- package/dist/SideSheetHeader-FMBox_vD.js.map +1 -0
- package/dist/SidebarHeader-2ZsWTBeT.js +82 -0
- package/dist/SidebarHeader-2ZsWTBeT.js.map +1 -0
- package/dist/SimpleTable-DmMV4kNy.js +24 -0
- package/dist/SimpleTable-DmMV4kNy.js.map +1 -0
- package/dist/SiteHeader-D1qVvBVa.js +664 -0
- package/dist/SiteHeader-D1qVvBVa.js.map +1 -0
- package/dist/SiteHeaderRightComponent-CKHSCwfN.js +20 -0
- package/dist/SiteHeaderRightComponent-CKHSCwfN.js.map +1 -0
- package/dist/SparklineWidget-B53T0ux5.js +57 -0
- package/dist/SparklineWidget-B53T0ux5.js.map +1 -0
- package/dist/SparsePlotWidget-1NWdUxK8.js +73 -0
- package/dist/SparsePlotWidget-1NWdUxK8.js.map +1 -0
- package/dist/StandardTitle-ZKN8luuD.js +23 -0
- package/dist/StandardTitle-ZKN8luuD.js.map +1 -0
- package/dist/Statistic-DR-yE-Dh.js +323 -0
- package/dist/Statistic-DR-yE-Dh.js.map +1 -0
- package/dist/StatusCellRenderer-DHdUUyE_.js +18 -0
- package/dist/StatusCellRenderer-DHdUUyE_.js.map +1 -0
- package/dist/StatusChip-DZAN88VU.js +75 -0
- package/dist/StatusChip-DZAN88VU.js.map +1 -0
- package/dist/StatusFlags-B0NI4I7I.js +70 -0
- package/dist/StatusFlags-B0NI4I7I.js.map +1 -0
- package/dist/Sticky-CkA0CFOw.js +50 -0
- package/dist/Sticky-CkA0CFOw.js.map +1 -0
- package/dist/StringUtilities-CQy_aIq7.js +30 -0
- package/dist/StringUtilities-CQy_aIq7.js.map +1 -0
- package/dist/StylizedTitle-wZMpzKVe.js +47 -0
- package/dist/StylizedTitle-wZMpzKVe.js.map +1 -0
- package/dist/SubHeaderAction-B02ZXv-L.js +28 -0
- package/dist/SubHeaderAction-B02ZXv-L.js.map +1 -0
- package/dist/SummaryBlock-Bt1_6qYS.js +98 -0
- package/dist/SummaryBlock-Bt1_6qYS.js.map +1 -0
- package/dist/SupportCaseSideSheet-oErwJbWo.js +379 -0
- package/dist/SupportCaseSideSheet-oErwJbWo.js.map +1 -0
- package/dist/TableColumnDefs-BpaOx60h.js +33 -0
- package/dist/TableColumnDefs-BpaOx60h.js.map +1 -0
- package/dist/TableContainer-CKDBM6JK.js +110 -0
- package/dist/TableContainer-CKDBM6JK.js.map +1 -0
- package/dist/TenantProvider-Bx_F9FQi.js +363 -0
- package/dist/TenantProvider-Bx_F9FQi.js.map +1 -0
- package/dist/TicketCard-Drbc4srf.js +143 -0
- package/dist/TicketCard-Drbc4srf.js.map +1 -0
- package/dist/TileDisplay-DmDpWXH7.js +222 -0
- package/dist/TileDisplay-DmDpWXH7.js.map +1 -0
- package/dist/TimeField-OnDK61FB.js +63 -0
- package/dist/TimeField-OnDK61FB.js.map +1 -0
- package/dist/TimelineCalendar-CYVp42si.js +12 -0
- package/dist/TimelineCalendar-CYVp42si.js.map +1 -0
- package/dist/TimelineToken-nU7fdgjR.js +72 -0
- package/dist/TimelineToken-nU7fdgjR.js.map +1 -0
- package/dist/ToggleButton-C7eFkEfD.js +319 -0
- package/dist/ToggleButton-C7eFkEfD.js.map +1 -0
- package/dist/ToggleSection-4nTmx6s1.js +116 -0
- package/dist/ToggleSection-4nTmx6s1.js.map +1 -0
- package/dist/Token-8t2ak5Tk.js +70 -0
- package/dist/Token-8t2ak5Tk.js.map +1 -0
- package/dist/TokenGroupItem-D2pnPSKi.js +36 -0
- package/dist/TokenGroupItem-D2pnPSKi.js.map +1 -0
- package/dist/TreeUtilities-Bz1Gquph.js +1130 -0
- package/dist/TreeUtilities-Bz1Gquph.js.map +1 -0
- package/dist/TrimForAvatar-yvYuj42o.js +8 -0
- package/dist/TrimForAvatar-yvYuj42o.js.map +1 -0
- package/dist/Typography-CuvZNahz.js +22 -0
- package/dist/Typography-CuvZNahz.js.map +1 -0
- package/dist/UI/accordion/index.js +1 -1
- package/dist/UI/advancedSearchBuilder/index.js +1 -1
- package/dist/UI/charts/amcharts/index.js +15 -2
- package/dist/UI/charts/amcharts/index.js.map +1 -0
- package/dist/UI/charts/index.js +1 -1
- package/dist/UI/components/dataDisplay/index.js +4 -4
- package/dist/UI/components/feedback/index.js +1 -1
- package/dist/UI/components/index.js +5 -5
- package/dist/UI/containers/index.js +1 -1
- package/dist/UI/dataDisplay/FluentActivity/index.js +1 -1
- package/dist/UI/dataDisplay/FluentDataTable/FluentBody/index.js +14 -2
- package/dist/UI/dataDisplay/FluentDataTable/FluentBody/index.js.map +1 -0
- package/dist/UI/dataDisplay/FluentDataTable/FluentCell/index.js +79 -2
- package/dist/UI/dataDisplay/FluentDataTable/FluentCell/index.js.map +1 -0
- package/dist/UI/dataDisplay/FluentDataTable/FluentHead/index.js +18 -2
- package/dist/UI/dataDisplay/FluentDataTable/FluentHead/index.js.map +1 -0
- package/dist/UI/dataDisplay/FluentDataTable/FluentRow/index.js +16 -2
- package/dist/UI/dataDisplay/FluentDataTable/FluentRow/index.js.map +1 -0
- package/dist/UI/dataDisplay/FluentDataTable/index.js +1 -1
- package/dist/UI/dataDisplay/GraphCard/index.js +1 -1
- package/dist/UI/dataDisplay/address/index.js +1 -1
- package/dist/UI/dataDisplay/calendar/index.js +1 -1
- package/dist/UI/dataDisplay/cardList/index.js +1 -1
- package/dist/UI/dataDisplay/directory/index.js +1 -1
- package/dist/UI/dataDisplay/entityHeader/index.js +1 -1
- package/dist/UI/dataDisplay/index.js +11 -11
- package/dist/UI/dataDisplay/map/index.js +1 -1
- package/dist/UI/dataDisplay/notes/index.js +1 -1
- package/dist/UI/dataDisplay/status/index.js +2 -2
- package/dist/UI/dataDisplay/ticketCard/index.js +1 -1
- package/dist/UI/dataDisplay/typography/index.js +5 -5
- package/dist/UI/dataDisplay/visualization/amCharts/index.js +1 -1
- package/dist/UI/dataDisplay/visualization/index.js +1 -1
- package/dist/UI/feedback/index.js +5 -5
- package/dist/UI/fileViewer/index.js +1 -1
- package/dist/UI/fileViewer/pdfViewer/index.js +1 -1
- package/dist/UI/floorplans/index.js +1 -1
- package/dist/UI/forms/index.js +3 -3
- package/dist/UI/iframe/index.js +1 -1
- package/dist/UI/index.js +77 -77
- package/dist/UI/inputs/buttons/UdpActionCard/index.js +1 -1
- package/dist/UI/inputs/buttons/index.js +12 -12
- package/dist/UI/inputs/calendar/index.js +1 -1
- package/dist/UI/inputs/checkbox/index.js +1 -1
- package/dist/UI/inputs/dateRangeSelector/index.js +1 -1
- package/dist/UI/inputs/datetimes/index.js +2 -2
- package/dist/UI/inputs/fieldArrayCard/index.js +1 -1
- package/dist/UI/inputs/link/index.js +2 -2
- package/dist/UI/inputs/menus/AmbientStepper/index.js +1 -1
- package/dist/UI/inputs/menus/index.js +2 -2
- package/dist/UI/inputs/pickers/index.js +4 -4
- package/dist/UI/inputs/radio/index.js +1 -1
- package/dist/UI/inputs/richEditors/index.js +1 -1
- package/dist/UI/inputs/textField/index.js +6 -6
- package/dist/UI/inputs/toggle/index.js +1 -1
- package/dist/UI/loading/LoadingIndicator/index.js +1 -1
- package/dist/UI/loading/index.js +2 -2
- package/dist/UI/mapLayout/index.js +1 -1
- package/dist/UI/mapLayout/ui/index.js +3 -3
- package/dist/UI/mapLayout/utilities/index.js +1 -1
- package/dist/UI/maps/index.js +2 -2
- package/dist/UI/navigation/index.js +8 -8
- package/dist/UI/navigation/menus/index.js +2 -2
- package/dist/UI/navigation/tabs/defaultTabs/index.js +3 -3
- package/dist/UI/navigation/tabs/index.js +5 -5
- package/dist/UI/property/index.js +1 -1
- package/dist/UI/property/widgets/index.js +20 -2
- package/dist/UI/property/widgets/index.js.map +1 -0
- package/dist/UI/stepper/index.js +1 -1
- package/dist/UI/support/index.js +1 -1
- package/dist/UI/surfaces/NestedGrid/index.js +2 -2
- package/dist/UI/surfaces/NestedGrid/ui/index.js +1 -1
- package/dist/UI/surfaces/cards/AmbientCard/index.js +2 -2
- package/dist/UI/surfaces/cards/chartDisplayCards/index.js +1 -1
- package/dist/UI/surfaces/cards/fluentCards/index.js +4 -4
- package/dist/UI/surfaces/cards/index.js +3 -3
- package/dist/UI/surfaces/cards/newsCard/index.js +1 -1
- package/dist/UI/surfaces/cards/workOrderCard/index.js +1 -1
- package/dist/UI/surfaces/index.js +6 -6
- package/dist/UI/templates/calendar/index.js +1 -1
- package/dist/UI/templates/deprecated/AmbientGridTemplate/index.js +1 -1
- package/dist/UI/templates/deprecated/UdpGridTemplate/index.js +1 -1
- package/dist/UI/templates/index.js +2 -2
- package/dist/UI/templates/newGrid/index.js +3 -3
- package/dist/UI/templates/ui/index.js +3 -3
- package/dist/UI/templates/ui/renderers/index.js +3 -3
- package/dist/UI/timeline/fluentTimeline/index.js +1 -1
- package/dist/UI/timeline/index.js +2 -2
- package/dist/UI/utilityDisplay/alerts/index.js +1 -1
- package/dist/UI/utilityDisplay/index.js +15 -15
- package/dist/UI/utilityDisplay/ui/index.js +1 -1
- package/dist/UI/utilityDisplay/utilities/index.js +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/index.js +3 -3
- package/dist/UI/widgets/index.js +1 -1
- package/dist/UI/widgets/library/BarChartWidget/index.js +12 -2
- package/dist/UI/widgets/library/BarChartWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/BubbleWidget/index.js +12 -2
- package/dist/UI/widgets/library/BubbleWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/CircleGaugeWidget/index.js +1 -1
- package/dist/UI/widgets/library/DateTrendWidget/index.js +11 -2
- package/dist/UI/widgets/library/DateTrendWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/DensePlotWidget/index.js +12 -2
- package/dist/UI/widgets/library/DensePlotWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/DonutChartWidget/index.js +11 -2
- package/dist/UI/widgets/library/DonutChartWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/LineAndSparklinesWidget/index.js +11 -2
- package/dist/UI/widgets/library/LineAndSparklinesWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/LineGraphWidget/index.js +12 -2
- package/dist/UI/widgets/library/LineGraphWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/ProgressBarWidget/index.js +11 -2
- package/dist/UI/widgets/library/ProgressBarWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/RecentlyLoadedNodesWidget/index.js +11 -2
- package/dist/UI/widgets/library/RecentlyLoadedNodesWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/RemindersWidget/index.js +11 -2
- package/dist/UI/widgets/library/RemindersWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/SparklineWidget/index.js +11 -2
- package/dist/UI/widgets/library/SparklineWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/SparsePlotWidget/index.js +12 -2
- package/dist/UI/widgets/library/SparsePlotWidget/index.js.map +1 -0
- package/dist/UI/widgets/library/TableWidget/index.js +4 -4
- package/dist/UI/widgets/library/TableWidget/index.js.map +1 -1
- package/dist/UdpActionCard-DKx-AzjX.js +86 -0
- package/dist/UdpActionCard-DKx-AzjX.js.map +1 -0
- package/dist/UdpAdvancedSearchBuilder-C76ACJxO.js +19 -0
- package/dist/UdpAdvancedSearchBuilder-C76ACJxO.js.map +1 -0
- package/dist/UdpAlertsContainer-CrCIYfKr.js +80 -0
- package/dist/UdpAlertsContainer-CrCIYfKr.js.map +1 -0
- package/dist/UdpAppProvider-B0qkEHSR.js +118 -0
- package/dist/UdpAppProvider-B0qkEHSR.js.map +1 -0
- package/dist/UdpAuditEventsPage-NltAnQm0.js +383 -0
- package/dist/UdpAuditEventsPage-NltAnQm0.js.map +1 -0
- package/dist/UdpBarChart-cY3DPy-m.js +44 -0
- package/dist/UdpBarChart-cY3DPy-m.js.map +1 -0
- package/dist/UdpCalendarYearView-BvQIzQuE.js +61 -0
- package/dist/UdpCalendarYearView-BvQIzQuE.js.map +1 -0
- package/dist/UdpDataBrowserPage-ZoMrmWGm.js +450 -0
- package/dist/UdpDataBrowserPage-ZoMrmWGm.js.map +1 -0
- package/dist/UdpDateRangeSelector-SVv96tGi.js +11 -0
- package/dist/UdpDateRangeSelector-SVv96tGi.js.map +1 -0
- package/dist/UdpFormsBuilderPage-BcXtTwjI.js +39 -0
- package/dist/UdpFormsBuilderPage-BcXtTwjI.js.map +1 -0
- package/dist/UdpFormsListPage-ChoFTXYl.js +21 -0
- package/dist/UdpFormsListPage-ChoFTXYl.js.map +1 -0
- package/dist/UdpFormsSubmissionGrid-BFtv7Ldz.js +757 -0
- package/dist/UdpFormsSubmissionGrid-BFtv7Ldz.js.map +1 -0
- package/dist/UdpFormsSubmissionGridManagerPage-BXHRf5uu.js +14 -0
- package/dist/UdpFormsSubmissionGridManagerPage-BXHRf5uu.js.map +1 -0
- package/dist/UdpFormsSubmissionGridResponderPage-B3HJCSJP.js +14 -0
- package/dist/UdpFormsSubmissionGridResponderPage-B3HJCSJP.js.map +1 -0
- package/dist/UdpGridPanelManagementPage-6R92XIM4.js +233 -0
- package/dist/UdpGridPanelManagementPage-6R92XIM4.js.map +1 -0
- package/dist/UdpGridPanelManagementSidesheet-4OJcfprB.js +51 -0
- package/dist/UdpGridPanelManagementSidesheet-4OJcfprB.js.map +1 -0
- package/dist/UdpGridTemplate-BBqLvbCk.js +46 -0
- package/dist/UdpGridTemplate-BBqLvbCk.js.map +1 -0
- package/dist/UdpImportFromFileMappingPage-CnrHL_bA.js +11 -0
- package/dist/UdpImportFromFileMappingPage-CnrHL_bA.js.map +1 -0
- package/dist/UdpInquiryMaintenanceEnginePage-CsTiDdUT.js +20 -0
- package/dist/UdpInquiryMaintenanceEnginePage-CsTiDdUT.js.map +1 -0
- package/dist/UdpMaintenanceConfigPage-C1L12ft5.js +90 -0
- package/dist/UdpMaintenanceConfigPage-C1L12ft5.js.map +1 -0
- package/dist/UdpMaintenanceEnginePage-l8clcHXT.js +459 -0
- package/dist/UdpMaintenanceEnginePage-l8clcHXT.js.map +1 -0
- package/dist/UdpMap-6mRwNVs0.js +11 -0
- package/dist/UdpMap-6mRwNVs0.js.map +1 -0
- package/dist/UdpMapToolbar-C4dNS5EH.js +17 -0
- package/dist/UdpMapToolbar-C4dNS5EH.js.map +1 -0
- package/dist/UdpNotesPage-BEgymfuO.js +179 -0
- package/dist/UdpNotesPage-BEgymfuO.js.map +1 -0
- package/dist/UdpPrivateForm-BF1e9qog.js +47 -0
- package/dist/UdpPrivateForm-BF1e9qog.js.map +1 -0
- package/dist/UdpPublicForm-Csa2fTmK.js +39 -0
- package/dist/UdpPublicForm-Csa2fTmK.js.map +1 -0
- package/dist/UdpRemindersPage-CBcMx6VC.js +202 -0
- package/dist/UdpRemindersPage-CBcMx6VC.js.map +1 -0
- package/dist/UdpReportsPage-BuVwvnbr.js +12 -0
- package/dist/UdpReportsPage-BuVwvnbr.js.map +1 -0
- package/dist/UdpRoutes-C1TP5skF.js +228 -0
- package/dist/UdpRoutes-C1TP5skF.js.map +1 -0
- package/dist/UdpTabUtility-DpqUyQOO.js +49 -0
- package/dist/UdpTabUtility-DpqUyQOO.js.map +1 -0
- package/dist/UdpTabs-Bx5rfGfh.js +209 -0
- package/dist/UdpTabs-Bx5rfGfh.js.map +1 -0
- package/dist/UdpTimeSelector-CURdCo0f.js +147 -0
- package/dist/UdpTimeSelector-CURdCo0f.js.map +1 -0
- package/dist/UdpTimelineItem-BhvAvFJM.js +211 -0
- package/dist/UdpTimelineItem-BhvAvFJM.js.map +1 -0
- package/dist/UdpTransactionEmailForm-BJ0x2ZtJ.js +527 -0
- package/dist/UdpTransactionEmailForm-BJ0x2ZtJ.js.map +1 -0
- package/dist/UdpTransactionTypesPage-D8JDnrau.js +3702 -0
- package/dist/UdpTransactionTypesPage-D8JDnrau.js.map +1 -0
- package/dist/UdpTransactionsPage-CNANTMGx.js +2664 -0
- package/dist/UdpTransactionsPage-CNANTMGx.js.map +1 -0
- package/dist/UdpVerticalManagementPage-r-LyUfIc.js +178 -0
- package/dist/UdpVerticalManagementPage-r-LyUfIc.js.map +1 -0
- package/dist/UdpVerticalManagementSidesheet-CQWqDljc.js +227 -0
- package/dist/UdpVerticalManagementSidesheet-CQWqDljc.js.map +1 -0
- package/dist/UnityFluentIcon-CZlFXb6G.js +70 -0
- package/dist/UnityFluentIcon-CZlFXb6G.js.map +1 -0
- package/dist/UnityIconLibrary-Oxecc912.js +44 -0
- package/dist/UnityIconLibrary-Oxecc912.js.map +1 -0
- package/dist/UnitySessionStorage-BAkY2Zs1.js +19 -0
- package/dist/UnitySessionStorage-BAkY2Zs1.js.map +1 -0
- package/dist/UserForm-BopQlbgF.js +355 -0
- package/dist/UserForm-BopQlbgF.js.map +1 -0
- package/dist/UserFormSideSheet-DciiQaou.js +102 -0
- package/dist/UserFormSideSheet-DciiQaou.js.map +1 -0
- package/dist/UserProfileMenuWrapper-s_c1h1nw.js +215 -0
- package/dist/UserProfileMenuWrapper-s_c1h1nw.js.map +1 -0
- package/dist/UtilityBar-DQyXS0YF.js +98 -0
- package/dist/UtilityBar-DQyXS0YF.js.map +1 -0
- package/dist/UtilityBarInport-CYdAfNBd.js +22 -0
- package/dist/UtilityBarInport-CYdAfNBd.js.map +1 -0
- package/dist/UtilitySearch-CNMjUSMs.js +19 -0
- package/dist/UtilitySearch-CNMjUSMs.js.map +1 -0
- package/dist/UtilitySideBar-BctiUpCK.js +183 -0
- package/dist/UtilitySideBar-BctiUpCK.js.map +1 -0
- package/dist/Utils-D88bx0om.js +36 -0
- package/dist/Utils-D88bx0om.js.map +1 -0
- package/dist/VectorLayer-D-M09CeK.js +72 -0
- package/dist/VectorLayer-D-M09CeK.js.map +1 -0
- package/dist/VirtualBrowser-athQsk29.js +431 -0
- package/dist/VirtualBrowser-athQsk29.js.map +1 -0
- package/dist/VirtualForm-D_XuJ6yA.js +66 -0
- package/dist/VirtualForm-D_XuJ6yA.js.map +1 -0
- package/dist/WidgetCard-iqNGJJfK.js +71 -0
- package/dist/WidgetCard-iqNGJJfK.js.map +1 -0
- package/dist/WorkOrderCard-BoIh0Ugm.js +55 -0
- package/dist/WorkOrderCard-BoIh0Ugm.js.map +1 -0
- package/dist/WorkflowContainer-oic0TU4N.js +191 -0
- package/dist/WorkflowContainer-oic0TU4N.js.map +1 -0
- package/dist/WorkflowContent-CvtmIOUc.js +428 -0
- package/dist/WorkflowContent-CvtmIOUc.js.map +1 -0
- package/dist/WorkflowTaskFlow-C1AZHdeh.js +135 -0
- package/dist/WorkflowTaskFlow-C1AZHdeh.js.map +1 -0
- package/dist/WorkflowTreeMenu-BWRRXMlk.js +346 -0
- package/dist/WorkflowTreeMenu-BWRRXMlk.js.map +1 -0
- package/dist/ZoomControl-D5pHo2lE.js +38 -0
- package/dist/ZoomControl-D5pHo2lE.js.map +1 -0
- package/dist/actionUtils-DEJ6SnPN.js +218 -0
- package/dist/actionUtils-DEJ6SnPN.js.map +1 -0
- package/dist/actions/actionSummary/index.js +1 -1
- package/dist/actions/index.js +6 -8
- package/dist/actions/sidebar/index.js +1 -1
- package/dist/actions/utils/index.js +1 -1
- package/dist/aggregateUtils-CSgWZ6jj.js +70 -0
- package/dist/aggregateUtils-CSgWZ6jj.js.map +1 -0
- package/dist/aggridHelpers-7OBKxJGq.js +103 -0
- package/dist/aggridHelpers-7OBKxJGq.js.map +1 -0
- package/dist/apiHelpers-CQSnEbMA.js +242 -0
- package/dist/apiHelpers-CQSnEbMA.js.map +1 -0
- package/dist/arrayMutators-DXqE79lJ.js +76 -0
- package/dist/arrayMutators-DXqE79lJ.js.map +1 -0
- package/dist/assets/index.js +1 -1
- package/dist/axiosInterceptors-C-9zDHW-.js +27 -0
- package/dist/axiosInterceptors-C-9zDHW-.js.map +1 -0
- package/dist/brand-B_EMx6Oy.js +27 -0
- package/dist/brand-B_EMx6Oy.js.map +1 -0
- package/dist/catalogStore-Ck4aj6U7.js +30 -0
- package/dist/catalogStore-Ck4aj6U7.js.map +1 -0
- package/dist/chatBot/index.js +1 -1
- package/dist/colorConverter-D4fNNiXE.js +97 -0
- package/dist/colorConverter-D4fNNiXE.js.map +1 -0
- package/dist/colors-BBCRjsuj.js +73 -0
- package/dist/colors-BBCRjsuj.js.map +1 -0
- package/dist/componentSystems/multiThreadTimeline/functions/index.js +1 -1
- package/dist/componentSystems/multiThreadTimeline/index.js +7 -11
- package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/index.js +1 -1
- package/dist/componentSystems/multiThreadTimeline/mttSummary/index.js +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/index.js +4 -4
- package/dist/componentSystems/multiThreadTimeline/ui/modified/index.js +1 -1
- package/dist/componentSystems/pageRenderer/hocs/index.js +1 -1
- package/dist/componentSystems/pageRenderer/hooks/index.js +1 -1
- package/dist/componentSystems/pageRenderer/index.js +5 -9
- package/dist/componentSystems/pageRenderer/utils/index.js +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/index.js +1 -1
- package/dist/configService/index.js +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/containers/index.js +1 -1
- package/dist/contexts/index.js +4 -4
- package/dist/crudActions-voPFL1T5.js +205 -0
- package/dist/crudActions-voPFL1T5.js.map +1 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/dataBrowser/forms/index.js +1 -1
- package/dist/dataBrowser/index.js +2 -3
- package/dist/dateUtils-CeimQs9e.js +62 -0
- package/dist/dateUtils-CeimQs9e.js.map +1 -0
- package/dist/diffChecker/index.js +1 -1
- package/dist/entityUtilities-COeBqY4z.js +22 -0
- package/dist/entityUtilities-COeBqY4z.js.map +1 -0
- package/dist/enums/index.js +8 -8
- package/dist/env-z5tDq7sz.js +17 -0
- package/dist/env-z5tDq7sz.js.map +1 -0
- package/dist/formatBytes-BignBxIi.js +23 -0
- package/dist/formatBytes-BignBxIi.js.map +1 -0
- package/dist/gridVisualizationFunctions-CNc0QSD6.js +67 -0
- package/dist/gridVisualizationFunctions-CNc0QSD6.js.map +1 -0
- package/dist/hooks/index.js +15 -15
- package/dist/index.js +301 -303
- package/dist/index.js.map +1 -1
- package/dist/inquiry/dashboard/index.js +2 -2
- package/dist/inquiry/index.js +6 -6
- package/dist/inquiry/inquiryBar/index.js +1 -1
- package/dist/inquiry/search/index.js +1 -1
- package/dist/inquiryStore-1p6yo1si.js +39 -0
- package/dist/inquiryStore-1p6yo1si.js.map +1 -0
- package/dist/isValueSelected-DhRqZZPu.js +10 -0
- package/dist/isValueSelected-DhRqZZPu.js.map +1 -0
- package/dist/layout/index.js +3 -3
- package/dist/lookupsStore-DPI8oD9R.js +20 -0
- package/dist/lookupsStore-DPI8oD9R.js.map +1 -0
- package/dist/maintenanceEngine/crudBrowser/index.js +2 -2
- package/dist/maintenanceEngine/index.js +4 -7
- package/dist/maintenanceEngine/tableBrowser/index.js +1 -1
- package/dist/maintenanceEngine/virtualBrowser/index.js +1 -1
- package/dist/map-library/Controls/index.js +3 -3
- package/dist/map-library/Controls/index.js.map +1 -1
- package/dist/map-library/Layers/index.js +1 -1
- package/dist/map-library/Map/index.js +1 -1
- package/dist/map-library/Source/index.js +1 -4
- package/dist/map-library/Source/index.js.map +1 -1
- package/dist/map-library/functions/index.js +1 -1
- package/dist/map-library/geoLocation/index.js +1 -1
- package/dist/map-library/ui/index.js +1 -1
- package/dist/mapFunctions-n2mui9dU.js +32 -0
- package/dist/mapFunctions-n2mui9dU.js.map +1 -0
- package/dist/maps/index.js +1 -1
- package/dist/maps/leafletMaps/index.js +1 -1
- package/dist/maps/leafletMaps/ui/index.js +1 -1
- package/dist/maps/openLayerMaps/Controls/index.js +2 -2
- package/dist/maps/openLayerMaps/Layers/index.js +1 -1
- package/dist/maps/openLayerMaps/Map/index.js +2 -2
- package/dist/maps/openLayerMaps/Source/index.js +2 -2
- package/dist/menuPage/index.js +2 -2
- package/dist/menuUtilities-DrjuVzpK.js +76 -0
- package/dist/menuUtilities-DrjuVzpK.js.map +1 -0
- package/dist/methodUtils-PKTRJpSD.js +34 -0
- package/dist/methodUtils-PKTRJpSD.js.map +1 -0
- package/dist/models/index.js +2 -2
- package/dist/mttFunctions-D0Fpxakk.js +248 -0
- package/dist/mttFunctions-D0Fpxakk.js.map +1 -0
- package/dist/notes/index.js +1 -1
- package/dist/osm-CQxeQA-g.js +31 -0
- package/dist/osm-CQxeQA-g.js.map +1 -0
- package/dist/page/PageContainer/index.js +1 -1
- package/dist/page/index.js +1 -1
- package/dist/pageEnums-BAFH7P4f.js +22 -0
- package/dist/pageEnums-BAFH7P4f.js.map +1 -0
- package/dist/paymentVendorFactoryEnum-Mq0LPnfG.js +38 -0
- package/dist/paymentVendorFactoryEnum-Mq0LPnfG.js.map +1 -0
- package/dist/propertyTypeEnums--LnjiFP4.js +15 -0
- package/dist/propertyTypeEnums--LnjiFP4.js.map +1 -0
- package/dist/providers/index.js +1 -1
- package/dist/redirectToLink-BOg4ML1r.js +31 -0
- package/dist/redirectToLink-BOg4ML1r.js.map +1 -0
- package/dist/redirectToProduct-DAp1z5P8.js +9 -0
- package/dist/redirectToProduct-DAp1z5P8.js.map +1 -0
- package/dist/reminderConstants-IPyFwGAf.js +12 -0
- package/dist/reminderConstants-IPyFwGAf.js.map +1 -0
- package/dist/reminders/index.js +2 -2
- package/dist/reports/index.js +1 -1
- package/dist/routeRegistryStore-BS3hcd9s.js +33 -0
- package/dist/routeRegistryStore-BS3hcd9s.js.map +1 -0
- package/dist/routes/components/index.js +4 -4
- package/dist/routes/index.js +1 -1
- package/dist/searchEnums-DruwPmGC.js +11 -0
- package/dist/searchEnums-DruwPmGC.js.map +1 -0
- package/dist/shell/index.js +7 -8
- package/dist/shell/ui/index.js +6 -6
- package/dist/shell/ui/profile/index.js +1 -1
- package/dist/shell/ui/user/index.js +2 -2
- package/dist/shellStore-CM3ibypS.js +31 -0
- package/dist/shellStore-CM3ibypS.js.map +1 -0
- package/dist/stores/index.js +7 -7
- package/dist/stringUtils-EaI5CZJA.js +27 -0
- package/dist/stringUtils-EaI5CZJA.js.map +1 -0
- package/dist/systemColors-j8Hqydbg.js +275 -0
- package/dist/systemColors-j8Hqydbg.js.map +1 -0
- package/dist/tagEnums-pSvvqkV3.js +11 -0
- package/dist/tagEnums-pSvvqkV3.js.map +1 -0
- package/dist/teleporterStore-MefUAPMV.js +33 -0
- package/dist/teleporterStore-MefUAPMV.js.map +1 -0
- package/dist/tenantContext-BtJkQsC_.js +8 -0
- package/dist/tenantContext-BtJkQsC_.js.map +1 -0
- package/dist/tenantStore-C20cvOKD.js +19 -0
- package/dist/tenantStore-C20cvOKD.js.map +1 -0
- package/dist/treeMenu/index.js +1 -1
- package/dist/types/src/UI/navigation/menus/AppMenuItem.d.ts.map +1 -1
- package/dist/types/src/UI/widgets/library/RemindersWidget/RemindersWidget.d.ts.map +1 -1
- package/dist/types/src/inquiry/Inquiry.d.ts +0 -1
- package/dist/types/src/inquiry/Inquiry.d.ts.map +1 -1
- package/dist/types/src/inquiry/InquiryContainer.d.ts +0 -1
- package/dist/types/src/inquiry/InquiryContainer.d.ts.map +1 -1
- package/dist/types/src/routes/UdpRoutes.d.ts.map +1 -1
- package/dist/types/src/shell/Shell.d.ts.map +1 -1
- package/dist/types/src/shell/useShellVisibility.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/udp/ShortcutContent/index.js +1 -1
- package/dist/udp/export/index.js +2 -2
- package/dist/udp/fileImportMapping/index.js +2 -2
- package/dist/udp/pages/ChatUDP/index.js +8 -2
- package/dist/udp/pages/ChatUDP/index.js.map +1 -0
- package/dist/udp/pages/UdpAuditEvents/index.js +8 -2
- package/dist/udp/pages/UdpAuditEvents/index.js.map +1 -0
- package/dist/udp/pages/UdpDataBrowserPage/index.js +11 -2
- package/dist/udp/pages/UdpDataBrowserPage/index.js.map +1 -0
- package/dist/udp/pages/UdpFormsBuilderPage/index.js +11 -2
- package/dist/udp/pages/UdpFormsBuilderPage/index.js.map +1 -0
- package/dist/udp/pages/UdpFormsListPage/index.js +11 -2
- package/dist/udp/pages/UdpFormsListPage/index.js.map +1 -0
- package/dist/udp/pages/UdpFormsPrivateForm/index.js +11 -2
- package/dist/udp/pages/UdpFormsPrivateForm/index.js.map +1 -0
- package/dist/udp/pages/UdpFormsPublicForm/index.js +11 -2
- package/dist/udp/pages/UdpFormsPublicForm/index.js.map +1 -0
- package/dist/udp/pages/UdpFormsSubmissionGrid/index.js +1 -1
- package/dist/udp/pages/UdpFormsSubmissionGridManagerPage/index.js +11 -2
- package/dist/udp/pages/UdpFormsSubmissionGridManagerPage/index.js.map +1 -0
- package/dist/udp/pages/UdpFormsSubmissionGridResponderPage/index.js +11 -2
- package/dist/udp/pages/UdpFormsSubmissionGridResponderPage/index.js.map +1 -0
- package/dist/udp/pages/UdpGridPanelManagementPage/index.js +8 -2
- package/dist/udp/pages/UdpGridPanelManagementPage/index.js.map +1 -0
- package/dist/udp/pages/UdpGridPanelManagementSidesheet/index.js +2 -2
- package/dist/udp/pages/UdpImportFromFileMappingPage/index.js +8 -2
- package/dist/udp/pages/UdpImportFromFileMappingPage/index.js.map +1 -0
- package/dist/udp/pages/UdpInquiryMaintenanceEnginePage/index.js +8 -2
- package/dist/udp/pages/UdpInquiryMaintenanceEnginePage/index.js.map +1 -0
- package/dist/udp/pages/UdpMaintenanceConfigPage/index.js +2 -2
- package/dist/udp/pages/UdpMaintenanceEnginePage/index.js +11 -2
- package/dist/udp/pages/UdpMaintenanceEnginePage/index.js.map +1 -0
- package/dist/udp/pages/UdpNotesPage/index.js +8 -2
- package/dist/udp/pages/UdpNotesPage/index.js.map +1 -0
- package/dist/udp/pages/UdpPages/index.js +24 -24
- package/dist/udp/pages/UdpPagesLazy/index.js +1 -1
- package/dist/udp/pages/UdpRemindersPage/index.js +8 -2
- package/dist/udp/pages/UdpRemindersPage/index.js.map +1 -0
- package/dist/udp/pages/UdpReportsPage/index.js +8 -2
- package/dist/udp/pages/UdpReportsPage/index.js.map +1 -0
- package/dist/udp/pages/UdpTransactionTypesPage/index.js +8 -2
- package/dist/udp/pages/UdpTransactionTypesPage/index.js.map +1 -0
- package/dist/udp/pages/UdpTransactionsPage/index.js +8 -2
- package/dist/udp/pages/UdpTransactionsPage/index.js.map +1 -0
- package/dist/udp/pages/UdpVerticalManagementPage/index.js +8 -2
- package/dist/udp/pages/UdpVerticalManagementPage/index.js.map +1 -0
- package/dist/udp/pages/UdpVerticalManagementSidesheet/index.js +2 -2
- package/dist/udp/utilities/index.js +1 -1
- package/dist/udp-stepper-DMR1cYW4.js +11 -0
- package/dist/udp-stepper-DMR1cYW4.js.map +1 -0
- package/dist/unitySystemEnums-DnxEalNP.js +344 -0
- package/dist/unitySystemEnums-DnxEalNP.js.map +1 -0
- package/dist/uploader/index.js +2 -2
- package/dist/useAccessToken-Cs77MTA6.js +38 -0
- package/dist/useAccessToken-Cs77MTA6.js.map +1 -0
- package/dist/useActions-D1HvluXe.js +192 -0
- package/dist/useActions-D1HvluXe.js.map +1 -0
- package/dist/useApiCatalog-CHhJszWO.js +62 -0
- package/dist/useApiCatalog-CHhJszWO.js.map +1 -0
- package/dist/useAuthedUser-BGUw1f7h.js +34 -0
- package/dist/useAuthedUser-BGUw1f7h.js.map +1 -0
- package/dist/useAxiosGet-BtxSpEO3.js +78 -0
- package/dist/useAxiosGet-BtxSpEO3.js.map +1 -0
- package/dist/useAxiosMutate-DfnYYAzN.js +43 -0
- package/dist/useAxiosMutate-DfnYYAzN.js.map +1 -0
- package/dist/useBuildEnvironment-cD_FXewz.js +23 -0
- package/dist/useBuildEnvironment-cD_FXewz.js.map +1 -0
- package/dist/useChatBot-DsJZ4f0O.js +11 -0
- package/dist/useChatBot-DsJZ4f0O.js.map +1 -0
- package/dist/useDefaultFormValues-BlAU4_k9.js +13 -0
- package/dist/useDefaultFormValues-BlAU4_k9.js.map +1 -0
- package/dist/useDynamicListCalculation-BzXkwt1u.js +41 -0
- package/dist/useDynamicListCalculation-BzXkwt1u.js.map +1 -0
- package/dist/useFluentIcon-Dy-hy_aD.js +14 -0
- package/dist/useFluentIcon-Dy-hy_aD.js.map +1 -0
- package/dist/useGravatar-VGvEtaNY.js +49 -0
- package/dist/useGravatar-VGvEtaNY.js.map +1 -0
- package/dist/useId-BtsUeP0S.js +24 -0
- package/dist/useId-BtsUeP0S.js.map +1 -0
- package/dist/useIsUnityAuthenticated-B31UDioq.js +10 -0
- package/dist/useIsUnityAuthenticated-B31UDioq.js.map +1 -0
- package/dist/useItemSubCard-CJ3DL7fz.js +41 -0
- package/dist/useItemSubCard-CJ3DL7fz.js.map +1 -0
- package/dist/usePageContext-IRrV4wtD.js +9 -0
- package/dist/usePageContext-IRrV4wtD.js.map +1 -0
- package/dist/usePreloadPages-COp3xC9B.js +291 -0
- package/dist/usePreloadPages-COp3xC9B.js.map +1 -0
- package/dist/usePrevious-CPngZi5X.js +14 -0
- package/dist/usePrevious-CPngZi5X.js.map +1 -0
- package/dist/usePromotedMethodEntities-aq7wyRTP.js +97 -0
- package/dist/usePromotedMethodEntities-aq7wyRTP.js.map +1 -0
- package/dist/usePromotedMethodEntity-DBnWpEze.js +90 -0
- package/dist/usePromotedMethodEntity-DBnWpEze.js.map +1 -0
- package/dist/useQueryExecutors-BtIsCrBe.js +148 -0
- package/dist/useQueryExecutors-BtIsCrBe.js.map +1 -0
- package/dist/useReadMetaData-CiWx4MJr.js +31 -0
- package/dist/useReadMetaData-CiWx4MJr.js.map +1 -0
- package/dist/useSearchFilterParamsMap-Ct5OIJpR.js +128 -0
- package/dist/useSearchFilterParamsMap-Ct5OIJpR.js.map +1 -0
- package/dist/useSetLocationState-Kvcc9BTb.js +25 -0
- package/dist/useSetLocationState-Kvcc9BTb.js.map +1 -0
- package/dist/useSplitDecimal-7ZHhEWK4.js +24 -0
- package/dist/useSplitDecimal-7ZHhEWK4.js.map +1 -0
- package/dist/useTenant-6MaSjnVs.js +11 -0
- package/dist/useTenant-6MaSjnVs.js.map +1 -0
- package/dist/useUpdateSearchParams-CTCoUycu.js +23 -0
- package/dist/useUpdateSearchParams-CTCoUycu.js.map +1 -0
- package/dist/useUser-B_mCveqm.js +21 -0
- package/dist/useUser-B_mCveqm.js.map +1 -0
- package/dist/utilities/DemoJuly/index.js +1 -1
- package/dist/utilities/aggrid/datasources/index.js +1 -1
- package/dist/utilities/aggrid/index.js +3 -3
- package/dist/utilities/auth/index.js +7 -7
- package/dist/utilities/catalog/index.js +1 -1
- package/dist/utilities/chatBot/index.js +3 -3
- package/dist/utilities/crud/index.js +1 -1
- package/dist/utilities/customIcons/index.js +1 -1
- package/dist/utilities/entities/index.js +1 -1
- package/dist/utilities/floorplanFunctions/index.js +1 -1
- package/dist/utilities/form/index.js +2 -2
- package/dist/utilities/form/paymentForm/index.js +1 -1
- package/dist/utilities/iconLibrary/index.js +3 -3
- package/dist/utilities/index.js +6 -6
- package/dist/utilities/input/index.js +3 -3
- package/dist/utilities/menus/index.js +2 -2
- package/dist/utilities/page/index.js +1 -1
- package/dist/utilities/provider/index.js +1 -1
- package/dist/utilities/redirect/index.js +2 -2
- package/dist/utilities/redirect/pages/index.js +1 -1
- package/dist/utilities/rules/index.js +1 -1
- package/dist/utilities/search/index.js +1 -1
- package/dist/utilities/storage/index.js +1 -1
- package/dist/utilities/style/index.js +4 -4
- package/dist/utilities/tenant/index.js +3 -3
- package/dist/utilities/theme/index.js +2 -2
- package/dist/utilities/tree/index.js +1 -1
- package/dist/utilities/uploader/index.js +2 -2
- package/dist/utilities/utilityBar/index.js +4 -4
- package/dist/utilities/workflow/index.js +1 -1
- package/dist/verticalStyles-CUPjFvB1.js +141 -0
- package/dist/verticalStyles-CUPjFvB1.js.map +1 -0
- package/dist/virtualActions-DJksUYoV.js +84 -0
- package/dist/virtualActions-DJksUYoV.js.map +1 -0
- package/dist/withEngineComponent-G08rAK1l.js +28 -0
- package/dist/withEngineComponent-G08rAK1l.js.map +1 -0
- package/dist/workflow/components/index.js +1 -1
- package/dist/workflow/index.js +4 -6
- package/dist/workflow/menus/index.js +1 -1
- package/dist/workflowEnums-BOY94jV5.js +48 -0
- package/dist/workflowEnums-BOY94jV5.js.map +1 -0
- package/dist/workflowStore-CTFAxYvM.js +25 -0
- package/dist/workflowStore-CTFAxYvM.js.map +1 -0
- package/dist/workflowUtilities-DKasG1Wh.js +152 -0
- package/dist/workflowUtilities-DKasG1Wh.js.map +1 -0
- package/export-map.json +3 -2
- package/package.json +3 -3
- package/dist/AadCallback-BEEsLAAU.js +0 -22
- package/dist/AadCallback-BEEsLAAU.js.map +0 -1
- package/dist/ActionLoadingContext-_3fvmSra.js +0 -8
- package/dist/ActionLoadingContext-_3fvmSra.js.map +0 -1
- package/dist/ActionLoadingDispatchContext-XEU8GWlw.js +0 -16
- package/dist/ActionLoadingDispatchContext-XEU8GWlw.js.map +0 -1
- package/dist/ActionProvider-C-rOvX7T.js +0 -368
- package/dist/ActionProvider-C-rOvX7T.js.map +0 -1
- package/dist/ActionSplitScreen-BYCBpj0I.js +0 -296
- package/dist/ActionSplitScreen-BYCBpj0I.js.map +0 -1
- package/dist/ActionWrapper-eSKXO-La.js +0 -891
- package/dist/ActionWrapper-eSKXO-La.js.map +0 -1
- package/dist/ActionsRenderer-CVsAe0kp.js +0 -156
- package/dist/ActionsRenderer-CVsAe0kp.js.map +0 -1
- package/dist/ActionsRenderer-IIwTAKkM.js +0 -242
- package/dist/ActionsRenderer-IIwTAKkM.js.map +0 -1
- package/dist/AddUser-DvXzHyce.js +0 -209
- package/dist/AddUser-DvXzHyce.js.map +0 -1
- package/dist/AddressListItem-BCf9YwLe.js +0 -19
- package/dist/AddressListItem-BCf9YwLe.js.map +0 -1
- package/dist/Adornment-DC7Rxeod.js +0 -19
- package/dist/Adornment-DC7Rxeod.js.map +0 -1
- package/dist/AgTable-DUuA_1_w.js +0 -184
- package/dist/AgTable-DUuA_1_w.js.map +0 -1
- package/dist/AggregateChip-OakDaJQz.js +0 -242
- package/dist/AggregateChip-OakDaJQz.js.map +0 -1
- package/dist/AmChart-Cp3C60Xt.js +0 -71
- package/dist/AmChart-Cp3C60Xt.js.map +0 -1
- package/dist/AmbientAlert-YD7oDC6G.js +0 -42
- package/dist/AmbientAlert-YD7oDC6G.js.map +0 -1
- package/dist/AmbientAutoComplete-Do6EdcKH.js +0 -103
- package/dist/AmbientAutoComplete-Do6EdcKH.js.map +0 -1
- package/dist/AmbientCard-BPdGHXlC.js +0 -165
- package/dist/AmbientCard-BPdGHXlC.js.map +0 -1
- package/dist/AmbientCardButton-CgFHA9O7.js +0 -31
- package/dist/AmbientCardButton-CgFHA9O7.js.map +0 -1
- package/dist/AmbientCardTitle-D3TQb_mO.js +0 -38
- package/dist/AmbientCardTitle-D3TQb_mO.js.map +0 -1
- package/dist/AmbientChipButton-Dvno4A4p.js +0 -50
- package/dist/AmbientChipButton-Dvno4A4p.js.map +0 -1
- package/dist/AmbientGridTemplate-B-2P8Z48.js +0 -458
- package/dist/AmbientGridTemplate-B-2P8Z48.js.map +0 -1
- package/dist/AmbientPopoverMenuItem-BZuX43zJ.js +0 -75
- package/dist/AmbientPopoverMenuItem-BZuX43zJ.js.map +0 -1
- package/dist/AmbientSingleDateSelector-BxdmG4wJ.js +0 -51
- package/dist/AmbientSingleDateSelector-BxdmG4wJ.js.map +0 -1
- package/dist/AmbientStepper-C41VSlfb.js +0 -175
- package/dist/AmbientStepper-C41VSlfb.js.map +0 -1
- package/dist/AmbientTextField-DRzHKtkQ.js +0 -79
- package/dist/AmbientTextField-DRzHKtkQ.js.map +0 -1
- package/dist/AmbientToast-DYjnpuom.js +0 -70
- package/dist/AmbientToast-DYjnpuom.js.map +0 -1
- package/dist/AmbientToggleButton-Dws3VZre.js +0 -67
- package/dist/AmbientToggleButton-Dws3VZre.js.map +0 -1
- package/dist/AmbientToggleButtonGroup-Bi0_MmLy.js +0 -88
- package/dist/AmbientToggleButtonGroup-Bi0_MmLy.js.map +0 -1
- package/dist/AmbientToggleButtonGroupDefault-C1pcF7NJ.js +0 -108
- package/dist/AmbientToggleButtonGroupDefault-C1pcF7NJ.js.map +0 -1
- package/dist/AmbientTokenButton-cLJ6hZ8y.js +0 -46
- package/dist/AmbientTokenButton-cLJ6hZ8y.js.map +0 -1
- package/dist/AmbientVisualizationCard-jQoTQn4B.js +0 -232
- package/dist/AmbientVisualizationCard-jQoTQn4B.js.map +0 -1
- package/dist/AmbientVisualizer-TUfS7Ji1.js +0 -627
- package/dist/AmbientVisualizer-TUfS7Ji1.js.map +0 -1
- package/dist/AuthProvider-BqJwFZ32.js +0 -223
- package/dist/AuthProvider-BqJwFZ32.js.map +0 -1
- package/dist/AvatarAlphabet-D0xvvgt_.js +0 -187
- package/dist/AvatarAlphabet-D0xvvgt_.js.map +0 -1
- package/dist/BarChartWidget-B3eR79xf.js +0 -85
- package/dist/BarChartWidget-B3eR79xf.js.map +0 -1
- package/dist/BaseTreeMenu-C634MxX3.js +0 -357
- package/dist/BaseTreeMenu-C634MxX3.js.map +0 -1
- package/dist/BioCard-CcVtfnsP.js +0 -60
- package/dist/BioCard-CcVtfnsP.js.map +0 -1
- package/dist/BioCardWrapper-tNRTuuzM.js +0 -513
- package/dist/BioCardWrapper-tNRTuuzM.js.map +0 -1
- package/dist/Box-D9LwjWMs.js +0 -11
- package/dist/Box-D9LwjWMs.js.map +0 -1
- package/dist/BreadCrumbMenu-A7WPbzoD.js +0 -54
- package/dist/BreadCrumbMenu-A7WPbzoD.js.map +0 -1
- package/dist/BubbleWidget-DLYcC_0s.js +0 -57
- package/dist/BubbleWidget-DLYcC_0s.js.map +0 -1
- package/dist/BulkActionsGridButton-LmhDzlub.js +0 -922
- package/dist/BulkActionsGridButton-LmhDzlub.js.map +0 -1
- package/dist/CardList-C47BaEOs.js +0 -78
- package/dist/CardList-C47BaEOs.js.map +0 -1
- package/dist/CatalogUtilities-DKUurxEC.js +0 -16
- package/dist/CatalogUtilities-DKUurxEC.js.map +0 -1
- package/dist/ChartSummaryToggle-DYf-JGhR.js +0 -30
- package/dist/ChartSummaryToggle-DYf-JGhR.js.map +0 -1
- package/dist/ChatBotContext-CPTW74Kn.js +0 -8
- package/dist/ChatBotContext-CPTW74Kn.js.map +0 -1
- package/dist/ChatBotProvider-ITDFZzTR.js +0 -55
- package/dist/ChatBotProvider-ITDFZzTR.js.map +0 -1
- package/dist/ChatContainer-CoOjD92U.js +0 -254
- package/dist/ChatContainer-CoOjD92U.js.map +0 -1
- package/dist/ChatUDP-B_WzI431.js +0 -17
- package/dist/ChatUDP-B_WzI431.js.map +0 -1
- package/dist/ChipAlphabet-Cm3zSPyy.js +0 -353
- package/dist/ChipAlphabet-Cm3zSPyy.js.map +0 -1
- package/dist/CircleButton-4iyPEZ5n.js +0 -240
- package/dist/CircleButton-4iyPEZ5n.js.map +0 -1
- package/dist/CircularProgress-CS4Nmg9e.js +0 -48
- package/dist/CircularProgress-CS4Nmg9e.js.map +0 -1
- package/dist/CkRichEditor-FlXjrAbt.js +0 -47
- package/dist/CkRichEditor-FlXjrAbt.js.map +0 -1
- package/dist/ClientSideUdpGrid-C0K4f8_F.js +0 -11
- package/dist/ClientSideUdpGrid-C0K4f8_F.js.map +0 -1
- package/dist/CompactDataList-DbcQ8Pev.js +0 -16
- package/dist/CompactDataList-DbcQ8Pev.js.map +0 -1
- package/dist/CompactDataListItem-C-U7mHuO.js +0 -28
- package/dist/CompactDataListItem-C-U7mHuO.js.map +0 -1
- package/dist/ContentContainer-48IVuBil.js +0 -30
- package/dist/ContentContainer-48IVuBil.js.map +0 -1
- package/dist/Controls-BsYyuNgC.js +0 -27
- package/dist/Controls-BsYyuNgC.js.map +0 -1
- package/dist/ConvertISODate-C7J-GNyS.js +0 -8
- package/dist/ConvertISODate-C7J-GNyS.js.map +0 -1
- package/dist/CrudBrowserContainer-BmY7HVqK.js +0 -176
- package/dist/CrudBrowserContainer-BmY7HVqK.js.map +0 -1
- package/dist/CrudForm-ulyTiGH8.js +0 -349
- package/dist/CrudForm-ulyTiGH8.js.map +0 -1
- package/dist/CrudTableSidePanel-KWbs0sT2.js +0 -120
- package/dist/CrudTableSidePanel-KWbs0sT2.js.map +0 -1
- package/dist/CustomNavigationClient-C97mDvZS.js +0 -24
- package/dist/CustomNavigationClient-C97mDvZS.js.map +0 -1
- package/dist/DashboardWidget-d7oth8eq.js +0 -345
- package/dist/DashboardWidget-d7oth8eq.js.map +0 -1
- package/dist/DataBrowserContainer-Ff59ACXw.js +0 -397
- package/dist/DataBrowserContainer-Ff59ACXw.js.map +0 -1
- package/dist/DateTimeField-DoOiiJG0.js +0 -32
- package/dist/DateTimeField-DoOiiJG0.js.map +0 -1
- package/dist/DateTrendWidget-6Z8M2WiH.js +0 -60
- package/dist/DateTrendWidget-6Z8M2WiH.js.map +0 -1
- package/dist/DateUtilities-CXE3_0fZ.js +0 -15
- package/dist/DateUtilities-CXE3_0fZ.js.map +0 -1
- package/dist/DensePlotWidget-T83DlUbp.js +0 -67
- package/dist/DensePlotWidget-T83DlUbp.js.map +0 -1
- package/dist/DiffChecker-Cl8vLz1b.js +0 -38
- package/dist/DiffChecker-Cl8vLz1b.js.map +0 -1
- package/dist/Directory-BF0P1fdJ.js +0 -52
- package/dist/Directory-BF0P1fdJ.js.map +0 -1
- package/dist/Divider-yzcQb96A.js +0 -11
- package/dist/Divider-yzcQb96A.js.map +0 -1
- package/dist/DonutChartWidget-CRvJ8DBg.js +0 -161
- package/dist/DonutChartWidget-CRvJ8DBg.js.map +0 -1
- package/dist/DragDropFileUpload-DtgOcsY6.js +0 -89
- package/dist/DragDropFileUpload-DtgOcsY6.js.map +0 -1
- package/dist/DraggableSidebarTemplate-CxpjYvXh.js +0 -93
- package/dist/DraggableSidebarTemplate-CxpjYvXh.js.map +0 -1
- package/dist/DynamicContainerWithMenu-CCJd0YvO.js +0 -141
- package/dist/DynamicContainerWithMenu-CCJd0YvO.js.map +0 -1
- package/dist/DynamicRangeSlider-Cd7HQSWI.js +0 -569
- package/dist/DynamicRangeSlider-Cd7HQSWI.js.map +0 -1
- package/dist/Ellipse-DMZFbtkw.js +0 -113
- package/dist/Ellipse-DMZFbtkw.js.map +0 -1
- package/dist/EmailDisplay-BoaM2rDm.js +0 -116
- package/dist/EmailDisplay-BoaM2rDm.js.map +0 -1
- package/dist/EmptyStateDisplay-D5C4Stpu.js +0 -66
- package/dist/EmptyStateDisplay-D5C4Stpu.js.map +0 -1
- package/dist/EntityHeader-DxSTk0nZ.js +0 -528
- package/dist/EntityHeader-DxSTk0nZ.js.map +0 -1
- package/dist/EntitySideBarContent-B05Beh22.js +0 -84
- package/dist/EntitySideBarContent-B05Beh22.js.map +0 -1
- package/dist/ExportSidesheet-DNAvbnAe.js +0 -334
- package/dist/ExportSidesheet-DNAvbnAe.js.map +0 -1
- package/dist/ExtenderToggle-BAExkFX_.js +0 -48
- package/dist/ExtenderToggle-BAExkFX_.js.map +0 -1
- package/dist/ExternalRedirectUrlStorage-DlL6xYiI.js +0 -15
- package/dist/ExternalRedirectUrlStorage-DlL6xYiI.js.map +0 -1
- package/dist/FUIAppSwitcher-CD_a0Fmh.js +0 -360
- package/dist/FUIAppSwitcher-CD_a0Fmh.js.map +0 -1
- package/dist/FUICard-DKmQ9LsH.js +0 -140
- package/dist/FUICard-DKmQ9LsH.js.map +0 -1
- package/dist/FUIMenuItem-B1BB6sQJ.js +0 -26
- package/dist/FUIMenuItem-B1BB6sQJ.js.map +0 -1
- package/dist/FUISquareIconButton-DwTSTnBV.js +0 -20
- package/dist/FUISquareIconButton-DwTSTnBV.js.map +0 -1
- package/dist/FieldArrayCard-CN573yDz.js +0 -404
- package/dist/FieldArrayCard-CN573yDz.js.map +0 -1
- package/dist/FileUpload-CSFe_I4O.js +0 -241
- package/dist/FileUpload-CSFe_I4O.js.map +0 -1
- package/dist/FluentActivity-C2Fqfe7q.js +0 -69
- package/dist/FluentActivity-C2Fqfe7q.js.map +0 -1
- package/dist/FluentBody-CKrcc68E.js +0 -16
- package/dist/FluentBody-CKrcc68E.js.map +0 -1
- package/dist/FluentCard-C3qSYfiz.js +0 -23
- package/dist/FluentCard-C3qSYfiz.js.map +0 -1
- package/dist/FluentCardHeader-C5lZHrGA.js +0 -29
- package/dist/FluentCardHeader-C5lZHrGA.js.map +0 -1
- package/dist/FluentCardText-CP1oM6UH.js +0 -89
- package/dist/FluentCardText-CP1oM6UH.js.map +0 -1
- package/dist/FluentCell-BFGKJfUm.js +0 -81
- package/dist/FluentCell-BFGKJfUm.js.map +0 -1
- package/dist/FluentCheckbox-BXmOI5PP.js +0 -23
- package/dist/FluentCheckbox-BXmOI5PP.js.map +0 -1
- package/dist/FluentColorPicker-CfPPFHfr.js +0 -77
- package/dist/FluentColorPicker-CfPPFHfr.js.map +0 -1
- package/dist/FluentDataTable-D4RwEI2j.js +0 -30
- package/dist/FluentDataTable-D4RwEI2j.js.map +0 -1
- package/dist/FluentDatePicker-Bqu7f6Gv.js +0 -75
- package/dist/FluentDatePicker-Bqu7f6Gv.js.map +0 -1
- package/dist/FluentDialog-jQs3r2dc.js +0 -80
- package/dist/FluentDialog-jQs3r2dc.js.map +0 -1
- package/dist/FluentDisplayNumbers-95g1yxKa.js +0 -51
- package/dist/FluentDisplayNumbers-95g1yxKa.js.map +0 -1
- package/dist/FluentHead-P31bIRMf.js +0 -20
- package/dist/FluentHead-P31bIRMf.js.map +0 -1
- package/dist/FluentIcon-Bdl1Wq7N.js +0 -57
- package/dist/FluentIcon-Bdl1Wq7N.js.map +0 -1
- package/dist/FluentIconButton-DbRAEsPC.js +0 -29
- package/dist/FluentIconButton-DbRAEsPC.js.map +0 -1
- package/dist/FluentIconKey-BH6v4Y-6.js +0 -41
- package/dist/FluentIconKey-BH6v4Y-6.js.map +0 -1
- package/dist/FluentInputSlider-DQ0PkXp_.js +0 -50
- package/dist/FluentInputSlider-DQ0PkXp_.js.map +0 -1
- package/dist/FluentLink-BzCIJMR4.js +0 -39
- package/dist/FluentLink-BzCIJMR4.js.map +0 -1
- package/dist/FluentListItem-i4I4ygg1.js +0 -99
- package/dist/FluentListItem-i4I4ygg1.js.map +0 -1
- package/dist/FluentMap-BUEYdY5a.js +0 -72
- package/dist/FluentMap-BUEYdY5a.js.map +0 -1
- package/dist/FluentMenuListItem-BN3LsYom.js +0 -32
- package/dist/FluentMenuListItem-BN3LsYom.js.map +0 -1
- package/dist/FluentRow-BfUNZGtc.js +0 -18
- package/dist/FluentRow-BfUNZGtc.js.map +0 -1
- package/dist/FluentSearchField-BMRDCG1H.js +0 -135
- package/dist/FluentSearchField-BMRDCG1H.js.map +0 -1
- package/dist/FluentSecondaryStatNumber-CvECYMot.js +0 -58
- package/dist/FluentSecondaryStatNumber-CvECYMot.js.map +0 -1
- package/dist/FluentSelectMenu-lzUcXNA4.js +0 -28
- package/dist/FluentSelectMenu-lzUcXNA4.js.map +0 -1
- package/dist/FluentSimpleSelect-BSnkdYHS.js +0 -420
- package/dist/FluentSimpleSelect-BSnkdYHS.js.map +0 -1
- package/dist/FluentSimpleTabs-q3tsGela.js +0 -72
- package/dist/FluentSimpleTabs-q3tsGela.js.map +0 -1
- package/dist/FluentStatNumber-YL09wNx7.js +0 -41
- package/dist/FluentStatNumber-YL09wNx7.js.map +0 -1
- package/dist/FluentStatsSnippet-Bff0hUZg.js +0 -83
- package/dist/FluentStatsSnippet-Bff0hUZg.js.map +0 -1
- package/dist/FluentTabPanel-D6esl6GT.js +0 -24
- package/dist/FluentTabPanel-D6esl6GT.js.map +0 -1
- package/dist/FluentTextField-UqPEyyNn.js +0 -68
- package/dist/FluentTextField-UqPEyyNn.js.map +0 -1
- package/dist/FluentTextFieldAutoComplete-DdYoWp4s.js +0 -100
- package/dist/FluentTextFieldAutoComplete-DdYoWp4s.js.map +0 -1
- package/dist/FluentTimePicker-DHy9K80h.js +0 -67
- package/dist/FluentTimePicker-DHy9K80h.js.map +0 -1
- package/dist/FluentTimeline-D4CkT0rx.js +0 -92
- package/dist/FluentTimeline-D4CkT0rx.js.map +0 -1
- package/dist/FluentToggle-B1DqTfua.js +0 -49
- package/dist/FluentToggle-B1DqTfua.js.map +0 -1
- package/dist/Form-DbOA5j38.js +0 -84
- package/dist/Form-DbOA5j38.js.map +0 -1
- package/dist/FormControl-CapJbXcp.js +0 -12
- package/dist/FormControl-CapJbXcp.js.map +0 -1
- package/dist/FormControlLabel-Bc-7PxXQ.js +0 -17
- package/dist/FormControlLabel-Bc-7PxXQ.js.map +0 -1
- package/dist/GeoLocation-ApJFPNjq.js +0 -116
- package/dist/GeoLocation-ApJFPNjq.js.map +0 -1
- package/dist/GeoMap-oYouiTTp.js +0 -108
- package/dist/GeoMap-oYouiTTp.js.map +0 -1
- package/dist/GraphCard-B2Za6qfO.js +0 -75
- package/dist/GraphCard-B2Za6qfO.js.map +0 -1
- package/dist/Grid-D53QtKSH.js +0 -17
- package/dist/Grid-D53QtKSH.js.map +0 -1
- package/dist/GridFunctions-C25HLAQD.js +0 -150
- package/dist/GridFunctions-C25HLAQD.js.map +0 -1
- package/dist/GridGroupingSidebar-CyLYNgE-.js +0 -142
- package/dist/GridGroupingSidebar-CyLYNgE-.js.map +0 -1
- package/dist/GridRow-D67dcIfq.js +0 -54
- package/dist/GridRow-D67dcIfq.js.map +0 -1
- package/dist/GroupNode-BVz5rDVG.js +0 -39
- package/dist/GroupNode-BVz5rDVG.js.map +0 -1
- package/dist/HeaderExpander-uy6y1fJu.js +0 -53
- package/dist/HeaderExpander-uy6y1fJu.js.map +0 -1
- package/dist/IconButtonWithToolTip-DJL1GdY0.js +0 -28
- package/dist/IconButtonWithToolTip-DJL1GdY0.js.map +0 -1
- package/dist/IconKey-Bbae9hTz.js +0 -60
- package/dist/IconKey-Bbae9hTz.js.map +0 -1
- package/dist/IconLibrary-DgwC5-RT.js +0 -180
- package/dist/IconLibrary-DgwC5-RT.js.map +0 -1
- package/dist/IconRenderer-BXnoXyZE.js +0 -43
- package/dist/IconRenderer-BXnoXyZE.js.map +0 -1
- package/dist/Iframe-DWvGJ5N8.js +0 -31
- package/dist/Iframe-DWvGJ5N8.js.map +0 -1
- package/dist/IframeContainer-COxvmk4b.js +0 -23
- package/dist/IframeContainer-COxvmk4b.js.map +0 -1
- package/dist/ImportDataFromFileMapping-DAAHIY1E.js +0 -569
- package/dist/ImportDataFromFileMapping-DAAHIY1E.js.map +0 -1
- package/dist/IndicatorChip-BvV0P5o7.js +0 -32
- package/dist/IndicatorChip-BvV0P5o7.js.map +0 -1
- package/dist/InputAdornment-CdBOs9yu.js +0 -15
- package/dist/InputAdornment-CdBOs9yu.js.map +0 -1
- package/dist/InputFieldTypeEnums-CtR8GR5A.js +0 -14
- package/dist/InputFieldTypeEnums-CtR8GR5A.js.map +0 -1
- package/dist/Inquiry-DD6PvehQ.js +0 -2642
- package/dist/Inquiry-DD6PvehQ.js.map +0 -1
- package/dist/InquiryDashboard-C4m14B4c.js +0 -17
- package/dist/InquiryDashboard-C4m14B4c.js.map +0 -1
- package/dist/InquiryHeaderControl-D9QjVAxv.js +0 -40
- package/dist/InquiryHeaderControl-D9QjVAxv.js.map +0 -1
- package/dist/InquiryHeaderSecondaryAlert-D9Zq51Y0.js +0 -39
- package/dist/InquiryHeaderSecondaryAlert-D9Zq51Y0.js.map +0 -1
- package/dist/InquiryNodeControls-hqggrYcU.js +0 -209
- package/dist/InquiryNodeControls-hqggrYcU.js.map +0 -1
- package/dist/InquirySearchContainer-AdJFFpFz.js +0 -835
- package/dist/InquirySearchContainer-AdJFFpFz.js.map +0 -1
- package/dist/Layers-Dq6897kA.js +0 -71
- package/dist/Layers-Dq6897kA.js.map +0 -1
- package/dist/LayoutUnit-D4jJvonh.js +0 -80
- package/dist/LayoutUnit-D4jJvonh.js.map +0 -1
- package/dist/LibraryData-CVGbgbz5.js +0 -9043
- package/dist/LibraryData-CVGbgbz5.js.map +0 -1
- package/dist/LineAndSparklinesWidget-Bbmzhm2f.js +0 -101
- package/dist/LineAndSparklinesWidget-Bbmzhm2f.js.map +0 -1
- package/dist/LineGraphWidget-9hf7Sb5c.js +0 -92
- package/dist/LineGraphWidget-9hf7Sb5c.js.map +0 -1
- package/dist/LinearProgress-C6iEYnWR.js +0 -49
- package/dist/LinearProgress-C6iEYnWR.js.map +0 -1
- package/dist/ListCard-CYEFNPyn.js +0 -33
- package/dist/ListCard-CYEFNPyn.js.map +0 -1
- package/dist/LoadingIndicator-xF4GPPFm.js +0 -23
- package/dist/LoadingIndicator-xF4GPPFm.js.map +0 -1
- package/dist/LoadingOverlay-CBKYxgQp.js +0 -17
- package/dist/LoadingOverlay-CBKYxgQp.js.map +0 -1
- package/dist/LocalRedirectUrlStorage-ClMJVi5I.js +0 -42
- package/dist/LocalRedirectUrlStorage-ClMJVi5I.js.map +0 -1
- package/dist/Map-gQoTkJMN.js +0 -56
- package/dist/Map-gQoTkJMN.js.map +0 -1
- package/dist/Map-kWueRnqZ.js +0 -127
- package/dist/Map-kWueRnqZ.js.map +0 -1
- package/dist/MapContent-BYhJR6eD.js +0 -117
- package/dist/MapContent-BYhJR6eD.js.map +0 -1
- package/dist/MapContext-CjzvMLpB.js +0 -9
- package/dist/MapContext-CjzvMLpB.js.map +0 -1
- package/dist/MapContext-bN3cPbi_.js +0 -9
- package/dist/MapContext-bN3cPbi_.js.map +0 -1
- package/dist/MapControlsStandard-C-8wqhZO.js +0 -142
- package/dist/MapControlsStandard-C-8wqhZO.js.map +0 -1
- package/dist/MapUtilities-oNKvh_D7.js +0 -96
- package/dist/MapUtilities-oNKvh_D7.js.map +0 -1
- package/dist/MenuPage-C2s9uJ18.js +0 -249
- package/dist/MenuPage-C2s9uJ18.js.map +0 -1
- package/dist/MttMainTimeline-DQmdRoSC.js +0 -888
- package/dist/MttMainTimeline-DQmdRoSC.js.map +0 -1
- package/dist/MttSummary-BLCl2H1-.js +0 -256
- package/dist/MttSummary-BLCl2H1-.js.map +0 -1
- package/dist/MttYearTag-BQaj-VDU.js +0 -178
- package/dist/MttYearTag-BQaj-VDU.js.map +0 -1
- package/dist/MyExportsPage-BlvnFytx.js +0 -221
- package/dist/MyExportsPage-BlvnFytx.js.map +0 -1
- package/dist/NestedGrid-BQdCDDvv.js +0 -84
- package/dist/NestedGrid-BQdCDDvv.js.map +0 -1
- package/dist/NewsCard-DPN7cEmB.js +0 -57
- package/dist/NewsCard-DPN7cEmB.js.map +0 -1
- package/dist/NodeLoader-DQ27Ot0-.js +0 -46
- package/dist/NodeLoader-DQ27Ot0-.js.map +0 -1
- package/dist/Notes-CnVFBt08.js +0 -63
- package/dist/Notes-CnVFBt08.js.map +0 -1
- package/dist/NotesScreen-DN9qjyfs.js +0 -365
- package/dist/NotesScreen-DN9qjyfs.js.map +0 -1
- package/dist/NumberOperator-Br21xWKe.js +0 -45
- package/dist/NumberOperator-Br21xWKe.js.map +0 -1
- package/dist/OutlookCallback-Dm16jjGs.js +0 -50
- package/dist/OutlookCallback-Dm16jjGs.js.map +0 -1
- package/dist/PAHAdditionalRightComponent-DMOU9Mho.js +0 -21
- package/dist/PAHAdditionalRightComponent-DMOU9Mho.js.map +0 -1
- package/dist/PDFViewer-BjqaOqFb.js +0 -169
- package/dist/PDFViewer-BjqaOqFb.js.map +0 -1
- package/dist/Page-DZ-tM_w8.js +0 -63
- package/dist/Page-DZ-tM_w8.js.map +0 -1
- package/dist/PageActionWrapper-DYE-j6q9.js +0 -55
- package/dist/PageActionWrapper-DYE-j6q9.js.map +0 -1
- package/dist/PageContainer--RJ0uiFC.js +0 -189
- package/dist/PageContainer--RJ0uiFC.js.map +0 -1
- package/dist/PageContext-CSqiGcXM.js +0 -49
- package/dist/PageContext-CSqiGcXM.js.map +0 -1
- package/dist/PageForbiddenRoute-CTfciPh7.js +0 -25
- package/dist/PageForbiddenRoute-CTfciPh7.js.map +0 -1
- package/dist/PageLoading-C1EoakZ8.js +0 -18
- package/dist/PageLoading-C1EoakZ8.js.map +0 -1
- package/dist/PageNotFoundRoute-DbR84x6y.js +0 -29
- package/dist/PageNotFoundRoute-DbR84x6y.js.map +0 -1
- package/dist/PageRenderer-Cy1z4W_K.js +0 -29
- package/dist/PageRenderer-Cy1z4W_K.js.map +0 -1
- package/dist/PageSectionSpacer-CKAQ9jgU.js +0 -88
- package/dist/PageSectionSpacer-CKAQ9jgU.js.map +0 -1
- package/dist/PageStatus-Ced0ETaD.js +0 -52
- package/dist/PageStatus-Ced0ETaD.js.map +0 -1
- package/dist/PageSubHeaderAction-bidRwRT3.js +0 -20
- package/dist/PageSubHeaderAction-bidRwRT3.js.map +0 -1
- package/dist/PasswordResetRedirect-DXsbd8VB.js +0 -59
- package/dist/PasswordResetRedirect-DXsbd8VB.js.map +0 -1
- package/dist/PaymentForm-CmreNWxI.js +0 -2250
- package/dist/PaymentForm-CmreNWxI.js.map +0 -1
- package/dist/PowerBIReport-BLYpmnud.js +0 -60
- package/dist/PowerBIReport-BLYpmnud.js.map +0 -1
- package/dist/PrimaryActionButton-Dk8zvDAW.js +0 -36
- package/dist/PrimaryActionButton-Dk8zvDAW.js.map +0 -1
- package/dist/PrimaryActionHeader-BTKMiuLr.js +0 -548
- package/dist/PrimaryActionHeader-BTKMiuLr.js.map +0 -1
- package/dist/ProgressBarWidget-De4ecdYs.js +0 -77
- package/dist/ProgressBarWidget-De4ecdYs.js.map +0 -1
- package/dist/PropertyFields-BoyWT7Qe.js +0 -65
- package/dist/PropertyFields-BoyWT7Qe.js.map +0 -1
- package/dist/QueryResult-DLUWRpAP.js +0 -10
- package/dist/QueryResult-DLUWRpAP.js.map +0 -1
- package/dist/QuickViewCard-D0xzfpzQ.js +0 -24
- package/dist/QuickViewCard-D0xzfpzQ.js.map +0 -1
- package/dist/RecentlyLoadedNodesTable-BMrOwdsc.js +0 -108
- package/dist/RecentlyLoadedNodesTable-BMrOwdsc.js.map +0 -1
- package/dist/RecentlyLoadedNodesWidget-BqnF9KyX.js +0 -34
- package/dist/RecentlyLoadedNodesWidget-BqnF9KyX.js.map +0 -1
- package/dist/RejectIcon-ldC4d9JX.js +0 -40
- package/dist/RejectIcon-ldC4d9JX.js.map +0 -1
- package/dist/RemindersCard-ByERcvu8.js +0 -138
- package/dist/RemindersCard-ByERcvu8.js.map +0 -1
- package/dist/RemindersScreen-DOjVra-l.js +0 -440
- package/dist/RemindersScreen-DOjVra-l.js.map +0 -1
- package/dist/RemindersWidget-CuugM3_7.js +0 -338
- package/dist/RemindersWidget-CuugM3_7.js.map +0 -1
- package/dist/Reports-DcFuBJ-k.js +0 -22
- package/dist/Reports-DcFuBJ-k.js.map +0 -1
- package/dist/RequiredFieldsMappingForm-h3ZadvLR.js +0 -345
- package/dist/RequiredFieldsMappingForm-h3ZadvLR.js.map +0 -1
- package/dist/RuleUtilities-D5ACzikQ.js +0 -89
- package/dist/RuleUtilities-D5ACzikQ.js.map +0 -1
- package/dist/SearchMethodUdpGrid-CglYOe5V.js +0 -11
- package/dist/SearchMethodUdpGrid-CglYOe5V.js.map +0 -1
- package/dist/SearchOperator-p5jhNbvZ.js +0 -59
- package/dist/SearchOperator-p5jhNbvZ.js.map +0 -1
- package/dist/SearchServiceDatasource-CcxUdJEQ.js +0 -156
- package/dist/SearchServiceDatasource-CcxUdJEQ.js.map +0 -1
- package/dist/SearchUtilities-4D3aArPk.js +0 -194
- package/dist/SearchUtilities-4D3aArPk.js.map +0 -1
- package/dist/SelectUtilities-BqeGjM-P.js +0 -30
- package/dist/SelectUtilities-BqeGjM-P.js.map +0 -1
- package/dist/Shell-DrhGgJFA.js +0 -316
- package/dist/Shell-DrhGgJFA.js.map +0 -1
- package/dist/ShortcutContentFinder-Dt8oIAt_.js +0 -123
- package/dist/ShortcutContentFinder-Dt8oIAt_.js.map +0 -1
- package/dist/SideSheet-eEV_BlS7.js +0 -81
- package/dist/SideSheet-eEV_BlS7.js.map +0 -1
- package/dist/SideSheetHeader-3d03UDJ6.js +0 -79
- package/dist/SideSheetHeader-3d03UDJ6.js.map +0 -1
- package/dist/SidebarHeader-CAA1137v.js +0 -82
- package/dist/SidebarHeader-CAA1137v.js.map +0 -1
- package/dist/SimpleTable-BVg2kiMB.js +0 -25
- package/dist/SimpleTable-BVg2kiMB.js.map +0 -1
- package/dist/SiteHeader-b8q_BhVG.js +0 -668
- package/dist/SiteHeader-b8q_BhVG.js.map +0 -1
- package/dist/SiteHeaderRightComponent-BwFUg3ur.js +0 -20
- package/dist/SiteHeaderRightComponent-BwFUg3ur.js.map +0 -1
- package/dist/Source-CX5NIoeD.js +0 -34
- package/dist/Source-CX5NIoeD.js.map +0 -1
- package/dist/SparklineWidget-CKoNBSX5.js +0 -65
- package/dist/SparklineWidget-CKoNBSX5.js.map +0 -1
- package/dist/SparsePlotWidget-C-Q6JGf1.js +0 -82
- package/dist/SparsePlotWidget-C-Q6JGf1.js.map +0 -1
- package/dist/StandardTitle-DJ9zcNBA.js +0 -23
- package/dist/StandardTitle-DJ9zcNBA.js.map +0 -1
- package/dist/Statistic-2TsMHBLT.js +0 -323
- package/dist/Statistic-2TsMHBLT.js.map +0 -1
- package/dist/StatusCellRenderer-BtMLm8qi.js +0 -18
- package/dist/StatusCellRenderer-BtMLm8qi.js.map +0 -1
- package/dist/StatusChip-CuENztR1.js +0 -75
- package/dist/StatusChip-CuENztR1.js.map +0 -1
- package/dist/StringUtilities-u-cxAW6-.js +0 -30
- package/dist/StringUtilities-u-cxAW6-.js.map +0 -1
- package/dist/SubHeaderAction-BITQd-zR.js +0 -28
- package/dist/SubHeaderAction-BITQd-zR.js.map +0 -1
- package/dist/SummaryBlock-ClNibMtr.js +0 -98
- package/dist/SummaryBlock-ClNibMtr.js.map +0 -1
- package/dist/SupportCaseSideSheet-04jB2TZw.js +0 -381
- package/dist/SupportCaseSideSheet-04jB2TZw.js.map +0 -1
- package/dist/TableColumnDefs-DgRjB5T3.js +0 -33
- package/dist/TableColumnDefs-DgRjB5T3.js.map +0 -1
- package/dist/TableContainer-gv-Bo_SP.js +0 -110
- package/dist/TableContainer-gv-Bo_SP.js.map +0 -1
- package/dist/TenantProvider-DbNvFlAk.js +0 -363
- package/dist/TenantProvider-DbNvFlAk.js.map +0 -1
- package/dist/TicketCard-Dyxdyoz5.js +0 -143
- package/dist/TicketCard-Dyxdyoz5.js.map +0 -1
- package/dist/TileDisplay-Dwr2DLTB.js +0 -224
- package/dist/TileDisplay-Dwr2DLTB.js.map +0 -1
- package/dist/TimeField-Tm2ST-Ku.js +0 -63
- package/dist/TimeField-Tm2ST-Ku.js.map +0 -1
- package/dist/TimelineCalendar-BJf7qz7Z.js +0 -12
- package/dist/TimelineCalendar-BJf7qz7Z.js.map +0 -1
- package/dist/TimelineToken-DvrKEi07.js +0 -72
- package/dist/TimelineToken-DvrKEi07.js.map +0 -1
- package/dist/Token-DCd-8YTQ.js +0 -70
- package/dist/Token-DCd-8YTQ.js.map +0 -1
- package/dist/TokenGroupItem-BPhFBk9_.js +0 -36
- package/dist/TokenGroupItem-BPhFBk9_.js.map +0 -1
- package/dist/TreeUtilities-extjyKiS.js +0 -1130
- package/dist/TreeUtilities-extjyKiS.js.map +0 -1
- package/dist/TrimForAvatar-BWxeFNBL.js +0 -8
- package/dist/TrimForAvatar-BWxeFNBL.js.map +0 -1
- package/dist/Typography-FuShOop3.js +0 -22
- package/dist/Typography-FuShOop3.js.map +0 -1
- package/dist/UI-CdGkHnoE.js +0 -45
- package/dist/UI-CdGkHnoE.js.map +0 -1
- package/dist/UdpActionCard-D0kkkmFK.js +0 -86
- package/dist/UdpActionCard-D0kkkmFK.js.map +0 -1
- package/dist/UdpAlertsContainer-CZGMrRZw.js +0 -80
- package/dist/UdpAlertsContainer-CZGMrRZw.js.map +0 -1
- package/dist/UdpAppProvider-BGkkuO8x.js +0 -118
- package/dist/UdpAppProvider-BGkkuO8x.js.map +0 -1
- package/dist/UdpAuditEvents-DF37bFPI.js +0 -9
- package/dist/UdpAuditEvents-DF37bFPI.js.map +0 -1
- package/dist/UdpAuditEventsPage-BPeTrgL4.js +0 -385
- package/dist/UdpAuditEventsPage-BPeTrgL4.js.map +0 -1
- package/dist/UdpBarChart-DKTYYxNo.js +0 -44
- package/dist/UdpBarChart-DKTYYxNo.js.map +0 -1
- package/dist/UdpCalendarYearView-DylbpQZH.js +0 -61
- package/dist/UdpCalendarYearView-DylbpQZH.js.map +0 -1
- package/dist/UdpDataBrowserPage-inG8pJW9.js +0 -458
- package/dist/UdpDataBrowserPage-inG8pJW9.js.map +0 -1
- package/dist/UdpDateRangeSelector-CzMZBIUN.js +0 -11
- package/dist/UdpDateRangeSelector-CzMZBIUN.js.map +0 -1
- package/dist/UdpFormsBuilderPage-Ciwg_M5P.js +0 -48
- package/dist/UdpFormsBuilderPage-Ciwg_M5P.js.map +0 -1
- package/dist/UdpFormsListPage-Dr1WSVse.js +0 -30
- package/dist/UdpFormsListPage-Dr1WSVse.js.map +0 -1
- package/dist/UdpFormsPrivateForm-BKQF0QVF.js +0 -55
- package/dist/UdpFormsPrivateForm-BKQF0QVF.js.map +0 -1
- package/dist/UdpFormsPublicForm-DcS-bAgJ.js +0 -47
- package/dist/UdpFormsPublicForm-DcS-bAgJ.js.map +0 -1
- package/dist/UdpFormsSubmissionGrid-DC_ehyEL.js +0 -757
- package/dist/UdpFormsSubmissionGrid-DC_ehyEL.js.map +0 -1
- package/dist/UdpFormsSubmissionGridManagerPage-DE2lgYaZ.js +0 -23
- package/dist/UdpFormsSubmissionGridManagerPage-DE2lgYaZ.js.map +0 -1
- package/dist/UdpFormsSubmissionGridResponderPage-BoB47eMU.js +0 -23
- package/dist/UdpFormsSubmissionGridResponderPage-BoB47eMU.js.map +0 -1
- package/dist/UdpGridPanelManagementPage-CtJrCYEO.js +0 -239
- package/dist/UdpGridPanelManagementPage-CtJrCYEO.js.map +0 -1
- package/dist/UdpGridPanelManagementSidesheet-VOQY0dTG.js +0 -52
- package/dist/UdpGridPanelManagementSidesheet-VOQY0dTG.js.map +0 -1
- package/dist/UdpGridTemplate-DfphzE53.js +0 -46
- package/dist/UdpGridTemplate-DfphzE53.js.map +0 -1
- package/dist/UdpImportFromFileMappingPage-DZX1UjN2.js +0 -17
- package/dist/UdpImportFromFileMappingPage-DZX1UjN2.js.map +0 -1
- package/dist/UdpInquiryMaintenanceEnginePage-Cg4ZNemW.js +0 -26
- package/dist/UdpInquiryMaintenanceEnginePage-Cg4ZNemW.js.map +0 -1
- package/dist/UdpMaintenanceConfigPage-DK67FJUe.js +0 -91
- package/dist/UdpMaintenanceConfigPage-DK67FJUe.js.map +0 -1
- package/dist/UdpMaintenanceEnginePage-BCWVOs4C.js +0 -468
- package/dist/UdpMaintenanceEnginePage-BCWVOs4C.js.map +0 -1
- package/dist/UdpMapToolbar-XmPu5f1u.js +0 -17
- package/dist/UdpMapToolbar-XmPu5f1u.js.map +0 -1
- package/dist/UdpNotesPage-nuDy515D.js +0 -185
- package/dist/UdpNotesPage-nuDy515D.js.map +0 -1
- package/dist/UdpRemindersPage-jxFJA0AC.js +0 -208
- package/dist/UdpRemindersPage-jxFJA0AC.js.map +0 -1
- package/dist/UdpReportsPage-B4tw-0YC.js +0 -18
- package/dist/UdpReportsPage-B4tw-0YC.js.map +0 -1
- package/dist/UdpRoutes-CUSWo94L.js +0 -228
- package/dist/UdpRoutes-CUSWo94L.js.map +0 -1
- package/dist/UdpTabs-GsH-vivE.js +0 -209
- package/dist/UdpTabs-GsH-vivE.js.map +0 -1
- package/dist/UdpTimeSelector-DtU-spf7.js +0 -147
- package/dist/UdpTimeSelector-DtU-spf7.js.map +0 -1
- package/dist/UdpTransactionTypesPage-ntOhrBlV.js +0 -3716
- package/dist/UdpTransactionTypesPage-ntOhrBlV.js.map +0 -1
- package/dist/UdpTransactionsPage-C5W5eV99.js +0 -2682
- package/dist/UdpTransactionsPage-C5W5eV99.js.map +0 -1
- package/dist/UdpVerticalManagementPage-BqeG1tmE.js +0 -184
- package/dist/UdpVerticalManagementPage-BqeG1tmE.js.map +0 -1
- package/dist/UdpVerticalManagementSidesheet-BaFVTE6C.js +0 -228
- package/dist/UdpVerticalManagementSidesheet-BaFVTE6C.js.map +0 -1
- package/dist/UnityFluentIcon-DNZGVIjm.js +0 -70
- package/dist/UnityFluentIcon-DNZGVIjm.js.map +0 -1
- package/dist/UnityIconLibrary-CjIwzfjv.js +0 -44
- package/dist/UnityIconLibrary-CjIwzfjv.js.map +0 -1
- package/dist/UnitySessionStorage-CUDx9YWR.js +0 -19
- package/dist/UnitySessionStorage-CUDx9YWR.js.map +0 -1
- package/dist/UserForm-CopaG9kP.js +0 -356
- package/dist/UserForm-CopaG9kP.js.map +0 -1
- package/dist/UserFormSideSheet-CAlJnzer.js +0 -103
- package/dist/UserFormSideSheet-CAlJnzer.js.map +0 -1
- package/dist/UtilityBarInport-BHbsXIHQ.js +0 -22
- package/dist/UtilityBarInport-BHbsXIHQ.js.map +0 -1
- package/dist/UtilitySideBar-tS5i7sHj.js +0 -183
- package/dist/UtilitySideBar-tS5i7sHj.js.map +0 -1
- package/dist/Utils-BMXxVf9w.js +0 -36
- package/dist/Utils-BMXxVf9w.js.map +0 -1
- package/dist/VectorLayer-cF-VokuQ.js +0 -72
- package/dist/VectorLayer-cF-VokuQ.js.map +0 -1
- package/dist/VirtualBrowser-CcmIaiR9.js +0 -432
- package/dist/VirtualBrowser-CcmIaiR9.js.map +0 -1
- package/dist/VirtualForm-zSgpWFYJ.js +0 -66
- package/dist/VirtualForm-zSgpWFYJ.js.map +0 -1
- package/dist/WidgetCard-B-ZLDtYX.js +0 -72
- package/dist/WidgetCard-B-ZLDtYX.js.map +0 -1
- package/dist/WorkOrderCard-C09gMobu.js +0 -55
- package/dist/WorkOrderCard-C09gMobu.js.map +0 -1
- package/dist/WorkflowContainer-BBbSQ81f.js +0 -192
- package/dist/WorkflowContainer-BBbSQ81f.js.map +0 -1
- package/dist/WorkflowContent-DoUaVan1.js +0 -428
- package/dist/WorkflowContent-DoUaVan1.js.map +0 -1
- package/dist/WorkflowTaskFlow-BDsoPftU.js +0 -135
- package/dist/WorkflowTaskFlow-BDsoPftU.js.map +0 -1
- package/dist/WorkflowTreeMenu-CkMTnc8r.js +0 -346
- package/dist/WorkflowTreeMenu-CkMTnc8r.js.map +0 -1
- package/dist/ZoomControl-CZLrMm6O.js +0 -38
- package/dist/ZoomControl-CZLrMm6O.js.map +0 -1
- package/dist/accordion-15xK3jez.js +0 -192
- package/dist/accordion-15xK3jez.js.map +0 -1
- package/dist/actionSummary-Bn8dXaZ9.js +0 -255
- package/dist/actionSummary-Bn8dXaZ9.js.map +0 -1
- package/dist/actionUtils-CrHVnhsb.js +0 -218
- package/dist/actionUtils-CrHVnhsb.js.map +0 -1
- package/dist/advancedSearchBuilder-D1Z8Jg49.js +0 -19
- package/dist/advancedSearchBuilder-D1Z8Jg49.js.map +0 -1
- package/dist/aggregateUtils-B7pVyfA6.js +0 -70
- package/dist/aggregateUtils-B7pVyfA6.js.map +0 -1
- package/dist/aggridHelpers-CD1CNqiO.js +0 -103
- package/dist/aggridHelpers-CD1CNqiO.js.map +0 -1
- package/dist/alerts-Dn0y4lCS.js +0 -1
- package/dist/amcharts-74-MvVHH.js +0 -16
- package/dist/amcharts-74-MvVHH.js.map +0 -1
- package/dist/apiHelpers-CdQKrizZ.js +0 -242
- package/dist/apiHelpers-CdQKrizZ.js.map +0 -1
- package/dist/appSwitcher-D6_OjAwR.js +0 -1
- package/dist/auth-BOG_8_Fy.js +0 -38
- package/dist/auth-BOG_8_Fy.js.map +0 -1
- package/dist/axiosInterceptors-BYRBb7eU.js +0 -28
- package/dist/axiosInterceptors-BYRBb7eU.js.map +0 -1
- package/dist/brand-D842xBtF.js +0 -27
- package/dist/brand-D842xBtF.js.map +0 -1
- package/dist/buttons-ClJJUOgd.js +0 -159
- package/dist/buttons-ClJJUOgd.js.map +0 -1
- package/dist/cards-C_2qvd-w.js +0 -129
- package/dist/cards-C_2qvd-w.js.map +0 -1
- package/dist/catalogStore-DP2GxpTJ.js +0 -30
- package/dist/catalogStore-DP2GxpTJ.js.map +0 -1
- package/dist/charts-C7Um2OVi.js +0 -83
- package/dist/charts-C7Um2OVi.js.map +0 -1
- package/dist/checkbox-ClkdOQoM.js +0 -1
- package/dist/colorConverter-5PvESBA1.js +0 -97
- package/dist/colorConverter-5PvESBA1.js.map +0 -1
- package/dist/colors-BONxjrOE.js +0 -73
- package/dist/colors-BONxjrOE.js.map +0 -1
- package/dist/components-MqfMwrBA.js +0 -1
- package/dist/configService-C4uoG3wj.js +0 -3
- package/dist/containers-Cugra-dO.js +0 -1
- package/dist/crudActions-B1w1RG-L.js +0 -205
- package/dist/crudActions-B1w1RG-L.js.map +0 -1
- package/dist/dashboard-D9plGwh9.js +0 -1
- package/dist/dataDisplay-C5Yt52pt.js +0 -180
- package/dist/dataDisplay-C5Yt52pt.js.map +0 -1
- package/dist/dataDisplay-Mz_2mdbg.js +0 -50
- package/dist/dataDisplay-Mz_2mdbg.js.map +0 -1
- package/dist/dateUtils-D--4wfy8.js +0 -62
- package/dist/dateUtils-D--4wfy8.js.map +0 -1
- package/dist/defaultTabs-bccsX41Y.js +0 -93
- package/dist/defaultTabs-bccsX41Y.js.map +0 -1
- package/dist/entities-BqWQa60v.js +0 -1
- package/dist/entityUtilities-_8w-Zjs3.js +0 -22
- package/dist/entityUtilities-_8w-Zjs3.js.map +0 -1
- package/dist/enums-B1Y8K5Di.js +0 -1
- package/dist/env-Cft25rv2.js +0 -17
- package/dist/env-Cft25rv2.js.map +0 -1
- package/dist/feedback-CSv8s86E.js +0 -1
- package/dist/feedback-m9NbeqEE.js +0 -1
- package/dist/fileViewer-CF7RNTB-.js +0 -385
- package/dist/fileViewer-CF7RNTB-.js.map +0 -1
- package/dist/floorplans-CsdbO67q.js +0 -154
- package/dist/floorplans-CsdbO67q.js.map +0 -1
- package/dist/fluentTimeline-DfuOEixm.js +0 -156
- package/dist/fluentTimeline-DfuOEixm.js.map +0 -1
- package/dist/form-Dj1zVw6K.js +0 -76
- package/dist/form-Dj1zVw6K.js.map +0 -1
- package/dist/formatBytes-1C6B6My9.js +0 -23
- package/dist/formatBytes-1C6B6My9.js.map +0 -1
- package/dist/forms-BlHXk6B_.js +0 -527
- package/dist/forms-BlHXk6B_.js.map +0 -1
- package/dist/gridVisualizationFunctions-B9M8zgo3.js +0 -67
- package/dist/gridVisualizationFunctions-B9M8zgo3.js.map +0 -1
- package/dist/hooks-DDPqsaCX.js +0 -291
- package/dist/hooks-DDPqsaCX.js.map +0 -1
- package/dist/iconLibrary-BUzF7tGt.js +0 -1
- package/dist/iframe-DujEA3bX.js +0 -1
- package/dist/inquiry-BX2yugxz.js +0 -319
- package/dist/inquiry-BX2yugxz.js.map +0 -1
- package/dist/inquiryBar-B0P25Fzr.js +0 -1
- package/dist/inquiryStore-BMYKf5MP.js +0 -39
- package/dist/inquiryStore-BMYKf5MP.js.map +0 -1
- package/dist/isValueSelected-DzUnTN4Y.js +0 -10
- package/dist/isValueSelected-DzUnTN4Y.js.map +0 -1
- package/dist/layout-QynvCCDw.js +0 -128
- package/dist/layout-QynvCCDw.js.map +0 -1
- package/dist/loading-CVcxr5DA.js +0 -1
- package/dist/lookupsStore-D4tmhbfu.js +0 -20
- package/dist/lookupsStore-D4tmhbfu.js.map +0 -1
- package/dist/mapFunctions-CJa6_QyM.js +0 -32
- package/dist/mapFunctions-CJa6_QyM.js.map +0 -1
- package/dist/mapLayout-DcuMDjbz.js +0 -513
- package/dist/mapLayout-DcuMDjbz.js.map +0 -1
- package/dist/maps-DGnZhyOJ.js +0 -11
- package/dist/maps-DGnZhyOJ.js.map +0 -1
- package/dist/menuPage-9sUvmyF6.js +0 -101
- package/dist/menuPage-9sUvmyF6.js.map +0 -1
- package/dist/menuUtilities-BmmKxFk0.js +0 -76
- package/dist/menuUtilities-BmmKxFk0.js.map +0 -1
- package/dist/menus-BgC_7cKL.js +0 -250
- package/dist/menus-BgC_7cKL.js.map +0 -1
- package/dist/methodUtils-BoCdj05H.js +0 -34
- package/dist/methodUtils-BoCdj05H.js.map +0 -1
- package/dist/modified-aQ09OWc7.js +0 -1
- package/dist/mttFunctions-pMr0w63z.js +0 -248
- package/dist/mttFunctions-pMr0w63z.js.map +0 -1
- package/dist/navigation-6_L-WXHd.js +0 -144
- package/dist/navigation-6_L-WXHd.js.map +0 -1
- package/dist/newGrid-tgf0hr2l.js +0 -119
- package/dist/newGrid-tgf0hr2l.js.map +0 -1
- package/dist/pageEnums-Bw4Yfa6D.js +0 -22
- package/dist/pageEnums-Bw4Yfa6D.js.map +0 -1
- package/dist/paymentVendorFactoryEnum-DFCgXt8D.js +0 -38
- package/dist/paymentVendorFactoryEnum-DFCgXt8D.js.map +0 -1
- package/dist/profile-B9eFZsu6.js +0 -217
- package/dist/profile-B9eFZsu6.js.map +0 -1
- package/dist/property-BNRnMjhi.js +0 -1
- package/dist/propertyTypeEnums-kRCZNBn6.js +0 -15
- package/dist/propertyTypeEnums-kRCZNBn6.js.map +0 -1
- package/dist/radio-Do4MT-ut.js +0 -31
- package/dist/radio-Do4MT-ut.js.map +0 -1
- package/dist/redirect-BmwDO_An.js +0 -1
- package/dist/redirectToLink-D5Eh3FDe.js +0 -31
- package/dist/redirectToLink-D5Eh3FDe.js.map +0 -1
- package/dist/redirectToProduct-BRakalFR.js +0 -9
- package/dist/redirectToProduct-BRakalFR.js.map +0 -1
- package/dist/reminderConstants-Cr4l8uv5.js +0 -12
- package/dist/reminderConstants-Cr4l8uv5.js.map +0 -1
- package/dist/renderers-BIazTekW.js +0 -1
- package/dist/richEditors-k2h6I7aK.js +0 -1
- package/dist/routeRegistryStore-Bf_V_GBf.js +0 -33
- package/dist/routeRegistryStore-Bf_V_GBf.js.map +0 -1
- package/dist/search-CqBe4ROB.js +0 -1
- package/dist/search-IUPaL0B7.js +0 -1
- package/dist/searchEnums-CdJvdBiL.js +0 -11
- package/dist/searchEnums-CdJvdBiL.js.map +0 -1
- package/dist/shellStore-C8zfPsZ-.js +0 -31
- package/dist/shellStore-C8zfPsZ-.js.map +0 -1
- package/dist/status-p_lpoQXK.js +0 -70
- package/dist/status-p_lpoQXK.js.map +0 -1
- package/dist/stepper-DN7khy96.js +0 -11
- package/dist/stepper-DN7khy96.js.map +0 -1
- package/dist/storage-BuH6XMoP.js +0 -1
- package/dist/stores-BBv4N2EX.js +0 -1
- package/dist/stringUtils-BANPGHxP.js +0 -27
- package/dist/stringUtils-BANPGHxP.js.map +0 -1
- package/dist/support-05_9nfXA.js +0 -1
- package/dist/surfaces-Bw1lyi3I.js +0 -1
- package/dist/tabs-BiyVkRY1.js +0 -49
- package/dist/tabs-BiyVkRY1.js.map +0 -1
- package/dist/tagEnums-CZtK3ObW.js +0 -11
- package/dist/tagEnums-CZtK3ObW.js.map +0 -1
- package/dist/teleporterStore-CjUFtATo.js +0 -33
- package/dist/teleporterStore-CjUFtATo.js.map +0 -1
- package/dist/templates-CPKWXJfD.js +0 -116
- package/dist/templates-CPKWXJfD.js.map +0 -1
- package/dist/tenant-DgtACwNB.js +0 -1
- package/dist/tenantContext-BaRUoL33.js +0 -8
- package/dist/tenantContext-BaRUoL33.js.map +0 -1
- package/dist/tenantStore-C8npVKvC.js +0 -19
- package/dist/tenantStore-C8npVKvC.js.map +0 -1
- package/dist/textField-BDbjgFmA.js +0 -104
- package/dist/textField-BDbjgFmA.js.map +0 -1
- package/dist/theme-DimmqC5I.js +0 -275
- package/dist/theme-DimmqC5I.js.map +0 -1
- package/dist/timeline-BskHdpzj.js +0 -213
- package/dist/timeline-BskHdpzj.js.map +0 -1
- package/dist/tree-DOkEWssm.js +0 -1
- package/dist/typography-BsS3Zb_E.js +0 -47
- package/dist/typography-BsS3Zb_E.js.map +0 -1
- package/dist/ui-BedZUZrx.js +0 -19
- package/dist/ui-BedZUZrx.js.map +0 -1
- package/dist/ui-RLOctYoN.js +0 -20
- package/dist/ui-RLOctYoN.js.map +0 -1
- package/dist/unitySystemEnums-BhRg17du.js +0 -344
- package/dist/unitySystemEnums-BhRg17du.js.map +0 -1
- package/dist/uploader-CXbrkgCb.js +0 -314
- package/dist/uploader-CXbrkgCb.js.map +0 -1
- package/dist/useActions-BAyugLx0.js +0 -192
- package/dist/useActions-BAyugLx0.js.map +0 -1
- package/dist/useApiCatalog-Bmu_e2h6.js +0 -62
- package/dist/useApiCatalog-Bmu_e2h6.js.map +0 -1
- package/dist/useAuthedUser-B9udFL-k.js +0 -34
- package/dist/useAuthedUser-B9udFL-k.js.map +0 -1
- package/dist/useAxiosGet-BSc3KA_u.js +0 -78
- package/dist/useAxiosGet-BSc3KA_u.js.map +0 -1
- package/dist/useAxiosMutate-BcHMn9qn.js +0 -43
- package/dist/useAxiosMutate-BcHMn9qn.js.map +0 -1
- package/dist/useBuildEnvironment-BwpYI2W5.js +0 -23
- package/dist/useBuildEnvironment-BwpYI2W5.js.map +0 -1
- package/dist/useChatBot-CQCSvL1e.js +0 -11
- package/dist/useChatBot-CQCSvL1e.js.map +0 -1
- package/dist/useDefaultFormValues-CaJbfhl-.js +0 -14
- package/dist/useDefaultFormValues-CaJbfhl-.js.map +0 -1
- package/dist/useDynamicListCalculation-AdQSNssv.js +0 -41
- package/dist/useDynamicListCalculation-AdQSNssv.js.map +0 -1
- package/dist/useFluentIcon-JWxB85Cx.js +0 -14
- package/dist/useFluentIcon-JWxB85Cx.js.map +0 -1
- package/dist/useGravatar-BBeaDtKD.js +0 -49
- package/dist/useGravatar-BBeaDtKD.js.map +0 -1
- package/dist/useId-DF01GYgW.js +0 -24
- package/dist/useId-DF01GYgW.js.map +0 -1
- package/dist/useIsUnityAuthenticated-Cyr6Ow_Z.js +0 -10
- package/dist/useIsUnityAuthenticated-Cyr6Ow_Z.js.map +0 -1
- package/dist/useItemSubCard-D7xTSd0R.js +0 -41
- package/dist/useItemSubCard-D7xTSd0R.js.map +0 -1
- package/dist/usePageContext-CYHxd6pm.js +0 -9
- package/dist/usePageContext-CYHxd6pm.js.map +0 -1
- package/dist/usePrevious-DRqSmF4L.js +0 -14
- package/dist/usePrevious-DRqSmF4L.js.map +0 -1
- package/dist/usePromotedMethodEntities-Bgrc-lrg.js +0 -97
- package/dist/usePromotedMethodEntities-Bgrc-lrg.js.map +0 -1
- package/dist/usePromotedMethodEntity-DjFlxi1k.js +0 -90
- package/dist/usePromotedMethodEntity-DjFlxi1k.js.map +0 -1
- package/dist/useQueryExecutors-DyrEUOX3.js +0 -148
- package/dist/useQueryExecutors-DyrEUOX3.js.map +0 -1
- package/dist/useReadMetaData-BFdG0O3Z.js +0 -31
- package/dist/useReadMetaData-BFdG0O3Z.js.map +0 -1
- package/dist/useSearchFilterParamsMap-7kd9dC6V.js +0 -128
- package/dist/useSearchFilterParamsMap-7kd9dC6V.js.map +0 -1
- package/dist/useSetLocationState-Bgl4Vga-.js +0 -25
- package/dist/useSetLocationState-Bgl4Vga-.js.map +0 -1
- package/dist/useSplitDecimal-BHySKCyD.js +0 -24
- package/dist/useSplitDecimal-BHySKCyD.js.map +0 -1
- package/dist/useTenant-9k0Q7ggj.js +0 -11
- package/dist/useTenant-9k0Q7ggj.js.map +0 -1
- package/dist/useUpdateSearchParams-Bzwvf3ZF.js +0 -23
- package/dist/useUpdateSearchParams-Bzwvf3ZF.js.map +0 -1
- package/dist/useUser-wpHGo6jU.js +0 -21
- package/dist/useUser-wpHGo6jU.js.map +0 -1
- package/dist/user-Dq_5QvhV.js +0 -1
- package/dist/utilities-CggMvlHz.js +0 -1
- package/dist/utilities-DcyOKS6M.js +0 -1
- package/dist/utilityDisplay-DlzAeeNd.js +0 -98
- package/dist/utilityDisplay-DlzAeeNd.js.map +0 -1
- package/dist/utilityHeader-CQJgoRrm.js +0 -47
- package/dist/utilityHeader-CQJgoRrm.js.map +0 -1
- package/dist/verticalStyles-D_8tZEwA.js +0 -141
- package/dist/verticalStyles-D_8tZEwA.js.map +0 -1
- package/dist/virtualActions-BujuPGfM.js +0 -84
- package/dist/virtualActions-BujuPGfM.js.map +0 -1
- package/dist/widgets-0ep-7vnd.js +0 -281
- package/dist/widgets-0ep-7vnd.js.map +0 -1
- package/dist/widgets-Ay78kYs3.js +0 -180
- package/dist/widgets-Ay78kYs3.js.map +0 -1
- package/dist/withEngineComponent-OQ98W7h8.js +0 -28
- package/dist/withEngineComponent-OQ98W7h8.js.map +0 -1
- package/dist/workflowEnums-BC_-ny6_.js +0 -48
- package/dist/workflowEnums-BC_-ny6_.js.map +0 -1
- package/dist/workflowStore-BX2NRuFD.js +0 -25
- package/dist/workflowStore-BX2NRuFD.js.map +0 -1
- package/dist/workflowUtilities-B1AS-MAY.js +0 -152
- package/dist/workflowUtilities-B1AS-MAY.js.map +0 -1
|
@@ -1,2250 +0,0 @@
|
|
|
1
|
-
import { t as Form } from "./Form-DbOA5j38.js";
|
|
2
|
-
import { t as Field } from "./Field-BSE8Fwr1.js";
|
|
3
|
-
import { t as FluentButton } from "./FluentButton-BexKrnAp.js";
|
|
4
|
-
import { t as ConfigService } from "./configService-C4uoG3wj.js";
|
|
5
|
-
import { t as useUser } from "./useUser-wpHGo6jU.js";
|
|
6
|
-
import { t as apiMutate } from "./useAxiosMutate-BcHMn9qn.js";
|
|
7
|
-
import { t as UnityFluentIcon } from "./UnityFluentIcon-DNZGVIjm.js";
|
|
8
|
-
import { t as Typography$1 } from "./Typography-FuShOop3.js";
|
|
9
|
-
import { S as getIconFromName } from "./TreeUtilities-extjyKiS.js";
|
|
10
|
-
import { t as LayoutUnit } from "./LayoutUnit-D4jJvonh.js";
|
|
11
|
-
import { t as useAxiosGet } from "./useAxiosGet-BSc3KA_u.js";
|
|
12
|
-
import { n as PaymentTenderTypeEnum, r as PaymentMethodTypeEnum, t as PaymentVendorFactoryEnum } from "./paymentVendorFactoryEnum-DFCgXt8D.js";
|
|
13
|
-
import { t as stringToProps } from "./stringUtils-BANPGHxP.js";
|
|
14
|
-
import { t as LinearProgress$1 } from "./LinearProgress-C6iEYnWR.js";
|
|
15
|
-
import { t as CircularProgress$1 } from "./CircularProgress-CS4Nmg9e.js";
|
|
16
|
-
import { t as FluentTextField } from "./FluentTextField-UqPEyyNn.js";
|
|
17
|
-
import { t as FluentCheckbox } from "./FluentCheckbox-BXmOI5PP.js";
|
|
18
|
-
import { t as FormControlLabel$1 } from "./FormControlLabel-Bc-7PxXQ.js";
|
|
19
|
-
import { t as FormControl$1 } from "./FormControl-CapJbXcp.js";
|
|
20
|
-
import { t as InputAdornment$1 } from "./InputAdornment-CdBOs9yu.js";
|
|
21
|
-
import { t as Box$1 } from "./Box-D9LwjWMs.js";
|
|
22
|
-
import { t as Grid$1 } from "./Grid-D53QtKSH.js";
|
|
23
|
-
import { t as FluentSelectMenu } from "./FluentSelectMenu-lzUcXNA4.js";
|
|
24
|
-
import * as React$1 from "react";
|
|
25
|
-
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
26
|
-
import { Badge, Box, Card, CardContent, Chip, FormControl, FormControlLabel, Grow, InputAdornment, InputLabel, LinearProgress, MenuItem, Select, Tab, Tabs, Tooltip, Typography, lighten, makeStyles, styled, useTheme } from "@material-ui/core";
|
|
27
|
-
import { useTranslation } from "react-i18next";
|
|
28
|
-
import { v4 } from "uuid";
|
|
29
|
-
import visaLogo from "./assets/paymentIcons/visa-logo.svg";
|
|
30
|
-
import masterCardLogo from "./assets/paymentIcons/mastercard-logo.svg";
|
|
31
|
-
import discoverLogo from "./assets/paymentIcons/discover-logo.svg";
|
|
32
|
-
import americaExpressLogo from "./assets/paymentIcons/american-logo.svg";
|
|
33
|
-
import eCheckLogo from "./assets/paymentIcons/echeck-logo.svg";
|
|
34
|
-
import Payment from "payment";
|
|
35
|
-
import visa from "./assets/paymentIcons/visa.svg";
|
|
36
|
-
import mastercard from "./assets/paymentIcons/mastercard.svg";
|
|
37
|
-
import amex from "./assets/paymentIcons/amex.svg";
|
|
38
|
-
import discover from "./assets/paymentIcons/discover.svg";
|
|
39
|
-
import diners from "./assets/paymentIcons/diners.svg";
|
|
40
|
-
import unionpay from "./assets/paymentIcons/unionpay.svg";
|
|
41
|
-
import jcb from "./assets/paymentIcons/jcb.svg";
|
|
42
|
-
import grey from "@material-ui/core/colors/grey";
|
|
43
|
-
|
|
44
|
-
//#region src/utilities/form/paymentForm/vendorsForms/ICheckForm.tsx
|
|
45
|
-
const defaultCssStyles$1 = (theme) => `
|
|
46
|
-
body {
|
|
47
|
-
background: ${theme.palette.background.default};
|
|
48
|
-
}
|
|
49
|
-
payment {
|
|
50
|
-
padding: 1rem;
|
|
51
|
-
max-width: none;
|
|
52
|
-
background: ${theme.palette.background.paper};
|
|
53
|
-
border: none;
|
|
54
|
-
box-shadow: none;
|
|
55
|
-
color: ${theme.palette.text.primary};
|
|
56
|
-
}
|
|
57
|
-
paymentNumber {
|
|
58
|
-
border: 1px solid ${theme.palette.divider};
|
|
59
|
-
}
|
|
60
|
-
input[type='button'],
|
|
61
|
-
input[type='reset'],
|
|
62
|
-
input[type='submit'] {
|
|
63
|
-
background-color: ${theme.palette.primary.main};
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
height: 40px;
|
|
66
|
-
border-radius: 0px;
|
|
67
|
-
border: none;
|
|
68
|
-
}
|
|
69
|
-
`.trim();
|
|
70
|
-
/**
|
|
71
|
-
* `ICheckForm` Component
|
|
72
|
-
*
|
|
73
|
-
* Renders an iframe for payment processing via the iCheckGateway. Depending on the payment method, it dynamically generates the iframe URL with the appropriate query parameters. The component also listens for messages from the iframe, handling payment data or errors.
|
|
74
|
-
*
|
|
75
|
-
* @param {Object} props The properties passed to the component.
|
|
76
|
-
* @param {PaymentTenderTypeEnum} [paymentMethod=PaymentTenderTypeEnum.CreditCard] Specifies the type of payment method, influencing the iframe endpoint.
|
|
77
|
-
* @param {Object} [onStatusChange=null] Callback function to handle the status change event.
|
|
78
|
-
* @param {Object} [paymentDetails=null] An object containing customer details such as firstName, lastName, email, etc.
|
|
79
|
-
* @param {string} [baseUrl="https://iframe.icheckgateway.com"] The base URL for the payment gateway iframe.
|
|
80
|
-
* @param {string} [customCss=defaultCssStyles] Custom CSS styles to be applied within the iframe.
|
|
81
|
-
* @param {Object} [attributes=null] An object containing additional payment attributes such as appId, appSecret, custId, etc. These are dynamically appended to the iframe URL as query parameters.
|
|
82
|
-
* @param {string} [attributes.appId] Application ID for the payment gateway.
|
|
83
|
-
* @param {string} [attributes.appSecret] Application secret for the payment gateway.
|
|
84
|
-
* @param {string} [attributes.custId] Customer ID.
|
|
85
|
-
* @param {string} [attributes.saveTokenDisabled] Flag to disable token saving.
|
|
86
|
-
* @param {string} [attributes.firstName] Customer's first name.
|
|
87
|
-
* @param {string} [attributes.lastName] Customer's last name.
|
|
88
|
-
* @param {string} [attributes.email] Customer's email address.
|
|
89
|
-
* @param {string} [attributes.company] Customer's company name.
|
|
90
|
-
* @param {string} [attributes.street1] Customer's street address line 1.
|
|
91
|
-
* @param {string} [attributes.street2] Customer's street address line 2.
|
|
92
|
-
* @param {string} [attributes.city] Customer's city.
|
|
93
|
-
* @param {string} [attributes.custom1] A custom field for additional data.
|
|
94
|
-
* @param {string} [attributes.amount] Payment amount.
|
|
95
|
-
* @param {string} [attributes.salesTax] Applicable sales tax.
|
|
96
|
-
* @param {string} [attributes.entryClassCode] Entry class code for the transaction.
|
|
97
|
-
* @param {string} [attributes.css] Custom CSS for the iframe content.
|
|
98
|
-
* @param {string} [attributes.hostedURL="https://iframe.icheckgateway.com"] Hosted URL; defaults to the base URL but can be overridden.
|
|
99
|
-
*
|
|
100
|
-
* @return {React.Component} The `ICheckForm` component renders an iframe for payment processing and displays the payment response.
|
|
101
|
-
*/
|
|
102
|
-
const ICheckForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatusChange = null, paymentDetails = null, baseUrl = "https://iframe.icheckgateway.com", customCss = "", attributes = null, paymentData = null }) => {
|
|
103
|
-
const iframePaymentMethod = paymentMethod === PaymentTenderTypeEnum.CreditCard ? "iFrameCC" : "iFrameBA";
|
|
104
|
-
const [src, setSrc] = useState(`${baseUrl}/${iframePaymentMethod}.aspx?`);
|
|
105
|
-
const [response, setResponse] = useState({});
|
|
106
|
-
const [loading, setLoading] = useState(true);
|
|
107
|
-
const [error, setError] = useState("");
|
|
108
|
-
const { t } = useTranslation();
|
|
109
|
-
const defaultCss = defaultCssStyles$1(useTheme());
|
|
110
|
-
/**
|
|
111
|
-
* handleFiservResponse
|
|
112
|
-
*
|
|
113
|
-
* @param {*} response
|
|
114
|
-
*/
|
|
115
|
-
const handleICheckResponse = useCallback((response) => {
|
|
116
|
-
const isError = response?.error;
|
|
117
|
-
const payload = JSON.stringify(response, null, 2);
|
|
118
|
-
const paymentFormResponse = {
|
|
119
|
-
isValid: !isError,
|
|
120
|
-
payload,
|
|
121
|
-
message: response?.token,
|
|
122
|
-
errorCode: response?.error,
|
|
123
|
-
errorMessage: response?.error,
|
|
124
|
-
selectedHostedPayment: PaymentVendorFactoryEnum.ICheck
|
|
125
|
-
};
|
|
126
|
-
onStatusChange?.(paymentFormResponse);
|
|
127
|
-
}, [onStatusChange, paymentMethod]);
|
|
128
|
-
const handleLoad = () => {
|
|
129
|
-
setLoading(false);
|
|
130
|
-
};
|
|
131
|
-
const handleError = () => {
|
|
132
|
-
setLoading(false);
|
|
133
|
-
};
|
|
134
|
-
useEffect(() => {
|
|
135
|
-
try {
|
|
136
|
-
let urlAttributes = src;
|
|
137
|
-
let queryParams = "";
|
|
138
|
-
if (paymentDetails) {
|
|
139
|
-
const mergedDetails = {
|
|
140
|
-
...attributes,
|
|
141
|
-
...paymentDetails
|
|
142
|
-
};
|
|
143
|
-
const baseUrl = attributes?.baseUrl + `/${iframePaymentMethod}.aspx`;
|
|
144
|
-
delete mergedDetails.baseUrl;
|
|
145
|
-
queryParams = `${baseUrl}?${Object.keys(mergedDetails).filter((key) => mergedDetails[key] !== "" && mergedDetails[key] != null).map((key) => `${encodeURIComponent(key)}=${encodeURIComponent(mergedDetails[key])}`).join("&")}`;
|
|
146
|
-
}
|
|
147
|
-
queryParams += `&css=${encodeURIComponent(customCss || defaultCss)}`;
|
|
148
|
-
if (paymentDetails) urlAttributes = queryParams;
|
|
149
|
-
else urlAttributes += queryParams;
|
|
150
|
-
setSrc(urlAttributes);
|
|
151
|
-
} catch (e) {
|
|
152
|
-
console.error("Error generating iframe source URL:", e);
|
|
153
|
-
setError(t("Error generating iframe source") + e?.message);
|
|
154
|
-
}
|
|
155
|
-
}, [
|
|
156
|
-
attributes,
|
|
157
|
-
paymentDetails,
|
|
158
|
-
baseUrl,
|
|
159
|
-
iframePaymentMethod,
|
|
160
|
-
customCss
|
|
161
|
-
]);
|
|
162
|
-
useEffect(() => {
|
|
163
|
-
const handleMessage = (e) => {
|
|
164
|
-
const jsonData = e.data;
|
|
165
|
-
if (typeof jsonData === "object" && jsonData.constructor.name === "Object") {
|
|
166
|
-
if (jsonData.source === "iCheck") {
|
|
167
|
-
if (jsonData.error) console.log("Error: " + jsonData.error);
|
|
168
|
-
handleICheckResponse(jsonData);
|
|
169
|
-
setResponse(jsonData);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
window.addEventListener("message", handleMessage);
|
|
174
|
-
return () => {
|
|
175
|
-
window.removeEventListener("message", handleMessage);
|
|
176
|
-
};
|
|
177
|
-
}, []);
|
|
178
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, error ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Typography, {
|
|
179
|
-
variant: "subtitle1",
|
|
180
|
-
color: "error"
|
|
181
|
-
}, t("There was an error rendering the hosted payment form. Please check your settings and try again"), ":"), /* @__PURE__ */ React.createElement(LayoutUnit, { unit: "xxs" }), /* @__PURE__ */ React.createElement(Typography, {
|
|
182
|
-
variant: "body1",
|
|
183
|
-
color: "error"
|
|
184
|
-
}, t("Error"), ":", error)) : /* @__PURE__ */ React.createElement(React.Fragment, null, loading && /* @__PURE__ */ React.createElement(Box, {
|
|
185
|
-
sx: {
|
|
186
|
-
position: "fixed",
|
|
187
|
-
top: 0,
|
|
188
|
-
left: 0,
|
|
189
|
-
width: "100%",
|
|
190
|
-
height: "100%",
|
|
191
|
-
zIndex: 9999,
|
|
192
|
-
display: "flex",
|
|
193
|
-
alignItems: "center",
|
|
194
|
-
justifyContent: "center"
|
|
195
|
-
},
|
|
196
|
-
style: { backgroundColor: "rgba(255, 255, 255, 0.8)" }
|
|
197
|
-
}, /* @__PURE__ */ React.createElement(CircularProgress$1, {
|
|
198
|
-
size: "3rem",
|
|
199
|
-
color: "primary"
|
|
200
|
-
})), /* @__PURE__ */ React.createElement("iframe", {
|
|
201
|
-
id: "iFrameBA",
|
|
202
|
-
name: "iFrameBA",
|
|
203
|
-
src,
|
|
204
|
-
scrolling: "yes",
|
|
205
|
-
width: "100%",
|
|
206
|
-
height: "500",
|
|
207
|
-
frameBorder: "0",
|
|
208
|
-
onLoad: handleLoad,
|
|
209
|
-
onError: handleError,
|
|
210
|
-
style: { display: loading ? "none" : "block" }
|
|
211
|
-
})));
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
//#endregion
|
|
215
|
-
//#region src/utilities/form/paymentForm/vendorsForms/FiservForm.tsx
|
|
216
|
-
const defaultCssStyles = (theme) => {
|
|
217
|
-
return `
|
|
218
|
-
input, button, select {
|
|
219
|
-
font-family: 'Segoe UI', Roboto, Noto, 'Helvetica Neue', Helvetica, Ubuntu, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
220
|
-
font-size: 14px;
|
|
221
|
-
line-height: 1.1876em;
|
|
222
|
-
height: 16.6146px;
|
|
223
|
-
border: 1px solid ${theme.palette.grey[400]};
|
|
224
|
-
border-radius: 2px;
|
|
225
|
-
color: currentColor;
|
|
226
|
-
width: 80%;
|
|
227
|
-
height: 1.1876em;
|
|
228
|
-
margin: 8px 0px 0px 0px;
|
|
229
|
-
display: block;
|
|
230
|
-
padding: 6px 0px 6px 5px;
|
|
231
|
-
min-width: 0;
|
|
232
|
-
background: none;
|
|
233
|
-
box-sizing: content-box;
|
|
234
|
-
animation-name: mui-auto-fill-cancel;
|
|
235
|
-
letter-spacing: inherit;
|
|
236
|
-
animation-duration: 10ms;
|
|
237
|
-
}
|
|
238
|
-
input:focus, button:focus, select:focus {
|
|
239
|
-
outline: none;
|
|
240
|
-
border-color: ${theme.palette.primary.main};
|
|
241
|
-
box-shadow: 0px 0px 3px ${theme.palette.primary.main};
|
|
242
|
-
}
|
|
243
|
-
#ccexpirymonth, #ccexpiryyear {
|
|
244
|
-
display: inline-block;
|
|
245
|
-
vertical-align: middle;
|
|
246
|
-
}
|
|
247
|
-
#ccexpirymonth, #ccexpiryyear {
|
|
248
|
-
width: 30%;
|
|
249
|
-
}
|
|
250
|
-
br {
|
|
251
|
-
display: none;
|
|
252
|
-
}
|
|
253
|
-
button {
|
|
254
|
-
background-color: ${theme.palette.primary.main};
|
|
255
|
-
color: ${theme.palette.background.paper};
|
|
256
|
-
text-transform: uppercase;
|
|
257
|
-
}
|
|
258
|
-
label {
|
|
259
|
-
display: block;
|
|
260
|
-
font-family: "Segoe UI", Roboto, Noto, "Helvetica Neue", Helvetica, Ubuntu, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
|
|
261
|
-
font-size: 14px;
|
|
262
|
-
color: ${theme.palette.text.secondary};
|
|
263
|
-
margin-top: 10px;
|
|
264
|
-
}
|
|
265
|
-
.error {
|
|
266
|
-
color: ${theme.palette.error.main};
|
|
267
|
-
border-color: ${theme.palette.error.main};
|
|
268
|
-
}
|
|
269
|
-
::placeholder {
|
|
270
|
-
color: ${theme.palette.grey[500]};
|
|
271
|
-
}`.trim();
|
|
272
|
-
};
|
|
273
|
-
const DEFAULT_CREDIT_CARD_PLACEHOLDERS = "`placeholder=Enter Card Details&placeholdercvv=123&placeholdermonth=MM&placeholderyear=YYYY`;";
|
|
274
|
-
const DEFAULT_CREDIT_CARD_FEATURES = `&useexpiry=true&usecvv=true&invalidcreditcardevent=true&formatinput=true&unique=true&enhancedresponse=true&cardnumbernumericonly=true`;
|
|
275
|
-
const DEFAULT_ECHECK_PLACEHOLDERS = `placeholder=Routing Number / Account Number`;
|
|
276
|
-
const DEFAULT_ECHECK_FEATURES = `&fullmobilekeyboard=true`;
|
|
277
|
-
/**
|
|
278
|
-
* `FiservForm` Component
|
|
279
|
-
*
|
|
280
|
-
* This component is responsible for rendering an iframe for payment processing tailored for the Fiserv payment gateway. It manages the dynamic creation of the iframe URL based on the provided attributes and configures the iframe behavior accordingly.
|
|
281
|
-
*
|
|
282
|
-
* @param {Object} {
|
|
283
|
-
* paymentMethod = PaymentTenderTypeEnum.CreditCard,
|
|
284
|
-
* baseUrl = "https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html",
|
|
285
|
-
* customCss = defaultCssStyles,
|
|
286
|
-
* attributes = null
|
|
287
|
-
* } The properties passed to the component.
|
|
288
|
-
* @param {PaymentTenderTypeEnum} [paymentMethod=PaymentTenderTypeEnum.CreditCard] The payment method type, affecting the endpoint.
|
|
289
|
-
* @param {Object} [onStatusChange=null] Callback function to handle the status change event.
|
|
290
|
-
* @param {string} [baseUrl="https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html"] The base URL for the Fiserv payment gateway iframe.
|
|
291
|
-
* @param {string} [customCss=defaultCssStyles] Custom CSS to apply within the iframe.
|
|
292
|
-
* @param {Object} [attributes=null] Additional payment attributes to append as query parameters.
|
|
293
|
-
* @param {string} [attributes.placeholder] Placeholder text for the card fields.
|
|
294
|
-
* @param {string} [attributes.placeholdercvv] Placeholder text for the CVV field.
|
|
295
|
-
* @param {string} [attributes.placeholdermonth] Placeholder for the expiration month field.
|
|
296
|
-
* @param {string} [attributes.placeholderyear] Placeholder for the expiration year field.
|
|
297
|
-
* @param {boolean} [attributes.useexpiry=true] Flag to enable the use of the expiration date.
|
|
298
|
-
* @param {boolean} [attributes.usecvv=true] Flag to enable the use of the CVV code.
|
|
299
|
-
* @param {boolean} [attributes.invalidcreditcardevent=true] Event triggered on invalid card input.
|
|
300
|
-
* @param {boolean} [attributes.formatinput=true] Formats the card input fields.
|
|
301
|
-
* @param {boolean} [attributes.unique=true] Ensures unique card number inputs.
|
|
302
|
-
* @param {boolean} [attributes.enhancedresponse=true] Provides enhanced responses.
|
|
303
|
-
* @param {boolean} [attributes.cardnumbernumericonly=true] Allows only numeric input for the card number.
|
|
304
|
-
* @param {boolean} [attributes.fullmobilekeyboard=false] Enables full mobile keyboard access.
|
|
305
|
-
*
|
|
306
|
-
* @return {React.Component} The `FiservForm` component that handles the rendering of the payment iframe and processes payment data or errors.
|
|
307
|
-
*/
|
|
308
|
-
const FiservForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatusChange = (paymentFormResult) => {}, baseUrl = "https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html", customCss = "", attributes = null, paymentData = null }) => {
|
|
309
|
-
const [loading, setLoading] = useState(true);
|
|
310
|
-
const [token, setToken] = useState("");
|
|
311
|
-
const [error, setError] = useState(null);
|
|
312
|
-
const { t } = useTranslation();
|
|
313
|
-
const defaultCss = defaultCssStyles(useTheme());
|
|
314
|
-
/**
|
|
315
|
-
* handleFiservResponse
|
|
316
|
-
*
|
|
317
|
-
* @param {*} response
|
|
318
|
-
*/
|
|
319
|
-
const handleFiservResponse = useCallback((response) => {
|
|
320
|
-
let isError;
|
|
321
|
-
if (paymentMethod === PaymentTenderTypeEnum.CreditCard) isError = response?.errorCode !== "0" || response?.errorMessage || !response?.token;
|
|
322
|
-
else if (paymentMethod === PaymentTenderTypeEnum.ECheck) isError = !response?.message;
|
|
323
|
-
onStatusChange({
|
|
324
|
-
isValid: !isError,
|
|
325
|
-
payload: response,
|
|
326
|
-
message: response?.message,
|
|
327
|
-
errorCode: response?.errorCode,
|
|
328
|
-
errorMessage: response?.errorMessage
|
|
329
|
-
});
|
|
330
|
-
}, [onStatusChange, paymentMethod]);
|
|
331
|
-
const handleLoad = () => {
|
|
332
|
-
setLoading(false);
|
|
333
|
-
};
|
|
334
|
-
const handleError = () => {
|
|
335
|
-
setLoading(false);
|
|
336
|
-
};
|
|
337
|
-
useEffect(() => {
|
|
338
|
-
const handleMessage = (event) => {
|
|
339
|
-
try {
|
|
340
|
-
const data = JSON.parse(event.data);
|
|
341
|
-
setToken(data.message);
|
|
342
|
-
handleFiservResponse(data);
|
|
343
|
-
} catch (error) {
|
|
344
|
-
console.error("Error parsing the event data", error);
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
window.addEventListener("message", handleMessage, false);
|
|
348
|
-
return () => {
|
|
349
|
-
window.removeEventListener("message", handleMessage, false);
|
|
350
|
-
};
|
|
351
|
-
}, [paymentMethod]);
|
|
352
|
-
/**
|
|
353
|
-
* iFrameURL
|
|
354
|
-
*
|
|
355
|
-
* @return {*}
|
|
356
|
-
*/
|
|
357
|
-
const iFrameURL = useMemo(() => {
|
|
358
|
-
let url = "";
|
|
359
|
-
try {
|
|
360
|
-
const encodedCss = encodeURIComponent(customCss || defaultCss);
|
|
361
|
-
switch (paymentMethod) {
|
|
362
|
-
case PaymentTenderTypeEnum.CreditCard:
|
|
363
|
-
const creditCardCssStyles = `css=${encodedCss}`;
|
|
364
|
-
const queryParams = attributes ? Object.entries(attributes)?.map(([key, value]) => `${key.toLowerCase()}=${value?.toString()}`).join("&") : "";
|
|
365
|
-
url = attributes ? `${queryParams}&${creditCardCssStyles}` : `${DEFAULT_CREDIT_CARD_PLACEHOLDERS}&${creditCardCssStyles}${DEFAULT_CREDIT_CARD_FEATURES}`;
|
|
366
|
-
break;
|
|
367
|
-
case PaymentTenderTypeEnum.ECheck:
|
|
368
|
-
const eCheckCssStyles = `css=${encodedCss}`;
|
|
369
|
-
const queryParamsECheck = attributes ? Object.entries(attributes)?.map(([key, value]) => `${key.toLowerCase()}=${value?.toString()}`).join("&") : "";
|
|
370
|
-
url = attributes ? `${queryParamsECheck}&${eCheckCssStyles}` : `${DEFAULT_ECHECK_PLACEHOLDERS}&${eCheckCssStyles}${DEFAULT_ECHECK_FEATURES}`;
|
|
371
|
-
break;
|
|
372
|
-
default: url = "";
|
|
373
|
-
}
|
|
374
|
-
} catch (error) {
|
|
375
|
-
setError(error?.message);
|
|
376
|
-
}
|
|
377
|
-
return `
|
|
378
|
-
${url}
|
|
379
|
-
`.trim();
|
|
380
|
-
}, [paymentMethod]);
|
|
381
|
-
return /* @__PURE__ */ React.createElement("div", null, error ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Typography, {
|
|
382
|
-
variant: "subtitle1",
|
|
383
|
-
color: "error"
|
|
384
|
-
}, t("There was an error rendering the hosted payment form. Please check your settings and try again"), ":"), /* @__PURE__ */ React.createElement(LayoutUnit, { unit: "xxs" }), /* @__PURE__ */ React.createElement(Typography, {
|
|
385
|
-
variant: "body1",
|
|
386
|
-
color: "error"
|
|
387
|
-
}, t("Error"), ":", error)) : /* @__PURE__ */ React.createElement("form", {
|
|
388
|
-
name: "tokenform",
|
|
389
|
-
id: "tokenform"
|
|
390
|
-
}, paymentMethod === PaymentTenderTypeEnum.ECheck && /* @__PURE__ */ React.createElement(InputLabel, { style: {
|
|
391
|
-
fontSize: 15,
|
|
392
|
-
marginLeft: 10
|
|
393
|
-
} }, t("eCheck Information")), loading && /* @__PURE__ */ React.createElement(Box, { sx: {
|
|
394
|
-
position: "fixed",
|
|
395
|
-
top: 0,
|
|
396
|
-
left: 0,
|
|
397
|
-
width: "100%",
|
|
398
|
-
height: "100%",
|
|
399
|
-
backgroundColor: "rgba(255, 255, 255, 0.8)",
|
|
400
|
-
zIndex: 9999,
|
|
401
|
-
display: "flex",
|
|
402
|
-
alignItems: "center",
|
|
403
|
-
justifyContent: "center"
|
|
404
|
-
} }, /* @__PURE__ */ React.createElement(CircularProgress$1, {
|
|
405
|
-
size: "3rem",
|
|
406
|
-
color: "primary"
|
|
407
|
-
})), /* @__PURE__ */ React.createElement("iframe", {
|
|
408
|
-
id: "tokenframe",
|
|
409
|
-
name: "tokenframe",
|
|
410
|
-
src: `${baseUrl}?${iFrameURL}`,
|
|
411
|
-
scrolling: "yes",
|
|
412
|
-
width: "100%",
|
|
413
|
-
height: "220",
|
|
414
|
-
frameBorder: "0",
|
|
415
|
-
onLoad: handleLoad,
|
|
416
|
-
onError: handleError,
|
|
417
|
-
style: { display: loading ? "none" : "block" }
|
|
418
|
-
})));
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
//#endregion
|
|
422
|
-
//#region src/utilities/form/paymentForm/vendorsForms/PaymentusForm.tsx
|
|
423
|
-
const PaymentusForm = ({ paymentMethod = PaymentTenderTypeEnum.CreditCard, onStatusChange = null, paymentDetails = null, baseUrl = "https://secure4.paymentus.com/xotp/pm/sgc2", attributes = null, paymentData = null }) => {
|
|
424
|
-
const methodURL = paymentMethod === PaymentTenderTypeEnum.CreditCard ? "creditcard" : "echeck";
|
|
425
|
-
const [src, setSrc] = useState(`${baseUrl}`);
|
|
426
|
-
const [response, setResponse] = useState({});
|
|
427
|
-
const [loading, setLoading] = useState(true);
|
|
428
|
-
const [error, setError] = useState("");
|
|
429
|
-
const user = useUser();
|
|
430
|
-
const [paymentTokenCreditCardIDGuid] = useState(v4());
|
|
431
|
-
const [paymentTokenIDGuid] = useState(v4());
|
|
432
|
-
const { t } = useTranslation();
|
|
433
|
-
/**
|
|
434
|
-
* API call to get the Paymentus Token
|
|
435
|
-
*/
|
|
436
|
-
const getPaymentusToken = useCallback(async (payload) => {
|
|
437
|
-
if (!payload) return null;
|
|
438
|
-
return apiMutate(ConfigService.pgV1ApiUrl, `ProcessHostedPaymentPagePayment/authToken/${methodURL}`, {
|
|
439
|
-
method: "POST",
|
|
440
|
-
data: payload
|
|
441
|
-
}, {});
|
|
442
|
-
}, []);
|
|
443
|
-
useCallback(async (payload) => {
|
|
444
|
-
if (!payload) return null;
|
|
445
|
-
const PostURL = paymentMethod === PaymentTenderTypeEnum.CreditCard ? "PaymentTokenCreditCard/ByPass" : "PaymentTokenECheck/CreateByPass";
|
|
446
|
-
return apiMutate(ConfigService.pgV1ApiUrl, `${PostURL}`, {
|
|
447
|
-
method: "POST",
|
|
448
|
-
data: payload
|
|
449
|
-
}, {});
|
|
450
|
-
}, []);
|
|
451
|
-
/**
|
|
452
|
-
* handleFiservResponse
|
|
453
|
-
*
|
|
454
|
-
* @param {*} response
|
|
455
|
-
*/
|
|
456
|
-
const handlePaymentusResponse = useCallback((response) => {
|
|
457
|
-
const paymentFormResponse = {
|
|
458
|
-
isValid: !response?.error,
|
|
459
|
-
payload: response,
|
|
460
|
-
message: response?.Token,
|
|
461
|
-
errorCode: response?.error,
|
|
462
|
-
errorMessage: response?.error,
|
|
463
|
-
selectedHostedPayment: PaymentVendorFactoryEnum.Paymentus
|
|
464
|
-
};
|
|
465
|
-
onStatusChange?.(paymentFormResponse);
|
|
466
|
-
}, [onStatusChange, paymentMethod]);
|
|
467
|
-
const handleLoad = () => {
|
|
468
|
-
setLoading(false);
|
|
469
|
-
};
|
|
470
|
-
const handleError = () => {
|
|
471
|
-
setLoading(false);
|
|
472
|
-
};
|
|
473
|
-
useEffect(() => {
|
|
474
|
-
const handleMessage = async (e) => {
|
|
475
|
-
const jsonData = e.data;
|
|
476
|
-
if (typeof jsonData === "object" && jsonData.constructor.name === "Object") {
|
|
477
|
-
if (jsonData && jsonData.height) {
|
|
478
|
-
const iframe = document.querySelector("iframe");
|
|
479
|
-
if (iframe) iframe.style.height = `${jsonData.height}px`;
|
|
480
|
-
}
|
|
481
|
-
let responseData;
|
|
482
|
-
try {
|
|
483
|
-
responseData = JSON.parse(jsonData?.postBackData);
|
|
484
|
-
} catch (e) {
|
|
485
|
-
return;
|
|
486
|
-
}
|
|
487
|
-
if (responseData?.Token) {
|
|
488
|
-
if (jsonData.error) console.log("Error: " + jsonData.error);
|
|
489
|
-
handlePaymentusResponse(responseData);
|
|
490
|
-
setResponse(responseData);
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
};
|
|
494
|
-
window.addEventListener("message", handleMessage);
|
|
495
|
-
return () => {
|
|
496
|
-
window.removeEventListener("message", handleMessage);
|
|
497
|
-
};
|
|
498
|
-
}, []);
|
|
499
|
-
useEffect(() => {
|
|
500
|
-
const preLoadForm = async () => {
|
|
501
|
-
try {
|
|
502
|
-
if (!paymentData?.appPaymentVendorID === null || !paymentDetails) {
|
|
503
|
-
setError(t("Missing required data to render the hosted payment form"));
|
|
504
|
-
return;
|
|
505
|
-
}
|
|
506
|
-
const response = await getPaymentusToken({
|
|
507
|
-
TenantID: user?.currentTenantId,
|
|
508
|
-
AppPaymentVendorID: paymentData?.appPaymentVendorID,
|
|
509
|
-
PaymentAmount: paymentDetails?.amount,
|
|
510
|
-
CurrencyCode: "USD",
|
|
511
|
-
Customer: {
|
|
512
|
-
FirstName: paymentDetails?.firstName,
|
|
513
|
-
LastName: paymentDetails?.lastName,
|
|
514
|
-
Email: null,
|
|
515
|
-
Phone: paymentDetails?.phone
|
|
516
|
-
},
|
|
517
|
-
OriginUrl: window.location.origin,
|
|
518
|
-
Reference1: paymentDetails?.reference1,
|
|
519
|
-
Reference2: paymentDetails?.reference2,
|
|
520
|
-
Reference3: paymentDetails?.reference3
|
|
521
|
-
});
|
|
522
|
-
if (response?.data) setSrc(`${baseUrl}?authToken=${response.data}`);
|
|
523
|
-
} catch (e) {
|
|
524
|
-
console.error("Error generating iframe source URL:", e);
|
|
525
|
-
setError(t("Error generating iframe source") + e?.message);
|
|
526
|
-
}
|
|
527
|
-
};
|
|
528
|
-
preLoadForm();
|
|
529
|
-
}, [
|
|
530
|
-
attributes,
|
|
531
|
-
paymentData,
|
|
532
|
-
paymentDetails,
|
|
533
|
-
baseUrl,
|
|
534
|
-
user
|
|
535
|
-
]);
|
|
536
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, error ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Typography, {
|
|
537
|
-
variant: "subtitle1",
|
|
538
|
-
color: "error"
|
|
539
|
-
}, t("There was an error rendering the hosted payment form. Please check your settings and try again"), ":"), /* @__PURE__ */ React.createElement(LayoutUnit, { unit: "xxs" }), /* @__PURE__ */ React.createElement(Typography, {
|
|
540
|
-
variant: "body1",
|
|
541
|
-
color: "error"
|
|
542
|
-
}, t("Error"), ":", error)) : /* @__PURE__ */ React.createElement(React.Fragment, null, loading && /* @__PURE__ */ React.createElement(Box, { sx: {
|
|
543
|
-
position: "fixed",
|
|
544
|
-
top: 0,
|
|
545
|
-
left: 0,
|
|
546
|
-
width: "100%",
|
|
547
|
-
height: "100%",
|
|
548
|
-
backgroundColor: "rgba(255, 255, 255, 0.8)",
|
|
549
|
-
zIndex: 9999,
|
|
550
|
-
display: "flex",
|
|
551
|
-
alignItems: "center",
|
|
552
|
-
justifyContent: "center"
|
|
553
|
-
} }, /* @__PURE__ */ React.createElement(CircularProgress$1, {
|
|
554
|
-
size: "3rem",
|
|
555
|
-
color: "primary"
|
|
556
|
-
})), /* @__PURE__ */ React.createElement("iframe", {
|
|
557
|
-
id: "iFramePS",
|
|
558
|
-
name: "iFramePS",
|
|
559
|
-
src,
|
|
560
|
-
scrolling: "yes",
|
|
561
|
-
width: "100%",
|
|
562
|
-
height: "785",
|
|
563
|
-
frameBorder: "0",
|
|
564
|
-
onLoad: handleLoad,
|
|
565
|
-
onError: handleError,
|
|
566
|
-
style: { display: loading ? "none" : "block" }
|
|
567
|
-
})));
|
|
568
|
-
};
|
|
569
|
-
|
|
570
|
-
//#endregion
|
|
571
|
-
//#region src/utilities/form/paymentForm/usePaymentProviderForm.tsx
|
|
572
|
-
/**
|
|
573
|
-
* useProviderForm
|
|
574
|
-
*
|
|
575
|
-
* @param {(PaymentTenderTypeEnum | undefined)} paymentMethod
|
|
576
|
-
* @param {*} providerType
|
|
577
|
-
* @param {*} providerProps
|
|
578
|
-
* @param {(paymentFormResult: any) => void} onStatusChange
|
|
579
|
-
* @return {*} {*}
|
|
580
|
-
*/
|
|
581
|
-
const usePaymentProviderForm = (paymentMethod, providerType, providerProps, onStatusChange, paymentDetails, data) => {
|
|
582
|
-
switch (providerType) {
|
|
583
|
-
case PaymentVendorFactoryEnum.ICheck: return /* @__PURE__ */ React.createElement(ICheckForm, {
|
|
584
|
-
paymentMethod,
|
|
585
|
-
onStatusChange,
|
|
586
|
-
paymentDetails,
|
|
587
|
-
paymentData: data,
|
|
588
|
-
...providerProps
|
|
589
|
-
});
|
|
590
|
-
case PaymentVendorFactoryEnum.Fiserv: return /* @__PURE__ */ React.createElement(FiservForm, {
|
|
591
|
-
paymentMethod,
|
|
592
|
-
onStatusChange,
|
|
593
|
-
paymentData: data,
|
|
594
|
-
...providerProps
|
|
595
|
-
});
|
|
596
|
-
case PaymentVendorFactoryEnum.Paymentus: return /* @__PURE__ */ React.createElement(PaymentusForm, {
|
|
597
|
-
paymentMethod,
|
|
598
|
-
onStatusChange,
|
|
599
|
-
paymentDetails,
|
|
600
|
-
paymentData: data,
|
|
601
|
-
...providerProps
|
|
602
|
-
});
|
|
603
|
-
case PaymentVendorFactoryEnum.Stripe: return /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
604
|
-
case PaymentVendorFactoryEnum.AuthorizeNet: return /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
605
|
-
default: return null;
|
|
606
|
-
}
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
//#endregion
|
|
610
|
-
//#region src/utilities/form/paymentForm/PaymentCardDetail.tsx
|
|
611
|
-
const logos$1 = {
|
|
612
|
-
visa: visaLogo,
|
|
613
|
-
mastercard: masterCardLogo,
|
|
614
|
-
discover: discoverLogo,
|
|
615
|
-
amex: americaExpressLogo,
|
|
616
|
-
default: visaLogo
|
|
617
|
-
};
|
|
618
|
-
/**
|
|
619
|
-
* PaymentCardDetail component displays the details of a payment card.
|
|
620
|
-
*
|
|
621
|
-
* @param {Object} props - The component props.
|
|
622
|
-
* @param {CardData} props.cardData - The data of the payment card.
|
|
623
|
-
* @param {string} props.cardData.paymentToken - The token of the payment card.
|
|
624
|
-
* @param {string} props.cardData.expirationDate - The expiration date of the payment card.
|
|
625
|
-
* @param {boolean} props.cardData.active - The active status of the payment card.
|
|
626
|
-
*
|
|
627
|
-
* @returns {JSX.Element} The rendered PaymentCardDetail component.
|
|
628
|
-
*
|
|
629
|
-
* The component displays the card logo, nickname, and expiration date.
|
|
630
|
-
* If the card is expired, it shows an "Expired" chip.
|
|
631
|
-
* The card logo is determined based on the nickname of the card.
|
|
632
|
-
*/
|
|
633
|
-
const PaymentCardDetail = ({ cardData }) => {
|
|
634
|
-
const { paymentToken, expirationDate, active } = cardData || {};
|
|
635
|
-
const isExpired = new Date(expirationDate) < /* @__PURE__ */ new Date() && !active;
|
|
636
|
-
const getCardLogo = (nickname) => {
|
|
637
|
-
const lowerNickname = nickname?.toLowerCase();
|
|
638
|
-
if (lowerNickname.includes("visa")) return logos$1.visa;
|
|
639
|
-
if (lowerNickname.includes("mc")) return logos$1.mastercard;
|
|
640
|
-
if (lowerNickname.includes("disc")) return logos$1.discover;
|
|
641
|
-
if (lowerNickname.includes("amex") || lowerNickname.includes("american express")) return logos$1.amex;
|
|
642
|
-
return logos$1.default;
|
|
643
|
-
};
|
|
644
|
-
const styles = {
|
|
645
|
-
card: {
|
|
646
|
-
border: 0,
|
|
647
|
-
padding: "5px 15px",
|
|
648
|
-
width: "100%"
|
|
649
|
-
},
|
|
650
|
-
logoContainer: {
|
|
651
|
-
border: "2px solid #e0e0e0",
|
|
652
|
-
borderRadius: "8px",
|
|
653
|
-
padding: "8px",
|
|
654
|
-
display: "flex",
|
|
655
|
-
justifyContent: "center",
|
|
656
|
-
alignItems: "center",
|
|
657
|
-
height: "42px",
|
|
658
|
-
width: "70px"
|
|
659
|
-
},
|
|
660
|
-
logoImage: {
|
|
661
|
-
width: 55,
|
|
662
|
-
height: "auto",
|
|
663
|
-
objectFit: "contain"
|
|
664
|
-
},
|
|
665
|
-
nickname: { fontWeight: 600 },
|
|
666
|
-
expiration: { fontWeight: 400 },
|
|
667
|
-
expiredChip: { fontWeight: "bold" }
|
|
668
|
-
};
|
|
669
|
-
return /* @__PURE__ */ React.createElement(Card, {
|
|
670
|
-
variant: "outlined",
|
|
671
|
-
style: styles.card
|
|
672
|
-
}, /* @__PURE__ */ React.createElement(CardContent, { style: { padding: "5px 0" } }, /* @__PURE__ */ React.createElement(Grid$1, {
|
|
673
|
-
container: true,
|
|
674
|
-
alignItems: "center",
|
|
675
|
-
spacing: 2
|
|
676
|
-
}, /* @__PURE__ */ React.createElement(Grid$1, { item: true }, /* @__PURE__ */ React.createElement("div", { style: styles.logoContainer }, /* @__PURE__ */ React.createElement("img", {
|
|
677
|
-
src: getCardLogo(paymentToken?.nickname || ""),
|
|
678
|
-
alt: "Card Logo",
|
|
679
|
-
style: styles.logoImage
|
|
680
|
-
}))), /* @__PURE__ */ React.createElement(Grid$1, {
|
|
681
|
-
item: true,
|
|
682
|
-
xs: true
|
|
683
|
-
}, /* @__PURE__ */ React.createElement(Typography, {
|
|
684
|
-
variant: "body1",
|
|
685
|
-
style: styles.nickname
|
|
686
|
-
}, paymentToken?.nickname || "Unknown Card"), /* @__PURE__ */ React.createElement(Typography, {
|
|
687
|
-
variant: "subtitle2",
|
|
688
|
-
color: "textSecondary",
|
|
689
|
-
style: styles.expiration
|
|
690
|
-
}, "Exp. date: ", " ", expirationDate ? new Date(expirationDate).toLocaleDateString("en-US", {
|
|
691
|
-
month: "2-digit",
|
|
692
|
-
year: "2-digit"
|
|
693
|
-
}) : "N/A")), /* @__PURE__ */ React.createElement(Grid$1, {
|
|
694
|
-
item: true,
|
|
695
|
-
style: { marginRight: "15px" }
|
|
696
|
-
}, isExpired && /* @__PURE__ */ React.createElement(Chip, {
|
|
697
|
-
label: "Expired",
|
|
698
|
-
color: "secondary",
|
|
699
|
-
size: "small",
|
|
700
|
-
style: styles.expiredChip
|
|
701
|
-
})))));
|
|
702
|
-
};
|
|
703
|
-
|
|
704
|
-
//#endregion
|
|
705
|
-
//#region src/utilities/form/paymentForm/PaymentBankDetails.tsx
|
|
706
|
-
const logos = { default: eCheckLogo };
|
|
707
|
-
/**
|
|
708
|
-
* PaymentBankDetails component displays the bank details of a payment method.
|
|
709
|
-
* It shows the card logo, nickname, routing number, and an inactive chip if the card is not active.
|
|
710
|
-
*
|
|
711
|
-
* @param {Object} props - The component props.
|
|
712
|
-
* @param {CardData} props.bankData - The bank data containing payment token and routing number.
|
|
713
|
-
* @returns {JSX.Element} The rendered PaymentBankDetails component.
|
|
714
|
-
*/
|
|
715
|
-
const PaymentBankDetails = ({ bankData }) => {
|
|
716
|
-
const { paymentToken, routingNumber } = bankData || {};
|
|
717
|
-
const getCardLogo = (nickname) => {
|
|
718
|
-
if ((nickname?.toLowerCase()).includes("visa")) return logos.default;
|
|
719
|
-
return logos.default;
|
|
720
|
-
};
|
|
721
|
-
const styles = {
|
|
722
|
-
card: {
|
|
723
|
-
border: 0,
|
|
724
|
-
padding: "5px 15px",
|
|
725
|
-
width: "100%"
|
|
726
|
-
},
|
|
727
|
-
logoContainer: {
|
|
728
|
-
border: "2px solid #e0e0e0",
|
|
729
|
-
borderRadius: "8px",
|
|
730
|
-
padding: "8px",
|
|
731
|
-
display: "flex",
|
|
732
|
-
justifyContent: "center",
|
|
733
|
-
alignItems: "center",
|
|
734
|
-
height: "42px",
|
|
735
|
-
width: "70px"
|
|
736
|
-
},
|
|
737
|
-
logoImage: {
|
|
738
|
-
width: 52,
|
|
739
|
-
height: "auto",
|
|
740
|
-
objectFit: "contain"
|
|
741
|
-
},
|
|
742
|
-
nickname: { fontWeight: 600 },
|
|
743
|
-
expiration: { fontWeight: 400 },
|
|
744
|
-
expiredChip: { fontWeight: "bold" }
|
|
745
|
-
};
|
|
746
|
-
return /* @__PURE__ */ React.createElement(Card, {
|
|
747
|
-
variant: "outlined",
|
|
748
|
-
style: styles.card
|
|
749
|
-
}, /* @__PURE__ */ React.createElement(CardContent, { style: { padding: "5px 0" } }, /* @__PURE__ */ React.createElement(Grid$1, {
|
|
750
|
-
container: true,
|
|
751
|
-
alignItems: "center",
|
|
752
|
-
spacing: 2
|
|
753
|
-
}, /* @__PURE__ */ React.createElement(Grid$1, { item: true }, /* @__PURE__ */ React.createElement("div", { style: styles.logoContainer }, /* @__PURE__ */ React.createElement("img", {
|
|
754
|
-
src: getCardLogo(paymentToken?.nickname || ""),
|
|
755
|
-
alt: "Card Logo",
|
|
756
|
-
style: styles.logoImage
|
|
757
|
-
}))), /* @__PURE__ */ React.createElement(Grid$1, {
|
|
758
|
-
item: true,
|
|
759
|
-
xs: true
|
|
760
|
-
}, /* @__PURE__ */ React.createElement(Typography, {
|
|
761
|
-
variant: "body1",
|
|
762
|
-
style: styles.nickname
|
|
763
|
-
}, paymentToken?.nickname || "Unknown Card"), /* @__PURE__ */ React.createElement(Typography, {
|
|
764
|
-
variant: "subtitle2",
|
|
765
|
-
color: "textSecondary",
|
|
766
|
-
style: styles.expiration
|
|
767
|
-
}, "Routing Number: ", " ", routingNumber ? routingNumber : "N/A")), /* @__PURE__ */ React.createElement(Grid$1, {
|
|
768
|
-
item: true,
|
|
769
|
-
style: { marginRight: "15px" }
|
|
770
|
-
}, !paymentToken?.active && /* @__PURE__ */ React.createElement(Chip, {
|
|
771
|
-
label: "Inactive",
|
|
772
|
-
color: "secondary",
|
|
773
|
-
size: "small",
|
|
774
|
-
style: styles.expiredChip
|
|
775
|
-
})))));
|
|
776
|
-
};
|
|
777
|
-
|
|
778
|
-
//#endregion
|
|
779
|
-
//#region src/utilities/form/paymentForm/PaymentDropdown.tsx
|
|
780
|
-
const useStyles$5 = makeStyles(() => ({ select: {
|
|
781
|
-
background: "#F5F6F9",
|
|
782
|
-
paddingTop: 2,
|
|
783
|
-
paddingBottom: 0,
|
|
784
|
-
paddingLeft: 0
|
|
785
|
-
} }));
|
|
786
|
-
/**
|
|
787
|
-
* PaymentDropdown component renders a dropdown menu for selecting a payment account.
|
|
788
|
-
* It supports both credit card and bank account payment types.
|
|
789
|
-
*
|
|
790
|
-
* @component
|
|
791
|
-
* @param {PaymentDropdownProps} props - The properties for the PaymentDropdown component.
|
|
792
|
-
* @param {Array} props.paymentAccounts - An array of payment accounts to display in the dropdown.
|
|
793
|
-
* @param {Function} props.setSelectedPaymentAccount - A function to set the selected payment account.
|
|
794
|
-
* @param {PaymentTenderTypeEnum} props.paymentType - The type of payment (CreditCard or BankAccount).
|
|
795
|
-
*
|
|
796
|
-
* @returns {JSX.Element} The rendered PaymentDropdown component.
|
|
797
|
-
*/
|
|
798
|
-
const PaymentDropdown = ({ paymentAccounts, setSelectedPaymentAccount, paymentType }) => {
|
|
799
|
-
const [selectedPaymentCard, setSelectedPaymentCard] = useState(paymentAccounts?.[0]?.paymentTokenID || "");
|
|
800
|
-
const classes = useStyles$5();
|
|
801
|
-
const { t } = useTranslation();
|
|
802
|
-
/**
|
|
803
|
-
* Renders the content for a MenuItem based on the payment type.
|
|
804
|
-
*
|
|
805
|
-
* @param {CardData} card - The card data.
|
|
806
|
-
* @returns {JSX.Element} The rendered component for the MenuItem.
|
|
807
|
-
*/
|
|
808
|
-
const renderMenuItemContent = useCallback((card) => {
|
|
809
|
-
switch (paymentType) {
|
|
810
|
-
case PaymentTenderTypeEnum.CreditCard: return /* @__PURE__ */ React.createElement(PaymentCardDetail, { cardData: card });
|
|
811
|
-
case PaymentTenderTypeEnum.ECheck: return /* @__PURE__ */ React.createElement(PaymentBankDetails, { bankData: card });
|
|
812
|
-
default: return null;
|
|
813
|
-
}
|
|
814
|
-
}, [paymentType]);
|
|
815
|
-
/**
|
|
816
|
-
* Handles the change event for the dropdown menu.
|
|
817
|
-
*
|
|
818
|
-
* @param {React.ChangeEvent<{ value: unknown }>} event
|
|
819
|
-
*/
|
|
820
|
-
const handleChange = (event) => {
|
|
821
|
-
const selectedPaymentAccount = paymentAccounts.find((account) => account.paymentTokenID === event.target.value);
|
|
822
|
-
setSelectedPaymentCard(event.target.value);
|
|
823
|
-
setSelectedPaymentAccount?.(selectedPaymentAccount);
|
|
824
|
-
};
|
|
825
|
-
/**
|
|
826
|
-
* Generates a memoized list of menu items for payment accounts.
|
|
827
|
-
*
|
|
828
|
-
* This function uses the `useMemo` hook to optimize performance by memoizing the list of menu items.
|
|
829
|
-
* It maps over the `paymentAccounts` array and creates a `MenuItem` for each account.
|
|
830
|
-
*
|
|
831
|
-
* @returns {JSX.Element[]} A memoized array of `MenuItem` components.
|
|
832
|
-
*/
|
|
833
|
-
const menuItems = useMemo(() => paymentAccounts?.map((card) => /* @__PURE__ */ React.createElement(MenuItem, {
|
|
834
|
-
key: card.paymentTokenID,
|
|
835
|
-
value: card.paymentTokenID,
|
|
836
|
-
style: { padding: 0 }
|
|
837
|
-
}, renderMenuItemContent(card))), [paymentAccounts, renderMenuItemContent]);
|
|
838
|
-
/**
|
|
839
|
-
* useEffect()
|
|
840
|
-
* Set the default selected payment account when the component mounts or paymentAccounts change
|
|
841
|
-
*/
|
|
842
|
-
useEffect(() => {
|
|
843
|
-
const defaultPaymentAccount = paymentAccounts.find((account) => account.paymentTokenID === paymentAccounts?.[0]?.paymentTokenID);
|
|
844
|
-
setSelectedPaymentAccount?.(defaultPaymentAccount);
|
|
845
|
-
}, [paymentAccounts, setSelectedPaymentAccount]);
|
|
846
|
-
return /* @__PURE__ */ React.createElement(FormControl, {
|
|
847
|
-
fullWidth: true,
|
|
848
|
-
variant: "outlined"
|
|
849
|
-
}, /* @__PURE__ */ React.createElement(InputLabel, { id: "payment-select-label" }, t("Select Payment Account")), /* @__PURE__ */ React.createElement(Select, {
|
|
850
|
-
labelId: "payment-select-label",
|
|
851
|
-
label: t(`Select Payment Account`),
|
|
852
|
-
onChange: handleChange,
|
|
853
|
-
value: selectedPaymentCard,
|
|
854
|
-
classes: { root: classes.select }
|
|
855
|
-
}, menuItems));
|
|
856
|
-
};
|
|
857
|
-
var PaymentDropdown_default = PaymentDropdown;
|
|
858
|
-
|
|
859
|
-
//#endregion
|
|
860
|
-
//#region src/utilities/form/paymentForm/HostedPaymentError.tsx
|
|
861
|
-
/**
|
|
862
|
-
* @file HostedPaymentError.tsx
|
|
863
|
-
* @description This component displays an error message when there is an issue rendering the hosted payment form.
|
|
864
|
-
*/
|
|
865
|
-
/**
|
|
866
|
-
* HostedPaymentError component
|
|
867
|
-
*
|
|
868
|
-
* This component is used to display an error message when there is an issue rendering the hosted payment form.
|
|
869
|
-
* It utilizes the `useTranslation` hook to support internationalization.
|
|
870
|
-
*
|
|
871
|
-
* @param {Object} props - The properties object.
|
|
872
|
-
* @param {string} props.error - The error string.
|
|
873
|
-
* @param {string} props.message - The error message to be displayed.
|
|
874
|
-
*
|
|
875
|
-
* @returns {JSX.Element} The rendered error message component.
|
|
876
|
-
*/
|
|
877
|
-
const HostedPaymentError = ({ error, message }) => {
|
|
878
|
-
const { t } = useTranslation();
|
|
879
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Typography$1, {
|
|
880
|
-
variant: "subtitle1",
|
|
881
|
-
color: "error"
|
|
882
|
-
}, t("There was an error rendering the hosted payment form. Please check your settings and try again"), ":"), /* @__PURE__ */ React.createElement(LayoutUnit, { unit: "xxs" }), /* @__PURE__ */ React.createElement(Typography$1, {
|
|
883
|
-
variant: "body1",
|
|
884
|
-
color: "error"
|
|
885
|
-
}, t("Error"), ": ", message));
|
|
886
|
-
};
|
|
887
|
-
|
|
888
|
-
//#endregion
|
|
889
|
-
//#region src/utilities/form/paymentForm/PaymentCard.tsx
|
|
890
|
-
const useStyles$4 = makeStyles((theme) => ({
|
|
891
|
-
root: {},
|
|
892
|
-
paper: {
|
|
893
|
-
width: "100%",
|
|
894
|
-
height: "100%",
|
|
895
|
-
position: "relative"
|
|
896
|
-
},
|
|
897
|
-
styleWidth: { width: "75%" },
|
|
898
|
-
media: { height: 120 },
|
|
899
|
-
cardContent: { paddingTop: 0 },
|
|
900
|
-
titleWrapper: {
|
|
901
|
-
display: "flex",
|
|
902
|
-
backgroundColor: (props) => props?.headerColor || "#FFFFFF",
|
|
903
|
-
alignItems: "center"
|
|
904
|
-
},
|
|
905
|
-
loading: {
|
|
906
|
-
position: "absolute",
|
|
907
|
-
top: 0,
|
|
908
|
-
left: 0
|
|
909
|
-
},
|
|
910
|
-
expandMessage: { display: "flex" },
|
|
911
|
-
cardRoot: { "&:last-child": { paddingBottom: theme.spacing(10) } },
|
|
912
|
-
title: { flex: 1 },
|
|
913
|
-
visualization: {
|
|
914
|
-
display: "flex",
|
|
915
|
-
alignItems: "flex-end",
|
|
916
|
-
width: "100%",
|
|
917
|
-
height: 300
|
|
918
|
-
}
|
|
919
|
-
}));
|
|
920
|
-
const PaymentCard = (props) => {
|
|
921
|
-
const { title, className, style, loading, headerElement, children } = props;
|
|
922
|
-
const classes = useStyles$4(props);
|
|
923
|
-
return /* @__PURE__ */ React.createElement(Card, {
|
|
924
|
-
className,
|
|
925
|
-
style: {
|
|
926
|
-
border: "none",
|
|
927
|
-
boxShadow: "none",
|
|
928
|
-
borderRadius: 0,
|
|
929
|
-
...style
|
|
930
|
-
}
|
|
931
|
-
}, title && /* @__PURE__ */ React.createElement(CardContent, {
|
|
932
|
-
className: classes.titleWrapper,
|
|
933
|
-
classes: { root: classes.cardRoot }
|
|
934
|
-
}, /* @__PURE__ */ React.createElement(Typography, {
|
|
935
|
-
className: classes.title,
|
|
936
|
-
component: "h2",
|
|
937
|
-
variant: "h6"
|
|
938
|
-
}, title), headerElement && headerElement), loading && /* @__PURE__ */ React.createElement(Box, { sx: { width: "100%" } }, /* @__PURE__ */ React.createElement(LinearProgress, null)), /* @__PURE__ */ React.createElement(Box, { className }, children));
|
|
939
|
-
};
|
|
940
|
-
|
|
941
|
-
//#endregion
|
|
942
|
-
//#region src/utilities/form/paymentForm/CreditCardUtils.ts
|
|
943
|
-
/**
|
|
944
|
-
* clearNumber
|
|
945
|
-
*
|
|
946
|
-
* @param {string} [value='']
|
|
947
|
-
* @return {*}
|
|
948
|
-
*/
|
|
949
|
-
function clearNumber(value = "") {
|
|
950
|
-
return value.replace(/\D+/g, "");
|
|
951
|
-
}
|
|
952
|
-
/**
|
|
953
|
-
* formatCreditCardNumber - Format credit card number
|
|
954
|
-
*
|
|
955
|
-
* @export
|
|
956
|
-
* @param {*} value
|
|
957
|
-
* @return {*}
|
|
958
|
-
*/
|
|
959
|
-
function formatCreditCardNumber(value) {
|
|
960
|
-
if (!value) return value;
|
|
961
|
-
const issuer = Payment.fns.cardType(value);
|
|
962
|
-
const clearValue = clearNumber(value);
|
|
963
|
-
let nextValue;
|
|
964
|
-
switch (issuer) {
|
|
965
|
-
case "amex":
|
|
966
|
-
nextValue = `${clearValue.slice(0, 4)} ${clearValue.slice(4, 10)} ${clearValue.slice(10, 15)}`;
|
|
967
|
-
break;
|
|
968
|
-
case "dinersclub":
|
|
969
|
-
nextValue = `${clearValue.slice(0, 4)} ${clearValue.slice(4, 10)} ${clearValue.slice(10, 14)}`;
|
|
970
|
-
break;
|
|
971
|
-
default:
|
|
972
|
-
nextValue = `${clearValue.slice(0, 4)} ${clearValue.slice(4, 8)} ${clearValue.slice(8, 12)} ${clearValue.slice(12, 19)}`;
|
|
973
|
-
break;
|
|
974
|
-
}
|
|
975
|
-
return nextValue.trim();
|
|
976
|
-
}
|
|
977
|
-
/**
|
|
978
|
-
* formatCVC - formats the CVC value
|
|
979
|
-
*
|
|
980
|
-
* @export
|
|
981
|
-
* @param {*} value
|
|
982
|
-
* @param {*} prevValue
|
|
983
|
-
* @param {*} [allValues={}]
|
|
984
|
-
* @return {*}
|
|
985
|
-
*/
|
|
986
|
-
function formatCVC(value, prevValue, allValues = {}) {
|
|
987
|
-
const clearValue = clearNumber(value);
|
|
988
|
-
let maxLength = 4;
|
|
989
|
-
if (allValues?.number) maxLength = Payment.fns.cardType(allValues?.number) === "amex" ? 4 : 3;
|
|
990
|
-
return clearValue.slice(0, maxLength);
|
|
991
|
-
}
|
|
992
|
-
/**
|
|
993
|
-
* formatExpirationDate - format expiration date
|
|
994
|
-
* @export
|
|
995
|
-
* @param {*} value
|
|
996
|
-
* @return {*}
|
|
997
|
-
*/
|
|
998
|
-
function formatExpirationDate(value) {
|
|
999
|
-
const clearValue = clearNumber(value);
|
|
1000
|
-
if (clearValue.length >= 3) return `${clearValue.slice(0, 2)}/${clearValue.slice(2, 4)}`;
|
|
1001
|
-
return clearValue;
|
|
1002
|
-
}
|
|
1003
|
-
/**
|
|
1004
|
-
* formatBankAccountNumber - Format bank account number
|
|
1005
|
-
* @export
|
|
1006
|
-
* @param {*} value
|
|
1007
|
-
* @return {*}
|
|
1008
|
-
*/
|
|
1009
|
-
function formatBankAccountNumber(value) {
|
|
1010
|
-
const clearValue = clearNumber(value);
|
|
1011
|
-
return `${clearValue.slice(0, 4)} ${clearValue.slice(4, 8)} ${clearValue.slice(8, 12)} ${clearValue.slice(12, 16)} ${clearValue.slice(16, 20)}`;
|
|
1012
|
-
}
|
|
1013
|
-
/**
|
|
1014
|
-
* formatRoutingNumber - format routing number
|
|
1015
|
-
* @export
|
|
1016
|
-
* @param {*} value
|
|
1017
|
-
* @return {*}
|
|
1018
|
-
*/
|
|
1019
|
-
function formatRoutingNumber(value) {
|
|
1020
|
-
const clearValue = clearNumber(value);
|
|
1021
|
-
return `${clearValue.slice(0, 3)} ${clearValue.slice(3, 9)}`;
|
|
1022
|
-
}
|
|
1023
|
-
const CreditCardBrandIconUrls = {
|
|
1024
|
-
visa,
|
|
1025
|
-
mastercard,
|
|
1026
|
-
amex,
|
|
1027
|
-
discover,
|
|
1028
|
-
jcb,
|
|
1029
|
-
dinersclub: diners,
|
|
1030
|
-
unionpay
|
|
1031
|
-
};
|
|
1032
|
-
const getCreditCardMethodIconUrl = (creditCardNumber) => {
|
|
1033
|
-
return CreditCardBrandIconUrls[Payment.fns.cardType(creditCardNumber)] ?? null;
|
|
1034
|
-
};
|
|
1035
|
-
const getCreditCardMethodIcon = getCreditCardMethodIconUrl;
|
|
1036
|
-
|
|
1037
|
-
//#endregion
|
|
1038
|
-
//#region src/utilities/form/paymentForm/CreditCardAdornment.tsx
|
|
1039
|
-
/**
|
|
1040
|
-
* CreditCardAdornment component displays an icon at the start of an input field.
|
|
1041
|
-
* It shows a default payment card icon if no credit card number is provided.
|
|
1042
|
-
* If a valid credit card number is provided, it displays the corresponding credit card method icon.
|
|
1043
|
-
*
|
|
1044
|
-
* @param {Object} props - The props object.
|
|
1045
|
-
* @param {string} props.creditCardNumberInput - The credit card number input string.
|
|
1046
|
-
* @returns {JSX.Element} The InputAdornment component with the appropriate icon.
|
|
1047
|
-
*/
|
|
1048
|
-
const CreditCardAdornment = ({ creditCardNumberInput }) => {
|
|
1049
|
-
const defaultAdornment = /* @__PURE__ */ React.createElement(InputAdornment$1, { position: "start" }, /* @__PURE__ */ React.createElement(UnityFluentIcon, {
|
|
1050
|
-
size: 12,
|
|
1051
|
-
icon: getIconFromName("PaymentCardIcon")
|
|
1052
|
-
}));
|
|
1053
|
-
if (!creditCardNumberInput) return defaultAdornment;
|
|
1054
|
-
const iconPath = getCreditCardMethodIcon(creditCardNumberInput);
|
|
1055
|
-
if (!iconPath || iconPath === "unknown") return defaultAdornment;
|
|
1056
|
-
return /* @__PURE__ */ React.createElement(InputAdornment$1, { position: "start" }, /* @__PURE__ */ React.createElement("img", {
|
|
1057
|
-
src: iconPath,
|
|
1058
|
-
alt: "credit-card",
|
|
1059
|
-
width: 21
|
|
1060
|
-
}));
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
//#endregion
|
|
1064
|
-
//#region src/utilities/form/paymentForm/NewCreditCardForm.tsx
|
|
1065
|
-
/**
|
|
1066
|
-
* NewCardForm component renders a form for entering new credit card details.
|
|
1067
|
-
*
|
|
1068
|
-
* @param {Object} props - The properties object.
|
|
1069
|
-
* @param {boolean} props.isFormDisabled - Flag to disable the form fields.
|
|
1070
|
-
* @param {Record<string, string>} props.classes - CSS classes for styling the form controls.
|
|
1071
|
-
* @param {React.Dispatch<React.SetStateAction<string>>} props.setCreditCardNumberInput - Function to set the credit card number input value.
|
|
1072
|
-
*
|
|
1073
|
-
* @returns {JSX.Element} The rendered NewCardForm component.
|
|
1074
|
-
*/
|
|
1075
|
-
const NewCreditCardForm = ({ isFormDisabled, classes, creditCardNumberInput, paymentDetails, setCreditCardNumberInput }) => {
|
|
1076
|
-
const { accountNumber } = paymentDetails || {};
|
|
1077
|
-
const { t } = useTranslation();
|
|
1078
|
-
return /* @__PURE__ */ React.createElement(PaymentCard, null, /* @__PURE__ */ React.createElement(FormControl$1, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1079
|
-
component: FluentTextField,
|
|
1080
|
-
ComponentProps: {
|
|
1081
|
-
label: t("Cardholder"),
|
|
1082
|
-
variant: "outlined",
|
|
1083
|
-
size: "small",
|
|
1084
|
-
disabled: isFormDisabled,
|
|
1085
|
-
fullWidth: true
|
|
1086
|
-
},
|
|
1087
|
-
name: "nameOnCard",
|
|
1088
|
-
initialValue: "",
|
|
1089
|
-
required: !isFormDisabled,
|
|
1090
|
-
onChange: () => {}
|
|
1091
|
-
})), /* @__PURE__ */ React.createElement(FormControl$1, { className: classes.cardNumber }, /* @__PURE__ */ React.createElement(Field, {
|
|
1092
|
-
component: FluentTextField,
|
|
1093
|
-
ComponentProps: {
|
|
1094
|
-
label: t("Card Number"),
|
|
1095
|
-
variant: "outlined",
|
|
1096
|
-
size: "small",
|
|
1097
|
-
disabled: isFormDisabled,
|
|
1098
|
-
fullWidth: true,
|
|
1099
|
-
InputProps: { startAdornment: /* @__PURE__ */ React.createElement(CreditCardAdornment, { creditCardNumberInput }) }
|
|
1100
|
-
},
|
|
1101
|
-
name: "cardNumber",
|
|
1102
|
-
initialValue: "",
|
|
1103
|
-
required: !isFormDisabled,
|
|
1104
|
-
pattern: "\\d{16,22}",
|
|
1105
|
-
format: formatCreditCardNumber,
|
|
1106
|
-
onChange: (e) => setCreditCardNumberInput(e.target.value)
|
|
1107
|
-
})), /* @__PURE__ */ React.createElement(Box$1, {
|
|
1108
|
-
display: "flex",
|
|
1109
|
-
flexDirection: "row",
|
|
1110
|
-
alignItems: "flex-start",
|
|
1111
|
-
padding: "0px",
|
|
1112
|
-
width: "100%",
|
|
1113
|
-
style: { gap: "10px" }
|
|
1114
|
-
}, /* @__PURE__ */ React.createElement(FormControl$1, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1115
|
-
component: FluentTextField,
|
|
1116
|
-
ComponentProps: {
|
|
1117
|
-
label: t("Expiry Date"),
|
|
1118
|
-
variant: "outlined",
|
|
1119
|
-
margin: "normal",
|
|
1120
|
-
size: "small",
|
|
1121
|
-
width: "100%",
|
|
1122
|
-
disabled: isFormDisabled,
|
|
1123
|
-
fullWidth: true
|
|
1124
|
-
},
|
|
1125
|
-
name: "expiryDate",
|
|
1126
|
-
helperText: "MM/YY",
|
|
1127
|
-
initialValue: "",
|
|
1128
|
-
required: !isFormDisabled,
|
|
1129
|
-
pattern: "\\d\\d/\\d\\d",
|
|
1130
|
-
format: formatExpirationDate,
|
|
1131
|
-
onChange: () => {}
|
|
1132
|
-
})), /* @__PURE__ */ React.createElement(FormControl$1, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1133
|
-
component: FluentTextField,
|
|
1134
|
-
ComponentProps: {
|
|
1135
|
-
label: "CVV",
|
|
1136
|
-
variant: "outlined",
|
|
1137
|
-
margin: "normal",
|
|
1138
|
-
size: "small",
|
|
1139
|
-
width: "100%",
|
|
1140
|
-
disabled: isFormDisabled,
|
|
1141
|
-
fullWidth: true
|
|
1142
|
-
},
|
|
1143
|
-
name: "cvv",
|
|
1144
|
-
helperText: t("3-digit code on back"),
|
|
1145
|
-
initialValue: "",
|
|
1146
|
-
required: !isFormDisabled,
|
|
1147
|
-
pattern: "\\d{3,4}",
|
|
1148
|
-
format: formatCVC,
|
|
1149
|
-
onChange: () => {}
|
|
1150
|
-
}))), /* @__PURE__ */ React.createElement(FormControl$1, { className: classes.formControlCheck }, /* @__PURE__ */ React.createElement(FormControlLabel$1, {
|
|
1151
|
-
control: /* @__PURE__ */ React.createElement(Field, {
|
|
1152
|
-
component: FluentCheckbox,
|
|
1153
|
-
name: "isSaveAsNewMethod",
|
|
1154
|
-
type: "checkbox",
|
|
1155
|
-
defaultValue: false,
|
|
1156
|
-
disabled: isFormDisabled,
|
|
1157
|
-
required: false,
|
|
1158
|
-
onChange: () => {}
|
|
1159
|
-
}),
|
|
1160
|
-
label: /* @__PURE__ */ React.createElement(Typography$1, null, accountNumber ? /* @__PURE__ */ React.createElement("span", null, t("Save this card to"), " ", /* @__PURE__ */ React.createElement("strong", null, " ", t("Account"), " ", accountNumber), " ", t("file")) : t("Save"))
|
|
1161
|
-
})));
|
|
1162
|
-
};
|
|
1163
|
-
|
|
1164
|
-
//#endregion
|
|
1165
|
-
//#region src/utilities/form/paymentForm/CreditCardForm.tsx
|
|
1166
|
-
const useStyles$3 = makeStyles((theme) => ({
|
|
1167
|
-
cardNumber: {
|
|
1168
|
-
width: "100%",
|
|
1169
|
-
marginBottom: "10px"
|
|
1170
|
-
},
|
|
1171
|
-
formControl: {
|
|
1172
|
-
width: "100%",
|
|
1173
|
-
"&.cardNumber": { marginBottom: "10px" },
|
|
1174
|
-
"&.submitControl": { marginTop: "35px" }
|
|
1175
|
-
},
|
|
1176
|
-
formControlCheck: {
|
|
1177
|
-
width: "100%",
|
|
1178
|
-
marginTop: "5px",
|
|
1179
|
-
marginLeft: "3px"
|
|
1180
|
-
}
|
|
1181
|
-
}));
|
|
1182
|
-
/**
|
|
1183
|
-
* CreditCardForm component handles the rendering of a credit card payment form.
|
|
1184
|
-
* It supports both hosted payment pages and direct credit card input forms.
|
|
1185
|
-
*
|
|
1186
|
-
* @param {boolean} isFormDisabled - Flag to disable the form.
|
|
1187
|
-
* @param {object} data - Data related to the payment form.
|
|
1188
|
-
* @param {string} externalId - External identifier for the payment form.
|
|
1189
|
-
* @param {object} paymentDetails - Details of the payment.
|
|
1190
|
-
* @param {string|null} providerType - Type of the payment provider.
|
|
1191
|
-
* @param {object|null} providerProps - Properties for the payment provider.
|
|
1192
|
-
* @param {boolean} isHostedPaymentPage - Flag to indicate if it is a hosted payment page.
|
|
1193
|
-
* @param {boolean} hasReadPropertiesError - Flag to indicate if there was an error reading properties.
|
|
1194
|
-
* @param {string} readPropertiesMessageError - Error message for reading properties.
|
|
1195
|
-
* @param {boolean} enabled - Flag to indicate if the form is enabled.
|
|
1196
|
-
* @param {function} onStatusChange - Callback function to handle status changes.
|
|
1197
|
-
* @param {function} setSelectedPaymentAccount - Callback function to set the selected payment account.
|
|
1198
|
-
* @param {string} actionLabel - Label for the action button.
|
|
1199
|
-
* @param {object} restProps - Additional properties.
|
|
1200
|
-
*
|
|
1201
|
-
* @returns {JSX.Element} The rendered CreditCardForm component.
|
|
1202
|
-
*/
|
|
1203
|
-
const CreditCardForm = ({ isFormDisabled = false, data, externalId, paymentDetails, providerType = null, providerProps = null, isHostedPaymentPage, hasReadPropertiesError, readPropertiesMessageError, enabled, actionLabel, onStatusChange, setSelectedPaymentAccount, ...restProps }) => {
|
|
1204
|
-
const { t } = useTranslation();
|
|
1205
|
-
const classes = useStyles$3();
|
|
1206
|
-
useUser();
|
|
1207
|
-
const paymentProviderForm = usePaymentProviderForm(PaymentTenderTypeEnum.CreditCard, providerType, providerProps, onStatusChange, paymentDetails, data);
|
|
1208
|
-
const [showHostedPaymentPage, setShowHostedPaymentPage] = useState(false);
|
|
1209
|
-
const [creditCardNumberInput, setCreditCardNumberInput] = useState("");
|
|
1210
|
-
const [{ data: paymentAccounts, loading: loadingPaymentAccounts }] = useAxiosGet(ConfigService.pgV1ApiUrl, `PaymentTokenCreditCard/${externalId}`, {}, false);
|
|
1211
|
-
const handleShowHostedPaymentPage = () => {
|
|
1212
|
-
setShowHostedPaymentPage(true);
|
|
1213
|
-
onStatusChange && onStatusChange({ isValid: false });
|
|
1214
|
-
};
|
|
1215
|
-
useEffect(() => {
|
|
1216
|
-
const showHostedPaymentPageByDefault = isHostedPaymentPage && paymentAccounts?.length > 0;
|
|
1217
|
-
const enableSubmitForm = isHostedPaymentPage === false || paymentAccounts?.length > 0;
|
|
1218
|
-
setShowHostedPaymentPage(!showHostedPaymentPageByDefault);
|
|
1219
|
-
onStatusChange && onStatusChange({ isValid: enableSubmitForm });
|
|
1220
|
-
}, [isHostedPaymentPage, paymentAccounts]);
|
|
1221
|
-
if (loadingPaymentAccounts) return /* @__PURE__ */ React.createElement(Box, { sx: { width: "100%" } }, /* @__PURE__ */ React.createElement(LinearProgress$1, null));
|
|
1222
|
-
if (!showHostedPaymentPage && paymentAccounts?.length > 0) return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(PaymentDropdown_default, {
|
|
1223
|
-
paymentAccounts,
|
|
1224
|
-
setSelectedPaymentAccount,
|
|
1225
|
-
paymentType: PaymentTenderTypeEnum.CreditCard
|
|
1226
|
-
}), /* @__PURE__ */ React.createElement(Box, {
|
|
1227
|
-
textAlign: "center",
|
|
1228
|
-
mt: 3
|
|
1229
|
-
}, /* @__PURE__ */ React.createElement(FluentButton, {
|
|
1230
|
-
variant: "outlined",
|
|
1231
|
-
color: "primary",
|
|
1232
|
-
onClick: handleShowHostedPaymentPage,
|
|
1233
|
-
size: "small",
|
|
1234
|
-
startIcon: /* @__PURE__ */ React.createElement(UnityFluentIcon, { icon: getIconFromName("PaymentCardIcon") }),
|
|
1235
|
-
style: { padding: "18px 20px" }
|
|
1236
|
-
}, actionLabel || t("Enter Card Details"))));
|
|
1237
|
-
if (hasReadPropertiesError) return /* @__PURE__ */ React.createElement(HostedPaymentError, {
|
|
1238
|
-
error: "Error",
|
|
1239
|
-
message: readPropertiesMessageError || t("Unknown error")
|
|
1240
|
-
});
|
|
1241
|
-
return showHostedPaymentPage && isHostedPaymentPage ? paymentProviderForm : /* @__PURE__ */ React.createElement(NewCreditCardForm, {
|
|
1242
|
-
isFormDisabled,
|
|
1243
|
-
classes,
|
|
1244
|
-
paymentDetails,
|
|
1245
|
-
creditCardNumberInput,
|
|
1246
|
-
setCreditCardNumberInput
|
|
1247
|
-
});
|
|
1248
|
-
};
|
|
1249
|
-
|
|
1250
|
-
//#endregion
|
|
1251
|
-
//#region src/utilities/form/paymentForm/NewECheckForm.tsx
|
|
1252
|
-
/**
|
|
1253
|
-
* NewCardForm component renders a form for entering new credit card details.
|
|
1254
|
-
*
|
|
1255
|
-
* @param {Object} props - The properties object.
|
|
1256
|
-
* @param {boolean} props.isFormDisabled - Flag to disable the form fields.
|
|
1257
|
-
* @param {Record<string, string>} props.classes - CSS classes for styling the form controls.
|
|
1258
|
-
* @param {React.Dispatch<React.SetStateAction<string>>} props.setCreditCardNumberInput - Function to set the credit card number input value.
|
|
1259
|
-
*
|
|
1260
|
-
* @returns {JSX.Element} The rendered NewCardForm component.
|
|
1261
|
-
*/
|
|
1262
|
-
const NewECheckForm = ({ isFormDisabled, classes, bankAccountTypes }) => {
|
|
1263
|
-
const { t } = useTranslation();
|
|
1264
|
-
return /* @__PURE__ */ React.createElement(PaymentCard, null, /* @__PURE__ */ React.createElement(FormControl, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1265
|
-
component: FluentTextField,
|
|
1266
|
-
ComponentProps: {
|
|
1267
|
-
label: t("Name on Bank Account"),
|
|
1268
|
-
variant: "outlined",
|
|
1269
|
-
size: "small",
|
|
1270
|
-
disabled: isFormDisabled,
|
|
1271
|
-
fullWidth: true,
|
|
1272
|
-
inputProps: { maxLength: 256 }
|
|
1273
|
-
},
|
|
1274
|
-
name: "accountNickName",
|
|
1275
|
-
initialValue: "",
|
|
1276
|
-
required: !isFormDisabled
|
|
1277
|
-
})), /* @__PURE__ */ React.createElement(FormControl, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1278
|
-
component: FluentTextField,
|
|
1279
|
-
ComponentProps: {
|
|
1280
|
-
label: t("Account Number"),
|
|
1281
|
-
variant: "outlined",
|
|
1282
|
-
size: "small",
|
|
1283
|
-
disabled: isFormDisabled,
|
|
1284
|
-
fullWidth: true
|
|
1285
|
-
},
|
|
1286
|
-
name: "accountNumber",
|
|
1287
|
-
initialValue: "",
|
|
1288
|
-
required: !isFormDisabled,
|
|
1289
|
-
pattern: "\\d{16,22}",
|
|
1290
|
-
format: formatBankAccountNumber
|
|
1291
|
-
})), /* @__PURE__ */ React.createElement(FormControl, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1292
|
-
component: FluentSelectMenu,
|
|
1293
|
-
ComponentProps: {
|
|
1294
|
-
label: t("Account Type"),
|
|
1295
|
-
id: "bankAccountType",
|
|
1296
|
-
variant: "outlined",
|
|
1297
|
-
margin: "normal",
|
|
1298
|
-
size: "small",
|
|
1299
|
-
width: "100%",
|
|
1300
|
-
fullWidth: true,
|
|
1301
|
-
disabled: false,
|
|
1302
|
-
data: bankAccountTypes || [],
|
|
1303
|
-
displayProperty: "name",
|
|
1304
|
-
autoCompleteProps: { disableClearable: true }
|
|
1305
|
-
},
|
|
1306
|
-
valueForChange: (e) => {
|
|
1307
|
-
return e.value;
|
|
1308
|
-
},
|
|
1309
|
-
name: "bankAccountType",
|
|
1310
|
-
required: !isFormDisabled,
|
|
1311
|
-
onChange: () => {}
|
|
1312
|
-
})), /* @__PURE__ */ React.createElement(FormControl, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1313
|
-
component: FluentTextField,
|
|
1314
|
-
ComponentProps: {
|
|
1315
|
-
label: t("Routing Number"),
|
|
1316
|
-
variant: "outlined",
|
|
1317
|
-
size: "small",
|
|
1318
|
-
disabled: isFormDisabled,
|
|
1319
|
-
fullWidth: true
|
|
1320
|
-
},
|
|
1321
|
-
name: "routingNumber",
|
|
1322
|
-
initialValue: "",
|
|
1323
|
-
required: !isFormDisabled,
|
|
1324
|
-
pattern: "\\d{9}",
|
|
1325
|
-
format: formatRoutingNumber
|
|
1326
|
-
})), /* @__PURE__ */ React.createElement(FormControl, { className: classes.formControlCheck }, /* @__PURE__ */ React.createElement(FormControlLabel, {
|
|
1327
|
-
control: /* @__PURE__ */ React.createElement(Field, {
|
|
1328
|
-
component: FluentCheckbox,
|
|
1329
|
-
name: "isSaveAsNewMethod",
|
|
1330
|
-
type: "checkbox",
|
|
1331
|
-
defaultValue: false,
|
|
1332
|
-
disabled: isFormDisabled
|
|
1333
|
-
}),
|
|
1334
|
-
label: /* @__PURE__ */ React.createElement(Typography$1, null, t("Save"))
|
|
1335
|
-
})));
|
|
1336
|
-
};
|
|
1337
|
-
|
|
1338
|
-
//#endregion
|
|
1339
|
-
//#region src/utilities/form/paymentForm/BankAccountForm.tsx
|
|
1340
|
-
const useStyles$2 = makeStyles((theme) => ({
|
|
1341
|
-
formControl: {
|
|
1342
|
-
width: "100%",
|
|
1343
|
-
marginTop: "5px"
|
|
1344
|
-
},
|
|
1345
|
-
formControlCheck: {
|
|
1346
|
-
width: "100%",
|
|
1347
|
-
marginTop: "5px",
|
|
1348
|
-
marginLeft: "3px"
|
|
1349
|
-
}
|
|
1350
|
-
}));
|
|
1351
|
-
/**
|
|
1352
|
-
* `BankAccountForm` is a React functional component that renders a form for managing bank accounts.
|
|
1353
|
-
* It supports both hosted payment pages and direct input forms for bank account details.
|
|
1354
|
-
*
|
|
1355
|
-
* @param {Object} props - The properties passed to the component.
|
|
1356
|
-
* @param {Array} props.bankAccountTypes - An array of available bank account types.
|
|
1357
|
-
* @param {Object} props.data - Data related to the bank account form.
|
|
1358
|
-
* @param {string} props.externalId - External identifier for the bank account.
|
|
1359
|
-
* @param {boolean} [props.isFormDisabled=false] - Flag to disable the form.
|
|
1360
|
-
* @param {string|null} [props.providerType=null] - Type of the payment provider.
|
|
1361
|
-
* @param {Object|null} [props.providerProps=null] - Properties for the payment provider.
|
|
1362
|
-
* @param {Object} props.paymentDetails - Details of the payment.
|
|
1363
|
-
* @param {boolean} props.isHostedPaymentPage - Flag to indicate if it is a hosted payment page.
|
|
1364
|
-
* @param {boolean} props.hasReadPropertiesError - Flag to indicate if there was an error reading properties.
|
|
1365
|
-
* @param {string} props.readPropertiesMessageError - Error message for reading properties.
|
|
1366
|
-
* @param {Function} props.onStatusChange - Callback function to handle status changes.
|
|
1367
|
-
* @param {boolean} props.enabled - Flag to indicate if the form is enabled.
|
|
1368
|
-
* @param {Function} props.setSelectedPaymentAccount - Callback function to set the selected payment account.
|
|
1369
|
-
* @param {string} props.actionLabel - The label for the action button.
|
|
1370
|
-
* @param {Object} restProps - Additional properties passed to the component.
|
|
1371
|
-
*
|
|
1372
|
-
* @returns {JSX.Element} The rendered component.
|
|
1373
|
-
*/
|
|
1374
|
-
const BankAccountForm = ({ bankAccountTypes = [], data, externalId, isFormDisabled = false, providerType = null, providerProps = null, paymentDetails, isHostedPaymentPage, hasReadPropertiesError, readPropertiesMessageError, onStatusChange, enabled, actionLabel, setSelectedPaymentAccount, ...restProps }) => {
|
|
1375
|
-
const classes = useStyles$2();
|
|
1376
|
-
const { t } = useTranslation();
|
|
1377
|
-
useUser();
|
|
1378
|
-
const paymentProviderForm = usePaymentProviderForm(PaymentTenderTypeEnum.ECheck, providerType, providerProps, onStatusChange, paymentDetails, data);
|
|
1379
|
-
const [showHostedPaymentPage, setShowHostedPaymentPage] = useState(false);
|
|
1380
|
-
const [{ data: paymentAccounts, loading: loadingPaymentAccounts }] = useAxiosGet(ConfigService.pgV1ApiUrl, `PaymentTokenECheck/${externalId}`, {}, false);
|
|
1381
|
-
const handleShowHostedPaymentPage = () => {
|
|
1382
|
-
setShowHostedPaymentPage(true);
|
|
1383
|
-
onStatusChange && onStatusChange({ isValid: false });
|
|
1384
|
-
};
|
|
1385
|
-
useEffect(() => {
|
|
1386
|
-
const showHostedPaymentPageByDefault = isHostedPaymentPage && paymentAccounts?.length > 0;
|
|
1387
|
-
const enableSubmitForm = isHostedPaymentPage === false || paymentAccounts?.length > 0;
|
|
1388
|
-
setShowHostedPaymentPage(!showHostedPaymentPageByDefault);
|
|
1389
|
-
onStatusChange && onStatusChange({ isValid: enableSubmitForm });
|
|
1390
|
-
}, [isHostedPaymentPage, paymentAccounts]);
|
|
1391
|
-
if (loadingPaymentAccounts) return /* @__PURE__ */ React.createElement(Box$1, { sx: { width: "100%" } }, /* @__PURE__ */ React.createElement(LinearProgress$1, null));
|
|
1392
|
-
if (!showHostedPaymentPage && paymentAccounts?.length > 0) return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(PaymentDropdown_default, {
|
|
1393
|
-
paymentAccounts,
|
|
1394
|
-
setSelectedPaymentAccount,
|
|
1395
|
-
paymentType: PaymentTenderTypeEnum.ECheck
|
|
1396
|
-
}), /* @__PURE__ */ React.createElement(Box$1, {
|
|
1397
|
-
textAlign: "center",
|
|
1398
|
-
mt: 3
|
|
1399
|
-
}, /* @__PURE__ */ React.createElement(FluentButton, {
|
|
1400
|
-
variant: "outlined",
|
|
1401
|
-
color: "primary",
|
|
1402
|
-
onClick: handleShowHostedPaymentPage,
|
|
1403
|
-
size: "small",
|
|
1404
|
-
startIcon: /* @__PURE__ */ React.createElement(UnityFluentIcon, { icon: getIconFromName("BankIcon") }),
|
|
1405
|
-
style: { padding: "18px 20px" }
|
|
1406
|
-
}, actionLabel || t("Enter Bank Account Details"))));
|
|
1407
|
-
if (hasReadPropertiesError) return /* @__PURE__ */ React.createElement(HostedPaymentError, {
|
|
1408
|
-
error: "Error",
|
|
1409
|
-
message: readPropertiesMessageError || t("Unknown error")
|
|
1410
|
-
});
|
|
1411
|
-
return showHostedPaymentPage && isHostedPaymentPage ? paymentProviderForm : /* @__PURE__ */ React.createElement(NewECheckForm, {
|
|
1412
|
-
isFormDisabled,
|
|
1413
|
-
classes,
|
|
1414
|
-
bankAccountTypes
|
|
1415
|
-
});
|
|
1416
|
-
};
|
|
1417
|
-
|
|
1418
|
-
//#endregion
|
|
1419
|
-
//#region src/utilities/form/paymentForm/CreditCardIcon.tsx
|
|
1420
|
-
/**
|
|
1421
|
-
* CreditCardIcon
|
|
1422
|
-
*
|
|
1423
|
-
* @param {(JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>)} props
|
|
1424
|
-
* @return {*}
|
|
1425
|
-
*/
|
|
1426
|
-
const CreditCardIcon = (props) => {
|
|
1427
|
-
const { color = "#2196F3" } = props;
|
|
1428
|
-
return /* @__PURE__ */ React$1.createElement("svg", {
|
|
1429
|
-
width: "112",
|
|
1430
|
-
height: "25",
|
|
1431
|
-
viewBox: "0 0 112 25",
|
|
1432
|
-
fill: color,
|
|
1433
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1434
|
-
...props
|
|
1435
|
-
}, /* @__PURE__ */ React$1.createElement("path", {
|
|
1436
|
-
d: "M65.6406 4H45.8594C44.6963 4 43.75 4.94627 43.75 6.10938V18.7656C43.75 19.9287 44.6963 20.875 45.8594 20.875H65.6406C66.8037 20.875 67.75 19.9287 67.75 18.7656V6.10938C67.75 4.94627 66.8037 4 65.6406 4ZM45.1562 8.21875H66.3438V9.625H45.1562V8.21875ZM45.8594 5.40625H65.6406C66.0283 5.40625 66.3438 5.72167 66.3438 6.10938V6.8125H45.1562V6.10938C45.1562 5.72167 45.4717 5.40625 45.8594 5.40625ZM65.6406 19.4688H45.8594C45.4717 19.4688 45.1562 19.1533 45.1562 18.7656V11.0312H66.3438V18.7656C66.3438 19.1533 66.0283 19.4688 65.6406 19.4688Z",
|
|
1437
|
-
fill: color
|
|
1438
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1439
|
-
d: "M48.7188 16.6562H47.3125C46.9242 16.6562 46.6094 16.9711 46.6094 17.3594C46.6094 17.7477 46.9242 18.0625 47.3125 18.0625H48.7188C49.1071 18.0625 49.4219 17.7477 49.4219 17.3594C49.4219 16.9711 49.1071 16.6562 48.7188 16.6562Z",
|
|
1440
|
-
fill: color
|
|
1441
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1442
|
-
d: "M52.9375 16.6562H51.5312C51.1429 16.6562 50.8281 16.9711 50.8281 17.3594C50.8281 17.7477 51.1429 18.0625 51.5312 18.0625H52.9375C53.3258 18.0625 53.6406 17.7477 53.6406 17.3594C53.6406 16.9711 53.3258 16.6562 52.9375 16.6562Z",
|
|
1443
|
-
fill: color
|
|
1444
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1445
|
-
d: "M57.1562 16.6562H55.75C55.3617 16.6562 55.0469 16.9711 55.0469 17.3594C55.0469 17.7477 55.3617 18.0625 55.75 18.0625H57.1562C57.5446 18.0625 57.8594 17.7477 57.8594 17.3594C57.8594 16.9711 57.5446 16.6562 57.1562 16.6562Z",
|
|
1446
|
-
fill: color
|
|
1447
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1448
|
-
d: "M61.375 16.6562H59.9688C59.5804 16.6562 59.2656 16.9711 59.2656 17.3594C59.2656 17.7477 59.5804 18.0625 59.9688 18.0625H61.375C61.7633 18.0625 62.0781 17.7477 62.0781 17.3594C62.0781 16.9711 61.7633 16.6562 61.375 16.6562Z",
|
|
1449
|
-
fill: color
|
|
1450
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1451
|
-
d: "M52.9375 13.8438H47.3125C46.9242 13.8438 46.6094 14.1586 46.6094 14.5469C46.6094 14.9352 46.9242 15.25 47.3125 15.25H52.9375C53.3258 15.25 53.6406 14.9352 53.6406 14.5469C53.6406 14.1586 53.3258 13.8438 52.9375 13.8438Z",
|
|
1452
|
-
fill: color
|
|
1453
|
-
}));
|
|
1454
|
-
};
|
|
1455
|
-
|
|
1456
|
-
//#endregion
|
|
1457
|
-
//#region src/utilities/form/paymentForm/BankIcon.tsx
|
|
1458
|
-
/**
|
|
1459
|
-
* BankIcon
|
|
1460
|
-
*
|
|
1461
|
-
* @param {(JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>)} props
|
|
1462
|
-
* @return {*}
|
|
1463
|
-
*/
|
|
1464
|
-
const BankIcon = (props) => {
|
|
1465
|
-
const { color = "#2196F3" } = props;
|
|
1466
|
-
return /* @__PURE__ */ React$1.createElement("svg", {
|
|
1467
|
-
width: "25",
|
|
1468
|
-
height: "24",
|
|
1469
|
-
viewBox: "0 0 25 24",
|
|
1470
|
-
fill: "none",
|
|
1471
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1472
|
-
}, /* @__PURE__ */ React$1.createElement("g", { "clip-path": "url(#clip0_3352_7830)" }, /* @__PURE__ */ React$1.createElement("path", {
|
|
1473
|
-
d: "M5.82697 13.5073H8.13464C8.51697 13.5073 8.82697 13.1973 8.82697 12.815C8.82697 12.4327 8.51697 12.1227 8.13464 12.1227H6.98071V11.1996C6.98071 10.8171 6.67072 10.5073 6.28839 10.5073C5.90607 10.5073 5.59607 10.8171 5.59607 11.1996V12.1359C4.55914 12.251 3.75 13.1323 3.75 14.1996V14.8918C3.75 15.2743 4.06 15.5841 4.44232 15.5841H7.44232C7.44232 15.9659 7.13178 16.2764 6.75 16.2764H4.44232C4.06 16.2764 3.75 16.5864 3.75 16.9688C3.75 17.3511 4.06 17.6611 4.44232 17.6611H5.59607V18.5841C5.59607 18.9664 5.90607 19.2764 6.28839 19.2764C6.67072 19.2764 6.98071 18.9664 6.98071 18.5841V17.6479C8.01782 17.5327 8.82697 16.6514 8.82697 15.5841V14.8918C8.82697 14.5095 8.51697 14.1996 8.13464 14.1996H5.13464C5.13464 13.8179 5.44519 13.5073 5.82697 13.5073Z",
|
|
1474
|
-
fill: color
|
|
1475
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1476
|
-
d: "M24.0577 7.73804H20.6993L22.923 5.51422C23.7328 4.70453 23.7328 3.3869 22.923 2.57703C22.5308 2.18481 22.0093 1.96875 21.4545 1.96875C20.8997 1.96875 20.3782 2.18481 19.986 2.57703L14.825 7.73804H1.44232C1.06 7.73804 0.75 8.04803 0.75 8.43036V21.3534C0.75 21.7357 1.06 22.0457 1.44232 22.0457H24.0577C24.44 22.0457 24.75 21.7357 24.75 21.3534V8.43036C24.75 8.04803 24.44 7.73804 24.0577 7.73804ZM14.3903 12.089L12.9216 12.5786L13.411 11.1099L19.3332 5.18793L20.3123 6.16699L14.3903 12.089ZM21.4545 3.35339C21.6394 3.35339 21.8132 3.42554 21.9439 3.55627C22.2109 3.82306 22.2109 4.26837 21.9439 4.53534L21.2913 5.18811L20.3123 4.20905L20.965 3.55627C21.0958 3.42554 21.2695 3.35339 21.4545 3.35339ZM23.3654 20.6611H2.13464V9.12268H13.4403L12.3164 10.2466C12.2404 10.3226 12.1831 10.4152 12.1492 10.5172L11.1702 13.4544C11.0945 13.6811 11.127 13.9565 11.2703 14.1498C11.4001 14.3249 11.6089 14.4304 11.827 14.4304H21.0577C21.44 14.4304 21.75 14.1204 21.75 13.738C21.75 13.3557 21.44 13.0457 21.0577 13.0457H15.3917L19.3147 9.12268H23.3654V20.6611Z",
|
|
1477
|
-
fill: color
|
|
1478
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1479
|
-
d: "M21.0579 16.0459H15.5195C15.1371 16.0459 14.8271 16.3559 14.8271 16.7382C14.8271 17.1205 15.1371 17.4305 15.5195 17.4305H21.0579C21.4402 17.4305 21.7502 17.1205 21.7502 16.7382C21.7502 16.3559 21.4402 16.0459 21.0579 16.0459Z",
|
|
1480
|
-
fill: color
|
|
1481
|
-
})), /* @__PURE__ */ React$1.createElement("defs", null, /* @__PURE__ */ React$1.createElement("clipPath", { id: "clip0_3352_7830" }, /* @__PURE__ */ React$1.createElement("rect", {
|
|
1482
|
-
width: "24",
|
|
1483
|
-
height: "24",
|
|
1484
|
-
fill: "white",
|
|
1485
|
-
transform: "translate(0.75)"
|
|
1486
|
-
}))));
|
|
1487
|
-
};
|
|
1488
|
-
|
|
1489
|
-
//#endregion
|
|
1490
|
-
//#region src/utilities/form/paymentForm/CashForm.tsx
|
|
1491
|
-
const useStyles$1 = makeStyles((theme) => ({
|
|
1492
|
-
formControl: {
|
|
1493
|
-
width: "100%",
|
|
1494
|
-
marginBottom: "10px"
|
|
1495
|
-
},
|
|
1496
|
-
formControlCheck: {
|
|
1497
|
-
width: "100%",
|
|
1498
|
-
marginTop: "5px",
|
|
1499
|
-
marginLeft: "3px"
|
|
1500
|
-
}
|
|
1501
|
-
}));
|
|
1502
|
-
const CashForm = ({ isFormDisabled = false, paymentDetails, amountValue = null, onStatusChange }) => {
|
|
1503
|
-
const { t } = useTranslation();
|
|
1504
|
-
const classes = useStyles$1();
|
|
1505
|
-
return /* @__PURE__ */ React.createElement(PaymentCard, null, /* @__PURE__ */ React.createElement(FormControl, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1506
|
-
component: FluentTextField,
|
|
1507
|
-
ComponentProps: {
|
|
1508
|
-
label: t("Amount"),
|
|
1509
|
-
variant: "outlined",
|
|
1510
|
-
margin: "none",
|
|
1511
|
-
size: "small",
|
|
1512
|
-
disabled: isFormDisabled || amountValue || false,
|
|
1513
|
-
fullWidth: true,
|
|
1514
|
-
InputProps: { startAdornment: /* @__PURE__ */ React.createElement(InputAdornment, { position: "start" }, "$") }
|
|
1515
|
-
},
|
|
1516
|
-
name: "cashAmount",
|
|
1517
|
-
initialValue: amountValue,
|
|
1518
|
-
required: !isFormDisabled
|
|
1519
|
-
})), /* @__PURE__ */ React.createElement(FormControl, { className: classes.formControl }, /* @__PURE__ */ React.createElement(Field, {
|
|
1520
|
-
component: FluentTextField,
|
|
1521
|
-
ComponentProps: {
|
|
1522
|
-
label: t("Description"),
|
|
1523
|
-
variant: "outlined",
|
|
1524
|
-
margin: "normal",
|
|
1525
|
-
size: "small",
|
|
1526
|
-
disabled: false,
|
|
1527
|
-
fullWidth: true,
|
|
1528
|
-
autoComplete: "off",
|
|
1529
|
-
multiline: true,
|
|
1530
|
-
rows: 4,
|
|
1531
|
-
inputProps: {
|
|
1532
|
-
maxLength: 256,
|
|
1533
|
-
autocomplete: "off"
|
|
1534
|
-
}
|
|
1535
|
-
},
|
|
1536
|
-
name: "cashDescription",
|
|
1537
|
-
initialValue: "",
|
|
1538
|
-
required: !isFormDisabled
|
|
1539
|
-
})));
|
|
1540
|
-
};
|
|
1541
|
-
|
|
1542
|
-
//#endregion
|
|
1543
|
-
//#region src/utilities/form/paymentForm/CashIcon.tsx
|
|
1544
|
-
/**
|
|
1545
|
-
* CashIcon
|
|
1546
|
-
*
|
|
1547
|
-
* @param {(JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>)} props
|
|
1548
|
-
* @return {*}
|
|
1549
|
-
*/
|
|
1550
|
-
const CashIcon = (props) => {
|
|
1551
|
-
const { color = "#2196F3" } = props;
|
|
1552
|
-
return /* @__PURE__ */ React$1.createElement("svg", {
|
|
1553
|
-
width: "25",
|
|
1554
|
-
height: "24",
|
|
1555
|
-
viewBox: "0 0 25 24",
|
|
1556
|
-
fill: "none",
|
|
1557
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1558
|
-
...props
|
|
1559
|
-
}, /* @__PURE__ */ React$1.createElement("g", { "clip-path": "url(#clip0_3352_7835)" }, /* @__PURE__ */ React$1.createElement("path", {
|
|
1560
|
-
d: "M23.5469 4.24902H0.953125C0.564812 4.24902 0.25 4.55927 0.25 4.94196V18.7099C0.25 19.0926 0.564812 19.4029 0.953125 19.4029H23.5469C23.9352 19.4029 24.25 19.0926 24.25 18.7099V4.94196C24.25 4.55927 23.9352 4.24902 23.5469 4.24902ZM1.65625 10.094C4.00342 9.78446 5.86684 7.94805 6.18091 5.63489H18.319C18.6331 7.94805 20.4965 9.78446 22.8438 10.094V13.5579C20.4965 13.8674 18.6331 15.7038 18.319 18.017H6.18091C5.86684 15.7038 4.00342 13.8674 1.65625 13.5579V10.094ZM22.8438 8.69014C21.2735 8.40469 20.0332 7.18236 19.7435 5.63489H22.8438V8.69014ZM4.75642 5.63489C4.46678 7.18236 3.22647 8.40469 1.65625 8.69014V5.63489H4.75642ZM1.65625 14.9618C3.22647 15.2472 4.46678 16.4695 4.75642 18.017H1.65625V14.9618ZM19.7435 18.017C20.0332 16.4695 21.2735 15.2472 22.8438 14.9618V18.017H19.7435Z",
|
|
1561
|
-
fill: color
|
|
1562
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1563
|
-
d: "M13.0683 11.1408C12.5517 10.9609 11.9814 10.7443 11.6691 10.5029C11.6035 10.4522 11.5758 10.3114 11.6032 10.1681C11.6182 10.0897 11.6877 9.82792 11.9521 9.74938C12.4412 9.60414 12.7728 9.79401 12.8927 9.88233C13.2037 10.1114 13.6443 10.0487 13.8769 9.74222C14.1094 9.43571 14.0457 9.00148 13.7347 8.7723C13.6151 8.68416 13.3282 8.49827 12.9177 8.39137V8.25251C12.9177 7.86982 12.6029 7.55957 12.2146 7.55957C11.8263 7.55957 11.5115 7.86982 11.5115 8.25251V8.43419C10.8489 8.64521 10.3559 9.20741 10.2213 9.9113C10.0945 10.5743 10.3167 11.2188 10.8013 11.5933C11.2723 11.9574 11.944 12.219 12.5996 12.4474C13.0826 12.6156 13.097 12.9788 13.0626 13.1803C13.0043 13.522 12.7126 13.8912 12.2099 13.8946C11.6612 13.8982 11.5178 13.8759 11.1086 13.6121C10.7837 13.4026 10.3479 13.4924 10.1353 13.8126C9.92272 14.1329 10.0138 14.5623 10.3388 14.7718C10.7847 15.0593 11.1222 15.1893 11.5115 15.2443V15.3996C11.5115 15.7823 11.8263 16.0926 12.2146 16.0926C12.6029 16.0926 12.9177 15.7823 12.9177 15.3996V15.1709C13.7751 14.8969 14.3234 14.1487 14.4494 13.4101C14.6216 12.4006 14.0666 11.4886 13.0683 11.1408Z",
|
|
1564
|
-
fill: color
|
|
1565
|
-
})), /* @__PURE__ */ React$1.createElement("defs", null, /* @__PURE__ */ React$1.createElement("clipPath", { id: "clip0_3352_7835" }, /* @__PURE__ */ React$1.createElement("rect", {
|
|
1566
|
-
width: "24",
|
|
1567
|
-
height: "23.6522",
|
|
1568
|
-
fill: "white",
|
|
1569
|
-
transform: "translate(0.25)"
|
|
1570
|
-
}))));
|
|
1571
|
-
};
|
|
1572
|
-
|
|
1573
|
-
//#endregion
|
|
1574
|
-
//#region src/utilities/form/paymentForm/DisableOverlay.tsx
|
|
1575
|
-
/**
|
|
1576
|
-
* DisabledOverlay
|
|
1577
|
-
*
|
|
1578
|
-
* @param {*} { message }
|
|
1579
|
-
* @return {*}
|
|
1580
|
-
*/
|
|
1581
|
-
const DisabledOverlay = ({ message }) => {
|
|
1582
|
-
return /* @__PURE__ */ React.createElement("div", { style: {
|
|
1583
|
-
position: "absolute",
|
|
1584
|
-
top: 0,
|
|
1585
|
-
left: 0,
|
|
1586
|
-
right: 0,
|
|
1587
|
-
bottom: 0,
|
|
1588
|
-
backgroundColor: "rgba(255, 255, 255, 0.5)",
|
|
1589
|
-
display: "flex",
|
|
1590
|
-
justifyContent: "center",
|
|
1591
|
-
alignItems: "center",
|
|
1592
|
-
color: "#7f7f7f",
|
|
1593
|
-
fontSize: "1.2rem",
|
|
1594
|
-
textAlign: "center",
|
|
1595
|
-
padding: "20px",
|
|
1596
|
-
zIndex: 1e3
|
|
1597
|
-
} }, message);
|
|
1598
|
-
};
|
|
1599
|
-
|
|
1600
|
-
//#endregion
|
|
1601
|
-
//#region src/utilities/form/paymentForm/CheckIcon.tsx
|
|
1602
|
-
/**
|
|
1603
|
-
* CheckIcon
|
|
1604
|
-
*
|
|
1605
|
-
* @param {(JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>)} props
|
|
1606
|
-
* @return {*}
|
|
1607
|
-
*/
|
|
1608
|
-
const CheckIcon = (props) => {
|
|
1609
|
-
const { color = "#2196F3" } = props;
|
|
1610
|
-
return /* @__PURE__ */ React$1.createElement("svg", {
|
|
1611
|
-
width: "25",
|
|
1612
|
-
height: "24",
|
|
1613
|
-
viewBox: "0 0 25 24",
|
|
1614
|
-
fill: "none",
|
|
1615
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1616
|
-
}, /* @__PURE__ */ React$1.createElement("g", { "clip-path": "url(#clip0_3352_7813)" }, /* @__PURE__ */ React$1.createElement("path", {
|
|
1617
|
-
d: "M23.5357 4.51562H0.964281C0.569828 4.51562 0.25 4.83541 0.25 5.22991V18.7705C0.25 19.165 0.569828 19.4847 0.964281 19.4847H23.5357C23.9302 19.4847 24.25 19.1649 24.25 18.7705V5.22991C24.25 4.83541 23.9302 4.51562 23.5357 4.51562ZM22.8214 18.0561H1.67856V5.94419H22.8214V18.0561Z",
|
|
1618
|
-
fill: color
|
|
1619
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1620
|
-
d: "M6.69818 11.2856H5.04012C4.70445 11.2856 4.4314 11.0126 4.4314 10.6769C4.4314 10.3412 4.70445 10.0682 5.04012 10.0682H8.02123C8.41568 10.0682 8.73551 9.74833 8.73551 9.35388C8.73551 8.95943 8.41568 8.6396 8.02123 8.6396H6.58352V7.86321C6.58352 7.46875 6.2637 7.14893 5.86924 7.14893C5.47479 7.14893 5.15496 7.46875 5.15496 7.86321V8.6396H5.04021C3.91685 8.6396 3.00293 9.55352 3.00293 10.6769C3.00293 11.8003 3.9168 12.7142 5.04016 12.7142H6.69823C7.0339 12.7142 7.30694 12.9872 7.30694 13.3229C7.30694 13.6586 7.0339 13.9316 6.69823 13.9316H3.74018C3.34573 13.9316 3.0259 14.2514 3.0259 14.6459C3.0259 15.0403 3.34573 15.3602 3.74018 15.3602H5.15491V16.1366C5.15491 16.531 5.47474 16.8508 5.86919 16.8508C6.26365 16.8508 6.58348 16.531 6.58348 16.1366V15.3602H6.69818C7.82159 15.3602 8.73546 14.4462 8.73546 13.3229C8.73546 12.1995 7.82159 11.2856 6.69818 11.2856Z",
|
|
1621
|
-
fill: color
|
|
1622
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1623
|
-
d: "M21.2281 7.21729H14.2983C13.9038 7.21729 13.584 7.53711 13.584 7.93157C13.584 8.32607 13.9038 8.64585 14.2983 8.64585H21.2282C21.6227 8.64585 21.9425 8.32602 21.9425 7.93157C21.9425 7.53711 21.6226 7.21729 21.2281 7.21729Z",
|
|
1624
|
-
fill: color
|
|
1625
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1626
|
-
d: "M21.2281 9.7041H14.2983C13.9038 9.7041 13.584 10.0239 13.584 10.4184C13.584 10.8128 13.9038 11.1327 14.2983 11.1327H21.2282C21.6227 11.1327 21.9425 10.8128 21.9425 10.4184C21.9425 10.0239 21.6226 9.7041 21.2281 9.7041Z",
|
|
1627
|
-
fill: color
|
|
1628
|
-
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
1629
|
-
d: "M21.2274 14.4291H19.3673L18.6357 13.4674C18.3715 13.1202 17.8598 13.0889 17.5553 13.4018L16.6815 14.2997L16.0694 13.1591C15.7951 12.6481 15.0555 12.6606 14.7992 13.1814L13.5335 15.7527C13.3594 16.1066 13.505 16.5347 13.859 16.709C14.2106 16.8821 14.6399 16.7397 14.8153 16.3836L15.4675 15.0585L15.884 15.8345C16.1115 16.2585 16.6876 16.3419 17.0253 15.9949L18.0008 14.9924L18.4447 15.5759C18.5798 15.7534 18.7901 15.8576 19.0132 15.8576H21.2274C21.6218 15.8576 21.9417 15.5378 21.9417 15.1434C21.9417 14.7489 21.6218 14.4291 21.2274 14.4291Z",
|
|
1630
|
-
fill: color
|
|
1631
|
-
})), /* @__PURE__ */ React$1.createElement("defs", null, /* @__PURE__ */ React$1.createElement("clipPath", { id: "clip0_3352_7813" }, /* @__PURE__ */ React$1.createElement("rect", {
|
|
1632
|
-
width: "24",
|
|
1633
|
-
height: "24",
|
|
1634
|
-
fill: "white",
|
|
1635
|
-
transform: "translate(0.25)"
|
|
1636
|
-
}))));
|
|
1637
|
-
};
|
|
1638
|
-
|
|
1639
|
-
//#endregion
|
|
1640
|
-
//#region src/utilities/form/paymentForm/TabPanel.tsx
|
|
1641
|
-
const StyledTab = styled(Tab)(({ theme, style }) => ({
|
|
1642
|
-
textTransform: "none",
|
|
1643
|
-
"&.Mui-selected": {
|
|
1644
|
-
backgroundColor: lighten(theme.palette.secondary.light, .9),
|
|
1645
|
-
color: theme.palette.primary.main
|
|
1646
|
-
},
|
|
1647
|
-
backgroundColor: theme.palette.background.paper,
|
|
1648
|
-
...style
|
|
1649
|
-
}));
|
|
1650
|
-
/**
|
|
1651
|
-
* TabPanel
|
|
1652
|
-
*
|
|
1653
|
-
* @param {TabPanelProps} props
|
|
1654
|
-
* @return {*}
|
|
1655
|
-
*/
|
|
1656
|
-
const TabPanel = (props) => {
|
|
1657
|
-
const { children, value, index, sx, ...other } = props;
|
|
1658
|
-
return /* @__PURE__ */ React.createElement("div", {
|
|
1659
|
-
role: "tabpanel",
|
|
1660
|
-
hidden: value !== index,
|
|
1661
|
-
id: `simple-tabpanel-${index}`,
|
|
1662
|
-
"aria-labelledby": `simple-tab-${index}`,
|
|
1663
|
-
...other
|
|
1664
|
-
}, value === index && /* @__PURE__ */ React.createElement(Box, { sx: sx ? { ...sx } : { p: 3 } }, /* @__PURE__ */ React.createElement(Typography, { variant: "subtitle2" }, children)));
|
|
1665
|
-
};
|
|
1666
|
-
|
|
1667
|
-
//#endregion
|
|
1668
|
-
//#region src/utilities/form/paymentForm/PaymentForm.tsx
|
|
1669
|
-
const useStyles = makeStyles((theme) => ({
|
|
1670
|
-
tab: {
|
|
1671
|
-
color: grey[800],
|
|
1672
|
-
"&.Mui-selected": { color: theme.palette.secondary.main },
|
|
1673
|
-
textTransform: "none",
|
|
1674
|
-
minWidth: 115,
|
|
1675
|
-
width: 115
|
|
1676
|
-
},
|
|
1677
|
-
cardFullWidth: {
|
|
1678
|
-
width: "100%",
|
|
1679
|
-
minWidth: "100%",
|
|
1680
|
-
padding: 0
|
|
1681
|
-
},
|
|
1682
|
-
paddingZero: { padding: 0 },
|
|
1683
|
-
submitControl: { marginLeft: "50px" },
|
|
1684
|
-
buttonProgress: {
|
|
1685
|
-
color: theme.palette.secondary.main,
|
|
1686
|
-
position: "absolute",
|
|
1687
|
-
top: "50%",
|
|
1688
|
-
left: "50%",
|
|
1689
|
-
marginTop: -12,
|
|
1690
|
-
marginLeft: -12
|
|
1691
|
-
},
|
|
1692
|
-
dropDownPaymentsCard: { padding: "20px 12px 0px 12px" },
|
|
1693
|
-
assetTypeLabel: { top: theme.spacing(-.7) },
|
|
1694
|
-
formControl: {
|
|
1695
|
-
width: "100%",
|
|
1696
|
-
marginTop: "-15px"
|
|
1697
|
-
}
|
|
1698
|
-
}));
|
|
1699
|
-
/** paymentMethodIcons @type {*} */
|
|
1700
|
-
const paymentMethodIcons = {
|
|
1701
|
-
"Credit Card": CreditCardIcon,
|
|
1702
|
-
"Cash": CashIcon,
|
|
1703
|
-
"eCheck": BankIcon,
|
|
1704
|
-
"Debit Card": CheckIcon
|
|
1705
|
-
};
|
|
1706
|
-
const DEFAULT_ACCOUNT_TYPES = [{
|
|
1707
|
-
name: "Checking",
|
|
1708
|
-
value: "checking"
|
|
1709
|
-
}, {
|
|
1710
|
-
name: "Savings",
|
|
1711
|
-
value: "savings"
|
|
1712
|
-
}];
|
|
1713
|
-
const PAYMENT_METHODS = {
|
|
1714
|
-
CREDIT_CARD: "credit card",
|
|
1715
|
-
CASH: "cash",
|
|
1716
|
-
E_CHECK: "echeck",
|
|
1717
|
-
DEBIT_CARD: "debit card"
|
|
1718
|
-
};
|
|
1719
|
-
/**
|
|
1720
|
-
* getPaymentMethodIcon
|
|
1721
|
-
*
|
|
1722
|
-
* @param {string} paymentMethodName
|
|
1723
|
-
* @param {boolean} isSelected
|
|
1724
|
-
* @param {boolean} isEnabled
|
|
1725
|
-
* @param {*} theme
|
|
1726
|
-
* @return {*}
|
|
1727
|
-
*/
|
|
1728
|
-
const getPaymentMethodIcon = (paymentMethodName, isSelected, isEnabled, theme) => {
|
|
1729
|
-
const color = isEnabled ? isSelected ? theme.palette.secondary.main : grey[800] : grey[400];
|
|
1730
|
-
const IconComponent = paymentMethodIcons[paymentMethodName];
|
|
1731
|
-
if (!IconComponent) return null;
|
|
1732
|
-
return /* @__PURE__ */ React.createElement(Badge, {
|
|
1733
|
-
color: "secondary",
|
|
1734
|
-
badgeContent: !isEnabled ? "!" : null
|
|
1735
|
-
}, /* @__PURE__ */ React.createElement(IconComponent, { color }));
|
|
1736
|
-
};
|
|
1737
|
-
/**
|
|
1738
|
-
* PaymentForm Component
|
|
1739
|
-
*
|
|
1740
|
-
* This component provides a user interface for selecting and handling different payment methods.
|
|
1741
|
-
* It allows users to switch between available payment methods using tabs and handles the form submission process.
|
|
1742
|
-
* Each payment method has its own form component that is displayed based on the selected tab.
|
|
1743
|
-
*
|
|
1744
|
-
* Props:
|
|
1745
|
-
* @param {PaymentMethodProps} props - Object containing the following properties:
|
|
1746
|
-
* @param {string} id - Unique identifier for the payment form.
|
|
1747
|
-
* @param {number} [activeTab=0] - The index of the currently active tab. Defaults to 0. [OPTIONAL]
|
|
1748
|
-
* @param {any[]} [paymentAccounts] - Array of payment accounts associated with the user. [OPTIONAL]
|
|
1749
|
-
* @param {PaymentDetails} paymentDetails - Object containing details about the customer's payment information.
|
|
1750
|
-
* @param {any[]} [bankAccountTypes=DEFAULT_ACCOUNT_TYPES] - Array of available bank account types, with a default value.
|
|
1751
|
-
* @param {boolean} loading - Boolean flag indicating if asynchronous operations like data fetching are in progress.
|
|
1752
|
-
* @param {Function} onTabChange - Function to be called when the active tab changes.
|
|
1753
|
-
* @param {Function} [onFormStatusChange] - Optional function to handle status changes during form interactions.
|
|
1754
|
-
* @param {Function} [onSubmitCompleted] - Optional function to be called upon successful form submission.
|
|
1755
|
-
* @param {Function} presetDataRequest - Function to prepare the data request for payment processing.
|
|
1756
|
-
* @param {Function} [submit] - Optional function to be called on form submission.
|
|
1757
|
-
* @param {any} [children] - Optional elements to be rendered inside the form.
|
|
1758
|
-
* @param {"before" | "after" | "outside"} [childrenPosition="before"] - Position of the children elements relative to the form.
|
|
1759
|
-
* @param {string} [actionLabel] - Optional label for the form action button.
|
|
1760
|
-
* @param {any} [render] - Optional render function for custom rendering inside the component.
|
|
1761
|
-
*
|
|
1762
|
-
* Usage:
|
|
1763
|
-
* The component renders tabs to switch between different payment methods and handles form interactions
|
|
1764
|
-
* for submitting payments. It integrates with Material-UI components to render the form and uses React hooks
|
|
1765
|
-
* for managing state, such as the currently active tab and form interaction data.
|
|
1766
|
-
*
|
|
1767
|
-
* The component uses the `useMemo` hook to optimize rendering performance and to handle the memoization of
|
|
1768
|
-
* computed payment fields. It ensures that the form submission process is smooth, even for hosted payments.
|
|
1769
|
-
*
|
|
1770
|
-
* Each payment method form (e.g., CreditCardForm, eCheckForm, etc.) is conditionally rendered based on the
|
|
1771
|
-
* currently selected payment method, ensuring a consistent user experience.
|
|
1772
|
-
*
|
|
1773
|
-
* Example:
|
|
1774
|
-
* <PaymentForm
|
|
1775
|
-
* id="paymentForm"
|
|
1776
|
-
* activeTab={0}
|
|
1777
|
-
* paymentAccounts={accounts}
|
|
1778
|
-
* paymentDetails={paymentDetails}
|
|
1779
|
-
* bankAccountTypes={accountTypes}
|
|
1780
|
-
* loading={isLoading}
|
|
1781
|
-
* onTabChange={handleTabChange}
|
|
1782
|
-
* onFormStatusChange={handleStatusChange}
|
|
1783
|
-
* presetDataRequest={createDataRequest}
|
|
1784
|
-
* onSubmitCompleted={handleSubmitCompleted}
|
|
1785
|
-
* actionLabel="Enter Card Details"
|
|
1786
|
-
* submit={handleSubmit}
|
|
1787
|
-
* />
|
|
1788
|
-
*
|
|
1789
|
-
* Note:
|
|
1790
|
-
* This component should be used within a React environment that supports hooks and functional components.
|
|
1791
|
-
* It relies on Material-UI for UI components and theming.
|
|
1792
|
-
*/
|
|
1793
|
-
const PaymentForm = ({ id, activeTab = 0, externalId, paymentAccounts, paymentDetails, bankAccountTypes = DEFAULT_ACCOUNT_TYPES, loading, presetDataRequest, onTabChange, onFormStatusChange, onSubmitCompleted, submit, children, childrenPosition = "before", actionLabel, render }) => {
|
|
1794
|
-
const classes = useStyles();
|
|
1795
|
-
const theme = useTheme();
|
|
1796
|
-
const user = useUser();
|
|
1797
|
-
const { t } = useTranslation();
|
|
1798
|
-
const [value, setValue] = useState(activeTab);
|
|
1799
|
-
const formRef = useRef(null);
|
|
1800
|
-
const [paymentFormStatus, setPaymentFormStatus] = useState(null);
|
|
1801
|
-
const [paymentMethodsArray, setPaymentMethodsArray] = useState();
|
|
1802
|
-
const [selectedHostedPayment, setSelectedHostedPayment] = useState(null);
|
|
1803
|
-
const [selectedPaymentType, setSelectedPaymentType] = useState(PaymentMethodTypeEnum.CreditCard);
|
|
1804
|
-
const [loadingProcessPayment, setLoadingProcessPayment] = useState(false);
|
|
1805
|
-
const [selectedPaymentAccount, setSelectedPaymentAccount] = useState(null);
|
|
1806
|
-
/**
|
|
1807
|
-
* API call to get the payment accounts (Credit cards, Bank accounts) associated with the account
|
|
1808
|
-
*/
|
|
1809
|
-
const [{ data: paymentMethods, loading: loadingPaymentMethods }] = useAxiosGet(ConfigService.pgV1ApiUrl, `PaymentMethod`, {}, false);
|
|
1810
|
-
/**
|
|
1811
|
-
* API call to get the payment method information and determine if the payment method is enabled or not
|
|
1812
|
-
*
|
|
1813
|
-
* @param {*} paymentMethodID : Credit card: 4001, Bank account: 4002, eCheck: 4004
|
|
1814
|
-
* @return {*}
|
|
1815
|
-
*/
|
|
1816
|
-
const getPaymentMethodInfo = useCallback(async (paymentMethodID) => {
|
|
1817
|
-
if (!paymentMethodID || !user?.currentTenantId) return;
|
|
1818
|
-
try {
|
|
1819
|
-
return await apiMutate(ConfigService.pgV1ApiUrl, `AppPaymentVendor/PaymentMethod/${paymentMethodID}`, { method: "GET" }, {});
|
|
1820
|
-
} catch (error) {
|
|
1821
|
-
throw new Error(`Error getting payment method info: ${error?.message}`);
|
|
1822
|
-
}
|
|
1823
|
-
}, [user]);
|
|
1824
|
-
/**
|
|
1825
|
-
* API call to fetchPaymentMethod
|
|
1826
|
-
*
|
|
1827
|
-
* @param {string} currentTenantID
|
|
1828
|
-
* @param {string} paymentMethodId
|
|
1829
|
-
* @return {*}
|
|
1830
|
-
*/
|
|
1831
|
-
const fetchPaymentMethod = useCallback(async (currentTenantID, paymentMethodId) => {
|
|
1832
|
-
if (!currentTenantID || !paymentMethodId) return null;
|
|
1833
|
-
return apiMutate(ConfigService.pgV1ApiUrl, `AppPaymentVendor/PaymentMethod/${paymentMethodId}`, { method: "GET" }, {});
|
|
1834
|
-
}, []);
|
|
1835
|
-
/**
|
|
1836
|
-
* fetchPaymentMethodDetails
|
|
1837
|
-
*
|
|
1838
|
-
* @param {*} tenantID
|
|
1839
|
-
* @param {*} methodId
|
|
1840
|
-
* @return {*}
|
|
1841
|
-
*/
|
|
1842
|
-
const fetchPaymentMethodDetails = useCallback(async (tenantID, methodId) => {
|
|
1843
|
-
const paymentMethod = (await fetchPaymentMethod(tenantID, methodId))?.data;
|
|
1844
|
-
if (!paymentMethod) throw new Error(`${t("Payment method configuration not found")}: ${methodId}`);
|
|
1845
|
-
return paymentMethod;
|
|
1846
|
-
}, [fetchPaymentMethod]);
|
|
1847
|
-
/**
|
|
1848
|
-
* executePaymentPG
|
|
1849
|
-
*
|
|
1850
|
-
* @param {string} paymentType
|
|
1851
|
-
* @param {any} requestBody
|
|
1852
|
-
* @return {*}
|
|
1853
|
-
*/
|
|
1854
|
-
const executePaymentPG = useCallback(async (paymentType, requestBody) => {
|
|
1855
|
-
if (!paymentType || !requestBody) return null;
|
|
1856
|
-
return apiMutate(ConfigService.pgV1ApiUrl, `ProcessPayment/${paymentType}`, {
|
|
1857
|
-
method: "POST",
|
|
1858
|
-
data: requestBody
|
|
1859
|
-
}, {});
|
|
1860
|
-
}, []);
|
|
1861
|
-
/**
|
|
1862
|
-
* executeHostedPaymentPG
|
|
1863
|
-
*
|
|
1864
|
-
* @param {string} paymentType
|
|
1865
|
-
* @param {any} requestBody
|
|
1866
|
-
* @return {*}
|
|
1867
|
-
*/
|
|
1868
|
-
const executeHostedPaymentPG = useCallback(async (paymentType, requestBody) => {
|
|
1869
|
-
if (!paymentType || !requestBody) return null;
|
|
1870
|
-
const path = requestBody?.paymentTokenId ? `ProcessPayment/${paymentType}Profile` : `ProcessHostedPaymentPagePayment/${paymentType}`;
|
|
1871
|
-
return apiMutate(ConfigService.pgV1ApiUrl, path, {
|
|
1872
|
-
method: "POST",
|
|
1873
|
-
data: requestBody
|
|
1874
|
-
}, {});
|
|
1875
|
-
}, []);
|
|
1876
|
-
const paymentMethodLabels = useMemo(() => ({
|
|
1877
|
-
"creditcard": t("Credit Card"),
|
|
1878
|
-
"debitcard": t("Debit Card"),
|
|
1879
|
-
"echeck": t("eCheck"),
|
|
1880
|
-
"check": t("Check"),
|
|
1881
|
-
"cash": t("Cash")
|
|
1882
|
-
}), [t]);
|
|
1883
|
-
/**
|
|
1884
|
-
* handleChange
|
|
1885
|
-
*
|
|
1886
|
-
* @param {React.ChangeEvent<{}>} event
|
|
1887
|
-
* @param {number} newValue
|
|
1888
|
-
*/
|
|
1889
|
-
const handleChange = (event, newValue) => {
|
|
1890
|
-
event.preventDefault();
|
|
1891
|
-
setValue(newValue);
|
|
1892
|
-
const selectedPaymentMethod = paymentMethodsArray?.[newValue];
|
|
1893
|
-
setSelectedHostedPayment(selectedPaymentMethod?.paymentVendorConnection?.paymentVendorFactoryID);
|
|
1894
|
-
setSelectedPaymentType(selectedPaymentMethod?.paymentMethodID);
|
|
1895
|
-
onTabChange(event, selectedPaymentMethod);
|
|
1896
|
-
};
|
|
1897
|
-
const handleStatusChange = (paymentFormStatus) => {
|
|
1898
|
-
setPaymentFormStatus(paymentFormStatus);
|
|
1899
|
-
onFormStatusChange?.(paymentFormStatus);
|
|
1900
|
-
};
|
|
1901
|
-
/**
|
|
1902
|
-
* useCallback()
|
|
1903
|
-
* renderPaymentMethodForm
|
|
1904
|
-
*
|
|
1905
|
-
* @param {any} method
|
|
1906
|
-
* @return {*}
|
|
1907
|
-
*/
|
|
1908
|
-
const renderPaymentMethodForm = useCallback((method) => {
|
|
1909
|
-
const isDisabled = !method.enabled;
|
|
1910
|
-
const overlayMessage = t("This Payment method is currently unavailable");
|
|
1911
|
-
return /* @__PURE__ */ React.createElement("div", { style: { position: "relative" } }, isDisabled && /* @__PURE__ */ React.createElement(DisabledOverlay, { message: overlayMessage }), /* @__PURE__ */ React.createElement("div", { style: { opacity: isDisabled ? .5 : 1 } }, method?.name?.toLowerCase() === PAYMENT_METHODS.CREDIT_CARD && /* @__PURE__ */ React.createElement(CreditCardForm, {
|
|
1912
|
-
onStatusChange: handleStatusChange,
|
|
1913
|
-
paymentDetails,
|
|
1914
|
-
externalId,
|
|
1915
|
-
setSelectedPaymentAccount,
|
|
1916
|
-
actionLabel,
|
|
1917
|
-
...method
|
|
1918
|
-
}), method?.name?.toLowerCase() === PAYMENT_METHODS.CASH && /* @__PURE__ */ React.createElement(CashForm, {
|
|
1919
|
-
onStatusChange: handleStatusChange,
|
|
1920
|
-
paymentDetails,
|
|
1921
|
-
...method
|
|
1922
|
-
}), method?.name?.toLowerCase() === PAYMENT_METHODS.E_CHECK && /* @__PURE__ */ React.createElement(BankAccountForm, {
|
|
1923
|
-
bankAccountTypes,
|
|
1924
|
-
onStatusChange: handleStatusChange,
|
|
1925
|
-
paymentDetails,
|
|
1926
|
-
externalId,
|
|
1927
|
-
setSelectedPaymentAccount,
|
|
1928
|
-
actionLabel,
|
|
1929
|
-
...method
|
|
1930
|
-
}), method?.name?.toLowerCase() === PAYMENT_METHODS.DEBIT_CARD && /* @__PURE__ */ React.createElement(CreditCardForm, {
|
|
1931
|
-
onStatusChange: handleStatusChange,
|
|
1932
|
-
paymentDetails,
|
|
1933
|
-
...method
|
|
1934
|
-
}), " "));
|
|
1935
|
-
}, [paymentDetails, bankAccountTypes]);
|
|
1936
|
-
/**
|
|
1937
|
-
* isLiveMode
|
|
1938
|
-
*
|
|
1939
|
-
* @return {*}
|
|
1940
|
-
*/
|
|
1941
|
-
const isSandBoxMode = useMemo(() => {
|
|
1942
|
-
const isLiveMode = paymentMethodsArray?.[value]?.paymentVendorConnection?.isLiveMode;
|
|
1943
|
-
if (isLiveMode === void 0) return false;
|
|
1944
|
-
return !isLiveMode;
|
|
1945
|
-
}, [paymentMethodsArray, value]);
|
|
1946
|
-
/**
|
|
1947
|
-
* getPaymentMethodLabel
|
|
1948
|
-
*
|
|
1949
|
-
* @param {*} method
|
|
1950
|
-
* @return {*}
|
|
1951
|
-
*/
|
|
1952
|
-
const getPaymentMethodLabel = (method) => {
|
|
1953
|
-
const normalizedMethodName = method?.name?.toLowerCase().replace(/\s+/g, "") || "";
|
|
1954
|
-
return paymentMethodLabels?.[normalizedMethodName] || method.name;
|
|
1955
|
-
};
|
|
1956
|
-
/**
|
|
1957
|
-
* setPaymentMethodsEnabled
|
|
1958
|
-
* take every paymentMethod (eCheck, credit card, etc) and verify if the payment methods are enabled or not
|
|
1959
|
-
* @return {*}
|
|
1960
|
-
*/
|
|
1961
|
-
const setPaymentMethodsEnabled = useCallback(async () => {
|
|
1962
|
-
const validPaymentMethods = paymentMethods?.filter(Boolean);
|
|
1963
|
-
const filteredResults = (await Promise.allSettled(validPaymentMethods?.map(async (paymentMethod) => {
|
|
1964
|
-
try {
|
|
1965
|
-
const paymentMethodEnable = await getPaymentMethodInfo(paymentMethod.paymentMethodID);
|
|
1966
|
-
const paymentVendorConnection = paymentMethodEnable?.data?.paymentVendorConnection || null;
|
|
1967
|
-
const providerType = paymentVendorConnection?.paymentVendorFactoryID;
|
|
1968
|
-
const hostedPaymentPageSetup = paymentVendorConnection?.hostedPaymentPageSetup.find((x) => x.useHostedPaymentPage) || null;
|
|
1969
|
-
const isHostedPaymentPage = hostedPaymentPageSetup?.useHostedPaymentPage || false;
|
|
1970
|
-
let providerProps = {};
|
|
1971
|
-
let hasReadPropertiesError = false;
|
|
1972
|
-
let readPropertiesMessageError = null;
|
|
1973
|
-
if (isHostedPaymentPage) {
|
|
1974
|
-
const { error, attributes } = stringToProps(hostedPaymentPageSetup?.hostedPaymentPageConfig);
|
|
1975
|
-
providerProps = {
|
|
1976
|
-
customCss: hostedPaymentPageSetup?.customCSS,
|
|
1977
|
-
attributes,
|
|
1978
|
-
...attributes?.baseUrl ? { baseUrl: attributes?.baseUrl } : null
|
|
1979
|
-
};
|
|
1980
|
-
hasReadPropertiesError = error ? true : false;
|
|
1981
|
-
readPropertiesMessageError = error;
|
|
1982
|
-
}
|
|
1983
|
-
return {
|
|
1984
|
-
paymentMethodID: paymentMethod.paymentMethodID,
|
|
1985
|
-
name: paymentMethod.name,
|
|
1986
|
-
enabled: paymentMethodEnable?.status === 200,
|
|
1987
|
-
data: paymentMethodEnable?.status === 200 ? paymentMethodEnable.data : null,
|
|
1988
|
-
paymentVendorConnection,
|
|
1989
|
-
isHostedPaymentPage,
|
|
1990
|
-
providerType,
|
|
1991
|
-
providerProps,
|
|
1992
|
-
hasReadPropertiesError,
|
|
1993
|
-
readPropertiesMessageError
|
|
1994
|
-
};
|
|
1995
|
-
} catch (error) {
|
|
1996
|
-
console.error(`Error fetching payment method info for ${paymentMethod?.paymentMethodID}:`, error);
|
|
1997
|
-
return null;
|
|
1998
|
-
}
|
|
1999
|
-
}))).filter((result) => result.status === "fulfilled" && result.value !== null).map((result) => result.value) || null;
|
|
2000
|
-
setPaymentMethodsArray(filteredResults);
|
|
2001
|
-
setSelectedHostedPayment(filteredResults?.find((x) => x.enabled)?.providerType || null);
|
|
2002
|
-
}, [paymentMethods]);
|
|
2003
|
-
/**
|
|
2004
|
-
* createHostedPaymentRequest
|
|
2005
|
-
*
|
|
2006
|
-
* @param {*} baseRequest
|
|
2007
|
-
* @param {*} paymentMethod
|
|
2008
|
-
* @return {*}
|
|
2009
|
-
*/
|
|
2010
|
-
const createHostedPaymentRequest = useCallback((baseRequest, paymentMethod, paymentMethodId, selectedPaymentAccount) => {
|
|
2011
|
-
const vendorFactoryID = paymentMethod.paymentVendorConnection?.paymentVendorFactoryID;
|
|
2012
|
-
let vendorRequest = {};
|
|
2013
|
-
switch (vendorFactoryID) {
|
|
2014
|
-
case PaymentVendorFactoryEnum.Fiserv:
|
|
2015
|
-
vendorRequest = {
|
|
2016
|
-
HostedPageToken: paymentFormStatus?.payload?.token || paymentFormStatus?.payload?.message,
|
|
2017
|
-
...paymentFormStatus?.payload?.expiry && { Expiry: paymentFormStatus?.payload?.expiry }
|
|
2018
|
-
};
|
|
2019
|
-
break;
|
|
2020
|
-
case PaymentVendorFactoryEnum.ICheck:
|
|
2021
|
-
if (!paymentFormStatus?.isValid) throw new Error(`${t("Payment error. Please check the form and try again")} ${paymentFormStatus?.errorMessage}`);
|
|
2022
|
-
vendorRequest = { ResponseData: JSON.parse(paymentFormStatus?.payload)?.transactionResponse };
|
|
2023
|
-
break;
|
|
2024
|
-
case PaymentVendorFactoryEnum.Paymentus:
|
|
2025
|
-
const paymentTokenId = selectedPaymentAccount ? selectedPaymentAccount?.paymentTokenID : null;
|
|
2026
|
-
vendorRequest = {
|
|
2027
|
-
NameOnAccount: paymentFormStatus?.payload?.CardHolderName,
|
|
2028
|
-
HostedPageToken: paymentFormStatus?.payload?.Token,
|
|
2029
|
-
...paymentFormStatus?.payload?.ExpiryDate && { Expiry: paymentFormStatus?.payload?.ExpiryDate },
|
|
2030
|
-
...paymentTokenId && { PaymentTokenId: paymentTokenId }
|
|
2031
|
-
};
|
|
2032
|
-
break;
|
|
2033
|
-
default: break;
|
|
2034
|
-
}
|
|
2035
|
-
return {
|
|
2036
|
-
...baseRequest,
|
|
2037
|
-
PaymentVendorFactoryID: vendorFactoryID,
|
|
2038
|
-
...vendorRequest
|
|
2039
|
-
};
|
|
2040
|
-
}, [paymentFormStatus]);
|
|
2041
|
-
/**
|
|
2042
|
-
* createNonHostedPaymentRequest
|
|
2043
|
-
*
|
|
2044
|
-
* @param {*} baseRequest
|
|
2045
|
-
* @param {*} formData
|
|
2046
|
-
* @return {*}
|
|
2047
|
-
*/
|
|
2048
|
-
const createNonHostedPaymentRequest = useCallback((baseRequest, formData) => {
|
|
2049
|
-
let dataRequest = { ...baseRequest };
|
|
2050
|
-
if (selectedPaymentType === PaymentMethodTypeEnum.CreditCard) Object.assign(dataRequest, setCreditCardAttr(formData));
|
|
2051
|
-
else if (selectedPaymentType === PaymentMethodTypeEnum.eCheck) Object.assign(dataRequest, setECheckAttr(formData));
|
|
2052
|
-
return dataRequest;
|
|
2053
|
-
}, [selectedPaymentType]);
|
|
2054
|
-
/**
|
|
2055
|
-
* createDataRequest
|
|
2056
|
-
*
|
|
2057
|
-
* @param {*} formData
|
|
2058
|
-
* @param {*} paymentMethod
|
|
2059
|
-
* @param {*} isHostedPayment
|
|
2060
|
-
* @return {*}
|
|
2061
|
-
*/
|
|
2062
|
-
const createDataRequest = useCallback((formData, paymentMethod, isHostedPayment, paymentMethodId, selectedPaymentAccount) => {
|
|
2063
|
-
const baseRequest = presetDataRequest(formData, paymentMethod, isHostedPayment);
|
|
2064
|
-
return isHostedPayment ? createHostedPaymentRequest(baseRequest, paymentMethod, paymentMethodId, selectedPaymentAccount) : createNonHostedPaymentRequest(baseRequest, formData);
|
|
2065
|
-
}, [
|
|
2066
|
-
paymentFormStatus,
|
|
2067
|
-
user,
|
|
2068
|
-
presetDataRequest,
|
|
2069
|
-
paymentDetails,
|
|
2070
|
-
selectedPaymentType
|
|
2071
|
-
]);
|
|
2072
|
-
/**
|
|
2073
|
-
* executePayment
|
|
2074
|
-
* Executes the payment process based on the payment method and request data.
|
|
2075
|
-
*
|
|
2076
|
-
* @param {*} paymentMethodId The ID of the payment method.
|
|
2077
|
-
* @param {*} dataRequest The request data for the payment.
|
|
2078
|
-
* @param {boolean} isHostedPayment Indicates if the payment is a hosted payment.
|
|
2079
|
-
* @return {*} The result of the payment execution.
|
|
2080
|
-
*/
|
|
2081
|
-
const executePayment = useCallback(async (paymentMethodId, dataRequest, isHostedPayment) => {
|
|
2082
|
-
if (!paymentMethodId || !dataRequest) throw new Error(t("Invalid payment data"));
|
|
2083
|
-
if (typeof isHostedPayment !== "boolean") throw new Error(t("Invalid hosted payment flag"));
|
|
2084
|
-
const paymentMethodName = PaymentMethodTypeEnum?.[paymentMethodId];
|
|
2085
|
-
if (!paymentMethodName) throw new Error(t("Unknown payment method") + `: ${paymentMethodId}`);
|
|
2086
|
-
return (isHostedPayment ? await executeHostedPaymentPG(paymentMethodName, dataRequest) : await executePaymentPG(paymentMethodName, dataRequest))?.data || null;
|
|
2087
|
-
}, [executePaymentPG, executeHostedPaymentPG]);
|
|
2088
|
-
/**
|
|
2089
|
-
* setCreditCardAttr
|
|
2090
|
-
*
|
|
2091
|
-
* @param {*} formData
|
|
2092
|
-
* @param {string} currentTenantID
|
|
2093
|
-
* @param {IPaymentMethod} paymentMethod
|
|
2094
|
-
* @return {*}
|
|
2095
|
-
*/
|
|
2096
|
-
const setCreditCardAttr = (formData) => {
|
|
2097
|
-
const expireMonth = formData.expiryDate.split("/")?.[0];
|
|
2098
|
-
const expirationDate = `20${formData.expiryDate.split("/")?.[1]}-${expireMonth}-01`;
|
|
2099
|
-
return {
|
|
2100
|
-
CardNumber: formData.cardNumber.replace(/\s/g, ""),
|
|
2101
|
-
ExpirationDate: expirationDate,
|
|
2102
|
-
SecurityCode: formData.cvv
|
|
2103
|
-
};
|
|
2104
|
-
};
|
|
2105
|
-
/**
|
|
2106
|
-
* setECheckAttr
|
|
2107
|
-
* @param {*} formData
|
|
2108
|
-
*/
|
|
2109
|
-
const setECheckAttr = (formData) => ({
|
|
2110
|
-
routingNumber: formData.routingNumber.replace(/\s/g, ""),
|
|
2111
|
-
accountNumber: formData.accountNumber.replace(/\s/g, "")
|
|
2112
|
-
});
|
|
2113
|
-
/**
|
|
2114
|
-
* submitPaymentForm
|
|
2115
|
-
* Processes the payment form submission.
|
|
2116
|
-
* @param {*} formData The form data.
|
|
2117
|
-
*/
|
|
2118
|
-
const submitPaymentForm = useCallback(async (formData) => {
|
|
2119
|
-
if (!formData) return;
|
|
2120
|
-
setLoadingProcessPayment(true);
|
|
2121
|
-
const currentTenantID = user?.currentTenantId;
|
|
2122
|
-
const paymentMethodId = selectedPaymentType;
|
|
2123
|
-
if (!currentTenantID || !paymentMethodId) onSubmitCompleted?.(null, { error: true });
|
|
2124
|
-
try {
|
|
2125
|
-
const paymentMethod = await fetchPaymentMethodDetails(currentTenantID, paymentMethodId);
|
|
2126
|
-
const isHostedPayment = paymentMethod.paymentVendorConnection?.hostedPaymentPageSetup?.[0]?.useHostedPaymentPage || false;
|
|
2127
|
-
const paymentResult = await executePayment(paymentMethodId, createDataRequest(formData, paymentMethod, isHostedPayment, paymentMethodId, selectedPaymentAccount), isHostedPayment);
|
|
2128
|
-
onSubmitCompleted?.(formData, paymentResult);
|
|
2129
|
-
} catch (error) {
|
|
2130
|
-
throw new Error("Error processing payment: " + error?.message);
|
|
2131
|
-
} finally {
|
|
2132
|
-
setLoadingProcessPayment(false);
|
|
2133
|
-
}
|
|
2134
|
-
}, [
|
|
2135
|
-
paymentFormStatus,
|
|
2136
|
-
createDataRequest,
|
|
2137
|
-
selectedPaymentType,
|
|
2138
|
-
user,
|
|
2139
|
-
selectedPaymentAccount
|
|
2140
|
-
]);
|
|
2141
|
-
/**
|
|
2142
|
-
* Handles the form submission for iCheck payments.
|
|
2143
|
-
*
|
|
2144
|
-
* This function checks if the selected payment method is `ECheck` (electronic check)
|
|
2145
|
-
* from the `PaymentVendorFactoryEnum`. If it is, and the form reference (`formRef`) exists
|
|
2146
|
-
* and is currently mounted in the component, it programmatically triggers the form submission.
|
|
2147
|
-
*
|
|
2148
|
-
*/
|
|
2149
|
-
const handleICheckPaymentFormStatus = useCallback(() => {
|
|
2150
|
-
if (paymentFormStatus?.selectedHostedPayment === PaymentVendorFactoryEnum.ICheck || paymentFormStatus?.selectedHostedPayment === PaymentVendorFactoryEnum.Paymentus && formRef?.current) formRef.current?.submit();
|
|
2151
|
-
}, [paymentFormStatus]);
|
|
2152
|
-
useEffect(() => {
|
|
2153
|
-
setPaymentMethodsEnabled();
|
|
2154
|
-
}, [paymentMethods]);
|
|
2155
|
-
useEffect(() => {
|
|
2156
|
-
onFormStatusChange?.(paymentFormStatus);
|
|
2157
|
-
handleICheckPaymentFormStatus();
|
|
2158
|
-
}, [paymentFormStatus]);
|
|
2159
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, loadingProcessPayment && /* @__PURE__ */ React.createElement(Box$1, { sx: {
|
|
2160
|
-
position: "fixed",
|
|
2161
|
-
top: 0,
|
|
2162
|
-
left: 0,
|
|
2163
|
-
width: "100%",
|
|
2164
|
-
height: "100%",
|
|
2165
|
-
backgroundColor: "rgba(255, 255, 255, 0.8)",
|
|
2166
|
-
zIndex: 9999,
|
|
2167
|
-
display: "flex",
|
|
2168
|
-
alignItems: "center",
|
|
2169
|
-
justifyContent: "center"
|
|
2170
|
-
} }, /* @__PURE__ */ React.createElement(CircularProgress$1, {
|
|
2171
|
-
size: "3rem",
|
|
2172
|
-
color: "primary"
|
|
2173
|
-
})), /* @__PURE__ */ React.createElement(Form, {
|
|
2174
|
-
id,
|
|
2175
|
-
onSubmit: submitPaymentForm,
|
|
2176
|
-
autocomplete: "off",
|
|
2177
|
-
render: (params) => {
|
|
2178
|
-
formRef.current = params?.form;
|
|
2179
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Box$1, {
|
|
2180
|
-
display: "flex",
|
|
2181
|
-
flexDirection: "column",
|
|
2182
|
-
style: {
|
|
2183
|
-
gap: "10px",
|
|
2184
|
-
flex: 1
|
|
2185
|
-
}
|
|
2186
|
-
}, childrenPosition === "before" && children, /* @__PURE__ */ React.createElement(Box$1, {
|
|
2187
|
-
display: "flex",
|
|
2188
|
-
flexDirection: "column",
|
|
2189
|
-
padding: "0"
|
|
2190
|
-
}, /* @__PURE__ */ React.createElement(Tabs, {
|
|
2191
|
-
value,
|
|
2192
|
-
onChange: handleChange,
|
|
2193
|
-
"aria-label": t("(payment method tabs")
|
|
2194
|
-
}, paymentMethodsArray?.map((method, index) => /* @__PURE__ */ React.createElement(Tooltip, {
|
|
2195
|
-
key: method.paymentMethodID,
|
|
2196
|
-
title: !method.enabled ? t("This Payment method is currently unavailable") : ""
|
|
2197
|
-
}, /* @__PURE__ */ React.createElement(Tab, {
|
|
2198
|
-
key: method.paymentMethodID,
|
|
2199
|
-
icon: getPaymentMethodIcon(method.name, value === index, method.enabled, theme),
|
|
2200
|
-
label: getPaymentMethodLabel(method),
|
|
2201
|
-
"aria-label": getPaymentMethodLabel(method),
|
|
2202
|
-
className: classes.tab
|
|
2203
|
-
})))), /* @__PURE__ */ React.createElement(Card, { className: classes.cardFullWidth }, /* @__PURE__ */ React.createElement(CardContent, { className: classes.paddingZero }, (loading || loadingPaymentMethods) && /* @__PURE__ */ React.createElement(LinearProgress, null), /* @__PURE__ */ React.createElement(Grow, {
|
|
2204
|
-
in: isSandBoxMode,
|
|
2205
|
-
style: {
|
|
2206
|
-
transformOrigin: "0 0 0",
|
|
2207
|
-
display: isSandBoxMode ? "flex" : "none"
|
|
2208
|
-
},
|
|
2209
|
-
timeout: 800
|
|
2210
|
-
}, /* @__PURE__ */ React.createElement(Box$1, {
|
|
2211
|
-
display: "flex",
|
|
2212
|
-
flexDirection: "row",
|
|
2213
|
-
justifyContent: "space-between",
|
|
2214
|
-
alignItems: "center",
|
|
2215
|
-
style: {
|
|
2216
|
-
gap: "8px",
|
|
2217
|
-
boxSizing: "border-box",
|
|
2218
|
-
background: "#FFF2CD",
|
|
2219
|
-
borderWidth: "1px 0px",
|
|
2220
|
-
borderStyle: "solid",
|
|
2221
|
-
borderColor: "rgba(0, 0, 0, 0.12)",
|
|
2222
|
-
padding: "10px"
|
|
2223
|
-
}
|
|
2224
|
-
}, /* @__PURE__ */ React.createElement(Typography$1, {
|
|
2225
|
-
variant: "subtitle2",
|
|
2226
|
-
style: {
|
|
2227
|
-
width: "100%",
|
|
2228
|
-
textAlign: "center"
|
|
2229
|
-
}
|
|
2230
|
-
}, t("You are currently in test mode using a Sandbox account")))), /* @__PURE__ */ React.createElement(LayoutUnit, { unit: "xxs" }), paymentMethodsArray?.map((method, index) => /* @__PURE__ */ React.createElement(TabPanel, {
|
|
2231
|
-
value,
|
|
2232
|
-
index,
|
|
2233
|
-
key: method.paymentMethodID
|
|
2234
|
-
}, renderPaymentMethodForm(method))), submit && /* @__PURE__ */ React.createElement(FluentButton, {
|
|
2235
|
-
variant: "contained",
|
|
2236
|
-
color: "secondary",
|
|
2237
|
-
disabled: false,
|
|
2238
|
-
type: "submit",
|
|
2239
|
-
className: classes.submitControl
|
|
2240
|
-
}, loading && /* @__PURE__ */ React.createElement(CircularProgress$1, {
|
|
2241
|
-
size: 24,
|
|
2242
|
-
className: classes.buttonProgress
|
|
2243
|
-
}), /* @__PURE__ */ React.createElement(Typography$1, null, t("Save")))))), childrenPosition === "after" && children, typeof render === "function" ? render(params) : render), childrenPosition === "outside" && children);
|
|
2244
|
-
}
|
|
2245
|
-
}));
|
|
2246
|
-
};
|
|
2247
|
-
|
|
2248
|
-
//#endregion
|
|
2249
|
-
export { PaymentForm as t };
|
|
2250
|
-
//# sourceMappingURL=PaymentForm-CmreNWxI.js.map
|