@eturnity/eturnity_reusable_components 7.45.5-EPDM-10609.1 → 7.45.5-EPDM-12680.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.es.js +7 -0
- package/dist/main.es10.js +10 -0
- package/dist/main.es100.js +23 -0
- package/dist/main.es101.js +23 -0
- package/dist/main.es102.js +20 -0
- package/dist/main.es103.js +20 -0
- package/dist/main.es104.js +20 -0
- package/dist/main.es105.js +37 -0
- package/dist/main.es106.js +28 -0
- package/dist/main.es107.js +32 -0
- package/dist/main.es108.js +18 -0
- package/dist/main.es109.js +33 -0
- package/dist/main.es11.js +2484 -0
- package/dist/main.es110.js +41 -0
- package/dist/main.es111.js +36 -0
- package/dist/main.es112.js +35 -0
- package/dist/main.es113.js +20 -0
- package/dist/main.es114.js +23 -0
- package/dist/main.es115.js +30 -0
- package/dist/main.es116.js +23 -0
- package/dist/main.es117.js +32 -0
- package/dist/main.es118.js +23 -0
- package/dist/main.es119.js +29 -0
- package/dist/main.es12.js +133 -0
- package/dist/main.es120.js +25 -0
- package/dist/main.es121.js +23 -0
- package/dist/main.es122.js +28 -0
- package/dist/main.es123.js +28 -0
- package/dist/main.es124.js +39 -0
- package/dist/main.es125.js +37 -0
- package/dist/main.es126.js +23 -0
- package/dist/main.es127.js +25 -0
- package/dist/main.es128.js +23 -0
- package/dist/main.es129.js +23 -0
- package/dist/main.es13.js +261 -0
- package/dist/main.es130.js +23 -0
- package/dist/main.es131.js +28 -0
- package/dist/main.es132.js +29 -0
- package/dist/main.es133.js +29 -0
- package/dist/main.es134.js +21 -0
- package/dist/main.es135.js +20 -0
- package/dist/main.es136.js +28 -0
- package/dist/main.es137.js +24 -0
- package/dist/main.es138.js +28 -0
- package/dist/main.es139.js +23 -0
- package/dist/main.es14.js +26 -0
- package/dist/main.es140.js +33 -0
- package/dist/main.es141.js +30 -0
- package/dist/main.es142.js +23 -0
- package/dist/main.es143.js +20 -0
- package/dist/main.es144.js +19 -0
- package/dist/main.es145.js +23 -0
- package/dist/main.es146.js +29 -0
- package/dist/main.es147.js +28 -0
- package/dist/main.es148.js +35 -0
- package/dist/main.es149.js +25 -0
- package/dist/main.es15.js +1058 -0
- package/dist/main.es150.js +25 -0
- package/dist/main.es151.js +23 -0
- package/dist/main.es152.js +41 -0
- package/dist/main.es153.js +41 -0
- package/dist/main.es154.js +25 -0
- package/dist/main.es155.js +23 -0
- package/dist/main.es156.js +23 -0
- package/dist/main.es157.js +25 -0
- package/dist/main.es158.js +23 -0
- package/dist/main.es159.js +23 -0
- package/dist/main.es16.js +692 -0
- package/dist/main.es160.js +23 -0
- package/dist/main.es161.js +23 -0
- package/dist/main.es162.js +23 -0
- package/dist/main.es163.js +23 -0
- package/dist/main.es164.js +20 -0
- package/dist/main.es165.js +28 -0
- package/dist/main.es166.js +28 -0
- package/dist/main.es167.js +28 -0
- package/dist/main.es168.js +28 -0
- package/dist/main.es169.js +25 -0
- package/dist/main.es17.js +95 -0
- package/dist/main.es170.js +23 -0
- package/dist/main.es171.js +23 -0
- package/dist/main.es172.js +20 -0
- package/dist/main.es173.js +20 -0
- package/dist/main.es174.js +23 -0
- package/dist/main.es175.js +18 -0
- package/dist/main.es176.js +23 -0
- package/dist/main.es177.js +20 -0
- package/dist/main.es178.js +25 -0
- package/dist/main.es179.js +25 -0
- package/dist/main.es18.js +78 -0
- package/dist/main.es180.js +23 -0
- package/dist/main.es181.js +23 -0
- package/dist/main.es182.js +20 -0
- package/dist/main.es183.js +23 -0
- package/dist/main.es184.js +23 -0
- package/dist/main.es185.js +32 -0
- package/dist/main.es186.js +23 -0
- package/dist/main.es187.js +32 -0
- package/dist/main.es188.js +37 -0
- package/dist/main.es189.js +32 -0
- package/dist/main.es19.js +143 -0
- package/dist/main.es190.js +39 -0
- package/dist/main.es191.js +28 -0
- package/dist/main.es192.js +20 -0
- package/dist/main.es193.js +20 -0
- package/dist/main.es194.js +25 -0
- package/dist/main.es195.js +23 -0
- package/dist/main.es196.js +40 -0
- package/dist/main.es197.js +23 -0
- package/dist/main.es198.js +21 -0
- package/dist/main.es199.js +19 -0
- package/dist/main.es2.js +34 -0
- package/dist/main.es20.js +152 -0
- package/dist/main.es200.js +20 -0
- package/dist/main.es201.js +20 -0
- package/dist/main.es202.js +33 -0
- package/dist/main.es203.js +23 -0
- package/dist/main.es204.js +23 -0
- package/dist/main.es205.js +28 -0
- package/dist/main.es206.js +23 -0
- package/dist/main.es207.js +23 -0
- package/dist/main.es208.js +21 -0
- package/dist/main.es209.js +23 -0
- package/dist/main.es21.js +108 -0
- package/dist/main.es210.js +28 -0
- package/dist/main.es211.js +23 -0
- package/dist/main.es212.js +23 -0
- package/dist/main.es213.js +23 -0
- package/dist/main.es214.js +28 -0
- package/dist/main.es215.js +28 -0
- package/dist/main.es216.js +20 -0
- package/dist/main.es217.js +23 -0
- package/dist/main.es218.js +35 -0
- package/dist/main.es219.js +28 -0
- package/dist/main.es22.js +4 -0
- package/dist/main.es220.js +29 -0
- package/dist/main.es221.js +24 -0
- package/dist/main.es222.js +23 -0
- package/dist/main.es223.js +28 -0
- package/dist/main.es224.js +25 -0
- package/dist/main.es225.js +23 -0
- package/dist/main.es226.js +23 -0
- package/dist/main.es227.js +20 -0
- package/dist/main.es228.js +20 -0
- package/dist/main.es229.js +23 -0
- package/dist/main.es23.js +169 -0
- package/dist/main.es230.js +23 -0
- package/dist/main.es231.js +25 -0
- package/dist/main.es232.js +38 -0
- package/dist/main.es233.js +30 -0
- package/dist/main.es234.js +28 -0
- package/dist/main.es235.js +23 -0
- package/dist/main.es236.js +22 -0
- package/dist/main.es237.js +28 -0
- package/dist/main.es238.js +23 -0
- package/dist/main.es239.js +18 -0
- package/dist/main.es24.js +201 -0
- package/dist/main.es240.js +23 -0
- package/dist/main.es241.js +25 -0
- package/dist/main.es242.js +23 -0
- package/dist/main.es243.js +23 -0
- package/dist/main.es244.js +23 -0
- package/dist/main.es245.js +23 -0
- package/dist/main.es246.js +23 -0
- package/dist/main.es247.js +23 -0
- package/dist/main.es248.js +23 -0
- package/dist/main.es249.js +23 -0
- package/dist/main.es25.js +55 -0
- package/dist/main.es250.js +30 -0
- package/dist/main.es251.js +23 -0
- package/dist/main.es252.js +23 -0
- package/dist/main.es253.js +28 -0
- package/dist/main.es254.js +23 -0
- package/dist/main.es255.js +23 -0
- package/dist/main.es256.js +28 -0
- package/dist/main.es257.js +33 -0
- package/dist/main.es258.js +28 -0
- package/dist/main.es259.js +28 -0
- package/dist/main.es26.js +12 -0
- package/dist/main.es260.js +23 -0
- package/dist/main.es261.js +25 -0
- package/dist/main.es262.js +28 -0
- package/dist/main.es263.js +30 -0
- package/dist/main.es264.js +23 -0
- package/dist/main.es265.js +23 -0
- package/dist/main.es266.js +23 -0
- package/dist/main.es267.js +23 -0
- package/dist/main.es268.js +28 -0
- package/dist/main.es269.js +252 -0
- package/dist/main.es27.js +6 -0
- package/dist/main.es270.js +22 -0
- package/dist/main.es271.js +25 -0
- package/dist/main.es272.js +7 -0
- package/dist/main.es273.js +383 -0
- package/dist/main.es274.js +54 -0
- package/dist/main.es275.js +15 -0
- package/dist/main.es276.js +64 -0
- package/dist/main.es277.js +4 -0
- package/dist/main.es278.js +4 -0
- package/dist/main.es279.js +4 -0
- package/dist/main.es28.js +103 -0
- package/dist/main.es280.js +4 -0
- package/dist/main.es281.js +4 -0
- package/dist/main.es282.js +4 -0
- package/dist/main.es283.js +4 -0
- package/dist/main.es284.js +4 -0
- package/dist/main.es285.js +4 -0
- package/dist/main.es286.js +4 -0
- package/dist/main.es287.js +4 -0
- package/dist/main.es288.js +4 -0
- package/dist/main.es289.js +4 -0
- package/dist/main.es29.js +62 -0
- package/dist/main.es290.js +4 -0
- package/dist/main.es291.js +4 -0
- package/dist/main.es292.js +4 -0
- package/dist/main.es293.js +4 -0
- package/dist/main.es294.js +4 -0
- package/dist/main.es295.js +4 -0
- package/dist/main.es296.js +4 -0
- package/dist/main.es297.js +4 -0
- package/dist/main.es298.js +4 -0
- package/dist/main.es299.js +4 -0
- package/dist/main.es3.js +70 -0
- package/dist/main.es30.js +69 -0
- package/dist/main.es300.js +4 -0
- package/dist/main.es301.js +4 -0
- package/dist/main.es302.js +4 -0
- package/dist/main.es303.js +4 -0
- package/dist/main.es304.js +4 -0
- package/dist/main.es305.js +4 -0
- package/dist/main.es306.js +4 -0
- package/dist/main.es307.js +4 -0
- package/dist/main.es308.js +4 -0
- package/dist/main.es309.js +4 -0
- package/dist/main.es31.js +801 -0
- package/dist/main.es310.js +4 -0
- package/dist/main.es311.js +4 -0
- package/dist/main.es312.js +4 -0
- package/dist/main.es313.js +4 -0
- package/dist/main.es314.js +4 -0
- package/dist/main.es315.js +4 -0
- package/dist/main.es316.js +4 -0
- package/dist/main.es317.js +4 -0
- package/dist/main.es318.js +4 -0
- package/dist/main.es319.js +4 -0
- package/dist/main.es32.js +127 -0
- package/dist/main.es320.js +4 -0
- package/dist/main.es321.js +4 -0
- package/dist/main.es322.js +4 -0
- package/dist/main.es323.js +4 -0
- package/dist/main.es324.js +4 -0
- package/dist/main.es325.js +4 -0
- package/dist/main.es326.js +4 -0
- package/dist/main.es327.js +4 -0
- package/dist/main.es328.js +4 -0
- package/dist/main.es329.js +4 -0
- package/dist/main.es33.js +4 -0
- package/dist/main.es330.js +4 -0
- package/dist/main.es331.js +4 -0
- package/dist/main.es332.js +4 -0
- package/dist/main.es333.js +4 -0
- package/dist/main.es334.js +4 -0
- package/dist/main.es335.js +4 -0
- package/dist/main.es336.js +4 -0
- package/dist/main.es337.js +4 -0
- package/dist/main.es338.js +4 -0
- package/dist/main.es339.js +4 -0
- package/dist/main.es34.js +29 -0
- package/dist/main.es340.js +4 -0
- package/dist/main.es341.js +4 -0
- package/dist/main.es342.js +4 -0
- package/dist/main.es343.js +4 -0
- package/dist/main.es344.js +4 -0
- package/dist/main.es345.js +4 -0
- package/dist/main.es346.js +4 -0
- package/dist/main.es347.js +4 -0
- package/dist/main.es348.js +4 -0
- package/dist/main.es349.js +4 -0
- package/dist/main.es35.js +34 -0
- package/dist/main.es350.js +4 -0
- package/dist/main.es351.js +4 -0
- package/dist/main.es352.js +4 -0
- package/dist/main.es353.js +4 -0
- package/dist/main.es354.js +4 -0
- package/dist/main.es355.js +4 -0
- package/dist/main.es356.js +4 -0
- package/dist/main.es357.js +4 -0
- package/dist/main.es358.js +4 -0
- package/dist/main.es359.js +4 -0
- package/dist/main.es36.js +36 -0
- package/dist/main.es360.js +4 -0
- package/dist/main.es361.js +4 -0
- package/dist/main.es362.js +4 -0
- package/dist/main.es363.js +4 -0
- package/dist/main.es364.js +4 -0
- package/dist/main.es365.js +4 -0
- package/dist/main.es366.js +4 -0
- package/dist/main.es367.js +4 -0
- package/dist/main.es368.js +4 -0
- package/dist/main.es369.js +4 -0
- package/dist/main.es37.js +41 -0
- package/dist/main.es370.js +4 -0
- package/dist/main.es371.js +4 -0
- package/dist/main.es372.js +4 -0
- package/dist/main.es373.js +4 -0
- package/dist/main.es374.js +4 -0
- package/dist/main.es375.js +4 -0
- package/dist/main.es376.js +4 -0
- package/dist/main.es377.js +4 -0
- package/dist/main.es378.js +4 -0
- package/dist/main.es379.js +4 -0
- package/dist/main.es38.js +35 -0
- package/dist/main.es380.js +4 -0
- package/dist/main.es381.js +4 -0
- package/dist/main.es382.js +4 -0
- package/dist/main.es383.js +4 -0
- package/dist/main.es384.js +4 -0
- package/dist/main.es385.js +4 -0
- package/dist/main.es386.js +4 -0
- package/dist/main.es387.js +4 -0
- package/dist/main.es388.js +4 -0
- package/dist/main.es389.js +4 -0
- package/dist/main.es39.js +20 -0
- package/dist/main.es390.js +4 -0
- package/dist/main.es391.js +4 -0
- package/dist/main.es392.js +4 -0
- package/dist/main.es393.js +4 -0
- package/dist/main.es394.js +4 -0
- package/dist/main.es395.js +4 -0
- package/dist/main.es396.js +4 -0
- package/dist/main.es397.js +4 -0
- package/dist/main.es398.js +4 -0
- package/dist/main.es399.js +4 -0
- package/dist/main.es4.js +19 -0
- package/dist/main.es40.js +20 -0
- package/dist/main.es400.js +4 -0
- package/dist/main.es401.js +4 -0
- package/dist/main.es402.js +4 -0
- package/dist/main.es403.js +4 -0
- package/dist/main.es404.js +4 -0
- package/dist/main.es405.js +4 -0
- package/dist/main.es406.js +4 -0
- package/dist/main.es407.js +4 -0
- package/dist/main.es408.js +4 -0
- package/dist/main.es409.js +4 -0
- package/dist/main.es41.js +25 -0
- package/dist/main.es410.js +4 -0
- package/dist/main.es411.js +4 -0
- package/dist/main.es412.js +4 -0
- package/dist/main.es413.js +4 -0
- package/dist/main.es414.js +4 -0
- package/dist/main.es415.js +4 -0
- package/dist/main.es416.js +4 -0
- package/dist/main.es417.js +4 -0
- package/dist/main.es418.js +4 -0
- package/dist/main.es419.js +4 -0
- package/dist/main.es42.js +28 -0
- package/dist/main.es420.js +4 -0
- package/dist/main.es421.js +4 -0
- package/dist/main.es422.js +4 -0
- package/dist/main.es423.js +4 -0
- package/dist/main.es424.js +4 -0
- package/dist/main.es425.js +4 -0
- package/dist/main.es426.js +4 -0
- package/dist/main.es427.js +4 -0
- package/dist/main.es428.js +4 -0
- package/dist/main.es429.js +4 -0
- package/dist/main.es43.js +23 -0
- package/dist/main.es430.js +4 -0
- package/dist/main.es431.js +4 -0
- package/dist/main.es432.js +4 -0
- package/dist/main.es433.js +4 -0
- package/dist/main.es434.js +4 -0
- package/dist/main.es435.js +4 -0
- package/dist/main.es436.js +4 -0
- package/dist/main.es437.js +4 -0
- package/dist/main.es438.js +4 -0
- package/dist/main.es439.js +4 -0
- package/dist/main.es44.js +44 -0
- package/dist/main.es440.js +4 -0
- package/dist/main.es441.js +4 -0
- package/dist/main.es442.js +4 -0
- package/dist/main.es443.js +4 -0
- package/dist/main.es444.js +4 -0
- package/dist/main.es445.js +4 -0
- package/dist/main.es446.js +4 -0
- package/dist/main.es447.js +4 -0
- package/dist/main.es448.js +4 -0
- package/dist/main.es449.js +4 -0
- package/dist/main.es45.js +38 -0
- package/dist/main.es450.js +4 -0
- package/dist/main.es451.js +4 -0
- package/dist/main.es452.js +4 -0
- package/dist/main.es453.js +4 -0
- package/dist/main.es454.js +4 -0
- package/dist/main.es455.js +4 -0
- package/dist/main.es456.js +4 -0
- package/dist/main.es457.js +4 -0
- package/dist/main.es458.js +4 -0
- package/dist/main.es459.js +4 -0
- package/dist/main.es46.js +23 -0
- package/dist/main.es460.js +4 -0
- package/dist/main.es461.js +4 -0
- package/dist/main.es462.js +4 -0
- package/dist/main.es463.js +4 -0
- package/dist/main.es464.js +4 -0
- package/dist/main.es465.js +4 -0
- package/dist/main.es466.js +4 -0
- package/dist/main.es467.js +4 -0
- package/dist/main.es468.js +4 -0
- package/dist/main.es469.js +4 -0
- package/dist/main.es47.js +23 -0
- package/dist/main.es470.js +4 -0
- package/dist/main.es471.js +4 -0
- package/dist/main.es472.js +4 -0
- package/dist/main.es473.js +4 -0
- package/dist/main.es474.js +4 -0
- package/dist/main.es475.js +4 -0
- package/dist/main.es476.js +4 -0
- package/dist/main.es477.js +4 -0
- package/dist/main.es478.js +4 -0
- package/dist/main.es479.js +4 -0
- package/dist/main.es48.js +24 -0
- package/dist/main.es480.js +4 -0
- package/dist/main.es481.js +4 -0
- package/dist/main.es482.js +4 -0
- package/dist/main.es483.js +4 -0
- package/dist/main.es484.js +4 -0
- package/dist/main.es485.js +4 -0
- package/dist/main.es486.js +4 -0
- package/dist/main.es487.js +4 -0
- package/dist/main.es488.js +4 -0
- package/dist/main.es489.js +4 -0
- package/dist/main.es49.js +35 -0
- package/dist/main.es490.js +4 -0
- package/dist/main.es491.js +4 -0
- package/dist/main.es492.js +4 -0
- package/dist/main.es493.js +4 -0
- package/dist/main.es494.js +4 -0
- package/dist/main.es495.js +4 -0
- package/dist/main.es496.js +4 -0
- package/dist/main.es497.js +4 -0
- package/dist/main.es498.js +4 -0
- package/dist/main.es499.js +4 -0
- package/dist/main.es5.js +586 -0
- package/dist/main.es50.js +30 -0
- package/dist/main.es500.js +4 -0
- package/dist/main.es501.js +4 -0
- package/dist/main.es502.js +4 -0
- package/dist/main.es503.js +4 -0
- package/dist/main.es504.js +4 -0
- package/dist/main.es505.js +4 -0
- package/dist/main.es506.js +4 -0
- package/dist/main.es507.js +4 -0
- package/dist/main.es508.js +4 -0
- package/dist/main.es509.js +4 -0
- package/dist/main.es51.js +34 -0
- package/dist/main.es510.js +4 -0
- package/dist/main.es511.js +88 -0
- package/dist/main.es52.js +20 -0
- package/dist/main.es53.js +20 -0
- package/dist/main.es54.js +23 -0
- package/dist/main.es55.js +28 -0
- package/dist/main.es56.js +28 -0
- package/dist/main.es57.js +23 -0
- package/dist/main.es58.js +25 -0
- package/dist/main.es59.js +24 -0
- package/dist/main.es6.js +5872 -0
- package/dist/main.es60.js +23 -0
- package/dist/main.es61.js +23 -0
- package/dist/main.es62.js +23 -0
- package/dist/main.es63.js +23 -0
- package/dist/main.es64.js +23 -0
- package/dist/main.es65.js +20 -0
- package/dist/main.es66.js +23 -0
- package/dist/main.es67.js +23 -0
- package/dist/main.es68.js +21 -0
- package/dist/main.es69.js +20 -0
- package/dist/main.es7.js +1904 -0
- package/dist/main.es70.js +23 -0
- package/dist/main.es71.js +28 -0
- package/dist/main.es72.js +28 -0
- package/dist/main.es73.js +23 -0
- package/dist/main.es74.js +23 -0
- package/dist/main.es75.js +23 -0
- package/dist/main.es76.js +23 -0
- package/dist/main.es77.js +31 -0
- package/dist/main.es78.js +23 -0
- package/dist/main.es79.js +33 -0
- package/dist/main.es8.js +42 -0
- package/dist/main.es80.js +30 -0
- package/dist/main.es81.js +23 -0
- package/dist/main.es82.js +22 -0
- package/dist/main.es83.js +25 -0
- package/dist/main.es84.js +28 -0
- package/dist/main.es85.js +35 -0
- package/dist/main.es86.js +23 -0
- package/dist/main.es87.js +23 -0
- package/dist/main.es88.js +33 -0
- package/dist/main.es89.js +20 -0
- package/dist/main.es9.js +4 -0
- package/dist/main.es90.js +28 -0
- package/dist/main.es91.js +28 -0
- package/dist/main.es92.js +23 -0
- package/dist/main.es93.js +23 -0
- package/dist/main.es94.js +24 -0
- package/dist/main.es95.js +28 -0
- package/dist/main.es96.js +28 -0
- package/dist/main.es97.js +23 -0
- package/dist/main.es98.js +23 -0
- package/dist/main.es99.js +28 -0
- package/dist/style.css +1 -0
- package/package.json +1 -1
- package/src/assets/svgIcons/collapse_all.svg +4 -0
- package/src/assets/svgIcons/module.svg +3 -0
- package/src/assets/svgIcons/optimizer.svg +6 -0
- package/src/assets/svgIcons/string_design.svg +5 -0
- package/src/assets/theme.js +0 -1
- package/src/components/buttons/buttonIcon/index.vue +3 -1
- package/src/components/icon/index.vue +1 -0
- package/src/components/infoText/index.vue +18 -115
- package/src/components/inputs/inputNumber/index.vue +170 -8
- package/src/components/inputs/inputText/index.vue +23 -2
- package/src/components/inputs/select/index.vue +57 -17
- package/src/components/inputs/select/option/index.vue +11 -2
- package/src/components/spinner/index.vue +11 -0
- package/src/components/stringDesign/DropdownMenu/index.vue +485 -0
- package/src/assets/svgIcons/checkmark.svg +0 -3
- package/src/components/infoText/constants.js +0 -4
@@ -3,6 +3,7 @@
|
|
3
3
|
<Container>
|
4
4
|
<SpinnerWrapper data-test-id="spinner_full_wrapper">
|
5
5
|
<SpinnerSvg
|
6
|
+
:class="{ white: isWhite }"
|
6
7
|
data-test-id="spinner_full_icon"
|
7
8
|
:style="{ width: size, height: size }"
|
8
9
|
/>
|
@@ -16,6 +17,7 @@
|
|
16
17
|
>
|
17
18
|
<SpinnerWrapper data-test-id="spinner_wrapper">
|
18
19
|
<SpinnerSvg
|
20
|
+
:class="{ white: isWhite }"
|
19
21
|
data-test-id="spinner_icon"
|
20
22
|
:style="{ width: size, height: size }"
|
21
23
|
/>
|
@@ -54,6 +56,10 @@
|
|
54
56
|
const SpinnerWrapper = styled.div`
|
55
57
|
width: ${(props) => (props.size ? props.size : '60px')};
|
56
58
|
height: auto;
|
59
|
+
|
60
|
+
.white {
|
61
|
+
filter: brightness(0) invert(1);
|
62
|
+
}
|
57
63
|
`
|
58
64
|
|
59
65
|
export default {
|
@@ -80,6 +86,11 @@
|
|
80
86
|
default: '60px',
|
81
87
|
type: String,
|
82
88
|
},
|
89
|
+
isWhite: {
|
90
|
+
required: false,
|
91
|
+
default: false,
|
92
|
+
type: Boolean,
|
93
|
+
},
|
83
94
|
},
|
84
95
|
}
|
85
96
|
</script>
|
@@ -0,0 +1,485 @@
|
|
1
|
+
<template>
|
2
|
+
<PageContainer>
|
3
|
+
<PageTitleContainer>
|
4
|
+
<SectionTitleText>{{ $gettext('inverters') }}</SectionTitleText>
|
5
|
+
<ButtonIcon
|
6
|
+
custom-color="black"
|
7
|
+
:icon-name="hasExpandedSection ? 'collapse_all' : 'expand'"
|
8
|
+
:text="$gettext(hasExpandedSection ? 'collapse_all' : 'expand_all')"
|
9
|
+
@click="toggleAllSections"
|
10
|
+
/>
|
11
|
+
</PageTitleContainer>
|
12
|
+
<SectionContainer v-for="item in dataList" :key="item.inverter_id">
|
13
|
+
<TitleContainer>
|
14
|
+
<IconWrapper size="20px" @click="toggleSection(item.inverter_id)">
|
15
|
+
<RCIcon
|
16
|
+
color="white"
|
17
|
+
:name="isExpanded(item.inverter_id) ? 'arrow_up' : 'arrow_down'"
|
18
|
+
size="10px"
|
19
|
+
/>
|
20
|
+
</IconWrapper>
|
21
|
+
<TextContainer>
|
22
|
+
<TitleText>{{ item.name }}</TitleText>
|
23
|
+
<TitleSubText>{{ item.brand_name }}</TitleSubText>
|
24
|
+
</TextContainer>
|
25
|
+
<IconsContainer>
|
26
|
+
<IconWrapper>
|
27
|
+
<RCIcon color="red" cursor="pointer" name="delete" size="14px" />
|
28
|
+
</IconWrapper>
|
29
|
+
<IconWrapper @click="$emit('on-edit', item)">
|
30
|
+
<RCIcon
|
31
|
+
color="white"
|
32
|
+
cursor="pointer"
|
33
|
+
name="edit_button"
|
34
|
+
size="14px"
|
35
|
+
/>
|
36
|
+
</IconWrapper>
|
37
|
+
<IconWrapper>
|
38
|
+
<RCIcon
|
39
|
+
color="white"
|
40
|
+
cursor="pointer"
|
41
|
+
name="document"
|
42
|
+
size="14px"
|
43
|
+
/>
|
44
|
+
</IconWrapper>
|
45
|
+
</IconsContainer>
|
46
|
+
</TitleContainer>
|
47
|
+
<MarkersContainer>
|
48
|
+
<MarkerItem background-color="green">{{ item.power }}%</MarkerItem>
|
49
|
+
<MarkerItem>{{
|
50
|
+
item.has_template ? 'Template!' : 'No Template!'
|
51
|
+
}}</MarkerItem>
|
52
|
+
<MarkerItem>
|
53
|
+
<RCIcon color="white" :name="getIconName(item.type)" size="14px" />
|
54
|
+
<div>{{ getTypeName(item.type) }}</div>
|
55
|
+
</MarkerItem>
|
56
|
+
<ContainerValue>{{ item.power_kWp }} kWp</ContainerValue>
|
57
|
+
</MarkersContainer>
|
58
|
+
<BoxContainer
|
59
|
+
v-for="mppt in item.mppts"
|
60
|
+
v-show="isExpanded(item.id)"
|
61
|
+
:key="mppt.id"
|
62
|
+
>
|
63
|
+
<BoxTitleWrapper>
|
64
|
+
<IconWrapper size="20px" @click="toggleMppt(mppt.id)">
|
65
|
+
<RCIcon
|
66
|
+
color="white"
|
67
|
+
cursor="pointer"
|
68
|
+
:name="isMpptExpanded(mppt.id) ? 'arrow_up' : 'arrow_down'"
|
69
|
+
size="10px"
|
70
|
+
/>
|
71
|
+
</IconWrapper>
|
72
|
+
<BoxTitleText>{{ mppt.name }}</BoxTitleText>
|
73
|
+
<BoxIconsContainer>
|
74
|
+
<BoxIconWrapper>
|
75
|
+
<RCIcon
|
76
|
+
color="white"
|
77
|
+
cursor="pointer"
|
78
|
+
name="string_design"
|
79
|
+
size="11px"
|
80
|
+
/>
|
81
|
+
<div>{{ mppt.num_strings }}/{{ mppt.num_strings_available }}</div>
|
82
|
+
</BoxIconWrapper>
|
83
|
+
<BoxIconWrapper>
|
84
|
+
<RCIcon
|
85
|
+
color="white"
|
86
|
+
cursor="pointer"
|
87
|
+
name="panels_tool"
|
88
|
+
size="11px"
|
89
|
+
/>
|
90
|
+
<div>{{ mppt.num_modules }}</div>
|
91
|
+
</BoxIconWrapper>
|
92
|
+
</BoxIconsContainer>
|
93
|
+
</BoxTitleWrapper>
|
94
|
+
<div v-show="isMpptExpanded(mppt.id)">
|
95
|
+
<StringBox v-for="string in mppt.strings" :key="string.id">
|
96
|
+
<StringColorContainer :background-color="string.color" />
|
97
|
+
<StringContainer>
|
98
|
+
<div>{{ string.name }}</div>
|
99
|
+
<StringIconContainer>
|
100
|
+
<div>{{ string.num_modules }}</div>
|
101
|
+
<RCIcon color="white" name="module" size="14px" />
|
102
|
+
</StringIconContainer>
|
103
|
+
</StringContainer>
|
104
|
+
</StringBox>
|
105
|
+
</div>
|
106
|
+
</BoxContainer>
|
107
|
+
</SectionContainer>
|
108
|
+
</PageContainer>
|
109
|
+
</template>
|
110
|
+
|
111
|
+
<script>
|
112
|
+
// import DropdownMenu from '@eturnity/eturnity_reusable_components/src/components/stringDesign/DropdownMenu'
|
113
|
+
import styled from 'vue3-styled-components'
|
114
|
+
import RCIcon from '../../icon'
|
115
|
+
import ButtonIcon from '../../buttons/buttonIcon'
|
116
|
+
|
117
|
+
const PageContainer = styled.div``
|
118
|
+
|
119
|
+
const SectionContainer = styled.div`
|
120
|
+
&:not(:last-child) {
|
121
|
+
margin-bottom: 8px;
|
122
|
+
}
|
123
|
+
background-color: ${(props) => props.theme.colors.black};
|
124
|
+
padding: 8px;
|
125
|
+
border-radius: 4px;
|
126
|
+
color: ${(props) => props.theme.colors.white};
|
127
|
+
`
|
128
|
+
|
129
|
+
const TitleContainer = styled.div`
|
130
|
+
display: flex;
|
131
|
+
gap: 14px;
|
132
|
+
align-items: center;
|
133
|
+
`
|
134
|
+
|
135
|
+
const IconsContainer = styled.div`
|
136
|
+
display: flex;
|
137
|
+
align-items: center;
|
138
|
+
margin-left: auto;
|
139
|
+
`
|
140
|
+
|
141
|
+
const TextContainer = styled.div`
|
142
|
+
display: grid;
|
143
|
+
`
|
144
|
+
|
145
|
+
const TitleText = styled.div`
|
146
|
+
font-size: 13px;
|
147
|
+
`
|
148
|
+
|
149
|
+
const TitleSubText = styled.div`
|
150
|
+
font-size: 10px;
|
151
|
+
`
|
152
|
+
|
153
|
+
const MarkersContainer = styled.div`
|
154
|
+
display: flex;
|
155
|
+
gap: 8px;
|
156
|
+
margin: 8px 0 16px 30px;
|
157
|
+
align-items: end;
|
158
|
+
`
|
159
|
+
|
160
|
+
const MarkerAttrs = { backgroundColor: String }
|
161
|
+
const MarkerItem = styled('div', MarkerAttrs)`
|
162
|
+
display: flex;
|
163
|
+
gap: 5px;
|
164
|
+
align-items: center;
|
165
|
+
padding: 2px 7px;
|
166
|
+
border-radius: 4px;
|
167
|
+
background-color: ${(props) =>
|
168
|
+
props.backgroundColor
|
169
|
+
? props.theme.colors[props.backgroundColor]
|
170
|
+
: props.theme.colors.grey6};
|
171
|
+
font-size: 11px;
|
172
|
+
color: ${(props) => props.theme.colors.white};
|
173
|
+
`
|
174
|
+
|
175
|
+
const ContainerValue = styled.div`
|
176
|
+
font-size: 11px;
|
177
|
+
`
|
178
|
+
|
179
|
+
const IconAttrs = { size: { type: String, default: '36px' } }
|
180
|
+
const IconWrapper = styled('div', IconAttrs)`
|
181
|
+
display: flex;
|
182
|
+
align-items: center;
|
183
|
+
justify-content: center;
|
184
|
+
border-radius: 4px;
|
185
|
+
cursor: pointer;
|
186
|
+
width: ${(props) => props.size};
|
187
|
+
height: ${(props) => props.size};
|
188
|
+
|
189
|
+
&:hover {
|
190
|
+
background: rgba(255, 255, 255, 0.1);
|
191
|
+
}
|
192
|
+
|
193
|
+
&:active {
|
194
|
+
background: rgba(255, 255, 255, 0.2);
|
195
|
+
}
|
196
|
+
`
|
197
|
+
|
198
|
+
const BoxContainer = styled.div`
|
199
|
+
border-radius: 4px;
|
200
|
+
background: ${(props) => props.theme.colors.grey6};
|
201
|
+
padding: 8px;
|
202
|
+
margin-top: 8px;
|
203
|
+
margin-left: 30px;
|
204
|
+
`
|
205
|
+
|
206
|
+
const BoxTitleWrapper = styled.div`
|
207
|
+
display: flex;
|
208
|
+
align-items: center;
|
209
|
+
gap: 8px;
|
210
|
+
`
|
211
|
+
|
212
|
+
const BoxTitleText = styled.div`
|
213
|
+
font-size: 13px;
|
214
|
+
`
|
215
|
+
|
216
|
+
const BoxIconsContainer = styled.div`
|
217
|
+
display: flex;
|
218
|
+
gap: 8px;
|
219
|
+
align-items: center;
|
220
|
+
margin-left: auto;
|
221
|
+
font-size: 11px;
|
222
|
+
`
|
223
|
+
|
224
|
+
const BoxIconWrapper = styled.div`
|
225
|
+
display: flex;
|
226
|
+
align-items: center;
|
227
|
+
justify-content: center;
|
228
|
+
gap: 4px;
|
229
|
+
padding: 4px;
|
230
|
+
`
|
231
|
+
|
232
|
+
const StringBox = styled.div`
|
233
|
+
display: grid;
|
234
|
+
grid-template-columns: auto 1fr;
|
235
|
+
margin-top: 8px;
|
236
|
+
border-radius: 4px;
|
237
|
+
border: 1px solid ${(props) => props.theme.colors.grey3};
|
238
|
+
`
|
239
|
+
|
240
|
+
const StringContainer = styled.div`
|
241
|
+
display: flex;
|
242
|
+
justify-content: space-between;
|
243
|
+
gap: 8px;
|
244
|
+
padding: 8px;
|
245
|
+
font-size: 11px;
|
246
|
+
`
|
247
|
+
|
248
|
+
const StringColorAttrs = { backgroundColor: String }
|
249
|
+
const StringColorContainer = styled('div', StringColorAttrs)`
|
250
|
+
background-color: ${(props) => props.backgroundColor};
|
251
|
+
width: 22px;
|
252
|
+
min-height: 100%;
|
253
|
+
border-top-left-radius: 4px;
|
254
|
+
border-bottom-left-radius: 4px;
|
255
|
+
`
|
256
|
+
|
257
|
+
const StringIconContainer = styled.div`
|
258
|
+
display: flex;
|
259
|
+
align-items: center;
|
260
|
+
justify-content: center;
|
261
|
+
gap: 2px;
|
262
|
+
padding: 0 4px;
|
263
|
+
`
|
264
|
+
|
265
|
+
const PageTitleContainer = styled.div`
|
266
|
+
display: flex;
|
267
|
+
justify-content: space-between;
|
268
|
+
align-items: center;
|
269
|
+
padding-bottom: 8px;
|
270
|
+
`
|
271
|
+
|
272
|
+
const SectionTitleText = styled.div`
|
273
|
+
font-size: 14px;
|
274
|
+
font-weight: 700;
|
275
|
+
color: ${(props) => props.theme.colors.white};
|
276
|
+
`
|
277
|
+
|
278
|
+
export default {
|
279
|
+
name: 'DropdownMenu',
|
280
|
+
components: {
|
281
|
+
SectionContainer,
|
282
|
+
TitleContainer,
|
283
|
+
IconsContainer,
|
284
|
+
TextContainer,
|
285
|
+
TitleText,
|
286
|
+
TitleSubText,
|
287
|
+
RCIcon,
|
288
|
+
MarkersContainer,
|
289
|
+
MarkerItem,
|
290
|
+
ContainerValue,
|
291
|
+
IconWrapper,
|
292
|
+
BoxContainer,
|
293
|
+
BoxTitleWrapper,
|
294
|
+
BoxTitleText,
|
295
|
+
BoxIconsContainer,
|
296
|
+
BoxIconWrapper,
|
297
|
+
StringBox,
|
298
|
+
StringContainer,
|
299
|
+
StringColorContainer,
|
300
|
+
StringIconContainer,
|
301
|
+
PageTitleContainer,
|
302
|
+
SectionTitleText,
|
303
|
+
ButtonIcon,
|
304
|
+
PageContainer,
|
305
|
+
},
|
306
|
+
props: {
|
307
|
+
dataList: {
|
308
|
+
required: true,
|
309
|
+
type: Array,
|
310
|
+
},
|
311
|
+
},
|
312
|
+
emits: ['on-edit'],
|
313
|
+
data() {
|
314
|
+
return {
|
315
|
+
expandedInverters: [],
|
316
|
+
expandedMppts: [],
|
317
|
+
// mockData: [
|
318
|
+
// {
|
319
|
+
// id: 1,
|
320
|
+
// brand: 'PVI-10.0-TL-OUTD',
|
321
|
+
// model: 'ABB',
|
322
|
+
// num_modules: 20,
|
323
|
+
// power: 110,
|
324
|
+
// template: true,
|
325
|
+
// technology: 'PV',
|
326
|
+
// power_kWp: 24,
|
327
|
+
// mppt_list: [
|
328
|
+
// {
|
329
|
+
// id: 1,
|
330
|
+
// name: 'MPPT 1',
|
331
|
+
// num_modules: 2,
|
332
|
+
// num_strings: 2,
|
333
|
+
// num_strings_available: 3,
|
334
|
+
// strings: [
|
335
|
+
// {
|
336
|
+
// id: 1,
|
337
|
+
// name: 'String A',
|
338
|
+
// num_modules: 2,
|
339
|
+
// color: 'red',
|
340
|
+
// },
|
341
|
+
// {
|
342
|
+
// id: 2,
|
343
|
+
// name: 'String B',
|
344
|
+
// num_modules: 4,
|
345
|
+
// color: 'green',
|
346
|
+
// },
|
347
|
+
// {
|
348
|
+
// id: 3,
|
349
|
+
// name: 'String C',
|
350
|
+
// num_modules: 5,
|
351
|
+
// color: 'blue',
|
352
|
+
// },
|
353
|
+
// ],
|
354
|
+
// },
|
355
|
+
// {
|
356
|
+
// id: 2,
|
357
|
+
// name: 'String B',
|
358
|
+
// num_modules: 3,
|
359
|
+
// num_strings: 3,
|
360
|
+
// num_strings_available: 3,
|
361
|
+
// strings: [
|
362
|
+
// {
|
363
|
+
// id: 4,
|
364
|
+
// name: 'String D',
|
365
|
+
// num_modules: 3,
|
366
|
+
// color: 'purple',
|
367
|
+
// },
|
368
|
+
// {
|
369
|
+
// id: 5,
|
370
|
+
// name: 'String E',
|
371
|
+
// num_modules: 6,
|
372
|
+
// color: 'orange',
|
373
|
+
// },
|
374
|
+
// {
|
375
|
+
// id: 6,
|
376
|
+
// name: 'String F',
|
377
|
+
// num_modules: 8,
|
378
|
+
// color: 'yellow',
|
379
|
+
// },
|
380
|
+
// ],
|
381
|
+
// },
|
382
|
+
// ],
|
383
|
+
// },
|
384
|
+
// {
|
385
|
+
// id: 2,
|
386
|
+
// brand: 'SUN2000-15KTL-M0',
|
387
|
+
// model: 'Huawei',
|
388
|
+
// num_modules: 30,
|
389
|
+
// power: 95,
|
390
|
+
// template: false,
|
391
|
+
// technology: 'PV',
|
392
|
+
// power_kWp: 32,
|
393
|
+
// mppt_list: [
|
394
|
+
// {
|
395
|
+
// id: 3,
|
396
|
+
// name: 'MPPT A',
|
397
|
+
// num_modules: 4,
|
398
|
+
// num_strings: 1,
|
399
|
+
// num_strings_available: 2,
|
400
|
+
// strings: [
|
401
|
+
// {
|
402
|
+
// id: 7,
|
403
|
+
// name: 'String G',
|
404
|
+
// num_modules: 4,
|
405
|
+
// color: 'pink',
|
406
|
+
// },
|
407
|
+
// ],
|
408
|
+
// },
|
409
|
+
// {
|
410
|
+
// id: 4,
|
411
|
+
// name: 'MPPT B',
|
412
|
+
// num_modules: 6,
|
413
|
+
// num_strings: 2,
|
414
|
+
// num_strings_available: 2,
|
415
|
+
// strings: [
|
416
|
+
// {
|
417
|
+
// id: 8,
|
418
|
+
// name: 'String H',
|
419
|
+
// num_modules: 3,
|
420
|
+
// color: 'cyan',
|
421
|
+
// },
|
422
|
+
// {
|
423
|
+
// id: 9,
|
424
|
+
// name: 'String I',
|
425
|
+
// num_modules: 3,
|
426
|
+
// color: 'brown',
|
427
|
+
// },
|
428
|
+
// ],
|
429
|
+
// },
|
430
|
+
// ],
|
431
|
+
// },
|
432
|
+
// ],
|
433
|
+
}
|
434
|
+
},
|
435
|
+
computed: {
|
436
|
+
hasExpandedSection() {
|
437
|
+
return this.expandedInverters.length > 0
|
438
|
+
},
|
439
|
+
},
|
440
|
+
methods: {
|
441
|
+
isExpanded(id) {
|
442
|
+
return this.expandedInverters.includes(id)
|
443
|
+
},
|
444
|
+
isMpptExpanded(id) {
|
445
|
+
return this.expandedMppts.includes(id)
|
446
|
+
},
|
447
|
+
toggleSection(id) {
|
448
|
+
const index = this.expandedInverters.indexOf(id)
|
449
|
+
if (index === -1) {
|
450
|
+
this.expandedInverters.push(id)
|
451
|
+
} else {
|
452
|
+
this.expandedInverters.splice(index, 1)
|
453
|
+
}
|
454
|
+
},
|
455
|
+
toggleMppt(id) {
|
456
|
+
const index = this.expandedMppts.indexOf(id)
|
457
|
+
if (index === -1) {
|
458
|
+
this.expandedMppts.push(id)
|
459
|
+
} else {
|
460
|
+
this.expandedMppts.splice(index, 1)
|
461
|
+
}
|
462
|
+
},
|
463
|
+
toggleAllSections() {
|
464
|
+
if (this.hasExpandedSection) {
|
465
|
+
this.expandedInverters = []
|
466
|
+
this.expandedMppts = []
|
467
|
+
} else {
|
468
|
+
this.expandedInverters = this.dataList.map((item) => item.inverter_id)
|
469
|
+
this.expandedMppts = this.dataList.flatMap((item) =>
|
470
|
+
item.mppts.map((mppt) => mppt.id)
|
471
|
+
)
|
472
|
+
}
|
473
|
+
},
|
474
|
+
getTypeName(type) {
|
475
|
+
const value = type.toLowerCase()
|
476
|
+
return this.$gettext(`inverter_type_${value}`)
|
477
|
+
},
|
478
|
+
getIconName(type) {
|
479
|
+
// ToDo get correct icons
|
480
|
+
const value = type.toLowerCase()
|
481
|
+
return value === 'pv' ? 'pv' : 'optimizer'
|
482
|
+
},
|
483
|
+
},
|
484
|
+
}
|
485
|
+
</script>
|