@jsonforms/material-renderers 3.0.0-beta.5 → 3.0.0-rc.0
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/docs/assets/js/search.json +1 -1
- package/docs/globals.html +77 -31
- package/docs/index.html +6 -0
- package/docs/interfaces/categorizationstate.html +1 -1
- package/docs/interfaces/categorizationstepperstate.html +1 -1
- package/docs/interfaces/materialcategorizationlayoutrendererprops.html +49 -4
- package/docs/interfaces/materialcategorizationstepperlayoutrendererprops.html +46 -1
- package/docs/interfaces/materiallabelablelayoutrendererprops.html +328 -0
- package/docs/interfaces/materiallayoutrendererprops.html +5 -0
- package/docs/interfaces/withoptionlabel.html +3 -3
- package/lib/additional/MaterialLabelRenderer.d.ts +3 -3
- package/lib/cells/MaterialEnumCell.d.ts +2 -1
- package/lib/cells/MaterialOneOfEnumCell.d.ts +2 -1
- package/lib/controls/MaterialEnumControl.d.ts +2 -1
- package/lib/controls/MaterialOneOfEnumControl.d.ts +2 -1
- package/lib/controls/index.d.ts +2 -2
- package/lib/jsonforms-react-material.cjs.js +82 -46
- package/lib/jsonforms-react-material.cjs.js.map +1 -1
- package/lib/jsonforms-react-material.esm.js +79 -48
- package/lib/jsonforms-react-material.esm.js.map +1 -1
- package/lib/layouts/MaterialCategorizationLayout.d.ts +4 -3
- package/lib/layouts/MaterialCategorizationStepperLayout.d.ts +4 -3
- package/lib/layouts/MaterialGroupLayout.d.ts +2 -2
- package/lib/layouts/MaterialHorizontalLayout.d.ts +1 -1
- package/lib/layouts/MaterialVerticalLayout.d.ts +1 -1
- package/lib/mui-controls/MuiAutocomplete.d.ts +2 -2
- package/lib/mui-controls/MuiSelect.d.ts +2 -1
- package/lib/util/i18nDefaults.d.ts +3 -0
- package/lib/util/index.d.ts +1 -0
- package/lib/util/layout.d.ts +3 -0
- package/package.json +6 -6
- package/src/additional/MaterialLabelRenderer.tsx +5 -7
- package/src/cells/MaterialEnumCell.tsx +4 -3
- package/src/cells/MaterialOneOfEnumCell.tsx +3 -3
- package/src/controls/MaterialEnumControl.tsx +12 -5
- package/src/controls/MaterialOneOfEnumControl.tsx +13 -5
- package/src/layouts/MaterialCategorizationLayout.tsx +18 -9
- package/src/layouts/MaterialCategorizationStepperLayout.tsx +19 -12
- package/src/layouts/MaterialGroupLayout.tsx +6 -5
- package/src/mui-controls/MuiAutocomplete.tsx +81 -38
- package/src/mui-controls/MuiInputText.tsx +4 -1
- package/src/mui-controls/MuiSelect.tsx +10 -5
- package/src/util/i18nDefaults.ts +3 -0
- package/src/util/index.ts +1 -0
- package/src/util/layout.tsx +4 -0
- package/stats.html +1 -1
- package/test/renderers/MaterialArrayLayout.test.tsx +4 -4
- package/test/renderers/MaterialCategorizationLayout.test.tsx +17 -7
- package/test/renderers/MaterialCategorizationStepperLayout.test.tsx +21 -11
- package/test/renderers/MaterialGroupLayout.test.tsx +4 -1
- package/test/renderers/MaterialInputControl.test.tsx +4 -0
- package/test/renderers/MaterialLabelRenderer.test.tsx +2 -1
- package/test/renderers/util.ts +5 -0
|
@@ -72,6 +72,9 @@
|
|
|
72
72
|
</li>
|
|
73
73
|
<li>
|
|
74
74
|
<a href="ajvprops.html" class="tsd-signature-type">AjvProps</a>
|
|
75
|
+
</li>
|
|
76
|
+
<li>
|
|
77
|
+
<span class="tsd-signature-type">TranslateProps</span>
|
|
75
78
|
<ul class="tsd-hierarchy">
|
|
76
79
|
<li>
|
|
77
80
|
<span class="target">MaterialCategorizationStepperLayoutRendererProps</span>
|
|
@@ -93,9 +96,12 @@
|
|
|
93
96
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite"><a href="materialcategorizationstepperlayoutrendererprops.html#data" class="tsd-kind-icon">data</a></li>
|
|
94
97
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#direction" class="tsd-kind-icon">direction</a></li>
|
|
95
98
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#enabled" class="tsd-kind-icon">enabled</a></li>
|
|
99
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#label" class="tsd-kind-icon">label</a></li>
|
|
100
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#locale" class="tsd-kind-icon">locale</a></li>
|
|
96
101
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#path" class="tsd-kind-icon">path</a></li>
|
|
97
102
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#renderers" class="tsd-kind-icon">renderers</a></li>
|
|
98
103
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#schema" class="tsd-kind-icon">schema</a></li>
|
|
104
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#t" class="tsd-kind-icon">t</a></li>
|
|
99
105
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#uischema" class="tsd-kind-icon">uischema</a></li>
|
|
100
106
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materialcategorizationstepperlayoutrendererprops.html#visible" class="tsd-kind-icon">visible</a></li>
|
|
101
107
|
</ul>
|
|
@@ -153,7 +159,7 @@
|
|
|
153
159
|
<aside class="tsd-sources">
|
|
154
160
|
<p>Overrides StatePropsOfRenderer.data</p>
|
|
155
161
|
<ul>
|
|
156
|
-
<li>Defined in packages/material/src/layouts/MaterialCategorizationStepperLayout.tsx:
|
|
162
|
+
<li>Defined in packages/material/src/layouts/MaterialCategorizationStepperLayout.tsx:64</li>
|
|
157
163
|
</ul>
|
|
158
164
|
</aside>
|
|
159
165
|
</section>
|
|
@@ -187,6 +193,26 @@
|
|
|
187
193
|
</div>
|
|
188
194
|
</div>
|
|
189
195
|
</section>
|
|
196
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
197
|
+
<a name="label" class="tsd-anchor"></a>
|
|
198
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> label</h3>
|
|
199
|
+
<div class="tsd-signature tsd-kind-icon">label<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
200
|
+
<aside class="tsd-sources">
|
|
201
|
+
<p>Inherited from <a href="materialcategorizationlayoutrendererprops.html">MaterialCategorizationLayoutRendererProps</a>.<a href="materialcategorizationlayoutrendererprops.html#label">label</a></p>
|
|
202
|
+
<ul>
|
|
203
|
+
</ul>
|
|
204
|
+
</aside>
|
|
205
|
+
</section>
|
|
206
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
207
|
+
<a name="locale" class="tsd-anchor"></a>
|
|
208
|
+
<h3>locale</h3>
|
|
209
|
+
<div class="tsd-signature tsd-kind-icon">locale<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
210
|
+
<aside class="tsd-sources">
|
|
211
|
+
<p>Inherited from <a href="materialcategorizationlayoutrendererprops.html">MaterialCategorizationLayoutRendererProps</a>.<a href="materialcategorizationlayoutrendererprops.html#locale">locale</a></p>
|
|
212
|
+
<ul>
|
|
213
|
+
</ul>
|
|
214
|
+
</aside>
|
|
215
|
+
</section>
|
|
190
216
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
191
217
|
<a name="path" class="tsd-anchor"></a>
|
|
192
218
|
<h3>path</h3>
|
|
@@ -232,6 +258,16 @@
|
|
|
232
258
|
</div>
|
|
233
259
|
</div>
|
|
234
260
|
</section>
|
|
261
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
262
|
+
<a name="t" class="tsd-anchor"></a>
|
|
263
|
+
<h3>t</h3>
|
|
264
|
+
<div class="tsd-signature tsd-kind-icon">t<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Translator</span></div>
|
|
265
|
+
<aside class="tsd-sources">
|
|
266
|
+
<p>Inherited from <a href="materialcategorizationlayoutrendererprops.html">MaterialCategorizationLayoutRendererProps</a>.<a href="materialcategorizationlayoutrendererprops.html#t">t</a></p>
|
|
267
|
+
<ul>
|
|
268
|
+
</ul>
|
|
269
|
+
</aside>
|
|
270
|
+
</section>
|
|
235
271
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
236
272
|
<a name="uischema" class="tsd-anchor"></a>
|
|
237
273
|
<h3>uischema</h3>
|
|
@@ -297,6 +333,12 @@
|
|
|
297
333
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
298
334
|
<a href="materialcategorizationstepperlayoutrendererprops.html#enabled" class="tsd-kind-icon">enabled</a>
|
|
299
335
|
</li>
|
|
336
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
337
|
+
<a href="materialcategorizationstepperlayoutrendererprops.html#label" class="tsd-kind-icon">label</a>
|
|
338
|
+
</li>
|
|
339
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
340
|
+
<a href="materialcategorizationstepperlayoutrendererprops.html#locale" class="tsd-kind-icon">locale</a>
|
|
341
|
+
</li>
|
|
300
342
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
301
343
|
<a href="materialcategorizationstepperlayoutrendererprops.html#path" class="tsd-kind-icon">path</a>
|
|
302
344
|
</li>
|
|
@@ -306,6 +348,9 @@
|
|
|
306
348
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
307
349
|
<a href="materialcategorizationstepperlayoutrendererprops.html#schema" class="tsd-kind-icon">schema</a>
|
|
308
350
|
</li>
|
|
351
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
352
|
+
<a href="materialcategorizationstepperlayoutrendererprops.html#t" class="tsd-kind-icon">t</a>
|
|
353
|
+
</li>
|
|
309
354
|
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
310
355
|
<a href="materialcategorizationstepperlayoutrendererprops.html#uischema" class="tsd-kind-icon">uischema</a>
|
|
311
356
|
</li>
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="default no-js">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<title>MaterialLabelableLayoutRendererProps | JSON Forms React Material Renderers</title>
|
|
7
|
+
<meta name="description" content="Documentation for JSON Forms React Material Renderers">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<header>
|
|
13
|
+
<div class="tsd-page-toolbar">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<div class="table-wrap">
|
|
16
|
+
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
17
|
+
<div class="field">
|
|
18
|
+
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
19
|
+
<input id="tsd-search-field" type="text" />
|
|
20
|
+
</div>
|
|
21
|
+
<ul class="results">
|
|
22
|
+
<li class="state loading">Preparing search index...</li>
|
|
23
|
+
<li class="state failure">The search index is not available</li>
|
|
24
|
+
</ul>
|
|
25
|
+
<a href="../index.html" class="title">JSON Forms React Material Renderers</a>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="table-cell" id="tsd-widgets">
|
|
28
|
+
<div id="tsd-filter">
|
|
29
|
+
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
30
|
+
<div class="tsd-filter-group">
|
|
31
|
+
<div class="tsd-select" id="tsd-filter-visibility">
|
|
32
|
+
<span class="tsd-select-label">All</span>
|
|
33
|
+
<ul class="tsd-select-list">
|
|
34
|
+
<li data-value="public">Public</li>
|
|
35
|
+
<li data-value="protected">Public/Protected</li>
|
|
36
|
+
<li data-value="private" class="selected">All</li>
|
|
37
|
+
</ul>
|
|
38
|
+
</div>
|
|
39
|
+
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
40
|
+
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
41
|
+
<input type="checkbox" id="tsd-filter-only-exported" />
|
|
42
|
+
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="tsd-page-title">
|
|
51
|
+
<div class="container">
|
|
52
|
+
<ul class="tsd-breadcrumb">
|
|
53
|
+
<li>
|
|
54
|
+
<a href="../globals.html">Globals</a>
|
|
55
|
+
</li>
|
|
56
|
+
<li>
|
|
57
|
+
<a href="materiallabelablelayoutrendererprops.html">MaterialLabelableLayoutRendererProps</a>
|
|
58
|
+
</li>
|
|
59
|
+
</ul>
|
|
60
|
+
<h1>Interface MaterialLabelableLayoutRendererProps</h1>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</header>
|
|
64
|
+
<div class="container container-main">
|
|
65
|
+
<div class="row">
|
|
66
|
+
<div class="col-8 col-content">
|
|
67
|
+
<section class="tsd-panel tsd-hierarchy">
|
|
68
|
+
<h3>Hierarchy</h3>
|
|
69
|
+
<ul class="tsd-hierarchy">
|
|
70
|
+
<li>
|
|
71
|
+
<a href="materiallayoutrendererprops.html" class="tsd-signature-type">MaterialLayoutRendererProps</a>
|
|
72
|
+
<ul class="tsd-hierarchy">
|
|
73
|
+
<li>
|
|
74
|
+
<span class="target">MaterialLabelableLayoutRendererProps</span>
|
|
75
|
+
</li>
|
|
76
|
+
</ul>
|
|
77
|
+
</li>
|
|
78
|
+
</ul>
|
|
79
|
+
</section>
|
|
80
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
81
|
+
<h2>Index</h2>
|
|
82
|
+
<section class="tsd-panel tsd-index-panel">
|
|
83
|
+
<div class="tsd-index-content">
|
|
84
|
+
<section class="tsd-index-section ">
|
|
85
|
+
<h3>Properties</h3>
|
|
86
|
+
<ul class="tsd-index-list">
|
|
87
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#cells" class="tsd-kind-icon">cells</a></li>
|
|
88
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#direction" class="tsd-kind-icon">direction</a></li>
|
|
89
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#elements" class="tsd-kind-icon">elements</a></li>
|
|
90
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#enabled" class="tsd-kind-icon">enabled</a></li>
|
|
91
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="materiallabelablelayoutrendererprops.html#label" class="tsd-kind-icon">label</a></li>
|
|
92
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#path" class="tsd-kind-icon">path</a></li>
|
|
93
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#renderers" class="tsd-kind-icon">renderers</a></li>
|
|
94
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#schema" class="tsd-kind-icon">schema</a></li>
|
|
95
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#uischema" class="tsd-kind-icon">uischema</a></li>
|
|
96
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#uischemas" class="tsd-kind-icon">uischemas</a></li>
|
|
97
|
+
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="materiallabelablelayoutrendererprops.html#visible" class="tsd-kind-icon">visible</a></li>
|
|
98
|
+
</ul>
|
|
99
|
+
</section>
|
|
100
|
+
</div>
|
|
101
|
+
</section>
|
|
102
|
+
</section>
|
|
103
|
+
<section class="tsd-panel-group tsd-member-group ">
|
|
104
|
+
<h2>Properties</h2>
|
|
105
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
106
|
+
<a name="cells" class="tsd-anchor"></a>
|
|
107
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> cells</h3>
|
|
108
|
+
<div class="tsd-signature tsd-kind-icon">cells<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">JsonFormsCellRendererRegistryEntry</span><span class="tsd-signature-symbol">[]</span></div>
|
|
109
|
+
<aside class="tsd-sources">
|
|
110
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#cells">cells</a></p>
|
|
111
|
+
<ul>
|
|
112
|
+
</ul>
|
|
113
|
+
</aside>
|
|
114
|
+
</section>
|
|
115
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
116
|
+
<a name="direction" class="tsd-anchor"></a>
|
|
117
|
+
<h3>direction</h3>
|
|
118
|
+
<div class="tsd-signature tsd-kind-icon">direction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"row"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"column"</span></div>
|
|
119
|
+
<aside class="tsd-sources">
|
|
120
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#direction">direction</a></p>
|
|
121
|
+
<ul>
|
|
122
|
+
<li>Defined in packages/material/src/util/layout.tsx:64</li>
|
|
123
|
+
</ul>
|
|
124
|
+
</aside>
|
|
125
|
+
</section>
|
|
126
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
127
|
+
<a name="elements" class="tsd-anchor"></a>
|
|
128
|
+
<h3>elements</h3>
|
|
129
|
+
<div class="tsd-signature tsd-kind-icon">elements<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UISchemaElement</span><span class="tsd-signature-symbol">[]</span></div>
|
|
130
|
+
<aside class="tsd-sources">
|
|
131
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#elements">elements</a></p>
|
|
132
|
+
<ul>
|
|
133
|
+
<li>Defined in packages/material/src/util/layout.tsx:63</li>
|
|
134
|
+
</ul>
|
|
135
|
+
</aside>
|
|
136
|
+
</section>
|
|
137
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
138
|
+
<a name="enabled" class="tsd-anchor"></a>
|
|
139
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> enabled</h3>
|
|
140
|
+
<div class="tsd-signature tsd-kind-icon">enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
141
|
+
<aside class="tsd-sources">
|
|
142
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#enabled">enabled</a></p>
|
|
143
|
+
<ul>
|
|
144
|
+
</ul>
|
|
145
|
+
</aside>
|
|
146
|
+
<div class="tsd-comment tsd-typography">
|
|
147
|
+
<div class="lead">
|
|
148
|
+
<p>Whether the rendered element should be enabled.</p>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
</section>
|
|
152
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
153
|
+
<a name="label" class="tsd-anchor"></a>
|
|
154
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> label</h3>
|
|
155
|
+
<div class="tsd-signature tsd-kind-icon">label<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
156
|
+
<aside class="tsd-sources">
|
|
157
|
+
<ul>
|
|
158
|
+
<li>Defined in packages/material/src/util/layout.tsx:115</li>
|
|
159
|
+
</ul>
|
|
160
|
+
</aside>
|
|
161
|
+
</section>
|
|
162
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
163
|
+
<a name="path" class="tsd-anchor"></a>
|
|
164
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> path</h3>
|
|
165
|
+
<div class="tsd-signature tsd-kind-icon">path<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
166
|
+
<aside class="tsd-sources">
|
|
167
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#path">path</a></p>
|
|
168
|
+
<ul>
|
|
169
|
+
</ul>
|
|
170
|
+
</aside>
|
|
171
|
+
<div class="tsd-comment tsd-typography">
|
|
172
|
+
<div class="lead">
|
|
173
|
+
<p>Optional instance path. Necessary when the actual data
|
|
174
|
+
path can not be inferred via the UI schema element as
|
|
175
|
+
it is the case with nested controls.</p>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</section>
|
|
179
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
180
|
+
<a name="renderers" class="tsd-anchor"></a>
|
|
181
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> renderers</h3>
|
|
182
|
+
<div class="tsd-signature tsd-kind-icon">renderers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">JsonFormsRendererRegistryEntry</span><span class="tsd-signature-symbol">[]</span></div>
|
|
183
|
+
<aside class="tsd-sources">
|
|
184
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#renderers">renderers</a></p>
|
|
185
|
+
<ul>
|
|
186
|
+
</ul>
|
|
187
|
+
</aside>
|
|
188
|
+
</section>
|
|
189
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
190
|
+
<a name="schema" class="tsd-anchor"></a>
|
|
191
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> schema</h3>
|
|
192
|
+
<div class="tsd-signature tsd-kind-icon">schema<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">JsonSchema</span></div>
|
|
193
|
+
<aside class="tsd-sources">
|
|
194
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#schema">schema</a></p>
|
|
195
|
+
<ul>
|
|
196
|
+
</ul>
|
|
197
|
+
</aside>
|
|
198
|
+
<div class="tsd-comment tsd-typography">
|
|
199
|
+
<div class="lead">
|
|
200
|
+
<p>The JSON schema that describes the data.</p>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
</section>
|
|
204
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
205
|
+
<a name="uischema" class="tsd-anchor"></a>
|
|
206
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> uischema</h3>
|
|
207
|
+
<div class="tsd-signature tsd-kind-icon">uischema<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UISchemaElement</span></div>
|
|
208
|
+
<aside class="tsd-sources">
|
|
209
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#uischema">uischema</a></p>
|
|
210
|
+
<ul>
|
|
211
|
+
</ul>
|
|
212
|
+
</aside>
|
|
213
|
+
<div class="tsd-comment tsd-typography">
|
|
214
|
+
<div class="lead">
|
|
215
|
+
<p>The UI schema to be rendered.</p>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
</section>
|
|
219
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
220
|
+
<a name="uischemas" class="tsd-anchor"></a>
|
|
221
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> uischemas</h3>
|
|
222
|
+
<div class="tsd-signature tsd-kind-icon">uischemas<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">JsonFormsUISchemaRegistryEntry</span><span class="tsd-signature-symbol">[]</span></div>
|
|
223
|
+
<aside class="tsd-sources">
|
|
224
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#uischemas">uischemas</a></p>
|
|
225
|
+
<ul>
|
|
226
|
+
</ul>
|
|
227
|
+
</aside>
|
|
228
|
+
</section>
|
|
229
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
230
|
+
<a name="visible" class="tsd-anchor"></a>
|
|
231
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> visible</h3>
|
|
232
|
+
<div class="tsd-signature tsd-kind-icon">visible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
233
|
+
<aside class="tsd-sources">
|
|
234
|
+
<p>Inherited from <a href="materiallayoutrendererprops.html">MaterialLayoutRendererProps</a>.<a href="materiallayoutrendererprops.html#visible">visible</a></p>
|
|
235
|
+
<ul>
|
|
236
|
+
</ul>
|
|
237
|
+
</aside>
|
|
238
|
+
<div class="tsd-comment tsd-typography">
|
|
239
|
+
<div class="lead">
|
|
240
|
+
<p>Whether the rendered element should be visible.</p>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</section>
|
|
244
|
+
</section>
|
|
245
|
+
</div>
|
|
246
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
247
|
+
<nav class="tsd-navigation primary">
|
|
248
|
+
<ul>
|
|
249
|
+
<li class="globals ">
|
|
250
|
+
<a href="../globals.html"><em>Globals</em></a>
|
|
251
|
+
</li>
|
|
252
|
+
</ul>
|
|
253
|
+
</nav>
|
|
254
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
255
|
+
<ul class="before-current">
|
|
256
|
+
</ul>
|
|
257
|
+
<ul class="current">
|
|
258
|
+
<li class="current tsd-kind-interface">
|
|
259
|
+
<a href="materiallabelablelayoutrendererprops.html" class="tsd-kind-icon">Material<wbr>Labelable<wbr>Layout<wbr>Renderer<wbr>Props</a>
|
|
260
|
+
<ul>
|
|
261
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
262
|
+
<a href="materiallabelablelayoutrendererprops.html#cells" class="tsd-kind-icon">cells</a>
|
|
263
|
+
</li>
|
|
264
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
265
|
+
<a href="materiallabelablelayoutrendererprops.html#direction" class="tsd-kind-icon">direction</a>
|
|
266
|
+
</li>
|
|
267
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
268
|
+
<a href="materiallabelablelayoutrendererprops.html#elements" class="tsd-kind-icon">elements</a>
|
|
269
|
+
</li>
|
|
270
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
271
|
+
<a href="materiallabelablelayoutrendererprops.html#enabled" class="tsd-kind-icon">enabled</a>
|
|
272
|
+
</li>
|
|
273
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
274
|
+
<a href="materiallabelablelayoutrendererprops.html#label" class="tsd-kind-icon">label</a>
|
|
275
|
+
</li>
|
|
276
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
277
|
+
<a href="materiallabelablelayoutrendererprops.html#path" class="tsd-kind-icon">path</a>
|
|
278
|
+
</li>
|
|
279
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
280
|
+
<a href="materiallabelablelayoutrendererprops.html#renderers" class="tsd-kind-icon">renderers</a>
|
|
281
|
+
</li>
|
|
282
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
283
|
+
<a href="materiallabelablelayoutrendererprops.html#schema" class="tsd-kind-icon">schema</a>
|
|
284
|
+
</li>
|
|
285
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
286
|
+
<a href="materiallabelablelayoutrendererprops.html#uischema" class="tsd-kind-icon">uischema</a>
|
|
287
|
+
</li>
|
|
288
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
289
|
+
<a href="materiallabelablelayoutrendererprops.html#uischemas" class="tsd-kind-icon">uischemas</a>
|
|
290
|
+
</li>
|
|
291
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
|
|
292
|
+
<a href="materiallabelablelayoutrendererprops.html#visible" class="tsd-kind-icon">visible</a>
|
|
293
|
+
</li>
|
|
294
|
+
</ul>
|
|
295
|
+
</li>
|
|
296
|
+
</ul>
|
|
297
|
+
<ul class="after-current">
|
|
298
|
+
</ul>
|
|
299
|
+
</nav>
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
</div>
|
|
303
|
+
<footer class="with-border-bottom">
|
|
304
|
+
<div class="container">
|
|
305
|
+
<h2>Legend</h2>
|
|
306
|
+
<div class="tsd-legend-group">
|
|
307
|
+
<ul class="tsd-legend">
|
|
308
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
|
|
309
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
|
310
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
|
311
|
+
</ul>
|
|
312
|
+
<ul class="tsd-legend">
|
|
313
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
314
|
+
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
|
|
315
|
+
</ul>
|
|
316
|
+
<ul class="tsd-legend">
|
|
317
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
318
|
+
</ul>
|
|
319
|
+
</div>
|
|
320
|
+
</div>
|
|
321
|
+
</footer>
|
|
322
|
+
<div class="container tsd-generator">
|
|
323
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
324
|
+
</div>
|
|
325
|
+
<div class="overlay"></div>
|
|
326
|
+
<script src="../assets/js/main.js"></script>
|
|
327
|
+
</body>
|
|
328
|
+
</html>
|
|
@@ -72,6 +72,11 @@
|
|
|
72
72
|
<ul class="tsd-hierarchy">
|
|
73
73
|
<li>
|
|
74
74
|
<span class="target">MaterialLayoutRendererProps</span>
|
|
75
|
+
<ul class="tsd-hierarchy">
|
|
76
|
+
<li>
|
|
77
|
+
<a href="materiallabelablelayoutrendererprops.html" class="tsd-signature-type">MaterialLabelableLayoutRendererProps</a>
|
|
78
|
+
</li>
|
|
79
|
+
</ul>
|
|
75
80
|
</li>
|
|
76
81
|
</ul>
|
|
77
82
|
</li>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<li class="tsd-description">
|
|
100
100
|
<aside class="tsd-sources">
|
|
101
101
|
<ul>
|
|
102
|
-
<li>Defined in packages/material/src/mui-controls/MuiAutocomplete.tsx:
|
|
102
|
+
<li>Defined in packages/material/src/mui-controls/MuiAutocomplete.tsx:42</li>
|
|
103
103
|
</ul>
|
|
104
104
|
</aside>
|
|
105
105
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<li class="tsd-description">
|
|
126
126
|
<aside class="tsd-sources">
|
|
127
127
|
<ul>
|
|
128
|
-
<li>Defined in packages/material/src/mui-controls/MuiAutocomplete.tsx:
|
|
128
|
+
<li>Defined in packages/material/src/mui-controls/MuiAutocomplete.tsx:40</li>
|
|
129
129
|
</ul>
|
|
130
130
|
</aside>
|
|
131
131
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
<li class="tsd-description">
|
|
149
149
|
<aside class="tsd-sources">
|
|
150
150
|
<ul>
|
|
151
|
-
<li>Defined in packages/material/src/mui-controls/MuiAutocomplete.tsx:
|
|
151
|
+
<li>Defined in packages/material/src/mui-controls/MuiAutocomplete.tsx:41</li>
|
|
152
152
|
</ul>
|
|
153
153
|
</aside>
|
|
154
154
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { LabelProps, RankedTester } from '@jsonforms/core';
|
|
3
3
|
/**
|
|
4
4
|
* Default tester for a label.
|
|
5
5
|
* @type {RankedTester}
|
|
@@ -8,6 +8,6 @@ export declare const materialLabelRendererTester: RankedTester;
|
|
|
8
8
|
/**
|
|
9
9
|
* Default renderer for a label.
|
|
10
10
|
*/
|
|
11
|
-
export declare const MaterialLabelRenderer: ({
|
|
12
|
-
declare const _default: React.ComponentType<import("@jsonforms/core").
|
|
11
|
+
export declare const MaterialLabelRenderer: ({ text, visible }: LabelProps) => JSX.Element;
|
|
12
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfLabel>;
|
|
13
13
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EnumCellProps, RankedTester, WithClassname } from '@jsonforms/core';
|
|
3
|
-
|
|
3
|
+
import { TranslateProps } from '@jsonforms/react';
|
|
4
|
+
export declare const MaterialEnumCell: (props: EnumCellProps & WithClassname & TranslateProps) => JSX.Element;
|
|
4
5
|
/**
|
|
5
6
|
* Default tester for enum controls.
|
|
6
7
|
* @type {RankedTester}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EnumCellProps, RankedTester, WithClassname } from '@jsonforms/core';
|
|
3
|
-
|
|
3
|
+
import { TranslateProps } from '@jsonforms/react';
|
|
4
|
+
export declare const MaterialOneOfEnumCell: (props: EnumCellProps & WithClassname & TranslateProps) => JSX.Element;
|
|
4
5
|
/**
|
|
5
6
|
* Default tester for oneOf enum controls.
|
|
6
7
|
* @type {RankedTester}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
+
import { TranslateProps } from '@jsonforms/react';
|
|
3
4
|
import { WithOptionLabel } from '../mui-controls/MuiAutocomplete';
|
|
4
|
-
export declare const MaterialEnumControl: (props: ControlProps & OwnPropsOfEnum & WithOptionLabel) => JSX.Element;
|
|
5
|
+
export declare const MaterialEnumControl: (props: ControlProps & OwnPropsOfEnum & WithOptionLabel & TranslateProps) => JSX.Element;
|
|
5
6
|
export declare const materialEnumControlTester: RankedTester;
|
|
6
7
|
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl & OwnPropsOfEnum>;
|
|
7
8
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
+
import { TranslateProps } from '@jsonforms/react';
|
|
3
4
|
import { WithOptionLabel } from '../mui-controls/MuiAutocomplete';
|
|
4
|
-
export declare const MaterialOneOfEnumControl: (props: ControlProps & OwnPropsOfEnum & WithOptionLabel) => JSX.Element;
|
|
5
|
+
export declare const MaterialOneOfEnumControl: (props: ControlProps & OwnPropsOfEnum & WithOptionLabel & TranslateProps) => JSX.Element;
|
|
5
6
|
export declare const materialOneOfEnumControlTester: RankedTester;
|
|
6
7
|
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl & OwnPropsOfEnum>;
|
|
7
8
|
export default _default;
|
package/lib/controls/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import MaterialOneOfRadioGroupControl, { materialOneOfRadioGroupControlTester }
|
|
|
17
17
|
export declare const Unwrapped: {
|
|
18
18
|
MaterialBooleanControl: ({ data, visible, label, id, enabled, uischema, schema, rootSchema, handleChange, errors, path, config }: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
19
19
|
MaterialBooleanToggleControl: ({ data, visible, label, id, enabled, uischema, schema, rootSchema, handleChange, errors, path, config }: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
20
|
-
MaterialEnumControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum & import("../mui-controls/MuiAutocomplete").WithOptionLabel) => JSX.Element;
|
|
20
|
+
MaterialEnumControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum & import("../mui-controls/MuiAutocomplete").WithOptionLabel & import("@jsonforms/react").TranslateProps) => JSX.Element;
|
|
21
21
|
MaterialNativeControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
22
22
|
MaterialDateControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
23
23
|
MaterialDateTimeControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
@@ -28,7 +28,7 @@ export declare const Unwrapped: {
|
|
|
28
28
|
MaterialNumberControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
29
29
|
MaterialTextControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
30
30
|
MaterialAnyOfStringOrEnumControl: typeof MaterialAnyOfStringOrEnumControlUnwrapped;
|
|
31
|
-
MaterialOneOfEnumControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum & import("../mui-controls/MuiAutocomplete").WithOptionLabel) => JSX.Element;
|
|
31
|
+
MaterialOneOfEnumControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum & import("../mui-controls/MuiAutocomplete").WithOptionLabel & import("@jsonforms/react").TranslateProps) => JSX.Element;
|
|
32
32
|
MaterialOneOfRadioGroupControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum) => JSX.Element;
|
|
33
33
|
};
|
|
34
34
|
export { MaterialBooleanControl, materialBooleanControlTester, MaterialBooleanToggleControl, materialBooleanToggleControlTester, MaterialEnumControl, materialEnumControlTester, MaterialNativeControl, materialNativeControlTester, MaterialDateControl, materialDateControlTester, MaterialDateTimeControl, materialDateTimeControlTester, MaterialTimeControl, materialTimeControlTester, MaterialSliderControl, materialSliderControlTester, MaterialRadioGroupControl, materialRadioGroupControlTester, MaterialIntegerControl, materialIntegerControlTester, MaterialNumberControl, materialNumberControlTester, MaterialTextControl, materialTextControlTester, MaterialAnyOfStringOrEnumControl, materialAnyOfStringOrEnumControlTester, MaterialOneOfEnumControl, materialOneOfEnumControlTester, MaterialOneOfRadioGroupControl, materialOneOfRadioGroupControlTester };
|