@eturnity/eturnity_reusable_components 7.24.1 → 7.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babel.config.js +3 -1
- package/package.json +2 -1
- package/src/assets/svgIcons/anchor.svg +18 -0
- package/src/assets/svgIcons/consumption_tariffs.svg +43 -0
- package/src/assets/svgIcons/electricity_tariff.svg +3 -0
- package/src/assets/svgIcons/flatten_roof.svg +20 -0
- package/src/assets/svgIcons/handle.svg +5 -0
- package/src/assets/svgIcons/house_3d-1.svg +8 -0
- package/src/assets/svgIcons/house_3d.svg +8 -0
- package/src/assets/svgIcons/split.svg +6 -88
- package/src/assets/svgIcons/summer.svg +3 -0
- package/src/components/banner/actionBanner/index.vue +65 -0
- package/src/components/banner/banner/banner.stories.js +31 -0
- package/src/components/banner/banner/index.vue +188 -0
- package/src/components/banner/infoBanner/index.vue +69 -0
- package/src/components/buttons/mainButton/index.vue +30 -2
- package/src/components/collapsableInfoText/index.vue +125 -0
- package/src/components/filter/filterSettings.vue +2 -0
- package/src/components/icon/index.vue +1 -1
- package/src/components/iconWrapper/index.vue +23 -3
- package/src/components/inputs/checkbox/index.vue +5 -0
- package/src/components/inputs/inputText/index.vue +20 -4
- package/src/components/inputs/radioButton/index.vue +5 -2
- package/src/components/inputs/select/index.vue +34 -11
- package/src/components/modals/actionModal/index.vue +64 -0
- package/src/components/modals/infoModal/index.vue +49 -0
- package/src/components/modals/modal/index.vue +1 -1
- package/src/components/rangeSlider/Slider.vue +547 -0
- package/src/components/rangeSlider/index.vue +517 -0
- package/src/components/rangeSlider/utils/dom.js +49 -0
- package/src/components/rangeSlider/utils/fns.js +26 -0
- package/src/components/threeDots/index.vue +22 -8
- package/src/helpers/currencyMapping.js +28 -0
- package/src/mixins/inputValidations.js +97 -0
package/babel.config.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@eturnity/eturnity_reusable_components",
|
3
|
-
"version": "7.24.
|
3
|
+
"version": "7.24.3",
|
4
4
|
"private": false,
|
5
5
|
"scripts": {
|
6
6
|
"dev": "vue-cli-service serve",
|
@@ -23,6 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
25
|
"@babel/core": "7.12.16",
|
26
|
+
"@babel/eslint-parser": "7.12.16",
|
26
27
|
"@vue/cli-plugin-babel": "5.0.8",
|
27
28
|
"@vue/cli-plugin-eslint": "5.0.8",
|
28
29
|
"@vue/cli-service": "5.0.8",
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
3
|
+
<svg height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
4
|
+
viewBox="0 0 204.851 204.851" xml:space="preserve">
|
5
|
+
<g>
|
6
|
+
<g>
|
7
|
+
<g>
|
8
|
+
<path fill="white" d="M139.518,128.595l16.834,16.336c0,0-20.644,29.877-42.725,30.473
|
9
|
+
c0.479,0,0.117-84.092,0.039-104.472c14.694-4.797,25.402-18.182,25.402-34.117c0-20.009-16.697-36.218-37.273-36.218
|
10
|
+
c-20.615,0-37.312,16.209-37.312,36.208c0,15.671,10.376,28.929,24.748,33.961l0.098,104.277
|
11
|
+
c-26.643-1.837-42.061-27.474-42.061-27.474l17.997-17.41L0,120.505l9.887,63.301l17.362-16.795
|
12
|
+
c15.036,12.105,32.017,37.244,72.876,37.244c51.332-1.309,63.184-28.939,76.344-39.804l18.993,18.514l9.389-63.907
|
13
|
+
L139.518,128.595z M82.558,36.208c0-10.298,8.608-18.661,19.218-18.661s19.257,8.363,19.257,18.661
|
14
|
+
c0,10.327-8.647,18.681-19.257,18.681S82.558,46.535,82.558,36.208z"/>
|
15
|
+
</g>
|
16
|
+
</g>
|
17
|
+
</g>
|
18
|
+
</svg>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<svg width="81" height="80" viewBox="0 0 81 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M51.6097 40.3491C51.7466 40.2267 51.66 40 51.4764 40H43.375L48.9016 22.6994C48.9636 22.5053 48.7296 22.3537 48.5777 22.4895L29.3903 39.6509C29.2534 39.7733 29.34 40 29.5236 40H37.625L32.0984 57.3006C32.0364 57.4947 32.2704 57.6463 32.4223 57.5105L51.6097 40.3491Z" fill="#B2B9C5"/>
|
3
|
+
<path d="M27.5676 15.1647C28.222 15.8191 28.2078 16.8942 27.536 17.5661C26.8641 18.238 25.789 18.2521 25.1346 17.5978L17.3671 9.83034L19.8002 7.39727L27.5676 15.1647Z" fill="#DEE2EB"/>
|
4
|
+
<path d="M22.9134 2.03786C24.0932 2.24201 24.8589 3.36854 24.6237 4.55419C24.3885 5.73997 23.2413 6.53586 22.0613 6.33187L11.6146 4.5259L11.3604 0.0388747L22.9134 2.03786Z" fill="#DEE2EB"/>
|
5
|
+
<path d="M25.9034 19.9886C26.5577 20.643 26.5436 21.7181 25.8717 22.39C25.1998 23.0619 24.1247 23.0761 23.4703 22.4217L14.1231 13.0744L16.5561 10.6414L25.9034 19.9886Z" fill="#DEE2EB"/>
|
6
|
+
<path d="M21.8694 22.4428C22.5238 23.0972 22.5096 24.1723 21.8377 24.8442C21.1658 25.516 20.0907 25.5302 19.4363 24.8758L10.879 16.3185L13.312 13.8854L21.8694 22.4428Z" fill="#DEE2EB"/>
|
7
|
+
<path d="M16.2556 23.3171C16.9099 23.9715 16.8958 25.0467 16.2239 25.7185C15.552 26.3904 14.4769 26.4046 13.8225 25.7502L7.63489 19.5626L10.068 17.1295L16.2556 23.3171Z" fill="#DEE2EB"/>
|
8
|
+
<path d="M20.3268 7.92388L8.16149 20.0892L2.10553 14.0332C-0.0757419 11.852 -0.0284786 8.26816 2.21109 6.02859L6.2662 1.97348C8.50578 -0.26609 12.0896 -0.313354 14.2708 1.86792L20.3268 7.92388Z" fill="#DEE2EB"/>
|
9
|
+
<path d="M18.947 11.4102L18.1359 12.2212L17.0827 11.168L17.8937 10.3569L18.947 11.4102Z" fill="#DEE2EB"/>
|
10
|
+
<path d="M15.7029 14.6542L14.8919 15.4653L13.8386 14.4121L14.6497 13.601L15.7029 14.6542Z" fill="#DEE2EB"/>
|
11
|
+
<path d="M11.9322 17.3717L11.1212 18.1827L10.5946 17.6561L11.4056 16.8451L11.9322 17.3717Z" fill="#DEE2EB"/>
|
12
|
+
<path d="M6.2662 1.97348C8.29376 -0.05407 10.1615 -0.0787013 11.3604 0.0388747L11.6202 0.568994L11.4815 0.970987L9.60324 1.79608C9.16322 1.44619 6.15807 2.08162 6.2662 1.97348Z" fill="#DEE2EB"/>
|
13
|
+
<path d="M53.4304 64.8353C52.776 64.1809 52.7902 63.1058 53.4621 62.4339C54.134 61.762 55.2091 61.7478 55.8635 62.4022L63.6309 70.1697L61.1978 72.6027L53.4304 64.8353Z" fill="#DEE2EB"/>
|
14
|
+
<path d="M58.0847 77.9621C56.9049 77.758 56.1391 76.6315 56.3743 75.4458C56.6095 74.26 57.7567 73.4641 58.9367 73.6681L69.3834 75.4741L69.6376 79.9611L58.0847 77.9621Z" fill="#DEE2EB"/>
|
15
|
+
<path d="M55.0947 60.0114C54.4403 59.357 54.4545 58.2819 55.1264 57.61C55.7982 56.9381 56.8734 56.9239 57.5277 57.5783L66.875 66.9256L64.4419 69.3586L55.0947 60.0114Z" fill="#DEE2EB"/>
|
16
|
+
<path d="M59.1287 57.5572C58.4743 56.9028 58.4885 55.8277 59.1603 55.1558C59.8322 54.4839 60.9074 54.4698 61.5617 55.1242L70.1191 63.6815L67.686 66.1146L59.1287 57.5572Z" fill="#DEE2EB"/>
|
17
|
+
<path d="M64.7425 56.6829C64.0881 56.0285 64.1023 54.9533 64.7742 54.2815C65.446 53.6096 66.5212 53.5954 67.1755 54.2498L73.3632 60.4374L70.9301 62.8705L64.7425 56.6829Z" fill="#DEE2EB"/>
|
18
|
+
<path d="M60.6712 72.0761L72.8366 59.9108L78.8925 65.9668C81.0738 68.148 81.0265 71.7318 78.787 73.9714L74.7318 78.0265C72.4923 80.2661 68.9085 80.3134 66.7272 78.1321L60.6712 72.0761Z" fill="#DEE2EB"/>
|
19
|
+
<path d="M62.0511 68.5898L62.8621 67.7788L63.9153 68.832L63.1043 69.6431L62.0511 68.5898Z" fill="#DEE2EB"/>
|
20
|
+
<path d="M65.2952 65.3458L66.1062 64.5347L67.1594 65.5879L66.3484 66.399L65.2952 65.3458Z" fill="#DEE2EB"/>
|
21
|
+
<path d="M69.0659 62.6283L69.8769 61.8173L70.4035 62.3439L69.5925 63.1549L69.0659 62.6283Z" fill="#DEE2EB"/>
|
22
|
+
<path d="M74.7318 78.0265C72.7043 80.0541 70.8365 80.0787 69.6376 79.9611L69.3778 79.431L69.5165 79.029L71.3948 78.2039C71.8348 78.5538 74.84 77.9184 74.7318 78.0265Z" fill="#DEE2EB"/>
|
23
|
+
<path d="M53.4304 15.1647C52.776 15.8191 52.7902 16.8942 53.4621 17.5661C54.134 18.238 55.2091 18.2521 55.8635 17.5978L63.6309 9.83034L61.1978 7.39727L53.4304 15.1647Z" fill="#DEE2EB"/>
|
24
|
+
<path d="M58.0847 2.03786C56.9049 2.24201 56.1391 3.36854 56.3743 4.55419C56.6095 5.73997 57.7567 6.53586 58.9367 6.33187L69.3834 4.5259L69.6376 0.0388747L58.0847 2.03786Z" fill="#DEE2EB"/>
|
25
|
+
<path d="M55.0947 19.9886C54.4403 20.643 54.4545 21.7181 55.1263 22.39C55.7982 23.0619 56.8734 23.0761 57.5277 22.4217L66.875 13.0744L64.4419 10.6414L55.0947 19.9886Z" fill="#DEE2EB"/>
|
26
|
+
<path d="M59.1287 22.4428C58.4743 23.0972 58.4885 24.1723 59.1603 24.8442C59.8322 25.516 60.9074 25.5302 61.5617 24.8758L70.1191 16.3185L67.686 13.8854L59.1287 22.4428Z" fill="#DEE2EB"/>
|
27
|
+
<path d="M64.7425 23.3171C64.0881 23.9715 64.1023 25.0467 64.7742 25.7185C65.446 26.3904 66.5212 26.4046 67.1755 25.7502L73.3632 19.5626L70.9301 17.1295L64.7425 23.3171Z" fill="#DEE2EB"/>
|
28
|
+
<path d="M60.6712 7.92388L72.8366 20.0892L78.8925 14.0332C81.0738 11.852 81.0265 8.26816 78.787 6.02859L74.7318 1.97348C72.4923 -0.26609 68.9085 -0.313354 66.7272 1.86792L60.6712 7.92388Z" fill="#DEE2EB"/>
|
29
|
+
<path d="M62.0511 11.4102L62.8621 12.2212L63.9153 11.168L63.1043 10.3569L62.0511 11.4102Z" fill="#DEE2EB"/>
|
30
|
+
<path d="M65.2952 14.6542L66.1062 15.4653L67.1594 14.4121L66.3484 13.601L65.2952 14.6542Z" fill="#DEE2EB"/>
|
31
|
+
<path d="M69.0659 17.3717L69.8769 18.1827L70.4035 17.6561L69.5925 16.8451L69.0659 17.3717Z" fill="#DEE2EB"/>
|
32
|
+
<path d="M74.7318 1.97348C72.7043 -0.05407 70.8365 -0.0787013 69.6376 0.0388747L69.3778 0.568994L69.5165 0.970987L71.3948 1.79608C71.8348 1.44619 74.84 2.08162 74.7318 1.97348Z" fill="#DEE2EB"/>
|
33
|
+
<path d="M27.5676 64.8353C28.222 64.1809 28.2078 63.1058 27.536 62.4339C26.8641 61.762 25.789 61.7479 25.1346 62.4022L17.3671 70.1697L19.8002 72.6027L27.5676 64.8353Z" fill="#DEE2EB"/>
|
34
|
+
<path d="M22.9134 77.9621C24.0932 77.758 24.8589 76.6315 24.6237 75.4458C24.3885 74.26 23.2413 73.4641 22.0613 73.6681L11.6146 75.4741L11.3604 79.9611L22.9134 77.9621Z" fill="#DEE2EB"/>
|
35
|
+
<path d="M25.9034 60.0114C26.5578 59.357 26.5436 58.2819 25.8717 57.61C25.1998 56.9381 24.1247 56.924 23.4703 57.5783L14.1231 66.9256L16.5561 69.3586L25.9034 60.0114Z" fill="#DEE2EB"/>
|
36
|
+
<path d="M21.8694 57.5572C22.5238 56.9028 22.5096 55.8277 21.8377 55.1558C21.1658 54.484 20.0907 54.4698 19.4363 55.1242L10.879 63.6815L13.312 66.1146L21.8694 57.5572Z" fill="#DEE2EB"/>
|
37
|
+
<path d="M16.2556 56.6829C16.9099 56.0285 16.8958 54.9533 16.2239 54.2815C15.552 53.6096 14.4769 53.5954 13.8225 54.2498L7.63489 60.4374L10.068 62.8705L16.2556 56.6829Z" fill="#DEE2EB"/>
|
38
|
+
<path d="M20.3268 72.0761L8.16149 59.9108L2.10553 65.9668C-0.0757409 68.148 -0.0284779 71.7318 2.2111 73.9714L6.2662 78.0265C8.50578 80.2661 12.0896 80.3134 14.2708 78.1321L20.3268 72.0761Z" fill="#DEE2EB"/>
|
39
|
+
<path d="M18.947 68.5898L18.1359 67.7788L17.0827 68.832L17.8938 69.6431L18.947 68.5898Z" fill="#DEE2EB"/>
|
40
|
+
<path d="M15.7029 65.3458L14.8919 64.5347L13.8386 65.5879L14.6497 66.399L15.7029 65.3458Z" fill="#DEE2EB"/>
|
41
|
+
<path d="M11.9322 62.6283L11.1212 61.8173L10.5946 62.3439L11.4056 63.1549L11.9322 62.6283Z" fill="#DEE2EB"/>
|
42
|
+
<path d="M6.2662 78.0265C8.29376 80.0541 10.1615 80.0787 11.3604 79.9611L11.6202 79.431L11.4815 79.029L9.60324 78.2039C9.16322 78.5538 6.15807 77.9184 6.2662 78.0265Z" fill="#DEE2EB"/>
|
43
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="10" height="18" viewBox="0 0 10 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.36652 9.33445C9.4832 9.20595 9.39203 9 9.21845 9H6.16767L8.29896 0.785289C8.35143 0.583073 8.09775 0.44595 7.95731 0.60061L0.633784 8.66555C0.517096 8.79405 0.608271 9 0.781847 9H3.83263L1.70134 17.2147C1.64887 17.4169 1.90255 17.5541 2.04299 17.3994L9.36652 9.33445Z" fill="#263238"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
|
4
|
+
<svg
|
5
|
+
width="16"
|
6
|
+
height="8"
|
7
|
+
viewBox="0 0 16 8"
|
8
|
+
version="1.1"
|
9
|
+
id="svg5"
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
11
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
12
|
+
<g
|
13
|
+
transform="translate(-55.350933,-93.588073)">
|
14
|
+
<path
|
15
|
+
fill="#000000"
|
16
|
+
d="m 61.719348,100.39494 1.004406,0.0185 -0.0013,-2.679323 0.88345,-4.27e-4 c -0.0051,-0.01381 -0.01401,2.69128 -0.01401,2.69128 l 1.05348,-0.0159 -1.582401,1.44453 z m -6.368415,-0.817395 7.856738,-5.989472 7.616581,6.321372 -1.240034,1.266145 -6.409573,-5.185912 -6.581971,5.125212 z"
|
17
|
+
id="path874"
|
18
|
+
/>
|
19
|
+
</g>
|
20
|
+
</svg>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<svg width="11" height="41" viewBox="0 0 11 41" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<line x1="5.5" y1="4" x2="5.5" y2="36" stroke="#DEE2EB"/>
|
3
|
+
<path d="M9.5 40C9.5 40.5523 9.05228 41 8.5 41L2.5 41C1.94772 41 1.5 40.5523 1.5 40L1.5 33.618C1.5 33.2393 1.714 32.893 2.05279 32.7236L5.5 31L8.94721 32.7236C9.286 32.893 9.5 33.2393 9.5 33.618L9.5 40Z" fill="#B2B9C5"/>
|
4
|
+
<path d="M1.5 1C1.5 0.447715 1.94772 0 2.5 0H8.5C9.05228 0 9.5 0.447715 9.5 1V7.38197C9.5 7.76074 9.286 8.107 8.94721 8.27639L5.5 10L2.05279 8.27639C1.714 8.107 1.5 7.76074 1.5 7.38197V1Z" fill="#B2B9C5"/>
|
5
|
+
</svg>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
|
2
|
+
<mask id="path-1-inside-1_57915_53334" fill="white">
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.0303 2.75757L0 5.30302V11.2424L3.41022 12.4091V8.96996L4.53143 9.41845V12.7926L8.0606 14V8.0606L4.0303 2.75757Z"/>
|
4
|
+
</mask>
|
5
|
+
<path d="M0 5.30302L-0.694191 4.20389L-1.3 4.5865V5.30302H0ZM4.0303 2.75757L5.06531 1.97096L4.344 1.02187L3.33611 1.65843L4.0303 2.75757ZM0 11.2424H-1.3V12.1716L-0.420794 12.4724L0 11.2424ZM3.41022 12.4091L2.98943 13.6391L4.71022 14.2278V12.4091H3.41022ZM3.41022 8.96996L3.89303 7.76294L2.11022 7.04982V8.96996H3.41022ZM4.53143 9.41845H5.83143V8.5383L5.01424 8.21143L4.53143 9.41845ZM4.53143 12.7926H3.23143V13.7219L4.11064 14.0227L4.53143 12.7926ZM8.0606 14L7.63981 15.23L9.3606 15.8187V14H8.0606ZM8.0606 8.0606H9.3606V7.62266L9.09561 7.27399L8.0606 8.0606ZM0.694191 6.40216L4.72449 3.8567L3.33611 1.65843L-0.694191 4.20389L0.694191 6.40216ZM1.3 11.2424V5.30302H-1.3V11.2424H1.3ZM3.83102 11.1791L0.420794 10.0124L-0.420794 12.4724L2.98943 13.6391L3.83102 11.1791ZM4.71022 12.4091V8.96996H2.11022V12.4091H4.71022ZM2.92741 10.177L4.04862 10.6255L5.01424 8.21143L3.89303 7.76294L2.92741 10.177ZM3.23143 9.41845V12.7926H5.83143V9.41845H3.23143ZM8.48139 12.77L4.95223 11.5626L4.11064 14.0227L7.63981 15.23L8.48139 12.77ZM6.7606 8.0606V14H9.3606V8.0606H6.7606ZM2.99529 3.54418L7.02559 8.8472L9.09561 7.27399L5.06531 1.97096L2.99529 3.54418Z" fill="#0068DE" mask="url(#path-1-inside-1_57915_53334)"/>
|
6
|
+
<path d="M8.55859 13.2165V8.37967L13.498 6.08638V10.9232L8.55859 13.2165Z" fill="#0068DE" stroke="#0068DE"/>
|
7
|
+
<path d="M8.21608 7.43759L4.80515 2.94953L9.81611 0.623007L13.227 5.11107L8.21608 7.43759Z" fill="#0068DE" stroke="#0068DE"/>
|
8
|
+
</svg>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="16" viewBox="0 0 14 16" fill="none">
|
2
|
+
<mask id="path-1-inside-1_57915_3657" fill="white">
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.03081 3.71851L0 6.28736V12.2814L3.41065 13.4587V9.98801L4.532 10.4406V13.8458L8.06161 15.0643V9.07028L4.03081 3.71851Z"/>
|
4
|
+
</mask>
|
5
|
+
<path d="M0 6.28736L-0.698673 5.19107L-1.3 5.5743V6.28736H0ZM4.03081 3.71851L5.06922 2.9364L4.34595 1.9761L3.33213 2.62221L4.03081 3.71851ZM0 12.2814H-1.3V13.2079L-0.424205 13.5102L0 12.2814ZM3.41065 13.4587L2.98645 14.6876L4.71065 15.2828V13.4587H3.41065ZM3.41065 9.98801L3.89722 8.78251L2.11065 8.0614V9.98801H3.41065ZM4.532 10.4406H5.832V9.56343L5.01858 9.23511L4.532 10.4406ZM4.532 13.8458H3.232V14.7723L4.1078 15.0747L4.532 13.8458ZM8.06161 15.0643L7.63741 16.2931L9.36161 16.8883V15.0643H8.06161ZM8.06161 9.07028H9.36161V8.63549L9.10003 8.28818L8.06161 9.07028ZM0.698673 7.38365L4.72948 4.8148L3.33213 2.62221L-0.698673 5.19107L0.698673 7.38365ZM1.3 12.2814V6.28736H-1.3V12.2814H1.3ZM3.83485 12.2299L0.424205 11.0525L-0.424205 13.5102L2.98645 14.6876L3.83485 12.2299ZM4.71065 13.4587V9.98801H2.11065V13.4587H4.71065ZM2.92408 11.1935L4.04543 11.6461L5.01858 9.23511L3.89722 8.78251L2.92408 11.1935ZM3.232 10.4406V13.8458H5.832V10.4406H3.232ZM8.48582 13.8354L4.95621 12.617L4.1078 15.0747L7.63741 16.2931L8.48582 13.8354ZM6.76161 9.07028V15.0643H9.36161V9.07028H6.76161ZM2.99239 4.50061L7.0232 9.85239L9.10003 8.28818L5.06922 2.9364L2.99239 4.50061Z" fill="white" mask="url(#path-1-inside-1_57915_3657)"/>
|
6
|
+
<path d="M8.5625 14.2779V9.38818L13.5026 7.07375V11.9634L8.5625 14.2779Z" fill="white" stroke="white"/>
|
7
|
+
<path d="M8.21735 8.44534L4.80134 3.90984L9.81609 1.56045L13.2321 6.09596L8.21735 8.44534Z" fill="white" stroke="white"/>
|
8
|
+
</svg>
|
@@ -1,94 +1,12 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
-
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
-
|
4
1
|
<svg
|
5
|
-
version="1.1"
|
6
|
-
id="svg438"
|
7
2
|
width="838"
|
8
3
|
height="833"
|
9
4
|
viewBox="0 0 838 833"
|
10
|
-
sodipodi:docname="split.svg"
|
11
|
-
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
12
|
-
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13
|
-
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
14
5
|
xmlns="http://www.w3.org/2000/svg"
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<stop
|
22
|
-
style="stop-color:#ffffff;stop-opacity:1;"
|
23
|
-
offset="0"
|
24
|
-
id="stop7381" />
|
25
|
-
</linearGradient>
|
26
|
-
<linearGradient
|
27
|
-
id="linearGradient6933"
|
28
|
-
inkscape:swatch="solid">
|
29
|
-
<stop
|
30
|
-
style="stop-color:#000000;stop-opacity:1;"
|
31
|
-
offset="0"
|
32
|
-
id="stop6931" />
|
33
|
-
</linearGradient>
|
34
|
-
</defs>
|
35
|
-
<sodipodi:namedview
|
36
|
-
id="namedview440"
|
37
|
-
pagecolor="#ffffff"
|
38
|
-
bordercolor="#666666"
|
39
|
-
borderopacity="1.0"
|
40
|
-
inkscape:pageshadow="2"
|
41
|
-
inkscape:pageopacity="0.0"
|
42
|
-
inkscape:pagecheckerboard="0"
|
43
|
-
showgrid="false"
|
44
|
-
inkscape:zoom="0.95078031"
|
45
|
-
inkscape:cx="466.45896"
|
46
|
-
inkscape:cy="549.02273"
|
47
|
-
inkscape:window-width="1920"
|
48
|
-
inkscape:window-height="1007"
|
49
|
-
inkscape:window-x="0"
|
50
|
-
inkscape:window-y="0"
|
51
|
-
inkscape:window-maximized="1"
|
52
|
-
inkscape:current-layer="g444" />
|
53
|
-
<g
|
54
|
-
inkscape:groupmode="layer"
|
55
|
-
inkscape:label="Image"
|
56
|
-
id="g444">
|
57
|
-
<circle
|
58
|
-
id="path5141"
|
59
|
-
style="fill:none;stroke:#fffeff;stroke-opacity:1"
|
60
|
-
cx="0.66903824"
|
61
|
-
cy="263.65976"
|
62
|
-
r="0.52949077" />
|
63
|
-
<circle
|
64
|
-
id="path5143"
|
65
|
-
style="fill:none;stroke:#fffeff;stroke-opacity:1"
|
66
|
-
cx="0.66903824"
|
67
|
-
cy="263.65976"
|
68
|
-
r="0.52949077" />
|
69
|
-
<g
|
70
|
-
id="path5184"
|
71
|
-
style="stroke:#fffeff;stroke-opacity:1;fill:none">
|
72
|
-
<path
|
73
|
-
style="color:#000000;fill:none;stroke-width:154.42;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
|
74
|
-
d="m -156.35359,113.32885 348.76355,221.92361 744.6236,-498.85799"
|
75
|
-
id="path6861" />
|
76
|
-
<path
|
77
|
-
style="color:#000000;fill:none;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
|
78
|
-
d="M 894.06055,-227.75 191.32227,243.04492 -114.9043,48.1875 -197.80273,178.46875 193.49609,427.45898 980.00781,-99.460937 Z"
|
79
|
-
id="path6863" />
|
80
|
-
</g>
|
81
|
-
<g
|
82
|
-
id="path5186"
|
83
|
-
style="stroke:#fffeff;stroke-opacity:1;fill:none">
|
84
|
-
<path
|
85
|
-
style="color:#000000;fill:none;stroke-width:166.34;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
|
86
|
-
d="M 816.06617,905.68984 357.97591,628.01443 1035.7943,176.14788"
|
87
|
-
id="path6855" />
|
88
|
-
<path
|
89
|
-
style="color:#000000;fill:none;-inkscape-stroke:none;stroke:#fffeff;stroke-opacity:1"
|
90
|
-
d="M 989.66016,106.94531 203.03125,631.34961 772.95312,976.81445 859.17773,834.56641 512.91992,624.67773 1081.9277,245.34961 Z"
|
91
|
-
id="path6857" />
|
92
|
-
</g>
|
93
|
-
</g>
|
6
|
+
>
|
7
|
+
|
8
|
+
<path
|
9
|
+
fill="#B2B9C5"
|
10
|
+
d="m -5.0875843,441.73292 3.3936693,-93.74987 847.237645,-2.85667 -3.71049,95.94711 z m 333.6519143,232.4369 -98.27777,-105.35245 43.34233,-0.60608 c 23.83828,-0.33335 56.95483,-0.67085 73.59233,-0.75 l 30.25,-0.14392 L 376,413.05958 374.48738,213.61969 301.67731,213.3632 228.86724,213.10671 326.58798,107.77384 C 380.33439,49.84076 424.5019,2.3657611 424.73801,2.2738411 425.25724,2.0716911 628.96623,212.59506 628.96623,213.35636 c 0,0.29424 -41.55385,0.25035 -81.97885,0.25035 h -73.5 L 475,413.0466 l 1.47122,154.25779 72.81196,0.25649 72.81196,0.25649 -91.89971,99.5 -103.35334,112.2049 z"
|
11
|
+
/>
|
94
12
|
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M12 5.3C11.268 5.3 10.6747 4.70667 10.6747 3.97467V1.32533C10.6747 0.593333 11.268 0 12 0C12.732 0 13.3253 0.593333 13.3253 1.32533V3.97467C13.3253 4.70667 12.732 5.3 12 5.3ZM13.3253 22.6747V20.0253C13.3253 19.2933 12.732 18.7 12 18.7C11.268 18.7 10.6747 19.2933 10.6747 20.0253V22.6747C10.6747 23.4067 11.268 24 12 24C12.732 24 13.3253 23.4067 13.3253 22.6747ZM20.0253 13.3253H22.6747C23.4067 13.3253 24 12.732 24 12C24 11.268 23.4067 10.6747 22.6747 10.6747H20.0253C19.2933 10.6747 18.7 11.268 18.7 12C18.7 12.732 19.2933 13.3253 20.0253 13.3253ZM1.32533 13.3253H3.97467C4.70667 13.3253 5.3 12.732 5.3 12C5.3 11.268 4.70667 10.6747 3.97467 10.6747H1.32533C0.593333 10.6747 0 11.268 0 12C0 12.732 0.593333 13.3253 1.32533 13.3253ZM18.612 7.26133L20.4853 5.388C21.0027 4.87067 21.0027 4.032 20.4853 3.51467C19.968 2.99733 19.1293 2.99733 18.612 3.51467L16.7387 5.388C16.2213 5.90533 16.2213 6.744 16.7387 7.26133C17.256 7.77867 18.0947 7.77867 18.612 7.26133ZM5.388 20.4853L7.26133 18.612C7.77867 18.0947 7.77867 17.256 7.26133 16.7387C6.744 16.2213 5.90533 16.2213 5.388 16.7387L3.51467 18.612C2.99733 19.1293 2.99733 19.968 3.51467 20.4853C4.032 21.0027 4.87067 21.0027 5.388 20.4853ZM16.7387 18.612L18.612 20.4853C19.1293 21.0027 19.968 21.0027 20.4853 20.4853C21.0027 19.968 21.0027 19.1293 20.4853 18.612L18.612 16.7387C18.0947 16.2213 17.256 16.2213 16.7387 16.7387C16.2213 17.256 16.2213 18.0947 16.7387 18.612ZM3.51467 5.388L5.388 7.26133C5.90533 7.77867 6.744 7.77867 7.26133 7.26133C7.77867 6.744 7.77867 5.90533 7.26133 5.388L5.388 3.51467C4.87067 2.99733 4.032 2.99733 3.51467 3.51467C2.99733 4.032 2.99733 4.87067 3.51467 5.388ZM12 6.77733C9.07333 6.77733 6.7 9.14933 6.7 12.0773C6.7 15.0053 9.07333 17.376 12 17.376C14.9267 17.376 17.3 15.004 17.3 12.076C17.3 9.148 14.9267 6.77733 12 6.77733Z" fill="#FDB813"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<template>
|
2
|
+
<Modal :is-open="isOpen" @on-close="closeModal">
|
3
|
+
<modalContainer>
|
4
|
+
<modalTitle v-if="$slots.title">
|
5
|
+
<slot name="title"></slot>
|
6
|
+
</modalTitle>
|
7
|
+
<textContainer v-if="$slots.body">
|
8
|
+
<slot name="body"></slot>
|
9
|
+
</textContainer>
|
10
|
+
<buttonContainer v-if="$slots.buttons">
|
11
|
+
<slot name="buttons"></slot>
|
12
|
+
</buttonContainer>
|
13
|
+
</modalContainer>
|
14
|
+
</Modal>
|
15
|
+
</template>
|
16
|
+
<script>
|
17
|
+
import styled from 'vue3-styled-components'
|
18
|
+
import { mapActions, mapState } from 'vuex'
|
19
|
+
import Modal from '../modal'
|
20
|
+
const modalContainer = styled.div`
|
21
|
+
width: 450px;
|
22
|
+
min-height: 205px;
|
23
|
+
padding: 40px 40px 30px 40px;
|
24
|
+
`
|
25
|
+
const modalTitle = styled.div`
|
26
|
+
color: ${(props) => props.theme.colors.black};
|
27
|
+
font-family: ${(props) => props.theme.fonts.mainFont};
|
28
|
+
font-size: 18px;
|
29
|
+
font-style: normal;
|
30
|
+
font-weight: 700;
|
31
|
+
line-height: 120%;
|
32
|
+
text-transform: uppercase;
|
33
|
+
`
|
34
|
+
const buttonContainer = styled.div`
|
35
|
+
display: inline-flex;
|
36
|
+
align-items: flex-start;
|
37
|
+
gap: 20px;
|
38
|
+
`
|
39
|
+
const textContainer = styled.div`
|
40
|
+
color: ${(props) => props.theme.colors.black};
|
41
|
+
font-family: ${(props) => props.theme.fonts.mainFont};
|
42
|
+
font-size: 13px;
|
43
|
+
font-style: normal;
|
44
|
+
font-weight: 400;
|
45
|
+
line-height: normal;
|
46
|
+
padding: 30px 0px;
|
47
|
+
white-space: pre-wrap;
|
48
|
+
`
|
49
|
+
export default {
|
50
|
+
name: 'actionModal',
|
51
|
+
props: ['isOpen'],
|
52
|
+
components: {
|
53
|
+
Modal,
|
54
|
+
modalContainer,
|
55
|
+
modalTitle,
|
56
|
+
buttonContainer,
|
57
|
+
textContainer
|
58
|
+
},
|
59
|
+
methods: {
|
60
|
+
closeModal() {
|
61
|
+
this.$emit('on-close')
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
</script>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import Modal from "./index.vue";
|
2
|
+
|
3
|
+
export default {
|
4
|
+
title: "Modal",
|
5
|
+
component: Modal,
|
6
|
+
// argTypes: {},
|
7
|
+
};
|
8
|
+
|
9
|
+
const Template = (args, { argTypes }) => ({
|
10
|
+
// Components used in your story `template` are defined in the `components` object
|
11
|
+
components: { Modal },
|
12
|
+
// The story's `args` need to be mapped into the template through the `setup()` method
|
13
|
+
props: Object.keys(argTypes),
|
14
|
+
template: '<modal v-bind="$props" />',
|
15
|
+
|
16
|
+
// import Modal from "@eturnity/eturnity_reusable_components/src/components/modals/modal"
|
17
|
+
// This is a more flexible modal box, where the parent can decide how the body of the modal looks
|
18
|
+
// To use:
|
19
|
+
// <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')" :preventOutsideClose="true" :isLoading="true" :hideClose="true">
|
20
|
+
// <div>Data....</div>
|
21
|
+
// </modal>
|
22
|
+
});
|
23
|
+
|
24
|
+
export const Default = Template.bind({
|
25
|
+
isOpen: true,
|
26
|
+
preventOutsideClose: true,
|
27
|
+
isLoading: false,
|
28
|
+
hideClose: false,
|
29
|
+
backdrop: 'dark',
|
30
|
+
})
|
31
|
+
Default.args = {};
|
@@ -0,0 +1,188 @@
|
|
1
|
+
<template>
|
2
|
+
<page-wrapper
|
3
|
+
:position="position"
|
4
|
+
:isOpen="isOpen"
|
5
|
+
:class="{ visible: isOpen, hidden: !isOpen }"
|
6
|
+
:backdrop="backdrop"
|
7
|
+
>
|
8
|
+
<modal-container @click="onClickModalContainer">
|
9
|
+
<spinner v-if="isLoading" size="50px" :limitedToModal="true" />
|
10
|
+
<content-container :visible="!isLoading">
|
11
|
+
<slot />
|
12
|
+
</content-container>
|
13
|
+
<close-button v-if="!hideClose" @click="onCloseModal()" class="close" />
|
14
|
+
</modal-container>
|
15
|
+
</page-wrapper>
|
16
|
+
</template>
|
17
|
+
|
18
|
+
<script>
|
19
|
+
// Rules: (as defined in https://e-turnity.atlassian.net/browse/EPDM-9694)
|
20
|
+
// 1. On clicking the “escape” key, close the modal onCloseModal()
|
21
|
+
// 2. Always prevent outside close
|
22
|
+
// import Modal from "@eturnity/eturnity_reusable_components/src/components/modals/modal"
|
23
|
+
// This is a more flexible modal box, where the parent can decide how the body of the modal looks
|
24
|
+
// To use:
|
25
|
+
// <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')" :isLoading="true" :hideClose="true" :stopPropagation="false">
|
26
|
+
// <div>Data....</div>
|
27
|
+
// </modal>
|
28
|
+
|
29
|
+
import styled from 'vue3-styled-components'
|
30
|
+
import CloseButton from '../../buttons/closeButton'
|
31
|
+
import Spinner from '../../spinner'
|
32
|
+
|
33
|
+
const contentAttrs = { visible: Boolean }
|
34
|
+
const ContentContainer = styled('div', contentAttrs)`
|
35
|
+
visibility: ${(props) => (props.visible ? 'inherit' : 'hidden')};
|
36
|
+
`
|
37
|
+
|
38
|
+
const pageAttrs = { isOpen: Boolean, backdrop: String, position: String }
|
39
|
+
const PageWrapper = styled('div', pageAttrs)`
|
40
|
+
position: ${(props) => props.position}
|
41
|
+
display: grid;
|
42
|
+
top: 0;
|
43
|
+
left: 0;
|
44
|
+
width: 100%;
|
45
|
+
height: 100%;
|
46
|
+
background-color: ${(props) =>
|
47
|
+
props.backdrop == 'dark'
|
48
|
+
? 'rgba(0, 0, 0, 0.4)'
|
49
|
+
: 'rgba(255, 255, 255, 0.9)'};
|
50
|
+
z-index: 99999;
|
51
|
+
overflow: auto;
|
52
|
+
|
53
|
+
&.visible {
|
54
|
+
visibility: visible;
|
55
|
+
opacity: 1;
|
56
|
+
transition: visibility 0s linear 0s, opacity 300ms;
|
57
|
+
}
|
58
|
+
|
59
|
+
&.hidden {
|
60
|
+
visibility: hidden;
|
61
|
+
opacity: 0;
|
62
|
+
transition: visibility 0s linear 300ms, opacity 300ms;
|
63
|
+
}
|
64
|
+
|
65
|
+
@media (max-width: 425px) {
|
66
|
+
background: white;
|
67
|
+
}
|
68
|
+
`
|
69
|
+
|
70
|
+
const ModalContainer = styled.div`
|
71
|
+
align-self: center;
|
72
|
+
justify-self: center;
|
73
|
+
position: relative;
|
74
|
+
box-shadow: 0px 4px 4px 3px rgba(0, 0, 0, 0.1);
|
75
|
+
border-radius: 4px;
|
76
|
+
background: white;
|
77
|
+
margin: 0 auto;
|
78
|
+
overflow: auto;
|
79
|
+
max-width: 95%;
|
80
|
+
max-height: 95%;
|
81
|
+
min-width: 100px;
|
82
|
+
min-height: 100px;
|
83
|
+
|
84
|
+
::-webkit-scrollbar {
|
85
|
+
width: 0.3em;
|
86
|
+
height: 100%;
|
87
|
+
background-color: ${(props) => props.theme.colors.grey5};
|
88
|
+
}
|
89
|
+
|
90
|
+
/* Make scrollbar visible when needed */
|
91
|
+
::-webkit-scrollbar-thumb {
|
92
|
+
background-color: ${(props) => props.theme.colors.grey3};
|
93
|
+
}
|
94
|
+
|
95
|
+
/* Make scrollbar track visible when needed */
|
96
|
+
::-webkit-scrollbar-track {
|
97
|
+
background-color: ${(props) => props.theme.colors.grey5};
|
98
|
+
}
|
99
|
+
|
100
|
+
.close {
|
101
|
+
position: absolute;
|
102
|
+
right: 20px;
|
103
|
+
top: 20px;
|
104
|
+
|
105
|
+
@media (max-width: 425px) {
|
106
|
+
right: 14px;
|
107
|
+
top: 12px;
|
108
|
+
background: white;
|
109
|
+
position: fixed;
|
110
|
+
z-index: 99;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
@media (max-width: 425px) {
|
115
|
+
width: 100%;
|
116
|
+
height: 100%;
|
117
|
+
box-shadow: none;
|
118
|
+
}
|
119
|
+
`
|
120
|
+
|
121
|
+
export default {
|
122
|
+
name: 'modal',
|
123
|
+
components: {
|
124
|
+
PageWrapper,
|
125
|
+
ModalContainer,
|
126
|
+
CloseButton,
|
127
|
+
Spinner,
|
128
|
+
ContentContainer
|
129
|
+
},
|
130
|
+
props: {
|
131
|
+
isOpen: {
|
132
|
+
required: true,
|
133
|
+
default: false
|
134
|
+
},
|
135
|
+
isLoading: {
|
136
|
+
required: false,
|
137
|
+
default: false
|
138
|
+
},
|
139
|
+
hideClose: {
|
140
|
+
required: false,
|
141
|
+
default: false
|
142
|
+
},
|
143
|
+
backdrop: {
|
144
|
+
required: false,
|
145
|
+
default: 'white'
|
146
|
+
},
|
147
|
+
position: {
|
148
|
+
required: false,
|
149
|
+
default: 'fixed'
|
150
|
+
},
|
151
|
+
stopPropagation: {
|
152
|
+
type: Boolean,
|
153
|
+
default: true
|
154
|
+
}
|
155
|
+
},
|
156
|
+
beforeDestroy() {
|
157
|
+
window.removeEventListener('keydown', this.handleKeyDown)
|
158
|
+
},
|
159
|
+
methods: {
|
160
|
+
onCloseModal() {
|
161
|
+
this.$emit('on-close')
|
162
|
+
},
|
163
|
+
handleKeyDown({ key }) {
|
164
|
+
if (key === 'Escape') {
|
165
|
+
this.onCloseModal()
|
166
|
+
}
|
167
|
+
},
|
168
|
+
onClickModalContainer(event) {
|
169
|
+
if (this.stopPropagation) {
|
170
|
+
event.stopPropagation()
|
171
|
+
}
|
172
|
+
}
|
173
|
+
},
|
174
|
+
watch: {
|
175
|
+
isOpen: {
|
176
|
+
immediate: true,
|
177
|
+
handler(isOpen) {
|
178
|
+
document.body.style.overflow = isOpen ? 'hidden' : ''
|
179
|
+
if (isOpen) {
|
180
|
+
window.addEventListener('keydown', this.handleKeyDown)
|
181
|
+
} else {
|
182
|
+
window.removeEventListener('keydown', this.handleKeyDown)
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
</script>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
<template>
|
2
|
+
<ActionModal :is-open="isOpen" @on-close="closeModal">
|
3
|
+
<modalContainer>
|
4
|
+
<template name="title">
|
5
|
+
<slot name="title"></slot>
|
6
|
+
</template>
|
7
|
+
<template name="body">
|
8
|
+
<slot name="body"></slot>
|
9
|
+
</template>
|
10
|
+
<template name="buttons">
|
11
|
+
<buttonContainer>
|
12
|
+
<Button type="primary" :text="$gettext('Got it')" minWidth="150px" @click="closeModal" />
|
13
|
+
</buttonContainer>
|
14
|
+
</template>
|
15
|
+
|
16
|
+
</modalContainer>
|
17
|
+
</ActionModal>
|
18
|
+
</template>
|
19
|
+
<script>
|
20
|
+
|
21
|
+
import styled from 'vue3-styled-components'
|
22
|
+
import ActionModal from '../actionModal'
|
23
|
+
|
24
|
+
const modalContainer = styled.div`
|
25
|
+
width: 450px;
|
26
|
+
min-height: 205px;
|
27
|
+
padding: 40px 40px 30px 40px;
|
28
|
+
`
|
29
|
+
const modalTitle = styled.div`
|
30
|
+
color: ${(props) => props.theme.colors.black};
|
31
|
+
font-family: ${(props) => props.theme.fonts.mainFont};
|
32
|
+
font-size: 18px;
|
33
|
+
font-style: normal;
|
34
|
+
font-weight: 700;
|
35
|
+
line-height: 120%;
|
36
|
+
text-transform: uppercase;
|
37
|
+
`
|
38
|
+
const buttonContainer = styled.div`
|
39
|
+
display: inline-flex;
|
40
|
+
align-items: flex-start;
|
41
|
+
gap: 20px;
|
42
|
+
`
|
43
|
+
const textContainer = styled.div`
|
44
|
+
color: ${(props) => props.theme.colors.black};
|
45
|
+
font-family: ${(props) => props.theme.fonts.mainFont};
|
46
|
+
font-size: 13px;
|
47
|
+
font-style: normal;
|
48
|
+
font-weight: 400;
|
49
|
+
line-height: normal;
|
50
|
+
padding: 30px 0px;
|
51
|
+
white-space: pre-wrap;
|
52
|
+
`
|
53
|
+
export default {
|
54
|
+
name: 'InfoModal',
|
55
|
+
props: ['isOpen'],
|
56
|
+
components: {
|
57
|
+
Modal,
|
58
|
+
modalContainer,
|
59
|
+
modalTitle,
|
60
|
+
buttonContainer,
|
61
|
+
textContainer
|
62
|
+
},
|
63
|
+
methods: {
|
64
|
+
closeModal() {
|
65
|
+
this.$emit('on-close')
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
</script>
|