genesys-cloud-client-auth 0.0.2-develop.2 → 1.0.0-develop.4
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 +5 -0
- package/README.md +4 -2
- package/dist/asset-manifest.json +192 -163
- package/dist/deploy-info.json +5 -5
- package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/i18n/ar.json +2 -0
- package/dist/i18n/he.json +2 -0
- package/dist/i18n/pt-pt.json +2 -0
- 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.550a9305.js +3 -0
- package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → main.550a9305.js.LICENSE.txt} +2 -0
- package/dist/static/js/main.550a9305.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 +2 -2
- 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.5f1ec66e.chunk.js +0 -2
- package/dist/static/js/main.5f1ec66e.chunk.js.map +0 -1
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
- package/dist/static/js/runtime-main.bb79d895.js +0 -2
- package/dist/static/js/runtime-main.bb79d895.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/2361.28c72454.chunk.js","mappings":"uMAIIA,EAAiB,WACnB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFN,wCAInB,WACE,IAAMG,EAAYD,KAAKE,KAAKC,QAAQ,mBACpC,GAAIF,EACF,OAAOA,EAAUG,OAGjBC,QAAQC,MAAR,qEAVe,8BAanB,WACE,IACMC,EADaP,KAAKE,KAAKM,WACDD,SAC5B,OAAOA,EAASA,EAASE,OAAS,KAAOT,KAAKE,OAhB7B,2BAkBnB,WACE,OAAKF,KAAKU,MAAQV,KAAKW,oBACbC,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,2BAA4BD,EAAAA,EAAAA,GAAE,OAAQ,QAE3DA,EAAAA,EAAAA,GAAE,IAAK,CAAEC,MAAO,kCAAmCH,KAAMV,KAAKU,OAAQE,EAAAA,EAAAA,GAAE,OAAQ,SAtBvE,8BAwBnB,SAAiBR,GACf,GAAIJ,KAAKW,mBACP,OAAO,KAET,OAAQP,GACN,IAAK,UAIL,QACE,OAAQQ,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,2BAA4B,cAAe,QAAU,KAHlF,IAAK,YACH,OAAQD,EAAAA,EAAAA,GAAE,WAAY,CAAEC,MAAO,2BAA4B,YAAa,sBAAuBC,YAAY,OAhC9F,oBAqCnB,WACE,IAAMV,EAASJ,KAAKe,YACpB,OAAQH,EAAAA,EAAAA,GAAE,OAAQ,CAAEC,MAAO,iCAAF,OAAmCT,IAAYJ,KAAKgB,gBAAiBhB,KAAKiB,iBAAiBb,MAvCnG,gBAyCnB,WAAa,OAAOc,EAAAA,EAAAA,GAAWlB,UAzCZ,KA2CrBH,EAAkBsB,MA7CW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-breadcrumb-item.entry.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\n\nconst guxBreadcrumbItemCss = \"gux-breadcrumb-item .gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:flex-start;align-items:center;justify-content:flex-start}gux-breadcrumb-item .gux-breadcrumb-generation.gux-primary{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content{color:#33383d}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-content.gux-link{color:#2a60c8}gux-breadcrumb-item .gux-breadcrumb-generation .gux-breadcrumb-separator{margin:0 8px;color:#9baab8}gux-breadcrumb-item .gux-breadcrumb-generation gux-icon.gux-breadcrumb-separator{width:16px;height:16px;margin:0 4px}\";\n\nlet GuxBreadcrumbItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n getAccent() {\n const container = this.root.closest('gux-breadcrumbs');\n if (container) {\n return container.accent;\n }\n else {\n console.error(`gux-breadcrumb-item: must be within a gux-breadcrumbs component`);\n }\n }\n isLastBreadcrumb() {\n const parentNode = this.root.parentNode;\n const children = parentNode.children;\n return children[children.length - 1] === this.root;\n }\n getBreadcrumb() {\n if (!this.href || this.isLastBreadcrumb()) {\n return (h(\"span\", { class: \"gux-breadcrumb-content\" }, h(\"slot\", null)));\n }\n return (h(\"a\", { class: \"gux-breadcrumb-content gux-link\", href: this.href }, h(\"slot\", null)));\n }\n getSeparatorIcon(accent) {\n if (this.isLastBreadcrumb()) {\n return null;\n }\n switch (accent) {\n case 'primary':\n return (h(\"span\", { class: \"gux-breadcrumb-separator\", \"aria-hidden\": \"true\" }, \"/\"));\n case 'secondary':\n return (h(\"gux-icon\", { class: \"gux-breadcrumb-separator\", \"icon-name\": \"chevron-small-right\", decorative: true }));\n default:\n return (h(\"span\", { class: \"gux-breadcrumb-separator\", \"aria-hidden\": \"true\" }, \"/\"));\n }\n }\n render() {\n const accent = this.getAccent();\n return (h(\"span\", { class: `gux-breadcrumb-generation gux-${accent}` }, this.getBreadcrumb(), this.getSeparatorIcon(accent)));\n }\n get root() { return getElement(this); }\n};\nGuxBreadcrumbItem.style = guxBreadcrumbItemCss;\n\nexport { GuxBreadcrumbItem as gux_breadcrumb_item };\n"],"names":["GuxBreadcrumbItem","hostRef","registerInstance","this","container","root","closest","accent","console","error","children","parentNode","length","href","isLastBreadcrumb","h","class","decorative","getAccent","getBreadcrumb","getSeparatorIcon","getElement","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2609],{2609:function(t,e,i){i.r(e),i.d(e,{gux_command_palette_beta:function(){return d}});var n=i(4165),s=i(5861),a=i(5671),l=i(3144),u=i(4723),o=i(1901),c=i(8782),r=i(8125),m={recentSearch:"Recently Searched:",commonSearch:"Common Searches:",limited:"Results limited, refine your search for more commands.",search:"Search for commands.",title:"Command Palette"};function g(t){return t.sort((function(t,e){if(t.recent&&!e.recent)return-1;if(!t.recent&&e.recent)return 1;var i=t.text.toUpperCase(),n=e.text.toUpperCase();return i<n?-1:i>n?1:0}))}var d=function(){function t(e){(0,a.Z)(this,t),(0,u.r)(this,e),this.filterValue="",this.visible=!1}return(0,l.Z)(t,[{key:"componentWillLoad",value:function(){var t=(0,s.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(0,r.t)(this.root),t.next=3,(0,c.b)(this.root,m);case 3:this.i18n=t.sent;case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this;return(0,u.h)("div",{class:"gux-command-palette ".concat(this.visible?"":"gux-hidden"),role:"dialog",onKeyDown:function(e){return t.onKeyDown(e)},"aria-label":this.i18n("title")},(0,u.h)("label",{htmlFor:"gux-command-palette-search",class:"gux-command-palette-search-label"},this.i18n("search")),(0,u.h)("gux-input-search",null,(0,u.h)("input",{id:"gux-command-palette-search",type:"search",onInput:function(e){t.handleInput(e)},value:this.filterValue,ref:function(e){return t.inputElement=e}})),this.visible&&this.renderLists())}},{key:"renderLists",value:function(){var t,e=Array.from(this.root.children).slice(0,-1),i=e.filter((function(t){return t.recent})),n=e.filter((function(t){return t.common})),s=this.filterItems(e);if(n.length&&(t=this.createList(n,this.filterValue,this.i18n("commonSearch"))),this.filterValue&&s.length){var a=s.length>50;a&&(s=s.slice(0,50));var l=[(0,u.h)("gux-list",{tabindex:"-1",highlight:this.filterValue},s)];return a&&l.unshift((0,u.h)("div",{class:"gux-limit"},this.i18n("limited"))),1!==s.length&&n.length?[l,t]:l}var o=[];return i.length&&!this.filterValue&&o.push(this.createList(i,this.filterValue,this.i18n("recentSearch"))),t&&o.push(t),o.length?o:(0,u.h)("gux-list",{tabindex:"-1"},this.transformCommands(g(e)))}},{key:"open",value:function(){var t=(0,s.Z)((0,n.Z)().mark((function t(){var e=this;return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.visible=!0,setTimeout((function(){e.inputElement.focus()}),300);case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"close",value:function(){var t=(0,s.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.filterValue="",this.visible=!1;case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"handleInput",value:function(t){this.filterValue=t.target.value}},{key:"filterItems",value:function(t){var e=this;return this.transformCommands(g(t.filter((function(t){return(0,o.m)(e.filterValue,"".concat(t.text," + ").concat(t.details))}))),"")}},{key:"createShortcutItem",value:function(t){return(0,u.h)("gux-list-item",{value:t.text,onPress:this.handlePress(t),class:t.details?"gux-has-details":""},(0,u.h)("div",null,(0,u.h)("gux-text-highlight",{text:t.text,strategy:"fuzzy"}),(0,u.h)("span",{class:"gux-shortcut"},t.shortcut)),t.details&&(0,u.h)("gux-text-highlight",{class:"gux-details",text:t.details,strategy:"fuzzy"}))}},{key:"createStandardItem",value:function(t){return(0,u.h)("gux-list-item",{value:t.text,onPress:this.handlePress(t),class:t.details?"gux-has-details":""},(0,u.h)("gux-text-highlight",{text:t.text,strategy:"fuzzy"}),t.details&&(0,u.h)("gux-text-highlight",{class:"gux-details",text:t.details,strategy:"fuzzy"}))}},{key:"transformCommands",value:function(t,e){var i=this,n=[];return e&&n.push((0,u.h)("strong",null,e)),t.forEach((function(t){t.shortcut?n.push(i.createShortcutItem(t)):n.push(i.createStandardItem(t))})),n}},{key:"handlePress",value:function(t){var e=this;return function(){e.close(),setTimeout((function(){t.invokePress()}))}}},{key:"createList",value:function(t,e,i){return(0,u.h)("gux-list",{highlight:e,tabindex:"-1"},this.transformCommands(g(t),i))}},{key:"onKeyDown",value:function(t){switch(t.key){case"ArrowUp":this.navigateUp();break;case"ArrowDown":this.navigateDown()}}},{key:"elementIsSearch",value:function(t){return null!==t.closest("gux-input-search")}},{key:"getParentGuxList",value:function(t){return t.closest("gux-list")}},{key:"setFocusOnElement",value:function(t){var e=t;e&&e.setFocusOnLastItem?e.setFocusOnLastItem():this.inputElement.focus()}},{key:"navigateUp",value:function(){var t=this,e=this.root.querySelector(":focus");if(!this.elementIsSearch(e)){var i=this.getParentGuxList(e);i&&i.isFirstItemSelected().then((function(e){e&&t.setFocusOnElement(i.previousElementSibling)}))}}},{key:"navigateDown",value:function(){var t=this,e=this.root.querySelector(":focus");if(this.elementIsSearch(e))this.root.querySelector("gux-list").setFocusOnFirstItem();else{var i=this.getParentGuxList(e);i&&i.isLastItemSelected().then((function(e){e&&t.setFocusOnElement(i.nextElementSibling)}))}}},{key:"root",get:function(){return(0,u.g)(this)}}]),t}();d.style="gux-command-palette-beta .gux-command-palette{position:absolute;right:0;left:0;max-width:750px;padding:12px;margin:0 auto;border-color:1px solid #e4e9f0;box-shadow:0 0 2px 0 rgba(34, 37, 41, 0.24)}gux-command-palette-beta .gux-command-palette .gux-command-palette-search-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-command-palette-beta .gux-command-palette.gux-hidden{top:0;display:none}gux-command-palette-beta .gux-command-palette:not(.gux-hidden){top:40px;animation-name:fadeIn;animation-duration:300ms;animation-timing-function:ease-in;animation-iteration-count:1}@keyframes fadeIn{0%{top:0;opacity:0}100%{top:40px;opacity:1}}gux-command-palette-beta .gux-command-palette .gux-limit{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list{display:block;margin-top:4px}gux-command-palette-beta .gux-command-palette gux-list>div[role='list']>strong{height:32px;padding:0 16px;line-height:32px}gux-command-palette-beta .gux-command-palette gux-text-field,gux-command-palette-beta .gux-command-palette gux-list>div[role='list']{margin-bottom:12px}gux-command-palette-beta .gux-command-palette gux-list+gux-list>div[role='list']{margin-bottom:0}gux-command-palette-beta .gux-command-palette gux-list gux-list-item.gux-has-details .gux-list-item{line-height:16px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item{display:block;line-height:32px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight,gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-shortcut{display:block}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div{display:flex;padding:0;border:none;box-shadow:none}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div gux-text-highlight{flex:1 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div .gux-shortcut{flex:0 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight:last-child{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{margin-left:4px;font-size:11px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type div:last-child{margin-bottom:0}.gux-command-palette-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}.gux-light-theme gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta.gux-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}"},1901:function(t,e,i){i.d(e,{g:function(){return u},m:function(){return l}});var n=/[ +]/g,s=new Map,a=new Map;function l(t,e){var i=s.get(t);return i||(i=function(t){var e=t.split(n).map(o);if(1===e.length)return new RegExp(e[0],"i");var i="(";return e.forEach((function(t,n){i+=t+").*",n!==e.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),s.set(t,i)),i.test(e)}function u(t){return t.split(n).map(o).map((function(t){var e=a.get(t);return e||(e=new RegExp(t,"i"),a.set(t,e)),e}))}function o(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}},8125:function(t,e,i){i.d(e,{t:function(){return u}});var n=i(885),s={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"}},a="spark-library",l=!1;function u(t,e){var i=window.newrelic;i&&(l||(!function(){var t=window.newrelic;if(!t)return;var e=s.version.split("."),i=(0,n.Z)(e,3),l=i[0],u=i[1],o=i[2];t.addPageAction(a,{fullVersion:"".concat(l,".").concat(u,".").concat(o),majorVersion:l,minorVersion:"".concat(l,".").concat(u)})}(),l=!0),i.addPageAction("spark-component",Object.assign(Object.assign({},e),{component:t.tagName.toLowerCase(),version:s.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=2609.69b7ee3f.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/2609.69b7ee3f.chunk.js","mappings":"8PAUMA,EAAmB,CACxBC,aANoB,qBAOpBC,aANoB,mBAOpBC,QANe,yDAOfC,OANc,uBAOdC,MANa,mBAad,SAASC,EAAYC,GACnB,OAAOA,EAAMC,MAAK,SAACC,EAAGC,GACpB,GAAID,EAAEE,SAAWD,EAAEC,OACjB,OAAQ,EAEV,IAAKF,EAAEE,QAAUD,EAAEC,OACjB,OAAO,EAET,IAAMC,EAAQH,EAAEI,KAAKC,cACfC,EAAQL,EAAEG,KAAKC,cACrB,OAAIF,EAAQG,GACF,EAENH,EAAQG,EACH,EAEF,KAGX,IAAIC,EAAiB,WACnB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAIvBE,KAAKC,YAAc,GAInBD,KAAKE,SAAU,EAVE,yFAYnB,0FACEC,EAAAA,EAAAA,GAAeH,KAAKI,MADtB,UAEoBC,EAAAA,EAAAA,GAAsBL,KAAKI,KAAMvB,GAFrD,OAEEmB,KAAKM,KAFP,uDAZmB,0EAgBnB,WAAS,WACP,OAAQC,EAAAA,EAAAA,GAAE,MAAO,CAAEC,MAAO,uBAAF,OAAyBR,KAAKE,QAAU,GAAK,c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ACtB,cAAe,SACf,mBAAoB,SACpBC,UAAW,WACX,4BAA6B,SAC7B,gCAAiC,SACjC,4BAA6B,UAC7BC,KAAM,SACN,YAAa,SACbC,OAAQ,SACR,yBAA0B,UAC1BC,WAAY,UACZC,UAAW,SACXC,OAAQ,UA0DRC,WAxDkB,CAClBzI,KAAM,MACN0I,IAAK,uDAuDLC,OArDc,CACdpB,WAAY,CACXqB,KAAM,6CAoDPC,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHX,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDW,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAAS5J,EAAe6J,EAASC,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAH,KASP,WACE,IAAMG,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BrD,EAAYE,QAAQf,MAAM,KAAxD,eAAOoE,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAJ,EAASK,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBG,EAASK,cAlBiB,kBAkBkBK,OAAOC,OAAOD,OAAOC,OAAO,GAAIZ,GAAW,CAAEa,UAAWd,EAAQe,QAAQC,cAAejE,QAASF,EAAYE","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-command-palette-beta.entry.js","../node_modules/@genesys/common-webcomponents/dist/esm/search-2ca67cb1.js","../node_modules/@genesys/common-webcomponents/dist/esm/usage-tracking-e9646da2.js"],"sourcesContent":["import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { m as matchesFuzzy } from './search-2ca67cb1.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nconst recentSearch = \"Recently Searched:\";\nconst commonSearch = \"Common Searches:\";\nconst limited = \"Results limited, refine your search for more commands.\";\nconst search = \"Search for commands.\";\nconst title = \"Command Palette\";\nconst paletteResources = {\n\trecentSearch: recentSearch,\n\tcommonSearch: commonSearch,\n\tlimited: limited,\n\tsearch: search,\n\ttitle: title\n};\n\nconst guxCommandPaletteCss = \"gux-command-palette-beta .gux-command-palette{position:absolute;right:0;left:0;max-width:750px;padding:12px;margin:0 auto;border-color:1px solid #e4e9f0;box-shadow:0 0 2px 0 rgba(34, 37, 41, 0.24)}gux-command-palette-beta .gux-command-palette .gux-command-palette-search-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-command-palette-beta .gux-command-palette.gux-hidden{top:0;display:none}gux-command-palette-beta .gux-command-palette:not(.gux-hidden){top:40px;animation-name:fadeIn;animation-duration:300ms;animation-timing-function:ease-in;animation-iteration-count:1}@keyframes fadeIn{0%{top:0;opacity:0}100%{top:40px;opacity:1}}gux-command-palette-beta .gux-command-palette .gux-limit{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list{display:block;margin-top:4px}gux-command-palette-beta .gux-command-palette gux-list>div[role='list']>strong{height:32px;padding:0 16px;line-height:32px}gux-command-palette-beta .gux-command-palette gux-text-field,gux-command-palette-beta .gux-command-palette gux-list>div[role='list']{margin-bottom:12px}gux-command-palette-beta .gux-command-palette gux-list+gux-list>div[role='list']{margin-bottom:0}gux-command-palette-beta .gux-command-palette gux-list gux-list-item.gux-has-details .gux-list-item{line-height:16px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item{display:block;line-height:32px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight,gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-shortcut{display:block}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div{display:flex;padding:0;border:none;box-shadow:none}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div gux-text-highlight{flex:1 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item div .gux-shortcut{flex:0 1 auto}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item gux-text-highlight:last-child{margin-bottom:8px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{margin-left:4px;font-size:11px}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:last-of-type div:last-child{margin-bottom:0}.gux-command-palette-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-command-palette-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}.gux-light-theme gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}.gux-light-theme gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta.gux-light-theme .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta.gux-light-theme .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}gux-command-palette-beta .gux-command-palette{color:#33383d;background:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item div,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item div{color:#fdfdfd;background:#2a60c8}gux-command-palette-beta .gux-command-palette gux-list gux-list-item:focus .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:active .gux-list-item .gux-details,gux-command-palette-beta .gux-command-palette gux-list gux-list-item:hover .gux-list-item .gux-details{color:#fdfdfd}gux-command-palette-beta .gux-command-palette gux-list gux-list-item .gux-list-item .gux-details{color:#77828f}\";\n\nconst filterLimit = 50;\nconst animationDuration = 300; // this 300ms duration must be kept in sync with the 300ms transition in the CSS and delay in the e2e tests\nfunction sortActions(items) {\n return items.sort((a, b) => {\n if (a.recent && !b.recent) {\n return -1;\n }\n if (!a.recent && b.recent) {\n return 1;\n }\n const aText = a.text.toUpperCase();\n const bText = b.text.toUpperCase();\n if (aText < bText) {\n return -1;\n }\n if (aText > bText) {\n return 1;\n }\n return 0;\n });\n}\nlet GuxCommandPalette = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The current search value.\n */\n this.filterValue = '';\n /**\n * If the command palette is shown.\n */\n this.visible = false;\n }\n async componentWillLoad() {\n trackComponent(this.root);\n this.i18n = await buildI18nForComponent(this.root, paletteResources);\n }\n render() {\n return (h(\"div\", { class: `gux-command-palette ${this.visible ? '' : 'gux-hidden'}`, role: \"dialog\", onKeyDown: e => this.onKeyDown(e), \"aria-label\": this.i18n('title') }, h(\"label\", { htmlFor: \"gux-command-palette-search\", class: \"gux-command-palette-search-label\" }, this.i18n('search')), h(\"gux-input-search\", null, h(\"input\", { id: \"gux-command-palette-search\", type: \"search\", onInput: (event) => {\n this.handleInput(event);\n }, value: this.filterValue, ref: el => (this.inputElement = el) })), this.visible && this.renderLists()));\n }\n renderLists() {\n const allItems = Array.from(this.root.children).slice(0, -1);\n const recentItems = allItems.filter(item => item.recent);\n const commonItems = allItems.filter(item => item.common);\n let filteredItems = this.filterItems(allItems);\n let commonList;\n if (commonItems.length) {\n commonList = this.createList(commonItems, this.filterValue, this.i18n('commonSearch'));\n }\n if (this.filterValue && filteredItems.length) {\n const filterExceeded = filteredItems.length > filterLimit;\n if (filterExceeded) {\n filteredItems = filteredItems.slice(0, filterLimit);\n }\n const filterList = [\n h(\"gux-list\", { tabindex: \"-1\", highlight: this.filterValue }, filteredItems)\n ];\n if (filterExceeded) {\n filterList.unshift(h(\"div\", { class: \"gux-limit\" }, this.i18n('limited')));\n }\n if (filteredItems.length !== 1 && commonItems.length) {\n return [filterList, commonList];\n }\n return filterList;\n }\n const lists = [];\n if (recentItems.length && !this.filterValue) {\n lists.push(this.createList(recentItems, this.filterValue, this.i18n('recentSearch')));\n }\n if (commonList) {\n lists.push(commonList);\n }\n if (!lists.length) {\n return (h(\"gux-list\", { tabindex: \"-1\" }, this.transformCommands(sortActions(allItems))));\n }\n return lists;\n }\n /**\n * Opens the command palette.\n */\n async open() {\n this.visible = true;\n setTimeout(() => {\n this.inputElement.focus();\n }, animationDuration);\n }\n /**\n * Closes the command palette.\n */\n async close() {\n this.filterValue = '';\n this.visible = false;\n }\n handleInput(event) {\n this.filterValue = event.target.value;\n }\n filterItems(items) {\n return this.transformCommands(sortActions(items.filter((item) => {\n return matchesFuzzy(this.filterValue, `${item.text} + ${item.details}`);\n })), '');\n }\n createShortcutItem(command) {\n return (h(\"gux-list-item\", { value: command.text, onPress: this.handlePress(command), class: (command.details && 'gux-has-details') || '' }, h(\"div\", null, h(\"gux-text-highlight\", { text: command.text, strategy: \"fuzzy\" }), h(\"span\", { class: \"gux-shortcut\" }, command.shortcut)), command.details && (h(\"gux-text-highlight\", { class: \"gux-details\", text: command.details, strategy: \"fuzzy\" }))));\n }\n createStandardItem(command) {\n return (h(\"gux-list-item\", { value: command.text, onPress: this.handlePress(command), class: (command.details && 'gux-has-details') || '' }, h(\"gux-text-highlight\", { text: command.text, strategy: \"fuzzy\" }), command.details && (h(\"gux-text-highlight\", { class: \"gux-details\", text: command.details, strategy: \"fuzzy\" }))));\n }\n transformCommands(commands, header) {\n const retVal = [];\n if (header) {\n retVal.push(h(\"strong\", null, header));\n }\n commands.forEach((command) => {\n if (command.shortcut) {\n retVal.push(this.createShortcutItem(command));\n return;\n }\n retVal.push(this.createStandardItem(command));\n });\n return retVal;\n }\n handlePress(command) {\n return () => {\n this.close();\n setTimeout(() => {\n command.invokePress();\n });\n };\n }\n createList(items, filter, header) {\n return (h(\"gux-list\", { highlight: filter, tabindex: \"-1\" }, this.transformCommands(sortActions(items), header)));\n }\n onKeyDown(event) {\n switch (event.key) {\n case 'ArrowUp':\n this.navigateUp();\n break;\n case 'ArrowDown':\n this.navigateDown();\n break;\n }\n }\n elementIsSearch(el) {\n return el.closest('gux-input-search') !== null;\n }\n getParentGuxList(el) {\n return el.closest('gux-list');\n }\n setFocusOnElement(el) {\n const listElement = el;\n if (listElement && listElement.setFocusOnLastItem) {\n listElement.setFocusOnLastItem();\n return;\n }\n this.inputElement.focus();\n }\n navigateUp() {\n const focusedElement = this.root.querySelector(':focus');\n if (this.elementIsSearch(focusedElement)) {\n // Already at the top, don't need to focus elsewhere\n return;\n }\n const guxList = this.getParentGuxList(focusedElement);\n if (!guxList) {\n return;\n }\n guxList.isFirstItemSelected().then(firstSelected => {\n if (!firstSelected) {\n // Let the GUX List handle navigation through the list\n return;\n }\n // Manually jump to the previous element\n this.setFocusOnElement(guxList.previousElementSibling);\n });\n }\n navigateDown() {\n const focusedElement = this.root.querySelector(':focus');\n if (this.elementIsSearch(focusedElement)) {\n this.root.querySelector('gux-list').setFocusOnFirstItem();\n return;\n }\n const guxList = this.getParentGuxList(focusedElement);\n if (!guxList) {\n return;\n }\n guxList.isLastItemSelected().then(lastSelected => {\n if (!lastSelected) {\n // Let the GUX List handle navigation through the list\n return;\n }\n // Manually jump to the next element\n this.setFocusOnElement(guxList.nextElementSibling);\n });\n }\n get root() { return getElement(this); }\n};\nGuxCommandPalette.style = guxCommandPaletteCss;\n\nexport { GuxCommandPalette as gux_command_palette_beta };\n","const conversion = /[ +]/g;\nconst expressions = new Map();\nconst replacements = new Map();\nfunction matchesFuzzy(sourceWord, targetWord) {\n let exp = expressions.get(sourceWord);\n if (!exp) {\n exp = convertToRegex(sourceWord);\n expressions.set(sourceWord, exp);\n }\n return exp.test(targetWord);\n}\nfunction getFuzzyReplacements(sourceWord) {\n return sourceWord\n .split(conversion)\n .map(makeRegexSafe)\n .map(word => {\n let exp = replacements.get(word);\n if (!exp) {\n exp = new RegExp(word, 'i');\n replacements.set(word, exp);\n }\n return exp;\n });\n}\nfunction makeRegexSafe(str) {\n return str.replace(/[\\^$*+?.(){}[\\]\\\\]/g, '\\\\$&');\n}\nfunction convertToRegex(word) {\n const parts = word.split(conversion).map(makeRegexSafe);\n if (parts.length === 1) {\n return new RegExp(parts[0], 'i');\n }\n let newexp = `(`;\n parts.forEach((part, index) => {\n newexp += part + ').*';\n if (index !== parts.length - 1) {\n newexp += `(`;\n }\n });\n return new RegExp(newexp + '$', 'i');\n}\n\nexport { getFuzzyReplacements as g, matchesFuzzy as m };\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":["paletteResources","recentSearch","commonSearch","limited","search","title","sortActions","items","sort","a","b","recent","aText","text","toUpperCase","bText","GuxCommandPalette","hostRef","registerInstance","this","filterValue","visible","trackComponent","root","buildI18nForComponent","i18n","h","class","role","onKeyDown","e","htmlFor","id","type","onInput","event","handleInput","value","ref","el","inputElement","renderLists","commonList","allItems","Array","from","children","slice","recentItems","filter","item","commonItems","common","filteredItems","filterItems","length","createList","filterExceeded","filterList","tabindex","highlight","unshift","lists","push","transformCommands","setTimeout","focus","target","matchesFuzzy","details","command","onPress","handlePress","strategy","shortcut","commands","header","retVal","forEach","createShortcutItem","createStandardItem","close","invokePress","key","navigateUp","navigateDown","closest","listElement","setFocusOnLastItem","focusedElement","querySelector","elementIsSearch","guxList","getParentGuxList","isFirstItemSelected","then","firstSelected","setFocusOnElement","previousElementSibling","setFocusOnFirstItem","isLastItemSelected","lastSelected","nextElementSibling","getElement","style","conversion","expressions","Map","replacements","sourceWord","targetWord","exp","get","word","parts","split","map","makeRegexSafe","RegExp","newexp","part","index","convertToRegex","set","test","getFuzzyReplacements","str","replace","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","lint","predev","prepare","release","stencil","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","element","metadata","newrelic","window","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([[2618],{2618:function(o,t,n){n.r(t),n.d(t,{gux_tab_dropdown_option:function(){return i}});var d=n(5671),p=n(3144),r=n(4723),i=function(){function o(t){(0,d.Z)(this,o),(0,r.r)(this,t)}return(0,p.Z)(o,[{key:"render",value:function(){return(0,r.h)("button",{class:"tab-dropdown-option"},(0,r.h)("gux-icon",{"icon-name":this.iconName,decorative:!0}),(0,r.h)("span",null,(0,r.h)("slot",null)))}}]),o}();i.style="gux-tab-dropdown-option .tab-dropdown-option{display:flex;align-items:center;width:120px;height:36px;padding:0;font-size:12px;cursor:pointer;background:none;border:none;transition:color 0.25s, background-color 0.25s}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{outline:none}gux-tab-dropdown-option .tab-dropdown-option gux-icon{width:16px;height:16px;margin:0 10px}.gux-tab-dropdown-option-light-theme .tab-dropdown-option{color:#33383d}.gux-tab-dropdown-option-light-theme .tab-dropdown-option:hover,.gux-tab-dropdown-option-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:hover,.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:hover,gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}"}}]);
|
|
2
|
+
//# sourceMappingURL=2618.08776cf8.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/2618.08776cf8.chunk.js","mappings":"2MAIIA,EAAoB,WACtB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GAFH,qCAItB,WACE,OAAQG,EAAAA,EAAAA,GAAE,SAAU,CAAEC,MAAO,wBAAyBD,EAAAA,EAAAA,GAAE,WAAY,CAAE,YAAaD,KAAKG,SAAUC,YAAY,KAASH,EAAAA,EAAAA,GAAE,OAAQ,MAAMA,EAAAA,EAAAA,GAAE,OAAQ,YAL7H,KAQxBJ,EAAqBQ,MAVW","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-tab-dropdown-option.entry.js"],"sourcesContent":["import { r as registerInstance, h } from './index-5f3763b4.js';\n\nconst guxTabDropdownOptionCss = \"gux-tab-dropdown-option .tab-dropdown-option{display:flex;align-items:center;width:120px;height:36px;padding:0;font-size:12px;cursor:pointer;background:none;border:none;transition:color 0.25s, background-color 0.25s}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{outline:none}gux-tab-dropdown-option .tab-dropdown-option gux-icon{width:16px;height:16px;margin:0 10px}.gux-tab-dropdown-option-light-theme .tab-dropdown-option{color:#33383d}.gux-tab-dropdown-option-light-theme .tab-dropdown-option:hover,.gux-tab-dropdown-option-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:hover,.gux-light-theme gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:hover,gux-tab-dropdown-option.gux-light-theme .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}gux-tab-dropdown-option .tab-dropdown-option{color:#33383d}gux-tab-dropdown-option .tab-dropdown-option:hover,gux-tab-dropdown-option .tab-dropdown-option:focus{color:#fdfdfd;background-color:#2a60c8}\";\n\nlet GuxTabDropdownOption = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(\"button\", { class: \"tab-dropdown-option\" }, h(\"gux-icon\", { \"icon-name\": this.iconName, decorative: true }), h(\"span\", null, h(\"slot\", null))));\n }\n};\nGuxTabDropdownOption.style = guxTabDropdownOptionCss;\n\nexport { GuxTabDropdownOption as gux_tab_dropdown_option };\n"],"names":["GuxTabDropdownOption","hostRef","registerInstance","this","h","class","iconName","decorative","style"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkreact_app=self.webpackChunkreact_app||[]).push([[2657],{2657:function(e,t,n){n.r(t),n.d(t,{gux_toggle:function(){return c}});var s=n(5671),i=n(3144),l=n(4723),r=n(8125),c=function(){function e(t){(0,s.Z)(this,e),(0,l.r)(this,t),this.check=(0,l.c)(this,"check",7),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right"}return(0,i.Z)(e,[{key:"onClick",value:function(){this.toggle()}},{key:"onKeydown",value:function(e){switch(e.key){case"Enter":case" ":e.preventDefault(),this.toggle()}}},{key:"toggle",value:function(){this.disabled||this.loading||(this.checked=!this.checked,this.check.emit(this.checked))}},{key:"getAriaLabel",value:function(){return(this.checked?this.checkedLabel:this.uncheckedLabel)||this.root.getAttribute("aria-label")||this.root.title}},{key:"componentWillLoad",value:function(){var e=this.checkedLabel||this.uncheckedLabel?"labled":"unlabled";(0,r.t)(this.root,{variant:e})}},{key:"renderLoading",value:function(){if(this.loading)return(0,l.h)("div",{class:"gux-toggle-label-loading"},(0,l.h)("gux-radial-loading",{context:"input"}))}},{key:"renderLabel",value:function(){if(this.uncheckedLabel&&this.checkedLabel){var e=this.checked?this.checkedLabel:this.uncheckedLabel;return(0,l.h)("div",{class:"gux-toggle-label-and-error"},(0,l.h)("div",{class:"gux-toggle-label"},(0,l.h)("div",{class:"gux-toggle-label-text"},e),this.renderLoading()))}}},{key:"renderError",value:function(){if(this.errorMessage)return(0,l.h)("div",{class:"gux-toggle-error"},(0,l.h)("gux-error-message-beta",null,this.errorMessage))}},{key:"render",value:function(){return(0,l.h)("div",{class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading},role:"checkbox","aria-checked":Boolean(this.checked).toString(),"aria-label":this.getAriaLabel()},(0,l.h)("div",{class:"gux-toggle-input"},(0,l.h)("gux-toggle-slider",{checked:this.checked,disabled:this.disabled||this.loading}),this.renderLabel()),this.renderError())}},{key:"root",get:function(){return(0,l.g)(this)}}],[{key:"delegatesFocus",get:function(){return!0}}]),e}();c.style=":host{display:block;margin:2px;color:#33383d;outline:none}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse;text-align:right}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}"},8125:function(e,t,n){n.d(t,{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"}},l="spark-library",r=!1;function c(e,t){var n=window.newrelic;n&&(r||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,s.Z)(t,3),r=n[0],c=n[1],o=n[2];e.addPageAction(l,{fullVersion:"".concat(r,".").concat(c,".").concat(o),majorVersion:r,minorVersion:"".concat(r,".").concat(c)})}(),r=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=2657.08f5fe94.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/2657.08f5fe94.chunk.js","mappings":"wMAKIA,EAAS,WACX,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GACxCA,KAAKG,SAAU,EACfH,KAAKI,UAAW,EAChBJ,KAAKK,SAAU,EACfL,KAAKM,cAAgB,QAPZ,sCASX,WACEN,KAAKO,WAVI,uBAYX,SAAUC,GACR,OAAQA,EAAMC,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,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-toggle.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 guxToggleCss = \":host{display:block;margin:2px;color:#33383d;outline:none}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse;text-align:right}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}\";\n\nlet GuxToggle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.check = createEvent(this, \"check\", 7);\n this.checked = false;\n this.disabled = false;\n this.loading = false;\n this.labelPosition = 'right';\n }\n onClick() {\n this.toggle();\n }\n onKeydown(event) {\n switch (event.key) {\n case 'Enter':\n case ' ':\n event.preventDefault();\n this.toggle();\n }\n }\n toggle() {\n if (!this.disabled && !this.loading) {\n this.checked = !this.checked;\n this.check.emit(this.checked);\n }\n }\n getAriaLabel() {\n const label = this.checked ? this.checkedLabel : this.uncheckedLabel;\n return label || this.root.getAttribute('aria-label') || this.root.title;\n }\n componentWillLoad() {\n const variant = this.checkedLabel || this.uncheckedLabel ? 'labled' : 'unlabled';\n trackComponent(this.root, { variant });\n }\n renderLoading() {\n if (this.loading) {\n return (h(\"div\", { class: \"gux-toggle-label-loading\" }, h(\"gux-radial-loading\", { context: \"input\" })));\n }\n }\n renderLabel() {\n if (this.uncheckedLabel && this.checkedLabel) {\n const labelText = this.checked ? this.checkedLabel : this.uncheckedLabel;\n return (h(\"div\", { class: \"gux-toggle-label-and-error\" }, h(\"div\", { class: \"gux-toggle-label\" }, h(\"div\", { class: \"gux-toggle-label-text\" }, labelText), this.renderLoading())));\n }\n }\n renderError() {\n if (this.errorMessage) {\n return (h(\"div\", { class: \"gux-toggle-error\" }, h(\"gux-error-message-beta\", null, this.errorMessage)));\n }\n }\n render() {\n return (h(\"div\", { class: {\n 'gux-toggle-container': true,\n 'gux-toggle-label-left': this.labelPosition === 'left',\n 'gux-disabled': this.disabled || this.loading\n }, role: \"checkbox\", \"aria-checked\": Boolean(this.checked).toString(), \"aria-label\": this.getAriaLabel() }, h(\"div\", { class: \"gux-toggle-input\" }, h(\"gux-toggle-slider\", { checked: this.checked, disabled: this.disabled || this.loading }), this.renderLabel()), this.renderError()));\n }\n static get delegatesFocus() { return true; }\n get root() { return getElement(this); }\n};\nGuxToggle.style = guxToggleCss;\n\nexport { GuxToggle as gux_toggle };\n","const name = \"@genesys/common-webcomponents\";\nconst version = \"2.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":["GuxToggle","hostRef","registerInstance","this","check","createEvent","checked","disabled","loading","labelPosition","toggle","event","key","preventDefault","emit","checkedLabel","uncheckedLabel","root","getAttribute","title","variant","trackComponent","h","class","context","labelText","renderLoading","errorMessage","role","Boolean","toString","getAriaLabel","renderLabel","renderError","getElement","style","packageInfo","name","version","description","license","main","types","collection","files","scripts","build","clean","commit","dev","docs","format","i18n","lint","predev","prepare","release","stencil","test","dependencies","sortablejs","devDependencies","commitizen","concurrently","glob","handlebars","husky","inquirer","jest","jsdom","marked","prettier","puppeteer","rollup","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","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([[2939],{5361:function(e,t,n){n.d(t,{G:function(){return s},a:function(){return o}});var i=n(4942),r=n(4723),o=function(e,t){var n=e.labelPosition;return(0,r.h)("div",{class:(0,i.Z)({"gux-form-field-container":!0},"gux-".concat(n),!0)},t)},s=function(e,t){var n,o=e.position,s=e.required;return(0,r.h)("div",{class:(n={"gux-form-field-label":!0},(0,i.Z)(n,"gux-".concat(o),!0),(0,i.Z)(n,"gux-required",s),n)},t)}},2939:function(e,t,n){n.r(t),n.d(t,{gux_form_field_number_beta:function(){return v}});var i=n(4165),r=n(5861),o=n(5671),s=n(3144),a=n(4723),c=n(8782),u=n(4351),l=n(5618),d=n(997),p=n(8125),f=n(5569),h=n(6863),b=n(5361),g=n(2457),m={increment:"Increment",decrement:"Decrement"},x=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},v=function(){function e(t){(0,o.Z)(this,e),(0,a.r)(this,t),this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1}return(0,s.Z)(e,[{key:"onMutation",value:function(){this.hasError=(0,g.h)(this.root)}},{key:"componentWillLoad",value:function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.b)(this.root,m);case 2:this.getI18nValue=e.sent,this.setInput(),this.setLabel(),this.hasError=(0,g.h)(this.root),(0,p.t)(this.root,{variant:this.variant});case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}},{key:"render",value:function(){var e=this,t=this.clearable&&this.hasContent&&!this.disabled;return(0,a.h)(b.a,{labelPosition:this.computedLabelPosition},(0,a.h)(b.G,{position:this.computedLabelPosition,required:this.required},(0,a.h)("slot",{name:"label",onSlotchange:function(){return e.setLabel()}})),(0,a.h)("div",{class:"gux-input-and-error-container"},(0,a.h)("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},(0,a.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":t}},(0,a.h)("slot",{name:"input",onSlotchange:function(){return e.setInput()}}),t&&(0,a.h)("gux-form-field-input-clear-button",{onClick:function(){return(0,g.c)(e.input)}})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),(0,a.h)(g.G,{hasError:this.hasError},(0,a.h)("slot",{name:"error"}))))}},{key:"variant",get:function(){var e=this.labelPosition?this.labelPosition.toLowerCase():"none",t=this.clearable?"clearable":"unclearable";return"".concat(t,"-").concat(e)}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('input[type="number"][slot="input"]'),this.hasContent=(0,g.a)(this.input),(0,d.p)(this.input),this.input.addEventListener("input",(function(){e.hasContent=(0,g.a)(e.input)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=(0,l.o)(this.input,(function(t){e.disabled=t})),this.requiredObserver=(0,l.a)(this.input,(function(t){e.required=t})),(0,g.v)(this.root,this.input)}},{key:"setLabel",value:function(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=(0,g.g)(this.label,this.labelPosition)}},{key:"renderStepButtons",value:function(e,t,n){var i=this;return(0,a.h)("div",{class:"gux-step-buttons-container"},(0,a.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("increment"),disabled:n,onClick:function(){return i.stepUp(e)}},(0,a.h)("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),(0,a.h)("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("decrement"),disabled:n,onClick:function(){return i.stepDown(e)}},(0,a.h)("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}},{key:"stepDown",value:function(e){""===e.value?(0,f.s)(e,e.min||"0",!1):(e.stepDown(),this.simulateNativeInputAndChangeEvents(e))}},{key:"stepUp",value:function(e){""===e.value?(0,f.s)(e,e.min||"0",!1):(e.stepUp(),this.simulateNativeInputAndChangeEvents(e))}},{key:"simulateNativeInputAndChangeEvents",value:function(e){(0,h.s)(e,"input"),(0,h.s)(e,"change")}},{key:"root",get:function(){return(0,a.g)(this)}}]),e}();x([(0,u.O)({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#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}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#33383d;text-align:right;text-overflow:ellipsis;background-color:#f8f8f8;border:none;outline:none}::slotted(input)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}"},2457:function(e,t,n){n.d(t,{G:function(){return a},a:function(){return l},c:function(){return c},g:function(){return d},h:function(){return u},v:function(){return p}});var i=n(4723),r=n(1782),o=n(2183),s=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,s.s)(e,"",!0)}function u(e){return Boolean(e.querySelector('[slot="error"]'))}function l(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")),s=Boolean(n.hasAttribute("for"));if(!i&&s)(0,o.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&&!s){var a=t.getAttribute("id");n.setAttribute("for",a)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&(0,o.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,o.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(u(e)){var l=e.querySelector('[slot="error"]'),d=(0,r.r)("gux-form-field-error");l.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 o(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,{a:function(){return o},b:function(){return i},o:function(){return r}})},4351:function(e,t,n){n.d(t,{O:function(){return r}});var i=n(4723);function r(e){return function(t,n){var r,o=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),s=this[n];return(r=new MutationObserver(s.bind(this))).observe(t,e),o&&o.call(this)},t.disconnectedCallback=function(){return r.disconnect(),s&&s.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"}},o="spark-library",s=!1;function a(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),s=n[0],a=n[1],c=n[2];e.addPageAction(o,{fullVersion:"".concat(s,".").concat(a,".").concat(c),majorVersion:s,minorVersion:"".concat(s,".").concat(a)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=2939.a53af515.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/2939.a53af515.chunk.js","mappings":"2LAEMA,EAAwB,SAAC,EAAmBC,GAAa,IAA9BC,EAA8B,EAA9BA,cAC/B,OAAQC,EAAAA,EAAAA,GAAE,MAAO,CAAEC,OAAO,QACtB,4BAA4B,GADR,cAEZF,IAAkB,IACvBD,IAGHI,EAAoB,SAAC,EAAwBJ,GAAa,MAAnCK,EAAmC,EAAnCA,SAAUC,EAAyB,EAAzBA,SACrC,OAAQJ,EAAAA,EAAAA,GAAE,MAAO,CAAEC,OAAK,GACpB,wBAAwB,IADJ,uBAEZE,IAAa,IAFD,SAGpB,eAAgBC,GAHI,IAIjBN,K,oOCCHO,EAAqB,CAC1BC,UAHiB,YAIjBC,UAHiB,aAQdC,EAAoD,SAAUC,EAAYC,EAAQC,EAAKC,GACzF,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,E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,YAAa,SACbC,OAAQ,SACR,yBAA0B,UAC1BC,WAAY,UACZC,UAAW,SACXC,OAAQ,UA0DRC,WAxDkB,CAClBzH,KAAM,MACN0H,IAAK,uDAuDLC,OArDc,CACdpB,WAAY,CACXqB,KAAM,6CAoDPC,WAjDkB,CAClB,QAAW,CACV,mCAEDC,MAAO,CACN,eAAgB,CACf,EACA,QACA,CACC,cACA,iBAwCHX,UAnCiB,CACjB,QAAW,CACV,4BACA,gCACA,6BAEDW,MAAO,CACN,4BAA6B,KAC7B,yBAA0B,KAC1B,2BAA4B,EAC3B,EACA,CACCC,YAAa,CACZ,UACA,sBAsBJ,cAAe,CACf,oBAAqB,CACpB,kBACA,oBAED,aAAc,CACb,eACA,oBAED,kBAAmB,mBACnB,QAAS,YAIJC,EAAoB,gBAEtBC,GAAqB,EAKzB,SAAS5J,EAAeqE,EAASwF,GAC/B,IAAMC,EAAWC,OAAOD,SACnBA,IAMAF,KASP,WACE,IAAME,EAAWC,OAAOD,SACxB,IAAKA,EACH,OAEF,MAA8BrD,EAAYC,QAAQsD,MAAM,KAAxD,eAAOC,EAAP,KAAcC,EAAd,KAAqBC,EAArB,KACAL,EAASM,cAAcT,EAAmB,CACxCU,YAAa,GAAF,OAAKJ,EAAL,YAAcC,EAAd,YAAuBC,GAClCG,aAAcL,EACdM,aAAc,GAAF,OAAKN,EAAL,YAAcC,KAjB1BM,GACAZ,GAAqB,GAEvBE,EAASM,cAlBiB,kBAkBkBvL,OAAO4L,OAAO5L,OAAO4L,OAAO,GAAIZ,GAAW,CAAEhG,UAAWQ,EAAQlB,QAAQnC,cAAe0F,QAASD,EAAYC","sources":["../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-label-49e29743.js","../node_modules/@genesys/common-webcomponents/dist/esm/gux-form-field-number-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 { h } from './index-5f3763b4.js';\n\nconst GuxFormFieldContainer = ({ labelPosition }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-container': true,\n [`gux-${labelPosition}`]: true\n } }, children));\n};\n\nconst GuxFormFieldLabel = ({ position, required }, children) => {\n return (h(\"div\", { class: {\n 'gux-form-field-label': true,\n [`gux-${position}`]: true,\n 'gux-required': required\n } }, children));\n};\n\nexport { GuxFormFieldLabel as G, GuxFormFieldContainer as a };\n","import { r as registerInstance, h, g as getElement } from './index-5f3763b4.js';\nimport { b as buildI18nForComponent } from './index-db221f20.js';\nimport { O as OnMutation } from './on-mutation-678b39ea.js';\nimport { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';\nimport { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\nimport { s as setInputValue } from './set-input-value-5adeaccc.js';\nimport { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';\nimport { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-49e29743.js';\nimport { h as hasErrorSlot, c as clearInput, G as GuxFormFieldError, a as hasContent, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-8bb23dbf.js';\nimport './random-html-id-8e3f658c.js';\nimport './log-error-3d08c2b1.js';\n\nconst increment = \"Increment\";\nconst decrement = \"Decrement\";\nconst componentResources = {\n\tincrement: increment,\n\tdecrement: decrement\n};\n\nconst guxFormFieldNumberCss = \".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#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}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#33383d;text-align:right;text-overflow:ellipsis;background-color:#f8f8f8;border:none;outline:none}::slotted(input)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px 4px 12px;font-family:inherit;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#666f7b;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}\";\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 GuxFormFieldNumber = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.computedLabelPosition = 'above';\n this.hasContent = false;\n this.hasError = false;\n }\n onMutation() {\n this.hasError = hasErrorSlot(this.root);\n }\n async componentWillLoad() {\n this.getI18nValue = await buildI18nForComponent(this.root, componentResources);\n this.setInput();\n this.setLabel();\n this.hasError = hasErrorSlot(this.root);\n trackComponent(this.root, { variant: this.variant });\n }\n disconnectedCallback() {\n this.disabledObserver.disconnect();\n this.requiredObserver.disconnect();\n }\n render() {\n const showClearButton = this.clearable && this.hasContent && !this.disabled;\n return (h(GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, h(\"slot\", { name: \"label\", onSlotchange: () => this.setLabel() })), h(\"div\", { class: \"gux-input-and-error-container\" }, h(\"div\", { class: {\n 'gux-input': true,\n 'gux-input-error': this.hasError\n } }, h(\"div\", { class: {\n 'gux-input-container': true,\n 'gux-disabled': this.disabled,\n 'gux-clear': showClearButton\n } }, h(\"slot\", { name: \"input\", onSlotchange: () => this.setInput() }), showClearButton && (h(\"gux-form-field-input-clear-button\", { onClick: () => clearInput(this.input) }))), this.renderStepButtons(this.input, this.getI18nValue, this.disabled)), h(GuxFormFieldError, { hasError: this.hasError }, h(\"slot\", { name: \"error\" })))));\n }\n get variant() {\n const labelPositionVariant = this.labelPosition\n ? this.labelPosition.toLowerCase()\n : 'none';\n const clearableVariant = this.clearable ? 'clearable' : 'unclearable';\n return `${clearableVariant}-${labelPositionVariant}`;\n }\n setInput() {\n this.input = this.root.querySelector('input[type=\"number\"][slot=\"input\"]');\n this.hasContent = hasContent(this.input);\n preventBrowserValidationStyling(this.input);\n this.input.addEventListener('input', () => {\n this.hasContent = hasContent(this.input);\n });\n this.disabled = this.input.disabled;\n this.required = this.input.required;\n this.disabledObserver = onDisabledChange(this.input, (disabled) => {\n this.disabled = disabled;\n });\n this.requiredObserver = onRequiredChange(this.input, (required) => {\n this.required = required;\n });\n validateFormIds(this.root, this.input);\n }\n setLabel() {\n this.label = this.root.querySelector('label[slot=\"label\"]');\n this.computedLabelPosition = getComputedLabelPosition(this.label, this.labelPosition);\n }\n renderStepButtons(input, getI18nValue, disabled) {\n return (h(\"div\", { class: \"gux-step-buttons-container\" }, h(\"button\", { class: \"gux-step-button\", tabIndex: -1, type: \"button\", title: getI18nValue('increment'), disabled: disabled, onClick: () => this.stepUp(input) }, h(\"gux-icon\", { \"icon-name\": \"chevron-small-up\", decorative: true })), h(\"button\", { class: \"gux-step-button\", tabIndex: -1, type: \"button\", title: getI18nValue('decrement'), disabled: disabled, onClick: () => this.stepDown(input) }, h(\"gux-icon\", { \"icon-name\": \"chevron-small-down\", decorative: true }))));\n }\n stepDown(input) {\n if (input.value === '') {\n setInputValue(input, input.min || '0', false);\n }\n else {\n input.stepDown();\n this.simulateNativeInputAndChangeEvents(input);\n }\n }\n stepUp(input) {\n if (input.value === '') {\n setInputValue(input, input.min || '0', false);\n }\n else {\n input.stepUp();\n this.simulateNativeInputAndChangeEvents(input);\n }\n }\n simulateNativeInputAndChangeEvents(input) {\n simulateNativeEvent(input, 'input');\n simulateNativeEvent(input, 'change');\n }\n get root() { return getElement(this); }\n};\n__decorate([\n OnMutation({ childList: true, subtree: true })\n], GuxFormFieldNumber.prototype, \"onMutation\", null);\nGuxFormFieldNumber.style = guxFormFieldNumberCss;\n\nexport { GuxFormFieldNumber as gux_form_field_number_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":["GuxFormFieldContainer","children","labelPosition","h","class","GuxFormFieldLabel","position","required","componentResources","increment","decrement","__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","GuxFormFieldNumber","hostRef","registerInstance","this","computedLabelPosition","hasContent","hasError","hasErrorSlot","root","buildI18nForComponent","getI18nValue","setInput","setLabel","trackComponent","variant","disabledObserver","disconnect","requiredObserver","showClearButton","clearable","disabled","name","onSlotchange","onClick","clearInput","input","renderStepButtons","GuxFormFieldError","labelPositionVariant","toLowerCase","clearableVariant","querySelector","preventBrowserValidationStyling","addEventListener","onDisabledChange","onRequiredChange","validateFormIds","label","getComputedLabelPosition","tabIndex","type","title","stepUp","decorative","stepDown","value","setInputValue","min","simulateNativeInputAndChangeEvents","simulateNativeEvent","getElement","OnMutation","childList","subtree","prototype","style","Boolean","includes","offsetWidth","hasLabelSlot","inputHasId","hasAttribute","labelHasFor","logError","tagName","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","opt","proto","methodName","onMutationObserver","connectedCallback","disconnectedCallback","host","method","bind","call","event","preventDefault","prefix","Math","random","toString","substr","focusAfter","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","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([[2959],{2959:function(e,t,n){n.r(t),n.d(t,{gux_radio_group_legacy:function(){return o}});var s=n(5671),i=n(3144),r=n(4723),c=n(8125),o=function(){function e(t){(0,s.Z)(this,e),(0,r.r)(this,t),this.input=(0,r.c)(this,"input",7),this.radios=[]}return(0,i.Z)(e,[{key:"radioWillLoad",value:function(e){var t=e.detail;this.radios.push(t),void 0===this.value&&t.checked&&(this.value=t.value),this.name&&(t.name=this.name)}},{key:"radioWillUnload",value:function(e){this.radios=this.radios.filter((function(t){return t!==e.detail}))}},{key:"radioChecked",value:function(e){var t=e.target;e.detail&&(this.value=t.value)}},{key:"valueChanged",value:function(e){this.updateRadioButtons(),this.input.emit(e)}},{key:"hostData",value:function(){return{role:"radiogroup"}}},{key:"componentWillLoad",value:function(){(0,c.t)(this.root)}},{key:"__stencil_render",value:function(){return(0,r.h)("div",null,(0,r.h)("slot",null))}},{key:"updateRadioButtons",value:function(){var e=this;this.radios.forEach((function(t){return t.checked=t.value===e.value}))}},{key:"root",get:function(){return(0,r.g)(this)}},{key:"render",value:function(){return(0,r.h)(r.H,this.hostData(),this.__stencil_render())}}],[{key:"watchers",get:function(){return{value:["valueChanged"]}}}]),e}()},8125:function(e,t,n){n.d(t,{t:function(){return o}});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"}},r="spark-library",c=!1;function o(e,t){var n=window.newrelic;n&&(c||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=(0,s.Z)(t,3),c=n[0],o=n[1],l=n[2];e.addPageAction(r,{fullVersion:"".concat(c,".").concat(o,".").concat(l),majorVersion:c,minorVersion:"".concat(c,".").concat(o)})}(),c=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=2959.b68475ee.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/2959.b68475ee.chunk.js","mappings":"oNAGIA,EAAmB,WACrB,WAAYC,IAAS,gBACnBC,EAAAA,EAAAA,GAAiBC,KAAMF,GACvBE,KAAKC,OAAQC,EAAAA,EAAAA,GAAYF,KAAM,QAAS,GACxCA,KAAKG,OAAS,GAJK,4CAMrB,SAAcC,GACZ,IAAMC,EAAQD,EAAGE,OACjBN,KAAKG,OAAOI,KAAKF,QACEG,IAAfR,KAAKS,OAAuBJ,EAAMK,UACpCV,KAAKS,MAAQJ,EAAMI,OAEjBT,KAAKW,OACPN,EAAMM,KAAOX,KAAKW,QAbD,6BAgBrB,SAAgBP,GACdJ,KAAKG,OAASH,KAAKG,OAAOS,QAAO,SAAAC,GAAC,OAAIA,IAAMT,EAAGE,YAjB5B,0BAmBrB,SAAaF,GACX,IAAMC,EAAQD,EAAGU,OACZV,EAAGE,SAGRN,KAAKS,MAAQJ,EAAMI,SAxBA,0BA0BrB,SAAaM,GACXf,KAAKgB,qBACLhB,KAAKC,MAAMgB,KAAKF,KA5BG,sBA8BrB,WACE,MAAO,CACLG,KAAM,gBAhCW,+BAqCrB,YACEC,EAAAA,EAAAA,GAAenB,KAAKoB,QAtCD,8BAwCrB,WACE,OAAQC,EAAAA,EAAAA,GAAE,MAAO,MAAMA,EAAAA,EAAAA,GAAE,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vD,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-radio-group-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, H as Host } from './index-5f3763b4.js';\nimport { t as trackComponent } from './usage-tracking-e9646da2.js';\n\nlet GuxRadioGroupLegacy = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n this.radios = [];\n }\n radioWillLoad(ev) {\n const radio = ev.detail;\n this.radios.push(radio);\n if (this.value === undefined && radio.checked) {\n this.value = radio.value;\n }\n if (this.name) {\n radio.name = this.name;\n }\n }\n radioWillUnload(ev) {\n this.radios = this.radios.filter(r => r !== ev.detail);\n }\n radioChecked(ev) {\n const radio = ev.target;\n if (!ev.detail) {\n return;\n }\n this.value = radio.value;\n }\n valueChanged(newValue) {\n this.updateRadioButtons();\n this.input.emit(newValue);\n }\n hostData() {\n return {\n role: 'radiogroup'\n // TODO: Should we include an optional header/label?\n // 'aria-labelledby': this.labelId\n };\n }\n componentWillLoad() {\n trackComponent(this.root);\n }\n __stencil_render() {\n return (h(\"div\", null, h(\"slot\", null)));\n }\n updateRadioButtons() {\n this.radios.forEach(r => (r.checked = r.value === this.value));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"value\": [\"valueChanged\"]\n }; }\n render() { return h(Host, this.hostData(), this.__stencil_render()); }\n};\n\nexport { GuxRadioGroupLegacy as gux_radio_group_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":["GuxRadioGroupLegacy","hostRef","registerInstance","this","input","createEvent","radios","ev","radio","detail","push","undefined","value","checked","name","filter","r","target","newValue","updateRadioButtons","emit","role","trackComponent","root","h","forEach","getElement","Host","hostData","__stencil_render","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([[3183],{5361:function(e,t,n){n.d(t,{G:function(){return s},a:function(){return o}});var i=n(4942),r=n(4723),o=function(e,t){var n=e.labelPosition;return(0,r.h)("div",{class:(0,i.Z)({"gux-form-field-container":!0},"gux-".concat(n),!0)},t)},s=function(e,t){var n,o=e.position,s=e.required;return(0,r.h)("div",{class:(n={"gux-form-field-label":!0},(0,i.Z)(n,"gux-".concat(o),!0),(0,i.Z)(n,"gux-required",s),n)},t)}},3183:function(e,t,n){n.r(t),n.d(t,{gux_form_field_search_beta:function(){return f}});var i=n(5671),r=n(3144),o=n(4723),s=n(4351),c=n(5618),a=n(997),l=n(8125),u=n(5361),d=n(2457),p=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},f=function(){function e(t){(0,i.Z)(this,e),(0,o.r)(this,t),this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1}return(0,r.Z)(e,[{key:"onMutation",value:function(){this.hasError=(0,d.h)(this.root)}},{key:"componentWillLoad",value:function(){this.setInput(),this.setLabel(),this.hasError=(0,d.h)(this.root),(0,l.t)(this.root,{variant:this.variant})}},{key:"disconnectedCallback",value:function(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}},{key:"render",value:function(){var e=this;return(0,o.h)(u.a,{labelPosition:this.computedLabelPosition},(0,o.h)(u.G,{position:this.computedLabelPosition,required:this.required},(0,o.h)("slot",{name:"label",onSlotchange:function(){return e.setLabel()}})),(0,o.h)("div",{class:"gux-input-and-error-container"},(0,o.h)("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},(0,o.h)("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},(0,o.h)("gux-icon",{"icon-name":"search",decorative:!0}),(0,o.h)("slot",{name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&(0,o.h)("gux-form-field-input-clear-button",{onClick:function(){return(0,d.c)(e.input)}}))),(0,o.h)(d.G,{hasError:this.hasError},(0,o.h)("slot",{name:"error"}))))}},{key:"variant",get:function(){var e=this.labelPosition?this.labelPosition.toLowerCase():"none",t=this.input.getAttribute("type");return"".concat(t,"-").concat(e)}},{key:"setInput",value:function(){var e=this;this.input=this.root.querySelector('input[type="search"][slot="input"]'),this.hasContent=(0,d.a)(this.input),(0,a.p)(this.input),this.input.addEventListener("input",(function(){e.hasContent=(0,d.a)(e.input)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=(0,c.o)(this.input,(function(t){e.disabled=t})),this.requiredObserver=(0,c.a)(this.input,(function(t){e.required=t})),(0,d.v)(this.root,this.input)}},{key:"setLabel",value:function(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=(0,d.g)(this.label,this.labelPosition)}},{key:"root",get:function(){return(0,o.g)(this)}}]),e}();p([(0,s.O)({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#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}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#33383d}::slotted(label){font-size:12px;font-weight:bold;line-height:20px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#33383d;text-overflow:ellipsis;background-color:#f8f8f8;border:none;outline:none}::slotted(input)::placeholder{color:#666f7b;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 8px;font-size:12px;line-height:1.66666667;color:#33383d;background-color:#f8f8f8;background-image:none;border:1px solid #77828f;border-radius:4px;box-shadow:inset 0 0 4px rgba(34, 37, 41, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name='search']{flex:0 0 auto;align-self:auto;order:0;width:20px;height:20px;margin-right:4px;color:#666f7b}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}"},2457:function(e,t,n){n.d(t,{G:function(){return c},a:function(){return u},c:function(){return a},g:function(){return d},h:function(){return l},v:function(){return p}});var i=n(4723),r=n(1782),o=n(2183),s=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 a(e){(0,s.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")),s=Boolean(n.hasAttribute("for"));if(!i&&s)(0,o.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&&!s){var c=t.getAttribute("id");n.setAttribute("for",c)}else i&&s&&t.getAttribute("id")!==n.getAttribute("for")&&(0,o.l)(e.tagName.toLowerCase(),"The input id and label for attribute should match.");else{var a=(0,r.r)("gux-form-field-input");t.setAttribute("id",a),n.setAttribute("for",a)}}else(0,o.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 o(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,{a:function(){return o},b:function(){return i},o:function(){return r}})},4351:function(e,t,n){n.d(t,{O:function(){return r}});var i=n(4723);function r(e){return function(t,n){var r,o=t.connectedCallback,s=t.disconnectedCallback;t.connectedCallback=function(){var t=(0,i.g)(this),s=this[n];return(r=new MutationObserver(s.bind(this))).observe(t,e),o&&o.call(this)},t.disconnectedCallback=function(){return r.disconnect(),s&&s.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"}},o="spark-library",s=!1;function c(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=r.version.split("."),n=(0,i.Z)(t,3),s=n[0],c=n[1],a=n[2];e.addPageAction(o,{fullVersion:"".concat(s,".").concat(c,".").concat(a),majorVersion:s,minorVersion:"".concat(s,".").concat(c)})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:r.version})))}}}]);
|
|
2
|
+
//# sourceMappingURL=3183.0483907e.chunk.js.map
|