genesys-cloud-client-auth 0.0.2-build.37 → 1.0.0-develop.3
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/CHANGELOG.md +8 -0
- package/LICENSE +2 -2
- package/README.md +4 -2
- package/dist/asset-manifest.json +192 -163
- package/dist/deploy-info.json +22 -0
- package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/index.html +1 -1
- package/dist/lib/cjs/version.js +1 -1
- package/dist/lib/es/version.js +1 -1
- package/dist/manifest.json +20 -0
- package/dist/static/css/main.045d96b0.css +2 -0
- package/dist/static/css/main.045d96b0.css.map +1 -0
- package/dist/static/js/1089.fb722233.chunk.js +2 -0
- package/dist/static/js/1089.fb722233.chunk.js.map +1 -0
- package/dist/static/js/1158.76a41325.chunk.js +2 -0
- package/dist/static/js/1158.76a41325.chunk.js.map +1 -0
- package/dist/static/js/1166.1486fbcd.chunk.js +2 -0
- package/dist/static/js/1166.1486fbcd.chunk.js.map +1 -0
- package/dist/static/js/131.3f61f67c.chunk.js +2 -0
- package/dist/static/js/131.3f61f67c.chunk.js.map +1 -0
- package/dist/static/js/1344.19a70535.chunk.js +2 -0
- package/dist/static/js/1344.19a70535.chunk.js.map +1 -0
- package/dist/static/js/1433.d57f6003.chunk.js +2 -0
- package/dist/static/js/1433.d57f6003.chunk.js.map +1 -0
- package/dist/static/js/1498.98292821.chunk.js +2 -0
- package/dist/static/js/1498.98292821.chunk.js.map +1 -0
- package/dist/static/js/1507.84125ab7.chunk.js +2 -0
- package/dist/static/js/1507.84125ab7.chunk.js.map +1 -0
- package/dist/static/js/1544.fcbc0609.chunk.js +2 -0
- package/dist/static/js/1544.fcbc0609.chunk.js.map +1 -0
- package/dist/static/js/1642.13e001a0.chunk.js +2 -0
- package/dist/static/js/1642.13e001a0.chunk.js.map +1 -0
- package/dist/static/js/1697.c1eba654.chunk.js +2 -0
- package/dist/static/js/1697.c1eba654.chunk.js.map +1 -0
- package/dist/static/js/1718.d222d0d2.chunk.js +2 -0
- package/dist/static/js/1718.d222d0d2.chunk.js.map +1 -0
- package/dist/static/js/1978.b9b0b630.chunk.js +2 -0
- package/dist/static/js/1978.b9b0b630.chunk.js.map +1 -0
- package/dist/static/js/2131.e90e6224.chunk.js +2 -0
- package/dist/static/js/2131.e90e6224.chunk.js.map +1 -0
- package/dist/static/js/2291.98b84fa5.chunk.js +2 -0
- package/dist/static/js/2291.98b84fa5.chunk.js.map +1 -0
- package/dist/static/js/2361.28c72454.chunk.js +2 -0
- package/dist/static/js/2361.28c72454.chunk.js.map +1 -0
- package/dist/static/js/2609.69b7ee3f.chunk.js +2 -0
- package/dist/static/js/2609.69b7ee3f.chunk.js.map +1 -0
- package/dist/static/js/2618.08776cf8.chunk.js +2 -0
- package/dist/static/js/2618.08776cf8.chunk.js.map +1 -0
- package/dist/static/js/2657.08f5fe94.chunk.js +2 -0
- package/dist/static/js/2657.08f5fe94.chunk.js.map +1 -0
- package/dist/static/js/2939.a53af515.chunk.js +2 -0
- package/dist/static/js/2939.a53af515.chunk.js.map +1 -0
- package/dist/static/js/2959.b68475ee.chunk.js +2 -0
- package/dist/static/js/2959.b68475ee.chunk.js.map +1 -0
- package/dist/static/js/3183.0483907e.chunk.js +2 -0
- package/dist/static/js/3183.0483907e.chunk.js.map +1 -0
- package/dist/static/js/3184.b5c03e4a.chunk.js +2 -0
- package/dist/static/js/3184.b5c03e4a.chunk.js.map +1 -0
- package/dist/static/js/3326.58fe8ed8.chunk.js +2 -0
- package/dist/static/js/3326.58fe8ed8.chunk.js.map +1 -0
- package/dist/static/js/3431.330e6907.chunk.js +2 -0
- package/dist/static/js/3431.330e6907.chunk.js.map +1 -0
- package/dist/static/js/3466.d53f9938.chunk.js +2 -0
- package/dist/static/js/3466.d53f9938.chunk.js.map +1 -0
- package/dist/static/js/3534.ee2022f0.chunk.js +2 -0
- package/dist/static/js/3534.ee2022f0.chunk.js.map +1 -0
- package/dist/static/js/3649.47036a0d.chunk.js +2 -0
- package/dist/static/js/3649.47036a0d.chunk.js.map +1 -0
- package/dist/static/js/3821.dbe9ef88.chunk.js +2 -0
- package/dist/static/js/3821.dbe9ef88.chunk.js.map +1 -0
- package/dist/static/js/3982.1668cd90.chunk.js +2 -0
- package/dist/static/js/3982.1668cd90.chunk.js.map +1 -0
- package/dist/static/js/4173.64f75901.chunk.js +2 -0
- package/dist/static/js/4173.64f75901.chunk.js.map +1 -0
- package/dist/static/js/4192.35098ff0.chunk.js +2 -0
- package/dist/static/js/4192.35098ff0.chunk.js.map +1 -0
- package/dist/static/js/4202.6a101f57.chunk.js +2 -0
- package/dist/static/js/4202.6a101f57.chunk.js.map +1 -0
- package/dist/static/js/4242.625e5aa9.chunk.js +2 -0
- package/dist/static/js/4242.625e5aa9.chunk.js.map +1 -0
- package/dist/static/js/4248.d69f59fd.chunk.js +2 -0
- package/dist/static/js/4248.d69f59fd.chunk.js.map +1 -0
- package/dist/static/js/4618.2b652181.chunk.js +2 -0
- package/dist/static/js/4618.2b652181.chunk.js.map +1 -0
- package/dist/static/js/4774.03877b96.chunk.js +2 -0
- package/dist/static/js/4774.03877b96.chunk.js.map +1 -0
- package/dist/static/js/4777.07210d5d.chunk.js +2 -0
- package/dist/static/js/4777.07210d5d.chunk.js.map +1 -0
- package/dist/static/js/4826.f3719274.chunk.js +2 -0
- package/dist/static/js/4826.f3719274.chunk.js.map +1 -0
- package/dist/static/js/501.3f46836b.chunk.js +2 -0
- package/dist/static/js/501.3f46836b.chunk.js.map +1 -0
- package/dist/static/js/5122.046ab4b7.chunk.js +2 -0
- package/dist/static/js/5122.046ab4b7.chunk.js.map +1 -0
- package/dist/static/js/5160.465b3a5d.chunk.js +2 -0
- package/dist/static/js/5160.465b3a5d.chunk.js.map +1 -0
- package/dist/static/js/546.40835589.chunk.js +2 -0
- package/dist/static/js/546.40835589.chunk.js.map +1 -0
- package/dist/static/js/5503.cc3b1fda.chunk.js +2 -0
- package/dist/static/js/5503.cc3b1fda.chunk.js.map +1 -0
- package/dist/static/js/5572.565c5d80.chunk.js +2 -0
- package/dist/static/js/5572.565c5d80.chunk.js.map +1 -0
- package/dist/static/js/599.a5cb72b5.chunk.js +2 -0
- package/dist/static/js/599.a5cb72b5.chunk.js.map +1 -0
- package/dist/static/js/6033.174d7635.chunk.js +2 -0
- package/dist/static/js/6033.174d7635.chunk.js.map +1 -0
- package/dist/static/js/6069.5c81dae7.chunk.js +2 -0
- package/dist/static/js/6069.5c81dae7.chunk.js.map +1 -0
- package/dist/static/js/6151.c5cf5a85.chunk.js +2 -0
- package/dist/static/js/6151.c5cf5a85.chunk.js.map +1 -0
- package/dist/static/js/6237.a9b576a4.chunk.js +2 -0
- package/dist/static/js/6237.a9b576a4.chunk.js.map +1 -0
- package/dist/static/js/6326.156b4248.chunk.js +2 -0
- package/dist/static/js/6326.156b4248.chunk.js.map +1 -0
- package/dist/static/js/6474.03947fd7.chunk.js +2 -0
- package/dist/static/js/6474.03947fd7.chunk.js.map +1 -0
- package/dist/static/js/6571.301eecac.chunk.js +2 -0
- package/dist/static/js/6571.301eecac.chunk.js.map +1 -0
- package/dist/static/js/6632.0676b230.chunk.js +2 -0
- package/dist/static/js/6632.0676b230.chunk.js.map +1 -0
- package/dist/static/js/6769.fcdb896c.chunk.js +2 -0
- package/dist/static/js/6769.fcdb896c.chunk.js.map +1 -0
- package/dist/static/js/6982.60585ab3.chunk.js +2 -0
- package/dist/static/js/6982.60585ab3.chunk.js.map +1 -0
- package/dist/static/js/7076.37939eb2.chunk.js +2 -0
- package/dist/static/js/7076.37939eb2.chunk.js.map +1 -0
- package/dist/static/js/7120.0b0ef311.chunk.js +3 -0
- package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 7120.0b0ef311.chunk.js.LICENSE.txt} +1 -1
- package/dist/static/js/7120.0b0ef311.chunk.js.map +1 -0
- package/dist/static/js/7150.840301cb.chunk.js +2 -0
- package/dist/static/js/7150.840301cb.chunk.js.map +1 -0
- package/dist/static/js/7153.250bf93b.chunk.js +2 -0
- package/dist/static/js/7153.250bf93b.chunk.js.map +1 -0
- package/dist/static/js/7307.8656856b.chunk.js +2 -0
- package/dist/static/js/7307.8656856b.chunk.js.map +1 -0
- package/dist/static/js/742.64af67d8.chunk.js +2 -0
- package/dist/static/js/742.64af67d8.chunk.js.map +1 -0
- package/dist/static/js/754.b1c84197.chunk.js +2 -0
- package/dist/static/js/754.b1c84197.chunk.js.map +1 -0
- package/dist/static/js/7610.97a0a5b5.chunk.js +2 -0
- package/dist/static/js/7610.97a0a5b5.chunk.js.map +1 -0
- package/dist/static/js/765.2a78cffe.chunk.js +2 -0
- package/dist/static/js/765.2a78cffe.chunk.js.map +1 -0
- package/dist/static/js/7803.bfe8c40f.chunk.js +2 -0
- package/dist/static/js/7803.bfe8c40f.chunk.js.map +1 -0
- package/dist/static/js/7895.629e8650.chunk.js +2 -0
- package/dist/static/js/7895.629e8650.chunk.js.map +1 -0
- package/dist/static/js/8025.ecb1d6bc.chunk.js +2 -0
- package/dist/static/js/8025.ecb1d6bc.chunk.js.map +1 -0
- package/dist/static/js/8086.ef9f2d3b.chunk.js +2 -0
- package/dist/static/js/8086.ef9f2d3b.chunk.js.map +1 -0
- package/dist/static/js/8105.46b996bf.chunk.js +2 -0
- package/dist/static/js/8105.46b996bf.chunk.js.map +1 -0
- package/dist/static/js/819.a55f578b.chunk.js +2 -0
- package/dist/static/js/819.a55f578b.chunk.js.map +1 -0
- package/dist/static/js/8300.e15dbcd8.chunk.js +2 -0
- package/dist/static/js/8300.e15dbcd8.chunk.js.map +1 -0
- package/dist/static/js/8324.b769efff.chunk.js +2 -0
- package/dist/static/js/8324.b769efff.chunk.js.map +1 -0
- package/dist/static/js/8366.b2c2daee.chunk.js +2 -0
- package/dist/static/js/8366.b2c2daee.chunk.js.map +1 -0
- package/dist/static/js/8524.95396ee8.chunk.js +2 -0
- package/dist/static/js/8524.95396ee8.chunk.js.map +1 -0
- package/dist/static/js/8644.c87452a5.chunk.js +2 -0
- package/dist/static/js/8644.c87452a5.chunk.js.map +1 -0
- package/dist/static/js/8674.d4aa33fd.chunk.js +2 -0
- package/dist/static/js/8674.d4aa33fd.chunk.js.map +1 -0
- package/dist/static/js/8717.76b643a4.chunk.js +2 -0
- package/dist/static/js/8717.76b643a4.chunk.js.map +1 -0
- package/dist/static/js/872.5c96c93a.chunk.js +2 -0
- package/dist/static/js/872.5c96c93a.chunk.js.map +1 -0
- package/dist/static/js/8762.d3fad692.chunk.js +2 -0
- package/dist/static/js/8762.d3fad692.chunk.js.map +1 -0
- package/dist/static/js/8782.af6b6665.chunk.js +3 -0
- package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 8782.af6b6665.chunk.js.LICENSE.txt} +0 -0
- package/dist/static/js/8782.af6b6665.chunk.js.map +1 -0
- package/dist/static/js/894.a8fe019e.chunk.js +2 -0
- package/dist/static/js/894.a8fe019e.chunk.js.map +1 -0
- package/dist/static/js/9057.702da8f9.chunk.js +2 -0
- package/dist/static/js/9057.702da8f9.chunk.js.map +1 -0
- package/dist/static/js/9090.60a5cb5b.chunk.js +2 -0
- package/dist/static/js/9090.60a5cb5b.chunk.js.map +1 -0
- package/dist/static/js/9117.200d2100.chunk.js +2 -0
- package/dist/static/js/9117.200d2100.chunk.js.map +1 -0
- package/dist/static/js/9131.d5d0ab82.chunk.js +2 -0
- package/dist/static/js/9131.d5d0ab82.chunk.js.map +1 -0
- package/dist/static/js/9296.e374c7dc.chunk.js +2 -0
- package/dist/static/js/9296.e374c7dc.chunk.js.map +1 -0
- package/dist/static/js/932.4f62c387.chunk.js +2 -0
- package/dist/static/js/932.4f62c387.chunk.js.map +1 -0
- package/dist/static/js/9584.967e5482.chunk.js +2 -0
- package/dist/static/js/9584.967e5482.chunk.js.map +1 -0
- package/dist/static/js/9679.87a204b1.chunk.js +2 -0
- package/dist/static/js/9679.87a204b1.chunk.js.map +1 -0
- package/dist/static/js/9745.63a6678a.chunk.js +2 -0
- package/dist/static/js/9745.63a6678a.chunk.js.map +1 -0
- package/dist/static/js/9750.1310ef55.chunk.js +2 -0
- package/dist/static/js/9750.1310ef55.chunk.js.map +1 -0
- package/dist/static/js/main.fd57b2ac.js +3 -0
- package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → main.fd57b2ac.js.LICENSE.txt} +2 -0
- package/dist/static/js/main.fd57b2ac.js.map +1 -0
- package/dist/static/media/{getFetch.582d29c4.cjs → getFetch.c780682470504fffbd04.cjs} +0 -0
- package/dist/v1/genesys-cloud-client-auth.browser.min.js +2 -0
- package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +2 -0
- package/package.json +73 -71
- package/dist/static/css/main.3508dc5f.chunk.css +0 -2
- package/dist/static/css/main.3508dc5f.chunk.css.map +0 -1
- 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.LICENSE.txt +0 -17
- package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
- package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
- package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
- package/dist/static/js/25.1549af44.chunk.js +0 -2
- package/dist/static/js/25.1549af44.chunk.js.map +0 -1
- package/dist/static/js/26.f5920959.chunk.js +0 -2
- package/dist/static/js/26.f5920959.chunk.js.map +0 -1
- package/dist/static/js/27.4c4b5337.chunk.js +0 -2
- package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
- package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
- package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
- package/dist/static/js/29.c8bcd088.chunk.js +0 -2
- package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
- package/dist/static/js/30.3f776fe2.chunk.js +0 -2
- package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
- package/dist/static/js/31.295a0045.chunk.js +0 -2
- package/dist/static/js/31.295a0045.chunk.js.map +0 -1
- package/dist/static/js/32.c6495395.chunk.js +0 -2
- package/dist/static/js/32.c6495395.chunk.js.map +0 -1
- package/dist/static/js/33.bc3f2778.chunk.js +0 -2
- package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
- package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
- package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
- package/dist/static/js/35.080ac296.chunk.js +0 -2
- package/dist/static/js/35.080ac296.chunk.js.map +0 -1
- package/dist/static/js/36.30926ca6.chunk.js +0 -2
- package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
- package/dist/static/js/37.535e0baf.chunk.js +0 -2
- package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
- package/dist/static/js/38.c6142d9d.chunk.js +0 -2
- package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
- package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
- package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
- package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
- package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
- package/dist/static/js/41.8dc69989.chunk.js +0 -2
- package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
- package/dist/static/js/42.a8312848.chunk.js +0 -2
- package/dist/static/js/42.a8312848.chunk.js.map +0 -1
- package/dist/static/js/43.ce512d00.chunk.js +0 -2
- package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
- package/dist/static/js/44.197bff30.chunk.js +0 -2
- package/dist/static/js/44.197bff30.chunk.js.map +0 -1
- package/dist/static/js/45.9c281539.chunk.js +0 -2
- package/dist/static/js/45.9c281539.chunk.js.map +0 -1
- package/dist/static/js/46.8625525a.chunk.js +0 -2
- package/dist/static/js/46.8625525a.chunk.js.map +0 -1
- package/dist/static/js/47.89e00f8b.chunk.js +0 -2
- package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
- package/dist/static/js/48.1150630c.chunk.js +0 -2
- package/dist/static/js/48.1150630c.chunk.js.map +0 -1
- package/dist/static/js/49.d628f230.chunk.js +0 -2
- package/dist/static/js/49.d628f230.chunk.js.map +0 -1
- package/dist/static/js/5.8b318946.chunk.js +0 -3
- package/dist/static/js/5.8b318946.chunk.js.map +0 -1
- package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
- package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
- package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
- package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
- package/dist/static/js/52.d9cdf428.chunk.js +0 -2
- package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
- package/dist/static/js/53.eb9374c8.chunk.js +0 -2
- package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
- package/dist/static/js/54.0246cd90.chunk.js +0 -2
- package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
- package/dist/static/js/55.f6407d07.chunk.js +0 -2
- package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
- package/dist/static/js/56.030f4c2c.chunk.js +0 -2
- package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
- package/dist/static/js/57.106fdb37.chunk.js +0 -2
- package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
- package/dist/static/js/58.9efa9671.chunk.js +0 -2
- package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
- package/dist/static/js/59.3b47d57a.chunk.js +0 -2
- package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
- package/dist/static/js/6.8ac679aa.chunk.js +0 -2
- package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
- package/dist/static/js/60.0335fabd.chunk.js +0 -2
- package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
- package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
- package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
- package/dist/static/js/62.bb858ee5.chunk.js +0 -2
- package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
- package/dist/static/js/63.107ffad7.chunk.js +0 -2
- package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
- package/dist/static/js/64.a485a8c8.chunk.js +0 -2
- package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
- package/dist/static/js/65.3593d4bb.chunk.js +0 -2
- package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
- package/dist/static/js/66.9202016a.chunk.js +0 -2
- package/dist/static/js/66.9202016a.chunk.js.map +0 -1
- package/dist/static/js/67.45ef3717.chunk.js +0 -2
- package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
- package/dist/static/js/68.e638cd4b.chunk.js +0 -2
- package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
- package/dist/static/js/69.b404f87e.chunk.js +0 -2
- package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
- package/dist/static/js/7.a488d90e.chunk.js +0 -2
- package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
- package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
- package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
- package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
- package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
- package/dist/static/js/72.6f860cde.chunk.js +0 -2
- package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
- package/dist/static/js/73.8839e5fd.chunk.js +0 -3
- package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
- package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
- package/dist/static/js/74.da2b0a38.chunk.js +0 -2
- package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
- package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
- package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
- package/dist/static/js/9.12e26806.chunk.js +0 -2
- package/dist/static/js/9.12e26806.chunk.js.map +0 -1
- package/dist/static/js/main.4aab9f6d.chunk.js +0 -2
- package/dist/static/js/main.4aab9f6d.chunk.js.map +0 -1
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
- package/dist/static/js/runtime-main.847af914.js +0 -2
- package/dist/static/js/runtime-main.847af914.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[4248],{4248:function(e,t,n){n.r(t),n.d(t,{gux_advanced_dropdown:function(){return g}});var o=n(7762),i=n(4165),s=n(5861),r=n(5671),c=n(3144),l=n(4723),d=n(8125),u=n(8782),a=n(1782),p={searchAria:"Search"};function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=new MutationObserver(t);return o.observe(e,Object.assign({attributes:!0,childList:!0,subtree:!0},n)),o}var g=function(){function e(t){(0,r.Z)(this,e),(0,l.r)(this,t),this.input=(0,l.c)(this,"input",7),this.filter=(0,l.c)(this,"filter",7),this.searchId=(0,a.r)("gux-advanced-dropdown-search"),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}return(0,c.Z)(e,[{key:"watchValue",value:function(e){this.opened&&e&&this.closeDropdown(!1)}},{key:"value",get:function(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}},{key:"getSelectedValues",value:function(){return Promise.resolve([this.value])}},{key:"setLabeledBy",value:function(){var e=(0,s.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.srLabelledby=t;case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onFocusOut",value:function(e){e.relatedTarget&&this.root.contains(e.relatedTarget)||this.closeDropdown(!1)}},{key:"componentWillLoad",value:function(){var e=(0,s.Z)((0,i.Z)().mark((function e(){var t=this;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,d.t)(this.root),e.next=3,(0,u.b)(this.root,p);case 3:this.i18n=e.sent,this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=h(this.root,(function(){return t.updateSelectionState()}));case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.slotObserver.disconnect()}},{key:"render",value:function(){var e=this;return(0,l.h)("div",{class:"gux-dropdown\n ".concat(this.disabled?"gux-disabled":"","\n ").concat(this.opened?"gux-active":"")},(0,l.h)("div",{class:"gux-select-field",onMouseDown:function(){return e.inputMouseDown()}},(0,l.h)("a",{ref:function(t){return e.inputBox=t},class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:function(t){return e.inputKeyDown(t)}},this.placeholder&&!this.value&&(0,l.h)("span",{class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&(0,l.h)("span",{class:"gux-select-value",title:this.value},this.value)),(0,l.h)("div",{class:"gux-icon-wrapper"},(0,l.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),(0,l.h)("div",{class:"gux-advanced-dropdown-menu ".concat(this.opened?"gux-opened":"")},(0,l.h)("div",{class:"gux-dropdown-menu-container"},(0,l.h)("label",{htmlFor:this.searchId,class:"gux-search-label"},this.i18n("searchAria")),(0,l.h)("gux-input-search",null,(0,l.h)("input",{id:this.searchId,type:"search",onInput:function(t){e.handleSearchInput(t)},ref:function(t){return e.searchInput=t}})),(0,l.h)("div",{class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:function(t){return e.optionsKeyDown(t)}},(0,l.h)("slot",null)))))}},{key:"updateSelectionState",value:function(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((function(e){return e.selected}))}},{key:"addOptionListener",value:function(){this.root.addEventListener("selectedChanged",this.handleSelectionChange)}},{key:"handleSelectionChange",value:function(e){var t=e.target;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}},{key:"getSelectionOptions",value:function(){var e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}},{key:"inputMouseDown",value:function(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}},{key:"getFocusIndex",value:function(){return this.selectionOptions.findIndex((function(e){return e.matches(":focus")}))}},{key:"optionsKeyDown",value:function(e){switch(e.key){case"ArrowUp":var t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break;case"ArrowDown":var n=this.getFocusIndex();n<this.selectionOptions.length-1&&this.selectionOptions[n+1].focus();break;case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}},{key:"inputKeyDown",value:function(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}},{key:"handleSearchInput",value:function(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout(this.searchRequested.bind(this),this.filterDebounceTimeout)}},{key:"searchRequested",value:function(){var e=this.searchInput.value;this.filter.emit(e),this.setFilteredOptions()}},{key:"setFilteredOptions",value:function(){var e=this.searchInput.value;if(!this.noFilter){var t,n=(0,o.Z)(this.selectionOptions);try{var i=function(){var n=t.value;n.shouldFilter(e).then((function(e){n.filtered=e}))};for(n.s();!(t=n.n()).done;)i()}catch(s){n.e(s)}finally{n.f()}}}},{key:"changeFocusToSearch",value:function(){var e=this;setTimeout((function(){e.searchInput.focus()}))}},{key:"openDropdown",value:function(e){this.opened=!0,e&&this.changeFocusToSearch()}},{key:"closeDropdown",value:function(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}},{key:"root",get:function(){return(0,l.g)(this)}}],[{key:"watchers",get:function(){return{disabled:["watchValue"]}}}]),e}();g.style="div.gux-dropdown{position:relative;margin:4px 0}div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}div.gux-dropdown .gux-select-field a.gux-select-input{position:absolute;top:0;right:0;bottom:0;left:0;padding:5px 24px 4px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border:1px solid #e4e9f0;border-radius:2px}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder,div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder{color:#666f7b}div.gux-dropdown .gux-select-field a.gux-select-input:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}div.gux-dropdown .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}div.gux-dropdown .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px}div.gux-dropdown.gux-active .gux-select-field .gux-select-input{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}div.gux-dropdown.gux-active .gux-select-field .gux-select-input:focus{box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}div.gux-dropdown .gux-advanced-dropdown-menu{position:absolute;z-index:1;display:none;width:100%;background:#fdfdfd;box-shadow:0 0 2px 0 rgba(34, 37, 41, 0.24)}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container{padding:16px}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container .gux-search-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}div.gux-dropdown .gux-advanced-dropdown-menu.gux-opened{display:block}div.gux-dropdown .gux-dropdown-options{padding:8px 0;margin:0;margin-top:12px;overflow-y:auto;color:#33383d;background:#fdfdfd;border:1px solid #e4e9f0;box-shadow:none}.gux-advanced-dropdown-light-theme{color:#33383d}.gux-advanced-dropdown-light-theme div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}.gux-advanced-dropdown-light-theme div.gux-dropdown .gux-select-field gux-icon{color:#33383d}.gux-advanced-dropdown-light-theme div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme :host{color:#33383d}.gux-light-theme :host div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}.gux-light-theme :host div.gux-dropdown .gux-select-field gux-icon{color:#33383d}.gux-light-theme :host div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}:host.gux-light-theme{color:#33383d}:host.gux-light-theme div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}:host.gux-light-theme div.gux-dropdown .gux-select-field gux-icon{color:#33383d}:host.gux-light-theme div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}:host{color:#33383d}:host div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}:host div.gux-dropdown .gux-select-field gux-icon{color:#33383d}:host div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}"},1782:function(e,t,n){function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux";return"".concat(e,"-").concat(Math.random().toString(36).substr(2,10))}n.d(t,{r:function(){return o}})},8125:function(e,t,n){n.d(t,{t:function(){return c}});var o=n(885),i={name:"@genesys/common-webcomponents",version:"2.55.3",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",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",r=!1;function c(e,t){var n=window.newrelic;n&&(r||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,o.Z)(t,3),r=n[0],c=n[1],l=n[2];e.addPageAction(s,{fullVersion:"".concat(r,".").concat(c,".").concat(l),majorVersion:r,minorVersion:"".concat(r,".").concat(c)})}(),r=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}},7762:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(181);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,s=function(){};return{s:s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}}}]);
|
|
2
|
+
//# sourceMappingURL=4248.d69f59fd.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/4248.d69f59fd.chunk.js","mappings":"qQAMMA,EAA4B,CACjCC,WAFkB,UAKnB,SAASC,EAAWC,EAASC,GAAwB,IAAdC,EAAc,uDAAJ,GACzCC,EAAW,IAAIC,iBAAiBH,GAMtC,OALAE,EAASE,QAAQL,EAASM,OAAOC,OAAO,CACtCC,YAAY,EACZC,WAAW,EACXC,SAAS,GACRR,IACIC,EAGT,IAEIQ,EAAmB,WACrB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GACxCA,KAAKG,QAASD,EAAAA,EAAAA,GAAYF,KAAM,SAAU,GAC1CA,KAAKI,UAAWC,E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ERC,EAAGL,GAIP,MAAM,IAAIM,UAAU,yIAGtB,IAEIC,EAFAC,GAAmB,EACnBC,GAAS,EAEb,MAAO,CACLR,EAAG,WACDN,EAAKA,EAAGe,KAAKjB,IAEfS,EAAG,WACD,IAAIS,EAAOhB,EAAGiB,OAEd,OADAJ,EAAmBG,EAAKR,KACjBQ,GAET9J,EAAG,SAAWgK,GACZJ,GAAS,EACTF,EAAMM,GAERR,EAAG,WACD,IACOG,GAAoC,MAAhBb,EAAW,QAAWA,EAAW,SAC1D,QACA,GAAIc,EAAQ,MAAMF","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-advanced-dropdown.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js","../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\n\nconst searchAria = \"Search\";\nconst advancedDropDownResources = {\n\tsearchAria: searchAria\n};\n\nfunction onMutation(element, callback, options = {}) {\n const observer = new MutationObserver(callback);\n observer.observe(element, Object.assign({\n attributes: true,\n childList: true,\n subtree: true\n }, options));\n return observer;\n}\n\nconst guxAdvancedDropdownCss = \"div.gux-dropdown{position:relative;margin:4px 0}div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}div.gux-dropdown .gux-select-field a.gux-select-input{position:absolute;top:0;right:0;bottom:0;left:0;padding:5px 24px 4px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border:1px solid #e4e9f0;border-radius:2px}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder,div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder{color:#666f7b}div.gux-dropdown .gux-select-field a.gux-select-input:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}div.gux-dropdown .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}div.gux-dropdown .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px}div.gux-dropdown.gux-active .gux-select-field .gux-select-input{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}div.gux-dropdown.gux-active .gux-select-field .gux-select-input:focus{box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}div.gux-dropdown .gux-advanced-dropdown-menu{position:absolute;z-index:1;display:none;width:100%;background:#fdfdfd;box-shadow:0 0 2px 0 rgba(34, 37, 41, 0.24)}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container{padding:16px}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container .gux-search-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}div.gux-dropdown .gux-advanced-dropdown-menu.gux-opened{display:block}div.gux-dropdown .gux-dropdown-options{padding:8px 0;margin:0;margin-top:12px;overflow-y:auto;color:#33383d;background:#fdfdfd;border:1px solid #e4e9f0;box-shadow:none}.gux-advanced-dropdown-light-theme{color:#33383d}.gux-advanced-dropdown-light-theme div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}.gux-advanced-dropdown-light-theme div.gux-dropdown .gux-select-field gux-icon{color:#33383d}.gux-advanced-dropdown-light-theme div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-light-theme :host{color:#33383d}.gux-light-theme :host div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}.gux-light-theme :host div.gux-dropdown .gux-select-field gux-icon{color:#33383d}.gux-light-theme :host div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}:host.gux-light-theme{color:#33383d}:host.gux-light-theme div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}:host.gux-light-theme div.gux-dropdown .gux-select-field gux-icon{color:#33383d}:host.gux-light-theme div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}:host{color:#33383d}:host div.gux-dropdown .gux-select-field a.gux-select-input{color:#33383d;background-color:#f8f8f8;border-color:#e4e9f0}:host div.gux-dropdown .gux-select-field gux-icon{color:#33383d}:host div.gux-dropdown.gux-active .gux-select-field a.gux-select-input{border:1px solid #2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}\";\n\nlet GuxAdvancedDropdown = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n this.filter = createEvent(this, \"filter\", 7);\n this.searchId = randomHTMLId('gux-advanced-dropdown-search');\n /**\n * Disable the input and prevent interactions.\n */\n this.disabled = false;\n /**\n * Whether the list should filter its current options.\n */\n this.noFilter = false;\n /**\n * Timeout between filter input changed and event being emitted.\n */\n this.filterDebounceTimeout = 500;\n /**\n * CSS string used to set the maximum height of the dropdown option container. Default is set to 10 options as defined by UX.\n */\n this.dropdownHeight = '320px';\n }\n watchValue(newValue) {\n if (this.opened && newValue) {\n this.closeDropdown(false);\n }\n }\n get value() {\n var _a;\n return (_a = this.currentlySelectedOption) === null || _a === void 0 ? void 0 : _a.text;\n }\n /**\n * Gets the currently selected values.\n *\n * @returns The array of selected values.\n */\n getSelectedValues() {\n // Once multi-select gets added there will\n // be multiple values selectable.\n return Promise.resolve([this.value]);\n }\n async setLabeledBy(id) {\n this.srLabelledby = id;\n }\n onFocusOut(e) {\n if (!e.relatedTarget || !this.root.contains(e.relatedTarget)) {\n this.closeDropdown(false);\n }\n }\n async componentWillLoad() {\n trackComponent(this.root);\n this.i18n = await buildI18nForComponent(this.root, advancedDropDownResources);\n this.handleSelectionChange = this.handleSelectionChange.bind(this);\n this.updateSelectionState();\n this.addOptionListener();\n this.slotObserver = onMutation(this.root, () => this.updateSelectionState());\n }\n disconnectedCallback() {\n this.slotObserver.disconnect();\n }\n render() {\n return (h(\"div\", { class: `gux-dropdown\n ${this.disabled ? 'gux-disabled' : ''}\n ${this.opened ? 'gux-active' : ''}` }, h(\"div\", { class: \"gux-select-field\", onMouseDown: () => this.inputMouseDown() }, h(\"a\", { ref: el => (this.inputBox = el), class: \"gux-select-input\", \"aria-labelledby\": this.srLabelledby, tabindex: \"0\", onKeyDown: e => this.inputKeyDown(e) }, this.placeholder && !this.value && (h(\"span\", { class: \"gux-select-placeholder\", title: this.placeholder }, this.placeholder)), this.value && (h(\"span\", { class: \"gux-select-value\", title: this.value }, this.value))), h(\"div\", { class: \"gux-icon-wrapper\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" }))), h(\"div\", { class: `gux-advanced-dropdown-menu ${this.opened ? 'gux-opened' : ''}` }, h(\"div\", { class: \"gux-dropdown-menu-container\" }, h(\"label\", { htmlFor: this.searchId, class: \"gux-search-label\" }, this.i18n('searchAria')), h(\"gux-input-search\", null, h(\"input\", { id: this.searchId, type: \"search\", onInput: (event) => {\n this.handleSearchInput(event);\n }, ref: el => (this.searchInput = el) })), h(\"div\", { class: \"gux-dropdown-options\", style: { maxHeight: this.dropdownHeight }, onKeyDown: e => this.optionsKeyDown(e) }, h(\"slot\", null))))));\n }\n updateSelectionState() {\n this.selectionOptions = this.getSelectionOptions();\n this.currentlySelectedOption = this.selectionOptions.find(option => option.selected);\n }\n addOptionListener() {\n this.root.addEventListener('selectedChanged', this.handleSelectionChange);\n }\n handleSelectionChange({ target }) {\n const option = target;\n this.closeDropdown(true);\n if (this.currentlySelectedOption === option) {\n return;\n }\n if (this.currentlySelectedOption) {\n this.currentlySelectedOption.selected = false;\n }\n this.currentlySelectedOption = option;\n this.input.emit(option.value);\n }\n getSelectionOptions() {\n const options = this.root.querySelectorAll('gux-dropdown-option');\n return Array.from(options);\n }\n inputMouseDown() {\n if (this.disabled) {\n return;\n }\n if (this.opened) {\n this.closeDropdown(true);\n }\n else {\n this.openDropdown(false);\n }\n }\n getFocusIndex() {\n return this.selectionOptions.findIndex(option => {\n return option.matches(':focus');\n });\n }\n optionsKeyDown(event) {\n switch (event.key) {\n case 'ArrowUp': {\n const focusIndex = this.getFocusIndex();\n if (focusIndex > 0) {\n this.selectionOptions[focusIndex - 1].focus();\n }\n break;\n }\n case 'ArrowDown': {\n const focusIndex = this.getFocusIndex();\n if (focusIndex < this.selectionOptions.length - 1) {\n this.selectionOptions[focusIndex + 1].focus();\n }\n break;\n }\n case 'Home':\n if (!this.selectionOptions.length) {\n return;\n }\n this.selectionOptions[0].focus();\n break;\n case 'End':\n if (!this.selectionOptions.length) {\n return;\n }\n this.selectionOptions[this.selectionOptions.length - 1].focus();\n break;\n }\n }\n inputKeyDown(event) {\n switch (event.key) {\n case 'ArrowUp':\n case 'ArrowDown':\n case ' ':\n this.openDropdown(true);\n break;\n }\n }\n handleSearchInput(event) {\n event.stopPropagation();\n clearTimeout(this.filterDebounceTimer);\n this.filterDebounceTimer = setTimeout(this.searchRequested.bind(this), this.filterDebounceTimeout);\n }\n searchRequested() {\n const value = this.searchInput.value;\n this.filter.emit(value);\n this.setFilteredOptions();\n }\n setFilteredOptions() {\n const value = this.searchInput.value;\n if (!this.noFilter) {\n for (const option of this.selectionOptions) {\n option.shouldFilter(value).then(isFiltered => {\n option.filtered = isFiltered;\n });\n }\n }\n }\n changeFocusToSearch() {\n setTimeout(() => {\n this.searchInput.focus();\n });\n }\n openDropdown(focusSearch) {\n this.opened = true;\n if (focusSearch) {\n this.changeFocusToSearch();\n }\n }\n closeDropdown(focus) {\n this.opened = false;\n this.searchInput.value = '';\n this.setFilteredOptions();\n if (focus) {\n this.inputBox.focus();\n }\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"disabled\": [\"watchValue\"]\n }; }\n};\nGuxAdvancedDropdown.style = guxAdvancedDropdownCss;\n\nexport { GuxAdvancedDropdown as gux_advanced_dropdown };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\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\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 unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}"],"names":["advancedDropDownResources","searchAria","onMutation","element","callback","options","observer","MutationObserver","observe","Object","assign","attributes","childList","subtree","GuxAdvancedDropdown","hostRef","registerInstance","this","input","createEvent","filter","searchId","randomHTMLId","disabled","noFilter","filterDebounceTimeout","dropdownHeight","newValue","opened","closeDropdown","_a","currentlySelectedOption","text","Promise","resolve","value","id","srLabelledby","e","relatedTarget","root","contains","trackComponent","buildI18nForComponent","i18n","handleSelectionChange","bind","updateSelectionState","addOptionListener","slotObserver","disconnect","h","class","onMouseDown","inputMouseDown","ref","el","inputBox","tabindex","onKeyDown","inputKeyDown","placeholder","title","decorative","htmlFor","type","onInput","event","handleSearchInput","searchInput","style","maxHeight","optionsKeyDown","selectionOptions","getSelectionOptions","find","option","selected","addEventListener","target","emit","querySelectorAll","Array","from","openDropdown","findIndex","matches","key","focusIndex","getFocusIndex","focus","length","stopPropagation","clearTimeout","filterDebounceTimer","setTimeout","searchRequested","setFilteredOptions","shouldFilter","then","isFiltered","filtered","focusSearch","changeFocusToSearch","getElement","prefix","Math","random","toString","substr","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","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","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","component","tagName","toLowerCase","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","i","F","s","n","done","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[4618],{4618:function(e,t,s){s.r(t),s.d(t,{gux_checkbox_legacy:function(){return o}});var c=s(5671),l=s(3144),n=s(4723),i=s(8125),a=1,o=function(){function e(t){(0,c.Z)(this,e),(0,n.r)(this,t),this.check=(0,n.c)(this,"check",7)}return(0,l.Z)(e,[{key:"componentWillLoad",value:function(){(0,i.t)(this.root),this.id=a++}},{key:"setChecked",value:function(e){this.checked=!!this.indeterminate||e,this.indeterminate=!1,this.check.emit(e)}},{key:"render",value:function(){var e,t,s=this;return(0,n.h)("div",{class:"gux-checkbox-container"},(0,n.h)("input",{id:"gux-checkbox-".concat(this.id),type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:function(e){return s.setChecked(e.target.checked)}}),(0,n.h)("label",{htmlFor:"gux-checkbox-".concat(this.id),class:(e=this.checked,t=this.indeterminate,t?"gux-mixed":e?"gux-checked":"gux-unchecked")},(0,n.h)("slot",null)))}},{key:"root",get:function(){return(0,n.g)(this)}}]),e}();o.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:#33383d}.gux-light-theme gux-checkbox-legacy{color:#33383d}gux-checkbox-legacy.gux-light-theme{color:#33383d}gux-checkbox-legacy{color:#33383d}"},8125:function(e,t,s){s.d(t,{t:function(){return a}});var c=s(885),l={name:"@genesys/common-webcomponents",version:"2.55.3",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",dev:'npx concurrently "npm run stencil.dev" "npm run docs.dev"',"dev.public":'npx concurrently "npm run stencil.dev" "npm run docs.dev.public"',docs:"cd ./docs && npm run build","docs.dev":"cd ./docs && npm run start","docs.dev.public":"cd ./docs && npm run start -- --host 0.0.0.0",format:'prettier "./**/*.{ts,tsx,js,jsx,json,css,html,less}"',"format.check":"npm run format -- --check","format.fix":"npm run format -- --write","generate-start-of-week-file":"./scripts/generate-start-of-week-file.js","generate-versions-file":"./scripts/generate-versions-file.mjs",i18n:"npm run generate-start-of-week-file && ./scripts/build-i18n.js",lint:"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg","lint.commit":"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae","lint.css":"npx stylelint '**/*.{css,html,less}' --fix","lint.fix":"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix","lint.svg":"svgo -f ./src/components/stable/gux-icon/icons","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.js","list-shadow-explicitly-set":"./scripts/list-shadow-explicitly-set.js","list-i18n-files":"./scripts/list-i18n-files.js",predev:"npm run i18n","predev.public":"npm run predev",prepare:"./scripts/prepare-docs.sh && npm run i18n && husky install",release:"standard-version",stencil:"stencil build --prod","stencil.dev":"stencil build --dev --watch --docs",test:"stencil test --spec --e2e","test.ci":"npm run test.ci.spec && npm run test.ci.e2e","test.ci.spec":"stencil test --spec","test.ci.e2e":"stencil test --e2e --max-workers=1","test.e2e":"stencil test --e2e","test.e2e.update-snapshot":"stencil test --e2e --updateSnapshot","test.screenshot":"stencil test --e2e --screenshot","test.unit":"stencil build dev && stencil test --spec","test.unit.update-snapshot":"stencil test --spec --updateSnapshot","test.update-snapshot":"stencil test --spec --e2e --updateSnapshot","test.watch":"stencil test --spec --e2e --watchAll"},dependencies:{"@popperjs/core":"^2.10.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.14.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@commitlint/cli":"^13.2.1","@commitlint/config-conventional":"^13.2.0","@rollup/plugin-replace":"^3.0.0","@stencil/core":"^2.9.0","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.24","@types/jsdom":"^16.2.13","@types/new-relic-browser":"^0.1118.2","@types/puppeteer":"^5.4.4","@types/resize-observer-browser":"^0.1.6","@types/sortablejs":"^1.10.7","axe-live":"^0.1.0","babel-loader":"^8.2.3",commitizen:"^4.2.4",concurrently:"^6.3.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.2.0",handlebars:"^4.7.7",husky:"^7.0.4",inquirer:"^8.2.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^13.0.0",jsdom:"^18.0.0","lint-staged":"^11.2.3",marked:"^3.0.7","mutation-observer":"^1.0.3","node-fetch":"^3.2.1",prettier:"^2.4.1",puppeteer:"^10.4.0",rollup:"^2.58.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","semver-sort":"^1.0.0","standard-version":"^9.3.2",stylelint:"^13.13.1","stylelint-config-prettier":"^9.0.3","stylelint-config-recess-order":"^2.5.0","stylelint-config-standard":"^22.0.0",svgo:"^2.7.0","ts-loader":"^9.2.6",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.10",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},n="spark-library",i=!1;function a(e,t){var s=window.newrelic;s&&(i||(!function(){var e=window.newrelic;if(!e)return;var t=l.version.split("."),s=(0,c.Z)(t,3),i=s[0],a=s[1],o=s[2];e.addPageAction(n,{fullVersion:"".concat(i,".").concat(a,".").concat(o),majorVersion:i,minorVersion:"".concat(i,".").concat(a)})}(),i=!0),s.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:l.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=4618.2b652181.chunk.js.map
|
|
@@ -0,0 +1 @@
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,OAAQ,SACR,yBAA0B,UAC1BC,WAAY,UACZC,UAAW,SACXC,OAAQ,UA0DRC,WAxDkB,CAClBrD,KAAM,MACNsD,IAAK,uDAuDLC,OArDc,CACdpB,WAAY,CACXqB,KAAM,6CAoDPC,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHX,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDW,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAASrE,EAAesE,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BvD,EAAYE,QAAQuD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcV,EAAmB,CACxCW,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAb,GAAqB,GAEvBG,EAASM,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIb,GAAW,CAAEc,UAAWf,EAAQgB,QAAQC,cAAepE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-checkbox-legacy.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxCheckboxCss = \"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:#33383d}.gux-light-theme gux-checkbox-legacy{color:#33383d}gux-checkbox-legacy.gux-light-theme{color:#33383d}gux-checkbox-legacy{color:#33383d}\";\n\nlet nextCheckboxId = 1;\nconst classForCheckedState = (checked, indeterminate) => {\n if (indeterminate) {\n return 'gux-mixed';\n }\n return checked ? 'gux-checked' : 'gux-unchecked';\n};\nlet GuxCheckboxLegacy = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.check = createEvent(this, \"check\", 7);\n }\n componentWillLoad() {\n trackComponent(this.root);\n this.id = nextCheckboxId++;\n }\n setChecked(checked) {\n this.checked = this.indeterminate ? true : checked;\n this.indeterminate = false;\n this.check.emit(checked);\n }\n render() {\n return (h(\"div\", { class: \"gux-checkbox-container\" }, h(\"input\", { id: `gux-checkbox-${this.id}`, type: \"checkbox\", checked: this.checked, disabled: this.disabled, onChange: e => this.setChecked(e.target.checked) }), h(\"label\", { htmlFor: `gux-checkbox-${this.id}`, class: classForCheckedState(this.checked, this.indeterminate) }, h(\"slot\", null))));\n }\n get root() { return getElement(this); }\n};\nGuxCheckboxLegacy.style = guxCheckboxCss;\n\nexport { GuxCheckboxLegacy as gux_checkbox_legacy };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\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\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"],"names":["nextCheckboxId","GuxCheckboxLegacy","hostRef","registerInstance","this","check","createEvent","trackComponent","root","id","checked","indeterminate","emit","h","class","type","disabled","onChange","e","setChecked","target","htmlFor","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[4774],{4774:function(e,t,n){n.r(t),n.d(t,{gux_form_field:function(){return v},gux_input_checkbox:function(){return y},gux_input_color:function(){return k},gux_input_number:function(){return I},gux_input_radio:function(){return C},gux_input_range:function(){return z},gux_input_select:function(){return O},gux_input_textarea:function(){return j}});var i=n(4165),r=n(5861),o=n(5671),a=n(3144),u=n(4723),s=n(4351),l=n(1782),c=n(2183),p=n(5618),d=n(997),g=n(8125),h=n(8782),x=n(5569),b=n(6863),f=n(6338),m=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},v=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t),this.errorId=(0,l.r)("gux-form-field-error"),this.labelId=(0,l.r)("gux-form-field-label"),this.defaultInputId=(0,l.r)("gux-form-field"),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}return(0,a.Z)(e,[{key:"onMutation",value:function(){this.hasError=Boolean(this.root.querySelector('[slot="error"]'))}},{key:"componentWillLoad",value:function(){var e=this;this.input=this.root.querySelector('input[slot="input"], select[slot="input"], textarea[slot="input"]'),this.label=this.root.querySelector('label[slot="label"]'),this.slottedElementType=this.input.tagName.toLowerCase(),this.required=this.input.required,this.requiredObserver=(0,p.a)(this.input,(function(t){e.required=t})),(0,d.p)(this.input);var t=this.labelPosition?this.labelPosition.toLowerCase():"none";if("input"===this.slottedElementType){var n=this.input.getAttribute("type");(0,g.t)(this.root,{variant:"".concat(this.slottedElementType,"-").concat(n,"-").concat(t)})}else(0,g.t)(this.root,{variant:"".concat(this.slottedElementType,"-").concat(t)})}},{key:"componentWillRender",value:function(){this.computedLabelPosition=this.getComputedLabelPosition(this.label,this.labelPosition),this.validateFormIds()}},{key:"disconnectedCallback",value:function(){this.requiredObserver.disconnect()}},{key:"renderInputCheckbox",value:function(e){return(0,u.h)("div",null,(0,u.h)("gux-input-checkbox",{class:{"gux-input-error":e}},(0,u.h)("slot",{name:"input"}),(0,u.h)("slot",{name:"label"})),this.renderError(e))}},{key:"renderInputRadio",value:function(){return(0,u.h)("gux-input-radio",null,(0,u.h)("slot",{name:"input"}),(0,u.h)("slot",{name:"label"}))}},{key:"renderInputColor",value:function(e){return(0,u.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),(0,u.h)("div",{class:"gux-input-and-error-container"},(0,u.h)("gux-input-color",{"gux-label-describedby":this.labelId,"gux-error-describedby":this.errorId,"gux-required":this.required,class:{"gux-input-error":e}},(0,u.h)("slot",{name:"input"})),this.renderError(e)))}},{key:"renderInputRange",value:function(e,t){return(0,u.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),(0,u.h)("gux-input-range",{"display-units":e,"value-in-tooltip":t},(0,u.h)("slot",{name:"input"})))}},{key:"renderInputNumber",value:function(e,t){return(0,u.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),(0,u.h)("div",{class:"gux-input-and-error-container"},(0,u.h)("gux-input-number",{class:{"gux-input-error":t},slot:"input",clearable:e},(0,u.h)("slot",{name:"input"})),this.renderError(t)))}},{key:"renderInputSelect",value:function(e){return(0,u.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),(0,u.h)("div",{class:"gux-input-and-error-container"},(0,u.h)("gux-input-select",{slot:"input",class:{"gux-input-error":e}},(0,u.h)("slot",{name:"input"})),this.renderError(e)))}},{key:"renderInputTextLike",value:function(e,t){return(0,u.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),(0,u.h)("div",{class:"gux-input-and-error-container"},(0,u.h)("gux-input-text-like",{class:{"gux-input-error":t},slot:"input",clearable:e},(0,u.h)("slot",{name:"input"})),this.renderError(t)))}},{key:"renderInputSearch",value:function(e){return(0,u.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),(0,u.h)("div",{class:"gux-input-and-error-container"},(0,u.h)("gux-input-search",null,(0,u.h)("slot",{name:"input"})),this.renderError(e)))}},{key:"renderInputTextArea",value:function(e){return(0,u.h)("div",{class:"gux-label-and-input-and-error-container gux-".concat(this.computedLabelPosition)},this.renderLabel(this.required),(0,u.h)("div",{class:"gux-input-and-error-container"},(0,u.h)("gux-input-textarea",{class:{"gux-input-error":e},slot:"input",resize:this.resize},(0,u.h)("slot",{name:"input"})),this.renderError(e)))}},{key:"render",value:function(){var e=this.input.getAttribute("type");switch(this.slottedElementType){case"input":switch(e){case"checkbox":return this.renderInputCheckbox(this.hasError);case"radio":return this.renderInputRadio();case"color":return this.renderInputColor(this.hasError);case"range":return this.renderInputRange(this.displayUnits,this.valueInTooltip);case"email":case"password":case"text":return this.renderInputTextLike(this.clearable,this.hasError);case"number":return this.renderInputNumber(this.clearable,this.hasError);case"search":return this.renderInputSearch(this.hasError);default:return(0,u.h)("div",null,(0,u.h)("slot",{name:"label"}),(0,u.h)("slot",{name:"input"}),(0,u.h)("slot",{name:"error"}))}case"select":return this.renderInputSelect(this.hasError);case"textarea":return this.renderInputTextArea(this.hasError);default:return(0,u.h)("div",null,(0,u.h)("slot",{name:"label"}),(0,u.h)("slot",{name:"input"}),(0,u.h)("slot",{name:"error"}))}}},{key:"validateFormIds",value:function(){if(this.label){if("color"===this.input.getAttribute("type"))return this.label.getAttribute("id")&&(this.labelId=this.label.getAttribute("id")),void this.label.setAttribute("id",this.labelId);var e=!!this.input.hasAttribute("id"),t=!!this.label.hasAttribute("for");if(!e&&t)(0,c.l)("gux-form-field",'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(e)if(e&&!t){var n=this.input.getAttribute("id");this.label.setAttribute("for",n)}else e&&t&&this.input.getAttribute("id")!==this.label.getAttribute("for")&&(0,c.l)("gux-form-field","The input id and label for attribute should match.");else this.input.setAttribute("id",this.defaultInputId),this.label.setAttribute("for",this.defaultInputId)}else(0,c.l)("gux-form-field",'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');this.hasErrorSlot()?this.input.setAttribute("aria-describedby",this.errorId):this.input.getAttribute("aria-describedby")&&this.input.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&this.input.removeAttribute("aria-describedby")}},{key:"getComputedLabelPosition",value:function(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}},{key:"hasErrorSlot",value:function(){return!!this.root.querySelector('[slot="error"]')}},{key:"renderLabel",value:function(e){return(0,u.h)("div",{class:{"gux-label-container":!0,"gux-required":e}},(0,u.h)("slot",{name:"label",slot:"label"}))}},{key:"renderError",value:function(e){return(0,u.h)("div",{id:this.errorId,class:{"gux-error":!0,"gux-show":e}},(0,u.h)("gux-error-message-beta",null,(0,u.h)("slot",{name:"error"})))}},{key:"root",get:function(){return(0,u.g)(this)}}]),e}();m([(0,s.O)({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style="gux-form-field{display:block;color:#33383d}gux-form-field .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field .gux-label-and-input-and-error-container input,gux-form-field .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field .gux-error{display:none;margin:4px 0}gux-form-field .gux-error.gux-show{display:block}";var y=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t)}return(0,a.Z)(e,[{key:"render",value:function(){return(0,u.h)("div",{class:"gux-input-checkbox-container"},(0,u.h)("slot",{name:"input"}),(0,u.h)("slot",{name:"label"}))}}]),e}();y.style="gux-input-checkbox{display:block;color:#33383d}gux-input-checkbox .gux-input-checkbox-container{position:relative;padding-left:24px;line-height:24px}gux-input-checkbox input{position:absolute;z-index:-1;opacity:0}gux-input-checkbox label{display:inline-block;font-size:12px}gux-input-checkbox label:hover{cursor:pointer}gux-input-checkbox label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:15%}gux-input-checkbox input:focus-within~label::after{box-shadow:0 0 3px 2px #aac9ff}gux-input-checkbox input:not(:checked)~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%2377828f' /%3E%3C/svg%3E\")}gux-input-checkbox.gux-input-error input:not(:checked)~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%23ea0b0b' /%3E%3C/svg%3E\")}gux-input-checkbox input:not(:checked):not(:disabled):not(:indeterminate)~label:hover::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%232a60c8' /%3E%3C/svg%3E\")}gux-input-checkbox input:checked~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 1.467h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM6.8 11 3.638 7.941l.89-.932L6.8 9.2l3.947-3.861.891.932z' fill='%232a60c8' /%3E%3C/svg%3E\")}gux-input-checkbox input:indeterminate~label::after{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.138 8.467h7v-1h-7zm7-7h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zm2 10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z' fill='%232a60c8' /%3E%3C/svg%3E\")}gux-input-checkbox input:disabled~label::after,gux-input-checkbox input:disabled~label{cursor:not-allowed;opacity:0.5}";var w={required:"Required"},k=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t),this.requiredId=(0,l.r)("gux-input-color-required")}return(0,a.Z)(e,[{key:"onClick",value:function(e){var t=e.target;this.root.contains(t)||this.setOpened(!1)}},{key:"onInput",value:function(e){var t=e.target;this.color=t.value}},{key:"componentWillLoad",value:function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){var t=this;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.b)(this.root,w);case 2:this.i18n=e.sent,this.input=this.root.querySelector('input[slot="input"]'),this.input.addEventListener("change",(function(e){t.opened&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())})),this.disabledObserver=(0,p.o)(this.input,(function(e){t.disabled=e})),this.disabled=this.input.disabled,this.color=this.input.value;case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect()}},{key:"render",value:function(){return(0,u.h)("section",null,(0,u.h)("span",{class:"gux-hidden",id:this.requiredId},this.i18n("required")),(0,u.h)("button",{"aria-describedby":"".concat(this.guxLabelDescribedby," ").concat(this.guxRequired?this.requiredId:""," ").concat(this.guxErrorDescribedby),"aria-expanded":this.opened?"true":"false",type:"button",class:{"gux-input-color-main-element":!0,"gux-opened":this.opened},disabled:this.disabled,onClick:this.clickHandler.bind(this)},(0,u.h)("div",{class:"gux-input-color-selected-color",style:{background:this.color}}),(0,u.h)("div",{class:"gux-input-color-color-name"},this.color),(0,u.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})),(0,u.h)("gux-color-select",{class:{"gux-input-color-color-select":!0,"gux-opened":this.opened}},(0,u.h)("slot",{name:"input",slot:"input"})))}},{key:"setOpened",value:function(e){this.colorOnOpen&&this.colorOnOpen!==this.color&&(this.colorOnOpen=this.color,this.input.dispatchEvent(new Event("change",{bubbles:!0}))),this.colorOnOpen=this.color,this.opened=e}},{key:"clickHandler",value:function(){this.disabled||this.setOpened(!this.opened)}},{key:"root",get:function(){return(0,u.g)(this)}}]),e}();k.style="gux-input-color{color:#33383d}gux-input-color>section{position:relative;display:inline-block;width:160px}gux-input-color>gux-input-color-option{display:none}gux-input-color .gux-input-color-main-element{box-sizing:border-box;width:100%;padding:0;margin:0;cursor:pointer;user-select:none;background-color:#f8f8f8;border:1px solid #aeb9c6;border-radius:4px;outline:none;box-shadow:0 0 0 0 transparent;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);transition:box-shadow 0.2s}gux-input-color .gux-input-color-main-element:focus,gux-input-color .gux-input-color-main-element.gux-opened{border-color:#2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-color .gux-input-color-main-element:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-input-color .gux-input-color-main-element:hover gux-icon,gux-input-color .gux-input-color-main-element:focus gux-icon{color:#33383d}gux-input-color .gux-input-color-selected-color{float:left;padding:8px;margin:8px 12px}gux-input-color .gux-input-color-color-name{float:left;margin:9px 0;font-size:12px}gux-input-color .gux-input-color-color-select{position:absolute;top:100%;left:0;z-index:1;display:none;width:100%}gux-input-color .gux-input-color-color-select.gux-opened{display:inherit}gux-input-color gux-icon{position:absolute;top:0;right:0;display:flex;align-items:center;width:16px;height:100%;padding:0 7px;overflow:hidden;color:#666f7b;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-input-color .gux-hidden{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";var E={clear:"Clear",increment:"Increment",decrement:"Decrement"},I=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t),this.hasContent=!1}return(0,a.Z)(e,[{key:"clearInput",value:function(){(0,x.s)(this.input,"",!0)}},{key:"setHasContent",value:function(){this.hasContent=Boolean(this.input.value)}},{key:"simulateNativeInputAndChangeEvents",value:function(){(0,b.s)(this.input,"input"),(0,b.s)(this.input,"change")}},{key:"stepUp",value:function(){""===this.input.value?(0,x.s)(this.input,this.input.min||"0",!1):(this.input.stepUp(),this.simulateNativeInputAndChangeEvents())}},{key:"stepDown",value:function(){""===this.input.value?(0,x.s)(this.input,this.input.min||"0",!1):(this.input.stepDown(),this.simulateNativeInputAndChangeEvents())}},{key:"renderClearButton",value:function(){return this.clearable&&this.hasContent&&!this.disabled?(0,u.h)("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.getI18nValue("clear"),disabled:this.disabled,onClick:this.clearInput.bind(this)},(0,u.h)("gux-icon",{"icon-name":"close",decorative:!0})):null}},{key:"renderStepButtons",value:function(){var e=this;return(0,u.h)("div",{class:"gux-step-buttons-container"},(0,u.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("increment"),disabled:this.disabled,onClick:function(){return e.stepUp()}},(0,u.h)("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),(0,u.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:this.getI18nValue("decrement"),disabled:this.disabled,onClick:function(){return e.stepDown()}},(0,u.h)("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}},{key:"componentWillLoad",value:function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){var t=this;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.b)(this.root,E);case 2:this.getI18nValue=e.sent,this.input=this.root.querySelector('input[slot="input"]'),this.setHasContent(),this.disabled=this.input.disabled,this.input.addEventListener("input",(function(){t.setHasContent()})),this.disabledObserver=(0,p.o)(this.input,(function(e){t.disabled=e}));case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect()}},{key:"render",value:function(){return(0,u.h)("div",{class:{"gux-input-number-container":!0,"gux-disabled":this.disabled}},(0,u.h)("div",{class:"gux-input-container"},(0,u.h)("slot",{name:"input"}),this.renderClearButton()),this.renderStepButtons())}},{key:"root",get:function(){return(0,u.g)(this)}}]),e}();I.style="gux-input-number{position:relative;display:block}gux-input-number .gux-input-number-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}gux-input-number .gux-input-number-container.gux-disabled{opacity:0.5}gux-input-number .gux-input-number-container .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}gux-input-number .gux-input-number-container .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#33383d;text-align:right;background-color:#f8f8f8;border:none;outline:none;}gux-input-number .gux-input-number-container .gux-input-container input::placeholder{color:#666f7b;opacity:1}gux-input-number .gux-input-number-container .gux-input-container input::-webkit-outer-spin-button,gux-input-number .gux-input-number-container .gux-input-container input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}gux-input-number .gux-input-number-container .gux-input-container input[type='number']{-moz-appearance:textfield}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px}gux-input-number .gux-input-number-container .gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}gux-input-number .gux-input-number-container:focus-within .gux-input-container{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}";var C=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t)}return(0,a.Z)(e,[{key:"render",value:function(){return(0,u.h)("div",{class:"gux-input-radio-container"},(0,u.h)("slot",{name:"input"}),(0,u.h)("slot",{name:"label"}))}}]),e}();C.style="gux-input-radio{display:block;color:#33383d}gux-input-radio .gux-input-radio-container{position:relative;padding-left:24px;line-height:24px}gux-input-radio input{position:absolute;z-index:-1;opacity:0}gux-input-radio label{display:inline-block;font-size:12px}gux-input-radio label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:50%}gux-input-radio input:focus-within~label::after{box-shadow:0 0 2px 1px #aac9ff, inset 0 0 2px 1px #aac9ff}gux-input-radio input:not(:checked)~label::after{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\")}gux-input-radio input:not(:checked):not(:disabled)~label:hover::after{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\")}gux-input-radio input:checked~label::after{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\")}gux-input-radio input:disabled~label::after,gux-input-radio input:disabled~label{cursor:not-allowed;opacity:0.5}";var z=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t),this.valueInTooltip=!1}return(0,a.Z)(e,[{key:"onInput",value:function(e){var t=e.target;this.updateValue(t.value)}},{key:"onMousedown",value:function(){this.disabled||(this.active=!0)}},{key:"onMouseup",value:function(){this.active=!1}},{key:"updateValue",value:function(e){this.value=e,this.updatePosition()}},{key:"updatePosition",value:function(){var e=Number(this.input.value||0),t=Number(this.input.min||0),n=(e-t)/(Number(this.input.max||100)-t)*100;if(this.sliderTooltip){var i=this.sliderTooltipContainer.offsetWidth,r=Math.round(1e3*(n/100-n/8/i))/10;this.sliderTooltip.style.left="".concat(r,"%")}this.progressElement.style.width="".concat(n,"%")}},{key:"getDisplayValue",value:function(){return this.displayUnits?"".concat(this.value).concat(this.displayUnits):this.value}},{key:"componentWillLoad",value:function(){var e=this;this.input=this.root.querySelector('input[slot="input"]'),this.disabled=this.input.disabled,this.value=this.input.value,this.disabledObserver=(0,p.o)(this.input,(function(t){e.disabled=t})),this.valueWatcherId=(0,f.s)((function(){e.value!==e.input.value&&e.updateValue(e.input.value)}),100)}},{key:"componentDidLoad",value:function(){this.updatePosition()}},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect(),(0,f.c)(this.valueWatcherId)}},{key:"render",value:function(){var e=this;return(0,u.h)("div",{class:{"gux-container":!0,"gux-disabled":this.disabled}},(0,u.h)("div",{class:{"gux-range":!0,"gux-active":this.active}},(0,u.h)("div",{class:"gux-track"},(0,u.h)("div",{class:"gux-progress",ref:function(t){return e.progressElement=t}})),(0,u.h)("slot",{name:"input"}),(0,u.h)("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:function(t){return e.sliderTooltipContainer=t}},(0,u.h)("div",{class:"gux-range-tooltip",ref:function(t){return e.sliderTooltip=t}},this.getDisplayValue()))),(0,u.h)("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}},{key:"root",get:function(){return(0,u.g)(this)}}]),e}();z.style="gux-input-range .gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}gux-input-range .gux-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-range .gux-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}gux-input-range .gux-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8}gux-input-range .gux-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']{position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}gux-input-range .gux-container .gux-range input[type='range']:focus{outline:none}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;-webkit-appearance:none;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-webkit-slider-runnable-track{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8;color:transparent;background:transparent;border-color:transparent;border-width:12px 0}gux-input-range .gux-container .gux-range input[type='range']::-ms-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-lower{background:rgba(0, 0, 0, 0)}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-upper{background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-ms-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-lower{background:transparent}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-upper{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-webkit-slider-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-moz-range-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-ms-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}gux-input-range .gux-container .gux-display.gux-hidden{display:none}gux-input-range .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;visibility:hidden}gux-input-range .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after,gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#aeb9c6}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden){visibility:visible}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip{visibility:visible}";var O=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t)}return(0,a.Z)(e,[{key:"componentWillLoad",value:function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){var t=this;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.input=this.root.querySelector('select[slot="input"]'),this.disabled=this.input.disabled,this.disabledObserver=(0,p.o)(this.input,(function(e){t.disabled=e}));case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect()}},{key:"render",value:function(){return(0,u.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},(0,u.h)("slot",{name:"input"}),(0,u.h)("gux-icon",{decorative:!0,iconName:"ic-dropdown-arrow"}))}},{key:"root",get:function(){return(0,u.g)(this)}}]),e}();O.style="gux-input-select{position:relative;display:block}gux-input-select .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px}gux-input-select .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-select .gux-input-container:hover gux-icon{color:#2a60c8}gux-input-select .gux-input-container select{flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#33383d;background-color:#f8f8f8;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}gux-input-select .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}gux-input-select .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}";var j=function(){function e(t){(0,o.Z)(this,e),(0,u.r)(this,t),this.resize="none"}return(0,a.Z)(e,[{key:"componentWillLoad",value:function(){var e=this;this.input=this.root.querySelector('textarea[slot="input"]'),this.input.addEventListener("input",(function(){e.updateHeight()}))}},{key:"componentDidLoad",value:function(){this.updateHeight()}},{key:"updateHeight",value:function(){"auto"===this.resize&&(this.containerElement.dataset.replicatedValue=this.input.value,this.containerElement.style.maxHeight=this.input.style.maxHeight)}},{key:"render",value:function(){var e=this;return(0,u.h)("div",{ref:function(t){return e.containerElement=t},class:"gux-resize-".concat(this.resize)},(0,u.h)("slot",{name:"input"}))}},{key:"root",get:function(){return(0,u.g)(this)}}]),e}();j.style="gux-input-textarea{position:relative;display:block}gux-input-textarea .gux-resize-none textarea{resize:none}gux-input-textarea .gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}gux-input-textarea .gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #77828f}gux-input-textarea .gux-resize-auto textarea{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}gux-input-textarea textarea{flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;color:#33383d;background-color:#f8f8f8;background-image:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #77828f}gux-input-textarea textarea::placeholder{color:#666f7b;opacity:1}gux-input-textarea textarea:focus-within{border-color:#2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-textarea textarea[disabled]{opacity:0.5}"},6338:function(e,t,n){n.d(t,{c:function(){return A},s:function(){return T}});var i=n(4942);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a=n(2982),u="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{};for(var s,l,c,p=(s=function(e){(function(){var t,n,i,r,o,a;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},n=process.hrtime,r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),a=1e9*process.uptime(),o=r-a):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(u)},s(c={path:l,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},c.exports),c.exports),d="undefined"===typeof window?u:window,g=["moz","webkit"],h="AnimationFrame",x=d["request"+h],b=d["cancel"+h]||d["cancelRequest"+h],f=0;!x&&f<g.length;f++)x=d[g[f]+"Request"+h],b=d[g[f]+"Cancel"+h]||d[g[f]+"CancelRequest"+h];if(!x||!b){var m=0,v=0,y=[];x=function(e){if(0===y.length){var t=p(),n=Math.max(0,16.666666666666668-(t-m));m=n+t,setTimeout((function(){var e=y.slice(0);y.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(m)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return y.push({handle:++v,callback:e,cancelled:!1}),v},b=function(e){for(var t=0;t<y.length;t++)y[t].handle===e&&(y[t].cancelled=!0)}}var w,k=function(e){return x.call(d,e)};k.cancel=function(){b.apply(d,arguments)},k.polyfill=function(e){e||(e=d),e.requestAnimationFrame=x,e.cancelAnimationFrame=b},function(e){e[e.MODE_TIMEOUT=0]="MODE_TIMEOUT",e[e.MODE_INTERVAL=1]="MODE_INTERVAL"}(w||(w={}));var E=new Map,I=new Set,C=!1,z=0;function O(){return(new Date).getTime()}function j(e){var t=e.fn,n=e.args;t.apply(void 0,(0,a.Z)(n))}function q(){if(0!==E.size){var e=O();E.forEach(function(e){return function(t,n){var i=t.nextTick,r=t.ms,a=t.mode;e-i>=0&&(I.add(t),a===w.MODE_TIMEOUT?E.delete(n):E.set(n,o(o({},t),{},{nextTick:i+r})))}}(e)),0!==I.size&&(I.forEach(j),I.clear()),0!==E.size?k(q):C=!1}else C=!1}function L(e){var t=e.fn,n=e.ms,i=e.args,r=e.mode;if(!t)return null;var o=z;return E.set(o,{fn:t,ms:n,nextTick:O()+n,args:i,mode:r}),C||(C=!0,k(q)),z+=1,o}var T=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return L({fn:e,ms:t,args:i,mode:w.MODE_INTERVAL})},A=function(e){null!=e&&E.has(e)&&E.delete(e)}},2183:function(e,t,n){function i(e,t){setTimeout((function(){throw new Error("[".concat(e,"] ").concat(t))}),0)}function r(e,t){setTimeout((function(){console.warn("[".concat(e,"] ").concat(t))}),0)}n.d(t,{a:function(){return r},l:function(){return i}})},5618:function(e,t,n){function i(e,t){var n=new MutationObserver((function(n){n.forEach((function(){t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function o(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,{a:function(){return o},b:function(){return i},o:function(){return r}})},4351:function(e,t,n){n.d(t,{O:function(){return r}});var i=n(4723);function r(e){return function(t,n){var r,o=t.connectedCallback,a=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),a=this[n];return(r=new MutationObserver(a.bind(this))).observe(t,e),o&&o.call(this)},t.disconnectedCallback=function(){return r.disconnect(),a&&a.call(this)}}}},997:function(e,t,n){function i(e){e.addEventListener("invalid",(function(e){e.preventDefault()}))}n.d(t,{p:function(){return i}})},1782:function(e,t,n){function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gux";return"".concat(e,"-").concat(Math.random().toString(36).substr(2,10))}n.d(t,{r:function(){return i}})},5569:function(e,t,n){n.d(t,{s:function(){return r}});var i=n(6863);function r(e,t,n){e.value=t,(0,i.s)(e,"input"),(0,i.s)(e,"change"),n&&e.focus()}},6863:function(e,t,n){function i(e,t){switch(t){case"change":return e.dispatchEvent(new InputEvent("change",{bubbles:!0}));case"input":return e.dispatchEvent(new InputEvent("input",{bubbles:!0}))}}n.d(t,{s:function(){return i}})},8125:function(e,t,n){n.d(t,{t:function(){return u}});var i=n(885),r={name:"@genesys/common-webcomponents",version:"2.55.3",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",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",a=!1;function u(e,t){var n=window.newrelic;n&&(a||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),a=n[0],u=n[1],s=n[2];e.addPageAction(o,{fullVersion:"".concat(a,".").concat(u,".").concat(s),majorVersion:a,minorVersion:"".concat(a,".").concat(u)})}(),a=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=4774.03877b96.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/4774.03877b96.chunk.js","mappings":"okBAcIA,EAAoD,SAAUC,EAAYC,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X1G,KAAM,6CAoDP+H,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHV,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDU,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAASvS,EAAe+C,EAASyP,GAC/B,IAAMC,EAAW3J,OAAO2J,SACnBA,IAMAF,KASP,WACE,IAAME,EAAW3J,OAAO2J,SACxB,IAAKA,EACH,OAEF,MAA8BnD,EAAYC,QAAQmD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAJ,EAASK,cAAcR,EAAmB,CACxCS,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAX,GAAqB,GAEvBE,EAASK,cAlBiB,kBAkBkB9U,OAAOmV,OAAOnV,OAAOmV,OAAO,GAAIX,GAAW,CAAEnF,UAAWtK,EAAQxD,QAAQC,cAAe+P,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field_8.entry.js","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","../node_modules/@genesys/common-webcomponents/dist/esm/index-488e2fcc.js","../node_modules/@genesys/common-webcomponents/dist/esm/log-error-3d08c2b1.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-attribute-change-2b01c315.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-mutation-678b39ea.js","../node_modules/@genesys/common-webcomponents/dist/esm/prevent-browser-validation-styling-d16c3f4c.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.js","../node_modules/@genesys/common-webcomponents/dist/esm/set-input-value-5adeaccc.js","../node_modules/@genesys/common-webcomponents/dist/esm/simulate-native-event-ac69961f.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\nimport { a as onRequiredChange, o as onDisabledChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\nimport { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\nimport { s as setInterval, c as clearInterval } from './index-488e2fcc.js';\n\nconst guxFormFieldCss = \"gux-form-field{display:block;color:#33383d}gux-form-field .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field .gux-label-and-input-and-error-container input,gux-form-field .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field .gux-error{display:none;margin:4px 0}gux-form-field .gux-error.gux-show{display:block}\";\n\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if (d = decorators[i])\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet GuxFormField = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.errorId = randomHTMLId('gux-form-field-error');\n this.labelId = randomHTMLId('gux-form-field-label');\n this.defaultInputId = randomHTMLId('gux-form-field');\n this.computedLabelPosition = 'above';\n this.required = true;\n this.hasError = false;\n }\n onMutation() {\n this.hasError = Boolean(this.root.querySelector('[slot=\"error\"]'));\n }\n componentWillLoad() {\n this.input = this.root.querySelector('input[slot=\"input\"], select[slot=\"input\"], textarea[slot=\"input\"]');\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.slottedElementType =\n this.input.tagName.toLowerCase();\n this.required = this.input.required;\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n preventBrowserValidationStyling(this.input);\n const labelPositionVariant = this.labelPosition\n ? this.labelPosition.toLowerCase()\n : 'none';\n if (this.slottedElementType === 'input') {\n const type = this.input.getAttribute('type');\n trackComponent(this.root, {\n variant: `${this.slottedElementType}-${type}-${labelPositionVariant}`\n });\n }\n else {\n trackComponent(this.root, {\n variant: `${this.slottedElementType}-${labelPositionVariant}`\n });\n }\n }\n componentWillRender() {\n this.computedLabelPosition = this.getComputedLabelPosition(this.label, this.labelPosition);\n this.validateFormIds();\n }\n disconnectedCallback() {\n this.requiredObserver.disconnect();\n }\n renderInputCheckbox(hasError) {\n return (h(\"div\", null, h(\"gux-input-checkbox\", { class: { 'gux-input-error': hasError } }, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })), this.renderError(hasError)));\n }\n renderInputRadio() {\n return (h(\"gux-input-radio\", null, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n }\n renderInputColor(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-color\", { \"gux-label-describedby\": this.labelId, \"gux-error-describedby\": this.errorId, \"gux-required\": this.required, class: {\n 'gux-input-error': hasError\n } }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputRange(displayUnits, valueInTooltip) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"gux-input-range\", { \"display-units\": displayUnits, \"value-in-tooltip\": valueInTooltip }, h(\"slot\", { name: \"input\" }))));\n }\n renderInputNumber(clearable, hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-number\", { class: {\n 'gux-input-error': hasError\n }, slot: \"input\", clearable: clearable }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputSelect(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-select\", { slot: \"input\", class: {\n 'gux-input-error': hasError\n } }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputTextLike(clearable, hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-text-like\", { class: {\n 'gux-input-error': hasError\n }, slot: \"input\", clearable: clearable }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputSearch(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-search\", null, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n renderInputTextArea(hasError) {\n return (h(\"div\", { class: `gux-label-and-input-and-error-container gux-${this.computedLabelPosition}` }, this.renderLabel(this.required), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"gux-input-textarea\", { class: {\n 'gux-input-error': hasError\n }, slot: \"input\", resize: this.resize }, h(\"slot\", { name: \"input\" })), this.renderError(hasError))));\n }\n render() {\n const type = this.input.getAttribute('type');\n switch (this.slottedElementType) {\n case 'input':\n switch (type) {\n case 'checkbox':\n return this.renderInputCheckbox(this.hasError);\n case 'radio':\n return this.renderInputRadio();\n case 'color':\n return this.renderInputColor(this.hasError);\n case 'range':\n return this.renderInputRange(this.displayUnits, this.valueInTooltip);\n case 'email':\n case 'password':\n case 'text':\n return this.renderInputTextLike(this.clearable, this.hasError);\n case 'number':\n return this.renderInputNumber(this.clearable, this.hasError);\n case 'search':\n return this.renderInputSearch(this.hasError);\n default:\n return (h(\"div\", null, h(\"slot\", { name: \"label\" }), h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"error\" })));\n }\n case 'select':\n return this.renderInputSelect(this.hasError);\n case 'textarea':\n return this.renderInputTextArea(this.hasError);\n default:\n return (h(\"div\", null, h(\"slot\", { name: \"label\" }), h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"error\" })));\n }\n }\n validateFormIds() {\n if (this.label) {\n if (this.input.getAttribute('type') === 'color') {\n if (this.label.getAttribute('id')) {\n this.labelId = this.label.getAttribute('id');\n }\n this.label.setAttribute('id', this.labelId);\n return;\n }\n const inputHasId = !!this.input.hasAttribute('id');\n const labelHasFor = !!this.label.hasAttribute('for');\n if (!inputHasId && labelHasFor) {\n logError('gux-form-field', 'A \"for\" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the \"for\" attribute from the label. If there is no input id and no \"for\" attribute provided, the component will automatically generate an id and link it to the \"for\" attribute.');\n }\n else if (!inputHasId) {\n this.input.setAttribute('id', this.defaultInputId);\n this.label.setAttribute('for', this.defaultInputId);\n }\n else if (inputHasId && !labelHasFor) {\n const forId = this.input.getAttribute('id');\n this.label.setAttribute('for', forId);\n }\n else if (inputHasId &&\n labelHasFor &&\n this.input.getAttribute('id') !== this.label.getAttribute('for')) {\n logError('gux-form-field', 'The input id and label for attribute should match.');\n }\n }\n else {\n logError('gux-form-field', 'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to \"screenreader\" to visually hide the label.');\n }\n if (this.hasErrorSlot()) {\n this.input.setAttribute('aria-describedby', this.errorId);\n }\n else if (this.input.getAttribute('aria-describedby') &&\n this.input\n .getAttribute('aria-describedby')\n .startsWith('gux-form-field-error')) {\n this.input.removeAttribute('aria-describedby');\n }\n }\n getComputedLabelPosition(label, labelPosition) {\n if (label) {\n if (['above', 'beside', 'screenreader'].includes(labelPosition)) {\n return labelPosition;\n }\n else if (label.offsetWidth > 1 && label.offsetWidth < 40) {\n return 'beside';\n }\n else {\n return 'above';\n }\n }\n }\n hasErrorSlot() {\n return !!this.root.querySelector('[slot=\"error\"]');\n }\n renderLabel(required) {\n return (h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })));\n }\n renderError(hasError) {\n return (h(\"div\", { id: this.errorId, class: {\n 'gux-error': true,\n 'gux-show': hasError\n } }, h(\"gux-error-message-beta\", null, h(\"slot\", { name: \"error\" }))));\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormField.prototype, \"onMutation\", null);\nGuxFormField.style = guxFormFieldCss;\n\nconst guxInputCheckboxCss = \"gux-input-checkbox{display:block;color:#33383d}gux-input-checkbox .gux-input-checkbox-container{position:relative;padding-left:24px;line-height:24px}gux-input-checkbox input{position:absolute;z-index:-1;opacity:0}gux-input-checkbox label{display:inline-block;font-size:12px}gux-input-checkbox label:hover{cursor:pointer}gux-input-checkbox label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:15%}gux-input-checkbox input:focus-within~label::after{box-shadow:0 0 3px 2px #aac9ff}gux-input-checkbox input:not(:checked)~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%2377828f' /%3E%3C/svg%3E\\\")}gux-input-checkbox.gux-input-error input:not(:checked)~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%23ea0b0b' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:not(:checked):not(:disabled):not(:indeterminate)~label:hover::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%232a60c8' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:checked~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 1.467h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM6.8 11 3.638 7.941l.89-.932L6.8 9.2l3.947-3.861.891.932z' fill='%232a60c8' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:indeterminate~label::after{background-image:url(\\\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.138 8.467h7v-1h-7zm7-7h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zm2 10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z' fill='%232a60c8' /%3E%3C/svg%3E\\\")}gux-input-checkbox input:disabled~label::after,gux-input-checkbox input:disabled~label{cursor:not-allowed;opacity:0.5}\";\n\nlet GuxInputCheckbox = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(\"div\", { class: \"gux-input-checkbox-container\" }, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n }\n};\nGuxInputCheckbox.style = guxInputCheckboxCss;\n\nconst required = \"Required\";\nconst colorInputResources = {\n\trequired: required\n};\n\nconst guxInputColorCss = \"gux-input-color{color:#33383d}gux-input-color>section{position:relative;display:inline-block;width:160px}gux-input-color>gux-input-color-option{display:none}gux-input-color .gux-input-color-main-element{box-sizing:border-box;width:100%;padding:0;margin:0;cursor:pointer;user-select:none;background-color:#f8f8f8;border:1px solid #aeb9c6;border-radius:4px;outline:none;box-shadow:0 0 0 0 transparent;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);transition:box-shadow 0.2s}gux-input-color .gux-input-color-main-element:focus,gux-input-color .gux-input-color-main-element.gux-opened{border-color:#2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-color .gux-input-color-main-element:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-input-color .gux-input-color-main-element:hover gux-icon,gux-input-color .gux-input-color-main-element:focus gux-icon{color:#33383d}gux-input-color .gux-input-color-selected-color{float:left;padding:8px;margin:8px 12px}gux-input-color .gux-input-color-color-name{float:left;margin:9px 0;font-size:12px}gux-input-color .gux-input-color-color-select{position:absolute;top:100%;left:0;z-index:1;display:none;width:100%}gux-input-color .gux-input-color-color-select.gux-opened{display:inherit}gux-input-color gux-icon{position:absolute;top:0;right:0;display:flex;align-items:center;width:16px;height:100%;padding:0 7px;overflow:hidden;color:#666f7b;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-input-color .gux-hidden{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}\";\n\nlet GuxInputColor = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.requiredId = randomHTMLId('gux-input-color-required');\n }\n onClick(e) {\n const element = e.target;\n if (!this.root.contains(element)) {\n this.setOpened(false);\n }\n }\n onInput(e) {\n const input = e.target;\n this.color = input.value;\n }\n async componentWillLoad() {\n this.i18n = await buildI18nForComponent(this.root, colorInputResources);\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.input.addEventListener('change', (e) => {\n if (this.opened) {\n e.stopImmediatePropagation();\n e.stopPropagation();\n e.preventDefault();\n }\n });\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.disabled = this.input.disabled;\n this.color = this.input.value;\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(\"section\", null, h(\"span\", { class: \"gux-hidden\", id: this.requiredId }, this.i18n('required')), h(\"button\", { \"aria-describedby\": `${this.guxLabelDescribedby} ${this.guxRequired ? this.requiredId : ''} ${this.guxErrorDescribedby}`, \"aria-expanded\": this.opened ? 'true' : 'false', type: \"button\", class: {\n 'gux-input-color-main-element': true,\n 'gux-opened': this.opened\n }, disabled: this.disabled, onClick: this.clickHandler.bind(this) }, h(\"div\", { class: \"gux-input-color-selected-color\", style: { background: this.color } }), h(\"div\", { class: \"gux-input-color-color-name\" }, this.color), h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })), h(\"gux-color-select\", { class: {\n 'gux-input-color-color-select': true,\n 'gux-opened': this.opened\n } }, h(\"slot\", { name: \"input\", slot: \"input\" }))));\n }\n setOpened(opened) {\n if (this.colorOnOpen && this.colorOnOpen !== this.color) {\n this.colorOnOpen = this.color;\n this.input.dispatchEvent(new Event('change', {\n bubbles: true\n }));\n }\n this.colorOnOpen = this.color;\n this.opened = opened;\n }\n clickHandler() {\n if (!this.disabled) {\n this.setOpened(!this.opened);\n }\n }\n get root() { return getElement(this); }\n};\nGuxInputColor.style = guxInputColorCss;\n\nconst clear = \"Clear\";\nconst increment = \"Increment\";\nconst decrement = \"Decrement\";\nconst componentResources = {\n\tclear: clear,\n\tincrement: increment,\n\tdecrement: decrement\n};\n\nconst guxInputNumberCss = \"gux-input-number{position:relative;display:block}gux-input-number .gux-input-number-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}gux-input-number .gux-input-number-container.gux-disabled{opacity:0.5}gux-input-number .gux-input-number-container .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}gux-input-number .gux-input-number-container .gux-input-container input{flex:1 1 auto;align-self:auto;order:0;color:#33383d;text-align:right;background-color:#f8f8f8;border:none;outline:none;}gux-input-number .gux-input-number-container .gux-input-container input::placeholder{color:#666f7b;opacity:1}gux-input-number .gux-input-number-container .gux-input-container input::-webkit-outer-spin-button,gux-input-number .gux-input-number-container .gux-input-container input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}gux-input-number .gux-input-number-container .gux-input-container input[type='number']{-moz-appearance:textfield}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-input-container .gux-clear-button gux-icon{width:12px;height:12px}gux-input-number .gux-input-number-container .gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):focus,gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}gux-input-number .gux-input-number-container .gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}gux-input-number .gux-input-number-container:focus-within .gux-input-container{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}\";\n\nlet GuxInputNumber = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.hasContent = false;\n }\n clearInput() {\n setInputValue(this.input, '', true);\n }\n setHasContent() {\n this.hasContent = Boolean(this.input.value);\n }\n simulateNativeInputAndChangeEvents() {\n simulateNativeEvent(this.input, 'input');\n simulateNativeEvent(this.input, 'change');\n }\n stepUp() {\n if (this.input.value === '') {\n setInputValue(this.input, this.input.min || '0', false);\n }\n else {\n this.input.stepUp();\n this.simulateNativeInputAndChangeEvents();\n }\n }\n stepDown() {\n if (this.input.value === '') {\n setInputValue(this.input, this.input.min || '0', false);\n }\n else {\n this.input.stepDown();\n this.simulateNativeInputAndChangeEvents();\n }\n }\n renderClearButton() {\n if (this.clearable && this.hasContent && !this.disabled) {\n return (h(\"button\", { class: \"gux-clear-button\", tabIndex: -1, type: \"button\", title: this.getI18nValue('clear'), disabled: this.disabled, onClick: this.clearInput.bind(this) }, h(\"gux-icon\", { \"icon-name\": \"close\", decorative: true })));\n }\n return null;\n }\n renderStepButtons() {\n return (h(\"div\", { class: \"gux-step-buttons-container\" }, h(\"button\", { class: \"gux-step-button\", tabIndex: -1, type: \"button\", title: this.getI18nValue('increment'), disabled: this.disabled, onClick: () => this.stepUp() }, h(\"gux-icon\", { \"icon-name\": \"chevron-small-up\", decorative: true })), h(\"button\", { class: \"gux-step-button\", tabIndex: -1, type: \"button\", title: this.getI18nValue('decrement'), disabled: this.disabled, onClick: () => this.stepDown() }, h(\"gux-icon\", { \"icon-name\": \"chevron-small-down\", decorative: true }))));\n }\n async componentWillLoad() {\n this.getI18nValue = await buildI18nForComponent(this.root, componentResources);\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.setHasContent();\n this.disabled = this.input.disabled;\n this.input.addEventListener('input', () => {\n this.setHasContent();\n });\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-input-number-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"div\", { class: \"gux-input-container\" }, h(\"slot\", { name: \"input\" }), this.renderClearButton()), this.renderStepButtons()));\n }\n get root() { return getElement(this); }\n};\nGuxInputNumber.style = guxInputNumberCss;\n\nconst guxInputRadioCss = \"gux-input-radio{display:block;color:#33383d}gux-input-radio .gux-input-radio-container{position:relative;padding-left:24px;line-height:24px}gux-input-radio input{position:absolute;z-index:-1;opacity:0}gux-input-radio label{display:inline-block;font-size:12px}gux-input-radio label::after{position:absolute;top:4px;left:4px;display:block;width:16px;height:16px;content:'';border-radius:50%}gux-input-radio input:focus-within~label::after{box-shadow:0 0 2px 1px #aac9ff, inset 0 0 2px 1px #aac9ff}gux-input-radio input:not(:checked)~label::after{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\\\")}gux-input-radio input:not(:checked):not(:disabled)~label:hover::after{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\\\")}gux-input-radio input:checked~label::after{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\\\")}gux-input-radio input:disabled~label::after,gux-input-radio input:disabled~label{cursor:not-allowed;opacity:0.5}\";\n\nlet GuxInputRadio = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(\"div\", { class: \"gux-input-radio-container\" }, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n }\n};\nGuxInputRadio.style = guxInputRadioCss;\n\nconst guxInputRangeCss = \"gux-input-range .gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}gux-input-range .gux-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-range .gux-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}gux-input-range .gux-container .gux-range .gux-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8}gux-input-range .gux-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']{position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}gux-input-range .gux-container .gux-range input[type='range']:focus{outline:none}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-runnable-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-webkit-slider-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;-webkit-appearance:none;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-webkit-slider-runnable-track{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8;background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-moz-range-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;margin-top:-5px;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-track{width:100%;height:2px;margin:6px 0;background-color:#9baab8;color:transparent;background:transparent;border-color:transparent;border-width:12px 0}gux-input-range .gux-container .gux-range input[type='range']::-ms-track .gux-progress{height:2px;background-color:#2a60c8}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-lower{background:rgba(0, 0, 0, 0)}gux-input-range .gux-container .gux-range input[type='range']::-ms-fill-upper{background:transparent}gux-input-range .gux-container .gux-range input[type='range']::-ms-thumb{display:block;width:12px;height:12px;cursor:pointer;border-radius:100%;background:#2a60c8;border:0 solid #2a60c8}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-lower{background:transparent}gux-input-range .gux-container .gux-range input[type='range']:focus::-ms-fill-upper{background:rgba(13, 13, 13, 0)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-webkit-slider-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-moz-range-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-range.gux-active input[type='range']::-ms-thumb{transform:scale(1.5)}gux-input-range .gux-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;text-align:right}gux-input-range .gux-container .gux-display.gux-hidden{display:none}gux-input-range .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;visibility:hidden}gux-input-range .gux-range-tooltip-container .gux-range-tooltip{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after,gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:' ';border:solid transparent}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:#fdfdfd}gux-input-range .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#aeb9c6}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden),gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden){visibility:visible}gux-input-range input[type='range']:hover~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:focus~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip,gux-input-range input[type='range']:active~.gux-range-tooltip-container:not(.gux-hidden) .gux-range-tooltip{visibility:visible}\";\n\nlet GuxInputRange = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.valueInTooltip = false;\n }\n onInput(e) {\n const input = e.target;\n this.updateValue(input.value);\n }\n onMousedown() {\n if (!this.disabled) {\n this.active = true;\n }\n }\n onMouseup() {\n this.active = false;\n }\n updateValue(newValue) {\n this.value = newValue;\n this.updatePosition();\n }\n updatePosition() {\n const value = Number(this.input.value || 0);\n const min = Number(this.input.min || 0);\n const max = Number(this.input.max || 100);\n const placementPercentage = ((value - min) / (max - min)) * 100;\n if (this.sliderTooltip) {\n const width = this.sliderTooltipContainer.offsetWidth;\n // Round tooltip position to the tenths place to prevent snapshot inconsistencies\n const offset = Math.round((placementPercentage / 100 - placementPercentage / 8 / width) * 1000) / 10;\n this.sliderTooltip.style.left = `${offset}%`;\n }\n this.progressElement.style.width = `${placementPercentage}%`;\n }\n getDisplayValue() {\n if (this.displayUnits) {\n return `${this.value}${this.displayUnits}`;\n }\n return this.value;\n }\n // Using componentWillLoad() instead of connectedCallback() here to fix\n // a bug caused by a race condition. Refer to COMUI-541 for details\n componentWillLoad() {\n this.input = this.root.querySelector('input[slot=\"input\"]');\n this.disabled = this.input.disabled;\n this.value = this.input.value;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.valueWatcherId = setInterval(() => {\n if (this.value !== this.input.value) {\n this.updateValue(this.input.value);\n }\n }, 100);\n }\n componentDidLoad() {\n this.updatePosition();\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n clearInterval(this.valueWatcherId);\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"div\", { class: {\n 'gux-range': true,\n 'gux-active': this.active\n } }, h(\"div\", { class: \"gux-track\" }, h(\"div\", { class: \"gux-progress\", ref: el => (this.progressElement = el) })), h(\"slot\", { name: \"input\" }), h(\"div\", { class: {\n 'gux-range-tooltip-container': true,\n 'gux-hidden': !this.valueInTooltip\n }, ref: el => (this.sliderTooltipContainer = el) }, h(\"div\", { class: \"gux-range-tooltip\", ref: el => (this.sliderTooltip = el) }, this.getDisplayValue()))), h(\"div\", { class: {\n 'gux-display': true,\n 'gux-hidden': this.valueInTooltip\n } }, this.getDisplayValue())));\n }\n get root() { return getElement(this); }\n};\nGuxInputRange.style = guxInputRangeCss;\n\nconst guxInputSelectCss = \"gux-input-select{position:relative;display:block}gux-input-select .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px}gux-input-select .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}gux-input-select .gux-input-container:hover gux-icon{color:#2a60c8}gux-input-select .gux-input-container select{flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#33383d;background-color:#f8f8f8;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}gux-input-select .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}gux-input-select .gux-input-container:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}\";\n\nlet GuxInputSelect = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n async componentWillLoad() {\n this.input = this.root.querySelector('select[slot=\"input\"]');\n this.disabled = this.input.disabled;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-input-container': true,\n 'gux-disabled': this.disabled\n } }, h(\"slot\", { name: \"input\" }), h(\"gux-icon\", { decorative: true, iconName: \"ic-dropdown-arrow\" })));\n }\n get root() { return getElement(this); }\n};\nGuxInputSelect.style = guxInputSelectCss;\n\nconst guxInputTextareaCss = \"gux-input-textarea{position:relative;display:block}gux-input-textarea .gux-resize-none textarea{resize:none}gux-input-textarea .gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}gux-input-textarea .gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #77828f}gux-input-textarea .gux-resize-auto textarea{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}gux-input-textarea textarea{flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;color:#33383d;background-color:#f8f8f8;background-image:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16);min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0;border:1px solid #77828f}gux-input-textarea textarea::placeholder{color:#666f7b;opacity:1}gux-input-textarea textarea:focus-within{border-color:#2a60c8;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-input-textarea textarea[disabled]{opacity:0.5}\";\n\nlet GuxInputTextArea = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.resize = 'none';\n }\n componentWillLoad() {\n this.input = this.root.querySelector('textarea[slot=\"input\"]');\n this.input.addEventListener('input', () => {\n this.updateHeight();\n });\n }\n componentDidLoad() {\n this.updateHeight();\n }\n updateHeight() {\n if (this.resize === 'auto') {\n this.containerElement.dataset.replicatedValue = this.input.value;\n this.containerElement.style.maxHeight = this.input.style.maxHeight;\n }\n }\n render() {\n return (h(\"div\", { ref: el => (this.containerElement = el), class: `gux-resize-${this.resize}` }, h(\"slot\", { name: \"input\" })));\n }\n get root() { return getElement(this); }\n};\nGuxInputTextArea.style = guxInputTextareaCss;\n\nexport { GuxFormField as gux_form_field, GuxInputCheckbox as gux_input_checkbox, GuxInputColor as gux_input_color, GuxInputNumber as gux_input_number, GuxInputRadio as gux_input_radio, GuxInputRange as gux_input_range, GuxInputSelect as gux_input_select, GuxInputTextArea as gux_input_textarea };\n","import defineProperty from \"./defineProperty.js\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}","var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction createCommonjsModule(fn, basedir, module) {\n\treturn module = {\n\t\tpath: basedir,\n\t\texports: {},\n\t\trequire: function (path, base) {\n\t\t\treturn commonjsRequire();\n\t\t}\n\t}, fn(module, module.exports), module.exports;\n}\n\nfunction commonjsRequire () {\n\tthrow new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');\n}\n\nvar performanceNow = createCommonjsModule(function (module) {\n// Generated by CoffeeScript 1.12.2\n(function() {\n var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;\n\n if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n module.exports = function() {\n return performance.now();\n };\n } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n module.exports = function() {\n return (getNanoSeconds() - nodeLoadTime) / 1e6;\n };\n hrtime = process.hrtime;\n getNanoSeconds = function() {\n var hr;\n hr = hrtime();\n return hr[0] * 1e9 + hr[1];\n };\n moduleLoadTime = getNanoSeconds();\n upTime = process.uptime() * 1e9;\n nodeLoadTime = moduleLoadTime - upTime;\n } else if (Date.now) {\n module.exports = function() {\n return Date.now() - loadTime;\n };\n loadTime = Date.now();\n } else {\n module.exports = function() {\n return new Date().getTime() - loadTime;\n };\n loadTime = new Date().getTime();\n }\n\n}).call(commonjsGlobal);\n\n//# sourceMappingURL=performance-now.js.map\n});\n\nvar root = typeof window === 'undefined' ? commonjsGlobal : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = root['request' + suffix]\n , caf = root['cancel' + suffix] || root['cancelRequest' + suffix];\n\nfor(var i = 0; !raf && i < vendors.length; i++) {\n raf = root[vendors[i] + 'Request' + suffix];\n caf = root[vendors[i] + 'Cancel' + suffix]\n || root[vendors[i] + 'CancelRequest' + suffix];\n}\n\n// Some versions of FF have rAF but not cAF\nif(!raf || !caf) {\n var last = 0\n , id = 0\n , queue = []\n , frameDuration = 1000 / 60;\n\n raf = function(callback) {\n if(queue.length === 0) {\n var _now = performanceNow()\n , next = Math.max(0, frameDuration - (_now - last));\n last = next + _now;\n setTimeout(function() {\n var cp = queue.slice(0);\n // Clear queue here to prevent\n // callbacks from appending listeners\n // to the current frame's queue\n queue.length = 0;\n for(var i = 0; i < cp.length; i++) {\n if(!cp[i].cancelled) {\n try{\n cp[i].callback(last);\n } catch(e) {\n setTimeout(function() { throw e }, 0);\n }\n }\n }\n }, Math.round(next));\n }\n queue.push({\n handle: ++id,\n callback: callback,\n cancelled: false\n });\n return id\n };\n\n caf = function(handle) {\n for(var i = 0; i < queue.length; i++) {\n if(queue[i].handle === handle) {\n queue[i].cancelled = true;\n }\n }\n };\n}\n\nvar raf_1 = function(fn) {\n // Wrap in a new function to prevent\n // `cancel` potentially being assigned\n // to the native rAF function\n return raf.call(root, fn)\n};\nvar cancel = function() {\n caf.apply(root, arguments);\n};\nvar polyfill = function(object) {\n if (!object) {\n object = root;\n }\n object.requestAnimationFrame = raf;\n object.cancelAnimationFrame = caf;\n};\nraf_1.cancel = cancel;\nraf_1.polyfill = polyfill;\n\nvar MODE;\n(function (MODE) {\n MODE[MODE[\"MODE_TIMEOUT\"] = 0] = \"MODE_TIMEOUT\";\n MODE[MODE[\"MODE_INTERVAL\"] = 1] = \"MODE_INTERVAL\";\n})(MODE || (MODE = {}));\nconst fnMap = new Map();\nconst executionSet = new Set();\nlet rafStarted = false;\nlet startId = 0;\nfunction getTimeStamp() {\n return new Date().getTime();\n}\nfunction executeFn(value) {\n const { fn, args } = value;\n fn(...args);\n}\nfunction runFunction() {\n if (executionSet.size === 0)\n return;\n executionSet.forEach(executeFn);\n executionSet.clear();\n}\nconst checkTick = (currentTimeTick) => (value, id) => {\n const { nextTick, ms, mode } = value;\n if (currentTimeTick - nextTick >= 0) {\n executionSet.add(value);\n if (mode === MODE.MODE_TIMEOUT) {\n fnMap.delete(id);\n }\n else {\n fnMap.set(id, {\n ...value,\n nextTick: nextTick + ms,\n });\n }\n }\n};\nfunction loop() {\n if (fnMap.size === 0) {\n rafStarted = false;\n return;\n }\n const currentTimeTick = getTimeStamp();\n fnMap.forEach(checkTick(currentTimeTick));\n runFunction();\n if (fnMap.size === 0) {\n rafStarted = false;\n return;\n }\n raf_1(loop);\n}\nfunction addId({ fn, ms, args, mode }) {\n if (!fn)\n return null;\n const currentId = startId;\n fnMap.set(currentId, {\n fn,\n ms,\n nextTick: getTimeStamp() + ms,\n args,\n mode,\n });\n if (!rafStarted) {\n rafStarted = true;\n raf_1(loop);\n }\n startId += 1;\n return currentId;\n}\nfunction removeId(id) {\n if (id == null)\n return;\n if (fnMap.has(id)) {\n fnMap.delete(id);\n }\n}\nconst setInterval = (fn, ms = 0, ...args) => addId({ fn, ms, args, mode: MODE.MODE_INTERVAL });\nconst clearInterval = removeId;\n\nexport { clearInterval as c, setInterval as s };\n","function logError(component, message) {\n setTimeout(() => {\n throw new Error(`[${component}] ${message}`);\n }, 0);\n}\nfunction logWarn(component, message) {\n setTimeout(() => {\n console.warn(`[${component}] ${message}`);\n }, 0);\n}\n\nexport { logWarn as a, logError as l };\n","function onHiddenChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(() => {\n callback(element.hidden);\n });\n });\n observer.observe(element, {\n attributes: true,\n attributeFilter: ['hidden']\n });\n return observer;\n}\nfunction onDisabledChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'disabled') {\n callback(element.disabled);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\nfunction onRequiredChange(element, callback) {\n const observer = new MutationObserver(mutations => {\n mutations.forEach(mutation => {\n if (mutation.attributeName === 'required') {\n callback(element.required);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\n\nexport { onRequiredChange as a, onHiddenChange as b, onDisabledChange as o };\n","import { g as getElement } from './index-5f3763b4.js';\n\nfunction OnMutation(opt) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n let onMutationObserver;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n onMutationObserver = new MutationObserver(method.bind(this));\n onMutationObserver.observe(host, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n onMutationObserver.disconnect();\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n\nexport { OnMutation as O };\n","function preventBrowserValidationStyling(input) {\n input.addEventListener('invalid', event => {\n event.preventDefault();\n });\n}\n\nexport { preventBrowserValidationStyling as p };\n","function randomHTMLId(prefix = 'gux') {\n return `${prefix}-${Math.random().toString(36).substr(2, 10)}`;\n}\n\nexport { randomHTMLId as r };\n","import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\n\nfunction setInputValue(input, value, focusAfter) {\n input.value = value;\n simulateNativeEvent(input, 'input');\n simulateNativeEvent(input, 'change');\n if (focusAfter) {\n input.focus();\n }\n}\n\nexport { setInputValue as s };\n","function simulateNativeEvent(targetElement, nativeEventName) {\n switch (nativeEventName) {\n case 'change':\n return targetElement.dispatchEvent(new InputEvent('change', {\n bubbles: true\n }));\n case 'input':\n return targetElement.dispatchEvent(new InputEvent('input', {\n bubbles: true\n }));\n }\n}\n\nexport { simulateNativeEvent as s };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.55.3\";\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\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"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxFormField","hostRef","registerInstance","this","errorId","randomHTMLId","labelId","defaultInputId","computedLabelPosition","required","hasError","Boolean","root","querySelector","input","label","slottedElementType","tagName","toLowerCase","requiredObserver","onRequiredChange","preventBrowserValidationStyling","labelPositionVariant","labelPosition","type","getAttribute","trackComponent","variant","getComputedLabelPosition","validateFormIds","disconnect","h","class","name","renderError","renderLabel","displayUnits","valueInTooltip","clearable","slot","resize","renderInputCheckbox","renderInputRadio","renderInputColor","renderInputRange","renderInputTextLike","renderInputNumber","renderInputSearch","renderInputSelect","renderInputTextArea","setAttribute","inputHasId","hasAttribute","labelHasFor","logError","forId","hasErrorSlot","startsWith","removeAttribute","includes","offsetWidth","id","getElement","OnMutation","childList","subtree","prototype","style","GuxInputCheckbox","colorInputResources","GuxInputColor","requiredId","e","element","contains","setOpened","color","value","buildI18nForComponent","i18n","addEventListener","opened","stopImmediatePropagation","stopPropagation","preventDefault","disabledObserver","onDisabledChange","disabled","guxLabelDescribedby","guxRequired","guxErrorDescribedby","onClick","clickHandler","bind","background","decorative","colorOnOpen","dispatchEvent","Event","bubbles","componentResources","clear","increment","decrement","GuxInputNumber","hasContent","setInputValue","simulateNativeEvent","min","stepUp","simulateNativeInputAndChangeEvents","stepDown","tabIndex","title","getI18nValue","clearInput","setHasContent","renderClearButton","renderStepButtons","GuxInputRadio","GuxInputRange","updateValue","active","newValue","updatePosition","Number","placementPercentage","max","sliderTooltip","width","sliderTooltipContainer","offset","Math","round","left","progressElement","valueWatcherId","setInterval","clearInterval","ref","el","getDisplayValue","GuxInputSelect","iconName","GuxInputTextArea","updateHeight","containerElement","dataset","replicatedValue","maxHeight","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","enumerable","push","apply","_objectSpread2","source","forEach","getOwnPropertyDescriptors","defineProperties","commonjsGlobal","globalThis","window","global","self","fn","basedir","module","performanceNow","getNanoSeconds","hrtime","loadTime","moduleLoadTime","nodeLoadTime","upTime","performance","now","exports","process","hr","uptime","Date","getTime","call","path","require","base","Error","commonjsRequire","vendors","suffix","raf","caf","last","queue","callback","_now","next","setTimeout","cp","slice","cancelled","handle","MODE","raf_1","cancel","polyfill","requestAnimationFrame","cancelAnimationFrame","fnMap","Map","executionSet","Set","rafStarted","startId","getTimeStamp","executeFn","args","loop","size","currentTimeTick","nextTick","ms","mode","add","MODE_TIMEOUT","delete","set","checkTick","addId","currentId","MODE_INTERVAL","has","component","message","logWarn","console","warn","onHiddenChange","observer","MutationObserver","mutations","hidden","observe","attributes","attributeFilter","mutation","attributeName","opt","proto","methodName","onMutationObserver","connectedCallback","disconnectedCallback","host","method","event","prefix","random","toString","substr","focusAfter","focus","targetElement","nativeEventName","InputEvent","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","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","url","config","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","assign"],"sourceRoot":""}
|