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
|
@@ -0,0 +1,2664 @@
|
|
|
1
|
+
import { t as Form } from "./Form-kH10DtvM.js";
|
|
2
|
+
import { t as Field } from "./Field-BSE8Fwr1.js";
|
|
3
|
+
import { a as FormSpy } from "./arrayMutators-DXqE79lJ.js";
|
|
4
|
+
import { t as FluentButton } from "./FluentButton-BexKrnAp.js";
|
|
5
|
+
import { ConfigService as ConfigService$1 } from "./configService/index.js";
|
|
6
|
+
import { i as useHandleAxiosSnackbar } from "./apiHelpers-CQSnEbMA.js";
|
|
7
|
+
import { t as useUser } from "./useUser-B_mCveqm.js";
|
|
8
|
+
import { n as useAxiosMutate, t as apiMutate } from "./useAxiosMutate-DfnYYAzN.js";
|
|
9
|
+
import { t as FluentTextFieldAutoComplete } from "./FluentTextFieldAutoComplete-oKuTIZT1.js";
|
|
10
|
+
import { t as FluentIcon } from "./FluentIcon-pwGrBtD8.js";
|
|
11
|
+
import { r as getSanitizedName } from "./entityUtilities-COeBqY4z.js";
|
|
12
|
+
import { B as UdpSearchEnums, F as TransactionUiActionTypeEnums, N as TransactionActionTypeEnums, P as TransactionEventTypeEnums, n as CardinalityTypeEnums } from "./unitySystemEnums-DnxEalNP.js";
|
|
13
|
+
import { t as useCatalogStore } from "./catalogStore-Ck4aj6U7.js";
|
|
14
|
+
import { t as Typography$1 } from "./Typography-CuvZNahz.js";
|
|
15
|
+
import { S as getIconFromName } from "./TreeUtilities-Bz1Gquph.js";
|
|
16
|
+
import { n as SideSheet } from "./SideSheet-B7N-AM_z.js";
|
|
17
|
+
import { t as useAxiosGet } from "./useAxiosGet-BtxSpEO3.js";
|
|
18
|
+
import { t as StatusChip } from "./StatusChip-DZAN88VU.js";
|
|
19
|
+
import { t as UdpTabs } from "./UdpTabs-Bx5rfGfh.js";
|
|
20
|
+
import { t as PageContainer } from "./PageContainer-CvcNKX87.js";
|
|
21
|
+
import { t as Adornment } from "./Adornment-Ciq1X7he.js";
|
|
22
|
+
import { t as AmbientCard } from "./AmbientCard-D-le1ghN.js";
|
|
23
|
+
import { t as AmbientTextField } from "./AmbientTextField-CdYuItOr.js";
|
|
24
|
+
import { t as FluentDialog } from "./FluentDialog-COrrKCGR.js";
|
|
25
|
+
import { t as LinearProgress$1 } from "./LinearProgress-BKtF0I7Z.js";
|
|
26
|
+
import { t as FluentTextField } from "./FluentTextField-BsEmi6u7.js";
|
|
27
|
+
import { t as useAuthedUser } from "./useAuthedUser-BGUw1f7h.js";
|
|
28
|
+
import { t as Divider$1 } from "./Divider-DTby6br8.js";
|
|
29
|
+
import { n as AmbientList } from "./FluentListElement-x4t_kFgR.js";
|
|
30
|
+
import { t as AmbientAutoComplete } from "./AmbientAutoComplete-DrhrqnYv.js";
|
|
31
|
+
import { t as AmbientAlert } from "./AmbientAlert-BXaACQ3f.js";
|
|
32
|
+
import { t as EmptyStateDisplay } from "./EmptyStateDisplay-CPCd-JUL.js";
|
|
33
|
+
import { t as FileViewer } from "./FileViewer-D1yaA_06.js";
|
|
34
|
+
import { n as UdpTabPanel } from "./UdpTabUtility-DpqUyQOO.js";
|
|
35
|
+
import { n as UdpTimeline } from "./UdpTimelineItem-BhvAvFJM.js";
|
|
36
|
+
import { t as SearchMethodUdpGrid } from "./SearchMethodUdpGrid-D6NBIBer.js";
|
|
37
|
+
import { i as getLocalizedDateTimeString, t as formatDate } from "./dateUtils-CeimQs9e.js";
|
|
38
|
+
import { t as UdpActionCard } from "./UdpActionCard-DKx-AzjX.js";
|
|
39
|
+
import { t as Attachments } from "./Attachments-KlQrecdt.js";
|
|
40
|
+
import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
41
|
+
import { Badge, CircularProgress, FormControlLabel, LinearProgress, Switch, makeStyles } from "@material-ui/core";
|
|
42
|
+
import { useSnackbar } from "notistack";
|
|
43
|
+
import { useLocation } from "react-router-dom";
|
|
44
|
+
import { AddIcon, ContactIcon, DocumentIcon, FileImageIcon, PDFIcon, ViewIcon, WordDocumentIcon } from "@fluentui/react-icons";
|
|
45
|
+
import { useTranslation } from "react-i18next";
|
|
46
|
+
import { create } from "zustand";
|
|
47
|
+
import { devtools } from "zustand/middleware";
|
|
48
|
+
import jsonLogic from "json-logic-js";
|
|
49
|
+
import { ConfigService, UdpAttachmentItem, UdpTimelineConnector, UdpTimelineDot, UdpTimelineItem, UdpTimelineSeparator } from "udp-react-stencil-component-library";
|
|
50
|
+
import ReactJson from "react-json-view";
|
|
51
|
+
import "./udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.css";
|
|
52
|
+
import "./udp/pages/UdpTransactionsPage/sidesheets/EditTransaction.css";
|
|
53
|
+
import "./udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.css";
|
|
54
|
+
import "./udp/pages/UdpTransactionsPage/components/EditTransactionDetailsFooterItem.css";
|
|
55
|
+
import "./udp/pages/UdpTransactionsPage/UdpTransactionsPage.css";
|
|
56
|
+
|
|
57
|
+
//#region src/stores/transactionStore.ts
|
|
58
|
+
const useTransactionStore = create()(devtools((set) => ({
|
|
59
|
+
transactionTypesMap: {},
|
|
60
|
+
setTransactionTypesMap: (transactionTypesMap) => set((state) => ({ transactionTypesMap: {
|
|
61
|
+
...state.transactionTypesMap,
|
|
62
|
+
...transactionTypesMap
|
|
63
|
+
} }))
|
|
64
|
+
})));
|
|
65
|
+
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/utilities/transactions/useTransactionEngine.js
|
|
68
|
+
const useTransactionEngine = (transactionTypeId) => {
|
|
69
|
+
const user = useUser();
|
|
70
|
+
const [transactionTypeFields, setTransactionTypeFields] = useState([]);
|
|
71
|
+
const currentApiCatalogId = useCatalogStore((state) => state.currentApiCatalogId);
|
|
72
|
+
const catalogsMap = useCatalogStore((state) => state.catalogsMap);
|
|
73
|
+
const transactionTypesMap = useTransactionStore((state) => state.transactionTypesMap);
|
|
74
|
+
const transactionType = transactionTypesMap ? transactionTypesMap[transactionTypeId] : null;
|
|
75
|
+
const evaluateRule = useCallback((rule, udpTransaction) => {
|
|
76
|
+
let udpTransactionEvaluationData = {
|
|
77
|
+
currentStatusId: udpTransaction?.currentStatusId,
|
|
78
|
+
currentDomainValue: udpTransaction?.entityBusinessObject,
|
|
79
|
+
tenantUserRoleIds: user?.roleIds || []
|
|
80
|
+
};
|
|
81
|
+
return jsonLogic.apply(rule, udpTransactionEvaluationData);
|
|
82
|
+
}, [user?.roleIds]);
|
|
83
|
+
const getTransactionTypeTransactionActions = useCallback((udpTransaction, ruleTypeId = null) => {
|
|
84
|
+
return transactionType?.udpTransactionTypeUdpTransactionTypeConfiguration?.reduce((actions, config) => {
|
|
85
|
+
const ruleLogic = config?.expressionLogic;
|
|
86
|
+
if (!ruleTypeId) return actions;
|
|
87
|
+
if (config.transactionRuleTypeId === ruleTypeId && config.enabled && ruleLogic) {
|
|
88
|
+
if (evaluateRule(ruleLogic, udpTransaction)) {
|
|
89
|
+
const nestedActions = (config?.udpTransactionTypeConfigurationUdpTransactionTypeConfigurationTransactionAction || []).map((action) => action.udpTransactionTypeConfigurationTransactionActionUdpTransactionTypeTransactionAction).filter((action) => action);
|
|
90
|
+
if (nestedActions.length > 0) actions = actions.concat(nestedActions);
|
|
91
|
+
}
|
|
92
|
+
return actions;
|
|
93
|
+
}
|
|
94
|
+
return actions;
|
|
95
|
+
}, []);
|
|
96
|
+
}, [transactionType, evaluateRule]);
|
|
97
|
+
const hasRevisions = useMemo(() => {
|
|
98
|
+
return transactionType?.hasRevision;
|
|
99
|
+
}, [transactionType]);
|
|
100
|
+
const hasClosedStatus = useMemo(() => {
|
|
101
|
+
return transactionType?.udpTransactionTypeUdpTransactionTypeStatus?.some((status) => status.isClosedStatus);
|
|
102
|
+
}, [transactionType]);
|
|
103
|
+
const canCancel = useMemo(() => {
|
|
104
|
+
return transactionType?.archiveOnCancel || transactionType?.udpTransactionTypeUdpTransactionTypeStatus?.some((status) => status.isCancelledStatus);
|
|
105
|
+
}, [transactionType]);
|
|
106
|
+
const transactionTypeStatuses = useMemo(() => transactionType?.udpTransactionTypeUdpTransactionTypeStatus, [transactionType]);
|
|
107
|
+
const transactionTypeGridColumns = useMemo(() => {
|
|
108
|
+
if (Array.isArray(transactionType?.domainFields)) return transactionType?.domainFields || [];
|
|
109
|
+
else if (transactionType?.domainFields && Object.keys(transactionType.domainFields).length) return Object.entries(transactionType.domainFields).map(([propertyName, value]) => ({
|
|
110
|
+
propertyName,
|
|
111
|
+
...value
|
|
112
|
+
})).sort((a, b) => a.order - b.order) || [];
|
|
113
|
+
return [];
|
|
114
|
+
}, [transactionType]);
|
|
115
|
+
const transactionTypeStatusColorsMap = useMemo(() => {
|
|
116
|
+
const statusColorsMap = {};
|
|
117
|
+
transactionType?.udpTransactionTypeUdpTransactionTypeStatus?.forEach((status) => {
|
|
118
|
+
statusColorsMap[status.name] = status.color || "default";
|
|
119
|
+
});
|
|
120
|
+
return statusColorsMap;
|
|
121
|
+
}, [transactionType]);
|
|
122
|
+
const getHiddenFields = useCallback((udpTransaction) => {
|
|
123
|
+
const transactionActions = getTransactionTypeTransactionActions(udpTransaction, TransactionEventTypeEnums.Form);
|
|
124
|
+
if (!transactionActions) return [];
|
|
125
|
+
let hiddenFields = [];
|
|
126
|
+
transactionActions.filter((action) => action.transactionActionId === TransactionActionTypeEnums.Set_Fields_Hidden).forEach((action) => {
|
|
127
|
+
if (action.parameters?.hiddenFields) hiddenFields = hiddenFields.concat(action.parameters.hiddenFields);
|
|
128
|
+
});
|
|
129
|
+
return hiddenFields;
|
|
130
|
+
}, [getTransactionTypeTransactionActions]);
|
|
131
|
+
const getRequiredFields = useCallback((udpTransaction) => {
|
|
132
|
+
const transactionActions = getTransactionTypeTransactionActions(udpTransaction, TransactionEventTypeEnums.Form);
|
|
133
|
+
if (!transactionActions) return [];
|
|
134
|
+
let requiredFields = [];
|
|
135
|
+
transactionActions.filter((action) => action.transactionActionId === TransactionActionTypeEnums.Set_Mandatory_Fields).forEach((action) => {
|
|
136
|
+
if (action.parameters?.mandatoryFields) requiredFields = requiredFields.concat(action.parameters.mandatoryFields);
|
|
137
|
+
});
|
|
138
|
+
return requiredFields;
|
|
139
|
+
}, [getTransactionTypeTransactionActions]);
|
|
140
|
+
const getUiActionRenderPageId = useCallback((uiActionType) => {
|
|
141
|
+
return (transactionType?.udpTransactionTypeUdpTransactionUiAction?.find((action) => action.transactionUiActionTypeId === uiActionType))?.parameters?.pageId || null;
|
|
142
|
+
}, [transactionType]);
|
|
143
|
+
const getTransactionTypeLabel = useCallback((udpTransaction) => {
|
|
144
|
+
if (!transactionType?.domainFieldLabel) return null;
|
|
145
|
+
return udpTransaction?.entityBusinessObject ? udpTransaction.entityBusinessObject[transactionType.domainFieldLabel] : null;
|
|
146
|
+
}, [transactionType]);
|
|
147
|
+
const checkIfTransactionIsClosed = useCallback((udpTransaction) => {
|
|
148
|
+
if (!hasClosedStatus) return false;
|
|
149
|
+
const closedStatus = transactionType?.udpTransactionTypeUdpTransactionTypeStatus?.find((status) => status.isClosedStatus);
|
|
150
|
+
if (!closedStatus) return false;
|
|
151
|
+
return closedStatus.transactionTypeStatusId === udpTransaction?.currentStatusId;
|
|
152
|
+
}, [hasClosedStatus, transactionType]);
|
|
153
|
+
useEffect(() => {
|
|
154
|
+
if (catalogsMap && currentApiCatalogId && transactionType) {
|
|
155
|
+
const apiCatalog = catalogsMap[currentApiCatalogId];
|
|
156
|
+
if (apiCatalog) {
|
|
157
|
+
const transactionTypeObject = apiCatalog.ctlg.catalogObjectList.find((obj) => obj.catalogObjectName.toLowerCase() === transactionType?.domainName?.toLowerCase());
|
|
158
|
+
if (transactionTypeObject) setTransactionTypeFields(transactionTypeObject.properties || []);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}, [
|
|
162
|
+
catalogsMap,
|
|
163
|
+
currentApiCatalogId,
|
|
164
|
+
transactionType
|
|
165
|
+
]);
|
|
166
|
+
return {
|
|
167
|
+
currentTransactionType: transactionType,
|
|
168
|
+
evaluateRule,
|
|
169
|
+
getTransactionTypeTransactionActions,
|
|
170
|
+
hasRevisions,
|
|
171
|
+
getHiddenFields,
|
|
172
|
+
getRequiredFields,
|
|
173
|
+
hasClosedStatus,
|
|
174
|
+
transactionTypeGridColumns,
|
|
175
|
+
getUiActionRenderPageId,
|
|
176
|
+
checkIfTransactionIsClosed,
|
|
177
|
+
getTransactionTypeLabel,
|
|
178
|
+
transactionTypeStatusColorsMap,
|
|
179
|
+
transactionTypeStatuses,
|
|
180
|
+
canCancel
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region src/udp/pages/UdpTransactionsPage/UdpTransactionGrid.jsx
|
|
186
|
+
const UDP_TRANSACTION_GRID_ID = "32c0fd0b-bb94-497a-b47a-6c7e8f746134";
|
|
187
|
+
const UdpTransactionGrid = (props) => {
|
|
188
|
+
const { transactionTypeId, domainName, transactionTypeLoading, handleGridApiCallback, openAddTransaction, openViewTransaction, openEditTransaction, openAttachmentTransaction, openWorkflowActionTransaction, openCreateRevision, searchMethodObject, domainColumnFormatters = {}, refreshGridData, gridApi, initialFilterModel, initialGridOptions = {}, catalogObjectList } = props;
|
|
189
|
+
const [dialogOpen, setDialogOpen] = useState(false);
|
|
190
|
+
const [selectedTransaction, setSelectedTransaction] = useState(null);
|
|
191
|
+
const { t } = useTranslation();
|
|
192
|
+
const { hasRevisions, transactionTypeGridColumns, getUiActionRenderPageId, transactionTypeStatusColorsMap, getTransactionTypeLabel, transactionTypeStatuses, canCancel } = useTransactionEngine(transactionTypeId);
|
|
193
|
+
const { handleErrorSnackbar, handleSuccessSnackbar } = useHandleAxiosSnackbar();
|
|
194
|
+
const [{ data, loading: cancelLoading, error: cancelError }, cancelTransaction] = useAxiosMutate(`${ConfigService$1.productV1ApiUrl}`, `udptransaction/${selectedTransaction?.transactionId}/cancelTransaction`, { method: "post" }, {});
|
|
195
|
+
const handleDialogClose = () => {
|
|
196
|
+
setSelectedTransaction(null);
|
|
197
|
+
setDialogOpen(false);
|
|
198
|
+
};
|
|
199
|
+
const handleConfirmActionDialog = useCallback(async () => {
|
|
200
|
+
try {
|
|
201
|
+
if ((await cancelTransaction())?.status === 200) {
|
|
202
|
+
refreshGridData();
|
|
203
|
+
handleSuccessSnackbar(t(`Transaction has been cancelled successfully`));
|
|
204
|
+
} else handleErrorSnackbar(new Error(t(`Error cancelling Transaction. Please try again later.`)));
|
|
205
|
+
} catch (error) {
|
|
206
|
+
handleErrorSnackbar(error);
|
|
207
|
+
} finally {
|
|
208
|
+
handleDialogClose();
|
|
209
|
+
}
|
|
210
|
+
}, [
|
|
211
|
+
cancelTransaction,
|
|
212
|
+
refreshGridData,
|
|
213
|
+
handleErrorSnackbar,
|
|
214
|
+
handleSuccessSnackbar,
|
|
215
|
+
t
|
|
216
|
+
]);
|
|
217
|
+
const removeTimeFromDate = (date) => {
|
|
218
|
+
const parsedDate = new Date(date);
|
|
219
|
+
if (parsedDate.getTime()) {
|
|
220
|
+
const year = parsedDate.getFullYear();
|
|
221
|
+
const month = parsedDate.getMonth() + 1;
|
|
222
|
+
const day = parsedDate.getDate().toString();
|
|
223
|
+
return `${year}-${month.toString()}-${day}`;
|
|
224
|
+
}
|
|
225
|
+
return parsedDate;
|
|
226
|
+
};
|
|
227
|
+
const transactionLabel = useMemo(() => {
|
|
228
|
+
return getTransactionTypeLabel(selectedTransaction) ?? selectedTransaction?.entityBusinessKey;
|
|
229
|
+
}, [getTransactionTypeLabel, selectedTransaction]);
|
|
230
|
+
const pdfViewPageId = useMemo(() => {
|
|
231
|
+
return getUiActionRenderPageId(TransactionUiActionTypeEnums.Render_View_Pdf_Page);
|
|
232
|
+
}, [getUiActionRenderPageId]);
|
|
233
|
+
const columnDefs = useMemo(() => {
|
|
234
|
+
const initialColumnDefs = [
|
|
235
|
+
{
|
|
236
|
+
headerName: t("Transaction Id"),
|
|
237
|
+
field: "transactionId",
|
|
238
|
+
hide: true
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
headerName: t("Created On"),
|
|
242
|
+
field: "createdOn",
|
|
243
|
+
cellDataType: "dateString",
|
|
244
|
+
valueFormatter: (params) => {
|
|
245
|
+
return removeTimeFromDate(params?.data.createdOn);
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
headerName: t("Current Status"),
|
|
250
|
+
field: "currentStatusId",
|
|
251
|
+
cellRenderer: "statusRenderer",
|
|
252
|
+
cellRendererParams: {
|
|
253
|
+
statusMappingConfig: transactionTypeStatusColorsMap,
|
|
254
|
+
getStatusValue: (params) => params?.data.udpTransactionUdpTransactionTypeStatus.name
|
|
255
|
+
},
|
|
256
|
+
filter: "agSetColumnFilter",
|
|
257
|
+
filterParams: {
|
|
258
|
+
values: (params) => {
|
|
259
|
+
if (transactionTypeStatuses) params.success(transactionTypeStatuses);
|
|
260
|
+
},
|
|
261
|
+
keyCreator: (params) => params.value.transactionTypeStatusId,
|
|
262
|
+
valueFormatter: (params) => params.value.name
|
|
263
|
+
},
|
|
264
|
+
valueFormatter: (params) => params?.data.udpTransactionUdpTransactionTypeStatus.name
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
headerName: t("Last Event Type"),
|
|
268
|
+
field: "lastEventTypeId",
|
|
269
|
+
valueFormatter: (params) => params?.data.udpTransactionUdpTransactionEventType.name
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
headerName: t("Attachments"),
|
|
273
|
+
field: "attachments",
|
|
274
|
+
pinned: "right",
|
|
275
|
+
maxWidth: 100,
|
|
276
|
+
onCellClicked: (event) => {
|
|
277
|
+
openAttachmentTransaction(event.data);
|
|
278
|
+
},
|
|
279
|
+
valueFormatter: (params) => {
|
|
280
|
+
return params?.data.udpTransactionUdpTransactionAttachment.length;
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
field: "actions",
|
|
285
|
+
cellRenderer: "actionsRenderer",
|
|
286
|
+
cellRendererParams: { actionList: [
|
|
287
|
+
{
|
|
288
|
+
id: 0,
|
|
289
|
+
title: t("Next Steps"),
|
|
290
|
+
iconName: "migrateAlt",
|
|
291
|
+
handleOnClick: (e, params) => {
|
|
292
|
+
openWorkflowActionTransaction(params?.data);
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
...pdfViewPageId ? [{
|
|
296
|
+
id: 1,
|
|
297
|
+
title: t("View"),
|
|
298
|
+
iconName: "view",
|
|
299
|
+
handleOnClick: (e, params) => {
|
|
300
|
+
openViewTransaction(params?.data);
|
|
301
|
+
},
|
|
302
|
+
disabled: !pdfViewPageId
|
|
303
|
+
}] : [],
|
|
304
|
+
{
|
|
305
|
+
id: 2,
|
|
306
|
+
title: t("Edit"),
|
|
307
|
+
iconName: "edit",
|
|
308
|
+
handleOnClick: (e, params) => {
|
|
309
|
+
openEditTransaction(params?.data);
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
id: 3,
|
|
314
|
+
title: t("Create Revision"),
|
|
315
|
+
iconName: "add",
|
|
316
|
+
handleOnClick: (e, params) => {
|
|
317
|
+
openCreateRevision(params?.data);
|
|
318
|
+
},
|
|
319
|
+
disabled: !hasRevisions
|
|
320
|
+
},
|
|
321
|
+
...canCancel ? [{
|
|
322
|
+
id: 4,
|
|
323
|
+
title: t("Cancel"),
|
|
324
|
+
iconName: "close16",
|
|
325
|
+
handleOnClick: (e, params) => {
|
|
326
|
+
setSelectedTransaction(params?.data);
|
|
327
|
+
setDialogOpen(true);
|
|
328
|
+
}
|
|
329
|
+
}] : []
|
|
330
|
+
] }
|
|
331
|
+
}
|
|
332
|
+
];
|
|
333
|
+
transactionTypeGridColumns?.forEach((gridColumn) => {
|
|
334
|
+
const propertyName = gridColumn?.propertyName || "";
|
|
335
|
+
let catalogObject = catalogObjectList?.find((catalogObject) => getSanitizedName(catalogObject.catalogObjectName) == domainName);
|
|
336
|
+
let valueFormatter = (params) => {
|
|
337
|
+
return params?.data ? params?.data?.entityBusinessObject[propertyName] : "";
|
|
338
|
+
};
|
|
339
|
+
if (domainColumnFormatters[propertyName]) valueFormatter = domainColumnFormatters[propertyName].formatter;
|
|
340
|
+
let agColumnFilter = "agTextColumnFilter";
|
|
341
|
+
let cellDataType = null;
|
|
342
|
+
if ((catalogObject?.properties?.find((objectProperty) => {
|
|
343
|
+
return objectProperty.name === propertyName;
|
|
344
|
+
}))?.type.toLowerCase() == "datetime") {
|
|
345
|
+
agColumnFilter = "agDateColumnFilter";
|
|
346
|
+
cellDataType = "dateString";
|
|
347
|
+
}
|
|
348
|
+
initialColumnDefs.push({
|
|
349
|
+
headerName: gridColumn?.displayName,
|
|
350
|
+
field: `${UdpSearchEnums.UdpBusinessDomainPrefix}.${domainName}.${propertyName}`,
|
|
351
|
+
valueFormatter,
|
|
352
|
+
filter: agColumnFilter,
|
|
353
|
+
cellDataType
|
|
354
|
+
});
|
|
355
|
+
});
|
|
356
|
+
Object.keys(domainColumnFormatters).forEach((columnKey) => {
|
|
357
|
+
if (!(transactionTypeGridColumns?.map((col) => col.propertyName))?.includes(columnKey)) {
|
|
358
|
+
let formatedHeaderName = columnKey.slice(0, 1).toUpperCase() + columnKey.slice(1);
|
|
359
|
+
initialColumnDefs.push({
|
|
360
|
+
headerName: formatedHeaderName,
|
|
361
|
+
field: `${UdpSearchEnums.UdpBusinessDomainPrefix}.${domainName}.${columnKey}`,
|
|
362
|
+
valueFormatter: domainColumnFormatters[columnKey].formatter
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
if (hasRevisions) initialColumnDefs.splice(3, 0, {
|
|
367
|
+
headerName: t("Revision No"),
|
|
368
|
+
field: "currentRevisionNo"
|
|
369
|
+
});
|
|
370
|
+
return initialColumnDefs;
|
|
371
|
+
}, [
|
|
372
|
+
domainName,
|
|
373
|
+
t,
|
|
374
|
+
openViewTransaction,
|
|
375
|
+
openEditTransaction,
|
|
376
|
+
openAttachmentTransaction,
|
|
377
|
+
openWorkflowActionTransaction,
|
|
378
|
+
domainColumnFormatters,
|
|
379
|
+
transactionTypeGridColumns,
|
|
380
|
+
openCreateRevision,
|
|
381
|
+
hasRevisions,
|
|
382
|
+
pdfViewPageId,
|
|
383
|
+
transactionTypeStatusColorsMap,
|
|
384
|
+
catalogObjectList,
|
|
385
|
+
transactionTypeStatuses,
|
|
386
|
+
canCancel
|
|
387
|
+
]);
|
|
388
|
+
const headerConfig = {
|
|
389
|
+
title: domainName,
|
|
390
|
+
primaryActionButton: {
|
|
391
|
+
label: domainName + " Entry",
|
|
392
|
+
iconName: "add",
|
|
393
|
+
onClick: () => {
|
|
394
|
+
openAddTransaction();
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
const gridFunctions = [
|
|
399
|
+
{ name: "openSavedViews" },
|
|
400
|
+
{ name: "agGridExport" },
|
|
401
|
+
{ name: "agGridHideShowColumns" },
|
|
402
|
+
{ name: "agGridSizeColumnsToFit" },
|
|
403
|
+
{ name: "agGridAutoSizeColumns" },
|
|
404
|
+
{ name: "agGridResetColumns" }
|
|
405
|
+
];
|
|
406
|
+
const gridOptions = useMemo(() => {
|
|
407
|
+
return {
|
|
408
|
+
pagination: true,
|
|
409
|
+
rowSelection: "none",
|
|
410
|
+
...initialGridOptions
|
|
411
|
+
};
|
|
412
|
+
}, [initialGridOptions]);
|
|
413
|
+
const searchMethodConfig = useMemo(() => {
|
|
414
|
+
let combinedSearchObject = {
|
|
415
|
+
eagerLoad: true,
|
|
416
|
+
filterElements: [{
|
|
417
|
+
searchField: "transactionTypeId",
|
|
418
|
+
searchOperator: "=",
|
|
419
|
+
searchValue: transactionTypeId
|
|
420
|
+
}, {
|
|
421
|
+
searchField: "isDeleted",
|
|
422
|
+
searchOperator: "=",
|
|
423
|
+
searchValue: false
|
|
424
|
+
}]
|
|
425
|
+
};
|
|
426
|
+
if (searchMethodObject) {
|
|
427
|
+
let combinedFilterElems = combinedSearchObject.filterElements.concat(searchMethodObject?.filterElements || []);
|
|
428
|
+
combinedSearchObject = {
|
|
429
|
+
...combinedSearchObject,
|
|
430
|
+
...searchMethodObject
|
|
431
|
+
};
|
|
432
|
+
combinedSearchObject = {
|
|
433
|
+
...combinedSearchObject,
|
|
434
|
+
filterElements: combinedFilterElems
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
return {
|
|
438
|
+
requestUrl: `${ConfigService$1.productV1ApiUrl}/UdpTransaction/search`,
|
|
439
|
+
customSearchObject: combinedSearchObject
|
|
440
|
+
};
|
|
441
|
+
}, [transactionTypeId, searchMethodObject]);
|
|
442
|
+
useEffect(() => {
|
|
443
|
+
if (gridApi && initialFilterModel && Object.keys(initialFilterModel).length) {
|
|
444
|
+
gridApi.setFilterModel(initialFilterModel);
|
|
445
|
+
gridApi.onFilterChanged();
|
|
446
|
+
}
|
|
447
|
+
}, [gridApi, initialFilterModel]);
|
|
448
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, transactionTypeLoading && /* @__PURE__ */ React.createElement(LinearProgress$1, null), /* @__PURE__ */ React.createElement(SearchMethodUdpGrid, {
|
|
449
|
+
gridHeaderConfig: headerConfig,
|
|
450
|
+
gridFunctions,
|
|
451
|
+
gridOptions,
|
|
452
|
+
columnDefs,
|
|
453
|
+
searchMethodConfig,
|
|
454
|
+
gridApiCallback: handleGridApiCallback,
|
|
455
|
+
gridId: UDP_TRANSACTION_GRID_ID,
|
|
456
|
+
entityName: domainName
|
|
457
|
+
}), /* @__PURE__ */ React.createElement(FluentDialog, {
|
|
458
|
+
title: t(`Cancel Transaction`),
|
|
459
|
+
message: `Are you sure you want to cancel the transaction for ${domainName} - ${transactionLabel || ""}?`,
|
|
460
|
+
labelOne: t("Confirm"),
|
|
461
|
+
actionOne: handleConfirmActionDialog,
|
|
462
|
+
labelTwo: t("Cancel"),
|
|
463
|
+
actionTwo: handleDialogClose,
|
|
464
|
+
open: dialogOpen,
|
|
465
|
+
handleClose: handleDialogClose,
|
|
466
|
+
loading: cancelLoading
|
|
467
|
+
}));
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
//#endregion
|
|
471
|
+
//#region src/udp/pages/UdpTransactionsPage/sidesheets/ViewTransaction.jsx
|
|
472
|
+
const ViewTransaction = (props) => {
|
|
473
|
+
const { transaction } = props;
|
|
474
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(FileViewer, {
|
|
475
|
+
data: {
|
|
476
|
+
filePath: "",
|
|
477
|
+
fileExtension: "pdf"
|
|
478
|
+
},
|
|
479
|
+
acceptedFileExtensions: "pdf"
|
|
480
|
+
}));
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
//#endregion
|
|
484
|
+
//#region src/udp/pages/UdpTransactionsPage/components/AttachmentTransactionAttachmentList.jsx
|
|
485
|
+
const AttachmentTransactionAttachmentList = (props) => {
|
|
486
|
+
const { attachments, setSelectedAttachment } = props;
|
|
487
|
+
const formattedAttachments = useMemo(() => {
|
|
488
|
+
return attachments.map((attachment) => ({
|
|
489
|
+
attachmentName: attachment.fileName,
|
|
490
|
+
extension: attachment.extension,
|
|
491
|
+
transactionAttachmentId: attachment.transactionAttachmentId
|
|
492
|
+
}));
|
|
493
|
+
}, [attachments]);
|
|
494
|
+
const getFileIcon = (item) => {
|
|
495
|
+
if (item.attachmentName.includes(".pdf")) return PDFIcon;
|
|
496
|
+
else if (item.attachmentName.includes(".docx")) return WordDocumentIcon;
|
|
497
|
+
else if (item.attachmentName.includes(".")) return FileImageIcon;
|
|
498
|
+
};
|
|
499
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(AmbientList, {
|
|
500
|
+
data: formattedAttachments,
|
|
501
|
+
useAvatar: false,
|
|
502
|
+
fieldConfig: {
|
|
503
|
+
primaryText: "attachmentName",
|
|
504
|
+
secondaryText: "description"
|
|
505
|
+
},
|
|
506
|
+
onItemClick: (item) => {
|
|
507
|
+
setSelectedAttachment(item);
|
|
508
|
+
},
|
|
509
|
+
getItemIcon: (item) => {
|
|
510
|
+
return getFileIcon(item);
|
|
511
|
+
},
|
|
512
|
+
listHeight: "calc(100vh - 105px)",
|
|
513
|
+
maxHeight: "calc(100vh - 105px)"
|
|
514
|
+
}));
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
//#endregion
|
|
518
|
+
//#region src/udp/pages/UdpTransactionsPage/sidesheets/AttachmentTransaction.jsx
|
|
519
|
+
const AttachmentTransaction = (props) => {
|
|
520
|
+
const { transaction, attachmentRef } = props;
|
|
521
|
+
const [selectedAttachment, setSelectedAttachment] = useState("");
|
|
522
|
+
const attachments = transaction?.udpTransactionUdpTransactionAttachment;
|
|
523
|
+
const { t } = useTranslation();
|
|
524
|
+
const [{ data: attachmentFileInfo }, refetchattachmentFileInfo] = useAxiosGet(`${ConfigService$1.productV1ApiUrl}`, `UdpTransactionAttachment/${selectedAttachment?.transactionAttachmentId}/udpDriveFile/download`, {}, true);
|
|
525
|
+
const [{ data: attachmentFile, loading: loadingFile, error: downloadError }, refetchAttachmentFile] = useAxiosGet(`${ConfigService$1.productV1ApiUrl}`, `UdpTransactionAttachment/${selectedAttachment?.transactionAttachmentId}/download`, { responseType: "blob" }, true);
|
|
526
|
+
const blobUrl = useMemo(() => {
|
|
527
|
+
if (!attachmentFile) return null;
|
|
528
|
+
const pdfBlob = new Blob([attachmentFile], { type: "application/pdf" });
|
|
529
|
+
return URL.createObjectURL(pdfBlob);
|
|
530
|
+
}, [attachmentFile]);
|
|
531
|
+
useEffect(() => {
|
|
532
|
+
if (selectedAttachment) {
|
|
533
|
+
refetchattachmentFileInfo();
|
|
534
|
+
refetchAttachmentFile();
|
|
535
|
+
}
|
|
536
|
+
}, [
|
|
537
|
+
selectedAttachment,
|
|
538
|
+
refetchattachmentFileInfo,
|
|
539
|
+
refetchAttachmentFile
|
|
540
|
+
]);
|
|
541
|
+
const getErrorMessage = () => {
|
|
542
|
+
if (!downloadError) return null;
|
|
543
|
+
const status = downloadError.response?.status;
|
|
544
|
+
if (status === 404) return t("The requested attachment could not be found.");
|
|
545
|
+
if (status >= 500) return t("A server error occured. Please try again later.");
|
|
546
|
+
return downloadError.message || t("An unexpected error occured.");
|
|
547
|
+
};
|
|
548
|
+
let fileDataObj = {
|
|
549
|
+
filePath: blobUrl,
|
|
550
|
+
fileExtension: attachmentFileInfo?.extension
|
|
551
|
+
};
|
|
552
|
+
const fixedHeight = "calc(100vh - 140px)";
|
|
553
|
+
const classStyles = makeStyles((theme) => ({
|
|
554
|
+
sidesheet: {
|
|
555
|
+
display: "flex",
|
|
556
|
+
flexDirection: "row",
|
|
557
|
+
flex: 1,
|
|
558
|
+
height: fixedHeight
|
|
559
|
+
},
|
|
560
|
+
attachmentListContainer: {
|
|
561
|
+
textAlign: "left",
|
|
562
|
+
width: "35%",
|
|
563
|
+
height: fixedHeight
|
|
564
|
+
},
|
|
565
|
+
attachmentListHeader: {
|
|
566
|
+
backgroundColor: "white",
|
|
567
|
+
justifyItems: "left",
|
|
568
|
+
paddingLeft: "5%"
|
|
569
|
+
},
|
|
570
|
+
attachmentListHeaderPrimaryText: {
|
|
571
|
+
fontSize: "var(--h6-font-size)",
|
|
572
|
+
fontWeight: "var(--body1-font-weight)",
|
|
573
|
+
color: "var(--text-main)"
|
|
574
|
+
},
|
|
575
|
+
attachmentListHeaderSecondaryText: {
|
|
576
|
+
fontSize: "var(--body2-font-size)",
|
|
577
|
+
color: "var(--text-secondary)",
|
|
578
|
+
paddingBottom: "2%"
|
|
579
|
+
},
|
|
580
|
+
attachemntFileInfoCol: {
|
|
581
|
+
width: "50%",
|
|
582
|
+
display: "flex",
|
|
583
|
+
flexDirection: "column",
|
|
584
|
+
flex: 1,
|
|
585
|
+
overflowY: "auto",
|
|
586
|
+
height: "calc(100vh - 50px)"
|
|
587
|
+
},
|
|
588
|
+
attachmentFileNameHeader: { backgroundColor: "white" },
|
|
589
|
+
attachmentFileName: {
|
|
590
|
+
color: "var(--text-main)",
|
|
591
|
+
fontSize: "var(--h6-font-size)",
|
|
592
|
+
fontWeight: "var(--body1-font-weight)",
|
|
593
|
+
marginTop: "1%",
|
|
594
|
+
marginBottom: "1%",
|
|
595
|
+
justifySelf: "center"
|
|
596
|
+
},
|
|
597
|
+
fileViewer: {
|
|
598
|
+
marginLeft: "var(--spacing-02)",
|
|
599
|
+
marginRight: "var(--spacing-02)"
|
|
600
|
+
},
|
|
601
|
+
divider: { "& MuiDivider-root": { backgroundColor: "var(--gray-02)" } }
|
|
602
|
+
}))();
|
|
603
|
+
useImperativeHandle(attachmentRef, () => ({ downloadSelectedFile: async () => {
|
|
604
|
+
if (!selectedAttachment) return;
|
|
605
|
+
try {
|
|
606
|
+
const url = (await apiMutate(ConfigService$1.productV1ApiUrl, `UdpTransactionAttachment/${selectedAttachment.transactionAttachmentId}/udpDriveFile/download`, {})).data.link;
|
|
607
|
+
const link = document.createElement("a");
|
|
608
|
+
link.href = url;
|
|
609
|
+
link.download = selectedAttachment.fileName ?? selectedAttachment.name;
|
|
610
|
+
document.body.appendChild(link);
|
|
611
|
+
link.click();
|
|
612
|
+
document.body.removeChild(link);
|
|
613
|
+
} catch (e) {
|
|
614
|
+
console.error("Download failed", e);
|
|
615
|
+
}
|
|
616
|
+
} }));
|
|
617
|
+
const handleOpenInNewTab = useCallback((e) => {
|
|
618
|
+
e?.preventDefault();
|
|
619
|
+
if (blobUrl) window.open(blobUrl, "_blank");
|
|
620
|
+
}, [blobUrl]);
|
|
621
|
+
const refetchAttachment = () => {
|
|
622
|
+
refetchattachmentFileInfo();
|
|
623
|
+
refetchAttachmentFile();
|
|
624
|
+
};
|
|
625
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: classStyles.sidesheet }, /* @__PURE__ */ React.createElement("div", { className: classStyles.attachmentListContainer }, /* @__PURE__ */ React.createElement("div", { className: classStyles.attachmentListHeader }, /* @__PURE__ */ React.createElement("div", { className: classStyles.attachmentListHeaderPrimaryText }, "Attachments"), /* @__PURE__ */ React.createElement("div", { className: classStyles.attachmentListHeaderSecondaryText }, attachments.length + " file(s) attached")), /* @__PURE__ */ React.createElement("div", { className: classStyles.divider }, /* @__PURE__ */ React.createElement(Divider$1, null)), /* @__PURE__ */ React.createElement(AttachmentTransactionAttachmentList, {
|
|
626
|
+
transaction,
|
|
627
|
+
attachments,
|
|
628
|
+
setSelectedAttachment
|
|
629
|
+
})), /* @__PURE__ */ React.createElement("div", { className: classStyles.attachemntFileInfoCol }, /* @__PURE__ */ React.createElement("div", { className: classStyles.attachmentFileNameHeader }, selectedAttachment && /* @__PURE__ */ React.createElement("p", { className: classStyles.attachmentFileName }, selectedAttachment.attachmentName), /* @__PURE__ */ React.createElement("div", { className: classStyles.divider }, /* @__PURE__ */ React.createElement(Divider$1, null))), downloadError && /* @__PURE__ */ React.createElement(AmbientAlert, {
|
|
630
|
+
showAlert: !!downloadError,
|
|
631
|
+
alertSeverity: "error",
|
|
632
|
+
alertTitle: t("Failed to load preview"),
|
|
633
|
+
alertMessage: getErrorMessage(),
|
|
634
|
+
alertAction: true,
|
|
635
|
+
alertActionButton: t("Retry"),
|
|
636
|
+
alertHandleAction: () => refetchAttachment()
|
|
637
|
+
}), loadingFile && !downloadError ? /* @__PURE__ */ React.createElement(LinearProgress$1, null) : selectedAttachment && attachmentFileInfo && blobUrl ? /* @__PURE__ */ React.createElement("div", { className: classStyles.fileViewer }, /* @__PURE__ */ React.createElement(FileViewer, {
|
|
638
|
+
data: attachmentFileInfo?.extension == "pdf" ? fileDataObj : [fileDataObj],
|
|
639
|
+
onClickDownload: handleOpenInNewTab
|
|
640
|
+
})) : !selectedAttachment && /* @__PURE__ */ React.createElement(EmptyStateDisplay, {
|
|
641
|
+
icon: ViewIcon,
|
|
642
|
+
primaryText: "Select an attachment to preview",
|
|
643
|
+
secondaryText: "Choose a file from the attachments list to view its contents"
|
|
644
|
+
}))));
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
//#endregion
|
|
648
|
+
//#region src/udp/pages/UdpTransactionsPage/components/UdpTransactionCustomPage.jsx
|
|
649
|
+
const UdpTransactionCustomPage = (props) => {
|
|
650
|
+
const { pageId, transactionTypeId, transactionUiActionType, formRef, refetchTransaction, transaction, transactionTypeTransactionActionId, setHasUnsavedChanges, onSubmitSuccess, refreshGridData, additionalPageParms = {} } = props;
|
|
651
|
+
const [pageOnSubmitSuccess, setPageOnSubmitSuccess] = useState(null);
|
|
652
|
+
const { getUiActionRenderPageId, getHiddenFields, getRequiredFields } = useTransactionEngine(transactionTypeId);
|
|
653
|
+
const { handleErrorSnackbar, handleSuccessSnackbar } = useHandleAxiosSnackbar();
|
|
654
|
+
const { t } = useTranslation();
|
|
655
|
+
const executeCreateTransactionAction = useCallback(async (data) => apiMutate(ConfigService.productV1ApiUrl, `udpTransaction/transactionType/${transactionTypeId}/create`, { method: "post" }, data), [transactionTypeId]);
|
|
656
|
+
const executeSaveChanges = useCallback(async (data) => apiMutate(ConfigService.productV1ApiUrl, `udpTransaction/${transaction?.transactionId}/saveChanges`, { method: "put" }, data), [transaction?.transactionId]);
|
|
657
|
+
const executeCreateRevision = useCallback(async (data) => apiMutate(ConfigService.productV1ApiUrl, `udpTransaction/${transaction?.transactionId}/createRevision`, { method: "post" }, data), [transaction?.transactionId]);
|
|
658
|
+
const executeSubmitCustomAction = useCallback(async (data) => apiMutate(ConfigService.productV1ApiUrl, `udptransactiontypeTransactionAction/${transactionTypeTransactionActionId}/transaction/${transaction.transactionId}/submit`, { method: "post" }, data), [transactionTypeTransactionActionId, transaction?.transactionId]);
|
|
659
|
+
const onSubmit = useCallback(async (values) => {
|
|
660
|
+
try {
|
|
661
|
+
const request = { data: values };
|
|
662
|
+
let response = null;
|
|
663
|
+
let message = "";
|
|
664
|
+
let errorMessagePart = "";
|
|
665
|
+
if (transactionUiActionType === TransactionUiActionTypeEnums.Render_Create_Transaction_Page) {
|
|
666
|
+
response = await executeCreateTransactionAction(request);
|
|
667
|
+
message = "Transaction has been created successfully";
|
|
668
|
+
errorMessagePart = "creating";
|
|
669
|
+
} else if (transactionUiActionType === TransactionUiActionTypeEnums.Render_Transaction_Details_Page) {
|
|
670
|
+
response = await executeSaveChanges(request);
|
|
671
|
+
message = "Transaction has been saved successfully";
|
|
672
|
+
errorMessagePart = "saving";
|
|
673
|
+
} else if (transactionUiActionType === TransactionUiActionTypeEnums.Render_Create_Revision_Page) {
|
|
674
|
+
response = await executeCreateRevision(request);
|
|
675
|
+
message = "Revision has been created successfully";
|
|
676
|
+
errorMessagePart = "creating revision for";
|
|
677
|
+
} else if (!!transactionTypeTransactionActionId) {
|
|
678
|
+
response = await executeSubmitCustomAction(request);
|
|
679
|
+
message = "Action has been submitted successfully";
|
|
680
|
+
errorMessagePart = "submitting action for";
|
|
681
|
+
}
|
|
682
|
+
if (response?.status === 200) {
|
|
683
|
+
handleSuccessSnackbar(t(`${message} `));
|
|
684
|
+
onSubmitSuccess?.(response);
|
|
685
|
+
pageOnSubmitSuccess?.(response.data);
|
|
686
|
+
} else handleErrorSnackbar(new Error(t(`Error ${errorMessagePart} Transaction. Please try again later.`)));
|
|
687
|
+
} catch (error) {
|
|
688
|
+
handleErrorSnackbar(error);
|
|
689
|
+
} finally {
|
|
690
|
+
if (setHasUnsavedChanges) {
|
|
691
|
+
formRef.current?.form?.restart(values);
|
|
692
|
+
setHasUnsavedChanges(false);
|
|
693
|
+
}
|
|
694
|
+
if (refetchTransaction) refetchTransaction();
|
|
695
|
+
}
|
|
696
|
+
}, [
|
|
697
|
+
executeCreateTransactionAction,
|
|
698
|
+
executeSaveChanges,
|
|
699
|
+
executeCreateRevision,
|
|
700
|
+
handleErrorSnackbar,
|
|
701
|
+
handleSuccessSnackbar,
|
|
702
|
+
transactionUiActionType,
|
|
703
|
+
executeSubmitCustomAction,
|
|
704
|
+
t,
|
|
705
|
+
transactionTypeTransactionActionId,
|
|
706
|
+
setHasUnsavedChanges,
|
|
707
|
+
formRef,
|
|
708
|
+
onSubmitSuccess,
|
|
709
|
+
refetchTransaction,
|
|
710
|
+
pageOnSubmitSuccess
|
|
711
|
+
]);
|
|
712
|
+
const isFieldRequired = useCallback((fieldName) => {
|
|
713
|
+
return getRequiredFields(transaction)?.includes(fieldName);
|
|
714
|
+
}, [getRequiredFields, transaction]);
|
|
715
|
+
const isFieldHidden = useCallback((fieldName) => {
|
|
716
|
+
return getHiddenFields(transaction)?.includes(fieldName);
|
|
717
|
+
}, [getHiddenFields, transaction]);
|
|
718
|
+
const transactionPageId = useMemo(() => {
|
|
719
|
+
if (pageId) return pageId;
|
|
720
|
+
return getUiActionRenderPageId(transactionUiActionType);
|
|
721
|
+
}, [
|
|
722
|
+
getUiActionRenderPageId,
|
|
723
|
+
transactionUiActionType,
|
|
724
|
+
pageId
|
|
725
|
+
]);
|
|
726
|
+
if (!transactionPageId) return null;
|
|
727
|
+
return /* @__PURE__ */ React.createElement(Form, {
|
|
728
|
+
onSubmit,
|
|
729
|
+
ref: formRef
|
|
730
|
+
}, /* @__PURE__ */ React.createElement(FormSpy, { subscription: { dirty: true } }, ({ dirty }) => {
|
|
731
|
+
if (setHasUnsavedChanges) setHasUnsavedChanges(dirty);
|
|
732
|
+
}), /* @__PURE__ */ React.createElement(PageContainer, {
|
|
733
|
+
pageId: transactionPageId,
|
|
734
|
+
updateLocationState: false,
|
|
735
|
+
widgetParams: {
|
|
736
|
+
transaction,
|
|
737
|
+
isFieldRequired,
|
|
738
|
+
isFieldHidden,
|
|
739
|
+
refreshTransactionGrid: refreshGridData,
|
|
740
|
+
setOnSubmitSuccess: setPageOnSubmitSuccess,
|
|
741
|
+
...additionalPageParms
|
|
742
|
+
}
|
|
743
|
+
}));
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
//#endregion
|
|
747
|
+
//#region src/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.jsx
|
|
748
|
+
const TransactionActionButton = ({ icon, primaryText, secondaryText, onClick, action }) => {
|
|
749
|
+
const actionCardIcon = useMemo(() => getIconFromName(icon), [icon]);
|
|
750
|
+
return /* @__PURE__ */ React.createElement(UdpActionCard, {
|
|
751
|
+
icon: actionCardIcon ? actionCardIcon : DocumentIcon,
|
|
752
|
+
primaryText,
|
|
753
|
+
secondaryText,
|
|
754
|
+
onClick: () => {
|
|
755
|
+
onClick(action);
|
|
756
|
+
}
|
|
757
|
+
});
|
|
758
|
+
};
|
|
759
|
+
const WorkflowActions = ({ transaction, closeSideSheet, refreshGridData }) => {
|
|
760
|
+
const [dialogOpen, setDialogOpen] = useState(true);
|
|
761
|
+
const [dialogUserStrings, setDialogUserStrings] = useState(null);
|
|
762
|
+
const [selectedAction, setSelectedAction] = useState(null);
|
|
763
|
+
const [sideSheetOpen, setSideSheetOpen] = useState(false);
|
|
764
|
+
const [loading, setLoading] = useState(false);
|
|
765
|
+
const [sidesheetPrimaryButtonDisabled, setSidesheetPrimaryButtonDisabled] = useState(false);
|
|
766
|
+
const formRef = useRef(null);
|
|
767
|
+
const { getTransactionTypeTransactionActions } = useTransactionEngine(transaction.transactionTypeId);
|
|
768
|
+
const handleOnCloseSideSheet = useCallback(() => {
|
|
769
|
+
setSideSheetOpen(false);
|
|
770
|
+
}, []);
|
|
771
|
+
const handleSubmitWorkflowAction = useCallback(async () => {
|
|
772
|
+
setLoading(true);
|
|
773
|
+
await formRef.current?.form?.submit();
|
|
774
|
+
setLoading(false);
|
|
775
|
+
}, [formRef]);
|
|
776
|
+
const handleSubmitSuccessfulWorkflowAction = useCallback((response) => {
|
|
777
|
+
handleOnCloseSideSheet();
|
|
778
|
+
closeSideSheet();
|
|
779
|
+
refreshGridData();
|
|
780
|
+
}, [
|
|
781
|
+
handleOnCloseSideSheet,
|
|
782
|
+
refreshGridData,
|
|
783
|
+
closeSideSheet
|
|
784
|
+
]);
|
|
785
|
+
const transactionTypeTransactionActions = useMemo(() => {
|
|
786
|
+
return getTransactionTypeTransactionActions(transaction, TransactionEventTypeEnums.Sidesheet) || [];
|
|
787
|
+
}, [getTransactionTypeTransactionActions, transaction]);
|
|
788
|
+
const [{ data: transactionData }, postTransactionData] = useAxiosMutate(`${ConfigService$1.productV1ApiUrl}`, "udptransactiontypeTransactionAction", { method: "post" }, {});
|
|
789
|
+
const i18n = useTranslation().t;
|
|
790
|
+
const { enqueueSnackbar } = useSnackbar();
|
|
791
|
+
const handleDialogOpen = useCallback((title, message) => {
|
|
792
|
+
setDialogUserStrings({
|
|
793
|
+
title,
|
|
794
|
+
message
|
|
795
|
+
});
|
|
796
|
+
setDialogOpen(true);
|
|
797
|
+
}, []);
|
|
798
|
+
const handleDialogClose = useCallback(() => {
|
|
799
|
+
setDialogOpen(false);
|
|
800
|
+
}, []);
|
|
801
|
+
const handleConfirmActionDialog = useCallback(async () => {
|
|
802
|
+
setDialogOpen(true);
|
|
803
|
+
handleDialogClose();
|
|
804
|
+
setLoading(true);
|
|
805
|
+
try {
|
|
806
|
+
await postTransactionData({
|
|
807
|
+
url: `${ConfigService$1.productV1ApiUrl}/udptransactiontypeTransactionAction/${selectedAction.transactionTypeTransactionActionId}/transaction/${transaction.transactionId}/submit`,
|
|
808
|
+
data: {}
|
|
809
|
+
});
|
|
810
|
+
enqueueSnackbar(i18n("Successfully submitted!"), {
|
|
811
|
+
variant: "success",
|
|
812
|
+
anchorOrigin: {
|
|
813
|
+
vertical: "top",
|
|
814
|
+
horizontal: "center"
|
|
815
|
+
}
|
|
816
|
+
});
|
|
817
|
+
closeSideSheet();
|
|
818
|
+
refreshGridData();
|
|
819
|
+
} catch (event) {
|
|
820
|
+
enqueueSnackbar(i18n(event.message), {
|
|
821
|
+
variant: "error",
|
|
822
|
+
anchorOrigin: {
|
|
823
|
+
vertical: "top",
|
|
824
|
+
horizontal: "center"
|
|
825
|
+
}
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
setLoading(false);
|
|
829
|
+
}, [
|
|
830
|
+
postTransactionData,
|
|
831
|
+
handleDialogClose,
|
|
832
|
+
transaction,
|
|
833
|
+
selectedAction,
|
|
834
|
+
enqueueSnackbar,
|
|
835
|
+
i18n,
|
|
836
|
+
closeSideSheet,
|
|
837
|
+
refreshGridData
|
|
838
|
+
]);
|
|
839
|
+
const handleOnActionClick = useCallback((action) => {
|
|
840
|
+
const pageId = action.parameters.pageId;
|
|
841
|
+
setSelectedAction(action);
|
|
842
|
+
if (pageId) setSideSheetOpen(true);
|
|
843
|
+
else handleDialogOpen(action.name, action.description);
|
|
844
|
+
}, [handleDialogOpen]);
|
|
845
|
+
const TransactionActionButtons = useMemo(() => {
|
|
846
|
+
if (!transactionTypeTransactionActions.length) return null;
|
|
847
|
+
return transactionTypeTransactionActions?.map((action) => /* @__PURE__ */ React.createElement(TransactionActionButton, {
|
|
848
|
+
key: action.transactionTypeTransactionActionId,
|
|
849
|
+
primaryText: action.name,
|
|
850
|
+
secondaryText: action.description,
|
|
851
|
+
icon: action.icon,
|
|
852
|
+
onClick: handleOnActionClick,
|
|
853
|
+
action
|
|
854
|
+
}));
|
|
855
|
+
}, [transactionTypeTransactionActions, handleOnActionClick]);
|
|
856
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "transaction-action-buttons-container" }, TransactionActionButtons), dialogUserStrings && /* @__PURE__ */ React.createElement(FluentDialog, {
|
|
857
|
+
title: i18n(`Are you sure you want to proceed with \"${dialogUserStrings.title}\"?`),
|
|
858
|
+
message: dialogUserStrings.message,
|
|
859
|
+
labelOne: i18n("Confirm"),
|
|
860
|
+
actionOne: handleConfirmActionDialog,
|
|
861
|
+
labelTwo: i18n("Cancel"),
|
|
862
|
+
actionTwo: handleDialogClose,
|
|
863
|
+
open: dialogOpen,
|
|
864
|
+
handleClose: handleDialogClose
|
|
865
|
+
}), /* @__PURE__ */ React.createElement(SideSheet, {
|
|
866
|
+
open: sideSheetOpen,
|
|
867
|
+
title: selectedAction?.name,
|
|
868
|
+
onClose: handleOnCloseSideSheet,
|
|
869
|
+
width: 600,
|
|
870
|
+
buttonLabel: i18n("Submit"),
|
|
871
|
+
onSubmit: handleSubmitWorkflowAction,
|
|
872
|
+
progress: loading,
|
|
873
|
+
variant: "indeterminate",
|
|
874
|
+
color: "primary",
|
|
875
|
+
buttonOneDisabled: loading || sidesheetPrimaryButtonDisabled
|
|
876
|
+
}, selectedAction && selectedAction.parameters?.pageId && /* @__PURE__ */ React.createElement(UdpTransactionCustomPage, {
|
|
877
|
+
pageId: selectedAction.parameters.pageId,
|
|
878
|
+
transaction,
|
|
879
|
+
formRef,
|
|
880
|
+
transactionTypeTransactionActionId: selectedAction.transactionTypeTransactionActionId,
|
|
881
|
+
onSubmitSuccess: handleSubmitSuccessfulWorkflowAction,
|
|
882
|
+
refreshGridData,
|
|
883
|
+
additionalPageParms: { sidesheetParams: { setSidesheetPrimaryButtonDisabled } }
|
|
884
|
+
})));
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
//#endregion
|
|
888
|
+
//#region src/uploader/utils/allowedFileProperties.js
|
|
889
|
+
const MAX_FILE_SIZE_MB = 30;
|
|
890
|
+
const allowedExtensions = [
|
|
891
|
+
"pdf",
|
|
892
|
+
"xlsx",
|
|
893
|
+
"xls",
|
|
894
|
+
"xlsm",
|
|
895
|
+
"csv",
|
|
896
|
+
"jpg",
|
|
897
|
+
"jpeg",
|
|
898
|
+
"png",
|
|
899
|
+
"tif",
|
|
900
|
+
"tiff",
|
|
901
|
+
"doc",
|
|
902
|
+
"docx",
|
|
903
|
+
"docm",
|
|
904
|
+
"ppt",
|
|
905
|
+
"pptm",
|
|
906
|
+
"rtf"
|
|
907
|
+
];
|
|
908
|
+
|
|
909
|
+
//#endregion
|
|
910
|
+
//#region src/udp/pages/UdpTransactionsPage/sidesheets/EditTransactionHeaderItem.jsx
|
|
911
|
+
const EditTransactionHeaderItem = (props) => {
|
|
912
|
+
const { label, value, statusChip } = props;
|
|
913
|
+
return /* @__PURE__ */ React.createElement("div", { className: "transaction-sidesheet-header-item" }, /* @__PURE__ */ React.createElement(Typography$1, { variant: "caption" }, label), statusChip ? /* @__PURE__ */ React.createElement("div", { className: "transaction-sidesheet-header-item-status" }, /* @__PURE__ */ React.createElement(StatusChip, statusChip)) : /* @__PURE__ */ React.createElement(Typography$1, { variant: "body1" }, value));
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
//#endregion
|
|
917
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionTimelineItem.jsx
|
|
918
|
+
const TransactionTimelineItem = (props) => {
|
|
919
|
+
const { index, item, title, description, date, status, onClick } = props;
|
|
920
|
+
return /* @__PURE__ */ React.createElement(UdpTimelineItem, {
|
|
921
|
+
dotShape: "default",
|
|
922
|
+
onItemClick: () => {
|
|
923
|
+
onClick(item, index);
|
|
924
|
+
},
|
|
925
|
+
clickable: true,
|
|
926
|
+
statusLabel: status
|
|
927
|
+
}, /* @__PURE__ */ React.createElement(UdpTimelineSeparator, { slot: "separator" }, /* @__PURE__ */ React.createElement(UdpTimelineConnector, null), /* @__PURE__ */ React.createElement(UdpTimelineDot, {
|
|
928
|
+
color: "primary",
|
|
929
|
+
shape: "default",
|
|
930
|
+
size: "medium"
|
|
931
|
+
})), /* @__PURE__ */ React.createElement("span", { slot: "title" }, title), /* @__PURE__ */ React.createElement("span", { slot: "content" }, date), /* @__PURE__ */ React.createElement("span", { slot: "caption" }, description));
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
//#endregion
|
|
935
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionChangeLog.jsx
|
|
936
|
+
const VIEW_MODES = {
|
|
937
|
+
SUMMARY: "summary",
|
|
938
|
+
RAW: "raw"
|
|
939
|
+
};
|
|
940
|
+
const KEYS_TO_IGNORE = [
|
|
941
|
+
"businessObjectKey",
|
|
942
|
+
"id",
|
|
943
|
+
"rfirfiProjectContact",
|
|
944
|
+
"udpTags"
|
|
945
|
+
];
|
|
946
|
+
const LABELS = {
|
|
947
|
+
FIELD: "Field",
|
|
948
|
+
PREVIOUS: "Previous",
|
|
949
|
+
CURRENT: "Current",
|
|
950
|
+
WAS: "Was",
|
|
951
|
+
NOW: "Now",
|
|
952
|
+
EMPTY: "Empty",
|
|
953
|
+
CHANGE_LOG: "Change log",
|
|
954
|
+
SUMMARY: "Summary",
|
|
955
|
+
RAW_JSON: "Raw JSON"
|
|
956
|
+
};
|
|
957
|
+
const SummaryView = ({ changes, t }) => {
|
|
958
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "tcl__grid-primary-headers" }, /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, t(LABELS.FIELD)), /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, t(LABELS.PREVIOUS)), /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, t(LABELS.CURRENT))), changes.map((item) => /* @__PURE__ */ React.createElement("div", {
|
|
959
|
+
key: item.field,
|
|
960
|
+
className: "tcl__row"
|
|
961
|
+
}, /* @__PURE__ */ React.createElement("div", { className: "tcl__grid-field" }, /* @__PURE__ */ React.createElement("span", { className: "tcl__grid-mobile-label" }, /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, t(LABELS.FIELD), ":")), /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, item.field)), /* @__PURE__ */ React.createElement("div", { className: "tcl__grid-old-value" }, /* @__PURE__ */ React.createElement("span", { className: "tcl__grid-mobile-label" }, /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, t(LABELS.WAS), ":")), /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, item.previousValue ? JSON.stringify(item.previousValue) : `(${t(LABELS.EMPTY)})`)), /* @__PURE__ */ React.createElement("div", { className: "tcl__grid-new-value" }, /* @__PURE__ */ React.createElement("span", { className: "tcl__grid-mobile-label" }, /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, t(LABELS.NOW), ":")), /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, item.currentValue ? JSON.stringify(item.currentValue) : `(${t(LABELS.EMPTY)})`)))));
|
|
962
|
+
};
|
|
963
|
+
const RawView = ({ oldData, newData }) => {
|
|
964
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "tcl__raw-view" }, /* @__PURE__ */ React.createElement(ReactJson, {
|
|
965
|
+
name: LABELS.PREVIOUS,
|
|
966
|
+
src: oldData,
|
|
967
|
+
displayDataTypes: false
|
|
968
|
+
})), /* @__PURE__ */ React.createElement(Divider$1, null), /* @__PURE__ */ React.createElement("div", { className: "tcl__raw-view" }, /* @__PURE__ */ React.createElement(ReactJson, {
|
|
969
|
+
name: LABELS.CURRENT,
|
|
970
|
+
src: newData,
|
|
971
|
+
displayDataTypes: false
|
|
972
|
+
})));
|
|
973
|
+
};
|
|
974
|
+
const TransactionChangeLog = ({ oldData, newData }) => {
|
|
975
|
+
const [viewMode, setViewMode] = useState(VIEW_MODES.SUMMARY);
|
|
976
|
+
const { t } = useTranslation();
|
|
977
|
+
const handleTabChange = (event, newId) => {
|
|
978
|
+
setViewMode(newId);
|
|
979
|
+
};
|
|
980
|
+
const tabList = useMemo(() => [{
|
|
981
|
+
id: VIEW_MODES.SUMMARY,
|
|
982
|
+
label: t(LABELS.SUMMARY)
|
|
983
|
+
}, {
|
|
984
|
+
id: VIEW_MODES.RAW,
|
|
985
|
+
label: t(LABELS.RAW_JSON)
|
|
986
|
+
}], [t]);
|
|
987
|
+
const changes = useMemo(() => {
|
|
988
|
+
const keys = new Set([...Object.keys(oldData), ...Object.keys(newData)]);
|
|
989
|
+
const differences = [];
|
|
990
|
+
KEYS_TO_IGNORE.forEach((key) => keys.delete(key));
|
|
991
|
+
keys.forEach((key) => {
|
|
992
|
+
const oldValue = oldData[key];
|
|
993
|
+
const newValue = newData[key];
|
|
994
|
+
if (oldValue !== newValue) differences.push({
|
|
995
|
+
field: key,
|
|
996
|
+
previousValue: oldValue,
|
|
997
|
+
currentValue: newValue
|
|
998
|
+
});
|
|
999
|
+
});
|
|
1000
|
+
return differences;
|
|
1001
|
+
}, [oldData, newData]);
|
|
1002
|
+
return /* @__PURE__ */ React.createElement("div", { className: "tcl" }, /* @__PURE__ */ React.createElement("div", { className: "tcl__header" }, /* @__PURE__ */ React.createElement("div", { className: "tcl__title" }, /* @__PURE__ */ React.createElement(Typography$1, { variant: "inherit" }, t(LABELS.CHANGE_LOG))), /* @__PURE__ */ React.createElement(UdpTabs, {
|
|
1003
|
+
value: viewMode,
|
|
1004
|
+
onChange: handleTabChange,
|
|
1005
|
+
tabList
|
|
1006
|
+
})), viewMode === VIEW_MODES.SUMMARY && /* @__PURE__ */ React.createElement(SummaryView, {
|
|
1007
|
+
changes,
|
|
1008
|
+
t
|
|
1009
|
+
}), viewMode === VIEW_MODES.RAW && /* @__PURE__ */ React.createElement(RawView, {
|
|
1010
|
+
oldData,
|
|
1011
|
+
newData
|
|
1012
|
+
}));
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
//#endregion
|
|
1016
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionHistory/TransactionTimeline.jsx
|
|
1017
|
+
const TransactionTimeline = forwardRef((props, ref) => {
|
|
1018
|
+
const { transactionId } = props;
|
|
1019
|
+
const { t } = useTranslation();
|
|
1020
|
+
const [udpDomainObjects, setUdpDomainObjects] = useState(null);
|
|
1021
|
+
const [sideSheetOpen, setSideSheetOpen] = useState(false);
|
|
1022
|
+
const searchObj = useMemo(() => {
|
|
1023
|
+
return {
|
|
1024
|
+
eagerLoad: true,
|
|
1025
|
+
pageNumber: 0,
|
|
1026
|
+
pageSize: 100,
|
|
1027
|
+
filterElements: [{
|
|
1028
|
+
searchField: "transactionId",
|
|
1029
|
+
searchValue: transactionId,
|
|
1030
|
+
searchOperator: "="
|
|
1031
|
+
}],
|
|
1032
|
+
orderElements: [{
|
|
1033
|
+
sortColumn: "createdOn",
|
|
1034
|
+
sortDirection: "desc"
|
|
1035
|
+
}],
|
|
1036
|
+
getAll: true
|
|
1037
|
+
};
|
|
1038
|
+
}, [transactionId]);
|
|
1039
|
+
const [{ data: transactionHistory, loading: isLoading }, fetchTransactionHistory] = useAxiosMutate(ConfigService$1.productV1ApiUrl, `UdpTransactionHistory/SearchTimeline`, {
|
|
1040
|
+
method: "post",
|
|
1041
|
+
data: searchObj
|
|
1042
|
+
});
|
|
1043
|
+
const handleOnClick = useCallback(async (transactionHistoryRecord, index) => {
|
|
1044
|
+
if (transactionHistory.pageList.length - 1 === index) return;
|
|
1045
|
+
setUdpDomainObjects((await apiMutate(ConfigService$1.productV1ApiUrl, `UdpTransactionRevision/GetDomainComparison/?entityBusinessKey=${transactionHistoryRecord.entityBusinessKey}`, { method: "get" })).data);
|
|
1046
|
+
setSideSheetOpen(true);
|
|
1047
|
+
}, [transactionHistory]);
|
|
1048
|
+
const handleOnSideSheetClose = useCallback(() => {
|
|
1049
|
+
setSideSheetOpen(false);
|
|
1050
|
+
}, []);
|
|
1051
|
+
useImperativeHandle(ref, () => ({ refresh: () => {
|
|
1052
|
+
fetchTransactionHistory();
|
|
1053
|
+
} }));
|
|
1054
|
+
useEffect(() => {
|
|
1055
|
+
fetchTransactionHistory();
|
|
1056
|
+
}, [fetchTransactionHistory]);
|
|
1057
|
+
return /* @__PURE__ */ React.createElement("div", null, isLoading ? /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(LinearProgress, null)) : transactionHistory?.pageList?.length > 0 ? /* @__PURE__ */ React.createElement(AmbientCard, null, /* @__PURE__ */ React.createElement(UdpTimeline, null, transactionHistory?.pageList?.map((item, index) => /* @__PURE__ */ React.createElement(TransactionTimelineItem, {
|
|
1058
|
+
key: index,
|
|
1059
|
+
index,
|
|
1060
|
+
item,
|
|
1061
|
+
title: item?.udpTransactionHistoryUdpTransactionTypeTransactionAction?.name ?? item?.udpTransactionHistoryUdpTransactionEventType?.name,
|
|
1062
|
+
description: item?.changedByName ? `By ${item?.changedByName}` : null,
|
|
1063
|
+
date: item?.createdOn ? formatDate(item?.createdOn, "dd/mm/yyyy") : null,
|
|
1064
|
+
status: item?.udpTransactionHistoryUdpTransactionTypeStatus?.name,
|
|
1065
|
+
onClick: handleOnClick
|
|
1066
|
+
})))) : /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(EmptyStateDisplay, { primaryText: t("No History") })), udpDomainObjects && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(SideSheet, {
|
|
1067
|
+
title: t("Domain Comparison"),
|
|
1068
|
+
width: 700,
|
|
1069
|
+
open: sideSheetOpen,
|
|
1070
|
+
onClose: handleOnSideSheetClose,
|
|
1071
|
+
PaperProps: { style: { maxWidth: "100vw" } }
|
|
1072
|
+
}, /* @__PURE__ */ React.createElement(TransactionChangeLog, {
|
|
1073
|
+
oldData: udpDomainObjects.previousDomain,
|
|
1074
|
+
newData: udpDomainObjects.currentDomain
|
|
1075
|
+
}))));
|
|
1076
|
+
});
|
|
1077
|
+
TransactionTimeline.displayName = "TransactionTimeline";
|
|
1078
|
+
|
|
1079
|
+
//#endregion
|
|
1080
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionAttachment/TransactionAttachment.jsx
|
|
1081
|
+
const TransactionAttachment = (props) => {
|
|
1082
|
+
const { attachment, isLastItem } = props;
|
|
1083
|
+
const [{ data: attachmentWithDownloadLink, loading: isLoading }] = useAxiosGet(ConfigService.productV1ApiUrl, `UdpTransactionAttachment/${attachment?.transactionAttachmentId}/udpDriveFile/download`, {}, !!!attachment?.transactionAttachmentId);
|
|
1084
|
+
return /* @__PURE__ */ React.createElement(UdpAttachmentItem, {
|
|
1085
|
+
loading: isLoading,
|
|
1086
|
+
fileName: attachment?.fileName,
|
|
1087
|
+
fileSize: attachment?.fileSize,
|
|
1088
|
+
fileExtension: attachment?.extension,
|
|
1089
|
+
uploadedBy: attachment?.updatedByName,
|
|
1090
|
+
uploadedDate: attachment?.lastUpdated,
|
|
1091
|
+
isLastItem,
|
|
1092
|
+
downloadUrl: attachmentWithDownloadLink?.link
|
|
1093
|
+
});
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
//#endregion
|
|
1097
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionAttachment/TransactionAttachments.jsx
|
|
1098
|
+
const TransactionAttachments = (props) => {
|
|
1099
|
+
const { transactionAttachments, isLoading } = props;
|
|
1100
|
+
const { t } = useTranslation();
|
|
1101
|
+
return /* @__PURE__ */ React.createElement("div", null, isLoading ? /* @__PURE__ */ React.createElement(LinearProgress, null) : transactionAttachments?.pageList?.length > 0 ? /* @__PURE__ */ React.createElement(AmbientCard, { fullWidth: true }, transactionAttachments.pageList.map((attachment, index) => /* @__PURE__ */ React.createElement(TransactionAttachment, {
|
|
1102
|
+
key: index,
|
|
1103
|
+
attachment,
|
|
1104
|
+
isLastItem: index === transactionAttachments.pageList.length - 1
|
|
1105
|
+
}))) : /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(EmptyStateDisplay, { primaryText: t("No Attachments") })));
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
//#endregion
|
|
1109
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNote.jsx
|
|
1110
|
+
const useStyles$2 = makeStyles((theme) => ({
|
|
1111
|
+
titleContainer: {
|
|
1112
|
+
display: "flex",
|
|
1113
|
+
gap: "8px",
|
|
1114
|
+
justifyContent: "space-between",
|
|
1115
|
+
alignItems: "center"
|
|
1116
|
+
},
|
|
1117
|
+
chipContainer: {
|
|
1118
|
+
display: "flex",
|
|
1119
|
+
gap: theme.spacing(1),
|
|
1120
|
+
alignItems: "center",
|
|
1121
|
+
marginTop: theme.spacing(1)
|
|
1122
|
+
},
|
|
1123
|
+
card: {
|
|
1124
|
+
width: "100%",
|
|
1125
|
+
cursor: "pointer",
|
|
1126
|
+
"&:hover": { backgroundColor: "rgba(0, 0, 0, 0.04)" },
|
|
1127
|
+
padding: "8px 12px",
|
|
1128
|
+
border: "1px solid rgba(0, 0, 0, 0.08)"
|
|
1129
|
+
},
|
|
1130
|
+
captionText: { color: theme.palette.text.hint }
|
|
1131
|
+
}));
|
|
1132
|
+
const TransactionNote = (props) => {
|
|
1133
|
+
const { onClick, note } = props;
|
|
1134
|
+
const classes = useStyles$2();
|
|
1135
|
+
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(AmbientCard, {
|
|
1136
|
+
fullWidth: true,
|
|
1137
|
+
adornment: "info",
|
|
1138
|
+
noAdornment: false,
|
|
1139
|
+
customAdornment: /* @__PURE__ */ React.createElement(Adornment, { color: "info" }),
|
|
1140
|
+
removeTopLayoutUnit: true,
|
|
1141
|
+
removePadding: true,
|
|
1142
|
+
lastChildBottomPadding: "0px",
|
|
1143
|
+
cardContentHeight: "100%"
|
|
1144
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
1145
|
+
className: classes.card,
|
|
1146
|
+
onClick
|
|
1147
|
+
}, /* @__PURE__ */ React.createElement("div", { className: classes.titleContainer }, /* @__PURE__ */ React.createElement(Typography$1, { variant: "h6" }, note?.subject ?? "Transaction Note"), /* @__PURE__ */ React.createElement(Typography$1, {
|
|
1148
|
+
variant: "caption",
|
|
1149
|
+
className: classes.captionText
|
|
1150
|
+
}, getLocalizedDateTimeString(note?.createdOn))), /* @__PURE__ */ React.createElement(Typography$1, { variant: "body1" }, note?.content ?? "This is a placeholder for the transaction note component."), /* @__PURE__ */ React.createElement("div", { className: classes.chipContainer }, /* @__PURE__ */ React.createElement(StatusChip, {
|
|
1151
|
+
label: note?.userDisplayName,
|
|
1152
|
+
color: "default",
|
|
1153
|
+
variant: "outline",
|
|
1154
|
+
icon: /* @__PURE__ */ React.createElement(ContactIcon, null)
|
|
1155
|
+
})))));
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
//#endregion
|
|
1159
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNoteForm.jsx
|
|
1160
|
+
const useStyles$1 = makeStyles((theme) => ({ loading: { marginBottom: theme.spacing(1) } }));
|
|
1161
|
+
const TransactionNoteFormComponent = (props, ref) => {
|
|
1162
|
+
const { initialValues, viewOnly, businessObjectKey, closeSideSheet, noteTypes, fetchNoteTypesLoading } = props;
|
|
1163
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
1164
|
+
const user = useAuthedUser();
|
|
1165
|
+
const { handleSuccessSnackbar, handleErrorSnackbar } = useHandleAxiosSnackbar();
|
|
1166
|
+
const { t } = useTranslation();
|
|
1167
|
+
const classes = useStyles$1();
|
|
1168
|
+
const addTransactionNote = useCallback(async (data) => apiMutate(ConfigService$1.productV1ApiUrl, `UdpNote`, { method: "post" }, data), []);
|
|
1169
|
+
const addNoteFiledFor = useCallback(async (data) => apiMutate(ConfigService$1.productV1ApiUrl, `UdpNoteFiledFor`, { method: "post" }, data), []);
|
|
1170
|
+
const handleSubmitForm = useCallback(async (values) => {
|
|
1171
|
+
setIsLoading(true);
|
|
1172
|
+
await addTransactionNote({ data: {
|
|
1173
|
+
typeCode: values?.noteType?.code,
|
|
1174
|
+
subject: values?.subject,
|
|
1175
|
+
content: values?.content,
|
|
1176
|
+
unityUserID: user?.id,
|
|
1177
|
+
userDisplayName: user?.name ?? ""
|
|
1178
|
+
} }).then(async (res) => {
|
|
1179
|
+
console.log("Transaction Note response: ", { res });
|
|
1180
|
+
if (res?.data?.id) await addNoteFiledFor({ data: {
|
|
1181
|
+
entityBusinessKey: businessObjectKey,
|
|
1182
|
+
noteId: res?.data?.id
|
|
1183
|
+
} }).then(() => {
|
|
1184
|
+
handleSuccessSnackbar(t("Transaction note has been added successfully."));
|
|
1185
|
+
if (closeSideSheet) closeSideSheet();
|
|
1186
|
+
});
|
|
1187
|
+
}).catch((res) => {
|
|
1188
|
+
handleErrorSnackbar(res, t("Unable to add transaction note."));
|
|
1189
|
+
});
|
|
1190
|
+
setIsLoading(false);
|
|
1191
|
+
}, [
|
|
1192
|
+
addNoteFiledFor,
|
|
1193
|
+
addTransactionNote,
|
|
1194
|
+
businessObjectKey,
|
|
1195
|
+
handleErrorSnackbar,
|
|
1196
|
+
handleSuccessSnackbar,
|
|
1197
|
+
t,
|
|
1198
|
+
user,
|
|
1199
|
+
closeSideSheet
|
|
1200
|
+
]);
|
|
1201
|
+
return /* @__PURE__ */ React.createElement("div", null, fetchNoteTypesLoading ? /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(LinearProgress$1, null)) : /* @__PURE__ */ React.createElement("div", null, isLoading && /* @__PURE__ */ React.createElement("div", { className: classes.loading }, /* @__PURE__ */ React.createElement(LinearProgress$1, null)), /* @__PURE__ */ React.createElement(Form, {
|
|
1202
|
+
ref,
|
|
1203
|
+
onSubmit: handleSubmitForm,
|
|
1204
|
+
initialValues,
|
|
1205
|
+
id: `transactionNoteForm-${businessObjectKey}`,
|
|
1206
|
+
render: ({ submitting }) => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Field, {
|
|
1207
|
+
component: FluentTextFieldAutoComplete,
|
|
1208
|
+
id: "noteType",
|
|
1209
|
+
name: "noteType",
|
|
1210
|
+
optionKey: "name",
|
|
1211
|
+
disableClearable: true,
|
|
1212
|
+
label: t("Type"),
|
|
1213
|
+
options: noteTypes ?? [],
|
|
1214
|
+
disabled: viewOnly || submitting,
|
|
1215
|
+
onChange: () => {},
|
|
1216
|
+
required: true
|
|
1217
|
+
}), /* @__PURE__ */ React.createElement(Field, {
|
|
1218
|
+
component: FluentTextField,
|
|
1219
|
+
id: "subject",
|
|
1220
|
+
name: "subject",
|
|
1221
|
+
label: t("Subject"),
|
|
1222
|
+
disabled: viewOnly || submitting,
|
|
1223
|
+
onChange: () => {},
|
|
1224
|
+
required: true
|
|
1225
|
+
}), /* @__PURE__ */ React.createElement(Field, {
|
|
1226
|
+
component: FluentTextField,
|
|
1227
|
+
id: "content",
|
|
1228
|
+
name: "content",
|
|
1229
|
+
label: t("Details"),
|
|
1230
|
+
onChange: () => {},
|
|
1231
|
+
multiline: true,
|
|
1232
|
+
rows: 5,
|
|
1233
|
+
maxRows: 10,
|
|
1234
|
+
disabled: viewOnly || submitting,
|
|
1235
|
+
required: true
|
|
1236
|
+
}), viewOnly && /* @__PURE__ */ React.createElement(Typography$1, { variant: "caption" }, t("Viewing note details. Use the Add Note action to create a new entry.")))
|
|
1237
|
+
})));
|
|
1238
|
+
};
|
|
1239
|
+
const TransactionNoteForm = forwardRef(TransactionNoteFormComponent);
|
|
1240
|
+
|
|
1241
|
+
//#endregion
|
|
1242
|
+
//#region src/udp/pages/UdpTransactionsPage/components/transactionNote/TransactionNotes.jsx
|
|
1243
|
+
const useStyles = makeStyles((theme) => ({ notes: {
|
|
1244
|
+
display: "flex",
|
|
1245
|
+
flexDirection: "column",
|
|
1246
|
+
gap: theme.spacing(1)
|
|
1247
|
+
} }));
|
|
1248
|
+
const TransactionNotes = (props) => {
|
|
1249
|
+
const { businessObjectKey, refreshNotes, setRefreshNotes, noteTypes, fetchNoteTypesLoading } = props;
|
|
1250
|
+
const [openSideSheet, setOpenSideSheet] = useState(false);
|
|
1251
|
+
const [selectedNote, setSelectedNote] = useState(null);
|
|
1252
|
+
const [noteList, setNoteList] = useState([]);
|
|
1253
|
+
const classes = useStyles();
|
|
1254
|
+
const { t } = useTranslation();
|
|
1255
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
1256
|
+
const noteFileForSearchObj = useMemo(() => {
|
|
1257
|
+
return {
|
|
1258
|
+
eagerLoad: true,
|
|
1259
|
+
pageNumber: 0,
|
|
1260
|
+
pageSize: 100,
|
|
1261
|
+
filterElements: [{
|
|
1262
|
+
searchField: "entityBusinessKey",
|
|
1263
|
+
searchValue: businessObjectKey,
|
|
1264
|
+
searchOperator: "="
|
|
1265
|
+
}],
|
|
1266
|
+
getAll: true
|
|
1267
|
+
};
|
|
1268
|
+
}, [businessObjectKey]);
|
|
1269
|
+
const [{ data: noteFiledFor, loading: fetchNoteFiledForLoading }, fetchNoteFiledFor] = useAxiosMutate(ConfigService$1.productV1ApiUrl, `UdpNoteFiledFor/search`, {
|
|
1270
|
+
method: "post",
|
|
1271
|
+
data: noteFileForSearchObj
|
|
1272
|
+
});
|
|
1273
|
+
const handleViewNote = useCallback((note) => {
|
|
1274
|
+
setSelectedNote(note);
|
|
1275
|
+
setOpenSideSheet(true);
|
|
1276
|
+
}, []);
|
|
1277
|
+
const handleCloseSideSheet = useCallback(() => {
|
|
1278
|
+
setOpenSideSheet(false);
|
|
1279
|
+
setSelectedNote(null);
|
|
1280
|
+
}, []);
|
|
1281
|
+
useEffect(() => {
|
|
1282
|
+
fetchNoteFiledFor();
|
|
1283
|
+
}, [fetchNoteFiledFor]);
|
|
1284
|
+
useEffect(() => {
|
|
1285
|
+
if (refreshNotes) {
|
|
1286
|
+
fetchNoteFiledFor();
|
|
1287
|
+
setRefreshNotes(false);
|
|
1288
|
+
}
|
|
1289
|
+
}, [
|
|
1290
|
+
fetchNoteFiledFor,
|
|
1291
|
+
refreshNotes,
|
|
1292
|
+
setRefreshNotes
|
|
1293
|
+
]);
|
|
1294
|
+
useEffect(() => {
|
|
1295
|
+
if (!fetchNoteFiledForLoading && noteFiledFor?.pageList?.length > 0) {
|
|
1296
|
+
const searchObj = {
|
|
1297
|
+
eagerLoad: true,
|
|
1298
|
+
pageNumber: 0,
|
|
1299
|
+
pageSize: 100,
|
|
1300
|
+
filterElements: [{
|
|
1301
|
+
searchField: "iD",
|
|
1302
|
+
searchValue: noteFiledFor?.pageList?.map((obj) => obj?.noteID).join(","),
|
|
1303
|
+
searchOperator: "IN"
|
|
1304
|
+
}],
|
|
1305
|
+
getAll: true
|
|
1306
|
+
};
|
|
1307
|
+
setIsLoading(true);
|
|
1308
|
+
apiMutate(ConfigService$1.productV1ApiUrl, `UdpNote/search`, {
|
|
1309
|
+
method: "post",
|
|
1310
|
+
data: searchObj
|
|
1311
|
+
}, {}).then((resp) => {
|
|
1312
|
+
if (resp && resp.data) setNoteList(resp.data?.pageList);
|
|
1313
|
+
else setNoteList([]);
|
|
1314
|
+
}).finally(() => {
|
|
1315
|
+
setIsLoading(false);
|
|
1316
|
+
});
|
|
1317
|
+
} else setNoteList([]);
|
|
1318
|
+
}, [
|
|
1319
|
+
fetchNoteFiledForLoading,
|
|
1320
|
+
noteFiledFor,
|
|
1321
|
+
setIsLoading
|
|
1322
|
+
]);
|
|
1323
|
+
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { className: classes.notes }, isLoading || fetchNoteFiledForLoading ? /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(LinearProgress$1, null)) : noteList?.length > 0 ? noteList.map((note, index) => /* @__PURE__ */ React.createElement(TransactionNote, {
|
|
1324
|
+
key: index,
|
|
1325
|
+
note,
|
|
1326
|
+
onClick: () => handleViewNote(note)
|
|
1327
|
+
})) : /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(EmptyStateDisplay, { primaryText: "No Notes" }))), /* @__PURE__ */ React.createElement(SideSheet, {
|
|
1328
|
+
title: t("View Note"),
|
|
1329
|
+
width: 600,
|
|
1330
|
+
open: openSideSheet,
|
|
1331
|
+
onClose: handleCloseSideSheet
|
|
1332
|
+
}, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(TransactionNoteForm, {
|
|
1333
|
+
initialValues: selectedNote,
|
|
1334
|
+
businessObjectKey,
|
|
1335
|
+
viewOnly: true,
|
|
1336
|
+
noteTypes,
|
|
1337
|
+
fetchNoteTypeLoading: fetchNoteTypesLoading
|
|
1338
|
+
}))));
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
//#endregion
|
|
1342
|
+
//#region src/udp/pages/UdpTransactionsPage/sidesheets/enum.ts
|
|
1343
|
+
let TRANSACTION_TAB = /* @__PURE__ */ function(TRANSACTION_TAB) {
|
|
1344
|
+
TRANSACTION_TAB[TRANSACTION_TAB["DETAILS"] = 0] = "DETAILS";
|
|
1345
|
+
TRANSACTION_TAB[TRANSACTION_TAB["HISTORY"] = 1] = "HISTORY";
|
|
1346
|
+
TRANSACTION_TAB[TRANSACTION_TAB["ATTACHMENTS"] = 2] = "ATTACHMENTS";
|
|
1347
|
+
TRANSACTION_TAB[TRANSACTION_TAB["NOTES"] = 3] = "NOTES";
|
|
1348
|
+
return TRANSACTION_TAB;
|
|
1349
|
+
}({});
|
|
1350
|
+
|
|
1351
|
+
//#endregion
|
|
1352
|
+
//#region src/udp/pages/UdpTransactionsPage/components/EditTransactionDetailsFooterItem.jsx
|
|
1353
|
+
const EditTransactionDetailsFooterItem = (props) => {
|
|
1354
|
+
const { transactionTypeId, transactionIsClosed, handleOnCancel, handleOnSaveChanges } = props;
|
|
1355
|
+
const { hasRevisions } = useTransactionEngine(transactionTypeId);
|
|
1356
|
+
const { t } = useTranslation();
|
|
1357
|
+
return /* @__PURE__ */ React.createElement("div", { className: "transaction-details-footer-item" }, /* @__PURE__ */ React.createElement(FluentButton, {
|
|
1358
|
+
color: "primary",
|
|
1359
|
+
onClick: handleOnCancel
|
|
1360
|
+
}, t("Cancel")), !transactionIsClosed && /* @__PURE__ */ React.createElement(FluentButton, {
|
|
1361
|
+
variant: "contained",
|
|
1362
|
+
color: "primary",
|
|
1363
|
+
onClick: handleOnSaveChanges
|
|
1364
|
+
}, t("Save Changes")));
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
//#endregion
|
|
1368
|
+
//#region src/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.jsx
|
|
1369
|
+
const EditTransactionDetailsFormFields = (props) => {
|
|
1370
|
+
const { transaction, fieldAttributes, transactionTypeId } = props;
|
|
1371
|
+
const { t } = useTranslation();
|
|
1372
|
+
const { getHiddenFields, getRequiredFields } = useTransactionEngine(transactionTypeId);
|
|
1373
|
+
const fieldComponentMap = {
|
|
1374
|
+
string: AmbientTextField,
|
|
1375
|
+
datetime: AmbientTextField,
|
|
1376
|
+
number: AmbientTextField,
|
|
1377
|
+
bool: Switch,
|
|
1378
|
+
array: AmbientAutoComplete
|
|
1379
|
+
};
|
|
1380
|
+
const getEntityName = (optionValuesArr, entityId) => {
|
|
1381
|
+
return (optionValuesArr?.find((entity) => entity.id == entityId))?.name;
|
|
1382
|
+
};
|
|
1383
|
+
const numberDataTypes = [
|
|
1384
|
+
"int",
|
|
1385
|
+
"short",
|
|
1386
|
+
"long"
|
|
1387
|
+
];
|
|
1388
|
+
const removeTimeFormatDate = (date) => {
|
|
1389
|
+
if (date) {
|
|
1390
|
+
const parsedDate = new Date(date);
|
|
1391
|
+
if (parsedDate.getTime()) {
|
|
1392
|
+
const year = parsedDate.getFullYear();
|
|
1393
|
+
const month = parsedDate.getMonth() + 1;
|
|
1394
|
+
const day = parsedDate.getDate().toString().padStart(2, "0");
|
|
1395
|
+
return `${year}-${month.toString().padStart(2, "0")}-${day}`;
|
|
1396
|
+
}
|
|
1397
|
+
return parsedDate;
|
|
1398
|
+
}
|
|
1399
|
+
return date;
|
|
1400
|
+
};
|
|
1401
|
+
const addSpacingInHeaderName = (headerName) => {
|
|
1402
|
+
let formattedHeaderName = "";
|
|
1403
|
+
for (var i = 0; i < headerName.length; i++) if (i == 0) formattedHeaderName += headerName[i].toUpperCase();
|
|
1404
|
+
else if (i !== 0 && headerName[i].match(/[A-Z]/) && i != headerName.length - 1) formattedHeaderName += " " + headerName[i];
|
|
1405
|
+
else formattedHeaderName += headerName[i];
|
|
1406
|
+
return formattedHeaderName;
|
|
1407
|
+
};
|
|
1408
|
+
const dataTypeComponentMap = (transaction, attribute) => {
|
|
1409
|
+
const fieldName = attribute.name;
|
|
1410
|
+
let fieldDataType = attribute.type.toLowerCase();
|
|
1411
|
+
fieldDataType = numberDataTypes.includes(fieldDataType) ? "number" : fieldDataType;
|
|
1412
|
+
const isAsscoiationLabel = attribute.associationLabel;
|
|
1413
|
+
let fieldComponentProps = null;
|
|
1414
|
+
switch (fieldDataType) {
|
|
1415
|
+
case "number":
|
|
1416
|
+
fieldComponentProps = {
|
|
1417
|
+
initialValue: transaction?.entityBusinessObject[fieldName],
|
|
1418
|
+
type: "number",
|
|
1419
|
+
InputProps: { inputProps: { min: 0 } }
|
|
1420
|
+
};
|
|
1421
|
+
break;
|
|
1422
|
+
case "datetime":
|
|
1423
|
+
fieldComponentProps = {
|
|
1424
|
+
initialValue: removeTimeFormatDate(transaction?.entityBusinessObject[fieldName]),
|
|
1425
|
+
type: "date"
|
|
1426
|
+
};
|
|
1427
|
+
break;
|
|
1428
|
+
case "array":
|
|
1429
|
+
fieldComponentProps = {
|
|
1430
|
+
options: attribute?.options?.map((option) => option.id),
|
|
1431
|
+
getOptionLabelFunction: (option) => getEntityName(attribute?.options, option) || option,
|
|
1432
|
+
initialValue: transaction?.entityBusinessObject[fieldName]
|
|
1433
|
+
};
|
|
1434
|
+
break;
|
|
1435
|
+
case "bool":
|
|
1436
|
+
fieldComponentProps = {
|
|
1437
|
+
type: "checkbox",
|
|
1438
|
+
initialValue: false
|
|
1439
|
+
};
|
|
1440
|
+
break;
|
|
1441
|
+
default: fieldComponentProps = { initialValue: transaction?.entityBusinessObject[fieldName] };
|
|
1442
|
+
}
|
|
1443
|
+
const formattedFieldName = addSpacingInHeaderName(fieldName);
|
|
1444
|
+
const formLabel = isAsscoiationLabel ? formattedFieldName + " Name" : formattedFieldName;
|
|
1445
|
+
const isRequired = getRequiredFields(transaction).includes(fieldName) || attribute.required || !attribute.nullable;
|
|
1446
|
+
const isHidden = getHiddenFields(transaction).includes(fieldName) || attribute.isPrimaryKey || !attribute.extendedProperties.defaultVisible || attribute?.hidden;
|
|
1447
|
+
let fieldComponent = /* @__PURE__ */ React.createElement(Field, {
|
|
1448
|
+
component: fieldComponentMap[fieldDataType] ?? AmbientTextField,
|
|
1449
|
+
label: t(formLabel),
|
|
1450
|
+
name: fieldName,
|
|
1451
|
+
fullWidth: true,
|
|
1452
|
+
variant: "outlined",
|
|
1453
|
+
margin: "normal",
|
|
1454
|
+
disabled: attribute.isReadOnly,
|
|
1455
|
+
required: isRequired && fieldDataType != "bool",
|
|
1456
|
+
...fieldComponentProps
|
|
1457
|
+
});
|
|
1458
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, !isHidden && (fieldDataType == "bool" ? /* @__PURE__ */ React.createElement(FormControlLabel, {
|
|
1459
|
+
control: fieldComponent,
|
|
1460
|
+
label: formLabel
|
|
1461
|
+
}) : fieldComponent));
|
|
1462
|
+
};
|
|
1463
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, fieldAttributes.map((attribute) => {
|
|
1464
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, dataTypeComponentMap(transaction, attribute));
|
|
1465
|
+
}));
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
//#endregion
|
|
1469
|
+
//#region src/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.jsx
|
|
1470
|
+
const DynamicTransactionDomainForm = (props) => {
|
|
1471
|
+
const { transaction, formRef, domainName, transactionTypeId, transactionUiActionType, setHasUnsavedChanges, onSubmitSuccess, refetchTransaction } = props;
|
|
1472
|
+
const [entityAttributes, setEntityAttributes] = useState(null);
|
|
1473
|
+
const fullyQualifiedName = transaction?.entityBusinessKey?.split("|")[0];
|
|
1474
|
+
const { handleErrorSnackbar, handleSuccessSnackbar } = useHandleAxiosSnackbar();
|
|
1475
|
+
const { t } = useTranslation();
|
|
1476
|
+
const { currentApiCatalogId, catalogsMap } = useCatalogStore();
|
|
1477
|
+
const catalogObjectList = useMemo(() => {
|
|
1478
|
+
if (catalogsMap && currentApiCatalogId && catalogsMap[currentApiCatalogId]) return catalogsMap[currentApiCatalogId]?.ctlg?.catalogObjectList;
|
|
1479
|
+
}, [catalogsMap, currentApiCatalogId]);
|
|
1480
|
+
const [{ data: udpObjectInfo }, fetchUdpObjectInfo] = useAxiosMutate(ConfigService$1.productV1ApiUrl, `UdpObjectInfo/search`, {
|
|
1481
|
+
method: "post",
|
|
1482
|
+
data: {
|
|
1483
|
+
eagerLoad: true,
|
|
1484
|
+
pageNumber: 1,
|
|
1485
|
+
pageSize: 50,
|
|
1486
|
+
filterElements: [{
|
|
1487
|
+
searchField: "sanitizedName",
|
|
1488
|
+
searchOperator: "=",
|
|
1489
|
+
searchValue: fullyQualifiedName ? getSanitizedName(fullyQualifiedName) : domainName
|
|
1490
|
+
}]
|
|
1491
|
+
}
|
|
1492
|
+
});
|
|
1493
|
+
const updateFieldInfo = (tableEntries, catalogObjectFieldInfo, fkFieldInfo, fkDomainName) => {
|
|
1494
|
+
let updatedFields = {
|
|
1495
|
+
type: "array",
|
|
1496
|
+
options: tableEntries,
|
|
1497
|
+
domainName: fkDomainName
|
|
1498
|
+
};
|
|
1499
|
+
const updatedFieldInfo = {
|
|
1500
|
+
...fkFieldInfo,
|
|
1501
|
+
...updatedFields
|
|
1502
|
+
};
|
|
1503
|
+
const index = catalogObjectFieldInfo.findIndex((f) => f.name.toLowerCase() === fkFieldInfo.name.toLowerCase());
|
|
1504
|
+
if (index != -1) catalogObjectFieldInfo[index] = updatedFieldInfo;
|
|
1505
|
+
};
|
|
1506
|
+
const mergeCatalogObjectInfoFieldInfo = useCallback((entityCatalogObjectInfo, filteredEntityFieldInfo) => {
|
|
1507
|
+
return entityCatalogObjectInfo.map((entityCatalogObject) => {
|
|
1508
|
+
let matchingEntityFieldInfo = filteredEntityFieldInfo.find((fieldInfo) => {
|
|
1509
|
+
let formattedFieldName = fieldInfo.name.slice(0, 1).toLowerCase() + fieldInfo.name.slice(1);
|
|
1510
|
+
if (fieldInfo.name == "ID") formattedFieldName = formattedFieldName.toLowerCase();
|
|
1511
|
+
return formattedFieldName == entityCatalogObject.name;
|
|
1512
|
+
});
|
|
1513
|
+
if (matchingEntityFieldInfo) {
|
|
1514
|
+
let additional_fields = {
|
|
1515
|
+
hidden: matchingEntityFieldInfo.properties.maintainenceConfig.hidden,
|
|
1516
|
+
associationLabel: matchingEntityFieldInfo.properties.maintainenceConfig.associationLabel,
|
|
1517
|
+
isPrimaryKey: matchingEntityFieldInfo.isPrimaryKey
|
|
1518
|
+
};
|
|
1519
|
+
return {
|
|
1520
|
+
...entityCatalogObject,
|
|
1521
|
+
...additional_fields
|
|
1522
|
+
};
|
|
1523
|
+
} else return entityCatalogObject;
|
|
1524
|
+
});
|
|
1525
|
+
}, []);
|
|
1526
|
+
const filterOutManyToManyRelationships = (CatalogObjectInfo) => {
|
|
1527
|
+
return CatalogObjectInfo.filter((catalogObject) => {
|
|
1528
|
+
const cardinality = catalogObject.extendedProperties?.childEntityAssoc?.Cardinality;
|
|
1529
|
+
if (cardinality != void 0) return cardinality != CardinalityTypeEnums.Many_To_Many && cardinality != CardinalityTypeEnums.One_To_One && catalogObject.name.toLowerCase() != "businessobjectkey";
|
|
1530
|
+
else return catalogObject.name.toLowerCase() != "businessobjectkey";
|
|
1531
|
+
});
|
|
1532
|
+
};
|
|
1533
|
+
const updateFkFields = useCallback(async (entityCatalogObjectInfo, catalogObjectInfo) => {
|
|
1534
|
+
const childEntityAssociation = catalogObjectInfo.extendedProperties.childEntityAssoc;
|
|
1535
|
+
if (childEntityAssociation.Cardinality != void 0) {
|
|
1536
|
+
const foreignKeyAssociationFields = childEntityAssociation.Keys[0].split(",");
|
|
1537
|
+
let fieldsInAssociationToIgnore = [
|
|
1538
|
+
"id",
|
|
1539
|
+
"businessobjectkey",
|
|
1540
|
+
"entitybusinesskey"
|
|
1541
|
+
];
|
|
1542
|
+
return Promise.all(foreignKeyAssociationFields.map(async (fkFieldName) => {
|
|
1543
|
+
if (fkFieldName.toLowerCase() != "id" && !fieldsInAssociationToIgnore.includes(fkFieldName.toLowerCase())) {
|
|
1544
|
+
let fkFieldInfo = entityCatalogObjectInfo.find((field) => field.name.toLowerCase() == fkFieldName.toLowerCase());
|
|
1545
|
+
const fkDomainName = getSanitizedName(childEntityAssociation.TargetType);
|
|
1546
|
+
try {
|
|
1547
|
+
const getTableEntriesResp = await apiMutate(ConfigService$1.productV1ApiUrl, `${fkDomainName}`, { method: "get" });
|
|
1548
|
+
if (getTableEntriesResp.data.length > 0 && fkFieldInfo) updateFieldInfo(getTableEntriesResp.data, entityCatalogObjectInfo, fkFieldInfo, fkDomainName);
|
|
1549
|
+
} catch (error) {
|
|
1550
|
+
handleErrorSnackbar(new Error(t(`Error finiding field information! Please try again.`)));
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
}));
|
|
1554
|
+
}
|
|
1555
|
+
}, [handleErrorSnackbar, t]);
|
|
1556
|
+
const filterAdjustEntityAttributes = useCallback(async (catalogObjectInfo) => {
|
|
1557
|
+
let entityCatalogObjectInfo = catalogObjectInfo;
|
|
1558
|
+
entityCatalogObjectInfo = filterOutManyToManyRelationships(entityCatalogObjectInfo);
|
|
1559
|
+
let filteredEntityFieldInfo = (await fetchUdpObjectInfo()).data.pageList[0].objectFieldInfo.filter((fieldInfo) => fieldInfo.properties.isDefaultVisible);
|
|
1560
|
+
await Promise.all(entityCatalogObjectInfo.map((catalogObjectInfo) => {
|
|
1561
|
+
return updateFkFields(entityCatalogObjectInfo, catalogObjectInfo);
|
|
1562
|
+
}));
|
|
1563
|
+
entityCatalogObjectInfo = entityCatalogObjectInfo.filter((catalogObject) => !catalogObject.extendedProperties.childEntity);
|
|
1564
|
+
return mergeCatalogObjectInfoFieldInfo(entityCatalogObjectInfo, filteredEntityFieldInfo);
|
|
1565
|
+
}, [
|
|
1566
|
+
fetchUdpObjectInfo,
|
|
1567
|
+
mergeCatalogObjectInfoFieldInfo,
|
|
1568
|
+
updateFkFields
|
|
1569
|
+
]);
|
|
1570
|
+
useEffect(() => {
|
|
1571
|
+
if (catalogObjectList) {
|
|
1572
|
+
let domainCatalogObject = catalogObjectList?.find((catalogObject) => getSanitizedName(catalogObject.catalogObjectName) == domainName);
|
|
1573
|
+
if (domainCatalogObject) filterAdjustEntityAttributes(domainCatalogObject.properties).then((filteredResp) => {
|
|
1574
|
+
setEntityAttributes(filteredResp);
|
|
1575
|
+
});
|
|
1576
|
+
}
|
|
1577
|
+
}, [
|
|
1578
|
+
filterAdjustEntityAttributes,
|
|
1579
|
+
catalogObjectList,
|
|
1580
|
+
domainName
|
|
1581
|
+
]);
|
|
1582
|
+
const executeSaveChanges = useCallback(async (data) => apiMutate(ConfigService$1.productV1ApiUrl, `udpTransaction/${transaction?.transactionId}/saveChanges`, { method: "put" }, data), [transaction?.transactionId]);
|
|
1583
|
+
const executeCreateTransactionAndDomain = useCallback(async (data) => apiMutate(ConfigService$1.productV1ApiUrl, `udpTransaction/transactionType/${transactionTypeId}/create`, { method: "post" }, data), [transactionTypeId]);
|
|
1584
|
+
const onSubmit = useCallback(async (values) => {
|
|
1585
|
+
try {
|
|
1586
|
+
const request = { data: values };
|
|
1587
|
+
let response = null;
|
|
1588
|
+
let successMessageAction = "";
|
|
1589
|
+
let errorMessageAction = "";
|
|
1590
|
+
if (transactionUiActionType == TransactionUiActionTypeEnums.Render_Transaction_Details_Page) {
|
|
1591
|
+
response = await executeSaveChanges({ data: values });
|
|
1592
|
+
successMessageAction = "saved";
|
|
1593
|
+
errorMessageAction = "saving";
|
|
1594
|
+
} else if (transactionUiActionType == TransactionUiActionTypeEnums.Render_Create_Transaction_Page) {
|
|
1595
|
+
response = await executeCreateTransactionAndDomain(request);
|
|
1596
|
+
successMessageAction = "created";
|
|
1597
|
+
errorMessageAction = "creating";
|
|
1598
|
+
}
|
|
1599
|
+
if (response?.status === 200) {
|
|
1600
|
+
handleSuccessSnackbar(t(`Transaction has been ${successMessageAction} successfully`));
|
|
1601
|
+
onSubmitSuccess?.(response);
|
|
1602
|
+
} else handleErrorSnackbar(new Error(t(`Error ${errorMessageAction} Transaction. Please try again later.`)));
|
|
1603
|
+
} catch (e) {
|
|
1604
|
+
handleErrorSnackbar(error);
|
|
1605
|
+
} finally {
|
|
1606
|
+
if (setHasUnsavedChanges) {
|
|
1607
|
+
formRef.current?.form?.restart(values);
|
|
1608
|
+
setHasUnsavedChanges(false);
|
|
1609
|
+
}
|
|
1610
|
+
if (refetchTransaction) refetchTransaction();
|
|
1611
|
+
}
|
|
1612
|
+
}, [
|
|
1613
|
+
executeSaveChanges,
|
|
1614
|
+
executeCreateTransactionAndDomain,
|
|
1615
|
+
handleSuccessSnackbar,
|
|
1616
|
+
handleErrorSnackbar,
|
|
1617
|
+
t,
|
|
1618
|
+
transactionUiActionType,
|
|
1619
|
+
setHasUnsavedChanges,
|
|
1620
|
+
formRef,
|
|
1621
|
+
onSubmitSuccess,
|
|
1622
|
+
refetchTransaction
|
|
1623
|
+
]);
|
|
1624
|
+
const fieldAttributes = useMemo(() => {
|
|
1625
|
+
if (!entityAttributes) return [];
|
|
1626
|
+
return entityAttributes;
|
|
1627
|
+
}, [entityAttributes]);
|
|
1628
|
+
return fieldAttributes.length == 0 ? /* @__PURE__ */ React.createElement(LinearProgress, null) : /* @__PURE__ */ React.createElement(AmbientCard, { fullWidth: true }, /* @__PURE__ */ React.createElement(Form, {
|
|
1629
|
+
onSubmit,
|
|
1630
|
+
ref: formRef
|
|
1631
|
+
}, /* @__PURE__ */ React.createElement(FormSpy, { subscription: { dirty: true } }, ({ dirty }) => {
|
|
1632
|
+
if (setHasUnsavedChanges) setHasUnsavedChanges(dirty);
|
|
1633
|
+
}), /* @__PURE__ */ React.createElement(EditTransactionDetailsFormFields, {
|
|
1634
|
+
transaction,
|
|
1635
|
+
fieldAttributes,
|
|
1636
|
+
transactionTypeId
|
|
1637
|
+
})));
|
|
1638
|
+
};
|
|
1639
|
+
|
|
1640
|
+
//#endregion
|
|
1641
|
+
//#region src/udp/pages/UdpTransactionsPage/sidesheets/EditTransaction.jsx
|
|
1642
|
+
const EditTransaction = (props) => {
|
|
1643
|
+
const { transaction: initialTransaction, transactionTypeId, transactionIsClosed, openInnerSidesheetState, setOpenInnerSidesheetState, refreshGridData, closeSideSheet, setSidesheetLoading, setHasUnsavedChanges, domainName, attachmentType, setAttachmentType, currentAttachments, setCurrentAttachments, attachmentProgress, setAttachmentProgress, transactionAttachmentTypes, transactionAttachments, setTransactionAttachments, filePreview, setFilePreview, additionalPageParms } = props;
|
|
1644
|
+
const { t } = useTranslation();
|
|
1645
|
+
const [selectedTab, setSelectedTab] = useState(0);
|
|
1646
|
+
const [transaction, setTransaction] = useState(initialTransaction);
|
|
1647
|
+
const [refreshNotes, setRefreshNotes] = useState(false);
|
|
1648
|
+
const [{ data: noteTypes, loading: fetchNoteTypesLoading }] = useAxiosGet(ConfigService$1.productV1ApiUrl, `UdpNoteType`, {});
|
|
1649
|
+
const { getUiActionRenderPageId, transactionTypeStatusColorsMap } = useTransactionEngine(transactionTypeId);
|
|
1650
|
+
const refetchTransaction = useCallback(async () => {
|
|
1651
|
+
setSidesheetLoading(true);
|
|
1652
|
+
const response = await apiMutate(ConfigService$1.productV1ApiUrl, `udpTransaction/${initialTransaction.transactionId}/full`, { method: "get" });
|
|
1653
|
+
if (response?.status === 200) {
|
|
1654
|
+
setTransaction(response.data);
|
|
1655
|
+
transactionTimelineRef.current?.refresh();
|
|
1656
|
+
}
|
|
1657
|
+
setSidesheetLoading(false);
|
|
1658
|
+
}, [initialTransaction.transactionId, setSidesheetLoading]);
|
|
1659
|
+
const formRef = useRef(null);
|
|
1660
|
+
const transactionNoteFormRef = useRef(null);
|
|
1661
|
+
const transactionTimelineRef = useRef();
|
|
1662
|
+
const handleNoteFormSubmit = useCallback(() => {
|
|
1663
|
+
transactionNoteFormRef.current?.handleSubmit?.();
|
|
1664
|
+
}, []);
|
|
1665
|
+
const handleNoteFormReset = useCallback(() => {
|
|
1666
|
+
transactionNoteFormRef.current?.form?.reset?.();
|
|
1667
|
+
}, []);
|
|
1668
|
+
const handleSaveChanges = useCallback(async () => {
|
|
1669
|
+
setSidesheetLoading(true);
|
|
1670
|
+
await formRef.current?.form?.submit();
|
|
1671
|
+
setSidesheetLoading(false);
|
|
1672
|
+
refreshGridData();
|
|
1673
|
+
}, [
|
|
1674
|
+
refreshGridData,
|
|
1675
|
+
setSidesheetLoading,
|
|
1676
|
+
formRef
|
|
1677
|
+
]);
|
|
1678
|
+
const [{ data: transactionAttachmentsData, loading: fetchTransactionAttachmentsLoading }, fetchTransactionAttachments] = useAxiosMutate(ConfigService$1.productV1ApiUrl, `UdpTransactionAttachment/search`, {
|
|
1679
|
+
method: "post",
|
|
1680
|
+
data: {
|
|
1681
|
+
pageSize: 50,
|
|
1682
|
+
filterElements: [{
|
|
1683
|
+
searchField: "TransactionId",
|
|
1684
|
+
searchValue: transaction.transactionId,
|
|
1685
|
+
searchOperator: "="
|
|
1686
|
+
}, {
|
|
1687
|
+
searchField: "IsDeleted",
|
|
1688
|
+
searchValue: 0,
|
|
1689
|
+
searchOperator: "="
|
|
1690
|
+
}]
|
|
1691
|
+
}
|
|
1692
|
+
});
|
|
1693
|
+
const { enqueueSnackbar } = useSnackbar();
|
|
1694
|
+
const getAttachments = useCallback(async () => {
|
|
1695
|
+
try {
|
|
1696
|
+
setTransactionAttachments((await fetchTransactionAttachments()).data.pageList);
|
|
1697
|
+
refetchTransaction();
|
|
1698
|
+
} catch (error) {
|
|
1699
|
+
console.error("Failed to fetch attachments:", error);
|
|
1700
|
+
if (error?.message !== "canceled") enqueueSnackbar("Attachment fetch failed: We encountered a system error. Please try again or contact support if the issue persists.", {
|
|
1701
|
+
variant: "error",
|
|
1702
|
+
anchorOrigin: {
|
|
1703
|
+
vertical: "top",
|
|
1704
|
+
horizontal: "center"
|
|
1705
|
+
}
|
|
1706
|
+
});
|
|
1707
|
+
}
|
|
1708
|
+
}, [
|
|
1709
|
+
fetchTransactionAttachments,
|
|
1710
|
+
enqueueSnackbar,
|
|
1711
|
+
refetchTransaction,
|
|
1712
|
+
setTransactionAttachments
|
|
1713
|
+
]);
|
|
1714
|
+
const tabNames = [
|
|
1715
|
+
t("Details"),
|
|
1716
|
+
t("History"),
|
|
1717
|
+
t("Attachments"),
|
|
1718
|
+
t("Notes")
|
|
1719
|
+
];
|
|
1720
|
+
const headerItemInfo = useMemo(() => {
|
|
1721
|
+
const items = [{
|
|
1722
|
+
label: "Status",
|
|
1723
|
+
statusChip: {
|
|
1724
|
+
label: transaction.udpTransactionUdpTransactionTypeStatus?.name,
|
|
1725
|
+
status: transactionTypeStatusColorsMap[transaction.udpTransactionUdpTransactionTypeStatus?.name] || "default"
|
|
1726
|
+
}
|
|
1727
|
+
}];
|
|
1728
|
+
if (transaction?.currentRevisionNo) items.push({
|
|
1729
|
+
label: "Revision",
|
|
1730
|
+
value: `${transaction.currentRevisionNo}`
|
|
1731
|
+
});
|
|
1732
|
+
return items;
|
|
1733
|
+
}, [transaction, transactionTypeStatusColorsMap]);
|
|
1734
|
+
const handleUploadFiles = useCallback(async () => {
|
|
1735
|
+
if (!currentAttachments.length) throw new Error("No files added for upload");
|
|
1736
|
+
const formData = new FormData();
|
|
1737
|
+
currentAttachments.forEach((file) => formData.append("files", file));
|
|
1738
|
+
formData.append("attachmentTypeId", attachmentType.transactionAttachmentTypeId);
|
|
1739
|
+
try {
|
|
1740
|
+
setAttachmentProgress(true);
|
|
1741
|
+
await apiMutate(ConfigService$1.productV1ApiUrl, `UdpTransactionAttachment/transaction/${transaction.transactionId}/upload`, {
|
|
1742
|
+
method: "post",
|
|
1743
|
+
headers: {
|
|
1744
|
+
transactionId: transaction.transactionId,
|
|
1745
|
+
attachmentTypeId: attachmentType.transactionAttachmentTypeId
|
|
1746
|
+
},
|
|
1747
|
+
data: formData
|
|
1748
|
+
});
|
|
1749
|
+
await getAttachments();
|
|
1750
|
+
setCurrentAttachments([]);
|
|
1751
|
+
setOpenInnerSidesheetState({ attachments: false });
|
|
1752
|
+
enqueueSnackbar("Files uploaded successfully", {
|
|
1753
|
+
variant: "success",
|
|
1754
|
+
anchorOrigin: {
|
|
1755
|
+
vertical: "top",
|
|
1756
|
+
horizontal: "center"
|
|
1757
|
+
}
|
|
1758
|
+
});
|
|
1759
|
+
} catch (error) {
|
|
1760
|
+
enqueueSnackbar(`File upload failed: We encountered a system error. Please try again or contact support if the issue persists.`, {
|
|
1761
|
+
variant: "error",
|
|
1762
|
+
anchorOrigin: {
|
|
1763
|
+
vertical: "top",
|
|
1764
|
+
horizontal: "center"
|
|
1765
|
+
}
|
|
1766
|
+
});
|
|
1767
|
+
throw error;
|
|
1768
|
+
} finally {
|
|
1769
|
+
setAttachmentProgress(false);
|
|
1770
|
+
}
|
|
1771
|
+
}, [
|
|
1772
|
+
attachmentType,
|
|
1773
|
+
currentAttachments,
|
|
1774
|
+
enqueueSnackbar,
|
|
1775
|
+
getAttachments,
|
|
1776
|
+
setOpenInnerSidesheetState,
|
|
1777
|
+
transaction.transactionId,
|
|
1778
|
+
setCurrentAttachments,
|
|
1779
|
+
setAttachmentProgress
|
|
1780
|
+
]);
|
|
1781
|
+
const innerSidesheetList = useMemo(() => [
|
|
1782
|
+
{
|
|
1783
|
+
open: openInnerSidesheetState.workflowAction,
|
|
1784
|
+
closeSheet: () => setOpenInnerSidesheetState({ workflowActions: false }),
|
|
1785
|
+
title: "Available Workflow Actions",
|
|
1786
|
+
children: /* @__PURE__ */ React.createElement(WorkflowActions, {
|
|
1787
|
+
transaction,
|
|
1788
|
+
closeSideSheet: () => {
|
|
1789
|
+
setOpenInnerSidesheetState({ workflowActions: false });
|
|
1790
|
+
refetchTransaction();
|
|
1791
|
+
},
|
|
1792
|
+
refreshGridData
|
|
1793
|
+
})
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
open: openInnerSidesheetState.attachments,
|
|
1797
|
+
closeSheet: () => setOpenInnerSidesheetState({ attachments: false }),
|
|
1798
|
+
title: "Add Attachment",
|
|
1799
|
+
buttonLabel: "Save",
|
|
1800
|
+
buttonOneDisabled: !attachmentType || currentAttachments.length <= 0,
|
|
1801
|
+
onSubmit: () => {
|
|
1802
|
+
handleUploadFiles().then(() => refreshGridData()).catch((error) => console.error(error));
|
|
1803
|
+
},
|
|
1804
|
+
children: /* @__PURE__ */ React.createElement(Attachments, {
|
|
1805
|
+
attachmentTypes: transactionAttachmentTypes,
|
|
1806
|
+
attachmentType,
|
|
1807
|
+
setAttachmentType,
|
|
1808
|
+
attachmentProgress,
|
|
1809
|
+
setAttachmentProgress,
|
|
1810
|
+
currentAttachments,
|
|
1811
|
+
setCurrentAttachments,
|
|
1812
|
+
transaction,
|
|
1813
|
+
previousAttachments: transactionAttachments,
|
|
1814
|
+
setPreviousAttachments: setTransactionAttachments,
|
|
1815
|
+
MAX_FILE_SIZE_MB,
|
|
1816
|
+
allowedExtensions,
|
|
1817
|
+
filePreview,
|
|
1818
|
+
setFilePreview
|
|
1819
|
+
})
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
open: openInnerSidesheetState.notes,
|
|
1823
|
+
closeSheet: () => setOpenInnerSidesheetState({ notes: false }),
|
|
1824
|
+
title: "Add Note",
|
|
1825
|
+
buttonLabel: "Save note",
|
|
1826
|
+
buttonTwoLabel: "Clear",
|
|
1827
|
+
buttonTwoAction: handleNoteFormReset,
|
|
1828
|
+
onSubmit: handleNoteFormSubmit,
|
|
1829
|
+
children: /* @__PURE__ */ React.createElement(TransactionNoteForm, {
|
|
1830
|
+
ref: transactionNoteFormRef,
|
|
1831
|
+
businessObjectKey: transaction?.businessObjectKey,
|
|
1832
|
+
closeSideSheet: () => {
|
|
1833
|
+
setOpenInnerSidesheetState({ notes: false });
|
|
1834
|
+
setRefreshNotes(true);
|
|
1835
|
+
},
|
|
1836
|
+
noteTypes,
|
|
1837
|
+
fetchNoteTypesLoading
|
|
1838
|
+
})
|
|
1839
|
+
}
|
|
1840
|
+
], [
|
|
1841
|
+
openInnerSidesheetState.workflowAction,
|
|
1842
|
+
openInnerSidesheetState.attachments,
|
|
1843
|
+
openInnerSidesheetState.notes,
|
|
1844
|
+
transaction,
|
|
1845
|
+
refreshGridData,
|
|
1846
|
+
attachmentType,
|
|
1847
|
+
currentAttachments,
|
|
1848
|
+
transactionAttachmentTypes,
|
|
1849
|
+
attachmentProgress,
|
|
1850
|
+
transactionAttachments,
|
|
1851
|
+
filePreview,
|
|
1852
|
+
handleNoteFormReset,
|
|
1853
|
+
handleNoteFormSubmit,
|
|
1854
|
+
noteTypes,
|
|
1855
|
+
fetchNoteTypesLoading,
|
|
1856
|
+
setOpenInnerSidesheetState,
|
|
1857
|
+
refetchTransaction,
|
|
1858
|
+
handleUploadFiles,
|
|
1859
|
+
setAttachmentType,
|
|
1860
|
+
setCurrentAttachments,
|
|
1861
|
+
setAttachmentProgress,
|
|
1862
|
+
setTransactionAttachments,
|
|
1863
|
+
setFilePreview
|
|
1864
|
+
]);
|
|
1865
|
+
const transactionDetailPageId = useMemo(() => {
|
|
1866
|
+
return getUiActionRenderPageId(TransactionUiActionTypeEnums.Render_Transaction_Details_Page);
|
|
1867
|
+
}, [getUiActionRenderPageId]);
|
|
1868
|
+
useEffect(() => {
|
|
1869
|
+
(async () => {
|
|
1870
|
+
if (!transactionAttachmentsData) getAttachments();
|
|
1871
|
+
})();
|
|
1872
|
+
}, [transactionAttachmentsData, getAttachments]);
|
|
1873
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet" }, /* @__PURE__ */ React.createElement("div", { className: `edit-transaction-sidesheet-header 'is-sticky'` }, /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet-header-title" }), /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet-header-content" }, /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet-header-items" }, headerItemInfo.map((headerItem) => {
|
|
1874
|
+
return /* @__PURE__ */ React.createElement(EditTransactionHeaderItem, {
|
|
1875
|
+
key: headerItem.label,
|
|
1876
|
+
label: headerItem.label,
|
|
1877
|
+
statusChip: headerItem.statusChip,
|
|
1878
|
+
value: headerItem.value
|
|
1879
|
+
});
|
|
1880
|
+
})), /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet-header-buttons" }, /* @__PURE__ */ React.createElement(FluentButton, {
|
|
1881
|
+
color: "primary",
|
|
1882
|
+
onClick: () => {
|
|
1883
|
+
setOpenInnerSidesheetState({ attachments: true });
|
|
1884
|
+
}
|
|
1885
|
+
}, /* @__PURE__ */ React.createElement(FluentIcon, {
|
|
1886
|
+
component: AddIcon,
|
|
1887
|
+
className: "edit-transaction-header-button-icon",
|
|
1888
|
+
size: "small"
|
|
1889
|
+
}), "Attachment"), /* @__PURE__ */ React.createElement(FluentButton, {
|
|
1890
|
+
color: "primary",
|
|
1891
|
+
onClick: () => {
|
|
1892
|
+
setOpenInnerSidesheetState({ notes: true });
|
|
1893
|
+
}
|
|
1894
|
+
}, /* @__PURE__ */ React.createElement(FluentIcon, {
|
|
1895
|
+
component: AddIcon,
|
|
1896
|
+
className: "edit-transaction-header-button-icon",
|
|
1897
|
+
size: "small"
|
|
1898
|
+
}), "Note")), /* @__PURE__ */ React.createElement("div", { className: "divider" }, /* @__PURE__ */ React.createElement(Divider$1, null)), /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet-tabs" }, /* @__PURE__ */ React.createElement(UdpTabs, {
|
|
1899
|
+
value: selectedTab,
|
|
1900
|
+
onChange: (value, tabIndex) => {
|
|
1901
|
+
setSelectedTab(tabIndex);
|
|
1902
|
+
},
|
|
1903
|
+
tabList: tabNames.map((tabName) => ({ label: tabName })),
|
|
1904
|
+
buttonWidth: "100%"
|
|
1905
|
+
}))), /* @__PURE__ */ React.createElement("div", { className: "divider" }, /* @__PURE__ */ React.createElement(Divider$1, null))), /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet-body" }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(UdpTabPanel, {
|
|
1906
|
+
value: selectedTab,
|
|
1907
|
+
index: TRANSACTION_TAB.DETAILS
|
|
1908
|
+
}, transactionDetailPageId ? /* @__PURE__ */ React.createElement(UdpTransactionCustomPage, {
|
|
1909
|
+
transactionTypeId,
|
|
1910
|
+
transactionUiActionType: TransactionUiActionTypeEnums.Render_Transaction_Details_Page,
|
|
1911
|
+
formRef,
|
|
1912
|
+
transaction,
|
|
1913
|
+
refetchTransaction,
|
|
1914
|
+
setHasUnsavedChanges,
|
|
1915
|
+
refreshGridData,
|
|
1916
|
+
additionalPageParms
|
|
1917
|
+
}) : /* @__PURE__ */ React.createElement(DynamicTransactionDomainForm, {
|
|
1918
|
+
transaction,
|
|
1919
|
+
formRef,
|
|
1920
|
+
domainName,
|
|
1921
|
+
transactionTypeId,
|
|
1922
|
+
transactionUiActionType: TransactionUiActionTypeEnums.Render_Transaction_Details_Page,
|
|
1923
|
+
setHasUnsavedChanges,
|
|
1924
|
+
refetchTransaction
|
|
1925
|
+
})), /* @__PURE__ */ React.createElement(UdpTabPanel, {
|
|
1926
|
+
value: selectedTab,
|
|
1927
|
+
index: TRANSACTION_TAB.HISTORY
|
|
1928
|
+
}, /* @__PURE__ */ React.createElement(TransactionTimeline, {
|
|
1929
|
+
ref: transactionTimelineRef,
|
|
1930
|
+
transactionId: transaction?.transactionId
|
|
1931
|
+
})), /* @__PURE__ */ React.createElement(UdpTabPanel, {
|
|
1932
|
+
value: selectedTab,
|
|
1933
|
+
index: TRANSACTION_TAB.ATTACHMENTS
|
|
1934
|
+
}, /* @__PURE__ */ React.createElement(TransactionAttachments, {
|
|
1935
|
+
transactionAttachments: transactionAttachmentsData,
|
|
1936
|
+
isLoading: fetchTransactionAttachmentsLoading
|
|
1937
|
+
})), /* @__PURE__ */ React.createElement(UdpTabPanel, {
|
|
1938
|
+
value: selectedTab,
|
|
1939
|
+
index: TRANSACTION_TAB.NOTES
|
|
1940
|
+
}, /* @__PURE__ */ React.createElement(TransactionNotes, {
|
|
1941
|
+
businessObjectKey: transaction?.businessObjectKey,
|
|
1942
|
+
refreshNotes,
|
|
1943
|
+
setRefreshNotes,
|
|
1944
|
+
noteTypes,
|
|
1945
|
+
fetchNoteTypeLoading: fetchNoteTypesLoading
|
|
1946
|
+
})))), selectedTab == TRANSACTION_TAB.DETAILS && /* @__PURE__ */ React.createElement("div", { className: "edit-transaction-sidesheet-footer" }, /* @__PURE__ */ React.createElement(EditTransactionDetailsFooterItem, {
|
|
1947
|
+
transactionTypeId,
|
|
1948
|
+
transactionIsClosed,
|
|
1949
|
+
handleOnCancel: closeSideSheet,
|
|
1950
|
+
handleOnSaveChanges: handleSaveChanges
|
|
1951
|
+
}))), openInnerSidesheetState && innerSidesheetList.map((item) => {
|
|
1952
|
+
return /* @__PURE__ */ React.createElement(SideSheet, {
|
|
1953
|
+
key: item.title,
|
|
1954
|
+
open: item.open,
|
|
1955
|
+
width: 600,
|
|
1956
|
+
title: item.title,
|
|
1957
|
+
onClose: item.closeSheet,
|
|
1958
|
+
buttonLabel: item?.buttonLabel,
|
|
1959
|
+
buttonOneDisabled: item?.buttonOneDisabled,
|
|
1960
|
+
buttonTwoLabel: item?.buttonTwoLabel,
|
|
1961
|
+
buttonTwoAction: item?.buttonTwoAction,
|
|
1962
|
+
onSubmit: item?.onSubmit,
|
|
1963
|
+
color: "primary"
|
|
1964
|
+
}, item.children);
|
|
1965
|
+
}));
|
|
1966
|
+
};
|
|
1967
|
+
|
|
1968
|
+
//#endregion
|
|
1969
|
+
//#region src/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.jsx
|
|
1970
|
+
const UdpTransactionSidesheet = (props) => {
|
|
1971
|
+
const { openStates, handleSidesheet, handleAttachmentTransaction, transaction, transactionTypeId, domainName, refreshGridData } = props;
|
|
1972
|
+
const [sidesheetLoading, setSidesheetLoading] = useState(false);
|
|
1973
|
+
const [closingTransactionLoading, setClosingTransactionLoading] = useState(false);
|
|
1974
|
+
const [editTransactionopenInnerSidesheetState, setEditTransactionOpenInnerSidesheetState] = useState({
|
|
1975
|
+
attachments: false,
|
|
1976
|
+
workflowActions: false,
|
|
1977
|
+
notes: false
|
|
1978
|
+
});
|
|
1979
|
+
const [dialogOpen, setDialogOpen] = useState(false);
|
|
1980
|
+
const [unsavedChangesDialogOpen, setUnsavedChangesDialogOpen] = useState(false);
|
|
1981
|
+
const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false);
|
|
1982
|
+
const [createTransactionOpenInnerSidesheetState, setCreateTransactionOpenInnerSidesheetState] = useState({ attachments: false });
|
|
1983
|
+
const [attachmentType, setAttachmentType] = useState(null);
|
|
1984
|
+
const [currentAttachments, setCurrentAttachments] = useState([]);
|
|
1985
|
+
const [attachmentProgress, setAttachmentProgress] = useState(false);
|
|
1986
|
+
const [transactionAttachments, setTransactionAttachments] = useState([]);
|
|
1987
|
+
const [filePreview, setFilePreview] = useState(false);
|
|
1988
|
+
const [sidesheetPrimaryButtonDisabled, setSidesheetPrimaryButtonDisabled] = useState(false);
|
|
1989
|
+
const [sidesheetSecondaryButtonDisabled, setSidesheetSecondaryButtonDisabled] = useState(false);
|
|
1990
|
+
const { handleSuccessSnackbar, handleErrorSnackbar } = useHandleAxiosSnackbar();
|
|
1991
|
+
const { hasClosedStatus, checkIfTransactionIsClosed, getTransactionTypeLabel, getUiActionRenderPageId } = useTransactionEngine(transactionTypeId);
|
|
1992
|
+
const { t } = useTranslation();
|
|
1993
|
+
const formRef = useRef(null);
|
|
1994
|
+
const createdTransactionIdRef = useRef(null);
|
|
1995
|
+
const attachmentRef = useRef();
|
|
1996
|
+
const sidesheetWidth = openStates?.width ?? 800;
|
|
1997
|
+
const transactionTypeEntry = transaction?.entityBusinessObject;
|
|
1998
|
+
const { enqueueSnackbar } = useSnackbar();
|
|
1999
|
+
const [{ data: transactionAttachmentTypes }, fetchTransactionAttachmentType] = useAxiosMutate(ConfigService$1.productV1ApiUrl, `UdpTransactionAttachmentType/search`, {
|
|
2000
|
+
method: "post",
|
|
2001
|
+
data: {
|
|
2002
|
+
pageSize: 50,
|
|
2003
|
+
filterElements: [{
|
|
2004
|
+
searchField: "TransactionTypeId",
|
|
2005
|
+
searchValue: transactionTypeId,
|
|
2006
|
+
searchOperator: "="
|
|
2007
|
+
}]
|
|
2008
|
+
}
|
|
2009
|
+
});
|
|
2010
|
+
const handleDialogClose = () => {
|
|
2011
|
+
setDialogOpen(false);
|
|
2012
|
+
};
|
|
2013
|
+
const handleUnsavedChangesDialogClose = () => {
|
|
2014
|
+
setUnsavedChangesDialogOpen(false);
|
|
2015
|
+
};
|
|
2016
|
+
const handleResetAttachmentState = useCallback((resetSavedAttachmentsState) => {
|
|
2017
|
+
if (resetSavedAttachmentsState) {
|
|
2018
|
+
setAttachmentType(null);
|
|
2019
|
+
setCurrentAttachments([]);
|
|
2020
|
+
}
|
|
2021
|
+
setAttachmentProgress(false);
|
|
2022
|
+
setTransactionAttachments([]);
|
|
2023
|
+
setFilePreview(false);
|
|
2024
|
+
}, []);
|
|
2025
|
+
const executeCloseTransaction = useCallback(async () => {
|
|
2026
|
+
if ((await apiMutate(ConfigService$1.productV1ApiUrl, `udpTransaction/${transaction?.transactionId}/closeTransaction`, { method: "post" }))?.status === 200) {
|
|
2027
|
+
handleSidesheet("edit", false);
|
|
2028
|
+
refreshGridData();
|
|
2029
|
+
handleSuccessSnackbar(t(`Transaction has been closed successfully`));
|
|
2030
|
+
} else handleErrorSnackbar(new Error(t(`Error closing Transaction. Please try again later.`)));
|
|
2031
|
+
}, [
|
|
2032
|
+
transaction,
|
|
2033
|
+
refreshGridData,
|
|
2034
|
+
handleSidesheet,
|
|
2035
|
+
handleSuccessSnackbar,
|
|
2036
|
+
handleErrorSnackbar,
|
|
2037
|
+
t
|
|
2038
|
+
]);
|
|
2039
|
+
const handleConfirmCloseTransactionDialog = useCallback(async () => {
|
|
2040
|
+
try {
|
|
2041
|
+
setClosingTransactionLoading(true);
|
|
2042
|
+
await executeCloseTransaction();
|
|
2043
|
+
} catch (error) {
|
|
2044
|
+
handleErrorSnackbar(error);
|
|
2045
|
+
} finally {
|
|
2046
|
+
setClosingTransactionLoading(false);
|
|
2047
|
+
handleDialogClose();
|
|
2048
|
+
}
|
|
2049
|
+
}, [executeCloseTransaction, handleErrorSnackbar]);
|
|
2050
|
+
const formattedBusinesskey = transactionTypeEntry?.businessObjectKey?.split("|")?.pop();
|
|
2051
|
+
const handleTransactionCreationSuccess = useCallback((response) => {
|
|
2052
|
+
createdTransactionIdRef.current = response?.data?.transactionId ?? null;
|
|
2053
|
+
}, []);
|
|
2054
|
+
const handleTransactionRevisionCreationSuccess = useCallback((response) => {
|
|
2055
|
+
handleSidesheet("createRevision", false);
|
|
2056
|
+
refreshGridData();
|
|
2057
|
+
}, [handleSidesheet, refreshGridData]);
|
|
2058
|
+
const handleFilesSelectedForUpload = useCallback(() => {
|
|
2059
|
+
setCreateTransactionOpenInnerSidesheetState({ attachments: false });
|
|
2060
|
+
enqueueSnackbar(`${currentAttachments.length} file(s) added for upload`, {
|
|
2061
|
+
variant: "success",
|
|
2062
|
+
anchorOrigin: {
|
|
2063
|
+
vertical: "top",
|
|
2064
|
+
horizontal: "center"
|
|
2065
|
+
}
|
|
2066
|
+
});
|
|
2067
|
+
}, [enqueueSnackbar, currentAttachments.length]);
|
|
2068
|
+
const handleUploadFilesForCreateTransaction = useCallback(async (transactionId) => {
|
|
2069
|
+
if (!currentAttachments.length) throw new Error("No files added for upload");
|
|
2070
|
+
const formData = new FormData();
|
|
2071
|
+
currentAttachments.forEach((file) => formData.append("files", file));
|
|
2072
|
+
formData.append("attachmentTypeId", attachmentType.transactionAttachmentTypeId);
|
|
2073
|
+
try {
|
|
2074
|
+
setAttachmentProgress(true);
|
|
2075
|
+
await apiMutate(ConfigService$1.productV1ApiUrl, `UdpTransactionAttachment/transaction/${transactionId}/upload`, {
|
|
2076
|
+
method: "post",
|
|
2077
|
+
headers: {
|
|
2078
|
+
transactionId,
|
|
2079
|
+
attachmentTypeId: attachmentType.transactionAttachmentTypeId
|
|
2080
|
+
},
|
|
2081
|
+
data: formData
|
|
2082
|
+
});
|
|
2083
|
+
setCurrentAttachments([]);
|
|
2084
|
+
setCreateTransactionOpenInnerSidesheetState({ attachments: false });
|
|
2085
|
+
enqueueSnackbar("Files uploaded successfully", {
|
|
2086
|
+
variant: "success",
|
|
2087
|
+
anchorOrigin: {
|
|
2088
|
+
vertical: "top",
|
|
2089
|
+
horizontal: "center"
|
|
2090
|
+
}
|
|
2091
|
+
});
|
|
2092
|
+
} catch (error) {
|
|
2093
|
+
enqueueSnackbar(`File upload failed: We encountered a system error. Please try again or contact support if the issue persists.`, {
|
|
2094
|
+
variant: "error",
|
|
2095
|
+
anchorOrigin: {
|
|
2096
|
+
vertical: "top",
|
|
2097
|
+
horizontal: "center"
|
|
2098
|
+
}
|
|
2099
|
+
});
|
|
2100
|
+
throw error;
|
|
2101
|
+
} finally {
|
|
2102
|
+
setAttachmentProgress(false);
|
|
2103
|
+
}
|
|
2104
|
+
}, [
|
|
2105
|
+
attachmentType,
|
|
2106
|
+
currentAttachments,
|
|
2107
|
+
enqueueSnackbar,
|
|
2108
|
+
setCurrentAttachments,
|
|
2109
|
+
setAttachmentProgress
|
|
2110
|
+
]);
|
|
2111
|
+
const handleTransactionCreation = useCallback(async () => {
|
|
2112
|
+
setSidesheetLoading(true);
|
|
2113
|
+
createdTransactionIdRef.current = null;
|
|
2114
|
+
await formRef.current?.form?.submit();
|
|
2115
|
+
const newTransactionId = createdTransactionIdRef.current;
|
|
2116
|
+
if (newTransactionId && currentAttachments.length > 0) await handleUploadFilesForCreateTransaction(newTransactionId);
|
|
2117
|
+
setSidesheetLoading(false);
|
|
2118
|
+
handleSidesheet("add", false);
|
|
2119
|
+
handleResetAttachmentState(true);
|
|
2120
|
+
refreshGridData();
|
|
2121
|
+
}, [
|
|
2122
|
+
formRef,
|
|
2123
|
+
currentAttachments.length,
|
|
2124
|
+
handleUploadFilesForCreateTransaction,
|
|
2125
|
+
handleSidesheet,
|
|
2126
|
+
handleResetAttachmentState,
|
|
2127
|
+
refreshGridData
|
|
2128
|
+
]);
|
|
2129
|
+
const handleCreateRevision = useCallback(async () => {
|
|
2130
|
+
setSidesheetLoading(true);
|
|
2131
|
+
await formRef.current?.form?.submit();
|
|
2132
|
+
setSidesheetLoading(false);
|
|
2133
|
+
}, [formRef]);
|
|
2134
|
+
const handleNextStepsAction = useCallback(() => {
|
|
2135
|
+
if (!hasUnsavedChanges) setEditTransactionOpenInnerSidesheetState({ workflowAction: true });
|
|
2136
|
+
else setUnsavedChangesDialogOpen(true);
|
|
2137
|
+
}, [hasUnsavedChanges]);
|
|
2138
|
+
const handleConfirmUnsavedChangesDialog = useCallback(() => {
|
|
2139
|
+
setUnsavedChangesDialogOpen(false);
|
|
2140
|
+
setEditTransactionOpenInnerSidesheetState({ workflowAction: true });
|
|
2141
|
+
}, []);
|
|
2142
|
+
const pdfViewPageId = useMemo(() => {
|
|
2143
|
+
return getUiActionRenderPageId(TransactionUiActionTypeEnums.Render_View_Pdf_Page);
|
|
2144
|
+
}, [getUiActionRenderPageId]);
|
|
2145
|
+
const viewTransactionPage = useMemo(() => {
|
|
2146
|
+
if (pdfViewPageId) return /* @__PURE__ */ React.createElement(PageContainer, {
|
|
2147
|
+
pageId: pdfViewPageId,
|
|
2148
|
+
widgetParams: { transaction }
|
|
2149
|
+
});
|
|
2150
|
+
else return /* @__PURE__ */ React.createElement(ViewTransaction, { transaction });
|
|
2151
|
+
}, [transaction, pdfViewPageId]);
|
|
2152
|
+
const transactionIsClosed = useMemo(() => {
|
|
2153
|
+
return checkIfTransactionIsClosed(transaction);
|
|
2154
|
+
}, [checkIfTransactionIsClosed, transaction]);
|
|
2155
|
+
const transactionLabel = useMemo(() => {
|
|
2156
|
+
return getTransactionTypeLabel(transaction) ?? formattedBusinesskey;
|
|
2157
|
+
}, [
|
|
2158
|
+
getTransactionTypeLabel,
|
|
2159
|
+
transaction,
|
|
2160
|
+
formattedBusinesskey
|
|
2161
|
+
]);
|
|
2162
|
+
const transactionCreatePageId = useMemo(() => {
|
|
2163
|
+
return getUiActionRenderPageId(TransactionUiActionTypeEnums.Render_Create_Transaction_Page);
|
|
2164
|
+
}, [getUiActionRenderPageId]);
|
|
2165
|
+
const sidesheetList = useMemo(() => {
|
|
2166
|
+
return [
|
|
2167
|
+
{
|
|
2168
|
+
open: openStates.addTransaction,
|
|
2169
|
+
closeSheet: () => {
|
|
2170
|
+
handleSidesheet("add", false);
|
|
2171
|
+
handleResetAttachmentState(true);
|
|
2172
|
+
},
|
|
2173
|
+
title: domainName,
|
|
2174
|
+
width: sidesheetWidth,
|
|
2175
|
+
onSubmit: handleTransactionCreation,
|
|
2176
|
+
children: /* @__PURE__ */ React.createElement(React.Fragment, null, transactionCreatePageId ? /* @__PURE__ */ React.createElement(UdpTransactionCustomPage, {
|
|
2177
|
+
transactionTypeId,
|
|
2178
|
+
transactionUiActionType: TransactionUiActionTypeEnums.Render_Create_Transaction_Page,
|
|
2179
|
+
formRef,
|
|
2180
|
+
onSubmitSuccess: handleTransactionCreationSuccess,
|
|
2181
|
+
refreshGridData,
|
|
2182
|
+
additionalPageParms: { sidesheetParams: {
|
|
2183
|
+
setSidesheetPrimaryButtonDisabled,
|
|
2184
|
+
setSidesheetSecondaryButtonDisabled
|
|
2185
|
+
} }
|
|
2186
|
+
}) : /* @__PURE__ */ React.createElement(DynamicTransactionDomainForm, {
|
|
2187
|
+
transaction,
|
|
2188
|
+
formRef,
|
|
2189
|
+
domainName,
|
|
2190
|
+
transactionTypeId,
|
|
2191
|
+
transactionUiActionType: TransactionUiActionTypeEnums.Render_Create_Transaction_Page,
|
|
2192
|
+
onSubmitSuccess: handleTransactionCreationSuccess
|
|
2193
|
+
}), /* @__PURE__ */ React.createElement(SideSheet, {
|
|
2194
|
+
key: "Create Transaction: Add Attachment",
|
|
2195
|
+
open: createTransactionOpenInnerSidesheetState?.attachments,
|
|
2196
|
+
width: 600,
|
|
2197
|
+
title: t("Add Attachment"),
|
|
2198
|
+
onClose: () => {
|
|
2199
|
+
setCreateTransactionOpenInnerSidesheetState({ attachments: false });
|
|
2200
|
+
handleResetAttachmentState(true);
|
|
2201
|
+
},
|
|
2202
|
+
buttonLabel: t("Save"),
|
|
2203
|
+
buttonOneDisabled: !attachmentType || currentAttachments.length <= 0,
|
|
2204
|
+
onSubmit: handleFilesSelectedForUpload,
|
|
2205
|
+
color: "primary"
|
|
2206
|
+
}, /* @__PURE__ */ React.createElement(Attachments, {
|
|
2207
|
+
attachmentTypes: transactionAttachmentTypes,
|
|
2208
|
+
attachmentType,
|
|
2209
|
+
setAttachmentType,
|
|
2210
|
+
attachmentProgress,
|
|
2211
|
+
setAttachmentProgress,
|
|
2212
|
+
currentAttachments,
|
|
2213
|
+
setCurrentAttachments,
|
|
2214
|
+
transaction,
|
|
2215
|
+
previousAttachments: transactionAttachments,
|
|
2216
|
+
setPreviousAttachments: setTransactionAttachments,
|
|
2217
|
+
MAX_FILE_SIZE_MB,
|
|
2218
|
+
allowedExtensions,
|
|
2219
|
+
filePreview,
|
|
2220
|
+
setFilePreview
|
|
2221
|
+
}))),
|
|
2222
|
+
buttonLabel: "Add",
|
|
2223
|
+
buttonTwoLabel: /* @__PURE__ */ React.createElement(Badge, {
|
|
2224
|
+
badgeContent: currentAttachments?.length,
|
|
2225
|
+
color: "primary"
|
|
2226
|
+
}, "Add Attachment"),
|
|
2227
|
+
buttonTwoAction: () => setCreateTransactionOpenInnerSidesheetState({ attachments: true })
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
open: openStates.viewTransaction,
|
|
2231
|
+
closeSheet: () => handleSidesheet("view", false),
|
|
2232
|
+
title: domainName + " " + transactionLabel + " - Preview",
|
|
2233
|
+
width: sidesheetWidth,
|
|
2234
|
+
children: viewTransactionPage,
|
|
2235
|
+
buttonLabel: !pdfViewPageId ? "Download" : null
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
open: openStates.attachmentTransaction,
|
|
2239
|
+
closeSheet: () => handleSidesheet("view", false),
|
|
2240
|
+
title: "Attachment for " + domainName + " " + transactionLabel,
|
|
2241
|
+
width: sidesheetWidth,
|
|
2242
|
+
buttonLabel: "Download",
|
|
2243
|
+
onSubmit: () => {
|
|
2244
|
+
if (attachmentRef.current) attachmentRef.current.downloadSelectedFile();
|
|
2245
|
+
},
|
|
2246
|
+
children: /* @__PURE__ */ React.createElement(AttachmentTransaction, {
|
|
2247
|
+
handleAttachmentTransaction,
|
|
2248
|
+
attachmentRef,
|
|
2249
|
+
transaction,
|
|
2250
|
+
domainName,
|
|
2251
|
+
setSidesheetLoading
|
|
2252
|
+
})
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
open: openStates.workflowAction,
|
|
2256
|
+
closeSheet: () => handleSidesheet("action", false),
|
|
2257
|
+
title: `Workflow Actions - ${domainName} ${transactionLabel}`,
|
|
2258
|
+
width: sidesheetWidth,
|
|
2259
|
+
children: /* @__PURE__ */ React.createElement(WorkflowActions, {
|
|
2260
|
+
transaction,
|
|
2261
|
+
closeSideSheet: () => {
|
|
2262
|
+
handleSidesheet("action", false);
|
|
2263
|
+
},
|
|
2264
|
+
refreshGridData
|
|
2265
|
+
})
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
open: openStates.editTransaction,
|
|
2269
|
+
closeSheet: () => {
|
|
2270
|
+
handleSidesheet("edit", false);
|
|
2271
|
+
handleResetAttachmentState(true);
|
|
2272
|
+
},
|
|
2273
|
+
title: `Edit ${domainName} ${transactionLabel}`,
|
|
2274
|
+
width: sidesheetWidth,
|
|
2275
|
+
buttonLabel: "Next Steps",
|
|
2276
|
+
buttonOneDisabled: transactionIsClosed,
|
|
2277
|
+
onSubmit: handleNextStepsAction,
|
|
2278
|
+
buttonTwoLabel: "Close " + domainName,
|
|
2279
|
+
buttonTwoDisabled: transactionIsClosed || !hasClosedStatus,
|
|
2280
|
+
buttonTwoAction: () => setDialogOpen(true),
|
|
2281
|
+
children: /* @__PURE__ */ React.createElement(EditTransaction, {
|
|
2282
|
+
transaction,
|
|
2283
|
+
transactionTypeId,
|
|
2284
|
+
transactionIsClosed,
|
|
2285
|
+
openInnerSidesheetState: editTransactionopenInnerSidesheetState,
|
|
2286
|
+
setOpenInnerSidesheetState: setEditTransactionOpenInnerSidesheetState,
|
|
2287
|
+
refreshGridData,
|
|
2288
|
+
closeSideSheet: () => {
|
|
2289
|
+
handleSidesheet("edit", false);
|
|
2290
|
+
handleResetAttachmentState(true);
|
|
2291
|
+
},
|
|
2292
|
+
setSidesheetLoading,
|
|
2293
|
+
setHasUnsavedChanges,
|
|
2294
|
+
attachmentType,
|
|
2295
|
+
setAttachmentType,
|
|
2296
|
+
currentAttachments,
|
|
2297
|
+
setCurrentAttachments,
|
|
2298
|
+
attachmentProgress,
|
|
2299
|
+
setAttachmentProgress,
|
|
2300
|
+
transactionAttachmentTypes,
|
|
2301
|
+
transactionAttachments,
|
|
2302
|
+
setTransactionAttachments,
|
|
2303
|
+
filePreview,
|
|
2304
|
+
setFilePreview,
|
|
2305
|
+
domainName,
|
|
2306
|
+
additionalPageParms: { sidesheetParams: {
|
|
2307
|
+
setSidesheetPrimaryButtonDisabled,
|
|
2308
|
+
setSidesheetSecondaryButtonDisabled
|
|
2309
|
+
} }
|
|
2310
|
+
})
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
open: openStates.createRevision,
|
|
2314
|
+
closeSheet: () => handleSidesheet("createRevision", false),
|
|
2315
|
+
title: `Create Revision for ${domainName}`,
|
|
2316
|
+
width: sidesheetWidth,
|
|
2317
|
+
onSubmit: handleCreateRevision,
|
|
2318
|
+
children: /* @__PURE__ */ React.createElement(UdpTransactionCustomPage, {
|
|
2319
|
+
transactionTypeId,
|
|
2320
|
+
transactionUiActionType: TransactionUiActionTypeEnums.Render_Create_Revision_Page,
|
|
2321
|
+
formRef,
|
|
2322
|
+
transaction,
|
|
2323
|
+
onSubmitSuccess: handleTransactionRevisionCreationSuccess,
|
|
2324
|
+
refreshGridData,
|
|
2325
|
+
additionalPageParms: { sidesheetParams: {
|
|
2326
|
+
setSidesheetPrimaryButtonDisabled,
|
|
2327
|
+
setSidesheetSecondaryButtonDisabled
|
|
2328
|
+
} }
|
|
2329
|
+
}),
|
|
2330
|
+
buttonLabel: "Create Revision"
|
|
2331
|
+
}
|
|
2332
|
+
];
|
|
2333
|
+
}, [
|
|
2334
|
+
openStates,
|
|
2335
|
+
handleSidesheet,
|
|
2336
|
+
handleAttachmentTransaction,
|
|
2337
|
+
transaction,
|
|
2338
|
+
domainName,
|
|
2339
|
+
editTransactionopenInnerSidesheetState,
|
|
2340
|
+
setEditTransactionOpenInnerSidesheetState,
|
|
2341
|
+
transactionLabel,
|
|
2342
|
+
refreshGridData,
|
|
2343
|
+
transactionTypeId,
|
|
2344
|
+
handleTransactionCreation,
|
|
2345
|
+
handleTransactionCreationSuccess,
|
|
2346
|
+
hasClosedStatus,
|
|
2347
|
+
handleCreateRevision,
|
|
2348
|
+
transactionIsClosed,
|
|
2349
|
+
viewTransactionPage,
|
|
2350
|
+
pdfViewPageId,
|
|
2351
|
+
sidesheetWidth,
|
|
2352
|
+
handleNextStepsAction,
|
|
2353
|
+
transactionCreatePageId,
|
|
2354
|
+
createTransactionOpenInnerSidesheetState,
|
|
2355
|
+
t,
|
|
2356
|
+
attachmentType,
|
|
2357
|
+
setAttachmentType,
|
|
2358
|
+
currentAttachments,
|
|
2359
|
+
setCurrentAttachments,
|
|
2360
|
+
attachmentProgress,
|
|
2361
|
+
setAttachmentProgress,
|
|
2362
|
+
transactionAttachmentTypes,
|
|
2363
|
+
transactionAttachments,
|
|
2364
|
+
setTransactionAttachments,
|
|
2365
|
+
filePreview,
|
|
2366
|
+
setFilePreview,
|
|
2367
|
+
handleResetAttachmentState,
|
|
2368
|
+
handleFilesSelectedForUpload,
|
|
2369
|
+
handleTransactionRevisionCreationSuccess
|
|
2370
|
+
]);
|
|
2371
|
+
useEffect(() => {
|
|
2372
|
+
if ((openStates?.addTransaction || openStates?.editTransaction) && !transactionAttachmentTypes) {
|
|
2373
|
+
setAttachmentProgress(true);
|
|
2374
|
+
fetchTransactionAttachmentType().then(() => {
|
|
2375
|
+
setAttachmentProgress(false);
|
|
2376
|
+
});
|
|
2377
|
+
}
|
|
2378
|
+
}, [
|
|
2379
|
+
fetchTransactionAttachmentType,
|
|
2380
|
+
transactionAttachmentTypes,
|
|
2381
|
+
openStates.addTransaction,
|
|
2382
|
+
openStates.editTransaction
|
|
2383
|
+
]);
|
|
2384
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, openStates && sidesheetList.map((item) => {
|
|
2385
|
+
return /* @__PURE__ */ React.createElement(SideSheet, {
|
|
2386
|
+
key: item.title,
|
|
2387
|
+
open: item.open,
|
|
2388
|
+
width: sidesheetWidth,
|
|
2389
|
+
title: item.title,
|
|
2390
|
+
onClose: item.closeSheet,
|
|
2391
|
+
noPadding: openStates.attachmentTransaction || openStates.editTransaction,
|
|
2392
|
+
buttonLabel: item?.buttonLabel,
|
|
2393
|
+
onSubmit: item?.onSubmit,
|
|
2394
|
+
color: "primary",
|
|
2395
|
+
buttonTwoLabel: item?.buttonTwoLabel,
|
|
2396
|
+
buttonTwoAction: item?.buttonTwoAction,
|
|
2397
|
+
buttonOneDisabled: item?.buttonOneDisabled || sidesheetPrimaryButtonDisabled,
|
|
2398
|
+
buttonTwoDisabled: item?.buttonTwoDisabled || sidesheetSecondaryButtonDisabled,
|
|
2399
|
+
progress: sidesheetLoading,
|
|
2400
|
+
variant: "indeterminate"
|
|
2401
|
+
}, /* @__PURE__ */ React.createElement("div", null, item.children));
|
|
2402
|
+
}), /* @__PURE__ */ React.createElement(FluentDialog, {
|
|
2403
|
+
title: t(`Close Transaction`),
|
|
2404
|
+
message: `Are you sure you want to close transaction for ${transaction?.entityBusinessKey || ""}?`,
|
|
2405
|
+
labelOne: t("Confirm"),
|
|
2406
|
+
actionOne: handleConfirmCloseTransactionDialog,
|
|
2407
|
+
labelTwo: t("Cancel"),
|
|
2408
|
+
actionTwo: handleDialogClose,
|
|
2409
|
+
open: dialogOpen,
|
|
2410
|
+
handleClose: handleDialogClose,
|
|
2411
|
+
loading: closingTransactionLoading
|
|
2412
|
+
}), /* @__PURE__ */ React.createElement(FluentDialog, {
|
|
2413
|
+
title: t(`Unsaved Changes`),
|
|
2414
|
+
message: `You have unsaved changes. Are you sure you want to go to next steps?`,
|
|
2415
|
+
labelOne: t("Confirm"),
|
|
2416
|
+
actionOne: handleConfirmUnsavedChangesDialog,
|
|
2417
|
+
labelTwo: t("Cancel"),
|
|
2418
|
+
actionTwo: handleUnsavedChangesDialogClose,
|
|
2419
|
+
open: unsavedChangesDialogOpen,
|
|
2420
|
+
handleClose: handleUnsavedChangesDialogClose,
|
|
2421
|
+
loading: closingTransactionLoading
|
|
2422
|
+
}));
|
|
2423
|
+
};
|
|
2424
|
+
|
|
2425
|
+
//#endregion
|
|
2426
|
+
//#region src/hooks/useTransactionType.js
|
|
2427
|
+
const useTransactionType = (options = {}) => {
|
|
2428
|
+
const { transactionTypeId, domainName, domainFieldType, domainFieldValue } = options;
|
|
2429
|
+
const [resolvedId, setResolvedId] = useState(transactionTypeId || null);
|
|
2430
|
+
const [data, setData] = useState(void 0);
|
|
2431
|
+
const [loading, setLoading] = useState(true);
|
|
2432
|
+
const [error, setError] = useState(void 0);
|
|
2433
|
+
const [promise, setPromise] = useState(void 0);
|
|
2434
|
+
const { transactionTypesMap, setTransactionTypesMap } = useTransactionStore();
|
|
2435
|
+
const setSuccessState = useCallback((response) => {
|
|
2436
|
+
setError(void 0);
|
|
2437
|
+
setLoading(false);
|
|
2438
|
+
setData(response);
|
|
2439
|
+
}, []);
|
|
2440
|
+
useEffect(() => {
|
|
2441
|
+
if (transactionTypeId) {
|
|
2442
|
+
setResolvedId(transactionTypeId);
|
|
2443
|
+
return;
|
|
2444
|
+
}
|
|
2445
|
+
if (!domainName) return;
|
|
2446
|
+
setLoading(true);
|
|
2447
|
+
const domainPromise = apiMutate(ConfigService$1.productV1ApiUrl, `udpTransactionType/domain/${domainName}${domainFieldType && domainFieldValue ? `?domainFieldType=${domainFieldType}&domainFieldValue=${domainFieldValue}` : ""}`, {});
|
|
2448
|
+
domainPromise.then((res) => {
|
|
2449
|
+
const newId = res.data?.transactionTypeId;
|
|
2450
|
+
if (newId) {
|
|
2451
|
+
setResolvedId(newId);
|
|
2452
|
+
setTransactionTypesMap({ [newId]: res.data });
|
|
2453
|
+
setSuccessState(res.data);
|
|
2454
|
+
} else setError("Transaction type not found for domain.");
|
|
2455
|
+
}).catch(setError).finally(() => setPromise(domainPromise));
|
|
2456
|
+
}, [
|
|
2457
|
+
transactionTypeId,
|
|
2458
|
+
domainName,
|
|
2459
|
+
domainFieldType,
|
|
2460
|
+
domainFieldValue
|
|
2461
|
+
]);
|
|
2462
|
+
useEffect(() => {
|
|
2463
|
+
if (!resolvedId) return;
|
|
2464
|
+
if (transactionTypesMap[resolvedId]) {
|
|
2465
|
+
setSuccessState(transactionTypesMap[resolvedId]);
|
|
2466
|
+
return;
|
|
2467
|
+
}
|
|
2468
|
+
setLoading(true);
|
|
2469
|
+
const fetchPromise = apiMutate(ConfigService$1.productV1ApiUrl, `udpTransactionType/${resolvedId}?withAssociationData=true`, {});
|
|
2470
|
+
fetchPromise.then((res) => {
|
|
2471
|
+
const transactionType = res.data;
|
|
2472
|
+
setTransactionTypesMap({ [resolvedId]: transactionType });
|
|
2473
|
+
setSuccessState(transactionType);
|
|
2474
|
+
}).catch(setError).finally(() => setPromise(fetchPromise));
|
|
2475
|
+
}, [
|
|
2476
|
+
resolvedId,
|
|
2477
|
+
transactionTypesMap,
|
|
2478
|
+
setTransactionTypesMap,
|
|
2479
|
+
setSuccessState
|
|
2480
|
+
]);
|
|
2481
|
+
return {
|
|
2482
|
+
data,
|
|
2483
|
+
loading,
|
|
2484
|
+
error,
|
|
2485
|
+
promise
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
|
|
2489
|
+
//#endregion
|
|
2490
|
+
//#region src/hooks/useUdpGridFilterModel.js
|
|
2491
|
+
const useUdpGridFilterModel = () => {
|
|
2492
|
+
const { search } = useLocation();
|
|
2493
|
+
const searchParams = useMemo(() => new URLSearchParams(search), [search]);
|
|
2494
|
+
return useMemo(() => {
|
|
2495
|
+
const constructedFilterModel = {};
|
|
2496
|
+
searchParams.forEach((value, key) => {
|
|
2497
|
+
if (key.startsWith(`${UdpSearchEnums.UdpQueryParamPrefix}-`)) {
|
|
2498
|
+
const paramBody = key.replace(`${UdpSearchEnums.UdpQueryParamPrefix}-`, "");
|
|
2499
|
+
const lastHyphenIndex = paramBody.lastIndexOf("-");
|
|
2500
|
+
if (lastHyphenIndex !== -1) {
|
|
2501
|
+
const field = paramBody.substring(0, lastHyphenIndex);
|
|
2502
|
+
const operator = paramBody.substring(lastHyphenIndex + 1).replace(/_([a-z])/g, (_, char) => char.toUpperCase());
|
|
2503
|
+
const { filterType, filterKey, parsedValue } = parseFilterValue(value);
|
|
2504
|
+
if (constructedFilterModel[field]) constructedFilterModel[field].conditions.push({
|
|
2505
|
+
filterType,
|
|
2506
|
+
type: operator,
|
|
2507
|
+
[filterKey]: parsedValue
|
|
2508
|
+
});
|
|
2509
|
+
else constructedFilterModel[field] = {
|
|
2510
|
+
filterType,
|
|
2511
|
+
operator: "OR",
|
|
2512
|
+
conditions: [{
|
|
2513
|
+
filterType,
|
|
2514
|
+
type: operator,
|
|
2515
|
+
[filterKey]: parsedValue
|
|
2516
|
+
}]
|
|
2517
|
+
};
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
});
|
|
2521
|
+
return constructedFilterModel;
|
|
2522
|
+
}, [searchParams]);
|
|
2523
|
+
};
|
|
2524
|
+
const parseFilterValue = (value) => {
|
|
2525
|
+
if (!isNaN(Date.parse(value)) && (value.includes("-") || value.includes("/"))) return {
|
|
2526
|
+
filterType: "date",
|
|
2527
|
+
filterKey: "dateFrom",
|
|
2528
|
+
parsedValue: value
|
|
2529
|
+
};
|
|
2530
|
+
if (!isNaN(value) && !isNaN(parseFloat(value))) return {
|
|
2531
|
+
filterType: "number",
|
|
2532
|
+
filterKey: "filter",
|
|
2533
|
+
parsedValue: Number(value)
|
|
2534
|
+
};
|
|
2535
|
+
return {
|
|
2536
|
+
filterType: "text",
|
|
2537
|
+
filterKey: "filter",
|
|
2538
|
+
parsedValue: value
|
|
2539
|
+
};
|
|
2540
|
+
};
|
|
2541
|
+
|
|
2542
|
+
//#endregion
|
|
2543
|
+
//#region src/udp/pages/UdpTransactionsPage/UdpTransactionsPage.jsx
|
|
2544
|
+
const UdpTransactionsPage = (props) => {
|
|
2545
|
+
const { transactionTypeId = "", domainName: initialDomainName = "", domainFieldType, domainFieldValue, searchMethodObject, domainColumnFormatters, gridOptions, onBeforeRefresh, onAfterRefresh } = props;
|
|
2546
|
+
const [sidesheetState, setSidesheetState] = useState({
|
|
2547
|
+
workflowAction: false,
|
|
2548
|
+
addTransaction: false,
|
|
2549
|
+
editTransaction: false,
|
|
2550
|
+
viewTransaction: false,
|
|
2551
|
+
attachmentTransaction: false,
|
|
2552
|
+
createRevision: false
|
|
2553
|
+
});
|
|
2554
|
+
const [selectedTransaction, setSelectedTransaction] = useState(null);
|
|
2555
|
+
const [gridApi, setGridApi] = useState(null);
|
|
2556
|
+
const location = useLocation();
|
|
2557
|
+
const state = location.state;
|
|
2558
|
+
let searchParamStr = location.search;
|
|
2559
|
+
let searchParams = new URLSearchParams(searchParamStr);
|
|
2560
|
+
const initialTransactionTypeId = state?.params?.udpTransactionTypeId ? state.params.udpTransactionTypeId : searchParams.has("udpTransactionTypeId") === true ? searchParams.get("udpTransactionTypeId") : "";
|
|
2561
|
+
const { data: transactionType, loading: transactionTypeLoading, error: transactionTypeError } = useTransactionType({
|
|
2562
|
+
transactionTypeId: transactionTypeId || initialTransactionTypeId,
|
|
2563
|
+
domainName: initialDomainName,
|
|
2564
|
+
domainFieldType,
|
|
2565
|
+
domainFieldValue
|
|
2566
|
+
});
|
|
2567
|
+
useTransactionEngine(transactionType?.transactionTypeId);
|
|
2568
|
+
const { currentApiCatalogId, catalogsMap } = useCatalogStore();
|
|
2569
|
+
const filterModel = useUdpGridFilterModel();
|
|
2570
|
+
const handleSidesheet = (actionType, openStatus, transaction, width = 800) => {
|
|
2571
|
+
if (actionType == "add") setSidesheetState({
|
|
2572
|
+
addTransaction: openStatus,
|
|
2573
|
+
width
|
|
2574
|
+
});
|
|
2575
|
+
else if (actionType == "edit") setSidesheetState({
|
|
2576
|
+
editTransaction: openStatus,
|
|
2577
|
+
width
|
|
2578
|
+
});
|
|
2579
|
+
else if (actionType == "view") setSidesheetState({
|
|
2580
|
+
viewTransaction: openStatus,
|
|
2581
|
+
width
|
|
2582
|
+
});
|
|
2583
|
+
else if (actionType == "attachment") setSidesheetState({
|
|
2584
|
+
attachmentTransaction: openStatus,
|
|
2585
|
+
width
|
|
2586
|
+
});
|
|
2587
|
+
else if (actionType == "action") setSidesheetState({
|
|
2588
|
+
workflowAction: openStatus,
|
|
2589
|
+
width
|
|
2590
|
+
});
|
|
2591
|
+
else if (actionType == "createRevision") setSidesheetState({
|
|
2592
|
+
createRevision: openStatus,
|
|
2593
|
+
width
|
|
2594
|
+
});
|
|
2595
|
+
setSelectedTransaction(transaction);
|
|
2596
|
+
};
|
|
2597
|
+
const handleAttachmentTransaction = () => {};
|
|
2598
|
+
const handleGridApiCallback = useCallback((api) => {
|
|
2599
|
+
setGridApi(api);
|
|
2600
|
+
}, []);
|
|
2601
|
+
const domainName = useMemo(() => {
|
|
2602
|
+
if (transactionType) return transactionType.domainName.split(".").pop();
|
|
2603
|
+
return initialDomainName;
|
|
2604
|
+
}, [transactionType, initialDomainName]);
|
|
2605
|
+
const catalogObjectList = useMemo(() => {
|
|
2606
|
+
if (catalogsMap && currentApiCatalogId && catalogsMap[currentApiCatalogId]) return catalogsMap[currentApiCatalogId]?.ctlg?.catalogObjectList;
|
|
2607
|
+
return null;
|
|
2608
|
+
}, [catalogsMap, currentApiCatalogId]);
|
|
2609
|
+
const refreshGridData = useCallback(async () => {
|
|
2610
|
+
if (onBeforeRefresh) await onBeforeRefresh(gridApi);
|
|
2611
|
+
gridApi?.refreshServerSide();
|
|
2612
|
+
if (onAfterRefresh) await onAfterRefresh(gridApi);
|
|
2613
|
+
}, [
|
|
2614
|
+
gridApi,
|
|
2615
|
+
onBeforeRefresh,
|
|
2616
|
+
onAfterRefresh
|
|
2617
|
+
]);
|
|
2618
|
+
if (!transactionTypeId && !initialTransactionTypeId && !initialDomainName) return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Typography$1, { variant: "h6" }, "Error loading Transaction Type: No Transaction type provided."));
|
|
2619
|
+
if (!transactionType || !catalogObjectList) return /* @__PURE__ */ React.createElement("div", { className: "udp-transaction-page-loading" }, /* @__PURE__ */ React.createElement(CircularProgress, { size: 64 }));
|
|
2620
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(UdpTransactionGrid, {
|
|
2621
|
+
transactionTypeId: transactionType?.transactionTypeId,
|
|
2622
|
+
transactionType,
|
|
2623
|
+
domainName,
|
|
2624
|
+
transactionTypeLoading,
|
|
2625
|
+
searchMethodObject,
|
|
2626
|
+
domainColumnFormatters,
|
|
2627
|
+
catalogObjectList,
|
|
2628
|
+
openAddTransaction: () => {
|
|
2629
|
+
handleSidesheet("add", true);
|
|
2630
|
+
},
|
|
2631
|
+
openViewTransaction: (transaction) => {
|
|
2632
|
+
handleSidesheet("view", true, transaction);
|
|
2633
|
+
},
|
|
2634
|
+
openEditTransaction: (transaction) => {
|
|
2635
|
+
handleSidesheet("edit", true, transaction);
|
|
2636
|
+
},
|
|
2637
|
+
openAttachmentTransaction: (transaction) => {
|
|
2638
|
+
handleSidesheet("attachment", true, transaction, 1e3);
|
|
2639
|
+
},
|
|
2640
|
+
openWorkflowActionTransaction: (transaction) => {
|
|
2641
|
+
handleSidesheet("action", true, transaction);
|
|
2642
|
+
},
|
|
2643
|
+
openCreateRevision: (transaction) => {
|
|
2644
|
+
handleSidesheet("createRevision", true, transaction);
|
|
2645
|
+
},
|
|
2646
|
+
handleGridApiCallback,
|
|
2647
|
+
refreshGridData,
|
|
2648
|
+
gridApi,
|
|
2649
|
+
initialFilterModel: filterModel,
|
|
2650
|
+
initialGridOptions: gridOptions
|
|
2651
|
+
}), /* @__PURE__ */ React.createElement(UdpTransactionSidesheet, {
|
|
2652
|
+
openStates: sidesheetState,
|
|
2653
|
+
handleSidesheet,
|
|
2654
|
+
handleAttachmentTransaction,
|
|
2655
|
+
transaction: selectedTransaction,
|
|
2656
|
+
transactionTypeId: transactionType?.transactionTypeId,
|
|
2657
|
+
domainName,
|
|
2658
|
+
refreshGridData
|
|
2659
|
+
}));
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
//#endregion
|
|
2663
|
+
export { UdpTransactionsPage as t };
|
|
2664
|
+
//# sourceMappingURL=UdpTransactionsPage-CNANTMGx.js.map
|