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 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/1158.76a41325.chunk.js","mappings":"iRAWMA,EAA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P,MAAM,KAAxD,eAAO6S,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAH,EAASI,cAAcP,EAAmB,CACxCQ,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAV,GAAqB,GAEvBE,EAASI,cAlBiB,kBAkBkB5R,OAAOiS,OAAOjS,OAAOiS,OAAO,GAAIV,GAAW,CAAE5E,UAAWC,EAAQsF,QAAQnM,cAAeuI,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-datepicker.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/iso-dates-a7c704a4.js","../node_modules/@genesys/common-webcomponents/dist/esm/on-click-outside-88e5269b.js","../node_modules/@genesys/common-webcomponents/dist/esm/random-html-id-8e3f658c.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';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { f as fromIsoDate, a as asIsoDateRange, b as asIsoDate, c as fromIsoDateRange } from './iso-dates-a7c704a4.js';\nimport { O as OnClickOutside } from './on-click-outside-88e5269b.js';\n\nconst start = \"Start\";\nconst end = \"End\";\nconst date = \"Date\";\nconst toggleCalendar = \"Toggle calendar view\";\nconst translationResources = {\n\tstart: start,\n\tend: end,\n\tdate: date,\n\ttoggleCalendar: toggleCalendar\n};\n\nfunction getCalendarLabels(labels, mode, defaultLabels) {\n if (mode === \"range\" /* Range */) {\n return [labels[0] || defaultLabels[0], labels[1] || defaultLabels[1]];\n }\n else if (mode !== \"range\" /* Range */ && !labels[0]) {\n return [defaultLabels[2]];\n }\n return [labels[0]];\n}\nfunction isOutOfBoundsDate(value, min, max) {\n return (max && max < value) || (min && min > value);\n}\nfunction getClampedMonthValue(unclampedMonthValue) {\n let clampedMonthValue = unclampedMonthValue;\n while (clampedMonthValue < 0) {\n clampedMonthValue += 12;\n }\n clampedMonthValue = clampedMonthValue % 12;\n return clampedMonthValue;\n}\nfunction incrementDay(delta, focusedDateValue) {\n let newDay = new Date(focusedDateValue.getTime());\n newDay.setDate(newDay.getDate() + delta);\n if (delta < 0) {\n if (newDay.getDate() > focusedDateValue.getDate()) {\n newDay = new Date(focusedDateValue.getFullYear(), focusedDateValue.getMonth() + 1, 0, 0, 0, 0);\n }\n }\n else {\n if (newDay.getDate() < focusedDateValue.getDate()) {\n newDay.setMonth(newDay.getMonth() - 1);\n }\n }\n return newDay;\n}\nfunction incrementMonth(delta, focusedDateValue) {\n const newMonth = new Date(focusedDateValue.valueOf());\n const newMonthValue = getClampedMonthValue(newMonth.getMonth() + delta);\n newMonth.setMonth(newMonthValue);\n newMonth.setFullYear(focusedDateValue.getFullYear());\n if (newMonth.getMonth() !== newMonthValue) {\n return incrementMonth(delta, incrementDay(-1, focusedDateValue));\n }\n return newMonth;\n}\nfunction incrementYear(delta, focusedDateValue) {\n const newYear = new Date(focusedDateValue.valueOf());\n newYear.setFullYear(focusedDateValue.getFullYear() + delta);\n return newYear;\n}\nfunction getFormattedDay(date) {\n return `0${date.getDate().toString()}`.slice(-2);\n}\nfunction getFormattedMonth(date) {\n return `0${(date.getMonth() + 1).toString()}`.slice(-2);\n}\nfunction getFormattedYear(date, yearFormat) {\n if (yearFormat === 'yyyy') {\n return date.getFullYear().toString();\n }\n else {\n return date.getFullYear().toString().slice(-2);\n }\n}\nfunction getFormattedDate(date, format) {\n const formatSeparator = getFormatSeparator(format);\n const dateString = format\n .split(formatSeparator)\n .map(intervalFormat => {\n switch (intervalFormat[0]) {\n case 'd':\n return getFormattedDay(date);\n case 'm':\n return getFormattedMonth(date);\n case 'y':\n return getFormattedYear(date, intervalFormat);\n }\n })\n .join(formatSeparator);\n return dateString;\n}\nfunction getIntervalLetter(format, index) {\n const intervalLetter = format[index];\n if (!intervalLetter || intervalLetter === '/') {\n return format[index - 1];\n }\n return intervalLetter;\n}\nfunction getFormatSeparator(format) {\n return format.match(/\\W/)[0];\n}\nfunction getPreviousIntervalRange(format, currentIntervalRange) {\n const intervalOrder = getIntervalOrder(format);\n const currentIntervalLetter = getIntervalLetter(format, currentIntervalRange.selectionStart);\n const currentIntervalOrderIndex = intervalOrder.indexOf(currentIntervalLetter);\n const newIntervalOrderIndex = (currentIntervalOrderIndex + intervalOrder.length - 1) %\n intervalOrder.length;\n const newIntervalLetter = intervalOrder[newIntervalOrderIndex];\n return getIntervalRange(format, newIntervalLetter);\n}\nfunction getNextIntervalRange(format, currentIntervalRange) {\n const intervalOrder = getIntervalOrder(format);\n const currentIntervalLetter = getIntervalLetter(format, currentIntervalRange.selectionStart);\n const currentIntervalOrderIndex = intervalOrder.indexOf(currentIntervalLetter);\n const newIntervalOrderIndex = (currentIntervalOrderIndex + 1) % intervalOrder.length;\n const newIntervalLetter = intervalOrder[newIntervalOrderIndex];\n return getIntervalRange(format, newIntervalLetter);\n}\nfunction getIntervalOrder(format) {\n const formatSeperator = getFormatSeparator(format);\n return format\n .split(formatSeperator)\n .reduce((acc, cv) => acc.concat(cv[0]), []);\n}\nfunction getIntervalRange(format, intervalLetter) {\n const selectionStart = format.indexOf(intervalLetter);\n const selectionEnd = format.lastIndexOf(intervalLetter) + 1;\n return { selectionStart, selectionEnd };\n}\n\nconst guxDatepickerCss = \"gux-datepicker{display:block}gux-datepicker .gux-datepicker{display:inline-block}gux-datepicker .gux-datepicker.gux-disabled{pointer-events:none;cursor:default}gux-datepicker .gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:0.5}gux-datepicker .gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}gux-datepicker .gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-left:20px}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;margin-right:8px;font-size:12px;font-weight:bold;line-height:20px}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{position:relative;flex:0 1 auto;align-self:auto;order:0;margin:4px 0}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:4px;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 8px;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-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;width:100px;overflow:hidden;color:#33383d;background-color:#f8f8f8;border:none;outline:none}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:#666f7b;opacity:1}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-cancel-button,gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-results-button,gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus,gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:#33383d;cursor:pointer}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button gux-icon{width:16px;height:16px}gux-datepicker .gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{position:absolute;top:30px;z-index:1;display:none}gux-datepicker .gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:#2a60c8}gux-datepicker .gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus,gux-datepicker .gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:#2a60c8}gux-datepicker .gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input gux-calendar{display:block}gux-datepicker .gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}\";\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 GuxDatepicker = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n this.yearFormat = 'yyyy';\n this.focusingRange = false;\n this.isSelectingRange = false;\n this.lastYear = new Date().getFullYear();\n this.startInputId = randomHTMLId('gux-datepicker');\n this.endInputId = randomHTMLId('gux-datepicker');\n /**\n * The datepicker label (can be a single label, or an array of two if it's a range datepicker)\n */\n this.label = '';\n /**\n * The datepicker number of months displayed\n */\n this.numberOfMonths = 1;\n /**\n * The min date selectable\n */\n this.minDate = '';\n /**\n * The max date selectable\n */\n this.maxDate = '';\n /**\n * The calendar mode (can be single or range)\n */\n this.mode = \"single\" /* Single */;\n /**\n * The datepicker date format (default to mm/dd/yyyy, or specified)\n */\n this.format = 'mm/dd/yyyy';\n /**\n * Disable the input and prevent interactions.\n */\n this.disabled = false;\n /**\n * The datepicker first week day (default to 0 (sunday))\n */\n this.firstDayOfWeek = 0;\n /**\n * The datepicker current value\n */\n this.formatedValue = '';\n /**\n * The datepicker current value\n */\n this.toFormatedValue = '';\n this.active = false;\n }\n watchValue() {\n this.updateDate();\n }\n watchMinDate(newDate) {\n if (newDate) {\n this.minDateDate = fromIsoDate(newDate);\n }\n else {\n this.minDateDate = null;\n }\n }\n watchMaxDate(newDate) {\n if (newDate) {\n this.maxDateDate = fromIsoDate(newDate);\n }\n else {\n this.maxDateDate = null;\n }\n }\n watchFormat(newFormat) {\n if (!newFormat.includes('yyyy')) {\n this.yearFormat = 'yy';\n }\n this.intervalOrder = getIntervalOrder(newFormat);\n this.lastIntervalRange = getIntervalRange(this.format, getIntervalLetter(this.format, 0));\n }\n watchActiveCalendar(active) {\n if (active === true) {\n const startDateValue = fromIsoDate(this.value.split('/')[0]);\n // calendar should open to month containing the start date\n void this.calendarElement.resetCalendarView(startDateValue);\n }\n }\n onKeyDown(event) {\n if (this.isFocusedFieldEvent(event)) {\n this.focusedField = this.getInputFieldFromEvent(event);\n switch (event.key) {\n case 'Enter':\n case 'Escape':\n this.focusedField.blur();\n this.active = false;\n break;\n case 'Tab':\n this.isSelectingRange = true;\n this.setRange();\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.increment(-1);\n this.setCursorRange();\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.increment(1);\n this.setCursorRange();\n break;\n case 'ArrowLeft':\n event.preventDefault();\n const previousIntervalRange = getPreviousIntervalRange(this.format, this.intervalRange);\n this.setIntervalRange(previousIntervalRange);\n this.setCursorRange();\n break;\n case 'ArrowRight':\n event.preventDefault();\n const nextIntervalRange = getNextIntervalRange(this.format, this.intervalRange);\n this.setIntervalRange(nextIntervalRange);\n this.setCursorRange();\n break;\n default:\n event.preventDefault();\n this.setIntervalRange({\n selectionStart: this.focusedField.selectionStart,\n selectionEnd: this.focusedField.selectionEnd\n });\n this.updateIntervalValue(event);\n this.setCursorRange();\n break;\n }\n }\n else {\n switch (event.key) {\n case 'Enter':\n case 'Escape':\n case ' ':\n this.active = false;\n const button = this.root.querySelector('.gux-calendar-toggle-button');\n setTimeout(() => {\n button.focus();\n });\n break;\n case 'Tab':\n if (this.active) {\n this.active = false;\n }\n break;\n }\n }\n }\n onFocusIn(event) {\n if (this.isFocusedFieldEvent(event)) {\n if (!this.isSelectingRange) {\n this.focusedField = this.getInputFieldFromEvent(event);\n this.setRange();\n }\n }\n }\n onFocusOut(event) {\n if (!this.root.contains(event.relatedTarget)) {\n this.lastIntervalRange = getIntervalRange(this.format, getIntervalLetter(this.format, 0));\n }\n }\n onMouseDown(event) {\n if (this.isFocusedFieldEvent(event)) {\n this.isSelectingRange = true;\n }\n const target = event.target;\n const inDatepicker = this.datepickerElement.contains(target);\n const notToggleButton = Array.from(this.root.querySelectorAll('.gux-calendar-toggle-button')).every((toggleButtonElement) => !toggleButtonElement.contains(target));\n if (notToggleButton) {\n this.active = inDatepicker;\n }\n }\n onMouseUp(event) {\n event.preventDefault();\n if (this.isSelectingRange && this.isFocusedFieldEvent(event)) {\n this.focusedField = this.getInputFieldFromEvent(event);\n this.lastIntervalRange = getIntervalRange(this.format, getIntervalLetter(this.format, this.focusedField.selectionStart));\n this.setRange();\n }\n }\n onClickOutside() {\n this.active = false;\n }\n isFocusedFieldEvent(event) {\n return (event.target === this.inputElement || event.target === this.toInputElement);\n }\n getInputFieldFromEvent(event) {\n return event.target;\n }\n updateIntervalValue(event) {\n const inputNumber = parseInt(event.key, 10);\n if (!isNaN(inputNumber)) {\n const currentSectionValue = this.focusedField.value.slice(this.focusedField.selectionStart, this.focusedField.selectionEnd);\n if (getIntervalLetter(this.format, this.focusedField.selectionStart) ===\n 'y' &&\n this.yearFormat === 'yyyy') {\n this.typeYearValue(currentSectionValue, event.key);\n }\n else {\n if (this.canSetDate(inputNumber)) {\n this.updateSelection(this.focusedField, `${currentSectionValue[1]}${event.key}`);\n this.setValue();\n }\n else {\n this.updateSelection(this.focusedField, `0${event.key}`.replace('00', '01'));\n this.setValue();\n }\n }\n }\n }\n updateSelection(field, text) {\n field.value =\n field.value.substr(0, this.intervalRange.selectionStart) +\n text +\n field.value.substr(this.intervalRange.selectionEnd);\n }\n getCalendarLabels() {\n return getCalendarLabels([].concat(this.label || []), this.mode, [\n this.i18n('start'),\n this.i18n('end'),\n this.i18n('date')\n ]);\n }\n stringToDate(stringDate) {\n const formatSeperator = getFormatSeparator(this.format);\n const formatItems = this.format.toLowerCase().split(formatSeperator);\n const dateItems = stringDate.split(formatSeperator);\n const year = parseInt(dateItems[formatItems.indexOf(this.yearFormat)], 10);\n const month = parseInt(dateItems[formatItems.indexOf('mm')], 10) - 1;\n const day = parseInt(dateItems[formatItems.indexOf('dd')], 10);\n const date = new Date(year, month, day);\n if (this.yearFormat === 'yy' &&\n date.getFullYear() < 1970 &&\n this.lastYear > 1970) {\n date.setFullYear(date.getFullYear() + 100);\n }\n return date;\n }\n onCalendarSelect(inputEvent) {\n const calendar = inputEvent.target;\n this.value = calendar.value;\n inputEvent.stopPropagation(); // Don't let both events bubble.\n this.input.emit(this.value);\n this.updateDate();\n this.inputElement.value = this.formatedValue;\n if (this.mode === \"range\" /* Range */) {\n this.toInputElement.value = this.toFormatedValue;\n }\n if (document.activeElement !== this.inputElement ||\n document.activeElement !== this.toInputElement) {\n this.active = false;\n }\n }\n setValue() {\n if (this.mode === \"range\" /* Range */) {\n const fromValue = this.stringToDate(this.inputElement.value);\n const toValue = this.stringToDate(this.toInputElement.value);\n this.value = asIsoDateRange(fromValue, toValue);\n this.updateDate();\n this.calendarElement.setValue([fromValue, toValue]);\n }\n else {\n const date = this.stringToDate(this.inputElement.value);\n this.value = asIsoDate(date);\n this.updateDate();\n this.calendarElement.setValue(date);\n }\n this.input.emit(this.value);\n }\n setRange() {\n this.isSelectingRange = false;\n this.setIntervalRange(this.lastIntervalRange);\n this.setCursorRange();\n }\n typeYearValue(selection, key) {\n if (selection[0] !== ' ') {\n this.updateSelection(this.focusedField, ` ${key}`);\n }\n else {\n this.updateSelection(this.focusedField, `${selection.substr(1)}${key}`);\n if (!(selection.substr(1) + key).includes(' ')) {\n this.setValue();\n }\n }\n }\n canSetDate(key) {\n const newValue = parseInt([\n this.focusedField.value[this.intervalRange.selectionEnd - 1].toString(),\n key\n ].join(''), 10);\n if (newValue) {\n switch (getIntervalLetter(this.format, this.focusedField.selectionStart)) {\n case 'd':\n const dateValue = fromIsoDate(this.value);\n if (newValue <=\n new Date(dateValue.getFullYear(), dateValue.getMonth() + 1, 0).getDate()) {\n return true;\n }\n break;\n case 'm':\n if (newValue <= 12) {\n return true;\n }\n break;\n case 'y':\n return true;\n }\n }\n return false;\n }\n getMapAndRegexFromField(value) {\n const map = {\n dd: `0${value.getDate()}`.slice(-2),\n mm: `0${value.getMonth() + 1}`.slice(-2)\n };\n if (this.yearFormat === 'yyyy') {\n map.yyyy = value.getFullYear().toString();\n }\n else {\n map.yy = value.getFullYear().toString().slice(-2);\n }\n const regexp = new RegExp(Object.keys(map).join('|'), 'gi');\n return {\n map,\n regexp\n };\n }\n updateDate() {\n if (this.mode === \"range\" /* Range */) {\n const [from, to] = fromIsoDateRange(this.value);\n const { map: map1, regexp: regexp1 } = this.getMapAndRegexFromField(from);\n this.formatedValue = this.format.replace(regexp1, match => {\n return map1[match];\n });\n const { map: map2, regexp: regexp2 } = this.getMapAndRegexFromField(to);\n this.toFormatedValue = this.format.replace(regexp2, match => {\n return map2[match];\n });\n }\n else {\n const dateValue = fromIsoDate(this.value);\n const { map: map3, regexp: regexp3 } = this.getMapAndRegexFromField(dateValue);\n this.formatedValue = this.format.replace(regexp3, match => {\n return map3[match];\n });\n }\n }\n setCursorRange() {\n if (this.intervalRange) {\n this.focusedField.setSelectionRange(this.intervalRange.selectionStart, this.intervalRange.selectionEnd);\n }\n }\n toggleCalendar() {\n this.active = !this.active;\n if (this.active) {\n // Wait for render before focusing preview date\n setTimeout(() => {\n this.calendarElement.focusPreviewDate();\n });\n }\n }\n setIntervalRange(intervalRange) {\n this.intervalRange = intervalRange;\n }\n getCombinedFocusedDateValue() {\n return this.mode === \"range\" /* Range */\n ? this.getRangeFocusedDateValue()\n : this.getFocusedDateValue();\n }\n getFocusedDateValue() {\n return fromIsoDate(this.value);\n }\n getRangeFocusedDateValue() {\n const [start, end] = fromIsoDateRange(this.value);\n return this.focusedField === this.inputElement ? start : end;\n }\n increment(delta) {\n const interval = getIntervalLetter(this.format, this.focusedField.selectionStart);\n const focusedDateValue = this.getCombinedFocusedDateValue();\n let newDate;\n switch (interval) {\n case 'd':\n newDate = incrementDay(delta, focusedDateValue);\n break;\n case 'm':\n newDate = incrementMonth(delta, focusedDateValue);\n break;\n case 'y':\n newDate = incrementYear(delta, focusedDateValue);\n break;\n }\n if (isOutOfBoundsDate(newDate, this.minDateDate, this.maxDateDate)) {\n newDate = focusedDateValue;\n }\n this.lastYear = newDate.getFullYear();\n this.setIntervalRange({\n selectionStart: this.focusedField.selectionStart,\n selectionEnd: this.focusedField.selectionEnd\n });\n this.focusedField.value = getFormattedDate(newDate, this.format);\n this.setValue();\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.mode });\n this.i18n = await buildI18nForComponent(this.root, translationResources);\n this.watchMinDate(this.minDate);\n this.watchMaxDate(this.maxDate);\n this.watchFormat(this.format);\n if (!this.value) {\n const now = new Date();\n now.setHours(0, 0, 0, 0);\n if (this.mode === \"range\" /* Range */) {\n this.value = asIsoDateRange(now, now);\n }\n else {\n this.value = asIsoDate(now);\n }\n if (this.mode === \"range\" /* Range */ && this.numberOfMonths < 2) {\n this.numberOfMonths = 2;\n }\n }\n }\n componentDidLoad() {\n this.updateDate();\n }\n renderCalendarToggleButton() {\n return (h(\"button\", { class: \"gux-calendar-toggle-button\", type: \"button\", onClick: () => this.toggleCalendar(), \"aria-expanded\": this.active.toString(), \"aria-label\": this.i18n('toggleCalendar'), disabled: this.disabled }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"calendar\" })));\n }\n renderCalendar() {\n return (h(\"gux-calendar\", { ref: (el) => (this.calendarElement = el), value: this.value, mode: this.mode, onInput: (event) => this.onCalendarSelect(event), minDate: this.minDate, maxDate: this.maxDate, firstDayOfWeek: this.firstDayOfWeek, numberOfMonths: this.numberOfMonths }));\n }\n renderStartDateField() {\n return (h(\"div\", { class: \"gux-datepicker-field\" }, h(\"label\", { htmlFor: this.startInputId, class: {\n 'gux-datepicker-field-label': true,\n 'gux-sr-only': this.mode === \"single\" /* Single */ && !this.label\n } }, this.getCalendarLabels()[0]), h(\"div\", { class: \"gux-datepicker-field-input\" }, h(\"div\", { class: \"gux-datepicker-field-text-input\" }, h(\"input\", { id: this.startInputId, type: \"text\", ref: (el) => (this.inputElement = el), value: this.formatedValue, disabled: this.disabled }), this.renderCalendarToggleButton()), this.renderCalendar())));\n }\n renderEndDateField() {\n if (this.mode === \"single\" /* Single */) {\n return null;\n }\n return (h(\"div\", { class: \"gux-datepicker-field\" }, h(\"label\", { htmlFor: this.endInputId, class: \"gux-datepicker-field-label\" }, this.getCalendarLabels()[1]), h(\"div\", { class: \"gux-datepicker-field-input\" }, h(\"div\", { class: \"gux-datepicker-field-text-input\" }, h(\"input\", { id: this.endInputId, type: \"text\", ref: (el) => (this.toInputElement = el), value: this.toFormatedValue, disabled: this.disabled }), this.renderCalendarToggleButton()))));\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-datepicker': true,\n 'gux-active': this.active,\n 'gux-disabled': this.disabled\n }, ref: (el) => (this.datepickerElement = el) }, this.renderStartDateField(), this.renderEndDateField()));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"watchValue\"],\n \"minDate\": [\"watchMinDate\"],\n \"maxDate\": [\"watchMaxDate\"],\n \"format\": [\"watchFormat\"],\n \"active\": [\"watchActiveCalendar\"]\n }; }\n};\n__decorate([\n OnClickOutside({ triggerEvents: 'mousedown' })\n], GuxDatepicker.prototype, \"onClickOutside\", null);\nGuxDatepicker.style = guxDatepickerCss;\n\nexport { GuxDatepicker as gux_datepicker };\n","function asIsoDate(date) {\n const monthStr = (date.getMonth() + 1).toString().padStart(2, '0');\n const dateStr = date.getDate().toString().padStart(2, '0');\n return `${date.getFullYear()}-${monthStr}-${dateStr}`;\n}\nfunction asIsoDateRange(date1, date2) {\n const [start, end] = sortedDates([date1, date2]);\n return `${asIsoDate(start)}/${asIsoDate(end)}`;\n}\nfunction fromIsoDate(isoDate) {\n const [yearStr, monthStr, dayStr] = isoDate.split('-');\n const year = parseInt(yearStr, 10);\n const month = parseInt(monthStr, 10) - 1; // zero-indexed month\n const day = parseInt(dayStr, 10);\n return new Date(year, month, day);\n}\nfunction fromIsoDateRange(isoDateRange) {\n const [startIsoDate, endIsoDate] = isoDateRange.split('/');\n return [fromIsoDate(startIsoDate), fromIsoDate(endIsoDate)];\n}\nfunction sortedDates(dates) {\n return dates.sort((d1, d2) => (d1 < d2 ? -1 : 1));\n}\n\nexport { asIsoDateRange as a, asIsoDate as b, fromIsoDateRange as c, fromIsoDate as f };\n","import { g as getElement } from './index-5f3763b4.js';\n\nconst OnClickOutsideOptionsDefaults = {\n triggerEvents: 'click',\n exclude: ''\n};\nfunction OnClickOutside(opt = OnClickOutsideOptionsDefaults) {\n return (proto, methodName) => {\n const { connectedCallback, disconnectedCallback } = proto;\n proto.connectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n registerOnClickOutside(this, host, method, opt);\n return connectedCallback && connectedCallback.call(this);\n };\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n const method = this[methodName];\n removeOnClickOutside(this, host, method, opt);\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\nfunction registerOnClickOutside(component, element, callback, opt = OnClickOutsideOptionsDefaults) {\n const excludedNodes = getExcludedNodes(opt);\n getTriggerEvents(opt).forEach(triggerEvent => {\n window.addEventListener(triggerEvent, (e) => {\n initOnClickOutside(e, component, element, callback, excludedNodes);\n }, false);\n });\n}\nfunction removeOnClickOutside(component, element, callback, opt = OnClickOutsideOptionsDefaults) {\n getTriggerEvents(opt).forEach(triggerEvent => {\n window.removeEventListener(triggerEvent, (e) => {\n initOnClickOutside(e, component, element, callback);\n }, false);\n });\n}\nfunction initOnClickOutside(event, component, element, callback, excludedNodes) {\n const composedPath = event.composedPath();\n if (!composedPath.includes(element) &&\n !isExcluded(composedPath, excludedNodes)) {\n callback.call(component, event);\n }\n}\nfunction getTriggerEvents(opt) {\n if (opt.triggerEvents) {\n return opt.triggerEvents.split(',').map(e => e.trim());\n }\n return ['click'];\n}\nfunction getExcludedNodes(opt) {\n if (opt.exclude) {\n try {\n return Array.from(document.querySelectorAll(opt.exclude));\n }\n catch (err) {\n console.warn(`@OnClickOutside: Exclude: '${opt.exclude}' will not be evaluated. Check your exclude selector syntax.`, err);\n }\n }\n return;\n}\nfunction isExcluded(composedPath, excudedNodes) {\n if (composedPath && excudedNodes) {\n return excudedNodes.some(excudedNode => composedPath.includes(excudedNode));\n }\n return false;\n}\n\nexport { OnClickOutside as O };\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"],"names":["translationResources","start","end","date","toggleCalendar","incrementDay","delta","focusedDateValue","newDay","Date","getTime","setDate","getDate","getFullYear","getMonth","setMonth","incrementMonth","newMonth","valueOf","newMonthValue","unclampedMonthValue","clampedMonthValue","getClampedMonthValue","setFullYear","getIntervalLetter","format","index","intervalLetter","getFormatSeparator","match","getIntervalOrder","formatSeperator","split","reduce","acc","cv","concat","getIntervalRange","selectionStart","indexOf","selectionEnd","lastIndexOf","__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxDatepicker","hostRef","registerInstance","this","input","createEvent","yearFormat","focusingRange","isSelectingRange","lastYear","startInputId","randomHTMLId","endInputId","label","numberOfMonths","minDate","maxDate","mode","disabled","firstDayOfWeek","formatedValue","toFormatedValue","active","updateDate","newDate","minDateDate","fromIsoDate","maxDateDate","newFormat","includes","intervalOrder","lastIntervalRange","startDateValue","value","calendarElement","resetCalendarView","event","isFocusedFieldEvent","focusedField","getInputFieldFromEvent","blur","setRange","preventDefault","increment","setCursorRange","previousIntervalRange","currentIntervalRange","currentIntervalLetter","currentIntervalOrderIndex","getPreviousIntervalRange","intervalRange","setIntervalRange","nextIntervalRange","getNextIntervalRange","updateIntervalValue","button","root","querySelector","setTimeout","focus","contains","relatedTarget","inDatepicker","datepickerElement","Array","from","querySelectorAll","every","toggleButtonElement","inputElement","toInputElement","inputNumber","parseInt","isNaN","currentSectionValue","slice","typeYearValue","canSetDate","updateSelection","setValue","replace","field","text","substr","labels","defaultLabels","i18n","stringDate","formatItems","toLowerCase","dateItems","year","month","day","inputEvent","calendar","stopPropagation","emit","document","activeElement","fromValue","stringToDate","toValue","asIsoDateRange","asIsoDate","selection","newValue","toString","join","dateValue","map","dd","mm","yyyy","yy","regexp","RegExp","keys","fromIsoDateRange","to","getMapAndRegexFromField","map1","regexp1","map2","regexp2","map3","regexp3","setSelectionRange","focusPreviewDate","getRangeFocusedDateValue","getFocusedDateValue","min","max","interval","getCombinedFocusedDateValue","newYear","incrementYear","formatSeparator","dateString","intervalFormat","getFormattedDay","getFormattedMonth","getFormattedYear","getFormattedDate","trackComponent","variant","buildI18nForComponent","watchMinDate","watchMaxDate","watchFormat","now","setHours","h","class","type","onClick","decorative","ref","el","onInput","onCalendarSelect","htmlFor","getCalendarLabels","id","renderCalendarToggleButton","renderCalendar","renderStartDateField","renderEndDateField","getElement","OnClickOutside","triggerEvents","prototype","style","monthStr","padStart","dateStr","date1","date2","sort","d1","d2","isoDate","yearStr","dayStr","isoDateRange","startIsoDate","endIsoDate","OnClickOutsideOptionsDefaults","exclude","opt","proto","methodName","connectedCallback","disconnectedCallback","registerOnClickOutside","call","removeOnClickOutside","component","element","callback","excludedNodes","getExcludedNodes","getTriggerEvents","forEach","triggerEvent","window","addEventListener","e","initOnClickOutside","removeEventListener","composedPath","excudedNodes","some","excudedNode","isExcluded","trim","err","console","warn","prefix","Math","random","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","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","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","assign","tagName"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[1166],{1166:function(e,t,n){n.r(t),n.d(t,{gux_form_field_checkbox_beta:function(){return p}});var i=n(5671),r=n(3144),s=n(4723),o=n(4351),a=n(5618),c=n(997),l=n(8125),u=n(2457),d=function(e,t,n,i){var r,s=arguments.length,o=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(o=(s<3?r(o):s>3?r(t,n,o):r(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o},p=function(){function e(t){(0,i.Z)(this,e),(0,s.r)(this,t),this.hasError=!1}return(0,r.Z)(e,[{key:"onMutation",value:function(){this.hasError=(0,u.h)(this.root)}},{key:"componentWillLoad",value:function(){this.setInput(),this.hasError=(0,u.h)(this.root),(0,l.t)(this.root)}},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect()}},{key:"render",value:function(){var e=this;return(0,s.h)(s.H,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},(0,s.h)("div",{class:"gux-form-field-container"},(0,s.h)("div",{class:"gux-input"},(0,s.h)("slot",{name:"input",onSlotchange:function(){return e.setInput()}}),(0,s.h)("slot",{name:"label"})),(0,s.h)(u.G,{hasError:this.hasError},(0,s.h)("slot",{name:"error"}))))}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('input[type="checkbox"][slot="input"]'),(0,c.p)(this.input),this.disabled=this.input.disabled,this.disabledObserver=(0,a.o)(this.input,(function(t){e.disabled=t})),(0,u.v)(this.root,this.input)}},{key:"root",get:function(){return(0,s.g)(this)}}]),e}();d([(0,o.O)({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}:host{display:block;color:#33383d}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{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\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input{position:relative;height:24px;line-height:24px}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='checkbox']:not(:checked))::before{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\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{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\")}::slotted(input[type='checkbox']:checked)::before{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\")}::slotted(input[type='checkbox']:indeterminate)::before{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\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}"},2457:function(e,t,n){n.d(t,{G:function(){return a},a:function(){return u},c:function(){return c},g:function(){return d},h:function(){return l},v:function(){return p}});var i=n(4723),r=n(1782),s=n(2183),o=n(5569),a=function(e,t){var n=e.hasError;return(0,i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},(0,i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),(0,i.h)("div",{class:"gux-message"},t))};function c(e){(0,o.s)(e,"",!0)}function l(e){return Boolean(e.querySelector('[slot="error"]'))}function u(e){return Boolean(e.value)}function d(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function p(e,t){if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){var n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),o=Boolean(n.hasAttribute("for"));if(!i&&o)(0,s.l)(e.tagName.toLowerCase(),'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!o){var a=t.getAttribute("id");n.setAttribute("for",a)}else i&&o&&t.getAttribute("id")!==n.getAttribute("for")&&(0,s.l)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{var c=(0,r.r)("gux-form-field-input");t.setAttribute("id",c),n.setAttribute("for",c)}}else(0,s.l)(e.tagName.toLowerCase(),'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(l(e)){var u=e.querySelector('[slot="error"]'),d=(0,r.r)("gux-form-field-error");u.setAttribute("id",d),t.setAttribute("aria-describedby",d)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},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 s(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 s},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,s=t.connectedCallback,o=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),o=this[n];return(r=new MutationObserver(o.bind(this))).observe(t,e),s&&s.call(this)},t.disconnectedCallback=function(){return r.disconnect(),o&&o.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 a}});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"}},s="spark-library",o=!1;function a(e,t){var n=window.newrelic;n&&(o||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),o=n[0],a=n[1],c=n[2];e.addPageAction(s,{fullVersion:"".concat(o,".").concat(a,".").concat(c),majorVersion:o,minorVersion:"".concat(o,".").concat(a)})}(),o=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=1166.1486fbcd.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/1166.1486fbcd.chunk.js","mappings":"iQAaIA,EAAoD,SAAUC,EAAYC,EAAQC,EAAKC,GACzF,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AAOgL,OAAO,GAAIZ,GAAW,CAAErG,UAAWQ,EAAQnB,QAAQC,cAAe2D,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-checkbox-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field.servce-8bb23dbf.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, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { 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 { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds } from './gux-form-field.servce-8bb23dbf.js';\nimport './random-html-id-8e3f658c.js';\nimport './log-error-3d08c2b1.js';\nimport './set-input-value-5adeaccc.js';\nimport './simulate-native-event-ac69961f.js';\n\nconst guxFormFieldCheckboxCss = \".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}:host{display:block;color:#33383d}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{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\\\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input{position:relative;height:24px;line-height:24px}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='checkbox']:not(:checked))::before{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\\\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{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\\\")}::slotted(input[type='checkbox']:checked)::before{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\\\")}::slotted(input[type='checkbox']:indeterminate)::before{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\\\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}\";\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 GuxFormFieldCheckbox = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.hasError = false;\n }\n onMutation() {\n this.hasError = hasErrorSlot(this.root);\n }\n componentWillLoad() {\n this.setInput();\n this.hasError = hasErrorSlot(this.root);\n trackComponent(this.root);\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n }\n render() {\n return (h(Host, { class: {\n 'gux-input-error': this.hasError,\n 'gux-disabled': this.disabled\n } }, h(\"div\", { class: \"gux-form-field-container\" }, h(\"div\", { class: \"gux-input\" }, h(\"slot\", { name: \"input\", onSlotchange: () => this.setInput() }), h(\"slot\", { name: \"label\" })), h(GuxFormFieldError, { hasError: this.hasError }, h(\"slot\", { name: \"error\" })))));\n }\n setInput() {\n this.input = this.root.querySelector('input[type=\"checkbox\"][slot=\"input\"]');\n preventBrowserValidationStyling(this.input);\n this.disabled = this.input.disabled;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n validateFormIds(this.root, this.input);\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormFieldCheckbox.prototype, \"onMutation\", null);\nGuxFormFieldCheckbox.style = guxFormFieldCheckboxCss;\n\nexport { GuxFormFieldCheckbox as gux_form_field_checkbox_beta };\n","import { h } from './index-5f3763b4.js';\nimport { r as randomHTMLId } from './random-html-id-8e3f658c.js';\nimport { l as logError } from './log-error-3d08c2b1.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\n\nconst GuxFormFieldError = ({ hasError }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-error': true,\n 'gux-show': hasError\n } },\n h(\"gux-icon\", { \"icon-name\": \"alert-warning-octogon\", decorative: true }),\n h(\"div\", { class: \"gux-message\" }, children)));\n};\n\nfunction clearInput(input) {\n setInputValue(input, '', true);\n}\nfunction hasErrorSlot(root) {\n return Boolean(root.querySelector('[slot=\"error\"]'));\n}\nfunction hasContent(input) {\n return Boolean(input.value);\n}\nfunction getComputedLabelPosition(label, labelPosition) {\n if (label) {\n if (['above', 'beside', 'screenreader'].includes(labelPosition)) {\n return labelPosition;\n }\n else if (label.offsetWidth > 1 && label.offsetWidth < 40) {\n return 'beside';\n }\n else {\n return 'above';\n }\n }\n}\nfunction validateFormIds(root, input) {\n if (hasLabelSlot(root)) {\n const label = root.querySelector('label[slot=\"label\"]');\n const inputHasId = Boolean(input.hasAttribute('id'));\n const labelHasFor = Boolean(label.hasAttribute('for'));\n if (!inputHasId && labelHasFor) {\n logError(root.tagName.toLowerCase(), 'A \"for\" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the \"for\" attribute from the label. If there is no input id and no \"for\" attribute provided, the component will automatically generate an id and link it to the \"for\" attribute.');\n }\n else if (!inputHasId) {\n const defaultInputId = randomHTMLId('gux-form-field-input');\n input.setAttribute('id', defaultInputId);\n label.setAttribute('for', defaultInputId);\n }\n else if (inputHasId && !labelHasFor) {\n const forId = input.getAttribute('id');\n label.setAttribute('for', forId);\n }\n else if (inputHasId &&\n labelHasFor &&\n input.getAttribute('id') !== label.getAttribute('for')) {\n logError(root.tagName.toLowerCase(), 'The input id and label for attribute should match.');\n }\n }\n else {\n logError(root.tagName.toLowerCase(), 'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to \"screenreader\" to visually hide the label.');\n }\n if (hasErrorSlot(root)) {\n const error = root.querySelector('[slot=\"error\"]');\n const errorId = randomHTMLId('gux-form-field-error');\n error.setAttribute('id', errorId);\n input.setAttribute('aria-describedby', errorId);\n }\n else if (input.getAttribute('aria-describedby') &&\n input.getAttribute('aria-describedby').startsWith('gux-form-field-error')) {\n input.removeAttribute('aria-describedby');\n }\n}\nfunction hasLabelSlot(root) {\n return Boolean(root.querySelector('label[slot=\"label\"]'));\n}\n\nexport { GuxFormFieldError as G, hasContent as a, clearInput as c, getComputedLabelPosition as g, hasErrorSlot as h, validateFormIds as v };\n","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","GuxFormFieldCheckbox","hostRef","registerInstance","this","hasError","hasErrorSlot","root","setInput","trackComponent","disabledObserver","disconnect","h","Host","class","disabled","name","onSlotchange","GuxFormFieldError","input","querySelector","preventBrowserValidationStyling","onDisabledChange","validateFormIds","getElement","OnMutation","childList","subtree","prototype","style","children","decorative","clearInput","setInputValue","Boolean","hasContent","value","getComputedLabelPosition","label","labelPosition","includes","offsetWidth","hasLabelSlot","inputHasId","hasAttribute","labelHasFor","logError","tagName","toLowerCase","forId","getAttribute","setAttribute","defaultInputId","randomHTMLId","error","errorId","startsWith","removeAttribute","component","message","setTimeout","Error","logWarn","console","warn","onHiddenChange","element","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","mutation","attributeName","onRequiredChange","required","opt","proto","methodName","onMutationObserver","connectedCallback","disconnectedCallback","host","method","bind","call","addEventListener","event","preventDefault","prefix","Math","random","toString","substr","focusAfter","simulateNativeEvent","focus","targetElement","nativeEventName","dispatchEvent","InputEvent","bubbles","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","metadata","newrelic","window","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","reportLibraryVersion","assign"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[131],{131:function(e,t,s){s.r(t),s.d(t,{gux_simple_toast:function(){return a}});var n=s(4165),i=s(5861),r=s(5671),o=s(3144),c=s(4723),l=s(8125),a=function(){function e(t){(0,r.Z)(this,e),(0,c.r)(this,t),this.guxdismiss=(0,c.c)(this,"guxdismiss",7),this.accent="neutral"}return(0,o.Z)(e,[{key:"componentWillLoad",value:function(){var e=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,l.t)(this.root,{variant:this.accent});case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){return(0,c.h)(c.H,null,(0,c.h)("div",{class:"gux-icon gux-".concat(this.accent)},(0,c.h)("slot",{name:"icon"})),(0,c.h)("div",{class:"gux-message"},(0,c.h)("slot",{name:"message"})),(0,c.h)("gux-dismiss-button-beta",{onClick:this.onDismissClickHandler.bind(this)}))}},{key:"onDismissClickHandler",value:function(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}},{key:"root",get:function(){return(0,c.g)(this)}}]),e}();a.style="gux-simple-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:286px;padding:8px 16px;margin-bottom:4px;color:#33383d;background:#f8f8f8;border:1px solid;border-color:#aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-simple-toast .gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:6px 0}gux-simple-toast .gux-icon.gux-alert{color:#ea0b0b}gux-simple-toast .gux-icon.gux-warning{color:#ffae00}gux-simple-toast .gux-icon.gux-positive{color:#3c8527}gux-simple-toast .gux-icon.gux-neutral{color:#203b73}gux-simple-toast .gux-icon gux-icon{width:12px;height:12px}gux-simple-toast .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}"},8125:function(e,t,s){s.d(t,{t:function(){return c}});var n=s(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"}},r="spark-library",o=!1;function c(e,t){var s=window.newrelic;s&&(o||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),s=(0,n.Z)(t,3),o=s[0],c=s[1],l=s[2];e.addPageAction(r,{fullVersion:"".concat(o,".").concat(c,".").concat(l),majorVersion:o,minorVersion:"".concat(o,".").concat(c)})}(),o=!0),s.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=131.3f61f67c.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/131.3f61f67c.chunk.js","mappings":"gOAKIA,EAAc,WAChB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAK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AEDY,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,EAAYC,QAAQwD,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,cAAerE,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-simple-toast.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxSimpleToastCss = \"gux-simple-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:286px;padding:8px 16px;margin-bottom:4px;color:#33383d;background:#f8f8f8;border:1px solid;border-color:#aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-simple-toast .gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:6px 0}gux-simple-toast .gux-icon.gux-alert{color:#ea0b0b}gux-simple-toast .gux-icon.gux-warning{color:#ffae00}gux-simple-toast .gux-icon.gux-positive{color:#3c8527}gux-simple-toast .gux-icon.gux-neutral{color:#203b73}gux-simple-toast .gux-icon gux-icon{width:12px;height:12px}gux-simple-toast .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}\";\n\nlet GuxSimpleToast = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.guxdismiss = createEvent(this, \"guxdismiss\", 7);\n /**\n * The component accent.\n */\n this.accent = 'neutral';\n }\n async componentWillLoad() {\n trackComponent(this.root, { variant: this.accent });\n }\n render() {\n return (h(Host, null, h(\"div\", { class: `gux-icon gux-${this.accent}` }, h(\"slot\", { name: \"icon\" })), h(\"div\", { class: \"gux-message\" }, h(\"slot\", { name: \"message\" })), h(\"gux-dismiss-button-beta\", { onClick: this.onDismissClickHandler.bind(this) })));\n }\n onDismissClickHandler(event) {\n event.stopPropagation();\n const dismissEvent = this.guxdismiss.emit();\n if (!dismissEvent.defaultPrevented) {\n this.root.remove();\n }\n }\n get root() { return getElement(this); }\n};\nGuxSimpleToast.style = guxSimpleToastCss;\n\nexport { GuxSimpleToast as gux_simple_toast };\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":["GuxSimpleToast","hostRef","registerInstance","this","guxdismiss","createEvent","accent","trackComponent","root","variant","h","Host","class","name","onClick","onDismissClickHandler","bind","event","stopPropagation","emit","defaultPrevented","remove","getElement","style","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","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([[1344],{1344:function(e,t,n){n.r(t),n.d(t,{gux_color_picker_legacy:function(){return r}});var i=n(5671),o=n(3144),s=n(4723),c=n(8125),r=function(){function e(t){var n=this;(0,i.Z)(this,e),(0,s.r)(this,t),this.input=(0,s.c)(this,"input",7),this.clickHandler=function(){n.disabled||(n.opened=!n.opened)}}return(0,o.Z)(e,[{key:"componentWillLoad",value:function(){(0,c.t)(this.root),this.activeColor=this.value}},{key:"valueChangeHandler",value:function(e){this.activeColor=e}},{key:"onFocusOut",value:function(e){e.relatedTarget&&this.root.contains(e.relatedTarget)||(this.opened=!1)}},{key:"onSelectHandler",value:function(e){this.opened=!1,this.activeColor=e.detail}},{key:"render",value:function(){var e=this;return(0,s.h)("section",null,(0,s.h)("button",{class:"gux-color-picker-main-element".concat(this.opened?" gux-color-picker-opened":""),disabled:this.disabled,onClick:this.clickHandler},(0,s.h)("div",{class:"gux-color-picker-selected-color",style:{background:this.activeColor}}),(0,s.h)("div",{class:"gux-color-picker-color-name"},this.activeColor),(0,s.h)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})),this.opened&&(0,s.h)("gux-color-select-legacy",{value:this.activeColor,onInput:function(){return e.input},class:"gux-color-picker-color-select"},(0,s.h)("slot",null)))}},{key:"root",get:function(){return(0,s.g)(this)}}],[{key:"watchers",get:function(){return{value:["valueChangeHandler"]}}}]),e}();r.style="gux-color-picker-legacy>section{position:relative;display:inline-block;width:160px}gux-color-picker-legacy>gux-color-option{display:none}gux-color-picker-legacy .gux-color-picker-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;transition:box-shadow 0.2s}gux-color-picker-legacy .gux-color-picker-main-element:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-color-picker-legacy .gux-color-picker-main-element:focus,gux-color-picker-legacy .gux-color-picker-opened{border-color:#2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-color-picker-legacy .gux-color-picker-selected-color{float:left;padding:8px;margin:8px 12px}gux-color-picker-legacy .gux-color-picker-color-name{float:left;margin:9px 0;font-size:12px;color:#33383d}gux-color-picker-legacy .gux-color-picker-color-select{position:absolute;top:100%;left:0;z-index:1;width:100%}gux-color-picker-legacy .gux-color-picker-color-select>div{margin-top:4px;border:1px solid #aeb9c6;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);border-radius:4px}gux-color-picker-legacy gux-icon{position:absolute;top:0;right:0;display:flex;align-items:center;width:16px;height:100%;padding:0 7px;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}.gux-color-picker-light-theme{color:#33383d}.gux-light-theme gux-color-picker-legacy{color:#33383d}gux-color-picker-legacy.gux-light-theme{color:#33383d}gux-color-picker-legacy{color:#33383d}"},8125:function(e,t,n){n.d(t,{t:function(){return r}});var i=n(885),o={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",c=!1;function r(e,t){var n=window.newrelic;n&&(c||(!function(){var e=window.newrelic;if(!e)return;var t=o.version.split("."),n=(0,i.Z)(t,3),c=n[0],r=n[1],l=n[2];e.addPageAction(s,{fullVersion:"".concat(c,".").concat(r,".").concat(l),majorVersion:c,minorVersion:"".concat(c,".").concat(r)})}(),c=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:o.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=1344.19a70535.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/1344.19a70535.chunk.js","mappings":"qNAKIA,EAAkB,WACpB,WAAYC,GAAS,4BACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GACxCA,KAAKG,aAAe,WACb,EAAKC,WACR,EAAKC,QAAU,EAAKA,SANN,gDAUpB,YACEC,EAAAA,EAAAA,GAAeN,KAAKO,MACpBP,KAAKQ,YAAcR,KAAKS,QAZN,gCAcpB,SAAmBC,GACjBV,KAAKQ,YAAcE,IAfD,wBAiBpB,SAAWC,GACJA,EAAEC,eAAkBZ,KAAKO,KAAKM,SAASF,EAAEC,iBAC5CZ,KAAKK,QAAS,KAnBE,6BAsBpB,SAAgBS,GACdd,KAAKK,QAAS,EACdL,KAAKQ,YAAcM,EAAGC,SAxBJ,oBA0BpB,WAAS,WACP,OAAQC,EAAAA,EAAAA,GAAE,UAAW,MAAMA,EAAAA,EAAAA,GAAE,SAAU,CAAEC,MAAO,gCAAF,OAAkCjB,KAAKK,OAAS,2BAA6B,IAAMD,SAAUJ,KAAKI,SAAUc,QAASlB,KAAKG,eAAgBa,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAO,kCAAmCE,MAAO,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E,EAAewE,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BxD,EAAYE,QAAQwD,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,cAAerE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-color-picker-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 guxColorPickerCss = \"gux-color-picker-legacy>section{position:relative;display:inline-block;width:160px}gux-color-picker-legacy>gux-color-option{display:none}gux-color-picker-legacy .gux-color-picker-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;transition:box-shadow 0.2s}gux-color-picker-legacy .gux-color-picker-main-element:disabled{pointer-events:none;cursor:default;opacity:0.5}gux-color-picker-legacy .gux-color-picker-main-element:focus,gux-color-picker-legacy .gux-color-picker-opened{border-color:#2a60c8;outline:none;box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-color-picker-legacy .gux-color-picker-selected-color{float:left;padding:8px;margin:8px 12px}gux-color-picker-legacy .gux-color-picker-color-name{float:left;margin:9px 0;font-size:12px;color:#33383d}gux-color-picker-legacy .gux-color-picker-color-select{position:absolute;top:100%;left:0;z-index:1;width:100%}gux-color-picker-legacy .gux-color-picker-color-select>div{margin-top:4px;border:1px solid #aeb9c6;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);border-radius:4px}gux-color-picker-legacy gux-icon{position:absolute;top:0;right:0;display:flex;align-items:center;width:16px;height:100%;padding:0 7px;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}.gux-color-picker-light-theme{color:#33383d}.gux-light-theme gux-color-picker-legacy{color:#33383d}gux-color-picker-legacy.gux-light-theme{color:#33383d}gux-color-picker-legacy{color:#33383d}\";\n\nlet GuxColorPickerBeta = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n this.clickHandler = () => {\n if (!this.disabled) {\n this.opened = !this.opened;\n }\n };\n }\n componentWillLoad() {\n trackComponent(this.root);\n this.activeColor = this.value;\n }\n valueChangeHandler(newValue) {\n this.activeColor = newValue;\n }\n onFocusOut(e) {\n if (!e.relatedTarget || !this.root.contains(e.relatedTarget)) {\n this.opened = false;\n }\n }\n onSelectHandler(ev) {\n this.opened = false;\n this.activeColor = ev.detail;\n }\n render() {\n return (h(\"section\", null, h(\"button\", { class: `gux-color-picker-main-element${this.opened ? ' gux-color-picker-opened' : ''}`, disabled: this.disabled, onClick: this.clickHandler }, h(\"div\", { class: \"gux-color-picker-selected-color\", style: { background: this.activeColor } }), h(\"div\", { class: \"gux-color-picker-color-name\" }, this.activeColor), h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })), this.opened && (h(\"gux-color-select-legacy\", { value: this.activeColor, onInput: () => this.input, class: \"gux-color-picker-color-select\" }, h(\"slot\", null)))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"valueChangeHandler\"]\n }; }\n};\nGuxColorPickerBeta.style = guxColorPickerCss;\n\nexport { GuxColorPickerBeta as gux_color_picker_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":["GuxColorPickerBeta","hostRef","registerInstance","this","input","createEvent","clickHandler","disabled","opened","trackComponent","root","activeColor","value","newValue","e","relatedTarget","contains","ev","detail","h","class","onClick","style","background","decorative","onInput","getElement","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","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([[1433],{1433:function(t,e,n){n.r(e),n.d(e,{gux_action_toast:function(){return a}});var s=n(4165),i=n(5861),o=n(5671),r=n(3144),c=n(4723),l=n(8125),a=function(){function t(e){(0,o.Z)(this,t),(0,c.r)(this,e)}return(0,r.Z)(t,[{key:"componentWillLoad",value:function(){var t=(0,i.Z)((0,s.Z)().mark((function t(){return(0,s.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,l.t)(this.root);case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){return(0,c.h)(c.H,null,(0,c.h)("div",{class:"gux-header"},(0,c.h)("div",{class:"gux-icon"},(0,c.h)("slot",{name:"icon"})),(0,c.h)("div",{class:"gux-title"},(0,c.h)("slot",{name:"title"}))),(0,c.h)("div",{class:"gux-message"},(0,c.h)("slot",{name:"message"})),(0,c.h)("div",{class:"gux-action-buttons"},(0,c.h)("div",{class:"gux-positive-button"},(0,c.h)("slot",{name:"positive-button"})),(0,c.h)("div",{class:"gux-negative-button"},(0,c.h)("slot",{name:"negative-button"}))))}},{key:"root",get:function(){return(0,c.g)(this)}}]),t}();a.style="gux-action-toast{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start;width:270px;padding:20px 24px;margin-bottom:4px;color:#33383d;background:#f8f8f8;border:1px solid #aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-action-toast .gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-action-toast .gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}gux-action-toast .gux-header .gux-icon gux-icon{width:32px;height:32px}gux-action-toast .gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}gux-action-toast .gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-toast .gux-message dl{display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:0}gux-action-toast .gux-message dl dt{flex:0 1 20%;align-self:auto;order:0;margin:0;color:#33383d;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-action-toast .gux-message dl dd{flex:0 1 80%;align-self:auto;order:0;margin:0}gux-action-toast .gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}gux-action-toast .gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}gux-action-toast .gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}"},8125:function(t,e,n){n.d(e,{t:function(){return c}});var s=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"}},o="spark-library",r=!1;function c(t,e){var n=window.newrelic;n&&(r||(!function(){var t=window.newrelic;if(!t)return;var e=i.version.split("."),n=(0,s.Z)(e,3),r=n[0],c=n[1],l=n[2];t.addPageAction(o,{fullVersion:"".concat(r,".").concat(c,".").concat(l),majorVersion:r,minorVersion:"".concat(r,".").concat(c)})}(),r=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=1433.d57f6003.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/1433.d57f6003.chunk.js","mappings":"kOAKIA,EAAc,WAChB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFT,yFAIhB,oFACEG,EAAAA,EAAAA,GAAeD,KAAKE,MADtB,gDAJgB,0EAOhB,WACE,OAAQC,EAAAA,EAAAA,GAAEC,EAAAA,EAAM,MAAMD,EAAAA,EAAAA,GAAE,MAAO,CAAEE,MAAO,eAAgBF,EAAAA,EAAAA,GAAE,MAAO,CAAEE,MAAO,aAAcF,EAA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CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAAS5D,EAAe6D,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BvD,EAAYC,QAAQwD,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,cAAerE,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-action-toast.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, h, H as Host, g as getElement } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst guxActionToastCss = \"gux-action-toast{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start;width:270px;padding:20px 24px;margin-bottom:4px;color:#33383d;background:#f8f8f8;border:1px solid #aeb9c6;border-radius:4px;box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-action-toast .gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-action-toast .gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}gux-action-toast .gux-header .gux-icon gux-icon{width:32px;height:32px}gux-action-toast .gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}gux-action-toast .gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}gux-action-toast .gux-message dl{display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:0}gux-action-toast .gux-message dl dt{flex:0 1 20%;align-self:auto;order:0;margin:0;color:#33383d;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}gux-action-toast .gux-message dl dd{flex:0 1 80%;align-self:auto;order:0;margin:0}gux-action-toast .gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}gux-action-toast .gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}gux-action-toast .gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}\";\n\nlet GuxActionToast = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n async componentWillLoad() {\n trackComponent(this.root);\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"gux-header\" }, h(\"div\", { class: \"gux-icon\" }, h(\"slot\", { name: \"icon\" })), h(\"div\", { class: \"gux-title\" }, h(\"slot\", { name: \"title\" }))), h(\"div\", { class: \"gux-message\" }, h(\"slot\", { name: \"message\" })), h(\"div\", { class: \"gux-action-buttons\" }, h(\"div\", { class: \"gux-positive-button\" }, h(\"slot\", { name: \"positive-button\" })), h(\"div\", { class: \"gux-negative-button\" }, h(\"slot\", { name: \"negative-button\" })))));\n }\n get root() { return getElement(this); }\n};\nGuxActionToast.style = guxActionToastCss;\n\nexport { GuxActionToast as gux_action_toast };\n","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":["GuxActionToast","hostRef","registerInstance","this","trackComponent","root","h","Host","class","name","getElement","style","packageInfo","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","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([[1498],{1498:function(e,t,n){n.r(t),n.d(t,{gux_form_field_radio_beta:function(){return p}});var i=n(5671),r=n(3144),s=n(4723),o=n(4351),c=n(5618),l=n(997),a=n(8125),u=n(2457),d=function(e,t,n,i){var r,s=arguments.length,o=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(o=(s<3?r(o):s>3?r(t,n,o):r(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o},p=function(){function e(t){(0,i.Z)(this,e),(0,s.r)(this,t),this.hasError=!1}return(0,r.Z)(e,[{key:"onMutation",value:function(){this.hasError=(0,u.h)(this.root)}},{key:"componentWillLoad",value:function(){this.setInput(),this.hasError=(0,u.h)(this.root),(0,a.t)(this.root)}},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect()}},{key:"render",value:function(){var e=this;return(0,s.h)(s.H,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},(0,s.h)("div",{class:"gux-form-field-container"},(0,s.h)("div",{class:"gux-input"},(0,s.h)("slot",{name:"input",onSlotchange:function(){return e.setInput()}}),(0,s.h)("slot",{name:"label"})),(0,s.h)(u.G,{hasError:this.hasError},(0,s.h)("slot",{name:"error"}))))}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('input[type="radio"][slot="input"]'),(0,l.p)(this.input),this.disabled=this.input.disabled,this.disabledObserver=(0,c.o)(this.input,(function(t){e.disabled=t})),(0,u.v)(this.root,this.input)}},{key:"root",get:function(){return(0,s.g)(this)}}]),e}();d([(0,o.O)({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#33383d}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}:host{display:block;color:#33383d}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input{position:relative;height:24px;line-height:24px}::slotted(input[type='radio']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='radio'])::before{grid-area:1;content:'';border-radius:50%}::slotted(input[type='radio']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff;margin:-1px;box-shadow:0 0 0 1px #fdfdfd inset, 0 0 0 4px #aac9ff inset}::slotted(input[type='radio']:not(:checked))::before{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\")}::slotted(input[type='radio']:not(:checked):not(:disabled):hover)::before{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\")}::slotted(input[type='radio']:checked)::before{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\")}::slotted(input[type='radio']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}"},2457:function(e,t,n){n.d(t,{G:function(){return c},a:function(){return u},c:function(){return l},g:function(){return d},h:function(){return a},v:function(){return p}});var i=n(4723),r=n(1782),s=n(2183),o=n(5569),c=function(e,t){var n=e.hasError;return(0,i.h)("div",{class:{"gux-form-field-error":!0,"gux-show":n}},(0,i.h)("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),(0,i.h)("div",{class:"gux-message"},t))};function l(e){(0,o.s)(e,"",!0)}function a(e){return Boolean(e.querySelector('[slot="error"]'))}function u(e){return Boolean(e.value)}function d(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function p(e,t){if(function(e){return Boolean(e.querySelector('label[slot="label"]'))}(e)){var n=e.querySelector('label[slot="label"]'),i=Boolean(t.hasAttribute("id")),o=Boolean(n.hasAttribute("for"));if(!i&&o)(0,s.l)(e.tagName.toLowerCase(),'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!o){var c=t.getAttribute("id");n.setAttribute("for",c)}else i&&o&&t.getAttribute("id")!==n.getAttribute("for")&&(0,s.l)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{var l=(0,r.r)("gux-form-field-input");t.setAttribute("id",l),n.setAttribute("for",l)}}else(0,s.l)(e.tagName.toLowerCase(),'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(a(e)){var u=e.querySelector('[slot="error"]'),d=(0,r.r)("gux-form-field-error");u.setAttribute("id",d),t.setAttribute("aria-describedby",d)}else t.getAttribute("aria-describedby")&&t.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&t.removeAttribute("aria-describedby")}},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 s(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 s},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,s=t.connectedCallback,o=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),o=this[n];return(r=new MutationObserver(o.bind(this))).observe(t,e),s&&s.call(this)},t.disconnectedCallback=function(){return r.disconnect(),o&&o.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 c}});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"}},s="spark-library",o=!1;function c(e,t){var n=window.newrelic;n&&(o||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),o=n[0],c=n[1],l=n[2];e.addPageAction(s,{fullVersion:"".concat(o,".").concat(c,".").concat(l),majorVersion:o,minorVersion:"".concat(o,".").concat(c)})}(),o=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=1498.98292821.chunk.js.map
|