@sbb-esta/lyne-elements-dev 4.10.0-dev.1776085193 → 4.11.0-dev.1776089549
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/custom-elements.json +245 -223
- package/development/form-field/form-field/form-field.component.d.ts +6 -0
- package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/form-field/form-field.js +1 -1
- package/development/form-field.component-DfMO_ihX.js +706 -0
- package/development/form-field.js +1 -1
- package/development/form-field.pure.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/form-field/form-field.js +1 -1
- package/{form-field.component-D50q1wC0.js → form-field.component-Cx5Keg_p.js} +15 -15
- package/form-field.js +1 -1
- package/form-field.pure.js +1 -1
- package/package.json +2 -2
- package/development/form-field.component-BEXX0OcL.js +0 -702
package/custom-elements.json
CHANGED
|
@@ -68537,6 +68537,229 @@
|
|
|
68537
68537
|
}
|
|
68538
68538
|
]
|
|
68539
68539
|
},
|
|
68540
|
+
{
|
|
68541
|
+
"kind": "javascript-module",
|
|
68542
|
+
"path": "core/decorators/base.js",
|
|
68543
|
+
"declarations": [],
|
|
68544
|
+
"exports": []
|
|
68545
|
+
},
|
|
68546
|
+
{
|
|
68547
|
+
"kind": "javascript-module",
|
|
68548
|
+
"path": "core/decorators/force-type.js",
|
|
68549
|
+
"declarations": [
|
|
68550
|
+
{
|
|
68551
|
+
"kind": "function",
|
|
68552
|
+
"name": "forceType",
|
|
68553
|
+
"return": {
|
|
68554
|
+
"type": {
|
|
68555
|
+
"text": "PropertyDecorator"
|
|
68556
|
+
}
|
|
68557
|
+
},
|
|
68558
|
+
"parameters": [
|
|
68559
|
+
{
|
|
68560
|
+
"name": "convert",
|
|
68561
|
+
"optional": true,
|
|
68562
|
+
"type": {
|
|
68563
|
+
"text": "(v: unknown) => V"
|
|
68564
|
+
}
|
|
68565
|
+
}
|
|
68566
|
+
],
|
|
68567
|
+
"description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
|
|
68568
|
+
}
|
|
68569
|
+
],
|
|
68570
|
+
"exports": [
|
|
68571
|
+
{
|
|
68572
|
+
"kind": "js",
|
|
68573
|
+
"name": "forceType",
|
|
68574
|
+
"declaration": {
|
|
68575
|
+
"name": "forceType",
|
|
68576
|
+
"module": "core/decorators/force-type.js"
|
|
68577
|
+
}
|
|
68578
|
+
}
|
|
68579
|
+
]
|
|
68580
|
+
},
|
|
68581
|
+
{
|
|
68582
|
+
"kind": "javascript-module",
|
|
68583
|
+
"path": "core/decorators/get-override.js",
|
|
68584
|
+
"declarations": [
|
|
68585
|
+
{
|
|
68586
|
+
"kind": "function",
|
|
68587
|
+
"name": "getOverride",
|
|
68588
|
+
"parameters": [
|
|
68589
|
+
{
|
|
68590
|
+
"name": "callback",
|
|
68591
|
+
"type": {
|
|
68592
|
+
"text": "(instance: C, innerValue: V) => V"
|
|
68593
|
+
}
|
|
68594
|
+
}
|
|
68595
|
+
],
|
|
68596
|
+
"description": "Decorator that overrides the underlying getter of the accessor."
|
|
68597
|
+
}
|
|
68598
|
+
],
|
|
68599
|
+
"exports": [
|
|
68600
|
+
{
|
|
68601
|
+
"kind": "js",
|
|
68602
|
+
"name": "getOverride",
|
|
68603
|
+
"declaration": {
|
|
68604
|
+
"name": "getOverride",
|
|
68605
|
+
"module": "core/decorators/get-override.js"
|
|
68606
|
+
}
|
|
68607
|
+
}
|
|
68608
|
+
]
|
|
68609
|
+
},
|
|
68610
|
+
{
|
|
68611
|
+
"kind": "javascript-module",
|
|
68612
|
+
"path": "core/decorators/handle-distinct-change.js",
|
|
68613
|
+
"declarations": [
|
|
68614
|
+
{
|
|
68615
|
+
"kind": "function",
|
|
68616
|
+
"name": "handleDistinctChange",
|
|
68617
|
+
"parameters": [
|
|
68618
|
+
{
|
|
68619
|
+
"name": "callback",
|
|
68620
|
+
"type": {
|
|
68621
|
+
"text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
|
|
68622
|
+
}
|
|
68623
|
+
}
|
|
68624
|
+
],
|
|
68625
|
+
"description": "Decorator that calls the given callback when the value\nof the associated property is changed."
|
|
68626
|
+
}
|
|
68627
|
+
],
|
|
68628
|
+
"exports": [
|
|
68629
|
+
{
|
|
68630
|
+
"kind": "js",
|
|
68631
|
+
"name": "handleDistinctChange",
|
|
68632
|
+
"declaration": {
|
|
68633
|
+
"name": "handleDistinctChange",
|
|
68634
|
+
"module": "core/decorators/handle-distinct-change.js"
|
|
68635
|
+
}
|
|
68636
|
+
}
|
|
68637
|
+
]
|
|
68638
|
+
},
|
|
68639
|
+
{
|
|
68640
|
+
"kind": "javascript-module",
|
|
68641
|
+
"path": "core/decorators/host-attributes.js",
|
|
68642
|
+
"declarations": [
|
|
68643
|
+
{
|
|
68644
|
+
"kind": "function",
|
|
68645
|
+
"name": "hostAttributes",
|
|
68646
|
+
"parameters": [
|
|
68647
|
+
{
|
|
68648
|
+
"name": "attributes",
|
|
68649
|
+
"type": {
|
|
68650
|
+
"text": "Record<string, string | null>"
|
|
68651
|
+
},
|
|
68652
|
+
"description": "A record of attributes to apply to the element."
|
|
68653
|
+
}
|
|
68654
|
+
],
|
|
68655
|
+
"description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
|
|
68656
|
+
"deprecated": "Will be removed with next major version."
|
|
68657
|
+
}
|
|
68658
|
+
],
|
|
68659
|
+
"exports": [
|
|
68660
|
+
{
|
|
68661
|
+
"kind": "js",
|
|
68662
|
+
"name": "hostAttributes",
|
|
68663
|
+
"declaration": {
|
|
68664
|
+
"name": "hostAttributes",
|
|
68665
|
+
"module": "core/decorators/host-attributes.js"
|
|
68666
|
+
}
|
|
68667
|
+
}
|
|
68668
|
+
]
|
|
68669
|
+
},
|
|
68670
|
+
{
|
|
68671
|
+
"kind": "javascript-module",
|
|
68672
|
+
"path": "core/decorators/id-reference.js",
|
|
68673
|
+
"declarations": [
|
|
68674
|
+
{
|
|
68675
|
+
"kind": "function",
|
|
68676
|
+
"name": "idReference",
|
|
68677
|
+
"description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
|
|
68678
|
+
}
|
|
68679
|
+
],
|
|
68680
|
+
"exports": [
|
|
68681
|
+
{
|
|
68682
|
+
"kind": "js",
|
|
68683
|
+
"name": "idReference",
|
|
68684
|
+
"declaration": {
|
|
68685
|
+
"name": "idReference",
|
|
68686
|
+
"module": "core/decorators/id-reference.js"
|
|
68687
|
+
}
|
|
68688
|
+
}
|
|
68689
|
+
]
|
|
68690
|
+
},
|
|
68691
|
+
{
|
|
68692
|
+
"kind": "javascript-module",
|
|
68693
|
+
"path": "core/decorators/omit-empty-converter.js",
|
|
68694
|
+
"declarations": [
|
|
68695
|
+
{
|
|
68696
|
+
"kind": "variable",
|
|
68697
|
+
"name": "omitEmptyConverter",
|
|
68698
|
+
"type": {
|
|
68699
|
+
"text": "ComplexAttributeConverter"
|
|
68700
|
+
},
|
|
68701
|
+
"default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
|
|
68702
|
+
"description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
|
|
68703
|
+
}
|
|
68704
|
+
],
|
|
68705
|
+
"exports": [
|
|
68706
|
+
{
|
|
68707
|
+
"kind": "js",
|
|
68708
|
+
"name": "omitEmptyConverter",
|
|
68709
|
+
"declaration": {
|
|
68710
|
+
"name": "omitEmptyConverter",
|
|
68711
|
+
"module": "core/decorators/omit-empty-converter.js"
|
|
68712
|
+
}
|
|
68713
|
+
}
|
|
68714
|
+
]
|
|
68715
|
+
},
|
|
68716
|
+
{
|
|
68717
|
+
"kind": "javascript-module",
|
|
68718
|
+
"path": "core/decorators/plain-date.js",
|
|
68719
|
+
"declarations": [
|
|
68720
|
+
{
|
|
68721
|
+
"kind": "variable",
|
|
68722
|
+
"name": "plainDateConverter",
|
|
68723
|
+
"type": {
|
|
68724
|
+
"text": "ComplexAttributeConverter"
|
|
68725
|
+
},
|
|
68726
|
+
"default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
|
|
68727
|
+
"description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
|
|
68728
|
+
},
|
|
68729
|
+
{
|
|
68730
|
+
"kind": "function",
|
|
68731
|
+
"name": "plainDate",
|
|
68732
|
+
"parameters": [
|
|
68733
|
+
{
|
|
68734
|
+
"name": "config",
|
|
68735
|
+
"optional": true,
|
|
68736
|
+
"type": {
|
|
68737
|
+
"text": "SbbPlainDateConfiguration"
|
|
68738
|
+
}
|
|
68739
|
+
}
|
|
68740
|
+
],
|
|
68741
|
+
"description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
|
|
68742
|
+
}
|
|
68743
|
+
],
|
|
68744
|
+
"exports": [
|
|
68745
|
+
{
|
|
68746
|
+
"kind": "js",
|
|
68747
|
+
"name": "plainDateConverter",
|
|
68748
|
+
"declaration": {
|
|
68749
|
+
"name": "plainDateConverter",
|
|
68750
|
+
"module": "core/decorators/plain-date.js"
|
|
68751
|
+
}
|
|
68752
|
+
},
|
|
68753
|
+
{
|
|
68754
|
+
"kind": "js",
|
|
68755
|
+
"name": "plainDate",
|
|
68756
|
+
"declaration": {
|
|
68757
|
+
"name": "plainDate",
|
|
68758
|
+
"module": "core/decorators/plain-date.js"
|
|
68759
|
+
}
|
|
68760
|
+
}
|
|
68761
|
+
]
|
|
68762
|
+
},
|
|
68540
68763
|
{
|
|
68541
68764
|
"kind": "javascript-module",
|
|
68542
68765
|
"path": "core/dom/animation.js",
|
|
@@ -68975,229 +69198,6 @@
|
|
|
68975
69198
|
}
|
|
68976
69199
|
]
|
|
68977
69200
|
},
|
|
68978
|
-
{
|
|
68979
|
-
"kind": "javascript-module",
|
|
68980
|
-
"path": "core/decorators/base.js",
|
|
68981
|
-
"declarations": [],
|
|
68982
|
-
"exports": []
|
|
68983
|
-
},
|
|
68984
|
-
{
|
|
68985
|
-
"kind": "javascript-module",
|
|
68986
|
-
"path": "core/decorators/force-type.js",
|
|
68987
|
-
"declarations": [
|
|
68988
|
-
{
|
|
68989
|
-
"kind": "function",
|
|
68990
|
-
"name": "forceType",
|
|
68991
|
-
"return": {
|
|
68992
|
-
"type": {
|
|
68993
|
-
"text": "PropertyDecorator"
|
|
68994
|
-
}
|
|
68995
|
-
},
|
|
68996
|
-
"parameters": [
|
|
68997
|
-
{
|
|
68998
|
-
"name": "convert",
|
|
68999
|
-
"optional": true,
|
|
69000
|
-
"type": {
|
|
69001
|
-
"text": "(v: unknown) => V"
|
|
69002
|
-
}
|
|
69003
|
-
}
|
|
69004
|
-
],
|
|
69005
|
-
"description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
|
|
69006
|
-
}
|
|
69007
|
-
],
|
|
69008
|
-
"exports": [
|
|
69009
|
-
{
|
|
69010
|
-
"kind": "js",
|
|
69011
|
-
"name": "forceType",
|
|
69012
|
-
"declaration": {
|
|
69013
|
-
"name": "forceType",
|
|
69014
|
-
"module": "core/decorators/force-type.js"
|
|
69015
|
-
}
|
|
69016
|
-
}
|
|
69017
|
-
]
|
|
69018
|
-
},
|
|
69019
|
-
{
|
|
69020
|
-
"kind": "javascript-module",
|
|
69021
|
-
"path": "core/decorators/get-override.js",
|
|
69022
|
-
"declarations": [
|
|
69023
|
-
{
|
|
69024
|
-
"kind": "function",
|
|
69025
|
-
"name": "getOverride",
|
|
69026
|
-
"parameters": [
|
|
69027
|
-
{
|
|
69028
|
-
"name": "callback",
|
|
69029
|
-
"type": {
|
|
69030
|
-
"text": "(instance: C, innerValue: V) => V"
|
|
69031
|
-
}
|
|
69032
|
-
}
|
|
69033
|
-
],
|
|
69034
|
-
"description": "Decorator that overrides the underlying getter of the accessor."
|
|
69035
|
-
}
|
|
69036
|
-
],
|
|
69037
|
-
"exports": [
|
|
69038
|
-
{
|
|
69039
|
-
"kind": "js",
|
|
69040
|
-
"name": "getOverride",
|
|
69041
|
-
"declaration": {
|
|
69042
|
-
"name": "getOverride",
|
|
69043
|
-
"module": "core/decorators/get-override.js"
|
|
69044
|
-
}
|
|
69045
|
-
}
|
|
69046
|
-
]
|
|
69047
|
-
},
|
|
69048
|
-
{
|
|
69049
|
-
"kind": "javascript-module",
|
|
69050
|
-
"path": "core/decorators/handle-distinct-change.js",
|
|
69051
|
-
"declarations": [
|
|
69052
|
-
{
|
|
69053
|
-
"kind": "function",
|
|
69054
|
-
"name": "handleDistinctChange",
|
|
69055
|
-
"parameters": [
|
|
69056
|
-
{
|
|
69057
|
-
"name": "callback",
|
|
69058
|
-
"type": {
|
|
69059
|
-
"text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
|
|
69060
|
-
}
|
|
69061
|
-
}
|
|
69062
|
-
],
|
|
69063
|
-
"description": "Decorator that calls the given callback when the value\nof the associated property is changed."
|
|
69064
|
-
}
|
|
69065
|
-
],
|
|
69066
|
-
"exports": [
|
|
69067
|
-
{
|
|
69068
|
-
"kind": "js",
|
|
69069
|
-
"name": "handleDistinctChange",
|
|
69070
|
-
"declaration": {
|
|
69071
|
-
"name": "handleDistinctChange",
|
|
69072
|
-
"module": "core/decorators/handle-distinct-change.js"
|
|
69073
|
-
}
|
|
69074
|
-
}
|
|
69075
|
-
]
|
|
69076
|
-
},
|
|
69077
|
-
{
|
|
69078
|
-
"kind": "javascript-module",
|
|
69079
|
-
"path": "core/decorators/host-attributes.js",
|
|
69080
|
-
"declarations": [
|
|
69081
|
-
{
|
|
69082
|
-
"kind": "function",
|
|
69083
|
-
"name": "hostAttributes",
|
|
69084
|
-
"parameters": [
|
|
69085
|
-
{
|
|
69086
|
-
"name": "attributes",
|
|
69087
|
-
"type": {
|
|
69088
|
-
"text": "Record<string, string | null>"
|
|
69089
|
-
},
|
|
69090
|
-
"description": "A record of attributes to apply to the element."
|
|
69091
|
-
}
|
|
69092
|
-
],
|
|
69093
|
-
"description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
|
|
69094
|
-
"deprecated": "Will be removed with next major version."
|
|
69095
|
-
}
|
|
69096
|
-
],
|
|
69097
|
-
"exports": [
|
|
69098
|
-
{
|
|
69099
|
-
"kind": "js",
|
|
69100
|
-
"name": "hostAttributes",
|
|
69101
|
-
"declaration": {
|
|
69102
|
-
"name": "hostAttributes",
|
|
69103
|
-
"module": "core/decorators/host-attributes.js"
|
|
69104
|
-
}
|
|
69105
|
-
}
|
|
69106
|
-
]
|
|
69107
|
-
},
|
|
69108
|
-
{
|
|
69109
|
-
"kind": "javascript-module",
|
|
69110
|
-
"path": "core/decorators/id-reference.js",
|
|
69111
|
-
"declarations": [
|
|
69112
|
-
{
|
|
69113
|
-
"kind": "function",
|
|
69114
|
-
"name": "idReference",
|
|
69115
|
-
"description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
|
|
69116
|
-
}
|
|
69117
|
-
],
|
|
69118
|
-
"exports": [
|
|
69119
|
-
{
|
|
69120
|
-
"kind": "js",
|
|
69121
|
-
"name": "idReference",
|
|
69122
|
-
"declaration": {
|
|
69123
|
-
"name": "idReference",
|
|
69124
|
-
"module": "core/decorators/id-reference.js"
|
|
69125
|
-
}
|
|
69126
|
-
}
|
|
69127
|
-
]
|
|
69128
|
-
},
|
|
69129
|
-
{
|
|
69130
|
-
"kind": "javascript-module",
|
|
69131
|
-
"path": "core/decorators/omit-empty-converter.js",
|
|
69132
|
-
"declarations": [
|
|
69133
|
-
{
|
|
69134
|
-
"kind": "variable",
|
|
69135
|
-
"name": "omitEmptyConverter",
|
|
69136
|
-
"type": {
|
|
69137
|
-
"text": "ComplexAttributeConverter"
|
|
69138
|
-
},
|
|
69139
|
-
"default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
|
|
69140
|
-
"description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
|
|
69141
|
-
}
|
|
69142
|
-
],
|
|
69143
|
-
"exports": [
|
|
69144
|
-
{
|
|
69145
|
-
"kind": "js",
|
|
69146
|
-
"name": "omitEmptyConverter",
|
|
69147
|
-
"declaration": {
|
|
69148
|
-
"name": "omitEmptyConverter",
|
|
69149
|
-
"module": "core/decorators/omit-empty-converter.js"
|
|
69150
|
-
}
|
|
69151
|
-
}
|
|
69152
|
-
]
|
|
69153
|
-
},
|
|
69154
|
-
{
|
|
69155
|
-
"kind": "javascript-module",
|
|
69156
|
-
"path": "core/decorators/plain-date.js",
|
|
69157
|
-
"declarations": [
|
|
69158
|
-
{
|
|
69159
|
-
"kind": "variable",
|
|
69160
|
-
"name": "plainDateConverter",
|
|
69161
|
-
"type": {
|
|
69162
|
-
"text": "ComplexAttributeConverter"
|
|
69163
|
-
},
|
|
69164
|
-
"default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
|
|
69165
|
-
"description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
|
|
69166
|
-
},
|
|
69167
|
-
{
|
|
69168
|
-
"kind": "function",
|
|
69169
|
-
"name": "plainDate",
|
|
69170
|
-
"parameters": [
|
|
69171
|
-
{
|
|
69172
|
-
"name": "config",
|
|
69173
|
-
"optional": true,
|
|
69174
|
-
"type": {
|
|
69175
|
-
"text": "SbbPlainDateConfiguration"
|
|
69176
|
-
}
|
|
69177
|
-
}
|
|
69178
|
-
],
|
|
69179
|
-
"description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
|
|
69180
|
-
}
|
|
69181
|
-
],
|
|
69182
|
-
"exports": [
|
|
69183
|
-
{
|
|
69184
|
-
"kind": "js",
|
|
69185
|
-
"name": "plainDateConverter",
|
|
69186
|
-
"declaration": {
|
|
69187
|
-
"name": "plainDateConverter",
|
|
69188
|
-
"module": "core/decorators/plain-date.js"
|
|
69189
|
-
}
|
|
69190
|
-
},
|
|
69191
|
-
{
|
|
69192
|
-
"kind": "js",
|
|
69193
|
-
"name": "plainDate",
|
|
69194
|
-
"declaration": {
|
|
69195
|
-
"name": "plainDate",
|
|
69196
|
-
"module": "core/decorators/plain-date.js"
|
|
69197
|
-
}
|
|
69198
|
-
}
|
|
69199
|
-
]
|
|
69200
|
-
},
|
|
69201
69201
|
{
|
|
69202
69202
|
"kind": "javascript-module",
|
|
69203
69203
|
"path": "core/eventing/composed-path-has-attribute.js",
|
|
@@ -93941,6 +93941,15 @@
|
|
|
93941
93941
|
"privacy": "private",
|
|
93942
93942
|
"default": "null"
|
|
93943
93943
|
},
|
|
93944
|
+
{
|
|
93945
|
+
"kind": "field",
|
|
93946
|
+
"name": "_previousType",
|
|
93947
|
+
"type": {
|
|
93948
|
+
"text": "string | null"
|
|
93949
|
+
},
|
|
93950
|
+
"privacy": "private",
|
|
93951
|
+
"default": "null"
|
|
93952
|
+
},
|
|
93944
93953
|
{
|
|
93945
93954
|
"kind": "method",
|
|
93946
93955
|
"name": "_handleWrapperClick",
|
|
@@ -129346,6 +129355,19 @@
|
|
|
129346
129355
|
"module": "form-field/form-field/form-field.component.js"
|
|
129347
129356
|
}
|
|
129348
129357
|
},
|
|
129358
|
+
{
|
|
129359
|
+
"kind": "field",
|
|
129360
|
+
"name": "_previousType",
|
|
129361
|
+
"type": {
|
|
129362
|
+
"text": "string | null"
|
|
129363
|
+
},
|
|
129364
|
+
"privacy": "private",
|
|
129365
|
+
"default": "null",
|
|
129366
|
+
"inheritedFrom": {
|
|
129367
|
+
"name": "SbbFormFieldElement",
|
|
129368
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
129369
|
+
}
|
|
129370
|
+
},
|
|
129349
129371
|
{
|
|
129350
129372
|
"kind": "method",
|
|
129351
129373
|
"name": "_handleWrapperClick",
|
|
@@ -10,6 +10,11 @@ export interface SbbFormFieldElementControl {
|
|
|
10
10
|
readonly readOnly?: boolean;
|
|
11
11
|
/** Whether the control is disabled. */
|
|
12
12
|
readonly disabled: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The type of the control. This is used as a state representation.
|
|
15
|
+
* When using 'select', the form field will display the dropdown icon.
|
|
16
|
+
*/
|
|
17
|
+
readonly type?: 'select' | string;
|
|
13
18
|
/**
|
|
14
19
|
* Handles a click on the control's container.
|
|
15
20
|
* If not implemented, focus() of the element is called.
|
|
@@ -86,6 +91,7 @@ export declare class SbbFormFieldElement extends SbbFormFieldElement_base {
|
|
|
86
91
|
private _formFieldAttributeObserver;
|
|
87
92
|
private _inputFormAbortController;
|
|
88
93
|
private _control;
|
|
94
|
+
private _previousType;
|
|
89
95
|
constructor();
|
|
90
96
|
connectedCallback(): void;
|
|
91
97
|
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../src/elements/form-field/form-field/form-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAInB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,KAAK,CAAC;AAMb,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAgBzD,OAAO,eAAe,CAAC;AAOvB,2EAA2E;AAC3E,MAAM,WAAW,0BAA0B;IACzC,wCAAwC;IACxC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,uCAAuC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,uCAAuC;IACvC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../src/elements/form-field/form-field/form-field.component.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SbbFormFieldElement, t as SbbFormFieldControlEvent } from "../../form-field.component-
|
|
1
|
+
import { n as SbbFormFieldElement, t as SbbFormFieldControlEvent } from "../../form-field.component-DfMO_ihX.js";
|
|
2
2
|
export { SbbFormFieldControlEvent, SbbFormFieldElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SbbFormFieldElement, t as SbbFormFieldControlEvent } from "../form-field.component-
|
|
1
|
+
import { n as SbbFormFieldElement, t as SbbFormFieldControlEvent } from "../form-field.component-DfMO_ihX.js";
|
|
2
2
|
//#region src/elements/form-field/form-field.ts
|
|
3
3
|
/** @entrypoint */
|
|
4
4
|
SbbFormFieldElement.define();
|