genesys-cloud-client-auth 0.0.2-develop.2 → 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/dist/asset-manifest.json +209 -162
- package/dist/deploy-info.json +2 -2
- 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 +71 -73
- package/CHANGELOG.md +0 -11
- 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.5f1ec66e.chunk.js +0 -2
- package/dist/static/js/main.5f1ec66e.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.bb79d895.js +0 -2
- package/dist/static/js/runtime-main.bb79d895.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 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-69b12fc0.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-accordion-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","GuxAccordionBeta","constructor","hostRef","registerInstance","this","componentWillLoad","root","render","h","getElement","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CAC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omponents\";\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","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxAccordionCss = \"gux-accordion-beta{-custom-noop:noop}\";\n\nlet GuxAccordionBeta = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n render() {\n return h(\"slot\", null);\n }\n get root() { return getElement(this); }\n};\nGuxAccordionBeta.style = guxAccordionCss;\n\nexport { GuxAccordionBeta as gux_accordion_beta };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[40],{133:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));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"}},o="spark-library",i="spark-component";let c=!1;function r(e,t){const n=window.newrelic;n&&(c||(!function(){const e=window.newrelic;if(!e)return;const[t,n,i]=s.version.split(".");e.addPageAction(o,{fullVersion:"".concat(t,".").concat(n,".").concat(i),majorVersion:t,minorVersion:"".concat(t,".").concat(n)})}(),c=!0),n.addPageAction(i,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:s.version})))}},42:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_accordion",(function(){return c}));var s=n(10),o=n(133);function i(e,t,n){const s=function(e,t){return t.find((t=>t.slotName===e))}(e,n);null===s||void 0===s||s.ref.classList[t]("gux-opened")}let c=class{constructor(e){Object(s.j)(this,e),this.sections=[],this.headingLevel=null,this.arrowPosition="default"}async open(e){i(e,"add",this.sections)}async close(e){i(e,"remove",this.sections)}async toggle(e){i(e,"toggle",this.sections)}componentWillLoad(){Object(o.a)(this.root),this.sections=function(e){const t=Array.from(e.children),n=[];return t.forEach((e=>{const t=e.getAttribute("slot");e.hidden=!Boolean(t),t&&n.push({slotName:t,ref:null})})),n}(this.root)}render(){return Object(s.h)("div",{class:"gux-accordion"},this.sections.map((e=>Object(s.h)("section",{class:"gux-section",onKeyDown:t=>function(e,t,n){let s;switch(e.key){case"ArrowUp":s=function(e,t){const n=t.findIndex((t=>t.slotName===e));return n<=0?t[t.length-1].ref:t[n-1].ref}(t,n);break;case"ArrowDown":s=function(e,t){const n=t.findIndex((t=>t.slotName===e));return n>=t.length-1?t[0].ref:t[n+1].ref}(t,n);break;case"End":s=function(e){return e[this.sections.length-1].ref}(n);break;case"Home":s=function(e){return e[0].ref}(n)}var o;s&&(o=s,o.querySelector(".gux-header-button")).focus()}(t,e.slotName,this.sections),ref:t=>e.ref=t},Object(s.h)("div",{"aria-role":"heading","aria-level":this.headingLevel,class:"gux-header"},Object(s.h)("button",{class:"gux-header-button",type:"button",onClick:()=>this.toggle(e.slotName)},Object(s.h)("div",{class:"gux-text"},e.slotName),"beside-text"===this.arrowPosition?null:Object(s.h)("div",{class:"gux-spacer"}),Object(s.h)("div",{class:"gux-toggle-arrow"},Object(s.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),Object(s.h)("div",{class:"gux-content"},Object(s.h)("slot",{name:e.slotName}))))))}get root(){return Object(s.g)(this)}};c.style="gux-accordion .gux-accordion{padding:0;margin:0;background-color:#fdfdfd}gux-accordion .gux-accordion .gux-section{color:#2e394c}gux-accordion .gux-accordion .gux-section .gux-header{box-sizing:border-box;height:40px;border-top:1px solid #e2e6ee}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:0 16px;margin:0;color:#2e394c;cursor:pointer;background:none;border:none}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-text{flex:0 1 auto;align-self:auto;padding-right:8px;font-family:inherit;font-size:inherit;font-weight:bold;text-align:left}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-spacer{flex:1 1 auto;align-self:auto}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow{flex:0 1 auto;align-items:center;align-self:auto;color:#6b7585;transition:transform 0.5s ease;transform-origin:center}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow gux-icon{width:20px;height:20px}gux-accordion .gux-accordion .gux-section .gux-header:hover .gux-toggle-arrow{color:#2e394c}gux-accordion .gux-accordion .gux-section .gux-content{box-sizing:border-box;display:none;padding:16px}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header{border-bottom:1px solid #e2e6ee}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header .gux-toggle-arrow{transform:rotate(-180deg)}gux-accordion .gux-accordion .gux-section.gux-opened .gux-content{display:block}gux-accordion .gux-accordion .gux-section:last-of-type .gux-header{border-bottom:1px solid #e2e6ee}gux-accordion .gux-accordion .gux-section:last-of-type .gux-content{border-bottom:1px solid #e2e6ee}"}}]);
|
|
2
|
+
//# sourceMappingURL=40.8d53c8c4.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/gux-accordion.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","modifyClassList","slotName","modification","sections","section","find","getSectionByName","ref","classList","GuxAccordion","constructor","hostRef","registerInstance","this","headingLevel","arrowPosition","open","close","toggle","componentWillLoad","root","children","Array","from","forEach","getAttribute","hidden","Boolean","push","getSections","render","h","class","map","onKeyDown","event","newSection","key","slot","currentIndex","findIndex","length","getPreviousSection","getNextSection","getLastSection","getFirstSection","querySelector","focus","onKeyboardNavigation","el","onClick","decorative","getElement","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/B,yBAA0B,uCAC1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OA,EAASU,KAAKV,SAASsC,OAAS,GAAGlC,GAC5C,CAiCmBqC,CAAezC,GAC5B,MACF,IAAK,OACHiC,EAzCN,SAAyBjC,GACvB,OAAOA,EAAS,GAAGI,GACrB,CAuCmBsC,CAAgB1C,GAnCnC,IAAyBC,EAsCnBgC,IAtCmBhC,EAuCLgC,EAtCXhC,EAAQ0C,cAAc,uBAsCCC,OAEhC,CA2CwIC,CAAqBb,EAAO/B,EAAQH,SAAUY,KAAKV,UAAWI,IAAK0C,GAAO7C,EAAQG,IAAM0C,GAAOlB,YAAE,MAAO,CAAE,YAAa,UAAW,aAAclB,KAAKC,aAAckB,MAAO,cAAgBD,YAAE,SAAU,CAAEC,MAAO,oBAAqB9D,KAAM,SAAUgF,QAASA,IAAMrC,KAAKK,OAAOd,EAAQH,WAAa8B,YAAE,MAAO,CAAEC,MAAO,YAAc5B,EAAQH,UAAkC,gBAAvBY,KAAKE,cAAkC,KAAQgB,YAAE,MAAO,CAAEC,MAAO,eAAkBD,YAAE,MAAO,CAAEC,MAAO,oBAAsBD,YAAE,WAAY,CAAEoB,YAAY,EAAM,YAAa,0BAA4BpB,YAAE,MAAO,CAAEC,MAAO,eAAiBD,YAAE,OAAQ,CAAEzG,KAAM8E,EAAQH,eAChuB,CACA,QAAImB,GAAS,OAAOgC,YAAWvC,KAAO,GAExCJ,EAAa4C,MA7CW,80D","file":"static/js/40.8d53c8c4.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","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nfunction getSectionByName(slotName, sections) {\n return sections.find(section => section.slotName === slotName);\n}\nfunction getPreviousSection(slot, sections) {\n const currentIndex = sections.findIndex(section => section.slotName === slot);\n if (currentIndex <= 0) {\n return sections[sections.length - 1].ref;\n }\n return sections[currentIndex - 1].ref;\n}\nfunction getNextSection(slot, sections) {\n const currentIndex = sections.findIndex(section => section.slotName === slot);\n if (currentIndex >= sections.length - 1) {\n return sections[0].ref;\n }\n return sections[currentIndex + 1].ref;\n}\nfunction getFirstSection(sections) {\n return sections[0].ref;\n}\nfunction getLastSection(sections) {\n return sections[this.sections.length - 1].ref;\n}\nfunction getToggleButton(section) {\n return section.querySelector('.gux-header-button');\n}\nfunction getSections(root) {\n const children = Array.from(root.children);\n const sections = [];\n children.forEach(element => {\n const slotName = element.getAttribute('slot');\n element.hidden = !Boolean(slotName);\n if (slotName) {\n sections.push({\n slotName,\n ref: null\n });\n }\n });\n return sections;\n}\nfunction modifyClassList(slotName, modification, sections) {\n const section = getSectionByName(slotName, sections);\n section === null || section === void 0 ? void 0 : section.ref.classList[modification]('gux-opened');\n}\nfunction onKeyboardNavigation(event, slotName, sections) {\n let newSection;\n switch (event.key) {\n case 'ArrowUp':\n newSection = getPreviousSection(slotName, sections);\n break;\n case 'ArrowDown':\n newSection = getNextSection(slotName, sections);\n break;\n case 'End':\n newSection = getLastSection(sections);\n break;\n case 'Home':\n newSection = getFirstSection(sections);\n break;\n }\n if (newSection) {\n getToggleButton(newSection).focus();\n }\n}\n\nconst guxAccordionCss = \"gux-accordion .gux-accordion{padding:0;margin:0;background-color:#fdfdfd}gux-accordion .gux-accordion .gux-section{color:#2e394c}gux-accordion .gux-accordion .gux-section .gux-header{box-sizing:border-box;height:40px;border-top:1px solid #e2e6ee}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:0 16px;margin:0;color:#2e394c;cursor:pointer;background:none;border:none}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-text{flex:0 1 auto;align-self:auto;padding-right:8px;font-family:inherit;font-size:inherit;font-weight:bold;text-align:left}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-spacer{flex:1 1 auto;align-self:auto}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow{flex:0 1 auto;align-items:center;align-self:auto;color:#6b7585;transition:transform 0.5s ease;transform-origin:center}gux-accordion .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow gux-icon{width:20px;height:20px}gux-accordion .gux-accordion .gux-section .gux-header:hover .gux-toggle-arrow{color:#2e394c}gux-accordion .gux-accordion .gux-section .gux-content{box-sizing:border-box;display:none;padding:16px}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header{border-bottom:1px solid #e2e6ee}gux-accordion .gux-accordion .gux-section.gux-opened .gux-header .gux-toggle-arrow{transform:rotate(-180deg)}gux-accordion .gux-accordion .gux-section.gux-opened .gux-content{display:block}gux-accordion .gux-accordion .gux-section:last-of-type .gux-header{border-bottom:1px solid #e2e6ee}gux-accordion .gux-accordion .gux-section:last-of-type .gux-content{border-bottom:1px solid #e2e6ee}\";\n\nlet GuxAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.sections = [];\n /**\n * The heading level within the page the\n * accordion section headers should be set to.\n * heading-level=\"3\" woudl be equivalent to an\n * h3 element.\n */\n this.headingLevel = null;\n this.arrowPosition = 'default';\n }\n /**\n * Opens a section.\n * @param slotName The slot name\n */\n async open(slotName) {\n modifyClassList(slotName, 'add', this.sections);\n }\n /**\n * Closes a section.\n * @param slotName The slot name\n */\n async close(slotName) {\n modifyClassList(slotName, 'remove', this.sections);\n }\n /**\n * Toggles a section.\n * @param slotName The slot name\n */\n async toggle(slotName) {\n modifyClassList(slotName, 'toggle', this.sections);\n }\n componentWillLoad() {\n trackComponent(this.root);\n this.sections = getSections(this.root);\n }\n render() {\n return (h(\"div\", { class: \"gux-accordion\" }, this.sections.map(section => (h(\"section\", { class: \"gux-section\", onKeyDown: event => onKeyboardNavigation(event, section.slotName, this.sections), ref: el => (section.ref = el) }, h(\"div\", { \"aria-role\": \"heading\", \"aria-level\": this.headingLevel, class: \"gux-header\" }, h(\"button\", { class: \"gux-header-button\", type: \"button\", onClick: () => this.toggle(section.slotName) }, h(\"div\", { class: \"gux-text\" }, section.slotName), this.arrowPosition === 'beside-text' ? null : (h(\"div\", { class: \"gux-spacer\" })), h(\"div\", { class: \"gux-toggle-arrow\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"div\", { class: \"gux-content\" }, h(\"slot\", { name: section.slotName })))))));\n }\n get root() { return getElement(this); }\n};\nGuxAccordion.style = guxAccordionCss;\n\nexport { GuxAccordion as gux_accordion };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[41],{133:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));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",o="spark-component";let c=!1;function r(t,e){const n=window.newrelic;n&&(c||(!function(){const t=window.newrelic;if(!t)return;const[e,n,o]=s.version.split(".");t.addPageAction(i,{fullVersion:"".concat(e,".").concat(n,".").concat(o),majorVersion:e,minorVersion:"".concat(e,".").concat(n)})}(),c=!0),n.addPageAction(o,Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}},43:function(t,e,n){"use strict";n.r(e),n.d(e,"gux_action_button",(function(){return r}));var s=n(10),i=n(133),o=n(139);const c={actionButtonDropdown:"Dropdown for {buttonTitle}"};let r=class{constructor(t){Object(s.j)(this,t),this.open=Object(s.d)(this,"open",7),this.close=Object(s.d)(this,"close",7),this.actionClick=Object(s.d)(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}toggle(){this.isOpen=!this.isOpen}handleFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeyDown(t){this.root.contains(t.target)||(this.isOpen=!1)}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onActionClick(){this.actionClick.emit()}onKeyUpEvent(t){switch(t.key){case"Escape":this.isOpen=!1,this.dropdownButton.focus();break;case"ArrowDown":this.listElement.contains(t.target)||(this.isOpen=!0,this.listElement.setFocusOnFirstItem())}}async componentWillLoad(){Object(i.a)(this.root,{variant:this.type}),this.i18n=await Object(o.b)(this.root,c)}render(){return Object(s.h)("div",{class:"gux-action-button-container"},Object(s.h)("gux-popup-beta",{expanded:this.isOpen,disabled:this.disabled},Object(s.h)("div",{slot:"target",class:"gux-action-button-container"},Object(s.h)("gux-button-slot-beta",{class:"gux-action-button",accent:this.accent},Object(s.h)("button",{type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},this.text)),Object(s.h)("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},Object(s.h)("button",{type:this.type,disabled:this.disabled,ref:t=>this.dropdownButton=t,onClick:()=>this.toggle(),onKeyUp:t=>this.onKeyUpEvent(t),"aria-haspopup":"listbox","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("actionButtonDropdown",{buttonTitle:this.text})},Object(s.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),Object(s.h)("gux-list",{slot:"popup",ref:t=>this.listElement=t},Object(s.h)("slot",null))))}get root(){return Object(s.g)(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};r.style="gux-action-button{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-button .gux-action-button-container{min-width:128px}gux-action-button .gux-action-button-container>*{vertical-align:middle}gux-action-button .gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}gux-action-button .gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}"}}]);
|
|
2
|
+
//# sourceMappingURL=41.4a3fc180.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/gux-action-button.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","defaultResources","actionButtonDropdown","GuxActionButton","constructor","hostRef","registerInstance","this","open","createEvent","close","actionClick","disabled","accent","isOpen","toggle","handleFocusOut","e","root","contains","relatedTarget","handleKeyDown","target","watchDisabled","watchValue","newValue","emit","onActionClick","onKeyUpEvent","event","key","dropdownButton","focus","listElement","setFocusOnFirstItem","componentWillLoad","variant","buildI18nForComponent","render","h","class","expanded","slot","onClick","text","ref","el","onKeyUp","toString","buttonTitle","decorative","getElement","watchers","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/B,yBAA0B,uCAC1BC,KAAM,iEACNC,KAAM,iFACN,cAAe,yDACf,WAAY,6CACZ,WAAY,+EACZ,WAAY,iDACZ,UAAW,qBACX,0BAA2B,uCAC3B,6BAA8B,0CAC9B,kBAAmB,+BACnBC,OAAQ,eACR,gBAAiB,iBACjBC,QAAS,6DACTC,QAAS,mBACTC,QAAS,uBACT,cAAe,qCACfC,KAAM,4BACN,UAAW,8CACX,eAAgB,sBAChB,cAAe,qCACf,WAAY,qBACZ,2BAA4B,sCAC5B,kBAAmB,kCACnB,YAAa,2CACb,4BAA6B,uCAC7B,uBAAwB,6CACxB,aAAc,wCAqHdC,aAnHoB,CACpB,iBAAkB,UAClB,qBAAsB,SACtB,8BAA+B,SAC/BC,WAAY,UACZ,wBAAyB,UA+GzBC,gBA7GuB,CACvB,cAAe,UACf,oBAAqB,UACrB,kBAAmB,UACnB,kCAAmC,UACnC,yBAA0B,SAC1B,gBAAiB,SACjB,gBAAiB,SACjB,iBAAkB,QAClB,cAAe,WACf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AAsB9B,KAAKW,KAAMjB,EACrD,CACAqC,SACE,OAAQC,YAAE,MAAO,CAAEC,MAAO,+BAAiCD,YAAE,iBAAkB,CAAEE,SAAUlC,KAAKO,OAAQF,SAAUL,KAAKK,UAAY2B,YAAE,MAAO,CAAEG,KAAM,SAAUF,MAAO,+BAAiCD,YAAE,uBAAwB,CAAEC,MAAO,oBAAqB3B,OAAQN,KAAKM,QAAU0B,YAAE,SAAU,CAAEpE,KAAMoC,KAAKpC,KAAMyC,SAAUL,KAAKK,SAAU+B,QAASA,IAAMpC,KAAKoB,iBAAmBpB,KAAKqC,OAAQL,YAAE,uBAAwB,CAAEC,MAAO,sBAAuB3B,OAAQN,KAAKM,QAAU0B,YAAE,SAAU,CAAEpE,KAAMoC,KAAKpC,KAAMyC,SAAUL,KAAKK,SAAUiC,IAAKC,GAAOvC,KAAKwB,eAAiBe,EAAKH,QAASA,IAAMpC,KAAKQ,SAAUgC,QAAS9B,GAAKV,KAAKqB,aAAaX,GAAI,gBAAiB,UAAW,gBAAiBV,KAAKO,OAAOkC,WAAY,aAAczC,KAAKjE,KAAK,uBAAwB,CACpuB2G,YAAa1C,KAAKqC,QACdL,YAAE,WAAY,CAAEW,YAAY,EAAM,YAAa,0BAA4BX,YAAE,WAAY,CAAEG,KAAM,QAASG,IAAKC,GAAOvC,KAAK0B,YAAca,GAAOP,YAAE,OAAQ,QACpK,CACA,QAAIrB,GAAS,OAAOiC,YAAW5C,KAAO,CACtC,mBAAW6C,GAAa,MAAO,CAC7B,SAAY,CAAC,iBACb,OAAU,CAAC,cACV,GAELjD,EAAgBkD,MApFW,0xB","file":"static/js/41.4a3fc180.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","import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\nimport { b as buildI18nForComponent } from './index-6d80d8e7.js';\n\nconst actionButtonDropdown = \"Dropdown for {buttonTitle}\";\nconst defaultResources = {\n\tactionButtonDropdown: actionButtonDropdown\n};\n\nconst guxActionButtonCss = \"gux-action-button{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-button .gux-action-button-container{min-width:128px}gux-action-button .gux-action-button-container>*{vertical-align:middle}gux-action-button .gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}gux-action-button .gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}gux-action-button .gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}\";\n\nlet GuxActionButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.open = createEvent(this, \"open\", 7);\n this.close = createEvent(this, \"close\", 7);\n this.actionClick = createEvent(this, \"actionClick\", 7);\n /**\n * The component button type\n */\n this.type = 'button';\n /**\n * Disables the action button.\n */\n this.disabled = false;\n /**\n * The component accent (secondary or primary).\n */\n this.accent = 'secondary';\n /**\n * It is used to open or not the list.\n */\n this.isOpen = false;\n }\n toggle() {\n this.isOpen = !this.isOpen;\n }\n handleFocusOut(e) {\n if (!this.root.contains(e.relatedTarget)) {\n this.isOpen = false;\n }\n }\n handleKeyDown(e) {\n if (this.root.contains(e.target)) {\n return;\n }\n this.isOpen = false;\n }\n watchDisabled(disabled) {\n if (disabled) {\n this.isOpen = false;\n }\n }\n watchValue(newValue) {\n if (newValue) {\n this.open.emit();\n }\n else {\n this.close.emit();\n }\n }\n onActionClick() {\n this.actionClick.emit();\n }\n onKeyUpEvent(event) {\n switch (event.key) {\n case 'Escape':\n this.isOpen = false;\n this.dropdownButton.focus();\n break;\n case 'ArrowDown':\n if (!this.listElement.contains(event.target)) {\n this.isOpen = true;\n this.listElement.setFocusOnFirstItem();\n }\n break;\n }\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.type });\n this.i18n = await buildI18nForComponent(this.root, defaultResources);\n }\n render() {\n return (h(\"div\", { class: \"gux-action-button-container\" }, h(\"gux-popup-beta\", { expanded: this.isOpen, disabled: this.disabled }, h(\"div\", { slot: \"target\", class: \"gux-action-button-container\" }, h(\"gux-button-slot-beta\", { class: \"gux-action-button\", accent: this.accent }, h(\"button\", { type: this.type, disabled: this.disabled, onClick: () => this.onActionClick() }, this.text)), h(\"gux-button-slot-beta\", { class: \"gux-dropdown-button\", accent: this.accent }, h(\"button\", { type: this.type, disabled: this.disabled, ref: el => (this.dropdownButton = el), onClick: () => this.toggle(), onKeyUp: e => this.onKeyUpEvent(e), \"aria-haspopup\": \"listbox\", \"aria-expanded\": this.isOpen.toString(), \"aria-label\": this.i18n('actionButtonDropdown', {\n buttonTitle: this.text\n }) }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"gux-list\", { slot: \"popup\", ref: el => (this.listElement = el) }, h(\"slot\", null)))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"disabled\": [\"watchDisabled\"],\n \"isOpen\": [\"watchValue\"]\n }; }\n};\nGuxActionButton.style = guxActionButtonCss;\n\nexport { GuxActionButton as gux_action_button };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[42],{133:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));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",o="spark-component";let c=!1;function r(t,e){const n=window.newrelic;n&&(c||(!function(){const t=window.newrelic;if(!t)return;const[e,n,o]=s.version.split(".");t.addPageAction(i,{fullVersion:"".concat(e,".").concat(n,".").concat(o),majorVersion:e,minorVersion:"".concat(e,".").concat(n)})}(),c=!0),n.addPageAction(o,Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}},45:function(t,e,n){"use strict";n.r(e),n.d(e,"gux_action_toast",(function(){return o}));var s=n(10),i=n(133);let o=class{constructor(t){Object(s.j)(this,t)}async componentWillLoad(){Object(i.a)(this.root)}render(){return Object(s.h)(s.a,null,Object(s.h)("div",{class:"gux-header"},Object(s.h)("div",{class:"gux-icon"},Object(s.h)("slot",{name:"icon"})),Object(s.h)("div",{class:"gux-title"},Object(s.h)("slot",{name:"title"}))),Object(s.h)("div",{class:"gux-message"},Object(s.h)("slot",{name:"message"})),Object(s.h)("div",{class:"gux-action-buttons"},Object(s.h)("div",{class:"gux-positive-button"},Object(s.h)("slot",{name:"positive-button"})),Object(s.h)("div",{class:"gux-negative-button"},Object(s.h)("slot",{name:"negative-button"}))))}get root(){return Object(s.g)(this)}};o.style="gux-action-toast{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-action-toast .gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-action-toast .gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}gux-action-toast .gux-header .gux-icon gux-icon{width:32px;height:32px}gux-action-toast .gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}gux-action-toast .gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-toast .gux-message dl{display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:0}gux-action-toast .gux-message dl dt{flex:0 1 20%;align-self:auto;order:0;margin:0;color:#2e394c;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-action-toast .gux-message dl dd{flex:0 1 80%;align-self:auto;order:0;margin:0}gux-action-toast .gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}gux-action-toast .gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}gux-action-toast .gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}"}}]);
|
|
2
|
+
//# sourceMappingURL=42.adeca90f.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/gux-action-toast.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","GuxActionToast","constructor","hostRef","registerInstance","this","componentWillLoad","root","render","h","Host","class","getElement","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/B,yBAA0B,uCAC1BC,KAAM,iEACNC,KAAM,iFACN,cAAe,yDACf,WAAY,6CACZ,WAAY,+EACZ,WAAY,iDACZ,UAAW,qBACX,0BAA2B,uCAC3B,6BAA8B,0CAC9B,kBAAmB,+BACnBC,OAAQ,eACR,gBAAiB,iBACjBC,QAAS,6DACTC,QAAS,mBACTC,QAAS,uBACT,cAAe,qCACfC,KAAM,4BACN,UAAW,8CACX,eAAgB,sBAChB,cAAe,qCACf,WAAY,qBACZ,2BAA4B,sCAC5B,kBAAmB,kCACnB,YAAa,2CACb,4BAA6B,uCAC7B,uBAAwB,6CACxB,aAAc,wCAqHdC,aAnHoB,CACpB,iBAAkB,UAClB,qBAAsB,SACtB,8BAA+B,SAC/BC,WAAY,UACZ,wBAAyB,UA+GzBC,gBA7GuB,C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AOD,SACxB,IAAKA,EACH,OAEF,MAAOE,EAAOC,EAAOC,GAAS9D,EAAYE,QAAQ6D,MAAM,KACxDL,EAASM,cAAcZ,EAAmB,CACxCa,YAAa,GAAFC,OAAKN,EAAK,KAAAM,OAAIL,EAAK,KAAAK,OAAIJ,GAClCK,aAAcP,EACdQ,aAAc,GAAFF,OAAKN,EAAK,KAAAM,OAAIL,IAE9B,CAnBIQ,GACAf,GAAqB,GAEvBI,EAASM,cAAcX,EAAqBiB,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGd,GAAW,CAAEe,UAAWhB,EAAQiB,QAAQC,cAAexE,QAASF,EAAYE,WAC1J,C,kCCnNA,6EAKA,IAAIyE,EAAiB,MACnBC,YAAYC,GACVC,YAAiBC,KAAMF,EACzB,CACA,uBAAMG,GACJzB,YAAewB,KAAKE,KACtB,CACAC,SACE,OAAQC,YAAEC,IAAM,KAAMD,YAAE,MAAO,CAAEE,MAAO,cAAgBF,YAAE,MAAO,CAAEE,MAAO,YAAcF,YAAE,OAAQ,CAAElF,KAAM,UAAYkF,YAAE,MAAO,CAAEE,MAAO,aAAeF,YAAE,OAAQ,CAAElF,KAAM,YAAckF,YAAE,MAAO,CAAEE,MAAO,eAAiBF,YAAE,OAAQ,CAAElF,KAAM,aAAekF,YAAE,MAAO,CAAEE,MAAO,sBAAwBF,YAAE,MAAO,CAAEE,MAAO,uBAAyBF,YAAE,OAAQ,CAAElF,KAAM,qBAAuBkF,YAAE,MAAO,CAAEE,MAAO,uBAAyBF,YAAE,OAAQ,CAAElF,KAAM,sBACxb,CACA,QAAIgF,GAAS,OAAOK,YAAWP,KAAO,GAExCJ,EAAeY,MAdW,swD","file":"static/js/42.adeca90f.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","import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxActionToastCss = \"gux-action-toast{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-action-toast .gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-action-toast .gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}gux-action-toast .gux-header .gux-icon gux-icon{width:32px;height:32px}gux-action-toast .gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}gux-action-toast .gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-toast .gux-message dl{display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:0}gux-action-toast .gux-message dl dt{flex:0 1 20%;align-self:auto;order:0;margin:0;color:#2e394c;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-action-toast .gux-message dl dd{flex:0 1 80%;align-self:auto;order:0;margin:0}gux-action-toast .gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}gux-action-toast .gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}gux-action-toast .gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}\";\n\nlet GuxActionToast = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n async componentWillLoad() {\n trackComponent(this.root);\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"gux-header\" }, h(\"div\", { class: \"gux-icon\" }, h(\"slot\", { name: \"icon\" })), h(\"div\", { class: \"gux-title\" }, h(\"slot\", { name: \"title\" }))), h(\"div\", { class: \"gux-message\" }, h(\"slot\", { name: \"message\" })), h(\"div\", { class: \"gux-action-buttons\" }, h(\"div\", { class: \"gux-positive-button\" }, h(\"slot\", { name: \"positive-button\" })), h(\"div\", { class: \"gux-negative-button\" }, h(\"slot\", { name: \"negative-button\" })))));\n }\n get root() { return getElement(this); }\n};\nGuxActionToast.style = guxActionToastCss;\n\nexport { GuxActionToast as gux_action_toast };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[43],{133:function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));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",c="spark-component";let r=!1;function o(e,t){const s=window.newrelic;s&&(r||(!function(){const e=window.newrelic;if(!e)return;const[t,s,c]=n.version.split(".");e.addPageAction(i,{fullVersion:"".concat(t,".").concat(s,".").concat(c),majorVersion:t,minorVersion:"".concat(t,".").concat(s)})}(),r=!0),s.addPageAction(c,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:n.version})))}},49:function(e,t,s){"use strict";s.r(t),s.d(t,"gux_breadcrumbs",(function(){return o}));var n=s(10),i=s(139),c=s(133);const r={breadcrumbs:"Breadcrumbs"};let o=class{constructor(e){Object(n.j)(this,e),this.accent="primary"}componentWillLoad(){Object(c.a)(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await Object(i.b)(this.root,r)}render(){return Object(n.h)("nav",{"aria-label":this.i18n("breadcrumbs"),class:"gux-breadcrumbs-container"},Object(n.h)("slot",null))}get root(){return Object(n.g)(this)}};o.style="gux-breadcrumbs .gux-breadcrumbs-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}"}}]);
|
|
2
|
+
//# sourceMappingURL=43.36f67f1b.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/gux-breadcrumbs.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","breadcrumbsResources","breadcrumbs","GuxBreadcrumbs","constructor","hostRef","registerInstance","this","accent","componentWillLoad","root","variant","componentWillRender","build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X,EAAqBiB,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGd,GAAW,CAAEe,UAAWhB,EAAQiB,QAAQC,cAAexE,QAASF,EAAYE,WAC1J,C,kCCnNA,qFAIA,MACMyE,EAAuB,CAC5BC,YAFmB,eAOpB,IAAIC,EAAiB,MACnBC,YAAYC,GACVC,YAAiBC,KAAMF,GACvBE,KAAKC,OAAS,SAChB,CACAC,oBACE5B,YAAe0B,KAAKG,KAAM,CAAEC,QAASJ,KAAKC,QAC5C,CACA,yBAAMI,GACJL,KAAKjE,WAAauE,YAAsBN,KAAKG,KAAMT,EACrD,CACAa,SACE,OAAQC,YAAE,MAAO,CAAE,aAAcR,KAAKjE,KAAK,eAAgB0E,MAAO,6BAA+BD,YAAE,OAAQ,MAC7G,CACA,QAAIL,GAAS,OAAOO,YAAWV,KAAO,GAExCJ,EAAee,MAlBW,qK","file":"static/js/43.36f67f1b.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","import { r as registerInstance, 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 breadcrumbs = \"Breadcrumbs\";\nconst breadcrumbsResources = {\n\tbreadcrumbs: breadcrumbs\n};\n\nconst guxBreadcrumbsCss = \"gux-breadcrumbs .gux-breadcrumbs-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}\";\n\nlet GuxBreadcrumbs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.accent = 'primary';\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.accent });\n }\n async componentWillRender() {\n this.i18n = await buildI18nForComponent(this.root, breadcrumbsResources);\n }\n render() {\n return (h(\"nav\", { \"aria-label\": this.i18n('breadcrumbs'), class: \"gux-breadcrumbs-container\" }, h(\"slot\", null)));\n }\n get root() { return getElement(this); }\n};\nGuxBreadcrumbs.style = guxBreadcrumbsCss;\n\nexport { GuxBreadcrumbs as gux_breadcrumbs };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[44],{133:function(t,e,s){"use strict";s.d(e,"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",c="spark-component";let o=!1;function r(t,e){const s=window.newrelic;s&&(o||(!function(){const t=window.newrelic;if(!t)return;const[e,s,c]=n.version.split(".");t.addPageAction(i,{fullVersion:"".concat(e,".").concat(s,".").concat(c),majorVersion:e,minorVersion:"".concat(e,".").concat(s)})}(),o=!0),s.addPageAction(c,Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:n.version})))}},50:function(t,e,s){"use strict";s.r(e),s.d(e,"gux_button_multi",(function(){return c}));var n=s(10),i=s(133);let c=class{constructor(t){Object(n.j)(this,t),this.open=Object(n.d)(this,"open",7),this.close=Object(n.d)(this,"close",7),this.disabled=!1,this.accent="secondary",this.isOpen=!1}toggle(){this.isOpen=!this.isOpen}handleFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeyDown(t){this.root.contains(t.target)||(this.isOpen=!1)}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onKeyUpEvent(t){const e=t.key;if("Escape"===e){this.isOpen=!1;this.dropdownButton.querySelector("button").focus()}"ArrowDown"!==e||this.listElement.contains(t.target)||(this.isOpen=!0,this.listElement.setFocusOnFirstItem())}componentWillLoad(){Object(i.a)(this.root,{variant:this.accent})}render(){return Object(n.h)("gux-popup-beta",{expanded:this.isOpen,disabled:this.disabled},Object(n.h)("div",{slot:"target",class:"gux-button-multi-container"},Object(n.h)("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},Object(n.h)("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onClick:()=>this.toggle(),onKeyUp:t=>this.onKeyUpEvent(t),"aria-haspopup":"listbox","aria-expanded":this.isOpen.toString()},Object(n.h)("span",null,this.text),Object(n.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),Object(n.h)("gux-list",{slot:"popup",ref:t=>this.listElement=t},Object(n.h)("slot",null)))}get root(){return Object(n.g)(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};c.style="gux-button-multi{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-button-multi .gux-button-multi-container .gux-dropdown-button button>*{vertical-align:middle}gux-button-multi .gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}"}}]);
|
|
2
|
+
//# sourceMappingURL=44.4d96c33b.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/gux-button-multi.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","GuxButtonMulti","constructor","hostRef","registerInstance","this","open","createEvent","close","disabled","accent","isOpen","toggle","handleFocusOut","e","root","contains","relatedTarget","handleKeyDown","target","watchDisabled","watchValue","newValue","emit","onKeyUpEvent","event","key","dropdownButton","querySelector","focus","listElement","setFocusOnFirstItem","componentWillLoad","variant","render","h","expanded","slot","class","ref","el","onClick","onKeyUp","toString","text","decorative","getElement","watchers","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/B,yBAA0B,uCAC1BC,KAAM,iEACNC,KAAM,iFACN,cAAe,yDACf,WAAY,6CACZ,WAAY,+EACZ,WAAY,iDACZ,UAAW,qBACX,0BAA2B,uCAC3B,6BAA8B,0CAC9B,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WAAWC,GACLA,EACFjB,KAAKC,KAAKiB,OAGVlB,KAAKG,MAAMe,MAEf,CACAC,aAAaC,GACX,MAAMC,EAAMD,EAAMC,IAClB,GAAY,WAARA,EAAkB,CACpBrB,KAAKM,QAAS,EACCN,KAAKsB,eAAeC,cAAc,UAC1CC,OACT,CACY,cAARH,GACDrB,KAAKyB,YAAYd,SAASS,EAAMN,UACjCd,KAAKM,QAAS,EACdN,KAAKyB,YAAYC,sBAErB,CACAC,oBACEnD,YAAewB,KAAKU,KAAM,CAAEkB,QAAS5B,KAAKK,QAC5C,CACAwB,SACE,OAAQC,YAAE,iBAAkB,CAAEC,SAAU/B,KAAKM,OAAQF,SAAUJ,KAAKI,UAAY0B,YAAE,MAAO,CAAEE,KAAM,SAAUC,MAAO,8BAAgCH,YAAE,uBAAwB,CAAEG,MAAO,sBAAuB5B,OAAQL,KAAKK,QAAUyB,YAAE,SAAU,CAAEhE,KAAM,SAAUsC,SAAUJ,KAAKI,SAAU8B,IAAKC,GAAOnC,KAAKsB,eAAiBa,EAAKC,QAASA,IAAMpC,KAAKO,SAAU8B,QAAS5B,GAAKT,KAAKmB,aAAaV,GAAI,gBAAiB,UAAW,gBAAiBT,KAAKM,OAAOgC,YAAcR,YAAE,OAAQ,KAAM9B,KAAKuC,MAAOT,YAAE,WAAY,CAAEU,YAAY,EAAM,YAAa,0BAA4BV,YAAE,WAAY,CAAEE,KAAM,QAASE,IAAKC,GAAOnC,KAAKyB,YAAcU,GAAOL,YAAE,OAAQ,OACloB,CACA,QAAIpB,GAAS,OAAO+B,YAAWzC,KAAO,CACtC,mBAAW0C,GAAa,MAAO,CAC7B,SAAY,CAAC,iBACb,OAAU,CAAC,cACV,GAEL9C,EAAe+C,MAxEW,0U","file":"static/js/44.4d96c33b.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","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 guxButtonMultiCss = \"gux-button-multi{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-button-multi .gux-button-multi-container .gux-dropdown-button button>*{vertical-align:middle}gux-button-multi .gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}\";\n\nlet GuxButtonMulti = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.open = createEvent(this, \"open\", 7);\n this.close = createEvent(this, \"close\", 7);\n /**\n * Disables the action button.\n */\n this.disabled = false;\n /**\n * The component accent (secondary or primary).\n */\n this.accent = 'secondary';\n /**\n * It is used to open or not the list.\n */\n this.isOpen = false;\n }\n toggle() {\n this.isOpen = !this.isOpen;\n }\n handleFocusOut(e) {\n if (!this.root.contains(e.relatedTarget)) {\n this.isOpen = false;\n }\n }\n handleKeyDown(e) {\n if (this.root.contains(e.target)) {\n return;\n }\n this.isOpen = false;\n }\n watchDisabled(disabled) {\n if (disabled) {\n this.isOpen = false;\n }\n }\n watchValue(newValue) {\n if (newValue) {\n this.open.emit();\n }\n else {\n this.close.emit();\n }\n }\n onKeyUpEvent(event) {\n const key = event.key;\n if (key === 'Escape') {\n this.isOpen = false;\n const button = this.dropdownButton.querySelector('button');\n button.focus();\n }\n if (key === 'ArrowDown' &&\n !this.listElement.contains(event.target)) {\n this.isOpen = true;\n this.listElement.setFocusOnFirstItem();\n }\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.accent });\n }\n render() {\n return (h(\"gux-popup-beta\", { expanded: this.isOpen, disabled: this.disabled }, h(\"div\", { slot: \"target\", class: \"gux-button-multi-container\" }, h(\"gux-button-slot-beta\", { class: \"gux-dropdown-button\", accent: this.accent }, h(\"button\", { type: \"button\", disabled: this.disabled, ref: el => (this.dropdownButton = el), onClick: () => this.toggle(), onKeyUp: e => this.onKeyUpEvent(e), \"aria-haspopup\": \"listbox\", \"aria-expanded\": this.isOpen.toString() }, h(\"span\", null, this.text), h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"gux-list\", { slot: \"popup\", ref: el => (this.listElement = el) }, h(\"slot\", null))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"disabled\": [\"watchDisabled\"],\n \"isOpen\": [\"watchValue\"]\n }; }\n};\nGuxButtonMulti.style = guxButtonMultiCss;\n\nexport { GuxButtonMulti as gux_button_multi };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[45],{133:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));const o={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"}},s="spark-library",i="spark-component";let r=!1;function c(t,e){const n=window.newrelic;n&&(r||(!function(){const t=window.newrelic;if(!t)return;const[e,n,i]=o.version.split(".");t.addPageAction(s,{fullVersion:"".concat(e,".").concat(n,".").concat(i),majorVersion:e,minorVersion:"".concat(e,".").concat(n)})}(),r=!0),n.addPageAction(i,Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:o.version})))}},52:function(t,e,n){"use strict";n.r(e),n.d(e,"gux_button",(function(){return i}));var o=n(10),s=n(133);let i=class{constructor(t){Object(o.j)(this,t),this.type="button",this.disabled=!1,this.accent="secondary"}async focusElement(){this.root.querySelector("button").focus()}componentWillLoad(){Object(s.a)(this.root,{variant:this.accent}),this.makeSlotContentDisableable()}render(){return Object(o.h)("button",{type:this.type,title:this.guxTitle?this.guxTitle:this.title,disabled:this.disabled,class:"gux-".concat(this.accent)},Object(o.h)("slot",null))}makeSlotContentDisableable(){Array.from(this.root.children).forEach((t=>{t.addEventListener("click",(t=>{this.disabled&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())}))}))}get root(){return Object(o.g)(this)}};i.style="gux-button{display:inline-block;min-width:32px;pointer-events:none}gux-button>button,gux-button>button.gux-secondary{width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-button>button[disabled],gux-button>button.gux-secondary[disabled]{color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}gux-button>button:hover:enabled,gux-button>button.gux-secondary:hover:enabled{background-color:#d7dce5}gux-button>button:active:enabled,gux-button>button.gux-secondary:active:enabled{background-color:#c8cfda}gux-button>button:focus:enabled,gux-button>button.gux-secondary:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-button>button.gux-tertiary,gux-button>button.gux-secondary.gux-tertiary{color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}gux-button>button.gux-tertiary[disabled],gux-button>button.gux-secondary.gux-tertiary[disabled]{color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}gux-button>button.gux-tertiary:hover:enabled,gux-button>button.gux-secondary.gux-tertiary:hover:enabled{color:#fdfdfd;background-color:#2754ac}gux-button>button.gux-tertiary:active:enabled,gux-button>button.gux-secondary.gux-tertiary:active:enabled{color:#fdfdfd;background-color:#23478f}gux-button>button.gux-primary,gux-button>button.gux-secondary.gux-primary{color:#fdfdfd;background-color:#2a60c8}gux-button>button.gux-primary[disabled],gux-button>button.gux-secondary.gux-primary[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}gux-button>button.gux-primary:hover:enabled,gux-button>button.gux-secondary.gux-primary:hover:enabled{background-color:#2754ac}gux-button>button.gux-primary:active:enabled,gux-button>button.gux-secondary.gux-primary:active:enabled{background-color:#23478f}gux-button>button:focus,gux-button>button.gux-secondary:focus{outline:none}gux-button>button gux-icon,gux-button>button.gux-secondary gux-icon{width:16px;height:16px}gux-button>button>*,gux-button>button.gux-secondary>*{padding-left:4px;vertical-align:middle}gux-button>button>*:first-child,gux-button>button.gux-secondary>*:first-child{padding:0}"}}]);
|
|
2
|
+
//# sourceMappingURL=45.02626866.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/gux-button.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","GuxButton","constructor","hostRef","registerInstance","this","disabled","accent","focusElement","root","querySelector","focus","componentWillLoad","variant","makeSlotContentDisableable","render","h","title","guxTitle","class","Array","from","children","forEach","slotElement","addEventListener","event","stopImmediatePropagation","stopPropagation","preventDefault","getElement","style"],"mappings":"+GAAA,wCAiKMA,EAAc,CACnBC,KAlKY,gCAmKZC,QAlKe,SAmKfC,YAlKmB,uBAmKnBC,QAlKe,MAmKfC,KAlKY,0BAmKZC,MAlKa,wBAmKbC,WAlKkB,2CAmKlBC,MAlKa,CACb,SAkKAC,QAhKe,CACfC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpB,2BAA4B,2CAC5BC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/B,yBAA0B,uCAC1BC,KAAM,iEACNC,KAAM,iFACN,cAAe,yDACf,WAAY,6CACZ,WAAY,+EACZ,WAAY,iDACZ,UAAW,qBACX,0BAA2B,uCAC3B,6BAA8B,0CAC9B,kBAAmB,+BACnBC,OAAQ,eACR,gBAAiB,iBACjBC,QAAS,6DACTC,QAAS,mBACTC,QAAS,uBACT,cAAe,qCACfC,KAAM,4BACN,UAAW,8CACX,eAAgB,sBAChB,cAAe,qCACf,WAAY,qBACZ,2BAA4B,sCAC5B,kBAAmB,kCACnB,YAAa,2CACb,4BAA6B,uCAC7B,uBAAwB,6CACxB,aAAc,wCAqHdC,aAnHoB,CACpB,iBAAkB,UAClB,qBAAsB,SACtB,8BAA+B,SAC/BC,WAAY,UACZ,wBAAyB,UA+GzBC,gBA7GuB,CACvB,cAAe,UACf,oBAAqB,UACrB,kBAAmB,UACnB,kCAAmC,UACnC,yBAA0B,SAC1B,gBAAiB,SACjB,gBAAiB,SACjB,iBAAkB,QACl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a,YAAa,GAAFC,OAAKN,EAAK,KAAAM,OAAIL,EAAK,KAAAK,OAAIJ,GAClCK,aAAcP,EACdQ,aAAc,GAAFF,OAAKN,EAAK,KAAAM,OAAIL,IAE9B,CAnBIQ,GACAf,GAAqB,GAEvBI,EAASM,cAAcX,EAAqBiB,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGd,GAAW,CAAEe,UAAWhB,EAAQiB,QAAQC,cAAexE,QAASF,EAAYE,WAC1J,C,kCCnNA,uEAKA,IAAIyE,EAAY,MACdC,YAAYC,GACVC,YAAiBC,KAAMF,GAIvBE,KAAKlC,KAAO,SAIZkC,KAAKC,UAAW,EAIhBD,KAAKE,OAAS,WAChB,CAIA,kBAAMC,GACJH,KAAKI,KAAKC,cAAc,UAAUC,OACpC,CACAC,oBACE/B,YAAewB,KAAKI,KAAM,CAAEI,QAASR,KAAKE,SAC1CF,KAAKS,4BACP,CACAC,SACE,OAAQC,YAAE,SAAU,CAAE7C,KAAMkC,KAAKlC,KAAM8C,MAAOZ,KAAKa,SAAWb,KAAKa,SAAWb,KAAKY,MAAOX,SAAUD,KAAKC,SAAUa,MAAO,OAAF3B,OAASa,KAAKE,SAAYS,YAAE,OAAQ,MAC9J,CACAF,6BACEM,MAAMC,KAAKhB,KAAKI,KAAKa,UAAUC,SAAQC,IACrCA,EAAYC,iBAAiB,SAAUC,IACjCrB,KAAKC,WACPoB,EAAMC,2BACND,EAAME,kBACNF,EAAMG,iBACR,GACA,GAEN,CACA,QAAIpB,GAAS,OAAOqB,YAAWzB,KAAO,GAExCJ,EAAU8B,MA5CW,43E","file":"static/js/45.02626866.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","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-69b12fc0.js';\n\nconst guxButtonCss = \"gux-button{display:inline-block;min-width:32px;pointer-events:none}gux-button>button,gux-button>button.gux-secondary{width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-button>button[disabled],gux-button>button.gux-secondary[disabled]{color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}gux-button>button:hover:enabled,gux-button>button.gux-secondary:hover:enabled{background-color:#d7dce5}gux-button>button:active:enabled,gux-button>button.gux-secondary:active:enabled{background-color:#c8cfda}gux-button>button:focus:enabled,gux-button>button.gux-secondary:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}gux-button>button.gux-tertiary,gux-button>button.gux-secondary.gux-tertiary{color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}gux-button>button.gux-tertiary[disabled],gux-button>button.gux-secondary.gux-tertiary[disabled]{color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}gux-button>button.gux-tertiary:hover:enabled,gux-button>button.gux-secondary.gux-tertiary:hover:enabled{color:#fdfdfd;background-color:#2754ac}gux-button>button.gux-tertiary:active:enabled,gux-button>button.gux-secondary.gux-tertiary:active:enabled{color:#fdfdfd;background-color:#23478f}gux-button>button.gux-primary,gux-button>button.gux-secondary.gux-primary{color:#fdfdfd;background-color:#2a60c8}gux-button>button.gux-primary[disabled],gux-button>button.gux-secondary.gux-primary[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}gux-button>button.gux-primary:hover:enabled,gux-button>button.gux-secondary.gux-primary:hover:enabled{background-color:#2754ac}gux-button>button.gux-primary:active:enabled,gux-button>button.gux-secondary.gux-primary:active:enabled{background-color:#23478f}gux-button>button:focus,gux-button>button.gux-secondary:focus{outline:none}gux-button>button gux-icon,gux-button>button.gux-secondary gux-icon{width:16px;height:16px}gux-button>button>*,gux-button>button.gux-secondary>*{padding-left:4px;vertical-align:middle}gux-button>button>*:first-child,gux-button>button.gux-secondary>*:first-child{padding:0}\";\n\nlet GuxButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The component button type\n */\n this.type = 'button';\n /**\n * Indicate if the button is disabled or not\n */\n this.disabled = false;\n /**\n * The component accent (secondary or primary).\n */\n this.accent = 'secondary';\n }\n /**\n * Focus the button\n */\n async focusElement() {\n this.root.querySelector('button').focus();\n }\n componentWillLoad() {\n trackComponent(this.root, { variant: this.accent });\n this.makeSlotContentDisableable();\n }\n render() {\n return (h(\"button\", { type: this.type, title: this.guxTitle ? this.guxTitle : this.title, disabled: this.disabled, class: `gux-${this.accent}` }, h(\"slot\", null)));\n }\n makeSlotContentDisableable() {\n Array.from(this.root.children).forEach(slotElement => {\n slotElement.addEventListener('click', (event) => {\n if (this.disabled) {\n event.stopImmediatePropagation();\n event.stopPropagation();\n event.preventDefault();\n }\n });\n });\n }\n get root() { return getElement(this); }\n};\nGuxButton.style = guxButtonCss;\n\nexport { GuxButton as gux_button };\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[46],{133:function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));const c={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",i="spark-component";let n=!1;function o(e,t){const s=window.newrelic;s&&(n||(!function(){const e=window.newrelic;if(!e)return;const[t,s,i]=c.version.split(".");e.addPageAction(l,{fullVersion:"".concat(t,".").concat(s,".").concat(i),majorVersion:t,minorVersion:"".concat(t,".").concat(s)})}(),n=!0),s.addPageAction(i,Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:c.version})))}},54:function(e,t,s){"use strict";s.r(t),s.d(t,"gux_checkbox_legacy",(function(){return n}));var c=s(10),l=s(133);let i=1;let n=class{constructor(e){Object(c.j)(this,e),this.check=Object(c.d)(this,"check",7)}componentWillLoad(){Object(l.a)(this.root),this.id=i++}setChecked(e){this.checked=!!this.indeterminate||e,this.indeterminate=!1,this.check.emit(e)}render(){return Object(c.h)("div",{class:"gux-checkbox-container"},Object(c.h)("input",{id:"gux-checkbox-".concat(this.id),type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:e=>this.setChecked(e.target.checked)}),Object(c.h)("label",{htmlFor:"gux-checkbox-".concat(this.id),class:(e=this.checked,t=this.indeterminate,t?"gux-mixed":e?"gux-checked":"gux-unchecked")},Object(c.h)("slot",null)));var e,t}get root(){return Object(c.g)(this)}};n.style="gux-checkbox-legacy{display:block}gux-checkbox-legacy .gux-checkbox-container{position:relative;padding-left:24px;line-height:24px}gux-checkbox-legacy input{position:absolute;z-index:-1;opacity:0}gux-checkbox-legacy input[type='checkbox']:focus+label::before{outline:rgba(117, 168, 255, 0.5) solid 3px}gux-checkbox-legacy input[type='checkbox']:focus+label.gux-unchecked::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%232a60c8' d='M416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}gux-checkbox-legacy label{display:inline-block}gux-checkbox-legacy label:hover{cursor:pointer}gux-checkbox-legacy label::before{position:absolute;top:7px;left:6px;display:inline-block;width:11px;height:11px;content:''}gux-checkbox-legacy label::after{position:absolute;top:6px;left:4px;display:block;width:16px;height:16px;content:''}gux-checkbox-legacy label.gux-unchecked::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2377828f' d='M416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}gux-checkbox-legacy input:not(:disabled)~label.gux-unchecked:hover::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%232a60c8' d='M416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}gux-checkbox-legacy input:disabled~label::after,gux-checkbox-legacy input:disabled~label{cursor:not-allowed;opacity:0.5}gux-checkbox-legacy label.gux-checked::after{top:3px;background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%232a60c8' d='M144 272l96 -64l224 224l32 -32l-256 -320l-128 160zM416 228l32 40v-268h-416v416h353l-32 -32h-289v-352h352v196z' /%3E%3C/svg%3E\");transform:scaleY(-1)}gux-checkbox-legacy label.gux-mixed::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%232a60c8' d='M128 192v32h224v-32h-224zM416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}.gux-checkbox-dark-theme{color:#fdfdfd}.gux-checkbox-dark-theme label.gux-checked::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M144 272l96 -64l224 224l32 -32l-256 -320l-128 160zM416 228l32 40v-268h-416v416h353l-32 -32h-289v-352h352v196z' /%3E%3C/svg%3E\")}.gux-checkbox-dark-theme label.gux-mixed::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M128 192v32h224v-32h-224zM416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}.gux-checkbox-dark-theme input:not(:disabled)~label.gux-unchecked:hover::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}.gux-dark-theme gux-checkbox-legacy{color:#fdfdfd}.gux-dark-theme gux-checkbox-legacy label.gux-checked::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M144 272l96 -64l224 224l32 -32l-256 -320l-128 160zM416 228l32 40v-268h-416v416h353l-32 -32h-289v-352h352v196z' /%3E%3C/svg%3E\")}.gux-dark-theme gux-checkbox-legacy label.gux-mixed::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M128 192v32h224v-32h-224zM416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}.gux-dark-theme gux-checkbox-legacy input:not(:disabled)~label.gux-unchecked:hover::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}gux-checkbox-legacy.gux-dark-theme{color:#fdfdfd}gux-checkbox-legacy.gux-dark-theme label.gux-checked::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M144 272l96 -64l224 224l32 -32l-256 -320l-128 160zM416 228l32 40v-268h-416v416h353l-32 -32h-289v-352h352v196z' /%3E%3C/svg%3E\")}gux-checkbox-legacy.gux-dark-theme label.gux-mixed::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M128 192v32h224v-32h-224zM416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}gux-checkbox-legacy.gux-dark-theme input:not(:disabled)~label.gux-unchecked:hover::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath fill='%2375a8ff' d='M416 32v352h-352v-352h352zM448 416v-416h-416v416h416z' /%3E%3C/svg%3E\")}.gux-checkbox-light-theme{color:#2e394c}.gux-light-theme gux-checkbox-legacy{color:#2e394c}gux-checkbox-legacy.gux-light-theme{color:#2e394c}gux-checkbox-legacy{color:#2e394c}"}}]);
|
|
2
|
+
//# sourceMappingURL=46.0f08377a.chunk.js.map
|