@flamingo-stack/openframe-frontend-core 0.0.665-2372.7061.1 → 0.0.665-2372.7066.1

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.
@@ -193,6 +193,9 @@ function resolveFormFieldControl(field) {
193
193
  const asControl = Object.prototype.hasOwnProperty.call(FORM_FIELD_TYPES, fieldType) ? fieldType : void 0;
194
194
  return _nullishCoalesce(_nullishCoalesce(usable(_nullishCoalesce(FIELD_TYPE_CONTROLS[fieldType], () => ( asControl))), () => ( usable(DATA_TYPE_CONTROLS[(_nullishCoalesce(field.dataType, () => ( ""))).toLowerCase()]))), () => ( (withOptions ? "select" : "text")));
195
195
  }
196
+ var FORM_FIELD_TYPES_WITH_OPTIONS = SUPPORTED_FORM_FIELD_TYPES.filter(
197
+ (type) => FORM_FIELD_TYPES[type].hasOptions
198
+ );
196
199
  function normalizeFormField(field) {
197
200
  const control = resolveFormFieldControl(field);
198
201
  if (control === "display" || control === "unanswerable") return null;