-
Notifications
You must be signed in to change notification settings - Fork 163
Description
I have created a few "advanced" widgets for my projects based on deform, and I would be more than willing to give them back to this repo but not sure if they would fit in as they are quite js heavy (and thus require lots of js to be put in the statics directory or links to a cdn).
Here is the list:
-
Select2SortableWidget
Based on http://finn.heemeyer.net/select2.sortable/, extension of select2 that allows drag and drop to change the order of the selected items
-
JsonWidget
Json editor based on https://ajv.js.org/. Validates against a jsonschema on both server and client side
-
ReactJsonSchemaFormWidget
Client side form generator based on https://github.com/rjsf-team/react-jsonschema-form. Validates against a jsonschema on both server and client side. (About 500kb of minified js)
-
JExcelObjectArrayWidget
Based on https://jexcel.net/v3, allows editing a
List[Dict[str:Union[str,int,float,bool]], as an excel like table where every row corresponds to a dict in a list. (About 600kb of non-minified js/css)
Effectively these are all wrappers around existing js libraries. For my projects I just vendored it in, but especially for the react widget this is not trivial as it has a complete build toolchain. So my question is if there is interest in me trying to make these available as part of Deform. And if so, how to deal with the js dependencies.