genesys-cloud-client-auth 0.0.2-build.37 → 1.0.0-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/LICENSE +2 -2
- package/README.md +4 -2
- package/dist/asset-manifest.json +192 -163
- package/dist/deploy-info.json +22 -0
- package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
- package/dist/index.html +1 -1
- package/dist/lib/cjs/version.js +1 -1
- package/dist/lib/es/version.js +1 -1
- package/dist/manifest.json +20 -0
- package/dist/static/css/main.045d96b0.css +2 -0
- package/dist/static/css/main.045d96b0.css.map +1 -0
- package/dist/static/js/1089.fb722233.chunk.js +2 -0
- package/dist/static/js/1089.fb722233.chunk.js.map +1 -0
- package/dist/static/js/1158.76a41325.chunk.js +2 -0
- package/dist/static/js/1158.76a41325.chunk.js.map +1 -0
- package/dist/static/js/1166.1486fbcd.chunk.js +2 -0
- package/dist/static/js/1166.1486fbcd.chunk.js.map +1 -0
- package/dist/static/js/131.3f61f67c.chunk.js +2 -0
- package/dist/static/js/131.3f61f67c.chunk.js.map +1 -0
- package/dist/static/js/1344.19a70535.chunk.js +2 -0
- package/dist/static/js/1344.19a70535.chunk.js.map +1 -0
- package/dist/static/js/1433.d57f6003.chunk.js +2 -0
- package/dist/static/js/1433.d57f6003.chunk.js.map +1 -0
- package/dist/static/js/1498.98292821.chunk.js +2 -0
- package/dist/static/js/1498.98292821.chunk.js.map +1 -0
- package/dist/static/js/1507.84125ab7.chunk.js +2 -0
- package/dist/static/js/1507.84125ab7.chunk.js.map +1 -0
- package/dist/static/js/1544.fcbc0609.chunk.js +2 -0
- package/dist/static/js/1544.fcbc0609.chunk.js.map +1 -0
- package/dist/static/js/1642.13e001a0.chunk.js +2 -0
- package/dist/static/js/1642.13e001a0.chunk.js.map +1 -0
- package/dist/static/js/1697.c1eba654.chunk.js +2 -0
- package/dist/static/js/1697.c1eba654.chunk.js.map +1 -0
- package/dist/static/js/1718.d222d0d2.chunk.js +2 -0
- package/dist/static/js/1718.d222d0d2.chunk.js.map +1 -0
- package/dist/static/js/1978.b9b0b630.chunk.js +2 -0
- package/dist/static/js/1978.b9b0b630.chunk.js.map +1 -0
- package/dist/static/js/2131.e90e6224.chunk.js +2 -0
- package/dist/static/js/2131.e90e6224.chunk.js.map +1 -0
- package/dist/static/js/2291.98b84fa5.chunk.js +2 -0
- package/dist/static/js/2291.98b84fa5.chunk.js.map +1 -0
- package/dist/static/js/2361.28c72454.chunk.js +2 -0
- package/dist/static/js/2361.28c72454.chunk.js.map +1 -0
- package/dist/static/js/2609.69b7ee3f.chunk.js +2 -0
- package/dist/static/js/2609.69b7ee3f.chunk.js.map +1 -0
- package/dist/static/js/2618.08776cf8.chunk.js +2 -0
- package/dist/static/js/2618.08776cf8.chunk.js.map +1 -0
- package/dist/static/js/2657.08f5fe94.chunk.js +2 -0
- package/dist/static/js/2657.08f5fe94.chunk.js.map +1 -0
- package/dist/static/js/2939.a53af515.chunk.js +2 -0
- package/dist/static/js/2939.a53af515.chunk.js.map +1 -0
- package/dist/static/js/2959.b68475ee.chunk.js +2 -0
- package/dist/static/js/2959.b68475ee.chunk.js.map +1 -0
- package/dist/static/js/3183.0483907e.chunk.js +2 -0
- package/dist/static/js/3183.0483907e.chunk.js.map +1 -0
- package/dist/static/js/3184.b5c03e4a.chunk.js +2 -0
- package/dist/static/js/3184.b5c03e4a.chunk.js.map +1 -0
- package/dist/static/js/3326.58fe8ed8.chunk.js +2 -0
- package/dist/static/js/3326.58fe8ed8.chunk.js.map +1 -0
- package/dist/static/js/3431.330e6907.chunk.js +2 -0
- package/dist/static/js/3431.330e6907.chunk.js.map +1 -0
- package/dist/static/js/3466.d53f9938.chunk.js +2 -0
- package/dist/static/js/3466.d53f9938.chunk.js.map +1 -0
- package/dist/static/js/3534.ee2022f0.chunk.js +2 -0
- package/dist/static/js/3534.ee2022f0.chunk.js.map +1 -0
- package/dist/static/js/3649.47036a0d.chunk.js +2 -0
- package/dist/static/js/3649.47036a0d.chunk.js.map +1 -0
- package/dist/static/js/3821.dbe9ef88.chunk.js +2 -0
- package/dist/static/js/3821.dbe9ef88.chunk.js.map +1 -0
- package/dist/static/js/3982.1668cd90.chunk.js +2 -0
- package/dist/static/js/3982.1668cd90.chunk.js.map +1 -0
- package/dist/static/js/4173.64f75901.chunk.js +2 -0
- package/dist/static/js/4173.64f75901.chunk.js.map +1 -0
- package/dist/static/js/4192.35098ff0.chunk.js +2 -0
- package/dist/static/js/4192.35098ff0.chunk.js.map +1 -0
- package/dist/static/js/4202.6a101f57.chunk.js +2 -0
- package/dist/static/js/4202.6a101f57.chunk.js.map +1 -0
- package/dist/static/js/4242.625e5aa9.chunk.js +2 -0
- package/dist/static/js/4242.625e5aa9.chunk.js.map +1 -0
- package/dist/static/js/4248.d69f59fd.chunk.js +2 -0
- package/dist/static/js/4248.d69f59fd.chunk.js.map +1 -0
- package/dist/static/js/4618.2b652181.chunk.js +2 -0
- package/dist/static/js/4618.2b652181.chunk.js.map +1 -0
- package/dist/static/js/4774.03877b96.chunk.js +2 -0
- package/dist/static/js/4774.03877b96.chunk.js.map +1 -0
- package/dist/static/js/4777.07210d5d.chunk.js +2 -0
- package/dist/static/js/4777.07210d5d.chunk.js.map +1 -0
- package/dist/static/js/4826.f3719274.chunk.js +2 -0
- package/dist/static/js/4826.f3719274.chunk.js.map +1 -0
- package/dist/static/js/501.3f46836b.chunk.js +2 -0
- package/dist/static/js/501.3f46836b.chunk.js.map +1 -0
- package/dist/static/js/5122.046ab4b7.chunk.js +2 -0
- package/dist/static/js/5122.046ab4b7.chunk.js.map +1 -0
- package/dist/static/js/5160.465b3a5d.chunk.js +2 -0
- package/dist/static/js/5160.465b3a5d.chunk.js.map +1 -0
- package/dist/static/js/546.40835589.chunk.js +2 -0
- package/dist/static/js/546.40835589.chunk.js.map +1 -0
- package/dist/static/js/5503.cc3b1fda.chunk.js +2 -0
- package/dist/static/js/5503.cc3b1fda.chunk.js.map +1 -0
- package/dist/static/js/5572.565c5d80.chunk.js +2 -0
- package/dist/static/js/5572.565c5d80.chunk.js.map +1 -0
- package/dist/static/js/599.a5cb72b5.chunk.js +2 -0
- package/dist/static/js/599.a5cb72b5.chunk.js.map +1 -0
- package/dist/static/js/6033.174d7635.chunk.js +2 -0
- package/dist/static/js/6033.174d7635.chunk.js.map +1 -0
- package/dist/static/js/6069.5c81dae7.chunk.js +2 -0
- package/dist/static/js/6069.5c81dae7.chunk.js.map +1 -0
- package/dist/static/js/6151.c5cf5a85.chunk.js +2 -0
- package/dist/static/js/6151.c5cf5a85.chunk.js.map +1 -0
- package/dist/static/js/6237.a9b576a4.chunk.js +2 -0
- package/dist/static/js/6237.a9b576a4.chunk.js.map +1 -0
- package/dist/static/js/6326.156b4248.chunk.js +2 -0
- package/dist/static/js/6326.156b4248.chunk.js.map +1 -0
- package/dist/static/js/6474.03947fd7.chunk.js +2 -0
- package/dist/static/js/6474.03947fd7.chunk.js.map +1 -0
- package/dist/static/js/6571.301eecac.chunk.js +2 -0
- package/dist/static/js/6571.301eecac.chunk.js.map +1 -0
- package/dist/static/js/6632.0676b230.chunk.js +2 -0
- package/dist/static/js/6632.0676b230.chunk.js.map +1 -0
- package/dist/static/js/6769.fcdb896c.chunk.js +2 -0
- package/dist/static/js/6769.fcdb896c.chunk.js.map +1 -0
- package/dist/static/js/6982.60585ab3.chunk.js +2 -0
- package/dist/static/js/6982.60585ab3.chunk.js.map +1 -0
- package/dist/static/js/7076.37939eb2.chunk.js +2 -0
- package/dist/static/js/7076.37939eb2.chunk.js.map +1 -0
- package/dist/static/js/7120.0b0ef311.chunk.js +3 -0
- package/dist/static/js/{20.2be3997f.chunk.js.LICENSE.txt → 7120.0b0ef311.chunk.js.LICENSE.txt} +1 -1
- package/dist/static/js/7120.0b0ef311.chunk.js.map +1 -0
- package/dist/static/js/7150.840301cb.chunk.js +2 -0
- package/dist/static/js/7150.840301cb.chunk.js.map +1 -0
- package/dist/static/js/7153.250bf93b.chunk.js +2 -0
- package/dist/static/js/7153.250bf93b.chunk.js.map +1 -0
- package/dist/static/js/7307.8656856b.chunk.js +2 -0
- package/dist/static/js/7307.8656856b.chunk.js.map +1 -0
- package/dist/static/js/742.64af67d8.chunk.js +2 -0
- package/dist/static/js/742.64af67d8.chunk.js.map +1 -0
- package/dist/static/js/754.b1c84197.chunk.js +2 -0
- package/dist/static/js/754.b1c84197.chunk.js.map +1 -0
- package/dist/static/js/7610.97a0a5b5.chunk.js +2 -0
- package/dist/static/js/7610.97a0a5b5.chunk.js.map +1 -0
- package/dist/static/js/765.2a78cffe.chunk.js +2 -0
- package/dist/static/js/765.2a78cffe.chunk.js.map +1 -0
- package/dist/static/js/7803.bfe8c40f.chunk.js +2 -0
- package/dist/static/js/7803.bfe8c40f.chunk.js.map +1 -0
- package/dist/static/js/7895.629e8650.chunk.js +2 -0
- package/dist/static/js/7895.629e8650.chunk.js.map +1 -0
- package/dist/static/js/8025.ecb1d6bc.chunk.js +2 -0
- package/dist/static/js/8025.ecb1d6bc.chunk.js.map +1 -0
- package/dist/static/js/8086.ef9f2d3b.chunk.js +2 -0
- package/dist/static/js/8086.ef9f2d3b.chunk.js.map +1 -0
- package/dist/static/js/8105.46b996bf.chunk.js +2 -0
- package/dist/static/js/8105.46b996bf.chunk.js.map +1 -0
- package/dist/static/js/819.a55f578b.chunk.js +2 -0
- package/dist/static/js/819.a55f578b.chunk.js.map +1 -0
- package/dist/static/js/8300.e15dbcd8.chunk.js +2 -0
- package/dist/static/js/8300.e15dbcd8.chunk.js.map +1 -0
- package/dist/static/js/8324.b769efff.chunk.js +2 -0
- package/dist/static/js/8324.b769efff.chunk.js.map +1 -0
- package/dist/static/js/8366.b2c2daee.chunk.js +2 -0
- package/dist/static/js/8366.b2c2daee.chunk.js.map +1 -0
- package/dist/static/js/8524.95396ee8.chunk.js +2 -0
- package/dist/static/js/8524.95396ee8.chunk.js.map +1 -0
- package/dist/static/js/8644.c87452a5.chunk.js +2 -0
- package/dist/static/js/8644.c87452a5.chunk.js.map +1 -0
- package/dist/static/js/8674.d4aa33fd.chunk.js +2 -0
- package/dist/static/js/8674.d4aa33fd.chunk.js.map +1 -0
- package/dist/static/js/8717.76b643a4.chunk.js +2 -0
- package/dist/static/js/8717.76b643a4.chunk.js.map +1 -0
- package/dist/static/js/872.5c96c93a.chunk.js +2 -0
- package/dist/static/js/872.5c96c93a.chunk.js.map +1 -0
- package/dist/static/js/8762.d3fad692.chunk.js +2 -0
- package/dist/static/js/8762.d3fad692.chunk.js.map +1 -0
- package/dist/static/js/8782.af6b6665.chunk.js +3 -0
- package/dist/static/js/{0.71c0b4a8.chunk.js.LICENSE.txt → 8782.af6b6665.chunk.js.LICENSE.txt} +0 -0
- package/dist/static/js/8782.af6b6665.chunk.js.map +1 -0
- package/dist/static/js/894.a8fe019e.chunk.js +2 -0
- package/dist/static/js/894.a8fe019e.chunk.js.map +1 -0
- package/dist/static/js/9057.702da8f9.chunk.js +2 -0
- package/dist/static/js/9057.702da8f9.chunk.js.map +1 -0
- package/dist/static/js/9090.60a5cb5b.chunk.js +2 -0
- package/dist/static/js/9090.60a5cb5b.chunk.js.map +1 -0
- package/dist/static/js/9117.200d2100.chunk.js +2 -0
- package/dist/static/js/9117.200d2100.chunk.js.map +1 -0
- package/dist/static/js/9131.d5d0ab82.chunk.js +2 -0
- package/dist/static/js/9131.d5d0ab82.chunk.js.map +1 -0
- package/dist/static/js/9296.e374c7dc.chunk.js +2 -0
- package/dist/static/js/9296.e374c7dc.chunk.js.map +1 -0
- package/dist/static/js/932.4f62c387.chunk.js +2 -0
- package/dist/static/js/932.4f62c387.chunk.js.map +1 -0
- package/dist/static/js/9584.967e5482.chunk.js +2 -0
- package/dist/static/js/9584.967e5482.chunk.js.map +1 -0
- package/dist/static/js/9679.87a204b1.chunk.js +2 -0
- package/dist/static/js/9679.87a204b1.chunk.js.map +1 -0
- package/dist/static/js/9745.63a6678a.chunk.js +2 -0
- package/dist/static/js/9745.63a6678a.chunk.js.map +1 -0
- package/dist/static/js/9750.1310ef55.chunk.js +2 -0
- package/dist/static/js/9750.1310ef55.chunk.js.map +1 -0
- package/dist/static/js/main.fd57b2ac.js +3 -0
- package/dist/static/js/{5.8b318946.chunk.js.LICENSE.txt → main.fd57b2ac.js.LICENSE.txt} +2 -0
- package/dist/static/js/main.fd57b2ac.js.map +1 -0
- package/dist/static/media/{getFetch.582d29c4.cjs → getFetch.c780682470504fffbd04.cjs} +0 -0
- package/dist/v1/genesys-cloud-client-auth.browser.min.js +2 -0
- package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +2 -0
- package/package.json +73 -71
- package/dist/static/css/main.3508dc5f.chunk.css +0 -2
- package/dist/static/css/main.3508dc5f.chunk.css.map +0 -1
- package/dist/static/js/0.71c0b4a8.chunk.js +0 -3
- package/dist/static/js/0.71c0b4a8.chunk.js.map +0 -1
- package/dist/static/js/1.8399f811.chunk.js +0 -2
- package/dist/static/js/1.8399f811.chunk.js.map +0 -1
- package/dist/static/js/10.8fb6019a.chunk.js +0 -2
- package/dist/static/js/10.8fb6019a.chunk.js.map +0 -1
- package/dist/static/js/11.aa22b687.chunk.js +0 -2
- package/dist/static/js/11.aa22b687.chunk.js.map +0 -1
- package/dist/static/js/12.586642ff.chunk.js +0 -2
- package/dist/static/js/12.586642ff.chunk.js.map +0 -1
- package/dist/static/js/13.c0c5fd67.chunk.js +0 -2
- package/dist/static/js/13.c0c5fd67.chunk.js.map +0 -1
- package/dist/static/js/14.c3e0d008.chunk.js +0 -2
- package/dist/static/js/14.c3e0d008.chunk.js.map +0 -1
- package/dist/static/js/15.20587752.chunk.js +0 -2
- package/dist/static/js/15.20587752.chunk.js.map +0 -1
- package/dist/static/js/16.c19b0b1c.chunk.js +0 -2
- package/dist/static/js/16.c19b0b1c.chunk.js.map +0 -1
- package/dist/static/js/17.06cd7ac8.chunk.js +0 -2
- package/dist/static/js/17.06cd7ac8.chunk.js.map +0 -1
- package/dist/static/js/18.e02b6cd8.chunk.js +0 -2
- package/dist/static/js/18.e02b6cd8.chunk.js.map +0 -1
- package/dist/static/js/19.2d45340c.chunk.js +0 -2
- package/dist/static/js/19.2d45340c.chunk.js.map +0 -1
- package/dist/static/js/20.2be3997f.chunk.js +0 -3
- package/dist/static/js/20.2be3997f.chunk.js.map +0 -1
- package/dist/static/js/21.90337a55.chunk.js +0 -2
- package/dist/static/js/21.90337a55.chunk.js.map +0 -1
- package/dist/static/js/22.0c42f6ee.chunk.js +0 -2
- package/dist/static/js/22.0c42f6ee.chunk.js.map +0 -1
- package/dist/static/js/23.96d71d61.chunk.js +0 -3
- package/dist/static/js/23.96d71d61.chunk.js.LICENSE.txt +0 -17
- package/dist/static/js/23.96d71d61.chunk.js.map +0 -1
- package/dist/static/js/24.c8a6aef1.chunk.js +0 -2
- package/dist/static/js/24.c8a6aef1.chunk.js.map +0 -1
- package/dist/static/js/25.1549af44.chunk.js +0 -2
- package/dist/static/js/25.1549af44.chunk.js.map +0 -1
- package/dist/static/js/26.f5920959.chunk.js +0 -2
- package/dist/static/js/26.f5920959.chunk.js.map +0 -1
- package/dist/static/js/27.4c4b5337.chunk.js +0 -2
- package/dist/static/js/27.4c4b5337.chunk.js.map +0 -1
- package/dist/static/js/28.e4ae1c5b.chunk.js +0 -2
- package/dist/static/js/28.e4ae1c5b.chunk.js.map +0 -1
- package/dist/static/js/29.c8bcd088.chunk.js +0 -2
- package/dist/static/js/29.c8bcd088.chunk.js.map +0 -1
- package/dist/static/js/30.3f776fe2.chunk.js +0 -2
- package/dist/static/js/30.3f776fe2.chunk.js.map +0 -1
- package/dist/static/js/31.295a0045.chunk.js +0 -2
- package/dist/static/js/31.295a0045.chunk.js.map +0 -1
- package/dist/static/js/32.c6495395.chunk.js +0 -2
- package/dist/static/js/32.c6495395.chunk.js.map +0 -1
- package/dist/static/js/33.bc3f2778.chunk.js +0 -2
- package/dist/static/js/33.bc3f2778.chunk.js.map +0 -1
- package/dist/static/js/34.9c6f42a2.chunk.js +0 -2
- package/dist/static/js/34.9c6f42a2.chunk.js.map +0 -1
- package/dist/static/js/35.080ac296.chunk.js +0 -2
- package/dist/static/js/35.080ac296.chunk.js.map +0 -1
- package/dist/static/js/36.30926ca6.chunk.js +0 -2
- package/dist/static/js/36.30926ca6.chunk.js.map +0 -1
- package/dist/static/js/37.535e0baf.chunk.js +0 -2
- package/dist/static/js/37.535e0baf.chunk.js.map +0 -1
- package/dist/static/js/38.c6142d9d.chunk.js +0 -2
- package/dist/static/js/38.c6142d9d.chunk.js.map +0 -1
- package/dist/static/js/39.4e5e9e70.chunk.js +0 -2
- package/dist/static/js/39.4e5e9e70.chunk.js.map +0 -1
- package/dist/static/js/40.67f8a4cc.chunk.js +0 -2
- package/dist/static/js/40.67f8a4cc.chunk.js.map +0 -1
- package/dist/static/js/41.8dc69989.chunk.js +0 -2
- package/dist/static/js/41.8dc69989.chunk.js.map +0 -1
- package/dist/static/js/42.a8312848.chunk.js +0 -2
- package/dist/static/js/42.a8312848.chunk.js.map +0 -1
- package/dist/static/js/43.ce512d00.chunk.js +0 -2
- package/dist/static/js/43.ce512d00.chunk.js.map +0 -1
- package/dist/static/js/44.197bff30.chunk.js +0 -2
- package/dist/static/js/44.197bff30.chunk.js.map +0 -1
- package/dist/static/js/45.9c281539.chunk.js +0 -2
- package/dist/static/js/45.9c281539.chunk.js.map +0 -1
- package/dist/static/js/46.8625525a.chunk.js +0 -2
- package/dist/static/js/46.8625525a.chunk.js.map +0 -1
- package/dist/static/js/47.89e00f8b.chunk.js +0 -2
- package/dist/static/js/47.89e00f8b.chunk.js.map +0 -1
- package/dist/static/js/48.1150630c.chunk.js +0 -2
- package/dist/static/js/48.1150630c.chunk.js.map +0 -1
- package/dist/static/js/49.d628f230.chunk.js +0 -2
- package/dist/static/js/49.d628f230.chunk.js.map +0 -1
- package/dist/static/js/5.8b318946.chunk.js +0 -3
- package/dist/static/js/5.8b318946.chunk.js.map +0 -1
- package/dist/static/js/50.f54ba3ed.chunk.js +0 -2
- package/dist/static/js/50.f54ba3ed.chunk.js.map +0 -1
- package/dist/static/js/51.b1d2a0f9.chunk.js +0 -2
- package/dist/static/js/51.b1d2a0f9.chunk.js.map +0 -1
- package/dist/static/js/52.d9cdf428.chunk.js +0 -2
- package/dist/static/js/52.d9cdf428.chunk.js.map +0 -1
- package/dist/static/js/53.eb9374c8.chunk.js +0 -2
- package/dist/static/js/53.eb9374c8.chunk.js.map +0 -1
- package/dist/static/js/54.0246cd90.chunk.js +0 -2
- package/dist/static/js/54.0246cd90.chunk.js.map +0 -1
- package/dist/static/js/55.f6407d07.chunk.js +0 -2
- package/dist/static/js/55.f6407d07.chunk.js.map +0 -1
- package/dist/static/js/56.030f4c2c.chunk.js +0 -2
- package/dist/static/js/56.030f4c2c.chunk.js.map +0 -1
- package/dist/static/js/57.106fdb37.chunk.js +0 -2
- package/dist/static/js/57.106fdb37.chunk.js.map +0 -1
- package/dist/static/js/58.9efa9671.chunk.js +0 -2
- package/dist/static/js/58.9efa9671.chunk.js.map +0 -1
- package/dist/static/js/59.3b47d57a.chunk.js +0 -2
- package/dist/static/js/59.3b47d57a.chunk.js.map +0 -1
- package/dist/static/js/6.8ac679aa.chunk.js +0 -2
- package/dist/static/js/6.8ac679aa.chunk.js.map +0 -1
- package/dist/static/js/60.0335fabd.chunk.js +0 -2
- package/dist/static/js/60.0335fabd.chunk.js.map +0 -1
- package/dist/static/js/61.cf7f57fc.chunk.js +0 -2
- package/dist/static/js/61.cf7f57fc.chunk.js.map +0 -1
- package/dist/static/js/62.bb858ee5.chunk.js +0 -2
- package/dist/static/js/62.bb858ee5.chunk.js.map +0 -1
- package/dist/static/js/63.107ffad7.chunk.js +0 -2
- package/dist/static/js/63.107ffad7.chunk.js.map +0 -1
- package/dist/static/js/64.a485a8c8.chunk.js +0 -2
- package/dist/static/js/64.a485a8c8.chunk.js.map +0 -1
- package/dist/static/js/65.3593d4bb.chunk.js +0 -2
- package/dist/static/js/65.3593d4bb.chunk.js.map +0 -1
- package/dist/static/js/66.9202016a.chunk.js +0 -2
- package/dist/static/js/66.9202016a.chunk.js.map +0 -1
- package/dist/static/js/67.45ef3717.chunk.js +0 -2
- package/dist/static/js/67.45ef3717.chunk.js.map +0 -1
- package/dist/static/js/68.e638cd4b.chunk.js +0 -2
- package/dist/static/js/68.e638cd4b.chunk.js.map +0 -1
- package/dist/static/js/69.b404f87e.chunk.js +0 -2
- package/dist/static/js/69.b404f87e.chunk.js.map +0 -1
- package/dist/static/js/7.a488d90e.chunk.js +0 -2
- package/dist/static/js/7.a488d90e.chunk.js.map +0 -1
- package/dist/static/js/70.32ae1b4a.chunk.js +0 -2
- package/dist/static/js/70.32ae1b4a.chunk.js.map +0 -1
- package/dist/static/js/71.14e7b1f4.chunk.js +0 -2
- package/dist/static/js/71.14e7b1f4.chunk.js.map +0 -1
- package/dist/static/js/72.6f860cde.chunk.js +0 -2
- package/dist/static/js/72.6f860cde.chunk.js.map +0 -1
- package/dist/static/js/73.8839e5fd.chunk.js +0 -3
- package/dist/static/js/73.8839e5fd.chunk.js.LICENSE.txt +0 -11
- package/dist/static/js/73.8839e5fd.chunk.js.map +0 -1
- package/dist/static/js/74.da2b0a38.chunk.js +0 -2
- package/dist/static/js/74.da2b0a38.chunk.js.map +0 -1
- package/dist/static/js/8.ab0b80c1.chunk.js +0 -2
- package/dist/static/js/8.ab0b80c1.chunk.js.map +0 -1
- package/dist/static/js/9.12e26806.chunk.js +0 -2
- package/dist/static/js/9.12e26806.chunk.js.map +0 -1
- package/dist/static/js/main.4aab9f6d.chunk.js +0 -2
- package/dist/static/js/main.4aab9f6d.chunk.js.map +0 -1
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js +0 -2
- package/dist/static/js/polyfills-css-shim.4a931322.chunk.js.map +0 -1
- package/dist/static/js/runtime-main.847af914.js +0 -2
- package/dist/static/js/runtime-main.847af914.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm-es5/usage-tracking-33d5f2fa.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/iso-dates-07453ca8.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/gux-datepicker.entry.js"],"names":["packageInfo","name","version","description","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","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","_a","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","patchVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","asIsoDate","date","monthStr","getMonth","toString","padStart","dateStr","getDate","getFullYear","asIsoDateRange","date1","date2","sort","d1","d2","start","end","fromIsoDate","isoDate","yearStr","dayStr","year","parseInt","month","day","Date","fromIsoDateRange","isoDateRange","startIsoDate","endIsoDate","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","__generator","body","f","y","t","g","_","label","sent","trys","ops","verb","Symbol","iterator","this","n","v","op","TypeError","call","pop","length","push","translationResources","incrementDay","delta","focusedDateValue","newDay","getTime","setDate","setMonth","incrementMonth","newMonth","valueOf","newMonthValue","unclampedMonthValue","clampedMonthValue","getClampedMonthValue","setFullYear","getIntervalLetter","index","intervalLetter","getFormatSeparator","match","getIntervalOrder","formatSeperator","reduce","acc","cv","concat","getIntervalRange","selectionStart","indexOf","selectionEnd","lastIndexOf","GuxDatepicker","class_1","hostRef","registerInstance","input","createEvent","yearFormat","focusingRange","isSelectingRange","lastYear","numberOfMonths","minDate","maxDate","mode","firstDayOfWeek","formatedValue","toFormatedValue","active","prototype","watchValue","updateDate","watchMinDate","newDate","minDateDate","watchMaxDate","maxDateDate","watchFormat","newFormat","includes","intervalOrder","lastIntervalRange","onKeyDown","event","isFocusedFieldEvent","focusedField","getInputFieldFromEvent","key","blur","shiftKey","preventDefault","calendarElement","focusPreviewDate","increment","setCursorRange","previousIntervalRange","currentIntervalRange","currentIntervalLetter","currentIntervalOrderIndex","getPreviousIntervalRange","intervalRange","setIntervalRange","nextIntervalRange","getNextIntervalRange","updateIntervalValue","onFocusIn","setRange","onFocusOut","root","contains","relatedTarget","onMouseDown","onMouseUp","target","inputElement","toInputElement","inputNumber","isNaN","currentSectionValue","slice","typeYearValue","canSetDate","updateSelection","setValue","replace","field","text","substr","getCalendarLabels","labels","defaultLabels","stringToDate","stringDate","formatItems","dateItems","onCalendarSelect","inputEvent","calendar","stopPropagation","emit","document","activeElement","fromValue","toValue","selection","newValue","join","dateValue","getMapAndRegexFromField","map","dd","mm","yyyy","yy","regexp","RegExp","keys","from","to","_b","map1_1","regexp1","_c","map2_1","regexp2","_d","map3_1","regexp3","setSelectionRange","toggleCalendar","_this","setTimeout","getCombinedFocusedDateValue","getRangeFocusedDateValue","getFocusedDateValue","min","max","interval","newYear","incrementYear","formatSeparator","intervalFormat","getFormattedDay","getFormattedMonth","getFormattedYear","getFormattedDate","componentWillLoad","now","variant","buildI18nForComponent","setHours","componentDidLoad","textFieldElement","querySelector","toTextFieldElement","render","h","class","ref","el","fieldDatepickerElement","position","onClick","tabindex","decorative","onInput","defineProperty","get","getElement","enumerable","configurable","style"],"mappings":"+GAAA,sCAsJIA,EAAc,CACdC,KAvJO,gCAwJPC,QAvJU,SAwJVC,YAvJc,uBAwJdC,KAvJO,0BAwJPC,MAvJQ,wBAwJRC,WAvJa,2CAwJbC,MAvJQ,CACR,SAuJAC,QArJU,CACVC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpBC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/BC,K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AiBpD,IAAWrB,QAASpD,KAAKoD,QAASC,QAASrD,KAAKqD,QAASE,eAAgBvD,KAAKuD,eAAgBJ,eAAgBnD,KAAKmD,mBAAmC,UAAdnD,KAAKsD,MAAiCoI,YAAE,MAAO,CAAEC,MAAO,uBAAwBC,IAAK,SAAUC,GAAM,OAAQ7B,EAAM8B,uBAAyBD,IAAUH,YAAE,iBAAkB,CAAEjM,MAAOO,KAAKsH,oBAAoB,GAAIyE,SAAU,UAAYL,YAAE,wBAAyB,CAAEtR,KAAM,OAAQwR,IAAK,SAAUC,GAAM,OAAQ7B,EAAMwB,mBAAqBK,GAAQpN,MAAOuB,KAAKyD,iBAAmBiI,YAAE,SAAU,CAAE,cAAe,OAAQtR,KAAM,SAAU4R,QAAS,WACtzBhC,EAAMD,kBACPkC,SAAU,MAAQP,YAAE,WAAY,CAAEQ,YAAY,EAAM,YAAa,mBAE5ErQ,OAAOuQ,eAAe1J,EAAQiB,UAAW,OAAQ,CAC7C0I,IAAK,WAAc,OAAOC,YAAWtM,OACrCuM,YAAY,EACZC,cAAc,IAElB3Q,OAAOuQ,eAAe1J,EAAS,WAAY,CACvC2J,IAAK,WACD,MAAO,CACH,MAAS,CAAC,cACV,QAAW,CAAC,gBACZ,QAAW,CAAC,gBACZ,OAAU,CAAC,iBAGnBE,YAAY,EACZC,cAAc,IAEX9J,EAhbwB,GAkbnCD,EAAcgK,MAnbS","file":"static/js/11.aa22b687.chunk.js","sourcesContent":["var name = \"@genesys/common-webcomponents\";\nvar version = \"2.15.1\";\nvar description = \"Common webcomponents\";\nvar main = \"dist/stencil-wrapper.js\";\nvar types = \"dist/types/index.d.ts\";\nvar collection = \"dist/collection/collection-manifest.json\";\nvar files = [\n \"dist/\"\n];\nvar scripts = {\n build: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n \"build-wrapper\": \"./scripts/wrap-stencil.js\",\n \"check-readmes\": \"./scripts/check-readmes.sh\",\n clean: \"rm -r ./dist || true\",\n commit: \"git-cz\",\n \"create-component\": \"node scripts/create-component.js\",\n dev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n \"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n docs: \"cd ./docs && npm run build\",\n \"docs.dev\": \"cd ./docs && npm run start\",\n \"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n format: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n \"format.check\": \"npm run format -- --check\",\n \"format.fix\": \"npm run format -- --write\",\n \"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n i18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n lint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n \"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n \"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n \"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n \"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons --multipass -q\",\n \"lint.ts\": \"tslint --project .\",\n \"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n \"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n predev: \"npm run i18n\",\n \"predev.public\": \"npm run predev\",\n prepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n release: \"standard-version\",\n stencil: \"stencil build --prod\",\n \"stencil.dev\": \"stencil build --dev --watch --docs\",\n test: \"stencil test --spec --e2e\",\n \"test.e2e\": \"stencil test --e2e\",\n \"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n \"test.screenshot\": \"stencil test --e2e --screenshot\",\n \"test.unit\": \"stencil build dev && stencil test --spec\",\n \"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n \"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n \"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nvar dependencies = {\n \"@popperjs/core\": \"^2.9.2\",\n \"intl-messageformat\": \"~9.4.9\",\n \"requestanimationframe-timer\": \"^3.0.3\",\n sortablejs: \"^1.13.0\",\n \"stencil-click-outside\": \"^1.7.1\"\n};\nvar devDependencies = {\n \"@babel/core\": \"^7.14.2\",\n \"@babel/preset-env\": \"^7.14.2\",\n \"@commitlint/cli\": \"^12.1.4\",\n \"@commitlint/config-conventional\": \"^12.1.4\",\n \"@rollup/plugin-replace\": \"^2.4.2\",\n \"@stencil/core\": \"^1.17.4\",\n \"@stencil/less\": \"^1.0.0\",\n \"@stencil/utils\": \"0.0.5\",\n \"@types/jest\": \"^26.0.23\",\n \"@types/jsdom\": \"^16.2.10\",\n \"@types/new-relic-browser\": \"^0.1118.1\",\n \"@types/puppeteer\": \"^3.0.5\",\n \"@types/resize-observer-browser\": \"^0.1.5\",\n \"@types/sortablejs\": \"^1.10.6\",\n \"babel-loader\": \"^8.2.2\",\n commitizen: \"^4.2.4\",\n concurrently: \"^6.1.0\",\n \"cz-conventional-changelog\": \"^3.3.0\",\n \"file-loader\": \"^6.2.0\",\n glob: \"^7.1.7\",\n handlebars: \"^4.7.7\",\n husky: \"^6.0.0\",\n inquirer: \"^8.0.0\",\n jest: \"^26.6.3\",\n \"jest-cli\": \"^26.6.3\",\n \"jest-config\": \"^26.6.3\",\n \"jest-environment-node\": \"^26.6.2\",\n \"jest-junit\": \"^12.0.0\",\n jsdom: \"^16.5.3\",\n \"lint-staged\": \"^10.5.4\",\n marked: \"^2.0.3\",\n \"mutation-observer\": \"^1.0.3\",\n prettier: \"^2.3.0\",\n puppeteer: \"4.0.1\",\n \"rollup-plugin-copy\": \"^3.4.0\",\n \"rollup-plugin-less\": \"^1.1.3\",\n \"standard-version\": \"^9.3.0\",\n stylelint: \"^13.13.1\",\n \"stylelint-config-prettier\": \"^8.0.2\",\n \"stylelint-config-recess-order\": \"^2.4.0\",\n \"stylelint-config-standard\": \"^22.0.0\",\n svgo: \"^2.3.0\",\n \"ts-loader\": \"^7.0.5\",\n tslint: \"^6.1.3\",\n \"tslint-config-prettier\": \"^1.18.0\",\n typescript: \"^3.9.9\",\n weekstart: \"^1.1.0\",\n xmldom: \"^0.6.0\"\n};\nvar repository = {\n type: \"git\",\n url: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nvar config = {\n commitizen: {\n path: \"./node_modules/cz-conventional-changelog\"\n }\n};\nvar commitlint = {\n \"extends\": [\n \"@commitlint/config-conventional\"\n ],\n rules: {\n \"subject-case\": [\n 2,\n \"never\",\n [\n \"pascal-case\",\n \"upper-case\"\n ]\n ]\n }\n};\nvar stylelint = {\n \"extends\": [\n \"stylelint-config-standard\",\n \"stylelint-config-recess-order\",\n \"stylelint-config-prettier\"\n ],\n rules: {\n \"no-descending-specificity\": null,\n \"no-duplicate-selectors\": null,\n \"selector-type-no-unknown\": [\n true,\n {\n ignoreTypes: [\n \"/^gux-/\",\n \"lineargradient\"\n ]\n }\n ]\n }\n};\nvar packageInfo = {\n name: name,\n version: version,\n description: description,\n main: main,\n types: types,\n collection: collection,\n files: files,\n scripts: scripts,\n dependencies: dependencies,\n devDependencies: devDependencies,\n repository: repository,\n config: config,\n commitlint: commitlint,\n stylelint: stylelint,\n \"lint-staged\": {\n \"*.{css,html,less}\": [\n \"stylelint --fix\",\n \"prettier --write\"\n ],\n \"*.{ts,tsx}\": [\n \"tslint --fix\",\n \"prettier --write\"\n ],\n \"*.{js,jsx,json}\": \"prettier --write\",\n \"*.svg\": \"svgo -i\"\n }\n};\nvar libraryPageAction = 'spark-library';\nvar componentPageAction = 'spark-component';\nvar 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 var 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 var newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n var _a = packageInfo.version.split('.'), major = _a[0], minor = _a[1], patch = _a[2];\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: packageInfo.version,\n majorVersion: major,\n minorVersion: minor,\n patchVersion: patch\n });\n}\nexport { trackComponent as t };\n","function asIsoDate(date) {\n var monthStr = (date.getMonth() + 1).toString().padStart(2, '0');\n var dateStr = date.getDate().toString().padStart(2, '0');\n return date.getFullYear() + \"-\" + monthStr + \"-\" + dateStr;\n}\nfunction asIsoDateRange(date1, date2) {\n var _a = sortedDates([date1, date2]), start = _a[0], end = _a[1];\n return asIsoDate(start) + \"/\" + asIsoDate(end);\n}\nfunction fromIsoDate(isoDate) {\n var _a = isoDate.split('-'), yearStr = _a[0], monthStr = _a[1], dayStr = _a[2];\n var year = parseInt(yearStr, 10);\n var month = parseInt(monthStr, 10) - 1; // zero-indexed month\n var day = parseInt(dayStr, 10);\n return new Date(year, month, day);\n}\nfunction fromIsoDateRange(isoDateRange) {\n var _a = isoDateRange.split('/'), startIsoDate = _a[0], endIsoDate = _a[1];\n return [fromIsoDate(startIsoDate), fromIsoDate(endIsoDate)];\n}\nfunction sortedDates(dates) {\n return dates.sort(function (d1, d2) { return (d1 < d2 ? -1 : 1); });\n}\nexport { asIsoDateRange as a, asIsoDate as b, fromIsoDateRange as c, fromIsoDate as f };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { r as registerInstance, c as createEvent, h, g as getElement } from './index-9bfee36e.js';\nimport { t as trackComponent } from './usage-tracking-33d5f2fa.js';\nimport { b as buildI18nForComponent } from './index-a7f6f771.js';\nimport { f as fromIsoDate, a as asIsoDateRange, b as asIsoDate, c as fromIsoDateRange } from './iso-dates-07453ca8.js';\nvar start = \"Start\";\nvar end = \"End\";\nvar translationResources = {\n start: start,\n end: end\n};\nfunction getCalendarLabels(labels, mode, defaultLabels) {\n if (mode === \"range\" /* Range */) {\n return [labels[0] || defaultLabels[0], labels[1] || defaultLabels[1]];\n }\n return [labels[0]];\n}\nfunction isOutOfBoundsDate(value, min, max) {\n return (max && max < value) || (min && min > value);\n}\nfunction getClampedMonthValue(unclampedMonthValue) {\n var clampedMonthValue = unclampedMonthValue;\n while (clampedMonthValue < 0) {\n clampedMonthValue += 12;\n }\n clampedMonthValue = clampedMonthValue % 12;\n return clampedMonthValue;\n}\nfunction incrementDay(delta, focusedDateValue) {\n var newDay = new Date(focusedDateValue.getTime());\n newDay.setDate(newDay.getDate() + delta);\n if (delta < 0) {\n if (newDay.getDate() > focusedDateValue.getDate()) {\n newDay = new Date(focusedDateValue.getFullYear(), focusedDateValue.getMonth() + 1, 0, 0, 0, 0);\n }\n }\n else {\n if (newDay.getDate() < focusedDateValue.getDate()) {\n newDay.setMonth(newDay.getMonth() - 1);\n }\n }\n return newDay;\n}\nfunction incrementMonth(delta, focusedDateValue) {\n var newMonth = new Date(focusedDateValue.valueOf());\n var newMonthValue = getClampedMonthValue(newMonth.getMonth() + delta);\n newMonth.setMonth(newMonthValue);\n newMonth.setFullYear(focusedDateValue.getFullYear());\n if (newMonth.getMonth() !== newMonthValue) {\n return incrementMonth(delta, incrementDay(-1, focusedDateValue));\n }\n return newMonth;\n}\nfunction incrementYear(delta, focusedDateValue) {\n var newYear = new Date(focusedDateValue.valueOf());\n newYear.setFullYear(focusedDateValue.getFullYear() + delta);\n return newYear;\n}\nfunction getFormattedDay(date) {\n return (\"0\" + date.getDate().toString()).slice(-2);\n}\nfunction getFormattedMonth(date) {\n return (\"0\" + (date.getMonth() + 1).toString()).slice(-2);\n}\nfunction getFormattedYear(date, yearFormat) {\n if (yearFormat === 'yyyy') {\n return date.getFullYear().toString();\n }\n else {\n return date.getFullYear().toString().slice(-2);\n }\n}\nfunction getFormattedDate(date, format) {\n var formatSeparator = getFormatSeparator(format);\n var dateString = format\n .split(formatSeparator)\n .map(function (intervalFormat) {\n switch (intervalFormat[0]) {\n case 'd':\n return getFormattedDay(date);\n case 'm':\n return getFormattedMonth(date);\n case 'y':\n return getFormattedYear(date, intervalFormat);\n }\n })\n .join(formatSeparator);\n return dateString;\n}\nfunction getIntervalLetter(format, index) {\n var intervalLetter = format[index];\n if (!intervalLetter || intervalLetter === '/') {\n return format[index - 1];\n }\n return intervalLetter;\n}\nfunction getFormatSeparator(format) {\n return format.match(/\\W/)[0];\n}\nfunction getPreviousIntervalRange(format, currentIntervalRange) {\n var intervalOrder = getIntervalOrder(format);\n var currentIntervalLetter = getIntervalLetter(format, currentIntervalRange.selectionStart);\n var currentIntervalOrderIndex = intervalOrder.indexOf(currentIntervalLetter);\n var newIntervalOrderIndex = (currentIntervalOrderIndex + intervalOrder.length - 1) %\n intervalOrder.length;\n var newIntervalLetter = intervalOrder[newIntervalOrderIndex];\n return getIntervalRange(format, newIntervalLetter);\n}\nfunction getNextIntervalRange(format, currentIntervalRange) {\n var intervalOrder = getIntervalOrder(format);\n var currentIntervalLetter = getIntervalLetter(format, currentIntervalRange.selectionStart);\n var currentIntervalOrderIndex = intervalOrder.indexOf(currentIntervalLetter);\n var newIntervalOrderIndex = (currentIntervalOrderIndex + 1) % intervalOrder.length;\n var newIntervalLetter = intervalOrder[newIntervalOrderIndex];\n return getIntervalRange(format, newIntervalLetter);\n}\nfunction getIntervalOrder(format) {\n var formatSeperator = getFormatSeparator(format);\n return format\n .split(formatSeperator)\n .reduce(function (acc, cv) { return acc.concat(cv[0]); }, []);\n}\nfunction getIntervalRange(format, intervalLetter) {\n var selectionStart = format.indexOf(intervalLetter);\n var selectionEnd = format.lastIndexOf(intervalLetter) + 1;\n return { selectionStart: selectionStart, selectionEnd: selectionEnd };\n}\nvar guxDatepickerCss = \"gux-datepicker{display:block;min-width:200px;height:auto;color:#33383d}gux-datepicker>div.gux-datepicker button{cursor:pointer;background:none;border:none;outline:none}gux-datepicker>div.gux-datepicker>div.gux-datepicker-field{position:relative;display:inline-block;width:200px;margin-right:20px}gux-datepicker>div.gux-datepicker>div.gux-datepicker-field gux-text-field-legacy{position:relative;color:#2a60c8}gux-datepicker>div.gux-datepicker>div.gux-datepicker-field gux-text-field-legacy:hover>button{color:#2a60c8}gux-datepicker>div.gux-datepicker>div.gux-datepicker-field gux-text-field-legacy input::-ms-clear{display:none}gux-datepicker>div.gux-datepicker>div.gux-datepicker-field gux-text-field-legacy>button{position:absolute;right:0;bottom:0;z-index:1;height:32px;font-size:16px;color:#666f7b}gux-datepicker>div.gux-datepicker>div.gux-datepicker-field gux-text-field-legacy>div>div>button{display:none}gux-datepicker>div.gux-datepicker.gux-active>div.gux-datepicker-field>gux-text-field-legacy>button{color:#2a60c8}gux-datepicker>div.gux-datepicker.gux-active gux-calendar{display:block}gux-datepicker gux-calendar{position:absolute;top:35px;z-index:2;display:none}\";\nvar GuxDatepicker = /** @class */ (function () {\n function class_1(hostRef) {\n registerInstance(this, hostRef);\n this.input = createEvent(this, \"input\", 7);\n this.yearFormat = 'yyyy';\n this.focusingRange = false;\n this.isSelectingRange = false;\n this.lastYear = new Date().getFullYear();\n /**\n * The datepicker label (can be a single label, or an array of two if it's a range datepicker)\n */\n this.label = '';\n /**\n * The datepicker number of months displayed\n */\n this.numberOfMonths = 1;\n /**\n * The min date selectable\n */\n this.minDate = '';\n /**\n * The max date selectable\n */\n this.maxDate = '';\n /**\n * The calendar mode (can be single or range)\n */\n this.mode = \"single\" /* Single */;\n /**\n * The datepicker date format (default to mm/dd/yyyy, or specified)\n */\n this.format = 'mm/dd/yyyy';\n /**\n * The datepicker first week day (default to 0 (sunday))\n */\n this.firstDayOfWeek = 0;\n /**\n * The datepicker current value\n */\n this.formatedValue = '';\n /**\n * The datepicker current value\n */\n this.toFormatedValue = '';\n this.active = false;\n }\n class_1.prototype.watchValue = function () {\n this.updateDate();\n };\n class_1.prototype.watchMinDate = function (newDate) {\n if (newDate) {\n this.minDateDate = fromIsoDate(newDate);\n }\n else {\n this.minDateDate = null;\n }\n };\n class_1.prototype.watchMaxDate = function (newDate) {\n if (newDate) {\n this.maxDateDate = fromIsoDate(newDate);\n }\n else {\n this.maxDateDate = null;\n }\n };\n class_1.prototype.watchFormat = function (newFormat) {\n if (!newFormat.includes('yyyy')) {\n this.yearFormat = 'yy';\n }\n this.intervalOrder = getIntervalOrder(newFormat);\n this.lastIntervalRange = getIntervalRange(this.format, getIntervalLetter(this.format, 0));\n };\n class_1.prototype.onKeyDown = function (event) {\n if (this.isFocusedFieldEvent(event)) {\n this.focusedField = this.getInputFieldFromEvent(event);\n switch (event.key) {\n case 'Enter':\n case 'Escape':\n this.focusedField.blur();\n this.active = false;\n break;\n case 'Tab':\n if (!event.shiftKey) {\n event.preventDefault();\n this.calendarElement.focusPreviewDate();\n }\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.increment(-1);\n this.setCursorRange();\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.increment(1);\n this.setCursorRange();\n break;\n case 'ArrowLeft':\n event.preventDefault();\n var previousIntervalRange = getPreviousIntervalRange(this.format, this.intervalRange);\n this.setIntervalRange(previousIntervalRange);\n this.setCursorRange();\n break;\n case 'ArrowRight':\n event.preventDefault();\n var nextIntervalRange = getNextIntervalRange(this.format, this.intervalRange);\n this.setIntervalRange(nextIntervalRange);\n this.setCursorRange();\n break;\n default:\n event.preventDefault();\n this.setIntervalRange({\n selectionStart: this.focusedField.selectionStart,\n selectionEnd: this.focusedField.selectionEnd\n });\n this.updateIntervalValue(event);\n this.setCursorRange();\n break;\n }\n }\n };\n class_1.prototype.onFocusIn = function (event) {\n if (this.isFocusedFieldEvent(event)) {\n if (!this.isSelectingRange) {\n this.focusedField = this.getInputFieldFromEvent(event);\n this.setRange();\n }\n }\n };\n class_1.prototype.onFocusOut = function (event) {\n if (!this.root.contains(event.relatedTarget)) {\n this.lastIntervalRange = getIntervalRange(this.format, getIntervalLetter(this.format, 0));\n this.active = false;\n }\n };\n class_1.prototype.onMouseDown = function (event) {\n if (this.isFocusedFieldEvent(event)) {\n this.isSelectingRange = true;\n }\n };\n class_1.prototype.onMouseUp = function (event) {\n event.preventDefault();\n if (this.isSelectingRange && this.isFocusedFieldEvent(event)) {\n this.focusedField = this.getInputFieldFromEvent(event);\n this.lastIntervalRange = getIntervalRange(this.format, getIntervalLetter(this.format, this.focusedField.selectionStart));\n this.setRange();\n }\n };\n class_1.prototype.isFocusedFieldEvent = function (event) {\n return (event.target === this.inputElement || event.target === this.toInputElement);\n };\n class_1.prototype.getInputFieldFromEvent = function (event) {\n return event.target;\n };\n class_1.prototype.updateIntervalValue = function (event) {\n var inputNumber = parseInt(event.key, 10);\n if (!isNaN(inputNumber)) {\n var currentSectionValue = this.focusedField.value.slice(this.focusedField.selectionStart, this.focusedField.selectionEnd);\n if (getIntervalLetter(this.format, this.focusedField.selectionStart) ===\n 'y' &&\n this.yearFormat === 'yyyy') {\n this.typeYearValue(currentSectionValue, event.key);\n }\n else {\n if (this.canSetDate(inputNumber)) {\n this.updateSelection(this.focusedField, \"\" + currentSectionValue[1] + event.key);\n this.setValue();\n }\n else {\n this.updateSelection(this.focusedField, (\"0\" + event.key).replace('00', '01'));\n this.setValue();\n }\n }\n }\n };\n class_1.prototype.updateSelection = function (field, text) {\n field.value =\n field.value.substr(0, this.intervalRange.selectionStart) +\n text +\n field.value.substr(this.intervalRange.selectionEnd);\n };\n class_1.prototype.getCalendarLabels = function () {\n return getCalendarLabels([].concat(this.label || []), this.mode, [\n this.i18n('start'),\n this.i18n('end')\n ]);\n };\n class_1.prototype.stringToDate = function (stringDate) {\n var formatSeperator = getFormatSeparator(this.format);\n var formatItems = this.format.toLowerCase().split(formatSeperator);\n var dateItems = stringDate.split(formatSeperator);\n var year = parseInt(dateItems[formatItems.indexOf(this.yearFormat)], 10);\n var month = parseInt(dateItems[formatItems.indexOf('mm')], 10) - 1;\n var day = parseInt(dateItems[formatItems.indexOf('dd')], 10);\n var date = new Date(year, month, day);\n if (this.yearFormat === 'yy' &&\n date.getFullYear() < 1970 &&\n this.lastYear > 1970) {\n date.setFullYear(date.getFullYear() + 100);\n }\n return date;\n };\n class_1.prototype.onCalendarSelect = function (inputEvent) {\n var calendar = inputEvent.target;\n this.value = calendar.value;\n inputEvent.stopPropagation(); // Don't let both events bubble.\n this.input.emit(this.value);\n this.updateDate();\n this.inputElement.value = this.formatedValue;\n if (this.mode === \"range\" /* Range */) {\n this.toInputElement.value = this.toFormatedValue;\n }\n if (document.activeElement !== this.inputElement ||\n document.activeElement !== this.toInputElement) {\n this.active = false;\n }\n };\n class_1.prototype.setValue = function () {\n if (this.mode === \"range\" /* Range */) {\n var fromValue = this.stringToDate(this.inputElement.value);\n var toValue = this.stringToDate(this.toInputElement.value);\n this.value = asIsoDateRange(fromValue, toValue);\n this.updateDate();\n this.calendarElement.setValue([fromValue, toValue]);\n }\n else {\n var date = this.stringToDate(this.inputElement.value);\n this.value = asIsoDate(date);\n this.updateDate();\n this.calendarElement.setValue(date);\n }\n this.input.emit(this.value);\n };\n class_1.prototype.setRange = function () {\n this.active = true;\n this.isSelectingRange = false;\n this.setIntervalRange(this.lastIntervalRange);\n this.setCursorRange();\n };\n class_1.prototype.typeYearValue = function (selection, key) {\n if (selection[0] !== ' ') {\n this.updateSelection(this.focusedField, \" \" + key);\n }\n else {\n this.updateSelection(this.focusedField, \"\" + selection.substr(1) + key);\n if (!(selection.substr(1) + key).includes(' ')) {\n this.setValue();\n }\n }\n };\n class_1.prototype.canSetDate = function (key) {\n var newValue = parseInt([\n this.focusedField.value[this.intervalRange.selectionEnd - 1].toString(),\n key\n ].join(''), 10);\n if (newValue) {\n switch (getIntervalLetter(this.format, this.focusedField.selectionStart)) {\n case 'd':\n var dateValue = fromIsoDate(this.value);\n if (newValue <=\n new Date(dateValue.getFullYear(), dateValue.getMonth() + 1, 0).getDate()) {\n return true;\n }\n break;\n case 'm':\n if (newValue <= 12) {\n return true;\n }\n break;\n case 'y':\n return true;\n }\n }\n return false;\n };\n class_1.prototype.getMapAndRegexFromField = function (value) {\n var map = {\n dd: (\"0\" + value.getDate()).slice(-2),\n mm: (\"0\" + (value.getMonth() + 1)).slice(-2)\n };\n if (this.yearFormat === 'yyyy') {\n map.yyyy = value.getFullYear().toString();\n }\n else {\n map.yy = value.getFullYear().toString().slice(-2);\n }\n var regexp = new RegExp(Object.keys(map).join('|'), 'gi');\n return {\n map: map,\n regexp: regexp\n };\n };\n class_1.prototype.updateDate = function () {\n if (this.mode === \"range\" /* Range */) {\n var _a = fromIsoDateRange(this.value), from = _a[0], to = _a[1];\n var _b = this.getMapAndRegexFromField(from), map1_1 = _b.map, regexp1 = _b.regexp;\n this.formatedValue = this.format.replace(regexp1, function (match) {\n return map1_1[match];\n });\n var _c = this.getMapAndRegexFromField(to), map2_1 = _c.map, regexp2 = _c.regexp;\n this.toFormatedValue = this.format.replace(regexp2, function (match) {\n return map2_1[match];\n });\n }\n else {\n var dateValue = fromIsoDate(this.value);\n var _d = this.getMapAndRegexFromField(dateValue), map3_1 = _d.map, regexp3 = _d.regexp;\n this.formatedValue = this.format.replace(regexp3, function (match) {\n return map3_1[match];\n });\n }\n };\n class_1.prototype.setCursorRange = function () {\n if (this.intervalRange) {\n this.focusedField.setSelectionRange(this.intervalRange.selectionStart, this.intervalRange.selectionEnd);\n }\n };\n class_1.prototype.toggleCalendar = function () {\n var _this = this;\n this.active = !this.active;\n if (this.active) {\n // Wait for render before focusing preview date\n setTimeout(function () {\n _this.calendarElement.focusPreviewDate();\n });\n }\n };\n class_1.prototype.setIntervalRange = function (intervalRange) {\n this.intervalRange = intervalRange;\n };\n class_1.prototype.getCombinedFocusedDateValue = function () {\n return this.mode === \"range\" /* Range */\n ? this.getRangeFocusedDateValue()\n : this.getFocusedDateValue();\n };\n class_1.prototype.getFocusedDateValue = function () {\n return fromIsoDate(this.value);\n };\n class_1.prototype.getRangeFocusedDateValue = function () {\n var _a = fromIsoDateRange(this.value), start = _a[0], end = _a[1];\n return this.focusedField === this.inputElement ? start : end;\n };\n class_1.prototype.increment = function (delta) {\n var interval = getIntervalLetter(this.format, this.focusedField.selectionStart);\n var focusedDateValue = this.getCombinedFocusedDateValue();\n var newDate;\n switch (interval) {\n case 'd':\n newDate = incrementDay(delta, focusedDateValue);\n break;\n case 'm':\n newDate = incrementMonth(delta, focusedDateValue);\n break;\n case 'y':\n newDate = incrementYear(delta, focusedDateValue);\n break;\n }\n if (isOutOfBoundsDate(newDate, this.minDateDate, this.maxDateDate)) {\n newDate = focusedDateValue;\n }\n this.lastYear = newDate.getFullYear();\n this.setIntervalRange({\n selectionStart: this.focusedField.selectionStart,\n selectionEnd: this.focusedField.selectionEnd\n });\n this.focusedField.value = getFormattedDate(newDate, this.format);\n this.setValue();\n };\n class_1.prototype.componentWillLoad = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _a, now;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n trackComponent(this.root, { variant: this.mode });\n _a = this;\n return [4 /*yield*/, buildI18nForComponent(this.root, translationResources)];\n case 1:\n _a.i18n = _b.sent();\n this.watchMinDate(this.minDate);\n this.watchMaxDate(this.maxDate);\n this.watchFormat(this.format);\n if (!this.value) {\n now = new Date();\n now.setHours(0, 0, 0, 0);\n if (this.mode === \"range\" /* Range */) {\n this.value = asIsoDateRange(now, now);\n }\n else {\n this.value = asIsoDate(now);\n }\n if (this.mode === \"range\" /* Range */ && this.numberOfMonths < 2) {\n this.numberOfMonths = 2;\n }\n }\n return [2 /*return*/];\n }\n });\n });\n };\n class_1.prototype.componentDidLoad = function () {\n this.inputElement = this.textFieldElement.querySelector('input');\n if (this.mode === \"range\" /* Range */) {\n this.toInputElement = this.toTextFieldElement.querySelector('input');\n }\n this.updateDate();\n };\n class_1.prototype.render = function () {\n var _this = this;\n return (h(\"div\", { class: \"gux-datepicker \" + (this.active ? 'gux-active' : '') }, h(\"div\", { class: \"gux-datepicker-field\", ref: function (el) { return (_this.fieldDatepickerElement = el); } }, h(\"gux-text-label\", { label: this.getCalendarLabels()[0], position: \"beside\" }, h(\"gux-text-field-legacy\", { type: \"text\", ref: function (el) { return (_this.textFieldElement = el); }, value: this.formatedValue }, h(\"button\", { \"aria-hidden\": \"true\", type: \"button\", onClick: function () {\n _this.toggleCalendar();\n }, tabindex: \"-1\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"calendar\" }))), h(\"gux-calendar\", { ref: function (el) { return (_this.calendarElement = el); }, value: this.value, mode: this.mode, onInput: function (event) { return _this.onCalendarSelect(event); }, minDate: this.minDate, maxDate: this.maxDate, firstDayOfWeek: this.firstDayOfWeek, numberOfMonths: this.numberOfMonths }))), this.mode === \"range\" /* Range */ && (h(\"div\", { class: \"gux-datepicker-field\", ref: function (el) { return (_this.fieldDatepickerElement = el); } }, h(\"gux-text-label\", { label: this.getCalendarLabels()[1], position: \"beside\" }, h(\"gux-text-field-legacy\", { type: \"text\", ref: function (el) { return (_this.toTextFieldElement = el); }, value: this.toFormatedValue }, h(\"button\", { \"aria-hidden\": \"true\", type: \"button\", onClick: function () {\n _this.toggleCalendar();\n }, tabindex: \"-1\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"calendar\" }))))))));\n };\n Object.defineProperty(class_1.prototype, \"root\", {\n get: function () { return getElement(this); },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(class_1, \"watchers\", {\n get: function () {\n return {\n \"value\": [\"watchValue\"],\n \"minDate\": [\"watchMinDate\"],\n \"maxDate\": [\"watchMaxDate\"],\n \"format\": [\"watchFormat\"]\n };\n },\n enumerable: false,\n configurable: true\n });\n return class_1;\n}());\nGuxDatepicker.style = guxDatepickerCss;\nexport { GuxDatepicker as gux_datepicker };\n"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[12],{106:function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var n={name:"@genesys/common-webcomponents",version:"2.15.1",description:"Common webcomponents",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",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 --multipass -q","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.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.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.9.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.13.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.14.2","@babel/preset-env":"^7.14.2","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-replace":"^2.4.2","@stencil/core":"^1.17.4","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.23","@types/jsdom":"^16.2.10","@types/new-relic-browser":"^0.1118.1","@types/puppeteer":"^3.0.5","@types/resize-observer-browser":"^0.1.5","@types/sortablejs":"^1.10.6","babel-loader":"^8.2.2",commitizen:"^4.2.4",concurrently:"^6.1.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.1.7",handlebars:"^4.7.7",husky:"^6.0.0",inquirer:"^8.0.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^12.0.0",jsdom:"^16.5.3","lint-staged":"^10.5.4",marked:"^2.0.3","mutation-observer":"^1.0.3",prettier:"^2.3.0",puppeteer:"4.0.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","standard-version":"^9.3.0",stylelint:"^13.13.1","stylelint-config-prettier":"^8.0.2","stylelint-config-recess-order":"^2.4.0","stylelint-config-standard":"^22.0.0",svgo:"^2.3.0","ts-loader":"^7.0.5",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.9",weekstart:"^1.1.0",xmldom:"^0.6.0"},repository:{type:"git",url:"git+bitbucket.org:inindca/genesys-webcomponents.git"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},commitlint:{extends:["@commitlint/config-conventional"],rules:{"subject-case":[2,"never",["pascal-case","upper-case"]]}},stylelint:{extends:["stylelint-config-standard","stylelint-config-recess-order","stylelint-config-prettier"],rules:{"no-descending-specificity":null,"no-duplicate-selectors":null,"selector-type-no-unknown":[!0,{ignoreTypes:["/^gux-/","lineargradient"]}]}},"lint-staged":{"*.{css,html,less}":["stylelint --fix","prettier --write"],"*.{ts,tsx}":["tslint --fix","prettier --write"],"*.{js,jsx,json}":"prettier --write","*.svg":"svgo -i"}},i="spark-library",r=!1;function d(e,t){var o=window.newrelic;o&&(r||(!function(){var e=window.newrelic;if(!e)return;var t=n.version.split("."),o=t[0],r=t[1],d=t[2];e.addPageAction(i,{fullVersion:n.version,majorVersion:o,minorVersion:r,patchVersion:d})}(),r=!0),o.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:n.version})))}},110:function(e,t,o){"use strict";function n(e,t,o){for(var n=t.currentTarget,i=t.target;i!==n&&null!==i;){if(i.matches(e))return o(i);i=i.parentElement}return null}o.d(t,"a",(function(){return n}))},57:function(e,t,o){"use strict";o.r(t),o.d(t,"gux_dropdown",(function(){return l})),o.d(t,"gux_option",(function(){return u}));var n=o(0),i=o(106),r=o(110),d=function(e,t,o,n){return new(o||(o=Promise))((function(i,r){function d(e){try{l(n.next(e))}catch(t){r(t)}}function s(e){try{l(n.throw(e))}catch(t){r(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(d,s)}l((n=n.apply(e,t||[])).next())}))},s=function(e,t){var o,n,i,r,d={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;d;)try{if(o=1,n&&(i=2&r[0]?n.return:r[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,r[1])).done)return i;switch(n=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return d.label++,{value:r[1],done:!1};case 5:d.label++,n=r[1],r=[0];continue;case 7:r=d.ops.pop(),d.trys.pop();continue;default:if(!(i=(i=d.trys).length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){d=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){d.label=r[1];break}if(6===r[0]&&d.label<i[1]){d.label=i[1],i=r;break}if(i&&d.label<i[2]){d.label=i[2],d.ops.push(r);break}i[2]&&d.ops.pop(),d.trys.pop();continue}r=t.call(e,d)}catch(s){r=[6,s],n=0}finally{o=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},l=function(){function e(e){Object(n.o)(this,e),this.change=Object(n.f)(this,"change",7),this.mode="default",this.disabled=!1,this.value="",this.inputIsFocused=!1,this.valueEdited=!1}return e.prototype.emitChange=function(e){this.change.emit(e)},e.prototype.onFocusOut=function(e){var t=this;e.relatedTarget&&this.root.contains(e.relatedTarget)||(this.opened=!1,this.forcedGhostValue="",this.getSelectionOptions().some((function(e){return e.text===t.value}))||(this.value=""))},e.prototype.setLabeledBy=function(e){return d(this,void 0,void 0,(function(){return s(this,(function(t){return this.textFieldElement.setLabelledBy(e),[2]}))}))},e.prototype.setSelected=function(){return d(this,void 0,void 0,(function(){var e,t,o;return s(this,(function(n){return e=this.getSelectionOptions(),(t=e.map((function(e){return e.selected})).lastIndexOf(!0))>=0&&(o=e[t],this.value=o.text),[2]}))}))},e.prototype.onKeyDown=function(e){var t=this.getSelectionOptions(),o=this.getFocusIndex(t);switch(e.keyCode){case 38:o>0&&t[o-1].focus();break;case 40:this.inputIsFocused&&(this.opened=!0),o<t.length-1&&t[o+1].focus();break;case 36:if(!t.length)return;t[0].focus();break;case 35:if(!t.length)return;t[t.length-1].focus();break;case 13:case 32:break;default:if(this.valueEdited=!0,!this.filterable){var n=t.filter((function(t){return t.text.startsWith(e.key)}));n[0]&&n[0].focus()}}},e.prototype.setValue=function(e,t){this.value=e,this.opened=!1,this.valueEdited=!1,this.emitChange(t)},e.prototype._clickHandler=function(){this.disabled||(this.opened=!this.opened)},e.prototype._focusHandler=function(){this.inputIsFocused=!0},e.prototype._optionFocusedHandler=function(e){var t=this;Object(r.a)("gux-option",e,(function(e){var o=e;t.forcedGhostValue=t.value+o.text.substring(t.value.length)}))},e.prototype._optionClickedHandler=function(e){var t=this;Object(r.a)("gux-option",e,(function(e){var o=e;t.setValue(o.text,o.value||o.text)}))},e.prototype._optionKeyDownHandler=function(e){var t=this;" "!==e.key&&"Enter"!==e.key||Object(r.a)("gux-option",e,(function(e){var o=e;t.setValue(o.text,o.value||o.text)}))},e.prototype._blurHandler=function(){this.inputIsFocused=!1,this.forcedGhostValue=""},e.prototype._inputHandler=function(e){this.value=e.detail,this.opened=!0},e.prototype._showDropdownIcon=function(){var e=this,t=this.getSelectionOptions().filter((function(t){return t.text===e.value})),o=!this.value||!!t.length;return!this.filterable||o},e.prototype.getFilteredItems=function(){var e=this,t=this.getSelectionOptions();return this.filterable?t.filter((function(t){return t.text.toLowerCase().startsWith(e.value.toLowerCase())})):t},e.prototype.getGhost=function(){this.searchHighlightAndFilter(this.value);var e=this.getFilteredItems().length?this.getFilteredItems()[0].text:"",t=this.value+e.substring(this.value.length),o=this.forcedGhostValue?this.forcedGhostValue:t,n=this.value?"":this.placeholder;return this.opened&&this.filterable?o:n},e.prototype.componentWillLoad=function(){Object(i.a)(this.root,{variant:this.filterable?"filterable":"full"})},e.prototype.componentDidLoad=function(){this.setSelected(),this.filterable||(this.textFieldElement.readonly=!0)},e.prototype.getSelectionOptions=function(){var e=[],t=this.root.getElementsByClassName("gux-options")[0];if(!t)return[];for(var o=0,n=t.children;o<n.length;o++){var i=n[o];i.matches("gux-option")&&e.push(i)}return e},e.prototype.render=function(){var e=this;return Object(n.k)("div",{class:"gux-dropdown gux-"+this.mode+" "+(this.disabled?"gux-disabled":"")+" "+(this.opened?"gux-active":""),onKeyDown:function(t){return e.onKeyDown(t)}},Object(n.k)("div",{class:"gux-select-field"},Object(n.k)("span",{class:"gux-ghost","aria-hidden":"true"},this.getGhost()),Object(n.k)("gux-text-field-legacy",{title:this.value,ref:function(t){return e.textFieldElement=t},onMouseDown:function(){e._clickHandler()},onFocus:function(){e._focusHandler()},onBlur:function(){e._blurHandler()},onInput:function(t){e._inputHandler(t)},value:this.value,disabled:this.disabled,class:this._showDropdownIcon()?"gux-unclearable":""}),this._showDropdownIcon()&&Object(n.k)("button",{class:"gux-dropdown-indicator","aria-hidden":"true",tabindex:"-1",type:"button"},Object(n.k)("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),Object(n.k)("div",{class:"gux-options "+(this.opened?"gux-opened":""),onClick:this._optionClickedHandler.bind(this),onFocusIn:this._optionFocusedHandler.bind(this),onKeyDown:this._optionKeyDownHandler.bind(this)},Object(n.k)("slot",null)))},e.prototype.getFocusIndex=function(e){return e.findIndex((function(e){return e.matches(":focus")}))},e.prototype.searchHighlightAndFilter=function(e){var t=this,o=this.getSelectionOptions();if(o)for(var n=function(o){o.shouldFilter(e).then((function(e){t.filterable&&e&&t.valueEdited?o.classList.add("gux-filtered"):o.classList.remove("gux-filtered")}))},i=0,r=o;i<r.length;i++){n(r[i])}},Object.defineProperty(e.prototype,"root",{get:function(){return Object(n.j)(this)},enumerable:!1,configurable:!0}),e}();l.style="gux-dropdown div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown div.gux-dropdown .gux-select-field .gux-ghost{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:32px;padding:5px 25px 4px 12px;overflow:hidden;font-size:12px;line-height:1.66666667;text-overflow:ellipsis;white-space:nowrap;border:1px solid transparent;border-radius:2px}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy>div{margin:0}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy input{text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy.gux-unclearable button{display:none}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown div.gux-dropdown .gux-options{position:absolute;z-index:1;display:none;width:100%;padding:8px 0;margin-top:4px;color:#33383d;background:#fdfdfd;border:1px solid #aeb9c6;-webkit-box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);border-radius:4px}gux-dropdown div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown div.gux-dropdown .gux-options>gux-option{position:relative;display:-ms-flexbox;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown div.gux-dropdown .gux-options>gux-option>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown div.gux-dropdown .gux-options>gux-option>div .gux-ghost{position:absolute}gux-dropdown div.gux-dropdown .gux-options>gux-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-options>gux-option.gux-filtered{display:none}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled])[selected]{color:#33383d;background:#deeaff}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):hover,gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-ghost{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy div.gux-field{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.66666667;border:none;border-bottom:2px solid transparent}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);-webkit-box-shadow:none;box-shadow:none}gux-dropdown div.gux-dropdown.gux-page.gux-active .gux-select-field gux-text-field-legacy input:focus{border-bottom:1px solid #2a60c8}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-ghost{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy div.gux-field{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.66666667;border:none;border-bottom:2px solid transparent}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);-webkit-box-shadow:none;box-shadow:none}gux-dropdown div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-text-field-legacy input:focus{border-bottom:1px solid #2a60c8}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-ghost{color:#666f7b;background-color:#f8f8f8}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-text-field-legacy input{color:#33383d;border-color:#77828f}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-text-field-legacy input:focus{-webkit-box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5);box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#33383d}.gux-dropdown-light-theme div.gux-dropdown.gux-default.gux-active .gux-select-field .gux-field input:focus{background-color:#fdfdfd;border:1px solid #2a60c8;-webkit-box-shadow:0 0 4px rgba(117, 168, 255, 0.5);box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown .gux-select-field .gux-ghost{color:#666f7b;background-color:#f8f8f8}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy input{color:#33383d;border-color:#77828f}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy input:focus{-webkit-box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5);box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#33383d}gux-dropdown div.gux-dropdown.gux-default.gux-active .gux-select-field .gux-field input:focus{background-color:#fdfdfd;border:1px solid #2a60c8;-webkit-box-shadow:0 0 4px rgba(117, 168, 255, 0.5);box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-page.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-palette.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}";var u=function(){function e(e){Object(n.o)(this,e)}return e.prototype.updateParentSelection=function(){this.getParentGuxDropdown().setSelected()},e.prototype.shouldFilter=function(e){return this.highlight=e,e?Promise.resolve(!this.text.toLowerCase().startsWith(e.toLowerCase())):Promise.resolve(!1)},e.prototype.getParentGuxDropdown=function(){return this.root.closest("gux-dropdown")},e.prototype.componentWillLoad=function(){this.text||(this.text=this.root.textContent)},e.prototype.hostData=function(){return{tabindex:"0"}},e.prototype.__stencil_render=function(){var e=this;return Object(n.k)("div",{title:this.text},Object(n.k)("span",{ref:function(t){return e.slotContent=t},style:{display:"none"}},Object(n.k)("slot",null)),Object(n.k)("gux-text-highlight",{text:this.text,highlight:this.highlight?this.highlight:""}))},Object.defineProperty(e.prototype,"root",{get:function(){return Object(n.j)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{selected:["updateParentSelection"]}},enumerable:!1,configurable:!0}),e.prototype.render=function(){return Object(n.k)(n.b,this.hostData(),this.__stencil_render())},e}();u.style="gux-option gux-text-highlight mark{font-weight:700;color:inherit;background-color:inherit}"}}]);
|
|
2
|
-
//# sourceMappingURL=12.586642ff.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm-es5/usage-tracking-33d5f2fa.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/when-event-is-from-f8fafe75.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/gux-dropdown_2.entry.js"],"names":["packageInfo","name","version","description","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","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","_a","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","patchVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","whenEventIsFrom","selector","event","handler","exitTarget","currentTarget","checkTarget","target","matches","parentElement","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","__generator","body","f","y","t","g","_","label","sent","trys","ops","verb","Symbol","iterator","this","n","v","op","TypeError","call","pop","length","push","GuxDropdown","class_1","hostRef","registerInstance","change","createEvent","mode","disabled","inputIsFocused","valueEdited","prototype","emitChange","emit","onFocusOut","_this","relatedTarget","root","contains","opened","forcedGhostValue","getSelectionOptions","some","item","text","setLabeledBy","labeledBy","textFieldElement","setLabelledBy","setSelected","selectionOptions","selectedOptionIndex","option","map","selectionOption","selected","lastIndexOf","onKeyDown","focusIndex","getFocusIndex","keyCode","focus","filterable","arr","filter","startsWith","key","setValue","_clickHandler","_focusHandler","_optionFocusedHandler","elem","substring","_optionClickedHandler","_optionKeyDownHandler","_blurHandler","_inputHandler","detail","_showDropdownIcon","match","filterableBehavior","getFilteredItems","getGhost","searchHighlightAndFilter","firstFilteredItem","valueGhost","ghost","placeholder","componentWillLoad","variant","componentDidLoad","readonly","options","getElementsByClassName","_i","childrenElements_1","children","child","render","h","class","title","ref","el","onMouseDown","onFocus","onBlur","onInput","tabindex","decorative","onClick","bind","onFocusIn","findIndex","searchInput","_loop_1","shouldFilter","isFiltered","classList","add","remove","selectionOptions_1","defineProperty","get","getElement","enumerable","configurable","style","GuxOption","updateParentSelection","getParentGuxDropdown","highlight","closest","textContent","hostData","__stencil_render","slotContent","display","Host"],"mappings":"+GAAA,sCAsJIA,EAAc,CACdC,KAvJO,gCAwJPC,QAvJU,SAwJVC,YAvJc,uBAwJdC,KAvJO,0BAwJPC,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G,cAG9BL,EAAUjG,UAAUuG,SAAW,WAC3B,MAAO,CACH1B,SAAU,MAGlBoB,EAAUjG,UAAUwG,iBAAmB,WACnC,IAAIpG,EAAQvB,KACZ,OAAQuF,YAAE,MAAO,CAAEE,MAAOzF,KAAKgC,MAAQuD,YAAE,OAAQ,CAAEG,IAAK,SAAUC,GAAM,OAAQpE,EAAMqG,YAAcjC,GAAQwB,MAAO,CAAEU,QAAS,SAAYtC,YAAE,OAAQ,OAAQA,YAAE,qBAAsB,CAAEvD,KAAMhC,KAAKgC,KAAMuF,UAAWvH,KAAKuH,UAAYvH,KAAKuH,UAAY,OAExPtK,OAAO6J,eAAeM,EAAUjG,UAAW,OAAQ,CAC/C4F,IAAK,WAAc,OAAOC,YAAWhH,OACrCiH,YAAY,EACZC,cAAc,IAElBjK,OAAO6J,eAAeM,EAAW,WAAY,CACzCL,IAAK,WACD,MAAO,CACH,SAAY,CAAC,2BAGrBE,YAAY,EACZC,cAAc,IAElBE,EAAUjG,UAAUmE,OAAS,WAAc,OAAOC,YAAEuC,IAAM9H,KAAK0H,WAAY1H,KAAK2H,qBACzEP,EAnDoB,GAqD/BA,EAAUD,MAtDS","file":"static/js/12.586642ff.chunk.js","sourcesContent":["var name = \"@genesys/common-webcomponents\";\nvar version = \"2.15.1\";\nvar description = \"Common webcomponents\";\nvar main = \"dist/stencil-wrapper.js\";\nvar types = \"dist/types/index.d.ts\";\nvar collection = \"dist/collection/collection-manifest.json\";\nvar files = [\n \"dist/\"\n];\nvar scripts = {\n build: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n \"build-wrapper\": \"./scripts/wrap-stencil.js\",\n \"check-readmes\": \"./scripts/check-readmes.sh\",\n clean: \"rm -r ./dist || true\",\n commit: \"git-cz\",\n \"create-component\": \"node scripts/create-component.js\",\n dev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n \"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n docs: \"cd ./docs && npm run build\",\n \"docs.dev\": \"cd ./docs && npm run start\",\n \"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n format: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n \"format.check\": \"npm run format -- --check\",\n \"format.fix\": \"npm run format -- --write\",\n \"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n i18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n lint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n \"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n \"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n \"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n \"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons --multipass -q\",\n \"lint.ts\": \"tslint --project .\",\n \"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n \"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n predev: \"npm run i18n\",\n \"predev.public\": \"npm run predev\",\n prepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n release: \"standard-version\",\n stencil: \"stencil build --prod\",\n \"stencil.dev\": \"stencil build --dev --watch --docs\",\n test: \"stencil test --spec --e2e\",\n \"test.e2e\": \"stencil test --e2e\",\n \"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n \"test.screenshot\": \"stencil test --e2e --screenshot\",\n \"test.unit\": \"stencil build dev && stencil test --spec\",\n \"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n \"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n \"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nvar dependencies = {\n \"@popperjs/core\": \"^2.9.2\",\n \"intl-messageformat\": \"~9.4.9\",\n \"requestanimationframe-timer\": \"^3.0.3\",\n sortablejs: \"^1.13.0\",\n \"stencil-click-outside\": \"^1.7.1\"\n};\nvar devDependencies = {\n \"@babel/core\": \"^7.14.2\",\n \"@babel/preset-env\": \"^7.14.2\",\n \"@commitlint/cli\": \"^12.1.4\",\n \"@commitlint/config-conventional\": \"^12.1.4\",\n \"@rollup/plugin-replace\": \"^2.4.2\",\n \"@stencil/core\": \"^1.17.4\",\n \"@stencil/less\": \"^1.0.0\",\n \"@stencil/utils\": \"0.0.5\",\n \"@types/jest\": \"^26.0.23\",\n \"@types/jsdom\": \"^16.2.10\",\n \"@types/new-relic-browser\": \"^0.1118.1\",\n \"@types/puppeteer\": \"^3.0.5\",\n \"@types/resize-observer-browser\": \"^0.1.5\",\n \"@types/sortablejs\": \"^1.10.6\",\n \"babel-loader\": \"^8.2.2\",\n commitizen: \"^4.2.4\",\n concurrently: \"^6.1.0\",\n \"cz-conventional-changelog\": \"^3.3.0\",\n \"file-loader\": \"^6.2.0\",\n glob: \"^7.1.7\",\n handlebars: \"^4.7.7\",\n husky: \"^6.0.0\",\n inquirer: \"^8.0.0\",\n jest: \"^26.6.3\",\n \"jest-cli\": \"^26.6.3\",\n \"jest-config\": \"^26.6.3\",\n \"jest-environment-node\": \"^26.6.2\",\n \"jest-junit\": \"^12.0.0\",\n jsdom: \"^16.5.3\",\n \"lint-staged\": \"^10.5.4\",\n marked: \"^2.0.3\",\n \"mutation-observer\": \"^1.0.3\",\n prettier: \"^2.3.0\",\n puppeteer: \"4.0.1\",\n \"rollup-plugin-copy\": \"^3.4.0\",\n \"rollup-plugin-less\": \"^1.1.3\",\n \"standard-version\": \"^9.3.0\",\n stylelint: \"^13.13.1\",\n \"stylelint-config-prettier\": \"^8.0.2\",\n \"stylelint-config-recess-order\": \"^2.4.0\",\n \"stylelint-config-standard\": \"^22.0.0\",\n svgo: \"^2.3.0\",\n \"ts-loader\": \"^7.0.5\",\n tslint: \"^6.1.3\",\n \"tslint-config-prettier\": \"^1.18.0\",\n typescript: \"^3.9.9\",\n weekstart: \"^1.1.0\",\n xmldom: \"^0.6.0\"\n};\nvar repository = {\n type: \"git\",\n url: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nvar config = {\n commitizen: {\n path: \"./node_modules/cz-conventional-changelog\"\n }\n};\nvar commitlint = {\n \"extends\": [\n \"@commitlint/config-conventional\"\n ],\n rules: {\n \"subject-case\": [\n 2,\n \"never\",\n [\n \"pascal-case\",\n \"upper-case\"\n ]\n ]\n }\n};\nvar stylelint = {\n \"extends\": [\n \"stylelint-config-standard\",\n \"stylelint-config-recess-order\",\n \"stylelint-config-prettier\"\n ],\n rules: {\n \"no-descending-specificity\": null,\n \"no-duplicate-selectors\": null,\n \"selector-type-no-unknown\": [\n true,\n {\n ignoreTypes: [\n \"/^gux-/\",\n \"lineargradient\"\n ]\n }\n ]\n }\n};\nvar packageInfo = {\n name: name,\n version: version,\n description: description,\n main: main,\n types: types,\n collection: collection,\n files: files,\n scripts: scripts,\n dependencies: dependencies,\n devDependencies: devDependencies,\n repository: repository,\n config: config,\n commitlint: commitlint,\n stylelint: stylelint,\n \"lint-staged\": {\n \"*.{css,html,less}\": [\n \"stylelint --fix\",\n \"prettier --write\"\n ],\n \"*.{ts,tsx}\": [\n \"tslint --fix\",\n \"prettier --write\"\n ],\n \"*.{js,jsx,json}\": \"prettier --write\",\n \"*.svg\": \"svgo -i\"\n }\n};\nvar libraryPageAction = 'spark-library';\nvar componentPageAction = 'spark-component';\nvar 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 var 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 var newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n var _a = packageInfo.version.split('.'), major = _a[0], minor = _a[1], patch = _a[2];\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: packageInfo.version,\n majorVersion: major,\n minorVersion: minor,\n patchVersion: patch\n });\n}\nexport { trackComponent as t };\n","/********************************************************\n * DOM/Event Utilities *\n * *\n * Helpers for components *\n ********************************************************/\n/**\n * Checks to see if an event originated within an element matching a specific selector and\n * if it did, passes the element to a handler function and returns the handler's result.\n */\nfunction whenEventIsFrom(selector, event, handler) {\n // Don't search for matches above the node where we captured the event;\n var exitTarget = event.currentTarget;\n // Start with the oringal event target\n var checkTarget = event.target;\n while (checkTarget !== exitTarget && checkTarget !== null) {\n if (checkTarget.matches(selector)) {\n return handler(checkTarget);\n }\n else {\n checkTarget = checkTarget.parentElement;\n }\n }\n return null;\n}\nexport { whenEventIsFrom as w };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-9bfee36e.js';\nimport { t as trackComponent } from './usage-tracking-33d5f2fa.js';\nimport { w as whenEventIsFrom } from './when-event-is-from-f8fafe75.js';\nvar guxDropdownCss = \"gux-dropdown div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown div.gux-dropdown .gux-select-field .gux-ghost{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:32px;padding:5px 25px 4px 12px;overflow:hidden;font-size:12px;line-height:1.66666667;text-overflow:ellipsis;white-space:nowrap;border:1px solid transparent;border-radius:2px}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy>div{margin:0}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy input{text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy.gux-unclearable button{display:none}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown div.gux-dropdown .gux-options{position:absolute;z-index:1;display:none;width:100%;padding:8px 0;margin-top:4px;color:#33383d;background:#fdfdfd;border:1px solid #aeb9c6;-webkit-box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);border-radius:4px}gux-dropdown div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown div.gux-dropdown .gux-options>gux-option{position:relative;display:-ms-flexbox;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown div.gux-dropdown .gux-options>gux-option>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown div.gux-dropdown .gux-options>gux-option>div .gux-ghost{position:absolute}gux-dropdown div.gux-dropdown .gux-options>gux-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown div.gux-dropdown .gux-options>gux-option.gux-filtered{display:none}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled])[selected]{color:#33383d;background:#deeaff}gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):hover,gux-dropdown div.gux-dropdown .gux-options>gux-option:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-ghost{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy div.gux-field{height:48px}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.66666667;border:none;border-bottom:2px solid transparent}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);-webkit-box-shadow:none;box-shadow:none}gux-dropdown div.gux-dropdown.gux-page.gux-active .gux-select-field gux-text-field-legacy input:focus{border-bottom:1px solid #2a60c8}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-ghost{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.66666667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy div.gux-field{height:52px}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.66666667;border:none;border-bottom:2px solid transparent}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);-webkit-box-shadow:none;box-shadow:none}gux-dropdown div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-text-field-legacy input:focus{border-bottom:1px solid #2a60c8}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-ghost{color:#666f7b;background-color:#f8f8f8}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-text-field-legacy input{color:#33383d;border-color:#77828f}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-text-field-legacy input:focus{-webkit-box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5);box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#33383d}.gux-dropdown-light-theme div.gux-dropdown.gux-default.gux-active .gux-select-field .gux-field input:focus{background-color:#fdfdfd;border:1px solid #2a60c8;-webkit-box-shadow:0 0 4px rgba(117, 168, 255, 0.5);box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown .gux-select-field .gux-ghost{color:#666f7b;background-color:#f8f8f8}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy input{color:#33383d;border-color:#77828f}gux-dropdown div.gux-dropdown .gux-select-field gux-text-field-legacy input:focus{-webkit-box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5);box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}gux-dropdown div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#33383d}gux-dropdown div.gux-dropdown.gux-default.gux-active .gux-select-field .gux-field input:focus{background-color:#fdfdfd;border:1px solid #2a60c8;-webkit-box-shadow:0 0 4px rgba(117, 168, 255, 0.5);box-shadow:0 0 4px rgba(117, 168, 255, 0.5)}gux-dropdown div.gux-dropdown.gux-page .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-page .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-page.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field .gux-ghost{color:#9baab8;background-color:#fdfdfd}gux-dropdown div.gux-dropdown.gux-palette .gux-select-field gux-text-field-legacy input{border-bottom:1px solid #77828f}gux-dropdown div.gux-dropdown.gux-palette.gux-active gux-text-field-legacy input{border-bottom:1px solid #75a8ff}\";\nvar GuxDropdown = /** @class */ (function () {\n function class_1(hostRef) {\n registerInstance(this, hostRef);\n this.change = createEvent(this, \"change\", 7);\n /**\n * Sets the select mode (default, page or palette).\n */\n this.mode = 'default';\n /**\n * Disable the input and prevent interactions.\n */\n this.disabled = false;\n /**\n * Indicate the dropdown input value\n */\n this.value = '';\n this.inputIsFocused = false;\n this.valueEdited = false;\n }\n class_1.prototype.emitChange = function (value) {\n this.change.emit(value);\n };\n class_1.prototype.onFocusOut = function (e) {\n var _this = this;\n if (!e.relatedTarget || !this.root.contains(e.relatedTarget)) {\n this.opened = false;\n this.forcedGhostValue = '';\n var selectionOptions = this.getSelectionOptions();\n var match = selectionOptions.some(function (item) {\n return item.text === _this.value;\n });\n if (!match) {\n this.value = '';\n }\n }\n };\n class_1.prototype.setLabeledBy = function (labeledBy) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n this.textFieldElement.setLabelledBy(labeledBy);\n return [2 /*return*/];\n });\n });\n };\n class_1.prototype.setSelected = function () {\n return __awaiter(this, void 0, void 0, function () {\n var selectionOptions, selectedOptionIndex, option;\n return __generator(this, function (_a) {\n selectionOptions = this.getSelectionOptions();\n selectedOptionIndex = selectionOptions\n .map(function (selectionOption) { return selectionOption.selected; })\n .lastIndexOf(true);\n if (selectedOptionIndex >= 0) {\n option = selectionOptions[selectedOptionIndex];\n this.value = option.text;\n }\n return [2 /*return*/];\n });\n });\n };\n // TODO: Fix the keyboard navigation I broke\n class_1.prototype.onKeyDown = function (event) {\n var selectionOptions = this.getSelectionOptions();\n var focusIndex = this.getFocusIndex(selectionOptions);\n switch (event.keyCode) {\n case 38 /* Up */:\n if (focusIndex > 0) {\n selectionOptions[focusIndex - 1].focus();\n }\n break;\n case 40 /* Down */:\n if (this.inputIsFocused) {\n this.opened = true;\n }\n if (focusIndex < selectionOptions.length - 1) {\n selectionOptions[focusIndex + 1].focus();\n }\n break;\n case 36 /* Home */:\n if (!selectionOptions.length) {\n return;\n }\n selectionOptions[0].focus();\n break;\n case 35 /* End */:\n if (!selectionOptions.length) {\n return;\n }\n selectionOptions[selectionOptions.length - 1].focus();\n break;\n case 13 /* Enter */:\n case 32 /* Space */:\n break;\n default:\n this.valueEdited = true;\n if (!this.filterable) {\n var arr = selectionOptions.filter(function (item) {\n return item.text.startsWith(event.key);\n });\n if (arr[0]) {\n arr[0].focus();\n }\n }\n }\n };\n class_1.prototype.setValue = function (text, value) {\n this.value = text;\n this.opened = false;\n this.valueEdited = false;\n this.emitChange(value);\n };\n class_1.prototype._clickHandler = function () {\n if (!this.disabled) {\n this.opened = !this.opened;\n }\n };\n class_1.prototype._focusHandler = function () {\n this.inputIsFocused = true;\n };\n class_1.prototype._optionFocusedHandler = function (e) {\n var _this = this;\n whenEventIsFrom('gux-option', e, function (elem) {\n var option = elem;\n _this.forcedGhostValue =\n _this.value + option.text.substring(_this.value.length);\n });\n };\n class_1.prototype._optionClickedHandler = function (e) {\n var _this = this;\n whenEventIsFrom('gux-option', e, function (elem) {\n var option = elem;\n _this.setValue(option.text, option.value || option.text);\n });\n };\n class_1.prototype._optionKeyDownHandler = function (e) {\n var _this = this;\n if (e.key === ' ' || e.key === 'Enter') {\n whenEventIsFrom('gux-option', e, function (elem) {\n var option = elem;\n _this.setValue(option.text, option.value || option.text);\n });\n }\n };\n class_1.prototype._blurHandler = function () {\n this.inputIsFocused = false;\n this.forcedGhostValue = '';\n };\n class_1.prototype._inputHandler = function (event) {\n this.value = event.detail;\n this.opened = true;\n };\n class_1.prototype._showDropdownIcon = function () {\n var _this = this;\n var selectionOptions = this.getSelectionOptions();\n var match = selectionOptions.filter(function (item) {\n return item.text === _this.value;\n });\n var filterableBehavior = !this.value || !!match.length;\n return this.filterable ? filterableBehavior : true;\n };\n class_1.prototype.getFilteredItems = function () {\n var _this = this;\n var selectionOptions = this.getSelectionOptions();\n if (this.filterable) {\n var arr = selectionOptions.filter(function (item) {\n return item.text.toLowerCase().startsWith(_this.value.toLowerCase());\n });\n return arr;\n }\n else {\n return selectionOptions;\n }\n };\n class_1.prototype.getGhost = function () {\n this.searchHighlightAndFilter(this.value);\n var firstFilteredItem = this.getFilteredItems().length\n ? this.getFilteredItems()[0].text\n : '';\n var valueGhost = this.value + firstFilteredItem.substring(this.value.length);\n var ghost = this.forcedGhostValue ? this.forcedGhostValue : valueGhost;\n var placeholder = !this.value ? this.placeholder : '';\n return this.opened && this.filterable ? ghost : placeholder;\n };\n class_1.prototype.componentWillLoad = function () {\n trackComponent(this.root, {\n variant: this.filterable ? 'filterable' : 'full'\n });\n };\n class_1.prototype.componentDidLoad = function () {\n this.setSelected();\n if (!this.filterable) {\n this.textFieldElement.readonly = true;\n }\n };\n class_1.prototype.getSelectionOptions = function () {\n var result = [];\n var options = this.root.getElementsByClassName('gux-options')[0];\n if (!options) {\n return [];\n }\n // Hack around TSX not supporting for..of on HTMLCollection, this\n // needs to be tested in IE11\n var childrenElements = options.children;\n for (var _i = 0, childrenElements_1 = childrenElements; _i < childrenElements_1.length; _i++) {\n var child = childrenElements_1[_i];\n if (child.matches('gux-option')) {\n result.push(child);\n }\n }\n return result;\n };\n class_1.prototype.render = function () {\n var _this = this;\n return (h(\"div\", { class: \"gux-dropdown gux-\" + this.mode + \" \" + (this.disabled ? 'gux-disabled' : '') + \" \" + (this.opened ? 'gux-active' : ''), onKeyDown: function (e) { return _this.onKeyDown(e); } }, h(\"div\", { class: \"gux-select-field\" }, h(\"span\", { class: \"gux-ghost\", \"aria-hidden\": \"true\" }, this.getGhost()), h(\"gux-text-field-legacy\", { title: this.value, ref: function (el) { return (_this.textFieldElement = el); }, onMouseDown: function () {\n _this._clickHandler();\n }, onFocus: function () {\n _this._focusHandler();\n }, onBlur: function () {\n _this._blurHandler();\n }, onInput: function (e) {\n _this._inputHandler(e);\n }, value: this.value, disabled: this.disabled, class: this._showDropdownIcon() ? 'gux-unclearable' : '' }), this._showDropdownIcon() && (h(\"button\", { class: \"gux-dropdown-indicator\", \"aria-hidden\": \"true\", tabindex: \"-1\", type: \"button\" }, h(\"gux-icon\", { decorative: true, \"icon-name\": \"chevron-small-down\" })))), h(\"div\", { class: \"gux-options \" + (this.opened ? 'gux-opened' : ''), onClick: this._optionClickedHandler.bind(this), onFocusIn: this._optionFocusedHandler.bind(this), onKeyDown: this._optionKeyDownHandler.bind(this) }, h(\"slot\", null))));\n };\n class_1.prototype.getFocusIndex = function (selectionOptions) {\n return selectionOptions.findIndex(function (option) {\n return option.matches(':focus');\n });\n };\n class_1.prototype.searchHighlightAndFilter = function (searchInput) {\n var _this = this;\n var selectionOptions = this.getSelectionOptions();\n if (selectionOptions) {\n var _loop_1 = function (option) {\n option.shouldFilter(searchInput).then(function (isFiltered) {\n if (_this.filterable && isFiltered && _this.valueEdited) {\n option.classList.add('gux-filtered');\n }\n else {\n option.classList.remove('gux-filtered');\n }\n });\n };\n for (var _i = 0, selectionOptions_1 = selectionOptions; _i < selectionOptions_1.length; _i++) {\n var option = selectionOptions_1[_i];\n _loop_1(option);\n }\n }\n };\n Object.defineProperty(class_1.prototype, \"root\", {\n get: function () { return getElement(this); },\n enumerable: false,\n configurable: true\n });\n return class_1;\n}());\nGuxDropdown.style = guxDropdownCss;\nvar guxOptionCss = \"gux-option gux-text-highlight mark{font-weight:700;color:inherit;background-color:inherit}\";\nvar GuxOption = /** @class */ (function () {\n function GuxOption(hostRef) {\n registerInstance(this, hostRef);\n }\n GuxOption.prototype.updateParentSelection = function () {\n this.getParentGuxDropdown().setSelected();\n };\n /**\n * Determines if the search input matches this option.\n *\n * @param searchInput The input string being searched for.\n */\n GuxOption.prototype.shouldFilter = function (searchInput) {\n this.highlight = searchInput;\n if (!searchInput) {\n return Promise.resolve(false);\n }\n return Promise.resolve(!this.text.toLowerCase().startsWith(searchInput.toLowerCase()));\n };\n GuxOption.prototype.getParentGuxDropdown = function () {\n return this.root.closest('gux-dropdown');\n };\n GuxOption.prototype.componentWillLoad = function () {\n if (!this.text) {\n this.text = this.root.textContent;\n }\n };\n GuxOption.prototype.hostData = function () {\n return {\n tabindex: '0'\n };\n };\n GuxOption.prototype.__stencil_render = function () {\n var _this = this;\n return (h(\"div\", { title: this.text }, h(\"span\", { ref: function (el) { return (_this.slotContent = el); }, style: { display: 'none' } }, h(\"slot\", null)), h(\"gux-text-highlight\", { text: this.text, highlight: this.highlight ? this.highlight : '' })));\n };\n Object.defineProperty(GuxOption.prototype, \"root\", {\n get: function () { return getElement(this); },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(GuxOption, \"watchers\", {\n get: function () {\n return {\n \"selected\": [\"updateParentSelection\"]\n };\n },\n enumerable: false,\n configurable: true\n });\n GuxOption.prototype.render = function () { return h(Host, this.hostData(), this.__stencil_render()); };\n return GuxOption;\n}());\nGuxOption.style = guxOptionCss;\nexport { GuxDropdown as gux_dropdown, GuxOption as gux_option };\n"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[13],{106:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var o={name:"@genesys/common-webcomponents",version:"2.15.1",description:"Common webcomponents",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",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 --multipass -q","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.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.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.9.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.13.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.14.2","@babel/preset-env":"^7.14.2","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-replace":"^2.4.2","@stencil/core":"^1.17.4","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.23","@types/jsdom":"^16.2.10","@types/new-relic-browser":"^0.1118.1","@types/puppeteer":"^3.0.5","@types/resize-observer-browser":"^0.1.5","@types/sortablejs":"^1.10.6","babel-loader":"^8.2.2",commitizen:"^4.2.4",concurrently:"^6.1.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.1.7",handlebars:"^4.7.7",husky:"^6.0.0",inquirer:"^8.0.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^12.0.0",jsdom:"^16.5.3","lint-staged":"^10.5.4",marked:"^2.0.3","mutation-observer":"^1.0.3",prettier:"^2.3.0",puppeteer:"4.0.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","standard-version":"^9.3.0",stylelint:"^13.13.1","stylelint-config-prettier":"^8.0.2","stylelint-config-recess-order":"^2.4.0","stylelint-config-standard":"^22.0.0",svgo:"^2.3.0","ts-loader":"^7.0.5",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.9",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",a=!1;function p(e,t){var n=window.newrelic;n&&(a||(!function(){var e=window.newrelic;if(!e)return;var t=o.version.split("."),n=t[0],a=t[1],p=t[2];e.addPageAction(r,{fullVersion:o.version,majorVersion:n,minorVersion:a,patchVersion:p})}(),a=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:o.version})))}},111:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o=250;function r(e,t){switch(e.key){case"ArrowUp":e.stopPropagation(),e.preventDefault(),function(e){var t=e.previousElementSibling;t?t.guxFocus():p(e)}(t);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),function(e){var t=e.nextElementSibling;t?t.guxFocus():a(e)}(t);break;case"ArrowRight":case"ArrowLeft":e.preventDefault();break;case"Home":e.stopPropagation(),e.preventDefault(),a(t);break;case"End":e.stopPropagation(),e.preventDefault(),p(t)}}function a(e){var t=function(e){var t=e;for(;null!==t.previousElementSibling;)t=t.previousElementSibling;return t}(e);t&&t.guxFocus()}function p(e){var t=function(e){var t=e;for(;null!==t.nextElementSibling;)t=t.nextElementSibling;return t}(e);t&&t.guxFocus()}},59:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_flyout_menu_beta",(function(){return s}));var o=n(0),r=n(106),a=n(112),p=n(111),s=function(){function e(e){Object(o.o)(this,e),this.isShown=!1}return e.prototype.forceUpdate=function(e){e&&this.popperInstance&&this.popperInstance.update()},e.prototype.onKeydown=function(e){if(e.stopPropagation(),this.isShown)switch(e.key){case"Escape":case"ArrowUp":return this.hide(),void this.root.focus();case"ArrowDown":return void this.focusOnMenu()}switch(e.key){case"Enter":case"ArrowDown":case" ":return void this.show()}},e.prototype.onmouseenter=function(){this.show()},e.prototype.onMouseleave=function(){this.hide()},e.prototype.onClick=function(){this.hide(),this.root.focus()},e.prototype.onFocusin=function(){this.show()},e.prototype.onFocusout=function(){this.hide()},e.prototype.show=function(){clearTimeout(this.hideDelayTimeout),this.isShown=!0},e.prototype.hide=function(){var e=this;this.isShown&&(this.hideDelayTimeout=setTimeout((function(){e.isShown=!1}),p.a))},e.prototype.runPopper=function(){this.popperInstance=Object(a.a)(this.targetElement,this.menuElement,{modifiers:[{name:"offset",options:{offset:[0,7]}},{name:"arrow",options:{padding:16}}],placement:"bottom-start"})},e.prototype.destroyPopper=function(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)},e.prototype.focusOnMenu=function(){if(!this.menuContentElement.contains(document.activeElement)){var e=this.menuContentElement.querySelector("gux-menu");Array.from(e.children)[0].guxFocus()}},e.prototype.componentWillLoad=function(){Object(r.a)(this.root)},e.prototype.componentDidLoad=function(){this.runPopper()},e.prototype.disconnectedCallback=function(){this.destroyPopper()},e.prototype.render=function(){var e=this;return Object(o.k)(o.b,{tabIndex:1},Object(o.k)("span",{ref:function(t){return e.targetElement=t},"aria-haspopup":"true","aria-expanded":this.isShown},Object(o.k)("slot",{name:"target"})),Object(o.k)("div",{ref:function(t){return e.menuElement=t},class:{"gux-flyout-menu-wrapper":!0,"gux-shown":this.isShown}},Object(o.k)("div",{class:"gux-flyout-menu-content",ref:function(t){return e.menuContentElement=t}},Object(o.k)("slot",{name:"menu"})),Object(o.k)("div",{class:"gux-arrow","data-popper-arrow":!0})))},Object.defineProperty(e.prototype,"root",{get:function(){return Object(o.j)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{isShown:["forceUpdate"]}},enumerable:!1,configurable:!0}),e}();s.style="gux-flyout-menu-beta{z-index:2;color:#33383d}gux-flyout-menu-beta .gux-flyout-menu-wrapper{display:none;-ms-flex-direction:column;flex-direction:column;background-color:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px;-webkit-box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-flyout-menu-beta .gux-flyout-menu-wrapper.gux-shown{display:-ms-flexbox;display:flex}gux-flyout-menu-beta .gux-arrow,gux-flyout-menu-beta .gux-arrow::after{position:absolute;width:0;height:0;content:' ';border-color:transparent;border-style:solid}gux-flyout-menu-beta .gux-arrow{border-width:6px}gux-flyout-menu-beta .gux-arrow::after{border-width:4px}gux-flyout-menu-beta[data-popper-placement='bottom'],gux-flyout-menu-beta[data-popper-placement='bottom-start'],gux-flyout-menu-beta[data-popper-placement='bottom-end']{margin-top:6px}gux-flyout-menu-beta[data-popper-placement='bottom'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='bottom-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='bottom-end'] .gux-arrow{margin-top:-12px;margin-right:-12px;border-bottom-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='bottom'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='bottom-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='bottom-end'] .gux-arrow::after{margin-top:-2px;margin-left:-4px;border-bottom-color:#fdfdfd}gux-flyout-menu-beta[data-popper-placement='top'],gux-flyout-menu-beta[data-popper-placement='top-start'],gux-flyout-menu-beta[data-popper-placement='top-end']{margin-bottom:6px}gux-flyout-menu-beta[data-popper-placement='top'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='top-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='top-end'] .gux-arrow{bottom:0;margin-bottom:-12px;border-top-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='top'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='top-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='top-end'] .gux-arrow::after{margin-top:-6px;margin-left:-4px;border-top-color:#fdfdfd}gux-flyout-menu-beta[data-popper-placement='left'],gux-flyout-menu-beta[data-popper-placement='left-start'],gux-flyout-menu-beta[data-popper-placement='left-end']{margin-right:6px}gux-flyout-menu-beta[data-popper-placement='left'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='left-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='left-end'] .gux-arrow{right:0;margin-right:-12px;border-left-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='left'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='left-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='left-end'] .gux-arrow::after{margin-top:-4px;margin-left:-6px;border-left-color:#fdfdfd}gux-flyout-menu-beta[data-popper-placement='right'],gux-flyout-menu-beta[data-popper-placement='right-start'],gux-flyout-menu-beta[data-popper-placement='right-end']{margin-left:6px}gux-flyout-menu-beta[data-popper-placement='right'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='right-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='right-end'] .gux-arrow{margin-left:-12px;border-right-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='right'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='right-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='right-end'] .gux-arrow::after{margin-top:-4px;margin-left:-2px;border-right-color:#fdfdfd}gux-flyout-menu-beta .gux-flyout-menu-content{margin:0}"}}]);
|
|
2
|
-
//# sourceMappingURL=13.c0c5fd67.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm-es5/usage-tracking-33d5f2fa.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/gux-menu.common-5dd9eb71.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/gux-flyout-menu-beta.entry.js"],"names":["packageInfo","name","version","description","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","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","_a","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","patchVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","hideDelay","menuNavigation","event","currentElement","key","stopPropagation","preventDefault","previousFocusableElement","previousElementSibling","guxFocus","focusLastSibling","focusPreviousSiblingLoop","nextFocusableElement","nextElementSibling","focusFirstSibling","focusNextSiblingLoop","firstFocusableElement","getFirstFocusableElement","lastFocusableElement","getLastFocusableElement","GuxFlyoutMenu","hostRef","registerInstance","this","isShown","prototype","forceUpdate","popperInstance","update","onKeydown","hide","root","focus","focusOnMenu","show","onmouseenter","onMouseleave","onClick","onFocusin","onFocusout","clearTimeout","hideDelayTimeout","_this","setTimeout","runPopper","createPopper","targetElement","menuElement","modifiers","options","offset","padding","placement","destroyPopper","destroy","menuContentElement","contains","document","activeElement","menu","querySelector","Array","from","children","componentWillLoad","componentDidLoad","disconnectedCallback","render","h","Host","tabIndex","ref","el","class","defineProperty","get","getElement","enumerable","configurable","style"],"mappings":"+GAAA,sCAsJIA,EAAc,CACdC,KAvJO,gCAwJPC,QAvJU,SAwJVC,YAvJc,uBAwJdC,KAvJO,0BAwJPC,MAvJQ,wBAwJRC,WAvJa,2CAwJbC,MAvJQ,CACR,SAuJAC,QArJU,CACVC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpBC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/BC,KAAM,iEACNC,KAAM,iFACN,cAAe,yDACf,WAAY,6CACZ,WAAY,+EACZ,WAAY,gEACZ,UAAW,qBACX,0BAA2B,uCAC3B,kBAAmB,+BACnBC,OAAQ,eACR,gBAAiB,iBACjBC,QAAS,6DACTC,QAAS,mBACTC,QAAS,uBACT,cAAe,qCACfC,KAAM,4BACN,WAAY,qBACZ,2BAA4B,sCAC5B,kBAAmB,kCACnB,YAAa,2CACb,4BAA6B,uCAC7B,uBAAwB,6CACxB,aAAc,wCAgHdC,aA9Ge,CACf,iBAAkB,SAClB,qBAAsB,SACtB,8BAA+B,SAC/BC,WAAY,UACZ,wBAAyB,UA0GzBC,gBAxGkB,CAClB,cAAe,UACf,oBAAqB,UACrB,kBAAmB,UACnB,kCAAmC,UACnC,yBAA0B,SAC1B,gBAAiB,UACjB,gBAAiB,SACjB,iBAAkB,Q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D,aAEzBW,EAAcK,UAAUuC,kBAAoB,WACxCrF,YAAe4C,KAAKQ,OAExBX,EAAcK,UAAUwC,iBAAmB,WACvC1C,KAAKqB,aAETxB,EAAcK,UAAUyC,qBAAuB,WAC3C3C,KAAK8B,iBAETjC,EAAcK,UAAU0C,OAAS,WAC7B,IAAIzB,EAAQnB,KACZ,OAAQ6C,YAAEC,IAAM,CAAEC,SAAU,GAAKF,YAAE,OAAQ,CAAEG,IAAK,SAAUC,GAAM,OAAQ9B,EAAMI,cAAgB0B,GAAQ,gBAAiB,OAAQ,gBAAiBjD,KAAKC,SAAW4C,YAAE,OAAQ,CAAE5I,KAAM,YAAc4I,YAAE,MAAO,CAAEG,IAAK,SAAUC,GAAM,OAAQ9B,EAAMK,YAAcyB,GAAQC,MAAO,CACrQ,2BAA2B,EAC3B,YAAalD,KAAKC,UACjB4C,YAAE,MAAO,CAAEK,MAAO,0BAA2BF,IAAK,SAAUC,GAAM,OAAQ9B,EAAMa,mBAAqBiB,IAAUJ,YAAE,OAAQ,CAAE5I,KAAM,UAAY4I,YAAE,MAAO,CAAEK,MAAO,YAAa,qBAAqB,OAE9M9E,OAAO+E,eAAetD,EAAcK,UAAW,OAAQ,CACnDkD,IAAK,WAAc,OAAOC,YAAWrD,OACrCsD,YAAY,EACZC,cAAc,IAElBnF,OAAO+E,eAAetD,EAAe,WAAY,CAC7CuD,IAAK,WACD,MAAO,CACH,QAAW,CAAC,iBAGpBE,YAAY,EACZC,cAAc,IAEX1D,EA9HwB,GAgInCA,EAAc2D,MAjIS","file":"static/js/13.c0c5fd67.chunk.js","sourcesContent":["var name = \"@genesys/common-webcomponents\";\nvar version = \"2.15.1\";\nvar description = \"Common webcomponents\";\nvar main = \"dist/stencil-wrapper.js\";\nvar types = \"dist/types/index.d.ts\";\nvar collection = \"dist/collection/collection-manifest.json\";\nvar files = [\n \"dist/\"\n];\nvar scripts = {\n build: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n \"build-wrapper\": \"./scripts/wrap-stencil.js\",\n \"check-readmes\": \"./scripts/check-readmes.sh\",\n clean: \"rm -r ./dist || true\",\n commit: \"git-cz\",\n \"create-component\": \"node scripts/create-component.js\",\n dev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n \"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n docs: \"cd ./docs && npm run build\",\n \"docs.dev\": \"cd ./docs && npm run start\",\n \"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n format: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n \"format.check\": \"npm run format -- --check\",\n \"format.fix\": \"npm run format -- --write\",\n \"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n i18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n lint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n \"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n \"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n \"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n \"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons --multipass -q\",\n \"lint.ts\": \"tslint --project .\",\n \"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n \"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n predev: \"npm run i18n\",\n \"predev.public\": \"npm run predev\",\n prepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n release: \"standard-version\",\n stencil: \"stencil build --prod\",\n \"stencil.dev\": \"stencil build --dev --watch --docs\",\n test: \"stencil test --spec --e2e\",\n \"test.e2e\": \"stencil test --e2e\",\n \"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n \"test.screenshot\": \"stencil test --e2e --screenshot\",\n \"test.unit\": \"stencil build dev && stencil test --spec\",\n \"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n \"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n \"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nvar dependencies = {\n \"@popperjs/core\": \"^2.9.2\",\n \"intl-messageformat\": \"~9.4.9\",\n \"requestanimationframe-timer\": \"^3.0.3\",\n sortablejs: \"^1.13.0\",\n \"stencil-click-outside\": \"^1.7.1\"\n};\nvar devDependencies = {\n \"@babel/core\": \"^7.14.2\",\n \"@babel/preset-env\": \"^7.14.2\",\n \"@commitlint/cli\": \"^12.1.4\",\n \"@commitlint/config-conventional\": \"^12.1.4\",\n \"@rollup/plugin-replace\": \"^2.4.2\",\n \"@stencil/core\": \"^1.17.4\",\n \"@stencil/less\": \"^1.0.0\",\n \"@stencil/utils\": \"0.0.5\",\n \"@types/jest\": \"^26.0.23\",\n \"@types/jsdom\": \"^16.2.10\",\n \"@types/new-relic-browser\": \"^0.1118.1\",\n \"@types/puppeteer\": \"^3.0.5\",\n \"@types/resize-observer-browser\": \"^0.1.5\",\n \"@types/sortablejs\": \"^1.10.6\",\n \"babel-loader\": \"^8.2.2\",\n commitizen: \"^4.2.4\",\n concurrently: \"^6.1.0\",\n \"cz-conventional-changelog\": \"^3.3.0\",\n \"file-loader\": \"^6.2.0\",\n glob: \"^7.1.7\",\n handlebars: \"^4.7.7\",\n husky: \"^6.0.0\",\n inquirer: \"^8.0.0\",\n jest: \"^26.6.3\",\n \"jest-cli\": \"^26.6.3\",\n \"jest-config\": \"^26.6.3\",\n \"jest-environment-node\": \"^26.6.2\",\n \"jest-junit\": \"^12.0.0\",\n jsdom: \"^16.5.3\",\n \"lint-staged\": \"^10.5.4\",\n marked: \"^2.0.3\",\n \"mutation-observer\": \"^1.0.3\",\n prettier: \"^2.3.0\",\n puppeteer: \"4.0.1\",\n \"rollup-plugin-copy\": \"^3.4.0\",\n \"rollup-plugin-less\": \"^1.1.3\",\n \"standard-version\": \"^9.3.0\",\n stylelint: \"^13.13.1\",\n \"stylelint-config-prettier\": \"^8.0.2\",\n \"stylelint-config-recess-order\": \"^2.4.0\",\n \"stylelint-config-standard\": \"^22.0.0\",\n svgo: \"^2.3.0\",\n \"ts-loader\": \"^7.0.5\",\n tslint: \"^6.1.3\",\n \"tslint-config-prettier\": \"^1.18.0\",\n typescript: \"^3.9.9\",\n weekstart: \"^1.1.0\",\n xmldom: \"^0.6.0\"\n};\nvar repository = {\n type: \"git\",\n url: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nvar config = {\n commitizen: {\n path: \"./node_modules/cz-conventional-changelog\"\n }\n};\nvar commitlint = {\n \"extends\": [\n \"@commitlint/config-conventional\"\n ],\n rules: {\n \"subject-case\": [\n 2,\n \"never\",\n [\n \"pascal-case\",\n \"upper-case\"\n ]\n ]\n }\n};\nvar stylelint = {\n \"extends\": [\n \"stylelint-config-standard\",\n \"stylelint-config-recess-order\",\n \"stylelint-config-prettier\"\n ],\n rules: {\n \"no-descending-specificity\": null,\n \"no-duplicate-selectors\": null,\n \"selector-type-no-unknown\": [\n true,\n {\n ignoreTypes: [\n \"/^gux-/\",\n \"lineargradient\"\n ]\n }\n ]\n }\n};\nvar packageInfo = {\n name: name,\n version: version,\n description: description,\n main: main,\n types: types,\n collection: collection,\n files: files,\n scripts: scripts,\n dependencies: dependencies,\n devDependencies: devDependencies,\n repository: repository,\n config: config,\n commitlint: commitlint,\n stylelint: stylelint,\n \"lint-staged\": {\n \"*.{css,html,less}\": [\n \"stylelint --fix\",\n \"prettier --write\"\n ],\n \"*.{ts,tsx}\": [\n \"tslint --fix\",\n \"prettier --write\"\n ],\n \"*.{js,jsx,json}\": \"prettier --write\",\n \"*.svg\": \"svgo -i\"\n }\n};\nvar libraryPageAction = 'spark-library';\nvar componentPageAction = 'spark-component';\nvar 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 var 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 var newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n var _a = packageInfo.version.split('.'), major = _a[0], minor = _a[1], patch = _a[2];\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: packageInfo.version,\n majorVersion: major,\n minorVersion: minor,\n patchVersion: patch\n });\n}\nexport { trackComponent as t };\n","var hideDelay = 250;\nfunction menuNavigation(event, currentElement) {\n switch (event.key) {\n case 'ArrowUp':\n event.stopPropagation();\n event.preventDefault();\n focusPreviousSiblingLoop(currentElement);\n break;\n case 'ArrowDown':\n event.stopPropagation();\n event.preventDefault();\n focusNextSiblingLoop(currentElement);\n break;\n case 'ArrowRight':\n event.preventDefault();\n break;\n case 'ArrowLeft':\n event.preventDefault();\n break;\n case 'Home':\n event.stopPropagation();\n event.preventDefault();\n focusFirstSibling(currentElement);\n break;\n case 'End':\n event.stopPropagation();\n event.preventDefault();\n focusLastSibling(currentElement);\n break;\n }\n}\nfunction focusFirstSibling(currentElement) {\n var firstFocusableElement = getFirstFocusableElement(currentElement);\n if (firstFocusableElement) {\n firstFocusableElement.guxFocus();\n }\n}\nfunction focusLastSibling(currentElement) {\n var lastFocusableElement = getLastFocusableElement(currentElement);\n if (lastFocusableElement) {\n lastFocusableElement.guxFocus();\n }\n}\nfunction focusPreviousSiblingLoop(currentElement) {\n var previousFocusableElement = currentElement.previousElementSibling;\n if (previousFocusableElement) {\n previousFocusableElement.guxFocus();\n }\n else {\n focusLastSibling(currentElement);\n }\n}\nfunction focusNextSiblingLoop(currentElement) {\n var nextFocusableElement = currentElement.nextElementSibling;\n if (nextFocusableElement) {\n nextFocusableElement.guxFocus();\n }\n else {\n focusFirstSibling(currentElement);\n }\n}\nfunction getFirstFocusableElement(currentElement) {\n var firstFocusableElement = currentElement;\n while (firstFocusableElement.previousElementSibling !== null) {\n firstFocusableElement = firstFocusableElement.previousElementSibling;\n }\n return firstFocusableElement;\n}\nfunction getLastFocusableElement(currentElement) {\n var lastFocusableElement = currentElement;\n while (lastFocusableElement.nextElementSibling !== null) {\n lastFocusableElement = lastFocusableElement.nextElementSibling;\n }\n return lastFocusableElement;\n}\nexport { hideDelay as h, menuNavigation as m };\n","import { r as registerInstance, h, H as Host, g as getElement } from './index-9bfee36e.js';\nimport { t as trackComponent } from './usage-tracking-33d5f2fa.js';\nimport { c as createPopper } from './popper-78cde65a.js';\nimport { h as hideDelay } from './gux-menu.common-5dd9eb71.js';\nvar guxFlyoutMenuCss = \"gux-flyout-menu-beta{z-index:2;color:#33383d}gux-flyout-menu-beta .gux-flyout-menu-wrapper{display:none;-ms-flex-direction:column;flex-direction:column;background-color:#fdfdfd;border:1px solid #aeb9c6;border-radius:4px;-webkit-box-shadow:0 2px 4px rgba(34, 37, 41, 0.24);box-shadow:0 2px 4px rgba(34, 37, 41, 0.24)}gux-flyout-menu-beta .gux-flyout-menu-wrapper.gux-shown{display:-ms-flexbox;display:flex}gux-flyout-menu-beta .gux-arrow,gux-flyout-menu-beta .gux-arrow::after{position:absolute;width:0;height:0;content:' ';border-color:transparent;border-style:solid}gux-flyout-menu-beta .gux-arrow{border-width:6px}gux-flyout-menu-beta .gux-arrow::after{border-width:4px}gux-flyout-menu-beta[data-popper-placement='bottom'],gux-flyout-menu-beta[data-popper-placement='bottom-start'],gux-flyout-menu-beta[data-popper-placement='bottom-end']{margin-top:6px}gux-flyout-menu-beta[data-popper-placement='bottom'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='bottom-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='bottom-end'] .gux-arrow{margin-top:-12px;margin-right:-12px;border-bottom-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='bottom'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='bottom-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='bottom-end'] .gux-arrow::after{margin-top:-2px;margin-left:-4px;border-bottom-color:#fdfdfd}gux-flyout-menu-beta[data-popper-placement='top'],gux-flyout-menu-beta[data-popper-placement='top-start'],gux-flyout-menu-beta[data-popper-placement='top-end']{margin-bottom:6px}gux-flyout-menu-beta[data-popper-placement='top'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='top-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='top-end'] .gux-arrow{bottom:0;margin-bottom:-12px;border-top-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='top'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='top-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='top-end'] .gux-arrow::after{margin-top:-6px;margin-left:-4px;border-top-color:#fdfdfd}gux-flyout-menu-beta[data-popper-placement='left'],gux-flyout-menu-beta[data-popper-placement='left-start'],gux-flyout-menu-beta[data-popper-placement='left-end']{margin-right:6px}gux-flyout-menu-beta[data-popper-placement='left'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='left-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='left-end'] .gux-arrow{right:0;margin-right:-12px;border-left-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='left'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='left-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='left-end'] .gux-arrow::after{margin-top:-4px;margin-left:-6px;border-left-color:#fdfdfd}gux-flyout-menu-beta[data-popper-placement='right'],gux-flyout-menu-beta[data-popper-placement='right-start'],gux-flyout-menu-beta[data-popper-placement='right-end']{margin-left:6px}gux-flyout-menu-beta[data-popper-placement='right'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='right-start'] .gux-arrow,gux-flyout-menu-beta[data-popper-placement='right-end'] .gux-arrow{margin-left:-12px;border-right-color:#e4e9f0}gux-flyout-menu-beta[data-popper-placement='right'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='right-start'] .gux-arrow::after,gux-flyout-menu-beta[data-popper-placement='right-end'] .gux-arrow::after{margin-top:-4px;margin-left:-2px;border-right-color:#fdfdfd}gux-flyout-menu-beta .gux-flyout-menu-content{margin:0}\";\nvar GuxFlyoutMenu = /** @class */ (function () {\n function GuxFlyoutMenu(hostRef) {\n registerInstance(this, hostRef);\n this.isShown = false;\n }\n GuxFlyoutMenu.prototype.forceUpdate = function (isShown) {\n if (isShown) {\n if (this.popperInstance) {\n this.popperInstance.update();\n }\n }\n };\n GuxFlyoutMenu.prototype.onKeydown = function (event) {\n event.stopPropagation();\n if (this.isShown) {\n switch (event.key) {\n case 'Escape':\n case 'ArrowUp':\n this.hide();\n this.root.focus();\n return;\n case 'ArrowDown':\n this.focusOnMenu();\n return;\n }\n }\n switch (event.key) {\n case 'Enter':\n case 'ArrowDown':\n case ' ':\n this.show();\n return;\n }\n };\n GuxFlyoutMenu.prototype.onmouseenter = function () {\n this.show();\n };\n GuxFlyoutMenu.prototype.onMouseleave = function () {\n this.hide();\n };\n GuxFlyoutMenu.prototype.onClick = function () {\n this.hide();\n this.root.focus();\n };\n GuxFlyoutMenu.prototype.onFocusin = function () {\n this.show();\n };\n GuxFlyoutMenu.prototype.onFocusout = function () {\n this.hide();\n };\n GuxFlyoutMenu.prototype.show = function () {\n clearTimeout(this.hideDelayTimeout);\n this.isShown = true;\n };\n GuxFlyoutMenu.prototype.hide = function () {\n var _this = this;\n if (this.isShown) {\n this.hideDelayTimeout = setTimeout(function () {\n _this.isShown = false;\n }, hideDelay);\n }\n };\n GuxFlyoutMenu.prototype.runPopper = function () {\n this.popperInstance = createPopper(this.targetElement, this.menuElement, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 7]\n }\n },\n {\n name: 'arrow',\n options: {\n padding: 16 // 16px from the edges of the popper\n }\n }\n ],\n placement: 'bottom-start'\n });\n };\n GuxFlyoutMenu.prototype.destroyPopper = function () {\n if (this.popperInstance) {\n this.popperInstance.destroy();\n this.popperInstance = null;\n }\n };\n GuxFlyoutMenu.prototype.focusOnMenu = function () {\n if (this.menuContentElement.contains(document.activeElement)) {\n return;\n }\n var menu = this.menuContentElement.querySelector('gux-menu');\n var menuItems = Array.from(menu.children);\n var nextFocusableElement = menuItems[0];\n nextFocusableElement.guxFocus();\n };\n GuxFlyoutMenu.prototype.componentWillLoad = function () {\n trackComponent(this.root);\n };\n GuxFlyoutMenu.prototype.componentDidLoad = function () {\n this.runPopper();\n };\n GuxFlyoutMenu.prototype.disconnectedCallback = function () {\n this.destroyPopper();\n };\n GuxFlyoutMenu.prototype.render = function () {\n var _this = this;\n return (h(Host, { tabIndex: 1 }, h(\"span\", { ref: function (el) { return (_this.targetElement = el); }, \"aria-haspopup\": \"true\", \"aria-expanded\": this.isShown }, h(\"slot\", { name: \"target\" })), h(\"div\", { ref: function (el) { return (_this.menuElement = el); }, class: {\n 'gux-flyout-menu-wrapper': true,\n 'gux-shown': this.isShown\n } }, h(\"div\", { class: \"gux-flyout-menu-content\", ref: function (el) { return (_this.menuContentElement = el); } }, h(\"slot\", { name: \"menu\" })), h(\"div\", { class: \"gux-arrow\", \"data-popper-arrow\": true }))));\n };\n Object.defineProperty(GuxFlyoutMenu.prototype, \"root\", {\n get: function () { return getElement(this); },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(GuxFlyoutMenu, \"watchers\", {\n get: function () {\n return {\n \"isShown\": [\"forceUpdate\"]\n };\n },\n enumerable: false,\n configurable: true\n });\n return GuxFlyoutMenu;\n}());\nGuxFlyoutMenu.style = guxFlyoutMenuCss;\nexport { GuxFlyoutMenu as gux_flyout_menu_beta };\n"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(this["webpackJsonpreact-app"]=this["webpackJsonpreact-app"]||[]).push([[14],{106:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i={name:"@genesys/common-webcomponents",version:"2.15.1",description:"Common webcomponents",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",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 --multipass -q","lint.ts":"tslint --project .","list-component-tracking":"./scripts/list-component-tracking.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.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.9.2","intl-messageformat":"~9.4.9","requestanimationframe-timer":"^3.0.3",sortablejs:"^1.13.0","stencil-click-outside":"^1.7.1"},devDependencies:{"@babel/core":"^7.14.2","@babel/preset-env":"^7.14.2","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-replace":"^2.4.2","@stencil/core":"^1.17.4","@stencil/less":"^1.0.0","@stencil/utils":"0.0.5","@types/jest":"^26.0.23","@types/jsdom":"^16.2.10","@types/new-relic-browser":"^0.1118.1","@types/puppeteer":"^3.0.5","@types/resize-observer-browser":"^0.1.5","@types/sortablejs":"^1.10.6","babel-loader":"^8.2.2",commitizen:"^4.2.4",concurrently:"^6.1.0","cz-conventional-changelog":"^3.3.0","file-loader":"^6.2.0",glob:"^7.1.7",handlebars:"^4.7.7",husky:"^6.0.0",inquirer:"^8.0.0",jest:"^26.6.3","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-environment-node":"^26.6.2","jest-junit":"^12.0.0",jsdom:"^16.5.3","lint-staged":"^10.5.4",marked:"^2.0.3","mutation-observer":"^1.0.3",prettier:"^2.3.0",puppeteer:"4.0.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-less":"^1.1.3","standard-version":"^9.3.0",stylelint:"^13.13.1","stylelint-config-prettier":"^8.0.2","stylelint-config-recess-order":"^2.4.0","stylelint-config-standard":"^22.0.0",svgo:"^2.3.0","ts-loader":"^7.0.5",tslint:"^6.1.3","tslint-config-prettier":"^1.18.0",typescript:"^3.9.9",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",s=!1;function l(e,t){var n=window.newrelic;n&&(s||(!function(){var e=window.newrelic;if(!e)return;var t=i.version.split("."),n=t[0],s=t[1],l=t[2];e.addPageAction(r,{fullVersion:i.version,majorVersion:n,minorVersion:s,patchVersion:l})}(),s=!0),n.addPageAction("spark-component",Object.assign(Object.assign({},t),{component:e.tagName.toLowerCase(),version:i.version})))}},109:function(e,t,n){"use strict";function i(e,t){var n=new MutationObserver((function(n){n.forEach((function(){t(e.hidden)}))}));return n.observe(e,{attributes:!0,attributeFilter:["hidden"]}),n}function r(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"disabled"===n.attributeName&&t(e.disabled)}))}));return n.observe(e,{attributes:!0}),n}function s(e,t){var n=new MutationObserver((function(n){n.forEach((function(n){"required"===n.attributeName&&t(e.required)}))}));return n.observe(e,{attributes:!0}),n}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r}))},60:function(e,t,n){"use strict";n.r(t),n.d(t,"gux_form_field",(function(){return l}));var i=n(0),r=n(106),s=n(109),l=function(){function e(e){Object(i.o)(this,e),this.slottedElementType="input",this.labelPosition="above",this.required=!0}return e.prototype.componentWillLoad=function(){var e=this;this.input=this.root.querySelector('input[slot="input"], select[slot="input"], textarea[slot="input"]'),this.label=this.root.querySelector('label[slot="label"]');var t=this.input.getAttribute("type");this.slottedElementType=this.input.tagName.toLowerCase();var n=this.slottedElementType;"input"===this.slottedElementType&&(n=this.slottedElementType.concat("-").concat(t)),Object(r.a)(this.root,{variant:n}),this.required=this.input.required,this.requiredObserver=Object(s.a)(this.input,(function(t){e.required=t}))},e.prototype.componentWillRender=function(){this.label&&(this.labelPosition=this.label.offsetWidth<40?"beside":"above")},e.prototype.disconnectedCallback=function(){this.requiredObserver.disconnect()},e.prototype.getInputCheckbox=function(){return Object(i.k)("gux-input-checkbox",null,Object(i.k)("slot",{name:"input"}),Object(i.k)("slot",{name:"label"}))},e.prototype.getInputRadio=function(){return Object(i.k)("gux-input-radio",null,Object(i.k)("slot",{name:"input"}),Object(i.k)("slot",{name:"label"}))},e.prototype.getInputColor=function(){return Object(i.k)("div",{class:"gux-label-and-input-and-error-container"},Object(i.k)("div",{class:"gux-label-and-input-container gux-"+this.labelPosition},Object(i.k)("div",{class:{"gux-label-container":!0,"gux-required":this.required}},Object(i.k)("slot",{name:"label",slot:"label"})),Object(i.k)("gux-input-color",null,Object(i.k)("slot",{name:"input"}))),Object(i.k)("div",{class:"gux-error"},Object(i.k)("slot",{name:"error"})))},e.prototype.getInputRange=function(e,t){return Object(i.k)("div",{class:"guxlabel-and-input-and-error-container"},Object(i.k)("div",{class:"gux-label-and-input-container gux-"+this.labelPosition},Object(i.k)("div",{class:{"gux-label-container":!0,"gux-required":this.required}},Object(i.k)("slot",{name:"label",slot:"label"})),Object(i.k)("gux-input-range",{"display-units":e,"value-in-tooltip":t},Object(i.k)("slot",{name:"input"}))),Object(i.k)("div",{class:"gux-error"},Object(i.k)("slot",{name:"error"})))},e.prototype.getInputNumber=function(e){return Object(i.k)("div",{class:"gux-label-and-input-and-error-container"},Object(i.k)("div",{class:"gux-label-and-input-container gux-"+this.labelPosition},Object(i.k)("div",{class:{"gux-label-container":!0,"gux-required":this.required}},Object(i.k)("slot",{name:"label",slot:"label"})),Object(i.k)("gux-input-number",{slot:"input",clearable:e},Object(i.k)("slot",{name:"input"}))),Object(i.k)("div",{class:"gux-error"},Object(i.k)("slot",{name:"error"})))},e.prototype.getInputSelect=function(){return Object(i.k)("div",{class:"gux-label-and-input-and-error-container"},Object(i.k)("div",{class:"gux-label-and-input-container gux-"+this.labelPosition},Object(i.k)("div",{class:{"gux-label-container":!0,"gux-required":this.required}},Object(i.k)("slot",{name:"label",slot:"label"})),Object(i.k)("gux-input-select",{slot:"input"},Object(i.k)("slot",{name:"input"}))),Object(i.k)("div",{class:"gux-error"},Object(i.k)("slot",{name:"error"})))},e.prototype.getInputTextLike=function(e){return Object(i.k)("div",{class:"gux-label-and-input-and-error-container"},Object(i.k)("div",{class:"gux-label-and-input-container gux-"+this.labelPosition},Object(i.k)("div",{class:{"gux-label-container":!0,"gux-required":this.required}},Object(i.k)("slot",{name:"label",slot:"label"})),Object(i.k)("gux-input-text-like",{slot:"input",clearable:e},Object(i.k)("slot",{name:"input"}))),Object(i.k)("div",{class:"gux-error"},Object(i.k)("slot",{name:"error"})))},e.prototype.getInputTextArea=function(){return Object(i.k)("div",{class:"gux-label-and-input-and-error-container"},Object(i.k)("div",{class:"gux-label-and-input-container gux-"+this.labelPosition},Object(i.k)("div",{class:{"gux-label-container":!0,"gux-required":this.required}},Object(i.k)("slot",{name:"label",slot:"label"})),Object(i.k)("gux-input-textarea",{slot:"input",resize:this.resize},Object(i.k)("slot",{name:"input"}))),Object(i.k)("div",{class:"gux-error"},Object(i.k)("slot",{name:"error"})))},e.prototype.render=function(){var e=this.input.getAttribute("type");switch(this.slottedElementType){case"input":switch(e){case"checkbox":return this.getInputCheckbox();case"radio":return this.getInputRadio();case"color":return this.getInputColor();case"range":return this.getInputRange(this.displayUnits,this.valueInTooltip);case"email":case"password":case"text":return this.getInputTextLike(this.clearable);case"number":return this.getInputNumber(this.clearable);case"search":return this.getInputTextLike(!1);default:return Object(i.k)("div",null,Object(i.k)("slot",{name:"label"}),Object(i.k)("slot",{name:"input"}))}case"select":return this.getInputSelect();case"textarea":return this.getInputTextArea();default:return Object(i.k)("div",null,Object(i.k)("slot",{name:"label"}),Object(i.k)("slot",{name:"input"}))}},Object.defineProperty(e.prototype,"root",{get:function(){return Object(i.j)(this)},enumerable:!1,configurable:!0}),e}();l.style="gux-form-field .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside .gux-label-container{min-width:45px;margin-right:8px}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside gux-input-range,gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside gux-input-select,gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside gux-input-text-like{-ms-flex:1 1 auto;flex:1 1 auto}gux-form-field .gux-label-and-input-and-error-container .gux-error{margin:4px 0}gux-form-field .gux-required::after{color:#ea0b0b;content:' *'}.gux-form-field-dark-theme{color:#fdfdfd}.gux-dark-theme gux-form-field{color:#fdfdfd}gux-form-field.gux-dark-theme{color:#fdfdfd}.gux-form-field-light-theme{color:#33383d}.gux-light-theme gux-form-field{color:#33383d}gux-form-field.gux-light-theme{color:#33383d}gux-form-field{color:#33383d}"}}]);
|
|
2
|
-
//# sourceMappingURL=14.c3e0d008.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../node_modules/@genesys/common-webcomponents/dist/esm-es5/usage-tracking-33d5f2fa.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/on-attribute-change-ddc5bb0b.js","../node_modules/@genesys/common-webcomponents/dist/esm-es5/gux-form-field.entry.js"],"names":["packageInfo","name","version","description","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","stylelint","svgo","tslint","typescript","weekstart","xmldom","repository","type","url","config","path","commitlint","rules","ignoreTypes","libraryPageAction","libVersionReported","trackComponent","element","metadata","newrelic","window","_a","split","major","minor","patch","addPageAction","fullVersion","majorVersion","minorVersion","patchVersion","reportLibraryVersion","Object","assign","component","tagName","toLowerCase","onHiddenChange","callback","observer","MutationObserver","mutations","forEach","hidden","observe","attributes","attributeFilter","onDisabledChange","mutation","attributeName","disabled","onRequiredChange","required","GuxFormField","hostRef","registerInstance","this","slottedElementType","labelPosition","prototype","componentWillLoad","_this","input","root","querySelector","label","getAttribute","variant","concat","requiredObserver","componentWillRender","offsetWidth","disconnectedCallback","disconnect","getInputCheckbox","h","getInputRadio","getInputColor","class","slot","getInputRange","displayUnits","valueInTooltip","getInputNumber","clearable","getInputSelect","getInputTextLike","getInputTextArea","resize","render","defineProperty","get","getElement","enumerable","configurable","style"],"mappings":"+GAAA,sCAsJIA,EAAc,CACdC,KAvJO,gCAwJPC,QAvJU,SAwJVC,YAvJc,uBAwJdC,KAvJO,0BAwJPC,MAvJQ,wBAwJRC,WAvJa,2CAwJbC,MAvJQ,CACR,SAuJAC,QArJU,CACVC,MAAO,4FACP,gBAAiB,4BACjB,gBAAiB,6BACjBC,MAAO,uBACPC,OAAQ,SACR,mBAAoB,mCACpBC,IAAK,6DACL,aAAc,oEACdC,KAAM,6BACN,WAAY,6BACZ,kBAAmB,+CACnBC,OAAQ,uDACR,eAAgB,4BAChB,aAAc,4BACd,8BAA+B,2CAC/BC,KAAM,iEACNC,KAAM,iFACN,cAAe,yDACf,WAAY,6CACZ,WAAY,+EACZ,WAAY,gEACZ,UAAW,qBACX,0BAA2B,uCAC3B,kBAAmB,+BACnBC,OAAQ,eACR,gBAAiB,iBACjBC,QAAS,6DACTC,QAAS,mBACTC,QAAS,uBACT,cAAe,qCACfC,KAAM,4BACN,WAAY,qBACZ,2BAA4B,sCAC5B,kBAAmB,kCACnB,YAAa,2CACb,4BAA6B,uCAC7B,uBAAwB,6CACxB,aAAc,wCAgHdC,aA9Ge,CACf,iBAAkB,SAClB,qBAAsB,SACtB,8BAA+B,SAC/BC,WAAY,UACZ,wBAAyB,UA0GzBC,gBAxGkB,CAClB,cAAe,UACf,oBA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IAAK,SACD,OAAO2F,KAAK6B,iBAChB,IAAK,WACD,OAAO7B,KAAK+B,mBAChB,QACI,OAAQZ,YAAE,MAAO,KAAMA,YAAE,OAAQ,CAAE9G,KAAM,UAAY8G,YAAE,OAAQ,CAAE9G,KAAM,aAGnFmE,OAAO0D,eAAerC,EAAaM,UAAW,OAAQ,CAClDgC,IAAK,WAAc,OAAOC,YAAWpC,OACrCqC,YAAY,EACZC,cAAc,IAEXzC,EA9GuB,GAgHlCA,EAAa0C,MAjHS","file":"static/js/14.c3e0d008.chunk.js","sourcesContent":["var name = \"@genesys/common-webcomponents\";\nvar version = \"2.15.1\";\nvar description = \"Common webcomponents\";\nvar main = \"dist/stencil-wrapper.js\";\nvar types = \"dist/types/index.d.ts\";\nvar collection = \"dist/collection/collection-manifest.json\";\nvar files = [\n \"dist/\"\n];\nvar scripts = {\n build: \"npm run clean && npm run i18n && npm run stencil && npm run docs && npm run build-wrapper\",\n \"build-wrapper\": \"./scripts/wrap-stencil.js\",\n \"check-readmes\": \"./scripts/check-readmes.sh\",\n clean: \"rm -r ./dist || true\",\n commit: \"git-cz\",\n \"create-component\": \"node scripts/create-component.js\",\n dev: \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev\\\"\",\n \"dev.public\": \"npx concurrently \\\"npm run stencil.dev\\\" \\\"npm run docs.dev.public\\\"\",\n docs: \"cd ./docs && npm run build\",\n \"docs.dev\": \"cd ./docs && npm run start\",\n \"docs.dev.public\": \"cd ./docs && npm run start -- --host 0.0.0.0\",\n format: \"prettier \\\"./**/*.{ts,tsx,js,jsx,json,css,html,less}\\\"\",\n \"format.check\": \"npm run format -- --check\",\n \"format.fix\": \"npm run format -- --write\",\n \"generate-start-of-week-file\": \"./scripts/generate-start-of-week-file.js\",\n i18n: \"npm run generate-start-of-week-file && ./scripts/build-i18n.js\",\n lint: \"npm run lint.commit && npm run lint.ts && npm run lint.css && npm run lint.svg\",\n \"lint.commit\": \"commitlint -f 811627c6ed30490b975acc4cbc2c2f4bac32e8ae\",\n \"lint.css\": \"npx stylelint '**/*.{css,html,less}' --fix\",\n \"lint.fix\": \"npm run lint.commit && npm run lint.ts -- --fix && npm run lint.css -- --fix\",\n \"lint.svg\": \"svgo -f ./src/components/stable/gux-icon/icons --multipass -q\",\n \"lint.ts\": \"tslint --project .\",\n \"list-component-tracking\": \"./scripts/list-component-tracking.js\",\n \"list-i18n-files\": \"./scripts/list-i18n-files.js\",\n predev: \"npm run i18n\",\n \"predev.public\": \"npm run predev\",\n prepare: \"./scripts/prepare-docs.sh && npm run i18n && husky install\",\n release: \"standard-version\",\n stencil: \"stencil build --prod\",\n \"stencil.dev\": \"stencil build --dev --watch --docs\",\n test: \"stencil test --spec --e2e\",\n \"test.e2e\": \"stencil test --e2e\",\n \"test.e2e.update-snapshot\": \"stencil test --e2e --updateSnapshot\",\n \"test.screenshot\": \"stencil test --e2e --screenshot\",\n \"test.unit\": \"stencil build dev && stencil test --spec\",\n \"test.unit.update-snapshot\": \"stencil test --spec --updateSnapshot\",\n \"test.update-snapshot\": \"stencil test --spec --e2e --updateSnapshot\",\n \"test.watch\": \"stencil test --spec --e2e --watchAll\"\n};\nvar dependencies = {\n \"@popperjs/core\": \"^2.9.2\",\n \"intl-messageformat\": \"~9.4.9\",\n \"requestanimationframe-timer\": \"^3.0.3\",\n sortablejs: \"^1.13.0\",\n \"stencil-click-outside\": \"^1.7.1\"\n};\nvar devDependencies = {\n \"@babel/core\": \"^7.14.2\",\n \"@babel/preset-env\": \"^7.14.2\",\n \"@commitlint/cli\": \"^12.1.4\",\n \"@commitlint/config-conventional\": \"^12.1.4\",\n \"@rollup/plugin-replace\": \"^2.4.2\",\n \"@stencil/core\": \"^1.17.4\",\n \"@stencil/less\": \"^1.0.0\",\n \"@stencil/utils\": \"0.0.5\",\n \"@types/jest\": \"^26.0.23\",\n \"@types/jsdom\": \"^16.2.10\",\n \"@types/new-relic-browser\": \"^0.1118.1\",\n \"@types/puppeteer\": \"^3.0.5\",\n \"@types/resize-observer-browser\": \"^0.1.5\",\n \"@types/sortablejs\": \"^1.10.6\",\n \"babel-loader\": \"^8.2.2\",\n commitizen: \"^4.2.4\",\n concurrently: \"^6.1.0\",\n \"cz-conventional-changelog\": \"^3.3.0\",\n \"file-loader\": \"^6.2.0\",\n glob: \"^7.1.7\",\n handlebars: \"^4.7.7\",\n husky: \"^6.0.0\",\n inquirer: \"^8.0.0\",\n jest: \"^26.6.3\",\n \"jest-cli\": \"^26.6.3\",\n \"jest-config\": \"^26.6.3\",\n \"jest-environment-node\": \"^26.6.2\",\n \"jest-junit\": \"^12.0.0\",\n jsdom: \"^16.5.3\",\n \"lint-staged\": \"^10.5.4\",\n marked: \"^2.0.3\",\n \"mutation-observer\": \"^1.0.3\",\n prettier: \"^2.3.0\",\n puppeteer: \"4.0.1\",\n \"rollup-plugin-copy\": \"^3.4.0\",\n \"rollup-plugin-less\": \"^1.1.3\",\n \"standard-version\": \"^9.3.0\",\n stylelint: \"^13.13.1\",\n \"stylelint-config-prettier\": \"^8.0.2\",\n \"stylelint-config-recess-order\": \"^2.4.0\",\n \"stylelint-config-standard\": \"^22.0.0\",\n svgo: \"^2.3.0\",\n \"ts-loader\": \"^7.0.5\",\n tslint: \"^6.1.3\",\n \"tslint-config-prettier\": \"^1.18.0\",\n typescript: \"^3.9.9\",\n weekstart: \"^1.1.0\",\n xmldom: \"^0.6.0\"\n};\nvar repository = {\n type: \"git\",\n url: \"git+bitbucket.org:inindca/genesys-webcomponents.git\"\n};\nvar config = {\n commitizen: {\n path: \"./node_modules/cz-conventional-changelog\"\n }\n};\nvar commitlint = {\n \"extends\": [\n \"@commitlint/config-conventional\"\n ],\n rules: {\n \"subject-case\": [\n 2,\n \"never\",\n [\n \"pascal-case\",\n \"upper-case\"\n ]\n ]\n }\n};\nvar stylelint = {\n \"extends\": [\n \"stylelint-config-standard\",\n \"stylelint-config-recess-order\",\n \"stylelint-config-prettier\"\n ],\n rules: {\n \"no-descending-specificity\": null,\n \"no-duplicate-selectors\": null,\n \"selector-type-no-unknown\": [\n true,\n {\n ignoreTypes: [\n \"/^gux-/\",\n \"lineargradient\"\n ]\n }\n ]\n }\n};\nvar packageInfo = {\n name: name,\n version: version,\n description: description,\n main: main,\n types: types,\n collection: collection,\n files: files,\n scripts: scripts,\n dependencies: dependencies,\n devDependencies: devDependencies,\n repository: repository,\n config: config,\n commitlint: commitlint,\n stylelint: stylelint,\n \"lint-staged\": {\n \"*.{css,html,less}\": [\n \"stylelint --fix\",\n \"prettier --write\"\n ],\n \"*.{ts,tsx}\": [\n \"tslint --fix\",\n \"prettier --write\"\n ],\n \"*.{js,jsx,json}\": \"prettier --write\",\n \"*.svg\": \"svgo -i\"\n }\n};\nvar libraryPageAction = 'spark-library';\nvar componentPageAction = 'spark-component';\nvar 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 var 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 var newrelic = window.newrelic;\n if (!newrelic) {\n return;\n }\n var _a = packageInfo.version.split('.'), major = _a[0], minor = _a[1], patch = _a[2];\n newrelic.addPageAction(libraryPageAction, {\n fullVersion: packageInfo.version,\n majorVersion: major,\n minorVersion: minor,\n patchVersion: patch\n });\n}\nexport { trackComponent as t };\n","function onHiddenChange(element, callback) {\n var observer = new MutationObserver(function (mutations) {\n mutations.forEach(function () {\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 var observer = new MutationObserver(function (mutations) {\n mutations.forEach(function (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 var observer = new MutationObserver(function (mutations) {\n mutations.forEach(function (mutation) {\n if (mutation.attributeName === 'required') {\n callback(element.required);\n }\n });\n });\n observer.observe(element, { attributes: true });\n return observer;\n}\nexport { onRequiredChange as a, onHiddenChange as b, onDisabledChange as o };\n","import { r as registerInstance, h, g as getElement } from './index-9bfee36e.js';\nimport { t as trackComponent } from './usage-tracking-33d5f2fa.js';\nimport { a as onRequiredChange } from './on-attribute-change-ddc5bb0b.js';\nvar guxFormFieldCss = \"gux-form-field .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside .gux-label-container{min-width:45px;margin-right:8px}gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside gux-input-range,gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside gux-input-select,gux-form-field .gux-label-and-input-and-error-container .gux-label-and-input-container.gux-beside gux-input-text-like{-ms-flex:1 1 auto;flex:1 1 auto}gux-form-field .gux-label-and-input-and-error-container .gux-error{margin:4px 0}gux-form-field .gux-required::after{color:#ea0b0b;content:' *'}.gux-form-field-dark-theme{color:#fdfdfd}.gux-dark-theme gux-form-field{color:#fdfdfd}gux-form-field.gux-dark-theme{color:#fdfdfd}.gux-form-field-light-theme{color:#33383d}.gux-light-theme gux-form-field{color:#33383d}gux-form-field.gux-light-theme{color:#33383d}gux-form-field{color:#33383d}\";\nvar GuxFormField = /** @class */ (function () {\n function GuxFormField(hostRef) {\n registerInstance(this, hostRef);\n this.slottedElementType = 'input';\n this.labelPosition = 'above';\n this.required = true;\n }\n GuxFormField.prototype.componentWillLoad = function () {\n var _this = this;\n this.input = this.root.querySelector('input[slot=\"input\"], select[slot=\"input\"], textarea[slot=\"input\"]');\n this.label = this.root.querySelector('label[slot=\"label\"]');\n var type = this.input.getAttribute('type');\n this.slottedElementType = this.input.tagName.toLowerCase();\n var variant = this.slottedElementType;\n if (this.slottedElementType === 'input') {\n variant = this.slottedElementType.concat('-').concat(type);\n }\n trackComponent(this.root, { variant: variant });\n this.required = this.input.required;\n this.requiredObserver = onRequiredChange(this.input, function (required) {\n _this.required = required;\n });\n };\n GuxFormField.prototype.componentWillRender = function () {\n if (this.label) {\n this.labelPosition = this.label.offsetWidth < 40 ? 'beside' : 'above';\n }\n };\n GuxFormField.prototype.disconnectedCallback = function () {\n this.requiredObserver.disconnect();\n };\n GuxFormField.prototype.getInputCheckbox = function () {\n return (h(\"gux-input-checkbox\", null, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n };\n GuxFormField.prototype.getInputRadio = function () {\n return (h(\"gux-input-radio\", null, h(\"slot\", { name: \"input\" }), h(\"slot\", { name: \"label\" })));\n };\n GuxFormField.prototype.getInputColor = function () {\n return (h(\"div\", { class: \"gux-label-and-input-and-error-container\" }, h(\"div\", { class: \"gux-label-and-input-container gux-\" + this.labelPosition }, h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': this.required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })), h(\"gux-input-color\", null, h(\"slot\", { name: \"input\" }))), h(\"div\", { class: \"gux-error\" }, h(\"slot\", { name: \"error\" }))));\n };\n GuxFormField.prototype.getInputRange = function (displayUnits, valueInTooltip) {\n return (h(\"div\", { class: \"guxlabel-and-input-and-error-container\" }, h(\"div\", { class: \"gux-label-and-input-container gux-\" + this.labelPosition }, h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': this.required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })), h(\"gux-input-range\", { \"display-units\": displayUnits, \"value-in-tooltip\": valueInTooltip }, h(\"slot\", { name: \"input\" }))), h(\"div\", { class: \"gux-error\" }, h(\"slot\", { name: \"error\" }))));\n };\n GuxFormField.prototype.getInputNumber = function (clearable) {\n return (h(\"div\", { class: \"gux-label-and-input-and-error-container\" }, h(\"div\", { class: \"gux-label-and-input-container gux-\" + this.labelPosition }, h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': this.required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })), h(\"gux-input-number\", { slot: \"input\", clearable: clearable }, h(\"slot\", { name: \"input\" }))), h(\"div\", { class: \"gux-error\" }, h(\"slot\", { name: \"error\" }))));\n };\n GuxFormField.prototype.getInputSelect = function () {\n return (h(\"div\", { class: \"gux-label-and-input-and-error-container\" }, h(\"div\", { class: \"gux-label-and-input-container gux-\" + this.labelPosition }, h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': this.required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })), h(\"gux-input-select\", { slot: \"input\" }, h(\"slot\", { name: \"input\" }))), h(\"div\", { class: \"gux-error\" }, h(\"slot\", { name: \"error\" }))));\n };\n GuxFormField.prototype.getInputTextLike = function (clearable) {\n return (h(\"div\", { class: \"gux-label-and-input-and-error-container\" }, h(\"div\", { class: \"gux-label-and-input-container gux-\" + this.labelPosition }, h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': this.required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })), h(\"gux-input-text-like\", { slot: \"input\", clearable: clearable }, h(\"slot\", { name: \"input\" }))), h(\"div\", { class: \"gux-error\" }, h(\"slot\", { name: \"error\" }))));\n };\n GuxFormField.prototype.getInputTextArea = function () {\n return (h(\"div\", { class: \"gux-label-and-input-and-error-container\" }, h(\"div\", { class: \"gux-label-and-input-container gux-\" + this.labelPosition }, h(\"div\", { class: {\n 'gux-label-container': true,\n 'gux-required': this.required\n } }, h(\"slot\", { name: \"label\", slot: \"label\" })), h(\"gux-input-textarea\", { slot: \"input\", resize: this.resize }, h(\"slot\", { name: \"input\" }))), h(\"div\", { class: \"gux-error\" }, h(\"slot\", { name: \"error\" }))));\n };\n GuxFormField.prototype.render = function () {\n var type = this.input.getAttribute('type');\n switch (this.slottedElementType) {\n case 'input':\n switch (type) {\n case 'checkbox':\n return this.getInputCheckbox();\n case 'radio':\n return this.getInputRadio();\n case 'color':\n return this.getInputColor();\n case 'range':\n return this.getInputRange(this.displayUnits, this.valueInTooltip);\n case 'email':\n case 'password':\n case 'text':\n return this.getInputTextLike(this.clearable);\n case 'number':\n return this.getInputNumber(this.clearable);\n case 'search':\n return this.getInputTextLike(false);\n default:\n return (h(\"div\", null, h(\"slot\", { name: \"label\" }), h(\"slot\", { name: \"input\" })));\n }\n case 'select':\n return this.getInputSelect();\n case 'textarea':\n return this.getInputTextArea();\n default:\n return (h(\"div\", null, h(\"slot\", { name: \"label\" }), h(\"slot\", { name: \"input\" })));\n }\n };\n Object.defineProperty(GuxFormField.prototype, \"root\", {\n get: function () { return getElement(this); },\n enumerable: false,\n configurable: true\n });\n return GuxFormField;\n}());\nGuxFormField.style = guxFormFieldCss;\nexport { GuxFormField as gux_form_field };\n"],"sourceRoot":""}
|