@visns-studio/visns-components 5.9.7 → 5.9.9
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/package.json +5 -5
- package/src/components/crm/BusinessCardOcr.jsx +1480 -193
- package/src/components/crm/DataGrid.jsx +5 -6
- package/src/components/crm/Navigation.jsx +16 -2
- package/src/components/crm/generic/GenericReportImproved.jsx +4083 -0
- package/src/components/crm/generic/styles/GenericReportImproved.module.scss +2032 -0
- package/src/components/crm/styles/BusinessCardOcr.module.scss +263 -0
- package/src/index.js +2 -0
|
@@ -702,12 +702,11 @@ const DataGrid = forwardRef(
|
|
|
702
702
|
}
|
|
703
703
|
});
|
|
704
704
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
initialCollapsedState
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
groupsInitializedRef.current = true;
|
|
705
|
+
if (ajaxSetting?.defaultCollapsed === false) {
|
|
706
|
+
} else {
|
|
707
|
+
setCollapsedGroups(initialCollapsedState);
|
|
708
|
+
groupsInitializedRef.current = true;
|
|
709
|
+
}
|
|
711
710
|
}
|
|
712
711
|
}
|
|
713
712
|
|
|
@@ -625,7 +625,14 @@ function Navigation({
|
|
|
625
625
|
onContactSaved={(contact) => {
|
|
626
626
|
console.log('Contact saved:', contact);
|
|
627
627
|
}}
|
|
628
|
-
fields={
|
|
628
|
+
fields={
|
|
629
|
+
navData.settings.find((s) => s.id === 'businessCardOcr')
|
|
630
|
+
?.setting.fields || []
|
|
631
|
+
}
|
|
632
|
+
fetchConfig={
|
|
633
|
+
navData.settings.find((s) => s.id === 'businessCardOcr')
|
|
634
|
+
?.setting.fetch || []
|
|
635
|
+
}
|
|
629
636
|
/>
|
|
630
637
|
</div>
|
|
631
638
|
) : (
|
|
@@ -670,7 +677,14 @@ function Navigation({
|
|
|
670
677
|
onContactSaved={(contact) => {
|
|
671
678
|
console.log('Contact saved:', contact);
|
|
672
679
|
}}
|
|
673
|
-
fields={
|
|
680
|
+
fields={
|
|
681
|
+
navData.settings.find((s) => s.id === 'businessCardOcr')
|
|
682
|
+
?.setting.fields || []
|
|
683
|
+
}
|
|
684
|
+
fetchConfig={
|
|
685
|
+
navData.settings.find((s) => s.id === 'businessCardOcr')
|
|
686
|
+
?.setting.fetch || null
|
|
687
|
+
}
|
|
674
688
|
/>
|
|
675
689
|
</div>
|
|
676
690
|
);
|