@universal-material/web 3.0.104 → 3.0.106
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/app-bar/top-app-bar.js +3 -3
- package/app-bar/top-app-bar.js.map +1 -1
- package/button/button.d.ts +0 -1
- package/button/button.d.ts.map +1 -1
- package/button/button.js +6 -11
- package/button/button.js.map +1 -1
- package/button/button.styles.d.ts.map +1 -1
- package/button/button.styles.js +2 -4
- package/button/button.styles.js.map +1 -1
- package/custom-elements.json +1578 -1578
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -1396,7 +1396,7 @@
|
|
|
1396
1396
|
{
|
|
1397
1397
|
"kind": "variable",
|
|
1398
1398
|
"name": "styles",
|
|
1399
|
-
"default": "css `\n :host {\n --u-common-button-line-height: var(--u-label-large-line-height, 1.25rem);\n --u-common-button-font-size: var(--u-label-large-font-size, 0.875rem);\n --u-common-button-font-weight: var(--u-font-weight-medium, 500);\n --_common-button-height: var(--u-common-button-height, 2.5rem);\n --_common-button-padding: var(--u-common-button-padding, 24px);\n --_common-button-icon-size: var(--u-common-button-icon-size, 1.125rem);\n --_common-button-icon-padding: var(--u-common-button-icon-padding, 16px);\n --_common-button-icon-margin: var(--u-common-button-icon-margin, 8px);\n border-radius: var(--u-common-button-shape-corner, var(--u-shape-corner-full, 9999px));\n 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 height: var(--u-common-button-height, 40px);\n font-size: var(--u-common-button-font-size);\n font-weight: var(--u-common-button-font-weight);\n padding-inline: var(--_common-button-padding);\n box-sizing: border-box;\n }\n\n :host([variant=filled]),\n :host([variant=filled][color=primary]) {\n background-color: var(--u-filled-button-primary-container-color, var(--_color-primary));\n color: var(--u-filled-button-primary-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=secondary]) {\n background-color: var(--u-filled-button-secondary-container-color, var(--u-color-secondary, rgb(98, 91, 113)));\n color: var(--u-filled-button-secondary-text-color, var(--u-color-on-secondary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=tertiary]) {\n background-color: var(--u-filled-button-tertiary-container-color, var(--u-color-tertiary, rgb(125, 82, 96)));\n color: var(--u-filled-button-tertiary-text-color, var(--u-color-on-tertiary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=error]) {\n background-color: var(--u-filled-button-error-container-color, var(--u-color-error, rgb(179, 38, 30)));\n color: var(--u-filled-button-error-text-color, var(--u-color-on-error, rgb(255, 255, 255)));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-tonal-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-elevated-button-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:hover:not(:focus-within):not(:active)),\n :host([variant=tonal]:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-filled-button-hover-elevation-level, 1);\n }\n }\n :host([variant=text]) {\n color: var(--u-text-button-text-color, var(--_color-primary));\n }\n\n :host([variant=outlined]) {\n color: var(--u-outlined-button-text-color, var(--u-text-button-text-color, var(--_color-primary)));\n border: 1px solid var(--u-outlined-button-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n }\n\n :host([variant=elevated]) {\n --u-elevation-level: var(--u-elevated-button-elevation-level, 1);\n color: var(--u-elevated-button-text-color, var(--_color-primary));\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-button-disabled-border-opacity, 0.12))) !important;\n }\n\n @media (hover: hover) {\n :host([variant=elevated]:hover) {\n --u-elevation-level: var(--u-elevated-button-hover-elevation-level, 2);\n }\n }\n :host([has-icon]) {\n padding-inline: var(--_common-button-icon-padding) var(--_common-button-padding);\n }\n\n :host([has-icon][trailing-icon]) {\n padding-inline: var(--_common-button-padding) var(--_common-button-icon-padding);\n }\n\n :host(:not([has-icon])) .icon {\n display: none;\n }\n\n .icon {\n font-size: var(--_common-button-icon-size);\n
|
|
1399
|
+
"default": "css `\n :host {\n --u-common-button-line-height: var(--u-label-large-line-height, 1.25rem);\n --u-common-button-font-size: var(--u-label-large-font-size, 0.875rem);\n --u-common-button-font-weight: var(--u-font-weight-medium, 500);\n --_common-button-height: var(--u-common-button-height, 2.5rem);\n --_common-button-padding: var(--u-common-button-padding, 24px);\n --_common-button-icon-size: var(--u-common-button-icon-size, 1.125rem);\n --_common-button-icon-padding: var(--u-common-button-icon-padding, 16px);\n --_common-button-icon-margin: var(--u-common-button-icon-margin, 8px);\n border-radius: var(--u-common-button-shape-corner, var(--u-shape-corner-full, 9999px));\n 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 height: var(--u-common-button-height, 40px);\n font-size: var(--u-common-button-font-size);\n font-weight: var(--u-common-button-font-weight);\n padding-inline: var(--_common-button-padding);\n box-sizing: border-box;\n }\n\n :host([variant=filled]),\n :host([variant=filled][color=primary]) {\n background-color: var(--u-filled-button-primary-container-color, var(--_color-primary));\n color: var(--u-filled-button-primary-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=secondary]) {\n background-color: var(--u-filled-button-secondary-container-color, var(--u-color-secondary, rgb(98, 91, 113)));\n color: var(--u-filled-button-secondary-text-color, var(--u-color-on-secondary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=tertiary]) {\n background-color: var(--u-filled-button-tertiary-container-color, var(--u-color-tertiary, rgb(125, 82, 96)));\n color: var(--u-filled-button-tertiary-text-color, var(--u-color-on-tertiary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=error]) {\n background-color: var(--u-filled-button-error-container-color, var(--u-color-error, rgb(179, 38, 30)));\n color: var(--u-filled-button-error-text-color, var(--u-color-on-error, rgb(255, 255, 255)));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-tonal-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-elevated-button-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:hover:not(:focus-within):not(:active)),\n :host([variant=tonal]:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-filled-button-hover-elevation-level, 1);\n }\n }\n :host([variant=text]) {\n color: var(--u-text-button-text-color, var(--_color-primary));\n }\n\n :host([variant=outlined]) {\n color: var(--u-outlined-button-text-color, var(--u-text-button-text-color, var(--_color-primary)));\n border: 1px solid var(--u-outlined-button-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n }\n\n :host([variant=elevated]) {\n --u-elevation-level: var(--u-elevated-button-elevation-level, 1);\n color: var(--u-elevated-button-text-color, var(--_color-primary));\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-button-disabled-border-opacity, 0.12))) !important;\n }\n\n @media (hover: hover) {\n :host([variant=elevated]:hover) {\n --u-elevation-level: var(--u-elevated-button-hover-elevation-level, 2);\n }\n }\n :host([has-icon]) {\n padding-inline: var(--_common-button-icon-padding) var(--_common-button-padding);\n }\n\n :host([has-icon][trailing-icon]) {\n padding-inline: var(--_common-button-padding) var(--_common-button-icon-padding);\n }\n\n :host(:not([has-icon])) .icon {\n display: none;\n }\n\n .icon {\n font-size: var(--_common-button-icon-size);\n margin-inline-end: var(--_common-button-icon-margin);\n }\n\n :host([trailing-icon]) .icon {\n margin-inline: var(--_common-button-icon-margin) 0;\n }\n`"
|
|
1400
1400
|
}
|
|
1401
1401
|
],
|
|
1402
1402
|
"exports": [
|
|
@@ -1461,14 +1461,6 @@
|
|
|
1461
1461
|
"attribute": "has-icon",
|
|
1462
1462
|
"reflects": true
|
|
1463
1463
|
},
|
|
1464
|
-
{
|
|
1465
|
-
"kind": "field",
|
|
1466
|
-
"name": "assignedIcons",
|
|
1467
|
-
"type": {
|
|
1468
|
-
"text": "HTMLElement[]"
|
|
1469
|
-
},
|
|
1470
|
-
"privacy": "private"
|
|
1471
|
-
},
|
|
1472
1464
|
{
|
|
1473
1465
|
"kind": "method",
|
|
1474
1466
|
"name": "renderContent",
|
|
@@ -1486,7 +1478,15 @@
|
|
|
1486
1478
|
{
|
|
1487
1479
|
"kind": "method",
|
|
1488
1480
|
"name": "handleSlotChange",
|
|
1489
|
-
"privacy": "private"
|
|
1481
|
+
"privacy": "private",
|
|
1482
|
+
"parameters": [
|
|
1483
|
+
{
|
|
1484
|
+
"name": "e",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"text": "Event"
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
]
|
|
1490
1490
|
},
|
|
1491
1491
|
{
|
|
1492
1492
|
"kind": "field",
|
|
@@ -3712,12 +3712,12 @@
|
|
|
3712
3712
|
},
|
|
3713
3713
|
{
|
|
3714
3714
|
"kind": "javascript-module",
|
|
3715
|
-
"path": "src/chip
|
|
3715
|
+
"path": "src/chip/chip-set.styles.ts",
|
|
3716
3716
|
"declarations": [
|
|
3717
3717
|
{
|
|
3718
3718
|
"kind": "variable",
|
|
3719
3719
|
"name": "styles",
|
|
3720
|
-
"default": "css `\n
|
|
3720
|
+
"default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
|
|
3721
3721
|
}
|
|
3722
3722
|
],
|
|
3723
3723
|
"exports": [
|
|
@@ -3726,1376 +3726,1323 @@
|
|
|
3726
3726
|
"name": "styles",
|
|
3727
3727
|
"declaration": {
|
|
3728
3728
|
"name": "styles",
|
|
3729
|
-
"module": "src/chip
|
|
3729
|
+
"module": "src/chip/chip-set.styles.ts"
|
|
3730
3730
|
}
|
|
3731
3731
|
}
|
|
3732
3732
|
]
|
|
3733
3733
|
},
|
|
3734
3734
|
{
|
|
3735
3735
|
"kind": "javascript-module",
|
|
3736
|
-
"path": "src/chip
|
|
3736
|
+
"path": "src/chip/chip-set.ts",
|
|
3737
3737
|
"declarations": [
|
|
3738
3738
|
{
|
|
3739
3739
|
"kind": "class",
|
|
3740
3740
|
"description": "",
|
|
3741
|
-
"name": "
|
|
3741
|
+
"name": "UmChipSet",
|
|
3742
3742
|
"members": [
|
|
3743
3743
|
{
|
|
3744
3744
|
"kind": "field",
|
|
3745
|
-
"name": "
|
|
3745
|
+
"name": "alignment",
|
|
3746
3746
|
"type": {
|
|
3747
|
-
"text": "
|
|
3747
|
+
"text": "'start' | 'center' | 'end'"
|
|
3748
|
+
},
|
|
3749
|
+
"default": "'start'",
|
|
3750
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
3751
|
+
"attribute": "alignment",
|
|
3752
|
+
"reflects": true,
|
|
3753
|
+
"inheritedFrom": {
|
|
3754
|
+
"name": "UmSetBase",
|
|
3755
|
+
"module": "src/shared/sets/set-base.ts"
|
|
3756
|
+
}
|
|
3757
|
+
}
|
|
3758
|
+
],
|
|
3759
|
+
"superclass": {
|
|
3760
|
+
"name": "UmSetBase",
|
|
3761
|
+
"module": "/src/shared/sets/set-base.js"
|
|
3762
|
+
},
|
|
3763
|
+
"tagName": "u-chip-set",
|
|
3764
|
+
"customElement": true,
|
|
3765
|
+
"attributes": [
|
|
3766
|
+
{
|
|
3767
|
+
"name": "alignment",
|
|
3768
|
+
"type": {
|
|
3769
|
+
"text": "'start' | 'center' | 'end'"
|
|
3770
|
+
},
|
|
3771
|
+
"default": "'start'",
|
|
3772
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
3773
|
+
"fieldName": "alignment",
|
|
3774
|
+
"inheritedFrom": {
|
|
3775
|
+
"name": "UmSetBase",
|
|
3776
|
+
"module": "src/shared/sets/set-base.ts"
|
|
3748
3777
|
}
|
|
3778
|
+
}
|
|
3779
|
+
]
|
|
3780
|
+
}
|
|
3781
|
+
],
|
|
3782
|
+
"exports": [
|
|
3783
|
+
{
|
|
3784
|
+
"kind": "js",
|
|
3785
|
+
"name": "UmChipSet",
|
|
3786
|
+
"declaration": {
|
|
3787
|
+
"name": "UmChipSet",
|
|
3788
|
+
"module": "src/chip/chip-set.ts"
|
|
3789
|
+
}
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
"kind": "custom-element-definition",
|
|
3793
|
+
"name": "u-chip-set",
|
|
3794
|
+
"declaration": {
|
|
3795
|
+
"name": "UmChipSet",
|
|
3796
|
+
"module": "src/chip/chip-set.ts"
|
|
3797
|
+
}
|
|
3798
|
+
}
|
|
3799
|
+
]
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
"kind": "javascript-module",
|
|
3803
|
+
"path": "src/chip/chip.styles.ts",
|
|
3804
|
+
"declarations": [
|
|
3805
|
+
{
|
|
3806
|
+
"kind": "variable",
|
|
3807
|
+
"name": "styles",
|
|
3808
|
+
"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`"
|
|
3809
|
+
}
|
|
3810
|
+
],
|
|
3811
|
+
"exports": [
|
|
3812
|
+
{
|
|
3813
|
+
"kind": "js",
|
|
3814
|
+
"name": "styles",
|
|
3815
|
+
"declaration": {
|
|
3816
|
+
"name": "styles",
|
|
3817
|
+
"module": "src/chip/chip.styles.ts"
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3820
|
+
]
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"kind": "javascript-module",
|
|
3824
|
+
"path": "src/chip/chip.ts",
|
|
3825
|
+
"declarations": [
|
|
3826
|
+
{
|
|
3827
|
+
"kind": "class",
|
|
3828
|
+
"description": "",
|
|
3829
|
+
"name": "UmChip",
|
|
3830
|
+
"members": [
|
|
3831
|
+
{
|
|
3832
|
+
"kind": "field",
|
|
3833
|
+
"name": "#clickable",
|
|
3834
|
+
"privacy": "private",
|
|
3835
|
+
"type": {
|
|
3836
|
+
"text": "boolean"
|
|
3837
|
+
},
|
|
3838
|
+
"default": "false"
|
|
3749
3839
|
},
|
|
3750
3840
|
{
|
|
3751
3841
|
"kind": "field",
|
|
3752
|
-
"name": "
|
|
3842
|
+
"name": "#toggle",
|
|
3843
|
+
"privacy": "private",
|
|
3753
3844
|
"type": {
|
|
3754
|
-
"text": "
|
|
3845
|
+
"text": "boolean"
|
|
3755
3846
|
},
|
|
3756
|
-
"
|
|
3847
|
+
"default": "false"
|
|
3757
3848
|
},
|
|
3758
3849
|
{
|
|
3759
3850
|
"kind": "field",
|
|
3760
|
-
"name": "
|
|
3851
|
+
"name": "selected",
|
|
3761
3852
|
"type": {
|
|
3762
3853
|
"text": "boolean"
|
|
3763
3854
|
},
|
|
3764
3855
|
"default": "false",
|
|
3765
|
-
"description": "
|
|
3766
|
-
"attribute": "
|
|
3856
|
+
"description": "Whether the chip is selected or not",
|
|
3857
|
+
"attribute": "selected",
|
|
3858
|
+
"reflects": true
|
|
3767
3859
|
},
|
|
3768
3860
|
{
|
|
3769
3861
|
"kind": "field",
|
|
3770
|
-
"name": "
|
|
3862
|
+
"name": "clickable",
|
|
3771
3863
|
"type": {
|
|
3772
|
-
"text": "
|
|
3864
|
+
"text": "boolean"
|
|
3773
3865
|
},
|
|
3774
|
-
"
|
|
3866
|
+
"attribute": "clickable",
|
|
3867
|
+
"reflects": true
|
|
3775
3868
|
},
|
|
3776
3869
|
{
|
|
3777
3870
|
"kind": "field",
|
|
3778
|
-
"name": "
|
|
3871
|
+
"name": "elevated",
|
|
3779
3872
|
"type": {
|
|
3780
|
-
"text": "
|
|
3873
|
+
"text": "boolean"
|
|
3781
3874
|
},
|
|
3782
|
-
"
|
|
3875
|
+
"default": "false",
|
|
3876
|
+
"description": "Adds elevation to the chip",
|
|
3877
|
+
"attribute": "elevated",
|
|
3878
|
+
"reflects": true
|
|
3783
3879
|
},
|
|
3784
3880
|
{
|
|
3785
3881
|
"kind": "field",
|
|
3786
|
-
"name": "
|
|
3787
|
-
"privacy": "private",
|
|
3882
|
+
"name": "toggle",
|
|
3788
3883
|
"type": {
|
|
3789
|
-
"text": "
|
|
3884
|
+
"text": "boolean"
|
|
3790
3885
|
},
|
|
3791
|
-
"
|
|
3886
|
+
"description": "When true, the chip will toggle between selected and unselected\nstates",
|
|
3887
|
+
"attribute": "toggle",
|
|
3888
|
+
"reflects": true
|
|
3792
3889
|
},
|
|
3793
3890
|
{
|
|
3794
3891
|
"kind": "field",
|
|
3795
|
-
"name": "
|
|
3892
|
+
"name": "removable",
|
|
3796
3893
|
"type": {
|
|
3797
|
-
"text": "
|
|
3894
|
+
"text": "boolean"
|
|
3798
3895
|
},
|
|
3799
|
-
"
|
|
3896
|
+
"default": "false",
|
|
3897
|
+
"description": "Add the remove icon",
|
|
3898
|
+
"attribute": "removable",
|
|
3899
|
+
"reflects": true
|
|
3800
3900
|
},
|
|
3801
3901
|
{
|
|
3802
|
-
"kind": "
|
|
3803
|
-
"name": "
|
|
3804
|
-
"
|
|
3902
|
+
"kind": "field",
|
|
3903
|
+
"name": "hideSelectedIcon",
|
|
3904
|
+
"type": {
|
|
3905
|
+
"text": "boolean"
|
|
3906
|
+
},
|
|
3907
|
+
"default": "false",
|
|
3908
|
+
"description": "Hide the selected icon",
|
|
3909
|
+
"attribute": "hide-selected-icon",
|
|
3910
|
+
"reflects": true
|
|
3805
3911
|
},
|
|
3806
3912
|
{
|
|
3807
|
-
"kind": "
|
|
3808
|
-
"name": "
|
|
3913
|
+
"kind": "field",
|
|
3914
|
+
"name": "hasLeadingIcon",
|
|
3915
|
+
"type": {
|
|
3916
|
+
"text": "boolean"
|
|
3917
|
+
},
|
|
3918
|
+
"default": "false",
|
|
3919
|
+
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
3920
|
+
"attribute": "has-leading-icon",
|
|
3921
|
+
"reflects": true
|
|
3809
3922
|
},
|
|
3810
3923
|
{
|
|
3811
|
-
"kind": "
|
|
3812
|
-
"name": "
|
|
3813
|
-
"
|
|
3814
|
-
|
|
3815
|
-
"type": {
|
|
3816
|
-
"text": "HTMLTemplateResult"
|
|
3817
|
-
}
|
|
3924
|
+
"kind": "field",
|
|
3925
|
+
"name": "hasSelectedIcon",
|
|
3926
|
+
"type": {
|
|
3927
|
+
"text": "boolean"
|
|
3818
3928
|
},
|
|
3819
|
-
"
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3929
|
+
"default": "false",
|
|
3930
|
+
"description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
|
|
3931
|
+
"attribute": "has-selected-icon",
|
|
3932
|
+
"reflects": true
|
|
3823
3933
|
},
|
|
3824
3934
|
{
|
|
3825
|
-
"kind": "
|
|
3826
|
-
"name": "
|
|
3935
|
+
"kind": "field",
|
|
3936
|
+
"name": "hasTrailingIcon",
|
|
3937
|
+
"type": {
|
|
3938
|
+
"text": "boolean"
|
|
3939
|
+
},
|
|
3940
|
+
"default": "false",
|
|
3941
|
+
"description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
|
|
3942
|
+
"attribute": "has-trailing-icon",
|
|
3943
|
+
"reflects": true
|
|
3827
3944
|
},
|
|
3828
3945
|
{
|
|
3829
|
-
"kind": "
|
|
3830
|
-
"name": "
|
|
3946
|
+
"kind": "field",
|
|
3947
|
+
"name": "assignedLeadingIcons",
|
|
3948
|
+
"type": {
|
|
3949
|
+
"text": "HTMLElement[]"
|
|
3950
|
+
},
|
|
3951
|
+
"privacy": "private"
|
|
3831
3952
|
},
|
|
3832
3953
|
{
|
|
3833
|
-
"kind": "
|
|
3834
|
-
"name": "
|
|
3954
|
+
"kind": "field",
|
|
3955
|
+
"name": "assignedSelectedIcons",
|
|
3956
|
+
"type": {
|
|
3957
|
+
"text": "HTMLElement[]"
|
|
3958
|
+
},
|
|
3959
|
+
"privacy": "private"
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
"kind": "field",
|
|
3963
|
+
"name": "assignedTrailingIcons",
|
|
3964
|
+
"type": {
|
|
3965
|
+
"text": "HTMLElement[]"
|
|
3966
|
+
},
|
|
3967
|
+
"privacy": "private"
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
"kind": "field",
|
|
3971
|
+
"name": "removeRipple",
|
|
3972
|
+
"type": {
|
|
3973
|
+
"text": "UmRipple"
|
|
3974
|
+
}
|
|
3835
3975
|
},
|
|
3836
3976
|
{
|
|
3837
3977
|
"kind": "method",
|
|
3838
|
-
"name": "#
|
|
3978
|
+
"name": "#handleRemoveClick",
|
|
3839
3979
|
"parameters": [
|
|
3840
3980
|
{
|
|
3841
3981
|
"name": "e",
|
|
3842
3982
|
"type": {
|
|
3843
|
-
"text": "
|
|
3844
|
-
}
|
|
3845
|
-
}
|
|
3846
|
-
]
|
|
3847
|
-
},
|
|
3848
|
-
{
|
|
3849
|
-
"kind": "method",
|
|
3850
|
-
"name": "add",
|
|
3851
|
-
"parameters": [
|
|
3852
|
-
{
|
|
3853
|
-
"name": "value",
|
|
3854
|
-
"type": {
|
|
3855
|
-
"text": "any"
|
|
3856
|
-
}
|
|
3857
|
-
},
|
|
3858
|
-
{
|
|
3859
|
-
"name": "triggerChange",
|
|
3860
|
-
"default": "false"
|
|
3861
|
-
}
|
|
3862
|
-
]
|
|
3863
|
-
},
|
|
3864
|
-
{
|
|
3865
|
-
"kind": "method",
|
|
3866
|
-
"name": "removeAt",
|
|
3867
|
-
"parameters": [
|
|
3868
|
-
{
|
|
3869
|
-
"name": "index",
|
|
3870
|
-
"type": {
|
|
3871
|
-
"text": "number"
|
|
3983
|
+
"text": "Event"
|
|
3872
3984
|
}
|
|
3873
|
-
},
|
|
3874
|
-
{
|
|
3875
|
-
"name": "triggerChange",
|
|
3876
|
-
"default": "false"
|
|
3877
3985
|
}
|
|
3878
3986
|
]
|
|
3879
3987
|
},
|
|
3880
|
-
{
|
|
3881
|
-
"kind": "field",
|
|
3882
|
-
"name": "#removeChip",
|
|
3883
|
-
"privacy": "private"
|
|
3884
|
-
},
|
|
3885
3988
|
{
|
|
3886
3989
|
"kind": "method",
|
|
3887
|
-
"name": "#
|
|
3888
|
-
"parameters": [
|
|
3889
|
-
{
|
|
3890
|
-
"name": "triggerChange",
|
|
3891
|
-
"type": {
|
|
3892
|
-
"text": "boolean"
|
|
3893
|
-
}
|
|
3894
|
-
}
|
|
3895
|
-
]
|
|
3990
|
+
"name": "#handleTrailingIconSlotChange"
|
|
3896
3991
|
},
|
|
3897
3992
|
{
|
|
3898
3993
|
"kind": "method",
|
|
3899
|
-
"name": "#
|
|
3994
|
+
"name": "#handleLeadingIconSlotChange"
|
|
3900
3995
|
},
|
|
3901
3996
|
{
|
|
3902
3997
|
"kind": "method",
|
|
3903
|
-
"name": "#
|
|
3998
|
+
"name": "#handleSelectedIconSlotChange"
|
|
3904
3999
|
},
|
|
3905
4000
|
{
|
|
3906
4001
|
"kind": "method",
|
|
3907
|
-
"name": "
|
|
4002
|
+
"name": "handleClick",
|
|
4003
|
+
"privacy": "protected",
|
|
3908
4004
|
"return": {
|
|
3909
4005
|
"type": {
|
|
3910
|
-
"text": "
|
|
4006
|
+
"text": "void"
|
|
3911
4007
|
}
|
|
3912
4008
|
},
|
|
3913
4009
|
"parameters": [
|
|
3914
4010
|
{
|
|
3915
|
-
"name": "
|
|
4011
|
+
"name": "event",
|
|
3916
4012
|
"type": {
|
|
3917
|
-
"text": "
|
|
4013
|
+
"text": "UIEvent"
|
|
3918
4014
|
}
|
|
3919
4015
|
}
|
|
3920
|
-
]
|
|
4016
|
+
],
|
|
4017
|
+
"inheritedFrom": {
|
|
4018
|
+
"name": "UmButtonWrapper",
|
|
4019
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4020
|
+
}
|
|
3921
4021
|
},
|
|
3922
4022
|
{
|
|
3923
4023
|
"kind": "method",
|
|
3924
|
-
"name": "
|
|
3925
|
-
"privacy": "
|
|
3926
|
-
"
|
|
3927
|
-
{
|
|
3928
|
-
"
|
|
3929
|
-
"type": {
|
|
3930
|
-
"text": "any"
|
|
3931
|
-
}
|
|
4024
|
+
"name": "renderContent",
|
|
4025
|
+
"privacy": "protected",
|
|
4026
|
+
"return": {
|
|
4027
|
+
"type": {
|
|
4028
|
+
"text": "HTMLTemplateResult"
|
|
3932
4029
|
}
|
|
3933
|
-
|
|
4030
|
+
},
|
|
4031
|
+
"inheritedFrom": {
|
|
4032
|
+
"name": "UmButtonWrapper",
|
|
4033
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4034
|
+
}
|
|
3934
4035
|
},
|
|
3935
4036
|
{
|
|
3936
4037
|
"kind": "field",
|
|
3937
|
-
"name": "
|
|
4038
|
+
"name": "disabled",
|
|
3938
4039
|
"type": {
|
|
3939
4040
|
"text": "boolean"
|
|
3940
4041
|
},
|
|
3941
|
-
"
|
|
3942
|
-
"
|
|
4042
|
+
"default": "false",
|
|
4043
|
+
"description": "Whether the button is disabled or not.",
|
|
4044
|
+
"attribute": "disabled",
|
|
4045
|
+
"reflects": true,
|
|
3943
4046
|
"inheritedFrom": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"module": "src/shared/
|
|
4047
|
+
"name": "UmButtonWrapper",
|
|
4048
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3946
4049
|
}
|
|
3947
4050
|
},
|
|
3948
4051
|
{
|
|
3949
4052
|
"kind": "field",
|
|
3950
|
-
"name": "
|
|
4053
|
+
"name": "renderRipple",
|
|
3951
4054
|
"type": {
|
|
3952
|
-
"text": "
|
|
4055
|
+
"text": "boolean"
|
|
3953
4056
|
},
|
|
3954
|
-
"
|
|
3955
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
|
|
4057
|
+
"default": "true",
|
|
3956
4058
|
"inheritedFrom": {
|
|
3957
|
-
"name": "
|
|
3958
|
-
"module": "src/shared/
|
|
4059
|
+
"name": "UmButtonWrapper",
|
|
4060
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3959
4061
|
}
|
|
3960
4062
|
},
|
|
3961
4063
|
{
|
|
3962
4064
|
"kind": "field",
|
|
3963
|
-
"name": "
|
|
4065
|
+
"name": "href",
|
|
3964
4066
|
"type": {
|
|
3965
|
-
"text": "
|
|
4067
|
+
"text": "string | undefined"
|
|
3966
4068
|
},
|
|
3967
|
-
"
|
|
3968
|
-
"
|
|
3969
|
-
"attribute": "empty",
|
|
3970
|
-
"reflects": true,
|
|
4069
|
+
"description": "The URL that the link button points to.",
|
|
4070
|
+
"attribute": "href",
|
|
3971
4071
|
"inheritedFrom": {
|
|
3972
|
-
"name": "
|
|
3973
|
-
"module": "src/
|
|
4072
|
+
"name": "UmButtonWrapper",
|
|
4073
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3974
4074
|
}
|
|
3975
4075
|
},
|
|
3976
4076
|
{
|
|
3977
4077
|
"kind": "field",
|
|
3978
|
-
"name": "
|
|
4078
|
+
"name": "target",
|
|
3979
4079
|
"type": {
|
|
3980
|
-
"text": "string"
|
|
4080
|
+
"text": "string | undefined"
|
|
3981
4081
|
},
|
|
3982
|
-
"
|
|
3983
|
-
"attribute": "
|
|
3984
|
-
"reflects": true,
|
|
4082
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
4083
|
+
"attribute": "target",
|
|
3985
4084
|
"inheritedFrom": {
|
|
3986
|
-
"name": "
|
|
3987
|
-
"module": "src/shared/
|
|
4085
|
+
"name": "UmButtonWrapper",
|
|
4086
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3988
4087
|
}
|
|
3989
4088
|
},
|
|
3990
4089
|
{
|
|
3991
4090
|
"kind": "field",
|
|
3992
|
-
"name": "
|
|
4091
|
+
"name": "name",
|
|
3993
4092
|
"type": {
|
|
3994
|
-
"text": "
|
|
4093
|
+
"text": "string | undefined"
|
|
3995
4094
|
},
|
|
4095
|
+
"attribute": "name",
|
|
3996
4096
|
"inheritedFrom": {
|
|
3997
|
-
"name": "
|
|
3998
|
-
"module": "src/shared/
|
|
4097
|
+
"name": "UmButtonWrapper",
|
|
4098
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3999
4099
|
}
|
|
4000
4100
|
},
|
|
4001
4101
|
{
|
|
4002
4102
|
"kind": "field",
|
|
4003
|
-
"name": "
|
|
4103
|
+
"name": "buttonElement",
|
|
4004
4104
|
"type": {
|
|
4005
|
-
"text": "
|
|
4105
|
+
"text": "HTMLElement"
|
|
4006
4106
|
},
|
|
4007
|
-
"privacy": "protected",
|
|
4008
4107
|
"inheritedFrom": {
|
|
4009
|
-
"name": "
|
|
4010
|
-
"module": "src/shared/
|
|
4108
|
+
"name": "UmButtonWrapper",
|
|
4109
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4011
4110
|
}
|
|
4012
4111
|
},
|
|
4013
4112
|
{
|
|
4014
4113
|
"kind": "field",
|
|
4015
|
-
"name": "
|
|
4114
|
+
"name": "ripple",
|
|
4016
4115
|
"type": {
|
|
4017
|
-
"text": "
|
|
4116
|
+
"text": "UmRipple"
|
|
4018
4117
|
},
|
|
4019
4118
|
"privacy": "private",
|
|
4020
4119
|
"inheritedFrom": {
|
|
4021
|
-
"name": "
|
|
4022
|
-
"module": "src/
|
|
4120
|
+
"name": "UmButtonWrapper",
|
|
4121
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4023
4122
|
}
|
|
4024
4123
|
},
|
|
4025
4124
|
{
|
|
4026
4125
|
"kind": "field",
|
|
4027
|
-
"name": "
|
|
4126
|
+
"name": "innerRole",
|
|
4028
4127
|
"type": {
|
|
4029
|
-
"text": "
|
|
4128
|
+
"text": "string | null"
|
|
4030
4129
|
},
|
|
4031
|
-
"
|
|
4032
|
-
"
|
|
4130
|
+
"privacy": "protected",
|
|
4131
|
+
"default": "null",
|
|
4033
4132
|
"inheritedFrom": {
|
|
4034
|
-
"name": "
|
|
4035
|
-
"module": "src/
|
|
4133
|
+
"name": "UmButtonWrapper",
|
|
4134
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4036
4135
|
}
|
|
4037
4136
|
},
|
|
4038
4137
|
{
|
|
4039
4138
|
"kind": "field",
|
|
4040
|
-
"name": "
|
|
4139
|
+
"name": "pathname",
|
|
4041
4140
|
"type": {
|
|
4042
|
-
"text": "string
|
|
4141
|
+
"text": "string"
|
|
4043
4142
|
},
|
|
4044
|
-
"description": "The floating label for the field",
|
|
4045
|
-
"attribute": "label",
|
|
4046
4143
|
"inheritedFrom": {
|
|
4047
|
-
"name": "
|
|
4048
|
-
"module": "src/
|
|
4144
|
+
"name": "UmButtonWrapper",
|
|
4145
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4049
4146
|
}
|
|
4050
4147
|
},
|
|
4051
4148
|
{
|
|
4052
|
-
"kind": "
|
|
4053
|
-
"name": "
|
|
4054
|
-
"
|
|
4055
|
-
"text": "string | undefined"
|
|
4056
|
-
},
|
|
4057
|
-
"privacy": "protected",
|
|
4149
|
+
"kind": "method",
|
|
4150
|
+
"name": "renderButton",
|
|
4151
|
+
"privacy": "private",
|
|
4058
4152
|
"inheritedFrom": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"module": "src/
|
|
4153
|
+
"name": "UmButtonWrapper",
|
|
4154
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4061
4155
|
}
|
|
4062
4156
|
},
|
|
4063
4157
|
{
|
|
4064
|
-
"kind": "
|
|
4065
|
-
"name": "
|
|
4066
|
-
"
|
|
4067
|
-
"text": "string | undefined"
|
|
4068
|
-
},
|
|
4069
|
-
"attribute": "counter",
|
|
4158
|
+
"kind": "method",
|
|
4159
|
+
"name": "renderLink",
|
|
4160
|
+
"privacy": "private",
|
|
4070
4161
|
"inheritedFrom": {
|
|
4071
|
-
"name": "
|
|
4072
|
-
"module": "src/
|
|
4162
|
+
"name": "UmButtonWrapper",
|
|
4163
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4073
4164
|
}
|
|
4074
4165
|
},
|
|
4075
4166
|
{
|
|
4076
|
-
"kind": "
|
|
4077
|
-
"name": "
|
|
4078
|
-
"type": {
|
|
4079
|
-
"text": "boolean"
|
|
4080
|
-
},
|
|
4081
|
-
"default": "false",
|
|
4082
|
-
"attribute": "hide-counter",
|
|
4167
|
+
"kind": "method",
|
|
4168
|
+
"name": "focus",
|
|
4083
4169
|
"inheritedFrom": {
|
|
4084
|
-
"name": "
|
|
4085
|
-
"module": "src/
|
|
4170
|
+
"name": "UmButtonWrapper",
|
|
4171
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4086
4172
|
}
|
|
4087
4173
|
},
|
|
4088
4174
|
{
|
|
4089
|
-
"kind": "
|
|
4090
|
-
"name": "
|
|
4091
|
-
"type": {
|
|
4092
|
-
"text": "| string\n | undefined"
|
|
4093
|
-
},
|
|
4094
|
-
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
4095
|
-
"attribute": "supporting-text",
|
|
4175
|
+
"kind": "method",
|
|
4176
|
+
"name": "blur",
|
|
4096
4177
|
"inheritedFrom": {
|
|
4097
|
-
"name": "
|
|
4098
|
-
"module": "src/
|
|
4178
|
+
"name": "UmButtonWrapper",
|
|
4179
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4099
4180
|
}
|
|
4100
4181
|
},
|
|
4101
4182
|
{
|
|
4102
|
-
"kind": "
|
|
4103
|
-
"name": "
|
|
4104
|
-
"
|
|
4105
|
-
|
|
4183
|
+
"kind": "method",
|
|
4184
|
+
"name": "getAriaLabel",
|
|
4185
|
+
"privacy": "protected",
|
|
4186
|
+
"return": {
|
|
4187
|
+
"type": {
|
|
4188
|
+
"text": "string | null"
|
|
4189
|
+
}
|
|
4106
4190
|
},
|
|
4107
|
-
"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`",
|
|
4108
|
-
"attribute": "error-text",
|
|
4109
4191
|
"inheritedFrom": {
|
|
4110
|
-
"name": "
|
|
4111
|
-
"module": "src/
|
|
4192
|
+
"name": "UmButtonWrapper",
|
|
4193
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4112
4194
|
}
|
|
4113
4195
|
},
|
|
4114
4196
|
{
|
|
4115
|
-
"kind": "
|
|
4116
|
-
"name": "
|
|
4117
|
-
"
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
"reflects": true,
|
|
4123
|
-
"inheritedFrom": {
|
|
4124
|
-
"name": "UmFieldBase",
|
|
4125
|
-
"module": "src/field/field-base.ts"
|
|
4126
|
-
}
|
|
4127
|
-
},
|
|
4128
|
-
{
|
|
4129
|
-
"kind": "field",
|
|
4130
|
-
"name": "invalid",
|
|
4131
|
-
"type": {
|
|
4132
|
-
"text": "boolean"
|
|
4197
|
+
"kind": "method",
|
|
4198
|
+
"name": "innerFocusHandler",
|
|
4199
|
+
"privacy": "private",
|
|
4200
|
+
"return": {
|
|
4201
|
+
"type": {
|
|
4202
|
+
"text": "void"
|
|
4203
|
+
}
|
|
4133
4204
|
},
|
|
4134
|
-
"default": "false",
|
|
4135
|
-
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
4136
|
-
"attribute": "invalid",
|
|
4137
|
-
"reflects": true,
|
|
4138
4205
|
"inheritedFrom": {
|
|
4139
|
-
"name": "
|
|
4140
|
-
"module": "src/
|
|
4206
|
+
"name": "UmButtonWrapper",
|
|
4207
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4141
4208
|
}
|
|
4142
4209
|
},
|
|
4143
4210
|
{
|
|
4144
4211
|
"kind": "method",
|
|
4145
|
-
"name": "
|
|
4146
|
-
"static": true,
|
|
4212
|
+
"name": "#innerClickHandler",
|
|
4147
4213
|
"return": {
|
|
4148
4214
|
"type": {
|
|
4149
|
-
"text": "
|
|
4215
|
+
"text": "void"
|
|
4150
4216
|
}
|
|
4151
4217
|
},
|
|
4152
4218
|
"parameters": [
|
|
4153
4219
|
{
|
|
4154
|
-
"name": "
|
|
4155
|
-
"type": {
|
|
4156
|
-
"text": "HTMLElement"
|
|
4157
|
-
}
|
|
4158
|
-
},
|
|
4159
|
-
{
|
|
4160
|
-
"name": "config",
|
|
4220
|
+
"name": "event",
|
|
4161
4221
|
"type": {
|
|
4162
|
-
"text": "
|
|
4222
|
+
"text": "MouseEvent"
|
|
4163
4223
|
}
|
|
4164
4224
|
}
|
|
4165
4225
|
],
|
|
4166
4226
|
"inheritedFrom": {
|
|
4167
|
-
"name": "
|
|
4168
|
-
"module": "src/
|
|
4227
|
+
"name": "UmButtonWrapper",
|
|
4228
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4169
4229
|
}
|
|
4170
|
-
}
|
|
4230
|
+
}
|
|
4231
|
+
],
|
|
4232
|
+
"events": [
|
|
4171
4233
|
{
|
|
4172
|
-
"
|
|
4173
|
-
"
|
|
4234
|
+
"name": "change",
|
|
4235
|
+
"type": {
|
|
4236
|
+
"text": "Event"
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
],
|
|
4240
|
+
"attributes": [
|
|
4241
|
+
{
|
|
4242
|
+
"name": "selected",
|
|
4174
4243
|
"type": {
|
|
4175
4244
|
"text": "boolean"
|
|
4176
4245
|
},
|
|
4177
4246
|
"default": "false",
|
|
4178
|
-
"description": "Whether the
|
|
4179
|
-
"
|
|
4180
|
-
"reflects": true,
|
|
4181
|
-
"inheritedFrom": {
|
|
4182
|
-
"name": "UmFieldBase",
|
|
4183
|
-
"module": "src/field/field-base.ts"
|
|
4184
|
-
}
|
|
4247
|
+
"description": "Whether the chip is selected or not",
|
|
4248
|
+
"fieldName": "selected"
|
|
4185
4249
|
},
|
|
4186
4250
|
{
|
|
4187
|
-
"
|
|
4188
|
-
"name": "hasTrailingIcon",
|
|
4251
|
+
"name": "clickable",
|
|
4189
4252
|
"type": {
|
|
4190
4253
|
"text": "boolean"
|
|
4191
4254
|
},
|
|
4192
|
-
"
|
|
4193
|
-
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4194
|
-
"attribute": "has-trailing-icon",
|
|
4195
|
-
"reflects": true,
|
|
4196
|
-
"inheritedFrom": {
|
|
4197
|
-
"name": "UmFieldBase",
|
|
4198
|
-
"module": "src/field/field-base.ts"
|
|
4199
|
-
}
|
|
4255
|
+
"fieldName": "clickable"
|
|
4200
4256
|
},
|
|
4201
4257
|
{
|
|
4202
|
-
"
|
|
4203
|
-
"name": "hasErrorText",
|
|
4258
|
+
"name": "elevated",
|
|
4204
4259
|
"type": {
|
|
4205
4260
|
"text": "boolean"
|
|
4206
4261
|
},
|
|
4207
4262
|
"default": "false",
|
|
4208
|
-
"description": "
|
|
4209
|
-
"
|
|
4210
|
-
"reflects": true,
|
|
4211
|
-
"inheritedFrom": {
|
|
4212
|
-
"name": "UmFieldBase",
|
|
4213
|
-
"module": "src/field/field-base.ts"
|
|
4214
|
-
}
|
|
4263
|
+
"description": "Adds elevation to the chip",
|
|
4264
|
+
"fieldName": "elevated"
|
|
4215
4265
|
},
|
|
4216
4266
|
{
|
|
4217
|
-
"
|
|
4218
|
-
"name": "assignedLeadingIcons",
|
|
4267
|
+
"name": "toggle",
|
|
4219
4268
|
"type": {
|
|
4220
|
-
"text": "
|
|
4269
|
+
"text": "boolean"
|
|
4221
4270
|
},
|
|
4222
|
-
"
|
|
4223
|
-
"
|
|
4224
|
-
"name": "UmFieldBase",
|
|
4225
|
-
"module": "src/field/field-base.ts"
|
|
4226
|
-
}
|
|
4271
|
+
"description": "When true, the chip will toggle between selected and unselected\nstates",
|
|
4272
|
+
"fieldName": "toggle"
|
|
4227
4273
|
},
|
|
4228
4274
|
{
|
|
4229
|
-
"
|
|
4230
|
-
"name": "assignedTrailingIcons",
|
|
4275
|
+
"name": "removable",
|
|
4231
4276
|
"type": {
|
|
4232
|
-
"text": "
|
|
4277
|
+
"text": "boolean"
|
|
4233
4278
|
},
|
|
4234
|
-
"
|
|
4235
|
-
"
|
|
4236
|
-
|
|
4237
|
-
"module": "src/field/field-base.ts"
|
|
4238
|
-
}
|
|
4279
|
+
"default": "false",
|
|
4280
|
+
"description": "Add the remove icon",
|
|
4281
|
+
"fieldName": "removable"
|
|
4239
4282
|
},
|
|
4240
4283
|
{
|
|
4241
|
-
"
|
|
4242
|
-
"name": "assignedErrorTexts",
|
|
4284
|
+
"name": "hide-selected-icon",
|
|
4243
4285
|
"type": {
|
|
4244
|
-
"text": "
|
|
4286
|
+
"text": "boolean"
|
|
4245
4287
|
},
|
|
4246
|
-
"
|
|
4247
|
-
"
|
|
4248
|
-
|
|
4249
|
-
"module": "src/field/field-base.ts"
|
|
4250
|
-
}
|
|
4288
|
+
"default": "false",
|
|
4289
|
+
"description": "Hide the selected icon",
|
|
4290
|
+
"fieldName": "hideSelectedIcon"
|
|
4251
4291
|
},
|
|
4252
4292
|
{
|
|
4253
|
-
"
|
|
4254
|
-
"name": "_labelElement",
|
|
4293
|
+
"name": "has-leading-icon",
|
|
4255
4294
|
"type": {
|
|
4256
|
-
"text": "
|
|
4295
|
+
"text": "boolean"
|
|
4257
4296
|
},
|
|
4258
|
-
"
|
|
4259
|
-
"
|
|
4260
|
-
|
|
4261
|
-
"module": "src/field/field-base.ts"
|
|
4262
|
-
}
|
|
4297
|
+
"default": "false",
|
|
4298
|
+
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
4299
|
+
"fieldName": "hasLeadingIcon"
|
|
4263
4300
|
},
|
|
4264
4301
|
{
|
|
4265
|
-
"
|
|
4266
|
-
"name": "_container",
|
|
4302
|
+
"name": "has-selected-icon",
|
|
4267
4303
|
"type": {
|
|
4268
|
-
"text": "
|
|
4304
|
+
"text": "boolean"
|
|
4269
4305
|
},
|
|
4270
|
-
"
|
|
4271
|
-
"
|
|
4272
|
-
|
|
4273
|
-
"module": "src/field/field-base.ts"
|
|
4274
|
-
}
|
|
4306
|
+
"default": "false",
|
|
4307
|
+
"description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
|
|
4308
|
+
"fieldName": "hasSelectedIcon"
|
|
4275
4309
|
},
|
|
4276
4310
|
{
|
|
4277
|
-
"
|
|
4278
|
-
"name": "labelSizeObserver",
|
|
4311
|
+
"name": "has-trailing-icon",
|
|
4279
4312
|
"type": {
|
|
4280
|
-
"text": "
|
|
4313
|
+
"text": "boolean"
|
|
4281
4314
|
},
|
|
4282
|
-
"
|
|
4283
|
-
"
|
|
4284
|
-
"
|
|
4285
|
-
"name": "UmFieldBase",
|
|
4286
|
-
"module": "src/field/field-base.ts"
|
|
4287
|
-
}
|
|
4315
|
+
"default": "false",
|
|
4316
|
+
"description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4317
|
+
"fieldName": "hasTrailingIcon"
|
|
4288
4318
|
},
|
|
4289
4319
|
{
|
|
4290
|
-
"
|
|
4291
|
-
"
|
|
4292
|
-
|
|
4293
|
-
"return": {
|
|
4294
|
-
"type": {
|
|
4295
|
-
"text": "TemplateResult"
|
|
4296
|
-
}
|
|
4320
|
+
"name": "disabled",
|
|
4321
|
+
"type": {
|
|
4322
|
+
"text": "boolean"
|
|
4297
4323
|
},
|
|
4324
|
+
"default": "false",
|
|
4325
|
+
"description": "Whether the button is disabled or not.",
|
|
4326
|
+
"fieldName": "disabled",
|
|
4298
4327
|
"inheritedFrom": {
|
|
4299
|
-
"name": "
|
|
4300
|
-
"module": "src/
|
|
4328
|
+
"name": "UmButtonWrapper",
|
|
4329
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4301
4330
|
}
|
|
4302
4331
|
},
|
|
4303
4332
|
{
|
|
4304
|
-
"
|
|
4305
|
-
"
|
|
4306
|
-
|
|
4307
|
-
"type": {
|
|
4308
|
-
"text": "Promise<void>"
|
|
4309
|
-
}
|
|
4333
|
+
"name": "href",
|
|
4334
|
+
"type": {
|
|
4335
|
+
"text": "string | undefined"
|
|
4310
4336
|
},
|
|
4337
|
+
"description": "The URL that the link button points to.",
|
|
4338
|
+
"fieldName": "href",
|
|
4311
4339
|
"inheritedFrom": {
|
|
4312
|
-
"name": "
|
|
4313
|
-
"module": "src/
|
|
4314
|
-
}
|
|
4315
|
-
},
|
|
4316
|
-
{
|
|
4317
|
-
"kind": "method",
|
|
4318
|
-
"name": "handleLeadingIconSlotChange",
|
|
4319
|
-
"privacy": "private",
|
|
4320
|
-
"inheritedFrom": {
|
|
4321
|
-
"name": "UmFieldBase",
|
|
4322
|
-
"module": "src/field/field-base.ts"
|
|
4323
|
-
}
|
|
4324
|
-
},
|
|
4325
|
-
{
|
|
4326
|
-
"kind": "method",
|
|
4327
|
-
"name": "handleTrailingIconSlotChange",
|
|
4328
|
-
"privacy": "private",
|
|
4329
|
-
"inheritedFrom": {
|
|
4330
|
-
"name": "UmFieldBase",
|
|
4331
|
-
"module": "src/field/field-base.ts"
|
|
4340
|
+
"name": "UmButtonWrapper",
|
|
4341
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4332
4342
|
}
|
|
4333
4343
|
},
|
|
4334
4344
|
{
|
|
4335
|
-
"
|
|
4336
|
-
"
|
|
4337
|
-
|
|
4345
|
+
"name": "target",
|
|
4346
|
+
"type": {
|
|
4347
|
+
"text": "string | undefined"
|
|
4348
|
+
},
|
|
4349
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
4350
|
+
"fieldName": "target",
|
|
4338
4351
|
"inheritedFrom": {
|
|
4339
|
-
"name": "
|
|
4340
|
-
"module": "src/
|
|
4352
|
+
"name": "UmButtonWrapper",
|
|
4353
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4341
4354
|
}
|
|
4342
4355
|
},
|
|
4343
4356
|
{
|
|
4344
|
-
"
|
|
4345
|
-
"
|
|
4346
|
-
|
|
4357
|
+
"name": "name",
|
|
4358
|
+
"type": {
|
|
4359
|
+
"text": "string | undefined"
|
|
4360
|
+
},
|
|
4361
|
+
"fieldName": "name",
|
|
4347
4362
|
"inheritedFrom": {
|
|
4348
|
-
"name": "
|
|
4349
|
-
"module": "src/
|
|
4350
|
-
}
|
|
4351
|
-
},
|
|
4352
|
-
{
|
|
4353
|
-
"kind": "method",
|
|
4354
|
-
"name": "renderDefaultTrailingIcon",
|
|
4355
|
-
"privacy": "protected",
|
|
4356
|
-
"return": {
|
|
4357
|
-
"type": {
|
|
4358
|
-
"text": "TemplateResult | typeof nothing"
|
|
4359
|
-
}
|
|
4360
|
-
},
|
|
4361
|
-
"inheritedFrom": {
|
|
4362
|
-
"name": "UmFieldBase",
|
|
4363
|
-
"module": "src/field/field-base.ts"
|
|
4363
|
+
"name": "UmButtonWrapper",
|
|
4364
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4364
4365
|
}
|
|
4365
4366
|
}
|
|
4366
4367
|
],
|
|
4367
|
-
"
|
|
4368
|
+
"superclass": {
|
|
4369
|
+
"name": "UmButtonWrapper",
|
|
4370
|
+
"module": "/src/shared/button-wrapper.js"
|
|
4371
|
+
},
|
|
4372
|
+
"tagName": "u-chip",
|
|
4373
|
+
"customElement": true
|
|
4374
|
+
}
|
|
4375
|
+
],
|
|
4376
|
+
"exports": [
|
|
4377
|
+
{
|
|
4378
|
+
"kind": "js",
|
|
4379
|
+
"name": "UmChip",
|
|
4380
|
+
"declaration": {
|
|
4381
|
+
"name": "UmChip",
|
|
4382
|
+
"module": "src/chip/chip.ts"
|
|
4383
|
+
}
|
|
4384
|
+
},
|
|
4385
|
+
{
|
|
4386
|
+
"kind": "custom-element-definition",
|
|
4387
|
+
"name": "u-chip",
|
|
4388
|
+
"declaration": {
|
|
4389
|
+
"name": "UmChip",
|
|
4390
|
+
"module": "src/chip/chip.ts"
|
|
4391
|
+
}
|
|
4392
|
+
}
|
|
4393
|
+
]
|
|
4394
|
+
},
|
|
4395
|
+
{
|
|
4396
|
+
"kind": "javascript-module",
|
|
4397
|
+
"path": "src/chip-field/chip-field.styles.ts",
|
|
4398
|
+
"declarations": [
|
|
4399
|
+
{
|
|
4400
|
+
"kind": "variable",
|
|
4401
|
+
"name": "styles",
|
|
4402
|
+
"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`"
|
|
4403
|
+
}
|
|
4404
|
+
],
|
|
4405
|
+
"exports": [
|
|
4406
|
+
{
|
|
4407
|
+
"kind": "js",
|
|
4408
|
+
"name": "styles",
|
|
4409
|
+
"declaration": {
|
|
4410
|
+
"name": "styles",
|
|
4411
|
+
"module": "src/chip-field/chip-field.styles.ts"
|
|
4412
|
+
}
|
|
4413
|
+
}
|
|
4414
|
+
]
|
|
4415
|
+
},
|
|
4416
|
+
{
|
|
4417
|
+
"kind": "javascript-module",
|
|
4418
|
+
"path": "src/chip-field/chip-field.ts",
|
|
4419
|
+
"declarations": [
|
|
4420
|
+
{
|
|
4421
|
+
"kind": "class",
|
|
4422
|
+
"description": "",
|
|
4423
|
+
"name": "UmChipField",
|
|
4424
|
+
"members": [
|
|
4368
4425
|
{
|
|
4369
|
-
"
|
|
4426
|
+
"kind": "field",
|
|
4427
|
+
"name": "input",
|
|
4370
4428
|
"type": {
|
|
4371
|
-
"text": "
|
|
4429
|
+
"text": "HTMLInputElement"
|
|
4372
4430
|
}
|
|
4373
|
-
}
|
|
4374
|
-
],
|
|
4375
|
-
"attributes": [
|
|
4431
|
+
},
|
|
4376
4432
|
{
|
|
4433
|
+
"kind": "field",
|
|
4377
4434
|
"name": "name",
|
|
4378
4435
|
"type": {
|
|
4379
4436
|
"text": "string"
|
|
4380
4437
|
},
|
|
4381
|
-
"
|
|
4438
|
+
"attribute": "name"
|
|
4382
4439
|
},
|
|
4383
4440
|
{
|
|
4441
|
+
"kind": "field",
|
|
4384
4442
|
"name": "manual",
|
|
4385
4443
|
"type": {
|
|
4386
4444
|
"text": "boolean"
|
|
4387
4445
|
},
|
|
4388
4446
|
"default": "false",
|
|
4389
4447
|
"description": "If true, ignore enter key input",
|
|
4390
|
-
"
|
|
4448
|
+
"attribute": "manual"
|
|
4391
4449
|
},
|
|
4392
4450
|
{
|
|
4393
|
-
"
|
|
4451
|
+
"kind": "field",
|
|
4452
|
+
"name": "formatter",
|
|
4394
4453
|
"type": {
|
|
4395
|
-
"text": "string"
|
|
4454
|
+
"text": "((value: any) => string) | undefined"
|
|
4396
4455
|
},
|
|
4397
|
-
"
|
|
4398
|
-
"fieldName": "placeholder",
|
|
4399
|
-
"inheritedFrom": {
|
|
4400
|
-
"name": "UmTextFieldBase",
|
|
4401
|
-
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4402
|
-
}
|
|
4456
|
+
"description": "A function return a string based on a item from the `value`. Useful when the items of value are objects."
|
|
4403
4457
|
},
|
|
4404
4458
|
{
|
|
4405
|
-
"
|
|
4459
|
+
"kind": "field",
|
|
4460
|
+
"name": "leadingIconTemplate",
|
|
4406
4461
|
"type": {
|
|
4407
|
-
"text": "
|
|
4408
|
-
},
|
|
4409
|
-
"default": "undefined",
|
|
4410
|
-
"resolveInitializer": {
|
|
4411
|
-
"module": "src/field/field-base.ts"
|
|
4462
|
+
"text": "((value: any) => string) | undefined"
|
|
4412
4463
|
},
|
|
4413
|
-
"
|
|
4414
|
-
"inheritedFrom": {
|
|
4415
|
-
"name": "UmFieldBase",
|
|
4416
|
-
"module": "src/field/field-base.ts"
|
|
4417
|
-
}
|
|
4464
|
+
"description": "A string representing an HTML to be rendered inside as leading icon of each chip.\n\n_Note:_ Subject to signature change"
|
|
4418
4465
|
},
|
|
4419
4466
|
{
|
|
4420
|
-
"
|
|
4467
|
+
"kind": "field",
|
|
4468
|
+
"name": "#value",
|
|
4469
|
+
"privacy": "private",
|
|
4421
4470
|
"type": {
|
|
4422
|
-
"text": "
|
|
4471
|
+
"text": "any[]"
|
|
4423
4472
|
},
|
|
4424
|
-
"
|
|
4425
|
-
"fieldName": "label",
|
|
4426
|
-
"inheritedFrom": {
|
|
4427
|
-
"name": "UmFieldBase",
|
|
4428
|
-
"module": "src/field/field-base.ts"
|
|
4429
|
-
}
|
|
4473
|
+
"default": "[]"
|
|
4430
4474
|
},
|
|
4431
4475
|
{
|
|
4432
|
-
"
|
|
4476
|
+
"kind": "field",
|
|
4477
|
+
"name": "value",
|
|
4433
4478
|
"type": {
|
|
4434
|
-
"text": "
|
|
4479
|
+
"text": "any[]"
|
|
4435
4480
|
},
|
|
4436
|
-
"
|
|
4437
|
-
"inheritedFrom": {
|
|
4438
|
-
"name": "UmFieldBase",
|
|
4439
|
-
"module": "src/field/field-base.ts"
|
|
4440
|
-
}
|
|
4481
|
+
"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`."
|
|
4441
4482
|
},
|
|
4442
4483
|
{
|
|
4443
|
-
"
|
|
4444
|
-
"
|
|
4445
|
-
|
|
4446
|
-
},
|
|
4447
|
-
"default": "false",
|
|
4448
|
-
"fieldName": "hideCounter",
|
|
4449
|
-
"inheritedFrom": {
|
|
4450
|
-
"name": "UmFieldBase",
|
|
4451
|
-
"module": "src/field/field-base.ts"
|
|
4452
|
-
}
|
|
4484
|
+
"kind": "method",
|
|
4485
|
+
"name": "setFormValue",
|
|
4486
|
+
"privacy": "private"
|
|
4453
4487
|
},
|
|
4454
4488
|
{
|
|
4455
|
-
"
|
|
4456
|
-
"
|
|
4457
|
-
"text": "| string\n | undefined"
|
|
4458
|
-
},
|
|
4459
|
-
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
4460
|
-
"fieldName": "supportingText",
|
|
4461
|
-
"inheritedFrom": {
|
|
4462
|
-
"name": "UmFieldBase",
|
|
4463
|
-
"module": "src/field/field-base.ts"
|
|
4464
|
-
}
|
|
4489
|
+
"kind": "method",
|
|
4490
|
+
"name": "focus"
|
|
4465
4491
|
},
|
|
4466
4492
|
{
|
|
4467
|
-
"
|
|
4468
|
-
"
|
|
4469
|
-
|
|
4493
|
+
"kind": "method",
|
|
4494
|
+
"name": "renderControl",
|
|
4495
|
+
"privacy": "protected",
|
|
4496
|
+
"return": {
|
|
4497
|
+
"type": {
|
|
4498
|
+
"text": "HTMLTemplateResult"
|
|
4499
|
+
}
|
|
4470
4500
|
},
|
|
4471
|
-
"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`",
|
|
4472
|
-
"fieldName": "errorText",
|
|
4473
4501
|
"inheritedFrom": {
|
|
4474
4502
|
"name": "UmFieldBase",
|
|
4475
4503
|
"module": "src/field/field-base.ts"
|
|
4476
4504
|
}
|
|
4477
4505
|
},
|
|
4478
4506
|
{
|
|
4479
|
-
"
|
|
4480
|
-
"
|
|
4481
|
-
"text": "boolean"
|
|
4482
|
-
},
|
|
4483
|
-
"default": "false",
|
|
4484
|
-
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
4485
|
-
"fieldName": "empty",
|
|
4486
|
-
"inheritedFrom": {
|
|
4487
|
-
"name": "UmFieldBase",
|
|
4488
|
-
"module": "src/field/field-base.ts"
|
|
4489
|
-
}
|
|
4507
|
+
"kind": "method",
|
|
4508
|
+
"name": "#getChips"
|
|
4490
4509
|
},
|
|
4491
4510
|
{
|
|
4492
|
-
"
|
|
4493
|
-
"
|
|
4494
|
-
"text": "boolean"
|
|
4495
|
-
},
|
|
4496
|
-
"default": "false",
|
|
4497
|
-
"fieldName": "disabled",
|
|
4498
|
-
"inheritedFrom": {
|
|
4499
|
-
"name": "UmFieldBase",
|
|
4500
|
-
"module": "src/field/field-base.ts"
|
|
4501
|
-
}
|
|
4511
|
+
"kind": "method",
|
|
4512
|
+
"name": "#handleBlur"
|
|
4502
4513
|
},
|
|
4503
4514
|
{
|
|
4504
|
-
"
|
|
4505
|
-
"
|
|
4506
|
-
"text": "boolean"
|
|
4507
|
-
},
|
|
4508
|
-
"default": "false",
|
|
4509
|
-
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
4510
|
-
"fieldName": "invalid",
|
|
4511
|
-
"inheritedFrom": {
|
|
4512
|
-
"name": "UmFieldBase",
|
|
4513
|
-
"module": "src/field/field-base.ts"
|
|
4514
|
-
}
|
|
4515
|
+
"kind": "method",
|
|
4516
|
+
"name": "#handleInput"
|
|
4515
4517
|
},
|
|
4516
4518
|
{
|
|
4517
|
-
"
|
|
4518
|
-
"
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
}
|
|
4519
|
+
"kind": "method",
|
|
4520
|
+
"name": "#handleKeyDown",
|
|
4521
|
+
"parameters": [
|
|
4522
|
+
{
|
|
4523
|
+
"name": "e",
|
|
4524
|
+
"type": {
|
|
4525
|
+
"text": "KeyboardEvent"
|
|
4526
|
+
}
|
|
4527
|
+
}
|
|
4528
|
+
]
|
|
4528
4529
|
},
|
|
4529
4530
|
{
|
|
4530
|
-
"
|
|
4531
|
-
"
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4531
|
+
"kind": "method",
|
|
4532
|
+
"name": "add",
|
|
4533
|
+
"parameters": [
|
|
4534
|
+
{
|
|
4535
|
+
"name": "value",
|
|
4536
|
+
"type": {
|
|
4537
|
+
"text": "any"
|
|
4538
|
+
}
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
"name": "triggerChange",
|
|
4542
|
+
"default": "false"
|
|
4543
|
+
}
|
|
4544
|
+
]
|
|
4541
4545
|
},
|
|
4542
4546
|
{
|
|
4543
|
-
"
|
|
4544
|
-
"
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
"module": "/src/shared/text-field-base/text-field-base.js"
|
|
4559
|
-
},
|
|
4560
|
-
"tagName": "u-chip-field",
|
|
4561
|
-
"customElement": true
|
|
4562
|
-
}
|
|
4563
|
-
],
|
|
4564
|
-
"exports": [
|
|
4565
|
-
{
|
|
4566
|
-
"kind": "js",
|
|
4567
|
-
"name": "UmChipField",
|
|
4568
|
-
"declaration": {
|
|
4569
|
-
"name": "UmChipField",
|
|
4570
|
-
"module": "src/chip-field/chip-field.ts"
|
|
4571
|
-
}
|
|
4572
|
-
},
|
|
4573
|
-
{
|
|
4574
|
-
"kind": "custom-element-definition",
|
|
4575
|
-
"name": "u-chip-field",
|
|
4576
|
-
"declaration": {
|
|
4577
|
-
"name": "UmChipField",
|
|
4578
|
-
"module": "src/chip-field/chip-field.ts"
|
|
4579
|
-
}
|
|
4580
|
-
}
|
|
4581
|
-
]
|
|
4582
|
-
},
|
|
4583
|
-
{
|
|
4584
|
-
"kind": "javascript-module",
|
|
4585
|
-
"path": "src/chip/chip-set.styles.ts",
|
|
4586
|
-
"declarations": [
|
|
4587
|
-
{
|
|
4588
|
-
"kind": "variable",
|
|
4589
|
-
"name": "styles",
|
|
4590
|
-
"default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
|
|
4591
|
-
}
|
|
4592
|
-
],
|
|
4593
|
-
"exports": [
|
|
4594
|
-
{
|
|
4595
|
-
"kind": "js",
|
|
4596
|
-
"name": "styles",
|
|
4597
|
-
"declaration": {
|
|
4598
|
-
"name": "styles",
|
|
4599
|
-
"module": "src/chip/chip-set.styles.ts"
|
|
4600
|
-
}
|
|
4601
|
-
}
|
|
4602
|
-
]
|
|
4603
|
-
},
|
|
4604
|
-
{
|
|
4605
|
-
"kind": "javascript-module",
|
|
4606
|
-
"path": "src/chip/chip-set.ts",
|
|
4607
|
-
"declarations": [
|
|
4608
|
-
{
|
|
4609
|
-
"kind": "class",
|
|
4610
|
-
"description": "",
|
|
4611
|
-
"name": "UmChipSet",
|
|
4612
|
-
"members": [
|
|
4547
|
+
"kind": "method",
|
|
4548
|
+
"name": "removeAt",
|
|
4549
|
+
"parameters": [
|
|
4550
|
+
{
|
|
4551
|
+
"name": "index",
|
|
4552
|
+
"type": {
|
|
4553
|
+
"text": "number"
|
|
4554
|
+
}
|
|
4555
|
+
},
|
|
4556
|
+
{
|
|
4557
|
+
"name": "triggerChange",
|
|
4558
|
+
"default": "false"
|
|
4559
|
+
}
|
|
4560
|
+
]
|
|
4561
|
+
},
|
|
4613
4562
|
{
|
|
4614
4563
|
"kind": "field",
|
|
4615
|
-
"name": "
|
|
4616
|
-
"
|
|
4617
|
-
|
|
4564
|
+
"name": "#removeChip",
|
|
4565
|
+
"privacy": "private"
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
"kind": "method",
|
|
4569
|
+
"name": "#changed",
|
|
4570
|
+
"parameters": [
|
|
4571
|
+
{
|
|
4572
|
+
"name": "triggerChange",
|
|
4573
|
+
"type": {
|
|
4574
|
+
"text": "boolean"
|
|
4575
|
+
}
|
|
4576
|
+
}
|
|
4577
|
+
]
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"kind": "method",
|
|
4581
|
+
"name": "#valueUpdate"
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"kind": "method",
|
|
4585
|
+
"name": "#setEmpty"
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
"kind": "method",
|
|
4589
|
+
"name": "#dispatchRemoveEvent",
|
|
4590
|
+
"return": {
|
|
4591
|
+
"type": {
|
|
4592
|
+
"text": "boolean"
|
|
4593
|
+
}
|
|
4618
4594
|
},
|
|
4619
|
-
"
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
}
|
|
4628
|
-
],
|
|
4629
|
-
"superclass": {
|
|
4630
|
-
"name": "UmSetBase",
|
|
4631
|
-
"module": "/src/shared/sets/set-base.js"
|
|
4632
|
-
},
|
|
4633
|
-
"tagName": "u-chip-set",
|
|
4634
|
-
"customElement": true,
|
|
4635
|
-
"attributes": [
|
|
4595
|
+
"parameters": [
|
|
4596
|
+
{
|
|
4597
|
+
"name": "index",
|
|
4598
|
+
"type": {
|
|
4599
|
+
"text": "number"
|
|
4600
|
+
}
|
|
4601
|
+
}
|
|
4602
|
+
]
|
|
4603
|
+
},
|
|
4636
4604
|
{
|
|
4637
|
-
"
|
|
4605
|
+
"kind": "method",
|
|
4606
|
+
"name": "getItemLabel",
|
|
4607
|
+
"privacy": "private",
|
|
4608
|
+
"parameters": [
|
|
4609
|
+
{
|
|
4610
|
+
"name": "item",
|
|
4611
|
+
"type": {
|
|
4612
|
+
"text": "any"
|
|
4613
|
+
}
|
|
4614
|
+
}
|
|
4615
|
+
]
|
|
4616
|
+
},
|
|
4617
|
+
{
|
|
4618
|
+
"kind": "field",
|
|
4619
|
+
"name": "formAssociated",
|
|
4638
4620
|
"type": {
|
|
4639
|
-
"text": "
|
|
4621
|
+
"text": "boolean"
|
|
4640
4622
|
},
|
|
4641
|
-
"
|
|
4642
|
-
"
|
|
4643
|
-
"fieldName": "alignment",
|
|
4623
|
+
"static": true,
|
|
4624
|
+
"default": "true",
|
|
4644
4625
|
"inheritedFrom": {
|
|
4645
|
-
"name": "
|
|
4646
|
-
"module": "src/shared/
|
|
4626
|
+
"name": "UmTextFieldBase",
|
|
4627
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4647
4628
|
}
|
|
4648
|
-
}
|
|
4649
|
-
]
|
|
4650
|
-
}
|
|
4651
|
-
],
|
|
4652
|
-
"exports": [
|
|
4653
|
-
{
|
|
4654
|
-
"kind": "js",
|
|
4655
|
-
"name": "UmChipSet",
|
|
4656
|
-
"declaration": {
|
|
4657
|
-
"name": "UmChipSet",
|
|
4658
|
-
"module": "src/chip/chip-set.ts"
|
|
4659
|
-
}
|
|
4660
|
-
},
|
|
4661
|
-
{
|
|
4662
|
-
"kind": "custom-element-definition",
|
|
4663
|
-
"name": "u-chip-set",
|
|
4664
|
-
"declaration": {
|
|
4665
|
-
"name": "UmChipSet",
|
|
4666
|
-
"module": "src/chip/chip-set.ts"
|
|
4667
|
-
}
|
|
4668
|
-
}
|
|
4669
|
-
]
|
|
4670
|
-
},
|
|
4671
|
-
{
|
|
4672
|
-
"kind": "javascript-module",
|
|
4673
|
-
"path": "src/chip/chip.styles.ts",
|
|
4674
|
-
"declarations": [
|
|
4675
|
-
{
|
|
4676
|
-
"kind": "variable",
|
|
4677
|
-
"name": "styles",
|
|
4678
|
-
"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`"
|
|
4679
|
-
}
|
|
4680
|
-
],
|
|
4681
|
-
"exports": [
|
|
4682
|
-
{
|
|
4683
|
-
"kind": "js",
|
|
4684
|
-
"name": "styles",
|
|
4685
|
-
"declaration": {
|
|
4686
|
-
"name": "styles",
|
|
4687
|
-
"module": "src/chip/chip.styles.ts"
|
|
4688
|
-
}
|
|
4689
|
-
}
|
|
4690
|
-
]
|
|
4691
|
-
},
|
|
4692
|
-
{
|
|
4693
|
-
"kind": "javascript-module",
|
|
4694
|
-
"path": "src/chip/chip.ts",
|
|
4695
|
-
"declarations": [
|
|
4696
|
-
{
|
|
4697
|
-
"kind": "class",
|
|
4698
|
-
"description": "",
|
|
4699
|
-
"name": "UmChip",
|
|
4700
|
-
"members": [
|
|
4629
|
+
},
|
|
4701
4630
|
{
|
|
4702
4631
|
"kind": "field",
|
|
4703
|
-
"name": "
|
|
4704
|
-
"privacy": "private",
|
|
4632
|
+
"name": "shadowRootOptions",
|
|
4705
4633
|
"type": {
|
|
4706
|
-
"text": "
|
|
4634
|
+
"text": "ShadowRootInit"
|
|
4707
4635
|
},
|
|
4708
|
-
"
|
|
4636
|
+
"static": true,
|
|
4637
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
|
|
4638
|
+
"inheritedFrom": {
|
|
4639
|
+
"name": "UmTextFieldBase",
|
|
4640
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4641
|
+
}
|
|
4709
4642
|
},
|
|
4710
4643
|
{
|
|
4711
4644
|
"kind": "field",
|
|
4712
|
-
"name": "
|
|
4713
|
-
"privacy": "private",
|
|
4645
|
+
"name": "empty",
|
|
4714
4646
|
"type": {
|
|
4715
4647
|
"text": "boolean"
|
|
4716
4648
|
},
|
|
4717
|
-
"default": "
|
|
4649
|
+
"default": "true",
|
|
4650
|
+
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
4651
|
+
"attribute": "empty",
|
|
4652
|
+
"reflects": true,
|
|
4653
|
+
"inheritedFrom": {
|
|
4654
|
+
"name": "UmFieldBase",
|
|
4655
|
+
"module": "src/field/field-base.ts"
|
|
4656
|
+
}
|
|
4718
4657
|
},
|
|
4719
4658
|
{
|
|
4720
4659
|
"kind": "field",
|
|
4721
|
-
"name": "
|
|
4660
|
+
"name": "placeholder",
|
|
4722
4661
|
"type": {
|
|
4723
|
-
"text": "
|
|
4662
|
+
"text": "string"
|
|
4724
4663
|
},
|
|
4725
|
-
"default": "
|
|
4726
|
-
"
|
|
4727
|
-
"
|
|
4728
|
-
"
|
|
4664
|
+
"default": "''",
|
|
4665
|
+
"attribute": "placeholder",
|
|
4666
|
+
"reflects": true,
|
|
4667
|
+
"inheritedFrom": {
|
|
4668
|
+
"name": "UmTextFieldBase",
|
|
4669
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4670
|
+
}
|
|
4729
4671
|
},
|
|
4730
4672
|
{
|
|
4731
4673
|
"kind": "field",
|
|
4732
|
-
"name": "
|
|
4674
|
+
"name": "form",
|
|
4733
4675
|
"type": {
|
|
4734
|
-
"text": "
|
|
4676
|
+
"text": "HTMLFormElement | null"
|
|
4735
4677
|
},
|
|
4736
|
-
"
|
|
4737
|
-
|
|
4678
|
+
"inheritedFrom": {
|
|
4679
|
+
"name": "UmTextFieldBase",
|
|
4680
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4681
|
+
}
|
|
4738
4682
|
},
|
|
4739
4683
|
{
|
|
4740
4684
|
"kind": "field",
|
|
4741
|
-
"name": "
|
|
4685
|
+
"name": "elementInternals",
|
|
4742
4686
|
"type": {
|
|
4743
|
-
"text": "
|
|
4687
|
+
"text": "ElementInternals"
|
|
4744
4688
|
},
|
|
4745
|
-
"
|
|
4746
|
-
"
|
|
4747
|
-
|
|
4748
|
-
|
|
4689
|
+
"privacy": "protected",
|
|
4690
|
+
"inheritedFrom": {
|
|
4691
|
+
"name": "UmTextFieldBase",
|
|
4692
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4693
|
+
}
|
|
4749
4694
|
},
|
|
4750
4695
|
{
|
|
4751
4696
|
"kind": "field",
|
|
4752
|
-
"name": "
|
|
4697
|
+
"name": "config",
|
|
4753
4698
|
"type": {
|
|
4754
|
-
"text": "
|
|
4699
|
+
"text": "UmFieldDefaults | undefined"
|
|
4755
4700
|
},
|
|
4756
|
-
"
|
|
4757
|
-
"
|
|
4758
|
-
|
|
4701
|
+
"privacy": "private",
|
|
4702
|
+
"inheritedFrom": {
|
|
4703
|
+
"name": "UmFieldBase",
|
|
4704
|
+
"module": "src/field/field-base.ts"
|
|
4705
|
+
}
|
|
4759
4706
|
},
|
|
4760
4707
|
{
|
|
4761
4708
|
"kind": "field",
|
|
4762
|
-
"name": "
|
|
4709
|
+
"name": "variant",
|
|
4763
4710
|
"type": {
|
|
4764
|
-
"text": "
|
|
4711
|
+
"text": "'filled' | 'outlined' | undefined"
|
|
4765
4712
|
},
|
|
4766
|
-
"default": "
|
|
4767
|
-
"
|
|
4768
|
-
"
|
|
4769
|
-
|
|
4713
|
+
"default": "undefined",
|
|
4714
|
+
"attribute": "variant",
|
|
4715
|
+
"inheritedFrom": {
|
|
4716
|
+
"name": "UmFieldBase",
|
|
4717
|
+
"module": "src/field/field-base.ts"
|
|
4718
|
+
}
|
|
4770
4719
|
},
|
|
4771
4720
|
{
|
|
4772
4721
|
"kind": "field",
|
|
4773
|
-
"name": "
|
|
4722
|
+
"name": "label",
|
|
4774
4723
|
"type": {
|
|
4775
|
-
"text": "
|
|
4724
|
+
"text": "string | undefined"
|
|
4776
4725
|
},
|
|
4777
|
-
"
|
|
4778
|
-
"
|
|
4779
|
-
"
|
|
4780
|
-
|
|
4726
|
+
"description": "The floating label for the field",
|
|
4727
|
+
"attribute": "label",
|
|
4728
|
+
"inheritedFrom": {
|
|
4729
|
+
"name": "UmFieldBase",
|
|
4730
|
+
"module": "src/field/field-base.ts"
|
|
4731
|
+
}
|
|
4781
4732
|
},
|
|
4782
4733
|
{
|
|
4783
4734
|
"kind": "field",
|
|
4784
|
-
"name": "
|
|
4735
|
+
"name": "_innerCounter",
|
|
4785
4736
|
"type": {
|
|
4786
|
-
"text": "
|
|
4737
|
+
"text": "string | undefined"
|
|
4787
4738
|
},
|
|
4788
|
-
"
|
|
4789
|
-
"
|
|
4790
|
-
|
|
4791
|
-
|
|
4739
|
+
"privacy": "protected",
|
|
4740
|
+
"inheritedFrom": {
|
|
4741
|
+
"name": "UmFieldBase",
|
|
4742
|
+
"module": "src/field/field-base.ts"
|
|
4743
|
+
}
|
|
4792
4744
|
},
|
|
4793
4745
|
{
|
|
4794
4746
|
"kind": "field",
|
|
4795
|
-
"name": "
|
|
4747
|
+
"name": "counter",
|
|
4796
4748
|
"type": {
|
|
4797
|
-
"text": "
|
|
4749
|
+
"text": "string | undefined"
|
|
4798
4750
|
},
|
|
4799
|
-
"
|
|
4800
|
-
"
|
|
4801
|
-
|
|
4802
|
-
|
|
4751
|
+
"attribute": "counter",
|
|
4752
|
+
"inheritedFrom": {
|
|
4753
|
+
"name": "UmFieldBase",
|
|
4754
|
+
"module": "src/field/field-base.ts"
|
|
4755
|
+
}
|
|
4803
4756
|
},
|
|
4804
4757
|
{
|
|
4805
4758
|
"kind": "field",
|
|
4806
|
-
"name": "
|
|
4759
|
+
"name": "hideCounter",
|
|
4807
4760
|
"type": {
|
|
4808
4761
|
"text": "boolean"
|
|
4809
4762
|
},
|
|
4810
4763
|
"default": "false",
|
|
4811
|
-
"
|
|
4812
|
-
"
|
|
4813
|
-
|
|
4764
|
+
"attribute": "hide-counter",
|
|
4765
|
+
"inheritedFrom": {
|
|
4766
|
+
"name": "UmFieldBase",
|
|
4767
|
+
"module": "src/field/field-base.ts"
|
|
4768
|
+
}
|
|
4814
4769
|
},
|
|
4815
4770
|
{
|
|
4816
4771
|
"kind": "field",
|
|
4817
|
-
"name": "
|
|
4772
|
+
"name": "supportingText",
|
|
4818
4773
|
"type": {
|
|
4819
|
-
"text": "
|
|
4774
|
+
"text": "| string\n | undefined"
|
|
4820
4775
|
},
|
|
4821
|
-
"
|
|
4776
|
+
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
4777
|
+
"attribute": "supporting-text",
|
|
4778
|
+
"inheritedFrom": {
|
|
4779
|
+
"name": "UmFieldBase",
|
|
4780
|
+
"module": "src/field/field-base.ts"
|
|
4781
|
+
}
|
|
4822
4782
|
},
|
|
4823
4783
|
{
|
|
4824
4784
|
"kind": "field",
|
|
4825
|
-
"name": "
|
|
4785
|
+
"name": "errorText",
|
|
4826
4786
|
"type": {
|
|
4827
|
-
"text": "
|
|
4787
|
+
"text": "string | undefined"
|
|
4828
4788
|
},
|
|
4829
|
-
"
|
|
4789
|
+
"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`",
|
|
4790
|
+
"attribute": "error-text",
|
|
4791
|
+
"inheritedFrom": {
|
|
4792
|
+
"name": "UmFieldBase",
|
|
4793
|
+
"module": "src/field/field-base.ts"
|
|
4794
|
+
}
|
|
4830
4795
|
},
|
|
4831
4796
|
{
|
|
4832
4797
|
"kind": "field",
|
|
4833
|
-
"name": "
|
|
4798
|
+
"name": "disabled",
|
|
4834
4799
|
"type": {
|
|
4835
|
-
"text": "
|
|
4800
|
+
"text": "boolean"
|
|
4836
4801
|
},
|
|
4837
|
-
"
|
|
4802
|
+
"default": "false",
|
|
4803
|
+
"attribute": "disabled",
|
|
4804
|
+
"reflects": true,
|
|
4805
|
+
"inheritedFrom": {
|
|
4806
|
+
"name": "UmFieldBase",
|
|
4807
|
+
"module": "src/field/field-base.ts"
|
|
4808
|
+
}
|
|
4838
4809
|
},
|
|
4839
4810
|
{
|
|
4840
4811
|
"kind": "field",
|
|
4841
|
-
"name": "
|
|
4812
|
+
"name": "invalid",
|
|
4842
4813
|
"type": {
|
|
4843
|
-
"text": "
|
|
4814
|
+
"text": "boolean"
|
|
4815
|
+
},
|
|
4816
|
+
"default": "false",
|
|
4817
|
+
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
4818
|
+
"attribute": "invalid",
|
|
4819
|
+
"reflects": true,
|
|
4820
|
+
"inheritedFrom": {
|
|
4821
|
+
"name": "UmFieldBase",
|
|
4822
|
+
"module": "src/field/field-base.ts"
|
|
4844
4823
|
}
|
|
4845
4824
|
},
|
|
4846
4825
|
{
|
|
4847
4826
|
"kind": "method",
|
|
4848
|
-
"name": "
|
|
4849
|
-
"
|
|
4850
|
-
{
|
|
4851
|
-
"name": "e",
|
|
4852
|
-
"type": {
|
|
4853
|
-
"text": "Event"
|
|
4854
|
-
}
|
|
4855
|
-
}
|
|
4856
|
-
]
|
|
4857
|
-
},
|
|
4858
|
-
{
|
|
4859
|
-
"kind": "method",
|
|
4860
|
-
"name": "#handleTrailingIconSlotChange"
|
|
4861
|
-
},
|
|
4862
|
-
{
|
|
4863
|
-
"kind": "method",
|
|
4864
|
-
"name": "#handleLeadingIconSlotChange"
|
|
4865
|
-
},
|
|
4866
|
-
{
|
|
4867
|
-
"kind": "method",
|
|
4868
|
-
"name": "#handleSelectedIconSlotChange"
|
|
4869
|
-
},
|
|
4870
|
-
{
|
|
4871
|
-
"kind": "method",
|
|
4872
|
-
"name": "handleClick",
|
|
4873
|
-
"privacy": "protected",
|
|
4827
|
+
"name": "setDefaults",
|
|
4828
|
+
"static": true,
|
|
4874
4829
|
"return": {
|
|
4875
4830
|
"type": {
|
|
4876
|
-
"text": "
|
|
4831
|
+
"text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
|
|
4877
4832
|
}
|
|
4878
4833
|
},
|
|
4879
4834
|
"parameters": [
|
|
4880
4835
|
{
|
|
4881
|
-
"name": "
|
|
4836
|
+
"name": "contextRoot",
|
|
4882
4837
|
"type": {
|
|
4883
|
-
"text": "
|
|
4838
|
+
"text": "HTMLElement"
|
|
4839
|
+
}
|
|
4840
|
+
},
|
|
4841
|
+
{
|
|
4842
|
+
"name": "config",
|
|
4843
|
+
"type": {
|
|
4844
|
+
"text": "UmFieldDefaults"
|
|
4884
4845
|
}
|
|
4885
4846
|
}
|
|
4886
4847
|
],
|
|
4887
4848
|
"inheritedFrom": {
|
|
4888
|
-
"name": "
|
|
4889
|
-
"module": "src/
|
|
4890
|
-
}
|
|
4891
|
-
},
|
|
4892
|
-
{
|
|
4893
|
-
"kind": "method",
|
|
4894
|
-
"name": "renderContent",
|
|
4895
|
-
"privacy": "protected",
|
|
4896
|
-
"return": {
|
|
4897
|
-
"type": {
|
|
4898
|
-
"text": "HTMLTemplateResult"
|
|
4899
|
-
}
|
|
4900
|
-
},
|
|
4901
|
-
"inheritedFrom": {
|
|
4902
|
-
"name": "UmButtonWrapper",
|
|
4903
|
-
"module": "src/shared/button-wrapper.ts"
|
|
4849
|
+
"name": "UmFieldBase",
|
|
4850
|
+
"module": "src/field/field-base.ts"
|
|
4904
4851
|
}
|
|
4905
4852
|
},
|
|
4906
4853
|
{
|
|
4907
4854
|
"kind": "field",
|
|
4908
|
-
"name": "
|
|
4855
|
+
"name": "hasLeadingIcon",
|
|
4909
4856
|
"type": {
|
|
4910
4857
|
"text": "boolean"
|
|
4911
4858
|
},
|
|
4912
4859
|
"default": "false",
|
|
4913
|
-
"description": "Whether the
|
|
4914
|
-
"attribute": "
|
|
4860
|
+
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
4861
|
+
"attribute": "has-leading-icon",
|
|
4915
4862
|
"reflects": true,
|
|
4916
4863
|
"inheritedFrom": {
|
|
4917
|
-
"name": "
|
|
4918
|
-
"module": "src/
|
|
4864
|
+
"name": "UmFieldBase",
|
|
4865
|
+
"module": "src/field/field-base.ts"
|
|
4919
4866
|
}
|
|
4920
4867
|
},
|
|
4921
4868
|
{
|
|
4922
4869
|
"kind": "field",
|
|
4923
|
-
"name": "
|
|
4870
|
+
"name": "hasTrailingIcon",
|
|
4924
4871
|
"type": {
|
|
4925
4872
|
"text": "boolean"
|
|
4926
4873
|
},
|
|
4927
|
-
"default": "
|
|
4874
|
+
"default": "false",
|
|
4875
|
+
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4876
|
+
"attribute": "has-trailing-icon",
|
|
4877
|
+
"reflects": true,
|
|
4928
4878
|
"inheritedFrom": {
|
|
4929
|
-
"name": "
|
|
4930
|
-
"module": "src/
|
|
4879
|
+
"name": "UmFieldBase",
|
|
4880
|
+
"module": "src/field/field-base.ts"
|
|
4931
4881
|
}
|
|
4932
4882
|
},
|
|
4933
4883
|
{
|
|
4934
4884
|
"kind": "field",
|
|
4935
|
-
"name": "
|
|
4885
|
+
"name": "hasErrorText",
|
|
4936
4886
|
"type": {
|
|
4937
|
-
"text": "
|
|
4887
|
+
"text": "boolean"
|
|
4938
4888
|
},
|
|
4939
|
-
"
|
|
4940
|
-
"
|
|
4889
|
+
"default": "false",
|
|
4890
|
+
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
4891
|
+
"attribute": "has-error-text",
|
|
4892
|
+
"reflects": true,
|
|
4941
4893
|
"inheritedFrom": {
|
|
4942
|
-
"name": "
|
|
4943
|
-
"module": "src/
|
|
4894
|
+
"name": "UmFieldBase",
|
|
4895
|
+
"module": "src/field/field-base.ts"
|
|
4944
4896
|
}
|
|
4945
4897
|
},
|
|
4946
4898
|
{
|
|
4947
4899
|
"kind": "field",
|
|
4948
|
-
"name": "
|
|
4900
|
+
"name": "assignedLeadingIcons",
|
|
4949
4901
|
"type": {
|
|
4950
|
-
"text": "
|
|
4902
|
+
"text": "HTMLElement[]"
|
|
4951
4903
|
},
|
|
4952
|
-
"
|
|
4953
|
-
"attribute": "target",
|
|
4904
|
+
"privacy": "private",
|
|
4954
4905
|
"inheritedFrom": {
|
|
4955
|
-
"name": "
|
|
4956
|
-
"module": "src/
|
|
4906
|
+
"name": "UmFieldBase",
|
|
4907
|
+
"module": "src/field/field-base.ts"
|
|
4957
4908
|
}
|
|
4958
4909
|
},
|
|
4959
4910
|
{
|
|
4960
4911
|
"kind": "field",
|
|
4961
|
-
"name": "
|
|
4912
|
+
"name": "assignedTrailingIcons",
|
|
4962
4913
|
"type": {
|
|
4963
|
-
"text": "
|
|
4914
|
+
"text": "HTMLElement[]"
|
|
4964
4915
|
},
|
|
4965
|
-
"
|
|
4916
|
+
"privacy": "private",
|
|
4966
4917
|
"inheritedFrom": {
|
|
4967
|
-
"name": "
|
|
4968
|
-
"module": "src/
|
|
4918
|
+
"name": "UmFieldBase",
|
|
4919
|
+
"module": "src/field/field-base.ts"
|
|
4969
4920
|
}
|
|
4970
4921
|
},
|
|
4971
4922
|
{
|
|
4972
4923
|
"kind": "field",
|
|
4973
|
-
"name": "
|
|
4924
|
+
"name": "assignedErrorTexts",
|
|
4974
4925
|
"type": {
|
|
4975
|
-
"text": "HTMLElement"
|
|
4926
|
+
"text": "HTMLElement[]"
|
|
4976
4927
|
},
|
|
4928
|
+
"privacy": "private",
|
|
4977
4929
|
"inheritedFrom": {
|
|
4978
|
-
"name": "
|
|
4979
|
-
"module": "src/
|
|
4930
|
+
"name": "UmFieldBase",
|
|
4931
|
+
"module": "src/field/field-base.ts"
|
|
4980
4932
|
}
|
|
4981
4933
|
},
|
|
4982
4934
|
{
|
|
4983
4935
|
"kind": "field",
|
|
4984
|
-
"name": "
|
|
4936
|
+
"name": "_labelElement",
|
|
4985
4937
|
"type": {
|
|
4986
|
-
"text": "
|
|
4938
|
+
"text": "HTMLElement"
|
|
4987
4939
|
},
|
|
4988
4940
|
"privacy": "private",
|
|
4989
4941
|
"inheritedFrom": {
|
|
4990
|
-
"name": "
|
|
4991
|
-
"module": "src/
|
|
4942
|
+
"name": "UmFieldBase",
|
|
4943
|
+
"module": "src/field/field-base.ts"
|
|
4992
4944
|
}
|
|
4993
4945
|
},
|
|
4994
4946
|
{
|
|
4995
4947
|
"kind": "field",
|
|
4996
|
-
"name": "
|
|
4948
|
+
"name": "_container",
|
|
4997
4949
|
"type": {
|
|
4998
|
-
"text": "
|
|
4950
|
+
"text": "HTMLElement"
|
|
4999
4951
|
},
|
|
5000
4952
|
"privacy": "protected",
|
|
5001
|
-
"default": "null",
|
|
5002
4953
|
"inheritedFrom": {
|
|
5003
|
-
"name": "
|
|
5004
|
-
"module": "src/
|
|
4954
|
+
"name": "UmFieldBase",
|
|
4955
|
+
"module": "src/field/field-base.ts"
|
|
5005
4956
|
}
|
|
5006
4957
|
},
|
|
5007
4958
|
{
|
|
5008
4959
|
"kind": "field",
|
|
5009
|
-
"name": "
|
|
4960
|
+
"name": "labelSizeObserver",
|
|
5010
4961
|
"type": {
|
|
5011
|
-
"text": "
|
|
4962
|
+
"text": "ResizeObserver | null"
|
|
5012
4963
|
},
|
|
4964
|
+
"privacy": "private",
|
|
4965
|
+
"default": "null",
|
|
5013
4966
|
"inheritedFrom": {
|
|
5014
|
-
"name": "
|
|
5015
|
-
"module": "src/
|
|
4967
|
+
"name": "UmFieldBase",
|
|
4968
|
+
"module": "src/field/field-base.ts"
|
|
5016
4969
|
}
|
|
5017
4970
|
},
|
|
5018
4971
|
{
|
|
5019
4972
|
"kind": "method",
|
|
5020
|
-
"name": "
|
|
5021
|
-
"privacy": "
|
|
4973
|
+
"name": "renderAfterContent",
|
|
4974
|
+
"privacy": "protected",
|
|
4975
|
+
"return": {
|
|
4976
|
+
"type": {
|
|
4977
|
+
"text": "TemplateResult"
|
|
4978
|
+
}
|
|
4979
|
+
},
|
|
5022
4980
|
"inheritedFrom": {
|
|
5023
|
-
"name": "
|
|
5024
|
-
"module": "src/
|
|
4981
|
+
"name": "UmFieldBase",
|
|
4982
|
+
"module": "src/field/field-base.ts"
|
|
5025
4983
|
}
|
|
5026
4984
|
},
|
|
5027
4985
|
{
|
|
5028
4986
|
"kind": "method",
|
|
5029
|
-
"name": "
|
|
5030
|
-
"
|
|
4987
|
+
"name": "#attach",
|
|
4988
|
+
"return": {
|
|
4989
|
+
"type": {
|
|
4990
|
+
"text": "Promise<void>"
|
|
4991
|
+
}
|
|
4992
|
+
},
|
|
5031
4993
|
"inheritedFrom": {
|
|
5032
|
-
"name": "
|
|
5033
|
-
"module": "src/
|
|
4994
|
+
"name": "UmFieldBase",
|
|
4995
|
+
"module": "src/field/field-base.ts"
|
|
5034
4996
|
}
|
|
5035
4997
|
},
|
|
5036
4998
|
{
|
|
5037
4999
|
"kind": "method",
|
|
5038
|
-
"name": "
|
|
5000
|
+
"name": "handleLeadingIconSlotChange",
|
|
5001
|
+
"privacy": "private",
|
|
5039
5002
|
"inheritedFrom": {
|
|
5040
|
-
"name": "
|
|
5041
|
-
"module": "src/
|
|
5003
|
+
"name": "UmFieldBase",
|
|
5004
|
+
"module": "src/field/field-base.ts"
|
|
5042
5005
|
}
|
|
5043
5006
|
},
|
|
5044
5007
|
{
|
|
5045
5008
|
"kind": "method",
|
|
5046
|
-
"name": "
|
|
5009
|
+
"name": "handleTrailingIconSlotChange",
|
|
5010
|
+
"privacy": "private",
|
|
5047
5011
|
"inheritedFrom": {
|
|
5048
|
-
"name": "
|
|
5049
|
-
"module": "src/
|
|
5012
|
+
"name": "UmFieldBase",
|
|
5013
|
+
"module": "src/field/field-base.ts"
|
|
5050
5014
|
}
|
|
5051
5015
|
},
|
|
5052
5016
|
{
|
|
5053
5017
|
"kind": "method",
|
|
5054
|
-
"name": "
|
|
5055
|
-
"privacy": "
|
|
5056
|
-
"return": {
|
|
5057
|
-
"type": {
|
|
5058
|
-
"text": "string | null"
|
|
5059
|
-
}
|
|
5060
|
-
},
|
|
5018
|
+
"name": "handleErrorTextSlotChange",
|
|
5019
|
+
"privacy": "private",
|
|
5061
5020
|
"inheritedFrom": {
|
|
5062
|
-
"name": "
|
|
5063
|
-
"module": "src/
|
|
5021
|
+
"name": "UmFieldBase",
|
|
5022
|
+
"module": "src/field/field-base.ts"
|
|
5064
5023
|
}
|
|
5065
5024
|
},
|
|
5066
5025
|
{
|
|
5067
5026
|
"kind": "method",
|
|
5068
|
-
"name": "
|
|
5027
|
+
"name": "setLabelWidthProperties",
|
|
5069
5028
|
"privacy": "private",
|
|
5070
|
-
"return": {
|
|
5071
|
-
"type": {
|
|
5072
|
-
"text": "void"
|
|
5073
|
-
}
|
|
5074
|
-
},
|
|
5075
5029
|
"inheritedFrom": {
|
|
5076
|
-
"name": "
|
|
5077
|
-
"module": "src/
|
|
5030
|
+
"name": "UmFieldBase",
|
|
5031
|
+
"module": "src/field/field-base.ts"
|
|
5078
5032
|
}
|
|
5079
5033
|
},
|
|
5080
5034
|
{
|
|
5081
5035
|
"kind": "method",
|
|
5082
|
-
"name": "
|
|
5036
|
+
"name": "renderDefaultTrailingIcon",
|
|
5037
|
+
"privacy": "protected",
|
|
5083
5038
|
"return": {
|
|
5084
5039
|
"type": {
|
|
5085
|
-
"text": "
|
|
5040
|
+
"text": "TemplateResult | typeof nothing"
|
|
5086
5041
|
}
|
|
5087
5042
|
},
|
|
5088
|
-
"parameters": [
|
|
5089
|
-
{
|
|
5090
|
-
"name": "event",
|
|
5091
|
-
"type": {
|
|
5092
|
-
"text": "MouseEvent"
|
|
5093
|
-
}
|
|
5094
|
-
}
|
|
5095
|
-
],
|
|
5096
5043
|
"inheritedFrom": {
|
|
5097
|
-
"name": "
|
|
5098
|
-
"module": "src/
|
|
5044
|
+
"name": "UmFieldBase",
|
|
5045
|
+
"module": "src/field/field-base.ts"
|
|
5099
5046
|
}
|
|
5100
5047
|
}
|
|
5101
5048
|
],
|
|
@@ -5109,82 +5056,119 @@
|
|
|
5109
5056
|
],
|
|
5110
5057
|
"attributes": [
|
|
5111
5058
|
{
|
|
5112
|
-
"name": "
|
|
5059
|
+
"name": "name",
|
|
5060
|
+
"type": {
|
|
5061
|
+
"text": "string"
|
|
5062
|
+
},
|
|
5063
|
+
"fieldName": "name"
|
|
5064
|
+
},
|
|
5065
|
+
{
|
|
5066
|
+
"name": "manual",
|
|
5113
5067
|
"type": {
|
|
5114
5068
|
"text": "boolean"
|
|
5115
5069
|
},
|
|
5116
5070
|
"default": "false",
|
|
5117
|
-
"description": "
|
|
5118
|
-
"fieldName": "
|
|
5071
|
+
"description": "If true, ignore enter key input",
|
|
5072
|
+
"fieldName": "manual"
|
|
5119
5073
|
},
|
|
5120
5074
|
{
|
|
5121
|
-
"name": "
|
|
5075
|
+
"name": "placeholder",
|
|
5122
5076
|
"type": {
|
|
5123
|
-
"text": "
|
|
5077
|
+
"text": "string"
|
|
5124
5078
|
},
|
|
5125
|
-
"
|
|
5079
|
+
"default": "''",
|
|
5080
|
+
"fieldName": "placeholder",
|
|
5081
|
+
"inheritedFrom": {
|
|
5082
|
+
"name": "UmTextFieldBase",
|
|
5083
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
5084
|
+
}
|
|
5126
5085
|
},
|
|
5127
5086
|
{
|
|
5128
|
-
"name": "
|
|
5087
|
+
"name": "variant",
|
|
5129
5088
|
"type": {
|
|
5130
|
-
"text": "
|
|
5089
|
+
"text": "'filled' | 'outlined' | undefined"
|
|
5131
5090
|
},
|
|
5132
|
-
"default": "
|
|
5133
|
-
"
|
|
5134
|
-
|
|
5091
|
+
"default": "undefined",
|
|
5092
|
+
"resolveInitializer": {
|
|
5093
|
+
"module": "src/field/field-base.ts"
|
|
5094
|
+
},
|
|
5095
|
+
"fieldName": "variant",
|
|
5096
|
+
"inheritedFrom": {
|
|
5097
|
+
"name": "UmFieldBase",
|
|
5098
|
+
"module": "src/field/field-base.ts"
|
|
5099
|
+
}
|
|
5135
5100
|
},
|
|
5136
5101
|
{
|
|
5137
|
-
"name": "
|
|
5102
|
+
"name": "label",
|
|
5138
5103
|
"type": {
|
|
5139
|
-
"text": "
|
|
5104
|
+
"text": "string | undefined"
|
|
5140
5105
|
},
|
|
5141
|
-
"description": "
|
|
5142
|
-
"fieldName": "
|
|
5106
|
+
"description": "The floating label for the field",
|
|
5107
|
+
"fieldName": "label",
|
|
5108
|
+
"inheritedFrom": {
|
|
5109
|
+
"name": "UmFieldBase",
|
|
5110
|
+
"module": "src/field/field-base.ts"
|
|
5111
|
+
}
|
|
5143
5112
|
},
|
|
5144
5113
|
{
|
|
5145
|
-
"name": "
|
|
5114
|
+
"name": "counter",
|
|
5146
5115
|
"type": {
|
|
5147
|
-
"text": "
|
|
5116
|
+
"text": "string | undefined"
|
|
5148
5117
|
},
|
|
5149
|
-
"
|
|
5150
|
-
"
|
|
5151
|
-
|
|
5118
|
+
"fieldName": "counter",
|
|
5119
|
+
"inheritedFrom": {
|
|
5120
|
+
"name": "UmFieldBase",
|
|
5121
|
+
"module": "src/field/field-base.ts"
|
|
5122
|
+
}
|
|
5152
5123
|
},
|
|
5153
5124
|
{
|
|
5154
|
-
"name": "hide-
|
|
5125
|
+
"name": "hide-counter",
|
|
5155
5126
|
"type": {
|
|
5156
5127
|
"text": "boolean"
|
|
5157
5128
|
},
|
|
5158
5129
|
"default": "false",
|
|
5159
|
-
"
|
|
5160
|
-
"
|
|
5130
|
+
"fieldName": "hideCounter",
|
|
5131
|
+
"inheritedFrom": {
|
|
5132
|
+
"name": "UmFieldBase",
|
|
5133
|
+
"module": "src/field/field-base.ts"
|
|
5134
|
+
}
|
|
5161
5135
|
},
|
|
5162
5136
|
{
|
|
5163
|
-
"name": "
|
|
5137
|
+
"name": "supporting-text",
|
|
5164
5138
|
"type": {
|
|
5165
|
-
"text": "
|
|
5139
|
+
"text": "| string\n | undefined"
|
|
5166
5140
|
},
|
|
5167
|
-
"
|
|
5168
|
-
"
|
|
5169
|
-
"
|
|
5141
|
+
"description": "Supporting text conveys additional information about the field, such as how it will be used",
|
|
5142
|
+
"fieldName": "supportingText",
|
|
5143
|
+
"inheritedFrom": {
|
|
5144
|
+
"name": "UmFieldBase",
|
|
5145
|
+
"module": "src/field/field-base.ts"
|
|
5146
|
+
}
|
|
5170
5147
|
},
|
|
5171
5148
|
{
|
|
5172
|
-
"name": "
|
|
5149
|
+
"name": "error-text",
|
|
5173
5150
|
"type": {
|
|
5174
|
-
"text": "
|
|
5151
|
+
"text": "string | undefined"
|
|
5175
5152
|
},
|
|
5176
|
-
"
|
|
5177
|
-
"
|
|
5178
|
-
"
|
|
5153
|
+
"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`",
|
|
5154
|
+
"fieldName": "errorText",
|
|
5155
|
+
"inheritedFrom": {
|
|
5156
|
+
"name": "UmFieldBase",
|
|
5157
|
+
"module": "src/field/field-base.ts"
|
|
5158
|
+
}
|
|
5179
5159
|
},
|
|
5180
5160
|
{
|
|
5181
|
-
"name": "
|
|
5161
|
+
"name": "empty",
|
|
5182
5162
|
"type": {
|
|
5183
5163
|
"text": "boolean"
|
|
5184
5164
|
},
|
|
5185
5165
|
"default": "false",
|
|
5186
|
-
"description": "Whether the
|
|
5187
|
-
"fieldName": "
|
|
5166
|
+
"description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
|
|
5167
|
+
"fieldName": "empty",
|
|
5168
|
+
"inheritedFrom": {
|
|
5169
|
+
"name": "UmFieldBase",
|
|
5170
|
+
"module": "src/field/field-base.ts"
|
|
5171
|
+
}
|
|
5188
5172
|
},
|
|
5189
5173
|
{
|
|
5190
5174
|
"name": "disabled",
|
|
@@ -5192,72 +5176,88 @@
|
|
|
5192
5176
|
"text": "boolean"
|
|
5193
5177
|
},
|
|
5194
5178
|
"default": "false",
|
|
5195
|
-
"description": "Whether the button is disabled or not.",
|
|
5196
5179
|
"fieldName": "disabled",
|
|
5197
5180
|
"inheritedFrom": {
|
|
5198
|
-
"name": "
|
|
5199
|
-
"module": "src/
|
|
5181
|
+
"name": "UmFieldBase",
|
|
5182
|
+
"module": "src/field/field-base.ts"
|
|
5200
5183
|
}
|
|
5201
5184
|
},
|
|
5202
5185
|
{
|
|
5203
|
-
"name": "
|
|
5186
|
+
"name": "invalid",
|
|
5204
5187
|
"type": {
|
|
5205
|
-
"text": "
|
|
5188
|
+
"text": "boolean"
|
|
5206
5189
|
},
|
|
5207
|
-
"
|
|
5208
|
-
"
|
|
5190
|
+
"default": "false",
|
|
5191
|
+
"description": "Get or sets where or not the field is in a visually invalid state.",
|
|
5192
|
+
"fieldName": "invalid",
|
|
5209
5193
|
"inheritedFrom": {
|
|
5210
|
-
"name": "
|
|
5211
|
-
"module": "src/
|
|
5194
|
+
"name": "UmFieldBase",
|
|
5195
|
+
"module": "src/field/field-base.ts"
|
|
5212
5196
|
}
|
|
5213
5197
|
},
|
|
5214
5198
|
{
|
|
5215
|
-
"name": "
|
|
5199
|
+
"name": "has-leading-icon",
|
|
5216
5200
|
"type": {
|
|
5217
|
-
"text": "
|
|
5201
|
+
"text": "boolean"
|
|
5218
5202
|
},
|
|
5219
|
-
"
|
|
5220
|
-
"
|
|
5203
|
+
"default": "false",
|
|
5204
|
+
"description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
|
|
5205
|
+
"fieldName": "hasLeadingIcon",
|
|
5221
5206
|
"inheritedFrom": {
|
|
5222
|
-
"name": "
|
|
5223
|
-
"module": "src/
|
|
5207
|
+
"name": "UmFieldBase",
|
|
5208
|
+
"module": "src/field/field-base.ts"
|
|
5224
5209
|
}
|
|
5225
5210
|
},
|
|
5226
5211
|
{
|
|
5227
|
-
"name": "
|
|
5212
|
+
"name": "has-trailing-icon",
|
|
5228
5213
|
"type": {
|
|
5229
|
-
"text": "
|
|
5214
|
+
"text": "boolean"
|
|
5230
5215
|
},
|
|
5231
|
-
"
|
|
5216
|
+
"default": "false",
|
|
5217
|
+
"description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
|
|
5218
|
+
"fieldName": "hasTrailingIcon",
|
|
5232
5219
|
"inheritedFrom": {
|
|
5233
|
-
"name": "
|
|
5234
|
-
"module": "src/
|
|
5220
|
+
"name": "UmFieldBase",
|
|
5221
|
+
"module": "src/field/field-base.ts"
|
|
5222
|
+
}
|
|
5223
|
+
},
|
|
5224
|
+
{
|
|
5225
|
+
"name": "has-error-text",
|
|
5226
|
+
"type": {
|
|
5227
|
+
"text": "boolean"
|
|
5228
|
+
},
|
|
5229
|
+
"default": "false",
|
|
5230
|
+
"description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
|
|
5231
|
+
"fieldName": "hasErrorText",
|
|
5232
|
+
"inheritedFrom": {
|
|
5233
|
+
"name": "UmFieldBase",
|
|
5234
|
+
"module": "src/field/field-base.ts"
|
|
5235
5235
|
}
|
|
5236
5236
|
}
|
|
5237
5237
|
],
|
|
5238
5238
|
"superclass": {
|
|
5239
|
-
"name": "
|
|
5240
|
-
"module": "/src/shared/
|
|
5239
|
+
"name": "UmTextFieldBase",
|
|
5240
|
+
"module": "/src/shared/text-field-base/text-field-base.js"
|
|
5241
5241
|
},
|
|
5242
|
-
"tagName": "u-chip",
|
|
5242
|
+
"tagName": "u-chip-field",
|
|
5243
5243
|
"customElement": true
|
|
5244
5244
|
}
|
|
5245
5245
|
],
|
|
5246
5246
|
"exports": [
|
|
5247
5247
|
{
|
|
5248
5248
|
"kind": "js",
|
|
5249
|
-
"name": "
|
|
5249
|
+
"name": "UmChipField",
|
|
5250
5250
|
"declaration": {
|
|
5251
|
-
"name": "
|
|
5252
|
-
"module": "src/chip/chip.ts"
|
|
5251
|
+
"name": "UmChipField",
|
|
5252
|
+
"module": "src/chip-field/chip-field.ts"
|
|
5253
5253
|
}
|
|
5254
5254
|
},
|
|
5255
5255
|
{
|
|
5256
5256
|
"kind": "custom-element-definition",
|
|
5257
|
-
"name": "u-chip",
|
|
5257
|
+
"name": "u-chip-field",
|
|
5258
5258
|
"declaration": {
|
|
5259
|
-
"name": "
|
|
5260
|
-
"module": "src/chip/chip.ts"
|
|
5259
|
+
"name": "UmChipField",
|
|
5260
|
+
"module": "src/chip-field/chip-field.ts"
|
|
5261
5261
|
}
|
|
5262
5262
|
}
|
|
5263
5263
|
]
|
|
@@ -11980,57 +11980,36 @@
|
|
|
11980
11980
|
"module": "src/field/field-base.ts"
|
|
11981
11981
|
}
|
|
11982
11982
|
}
|
|
11983
|
-
]
|
|
11984
|
-
}
|
|
11985
|
-
],
|
|
11986
|
-
"exports": [
|
|
11987
|
-
{
|
|
11988
|
-
"kind": "js",
|
|
11989
|
-
"name": "UmSelect",
|
|
11990
|
-
"declaration": {
|
|
11991
|
-
"name": "UmSelect",
|
|
11992
|
-
"module": "src/select/select.ts"
|
|
11993
|
-
}
|
|
11994
|
-
},
|
|
11995
|
-
{
|
|
11996
|
-
"kind": "custom-element-definition",
|
|
11997
|
-
"name": "u-select",
|
|
11998
|
-
"declaration": {
|
|
11999
|
-
"name": "UmSelect",
|
|
12000
|
-
"module": "src/select/select.ts"
|
|
12001
|
-
}
|
|
12002
|
-
}
|
|
12003
|
-
]
|
|
12004
|
-
},
|
|
12005
|
-
{
|
|
12006
|
-
"kind": "javascript-module",
|
|
12007
|
-
"path": "src/shared/base.styles.ts",
|
|
12008
|
-
"declarations": [
|
|
12009
|
-
{
|
|
12010
|
-
"kind": "variable",
|
|
12011
|
-
"name": "styles",
|
|
12012
|
-
"default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n 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 box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n`"
|
|
11983
|
+
]
|
|
12013
11984
|
}
|
|
12014
11985
|
],
|
|
12015
11986
|
"exports": [
|
|
12016
11987
|
{
|
|
12017
11988
|
"kind": "js",
|
|
12018
|
-
"name": "
|
|
11989
|
+
"name": "UmSelect",
|
|
12019
11990
|
"declaration": {
|
|
12020
|
-
"name": "
|
|
12021
|
-
"module": "src/
|
|
11991
|
+
"name": "UmSelect",
|
|
11992
|
+
"module": "src/select/select.ts"
|
|
11993
|
+
}
|
|
11994
|
+
},
|
|
11995
|
+
{
|
|
11996
|
+
"kind": "custom-element-definition",
|
|
11997
|
+
"name": "u-select",
|
|
11998
|
+
"declaration": {
|
|
11999
|
+
"name": "UmSelect",
|
|
12000
|
+
"module": "src/select/select.ts"
|
|
12022
12001
|
}
|
|
12023
12002
|
}
|
|
12024
12003
|
]
|
|
12025
12004
|
},
|
|
12026
12005
|
{
|
|
12027
12006
|
"kind": "javascript-module",
|
|
12028
|
-
"path": "src/
|
|
12007
|
+
"path": "src/snackbar/snackbar.styles.ts",
|
|
12029
12008
|
"declarations": [
|
|
12030
12009
|
{
|
|
12031
12010
|
"kind": "variable",
|
|
12032
12011
|
"name": "styles",
|
|
12033
|
-
"default": "css `\n :host {\n --
|
|
12012
|
+
"default": "css `\n :host {\n --u-elevation-level: var(--u-snackbar-elevation-level, 3);\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-medium, 16px));\n position: fixed;\n inset-inline: 0;\n inset-block-end: 0;\n padding: var(--_snackbar-margin);\n z-index: var(--u-snackbar-z-index, 1070);\n display: flex;\n justify-content: center;\n }\n\n .snackbar {\n display: flex;\n align-items: center;\n min-height: var(--u-snackbar-height, 48px);\n color: var(--u-snackbar-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n background-color: var(--u-snackbar-bg-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n border-radius: var(--u-snackbar-shape, var(--u-shape-corner-extra-small, 4px));\n animation-name: snackbar-fade-in;\n animation-duration: 450ms;\n animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n animation-fill-mode: forwards;\n min-width: var(--u-snackbar-min-width, 100%);\n max-width: var(--u-snackbar-max-width, 100%);\n }\n .snackbar.dismiss {\n animation-name: snackbar-fade-out;\n }\n\n u-button {\n color: var(--u-color-inverse-primary, );\n margin-inline: var(--u-snackbar-text-button-margin, var(--u-spacing-small, 8px));\n }\n\n u-icon-button {\n color: var(--u-color-on-inverse-surface, rgb(245, 239, 247));\n margin-inline: var(--u-snackbar-close-button-margin, var(--u-spacing-extra-small, 4px));\n }\n\n .label {\n flex: 1;\n overflow: hidden;\n color: var(--u-on-inverse-surface-color);\n padding: var(--u-snackbar-text-margin, var(--u-spacing-medium, 16px));\n line-height: 18px;\n }\n\n @media (min-width: 840px) {\n :host {\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-large, 24px));\n }\n .snackbar {\n min-width: var(--u-snackbar-min-width, 288px);\n max-width: var(--u-snackbar-max-width, 568px);\n }\n }\n @keyframes snackbar-fade-in {\n 0% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n }\n @keyframes snackbar-fade-out {\n 0% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n 100% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n }\n`"
|
|
12034
12013
|
}
|
|
12035
12014
|
],
|
|
12036
12015
|
"exports": [
|
|
@@ -12039,96 +12018,76 @@
|
|
|
12039
12018
|
"name": "styles",
|
|
12040
12019
|
"declaration": {
|
|
12041
12020
|
"name": "styles",
|
|
12042
|
-
"module": "src/
|
|
12021
|
+
"module": "src/snackbar/snackbar.styles.ts"
|
|
12043
12022
|
}
|
|
12044
12023
|
}
|
|
12045
12024
|
]
|
|
12046
12025
|
},
|
|
12047
12026
|
{
|
|
12048
12027
|
"kind": "javascript-module",
|
|
12049
|
-
"path": "src/
|
|
12028
|
+
"path": "src/snackbar/snackbar.ts",
|
|
12050
12029
|
"declarations": [
|
|
12051
12030
|
{
|
|
12052
12031
|
"kind": "class",
|
|
12053
12032
|
"description": "",
|
|
12054
|
-
"name": "
|
|
12033
|
+
"name": "UmSnackbar",
|
|
12055
12034
|
"members": [
|
|
12056
12035
|
{
|
|
12057
12036
|
"kind": "field",
|
|
12058
|
-
"name": "
|
|
12037
|
+
"name": "label",
|
|
12059
12038
|
"type": {
|
|
12060
|
-
"text": "
|
|
12039
|
+
"text": "string"
|
|
12061
12040
|
},
|
|
12062
|
-
"default": "
|
|
12063
|
-
"
|
|
12064
|
-
"attribute": "disabled",
|
|
12041
|
+
"default": "''",
|
|
12042
|
+
"attribute": "label",
|
|
12065
12043
|
"reflects": true
|
|
12066
12044
|
},
|
|
12067
12045
|
{
|
|
12068
12046
|
"kind": "field",
|
|
12069
|
-
"name": "
|
|
12047
|
+
"name": "buttonLabel",
|
|
12070
12048
|
"type": {
|
|
12071
|
-
"text": "
|
|
12049
|
+
"text": "string"
|
|
12072
12050
|
},
|
|
12073
|
-
"default": "
|
|
12051
|
+
"default": "''",
|
|
12052
|
+
"attribute": "buttonLabel",
|
|
12053
|
+
"reflects": true
|
|
12074
12054
|
},
|
|
12075
12055
|
{
|
|
12076
12056
|
"kind": "field",
|
|
12077
|
-
"name": "
|
|
12057
|
+
"name": "showClose",
|
|
12078
12058
|
"type": {
|
|
12079
|
-
"text": "
|
|
12059
|
+
"text": "boolean"
|
|
12080
12060
|
},
|
|
12081
|
-
"
|
|
12082
|
-
"attribute": "
|
|
12061
|
+
"default": "false",
|
|
12062
|
+
"attribute": "show-close",
|
|
12063
|
+
"reflects": true
|
|
12083
12064
|
},
|
|
12084
12065
|
{
|
|
12085
12066
|
"kind": "field",
|
|
12086
|
-
"name": "
|
|
12067
|
+
"name": "dismissed",
|
|
12087
12068
|
"type": {
|
|
12088
|
-
"text": "
|
|
12069
|
+
"text": "boolean"
|
|
12089
12070
|
},
|
|
12090
|
-
"
|
|
12091
|
-
"attribute": "
|
|
12071
|
+
"default": "false",
|
|
12072
|
+
"attribute": "dismissed",
|
|
12073
|
+
"reflects": true
|
|
12092
12074
|
},
|
|
12093
12075
|
{
|
|
12094
12076
|
"kind": "field",
|
|
12095
|
-
"name": "
|
|
12077
|
+
"name": "duration",
|
|
12096
12078
|
"type": {
|
|
12097
|
-
"text": "
|
|
12079
|
+
"text": "SnackbarDuration"
|
|
12098
12080
|
},
|
|
12099
|
-
"
|
|
12081
|
+
"privacy": "private"
|
|
12100
12082
|
},
|
|
12101
12083
|
{
|
|
12102
12084
|
"kind": "field",
|
|
12103
|
-
"name": "
|
|
12085
|
+
"name": "snackbar",
|
|
12104
12086
|
"type": {
|
|
12105
12087
|
"text": "HTMLElement"
|
|
12106
|
-
}
|
|
12107
|
-
},
|
|
12108
|
-
{
|
|
12109
|
-
"kind": "field",
|
|
12110
|
-
"name": "ripple",
|
|
12111
|
-
"type": {
|
|
12112
|
-
"text": "UmRipple"
|
|
12113
12088
|
},
|
|
12114
12089
|
"privacy": "private"
|
|
12115
12090
|
},
|
|
12116
|
-
{
|
|
12117
|
-
"kind": "field",
|
|
12118
|
-
"name": "innerRole",
|
|
12119
|
-
"type": {
|
|
12120
|
-
"text": "string | null"
|
|
12121
|
-
},
|
|
12122
|
-
"privacy": "protected",
|
|
12123
|
-
"default": "null"
|
|
12124
|
-
},
|
|
12125
|
-
{
|
|
12126
|
-
"kind": "field",
|
|
12127
|
-
"name": "pathname",
|
|
12128
|
-
"type": {
|
|
12129
|
-
"text": "string"
|
|
12130
|
-
}
|
|
12131
|
-
},
|
|
12132
12091
|
{
|
|
12133
12092
|
"kind": "method",
|
|
12134
12093
|
"name": "renderButton",
|
|
@@ -12136,78 +12095,118 @@
|
|
|
12136
12095
|
},
|
|
12137
12096
|
{
|
|
12138
12097
|
"kind": "method",
|
|
12139
|
-
"name": "
|
|
12098
|
+
"name": "renderCloseButton",
|
|
12140
12099
|
"privacy": "private"
|
|
12141
12100
|
},
|
|
12142
12101
|
{
|
|
12143
12102
|
"kind": "method",
|
|
12144
|
-
"name": "
|
|
12145
|
-
"privacy": "protected",
|
|
12103
|
+
"name": "dismiss",
|
|
12146
12104
|
"return": {
|
|
12147
12105
|
"type": {
|
|
12148
|
-
"text": "
|
|
12106
|
+
"text": "void"
|
|
12149
12107
|
}
|
|
12150
12108
|
}
|
|
12151
12109
|
},
|
|
12152
12110
|
{
|
|
12153
|
-
"kind": "
|
|
12154
|
-
"name": "
|
|
12111
|
+
"kind": "field",
|
|
12112
|
+
"name": "_queue",
|
|
12113
|
+
"type": {
|
|
12114
|
+
"text": "UmSnackbar[]"
|
|
12115
|
+
},
|
|
12116
|
+
"privacy": "private",
|
|
12117
|
+
"static": true,
|
|
12118
|
+
"default": "[]"
|
|
12155
12119
|
},
|
|
12156
12120
|
{
|
|
12157
|
-
"kind": "
|
|
12158
|
-
"name": "
|
|
12121
|
+
"kind": "field",
|
|
12122
|
+
"name": "_consuming",
|
|
12123
|
+
"type": {
|
|
12124
|
+
"text": "boolean"
|
|
12125
|
+
},
|
|
12126
|
+
"privacy": "private",
|
|
12127
|
+
"static": true
|
|
12159
12128
|
},
|
|
12160
12129
|
{
|
|
12161
12130
|
"kind": "method",
|
|
12162
|
-
"name": "
|
|
12163
|
-
"
|
|
12131
|
+
"name": "show",
|
|
12132
|
+
"static": true,
|
|
12164
12133
|
"return": {
|
|
12165
12134
|
"type": {
|
|
12166
|
-
"text": "
|
|
12135
|
+
"text": "UmSnackbar"
|
|
12167
12136
|
}
|
|
12168
|
-
}
|
|
12137
|
+
},
|
|
12138
|
+
"parameters": [
|
|
12139
|
+
{
|
|
12140
|
+
"name": "label",
|
|
12141
|
+
"type": {
|
|
12142
|
+
"text": "string"
|
|
12143
|
+
}
|
|
12144
|
+
}
|
|
12145
|
+
]
|
|
12169
12146
|
},
|
|
12170
12147
|
{
|
|
12171
12148
|
"kind": "method",
|
|
12172
|
-
"name": "
|
|
12173
|
-
"
|
|
12149
|
+
"name": "show",
|
|
12150
|
+
"static": true,
|
|
12174
12151
|
"return": {
|
|
12175
12152
|
"type": {
|
|
12176
|
-
"text": "
|
|
12153
|
+
"text": "UmSnackbar"
|
|
12177
12154
|
}
|
|
12178
|
-
}
|
|
12155
|
+
},
|
|
12156
|
+
"parameters": [
|
|
12157
|
+
{
|
|
12158
|
+
"name": "config",
|
|
12159
|
+
"type": {
|
|
12160
|
+
"text": "SnackbarConfig"
|
|
12161
|
+
}
|
|
12162
|
+
}
|
|
12163
|
+
]
|
|
12179
12164
|
},
|
|
12180
12165
|
{
|
|
12181
12166
|
"kind": "method",
|
|
12182
|
-
"name": "
|
|
12167
|
+
"name": "show",
|
|
12168
|
+
"static": true,
|
|
12183
12169
|
"return": {
|
|
12184
12170
|
"type": {
|
|
12185
|
-
"text": "
|
|
12171
|
+
"text": "UmSnackbar"
|
|
12186
12172
|
}
|
|
12187
12173
|
},
|
|
12188
12174
|
"parameters": [
|
|
12189
12175
|
{
|
|
12190
|
-
"name": "
|
|
12176
|
+
"name": "configOrLabel",
|
|
12191
12177
|
"type": {
|
|
12192
|
-
"text": "
|
|
12178
|
+
"text": "SnackbarConfig | string"
|
|
12193
12179
|
}
|
|
12194
12180
|
}
|
|
12195
12181
|
]
|
|
12196
12182
|
},
|
|
12197
12183
|
{
|
|
12198
12184
|
"kind": "method",
|
|
12199
|
-
"name": "
|
|
12200
|
-
"privacy": "
|
|
12185
|
+
"name": "consumeQueue",
|
|
12186
|
+
"privacy": "private",
|
|
12187
|
+
"static": true
|
|
12188
|
+
},
|
|
12189
|
+
{
|
|
12190
|
+
"kind": "method",
|
|
12191
|
+
"name": "showNext",
|
|
12192
|
+
"privacy": "private",
|
|
12193
|
+
"static": true
|
|
12194
|
+
},
|
|
12195
|
+
{
|
|
12196
|
+
"kind": "method",
|
|
12197
|
+
"name": "createSnackbar",
|
|
12198
|
+
"privacy": "private",
|
|
12199
|
+
"static": true,
|
|
12201
12200
|
"return": {
|
|
12202
12201
|
"type": {
|
|
12203
|
-
"text": "
|
|
12202
|
+
"text": "UmSnackbar"
|
|
12204
12203
|
}
|
|
12205
12204
|
},
|
|
12206
12205
|
"parameters": [
|
|
12207
12206
|
{
|
|
12208
|
-
"name": "
|
|
12207
|
+
"name": "config",
|
|
12209
12208
|
"type": {
|
|
12210
|
-
"text": "
|
|
12209
|
+
"text": "SnackbarConfig"
|
|
12211
12210
|
}
|
|
12212
12211
|
}
|
|
12213
12212
|
]
|
|
@@ -12215,243 +12214,126 @@
|
|
|
12215
12214
|
],
|
|
12216
12215
|
"attributes": [
|
|
12217
12216
|
{
|
|
12218
|
-
"name": "
|
|
12217
|
+
"name": "label",
|
|
12219
12218
|
"type": {
|
|
12220
|
-
"text": "
|
|
12219
|
+
"text": "string"
|
|
12221
12220
|
},
|
|
12222
|
-
"default": "
|
|
12223
|
-
"
|
|
12224
|
-
"fieldName": "disabled"
|
|
12221
|
+
"default": "''",
|
|
12222
|
+
"fieldName": "label"
|
|
12225
12223
|
},
|
|
12226
12224
|
{
|
|
12227
|
-
"name": "
|
|
12225
|
+
"name": "buttonLabel",
|
|
12228
12226
|
"type": {
|
|
12229
|
-
"text": "string
|
|
12227
|
+
"text": "string"
|
|
12230
12228
|
},
|
|
12231
|
-
"
|
|
12232
|
-
"fieldName": "
|
|
12229
|
+
"default": "''",
|
|
12230
|
+
"fieldName": "buttonLabel"
|
|
12233
12231
|
},
|
|
12234
12232
|
{
|
|
12235
|
-
"name": "
|
|
12233
|
+
"name": "show-close",
|
|
12236
12234
|
"type": {
|
|
12237
|
-
"text": "
|
|
12235
|
+
"text": "boolean"
|
|
12238
12236
|
},
|
|
12239
|
-
"
|
|
12240
|
-
"fieldName": "
|
|
12237
|
+
"default": "false",
|
|
12238
|
+
"fieldName": "showClose"
|
|
12241
12239
|
},
|
|
12242
12240
|
{
|
|
12243
|
-
"name": "
|
|
12241
|
+
"name": "dismissed",
|
|
12244
12242
|
"type": {
|
|
12245
|
-
"text": "
|
|
12243
|
+
"text": "boolean"
|
|
12246
12244
|
},
|
|
12247
|
-
"
|
|
12248
|
-
|
|
12249
|
-
],
|
|
12250
|
-
"superclass": {
|
|
12251
|
-
"name": "LitElement",
|
|
12252
|
-
"package": "lit"
|
|
12253
|
-
},
|
|
12254
|
-
"customElement": true
|
|
12255
|
-
}
|
|
12256
|
-
],
|
|
12257
|
-
"exports": [
|
|
12258
|
-
{
|
|
12259
|
-
"kind": "js",
|
|
12260
|
-
"name": "UmButtonWrapper",
|
|
12261
|
-
"declaration": {
|
|
12262
|
-
"name": "UmButtonWrapper",
|
|
12263
|
-
"module": "src/shared/button-wrapper.ts"
|
|
12264
|
-
}
|
|
12265
|
-
}
|
|
12266
|
-
]
|
|
12267
|
-
},
|
|
12268
|
-
{
|
|
12269
|
-
"kind": "javascript-module",
|
|
12270
|
-
"path": "src/shared/compare-text.ts",
|
|
12271
|
-
"declarations": [
|
|
12272
|
-
{
|
|
12273
|
-
"kind": "function",
|
|
12274
|
-
"name": "normalizedStartsWith",
|
|
12275
|
-
"return": {
|
|
12276
|
-
"type": {
|
|
12277
|
-
"text": "boolean"
|
|
12278
|
-
}
|
|
12279
|
-
},
|
|
12280
|
-
"parameters": [
|
|
12281
|
-
{
|
|
12282
|
-
"name": "text",
|
|
12283
|
-
"type": {
|
|
12284
|
-
"text": "string | null"
|
|
12285
|
-
}
|
|
12286
|
-
},
|
|
12287
|
-
{
|
|
12288
|
-
"name": "term",
|
|
12289
|
-
"type": {
|
|
12290
|
-
"text": "string | null"
|
|
12291
|
-
}
|
|
12245
|
+
"default": "false",
|
|
12246
|
+
"fieldName": "dismissed"
|
|
12292
12247
|
}
|
|
12293
|
-
]
|
|
12248
|
+
],
|
|
12249
|
+
"superclass": {
|
|
12250
|
+
"name": "LitElement",
|
|
12251
|
+
"package": "lit"
|
|
12252
|
+
},
|
|
12253
|
+
"tagName": "u-snackbar",
|
|
12254
|
+
"customElement": true
|
|
12294
12255
|
}
|
|
12295
12256
|
],
|
|
12296
12257
|
"exports": [
|
|
12297
12258
|
{
|
|
12298
12259
|
"kind": "js",
|
|
12299
|
-
"name": "
|
|
12260
|
+
"name": "UmSnackbar",
|
|
12300
12261
|
"declaration": {
|
|
12301
|
-
"name": "
|
|
12302
|
-
"module": "src/
|
|
12262
|
+
"name": "UmSnackbar",
|
|
12263
|
+
"module": "src/snackbar/snackbar.ts"
|
|
12303
12264
|
}
|
|
12304
|
-
}
|
|
12305
|
-
]
|
|
12306
|
-
},
|
|
12307
|
-
{
|
|
12308
|
-
"kind": "javascript-module",
|
|
12309
|
-
"path": "src/shared/extract-template-html.ts",
|
|
12310
|
-
"declarations": [
|
|
12311
|
-
{
|
|
12312
|
-
"kind": "function",
|
|
12313
|
-
"name": "extractTemplateHtml",
|
|
12314
|
-
"parameters": [
|
|
12315
|
-
{
|
|
12316
|
-
"name": "template",
|
|
12317
|
-
"type": {
|
|
12318
|
-
"text": "HTMLTemplateElement"
|
|
12319
|
-
}
|
|
12320
|
-
}
|
|
12321
|
-
]
|
|
12322
|
-
}
|
|
12323
|
-
],
|
|
12324
|
-
"exports": [
|
|
12265
|
+
},
|
|
12325
12266
|
{
|
|
12326
|
-
"kind": "
|
|
12327
|
-
"name": "
|
|
12267
|
+
"kind": "custom-element-definition",
|
|
12268
|
+
"name": "u-snackbar",
|
|
12328
12269
|
"declaration": {
|
|
12329
|
-
"name": "
|
|
12330
|
-
"module": "src/
|
|
12270
|
+
"name": "UmSnackbar",
|
|
12271
|
+
"module": "src/snackbar/snackbar.ts"
|
|
12331
12272
|
}
|
|
12332
12273
|
}
|
|
12333
12274
|
]
|
|
12334
12275
|
},
|
|
12335
12276
|
{
|
|
12336
12277
|
"kind": "javascript-module",
|
|
12337
|
-
"path": "src/shared/
|
|
12278
|
+
"path": "src/shared/base.styles.ts",
|
|
12338
12279
|
"declarations": [
|
|
12339
12280
|
{
|
|
12340
|
-
"kind": "
|
|
12341
|
-
"
|
|
12342
|
-
"
|
|
12343
|
-
"parameters": [
|
|
12344
|
-
{
|
|
12345
|
-
"name": "base",
|
|
12346
|
-
"type": {
|
|
12347
|
-
"text": "T"
|
|
12348
|
-
}
|
|
12349
|
-
},
|
|
12350
|
-
{
|
|
12351
|
-
"name": "properties",
|
|
12352
|
-
"type": {
|
|
12353
|
-
"text": "string[]"
|
|
12354
|
-
}
|
|
12355
|
-
}
|
|
12356
|
-
]
|
|
12281
|
+
"kind": "variable",
|
|
12282
|
+
"name": "styles",
|
|
12283
|
+
"default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n 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 box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n`"
|
|
12357
12284
|
}
|
|
12358
12285
|
],
|
|
12359
12286
|
"exports": [
|
|
12360
12287
|
{
|
|
12361
12288
|
"kind": "js",
|
|
12362
|
-
"name": "
|
|
12289
|
+
"name": "styles",
|
|
12363
12290
|
"declaration": {
|
|
12364
|
-
"name": "
|
|
12365
|
-
"module": "src/shared/
|
|
12291
|
+
"name": "styles",
|
|
12292
|
+
"module": "src/shared/base.styles.ts"
|
|
12366
12293
|
}
|
|
12367
12294
|
}
|
|
12368
12295
|
]
|
|
12369
12296
|
},
|
|
12370
12297
|
{
|
|
12371
12298
|
"kind": "javascript-module",
|
|
12372
|
-
"path": "src/shared/
|
|
12373
|
-
"declarations": [],
|
|
12374
|
-
"exports": []
|
|
12375
|
-
},
|
|
12376
|
-
{
|
|
12377
|
-
"kind": "javascript-module",
|
|
12378
|
-
"path": "src/shared/normalize-text.ts",
|
|
12299
|
+
"path": "src/shared/button-wrapper.styles.ts",
|
|
12379
12300
|
"declarations": [
|
|
12380
12301
|
{
|
|
12381
|
-
"kind": "
|
|
12382
|
-
"name": "
|
|
12383
|
-
"
|
|
12384
|
-
"type": {
|
|
12385
|
-
"text": "string"
|
|
12386
|
-
}
|
|
12387
|
-
},
|
|
12388
|
-
"parameters": [
|
|
12389
|
-
{
|
|
12390
|
-
"name": "text",
|
|
12391
|
-
"type": {
|
|
12392
|
-
"text": "string | null"
|
|
12393
|
-
}
|
|
12394
|
-
}
|
|
12395
|
-
]
|
|
12302
|
+
"kind": "variable",
|
|
12303
|
+
"name": "styles",
|
|
12304
|
+
"default": "css `\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n 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 appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-bg-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n`"
|
|
12396
12305
|
}
|
|
12397
12306
|
],
|
|
12398
12307
|
"exports": [
|
|
12399
12308
|
{
|
|
12400
12309
|
"kind": "js",
|
|
12401
|
-
"name": "
|
|
12310
|
+
"name": "styles",
|
|
12402
12311
|
"declaration": {
|
|
12403
|
-
"name": "
|
|
12404
|
-
"module": "src/shared/
|
|
12312
|
+
"name": "styles",
|
|
12313
|
+
"module": "src/shared/button-wrapper.styles.ts"
|
|
12405
12314
|
}
|
|
12406
12315
|
}
|
|
12407
12316
|
]
|
|
12408
12317
|
},
|
|
12409
12318
|
{
|
|
12410
12319
|
"kind": "javascript-module",
|
|
12411
|
-
"path": "src/
|
|
12320
|
+
"path": "src/shared/button-wrapper.ts",
|
|
12412
12321
|
"declarations": [
|
|
12413
12322
|
{
|
|
12414
12323
|
"kind": "class",
|
|
12415
12324
|
"description": "",
|
|
12416
|
-
"name": "
|
|
12417
|
-
"mixins": [
|
|
12418
|
-
{
|
|
12419
|
-
"name": "mixinSelectionControlListItem",
|
|
12420
|
-
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
12421
|
-
}
|
|
12422
|
-
],
|
|
12423
|
-
"superclass": {
|
|
12424
|
-
"name": "UmSwitch",
|
|
12425
|
-
"module": "/src/switch/switch.js"
|
|
12426
|
-
},
|
|
12427
|
-
"tagName": "u-switch-list-item",
|
|
12428
|
-
"customElement": true,
|
|
12325
|
+
"name": "UmButtonWrapper",
|
|
12429
12326
|
"members": [
|
|
12430
12327
|
{
|
|
12431
12328
|
"kind": "field",
|
|
12432
|
-
"name": "
|
|
12329
|
+
"name": "disabled",
|
|
12433
12330
|
"type": {
|
|
12434
|
-
"text": "
|
|
12435
|
-
},
|
|
12436
|
-
"static": true,
|
|
12437
|
-
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
|
|
12438
|
-
"inheritedFrom": {
|
|
12439
|
-
"name": "mixinSelectionControlListItem",
|
|
12440
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
12441
|
-
}
|
|
12442
|
-
},
|
|
12443
|
-
{
|
|
12444
|
-
"kind": "method",
|
|
12445
|
-
"name": "render",
|
|
12446
|
-
"return": {
|
|
12447
|
-
"type": {
|
|
12448
|
-
"text": "HTMLTemplateResult"
|
|
12449
|
-
}
|
|
12331
|
+
"text": "boolean"
|
|
12450
12332
|
},
|
|
12451
|
-
"
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
|
|
12333
|
+
"default": "false",
|
|
12334
|
+
"description": "Whether the button is disabled or not.",
|
|
12335
|
+
"attribute": "disabled",
|
|
12336
|
+
"reflects": true
|
|
12455
12337
|
},
|
|
12456
12338
|
{
|
|
12457
12339
|
"kind": "field",
|
|
@@ -12459,51 +12341,25 @@
|
|
|
12459
12341
|
"type": {
|
|
12460
12342
|
"text": "boolean"
|
|
12461
12343
|
},
|
|
12462
|
-
"
|
|
12463
|
-
"default": "false",
|
|
12464
|
-
"inheritedFrom": {
|
|
12465
|
-
"name": "UmSelectionControl",
|
|
12466
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12467
|
-
}
|
|
12468
|
-
},
|
|
12469
|
-
{
|
|
12470
|
-
"kind": "method",
|
|
12471
|
-
"name": "renderIndicator",
|
|
12472
|
-
"privacy": "protected",
|
|
12473
|
-
"return": {
|
|
12474
|
-
"type": {
|
|
12475
|
-
"text": "HTMLTemplateResult"
|
|
12476
|
-
}
|
|
12477
|
-
},
|
|
12478
|
-
"inheritedFrom": {
|
|
12479
|
-
"name": "UmSelectionControl",
|
|
12480
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12481
|
-
}
|
|
12344
|
+
"default": "true"
|
|
12482
12345
|
},
|
|
12483
12346
|
{
|
|
12484
12347
|
"kind": "field",
|
|
12485
|
-
"name": "
|
|
12348
|
+
"name": "href",
|
|
12486
12349
|
"type": {
|
|
12487
|
-
"text": "
|
|
12350
|
+
"text": "string | undefined"
|
|
12488
12351
|
},
|
|
12489
|
-
"
|
|
12490
|
-
"
|
|
12491
|
-
"inheritedFrom": {
|
|
12492
|
-
"name": "UmSelectionControl",
|
|
12493
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12494
|
-
}
|
|
12352
|
+
"description": "The URL that the link button points to.",
|
|
12353
|
+
"attribute": "href"
|
|
12495
12354
|
},
|
|
12496
12355
|
{
|
|
12497
12356
|
"kind": "field",
|
|
12498
|
-
"name": "
|
|
12357
|
+
"name": "target",
|
|
12499
12358
|
"type": {
|
|
12500
|
-
"text": "
|
|
12359
|
+
"text": "string | undefined"
|
|
12501
12360
|
},
|
|
12502
|
-
"
|
|
12503
|
-
"
|
|
12504
|
-
"name": "UmSelectionControl",
|
|
12505
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12506
|
-
}
|
|
12361
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
12362
|
+
"attribute": "target"
|
|
12507
12363
|
},
|
|
12508
12364
|
{
|
|
12509
12365
|
"kind": "field",
|
|
@@ -12511,199 +12367,198 @@
|
|
|
12511
12367
|
"type": {
|
|
12512
12368
|
"text": "string | undefined"
|
|
12513
12369
|
},
|
|
12514
|
-
"
|
|
12515
|
-
"attribute": "name",
|
|
12516
|
-
"inheritedFrom": {
|
|
12517
|
-
"name": "UmSelectionControl",
|
|
12518
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12519
|
-
}
|
|
12370
|
+
"attribute": "name"
|
|
12520
12371
|
},
|
|
12521
12372
|
{
|
|
12522
12373
|
"kind": "field",
|
|
12523
|
-
"name": "
|
|
12374
|
+
"name": "buttonElement",
|
|
12524
12375
|
"type": {
|
|
12525
|
-
"text": "
|
|
12526
|
-
},
|
|
12527
|
-
"default": "false",
|
|
12528
|
-
"attribute": "disabled",
|
|
12529
|
-
"reflects": true,
|
|
12530
|
-
"inheritedFrom": {
|
|
12531
|
-
"name": "UmSelectionControl",
|
|
12532
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12376
|
+
"text": "HTMLElement"
|
|
12533
12377
|
}
|
|
12534
12378
|
},
|
|
12535
12379
|
{
|
|
12536
12380
|
"kind": "field",
|
|
12537
|
-
"name": "
|
|
12381
|
+
"name": "ripple",
|
|
12538
12382
|
"type": {
|
|
12539
|
-
"text": "
|
|
12383
|
+
"text": "UmRipple"
|
|
12540
12384
|
},
|
|
12541
|
-
"
|
|
12542
|
-
"name": "UmSelectionControl",
|
|
12543
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12544
|
-
}
|
|
12385
|
+
"privacy": "private"
|
|
12545
12386
|
},
|
|
12546
12387
|
{
|
|
12547
12388
|
"kind": "field",
|
|
12548
|
-
"name": "
|
|
12389
|
+
"name": "innerRole",
|
|
12549
12390
|
"type": {
|
|
12550
|
-
"text": "
|
|
12391
|
+
"text": "string | null"
|
|
12551
12392
|
},
|
|
12552
|
-
"
|
|
12553
|
-
|
|
12554
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12555
|
-
}
|
|
12393
|
+
"privacy": "protected",
|
|
12394
|
+
"default": "null"
|
|
12556
12395
|
},
|
|
12557
12396
|
{
|
|
12558
12397
|
"kind": "field",
|
|
12559
|
-
"name": "
|
|
12560
|
-
"privacy": "private",
|
|
12398
|
+
"name": "pathname",
|
|
12561
12399
|
"type": {
|
|
12562
|
-
"text": "
|
|
12563
|
-
}
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12400
|
+
"text": "string"
|
|
12401
|
+
}
|
|
12402
|
+
},
|
|
12403
|
+
{
|
|
12404
|
+
"kind": "method",
|
|
12405
|
+
"name": "renderButton",
|
|
12406
|
+
"privacy": "private"
|
|
12407
|
+
},
|
|
12408
|
+
{
|
|
12409
|
+
"kind": "method",
|
|
12410
|
+
"name": "renderLink",
|
|
12411
|
+
"privacy": "private"
|
|
12412
|
+
},
|
|
12413
|
+
{
|
|
12414
|
+
"kind": "method",
|
|
12415
|
+
"name": "renderContent",
|
|
12416
|
+
"privacy": "protected",
|
|
12417
|
+
"return": {
|
|
12418
|
+
"type": {
|
|
12419
|
+
"text": "HTMLTemplateResult"
|
|
12420
|
+
}
|
|
12568
12421
|
}
|
|
12569
12422
|
},
|
|
12570
12423
|
{
|
|
12571
|
-
"kind": "
|
|
12572
|
-
"name": "
|
|
12573
|
-
"type": {
|
|
12574
|
-
"text": "'checkbox' | 'radio'"
|
|
12575
|
-
},
|
|
12576
|
-
"privacy": "protected",
|
|
12577
|
-
"default": "'checkbox'",
|
|
12578
|
-
"inheritedFrom": {
|
|
12579
|
-
"name": "UmSelectionControl",
|
|
12580
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12581
|
-
}
|
|
12424
|
+
"kind": "method",
|
|
12425
|
+
"name": "focus"
|
|
12582
12426
|
},
|
|
12583
12427
|
{
|
|
12584
|
-
"kind": "
|
|
12585
|
-
"name": "
|
|
12586
|
-
"type": {
|
|
12587
|
-
"text": "string"
|
|
12588
|
-
},
|
|
12589
|
-
"default": "'on'",
|
|
12590
|
-
"description": "The element value to use in form submission when checked.",
|
|
12591
|
-
"attribute": "value",
|
|
12592
|
-
"inheritedFrom": {
|
|
12593
|
-
"name": "UmSelectionControl",
|
|
12594
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12595
|
-
}
|
|
12428
|
+
"kind": "method",
|
|
12429
|
+
"name": "blur"
|
|
12596
12430
|
},
|
|
12597
12431
|
{
|
|
12598
|
-
"kind": "
|
|
12599
|
-
"name": "
|
|
12600
|
-
"
|
|
12601
|
-
"
|
|
12602
|
-
"
|
|
12603
|
-
|
|
12432
|
+
"kind": "method",
|
|
12433
|
+
"name": "getAriaLabel",
|
|
12434
|
+
"privacy": "protected",
|
|
12435
|
+
"return": {
|
|
12436
|
+
"type": {
|
|
12437
|
+
"text": "string | null"
|
|
12438
|
+
}
|
|
12604
12439
|
}
|
|
12605
12440
|
},
|
|
12606
12441
|
{
|
|
12607
|
-
"kind": "
|
|
12608
|
-
"name": "
|
|
12609
|
-
"type": {
|
|
12610
|
-
"text": "boolean"
|
|
12611
|
-
},
|
|
12442
|
+
"kind": "method",
|
|
12443
|
+
"name": "innerFocusHandler",
|
|
12612
12444
|
"privacy": "private",
|
|
12613
|
-
"
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12445
|
+
"return": {
|
|
12446
|
+
"type": {
|
|
12447
|
+
"text": "void"
|
|
12448
|
+
}
|
|
12618
12449
|
}
|
|
12619
12450
|
},
|
|
12620
12451
|
{
|
|
12621
12452
|
"kind": "method",
|
|
12622
|
-
"name": "#
|
|
12453
|
+
"name": "#innerClickHandler",
|
|
12454
|
+
"return": {
|
|
12455
|
+
"type": {
|
|
12456
|
+
"text": "void"
|
|
12457
|
+
}
|
|
12458
|
+
},
|
|
12623
12459
|
"parameters": [
|
|
12624
12460
|
{
|
|
12625
|
-
"name": "
|
|
12461
|
+
"name": "event",
|
|
12626
12462
|
"type": {
|
|
12627
|
-
"text": "
|
|
12463
|
+
"text": "MouseEvent"
|
|
12628
12464
|
}
|
|
12629
12465
|
}
|
|
12630
|
-
]
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12466
|
+
]
|
|
12467
|
+
},
|
|
12468
|
+
{
|
|
12469
|
+
"kind": "method",
|
|
12470
|
+
"name": "handleClick",
|
|
12471
|
+
"privacy": "protected",
|
|
12472
|
+
"return": {
|
|
12473
|
+
"type": {
|
|
12474
|
+
"text": "void"
|
|
12475
|
+
}
|
|
12476
|
+
},
|
|
12477
|
+
"parameters": [
|
|
12478
|
+
{
|
|
12479
|
+
"name": "_",
|
|
12480
|
+
"type": {
|
|
12481
|
+
"text": "UIEvent"
|
|
12482
|
+
}
|
|
12483
|
+
}
|
|
12484
|
+
]
|
|
12635
12485
|
}
|
|
12636
12486
|
],
|
|
12637
12487
|
"attributes": [
|
|
12638
12488
|
{
|
|
12639
|
-
"name": "
|
|
12489
|
+
"name": "disabled",
|
|
12640
12490
|
"type": {
|
|
12641
|
-
"text": "
|
|
12491
|
+
"text": "boolean"
|
|
12642
12492
|
},
|
|
12643
|
-
"default": "
|
|
12644
|
-
"
|
|
12645
|
-
"
|
|
12646
|
-
"name": "UmSelectionControl",
|
|
12647
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12648
|
-
}
|
|
12493
|
+
"default": "false",
|
|
12494
|
+
"description": "Whether the button is disabled or not.",
|
|
12495
|
+
"fieldName": "disabled"
|
|
12649
12496
|
},
|
|
12650
12497
|
{
|
|
12651
|
-
"name": "
|
|
12498
|
+
"name": "href",
|
|
12652
12499
|
"type": {
|
|
12653
|
-
"text": "
|
|
12500
|
+
"text": "string | undefined"
|
|
12654
12501
|
},
|
|
12655
|
-
"
|
|
12656
|
-
"fieldName": "
|
|
12657
|
-
"inheritedFrom": {
|
|
12658
|
-
"name": "UmSelectionControl",
|
|
12659
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12660
|
-
}
|
|
12502
|
+
"description": "The URL that the link button points to.",
|
|
12503
|
+
"fieldName": "href"
|
|
12661
12504
|
},
|
|
12662
12505
|
{
|
|
12663
|
-
"name": "
|
|
12506
|
+
"name": "target",
|
|
12664
12507
|
"type": {
|
|
12665
|
-
"text": "string"
|
|
12508
|
+
"text": "string | undefined"
|
|
12666
12509
|
},
|
|
12667
|
-
"
|
|
12668
|
-
"
|
|
12669
|
-
"fieldName": "value",
|
|
12670
|
-
"inheritedFrom": {
|
|
12671
|
-
"name": "UmSelectionControl",
|
|
12672
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12673
|
-
}
|
|
12510
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
12511
|
+
"fieldName": "target"
|
|
12674
12512
|
},
|
|
12675
12513
|
{
|
|
12676
|
-
"name": "
|
|
12677
|
-
"fieldName": "_checkedAttribute",
|
|
12514
|
+
"name": "name",
|
|
12678
12515
|
"type": {
|
|
12679
|
-
"text": "
|
|
12516
|
+
"text": "string | undefined"
|
|
12680
12517
|
},
|
|
12681
|
-
"
|
|
12682
|
-
"inheritedFrom": {
|
|
12683
|
-
"name": "UmSelectionControl",
|
|
12684
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12685
|
-
}
|
|
12518
|
+
"fieldName": "name"
|
|
12686
12519
|
}
|
|
12687
12520
|
],
|
|
12688
|
-
"
|
|
12521
|
+
"superclass": {
|
|
12522
|
+
"name": "LitElement",
|
|
12523
|
+
"package": "lit"
|
|
12524
|
+
},
|
|
12525
|
+
"customElement": true
|
|
12526
|
+
}
|
|
12527
|
+
],
|
|
12528
|
+
"exports": [
|
|
12529
|
+
{
|
|
12530
|
+
"kind": "js",
|
|
12531
|
+
"name": "UmButtonWrapper",
|
|
12532
|
+
"declaration": {
|
|
12533
|
+
"name": "UmButtonWrapper",
|
|
12534
|
+
"module": "src/shared/button-wrapper.ts"
|
|
12535
|
+
}
|
|
12536
|
+
}
|
|
12537
|
+
]
|
|
12538
|
+
},
|
|
12539
|
+
{
|
|
12540
|
+
"kind": "javascript-module",
|
|
12541
|
+
"path": "src/shared/compare-text.ts",
|
|
12542
|
+
"declarations": [
|
|
12543
|
+
{
|
|
12544
|
+
"kind": "function",
|
|
12545
|
+
"name": "normalizedStartsWith",
|
|
12546
|
+
"return": {
|
|
12547
|
+
"type": {
|
|
12548
|
+
"text": "boolean"
|
|
12549
|
+
}
|
|
12550
|
+
},
|
|
12551
|
+
"parameters": [
|
|
12689
12552
|
{
|
|
12690
|
-
"name": "
|
|
12553
|
+
"name": "text",
|
|
12691
12554
|
"type": {
|
|
12692
|
-
"text": "
|
|
12693
|
-
},
|
|
12694
|
-
"inheritedFrom": {
|
|
12695
|
-
"name": "UmSelectionControl",
|
|
12696
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12555
|
+
"text": "string | null"
|
|
12697
12556
|
}
|
|
12698
12557
|
},
|
|
12699
12558
|
{
|
|
12700
|
-
"name": "
|
|
12559
|
+
"name": "term",
|
|
12701
12560
|
"type": {
|
|
12702
|
-
"text": "
|
|
12703
|
-
},
|
|
12704
|
-
"inheritedFrom": {
|
|
12705
|
-
"name": "UmSelectionControl",
|
|
12706
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
12561
|
+
"text": "string | null"
|
|
12707
12562
|
}
|
|
12708
12563
|
}
|
|
12709
12564
|
]
|
|
@@ -12712,52 +12567,163 @@
|
|
|
12712
12567
|
"exports": [
|
|
12713
12568
|
{
|
|
12714
12569
|
"kind": "js",
|
|
12715
|
-
"name": "
|
|
12570
|
+
"name": "normalizedStartsWith",
|
|
12716
12571
|
"declaration": {
|
|
12717
|
-
"name": "
|
|
12718
|
-
"module": "src/
|
|
12572
|
+
"name": "normalizedStartsWith",
|
|
12573
|
+
"module": "src/shared/compare-text.ts"
|
|
12719
12574
|
}
|
|
12720
|
-
}
|
|
12575
|
+
}
|
|
12576
|
+
]
|
|
12577
|
+
},
|
|
12578
|
+
{
|
|
12579
|
+
"kind": "javascript-module",
|
|
12580
|
+
"path": "src/shared/extract-template-html.ts",
|
|
12581
|
+
"declarations": [
|
|
12721
12582
|
{
|
|
12722
|
-
"kind": "
|
|
12723
|
-
"name": "
|
|
12583
|
+
"kind": "function",
|
|
12584
|
+
"name": "extractTemplateHtml",
|
|
12585
|
+
"parameters": [
|
|
12586
|
+
{
|
|
12587
|
+
"name": "template",
|
|
12588
|
+
"type": {
|
|
12589
|
+
"text": "HTMLTemplateElement"
|
|
12590
|
+
}
|
|
12591
|
+
}
|
|
12592
|
+
]
|
|
12593
|
+
}
|
|
12594
|
+
],
|
|
12595
|
+
"exports": [
|
|
12596
|
+
{
|
|
12597
|
+
"kind": "js",
|
|
12598
|
+
"name": "extractTemplateHtml",
|
|
12599
|
+
"declaration": {
|
|
12600
|
+
"name": "extractTemplateHtml",
|
|
12601
|
+
"module": "src/shared/extract-template-html.ts"
|
|
12602
|
+
}
|
|
12603
|
+
}
|
|
12604
|
+
]
|
|
12605
|
+
},
|
|
12606
|
+
{
|
|
12607
|
+
"kind": "javascript-module",
|
|
12608
|
+
"path": "src/shared/mixin-attribute-properties.ts",
|
|
12609
|
+
"declarations": [
|
|
12610
|
+
{
|
|
12611
|
+
"kind": "mixin",
|
|
12612
|
+
"description": "",
|
|
12613
|
+
"name": "mixinAttributeProperties",
|
|
12614
|
+
"parameters": [
|
|
12615
|
+
{
|
|
12616
|
+
"name": "base",
|
|
12617
|
+
"type": {
|
|
12618
|
+
"text": "T"
|
|
12619
|
+
}
|
|
12620
|
+
},
|
|
12621
|
+
{
|
|
12622
|
+
"name": "properties",
|
|
12623
|
+
"type": {
|
|
12624
|
+
"text": "string[]"
|
|
12625
|
+
}
|
|
12626
|
+
}
|
|
12627
|
+
]
|
|
12628
|
+
}
|
|
12629
|
+
],
|
|
12630
|
+
"exports": [
|
|
12631
|
+
{
|
|
12632
|
+
"kind": "js",
|
|
12633
|
+
"name": "mixinAttributeProperties",
|
|
12724
12634
|
"declaration": {
|
|
12725
|
-
"name": "
|
|
12726
|
-
"module": "src/
|
|
12635
|
+
"name": "mixinAttributeProperties",
|
|
12636
|
+
"module": "src/shared/mixin-attribute-properties.ts"
|
|
12727
12637
|
}
|
|
12728
12638
|
}
|
|
12729
12639
|
]
|
|
12730
12640
|
},
|
|
12731
12641
|
{
|
|
12732
12642
|
"kind": "javascript-module",
|
|
12733
|
-
"path": "src/
|
|
12643
|
+
"path": "src/shared/mixin.ts",
|
|
12644
|
+
"declarations": [],
|
|
12645
|
+
"exports": []
|
|
12646
|
+
},
|
|
12647
|
+
{
|
|
12648
|
+
"kind": "javascript-module",
|
|
12649
|
+
"path": "src/shared/normalize-text.ts",
|
|
12734
12650
|
"declarations": [
|
|
12735
12651
|
{
|
|
12736
|
-
"kind": "
|
|
12737
|
-
"name": "
|
|
12738
|
-
"
|
|
12652
|
+
"kind": "function",
|
|
12653
|
+
"name": "normalizeText",
|
|
12654
|
+
"return": {
|
|
12655
|
+
"type": {
|
|
12656
|
+
"text": "string"
|
|
12657
|
+
}
|
|
12658
|
+
},
|
|
12659
|
+
"parameters": [
|
|
12660
|
+
{
|
|
12661
|
+
"name": "text",
|
|
12662
|
+
"type": {
|
|
12663
|
+
"text": "string | null"
|
|
12664
|
+
}
|
|
12665
|
+
}
|
|
12666
|
+
]
|
|
12739
12667
|
}
|
|
12740
12668
|
],
|
|
12741
12669
|
"exports": [
|
|
12742
12670
|
{
|
|
12743
12671
|
"kind": "js",
|
|
12744
|
-
"name": "
|
|
12672
|
+
"name": "normalizeText",
|
|
12745
12673
|
"declaration": {
|
|
12746
|
-
"name": "
|
|
12747
|
-
"module": "src/
|
|
12674
|
+
"name": "normalizeText",
|
|
12675
|
+
"module": "src/shared/normalize-text.ts"
|
|
12748
12676
|
}
|
|
12749
12677
|
}
|
|
12750
12678
|
]
|
|
12751
12679
|
},
|
|
12752
12680
|
{
|
|
12753
12681
|
"kind": "javascript-module",
|
|
12754
|
-
"path": "src/switch/switch.ts",
|
|
12682
|
+
"path": "src/switch/switch-list-item.ts",
|
|
12755
12683
|
"declarations": [
|
|
12756
12684
|
{
|
|
12757
12685
|
"kind": "class",
|
|
12758
12686
|
"description": "",
|
|
12759
|
-
"name": "
|
|
12687
|
+
"name": "UmSwitchListItem",
|
|
12688
|
+
"mixins": [
|
|
12689
|
+
{
|
|
12690
|
+
"name": "mixinSelectionControlListItem",
|
|
12691
|
+
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
12692
|
+
}
|
|
12693
|
+
],
|
|
12694
|
+
"superclass": {
|
|
12695
|
+
"name": "UmSwitch",
|
|
12696
|
+
"module": "/src/switch/switch.js"
|
|
12697
|
+
},
|
|
12698
|
+
"tagName": "u-switch-list-item",
|
|
12699
|
+
"customElement": true,
|
|
12760
12700
|
"members": [
|
|
12701
|
+
{
|
|
12702
|
+
"kind": "field",
|
|
12703
|
+
"name": "styles",
|
|
12704
|
+
"type": {
|
|
12705
|
+
"text": "array"
|
|
12706
|
+
},
|
|
12707
|
+
"static": true,
|
|
12708
|
+
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
|
|
12709
|
+
"inheritedFrom": {
|
|
12710
|
+
"name": "mixinSelectionControlListItem",
|
|
12711
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
12712
|
+
}
|
|
12713
|
+
},
|
|
12714
|
+
{
|
|
12715
|
+
"kind": "method",
|
|
12716
|
+
"name": "render",
|
|
12717
|
+
"return": {
|
|
12718
|
+
"type": {
|
|
12719
|
+
"text": "HTMLTemplateResult"
|
|
12720
|
+
}
|
|
12721
|
+
},
|
|
12722
|
+
"inheritedFrom": {
|
|
12723
|
+
"name": "mixinSelectionControlListItem",
|
|
12724
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
12725
|
+
}
|
|
12726
|
+
},
|
|
12761
12727
|
{
|
|
12762
12728
|
"kind": "field",
|
|
12763
12729
|
"name": "renderRipple",
|
|
@@ -12939,12 +12905,6 @@
|
|
|
12939
12905
|
}
|
|
12940
12906
|
}
|
|
12941
12907
|
],
|
|
12942
|
-
"superclass": {
|
|
12943
|
-
"name": "UmSelectionControl",
|
|
12944
|
-
"module": "/src/shared/selection-control/selection-control.js"
|
|
12945
|
-
},
|
|
12946
|
-
"tagName": "u-switch",
|
|
12947
|
-
"customElement": true,
|
|
12948
12908
|
"attributes": [
|
|
12949
12909
|
{
|
|
12950
12910
|
"name": "name",
|
|
@@ -13023,30 +12983,30 @@
|
|
|
13023
12983
|
"exports": [
|
|
13024
12984
|
{
|
|
13025
12985
|
"kind": "js",
|
|
13026
|
-
"name": "
|
|
12986
|
+
"name": "UmSwitchListItem",
|
|
13027
12987
|
"declaration": {
|
|
13028
|
-
"name": "
|
|
13029
|
-
"module": "src/switch/switch.ts"
|
|
12988
|
+
"name": "UmSwitchListItem",
|
|
12989
|
+
"module": "src/switch/switch-list-item.ts"
|
|
13030
12990
|
}
|
|
13031
12991
|
},
|
|
13032
12992
|
{
|
|
13033
12993
|
"kind": "custom-element-definition",
|
|
13034
|
-
"name": "u-switch",
|
|
12994
|
+
"name": "u-switch-list-item",
|
|
13035
12995
|
"declaration": {
|
|
13036
|
-
"name": "
|
|
13037
|
-
"module": "src/switch/switch.ts"
|
|
12996
|
+
"name": "UmSwitchListItem",
|
|
12997
|
+
"module": "src/switch/switch-list-item.ts"
|
|
13038
12998
|
}
|
|
13039
12999
|
}
|
|
13040
13000
|
]
|
|
13041
13001
|
},
|
|
13042
13002
|
{
|
|
13043
13003
|
"kind": "javascript-module",
|
|
13044
|
-
"path": "src/
|
|
13004
|
+
"path": "src/switch/switch.styles.ts",
|
|
13045
13005
|
"declarations": [
|
|
13046
13006
|
{
|
|
13047
13007
|
"kind": "variable",
|
|
13048
13008
|
"name": "styles",
|
|
13049
|
-
"default": "css `\n :host {\n --
|
|
13009
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-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-switch-indicator-selected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-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-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-bg-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-bg-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
|
|
13050
13010
|
}
|
|
13051
13011
|
],
|
|
13052
13012
|
"exports": [
|
|
@@ -13055,257 +13015,297 @@
|
|
|
13055
13015
|
"name": "styles",
|
|
13056
13016
|
"declaration": {
|
|
13057
13017
|
"name": "styles",
|
|
13058
|
-
"module": "src/
|
|
13018
|
+
"module": "src/switch/switch.styles.ts"
|
|
13059
13019
|
}
|
|
13060
13020
|
}
|
|
13061
13021
|
]
|
|
13062
13022
|
},
|
|
13063
13023
|
{
|
|
13064
13024
|
"kind": "javascript-module",
|
|
13065
|
-
"path": "src/
|
|
13025
|
+
"path": "src/switch/switch.ts",
|
|
13066
13026
|
"declarations": [
|
|
13067
13027
|
{
|
|
13068
13028
|
"kind": "class",
|
|
13069
13029
|
"description": "",
|
|
13070
|
-
"name": "
|
|
13030
|
+
"name": "UmSwitch",
|
|
13071
13031
|
"members": [
|
|
13072
13032
|
{
|
|
13073
13033
|
"kind": "field",
|
|
13074
|
-
"name": "
|
|
13034
|
+
"name": "renderRipple",
|
|
13075
13035
|
"type": {
|
|
13076
|
-
"text": "
|
|
13036
|
+
"text": "boolean"
|
|
13077
13037
|
},
|
|
13078
|
-
"
|
|
13079
|
-
"
|
|
13080
|
-
"
|
|
13038
|
+
"privacy": "protected",
|
|
13039
|
+
"default": "false",
|
|
13040
|
+
"inheritedFrom": {
|
|
13041
|
+
"name": "UmSelectionControl",
|
|
13042
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13043
|
+
}
|
|
13081
13044
|
},
|
|
13082
13045
|
{
|
|
13083
|
-
"kind": "
|
|
13084
|
-
"name": "
|
|
13085
|
-
"
|
|
13086
|
-
|
|
13046
|
+
"kind": "method",
|
|
13047
|
+
"name": "renderIndicator",
|
|
13048
|
+
"privacy": "protected",
|
|
13049
|
+
"return": {
|
|
13050
|
+
"type": {
|
|
13051
|
+
"text": "HTMLTemplateResult"
|
|
13052
|
+
}
|
|
13087
13053
|
},
|
|
13088
|
-
"
|
|
13089
|
-
|
|
13090
|
-
|
|
13054
|
+
"inheritedFrom": {
|
|
13055
|
+
"name": "UmSelectionControl",
|
|
13056
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13057
|
+
}
|
|
13091
13058
|
},
|
|
13092
13059
|
{
|
|
13093
13060
|
"kind": "field",
|
|
13094
|
-
"name": "
|
|
13061
|
+
"name": "formAssociated",
|
|
13095
13062
|
"type": {
|
|
13096
13063
|
"text": "boolean"
|
|
13097
13064
|
},
|
|
13098
|
-
"
|
|
13099
|
-
"
|
|
13100
|
-
"
|
|
13065
|
+
"static": true,
|
|
13066
|
+
"default": "true",
|
|
13067
|
+
"inheritedFrom": {
|
|
13068
|
+
"name": "UmSelectionControl",
|
|
13069
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13070
|
+
}
|
|
13101
13071
|
},
|
|
13102
13072
|
{
|
|
13103
13073
|
"kind": "field",
|
|
13104
|
-
"name": "
|
|
13074
|
+
"name": "elementInternals",
|
|
13105
13075
|
"type": {
|
|
13106
|
-
"text": "
|
|
13076
|
+
"text": "ElementInternals"
|
|
13107
13077
|
},
|
|
13108
|
-
"
|
|
13109
|
-
"
|
|
13110
|
-
|
|
13078
|
+
"privacy": "protected",
|
|
13079
|
+
"inheritedFrom": {
|
|
13080
|
+
"name": "UmSelectionControl",
|
|
13081
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13082
|
+
}
|
|
13111
13083
|
},
|
|
13112
13084
|
{
|
|
13113
13085
|
"kind": "field",
|
|
13114
|
-
"name": "
|
|
13086
|
+
"name": "name",
|
|
13115
13087
|
"type": {
|
|
13116
|
-
"text": "
|
|
13088
|
+
"text": "string | undefined"
|
|
13117
13089
|
},
|
|
13118
|
-
"
|
|
13090
|
+
"default": "''",
|
|
13091
|
+
"attribute": "name",
|
|
13092
|
+
"inheritedFrom": {
|
|
13093
|
+
"name": "UmSelectionControl",
|
|
13094
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13095
|
+
}
|
|
13119
13096
|
},
|
|
13120
13097
|
{
|
|
13121
13098
|
"kind": "field",
|
|
13122
|
-
"name": "
|
|
13099
|
+
"name": "disabled",
|
|
13123
13100
|
"type": {
|
|
13124
|
-
"text": "
|
|
13101
|
+
"text": "boolean"
|
|
13125
13102
|
},
|
|
13126
|
-
"
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
"
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
},
|
|
13133
|
-
{
|
|
13134
|
-
"kind": "method",
|
|
13135
|
-
"name": "renderCloseButton",
|
|
13136
|
-
"privacy": "private"
|
|
13137
|
-
},
|
|
13138
|
-
{
|
|
13139
|
-
"kind": "method",
|
|
13140
|
-
"name": "dismiss",
|
|
13141
|
-
"return": {
|
|
13142
|
-
"type": {
|
|
13143
|
-
"text": "void"
|
|
13144
|
-
}
|
|
13103
|
+
"default": "false",
|
|
13104
|
+
"attribute": "disabled",
|
|
13105
|
+
"reflects": true,
|
|
13106
|
+
"inheritedFrom": {
|
|
13107
|
+
"name": "UmSelectionControl",
|
|
13108
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13145
13109
|
}
|
|
13146
13110
|
},
|
|
13147
13111
|
{
|
|
13148
13112
|
"kind": "field",
|
|
13149
|
-
"name": "
|
|
13113
|
+
"name": "input",
|
|
13150
13114
|
"type": {
|
|
13151
|
-
"text": "
|
|
13115
|
+
"text": "HTMLInputElement"
|
|
13152
13116
|
},
|
|
13153
|
-
"
|
|
13154
|
-
|
|
13155
|
-
|
|
13117
|
+
"inheritedFrom": {
|
|
13118
|
+
"name": "UmSelectionControl",
|
|
13119
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13120
|
+
}
|
|
13156
13121
|
},
|
|
13157
13122
|
{
|
|
13158
13123
|
"kind": "field",
|
|
13159
|
-
"name": "
|
|
13124
|
+
"name": "form",
|
|
13160
13125
|
"type": {
|
|
13161
|
-
"text": "
|
|
13126
|
+
"text": "HTMLFormElement | null"
|
|
13162
13127
|
},
|
|
13163
|
-
"
|
|
13164
|
-
|
|
13128
|
+
"inheritedFrom": {
|
|
13129
|
+
"name": "UmSelectionControl",
|
|
13130
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13131
|
+
}
|
|
13165
13132
|
},
|
|
13166
13133
|
{
|
|
13167
|
-
"kind": "
|
|
13168
|
-
"name": "
|
|
13169
|
-
"
|
|
13170
|
-
"
|
|
13171
|
-
"
|
|
13172
|
-
"text": "UmSnackbar"
|
|
13173
|
-
}
|
|
13134
|
+
"kind": "field",
|
|
13135
|
+
"name": "#checked",
|
|
13136
|
+
"privacy": "private",
|
|
13137
|
+
"type": {
|
|
13138
|
+
"text": "boolean"
|
|
13174
13139
|
},
|
|
13175
|
-
"
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
}
|
|
13181
|
-
}
|
|
13182
|
-
]
|
|
13140
|
+
"default": "false",
|
|
13141
|
+
"inheritedFrom": {
|
|
13142
|
+
"name": "UmSelectionControl",
|
|
13143
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13144
|
+
}
|
|
13183
13145
|
},
|
|
13184
13146
|
{
|
|
13185
|
-
"kind": "
|
|
13186
|
-
"name": "
|
|
13187
|
-
"
|
|
13188
|
-
|
|
13189
|
-
"type": {
|
|
13190
|
-
"text": "UmSnackbar"
|
|
13191
|
-
}
|
|
13147
|
+
"kind": "field",
|
|
13148
|
+
"name": "inputType",
|
|
13149
|
+
"type": {
|
|
13150
|
+
"text": "'checkbox' | 'radio'"
|
|
13192
13151
|
},
|
|
13193
|
-
"
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
}
|
|
13200
|
-
]
|
|
13152
|
+
"privacy": "protected",
|
|
13153
|
+
"default": "'checkbox'",
|
|
13154
|
+
"inheritedFrom": {
|
|
13155
|
+
"name": "UmSelectionControl",
|
|
13156
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13157
|
+
}
|
|
13201
13158
|
},
|
|
13202
13159
|
{
|
|
13203
|
-
"kind": "
|
|
13204
|
-
"name": "
|
|
13205
|
-
"
|
|
13206
|
-
|
|
13207
|
-
"type": {
|
|
13208
|
-
"text": "UmSnackbar"
|
|
13209
|
-
}
|
|
13160
|
+
"kind": "field",
|
|
13161
|
+
"name": "value",
|
|
13162
|
+
"type": {
|
|
13163
|
+
"text": "string"
|
|
13210
13164
|
},
|
|
13211
|
-
"
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
|
|
13215
|
-
|
|
13216
|
-
|
|
13217
|
-
|
|
13218
|
-
]
|
|
13165
|
+
"default": "'on'",
|
|
13166
|
+
"description": "The element value to use in form submission when checked.",
|
|
13167
|
+
"attribute": "value",
|
|
13168
|
+
"inheritedFrom": {
|
|
13169
|
+
"name": "UmSelectionControl",
|
|
13170
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13171
|
+
}
|
|
13219
13172
|
},
|
|
13220
13173
|
{
|
|
13221
|
-
"kind": "
|
|
13222
|
-
"name": "
|
|
13223
|
-
"
|
|
13224
|
-
"
|
|
13174
|
+
"kind": "field",
|
|
13175
|
+
"name": "checked",
|
|
13176
|
+
"attribute": "checked",
|
|
13177
|
+
"inheritedFrom": {
|
|
13178
|
+
"name": "UmSelectionControl",
|
|
13179
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13180
|
+
}
|
|
13225
13181
|
},
|
|
13226
13182
|
{
|
|
13227
|
-
"kind": "
|
|
13228
|
-
"name": "
|
|
13183
|
+
"kind": "field",
|
|
13184
|
+
"name": "_checkedAttribute",
|
|
13185
|
+
"type": {
|
|
13186
|
+
"text": "boolean"
|
|
13187
|
+
},
|
|
13229
13188
|
"privacy": "private",
|
|
13230
|
-
"
|
|
13189
|
+
"default": "false",
|
|
13190
|
+
"attribute": "checked",
|
|
13191
|
+
"inheritedFrom": {
|
|
13192
|
+
"name": "UmSelectionControl",
|
|
13193
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13194
|
+
}
|
|
13231
13195
|
},
|
|
13232
13196
|
{
|
|
13233
13197
|
"kind": "method",
|
|
13234
|
-
"name": "
|
|
13235
|
-
"privacy": "private",
|
|
13236
|
-
"static": true,
|
|
13237
|
-
"return": {
|
|
13238
|
-
"type": {
|
|
13239
|
-
"text": "UmSnackbar"
|
|
13240
|
-
}
|
|
13241
|
-
},
|
|
13198
|
+
"name": "#handleClick",
|
|
13242
13199
|
"parameters": [
|
|
13243
13200
|
{
|
|
13244
|
-
"name": "
|
|
13201
|
+
"name": "e",
|
|
13245
13202
|
"type": {
|
|
13246
|
-
"text": "
|
|
13203
|
+
"text": "Event"
|
|
13247
13204
|
}
|
|
13248
13205
|
}
|
|
13249
|
-
]
|
|
13206
|
+
],
|
|
13207
|
+
"inheritedFrom": {
|
|
13208
|
+
"name": "UmSelectionControl",
|
|
13209
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13210
|
+
}
|
|
13250
13211
|
}
|
|
13251
13212
|
],
|
|
13213
|
+
"superclass": {
|
|
13214
|
+
"name": "UmSelectionControl",
|
|
13215
|
+
"module": "/src/shared/selection-control/selection-control.js"
|
|
13216
|
+
},
|
|
13217
|
+
"tagName": "u-switch",
|
|
13218
|
+
"customElement": true,
|
|
13252
13219
|
"attributes": [
|
|
13253
13220
|
{
|
|
13254
|
-
"name": "
|
|
13221
|
+
"name": "name",
|
|
13255
13222
|
"type": {
|
|
13256
|
-
"text": "string"
|
|
13223
|
+
"text": "string | undefined"
|
|
13257
13224
|
},
|
|
13258
13225
|
"default": "''",
|
|
13259
|
-
"fieldName": "
|
|
13226
|
+
"fieldName": "name",
|
|
13227
|
+
"inheritedFrom": {
|
|
13228
|
+
"name": "UmSelectionControl",
|
|
13229
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13230
|
+
}
|
|
13260
13231
|
},
|
|
13261
13232
|
{
|
|
13262
|
-
"name": "
|
|
13233
|
+
"name": "disabled",
|
|
13263
13234
|
"type": {
|
|
13264
|
-
"text": "
|
|
13235
|
+
"text": "boolean"
|
|
13265
13236
|
},
|
|
13266
|
-
"default": "
|
|
13267
|
-
"fieldName": "
|
|
13237
|
+
"default": "false",
|
|
13238
|
+
"fieldName": "disabled",
|
|
13239
|
+
"inheritedFrom": {
|
|
13240
|
+
"name": "UmSelectionControl",
|
|
13241
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13242
|
+
}
|
|
13268
13243
|
},
|
|
13269
13244
|
{
|
|
13270
|
-
"name": "
|
|
13245
|
+
"name": "value",
|
|
13271
13246
|
"type": {
|
|
13272
|
-
"text": "
|
|
13247
|
+
"text": "string"
|
|
13273
13248
|
},
|
|
13274
|
-
"default": "
|
|
13275
|
-
"
|
|
13249
|
+
"default": "'on'",
|
|
13250
|
+
"description": "The element value to use in form submission when checked.",
|
|
13251
|
+
"fieldName": "value",
|
|
13252
|
+
"inheritedFrom": {
|
|
13253
|
+
"name": "UmSelectionControl",
|
|
13254
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13255
|
+
}
|
|
13276
13256
|
},
|
|
13277
13257
|
{
|
|
13278
|
-
"name": "
|
|
13258
|
+
"name": "checked",
|
|
13259
|
+
"fieldName": "_checkedAttribute",
|
|
13279
13260
|
"type": {
|
|
13280
13261
|
"text": "boolean"
|
|
13281
13262
|
},
|
|
13282
13263
|
"default": "false",
|
|
13283
|
-
"
|
|
13264
|
+
"inheritedFrom": {
|
|
13265
|
+
"name": "UmSelectionControl",
|
|
13266
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13267
|
+
}
|
|
13284
13268
|
}
|
|
13285
13269
|
],
|
|
13286
|
-
"
|
|
13287
|
-
|
|
13288
|
-
|
|
13289
|
-
|
|
13290
|
-
|
|
13291
|
-
|
|
13270
|
+
"events": [
|
|
13271
|
+
{
|
|
13272
|
+
"name": "input",
|
|
13273
|
+
"type": {
|
|
13274
|
+
"text": "InputEvent"
|
|
13275
|
+
},
|
|
13276
|
+
"inheritedFrom": {
|
|
13277
|
+
"name": "UmSelectionControl",
|
|
13278
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13279
|
+
}
|
|
13280
|
+
},
|
|
13281
|
+
{
|
|
13282
|
+
"name": "change",
|
|
13283
|
+
"type": {
|
|
13284
|
+
"text": "Event"
|
|
13285
|
+
},
|
|
13286
|
+
"inheritedFrom": {
|
|
13287
|
+
"name": "UmSelectionControl",
|
|
13288
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
13289
|
+
}
|
|
13290
|
+
}
|
|
13291
|
+
]
|
|
13292
13292
|
}
|
|
13293
13293
|
],
|
|
13294
13294
|
"exports": [
|
|
13295
13295
|
{
|
|
13296
13296
|
"kind": "js",
|
|
13297
|
-
"name": "
|
|
13297
|
+
"name": "UmSwitch",
|
|
13298
13298
|
"declaration": {
|
|
13299
|
-
"name": "
|
|
13300
|
-
"module": "src/
|
|
13299
|
+
"name": "UmSwitch",
|
|
13300
|
+
"module": "src/switch/switch.ts"
|
|
13301
13301
|
}
|
|
13302
13302
|
},
|
|
13303
13303
|
{
|
|
13304
13304
|
"kind": "custom-element-definition",
|
|
13305
|
-
"name": "u-
|
|
13305
|
+
"name": "u-switch",
|
|
13306
13306
|
"declaration": {
|
|
13307
|
-
"name": "
|
|
13308
|
-
"module": "src/
|
|
13307
|
+
"name": "UmSwitch",
|
|
13308
|
+
"module": "src/switch/switch.ts"
|
|
13309
13309
|
}
|
|
13310
13310
|
}
|
|
13311
13311
|
]
|
|
@@ -16793,46 +16793,6 @@
|
|
|
16793
16793
|
}
|
|
16794
16794
|
]
|
|
16795
16795
|
},
|
|
16796
|
-
{
|
|
16797
|
-
"kind": "javascript-module",
|
|
16798
|
-
"path": "src/shared/events/dispatch-event.ts",
|
|
16799
|
-
"declarations": [],
|
|
16800
|
-
"exports": []
|
|
16801
|
-
},
|
|
16802
|
-
{
|
|
16803
|
-
"kind": "javascript-module",
|
|
16804
|
-
"path": "src/shared/events/redispatch-event.ts",
|
|
16805
|
-
"declarations": [
|
|
16806
|
-
{
|
|
16807
|
-
"kind": "function",
|
|
16808
|
-
"name": "redispatchEvent",
|
|
16809
|
-
"parameters": [
|
|
16810
|
-
{
|
|
16811
|
-
"name": "element",
|
|
16812
|
-
"type": {
|
|
16813
|
-
"text": "Element"
|
|
16814
|
-
}
|
|
16815
|
-
},
|
|
16816
|
-
{
|
|
16817
|
-
"name": "event",
|
|
16818
|
-
"type": {
|
|
16819
|
-
"text": "Event"
|
|
16820
|
-
}
|
|
16821
|
-
}
|
|
16822
|
-
]
|
|
16823
|
-
}
|
|
16824
|
-
],
|
|
16825
|
-
"exports": [
|
|
16826
|
-
{
|
|
16827
|
-
"kind": "js",
|
|
16828
|
-
"name": "redispatchEvent",
|
|
16829
|
-
"declaration": {
|
|
16830
|
-
"name": "redispatchEvent",
|
|
16831
|
-
"module": "src/shared/events/redispatch-event.ts"
|
|
16832
|
-
}
|
|
16833
|
-
}
|
|
16834
|
-
]
|
|
16835
|
-
},
|
|
16836
16796
|
{
|
|
16837
16797
|
"kind": "javascript-module",
|
|
16838
16798
|
"path": "src/shared/char-count-text-field/native-text-field-wrapper.ts",
|
|
@@ -17548,6 +17508,46 @@
|
|
|
17548
17508
|
}
|
|
17549
17509
|
]
|
|
17550
17510
|
},
|
|
17511
|
+
{
|
|
17512
|
+
"kind": "javascript-module",
|
|
17513
|
+
"path": "src/shared/events/dispatch-event.ts",
|
|
17514
|
+
"declarations": [],
|
|
17515
|
+
"exports": []
|
|
17516
|
+
},
|
|
17517
|
+
{
|
|
17518
|
+
"kind": "javascript-module",
|
|
17519
|
+
"path": "src/shared/events/redispatch-event.ts",
|
|
17520
|
+
"declarations": [
|
|
17521
|
+
{
|
|
17522
|
+
"kind": "function",
|
|
17523
|
+
"name": "redispatchEvent",
|
|
17524
|
+
"parameters": [
|
|
17525
|
+
{
|
|
17526
|
+
"name": "element",
|
|
17527
|
+
"type": {
|
|
17528
|
+
"text": "Element"
|
|
17529
|
+
}
|
|
17530
|
+
},
|
|
17531
|
+
{
|
|
17532
|
+
"name": "event",
|
|
17533
|
+
"type": {
|
|
17534
|
+
"text": "Event"
|
|
17535
|
+
}
|
|
17536
|
+
}
|
|
17537
|
+
]
|
|
17538
|
+
}
|
|
17539
|
+
],
|
|
17540
|
+
"exports": [
|
|
17541
|
+
{
|
|
17542
|
+
"kind": "js",
|
|
17543
|
+
"name": "redispatchEvent",
|
|
17544
|
+
"declaration": {
|
|
17545
|
+
"name": "redispatchEvent",
|
|
17546
|
+
"module": "src/shared/events/redispatch-event.ts"
|
|
17547
|
+
}
|
|
17548
|
+
}
|
|
17549
|
+
]
|
|
17550
|
+
},
|
|
17551
17551
|
{
|
|
17552
17552
|
"kind": "javascript-module",
|
|
17553
17553
|
"path": "src/shared/menu-field/menu-field-navigation-controller.ts",
|