@visns-studio/visns-components 4.2.9 → 4.2.10

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.
@@ -492,6 +492,12 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
492
492
  </span>
493
493
  </label>
494
494
  );
495
+ case 'section':
496
+ return (
497
+ <div className={styles.gridtxt__header}>
498
+ <span>{field.label}</span>
499
+ </div>
500
+ );
495
501
  case 'signature':
496
502
  return (
497
503
  <label className={styles.fi__label}>
@@ -894,6 +900,9 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
894
900
  <option value="plaintext">
895
901
  Plain Text
896
902
  </option>
903
+ <option value="section">
904
+ Section
905
+ </option>
897
906
  <option value="signature">
898
907
  Signature
899
908
  </option>
@@ -1025,18 +1034,28 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
1025
1034
  value={dataField.size}
1026
1035
  onChange={handleChangeForm}
1027
1036
  >
1028
- <option>
1029
- Please Select an Option
1030
- </option>
1031
- <option value="quarter">
1032
- Quarter
1033
- </option>
1034
- <option value="half">
1035
- Half
1036
- </option>
1037
- <option value="full">
1038
- Full
1039
- </option>
1037
+ {dataField.type ===
1038
+ 'section' ? (
1039
+ <option value="full">
1040
+ Full
1041
+ </option>
1042
+ ) : (
1043
+ <>
1044
+ <option>
1045
+ Please Select an
1046
+ Option
1047
+ </option>
1048
+ <option value="quarter">
1049
+ Quarter
1050
+ </option>
1051
+ <option value="half">
1052
+ Half
1053
+ </option>
1054
+ <option value="full">
1055
+ Full
1056
+ </option>
1057
+ </>
1058
+ )}
1040
1059
  </select>
1041
1060
  <span className={styles.fi__span}>
1042
1061
  Size *
@@ -1050,11 +1069,25 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
1050
1069
  value={dataField.required}
1051
1070
  onChange={handleChangeForm}
1052
1071
  >
1053
- <option>
1054
- Please Select an Option
1055
- </option>
1056
- <option value="no">No</option>
1057
- <option value="yes">Yes</option>
1072
+ {dataField.type ===
1073
+ 'section' ? (
1074
+ <option value="no">
1075
+ No
1076
+ </option>
1077
+ ) : (
1078
+ <>
1079
+ <option>
1080
+ Please Select an
1081
+ Option
1082
+ </option>
1083
+ <option value="no">
1084
+ No
1085
+ </option>
1086
+ <option value="yes">
1087
+ Yes
1088
+ </option>
1089
+ </>
1090
+ )}
1058
1091
  </select>
1059
1092
  <span className={styles.fi__span}>
1060
1093
  Required? *
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "react-color": "^2.19.3",
26
26
  "react-confirm-alert": "^3.0.6",
27
27
  "react-copy-to-clipboard": "^5.1.0",
28
- "react-datepicker": "^6.9.0",
28
+ "react-datepicker": "^7.2.0",
29
29
  "react-dropzone": "^14.2.3",
30
30
  "react-grid-gallery": "^1.0.1",
31
31
  "react-number-format": "^5.4.0",
@@ -34,8 +34,8 @@
34
34
  "react-quill": "^2.0.0",
35
35
  "react-reveal": "^1.2.2",
36
36
  "react-select": "^5.8.0",
37
- "react-signature-pad-wrapper": "^3.4.1",
38
- "react-slugify": "^3.0.3",
37
+ "react-signature-pad-wrapper": "^4.0.1",
38
+ "react-slugify": "^4.0.1",
39
39
  "react-sortable-hoc": "^2.0.0",
40
40
  "react-to-print": "^2.15.1",
41
41
  "react-toastify": "^10.0.5",
@@ -44,7 +44,7 @@
44
44
  "react-window": "^1.8.10",
45
45
  "reactjs-popup": "^2.0.6",
46
46
  "truncate": "^3.0.0",
47
- "uuid": "^9.0.1",
47
+ "uuid": "^10.0.0",
48
48
  "validator": "^13.12.0",
49
49
  "yarn": "^1.22.22"
50
50
  },
@@ -57,7 +57,7 @@
57
57
  "react-dom": "^17.0.1"
58
58
  },
59
59
  "name": "@visns-studio/visns-components",
60
- "version": "4.2.9",
60
+ "version": "4.2.10",
61
61
  "description": "Various packages to assist in the development of our Custom Applications.",
62
62
  "main": "index.js",
63
63
  "scripts": {