blip-ds 2.0.0-rc.21 → 2.0.0-rc.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blip-ds/blip-ds.esm.js +1 -1
- package/dist/blip-ds/{p-c03e3606.system.entry.js → p-0029fae8.system.entry.js} +2 -2
- package/dist/blip-ds/p-025b0c38.system.entry.js +2 -0
- package/dist/blip-ds/p-047aa6e4.system.entry.js +2 -0
- package/dist/blip-ds/{p-0c1f3ba6.entry.js → p-05014fe8.entry.js} +2 -2
- package/dist/blip-ds/{p-6f13e3f4.entry.js → p-0578a7ec.entry.js} +2 -2
- package/dist/blip-ds/{p-d2d4324e.entry.js → p-067de52a.entry.js} +2 -2
- package/dist/blip-ds/{p-1135395e.system.entry.js → p-07422f21.system.entry.js} +2 -2
- package/dist/blip-ds/p-0daa7aae.entry.js +2 -0
- package/dist/blip-ds/{p-ab2f4028.system.entry.js → p-0e19d62a.system.entry.js} +2 -2
- package/dist/blip-ds/p-108f033b.system.entry.js +2 -0
- package/dist/blip-ds/{p-1119fa51.entry.js → p-18ec63ab.entry.js} +2 -2
- package/dist/blip-ds/{p-Cts8fR0z.system.js.map → p-1HLZ81Vo.system.js.map} +1 -1
- package/dist/blip-ds/{p-ea0a9c9a.system.entry.js → p-1a43ced6.system.entry.js} +2 -2
- package/dist/blip-ds/p-1a927521.system.entry.js +2 -0
- package/dist/blip-ds/p-1a927521.system.entry.js.map +1 -0
- package/dist/blip-ds/{p-8f7e63b7.entry.js → p-1a963882.entry.js} +2 -2
- package/dist/blip-ds/{p-69ea5010.system.entry.js → p-1cb9a98a.system.entry.js} +2 -2
- package/dist/blip-ds/{p-2ee33e71.system.entry.js → p-218d89dd.system.entry.js} +2 -2
- package/dist/blip-ds/{p-c9e5b36a.entry.js → p-25d94ea1.entry.js} +2 -2
- package/dist/blip-ds/{p-CKkI2j_x.system.js.map → p-25l1CI30.system.js.map} +1 -1
- package/dist/blip-ds/{p-2114bb53.entry.js → p-26f69aaa.entry.js} +2 -2
- package/dist/blip-ds/{p-32800500.system.entry.js → p-290379ef.system.entry.js} +2 -2
- package/dist/blip-ds/{p-a250e5c0.system.entry.js → p-29588de2.system.entry.js} +2 -2
- package/dist/blip-ds/p-2NONefL6.js +2 -0
- package/dist/blip-ds/{p-DNAIg-a5.js.map → p-2NONefL6.js.map} +1 -1
- package/dist/blip-ds/{p-5ae4fe23.system.entry.js → p-2cc99943.system.entry.js} +2 -2
- package/dist/blip-ds/{p-bf4ce812.entry.js → p-32358d6b.entry.js} +2 -2
- package/dist/blip-ds/{p-c4dfac91.system.entry.js → p-359196c5.system.entry.js} +2 -2
- package/dist/blip-ds/p-35c82911.system.entry.js +2 -0
- package/dist/blip-ds/{p-176e727f.entry.js → p-398ecd4e.entry.js} +2 -2
- package/dist/blip-ds/{p-90d0841f.entry.js → p-3a68dab4.entry.js} +2 -2
- package/dist/blip-ds/p-3bc15759.entry.js +2 -0
- package/dist/blip-ds/p-3d616e94.entry.js +2 -0
- package/dist/blip-ds/{p-18b34c58.system.entry.js → p-3e2a6a67.system.entry.js} +2 -2
- package/dist/blip-ds/p-3e4d0240.entry.js +2 -0
- package/dist/blip-ds/{p-592914a1.entry.js → p-3f42b1f9.entry.js} +2 -2
- package/dist/blip-ds/{p-0ed71739.system.entry.js → p-4083e80a.system.entry.js} +2 -2
- package/dist/blip-ds/{p-6b3d7c7c.system.entry.js → p-4a4de089.system.entry.js} +2 -2
- package/dist/blip-ds/{p-3c0baedb.system.entry.js → p-551789cc.system.entry.js} +2 -2
- package/dist/blip-ds/p-58ca843b.system.entry.js +2 -0
- package/dist/blip-ds/p-5a377a9a.system.entry.js +2 -0
- package/dist/blip-ds/{p-afa57e15.system.entry.js → p-5a5552d5.system.entry.js} +2 -2
- package/dist/blip-ds/{p-b5f9e240.entry.js → p-5c3a7283.entry.js} +2 -2
- package/dist/blip-ds/{p-003410ad.entry.js → p-5cb49ffe.entry.js} +2 -2
- package/dist/blip-ds/{p-64469176.system.entry.js → p-5ccdeca6.system.entry.js} +2 -2
- package/dist/blip-ds/{p-349674ee.entry.js → p-5e19751d.entry.js} +2 -2
- package/dist/blip-ds/{p-79025f3c.system.entry.js → p-607a53aa.system.entry.js} +2 -2
- package/dist/blip-ds/{p-eb645447.entry.js → p-625a333e.entry.js} +2 -2
- package/dist/blip-ds/{p-7d29e857.system.entry.js → p-6c055050.system.entry.js} +2 -2
- package/dist/blip-ds/p-6f478d03.system.entry.js +2 -0
- package/dist/blip-ds/{p-97eb8844.system.entry.js → p-707a2c38.system.entry.js} +2 -2
- package/dist/blip-ds/{p-469894da.entry.js → p-729e69a2.entry.js} +2 -2
- package/dist/blip-ds/p-77629121.system.entry.js +2 -0
- package/dist/blip-ds/p-77629121.system.entry.js.map +1 -0
- package/dist/blip-ds/{p-3f0f570b.system.entry.js → p-785bad10.system.entry.js} +2 -2
- package/dist/blip-ds/{p-53a6d932.entry.js → p-7a87c4f8.entry.js} +2 -2
- package/dist/blip-ds/p-7bc7d793.system.entry.js +2 -0
- package/dist/blip-ds/p-7c1a20c9.entry.js +2 -0
- package/dist/blip-ds/p-7c1a20c9.entry.js.map +1 -0
- package/dist/blip-ds/p-7c61bf98.entry.js +2 -0
- package/dist/blip-ds/p-7c61bf98.entry.js.map +1 -0
- package/dist/blip-ds/p-7de0ddfe.entry.js +2 -0
- package/dist/blip-ds/p-7df56407.system.entry.js +2 -0
- package/dist/blip-ds/{p-862d2b5e.entry.js → p-7e9f9d02.entry.js} +2 -2
- package/dist/blip-ds/{p-a919ead0.system.entry.js → p-7f8a041c.system.entry.js} +2 -2
- package/dist/blip-ds/{p-6c00f590.entry.js → p-815d2809.entry.js} +2 -2
- package/dist/blip-ds/{p-06180e7c.system.entry.js → p-82ae199e.system.entry.js} +2 -2
- package/dist/blip-ds/p-8598730b.entry.js +2 -0
- package/dist/blip-ds/p-8598730b.entry.js.map +1 -0
- package/dist/blip-ds/{p-43e9a616.system.entry.js → p-8964ee80.system.entry.js} +2 -2
- package/dist/blip-ds/{p-BObdLpBP.system.js.map → p-8OcBIyWz.system.js.map} +1 -1
- package/dist/blip-ds/{p-b204d7cc.entry.js → p-8c381a0c.entry.js} +2 -2
- package/dist/blip-ds/{p-4ddc9900.entry.js → p-8f6c91d1.entry.js} +2 -2
- package/dist/blip-ds/p-8fa45c31.entry.js +2 -0
- package/dist/blip-ds/{p-74ea25c7.entry.js.map → p-8fa45c31.entry.js.map} +1 -1
- package/dist/blip-ds/{p-5a75365e.entry.js → p-9026fc06.entry.js} +2 -2
- package/dist/blip-ds/{p-3415ae2e.entry.js → p-9281170b.entry.js} +2 -2
- package/dist/blip-ds/p-93beb9d2.system.entry.js +2 -0
- package/dist/blip-ds/{p-446a7d9e.system.entry.js → p-94ba280d.system.entry.js} +2 -2
- package/dist/blip-ds/p-9ae83f35.entry.js +2 -0
- package/dist/blip-ds/{p-d41ff576.entry.js → p-9b0cc97f.entry.js} +2 -2
- package/dist/blip-ds/{p-de025672.entry.js → p-9bd712b6.entry.js} +2 -2
- package/dist/blip-ds/{p-86a2040f.entry.js → p-9bdc3892.entry.js} +2 -2
- package/dist/blip-ds/{p-707079a1.system.entry.js → p-9bec2a84.system.entry.js} +2 -2
- package/dist/blip-ds/{p-7ded8687.entry.js → p-9d5ad744.entry.js} +2 -2
- package/dist/blip-ds/{p-3cc8ef95.entry.js → p-9ed17a7f.entry.js} +2 -2
- package/dist/blip-ds/{p-DisWsLZT.system.js.map → p-B1IGJEpC.system.js.map} +1 -1
- package/dist/blip-ds/{p-Duxq5CjO.system.js.map → p-B7BSWh97.system.js.map} +1 -1
- package/dist/blip-ds/{p-LPy_CRN7.system.js.map → p-B7R4fWdV.system.js.map} +1 -1
- package/dist/blip-ds/{p-D06LgKyz.system.js.map → p-BAyewXIy.system.js.map} +1 -1
- package/dist/blip-ds/{p-BaEXYPce.system.js.map → p-BBBobc_8.system.js.map} +1 -1
- package/dist/blip-ds/p-BMtUhULI.system.js +2 -0
- package/dist/blip-ds/{p-B1n_p7xl.system.js.map → p-BMtUhULI.system.js.map} +1 -1
- package/dist/blip-ds/{p-DwrLi8H3.system.js.map → p-BQDua0Ej.system.js.map} +1 -1
- package/dist/blip-ds/{p-5veGgfa7.system.js.map → p-BUYnn-ir.system.js.map} +1 -1
- package/dist/blip-ds/p-BXREBvM6.system.js.map +1 -0
- package/dist/blip-ds/{p-DqTGMa2B.system.js.map → p-BZGh2R0T.system.js.map} +1 -1
- package/dist/blip-ds/{p-Dd4wjU-1.system.js.map → p-BteqU-0K.system.js.map} +1 -1
- package/dist/blip-ds/{p-CAlVpTyQ.system.js.map → p-BvuOt_5y.system.js.map} +1 -1
- package/dist/blip-ds/{p-DFYZPvvz.system.js.map → p-Bvx6a8Jl.system.js.map} +1 -1
- package/dist/blip-ds/{p-CpTfnDw3.system.js.map → p-ByiuMSot.system.js.map} +1 -1
- package/dist/blip-ds/{p-Dwfnu-vW.system.js.map → p-C2V5KCZx.system.js.map} +1 -1
- package/dist/blip-ds/{p-pevCKk5W.system.js.map → p-C2jv5J2W.system.js.map} +1 -1
- package/dist/blip-ds/p-C3V_Xia5.system.js.map +1 -0
- package/dist/blip-ds/{p-B6jqZ6se.system.js.map → p-C3e_TBjf.system.js.map} +1 -1
- package/dist/blip-ds/{p-CCfwr4j6.system.js.map → p-C9sWH4Vr.system.js.map} +1 -1
- package/dist/blip-ds/{p-CGGuuIq8.system.js.map → p-CMRvP31J.system.js.map} +1 -1
- package/dist/blip-ds/{p--H5Z_hpl.system.js.map → p-CNKNJoWG.system.js.map} +1 -1
- package/dist/blip-ds/{p-4YZl4nTJ.system.js.map → p-COaNPUed.system.js.map} +1 -1
- package/dist/blip-ds/{p-eTfBkqfH.system.js.map → p-CTJbp3hO.system.js.map} +1 -1
- package/dist/blip-ds/{p-DlxOvuUD.system.js.map → p-CWHFyxIi.system.js.map} +1 -1
- package/dist/blip-ds/{p-DPX_5eU4.system.js.map → p-CXljJBNh.system.js.map} +1 -1
- package/dist/blip-ds/{p-Kqgb2do9.system.js.map → p-CbWSF5YJ.system.js.map} +1 -1
- package/dist/blip-ds/{p-BX4uY1js.system.js.map → p-CcpK8AUp.system.js.map} +1 -1
- package/dist/blip-ds/{p-CM95vv3v.system.js.map → p-CfsQL5Ne.system.js.map} +1 -1
- package/dist/blip-ds/{p-MLlB3R_z.system.js.map → p-CkAFkVEU.system.js.map} +1 -1
- package/dist/blip-ds/p-Cq5fxYsp.system.js +1 -1
- package/dist/blip-ds/{p-ITRq9aXW.system.js.map → p-Ctk2h1EY.system.js.map} +1 -1
- package/dist/blip-ds/p-Cwo0uWzU.system.js.map +1 -0
- package/dist/blip-ds/{p-CuWf8IhJ.system.js.map → p-CzWHMqjR.system.js.map} +1 -1
- package/dist/blip-ds/{p-xPIc5ST3.system.js.map → p-D2kqMYsi.system.js.map} +1 -1
- package/dist/blip-ds/{p-CQNebR_F.system.js.map → p-D5jjcIiy.system.js.map} +1 -1
- package/dist/blip-ds/p-D6T76WVO.system.js.map +1 -0
- package/dist/blip-ds/{p-C9E1XjFH.system.js.map → p-DCKJL0LV.system.js.map} +1 -1
- package/dist/blip-ds/{p-TO-n5zdc.system.js.map → p-DDa5LJfm.system.js.map} +1 -1
- package/dist/blip-ds/{p-9BKceAXm.system.js.map → p-DRF9HThf.system.js.map} +1 -1
- package/dist/blip-ds/{p-DT4_OSGK.system.js.map → p-DSqxTICP.system.js.map} +1 -1
- package/dist/blip-ds/{p-BqKneV93.system.js.map → p-DcPFV8D-.system.js.map} +1 -1
- package/dist/blip-ds/{p-D8-Pz9AS.system.js.map → p-DcfZRUxn.system.js.map} +1 -1
- package/dist/blip-ds/{p-B5g600C6.system.js.map → p-Df0N02S0.system.js.map} +1 -1
- package/dist/blip-ds/{p-DbpZSYtk.system.js.map → p-Df43Zk5f.system.js.map} +1 -1
- package/dist/blip-ds/{p-BSdXBe81.system.js.map → p-DoJmBZXD.system.js.map} +1 -1
- package/dist/blip-ds/{p-Cl0CQXUU.system.js.map → p-Dwi7bRq9.system.js.map} +1 -1
- package/dist/blip-ds/{p-B6iG84mv.system.js.map → p-DwxtXw90.system.js.map} +1 -1
- package/dist/blip-ds/{p-4ljWXgdh.system.js.map → p-IqkUWvrC.system.js.map} +1 -1
- package/dist/blip-ds/{p-D6wKN4fY.system.js.map → p-SFumzlFM.system.js.map} +1 -1
- package/dist/blip-ds/{p-BKtuUN3C.system.js.map → p-UD8ysguL.system.js.map} +1 -1
- package/dist/blip-ds/{p-w0gtvAfQ.system.js.map → p-_HWlg2h-.system.js.map} +1 -1
- package/dist/blip-ds/{p-aa5148dd.entry.js → p-a0ff00c9.entry.js} +2 -2
- package/dist/blip-ds/{p-bd6fcd11.entry.js → p-a1d82dd7.entry.js} +2 -2
- package/dist/blip-ds/p-a2062115.system.entry.js +2 -0
- package/dist/blip-ds/{p-be0fbce8.system.entry.js → p-a24992de.system.entry.js} +2 -2
- package/dist/blip-ds/p-a80c183f.system.entry.js +2 -0
- package/dist/blip-ds/p-a80c183f.system.entry.js.map +1 -0
- package/dist/blip-ds/{p-2fba3c85.system.entry.js → p-a8d50ca5.system.entry.js} +2 -2
- package/dist/blip-ds/{p-a6020338.system.entry.js → p-ad0e2531.system.entry.js} +2 -2
- package/dist/blip-ds/{p-18c7d0aa.entry.js → p-b0fdc0fa.entry.js} +2 -2
- package/dist/blip-ds/{p-62b88661.entry.js → p-b24e0a22.entry.js} +2 -2
- package/dist/blip-ds/{p-eac4d71f.system.entry.js → p-b2596729.system.entry.js} +2 -2
- package/dist/blip-ds/{p-e743756b.system.entry.js → p-b4aa2e59.system.entry.js} +2 -2
- package/dist/blip-ds/{p-d732a7aa.entry.js → p-b4bb7131.entry.js} +2 -2
- package/dist/blip-ds/{p-5e883083.entry.js → p-b73f42d8.entry.js} +2 -2
- package/dist/blip-ds/{p-58c338a3.system.entry.js → p-bb8dff3d.system.entry.js} +2 -2
- package/dist/blip-ds/{p-74f75d70.entry.js → p-bd3dcdaa.entry.js} +2 -2
- package/dist/blip-ds/{p-75f3f2eb.entry.js → p-c277aa0a.entry.js} +2 -2
- package/dist/blip-ds/p-c4a85446.entry.js +2 -0
- package/dist/blip-ds/{p-8369303d.system.entry.js → p-c688027a.system.entry.js} +2 -2
- package/dist/blip-ds/p-c9bc2b46.system.entry.js +2 -0
- package/dist/blip-ds/p-cbe2046b.system.entry.js +2 -0
- package/dist/blip-ds/{p-814b8658.system.entry.js → p-cc7ea768.system.entry.js} +2 -2
- package/dist/blip-ds/p-cc9f7145.system.entry.js +2 -0
- package/dist/blip-ds/p-cc9f7145.system.entry.js.map +1 -0
- package/dist/blip-ds/p-ce70897a.system.entry.js +2 -0
- package/dist/blip-ds/{p-f97f2cb3.entry.js → p-cea73fb3.entry.js} +2 -2
- package/dist/blip-ds/{p-d444ee01.system.entry.js → p-cf3f5261.system.entry.js} +2 -2
- package/dist/blip-ds/{p-rIEiKZrI.system.js.map → p-cl-dlA7n.system.js.map} +1 -1
- package/dist/blip-ds/{p-4d74ec37.system.entry.js → p-d0ae58f9.system.entry.js} +2 -2
- package/dist/blip-ds/{p-dfafb5bd.entry.js → p-d304da7a.entry.js} +2 -2
- package/dist/blip-ds/{p-65add83f.system.entry.js → p-d32a9738.system.entry.js} +2 -2
- package/dist/blip-ds/p-d43ba588.entry.js +2 -0
- package/dist/blip-ds/p-d43ba588.entry.js.map +1 -0
- package/dist/blip-ds/{p-668b137f.system.entry.js → p-d6c747e2.system.entry.js} +2 -2
- package/dist/blip-ds/{p-47afd4c7.system.entry.js → p-d7482e87.system.entry.js} +2 -2
- package/dist/blip-ds/{p-CuDePxj1.system.js.map → p-djZ-2xWh.system.js.map} +1 -1
- package/dist/blip-ds/{p-86e40c5f.system.entry.js → p-e20c98ee.system.entry.js} +2 -2
- package/dist/blip-ds/{p-82882225.system.entry.js → p-e680aef1.system.entry.js} +2 -2
- package/dist/blip-ds/{p-a1307bb4.entry.js → p-e8530e93.entry.js} +2 -2
- package/dist/blip-ds/p-e987af01.entry.js +2 -0
- package/dist/blip-ds/{p-DsZvpiHn.system.js.map → p-eKWkGWpo.system.js.map} +1 -1
- package/dist/blip-ds/{p-11e433b9.entry.js → p-ea047ec9.entry.js} +2 -2
- package/dist/blip-ds/{p-288872b5.entry.js → p-ea26f32d.entry.js} +2 -2
- package/dist/blip-ds/{p-7e8d99b2.entry.js → p-f05527ab.entry.js} +2 -2
- package/dist/blip-ds/{p-4988692b.entry.js → p-f1f7777c.entry.js} +2 -2
- package/dist/blip-ds/{p-7073633b.entry.js → p-f2577541.entry.js} +2 -2
- package/dist/blip-ds/{p-2ee8cb7b.entry.js → p-f36a264d.entry.js} +2 -2
- package/dist/blip-ds/{p-91ca0401.system.entry.js → p-f905b4d4.system.entry.js} +2 -2
- package/dist/blip-ds/{p-c81dd055.system.entry.js → p-f90f8c3a.system.entry.js} +2 -2
- package/dist/blip-ds/{p-5c5d4559.entry.js → p-fb3d23f4.entry.js} +2 -2
- package/dist/blip-ds/p-fcfc02bd.system.entry.js +2 -0
- package/dist/blip-ds/{p-ea966c25.entry.js → p-fe74004f.entry.js} +2 -2
- package/dist/blip-ds/{p-ef8e0a17.entry.js → p-ff556bda.entry.js} +2 -2
- package/dist/blip-ds/{p-B0DRBSTM.system.js.map → p-iuF1yTsI.system.js.map} +1 -1
- package/dist/blip-ds/{p-CRD33fOy.system.js.map → p-jvSVTZv9.system.js.map} +1 -1
- package/dist/blip-ds/{p-B7ryXQgY.system.js.map → p-qcak1zPk.system.js.map} +1 -1
- package/dist/blip-ds/{p-DDKoT9SM.system.js.map → p-v5Q13lBE.system.js.map} +1 -1
- package/dist/blip-ds/{p-CreskH3r.system.js.map → p-vsdAVJWL.system.js.map} +1 -1
- package/dist/blip-ds/{p-DMENNaZj.system.js.map → p-wVqBzyJK.system.js.map} +1 -1
- package/dist/blip-ds/styles/helpers.scss +9 -1
- package/dist/blip-ds/uai-button.entry.esm.js.map +1 -0
- package/dist/blip-ds/uai-navbar-content.entry.esm.js.map +1 -0
- package/dist/blip-ds/uai-navbar.entry.esm.js.map +1 -0
- package/dist/blip-ds/uai-theme-provider.entry.esm.js.map +1 -0
- package/dist/cjs/{asset-loader-CLpR4LMY.js → asset-loader-CbLrcrjb.js} +651 -3
- package/dist/{esm/asset-loader-DNAIg-a5.js.map → cjs/asset-loader-CbLrcrjb.js.map} +1 -1
- package/dist/cjs/bds-accordion-body.cjs.entry.js +2 -2
- package/dist/cjs/bds-accordion-header.cjs.entry.js +1 -1
- package/dist/cjs/bds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bds-alert-actions.cjs.entry.js +1 -1
- package/dist/cjs/bds-alert-body.cjs.entry.js +1 -1
- package/dist/cjs/bds-alert.cjs.entry.js +2 -2
- package/dist/cjs/bds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/bds-card-body.cjs.entry.js +1 -1
- package/dist/cjs/bds-card-color.cjs.entry.js +2 -2
- package/dist/cjs/bds-card-subtitle.cjs.entry.js +1 -1
- package/dist/cjs/bds-card-title.cjs.entry.js +1 -1
- package/dist/cjs/bds-card.cjs.entry.js +2 -2
- package/dist/cjs/bds-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/bds-carousel.cjs.entry.js +4 -4
- package/dist/cjs/bds-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/bds-counter-text.cjs.entry.js +2 -2
- package/dist/cjs/bds-data-table.cjs.entry.js +1 -1
- package/dist/cjs/bds-datepicker-period_2.cjs.entry.js +3 -3
- package/dist/cjs/bds-divider.cjs.entry.js +1 -1
- package/dist/cjs/bds-expansion-panel-body.cjs.entry.js +1 -1
- package/dist/cjs/bds-expansion-panel-header.cjs.entry.js +1 -1
- package/dist/cjs/bds-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/bds-grid_5.cjs.entry.js +5 -5
- package/dist/cjs/bds-icon.cjs.entry.js +2 -2
- package/dist/cjs/bds-illustration_2.cjs.entry.js +2 -2
- package/dist/cjs/bds-input-chips.cjs.entry.js +2 -2
- package/dist/cjs/bds-input-password.cjs.entry.js +2 -2
- package/dist/cjs/bds-input.cjs.entry.js +4 -4
- package/dist/cjs/bds-list-item-content.cjs.entry.js +2 -2
- package/dist/cjs/bds-loading-page.cjs.entry.js +2 -2
- package/dist/cjs/bds-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bds-menu-action.cjs.entry.js +4 -4
- package/dist/cjs/bds-menu-list-item.cjs.entry.js +1 -1
- package/dist/cjs/bds-menu-list.cjs.entry.js +1 -1
- package/dist/cjs/bds-menu-separation.cjs.entry.js +2 -2
- package/dist/cjs/bds-modal-action.cjs.entry.js +1 -1
- package/dist/cjs/bds-modal-close-button.cjs.entry.js +2 -2
- package/dist/cjs/bds-navbar-content.cjs.entry.js +1 -1
- package/dist/cjs/bds-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/bds-radio_2.cjs.entry.js +1 -1
- package/dist/cjs/bds-select-chips.cjs.entry.js +3 -3
- package/dist/cjs/bds-select.cjs.entry.js +2 -2
- package/dist/cjs/bds-slider.cjs.entry.js +3 -3
- package/dist/cjs/bds-step.cjs.entry.js +4 -4
- package/dist/cjs/bds-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bds-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/bds-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/bds-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/bds-tab.cjs.entry.js +2 -2
- package/dist/cjs/bds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/bds-table-header.cjs.entry.js +1 -1
- package/dist/cjs/bds-table.cjs.entry.js +1 -1
- package/dist/cjs/bds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/bds-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/bds-toast.cjs.entry.js +2 -2
- package/dist/cjs/bds-upload.cjs.entry.js +2 -2
- package/dist/cjs/bds-warning.cjs.entry.js +1 -1
- package/dist/cjs/blip-ds.cjs.js +1 -1
- package/dist/cjs/index-DQyYkciT.js +16 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/uai-button.cjs.entry.js +246 -0
- package/dist/cjs/uai-button.cjs.entry.js.map +1 -0
- package/dist/cjs/uai-button.entry.cjs.js.map +1 -0
- package/dist/cjs/uai-navbar-content.cjs.entry.js +21 -0
- package/dist/cjs/uai-navbar-content.cjs.entry.js.map +1 -0
- package/dist/cjs/uai-navbar-content.entry.cjs.js.map +1 -0
- package/dist/cjs/uai-navbar.cjs.entry.js +34 -0
- package/dist/cjs/uai-navbar.cjs.entry.js.map +1 -0
- package/dist/cjs/uai-navbar.entry.cjs.js.map +1 -0
- package/dist/cjs/uai-theme-provider.cjs.entry.js +38 -0
- package/dist/cjs/uai-theme-provider.cjs.entry.js.map +1 -0
- package/dist/cjs/uai-theme-provider.entry.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/accordion/accordion-body.js +2 -2
- package/dist/collection/components/accordion/accordion-header.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/alert/alert-actions/alert-actions.js +1 -1
- package/dist/collection/components/alert/alert-body/alert-body.js +1 -1
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/button/button-group.js +1 -1
- package/dist/collection/components/card/card-body/card-body.js +1 -1
- package/dist/collection/components/card/card-subtitle/card-subtitle.js +1 -1
- package/dist/collection/components/card/card-title/card-title.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-color/card-color.js +2 -2
- package/dist/collection/components/carousel/carousel-item.js +1 -1
- package/dist/collection/components/carousel/carousel.js +4 -4
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/counter-text/counter-text.js +2 -2
- package/dist/collection/components/datepicker/datepicker-single/datepicker-single.js +3 -3
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/expansion-panel/expansion-panel-body/expansion-panel-body.js +1 -1
- package/dist/collection/components/expansion-panel/expansion-panel-header/expansion-panel-header.js +1 -1
- package/dist/collection/components/expansion-panel/expansion-panel.js +1 -1
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/illustration/illustration.js +1 -1
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-chips/input-chips.js +2 -2
- package/dist/collection/components/input-password/input-password.js +2 -2
- package/dist/collection/components/list/list-item-content.js +2 -2
- package/dist/collection/components/loading-page/loading-page.js +1 -1
- package/dist/collection/components/menu/menu-action/menu-action.js +4 -4
- package/dist/collection/components/menu/menu-separation/menu-separation.js +2 -2
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-list-item/menu-list-item.js +1 -1
- package/dist/collection/components/modal/modal-action/modal-action.js +1 -1
- package/dist/collection/components/modal/modal-close-button/modal-close-button.js +2 -2
- package/dist/collection/components/navbar/navbar-content.js +1 -1
- package/dist/collection/components/paper/paper.js +2 -2
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio-button/radio-group.js +1 -1
- package/dist/collection/components/selects/select/select.js +2 -2
- package/dist/collection/components/selects/select-chips/select-chips.js +3 -3
- package/dist/collection/components/slider/slider.js +3 -3
- package/dist/collection/components/stepper/step/step.js +4 -4
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/table/data-table.js +1 -1
- package/dist/collection/components/table/table/table.js +1 -1
- package/dist/collection/components/table/table-body/table-body.js +1 -1
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/tabs/tab (depreciated)/tab/tab.js +2 -2
- package/dist/collection/components/tabs/tab (depreciated)/tab-panel/tab-panel.js +2 -2
- package/dist/collection/components/tabs/tab (depreciated)/tabs.js +2 -2
- package/dist/collection/components/tabs/tab-group.js +2 -2
- package/dist/collection/components/tabs/tab-item/tab-item.js +1 -1
- package/dist/collection/components/test-component/test-component.js +1 -1
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toast-container/toast-container.js +1 -1
- package/dist/collection/components/uai-button/uai-button.css +257 -0
- package/dist/collection/components/uai-button/uai-button.js +903 -0
- package/dist/collection/components/uai-button/uai-button.js.map +1 -0
- package/dist/collection/components/uai-navbar/uai-navbar.css +96 -0
- package/dist/collection/components/uai-navbar/uai-navbar.js +137 -0
- package/dist/collection/components/uai-navbar/uai-navbar.js.map +1 -0
- package/dist/collection/components/uai-navbar-content/uai-navbar-content.css +28 -0
- package/dist/collection/components/uai-navbar-content/uai-navbar-content.js +20 -0
- package/dist/collection/components/uai-navbar-content/uai-navbar-content.js.map +1 -0
- package/dist/collection/components/uai-theme-provider/uai-theme-provider.css +180 -0
- package/dist/collection/components/uai-theme-provider/uai-theme-provider.js +72 -0
- package/dist/collection/components/uai-theme-provider/uai-theme-provider.js.map +1 -0
- package/dist/collection/components/upload/bds-upload.js +1 -1
- package/dist/collection/components/warning/warning.js +1 -1
- package/dist/collection/styles/helpers.scss +9 -1
- package/dist/components/bds-accordion-body.js +2 -2
- package/dist/components/bds-accordion-header.js +3 -3
- package/dist/components/bds-accordion.js +1 -1
- package/dist/components/bds-alert-actions.js +1 -1
- package/dist/components/bds-alert-body.js +1 -1
- package/dist/components/bds-alert-header.js +1 -1
- package/dist/components/bds-alert.js +2 -2
- package/dist/components/bds-autocomplete.js +4 -4
- package/dist/components/bds-avatar-group.js +2 -2
- package/dist/components/bds-avatar.js +1 -1
- package/dist/components/bds-badge.js +1 -1
- package/dist/components/bds-banner.js +1 -1
- package/dist/components/bds-breadcrumb.js +4 -4
- package/dist/components/bds-button-group.js +2 -2
- package/dist/components/bds-button-icon.js +1 -1
- package/dist/components/bds-button.js +1 -1
- package/dist/components/bds-card-body.js +2 -2
- package/dist/components/bds-card-color.js +4 -4
- package/dist/components/bds-card-footer.js +1 -1
- package/dist/components/bds-card-header.js +1 -1
- package/dist/components/bds-card-subtitle.js +1 -1
- package/dist/components/bds-card-title.js +1 -1
- package/dist/components/bds-card.js +4 -4
- package/dist/components/bds-carousel-item.js +5 -5
- package/dist/components/bds-carousel.js +9 -9
- package/dist/components/bds-checkbox.js +1 -1
- package/dist/components/bds-chip-clickable.js +1 -1
- package/dist/components/bds-chip-selected.js +1 -1
- package/dist/components/bds-chip-tag.js +1 -1
- package/dist/components/bds-chip.js +1 -1
- package/dist/components/bds-counter-text.js +1 -1
- package/dist/components/bds-data-table.js +5 -5
- package/dist/components/bds-datepicker-period.js +1 -1
- package/dist/components/bds-datepicker-single.js +1 -1
- package/dist/components/bds-datepicker.js +12 -12
- package/dist/components/bds-divider.js +1 -1
- package/dist/components/bds-expansion-panel-body.js +1 -1
- package/dist/components/bds-expansion-panel-header.js +1 -1
- package/dist/components/bds-expansion-panel.js +1 -1
- package/dist/components/bds-grid.js +1 -1
- package/dist/components/bds-icon.js +1 -1
- package/dist/components/bds-illustration.js +1 -1
- package/dist/components/bds-image.js +1 -1
- package/dist/components/bds-input-chips.js +6 -6
- package/dist/components/bds-input-editable.js +1 -1
- package/dist/components/bds-input-password.js +3 -3
- package/dist/components/bds-input-phone-number.js +3 -3
- package/dist/components/bds-input.js +1 -1
- package/dist/components/bds-list-item-content.js +3 -3
- package/dist/components/bds-list-item.js +1 -1
- package/dist/components/bds-list.js +7 -7
- package/dist/components/bds-loading-page.js +2 -2
- package/dist/components/bds-loading-spinner.js +1 -1
- package/dist/components/bds-menu-action.js +5 -5
- package/dist/components/bds-menu-exibition.js +2 -2
- package/dist/components/bds-menu-list-item.js +2 -2
- package/dist/components/bds-menu-list.js +1 -1
- package/dist/components/bds-menu-separation.js +2 -2
- package/dist/components/bds-modal-action.js +1 -1
- package/dist/components/bds-modal-close-button.js +3 -3
- package/dist/components/bds-modal.js +1 -1
- package/dist/components/bds-nav-tree-item.js +2 -2
- package/dist/components/bds-nav-tree.js +2 -2
- package/dist/components/bds-navbar-content.js +1 -1
- package/dist/components/bds-pagination.js +6 -6
- package/dist/components/bds-paper.js +1 -1
- package/dist/components/bds-radio-group.js +1 -1
- package/dist/components/bds-radio.js +1 -1
- package/dist/components/bds-rich-text.js +6 -6
- package/dist/components/bds-select-chips.js +8 -8
- package/dist/components/bds-select-option.js +1 -1
- package/dist/components/bds-select.js +1 -1
- package/dist/components/bds-sidebar.js +2 -2
- package/dist/components/bds-skeleton.js +1 -1
- package/dist/components/bds-slider.js +3 -3
- package/dist/components/bds-step.js +5 -5
- package/dist/components/bds-stepper.js +1 -1
- package/dist/components/bds-tab-group.js +6 -6
- package/dist/components/bds-tab-item.js +1 -1
- package/dist/components/bds-tab-panel.js +2 -2
- package/dist/components/bds-tab.js +2 -2
- package/dist/components/bds-table-body.js +1 -1
- package/dist/components/bds-table-header.js +1 -1
- package/dist/components/bds-table-row.js +1 -1
- package/dist/components/bds-table-th.js +1 -1
- package/dist/components/bds-table.js +1 -1
- package/dist/components/bds-tabs.js +4 -4
- package/dist/components/bds-test-component.js +3 -3
- package/dist/components/bds-toast-container.js +1 -1
- package/dist/components/bds-toast.js +7 -7
- package/dist/components/bds-upload.js +5 -5
- package/dist/components/bds-warning.js +2 -2
- package/dist/components/{p-DNAIg-a5.js → p-2NONefL6.js} +651 -3
- package/dist/components/p-2NONefL6.js.map +1 -0
- package/dist/components/{p-C4tcTFeO.js → p-B7QyX_ov.js} +3 -3
- package/dist/components/{p-C4tcTFeO.js.map → p-B7QyX_ov.js.map} +1 -1
- package/dist/components/{p-KlkLJzsD.js → p-BRT8pEkI.js} +8 -8
- package/dist/components/{p-KlkLJzsD.js.map → p-BRT8pEkI.js.map} +1 -1
- package/dist/components/{p-D1SKcykh.js → p-BTk-_40b.js} +5 -5
- package/dist/components/{p-D1SKcykh.js.map → p-BTk-_40b.js.map} +1 -1
- package/dist/components/{p-1V6bITPP.js → p-BWzsGJrV.js} +3 -3
- package/dist/components/{p-1V6bITPP.js.map → p-BWzsGJrV.js.map} +1 -1
- package/dist/components/{p-CAWPrne1.js → p-BYvD3vql.js} +4 -4
- package/dist/components/{p-CAWPrne1.js.map → p-BYvD3vql.js.map} +1 -1
- package/dist/components/{p-CDeshfPT.js → p-BiJofYOI.js} +3 -3
- package/dist/components/{p-CDeshfPT.js.map → p-BiJofYOI.js.map} +1 -1
- package/dist/components/{p-DldyKUdH.js → p-BpN3Olfy.js} +4 -4
- package/dist/components/{p-DldyKUdH.js.map → p-BpN3Olfy.js.map} +1 -1
- package/dist/components/{p-CoDpI-Bm.js → p-Bt4mnPZV.js} +5 -5
- package/dist/components/{p-CoDpI-Bm.js.map → p-Bt4mnPZV.js.map} +1 -1
- package/dist/components/{p-Ds108EMR.js → p-C4JamBpz.js} +4 -4
- package/dist/components/{p-Ds108EMR.js.map → p-C4JamBpz.js.map} +1 -1
- package/dist/components/{p-Bpfo7mcK.js → p-CJnjOgJU.js} +4 -4
- package/dist/components/{p-Bpfo7mcK.js.map → p-CJnjOgJU.js.map} +1 -1
- package/dist/components/{p-DPaQoTij.js → p-CKIqgy9Y.js} +4 -4
- package/dist/components/{p-DPaQoTij.js.map → p-CKIqgy9Y.js.map} +1 -1
- package/dist/components/{p-CzSxkckL.js → p-C_p4ZJQW.js} +3 -3
- package/dist/components/{p-CzSxkckL.js.map → p-C_p4ZJQW.js.map} +1 -1
- package/dist/components/{p-aiItKd3O.js → p-CiicLV2H.js} +5 -5
- package/dist/components/{p-aiItKd3O.js.map → p-CiicLV2H.js.map} +1 -1
- package/dist/components/{p-Dme1JQSZ.js → p-Cl4NeJR_.js} +3 -3
- package/dist/components/{p-Dme1JQSZ.js.map → p-Cl4NeJR_.js.map} +1 -1
- package/dist/components/{p-CffwZi2Q.js → p-DLPPmBdC.js} +4 -4
- package/dist/components/{p-CffwZi2Q.js.map → p-DLPPmBdC.js.map} +1 -1
- package/dist/components/{p-i9-2jKdq.js → p-DSnl6fAl.js} +8 -8
- package/dist/components/{p-i9-2jKdq.js.map → p-DSnl6fAl.js.map} +1 -1
- package/dist/components/{p-DQDmegFi.js → p-D_aBcLE0.js} +3 -3
- package/dist/components/{p-DQDmegFi.js.map → p-D_aBcLE0.js.map} +1 -1
- package/dist/components/{p-DK_rZFKD.js → p-DjPCApJR.js} +3 -3
- package/dist/components/{p-DK_rZFKD.js.map → p-DjPCApJR.js.map} +1 -1
- package/dist/components/{p-DMOWRQaj.js → p-DoxqFcG5.js} +8 -8
- package/dist/components/{p-DMOWRQaj.js.map → p-DoxqFcG5.js.map} +1 -1
- package/dist/components/{p-BMXqdNU0.js → p-DumG561y.js} +7 -7
- package/dist/components/{p-BMXqdNU0.js.map → p-DumG561y.js.map} +1 -1
- package/dist/components/{p-zHA5tVzD.js → p-R_xz97kF.js} +4 -4
- package/dist/components/{p-zHA5tVzD.js.map → p-R_xz97kF.js.map} +1 -1
- package/dist/components/{p-CEpWTNN4.js → p-WhedGU7X.js} +3 -3
- package/dist/components/{p-CEpWTNN4.js.map → p-WhedGU7X.js.map} +1 -1
- package/dist/components/{p-Cje8yEpK.js → p-XsZYgdgq.js} +4 -4
- package/dist/components/{p-Cje8yEpK.js.map → p-XsZYgdgq.js.map} +1 -1
- package/dist/components/{p-Cr_YcLQM.js → p-m8KiTeOk.js} +4 -4
- package/dist/components/{p-Cr_YcLQM.js.map → p-m8KiTeOk.js.map} +1 -1
- package/dist/components/uai-button.d.ts +11 -0
- package/dist/components/uai-button.js +303 -0
- package/dist/components/uai-button.js.map +1 -0
- package/dist/components/uai-navbar-content.d.ts +11 -0
- package/dist/components/uai-navbar-content.js +37 -0
- package/dist/components/uai-navbar-content.js.map +1 -0
- package/dist/components/uai-navbar.d.ts +11 -0
- package/dist/components/uai-navbar.js +55 -0
- package/dist/components/uai-navbar.js.map +1 -0
- package/dist/components/uai-theme-provider.d.ts +11 -0
- package/dist/components/uai-theme-provider.js +58 -0
- package/dist/components/uai-theme-provider.js.map +1 -0
- package/dist/esm/{asset-loader-DNAIg-a5.js → asset-loader-2NONefL6.js} +651 -3
- package/dist/{cjs/asset-loader-CLpR4LMY.js.map → esm/asset-loader-2NONefL6.js.map} +1 -1
- package/dist/esm/bds-accordion-body.entry.js +2 -2
- package/dist/esm/bds-accordion-header.entry.js +1 -1
- package/dist/esm/bds-accordion.entry.js +1 -1
- package/dist/esm/bds-alert-actions.entry.js +1 -1
- package/dist/esm/bds-alert-body.entry.js +1 -1
- package/dist/esm/bds-alert.entry.js +2 -2
- package/dist/esm/bds-button-group.entry.js +1 -1
- package/dist/esm/bds-card-body.entry.js +1 -1
- package/dist/esm/bds-card-color.entry.js +2 -2
- package/dist/esm/bds-card-subtitle.entry.js +1 -1
- package/dist/esm/bds-card-title.entry.js +1 -1
- package/dist/esm/bds-card.entry.js +2 -2
- package/dist/esm/bds-carousel-item.entry.js +1 -1
- package/dist/esm/bds-carousel.entry.js +4 -4
- package/dist/esm/bds-checkbox_2.entry.js +2 -2
- package/dist/esm/bds-counter-text.entry.js +2 -2
- package/dist/esm/bds-data-table.entry.js +1 -1
- package/dist/esm/bds-datepicker-period_2.entry.js +3 -3
- package/dist/esm/bds-divider.entry.js +1 -1
- package/dist/esm/bds-expansion-panel-body.entry.js +1 -1
- package/dist/esm/bds-expansion-panel-header.entry.js +1 -1
- package/dist/esm/bds-expansion-panel.entry.js +1 -1
- package/dist/esm/bds-grid_5.entry.js +5 -5
- package/dist/esm/bds-icon.entry.js +2 -2
- package/dist/esm/bds-illustration_2.entry.js +2 -2
- package/dist/esm/bds-input-chips.entry.js +2 -2
- package/dist/esm/bds-input-password.entry.js +2 -2
- package/dist/esm/bds-input.entry.js +4 -4
- package/dist/esm/bds-list-item-content.entry.js +2 -2
- package/dist/esm/bds-loading-page.entry.js +2 -2
- package/dist/esm/bds-loading-spinner.entry.js +1 -1
- package/dist/esm/bds-menu-action.entry.js +4 -4
- package/dist/esm/bds-menu-list-item.entry.js +1 -1
- package/dist/esm/bds-menu-list.entry.js +1 -1
- package/dist/esm/bds-menu-separation.entry.js +2 -2
- package/dist/esm/bds-modal-action.entry.js +1 -1
- package/dist/esm/bds-modal-close-button.entry.js +2 -2
- package/dist/esm/bds-navbar-content.entry.js +1 -1
- package/dist/esm/bds-radio-group.entry.js +1 -1
- package/dist/esm/bds-radio_2.entry.js +1 -1
- package/dist/esm/bds-select-chips.entry.js +3 -3
- package/dist/esm/bds-select.entry.js +2 -2
- package/dist/esm/bds-slider.entry.js +3 -3
- package/dist/esm/bds-step.entry.js +4 -4
- package/dist/esm/bds-stepper.entry.js +1 -1
- package/dist/esm/bds-tab-group.entry.js +2 -2
- package/dist/esm/bds-tab-item.entry.js +1 -1
- package/dist/esm/bds-tab-panel.entry.js +2 -2
- package/dist/esm/bds-tab.entry.js +2 -2
- package/dist/esm/bds-table-body.entry.js +1 -1
- package/dist/esm/bds-table-header.entry.js +1 -1
- package/dist/esm/bds-table.entry.js +1 -1
- package/dist/esm/bds-tabs.entry.js +2 -2
- package/dist/esm/bds-toast-container.entry.js +1 -1
- package/dist/esm/bds-toast.entry.js +2 -2
- package/dist/esm/bds-upload.entry.js +2 -2
- package/dist/esm/bds-warning.entry.js +1 -1
- package/dist/esm/blip-ds.js +1 -1
- package/dist/esm/index-gowA9FoV.js +16 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/uai-button.entry.js +244 -0
- package/dist/esm/uai-button.entry.js.map +1 -0
- package/dist/esm/uai-navbar-content.entry.js +19 -0
- package/dist/esm/uai-navbar-content.entry.js.map +1 -0
- package/dist/esm/uai-navbar.entry.js +32 -0
- package/dist/esm/uai-navbar.entry.js.map +1 -0
- package/dist/esm/uai-theme-provider.entry.js +36 -0
- package/dist/esm/uai-theme-provider.entry.js.map +1 -0
- package/dist/esm-es5/asset-loader-2NONefL6.js +2 -0
- package/dist/esm-es5/{asset-loader-DNAIg-a5.js.map → asset-loader-2NONefL6.js.map} +1 -1
- package/dist/esm-es5/bds-accordion-body.entry.js +1 -1
- package/dist/esm-es5/bds-accordion-header.entry.js +1 -1
- package/dist/esm-es5/bds-accordion.entry.js +1 -1
- package/dist/esm-es5/bds-alert-actions.entry.js +1 -1
- package/dist/esm-es5/bds-alert-body.entry.js +1 -1
- package/dist/esm-es5/bds-alert.entry.js +1 -1
- package/dist/esm-es5/bds-button-group.entry.js +1 -1
- package/dist/esm-es5/bds-card-body.entry.js +1 -1
- package/dist/esm-es5/bds-card-color.entry.js +1 -1
- package/dist/esm-es5/bds-card-subtitle.entry.js +1 -1
- package/dist/esm-es5/bds-card-title.entry.js +1 -1
- package/dist/esm-es5/bds-card.entry.js +1 -1
- package/dist/esm-es5/bds-carousel-item.entry.js +1 -1
- package/dist/esm-es5/bds-carousel.entry.js +1 -1
- package/dist/esm-es5/bds-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bds-counter-text.entry.js +1 -1
- package/dist/esm-es5/bds-data-table.entry.js +1 -1
- package/dist/esm-es5/bds-datepicker-period_2.entry.js +1 -1
- package/dist/esm-es5/bds-divider.entry.js +1 -1
- package/dist/esm-es5/bds-expansion-panel-body.entry.js +1 -1
- package/dist/esm-es5/bds-expansion-panel-header.entry.js +1 -1
- package/dist/esm-es5/bds-expansion-panel.entry.js +1 -1
- package/dist/esm-es5/bds-grid_5.entry.js +1 -1
- package/dist/esm-es5/bds-icon.entry.js +1 -1
- package/dist/esm-es5/bds-illustration_2.entry.js +1 -1
- package/dist/esm-es5/bds-input-chips.entry.js +1 -1
- package/dist/esm-es5/bds-input-password.entry.js +1 -1
- package/dist/esm-es5/bds-input.entry.js +1 -1
- package/dist/esm-es5/bds-list-item-content.entry.js +1 -1
- package/dist/esm-es5/bds-loading-page.entry.js +1 -1
- package/dist/esm-es5/bds-loading-spinner.entry.js +1 -1
- package/dist/esm-es5/bds-menu-action.entry.js +1 -1
- package/dist/esm-es5/bds-menu-list-item.entry.js +1 -1
- package/dist/esm-es5/bds-menu-list.entry.js +1 -1
- package/dist/esm-es5/bds-menu-separation.entry.js +1 -1
- package/dist/esm-es5/bds-modal-action.entry.js +1 -1
- package/dist/esm-es5/bds-modal-close-button.entry.js +1 -1
- package/dist/esm-es5/bds-navbar-content.entry.js +1 -1
- package/dist/esm-es5/bds-radio-group.entry.js +1 -1
- package/dist/esm-es5/bds-radio_2.entry.js +1 -1
- package/dist/esm-es5/bds-select-chips.entry.js +1 -1
- package/dist/esm-es5/bds-select.entry.js +1 -1
- package/dist/esm-es5/bds-slider.entry.js +1 -1
- package/dist/esm-es5/bds-step.entry.js +1 -1
- package/dist/esm-es5/bds-stepper.entry.js +1 -1
- package/dist/esm-es5/bds-tab-group.entry.js +1 -1
- package/dist/esm-es5/bds-tab-item.entry.js +1 -1
- package/dist/esm-es5/bds-tab-panel.entry.js +1 -1
- package/dist/esm-es5/bds-tab.entry.js +1 -1
- package/dist/esm-es5/bds-table-body.entry.js +1 -1
- package/dist/esm-es5/bds-table-header.entry.js +1 -1
- package/dist/esm-es5/bds-table.entry.js +1 -1
- package/dist/esm-es5/bds-tabs.entry.js +1 -1
- package/dist/esm-es5/bds-toast-container.entry.js +1 -1
- package/dist/esm-es5/bds-toast.entry.js +1 -1
- package/dist/esm-es5/bds-upload.entry.js +1 -1
- package/dist/esm-es5/bds-warning.entry.js +1 -1
- package/dist/esm-es5/blip-ds.js +1 -1
- package/dist/esm-es5/index-gowA9FoV.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/uai-button.entry.js +2 -0
- package/dist/esm-es5/uai-button.entry.js.map +1 -0
- package/dist/esm-es5/uai-navbar-content.entry.js +2 -0
- package/dist/esm-es5/uai-navbar-content.entry.js.map +1 -0
- package/dist/esm-es5/uai-navbar.entry.js +2 -0
- package/dist/esm-es5/uai-navbar.entry.js.map +1 -0
- package/dist/esm-es5/uai-theme-provider.entry.js +2 -0
- package/dist/esm-es5/uai-theme-provider.entry.js.map +1 -0
- package/dist/types/components/uai-button/uai-button.d.ts +143 -0
- package/dist/types/components/uai-navbar/uai-navbar.d.ts +15 -0
- package/dist/types/components/uai-navbar-content/uai-navbar-content.d.ts +4 -0
- package/dist/types/components/uai-theme-provider/uai-theme-provider.d.ts +11 -0
- package/dist/types/components.d.ts +345 -0
- package/package.json +2 -2
- package/dist/blip-ds/p-176ff1e7.system.entry.js +0 -2
- package/dist/blip-ds/p-1c9404c1.entry.js +0 -2
- package/dist/blip-ds/p-4c5ae6c7.system.entry.js +0 -2
- package/dist/blip-ds/p-5be11a18.system.entry.js +0 -2
- package/dist/blip-ds/p-603abb87.system.entry.js +0 -2
- package/dist/blip-ds/p-60db2b36.entry.js +0 -2
- package/dist/blip-ds/p-6d0aa188.system.entry.js +0 -2
- package/dist/blip-ds/p-7404b5cc.system.entry.js +0 -2
- package/dist/blip-ds/p-74ea25c7.entry.js +0 -2
- package/dist/blip-ds/p-85e4f80c.entry.js +0 -2
- package/dist/blip-ds/p-93c5285a.entry.js +0 -2
- package/dist/blip-ds/p-B1n_p7xl.system.js +0 -2
- package/dist/blip-ds/p-DNAIg-a5.js +0 -2
- package/dist/blip-ds/p-ad27d2cb.system.entry.js +0 -2
- package/dist/blip-ds/p-b0495212.system.entry.js +0 -2
- package/dist/blip-ds/p-b8db20a9.system.entry.js +0 -2
- package/dist/blip-ds/p-c708ebdc.entry.js +0 -2
- package/dist/blip-ds/p-cd358d8c.entry.js +0 -2
- package/dist/blip-ds/p-d0b935fb.entry.js +0 -2
- package/dist/blip-ds/p-d39b0c2d.system.entry.js +0 -2
- package/dist/blip-ds/p-d7c25bb5.entry.js +0 -2
- package/dist/blip-ds/p-ddbc6a40.system.entry.js +0 -2
- package/dist/blip-ds/p-e322494d.system.entry.js +0 -2
- package/dist/blip-ds/p-ef21eb6a.system.entry.js +0 -2
- package/dist/blip-ds/p-f00161f6.system.entry.js +0 -2
- package/dist/blip-ds/p-fca9edf5.system.entry.js +0 -2
- package/dist/components/p-DNAIg-a5.js.map +0 -1
- package/dist/esm-es5/asset-loader-DNAIg-a5.js +0 -2
- /package/dist/blip-ds/{p-c03e3606.system.entry.js.map → p-0029fae8.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-5be11a18.system.entry.js.map → p-025b0c38.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-4c5ae6c7.system.entry.js.map → p-047aa6e4.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-0c1f3ba6.entry.js.map → p-05014fe8.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-6f13e3f4.entry.js.map → p-0578a7ec.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-d2d4324e.entry.js.map → p-067de52a.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-1135395e.system.entry.js.map → p-07422f21.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-1c9404c1.entry.js.map → p-0daa7aae.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-ab2f4028.system.entry.js.map → p-0e19d62a.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-7404b5cc.system.entry.js.map → p-108f033b.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-1119fa51.entry.js.map → p-18ec63ab.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-ea0a9c9a.system.entry.js.map → p-1a43ced6.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-8f7e63b7.entry.js.map → p-1a963882.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-69ea5010.system.entry.js.map → p-1cb9a98a.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-2ee33e71.system.entry.js.map → p-218d89dd.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-c9e5b36a.entry.js.map → p-25d94ea1.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-2114bb53.entry.js.map → p-26f69aaa.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-32800500.system.entry.js.map → p-290379ef.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-a250e5c0.system.entry.js.map → p-29588de2.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-5ae4fe23.system.entry.js.map → p-2cc99943.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-bf4ce812.entry.js.map → p-32358d6b.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-c4dfac91.system.entry.js.map → p-359196c5.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-d39b0c2d.system.entry.js.map → p-35c82911.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-176e727f.entry.js.map → p-398ecd4e.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-90d0841f.entry.js.map → p-3a68dab4.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-d0b935fb.entry.js.map → p-3bc15759.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-93c5285a.entry.js.map → p-3d616e94.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-18b34c58.system.entry.js.map → p-3e2a6a67.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-85e4f80c.entry.js.map → p-3e4d0240.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-592914a1.entry.js.map → p-3f42b1f9.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-0ed71739.system.entry.js.map → p-4083e80a.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-6b3d7c7c.system.entry.js.map → p-4a4de089.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-3c0baedb.system.entry.js.map → p-551789cc.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-ef21eb6a.system.entry.js.map → p-58ca843b.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-e322494d.system.entry.js.map → p-5a377a9a.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-afa57e15.system.entry.js.map → p-5a5552d5.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-b5f9e240.entry.js.map → p-5c3a7283.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-003410ad.entry.js.map → p-5cb49ffe.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-64469176.system.entry.js.map → p-5ccdeca6.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-349674ee.entry.js.map → p-5e19751d.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-79025f3c.system.entry.js.map → p-607a53aa.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-eb645447.entry.js.map → p-625a333e.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-7d29e857.system.entry.js.map → p-6c055050.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-b0495212.system.entry.js.map → p-6f478d03.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-97eb8844.system.entry.js.map → p-707a2c38.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-469894da.entry.js.map → p-729e69a2.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-3f0f570b.system.entry.js.map → p-785bad10.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-53a6d932.entry.js.map → p-7a87c4f8.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-603abb87.system.entry.js.map → p-7bc7d793.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-cd358d8c.entry.js.map → p-7de0ddfe.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-fca9edf5.system.entry.js.map → p-7df56407.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-862d2b5e.entry.js.map → p-7e9f9d02.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-a919ead0.system.entry.js.map → p-7f8a041c.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-6c00f590.entry.js.map → p-815d2809.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-06180e7c.system.entry.js.map → p-82ae199e.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-43e9a616.system.entry.js.map → p-8964ee80.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-b204d7cc.entry.js.map → p-8c381a0c.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-4ddc9900.entry.js.map → p-8f6c91d1.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-5a75365e.entry.js.map → p-9026fc06.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-3415ae2e.entry.js.map → p-9281170b.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-ad27d2cb.system.entry.js.map → p-93beb9d2.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-446a7d9e.system.entry.js.map → p-94ba280d.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-c708ebdc.entry.js.map → p-9ae83f35.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-d41ff576.entry.js.map → p-9b0cc97f.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-de025672.entry.js.map → p-9bd712b6.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-86a2040f.entry.js.map → p-9bdc3892.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-707079a1.system.entry.js.map → p-9bec2a84.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-7ded8687.entry.js.map → p-9d5ad744.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-3cc8ef95.entry.js.map → p-9ed17a7f.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-aa5148dd.entry.js.map → p-a0ff00c9.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-bd6fcd11.entry.js.map → p-a1d82dd7.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-ddbc6a40.system.entry.js.map → p-a2062115.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-be0fbce8.system.entry.js.map → p-a24992de.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-2fba3c85.system.entry.js.map → p-a8d50ca5.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-a6020338.system.entry.js.map → p-ad0e2531.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-18c7d0aa.entry.js.map → p-b0fdc0fa.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-62b88661.entry.js.map → p-b24e0a22.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-eac4d71f.system.entry.js.map → p-b2596729.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-e743756b.system.entry.js.map → p-b4aa2e59.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-d732a7aa.entry.js.map → p-b4bb7131.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-5e883083.entry.js.map → p-b73f42d8.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-58c338a3.system.entry.js.map → p-bb8dff3d.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-74f75d70.entry.js.map → p-bd3dcdaa.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-75f3f2eb.entry.js.map → p-c277aa0a.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-d7c25bb5.entry.js.map → p-c4a85446.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-8369303d.system.entry.js.map → p-c688027a.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-f00161f6.system.entry.js.map → p-c9bc2b46.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-b8db20a9.system.entry.js.map → p-cbe2046b.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-814b8658.system.entry.js.map → p-cc7ea768.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-176ff1e7.system.entry.js.map → p-ce70897a.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-f97f2cb3.entry.js.map → p-cea73fb3.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-d444ee01.system.entry.js.map → p-cf3f5261.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-4d74ec37.system.entry.js.map → p-d0ae58f9.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-dfafb5bd.entry.js.map → p-d304da7a.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-65add83f.system.entry.js.map → p-d32a9738.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-668b137f.system.entry.js.map → p-d6c747e2.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-47afd4c7.system.entry.js.map → p-d7482e87.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-86e40c5f.system.entry.js.map → p-e20c98ee.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-82882225.system.entry.js.map → p-e680aef1.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-a1307bb4.entry.js.map → p-e8530e93.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-60db2b36.entry.js.map → p-e987af01.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-11e433b9.entry.js.map → p-ea047ec9.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-288872b5.entry.js.map → p-ea26f32d.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-7e8d99b2.entry.js.map → p-f05527ab.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-4988692b.entry.js.map → p-f1f7777c.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-7073633b.entry.js.map → p-f2577541.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-2ee8cb7b.entry.js.map → p-f36a264d.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-91ca0401.system.entry.js.map → p-f905b4d4.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-c81dd055.system.entry.js.map → p-f90f8c3a.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-5c5d4559.entry.js.map → p-fb3d23f4.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-6d0aa188.system.entry.js.map → p-fcfc02bd.system.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-ea966c25.entry.js.map → p-fe74004f.entry.js.map} +0 -0
- /package/dist/blip-ds/{p-ef8e0a17.entry.js.map → p-ff556bda.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,i,e,r){function n(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):n(t.value).then(s,a)}c((r=r.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(i){return c([t,i])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(e=0)),e)try{if(r=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;n=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){e.label=a[1];break}if(a[0]===6&&e.label<o[1]){e.label=o[1];o=a;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(a);break}if(o[2])e.ops.pop();e.trys.pop();continue}a=i.call(t,e)}catch(t){a=[6,t];n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,i,e){if(e||arguments.length===2)for(var r=0,n=i.length,o;r<n;r++){if(o||!(r in i)){if(!o)o=Array.prototype.slice.call(i,0,r);o[r]=i[r]}}return t.concat(o||Array.prototype.slice.call(i))};System.register(["./p-CD9MMdoC.system.js","./p-8qSXmVwO.system.js","./p-DLraUrU1.system.js"],(function(t){"use strict";var i,e,r,n,o,s,a,c;return{setters:[function(t){i=t.r;e=t.c;r=t.h;n=t.a},function(t){o=t.c;s=t.p},function(t){a=t.w;c=t.e}],execute:function(){var u=':host{display:block}.element_input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%}.element_input input{-webkit-box-shadow:inherit;box-shadow:inherit}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-moz-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input:-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;padding:8px 4px 8px 12px;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;gap:8px}.input .bds-icon{position:relative;z-index:1}.input--state-primary{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary .input__icon{position:relative}.input--state-primary .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input--state-primary:hover{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary.input--pressed{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235));box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235))}.input--state-primary.input--pressed .input__icon .bds-icon{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-primary .input__container__label--pressed bds-typo{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__text{caret-color:var(--color-primary, rgb(30, 107, 241));color:var(--color-content-default, rgb(40, 40, 40))}.input--state-danger{border:1px solid var(--color-delete, rgb(230, 15, 15));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger .input__icon{position:relative}.input--state-danger .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-negative, rgb(138, 0, 0));z-index:0;opacity:50%;border-radius:8px}.input--state-danger:hover{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger.input--pressed{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190));box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190))}.input--state-danger.input--pressed .input__icon .bds-icon{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__label{color:var(--color-delete, rgb(230, 15, 15))}.input--state-danger .input__container__label--pressed bds-typo{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__text{caret-color:var(--color-negative, #e60f0f);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success .input__icon{position:relative}.input--state-success .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-positive, rgb(1, 114, 62));z-index:0;border-radius:8px}.input--state-success:hover{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success.input--pressed{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188));box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188))}.input--state-success.input--pressed .input__icon .bds-icon{color:var(--color-positive, #10603b)}.input--state-success .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success .input__container__label--pressed bds-typo{color:var(--color-positive, #10603b)}.input--state-success .input__container__text{caret-color:var(--color-positive, #10603b);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-disabled{opacity:50%;pointer-events:none;cursor:not-allowed}.input--state-disabled .input__icon{position:relative}.input--state-disabled .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input .icon-success{color:var(--color-positive, #10603b);margin-left:4px}.input--label{padding:7px 4px 7px 12px}.input__icon{cursor:inherit;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:8px;padding:2px}.input__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;width:100%}.input__container__wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.input__container__wrapper__chips{display:inline;max-height:100px;overflow:auto}.input__container__wrapper__chips::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__wrapper__chips::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__container__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input__container__text{display:inline-block;margin:0;border:0;padding:0;width:auto;vertical-align:middle;white-space:normal;line-height:inherit;background:none;color:inherit;font-size:inherit;font-family:inherit;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;line-height:150%;width:100%;line-height:22px;resize:none;cursor:inherit}.input__container__text:focus{outline:0}.input__container__text::-webkit-file-upload-button{padding:0;border:0;background:none}.input__container__text:focus{outline:0}.input__container__text[type=checkbox],.input__container__text[type=radio]{width:13px;height:13px}.input__container__text[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box}::-webkit-search-decoration{display:none}.input__container__text[type=reset],.input__container__text[type=button],.input__container__text[type=submit]{overflow:visible}.input__container__text::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__text::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__message{display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;height:20px;margin:3.7px 2.5px;-webkit-transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);color:var(--color-content-ghost, rgb(140, 140, 140));word-break:break-word;height:auto;min-height:20px}.input__message bds-typo{margin-top:0px;-ms-flex-item-align:self-start;align-self:self-start}.input__message__icon{display:-ms-flexbox;display:flex;padding-right:4px;margin-top:0px;padding-top:2px}.input__message--danger .bds-icon{color:var(--color-negative, #e60f0f)}.input__message--danger .input__message__text{color:var(--color-negative, #e60f0f)}.input__message--success .input__message__icon .bds-icon{color:var(--color-positive, #10603b)}.input__message--success .input__message__text{color:var(--color-content-default, rgb(40, 40, 40))}.select{position:relative;outline:none}.select__icon{color:var(--color-content-ghost, rgb(140, 140, 140));display:-ms-flexbox;display:flex}.select__options{background:var(--color-surface-0, rgb(255, 255, 255));width:100%;max-height:200px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:absolute;left:0;border-radius:8px;-webkit-box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));overflow-y:auto;z-index:2;pointer-events:none;opacity:0}.select__options::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.select__options::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.select__options--open{opacity:1;pointer-events:auto}.select__options--position-top{bottom:calc(100% + 4px)}.select__options--position-bottom{top:calc(100% + 4px)}.inside-input-left{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:200px;overflow-y:auto}.inside-input-left::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.inside-input-left::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input-chips__chip{margin:2px 4px 2px 0px}.input-chips__chips{-ms-flex:1;flex:1}';var l=t("bds_select_chips",function(){function t(t){var r=this;i(this,t);this.bdsChange=e(this,"bdsChange");this.bdsCancel=e(this,"bdsCancel");this.bdsFocus=e(this,"bdsFocus");this.bdsBlur=e(this,"bdsBlur");this.bdsChangeChips=e(this,"bdsChangeChips");this.bdsSelectChipsInput=e(this,"bdsSelectChipsInput");this.bdsSubmit=e(this,"bdsSubmit");this.isOpen=false;this.intoView=null;this.selectedOptions=[];this.validationDanger=false;this.isPressed=false;this.validationMesage="";this.internalChips=[];this.chips=[];this.newPrefix="";this.value="";this.danger=false;this.success=false;this.errorMessage="";this.disabled=false;this.label="";this.icon="";this.duplicated=false;this.canAddNew=true;this.notFoundMessage="No results found";this.type="text";this.delimiters=/,|;/;this.disableSubmit=false;this.helperMessage="";this.successMessage="";this.inputName="";this.placeholder="";this.optionsPosition="auto";this.dataTest=null;this.handleChangeChipsValue=function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.resetFilterOptions()];case 1:t.sent();return[2]}}))}))};this.refDropdown=function(t){r.dropElement=t};this.refIconDrop=function(t){r.iconDropElement=t};this.toggle=function(){if(!r.disabled){r.isOpen=!r.isOpen}};this.handler=function(t){return __awaiter(r,void 0,void 0,(function(){var i,e;return __generator(this,(function(r){switch(r.label){case 0:i=t.detail.value;this.selectedOption=i;e=this.getText(i);return[4,this.addChip(e)];case 1:r.sent();this.bdsChangeChips.emit({data:this.internalChips,value:this.selectedOption});this.bdsChange.emit({data:this.selectedOptions});this.toggle();return[2]}}))}))};this.handlerNewOption=function(t){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:return[4,this.addChip(t)];case 1:i.sent();this.bdsChangeChips.emit({data:this.internalChips,value:this.selectedOption});this.bdsChange.emit({data:this.selectedOptions});this.toggle();return[2]}}))}))};this.getText=function(t){var i=r.childOptions.find((function(i){return i.value===t}));return r.getTextFromOption(i)};this.getTextFromOption=function(t){var i,e;if(r.internalOptions){var n=r.internalOptions.find((function(i){return i.value==(t===null||t===void 0?void 0:t.value)}));if(n){return n.label}}return(t===null||t===void 0?void 0:t.titleText)?t.titleText:(e=(i=t===null||t===void 0?void 0:t.textContent)===null||i===void 0?void 0:i.trim())!==null&&e!==void 0?e:""};this.setFocusWrapper=function(){if(r.nativeInput){r.nativeInput.focus()}};this.removeFocusWrapper=function(){r.nativeInput.blur()};this.onClickWrapper=function(){r.onFocus();if(r.nativeInput){r.nativeInput.focus()}};this.onFocus=function(){r.bdsFocus.emit();r.isPressed=true};this.onInput=function(t){var i=t.target;if(i){r.value=i.value||""}r.bdsSelectChipsInput.emit(t);r.changedInputValue()};this.keyPressWrapper=function(t){switch(t.key){case"Enter":if(r.canAddNew!==false){r.handleDelimiters();r.setChip(r.value);r.value="";r.bdsChangeChips.emit({data:r.internalChips,value:r.selectedOption});r.bdsChange.emit({data:r.selectedOptions})}if(!r.disabled){r.isOpen=true}break;case"ArrowDown":if(!r.disabled){r.isOpen=true}break;case"ArrowUp":if(!r.disabled){r.isOpen=false}break;case"Backspace":case"Delete":if((r.value===null||r.value.length<=0)&&r.internalChips.length){r.removeLastChip();r.bdsChangeChips.emit({data:r.internalChips,value:r.selectedOption});r.bdsChange.emit({data:r.selectedOptions})}break}};this.changedInputValue=function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.value=this.nativeInput.value;if(!this.nativeInput.value)return[3,2];return[4,this.filterOptions(this.nativeInput.value)];case 1:t.sent();return[3,4];case 2:return[4,this.resetFilterOptions()];case 3:t.sent();t.label=4;case 4:if(this.value&&this.isOpen===false){this.isOpen=true}return[2]}}))}))}}t.prototype.isOpenChanged=function(t){if(this.positionHeightDrop=="bottom"){this.iconDropElement.name=this.isOpen?"arrow-up":"arrow-down"}else{this.iconDropElement.name=this.isOpen?"arrow-down":"arrow-up"}if(t)if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}};t.prototype.handleWindow=function(t){if(!this.el.contains(t.target)){this.isOpen=false}};t.prototype.optionsChanged=function(){if(typeof this.options==="string"){try{this.internalOptions=JSON.parse(this.options)}catch(t){}}else{this.internalOptions=this.options}};t.prototype.valueChanged=function(){if(this.chips){if(typeof this.chips==="string"){try{this.internalChips=JSON.parse(this.chips)}catch(t){this.internalChips=[]}}else{this.internalChips=this.chips}}else{this.internalChips=[]}};t.prototype.internalValueChanged=function(){var t=this;this.handleChangeChipsValue();if(this.internalChips.length>0){this.selectedOptions=this.internalChips.map((function(i){return{label:i,value:"".concat(t.validValueChip(i,t.childOptions))}}))}};t.prototype.validValueChip=function(t,i){var e=i===null||i===void 0?void 0:i.find((function(i){return i.textContent==t}));return"".concat(e?e.value:t)};t.prototype.isValid=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.validateChips()]}))}))};t.prototype.getChips=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.internalChips]}))}))};t.prototype.clear=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.internalChips=[];this.value="";return[2]}))}))};t.prototype.add=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.handleDelimiters();if(t){this.setChip(t)}else{this.setChip(this.value)}this.value="";return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus();return[2]}))}))};t.prototype.removeFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.blur();return[2]}))}))};t.prototype.componentWillLoad=function(){this.valueChanged();this.optionsChanged();this.intoView=o(this.el)};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.resetFilterOptions()];case 1:t.sent();if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}return[2]}}))}))};t.prototype.setDefaultPlacement=function(t){if(t=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.validatePositionDrop=function(){var t=s({actionElement:this.el,changedElement:this.dropElement,intoView:this.intoView});this.positionHeightDrop=t.y;if(t.y=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;return __generator(this,(function(r){for(t=0,i=this.childOptions;t<i.length;t++){e=i[t];e.addEventListener("optionSelected",this.handler)}return[2]}))}))};Object.defineProperty(t.prototype,"childOptionsEnabled",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option:not([invisible]):not(#option-add):not(#no-option)")):Array.from(this.el.querySelectorAll("bds-select-option:not([invisible]):not(#option-add):not(#no-option)"))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"childOptions",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option:not(#option-add):not(#no-option)")):Array.from(this.el.querySelectorAll("bds-select-option:not(#option-add):not(#no-option)"))},enumerable:false,configurable:true});t.prototype.filterOptions=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,r,n,o,s,a,c;return __generator(this,(function(u){switch(u.label){case 0:if(!!t)return[3,2];return[4,this.resetFilterOptions()];case 1:u.sent();return[2];case 2:i=0,e=this.childOptions;u.label=3;case 3:if(!(i<e.length))return[3,6];r=e[i];o=this.existsChip;s=[r.textContent];return[4,this.getChips()];case 4:n=o.apply(this,s.concat([u.sent()]));a=r.textContent.toLowerCase();c=t.toLowerCase();if(n){r.setAttribute("invisible","invisible")}if(t&&a.includes(c)&&!n){r.removeAttribute("invisible")}if(t&&!a.includes(c)&&!n){r.setAttribute("invisible","invisible")}u.label=5;case 5:i++;return[3,3];case 6:return[2]}}))}))};t.prototype.resetFilterOptions=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e,r,n;return __generator(this,(function(o){switch(o.label){case 0:t=0,i=this.childOptions;o.label=1;case 1:if(!(t<i.length))return[3,4];e=i[t];r=this.existsChip;n=[e.textContent];return[4,this.getChips()];case 2:if(r.apply(this,n.concat([o.sent()]))){e.setAttribute("invisible","invisible")}else{e.removeAttribute("invisible")}o.label=3;case 3:t++;return[3,1];case 4:return[2]}}))}))};t.prototype.existsChip=function(t,i){return i.some((function(i){return t===i}))};t.prototype.enableCreateOption=function(){return!!(this.childOptionsEnabled.length===0&&this.nativeInput&&this.nativeInput.value)};t.prototype.addChip=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:return[4,this.setChip(t)];case 1:i.sent();this.nativeInput.value="";return[2]}}))}))};t.prototype.validateChips=function(){var t=this;if(this.type==="email"){return!this.internalChips.some((function(i){return!t.validateChip(i)}))}else{return true}};t.prototype.handleOnBlur=function(){this.bdsBlur.emit();this.isPressed=false};t.prototype.verifyAndSubstituteDelimiters=function(t){if(t.length===1&&t[0].match(this.delimiters)){return""}var i=t.replace(/;/g,",").replace(/\,+|;+/g,",");if(i[0].match(this.delimiters)){i=i.substring(1)}return i};t.prototype.handleDelimiters=function(){var t=this;var i=this.nativeInput.value;this.value=i?i.trim():"";if(i.length===0)return;var e=i.match(this.delimiters);if(!e)return;var r=this.verifyAndSubstituteDelimiters(i);if(!r){this.clearInputValues();return}var n=r.split(this.delimiters);n.forEach((function(i){t.setChip(i.trimStart())}));this.clearInputValues()};t.prototype.handleChange=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,r,n;var o=this;return __generator(this,(function(s){i=t.detail.value;this.value=i?i.trim():"";if(i.length===0)return[2];e=i.match(this.delimiters);if(!e)return[2];r=this.verifyAndSubstituteDelimiters(i);if(!r){this.clearInputValues();return[2]}n=r.split(this.delimiters);n.forEach((function(t){o.setChip(t)}));this.clearInputValues();return[2]}))}))};t.prototype.clearInputValues=function(t){if(t===void 0){t=""}this.nativeInput.value=t;this.value=t};t.prototype.setChip=function(t){if(!this.duplicated){var i=this.internalChips.some((function(i){return i.toLowerCase()===t.toLowerCase()}));if(i)return}if(!a(t)){return}this.internalChips=__spreadArray(__spreadArray([],this.internalChips,true),[t],false)};t.prototype.validateChip=function(t){var i=t.trim();if(this.type==="email"&&c(i)){return false}return true};t.prototype.removeLastChip=function(){this.internalChips=this.internalChips.slice(0,this.internalChips.length-1)};t.prototype.removeChip=function(t){var i=t.detail.id;this.internalChips=this.internalChips.filter((function(t,e){return e.toString()!==i}));this.bdsChangeChips.emit({data:this.internalChips,value:this.selectedOption});this.bdsChange.emit({data:this.selectedOptions})};t.prototype.renderChips=function(){var t=this;if(!this.internalChips.length){return[]}return this.internalChips.map((function(i,e){var n=e.toString();var o=30;if(i.length<=o){return r("bds-chip-clickable",{id:n,key:n,color:"outline",close:!t.disabled,onChipClickableClose:function(i){return t.removeChip(i)}},i)}else{return r("bds-tooltip",{key:n,position:"top-center","tooltip-text":i},r("bds-chip-clickable",{id:n,key:n,color:"outline",close:!t.disabled,onChipClickableClose:function(i){return t.removeChip(i)}},"".concat(i.slice(0,o)," ...")))}}))};t.prototype.renderIcon=function(){return this.icon&&r("div",{class:{input__icon:true,"input__icon--large":!!this.label}},r("bds-icon",{size:this.label?"medium":"small",name:this.icon,color:"inherit"}))};t.prototype.renderLabel=function(){return this.label&&r("label",{class:{input__container__label:true,"input__container__label--pressed":this.isPressed&&!this.disabled}},r("bds-typo",{variant:"fs-12",bold:"bold"},this.label))};t.prototype.renderMessage=function(){var t=this.danger?"error":this.success?"checkball":"info";var i=this.danger?this.errorMessage:this.success?this.successMessage:this.helperMessage;if(!i&&this.validationDanger)i=this.validationMesage;var e=this.danger||this.validationDanger?"input__message input__message--danger":this.success?"input__message input__message--success":"input__message";if(i){return r("div",{class:e,part:"input__message"},r("div",{class:"input__message__icon"},r("bds-icon",{size:"x-small",name:t,theme:"outline",color:"inherit"})),r("bds-typo",{class:"input__message__text",variant:"fs-12"},i))}return undefined};t.prototype.generateKey=function(t){return t.toLowerCase().replace(/ /g,"-")};t.prototype.render=function(){var t=this;var i=this.isPressed&&!this.disabled;var e=[];if(this.options){if(typeof this.options==="string"){try{e=JSON.parse(this.options)}catch(t){}}else{e=this.options}}return r("div",{key:"6417edd2cc291e9b79c58afffea9827ffc659ea4",class:"select",tabindex:"0",onFocus:this.setFocusWrapper,onBlur:this.removeFocusWrapper},r("div",{key:"c55e36b9c9e6654ea70f18508be266fec47acbde",class:{element_input:true},"aria-disabled":this.disabled?"true":null,onClick:this.toggle},r("div",{key:"626a0aca459d2f2242a9d64892579dbef286f1c0",class:{input:true,"input--state-primary":!this.danger&&!this.validationDanger,"input--state-danger":this.danger||this.validationDanger,"input--state-success":this.success,"input--state-disabled":this.disabled,"input--label":!!this.label,"input--pressed":i},onClick:this.onClickWrapper},this.renderIcon(),r("div",{key:"190e625a732ac247838e48eb0fad81255bf377d7",class:"input__container"},this.renderLabel(),r("div",{key:"c14e7b5f365955c2882616cf65ceafe3da148e31",class:{input__container__wrapper:true}},this.internalChips.length>0&&r("span",{key:"a92096123b78b9aec09821dc880d4002b99eec21",style:{height:this.height,maxHeight:this.maxHeight},class:"inside-input-left"},this.renderChips()),r("input",{key:"bf03ebf1698cc88ef9c211c75f3a3be10bd0fc03",ref:function(i){return t.nativeInput=i},class:{input__container__text:true},name:this.inputName,maxlength:this.maxlength,placeholder:this.placeholder,onInput:this.onInput,onFocus:this.onFocus,onBlur:function(){return t.handleOnBlur()},onChange:function(){return t.handleChange},value:this.value,disabled:this.disabled,"data-test":this.dataTest,onKeyDown:this.keyPressWrapper}))),r("div",{key:"ffe26d0ef5399b02185665b798e968177f3998fc",class:"select__icon"},r("bds-icon",{key:"e971f8e3d2aba0cd638b5cd9fae0a4310c41596e",ref:function(i){return t.refIconDrop(i)},size:"small",color:"inherit"})),this.success&&r("bds-icon",{key:"8999389f5c3da91d939c2a24f5fb71f9fdac75c5",class:"icon-success",name:"check",theme:"outline",size:"xxx-small"})),this.renderMessage()),r("div",{key:"35cd725339d7c238d965c89c4b0c98bbf0ceb506",ref:function(i){return t.refDropdown(i)},class:{select__options:true,"select__options--open":this.isOpen}},e.map((function(i){return r("bds-select-option",{key:t.generateKey(i.value),onOptionSelected:t.handler,value:i.value,status:i.status},i.label)})),r("slot",{key:"b570d4ee006a606f5a0ca8b9ead96e4680dff96a"}),this.canAddNew===true&&this.enableCreateOption()&&r("bds-select-option",{key:"073836e92498f88603eb4b27ebbe8dd30f865270",id:"option-add",value:"add",onClick:function(){return t.handlerNewOption(t.nativeInput.value)}},this.newPrefix,this.nativeInput.value),!this.canAddNew&&this.enableCreateOption()&&r("bds-select-option",{key:"86ce23c880dd0896f45d8e6c3a548240947f7852",id:"no-option",value:"add"},this.notFoundMessage)))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["isOpenChanged"],options:["optionsChanged"],chips:["valueChanged"],internalChips:["internalValueChanged"]}},enumerable:false,configurable:true});return t}());l.style=u}}}));
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,e,r){function n(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):n(t.value).then(s,a)}c((r=r.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(i){return c([t,i])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(e=0)),e)try{if(r=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;n=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){e.label=a[1];break}if(a[0]===6&&e.label<o[1]){e.label=o[1];o=a;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(a);break}if(o[2])e.ops.pop();e.trys.pop();continue}a=i.call(t,e)}catch(t){a=[6,t];n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,i,e){if(e||arguments.length===2)for(var r=0,n=i.length,o;r<n;r++){if(o||!(r in i)){if(!o)o=Array.prototype.slice.call(i,0,r);o[r]=i[r]}}return t.concat(o||Array.prototype.slice.call(i))};System.register(["./p-CD9MMdoC.system.js","./p-8qSXmVwO.system.js","./p-DLraUrU1.system.js"],(function(t){"use strict";var i,e,r,n,o,s,a,c;return{setters:[function(t){i=t.r;e=t.c;r=t.h;n=t.a},function(t){o=t.c;s=t.p},function(t){a=t.w;c=t.e}],execute:function(){var u=':host{display:block}.element_input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%}.element_input input{-webkit-box-shadow:inherit;box-shadow:inherit}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-moz-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input:-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;padding:8px 4px 8px 12px;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;gap:8px}.input .bds-icon{position:relative;z-index:1}.input--state-primary{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary .input__icon{position:relative}.input--state-primary .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input--state-primary:hover{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary.input--pressed{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235));box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235))}.input--state-primary.input--pressed .input__icon .bds-icon{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-primary .input__container__label--pressed bds-typo{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__text{caret-color:var(--color-primary, rgb(30, 107, 241));color:var(--color-content-default, rgb(40, 40, 40))}.input--state-danger{border:1px solid var(--color-delete, rgb(230, 15, 15));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger .input__icon{position:relative}.input--state-danger .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-negative, rgb(138, 0, 0));z-index:0;opacity:50%;border-radius:8px}.input--state-danger:hover{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger.input--pressed{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190));box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190))}.input--state-danger.input--pressed .input__icon .bds-icon{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__label{color:var(--color-delete, rgb(230, 15, 15))}.input--state-danger .input__container__label--pressed bds-typo{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__text{caret-color:var(--color-negative, #e60f0f);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success .input__icon{position:relative}.input--state-success .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-positive, rgb(1, 114, 62));z-index:0;border-radius:8px}.input--state-success:hover{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success.input--pressed{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188));box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188))}.input--state-success.input--pressed .input__icon .bds-icon{color:var(--color-positive, #10603b)}.input--state-success .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success .input__container__label--pressed bds-typo{color:var(--color-positive, #10603b)}.input--state-success .input__container__text{caret-color:var(--color-positive, #10603b);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-disabled{opacity:50%;pointer-events:none;cursor:not-allowed}.input--state-disabled .input__icon{position:relative}.input--state-disabled .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input .icon-success{color:var(--color-positive, #10603b);margin-left:4px}.input--label{padding:7px 4px 7px 12px}.input__icon{cursor:inherit;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:8px;padding:2px}.input__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;width:100%}.input__container__wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.input__container__wrapper__chips{display:inline;max-height:100px;overflow:auto}.input__container__wrapper__chips::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__wrapper__chips::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__container__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input__container__text{display:inline-block;margin:0;border:0;padding:0;width:auto;vertical-align:middle;white-space:normal;line-height:inherit;background:none;color:inherit;font-size:inherit;font-family:inherit;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;line-height:150%;width:100%;line-height:22px;resize:none;cursor:inherit}.input__container__text:focus{outline:0}.input__container__text::-webkit-file-upload-button{padding:0;border:0;background:none}.input__container__text:focus{outline:0}.input__container__text[type=checkbox],.input__container__text[type=radio]{width:13px;height:13px}.input__container__text[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box}::-webkit-search-decoration{display:none}.input__container__text[type=reset],.input__container__text[type=button],.input__container__text[type=submit]{overflow:visible}.input__container__text::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__text::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__message{display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;height:20px;margin:3.7px 2.5px;-webkit-transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);color:var(--color-content-ghost, rgb(140, 140, 140));word-break:break-word;height:auto;min-height:20px}.input__message bds-typo{margin-top:0px;-ms-flex-item-align:self-start;align-self:self-start}.input__message__icon{display:-ms-flexbox;display:flex;padding-right:4px;margin-top:0px;padding-top:2px}.input__message--danger .bds-icon{color:var(--color-negative, #e60f0f)}.input__message--danger .input__message__text{color:var(--color-negative, #e60f0f)}.input__message--success .input__message__icon .bds-icon{color:var(--color-positive, #10603b)}.input__message--success .input__message__text{color:var(--color-content-default, rgb(40, 40, 40))}.select{position:relative;outline:none}.select__icon{color:var(--color-content-ghost, rgb(140, 140, 140));display:-ms-flexbox;display:flex}.select__options{background:var(--color-surface-0, rgb(255, 255, 255));width:100%;max-height:200px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:absolute;left:0;border-radius:8px;-webkit-box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));overflow-y:auto;z-index:2;pointer-events:none;opacity:0}.select__options::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.select__options::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.select__options--open{opacity:1;pointer-events:auto}.select__options--position-top{bottom:calc(100% + 4px)}.select__options--position-bottom{top:calc(100% + 4px)}.inside-input-left{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:200px;overflow-y:auto}.inside-input-left::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.inside-input-left::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input-chips__chip{margin:2px 4px 2px 0px}.input-chips__chips{-ms-flex:1;flex:1}';var l=t("bds_select_chips",function(){function t(t){var r=this;i(this,t);this.bdsChange=e(this,"bdsChange");this.bdsCancel=e(this,"bdsCancel");this.bdsFocus=e(this,"bdsFocus");this.bdsBlur=e(this,"bdsBlur");this.bdsChangeChips=e(this,"bdsChangeChips");this.bdsSelectChipsInput=e(this,"bdsSelectChipsInput");this.bdsSubmit=e(this,"bdsSubmit");this.isOpen=false;this.intoView=null;this.selectedOptions=[];this.validationDanger=false;this.isPressed=false;this.validationMesage="";this.internalChips=[];this.chips=[];this.newPrefix="";this.value="";this.danger=false;this.success=false;this.errorMessage="";this.disabled=false;this.label="";this.icon="";this.duplicated=false;this.canAddNew=true;this.notFoundMessage="No results found";this.type="text";this.delimiters=/,|;/;this.disableSubmit=false;this.helperMessage="";this.successMessage="";this.inputName="";this.placeholder="";this.optionsPosition="auto";this.dataTest=null;this.handleChangeChipsValue=function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.resetFilterOptions()];case 1:t.sent();return[2]}}))}))};this.refDropdown=function(t){r.dropElement=t};this.refIconDrop=function(t){r.iconDropElement=t};this.toggle=function(){if(!r.disabled){r.isOpen=!r.isOpen}};this.handler=function(t){return __awaiter(r,void 0,void 0,(function(){var i,e;return __generator(this,(function(r){switch(r.label){case 0:i=t.detail.value;this.selectedOption=i;e=this.getText(i);return[4,this.addChip(e)];case 1:r.sent();this.bdsChangeChips.emit({data:this.internalChips,value:this.selectedOption});this.bdsChange.emit({data:this.selectedOptions});this.toggle();return[2]}}))}))};this.handlerNewOption=function(t){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:return[4,this.addChip(t)];case 1:i.sent();this.bdsChangeChips.emit({data:this.internalChips,value:this.selectedOption});this.bdsChange.emit({data:this.selectedOptions});this.toggle();return[2]}}))}))};this.getText=function(t){var i=r.childOptions.find((function(i){return i.value===t}));return r.getTextFromOption(i)};this.getTextFromOption=function(t){var i,e;if(r.internalOptions){var n=r.internalOptions.find((function(i){return i.value==(t===null||t===void 0?void 0:t.value)}));if(n){return n.label}}return(t===null||t===void 0?void 0:t.titleText)?t.titleText:(e=(i=t===null||t===void 0?void 0:t.textContent)===null||i===void 0?void 0:i.trim())!==null&&e!==void 0?e:""};this.setFocusWrapper=function(){if(r.nativeInput){r.nativeInput.focus()}};this.removeFocusWrapper=function(){r.nativeInput.blur()};this.onClickWrapper=function(){r.onFocus();if(r.nativeInput){r.nativeInput.focus()}};this.onFocus=function(){r.bdsFocus.emit();r.isPressed=true};this.onInput=function(t){var i=t.target;if(i){r.value=i.value||""}r.bdsSelectChipsInput.emit(t);r.changedInputValue()};this.keyPressWrapper=function(t){switch(t.key){case"Enter":if(r.canAddNew!==false){r.handleDelimiters();r.setChip(r.value);r.value="";r.bdsChangeChips.emit({data:r.internalChips,value:r.selectedOption});r.bdsChange.emit({data:r.selectedOptions})}if(!r.disabled){r.isOpen=true}break;case"ArrowDown":if(!r.disabled){r.isOpen=true}break;case"ArrowUp":if(!r.disabled){r.isOpen=false}break;case"Backspace":case"Delete":if((r.value===null||r.value.length<=0)&&r.internalChips.length){r.removeLastChip();r.bdsChangeChips.emit({data:r.internalChips,value:r.selectedOption});r.bdsChange.emit({data:r.selectedOptions})}break}};this.changedInputValue=function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.value=this.nativeInput.value;if(!this.nativeInput.value)return[3,2];return[4,this.filterOptions(this.nativeInput.value)];case 1:t.sent();return[3,4];case 2:return[4,this.resetFilterOptions()];case 3:t.sent();t.label=4;case 4:if(this.value&&this.isOpen===false){this.isOpen=true}return[2]}}))}))}}t.prototype.isOpenChanged=function(t){if(this.positionHeightDrop=="bottom"){this.iconDropElement.name=this.isOpen?"arrow-up":"arrow-down"}else{this.iconDropElement.name=this.isOpen?"arrow-down":"arrow-up"}if(t)if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}};t.prototype.handleWindow=function(t){if(!this.el.contains(t.target)){this.isOpen=false}};t.prototype.optionsChanged=function(){if(typeof this.options==="string"){try{this.internalOptions=JSON.parse(this.options)}catch(t){}}else{this.internalOptions=this.options}};t.prototype.valueChanged=function(){if(this.chips){if(typeof this.chips==="string"){try{this.internalChips=JSON.parse(this.chips)}catch(t){this.internalChips=[]}}else{this.internalChips=this.chips}}else{this.internalChips=[]}};t.prototype.internalValueChanged=function(){var t=this;this.handleChangeChipsValue();if(this.internalChips.length>0){this.selectedOptions=this.internalChips.map((function(i){return{label:i,value:"".concat(t.validValueChip(i,t.childOptions))}}))}};t.prototype.validValueChip=function(t,i){var e=i===null||i===void 0?void 0:i.find((function(i){return i.textContent==t}));return"".concat(e?e.value:t)};t.prototype.isValid=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.validateChips()]}))}))};t.prototype.getChips=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.internalChips]}))}))};t.prototype.clear=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.internalChips=[];this.value="";return[2]}))}))};t.prototype.add=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.handleDelimiters();if(t){this.setChip(t)}else{this.setChip(this.value)}this.value="";return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus();return[2]}))}))};t.prototype.removeFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.blur();return[2]}))}))};t.prototype.componentWillLoad=function(){this.valueChanged();this.optionsChanged();this.intoView=o(this.el)};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.resetFilterOptions()];case 1:t.sent();if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}return[2]}}))}))};t.prototype.setDefaultPlacement=function(t){if(t=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.validatePositionDrop=function(){var t=s({actionElement:this.el,changedElement:this.dropElement,intoView:this.intoView});this.positionHeightDrop=t.y;if(t.y=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;return __generator(this,(function(r){for(t=0,i=this.childOptions;t<i.length;t++){e=i[t];e.addEventListener("optionSelected",this.handler)}return[2]}))}))};Object.defineProperty(t.prototype,"childOptionsEnabled",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option:not([invisible]):not(#option-add):not(#no-option)")):Array.from(this.el.querySelectorAll("bds-select-option:not([invisible]):not(#option-add):not(#no-option)"))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"childOptions",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option:not(#option-add):not(#no-option)")):Array.from(this.el.querySelectorAll("bds-select-option:not(#option-add):not(#no-option)"))},enumerable:false,configurable:true});t.prototype.filterOptions=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,r,n,o,s,a,c;return __generator(this,(function(u){switch(u.label){case 0:if(!!t)return[3,2];return[4,this.resetFilterOptions()];case 1:u.sent();return[2];case 2:i=0,e=this.childOptions;u.label=3;case 3:if(!(i<e.length))return[3,6];r=e[i];o=this.existsChip;s=[r.textContent];return[4,this.getChips()];case 4:n=o.apply(this,s.concat([u.sent()]));a=r.textContent.toLowerCase();c=t.toLowerCase();if(n){r.setAttribute("invisible","invisible")}if(t&&a.includes(c)&&!n){r.removeAttribute("invisible")}if(t&&!a.includes(c)&&!n){r.setAttribute("invisible","invisible")}u.label=5;case 5:i++;return[3,3];case 6:return[2]}}))}))};t.prototype.resetFilterOptions=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e,r,n;return __generator(this,(function(o){switch(o.label){case 0:t=0,i=this.childOptions;o.label=1;case 1:if(!(t<i.length))return[3,4];e=i[t];r=this.existsChip;n=[e.textContent];return[4,this.getChips()];case 2:if(r.apply(this,n.concat([o.sent()]))){e.setAttribute("invisible","invisible")}else{e.removeAttribute("invisible")}o.label=3;case 3:t++;return[3,1];case 4:return[2]}}))}))};t.prototype.existsChip=function(t,i){return i.some((function(i){return t===i}))};t.prototype.enableCreateOption=function(){return!!(this.childOptionsEnabled.length===0&&this.nativeInput&&this.nativeInput.value)};t.prototype.addChip=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:return[4,this.setChip(t)];case 1:i.sent();this.nativeInput.value="";return[2]}}))}))};t.prototype.validateChips=function(){var t=this;if(this.type==="email"){return!this.internalChips.some((function(i){return!t.validateChip(i)}))}else{return true}};t.prototype.handleOnBlur=function(){this.bdsBlur.emit();this.isPressed=false};t.prototype.verifyAndSubstituteDelimiters=function(t){if(t.length===1&&t[0].match(this.delimiters)){return""}var i=t.replace(/;/g,",").replace(/\,+|;+/g,",");if(i[0].match(this.delimiters)){i=i.substring(1)}return i};t.prototype.handleDelimiters=function(){var t=this;var i=this.nativeInput.value;this.value=i?i.trim():"";if(i.length===0)return;var e=i.match(this.delimiters);if(!e)return;var r=this.verifyAndSubstituteDelimiters(i);if(!r){this.clearInputValues();return}var n=r.split(this.delimiters);n.forEach((function(i){t.setChip(i.trimStart())}));this.clearInputValues()};t.prototype.handleChange=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,r,n;var o=this;return __generator(this,(function(s){i=t.detail.value;this.value=i?i.trim():"";if(i.length===0)return[2];e=i.match(this.delimiters);if(!e)return[2];r=this.verifyAndSubstituteDelimiters(i);if(!r){this.clearInputValues();return[2]}n=r.split(this.delimiters);n.forEach((function(t){o.setChip(t)}));this.clearInputValues();return[2]}))}))};t.prototype.clearInputValues=function(t){if(t===void 0){t=""}this.nativeInput.value=t;this.value=t};t.prototype.setChip=function(t){if(!this.duplicated){var i=this.internalChips.some((function(i){return i.toLowerCase()===t.toLowerCase()}));if(i)return}if(!a(t)){return}this.internalChips=__spreadArray(__spreadArray([],this.internalChips,true),[t],false)};t.prototype.validateChip=function(t){var i=t.trim();if(this.type==="email"&&c(i)){return false}return true};t.prototype.removeLastChip=function(){this.internalChips=this.internalChips.slice(0,this.internalChips.length-1)};t.prototype.removeChip=function(t){var i=t.detail.id;this.internalChips=this.internalChips.filter((function(t,e){return e.toString()!==i}));this.bdsChangeChips.emit({data:this.internalChips,value:this.selectedOption});this.bdsChange.emit({data:this.selectedOptions})};t.prototype.renderChips=function(){var t=this;if(!this.internalChips.length){return[]}return this.internalChips.map((function(i,e){var n=e.toString();var o=30;if(i.length<=o){return r("bds-chip-clickable",{id:n,key:n,color:"outline",close:!t.disabled,onChipClickableClose:function(i){return t.removeChip(i)}},i)}else{return r("bds-tooltip",{key:n,position:"top-center","tooltip-text":i},r("bds-chip-clickable",{id:n,key:n,color:"outline",close:!t.disabled,onChipClickableClose:function(i){return t.removeChip(i)}},"".concat(i.slice(0,o)," ...")))}}))};t.prototype.renderIcon=function(){return this.icon&&r("div",{class:{input__icon:true,"input__icon--large":!!this.label}},r("bds-icon",{size:this.label?"medium":"small",name:this.icon,color:"inherit"}))};t.prototype.renderLabel=function(){return this.label&&r("label",{class:{input__container__label:true,"input__container__label--pressed":this.isPressed&&!this.disabled}},r("bds-typo",{variant:"fs-12",bold:"bold"},this.label))};t.prototype.renderMessage=function(){var t=this.danger?"error":this.success?"checkball":"info";var i=this.danger?this.errorMessage:this.success?this.successMessage:this.helperMessage;if(!i&&this.validationDanger)i=this.validationMesage;var e=this.danger||this.validationDanger?"input__message input__message--danger":this.success?"input__message input__message--success":"input__message";if(i){return r("div",{class:e,part:"input__message"},r("div",{class:"input__message__icon"},r("bds-icon",{size:"x-small",name:t,theme:"outline",color:"inherit"})),r("bds-typo",{class:"input__message__text",variant:"fs-12"},i))}return undefined};t.prototype.generateKey=function(t){return t.toLowerCase().replace(/ /g,"-")};t.prototype.render=function(){var t=this;var i=this.isPressed&&!this.disabled;var e=[];if(this.options){if(typeof this.options==="string"){try{e=JSON.parse(this.options)}catch(t){}}else{e=this.options}}return r("div",{key:"2a6895b34384ff62b85532c1e2089d22bed7d250",class:"select",tabindex:"0",onFocus:this.setFocusWrapper,onBlur:this.removeFocusWrapper},r("div",{key:"1527014577dc42a850ee363f80a5006c3a87189b",class:{element_input:true},"aria-disabled":this.disabled?"true":null,onClick:this.toggle},r("div",{key:"e2203883385f25fe0135509c552cfdfeeafa4652",class:{input:true,"input--state-primary":!this.danger&&!this.validationDanger,"input--state-danger":this.danger||this.validationDanger,"input--state-success":this.success,"input--state-disabled":this.disabled,"input--label":!!this.label,"input--pressed":i},onClick:this.onClickWrapper},this.renderIcon(),r("div",{key:"05f5cfe4e52216078aea9e8be7e05374be02a369",class:"input__container"},this.renderLabel(),r("div",{key:"b59abc2bb4921c735e84b7880b5da696475ebadc",class:{input__container__wrapper:true}},this.internalChips.length>0&&r("span",{key:"dac4c296f0a647e4f8a60e4122edef9ca586954d",style:{height:this.height,maxHeight:this.maxHeight},class:"inside-input-left"},this.renderChips()),r("input",{key:"643e3fc551e1499bc8c4223eb30fb3fec040d545",ref:function(i){return t.nativeInput=i},class:{input__container__text:true},name:this.inputName,maxlength:this.maxlength,placeholder:this.placeholder,onInput:this.onInput,onFocus:this.onFocus,onBlur:function(){return t.handleOnBlur()},onChange:function(){return t.handleChange},value:this.value,disabled:this.disabled,"data-test":this.dataTest,onKeyDown:this.keyPressWrapper}))),r("div",{key:"d1ef3099a3193cc1d0b1a138f752be40bcfb4ef4",class:"select__icon"},r("bds-icon",{key:"234820d570adfc371abcdbf8a6f08f151da22651",ref:function(i){return t.refIconDrop(i)},size:"small",color:"inherit"})),this.success&&r("bds-icon",{key:"ac9620592e8168ebaea579797f856d7b6cccacd5",class:"icon-success",name:"check",theme:"outline",size:"xxx-small"})),this.renderMessage()),r("div",{key:"8ee2d1ddd15fd5e7f44f1c43f4f25bcd175fbdc9",ref:function(i){return t.refDropdown(i)},class:{select__options:true,"select__options--open":this.isOpen}},e.map((function(i){return r("bds-select-option",{key:t.generateKey(i.value),onOptionSelected:t.handler,value:i.value,status:i.status},i.label)})),r("slot",{key:"a40f1980a391c11a6a58780bd3e8bc586be2a56b"}),this.canAddNew===true&&this.enableCreateOption()&&r("bds-select-option",{key:"7c3581deac07b12899e8f108afc58269c10649c5",id:"option-add",value:"add",onClick:function(){return t.handlerNewOption(t.nativeInput.value)}},this.newPrefix,this.nativeInput.value),!this.canAddNew&&this.enableCreateOption()&&r("bds-select-option",{key:"4e835dd72aa0b771decc256e6b5554a0c0fc2812",id:"no-option",value:"add"},this.notFoundMessage)))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["isOpenChanged"],options:["optionsChanged"],chips:["valueChanged"],internalChips:["internalValueChanged"]}},enumerable:false,configurable:true});return t}());l.style=u}}}));
|
|
2
|
+
//# sourceMappingURL=p-2cc99943.system.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as t,h as s,H as a,a as i}from"./p-gowA9FoV.js";const r=class{constructor(s){e(this,s);this.bdsRadioGroupChange=t(this,"bdsRadioGroupChange");this.radioGroupElement=null;this.chagedOptions=(e,t)=>{if(t.detail.checked==true){this.value=e}}}valueChanged(e){this.setSelectedRadio(e);this.bdsRadioGroupChange.emit({value:e})}componentWillRender(){this.radioGroupElement=this.element.getElementsByTagName("bds-radio");for(let e=0;e<this.radioGroupElement.length;e++){this.radioGroupElement[e].addEventListener("bdsChange",(t=>this.chagedOptions(this.radioGroupElement[e].value,t)))}}setSelectedRadio(e){const t=this.radioGroupElement;for(let s=0;s<t.length;s++){const a=t[s].value;t[s].checked=false;if(t[s].checked==false&&e==a){t[s].checked=true}}}render(){return s(a,{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as t,h as s,H as a,a as i}from"./p-gowA9FoV.js";const r=class{constructor(s){e(this,s);this.bdsRadioGroupChange=t(this,"bdsRadioGroupChange");this.radioGroupElement=null;this.chagedOptions=(e,t)=>{if(t.detail.checked==true){this.value=e}}}valueChanged(e){this.setSelectedRadio(e);this.bdsRadioGroupChange.emit({value:e})}componentWillRender(){this.radioGroupElement=this.element.getElementsByTagName("bds-radio");for(let e=0;e<this.radioGroupElement.length;e++){this.radioGroupElement[e].addEventListener("bdsChange",(t=>this.chagedOptions(this.radioGroupElement[e].value,t)))}}setSelectedRadio(e){const t=this.radioGroupElement;for(let s=0;s<t.length;s++){const a=t[s].value;t[s].checked=false;if(t[s].checked==false&&e==a){t[s].checked=true}}}render(){return s(a,{key:"b22a7cc8b980f988bd3e3198adb7a9fbbefe8132"},s("slot",{key:"5e94259e6221a949bad2e1d99f401d70e6d7d4af"}))}get element(){return i(this)}static get watchers(){return{value:["valueChanged"]}}};export{r as bds_radio_group};
|
|
2
|
+
//# sourceMappingURL=p-32358d6b.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,i,r){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function s(t){try{c(r.next(t))}catch(t){a(t)}}function o(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?i(t.value):n(t.value).then(s,o)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(r=1,n&&(a=o[0]&2?n["return"]:o[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;if(n=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(o[0]===6&&i.label<a[1]){i.label=a[1];a=o;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(o);break}if(a[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var r=0,n=e.length,a;r<n;r++){if(a||!(r in e)){if(!a)a=Array.prototype.slice.call(e,0,r);a[r]=e[r]}}return t.concat(a||Array.prototype.slice.call(e))};System.register(["./p-CD9MMdoC.system.js"],(function(t){"use strict";var e,i,r,n,a;return{setters:[function(t){e=t.r;i=t.c;r=t.h;n=t.H;a=t.a}],execute:function(){var s=':host{display:block;width:100%}:host .table{display:grid;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;color:var(--color-content-default, rgb(40, 40, 40));width:100%;border:1px solid var(--color-border-3, rgba(0, 0, 0, 0.06));border-radius:8px;overflow-x:auto;background-color:var(--color-surface-1, rgb(246, 246, 246))}:host .table .thead{border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));padding:0 16px}:host .table .thead .header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;text-align:left;-ms-flex-align:center;align-items:center;height:64px;gap:16px}:host .table .thead .header .header-title{height:64px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;gap:8px}:host .table .thead .header .header-title .title-click{cursor:pointer}:host .table .body-row{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;padding:0 16px;gap:16px;border-bottom:1px solid var(--color-border-2, rgba(0, 0, 0, 0.16))}:host .table .body-row .body-item{height:48px;width:100%;gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}:host .table .body-row:last-child{border-bottom:none}';var o=t("bds_data_table",function(){function t(t){e(this,t);this.bdsTableClick=i(this,"bdsTableClick");this.bdsTableDelete=i(this,"bdsTableDelete");this.bdsTableChange=i(this,"bdsTableChange");this.newTable=[];this.headerData=[];this.tableData=[];this.avatar=false;this.chips=false;this.sorting=false}t.prototype.componentWillLoad=function(){this.getDataFromProprety()};t.prototype.getDataFromProprety=function(){this.headerData=JSON.parse(this.column);this.tableData=JSON.parse(this.options)};t.prototype.renderArrow=function(t){if(t){return r("bds-icon",{name:"arrow-up",size:"small"})}else{return null}};t.prototype.deleteItem=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.tableData.filter((function(e,i){return i===t&&e}));this.bdsTableDelete.emit(e[0]);this.tableData.splice(t,1);this.tableData=__spreadArray([],this.tableData,true);this.bdsTableChange.emit(this.tableData);return[2]}))}))};t.prototype.clickButton=function(t,e,i){this.bdsTableClick.emit({item:t,index:e,nameButton:i})};t.prototype.orderColumn=function(t){this.headerActive=t;this.sortAscending=this.sortAscending?false:true;if(this.sortAscending===false){this.tableData.sort((function(e,i){return e[t]>i[t]?1:-1}))}else{this.tableData.sort((function(e,i){return e[t]>i[t]?-1:1}))}};t.prototype.render=function(){var t=this;return r(n,{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,i,r){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function s(t){try{c(r.next(t))}catch(t){a(t)}}function o(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?i(t.value):n(t.value).then(s,o)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(r=1,n&&(a=o[0]&2?n["return"]:o[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;if(n=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(o[0]===6&&i.label<a[1]){i.label=a[1];a=o;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(o);break}if(a[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var r=0,n=e.length,a;r<n;r++){if(a||!(r in e)){if(!a)a=Array.prototype.slice.call(e,0,r);a[r]=e[r]}}return t.concat(a||Array.prototype.slice.call(e))};System.register(["./p-CD9MMdoC.system.js"],(function(t){"use strict";var e,i,r,n,a;return{setters:[function(t){e=t.r;i=t.c;r=t.h;n=t.H;a=t.a}],execute:function(){var s=':host{display:block;width:100%}:host .table{display:grid;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;color:var(--color-content-default, rgb(40, 40, 40));width:100%;border:1px solid var(--color-border-3, rgba(0, 0, 0, 0.06));border-radius:8px;overflow-x:auto;background-color:var(--color-surface-1, rgb(246, 246, 246))}:host .table .thead{border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));padding:0 16px}:host .table .thead .header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;text-align:left;-ms-flex-align:center;align-items:center;height:64px;gap:16px}:host .table .thead .header .header-title{height:64px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;gap:8px}:host .table .thead .header .header-title .title-click{cursor:pointer}:host .table .body-row{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;padding:0 16px;gap:16px;border-bottom:1px solid var(--color-border-2, rgba(0, 0, 0, 0.16))}:host .table .body-row .body-item{height:48px;width:100%;gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}:host .table .body-row:last-child{border-bottom:none}';var o=t("bds_data_table",function(){function t(t){e(this,t);this.bdsTableClick=i(this,"bdsTableClick");this.bdsTableDelete=i(this,"bdsTableDelete");this.bdsTableChange=i(this,"bdsTableChange");this.newTable=[];this.headerData=[];this.tableData=[];this.avatar=false;this.chips=false;this.sorting=false}t.prototype.componentWillLoad=function(){this.getDataFromProprety()};t.prototype.getDataFromProprety=function(){this.headerData=JSON.parse(this.column);this.tableData=JSON.parse(this.options)};t.prototype.renderArrow=function(t){if(t){return r("bds-icon",{name:"arrow-up",size:"small"})}else{return null}};t.prototype.deleteItem=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.tableData.filter((function(e,i){return i===t&&e}));this.bdsTableDelete.emit(e[0]);this.tableData.splice(t,1);this.tableData=__spreadArray([],this.tableData,true);this.bdsTableChange.emit(this.tableData);return[2]}))}))};t.prototype.clickButton=function(t,e,i){this.bdsTableClick.emit({item:t,index:e,nameButton:i})};t.prototype.orderColumn=function(t){this.headerActive=t;this.sortAscending=this.sortAscending?false:true;if(this.sortAscending===false){this.tableData.sort((function(e,i){return e[t]>i[t]?1:-1}))}else{this.tableData.sort((function(e,i){return e[t]>i[t]?-1:1}))}};t.prototype.render=function(){var t=this;return r(n,{key:"bdbe8c890b388cc5489561905028e97e663c8acd"},r("table",{key:"59f056c7dc4d303e828a7bd05d8f95fd88b67b87",class:"table"},r("thead",{key:"afa58ac0e557bffc6c1ee8a2d4807692ec73b541",class:"thead"},r("tr",{key:"be5758f14eeb602b027d9e5e2870556b3a3eced0",class:"header"},this.headerData.map((function(e,i){return r("th",{class:"header-title",key:i},t.sorting?r("bds-typo",{class:"title-click",onClick:function(){return t.orderColumn(e.value)},variant:"fs-14",bold:t.headerActive==="".concat(e.value)?"bold":"semi-bold"},e.heading):r("bds-typo",{variant:"fs-14",bold:"semi-bold"},e.heading),t.sortAscending===true&&t.sorting===true&&t.headerActive==="".concat(e.value)?r("bds-icon",{class:"header-icon",name:"arrow-up",size:"small"}):t.sortAscending===false&&t.sorting===true&&t.headerActive==="".concat(e.value)?r("bds-icon",{name:"arrow-down",size:"small"}):"")})))),r("tbody",{key:"486b9ae123aabff531dc93fbe3feab740abda45a"},this.tableData.map((function(e,i){return r("tr",{class:"body-row",key:i},t.headerData.map((function(n,a){return r("td",{class:"body-item",key:a},t.actionArea&&n.editAction?r("bds-button-icon",{onClick:function(){return t.clickButton(e,i,n.editAction)},variant:"secondary",icon:e["".concat(n.editAction)],size:"short"}):"",t.actionArea&&n.deleteAction?r("bds-button-icon",{onClick:function(){return t.clickButton(e,i,n.deleteAction)},variant:"secondary",icon:e["".concat(n.deleteAction)],size:"short"}):"",t.actionArea&&n.customAction?r("bds-button-icon",{onClick:function(){return t.clickButton(e,i,n.customAction)},variant:"secondary",icon:e["".concat(n.customAction)],size:"short"}):"",t.chips&&n.chips?r("bds-chip-tag",{color:e["".concat(n.chips)]?e["".concat(n.chips)]:"default"},e["".concat(n.value)]):"",t.avatar&&n.img?r("bds-avatar",{size:"extra-small",thumbnail:e["".concat(n.img)],name:e["".concat(n.value)]}):"",n.chips?"":r("bds-typo",{variant:"fs-14",bold:t.headerActive==="".concat(n.value)?"bold":"regular"},e["".concat(n.value)]))})))})))))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());o.style=s}}}));
|
|
2
|
+
//# sourceMappingURL=p-359196c5.system.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register(["./p-CD9MMdoC.system.js"],(function(e){"use strict";var t,a,r;return{setters:[function(e){t=e.r;a=e.h;r=e.H}],execute:function(){var o=".sc-bds-table-header-h{display:table-header-group;border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2))}";var b=e("bds_table_header",function(){function e(e){t(this,e)}e.prototype.render=function(){return a(r,{key:"1e60f1072a4742046bf3a427138a03c5bdb3fc5d"},a("slot",{key:"b0daae57b5a66f40c317a8afecfc0f377a76bdfa"}))};return e}());b.style=o}}}));
|
|
2
|
+
//# sourceMappingURL=p-35c82911.system.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as e,a as o}from"./p-gowA9FoV.js";const h=":host{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}";const n=class{constructor(i){t(this,i);this.buttonSelected=s(this,"buttonSelected");this.activeIndexes=new Set;this.size="medium";this.direction="row";this.color="primary";this.multiple=false}componentDidLoad(){this.buttons=this.el.getElementsByTagName("bds-button");this.setupButtons()}componentDidUpdate(){this.setupButtons()}handlePropChanges(){this.setupButtons()}setupButtons(){for(let t=0;t<this.buttons.length;t++){const s=this.buttons[t];s.setAttribute("data-index",t.toString());s.addEventListener("click",(()=>this.selectButton(t)));s.setVariant("outline");this.updateButtonPosition(t);this.updateButtonDirection(t);this.updateButtonSize(t);this.updateButtonColor(t)}}async activateButton(t){if(t>=0&&t<this.buttons.length){this.selectButton(t)}}selectButton(t){if(this.multiple){if(this.activeIndexes.has(t)){this.activeIndexes.delete(t)}else{this.activeIndexes.add(t)}}else{if(this.activeIndexes.has(t)){this.activeIndexes.clear()}else{this.activeIndexes.clear();this.activeIndexes.add(t)}}this.updateButtonStates(t)}updateButtonStates(t){for(let s=0;s<this.buttons.length;s++){const i=this.buttons[s];if(this.activeIndexes.has(s)){i.isActive(true);i.setVariant("solid");i.classList.add("active")}else{i.isActive(false);i.setVariant("outline");i.classList.remove("active")}if(s===t){this.buttonSelected.emit(i.id)}}}updateButtonPosition(t){const s=this.buttons[t];if(t===0){s.setPosition("first")}else if(t===this.buttons.length-1){s.setPosition("last")}else{s.setPosition("middle")}}updateButtonDirection(t){const s=this.buttons[t];this.direction==="row"?s.setDirection("row"):s.setDirection("column")}updateButtonSize(t){const s=this.buttons[t];this.size==="medium"?s.setSize("medium"):s.setSize("large")}updateButtonColor(t){const s=this.buttons[t];s.setColor(this.color)}render(){return i(e,{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as s,h as i,H as e,a as o}from"./p-gowA9FoV.js";const h=":host{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}";const n=class{constructor(i){t(this,i);this.buttonSelected=s(this,"buttonSelected");this.activeIndexes=new Set;this.size="medium";this.direction="row";this.color="primary";this.multiple=false}componentDidLoad(){this.buttons=this.el.getElementsByTagName("bds-button");this.setupButtons()}componentDidUpdate(){this.setupButtons()}handlePropChanges(){this.setupButtons()}setupButtons(){for(let t=0;t<this.buttons.length;t++){const s=this.buttons[t];s.setAttribute("data-index",t.toString());s.addEventListener("click",(()=>this.selectButton(t)));s.setVariant("outline");this.updateButtonPosition(t);this.updateButtonDirection(t);this.updateButtonSize(t);this.updateButtonColor(t)}}async activateButton(t){if(t>=0&&t<this.buttons.length){this.selectButton(t)}}selectButton(t){if(this.multiple){if(this.activeIndexes.has(t)){this.activeIndexes.delete(t)}else{this.activeIndexes.add(t)}}else{if(this.activeIndexes.has(t)){this.activeIndexes.clear()}else{this.activeIndexes.clear();this.activeIndexes.add(t)}}this.updateButtonStates(t)}updateButtonStates(t){for(let s=0;s<this.buttons.length;s++){const i=this.buttons[s];if(this.activeIndexes.has(s)){i.isActive(true);i.setVariant("solid");i.classList.add("active")}else{i.isActive(false);i.setVariant("outline");i.classList.remove("active")}if(s===t){this.buttonSelected.emit(i.id)}}}updateButtonPosition(t){const s=this.buttons[t];if(t===0){s.setPosition("first")}else if(t===this.buttons.length-1){s.setPosition("last")}else{s.setPosition("middle")}}updateButtonDirection(t){const s=this.buttons[t];this.direction==="row"?s.setDirection("row"):s.setDirection("column")}updateButtonSize(t){const s=this.buttons[t];this.size==="medium"?s.setSize("medium"):s.setSize("large")}updateButtonColor(t){const s=this.buttons[t];s.setColor(this.color)}render(){return i(e,{key:"b007e012c09fc291e51e3c1ca1bd9c3c6a1b3f26",class:"button_group"},i("bds-grid",{key:"4cca14362dbd2fd1124b956e4c998766824d282c",direction:this.direction},i("slot",{key:"16d6595dbcda244737b4e43732069252f919f2eb"})))}get el(){return o(this)}static get watchers(){return{size:["handlePropChanges"],direction:["handlePropChanges"],color:["handlePropChanges"],multiple:["handlePropChanges"]}}};n.style=h;export{n as bds_button_group};
|
|
2
|
+
//# sourceMappingURL=p-398ecd4e.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as t,h as i,a}from"./p-gowA9FoV.js";import{g as r}from"./p-DNAIg-a5.js";const o=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo",formatError:"Ocorreu um erro ao anexar o arquivo, tente novamente ou selecione outro arquivo"}];const s=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo",formatError:"Se produjo un error al adjuntar el archivo, inténtelo nuevamente o seleccione otro archivo"}];const l=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file",formatError:"There was an error attaching the file, please try again or select another file"}];const d=(e,t)=>{let i;switch(e){case"pt_BR":i=o.map((e=>e[t]));break;case"es_ES":i=s.map((e=>e[t]));break;case"en_US":i=l.map((e=>e[t]));break;default:i=o.map((e=>e[t]))}return i};const n='.upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px;color:var(--color-content-default, rgb(40, 40, 40))}.upload .upload-header_text{color:var(--color-content-default, rgb(40, 40, 40));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.upload__edit--label:focus-visible{outline:none}.upload__edit--label:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:var(--color-surface-2, rgb(237, 237, 237));z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{color:var(--color-content-default, rgb(40, 40, 40));width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:var(--color-surface-2, rgb(237, 237, 237))}.upload__edit--label .text-box--hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--label:hover{border:2px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline var(--color-primary, rgb(30, 107, 241));text-decoration:underline var(--color-primary, rgb(30, 107, 241));color:var(--color-brand, rgb(0, 150, 250))}.upload__edit--label:hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--hover{background-size:cover;border:1px dashed var(--color-surface-4, rgb(20, 20, 20));color:var(--color-primary, rgb(30, 107, 241));font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%;color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon{color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';const c=class{constructor(i){e(this,i);this.bdsUploadDelete=t(this,"bdsUploadDelete");this.bdsUploadChange=t(this,"bdsUploadChange");this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.internalAccepts=[];this.formatError=false;this.language="pt_BR";this.dataAccept=[];this.dtInputFiles=null;this.dtLabelAddFile=null;this.dtButtonDelete=null;this.showListPreview=true;this.validationFiles=(e,t)=>{const i=`.${e.name.split(".").pop()}`;const a=this.internalAccepts.includes(i);if(a){this.formatError=false;return}else{this.formatError=true;this.deleteFile(t);return}};this.handleDrop=e=>{this.haveFiles=true;const t=e.dataTransfer;const i=t.files;this.handleFiles(i)};this.handleFiles=e=>{if(!this.multiple){this.files=[e[0]]}else{this.files=[...this.files,...e]}this.bdsUploadChange.emit({value:this.files})};this.refInputElement=e=>{this.inputElement=e}}dataAcceptChanged(){if(this.dataAccept){if(typeof this.dataAccept==="string"){try{this.internalAccepts=JSON.parse(this.dataAccept)}catch(e){this.internalAccepts=[]}}else{this.internalAccepts=this.dataAccept}}else{this.internalAccepts=[]}}filesChanged(){if(this.files.length>0){for(let e=0;e<this.files.length;e++){if(this.internalAccepts.length>0){this.validationFiles(this.files[e],e)}}}}formatErrorChanged(e){if(e){this.error=d(this.language,"formatError");setTimeout((()=>this.error=null),5e3)}}componentWillLoad(){this.dataAcceptChanged()}componentDidLoad(){["dragenter","dragover","dragleave","drop"].forEach((e=>{this.dropArea.shadowRoot.addEventListener(e,this.preventDefaults,false);this.dropArea.shadowRoot.addEventListener(e,(()=>this.hoverFile(true)),false)}));["dragenter","dragover"].forEach((e=>{this.dropArea.shadowRoot.addEventListener(e,(()=>this.preventDefaults),false);this.dropArea.shadowRoot.addEventListener(e,(()=>this.hoverFile(true)),false)}));["dragleave","drop"].forEach((e=>{this.dropArea.shadowRoot.addEventListener(e,(()=>this.preventDefaults),false);this.dropArea.shadowRoot.addEventListener(e,(()=>this.hoverFile(false)),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)}preventDefaults(e){e.preventDefault();e.stopPropagation()}hoverFile(e){this.hover=e}onUploadClick(e){if(e.length>0){if(!this.multiple){this.files=[e[0]]}else{this.files=[...this.files,...e]}this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit({value:this.files})}getSize(){this.files.map((e=>{const t=e.size;this.size.push(t)}))}async deleteFile(e){const t=this.files.filter(((t,i)=>i==e&&t));this.bdsUploadDelete.emit({value:t});this.files.splice(e,1);this.files=[...this.files];if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files})}async deleteAllFiles(){this.bdsUploadDelete.emit({value:this.files});this.files=[];if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files})}handleKeyDown(e){if(e.key=="Enter"){this.inputElement.click()}}render(){return i("div",{key:"d8368f8f0e8e82fd1adb4d1d30ae2f26f615d67b",class:"upload"},i("div",{key:"2de800ed767fb6143a0166c940d1d142d1436d36",class:"upload-header"},i("bds-icon",{key:"60a0176c8bde85773e7fda3db1438a55d09421b6",class:"upload-header_icon",size:"xxx-large",name:"upload"}),i("div",{key:"3eadda44b288ccd7c139408ea59e3e679af1c52e",class:"upload-header_text"},i("bds-typo",{key:"a8db081dd384a93f5bd270b3c312bac0eba9f67d",variant:"fs-16",bold:"bold","aria-label":this.titleName},this.titleName),i("bds-typo",{key:"045c0e0f5fb9f630e4dcc207f53d43ab03d9fc81",variant:"fs-14",bold:"regular","aria-label":this.subtitle},this.subtitle))),this.error?i("bds-banner",{context:"inside",variant:"error","aria-label":this.error},this.error):"",this.haveFiles&&this.showListPreview?i("div",null,i("div",{class:"list-preview"},this.files.map(((e,t)=>i("div",{class:"upload__preview",key:t,id:"drop-area"},i("div",{class:"preview",id:"preview"},i("bds-icon",{size:"x-small",name:"attach"}),i("p",{class:"preview-text",id:"preview-text","aria-label":e.name},e.name),i("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:()=>this.deleteFile(t),"aria-label":`delete ${e.name}`,"data-test":`${this.dtButtonDelete}-${t}`})))))),this.multiple?i("bds-typo",{variant:"fs-14",italic:true,class:"preview-length","aria-label":d(this.language,"uploaded")},this.files.length>1?`${this.files.length} ${d(this.language,"uploaded")}`:""):""):"",i("div",{key:"6ac3433decc7cd03b72dc3de3b3f2eb67b3b9415",class:{upload__edit:true}},i("label",{key:"39c47991cae813bf7abaa2ee99efe98329bfbc6a",class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file","data-test":this.dtLabelAddFile,tabindex:"0",onKeyDown:this.handleKeyDown.bind(this)},i("div",{key:"6dc1e9de9f103aedea9d7f045bc8520fdccc1b05",class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropHere")},d(this.language,"dropHere")):i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropOrClick")},d(this.language,"dropOrClick"))),i("img",{key:"a7b123e6920556527b7c96c8b0ac9508c63fc26a",class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:r("asset-component-upload-pattern")})),i("input",{key:"f35bf967c996061b76b32bfcbc3dd599407e2ee9",ref:this.refInputElement,type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.internalAccepts.length>0?this.internalAccepts.toString():this.accept,onChange:e=>this.onUploadClick(e.target.files),"data-test":this.dtInputFiles})))}get dropArea(){return a(this)}static get watchers(){return{dataAccept:["dataAcceptChanged"],files:["filesChanged"],formatError:["formatErrorChanged"]}}};c.style=n;export{c as bds_upload};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as t,h as i,a}from"./p-gowA9FoV.js";import{g as r}from"./p-2NONefL6.js";const o=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo",formatError:"Ocorreu um erro ao anexar o arquivo, tente novamente ou selecione outro arquivo"}];const s=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo",formatError:"Se produjo un error al adjuntar el archivo, inténtelo nuevamente o seleccione otro archivo"}];const l=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file",formatError:"There was an error attaching the file, please try again or select another file"}];const d=(e,t)=>{let i;switch(e){case"pt_BR":i=o.map((e=>e[t]));break;case"es_ES":i=s.map((e=>e[t]));break;case"en_US":i=l.map((e=>e[t]));break;default:i=o.map((e=>e[t]))}return i};const n='.upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px;color:var(--color-content-default, rgb(40, 40, 40))}.upload .upload-header_text{color:var(--color-content-default, rgb(40, 40, 40));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.upload__edit--label:focus-visible{outline:none}.upload__edit--label:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:var(--color-surface-2, rgb(237, 237, 237));z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{color:var(--color-content-default, rgb(40, 40, 40));width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:var(--color-surface-2, rgb(237, 237, 237))}.upload__edit--label .text-box--hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--label:hover{border:2px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline var(--color-primary, rgb(30, 107, 241));text-decoration:underline var(--color-primary, rgb(30, 107, 241));color:var(--color-brand, rgb(0, 150, 250))}.upload__edit--label:hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--hover{background-size:cover;border:1px dashed var(--color-surface-4, rgb(20, 20, 20));color:var(--color-primary, rgb(30, 107, 241));font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%;color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon{color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';const c=class{constructor(i){e(this,i);this.bdsUploadDelete=t(this,"bdsUploadDelete");this.bdsUploadChange=t(this,"bdsUploadChange");this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.internalAccepts=[];this.formatError=false;this.language="pt_BR";this.dataAccept=[];this.dtInputFiles=null;this.dtLabelAddFile=null;this.dtButtonDelete=null;this.showListPreview=true;this.validationFiles=(e,t)=>{const i=`.${e.name.split(".").pop()}`;const a=this.internalAccepts.includes(i);if(a){this.formatError=false;return}else{this.formatError=true;this.deleteFile(t);return}};this.handleDrop=e=>{this.haveFiles=true;const t=e.dataTransfer;const i=t.files;this.handleFiles(i)};this.handleFiles=e=>{if(!this.multiple){this.files=[e[0]]}else{this.files=[...this.files,...e]}this.bdsUploadChange.emit({value:this.files})};this.refInputElement=e=>{this.inputElement=e}}dataAcceptChanged(){if(this.dataAccept){if(typeof this.dataAccept==="string"){try{this.internalAccepts=JSON.parse(this.dataAccept)}catch(e){this.internalAccepts=[]}}else{this.internalAccepts=this.dataAccept}}else{this.internalAccepts=[]}}filesChanged(){if(this.files.length>0){for(let e=0;e<this.files.length;e++){if(this.internalAccepts.length>0){this.validationFiles(this.files[e],e)}}}}formatErrorChanged(e){if(e){this.error=d(this.language,"formatError");setTimeout((()=>this.error=null),5e3)}}componentWillLoad(){this.dataAcceptChanged()}componentDidLoad(){["dragenter","dragover","dragleave","drop"].forEach((e=>{this.dropArea.shadowRoot.addEventListener(e,this.preventDefaults,false);this.dropArea.shadowRoot.addEventListener(e,(()=>this.hoverFile(true)),false)}));["dragenter","dragover"].forEach((e=>{this.dropArea.shadowRoot.addEventListener(e,(()=>this.preventDefaults),false);this.dropArea.shadowRoot.addEventListener(e,(()=>this.hoverFile(true)),false)}));["dragleave","drop"].forEach((e=>{this.dropArea.shadowRoot.addEventListener(e,(()=>this.preventDefaults),false);this.dropArea.shadowRoot.addEventListener(e,(()=>this.hoverFile(false)),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)}preventDefaults(e){e.preventDefault();e.stopPropagation()}hoverFile(e){this.hover=e}onUploadClick(e){if(e.length>0){if(!this.multiple){this.files=[e[0]]}else{this.files=[...this.files,...e]}this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit({value:this.files})}getSize(){this.files.map((e=>{const t=e.size;this.size.push(t)}))}async deleteFile(e){const t=this.files.filter(((t,i)=>i==e&&t));this.bdsUploadDelete.emit({value:t});this.files.splice(e,1);this.files=[...this.files];if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files})}async deleteAllFiles(){this.bdsUploadDelete.emit({value:this.files});this.files=[];if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files})}handleKeyDown(e){if(e.key=="Enter"){this.inputElement.click()}}render(){return i("div",{key:"ccfba8b5b8058523952eff92e900b2e47da5e92a",class:"upload"},i("div",{key:"25eda2ed313d45de310ab10de5979320dd7aefec",class:"upload-header"},i("bds-icon",{key:"a9c42f7946d9c7064e7f31dc0f91cfd048ca097c",class:"upload-header_icon",size:"xxx-large",name:"upload"}),i("div",{key:"c6522a2041be447f5de60ffce89be29d39540f72",class:"upload-header_text"},i("bds-typo",{key:"a1e06d14038dba1721b7c6aecee005abd1bc4f0e",variant:"fs-16",bold:"bold","aria-label":this.titleName},this.titleName),i("bds-typo",{key:"3b0e1f414998de7b965a5a4c728827fa3e4a8f19",variant:"fs-14",bold:"regular","aria-label":this.subtitle},this.subtitle))),this.error?i("bds-banner",{context:"inside",variant:"error","aria-label":this.error},this.error):"",this.haveFiles&&this.showListPreview?i("div",null,i("div",{class:"list-preview"},this.files.map(((e,t)=>i("div",{class:"upload__preview",key:t,id:"drop-area"},i("div",{class:"preview",id:"preview"},i("bds-icon",{size:"x-small",name:"attach"}),i("p",{class:"preview-text",id:"preview-text","aria-label":e.name},e.name),i("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:()=>this.deleteFile(t),"aria-label":`delete ${e.name}`,"data-test":`${this.dtButtonDelete}-${t}`})))))),this.multiple?i("bds-typo",{variant:"fs-14",italic:true,class:"preview-length","aria-label":d(this.language,"uploaded")},this.files.length>1?`${this.files.length} ${d(this.language,"uploaded")}`:""):""):"",i("div",{key:"3116869b9d53a13c322c3baba0174328275f82ec",class:{upload__edit:true}},i("label",{key:"817ed8632d61d6eed99138712332837a0022e472",class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file","data-test":this.dtLabelAddFile,tabindex:"0",onKeyDown:this.handleKeyDown.bind(this)},i("div",{key:"d9c48b3a07b587833bcea0f56cbeb33fa86e78dd",class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropHere")},d(this.language,"dropHere")):i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropOrClick")},d(this.language,"dropOrClick"))),i("img",{key:"095f9651ce324e2b66f16a10dd9cc3f9f9bf1142",class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:r("asset-component-upload-pattern")})),i("input",{key:"da8d39b6ca9c122f66b41c33ec6c251518ad74f3",ref:this.refInputElement,type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.internalAccepts.length>0?this.internalAccepts.toString():this.accept,onChange:e=>this.onUploadClick(e.target.files),"data-test":this.dtInputFiles})))}get dropArea(){return a(this)}static get watchers(){return{dataAccept:["dataAcceptChanged"],files:["filesChanged"],formatError:["formatErrorChanged"]}}};c.style=n;export{c as bds_upload};
|
|
2
|
+
//# sourceMappingURL=p-3a68dab4.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as e,H as s,a as o}from"./p-gowA9FoV.js";const r=".sc-bds-table-body-h{display:table-row-group;height:64px}.multiple.sc-bds-table-body-h{border-bottom:1px solid var(--color-border-2, rgba(0, 0, 0, 0.16))}.sc-bds-table-body-h:last-child{border-bottom:none}";const b=class{constructor(e){t(this,e);this.multipleRows=false}componentWillLoad(){const t=this.element.closest("bds-table");if(t&&(t.getAttribute("collapse")==="true"||t.collapse===true)){this.multipleRows=true}}render(){return e(s,{key:"81c3774f7076335a6bcd5ff8449794d58c3c12e5",class:{host:true,multiple:this.multipleRows}},e("slot",{key:"5d75e68693711ce87d3b0e6f31c3677c71bdcabf"}))}get element(){return o(this)}};b.style=r;export{b as bds_table_body};
|
|
2
|
+
//# sourceMappingURL=p-3bc15759.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as o,h as t}from"./p-gowA9FoV.js";const c=".modal__close__button-icon{opacity:0;visibility:hidden;color:var(--color-content-default, rgb(40, 40, 40));display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:16px}.modal__close__button-icon--active{opacity:1;visibility:visible}";const i=class{constructor(t){o(this,t);this.active=true}render(){return t("div",{key:"662240b4cd2f01292d78bb66168ca174db8cb92f",class:{"modal__close__button-icon":true,"modal__close__button-icon--active":this.active}},t("bds-icon",{key:"a1afff112a51924d20d772c901651698f1f03cff",size:"medium",name:"close"}))}};i.style=c;export{i as bds_modal_close_button};
|
|
2
|
+
//# sourceMappingURL=p-3d616e94.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./p-CD9MMdoC.system.js","./p-8qSXmVwO.system.js"],(function(t){"use strict";var i,e,o,r,n,s;return{setters:[function(t){i=t.r;e=t.c;o=t.h;r=t.a},function(t){n=t.c;s=t.p}],execute:function(){var a=':host{display:block}.element_input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%}.element_input input{-webkit-box-shadow:inherit;box-shadow:inherit}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-moz-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input:-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;padding:8px 4px 8px 12px;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;gap:8px}.input .bds-icon{position:relative;z-index:1}.input--state-primary{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary .input__icon{position:relative}.input--state-primary .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input--state-primary:hover{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary.input--pressed{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235));box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235))}.input--state-primary.input--pressed .input__icon .bds-icon{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-primary .input__container__label--pressed bds-typo{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__text{caret-color:var(--color-primary, rgb(30, 107, 241));color:var(--color-content-default, rgb(40, 40, 40))}.input--state-danger{border:1px solid var(--color-delete, rgb(230, 15, 15));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger .input__icon{position:relative}.input--state-danger .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-negative, rgb(138, 0, 0));z-index:0;opacity:50%;border-radius:8px}.input--state-danger:hover{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger.input--pressed{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190));box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190))}.input--state-danger.input--pressed .input__icon .bds-icon{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__label{color:var(--color-delete, rgb(230, 15, 15))}.input--state-danger .input__container__label--pressed bds-typo{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__text{caret-color:var(--color-negative, #e60f0f);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success .input__icon{position:relative}.input--state-success .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-positive, rgb(1, 114, 62));z-index:0;border-radius:8px}.input--state-success:hover{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success.input--pressed{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188));box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188))}.input--state-success.input--pressed .input__icon .bds-icon{color:var(--color-positive, #10603b)}.input--state-success .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success .input__container__label--pressed bds-typo{color:var(--color-positive, #10603b)}.input--state-success .input__container__text{caret-color:var(--color-positive, #10603b);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-disabled{opacity:50%;pointer-events:none;cursor:not-allowed}.input--state-disabled .input__icon{position:relative}.input--state-disabled .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input .icon-success{color:var(--color-positive, #10603b);margin-left:4px}.input--label{padding:7px 4px 7px 12px}.input__icon{cursor:inherit;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:8px;padding:2px}.input__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;width:100%}.input__container__wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.input__container__wrapper__chips{display:inline;max-height:100px;overflow:auto}.input__container__wrapper__chips::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__wrapper__chips::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__container__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input__container__text{display:inline-block;margin:0;border:0;padding:0;width:auto;vertical-align:middle;white-space:normal;line-height:inherit;background:none;color:inherit;font-size:inherit;font-family:inherit;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;line-height:150%;width:100%;line-height:22px;resize:none;cursor:inherit}.input__container__text:focus{outline:0}.input__container__text::-webkit-file-upload-button{padding:0;border:0;background:none}.input__container__text:focus{outline:0}.input__container__text[type=checkbox],.input__container__text[type=radio]{width:13px;height:13px}.input__container__text[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box}::-webkit-search-decoration{display:none}.input__container__text[type=reset],.input__container__text[type=button],.input__container__text[type=submit]{overflow:visible}.input__container__text::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__text::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__message{display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;height:20px;margin:3.7px 2.5px;-webkit-transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);color:var(--color-content-ghost, rgb(140, 140, 140));word-break:break-word;height:auto;min-height:20px}.input__message bds-typo{margin-top:0px;-ms-flex-item-align:self-start;align-self:self-start}.input__message__icon{display:-ms-flexbox;display:flex;padding-right:4px;margin-top:0px;padding-top:2px}.input__message--danger .bds-icon{color:var(--color-negative, #e60f0f)}.input__message--danger .input__message__text{color:var(--color-negative, #e60f0f)}.input__message--success .input__message__icon .bds-icon{color:var(--color-positive, #10603b)}.input__message--success .input__message__text{color:var(--color-content-default, rgb(40, 40, 40))}.select{position:relative;outline:none}.select__icon{color:var(--color-content-ghost, rgb(140, 140, 140));display:-ms-flexbox;display:flex}.select__options{background:var(--color-surface-0, rgb(255, 255, 255));width:100%;max-height:200px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:absolute;left:0;border-radius:8px;-webkit-box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));overflow-y:auto;z-index:2;pointer-events:none;opacity:0}.select__options::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.select__options::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.select__options--open{opacity:1;pointer-events:auto}.select__options--position-top{bottom:calc(100% + 4px)}.select__options--position-bottom{top:calc(100% + 4px)}.inside-input-left{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:200px;overflow-y:auto}.inside-input-left::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.inside-input-left::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input-chips__chip{margin:2px 4px 2px 0px}.input-chips__chips{-ms-flex:1;flex:1}';var c=t("bds_select",function(){function t(t){var o=this;i(this,t);this.bdsChange=e(this,"bdsChange");this.bdsCancel=e(this,"bdsCancel");this.bdsFocus=e(this,"bdsFocus");this.bdsBlur=e(this,"bdsBlur");this.intoView=null;this.isOpen=false;this.text="";this.validationDanger=false;this.isPressed=false;this.validationMesage="";this.danger=false;this.success=false;this.disabled=false;this.label="";this.icon="";this.placeholder="";this.helperMessage="";this.errorMessage="";this.successMessage="";this.optionsPosition="auto";this.dataTest=null;this.refNativeInput=function(t){o.nativeInput=t};this.refDropdown=function(t){o.dropElement=t};this.refIconDrop=function(t){o.iconDropElement=t};this.onClickWrapper=function(){o.onFocus();o.isOpen=true;if(o.nativeInput){o.nativeInput.focus()}};this.onFocus=function(){o.bdsFocus.emit();o.isPressed=true};this.onBlur=function(){o.bdsBlur.emit();o.isPressed=false};this.toggle=function(){if(!o.disabled){o.isOpen=!o.isOpen}};this.getText=function(t){var i;var e=o.childOptions.find((function(i){return i.value==t}));if(o.internalOptions){var r=o.internalOptions.find((function(t){return t.value==(e===null||e===void 0?void 0:e.value)}));if(r){return r.titleText?r.titleText:r.label}}return(e===null||e===void 0?void 0:e.titleText)?e===null||e===void 0?void 0:e.titleText:(i=e===null||e===void 0?void 0:e.innerText)!==null&&i!==void 0?i:""};this.handler=function(t){var i=t.detail.value;o.value=i;o.toggle()}}t.prototype.isOpenChanged=function(t){if(this.positionHeightDrop=="bottom"){this.iconDropElement.name=this.isOpen?"arrow-up":"arrow-down"}else{this.iconDropElement.name=this.isOpen?"arrow-down":"arrow-up"}if(t)if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}};t.prototype.valueChanged=function(){this.bdsChange.emit({value:this.value});for(var t=0,i=this.childOptions;t<i.length;t++){var e=i[t];e.selected=this.value===e.value}this.text=this.getText(this.value)};t.prototype.handleWindow=function(t){var i=this;var e=t.composedPath();if(!e.find((function(t){return t==i.el}))){this.isOpen=false}};t.prototype.componentWillLoad=function(){this.options&&this.optionsChanged();this.intoView=n(this.el)};t.prototype.componentWillRender=function(){this.options&&this.updateOptions();this.getValueSelected()};t.prototype.componentDidLoad=function(){this.getValueSelected();if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}};t.prototype.setDefaultPlacement=function(t){if(t=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.validatePositionDrop=function(){var t=s({actionElement:this.el,changedElement:this.dropElement,intoView:this.intoView});this.positionHeightDrop=t.y;if(t.y=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.optionsChanged=function(){this.updateOptions()};t.prototype.getValueSelected=function(){for(var t=0,i=this.childOptions;t<i.length;t++){var e=i[t];e.selected=this.value===e.value;e.addEventListener("optionSelected",this.handler)}this.text=this.getText(this.value)};t.prototype.updateOptions=function(){if(this.options){if(typeof this.options==="string"){this.internalOptions=JSON.parse(this.options)}else{this.internalOptions=this.options}}};Object.defineProperty(t.prototype,"childOptions",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option")):Array.from(this.el.querySelectorAll("bds-select-option"))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"childOptionSelected",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option")).find((function(t){return t.selected})):Array.from(this.el.querySelectorAll("bds-select-option")).find((function(t){return t.selected}))},enumerable:false,configurable:true});t.prototype.keyPressWrapper=function(t){var i,e,o,r;switch(t.key){case"Enter":this.toggle();break;case"ArrowDown":if(!this.disabled){this.isOpen=true}if(this.childOptionSelected){this.value=(i=this.childOptionSelected.nextSibling)===null||i===void 0?void 0:i.value;return}this.value=(e=this.el.firstElementChild)===null||e===void 0?void 0:e.value;break;case"ArrowUp":if(this.childOptionSelected){this.value=(o=this.childOptionSelected.previousSibling)===null||o===void 0?void 0:o.value;return}this.value=(r=this.el.lastElementChild)===null||r===void 0?void 0:r.value;break}};t.prototype.renderIcon=function(){return this.icon&&o("div",{class:{input__icon:true,"input__icon--large":!!this.label}},o("bds-icon",{size:this.label?"medium":"small",name:this.icon,color:"inherit"}))};t.prototype.renderLabel=function(){return this.label&&o("label",{class:{input__container__label:true,"input__container__label--pressed":this.isPressed&&!this.disabled}},o("bds-typo",{variant:"fs-12",bold:"bold"},this.label))};t.prototype.renderMessage=function(){var t=this.danger?"error":this.success?"checkball":"info";var i=this.danger?this.errorMessage:this.success?this.successMessage:this.helperMessage;if(!i&&this.validationDanger)i=this.validationMesage;var e=this.danger||this.validationDanger?"input__message input__message--danger":this.success?"input__message input__message--success":"input__message";if(i){return o("div",{class:e,part:"input__message"},o("div",{class:"input__message__icon"},o("bds-icon",{size:"x-small",name:t,theme:"outline",color:"inherit"})),o("bds-typo",{class:"input__message__text",variant:"fs-12"},i))}return undefined};t.prototype.render=function(){var t=this;var i=this.isPressed&&!this.disabled;return o("div",{key:"d7730cb76798ada0a4e9f940360bbb8082210abd",class:"select"},o("div",{key:"9ab70776d9269eaa4d2633c91aac529130f52164",class:{element_input:true},"aria-disabled":this.disabled?"true":null},o("div",{key:"cf0297b6dc91116e452a5ecb5b554b3ec258777e",class:{input:true,"input--state-primary":!this.danger&&!this.validationDanger,"input--state-danger":this.danger||this.validationDanger,"input--state-success":this.success,"input--state-disabled":this.disabled,"input--label":!!this.label,"input--pressed":i},onClick:this.onClickWrapper,part:"input-container"},this.renderIcon(),o("div",{key:"14186d2e5c468715e18fc07d23ebd63d7ec7a58d",class:"input__container"},this.renderLabel(),o("div",{key:"892aaa4d448c718b39884558e9165547bfdb78ae",class:{input__container__wrapper:true}},o("input",{key:"6ab4560f369787642d72933b227b319c213b2a6f",ref:this.refNativeInput,class:{input__container__text:true},onFocus:this.onFocus,onBlur:this.onBlur,value:this.text,disabled:this.disabled,placeholder:this.placeholder,readonly:true,"data-test":this.dataTest,onKeyDown:this.keyPressWrapper.bind(this)}))),o("div",{key:"ed16f046df88e1dee7b48dac58169124f1d266fd",class:"select__icon"},o("bds-icon",{key:"7a17db07d08864c1c795d5968a79f8ec371254a5",ref:function(i){return t.refIconDrop(i)},size:"small",color:"inherit"})),this.success&&o("bds-icon",{key:"5671081a9076d85576405dc153762199e71df1fe",class:"icon-success",name:"check",theme:"outline",size:"xxx-small"})),this.renderMessage()),o("div",{key:"0c04d519e7c50413099da01e1bf69cb52b67b6af",ref:function(i){return t.refDropdown(i)},class:{select__options:true,"select__options--open":this.isOpen},role:"application"},this.internalOptions?this.internalOptions.map((function(t,i){return t.icon||t.titleText?o("bds-select-option",{key:i,value:t.value,"title-text":t.titleText,"slot-align":t.slotAlign,bulkOption:t.bulkOption,status:t.status},t.icon&&o("bds-icon",{slot:"input-left",name:t.icon,size:"medium",color:t.iconColor}),t.label):o("bds-select-option",{key:i,value:t.value,bulkOption:t.bulkOption,status:t.status},t.label)})):o("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["isOpenChanged"],value:["valueChanged"],options:["optionsChanged"]}},enumerable:false,configurable:true});return t}());c.style=a}}}));
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
System.register(["./p-CD9MMdoC.system.js","./p-8qSXmVwO.system.js"],(function(t){"use strict";var i,e,o,r,n,s;return{setters:[function(t){i=t.r;e=t.c;o=t.h;r=t.a},function(t){n=t.c;s=t.p}],execute:function(){var a=':host{display:block}.element_input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%}.element_input input{-webkit-box-shadow:inherit;box-shadow:inherit}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-moz-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input:-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-ms-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.element_input input::-webkit-input-placeholder{color:var(--color-content-ghost, rgb(140, 140, 140));opacity:1}.input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;padding:8px 4px 8px 12px;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;gap:8px}.input .bds-icon{position:relative;z-index:1}.input--state-primary{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary .input__icon{position:relative}.input--state-primary .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input--state-primary:hover{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-primary.input--pressed{border:1px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235));box-shadow:0 0 0 2px var(--color-info, rgb(128, 227, 235))}.input--state-primary.input--pressed .input__icon .bds-icon{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-primary .input__container__label--pressed bds-typo{color:var(--color-primary, rgb(30, 107, 241))}.input--state-primary .input__container__text{caret-color:var(--color-primary, rgb(30, 107, 241));color:var(--color-content-default, rgb(40, 40, 40))}.input--state-danger{border:1px solid var(--color-delete, rgb(230, 15, 15));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger .input__icon{position:relative}.input--state-danger .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-negative, rgb(138, 0, 0));z-index:0;opacity:50%;border-radius:8px}.input--state-danger:hover{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-danger.input--pressed{border:1px solid var(--color-negative, #e60f0f);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190));box-shadow:0 0 0 2px var(--color-error, rgb(250, 190, 190))}.input--state-danger.input--pressed .input__icon .bds-icon{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__label{color:var(--color-delete, rgb(230, 15, 15))}.input--state-danger .input__container__label--pressed bds-typo{color:var(--color-negative, #e60f0f)}.input--state-danger .input__container__text{caret-color:var(--color-negative, #e60f0f);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success{border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success .input__icon{position:relative}.input--state-success .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-surface-positive, rgb(1, 114, 62));z-index:0;border-radius:8px}.input--state-success:hover{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.input--state-success.input--pressed{border:1px solid var(--color-positive, #10603b);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188));box-shadow:0 0 0 2px var(--color-success, rgb(132, 235, 188))}.input--state-success.input--pressed .input__icon .bds-icon{color:var(--color-positive, #10603b)}.input--state-success .input__container__label{color:var(--color-content-default, rgb(40, 40, 40))}.input--state-success .input__container__label--pressed bds-typo{color:var(--color-positive, #10603b)}.input--state-success .input__container__text{caret-color:var(--color-positive, #10603b);color:var(--color-content-default, rgb(40, 40, 40))}.input--state-disabled{opacity:50%;pointer-events:none;cursor:not-allowed}.input--state-disabled .input__icon{position:relative}.input--state-disabled .input__icon::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-hover, rgba(0, 0, 0, 0.08));z-index:0;opacity:50%;border-radius:8px}.input .icon-success{color:var(--color-positive, #10603b);margin-left:4px}.input--label{padding:7px 4px 7px 12px}.input__icon{cursor:inherit;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:8px;padding:2px}.input__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;width:100%}.input__container__wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.input__container__wrapper__chips{display:inline;max-height:100px;overflow:auto}.input__container__wrapper__chips::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__wrapper__chips::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__container__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input__container__text{display:inline-block;margin:0;border:0;padding:0;width:auto;vertical-align:middle;white-space:normal;line-height:inherit;background:none;color:inherit;font-size:inherit;font-family:inherit;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;line-height:150%;width:100%;line-height:22px;resize:none;cursor:inherit}.input__container__text:focus{outline:0}.input__container__text::-webkit-file-upload-button{padding:0;border:0;background:none}.input__container__text:focus{outline:0}.input__container__text[type=checkbox],.input__container__text[type=radio]{width:13px;height:13px}.input__container__text[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box}::-webkit-search-decoration{display:none}.input__container__text[type=reset],.input__container__text[type=button],.input__container__text[type=submit]{overflow:visible}.input__container__text::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.input__container__text::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input__message{display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;height:20px;margin:3.7px 2.5px;-webkit-transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s cubic-bezier(0.4, 0, 0.2, 1);color:var(--color-content-ghost, rgb(140, 140, 140));word-break:break-word;height:auto;min-height:20px}.input__message bds-typo{margin-top:0px;-ms-flex-item-align:self-start;align-self:self-start}.input__message__icon{display:-ms-flexbox;display:flex;padding-right:4px;margin-top:0px;padding-top:2px}.input__message--danger .bds-icon{color:var(--color-negative, #e60f0f)}.input__message--danger .input__message__text{color:var(--color-negative, #e60f0f)}.input__message--success .input__message__icon .bds-icon{color:var(--color-positive, #10603b)}.input__message--success .input__message__text{color:var(--color-content-default, rgb(40, 40, 40))}.select{position:relative;outline:none}.select__icon{color:var(--color-content-ghost, rgb(140, 140, 140));display:-ms-flexbox;display:flex}.select__options{background:var(--color-surface-0, rgb(255, 255, 255));width:100%;max-height:200px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:absolute;left:0;border-radius:8px;-webkit-box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));overflow-y:auto;z-index:2;pointer-events:none;opacity:0}.select__options::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.select__options::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.select__options--open{opacity:1;pointer-events:auto}.select__options--position-top{bottom:calc(100% + 4px)}.select__options--position-bottom{top:calc(100% + 4px)}.inside-input-left{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:200px;overflow-y:auto}.inside-input-left::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.inside-input-left::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.input-chips__chip{margin:2px 4px 2px 0px}.input-chips__chips{-ms-flex:1;flex:1}';var c=t("bds_select",function(){function t(t){var o=this;i(this,t);this.bdsChange=e(this,"bdsChange");this.bdsCancel=e(this,"bdsCancel");this.bdsFocus=e(this,"bdsFocus");this.bdsBlur=e(this,"bdsBlur");this.intoView=null;this.isOpen=false;this.text="";this.validationDanger=false;this.isPressed=false;this.validationMesage="";this.danger=false;this.success=false;this.disabled=false;this.label="";this.icon="";this.placeholder="";this.helperMessage="";this.errorMessage="";this.successMessage="";this.optionsPosition="auto";this.dataTest=null;this.refNativeInput=function(t){o.nativeInput=t};this.refDropdown=function(t){o.dropElement=t};this.refIconDrop=function(t){o.iconDropElement=t};this.onClickWrapper=function(){o.onFocus();o.isOpen=true;if(o.nativeInput){o.nativeInput.focus()}};this.onFocus=function(){o.bdsFocus.emit();o.isPressed=true};this.onBlur=function(){o.bdsBlur.emit();o.isPressed=false};this.toggle=function(){if(!o.disabled){o.isOpen=!o.isOpen}};this.getText=function(t){var i;var e=o.childOptions.find((function(i){return i.value==t}));if(o.internalOptions){var r=o.internalOptions.find((function(t){return t.value==(e===null||e===void 0?void 0:e.value)}));if(r){return r.titleText?r.titleText:r.label}}return(e===null||e===void 0?void 0:e.titleText)?e===null||e===void 0?void 0:e.titleText:(i=e===null||e===void 0?void 0:e.innerText)!==null&&i!==void 0?i:""};this.handler=function(t){var i=t.detail.value;o.value=i;o.toggle()}}t.prototype.isOpenChanged=function(t){if(this.positionHeightDrop=="bottom"){this.iconDropElement.name=this.isOpen?"arrow-up":"arrow-down"}else{this.iconDropElement.name=this.isOpen?"arrow-down":"arrow-up"}if(t)if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}};t.prototype.valueChanged=function(){this.bdsChange.emit({value:this.value});for(var t=0,i=this.childOptions;t<i.length;t++){var e=i[t];e.selected=this.value===e.value}this.text=this.getText(this.value)};t.prototype.handleWindow=function(t){var i=this;var e=t.composedPath();if(!e.find((function(t){return t==i.el}))){this.isOpen=false}};t.prototype.componentWillLoad=function(){this.options&&this.optionsChanged();this.intoView=n(this.el)};t.prototype.componentWillRender=function(){this.options&&this.updateOptions();this.getValueSelected()};t.prototype.componentDidLoad=function(){this.getValueSelected();if(this.optionsPosition!="auto"){this.setDefaultPlacement(this.optionsPosition)}else{this.validatePositionDrop()}};t.prototype.setDefaultPlacement=function(t){if(t=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.validatePositionDrop=function(){var t=s({actionElement:this.el,changedElement:this.dropElement,intoView:this.intoView});this.positionHeightDrop=t.y;if(t.y=="bottom"){this.dropElement.classList.add("select__options--position-bottom");this.iconDropElement.name="arrow-down"}else{this.dropElement.classList.add("select__options--position-top");this.iconDropElement.name="arrow-up"}};t.prototype.optionsChanged=function(){this.updateOptions()};t.prototype.getValueSelected=function(){for(var t=0,i=this.childOptions;t<i.length;t++){var e=i[t];e.selected=this.value===e.value;e.addEventListener("optionSelected",this.handler)}this.text=this.getText(this.value)};t.prototype.updateOptions=function(){if(this.options){if(typeof this.options==="string"){this.internalOptions=JSON.parse(this.options)}else{this.internalOptions=this.options}}};Object.defineProperty(t.prototype,"childOptions",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option")):Array.from(this.el.querySelectorAll("bds-select-option"))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"childOptionSelected",{get:function(){return this.options?Array.from(this.el.shadowRoot.querySelectorAll("bds-select-option")).find((function(t){return t.selected})):Array.from(this.el.querySelectorAll("bds-select-option")).find((function(t){return t.selected}))},enumerable:false,configurable:true});t.prototype.keyPressWrapper=function(t){var i,e,o,r;switch(t.key){case"Enter":this.toggle();break;case"ArrowDown":if(!this.disabled){this.isOpen=true}if(this.childOptionSelected){this.value=(i=this.childOptionSelected.nextSibling)===null||i===void 0?void 0:i.value;return}this.value=(e=this.el.firstElementChild)===null||e===void 0?void 0:e.value;break;case"ArrowUp":if(this.childOptionSelected){this.value=(o=this.childOptionSelected.previousSibling)===null||o===void 0?void 0:o.value;return}this.value=(r=this.el.lastElementChild)===null||r===void 0?void 0:r.value;break}};t.prototype.renderIcon=function(){return this.icon&&o("div",{class:{input__icon:true,"input__icon--large":!!this.label}},o("bds-icon",{size:this.label?"medium":"small",name:this.icon,color:"inherit"}))};t.prototype.renderLabel=function(){return this.label&&o("label",{class:{input__container__label:true,"input__container__label--pressed":this.isPressed&&!this.disabled}},o("bds-typo",{variant:"fs-12",bold:"bold"},this.label))};t.prototype.renderMessage=function(){var t=this.danger?"error":this.success?"checkball":"info";var i=this.danger?this.errorMessage:this.success?this.successMessage:this.helperMessage;if(!i&&this.validationDanger)i=this.validationMesage;var e=this.danger||this.validationDanger?"input__message input__message--danger":this.success?"input__message input__message--success":"input__message";if(i){return o("div",{class:e,part:"input__message"},o("div",{class:"input__message__icon"},o("bds-icon",{size:"x-small",name:t,theme:"outline",color:"inherit"})),o("bds-typo",{class:"input__message__text",variant:"fs-12"},i))}return undefined};t.prototype.render=function(){var t=this;var i=this.isPressed&&!this.disabled;return o("div",{key:"91f5fd313e89107ac41c0d3d284d043031b06a4d",class:"select"},o("div",{key:"896285e36af7b3b6710a417d9dee40b32be833bd",class:{element_input:true},"aria-disabled":this.disabled?"true":null},o("div",{key:"8ae47edfcdf78f4530c95bf239edf9519333ee19",class:{input:true,"input--state-primary":!this.danger&&!this.validationDanger,"input--state-danger":this.danger||this.validationDanger,"input--state-success":this.success,"input--state-disabled":this.disabled,"input--label":!!this.label,"input--pressed":i},onClick:this.onClickWrapper,part:"input-container"},this.renderIcon(),o("div",{key:"e044b7ffd4bb8be8af6f77e68f8813d235bb7f29",class:"input__container"},this.renderLabel(),o("div",{key:"f793e8ecc167eb4b6f1d6546c2166689e9e3b4e4",class:{input__container__wrapper:true}},o("input",{key:"fc8414ab2a97e61bed4471ade1abc3951cba52ad",ref:this.refNativeInput,class:{input__container__text:true},onFocus:this.onFocus,onBlur:this.onBlur,value:this.text,disabled:this.disabled,placeholder:this.placeholder,readonly:true,"data-test":this.dataTest,onKeyDown:this.keyPressWrapper.bind(this)}))),o("div",{key:"646e9d62ca466fee54a13b0b17aa673f349f1e1a",class:"select__icon"},o("bds-icon",{key:"38c4b508118c98cbd236bd642675ea184486a772",ref:function(i){return t.refIconDrop(i)},size:"small",color:"inherit"})),this.success&&o("bds-icon",{key:"289fc651f8301f7844cd413530eac5e8beedde2f",class:"icon-success",name:"check",theme:"outline",size:"xxx-small"})),this.renderMessage()),o("div",{key:"190dcae3a0344f25b19cdf7af273cdc0ee3d426e",ref:function(i){return t.refDropdown(i)},class:{select__options:true,"select__options--open":this.isOpen},role:"application"},this.internalOptions?this.internalOptions.map((function(t,i){return t.icon||t.titleText?o("bds-select-option",{key:i,value:t.value,"title-text":t.titleText,"slot-align":t.slotAlign,bulkOption:t.bulkOption,status:t.status},t.icon&&o("bds-icon",{slot:"input-left",name:t.icon,size:"medium",color:t.iconColor}),t.label):o("bds-select-option",{key:i,value:t.value,bulkOption:t.bulkOption,status:t.status},t.label)})):o("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["isOpenChanged"],value:["valueChanged"],options:["optionsChanged"]}},enumerable:false,configurable:true});return t}());c.style=a}}}));
|
|
2
|
+
//# sourceMappingURL=p-3e2a6a67.system.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as e,h as a,H as s}from"./p-gowA9FoV.js";const f=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header{width:70px;padding-right:6px}";const t=class{constructor(a){e(this,a)}render(){return a(s,{key:"04a98b50bf4a814424f5be0fe20611cf4b39557f"},a("div",{key:"5116a99ce2121db25f5f53b8301df9c5c9a99a17",class:"header"},a("slot",{key:"e0a77242ee41cb0fc84bddde97c2325858bf4b7f"})),a("bds-typo",{key:"6a0caf8897b2f7552e96b2046f55a761779ec179",tag:"p",variant:"fs-12"},this.text))}};t.style=f;export{t as bds_expansion_panel_header};
|
|
2
|
+
//# sourceMappingURL=p-3e4d0240.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as o,h as i,a as s}from"./p-gowA9FoV.js";const a=':host .show,:host .hide{display:-ms-flexbox;display:flex}:host .show{opacity:1}:host .show--top-right,:host .show--bottom-right{-webkit-animation:toastAnimationFadeInFromRight 1s;animation:toastAnimationFadeInFromRight 1s}:host .show--top-left,:host .show--bottom-left{-webkit-animation:toastAnimationFadeInFromLeft 1s;animation:toastAnimationFadeInFromLeft 1s}:host .hide{-webkit-transition:all 1s;transition:all 1s;-webkit-animation:toastAnimationFadeOut 0.5s;animation:toastAnimationFadeOut 0.5s}.toast{display:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));color:var(--color-content-default, rgb(40, 40, 40));opacity:0;margin-top:16px;overflow:hidden;gap:16px}.toast--action--icon{min-width:440px;max-width:440px;padding:8px 16px}.toast--action--icon bds-icon-button{height:32px}@media (max-width: 780px){.toast--action--icon{min-width:220px;width:95%;margin:16px auto 0px auto}}.toast--action--button{min-width:440px;max-width:456px;padding:8px 16px}@media (max-width: 780px){.toast--action--button{min-width:220px;width:95%;margin:16px auto 0px auto}}.toast--system{background:var(--color-system, rgb(178, 223, 253))}.toast--error{background:var(--color-error, rgb(250, 190, 190))}.toast--success{background:var(--color-success, rgb(132, 235, 188))}.toast--warning{background:var(--color-warning, rgb(253, 233, 155))}.toast--undo{background-color:var(--color-system, rgb(178, 223, 253))}.toast--redo{background-color:var(--color-system, rgb(178, 223, 253))}.toast--notification{background-color:var(--color-surface-1, rgb(246, 246, 246))}.toast__icon{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:8px 0}.toast__ballon{display:-ms-flexbox;display:flex;position:absolute;top:-8px;left:-12px;color:var(--color-system, rgb(178, 223, 253));width:72px}.toast__content{position:relative;height:100%;width:100%;-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:8px 0}.toast__action{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.toast__action bds-button-icon,.toast__action bds-button{position:relative}.toast__action bds-button-icon::before,.toast__action bds-button::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.toast__action bds-button-icon:focus-visible,.toast__action bds-button:focus-visible{outline:none}.toast__action bds-button-icon:focus-visible::before,.toast__action bds-button:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.toast__action__button{white-space:nowrap}@-webkit-keyframes toastAnimationFadeInFromRight{0%{opacity:0;right:-200px}50%{opacity:0.9;right:1px}100%{opacity:1}}@keyframes toastAnimationFadeInFromRight{0%{opacity:0;right:-200px}50%{opacity:0.9;right:1px}100%{opacity:1}}@-webkit-keyframes toastAnimationFadeInFromLeft{0%{opacity:0;left:-200px}50%{opacity:0.9;left:1px}100%{opacity:1}}@keyframes toastAnimationFadeInFromLeft{0%{opacity:0;left:-200px}50%{opacity:0.9;left:1px}100%{opacity:1}}@-webkit-keyframes toastAnimationFadeOut{0%{opacity:1}30%{max-height:60px}80%{opacity:0;max-height:30px}100%{max-height:0px}}@keyframes toastAnimationFadeOut{0%{opacity:1}30%{max-height:60px}80%{opacity:0;max-height:30px}100%{max-height:0px}}';const e=class{constructor(i){t(this,i);this.toastButtonClick=o(this,"toastButtonClick");this.icon=null;this.actionType="button";this.variant="system";this.duration=0;this.buttonAction="close";this.show=false;this.hide=false;this.position="bottom-left";this.dtButtonAction=null;this.dtButtonClose=null;this._buttonClickHandler=()=>{if(this.buttonAction==="close")this.close();else{this.toastButtonClick.emit(this.el);this.close()}};this.mapIconName={system:"bell",error:"error",success:"like",warning:"attention",undo:"undo",redo:"redo",notification:"notification"}}_keyPressHandler(t){if(t.key==="Enter"||t.key===" "){t.preventDefault();if(this.buttonAction==="close")this.close();else{this.toastButtonClick.emit(this.el);this.close()}}}async create({actionType:t,buttonAction:o,buttonText:i,icon:s,toastText:a,toastTitle:e,variant:n,duration:r}){let c=document.querySelector(`bds-toast-container.${n==="notification"?"top-right":"bottom-left"}`);if(c){c.appendChild(this.el);c.classList.add(n==="notification"?"top-right":"bottom-left")}else{c=document.createElement("bds-toast-container");c.classList.add(n==="notification"?"top-right":"bottom-left");document.body.appendChild(c);c.appendChild(this.el)}this.el.actionType=t||"button";this.el.buttonAction=o||"close";this.el.buttonText=i;this.el.toastText=a;this.el.toastTitle=e;this.el.variant=n||"system";this.el.duration=r*1e3||0;this.el.position=n==="notification"?"top-right":"bottom-left";this.el.icon=s!==null&&s!==void 0?s:this.mapIconName[this.variant];this.el.show=true;if(this.el.duration>0){setTimeout((()=>{this.el.hide=true;setTimeout((()=>{this.el.remove()}),400)}),this.el.duration)}}async close(){if(this.el.shadowRoot){this.el.shadowRoot.querySelector("div").classList.remove("show");this.el.shadowRoot.querySelector("div").classList.add("hide")}else{this.el.querySelector("div").classList.remove("show");this.el.querySelector("div").classList.add("hide")}setTimeout((()=>{this.el.remove()}),400)}render(){return i("div",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as o,h as i,a as s}from"./p-gowA9FoV.js";const a=':host .show,:host .hide{display:-ms-flexbox;display:flex}:host .show{opacity:1}:host .show--top-right,:host .show--bottom-right{-webkit-animation:toastAnimationFadeInFromRight 1s;animation:toastAnimationFadeInFromRight 1s}:host .show--top-left,:host .show--bottom-left{-webkit-animation:toastAnimationFadeInFromLeft 1s;animation:toastAnimationFadeInFromLeft 1s}:host .hide{-webkit-transition:all 1s;transition:all 1s;-webkit-animation:toastAnimationFadeOut 0.5s;animation:toastAnimationFadeOut 0.5s}.toast{display:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-webkit-box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));box-shadow:0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));color:var(--color-content-default, rgb(40, 40, 40));opacity:0;margin-top:16px;overflow:hidden;gap:16px}.toast--action--icon{min-width:440px;max-width:440px;padding:8px 16px}.toast--action--icon bds-icon-button{height:32px}@media (max-width: 780px){.toast--action--icon{min-width:220px;width:95%;margin:16px auto 0px auto}}.toast--action--button{min-width:440px;max-width:456px;padding:8px 16px}@media (max-width: 780px){.toast--action--button{min-width:220px;width:95%;margin:16px auto 0px auto}}.toast--system{background:var(--color-system, rgb(178, 223, 253))}.toast--error{background:var(--color-error, rgb(250, 190, 190))}.toast--success{background:var(--color-success, rgb(132, 235, 188))}.toast--warning{background:var(--color-warning, rgb(253, 233, 155))}.toast--undo{background-color:var(--color-system, rgb(178, 223, 253))}.toast--redo{background-color:var(--color-system, rgb(178, 223, 253))}.toast--notification{background-color:var(--color-surface-1, rgb(246, 246, 246))}.toast__icon{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:8px 0}.toast__ballon{display:-ms-flexbox;display:flex;position:absolute;top:-8px;left:-12px;color:var(--color-system, rgb(178, 223, 253));width:72px}.toast__content{position:relative;height:100%;width:100%;-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:8px 0}.toast__action{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.toast__action bds-button-icon,.toast__action bds-button{position:relative}.toast__action bds-button-icon::before,.toast__action bds-button::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.toast__action bds-button-icon:focus-visible,.toast__action bds-button:focus-visible{outline:none}.toast__action bds-button-icon:focus-visible::before,.toast__action bds-button:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.toast__action__button{white-space:nowrap}@-webkit-keyframes toastAnimationFadeInFromRight{0%{opacity:0;right:-200px}50%{opacity:0.9;right:1px}100%{opacity:1}}@keyframes toastAnimationFadeInFromRight{0%{opacity:0;right:-200px}50%{opacity:0.9;right:1px}100%{opacity:1}}@-webkit-keyframes toastAnimationFadeInFromLeft{0%{opacity:0;left:-200px}50%{opacity:0.9;left:1px}100%{opacity:1}}@keyframes toastAnimationFadeInFromLeft{0%{opacity:0;left:-200px}50%{opacity:0.9;left:1px}100%{opacity:1}}@-webkit-keyframes toastAnimationFadeOut{0%{opacity:1}30%{max-height:60px}80%{opacity:0;max-height:30px}100%{max-height:0px}}@keyframes toastAnimationFadeOut{0%{opacity:1}30%{max-height:60px}80%{opacity:0;max-height:30px}100%{max-height:0px}}';const e=class{constructor(i){t(this,i);this.toastButtonClick=o(this,"toastButtonClick");this.icon=null;this.actionType="button";this.variant="system";this.duration=0;this.buttonAction="close";this.show=false;this.hide=false;this.position="bottom-left";this.dtButtonAction=null;this.dtButtonClose=null;this._buttonClickHandler=()=>{if(this.buttonAction==="close")this.close();else{this.toastButtonClick.emit(this.el);this.close()}};this.mapIconName={system:"bell",error:"error",success:"like",warning:"attention",undo:"undo",redo:"redo",notification:"notification"}}_keyPressHandler(t){if(t.key==="Enter"||t.key===" "){t.preventDefault();if(this.buttonAction==="close")this.close();else{this.toastButtonClick.emit(this.el);this.close()}}}async create({actionType:t,buttonAction:o,buttonText:i,icon:s,toastText:a,toastTitle:e,variant:n,duration:r}){let c=document.querySelector(`bds-toast-container.${n==="notification"?"top-right":"bottom-left"}`);if(c){c.appendChild(this.el);c.classList.add(n==="notification"?"top-right":"bottom-left")}else{c=document.createElement("bds-toast-container");c.classList.add(n==="notification"?"top-right":"bottom-left");document.body.appendChild(c);c.appendChild(this.el)}this.el.actionType=t||"button";this.el.buttonAction=o||"close";this.el.buttonText=i;this.el.toastText=a;this.el.toastTitle=e;this.el.variant=n||"system";this.el.duration=r*1e3||0;this.el.position=n==="notification"?"top-right":"bottom-left";this.el.icon=s!==null&&s!==void 0?s:this.mapIconName[this.variant];this.el.show=true;if(this.el.duration>0){setTimeout((()=>{this.el.hide=true;setTimeout((()=>{this.el.remove()}),400)}),this.el.duration)}}async close(){if(this.el.shadowRoot){this.el.shadowRoot.querySelector("div").classList.remove("show");this.el.shadowRoot.querySelector("div").classList.add("hide")}else{this.el.querySelector("div").classList.remove("show");this.el.querySelector("div").classList.add("hide")}setTimeout((()=>{this.el.remove()}),400)}render(){return i("div",{key:"51f8ac0e092819322627335b2c27add40fe528f1",class:{toast:true,[`toast--${this.variant}`]:true,[`toast--action--${this.actionType}`]:true,[`show show--${this.position}`]:this.show,hide:this.hide}},this.variant==="notification"&&i("bds-icon",{key:"f11cae2cc181dcca349bb309f8f8c6bfbb664886",class:"toast__ballon",theme:"solid",name:"blip-chat",size:"brand"}),this.icon&&i("bds-icon",{key:"bceb307afed75fdf2e1ac4e8db9ffad39d72a8ef",class:"toast__icon",theme:"outline",size:"medium",name:this.icon}),i("div",{key:"8142908bb21c7b7d2afdbde91f3d0ddb24c8b15c",class:"toast__content"},this.toastTitle&&i("bds-typo",{key:"966795b1ffb27b100f8af6458485a742311265a7",variant:"fs-14",bold:"bold"},this.toastTitle),this.toastText&&i("bds-typo",{key:"950fef4e810ca6c0dad863d10d8bfd9afd847ea1",variant:"fs-14",innerHTML:this.toastText})),i("div",{key:"ee9717051ad072cb89189dc62460e37409af60c6",class:{toast__action:true,[`toast__action__${this.actionType}`]:true}},this.actionType==="button"?i("bds-button",{onKeyDown:this._keyPressHandler.bind(this),tabindex:"0",onClick:()=>this._buttonClickHandler(),variant:"secondary",size:"standard",dataTest:this.dtButtonAction},this.buttonText):i("bds-button-icon",{onClick:()=>this._buttonClickHandler(),size:"short",onKeyDown:this._keyPressHandler.bind(this),tabindex:"0",variant:"secondary",icon:"close",dataTest:this.dtButtonClose})))}get el(){return s(this)}};e.style=a;export{e as bds_toast};
|
|
2
|
+
//# sourceMappingURL=p-3f42b1f9.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./p-CD9MMdoC.system.js"],(function(e){"use strict";var t,n,r,i,u;return{setters:[function(e){t=e.r;n=e.c;r=e.h;i=e.H;u=e.a}],execute:function(){var
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
System.register(["./p-CD9MMdoC.system.js"],(function(e){"use strict";var t,n,r,i,u;return{setters:[function(e){t=e.r;n=e.c;r=e.h;i=e.H;u=e.a}],execute:function(){var a=e("bds_radio_group",function(){function e(e){var r=this;t(this,e);this.bdsRadioGroupChange=n(this,"bdsRadioGroupChange");this.radioGroupElement=null;this.chagedOptions=function(e,t){if(t.detail.checked==true){r.value=e}}}e.prototype.valueChanged=function(e){this.setSelectedRadio(e);this.bdsRadioGroupChange.emit({value:e})};e.prototype.componentWillRender=function(){var e=this;this.radioGroupElement=this.element.getElementsByTagName("bds-radio");var t=function(t){n.radioGroupElement[t].addEventListener("bdsChange",(function(n){return e.chagedOptions(e.radioGroupElement[t].value,n)}))};var n=this;for(var r=0;r<this.radioGroupElement.length;r++){t(r)}};e.prototype.setSelectedRadio=function(e){var t=this.radioGroupElement;for(var n=0;n<t.length;n++){var r=t[n].value;t[n].checked=false;if(t[n].checked==false&&e==r){t[n].checked=true}}};e.prototype.render=function(){return r(i,{key:"b22a7cc8b980f988bd3e3198adb7a9fbbefe8132"},r("slot",{key:"5e94259e6221a949bad2e1d99f401d70e6d7d4af"}))};Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}())}}}));
|
|
2
|
+
//# sourceMappingURL=p-4083e80a.system.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,r,t,i){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,o){function n(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i["throw"](e))}catch(e){o(e)}}function l(e){e.done?t(e.value):a(e.value).then(n,s)}l((i=i.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(r){return l([e,r])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(t=0)),t)try{if(i=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){t.label=s[1];break}if(s[0]===6&&t.label<o[1]){t.label=o[1];o=s;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(s);break}if(o[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var i=0,a=r.length,o;i<a;i++){if(o||!(i in r)){if(!o)o=Array.prototype.slice.call(r,0,i);o[i]=r[i]}}return e.concat(o||Array.prototype.slice.call(r))};System.register(["./p-CD9MMdoC.system.js","./p-B1n_p7xl.system.js"],(function(e){"use strict";var r,t,i,a,o;return{setters:[function(e){r=e.r;t=e.c;i=e.h;a=e.a},function(e){o=e.g}],execute:function(){var n=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo",formatError:"Ocorreu um erro ao anexar o arquivo, tente novamente ou selecione outro arquivo"}];var s=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo",formatError:"Se produjo un error al adjuntar el archivo, inténtelo nuevamente o seleccione otro archivo"}];var l=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file",formatError:"There was an error attaching the file, please try again or select another file"}];var d=function(e,r){var t;switch(e){case"pt_BR":t=n.map((function(e){return e[r]}));break;case"es_ES":t=s.map((function(e){return e[r]}));break;case"en_US":t=l.map((function(e){return e[r]}));break;default:t=n.map((function(e){return e[r]}))}return t};var c='.upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px;color:var(--color-content-default, rgb(40, 40, 40))}.upload .upload-header_text{color:var(--color-content-default, rgb(40, 40, 40));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.upload__edit--label:focus-visible{outline:none}.upload__edit--label:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:var(--color-surface-2, rgb(237, 237, 237));z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{color:var(--color-content-default, rgb(40, 40, 40));width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:var(--color-surface-2, rgb(237, 237, 237))}.upload__edit--label .text-box--hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--label:hover{border:2px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline var(--color-primary, rgb(30, 107, 241));text-decoration:underline var(--color-primary, rgb(30, 107, 241));color:var(--color-brand, rgb(0, 150, 250))}.upload__edit--label:hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--hover{background-size:cover;border:1px dashed var(--color-surface-4, rgb(20, 20, 20));color:var(--color-primary, rgb(30, 107, 241));font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%;color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon{color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';var u=e("bds_upload",function(){function e(e){var i=this;r(this,e);this.bdsUploadDelete=t(this,"bdsUploadDelete");this.bdsUploadChange=t(this,"bdsUploadChange");this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.internalAccepts=[];this.formatError=false;this.language="pt_BR";this.dataAccept=[];this.dtInputFiles=null;this.dtLabelAddFile=null;this.dtButtonDelete=null;this.showListPreview=true;this.validationFiles=function(e,r){var t=".".concat(e.name.split(".").pop());var a=i.internalAccepts.includes(t);if(a){i.formatError=false;return}else{i.formatError=true;i.deleteFile(r);return}};this.handleDrop=function(e){i.haveFiles=true;var r=e.dataTransfer;var t=r.files;i.handleFiles(t)};this.handleFiles=function(e){if(!i.multiple){i.files=[e[0]]}else{i.files=__spreadArray(__spreadArray([],i.files,true),e,true)}i.bdsUploadChange.emit({value:i.files})};this.refInputElement=function(e){i.inputElement=e}}e.prototype.dataAcceptChanged=function(){if(this.dataAccept){if(typeof this.dataAccept==="string"){try{this.internalAccepts=JSON.parse(this.dataAccept)}catch(e){this.internalAccepts=[]}}else{this.internalAccepts=this.dataAccept}}else{this.internalAccepts=[]}};e.prototype.filesChanged=function(){if(this.files.length>0){for(var e=0;e<this.files.length;e++){if(this.internalAccepts.length>0){this.validationFiles(this.files[e],e)}}}};e.prototype.formatErrorChanged=function(e){var r=this;if(e){this.error=d(this.language,"formatError");setTimeout((function(){return r.error=null}),5e3)}};e.prototype.componentWillLoad=function(){this.dataAcceptChanged()};e.prototype.componentDidLoad=function(){var e=this;["dragenter","dragover","dragleave","drop"].forEach((function(r){e.dropArea.shadowRoot.addEventListener(r,e.preventDefaults,false);e.dropArea.shadowRoot.addEventListener(r,(function(){return e.hoverFile(true)}),false)}));["dragenter","dragover"].forEach((function(r){e.dropArea.shadowRoot.addEventListener(r,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(r,(function(){return e.hoverFile(true)}),false)}));["dragleave","drop"].forEach((function(r){e.dropArea.shadowRoot.addEventListener(r,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(r,(function(){return e.hoverFile(false)}),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)};e.prototype.preventDefaults=function(e){e.preventDefault();e.stopPropagation()};e.prototype.hoverFile=function(e){this.hover=e};e.prototype.onUploadClick=function(e){if(e.length>0){if(!this.multiple){this.files=[e[0]]}else{this.files=__spreadArray(__spreadArray([],this.files,true),e,true)}this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit({value:this.files})};e.prototype.getSize=function(){var e=this;this.files.map((function(r){var t=r.size;e.size.push(t)}))};e.prototype.deleteFile=function(e){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){r=this.files.filter((function(r,t){return t==e&&r}));this.bdsUploadDelete.emit({value:r});this.files.splice(e,1);this.files=__spreadArray([],this.files,true);if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files});return[2]}))}))};e.prototype.deleteAllFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.bdsUploadDelete.emit({value:this.files});this.files=[];if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files});return[2]}))}))};e.prototype.handleKeyDown=function(e){if(e.key=="Enter"){this.inputElement.click()}};e.prototype.render=function(){var e=this;return i("div",{key:"d8368f8f0e8e82fd1adb4d1d30ae2f26f615d67b",class:"upload"},i("div",{key:"2de800ed767fb6143a0166c940d1d142d1436d36",class:"upload-header"},i("bds-icon",{key:"60a0176c8bde85773e7fda3db1438a55d09421b6",class:"upload-header_icon",size:"xxx-large",name:"upload"}),i("div",{key:"3eadda44b288ccd7c139408ea59e3e679af1c52e",class:"upload-header_text"},i("bds-typo",{key:"a8db081dd384a93f5bd270b3c312bac0eba9f67d",variant:"fs-16",bold:"bold","aria-label":this.titleName},this.titleName),i("bds-typo",{key:"045c0e0f5fb9f630e4dcc207f53d43ab03d9fc81",variant:"fs-14",bold:"regular","aria-label":this.subtitle},this.subtitle))),this.error?i("bds-banner",{context:"inside",variant:"error","aria-label":this.error},this.error):"",this.haveFiles&&this.showListPreview?i("div",null,i("div",{class:"list-preview"},this.files.map((function(r,t){return i("div",{class:"upload__preview",key:t,id:"drop-area"},i("div",{class:"preview",id:"preview"},i("bds-icon",{size:"x-small",name:"attach"}),i("p",{class:"preview-text",id:"preview-text","aria-label":r.name},r.name),i("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:function(){return e.deleteFile(t)},"aria-label":"delete ".concat(r.name),"data-test":"".concat(e.dtButtonDelete,"-").concat(t)})))}))),this.multiple?i("bds-typo",{variant:"fs-14",italic:true,class:"preview-length","aria-label":d(this.language,"uploaded")},this.files.length>1?"".concat(this.files.length," ").concat(d(this.language,"uploaded")):""):""):"",i("div",{key:"6ac3433decc7cd03b72dc3de3b3f2eb67b3b9415",class:{upload__edit:true}},i("label",{key:"39c47991cae813bf7abaa2ee99efe98329bfbc6a",class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file","data-test":this.dtLabelAddFile,tabindex:"0",onKeyDown:this.handleKeyDown.bind(this)},i("div",{key:"6dc1e9de9f103aedea9d7f045bc8520fdccc1b05",class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropHere")},d(this.language,"dropHere")):i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropOrClick")},d(this.language,"dropOrClick"))),i("img",{key:"a7b123e6920556527b7c96c8b0ac9508c63fc26a",class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:o("asset-component-upload-pattern")})),i("input",{key:"f35bf967c996061b76b32bfcbc3dd599407e2ee9",ref:this.refInputElement,type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.internalAccepts.length>0?this.internalAccepts.toString():this.accept,onChange:function(r){return e.onUploadClick(r.target.files)},"data-test":this.dtInputFiles})))};Object.defineProperty(e.prototype,"dropArea",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dataAccept:["dataAcceptChanged"],files:["filesChanged"],formatError:["formatErrorChanged"]}},enumerable:false,configurable:true});return e}());u.style=c}}}));
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,r,t,i){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,o){function n(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i["throw"](e))}catch(e){o(e)}}function l(e){e.done?t(e.value):a(e.value).then(n,s)}l((i=i.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(r){return l([e,r])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(t=0)),t)try{if(i=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){t.label=s[1];break}if(s[0]===6&&t.label<o[1]){t.label=o[1];o=s;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(s);break}if(o[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var i=0,a=r.length,o;i<a;i++){if(o||!(i in r)){if(!o)o=Array.prototype.slice.call(r,0,i);o[i]=r[i]}}return e.concat(o||Array.prototype.slice.call(r))};System.register(["./p-CD9MMdoC.system.js","./p-BMtUhULI.system.js"],(function(e){"use strict";var r,t,i,a,o;return{setters:[function(e){r=e.r;t=e.c;i=e.h;a=e.a},function(e){o=e.g}],execute:function(){var n=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo",formatError:"Ocorreu um erro ao anexar o arquivo, tente novamente ou selecione outro arquivo"}];var s=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo",formatError:"Se produjo un error al adjuntar el archivo, inténtelo nuevamente o seleccione otro archivo"}];var l=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file",formatError:"There was an error attaching the file, please try again or select another file"}];var d=function(e,r){var t;switch(e){case"pt_BR":t=n.map((function(e){return e[r]}));break;case"es_ES":t=s.map((function(e){return e[r]}));break;case"en_US":t=l.map((function(e){return e[r]}));break;default:t=n.map((function(e){return e[r]}))}return t};var c='.upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px;color:var(--color-content-default, rgb(40, 40, 40))}.upload .upload-header_text{color:var(--color-content-default, rgb(40, 40, 40));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.upload__edit--label:focus-visible{outline:none}.upload__edit--label:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:var(--color-surface-2, rgb(237, 237, 237));z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{color:var(--color-content-default, rgb(40, 40, 40));width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:var(--color-surface-2, rgb(237, 237, 237))}.upload__edit--label .text-box--hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--label:hover{border:2px solid var(--color-primary, rgb(30, 107, 241));-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline var(--color-primary, rgb(30, 107, 241));text-decoration:underline var(--color-primary, rgb(30, 107, 241));color:var(--color-brand, rgb(0, 150, 250))}.upload__edit--label:hover .text{color:var(--color-primary, rgb(30, 107, 241))}.upload__edit--hover{background-size:cover;border:1px dashed var(--color-surface-4, rgb(20, 20, 20));color:var(--color-primary, rgb(30, 107, 241));font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%;color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon{color:var(--color-content-default, rgb(40, 40, 40))}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';var u=e("bds_upload",function(){function e(e){var i=this;r(this,e);this.bdsUploadDelete=t(this,"bdsUploadDelete");this.bdsUploadChange=t(this,"bdsUploadChange");this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.internalAccepts=[];this.formatError=false;this.language="pt_BR";this.dataAccept=[];this.dtInputFiles=null;this.dtLabelAddFile=null;this.dtButtonDelete=null;this.showListPreview=true;this.validationFiles=function(e,r){var t=".".concat(e.name.split(".").pop());var a=i.internalAccepts.includes(t);if(a){i.formatError=false;return}else{i.formatError=true;i.deleteFile(r);return}};this.handleDrop=function(e){i.haveFiles=true;var r=e.dataTransfer;var t=r.files;i.handleFiles(t)};this.handleFiles=function(e){if(!i.multiple){i.files=[e[0]]}else{i.files=__spreadArray(__spreadArray([],i.files,true),e,true)}i.bdsUploadChange.emit({value:i.files})};this.refInputElement=function(e){i.inputElement=e}}e.prototype.dataAcceptChanged=function(){if(this.dataAccept){if(typeof this.dataAccept==="string"){try{this.internalAccepts=JSON.parse(this.dataAccept)}catch(e){this.internalAccepts=[]}}else{this.internalAccepts=this.dataAccept}}else{this.internalAccepts=[]}};e.prototype.filesChanged=function(){if(this.files.length>0){for(var e=0;e<this.files.length;e++){if(this.internalAccepts.length>0){this.validationFiles(this.files[e],e)}}}};e.prototype.formatErrorChanged=function(e){var r=this;if(e){this.error=d(this.language,"formatError");setTimeout((function(){return r.error=null}),5e3)}};e.prototype.componentWillLoad=function(){this.dataAcceptChanged()};e.prototype.componentDidLoad=function(){var e=this;["dragenter","dragover","dragleave","drop"].forEach((function(r){e.dropArea.shadowRoot.addEventListener(r,e.preventDefaults,false);e.dropArea.shadowRoot.addEventListener(r,(function(){return e.hoverFile(true)}),false)}));["dragenter","dragover"].forEach((function(r){e.dropArea.shadowRoot.addEventListener(r,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(r,(function(){return e.hoverFile(true)}),false)}));["dragleave","drop"].forEach((function(r){e.dropArea.shadowRoot.addEventListener(r,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(r,(function(){return e.hoverFile(false)}),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)};e.prototype.preventDefaults=function(e){e.preventDefault();e.stopPropagation()};e.prototype.hoverFile=function(e){this.hover=e};e.prototype.onUploadClick=function(e){if(e.length>0){if(!this.multiple){this.files=[e[0]]}else{this.files=__spreadArray(__spreadArray([],this.files,true),e,true)}this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit({value:this.files})};e.prototype.getSize=function(){var e=this;this.files.map((function(r){var t=r.size;e.size.push(t)}))};e.prototype.deleteFile=function(e){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){r=this.files.filter((function(r,t){return t==e&&r}));this.bdsUploadDelete.emit({value:r});this.files.splice(e,1);this.files=__spreadArray([],this.files,true);if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files});return[2]}))}))};e.prototype.deleteAllFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.bdsUploadDelete.emit({value:this.files});this.files=[];if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadChange.emit({value:this.files});return[2]}))}))};e.prototype.handleKeyDown=function(e){if(e.key=="Enter"){this.inputElement.click()}};e.prototype.render=function(){var e=this;return i("div",{key:"ccfba8b5b8058523952eff92e900b2e47da5e92a",class:"upload"},i("div",{key:"25eda2ed313d45de310ab10de5979320dd7aefec",class:"upload-header"},i("bds-icon",{key:"a9c42f7946d9c7064e7f31dc0f91cfd048ca097c",class:"upload-header_icon",size:"xxx-large",name:"upload"}),i("div",{key:"c6522a2041be447f5de60ffce89be29d39540f72",class:"upload-header_text"},i("bds-typo",{key:"a1e06d14038dba1721b7c6aecee005abd1bc4f0e",variant:"fs-16",bold:"bold","aria-label":this.titleName},this.titleName),i("bds-typo",{key:"3b0e1f414998de7b965a5a4c728827fa3e4a8f19",variant:"fs-14",bold:"regular","aria-label":this.subtitle},this.subtitle))),this.error?i("bds-banner",{context:"inside",variant:"error","aria-label":this.error},this.error):"",this.haveFiles&&this.showListPreview?i("div",null,i("div",{class:"list-preview"},this.files.map((function(r,t){return i("div",{class:"upload__preview",key:t,id:"drop-area"},i("div",{class:"preview",id:"preview"},i("bds-icon",{size:"x-small",name:"attach"}),i("p",{class:"preview-text",id:"preview-text","aria-label":r.name},r.name),i("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:function(){return e.deleteFile(t)},"aria-label":"delete ".concat(r.name),"data-test":"".concat(e.dtButtonDelete,"-").concat(t)})))}))),this.multiple?i("bds-typo",{variant:"fs-14",italic:true,class:"preview-length","aria-label":d(this.language,"uploaded")},this.files.length>1?"".concat(this.files.length," ").concat(d(this.language,"uploaded")):""):""):"",i("div",{key:"3116869b9d53a13c322c3baba0174328275f82ec",class:{upload__edit:true}},i("label",{key:"817ed8632d61d6eed99138712332837a0022e472",class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file","data-test":this.dtLabelAddFile,tabindex:"0",onKeyDown:this.handleKeyDown.bind(this)},i("div",{key:"d9c48b3a07b587833bcea0f56cbeb33fa86e78dd",class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropHere")},d(this.language,"dropHere")):i("bds-typo",{class:"text",variant:"fs-14",bold:"regular","aria-label":d(this.language,"dropOrClick")},d(this.language,"dropOrClick"))),i("img",{key:"095f9651ce324e2b66f16a10dd9cc3f9f9bf1142",class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:o("asset-component-upload-pattern")})),i("input",{key:"da8d39b6ca9c122f66b41c33ec6c251518ad74f3",ref:this.refInputElement,type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.internalAccepts.length>0?this.internalAccepts.toString():this.accept,onChange:function(r){return e.onUploadClick(r.target.files)},"data-test":this.dtInputFiles})))};Object.defineProperty(e.prototype,"dropArea",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dataAccept:["dataAcceptChanged"],files:["filesChanged"],formatError:["formatErrorChanged"]}},enumerable:false,configurable:true});return e}());u.style=c}}}));
|
|
2
|
+
//# sourceMappingURL=p-4a4de089.system.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,o,r,e){function i(t){return t instanceof r?t:new r((function(o){o(t)}))}return new(r||(r=Promise))((function(r,n){function a(t){try{s(e.next(t))}catch(t){n(t)}}function c(t){try{s(e["throw"](t))}catch(t){n(t)}}function s(t){t.done?r(t.value):i(t.value).then(a,c)}s((e=e.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,i,n,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(o){return s([t,o])}}function s(c){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(r=0)),r)try{if(e=1,i&&(n=c[0]&2?i["return"]:c[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,c[1])).done)return n;if(i=0,n)c=[c[0]&2,n.value];switch(c[0]){case 0:case 1:n=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;i=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){r.label=c[1];break}if(c[0]===6&&r.label<n[1]){r.label=n[1];n=c;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(c);break}if(n[2])r.ops.pop();r.trys.pop();continue}c=o.call(t,r)}catch(t){c=[6,t];i=0}finally{e=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-CD9MMdoC.system.js"],(function(t){"use strict";var o,r,e;return{setters:[function(t){o=t.r;r=t.h;e=t.a}],execute:function(){var i='.accordion_header{display:-ms-flexbox;display:flex;grid-auto-flow:column;gap:24px;-ms-flex-pack:start;justify-content:start;-ms-flex-align:center;align-items:center;padding:24px;padding-right:56px;position:relative;color:var(--color-content-default, rgb(40, 40, 40));cursor:pointer}.accordion_header::before{content:"";position:absolute;inset:0;z-index:0}.accordion_header slot{display:-ms-flexbox;display:flex;width:100%;-ms-flex-negative:99999;flex-shrink:99999}.accordion_header *{position:relative;z-index:1}.accordion_header:hover::before{background-color:var(--color-content-default, rgb(40, 40, 40));opacity:0.08}.accordion_header .accButton{position:absolute;right:24px;top:calc(50% - 16px);border-radius:8px;contain:inherit;-webkit-transition:height 0.5s, all 0.3s;-moz-transition:height 0.5s, all 0.3s;transition:height 0.5s, all 0.3s;z-index:1}.accordion_header .accButton__isopen{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.accordion_header .accButton::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.accordion_header .accButton:focus-visible{outline:none}.accordion_header .accButton:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.accordion_header .accButton:hover{background-color:var(--color-surface-1, rgb(246, 246, 246))}.accordion_header .accButton:active{background-color:var(--color-surface-1, rgb(246, 246, 246))}.accordion_body{height:0;overflow:hidden;border-bottom:none;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;transition:height 0.5s}.accordion_body::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.accordion_body::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.accordion_body_isOpen{overflow:overlay}.accordion_body_divisor{border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2))}.accordion_body .container{padding:8px 24px 48px;position:relative;color:var(--color-content-default, rgb(40, 40, 40))}';var n=t("bds_accordion_header",function(){function t(t){var r=this;o(this,t);this.accordionElement=null;this.isOpen=false;this.btToggleIsfocus=false;this.numberElement=null;this.accordionTitle=null;this.icon=null;this.iconColor="inherit";this.avatarName=null;this.avatarThumb=null;this.dataTest=null;this.toggleHeader=function(){var t,o;if(r.isOpen){(t=r.accordionElement)===null||t===void 0?void 0:t.close()}else{(o=r.accordionElement)===null||o===void 0?void 0:o.open()}}}t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=!this.isOpen;return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=true;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=false;return[2]}))}))};t.prototype.componentWillRender=function(){this.accordionElement=this.element.parentElement};t.prototype.handleKeyDown=function(t){var o,r;if(t.key=="Enter"){if(this.isOpen){(o=this.accordionElement)===null||o===void 0?void 0:o.close()}else{(r=this.accordionElement)===null||r===void 0?void 0:r.open()}}};t.prototype.render=function(){return r("div",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,o,r,e){function i(t){return t instanceof r?t:new r((function(o){o(t)}))}return new(r||(r=Promise))((function(r,n){function a(t){try{s(e.next(t))}catch(t){n(t)}}function c(t){try{s(e["throw"](t))}catch(t){n(t)}}function s(t){t.done?r(t.value):i(t.value).then(a,c)}s((e=e.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,i,n,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(o){return s([t,o])}}function s(c){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(r=0)),r)try{if(e=1,i&&(n=c[0]&2?i["return"]:c[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,c[1])).done)return n;if(i=0,n)c=[c[0]&2,n.value];switch(c[0]){case 0:case 1:n=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;i=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){r.label=c[1];break}if(c[0]===6&&r.label<n[1]){r.label=n[1];n=c;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(c);break}if(n[2])r.ops.pop();r.trys.pop();continue}c=o.call(t,r)}catch(t){c=[6,t];i=0}finally{e=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-CD9MMdoC.system.js"],(function(t){"use strict";var o,r,e;return{setters:[function(t){o=t.r;r=t.h;e=t.a}],execute:function(){var i='.accordion_header{display:-ms-flexbox;display:flex;grid-auto-flow:column;gap:24px;-ms-flex-pack:start;justify-content:start;-ms-flex-align:center;align-items:center;padding:24px;padding-right:56px;position:relative;color:var(--color-content-default, rgb(40, 40, 40));cursor:pointer}.accordion_header::before{content:"";position:absolute;inset:0;z-index:0}.accordion_header slot{display:-ms-flexbox;display:flex;width:100%;-ms-flex-negative:99999;flex-shrink:99999}.accordion_header *{position:relative;z-index:1}.accordion_header:hover::before{background-color:var(--color-content-default, rgb(40, 40, 40));opacity:0.08}.accordion_header .accButton{position:absolute;right:24px;top:calc(50% - 16px);border-radius:8px;contain:inherit;-webkit-transition:height 0.5s, all 0.3s;-moz-transition:height 0.5s, all 0.3s;transition:height 0.5s, all 0.3s;z-index:1}.accordion_header .accButton__isopen{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.accordion_header .accButton::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.accordion_header .accButton:focus-visible{outline:none}.accordion_header .accButton:focus-visible::before{border-color:var(--color-focus, rgb(194, 38, 251))}.accordion_header .accButton:hover{background-color:var(--color-surface-1, rgb(246, 246, 246))}.accordion_header .accButton:active{background-color:var(--color-surface-1, rgb(246, 246, 246))}.accordion_body{height:0;overflow:hidden;border-bottom:none;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;transition:height 0.5s}.accordion_body::-webkit-scrollbar{width:16px;background-color:var(--color-shadow-0, rgba(0, 0, 0, 0.04));border-radius:10px}.accordion_body::-webkit-scrollbar-thumb{border-radius:10px;border:4px solid transparent;border-radius:10px;background-clip:content-box;background-color:var(--color-border-1, rgba(0, 0, 0, 0.2))}.accordion_body_isOpen{overflow:overlay}.accordion_body_divisor{border-bottom:1px solid var(--color-border-1, rgba(0, 0, 0, 0.2))}.accordion_body .container{padding:8px 24px 48px;position:relative;color:var(--color-content-default, rgb(40, 40, 40))}';var n=t("bds_accordion_header",function(){function t(t){var r=this;o(this,t);this.accordionElement=null;this.isOpen=false;this.btToggleIsfocus=false;this.numberElement=null;this.accordionTitle=null;this.icon=null;this.iconColor="inherit";this.avatarName=null;this.avatarThumb=null;this.dataTest=null;this.toggleHeader=function(){var t,o;if(r.isOpen){(t=r.accordionElement)===null||t===void 0?void 0:t.close()}else{(o=r.accordionElement)===null||o===void 0?void 0:o.open()}}}t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=!this.isOpen;return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=true;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=false;return[2]}))}))};t.prototype.componentWillRender=function(){this.accordionElement=this.element.parentElement};t.prototype.handleKeyDown=function(t){var o,r;if(t.key=="Enter"){if(this.isOpen){(o=this.accordionElement)===null||o===void 0?void 0:o.close()}else{(r=this.accordionElement)===null||r===void 0?void 0:r.open()}}};t.prototype.render=function(){return r("div",{key:"0209248d6f03d353e656388fe51b7fe26cf907f2",onClick:this.toggleHeader,class:{accordion_header:true},"data-test":this.dataTest},this.avatarName||this.avatarThumb?r("bds-avatar",{name:this.avatarName,thumbnail:this.avatarThumb,size:"extra-small"}):this.icon&&r("bds-icon",{size:"x-large",name:this.icon,color:this.iconColor}),this.accordionTitle&&r("bds-typo",{key:"bf1d23b9d202515e94006de6c18ccc61591b03e1",bold:"bold",variant:"fs-16","line-height":"double"},this.accordionTitle),r("slot",{key:"a6e712f9a37009869612c2d1e2004019097b7385"}),r("bds-icon",{key:"e6a28b5523757c363a223e9e94f1f8c4bad0f116",class:{accButton:true,accButton__isopen:this.isOpen,accButton__isfocus:this.btToggleIsfocus},size:"x-large",name:"arrow-down",color:this.iconColor,tabindex:"0",onKeyDown:this.handleKeyDown.bind(this)}))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());n.style=i}}}));
|
|
2
|
+
//# sourceMappingURL=p-551789cc.system.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register(["./p-CD9MMdoC.system.js"],(function(t){"use strict";var n,s,e;return{setters:[function(t){n=t.r;s=t.h;e=t.H}],execute:function(){var i="*{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;transition:all 0.5s}:host{display:block}";var c=t("bds_expansion_panel",function(){function t(t){n(this,t)}t.prototype.render=function(){return s(e,{key:"856851827d63c7cd6f03b6bc8725372295af8547"},s("slot",{key:"1a4e354132bdfb4df8f957095013b449f3ccc2f3"}))};return t}());c.style=i}}}));
|
|
2
|
+
//# sourceMappingURL=p-58ca843b.system.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register(["./p-CD9MMdoC.system.js"],(function(e){"use strict";var a,n,s;return{setters:[function(e){a=e.r;n=e.h;s=e.H}],execute:function(){var i=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.warning__body{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;max-width:100%;max-height:100%;background-color:#ededed;border-radius:8px;padding:16px}.warning__icon{color:#f6a721}.warning__message{color:#505f79;margin-left:8px}";var c=e("bds_warning",function(){function e(e){a(this,e)}e.prototype.render=function(){return n(s,{key:"ffedff55e685b6509e059dba71107151407e2fa9"},n("div",{key:"e42b3d9b0ad9ab89a8ea9f924065198162c97cbd",class:"warning__body"},n("bds-icon",{key:"b1272ca35106a87b7f4edf9e088e1b489699c87f",class:"warning__icon",theme:"solid",size:"small",name:"warning"}),n("bds-typo",{key:"e14b52d6d6abcda83dbbf0b6c7d41ecf036dcba7",variant:"fs-14",tag:"span",class:"warning__message"},n("slot",{key:"3018ec6ca5db89c16aa7e1032fb3c0cfc928093b"}))))};return e}());c.style=i}}}));
|
|
2
|
+
//# sourceMappingURL=p-5a377a9a.system.entry.js.map
|