@visns-studio/visns-components 2.6.11 → 2.6.12
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/components/crm/Field.jsx
CHANGED
|
@@ -20,9 +20,11 @@ import 'react-quill/dist/quill.snow.css';
|
|
|
20
20
|
import 'react-datepicker/dist/react-datepicker.css';
|
|
21
21
|
|
|
22
22
|
function Field({
|
|
23
|
+
autocompleteCallback,
|
|
23
24
|
childDropdownCallback,
|
|
24
25
|
inputValue,
|
|
25
26
|
inputClass,
|
|
27
|
+
mapbox,
|
|
26
28
|
onChange,
|
|
27
29
|
onChangeColour,
|
|
28
30
|
onChangeDate,
|
|
@@ -30,7 +32,6 @@ function Field({
|
|
|
30
32
|
onChangeRicheditor,
|
|
31
33
|
onChangeToggle,
|
|
32
34
|
onChangeNumberFormat,
|
|
33
|
-
autocompleteCallback,
|
|
34
35
|
setFormData,
|
|
35
36
|
settings,
|
|
36
37
|
style,
|
|
@@ -497,6 +498,7 @@ function Field({
|
|
|
497
498
|
country="AU"
|
|
498
499
|
field={settings.id}
|
|
499
500
|
inputValue={inputValue}
|
|
501
|
+
mapbox={mapbox}
|
|
500
502
|
onSelect={autocompleteCallback}
|
|
501
503
|
setFormData={setFormData}
|
|
502
504
|
style={style}
|
package/components/crm/Form.jsx
CHANGED
|
@@ -17,10 +17,10 @@ function Form({
|
|
|
17
17
|
formType,
|
|
18
18
|
formSettings,
|
|
19
19
|
fetchTable,
|
|
20
|
+
mapbox,
|
|
20
21
|
style,
|
|
21
22
|
type,
|
|
22
23
|
updateForm,
|
|
23
|
-
userProfile,
|
|
24
24
|
}) {
|
|
25
25
|
const navigate = useNavigate();
|
|
26
26
|
const [inputClass, setInputClass] = useState({});
|
|
@@ -866,6 +866,7 @@ function Form({
|
|
|
866
866
|
ajaxSetting={item.ajaxSetting}
|
|
867
867
|
form={item.form}
|
|
868
868
|
columns={item.columns}
|
|
869
|
+
mapbox={mapbox}
|
|
869
870
|
settings={item.settings}
|
|
870
871
|
style={
|
|
871
872
|
userProfile?.settings?.style ||
|
|
@@ -907,9 +908,10 @@ function Form({
|
|
|
907
908
|
childDropdownCallback={
|
|
908
909
|
childDropdownCallback
|
|
909
910
|
}
|
|
910
|
-
|
|
911
|
+
mapbox={mapbox}
|
|
911
912
|
setFormData={setFormData}
|
|
912
913
|
style={style}
|
|
914
|
+
uploadProgress={uploadProgress}
|
|
913
915
|
/>
|
|
914
916
|
);
|
|
915
917
|
}
|
|
@@ -996,6 +998,7 @@ function Form({
|
|
|
996
998
|
childDropdownCallback
|
|
997
999
|
}
|
|
998
1000
|
uploadProgress={uploadProgress}
|
|
1001
|
+
mapbox={mapbox}
|
|
999
1002
|
setFormData={setFormData}
|
|
1000
1003
|
style={style}
|
|
1001
1004
|
/>
|
package/package.json
CHANGED