@trintel/zooy 1.0.16 → 1.1.1
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/chunks/component-library-registry-BBQV6Kpv.js +1 -0
- package/dist/chunks/component-library-registry-DB5UeqC2.js +58 -0
- package/dist/chunks/register-D3pWAXhm.js +266 -0
- package/dist/chunks/register-D7SMu1Gy.js +1372 -0
- package/dist/chunks/register-HYODt48Q.js +1 -0
- package/dist/chunks/register-g5KUNRdI.js +1 -0
- package/dist/chunks/tree-utils-B2JEGXHR.js +267 -0
- package/dist/chunks/tree-utils-BYnipT-p.js +1 -0
- package/dist/chunks/zoo-CY2QpG41.js +52 -0
- package/dist/chunks/zoo-DgdxBjlN.js +390 -0
- package/dist/zooy.cjs.js +19 -1
- package/dist/zooy.es.js +1298 -20
- package/package.json +8 -6
- package/dist/chunks/16-30f5E9no.js +0 -1
- package/dist/chunks/16-4Ffg4DOO.js +0 -1
- package/dist/chunks/16-8pr5mbIO.js +0 -28
- package/dist/chunks/16-B56B50XT.js +0 -1
- package/dist/chunks/16-BFJN6B6d.js +0 -39
- package/dist/chunks/16-BTonF5Je.js +0 -29
- package/dist/chunks/16-BXti8Tu-.js +0 -62
- package/dist/chunks/16-BiShwKPX.js +0 -28
- package/dist/chunks/16-BwDdccyH.js +0 -33
- package/dist/chunks/16-C7Xs-wKv.js +0 -1
- package/dist/chunks/16-CDRTWf-C.js +0 -21
- package/dist/chunks/16-CMCRqVYz.js +0 -1
- package/dist/chunks/16-CSWwhDUY.js +0 -21
- package/dist/chunks/16-CpNRIuiB.js +0 -1
- package/dist/chunks/16-CqC9427V.js +0 -21
- package/dist/chunks/16-Cubm18Em.js +0 -1
- package/dist/chunks/16-D3Ol0pdg.js +0 -21
- package/dist/chunks/16-DH311Of_.js +0 -1
- package/dist/chunks/16-Dlq3qxDh.js +0 -1
- package/dist/chunks/16-Drl9-5Gn.js +0 -21
- package/dist/chunks/16-Dt4v0bcc.js +0 -1
- package/dist/chunks/16-DylBiJnm.js +0 -1
- package/dist/chunks/20-CQLnFcRb.js +0 -84
- package/dist/chunks/20-Df0dXwyx.js +0 -1
- package/dist/chunks/button-D3QMXGP6.js +0 -66
- package/dist/chunks/button-cEVHuDC9.js +0 -272
- package/dist/chunks/button-skeleton-BuDQrAgi.js +0 -21
- package/dist/chunks/button-skeleton-CxKOKEQr.js +0 -49
- package/dist/chunks/carbon-element-CbfPUYRT.js +0 -1
- package/dist/chunks/carbon-element-DzDuXiyl.js +0 -25
- package/dist/chunks/checkbox-B_b_oOJ5.js +0 -40
- package/dist/chunks/checkbox-CsuLOYIT.js +0 -201
- package/dist/chunks/class-map-BwrbvkxB.js +0 -5
- package/dist/chunks/class-map-CgGieoOz.js +0 -32
- package/dist/chunks/collection-helpers-Bk68Vaau.js +0 -7
- package/dist/chunks/collection-helpers-afBvMQaC.js +0 -1
- package/dist/chunks/content-switcher-item-C1gdd6k4.js +0 -351
- package/dist/chunks/content-switcher-item-c0sXBGJ-.js +0 -27
- package/dist/chunks/defs-C88lSWuJ.js +0 -1
- package/dist/chunks/defs-Do0OvCKd.js +0 -1165
- package/dist/chunks/directive-Dp4ZTz-F.js +0 -5
- package/dist/chunks/directive-kLG6oqUu.js +0 -27
- package/dist/chunks/dropdown-item-T1jCm1fo.js +0 -69
- package/dist/chunks/dropdown-item-Wc8Nj3w-.js +0 -632
- package/dist/chunks/focus-B3iymVyL.js +0 -1
- package/dist/chunks/focus-WnKGH_xB.js +0 -20
- package/dist/chunks/form-D6Tce4-W.js +0 -1
- package/dist/chunks/form-DpI-v6DA.js +0 -20
- package/dist/chunks/host-listener-CN245INl.js +0 -37
- package/dist/chunks/host-listener-DD3oGxvg.js +0 -16
- package/dist/chunks/host-listener-gxrTpxgv.js +0 -1
- package/dist/chunks/host-listener-rUcT_LUW.js +0 -1
- package/dist/chunks/icon-loader-CTCoE5GC.js +0 -7
- package/dist/chunks/icon-loader-C_ze306U.js +0 -1
- package/dist/chunks/icon-loader-utils-DSajrZop.js +0 -117
- package/dist/chunks/icon-loader-utils-DxaQOvJB.js +0 -5
- package/dist/chunks/if-defined-7syLabv-.js +0 -10
- package/dist/chunks/if-defined-CfI-rREy.js +0 -5
- package/dist/chunks/if-non-empty-CsjL_4Ck.js +0 -5
- package/dist/chunks/if-non-empty-Dp8CFMva.js +0 -1
- package/dist/chunks/index-24ucriY6.js +0 -4
- package/dist/chunks/index-5uuGFlSc.js +0 -1
- package/dist/chunks/index-ACUVets3.js +0 -188
- package/dist/chunks/index-B-VOos8Q.js +0 -108
- package/dist/chunks/index-B-qA_3dy.js +0 -52
- package/dist/chunks/index-B0PkuE0I.js +0 -188
- package/dist/chunks/index-B1QlHHpn.js +0 -381
- package/dist/chunks/index-B2dVOGmx.js +0 -458
- package/dist/chunks/index-BEAD73rD.js +0 -17
- package/dist/chunks/index-BEyeMcZh.js +0 -25
- package/dist/chunks/index-BJ3okuBC.js +0 -78
- package/dist/chunks/index-BJNdKx6x.js +0 -23
- package/dist/chunks/index-BL8xz2V4.js +0 -161
- package/dist/chunks/index-BL_Y57_H.js +0 -57
- package/dist/chunks/index-BLxE94Et.js +0 -3
- package/dist/chunks/index-BP0bDhTG.js +0 -2340
- package/dist/chunks/index-BUXzbqzT.js +0 -364
- package/dist/chunks/index-BVDZj6Fh.js +0 -76
- package/dist/chunks/index-BWqDKfds.js +0 -62
- package/dist/chunks/index-BaVSzIan.js +0 -79
- package/dist/chunks/index-BatQ1Mfz.js +0 -25
- package/dist/chunks/index-BefBe_sK.js +0 -19
- package/dist/chunks/index-BekoThXC.js +0 -49
- package/dist/chunks/index-BnOH6_4r.js +0 -103
- package/dist/chunks/index-Bnfa6YBY.js +0 -71
- package/dist/chunks/index-BrtdLKIG.js +0 -455
- package/dist/chunks/index-BtFYirUg.js +0 -44
- package/dist/chunks/index-BtHVJn7K.js +0 -75
- package/dist/chunks/index-Bu7ZAHDG.js +0 -12
- package/dist/chunks/index-BxRbUwdY.js +0 -30
- package/dist/chunks/index-ByQl0Dwz.js +0 -9
- package/dist/chunks/index-C-PAoN2Y.js +0 -25
- package/dist/chunks/index-C2-pFkgT.js +0 -406
- package/dist/chunks/index-C2r3MkpB.js +0 -252
- package/dist/chunks/index-C5DwYOee.js +0 -89
- package/dist/chunks/index-C5euLddc.js +0 -46
- package/dist/chunks/index-C89rc2i5.js +0 -35
- package/dist/chunks/index-C8IUL9KS.js +0 -22
- package/dist/chunks/index-C99Nf_aK.js +0 -15
- package/dist/chunks/index-CDaECc1q.js +0 -12
- package/dist/chunks/index-CIeU44CB.js +0 -97
- package/dist/chunks/index-CL8Un64Y.js +0 -150
- package/dist/chunks/index-CQ1zfW-Z.js +0 -22
- package/dist/chunks/index-CR6HxSEn.js +0 -15
- package/dist/chunks/index-CSH8oUIN.js +0 -36
- package/dist/chunks/index-CTB8Esah.js +0 -1
- package/dist/chunks/index-CX6f-3xD.js +0 -563
- package/dist/chunks/index-CXSCYGFC.js +0 -452
- package/dist/chunks/index-CZQ45Dj9.js +0 -1
- package/dist/chunks/index-Cc-HBEN2.js +0 -150
- package/dist/chunks/index-Cf3ALdZ-.js +0 -4
- package/dist/chunks/index-Cid77wr3.js +0 -45
- package/dist/chunks/index-ClBPGpC0.js +0 -129
- package/dist/chunks/index-CmXHpydu.js +0 -121
- package/dist/chunks/index-CsaKV6jI.js +0 -511
- package/dist/chunks/index-CvxrJ8vE.js +0 -39
- package/dist/chunks/index-Cy6EogCp.js +0 -429
- package/dist/chunks/index-CyTN35KA.js +0 -424
- package/dist/chunks/index-D3hwHwSn.js +0 -243
- package/dist/chunks/index-D6Eg6Zh4.js +0 -22
- package/dist/chunks/index-D7GY2E-B.js +0 -8
- package/dist/chunks/index-DCqxl0e0.js +0 -26
- package/dist/chunks/index-DDKqKtU4.js +0 -15
- package/dist/chunks/index-DHksIe-y.js +0 -1
- package/dist/chunks/index-DI-PunST.js +0 -224
- package/dist/chunks/index-DIWoAC3Z.js +0 -74
- package/dist/chunks/index-DLWyvZrE.js +0 -21
- package/dist/chunks/index-DLa-KLg_.js +0 -881
- package/dist/chunks/index-DLwGUJd2.js +0 -25
- package/dist/chunks/index-DMIKb9St.js +0 -2
- package/dist/chunks/index-DOfvb1f6.js +0 -79
- package/dist/chunks/index-DQoGlgyI.js +0 -1
- package/dist/chunks/index-DR8UmItB.js +0 -1
- package/dist/chunks/index-DUiT0Yz_.js +0 -57
- package/dist/chunks/index-DW1p-hc-.js +0 -1604
- package/dist/chunks/index-DbPU3mfX.js +0 -368
- package/dist/chunks/index-DgI4_4yz.js +0 -37
- package/dist/chunks/index-DhPg7DCD.js +0 -1
- package/dist/chunks/index-Dj-7w7wt.js +0 -65
- package/dist/chunks/index-DjSdHUmw.js +0 -284
- package/dist/chunks/index-DpCo2duE.js +0 -87
- package/dist/chunks/index-DqLDehu6.js +0 -111
- package/dist/chunks/index-Ds3e0NlH.js +0 -285
- package/dist/chunks/index-DsKNYemW.js +0 -295
- package/dist/chunks/index-DwGKd66A.js +0 -259
- package/dist/chunks/index-FAwjNd-C.js +0 -4
- package/dist/chunks/index-HTZtnvAV.js +0 -81
- package/dist/chunks/index-JUJu4Jsu.js +0 -235
- package/dist/chunks/index-JmiGhJR9.js +0 -1
- package/dist/chunks/index-K3aE8_a_.js +0 -45
- package/dist/chunks/index-LVNWqV95.js +0 -683
- package/dist/chunks/index-NduNWecG.js +0 -88
- package/dist/chunks/index-QOHPo0v8.js +0 -19
- package/dist/chunks/index-TnoTOPwm.js +0 -158
- package/dist/chunks/index-UIEjSWhu.js +0 -58
- package/dist/chunks/index-WQ40q6Fp.js +0 -77
- package/dist/chunks/index-a_56_OA-.js +0 -776
- package/dist/chunks/index-azaqRvif.js +0 -27
- package/dist/chunks/index-dT_yGOFJ.js +0 -1
- package/dist/chunks/index-kjtnf5Y1.js +0 -66
- package/dist/chunks/index-lOiJBnZe.js +0 -160
- package/dist/chunks/index-sl9jQQX-.js +0 -36
- package/dist/chunks/index-vkfOeAd5.js +0 -260
- package/dist/chunks/index-z2pAR1iR.js +0 -337
- package/dist/chunks/loading-icon-9-L_8sVv.js +0 -16
- package/dist/chunks/loading-icon-CMPQny72.js +0 -24
- package/dist/chunks/main-CXPn-jnk.js +0 -4260
- package/dist/chunks/main-CZIPBRMI.js +0 -88
- package/dist/chunks/on-BPhwbVf3.js +0 -10
- package/dist/chunks/on-XRofyGQh.js +0 -1
- package/dist/chunks/property-BIgIlh0E.js +0 -5
- package/dist/chunks/property-CTp3Zz2M.js +0 -36
- package/dist/chunks/query-CbRg6ZGy.js +0 -23
- package/dist/chunks/query-Dh8joWcT.js +0 -9
- package/dist/chunks/radio-group-manager-DBAEmhDM.js +0 -1
- package/dist/chunks/radio-group-manager-Du5wSOS1.js +0 -102
- package/dist/chunks/register-BgvWUC9m.js +0 -11035
- package/dist/chunks/register-CFDNay1l.js +0 -1
- package/dist/chunks/register-DyYwnhHb.js +0 -2157
- package/dist/chunks/register-HH_4Uw0Q.js +0 -1678
- package/dist/chunks/search-CC47funo.js +0 -241
- package/dist/chunks/search-DB4cjN-w.js +0 -31
- package/dist/chunks/select-item-D6rKfA9z.js +0 -80
- package/dist/chunks/select-item-Dj2fYOn6.js +0 -364
- package/dist/chunks/settings-Bgpv8zuU.js +0 -62
- package/dist/chunks/settings-jvP7vP60.js +0 -66
- package/dist/chunks/shared-enums-BJDDuJr7.js +0 -1
- package/dist/chunks/shared-enums-DALKjQ7e.js +0 -7
- package/dist/chunks/state-4XYw1ZN5.js +0 -12
- package/dist/chunks/state-BoZ0xvIn.js +0 -5
- package/dist/chunks/text-input-BUBwT5gK.js +0 -68
- package/dist/chunks/text-input-Dpl3TIYz.js +0 -372
- package/dist/chunks/tooltip-content-BV1N7BVi.js +0 -3
- package/dist/chunks/tooltip-content-UQcG3dlT.js +0 -135
- package/dist/chunks/tslib.es6-B07k2eac.js +0 -1
- package/dist/chunks/tslib.es6-C5gLNDSD.js +0 -160
- package/dist/chunks/unsafe-html-CCJqBESk.js +0 -5
- package/dist/chunks/unsafe-html-KUWR4Xn7.js +0 -27
- package/dist/chunks/validity-BMLNCMmP.js +0 -1
- package/dist/chunks/validity-CTz7ivUd.js +0 -59
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
import { _ as a } from "./tslib.es6-C5gLNDSD.js";
|
|
2
|
-
import { e as v } from "./class-map-CgGieoOz.js";
|
|
3
|
-
import { a as C, i as $, x as b } from "./main-CXPn-jnk.js";
|
|
4
|
-
import { n as f } from "./property-CTp3Zz2M.js";
|
|
5
|
-
import { r as E } from "./state-4XYw1ZN5.js";
|
|
6
|
-
import { p as r } from "./settings-jvP7vP60.js";
|
|
7
|
-
import { i as k } from "./icon-loader-CTCoE5GC.js";
|
|
8
|
-
import { c as S } from "./carbon-element-DzDuXiyl.js";
|
|
9
|
-
import { H as A } from "./host-listener-DD3oGxvg.js";
|
|
10
|
-
import { H as T } from "./host-listener-CN245INl.js";
|
|
11
|
-
var z = {
|
|
12
|
-
elem: "svg",
|
|
13
|
-
attrs: {
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
viewBox: "0 0 32 32",
|
|
16
|
-
fill: "currentColor",
|
|
17
|
-
width: 16,
|
|
18
|
-
height: 16
|
|
19
|
-
},
|
|
20
|
-
content: [{
|
|
21
|
-
elem: "path",
|
|
22
|
-
attrs: {
|
|
23
|
-
d: "M24 12L16 22 8 12z"
|
|
24
|
-
}
|
|
25
|
-
}],
|
|
26
|
-
name: "caret--down",
|
|
27
|
-
size: 16
|
|
28
|
-
}, q = C(['.cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-background:var(--cds-layer-background-01,#fff);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-background:var(--cds-layer-background-02,#f4f4f4);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-background:var(--cds-layer-background-03,#fff);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}.cds--layer-one.cds--layer__with-background,.cds--layer-three.cds--layer__with-background,.cds--layer-two.cds--layer__with-background{background-color:var(--cds-layer-background)}@keyframes cds--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds--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}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--fieldset *,.cds--fieldset :after,.cds--fieldset :before{box-sizing:inherit}.cds--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.cds--label html{font-size:100%}.cds--label body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--label strong{font-weight:600}.cds--label{color:var(--cds-text-secondary,#525252);display:inline-block;font-weight:var(--cds-label-01-font-weight,400);font-weight:400;line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin-block-end:.5rem;vertical-align:baseline}.cds--label,.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label .cds--toggletip-label{font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label--no-margin{margin-block-end:0}.cds--label+.cds--tooltip{inset-block-start:.2rem;inset-inline-start:.5rem;position:relative}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;vertical-align:baseline}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger :after,.cds--label+.cds--tooltip .cds--tooltip__trigger :before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;cursor:pointer;display:inline-block;inline-size:100%;padding:0;text-align:start}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger{align-items:center;display:flex;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);justify-content:center;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{inset-block-start:.2rem;inset-inline-start:.5rem}.cds--label.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);border:none;box-shadow:none;padding:0;pointer-events:none;position:relative}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--label.cds--skeleton:before{animation:cds--skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;inset-inline-start:0;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--label.cds--skeleton{background:CanvasText}.cds--label.cds--skeleton:before{background:Canvas;forced-color-adjust:none}}.cds--label.cds--skeleton{block-size:.875rem;inline-size:4.6875rem}input[type=number],input[type=text].cds--number{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker--warning~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--select--inline.cds--select--warning .cds--select-input--inline__wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement{display:inline-flex;inline-size:100%;margin:0;margin-block-end:0;max-block-size:100%;overflow:visible;padding-inline-start:.5rem}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:none}.cds--form--fluid .cds--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output,[data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--form-requirement strong{font-weight:600}.cds--form-requirement{display:none;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);margin:.25rem 0 0;max-block-size:0;overflow:hidden}.cds--select--inline .cds--form__helper-text{margin-block-start:0}.cds--form__helper-text{color:var(--cds-text-helper,#6f6f6f);font-size:var(--cds-helper-text-01-font-size,.75rem);inline-size:100%;letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-block-start:.25rem;opacity:1;z-index:0}.cds--form__helper-text--disabled,.cds--label--disabled,fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--tree{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--tree *,.cds--tree :after,.cds--tree :before{box-sizing:inherit}.cds--tree{overflow:hidden}.cds--tree-node,:host(cds-tree-node:not([href])){background-color:var(--cds-layer-01,#f4f4f4);color:var(--cds-text-secondary,#525252);padding-inline-start:1rem}.cds--tree-node:focus{outline:none}.cds--tree-node:hover{cursor:pointer}.cds--tree-node--hidden{display:none}.cds--tree-node__children{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--tree-node__children *,.cds--tree-node__children :after,.cds--tree-node__children :before{box-sizing:inherit}.cds--tree-node__children{list-style-type:none}.cds--tree-node--with-icon .cds--tree-node,.cds--tree-node--with-icon :host(cds-tree-node:not([href])){margin-inline-start:.5rem}.cds--tree-node:focus>.cds--tree-node__label{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tree-node:focus>.cds--tree-node__label{outline-style:dotted}}.cds--tree-node.cds--tree-parent-node>.cds--tree-node__label{inline-size:auto}.cds--tree-node--disabled:focus>.cds--tree-node__label{outline:none}.cds--tree-node--disabled,.cds--tree-node--disabled .cds--tree-node__label:hover,.cds--tree-node--disabled .cds--tree-node__label:hover .cds--tree-node__label__details,:host(cds-tree-node[disabled]:not([href])),:host(cds-tree-node[disabled]:not([href])) .cds--tree-node__label:hover,:host(cds-tree-node[disabled]:not([href])) .cds--tree-node__label:hover .cds--tree-node__label__details{background-color:var(--cds-field-01,#f4f4f4);color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--tree-node--disabled .cds--tree-node__icon,.cds--tree-node--disabled .cds--tree-node__label:hover .cds--tree-node__icon,.cds--tree-node--disabled .cds--tree-node__label:hover .cds--tree-parent-node__toggle-icon,.cds--tree-node--disabled .cds--tree-parent-node__toggle-icon,:host(cds-tree-node:not([href])) .cds--tree-node--disabled ::slotted([slot=icon]),:host(cds-tree-node[disabled]:not([href])) .cds--tree-node__icon,:host(cds-tree-node[disabled]:not([href])) .cds--tree-parent-node__toggle-icon,:host(cds-tree-node[disabled]:not([href])):host(cds-tree-node:not([href])) ::slotted([slot=icon]){fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--tree-node--disabled,.cds--tree-node--disabled .cds--tree-parent-node__toggle-icon:hover,:host(cds-tree-node[disabled]:not([href])),:host(cds-tree-node[disabled]:not([href])) .cds--tree-parent-node__toggle-icon:hover{cursor:not-allowed}:host(cds-tree-node[href][parent]) a.cds--tree-node,li a.cds--tree-node{text-decoration:none}:host(cds-tree-node[href][parent]) a.cds--tree-node:not(.cds--tree-node--disabled),li a.cds--tree-node:not(.cds--tree-node--disabled){color:var(--cds-text-secondary,#525252)}:host(cds-tree-node[href][parent]),li.cds--tree-node-link-parent{background-color:var(--cds-layer-01,#f4f4f4);display:flex;flex-direction:column}:host(cds-tree-node[href][parent])>.cds--tree-node__children,li.cds--tree-node-link-parent>.cds--tree-node__children{padding-inline-start:1rem}.cds--tree-node__label{align-items:center;box-sizing:border-box;display:flex;flex:1;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);min-block-size:2rem;padding-inline-end:1rem;position:relative}.cds--tree-node__label:hover{background-color:var(--cds-layer-hover-01,#e8e8e8);color:var(--cds-text-primary,#161616)}.cds--tree-node:not(.cds--tree-parent-node) .cds--tree-node__label,:not(.cds--tree-parent-node):host(cds-tree-node:not([href])) .cds--tree-node__label{padding-block:.4375rem .4375rem}.cds--tree-node__label:hover .cds--tree-node__label__details{color:var(--cds-text-primary,#161616)}.cds--tree-node__label:hover .cds--tree-node__icon,.cds--tree-node__label:hover .cds--tree-parent-node__toggle-icon,:host(cds-tree-node:not([href])) .cds--tree-node__label:hover ::slotted([slot=icon]){fill:var(--cds-icon-primary,#161616)}.cds--tree-leaf-node,:host(cds-tree-node:not([parent]):not([href])){display:flex;padding-inline-start:2.5rem}.cds--tree-leaf-node.cds--tree-node--with-icon{padding-inline-start:2rem}.cds--tree-leaf-node.cds--tree-node--with-icon .cds--tree-leaf-node,.cds--tree-leaf-node.cds--tree-node--with-icon :host(cds-tree-node:not([parent]):not([href])){padding-inline-start:1.5rem}.cds--tree-node__label__details{align-items:center;display:flex;min-inline-size:0}.cds--tree-node--with-icon .cds--tree-parent-node__toggle{margin-inline-end:0}.cds--tree-parent-node__toggle{align-items:center;block-size:1.5rem;border:0;display:flex;inline-size:1.5rem;margin-inline:-.25rem .25rem;padding-inline-start:.25rem}.cds--tree-parent-node__toggle:hover{cursor:pointer}.cds--tree-parent-node__toggle:focus{outline:none}.cds--tree-parent-node__toggle-icon{fill:var(--cds-icon-secondary,#525252);transform:rotate(-90deg);transition:all .11s cubic-bezier(.2,0,.38,.9)}.cds--tree-parent-node__toggle-icon--expanded{transform:rotate(0)}.cds--tree-node__icon,:host(cds-tree-node:not([href])) ::slotted([slot=icon]){fill:var(--cds-icon-secondary,#525252);margin-inline:.5rem .5rem;min-block-size:1rem;min-inline-size:1rem}.cds--tree-parent-node__toggle+.cds--tree-node__label__details .cds--tree-node__icon,:host(cds-tree-node:not([href])) .cds--tree-parent-node__toggle+.cds--tree-node__label__details ::slotted([slot=icon]){margin-inline-start:.25rem}.cds--tree-node--selected>.cds--tree-node__label,:host(cds-tree-node[selected]:not([href]))>.cds--tree-node__label{background-color:var(--cds-layer-selected-01,#e0e0e0);color:var(--cds-text-primary,#161616)}.cds--tree-node--selected>.cds--tree-node__label:hover,:host(cds-tree-node[selected]:not([href]))>.cds--tree-node__label:hover{background-color:var(--cds-layer-selected-hover-01,#d1d1d1)}.cds--tree-node--selected>.cds--tree-node__label .cds--tree-node__icon,.cds--tree-node--selected>.cds--tree-node__label .cds--tree-parent-node__toggle-icon,:host(cds-tree-node:not([href])) .cds--tree-node--selected>.cds--tree-node__label ::slotted([slot=icon]),:host(cds-tree-node[selected]:not([href])):host(cds-tree-node:not([href]))>.cds--tree-node__label ::slotted([slot=icon]),:host(cds-tree-node[selected]:not([href]))>.cds--tree-node__label .cds--tree-node__icon,:host(cds-tree-node[selected]:not([href]))>.cds--tree-node__label .cds--tree-parent-node__toggle-icon{fill:var(--cds-icon-primary,#161616)}.cds--tree-node--active>.cds--tree-node__label,:host(cds-tree-node[active]:not([href]))>.cds--tree-node__label{position:relative}.cds--tree-node--active>.cds--tree-node__label:before,:host(cds-tree-node[active]:not([href]))>.cds--tree-node__label:before{background-color:var(--cds-interactive,#0f62fe);block-size:100%;content:"";inline-size:.25rem;inset-block-start:0;inset-inline-start:0;position:absolute}.cds--tree--xs .cds--tree-node__label{min-block-size:1.5rem}.cds--tree--xs .cds--tree-node:not(.cds--tree-parent-node) .cds--tree-node__label,.cds--tree--xs :not(.cds--tree-parent-node):host(cds-tree-node:not([href])) .cds--tree-node__label{padding:0}.cds--tree--xs .cds--tree-parent-node__toggle{margin-block-start:0}.cds--tree-node__label__text{display:block;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);line-height:1.2;overflow:hidden;padding-inline-start:.25rem;text-overflow:ellipsis;white-space:nowrap}.cds--tree-node__label .cds--icon-tooltip{inline-size:100%}.cds--tree-node__label .cds--icon-tooltip .cds--btn--icon-only{background:transparent;block-size:auto;border:none;color:inherit;inline-size:100%;min-block-size:unset;padding:0;text-align:start}.cds--tree-node__label .cds--icon-tooltip .cds--btn--icon-only .cds--tree-node__label__text{color:inherit;inline-size:100%}.cds--tree-node__label .cds--tooltip-content{padding:1rem}.cds--tree-node__label .cds--popover-container{inline-size:100%}.cds--tooltip-trigger__wrapper .cds--btn--ghost:focus{box-shadow:none;outline:2px solid var(--cds-focus,#0f62fe)}:host(cds-tree-view){display:block}:host(cds-tree-node){box-sizing:border-box;display:list-item}:host(cds-tree-node) .cds--tree-node__label{box-sizing:inherit}:host(cds-tree-node) .cds--tree-node__hidden{display:none}:host(cds-tree-node) .cds--tree-parent-node__toggle{box-sizing:inherit}:host(cds-tree-node:focus-visible){outline:none}:host(cds-tree-node:focus-visible) .cds--tree-node__label{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){:host(cds-tree-node:focus-visible) .cds--tree-node__label{outline-style:dotted}}:host(cds-tree-node:not([parent]):not([href])) .cds--tree-node__label{padding-block:.4375rem}:host(cds-tree-node[href]) .cds--tree-node,:host(cds-tree-node[href]) :host(cds-tree-node:not([href])){box-sizing:inherit}:host(cds-tree-node[href]) .cds--tree-node__label{padding-block:0}:host(cds-tree-node[has-icon]:not([parent]:not([href]))){padding-inline-start:2rem}:host(cds-tree-node[has-icon]:not([href])){padding-inline-start:.5rem}:host(cds-tree-node[has-icon]:not([href])) .cds--tree-parent-node__toggle{margin-inline-end:0}:host(cds-tree-node[has-icon][parent]:not([href])){padding-inline-start:1rem}:host(cds-tree-node[has-icon]:not([href])) ::slotted(cds-tree-node){margin-inline-start:.5rem}:host(cds-tree-node:not([href])[size=xs]) .cds--tree-node__label{min-block-size:1.5rem}:host(cds-tree-node:not([href])[size=xs]) .cds--tree-parent-node__toggle{margin-block-start:0}:host(cds-tree-node:not([href])[size=xs]:not([parent])) .cds--tree-node__label{padding:0}:host(cds-tree-node[href]) a{text-decoration:none}']);
|
|
29
|
-
/**
|
|
30
|
-
* @license
|
|
31
|
-
*
|
|
32
|
-
* Copyright IBM Corp. 2025, 2025
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/
|
|
37
|
-
let c = class extends $ {
|
|
38
|
-
constructor() {
|
|
39
|
-
super(...arguments), this._hasChildren = !1, this._hasIcon = !1, this._handleStyles = () => {
|
|
40
|
-
const { _depth: e, _hasChildren: d, _hasIcon: t } = this, o = () => d && t ? e + 1 + e * 0.5 : d ? e + 1 : t ? e + 2 + e * 0.5 : e + 2.5, s = this.shadowRoot.querySelector(`.${r}--tree-node__label`);
|
|
41
|
-
s && (s.style.marginInlineStart = `-${o()}rem`, s.style.paddingInlineStart = `${o()}rem`);
|
|
42
|
-
}, this._handleToggleClick = (e) => {
|
|
43
|
-
const { disabled: d, href: t } = this;
|
|
44
|
-
d || (e.stopPropagation(), t && e.preventDefault(), this.isExpanded = !this.isExpanded, this.hasAttribute("aria-expanded") && this.setAttribute("aria-expanded", String(this.isExpanded)));
|
|
45
|
-
}, this.active = !1, this.disabled = !1, this._depth = 0, this.isExpanded = !1, this.id = Math.random().toString(16).slice(2), this.selected = !1;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Handles `slotchange` event.
|
|
49
|
-
*/
|
|
50
|
-
_handleSlotChange({ target: e }) {
|
|
51
|
-
const { _depth: d, disabled: t } = this, o = e.assignedNodes().filter((s) => s.nodeType === Node.ELEMENT_NODE && s.tagName.toLowerCase() === `${r}-tree-node`);
|
|
52
|
-
o.forEach((s) => {
|
|
53
|
-
s._depth = d + 1, s.disabled = t;
|
|
54
|
-
}), this._hasChildren = o.length > 0, this._hasChildren && this.setAttribute("parent", ""), this.requestUpdate();
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Handles icon's `slotchange` event.
|
|
58
|
-
*/
|
|
59
|
-
_handleIconSlotChange({ target: e }) {
|
|
60
|
-
this._hasIcon = e.assignedNodes().length > 0, this._hasIcon && this.setAttribute("has-icon", ""), this.requestUpdate();
|
|
61
|
-
}
|
|
62
|
-
connectedCallback() {
|
|
63
|
-
super.connectedCallback(), this._hasChildren = Array.from(this.children).some((e) => e.tagName.toLowerCase() === `${r}-tree-node`), this._hasIcon = Array.from(this.children).some((e) => e.getAttribute("slot") === "icon"), !this.hasAttribute("role") && !this.href && this.setAttribute("role", "treeitem"), this._hasChildren && !this.href && this.setAttribute("aria-expanded", String(this.isExpanded)), this.hasAttribute("aria-label") || this.setAttribute("aria-label", this.label);
|
|
64
|
-
}
|
|
65
|
-
_dispatchSelectedEvent(e) {
|
|
66
|
-
const { eventSelected: d } = this.constructor;
|
|
67
|
-
this.dispatchEvent(new CustomEvent(d, {
|
|
68
|
-
bubbles: !0,
|
|
69
|
-
composed: !0,
|
|
70
|
-
detail: {
|
|
71
|
-
value: e
|
|
72
|
-
}
|
|
73
|
-
}));
|
|
74
|
-
}
|
|
75
|
-
_dispatchToggledEvent(e, d) {
|
|
76
|
-
const { eventToggled: t } = this.constructor;
|
|
77
|
-
this.dispatchEvent(new CustomEvent(t, {
|
|
78
|
-
bubbles: !0,
|
|
79
|
-
composed: !0,
|
|
80
|
-
detail: {
|
|
81
|
-
value: e,
|
|
82
|
-
expanded: d
|
|
83
|
-
}
|
|
84
|
-
}));
|
|
85
|
-
}
|
|
86
|
-
updated(e) {
|
|
87
|
-
e.has("_depth") && this._handleStyles(), e.has("selected") && (this.href || this.setAttribute("aria-selected", String(this.href || this.disabled ? void 0 : this.selected)), this.selected && this._dispatchSelectedEvent(this.label)), e.has("active") && !this.href && this.setAttribute("aria-current", String(this.href ? this.active ? "page" : void 0 : this.active || void 0)), e.has("disabled") && this.setAttribute("aria-disabled", String(this.disabled)), e.has("isExpanded") && this._dispatchToggledEvent(this.label, this.isExpanded);
|
|
88
|
-
}
|
|
89
|
-
render() {
|
|
90
|
-
const { disabled: e, isExpanded: d, href: t, id: o, label: s, onClick: n, _hasChildren: l, _handleIconSlotChange: i, _handleSlotChange: h, _handleToggleClick: u } = this;
|
|
91
|
-
let g = `${r}--tree-parent-node__toggle-icon`;
|
|
92
|
-
d && (g += `${r}--tree-parent-node__toggle-icon--expanded`);
|
|
93
|
-
const x = v({
|
|
94
|
-
[`${r}--tree-node`]: !0,
|
|
95
|
-
[`${r}--tree-node--active`]: this.active,
|
|
96
|
-
[`${r}--tree-node--disabled`]: e,
|
|
97
|
-
[`${r}--tree-node--selected`]: this.selected,
|
|
98
|
-
[`${r}--tree-node--with-icon`]: this._hasIcon,
|
|
99
|
-
[`${r}--tree-leaf-node`]: !this._hasChildren,
|
|
100
|
-
[`${r}--tree-parent-node`]: this._hasChildren
|
|
101
|
-
}), w = v({
|
|
102
|
-
[`${r}--tree-node__children`]: !0,
|
|
103
|
-
[`${r}--tree-node__hidden`]: !d
|
|
104
|
-
});
|
|
105
|
-
return b`
|
|
106
|
-
${l ? b`
|
|
107
|
-
${t ? b` <a
|
|
108
|
-
role="treeitem"
|
|
109
|
-
class=${x}
|
|
110
|
-
aria-expanded=${!!d}
|
|
111
|
-
aria-owns="subtree-id-${o}"
|
|
112
|
-
href=${e ? void 0 : t}
|
|
113
|
-
tabindex=${e ? -1 : void 0}
|
|
114
|
-
@click=${n}>
|
|
115
|
-
<div id="label" class="${r}--tree-node__label">
|
|
116
|
-
<span
|
|
117
|
-
class="${r}--tree-parent-node__toggle"
|
|
118
|
-
?disabled=${e}
|
|
119
|
-
@click=${u}>
|
|
120
|
-
${k(z, { class: g })}
|
|
121
|
-
</span>
|
|
122
|
-
<span class="${r}--tree-node__label__details">
|
|
123
|
-
<slot
|
|
124
|
-
name="icon"
|
|
125
|
-
@slotchange=${i}></slot>
|
|
126
|
-
${s}
|
|
127
|
-
</span>
|
|
128
|
-
</div>
|
|
129
|
-
</a>
|
|
130
|
-
<ul
|
|
131
|
-
id="subtree-id-${o}"
|
|
132
|
-
role="group"
|
|
133
|
-
class="${w}">
|
|
134
|
-
<slot @slotchange=${h}></slot>
|
|
135
|
-
</ul>` : b`<div id="label" class="${r}--tree-node__label">
|
|
136
|
-
<span
|
|
137
|
-
class="${r}--tree-parent-node__toggle"
|
|
138
|
-
?disabled=${e}
|
|
139
|
-
@click=${u}>
|
|
140
|
-
${k(z, { class: g })}
|
|
141
|
-
</span>
|
|
142
|
-
<span class="${r}--tree-node__label__details">
|
|
143
|
-
<slot
|
|
144
|
-
name="icon"
|
|
145
|
-
@slotchange=${i}></slot>
|
|
146
|
-
${s}
|
|
147
|
-
</span>
|
|
148
|
-
</div>
|
|
149
|
-
<ul
|
|
150
|
-
id="subtree-id-${o}"
|
|
151
|
-
role="group"
|
|
152
|
-
class="${w}">
|
|
153
|
-
<slot @slotchange=${h}></slot>
|
|
154
|
-
</ul>`}
|
|
155
|
-
` : b`
|
|
156
|
-
${t ? b`<a
|
|
157
|
-
class=${x}
|
|
158
|
-
href=${e ? void 0 : t}
|
|
159
|
-
role="treeitem"
|
|
160
|
-
?aria-disabled=${e}
|
|
161
|
-
aria-current=${this.href ? this.active ? "page" : void 0 : this.active || void 0}
|
|
162
|
-
tabindex=${e ? -1 : void 0}
|
|
163
|
-
@click=${n}>
|
|
164
|
-
<div id="label" class="${r}--tree-node__label">
|
|
165
|
-
<slot
|
|
166
|
-
name="icon"
|
|
167
|
-
@slotchange=${i}></slot>
|
|
168
|
-
${s}
|
|
169
|
-
</div>
|
|
170
|
-
</a>` : b` <div id="label" class="${r}--tree-node__label">
|
|
171
|
-
<slot name="icon" @slotchange=${i}></slot>
|
|
172
|
-
${s}
|
|
173
|
-
</div>`}
|
|
174
|
-
`}
|
|
175
|
-
`;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* The name of the custom event fired when node is selected.
|
|
179
|
-
*/
|
|
180
|
-
static get eventSelected() {
|
|
181
|
-
return `${r}-tree-node-selected`;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* The name of the custom event fired when a node is toggled
|
|
185
|
-
*/
|
|
186
|
-
static get eventToggled() {
|
|
187
|
-
return `${r}-tree-node-toggled`;
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
c.styles = q;
|
|
191
|
-
a([
|
|
192
|
-
f({ type: Boolean, reflect: !0 })
|
|
193
|
-
], c.prototype, "active", void 0);
|
|
194
|
-
a([
|
|
195
|
-
f({ type: Boolean, reflect: !0 })
|
|
196
|
-
], c.prototype, "disabled", void 0);
|
|
197
|
-
a([
|
|
198
|
-
E()
|
|
199
|
-
], c.prototype, "_depth", void 0);
|
|
200
|
-
a([
|
|
201
|
-
f({ type: Boolean, attribute: "is-expanded" })
|
|
202
|
-
], c.prototype, "isExpanded", void 0);
|
|
203
|
-
a([
|
|
204
|
-
f({})
|
|
205
|
-
], c.prototype, "href", void 0);
|
|
206
|
-
a([
|
|
207
|
-
f({})
|
|
208
|
-
], c.prototype, "id", void 0);
|
|
209
|
-
a([
|
|
210
|
-
f({})
|
|
211
|
-
], c.prototype, "label", void 0);
|
|
212
|
-
a([
|
|
213
|
-
f({ type: Boolean, reflect: !0 })
|
|
214
|
-
], c.prototype, "selected", void 0);
|
|
215
|
-
a([
|
|
216
|
-
f({ type: Function })
|
|
217
|
-
], c.prototype, "onClick", void 0);
|
|
218
|
-
c = a([
|
|
219
|
-
S(`${r}-tree-node`)
|
|
220
|
-
], c);
|
|
221
|
-
/**
|
|
222
|
-
* @license
|
|
223
|
-
*
|
|
224
|
-
* Copyright IBM Corp. 2025, 2025
|
|
225
|
-
*
|
|
226
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
227
|
-
* LICENSE file in the root directory of this source tree.
|
|
228
|
-
*/
|
|
229
|
-
var y;
|
|
230
|
-
(function(m) {
|
|
231
|
-
m.SMALL = "sm", m.EXTRA_SMALL = "xs";
|
|
232
|
-
})(y || (y = {}));
|
|
233
|
-
/**
|
|
234
|
-
* @license
|
|
235
|
-
*
|
|
236
|
-
* Copyright IBM Corp. 2025, 2025
|
|
237
|
-
*
|
|
238
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
239
|
-
* LICENSE file in the root directory of this source tree.
|
|
240
|
-
*/
|
|
241
|
-
var _;
|
|
242
|
-
let p = _ = class extends T($) {
|
|
243
|
-
constructor() {
|
|
244
|
-
super(...arguments), this.hideLabel = !1, this.size = y.SMALL, this._click = ({ target: e }) => {
|
|
245
|
-
if (e.disabled)
|
|
246
|
-
return;
|
|
247
|
-
this.querySelectorAll(_.selectorTreeNode).forEach((t) => {
|
|
248
|
-
var o;
|
|
249
|
-
const s = t === e, n = t.hasAttribute("href"), l = n ? (o = t.shadowRoot) === null || o === void 0 ? void 0 : o.querySelector("a") : t;
|
|
250
|
-
t.selected = s, t.active = s, s ? l.setAttribute("tabindex", "0") : n ? l.setAttribute("tabindex", "-1") : l.removeAttribute("tabindex");
|
|
251
|
-
});
|
|
252
|
-
}, this._handleKeyDown = (e) => {
|
|
253
|
-
const { key: d } = e, t = Array.from(this.querySelectorAll(_.selectorTreeNode)).filter((i) => i.checkVisibility() && !i.hasAttribute("disabled")), o = Array.from(this.querySelectorAll(_.selectorTreeNode)).filter((i) => !i.hasAttribute("disabled")), s = t[0].href, n = t.findIndex((i) => {
|
|
254
|
-
var h;
|
|
255
|
-
return s ? (
|
|
256
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
257
|
-
((h = i.shadowRoot) === null || h === void 0 ? void 0 : h.querySelector("a").getAttribute("tabindex")) === "0"
|
|
258
|
-
) : i.getAttribute("tabindex") === "0";
|
|
259
|
-
});
|
|
260
|
-
let l = n;
|
|
261
|
-
switch (d) {
|
|
262
|
-
case "ArrowDown":
|
|
263
|
-
l = Math.min(n + 1, t.length - 1);
|
|
264
|
-
break;
|
|
265
|
-
case "ArrowUp":
|
|
266
|
-
l = Math.max(n - 1, 0);
|
|
267
|
-
break;
|
|
268
|
-
case "Home":
|
|
269
|
-
l = 0;
|
|
270
|
-
break;
|
|
271
|
-
case "End":
|
|
272
|
-
l = t.length - 1;
|
|
273
|
-
break;
|
|
274
|
-
case "Enter":
|
|
275
|
-
case " ":
|
|
276
|
-
e.preventDefault(), o.forEach((i) => {
|
|
277
|
-
i.selected = !1, i.active = !1;
|
|
278
|
-
}), t[n].selected = !0, t[n].active = !0;
|
|
279
|
-
break;
|
|
280
|
-
case "ArrowRight":
|
|
281
|
-
t[n].hasAttribute("parent") && (t[n].isExpanded = !0, t[n].setAttribute("aria-expanded", "true"));
|
|
282
|
-
break;
|
|
283
|
-
case "ArrowLeft":
|
|
284
|
-
if (t[n].hasAttribute("parent"))
|
|
285
|
-
t[n].isExpanded = !1, t[n].setAttribute("aria-expanded", "false");
|
|
286
|
-
else {
|
|
287
|
-
const i = t.findIndex((h) => h === t[n].parentElement);
|
|
288
|
-
l = i === -1 ? n : i;
|
|
289
|
-
}
|
|
290
|
-
break;
|
|
291
|
-
}
|
|
292
|
-
if (l !== n) {
|
|
293
|
-
t.forEach((h) => {
|
|
294
|
-
var u;
|
|
295
|
-
s ? (u = h.shadowRoot) === null || u === void 0 || u.querySelector("a").setAttribute("tabindex", "-1") : h.removeAttribute("tabindex");
|
|
296
|
-
});
|
|
297
|
-
const i = s ? (
|
|
298
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
299
|
-
t[l].shadowRoot.querySelector("a")
|
|
300
|
-
) : t[l];
|
|
301
|
-
i.setAttribute("tabindex", "0"), i.focus(), e.preventDefault();
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
async _setInitialFocus() {
|
|
306
|
-
await this.updateComplete;
|
|
307
|
-
const e = this.querySelectorAll(_.selectorTreeNode);
|
|
308
|
-
if (e.length > 0) {
|
|
309
|
-
const d = Array.from(e).find((o) => o.selected) || e[0];
|
|
310
|
-
(d.href ? (
|
|
311
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
312
|
-
d.shadowRoot.querySelector("a")
|
|
313
|
-
) : d).setAttribute("tabindex", "0");
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
connectedCallback() {
|
|
317
|
-
super.connectedCallback(), this.hasAttribute("role") || this.setAttribute("role", "tree"), this.hasAttribute("aria-label") || this.setAttribute("aria-label", this.label);
|
|
318
|
-
}
|
|
319
|
-
updated(e) {
|
|
320
|
-
this._setInitialFocus(), e.has("size") && this.querySelectorAll(_.selectorTreeNode).forEach((t) => {
|
|
321
|
-
t.setAttribute("size", this.size);
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
render() {
|
|
325
|
-
const { hideLabel: e, label: d, size: t } = this, o = "tree-view__label", s = v({
|
|
326
|
-
[`${r}--tree`]: !0,
|
|
327
|
-
[`${r}--tree--${t}`]: t
|
|
328
|
-
});
|
|
329
|
-
return b`
|
|
330
|
-
${e ? null : b`<label id=${o} class=${`${r}--label`}
|
|
331
|
-
>${d}
|
|
332
|
-
</label>`}
|
|
333
|
-
<ul
|
|
334
|
-
aria-label=${e ? d : void 0}
|
|
335
|
-
aria-labelledby=${e ? void 0 : o}
|
|
336
|
-
class=${s}
|
|
337
|
-
role="tree">
|
|
338
|
-
<slot><slot>
|
|
339
|
-
</ul>
|
|
340
|
-
`;
|
|
341
|
-
}
|
|
342
|
-
static get selectorTreeNode() {
|
|
343
|
-
return `${r}-tree-node`;
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
p.styles = q;
|
|
347
|
-
a([
|
|
348
|
-
f({ type: Boolean, attribute: "hide-label" })
|
|
349
|
-
], p.prototype, "hideLabel", void 0);
|
|
350
|
-
a([
|
|
351
|
-
f()
|
|
352
|
-
], p.prototype, "label", void 0);
|
|
353
|
-
a([
|
|
354
|
-
f({ reflect: !0 })
|
|
355
|
-
], p.prototype, "size", void 0);
|
|
356
|
-
a([
|
|
357
|
-
A("click")
|
|
358
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
359
|
-
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
360
|
-
], p.prototype, "_click", void 0);
|
|
361
|
-
a([
|
|
362
|
-
A("keydown")
|
|
363
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452
|
|
364
|
-
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
365
|
-
], p.prototype, "_handleKeyDown", void 0);
|
|
366
|
-
p = _ = a([
|
|
367
|
-
S(`${r}-tree-view`)
|
|
368
|
-
], p);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";const k=require("./checkbox-B_b_oOJ5.js"),r=require("./tslib.es6-B07k2eac.js"),T=require("./class-map-BwrbvkxB.js"),n=require("./main-CZIPBRMI.js"),i=require("./property-BIgIlh0E.js"),e=require("./settings-Bgpv8zuU.js"),A=require("./16-4Ffg4DOO.js"),E=require("./16-CpNRIuiB.js"),y=require("./icon-loader-C_ze306U.js"),m=require("./carbon-element-CbfPUYRT.js");var f;(function(p){p.HORIZONTAL="horizontal",p.VERTICAL="vertical"})(f||(f={}));let t=class extends n.i{constructor(){super(...arguments),this.orientation=f.VERTICAL,this.readonly=!1,this.warn=!1,this.warnText="",this._hasAILabel=!1}_handleSlotChange({target:l}){const s=l.assignedNodes().filter(a=>a.matches!==void 0?a.matches(this.constructor.aiLabelItem)||a.matches(this.constructor.slugItem):!1);this._hasAILabel=!!s,s[0].setAttribute("size","mini"),this.requestUpdate()}updated(l){const{selectorCheckbox:s}=this.constructor,a=this.querySelectorAll(s);if(["disabled","readonly","orientation"].forEach(o=>{if(l.has(o)){const{[o]:c}=this;a.forEach(u=>{u[o]=c})}}),l.has("invalid")){const{invalid:o}=this;a.forEach(c=>{o?c.setAttribute("invalid-group",""):c.removeAttribute("invalid-group")})}}render(){const{ariaLabelledBy:l,disabled:s,helperText:a,invalid:o,invalidText:c,legendId:u,legendText:S,orientation:h,readonly:d,warn:x,warnText:C,_hasAILabel:I,_handleSlotChange:b}=this,_=!d&&!o&&x,q=!o&&!x,L=Math.random().toString(16).slice(2),$=a?`checkbox-group-helper-text-${L}`:void 0,v=a?n.x` <div id="${$}" class="${e.prefix}--form__helper-text">
|
|
2
|
-
${a}
|
|
3
|
-
</div>`:null,w=T.e({[`${e.prefix}--checkbox-group`]:!0,[`${e.prefix}--checkbox-group--readonly`]:d,[`${e.prefix}--checkbox-group--invalid`]:!d&&o,[`${e.prefix}--checkbox-group--warning`]:_,[`${e.prefix}--checkbox-group--slug`]:I,[`${e.prefix}--checkbox-group--${h}`]:h==="horizontal"});return n.x`
|
|
4
|
-
<fieldset
|
|
5
|
-
class="${w}"
|
|
6
|
-
?data-invalid=${o}
|
|
7
|
-
?disabled=${s}
|
|
8
|
-
aria-disabled=${d}
|
|
9
|
-
?aria-labelledby=${l||u}
|
|
10
|
-
?aria-describedby=${!o&&!x&&v?$:void 0}
|
|
11
|
-
orientation=${h}>
|
|
12
|
-
<legend class="${e.prefix}--label" id=${u||l}>
|
|
13
|
-
${S}
|
|
14
|
-
<slot name="ai-label" @slotchange="${b}"></slot>
|
|
15
|
-
<slot name="decorator" @slotchange="${b}"></slot>
|
|
16
|
-
<slot name="slug" @slotchange="${b}"></slot>
|
|
17
|
-
</legend>
|
|
18
|
-
<slot></slot>
|
|
19
|
-
<div class="${e.prefix}--checkbox-group__validation-msg">
|
|
20
|
-
${!d&&o?n.x`
|
|
21
|
-
${y.iconLoader(A._16,{class:`${e.prefix}--checkbox__invalid-icon`})}
|
|
22
|
-
<div class="${e.prefix}--form-requirement">${c}</div>
|
|
23
|
-
`:null}
|
|
24
|
-
${_?n.x`
|
|
25
|
-
${y.iconLoader(E._16,{class:`${e.prefix}--checkbox__invalid-icon ${e.prefix}--checkbox__invalid-icon--warning`})}
|
|
26
|
-
<div class="${e.prefix}--form-requirement">${C}</div>
|
|
27
|
-
`:null}
|
|
28
|
-
</div>
|
|
29
|
-
${q?v:null}
|
|
30
|
-
</fieldset>
|
|
31
|
-
`}static get selectorCheckbox(){return`${e.prefix}-checkbox`}static get slugItem(){return`${e.prefix}-slug`}static get aiLabelItem(){return`${e.prefix}-ai-label`}};t.shadowRootOptions=Object.assign(Object.assign({},n.i.shadowRootOptions),{delegatesFocus:!0});t.styles=k.styles;r.__decorate([i.n({type:String,reflect:!0,attribute:"aria-labelledby"})],t.prototype,"ariaLabelledBy",void 0);r.__decorate([i.n({type:Boolean})],t.prototype,"disabled",void 0);r.__decorate([i.n({type:String,reflect:!0,attribute:"helper-text"})],t.prototype,"helperText",void 0);r.__decorate([i.n({type:Boolean,attribute:"invalid"})],t.prototype,"invalid",void 0);r.__decorate([i.n({type:String,reflect:!0,attribute:"invalid-text"})],t.prototype,"invalidText",void 0);r.__decorate([i.n({type:String,reflect:!0,attribute:"legend-id"})],t.prototype,"legendId",void 0);r.__decorate([i.n({type:String,reflect:!0,attribute:"legend-text"})],t.prototype,"legendText",void 0);r.__decorate([i.n({type:String,reflect:!0,attribute:"orientation"})],t.prototype,"orientation",void 0);r.__decorate([i.n({type:Boolean,reflect:!0})],t.prototype,"readonly",void 0);r.__decorate([i.n({type:Boolean,reflect:!0})],t.prototype,"warn",void 0);r.__decorate([i.n({type:String,reflect:!0,attribute:"warn-text"})],t.prototype,"warnText",void 0);t=r.__decorate([m.carbonElement(`${e.prefix}-checkbox-group`)],t);let g=class extends n.i{render(){return n.x`
|
|
32
|
-
<label class="${e.prefix}--checkbox-label" for="checkbox" part="label">
|
|
33
|
-
<span class="${e.prefix}--checkbox-label-text ${e.prefix}--skeleton"
|
|
34
|
-
><slot></slot
|
|
35
|
-
></span>
|
|
36
|
-
</label>
|
|
37
|
-
`}};g.styles=k.styles;g=r.__decorate([m.carbonElement(`${e.prefix}-checkbox-skeleton`)],g);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require("./tooltip-content-BV1N7BVi.js");require("./content-switcher-item-c0sXBGJ-.js");
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./tslib.es6-B07k2eac.js"),d=require("./main-CZIPBRMI.js"),p=require("./property-BIgIlh0E.js"),S=require("./carbon-element-CbfPUYRT.js"),n=require("./class-map-BwrbvkxB.js"),e=require("./settings-Bgpv8zuU.js"),y=require("./text-input-BUBwT5gK.js"),G=require("./16-4Ffg4DOO.js"),J=require("./16-CpNRIuiB.js"),m=require("./icon-loader-C_ze306U.js"),g=require("./if-non-empty-Dp8CFMva.js");require("./tooltip-content-BV1N7BVi.js");require("./index-BJNdKx6x.js");require("./shared-enums-BJDDuJr7.js");var D=d.i$1(['.cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-background:var(--cds-layer-background-01,#fff);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-background:var(--cds-layer-background-02,#f4f4f4);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-background:var(--cds-layer-background-03,#fff);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}.cds--layer-one.cds--layer__with-background,.cds--layer-three.cds--layer__with-background,.cds--layer-two.cds--layer__with-background{background-color:var(--cds-layer-background)}@keyframes cds--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds--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}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--fieldset *,.cds--fieldset :after,.cds--fieldset :before{box-sizing:inherit}.cds--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.cds--label html{font-size:100%}.cds--label body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--label strong{font-weight:600}.cds--label{color:var(--cds-text-secondary,#525252);display:inline-block;font-weight:var(--cds-label-01-font-weight,400);font-weight:400;line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin-block-end:.5rem;vertical-align:baseline}.cds--label,.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label .cds--toggletip-label{font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label--no-margin{margin-block-end:0}.cds--label+.cds--tooltip{inset-block-start:.2rem;inset-inline-start:.5rem;position:relative}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;vertical-align:baseline}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger :after,.cds--label+.cds--tooltip .cds--tooltip__trigger :before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;cursor:pointer;display:inline-block;inline-size:100%;padding:0;text-align:start}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger{align-items:center;display:flex;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);justify-content:center;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{inset-block-start:.2rem;inset-inline-start:.5rem}.cds--label.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);border:none;box-shadow:none;padding:0;pointer-events:none;position:relative}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--label.cds--skeleton:before{animation:cds--skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;inset-inline-start:0;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--label.cds--skeleton{background:CanvasText}.cds--label.cds--skeleton:before{background:Canvas;forced-color-adjust:none}}.cds--label.cds--skeleton{block-size:.875rem;inline-size:4.6875rem}input[type=number],input[type=text].cds--number{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused,.cds--combo-box--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--number[data-invalid] input[type=text]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker--warning~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--select--inline.cds--select--warning .cds--select-input--inline__wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement{display:inline-flex;inline-size:100%;margin:0;margin-block-end:0;max-block-size:100%;overflow:visible;padding-inline-start:.5rem}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input--inline__wrapper[data-invalid]~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:none}.cds--form--fluid .cds--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output,[data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--form-requirement strong{font-weight:600}.cds--form-requirement{display:none;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);margin:.25rem 0 0;max-block-size:0;overflow:hidden}.cds--select--inline .cds--form__helper-text{margin-block-start:0}.cds--form__helper-text{color:var(--cds-text-helper,#6f6f6f);font-size:var(--cds-helper-text-01-font-size,.75rem);inline-size:100%;letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-block-start:.25rem;opacity:1;z-index:0}.cds--form__helper-text--disabled,.cds--label--disabled,fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--layout--size-xs{--cds-layout-size-height-context:var(--cds-layout-size-height-xs,1.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-xs{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xs,1.5rem))}.cds--layout-constraint--size__min-xs{--cds-layout-size-height-min:var(--cds-layout-size-height-xs,1.5rem)}.cds--layout-constraint--size__max-xs{--cds-layout-size-height-max:var(--cds-layout-size-height-xs,1.5rem)}.cds--layout--size-sm{--cds-layout-size-height-context:var(--cds-layout-size-height-sm,2rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-sm{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-sm,2rem))}.cds--layout-constraint--size__min-sm{--cds-layout-size-height-min:var(--cds-layout-size-height-sm,2rem)}.cds--layout-constraint--size__max-sm{--cds-layout-size-height-max:var(--cds-layout-size-height-sm,2rem)}.cds--layout--size-md{--cds-layout-size-height-context:var(--cds-layout-size-height-md,2.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-md{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-md,2.5rem))}.cds--layout-constraint--size__min-md{--cds-layout-size-height-min:var(--cds-layout-size-height-md,2.5rem)}.cds--layout-constraint--size__max-md{--cds-layout-size-height-max:var(--cds-layout-size-height-md,2.5rem)}.cds--layout--size-lg{--cds-layout-size-height-context:var(--cds-layout-size-height-lg,3rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-lg{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-lg,3rem))}.cds--layout-constraint--size__min-lg{--cds-layout-size-height-min:var(--cds-layout-size-height-lg,3rem)}.cds--layout-constraint--size__max-lg{--cds-layout-size-height-max:var(--cds-layout-size-height-lg,3rem)}.cds--layout--size-xl{--cds-layout-size-height-context:var(--cds-layout-size-height-xl,4rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xl,4rem))}.cds--layout-constraint--size__min-xl{--cds-layout-size-height-min:var(--cds-layout-size-height-xl,4rem)}.cds--layout-constraint--size__max-xl{--cds-layout-size-height-max:var(--cds-layout-size-height-xl,4rem)}.cds--layout--size-2xl{--cds-layout-size-height-context:var(--cds-layout-size-height-2xl,5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-2xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-2xl,5rem))}.cds--layout-constraint--size__min-2xl{--cds-layout-size-height-min:var(--cds-layout-size-height-2xl,5rem)}.cds--layout-constraint--size__max-2xl{--cds-layout-size-height-max:var(--cds-layout-size-height-2xl,5rem)}.cds--layout--density-condensed{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-condensed,0.5rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds--layout-constraint--density__default-condensed{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-condensed,0.5rem))}.cds--layout-constraint--density__min-condensed{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds--layout-constraint--density__max-condensed{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds--layout--density-normal{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-normal,1rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds--layout-constraint--density__default-normal{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-normal,1rem))}.cds--layout-constraint--density__min-normal{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-normal,1rem)}.cds--layout-constraint--density__max-normal{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-normal,1rem)}:root{--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px}.cds--assistive-text,.cds--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.cds--text-input{--cds-layout-size-height-local:clamp(max(var(--cds-layout-size-height-min),var(--cds-layout-size-height-sm)),var(--cds-layout-size-height,var(--cds-layout-size-height-md)),min(var(--cds-layout-size-height-max),var(--cds-layout-size-height-lg)));--cds-layout-density-padding-inline-local:clamp(var(--cds-layout-density-padding-inline-min),var(--cds-layout-density-padding-inline,var(--cds-layout-density-padding-inline-normal)),var(--cds-layout-density-padding-inline-max));border:0;box-sizing:border-box;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--text-input *,.cds--text-input :after,.cds--text-input :before{box-sizing:inherit}.cds--text-input{background-color:var(--cds-field);block-size:var(--cds-layout-size-height-local);border:none;border-block-end:1px solid var(--cds-border-strong);color:var(--cds-text-primary,#161616);font-family:inherit;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);outline:2px solid transparent;outline-offset:-2px;padding:0 var(--cds-layout-density-padding-inline-local);transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input:active,.cds--text-input:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--text-input:active,.cds--text-input:focus{outline-style:dotted}}.cds--text-input-wrapper svg[hidden]{display:none}.cds--password-input{padding-inline-end:2.5rem}.cds--text-input--sm.cds--password-input{padding-inline-end:2rem}.cds--text-input--lg.cds--password-input{padding-inline-end:3rem}.cds--text-input::-moz-placeholder{color:var(--cds-text-placeholder,hsla(0,0%,9%,.4));opacity:1}.cds--text-input::placeholder{color:var(--cds-text-placeholder,hsla(0,0%,9%,.4));opacity:1}.cds--text-input--light{background-color:var(--cds-field-02,#fff)}.cds--text-input__field-wrapper{display:flex;inline-size:100%;position:relative}.cds--text-input__invalid-icon{position:absolute;fill:var(--cds-support-error,#da1e28);inset-block-start:50%;inset-inline-end:1rem;transform:translateY(-50%)}.cds--text-input__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--text-input__invalid-icon--warning path:first-of-type{fill:#000;opacity:1}.cds--text-input--password__visibility{align-items:center;display:inline-flex;overflow:visible;position:relative}.cds--text-input--password__visibility:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus{outline-style:dotted}}.cds--text-input--password__visibility{cursor:pointer}.cds--text-input--password__visibility:focus{outline:1px solid transparent}.cds--text-input--password__visibility:focus svg{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus svg{outline-style:dotted}}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{align-items:center;display:flex;opacity:0;pointer-events:none;position:absolute;z-index:6000}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{display:inline-block}}.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{transition:opacity 70ms cubic-bezier(.2,0,.38,.9)}@media screen and (prefers-reduced-motion:reduce){.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{transition:none}}.cds--text-input--password__visibility.cds--tooltip--a11y:after,.cds--text-input--password__visibility.cds--tooltip--a11y:before{transition:none}.cds--text-input--password__visibility:before{block-size:0;border-style:solid;content:"";inline-size:0}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text{box-sizing:content-box;color:inherit;opacity:1;white-space:normal;word-break:break-word}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{background-color:var(--cds-background-inverse,#393939);block-size:auto;border-radius:.125rem;box-shadow:0 2px 6px var(--cds-shadow,rgba(0,0,0,.3));color:var(--cds-text-inverse,#fff);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:400;font-weight:var(--cds-body-compact-01-font-weight,400);inline-size:-moz-max-content;inline-size:max-content;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);max-inline-size:13rem;min-inline-size:1.5rem;padding:.1875rem 1rem;text-align:start;transform:translateX(-50%);z-index:6000}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inline-size:auto}}@supports (-ms-accelerator:true){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inline-size:auto}}@supports (-ms-ime-align:auto){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inline-size:auto}}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{border:1px solid transparent}}.cds--text-input--password__visibility:after{content:attr(aria-label)}.cds--text-input--password__visibility.cds--tooltip--a11y:after{content:none}.cds--text-input--password__visibility.cds--tooltip--visible:after,.cds--text-input--password__visibility.cds--tooltip--visible:before,.cds--text-input--password__visibility:focus:after,.cds--text-input--password__visibility:focus:before,.cds--text-input--password__visibility:hover:after,.cds--text-input--password__visibility:hover:before{opacity:1}@keyframes cds--tooltip-fade{0%{opacity:0}to{opacity:1}}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text{margin:auto;overflow:visible;clip:auto}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible.cds--tooltip--a11y:before,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:focus.cds--tooltip--a11y:before,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text,.cds--text-input--password__visibility:hover.cds--tooltip--a11y:before{animation:cds--tooltip-fade 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input--password__visibility.cds--tooltip--hidden .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--hidden+.cds--assistive-text{margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.cds--text-input--password__visibility.cds--tooltip--hidden.cds--tooltip--a11y:before{animation:none;opacity:0}.cds--text-input--password__visibility .cds--assistive-text:after{block-size:.75rem;content:"";display:block;inline-size:100%;inset-block-start:-.75rem;inset-inline-start:0;position:absolute}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after,.cds--text-input--password__visibility:before{inset-block-end:0;inset-inline-start:50%}.cds--text-input--password__visibility:before{border-color:transparent transparent var(--cds-background-inverse,#393939);border-width:0 .25rem .3125rem;inset-block-end:-.5rem;transform:translate(-50%,100%)}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility:after{inset-block-end:-.8125rem;transform:translate(-50%,100%)}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{align-items:center;background:none;block-size:100%;border:0;cursor:pointer;display:flex;inline-size:2.5rem;inset-inline-end:0;justify-content:center;min-block-size:auto;outline:2px solid transparent;outline-offset:-2px;padding:0;position:absolute;transition:outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--toggle-password-tooltip .cds--popover{inset-inline-start:-2.5rem}.cds--toggle-password-tooltip .cds--popover-content{min-inline-size:2.5rem}.cds--text-input--sm+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{inline-size:2rem}.cds--text-input--lg+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{inline-size:3rem}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252);transition:fill 70ms cubic-bezier(.2,0,.38,.9)}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline-style:dotted}}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus svg,.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:hover svg{fill:var(--cds-icon-primary,#161616)}.cds--text-input--invalid,.cds--text-input--warning{padding-inline-end:2.5rem}.cds--text-input--invalid.cds--password-input{padding-inline-end:4rem}.cds--text-input--invalid+.cds--text-input--password__visibility__toggle{inset-inline-end:1rem}.cds--password-input-wrapper .cds--text-input__invalid-icon{inset-inline-end:2.5rem}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{cursor:not-allowed}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger svg,.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg,.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg:hover{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger{cursor:default}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger:hover svg{fill:var(--cds-icon-disabled,hsla(0,0%,9%,.25))}.cds--text-input--password__visibility__toggle:disabled.cds--tooltip__trigger:hover{cursor:default}.cds--text-input__counter-alert{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px}.cds--text-input:disabled{background-color:var(--cds-field);border-block-end:1px solid transparent;color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed;outline:2px solid transparent;outline-offset:-2px;-webkit-text-fill-color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}.cds--text-input--light:disabled{background-color:var(--cds-field-02,#fff)}.cds--text-input:disabled::-moz-placeholder{color:var(--cds-text-disabled,hsla(0,0%,9%,.25));opacity:1}.cds--text-input:disabled::placeholder{color:var(--cds-text-disabled,hsla(0,0%,9%,.25));opacity:1}.cds--text-input--invalid{outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--text-input--invalid{outline-style:dotted}}.cds--text-input--invalid{box-shadow:none}.cds--text-input--invalid .cds--text-input--password__visibility__toggle{inset-inline-end:2.5rem}.cds--skeleton.cds--text-input{background:var(--cds-skeleton-background,#e8e8e8);border:none;box-shadow:none;padding:0;pointer-events:none;position:relative}.cds--skeleton.cds--text-input:active,.cds--skeleton.cds--text-input:focus,.cds--skeleton.cds--text-input:hover{border:none;cursor:default;outline:none}.cds--skeleton.cds--text-input:before{animation:cds--skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;inset-inline-start:0;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--skeleton.cds--text-input:before{animation:none}}@media (forced-colors:active),screen and (-ms-high-contrast:active){.cds--skeleton.cds--text-input{background:CanvasText}.cds--skeleton.cds--text-input:before{background:Canvas;forced-color-adjust:none}}.cds--form--fluid .cds--text-input-wrapper{background:var(--cds-field);position:relative;transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--form--fluid .cds--label{align-items:center;block-size:1rem;display:flex;inset-block-start:.8125rem;inset-inline-start:1rem;margin:0;position:absolute;z-index:1}.cds--form--fluid .cds--form__helper-text{display:none}.cds--form--fluid .cds--text-input{min-block-size:4rem;padding:2rem 1rem .8125rem}.cds--form--fluid .cds--text-input__divider,.cds--text-input__divider{display:none}.cds--form--fluid .cds--text-input--invalid,.cds--form--fluid .cds--text-input--warning{border-block-end:none}.cds--form--fluid .cds--text-input--invalid+.cds--text-input__divider,.cds--form--fluid .cds--text-input--warning+.cds--text-input__divider{border-color:var(--cds-border-subtle);border-style:solid;border-block-end:none;display:block;margin:0 1rem}.cds--form--fluid .cds--text-input__invalid-icon{inset-block-start:5rem}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid{outline:none}.cds--form--fluid .cds--text-input__field-wrapper--warning{border-block-end:1px solid var(--cds-border-strong)}.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning:focus,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:focus{outline:none}.cds--text-input-wrapper.cds--text-input-wrapper--inline{flex-flow:row wrap}.cds--text-input-wrapper .cds--label--inline{flex:1;margin:.8125rem 0 0;overflow-wrap:break-word;word-break:break-word}.cds--text-input-wrapper .cds--label--inline--sm{margin-block-start:.5625rem}.cds--text-input-wrapper .cds--label--inline--lg{margin-block-start:1.0625rem}.cds--text-input__label-helper-wrapper{flex:2;flex-direction:column;margin-inline-end:1.5rem;max-inline-size:8rem;overflow-wrap:break-word}.cds--text-input-wrapper .cds--form__helper-text--inline{margin-block-start:.125rem}.cds--text-input__field-outer-wrapper{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;inline-size:100%}.cds--text-input__field-outer-wrapper--inline{flex:8;flex-direction:column}.cds--text-input-wrapper--inline .cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--text-input-wrapper--inline--invalid .cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input-wrapper--readonly,.cds--text-input-wrapper--readonly .cds--text-input{background:transparent;border-block-end-color:var(--cds-border-subtle)}.cds--text-input__field-wrapper .cds--ai-label,.cds--text-input__field-wrapper .cds--slug,.cds--text-input__field-wrapper--decorator .cds--text-input__field-inner-wrapper--decorator>*{inset-block-start:50%;inset-inline-end:1rem;position:absolute;transform:translateY(-50%)}.cds--text-input__field-wrapper--decorator .cds--text-input:has(~.cds--text-input__field-inner-wrapper--decorator .cds--ai-label):not(:has(~.cds--text-input__field-inner-wrapper--decorator .cds--ai-label--revert)),.cds--text-input__field-wrapper--slug .cds--text-input:has(~.cds--ai-label):not(:has(~.cds--ai-label--revert)),.cds--text-input__field-wrapper--slug .cds--text-input:has(~.cds--slug):not(:has(~.cds--slug--revert)){background-image:linear-gradient(0deg,var(--cds-ai-aura-start-sm,rgba(69,137,255,.16)) 0,15%,var(--cds-ai-aura-end,hsla(0,0%,100%,0)) 50%,transparent 100%);border-block-end-color:var(--cds-ai-border-strong,#4589ff)}.cds--text-input__field-wrapper--decorator .cds--text-input:has(~.cds--text-input__field-inner-wrapper--decorator>*),.cds--text-input__field-wrapper--slug .cds--text-input:has(~.cds--ai-label),.cds--text-input__field-wrapper--slug .cds--text-input:has(~.cds--slug){padding-inline-end:2.5rem}.cds--text-input--invalid:has(~.cds--ai-label),.cds--text-input--invalid:has(~.cds--slug),.cds--text-input--invalid:has(~.cds--text-input__field-inner-wrapper--decorator>*),.cds--text-input--warning:has(~.cds--ai-label),.cds--text-input--warning:has(~.cds--slug),.cds--text-input--warning:has(~.cds--text-input__field-inner-wrapper--decorator>*){padding-inline-end:4rem}.cds--text-input--invalid~.cds--ai-label,.cds--text-input--invalid~.cds--slug,.cds--text-input--invalid~.cds--text-input__field-inner-wrapper--decorator>*,.cds--text-input--warning~.cds--ai-label,.cds--text-input--warning~.cds--slug,.cds--text-input--warning~.cds--text-input__field-inner-wrapper--decorator>*{inset-inline-end:2.5rem}.cds--text-input__field-wrapper--decorator .cds--text-input__field-inner-wrapper--decorator:not(:has(.cds--ai-label))>*{block-size:1rem}.cds--text-input__label-wrapper{display:flex;inline-size:100%;justify-content:space-between}:host(cds-password-input){--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px;inline-size:100%;outline:none;padding-inline-end:2.5rem}:host(cds-password-input) .cds--text-input__invalid-icon{inset-inline-end:2.5rem}:host(cds-password-input) .cds--icon-visibility-off,:host(cds-password-input) .cds--icon-visibility-on{vertical-align:middle}:host(cds-password-input) ::slotted(cds-slug){inset-block-start:50%;inset-inline-end:1rem;position:absolute}:host(cds-password-input) ::slotted(cds-slug:not([revert-active])){transform:translateY(-50%)}:host(cds-passsword-input[invalid]) .cds--text-input__field-wrapper--slug .cds--text-input,:host(cds-password-input[warn]) .cds--text-input__field-wrapper--slug .cds--text-input{padding-inline-end:4rem}:host(cds-passsword-input[invalid]) ::slotted(cds-slug),:host(cds-password-input[warn]) ::slotted(cds-slug){inset-inline-end:2.5rem}:host(cds-passsword-input[invalid]) cds--text-input__field-wrapper,:host(cds-password-input[warn]) cds--text-input__field-wrapper{position:relative}cds-tooltip::part(popover-container){block-size:100%;inline-size:100%}.cds--btn--icon-only{background-color:transparent;block-size:100%;border:none;cursor:pointer;inline-size:100%}.cds--btn--icon-only:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--btn--icon-only:focus{outline-style:dotted}}']),q;(function(i){i.SMALL="sm",i.MEDIUM="md",i.LARGE="lg"})(q||(q={}));var c;(function(i){i.START="start",i.CENTER="center",i.END="end"})(c||(c={}));var x;(function(i){i.TOP="top",i.RIGHT="right",i.BOTTOM="bottom",i.LEFT="left"})(x||(x={}));var o;(function(i){i.PASSWORD="password",i.TEXT="text"})(o||(o={}));let r=class extends y.CDSTextInput$1{constructor(){super(...arguments),this.hidePasswordLabel="Hide password",this.showPasswordLabel="Show password",this.type=o.PASSWORD,this.tooltipAlignment=c.CENTER,this.tooltipDirection=x.BOTTOM}_handleInput({target:l}){this.value=l.value}handleTogglePasswordVisibility(){this.disabled||this.readonly||(this.type=this.type===o.PASSWORD?o.TEXT:o.PASSWORD)}render(){const{disabled:l,helperText:h,hideLabel:T,inline:u,invalid:v,invalidText:C,label:M,readonly:s,required:P,size:b,type:w,warn:E,warnText:L,_handleInput:R,_handleSlotChange:A}=this,B=m.iconLoader(G._16,{class:`${e.prefix}--text-input__invalid-icon`}),F=m.iconLoader(J._16,{class:`${e.prefix}--text-input__invalid-icon ${e.prefix}--text-input__invalid-icon--warning`}),t={disabled:!s&&l,invalid:!s&&v,warn:!s&&!v&&E,"slot-name":"","slot-text":"",icon:null};t.invalid?(t.icon=B,t["slot-name"]="invalid-text",t["slot-text"]=C):t.warn&&(t.icon=F,t["slot-name"]="warn-text",t["slot-text"]=L);const X=n.e({[`${e.prefix}--form-item`]:!0,[`${e.prefix}--text-input-wrapper`]:!0,[`${e.prefix}--password-input-wrapper`]:!0,[`${e.prefix}--text-input-wrapper--inline`]:u,[`${e.prefix}--text-input-wrapper--readonly`]:s,[`${e.prefix}--text-input-wrapper--inline--invalid`]:u&&t.invalid}),O=n.e({[`${e.prefix}--text-input`]:!0,[`${e.prefix}--text-input--invalid`]:t.invalid,[`${e.prefix}--text-input--warning`]:t.warn,[`${e.prefix}--text-input--${b}`]:b,[`${e.prefix}--layout--size-${b}`]:b,[`${e.prefix}--password-input`]:!0}),W=n.e({[`${e.prefix}--text-input__field-outer-wrapper`]:!0,[`${e.prefix}--text-input__field-outer-wrapper--inline`]:u}),I=n.e({[`${e.prefix}--text-input__field-wrapper`]:!0,[`${e.prefix}--text-input__field-wrapper--warning`]:t.warn}),j=n.e({[`${e.prefix}--label`]:!0,[`${e.prefix}--visually-hidden`]:T,[`${e.prefix}--label--disabled`]:t.disabled}),N=n.e({[`${e.prefix}--form__helper-text`]:!0,[`${e.prefix}--form__helper-text--disabled`]:t.disabled}),z=w!==o.PASSWORD,V=z?m.iconLoader(y._16,{class:`${e.prefix}--icon-visibility-off`}):m.iconLoader(y._16$1,{class:`${e.prefix}--icon-visibility-on`}),Y=n.e({[`${e.prefix}--text-input--password__visibility__toggle`]:!0,[`${e.prefix}--btn`]:!0,[`${e.prefix}--tooltip__trigger`]:!0,[`${e.prefix}--tooltip--a11y`]:!0,[`${e.prefix}--toggle-password-tooltip`]:!0,[`${e.prefix}--btn--disabled`]:t.disabled||s,[`${e.prefix}--tooltip--${this.tooltipDirection}`]:this.tooltipDirection,[`${e.prefix}--tooltip--align-${this.tooltipAlignment}`]:this.tooltipAlignment}),H=n.e({[`${e.prefix}--text-input--password__visibility__toggle`]:!0,[`${e.prefix}--btn--icon-only`]:!0,[`${e.prefix}--tooltip__trigger`]:!0,[`${e.prefix}--tooltip--a11y`]:!0,[`${e.prefix}--toggle-password-tooltip`]:!0,[`${e.prefix}--btn--disabled`]:t.disabled||s}),k=d.x`<div class="${e.prefix}--text-input__label-wrapper">
|
|
2
|
-
<label class="${j}"> ${M} </label>
|
|
3
|
-
</div>`,$=h?d.x`<div
|
|
4
|
-
class="${N}"
|
|
5
|
-
id="helper-text"
|
|
6
|
-
?hidden="${t.invalid||t.warn}">
|
|
7
|
-
<slot name="helper-text"> ${h} </slot>
|
|
8
|
-
</div>`:null;let f="";return(this.tooltipDirection===x.TOP||this.tooltipDirection===x.BOTTOM)&&(this.tooltipAlignment===c.CENTER&&(f=this.tooltipDirection),this.tooltipAlignment===c.END&&(f=`${this.tooltipDirection}-right`),this.tooltipAlignment===c.START&&(f=`${this.tooltipDirection}-left`)),(this.tooltipDirection==="right"||this.tooltipDirection==="left")&&(f=this.tooltipDirection),d.x`
|
|
9
|
-
<div class="${X}">
|
|
10
|
-
${u?d.x`<div class="${e.prefix}--text-input__label-helper-wrapper">
|
|
11
|
-
${k} ${$}
|
|
12
|
-
</div>`:k}
|
|
13
|
-
<div class="${W}">
|
|
14
|
-
<div class="${I}" ?data-invalid="${v}">
|
|
15
|
-
${t.icon}
|
|
16
|
-
<input
|
|
17
|
-
?autofocus="${this.autofocus}"
|
|
18
|
-
class="${O}"
|
|
19
|
-
?data-invalid="${v}"
|
|
20
|
-
?disabled="${l}"
|
|
21
|
-
aria-describedby="helper-text"
|
|
22
|
-
id="input"
|
|
23
|
-
name="${g.ifNonEmpty(this.name)}"
|
|
24
|
-
pattern="${g.ifNonEmpty(this.pattern)}"
|
|
25
|
-
placeholder="${g.ifNonEmpty(this.placeholder)}"
|
|
26
|
-
?readonly="${s}"
|
|
27
|
-
?required="${P}"
|
|
28
|
-
type="${g.ifNonEmpty(w)}"
|
|
29
|
-
.value="${this._value}"
|
|
30
|
-
@input="${R}" />
|
|
31
|
-
<slot name="slug" @slotchange="${A}"></slot>
|
|
32
|
-
<cds-tooltip
|
|
33
|
-
align="${f}"
|
|
34
|
-
class="${Y}"
|
|
35
|
-
?disabled="${t.disabled||s}">
|
|
36
|
-
<button
|
|
37
|
-
?disabled="${t.disabled||s}"
|
|
38
|
-
type="button"
|
|
39
|
-
role="button"
|
|
40
|
-
class="${H}"
|
|
41
|
-
aria-labelledby="content"
|
|
42
|
-
@click="${this.handleTogglePasswordVisibility}">
|
|
43
|
-
${V}
|
|
44
|
-
</button>
|
|
45
|
-
<cds-tooltip-content
|
|
46
|
-
id="content"
|
|
47
|
-
?hidden="${t.disabled||s}">
|
|
48
|
-
${z?this.hidePasswordLabel:this.showPasswordLabel}
|
|
49
|
-
</cds-tooltip-content>
|
|
50
|
-
</cds-tooltip>
|
|
51
|
-
</div>
|
|
52
|
-
${u?null:$}
|
|
53
|
-
<div
|
|
54
|
-
class="${e.prefix}--form-requirement"
|
|
55
|
-
?hidden="${!t.invalid&&!t.warn}">
|
|
56
|
-
<slot name="${t["slot-name"]}">
|
|
57
|
-
${t["slot-text"]}
|
|
58
|
-
</slot>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
`}static get slugItem(){return`${e.prefix}-slug`}};r.shadowRootOptions=Object.assign(Object.assign({},d.i.shadowRootOptions),{delegatesFocus:!0});r.styles=D;a.__decorate([p.n({type:String,attribute:"hide-password-label",reflect:!0})],r.prototype,"hidePasswordLabel",void 0);a.__decorate([p.n({type:String,attribute:"show-password-label",reflect:!0})],r.prototype,"showPasswordLabel",void 0);a.__decorate([p.n({reflect:!0})],r.prototype,"type",void 0);a.__decorate([p.n({type:String,attribute:"tooltip-alignment",reflect:!0})],r.prototype,"tooltipAlignment",void 0);a.__decorate([p.n({type:String,attribute:"tooltip-position",reflect:!0})],r.prototype,"tooltipDirection",void 0);r=a.__decorate([S.carbonElement(`${e.prefix}-password-input`)],r);let _=class extends d.i{constructor(){super(...arguments),this.hideLabel=!1}render(){const{hideLabel:l}=this;return d.x`
|
|
63
|
-
${!l&&d.x` <span class="${e.prefix}--label ${e.prefix}--skeleton"></span> `}
|
|
64
|
-
<div class="${e.prefix}--text-input ${e.prefix}--skeleton"></div>
|
|
65
|
-
`}};_.styles=D;a.__decorate([p.n({type:Boolean,reflect:!0,attribute:"hide-label"})],_.prototype,"hideLabel",void 0);_=a.__decorate([S.carbonElement(`${e.prefix}-password-input-skeleton`)],_);
|