@entryscape/rdforms 10.15.0 → 10.15.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.
- package/README.md +14 -14
- package/dist/rdforms.bmd.js +1 -1
- package/dist/rdforms.bootstrap.js +1 -1
- package/dist/rdforms.bootstrap.js.LICENSE.txt +1 -1
- package/dist/rdforms.jquery.js +1 -1
- package/dist/rdforms.react.js +3 -3
- package/package.json +54 -50
- package/src/spec/nls/de/spec.nls +0 -35
package/README.md
CHANGED
|
@@ -80,48 +80,48 @@ The examples serve two purposes:
|
|
|
80
80
|
|
|
81
81
|
The examples are outlined below:
|
|
82
82
|
|
|
83
|
-
## [example1](http://localhost:8080/
|
|
83
|
+
## [example1](http://localhost:8080/react/example1) - Editor for one field
|
|
84
84
|
|
|
85
85
|
1. Loads the library and its CSS.
|
|
86
86
|
2. Creates a minimal RDF graph manually.
|
|
87
87
|
3. Creates a minimal RDForms template manually.
|
|
88
88
|
4. Creates the editor UI from the RDF graph, a given resource, a template and an HTML node.
|
|
89
89
|
|
|
90
|
-
Check [example1/init.js](http://localhost:8080/
|
|
90
|
+
Check [example1/init.js](http://localhost:8080/react/example1/init.js) for more.
|
|
91
91
|
|
|
92
|
-
## [example2](http://localhost:8080/
|
|
92
|
+
## [example2](http://localhost:8080/react/example2) - Editor for large template loaded from file
|
|
93
93
|
|
|
94
94
|
Different from example1 in the sense that it loads the graph and template from separate files.
|
|
95
|
-
Check [example2/init.js](http://localhost:8080/
|
|
95
|
+
Check [example2/init.js](http://localhost:8080/react/example2/init.js) for more.
|
|
96
96
|
|
|
97
|
-
## [example3](http://localhost:8080/
|
|
97
|
+
## [example3](http://localhost:8080/react/example3) - Presenter
|
|
98
98
|
|
|
99
99
|
Same template and data as in example2, but now the presenter is used instead.
|
|
100
|
-
Check [example3/init.js](http://localhost:8080/
|
|
100
|
+
Check [example3/init.js](http://localhost:8080/react/example3/init.js) for more.
|
|
101
101
|
|
|
102
|
-
## [example4](http://localhost:8080/
|
|
102
|
+
## [example4](http://localhost:8080/react/example4) - Validation presenter
|
|
103
103
|
|
|
104
104
|
This examples shows how RDForms can be used as a form validator rather than just an editor or presenter.
|
|
105
105
|
Take a look at the validation report inside the form presenter.
|
|
106
106
|
|
|
107
|
-
Check [example4/init.js](http://localhost:8080/
|
|
107
|
+
Check [example4/init.js](http://localhost:8080/react/example4/init.js) for more.
|
|
108
108
|
|
|
109
|
-
## [example5](http://localhost:8080/
|
|
109
|
+
## [example5](http://localhost:8080/react/example5) - Building on default templates
|
|
110
110
|
|
|
111
111
|
This examples utilizes pre-made templates to render forms. It can serve as a very good start for extending them and creating your
|
|
112
112
|
own custom forms.
|
|
113
113
|
|
|
114
|
-
Check [example5/init.js](http://localhost:8080/
|
|
114
|
+
Check [example5/init.js](http://localhost:8080/react/example5/init.js) for more.
|
|
115
115
|
|
|
116
|
-
## [example6](http://localhost:8080/
|
|
116
|
+
## [example6](http://localhost:8080/react/example6) - RDF output from editor (Template is for Dataset according to DCAT-AP)
|
|
117
117
|
|
|
118
118
|
This example provides a ready output to check your form RDF output live.
|
|
119
119
|
|
|
120
|
-
Check [example6/init.js](http://localhost:8080/
|
|
120
|
+
Check [example6/init.js](http://localhost:8080/react/example6/init.js) for more.
|
|
121
121
|
|
|
122
|
-
## [example7](http://localhost:8080/
|
|
122
|
+
## [example7](http://localhost:8080/react/example7) - RDForm editor with a registered chooser
|
|
123
123
|
|
|
124
124
|
This is a more advanced example providing some guidance on how to create your own choosers and register them to show on
|
|
125
125
|
select fields in your forms. You can even have your data be fetched across the network.
|
|
126
126
|
|
|
127
|
-
Check [example7/init.js](http://localhost:8080/
|
|
127
|
+
Check [example7/init.js](http://localhost:8080/rect/example7/init.js) for more.
|