@webtides/element-library 0.1.0 → 0.1.2
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/CHANGELOG.md +16 -0
- package/custom-elements.json +489 -489
- package/package.json +3 -5
- package/src/components/carousel/carousel.changelog.md +6 -0
- package/src/components/carousel/glide/components/ShadowHtml.js +1 -1
- package/src/components/carousel/glide/components/glide-html.js +108 -0
- package/src/components/dialog/dialog.changelog.md +6 -0
- package/src/components/notification/notification.changelog.md +6 -0
- package/src/utils/body-scroll.js +43 -0
- package/src/utils/transitions.js +39 -0
- package/types/src/components/carousel/glide/components/ShadowHtml.d.ts +4 -1
- package/types/src/components/carousel/glide/components/glide-html.d.ts +12 -0
- package/web-types.json +211 -211
- package/patches/@glidejs+glide+3.6.2.patch +0 -11
package/custom-elements.json
CHANGED
|
@@ -162,6 +162,83 @@
|
|
|
162
162
|
}
|
|
163
163
|
]
|
|
164
164
|
},
|
|
165
|
+
{
|
|
166
|
+
"kind": "javascript-module",
|
|
167
|
+
"path": "src/components/accordion-group/accordion-group.js",
|
|
168
|
+
"declarations": [
|
|
169
|
+
{
|
|
170
|
+
"kind": "class",
|
|
171
|
+
"description": "Container that manages multiple `<el-accordion>` children. When `showMultiple` is\n`false`, only one accordion can be open at a time; opening a new accordion closes the\npreviously open one.",
|
|
172
|
+
"name": "AccordionGroup",
|
|
173
|
+
"slots": [
|
|
174
|
+
{
|
|
175
|
+
"description": "Default slot for `<el-accordion>` children.",
|
|
176
|
+
"name": ""
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"members": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "field",
|
|
182
|
+
"name": "currentOpenElement",
|
|
183
|
+
"type": {
|
|
184
|
+
"text": "null"
|
|
185
|
+
},
|
|
186
|
+
"default": "null",
|
|
187
|
+
"privacy": "private"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "field",
|
|
191
|
+
"name": "showMultiple",
|
|
192
|
+
"privacy": "public",
|
|
193
|
+
"type": {
|
|
194
|
+
"text": "boolean"
|
|
195
|
+
},
|
|
196
|
+
"description": "When `false`, only one child accordion can be open at a time; opening a new accordion closes the previously open one. When `true`, multiple accordions can be open simultaneously.",
|
|
197
|
+
"attribute": "show-multiple"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"attributes": [
|
|
201
|
+
{
|
|
202
|
+
"name": "show-multiple",
|
|
203
|
+
"type": {
|
|
204
|
+
"text": "boolean"
|
|
205
|
+
},
|
|
206
|
+
"description": "When `false`, only one child accordion can be open at a time; opening a new accordion closes the previously open one. When `true`, multiple accordions can be open simultaneously.",
|
|
207
|
+
"fieldName": "showMultiple"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"superclass": {
|
|
211
|
+
"name": "BaseElement",
|
|
212
|
+
"package": "@webtides/element-js"
|
|
213
|
+
},
|
|
214
|
+
"tagName": "el-accordion-group",
|
|
215
|
+
"customElement": true,
|
|
216
|
+
"tagNameWithoutPrefix": "accordion-group"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "function",
|
|
220
|
+
"name": "define"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"exports": [
|
|
224
|
+
{
|
|
225
|
+
"kind": "js",
|
|
226
|
+
"name": "default",
|
|
227
|
+
"declaration": {
|
|
228
|
+
"name": "AccordionGroup",
|
|
229
|
+
"module": "src/components/accordion-group/accordion-group.js"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "js",
|
|
234
|
+
"name": "define",
|
|
235
|
+
"declaration": {
|
|
236
|
+
"name": "define",
|
|
237
|
+
"module": "src/components/accordion-group/accordion-group.js"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
},
|
|
165
242
|
{
|
|
166
243
|
"kind": "javascript-module",
|
|
167
244
|
"path": "src/components/amount-field/amount-field.js",
|
|
@@ -698,83 +775,6 @@
|
|
|
698
775
|
}
|
|
699
776
|
]
|
|
700
777
|
},
|
|
701
|
-
{
|
|
702
|
-
"kind": "javascript-module",
|
|
703
|
-
"path": "src/components/accordion-group/accordion-group.js",
|
|
704
|
-
"declarations": [
|
|
705
|
-
{
|
|
706
|
-
"kind": "class",
|
|
707
|
-
"description": "Container that manages multiple `<el-accordion>` children. When `showMultiple` is\n`false`, only one accordion can be open at a time; opening a new accordion closes the\npreviously open one.",
|
|
708
|
-
"name": "AccordionGroup",
|
|
709
|
-
"slots": [
|
|
710
|
-
{
|
|
711
|
-
"description": "Default slot for `<el-accordion>` children.",
|
|
712
|
-
"name": ""
|
|
713
|
-
}
|
|
714
|
-
],
|
|
715
|
-
"members": [
|
|
716
|
-
{
|
|
717
|
-
"kind": "field",
|
|
718
|
-
"name": "currentOpenElement",
|
|
719
|
-
"type": {
|
|
720
|
-
"text": "null"
|
|
721
|
-
},
|
|
722
|
-
"default": "null",
|
|
723
|
-
"privacy": "private"
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
"kind": "field",
|
|
727
|
-
"name": "showMultiple",
|
|
728
|
-
"privacy": "public",
|
|
729
|
-
"type": {
|
|
730
|
-
"text": "boolean"
|
|
731
|
-
},
|
|
732
|
-
"description": "When `false`, only one child accordion can be open at a time; opening a new accordion closes the previously open one. When `true`, multiple accordions can be open simultaneously.",
|
|
733
|
-
"attribute": "show-multiple"
|
|
734
|
-
}
|
|
735
|
-
],
|
|
736
|
-
"attributes": [
|
|
737
|
-
{
|
|
738
|
-
"name": "show-multiple",
|
|
739
|
-
"type": {
|
|
740
|
-
"text": "boolean"
|
|
741
|
-
},
|
|
742
|
-
"description": "When `false`, only one child accordion can be open at a time; opening a new accordion closes the previously open one. When `true`, multiple accordions can be open simultaneously.",
|
|
743
|
-
"fieldName": "showMultiple"
|
|
744
|
-
}
|
|
745
|
-
],
|
|
746
|
-
"superclass": {
|
|
747
|
-
"name": "BaseElement",
|
|
748
|
-
"package": "@webtides/element-js"
|
|
749
|
-
},
|
|
750
|
-
"tagName": "el-accordion-group",
|
|
751
|
-
"customElement": true,
|
|
752
|
-
"tagNameWithoutPrefix": "accordion-group"
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"kind": "function",
|
|
756
|
-
"name": "define"
|
|
757
|
-
}
|
|
758
|
-
],
|
|
759
|
-
"exports": [
|
|
760
|
-
{
|
|
761
|
-
"kind": "js",
|
|
762
|
-
"name": "default",
|
|
763
|
-
"declaration": {
|
|
764
|
-
"name": "AccordionGroup",
|
|
765
|
-
"module": "src/components/accordion-group/accordion-group.js"
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
"kind": "js",
|
|
770
|
-
"name": "define",
|
|
771
|
-
"declaration": {
|
|
772
|
-
"name": "define",
|
|
773
|
-
"module": "src/components/accordion-group/accordion-group.js"
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
]
|
|
777
|
-
},
|
|
778
778
|
{
|
|
779
779
|
"kind": "javascript-module",
|
|
780
780
|
"path": "src/components/button/button.js",
|
|
@@ -1455,185 +1455,68 @@
|
|
|
1455
1455
|
},
|
|
1456
1456
|
{
|
|
1457
1457
|
"kind": "javascript-module",
|
|
1458
|
-
"path": "src/components/
|
|
1458
|
+
"path": "src/components/checkbox-field/checkbox-field.js",
|
|
1459
1459
|
"declarations": [
|
|
1460
1460
|
{
|
|
1461
1461
|
"kind": "class",
|
|
1462
|
-
"description": "
|
|
1463
|
-
"name": "
|
|
1464
|
-
"cssParts": [
|
|
1465
|
-
{
|
|
1466
|
-
"description": "Forwarded onto the `trigger` slot.",
|
|
1467
|
-
"name": "trigger"
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"description": "Wrapper around the `content` slot. Surface for background, border, radius and elevation. Only present in the DOM while `open` is `true`.",
|
|
1471
|
-
"name": "panel"
|
|
1472
|
-
},
|
|
1473
|
-
{
|
|
1474
|
-
"description": "Forwarded onto the `content` slot.",
|
|
1475
|
-
"name": "content"
|
|
1476
|
-
}
|
|
1477
|
-
],
|
|
1478
|
-
"slots": [
|
|
1479
|
-
{
|
|
1480
|
-
"description": "Element that opens the dropdown when clicked. Automatically receives the `show-dropdown` attribute.",
|
|
1481
|
-
"name": "trigger"
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"description": "Dropdown content shown only while `open` is `true`.",
|
|
1485
|
-
"name": "content"
|
|
1486
|
-
}
|
|
1487
|
-
],
|
|
1462
|
+
"description": "Styled checkbox input with a custom checkmark indicator, label, and validation. Extends\n`FormField` and inherits its label / help / error / required surface.",
|
|
1463
|
+
"name": "CheckboxField",
|
|
1488
1464
|
"members": [
|
|
1489
1465
|
{
|
|
1490
|
-
"kind": "
|
|
1491
|
-
"name": "
|
|
1466
|
+
"kind": "field",
|
|
1467
|
+
"name": "uuid",
|
|
1492
1468
|
"privacy": "private"
|
|
1493
1469
|
},
|
|
1494
1470
|
{
|
|
1495
1471
|
"kind": "method",
|
|
1496
|
-
"name": "
|
|
1497
|
-
"privacy": "private"
|
|
1472
|
+
"name": "labelTemplate",
|
|
1473
|
+
"privacy": "private",
|
|
1474
|
+
"description": "The checkbox renders its label inline next to the box (see `fieldTemplate`), so the base\nFormField label is suppressed.",
|
|
1475
|
+
"return": {
|
|
1476
|
+
"type": {
|
|
1477
|
+
"text": "null"
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
"inheritedFrom": {
|
|
1481
|
+
"name": "FormField",
|
|
1482
|
+
"module": "src/components/form-field/form-field.js"
|
|
1483
|
+
}
|
|
1498
1484
|
},
|
|
1499
1485
|
{
|
|
1500
1486
|
"kind": "method",
|
|
1501
|
-
"name": "
|
|
1502
|
-
"
|
|
1487
|
+
"name": "fieldTemplate",
|
|
1488
|
+
"description": "Subclass extension point. Override to render the actual input element(s).",
|
|
1489
|
+
"return": {
|
|
1490
|
+
"type": {
|
|
1491
|
+
"text": "unknown"
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
"inheritedFrom": {
|
|
1495
|
+
"name": "FormField",
|
|
1496
|
+
"module": "src/components/form-field/form-field.js"
|
|
1497
|
+
}
|
|
1503
1498
|
},
|
|
1504
1499
|
{
|
|
1505
1500
|
"kind": "method",
|
|
1506
|
-
"name": "
|
|
1507
|
-
"parameters": [
|
|
1508
|
-
{
|
|
1509
|
-
"name": "event"
|
|
1510
|
-
}
|
|
1511
|
-
],
|
|
1501
|
+
"name": "selectedIndicatorTemplate",
|
|
1512
1502
|
"privacy": "private"
|
|
1513
1503
|
},
|
|
1514
1504
|
{
|
|
1515
1505
|
"kind": "field",
|
|
1516
|
-
"name": "
|
|
1506
|
+
"name": "checked",
|
|
1517
1507
|
"privacy": "public",
|
|
1518
1508
|
"type": {
|
|
1519
1509
|
"text": "boolean"
|
|
1520
1510
|
},
|
|
1521
|
-
"description": "Whether the
|
|
1522
|
-
"attribute": "
|
|
1523
|
-
}
|
|
1524
|
-
],
|
|
1525
|
-
"attributes": [
|
|
1511
|
+
"description": "Whether the checkbox is checked. Reflected to the `checked` attribute.",
|
|
1512
|
+
"attribute": "checked"
|
|
1513
|
+
},
|
|
1526
1514
|
{
|
|
1527
|
-
"
|
|
1528
|
-
"
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
"fieldName": "open"
|
|
1533
|
-
}
|
|
1534
|
-
],
|
|
1535
|
-
"cssStates": [
|
|
1536
|
-
{
|
|
1537
|
-
"description": "Set while the dropdown content is visible. Style with `:host(:state(open))` or `el-dropdown:state(open)` from outside.",
|
|
1538
|
-
"name": "open"
|
|
1539
|
-
}
|
|
1540
|
-
],
|
|
1541
|
-
"superclass": {
|
|
1542
|
-
"name": "TemplateElement",
|
|
1543
|
-
"package": "@webtides/element-js"
|
|
1544
|
-
},
|
|
1545
|
-
"tagName": "el-dropdown",
|
|
1546
|
-
"customElement": true,
|
|
1547
|
-
"tagNameWithoutPrefix": "dropdown"
|
|
1548
|
-
},
|
|
1549
|
-
{
|
|
1550
|
-
"kind": "function",
|
|
1551
|
-
"name": "define"
|
|
1552
|
-
}
|
|
1553
|
-
],
|
|
1554
|
-
"exports": [
|
|
1555
|
-
{
|
|
1556
|
-
"kind": "js",
|
|
1557
|
-
"name": "default",
|
|
1558
|
-
"declaration": {
|
|
1559
|
-
"name": "Dropdown",
|
|
1560
|
-
"module": "src/components/dropdown/dropdown.js"
|
|
1561
|
-
}
|
|
1562
|
-
},
|
|
1563
|
-
{
|
|
1564
|
-
"kind": "js",
|
|
1565
|
-
"name": "define",
|
|
1566
|
-
"declaration": {
|
|
1567
|
-
"name": "define",
|
|
1568
|
-
"module": "src/components/dropdown/dropdown.js"
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
]
|
|
1572
|
-
},
|
|
1573
|
-
{
|
|
1574
|
-
"kind": "javascript-module",
|
|
1575
|
-
"path": "src/components/checkbox-field/checkbox-field.js",
|
|
1576
|
-
"declarations": [
|
|
1577
|
-
{
|
|
1578
|
-
"kind": "class",
|
|
1579
|
-
"description": "Styled checkbox input with a custom checkmark indicator, label, and validation. Extends\n`FormField` and inherits its label / help / error / required surface.",
|
|
1580
|
-
"name": "CheckboxField",
|
|
1581
|
-
"members": [
|
|
1582
|
-
{
|
|
1583
|
-
"kind": "field",
|
|
1584
|
-
"name": "uuid",
|
|
1585
|
-
"privacy": "private"
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
"kind": "method",
|
|
1589
|
-
"name": "labelTemplate",
|
|
1590
|
-
"privacy": "private",
|
|
1591
|
-
"description": "The checkbox renders its label inline next to the box (see `fieldTemplate`), so the base\nFormField label is suppressed.",
|
|
1592
|
-
"return": {
|
|
1593
|
-
"type": {
|
|
1594
|
-
"text": "null"
|
|
1595
|
-
}
|
|
1596
|
-
},
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "FormField",
|
|
1599
|
-
"module": "src/components/form-field/form-field.js"
|
|
1600
|
-
}
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
"kind": "method",
|
|
1604
|
-
"name": "fieldTemplate",
|
|
1605
|
-
"description": "Subclass extension point. Override to render the actual input element(s).",
|
|
1606
|
-
"return": {
|
|
1607
|
-
"type": {
|
|
1608
|
-
"text": "unknown"
|
|
1609
|
-
}
|
|
1610
|
-
},
|
|
1611
|
-
"inheritedFrom": {
|
|
1612
|
-
"name": "FormField",
|
|
1613
|
-
"module": "src/components/form-field/form-field.js"
|
|
1614
|
-
}
|
|
1615
|
-
},
|
|
1616
|
-
{
|
|
1617
|
-
"kind": "method",
|
|
1618
|
-
"name": "selectedIndicatorTemplate",
|
|
1619
|
-
"privacy": "private"
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "field",
|
|
1623
|
-
"name": "checked",
|
|
1624
|
-
"privacy": "public",
|
|
1625
|
-
"type": {
|
|
1626
|
-
"text": "boolean"
|
|
1627
|
-
},
|
|
1628
|
-
"description": "Whether the checkbox is checked. Reflected to the `checked` attribute.",
|
|
1629
|
-
"attribute": "checked"
|
|
1630
|
-
},
|
|
1631
|
-
{
|
|
1632
|
-
"kind": "field",
|
|
1633
|
-
"name": "",
|
|
1634
|
-
"privacy": "public",
|
|
1635
|
-
"attribute": ""
|
|
1636
|
-
},
|
|
1515
|
+
"kind": "field",
|
|
1516
|
+
"name": "",
|
|
1517
|
+
"privacy": "public",
|
|
1518
|
+
"attribute": ""
|
|
1519
|
+
},
|
|
1637
1520
|
{
|
|
1638
1521
|
"kind": "method",
|
|
1639
1522
|
"name": "syncValidationStates",
|
|
@@ -2387,6 +2270,123 @@
|
|
|
2387
2270
|
}
|
|
2388
2271
|
]
|
|
2389
2272
|
},
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "javascript-module",
|
|
2275
|
+
"path": "src/components/dropdown/dropdown.js",
|
|
2276
|
+
"declarations": [
|
|
2277
|
+
{
|
|
2278
|
+
"kind": "class",
|
|
2279
|
+
"description": "Toggleable dropdown menu with `trigger` and `content` slots. Auto-closes on outside\nclick or `Escape`.",
|
|
2280
|
+
"name": "Dropdown",
|
|
2281
|
+
"cssParts": [
|
|
2282
|
+
{
|
|
2283
|
+
"description": "Forwarded onto the `trigger` slot.",
|
|
2284
|
+
"name": "trigger"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"description": "Wrapper around the `content` slot. Surface for background, border, radius and elevation. Only present in the DOM while `open` is `true`.",
|
|
2288
|
+
"name": "panel"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"description": "Forwarded onto the `content` slot.",
|
|
2292
|
+
"name": "content"
|
|
2293
|
+
}
|
|
2294
|
+
],
|
|
2295
|
+
"slots": [
|
|
2296
|
+
{
|
|
2297
|
+
"description": "Element that opens the dropdown when clicked. Automatically receives the `show-dropdown` attribute.",
|
|
2298
|
+
"name": "trigger"
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"description": "Dropdown content shown only while `open` is `true`.",
|
|
2302
|
+
"name": "content"
|
|
2303
|
+
}
|
|
2304
|
+
],
|
|
2305
|
+
"members": [
|
|
2306
|
+
{
|
|
2307
|
+
"kind": "method",
|
|
2308
|
+
"name": "addEventListeners",
|
|
2309
|
+
"privacy": "private"
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"kind": "method",
|
|
2313
|
+
"name": "removeEventListeners",
|
|
2314
|
+
"privacy": "private"
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "method",
|
|
2318
|
+
"name": "onClick",
|
|
2319
|
+
"privacy": "private"
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"kind": "method",
|
|
2323
|
+
"name": "onKeyDown",
|
|
2324
|
+
"parameters": [
|
|
2325
|
+
{
|
|
2326
|
+
"name": "event"
|
|
2327
|
+
}
|
|
2328
|
+
],
|
|
2329
|
+
"privacy": "private"
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"kind": "field",
|
|
2333
|
+
"name": "open",
|
|
2334
|
+
"privacy": "public",
|
|
2335
|
+
"type": {
|
|
2336
|
+
"text": "boolean"
|
|
2337
|
+
},
|
|
2338
|
+
"description": "Whether the dropdown content is visible. Setting to `true` attaches a one-shot outside-click / `Escape` listener that closes the dropdown.",
|
|
2339
|
+
"attribute": "open"
|
|
2340
|
+
}
|
|
2341
|
+
],
|
|
2342
|
+
"attributes": [
|
|
2343
|
+
{
|
|
2344
|
+
"name": "open",
|
|
2345
|
+
"type": {
|
|
2346
|
+
"text": "boolean"
|
|
2347
|
+
},
|
|
2348
|
+
"description": "Whether the dropdown content is visible. Setting to `true` attaches a one-shot outside-click / `Escape` listener that closes the dropdown.",
|
|
2349
|
+
"fieldName": "open"
|
|
2350
|
+
}
|
|
2351
|
+
],
|
|
2352
|
+
"cssStates": [
|
|
2353
|
+
{
|
|
2354
|
+
"description": "Set while the dropdown content is visible. Style with `:host(:state(open))` or `el-dropdown:state(open)` from outside.",
|
|
2355
|
+
"name": "open"
|
|
2356
|
+
}
|
|
2357
|
+
],
|
|
2358
|
+
"superclass": {
|
|
2359
|
+
"name": "TemplateElement",
|
|
2360
|
+
"package": "@webtides/element-js"
|
|
2361
|
+
},
|
|
2362
|
+
"tagName": "el-dropdown",
|
|
2363
|
+
"customElement": true,
|
|
2364
|
+
"tagNameWithoutPrefix": "dropdown"
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"kind": "function",
|
|
2368
|
+
"name": "define"
|
|
2369
|
+
}
|
|
2370
|
+
],
|
|
2371
|
+
"exports": [
|
|
2372
|
+
{
|
|
2373
|
+
"kind": "js",
|
|
2374
|
+
"name": "default",
|
|
2375
|
+
"declaration": {
|
|
2376
|
+
"name": "Dropdown",
|
|
2377
|
+
"module": "src/components/dropdown/dropdown.js"
|
|
2378
|
+
}
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"kind": "js",
|
|
2382
|
+
"name": "define",
|
|
2383
|
+
"declaration": {
|
|
2384
|
+
"name": "define",
|
|
2385
|
+
"module": "src/components/dropdown/dropdown.js"
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
]
|
|
2389
|
+
},
|
|
2390
2390
|
{
|
|
2391
2391
|
"kind": "javascript-module",
|
|
2392
2392
|
"path": "src/components/form-field/form-field.js",
|
|
@@ -3708,47 +3708,33 @@
|
|
|
3708
3708
|
},
|
|
3709
3709
|
{
|
|
3710
3710
|
"kind": "javascript-module",
|
|
3711
|
-
"path": "src/components/
|
|
3711
|
+
"path": "src/components/password-field/password-field.js",
|
|
3712
3712
|
"declarations": [
|
|
3713
3713
|
{
|
|
3714
3714
|
"kind": "class",
|
|
3715
|
-
"description": "A
|
|
3716
|
-
"name": "
|
|
3715
|
+
"description": "A password input with an optional show/hide reveal toggle. Extends `InputField` (and therefore\n`FormField`), inheriting the label / help / error / validation surface; it pins the input `type`\nto `password` and flips it to `text` while revealed.",
|
|
3716
|
+
"name": "PasswordField",
|
|
3717
3717
|
"members": [
|
|
3718
|
-
{
|
|
3719
|
-
"kind": "field",
|
|
3720
|
-
"name": "uuid",
|
|
3721
|
-
"privacy": "private"
|
|
3722
|
-
},
|
|
3723
|
-
{
|
|
3724
|
-
"kind": "method",
|
|
3725
|
-
"name": "_computeValid",
|
|
3726
|
-
"description": "Whether the group currently passes validation. A radio group's only native constraint is\n`required`, so this is timing-independent (no rendered input needed): required ⇒ a value\nmust be selected.",
|
|
3727
|
-
"privacy": "private"
|
|
3728
|
-
},
|
|
3729
3718
|
{
|
|
3730
3719
|
"kind": "method",
|
|
3731
|
-
"name": "
|
|
3732
|
-
"description": "
|
|
3720
|
+
"name": "togglePasswordVisibility",
|
|
3721
|
+
"description": "Toggles between masked (`password`) and revealed (`text`) input.",
|
|
3733
3722
|
"return": {
|
|
3734
3723
|
"type": {
|
|
3735
3724
|
"text": "void"
|
|
3736
3725
|
}
|
|
3737
|
-
},
|
|
3738
|
-
"inheritedFrom": {
|
|
3739
|
-
"name": "FormField",
|
|
3740
|
-
"module": "src/components/form-field/form-field.js"
|
|
3741
3726
|
}
|
|
3742
3727
|
},
|
|
3743
3728
|
{
|
|
3744
3729
|
"kind": "method",
|
|
3745
|
-
"name": "
|
|
3746
|
-
"description": "
|
|
3730
|
+
"name": "fieldTemplate",
|
|
3731
|
+
"description": "Subclass extension point. Override to render the actual input element(s).",
|
|
3747
3732
|
"return": {
|
|
3748
3733
|
"type": {
|
|
3749
|
-
"text": "
|
|
3734
|
+
"text": "unknown"
|
|
3750
3735
|
}
|
|
3751
3736
|
},
|
|
3737
|
+
"privacy": "private",
|
|
3752
3738
|
"inheritedFrom": {
|
|
3753
3739
|
"name": "FormField",
|
|
3754
3740
|
"module": "src/components/form-field/form-field.js"
|
|
@@ -3756,68 +3742,90 @@
|
|
|
3756
3742
|
},
|
|
3757
3743
|
{
|
|
3758
3744
|
"kind": "method",
|
|
3759
|
-
"name": "
|
|
3760
|
-
"privacy": "private"
|
|
3761
|
-
"description": "The label is rendered as the group's `<legend>` (see `template`), so the base FormField\n`<label>` is suppressed.",
|
|
3762
|
-
"return": {
|
|
3763
|
-
"type": {
|
|
3764
|
-
"text": "null"
|
|
3765
|
-
}
|
|
3766
|
-
},
|
|
3767
|
-
"inheritedFrom": {
|
|
3768
|
-
"name": "FormField",
|
|
3769
|
-
"module": "src/components/form-field/form-field.js"
|
|
3770
|
-
}
|
|
3745
|
+
"name": "toggleTemplate",
|
|
3746
|
+
"privacy": "private"
|
|
3771
3747
|
},
|
|
3772
3748
|
{
|
|
3773
3749
|
"kind": "method",
|
|
3774
|
-
"name": "
|
|
3750
|
+
"name": "eyeIconTemplate",
|
|
3775
3751
|
"privacy": "private"
|
|
3776
3752
|
},
|
|
3777
3753
|
{
|
|
3778
3754
|
"kind": "method",
|
|
3779
|
-
"name": "
|
|
3780
|
-
"
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3755
|
+
"name": "eyeOffIconTemplate",
|
|
3756
|
+
"privacy": "private"
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
"kind": "field",
|
|
3760
|
+
"name": "passwordToggle",
|
|
3761
|
+
"privacy": "public",
|
|
3762
|
+
"type": {
|
|
3763
|
+
"text": "boolean"
|
|
3785
3764
|
},
|
|
3786
|
-
"
|
|
3765
|
+
"description": "Whether to render the show/hide reveal button. Default `true`.",
|
|
3766
|
+
"attribute": "password-toggle"
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
"kind": "field",
|
|
3770
|
+
"name": "passwordVisible",
|
|
3771
|
+
"privacy": "public",
|
|
3772
|
+
"type": {
|
|
3773
|
+
"text": "boolean"
|
|
3774
|
+
},
|
|
3775
|
+
"description": "Whether the value is currently revealed as plain text. Default `false`.",
|
|
3776
|
+
"attribute": "password-visible"
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
"kind": "field",
|
|
3780
|
+
"name": "",
|
|
3781
|
+
"privacy": "public",
|
|
3782
|
+
"attribute": "",
|
|
3787
3783
|
"inheritedFrom": {
|
|
3788
|
-
"name": "
|
|
3789
|
-
"module": "src/components/
|
|
3784
|
+
"name": "InputField",
|
|
3785
|
+
"module": "src/components/input-field/input-field.js"
|
|
3790
3786
|
}
|
|
3791
3787
|
},
|
|
3792
3788
|
{
|
|
3793
3789
|
"kind": "field",
|
|
3794
|
-
"name": "
|
|
3790
|
+
"name": "type",
|
|
3795
3791
|
"privacy": "public",
|
|
3796
3792
|
"type": {
|
|
3797
|
-
"text": "string
|
|
3793
|
+
"text": "string"
|
|
3798
3794
|
},
|
|
3799
|
-
"description": "
|
|
3800
|
-
"attribute": "
|
|
3795
|
+
"description": "Native `type` attribute of the underlying `<input>` (e.g. `'text'`, `'email'`, `'password'`, `'tel'`, `'url'`).",
|
|
3796
|
+
"attribute": "type",
|
|
3801
3797
|
"inheritedFrom": {
|
|
3802
|
-
"name": "
|
|
3803
|
-
"module": "src/components/
|
|
3798
|
+
"name": "InputField",
|
|
3799
|
+
"module": "src/components/input-field/input-field.js"
|
|
3804
3800
|
}
|
|
3805
3801
|
},
|
|
3806
3802
|
{
|
|
3807
3803
|
"kind": "field",
|
|
3808
|
-
"name": "
|
|
3804
|
+
"name": "placeholder",
|
|
3809
3805
|
"privacy": "public",
|
|
3810
3806
|
"type": {
|
|
3811
|
-
"text": "
|
|
3807
|
+
"text": "string"
|
|
3812
3808
|
},
|
|
3813
|
-
"description": "
|
|
3814
|
-
"attribute": "
|
|
3809
|
+
"description": "Placeholder text shown while the input is empty.",
|
|
3810
|
+
"attribute": "placeholder",
|
|
3811
|
+
"inheritedFrom": {
|
|
3812
|
+
"name": "InputField",
|
|
3813
|
+
"module": "src/components/input-field/input-field.js"
|
|
3814
|
+
}
|
|
3815
3815
|
},
|
|
3816
3816
|
{
|
|
3817
3817
|
"kind": "field",
|
|
3818
|
-
"name": "",
|
|
3818
|
+
"name": "pattern",
|
|
3819
3819
|
"privacy": "public",
|
|
3820
|
-
"
|
|
3820
|
+
"type": {
|
|
3821
|
+
"text": "string | false"
|
|
3822
|
+
},
|
|
3823
|
+
"description": "Regular expression used as the input's `pattern` attribute. When `false` (the default), the `pattern` attribute is omitted entirely, so the field applies no pattern constraint.",
|
|
3824
|
+
"attribute": "pattern",
|
|
3825
|
+
"inheritedFrom": {
|
|
3826
|
+
"name": "InputField",
|
|
3827
|
+
"module": "src/components/input-field/input-field.js"
|
|
3828
|
+
}
|
|
3821
3829
|
},
|
|
3822
3830
|
{
|
|
3823
3831
|
"kind": "method",
|
|
@@ -3828,6 +3836,34 @@
|
|
|
3828
3836
|
"module": "src/components/form-field/form-field.js"
|
|
3829
3837
|
}
|
|
3830
3838
|
},
|
|
3839
|
+
{
|
|
3840
|
+
"kind": "method",
|
|
3841
|
+
"name": "onFocus",
|
|
3842
|
+
"description": "Called when the input receives focus. Refreshes validation state.",
|
|
3843
|
+
"return": {
|
|
3844
|
+
"type": {
|
|
3845
|
+
"text": "void"
|
|
3846
|
+
}
|
|
3847
|
+
},
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "FormField",
|
|
3850
|
+
"module": "src/components/form-field/form-field.js"
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"kind": "method",
|
|
3855
|
+
"name": "onBlur",
|
|
3856
|
+
"description": "Called when the input loses focus. Marks the field as touched and refreshes\nvalidation state.",
|
|
3857
|
+
"return": {
|
|
3858
|
+
"type": {
|
|
3859
|
+
"text": "void"
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3862
|
+
"inheritedFrom": {
|
|
3863
|
+
"name": "FormField",
|
|
3864
|
+
"module": "src/components/form-field/form-field.js"
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3831
3867
|
{
|
|
3832
3868
|
"kind": "method",
|
|
3833
3869
|
"name": "onChange",
|
|
@@ -3865,6 +3901,15 @@
|
|
|
3865
3901
|
"module": "src/components/form-field/form-field.js"
|
|
3866
3902
|
}
|
|
3867
3903
|
},
|
|
3904
|
+
{
|
|
3905
|
+
"kind": "method",
|
|
3906
|
+
"name": "labelTemplate",
|
|
3907
|
+
"privacy": "private",
|
|
3908
|
+
"inheritedFrom": {
|
|
3909
|
+
"name": "FormField",
|
|
3910
|
+
"module": "src/components/form-field/form-field.js"
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3868
3913
|
{
|
|
3869
3914
|
"kind": "method",
|
|
3870
3915
|
"name": "helpTemplate",
|
|
@@ -3897,6 +3942,20 @@
|
|
|
3897
3942
|
"module": "src/components/form-field/form-field.js"
|
|
3898
3943
|
}
|
|
3899
3944
|
},
|
|
3945
|
+
{
|
|
3946
|
+
"kind": "field",
|
|
3947
|
+
"name": "value",
|
|
3948
|
+
"privacy": "public",
|
|
3949
|
+
"type": {
|
|
3950
|
+
"text": "string | null"
|
|
3951
|
+
},
|
|
3952
|
+
"description": "Current value of the field.",
|
|
3953
|
+
"attribute": "value",
|
|
3954
|
+
"inheritedFrom": {
|
|
3955
|
+
"name": "FormField",
|
|
3956
|
+
"module": "src/components/form-field/form-field.js"
|
|
3957
|
+
}
|
|
3958
|
+
},
|
|
3900
3959
|
{
|
|
3901
3960
|
"kind": "field",
|
|
3902
3961
|
"name": "required",
|
|
@@ -4015,7 +4074,7 @@
|
|
|
4015
4074
|
"type": {
|
|
4016
4075
|
"text": "CustomEvent<string>"
|
|
4017
4076
|
},
|
|
4018
|
-
"description": "Fired when the
|
|
4077
|
+
"description": "Fired when the input's value changes. `detail` is the new value. Bubbles.",
|
|
4019
4078
|
"name": "input-change",
|
|
4020
4079
|
"inheritedFrom": {
|
|
4021
4080
|
"name": "FormField",
|
|
@@ -4026,15 +4085,63 @@
|
|
|
4026
4085
|
"attributes": [
|
|
4027
4086
|
{
|
|
4028
4087
|
"name": "",
|
|
4029
|
-
"fieldName": ""
|
|
4088
|
+
"fieldName": "",
|
|
4089
|
+
"inheritedFrom": {
|
|
4090
|
+
"name": "InputField",
|
|
4091
|
+
"module": "src/components/input-field/input-field.js"
|
|
4092
|
+
}
|
|
4030
4093
|
},
|
|
4031
4094
|
{
|
|
4032
|
-
"name": "
|
|
4095
|
+
"name": "type",
|
|
4033
4096
|
"type": {
|
|
4034
|
-
"text": "
|
|
4097
|
+
"text": "string"
|
|
4035
4098
|
},
|
|
4036
|
-
"description": "
|
|
4037
|
-
"fieldName": "
|
|
4099
|
+
"description": "Native `type` attribute of the underlying `<input>` (e.g. `'text'`, `'email'`, `'password'`, `'tel'`, `'url'`).",
|
|
4100
|
+
"fieldName": "type",
|
|
4101
|
+
"inheritedFrom": {
|
|
4102
|
+
"name": "InputField",
|
|
4103
|
+
"module": "src/components/input-field/input-field.js"
|
|
4104
|
+
}
|
|
4105
|
+
},
|
|
4106
|
+
{
|
|
4107
|
+
"name": "password-toggle",
|
|
4108
|
+
"type": {
|
|
4109
|
+
"text": "boolean"
|
|
4110
|
+
},
|
|
4111
|
+
"description": "Whether to render the show/hide reveal button. Default `true`.",
|
|
4112
|
+
"fieldName": "passwordToggle"
|
|
4113
|
+
},
|
|
4114
|
+
{
|
|
4115
|
+
"name": "password-visible",
|
|
4116
|
+
"type": {
|
|
4117
|
+
"text": "boolean"
|
|
4118
|
+
},
|
|
4119
|
+
"description": "Whether the value is currently revealed as plain text. Default `false`.",
|
|
4120
|
+
"fieldName": "passwordVisible"
|
|
4121
|
+
},
|
|
4122
|
+
{
|
|
4123
|
+
"name": "placeholder",
|
|
4124
|
+
"type": {
|
|
4125
|
+
"text": "string"
|
|
4126
|
+
},
|
|
4127
|
+
"description": "Placeholder text shown while the input is empty.",
|
|
4128
|
+
"fieldName": "placeholder",
|
|
4129
|
+
"inheritedFrom": {
|
|
4130
|
+
"name": "InputField",
|
|
4131
|
+
"module": "src/components/input-field/input-field.js"
|
|
4132
|
+
}
|
|
4133
|
+
},
|
|
4134
|
+
{
|
|
4135
|
+
"name": "pattern",
|
|
4136
|
+
"type": {
|
|
4137
|
+
"text": "string | false"
|
|
4138
|
+
},
|
|
4139
|
+
"description": "Regular expression used as the input's `pattern` attribute. When `false` (the default), the `pattern` attribute is omitted entirely, so the field applies no pattern constraint.",
|
|
4140
|
+
"fieldName": "pattern",
|
|
4141
|
+
"inheritedFrom": {
|
|
4142
|
+
"name": "InputField",
|
|
4143
|
+
"module": "src/components/input-field/input-field.js"
|
|
4144
|
+
}
|
|
4038
4145
|
},
|
|
4039
4146
|
{
|
|
4040
4147
|
"name": "name",
|
|
@@ -4157,9 +4264,16 @@
|
|
|
4157
4264
|
}
|
|
4158
4265
|
}
|
|
4159
4266
|
],
|
|
4267
|
+
"superclass": {
|
|
4268
|
+
"name": "InputField",
|
|
4269
|
+
"module": "/src/components/input-field/input-field.js"
|
|
4270
|
+
},
|
|
4271
|
+
"tagName": "el-password-field",
|
|
4272
|
+
"customElement": true,
|
|
4273
|
+
"tagNameWithoutPrefix": "password-field",
|
|
4160
4274
|
"cssStates": [
|
|
4161
4275
|
{
|
|
4162
|
-
"description": "Set once the user has focused and blurred the
|
|
4276
|
+
"description": "Set on the host once the user has focused and blurred the field. Inherited by all subclasses (`InputField`, `CheckboxField`, `TextareaField`, `AmountField`, `SelectField`).",
|
|
4163
4277
|
"name": "touched",
|
|
4164
4278
|
"inheritedFrom": {
|
|
4165
4279
|
"name": "FormField",
|
|
@@ -4182,14 +4296,7 @@
|
|
|
4182
4296
|
"module": "src/components/form-field/form-field.js"
|
|
4183
4297
|
}
|
|
4184
4298
|
}
|
|
4185
|
-
]
|
|
4186
|
-
"superclass": {
|
|
4187
|
-
"name": "FormField",
|
|
4188
|
-
"module": "/src/components/form-field/form-field.js"
|
|
4189
|
-
},
|
|
4190
|
-
"tagName": "el-radio-field",
|
|
4191
|
-
"customElement": true,
|
|
4192
|
-
"tagNameWithoutPrefix": "radio-field"
|
|
4299
|
+
]
|
|
4193
4300
|
},
|
|
4194
4301
|
{
|
|
4195
4302
|
"kind": "function",
|
|
@@ -4201,8 +4308,8 @@
|
|
|
4201
4308
|
"kind": "js",
|
|
4202
4309
|
"name": "default",
|
|
4203
4310
|
"declaration": {
|
|
4204
|
-
"name": "
|
|
4205
|
-
"module": "src/components/
|
|
4311
|
+
"name": "PasswordField",
|
|
4312
|
+
"module": "src/components/password-field/password-field.js"
|
|
4206
4313
|
}
|
|
4207
4314
|
},
|
|
4208
4315
|
{
|
|
@@ -4210,40 +4317,54 @@
|
|
|
4210
4317
|
"name": "define",
|
|
4211
4318
|
"declaration": {
|
|
4212
4319
|
"name": "define",
|
|
4213
|
-
"module": "src/components/
|
|
4320
|
+
"module": "src/components/password-field/password-field.js"
|
|
4214
4321
|
}
|
|
4215
4322
|
}
|
|
4216
4323
|
]
|
|
4217
4324
|
},
|
|
4218
4325
|
{
|
|
4219
4326
|
"kind": "javascript-module",
|
|
4220
|
-
"path": "src/components/
|
|
4327
|
+
"path": "src/components/radio-field/radio-field.js",
|
|
4221
4328
|
"declarations": [
|
|
4222
4329
|
{
|
|
4223
4330
|
"kind": "class",
|
|
4224
|
-
"description": "A
|
|
4225
|
-
"name": "
|
|
4331
|
+
"description": "A single-choice radio group with a custom indicator, label, help text and validation. Renders a\nnative `<fieldset>`/`<legend>` wrapping mutually-exclusive `<input type=\"radio\">`s (so keyboard\nnavigation, grouping and form submission are all native). Extends `FormField` and inherits its\nhelp / error / required / touched-state surface; the `label` becomes the group's `<legend>`.",
|
|
4332
|
+
"name": "RadioField",
|
|
4226
4333
|
"members": [
|
|
4334
|
+
{
|
|
4335
|
+
"kind": "field",
|
|
4336
|
+
"name": "uuid",
|
|
4337
|
+
"privacy": "private"
|
|
4338
|
+
},
|
|
4227
4339
|
{
|
|
4228
4340
|
"kind": "method",
|
|
4229
|
-
"name": "
|
|
4230
|
-
"description": "
|
|
4341
|
+
"name": "_computeValid",
|
|
4342
|
+
"description": "Whether the group currently passes validation. A radio group's only native constraint is\n`required`, so this is timing-independent (no rendered input needed): required ⇒ a value\nmust be selected.",
|
|
4343
|
+
"privacy": "private"
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"kind": "method",
|
|
4347
|
+
"name": "onFocus",
|
|
4348
|
+
"description": "Called when the input receives focus. Refreshes validation state.",
|
|
4231
4349
|
"return": {
|
|
4232
4350
|
"type": {
|
|
4233
4351
|
"text": "void"
|
|
4234
4352
|
}
|
|
4353
|
+
},
|
|
4354
|
+
"inheritedFrom": {
|
|
4355
|
+
"name": "FormField",
|
|
4356
|
+
"module": "src/components/form-field/form-field.js"
|
|
4235
4357
|
}
|
|
4236
4358
|
},
|
|
4237
4359
|
{
|
|
4238
4360
|
"kind": "method",
|
|
4239
|
-
"name": "
|
|
4240
|
-
"description": "
|
|
4361
|
+
"name": "onBlur",
|
|
4362
|
+
"description": "Called when the input loses focus. Marks the field as touched and refreshes\nvalidation state.",
|
|
4241
4363
|
"return": {
|
|
4242
4364
|
"type": {
|
|
4243
|
-
"text": "
|
|
4365
|
+
"text": "void"
|
|
4244
4366
|
}
|
|
4245
4367
|
},
|
|
4246
|
-
"privacy": "private",
|
|
4247
4368
|
"inheritedFrom": {
|
|
4248
4369
|
"name": "FormField",
|
|
4249
4370
|
"module": "src/components/form-field/form-field.js"
|
|
@@ -4251,90 +4372,68 @@
|
|
|
4251
4372
|
},
|
|
4252
4373
|
{
|
|
4253
4374
|
"kind": "method",
|
|
4254
|
-
"name": "
|
|
4255
|
-
"privacy": "private"
|
|
4375
|
+
"name": "labelTemplate",
|
|
4376
|
+
"privacy": "private",
|
|
4377
|
+
"description": "The label is rendered as the group's `<legend>` (see `template`), so the base FormField\n`<label>` is suppressed.",
|
|
4378
|
+
"return": {
|
|
4379
|
+
"type": {
|
|
4380
|
+
"text": "null"
|
|
4381
|
+
}
|
|
4382
|
+
},
|
|
4383
|
+
"inheritedFrom": {
|
|
4384
|
+
"name": "FormField",
|
|
4385
|
+
"module": "src/components/form-field/form-field.js"
|
|
4386
|
+
}
|
|
4256
4387
|
},
|
|
4257
4388
|
{
|
|
4258
4389
|
"kind": "method",
|
|
4259
|
-
"name": "
|
|
4390
|
+
"name": "legendTemplate",
|
|
4260
4391
|
"privacy": "private"
|
|
4261
4392
|
},
|
|
4262
4393
|
{
|
|
4263
4394
|
"kind": "method",
|
|
4264
|
-
"name": "
|
|
4265
|
-
"
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
"privacy": "public",
|
|
4271
|
-
"type": {
|
|
4272
|
-
"text": "boolean"
|
|
4273
|
-
},
|
|
4274
|
-
"description": "Whether to render the show/hide reveal button. Default `true`.",
|
|
4275
|
-
"attribute": "password-toggle"
|
|
4276
|
-
},
|
|
4277
|
-
{
|
|
4278
|
-
"kind": "field",
|
|
4279
|
-
"name": "passwordVisible",
|
|
4280
|
-
"privacy": "public",
|
|
4281
|
-
"type": {
|
|
4282
|
-
"text": "boolean"
|
|
4395
|
+
"name": "fieldTemplate",
|
|
4396
|
+
"description": "Subclass extension point. Override to render the actual input element(s).",
|
|
4397
|
+
"return": {
|
|
4398
|
+
"type": {
|
|
4399
|
+
"text": "unknown"
|
|
4400
|
+
}
|
|
4283
4401
|
},
|
|
4284
|
-
"
|
|
4285
|
-
"attribute": "password-visible"
|
|
4286
|
-
},
|
|
4287
|
-
{
|
|
4288
|
-
"kind": "field",
|
|
4289
|
-
"name": "",
|
|
4290
|
-
"privacy": "public",
|
|
4291
|
-
"attribute": "",
|
|
4402
|
+
"privacy": "private",
|
|
4292
4403
|
"inheritedFrom": {
|
|
4293
|
-
"name": "
|
|
4294
|
-
"module": "src/components/
|
|
4404
|
+
"name": "FormField",
|
|
4405
|
+
"module": "src/components/form-field/form-field.js"
|
|
4295
4406
|
}
|
|
4296
4407
|
},
|
|
4297
4408
|
{
|
|
4298
4409
|
"kind": "field",
|
|
4299
|
-
"name": "
|
|
4410
|
+
"name": "value",
|
|
4300
4411
|
"privacy": "public",
|
|
4301
4412
|
"type": {
|
|
4302
|
-
"text": "string"
|
|
4413
|
+
"text": "string | null"
|
|
4303
4414
|
},
|
|
4304
|
-
"description": "
|
|
4305
|
-
"attribute": "
|
|
4415
|
+
"description": "The selected option's value.",
|
|
4416
|
+
"attribute": "value",
|
|
4306
4417
|
"inheritedFrom": {
|
|
4307
|
-
"name": "
|
|
4308
|
-
"module": "src/components/
|
|
4418
|
+
"name": "FormField",
|
|
4419
|
+
"module": "src/components/form-field/form-field.js"
|
|
4309
4420
|
}
|
|
4310
4421
|
},
|
|
4311
4422
|
{
|
|
4312
4423
|
"kind": "field",
|
|
4313
|
-
"name": "
|
|
4424
|
+
"name": "options",
|
|
4314
4425
|
"privacy": "public",
|
|
4315
4426
|
"type": {
|
|
4316
|
-
"text": "string"
|
|
4427
|
+
"text": "Array<string | { value: string, label?: string, disabled?: boolean }>"
|
|
4317
4428
|
},
|
|
4318
|
-
"description": "
|
|
4319
|
-
"attribute": "
|
|
4320
|
-
"inheritedFrom": {
|
|
4321
|
-
"name": "InputField",
|
|
4322
|
-
"module": "src/components/input-field/input-field.js"
|
|
4323
|
-
}
|
|
4429
|
+
"description": "Options to render. Accepts plain strings (`['Yes', 'No']`) or option objects (`[{ value, label, disabled? }]`). Strings are used as both value and label.",
|
|
4430
|
+
"attribute": "options"
|
|
4324
4431
|
},
|
|
4325
4432
|
{
|
|
4326
4433
|
"kind": "field",
|
|
4327
|
-
"name": "
|
|
4434
|
+
"name": "",
|
|
4328
4435
|
"privacy": "public",
|
|
4329
|
-
"
|
|
4330
|
-
"text": "string | false"
|
|
4331
|
-
},
|
|
4332
|
-
"description": "Regular expression used as the input's `pattern` attribute. When `false` (the default), the `pattern` attribute is omitted entirely, so the field applies no pattern constraint.",
|
|
4333
|
-
"attribute": "pattern",
|
|
4334
|
-
"inheritedFrom": {
|
|
4335
|
-
"name": "InputField",
|
|
4336
|
-
"module": "src/components/input-field/input-field.js"
|
|
4337
|
-
}
|
|
4436
|
+
"attribute": ""
|
|
4338
4437
|
},
|
|
4339
4438
|
{
|
|
4340
4439
|
"kind": "method",
|
|
@@ -4345,34 +4444,6 @@
|
|
|
4345
4444
|
"module": "src/components/form-field/form-field.js"
|
|
4346
4445
|
}
|
|
4347
4446
|
},
|
|
4348
|
-
{
|
|
4349
|
-
"kind": "method",
|
|
4350
|
-
"name": "onFocus",
|
|
4351
|
-
"description": "Called when the input receives focus. Refreshes validation state.",
|
|
4352
|
-
"return": {
|
|
4353
|
-
"type": {
|
|
4354
|
-
"text": "void"
|
|
4355
|
-
}
|
|
4356
|
-
},
|
|
4357
|
-
"inheritedFrom": {
|
|
4358
|
-
"name": "FormField",
|
|
4359
|
-
"module": "src/components/form-field/form-field.js"
|
|
4360
|
-
}
|
|
4361
|
-
},
|
|
4362
|
-
{
|
|
4363
|
-
"kind": "method",
|
|
4364
|
-
"name": "onBlur",
|
|
4365
|
-
"description": "Called when the input loses focus. Marks the field as touched and refreshes\nvalidation state.",
|
|
4366
|
-
"return": {
|
|
4367
|
-
"type": {
|
|
4368
|
-
"text": "void"
|
|
4369
|
-
}
|
|
4370
|
-
},
|
|
4371
|
-
"inheritedFrom": {
|
|
4372
|
-
"name": "FormField",
|
|
4373
|
-
"module": "src/components/form-field/form-field.js"
|
|
4374
|
-
}
|
|
4375
|
-
},
|
|
4376
4447
|
{
|
|
4377
4448
|
"kind": "method",
|
|
4378
4449
|
"name": "onChange",
|
|
@@ -4410,15 +4481,6 @@
|
|
|
4410
4481
|
"module": "src/components/form-field/form-field.js"
|
|
4411
4482
|
}
|
|
4412
4483
|
},
|
|
4413
|
-
{
|
|
4414
|
-
"kind": "method",
|
|
4415
|
-
"name": "labelTemplate",
|
|
4416
|
-
"privacy": "private",
|
|
4417
|
-
"inheritedFrom": {
|
|
4418
|
-
"name": "FormField",
|
|
4419
|
-
"module": "src/components/form-field/form-field.js"
|
|
4420
|
-
}
|
|
4421
|
-
},
|
|
4422
4484
|
{
|
|
4423
4485
|
"kind": "method",
|
|
4424
4486
|
"name": "helpTemplate",
|
|
@@ -4451,20 +4513,6 @@
|
|
|
4451
4513
|
"module": "src/components/form-field/form-field.js"
|
|
4452
4514
|
}
|
|
4453
4515
|
},
|
|
4454
|
-
{
|
|
4455
|
-
"kind": "field",
|
|
4456
|
-
"name": "value",
|
|
4457
|
-
"privacy": "public",
|
|
4458
|
-
"type": {
|
|
4459
|
-
"text": "string | null"
|
|
4460
|
-
},
|
|
4461
|
-
"description": "Current value of the field.",
|
|
4462
|
-
"attribute": "value",
|
|
4463
|
-
"inheritedFrom": {
|
|
4464
|
-
"name": "FormField",
|
|
4465
|
-
"module": "src/components/form-field/form-field.js"
|
|
4466
|
-
}
|
|
4467
|
-
},
|
|
4468
4516
|
{
|
|
4469
4517
|
"kind": "field",
|
|
4470
4518
|
"name": "required",
|
|
@@ -4583,7 +4631,7 @@
|
|
|
4583
4631
|
"type": {
|
|
4584
4632
|
"text": "CustomEvent<string>"
|
|
4585
4633
|
},
|
|
4586
|
-
"description": "Fired when the
|
|
4634
|
+
"description": "Fired when the selected value changes. `detail` is the newly selected value. Bubbles.",
|
|
4587
4635
|
"name": "input-change",
|
|
4588
4636
|
"inheritedFrom": {
|
|
4589
4637
|
"name": "FormField",
|
|
@@ -4594,63 +4642,15 @@
|
|
|
4594
4642
|
"attributes": [
|
|
4595
4643
|
{
|
|
4596
4644
|
"name": "",
|
|
4597
|
-
"fieldName": ""
|
|
4598
|
-
"inheritedFrom": {
|
|
4599
|
-
"name": "InputField",
|
|
4600
|
-
"module": "src/components/input-field/input-field.js"
|
|
4601
|
-
}
|
|
4602
|
-
},
|
|
4603
|
-
{
|
|
4604
|
-
"name": "type",
|
|
4605
|
-
"type": {
|
|
4606
|
-
"text": "string"
|
|
4607
|
-
},
|
|
4608
|
-
"description": "Native `type` attribute of the underlying `<input>` (e.g. `'text'`, `'email'`, `'password'`, `'tel'`, `'url'`).",
|
|
4609
|
-
"fieldName": "type",
|
|
4610
|
-
"inheritedFrom": {
|
|
4611
|
-
"name": "InputField",
|
|
4612
|
-
"module": "src/components/input-field/input-field.js"
|
|
4613
|
-
}
|
|
4614
|
-
},
|
|
4615
|
-
{
|
|
4616
|
-
"name": "password-toggle",
|
|
4617
|
-
"type": {
|
|
4618
|
-
"text": "boolean"
|
|
4619
|
-
},
|
|
4620
|
-
"description": "Whether to render the show/hide reveal button. Default `true`.",
|
|
4621
|
-
"fieldName": "passwordToggle"
|
|
4622
|
-
},
|
|
4623
|
-
{
|
|
4624
|
-
"name": "password-visible",
|
|
4625
|
-
"type": {
|
|
4626
|
-
"text": "boolean"
|
|
4627
|
-
},
|
|
4628
|
-
"description": "Whether the value is currently revealed as plain text. Default `false`.",
|
|
4629
|
-
"fieldName": "passwordVisible"
|
|
4630
|
-
},
|
|
4631
|
-
{
|
|
4632
|
-
"name": "placeholder",
|
|
4633
|
-
"type": {
|
|
4634
|
-
"text": "string"
|
|
4635
|
-
},
|
|
4636
|
-
"description": "Placeholder text shown while the input is empty.",
|
|
4637
|
-
"fieldName": "placeholder",
|
|
4638
|
-
"inheritedFrom": {
|
|
4639
|
-
"name": "InputField",
|
|
4640
|
-
"module": "src/components/input-field/input-field.js"
|
|
4641
|
-
}
|
|
4645
|
+
"fieldName": ""
|
|
4642
4646
|
},
|
|
4643
4647
|
{
|
|
4644
|
-
"name": "
|
|
4648
|
+
"name": "options",
|
|
4645
4649
|
"type": {
|
|
4646
|
-
"text": "string |
|
|
4650
|
+
"text": "Array<string | { value: string, label?: string, disabled?: boolean }>"
|
|
4647
4651
|
},
|
|
4648
|
-
"description": "
|
|
4649
|
-
"fieldName": "
|
|
4650
|
-
"inheritedFrom": {
|
|
4651
|
-
"name": "InputField",
|
|
4652
|
-
"module": "src/components/input-field/input-field.js"
|
|
4653
|
-
}
|
|
4652
|
+
"description": "Options to render. Accepts plain strings (`['Yes', 'No']`) or option objects (`[{ value, label, disabled? }]`). Strings are used as both value and label.",
|
|
4653
|
+
"fieldName": "options"
|
|
4654
4654
|
},
|
|
4655
4655
|
{
|
|
4656
4656
|
"name": "name",
|
|
@@ -4773,16 +4773,9 @@
|
|
|
4773
4773
|
}
|
|
4774
4774
|
}
|
|
4775
4775
|
],
|
|
4776
|
-
"superclass": {
|
|
4777
|
-
"name": "InputField",
|
|
4778
|
-
"module": "/src/components/input-field/input-field.js"
|
|
4779
|
-
},
|
|
4780
|
-
"tagName": "el-password-field",
|
|
4781
|
-
"customElement": true,
|
|
4782
|
-
"tagNameWithoutPrefix": "password-field",
|
|
4783
4776
|
"cssStates": [
|
|
4784
4777
|
{
|
|
4785
|
-
"description": "Set
|
|
4778
|
+
"description": "Set once the user has focused and blurred the group. Inherits `valid` and `invalid` from `FormField`.",
|
|
4786
4779
|
"name": "touched",
|
|
4787
4780
|
"inheritedFrom": {
|
|
4788
4781
|
"name": "FormField",
|
|
@@ -4805,7 +4798,14 @@
|
|
|
4805
4798
|
"module": "src/components/form-field/form-field.js"
|
|
4806
4799
|
}
|
|
4807
4800
|
}
|
|
4808
|
-
]
|
|
4801
|
+
],
|
|
4802
|
+
"superclass": {
|
|
4803
|
+
"name": "FormField",
|
|
4804
|
+
"module": "/src/components/form-field/form-field.js"
|
|
4805
|
+
},
|
|
4806
|
+
"tagName": "el-radio-field",
|
|
4807
|
+
"customElement": true,
|
|
4808
|
+
"tagNameWithoutPrefix": "radio-field"
|
|
4809
4809
|
},
|
|
4810
4810
|
{
|
|
4811
4811
|
"kind": "function",
|
|
@@ -4817,8 +4817,8 @@
|
|
|
4817
4817
|
"kind": "js",
|
|
4818
4818
|
"name": "default",
|
|
4819
4819
|
"declaration": {
|
|
4820
|
-
"name": "
|
|
4821
|
-
"module": "src/components/
|
|
4820
|
+
"name": "RadioField",
|
|
4821
|
+
"module": "src/components/radio-field/radio-field.js"
|
|
4822
4822
|
}
|
|
4823
4823
|
},
|
|
4824
4824
|
{
|
|
@@ -4826,7 +4826,7 @@
|
|
|
4826
4826
|
"name": "define",
|
|
4827
4827
|
"declaration": {
|
|
4828
4828
|
"name": "define",
|
|
4829
|
-
"module": "src/components/
|
|
4829
|
+
"module": "src/components/radio-field/radio-field.js"
|
|
4830
4830
|
}
|
|
4831
4831
|
}
|
|
4832
4832
|
]
|