@openremote/or-vaadin-components 1.13.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 +30 -0
- package/custom-elements-jsx.d.ts +324 -0
- package/custom-elements.json +772 -0
- package/lib/or-vaadin-checkbox.d.ts +5 -0
- package/lib/or-vaadin-checkbox.d.ts.map +1 -0
- package/lib/or-vaadin-checkbox.js +34 -0
- package/lib/or-vaadin-checkbox.js.map +1 -0
- package/lib/or-vaadin-dialog.d.ts +6 -0
- package/lib/or-vaadin-dialog.d.ts.map +1 -0
- package/lib/or-vaadin-dialog.js +35 -0
- package/lib/or-vaadin-dialog.js.map +1 -0
- package/lib/or-vaadin-input.d.ts +103 -0
- package/lib/or-vaadin-input.d.ts.map +1 -0
- package/lib/or-vaadin-input.js +264 -0
- package/lib/or-vaadin-input.js.map +1 -0
- package/lib/or-vaadin-numberfield.d.ts +9 -0
- package/lib/or-vaadin-numberfield.d.ts.map +1 -0
- package/lib/or-vaadin-numberfield.js +38 -0
- package/lib/or-vaadin-numberfield.js.map +1 -0
- package/lib/or-vaadin-passwordfield.d.ts +9 -0
- package/lib/or-vaadin-passwordfield.d.ts.map +1 -0
- package/lib/or-vaadin-passwordfield.js +38 -0
- package/lib/or-vaadin-passwordfield.js.map +1 -0
- package/lib/or-vaadin-select.d.ts +5 -0
- package/lib/or-vaadin-select.d.ts.map +1 -0
- package/lib/or-vaadin-select.js +34 -0
- package/lib/or-vaadin-select.js.map +1 -0
- package/lib/or-vaadin-textarea.d.ts +9 -0
- package/lib/or-vaadin-textarea.d.ts.map +1 -0
- package/lib/or-vaadin-textarea.js +38 -0
- package/lib/or-vaadin-textarea.js.map +1 -0
- package/lib/or-vaadin-textfield.d.ts +9 -0
- package/lib/or-vaadin-textfield.d.ts.map +1 -0
- package/lib/or-vaadin-textfield.js +38 -0
- package/lib/or-vaadin-textfield.js.map +1 -0
- package/lib/util.d.ts +68 -0
- package/lib/util.d.ts.map +1 -0
- package/lib/util.js +372 -0
- package/lib/util.js.map +1 -0
- package/package.json +48 -0
- package/stories/or-vaadin-textfield.stories.ts +61 -0
|
@@ -0,0 +1,772 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/or-vaadin-checkbox.ts",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "",
|
|
12
|
+
"name": "OrVaadinCheckbox",
|
|
13
|
+
"superclass": {
|
|
14
|
+
"name": "Checkbox",
|
|
15
|
+
"package": "@vaadin/checkbox"
|
|
16
|
+
},
|
|
17
|
+
"tagName": "or-vaadin-checkbox",
|
|
18
|
+
"customElement": true,
|
|
19
|
+
"modulePath": "src/or-vaadin-checkbox.ts",
|
|
20
|
+
"definitionPath": "src/or-vaadin-checkbox.ts"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"exports": [
|
|
24
|
+
{
|
|
25
|
+
"kind": "js",
|
|
26
|
+
"name": "OrVaadinCheckbox",
|
|
27
|
+
"declaration": {
|
|
28
|
+
"name": "OrVaadinCheckbox",
|
|
29
|
+
"module": "src/or-vaadin-checkbox.ts"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"kind": "custom-element-definition",
|
|
34
|
+
"name": "or-vaadin-checkbox",
|
|
35
|
+
"declaration": {
|
|
36
|
+
"name": "OrVaadinCheckbox",
|
|
37
|
+
"module": "src/or-vaadin-checkbox.ts"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "javascript-module",
|
|
44
|
+
"path": "src/or-vaadin-dialog.ts",
|
|
45
|
+
"declarations": [
|
|
46
|
+
{
|
|
47
|
+
"kind": "class",
|
|
48
|
+
"description": "",
|
|
49
|
+
"name": "OrVaadinDialog",
|
|
50
|
+
"superclass": {
|
|
51
|
+
"name": "Dialog",
|
|
52
|
+
"package": "@vaadin/dialog"
|
|
53
|
+
},
|
|
54
|
+
"tagName": "or-vaadin-dialog",
|
|
55
|
+
"customElement": true,
|
|
56
|
+
"modulePath": "src/or-vaadin-dialog.ts",
|
|
57
|
+
"definitionPath": "src/or-vaadin-dialog.ts"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"exports": [
|
|
61
|
+
{
|
|
62
|
+
"kind": "js",
|
|
63
|
+
"name": "dialogFooterRenderer",
|
|
64
|
+
"declaration": {
|
|
65
|
+
"name": "dialogFooterRenderer",
|
|
66
|
+
"module": "\"@vaadin/dialog/lit.js\""
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "js",
|
|
71
|
+
"name": "dialogRenderer",
|
|
72
|
+
"declaration": {
|
|
73
|
+
"name": "dialogRenderer",
|
|
74
|
+
"module": "\"@vaadin/dialog/lit.js\""
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "js",
|
|
79
|
+
"name": "OrVaadinDialog",
|
|
80
|
+
"declaration": {
|
|
81
|
+
"name": "OrVaadinDialog",
|
|
82
|
+
"module": "src/or-vaadin-dialog.ts"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "custom-element-definition",
|
|
87
|
+
"name": "or-vaadin-dialog",
|
|
88
|
+
"declaration": {
|
|
89
|
+
"name": "OrVaadinDialog",
|
|
90
|
+
"module": "src/or-vaadin-dialog.ts"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "javascript-module",
|
|
97
|
+
"path": "src/or-vaadin-input.ts",
|
|
98
|
+
"declarations": [
|
|
99
|
+
{
|
|
100
|
+
"kind": "class",
|
|
101
|
+
"description": "Custom element that wraps various Vaadin input components based on the specified `type`.\nProvides a unified interface for interacting with different types of inputs.",
|
|
102
|
+
"name": "OrVaadinInput",
|
|
103
|
+
"members": [
|
|
104
|
+
{
|
|
105
|
+
"kind": "field",
|
|
106
|
+
"name": "VAADIN_CLASSES",
|
|
107
|
+
"type": {
|
|
108
|
+
"text": "(CustomElementConstructor | undefined)[]"
|
|
109
|
+
},
|
|
110
|
+
"privacy": "public",
|
|
111
|
+
"static": true,
|
|
112
|
+
"readonly": true,
|
|
113
|
+
"default": "[ customElements.get(\"or-vaadin-numberfield\"), customElements.get(\"or-vaadin-passwordfield\"), customElements.get(\"or-vaadin-select\"), customElements.get(\"or-vaadin-textarea\"), customElements.get(\"or-vaadin-textfield\") ]",
|
|
114
|
+
"description": "Static list of Vaadin component classes to scan through during attribute changes.\nIt's important that the complete list of CustomElements is defined here.\nBe aware: all CustomElements defined here need to be imported during initialization; dynamic imports are not expected to work."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"kind": "field",
|
|
118
|
+
"name": "TEMPLATES",
|
|
119
|
+
"privacy": "public",
|
|
120
|
+
"static": true,
|
|
121
|
+
"readonly": true,
|
|
122
|
+
"default": "new Map<InputType, (onChange: (ev: Event) => void) => TemplateResult>([ [InputType.CHECKBOX, OrVaadinInput.getCheckboxTemplate], [InputType.BIG_INT, OrVaadinInput.getNumberFieldTemplate], [InputType.NUMBER, OrVaadinInput.getNumberFieldTemplate], [InputType.TEXTAREA, OrVaadinInput.getTextAreaTemplate], [InputType.TEXT, OrVaadinInput.getTextFieldTemplate], [InputType.PASSWORD, OrVaadinInput.getPasswordFieldTemplate], [InputType.SELECT, OrVaadinInput.getSelectTemplate] ])",
|
|
123
|
+
"description": "Static map of template functions that are used to render the Vaadin components.\nFor example, InputType.CHECKBOX generates a `<or-vaadin-checkbox>` element.\nThe map value contains a function, with an onChange callback parameter for handling events."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"kind": "field",
|
|
127
|
+
"name": "CHANGE_EVENTS",
|
|
128
|
+
"privacy": "public",
|
|
129
|
+
"static": true,
|
|
130
|
+
"readonly": true,
|
|
131
|
+
"default": "new Map<InputType, string>([ [InputType.BIG_INT, \"submit\"], [InputType.NUMBER, \"submit\"], [InputType.TEXTAREA, \"submit\"], [InputType.TEXT, \"submit\"], [InputType.PASSWORD, \"submit\"] ])",
|
|
132
|
+
"description": "Static map of what HTML event to listen for when a value changes. By default, or when undefined, the \"change\" event is used.\nSometimes you'd like to override this, such as a text field, where it should only be updated \"on submit\"."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "field",
|
|
136
|
+
"name": "FORBIDDEN_ATTRIBUTES",
|
|
137
|
+
"type": {
|
|
138
|
+
"text": "array"
|
|
139
|
+
},
|
|
140
|
+
"privacy": "public",
|
|
141
|
+
"static": true,
|
|
142
|
+
"readonly": true,
|
|
143
|
+
"default": "[\"id\"]",
|
|
144
|
+
"description": "List of forbidden attributes that are not processed nor \"bubbled down\" to the child Vaadin component.\nSo `<or-vaadin-input id=\"myId\" type=\"text\">`, wouldn't render `<or-vaadin-textfield id=\"myId\">`, but `<or-vaadin-textfield>`."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "field",
|
|
148
|
+
"name": "type",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "InputType"
|
|
151
|
+
},
|
|
152
|
+
"privacy": "public",
|
|
153
|
+
"description": "The input type that determines which Vaadin component to render.\nRefer to InputType and OrVaadinInput.TEMPLATES for the supported types.",
|
|
154
|
+
"attribute": "type"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"kind": "field",
|
|
158
|
+
"name": "_elem",
|
|
159
|
+
"type": {
|
|
160
|
+
"text": "HTMLInputElement | undefined"
|
|
161
|
+
},
|
|
162
|
+
"privacy": "protected"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "field",
|
|
166
|
+
"name": "_observer",
|
|
167
|
+
"privacy": "protected",
|
|
168
|
+
"default": "new MutationObserver((mutations, observer) => this._onAttributeChange(mutations, observer))",
|
|
169
|
+
"description": "Internal observer for tracking attribute updates on the root element."
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"kind": "field",
|
|
173
|
+
"name": "native",
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "HTMLInputElement | undefined"
|
|
176
|
+
},
|
|
177
|
+
"privacy": "public",
|
|
178
|
+
"description": "Returns the native Vaadin input element.",
|
|
179
|
+
"readonly": true
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"kind": "field",
|
|
183
|
+
"name": "nativeValue",
|
|
184
|
+
"type": {
|
|
185
|
+
"text": "any"
|
|
186
|
+
},
|
|
187
|
+
"privacy": "public",
|
|
188
|
+
"description": "Returns the value of the native Vaadin input element.",
|
|
189
|
+
"readonly": true
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "method",
|
|
193
|
+
"name": "checkValidity",
|
|
194
|
+
"privacy": "public",
|
|
195
|
+
"return": {
|
|
196
|
+
"type": {
|
|
197
|
+
"text": "boolean"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"description": "Function that returns a boolean which indicates if the element meets any constraint validation rules applied to it.",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "checkValidity() => boolean"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"kind": "method",
|
|
207
|
+
"name": "_onAttributeChange",
|
|
208
|
+
"privacy": "protected",
|
|
209
|
+
"parameters": [
|
|
210
|
+
{
|
|
211
|
+
"name": "mutations",
|
|
212
|
+
"type": {
|
|
213
|
+
"text": "MutationRecord[]"
|
|
214
|
+
},
|
|
215
|
+
"description": "Array of mutations occurring in a single event"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "_observer",
|
|
219
|
+
"type": {
|
|
220
|
+
"text": "MutationObserver"
|
|
221
|
+
},
|
|
222
|
+
"description": "The observer causing the {@link MutationCallback}"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"description": "Internal MutationCallback function for handling attribute changes from an MutationObserver."
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"kind": "method",
|
|
229
|
+
"name": "_onPropertyChange",
|
|
230
|
+
"privacy": "protected",
|
|
231
|
+
"parameters": [
|
|
232
|
+
{
|
|
233
|
+
"name": "name",
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "string"
|
|
236
|
+
},
|
|
237
|
+
"description": "Property key that was changed"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "newValue",
|
|
241
|
+
"optional": true,
|
|
242
|
+
"type": {
|
|
243
|
+
"text": "any"
|
|
244
|
+
},
|
|
245
|
+
"description": "(optional) the new value to apply"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"description": "Internal function for handling property changes during the Lit lifecycle."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "method",
|
|
252
|
+
"name": "_onValueChange",
|
|
253
|
+
"privacy": "protected",
|
|
254
|
+
"parameters": [
|
|
255
|
+
{
|
|
256
|
+
"name": "ev",
|
|
257
|
+
"type": {
|
|
258
|
+
"text": "Event"
|
|
259
|
+
},
|
|
260
|
+
"description": "Event that occurred"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"description": "Internal callback function when a user changes the value inside the Vaadin element.\nNormally this is caused by an `@change` event."
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "method",
|
|
267
|
+
"name": "_applyAttribute",
|
|
268
|
+
"privacy": "protected",
|
|
269
|
+
"parameters": [
|
|
270
|
+
{
|
|
271
|
+
"name": "name",
|
|
272
|
+
"type": {
|
|
273
|
+
"text": "string"
|
|
274
|
+
},
|
|
275
|
+
"description": "Attribute name"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "value",
|
|
279
|
+
"optional": true,
|
|
280
|
+
"type": {
|
|
281
|
+
"text": "any"
|
|
282
|
+
},
|
|
283
|
+
"description": "Value to apply"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "elem",
|
|
287
|
+
"default": "this._elem",
|
|
288
|
+
"description": "Optional {@link HTMLInputElement}to apply the change to\n * "
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"description": "Internal function to apply an attribute to the child Vaadin element."
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "method",
|
|
295
|
+
"name": "getCheckboxTemplate",
|
|
296
|
+
"privacy": "public",
|
|
297
|
+
"static": true,
|
|
298
|
+
"parameters": [
|
|
299
|
+
{
|
|
300
|
+
"name": "onChange",
|
|
301
|
+
"optional": true,
|
|
302
|
+
"type": {
|
|
303
|
+
"text": "(e: Event) => void"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"type": {
|
|
308
|
+
"text": "getCheckboxTemplate(onChange?: (e: Event) => void) => void"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "method",
|
|
313
|
+
"name": "getNumberFieldTemplate",
|
|
314
|
+
"privacy": "public",
|
|
315
|
+
"static": true,
|
|
316
|
+
"parameters": [
|
|
317
|
+
{
|
|
318
|
+
"name": "onChange",
|
|
319
|
+
"optional": true,
|
|
320
|
+
"type": {
|
|
321
|
+
"text": "(e: Event) => void"
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"type": {
|
|
326
|
+
"text": "getNumberFieldTemplate(onChange?: (e: Event) => void) => void"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"kind": "method",
|
|
331
|
+
"name": "getTextAreaTemplate",
|
|
332
|
+
"privacy": "public",
|
|
333
|
+
"static": true,
|
|
334
|
+
"parameters": [
|
|
335
|
+
{
|
|
336
|
+
"name": "onChange",
|
|
337
|
+
"optional": true,
|
|
338
|
+
"type": {
|
|
339
|
+
"text": "(e: Event) => void"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"type": {
|
|
344
|
+
"text": "getTextAreaTemplate(onChange?: (e: Event) => void) => void"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"kind": "method",
|
|
349
|
+
"name": "getTextFieldTemplate",
|
|
350
|
+
"privacy": "public",
|
|
351
|
+
"static": true,
|
|
352
|
+
"parameters": [
|
|
353
|
+
{
|
|
354
|
+
"name": "onChange",
|
|
355
|
+
"optional": true,
|
|
356
|
+
"type": {
|
|
357
|
+
"text": "(e: Event) => void"
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"type": {
|
|
362
|
+
"text": "getTextFieldTemplate(onChange?: (e: Event) => void) => void"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"kind": "method",
|
|
367
|
+
"name": "getPasswordFieldTemplate",
|
|
368
|
+
"privacy": "public",
|
|
369
|
+
"static": true,
|
|
370
|
+
"parameters": [
|
|
371
|
+
{
|
|
372
|
+
"name": "onChange",
|
|
373
|
+
"optional": true,
|
|
374
|
+
"type": {
|
|
375
|
+
"text": "(e: Event) => void"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"type": {
|
|
380
|
+
"text": "getPasswordFieldTemplate(onChange?: (e: Event) => void) => void"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"kind": "method",
|
|
385
|
+
"name": "getSelectTemplate",
|
|
386
|
+
"privacy": "public",
|
|
387
|
+
"static": true,
|
|
388
|
+
"parameters": [
|
|
389
|
+
{
|
|
390
|
+
"name": "onChange",
|
|
391
|
+
"optional": true,
|
|
392
|
+
"type": {
|
|
393
|
+
"text": "(e: Event) => void"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"type": {
|
|
398
|
+
"text": "getSelectTemplate(onChange?: (e: Event) => void) => void"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"events": [
|
|
403
|
+
{
|
|
404
|
+
"name": "change",
|
|
405
|
+
"type": {
|
|
406
|
+
"text": "CustomEvent"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
"attributes": [
|
|
411
|
+
{
|
|
412
|
+
"name": "type",
|
|
413
|
+
"type": {
|
|
414
|
+
"text": "InputType"
|
|
415
|
+
},
|
|
416
|
+
"description": "The input type that determines which Vaadin component to render.\nRefer to InputType and OrVaadinInput.TEMPLATES for the supported types.",
|
|
417
|
+
"fieldName": "type"
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"superclass": {
|
|
421
|
+
"name": "LitElement",
|
|
422
|
+
"package": "lit"
|
|
423
|
+
},
|
|
424
|
+
"tagName": "or-vaadin-input",
|
|
425
|
+
"customElement": true,
|
|
426
|
+
"modulePath": "src/or-vaadin-input.ts",
|
|
427
|
+
"definitionPath": "src/or-vaadin-input.ts"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
"exports": [
|
|
431
|
+
{
|
|
432
|
+
"kind": "js",
|
|
433
|
+
"name": "OrVaadinInput",
|
|
434
|
+
"declaration": {
|
|
435
|
+
"name": "OrVaadinInput",
|
|
436
|
+
"module": "src/or-vaadin-input.ts"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"kind": "custom-element-definition",
|
|
441
|
+
"name": "or-vaadin-input",
|
|
442
|
+
"declaration": {
|
|
443
|
+
"name": "OrVaadinInput",
|
|
444
|
+
"module": "src/or-vaadin-input.ts"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"kind": "javascript-module",
|
|
451
|
+
"path": "src/or-vaadin-numberfield.ts",
|
|
452
|
+
"declarations": [
|
|
453
|
+
{
|
|
454
|
+
"kind": "class",
|
|
455
|
+
"description": "",
|
|
456
|
+
"name": "OrVaadinNumberfield",
|
|
457
|
+
"members": [
|
|
458
|
+
{
|
|
459
|
+
"kind": "method",
|
|
460
|
+
"name": "_onEnter",
|
|
461
|
+
"parameters": [
|
|
462
|
+
{
|
|
463
|
+
"name": "ev",
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "KeyboardEvent"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
"type": {
|
|
470
|
+
"text": "_onEnter(ev: KeyboardEvent) => void"
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"events": [
|
|
475
|
+
{
|
|
476
|
+
"name": "submit",
|
|
477
|
+
"type": {
|
|
478
|
+
"text": "CustomEvent"
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"superclass": {
|
|
483
|
+
"module": "src/or-vaadin-numberfield.ts"
|
|
484
|
+
},
|
|
485
|
+
"tagName": "or-vaadin-numberfield",
|
|
486
|
+
"customElement": true,
|
|
487
|
+
"modulePath": "src/or-vaadin-numberfield.ts",
|
|
488
|
+
"definitionPath": "src/or-vaadin-numberfield.ts"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"exports": [
|
|
492
|
+
{
|
|
493
|
+
"kind": "js",
|
|
494
|
+
"name": "OrVaadinNumberfield",
|
|
495
|
+
"declaration": {
|
|
496
|
+
"name": "OrVaadinNumberfield",
|
|
497
|
+
"module": "src/or-vaadin-numberfield.ts"
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"kind": "custom-element-definition",
|
|
502
|
+
"name": "or-vaadin-numberfield",
|
|
503
|
+
"declaration": {
|
|
504
|
+
"name": "OrVaadinNumberfield",
|
|
505
|
+
"module": "src/or-vaadin-numberfield.ts"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "javascript-module",
|
|
512
|
+
"path": "src/or-vaadin-passwordfield.ts",
|
|
513
|
+
"declarations": [
|
|
514
|
+
{
|
|
515
|
+
"kind": "class",
|
|
516
|
+
"description": "",
|
|
517
|
+
"name": "OrVaadinPasswordField",
|
|
518
|
+
"members": [
|
|
519
|
+
{
|
|
520
|
+
"kind": "method",
|
|
521
|
+
"name": "_onEnter",
|
|
522
|
+
"parameters": [
|
|
523
|
+
{
|
|
524
|
+
"name": "ev",
|
|
525
|
+
"type": {
|
|
526
|
+
"text": "KeyboardEvent"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"type": {
|
|
531
|
+
"text": "_onEnter(ev: KeyboardEvent) => void"
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"events": [
|
|
536
|
+
{
|
|
537
|
+
"name": "submit",
|
|
538
|
+
"type": {
|
|
539
|
+
"text": "CustomEvent"
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
"superclass": {
|
|
544
|
+
"module": "src/or-vaadin-passwordfield.ts"
|
|
545
|
+
},
|
|
546
|
+
"tagName": "or-vaadin-passwordfield",
|
|
547
|
+
"customElement": true,
|
|
548
|
+
"modulePath": "src/or-vaadin-passwordfield.ts",
|
|
549
|
+
"definitionPath": "src/or-vaadin-passwordfield.ts"
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"exports": [
|
|
553
|
+
{
|
|
554
|
+
"kind": "js",
|
|
555
|
+
"name": "OrVaadinPasswordField",
|
|
556
|
+
"declaration": {
|
|
557
|
+
"name": "OrVaadinPasswordField",
|
|
558
|
+
"module": "src/or-vaadin-passwordfield.ts"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"kind": "custom-element-definition",
|
|
563
|
+
"name": "or-vaadin-passwordfield",
|
|
564
|
+
"declaration": {
|
|
565
|
+
"name": "OrVaadinPasswordField",
|
|
566
|
+
"module": "src/or-vaadin-passwordfield.ts"
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
]
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"kind": "javascript-module",
|
|
573
|
+
"path": "src/or-vaadin-select.ts",
|
|
574
|
+
"declarations": [
|
|
575
|
+
{
|
|
576
|
+
"kind": "class",
|
|
577
|
+
"description": "",
|
|
578
|
+
"name": "OrVaadinSelect",
|
|
579
|
+
"superclass": {
|
|
580
|
+
"name": "Select",
|
|
581
|
+
"package": "@vaadin/select"
|
|
582
|
+
},
|
|
583
|
+
"tagName": "or-vaadin-select",
|
|
584
|
+
"customElement": true,
|
|
585
|
+
"modulePath": "src/or-vaadin-select.ts",
|
|
586
|
+
"definitionPath": "src/or-vaadin-select.ts"
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"exports": [
|
|
590
|
+
{
|
|
591
|
+
"kind": "js",
|
|
592
|
+
"name": "OrVaadinSelect",
|
|
593
|
+
"declaration": {
|
|
594
|
+
"name": "OrVaadinSelect",
|
|
595
|
+
"module": "src/or-vaadin-select.ts"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"kind": "custom-element-definition",
|
|
600
|
+
"name": "or-vaadin-select",
|
|
601
|
+
"declaration": {
|
|
602
|
+
"name": "OrVaadinSelect",
|
|
603
|
+
"module": "src/or-vaadin-select.ts"
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
]
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"kind": "javascript-module",
|
|
610
|
+
"path": "src/or-vaadin-textarea.ts",
|
|
611
|
+
"declarations": [
|
|
612
|
+
{
|
|
613
|
+
"kind": "class",
|
|
614
|
+
"description": "",
|
|
615
|
+
"name": "OrVaadinTextarea",
|
|
616
|
+
"members": [
|
|
617
|
+
{
|
|
618
|
+
"kind": "method",
|
|
619
|
+
"name": "_onEnter",
|
|
620
|
+
"parameters": [
|
|
621
|
+
{
|
|
622
|
+
"name": "ev",
|
|
623
|
+
"type": {
|
|
624
|
+
"text": "KeyboardEvent"
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"type": {
|
|
629
|
+
"text": "_onEnter(ev: KeyboardEvent) => void"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"events": [
|
|
634
|
+
{
|
|
635
|
+
"name": "submit",
|
|
636
|
+
"type": {
|
|
637
|
+
"text": "CustomEvent"
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
"superclass": {
|
|
642
|
+
"module": "src/or-vaadin-textarea.ts"
|
|
643
|
+
},
|
|
644
|
+
"tagName": "or-vaadin-textarea",
|
|
645
|
+
"customElement": true,
|
|
646
|
+
"modulePath": "src/or-vaadin-textarea.ts",
|
|
647
|
+
"definitionPath": "src/or-vaadin-textarea.ts"
|
|
648
|
+
}
|
|
649
|
+
],
|
|
650
|
+
"exports": [
|
|
651
|
+
{
|
|
652
|
+
"kind": "js",
|
|
653
|
+
"name": "OrVaadinTextarea",
|
|
654
|
+
"declaration": {
|
|
655
|
+
"name": "OrVaadinTextarea",
|
|
656
|
+
"module": "src/or-vaadin-textarea.ts"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"kind": "custom-element-definition",
|
|
661
|
+
"name": "or-vaadin-textarea",
|
|
662
|
+
"declaration": {
|
|
663
|
+
"name": "OrVaadinTextarea",
|
|
664
|
+
"module": "src/or-vaadin-textarea.ts"
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
]
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"kind": "javascript-module",
|
|
671
|
+
"path": "src/or-vaadin-textfield.ts",
|
|
672
|
+
"declarations": [
|
|
673
|
+
{
|
|
674
|
+
"kind": "class",
|
|
675
|
+
"description": "",
|
|
676
|
+
"name": "OrVaadinTextfield",
|
|
677
|
+
"members": [
|
|
678
|
+
{
|
|
679
|
+
"kind": "method",
|
|
680
|
+
"name": "_onEnter",
|
|
681
|
+
"parameters": [
|
|
682
|
+
{
|
|
683
|
+
"name": "ev",
|
|
684
|
+
"type": {
|
|
685
|
+
"text": "KeyboardEvent"
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"type": {
|
|
690
|
+
"text": "_onEnter(ev: KeyboardEvent) => void"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"events": [
|
|
695
|
+
{
|
|
696
|
+
"name": "submit",
|
|
697
|
+
"type": {
|
|
698
|
+
"text": "CustomEvent"
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"superclass": {
|
|
703
|
+
"module": "src/or-vaadin-textfield.ts"
|
|
704
|
+
},
|
|
705
|
+
"tagName": "or-vaadin-textfield",
|
|
706
|
+
"customElement": true,
|
|
707
|
+
"modulePath": "src/or-vaadin-textfield.ts",
|
|
708
|
+
"definitionPath": "src/or-vaadin-textfield.ts"
|
|
709
|
+
}
|
|
710
|
+
],
|
|
711
|
+
"exports": [
|
|
712
|
+
{
|
|
713
|
+
"kind": "js",
|
|
714
|
+
"name": "OrVaadinTextfield",
|
|
715
|
+
"declaration": {
|
|
716
|
+
"name": "OrVaadinTextfield",
|
|
717
|
+
"module": "src/or-vaadin-textfield.ts"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"kind": "custom-element-definition",
|
|
722
|
+
"name": "or-vaadin-textfield",
|
|
723
|
+
"declaration": {
|
|
724
|
+
"name": "OrVaadinTextfield",
|
|
725
|
+
"module": "src/or-vaadin-textfield.ts"
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"kind": "javascript-module",
|
|
732
|
+
"path": "src/util.ts",
|
|
733
|
+
"declarations": [
|
|
734
|
+
{
|
|
735
|
+
"kind": "function",
|
|
736
|
+
"name": "getValueHolderInputTemplateProvider",
|
|
737
|
+
"parameters": [
|
|
738
|
+
{
|
|
739
|
+
"name": "assetDescriptor"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "valueHolder"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "valueHolderDescriptor"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "valueDescriptor"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "valueChangeNotifier"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"name": "options"
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"description": "Internal function to retrieve HTML template based on the Asset-, attribute-, and value descriptors\nIt generates a template using `or-vaadin-input`, together with respective HTML attributes like min/max, pattern, and of course 'input type'.\nFor example, a 'positive number' attribute will render a `<or-vaadin-input type=\"number\" min=\"0\">`.\nIf the Vaadin input doesn't support the 'input type', it will automatically fall back to the older `or-mwc-input`.\n\nThis is mostly copied over from `or-mwc-input`, so this will need optimizing once that has been deprecated."
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"exports": [
|
|
761
|
+
{
|
|
762
|
+
"kind": "js",
|
|
763
|
+
"name": "getValueHolderInputTemplateProvider",
|
|
764
|
+
"declaration": {
|
|
765
|
+
"name": "getValueHolderInputTemplateProvider",
|
|
766
|
+
"module": "src/util.ts"
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
]
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
}
|