@visns-studio/visns-components 5.4.12 → 5.4.13

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 CHANGED
@@ -81,7 +81,7 @@
81
81
  "react-dom": "^17.0.0 || ^18.0.0"
82
82
  },
83
83
  "name": "@visns-studio/visns-components",
84
- "version": "5.4.12",
84
+ "version": "5.4.13",
85
85
  "description": "Various packages to assist in the development of our Custom Applications.",
86
86
  "main": "src/index.js",
87
87
  "files": [
@@ -70,6 +70,7 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
70
70
  { value: 'textarea', label: 'Textarea' },
71
71
  { value: 'html5_time', label: 'Time' },
72
72
  { value: 'toggle', label: 'Toggle' },
73
+ { value: 'videoUpload', label: 'Video Upload' },
73
74
  ]);
74
75
  const [rowOption, setRowOption] = useState({
75
76
  id: '',
@@ -702,6 +703,16 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
702
703
  </span>
703
704
  </div>
704
705
  );
706
+ case 'videoUpload':
707
+ return (
708
+ <label className={styles.fi__label}>
709
+ <input type="file" />
710
+ <span className={styles.fi__span}>
711
+ {field.label}{' '}
712
+ {field.required === 'yes' ? '*' : null}
713
+ </span>
714
+ </label>
715
+ );
705
716
  default:
706
717
  return (
707
718
  <label className={styles.fi__label}>