@eturnity/eturnity_reusable_components 8.10.3-EPDM-13568.6 → 8.10.3-EPDM-14085.2
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/package.json +1 -1
- package/src/App.vue +6 -6
- package/src/assets/svgIcons/add_icon-1.svg +2 -2
- package/src/assets/svgIcons/battery.svg +2 -2
- package/src/assets/svgIcons/bell_alt.svg +3 -1
- package/src/assets/svgIcons/bexio.svg +3 -3
- package/src/assets/svgIcons/bom.svg +2 -2
- package/src/assets/svgIcons/collections.svg +1 -1
- package/src/assets/svgIcons/dashboard.svg +1 -1
- package/src/assets/svgIcons/deal_flow.svg +4 -2
- package/src/assets/svgIcons/documents.svg +3 -2
- package/src/assets/svgIcons/ems-1.svg +2 -2
- package/src/assets/svgIcons/ems.svg +2 -2
- package/src/assets/svgIcons/energy_meter.svg +12 -3
- package/src/assets/svgIcons/financing_for_pv.svg +5 -2
- package/src/assets/svgIcons/free_technology.svg +4 -2
- package/src/assets/svgIcons/initial_situation.svg +2 -2
- package/src/assets/svgIcons/integrations.svg +2 -2
- package/src/assets/svgIcons/inverter-1.svg +5 -0
- package/src/assets/svgIcons/inverter.svg +2 -2
- package/src/assets/svgIcons/profile.svg +3 -2
- package/src/assets/svgIcons/profitability.svg +2 -2
- package/src/assets/svgIcons/project_analysis.svg +3 -2
- package/src/assets/svgIcons/project_settings.svg +3 -2
- package/src/assets/svgIcons/pv.svg +2 -2
- package/src/assets/svgIcons/run_simulation.svg +2 -2
- package/src/assets/svgIcons/settings.svg +2 -2
- package/src/assets/svgIcons/subscriptions.svg +2 -2
- package/src/assets/svgIcons/subsidies-1.svg +5 -0
- package/src/assets/svgIcons/subsidies.svg +2 -2
- package/src/assets/svgIcons/variants.svg +5 -2
- package/src/assets/svgIcons/virtual_storage.svg +3 -2
- package/src/assets/theme.js +26 -602
- package/src/components/buttons/buttonIcon/index.vue +32 -110
- package/src/components/buttons/mainButton/index.vue +34 -73
- package/src/components/draggableCard/defaultProps.js +16 -0
- package/src/components/draggableCard/draggableCard.spec.js +99 -0
- package/src/components/draggableCard/draggableCard.stories.js +79 -0
- package/src/components/draggableCard/index.vue +354 -0
- package/src/components/filter/filterSettings.vue +3 -4
- package/src/components/icon/index.vue +6 -29
- package/src/components/infoCard/index.vue +8 -12
- package/src/components/infoText/index.vue +4 -7
- package/src/components/inputs/checkbox/index.vue +2 -2
- package/src/components/inputs/inputNumber/index.vue +0 -5
- package/src/components/inputs/inputText/index.vue +0 -6
- package/src/components/modals/modal/index.vue +4 -5
- package/src/components/projectMarker/index.vue +1 -2
- package/src/components/sideMenu/index.vue +48 -92
- package/src/components/spinner/index.vue +33 -66
- package/src/components/tableDropdown/index.vue +30 -29
- package/src/components/tables/mainTable/index.vue +9 -12
- package/dist/main.es.js +0 -7
- package/dist/main.es10.js +0 -10
- package/dist/main.es100.js +0 -23
- package/dist/main.es101.js +0 -23
- package/dist/main.es102.js +0 -20
- package/dist/main.es103.js +0 -20
- package/dist/main.es104.js +0 -20
- package/dist/main.es105.js +0 -37
- package/dist/main.es106.js +0 -28
- package/dist/main.es107.js +0 -32
- package/dist/main.es108.js +0 -18
- package/dist/main.es109.js +0 -33
- package/dist/main.es11.js +0 -2484
- package/dist/main.es110.js +0 -41
- package/dist/main.es111.js +0 -36
- package/dist/main.es112.js +0 -35
- package/dist/main.es113.js +0 -20
- package/dist/main.es114.js +0 -23
- package/dist/main.es115.js +0 -30
- package/dist/main.es116.js +0 -23
- package/dist/main.es117.js +0 -32
- package/dist/main.es118.js +0 -23
- package/dist/main.es119.js +0 -29
- package/dist/main.es12.js +0 -133
- package/dist/main.es120.js +0 -25
- package/dist/main.es121.js +0 -23
- package/dist/main.es122.js +0 -28
- package/dist/main.es123.js +0 -28
- package/dist/main.es124.js +0 -39
- package/dist/main.es125.js +0 -37
- package/dist/main.es126.js +0 -23
- package/dist/main.es127.js +0 -25
- package/dist/main.es128.js +0 -23
- package/dist/main.es129.js +0 -23
- package/dist/main.es13.js +0 -261
- package/dist/main.es130.js +0 -23
- package/dist/main.es131.js +0 -28
- package/dist/main.es132.js +0 -29
- package/dist/main.es133.js +0 -29
- package/dist/main.es134.js +0 -21
- package/dist/main.es135.js +0 -20
- package/dist/main.es136.js +0 -28
- package/dist/main.es137.js +0 -24
- package/dist/main.es138.js +0 -28
- package/dist/main.es139.js +0 -23
- package/dist/main.es14.js +0 -26
- package/dist/main.es140.js +0 -33
- package/dist/main.es141.js +0 -30
- package/dist/main.es142.js +0 -23
- package/dist/main.es143.js +0 -20
- package/dist/main.es144.js +0 -19
- package/dist/main.es145.js +0 -23
- package/dist/main.es146.js +0 -29
- package/dist/main.es147.js +0 -28
- package/dist/main.es148.js +0 -35
- package/dist/main.es149.js +0 -25
- package/dist/main.es15.js +0 -1058
- package/dist/main.es150.js +0 -25
- package/dist/main.es151.js +0 -23
- package/dist/main.es152.js +0 -41
- package/dist/main.es153.js +0 -41
- package/dist/main.es154.js +0 -25
- package/dist/main.es155.js +0 -23
- package/dist/main.es156.js +0 -23
- package/dist/main.es157.js +0 -25
- package/dist/main.es158.js +0 -23
- package/dist/main.es159.js +0 -23
- package/dist/main.es16.js +0 -692
- package/dist/main.es160.js +0 -23
- package/dist/main.es161.js +0 -23
- package/dist/main.es162.js +0 -23
- package/dist/main.es163.js +0 -23
- package/dist/main.es164.js +0 -20
- package/dist/main.es165.js +0 -28
- package/dist/main.es166.js +0 -28
- package/dist/main.es167.js +0 -28
- package/dist/main.es168.js +0 -28
- package/dist/main.es169.js +0 -25
- package/dist/main.es17.js +0 -95
- package/dist/main.es170.js +0 -23
- package/dist/main.es171.js +0 -23
- package/dist/main.es172.js +0 -20
- package/dist/main.es173.js +0 -20
- package/dist/main.es174.js +0 -23
- package/dist/main.es175.js +0 -18
- package/dist/main.es176.js +0 -23
- package/dist/main.es177.js +0 -20
- package/dist/main.es178.js +0 -25
- package/dist/main.es179.js +0 -25
- package/dist/main.es18.js +0 -78
- package/dist/main.es180.js +0 -23
- package/dist/main.es181.js +0 -23
- package/dist/main.es182.js +0 -20
- package/dist/main.es183.js +0 -23
- package/dist/main.es184.js +0 -23
- package/dist/main.es185.js +0 -32
- package/dist/main.es186.js +0 -23
- package/dist/main.es187.js +0 -32
- package/dist/main.es188.js +0 -37
- package/dist/main.es189.js +0 -32
- package/dist/main.es19.js +0 -143
- package/dist/main.es190.js +0 -39
- package/dist/main.es191.js +0 -28
- package/dist/main.es192.js +0 -20
- package/dist/main.es193.js +0 -20
- package/dist/main.es194.js +0 -25
- package/dist/main.es195.js +0 -23
- package/dist/main.es196.js +0 -40
- package/dist/main.es197.js +0 -23
- package/dist/main.es198.js +0 -21
- package/dist/main.es199.js +0 -19
- package/dist/main.es2.js +0 -34
- package/dist/main.es20.js +0 -152
- package/dist/main.es200.js +0 -20
- package/dist/main.es201.js +0 -20
- package/dist/main.es202.js +0 -33
- package/dist/main.es203.js +0 -23
- package/dist/main.es204.js +0 -23
- package/dist/main.es205.js +0 -28
- package/dist/main.es206.js +0 -23
- package/dist/main.es207.js +0 -23
- package/dist/main.es208.js +0 -21
- package/dist/main.es209.js +0 -23
- package/dist/main.es21.js +0 -108
- package/dist/main.es210.js +0 -28
- package/dist/main.es211.js +0 -23
- package/dist/main.es212.js +0 -23
- package/dist/main.es213.js +0 -23
- package/dist/main.es214.js +0 -28
- package/dist/main.es215.js +0 -28
- package/dist/main.es216.js +0 -20
- package/dist/main.es217.js +0 -23
- package/dist/main.es218.js +0 -35
- package/dist/main.es219.js +0 -28
- package/dist/main.es22.js +0 -4
- package/dist/main.es220.js +0 -29
- package/dist/main.es221.js +0 -24
- package/dist/main.es222.js +0 -23
- package/dist/main.es223.js +0 -28
- package/dist/main.es224.js +0 -25
- package/dist/main.es225.js +0 -23
- package/dist/main.es226.js +0 -23
- package/dist/main.es227.js +0 -20
- package/dist/main.es228.js +0 -20
- package/dist/main.es229.js +0 -23
- package/dist/main.es23.js +0 -169
- package/dist/main.es230.js +0 -23
- package/dist/main.es231.js +0 -25
- package/dist/main.es232.js +0 -38
- package/dist/main.es233.js +0 -30
- package/dist/main.es234.js +0 -28
- package/dist/main.es235.js +0 -23
- package/dist/main.es236.js +0 -22
- package/dist/main.es237.js +0 -28
- package/dist/main.es238.js +0 -23
- package/dist/main.es239.js +0 -18
- package/dist/main.es24.js +0 -201
- package/dist/main.es240.js +0 -23
- package/dist/main.es241.js +0 -25
- package/dist/main.es242.js +0 -23
- package/dist/main.es243.js +0 -23
- package/dist/main.es244.js +0 -23
- package/dist/main.es245.js +0 -23
- package/dist/main.es246.js +0 -23
- package/dist/main.es247.js +0 -23
- package/dist/main.es248.js +0 -23
- package/dist/main.es249.js +0 -23
- package/dist/main.es25.js +0 -55
- package/dist/main.es250.js +0 -30
- package/dist/main.es251.js +0 -23
- package/dist/main.es252.js +0 -23
- package/dist/main.es253.js +0 -28
- package/dist/main.es254.js +0 -23
- package/dist/main.es255.js +0 -23
- package/dist/main.es256.js +0 -28
- package/dist/main.es257.js +0 -33
- package/dist/main.es258.js +0 -28
- package/dist/main.es259.js +0 -28
- package/dist/main.es26.js +0 -12
- package/dist/main.es260.js +0 -23
- package/dist/main.es261.js +0 -25
- package/dist/main.es262.js +0 -28
- package/dist/main.es263.js +0 -30
- package/dist/main.es264.js +0 -23
- package/dist/main.es265.js +0 -23
- package/dist/main.es266.js +0 -23
- package/dist/main.es267.js +0 -23
- package/dist/main.es268.js +0 -28
- package/dist/main.es269.js +0 -252
- package/dist/main.es27.js +0 -6
- package/dist/main.es270.js +0 -22
- package/dist/main.es271.js +0 -25
- package/dist/main.es272.js +0 -7
- package/dist/main.es273.js +0 -383
- package/dist/main.es274.js +0 -54
- package/dist/main.es275.js +0 -15
- package/dist/main.es276.js +0 -64
- package/dist/main.es277.js +0 -4
- package/dist/main.es278.js +0 -4
- package/dist/main.es279.js +0 -4
- package/dist/main.es28.js +0 -103
- package/dist/main.es280.js +0 -4
- package/dist/main.es281.js +0 -4
- package/dist/main.es282.js +0 -4
- package/dist/main.es283.js +0 -4
- package/dist/main.es284.js +0 -4
- package/dist/main.es285.js +0 -4
- package/dist/main.es286.js +0 -4
- package/dist/main.es287.js +0 -4
- package/dist/main.es288.js +0 -4
- package/dist/main.es289.js +0 -4
- package/dist/main.es29.js +0 -62
- package/dist/main.es290.js +0 -4
- package/dist/main.es291.js +0 -4
- package/dist/main.es292.js +0 -4
- package/dist/main.es293.js +0 -4
- package/dist/main.es294.js +0 -4
- package/dist/main.es295.js +0 -4
- package/dist/main.es296.js +0 -4
- package/dist/main.es297.js +0 -4
- package/dist/main.es298.js +0 -4
- package/dist/main.es299.js +0 -4
- package/dist/main.es3.js +0 -70
- package/dist/main.es30.js +0 -69
- package/dist/main.es300.js +0 -4
- package/dist/main.es301.js +0 -4
- package/dist/main.es302.js +0 -4
- package/dist/main.es303.js +0 -4
- package/dist/main.es304.js +0 -4
- package/dist/main.es305.js +0 -4
- package/dist/main.es306.js +0 -4
- package/dist/main.es307.js +0 -4
- package/dist/main.es308.js +0 -4
- package/dist/main.es309.js +0 -4
- package/dist/main.es31.js +0 -801
- package/dist/main.es310.js +0 -4
- package/dist/main.es311.js +0 -4
- package/dist/main.es312.js +0 -4
- package/dist/main.es313.js +0 -4
- package/dist/main.es314.js +0 -4
- package/dist/main.es315.js +0 -4
- package/dist/main.es316.js +0 -4
- package/dist/main.es317.js +0 -4
- package/dist/main.es318.js +0 -4
- package/dist/main.es319.js +0 -4
- package/dist/main.es32.js +0 -127
- package/dist/main.es320.js +0 -4
- package/dist/main.es321.js +0 -4
- package/dist/main.es322.js +0 -4
- package/dist/main.es323.js +0 -4
- package/dist/main.es324.js +0 -4
- package/dist/main.es325.js +0 -4
- package/dist/main.es326.js +0 -4
- package/dist/main.es327.js +0 -4
- package/dist/main.es328.js +0 -4
- package/dist/main.es329.js +0 -4
- package/dist/main.es33.js +0 -4
- package/dist/main.es330.js +0 -4
- package/dist/main.es331.js +0 -4
- package/dist/main.es332.js +0 -4
- package/dist/main.es333.js +0 -4
- package/dist/main.es334.js +0 -4
- package/dist/main.es335.js +0 -4
- package/dist/main.es336.js +0 -4
- package/dist/main.es337.js +0 -4
- package/dist/main.es338.js +0 -4
- package/dist/main.es339.js +0 -4
- package/dist/main.es34.js +0 -29
- package/dist/main.es340.js +0 -4
- package/dist/main.es341.js +0 -4
- package/dist/main.es342.js +0 -4
- package/dist/main.es343.js +0 -4
- package/dist/main.es344.js +0 -4
- package/dist/main.es345.js +0 -4
- package/dist/main.es346.js +0 -4
- package/dist/main.es347.js +0 -4
- package/dist/main.es348.js +0 -4
- package/dist/main.es349.js +0 -4
- package/dist/main.es35.js +0 -34
- package/dist/main.es350.js +0 -4
- package/dist/main.es351.js +0 -4
- package/dist/main.es352.js +0 -4
- package/dist/main.es353.js +0 -4
- package/dist/main.es354.js +0 -4
- package/dist/main.es355.js +0 -4
- package/dist/main.es356.js +0 -4
- package/dist/main.es357.js +0 -4
- package/dist/main.es358.js +0 -4
- package/dist/main.es359.js +0 -4
- package/dist/main.es36.js +0 -36
- package/dist/main.es360.js +0 -4
- package/dist/main.es361.js +0 -4
- package/dist/main.es362.js +0 -4
- package/dist/main.es363.js +0 -4
- package/dist/main.es364.js +0 -4
- package/dist/main.es365.js +0 -4
- package/dist/main.es366.js +0 -4
- package/dist/main.es367.js +0 -4
- package/dist/main.es368.js +0 -4
- package/dist/main.es369.js +0 -4
- package/dist/main.es37.js +0 -41
- package/dist/main.es370.js +0 -4
- package/dist/main.es371.js +0 -4
- package/dist/main.es372.js +0 -4
- package/dist/main.es373.js +0 -4
- package/dist/main.es374.js +0 -4
- package/dist/main.es375.js +0 -4
- package/dist/main.es376.js +0 -4
- package/dist/main.es377.js +0 -4
- package/dist/main.es378.js +0 -4
- package/dist/main.es379.js +0 -4
- package/dist/main.es38.js +0 -35
- package/dist/main.es380.js +0 -4
- package/dist/main.es381.js +0 -4
- package/dist/main.es382.js +0 -4
- package/dist/main.es383.js +0 -4
- package/dist/main.es384.js +0 -4
- package/dist/main.es385.js +0 -4
- package/dist/main.es386.js +0 -4
- package/dist/main.es387.js +0 -4
- package/dist/main.es388.js +0 -4
- package/dist/main.es389.js +0 -4
- package/dist/main.es39.js +0 -20
- package/dist/main.es390.js +0 -4
- package/dist/main.es391.js +0 -4
- package/dist/main.es392.js +0 -4
- package/dist/main.es393.js +0 -4
- package/dist/main.es394.js +0 -4
- package/dist/main.es395.js +0 -4
- package/dist/main.es396.js +0 -4
- package/dist/main.es397.js +0 -4
- package/dist/main.es398.js +0 -4
- package/dist/main.es399.js +0 -4
- package/dist/main.es4.js +0 -19
- package/dist/main.es40.js +0 -20
- package/dist/main.es400.js +0 -4
- package/dist/main.es401.js +0 -4
- package/dist/main.es402.js +0 -4
- package/dist/main.es403.js +0 -4
- package/dist/main.es404.js +0 -4
- package/dist/main.es405.js +0 -4
- package/dist/main.es406.js +0 -4
- package/dist/main.es407.js +0 -4
- package/dist/main.es408.js +0 -4
- package/dist/main.es409.js +0 -4
- package/dist/main.es41.js +0 -25
- package/dist/main.es410.js +0 -4
- package/dist/main.es411.js +0 -4
- package/dist/main.es412.js +0 -4
- package/dist/main.es413.js +0 -4
- package/dist/main.es414.js +0 -4
- package/dist/main.es415.js +0 -4
- package/dist/main.es416.js +0 -4
- package/dist/main.es417.js +0 -4
- package/dist/main.es418.js +0 -4
- package/dist/main.es419.js +0 -4
- package/dist/main.es42.js +0 -28
- package/dist/main.es420.js +0 -4
- package/dist/main.es421.js +0 -4
- package/dist/main.es422.js +0 -4
- package/dist/main.es423.js +0 -4
- package/dist/main.es424.js +0 -4
- package/dist/main.es425.js +0 -4
- package/dist/main.es426.js +0 -4
- package/dist/main.es427.js +0 -4
- package/dist/main.es428.js +0 -4
- package/dist/main.es429.js +0 -4
- package/dist/main.es43.js +0 -23
- package/dist/main.es430.js +0 -4
- package/dist/main.es431.js +0 -4
- package/dist/main.es432.js +0 -4
- package/dist/main.es433.js +0 -4
- package/dist/main.es434.js +0 -4
- package/dist/main.es435.js +0 -4
- package/dist/main.es436.js +0 -4
- package/dist/main.es437.js +0 -4
- package/dist/main.es438.js +0 -4
- package/dist/main.es439.js +0 -4
- package/dist/main.es44.js +0 -44
- package/dist/main.es440.js +0 -4
- package/dist/main.es441.js +0 -4
- package/dist/main.es442.js +0 -4
- package/dist/main.es443.js +0 -4
- package/dist/main.es444.js +0 -4
- package/dist/main.es445.js +0 -4
- package/dist/main.es446.js +0 -4
- package/dist/main.es447.js +0 -4
- package/dist/main.es448.js +0 -4
- package/dist/main.es449.js +0 -4
- package/dist/main.es45.js +0 -38
- package/dist/main.es450.js +0 -4
- package/dist/main.es451.js +0 -4
- package/dist/main.es452.js +0 -4
- package/dist/main.es453.js +0 -4
- package/dist/main.es454.js +0 -4
- package/dist/main.es455.js +0 -4
- package/dist/main.es456.js +0 -4
- package/dist/main.es457.js +0 -4
- package/dist/main.es458.js +0 -4
- package/dist/main.es459.js +0 -4
- package/dist/main.es46.js +0 -23
- package/dist/main.es460.js +0 -4
- package/dist/main.es461.js +0 -4
- package/dist/main.es462.js +0 -4
- package/dist/main.es463.js +0 -4
- package/dist/main.es464.js +0 -4
- package/dist/main.es465.js +0 -4
- package/dist/main.es466.js +0 -4
- package/dist/main.es467.js +0 -4
- package/dist/main.es468.js +0 -4
- package/dist/main.es469.js +0 -4
- package/dist/main.es47.js +0 -23
- package/dist/main.es470.js +0 -4
- package/dist/main.es471.js +0 -4
- package/dist/main.es472.js +0 -4
- package/dist/main.es473.js +0 -4
- package/dist/main.es474.js +0 -4
- package/dist/main.es475.js +0 -4
- package/dist/main.es476.js +0 -4
- package/dist/main.es477.js +0 -4
- package/dist/main.es478.js +0 -4
- package/dist/main.es479.js +0 -4
- package/dist/main.es48.js +0 -24
- package/dist/main.es480.js +0 -4
- package/dist/main.es481.js +0 -4
- package/dist/main.es482.js +0 -4
- package/dist/main.es483.js +0 -4
- package/dist/main.es484.js +0 -4
- package/dist/main.es485.js +0 -4
- package/dist/main.es486.js +0 -4
- package/dist/main.es487.js +0 -4
- package/dist/main.es488.js +0 -4
- package/dist/main.es489.js +0 -4
- package/dist/main.es49.js +0 -35
- package/dist/main.es490.js +0 -4
- package/dist/main.es491.js +0 -4
- package/dist/main.es492.js +0 -4
- package/dist/main.es493.js +0 -4
- package/dist/main.es494.js +0 -4
- package/dist/main.es495.js +0 -4
- package/dist/main.es496.js +0 -4
- package/dist/main.es497.js +0 -4
- package/dist/main.es498.js +0 -4
- package/dist/main.es499.js +0 -4
- package/dist/main.es5.js +0 -586
- package/dist/main.es50.js +0 -30
- package/dist/main.es500.js +0 -4
- package/dist/main.es501.js +0 -4
- package/dist/main.es502.js +0 -4
- package/dist/main.es503.js +0 -4
- package/dist/main.es504.js +0 -4
- package/dist/main.es505.js +0 -4
- package/dist/main.es506.js +0 -4
- package/dist/main.es507.js +0 -4
- package/dist/main.es508.js +0 -4
- package/dist/main.es509.js +0 -4
- package/dist/main.es51.js +0 -34
- package/dist/main.es510.js +0 -4
- package/dist/main.es511.js +0 -88
- package/dist/main.es52.js +0 -20
- package/dist/main.es53.js +0 -20
- package/dist/main.es54.js +0 -23
- package/dist/main.es55.js +0 -28
- package/dist/main.es56.js +0 -28
- package/dist/main.es57.js +0 -23
- package/dist/main.es58.js +0 -25
- package/dist/main.es59.js +0 -24
- package/dist/main.es6.js +0 -5872
- package/dist/main.es60.js +0 -23
- package/dist/main.es61.js +0 -23
- package/dist/main.es62.js +0 -23
- package/dist/main.es63.js +0 -23
- package/dist/main.es64.js +0 -23
- package/dist/main.es65.js +0 -20
- package/dist/main.es66.js +0 -23
- package/dist/main.es67.js +0 -23
- package/dist/main.es68.js +0 -21
- package/dist/main.es69.js +0 -20
- package/dist/main.es7.js +0 -1904
- package/dist/main.es70.js +0 -23
- package/dist/main.es71.js +0 -28
- package/dist/main.es72.js +0 -28
- package/dist/main.es73.js +0 -23
- package/dist/main.es74.js +0 -23
- package/dist/main.es75.js +0 -23
- package/dist/main.es76.js +0 -23
- package/dist/main.es77.js +0 -31
- package/dist/main.es78.js +0 -23
- package/dist/main.es79.js +0 -33
- package/dist/main.es8.js +0 -42
- package/dist/main.es80.js +0 -30
- package/dist/main.es81.js +0 -23
- package/dist/main.es82.js +0 -22
- package/dist/main.es83.js +0 -25
- package/dist/main.es84.js +0 -28
- package/dist/main.es85.js +0 -35
- package/dist/main.es86.js +0 -23
- package/dist/main.es87.js +0 -23
- package/dist/main.es88.js +0 -33
- package/dist/main.es89.js +0 -20
- package/dist/main.es9.js +0 -4
- package/dist/main.es90.js +0 -28
- package/dist/main.es91.js +0 -28
- package/dist/main.es92.js +0 -23
- package/dist/main.es93.js +0 -23
- package/dist/main.es94.js +0 -24
- package/dist/main.es95.js +0 -28
- package/dist/main.es96.js +0 -28
- package/dist/main.es97.js +0 -23
- package/dist/main.es98.js +0 -23
- package/dist/main.es99.js +0 -28
- package/dist/style.css +0 -1
- package/src/assets/svgIcons/arrow_down_unfilled.svg +0 -4
- package/src/assets/svgIcons/arrow_up_unfilled.svg +0 -4
- package/src/assets/svgIcons/customer.svg +0 -3
- package/src/assets/svgIcons/efs.svg +0 -5
- package/src/assets/svgIcons/heat_pump.svg +0 -5
- package/src/assets/svgIcons/heating_system.svg +0 -3
- package/src/assets/svgIcons/k2.svg +0 -4
- package/src/assets/svgIcons/vdv.svg +0 -5
@@ -0,0 +1,354 @@
|
|
1
|
+
<template>
|
2
|
+
<CardContainer
|
3
|
+
data-test-id="draggable_card_container"
|
4
|
+
:initial-position="initialPosition"
|
5
|
+
:max-width="maxWidth"
|
6
|
+
:min-width="minWidth"
|
7
|
+
>
|
8
|
+
<HeaderContainer data-test-id="draggable_card_header">
|
9
|
+
<SubHeaderWrapper>
|
10
|
+
<LeftIconsContainer>
|
11
|
+
<DragHandleWrapper :class="{ dragging: isDragging }">
|
12
|
+
<RCIcon
|
13
|
+
:color="theme.colors.grey3"
|
14
|
+
data-test-id="draggable_card_drag_icon"
|
15
|
+
name="drag_icon"
|
16
|
+
size="14px"
|
17
|
+
:title="$gettext('drag_drop')"
|
18
|
+
@mousedown="(event) => onDragStart(event, false)"
|
19
|
+
@touchstart="
|
20
|
+
(event) => {
|
21
|
+
onDragStart(event, true)
|
22
|
+
}
|
23
|
+
"
|
24
|
+
/>
|
25
|
+
</DragHandleWrapper>
|
26
|
+
<ArrowIconWrapper
|
27
|
+
v-if="isCollapsible"
|
28
|
+
data-test-id="draggable_card_collapse_button"
|
29
|
+
:is-collapsed="isCollapsed"
|
30
|
+
@click="toggleCollapse"
|
31
|
+
>
|
32
|
+
<CollapseArrowIcon />
|
33
|
+
</ArrowIconWrapper>
|
34
|
+
</LeftIconsContainer>
|
35
|
+
<TitleContainer :data-id="titleDataId">
|
36
|
+
<TextContainer>{{ title }}</TextContainer>
|
37
|
+
<InfoText v-if="infoText?.length" :text="infoText" />
|
38
|
+
</TitleContainer>
|
39
|
+
</SubHeaderWrapper>
|
40
|
+
<CloseButton
|
41
|
+
class="close"
|
42
|
+
data-test-id="draggable_card_close_button"
|
43
|
+
@click="$emit('on-close')"
|
44
|
+
/>
|
45
|
+
</HeaderContainer>
|
46
|
+
<BodyContainer v-if="!isCollapsed" data-test-id="draggable_card_body">
|
47
|
+
<slot name="body"></slot>
|
48
|
+
</BodyContainer>
|
49
|
+
<FooterContainer v-if="$slots.footer" data-test-id="draggable_card_footer">
|
50
|
+
<slot name="footer"></slot>
|
51
|
+
</FooterContainer>
|
52
|
+
</CardContainer>
|
53
|
+
</template>
|
54
|
+
|
55
|
+
<script>
|
56
|
+
import styled from 'vue3-styled-components'
|
57
|
+
import theme from '../../assets/theme.js'
|
58
|
+
import RCIcon from '../icon'
|
59
|
+
import CloseButton from '../buttons/closeButton'
|
60
|
+
import InfoText from '../infoText'
|
61
|
+
import CollapseArrowIcon from '../../assets/icons/collapse_arrow_icon.svg'
|
62
|
+
|
63
|
+
const CardContainerAttr = {
|
64
|
+
initialPosition: Object,
|
65
|
+
minWidth: String,
|
66
|
+
maxWidth: String,
|
67
|
+
}
|
68
|
+
const CardContainer = styled('div', CardContainerAttr)`
|
69
|
+
position: absolute;
|
70
|
+
display: flex;
|
71
|
+
flex-direction: column;
|
72
|
+
border-radius: 4px;
|
73
|
+
min-width: ${(props) => props.minWidth};
|
74
|
+
max-width: ${(props) => props.maxWidth};
|
75
|
+
background: ${theme.colors.transparentBlack2};
|
76
|
+
z-index: 5;
|
77
|
+
${(props) =>
|
78
|
+
props.initialPosition?.top && `top: ${props.initialPosition.top};`}
|
79
|
+
${(props) =>
|
80
|
+
props.initialPosition?.right && `right: ${props.initialPosition.right};`}
|
81
|
+
${(props) =>
|
82
|
+
props.initialPosition?.left && `left: ${props.initialPosition.left};`}
|
83
|
+
${(props) =>
|
84
|
+
props.initialPosition?.bottom &&
|
85
|
+
`bottom: ${props.initialPosition.bottom};`}
|
86
|
+
`
|
87
|
+
|
88
|
+
const HeaderContainer = styled.div`
|
89
|
+
display: flex;
|
90
|
+
align-items: center;
|
91
|
+
justify-content: space-between;
|
92
|
+
padding: 8px;
|
93
|
+
`
|
94
|
+
|
95
|
+
const SubHeaderWrapper = styled.div`
|
96
|
+
display: flex;
|
97
|
+
min-width: 180px;
|
98
|
+
align-items: center;
|
99
|
+
justify-content: space-between;
|
100
|
+
height: fit-content;
|
101
|
+
margin-right: 14px;
|
102
|
+
`
|
103
|
+
|
104
|
+
const LeftIconsContainer = styled.div`
|
105
|
+
display: flex;
|
106
|
+
align-items: center;
|
107
|
+
gap: 4px;
|
108
|
+
margin-right: 14px;
|
109
|
+
`
|
110
|
+
|
111
|
+
const TitleContainer = styled.div`
|
112
|
+
display: flex;
|
113
|
+
align-items: center;
|
114
|
+
gap: 8px;
|
115
|
+
`
|
116
|
+
|
117
|
+
const TextContainer = styled.div`
|
118
|
+
font-family: ${theme.fonts.mainFont};
|
119
|
+
font-weight: 600;
|
120
|
+
font-size: 14px;
|
121
|
+
line-height: 19.6px;
|
122
|
+
letter-spacing: -1%;
|
123
|
+
color: ${theme.colors.white};
|
124
|
+
word-break: break-word;
|
125
|
+
overflow-wrap: break-word;
|
126
|
+
white-space: normal;
|
127
|
+
`
|
128
|
+
|
129
|
+
const DragHandleWrapper = styled.div`
|
130
|
+
display: grid;
|
131
|
+
align-items: center;
|
132
|
+
justify-items: center;
|
133
|
+
width: 26px;
|
134
|
+
height: 26px;
|
135
|
+
cursor: grab;
|
136
|
+
&.dragging {
|
137
|
+
cursor: grabbing;
|
138
|
+
}
|
139
|
+
`
|
140
|
+
|
141
|
+
const collapsedAttrs = {
|
142
|
+
isCollapsed: Boolean,
|
143
|
+
}
|
144
|
+
const ArrowIconWrapper = styled('div', collapsedAttrs)`
|
145
|
+
display: flex;
|
146
|
+
align-items: center;
|
147
|
+
justify-content: center;
|
148
|
+
width: 8px;
|
149
|
+
height: 26px;
|
150
|
+
cursor: pointer;
|
151
|
+
transition: transform 0.3s ease;
|
152
|
+
path {
|
153
|
+
fill: ${theme.colors.white};
|
154
|
+
}
|
155
|
+
|
156
|
+
${(props) => props.isCollapsed && 'transform: rotate(-180deg);'}
|
157
|
+
`
|
158
|
+
|
159
|
+
const BodyContainer = styled.div`
|
160
|
+
display: flex;
|
161
|
+
flex-direction: column;
|
162
|
+
gap: 16px;
|
163
|
+
padding-top: 8px;
|
164
|
+
padding-right: 16px;
|
165
|
+
padding-bottom: 8px;
|
166
|
+
padding-left: 16px;
|
167
|
+
word-break: break-word;
|
168
|
+
overflow-wrap: break-word;
|
169
|
+
white-space: normal;
|
170
|
+
`
|
171
|
+
|
172
|
+
const FooterContainer = styled.div`
|
173
|
+
display: flex;
|
174
|
+
border-radius: 4px;
|
175
|
+
align-items: center;
|
176
|
+
justify-content: space-between;
|
177
|
+
padding: 8px;
|
178
|
+
background: ${theme.colors.eturnityGrey};
|
179
|
+
word-break: break-word;
|
180
|
+
overflow-wrap: break-word;
|
181
|
+
white-space: normal;
|
182
|
+
`
|
183
|
+
|
184
|
+
export default {
|
185
|
+
name: 'DraggableCard',
|
186
|
+
components: {
|
187
|
+
CardContainer,
|
188
|
+
HeaderContainer,
|
189
|
+
SubHeaderWrapper,
|
190
|
+
LeftIconsContainer,
|
191
|
+
TextContainer,
|
192
|
+
DragHandleWrapper,
|
193
|
+
ArrowIconWrapper,
|
194
|
+
CollapseArrowIcon,
|
195
|
+
RCIcon,
|
196
|
+
CloseButton,
|
197
|
+
InfoText,
|
198
|
+
TitleContainer,
|
199
|
+
BodyContainer,
|
200
|
+
FooterContainer,
|
201
|
+
},
|
202
|
+
props: {
|
203
|
+
minWidth: {
|
204
|
+
required: true,
|
205
|
+
type: String,
|
206
|
+
},
|
207
|
+
maxWidth: {
|
208
|
+
required: true,
|
209
|
+
type: String,
|
210
|
+
},
|
211
|
+
initialPosition: {
|
212
|
+
required: true,
|
213
|
+
type: Object,
|
214
|
+
},
|
215
|
+
title: {
|
216
|
+
required: true,
|
217
|
+
type: String,
|
218
|
+
},
|
219
|
+
titleDataId: {
|
220
|
+
required: false,
|
221
|
+
type: String,
|
222
|
+
default: '',
|
223
|
+
},
|
224
|
+
isCollapsible: {
|
225
|
+
required: false,
|
226
|
+
type: Boolean,
|
227
|
+
default: true,
|
228
|
+
},
|
229
|
+
infoText: {
|
230
|
+
required: false,
|
231
|
+
type: String,
|
232
|
+
default: '',
|
233
|
+
},
|
234
|
+
dragTargets: {
|
235
|
+
required: false,
|
236
|
+
type: Array,
|
237
|
+
default: () => ['document'],
|
238
|
+
},
|
239
|
+
dragBounds: {
|
240
|
+
required: false,
|
241
|
+
type: Object,
|
242
|
+
default: () => {},
|
243
|
+
},
|
244
|
+
},
|
245
|
+
emits: ['on-close'],
|
246
|
+
data() {
|
247
|
+
return {
|
248
|
+
isCollapsed: false,
|
249
|
+
isDragging: false,
|
250
|
+
isTouchStart: false,
|
251
|
+
eventCoordinates: {
|
252
|
+
x: 0,
|
253
|
+
y: 0,
|
254
|
+
},
|
255
|
+
}
|
256
|
+
},
|
257
|
+
computed: {
|
258
|
+
dragBoundsEnabled() {
|
259
|
+
const minPosition = this.dragBounds?.min
|
260
|
+
const maxPosition = this.dragBounds?.max
|
261
|
+
return (
|
262
|
+
minPosition?.top &&
|
263
|
+
minPosition?.left &&
|
264
|
+
maxPosition?.top &&
|
265
|
+
maxPosition?.left
|
266
|
+
)
|
267
|
+
},
|
268
|
+
theme() {
|
269
|
+
return theme
|
270
|
+
},
|
271
|
+
},
|
272
|
+
beforeUnmount() {
|
273
|
+
this.removeEvents()
|
274
|
+
},
|
275
|
+
methods: {
|
276
|
+
toggleCollapse() {
|
277
|
+
this.isCollapsed = !this.isCollapsed
|
278
|
+
},
|
279
|
+
onDragStart(e, isTouchStart) {
|
280
|
+
e.preventDefault()
|
281
|
+
this.isDragging = true
|
282
|
+
this.isTouchStart = isTouchStart
|
283
|
+
this.eventCoordinates.x = isTouchStart
|
284
|
+
? e.touches[0].clientX
|
285
|
+
: e.clientX
|
286
|
+
this.eventCoordinates.y = isTouchStart
|
287
|
+
? e.touches[0].clientY
|
288
|
+
: e.clientY
|
289
|
+
this.dragTargets.forEach((id) => {
|
290
|
+
const target =
|
291
|
+
id === 'document' ? document : document.getElementById(id)
|
292
|
+
if (target && target.addEventListener) {
|
293
|
+
target.addEventListener(
|
294
|
+
isTouchStart ? 'touchend' : 'mouseup',
|
295
|
+
this.onDragEnd
|
296
|
+
)
|
297
|
+
target.addEventListener(
|
298
|
+
isTouchStart ? 'touchmove' : 'mousemove',
|
299
|
+
this.onDrag
|
300
|
+
)
|
301
|
+
}
|
302
|
+
})
|
303
|
+
document.addEventListener(
|
304
|
+
isTouchStart ? 'touchend' : 'mouseup',
|
305
|
+
this.onDragEnd
|
306
|
+
)
|
307
|
+
},
|
308
|
+
onDrag(e) {
|
309
|
+
e.preventDefault()
|
310
|
+
const eventX = this.isTouchStart ? e.touches[0].clientX : e.clientX
|
311
|
+
const eventY = this.isTouchStart ? e.touches[0].clientY : e.clientY
|
312
|
+
const deltaX = this.eventCoordinates.x - eventX
|
313
|
+
const deltaY = this.eventCoordinates.y - eventY
|
314
|
+
this.eventCoordinates.x = eventX
|
315
|
+
this.eventCoordinates.y = eventY
|
316
|
+
const element = this.$el
|
317
|
+
let positionY = element.offsetTop - deltaY
|
318
|
+
let positionX = element.offsetLeft - deltaX
|
319
|
+
if (this.dragBoundsEnabled) {
|
320
|
+
const minPosition = this.dragBounds.min
|
321
|
+
const maxPosition = this.dragBounds.max
|
322
|
+
positionY = Math.min(
|
323
|
+
Math.max(positionY, minPosition.top),
|
324
|
+
maxPosition.top
|
325
|
+
)
|
326
|
+
positionX = Math.min(
|
327
|
+
Math.max(positionX, minPosition.left),
|
328
|
+
maxPosition.left
|
329
|
+
)
|
330
|
+
}
|
331
|
+
element.style.top = positionY + 'px'
|
332
|
+
element.style.left = positionX + 'px'
|
333
|
+
},
|
334
|
+
onDragEnd() {
|
335
|
+
this.isDragging = false
|
336
|
+
this.removeEvents()
|
337
|
+
},
|
338
|
+
removeEvents() {
|
339
|
+
this.dragTargets.forEach((id) => {
|
340
|
+
const target =
|
341
|
+
id === 'document' ? document : document.getElementById(id)
|
342
|
+
if (target && target.removeEventListener) {
|
343
|
+
target.removeEventListener('mouseup', this.onDragEnd)
|
344
|
+
target.removeEventListener('touchend', this.onDragEnd)
|
345
|
+
target.removeEventListener('mousemove', this.onDrag)
|
346
|
+
target.removeEventListener('touchmove', this.onDrag)
|
347
|
+
}
|
348
|
+
})
|
349
|
+
document.removeEventListener('mouseup', this.onDragEnd)
|
350
|
+
document.removeEventListener('touchend', this.onDragEnd)
|
351
|
+
},
|
352
|
+
},
|
353
|
+
}
|
354
|
+
</script>
|
@@ -297,13 +297,12 @@
|
|
297
297
|
<MainButton
|
298
298
|
v-if="buttonText.cancel"
|
299
299
|
:text="buttonText.cancel"
|
300
|
-
type="
|
301
|
-
variant="cancel"
|
300
|
+
type="cancel"
|
302
301
|
@click="$emit('on-cancel-view')"
|
303
302
|
/>
|
304
303
|
<ResetContainer v-if="!filterViews || !filterViews.length">
|
305
304
|
<ResetButton @click="$emit('on-reset-filters')">
|
306
|
-
<Icon :color="theme.colors.
|
305
|
+
<Icon :color="theme.colors.blue" :name="'update'" size="14px" />
|
307
306
|
<div>{{ $gettext('reset_filters') }}</div>
|
308
307
|
</ResetButton>
|
309
308
|
</ResetContainer>
|
@@ -476,7 +475,7 @@
|
|
476
475
|
margin-top: 20px;
|
477
476
|
align-self: center;
|
478
477
|
font-size: 13px;
|
479
|
-
color: ${(props) => props.theme.colors.
|
478
|
+
color: ${(props) => props.theme.colors.blue};
|
480
479
|
cursor: pointer;
|
481
480
|
`
|
482
481
|
|
@@ -10,7 +10,6 @@
|
|
10
10
|
:background-color="backgroundColor"
|
11
11
|
:color="color"
|
12
12
|
data-test-id="icon_image"
|
13
|
-
:fill-type="fillType"
|
14
13
|
:hovered-color="hoveredColor"
|
15
14
|
>
|
16
15
|
<i data-test-id="icon_svg" v-html="icon.html"></i>
|
@@ -46,7 +45,6 @@
|
|
46
45
|
disabled: {
|
47
46
|
required: false,
|
48
47
|
default: false,
|
49
|
-
type: Boolean,
|
50
48
|
},
|
51
49
|
name: {
|
52
50
|
required: true,
|
@@ -54,48 +52,33 @@
|
|
54
52
|
},
|
55
53
|
color: {
|
56
54
|
required: false,
|
57
|
-
default: null,
|
58
|
-
type: String,
|
59
55
|
},
|
60
56
|
hoveredColor: {
|
61
57
|
required: false,
|
62
|
-
default: null,
|
63
|
-
type: String,
|
64
58
|
},
|
65
59
|
size: {
|
66
60
|
required: false,
|
67
61
|
default: '30px',
|
68
|
-
type: String,
|
69
62
|
},
|
70
63
|
cursor: {
|
71
64
|
required: false,
|
72
65
|
default: null,
|
73
|
-
type: String,
|
74
66
|
},
|
75
67
|
isStriked: {
|
76
68
|
required: false,
|
77
69
|
default: false,
|
78
|
-
type: Boolean,
|
79
70
|
},
|
80
71
|
backgroundColor: {
|
81
72
|
required: false,
|
82
73
|
default: null,
|
83
|
-
type: String,
|
84
74
|
},
|
85
75
|
count: {
|
86
76
|
required: false,
|
87
77
|
default: 0,
|
88
|
-
type: Number,
|
89
78
|
},
|
90
79
|
animation: {
|
91
80
|
required: false,
|
92
81
|
default: 'none',
|
93
|
-
type: String,
|
94
|
-
},
|
95
|
-
fillType: {
|
96
|
-
required: false,
|
97
|
-
default: 'fill',
|
98
|
-
type: String,
|
99
82
|
},
|
100
83
|
})
|
101
84
|
|
@@ -122,7 +105,7 @@
|
|
122
105
|
right: -7px;
|
123
106
|
background-color: ${({ theme }) => theme.colors.red};
|
124
107
|
color: ${({ theme }) => theme.colors.white};
|
125
|
-
border-radius:
|
108
|
+
border-radius: 4px;
|
126
109
|
width: 15px;
|
127
110
|
height: 15px;
|
128
111
|
display: flex;
|
@@ -146,14 +129,12 @@
|
|
146
129
|
transform-origin: 0% 100%;
|
147
130
|
transform: rotate(-45deg);
|
148
131
|
`
|
149
|
-
const
|
132
|
+
const IconImage = styled('div', {
|
150
133
|
color: String,
|
151
134
|
backgroundColor: String,
|
152
135
|
hoveredColor: String,
|
153
136
|
animation: String,
|
154
|
-
|
155
|
-
}
|
156
|
-
const IconImage = styled('div', IconImageAttrs)`
|
137
|
+
})`
|
157
138
|
animation: ${(props) => props.animation};
|
158
139
|
width: 100%;
|
159
140
|
svg {
|
@@ -162,17 +143,13 @@
|
|
162
143
|
background-color: ${(props) =>
|
163
144
|
props.backgroundColor ? props.backgroundColor : 'transparent'};
|
164
145
|
padding: ${(props) => (props.backgroundColor ? '3px' : '0')};
|
165
|
-
border-radius: ${(props) => (props.backgroundColor ? '8px' : '0')};
|
166
146
|
}
|
167
147
|
svg path:not(.fix) {
|
168
|
-
${({ theme, color
|
169
|
-
color && `${fillType}: ${theme.colors[color] || color};`}
|
148
|
+
${({ theme, color }) => color && `fill: ${theme.colors[color] || color};`}
|
170
149
|
}
|
171
150
|
&:hover svg path:not(.fix) {
|
172
|
-
${(
|
173
|
-
`fill: ${
|
174
|
-
props.hoveredColor || props.theme.semanticColors.purple[500]
|
175
|
-
};`}
|
151
|
+
${({ theme, hoveredColor }) =>
|
152
|
+
hoveredColor && `fill: ${theme.colors[hoveredColor] || hoveredColor};`}
|
176
153
|
}
|
177
154
|
&:hover + div {
|
178
155
|
background-color: ${(props) => props.hoveredColor};
|
@@ -12,9 +12,8 @@
|
|
12
12
|
<RCIcon
|
13
13
|
:color="iconColor ? iconColor : presetStyles.iconColor"
|
14
14
|
data-test-id="info_card_icon"
|
15
|
-
|
16
|
-
|
17
|
-
size="18px"
|
15
|
+
name="info"
|
16
|
+
size="24px"
|
18
17
|
/>
|
19
18
|
<TextContainer data-test-id="info_card_text_container">
|
20
19
|
<slot></slot>
|
@@ -40,7 +39,7 @@
|
|
40
39
|
display: flex;
|
41
40
|
align-items: ${(props) =>
|
42
41
|
props.alignItems ? props.alignItems : props.presetStyles.alignItems};
|
43
|
-
gap:
|
42
|
+
gap: 15px;
|
44
43
|
min-width: ${(props) => props.minWidth};
|
45
44
|
padding: ${(props) =>
|
46
45
|
props.padding ? props.padding : props.presetStyles.padding};
|
@@ -58,7 +57,7 @@
|
|
58
57
|
`
|
59
58
|
|
60
59
|
const TextContainer = styled.div`
|
61
|
-
font-size:
|
60
|
+
font-size: 13px;
|
62
61
|
width: 100%;
|
63
62
|
`
|
64
63
|
|
@@ -122,24 +121,21 @@
|
|
122
121
|
isErrorMinor() {
|
123
122
|
return this.type === 'error_minor'
|
124
123
|
},
|
125
|
-
iconName() {
|
126
|
-
return this.type === 'warning' ? 'warning_triangle' : 'info'
|
127
|
-
},
|
128
124
|
presetStyles() {
|
129
125
|
// the types that doesn't have explicit border anyway have it transparent
|
130
126
|
// to avoid flickering in case the same info card would switch the types
|
131
127
|
let stylesCollection = {
|
132
128
|
alignItems: 'flex-start',
|
133
|
-
padding: '
|
129
|
+
padding: '20px',
|
134
130
|
borderWidth: '1px',
|
135
131
|
borderStyle: 'solid',
|
136
132
|
borderColor: 'transparent',
|
137
133
|
}
|
138
134
|
|
139
135
|
if (this.isWarning) {
|
140
|
-
stylesCollection.color = theme.
|
141
|
-
stylesCollection.backgroundColor = theme.
|
142
|
-
stylesCollection.iconColor = theme.
|
136
|
+
stylesCollection.color = theme.colors.white
|
137
|
+
stylesCollection.backgroundColor = theme.colors.yellow
|
138
|
+
stylesCollection.iconColor = theme.colors.white
|
143
139
|
} else if (this.isErrorMinor) {
|
144
140
|
stylesCollection.borderStyle = 'dashed'
|
145
141
|
stylesCollection.borderColor = theme.colors.pureRed
|
@@ -48,7 +48,6 @@
|
|
48
48
|
<TextWrapper :style="wrapperStyle">
|
49
49
|
<TextOverlay
|
50
50
|
ref="infoBox"
|
51
|
-
:app-theme="appTheme"
|
52
51
|
:image="image"
|
53
52
|
:style="boxStyle"
|
54
53
|
:width="infoBoxWidth"
|
@@ -93,8 +92,10 @@
|
|
93
92
|
width: Number,
|
94
93
|
}
|
95
94
|
const TextOverlay = styled('div', TextOverlayAttrs)`
|
95
|
+
background-color: ${(props) =>
|
96
|
+
props.image ? props.theme.colors.white : props.theme.colors.black};
|
96
97
|
color: ${(props) =>
|
97
|
-
props.image ? props.theme.colors.grey1 : props.theme.colors.
|
98
|
+
props.image ? props.theme.colors.grey1 : props.theme.colors.white};
|
98
99
|
font-size: ${(props) => (props.image ? '12px' : '13px')};
|
99
100
|
border-radius: 4px;
|
100
101
|
padding: 10px;
|
@@ -121,11 +122,7 @@
|
|
121
122
|
// height: 0;
|
122
123
|
// border: 8px solid transparent;
|
123
124
|
// border-top-color: ${(props) =>
|
124
|
-
// props.image
|
125
|
-
// ? props.theme.colors.white
|
126
|
-
// : props.appTheme === 'dark'
|
127
|
-
// ? props.theme.colors.grey5
|
128
|
-
// : props.theme.colors.black};
|
125
|
+
// props.image ? props.theme.colors.white : props.theme.colors.black};
|
129
126
|
// filter: ${(props) =>
|
130
127
|
// props.image ? 'drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1))' : 'none'};
|
131
128
|
// `
|
@@ -44,7 +44,7 @@
|
|
44
44
|
import styled from 'vue3-styled-components'
|
45
45
|
|
46
46
|
const ComponentWrapper = styled.div`
|
47
|
-
min-height:
|
47
|
+
min-height: 16px;
|
48
48
|
`
|
49
49
|
|
50
50
|
const CheckWrapper = styled('div', { hasLabel: Boolean })`
|
@@ -179,7 +179,7 @@
|
|
179
179
|
font-size: 13px;
|
180
180
|
display: grid;
|
181
181
|
align-items: center;
|
182
|
-
min-height:
|
182
|
+
min-height: 16px;
|
183
183
|
color: ${(props) =>
|
184
184
|
props.isDisabled ? props.theme.colors.grey2 : 'unset'};
|
185
185
|
`
|
@@ -25,7 +25,6 @@
|
|
25
25
|
<InfoText
|
26
26
|
v-if="labelInfoText"
|
27
27
|
:align-arrow="labelInfoAlign"
|
28
|
-
:app-theme="appTheme"
|
29
28
|
:text="labelInfoText"
|
30
29
|
/>
|
31
30
|
</LabelWrapper>
|
@@ -475,10 +474,6 @@
|
|
475
474
|
},
|
476
475
|
inheritAttrs: false,
|
477
476
|
props: {
|
478
|
-
appTheme: {
|
479
|
-
type: String,
|
480
|
-
required: false,
|
481
|
-
},
|
482
477
|
placeholder: {
|
483
478
|
type: String,
|
484
479
|
required: false,
|
@@ -21,7 +21,6 @@
|
|
21
21
|
<InfoText
|
22
22
|
v-if="infoTextMessage != ''"
|
23
23
|
:align-arrow="infoTextAlign"
|
24
|
-
:app-theme="appTheme"
|
25
24
|
data-test-id="info_text_message"
|
26
25
|
:size="fontSize ? fontSize : '16px'"
|
27
26
|
:text="infoTextMessage"
|
@@ -264,11 +263,6 @@
|
|
264
263
|
default: '',
|
265
264
|
type: String,
|
266
265
|
},
|
267
|
-
appTheme: {
|
268
|
-
type: String,
|
269
|
-
required: false,
|
270
|
-
default: 'light',
|
271
|
-
},
|
272
266
|
alignItems: {
|
273
267
|
required: false,
|
274
268
|
default: 'horizontal',
|
@@ -8,12 +8,11 @@
|
|
8
8
|
>
|
9
9
|
<ModalContainer
|
10
10
|
v-if="isOpen"
|
11
|
-
:is-loading="isLoading"
|
12
11
|
:overflow="overflowRule"
|
13
12
|
@click="onClickModalContainer"
|
14
13
|
>
|
15
14
|
<Spinner v-if="isLoading" :limited-to-modal="true" size="50px" />
|
16
|
-
<ContentContainer
|
15
|
+
<ContentContainer :visible="!isLoading">
|
17
16
|
<slot></slot>
|
18
17
|
</ContentContainer>
|
19
18
|
<CloseButton v-if="!hideClose" class="close" @click="onCloseModal()" />
|
@@ -63,7 +62,7 @@
|
|
63
62
|
}
|
64
63
|
`
|
65
64
|
|
66
|
-
const modalContainerAttrs = { overflow: String
|
65
|
+
const modalContainerAttrs = { overflow: String }
|
67
66
|
const ModalContainer = styled('div', modalContainerAttrs)`
|
68
67
|
align-self: center;
|
69
68
|
justify-self: center;
|
@@ -75,8 +74,8 @@
|
|
75
74
|
overflow: ${(props) => props.overflow};
|
76
75
|
max-width: 95%;
|
77
76
|
max-height: 95%;
|
78
|
-
min-width:
|
79
|
-
min-height:
|
77
|
+
min-width: 100px;
|
78
|
+
min-height: 100px;
|
80
79
|
|
81
80
|
::-webkit-scrollbar {
|
82
81
|
width: 0.3em;
|