@carbon/web-components 1.39.0 → 1.40.0-rc.0
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/dist/16-8b1c3ec4.js +65 -0
- package/dist/16-f84de92d.js +65 -0
- package/dist/accordion.min.js +1 -1
- package/dist/accordion.rtl.min.js +1 -1
- package/dist/breadcrumb.min.js +1 -1
- package/dist/breadcrumb.rtl.min.js +1 -1
- package/dist/{collection-helpers-4e32fe16.js → collection-helpers-bc0df692.js} +1 -1
- package/dist/combo-box.min.js +1 -1
- package/dist/combo-box.rtl.min.js +1 -1
- package/dist/{content-switcher-item-6df85f1c.js → content-switcher-item-97882c68.js} +1 -1
- package/dist/{content-switcher-item-88761ecf.js → content-switcher-item-9c0951ff.js} +1 -1
- package/dist/content-switcher.min.js +1 -1
- package/dist/content-switcher.rtl.min.js +1 -1
- package/dist/data-table.min.js +1 -1
- package/dist/data-table.rtl.min.js +1 -1
- package/dist/date-picker.min.js +1 -1
- package/dist/date-picker.rtl.min.js +1 -1
- package/dist/{dropdown-item-0d7d9847.js → dropdown-item-5f11f61b.js} +1 -1
- package/dist/{dropdown-item-5ea25a90.js → dropdown-item-988f7917.js} +1 -1
- package/dist/dropdown.min.js +1 -1
- package/dist/dropdown.rtl.min.js +1 -1
- package/dist/multi-select.min.js +1 -1
- package/dist/multi-select.rtl.min.js +1 -1
- package/dist/overflow-menu-92d0e3a4.js +74 -0
- package/dist/overflow-menu-fefec311.js +74 -0
- package/dist/overflow-menu.min.js +1 -10
- package/dist/overflow-menu.rtl.min.js +1 -10
- package/dist/pagination-nav.min.js +1 -1
- package/dist/pagination-nav.rtl.min.js +1 -1
- package/dist/pagination.min.js +1 -1
- package/dist/pagination.rtl.min.js +1 -1
- package/dist/progress-indicator.min.js +1 -1
- package/dist/progress-indicator.rtl.min.js +1 -1
- package/dist/radio-button.min.js +1 -1
- package/dist/radio-button.rtl.min.js +1 -1
- package/dist/select.min.js +1 -1
- package/dist/select.rtl.min.js +1 -1
- package/dist/structured-list.min.js +1 -1
- package/dist/structured-list.rtl.min.js +1 -1
- package/dist/tabs.min.js +1 -1
- package/dist/tabs.rtl.min.js +1 -1
- package/dist/tooltip.min.js +1 -1
- package/dist/tooltip.rtl.min.js +1 -1
- package/dist/ui-shell.min.js +1 -1
- package/dist/ui-shell.rtl.min.js +1 -1
- package/es/components/breadcrumb/index.d.ts +1 -0
- package/es/components/breadcrumb/index.js +1 -0
- package/es/components/breadcrumb/index.js.map +1 -1
- package/package.json +2 -2
package/dist/radio-button.min.js
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
* https://www.npmjs.com/package/lodash-es
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
let e,t;import{c as o,_ as i,h as r,s as a,L as n}from"./settings-898bd7b0.js";import{_ as d,a as l}from"./get-d229c408.js";import{c as s}from"./class-map-bd61e03f.js";import{i as b}from"./if-non-null-63ecd660.js";import{H as c,a as u}from"./host-listener-01e0a787.js";import{F as p}from"./focus-1800056c.js";import{N as f,R as x}from"./radio-group-manager-e095bcbf.js";import{c as h}from"./carbon-element-18175602.js";import{q as g,p as m}from"./decorators-56213c84.js";import{F as v}from"./form-80943f8c.js";import{
|
|
65
|
+
let e,t;import{c as o,_ as i,h as r,s as a,L as n}from"./settings-898bd7b0.js";import{_ as d,a as l}from"./get-d229c408.js";import{c as s}from"./class-map-bd61e03f.js";import{i as b}from"./if-non-null-63ecd660.js";import{H as c,a as u}from"./host-listener-01e0a787.js";import{F as p}from"./focus-1800056c.js";import{N as f,R as x}from"./radio-group-manager-e095bcbf.js";import{c as h}from"./carbon-element-18175602.js";import{q as g,p as m}from"./decorators-56213c84.js";import{F as v}from"./form-80943f8c.js";import{a as _,f as k}from"./collection-helpers-bc0df692.js";import"./if-defined-dd1fb04b.js";import"./objectSpread2-8dc8a158.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";
|
|
66
66
|
/**
|
|
67
67
|
* @license
|
|
68
68
|
*
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
* https://www.npmjs.com/package/lodash-es
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
let e,t;import{c as o,_ as i,h as r,s as a,L as n}from"./settings-898bd7b0.js";import{_ as d,a as l}from"./get-d229c408.js";import{c as s}from"./class-map-bd61e03f.js";import{i as b}from"./if-non-null-63ecd660.js";import{H as c,a as u}from"./host-listener-01e0a787.js";import{F as p}from"./focus-1800056c.js";import{N as f,R as x}from"./radio-group-manager-e095bcbf.js";import{c as h}from"./carbon-element-18175602.js";import{q as g,p as m}from"./decorators-56213c84.js";import{F as v}from"./form-80943f8c.js";import{
|
|
65
|
+
let e,t;import{c as o,_ as i,h as r,s as a,L as n}from"./settings-898bd7b0.js";import{_ as d,a as l}from"./get-d229c408.js";import{c as s}from"./class-map-bd61e03f.js";import{i as b}from"./if-non-null-63ecd660.js";import{H as c,a as u}from"./host-listener-01e0a787.js";import{F as p}from"./focus-1800056c.js";import{N as f,R as x}from"./radio-group-manager-e095bcbf.js";import{c as h}from"./carbon-element-18175602.js";import{q as g,p as m}from"./decorators-56213c84.js";import{F as v}from"./form-80943f8c.js";import{a as _,f as k}from"./collection-helpers-bc0df692.js";import"./if-defined-dd1fb04b.js";import"./objectSpread2-8dc8a158.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";
|
|
66
66
|
/**
|
|
67
67
|
* @license
|
|
68
68
|
*
|
package/dist/select.min.js
CHANGED
|
@@ -62,4 +62,4 @@
|
|
|
62
62
|
* https://www.npmjs.com/package/lodash-es
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
import{c as e,_ as t,h as i,s as r,L as n}from"./settings-898bd7b0.js";import{_ as o,a}from"./get-d229c408.js";import{i as l}from"./if-defined-dd1fb04b.js";import{c as s}from"./class-map-bd61e03f.js";import{s as d}from"./16-9e2c1ff1.js";import{s as c}from"./16-deefa0c3.js";import{F as b}from"./shared-enums-c6fe8c39.js";import{i as p}from"./if-non-null-63ecd660.js";import{F as u}from"./form-80943f8c.js";import{V as f}from"./validity-d86ffa4f.js";import{c as x}from"./collection-helpers-4e32fe16.js";import{I as m}from"./input-e5ad8493.js";import{c as h}from"./carbon-element-18175602.js";import{q as v,p as g}from"./decorators-56213c84.js";import"./spread-989d7408.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";import"./floating-menu-14b01da2.js";import"./host-listener-01e0a787.js";import"./objectSpread2-8dc8a158.js";import"./focus-1800056c.js";import"./if-non-empty-f23befc6.js";var k=e(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.bx--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0 0 2rem;padding:0;vertical-align:baseline}.bx--fieldset *,.bx--fieldset :after,.bx--fieldset :before{box-sizing:inherit}.bx--fieldset--no-margin{margin-bottom:0}.bx--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572)}.bx--label{border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:inline-block;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin:0 0 .5rem;padding:0;vertical-align:baseline}.bx--label *,.bx--label :after,.bx--label :before{box-sizing:inherit}.bx--label .bx--tooltip__trigger{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.bx--label.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:.875rem;padding:0;pointer-events:none;position:relative;width:4.6875rem}.bx--label.bx--skeleton:active,.bx--label.bx--skeleton:focus,.bx--label.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--label.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--label.bx--skeleton:before{animation:none}}input[type=number]{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-01,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper--warn~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box--warning~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--number__input-wrapper--warning~.bx--form-requirement,.bx--select--warning .bx--select-input__wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper--warning>.bx--text-input~.bx--form-requirement,.bx--text-input__field-wrapper--warning~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{display:block;font-weight:400;max-height:12.5rem;overflow:visible}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{color:var(--cds-text-error,#da1e28)}.bx--form--fluid .bx--text-input__field-wrapper--warning,.bx--form--fluid .bx--text-input__field-wrapper[data-invalid]{display:block}.bx--form--fluid .bx--fieldset{margin:0}.bx--form--fluid input[data-invalid]{outline:none}.bx--form--fluid .bx--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.bx--form-requirement{border:0;box-sizing:border-box;display:none;font-family:inherit;font-size:100%;font-size:var(--cds-caption-01-font-size,.75rem);font-weight:var(--cds-caption-01-font-weight,400);letter-spacing:var(--cds-caption-01-letter-spacing,.32px);line-height:var(--cds-caption-01-line-height,1.33333);margin:.25rem 0 0;max-height:0;overflow:hidden;padding:0;vertical-align:baseline}.bx--form-requirement *,.bx--form-requirement :after,.bx--form-requirement :before{box-sizing:inherit}.bx--select--inline .bx--form__helper-text{margin-top:0}.bx--form__helper-text{color:var(--cds-text-02,#525252);font-size:var(--cds-helper-text-01-font-size,.75rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-top:.25rem;opacity:1;width:100%;z-index:0}.bx--form__helper-text--disabled,.bx--label--disabled,fieldset[disabled] .bx--form__helper-text,fieldset[disabled] .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select,:host(bx-select){align-items:flex-start;border:0;box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;font-size:100%;margin:0;padding:0;position:relative;vertical-align:baseline;width:100%}.bx--select *,.bx--select :after,.bx--select :before,:host(bx-select) *,:host(bx-select) :after,:host(bx-select) :before{box-sizing:inherit}.bx--select-input__wrapper{align-items:center;display:flex;position:relative;width:100%}.bx--select-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--cds-field-01,#f4f4f4);border:none;border-bottom:1px solid var(--cds-ui-04,#8d8d8d);border-radius:0;color:var(--cds-text-01,#161616);cursor:pointer;display:block;font-family:inherit;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);height:2.5rem;letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572);opacity:1;outline:2px solid transparent;outline-offset:-2px;padding:0 var(--cds-spacing-09,3rem) 0 var(--cds-spacing-05,1rem);transition:outline 70ms cubic-bezier(.2,0,.38,.9);width:100%}.bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select-input::-ms-expand{display:none}@-moz-document url-prefix(){.bx--select-input:-moz-focusring,.bx--select-input::-moz-focus-inner{background-image:none;color:transparent;text-shadow:0 0 0 #000}}.bx--select-input:focus{color:var(--cds-text-01,#161616);outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--select-input:focus{outline-style:dotted}}.bx--select-input:disabled,.bx--select-input:hover:disabled{background-color:var(--cds-disabled-01,#f4f4f4);border-bottom-color:var(--cds-disabled-01,#f4f4f4);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select-input--sm{height:2rem;max-height:2rem}.bx--select-input--lg,.bx--select-input--xl{height:3rem;max-height:3rem}.bx--select--disabled .bx--form__helper-text,.bx--select--disabled .bx--label,:host(bx-select[disabled]) .bx--form__helper-text,:host(bx-select[disabled]) .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select--warning .bx--select-input,.bx--select-input__wrapper[data-invalid] .bx--select-input{padding-right:4.5rem}.bx--select-input:disabled~.bx--select__arrow{fill:var(--cds-disabled-02,#c6c6c6)}.bx--select--light .bx--select-input,:host(bx-select[color-scheme=light]) .bx--select-input{background-color:var(--cds-field-02,#fff)}.bx--select--light .bx--select-input:hover,:host(bx-select[color-scheme=light]) .bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select--light .bx--select-input:disabled,.bx--select--light .bx--select-input:hover:disabled,:host(bx-select[color-scheme=light]) .bx--select-input:disabled{background-color:var(--cds-field-02,#fff);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select__arrow{fill:var(--cds-ui-05,#161616);height:100%;pointer-events:none;position:absolute;right:var(--cds-spacing-05,1rem);top:0}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.bx--select__arrow path{fill:ButtonText}}.bx--select__invalid-icon{position:absolute;right:var(--cds-spacing-08,2.5rem)}.bx--select-input__wrapper[data-invalid] .bx--select-input~.bx--select__invalid-icon{fill:var(--cds-support-01,#da1e28)}.bx--select__invalid-icon--warning{fill:var(--cds-support-03,#f1c21b)}.bx--select__invalid-icon--warning path[fill]{fill:#000;opacity:1}.bx--select-option,optgroup.bx--select-optgroup{background-color:var(--cds-background-hover,#e5e5e5);color:var(--cds-text-01,#161616)}.bx--select-option:disabled,optgroup.bx--select-optgroup:disabled{color:var(--cds-text-disabled,#c6c6c6)}.bx--select--inline{align-items:center;display:flex;flex-direction:row}.bx--select--inline.bx--select--invalid .bx--form__helper-text,.bx--select--inline.bx--select--invalid .bx--label{align-self:flex-start;margin-top:.8125rem}.bx--select--inline .bx--form__helper-text{margin-bottom:0;margin-left:var(--cds-spacing-03,.5rem)}.bx--select--inline .bx--label{margin:0 .5rem 0 0;white-space:nowrap}.bx--select--inline .bx--select-input{background-color:transparent;border-bottom:none;color:var(--cds-text-01,#161616);padding-left:.5rem;padding-right:var(--cds-spacing-07,2rem);width:auto}.bx--select--inline .bx--select-input:focus,.bx--select--inline .bx--select-input:focus optgroup,.bx--select--inline .bx--select-input:focus option{background-color:var(--cds-background,#fff)}.bx--select--inline .bx--select-input[disabled],.bx--select--inline .bx--select-input[disabled]:hover{background-color:var(--cds-disabled-01,#f4f4f4)}.bx--select--inline .bx--select__arrow{right:.5rem}.bx--select--inline.bx--select--invalid .bx--select-input{padding-right:3.5rem}.bx--select--inline.bx--select--invalid .bx--select-input~.bx--select__invalid-icon{right:var(--cds-spacing-07,2rem)}.bx--select--inline .bx--select-input:disabled{color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select--inline .bx--select-input:disabled~*{cursor:not-allowed}.bx--select.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:2.5rem;padding:0;pointer-events:none;position:relative;width:100%}.bx--select.bx--skeleton:active,.bx--select.bx--skeleton:focus,.bx--select.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--select.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--select.bx--skeleton:before{animation:none}}.bx--select.bx--skeleton .bx--select-input{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--select__arrow{fill:ButtonText}}:host(bx-select){outline:none}']);let _,y,w,z,$,q,j,M=e=>e;const{prefix:I}=r;t([h(`${I}-select`)],(function(e,t){class r extends t{constructor(...t){super(...t),e(this)}}return{F:r,d:[{kind:"field",key:"_observerMutation",value:()=>null},{kind:"field",key:"_placeholderItemValue",value:()=>`__${I}-select-placeholder_${Math.random().toString(36).slice(2)}`},{kind:"field",decorators:[v("select")],key:"_selectNode",value:void 0},{kind:"method",key:"_handleInput",value:function({target:e}){const{value:t}=e;this.value=t;const{eventSelect:i}=this.constructor;this.dispatchEvent(new CustomEvent(i,{bubbles:!0,composed:!0,detail:{value:t}}))}},{kind:"field",key:"_handleMutation",value(){return()=>{this.requestUpdate()}}},{kind:"method",key:"_renderItems",value:function(e){const{selectorItem:t,selectorLeafItem:r}=this.constructor;return i(_||(_=M`${0}`),x(e.childNodes,(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(t))).map((e=>{const t=e.hasAttribute("disabled"),n=e.getAttribute("label"),o=e.hasAttribute("selected"),a=e.getAttribute("value"),{textContent:l}=e;return e.matches(r)?i(y||(y=M`<option class="${0}--select-option" ?disabled="${0}" label="${0}" ?selected="${0}" value="${0}">${0}</option>`),I,t,p(null!=n?n:l),o,p(a),l):i(w||(w=M`<optgroup class="${0}--select-optgroup" ?disabled="${0}" label="${0}">${0}</optgroup>`),I,t,p(n),this._renderItems(e))})))}},{kind:"method",key:"_handleFormdata",value:function(e){const{formData:t}=e,{disabled:i,name:r,value:n}=this;i||t.append(r,n)}},{kind:"get",key:"length",value:function(){return this._selectNode.length}},{kind:"get",key:"options",value:function(){return this._selectNode.options}},{kind:"get",key:"type",value:function(){return this._selectNode.type}},{kind:"field",decorators:[g({type:Boolean})],key:"autofocus",value:()=>!1},{kind:"field",decorators:[g({attribute:"color-scheme",reflect:!0})],key:"colorScheme",value:()=>b.REGULAR},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({attribute:"helper-text"})],key:"helperText",value:()=>""},{kind:"field",decorators:[g()],key:"id",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"invalid",value:()=>!1},{kind:"field",decorators:[g({attribute:"label-text"})],key:"labelText",value:()=>""},{kind:"get",decorators:[g({type:Boolean})],key:"multiple",value:function(){return!1}},{kind:"field",decorators:[g()],key:"name",value:()=>""},{kind:"field",decorators:[g()],key:"pattern",value:()=>""},{kind:"field",decorators:[g({reflect:!0})],key:"placeholder",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"readonly",value:()=>!1},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"required",value:()=>!1},{kind:"field",decorators:[g({attribute:"required-validity-message"})],key:"requiredValidityMessage",value:()=>"Please fill out this field."},{kind:"get",decorators:[g({type:Number})],key:"selectedIndex",value:function(){return this._selectNode.selectedIndex}},{kind:"set",key:"selectedIndex",value:function(e){this._selectNode.selectedIndex=e,this.value=this._selectNode.value}},{kind:"field",decorators:[g({reflect:!0})],key:"size",value:()=>m.REGULAR},{kind:"field",decorators:[g({attribute:"validity-message"})],key:"validityMessage",value:()=>""},{kind:"field",decorators:[g()],key:"value",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){o(a(r.prototype),"connectedCallback",this).call(this),this._observerMutation=new MutationObserver(this._handleMutation),this._observerMutation.observe(this,{attributes:!0,childList:!0,subtree:!0})}},{kind:"method",key:"disconnectedCallback",value:function(){this._observerMutation&&(this._observerMutation.disconnect(),this._observerMutation=null),o(a(r.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("value")){const{value:e,_placeholderItemValue:t}=this;this._selectNode.value=e||t}}},{kind:"method",key:"render",value:function(){const{disabled:e,helperText:t,invalid:r,labelText:n,placeholder:o,size:a,validityMessage:b,value:p,_placeholderItemValue:u,_handleInput:f}=this,x=s({[`${I}--select-input`]:!0,[`${I}--select-input--${a}`]:a}),m=s({[`${I}--label`]:!0,[`${I}--label--disabled`]:e}),h=s({[`${I}--form__helper-text`]:!0,[`${I}--form__helper-text--disabled`]:e}),v=r?i($||($=M`<div class="${0}--form-requirement" id="validity-message"><slot name="validity-message">${0}</slot></div>`),I,b):i(z||(z=M`<div class="${0}"><slot name="helper-text">${0}</slot></div>`),h,t);return i(q||(q=M`<label class="${0}" for="input"><slot name="label-text">${0}</slot></label><div class="${0}--select-input__wrapper" ?data-invalid="${0}"><select id="input" class="${0}" ?disabled="${0}" aria-invalid="${0}" aria-describedby="${0}" @input="${0}">${0} ${0}</select>${0} ${0}</div>${0}`),m,n,I,r,x,e,String(Boolean(r)),l(r?"validity-message":void 0),f,!o||p?void 0:i(j||(j=M`<option disabled="disabled" hidden class="${0}--select-option" value="${0}" selected="selected">${0}</option>`),I,u,o),this._renderItems(this),d({class:`${I}--select__arrow`}),r?c({class:`${I}--select__invalid-icon`}):void 0,v)}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${I}-select-item-group,${I}-select-item`}},{kind:"get",static:!0,key:"selectorLeafItem",value:function(){return`${I}-select-item`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${I}-select-selected`}},{kind:"field",static:!0,key:"styles",value:()=>k}]}}),f(u(n)));const{prefix:B}=r;t([h(`${B}-select-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"value",value:()=>""}]}}),n);const{prefix:N}=r;t([h(`${N}-select-item-group`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""}]}}),n);
|
|
65
|
+
import{c as e,_ as t,h as i,s as r,L as n}from"./settings-898bd7b0.js";import{_ as o,a}from"./get-d229c408.js";import{i as l}from"./if-defined-dd1fb04b.js";import{c as s}from"./class-map-bd61e03f.js";import{s as d}from"./16-9e2c1ff1.js";import{s as c}from"./16-deefa0c3.js";import{F as b}from"./shared-enums-c6fe8c39.js";import{i as p}from"./if-non-null-63ecd660.js";import{F as u}from"./form-80943f8c.js";import{V as f}from"./validity-d86ffa4f.js";import{c as x}from"./collection-helpers-bc0df692.js";import{I as m}from"./input-e5ad8493.js";import{c as h}from"./carbon-element-18175602.js";import{q as v,p as g}from"./decorators-56213c84.js";import"./spread-989d7408.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";import"./floating-menu-14b01da2.js";import"./host-listener-01e0a787.js";import"./objectSpread2-8dc8a158.js";import"./focus-1800056c.js";import"./if-non-empty-f23befc6.js";var k=e(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.bx--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0 0 2rem;padding:0;vertical-align:baseline}.bx--fieldset *,.bx--fieldset :after,.bx--fieldset :before{box-sizing:inherit}.bx--fieldset--no-margin{margin-bottom:0}.bx--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572)}.bx--label{border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:inline-block;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin:0 0 .5rem;padding:0;vertical-align:baseline}.bx--label *,.bx--label :after,.bx--label :before{box-sizing:inherit}.bx--label .bx--tooltip__trigger{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.bx--label.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:.875rem;padding:0;pointer-events:none;position:relative;width:4.6875rem}.bx--label.bx--skeleton:active,.bx--label.bx--skeleton:focus,.bx--label.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--label.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--label.bx--skeleton:before{animation:none}}input[type=number]{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-01,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper--warn~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box--warning~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--number__input-wrapper--warning~.bx--form-requirement,.bx--select--warning .bx--select-input__wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper--warning>.bx--text-input~.bx--form-requirement,.bx--text-input__field-wrapper--warning~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{display:block;font-weight:400;max-height:12.5rem;overflow:visible}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{color:var(--cds-text-error,#da1e28)}.bx--form--fluid .bx--text-input__field-wrapper--warning,.bx--form--fluid .bx--text-input__field-wrapper[data-invalid]{display:block}.bx--form--fluid .bx--fieldset{margin:0}.bx--form--fluid input[data-invalid]{outline:none}.bx--form--fluid .bx--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.bx--form-requirement{border:0;box-sizing:border-box;display:none;font-family:inherit;font-size:100%;font-size:var(--cds-caption-01-font-size,.75rem);font-weight:var(--cds-caption-01-font-weight,400);letter-spacing:var(--cds-caption-01-letter-spacing,.32px);line-height:var(--cds-caption-01-line-height,1.33333);margin:.25rem 0 0;max-height:0;overflow:hidden;padding:0;vertical-align:baseline}.bx--form-requirement *,.bx--form-requirement :after,.bx--form-requirement :before{box-sizing:inherit}.bx--select--inline .bx--form__helper-text{margin-top:0}.bx--form__helper-text{color:var(--cds-text-02,#525252);font-size:var(--cds-helper-text-01-font-size,.75rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-top:.25rem;opacity:1;width:100%;z-index:0}.bx--form__helper-text--disabled,.bx--label--disabled,fieldset[disabled] .bx--form__helper-text,fieldset[disabled] .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select,:host(bx-select){align-items:flex-start;border:0;box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;font-size:100%;margin:0;padding:0;position:relative;vertical-align:baseline;width:100%}.bx--select *,.bx--select :after,.bx--select :before,:host(bx-select) *,:host(bx-select) :after,:host(bx-select) :before{box-sizing:inherit}.bx--select-input__wrapper{align-items:center;display:flex;position:relative;width:100%}.bx--select-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--cds-field-01,#f4f4f4);border:none;border-bottom:1px solid var(--cds-ui-04,#8d8d8d);border-radius:0;color:var(--cds-text-01,#161616);cursor:pointer;display:block;font-family:inherit;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);height:2.5rem;letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572);opacity:1;outline:2px solid transparent;outline-offset:-2px;padding:0 var(--cds-spacing-09,3rem) 0 var(--cds-spacing-05,1rem);transition:outline 70ms cubic-bezier(.2,0,.38,.9);width:100%}.bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select-input::-ms-expand{display:none}@-moz-document url-prefix(){.bx--select-input:-moz-focusring,.bx--select-input::-moz-focus-inner{background-image:none;color:transparent;text-shadow:0 0 0 #000}}.bx--select-input:focus{color:var(--cds-text-01,#161616);outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--select-input:focus{outline-style:dotted}}.bx--select-input:disabled,.bx--select-input:hover:disabled{background-color:var(--cds-disabled-01,#f4f4f4);border-bottom-color:var(--cds-disabled-01,#f4f4f4);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select-input--sm{height:2rem;max-height:2rem}.bx--select-input--lg,.bx--select-input--xl{height:3rem;max-height:3rem}.bx--select--disabled .bx--form__helper-text,.bx--select--disabled .bx--label,:host(bx-select[disabled]) .bx--form__helper-text,:host(bx-select[disabled]) .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select--warning .bx--select-input,.bx--select-input__wrapper[data-invalid] .bx--select-input{padding-right:4.5rem}.bx--select-input:disabled~.bx--select__arrow{fill:var(--cds-disabled-02,#c6c6c6)}.bx--select--light .bx--select-input,:host(bx-select[color-scheme=light]) .bx--select-input{background-color:var(--cds-field-02,#fff)}.bx--select--light .bx--select-input:hover,:host(bx-select[color-scheme=light]) .bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select--light .bx--select-input:disabled,.bx--select--light .bx--select-input:hover:disabled,:host(bx-select[color-scheme=light]) .bx--select-input:disabled{background-color:var(--cds-field-02,#fff);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select__arrow{fill:var(--cds-ui-05,#161616);height:100%;pointer-events:none;position:absolute;right:var(--cds-spacing-05,1rem);top:0}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.bx--select__arrow path{fill:ButtonText}}.bx--select__invalid-icon{position:absolute;right:var(--cds-spacing-08,2.5rem)}.bx--select-input__wrapper[data-invalid] .bx--select-input~.bx--select__invalid-icon{fill:var(--cds-support-01,#da1e28)}.bx--select__invalid-icon--warning{fill:var(--cds-support-03,#f1c21b)}.bx--select__invalid-icon--warning path[fill]{fill:#000;opacity:1}.bx--select-option,optgroup.bx--select-optgroup{background-color:var(--cds-background-hover,#e5e5e5);color:var(--cds-text-01,#161616)}.bx--select-option:disabled,optgroup.bx--select-optgroup:disabled{color:var(--cds-text-disabled,#c6c6c6)}.bx--select--inline{align-items:center;display:flex;flex-direction:row}.bx--select--inline.bx--select--invalid .bx--form__helper-text,.bx--select--inline.bx--select--invalid .bx--label{align-self:flex-start;margin-top:.8125rem}.bx--select--inline .bx--form__helper-text{margin-bottom:0;margin-left:var(--cds-spacing-03,.5rem)}.bx--select--inline .bx--label{margin:0 .5rem 0 0;white-space:nowrap}.bx--select--inline .bx--select-input{background-color:transparent;border-bottom:none;color:var(--cds-text-01,#161616);padding-left:.5rem;padding-right:var(--cds-spacing-07,2rem);width:auto}.bx--select--inline .bx--select-input:focus,.bx--select--inline .bx--select-input:focus optgroup,.bx--select--inline .bx--select-input:focus option{background-color:var(--cds-background,#fff)}.bx--select--inline .bx--select-input[disabled],.bx--select--inline .bx--select-input[disabled]:hover{background-color:var(--cds-disabled-01,#f4f4f4)}.bx--select--inline .bx--select__arrow{right:.5rem}.bx--select--inline.bx--select--invalid .bx--select-input{padding-right:3.5rem}.bx--select--inline.bx--select--invalid .bx--select-input~.bx--select__invalid-icon{right:var(--cds-spacing-07,2rem)}.bx--select--inline .bx--select-input:disabled{color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select--inline .bx--select-input:disabled~*{cursor:not-allowed}.bx--select.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:2.5rem;padding:0;pointer-events:none;position:relative;width:100%}.bx--select.bx--skeleton:active,.bx--select.bx--skeleton:focus,.bx--select.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--select.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--select.bx--skeleton:before{animation:none}}.bx--select.bx--skeleton .bx--select-input{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--select__arrow{fill:ButtonText}}:host(bx-select){outline:none}']);let _,y,w,z,$,q,j,M=e=>e;const{prefix:I}=r;t([h(`${I}-select`)],(function(e,t){class r extends t{constructor(...t){super(...t),e(this)}}return{F:r,d:[{kind:"field",key:"_observerMutation",value:()=>null},{kind:"field",key:"_placeholderItemValue",value:()=>`__${I}-select-placeholder_${Math.random().toString(36).slice(2)}`},{kind:"field",decorators:[v("select")],key:"_selectNode",value:void 0},{kind:"method",key:"_handleInput",value:function({target:e}){const{value:t}=e;this.value=t;const{eventSelect:i}=this.constructor;this.dispatchEvent(new CustomEvent(i,{bubbles:!0,composed:!0,detail:{value:t}}))}},{kind:"field",key:"_handleMutation",value(){return()=>{this.requestUpdate()}}},{kind:"method",key:"_renderItems",value:function(e){const{selectorItem:t,selectorLeafItem:r}=this.constructor;return i(_||(_=M`${0}`),x(e.childNodes,(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(t))).map((e=>{const t=e.hasAttribute("disabled"),n=e.getAttribute("label"),o=e.hasAttribute("selected"),a=e.getAttribute("value"),{textContent:l}=e;return e.matches(r)?i(y||(y=M`<option class="${0}--select-option" ?disabled="${0}" label="${0}" ?selected="${0}" value="${0}">${0}</option>`),I,t,p(null!=n?n:l),o,p(a),l):i(w||(w=M`<optgroup class="${0}--select-optgroup" ?disabled="${0}" label="${0}">${0}</optgroup>`),I,t,p(n),this._renderItems(e))})))}},{kind:"method",key:"_handleFormdata",value:function(e){const{formData:t}=e,{disabled:i,name:r,value:n}=this;i||t.append(r,n)}},{kind:"get",key:"length",value:function(){return this._selectNode.length}},{kind:"get",key:"options",value:function(){return this._selectNode.options}},{kind:"get",key:"type",value:function(){return this._selectNode.type}},{kind:"field",decorators:[g({type:Boolean})],key:"autofocus",value:()=>!1},{kind:"field",decorators:[g({attribute:"color-scheme",reflect:!0})],key:"colorScheme",value:()=>b.REGULAR},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({attribute:"helper-text"})],key:"helperText",value:()=>""},{kind:"field",decorators:[g()],key:"id",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"invalid",value:()=>!1},{kind:"field",decorators:[g({attribute:"label-text"})],key:"labelText",value:()=>""},{kind:"get",decorators:[g({type:Boolean})],key:"multiple",value:function(){return!1}},{kind:"field",decorators:[g()],key:"name",value:()=>""},{kind:"field",decorators:[g()],key:"pattern",value:()=>""},{kind:"field",decorators:[g({reflect:!0})],key:"placeholder",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"readonly",value:()=>!1},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"required",value:()=>!1},{kind:"field",decorators:[g({attribute:"required-validity-message"})],key:"requiredValidityMessage",value:()=>"Please fill out this field."},{kind:"get",decorators:[g({type:Number})],key:"selectedIndex",value:function(){return this._selectNode.selectedIndex}},{kind:"set",key:"selectedIndex",value:function(e){this._selectNode.selectedIndex=e,this.value=this._selectNode.value}},{kind:"field",decorators:[g({reflect:!0})],key:"size",value:()=>m.REGULAR},{kind:"field",decorators:[g({attribute:"validity-message"})],key:"validityMessage",value:()=>""},{kind:"field",decorators:[g()],key:"value",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){o(a(r.prototype),"connectedCallback",this).call(this),this._observerMutation=new MutationObserver(this._handleMutation),this._observerMutation.observe(this,{attributes:!0,childList:!0,subtree:!0})}},{kind:"method",key:"disconnectedCallback",value:function(){this._observerMutation&&(this._observerMutation.disconnect(),this._observerMutation=null),o(a(r.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("value")){const{value:e,_placeholderItemValue:t}=this;this._selectNode.value=e||t}}},{kind:"method",key:"render",value:function(){const{disabled:e,helperText:t,invalid:r,labelText:n,placeholder:o,size:a,validityMessage:b,value:p,_placeholderItemValue:u,_handleInput:f}=this,x=s({[`${I}--select-input`]:!0,[`${I}--select-input--${a}`]:a}),m=s({[`${I}--label`]:!0,[`${I}--label--disabled`]:e}),h=s({[`${I}--form__helper-text`]:!0,[`${I}--form__helper-text--disabled`]:e}),v=r?i($||($=M`<div class="${0}--form-requirement" id="validity-message"><slot name="validity-message">${0}</slot></div>`),I,b):i(z||(z=M`<div class="${0}"><slot name="helper-text">${0}</slot></div>`),h,t);return i(q||(q=M`<label class="${0}" for="input"><slot name="label-text">${0}</slot></label><div class="${0}--select-input__wrapper" ?data-invalid="${0}"><select id="input" class="${0}" ?disabled="${0}" aria-invalid="${0}" aria-describedby="${0}" @input="${0}">${0} ${0}</select>${0} ${0}</div>${0}`),m,n,I,r,x,e,String(Boolean(r)),l(r?"validity-message":void 0),f,!o||p?void 0:i(j||(j=M`<option disabled="disabled" hidden class="${0}--select-option" value="${0}" selected="selected">${0}</option>`),I,u,o),this._renderItems(this),d({class:`${I}--select__arrow`}),r?c({class:`${I}--select__invalid-icon`}):void 0,v)}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${I}-select-item-group,${I}-select-item`}},{kind:"get",static:!0,key:"selectorLeafItem",value:function(){return`${I}-select-item`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${I}-select-selected`}},{kind:"field",static:!0,key:"styles",value:()=>k}]}}),f(u(n)));const{prefix:B}=r;t([h(`${B}-select-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"value",value:()=>""}]}}),n);const{prefix:N}=r;t([h(`${N}-select-item-group`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""}]}}),n);
|
package/dist/select.rtl.min.js
CHANGED
|
@@ -62,4 +62,4 @@
|
|
|
62
62
|
* https://www.npmjs.com/package/lodash-es
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
import{c as e,_ as t,h as i,s as r,L as n}from"./settings-898bd7b0.js";import{_ as o,a}from"./get-d229c408.js";import{i as l}from"./if-defined-dd1fb04b.js";import{c as s}from"./class-map-bd61e03f.js";import{s as d}from"./16-8e34a1fb.js";import{s as c}from"./16-967865d0.js";import{F as b}from"./shared-enums-c6fe8c39.js";import{i as p}from"./if-non-null-63ecd660.js";import{F as u}from"./form-80943f8c.js";import{V as f}from"./validity-d86ffa4f.js";import{c as x}from"./collection-helpers-4e32fe16.js";import{I as m}from"./input-13d32d6b.js";import{c as h}from"./carbon-element-18175602.js";import{q as v,p as g}from"./decorators-56213c84.js";import"./spread-989d7408.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";import"./floating-menu-14b01da2.js";import"./host-listener-01e0a787.js";import"./objectSpread2-8dc8a158.js";import"./focus-1800056c.js";import"./if-non-empty-f23befc6.js";var k=e(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}to{opacity:.3;transform:scaleX(0);transform-origin:right}}.bx--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0 0 2rem;padding:0;vertical-align:baseline}.bx--fieldset *,.bx--fieldset :after,.bx--fieldset :before{box-sizing:inherit}.bx--fieldset--no-margin{margin-bottom:0}.bx--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572)}.bx--label{border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:inline-block;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin:0 0 .5rem;padding:0;vertical-align:baseline}.bx--label *,.bx--label :after,.bx--label :before{box-sizing:inherit}.bx--label .bx--tooltip__trigger{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.bx--label.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:.875rem;padding:0;pointer-events:none;position:relative;width:4.6875rem}.bx--label.bx--skeleton:active,.bx--label.bx--skeleton:focus,.bx--label.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--label.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--label.bx--skeleton:before{animation:none}}input[type=number]{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-01,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper--warn~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box--warning~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--number__input-wrapper--warning~.bx--form-requirement,.bx--select--warning .bx--select-input__wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper--warning>.bx--text-input~.bx--form-requirement,.bx--text-input__field-wrapper--warning~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{display:block;font-weight:400;max-height:12.5rem;overflow:visible}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{color:var(--cds-text-error,#da1e28)}.bx--form--fluid .bx--text-input__field-wrapper--warning,.bx--form--fluid .bx--text-input__field-wrapper[data-invalid]{display:block}.bx--form--fluid .bx--fieldset{margin:0}.bx--form--fluid input[data-invalid]{outline:none}.bx--form--fluid .bx--form-requirement{margin:0;padding:.5rem 1rem .5rem 2.5rem}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.bx--form-requirement{border:0;box-sizing:border-box;display:none;font-family:inherit;font-size:100%;font-size:var(--cds-caption-01-font-size,.75rem);font-weight:var(--cds-caption-01-font-weight,400);letter-spacing:var(--cds-caption-01-letter-spacing,.32px);line-height:var(--cds-caption-01-line-height,1.33333);margin:.25rem 0 0;max-height:0;overflow:hidden;padding:0;vertical-align:baseline}.bx--form-requirement *,.bx--form-requirement :after,.bx--form-requirement :before{box-sizing:inherit}.bx--select--inline .bx--form__helper-text{margin-top:0}.bx--form__helper-text{color:var(--cds-text-02,#525252);font-size:var(--cds-helper-text-01-font-size,.75rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-top:.25rem;opacity:1;width:100%;z-index:0}.bx--form__helper-text--disabled,.bx--label--disabled,fieldset[disabled] .bx--form__helper-text,fieldset[disabled] .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select,:host(bx-select){align-items:flex-start;border:0;box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;font-size:100%;margin:0;padding:0;position:relative;vertical-align:baseline;width:100%}.bx--select *,.bx--select :after,.bx--select :before,:host(bx-select) *,:host(bx-select) :after,:host(bx-select) :before{box-sizing:inherit}.bx--select-input__wrapper{align-items:center;display:flex;position:relative;width:100%}.bx--select-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--cds-field-01,#f4f4f4);border:none;border-bottom:1px solid var(--cds-ui-04,#8d8d8d);border-radius:0;color:var(--cds-text-01,#161616);cursor:pointer;display:block;font-family:inherit;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);height:2.5rem;letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572);opacity:1;outline:2px solid transparent;outline-offset:-2px;padding:0 var(--cds-spacing-05,1rem) 0 var(--cds-spacing-09,3rem);transition:outline 70ms cubic-bezier(.2,0,.38,.9);width:100%}.bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select-input::-ms-expand{display:none}@-moz-document url-prefix(){.bx--select-input:-moz-focusring,.bx--select-input::-moz-focus-inner{background-image:none;color:transparent;text-shadow:0 0 0 #000}}.bx--select-input:focus{color:var(--cds-text-01,#161616);outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--select-input:focus{outline-style:dotted}}.bx--select-input:disabled,.bx--select-input:hover:disabled{background-color:var(--cds-disabled-01,#f4f4f4);border-bottom-color:var(--cds-disabled-01,#f4f4f4);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select-input--sm{height:2rem;max-height:2rem}.bx--select-input--lg,.bx--select-input--xl{height:3rem;max-height:3rem}.bx--select--disabled .bx--form__helper-text,.bx--select--disabled .bx--label,:host(bx-select[disabled]) .bx--form__helper-text,:host(bx-select[disabled]) .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select--warning .bx--select-input,.bx--select-input__wrapper[data-invalid] .bx--select-input{padding-left:4.5rem}.bx--select-input:disabled~.bx--select__arrow{fill:var(--cds-disabled-02,#c6c6c6)}.bx--select--light .bx--select-input,:host(bx-select[color-scheme=light]) .bx--select-input{background-color:var(--cds-field-02,#fff)}.bx--select--light .bx--select-input:hover,:host(bx-select[color-scheme=light]) .bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select--light .bx--select-input:disabled,.bx--select--light .bx--select-input:hover:disabled,:host(bx-select[color-scheme=light]) .bx--select-input:disabled{background-color:var(--cds-field-02,#fff);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select__arrow{fill:var(--cds-ui-05,#161616);height:100%;left:var(--cds-spacing-05,1rem);pointer-events:none;position:absolute;top:0}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.bx--select__arrow path{fill:ButtonText}}.bx--select__invalid-icon{left:var(--cds-spacing-08,2.5rem);position:absolute}.bx--select-input__wrapper[data-invalid] .bx--select-input~.bx--select__invalid-icon{fill:var(--cds-support-01,#da1e28)}.bx--select__invalid-icon--warning{fill:var(--cds-support-03,#f1c21b)}.bx--select__invalid-icon--warning path[fill]{fill:#000;opacity:1}.bx--select-option,optgroup.bx--select-optgroup{background-color:var(--cds-background-hover,#e5e5e5);color:var(--cds-text-01,#161616)}.bx--select-option:disabled,optgroup.bx--select-optgroup:disabled{color:var(--cds-text-disabled,#c6c6c6)}.bx--select--inline{align-items:center;display:flex;flex-direction:row}.bx--select--inline.bx--select--invalid .bx--form__helper-text,.bx--select--inline.bx--select--invalid .bx--label{align-self:flex-start;margin-top:.8125rem}.bx--select--inline .bx--form__helper-text{margin-bottom:0;margin-right:var(--cds-spacing-03,.5rem)}.bx--select--inline .bx--label{margin:0 0 0 .5rem;white-space:nowrap}.bx--select--inline .bx--select-input{background-color:transparent;border-bottom:none;color:var(--cds-text-01,#161616);padding-left:var(--cds-spacing-07,2rem);padding-right:.5rem;width:auto}.bx--select--inline .bx--select-input:focus,.bx--select--inline .bx--select-input:focus optgroup,.bx--select--inline .bx--select-input:focus option{background-color:var(--cds-background,#fff)}.bx--select--inline .bx--select-input[disabled],.bx--select--inline .bx--select-input[disabled]:hover{background-color:var(--cds-disabled-01,#f4f4f4)}.bx--select--inline .bx--select__arrow{left:.5rem}.bx--select--inline.bx--select--invalid .bx--select-input{padding-left:3.5rem}.bx--select--inline.bx--select--invalid .bx--select-input~.bx--select__invalid-icon{left:var(--cds-spacing-07,2rem)}.bx--select--inline .bx--select-input:disabled{color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select--inline .bx--select-input:disabled~*{cursor:not-allowed}.bx--select.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:2.5rem;padding:0;pointer-events:none;position:relative;width:100%}.bx--select.bx--skeleton:active,.bx--select.bx--skeleton:focus,.bx--select.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--select.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--select.bx--skeleton:before{animation:none}}.bx--select.bx--skeleton .bx--select-input{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--select__arrow{fill:ButtonText}}:host(bx-select){outline:none}']);let _,y,w,z,$,q,j,M=e=>e;const{prefix:I}=r;t([h(`${I}-select`)],(function(e,t){class r extends t{constructor(...t){super(...t),e(this)}}return{F:r,d:[{kind:"field",key:"_observerMutation",value:()=>null},{kind:"field",key:"_placeholderItemValue",value:()=>`__${I}-select-placeholder_${Math.random().toString(36).slice(2)}`},{kind:"field",decorators:[v("select")],key:"_selectNode",value:void 0},{kind:"method",key:"_handleInput",value:function({target:e}){const{value:t}=e;this.value=t;const{eventSelect:i}=this.constructor;this.dispatchEvent(new CustomEvent(i,{bubbles:!0,composed:!0,detail:{value:t}}))}},{kind:"field",key:"_handleMutation",value(){return()=>{this.requestUpdate()}}},{kind:"method",key:"_renderItems",value:function(e){const{selectorItem:t,selectorLeafItem:r}=this.constructor;return i(_||(_=M`${0}`),x(e.childNodes,(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(t))).map((e=>{const t=e.hasAttribute("disabled"),n=e.getAttribute("label"),o=e.hasAttribute("selected"),a=e.getAttribute("value"),{textContent:l}=e;return e.matches(r)?i(y||(y=M`<option class="${0}--select-option" ?disabled="${0}" label="${0}" ?selected="${0}" value="${0}">${0}</option>`),I,t,p(null!=n?n:l),o,p(a),l):i(w||(w=M`<optgroup class="${0}--select-optgroup" ?disabled="${0}" label="${0}">${0}</optgroup>`),I,t,p(n),this._renderItems(e))})))}},{kind:"method",key:"_handleFormdata",value:function(e){const{formData:t}=e,{disabled:i,name:r,value:n}=this;i||t.append(r,n)}},{kind:"get",key:"length",value:function(){return this._selectNode.length}},{kind:"get",key:"options",value:function(){return this._selectNode.options}},{kind:"get",key:"type",value:function(){return this._selectNode.type}},{kind:"field",decorators:[g({type:Boolean})],key:"autofocus",value:()=>!1},{kind:"field",decorators:[g({attribute:"color-scheme",reflect:!0})],key:"colorScheme",value:()=>b.REGULAR},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({attribute:"helper-text"})],key:"helperText",value:()=>""},{kind:"field",decorators:[g()],key:"id",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"invalid",value:()=>!1},{kind:"field",decorators:[g({attribute:"label-text"})],key:"labelText",value:()=>""},{kind:"get",decorators:[g({type:Boolean})],key:"multiple",value:function(){return!1}},{kind:"field",decorators:[g()],key:"name",value:()=>""},{kind:"field",decorators:[g()],key:"pattern",value:()=>""},{kind:"field",decorators:[g({reflect:!0})],key:"placeholder",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"readonly",value:()=>!1},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"required",value:()=>!1},{kind:"field",decorators:[g({attribute:"required-validity-message"})],key:"requiredValidityMessage",value:()=>"Please fill out this field."},{kind:"get",decorators:[g({type:Number})],key:"selectedIndex",value:function(){return this._selectNode.selectedIndex}},{kind:"set",key:"selectedIndex",value:function(e){this._selectNode.selectedIndex=e,this.value=this._selectNode.value}},{kind:"field",decorators:[g({reflect:!0})],key:"size",value:()=>m.REGULAR},{kind:"field",decorators:[g({attribute:"validity-message"})],key:"validityMessage",value:()=>""},{kind:"field",decorators:[g()],key:"value",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){o(a(r.prototype),"connectedCallback",this).call(this),this._observerMutation=new MutationObserver(this._handleMutation),this._observerMutation.observe(this,{attributes:!0,childList:!0,subtree:!0})}},{kind:"method",key:"disconnectedCallback",value:function(){this._observerMutation&&(this._observerMutation.disconnect(),this._observerMutation=null),o(a(r.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("value")){const{value:e,_placeholderItemValue:t}=this;this._selectNode.value=e||t}}},{kind:"method",key:"render",value:function(){const{disabled:e,helperText:t,invalid:r,labelText:n,placeholder:o,size:a,validityMessage:b,value:p,_placeholderItemValue:u,_handleInput:f}=this,x=s({[`${I}--select-input`]:!0,[`${I}--select-input--${a}`]:a}),m=s({[`${I}--label`]:!0,[`${I}--label--disabled`]:e}),h=s({[`${I}--form__helper-text`]:!0,[`${I}--form__helper-text--disabled`]:e}),v=r?i($||($=M`<div class="${0}--form-requirement" id="validity-message"><slot name="validity-message">${0}</slot></div>`),I,b):i(z||(z=M`<div class="${0}"><slot name="helper-text">${0}</slot></div>`),h,t);return i(q||(q=M`<label class="${0}" for="input"><slot name="label-text">${0}</slot></label><div class="${0}--select-input__wrapper" ?data-invalid="${0}"><select id="input" class="${0}" ?disabled="${0}" aria-invalid="${0}" aria-describedby="${0}" @input="${0}">${0} ${0}</select>${0} ${0}</div>${0}`),m,n,I,r,x,e,String(Boolean(r)),l(r?"validity-message":void 0),f,!o||p?void 0:i(j||(j=M`<option disabled="disabled" hidden class="${0}--select-option" value="${0}" selected="selected">${0}</option>`),I,u,o),this._renderItems(this),d({class:`${I}--select__arrow`}),r?c({class:`${I}--select__invalid-icon`}):void 0,v)}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${I}-select-item-group,${I}-select-item`}},{kind:"get",static:!0,key:"selectorLeafItem",value:function(){return`${I}-select-item`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${I}-select-selected`}},{kind:"field",static:!0,key:"styles",value:()=>k}]}}),f(u(n)));const{prefix:B}=r;t([h(`${B}-select-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"value",value:()=>""}]}}),n);const{prefix:N}=r;t([h(`${N}-select-item-group`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""}]}}),n);
|
|
65
|
+
import{c as e,_ as t,h as i,s as r,L as n}from"./settings-898bd7b0.js";import{_ as o,a}from"./get-d229c408.js";import{i as l}from"./if-defined-dd1fb04b.js";import{c as s}from"./class-map-bd61e03f.js";import{s as d}from"./16-8e34a1fb.js";import{s as c}from"./16-967865d0.js";import{F as b}from"./shared-enums-c6fe8c39.js";import{i as p}from"./if-non-null-63ecd660.js";import{F as u}from"./form-80943f8c.js";import{V as f}from"./validity-d86ffa4f.js";import{c as x}from"./collection-helpers-bc0df692.js";import{I as m}from"./input-13d32d6b.js";import{c as h}from"./carbon-element-18175602.js";import{q as v,p as g}from"./decorators-56213c84.js";import"./spread-989d7408.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";import"./floating-menu-14b01da2.js";import"./host-listener-01e0a787.js";import"./objectSpread2-8dc8a158.js";import"./focus-1800056c.js";import"./if-non-empty-f23befc6.js";var k=e(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}to{opacity:.3;transform:scaleX(0);transform-origin:right}}.bx--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0 0 2rem;padding:0;vertical-align:baseline}.bx--fieldset *,.bx--fieldset :after,.bx--fieldset :before{box-sizing:inherit}.bx--fieldset--no-margin{margin-bottom:0}.bx--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572)}.bx--label{border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:inline-block;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin:0 0 .5rem;padding:0;vertical-align:baseline}.bx--label *,.bx--label :after,.bx--label :before{box-sizing:inherit}.bx--label .bx--tooltip__trigger{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.bx--label.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:.875rem;padding:0;pointer-events:none;position:relative;width:4.6875rem}.bx--label.bx--skeleton:active,.bx--label.bx--skeleton:focus,.bx--label.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--label.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--label.bx--skeleton:before{animation:none}}input[type=number]{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-01,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.bx--combo-box[data-invalid] .bx--text-input:not(:focus),.bx--list-box[data-invalid]:not(:focus),.bx--number[data-invalid] input[type=number]:not(:focus),.bx--select-input__wrapper[data-invalid] .bx--select-input:not(:focus),.bx--text-area__wrapper[data-invalid]>.bx--text-area--invalid:not(:focus),.bx--text-input__field-wrapper[data-invalid]>.bx--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper--warn~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box--warning~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--number__input-wrapper--warning~.bx--form-requirement,.bx--select--warning .bx--select-input__wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper--warning>.bx--text-input~.bx--form-requirement,.bx--text-input__field-wrapper--warning~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{display:block;font-weight:400;max-height:12.5rem;overflow:visible}.bx--date-picker-input__wrapper--invalid~.bx--form-requirement,.bx--date-picker-input__wrapper~.bx--form-requirement,.bx--list-box[data-invalid]~.bx--form-requirement,.bx--number[data-invalid] .bx--number__input-wrapper~.bx--form-requirement,.bx--select-input__wrapper[data-invalid]~.bx--form-requirement,.bx--text-area__wrapper[data-invalid]~.bx--form-requirement,.bx--text-input__field-wrapper[data-invalid]~.bx--form-requirement,.bx--time-picker--invalid~.bx--form-requirement,.bx--time-picker[data-invalid]~.bx--form-requirement,input[data-invalid]~.bx--form-requirement{color:var(--cds-text-error,#da1e28)}.bx--form--fluid .bx--text-input__field-wrapper--warning,.bx--form--fluid .bx--text-input__field-wrapper[data-invalid]{display:block}.bx--form--fluid .bx--fieldset{margin:0}.bx--form--fluid input[data-invalid]{outline:none}.bx--form--fluid .bx--form-requirement{margin:0;padding:.5rem 1rem .5rem 2.5rem}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.bx--form-requirement{border:0;box-sizing:border-box;display:none;font-family:inherit;font-size:100%;font-size:var(--cds-caption-01-font-size,.75rem);font-weight:var(--cds-caption-01-font-weight,400);letter-spacing:var(--cds-caption-01-letter-spacing,.32px);line-height:var(--cds-caption-01-line-height,1.33333);margin:.25rem 0 0;max-height:0;overflow:hidden;padding:0;vertical-align:baseline}.bx--form-requirement *,.bx--form-requirement :after,.bx--form-requirement :before{box-sizing:inherit}.bx--select--inline .bx--form__helper-text{margin-top:0}.bx--form__helper-text{color:var(--cds-text-02,#525252);font-size:var(--cds-helper-text-01-font-size,.75rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-top:.25rem;opacity:1;width:100%;z-index:0}.bx--form__helper-text--disabled,.bx--label--disabled,fieldset[disabled] .bx--form__helper-text,fieldset[disabled] .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select,:host(bx-select){align-items:flex-start;border:0;box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;font-size:100%;margin:0;padding:0;position:relative;vertical-align:baseline;width:100%}.bx--select *,.bx--select :after,.bx--select :before,:host(bx-select) *,:host(bx-select) :after,:host(bx-select) :before{box-sizing:inherit}.bx--select-input__wrapper{align-items:center;display:flex;position:relative;width:100%}.bx--select-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--cds-field-01,#f4f4f4);border:none;border-bottom:1px solid var(--cds-ui-04,#8d8d8d);border-radius:0;color:var(--cds-text-01,#161616);cursor:pointer;display:block;font-family:inherit;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);height:2.5rem;letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572);opacity:1;outline:2px solid transparent;outline-offset:-2px;padding:0 var(--cds-spacing-05,1rem) 0 var(--cds-spacing-09,3rem);transition:outline 70ms cubic-bezier(.2,0,.38,.9);width:100%}.bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select-input::-ms-expand{display:none}@-moz-document url-prefix(){.bx--select-input:-moz-focusring,.bx--select-input::-moz-focus-inner{background-image:none;color:transparent;text-shadow:0 0 0 #000}}.bx--select-input:focus{color:var(--cds-text-01,#161616);outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--select-input:focus{outline-style:dotted}}.bx--select-input:disabled,.bx--select-input:hover:disabled{background-color:var(--cds-disabled-01,#f4f4f4);border-bottom-color:var(--cds-disabled-01,#f4f4f4);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select-input--sm{height:2rem;max-height:2rem}.bx--select-input--lg,.bx--select-input--xl{height:3rem;max-height:3rem}.bx--select--disabled .bx--form__helper-text,.bx--select--disabled .bx--label,:host(bx-select[disabled]) .bx--form__helper-text,:host(bx-select[disabled]) .bx--label{color:var(--cds-disabled-02,#c6c6c6)}.bx--select--warning .bx--select-input,.bx--select-input__wrapper[data-invalid] .bx--select-input{padding-left:4.5rem}.bx--select-input:disabled~.bx--select__arrow{fill:var(--cds-disabled-02,#c6c6c6)}.bx--select--light .bx--select-input,:host(bx-select[color-scheme=light]) .bx--select-input{background-color:var(--cds-field-02,#fff)}.bx--select--light .bx--select-input:hover,:host(bx-select[color-scheme=light]) .bx--select-input:hover{background-color:var(--cds-hover-ui,#e5e5e5)}.bx--select--light .bx--select-input:disabled,.bx--select--light .bx--select-input:hover:disabled,:host(bx-select[color-scheme=light]) .bx--select-input:disabled{background-color:var(--cds-field-02,#fff);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select__arrow{fill:var(--cds-ui-05,#161616);height:100%;left:var(--cds-spacing-05,1rem);pointer-events:none;position:absolute;top:0}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.bx--select__arrow path{fill:ButtonText}}.bx--select__invalid-icon{left:var(--cds-spacing-08,2.5rem);position:absolute}.bx--select-input__wrapper[data-invalid] .bx--select-input~.bx--select__invalid-icon{fill:var(--cds-support-01,#da1e28)}.bx--select__invalid-icon--warning{fill:var(--cds-support-03,#f1c21b)}.bx--select__invalid-icon--warning path[fill]{fill:#000;opacity:1}.bx--select-option,optgroup.bx--select-optgroup{background-color:var(--cds-background-hover,#e5e5e5);color:var(--cds-text-01,#161616)}.bx--select-option:disabled,optgroup.bx--select-optgroup:disabled{color:var(--cds-text-disabled,#c6c6c6)}.bx--select--inline{align-items:center;display:flex;flex-direction:row}.bx--select--inline.bx--select--invalid .bx--form__helper-text,.bx--select--inline.bx--select--invalid .bx--label{align-self:flex-start;margin-top:.8125rem}.bx--select--inline .bx--form__helper-text{margin-bottom:0;margin-right:var(--cds-spacing-03,.5rem)}.bx--select--inline .bx--label{margin:0 0 0 .5rem;white-space:nowrap}.bx--select--inline .bx--select-input{background-color:transparent;border-bottom:none;color:var(--cds-text-01,#161616);padding-left:var(--cds-spacing-07,2rem);padding-right:.5rem;width:auto}.bx--select--inline .bx--select-input:focus,.bx--select--inline .bx--select-input:focus optgroup,.bx--select--inline .bx--select-input:focus option{background-color:var(--cds-background,#fff)}.bx--select--inline .bx--select-input[disabled],.bx--select--inline .bx--select-input[disabled]:hover{background-color:var(--cds-disabled-01,#f4f4f4)}.bx--select--inline .bx--select__arrow{left:.5rem}.bx--select--inline.bx--select--invalid .bx--select-input{padding-left:3.5rem}.bx--select--inline.bx--select--invalid .bx--select-input~.bx--select__invalid-icon{left:var(--cds-spacing-07,2rem)}.bx--select--inline .bx--select-input:disabled{color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed}.bx--select--inline .bx--select-input:disabled~*{cursor:not-allowed}.bx--select.bx--skeleton{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;height:2.5rem;padding:0;pointer-events:none;position:relative;width:100%}.bx--select.bx--skeleton:active,.bx--select.bx--skeleton:focus,.bx--select.bx--skeleton:hover{border:none;cursor:default;outline:none}.bx--select.bx--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--select.bx--skeleton:before{animation:none}}.bx--select.bx--skeleton .bx--select-input{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--select__arrow{fill:ButtonText}}:host(bx-select){outline:none}']);let _,y,w,z,$,q,j,M=e=>e;const{prefix:I}=r;t([h(`${I}-select`)],(function(e,t){class r extends t{constructor(...t){super(...t),e(this)}}return{F:r,d:[{kind:"field",key:"_observerMutation",value:()=>null},{kind:"field",key:"_placeholderItemValue",value:()=>`__${I}-select-placeholder_${Math.random().toString(36).slice(2)}`},{kind:"field",decorators:[v("select")],key:"_selectNode",value:void 0},{kind:"method",key:"_handleInput",value:function({target:e}){const{value:t}=e;this.value=t;const{eventSelect:i}=this.constructor;this.dispatchEvent(new CustomEvent(i,{bubbles:!0,composed:!0,detail:{value:t}}))}},{kind:"field",key:"_handleMutation",value(){return()=>{this.requestUpdate()}}},{kind:"method",key:"_renderItems",value:function(e){const{selectorItem:t,selectorLeafItem:r}=this.constructor;return i(_||(_=M`${0}`),x(e.childNodes,(e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(t))).map((e=>{const t=e.hasAttribute("disabled"),n=e.getAttribute("label"),o=e.hasAttribute("selected"),a=e.getAttribute("value"),{textContent:l}=e;return e.matches(r)?i(y||(y=M`<option class="${0}--select-option" ?disabled="${0}" label="${0}" ?selected="${0}" value="${0}">${0}</option>`),I,t,p(null!=n?n:l),o,p(a),l):i(w||(w=M`<optgroup class="${0}--select-optgroup" ?disabled="${0}" label="${0}">${0}</optgroup>`),I,t,p(n),this._renderItems(e))})))}},{kind:"method",key:"_handleFormdata",value:function(e){const{formData:t}=e,{disabled:i,name:r,value:n}=this;i||t.append(r,n)}},{kind:"get",key:"length",value:function(){return this._selectNode.length}},{kind:"get",key:"options",value:function(){return this._selectNode.options}},{kind:"get",key:"type",value:function(){return this._selectNode.type}},{kind:"field",decorators:[g({type:Boolean})],key:"autofocus",value:()=>!1},{kind:"field",decorators:[g({attribute:"color-scheme",reflect:!0})],key:"colorScheme",value:()=>b.REGULAR},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({attribute:"helper-text"})],key:"helperText",value:()=>""},{kind:"field",decorators:[g()],key:"id",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"invalid",value:()=>!1},{kind:"field",decorators:[g({attribute:"label-text"})],key:"labelText",value:()=>""},{kind:"get",decorators:[g({type:Boolean})],key:"multiple",value:function(){return!1}},{kind:"field",decorators:[g()],key:"name",value:()=>""},{kind:"field",decorators:[g()],key:"pattern",value:()=>""},{kind:"field",decorators:[g({reflect:!0})],key:"placeholder",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"readonly",value:()=>!1},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"required",value:()=>!1},{kind:"field",decorators:[g({attribute:"required-validity-message"})],key:"requiredValidityMessage",value:()=>"Please fill out this field."},{kind:"get",decorators:[g({type:Number})],key:"selectedIndex",value:function(){return this._selectNode.selectedIndex}},{kind:"set",key:"selectedIndex",value:function(e){this._selectNode.selectedIndex=e,this.value=this._selectNode.value}},{kind:"field",decorators:[g({reflect:!0})],key:"size",value:()=>m.REGULAR},{kind:"field",decorators:[g({attribute:"validity-message"})],key:"validityMessage",value:()=>""},{kind:"field",decorators:[g()],key:"value",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){o(a(r.prototype),"connectedCallback",this).call(this),this._observerMutation=new MutationObserver(this._handleMutation),this._observerMutation.observe(this,{attributes:!0,childList:!0,subtree:!0})}},{kind:"method",key:"disconnectedCallback",value:function(){this._observerMutation&&(this._observerMutation.disconnect(),this._observerMutation=null),o(a(r.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("value")){const{value:e,_placeholderItemValue:t}=this;this._selectNode.value=e||t}}},{kind:"method",key:"render",value:function(){const{disabled:e,helperText:t,invalid:r,labelText:n,placeholder:o,size:a,validityMessage:b,value:p,_placeholderItemValue:u,_handleInput:f}=this,x=s({[`${I}--select-input`]:!0,[`${I}--select-input--${a}`]:a}),m=s({[`${I}--label`]:!0,[`${I}--label--disabled`]:e}),h=s({[`${I}--form__helper-text`]:!0,[`${I}--form__helper-text--disabled`]:e}),v=r?i($||($=M`<div class="${0}--form-requirement" id="validity-message"><slot name="validity-message">${0}</slot></div>`),I,b):i(z||(z=M`<div class="${0}"><slot name="helper-text">${0}</slot></div>`),h,t);return i(q||(q=M`<label class="${0}" for="input"><slot name="label-text">${0}</slot></label><div class="${0}--select-input__wrapper" ?data-invalid="${0}"><select id="input" class="${0}" ?disabled="${0}" aria-invalid="${0}" aria-describedby="${0}" @input="${0}">${0} ${0}</select>${0} ${0}</div>${0}`),m,n,I,r,x,e,String(Boolean(r)),l(r?"validity-message":void 0),f,!o||p?void 0:i(j||(j=M`<option disabled="disabled" hidden class="${0}--select-option" value="${0}" selected="selected">${0}</option>`),I,u,o),this._renderItems(this),d({class:`${I}--select__arrow`}),r?c({class:`${I}--select__invalid-icon`}):void 0,v)}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${I}-select-item-group,${I}-select-item`}},{kind:"get",static:!0,key:"selectorLeafItem",value:function(){return`${I}-select-item`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${I}-select-selected`}},{kind:"field",static:!0,key:"styles",value:()=>k}]}}),f(u(n)));const{prefix:B}=r;t([h(`${B}-select-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""},{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"value",value:()=>""}]}}),n);const{prefix:N}=r;t([h(`${N}-select-item-group`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[g({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[g({reflect:!0})],key:"label",value:()=>""}]}}),n);
|
|
@@ -62,4 +62,4 @@
|
|
|
62
62
|
* https://www.npmjs.com/package/lodash-es
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
import{c as t,_ as e,h as r,s,L as l}from"./settings-898bd7b0.js";import{_ as d,a as i}from"./get-d229c408.js";import{c as o}from"./class-map-bd61e03f.js";import{f as u}from"./collection-helpers-4e32fe16.js";import{F as c}from"./focus-1800056c.js";import{c as n}from"./carbon-element-18175602.js";import{p as a,q as b}from"./decorators-56213c84.js";import{i as h}from"./if-defined-dd1fb04b.js";import{s as x}from"./16-28bddc31.js";import{H as f,a as w}from"./host-listener-01e0a787.js";import{N as p,R as g}from"./radio-group-manager-e095bcbf.js";import"./spread-989d7408.js";import"./objectSpread2-8dc8a158.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";var v=t(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.bx--structured-list--selection .bx--structured-list-td,.bx--structured-list--selection .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection ::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list--selection .bx--structured-list-td:first-child,.bx--structured-list--selection .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list-input{display:none}.bx--structured-list{background-color:transparent;border:0;border-collapse:collapse;border-spacing:0;box-sizing:border-box;display:table;font-family:inherit;font-size:100%;margin:0 0 5rem;overflow-x:auto;padding:0;vertical-align:baseline;width:100%}.bx--structured-list *,.bx--structured-list :after,.bx--structured-list :before{box-sizing:inherit}.bx--structured-list.bx--structured-list--condensed .bx--structured-list-td,.bx--structured-list.bx--structured-list--condensed .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-cell){padding:.5rem}.bx--structured-list .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-cell){padding-left:1rem}.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-th,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-cell){padding-left:0;padding-right:1rem}.bx--structured-list-row,:host(bx-structured-list-body) ::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-ui-03,#e0e0e0);display:table-row;transition:background-color .11s cubic-bezier(.2,0,.38,.9)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-header-row){background-color:var(--cds-hover-row,#e5e5e5);border-bottom:1px solid var(--cds-hover-row,#e5e5e5);cursor:pointer}.bx--structured-list-row.bx--structured-list-row--selected,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row){background-color:var(--cds-selected-ui,#e0e0e0)}.bx--structured-list-row.bx--structured-list-row--header-row,:host(bx-structured-list-body) .bx--structured-list-row--header-row::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-selected-ui,#e0e0e0);cursor:inherit}.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline-style:dotted}}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,.bx--structured-list-row.bx--structured-list-row--selected>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-row) .bx--structured-list-row.bx--structured-list-row--selected>::slotted(bx-structured-list-cell){color:var(--cds-text-01,#161616)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell){border-top:1px solid var(--cds-ui-01,#f4f4f4)}.bx--structured-list ::slotted(bx-structured-list-head),.bx--structured-list-thead{display:table-header-group;vertical-align:middle}.bx--structured-list-th,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton){border:0;box-sizing:border-box;color:var(--cds-text-01,#161616);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);font-weight:600;height:2.5rem;letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572);margin:0;padding:1rem .5rem .5rem;text-align:left;text-transform:none;vertical-align:baseline;vertical-align:top}.bx--structured-list-th *,.bx--structured-list-th :after,.bx--structured-list-th :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-body),.bx--structured-list-tbody{display:table-row-group;vertical-align:middle}.bx--structured-list-td,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell){border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-body-long-01-font-size,.875rem);font-weight:var(--cds-body-long-01-font-weight,400);letter-spacing:var(--cds-body-long-01-letter-spacing,.16px);line-height:var(--cds-body-long-01-line-height,1.42857);margin:0;max-width:36rem;padding:1rem .5rem 1.5rem;position:relative;transition:color .11s cubic-bezier(.2,0,.38,.9);vertical-align:baseline}.bx--structured-list-td *,.bx--structured-list-td :after,.bx--structured-list-td :before,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) *,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :after,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-header-cell[nowrap]),.bx--structured-list-content--nowrap,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell[nowrap]){white-space:nowrap}.bx--structured-list-svg{fill:transparent;display:inline-block;transition:all .11s cubic-bezier(.2,0,.38,.9);vertical-align:middle}.bx--structured-list-input:checked+.bx--structured-list-row .bx--structured-list-svg,.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-body) .bx--structured-list-input:checked+::slotted(bx-structured-list-row) .bx--structured-list-svg,:host(bx-structured-list-head) .bx--structured-list-input:checked+::slotted(bx-structured-list-header-row) .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:var(--cds-icon-01,#161616)}.bx--structured-list.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:8%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+2),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell-skeleton){width:30%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+3),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell-skeleton){width:15%}.bx--structured-list.bx--skeleton span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}.bx--structured-list.bx--skeleton span:active,.bx--structured-list.bx--skeleton span:focus,.bx--structured-list.bx--skeleton span:hover{border:none;cursor:default;outline:none}.bx--structured-list.bx--skeleton span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--structured-list.bx--skeleton span:before{animation:none}}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:5%}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell) span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton) span{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:ButtonText}}:host(bx-structured-list-row:hover) .bx--structured-list-svg{fill:#a8a8a8}.bx--structured-list-input:checked+.bx--structured-list-cell .bx--structured-list-svg{fill:var(--cds-text-01,#161616)}:host(bx-structured-list-header-cell-skeleton) span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}:host(bx-structured-list-header-cell-skeleton) span:active,:host(bx-structured-list-header-cell-skeleton) span:focus,:host(bx-structured-list-header-cell-skeleton) span:hover{border:none;cursor:default;outline:none}:host(bx-structured-list-header-cell-skeleton) span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){:host(bx-structured-list-header-cell-skeleton) span:before{animation:none}}']);let m,k=t=>t;const{prefix:y}=s;e([n(`${y}-structured-list`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){var t;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(t=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==t?t:["",0])[1])<=537})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","table"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"shouldUpdate",value:function(t){return t.has("selectionName")&&u(this.querySelectorAll(this.constructor.selectorRowsWithHeader),(t=>{t.selectionName=this.selectionName})),!0}},{kind:"method",key:"render",value:function(){const{selectionName:t}=this,e=o({[`${y}--structured-list`]:!0,[`${y}--structured-list--selection`]:Boolean(t)});return r(m||(m=k`<section id="section" class="${0}"><slot></slot></section>`),e)}},{kind:"field",static:!0,key:"selectorRowsWithHeader",value:()=>`${y}-structured-list-row,${y}-structured-list-header-row`},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),c(l));let _,z=t=>t;const{prefix:A}=s;e([n(`${A}-structured-list-body`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(_||(_=z`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let $,N=t=>t;const{prefix:C}=s;e([n(`${C}-structured-list-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","cell"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r($||($=N`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let B,j=t=>t;const{prefix:D}=s;e([n(`${D}-structured-list-head`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(B||(B=j`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let F,R=t=>t;const{prefix:q}=s;e([n(`${q}-structured-list-header-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","columnheader"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(F||(F=R`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let I,X=t=>t;const{prefix:S}=s;e([n(`${S}-structured-list-header-cell-skeleton`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"method",key:"render",value:function(){return r(I||(I=X`<span></span>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let M,W,P=t=>t;const{prefix:H}=s;e([n(`${H}-structured-list-header-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return this.selectionName?r(M||(M=P`<slot></slot><div class="${0}--structured-list-th"></div>`),H):r(W||(W=P`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let T,V,K=t=>t;const{prefix:U}=s,L={ArrowUp:p.BACKWARD,Up:p.BACKWARD,ArrowDown:p.FORWARD,Down:p.FORWARD};class O{constructor(t){this._row=t}get checked(){return this._row.selected}set checked(t){this._row.selected=t,this._row.tabIndex=t?0:-1}get tabIndex(){return this._row.tabIndex}set tabIndex(t){this._row.tabIndex=t}get name(){return this._row.selectionName}compareDocumentPosition(t){return this._row.compareDocumentPosition(t._row)}focus(){this._row.focus()}}e([n(`${U}-structured-list-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",key:"_manager",value:()=>null},{kind:"field",key:"_radioButtonDelegate",value(){return new O(this)}},{kind:"field",decorators:[b("#input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[w("click")],key:"_handleClick",value(){return()=>{const{_inputNode:t}=this;t&&(this.selected=!0,this._manager&&this._manager.select(this._radioButtonDelegate))}}},{kind:"field",decorators:[w("keydown")],key:"_handleKeydown",value(){return t=>{const{_inputNode:e}=this,r=this._manager;if(e&&r){const e=L[t.key];e&&r.select(r.navigate(this._radioButtonDelegate,e))," "!==t.key&&"Enter"!==t.key||r.select(this._radioButtonDelegate)}}}},{kind:"field",decorators:[a({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-value"})],key:"selectionValue",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-icon-title"})],key:"selectionIconTitle",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){if(this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this),!this._manager){this._manager=g.get(this.getRootNode({composed:!0}));const{selectionName:e}=this;var t;if(e)null===(t=this._manager)||void 0===t||t.add(this._radioButtonDelegate)}}},{kind:"method",key:"disconnectedCallback",value:function(){this._manager&&this._manager.delete(this._radioButtonDelegate),d(i(s.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(t){const{_manager:e,selectionName:r}=this;t.has("selectionName")&&(e&&(e.delete(this._radioButtonDelegate,t.get("selectionName")),r&&e.add(this._radioButtonDelegate)),this.setAttribute("tabindex",r&&e&&e.shouldBeFocusable(this._radioButtonDelegate)?"0":"-1"))}},{kind:"method",key:"render",value:function(){const{selected:t,selectionName:e,selectionValue:s,selectionIconTitle:l}=this;return e?r(T||(T=K`<slot></slot><input id="input" type="radio" class="${0}--structured-list-input" .checked="${0}" name="${0}" value="${0}"><div class="${0}--structured-list-td ${0}--structured-list-cell">${0}</div>`),U,t,e,h(s),U,U,x({class:`${U}--structured-list-svg`,title:l})):r(V||(V=K`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),f(l));
|
|
65
|
+
import{c as t,_ as e,h as r,s,L as l}from"./settings-898bd7b0.js";import{_ as d,a as i}from"./get-d229c408.js";import{c as o}from"./class-map-bd61e03f.js";import{f as u}from"./collection-helpers-bc0df692.js";import{F as c}from"./focus-1800056c.js";import{c as n}from"./carbon-element-18175602.js";import{p as a,q as b}from"./decorators-56213c84.js";import{i as h}from"./if-defined-dd1fb04b.js";import{s as x}from"./16-28bddc31.js";import{H as f,a as w}from"./host-listener-01e0a787.js";import{N as p,R as g}from"./radio-group-manager-e095bcbf.js";import"./spread-989d7408.js";import"./objectSpread2-8dc8a158.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";var v=t(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.bx--structured-list--selection .bx--structured-list-td,.bx--structured-list--selection .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection ::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list--selection .bx--structured-list-td:first-child,.bx--structured-list--selection .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list-input{display:none}.bx--structured-list{background-color:transparent;border:0;border-collapse:collapse;border-spacing:0;box-sizing:border-box;display:table;font-family:inherit;font-size:100%;margin:0 0 5rem;overflow-x:auto;padding:0;vertical-align:baseline;width:100%}.bx--structured-list *,.bx--structured-list :after,.bx--structured-list :before{box-sizing:inherit}.bx--structured-list.bx--structured-list--condensed .bx--structured-list-td,.bx--structured-list.bx--structured-list--condensed .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-cell){padding:.5rem}.bx--structured-list .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-cell){padding-left:1rem}.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-th,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-cell){padding-left:0;padding-right:1rem}.bx--structured-list-row,:host(bx-structured-list-body) ::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-ui-03,#e0e0e0);display:table-row;transition:background-color .11s cubic-bezier(.2,0,.38,.9)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-header-row){background-color:var(--cds-hover-row,#e5e5e5);border-bottom:1px solid var(--cds-hover-row,#e5e5e5);cursor:pointer}.bx--structured-list-row.bx--structured-list-row--selected,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row){background-color:var(--cds-selected-ui,#e0e0e0)}.bx--structured-list-row.bx--structured-list-row--header-row,:host(bx-structured-list-body) .bx--structured-list-row--header-row::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-selected-ui,#e0e0e0);cursor:inherit}.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline-style:dotted}}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,.bx--structured-list-row.bx--structured-list-row--selected>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-row) .bx--structured-list-row.bx--structured-list-row--selected>::slotted(bx-structured-list-cell){color:var(--cds-text-01,#161616)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell){border-top:1px solid var(--cds-ui-01,#f4f4f4)}.bx--structured-list ::slotted(bx-structured-list-head),.bx--structured-list-thead{display:table-header-group;vertical-align:middle}.bx--structured-list-th,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton){border:0;box-sizing:border-box;color:var(--cds-text-01,#161616);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);font-weight:600;height:2.5rem;letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572);margin:0;padding:1rem .5rem .5rem;text-align:left;text-transform:none;vertical-align:baseline;vertical-align:top}.bx--structured-list-th *,.bx--structured-list-th :after,.bx--structured-list-th :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-body),.bx--structured-list-tbody{display:table-row-group;vertical-align:middle}.bx--structured-list-td,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell){border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-body-long-01-font-size,.875rem);font-weight:var(--cds-body-long-01-font-weight,400);letter-spacing:var(--cds-body-long-01-letter-spacing,.16px);line-height:var(--cds-body-long-01-line-height,1.42857);margin:0;max-width:36rem;padding:1rem .5rem 1.5rem;position:relative;transition:color .11s cubic-bezier(.2,0,.38,.9);vertical-align:baseline}.bx--structured-list-td *,.bx--structured-list-td :after,.bx--structured-list-td :before,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) *,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :after,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-header-cell[nowrap]),.bx--structured-list-content--nowrap,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell[nowrap]){white-space:nowrap}.bx--structured-list-svg{fill:transparent;display:inline-block;transition:all .11s cubic-bezier(.2,0,.38,.9);vertical-align:middle}.bx--structured-list-input:checked+.bx--structured-list-row .bx--structured-list-svg,.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-body) .bx--structured-list-input:checked+::slotted(bx-structured-list-row) .bx--structured-list-svg,:host(bx-structured-list-head) .bx--structured-list-input:checked+::slotted(bx-structured-list-header-row) .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:var(--cds-icon-01,#161616)}.bx--structured-list.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:8%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+2),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell-skeleton){width:30%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+3),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell-skeleton){width:15%}.bx--structured-list.bx--skeleton span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}.bx--structured-list.bx--skeleton span:active,.bx--structured-list.bx--skeleton span:focus,.bx--structured-list.bx--skeleton span:hover{border:none;cursor:default;outline:none}.bx--structured-list.bx--skeleton span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--structured-list.bx--skeleton span:before{animation:none}}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:5%}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell) span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton) span{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:ButtonText}}:host(bx-structured-list-row:hover) .bx--structured-list-svg{fill:#a8a8a8}.bx--structured-list-input:checked+.bx--structured-list-cell .bx--structured-list-svg{fill:var(--cds-text-01,#161616)}:host(bx-structured-list-header-cell-skeleton) span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}:host(bx-structured-list-header-cell-skeleton) span:active,:host(bx-structured-list-header-cell-skeleton) span:focus,:host(bx-structured-list-header-cell-skeleton) span:hover{border:none;cursor:default;outline:none}:host(bx-structured-list-header-cell-skeleton) span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;left:0;position:absolute;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){:host(bx-structured-list-header-cell-skeleton) span:before{animation:none}}']);let m,k=t=>t;const{prefix:y}=s;e([n(`${y}-structured-list`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){var t;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(t=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==t?t:["",0])[1])<=537})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","table"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"shouldUpdate",value:function(t){return t.has("selectionName")&&u(this.querySelectorAll(this.constructor.selectorRowsWithHeader),(t=>{t.selectionName=this.selectionName})),!0}},{kind:"method",key:"render",value:function(){const{selectionName:t}=this,e=o({[`${y}--structured-list`]:!0,[`${y}--structured-list--selection`]:Boolean(t)});return r(m||(m=k`<section id="section" class="${0}"><slot></slot></section>`),e)}},{kind:"field",static:!0,key:"selectorRowsWithHeader",value:()=>`${y}-structured-list-row,${y}-structured-list-header-row`},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),c(l));let _,z=t=>t;const{prefix:A}=s;e([n(`${A}-structured-list-body`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(_||(_=z`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let $,N=t=>t;const{prefix:C}=s;e([n(`${C}-structured-list-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","cell"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r($||($=N`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let B,j=t=>t;const{prefix:D}=s;e([n(`${D}-structured-list-head`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(B||(B=j`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let F,R=t=>t;const{prefix:q}=s;e([n(`${q}-structured-list-header-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","columnheader"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(F||(F=R`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let I,X=t=>t;const{prefix:S}=s;e([n(`${S}-structured-list-header-cell-skeleton`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"method",key:"render",value:function(){return r(I||(I=X`<span></span>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let M,W,P=t=>t;const{prefix:H}=s;e([n(`${H}-structured-list-header-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return this.selectionName?r(M||(M=P`<slot></slot><div class="${0}--structured-list-th"></div>`),H):r(W||(W=P`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let T,V,K=t=>t;const{prefix:U}=s,L={ArrowUp:p.BACKWARD,Up:p.BACKWARD,ArrowDown:p.FORWARD,Down:p.FORWARD};class O{constructor(t){this._row=t}get checked(){return this._row.selected}set checked(t){this._row.selected=t,this._row.tabIndex=t?0:-1}get tabIndex(){return this._row.tabIndex}set tabIndex(t){this._row.tabIndex=t}get name(){return this._row.selectionName}compareDocumentPosition(t){return this._row.compareDocumentPosition(t._row)}focus(){this._row.focus()}}e([n(`${U}-structured-list-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",key:"_manager",value:()=>null},{kind:"field",key:"_radioButtonDelegate",value(){return new O(this)}},{kind:"field",decorators:[b("#input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[w("click")],key:"_handleClick",value(){return()=>{const{_inputNode:t}=this;t&&(this.selected=!0,this._manager&&this._manager.select(this._radioButtonDelegate))}}},{kind:"field",decorators:[w("keydown")],key:"_handleKeydown",value(){return t=>{const{_inputNode:e}=this,r=this._manager;if(e&&r){const e=L[t.key];e&&r.select(r.navigate(this._radioButtonDelegate,e))," "!==t.key&&"Enter"!==t.key||r.select(this._radioButtonDelegate)}}}},{kind:"field",decorators:[a({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-value"})],key:"selectionValue",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-icon-title"})],key:"selectionIconTitle",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){if(this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this),!this._manager){this._manager=g.get(this.getRootNode({composed:!0}));const{selectionName:e}=this;var t;if(e)null===(t=this._manager)||void 0===t||t.add(this._radioButtonDelegate)}}},{kind:"method",key:"disconnectedCallback",value:function(){this._manager&&this._manager.delete(this._radioButtonDelegate),d(i(s.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(t){const{_manager:e,selectionName:r}=this;t.has("selectionName")&&(e&&(e.delete(this._radioButtonDelegate,t.get("selectionName")),r&&e.add(this._radioButtonDelegate)),this.setAttribute("tabindex",r&&e&&e.shouldBeFocusable(this._radioButtonDelegate)?"0":"-1"))}},{kind:"method",key:"render",value:function(){const{selected:t,selectionName:e,selectionValue:s,selectionIconTitle:l}=this;return e?r(T||(T=K`<slot></slot><input id="input" type="radio" class="${0}--structured-list-input" .checked="${0}" name="${0}" value="${0}"><div class="${0}--structured-list-td ${0}--structured-list-cell">${0}</div>`),U,t,e,h(s),U,U,x({class:`${U}--structured-list-svg`,title:l})):r(V||(V=K`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),f(l));
|
|
@@ -62,4 +62,4 @@
|
|
|
62
62
|
* https://www.npmjs.com/package/lodash-es
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
import{c as t,_ as e,h as r,s,L as l}from"./settings-898bd7b0.js";import{_ as d,a as i}from"./get-d229c408.js";import{c as o}from"./class-map-bd61e03f.js";import{f as u}from"./collection-helpers-4e32fe16.js";import{F as c}from"./focus-1800056c.js";import{c as n}from"./carbon-element-18175602.js";import{p as a,q as b}from"./decorators-56213c84.js";import{i as h}from"./if-defined-dd1fb04b.js";import{s as x}from"./16-0941dd83.js";import{H as f,a as w}from"./host-listener-01e0a787.js";import{N as p,R as g}from"./radio-group-manager-e095bcbf.js";import"./spread-989d7408.js";import"./objectSpread2-8dc8a158.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";var v=t(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}to{opacity:.3;transform:scaleX(0);transform-origin:right}}.bx--structured-list--selection .bx--structured-list-td,.bx--structured-list--selection .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection ::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list--selection .bx--structured-list-td:first-child,.bx--structured-list--selection .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list-input{display:none}.bx--structured-list{background-color:transparent;border:0;border-collapse:collapse;border-spacing:0;box-sizing:border-box;display:table;font-family:inherit;font-size:100%;margin:0 0 5rem;overflow-x:auto;padding:0;vertical-align:baseline;width:100%}.bx--structured-list *,.bx--structured-list :after,.bx--structured-list :before{box-sizing:inherit}.bx--structured-list.bx--structured-list--condensed .bx--structured-list-td,.bx--structured-list.bx--structured-list--condensed .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-cell){padding:.5rem}.bx--structured-list .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-cell){padding-right:1rem}.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-th,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:0}.bx--structured-list-row,:host(bx-structured-list-body) ::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-ui-03,#e0e0e0);display:table-row;transition:background-color .11s cubic-bezier(.2,0,.38,.9)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-header-row){background-color:var(--cds-hover-row,#e5e5e5);border-bottom:1px solid var(--cds-hover-row,#e5e5e5);cursor:pointer}.bx--structured-list-row.bx--structured-list-row--selected,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row){background-color:var(--cds-selected-ui,#e0e0e0)}.bx--structured-list-row.bx--structured-list-row--header-row,:host(bx-structured-list-body) .bx--structured-list-row--header-row::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-selected-ui,#e0e0e0);cursor:inherit}.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline-style:dotted}}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,.bx--structured-list-row.bx--structured-list-row--selected>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-row) .bx--structured-list-row.bx--structured-list-row--selected>::slotted(bx-structured-list-cell){color:var(--cds-text-01,#161616)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell){border-top:1px solid var(--cds-ui-01,#f4f4f4)}.bx--structured-list ::slotted(bx-structured-list-head),.bx--structured-list-thead{display:table-header-group;vertical-align:middle}.bx--structured-list-th,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton){border:0;box-sizing:border-box;color:var(--cds-text-01,#161616);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);font-weight:600;height:2.5rem;letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572);margin:0;padding:1rem .5rem .5rem;text-align:right;text-transform:none;vertical-align:baseline;vertical-align:top}.bx--structured-list-th *,.bx--structured-list-th :after,.bx--structured-list-th :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-body),.bx--structured-list-tbody{display:table-row-group;vertical-align:middle}.bx--structured-list-td,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell){border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-body-long-01-font-size,.875rem);font-weight:var(--cds-body-long-01-font-weight,400);letter-spacing:var(--cds-body-long-01-letter-spacing,.16px);line-height:var(--cds-body-long-01-line-height,1.42857);margin:0;max-width:36rem;padding:1rem .5rem 1.5rem;position:relative;transition:color .11s cubic-bezier(.2,0,.38,.9);vertical-align:baseline}.bx--structured-list-td *,.bx--structured-list-td :after,.bx--structured-list-td :before,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) *,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :after,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-header-cell[nowrap]),.bx--structured-list-content--nowrap,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell[nowrap]){white-space:nowrap}.bx--structured-list-svg{fill:transparent;display:inline-block;transition:all .11s cubic-bezier(.2,0,.38,.9);vertical-align:middle}.bx--structured-list-input:checked+.bx--structured-list-row .bx--structured-list-svg,.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-body) .bx--structured-list-input:checked+::slotted(bx-structured-list-row) .bx--structured-list-svg,:host(bx-structured-list-head) .bx--structured-list-input:checked+::slotted(bx-structured-list-header-row) .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:var(--cds-icon-01,#161616)}.bx--structured-list.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:8%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+2),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell-skeleton){width:30%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+3),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell-skeleton){width:15%}.bx--structured-list.bx--skeleton span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}.bx--structured-list.bx--skeleton span:active,.bx--structured-list.bx--skeleton span:focus,.bx--structured-list.bx--skeleton span:hover{border:none;cursor:default;outline:none}.bx--structured-list.bx--skeleton span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--structured-list.bx--skeleton span:before{animation:none}}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:5%}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell) span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton) span{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:ButtonText}}:host(bx-structured-list-row:hover) .bx--structured-list-svg{fill:#a8a8a8}.bx--structured-list-input:checked+.bx--structured-list-cell .bx--structured-list-svg{fill:var(--cds-text-01,#161616)}:host(bx-structured-list-header-cell-skeleton) span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}:host(bx-structured-list-header-cell-skeleton) span:active,:host(bx-structured-list-header-cell-skeleton) span:focus,:host(bx-structured-list-header-cell-skeleton) span:hover{border:none;cursor:default;outline:none}:host(bx-structured-list-header-cell-skeleton) span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){:host(bx-structured-list-header-cell-skeleton) span:before{animation:none}}']);let m,k=t=>t;const{prefix:y}=s;e([n(`${y}-structured-list`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){var t;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(t=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==t?t:["",0])[1])<=537})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","table"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"shouldUpdate",value:function(t){return t.has("selectionName")&&u(this.querySelectorAll(this.constructor.selectorRowsWithHeader),(t=>{t.selectionName=this.selectionName})),!0}},{kind:"method",key:"render",value:function(){const{selectionName:t}=this,e=o({[`${y}--structured-list`]:!0,[`${y}--structured-list--selection`]:Boolean(t)});return r(m||(m=k`<section id="section" class="${0}"><slot></slot></section>`),e)}},{kind:"field",static:!0,key:"selectorRowsWithHeader",value:()=>`${y}-structured-list-row,${y}-structured-list-header-row`},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),c(l));let _,z=t=>t;const{prefix:A}=s;e([n(`${A}-structured-list-body`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(_||(_=z`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let $,N=t=>t;const{prefix:C}=s;e([n(`${C}-structured-list-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","cell"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r($||($=N`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let B,j=t=>t;const{prefix:D}=s;e([n(`${D}-structured-list-head`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(B||(B=j`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let F,R=t=>t;const{prefix:q}=s;e([n(`${q}-structured-list-header-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","columnheader"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(F||(F=R`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let I,X=t=>t;const{prefix:S}=s;e([n(`${S}-structured-list-header-cell-skeleton`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"method",key:"render",value:function(){return r(I||(I=X`<span></span>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let M,W,P=t=>t;const{prefix:H}=s;e([n(`${H}-structured-list-header-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return this.selectionName?r(M||(M=P`<slot></slot><div class="${0}--structured-list-th"></div>`),H):r(W||(W=P`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let T,V,K=t=>t;const{prefix:U}=s,L={ArrowUp:p.BACKWARD,Up:p.BACKWARD,ArrowDown:p.FORWARD,Down:p.FORWARD};class O{constructor(t){this._row=t}get checked(){return this._row.selected}set checked(t){this._row.selected=t,this._row.tabIndex=t?0:-1}get tabIndex(){return this._row.tabIndex}set tabIndex(t){this._row.tabIndex=t}get name(){return this._row.selectionName}compareDocumentPosition(t){return this._row.compareDocumentPosition(t._row)}focus(){this._row.focus()}}e([n(`${U}-structured-list-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",key:"_manager",value:()=>null},{kind:"field",key:"_radioButtonDelegate",value(){return new O(this)}},{kind:"field",decorators:[b("#input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[w("click")],key:"_handleClick",value(){return()=>{const{_inputNode:t}=this;t&&(this.selected=!0,this._manager&&this._manager.select(this._radioButtonDelegate))}}},{kind:"field",decorators:[w("keydown")],key:"_handleKeydown",value(){return t=>{const{_inputNode:e}=this,r=this._manager;if(e&&r){const e=L[t.key];e&&r.select(r.navigate(this._radioButtonDelegate,e))," "!==t.key&&"Enter"!==t.key||r.select(this._radioButtonDelegate)}}}},{kind:"field",decorators:[a({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-value"})],key:"selectionValue",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-icon-title"})],key:"selectionIconTitle",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){if(this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this),!this._manager){this._manager=g.get(this.getRootNode({composed:!0}));const{selectionName:e}=this;var t;if(e)null===(t=this._manager)||void 0===t||t.add(this._radioButtonDelegate)}}},{kind:"method",key:"disconnectedCallback",value:function(){this._manager&&this._manager.delete(this._radioButtonDelegate),d(i(s.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(t){const{_manager:e,selectionName:r}=this;t.has("selectionName")&&(e&&(e.delete(this._radioButtonDelegate,t.get("selectionName")),r&&e.add(this._radioButtonDelegate)),this.setAttribute("tabindex",r&&e&&e.shouldBeFocusable(this._radioButtonDelegate)?"0":"-1"))}},{kind:"method",key:"render",value:function(){const{selected:t,selectionName:e,selectionValue:s,selectionIconTitle:l}=this;return e?r(T||(T=K`<slot></slot><input id="input" type="radio" class="${0}--structured-list-input" .checked="${0}" name="${0}" value="${0}"><div class="${0}--structured-list-td ${0}--structured-list-cell">${0}</div>`),U,t,e,h(s),U,U,x({class:`${U}--structured-list-svg`,title:l})):r(V||(V=K`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),f(l));
|
|
65
|
+
import{c as t,_ as e,h as r,s,L as l}from"./settings-898bd7b0.js";import{_ as d,a as i}from"./get-d229c408.js";import{c as o}from"./class-map-bd61e03f.js";import{f as u}from"./collection-helpers-bc0df692.js";import{F as c}from"./focus-1800056c.js";import{c as n}from"./carbon-element-18175602.js";import{p as a,q as b}from"./decorators-56213c84.js";import{i as h}from"./if-defined-dd1fb04b.js";import{s as x}from"./16-0941dd83.js";import{H as f,a as w}from"./host-listener-01e0a787.js";import{N as p,R as g}from"./radio-group-manager-e095bcbf.js";import"./spread-989d7408.js";import"./objectSpread2-8dc8a158.js";import"./defineProperty-93eef18e.js";import"./on-b85e61ad.js";var v=t(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:""}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,Menlo,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0);line-height:var(--cds-productive-heading-06-line-height,1.199)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0);line-height:var(--cds-productive-heading-05-line-height,1.25)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0);line-height:var(--cds-productive-heading-04-line-height,1.28572)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0);line-height:var(--cds-productive-heading-02-line-height,1.375)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);letter-spacing:var(--cds-body-long-02-letter-spacing,0);line-height:var(--cds-body-long-02-line-height,1.5)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}to{opacity:.3;transform:scaleX(0);transform-origin:right}}.bx--structured-list--selection .bx--structured-list-td,.bx--structured-list--selection .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection ::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list--selection .bx--structured-list-td:first-child,.bx--structured-list--selection .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list--selection :first-child::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:1rem}.bx--structured-list-input{display:none}.bx--structured-list{background-color:transparent;border:0;border-collapse:collapse;border-spacing:0;box-sizing:border-box;display:table;font-family:inherit;font-size:100%;margin:0 0 5rem;overflow-x:auto;padding:0;vertical-align:baseline;width:100%}.bx--structured-list *,.bx--structured-list :after,.bx--structured-list :before{box-sizing:inherit}.bx--structured-list.bx--structured-list--condensed .bx--structured-list-td,.bx--structured-list.bx--structured-list--condensed .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--condensed ::slotted(bx-structured-list-cell){padding:.5rem}.bx--structured-list .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list ::slotted(bx-structured-list-header-row) :first-of-type::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list ::slotted(bx-structured-list-row) :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-body) .bx--structured-list ::slotted(bx-structured-list-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-td:first-of-type,:host(bx-structured-list-head) .bx--structured-list ::slotted(bx-structured-list-header-row) .bx--structured-list-th:first-of-type,:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list .bx--structured-list-row :first-of-type::slotted(bx-structured-list-cell){padding-right:1rem}.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-td:first-of-type,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th,.bx--structured-list.bx--structured-list--flush .bx--structured-list-row .bx--structured-list-th:first-of-type,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-headbx-structured-list-header-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) ::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell),:host(:host(bx-structured-list-header-rowbx-structured-list-body)) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-row) .bx--structured-list-th,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list.bx--structured-list--flush ::slotted(bx-structured-list-header-row) .bx--structured-list-th,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-header-cell-skeleton),:host(bx-structured-list-row) .bx--structured-list.bx--structured-list--flush .bx--structured-list-row ::slotted(bx-structured-list-cell){padding-left:1rem;padding-right:0}.bx--structured-list-row,:host(bx-structured-list-body) ::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-ui-03,#e0e0e0);display:table-row;transition:background-color .11s cubic-bezier(.2,0,.38,.9)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row):not(.bx--structured-list-row--selected)::slotted(bx-structured-list-header-row){background-color:var(--cds-hover-row,#e5e5e5);border-bottom:1px solid var(--cds-hover-row,#e5e5e5);cursor:pointer}.bx--structured-list-row.bx--structured-list-row--selected,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row),:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row){background-color:var(--cds-selected-ui,#e0e0e0)}.bx--structured-list-row.bx--structured-list-row--header-row,:host(bx-structured-list-body) .bx--structured-list-row--header-row::slotted(bx-structured-list-row),:host(bx-structured-list-head) ::slotted(bx-structured-list-header-row){border-bottom:1px solid var(--cds-selected-ui,#e0e0e0);cursor:inherit}.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.bx--structured-list-row:focus:not(.bx--structured-list-row--header-row),:host(bx-structured-list-body) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row),:host(bx-structured-list-head) :focus:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row){outline-style:dotted}}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,.bx--structured-list-row.bx--structured-list-row--selected>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-body) .bx--structured-list-row--selected::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list-row--selected::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-row) .bx--structured-list-row.bx--structured-list-row--selected>::slotted(bx-structured-list-cell){color:var(--cds-text-01,#161616)}.bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>.bx--structured-list-td,:host(:host(bx-structured-list-bodybx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>::slotted(bx-structured-list-cell),:host(:host(bx-structured-list-headbx-structured-list-row)) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>::slotted(bx-structured-list-cell),:host(bx-structured-list-body) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-row)>.bx--structured-list-td,:host(bx-structured-list-head) .bx--structured-list--selection :hover:not(.bx--structured-list-row--header-row)::slotted(bx-structured-list-header-row)>.bx--structured-list-td,:host(bx-structured-list-row) .bx--structured-list--selection .bx--structured-list-row:hover:not(.bx--structured-list-row--header-row)>::slotted(bx-structured-list-cell){border-top:1px solid var(--cds-ui-01,#f4f4f4)}.bx--structured-list ::slotted(bx-structured-list-head),.bx--structured-list-thead{display:table-header-group;vertical-align:middle}.bx--structured-list-th,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton){border:0;box-sizing:border-box;color:var(--cds-text-01,#161616);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);font-weight:600;height:2.5rem;letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px);line-height:var(--cds-productive-heading-01-line-height,1.28572);margin:0;padding:1rem .5rem .5rem;text-align:right;text-transform:none;vertical-align:baseline;vertical-align:top}.bx--structured-list-th *,.bx--structured-list-th :after,.bx--structured-list-th :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell) :before,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) *,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :after,:host(bx-structured-list-header-row) ::slotted(bx-structured-list-header-cell-skeleton) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-body),.bx--structured-list-tbody{display:table-row-group;vertical-align:middle}.bx--structured-list-td,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell){border:0;box-sizing:border-box;color:var(--cds-text-02,#525252);display:table-cell;font-family:inherit;font-size:100%;font-size:var(--cds-body-long-01-font-size,.875rem);font-weight:var(--cds-body-long-01-font-weight,400);letter-spacing:var(--cds-body-long-01-letter-spacing,.16px);line-height:var(--cds-body-long-01-line-height,1.42857);margin:0;max-width:36rem;padding:1rem .5rem 1.5rem;position:relative;transition:color .11s cubic-bezier(.2,0,.38,.9);vertical-align:baseline}.bx--structured-list-td *,.bx--structured-list-td :after,.bx--structured-list-td :before,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) *,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :after,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell) :before{box-sizing:inherit}.bx--structured-list ::slotted(bx-structured-list-header-cell[nowrap]),.bx--structured-list-content--nowrap,:host(bx-structured-list-row) ::slotted(bx-structured-list-cell[nowrap]){white-space:nowrap}.bx--structured-list-svg{fill:transparent;display:inline-block;transition:all .11s cubic-bezier(.2,0,.38,.9);vertical-align:middle}.bx--structured-list-input:checked+.bx--structured-list-row .bx--structured-list-svg,.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-body) .bx--structured-list-input:checked+::slotted(bx-structured-list-row) .bx--structured-list-svg,:host(bx-structured-list-head) .bx--structured-list-input:checked+::slotted(bx-structured-list-header-row) .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:var(--cds-icon-01,#161616)}.bx--structured-list.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:8%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+2),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+2)::slotted(bx-structured-list-header-cell-skeleton){width:30%}.bx--structured-list.bx--skeleton .bx--structured-list-th:nth-child(3n+3),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--skeleton :nth-child(3n+3)::slotted(bx-structured-list-header-cell-skeleton){width:15%}.bx--structured-list.bx--skeleton span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}.bx--structured-list.bx--skeleton span:active,.bx--structured-list.bx--skeleton span:focus,.bx--structured-list.bx--skeleton span:hover{border:none;cursor:default;outline:none}.bx--structured-list.bx--skeleton span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.bx--structured-list.bx--skeleton span:before{animation:none}}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell),:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton){width:5%}.bx--structured-list.bx--structured-list--selection.bx--skeleton .bx--structured-list-th:first-child span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell) span,:host(bx-structured-list-header-row) .bx--structured-list.bx--structured-list--selection.bx--skeleton :first-child::slotted(bx-structured-list-header-cell-skeleton) span{display:none}@media (forced-colors:active),screen and (-ms-high-contrast:active){.bx--structured-list-input:checked+.bx--structured-list-td .bx--structured-list-svg,:host(bx-structured-list-row) .bx--structured-list-input:checked+::slotted(bx-structured-list-cell) .bx--structured-list-svg{fill:ButtonText}}:host(bx-structured-list-row:hover) .bx--structured-list-svg{fill:#a8a8a8}.bx--structured-list-input:checked+.bx--structured-list-cell .bx--structured-list-svg{fill:var(--cds-text-01,#161616)}:host(bx-structured-list-header-cell-skeleton) span{background:var(--cds-skeleton-01,#e5e5e5);border:none;box-shadow:none;display:block;height:1rem;padding:0;pointer-events:none;position:relative;width:75%}:host(bx-structured-list-header-cell-skeleton) span:active,:host(bx-structured-list-header-cell-skeleton) span:focus,:host(bx-structured-list-header-cell-skeleton) span:hover{border:none;cursor:default;outline:none}:host(bx-structured-list-header-cell-skeleton) span:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-02,#c6c6c6);content:"";height:100%;position:absolute;right:0;top:0;width:100%;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){:host(bx-structured-list-header-cell-skeleton) span:before{animation:none}}']);let m,k=t=>t;const{prefix:y}=s;e([n(`${y}-structured-list`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){var t;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(t=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==t?t:["",0])[1])<=537})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","table"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"shouldUpdate",value:function(t){return t.has("selectionName")&&u(this.querySelectorAll(this.constructor.selectorRowsWithHeader),(t=>{t.selectionName=this.selectionName})),!0}},{kind:"method",key:"render",value:function(){const{selectionName:t}=this,e=o({[`${y}--structured-list`]:!0,[`${y}--structured-list--selection`]:Boolean(t)});return r(m||(m=k`<section id="section" class="${0}"><slot></slot></section>`),e)}},{kind:"field",static:!0,key:"selectorRowsWithHeader",value:()=>`${y}-structured-list-row,${y}-structured-list-header-row`},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),c(l));let _,z=t=>t;const{prefix:A}=s;e([n(`${A}-structured-list-body`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(_||(_=z`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let $,N=t=>t;const{prefix:C}=s;e([n(`${C}-structured-list-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","cell"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r($||($=N`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let B,j=t=>t;const{prefix:D}=s;e([n(`${D}-structured-list-head`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","rowgroup"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(B||(B=j`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let F,R=t=>t;const{prefix:q}=s;e([n(`${q}-structured-list-header-cell`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","columnheader"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return r(F||(F=R`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let I,X=t=>t;const{prefix:S}=s;e([n(`${S}-structured-list-header-cell-skeleton`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"method",key:"render",value:function(){return r(I||(I=X`<span></span>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let M,W,P=t=>t;const{prefix:H}=s;e([n(`${H}-structured-list-header-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){return this.selectionName?r(M||(M=P`<slot></slot><div class="${0}--structured-list-th"></div>`),H):r(W||(W=P`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),l);let T,V,K=t=>t;const{prefix:U}=s,L={ArrowUp:p.BACKWARD,Up:p.BACKWARD,ArrowDown:p.FORWARD,Down:p.FORWARD};class O{constructor(t){this._row=t}get checked(){return this._row.selected}set checked(t){this._row.selected=t,this._row.tabIndex=t?0:-1}get tabIndex(){return this._row.tabIndex}set tabIndex(t){this._row.tabIndex=t}get name(){return this._row.selectionName}compareDocumentPosition(t){return this._row.compareDocumentPosition(t._row)}focus(){this._row.focus()}}e([n(`${U}-structured-list-row`)],(function(t,e){class s extends e{constructor(...e){super(...e),t(this)}}return{F:s,d:[{kind:"field",key:"_manager",value:()=>null},{kind:"field",key:"_radioButtonDelegate",value(){return new O(this)}},{kind:"field",decorators:[b("#input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[w("click")],key:"_handleClick",value(){return()=>{const{_inputNode:t}=this;t&&(this.selected=!0,this._manager&&this._manager.select(this._radioButtonDelegate))}}},{kind:"field",decorators:[w("keydown")],key:"_handleKeydown",value(){return t=>{const{_inputNode:e}=this,r=this._manager;if(e&&r){const e=L[t.key];e&&r.select(r.navigate(this._radioButtonDelegate,e))," "!==t.key&&"Enter"!==t.key||r.select(this._radioButtonDelegate)}}}},{kind:"field",decorators:[a({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[a({attribute:"selection-name"})],key:"selectionName",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-value"})],key:"selectionValue",value:()=>""},{kind:"field",decorators:[a({attribute:"selection-icon-title"})],key:"selectionIconTitle",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){if(this.hasAttribute("role")||this.setAttribute("role","row"),d(i(s.prototype),"connectedCallback",this).call(this),!this._manager){this._manager=g.get(this.getRootNode({composed:!0}));const{selectionName:e}=this;var t;if(e)null===(t=this._manager)||void 0===t||t.add(this._radioButtonDelegate)}}},{kind:"method",key:"disconnectedCallback",value:function(){this._manager&&this._manager.delete(this._radioButtonDelegate),d(i(s.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(t){const{_manager:e,selectionName:r}=this;t.has("selectionName")&&(e&&(e.delete(this._radioButtonDelegate,t.get("selectionName")),r&&e.add(this._radioButtonDelegate)),this.setAttribute("tabindex",r&&e&&e.shouldBeFocusable(this._radioButtonDelegate)?"0":"-1"))}},{kind:"method",key:"render",value:function(){const{selected:t,selectionName:e,selectionValue:s,selectionIconTitle:l}=this;return e?r(T||(T=K`<slot></slot><input id="input" type="radio" class="${0}--structured-list-input" .checked="${0}" name="${0}" value="${0}"><div class="${0}--structured-list-td ${0}--structured-list-cell">${0}</div>`),U,t,e,h(s),U,U,x({class:`${U}--structured-list-svg`,title:l})):r(V||(V=K`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>v}]}}),f(l));
|
package/dist/tabs.min.js
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
* https://www.npmjs.com/package/lodash-es
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
import{c as e,_ as t,h as a,s,L as i}from"./settings-898bd7b0.js";import{_ as o,a as b}from"./get-d229c408.js";import{N as n,B as r,a as l}from"./content-switcher-item-
|
|
65
|
+
import{c as e,_ as t,h as a,s,L as i}from"./settings-898bd7b0.js";import{_ as o,a as b}from"./get-d229c408.js";import{N as n,B as r,a as l}from"./content-switcher-item-9c0951ff.js";import{c}from"./class-map-bd61e03f.js";import{s as d}from"./16-9e2c1ff1.js";import{H as x,a as h}from"./host-listener-01e0a787.js";import{f as v,a as _}from"./collection-helpers-bc0df692.js";import{F as m}from"./shared-enums-c6fe8c39.js";import{c as g}from"./carbon-element-18175602.js";import{q as f,p as u}from"./decorators-56213c84.js";import"./objectSpread2-8dc8a158.js";import"./defineProperty-93eef18e.js";import"./if-non-null-63ecd660.js";import"./if-defined-dd1fb04b.js";import"./focus-1800056c.js";import"./spread-989d7408.js";import"./on-b85e61ad.js";
|
|
66
66
|
/**
|
|
67
67
|
* @license
|
|
68
68
|
*
|