@eturnity/eturnity_reusable_components 8.10.3-EPDM-13568.5 → 8.10.3-EPDM-11600.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/erase.svg +2 -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 +25 -602
- package/src/components/buttons/buttonIcon/index.vue +32 -110
- package/src/components/buttons/mainButton/index.vue +34 -72
- package/src/components/filter/filterSettings.vue +3 -4
- package/src/components/icon/index.vue +6 -29
- package/src/components/infoCard/index.vue +10 -14
- package/src/components/infoText/index.vue +4 -7
- package/src/components/inputs/inputNumber/InputNumber.stories.js +19 -5
- package/src/components/inputs/inputNumber/index.vue +14 -7
- 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 -58
- package/src/components/tableDropdown/index.vue +22 -14
- package/src/components/tables/mainTable/index.vue +5 -10
- 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
@@ -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>
|
@@ -43,7 +42,6 @@
|
|
43
42
|
:color-mode="colorMode"
|
44
43
|
:data-id="inputDataId"
|
45
44
|
:data-qa-id="dataQaId"
|
46
|
-
:disabled="disabled"
|
47
45
|
:font-color="colorMode === 'transparent' ? 'white' : fontColor"
|
48
46
|
:font-size="fontSize"
|
49
47
|
:has-label-slot="hasLabelSlot"
|
@@ -53,6 +51,7 @@
|
|
53
51
|
:is-disabled="disabled"
|
54
52
|
:is-error="isError"
|
55
53
|
:is-interactive="isInteractive"
|
54
|
+
:is-pre-defined="isPreDefined"
|
56
55
|
:min-width="minWidth"
|
57
56
|
:no-border="noBorder"
|
58
57
|
:placeholder="displayedPlaceholder"
|
@@ -195,6 +194,7 @@
|
|
195
194
|
slotSize: String,
|
196
195
|
inputHeight: String,
|
197
196
|
isInteractive: Boolean,
|
197
|
+
isPreDefined: Boolean,
|
198
198
|
alignItems: String,
|
199
199
|
labelFontColor: String,
|
200
200
|
labelFontWeight: String,
|
@@ -255,7 +255,7 @@
|
|
255
255
|
color: ${(props) =>
|
256
256
|
props.isError
|
257
257
|
? props.theme.colors.grey6
|
258
|
-
: props.isDisabled
|
258
|
+
: props.isDisabled && !props.isPreDefined
|
259
259
|
? props.colorMode === 'transparent'
|
260
260
|
? props.theme.colors.white
|
261
261
|
: props.theme.colors.grey2
|
@@ -475,10 +475,6 @@
|
|
475
475
|
},
|
476
476
|
inheritAttrs: false,
|
477
477
|
props: {
|
478
|
-
appTheme: {
|
479
|
-
type: String,
|
480
|
-
required: false,
|
481
|
-
},
|
482
478
|
placeholder: {
|
483
479
|
type: String,
|
484
480
|
required: false,
|
@@ -529,6 +525,11 @@
|
|
529
525
|
required: false,
|
530
526
|
default: 0,
|
531
527
|
},
|
528
|
+
isPreDefined: {
|
529
|
+
type: Boolean,
|
530
|
+
required: false,
|
531
|
+
default: false,
|
532
|
+
},
|
532
533
|
minDecimals: {
|
533
534
|
type: Number,
|
534
535
|
required: false,
|
@@ -649,12 +650,18 @@
|
|
649
650
|
required: false,
|
650
651
|
default: '',
|
651
652
|
},
|
653
|
+
labelDataTestId: {
|
654
|
+
type: String,
|
655
|
+
required: false,
|
656
|
+
default: '',
|
657
|
+
},
|
652
658
|
inputDataId: {
|
653
659
|
type: String,
|
654
660
|
required: false,
|
655
661
|
default: '',
|
656
662
|
},
|
657
663
|
dataQaId: {
|
664
|
+
type: String,
|
658
665
|
required: false,
|
659
666
|
default: '',
|
660
667
|
},
|
@@ -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;
|
@@ -9,54 +9,34 @@
|
|
9
9
|
v-if="!item.children"
|
10
10
|
:key="idx"
|
11
11
|
:data-id="`sub_menu_settings_${item.key}`"
|
12
|
-
:fill-type="item.icon === 'free_technology' ? 'stroke' : 'fill'"
|
13
12
|
:is-active="activeTab === item.key || activeParentTab === item.key"
|
14
13
|
@click="$emit('tab-click', { activeKey: item.key })"
|
15
14
|
>
|
16
|
-
<IconContainer
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
"
|
21
|
-
cursor="pointer"
|
22
|
-
:fill-type="item.fillType"
|
23
|
-
:name="item.icon"
|
24
|
-
size="18px"
|
25
|
-
/>
|
15
|
+
<IconContainer
|
16
|
+
:is-active="activeTab === item.key || activeParentTab === item.key"
|
17
|
+
>
|
18
|
+
<Icon color="#fff" cursor="pointer" :name="item.icon" size="18px" />
|
26
19
|
</IconContainer>
|
27
|
-
<ListText
|
28
|
-
$gettext(item.label)
|
29
|
-
}}</ListText>
|
20
|
+
<ListText>{{ $gettext(item.label) }}</ListText>
|
30
21
|
</ListItem>
|
31
22
|
<CollapseWrapper v-else :key="idx + item.key">
|
32
23
|
<CollapseContainer
|
33
24
|
:data-id="`sub_menu_settings_${item.key}`"
|
34
|
-
:is-active="activeParentTab === item.key"
|
35
25
|
@click="toggleActiveDropdown(item.key)"
|
36
26
|
>
|
37
27
|
<IconContainer :is-active="activeParentTab === item.key">
|
38
28
|
<Icon
|
39
|
-
|
40
|
-
activeParentTab === item.key
|
41
|
-
? theme.semanticColors.purple[500]
|
42
|
-
: ''
|
43
|
-
"
|
29
|
+
color="#fff"
|
44
30
|
cursor="pointer"
|
45
31
|
:name="item.icon"
|
46
32
|
size="18px"
|
47
33
|
/>
|
48
34
|
</IconContainer>
|
49
|
-
<ListText
|
50
|
-
$gettext(item.label)
|
51
|
-
}}</ListText>
|
35
|
+
<ListText>{{ $gettext(item.label) }}</ListText>
|
52
36
|
<ArrowContainer>
|
53
37
|
<Icon
|
54
|
-
|
55
|
-
:name="
|
56
|
-
activeDropdown === item.key
|
57
|
-
? 'arrow_up_unfilled'
|
58
|
-
: 'arrow_down_unfilled'
|
59
|
-
"
|
38
|
+
color="white"
|
39
|
+
:name="activeDropdown === item.key ? 'arrow_up' : 'arrow_down'"
|
60
40
|
size="10px"
|
61
41
|
/>
|
62
42
|
</ArrowContainer>
|
@@ -88,7 +68,7 @@
|
|
88
68
|
@click="$emit('on-logout')"
|
89
69
|
>
|
90
70
|
<RotateIcon
|
91
|
-
|
71
|
+
color="#fff"
|
92
72
|
cursor="pointer"
|
93
73
|
name="initial_situation"
|
94
74
|
size="18px"
|
@@ -103,11 +83,11 @@
|
|
103
83
|
import styled from 'vue3-styled-components'
|
104
84
|
import Icon from '../icon'
|
105
85
|
import Spinner from '../spinner'
|
106
|
-
import theme from '@/assets/theme.js'
|
107
86
|
|
108
87
|
const PageAttrs = { isLoading: Boolean }
|
109
88
|
const PageContainer = styled('div', PageAttrs)`
|
110
|
-
background-color: ${(props) =>
|
89
|
+
background-color: ${(props) =>
|
90
|
+
props.isLoading ? props.theme.colors.white : props.theme.colors.grey6};
|
111
91
|
padding: 14px 12px;
|
112
92
|
min-width: 220px;
|
113
93
|
display: flex;
|
@@ -120,7 +100,7 @@
|
|
120
100
|
grid-gap: 6px;
|
121
101
|
`
|
122
102
|
|
123
|
-
const IconAttrs = { isActive: Boolean, isButton: Boolean
|
103
|
+
const IconAttrs = { isActive: Boolean, isButton: Boolean }
|
124
104
|
|
125
105
|
const ListItem = styled('div', IconAttrs)`
|
126
106
|
display: grid;
|
@@ -129,28 +109,19 @@
|
|
129
109
|
grid-gap: 20px;
|
130
110
|
cursor: pointer;
|
131
111
|
padding: 4px;
|
132
|
-
border-radius:
|
112
|
+
border-radius: 6px;
|
133
113
|
background-color: ${(props) =>
|
134
|
-
props.isActive ?
|
135
|
-
color: ${(props) =>
|
136
|
-
props.isActive
|
137
|
-
? props.theme.semanticColors.purple[500]
|
138
|
-
: props.theme.semanticColors.teal[800]};
|
114
|
+
props.isActive ? 'rgba(255, 255, 255, 0.1)' : ''};
|
139
115
|
|
140
116
|
:hover {
|
141
|
-
background-color:
|
142
|
-
color: ${(props) => props.theme.semanticColors.purple[500]};
|
143
|
-
svg path:not(.fix) {
|
144
|
-
${(props) => props.fillType}: ${(props) =>
|
145
|
-
props.theme.semanticColors.purple[500]};
|
146
|
-
}
|
117
|
+
background-color: rgba(255, 255, 255, 0.1);
|
147
118
|
}
|
148
119
|
`
|
149
120
|
|
150
|
-
const
|
151
|
-
|
152
|
-
font-
|
153
|
-
|
121
|
+
const ListText = styled.div`
|
122
|
+
font-size: 16px;
|
123
|
+
font-weight: 700;
|
124
|
+
color: ${(props) => props.theme.colors.white};
|
154
125
|
`
|
155
126
|
|
156
127
|
const IconContainer = styled('div', IconAttrs)`
|
@@ -159,16 +130,18 @@
|
|
159
130
|
justify-items: center;
|
160
131
|
width: 32px;
|
161
132
|
height: 32px;
|
133
|
+
background-color: ${(props) =>
|
134
|
+
props.isActive ? props.theme.colors.red : 'rgba(255, 255, 255, 0.2)'};
|
162
135
|
border-radius: 6px;
|
163
136
|
|
164
137
|
${({ isButton = false }) =>
|
165
138
|
isButton &&
|
166
139
|
`
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
140
|
+
cursor: pointer;
|
141
|
+
&:hover {
|
142
|
+
background-color: rgba(255, 255, 255, 0.3);
|
143
|
+
}
|
144
|
+
`}
|
172
145
|
`
|
173
146
|
|
174
147
|
const SpinnerContainer = styled.div`
|
@@ -188,7 +161,7 @@
|
|
188
161
|
const AppVersion = styled.p`
|
189
162
|
font-size: 11px;
|
190
163
|
line-height: 13px;
|
191
|
-
color: ${(props) => props.theme.
|
164
|
+
color: ${(props) => props.theme.colors.white};
|
192
165
|
margin-right: 6px;
|
193
166
|
`
|
194
167
|
|
@@ -201,46 +174,30 @@
|
|
201
174
|
cursor: pointer;
|
202
175
|
margin-left: 65px;
|
203
176
|
padding: 8px;
|
204
|
-
border-radius:
|
205
|
-
color: ${(props) =>
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
props.isActive ? props.theme.semanticColors.purple[50] : ''};
|
177
|
+
border-radius: 6px;
|
178
|
+
color: ${(props) => props.theme.colors.white};
|
179
|
+
font-weight: 700;
|
180
|
+
${({ isActive }) =>
|
181
|
+
isActive &&
|
182
|
+
`
|
183
|
+
background: rgba(255, 255, 255, 0.1);
|
184
|
+
`}
|
213
185
|
|
214
186
|
&:hover {
|
215
|
-
background:
|
216
|
-
color: ${(props) => props.theme.semanticColors.purple[500]} !important;
|
187
|
+
background: rgba(255, 255, 255, 0.1);
|
217
188
|
}
|
218
189
|
`
|
219
190
|
|
220
|
-
const
|
221
|
-
const CollapseContainer = styled('div', CollapseContainerAttrs)`
|
191
|
+
const CollapseContainer = styled.div`
|
222
192
|
display: grid;
|
223
193
|
grid-template-columns: auto 1fr auto;
|
224
194
|
grid-gap: 20px;
|
225
195
|
padding: 4px;
|
226
|
-
padding-right: 13px;
|
227
196
|
border-radius: 6px;
|
228
197
|
align-items: center;
|
229
198
|
cursor: pointer;
|
230
|
-
background: ${(props) =>
|
231
|
-
props.isActive ? props.theme.semanticColors.purple[50] : ''};
|
232
|
-
|
233
|
-
div {
|
234
|
-
color: ${(props) =>
|
235
|
-
props.isActive ? props.theme.semanticColors.purple[500] : ''};
|
236
|
-
}
|
237
|
-
|
238
199
|
&:hover {
|
239
|
-
background:
|
240
|
-
color: ${(props) => props.theme.semanticColors.purple[500]};
|
241
|
-
svg path:not(.fix) {
|
242
|
-
fill: ${(props) => props.theme.semanticColors.purple[500]};
|
243
|
-
}
|
200
|
+
background: rgba(255, 255, 255, 0.1);
|
244
201
|
}
|
245
202
|
`
|
246
203
|
|
@@ -297,9 +254,17 @@
|
|
297
254
|
data() {
|
298
255
|
return {
|
299
256
|
activeDropdown: null,
|
300
|
-
theme,
|
301
257
|
}
|
302
258
|
},
|
259
|
+
methods: {
|
260
|
+
toggleActiveDropdown(value) {
|
261
|
+
if (this.activeDropdown === value) {
|
262
|
+
this.activeDropdown = null
|
263
|
+
} else {
|
264
|
+
this.activeDropdown = value
|
265
|
+
}
|
266
|
+
},
|
267
|
+
},
|
303
268
|
watch: {
|
304
269
|
activeTab: {
|
305
270
|
// once active tab is received, check if any parent
|
@@ -312,14 +277,5 @@
|
|
312
277
|
once: true,
|
313
278
|
},
|
314
279
|
},
|
315
|
-
methods: {
|
316
|
-
toggleActiveDropdown(value) {
|
317
|
-
if (this.activeDropdown === value) {
|
318
|
-
this.activeDropdown = null
|
319
|
-
} else {
|
320
|
-
this.activeDropdown = value
|
321
|
-
}
|
322
|
-
},
|
323
|
-
},
|
324
280
|
}
|
325
281
|
</script>
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<template>
|
2
|
-
<SpinnerContainer
|
3
|
-
v-if="fullWidth"
|
4
|
-
data-test-id="spinner_full_container"
|
5
|
-
:size="size"
|
6
|
-
>
|
2
|
+
<SpinnerContainer v-if="fullWidth" data-test-id="spinner_full_container">
|
7
3
|
<Container>
|
8
|
-
<SpinnerWrapper data-test-id="spinner_full_wrapper"
|
9
|
-
<
|
4
|
+
<SpinnerWrapper data-test-id="spinner_full_wrapper">
|
5
|
+
<SpinnerSvg
|
6
|
+
:class="{ white: isWhite }"
|
7
|
+
data-test-id="spinner_full_icon"
|
8
|
+
:style="{ width: size, height: size }"
|
9
|
+
/>
|
10
10
|
</SpinnerWrapper>
|
11
11
|
</Container>
|
12
12
|
</SpinnerContainer>
|
@@ -15,14 +15,21 @@
|
|
15
15
|
data-test-id="spinner_container"
|
16
16
|
:limited-to-modal="limitedToModal"
|
17
17
|
>
|
18
|
-
<SpinnerWrapper data-test-id="spinner_wrapper"
|
19
|
-
<
|
18
|
+
<SpinnerWrapper data-test-id="spinner_wrapper">
|
19
|
+
<SpinnerSvg
|
20
|
+
:class="{ white: isWhite }"
|
21
|
+
data-test-id="spinner_icon"
|
22
|
+
:style="{ width: size, height: size }"
|
23
|
+
/>
|
20
24
|
</SpinnerWrapper>
|
21
25
|
</Container>
|
22
26
|
</template>
|
23
27
|
|
24
28
|
<script>
|
29
|
+
// import Spinner from "@eturnity/eturnity_reusable_components/src/components/spinner"
|
30
|
+
// <spinner size="30px" />
|
25
31
|
import styled from 'vue3-styled-components'
|
32
|
+
import SpinnerSvg from '../../assets/icons/black_spinner.svg'
|
26
33
|
|
27
34
|
const SpinnerContainer = styled.div`
|
28
35
|
position: fixed;
|
@@ -36,72 +43,35 @@
|
|
36
43
|
justify-items: center;
|
37
44
|
z-index: 100;
|
38
45
|
`
|
39
|
-
|
40
46
|
const containerAttrs = { limitedToModal: Boolean }
|
41
47
|
const Container = styled('div', containerAttrs)`
|
42
48
|
display: grid;
|
43
49
|
align-items: center;
|
44
50
|
justify-items: center;
|
45
51
|
position: ${(props) => (props.limitedToModal ? 'absolute' : 'inherit')};
|
46
|
-
height: ${(props) => (props.limitedToModal ? '100%' : '
|
47
|
-
width: ${(props) => (props.limitedToModal ? '100%' : '
|
52
|
+
height: ${(props) => (props.limitedToModal ? '100%' : 'inherit')};
|
53
|
+
width: ${(props) => (props.limitedToModal ? '100%' : 'inherit')};
|
48
54
|
`
|
49
55
|
|
50
|
-
const
|
51
|
-
|
52
|
-
|
53
|
-
props.size === 'large'
|
54
|
-
? '56px'
|
55
|
-
: props.size === 'medium'
|
56
|
-
? '40px'
|
57
|
-
: '24px'};
|
58
|
-
height: ${(props) =>
|
59
|
-
props.size === 'large'
|
60
|
-
? '56px'
|
61
|
-
: props.size === 'medium'
|
62
|
-
? '40px'
|
63
|
-
: '24px'};
|
64
|
-
`
|
65
|
-
|
66
|
-
const circleAttrs = { size: String, isWhite: Boolean }
|
67
|
-
const SpinnerCircle = styled('div', circleAttrs)`
|
68
|
-
width: 100%;
|
69
|
-
height: 100%;
|
70
|
-
border-radius: 100%;
|
71
|
-
border: ${(props) => (props.size === 'large' ? '4px' : '2px')} solid
|
72
|
-
${(props) =>
|
73
|
-
props.isWhite ? props.theme.colors.grey5 : props.theme.colors.white};
|
74
|
-
border-top-color: ${(props) =>
|
75
|
-
props.isWhite ? props.theme.colors.white : props.theme.colors.primary};
|
76
|
-
border-right-color: ${(props) =>
|
77
|
-
props.isWhite ? props.theme.colors.white : props.theme.colors.primary};
|
78
|
-
border-bottom-color: ${(props) =>
|
79
|
-
props.isWhite ? props.theme.colors.white : props.theme.colors.primary};
|
80
|
-
animation: spin 1s linear infinite;
|
81
|
-
transform: rotate(90deg);
|
56
|
+
const SpinnerWrapper = styled.div`
|
57
|
+
width: ${(props) => (props.size ? props.size : '60px')};
|
58
|
+
height: auto;
|
82
59
|
|
83
|
-
|
84
|
-
|
85
|
-
transform: rotate(450deg);
|
86
|
-
}
|
60
|
+
.white {
|
61
|
+
filter: brightness(0) invert(1);
|
87
62
|
}
|
88
63
|
`
|
89
64
|
|
90
65
|
export default {
|
91
|
-
name: '
|
66
|
+
name: 'SpinnerComponent',
|
92
67
|
components: {
|
93
|
-
SpinnerContainer,
|
94
|
-
SpinnerCircle,
|
95
68
|
Container,
|
96
69
|
SpinnerWrapper,
|
70
|
+
SpinnerContainer,
|
71
|
+
SpinnerSvg,
|
97
72
|
},
|
98
73
|
props: {
|
99
|
-
|
100
|
-
type: String,
|
101
|
-
default: 'medium',
|
102
|
-
validator: (value) => ['small', 'medium', 'large'].includes(value),
|
103
|
-
},
|
104
|
-
isWhite: {
|
74
|
+
fullWidth: {
|
105
75
|
required: false,
|
106
76
|
default: false,
|
107
77
|
type: Boolean,
|
@@ -111,7 +81,12 @@
|
|
111
81
|
default: false,
|
112
82
|
type: Boolean,
|
113
83
|
},
|
114
|
-
|
84
|
+
size: {
|
85
|
+
required: false,
|
86
|
+
default: '60px',
|
87
|
+
type: String,
|
88
|
+
},
|
89
|
+
isWhite: {
|
115
90
|
required: false,
|
116
91
|
default: false,
|
117
92
|
type: Boolean,
|
@@ -25,19 +25,18 @@
|
|
25
25
|
item.type === 'template')
|
26
26
|
"
|
27
27
|
/>
|
28
|
-
<
|
28
|
+
<TemplateButton
|
29
29
|
v-if="
|
30
30
|
item.type &&
|
31
31
|
item.type === 'template' &&
|
32
32
|
(item.value === '' || item.value === '-')
|
33
33
|
"
|
34
34
|
:key="index + '_button'"
|
35
|
-
|
36
|
-
:text="$gettext('Use template...')"
|
37
|
-
:type="primary"
|
38
|
-
:variant="showArchived ? 'cancel' : 'main'"
|
35
|
+
:show-archived="showArchived"
|
39
36
|
@click.stop="onTemplateClick(item.row)"
|
40
|
-
|
37
|
+
>
|
38
|
+
{{ $gettext('Use template...') }}
|
39
|
+
</TemplateButton>
|
41
40
|
<TemplateLink
|
42
41
|
v-else-if="
|
43
42
|
item.type && item.type === 'template' && item.value !== ''
|
@@ -122,7 +121,7 @@
|
|
122
121
|
@on-change="onSearch($event)"
|
123
122
|
/>
|
124
123
|
</SearchContainer>
|
125
|
-
<Spinner v-if="optionsLoading"
|
124
|
+
<Spinner v-if="optionsLoading" />
|
126
125
|
<EmptyText v-else-if="!optionsLoading && !optionItems.length">
|
127
126
|
{{ emptyText ? emptyText : $gettext('No components found.') }}
|
128
127
|
</EmptyText>
|
@@ -140,13 +139,12 @@
|
|
140
139
|
<span v-if="option !== 'template'">
|
141
140
|
{{ !!item[option] ? item[option] : '-' }}
|
142
141
|
</span>
|
143
|
-
<
|
142
|
+
<TemplateButton
|
144
143
|
v-else-if="option === 'template' && item.has_template"
|
145
|
-
button-size="small"
|
146
|
-
:text="$gettext('Use template...')"
|
147
|
-
:type="primary"
|
148
144
|
@click.stop="onTemplateClick(item)"
|
149
|
-
|
145
|
+
>
|
146
|
+
{{ $gettext('Use template...') }}
|
147
|
+
</TemplateButton>
|
150
148
|
<NoTemplate
|
151
149
|
v-else-if="option === 'template' && !item.has_template"
|
152
150
|
>
|
@@ -200,7 +198,6 @@
|
|
200
198
|
import Icon from '../icon'
|
201
199
|
import theme from '@/assets/theme.js'
|
202
200
|
import InfoText from '../infoText'
|
203
|
-
import MainButton from '../buttons/mainButton'
|
204
201
|
|
205
202
|
const rowAttrs = { disabled: Boolean, isOpen: Boolean }
|
206
203
|
const DropdownRow = styled('div', rowAttrs)`
|
@@ -359,6 +356,17 @@
|
|
359
356
|
`
|
360
357
|
|
361
358
|
const templateAttrs = { showArchived: Boolean }
|
359
|
+
const TemplateButton = styled('div', templateAttrs)`
|
360
|
+
cursor: pointer;
|
361
|
+
background-color: #263238;
|
362
|
+
color: ${(props) =>
|
363
|
+
props.showArchived ? props.theme.colors.red : props.theme.colors.white};
|
364
|
+
padding: 4px 10px;
|
365
|
+
display: inline-block;
|
366
|
+
border-radius: 4px;
|
367
|
+
text-align: center;
|
368
|
+
margin-left: 15px;
|
369
|
+
`
|
362
370
|
|
363
371
|
const NoTemplate = styled('div', templateAttrs)`
|
364
372
|
color: ${(props) =>
|
@@ -458,7 +466,7 @@
|
|
458
466
|
OptionsWrapper,
|
459
467
|
OptionsItem,
|
460
468
|
SearchContainer,
|
461
|
-
|
469
|
+
TemplateButton,
|
462
470
|
NoTemplate,
|
463
471
|
TemplateLink,
|
464
472
|
InputText,
|
@@ -86,13 +86,12 @@
|
|
86
86
|
}
|
87
87
|
|
88
88
|
::-webkit-scrollbar-track {
|
89
|
-
background: ${(props) => props.theme.
|
89
|
+
background: ${(props) => props.theme.colors.grey2};
|
90
90
|
border-radius: 4px;
|
91
91
|
}
|
92
92
|
|
93
93
|
::-webkit-scrollbar-thumb {
|
94
|
-
border-bottom: 10px solid
|
95
|
-
${(props) => props.theme.semanticColors.grey[500]}; // width of the actual scrollbar
|
94
|
+
border-bottom: 10px solid ${(props) => props.theme.colors.brightBlue}; // width of the actual scrollbar
|
96
95
|
border-radius: 4px;
|
97
96
|
}
|
98
97
|
`
|
@@ -155,12 +154,9 @@
|
|
155
154
|
|
156
155
|
th {
|
157
156
|
padding: 11px 15px;
|
158
|
-
background-color: ${(props) => props.theme.
|
159
|
-
border-bottom: 1px solid
|
160
|
-
${(props) => props.theme.semanticColors.teal[100]};
|
157
|
+
background-color: ${(props) => props.theme.colors.blue1};
|
161
158
|
cursor: auto;
|
162
159
|
height: 40px;
|
163
|
-
font-weight: 500;
|
164
160
|
|
165
161
|
.ordering {
|
166
162
|
display: grid;
|
@@ -172,14 +168,13 @@
|
|
172
168
|
td {
|
173
169
|
padding: ${(props) =>
|
174
170
|
props.cellPaddings ? props.cellPaddings : '6px 6px 7px 4px'};
|
175
|
-
border-bottom: 1px solid
|
176
|
-
${(props) => props.theme.semanticColors.grey[200]};
|
171
|
+
border-bottom: 1px solid ${(props) => props.theme.colors.grey4};
|
177
172
|
|
178
173
|
&.empty {
|
179
174
|
height: 100px;
|
180
175
|
text-align: center;
|
181
176
|
cursor: default;
|
182
|
-
background-color:
|
177
|
+
background-color: #fff !important;
|
183
178
|
}
|
184
179
|
|
185
180
|
&.no-border {
|