@universal-material/web 3.0.123 → 3.0.125
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/button/button-base.styles.d.ts.map +1 -1
- package/button/button-base.styles.js +0 -4
- package/button/button-base.styles.js.map +1 -1
- package/custom-elements.json +1707 -1707
- package/package.json +1 -1
- package/radio/radio.d.ts.map +1 -1
- package/radio/radio.js +14 -11
- package/radio/radio.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -651,7 +651,7 @@
|
|
|
651
651
|
{
|
|
652
652
|
"kind": "variable",
|
|
653
653
|
"name": "styles",
|
|
654
|
-
"default": "css `\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n
|
|
654
|
+
"default": "css `\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n`"
|
|
655
655
|
}
|
|
656
656
|
],
|
|
657
657
|
"exports": [
|
|
@@ -3774,12 +3774,12 @@
|
|
|
3774
3774
|
},
|
|
3775
3775
|
{
|
|
3776
3776
|
"kind": "javascript-module",
|
|
3777
|
-
"path": "src/chip
|
|
3777
|
+
"path": "src/chip/chip-set.styles.ts",
|
|
3778
3778
|
"declarations": [
|
|
3779
3779
|
{
|
|
3780
3780
|
"kind": "variable",
|
|
3781
3781
|
"name": "styles",
|
|
3782
|
-
"default": "css `\n
|
|
3782
|
+
"default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
|
|
3783
3783
|
}
|
|
3784
3784
|
],
|
|
3785
3785
|
"exports": [
|
|
@@ -3788,833 +3788,680 @@
|
|
|
3788
3788
|
"name": "styles",
|
|
3789
3789
|
"declaration": {
|
|
3790
3790
|
"name": "styles",
|
|
3791
|
-
"module": "src/chip
|
|
3791
|
+
"module": "src/chip/chip-set.styles.ts"
|
|
3792
3792
|
}
|
|
3793
3793
|
}
|
|
3794
3794
|
]
|
|
3795
3795
|
},
|
|
3796
3796
|
{
|
|
3797
3797
|
"kind": "javascript-module",
|
|
3798
|
-
"path": "src/chip
|
|
3798
|
+
"path": "src/chip/chip-set.ts",
|
|
3799
3799
|
"declarations": [
|
|
3800
3800
|
{
|
|
3801
3801
|
"kind": "class",
|
|
3802
3802
|
"description": "",
|
|
3803
|
-
"name": "
|
|
3803
|
+
"name": "UmChipSet",
|
|
3804
3804
|
"members": [
|
|
3805
3805
|
{
|
|
3806
3806
|
"kind": "field",
|
|
3807
|
-
"name": "
|
|
3807
|
+
"name": "alignment",
|
|
3808
3808
|
"type": {
|
|
3809
|
-
"text": "
|
|
3809
|
+
"text": "'start' | 'center' | 'end'"
|
|
3810
|
+
},
|
|
3811
|
+
"default": "'start'",
|
|
3812
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
3813
|
+
"attribute": "alignment",
|
|
3814
|
+
"reflects": true,
|
|
3815
|
+
"inheritedFrom": {
|
|
3816
|
+
"name": "UmSetBase",
|
|
3817
|
+
"module": "src/shared/sets/set-base.ts"
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3820
|
+
],
|
|
3821
|
+
"superclass": {
|
|
3822
|
+
"name": "UmSetBase",
|
|
3823
|
+
"module": "/src/shared/sets/set-base.js"
|
|
3824
|
+
},
|
|
3825
|
+
"tagName": "u-chip-set",
|
|
3826
|
+
"customElement": true,
|
|
3827
|
+
"attributes": [
|
|
3828
|
+
{
|
|
3829
|
+
"name": "alignment",
|
|
3830
|
+
"type": {
|
|
3831
|
+
"text": "'start' | 'center' | 'end'"
|
|
3832
|
+
},
|
|
3833
|
+
"default": "'start'",
|
|
3834
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
3835
|
+
"fieldName": "alignment",
|
|
3836
|
+
"inheritedFrom": {
|
|
3837
|
+
"name": "UmSetBase",
|
|
3838
|
+
"module": "src/shared/sets/set-base.ts"
|
|
3810
3839
|
}
|
|
3840
|
+
}
|
|
3841
|
+
]
|
|
3842
|
+
}
|
|
3843
|
+
],
|
|
3844
|
+
"exports": [
|
|
3845
|
+
{
|
|
3846
|
+
"kind": "js",
|
|
3847
|
+
"name": "UmChipSet",
|
|
3848
|
+
"declaration": {
|
|
3849
|
+
"name": "UmChipSet",
|
|
3850
|
+
"module": "src/chip/chip-set.ts"
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"kind": "custom-element-definition",
|
|
3855
|
+
"name": "u-chip-set",
|
|
3856
|
+
"declaration": {
|
|
3857
|
+
"name": "UmChipSet",
|
|
3858
|
+
"module": "src/chip/chip-set.ts"
|
|
3859
|
+
}
|
|
3860
|
+
}
|
|
3861
|
+
]
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
"kind": "javascript-module",
|
|
3865
|
+
"path": "src/chip/chip.styles.ts",
|
|
3866
|
+
"declarations": [
|
|
3867
|
+
{
|
|
3868
|
+
"kind": "variable",
|
|
3869
|
+
"name": "styles",
|
|
3870
|
+
"default": "css `\n :host {\n --_height: var(--u-chip-height, 32px);\n --_outline-width: var(--u-chip-outline-width, 1px);\n --_outline-color: var(--u-chip-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_shape: var(--u-chip-shape, var(--u-shape-corner-small, 8px));\n --_gap: var(--u-chip-gap, 8px);\n --_icon-size: var(--u-chip-icon-size, 1.125rem);\n --_remove-button-margin: var(--u-chip-remove-button-margin, 2px);\n --_remove-button-size: calc(var(--_height) - var(--_remove-button-margin) * 2);\n --_selected-icon-color: var(--u-chip-selected-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n display: inline-block;\n height: var(--_height);\n border-radius: var(--_shape);\n }\n\n :host(:not([disabled]):not([elevated]):not([selected])) .outline {\n border: var(--_outline-width) solid var(--_outline-color);\n }\n\n :host([elevated]:not([disabled])) {\n --u-elevation-level: var(--u-elevated-chip-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host([elevated]:not([disabled]):hover) {\n --u-elevation-level: var(--u-elevated-chip-hover-elevation-level, 2);\n }\n }\n .outline {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n }\n\n .container {\n display: flex;\n align-items: center;\n border-radius: inherit;\n height: 100%;\n padding-inline: var(--u-chip-padding, 16px);\n gap: var(--_gap);\n }\n\n .icon {\n width: 1em;\n height: var(--_icon-size);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--_icon-size);\n }\n\n .leading {\n color: var(--u-chip-leading-icon-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .selected {\n color: var(--_selected-icon-color);\n }\n\n .trailing {\n color: var(--u-chip-trailing-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-chip-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-chip-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-chip-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-chip-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n .remove-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--_remove-button-size);\n height: var(--_remove-button-size);\n cursor: pointer;\n padding: 0;\n margin: 0;\n margin-inline: calc((var(--_remove-button-size) - var(--_icon-size)) * -0.5);\n background: gray;\n border: none;\n border-radius: var(--u-chip-remove-button-border-radius, var(--u-shape-corner-full, 9999px));\n background: none;\n appearance: none;\n outline: 0;\n outline-offset: 0;\n z-index: 1;\n }\n\n ::slotted([slot=remove-icon]),\n ::slotted([slot=selected-icon]),\n ::slotted([slot=leading-icon]),\n ::slotted([slot=trailing-icon]) {\n font-size: inherit !important;\n }\n\n slot[name=selected-icon] {\n display: none;\n }\n\n :host(:not([clickable]):not([toggle])) .button {\n cursor: auto;\n }\n\n :host([selected]:not([hide-selected-icon])) .leading {\n display: none;\n }\n :host([selected]:not([hide-selected-icon])) slot[name=selected-icon] {\n display: contents;\n }\n\n .default-select-icon {\n display: contents;\n }\n\n :host([has-selected-icon]) .default-select-icon {\n display: none;\n }\n\n :host([selected]:not([disabled])) {\n background-color: var(--u-chip-selected-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n :host([selected]:not([disabled])) .leading {\n color: var(--u-chip-selected-leading-icon-color, var(--_selected-icon-color));\n }\n :host([selected]:not([disabled])) .trailing {\n color: var(--u-chip-selected-trailing-icon-color, var(--_selected-icon-color));\n }\n\n :host([has-leading-icon]) .container,\n :host([selected]:not([hide-selected-icon])) .container {\n padding-inline-start: var(--_gap);\n }\n\n :host([has-trailing-icon]) .container,\n :host([removable]) .container {\n padding-inline-end: var(--_gap);\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host([hide-selected-icon]) .selected,\n :host(:not([selected])) .selected {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing {\n display: none;\n }\n\n [part=default-selected-icon] {\n display: contents;\n }\n`"
|
|
3871
|
+
}
|
|
3872
|
+
],
|
|
3873
|
+
"exports": [
|
|
3874
|
+
{
|
|
3875
|
+
"kind": "js",
|
|
3876
|
+
"name": "styles",
|
|
3877
|
+
"declaration": {
|
|
3878
|
+
"name": "styles",
|
|
3879
|
+
"module": "src/chip/chip.styles.ts"
|
|
3880
|
+
}
|
|
3881
|
+
}
|
|
3882
|
+
]
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"kind": "javascript-module",
|
|
3886
|
+
"path": "src/chip/chip.ts",
|
|
3887
|
+
"declarations": [
|
|
3888
|
+
{
|
|
3889
|
+
"kind": "class",
|
|
3890
|
+
"description": "",
|
|
3891
|
+
"name": "UmChip",
|
|
3892
|
+
"members": [
|
|
3893
|
+
{
|
|
3894
|
+
"kind": "field",
|
|
3895
|
+
"name": "#clickable",
|
|
3896
|
+
"privacy": "private",
|
|
3897
|
+
"type": {
|
|
3898
|
+
"text": "boolean"
|
|
3899
|
+
},
|
|
3900
|
+
"default": "false"
|
|
3811
3901
|
},
|
|
3812
3902
|
{
|
|
3813
3903
|
"kind": "field",
|
|
3814
|
-
"name": "
|
|
3904
|
+
"name": "#toggle",
|
|
3905
|
+
"privacy": "private",
|
|
3815
3906
|
"type": {
|
|
3816
|
-
"text": "
|
|
3907
|
+
"text": "boolean"
|
|
3817
3908
|
},
|
|
3818
|
-
"
|
|
3909
|
+
"default": "false"
|
|
3819
3910
|
},
|
|
3820
3911
|
{
|
|
3821
3912
|
"kind": "field",
|
|
3822
|
-
"name": "
|
|
3913
|
+
"name": "selected",
|
|
3823
3914
|
"type": {
|
|
3824
3915
|
"text": "boolean"
|
|
3825
3916
|
},
|
|
3826
3917
|
"default": "false",
|
|
3827
|
-
"description": "
|
|
3828
|
-
"attribute": "
|
|
3918
|
+
"description": "Whether the chip is selected or not",
|
|
3919
|
+
"attribute": "selected",
|
|
3920
|
+
"reflects": true
|
|
3829
3921
|
},
|
|
3830
3922
|
{
|
|
3831
3923
|
"kind": "field",
|
|
3832
|
-
"name": "
|
|
3924
|
+
"name": "clickable",
|
|
3833
3925
|
"type": {
|
|
3834
|
-
"text": "
|
|
3926
|
+
"text": "boolean"
|
|
3835
3927
|
},
|
|
3836
|
-
"
|
|
3928
|
+
"attribute": "clickable",
|
|
3929
|
+
"reflects": true
|
|
3837
3930
|
},
|
|
3838
3931
|
{
|
|
3839
3932
|
"kind": "field",
|
|
3840
|
-
"name": "
|
|
3933
|
+
"name": "elevated",
|
|
3841
3934
|
"type": {
|
|
3842
|
-
"text": "
|
|
3935
|
+
"text": "boolean"
|
|
3843
3936
|
},
|
|
3844
|
-
"
|
|
3937
|
+
"default": "false",
|
|
3938
|
+
"description": "Adds elevation to the chip",
|
|
3939
|
+
"attribute": "elevated",
|
|
3940
|
+
"reflects": true
|
|
3845
3941
|
},
|
|
3846
3942
|
{
|
|
3847
3943
|
"kind": "field",
|
|
3848
|
-
"name": "
|
|
3849
|
-
"privacy": "private",
|
|
3944
|
+
"name": "toggle",
|
|
3850
3945
|
"type": {
|
|
3851
|
-
"text": "
|
|
3946
|
+
"text": "boolean"
|
|
3852
3947
|
},
|
|
3853
|
-
"
|
|
3948
|
+
"description": "When true, the chip will toggle between selected and unselected\nstates",
|
|
3949
|
+
"attribute": "toggle",
|
|
3950
|
+
"reflects": true
|
|
3854
3951
|
},
|
|
3855
3952
|
{
|
|
3856
3953
|
"kind": "field",
|
|
3857
|
-
"name": "
|
|
3954
|
+
"name": "removable",
|
|
3858
3955
|
"type": {
|
|
3859
|
-
"text": "
|
|
3956
|
+
"text": "boolean"
|
|
3860
3957
|
},
|
|
3861
|
-
"
|
|
3958
|
+
"default": "false",
|
|
3959
|
+
"description": "Add the remove icon",
|
|
3960
|
+
"attribute": "removable",
|
|
3961
|
+
"reflects": true
|
|
3862
3962
|
},
|
|
3863
3963
|
{
|
|
3864
|
-
"kind": "
|
|
3865
|
-
"name": "
|
|
3866
|
-
"
|
|
3964
|
+
"kind": "field",
|
|
3965
|
+
"name": "hideSelectedIcon",
|
|
3966
|
+
"type": {
|
|
3967
|
+
"text": "boolean"
|
|
3968
|
+
},
|
|
3969
|
+
"default": "false",
|
|
3970
|
+
"description": "Hide the selected icon",
|
|
3971
|
+
"attribute": "hide-selected-icon",
|
|
3972
|
+
"reflects": true
|
|
3867
3973
|
},
|
|
3868
3974
|
{
|
|
3869
|
-
"kind": "
|
|
3870
|
-
"name": "
|
|
3975
|
+
"kind": "field",
|
|
3976
|
+
"name": "hasLeadingIcon",
|
|
3977
|
+
"type": {
|
|
3978
|
+
"text": "boolean"
|
|
3979
|
+
},
|
|
3980
|
+
"default": "false",
|
|
3981
|
+
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
3982
|
+
"attribute": "has-leading-icon",
|
|
3983
|
+
"reflects": true
|
|
3871
3984
|
},
|
|
3872
3985
|
{
|
|
3873
|
-
"kind": "
|
|
3874
|
-
"name": "
|
|
3875
|
-
"
|
|
3876
|
-
|
|
3877
|
-
"type": {
|
|
3878
|
-
"text": "HTMLTemplateResult"
|
|
3879
|
-
}
|
|
3986
|
+
"kind": "field",
|
|
3987
|
+
"name": "hasSelectedIcon",
|
|
3988
|
+
"type": {
|
|
3989
|
+
"text": "boolean"
|
|
3880
3990
|
},
|
|
3881
|
-
"
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3991
|
+
"default": "false",
|
|
3992
|
+
"description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
|
|
3993
|
+
"attribute": "has-selected-icon",
|
|
3994
|
+
"reflects": true
|
|
3885
3995
|
},
|
|
3886
3996
|
{
|
|
3887
|
-
"kind": "
|
|
3888
|
-
"name": "
|
|
3997
|
+
"kind": "field",
|
|
3998
|
+
"name": "hasTrailingIcon",
|
|
3999
|
+
"type": {
|
|
4000
|
+
"text": "boolean"
|
|
4001
|
+
},
|
|
4002
|
+
"default": "false",
|
|
4003
|
+
"description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4004
|
+
"attribute": "has-trailing-icon",
|
|
4005
|
+
"reflects": true
|
|
3889
4006
|
},
|
|
3890
4007
|
{
|
|
3891
|
-
"kind": "
|
|
3892
|
-
"name": "
|
|
4008
|
+
"kind": "field",
|
|
4009
|
+
"name": "assignedLeadingIcons",
|
|
4010
|
+
"type": {
|
|
4011
|
+
"text": "HTMLElement[]"
|
|
4012
|
+
},
|
|
4013
|
+
"privacy": "private"
|
|
3893
4014
|
},
|
|
3894
4015
|
{
|
|
3895
|
-
"kind": "
|
|
3896
|
-
"name": "
|
|
4016
|
+
"kind": "field",
|
|
4017
|
+
"name": "assignedSelectedIcons",
|
|
4018
|
+
"type": {
|
|
4019
|
+
"text": "HTMLElement[]"
|
|
4020
|
+
},
|
|
4021
|
+
"privacy": "private"
|
|
4022
|
+
},
|
|
4023
|
+
{
|
|
4024
|
+
"kind": "field",
|
|
4025
|
+
"name": "assignedTrailingIcons",
|
|
4026
|
+
"type": {
|
|
4027
|
+
"text": "HTMLElement[]"
|
|
4028
|
+
},
|
|
4029
|
+
"privacy": "private"
|
|
4030
|
+
},
|
|
4031
|
+
{
|
|
4032
|
+
"kind": "field",
|
|
4033
|
+
"name": "removeRipple",
|
|
4034
|
+
"type": {
|
|
4035
|
+
"text": "UmRipple"
|
|
4036
|
+
}
|
|
3897
4037
|
},
|
|
3898
4038
|
{
|
|
3899
4039
|
"kind": "method",
|
|
3900
|
-
"name": "#
|
|
4040
|
+
"name": "#handleRemoveClick",
|
|
3901
4041
|
"parameters": [
|
|
3902
4042
|
{
|
|
3903
4043
|
"name": "e",
|
|
3904
4044
|
"type": {
|
|
3905
|
-
"text": "
|
|
4045
|
+
"text": "Event"
|
|
3906
4046
|
}
|
|
3907
4047
|
}
|
|
3908
4048
|
]
|
|
3909
4049
|
},
|
|
3910
4050
|
{
|
|
3911
4051
|
"kind": "method",
|
|
3912
|
-
"name": "
|
|
3913
|
-
"parameters": [
|
|
3914
|
-
{
|
|
3915
|
-
"name": "value",
|
|
3916
|
-
"type": {
|
|
3917
|
-
"text": "any"
|
|
3918
|
-
}
|
|
3919
|
-
},
|
|
3920
|
-
{
|
|
3921
|
-
"name": "triggerChange",
|
|
3922
|
-
"default": "false"
|
|
3923
|
-
}
|
|
3924
|
-
]
|
|
4052
|
+
"name": "#handleTrailingIconSlotChange"
|
|
3925
4053
|
},
|
|
3926
4054
|
{
|
|
3927
4055
|
"kind": "method",
|
|
3928
|
-
"name": "
|
|
3929
|
-
"parameters": [
|
|
3930
|
-
{
|
|
3931
|
-
"name": "index",
|
|
3932
|
-
"type": {
|
|
3933
|
-
"text": "number"
|
|
3934
|
-
}
|
|
3935
|
-
},
|
|
3936
|
-
{
|
|
3937
|
-
"name": "triggerChange",
|
|
3938
|
-
"default": "false"
|
|
3939
|
-
}
|
|
3940
|
-
]
|
|
3941
|
-
},
|
|
3942
|
-
{
|
|
3943
|
-
"kind": "field",
|
|
3944
|
-
"name": "#removeChip",
|
|
3945
|
-
"privacy": "private"
|
|
3946
|
-
},
|
|
3947
|
-
{
|
|
3948
|
-
"kind": "method",
|
|
3949
|
-
"name": "#changed",
|
|
3950
|
-
"parameters": [
|
|
3951
|
-
{
|
|
3952
|
-
"name": "triggerChange",
|
|
3953
|
-
"type": {
|
|
3954
|
-
"text": "boolean"
|
|
3955
|
-
}
|
|
3956
|
-
}
|
|
3957
|
-
]
|
|
3958
|
-
},
|
|
3959
|
-
{
|
|
3960
|
-
"kind": "method",
|
|
3961
|
-
"name": "#valueUpdate"
|
|
4056
|
+
"name": "#handleLeadingIconSlotChange"
|
|
3962
4057
|
},
|
|
3963
4058
|
{
|
|
3964
4059
|
"kind": "method",
|
|
3965
|
-
"name": "#
|
|
4060
|
+
"name": "#handleSelectedIconSlotChange"
|
|
3966
4061
|
},
|
|
3967
4062
|
{
|
|
3968
4063
|
"kind": "method",
|
|
3969
|
-
"name": "
|
|
4064
|
+
"name": "handleClick",
|
|
4065
|
+
"privacy": "protected",
|
|
3970
4066
|
"return": {
|
|
3971
4067
|
"type": {
|
|
3972
|
-
"text": "
|
|
4068
|
+
"text": "void"
|
|
3973
4069
|
}
|
|
3974
4070
|
},
|
|
3975
4071
|
"parameters": [
|
|
3976
4072
|
{
|
|
3977
|
-
"name": "
|
|
4073
|
+
"name": "event",
|
|
3978
4074
|
"type": {
|
|
3979
|
-
"text": "
|
|
4075
|
+
"text": "UIEvent"
|
|
3980
4076
|
}
|
|
3981
4077
|
}
|
|
3982
|
-
]
|
|
4078
|
+
],
|
|
4079
|
+
"inheritedFrom": {
|
|
4080
|
+
"name": "UmButtonWrapper",
|
|
4081
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4082
|
+
}
|
|
3983
4083
|
},
|
|
3984
4084
|
{
|
|
3985
4085
|
"kind": "method",
|
|
3986
|
-
"name": "
|
|
3987
|
-
"privacy": "
|
|
3988
|
-
"
|
|
3989
|
-
{
|
|
3990
|
-
"
|
|
3991
|
-
"type": {
|
|
3992
|
-
"text": "any"
|
|
3993
|
-
}
|
|
4086
|
+
"name": "renderContent",
|
|
4087
|
+
"privacy": "protected",
|
|
4088
|
+
"return": {
|
|
4089
|
+
"type": {
|
|
4090
|
+
"text": "HTMLTemplateResult"
|
|
3994
4091
|
}
|
|
3995
|
-
|
|
4092
|
+
},
|
|
4093
|
+
"inheritedFrom": {
|
|
4094
|
+
"name": "UmButtonWrapper",
|
|
4095
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4096
|
+
}
|
|
3996
4097
|
},
|
|
3997
4098
|
{
|
|
3998
4099
|
"kind": "field",
|
|
3999
|
-
"name": "
|
|
4100
|
+
"name": "disabled",
|
|
4000
4101
|
"type": {
|
|
4001
4102
|
"text": "boolean"
|
|
4002
4103
|
},
|
|
4003
|
-
"
|
|
4004
|
-
"
|
|
4104
|
+
"default": "false",
|
|
4105
|
+
"description": "Whether the button is disabled or not.",
|
|
4106
|
+
"attribute": "disabled",
|
|
4107
|
+
"reflects": true,
|
|
4005
4108
|
"inheritedFrom": {
|
|
4006
|
-
"name": "
|
|
4007
|
-
"module": "src/shared/
|
|
4109
|
+
"name": "UmButtonWrapper",
|
|
4110
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4008
4111
|
}
|
|
4009
4112
|
},
|
|
4010
4113
|
{
|
|
4011
4114
|
"kind": "field",
|
|
4012
|
-
"name": "
|
|
4115
|
+
"name": "renderRipple",
|
|
4013
4116
|
"type": {
|
|
4014
|
-
"text": "
|
|
4117
|
+
"text": "boolean"
|
|
4015
4118
|
},
|
|
4016
|
-
"
|
|
4017
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
|
|
4119
|
+
"default": "true",
|
|
4018
4120
|
"inheritedFrom": {
|
|
4019
|
-
"name": "
|
|
4020
|
-
"module": "src/shared/
|
|
4121
|
+
"name": "UmButtonWrapper",
|
|
4122
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4021
4123
|
}
|
|
4022
4124
|
},
|
|
4023
4125
|
{
|
|
4024
4126
|
"kind": "field",
|
|
4025
|
-
"name": "
|
|
4127
|
+
"name": "href",
|
|
4026
4128
|
"type": {
|
|
4027
|
-
"text": "
|
|
4129
|
+
"text": "string | undefined"
|
|
4028
4130
|
},
|
|
4029
|
-
"
|
|
4030
|
-
"
|
|
4031
|
-
"attribute": "empty",
|
|
4032
|
-
"reflects": true,
|
|
4131
|
+
"description": "The URL that the link button points to.",
|
|
4132
|
+
"attribute": "href",
|
|
4033
4133
|
"inheritedFrom": {
|
|
4034
|
-
"name": "
|
|
4035
|
-
"module": "src/
|
|
4134
|
+
"name": "UmButtonWrapper",
|
|
4135
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4036
4136
|
}
|
|
4037
4137
|
},
|
|
4038
4138
|
{
|
|
4039
4139
|
"kind": "field",
|
|
4040
|
-
"name": "
|
|
4140
|
+
"name": "target",
|
|
4041
4141
|
"type": {
|
|
4042
|
-
"text": "string"
|
|
4142
|
+
"text": "string | undefined"
|
|
4043
4143
|
},
|
|
4044
|
-
"
|
|
4045
|
-
"attribute": "
|
|
4046
|
-
"reflects": true,
|
|
4144
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
4145
|
+
"attribute": "target",
|
|
4047
4146
|
"inheritedFrom": {
|
|
4048
|
-
"name": "
|
|
4049
|
-
"module": "src/shared/
|
|
4147
|
+
"name": "UmButtonWrapper",
|
|
4148
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4050
4149
|
}
|
|
4051
4150
|
},
|
|
4052
4151
|
{
|
|
4053
4152
|
"kind": "field",
|
|
4054
|
-
"name": "
|
|
4153
|
+
"name": "name",
|
|
4055
4154
|
"type": {
|
|
4056
|
-
"text": "
|
|
4155
|
+
"text": "string | undefined"
|
|
4057
4156
|
},
|
|
4157
|
+
"attribute": "name",
|
|
4058
4158
|
"inheritedFrom": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"module": "src/shared/
|
|
4159
|
+
"name": "UmButtonWrapper",
|
|
4160
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4061
4161
|
}
|
|
4062
4162
|
},
|
|
4063
4163
|
{
|
|
4064
4164
|
"kind": "field",
|
|
4065
|
-
"name": "
|
|
4165
|
+
"name": "buttonElement",
|
|
4066
4166
|
"type": {
|
|
4067
|
-
"text": "
|
|
4167
|
+
"text": "HTMLElement"
|
|
4068
4168
|
},
|
|
4069
|
-
"privacy": "protected",
|
|
4070
4169
|
"inheritedFrom": {
|
|
4071
|
-
"name": "
|
|
4072
|
-
"module": "src/shared/
|
|
4170
|
+
"name": "UmButtonWrapper",
|
|
4171
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4073
4172
|
}
|
|
4074
4173
|
},
|
|
4075
4174
|
{
|
|
4076
4175
|
"kind": "field",
|
|
4077
|
-
"name": "
|
|
4176
|
+
"name": "ripple",
|
|
4078
4177
|
"type": {
|
|
4079
|
-
"text": "
|
|
4178
|
+
"text": "UmRipple"
|
|
4080
4179
|
},
|
|
4081
4180
|
"privacy": "private",
|
|
4082
4181
|
"inheritedFrom": {
|
|
4083
|
-
"name": "
|
|
4084
|
-
"module": "src/
|
|
4182
|
+
"name": "UmButtonWrapper",
|
|
4183
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4085
4184
|
}
|
|
4086
4185
|
},
|
|
4087
4186
|
{
|
|
4088
4187
|
"kind": "field",
|
|
4089
|
-
"name": "
|
|
4188
|
+
"name": "innerRole",
|
|
4090
4189
|
"type": {
|
|
4091
|
-
"text": "
|
|
4190
|
+
"text": "string | null"
|
|
4092
4191
|
},
|
|
4093
|
-
"
|
|
4094
|
-
"
|
|
4192
|
+
"privacy": "protected",
|
|
4193
|
+
"default": "null",
|
|
4095
4194
|
"inheritedFrom": {
|
|
4096
|
-
"name": "
|
|
4097
|
-
"module": "src/
|
|
4195
|
+
"name": "UmButtonWrapper",
|
|
4196
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4098
4197
|
}
|
|
4099
4198
|
},
|
|
4100
4199
|
{
|
|
4101
4200
|
"kind": "field",
|
|
4102
|
-
"name": "
|
|
4201
|
+
"name": "pathname",
|
|
4103
4202
|
"type": {
|
|
4104
|
-
"text": "string
|
|
4203
|
+
"text": "string"
|
|
4105
4204
|
},
|
|
4106
|
-
"description": "The floating label for the field",
|
|
4107
|
-
"attribute": "label",
|
|
4108
4205
|
"inheritedFrom": {
|
|
4109
|
-
"name": "
|
|
4110
|
-
"module": "src/
|
|
4206
|
+
"name": "UmButtonWrapper",
|
|
4207
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4111
4208
|
}
|
|
4112
4209
|
},
|
|
4113
4210
|
{
|
|
4114
|
-
"kind": "
|
|
4115
|
-
"name": "
|
|
4116
|
-
"
|
|
4117
|
-
"text": "string | undefined"
|
|
4118
|
-
},
|
|
4119
|
-
"privacy": "protected",
|
|
4211
|
+
"kind": "method",
|
|
4212
|
+
"name": "renderButton",
|
|
4213
|
+
"privacy": "private",
|
|
4120
4214
|
"inheritedFrom": {
|
|
4121
|
-
"name": "
|
|
4122
|
-
"module": "src/
|
|
4215
|
+
"name": "UmButtonWrapper",
|
|
4216
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4123
4217
|
}
|
|
4124
4218
|
},
|
|
4125
4219
|
{
|
|
4126
|
-
"kind": "
|
|
4127
|
-
"name": "
|
|
4128
|
-
"
|
|
4129
|
-
"text": "string | undefined"
|
|
4130
|
-
},
|
|
4131
|
-
"attribute": "counter",
|
|
4220
|
+
"kind": "method",
|
|
4221
|
+
"name": "renderLink",
|
|
4222
|
+
"privacy": "private",
|
|
4132
4223
|
"inheritedFrom": {
|
|
4133
|
-
"name": "
|
|
4134
|
-
"module": "src/
|
|
4224
|
+
"name": "UmButtonWrapper",
|
|
4225
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4135
4226
|
}
|
|
4136
4227
|
},
|
|
4137
4228
|
{
|
|
4138
|
-
"kind": "
|
|
4139
|
-
"name": "
|
|
4140
|
-
"type": {
|
|
4141
|
-
"text": "boolean"
|
|
4142
|
-
},
|
|
4143
|
-
"default": "false",
|
|
4144
|
-
"attribute": "hide-counter",
|
|
4229
|
+
"kind": "method",
|
|
4230
|
+
"name": "focus",
|
|
4145
4231
|
"inheritedFrom": {
|
|
4146
|
-
"name": "
|
|
4147
|
-
"module": "src/
|
|
4232
|
+
"name": "UmButtonWrapper",
|
|
4233
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4148
4234
|
}
|
|
4149
4235
|
},
|
|
4150
4236
|
{
|
|
4151
|
-
"kind": "
|
|
4152
|
-
"name": "
|
|
4153
|
-
"type": {
|
|
4154
|
-
"text": "string | undefined"
|
|
4155
|
-
},
|
|
4156
|
-
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
4157
|
-
"attribute": "supporting-text",
|
|
4237
|
+
"kind": "method",
|
|
4238
|
+
"name": "blur",
|
|
4158
4239
|
"inheritedFrom": {
|
|
4159
|
-
"name": "
|
|
4160
|
-
"module": "src/
|
|
4240
|
+
"name": "UmButtonWrapper",
|
|
4241
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4161
4242
|
}
|
|
4162
4243
|
},
|
|
4163
4244
|
{
|
|
4164
|
-
"kind": "
|
|
4165
|
-
"name": "
|
|
4166
|
-
"
|
|
4167
|
-
|
|
4245
|
+
"kind": "method",
|
|
4246
|
+
"name": "getAriaLabel",
|
|
4247
|
+
"privacy": "protected",
|
|
4248
|
+
"return": {
|
|
4249
|
+
"type": {
|
|
4250
|
+
"text": "string | null"
|
|
4251
|
+
}
|
|
4168
4252
|
},
|
|
4169
|
-
"description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
|
|
4170
|
-
"attribute": "error-text",
|
|
4171
4253
|
"inheritedFrom": {
|
|
4172
|
-
"name": "
|
|
4173
|
-
"module": "src/
|
|
4254
|
+
"name": "UmButtonWrapper",
|
|
4255
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4174
4256
|
}
|
|
4175
4257
|
},
|
|
4176
4258
|
{
|
|
4177
|
-
"kind": "
|
|
4178
|
-
"name": "
|
|
4179
|
-
"
|
|
4180
|
-
|
|
4259
|
+
"kind": "method",
|
|
4260
|
+
"name": "innerFocusHandler",
|
|
4261
|
+
"privacy": "private",
|
|
4262
|
+
"return": {
|
|
4263
|
+
"type": {
|
|
4264
|
+
"text": "void"
|
|
4265
|
+
}
|
|
4181
4266
|
},
|
|
4182
|
-
"default": "false",
|
|
4183
|
-
"attribute": "disabled",
|
|
4184
|
-
"reflects": true,
|
|
4185
4267
|
"inheritedFrom": {
|
|
4186
|
-
"name": "
|
|
4187
|
-
"module": "src/
|
|
4188
|
-
}
|
|
4189
|
-
},
|
|
4190
|
-
{
|
|
4191
|
-
"kind": "field",
|
|
4192
|
-
"name": "invalid",
|
|
4193
|
-
"type": {
|
|
4194
|
-
"text": "boolean"
|
|
4195
|
-
},
|
|
4196
|
-
"default": "false",
|
|
4197
|
-
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
4198
|
-
"attribute": "invalid",
|
|
4199
|
-
"reflects": true,
|
|
4200
|
-
"inheritedFrom": {
|
|
4201
|
-
"name": "UmFieldBase",
|
|
4202
|
-
"module": "src/field/field-base.ts"
|
|
4268
|
+
"name": "UmButtonWrapper",
|
|
4269
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4203
4270
|
}
|
|
4204
4271
|
},
|
|
4205
4272
|
{
|
|
4206
4273
|
"kind": "method",
|
|
4207
|
-
"name": "
|
|
4208
|
-
"static": true,
|
|
4274
|
+
"name": "#innerClickHandler",
|
|
4209
4275
|
"return": {
|
|
4210
4276
|
"type": {
|
|
4211
|
-
"text": "
|
|
4277
|
+
"text": "void"
|
|
4212
4278
|
}
|
|
4213
4279
|
},
|
|
4214
4280
|
"parameters": [
|
|
4215
4281
|
{
|
|
4216
|
-
"name": "
|
|
4217
|
-
"type": {
|
|
4218
|
-
"text": "HTMLElement"
|
|
4219
|
-
}
|
|
4220
|
-
},
|
|
4221
|
-
{
|
|
4222
|
-
"name": "config",
|
|
4282
|
+
"name": "event",
|
|
4223
4283
|
"type": {
|
|
4224
|
-
"text": "
|
|
4284
|
+
"text": "MouseEvent"
|
|
4225
4285
|
}
|
|
4226
4286
|
}
|
|
4227
4287
|
],
|
|
4228
4288
|
"inheritedFrom": {
|
|
4229
|
-
"name": "
|
|
4230
|
-
"module": "src/
|
|
4289
|
+
"name": "UmButtonWrapper",
|
|
4290
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4231
4291
|
}
|
|
4232
|
-
}
|
|
4292
|
+
}
|
|
4293
|
+
],
|
|
4294
|
+
"events": [
|
|
4233
4295
|
{
|
|
4234
|
-
"
|
|
4235
|
-
"name": "hasLeadingIcon",
|
|
4296
|
+
"name": "change",
|
|
4236
4297
|
"type": {
|
|
4237
|
-
"text": "
|
|
4238
|
-
},
|
|
4239
|
-
"default": "false",
|
|
4240
|
-
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
4241
|
-
"attribute": "has-leading-icon",
|
|
4242
|
-
"reflects": true,
|
|
4243
|
-
"inheritedFrom": {
|
|
4244
|
-
"name": "UmFieldBase",
|
|
4245
|
-
"module": "src/field/field-base.ts"
|
|
4298
|
+
"text": "Event"
|
|
4246
4299
|
}
|
|
4247
|
-
}
|
|
4300
|
+
}
|
|
4301
|
+
],
|
|
4302
|
+
"attributes": [
|
|
4248
4303
|
{
|
|
4249
|
-
"
|
|
4250
|
-
"name": "hasTrailingIcon",
|
|
4304
|
+
"name": "selected",
|
|
4251
4305
|
"type": {
|
|
4252
4306
|
"text": "boolean"
|
|
4253
4307
|
},
|
|
4254
4308
|
"default": "false",
|
|
4255
|
-
"description": "Whether the
|
|
4256
|
-
"
|
|
4257
|
-
"reflects": true,
|
|
4258
|
-
"inheritedFrom": {
|
|
4259
|
-
"name": "UmFieldBase",
|
|
4260
|
-
"module": "src/field/field-base.ts"
|
|
4261
|
-
}
|
|
4309
|
+
"description": "Whether the chip is selected or not",
|
|
4310
|
+
"fieldName": "selected"
|
|
4262
4311
|
},
|
|
4263
4312
|
{
|
|
4264
|
-
"
|
|
4265
|
-
"name": "hasErrorText",
|
|
4313
|
+
"name": "clickable",
|
|
4266
4314
|
"type": {
|
|
4267
4315
|
"text": "boolean"
|
|
4268
4316
|
},
|
|
4269
|
-
"
|
|
4270
|
-
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
4271
|
-
"attribute": "has-error-text",
|
|
4272
|
-
"reflects": true,
|
|
4273
|
-
"inheritedFrom": {
|
|
4274
|
-
"name": "UmFieldBase",
|
|
4275
|
-
"module": "src/field/field-base.ts"
|
|
4276
|
-
}
|
|
4317
|
+
"fieldName": "clickable"
|
|
4277
4318
|
},
|
|
4278
4319
|
{
|
|
4279
|
-
"
|
|
4280
|
-
"name": "assignedLeadingIcons",
|
|
4320
|
+
"name": "elevated",
|
|
4281
4321
|
"type": {
|
|
4282
|
-
"text": "
|
|
4322
|
+
"text": "boolean"
|
|
4283
4323
|
},
|
|
4284
|
-
"
|
|
4285
|
-
"
|
|
4286
|
-
|
|
4287
|
-
"module": "src/field/field-base.ts"
|
|
4288
|
-
}
|
|
4324
|
+
"default": "false",
|
|
4325
|
+
"description": "Adds elevation to the chip",
|
|
4326
|
+
"fieldName": "elevated"
|
|
4289
4327
|
},
|
|
4290
4328
|
{
|
|
4291
|
-
"
|
|
4292
|
-
"name": "assignedTrailingIcons",
|
|
4329
|
+
"name": "toggle",
|
|
4293
4330
|
"type": {
|
|
4294
|
-
"text": "
|
|
4331
|
+
"text": "boolean"
|
|
4295
4332
|
},
|
|
4296
|
-
"
|
|
4297
|
-
"
|
|
4298
|
-
"name": "UmFieldBase",
|
|
4299
|
-
"module": "src/field/field-base.ts"
|
|
4300
|
-
}
|
|
4333
|
+
"description": "When true, the chip will toggle between selected and unselected\nstates",
|
|
4334
|
+
"fieldName": "toggle"
|
|
4301
4335
|
},
|
|
4302
4336
|
{
|
|
4303
|
-
"
|
|
4304
|
-
"name": "assignedErrorTexts",
|
|
4337
|
+
"name": "removable",
|
|
4305
4338
|
"type": {
|
|
4306
|
-
"text": "
|
|
4339
|
+
"text": "boolean"
|
|
4307
4340
|
},
|
|
4308
|
-
"
|
|
4309
|
-
"
|
|
4310
|
-
|
|
4311
|
-
"module": "src/field/field-base.ts"
|
|
4312
|
-
}
|
|
4341
|
+
"default": "false",
|
|
4342
|
+
"description": "Add the remove icon",
|
|
4343
|
+
"fieldName": "removable"
|
|
4313
4344
|
},
|
|
4314
4345
|
{
|
|
4315
|
-
"
|
|
4316
|
-
"name": "_labelElement",
|
|
4346
|
+
"name": "hide-selected-icon",
|
|
4317
4347
|
"type": {
|
|
4318
|
-
"text": "
|
|
4348
|
+
"text": "boolean"
|
|
4319
4349
|
},
|
|
4320
|
-
"
|
|
4321
|
-
"
|
|
4322
|
-
|
|
4323
|
-
"module": "src/field/field-base.ts"
|
|
4324
|
-
}
|
|
4350
|
+
"default": "false",
|
|
4351
|
+
"description": "Hide the selected icon",
|
|
4352
|
+
"fieldName": "hideSelectedIcon"
|
|
4325
4353
|
},
|
|
4326
4354
|
{
|
|
4327
|
-
"
|
|
4328
|
-
"name": "_container",
|
|
4355
|
+
"name": "has-leading-icon",
|
|
4329
4356
|
"type": {
|
|
4330
|
-
"text": "
|
|
4357
|
+
"text": "boolean"
|
|
4331
4358
|
},
|
|
4332
|
-
"
|
|
4333
|
-
"
|
|
4334
|
-
|
|
4335
|
-
"module": "src/field/field-base.ts"
|
|
4336
|
-
}
|
|
4359
|
+
"default": "false",
|
|
4360
|
+
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
4361
|
+
"fieldName": "hasLeadingIcon"
|
|
4337
4362
|
},
|
|
4338
4363
|
{
|
|
4339
|
-
"
|
|
4340
|
-
"
|
|
4341
|
-
|
|
4342
|
-
"return": {
|
|
4343
|
-
"type": {
|
|
4344
|
-
"text": "TemplateResult"
|
|
4345
|
-
}
|
|
4364
|
+
"name": "has-selected-icon",
|
|
4365
|
+
"type": {
|
|
4366
|
+
"text": "boolean"
|
|
4346
4367
|
},
|
|
4347
|
-
"
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
}
|
|
4351
|
-
},
|
|
4352
|
-
{
|
|
4353
|
-
"kind": "method",
|
|
4354
|
-
"name": "handleLeadingIconSlotChange",
|
|
4355
|
-
"privacy": "private",
|
|
4356
|
-
"inheritedFrom": {
|
|
4357
|
-
"name": "UmFieldBase",
|
|
4358
|
-
"module": "src/field/field-base.ts"
|
|
4359
|
-
}
|
|
4360
|
-
},
|
|
4361
|
-
{
|
|
4362
|
-
"kind": "method",
|
|
4363
|
-
"name": "handleTrailingIconSlotChange",
|
|
4364
|
-
"privacy": "private",
|
|
4365
|
-
"inheritedFrom": {
|
|
4366
|
-
"name": "UmFieldBase",
|
|
4367
|
-
"module": "src/field/field-base.ts"
|
|
4368
|
-
}
|
|
4369
|
-
},
|
|
4370
|
-
{
|
|
4371
|
-
"kind": "method",
|
|
4372
|
-
"name": "handleErrorTextSlotChange",
|
|
4373
|
-
"privacy": "private",
|
|
4374
|
-
"inheritedFrom": {
|
|
4375
|
-
"name": "UmFieldBase",
|
|
4376
|
-
"module": "src/field/field-base.ts"
|
|
4377
|
-
}
|
|
4368
|
+
"default": "false",
|
|
4369
|
+
"description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
|
|
4370
|
+
"fieldName": "hasSelectedIcon"
|
|
4378
4371
|
},
|
|
4379
4372
|
{
|
|
4380
|
-
"
|
|
4381
|
-
"name": "renderDefaultTrailingIcon",
|
|
4382
|
-
"privacy": "protected",
|
|
4383
|
-
"return": {
|
|
4384
|
-
"type": {
|
|
4385
|
-
"text": "TemplateResult | typeof nothing"
|
|
4386
|
-
}
|
|
4387
|
-
},
|
|
4388
|
-
"inheritedFrom": {
|
|
4389
|
-
"name": "UmFieldBase",
|
|
4390
|
-
"module": "src/field/field-base.ts"
|
|
4391
|
-
}
|
|
4392
|
-
}
|
|
4393
|
-
],
|
|
4394
|
-
"events": [
|
|
4395
|
-
{
|
|
4396
|
-
"name": "change",
|
|
4397
|
-
"type": {
|
|
4398
|
-
"text": "Event"
|
|
4399
|
-
}
|
|
4400
|
-
}
|
|
4401
|
-
],
|
|
4402
|
-
"attributes": [
|
|
4403
|
-
{
|
|
4404
|
-
"name": "name",
|
|
4373
|
+
"name": "has-trailing-icon",
|
|
4405
4374
|
"type": {
|
|
4406
|
-
"text": "
|
|
4375
|
+
"text": "boolean"
|
|
4407
4376
|
},
|
|
4408
|
-
"
|
|
4377
|
+
"default": "false",
|
|
4378
|
+
"description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4379
|
+
"fieldName": "hasTrailingIcon"
|
|
4409
4380
|
},
|
|
4410
4381
|
{
|
|
4411
|
-
"name": "
|
|
4382
|
+
"name": "disabled",
|
|
4412
4383
|
"type": {
|
|
4413
4384
|
"text": "boolean"
|
|
4414
4385
|
},
|
|
4415
4386
|
"default": "false",
|
|
4416
|
-
"description": "
|
|
4417
|
-
"fieldName": "
|
|
4387
|
+
"description": "Whether the button is disabled or not.",
|
|
4388
|
+
"fieldName": "disabled",
|
|
4389
|
+
"inheritedFrom": {
|
|
4390
|
+
"name": "UmButtonWrapper",
|
|
4391
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4392
|
+
}
|
|
4418
4393
|
},
|
|
4419
4394
|
{
|
|
4420
|
-
"name": "
|
|
4395
|
+
"name": "href",
|
|
4421
4396
|
"type": {
|
|
4422
|
-
"text": "string"
|
|
4397
|
+
"text": "string | undefined"
|
|
4423
4398
|
},
|
|
4424
|
-
"
|
|
4425
|
-
"fieldName": "
|
|
4399
|
+
"description": "The URL that the link button points to.",
|
|
4400
|
+
"fieldName": "href",
|
|
4426
4401
|
"inheritedFrom": {
|
|
4427
|
-
"name": "
|
|
4428
|
-
"module": "src/shared/
|
|
4402
|
+
"name": "UmButtonWrapper",
|
|
4403
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4429
4404
|
}
|
|
4430
4405
|
},
|
|
4431
4406
|
{
|
|
4432
|
-
"name": "
|
|
4407
|
+
"name": "target",
|
|
4433
4408
|
"type": {
|
|
4434
|
-
"text": "
|
|
4435
|
-
},
|
|
4436
|
-
"default": "undefined",
|
|
4437
|
-
"resolveInitializer": {
|
|
4438
|
-
"module": "src/field/field-base.ts"
|
|
4409
|
+
"text": "string | undefined"
|
|
4439
4410
|
},
|
|
4440
|
-
"
|
|
4411
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
4412
|
+
"fieldName": "target",
|
|
4441
4413
|
"inheritedFrom": {
|
|
4442
|
-
"name": "
|
|
4443
|
-
"module": "src/
|
|
4414
|
+
"name": "UmButtonWrapper",
|
|
4415
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4444
4416
|
}
|
|
4445
4417
|
},
|
|
4446
4418
|
{
|
|
4447
|
-
"name": "
|
|
4419
|
+
"name": "name",
|
|
4448
4420
|
"type": {
|
|
4449
4421
|
"text": "string | undefined"
|
|
4450
4422
|
},
|
|
4451
|
-
"
|
|
4452
|
-
"fieldName": "label",
|
|
4453
|
-
"inheritedFrom": {
|
|
4454
|
-
"name": "UmFieldBase",
|
|
4455
|
-
"module": "src/field/field-base.ts"
|
|
4456
|
-
}
|
|
4457
|
-
},
|
|
4458
|
-
{
|
|
4459
|
-
"name": "counter",
|
|
4460
|
-
"type": {
|
|
4461
|
-
"text": "string | undefined"
|
|
4462
|
-
},
|
|
4463
|
-
"fieldName": "counter",
|
|
4464
|
-
"inheritedFrom": {
|
|
4465
|
-
"name": "UmFieldBase",
|
|
4466
|
-
"module": "src/field/field-base.ts"
|
|
4467
|
-
}
|
|
4468
|
-
},
|
|
4469
|
-
{
|
|
4470
|
-
"name": "hide-counter",
|
|
4471
|
-
"type": {
|
|
4472
|
-
"text": "boolean"
|
|
4473
|
-
},
|
|
4474
|
-
"default": "false",
|
|
4475
|
-
"fieldName": "hideCounter",
|
|
4476
|
-
"inheritedFrom": {
|
|
4477
|
-
"name": "UmFieldBase",
|
|
4478
|
-
"module": "src/field/field-base.ts"
|
|
4479
|
-
}
|
|
4480
|
-
},
|
|
4481
|
-
{
|
|
4482
|
-
"name": "supporting-text",
|
|
4483
|
-
"type": {
|
|
4484
|
-
"text": "string | undefined"
|
|
4485
|
-
},
|
|
4486
|
-
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
4487
|
-
"fieldName": "supportingText",
|
|
4488
|
-
"inheritedFrom": {
|
|
4489
|
-
"name": "UmFieldBase",
|
|
4490
|
-
"module": "src/field/field-base.ts"
|
|
4491
|
-
}
|
|
4492
|
-
},
|
|
4493
|
-
{
|
|
4494
|
-
"name": "error-text",
|
|
4495
|
-
"type": {
|
|
4496
|
-
"text": "string | undefined"
|
|
4497
|
-
},
|
|
4498
|
-
"description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
|
|
4499
|
-
"fieldName": "errorText",
|
|
4500
|
-
"inheritedFrom": {
|
|
4501
|
-
"name": "UmFieldBase",
|
|
4502
|
-
"module": "src/field/field-base.ts"
|
|
4503
|
-
}
|
|
4504
|
-
},
|
|
4505
|
-
{
|
|
4506
|
-
"name": "empty",
|
|
4507
|
-
"type": {
|
|
4508
|
-
"text": "boolean"
|
|
4509
|
-
},
|
|
4510
|
-
"default": "false",
|
|
4511
|
-
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
4512
|
-
"fieldName": "empty",
|
|
4513
|
-
"inheritedFrom": {
|
|
4514
|
-
"name": "UmFieldBase",
|
|
4515
|
-
"module": "src/field/field-base.ts"
|
|
4516
|
-
}
|
|
4517
|
-
},
|
|
4518
|
-
{
|
|
4519
|
-
"name": "disabled",
|
|
4520
|
-
"type": {
|
|
4521
|
-
"text": "boolean"
|
|
4522
|
-
},
|
|
4523
|
-
"default": "false",
|
|
4524
|
-
"fieldName": "disabled",
|
|
4525
|
-
"inheritedFrom": {
|
|
4526
|
-
"name": "UmFieldBase",
|
|
4527
|
-
"module": "src/field/field-base.ts"
|
|
4528
|
-
}
|
|
4529
|
-
},
|
|
4530
|
-
{
|
|
4531
|
-
"name": "invalid",
|
|
4532
|
-
"type": {
|
|
4533
|
-
"text": "boolean"
|
|
4534
|
-
},
|
|
4535
|
-
"default": "false",
|
|
4536
|
-
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
4537
|
-
"fieldName": "invalid",
|
|
4538
|
-
"inheritedFrom": {
|
|
4539
|
-
"name": "UmFieldBase",
|
|
4540
|
-
"module": "src/field/field-base.ts"
|
|
4541
|
-
}
|
|
4542
|
-
},
|
|
4543
|
-
{
|
|
4544
|
-
"name": "has-leading-icon",
|
|
4545
|
-
"type": {
|
|
4546
|
-
"text": "boolean"
|
|
4547
|
-
},
|
|
4548
|
-
"default": "false",
|
|
4549
|
-
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
4550
|
-
"fieldName": "hasLeadingIcon",
|
|
4551
|
-
"inheritedFrom": {
|
|
4552
|
-
"name": "UmFieldBase",
|
|
4553
|
-
"module": "src/field/field-base.ts"
|
|
4554
|
-
}
|
|
4555
|
-
},
|
|
4556
|
-
{
|
|
4557
|
-
"name": "has-trailing-icon",
|
|
4558
|
-
"type": {
|
|
4559
|
-
"text": "boolean"
|
|
4560
|
-
},
|
|
4561
|
-
"default": "false",
|
|
4562
|
-
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4563
|
-
"fieldName": "hasTrailingIcon",
|
|
4564
|
-
"inheritedFrom": {
|
|
4565
|
-
"name": "UmFieldBase",
|
|
4566
|
-
"module": "src/field/field-base.ts"
|
|
4567
|
-
}
|
|
4568
|
-
},
|
|
4569
|
-
{
|
|
4570
|
-
"name": "has-error-text",
|
|
4571
|
-
"type": {
|
|
4572
|
-
"text": "boolean"
|
|
4573
|
-
},
|
|
4574
|
-
"default": "false",
|
|
4575
|
-
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
4576
|
-
"fieldName": "hasErrorText",
|
|
4423
|
+
"fieldName": "name",
|
|
4577
4424
|
"inheritedFrom": {
|
|
4578
|
-
"name": "
|
|
4579
|
-
"module": "src/
|
|
4425
|
+
"name": "UmButtonWrapper",
|
|
4426
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4580
4427
|
}
|
|
4581
4428
|
}
|
|
4582
4429
|
],
|
|
4583
4430
|
"superclass": {
|
|
4584
|
-
"name": "
|
|
4585
|
-
"module": "/src/shared/
|
|
4431
|
+
"name": "UmButtonWrapper",
|
|
4432
|
+
"module": "/src/shared/button-wrapper.js"
|
|
4586
4433
|
},
|
|
4587
|
-
"tagName": "u-chip
|
|
4434
|
+
"tagName": "u-chip",
|
|
4588
4435
|
"customElement": true
|
|
4589
4436
|
}
|
|
4590
4437
|
],
|
|
4591
4438
|
"exports": [
|
|
4592
4439
|
{
|
|
4593
4440
|
"kind": "js",
|
|
4594
|
-
"name": "
|
|
4441
|
+
"name": "UmChip",
|
|
4595
4442
|
"declaration": {
|
|
4596
|
-
"name": "
|
|
4597
|
-
"module": "src/chip
|
|
4443
|
+
"name": "UmChip",
|
|
4444
|
+
"module": "src/chip/chip.ts"
|
|
4598
4445
|
}
|
|
4599
4446
|
},
|
|
4600
4447
|
{
|
|
4601
4448
|
"kind": "custom-element-definition",
|
|
4602
|
-
"name": "u-chip
|
|
4449
|
+
"name": "u-chip",
|
|
4603
4450
|
"declaration": {
|
|
4604
|
-
"name": "
|
|
4605
|
-
"module": "src/chip
|
|
4451
|
+
"name": "UmChip",
|
|
4452
|
+
"module": "src/chip/chip.ts"
|
|
4606
4453
|
}
|
|
4607
4454
|
}
|
|
4608
4455
|
]
|
|
4609
4456
|
},
|
|
4610
4457
|
{
|
|
4611
4458
|
"kind": "javascript-module",
|
|
4612
|
-
"path": "src/chip/chip-
|
|
4459
|
+
"path": "src/chip-field/chip-field.styles.ts",
|
|
4613
4460
|
"declarations": [
|
|
4614
4461
|
{
|
|
4615
4462
|
"kind": "variable",
|
|
4616
4463
|
"name": "styles",
|
|
4617
|
-
"default": "css `\n :
|
|
4464
|
+
"default": "css `\n u-chip {\n flex-basis: 0;\n }\n\n .input {\n display: flex;\n gap: var(--u-chip-field-chips-gap, var(--u-spacing-extra-small, 4px));\n flex-wrap: wrap;\n }\n .input:has(u-chip) {\n margin-top: var(--u-chip-field-chips-margin, var(--u-spacing-extra-small, 4px));\n }\n .input input {\n width: auto;\n flex-basis: 200px;\n padding: 4px 0;\n margin-block: -4px;\n }\n`"
|
|
4618
4465
|
}
|
|
4619
4466
|
],
|
|
4620
4467
|
"exports": [
|
|
@@ -4623,506 +4470,606 @@
|
|
|
4623
4470
|
"name": "styles",
|
|
4624
4471
|
"declaration": {
|
|
4625
4472
|
"name": "styles",
|
|
4626
|
-
"module": "src/chip/chip-
|
|
4473
|
+
"module": "src/chip-field/chip-field.styles.ts"
|
|
4627
4474
|
}
|
|
4628
4475
|
}
|
|
4629
4476
|
]
|
|
4630
4477
|
},
|
|
4631
4478
|
{
|
|
4632
4479
|
"kind": "javascript-module",
|
|
4633
|
-
"path": "src/chip/chip-
|
|
4480
|
+
"path": "src/chip-field/chip-field.ts",
|
|
4634
4481
|
"declarations": [
|
|
4635
4482
|
{
|
|
4636
4483
|
"kind": "class",
|
|
4637
4484
|
"description": "",
|
|
4638
|
-
"name": "
|
|
4485
|
+
"name": "UmChipField",
|
|
4639
4486
|
"members": [
|
|
4640
4487
|
{
|
|
4641
4488
|
"kind": "field",
|
|
4642
|
-
"name": "
|
|
4489
|
+
"name": "input",
|
|
4490
|
+
"type": {
|
|
4491
|
+
"text": "HTMLInputElement"
|
|
4492
|
+
}
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
"kind": "field",
|
|
4496
|
+
"name": "name",
|
|
4497
|
+
"type": {
|
|
4498
|
+
"text": "string"
|
|
4499
|
+
},
|
|
4500
|
+
"attribute": "name"
|
|
4501
|
+
},
|
|
4502
|
+
{
|
|
4503
|
+
"kind": "field",
|
|
4504
|
+
"name": "manual",
|
|
4505
|
+
"type": {
|
|
4506
|
+
"text": "boolean"
|
|
4507
|
+
},
|
|
4508
|
+
"default": "false",
|
|
4509
|
+
"description": "If true, ignore enter key input",
|
|
4510
|
+
"attribute": "manual"
|
|
4511
|
+
},
|
|
4512
|
+
{
|
|
4513
|
+
"kind": "field",
|
|
4514
|
+
"name": "formatter",
|
|
4515
|
+
"type": {
|
|
4516
|
+
"text": "((value: any) => string) | undefined"
|
|
4517
|
+
},
|
|
4518
|
+
"description": "A function return a string based on a item from the `value`. Useful when the items of value are objects."
|
|
4519
|
+
},
|
|
4520
|
+
{
|
|
4521
|
+
"kind": "field",
|
|
4522
|
+
"name": "leadingIconTemplate",
|
|
4523
|
+
"type": {
|
|
4524
|
+
"text": "((value: any) => string) | undefined"
|
|
4525
|
+
},
|
|
4526
|
+
"description": "A string representing an HTML to be rendered inside as leading icon of each chip.\n\n_Note:_ Subject to signature change"
|
|
4527
|
+
},
|
|
4528
|
+
{
|
|
4529
|
+
"kind": "field",
|
|
4530
|
+
"name": "#value",
|
|
4531
|
+
"privacy": "private",
|
|
4532
|
+
"type": {
|
|
4533
|
+
"text": "any[]"
|
|
4534
|
+
},
|
|
4535
|
+
"default": "[]"
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"kind": "field",
|
|
4539
|
+
"name": "value",
|
|
4540
|
+
"type": {
|
|
4541
|
+
"text": "any[]"
|
|
4542
|
+
},
|
|
4543
|
+
"description": "An array containing the value representation of each chip.\n\n_Note:_ Add or remove items directly from value array won't trigger a render on Chip Field. Use the methods `add` or `removeAt`."
|
|
4544
|
+
},
|
|
4545
|
+
{
|
|
4546
|
+
"kind": "method",
|
|
4547
|
+
"name": "setFormValue",
|
|
4548
|
+
"privacy": "private"
|
|
4549
|
+
},
|
|
4550
|
+
{
|
|
4551
|
+
"kind": "method",
|
|
4552
|
+
"name": "focus"
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
"kind": "method",
|
|
4556
|
+
"name": "renderControl",
|
|
4557
|
+
"privacy": "protected",
|
|
4558
|
+
"return": {
|
|
4559
|
+
"type": {
|
|
4560
|
+
"text": "HTMLTemplateResult"
|
|
4561
|
+
}
|
|
4562
|
+
},
|
|
4563
|
+
"inheritedFrom": {
|
|
4564
|
+
"name": "UmFieldBase",
|
|
4565
|
+
"module": "src/field/field-base.ts"
|
|
4566
|
+
}
|
|
4567
|
+
},
|
|
4568
|
+
{
|
|
4569
|
+
"kind": "method",
|
|
4570
|
+
"name": "#getChips"
|
|
4571
|
+
},
|
|
4572
|
+
{
|
|
4573
|
+
"kind": "method",
|
|
4574
|
+
"name": "#handleBlur"
|
|
4575
|
+
},
|
|
4576
|
+
{
|
|
4577
|
+
"kind": "method",
|
|
4578
|
+
"name": "#handleInput"
|
|
4579
|
+
},
|
|
4580
|
+
{
|
|
4581
|
+
"kind": "method",
|
|
4582
|
+
"name": "#handleKeyDown",
|
|
4583
|
+
"parameters": [
|
|
4584
|
+
{
|
|
4585
|
+
"name": "e",
|
|
4586
|
+
"type": {
|
|
4587
|
+
"text": "KeyboardEvent"
|
|
4588
|
+
}
|
|
4589
|
+
}
|
|
4590
|
+
]
|
|
4591
|
+
},
|
|
4592
|
+
{
|
|
4593
|
+
"kind": "method",
|
|
4594
|
+
"name": "add",
|
|
4595
|
+
"parameters": [
|
|
4596
|
+
{
|
|
4597
|
+
"name": "value",
|
|
4598
|
+
"type": {
|
|
4599
|
+
"text": "any"
|
|
4600
|
+
}
|
|
4601
|
+
},
|
|
4602
|
+
{
|
|
4603
|
+
"name": "triggerChange",
|
|
4604
|
+
"default": "false"
|
|
4605
|
+
}
|
|
4606
|
+
]
|
|
4607
|
+
},
|
|
4608
|
+
{
|
|
4609
|
+
"kind": "method",
|
|
4610
|
+
"name": "removeAt",
|
|
4611
|
+
"parameters": [
|
|
4612
|
+
{
|
|
4613
|
+
"name": "index",
|
|
4614
|
+
"type": {
|
|
4615
|
+
"text": "number"
|
|
4616
|
+
}
|
|
4617
|
+
},
|
|
4618
|
+
{
|
|
4619
|
+
"name": "triggerChange",
|
|
4620
|
+
"default": "false"
|
|
4621
|
+
}
|
|
4622
|
+
]
|
|
4623
|
+
},
|
|
4624
|
+
{
|
|
4625
|
+
"kind": "field",
|
|
4626
|
+
"name": "#removeChip",
|
|
4627
|
+
"privacy": "private"
|
|
4628
|
+
},
|
|
4629
|
+
{
|
|
4630
|
+
"kind": "method",
|
|
4631
|
+
"name": "#changed",
|
|
4632
|
+
"parameters": [
|
|
4633
|
+
{
|
|
4634
|
+
"name": "triggerChange",
|
|
4635
|
+
"type": {
|
|
4636
|
+
"text": "boolean"
|
|
4637
|
+
}
|
|
4638
|
+
}
|
|
4639
|
+
]
|
|
4640
|
+
},
|
|
4641
|
+
{
|
|
4642
|
+
"kind": "method",
|
|
4643
|
+
"name": "#valueUpdate"
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
"kind": "method",
|
|
4647
|
+
"name": "#setEmpty"
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
"kind": "method",
|
|
4651
|
+
"name": "#dispatchRemoveEvent",
|
|
4652
|
+
"return": {
|
|
4653
|
+
"type": {
|
|
4654
|
+
"text": "boolean"
|
|
4655
|
+
}
|
|
4656
|
+
},
|
|
4657
|
+
"parameters": [
|
|
4658
|
+
{
|
|
4659
|
+
"name": "index",
|
|
4660
|
+
"type": {
|
|
4661
|
+
"text": "number"
|
|
4662
|
+
}
|
|
4663
|
+
}
|
|
4664
|
+
]
|
|
4665
|
+
},
|
|
4666
|
+
{
|
|
4667
|
+
"kind": "method",
|
|
4668
|
+
"name": "getItemLabel",
|
|
4669
|
+
"privacy": "private",
|
|
4670
|
+
"parameters": [
|
|
4671
|
+
{
|
|
4672
|
+
"name": "item",
|
|
4673
|
+
"type": {
|
|
4674
|
+
"text": "any"
|
|
4675
|
+
}
|
|
4676
|
+
}
|
|
4677
|
+
]
|
|
4678
|
+
},
|
|
4679
|
+
{
|
|
4680
|
+
"kind": "field",
|
|
4681
|
+
"name": "formAssociated",
|
|
4643
4682
|
"type": {
|
|
4644
|
-
"text": "
|
|
4683
|
+
"text": "boolean"
|
|
4645
4684
|
},
|
|
4646
|
-
"
|
|
4647
|
-
"
|
|
4648
|
-
"attribute": "alignment",
|
|
4649
|
-
"reflects": true,
|
|
4685
|
+
"static": true,
|
|
4686
|
+
"default": "true",
|
|
4650
4687
|
"inheritedFrom": {
|
|
4651
|
-
"name": "
|
|
4652
|
-
"module": "src/shared/
|
|
4688
|
+
"name": "UmTextFieldBase",
|
|
4689
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4653
4690
|
}
|
|
4654
|
-
}
|
|
4655
|
-
],
|
|
4656
|
-
"superclass": {
|
|
4657
|
-
"name": "UmSetBase",
|
|
4658
|
-
"module": "/src/shared/sets/set-base.js"
|
|
4659
|
-
},
|
|
4660
|
-
"tagName": "u-chip-set",
|
|
4661
|
-
"customElement": true,
|
|
4662
|
-
"attributes": [
|
|
4691
|
+
},
|
|
4663
4692
|
{
|
|
4664
|
-
"
|
|
4693
|
+
"kind": "field",
|
|
4694
|
+
"name": "shadowRootOptions",
|
|
4665
4695
|
"type": {
|
|
4666
|
-
"text": "
|
|
4696
|
+
"text": "ShadowRootInit"
|
|
4667
4697
|
},
|
|
4668
|
-
"
|
|
4669
|
-
"
|
|
4670
|
-
"fieldName": "alignment",
|
|
4698
|
+
"static": true,
|
|
4699
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
|
|
4671
4700
|
"inheritedFrom": {
|
|
4672
|
-
"name": "
|
|
4673
|
-
"module": "src/shared/
|
|
4701
|
+
"name": "UmTextFieldBase",
|
|
4702
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4674
4703
|
}
|
|
4675
|
-
}
|
|
4676
|
-
]
|
|
4677
|
-
}
|
|
4678
|
-
],
|
|
4679
|
-
"exports": [
|
|
4680
|
-
{
|
|
4681
|
-
"kind": "js",
|
|
4682
|
-
"name": "UmChipSet",
|
|
4683
|
-
"declaration": {
|
|
4684
|
-
"name": "UmChipSet",
|
|
4685
|
-
"module": "src/chip/chip-set.ts"
|
|
4686
|
-
}
|
|
4687
|
-
},
|
|
4688
|
-
{
|
|
4689
|
-
"kind": "custom-element-definition",
|
|
4690
|
-
"name": "u-chip-set",
|
|
4691
|
-
"declaration": {
|
|
4692
|
-
"name": "UmChipSet",
|
|
4693
|
-
"module": "src/chip/chip-set.ts"
|
|
4694
|
-
}
|
|
4695
|
-
}
|
|
4696
|
-
]
|
|
4697
|
-
},
|
|
4698
|
-
{
|
|
4699
|
-
"kind": "javascript-module",
|
|
4700
|
-
"path": "src/chip/chip.styles.ts",
|
|
4701
|
-
"declarations": [
|
|
4702
|
-
{
|
|
4703
|
-
"kind": "variable",
|
|
4704
|
-
"name": "styles",
|
|
4705
|
-
"default": "css `\n :host {\n --_height: var(--u-chip-height, 32px);\n --_outline-width: var(--u-chip-outline-width, 1px);\n --_outline-color: var(--u-chip-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_shape: var(--u-chip-shape, var(--u-shape-corner-small, 8px));\n --_gap: var(--u-chip-gap, 8px);\n --_icon-size: var(--u-chip-icon-size, 1.125rem);\n --_remove-button-margin: var(--u-chip-remove-button-margin, 2px);\n --_remove-button-size: calc(var(--_height) - var(--_remove-button-margin) * 2);\n --_selected-icon-color: var(--u-chip-selected-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n display: inline-block;\n height: var(--_height);\n border-radius: var(--_shape);\n }\n\n :host(:not([disabled]):not([elevated]):not([selected])) .outline {\n border: var(--_outline-width) solid var(--_outline-color);\n }\n\n :host([elevated]:not([disabled])) {\n --u-elevation-level: var(--u-elevated-chip-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host([elevated]:not([disabled]):hover) {\n --u-elevation-level: var(--u-elevated-chip-hover-elevation-level, 2);\n }\n }\n .outline {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n }\n\n .container {\n display: flex;\n align-items: center;\n border-radius: inherit;\n height: 100%;\n padding-inline: var(--u-chip-padding, 16px);\n gap: var(--_gap);\n }\n\n .icon {\n width: 1em;\n height: var(--_icon-size);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--_icon-size);\n }\n\n .leading {\n color: var(--u-chip-leading-icon-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .selected {\n color: var(--_selected-icon-color);\n }\n\n .trailing {\n color: var(--u-chip-trailing-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-chip-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-chip-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-chip-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-chip-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n .remove-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--_remove-button-size);\n height: var(--_remove-button-size);\n cursor: pointer;\n padding: 0;\n margin: 0;\n margin-inline: calc((var(--_remove-button-size) - var(--_icon-size)) * -0.5);\n background: gray;\n border: none;\n border-radius: var(--u-chip-remove-button-border-radius, var(--u-shape-corner-full, 9999px));\n background: none;\n appearance: none;\n outline: 0;\n outline-offset: 0;\n z-index: 1;\n }\n\n ::slotted([slot=remove-icon]),\n ::slotted([slot=selected-icon]),\n ::slotted([slot=leading-icon]),\n ::slotted([slot=trailing-icon]) {\n font-size: inherit !important;\n }\n\n slot[name=selected-icon] {\n display: none;\n }\n\n :host(:not([clickable]):not([toggle])) .button {\n cursor: auto;\n }\n\n :host([selected]:not([hide-selected-icon])) .leading {\n display: none;\n }\n :host([selected]:not([hide-selected-icon])) slot[name=selected-icon] {\n display: contents;\n }\n\n .default-select-icon {\n display: contents;\n }\n\n :host([has-selected-icon]) .default-select-icon {\n display: none;\n }\n\n :host([selected]:not([disabled])) {\n background-color: var(--u-chip-selected-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n :host([selected]:not([disabled])) .leading {\n color: var(--u-chip-selected-leading-icon-color, var(--_selected-icon-color));\n }\n :host([selected]:not([disabled])) .trailing {\n color: var(--u-chip-selected-trailing-icon-color, var(--_selected-icon-color));\n }\n\n :host([has-leading-icon]) .container,\n :host([selected]:not([hide-selected-icon])) .container {\n padding-inline-start: var(--_gap);\n }\n\n :host([has-trailing-icon]) .container,\n :host([removable]) .container {\n padding-inline-end: var(--_gap);\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host([hide-selected-icon]) .selected,\n :host(:not([selected])) .selected {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing {\n display: none;\n }\n\n [part=default-selected-icon] {\n display: contents;\n }\n`"
|
|
4706
|
-
}
|
|
4707
|
-
],
|
|
4708
|
-
"exports": [
|
|
4709
|
-
{
|
|
4710
|
-
"kind": "js",
|
|
4711
|
-
"name": "styles",
|
|
4712
|
-
"declaration": {
|
|
4713
|
-
"name": "styles",
|
|
4714
|
-
"module": "src/chip/chip.styles.ts"
|
|
4715
|
-
}
|
|
4716
|
-
}
|
|
4717
|
-
]
|
|
4718
|
-
},
|
|
4719
|
-
{
|
|
4720
|
-
"kind": "javascript-module",
|
|
4721
|
-
"path": "src/chip/chip.ts",
|
|
4722
|
-
"declarations": [
|
|
4723
|
-
{
|
|
4724
|
-
"kind": "class",
|
|
4725
|
-
"description": "",
|
|
4726
|
-
"name": "UmChip",
|
|
4727
|
-
"members": [
|
|
4728
|
-
{
|
|
4729
|
-
"kind": "field",
|
|
4730
|
-
"name": "#clickable",
|
|
4731
|
-
"privacy": "private",
|
|
4732
|
-
"type": {
|
|
4733
|
-
"text": "boolean"
|
|
4734
|
-
},
|
|
4735
|
-
"default": "false"
|
|
4736
4704
|
},
|
|
4737
4705
|
{
|
|
4738
4706
|
"kind": "field",
|
|
4739
|
-
"name": "
|
|
4740
|
-
"privacy": "private",
|
|
4707
|
+
"name": "empty",
|
|
4741
4708
|
"type": {
|
|
4742
4709
|
"text": "boolean"
|
|
4743
4710
|
},
|
|
4744
|
-
"default": "
|
|
4711
|
+
"default": "true",
|
|
4712
|
+
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
4713
|
+
"attribute": "empty",
|
|
4714
|
+
"reflects": true,
|
|
4715
|
+
"inheritedFrom": {
|
|
4716
|
+
"name": "UmFieldBase",
|
|
4717
|
+
"module": "src/field/field-base.ts"
|
|
4718
|
+
}
|
|
4745
4719
|
},
|
|
4746
4720
|
{
|
|
4747
4721
|
"kind": "field",
|
|
4748
|
-
"name": "
|
|
4722
|
+
"name": "placeholder",
|
|
4749
4723
|
"type": {
|
|
4750
|
-
"text": "
|
|
4724
|
+
"text": "string"
|
|
4751
4725
|
},
|
|
4752
|
-
"default": "
|
|
4753
|
-
"
|
|
4754
|
-
"
|
|
4755
|
-
"
|
|
4726
|
+
"default": "''",
|
|
4727
|
+
"attribute": "placeholder",
|
|
4728
|
+
"reflects": true,
|
|
4729
|
+
"inheritedFrom": {
|
|
4730
|
+
"name": "UmTextFieldBase",
|
|
4731
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4732
|
+
}
|
|
4756
4733
|
},
|
|
4757
4734
|
{
|
|
4758
4735
|
"kind": "field",
|
|
4759
|
-
"name": "
|
|
4736
|
+
"name": "form",
|
|
4760
4737
|
"type": {
|
|
4761
|
-
"text": "
|
|
4738
|
+
"text": "HTMLFormElement | null"
|
|
4762
4739
|
},
|
|
4763
|
-
"
|
|
4764
|
-
|
|
4740
|
+
"inheritedFrom": {
|
|
4741
|
+
"name": "UmTextFieldBase",
|
|
4742
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4743
|
+
}
|
|
4765
4744
|
},
|
|
4766
4745
|
{
|
|
4767
4746
|
"kind": "field",
|
|
4768
|
-
"name": "
|
|
4747
|
+
"name": "elementInternals",
|
|
4769
4748
|
"type": {
|
|
4770
|
-
"text": "
|
|
4749
|
+
"text": "ElementInternals"
|
|
4771
4750
|
},
|
|
4772
|
-
"
|
|
4773
|
-
"
|
|
4774
|
-
|
|
4775
|
-
|
|
4751
|
+
"privacy": "protected",
|
|
4752
|
+
"inheritedFrom": {
|
|
4753
|
+
"name": "UmTextFieldBase",
|
|
4754
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4755
|
+
}
|
|
4776
4756
|
},
|
|
4777
4757
|
{
|
|
4778
4758
|
"kind": "field",
|
|
4779
|
-
"name": "
|
|
4759
|
+
"name": "config",
|
|
4780
4760
|
"type": {
|
|
4781
|
-
"text": "
|
|
4761
|
+
"text": "UmFieldDefaults | undefined"
|
|
4782
4762
|
},
|
|
4783
|
-
"
|
|
4784
|
-
"
|
|
4785
|
-
|
|
4763
|
+
"privacy": "private",
|
|
4764
|
+
"inheritedFrom": {
|
|
4765
|
+
"name": "UmFieldBase",
|
|
4766
|
+
"module": "src/field/field-base.ts"
|
|
4767
|
+
}
|
|
4786
4768
|
},
|
|
4787
4769
|
{
|
|
4788
4770
|
"kind": "field",
|
|
4789
|
-
"name": "
|
|
4771
|
+
"name": "variant",
|
|
4790
4772
|
"type": {
|
|
4791
|
-
"text": "
|
|
4773
|
+
"text": "'filled' | 'outlined' | undefined"
|
|
4792
4774
|
},
|
|
4793
|
-
"default": "
|
|
4794
|
-
"
|
|
4795
|
-
"
|
|
4796
|
-
|
|
4775
|
+
"default": "undefined",
|
|
4776
|
+
"attribute": "variant",
|
|
4777
|
+
"inheritedFrom": {
|
|
4778
|
+
"name": "UmFieldBase",
|
|
4779
|
+
"module": "src/field/field-base.ts"
|
|
4780
|
+
}
|
|
4797
4781
|
},
|
|
4798
4782
|
{
|
|
4799
4783
|
"kind": "field",
|
|
4800
|
-
"name": "
|
|
4784
|
+
"name": "label",
|
|
4801
4785
|
"type": {
|
|
4802
|
-
"text": "
|
|
4786
|
+
"text": "string | undefined"
|
|
4803
4787
|
},
|
|
4804
|
-
"
|
|
4805
|
-
"
|
|
4806
|
-
"
|
|
4807
|
-
|
|
4788
|
+
"description": "The floating label for the field",
|
|
4789
|
+
"attribute": "label",
|
|
4790
|
+
"inheritedFrom": {
|
|
4791
|
+
"name": "UmFieldBase",
|
|
4792
|
+
"module": "src/field/field-base.ts"
|
|
4793
|
+
}
|
|
4808
4794
|
},
|
|
4809
4795
|
{
|
|
4810
4796
|
"kind": "field",
|
|
4811
|
-
"name": "
|
|
4797
|
+
"name": "_innerCounter",
|
|
4812
4798
|
"type": {
|
|
4813
|
-
"text": "
|
|
4799
|
+
"text": "string | undefined"
|
|
4814
4800
|
},
|
|
4815
|
-
"
|
|
4816
|
-
"
|
|
4817
|
-
|
|
4818
|
-
|
|
4801
|
+
"privacy": "protected",
|
|
4802
|
+
"inheritedFrom": {
|
|
4803
|
+
"name": "UmFieldBase",
|
|
4804
|
+
"module": "src/field/field-base.ts"
|
|
4805
|
+
}
|
|
4819
4806
|
},
|
|
4820
4807
|
{
|
|
4821
4808
|
"kind": "field",
|
|
4822
|
-
"name": "
|
|
4809
|
+
"name": "counter",
|
|
4823
4810
|
"type": {
|
|
4824
|
-
"text": "
|
|
4811
|
+
"text": "string | undefined"
|
|
4825
4812
|
},
|
|
4826
|
-
"
|
|
4827
|
-
"
|
|
4828
|
-
|
|
4829
|
-
|
|
4813
|
+
"attribute": "counter",
|
|
4814
|
+
"inheritedFrom": {
|
|
4815
|
+
"name": "UmFieldBase",
|
|
4816
|
+
"module": "src/field/field-base.ts"
|
|
4817
|
+
}
|
|
4830
4818
|
},
|
|
4831
4819
|
{
|
|
4832
4820
|
"kind": "field",
|
|
4833
|
-
"name": "
|
|
4821
|
+
"name": "hideCounter",
|
|
4834
4822
|
"type": {
|
|
4835
4823
|
"text": "boolean"
|
|
4836
4824
|
},
|
|
4837
4825
|
"default": "false",
|
|
4838
|
-
"
|
|
4839
|
-
"
|
|
4840
|
-
|
|
4826
|
+
"attribute": "hide-counter",
|
|
4827
|
+
"inheritedFrom": {
|
|
4828
|
+
"name": "UmFieldBase",
|
|
4829
|
+
"module": "src/field/field-base.ts"
|
|
4830
|
+
}
|
|
4841
4831
|
},
|
|
4842
4832
|
{
|
|
4843
4833
|
"kind": "field",
|
|
4844
|
-
"name": "
|
|
4834
|
+
"name": "supportingText",
|
|
4845
4835
|
"type": {
|
|
4846
|
-
"text": "
|
|
4836
|
+
"text": "string | undefined"
|
|
4847
4837
|
},
|
|
4848
|
-
"
|
|
4838
|
+
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
4839
|
+
"attribute": "supporting-text",
|
|
4840
|
+
"inheritedFrom": {
|
|
4841
|
+
"name": "UmFieldBase",
|
|
4842
|
+
"module": "src/field/field-base.ts"
|
|
4843
|
+
}
|
|
4849
4844
|
},
|
|
4850
4845
|
{
|
|
4851
4846
|
"kind": "field",
|
|
4852
|
-
"name": "
|
|
4847
|
+
"name": "errorText",
|
|
4853
4848
|
"type": {
|
|
4854
|
-
"text": "
|
|
4849
|
+
"text": "string | undefined"
|
|
4855
4850
|
},
|
|
4856
|
-
"
|
|
4851
|
+
"description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
|
|
4852
|
+
"attribute": "error-text",
|
|
4853
|
+
"inheritedFrom": {
|
|
4854
|
+
"name": "UmFieldBase",
|
|
4855
|
+
"module": "src/field/field-base.ts"
|
|
4856
|
+
}
|
|
4857
4857
|
},
|
|
4858
4858
|
{
|
|
4859
4859
|
"kind": "field",
|
|
4860
|
-
"name": "
|
|
4860
|
+
"name": "disabled",
|
|
4861
4861
|
"type": {
|
|
4862
|
-
"text": "
|
|
4862
|
+
"text": "boolean"
|
|
4863
4863
|
},
|
|
4864
|
-
"
|
|
4864
|
+
"default": "false",
|
|
4865
|
+
"attribute": "disabled",
|
|
4866
|
+
"reflects": true,
|
|
4867
|
+
"inheritedFrom": {
|
|
4868
|
+
"name": "UmFieldBase",
|
|
4869
|
+
"module": "src/field/field-base.ts"
|
|
4870
|
+
}
|
|
4865
4871
|
},
|
|
4866
4872
|
{
|
|
4867
4873
|
"kind": "field",
|
|
4868
|
-
"name": "
|
|
4874
|
+
"name": "invalid",
|
|
4869
4875
|
"type": {
|
|
4870
|
-
"text": "
|
|
4876
|
+
"text": "boolean"
|
|
4877
|
+
},
|
|
4878
|
+
"default": "false",
|
|
4879
|
+
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
4880
|
+
"attribute": "invalid",
|
|
4881
|
+
"reflects": true,
|
|
4882
|
+
"inheritedFrom": {
|
|
4883
|
+
"name": "UmFieldBase",
|
|
4884
|
+
"module": "src/field/field-base.ts"
|
|
4871
4885
|
}
|
|
4872
4886
|
},
|
|
4873
4887
|
{
|
|
4874
4888
|
"kind": "method",
|
|
4875
|
-
"name": "
|
|
4876
|
-
"
|
|
4877
|
-
{
|
|
4878
|
-
"name": "e",
|
|
4879
|
-
"type": {
|
|
4880
|
-
"text": "Event"
|
|
4881
|
-
}
|
|
4882
|
-
}
|
|
4883
|
-
]
|
|
4884
|
-
},
|
|
4885
|
-
{
|
|
4886
|
-
"kind": "method",
|
|
4887
|
-
"name": "#handleTrailingIconSlotChange"
|
|
4888
|
-
},
|
|
4889
|
-
{
|
|
4890
|
-
"kind": "method",
|
|
4891
|
-
"name": "#handleLeadingIconSlotChange"
|
|
4892
|
-
},
|
|
4893
|
-
{
|
|
4894
|
-
"kind": "method",
|
|
4895
|
-
"name": "#handleSelectedIconSlotChange"
|
|
4896
|
-
},
|
|
4897
|
-
{
|
|
4898
|
-
"kind": "method",
|
|
4899
|
-
"name": "handleClick",
|
|
4900
|
-
"privacy": "protected",
|
|
4889
|
+
"name": "setDefaults",
|
|
4890
|
+
"static": true,
|
|
4901
4891
|
"return": {
|
|
4902
4892
|
"type": {
|
|
4903
|
-
"text": "
|
|
4893
|
+
"text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
|
|
4904
4894
|
}
|
|
4905
4895
|
},
|
|
4906
4896
|
"parameters": [
|
|
4907
4897
|
{
|
|
4908
|
-
"name": "
|
|
4898
|
+
"name": "contextRoot",
|
|
4909
4899
|
"type": {
|
|
4910
|
-
"text": "
|
|
4900
|
+
"text": "HTMLElement"
|
|
4901
|
+
}
|
|
4902
|
+
},
|
|
4903
|
+
{
|
|
4904
|
+
"name": "config",
|
|
4905
|
+
"type": {
|
|
4906
|
+
"text": "UmFieldDefaults"
|
|
4911
4907
|
}
|
|
4912
4908
|
}
|
|
4913
4909
|
],
|
|
4914
4910
|
"inheritedFrom": {
|
|
4915
|
-
"name": "
|
|
4916
|
-
"module": "src/
|
|
4917
|
-
}
|
|
4918
|
-
},
|
|
4919
|
-
{
|
|
4920
|
-
"kind": "method",
|
|
4921
|
-
"name": "renderContent",
|
|
4922
|
-
"privacy": "protected",
|
|
4923
|
-
"return": {
|
|
4924
|
-
"type": {
|
|
4925
|
-
"text": "HTMLTemplateResult"
|
|
4926
|
-
}
|
|
4927
|
-
},
|
|
4928
|
-
"inheritedFrom": {
|
|
4929
|
-
"name": "UmButtonWrapper",
|
|
4930
|
-
"module": "src/shared/button-wrapper.ts"
|
|
4911
|
+
"name": "UmFieldBase",
|
|
4912
|
+
"module": "src/field/field-base.ts"
|
|
4931
4913
|
}
|
|
4932
4914
|
},
|
|
4933
4915
|
{
|
|
4934
4916
|
"kind": "field",
|
|
4935
|
-
"name": "
|
|
4917
|
+
"name": "hasLeadingIcon",
|
|
4936
4918
|
"type": {
|
|
4937
4919
|
"text": "boolean"
|
|
4938
4920
|
},
|
|
4939
4921
|
"default": "false",
|
|
4940
|
-
"description": "Whether the
|
|
4941
|
-
"attribute": "
|
|
4922
|
+
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
4923
|
+
"attribute": "has-leading-icon",
|
|
4942
4924
|
"reflects": true,
|
|
4943
4925
|
"inheritedFrom": {
|
|
4944
|
-
"name": "
|
|
4945
|
-
"module": "src/
|
|
4926
|
+
"name": "UmFieldBase",
|
|
4927
|
+
"module": "src/field/field-base.ts"
|
|
4946
4928
|
}
|
|
4947
4929
|
},
|
|
4948
4930
|
{
|
|
4949
4931
|
"kind": "field",
|
|
4950
|
-
"name": "
|
|
4932
|
+
"name": "hasTrailingIcon",
|
|
4951
4933
|
"type": {
|
|
4952
4934
|
"text": "boolean"
|
|
4953
4935
|
},
|
|
4954
|
-
"default": "
|
|
4936
|
+
"default": "false",
|
|
4937
|
+
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4938
|
+
"attribute": "has-trailing-icon",
|
|
4939
|
+
"reflects": true,
|
|
4955
4940
|
"inheritedFrom": {
|
|
4956
|
-
"name": "
|
|
4957
|
-
"module": "src/
|
|
4941
|
+
"name": "UmFieldBase",
|
|
4942
|
+
"module": "src/field/field-base.ts"
|
|
4958
4943
|
}
|
|
4959
4944
|
},
|
|
4960
4945
|
{
|
|
4961
4946
|
"kind": "field",
|
|
4962
|
-
"name": "
|
|
4947
|
+
"name": "hasErrorText",
|
|
4963
4948
|
"type": {
|
|
4964
|
-
"text": "
|
|
4949
|
+
"text": "boolean"
|
|
4965
4950
|
},
|
|
4966
|
-
"
|
|
4967
|
-
"
|
|
4951
|
+
"default": "false",
|
|
4952
|
+
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
4953
|
+
"attribute": "has-error-text",
|
|
4954
|
+
"reflects": true,
|
|
4968
4955
|
"inheritedFrom": {
|
|
4969
|
-
"name": "
|
|
4970
|
-
"module": "src/
|
|
4956
|
+
"name": "UmFieldBase",
|
|
4957
|
+
"module": "src/field/field-base.ts"
|
|
4971
4958
|
}
|
|
4972
4959
|
},
|
|
4973
4960
|
{
|
|
4974
4961
|
"kind": "field",
|
|
4975
|
-
"name": "
|
|
4962
|
+
"name": "assignedLeadingIcons",
|
|
4976
4963
|
"type": {
|
|
4977
|
-
"text": "
|
|
4964
|
+
"text": "HTMLElement[]"
|
|
4978
4965
|
},
|
|
4979
|
-
"
|
|
4980
|
-
"attribute": "target",
|
|
4966
|
+
"privacy": "private",
|
|
4981
4967
|
"inheritedFrom": {
|
|
4982
|
-
"name": "
|
|
4983
|
-
"module": "src/
|
|
4968
|
+
"name": "UmFieldBase",
|
|
4969
|
+
"module": "src/field/field-base.ts"
|
|
4984
4970
|
}
|
|
4985
4971
|
},
|
|
4986
4972
|
{
|
|
4987
4973
|
"kind": "field",
|
|
4988
|
-
"name": "
|
|
4974
|
+
"name": "assignedTrailingIcons",
|
|
4989
4975
|
"type": {
|
|
4990
|
-
"text": "
|
|
4976
|
+
"text": "HTMLElement[]"
|
|
4991
4977
|
},
|
|
4992
|
-
"
|
|
4978
|
+
"privacy": "private",
|
|
4993
4979
|
"inheritedFrom": {
|
|
4994
|
-
"name": "
|
|
4995
|
-
"module": "src/
|
|
4980
|
+
"name": "UmFieldBase",
|
|
4981
|
+
"module": "src/field/field-base.ts"
|
|
4996
4982
|
}
|
|
4997
4983
|
},
|
|
4998
4984
|
{
|
|
4999
4985
|
"kind": "field",
|
|
5000
|
-
"name": "
|
|
4986
|
+
"name": "assignedErrorTexts",
|
|
5001
4987
|
"type": {
|
|
5002
|
-
"text": "HTMLElement"
|
|
4988
|
+
"text": "HTMLElement[]"
|
|
5003
4989
|
},
|
|
4990
|
+
"privacy": "private",
|
|
5004
4991
|
"inheritedFrom": {
|
|
5005
|
-
"name": "
|
|
5006
|
-
"module": "src/
|
|
4992
|
+
"name": "UmFieldBase",
|
|
4993
|
+
"module": "src/field/field-base.ts"
|
|
5007
4994
|
}
|
|
5008
4995
|
},
|
|
5009
4996
|
{
|
|
5010
4997
|
"kind": "field",
|
|
5011
|
-
"name": "
|
|
4998
|
+
"name": "_labelElement",
|
|
5012
4999
|
"type": {
|
|
5013
|
-
"text": "
|
|
5000
|
+
"text": "HTMLElement"
|
|
5014
5001
|
},
|
|
5015
5002
|
"privacy": "private",
|
|
5016
5003
|
"inheritedFrom": {
|
|
5017
|
-
"name": "
|
|
5018
|
-
"module": "src/
|
|
5004
|
+
"name": "UmFieldBase",
|
|
5005
|
+
"module": "src/field/field-base.ts"
|
|
5019
5006
|
}
|
|
5020
5007
|
},
|
|
5021
5008
|
{
|
|
5022
5009
|
"kind": "field",
|
|
5023
|
-
"name": "
|
|
5010
|
+
"name": "_container",
|
|
5024
5011
|
"type": {
|
|
5025
|
-
"text": "
|
|
5012
|
+
"text": "HTMLElement"
|
|
5026
5013
|
},
|
|
5027
5014
|
"privacy": "protected",
|
|
5028
|
-
"default": "null",
|
|
5029
5015
|
"inheritedFrom": {
|
|
5030
|
-
"name": "
|
|
5031
|
-
"module": "src/
|
|
5016
|
+
"name": "UmFieldBase",
|
|
5017
|
+
"module": "src/field/field-base.ts"
|
|
5032
5018
|
}
|
|
5033
5019
|
},
|
|
5034
5020
|
{
|
|
5035
|
-
"kind": "
|
|
5036
|
-
"name": "
|
|
5037
|
-
"
|
|
5038
|
-
|
|
5021
|
+
"kind": "method",
|
|
5022
|
+
"name": "renderAfterContent",
|
|
5023
|
+
"privacy": "protected",
|
|
5024
|
+
"return": {
|
|
5025
|
+
"type": {
|
|
5026
|
+
"text": "TemplateResult"
|
|
5027
|
+
}
|
|
5039
5028
|
},
|
|
5040
5029
|
"inheritedFrom": {
|
|
5041
|
-
"name": "
|
|
5042
|
-
"module": "src/
|
|
5030
|
+
"name": "UmFieldBase",
|
|
5031
|
+
"module": "src/field/field-base.ts"
|
|
5043
5032
|
}
|
|
5044
5033
|
},
|
|
5045
5034
|
{
|
|
5046
5035
|
"kind": "method",
|
|
5047
|
-
"name": "
|
|
5036
|
+
"name": "handleLeadingIconSlotChange",
|
|
5048
5037
|
"privacy": "private",
|
|
5049
5038
|
"inheritedFrom": {
|
|
5050
|
-
"name": "
|
|
5051
|
-
"module": "src/
|
|
5039
|
+
"name": "UmFieldBase",
|
|
5040
|
+
"module": "src/field/field-base.ts"
|
|
5052
5041
|
}
|
|
5053
5042
|
},
|
|
5054
5043
|
{
|
|
5055
5044
|
"kind": "method",
|
|
5056
|
-
"name": "
|
|
5045
|
+
"name": "handleTrailingIconSlotChange",
|
|
5057
5046
|
"privacy": "private",
|
|
5058
5047
|
"inheritedFrom": {
|
|
5059
|
-
"name": "
|
|
5060
|
-
"module": "src/
|
|
5061
|
-
}
|
|
5062
|
-
},
|
|
5063
|
-
{
|
|
5064
|
-
"kind": "method",
|
|
5065
|
-
"name": "focus",
|
|
5066
|
-
"inheritedFrom": {
|
|
5067
|
-
"name": "UmButtonWrapper",
|
|
5068
|
-
"module": "src/shared/button-wrapper.ts"
|
|
5069
|
-
}
|
|
5070
|
-
},
|
|
5071
|
-
{
|
|
5072
|
-
"kind": "method",
|
|
5073
|
-
"name": "blur",
|
|
5074
|
-
"inheritedFrom": {
|
|
5075
|
-
"name": "UmButtonWrapper",
|
|
5076
|
-
"module": "src/shared/button-wrapper.ts"
|
|
5077
|
-
}
|
|
5078
|
-
},
|
|
5079
|
-
{
|
|
5080
|
-
"kind": "method",
|
|
5081
|
-
"name": "getAriaLabel",
|
|
5082
|
-
"privacy": "protected",
|
|
5083
|
-
"return": {
|
|
5084
|
-
"type": {
|
|
5085
|
-
"text": "string | null"
|
|
5086
|
-
}
|
|
5087
|
-
},
|
|
5088
|
-
"inheritedFrom": {
|
|
5089
|
-
"name": "UmButtonWrapper",
|
|
5090
|
-
"module": "src/shared/button-wrapper.ts"
|
|
5048
|
+
"name": "UmFieldBase",
|
|
5049
|
+
"module": "src/field/field-base.ts"
|
|
5091
5050
|
}
|
|
5092
5051
|
},
|
|
5093
5052
|
{
|
|
5094
5053
|
"kind": "method",
|
|
5095
|
-
"name": "
|
|
5054
|
+
"name": "handleErrorTextSlotChange",
|
|
5096
5055
|
"privacy": "private",
|
|
5097
|
-
"return": {
|
|
5098
|
-
"type": {
|
|
5099
|
-
"text": "void"
|
|
5100
|
-
}
|
|
5101
|
-
},
|
|
5102
5056
|
"inheritedFrom": {
|
|
5103
|
-
"name": "
|
|
5104
|
-
"module": "src/
|
|
5057
|
+
"name": "UmFieldBase",
|
|
5058
|
+
"module": "src/field/field-base.ts"
|
|
5105
5059
|
}
|
|
5106
5060
|
},
|
|
5107
5061
|
{
|
|
5108
5062
|
"kind": "method",
|
|
5109
|
-
"name": "
|
|
5063
|
+
"name": "renderDefaultTrailingIcon",
|
|
5064
|
+
"privacy": "protected",
|
|
5110
5065
|
"return": {
|
|
5111
5066
|
"type": {
|
|
5112
|
-
"text": "
|
|
5067
|
+
"text": "TemplateResult | typeof nothing"
|
|
5113
5068
|
}
|
|
5114
5069
|
},
|
|
5115
|
-
"parameters": [
|
|
5116
|
-
{
|
|
5117
|
-
"name": "event",
|
|
5118
|
-
"type": {
|
|
5119
|
-
"text": "MouseEvent"
|
|
5120
|
-
}
|
|
5121
|
-
}
|
|
5122
|
-
],
|
|
5123
5070
|
"inheritedFrom": {
|
|
5124
|
-
"name": "
|
|
5125
|
-
"module": "src/
|
|
5071
|
+
"name": "UmFieldBase",
|
|
5072
|
+
"module": "src/field/field-base.ts"
|
|
5126
5073
|
}
|
|
5127
5074
|
}
|
|
5128
5075
|
],
|
|
@@ -5136,82 +5083,119 @@
|
|
|
5136
5083
|
],
|
|
5137
5084
|
"attributes": [
|
|
5138
5085
|
{
|
|
5139
|
-
"name": "
|
|
5086
|
+
"name": "name",
|
|
5087
|
+
"type": {
|
|
5088
|
+
"text": "string"
|
|
5089
|
+
},
|
|
5090
|
+
"fieldName": "name"
|
|
5091
|
+
},
|
|
5092
|
+
{
|
|
5093
|
+
"name": "manual",
|
|
5140
5094
|
"type": {
|
|
5141
5095
|
"text": "boolean"
|
|
5142
5096
|
},
|
|
5143
5097
|
"default": "false",
|
|
5144
|
-
"description": "
|
|
5145
|
-
"fieldName": "
|
|
5098
|
+
"description": "If true, ignore enter key input",
|
|
5099
|
+
"fieldName": "manual"
|
|
5146
5100
|
},
|
|
5147
5101
|
{
|
|
5148
|
-
"name": "
|
|
5102
|
+
"name": "placeholder",
|
|
5149
5103
|
"type": {
|
|
5150
|
-
"text": "
|
|
5104
|
+
"text": "string"
|
|
5151
5105
|
},
|
|
5152
|
-
"
|
|
5106
|
+
"default": "''",
|
|
5107
|
+
"fieldName": "placeholder",
|
|
5108
|
+
"inheritedFrom": {
|
|
5109
|
+
"name": "UmTextFieldBase",
|
|
5110
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
5111
|
+
}
|
|
5153
5112
|
},
|
|
5154
5113
|
{
|
|
5155
|
-
"name": "
|
|
5114
|
+
"name": "variant",
|
|
5156
5115
|
"type": {
|
|
5157
|
-
"text": "
|
|
5116
|
+
"text": "'filled' | 'outlined' | undefined"
|
|
5158
5117
|
},
|
|
5159
|
-
"default": "
|
|
5160
|
-
"
|
|
5161
|
-
|
|
5118
|
+
"default": "undefined",
|
|
5119
|
+
"resolveInitializer": {
|
|
5120
|
+
"module": "src/field/field-base.ts"
|
|
5121
|
+
},
|
|
5122
|
+
"fieldName": "variant",
|
|
5123
|
+
"inheritedFrom": {
|
|
5124
|
+
"name": "UmFieldBase",
|
|
5125
|
+
"module": "src/field/field-base.ts"
|
|
5126
|
+
}
|
|
5162
5127
|
},
|
|
5163
5128
|
{
|
|
5164
|
-
"name": "
|
|
5129
|
+
"name": "label",
|
|
5165
5130
|
"type": {
|
|
5166
|
-
"text": "
|
|
5131
|
+
"text": "string | undefined"
|
|
5167
5132
|
},
|
|
5168
|
-
"description": "
|
|
5169
|
-
"fieldName": "
|
|
5133
|
+
"description": "The floating label for the field",
|
|
5134
|
+
"fieldName": "label",
|
|
5135
|
+
"inheritedFrom": {
|
|
5136
|
+
"name": "UmFieldBase",
|
|
5137
|
+
"module": "src/field/field-base.ts"
|
|
5138
|
+
}
|
|
5170
5139
|
},
|
|
5171
5140
|
{
|
|
5172
|
-
"name": "
|
|
5141
|
+
"name": "counter",
|
|
5173
5142
|
"type": {
|
|
5174
|
-
"text": "
|
|
5143
|
+
"text": "string | undefined"
|
|
5175
5144
|
},
|
|
5176
|
-
"
|
|
5177
|
-
"
|
|
5178
|
-
|
|
5145
|
+
"fieldName": "counter",
|
|
5146
|
+
"inheritedFrom": {
|
|
5147
|
+
"name": "UmFieldBase",
|
|
5148
|
+
"module": "src/field/field-base.ts"
|
|
5149
|
+
}
|
|
5179
5150
|
},
|
|
5180
5151
|
{
|
|
5181
|
-
"name": "hide-
|
|
5152
|
+
"name": "hide-counter",
|
|
5182
5153
|
"type": {
|
|
5183
5154
|
"text": "boolean"
|
|
5184
5155
|
},
|
|
5185
5156
|
"default": "false",
|
|
5186
|
-
"
|
|
5187
|
-
"
|
|
5157
|
+
"fieldName": "hideCounter",
|
|
5158
|
+
"inheritedFrom": {
|
|
5159
|
+
"name": "UmFieldBase",
|
|
5160
|
+
"module": "src/field/field-base.ts"
|
|
5161
|
+
}
|
|
5188
5162
|
},
|
|
5189
5163
|
{
|
|
5190
|
-
"name": "
|
|
5164
|
+
"name": "supporting-text",
|
|
5191
5165
|
"type": {
|
|
5192
|
-
"text": "
|
|
5166
|
+
"text": "string | undefined"
|
|
5193
5167
|
},
|
|
5194
|
-
"
|
|
5195
|
-
"
|
|
5196
|
-
"
|
|
5168
|
+
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
5169
|
+
"fieldName": "supportingText",
|
|
5170
|
+
"inheritedFrom": {
|
|
5171
|
+
"name": "UmFieldBase",
|
|
5172
|
+
"module": "src/field/field-base.ts"
|
|
5173
|
+
}
|
|
5197
5174
|
},
|
|
5198
5175
|
{
|
|
5199
|
-
"name": "
|
|
5176
|
+
"name": "error-text",
|
|
5200
5177
|
"type": {
|
|
5201
|
-
"text": "
|
|
5178
|
+
"text": "string | undefined"
|
|
5202
5179
|
},
|
|
5203
|
-
"
|
|
5204
|
-
"
|
|
5205
|
-
"
|
|
5180
|
+
"description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
|
|
5181
|
+
"fieldName": "errorText",
|
|
5182
|
+
"inheritedFrom": {
|
|
5183
|
+
"name": "UmFieldBase",
|
|
5184
|
+
"module": "src/field/field-base.ts"
|
|
5185
|
+
}
|
|
5206
5186
|
},
|
|
5207
5187
|
{
|
|
5208
|
-
"name": "
|
|
5188
|
+
"name": "empty",
|
|
5209
5189
|
"type": {
|
|
5210
5190
|
"text": "boolean"
|
|
5211
5191
|
},
|
|
5212
5192
|
"default": "false",
|
|
5213
|
-
"description": "Whether the
|
|
5214
|
-
"fieldName": "
|
|
5193
|
+
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
5194
|
+
"fieldName": "empty",
|
|
5195
|
+
"inheritedFrom": {
|
|
5196
|
+
"name": "UmFieldBase",
|
|
5197
|
+
"module": "src/field/field-base.ts"
|
|
5198
|
+
}
|
|
5215
5199
|
},
|
|
5216
5200
|
{
|
|
5217
5201
|
"name": "disabled",
|
|
@@ -5219,72 +5203,88 @@
|
|
|
5219
5203
|
"text": "boolean"
|
|
5220
5204
|
},
|
|
5221
5205
|
"default": "false",
|
|
5222
|
-
"description": "Whether the button is disabled or not.",
|
|
5223
5206
|
"fieldName": "disabled",
|
|
5224
5207
|
"inheritedFrom": {
|
|
5225
|
-
"name": "
|
|
5226
|
-
"module": "src/
|
|
5208
|
+
"name": "UmFieldBase",
|
|
5209
|
+
"module": "src/field/field-base.ts"
|
|
5227
5210
|
}
|
|
5228
5211
|
},
|
|
5229
5212
|
{
|
|
5230
|
-
"name": "
|
|
5213
|
+
"name": "invalid",
|
|
5231
5214
|
"type": {
|
|
5232
|
-
"text": "
|
|
5215
|
+
"text": "boolean"
|
|
5233
5216
|
},
|
|
5234
|
-
"
|
|
5235
|
-
"
|
|
5217
|
+
"default": "false",
|
|
5218
|
+
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
5219
|
+
"fieldName": "invalid",
|
|
5236
5220
|
"inheritedFrom": {
|
|
5237
|
-
"name": "
|
|
5238
|
-
"module": "src/
|
|
5221
|
+
"name": "UmFieldBase",
|
|
5222
|
+
"module": "src/field/field-base.ts"
|
|
5239
5223
|
}
|
|
5240
5224
|
},
|
|
5241
5225
|
{
|
|
5242
|
-
"name": "
|
|
5226
|
+
"name": "has-leading-icon",
|
|
5243
5227
|
"type": {
|
|
5244
|
-
"text": "
|
|
5228
|
+
"text": "boolean"
|
|
5245
5229
|
},
|
|
5246
|
-
"
|
|
5247
|
-
"
|
|
5230
|
+
"default": "false",
|
|
5231
|
+
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
5232
|
+
"fieldName": "hasLeadingIcon",
|
|
5248
5233
|
"inheritedFrom": {
|
|
5249
|
-
"name": "
|
|
5250
|
-
"module": "src/
|
|
5234
|
+
"name": "UmFieldBase",
|
|
5235
|
+
"module": "src/field/field-base.ts"
|
|
5251
5236
|
}
|
|
5252
5237
|
},
|
|
5253
5238
|
{
|
|
5254
|
-
"name": "
|
|
5239
|
+
"name": "has-trailing-icon",
|
|
5255
5240
|
"type": {
|
|
5256
|
-
"text": "
|
|
5241
|
+
"text": "boolean"
|
|
5257
5242
|
},
|
|
5258
|
-
"
|
|
5243
|
+
"default": "false",
|
|
5244
|
+
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
5245
|
+
"fieldName": "hasTrailingIcon",
|
|
5259
5246
|
"inheritedFrom": {
|
|
5260
|
-
"name": "
|
|
5261
|
-
"module": "src/
|
|
5247
|
+
"name": "UmFieldBase",
|
|
5248
|
+
"module": "src/field/field-base.ts"
|
|
5249
|
+
}
|
|
5250
|
+
},
|
|
5251
|
+
{
|
|
5252
|
+
"name": "has-error-text",
|
|
5253
|
+
"type": {
|
|
5254
|
+
"text": "boolean"
|
|
5255
|
+
},
|
|
5256
|
+
"default": "false",
|
|
5257
|
+
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
5258
|
+
"fieldName": "hasErrorText",
|
|
5259
|
+
"inheritedFrom": {
|
|
5260
|
+
"name": "UmFieldBase",
|
|
5261
|
+
"module": "src/field/field-base.ts"
|
|
5262
5262
|
}
|
|
5263
5263
|
}
|
|
5264
5264
|
],
|
|
5265
5265
|
"superclass": {
|
|
5266
|
-
"name": "
|
|
5267
|
-
"module": "/src/shared/
|
|
5266
|
+
"name": "UmTextFieldBase",
|
|
5267
|
+
"module": "/src/shared/text-field-base/text-field-base.js"
|
|
5268
5268
|
},
|
|
5269
|
-
"tagName": "u-chip",
|
|
5269
|
+
"tagName": "u-chip-field",
|
|
5270
5270
|
"customElement": true
|
|
5271
5271
|
}
|
|
5272
5272
|
],
|
|
5273
5273
|
"exports": [
|
|
5274
5274
|
{
|
|
5275
5275
|
"kind": "js",
|
|
5276
|
-
"name": "
|
|
5276
|
+
"name": "UmChipField",
|
|
5277
5277
|
"declaration": {
|
|
5278
|
-
"name": "
|
|
5279
|
-
"module": "src/chip/chip.ts"
|
|
5278
|
+
"name": "UmChipField",
|
|
5279
|
+
"module": "src/chip-field/chip-field.ts"
|
|
5280
5280
|
}
|
|
5281
5281
|
},
|
|
5282
5282
|
{
|
|
5283
5283
|
"kind": "custom-element-definition",
|
|
5284
|
-
"name": "u-chip",
|
|
5284
|
+
"name": "u-chip-field",
|
|
5285
5285
|
"declaration": {
|
|
5286
|
-
"name": "
|
|
5287
|
-
"module": "src/chip/chip.ts"
|
|
5286
|
+
"name": "UmChipField",
|
|
5287
|
+
"module": "src/chip-field/chip-field.ts"
|
|
5288
5288
|
}
|
|
5289
5289
|
}
|
|
5290
5290
|
]
|
|
@@ -7189,28 +7189,163 @@
|
|
|
7189
7189
|
}
|
|
7190
7190
|
],
|
|
7191
7191
|
"superclass": {
|
|
7192
|
-
"name": "UmFieldBase",
|
|
7193
|
-
"module": "/src/field/field-base.js"
|
|
7192
|
+
"name": "UmFieldBase",
|
|
7193
|
+
"module": "/src/field/field-base.js"
|
|
7194
|
+
},
|
|
7195
|
+
"tagName": "u-field",
|
|
7196
|
+
"customElement": true
|
|
7197
|
+
}
|
|
7198
|
+
],
|
|
7199
|
+
"exports": [
|
|
7200
|
+
{
|
|
7201
|
+
"kind": "js",
|
|
7202
|
+
"name": "UmField",
|
|
7203
|
+
"declaration": {
|
|
7204
|
+
"name": "UmField",
|
|
7205
|
+
"module": "src/field/field.ts"
|
|
7206
|
+
}
|
|
7207
|
+
},
|
|
7208
|
+
{
|
|
7209
|
+
"kind": "custom-element-definition",
|
|
7210
|
+
"name": "u-field",
|
|
7211
|
+
"declaration": {
|
|
7212
|
+
"name": "UmField",
|
|
7213
|
+
"module": "src/field/field.ts"
|
|
7214
|
+
}
|
|
7215
|
+
}
|
|
7216
|
+
]
|
|
7217
|
+
},
|
|
7218
|
+
{
|
|
7219
|
+
"kind": "javascript-module",
|
|
7220
|
+
"path": "src/list/list-item.styles.ts",
|
|
7221
|
+
"declarations": [
|
|
7222
|
+
{
|
|
7223
|
+
"kind": "variable",
|
|
7224
|
+
"name": "styles",
|
|
7225
|
+
"default": "css `\n :host {\n position: relative;\n display: flex;\n align-items: center;\n min-height: var(--u-list-item-min-height, 56px);\n padding-block: var(--u-list-item-block-padding, 8px);\n padding-inline: var(--u-list-item-inline-padding, 16px);\n gap: var(--u-list-item-gap, 16px);\n }\n\n slot:not([name]) {\n display: block;\n margin-inline-end: auto;\n }\n\n slot {\n flex-shrink: 0;\n }\n\n .content {\n flex: 1;\n min-width: 0;\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-headline-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-list-item-headline-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-list-item-headline-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-list-item-headline-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-supporting-text-line-height, var(--u-body-m-line-height, 1.25rem));\n font-size: var(--u-list-item-supporting-text-font-size, var(--u-body-m-font-size, 0.875rem));\n letter-spacing: var(--u-list-item-supporting-text-letter-spacing, var(--u-body-m-letter-spacing, 0.0178571429rem));\n font-weight: var(--u-list-item-supporting-text-font-weight, var(--u-body-m-font-weight, var(--u-font-weight-regular, 400)));\n color: var(--u-list-item-supporting-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n`"
|
|
7226
|
+
}
|
|
7227
|
+
],
|
|
7228
|
+
"exports": [
|
|
7229
|
+
{
|
|
7230
|
+
"kind": "js",
|
|
7231
|
+
"name": "styles",
|
|
7232
|
+
"declaration": {
|
|
7233
|
+
"name": "styles",
|
|
7234
|
+
"module": "src/list/list-item.styles.ts"
|
|
7235
|
+
}
|
|
7236
|
+
}
|
|
7237
|
+
]
|
|
7238
|
+
},
|
|
7239
|
+
{
|
|
7240
|
+
"kind": "javascript-module",
|
|
7241
|
+
"path": "src/list/list-item.ts",
|
|
7242
|
+
"declarations": [
|
|
7243
|
+
{
|
|
7244
|
+
"kind": "class",
|
|
7245
|
+
"description": "",
|
|
7246
|
+
"name": "UmListItem",
|
|
7247
|
+
"members": [
|
|
7248
|
+
{
|
|
7249
|
+
"kind": "field",
|
|
7250
|
+
"name": "selectable",
|
|
7251
|
+
"type": {
|
|
7252
|
+
"text": "boolean"
|
|
7253
|
+
},
|
|
7254
|
+
"default": "false",
|
|
7255
|
+
"attribute": "selectable",
|
|
7256
|
+
"reflects": true
|
|
7257
|
+
}
|
|
7258
|
+
],
|
|
7259
|
+
"attributes": [
|
|
7260
|
+
{
|
|
7261
|
+
"name": "selectable",
|
|
7262
|
+
"type": {
|
|
7263
|
+
"text": "boolean"
|
|
7264
|
+
},
|
|
7265
|
+
"default": "false",
|
|
7266
|
+
"fieldName": "selectable"
|
|
7267
|
+
}
|
|
7268
|
+
],
|
|
7269
|
+
"superclass": {
|
|
7270
|
+
"name": "LitElement",
|
|
7271
|
+
"package": "lit"
|
|
7194
7272
|
},
|
|
7195
|
-
"tagName": "u-
|
|
7273
|
+
"tagName": "u-list-item",
|
|
7196
7274
|
"customElement": true
|
|
7197
7275
|
}
|
|
7198
7276
|
],
|
|
7199
7277
|
"exports": [
|
|
7200
7278
|
{
|
|
7201
7279
|
"kind": "js",
|
|
7202
|
-
"name": "
|
|
7280
|
+
"name": "UmListItem",
|
|
7203
7281
|
"declaration": {
|
|
7204
|
-
"name": "
|
|
7205
|
-
"module": "src/
|
|
7282
|
+
"name": "UmListItem",
|
|
7283
|
+
"module": "src/list/list-item.ts"
|
|
7206
7284
|
}
|
|
7207
7285
|
},
|
|
7208
7286
|
{
|
|
7209
7287
|
"kind": "custom-element-definition",
|
|
7210
|
-
"name": "u-
|
|
7288
|
+
"name": "u-list-item",
|
|
7211
7289
|
"declaration": {
|
|
7212
|
-
"name": "
|
|
7213
|
-
"module": "src/
|
|
7290
|
+
"name": "UmListItem",
|
|
7291
|
+
"module": "src/list/list-item.ts"
|
|
7292
|
+
}
|
|
7293
|
+
}
|
|
7294
|
+
]
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
"kind": "javascript-module",
|
|
7298
|
+
"path": "src/list/list.styles.ts",
|
|
7299
|
+
"declarations": [
|
|
7300
|
+
{
|
|
7301
|
+
"kind": "variable",
|
|
7302
|
+
"name": "styles",
|
|
7303
|
+
"default": "css `\n :host {\n display: block;\n padding-block: var(--u-list-padding, 8px);\n }\n`"
|
|
7304
|
+
}
|
|
7305
|
+
],
|
|
7306
|
+
"exports": [
|
|
7307
|
+
{
|
|
7308
|
+
"kind": "js",
|
|
7309
|
+
"name": "styles",
|
|
7310
|
+
"declaration": {
|
|
7311
|
+
"name": "styles",
|
|
7312
|
+
"module": "src/list/list.styles.ts"
|
|
7313
|
+
}
|
|
7314
|
+
}
|
|
7315
|
+
]
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
"kind": "javascript-module",
|
|
7319
|
+
"path": "src/list/list.ts",
|
|
7320
|
+
"declarations": [
|
|
7321
|
+
{
|
|
7322
|
+
"kind": "class",
|
|
7323
|
+
"description": "",
|
|
7324
|
+
"name": "UmList",
|
|
7325
|
+
"members": [],
|
|
7326
|
+
"superclass": {
|
|
7327
|
+
"name": "LitElement",
|
|
7328
|
+
"package": "lit"
|
|
7329
|
+
},
|
|
7330
|
+
"tagName": "u-list",
|
|
7331
|
+
"customElement": true
|
|
7332
|
+
}
|
|
7333
|
+
],
|
|
7334
|
+
"exports": [
|
|
7335
|
+
{
|
|
7336
|
+
"kind": "js",
|
|
7337
|
+
"name": "UmList",
|
|
7338
|
+
"declaration": {
|
|
7339
|
+
"name": "UmList",
|
|
7340
|
+
"module": "src/list/list.ts"
|
|
7341
|
+
}
|
|
7342
|
+
},
|
|
7343
|
+
{
|
|
7344
|
+
"kind": "custom-element-definition",
|
|
7345
|
+
"name": "u-list",
|
|
7346
|
+
"declaration": {
|
|
7347
|
+
"name": "UmList",
|
|
7348
|
+
"module": "src/list/list.ts"
|
|
7214
7349
|
}
|
|
7215
7350
|
}
|
|
7216
7351
|
]
|
|
@@ -8080,210 +8215,75 @@
|
|
|
8080
8215
|
"text": "boolean"
|
|
8081
8216
|
},
|
|
8082
8217
|
"description": "Opens the menu and makes it visible. Alternative to the `.show()`, `.close()` and `.toggle()` methods",
|
|
8083
|
-
"fieldName": "open"
|
|
8084
|
-
},
|
|
8085
|
-
{
|
|
8086
|
-
"name": "positioning",
|
|
8087
|
-
"type": {
|
|
8088
|
-
"text": "'relative' | 'fixed'"
|
|
8089
|
-
},
|
|
8090
|
-
"default": "'relative'",
|
|
8091
|
-
"fieldName": "positioning"
|
|
8092
|
-
},
|
|
8093
|
-
{
|
|
8094
|
-
"name": "manualFocus",
|
|
8095
|
-
"type": {
|
|
8096
|
-
"text": "boolean"
|
|
8097
|
-
},
|
|
8098
|
-
"default": "false",
|
|
8099
|
-
"fieldName": "manualFocus"
|
|
8100
|
-
},
|
|
8101
|
-
{
|
|
8102
|
-
"name": "anchor-corner",
|
|
8103
|
-
"type": {
|
|
8104
|
-
"text": "'auto-start' | 'auto-end' | 'start-start' | 'start-end' | 'end-start' | 'end-end'"
|
|
8105
|
-
},
|
|
8106
|
-
"default": "'end-start'",
|
|
8107
|
-
"description": "The corner of the anchor which to align the menu in the standard logical\nproperty style of <block>-<inline> e.g. `'end-start'`.",
|
|
8108
|
-
"fieldName": "anchorCorner"
|
|
8109
|
-
},
|
|
8110
|
-
{
|
|
8111
|
-
"name": "direction",
|
|
8112
|
-
"type": {
|
|
8113
|
-
"text": "'up-start' | 'up-end' | 'down-start' | 'down-end'"
|
|
8114
|
-
},
|
|
8115
|
-
"default": "'down-end'",
|
|
8116
|
-
"description": "The direction of the menu. e.g. `'down-end'`.\n\nNOTE: This value may not be respected by the menu positioning algorithm\nif the menu would render outside the viewport.",
|
|
8117
|
-
"fieldName": "direction"
|
|
8118
|
-
},
|
|
8119
|
-
{
|
|
8120
|
-
"name": "allow-overflow",
|
|
8121
|
-
"type": {
|
|
8122
|
-
"text": "boolean"
|
|
8123
|
-
},
|
|
8124
|
-
"default": "false",
|
|
8125
|
-
"description": "Don't limit the height of the menu",
|
|
8126
|
-
"fieldName": "allowOverflow"
|
|
8127
|
-
}
|
|
8128
|
-
],
|
|
8129
|
-
"superclass": {
|
|
8130
|
-
"name": "LitElement",
|
|
8131
|
-
"package": "lit"
|
|
8132
|
-
},
|
|
8133
|
-
"tagName": "u-menu",
|
|
8134
|
-
"customElement": true
|
|
8135
|
-
}
|
|
8136
|
-
],
|
|
8137
|
-
"exports": [
|
|
8138
|
-
{
|
|
8139
|
-
"kind": "js",
|
|
8140
|
-
"name": "UmMenu",
|
|
8141
|
-
"declaration": {
|
|
8142
|
-
"name": "UmMenu",
|
|
8143
|
-
"module": "src/menu/menu.ts"
|
|
8144
|
-
}
|
|
8145
|
-
},
|
|
8146
|
-
{
|
|
8147
|
-
"kind": "custom-element-definition",
|
|
8148
|
-
"name": "u-menu",
|
|
8149
|
-
"declaration": {
|
|
8150
|
-
"name": "UmMenu",
|
|
8151
|
-
"module": "src/menu/menu.ts"
|
|
8152
|
-
}
|
|
8153
|
-
}
|
|
8154
|
-
]
|
|
8155
|
-
},
|
|
8156
|
-
{
|
|
8157
|
-
"kind": "javascript-module",
|
|
8158
|
-
"path": "src/list/list-item.styles.ts",
|
|
8159
|
-
"declarations": [
|
|
8160
|
-
{
|
|
8161
|
-
"kind": "variable",
|
|
8162
|
-
"name": "styles",
|
|
8163
|
-
"default": "css `\n :host {\n position: relative;\n display: flex;\n align-items: center;\n min-height: var(--u-list-item-min-height, 56px);\n padding-block: var(--u-list-item-block-padding, 8px);\n padding-inline: var(--u-list-item-inline-padding, 16px);\n gap: var(--u-list-item-gap, 16px);\n }\n\n slot:not([name]) {\n display: block;\n margin-inline-end: auto;\n }\n\n slot {\n flex-shrink: 0;\n }\n\n .content {\n flex: 1;\n min-width: 0;\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-headline-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-list-item-headline-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-list-item-headline-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-list-item-headline-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-supporting-text-line-height, var(--u-body-m-line-height, 1.25rem));\n font-size: var(--u-list-item-supporting-text-font-size, var(--u-body-m-font-size, 0.875rem));\n letter-spacing: var(--u-list-item-supporting-text-letter-spacing, var(--u-body-m-letter-spacing, 0.0178571429rem));\n font-weight: var(--u-list-item-supporting-text-font-weight, var(--u-body-m-font-weight, var(--u-font-weight-regular, 400)));\n color: var(--u-list-item-supporting-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n`"
|
|
8164
|
-
}
|
|
8165
|
-
],
|
|
8166
|
-
"exports": [
|
|
8167
|
-
{
|
|
8168
|
-
"kind": "js",
|
|
8169
|
-
"name": "styles",
|
|
8170
|
-
"declaration": {
|
|
8171
|
-
"name": "styles",
|
|
8172
|
-
"module": "src/list/list-item.styles.ts"
|
|
8173
|
-
}
|
|
8174
|
-
}
|
|
8175
|
-
]
|
|
8176
|
-
},
|
|
8177
|
-
{
|
|
8178
|
-
"kind": "javascript-module",
|
|
8179
|
-
"path": "src/list/list-item.ts",
|
|
8180
|
-
"declarations": [
|
|
8181
|
-
{
|
|
8182
|
-
"kind": "class",
|
|
8183
|
-
"description": "",
|
|
8184
|
-
"name": "UmListItem",
|
|
8185
|
-
"members": [
|
|
8186
|
-
{
|
|
8187
|
-
"kind": "field",
|
|
8188
|
-
"name": "selectable",
|
|
8189
|
-
"type": {
|
|
8190
|
-
"text": "boolean"
|
|
8191
|
-
},
|
|
8192
|
-
"default": "false",
|
|
8193
|
-
"attribute": "selectable",
|
|
8194
|
-
"reflects": true
|
|
8195
|
-
}
|
|
8196
|
-
],
|
|
8197
|
-
"attributes": [
|
|
8198
|
-
{
|
|
8199
|
-
"name": "selectable",
|
|
8200
|
-
"type": {
|
|
8201
|
-
"text": "boolean"
|
|
8202
|
-
},
|
|
8203
|
-
"default": "false",
|
|
8204
|
-
"fieldName": "selectable"
|
|
8205
|
-
}
|
|
8206
|
-
],
|
|
8207
|
-
"superclass": {
|
|
8208
|
-
"name": "LitElement",
|
|
8209
|
-
"package": "lit"
|
|
8210
|
-
},
|
|
8211
|
-
"tagName": "u-list-item",
|
|
8212
|
-
"customElement": true
|
|
8213
|
-
}
|
|
8214
|
-
],
|
|
8215
|
-
"exports": [
|
|
8216
|
-
{
|
|
8217
|
-
"kind": "js",
|
|
8218
|
-
"name": "UmListItem",
|
|
8219
|
-
"declaration": {
|
|
8220
|
-
"name": "UmListItem",
|
|
8221
|
-
"module": "src/list/list-item.ts"
|
|
8222
|
-
}
|
|
8223
|
-
},
|
|
8224
|
-
{
|
|
8225
|
-
"kind": "custom-element-definition",
|
|
8226
|
-
"name": "u-list-item",
|
|
8227
|
-
"declaration": {
|
|
8228
|
-
"name": "UmListItem",
|
|
8229
|
-
"module": "src/list/list-item.ts"
|
|
8230
|
-
}
|
|
8231
|
-
}
|
|
8232
|
-
]
|
|
8233
|
-
},
|
|
8234
|
-
{
|
|
8235
|
-
"kind": "javascript-module",
|
|
8236
|
-
"path": "src/list/list.styles.ts",
|
|
8237
|
-
"declarations": [
|
|
8238
|
-
{
|
|
8239
|
-
"kind": "variable",
|
|
8240
|
-
"name": "styles",
|
|
8241
|
-
"default": "css `\n :host {\n display: block;\n padding-block: var(--u-list-padding, 8px);\n }\n`"
|
|
8242
|
-
}
|
|
8243
|
-
],
|
|
8244
|
-
"exports": [
|
|
8245
|
-
{
|
|
8246
|
-
"kind": "js",
|
|
8247
|
-
"name": "styles",
|
|
8248
|
-
"declaration": {
|
|
8249
|
-
"name": "styles",
|
|
8250
|
-
"module": "src/list/list.styles.ts"
|
|
8251
|
-
}
|
|
8252
|
-
}
|
|
8253
|
-
]
|
|
8254
|
-
},
|
|
8255
|
-
{
|
|
8256
|
-
"kind": "javascript-module",
|
|
8257
|
-
"path": "src/list/list.ts",
|
|
8258
|
-
"declarations": [
|
|
8259
|
-
{
|
|
8260
|
-
"kind": "class",
|
|
8261
|
-
"description": "",
|
|
8262
|
-
"name": "UmList",
|
|
8263
|
-
"members": [],
|
|
8218
|
+
"fieldName": "open"
|
|
8219
|
+
},
|
|
8220
|
+
{
|
|
8221
|
+
"name": "positioning",
|
|
8222
|
+
"type": {
|
|
8223
|
+
"text": "'relative' | 'fixed'"
|
|
8224
|
+
},
|
|
8225
|
+
"default": "'relative'",
|
|
8226
|
+
"fieldName": "positioning"
|
|
8227
|
+
},
|
|
8228
|
+
{
|
|
8229
|
+
"name": "manualFocus",
|
|
8230
|
+
"type": {
|
|
8231
|
+
"text": "boolean"
|
|
8232
|
+
},
|
|
8233
|
+
"default": "false",
|
|
8234
|
+
"fieldName": "manualFocus"
|
|
8235
|
+
},
|
|
8236
|
+
{
|
|
8237
|
+
"name": "anchor-corner",
|
|
8238
|
+
"type": {
|
|
8239
|
+
"text": "'auto-start' | 'auto-end' | 'start-start' | 'start-end' | 'end-start' | 'end-end'"
|
|
8240
|
+
},
|
|
8241
|
+
"default": "'end-start'",
|
|
8242
|
+
"description": "The corner of the anchor which to align the menu in the standard logical\nproperty style of <block>-<inline> e.g. `'end-start'`.",
|
|
8243
|
+
"fieldName": "anchorCorner"
|
|
8244
|
+
},
|
|
8245
|
+
{
|
|
8246
|
+
"name": "direction",
|
|
8247
|
+
"type": {
|
|
8248
|
+
"text": "'up-start' | 'up-end' | 'down-start' | 'down-end'"
|
|
8249
|
+
},
|
|
8250
|
+
"default": "'down-end'",
|
|
8251
|
+
"description": "The direction of the menu. e.g. `'down-end'`.\n\nNOTE: This value may not be respected by the menu positioning algorithm\nif the menu would render outside the viewport.",
|
|
8252
|
+
"fieldName": "direction"
|
|
8253
|
+
},
|
|
8254
|
+
{
|
|
8255
|
+
"name": "allow-overflow",
|
|
8256
|
+
"type": {
|
|
8257
|
+
"text": "boolean"
|
|
8258
|
+
},
|
|
8259
|
+
"default": "false",
|
|
8260
|
+
"description": "Don't limit the height of the menu",
|
|
8261
|
+
"fieldName": "allowOverflow"
|
|
8262
|
+
}
|
|
8263
|
+
],
|
|
8264
8264
|
"superclass": {
|
|
8265
8265
|
"name": "LitElement",
|
|
8266
8266
|
"package": "lit"
|
|
8267
8267
|
},
|
|
8268
|
-
"tagName": "u-
|
|
8268
|
+
"tagName": "u-menu",
|
|
8269
8269
|
"customElement": true
|
|
8270
8270
|
}
|
|
8271
8271
|
],
|
|
8272
8272
|
"exports": [
|
|
8273
8273
|
{
|
|
8274
8274
|
"kind": "js",
|
|
8275
|
-
"name": "
|
|
8275
|
+
"name": "UmMenu",
|
|
8276
8276
|
"declaration": {
|
|
8277
|
-
"name": "
|
|
8278
|
-
"module": "src/
|
|
8277
|
+
"name": "UmMenu",
|
|
8278
|
+
"module": "src/menu/menu.ts"
|
|
8279
8279
|
}
|
|
8280
8280
|
},
|
|
8281
8281
|
{
|
|
8282
8282
|
"kind": "custom-element-definition",
|
|
8283
|
-
"name": "u-
|
|
8283
|
+
"name": "u-menu",
|
|
8284
8284
|
"declaration": {
|
|
8285
|
-
"name": "
|
|
8286
|
-
"module": "src/
|
|
8285
|
+
"name": "UmMenu",
|
|
8286
|
+
"module": "src/menu/menu.ts"
|
|
8287
8287
|
}
|
|
8288
8288
|
}
|
|
8289
8289
|
]
|
|
@@ -17701,355 +17701,61 @@
|
|
|
17701
17701
|
},
|
|
17702
17702
|
{
|
|
17703
17703
|
"kind": "method",
|
|
17704
|
-
"name": "selectActiveItem",
|
|
17705
|
-
"privacy": "private",
|
|
17706
|
-
"parameters": [
|
|
17707
|
-
{
|
|
17708
|
-
"name": "event",
|
|
17709
|
-
"type": {
|
|
17710
|
-
"text": "KeyboardEvent"
|
|
17711
|
-
}
|
|
17712
|
-
}
|
|
17713
|
-
]
|
|
17714
|
-
},
|
|
17715
|
-
{
|
|
17716
|
-
"kind": "method",
|
|
17717
|
-
"name": "afterFocus",
|
|
17718
|
-
"privacy": "protected",
|
|
17719
|
-
"parameters": [
|
|
17720
|
-
{
|
|
17721
|
-
"name": "_",
|
|
17722
|
-
"type": {
|
|
17723
|
-
"text": "TMenuItem"
|
|
17724
|
-
}
|
|
17725
|
-
},
|
|
17726
|
-
{
|
|
17727
|
-
"name": "__",
|
|
17728
|
-
"type": {
|
|
17729
|
-
"text": "number"
|
|
17730
|
-
}
|
|
17731
|
-
}
|
|
17732
|
-
]
|
|
17733
|
-
},
|
|
17734
|
-
{
|
|
17735
|
-
"kind": "method",
|
|
17736
|
-
"name": "afterBlur",
|
|
17737
|
-
"privacy": "protected"
|
|
17738
|
-
}
|
|
17739
|
-
]
|
|
17740
|
-
}
|
|
17741
|
-
],
|
|
17742
|
-
"exports": [
|
|
17743
|
-
{
|
|
17744
|
-
"kind": "js",
|
|
17745
|
-
"name": "MenuFieldNavigationController",
|
|
17746
|
-
"declaration": {
|
|
17747
|
-
"name": "MenuFieldNavigationController",
|
|
17748
|
-
"module": "src/shared/menu-field/menu-field-navigation-controller.ts"
|
|
17749
|
-
}
|
|
17750
|
-
}
|
|
17751
|
-
]
|
|
17752
|
-
},
|
|
17753
|
-
{
|
|
17754
|
-
"kind": "javascript-module",
|
|
17755
|
-
"path": "src/shared/menu-field/menu-field.ts",
|
|
17756
|
-
"declarations": [],
|
|
17757
|
-
"exports": []
|
|
17758
|
-
},
|
|
17759
|
-
{
|
|
17760
|
-
"kind": "javascript-module",
|
|
17761
|
-
"path": "src/shared/selection-control/selection-control-list-item.ts",
|
|
17762
|
-
"declarations": [
|
|
17763
|
-
{
|
|
17764
|
-
"kind": "mixin",
|
|
17765
|
-
"description": "",
|
|
17766
|
-
"name": "mixinSelectionControlListItem",
|
|
17767
|
-
"members": [
|
|
17768
|
-
{
|
|
17769
|
-
"kind": "field",
|
|
17770
|
-
"name": "styles",
|
|
17771
|
-
"type": {
|
|
17772
|
-
"text": "array"
|
|
17773
|
-
},
|
|
17774
|
-
"static": true,
|
|
17775
|
-
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`\n :host {\n --u-list-item-block-padding: 0;\n display: block;\n }\n\n :host(:not([disabled])) {\n cursor: pointer;\n }\n `,\n ]"
|
|
17776
|
-
},
|
|
17777
|
-
{
|
|
17778
|
-
"kind": "method",
|
|
17779
|
-
"name": "render",
|
|
17780
|
-
"return": {
|
|
17781
|
-
"type": {
|
|
17782
|
-
"text": "HTMLTemplateResult"
|
|
17783
|
-
}
|
|
17784
|
-
}
|
|
17785
|
-
}
|
|
17786
|
-
],
|
|
17787
|
-
"parameters": [
|
|
17788
|
-
{
|
|
17789
|
-
"name": "base",
|
|
17790
|
-
"type": {
|
|
17791
|
-
"text": "T"
|
|
17792
|
-
}
|
|
17793
|
-
}
|
|
17794
|
-
]
|
|
17795
|
-
}
|
|
17796
|
-
],
|
|
17797
|
-
"exports": [
|
|
17798
|
-
{
|
|
17799
|
-
"kind": "js",
|
|
17800
|
-
"name": "mixinSelectionControlListItem",
|
|
17801
|
-
"declaration": {
|
|
17802
|
-
"name": "mixinSelectionControlListItem",
|
|
17803
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
17804
|
-
}
|
|
17805
|
-
}
|
|
17806
|
-
]
|
|
17807
|
-
},
|
|
17808
|
-
{
|
|
17809
|
-
"kind": "javascript-module",
|
|
17810
|
-
"path": "src/shared/selection-control/selection-control.styles.ts",
|
|
17811
|
-
"declarations": [
|
|
17812
|
-
{
|
|
17813
|
-
"kind": "variable",
|
|
17814
|
-
"name": "styles",
|
|
17815
|
-
"default": "css `\n :host {\n --_state-layer-padding: var(--u--state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n pointer-events: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u--indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u--disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u--indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n`"
|
|
17816
|
-
}
|
|
17817
|
-
],
|
|
17818
|
-
"exports": [
|
|
17819
|
-
{
|
|
17820
|
-
"kind": "js",
|
|
17821
|
-
"name": "styles",
|
|
17822
|
-
"declaration": {
|
|
17823
|
-
"name": "styles",
|
|
17824
|
-
"module": "src/shared/selection-control/selection-control.styles.ts"
|
|
17825
|
-
}
|
|
17826
|
-
}
|
|
17827
|
-
]
|
|
17828
|
-
},
|
|
17829
|
-
{
|
|
17830
|
-
"kind": "javascript-module",
|
|
17831
|
-
"path": "src/shared/selection-control/selection-control.ts",
|
|
17832
|
-
"declarations": [
|
|
17833
|
-
{
|
|
17834
|
-
"kind": "class",
|
|
17835
|
-
"description": "",
|
|
17836
|
-
"name": "UmSelectionControl",
|
|
17837
|
-
"members": [
|
|
17838
|
-
{
|
|
17839
|
-
"kind": "field",
|
|
17840
|
-
"name": "formAssociated",
|
|
17841
|
-
"type": {
|
|
17842
|
-
"text": "boolean"
|
|
17843
|
-
},
|
|
17844
|
-
"static": true,
|
|
17845
|
-
"default": "true"
|
|
17846
|
-
},
|
|
17847
|
-
{
|
|
17848
|
-
"kind": "field",
|
|
17849
|
-
"name": "shadowRootOptions",
|
|
17850
|
-
"type": {
|
|
17851
|
-
"text": "ShadowRootInit"
|
|
17852
|
-
},
|
|
17853
|
-
"static": true,
|
|
17854
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
17855
|
-
},
|
|
17856
|
-
{
|
|
17857
|
-
"kind": "field",
|
|
17858
|
-
"name": "elementInternals",
|
|
17859
|
-
"type": {
|
|
17860
|
-
"text": "ElementInternals"
|
|
17861
|
-
},
|
|
17862
|
-
"privacy": "protected"
|
|
17863
|
-
},
|
|
17864
|
-
{
|
|
17865
|
-
"kind": "field",
|
|
17866
|
-
"name": "name",
|
|
17867
|
-
"type": {
|
|
17868
|
-
"text": "string | undefined"
|
|
17869
|
-
},
|
|
17870
|
-
"default": "''",
|
|
17871
|
-
"attribute": "name",
|
|
17872
|
-
"reflects": true
|
|
17873
|
-
},
|
|
17874
|
-
{
|
|
17875
|
-
"kind": "field",
|
|
17876
|
-
"name": "disabled",
|
|
17877
|
-
"type": {
|
|
17878
|
-
"text": "boolean"
|
|
17879
|
-
},
|
|
17880
|
-
"default": "false",
|
|
17881
|
-
"attribute": "disabled",
|
|
17882
|
-
"reflects": true
|
|
17883
|
-
},
|
|
17884
|
-
{
|
|
17885
|
-
"kind": "field",
|
|
17886
|
-
"name": "input",
|
|
17887
|
-
"type": {
|
|
17888
|
-
"text": "HTMLInputElement"
|
|
17889
|
-
}
|
|
17890
|
-
},
|
|
17891
|
-
{
|
|
17892
|
-
"kind": "field",
|
|
17893
|
-
"name": "form",
|
|
17894
|
-
"type": {
|
|
17895
|
-
"text": "HTMLFormElement | null"
|
|
17896
|
-
}
|
|
17897
|
-
},
|
|
17898
|
-
{
|
|
17899
|
-
"kind": "method",
|
|
17900
|
-
"name": "focus",
|
|
17704
|
+
"name": "selectActiveItem",
|
|
17705
|
+
"privacy": "private",
|
|
17901
17706
|
"parameters": [
|
|
17902
17707
|
{
|
|
17903
|
-
"name": "
|
|
17904
|
-
"optional": true,
|
|
17708
|
+
"name": "event",
|
|
17905
17709
|
"type": {
|
|
17906
|
-
"text": "
|
|
17710
|
+
"text": "KeyboardEvent"
|
|
17907
17711
|
}
|
|
17908
17712
|
}
|
|
17909
17713
|
]
|
|
17910
17714
|
},
|
|
17911
|
-
{
|
|
17912
|
-
"kind": "field",
|
|
17913
|
-
"name": "#checked",
|
|
17914
|
-
"privacy": "private",
|
|
17915
|
-
"type": {
|
|
17916
|
-
"text": "boolean"
|
|
17917
|
-
},
|
|
17918
|
-
"default": "false"
|
|
17919
|
-
},
|
|
17920
|
-
{
|
|
17921
|
-
"kind": "field",
|
|
17922
|
-
"name": "inputType",
|
|
17923
|
-
"type": {
|
|
17924
|
-
"text": "'checkbox' | 'radio'"
|
|
17925
|
-
},
|
|
17926
|
-
"privacy": "protected",
|
|
17927
|
-
"default": "'checkbox'"
|
|
17928
|
-
},
|
|
17929
|
-
{
|
|
17930
|
-
"kind": "field",
|
|
17931
|
-
"name": "renderRipple",
|
|
17932
|
-
"type": {
|
|
17933
|
-
"text": "boolean"
|
|
17934
|
-
},
|
|
17935
|
-
"privacy": "protected",
|
|
17936
|
-
"default": "true"
|
|
17937
|
-
},
|
|
17938
17715
|
{
|
|
17939
17716
|
"kind": "method",
|
|
17940
|
-
"name": "
|
|
17717
|
+
"name": "afterFocus",
|
|
17941
17718
|
"privacy": "protected",
|
|
17942
|
-
"return": {
|
|
17943
|
-
"type": {
|
|
17944
|
-
"text": "HTMLTemplateResult"
|
|
17945
|
-
}
|
|
17946
|
-
}
|
|
17947
|
-
},
|
|
17948
|
-
{
|
|
17949
|
-
"kind": "field",
|
|
17950
|
-
"name": "value",
|
|
17951
|
-
"type": {
|
|
17952
|
-
"text": "string"
|
|
17953
|
-
},
|
|
17954
|
-
"default": "'on'",
|
|
17955
|
-
"description": "The element value to use in form submission when checked.",
|
|
17956
|
-
"attribute": "value"
|
|
17957
|
-
},
|
|
17958
|
-
{
|
|
17959
|
-
"kind": "field",
|
|
17960
|
-
"name": "checked",
|
|
17961
|
-
"attribute": "checked"
|
|
17962
|
-
},
|
|
17963
|
-
{
|
|
17964
|
-
"kind": "field",
|
|
17965
|
-
"name": "_checkedAttribute",
|
|
17966
|
-
"type": {
|
|
17967
|
-
"text": "boolean"
|
|
17968
|
-
},
|
|
17969
|
-
"privacy": "private",
|
|
17970
|
-
"default": "false",
|
|
17971
|
-
"attribute": "checked"
|
|
17972
|
-
},
|
|
17973
|
-
{
|
|
17974
|
-
"kind": "method",
|
|
17975
|
-
"name": "#handleClick",
|
|
17976
17719
|
"parameters": [
|
|
17977
17720
|
{
|
|
17978
|
-
"name": "
|
|
17721
|
+
"name": "_",
|
|
17979
17722
|
"type": {
|
|
17980
|
-
"text": "
|
|
17723
|
+
"text": "TMenuItem"
|
|
17724
|
+
}
|
|
17725
|
+
},
|
|
17726
|
+
{
|
|
17727
|
+
"name": "__",
|
|
17728
|
+
"type": {
|
|
17729
|
+
"text": "number"
|
|
17981
17730
|
}
|
|
17982
17731
|
}
|
|
17983
17732
|
]
|
|
17984
|
-
}
|
|
17985
|
-
],
|
|
17986
|
-
"events": [
|
|
17987
|
-
{
|
|
17988
|
-
"name": "input",
|
|
17989
|
-
"type": {
|
|
17990
|
-
"text": "InputEvent"
|
|
17991
|
-
}
|
|
17992
|
-
},
|
|
17993
|
-
{
|
|
17994
|
-
"name": "change",
|
|
17995
|
-
"type": {
|
|
17996
|
-
"text": "Event"
|
|
17997
|
-
}
|
|
17998
|
-
}
|
|
17999
|
-
],
|
|
18000
|
-
"attributes": [
|
|
18001
|
-
{
|
|
18002
|
-
"name": "name",
|
|
18003
|
-
"type": {
|
|
18004
|
-
"text": "string | undefined"
|
|
18005
|
-
},
|
|
18006
|
-
"default": "''",
|
|
18007
|
-
"fieldName": "name"
|
|
18008
|
-
},
|
|
18009
|
-
{
|
|
18010
|
-
"name": "disabled",
|
|
18011
|
-
"type": {
|
|
18012
|
-
"text": "boolean"
|
|
18013
|
-
},
|
|
18014
|
-
"default": "false",
|
|
18015
|
-
"fieldName": "disabled"
|
|
18016
|
-
},
|
|
18017
|
-
{
|
|
18018
|
-
"name": "value",
|
|
18019
|
-
"type": {
|
|
18020
|
-
"text": "string"
|
|
18021
|
-
},
|
|
18022
|
-
"default": "'on'",
|
|
18023
|
-
"description": "The element value to use in form submission when checked.",
|
|
18024
|
-
"fieldName": "value"
|
|
18025
17733
|
},
|
|
18026
17734
|
{
|
|
18027
|
-
"
|
|
18028
|
-
"
|
|
18029
|
-
"
|
|
18030
|
-
"text": "boolean"
|
|
18031
|
-
},
|
|
18032
|
-
"default": "false"
|
|
17735
|
+
"kind": "method",
|
|
17736
|
+
"name": "afterBlur",
|
|
17737
|
+
"privacy": "protected"
|
|
18033
17738
|
}
|
|
18034
|
-
]
|
|
18035
|
-
"superclass": {
|
|
18036
|
-
"name": "LitElement",
|
|
18037
|
-
"package": "lit"
|
|
18038
|
-
},
|
|
18039
|
-
"customElement": true
|
|
17739
|
+
]
|
|
18040
17740
|
}
|
|
18041
17741
|
],
|
|
18042
17742
|
"exports": [
|
|
18043
17743
|
{
|
|
18044
17744
|
"kind": "js",
|
|
18045
|
-
"name": "
|
|
17745
|
+
"name": "MenuFieldNavigationController",
|
|
18046
17746
|
"declaration": {
|
|
18047
|
-
"name": "
|
|
18048
|
-
"module": "src/shared/
|
|
17747
|
+
"name": "MenuFieldNavigationController",
|
|
17748
|
+
"module": "src/shared/menu-field/menu-field-navigation-controller.ts"
|
|
18049
17749
|
}
|
|
18050
17750
|
}
|
|
18051
17751
|
]
|
|
18052
17752
|
},
|
|
17753
|
+
{
|
|
17754
|
+
"kind": "javascript-module",
|
|
17755
|
+
"path": "src/shared/menu-field/menu-field.ts",
|
|
17756
|
+
"declarations": [],
|
|
17757
|
+
"exports": []
|
|
17758
|
+
},
|
|
18053
17759
|
{
|
|
18054
17760
|
"kind": "javascript-module",
|
|
18055
17761
|
"path": "src/shared/sets/set-base.styles.ts",
|
|
@@ -18153,31 +17859,171 @@
|
|
|
18153
17859
|
"members": [
|
|
18154
17860
|
{
|
|
18155
17861
|
"kind": "field",
|
|
18156
|
-
"name": "formAssociated",
|
|
17862
|
+
"name": "formAssociated",
|
|
17863
|
+
"type": {
|
|
17864
|
+
"text": "boolean"
|
|
17865
|
+
},
|
|
17866
|
+
"static": true,
|
|
17867
|
+
"default": "true"
|
|
17868
|
+
},
|
|
17869
|
+
{
|
|
17870
|
+
"kind": "field",
|
|
17871
|
+
"name": "shadowRootOptions",
|
|
17872
|
+
"type": {
|
|
17873
|
+
"text": "ShadowRootInit"
|
|
17874
|
+
},
|
|
17875
|
+
"static": true,
|
|
17876
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
17877
|
+
},
|
|
17878
|
+
{
|
|
17879
|
+
"kind": "field",
|
|
17880
|
+
"name": "empty",
|
|
17881
|
+
"type": {
|
|
17882
|
+
"text": "boolean"
|
|
17883
|
+
},
|
|
17884
|
+
"default": "true",
|
|
17885
|
+
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
17886
|
+
"attribute": "empty",
|
|
17887
|
+
"reflects": true,
|
|
17888
|
+
"inheritedFrom": {
|
|
17889
|
+
"name": "UmFieldBase",
|
|
17890
|
+
"module": "src/field/field-base.ts"
|
|
17891
|
+
}
|
|
17892
|
+
},
|
|
17893
|
+
{
|
|
17894
|
+
"kind": "field",
|
|
17895
|
+
"name": "placeholder",
|
|
17896
|
+
"type": {
|
|
17897
|
+
"text": "string"
|
|
17898
|
+
},
|
|
17899
|
+
"default": "''",
|
|
17900
|
+
"attribute": "placeholder",
|
|
17901
|
+
"reflects": true
|
|
17902
|
+
},
|
|
17903
|
+
{
|
|
17904
|
+
"kind": "field",
|
|
17905
|
+
"name": "form",
|
|
17906
|
+
"type": {
|
|
17907
|
+
"text": "HTMLFormElement | null"
|
|
17908
|
+
}
|
|
17909
|
+
},
|
|
17910
|
+
{
|
|
17911
|
+
"kind": "field",
|
|
17912
|
+
"name": "elementInternals",
|
|
17913
|
+
"type": {
|
|
17914
|
+
"text": "ElementInternals"
|
|
17915
|
+
},
|
|
17916
|
+
"privacy": "protected"
|
|
17917
|
+
},
|
|
17918
|
+
{
|
|
17919
|
+
"kind": "field",
|
|
17920
|
+
"name": "config",
|
|
17921
|
+
"type": {
|
|
17922
|
+
"text": "UmFieldDefaults | undefined"
|
|
17923
|
+
},
|
|
17924
|
+
"privacy": "private",
|
|
17925
|
+
"inheritedFrom": {
|
|
17926
|
+
"name": "UmFieldBase",
|
|
17927
|
+
"module": "src/field/field-base.ts"
|
|
17928
|
+
}
|
|
17929
|
+
},
|
|
17930
|
+
{
|
|
17931
|
+
"kind": "field",
|
|
17932
|
+
"name": "variant",
|
|
17933
|
+
"type": {
|
|
17934
|
+
"text": "'filled' | 'outlined' | undefined"
|
|
17935
|
+
},
|
|
17936
|
+
"default": "undefined",
|
|
17937
|
+
"attribute": "variant",
|
|
17938
|
+
"inheritedFrom": {
|
|
17939
|
+
"name": "UmFieldBase",
|
|
17940
|
+
"module": "src/field/field-base.ts"
|
|
17941
|
+
}
|
|
17942
|
+
},
|
|
17943
|
+
{
|
|
17944
|
+
"kind": "field",
|
|
17945
|
+
"name": "label",
|
|
17946
|
+
"type": {
|
|
17947
|
+
"text": "string | undefined"
|
|
17948
|
+
},
|
|
17949
|
+
"description": "The floating label for the field",
|
|
17950
|
+
"attribute": "label",
|
|
17951
|
+
"inheritedFrom": {
|
|
17952
|
+
"name": "UmFieldBase",
|
|
17953
|
+
"module": "src/field/field-base.ts"
|
|
17954
|
+
}
|
|
17955
|
+
},
|
|
17956
|
+
{
|
|
17957
|
+
"kind": "field",
|
|
17958
|
+
"name": "_innerCounter",
|
|
17959
|
+
"type": {
|
|
17960
|
+
"text": "string | undefined"
|
|
17961
|
+
},
|
|
17962
|
+
"privacy": "protected",
|
|
17963
|
+
"inheritedFrom": {
|
|
17964
|
+
"name": "UmFieldBase",
|
|
17965
|
+
"module": "src/field/field-base.ts"
|
|
17966
|
+
}
|
|
17967
|
+
},
|
|
17968
|
+
{
|
|
17969
|
+
"kind": "field",
|
|
17970
|
+
"name": "counter",
|
|
17971
|
+
"type": {
|
|
17972
|
+
"text": "string | undefined"
|
|
17973
|
+
},
|
|
17974
|
+
"attribute": "counter",
|
|
17975
|
+
"inheritedFrom": {
|
|
17976
|
+
"name": "UmFieldBase",
|
|
17977
|
+
"module": "src/field/field-base.ts"
|
|
17978
|
+
}
|
|
17979
|
+
},
|
|
17980
|
+
{
|
|
17981
|
+
"kind": "field",
|
|
17982
|
+
"name": "hideCounter",
|
|
18157
17983
|
"type": {
|
|
18158
17984
|
"text": "boolean"
|
|
18159
17985
|
},
|
|
18160
|
-
"
|
|
18161
|
-
"
|
|
17986
|
+
"default": "false",
|
|
17987
|
+
"attribute": "hide-counter",
|
|
17988
|
+
"inheritedFrom": {
|
|
17989
|
+
"name": "UmFieldBase",
|
|
17990
|
+
"module": "src/field/field-base.ts"
|
|
17991
|
+
}
|
|
18162
17992
|
},
|
|
18163
17993
|
{
|
|
18164
17994
|
"kind": "field",
|
|
18165
|
-
"name": "
|
|
17995
|
+
"name": "supportingText",
|
|
18166
17996
|
"type": {
|
|
18167
|
-
"text": "
|
|
17997
|
+
"text": "string | undefined"
|
|
18168
17998
|
},
|
|
18169
|
-
"
|
|
18170
|
-
"
|
|
17999
|
+
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
18000
|
+
"attribute": "supporting-text",
|
|
18001
|
+
"inheritedFrom": {
|
|
18002
|
+
"name": "UmFieldBase",
|
|
18003
|
+
"module": "src/field/field-base.ts"
|
|
18004
|
+
}
|
|
18171
18005
|
},
|
|
18172
18006
|
{
|
|
18173
18007
|
"kind": "field",
|
|
18174
|
-
"name": "
|
|
18008
|
+
"name": "errorText",
|
|
18009
|
+
"type": {
|
|
18010
|
+
"text": "string | undefined"
|
|
18011
|
+
},
|
|
18012
|
+
"description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
|
|
18013
|
+
"attribute": "error-text",
|
|
18014
|
+
"inheritedFrom": {
|
|
18015
|
+
"name": "UmFieldBase",
|
|
18016
|
+
"module": "src/field/field-base.ts"
|
|
18017
|
+
}
|
|
18018
|
+
},
|
|
18019
|
+
{
|
|
18020
|
+
"kind": "field",
|
|
18021
|
+
"name": "disabled",
|
|
18175
18022
|
"type": {
|
|
18176
18023
|
"text": "boolean"
|
|
18177
18024
|
},
|
|
18178
|
-
"default": "
|
|
18179
|
-
"
|
|
18180
|
-
"attribute": "empty",
|
|
18025
|
+
"default": "false",
|
|
18026
|
+
"attribute": "disabled",
|
|
18181
18027
|
"reflects": true,
|
|
18182
18028
|
"inheritedFrom": {
|
|
18183
18029
|
"name": "UmFieldBase",
|
|
@@ -18186,36 +18032,87 @@
|
|
|
18186
18032
|
},
|
|
18187
18033
|
{
|
|
18188
18034
|
"kind": "field",
|
|
18189
|
-
"name": "
|
|
18035
|
+
"name": "invalid",
|
|
18190
18036
|
"type": {
|
|
18191
|
-
"text": "
|
|
18037
|
+
"text": "boolean"
|
|
18192
18038
|
},
|
|
18193
|
-
"default": "
|
|
18194
|
-
"
|
|
18195
|
-
"
|
|
18039
|
+
"default": "false",
|
|
18040
|
+
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
18041
|
+
"attribute": "invalid",
|
|
18042
|
+
"reflects": true,
|
|
18043
|
+
"inheritedFrom": {
|
|
18044
|
+
"name": "UmFieldBase",
|
|
18045
|
+
"module": "src/field/field-base.ts"
|
|
18046
|
+
}
|
|
18047
|
+
},
|
|
18048
|
+
{
|
|
18049
|
+
"kind": "method",
|
|
18050
|
+
"name": "setDefaults",
|
|
18051
|
+
"static": true,
|
|
18052
|
+
"return": {
|
|
18053
|
+
"type": {
|
|
18054
|
+
"text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
|
|
18055
|
+
}
|
|
18056
|
+
},
|
|
18057
|
+
"parameters": [
|
|
18058
|
+
{
|
|
18059
|
+
"name": "contextRoot",
|
|
18060
|
+
"type": {
|
|
18061
|
+
"text": "HTMLElement"
|
|
18062
|
+
}
|
|
18063
|
+
},
|
|
18064
|
+
{
|
|
18065
|
+
"name": "config",
|
|
18066
|
+
"type": {
|
|
18067
|
+
"text": "UmFieldDefaults"
|
|
18068
|
+
}
|
|
18069
|
+
}
|
|
18070
|
+
],
|
|
18071
|
+
"inheritedFrom": {
|
|
18072
|
+
"name": "UmFieldBase",
|
|
18073
|
+
"module": "src/field/field-base.ts"
|
|
18074
|
+
}
|
|
18196
18075
|
},
|
|
18197
18076
|
{
|
|
18198
18077
|
"kind": "field",
|
|
18199
|
-
"name": "
|
|
18078
|
+
"name": "hasLeadingIcon",
|
|
18200
18079
|
"type": {
|
|
18201
|
-
"text": "
|
|
18080
|
+
"text": "boolean"
|
|
18081
|
+
},
|
|
18082
|
+
"default": "false",
|
|
18083
|
+
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
18084
|
+
"attribute": "has-leading-icon",
|
|
18085
|
+
"reflects": true,
|
|
18086
|
+
"inheritedFrom": {
|
|
18087
|
+
"name": "UmFieldBase",
|
|
18088
|
+
"module": "src/field/field-base.ts"
|
|
18202
18089
|
}
|
|
18203
18090
|
},
|
|
18204
18091
|
{
|
|
18205
18092
|
"kind": "field",
|
|
18206
|
-
"name": "
|
|
18093
|
+
"name": "hasTrailingIcon",
|
|
18207
18094
|
"type": {
|
|
18208
|
-
"text": "
|
|
18095
|
+
"text": "boolean"
|
|
18209
18096
|
},
|
|
18210
|
-
"
|
|
18097
|
+
"default": "false",
|
|
18098
|
+
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
18099
|
+
"attribute": "has-trailing-icon",
|
|
18100
|
+
"reflects": true,
|
|
18101
|
+
"inheritedFrom": {
|
|
18102
|
+
"name": "UmFieldBase",
|
|
18103
|
+
"module": "src/field/field-base.ts"
|
|
18104
|
+
}
|
|
18211
18105
|
},
|
|
18212
18106
|
{
|
|
18213
18107
|
"kind": "field",
|
|
18214
|
-
"name": "
|
|
18108
|
+
"name": "hasErrorText",
|
|
18215
18109
|
"type": {
|
|
18216
|
-
"text": "
|
|
18110
|
+
"text": "boolean"
|
|
18217
18111
|
},
|
|
18218
|
-
"
|
|
18112
|
+
"default": "false",
|
|
18113
|
+
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
18114
|
+
"attribute": "has-error-text",
|
|
18115
|
+
"reflects": true,
|
|
18219
18116
|
"inheritedFrom": {
|
|
18220
18117
|
"name": "UmFieldBase",
|
|
18221
18118
|
"module": "src/field/field-base.ts"
|
|
@@ -18223,12 +18120,11 @@
|
|
|
18223
18120
|
},
|
|
18224
18121
|
{
|
|
18225
18122
|
"kind": "field",
|
|
18226
|
-
"name": "
|
|
18123
|
+
"name": "assignedLeadingIcons",
|
|
18227
18124
|
"type": {
|
|
18228
|
-
"text": "
|
|
18125
|
+
"text": "HTMLElement[]"
|
|
18229
18126
|
},
|
|
18230
|
-
"
|
|
18231
|
-
"attribute": "variant",
|
|
18127
|
+
"privacy": "private",
|
|
18232
18128
|
"inheritedFrom": {
|
|
18233
18129
|
"name": "UmFieldBase",
|
|
18234
18130
|
"module": "src/field/field-base.ts"
|
|
@@ -18236,12 +18132,11 @@
|
|
|
18236
18132
|
},
|
|
18237
18133
|
{
|
|
18238
18134
|
"kind": "field",
|
|
18239
|
-
"name": "
|
|
18135
|
+
"name": "assignedTrailingIcons",
|
|
18240
18136
|
"type": {
|
|
18241
|
-
"text": "
|
|
18137
|
+
"text": "HTMLElement[]"
|
|
18242
18138
|
},
|
|
18243
|
-
"
|
|
18244
|
-
"attribute": "label",
|
|
18139
|
+
"privacy": "private",
|
|
18245
18140
|
"inheritedFrom": {
|
|
18246
18141
|
"name": "UmFieldBase",
|
|
18247
18142
|
"module": "src/field/field-base.ts"
|
|
@@ -18249,11 +18144,11 @@
|
|
|
18249
18144
|
},
|
|
18250
18145
|
{
|
|
18251
18146
|
"kind": "field",
|
|
18252
|
-
"name": "
|
|
18147
|
+
"name": "assignedErrorTexts",
|
|
18253
18148
|
"type": {
|
|
18254
|
-
"text": "
|
|
18149
|
+
"text": "HTMLElement[]"
|
|
18255
18150
|
},
|
|
18256
|
-
"privacy": "
|
|
18151
|
+
"privacy": "private",
|
|
18257
18152
|
"inheritedFrom": {
|
|
18258
18153
|
"name": "UmFieldBase",
|
|
18259
18154
|
"module": "src/field/field-base.ts"
|
|
@@ -18261,11 +18156,11 @@
|
|
|
18261
18156
|
},
|
|
18262
18157
|
{
|
|
18263
18158
|
"kind": "field",
|
|
18264
|
-
"name": "
|
|
18159
|
+
"name": "_labelElement",
|
|
18265
18160
|
"type": {
|
|
18266
|
-
"text": "
|
|
18161
|
+
"text": "HTMLElement"
|
|
18267
18162
|
},
|
|
18268
|
-
"
|
|
18163
|
+
"privacy": "private",
|
|
18269
18164
|
"inheritedFrom": {
|
|
18270
18165
|
"name": "UmFieldBase",
|
|
18271
18166
|
"module": "src/field/field-base.ts"
|
|
@@ -18273,449 +18168,554 @@
|
|
|
18273
18168
|
},
|
|
18274
18169
|
{
|
|
18275
18170
|
"kind": "field",
|
|
18276
|
-
"name": "
|
|
18171
|
+
"name": "_container",
|
|
18277
18172
|
"type": {
|
|
18278
|
-
"text": "
|
|
18173
|
+
"text": "HTMLElement"
|
|
18174
|
+
},
|
|
18175
|
+
"privacy": "protected",
|
|
18176
|
+
"inheritedFrom": {
|
|
18177
|
+
"name": "UmFieldBase",
|
|
18178
|
+
"module": "src/field/field-base.ts"
|
|
18179
|
+
}
|
|
18180
|
+
},
|
|
18181
|
+
{
|
|
18182
|
+
"kind": "method",
|
|
18183
|
+
"name": "renderControl",
|
|
18184
|
+
"privacy": "protected",
|
|
18185
|
+
"return": {
|
|
18186
|
+
"type": {
|
|
18187
|
+
"text": "TemplateResult"
|
|
18188
|
+
}
|
|
18189
|
+
},
|
|
18190
|
+
"inheritedFrom": {
|
|
18191
|
+
"name": "UmFieldBase",
|
|
18192
|
+
"module": "src/field/field-base.ts"
|
|
18193
|
+
}
|
|
18194
|
+
},
|
|
18195
|
+
{
|
|
18196
|
+
"kind": "method",
|
|
18197
|
+
"name": "renderAfterContent",
|
|
18198
|
+
"privacy": "protected",
|
|
18199
|
+
"return": {
|
|
18200
|
+
"type": {
|
|
18201
|
+
"text": "TemplateResult"
|
|
18202
|
+
}
|
|
18203
|
+
},
|
|
18204
|
+
"inheritedFrom": {
|
|
18205
|
+
"name": "UmFieldBase",
|
|
18206
|
+
"module": "src/field/field-base.ts"
|
|
18207
|
+
}
|
|
18208
|
+
},
|
|
18209
|
+
{
|
|
18210
|
+
"kind": "method",
|
|
18211
|
+
"name": "handleLeadingIconSlotChange",
|
|
18212
|
+
"privacy": "private",
|
|
18213
|
+
"inheritedFrom": {
|
|
18214
|
+
"name": "UmFieldBase",
|
|
18215
|
+
"module": "src/field/field-base.ts"
|
|
18216
|
+
}
|
|
18217
|
+
},
|
|
18218
|
+
{
|
|
18219
|
+
"kind": "method",
|
|
18220
|
+
"name": "handleTrailingIconSlotChange",
|
|
18221
|
+
"privacy": "private",
|
|
18222
|
+
"inheritedFrom": {
|
|
18223
|
+
"name": "UmFieldBase",
|
|
18224
|
+
"module": "src/field/field-base.ts"
|
|
18225
|
+
}
|
|
18226
|
+
},
|
|
18227
|
+
{
|
|
18228
|
+
"kind": "method",
|
|
18229
|
+
"name": "handleErrorTextSlotChange",
|
|
18230
|
+
"privacy": "private",
|
|
18231
|
+
"inheritedFrom": {
|
|
18232
|
+
"name": "UmFieldBase",
|
|
18233
|
+
"module": "src/field/field-base.ts"
|
|
18234
|
+
}
|
|
18235
|
+
},
|
|
18236
|
+
{
|
|
18237
|
+
"kind": "method",
|
|
18238
|
+
"name": "renderDefaultTrailingIcon",
|
|
18239
|
+
"privacy": "protected",
|
|
18240
|
+
"return": {
|
|
18241
|
+
"type": {
|
|
18242
|
+
"text": "TemplateResult | typeof nothing"
|
|
18243
|
+
}
|
|
18244
|
+
},
|
|
18245
|
+
"inheritedFrom": {
|
|
18246
|
+
"name": "UmFieldBase",
|
|
18247
|
+
"module": "src/field/field-base.ts"
|
|
18248
|
+
}
|
|
18249
|
+
}
|
|
18250
|
+
],
|
|
18251
|
+
"attributes": [
|
|
18252
|
+
{
|
|
18253
|
+
"name": "placeholder",
|
|
18254
|
+
"type": {
|
|
18255
|
+
"text": "string"
|
|
18256
|
+
},
|
|
18257
|
+
"default": "''",
|
|
18258
|
+
"fieldName": "placeholder"
|
|
18259
|
+
},
|
|
18260
|
+
{
|
|
18261
|
+
"name": "variant",
|
|
18262
|
+
"type": {
|
|
18263
|
+
"text": "'filled' | 'outlined' | undefined"
|
|
18264
|
+
},
|
|
18265
|
+
"default": "undefined",
|
|
18266
|
+
"resolveInitializer": {
|
|
18267
|
+
"module": "src/field/field-base.ts"
|
|
18279
18268
|
},
|
|
18280
|
-
"
|
|
18281
|
-
"attribute": "hide-counter",
|
|
18269
|
+
"fieldName": "variant",
|
|
18282
18270
|
"inheritedFrom": {
|
|
18283
18271
|
"name": "UmFieldBase",
|
|
18284
18272
|
"module": "src/field/field-base.ts"
|
|
18285
18273
|
}
|
|
18286
18274
|
},
|
|
18287
18275
|
{
|
|
18288
|
-
"
|
|
18289
|
-
"name": "supportingText",
|
|
18276
|
+
"name": "label",
|
|
18290
18277
|
"type": {
|
|
18291
18278
|
"text": "string | undefined"
|
|
18292
18279
|
},
|
|
18293
|
-
"description": "
|
|
18294
|
-
"
|
|
18280
|
+
"description": "The floating label for the field",
|
|
18281
|
+
"fieldName": "label",
|
|
18295
18282
|
"inheritedFrom": {
|
|
18296
18283
|
"name": "UmFieldBase",
|
|
18297
18284
|
"module": "src/field/field-base.ts"
|
|
18298
18285
|
}
|
|
18299
18286
|
},
|
|
18300
18287
|
{
|
|
18301
|
-
"
|
|
18302
|
-
"name": "errorText",
|
|
18288
|
+
"name": "counter",
|
|
18303
18289
|
"type": {
|
|
18304
18290
|
"text": "string | undefined"
|
|
18305
18291
|
},
|
|
18306
|
-
"
|
|
18307
|
-
"attribute": "error-text",
|
|
18292
|
+
"fieldName": "counter",
|
|
18308
18293
|
"inheritedFrom": {
|
|
18309
18294
|
"name": "UmFieldBase",
|
|
18310
18295
|
"module": "src/field/field-base.ts"
|
|
18311
18296
|
}
|
|
18312
18297
|
},
|
|
18313
18298
|
{
|
|
18314
|
-
"
|
|
18315
|
-
"name": "disabled",
|
|
18299
|
+
"name": "hide-counter",
|
|
18316
18300
|
"type": {
|
|
18317
18301
|
"text": "boolean"
|
|
18318
18302
|
},
|
|
18319
18303
|
"default": "false",
|
|
18320
|
-
"
|
|
18321
|
-
"reflects": true,
|
|
18304
|
+
"fieldName": "hideCounter",
|
|
18322
18305
|
"inheritedFrom": {
|
|
18323
18306
|
"name": "UmFieldBase",
|
|
18324
18307
|
"module": "src/field/field-base.ts"
|
|
18325
18308
|
}
|
|
18326
18309
|
},
|
|
18327
18310
|
{
|
|
18328
|
-
"
|
|
18329
|
-
"name": "invalid",
|
|
18311
|
+
"name": "supporting-text",
|
|
18330
18312
|
"type": {
|
|
18331
|
-
"text": "
|
|
18313
|
+
"text": "string | undefined"
|
|
18332
18314
|
},
|
|
18333
|
-
"
|
|
18334
|
-
"
|
|
18335
|
-
"attribute": "invalid",
|
|
18336
|
-
"reflects": true,
|
|
18315
|
+
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
18316
|
+
"fieldName": "supportingText",
|
|
18337
18317
|
"inheritedFrom": {
|
|
18338
18318
|
"name": "UmFieldBase",
|
|
18339
18319
|
"module": "src/field/field-base.ts"
|
|
18340
18320
|
}
|
|
18341
18321
|
},
|
|
18342
18322
|
{
|
|
18343
|
-
"
|
|
18344
|
-
"
|
|
18345
|
-
|
|
18346
|
-
"return": {
|
|
18347
|
-
"type": {
|
|
18348
|
-
"text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
|
|
18349
|
-
}
|
|
18323
|
+
"name": "error-text",
|
|
18324
|
+
"type": {
|
|
18325
|
+
"text": "string | undefined"
|
|
18350
18326
|
},
|
|
18351
|
-
"
|
|
18352
|
-
|
|
18353
|
-
"name": "contextRoot",
|
|
18354
|
-
"type": {
|
|
18355
|
-
"text": "HTMLElement"
|
|
18356
|
-
}
|
|
18357
|
-
},
|
|
18358
|
-
{
|
|
18359
|
-
"name": "config",
|
|
18360
|
-
"type": {
|
|
18361
|
-
"text": "UmFieldDefaults"
|
|
18362
|
-
}
|
|
18363
|
-
}
|
|
18364
|
-
],
|
|
18327
|
+
"description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
|
|
18328
|
+
"fieldName": "errorText",
|
|
18365
18329
|
"inheritedFrom": {
|
|
18366
18330
|
"name": "UmFieldBase",
|
|
18367
18331
|
"module": "src/field/field-base.ts"
|
|
18368
18332
|
}
|
|
18369
18333
|
},
|
|
18370
18334
|
{
|
|
18371
|
-
"
|
|
18372
|
-
"name": "hasLeadingIcon",
|
|
18335
|
+
"name": "empty",
|
|
18373
18336
|
"type": {
|
|
18374
18337
|
"text": "boolean"
|
|
18375
18338
|
},
|
|
18376
18339
|
"default": "false",
|
|
18377
|
-
"description": "Whether the field
|
|
18378
|
-
"
|
|
18379
|
-
"reflects": true,
|
|
18340
|
+
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
18341
|
+
"fieldName": "empty",
|
|
18380
18342
|
"inheritedFrom": {
|
|
18381
18343
|
"name": "UmFieldBase",
|
|
18382
18344
|
"module": "src/field/field-base.ts"
|
|
18383
18345
|
}
|
|
18384
18346
|
},
|
|
18385
18347
|
{
|
|
18386
|
-
"
|
|
18387
|
-
"name": "hasTrailingIcon",
|
|
18348
|
+
"name": "disabled",
|
|
18388
18349
|
"type": {
|
|
18389
18350
|
"text": "boolean"
|
|
18390
18351
|
},
|
|
18391
18352
|
"default": "false",
|
|
18392
|
-
"
|
|
18393
|
-
"attribute": "has-trailing-icon",
|
|
18394
|
-
"reflects": true,
|
|
18353
|
+
"fieldName": "disabled",
|
|
18395
18354
|
"inheritedFrom": {
|
|
18396
18355
|
"name": "UmFieldBase",
|
|
18397
18356
|
"module": "src/field/field-base.ts"
|
|
18398
18357
|
}
|
|
18399
18358
|
},
|
|
18400
18359
|
{
|
|
18401
|
-
"
|
|
18402
|
-
"name": "hasErrorText",
|
|
18360
|
+
"name": "invalid",
|
|
18403
18361
|
"type": {
|
|
18404
18362
|
"text": "boolean"
|
|
18405
18363
|
},
|
|
18406
18364
|
"default": "false",
|
|
18407
|
-
"description": "
|
|
18408
|
-
"
|
|
18409
|
-
"reflects": true,
|
|
18410
|
-
"inheritedFrom": {
|
|
18411
|
-
"name": "UmFieldBase",
|
|
18412
|
-
"module": "src/field/field-base.ts"
|
|
18413
|
-
}
|
|
18414
|
-
},
|
|
18415
|
-
{
|
|
18416
|
-
"kind": "field",
|
|
18417
|
-
"name": "assignedLeadingIcons",
|
|
18418
|
-
"type": {
|
|
18419
|
-
"text": "HTMLElement[]"
|
|
18420
|
-
},
|
|
18421
|
-
"privacy": "private",
|
|
18365
|
+
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
18366
|
+
"fieldName": "invalid",
|
|
18422
18367
|
"inheritedFrom": {
|
|
18423
18368
|
"name": "UmFieldBase",
|
|
18424
18369
|
"module": "src/field/field-base.ts"
|
|
18425
18370
|
}
|
|
18426
18371
|
},
|
|
18427
18372
|
{
|
|
18428
|
-
"
|
|
18429
|
-
"name": "assignedTrailingIcons",
|
|
18373
|
+
"name": "has-leading-icon",
|
|
18430
18374
|
"type": {
|
|
18431
|
-
"text": "
|
|
18375
|
+
"text": "boolean"
|
|
18432
18376
|
},
|
|
18433
|
-
"
|
|
18377
|
+
"default": "false",
|
|
18378
|
+
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
18379
|
+
"fieldName": "hasLeadingIcon",
|
|
18434
18380
|
"inheritedFrom": {
|
|
18435
18381
|
"name": "UmFieldBase",
|
|
18436
18382
|
"module": "src/field/field-base.ts"
|
|
18437
18383
|
}
|
|
18438
18384
|
},
|
|
18439
18385
|
{
|
|
18440
|
-
"
|
|
18441
|
-
"name": "assignedErrorTexts",
|
|
18386
|
+
"name": "has-trailing-icon",
|
|
18442
18387
|
"type": {
|
|
18443
|
-
"text": "
|
|
18388
|
+
"text": "boolean"
|
|
18444
18389
|
},
|
|
18445
|
-
"
|
|
18390
|
+
"default": "false",
|
|
18391
|
+
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
18392
|
+
"fieldName": "hasTrailingIcon",
|
|
18446
18393
|
"inheritedFrom": {
|
|
18447
18394
|
"name": "UmFieldBase",
|
|
18448
18395
|
"module": "src/field/field-base.ts"
|
|
18449
18396
|
}
|
|
18450
18397
|
},
|
|
18451
18398
|
{
|
|
18452
|
-
"
|
|
18453
|
-
"name": "_labelElement",
|
|
18399
|
+
"name": "has-error-text",
|
|
18454
18400
|
"type": {
|
|
18455
|
-
"text": "
|
|
18401
|
+
"text": "boolean"
|
|
18456
18402
|
},
|
|
18457
|
-
"
|
|
18403
|
+
"default": "false",
|
|
18404
|
+
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
18405
|
+
"fieldName": "hasErrorText",
|
|
18458
18406
|
"inheritedFrom": {
|
|
18459
18407
|
"name": "UmFieldBase",
|
|
18460
18408
|
"module": "src/field/field-base.ts"
|
|
18461
18409
|
}
|
|
18462
|
-
}
|
|
18410
|
+
}
|
|
18411
|
+
],
|
|
18412
|
+
"superclass": {
|
|
18413
|
+
"name": "UmFieldBase",
|
|
18414
|
+
"module": "/src/field/field-base.js"
|
|
18415
|
+
}
|
|
18416
|
+
}
|
|
18417
|
+
],
|
|
18418
|
+
"exports": [
|
|
18419
|
+
{
|
|
18420
|
+
"kind": "js",
|
|
18421
|
+
"name": "UmTextFieldBase",
|
|
18422
|
+
"declaration": {
|
|
18423
|
+
"name": "UmTextFieldBase",
|
|
18424
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
18425
|
+
}
|
|
18426
|
+
}
|
|
18427
|
+
]
|
|
18428
|
+
},
|
|
18429
|
+
{
|
|
18430
|
+
"kind": "javascript-module",
|
|
18431
|
+
"path": "src/shared/selection-control/selection-control-list-item.ts",
|
|
18432
|
+
"declarations": [
|
|
18433
|
+
{
|
|
18434
|
+
"kind": "mixin",
|
|
18435
|
+
"description": "",
|
|
18436
|
+
"name": "mixinSelectionControlListItem",
|
|
18437
|
+
"members": [
|
|
18463
18438
|
{
|
|
18464
18439
|
"kind": "field",
|
|
18465
|
-
"name": "
|
|
18440
|
+
"name": "styles",
|
|
18466
18441
|
"type": {
|
|
18467
|
-
"text": "
|
|
18468
|
-
},
|
|
18469
|
-
"privacy": "protected",
|
|
18470
|
-
"inheritedFrom": {
|
|
18471
|
-
"name": "UmFieldBase",
|
|
18472
|
-
"module": "src/field/field-base.ts"
|
|
18473
|
-
}
|
|
18474
|
-
},
|
|
18475
|
-
{
|
|
18476
|
-
"kind": "method",
|
|
18477
|
-
"name": "renderControl",
|
|
18478
|
-
"privacy": "protected",
|
|
18479
|
-
"return": {
|
|
18480
|
-
"type": {
|
|
18481
|
-
"text": "TemplateResult"
|
|
18482
|
-
}
|
|
18442
|
+
"text": "array"
|
|
18483
18443
|
},
|
|
18484
|
-
"
|
|
18485
|
-
|
|
18486
|
-
"module": "src/field/field-base.ts"
|
|
18487
|
-
}
|
|
18444
|
+
"static": true,
|
|
18445
|
+
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`\n :host {\n --u-list-item-block-padding: 0;\n display: block;\n }\n\n :host(:not([disabled])) {\n cursor: pointer;\n }\n `,\n ]"
|
|
18488
18446
|
},
|
|
18489
18447
|
{
|
|
18490
18448
|
"kind": "method",
|
|
18491
|
-
"name": "
|
|
18492
|
-
"privacy": "protected",
|
|
18449
|
+
"name": "render",
|
|
18493
18450
|
"return": {
|
|
18494
18451
|
"type": {
|
|
18495
|
-
"text": "
|
|
18452
|
+
"text": "HTMLTemplateResult"
|
|
18496
18453
|
}
|
|
18497
|
-
},
|
|
18498
|
-
"inheritedFrom": {
|
|
18499
|
-
"name": "UmFieldBase",
|
|
18500
|
-
"module": "src/field/field-base.ts"
|
|
18501
18454
|
}
|
|
18502
|
-
}
|
|
18455
|
+
}
|
|
18456
|
+
],
|
|
18457
|
+
"parameters": [
|
|
18503
18458
|
{
|
|
18504
|
-
"
|
|
18505
|
-
"
|
|
18506
|
-
|
|
18507
|
-
"inheritedFrom": {
|
|
18508
|
-
"name": "UmFieldBase",
|
|
18509
|
-
"module": "src/field/field-base.ts"
|
|
18459
|
+
"name": "base",
|
|
18460
|
+
"type": {
|
|
18461
|
+
"text": "T"
|
|
18510
18462
|
}
|
|
18511
|
-
}
|
|
18463
|
+
}
|
|
18464
|
+
]
|
|
18465
|
+
}
|
|
18466
|
+
],
|
|
18467
|
+
"exports": [
|
|
18468
|
+
{
|
|
18469
|
+
"kind": "js",
|
|
18470
|
+
"name": "mixinSelectionControlListItem",
|
|
18471
|
+
"declaration": {
|
|
18472
|
+
"name": "mixinSelectionControlListItem",
|
|
18473
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
18474
|
+
}
|
|
18475
|
+
}
|
|
18476
|
+
]
|
|
18477
|
+
},
|
|
18478
|
+
{
|
|
18479
|
+
"kind": "javascript-module",
|
|
18480
|
+
"path": "src/shared/selection-control/selection-control.styles.ts",
|
|
18481
|
+
"declarations": [
|
|
18482
|
+
{
|
|
18483
|
+
"kind": "variable",
|
|
18484
|
+
"name": "styles",
|
|
18485
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u--state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n pointer-events: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u--indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u--disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u--indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n`"
|
|
18486
|
+
}
|
|
18487
|
+
],
|
|
18488
|
+
"exports": [
|
|
18489
|
+
{
|
|
18490
|
+
"kind": "js",
|
|
18491
|
+
"name": "styles",
|
|
18492
|
+
"declaration": {
|
|
18493
|
+
"name": "styles",
|
|
18494
|
+
"module": "src/shared/selection-control/selection-control.styles.ts"
|
|
18495
|
+
}
|
|
18496
|
+
}
|
|
18497
|
+
]
|
|
18498
|
+
},
|
|
18499
|
+
{
|
|
18500
|
+
"kind": "javascript-module",
|
|
18501
|
+
"path": "src/shared/selection-control/selection-control.ts",
|
|
18502
|
+
"declarations": [
|
|
18503
|
+
{
|
|
18504
|
+
"kind": "class",
|
|
18505
|
+
"description": "",
|
|
18506
|
+
"name": "UmSelectionControl",
|
|
18507
|
+
"members": [
|
|
18512
18508
|
{
|
|
18513
|
-
"kind": "
|
|
18514
|
-
"name": "
|
|
18515
|
-
"
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
|
|
18509
|
+
"kind": "field",
|
|
18510
|
+
"name": "formAssociated",
|
|
18511
|
+
"type": {
|
|
18512
|
+
"text": "boolean"
|
|
18513
|
+
},
|
|
18514
|
+
"static": true,
|
|
18515
|
+
"default": "true"
|
|
18520
18516
|
},
|
|
18521
18517
|
{
|
|
18522
|
-
"kind": "
|
|
18523
|
-
"name": "
|
|
18524
|
-
"
|
|
18525
|
-
|
|
18526
|
-
|
|
18527
|
-
|
|
18528
|
-
}
|
|
18518
|
+
"kind": "field",
|
|
18519
|
+
"name": "shadowRootOptions",
|
|
18520
|
+
"type": {
|
|
18521
|
+
"text": "ShadowRootInit"
|
|
18522
|
+
},
|
|
18523
|
+
"static": true,
|
|
18524
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
18529
18525
|
},
|
|
18530
18526
|
{
|
|
18531
|
-
"kind": "
|
|
18532
|
-
"name": "
|
|
18533
|
-
"
|
|
18534
|
-
|
|
18535
|
-
"type": {
|
|
18536
|
-
"text": "TemplateResult | typeof nothing"
|
|
18537
|
-
}
|
|
18527
|
+
"kind": "field",
|
|
18528
|
+
"name": "elementInternals",
|
|
18529
|
+
"type": {
|
|
18530
|
+
"text": "ElementInternals"
|
|
18538
18531
|
},
|
|
18539
|
-
"
|
|
18540
|
-
|
|
18541
|
-
"module": "src/field/field-base.ts"
|
|
18542
|
-
}
|
|
18543
|
-
}
|
|
18544
|
-
],
|
|
18545
|
-
"attributes": [
|
|
18532
|
+
"privacy": "protected"
|
|
18533
|
+
},
|
|
18546
18534
|
{
|
|
18547
|
-
"
|
|
18535
|
+
"kind": "field",
|
|
18536
|
+
"name": "name",
|
|
18548
18537
|
"type": {
|
|
18549
|
-
"text": "string"
|
|
18538
|
+
"text": "string | undefined"
|
|
18550
18539
|
},
|
|
18551
18540
|
"default": "''",
|
|
18552
|
-
"
|
|
18541
|
+
"attribute": "name",
|
|
18542
|
+
"reflects": true
|
|
18553
18543
|
},
|
|
18554
18544
|
{
|
|
18555
|
-
"
|
|
18545
|
+
"kind": "field",
|
|
18546
|
+
"name": "disabled",
|
|
18556
18547
|
"type": {
|
|
18557
|
-
"text": "
|
|
18558
|
-
},
|
|
18559
|
-
"default": "undefined",
|
|
18560
|
-
"resolveInitializer": {
|
|
18561
|
-
"module": "src/field/field-base.ts"
|
|
18548
|
+
"text": "boolean"
|
|
18562
18549
|
},
|
|
18563
|
-
"
|
|
18564
|
-
"
|
|
18565
|
-
|
|
18566
|
-
"module": "src/field/field-base.ts"
|
|
18567
|
-
}
|
|
18550
|
+
"default": "false",
|
|
18551
|
+
"attribute": "disabled",
|
|
18552
|
+
"reflects": true
|
|
18568
18553
|
},
|
|
18569
18554
|
{
|
|
18570
|
-
"
|
|
18555
|
+
"kind": "field",
|
|
18556
|
+
"name": "input",
|
|
18571
18557
|
"type": {
|
|
18572
|
-
"text": "
|
|
18573
|
-
},
|
|
18574
|
-
"description": "The floating label for the field",
|
|
18575
|
-
"fieldName": "label",
|
|
18576
|
-
"inheritedFrom": {
|
|
18577
|
-
"name": "UmFieldBase",
|
|
18578
|
-
"module": "src/field/field-base.ts"
|
|
18558
|
+
"text": "HTMLInputElement"
|
|
18579
18559
|
}
|
|
18580
18560
|
},
|
|
18581
18561
|
{
|
|
18582
|
-
"
|
|
18562
|
+
"kind": "field",
|
|
18563
|
+
"name": "form",
|
|
18583
18564
|
"type": {
|
|
18584
|
-
"text": "
|
|
18585
|
-
},
|
|
18586
|
-
"fieldName": "counter",
|
|
18587
|
-
"inheritedFrom": {
|
|
18588
|
-
"name": "UmFieldBase",
|
|
18589
|
-
"module": "src/field/field-base.ts"
|
|
18565
|
+
"text": "HTMLFormElement | null"
|
|
18590
18566
|
}
|
|
18591
18567
|
},
|
|
18592
18568
|
{
|
|
18593
|
-
"
|
|
18569
|
+
"kind": "method",
|
|
18570
|
+
"name": "focus",
|
|
18571
|
+
"parameters": [
|
|
18572
|
+
{
|
|
18573
|
+
"name": "options",
|
|
18574
|
+
"optional": true,
|
|
18575
|
+
"type": {
|
|
18576
|
+
"text": "FocusOptions"
|
|
18577
|
+
}
|
|
18578
|
+
}
|
|
18579
|
+
]
|
|
18580
|
+
},
|
|
18581
|
+
{
|
|
18582
|
+
"kind": "field",
|
|
18583
|
+
"name": "#checked",
|
|
18584
|
+
"privacy": "private",
|
|
18594
18585
|
"type": {
|
|
18595
18586
|
"text": "boolean"
|
|
18596
18587
|
},
|
|
18597
|
-
"default": "false"
|
|
18598
|
-
"fieldName": "hideCounter",
|
|
18599
|
-
"inheritedFrom": {
|
|
18600
|
-
"name": "UmFieldBase",
|
|
18601
|
-
"module": "src/field/field-base.ts"
|
|
18602
|
-
}
|
|
18588
|
+
"default": "false"
|
|
18603
18589
|
},
|
|
18604
18590
|
{
|
|
18605
|
-
"
|
|
18591
|
+
"kind": "field",
|
|
18592
|
+
"name": "inputType",
|
|
18606
18593
|
"type": {
|
|
18607
|
-
"text": "
|
|
18594
|
+
"text": "'checkbox' | 'radio'"
|
|
18608
18595
|
},
|
|
18609
|
-
"
|
|
18610
|
-
"
|
|
18611
|
-
"inheritedFrom": {
|
|
18612
|
-
"name": "UmFieldBase",
|
|
18613
|
-
"module": "src/field/field-base.ts"
|
|
18614
|
-
}
|
|
18596
|
+
"privacy": "protected",
|
|
18597
|
+
"default": "'checkbox'"
|
|
18615
18598
|
},
|
|
18616
18599
|
{
|
|
18617
|
-
"
|
|
18600
|
+
"kind": "field",
|
|
18601
|
+
"name": "renderRipple",
|
|
18618
18602
|
"type": {
|
|
18619
|
-
"text": "
|
|
18603
|
+
"text": "boolean"
|
|
18620
18604
|
},
|
|
18621
|
-
"
|
|
18622
|
-
"
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18605
|
+
"privacy": "protected",
|
|
18606
|
+
"default": "true"
|
|
18607
|
+
},
|
|
18608
|
+
{
|
|
18609
|
+
"kind": "method",
|
|
18610
|
+
"name": "renderIndicator",
|
|
18611
|
+
"privacy": "protected",
|
|
18612
|
+
"return": {
|
|
18613
|
+
"type": {
|
|
18614
|
+
"text": "HTMLTemplateResult"
|
|
18615
|
+
}
|
|
18626
18616
|
}
|
|
18627
18617
|
},
|
|
18628
18618
|
{
|
|
18629
|
-
"
|
|
18619
|
+
"kind": "field",
|
|
18620
|
+
"name": "value",
|
|
18630
18621
|
"type": {
|
|
18631
|
-
"text": "
|
|
18622
|
+
"text": "string"
|
|
18632
18623
|
},
|
|
18633
|
-
"default": "
|
|
18634
|
-
"description": "
|
|
18635
|
-
"
|
|
18636
|
-
"inheritedFrom": {
|
|
18637
|
-
"name": "UmFieldBase",
|
|
18638
|
-
"module": "src/field/field-base.ts"
|
|
18639
|
-
}
|
|
18624
|
+
"default": "'on'",
|
|
18625
|
+
"description": "The element value to use in form submission when checked.",
|
|
18626
|
+
"attribute": "value"
|
|
18640
18627
|
},
|
|
18641
18628
|
{
|
|
18642
|
-
"
|
|
18629
|
+
"kind": "field",
|
|
18630
|
+
"name": "checked",
|
|
18631
|
+
"attribute": "checked"
|
|
18632
|
+
},
|
|
18633
|
+
{
|
|
18634
|
+
"kind": "field",
|
|
18635
|
+
"name": "_checkedAttribute",
|
|
18643
18636
|
"type": {
|
|
18644
18637
|
"text": "boolean"
|
|
18645
18638
|
},
|
|
18639
|
+
"privacy": "private",
|
|
18646
18640
|
"default": "false",
|
|
18647
|
-
"
|
|
18648
|
-
|
|
18649
|
-
|
|
18650
|
-
|
|
18641
|
+
"attribute": "checked"
|
|
18642
|
+
},
|
|
18643
|
+
{
|
|
18644
|
+
"kind": "method",
|
|
18645
|
+
"name": "#handleClick",
|
|
18646
|
+
"parameters": [
|
|
18647
|
+
{
|
|
18648
|
+
"name": "e",
|
|
18649
|
+
"type": {
|
|
18650
|
+
"text": "Event"
|
|
18651
|
+
}
|
|
18652
|
+
}
|
|
18653
|
+
]
|
|
18654
|
+
}
|
|
18655
|
+
],
|
|
18656
|
+
"events": [
|
|
18657
|
+
{
|
|
18658
|
+
"name": "input",
|
|
18659
|
+
"type": {
|
|
18660
|
+
"text": "InputEvent"
|
|
18651
18661
|
}
|
|
18652
18662
|
},
|
|
18653
18663
|
{
|
|
18654
|
-
"name": "
|
|
18664
|
+
"name": "change",
|
|
18655
18665
|
"type": {
|
|
18656
|
-
"text": "
|
|
18657
|
-
},
|
|
18658
|
-
"default": "false",
|
|
18659
|
-
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
18660
|
-
"fieldName": "invalid",
|
|
18661
|
-
"inheritedFrom": {
|
|
18662
|
-
"name": "UmFieldBase",
|
|
18663
|
-
"module": "src/field/field-base.ts"
|
|
18666
|
+
"text": "Event"
|
|
18664
18667
|
}
|
|
18668
|
+
}
|
|
18669
|
+
],
|
|
18670
|
+
"attributes": [
|
|
18671
|
+
{
|
|
18672
|
+
"name": "name",
|
|
18673
|
+
"type": {
|
|
18674
|
+
"text": "string | undefined"
|
|
18675
|
+
},
|
|
18676
|
+
"default": "''",
|
|
18677
|
+
"fieldName": "name"
|
|
18665
18678
|
},
|
|
18666
18679
|
{
|
|
18667
|
-
"name": "
|
|
18680
|
+
"name": "disabled",
|
|
18668
18681
|
"type": {
|
|
18669
18682
|
"text": "boolean"
|
|
18670
18683
|
},
|
|
18671
18684
|
"default": "false",
|
|
18672
|
-
"
|
|
18673
|
-
"fieldName": "hasLeadingIcon",
|
|
18674
|
-
"inheritedFrom": {
|
|
18675
|
-
"name": "UmFieldBase",
|
|
18676
|
-
"module": "src/field/field-base.ts"
|
|
18677
|
-
}
|
|
18685
|
+
"fieldName": "disabled"
|
|
18678
18686
|
},
|
|
18679
18687
|
{
|
|
18680
|
-
"name": "
|
|
18688
|
+
"name": "value",
|
|
18681
18689
|
"type": {
|
|
18682
|
-
"text": "
|
|
18690
|
+
"text": "string"
|
|
18683
18691
|
},
|
|
18684
|
-
"default": "
|
|
18685
|
-
"description": "
|
|
18686
|
-
"fieldName": "
|
|
18687
|
-
"inheritedFrom": {
|
|
18688
|
-
"name": "UmFieldBase",
|
|
18689
|
-
"module": "src/field/field-base.ts"
|
|
18690
|
-
}
|
|
18692
|
+
"default": "'on'",
|
|
18693
|
+
"description": "The element value to use in form submission when checked.",
|
|
18694
|
+
"fieldName": "value"
|
|
18691
18695
|
},
|
|
18692
18696
|
{
|
|
18693
|
-
"name": "
|
|
18697
|
+
"name": "checked",
|
|
18698
|
+
"fieldName": "_checkedAttribute",
|
|
18694
18699
|
"type": {
|
|
18695
18700
|
"text": "boolean"
|
|
18696
18701
|
},
|
|
18697
|
-
"default": "false"
|
|
18698
|
-
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
18699
|
-
"fieldName": "hasErrorText",
|
|
18700
|
-
"inheritedFrom": {
|
|
18701
|
-
"name": "UmFieldBase",
|
|
18702
|
-
"module": "src/field/field-base.ts"
|
|
18703
|
-
}
|
|
18702
|
+
"default": "false"
|
|
18704
18703
|
}
|
|
18705
18704
|
],
|
|
18706
18705
|
"superclass": {
|
|
18707
|
-
"name": "
|
|
18708
|
-
"
|
|
18709
|
-
}
|
|
18706
|
+
"name": "LitElement",
|
|
18707
|
+
"package": "lit"
|
|
18708
|
+
},
|
|
18709
|
+
"customElement": true
|
|
18710
18710
|
}
|
|
18711
18711
|
],
|
|
18712
18712
|
"exports": [
|
|
18713
18713
|
{
|
|
18714
18714
|
"kind": "js",
|
|
18715
|
-
"name": "
|
|
18715
|
+
"name": "UmSelectionControl",
|
|
18716
18716
|
"declaration": {
|
|
18717
|
-
"name": "
|
|
18718
|
-
"module": "src/shared/
|
|
18717
|
+
"name": "UmSelectionControl",
|
|
18718
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
18719
18719
|
}
|
|
18720
18720
|
}
|
|
18721
18721
|
]
|