genesys-cloud-client-auth 0.0.2-build.37 → 0.0.2
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/LICENSE +2 -2
- package/dist/asset-manifest.json +209 -162
- package/dist/deploy-info.json +22 -0
- package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/genesys-cloud-client-auth.browser.min.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/lib/cjs/authenticator.js +3 -3
- package/dist/lib/cjs/authenticator.js.map +1 -1
- package/dist/lib/cjs/parse-redirect.js +5 -5
- package/dist/lib/cjs/parse-redirect.js.map +1 -1
- package/dist/lib/cjs/types.d.ts +1 -1
- package/dist/lib/cjs/utils.d.ts +1 -1
- package/dist/lib/cjs/utils.js +2 -2
- package/dist/lib/cjs/utils.js.map +1 -1
- package/dist/lib/es/types.d.ts +1 -1
- package/dist/lib/es/utils.d.ts +1 -1
- package/dist/static/js/0.edb27f5c.chunk.js +3 -0
- package/dist/static/js/0.edb27f5c.chunk.js.map +1 -0
- package/dist/static/js/1.fb8750f9.chunk.js +2 -0
- package/dist/static/js/1.fb8750f9.chunk.js.map +1 -0
- package/dist/static/js/10.b5f91110.chunk.js +2 -0
- package/dist/static/js/10.b5f91110.chunk.js.map +1 -0
- package/dist/static/js/11.af6f8d77.chunk.js +2 -0
- package/dist/static/js/11.af6f8d77.chunk.js.map +1 -0
- package/dist/static/js/12.e8b2c21a.chunk.js +2 -0
- package/dist/static/js/12.e8b2c21a.chunk.js.map +1 -0
- package/dist/static/js/13.765af38c.chunk.js +2 -0
- package/dist/static/js/13.765af38c.chunk.js.map +1 -0
- package/dist/static/js/14.dc24fa84.chunk.js +2 -0
- package/dist/static/js/14.dc24fa84.chunk.js.map +1 -0
- package/dist/static/js/15.9d3c5e92.chunk.js +2 -0
- package/dist/static/js/15.9d3c5e92.chunk.js.map +1 -0
- package/dist/static/js/16.17cae18f.chunk.js +2 -0
- package/dist/static/js/16.17cae18f.chunk.js.map +1 -0
- package/dist/static/js/17.37a7bd60.chunk.js +2 -0
- package/dist/static/js/17.37a7bd60.chunk.js.map +1 -0
- package/dist/static/js/18.b3d93d8e.chunk.js +2 -0
- package/dist/static/js/18.b3d93d8e.chunk.js.map +1 -0
- package/dist/static/js/19.73f2c078.chunk.js +2 -0
- package/dist/static/js/19.73f2c078.chunk.js.map +1 -0
- package/dist/static/js/20.2dc963f0.chunk.js +2 -0
- package/dist/static/js/20.2dc963f0.chunk.js.map +1 -0
- package/dist/static/js/21.4d3fc628.chunk.js +2 -0
- package/dist/static/js/21.4d3fc628.chunk.js.map +1 -0
- package/dist/static/js/22.9d2a52b5.chunk.js +2 -0
- package/dist/static/js/22.9d2a52b5.chunk.js.map +1 -0
- package/dist/static/js/23.117d10f2.chunk.js +2 -0
- package/dist/static/js/23.117d10f2.chunk.js.map +1 -0
- package/dist/static/js/24.944f1f9b.chunk.js +2 -0
- package/dist/static/js/24.944f1f9b.chunk.js.map +1 -0
- package/dist/static/js/25.8522d872.chunk.js +2 -0
- package/dist/static/js/25.8522d872.chunk.js.map +1 -0
- package/dist/static/js/26.0bd957a1.chunk.js +2 -0
- package/dist/static/js/26.0bd957a1.chunk.js.map +1 -0
- package/dist/static/js/27.887ba6f3.chunk.js +2 -0
- package/dist/static/js/27.887ba6f3.chunk.js.map +1 -0
- package/dist/static/js/28.8b92091f.chunk.js +2 -0
- package/dist/static/js/28.8b92091f.chunk.js.map +1 -0
- package/dist/static/js/29.b0a5348a.chunk.js +2 -0
- package/dist/static/js/29.b0a5348a.chunk.js.map +1 -0
- package/dist/static/js/30.d58aa4bd.chunk.js +2 -0
- package/dist/static/js/30.d58aa4bd.chunk.js.map +1 -0
- package/dist/static/js/31.8bc6fb16.chunk.js +2 -0
- package/dist/static/js/31.8bc6fb16.chunk.js.map +1 -0
- package/dist/static/js/32.a6a85c40.chunk.js +2 -0
- package/dist/static/js/32.a6a85c40.chunk.js.map +1 -0
- package/dist/static/js/33.aa473951.chunk.js +2 -0
- package/dist/static/js/33.aa473951.chunk.js.map +1 -0
- package/dist/static/js/34.dbc7a54d.chunk.js +2 -0
- package/dist/static/js/34.dbc7a54d.chunk.js.map +1 -0
- package/dist/static/js/35.2b41332a.chunk.js +2 -0
- package/dist/static/js/35.2b41332a.chunk.js.map +1 -0
- package/dist/static/js/36.66a918eb.chunk.js +2 -0
- package/dist/static/js/36.66a918eb.chunk.js.map +1 -0
- package/dist/static/js/37.880d376e.chunk.js +3 -0
- package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 37.880d376e.chunk.js.LICENSE.txt} +1 -1
- package/dist/static/js/37.880d376e.chunk.js.map +1 -0
- package/dist/static/js/38.3d8185bb.chunk.js +2 -0
- package/dist/static/js/38.3d8185bb.chunk.js.map +1 -0
- package/dist/static/js/39.754ffdce.chunk.js +2 -0
- package/dist/static/js/39.754ffdce.chunk.js.map +1 -0
- package/dist/static/js/40.8d53c8c4.chunk.js +2 -0
- package/dist/static/js/40.8d53c8c4.chunk.js.map +1 -0
- package/dist/static/js/41.4a3fc180.chunk.js +2 -0
- package/dist/static/js/41.4a3fc180.chunk.js.map +1 -0
- package/dist/static/js/42.adeca90f.chunk.js +2 -0
- package/dist/static/js/42.adeca90f.chunk.js.map +1 -0
- package/dist/static/js/43.36f67f1b.chunk.js +2 -0
- package/dist/static/js/43.36f67f1b.chunk.js.map +1 -0
- package/dist/static/js/44.4d96c33b.chunk.js +2 -0
- package/dist/static/js/44.4d96c33b.chunk.js.map +1 -0
- package/dist/static/js/45.02626866.chunk.js +2 -0
- package/dist/static/js/45.02626866.chunk.js.map +1 -0
- package/dist/static/js/46.0f08377a.chunk.js +2 -0
- package/dist/static/js/46.0f08377a.chunk.js.map +1 -0
- package/dist/static/js/47.7d7da0af.chunk.js +2 -0
- package/dist/static/js/47.7d7da0af.chunk.js.map +1 -0
- package/dist/static/js/48.26d10dc3.chunk.js +2 -0
- package/dist/static/js/48.26d10dc3.chunk.js.map +1 -0
- package/dist/static/js/49.f966b1fc.chunk.js +2 -0
- package/dist/static/js/49.f966b1fc.chunk.js.map +1 -0
- package/dist/static/js/5.c9623f8e.chunk.js +3 -0
- package/dist/static/js/5.c9623f8e.chunk.js.map +1 -0
- package/dist/static/js/50.c95c6a30.chunk.js +2 -0
- package/dist/static/js/50.c95c6a30.chunk.js.map +1 -0
- package/dist/static/js/51.09c99283.chunk.js +2 -0
- package/dist/static/js/51.09c99283.chunk.js.map +1 -0
- package/dist/static/js/52.b612edf1.chunk.js +2 -0
- package/dist/static/js/52.b612edf1.chunk.js.map +1 -0
- package/dist/static/js/53.fb38f8b2.chunk.js +2 -0
- package/dist/static/js/53.fb38f8b2.chunk.js.map +1 -0
- package/dist/static/js/54.940ea13b.chunk.js +2 -0
- package/dist/static/js/54.940ea13b.chunk.js.map +1 -0
- package/dist/static/js/55.0f323a4c.chunk.js +2 -0
- package/dist/static/js/55.0f323a4c.chunk.js.map +1 -0
- package/dist/static/js/56.9d5b8236.chunk.js +2 -0
- package/dist/static/js/56.9d5b8236.chunk.js.map +1 -0
- package/dist/static/js/57.883726f5.chunk.js +2 -0
- package/dist/static/js/57.883726f5.chunk.js.map +1 -0
- package/dist/static/js/58.0b33271d.chunk.js +2 -0
- package/dist/static/js/58.0b33271d.chunk.js.map +1 -0
- package/dist/static/js/59.8c50590b.chunk.js +2 -0
- package/dist/static/js/59.8c50590b.chunk.js.map +1 -0
- package/dist/static/js/6.e61fa6f6.chunk.js +2 -0
- package/dist/static/js/6.e61fa6f6.chunk.js.map +1 -0
- package/dist/static/js/60.a9da135f.chunk.js +2 -0
- package/dist/static/js/60.a9da135f.chunk.js.map +1 -0
- package/dist/static/js/61.fdec801b.chunk.js +2 -0
- package/dist/static/js/61.fdec801b.chunk.js.map +1 -0
- package/dist/static/js/62.bd5c9b92.chunk.js +2 -0
- package/dist/static/js/62.bd5c9b92.chunk.js.map +1 -0
- package/dist/static/js/63.51b2a768.chunk.js +2 -0
- package/dist/static/js/63.51b2a768.chunk.js.map +1 -0
- package/dist/static/js/64.ce04e880.chunk.js +2 -0
- package/dist/static/js/64.ce04e880.chunk.js.map +1 -0
- package/dist/static/js/65.b0dee0e4.chunk.js +2 -0
- package/dist/static/js/65.b0dee0e4.chunk.js.map +1 -0
- package/dist/static/js/66.ff9acb3c.chunk.js +2 -0
- package/dist/static/js/66.ff9acb3c.chunk.js.map +1 -0
- package/dist/static/js/67.2c3abbd0.chunk.js +2 -0
- package/dist/static/js/67.2c3abbd0.chunk.js.map +1 -0
- package/dist/static/js/68.e910f9bf.chunk.js +2 -0
- package/dist/static/js/68.e910f9bf.chunk.js.map +1 -0
- package/dist/static/js/69.d7127e9a.chunk.js +2 -0
- package/dist/static/js/69.d7127e9a.chunk.js.map +1 -0
- package/dist/static/js/7.5f708a6d.chunk.js +2 -0
- package/dist/static/js/7.5f708a6d.chunk.js.map +1 -0
- package/dist/static/js/70.e309686b.chunk.js +2 -0
- package/dist/static/js/70.e309686b.chunk.js.map +1 -0
- package/dist/static/js/71.6dddd458.chunk.js +2 -0
- package/dist/static/js/71.6dddd458.chunk.js.map +1 -0
- package/dist/static/js/72.c4e0c62d.chunk.js +2 -0
- package/dist/static/js/72.c4e0c62d.chunk.js.map +1 -0
- package/dist/static/js/73.5ab9be33.chunk.js +2 -0
- package/dist/static/js/73.5ab9be33.chunk.js.map +1 -0
- package/dist/static/js/74.eec26242.chunk.js +2 -0
- package/dist/static/js/74.eec26242.chunk.js.map +1 -0
- package/dist/static/js/75.574bcc06.chunk.js +2 -0
- package/dist/static/js/75.574bcc06.chunk.js.map +1 -0
- package/dist/static/js/76.a384ac81.chunk.js +2 -0
- package/dist/static/js/76.a384ac81.chunk.js.map +1 -0
- package/dist/static/js/77.2600e3ed.chunk.js +2 -0
- package/dist/static/js/77.2600e3ed.chunk.js.map +1 -0
- package/dist/static/js/78.9189f5ca.chunk.js +2 -0
- package/dist/static/js/78.9189f5ca.chunk.js.map +1 -0
- package/dist/static/js/79.0380c00b.chunk.js +2 -0
- package/dist/static/js/79.0380c00b.chunk.js.map +1 -0
- package/dist/static/js/8.62d1b039.chunk.js +2 -0
- package/dist/static/js/8.62d1b039.chunk.js.map +1 -0
- package/dist/static/js/80.4846f70b.chunk.js +2 -0
- package/dist/static/js/80.4846f70b.chunk.js.map +1 -0
- package/dist/static/js/81.4802c507.chunk.js +2 -0
- package/dist/static/js/81.4802c507.chunk.js.map +1 -0
- package/dist/static/js/82.56954654.chunk.js +2 -0
- package/dist/static/js/82.56954654.chunk.js.map +1 -0
- package/dist/static/js/83.8922d346.chunk.js +2 -0
- package/dist/static/js/83.8922d346.chunk.js.map +1 -0
- package/dist/static/js/84.d55272b0.chunk.js +2 -0
- package/dist/static/js/84.d55272b0.chunk.js.map +1 -0
- package/dist/static/js/85.7dd389fe.chunk.js +2 -0
- package/dist/static/js/85.7dd389fe.chunk.js.map +1 -0
- package/dist/static/js/86.e44f1414.chunk.js +2 -0
- package/dist/static/js/86.e44f1414.chunk.js.map +1 -0
- package/dist/static/js/87.b32bf884.chunk.js +2 -0
- package/dist/static/js/87.b32bf884.chunk.js.map +1 -0
- package/dist/static/js/88.362f1612.chunk.js +2 -0
- package/dist/static/js/88.362f1612.chunk.js.map +1 -0
- package/dist/static/js/89.b1afb0d8.chunk.js +2 -0
- package/dist/static/js/89.b1afb0d8.chunk.js.map +1 -0
- package/dist/static/js/9.9d6f0e1b.chunk.js +2 -0
- package/dist/static/js/9.9d6f0e1b.chunk.js.map +1 -0
- package/dist/static/js/90.22a231ad.chunk.js +2 -0
- package/dist/static/js/90.22a231ad.chunk.js.map +1 -0
- package/dist/static/js/91.0160e95d.chunk.js +2 -0
- package/dist/static/js/91.0160e95d.chunk.js.map +1 -0
- package/dist/static/js/92.ff5bae9a.chunk.js +2 -0
- package/dist/static/js/92.ff5bae9a.chunk.js.map +1 -0
- package/dist/static/js/93.982b5c40.chunk.js +2 -0
- package/dist/static/js/93.982b5c40.chunk.js.map +1 -0
- package/dist/static/js/94.74a0f47b.chunk.js +2 -0
- package/dist/static/js/94.74a0f47b.chunk.js.map +1 -0
- package/dist/static/js/95.8657b1a8.chunk.js +2 -0
- package/dist/static/js/95.8657b1a8.chunk.js.map +1 -0
- package/dist/static/js/96.b1ce4c6c.chunk.js +2 -0
- package/dist/static/js/96.b1ce4c6c.chunk.js.map +1 -0
- package/dist/static/js/97.ad09ed1c.chunk.js +2 -0
- package/dist/static/js/97.ad09ed1c.chunk.js.map +1 -0
- package/dist/static/js/98.79852574.chunk.js +2 -0
- package/dist/static/js/98.79852574.chunk.js.map +1 -0
- package/dist/static/js/main.8646e136.chunk.js +2 -0
- package/dist/static/js/main.8646e136.chunk.js.map +1 -0
- package/dist/static/js/polyfills-dom.c60c028d.chunk.js +3 -0
- package/dist/static/js/polyfills-dom.c60c028d.chunk.js.map +1 -0
- package/dist/static/js/runtime-main.c5235a78.js +2 -0
- package/dist/static/js/runtime-main.c5235a78.js.map +1 -0
- package/dist/static/media/getFetch.5fde86e3.cjs +1 -0
- package/package.json +4 -4
- package/CHANGELOG.md +0 -8
- package/dist/static/js/0.71c0b4a8.chunk.js +0 -3
- package/dist/static/js/0.71c0b4a8.chunk.js.map +0 -1
- package/dist/static/js/1.8399f811.chunk.js +0 -2
- package/dist/static/js/1.8399f811.chunk.js.map +0 -1
- package/dist/static/js/10.8fb6019a.chunk.js +0 -2
- package/dist/static/js/10.8fb6019a.chunk.js.map +0 -1
- package/dist/static/js/11.aa22b687.chunk.js +0 -2
- package/dist/static/js/11.aa22b687.chunk.js.map +0 -1
- package/dist/static/js/12.586642ff.chunk.js +0 -2
- package/dist/static/js/12.586642ff.chunk.js.map +0 -1
- package/dist/static/js/13.c0c5fd67.chunk.js +0 -2
- package/dist/static/js/13.c0c5fd67.chunk.js.map +0 -1
- package/dist/static/js/14.c3e0d008.chunk.js +0 -2
- package/dist/static/js/14.c3e0d008.chunk.js.map +0 -1
- package/dist/static/js/15.20587752.chunk.js +0 -2
- package/dist/static/js/15.20587752.chunk.js.map +0 -1
- package/dist/static/js/16.c19b0b1c.chunk.js +0 -2
- package/dist/static/js/16.c19b0b1c.chunk.js.map +0 -1
- package/dist/static/js/17.06cd7ac8.chunk.js +0 -2
- package/dist/static/js/17.06cd7ac8.chunk.js.map +0 -1
- package/dist/static/js/18.e02b6cd8.chunk.js +0 -2
- package/dist/static/js/18.e02b6cd8.chunk.js.map +0 -1
- package/dist/static/js/19.2d45340c.chunk.js +0 -2
- package/dist/static/js/19.2d45340c.chunk.js.map +0 -1
- package/dist/static/js/20.2be3997f.chunk.js +0 -3
- package/dist/static/js/20.2be3997f.chunk.js.map +0 -1
- package/dist/static/js/21.90337a55.chunk.js +0 -2
- package/dist/static/js/21.90337a55.chunk.js.map +0 -1
- package/dist/static/js/22.0c42f6ee.chunk.js +0 -2
- package/dist/static/js/22.0c42f6ee.chunk.js.map +0 -1
- package/dist/static/js/23.96d71d61.chunk.js +0 -3
- package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
- package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
- package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
- package/dist/static/js/25.1549af44.chunk.js +0 -2
- package/dist/static/js/25.1549af44.chunk.js.map +0 -1
- package/dist/static/js/26.f5920959.chunk.js +0 -2
- package/dist/static/js/26.f5920959.chunk.js.map +0 -1
- package/dist/static/js/27.4c4b5337.chunk.js +0 -2
- package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
- package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
- package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
- package/dist/static/js/29.c8bcd088.chunk.js +0 -2
- package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
- package/dist/static/js/30.3f776fe2.chunk.js +0 -2
- package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
- package/dist/static/js/31.295a0045.chunk.js +0 -2
- package/dist/static/js/31.295a0045.chunk.js.map +0 -1
- package/dist/static/js/32.c6495395.chunk.js +0 -2
- package/dist/static/js/32.c6495395.chunk.js.map +0 -1
- package/dist/static/js/33.bc3f2778.chunk.js +0 -2
- package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
- package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
- package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
- package/dist/static/js/35.080ac296.chunk.js +0 -2
- package/dist/static/js/35.080ac296.chunk.js.map +0 -1
- package/dist/static/js/36.30926ca6.chunk.js +0 -2
- package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
- package/dist/static/js/37.535e0baf.chunk.js +0 -2
- package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
- package/dist/static/js/38.c6142d9d.chunk.js +0 -2
- package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
- package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
- package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
- package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
- package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
- package/dist/static/js/41.8dc69989.chunk.js +0 -2
- package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
- package/dist/static/js/42.a8312848.chunk.js +0 -2
- package/dist/static/js/42.a8312848.chunk.js.map +0 -1
- package/dist/static/js/43.ce512d00.chunk.js +0 -2
- package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
- package/dist/static/js/44.197bff30.chunk.js +0 -2
- package/dist/static/js/44.197bff30.chunk.js.map +0 -1
- package/dist/static/js/45.9c281539.chunk.js +0 -2
- package/dist/static/js/45.9c281539.chunk.js.map +0 -1
- package/dist/static/js/46.8625525a.chunk.js +0 -2
- package/dist/static/js/46.8625525a.chunk.js.map +0 -1
- package/dist/static/js/47.89e00f8b.chunk.js +0 -2
- package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
- package/dist/static/js/48.1150630c.chunk.js +0 -2
- package/dist/static/js/48.1150630c.chunk.js.map +0 -1
- package/dist/static/js/49.d628f230.chunk.js +0 -2
- package/dist/static/js/49.d628f230.chunk.js.map +0 -1
- package/dist/static/js/5.8b318946.chunk.js +0 -3
- package/dist/static/js/5.8b318946.chunk.js.map +0 -1
- package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
- package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
- package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
- package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
- package/dist/static/js/52.d9cdf428.chunk.js +0 -2
- package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
- package/dist/static/js/53.eb9374c8.chunk.js +0 -2
- package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
- package/dist/static/js/54.0246cd90.chunk.js +0 -2
- package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
- package/dist/static/js/55.f6407d07.chunk.js +0 -2
- package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
- package/dist/static/js/56.030f4c2c.chunk.js +0 -2
- package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
- package/dist/static/js/57.106fdb37.chunk.js +0 -2
- package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
- package/dist/static/js/58.9efa9671.chunk.js +0 -2
- package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
- package/dist/static/js/59.3b47d57a.chunk.js +0 -2
- package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
- package/dist/static/js/6.8ac679aa.chunk.js +0 -2
- package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
- package/dist/static/js/60.0335fabd.chunk.js +0 -2
- package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
- package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
- package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
- package/dist/static/js/62.bb858ee5.chunk.js +0 -2
- package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
- package/dist/static/js/63.107ffad7.chunk.js +0 -2
- package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
- package/dist/static/js/64.a485a8c8.chunk.js +0 -2
- package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
- package/dist/static/js/65.3593d4bb.chunk.js +0 -2
- package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
- package/dist/static/js/66.9202016a.chunk.js +0 -2
- package/dist/static/js/66.9202016a.chunk.js.map +0 -1
- package/dist/static/js/67.45ef3717.chunk.js +0 -2
- package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
- package/dist/static/js/68.e638cd4b.chunk.js +0 -2
- package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
- package/dist/static/js/69.b404f87e.chunk.js +0 -2
- package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
- package/dist/static/js/7.a488d90e.chunk.js +0 -2
- package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
- package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
- package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
- package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
- package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
- package/dist/static/js/72.6f860cde.chunk.js +0 -2
- package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
- package/dist/static/js/73.8839e5fd.chunk.js +0 -3
- package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
- package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
- package/dist/static/js/74.da2b0a38.chunk.js +0 -2
- package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
- package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
- package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
- package/dist/static/js/9.12e26806.chunk.js +0 -2
- package/dist/static/js/9.12e26806.chunk.js.map +0 -1
- package/dist/static/js/main.4aab9f6d.chunk.js +0 -2
- package/dist/static/js/main.4aab9f6d.chunk.js.map +0 -1
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
- package/dist/static/js/runtime-main.847af914.js +0 -2
- package/dist/static/js/runtime-main.847af914.js.map +0 -1
- package/dist/static/media/getFetch.582d29c4.cjs +0 -1
- /package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 0.edb27f5c.chunk.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → 5.c9623f8e.chunk.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{23.96d71d61.chunk.js.LICENSE.txt → polyfills-dom.c60c028d.chunk.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[76],{125:function(e,t,i){"use strict";i.r(t),i.d(t,"gux_text_field_legacy",(function(){return s}));var r=i(10),l=i(139),o=i(133);const n={eraseBtnAria:"Clear"};let s=class{constructor(e){Object(r.j)(this,e),this.input=Object(r.d)(this,"input",7),this.value="",this.type="text",this.disabled=!1,this.readonly=!1,this.validation=null,this.errorMessage="",this.errorMessageType="error",this.debounceTimeout=500,this.eraseLabel="",this.useClearButton=!0,this.classList=[]}showClearButton(){return this.useClearButton&&this.value&&!this.readonly}emitInput(e){e.preventDefault(),e.stopPropagation(),this.value=e.target.value,this.input.emit(e.target.value)}emitFocusEvent(e){this.root.dispatchEvent(new FocusEvent(e.type,e))}watchValue(e){window.clearTimeout(this.timeout),this.timeout=window.setTimeout((()=>{this._testValue(e)}),this.debounceTimeout)}_testValue(e){if(this.validation)if(this.validation instanceof RegExp)this.validation.test(e)?this.errorMessage="":(this.errorMessageType="error",this.errorMessage=this.internalErrorMessage);else if("function"===typeof this.validation){const t=this.validation(e);t?t.warning?(this.errorMessageType="warning",this.errorMessage=t.warning):t.error?(this.errorMessageType="error",this.errorMessage=t.error):this.errorMessage="":(this.errorMessageType="error",this.errorMessage=this.internalErrorMessage)}}getClassList(){let e=[];return this.errorMessage&&(e=[...e,"gux-".concat(this.errorMessageType)]),this.disabled&&(e=[...e,"gux-disabled"]),e.join(" ")}async componentWillLoad(){Object(o.a)(this.root,{variant:this.type}),this.internalErrorMessage=this.errorMessage,this.i18n=await Object(l.b)(this.root,n)}componentDidLoad(){this.firstValue=this.value,this._testValue(this.value)}getIconByMessageType(e){return"warning"===e?"ic-alert-triangle":"ic-alert-octo"}async clear(){this.disabled||(this.value="",this.inputElement.value="",this.inputElement.focus(),this.input.emit(this.value))}async setLabelledBy(e){this.srLabelledby=e}async setInputFocus(){this.inputElement.focus()}render(){return[Object(r.h)("div",{class:this.getClassList()},Object(r.h)("div",{class:"gux-field"},Object(r.h)("input",{class:this.showClearButton()?"gux-text-clearable":"",type:this.type,value:this.value,ref:e=>this.inputElement=e,"aria-label":this.srLabel,"aria-labelledby":this.srLabelledby,disabled:this.disabled,readonly:this.readonly,placeholder:this.placeholder,onInput:e=>this.emitInput(e),onFocus:e=>this.emitFocusEvent(e),onBlur:e=>this.emitFocusEvent(e)}),this.showClearButton()&&Object(r.h)("button",{type:"button",class:"gux-clear-button",title:this.eraseLabel,"aria-label":this.i18n("eraseBtnAria"),onClick:()=>this.clear()},Object(r.h)("gux-icon",{decorative:!0,"icon-name":"close"}))),this.errorMessage&&Object(r.h)("div",{class:"gux-error"},Object(r.h)("gux-icon",{decorative:!0,"icon-name":this.getIconByMessageType(this.errorMessageType)}),Object(r.h)("label",null,this.errorMessage))),Object(r.h)("slot",null)]}get root(){return Object(r.g)(this)}static get watchers(){return{value:["watchValue"]}}};s.style="gux-text-field-legacy{display:block}gux-text-field-legacy>div{margin:4px 0}gux-text-field-legacy>div.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error i,gux-text-field-legacy>div.gux-warning .gux-error i{margin-right:4px}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy>div>div.gux-field{position:relative;height:32px}gux-text-field-legacy .gux-field{position:relative}gux-text-field-legacy .gux-field input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px}gux-text-field-legacy .gux-field input::placeholder{color:#596373}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#596373}gux-text-field-legacy .gux-field input.gux-focused,gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-text-field-legacy .gux-field input.gux-text-clearable{padding-right:25px}gux-text-field-legacy .gux-field button{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;color:#596373;cursor:pointer;background:none;border:none;outline:none}.gux-text-field-light-theme>div.gux-error input,.gux-text-field-light-theme>div.gux-warning input{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error input:focus,.gux-text-field-light-theme>div.gux-warning input:focus,.gux-text-field-light-theme>div.gux-error input:hover,.gux-text-field-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error .gux-error,.gux-text-field-light-theme>div.gux-warning .gux-error{color:#ea0b0b}.gux-text-field-light-theme>div.gux-warning .gux-error i{color:#ffae00}.gux-text-field-light-theme .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}.gux-text-field-light-theme .gux-field input::placeholder{color:#596373}.gux-text-field-light-theme .gux-field input::-webkit-input-placeholder{color:#596373}.gux-text-field-light-theme .gux-field input::-ms-input-placeholder{color:#596373}.gux-text-field-light-theme .gux-field input::-moz-placeholder{color:#596373}.gux-text-field-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-text-field-light-theme .gux-field button{color:#596373}.gux-light-theme gux-text-field-legacy>div.gux-error input,.gux-light-theme gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error input:focus,.gux-light-theme gux-text-field-legacy>div.gux-warning input:focus,.gux-light-theme gux-text-field-legacy>div.gux-error input:hover,.gux-light-theme gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error .gux-error,.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}.gux-light-theme gux-text-field-legacy .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}.gux-light-theme gux-text-field-legacy .gux-field input::placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input::-moz-placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme gux-text-field-legacy .gux-field button{color:#596373}gux-text-field-legacy.gux-light-theme>div.gux-error input,gux-text-field-legacy.gux-light-theme>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error input:focus,gux-text-field-legacy.gux-light-theme>div.gux-warning input:focus,gux-text-field-legacy.gux-light-theme>div.gux-error input:hover,gux-text-field-legacy.gux-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error .gux-error,gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy.gux-light-theme .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}gux-text-field-legacy.gux-light-theme .gux-field input::placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input::-webkit-input-placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input::-ms-input-placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input::-moz-placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy.gux-light-theme .gux-field button{color:#596373}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}gux-text-field-legacy .gux-field input::placeholder{color:#596373}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#596373}gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy .gux-field button{color:#596373}"},133:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));const r={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},l="spark-library",o="spark-component";let n=!1;function s(e,t){const i=window.newrelic;i&&(n||(!function(){const e=window.newrelic;if(!e)return;const[t,i,o]=r.version.split(".");e.addPageAction(l,{fullVersion:"".concat(t,".").concat(i,".").concat(o),majorVersion:t,minorVersion:"".concat(t,".").concat(i)})}(),n=!0),i.addPageAction(o,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=76.a384ac81.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-text-field-legacy.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js"],"names":["textFieldResources","eraseBtnAria","GuxTextFieldLegacy","constructor","hostRef","registerInstance","this","input","createEvent","value","type","disabled","readonly","validation","errorMessage","errorMessageType","debounceTimeout","eraseLabel","useClearButton","classList","showClearButton","emitInput","event","preventDefault","stopPropagation","target","emit","emitFocusEvent","root","dispatchEvent","FocusEvent","watchValue","newValue","window","clearTimeout","timeout","setTimeout","_testValue","RegExp","test","internalErrorMessage","warning","error","getClassList","concat","join","componentWillLoad","trackComponent","variant","i18n","buildI18nForComponent","componentDidLoad","firstValue","getIconByMessageType","clear","inputElement","focus","setLabelledBy","id","srLabelledby","setInputFocus","render","h","class","ref","el","srLabel","placeholder","onInput","e","onFocus","onBlur","title","onClick","decorative","getElement","watchers","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","lint","predev","prepare","release","stencil","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","componentPageAction","libVersionReported","element","metadata","newrelic","major","minor","patch","split","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"mappings":"+GAAA,2FAIA,MACMA,EAAqB,CAC1BC,aAFoB,SAOrB,IAAIC,EAAqB,MACvBC,YAAYC,GACVC,YAAiBC,KAAMF,GACvBE,KAAKC,MAAQC,YAAYF,KAAM,QAAS,GAIxCA,KAAKG,MAAQ,GAIbH,KAAKI,KAAO,OAIZJ,KAAKK,UAAW,EAIhBL,KAAKM,UAAW,EAIhBN,KAAKO,WAAa,KAIlBP,KAAKQ,aAAe,GAIpBR,KAAKS,iBAAmB,QAIxBT,KAAKU,gBAAkB,IAIvBV,KAAKW,WAAa,GAKlBX,KAAKY,gBAAiB,EACtBZ,KAAKa,UAAY,EACnB,CACAC,kBACE,OAAOd,KAAKY,gBAAkBZ,KAAKG,QAAUH,KAAKM,QACpD,CACAS,UAAUC,GACRA,EAAMC,iBACND,EAAME,kBACNlB,KAAKG,MAAQa,EAAMG,OAAOhB,MAC1BH,KAAKC,MAAMmB,KAAKJ,EAAMG,OAAOhB,MAC/B,CACAkB,eAAeL,GACbhB,KAAKsB,KAAKC,cAAc,IAAIC,WAAWR,EAAMZ,KAAMY,GACrD,CACAS,WAAWC,GACTC,OAAOC,aAAa5B,KAAK6B,SACzB7B,KAAK6B,QAAUF,OAAOG,YAAW,KAC/B9B,KAAK+B,WAAWL,EAAS,GACxB1B,KAAKU,gBACV,CACAqB,WAAW5B,GACT,GAAKH,KAAKO,WAGV,GAAIP,KAAKO,sBAAsByB,OACxBhC,KAAK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AQ,UA0DRC,WAxDkB,CAClB9G,KAAM,MACN+G,IAAK,uDAuDLC,OArDc,CACdpB,WAAY,CACXqB,KAAM,6CAoDPC,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHX,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDW,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBACpBC,EAAsB,kBAC5B,IAAIC,GAAqB,EAKzB,SAASlF,EAAemF,EAASC,GAC/B,MAAMC,EAAWnG,OAAOmG,SACnBA,IAMAH,KASP,WACE,MAAMG,EAAWnG,OAAOmG,SACxB,IAAKA,EACH,OAEF,MAAOC,EAAOC,EAAOC,GAASzD,EAAYE,QAAQwD,MAAM,KACxDJ,EAASK,cAAcV,EAAmB,CACxCW,YAAa,GAAF9F,OAAKyF,EAAK,KAAAzF,OAAI0F,EAAK,KAAA1F,OAAI2F,GAClCI,aAAcN,EACdO,aAAc,GAAFhG,OAAKyF,EAAK,KAAAzF,OAAI0F,IAE9B,CAnBIO,GACAZ,GAAqB,GAEvBG,EAASK,cAAcT,EAAqBc,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGZ,GAAW,CAAEa,UAAWd,EAAQe,QAAQC,cAAelE,QAASF,EAAYE,WAC1J,C","file":"static/js/76.a384ac81.chunk.js","sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { b as buildI18nForComponent } from './index-6d80d8e7.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst eraseBtnAria = \"Clear\";\nconst textFieldResources = {\n\teraseBtnAria: eraseBtnAria\n};\n\nconst guxTextFieldCss = \"gux-text-field-legacy{display:block}gux-text-field-legacy>div{margin:4px 0}gux-text-field-legacy>div.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b;outline:0}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error i,gux-text-field-legacy>div.gux-warning .gux-error i{margin-right:4px}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy>div>div.gux-field{position:relative;height:32px}gux-text-field-legacy .gux-field{position:relative}gux-text-field-legacy .gux-field input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px}gux-text-field-legacy .gux-field input::placeholder{color:#596373}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#596373}gux-text-field-legacy .gux-field input.gux-focused,gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-text-field-legacy .gux-field input.gux-text-clearable{padding-right:25px}gux-text-field-legacy .gux-field button{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;color:#596373;cursor:pointer;background:none;border:none;outline:none}.gux-text-field-light-theme>div.gux-error input,.gux-text-field-light-theme>div.gux-warning input{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error input:focus,.gux-text-field-light-theme>div.gux-warning input:focus,.gux-text-field-light-theme>div.gux-error input:hover,.gux-text-field-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}.gux-text-field-light-theme>div.gux-error .gux-error,.gux-text-field-light-theme>div.gux-warning .gux-error{color:#ea0b0b}.gux-text-field-light-theme>div.gux-warning .gux-error i{color:#ffae00}.gux-text-field-light-theme .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}.gux-text-field-light-theme .gux-field input::placeholder{color:#596373}.gux-text-field-light-theme .gux-field input::-webkit-input-placeholder{color:#596373}.gux-text-field-light-theme .gux-field input::-ms-input-placeholder{color:#596373}.gux-text-field-light-theme .gux-field input::-moz-placeholder{color:#596373}.gux-text-field-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-text-field-light-theme .gux-field button{color:#596373}.gux-light-theme gux-text-field-legacy>div.gux-error input,.gux-light-theme gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error input:focus,.gux-light-theme gux-text-field-legacy>div.gux-warning input:focus,.gux-light-theme gux-text-field-legacy>div.gux-error input:hover,.gux-light-theme gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-error .gux-error,.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}.gux-light-theme gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}.gux-light-theme gux-text-field-legacy .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}.gux-light-theme gux-text-field-legacy .gux-field input::placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input::-moz-placeholder{color:#596373}.gux-light-theme gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme gux-text-field-legacy .gux-field button{color:#596373}gux-text-field-legacy.gux-light-theme>div.gux-error input,gux-text-field-legacy.gux-light-theme>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error input:focus,gux-text-field-legacy.gux-light-theme>div.gux-warning input:focus,gux-text-field-legacy.gux-light-theme>div.gux-error input:hover,gux-text-field-legacy.gux-light-theme>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-error .gux-error,gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy.gux-light-theme>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy.gux-light-theme .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}gux-text-field-legacy.gux-light-theme .gux-field input::placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input::-webkit-input-placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input::-ms-input-placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input::-moz-placeholder{color:#596373}gux-text-field-legacy.gux-light-theme .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy.gux-light-theme .gux-field button{color:#596373}gux-text-field-legacy>div.gux-error input,gux-text-field-legacy>div.gux-warning input{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error input:focus,gux-text-field-legacy>div.gux-warning input:focus,gux-text-field-legacy>div.gux-error input:hover,gux-text-field-legacy>div.gux-warning input:hover{border-color:#ea0b0b}gux-text-field-legacy>div.gux-error .gux-error,gux-text-field-legacy>div.gux-warning .gux-error{color:#ea0b0b}gux-text-field-legacy>div.gux-warning .gux-error i{color:#ffae00}gux-text-field-legacy .gux-field input{color:#2e394c;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}gux-text-field-legacy .gux-field input::placeholder{color:#596373}gux-text-field-legacy .gux-field input::-webkit-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-ms-input-placeholder{color:#596373}gux-text-field-legacy .gux-field input::-moz-placeholder{color:#596373}gux-text-field-legacy .gux-field input:focus{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-text-field-legacy .gux-field button{color:#596373}\";\n\nlet GuxTextFieldLegacy = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n /**\n * Indicate the input value\n */\n this.value = '';\n /**\n * Indicate the input type\n */\n this.type = 'text';\n /**\n * Disable the input and prevent interactions.\n */\n this.disabled = false;\n /**\n * Set the input in readonly mode\n */\n this.readonly = false;\n /**\n * The input validation.\n */\n this.validation = null;\n /**\n * The message displayed on validation failure.\n */\n this.errorMessage = '';\n /**\n * The message type (warning or error)\n */\n this.errorMessageType = \"error\" /* Error */;\n /**\n * Timeout between input and validation.\n */\n this.debounceTimeout = 500;\n /**\n * The label for the erase button\n */\n this.eraseLabel = '';\n /**\n * Determines whether or not the 'x' clear button is displayed when the input\n * contains text.\n */\n this.useClearButton = true;\n this.classList = [];\n }\n showClearButton() {\n return this.useClearButton && this.value && !this.readonly;\n }\n emitInput(event) {\n event.preventDefault();\n event.stopPropagation();\n this.value = event.target.value;\n this.input.emit(event.target.value);\n }\n emitFocusEvent(event) {\n this.root.dispatchEvent(new FocusEvent(event.type, event));\n }\n watchValue(newValue) {\n window.clearTimeout(this.timeout);\n this.timeout = window.setTimeout(() => {\n this._testValue(newValue);\n }, this.debounceTimeout);\n }\n _testValue(value) {\n if (!this.validation) {\n return;\n }\n if (this.validation instanceof RegExp) {\n if (!this.validation.test(value)) {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = this.internalErrorMessage;\n }\n else {\n this.errorMessage = '';\n }\n }\n else if (typeof this.validation === 'function') {\n const validation = this.validation(value);\n if (validation) {\n if (validation.warning) {\n this.errorMessageType = \"warning\" /* Warning */;\n this.errorMessage = validation.warning;\n }\n else if (validation.error) {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = validation.error;\n }\n else {\n this.errorMessage = '';\n }\n }\n else {\n this.errorMessageType = \"error\" /* Error */;\n this.errorMessage = this.internalErrorMessage;\n }\n }\n }\n getClassList() {\n let classList = [];\n if (this.errorMessage) {\n classList = [...classList, `gux-${this.errorMessageType}`];\n }\n if (this.disabled) {\n classList = [...classList, 'gux-disabled'];\n }\n return classList.join(' ');\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.type });\n this.internalErrorMessage = this.errorMessage;\n this.i18n = await buildI18nForComponent(this.root, textFieldResources);\n }\n componentDidLoad() {\n this.firstValue = this.value;\n this._testValue(this.value);\n }\n getIconByMessageType(type) {\n return type === 'warning' ? 'ic-alert-triangle' : 'ic-alert-octo';\n }\n /**\n * Clears the input.\n */\n async clear() {\n if (this.disabled) {\n return;\n }\n this.value = '';\n this.inputElement.value = '';\n this.inputElement.focus();\n this.input.emit(this.value);\n }\n /**\n * Provides an aria-labelledby element for this component.\n * @param id The value for aria-labeledby.\n */\n async setLabelledBy(id) {\n this.srLabelledby = id;\n }\n /**\n * Sets the input focus to the text input.\n */\n async setInputFocus() {\n this.inputElement.focus();\n }\n render() {\n return [\n h(\"div\", { class: this.getClassList() }, h(\"div\", { class: \"gux-field\" }, h(\"input\", { class: this.showClearButton() ? 'gux-text-clearable' : '', type: this.type, value: this.value, ref: el => (this.inputElement = el), \"aria-label\": this.srLabel, \"aria-labelledby\": this.srLabelledby, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, onInput: e => this.emitInput(e), onFocus: e => this.emitFocusEvent(e), onBlur: e => this.emitFocusEvent(e) }), this.showClearButton() && (h(\"button\", { type: \"button\", class: \"gux-clear-button\", title: this.eraseLabel, \"aria-label\": this.i18n('eraseBtnAria'), onClick: () => this.clear() }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"close\" })))), this.errorMessage && (h(\"div\", { class: \"gux-error\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": this.getIconByMessageType(this.errorMessageType) }), h(\"label\", null, this.errorMessage)))),\n h(\"slot\", null)\n ];\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"watchValue\"]\n }; }\n};\nGuxTextFieldLegacy.style = guxTextFieldCss;\n\nexport { GuxTextFieldLegacy as gux_text_field_legacy };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[77],{126:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_text_label",(function(){return c}));var s=n(10),i=n(133);let l=1,c=class{constructor(e){Object(s.j)(this,e),this.position="above",this.id=this.generateId()}componentWillLoad(){Object(i.a)(this.root,{variant:this.position})}componentDidLoad(){const e=this.labeledComponent.querySelector("*");"function"===typeof e.componentOnReady&&"function"===typeof e.setLabelledBy?e.componentOnReady().then((()=>{e.setLabelledBy(this.id)})):e.setAttribute("aria-labelledby",this.id)}render(){return Object(s.h)("div",{class:"gux-text-label-container gux-".concat(this.position)},Object(s.h)("label",{class:"gux-label",id:this.id},Object(s.h)("slot",{name:"label"},this.label)),Object(s.h)("div",{class:"gux-labeled-component",ref:e=>this.labeledComponent=e},Object(s.h)("slot",null)))}generateId(){return"gux-text-label-"+l++}get root(){return Object(s.g)(this)}};c.style="gux-text-label .gux-label{margin-right:8px}gux-text-label .gux-text-label-container.gux-beside{display:flex;flex-direction:row;align-items:baseline}gux-text-label .gux-text-label-container.gux-beside .gux-labeled-component{flex:1 1 auto}.gux-text-label-dark-theme{color:#fdfdfd}.gux-dark-theme gux-text-label{color:#fdfdfd}gux-text-label.gux-dark-theme{color:#fdfdfd}.gux-text-label-light-theme{color:#2e394c}.gux-light-theme gux-text-label{color:#2e394c}gux-text-label.gux-light-theme{color:#2e394c}gux-text-label{color:#2e394c}"},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const s={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},i="spark-library",l="spark-component";let c=!1;function o(e,t){const n=window.newrelic;n&&(c||(!function(){const e=window.newrelic;if(!e)return;const[t,n,l]=s.version.split(".");e.addPageAction(i,{fullVersion:"".concat(t,".").concat(n,".").concat(l),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),c=!0),n.addPageAction(l,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:s.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=77.2600e3ed.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-text-label.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js"],"names":["nextLabelId","GuxTextLabel","constructor","hostRef","registerInstance","this","position","id","generateId","componentWillLoad","trackComponent","root","variant","componentDidLoad","labeledComponentSlot","labeledComponent","querySelector","componentOnReady","setLabelledBy","then","setAttribute","render","h","class","concat","name","label","ref","el","getElement","style","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","componentPageAction","libVersionReported","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"mappings":"+GAAA,2EAKA,IAAIA,EAAc,EACdC,EAAe,MACjBC,YAAYC,GACVC,YAAiBC,KAAMF,GAIvBE,KAAKC,SAAW,QAChBD,KAAKE,GAAKF,KAAKG,YACjB,CACAC,oBACEC,YAAeL,KAAKM,KAAM,CAAEC,QAASP,KAAKC,UAC5C,CACAO,mBACE,MAAMC,EAAuBT,KAAKU,iBAAiBC,cAAc,KACZ,oBAA1CF,EAAqBG,kBACgB,oBAAvCH,EAAqBI,cAK9BJ,EAAqBG,mBAAmBE,MAAK,KAC3CL,EAAqBI,cAAcb,KAAKE,GAAG,IAJ3CO,EAAqBM,aAAa,kBAAmBf,KAAKE,GAM9D,CACAc,SACE,OAAQC,YAAE,MAAO,CAAEC,MAAO,gCAAFC,OAAkCnB,KAAKC,WAAcgB,YAAE,QAAS,CAAEC,MAAO,YAAahB,GAAIF,KAAKE,IAAMe,YAAE,OAAQ,CAAEG,KAAM,SAAWpB,KAAKqB,QAASJ,YAAE,MAAO,CAAEC,MAAO,wBAAyBI,IAAKC,GAAOvB,KAAKU,iBAAmBa,GAAON,YAAE,OAAQ,OAC1Q,CACAd,aACE,MAAO,kBAAoBR,GAC7B,CACA,QAAIW,GAAS,OAAOkB,YAAWxB,KAAO,GAExCJ,EAAa6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e,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAetE,QAASD,EAAYC,WAC1J,C","file":"static/js/77.2600e3ed.chunk.js","sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxTextLabelCss = \"gux-text-label .gux-label{margin-right:8px}gux-text-label .gux-text-label-container.gux-beside{display:flex;flex-direction:row;align-items:baseline}gux-text-label .gux-text-label-container.gux-beside .gux-labeled-component{flex:1 1 auto}.gux-text-label-dark-theme{color:#fdfdfd}.gux-dark-theme gux-text-label{color:#fdfdfd}gux-text-label.gux-dark-theme{color:#fdfdfd}.gux-text-label-light-theme{color:#2e394c}.gux-light-theme gux-text-label{color:#2e394c}gux-text-label.gux-light-theme{color:#2e394c}gux-text-label{color:#2e394c}\";\n\nlet nextLabelId = 1;\nlet GuxTextLabel = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The position of the label relative to its contained element.\n */\n this.position = 'above';\n this.id = this.generateId();\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.position });\n }\n componentDidLoad() {\n const labeledComponentSlot = this.labeledComponent.querySelector('*');\n if (typeof labeledComponentSlot.componentOnReady !== 'function' ||\n typeof labeledComponentSlot.setLabelledBy !== 'function') {\n // Only set labeled by if its supported by the contained element.\n labeledComponentSlot.setAttribute('aria-labelledby', this.id);\n return;\n }\n labeledComponentSlot.componentOnReady().then(() => {\n labeledComponentSlot.setLabelledBy(this.id);\n });\n }\n render() {\n return (h(\"div\", { class: `gux-text-label-container gux-${this.position}` }, h(\"label\", { class: \"gux-label\", id: this.id }, h(\"slot\", { name: \"label\" }, this.label)), h(\"div\", { class: \"gux-labeled-component\", ref: el => (this.labeledComponent = el) }, h(\"slot\", null))));\n }\n generateId() {\n return 'gux-text-label-' + nextLabelId++;\n }\n get root() { return getElement(this); }\n};\nGuxTextLabel.style = guxTextLabelCss;\n\nexport { GuxTextLabel as gux_text_label };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[78],{127:function(e,t,i){"use strict";i.r(t),i.d(t,"gux_time_picker_beta",(function(){return l}));var s=i(10),n=i(133);function o(e){return new Date("1978-09-23T"+e.trim()+"Z")}const r="23:59:59",c="00:00:00";let l=class{constructor(e){Object(s.j)(this,e),this.changed=Object(s.d)(this,"changed",7),this.value="",this.interval=15,this.max=r,this.min=c,this.active=!1,this.openDropdown=!1,this.suggestion="00",this.isPressEvent=!1}watchValue(e){this.changed.emit(e)}onKeyDown(e){if(this.focusedField=e.target,this.focusedField===this.inputElement)switch(e.key){case"Enter":case"Escape":this.focusedField.blur();break;case"Backspace":e.preventDefault(),this.handleBackspace();break;case"Tab":break;case"ArrowDown":this.dropdownList&&this.dropdownList.setFocusOnFirstItem();break;case"ArrowUp":case"ArrowRight":case"ArrowLeft":e.preventDefault();break;default:if(e.preventDefault(),"0"<=e.key&&e.key<="9"&&(this.openDropdown=!0,this.focusedField.value.length<8)){let t=this.focusedField.value+parseInt(e.key,10);const i=t.split(":");if(t.length>6&&Number(i[2].padEnd(2,"0"))>59)return;if(!this.canBeCompletedToAValidTime(t))return;2===i[i.length-1].length&&t.length<8&&(t+=":"),this.focusedField.value=t,this.suggestion=i[0].padEnd(2,"0")}}}canBeCompletedToAValidTime(e){const t=o(e+this.max.slice(e.length)),i=o(e+this.min.slice(e.length));return this.minTimeObj<=t&&t<=this.maxTimeObj||this.minTimeObj<=i&&i<=this.maxTimeObj}handleBackspace(){if(this.openDropdown=!0,this.focusedField.selectionStart===this.focusedField.selectionEnd){const e=this.focusedField.value.endsWith(":")?-2:-1;this.focusedField.value=this.focusedField.value.slice(0,e),this.suggestion=this.focusedField.value.split(":")[0].padEnd(2,"0")}else this.focusedField.value=""}onPress(e){this.isPressEvent=!0;const t=e.target;this.inputElement.value=t.value,this.updateChosenValue()}onFocusOut(e){this.isPressEvent||this.root.contains(e.relatedTarget)||this.updateChosenValue(),this.isPressEvent=!1}updateChosenValue(){this.inputElement.value=this.validateValue(this.inputElement.value),this.value=this.inputElement.value,this.active=!1,this.openDropdown=!1}onMouseUp(e){this.focusedField=e.target,this.focusedField===this.inputElement&&(this.focusedField.selectionEnd!==this.inputElement.value.length?this.inputElement.setSelectionRange(0,this.inputElement.value.length):this.inputElement.setSelectionRange(this.inputElement.value.length,this.inputElement.value.length))}onFocusIn(e){this.focusedField=e.target,this.active=!0}isValidTime(e){const t=e.split(":"),i=r.split(":");for(let s=0;s<t.length;s++)if(Number(t[s])>Number(i[s]))return!1;return!0}validateUpperBound(){this.max=this.isInFormat(this.max)?this.max:r,this.max=this.isValidTime(this.max)?this.max:r}validateLowerBound(){this.min=this.isInFormat(this.min)?this.min:c,this.min=this.isValidTime(this.min)?this.min:c}validateBounds(){this.validateUpperBound(),this.validateLowerBound(),this.maxTimeObj=o(this.max),this.minTimeObj=o(this.min),this.maxTimeObj<this.minTimeObj&&(this.max=r,this.min=c,this.maxTimeObj=o(this.max),this.minTimeObj=o(this.min))}validateValue(e){let t=this.isInFormat(e)?e:"";if(t=""!==t&&this.isValidTime(t)?t:"",t){const e=o(t);t=this.minTimeObj<=e&&e<=this.maxTimeObj?t:""}return t}componentWillLoad(){Object(n.a)(this.root),this.validateBounds(),this.value=this.validateValue(this.value)}isInFormat(e){return/^\d{2}:\d{2}:\d{2}$/.test(e)}render(){return Object(s.h)("div",null,Object(s.h)("div",{class:"gux-input"},Object(s.h)("input",{type:"text",value:this.value,size:9,class:this.active?"gux-focused":"",ref:e=>this.inputElement=e})),!0===this.openDropdown&&Object(s.h)("div",{class:"gux-list-container"},Object(s.h)("gux-list",{ref:e=>this.dropdownList=e},this.buildDropdownOptions().map((e=>Object(s.h)("gux-list-item",{value:e,text:e}))))))}buildDropdownOptions(){const e=[];for(let t=0;t<60;t+=this.interval){const i=[this.suggestion.toString().padStart(2,"0"),t.toString().padStart(2,"0"),"00"].join(":"),s=o(i);this.minTimeObj<=s&&s<=this.maxTimeObj&&e.push(i)}return e}get root(){return Object(s.g)(this)}static get watchers(){return{value:["watchValue"]}}};l.style="gux-time-picker-beta{display:inline-block}gux-time-picker-beta input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px;text-align:right}gux-time-picker-beta input::placeholder{color:#596373}gux-time-picker-beta input::-webkit-input-placeholder{color:#596373}gux-time-picker-beta input::-ms-input-placeholder{color:#596373}gux-time-picker-beta input::-moz-placeholder{color:#596373}gux-time-picker-beta input.gux-focused,gux-time-picker-beta input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-time-picker-beta .gux-list-container{position:relative}gux-time-picker-beta .gux-list-container gux-list{position:absolute;width:100%}gux-time-picker-beta .gux-list-container gux-list gux-list-item{text-align:right}.gux-dark-theme gux-time-picker-beta input{color:#fdfdfd;background-color:#2e394c;border:1px solid #6b7585}.gux-dark-theme gux-time-picker-beta input::placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input::-webkit-input-placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input::-ms-input-placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input::-moz-placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input.gux-focused,.gux-dark-theme gux-time-picker-beta input:focus{border:1px solid #aac9ff;outline:3px #aac9ff;box-shadow:none}"},133:function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));const s={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},n="spark-library",o="spark-component";let r=!1;function c(e,t){const i=window.newrelic;i&&(r||(!function(){const e=window.newrelic;if(!e)return;const[t,i,o]=s.version.split(".");e.addPageAction(n,{fullVersion:"".concat(t,".").concat(i,".").concat(o),majorVersion:t,minorVersion:"".concat(t,".").concat(i)})}(),r=!0),i.addPageAction(o,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:s.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=78.9189f5ca.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-time-picker-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js"],"names":["fromIsoTime","timeStr","Date","trim","MAX_TIME","MIN_TIME","GuxTimePicker","constructor","hostRef","registerInstance","this","changed","createEvent","value","interval","max","min","active","openDropdown","suggestion","isPressEvent","watchValue","newValue","emit","onKeyDown","e","focusedField","target","inputElement","key","blur","preventDefault","handleBackspace","dropdownList","setFocusOnFirstItem","length","parseInt","arr","split","Number","padEnd","canBeCompletedToAValidTime","str","slice","minTimeObj","maxTimeObj","selectionStart","selectionEnd","newEnd","endsWith","onPress","chosenTimeOption","updateChosenValue","onFocusOut","root","contains","relatedTarget","validateValue","onMouseUp","setSelectionRange","onFocusIn","isValidTime","time","postionArray","maxTimeArray","i","validateUpperBound","isInFormat","validateLowerBound","validateBounds","validatedValue","valueTimeObj","componentWillLoad","trackComponent","test","render","h","class","type","size","ref","el","buildDropdownOptions","map","text","dropDownOptions","toString","padStart","join","timeObj","push","getElement","watchers","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","componentPageAction","libVersionReported","element","metadata","newrelic","window","major","minor","patch","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"mappings":"+GAAA,iFAeA,SAASA,EAAYC,GACnB,OAAO,IAAIC,KAPc,cAOYD,EAAQE,OANnB,IAO5B,CAEA,MAEMC,EAAW,WACXC,EAAW,WAEjB,IAAIC,EAAgB,MAClBC,YAAYC,GACVC,YAAiBC,KAAMF,GACvBE,KAAKC,QAAUC,YAAYF,KAAM,UAAW,GAC5CA,KAAKG,MAAQ,GACbH,KAAKI,SANgB,GAOrBJ,KAAKK,IAAMX,EACXM,KAAKM,IAAMX,EACXK,KAAKO,QAAS,EACdP,KAAKQ,cAAe,EACpBR,KAAKS,WAAa,KAClBT,KAAKU,cAAe,CACtB,CACAC,WAAWC,GACTZ,KAAKC,QAAQY,KAAKD,EACpB,CACAE,UAAUC,GAER,GADAf,KAAKgB,aAAeD,EAAEE,OAClBjB,KAAKgB,eAAiBhB,KAAKkB,aAC7B,OAAQH,EAAEI,KACR,IAAK,QACL,IAAK,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ACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBACpBC,EAAsB,kBAC5B,IAAIC,GAAqB,EAKzB,SAASzE,EAAe0E,EAASC,GAC/B,MAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,MAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAAOE,EAAOC,EAAOC,GAAS3D,EAAYE,QAAQ1D,MAAM,KACxD+G,EAASK,cAAcV,EAAmB,CACxCW,YAAa,GAAFC,OAAKL,EAAK,KAAAK,OAAIJ,EAAK,KAAAI,OAAIH,GAClCI,aAAcN,EACdO,aAAc,GAAFF,OAAKL,EAAK,KAAAK,OAAIJ,IAE9B,CAnBIO,GACAb,GAAqB,GAEvBG,EAASK,cAAcT,EAAqBe,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAepE,QAASF,EAAYE,WAC1J,C","file":"static/js/78.9189f5ca.chunk.js","sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\n/********************************************************\n * Time Utilities *\n * *\n * Time parsing and comparison, for ISO 8601 hh:mm:ss *\n ********************************************************/\n// Format should always adhere to: http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15\nconst DATE_STRING_PREFIX = '1978-09-23T';\nconst DATE_STRING_POSTFIX = 'Z'; // always use UTC\n/**\n * converts ISO 24hr time to a date that can be used for comparison\n * with other times converted with this function.\n */\nfunction fromIsoTime(timeStr) {\n return new Date(DATE_STRING_PREFIX + timeStr.trim() + DATE_STRING_POSTFIX);\n}\n\nconst guxTimePickerCss = \"gux-time-picker-beta{display:inline-block}gux-time-picker-beta input{box-sizing:border-box;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#2e394c;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px;text-align:right}gux-time-picker-beta input::placeholder{color:#596373}gux-time-picker-beta input::-webkit-input-placeholder{color:#596373}gux-time-picker-beta input::-ms-input-placeholder{color:#596373}gux-time-picker-beta input::-moz-placeholder{color:#596373}gux-time-picker-beta input.gux-focused,gux-time-picker-beta input:focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}gux-time-picker-beta .gux-list-container{position:relative}gux-time-picker-beta .gux-list-container gux-list{position:absolute;width:100%}gux-time-picker-beta .gux-list-container gux-list gux-list-item{text-align:right}.gux-dark-theme gux-time-picker-beta input{color:#fdfdfd;background-color:#2e394c;border:1px solid #6b7585}.gux-dark-theme gux-time-picker-beta input::placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input::-webkit-input-placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input::-ms-input-placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input::-moz-placeholder{color:#596373}.gux-dark-theme gux-time-picker-beta input.gux-focused,.gux-dark-theme gux-time-picker-beta input:focus{border:1px solid #aac9ff;outline:3px #aac9ff;box-shadow:none}\";\n\nconst MAX_TIME = '23:59:59';\nconst MIN_TIME = '00:00:00';\nconst DEFAULT_INTERVAL = 15;\nlet GuxTimePicker = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.changed = createEvent(this, \"changed\", 7);\n this.value = '';\n this.interval = DEFAULT_INTERVAL;\n this.max = MAX_TIME;\n this.min = MIN_TIME;\n this.active = false;\n this.openDropdown = false;\n this.suggestion = '00';\n this.isPressEvent = false;\n }\n watchValue(newValue) {\n this.changed.emit(newValue);\n }\n onKeyDown(e) {\n this.focusedField = e.target;\n if (this.focusedField === this.inputElement) {\n switch (e.key) {\n case 'Enter':\n case 'Escape':\n this.focusedField.blur();\n break;\n case 'Backspace':\n e.preventDefault();\n this.handleBackspace();\n break;\n case 'Tab':\n break;\n case 'ArrowDown':\n if (this.dropdownList) {\n this.dropdownList.setFocusOnFirstItem();\n }\n break;\n case 'ArrowUp':\n case 'ArrowRight':\n case 'ArrowLeft':\n e.preventDefault();\n break;\n default:\n e.preventDefault();\n if ('0' <= e.key && e.key <= '9') {\n this.openDropdown = true;\n if (this.focusedField.value.length < 8) {\n let newValue = this.focusedField.value + parseInt(e.key, 10);\n const arr = newValue.split(':');\n if (newValue.length > 6 && Number(arr[2].padEnd(2, '0')) > 59) {\n return;\n }\n if (!this.canBeCompletedToAValidTime(newValue)) {\n return;\n }\n if (arr[arr.length - 1].length === 2 && newValue.length < 8) {\n newValue += ':';\n }\n this.focusedField.value = newValue;\n this.suggestion = arr[0].padEnd(2, '0');\n }\n }\n }\n }\n }\n canBeCompletedToAValidTime(str) {\n const max = fromIsoTime(str + this.max.slice(str.length));\n const min = fromIsoTime(str + this.min.slice(str.length));\n if ((this.minTimeObj <= max && max <= this.maxTimeObj) ||\n (this.minTimeObj <= min && min <= this.maxTimeObj)) {\n return true;\n }\n return false;\n }\n handleBackspace() {\n this.openDropdown = true;\n if (this.focusedField.selectionStart === this.focusedField.selectionEnd) {\n const newEnd = this.focusedField.value.endsWith(':') ? -2 : -1;\n this.focusedField.value = this.focusedField.value.slice(0, newEnd);\n this.suggestion = this.focusedField.value.split(':')[0].padEnd(2, '0');\n }\n else {\n this.focusedField.value = '';\n }\n }\n onPress(e) {\n this.isPressEvent = true;\n const chosenTimeOption = e.target;\n this.inputElement.value = chosenTimeOption.value;\n this.updateChosenValue();\n }\n onFocusOut(e) {\n if (!this.isPressEvent && !this.root.contains(e.relatedTarget)) {\n this.updateChosenValue();\n }\n this.isPressEvent = false;\n }\n updateChosenValue() {\n this.inputElement.value = this.validateValue(this.inputElement.value);\n this.value = this.inputElement.value;\n this.active = false;\n this.openDropdown = false;\n }\n onMouseUp(e) {\n this.focusedField = e.target;\n if (this.focusedField === this.inputElement) {\n if (this.focusedField.selectionEnd !== this.inputElement.value.length) {\n this.inputElement.setSelectionRange(0, this.inputElement.value.length);\n }\n else {\n this.inputElement.setSelectionRange(this.inputElement.value.length, this.inputElement.value.length);\n }\n }\n }\n onFocusIn(e) {\n this.focusedField = e.target;\n this.active = true;\n }\n isValidTime(time) {\n const postionArray = time.split(':');\n const maxTimeArray = MAX_TIME.split(':');\n for (let i = 0; i < postionArray.length; i++) {\n if (Number(postionArray[i]) > Number(maxTimeArray[i])) {\n return false;\n }\n }\n return true;\n }\n validateUpperBound() {\n this.max = this.isInFormat(this.max) ? this.max : MAX_TIME;\n this.max = this.isValidTime(this.max) ? this.max : MAX_TIME;\n }\n validateLowerBound() {\n this.min = this.isInFormat(this.min) ? this.min : MIN_TIME;\n this.min = this.isValidTime(this.min) ? this.min : MIN_TIME;\n }\n validateBounds() {\n this.validateUpperBound();\n this.validateLowerBound();\n this.maxTimeObj = fromIsoTime(this.max);\n this.minTimeObj = fromIsoTime(this.min);\n if (this.maxTimeObj < this.minTimeObj) {\n this.max = MAX_TIME;\n this.min = MIN_TIME;\n this.maxTimeObj = fromIsoTime(this.max);\n this.minTimeObj = fromIsoTime(this.min);\n }\n }\n validateValue(value) {\n let validatedValue = this.isInFormat(value) ? value : '';\n validatedValue =\n validatedValue !== '' && this.isValidTime(validatedValue)\n ? validatedValue\n : '';\n if (validatedValue) {\n const valueTimeObj = fromIsoTime(validatedValue);\n validatedValue =\n this.minTimeObj <= valueTimeObj && valueTimeObj <= this.maxTimeObj\n ? validatedValue\n : '';\n }\n return validatedValue;\n }\n componentWillLoad() {\n trackComponent(this.root);\n this.validateBounds();\n this.value = this.validateValue(this.value);\n }\n isInFormat(value) {\n const regex = /^\\d{2}:\\d{2}:\\d{2}$/;\n return regex.test(value);\n }\n render() {\n return (h(\"div\", null, h(\"div\", { class: \"gux-input\" }, h(\"input\", { type: \"text\", value: this.value, size: 9, class: this.active ? 'gux-focused' : '', ref: el => (this.inputElement = el) })), this.openDropdown === true && (h(\"div\", { class: \"gux-list-container\" }, h(\"gux-list\", { ref: el => (this.dropdownList = el) }, this.buildDropdownOptions().map(value => {\n return (h(\"gux-list-item\", { value: value, text: value }));\n }))))));\n }\n buildDropdownOptions() {\n const dropDownOptions = [];\n for (let i = 0; i < 60; i += this.interval) {\n const time = [\n this.suggestion.toString().padStart(2, '0'),\n i.toString().padStart(2, '0'),\n '00'\n ].join(':');\n const timeObj = fromIsoTime(time);\n if (this.minTimeObj <= timeObj && timeObj <= this.maxTimeObj) {\n dropDownOptions.push(time);\n }\n }\n return dropDownOptions;\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"watchValue\"]\n }; }\n};\nGuxTimePicker.style = guxTimePickerCss;\n\nexport { GuxTimePicker as gux_time_picker_beta };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[79],{129:function(e,t,s){"use strict";s.r(t),s.d(t,"gux_toggle",(function(){return l}));var n=s(10),i=s(133);let l=class{constructor(e){Object(n.j)(this,e),this.check=Object(n.d)(this,"check",7),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right"}onClick(){this.toggle()}onKeydown(e){switch(e.key){case"Enter":case" ":e.preventDefault(),this.toggle()}}toggle(){if(!this.disabled&&!this.loading){this.check.emit(this.checked).defaultPrevented||(this.checked=!this.checked)}}getAriaLabel(){return(this.checked?this.checkedLabel:this.uncheckedLabel)||this.root.getAttribute("aria-label")||this.root.title}componentWillLoad(){const e=this.checkedLabel||this.uncheckedLabel?"labled":"unlabled";Object(i.a)(this.root,{variant:e})}renderLoading(){if(this.loading)return Object(n.h)("div",{class:"gux-toggle-label-loading"},Object(n.h)("gux-radial-loading",{context:"input"}))}renderLabel(){if(this.uncheckedLabel&&this.checkedLabel){const e=this.checked?this.checkedLabel:this.uncheckedLabel;return Object(n.h)("div",{class:"gux-toggle-label-and-error"},Object(n.h)("div",{class:"gux-toggle-label"},Object(n.h)("div",{class:"gux-toggle-label-text"},e),this.renderLoading()))}}renderError(){if(this.errorMessage)return Object(n.h)("div",{class:"gux-toggle-error"},Object(n.h)("gux-error-message-beta",null,this.errorMessage))}render(){return Object(n.h)("div",{class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading},role:"checkbox","aria-checked":Boolean(this.checked).toString(),"aria-label":this.getAriaLabel()},Object(n.h)("div",{class:"gux-toggle-input"},Object(n.h)("gux-toggle-slider",{checked:this.checked,disabled:this.disabled||this.loading}),this.renderLabel()),this.renderError())}static get delegatesFocus(){return!0}get root(){return Object(n.g)(this)}};l.style=":host{display:block;margin:2px;color:#2e394c;outline:none}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse;text-align:right}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}"},133:function(e,t,s){"use strict";s.d(t,"a",(function(){return r}));const n={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},i="spark-library",l="spark-component";let c=!1;function r(e,t){const s=window.newrelic;s&&(c||(!function(){const e=window.newrelic;if(!e)return;const[t,s,l]=n.version.split(".");e.addPageAction(i,{fullVersion:"".concat(t,".").concat(s,".").concat(l),majorVersion:t,minorVersion:"".concat(t,".").concat(s)})}(),c=!0),s.addPageAction(l,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:n.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=79.0380c00b.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-toggle.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js"],"names":["GuxToggle","constructor","hostRef","registerInstance","this","check","createEvent","checked","disabled","loading","labelPosition","onClick","toggle","onKeydown","event","key","preventDefault","emit","defaultPrevented","getAriaLabel","checkedLabel","uncheckedLabel","root","getAttribute","title","componentWillLoad","variant","trackComponent","renderLoading","h","class","context","renderLabel","labelText","renderError","errorMessage","render","role","Boolean","toString","delegatesFocus","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","componentPageAction","libVersionReported","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"mappings":"+GAAA,uEAKA,IAAIA,EAAY,MACdC,YAAYC,GACVC,YAAiBC,KAAMF,GACvBE,KAAKC,MAAQC,YAAYF,KAAM,QAAS,GACxCA,KAAKG,SAAU,EACfH,KAAKI,UAAW,EAChBJ,KAAKK,SAAU,EACfL,KAAKM,cAAgB,OACvB,CACAC,UACEP,KAAKQ,QACP,CACAC,UAAUC,GACR,OAAQA,EAAMC,KACZ,IAAK,QACL,IAAK,IACHD,EAAME,iBACNZ,KAAKQ,SAEX,CACAA,SACE,IAAKR,KAAKI,WAAaJ,KAAKK,QAAS,CAChBL,KAAKC,MAAMY,KAAKb,KAAKG,SACxBW,mBACdd,KAAKG,SAAWH,KAAKG,QAEzB,CACF,CACAY,eAEE,OADcf,KAAKG,QAAUH,KAAKgB,aAAehB,KAAKiB,iBACtCjB,KAAKkB,KAAKC,aAAa,eAAiBnB,KAAKkB,KAAKE,KACpE,CACAC,oBACE,MAAMC,EAAUtB,KAAKgB,cAAgBhB,KAAKiB,eAAiB,SAAW,WACtEM,YAAevB,KAAKkB,KAAM,CAAEI,WAC9B,CACAE,gBACE,GAAIxB,KAAKK,QACP,OAAQoB,YAAE,MAAO,CAAEC,MAAO,4BAA8BD,YAAE,qBAAsB,CAAEE,QAAS,UAE/F,CACAC,cACE,GAAI5B,KAAKiB,gBAAkBjB,KAAKgB,aAAc,CAC5C,MAAMa,EAAY7B,KAAKG,QAAUH,KAAKgB,aAAehB,KAAKiB,eAC1D,OAAQQ,YAAE,MAAO,CAAEC,MAAO,8BAAgCD,YAAE,MAAO,CAAEC,MAAO,oBAAsBD,YAAE,MAAO,CAAEC,MAAO,yBAA2BG,GAAY7B,KAAKwB,iBAClK,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CC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBACpBC,EAAsB,kBAC5B,IAAIC,GAAqB,EAKzB,SAAStE,EAAeuE,EAASC,GAC/B,MAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,MAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAAOE,EAAOC,EAAOC,GAAS7D,EAAYE,QAAQ4D,MAAM,KACxDL,EAASM,cAAcX,EAAmB,CACxCY,YAAa,GAAFC,OAAKN,EAAK,KAAAM,OAAIL,EAAK,KAAAK,OAAIJ,GAClCK,aAAcP,EACdQ,aAAc,GAAFF,OAAKN,EAAK,KAAAM,OAAIL,IAE9B,CAnBIQ,GACAd,GAAqB,GAEvBG,EAASM,cAAcV,EAAqBgB,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGd,GAAW,CAAEe,UAAWhB,EAAQiB,QAAQC,cAAevE,QAASF,EAAYE,WAC1J,C","file":"static/js/79.0380c00b.chunk.js","sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxToggleCss = \":host{display:block;margin:2px;color:#2e394c;outline:none}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse;text-align:right}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}\";\n\nlet GuxToggle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.check = createEvent(this, \"check\", 7);\n this.checked = false;\n this.disabled = false;\n this.loading = false;\n this.labelPosition = 'right';\n }\n onClick() {\n this.toggle();\n }\n onKeydown(event) {\n switch (event.key) {\n case 'Enter':\n case ' ':\n event.preventDefault();\n this.toggle();\n }\n }\n toggle() {\n if (!this.disabled && !this.loading) {\n const checkEvent = this.check.emit(this.checked);\n if (!checkEvent.defaultPrevented) {\n this.checked = !this.checked;\n }\n }\n }\n getAriaLabel() {\n const label = this.checked ? this.checkedLabel : this.uncheckedLabel;\n return label || this.root.getAttribute('aria-label') || this.root.title;\n }\n componentWillLoad() {\n const variant = this.checkedLabel || this.uncheckedLabel ? 'labled' : 'unlabled';\n trackComponent(this.root, { variant });\n }\n renderLoading() {\n if (this.loading) {\n return (h(\"div\", { class: \"gux-toggle-label-loading\" }, h(\"gux-radial-loading\", { context: \"input\" })));\n }\n }\n renderLabel() {\n if (this.uncheckedLabel && this.checkedLabel) {\n const labelText = this.checked ? this.checkedLabel : this.uncheckedLabel;\n return (h(\"div\", { class: \"gux-toggle-label-and-error\" }, h(\"div\", { class: \"gux-toggle-label\" }, h(\"div\", { class: \"gux-toggle-label-text\" }, labelText), this.renderLoading())));\n }\n }\n renderError() {\n if (this.errorMessage) {\n return (h(\"div\", { class: \"gux-toggle-error\" }, h(\"gux-error-message-beta\", null, this.errorMessage)));\n }\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-toggle-container': true,\n 'gux-toggle-label-left': this.labelPosition === 'left',\n 'gux-disabled': this.disabled || this.loading\n }, role: \"checkbox\", \"aria-checked\": Boolean(this.checked).toString(), \"aria-label\": this.getAriaLabel() }, h(\"div\", { class: \"gux-toggle-input\" }, h(\"gux-toggle-slider\", { checked: this.checked, disabled: this.disabled || this.loading }), this.renderLabel()), this.renderError()));\n }\n static get delegatesFocus() { return true; }\n get root() { return getElement(this); }\n};\nGuxToggle.style = guxToggleCss;\n\nexport { GuxToggle as gux_toggle };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[8],{133:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const i={name:"@genesys/common-webcomponents",version:"2.59.1",description:"Common webcomponents",license:"MIT",main:"dist/stencil-wrapper.js",types:"dist/types/index.d.ts",collection:"dist/collection/collection-manifest.json",files:["dist/"],scripts:{build:"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper","build-wrapper":"./scripts/wrap-stencil.js","check-readmes":"./scripts/check-readmes.sh",clean:"rm -r ./dist || true",commit:"git-cz","create-component":"node scripts/create-component.js","create-non-en-i18n-files":"node scripts/create-non-en-i18n-files.js",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},r="spark-library",o="spark-component";let s=!1;function a(e,t){const n=window.newrelic;n&&(s||(!function(){const e=window.newrelic;if(!e)return;const[t,n,o]=i.version.split(".");e.addPageAction(r,{fullVersion:"".concat(t,".").concat(n,".").concat(o),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),s=!0),n.addPageAction(o,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}},134:function(e,t,n){"use strict";function i(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux","-").concat(Math.random().toString(36).substr(2,10))}n.d(t,"a",(function(){return i}))},135:function(e,t,n){"use strict";function i(e,t){switch(t){case"change":return e.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return e.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}n.d(t,"a",(function(){return i}))},136:function(e,t,n){"use strict";function i(e,t){setTimeout((()=>{throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((()=>{console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}))},137:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(135);function r(e,t,n){e.value=t,Object(i.a)(e,"input"),Object(i.a)(e,"change"),n&&e.focus()}},138:function(e,t,n){"use strict";function i(e,t){const n=new MutationObserver((n=>{n.forEach((()=>{t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){const n=new MutationObserver((n=>{n.forEach((n=>{"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r}))},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(10);function r(e){return(t,n)=>{const{connectedCallback:r,disconnectedCallback:o}=t;let s;t.connectedCallback=function(){const t=Object(i.g)(this),o=this[n];return s=new MutationObserver(o.bind(this)),s.observe(t,e),r&&r.call(this)},t.disconnectedCallback=function(){return s.disconnect(),o&&o.call(this)}}}},141:function(e,t,n){"use strict";function i(e){e.addEventListener("invalid",(e=>{e.preventDefault()}))}n.d(t,"a",(function(){return i}))},142:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return p}));var i=n(10),r=n(134),o=n(136),s=n(137);const a=(e,t)=>{let{hasError:n}=e;return Object(i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},Object(i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),Object(i.h)("div",{class:"gux-message"},t))};function c(e){Object(s.a)(e,"",!0)}function l(e){return Boolean(e.querySelector('[slot="error"]'))}function u(e){return Boolean(e.value)}function d(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function p(e,t){if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){const n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),s=Boolean(n.hasAttribute("for"));if(!i&&s)Object(o.b)(e.tagName.toLowerCase(),'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!s){const e=t.getAttribute("id");n.setAttribute("for",e)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&Object(o.b)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{const e=Object(r.a)("gux-form-field-input");t.setAttribute("id",e),n.setAttribute("for",e)}}else Object(o.b)(e.tagName.toLowerCase(),'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(l(e)){const n=e.querySelector('[slot="error"]'),i=Object(r.a)("gux-form-field-error");n.setAttribute("id",i),t.setAttribute("aria-describedby",i)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},143:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(10);const r=(e,t)=>{let{labelPosition:n}=e;return Object(i.h)("div",{class:{"gux-form-field-container":!0,["gux-".concat(n)]:!0}},t)},o=(e,t)=>{let{position:n,required:r}=e;return Object(i.h)("div",{class:{"gux-form-field-label":!0,["gux-".concat(n)]:!0,"gux-required":r}},t)}},74:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_form_field_range_beta",(function(){return d}));var i=n(10),r=n(140),o=n(138),s=n(141),a=n(133),c=n(143),l=n(142);n(134),n(136),n(137),n(135);var u=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};let d=class{constructor(e){Object(i.j)(this,e),this.computedLabelPosition="above",this.hasError=!1}onInput(e){const t=e.target;this.updateValue(t.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.hasError=Object(l.e)(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=Object(l.e)(this.root),Object(a.a)(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return Object(i.h)(i.a,{class:{"gux-active":this.active}},Object(i.h)(c.b,{labelPosition:this.computedLabelPosition},Object(i.h)(c.a,{position:this.computedLabelPosition,required:this.required},Object(i.h)("slot",{name:"label",onSlotchange:()=>this.setLabel()})),Object(i.h)("div",{class:"gux-input-and-error-container"},this.renderRangeInput(),Object(i.h)(l.a,{hasError:this.hasError},Object(i.h)("slot",{name:"error"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=this.root.querySelector('input[type="range"][slot="input"]'),Object(s.a)(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.value=this.input.value,this.disabledObserver=Object(o.c)(this.input,(e=>{this.disabled=e})),this.requiredObserver=Object(o.a)(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),Object(l.f)(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=Object(l.d)(this.label,this.labelPosition)}renderRangeInput(){return Object(i.h)("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled}},Object(i.h)("div",{class:"gux-range"},Object(i.h)("div",{class:"gux-track"},Object(i.h)("div",{class:"gux-progress",ref:e=>this.progressElement=e})),Object(i.h)("slot",{name:"input"}),Object(i.h)("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:e=>this.sliderTooltipContainer=e},Object(i.h)("div",{class:"gux-range-tooltip",ref:e=>this.sliderTooltip=e},this.getDisplayValue()))),Object(i.h)("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){const e=Number(this.input.value||0),t=Number(this.input.min||0),n=(e-t)/(Number(this.input.max||100)-t)*100;if(this.sliderTooltip){const e=n-n/8/this.sliderTooltipContainer.offsetWidth*100;this.sliderTooltip.style.left="".concat(e,"%")}this.progressElement.style.width="".concat(n,"%")}getDisplayValue(){return this.displayUnits?"".concat(this.value).concat(this.displayUnits):this.value}get root(){return Object(i.g)(this)}};u([Object(r.a)({childList:!0,subtree:!0})],d.prototype,"onMutation",null),d.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input[type='range']){position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#b4bccb}"}}]);
|
|
2
|
+
//# sourceMappingURL=8.62d1b039.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-mutation-678b39ea.js","../node_modules/@genesys/common-webcomponents/dist/esm/prevent-browser-validation-styling-d16c3f4c.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field.servce-8bb23dbf.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-label-49e29743.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-range-beta.entry.js"],"names":["packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","componentPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","major","minor","patch","split","addPageAction","fullVersion","concat","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","randomHTMLId","arguments","length","undefined","Math","random","toString","substr","simulateNativeEvent","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","logError","message","setTimeout","Error","logWarn","console","warn","setInputValue","input","value","focusAfter","focus","onHiddenChange","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","onDisabledChange","mutation","attributeName","disabled","onRequiredChange","required","OnMutation","opt","proto","methodName","connectedCallback","disconnectedCallback","onMutationObserver","host","getElement","this","method","bind","call","disconnect","preventBrowserValidationStyling","addEventListener","event","preventDefault","GuxFormFieldError","_ref","children","hasError","h","class","decorative","clearInput","hasErrorSlot","root","Boolean","querySelector","hasContent","getComputedLabelPosition","label","labelPosition","includes","offsetWidth","validateFormIds","hasLabelSlot","inputHasId","hasAttribute","labelHasFor","forId","getAttribute","setAttribute","defaultInputId","error","errorId","startsWith","removeAttribute","GuxFormFieldContainer","GuxFormFieldLabel","_ref2","position","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxFormField","constructor","hostRef","registerInstance","computedLabelPosition","onInput","e","updateValue","onMousedown","active","onMouseup","onMutation","componentWillLoad","setInput","setLabel","variant","componentDidLoad","updatePosition","disabledObserver","requiredObserver","clearInterval","valueWatcherId","render","Host","onSlotchange","renderRangeInput","setInterval","ref","el","progressElement","valueInTooltip","sliderTooltipContainer","sliderTooltip","getDisplayValue","newValue","Number","min","placementPercentage","max","offset","style","left","width","displayUnits","childList","subtree","prototype"],"mappings":"8GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,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AAEC,MAAO,eAAgBsE,IAAKC,GAAOrF,KAAKsF,gBAAkBD,KAASxE,YAAE,OAAQ,CAAE1I,KAAM,UAAY0I,YAAE,MAAO,CAAEC,MAAO,CACnM,+BAA+B,EAC/B,cAAed,KAAKuF,gBACnBH,IAAKC,GAAOrF,KAAKwF,uBAAyBH,GAAOxE,YAAE,MAAO,CAAEC,MAAO,oBAAqBsE,IAAKC,GAAOrF,KAAKyF,cAAgBJ,GAAOrF,KAAK0F,qBAAsB7E,YAAE,MAAO,CAAEC,MAAO,CAC9K,eAAe,EACf,aAAcd,KAAKuF,iBAChBvF,KAAK0F,mBACd,CACA1B,YAAY2B,GACV3F,KAAK5B,MAAQuH,EACb3F,KAAK0E,gBACP,CACAA,iBACE,MAAMtG,EAAQwH,OAAO5F,KAAK7B,MAAMC,OAAS,GACnCyH,EAAMD,OAAO5F,KAAK7B,MAAM0H,KAAO,GAE/BC,GAAwB1H,EAAQyH,IAD1BD,OAAO5F,KAAK7B,MAAM4H,KAAO,KACeF,GAAQ,IAC5D,GAAI7F,KAAKyF,cAAe,CACtB,MACMO,EAASF,EAAuBA,EAAsB,EAD9C9F,KAAKwF,uBAAuB9D,YAC+B,IACzE1B,KAAKyF,cAAcQ,MAAMC,KAAO,GAAH9J,OAAM4J,EAAM,IAC3C,CACAhG,KAAKsF,gBAAgBW,MAAME,MAAQ,GAAH/J,OAAM0J,EAAmB,IAC3D,CACAJ,kBACE,OAAI1F,KAAKoG,aACA,GAAPhK,OAAU4D,KAAK5B,OAAKhC,OAAG4D,KAAKoG,cAEvBpG,KAAK5B,KACd,CACA,QAAI8C,GAAS,OAAOnB,YAAWC,KAAO,GAExC4C,EAAW,CACTrD,YAAW,CAAE8G,WAAW,EAAMC,SAAS,KACtC7C,EAAa8C,UAAW,aAAc,MACzC9C,EAAawC,MAtHgB,g8G","file":"static/js/8.62d1b039.chunk.js","sourcesContent":["const name = \"@genesys/common-webcomponents\";\nconst version = \"2.59.1\";\nconst description = \"Common webcomponents\";\nconst license = \"MIT\";\nconst main = \"dist/stencil-wrapper.js\";\nconst types = \"dist/types/index.d.ts\";\nconst collection = \"dist/collection/collection-manifest.json\";\nconst files = [\n\t\"dist/\"\n];\nconst scripts = {\n\tbuild: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n\t\"build-wrapper\": \"./scripts/wrap-stencil.js\",\n\t\"check-readmes\": \"./scripts/check-readmes.sh\",\n\tclean: \"rm -r ./dist || true\",\n\tcommit: \"git-cz\",\n\t\"create-component\": \"node scripts/create-component.js\",\n\t\"create-non-en-i18n-files\": \"node scripts/create-non-en-i18n-files.js\",\n\tdev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n\t\"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n\tdocs: \"cd ./docs && npm run build\",\n\t\"docs.dev\": \"cd ./docs && npm run start\",\n\t\"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n\tformat: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n\t\"format.check\": \"npm run format -- --check\",\n\t\"format.fix\": \"npm run format -- --write\",\n\t\"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n\t\"generate-versions-file\": \"./scripts/generate-versions-file.mjs\",\n\ti18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n\tlint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n\t\"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n\t\"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n\t\"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n\t\"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons\",\n\t\"lint.ts\": \"tslint --project .\",\n\t\"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n\t\"list-shadow-explicitly-set\": \"./scripts/list-shadow-explicitly-set.js\",\n\t\"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n\tpredev: \"npm run i18n\",\n\t\"predev.public\": \"npm run predev\",\n\tprepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n\trelease: \"standard-version\",\n\tstencil: \"stencil build --prod\",\n\t\"stencil.dev\": \"stencil build --dev --watch --docs\",\n\ttest: \"stencil test --spec --e2e\",\n\t\"test.ci\": \"npm run test.ci.spec && npm run test.ci.e2e\",\n\t\"test.ci.spec\": \"stencil test --spec\",\n\t\"test.ci.e2e\": \"stencil test --e2e --max-workers=1\",\n\t\"test.e2e\": \"stencil test --e2e\",\n\t\"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n\t\"test.screenshot\": \"stencil test --e2e --screenshot\",\n\t\"test.unit\": \"stencil build dev && stencil test --spec\",\n\t\"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n\t\"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n\t\"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nconst dependencies = {\n\t\"@popperjs/core\": \"^2.10.2\",\n\t\"intl-messageformat\": \"~9.4.9\",\n\t\"requestanimationframe-timer\": \"^3.0.3\",\n\tsortablejs: \"^1.14.0\",\n\t\"stencil-click-outside\": \"^1.7.1\"\n};\nconst devDependencies = {\n\t\"@babel/core\": \"^7.15.8\",\n\t\"@babel/preset-env\": \"^7.15.8\",\n\t\"@commitlint/cli\": \"^13.2.1\",\n\t\"@commitlint/config-conventional\": \"^13.2.0\",\n\t\"@rollup/plugin-replace\": \"^3.0.0\",\n\t\"@stencil/core\": \"^2.9.0\",\n\t\"@stencil/less\": \"^1.0.0\",\n\t\"@stencil/utils\": \"0.0.5\",\n\t\"@types/jest\": \"^26.0.24\",\n\t\"@types/jsdom\": \"^16.2.13\",\n\t\"@types/new-relic-browser\": \"^0.1118.2\",\n\t\"@types/puppeteer\": \"^5.4.4\",\n\t\"@types/resize-observer-browser\": \"^0.1.6\",\n\t\"@types/sortablejs\": \"^1.10.7\",\n\t\"axe-live\": \"^0.1.0\",\n\t\"babel-loader\": \"^8.2.3\",\n\tcommitizen: \"^4.2.4\",\n\tconcurrently: \"^6.3.0\",\n\t\"cz-conventional-changelog\": \"^3.3.0\",\n\t\"file-loader\": \"^6.2.0\",\n\tglob: \"^7.2.0\",\n\thandlebars: \"^4.7.7\",\n\thusky: \"^7.0.4\",\n\tinquirer: \"^8.2.0\",\n\tjest: \"^26.6.3\",\n\t\"jest-cli\": \"^26.6.3\",\n\t\"jest-config\": \"^26.6.3\",\n\t\"jest-environment-node\": \"^26.6.2\",\n\t\"jest-junit\": \"^13.0.0\",\n\tjsdom: \"^18.0.0\",\n\t\"lint-staged\": \"^11.2.3\",\n\tmarked: \"^3.0.7\",\n\t\"mutation-observer\": \"^1.0.3\",\n\t\"node-fetch\": \"^3.2.1\",\n\tprettier: \"^2.4.1\",\n\tpuppeteer: \"^10.4.0\",\n\trollup: \"^2.58.0\",\n\t\"rollup-plugin-copy\": \"^3.4.0\",\n\t\"rollup-plugin-less\": \"^1.1.3\",\n\t\"semver-sort\": \"^1.0.0\",\n\t\"standard-version\": \"^9.3.2\",\n\tstylelint: \"^13.13.1\",\n\t\"stylelint-config-prettier\": \"^9.0.3\",\n\t\"stylelint-config-recess-order\": \"^2.5.0\",\n\t\"stylelint-config-standard\": \"^22.0.0\",\n\tsvgo: \"^2.7.0\",\n\t\"ts-loader\": \"^9.2.6\",\n\ttslint: \"^6.1.3\",\n\t\"tslint-config-prettier\": \"^1.18.0\",\n\ttypescript: \"^3.9.10\",\n\tweekstart: \"^1.1.0\",\n\txmldom: \"^0.6.0\"\n};\nconst repository = {\n\ttype: \"git\",\n\turl: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nconst config = {\n\tcommitizen: {\n\t\tpath: \"./node_modules/cz-conventional-changelog\"\n\t}\n};\nconst commitlint = {\n\t\"extends\": [\n\t\t\"@commitlint/config-conventional\"\n\t],\n\trules: {\n\t\t\"subject-case\": [\n\t\t\t2,\n\t\t\t\"never\",\n\t\t\t[\n\t\t\t\t\"pascal-case\",\n\t\t\t\t\"upper-case\"\n\t\t\t]\n\t\t]\n\t}\n};\nconst stylelint = {\n\t\"extends\": [\n\t\t\"stylelint-config-standard\",\n\t\t\"stylelint-config-recess-order\",\n\t\t\"stylelint-config-prettier\"\n\t],\n\trules: {\n\t\t\"no-descending-specificity\": null,\n\t\t\"no-duplicate-selectors\": null,\n\t\t\"selector-type-no-unknown\": [\n\t\t\ttrue,\n\t\t\t{\n\t\t\t\tignoreTypes: [\n\t\t\t\t\t\"/^gux-/\",\n\t\t\t\t\t\"lineargradient\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t}\n};\nconst packageInfo = {\n\tname: name,\n\tversion: version,\n\tdescription: description,\n\tlicense: license,\n\tmain: main,\n\ttypes: types,\n\tcollection: collection,\n\tfiles: files,\n\tscripts: scripts,\n\tdependencies: dependencies,\n\tdevDependencies: devDependencies,\n\trepository: repository,\n\tconfig: config,\n\tcommitlint: commitlint,\n\tstylelint: stylelint,\n\t\"lint-staged\": {\n\t\"*.{css,html,less}\": [\n\t\t\"stylelint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{ts,tsx}\": [\n\t\t\"tslint --fix\",\n\t\t\"prettier --write\"\n\t],\n\t\"*.{js,jsx,json}\": \"prettier --write\",\n\t\"*.svg\": \"svgo -i\"\n}\n};\n\nconst libraryPageAction = 'spark-library';\nconst componentPageAction = 'spark-component';\nlet libVersionReported = false;\n/**\n * Submits a component for tracking by NewRelic. Will also report the version of the library being\n * used the first time it is called.\n */\nfunction trackComponent(element, metadata) {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n // if (element['s-hn']) {\n // return;\n // }\n if (!libVersionReported) {\n reportLibraryVersion();\n libVersionReported = true;\n }\n newrelic.addPageAction(componentPageAction, Object.assign(Object.assign({}, metadata), { component: element.tagName.toLowerCase(), version: packageInfo.version }));\n}\n/**\n * Sends a library usage page action the first time it is called, does nothing afterward.\n */\nfunction reportLibraryVersion() {\n const newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n const [major, minor, patch] = packageInfo.version.split('.');\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: `${major}.${minor}.${patch}`,\n majorVersion: major,\n minorVersion: `${major}.${minor}`\n });\n}\n\nexport { trackComponent as t };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\n","function logError(component, message) {\n setTimeout(() => {\n throw new Error(`[${component}] ${message}`);\n }, 0);\n}\nfunction logWarn(component, message) {\n setTimeout(() => {\n console.warn(`[${component}] ${message}`);\n }, 0);\n}\n\nexport { logWarn as a, logError as l };\n","import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\n\nfunction setInputValue(input, value, focusAfter) {\n input.value = value;\n simulateNativeEvent(input, 'input');\n simulateNativeEvent(input, 'change');\n if (focusAfter) {\n input.focus();\n }\n}\n\nexport { setInputValue as s };\n","function onHiddenChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(() => {\n callback(element.hidden);\n });\n });\n observer.observe(element, {\n attributes: true,\n attributeFilter: ['hidden']\n });\n return observer;\n}\nfunction onDisabledChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'disabled') {\n callback(element.disabled);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\nfunction onRequiredChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'required') {\n callback(element.required);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\n\nexport { onRequiredChange as a, onHiddenChange as b, onDisabledChange as o };\n","import { g as getElement } from './index-5f3763b4.js';\n\nfunction OnMutation(opt) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n let onMutationObserver;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n onMutationObserver = new MutationObserver(method.bind(this));\n onMutationObserver.observe(host, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n onMutationObserver.disconnect();\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n\nexport { OnMutation as O };\n","function preventBrowserValidationStyling(input) {\n input.addEventListener('invalid', event => {\n event.preventDefault();\n });\n}\n\nexport { preventBrowserValidationStyling as p };\n","import { h } from './index-5f3763b4.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\n\nconst GuxFormFieldError = ({ hasError }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-error': true,\n 'gux-show': hasError\n } },\n h(\"gux-icon\", { \"icon-name\": \"alert-warning-octogon\", decorative: true }),\n h(\"div\", { class: \"gux-message\" }, children)));\n};\n\nfunction clearInput(input) {\n setInputValue(input, '', true);\n}\nfunction hasErrorSlot(root) {\n return Boolean(root.querySelector('[slot=\"error\"]'));\n}\nfunction hasContent(input) {\n return Boolean(input.value);\n}\nfunction getComputedLabelPosition(label, labelPosition) {\n if (label) {\n if (['above', 'beside', 'screenreader'].includes(labelPosition)) {\n return labelPosition;\n }\n else if (label.offsetWidth > 1 && label.offsetWidth < 40) {\n return 'beside';\n }\n else {\n return 'above';\n }\n }\n}\nfunction validateFormIds(root, input) {\n if (hasLabelSlot(root)) {\n const label = root.querySelector('label[slot=\"label\"]');\n const inputHasId = Boolean(input.hasAttribute('id'));\n const labelHasFor = Boolean(label.hasAttribute('for'));\n if (!inputHasId && labelHasFor) {\n logError(root.tagName.toLowerCase(), 'A \"for\" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the \"for\" attribute from the label. If there is no input id and no \"for\" attribute provided, the component will automatically generate an id and link it to the \"for\" attribute.');\n }\n else if (!inputHasId) {\n const defaultInputId = randomHTMLId('gux-form-field-input');\n input.setAttribute('id', defaultInputId);\n label.setAttribute('for', defaultInputId);\n }\n else if (inputHasId && !labelHasFor) {\n const forId = input.getAttribute('id');\n label.setAttribute('for', forId);\n }\n else if (inputHasId &&\n labelHasFor &&\n input.getAttribute('id') !== label.getAttribute('for')) {\n logError(root.tagName.toLowerCase(), 'The input id and label for attribute should match.');\n }\n }\n else {\n logError(root.tagName.toLowerCase(), 'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to \"screenreader\" to visually hide the label.');\n }\n if (hasErrorSlot(root)) {\n const error = root.querySelector('[slot=\"error\"]');\n const errorId = randomHTMLId('gux-form-field-error');\n error.setAttribute('id', errorId);\n input.setAttribute('aria-describedby', errorId);\n }\n else if (input.getAttribute('aria-describedby') &&\n input.getAttribute('aria-describedby').startsWith('gux-form-field-error')) {\n input.removeAttribute('aria-describedby');\n }\n}\nfunction hasLabelSlot(root) {\n return Boolean(root.querySelector('label[slot=\"label\"]'));\n}\n\nexport { GuxFormFieldError as G, hasContent as a, clearInput as c, getComputedLabelPosition as g, hasErrorSlot as h, validateFormIds as v };\n","import { h } from './index-5f3763b4.js';\n\nconst GuxFormFieldContainer = ({ labelPosition }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-container': true,\n [`gux-${labelPosition}`]: true\n } }, children));\n};\n\nconst GuxFormFieldLabel = ({ position, required }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-label': true,\n [`gux-${position}`]: true,\n 'gux-required': required\n } }, children));\n};\n\nexport { GuxFormFieldLabel as G, GuxFormFieldContainer as a };\n","import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\nimport { a as GuxFormFieldContainer, G as GuxFormFieldLabel } from './gux-form-field-label-49e29743.js';\nimport { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-8bb23dbf.js';\nimport './random-html-id-8e3f658c.js';\nimport './log-error-3d08c2b1.js';\nimport './set-input-value-5adeaccc.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst guxFormFieldRangeCss = \".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input[type='range']){position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#8a97ad}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#b4bccb}\";\n\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if (d = decorators[i])\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet GuxFormField = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.computedLabelPosition = 'above';\n this.hasError = false;\n }\n onInput(e) {\n const input = e.target;\n this.updateValue(input.value);\n }\n onMousedown() {\n if (!this.disabled) {\n this.active = true;\n }\n }\n onMouseup() {\n this.active = false;\n }\n onMutation() {\n this.hasError = hasErrorSlot(this.root);\n }\n componentWillLoad() {\n this.setInput();\n this.setLabel();\n this.hasError = hasErrorSlot(this.root);\n trackComponent(this.root, { variant: this.variant });\n }\n componentDidLoad() {\n this.updatePosition();\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n this.requiredObserver.disconnect();\n clearInterval(this.valueWatcherId);\n }\n render() {\n return (h(Host, { class: {\n 'gux-active': this.active\n } }, h(GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, h(\"slot\", { name: \"label\", onSlotchange: () => this.setLabel() })), h(\"div\", { class: \"gux-input-and-error-container\" }, this.renderRangeInput(), h(GuxFormFieldError, { hasError: this.hasError }, h(\"slot\", { name: \"error\" }))))));\n }\n get variant() {\n return this.labelPosition ? this.labelPosition.toLowerCase() : 'none';\n }\n setInput() {\n this.input = this.root.querySelector('input[type=\"range\"][slot=\"input\"]');\n preventBrowserValidationStyling(this.input);\n this.disabled = this.input.disabled;\n this.required = this.input.required;\n this.value = this.input.value;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n clearInterval(this.valueWatcherId);\n this.valueWatcherId = setInterval(() => {\n if (this.value !== this.input.value) {\n this.updateValue(this.input.value);\n }\n }, 100);\n validateFormIds(this.root, this.input);\n }\n setLabel() {\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.computedLabelPosition = getComputedLabelPosition(this.label, this.labelPosition);\n }\n renderRangeInput() {\n return (h(\"div\", { class: {\n 'gux-range-input-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"div\", { class: \"gux-range\" }, h(\"div\", { class: \"gux-track\" }, h(\"div\", { class: \"gux-progress\", ref: el => (this.progressElement = el) })), h(\"slot\", { name: \"input\" }), h(\"div\", { class: {\n 'gux-range-tooltip-container': true,\n 'gux-hidden': !this.valueInTooltip\n }, ref: el => (this.sliderTooltipContainer = el) }, h(\"div\", { class: \"gux-range-tooltip\", ref: el => (this.sliderTooltip = el) }, this.getDisplayValue()))), h(\"div\", { class: {\n 'gux-display': true,\n 'gux-hidden': this.valueInTooltip\n } }, this.getDisplayValue())));\n }\n updateValue(newValue) {\n this.value = newValue;\n this.updatePosition();\n }\n updatePosition() {\n const value = Number(this.input.value || 0);\n const min = Number(this.input.min || 0);\n const max = Number(this.input.max || 100);\n const placementPercentage = ((value - min) / (max - min)) * 100;\n if (this.sliderTooltip) {\n const width = this.sliderTooltipContainer.offsetWidth;\n const offset = placementPercentage - (placementPercentage / 8 / width) * 100;\n this.sliderTooltip.style.left = `${offset}%`;\n }\n this.progressElement.style.width = `${placementPercentage}%`;\n }\n getDisplayValue() {\n if (this.displayUnits) {\n return `${this.value}${this.displayUnits}`;\n }\n return this.value;\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormField.prototype, \"onMutation\", null);\nGuxFormField.style = guxFormFieldRangeCss;\n\nexport { GuxFormField as gux_form_field_range_beta };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[80],{130:function(t,e,o){"use strict";o.r(e),o.d(e,"gux_tooltip_title_beta",(function(){return n}));var i=o(10),r=o(136);let n=class{constructor(t){Object(i.j)(this,t),this.titleName="",this.showTooltip=!0}componentWillLoad(){if(this.root.querySelector("gux-icon")&&1===this.root.children.length)this.root.querySelector("gux-icon").hasAttribute("screenreader-text")?this.titleName=this.root.querySelector("gux-icon").getAttribute("screenreader-text"):Object(r.b)("gux-tooltip-title-beta","No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.");else{Array.from(this.root.children).map((t=>{"GUX-ICON"!==t.tagName?this.titleName+=t.innerHTML:t.classList.add("gux-tooltip-icon-decorative")})),this.checkForTooltipHideOrShow()}}checkForTooltipHideOrShow(){const t=this.root.clientWidth;this.tabWidth&&t<this.tabWidth&&(this.showTooltip=!1)}render(){return[Object(i.h)("span",{class:"gux-title-container"},Object(i.h)("slot",null)),this.renderTooltip()]}renderTooltip(){if(this.showTooltip)return Object(i.h)("gux-tooltip",null,this.titleName)}get root(){return Object(i.g)(this)}};n.style="gux-tooltip-title-beta{cursor:default}gux-tooltip-title-beta gux-tooltip{text-align:left;overflow-wrap:break-word;white-space:normal}gux-tooltip-title-beta .gux-title-container{display:flex}gux-tooltip-title-beta .gux-title-container gux-icon{flex-shrink:0}gux-tooltip-title-beta .gux-title-container gux-icon.gux-tooltip-icon-decorative{margin-right:8px}gux-tooltip-title-beta .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}"},136:function(t,e,o){"use strict";function i(t,e){setTimeout((()=>{throw new Error("[".concat(t,"] ").concat(e))}),0)}function r(t,e){setTimeout((()=>{console.warn("[".concat(t,"] ").concat(e))}),0)}o.d(e,"a",(function(){return r})),o.d(e,"b",(function(){return i}))}}]);
|
|
2
|
+
//# sourceMappingURL=80.4846f70b.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-tooltip-title-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js"],"names":["GuxTooltipTitle","constructor","hostRef","registerInstance","this","titleName","showTooltip","componentWillLoad","root","querySelector","children","length","hasAttribute","getAttribute","logError","Array","from","map","element","tagName","innerHTML","classList","add","checkForTooltipHideOrShow","clientWidth","tabWidth","render","h","class","renderTooltip","getElement","style","component","message","setTimeout","Error","concat","logWarn","console","warn"],"mappings":"+GAAA,mFAKA,IAAIA,EAAkB,MACpBC,YAAYC,GACVC,YAAiBC,KAAMF,GACvBE,KAAKC,UAAY,GACjBD,KAAKE,aAAc,CACrB,CACAC,oBACE,GAAIH,KAAKI,KAAKC,cAAc,aACI,IAA9BL,KAAKI,KAAKE,SAASC,OACfP,KAAKI,KAAKC,cAAc,YAAYG,aAAa,qBACnDR,KAAKC,UAAYD,KAAKI,KACnBC,cAAc,YACdI,aAAa,qBAGhBC,YAAS,yBAA0B,8LAGlC,CACcC,MAAMC,KAAKZ,KAAKI,KAAKE,UAC7BO,KAAIC,IACa,aAApBA,EAAQC,QACVf,KAAKC,WAAaa,EAAQE,UAG1BF,EAAQG,UAAUC,IAAI,8BACxB,IAEFlB,KAAKmB,2BACP,CACF,CACAA,4BACE,MAAMC,EAAcpB,KAAKI,KAAKgB,YAC1BpB,KAAKqB,UAAYD,EAAcpB,KAAKqB,WACtCrB,KAAKE,aAAc,EAGvB,CACAoB,SACE,MAAO,CACLC,YAAE,OAAQ,CAAEC,MAAO,uBAAyBD,YAAE,OAAQ,OACtDvB,KAAKyB,gBAET,CACAA,gBACE,GAAIzB,KAAKE,YACP,OAAOqB,YAAE,cAAe,KAAMvB,KAAKC,UAEvC,CACA,QAAIG,GAAS,OAAOsB,YAAW1B,KAAO,GAExCJ,EAAgB+B,MArDW,0b,mCCH3B,SAASjB,EAASkB,EAAWC,GAC3BC,YAAW,KACT,MAAM,IAAIC,MAAM,IAADC,OAAKJ,EAAS,MAAAI,OAAKH,GAAU,GAC3C,EACL,CACA,SAASI,EAAQL,EAAWC,GAC1BC,YAAW,KACTI,QAAQC,KAAK,IAADH,OAAKJ,EAAS,MAAAI,OAAKH,GAAU,GACxC,EACL,CATA,mE","file":"static/js/80.4846f70b.chunk.js","sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\n\nconst guxTooltipTitleCss = \"gux-tooltip-title-beta{cursor:default}gux-tooltip-title-beta gux-tooltip{text-align:left;overflow-wrap:break-word;white-space:normal}gux-tooltip-title-beta .gux-title-container{display:flex}gux-tooltip-title-beta .gux-title-container gux-icon{flex-shrink:0}gux-tooltip-title-beta .gux-title-container gux-icon.gux-tooltip-icon-decorative{margin-right:8px}gux-tooltip-title-beta .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}\";\n\nlet GuxTooltipTitle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.titleName = '';\n this.showTooltip = true;\n }\n componentWillLoad() {\n if (this.root.querySelector('gux-icon') &&\n this.root.children.length === 1) {\n if (this.root.querySelector('gux-icon').hasAttribute('screenreader-text')) {\n this.titleName = this.root\n .querySelector('gux-icon')\n .getAttribute('screenreader-text');\n }\n else {\n logError('gux-tooltip-title-beta', 'No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.');\n }\n }\n else {\n const children = Array.from(this.root.children);\n children.map(element => {\n if (element.tagName !== 'GUX-ICON') {\n this.titleName += element.innerHTML;\n }\n else {\n element.classList.add('gux-tooltip-icon-decorative');\n }\n });\n this.checkForTooltipHideOrShow();\n }\n }\n checkForTooltipHideOrShow() {\n const clientWidth = this.root.clientWidth;\n if (this.tabWidth && clientWidth < this.tabWidth) {\n this.showTooltip = false;\n return;\n }\n }\n render() {\n return [\n h(\"span\", { class: \"gux-title-container\" }, h(\"slot\", null)),\n this.renderTooltip()\n ];\n }\n renderTooltip() {\n if (this.showTooltip) {\n return h(\"gux-tooltip\", null, this.titleName);\n }\n }\n get root() { return getElement(this); }\n};\nGuxTooltipTitle.style = guxTooltipTitleCss;\n\nexport { GuxTooltipTitle as gux_tooltip_title_beta };\n","function logError(component, message) {\n setTimeout(() => {\n throw new Error(`[${component}] ${message}`);\n }, 0);\n}\nfunction logWarn(component, message) {\n setTimeout(() => {\n console.warn(`[${component}] ${message}`);\n }, 0);\n}\n\nexport { logWarn as a, logError as l };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[81],{44:function(t,e,i){"use strict";i.r(e),i.d(e,"gux_action_item",(function(){return n}));var c=i(10);let n=class{constructor(t){Object(c.j)(this,t),this.press=Object(c.d)(this,"press",7),this.disabled=!1}handleClick(){this.onItemClicked()}onKeydown(t){switch(t.key){case"Enter":case"Space":return void this.onItemClicked()}}onItemClicked(){this.disabled||this.press.emit(this.value)}render(){return Object(c.h)(c.a,{role:"listitem"},Object(c.h)("span",{class:"gux-action-item"},this.text,Object(c.h)("slot",null)))}};n.style="gux-action-item .gux-action-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-action-item .gux-action-item .gux-text{width:100%}gux-action-item:focus:not([disabled]) .gux-action-item,gux-action-item:active:not([disabled]) .gux-action-item,gux-action-item:hover:not([disabled]) .gux-action-item{color:#fdfdfd;background:#2a60c8}gux-action-item[disabled] .gux-action-item{pointer-events:none;cursor:default;opacity:0.5}"}}]);
|
|
2
|
+
//# sourceMappingURL=81.4802c507.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-action-item.entry.js"],"names":["GuxActionItem","constructor","hostRef","registerInstance","this","press","createEvent","disabled","handleClick","onItemClicked","onKeydown","event","key","emit","value","render","h","Host","role","class","text","style"],"mappings":"8GAAA,mEAIA,IAAIA,EAAgB,MAClBC,YAAYC,GACVC,YAAiBC,KAAMF,GACvBE,KAAKC,MAAQC,YAAYF,KAAM,QAAS,GACxCA,KAAKG,UAAW,CAClB,CACAC,cACEJ,KAAKK,eACP,CACAC,UAAUC,GACR,OAAQA,EAAMC,KACZ,IAAK,QACL,IAAK,QAEH,YADAR,KAAKK,gBAGX,CACAA,gBACOL,KAAKG,UACRH,KAAKC,MAAMQ,KAAKT,KAAKU,MAEzB,CACAC,SACE,OAAQC,YAAEC,IAAM,CAAEC,KAAM,YAAcF,YAAE,OAAQ,CAAEG,MAAO,mBAAqBf,KAAKgB,KAAMJ,YAAE,OAAQ,OACrG,GAEFhB,EAAcqB,MA5BW,8d","file":"static/js/81.4802c507.chunk.js","sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host } from './index-5f3763b4.js';\n\nconst guxActionItemCss = \"gux-action-item .gux-action-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}gux-action-item .gux-action-item .gux-text{width:100%}gux-action-item:focus:not([disabled]) .gux-action-item,gux-action-item:active:not([disabled]) .gux-action-item,gux-action-item:hover:not([disabled]) .gux-action-item{color:#fdfdfd;background:#2a60c8}gux-action-item[disabled] .gux-action-item{pointer-events:none;cursor:default;opacity:0.5}\";\n\nlet GuxActionItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.press = createEvent(this, \"press\", 7);\n this.disabled = false;\n }\n handleClick() {\n this.onItemClicked();\n }\n onKeydown(event) {\n switch (event.key) {\n case 'Enter':\n case 'Space':\n this.onItemClicked();\n return;\n }\n }\n onItemClicked() {\n if (!this.disabled) {\n this.press.emit(this.value);\n }\n }\n render() {\n return (h(Host, { role: \"listitem\" }, h(\"span\", { class: \"gux-action-item\" }, this.text, h(\"slot\", null))));\n }\n};\nGuxActionItem.style = guxActionItemCss;\n\nexport { GuxActionItem as gux_action_item };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[82],{48:function(r,e,t){"use strict";t.r(e),t.d(e,"gux_breadcrumb_item",(function(){return c}));var a=t(10);let c=class{constructor(r){Object(a.j)(this,r)}getAccent(){const r=this.root.closest("gux-breadcrumbs");if(r)return r.accent;console.error("gux-breadcrumb-item: must be within a gux-breadcrumbs component")}isLastBreadcrumb(){const r=this.root.parentNode.children;return r[r.length-1]===this.root}getBreadcrumb(){return!this.href||this.isLastBreadcrumb()?Object(a.h)("span",{class:"gux-breadcrumb-content"},Object(a.h)("slot",null)):Object(a.h)("a",{class:"gux-breadcrumb-content gux-link",href:this.href},Object(a.h)("slot",null))}getSeparatorIcon(r){if(this.isLastBreadcrumb())return null;switch(r){case"primary":default:return Object(a.h)("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/");case"secondary":return Object(a.h)("gux-icon",{class:"gux-breadcrumb-separator","icon-name":"chevron-small-right",decorative:!0})}}render(){const r=this.getAccent();return Object(a.h)("span",{class:"gux-breadcrumb-generation gux-".concat(r)},this.getBreadcrumb(),this.getSeparatorIcon(r))}get root(){return Object(a.g)(this)}};c.style="gux-breadcrumb-item .gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}gux-breadcrumb-item .gux-breadcrumb-generation.gux-primary{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content{color:#2e394c}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content.gux-link{color:#2a60c8}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-separator{margin:0 8px;color:#8a97ad}gux-breadcrumb-item .gux-breadcrumb-generation gux-icon.gux-breadcrumb-separator{width:16px;height:16px;margin:0 4px}"}}]);
|
|
2
|
+
//# sourceMappingURL=82.56954654.chunk.js.map
|