@eturnity/eturnity_reusable_components 7.20.0-qa-09.0 → 7.20.0-qa-25.1
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/assets/svgIcons/drag_icon.svg +8 -0
- package/src/assets/svgIcons/inclination.svg +3 -0
- package/src/assets/svgIcons/length_2d.svg +3 -0
- package/src/assets/svgIcons/length_3d.svg +5 -0
- package/src/assets/svgIcons/length_calculator.svg +3 -0
- package/src/assets/svgIcons/save.svg +3 -0
- package/src/assets/svgIcons/split.svg +88 -6
- package/src/components/inputs/inputNumber/index.vue +5 -9
- package/src/assets/svgIcons/anchor.svg +0 -18
- package/src/assets/svgIcons/flatten_roof.svg +0 -20
package/package.json
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M4 2C4 3.10457 3.10457 4 2 4C0.89543 4 0 3.10457 0 2C0 0.89543 0.89543 0 2 0C3.10457 0 4 0.89543 4 2Z" fill="#B2B9C5"/>
|
3
|
+
<path d="M10 2C10 3.10457 9.10457 4 8 4C6.89543 4 6 3.10457 6 2C6 0.89543 6.89543 0 8 0C9.10457 0 10 0.89543 10 2Z" fill="#B2B9C5"/>
|
4
|
+
<path d="M4 8C4 9.10457 3.10457 10 2 10C0.89543 10 0 9.10457 0 8C0 6.89543 0.89543 6 2 6C3.10457 6 4 6.89543 4 8Z" fill="#B2B9C5"/>
|
5
|
+
<path d="M10 8C10 9.10457 9.10457 10 8 10C6.89543 10 6 9.10457 6 8C6 6.89543 6.89543 6 8 6C9.10457 6 10 6.89543 10 8Z" fill="#B2B9C5"/>
|
6
|
+
<path d="M4 14C4 15.1046 3.10457 16 2 16C0.89543 16 0 15.1046 0 14C0 12.8954 0.89543 12 2 12C3.10457 12 4 12.8954 4 14Z" fill="#B2B9C5"/>
|
7
|
+
<path d="M10 14C10 15.1046 9.10457 16 8 16C6.89543 16 6 15.1046 6 14C6 12.8954 6.89543 12 8 12C9.10457 12 10 12.8954 10 14Z" fill="#B2B9C5"/>
|
8
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" viewBox="0 0 14 12" fill="none">
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.09548 3.62522L10.8209 1.59974L9.53978 0.508423L0.199219 11.4916H13.7992V9.80865H11.9546C11.7571 7.4083 10.7198 5.25339 9.09548 3.62522ZM10.2648 9.80859C10.0777 7.91689 9.26383 6.22054 8.00053 4.91205L3.83843 9.80864L10.2648 9.80859Z" fill="white"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none">
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.199219 9.85718V0.142822H1.75351L1.75352 9.85718H0.199219ZM5.38021 8.20572L2.14209 4.99999L5.38021 1.79425V4.19855L8.61833 4.19855V1.79425L11.8564 4.99999L8.61832 8.20572L8.61833 5.80142L5.38021 5.80142V8.20572ZM12.2449 0.142822V9.85718H13.7992V0.142822H12.2449Z" fill="white"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
|
2
|
+
<path d="M5.33336 14L0 8.66664L1.06667 7.59997L6.40003 12.9333L5.33336 14Z" fill="white"/>
|
3
|
+
<path d="M8.42227 9.97776L4.00002 9.99998L4.02224 5.57774L5.67225 7.22775L7.22781 5.67219L5.57781 4.02218L10.0001 3.99996L9.97783 8.4222L8.32782 6.7722L6.77226 8.32776L8.42227 9.97776Z" fill="white"/>
|
4
|
+
<path d="M7.59997 1.06667L12.9333 6.40003L14 5.33336L8.66664 0L7.59997 1.06667Z" fill="white"/>
|
5
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
|
2
|
+
<path d="M12.4444 0H1.55556C0.7 0 0 0.7 0 1.55556V12.4444C0 13.3 0.7 14 1.55556 14H12.4444C13.3 14 14 13.3 14 12.4444V1.55556C14 0.7 13.3 0 12.4444 0ZM7.80111 3.15778L8.62556 2.33333L9.72222 3.43L10.8189 2.33333L11.6433 3.15778L10.5467 4.25444L11.6433 5.35111L10.8189 6.17556L9.72222 5.08667L8.62556 6.18333L7.80111 5.35889L8.89778 4.26222L7.80111 3.15778ZM2.52778 3.67111H6.41667V4.83778H2.52778V3.67111ZM6.61111 10.1111H5.05556V11.6667H3.88889V10.1111H2.33333V8.94444H3.88889V7.38889H5.05556V8.94444H6.61111V10.1111ZM11.6667 11.0833H7.77778V9.91667H11.6667V11.0833ZM11.6667 9.13889H7.77778V7.97222H11.6667V9.13889Z" fill="#263238"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M10.8889 0H1.55556C0.692222 0 0 0.7 0 1.55556V12.4444C0 13.3 0.692222 14 1.55556 14H12.4444C13.3 14 14 13.3 14 12.4444V3.11111L10.8889 0ZM7 12.4444C5.70889 12.4444 4.66667 11.4022 4.66667 10.1111C4.66667 8.82 5.70889 7.77778 7 7.77778C8.29111 7.77778 9.33333 8.82 9.33333 10.1111C9.33333 11.4022 8.29111 12.4444 7 12.4444ZM9.33333 4.66667H1.55556V1.55556H9.33333V4.66667Z" fill="#263238"/>
|
3
|
+
</svg>
|
@@ -1,12 +1,94 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
|
1
4
|
<svg
|
5
|
+
version="1.1"
|
6
|
+
id="svg438"
|
2
7
|
width="838"
|
3
8
|
height="833"
|
4
9
|
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"
|
5
14
|
xmlns="http://www.w3.org/2000/svg"
|
6
|
-
>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
15
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
16
|
+
<defs
|
17
|
+
id="defs442">
|
18
|
+
<linearGradient
|
19
|
+
id="linearGradient7383"
|
20
|
+
inkscape:swatch="solid">
|
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>
|
12
94
|
</svg>
|
@@ -313,8 +313,7 @@ export default {
|
|
313
313
|
return {
|
314
314
|
textInput: '',
|
315
315
|
isFocused: false,
|
316
|
-
warningIcon: warningIcon
|
317
|
-
isBlurred: false
|
316
|
+
warningIcon: warningIcon
|
318
317
|
}
|
319
318
|
},
|
320
319
|
props: {
|
@@ -548,27 +547,24 @@ export default {
|
|
548
547
|
}
|
549
548
|
return array
|
550
549
|
},
|
551
|
-
onInput(
|
552
|
-
if (this.
|
553
|
-
this.isBlurred = false
|
550
|
+
onInput(event) {
|
551
|
+
if (!this.isFocused) {
|
554
552
|
return
|
555
553
|
}
|
556
|
-
if (value === ''
|
554
|
+
if (event.target.value === '') {
|
557
555
|
this.$emit('on-input', '')
|
558
556
|
}
|
559
557
|
let evaluatedVal
|
560
558
|
try {
|
561
559
|
evaluatedVal = this.onEvaluateCode(event)
|
562
560
|
} finally {
|
563
|
-
if (evaluatedVal && this.
|
561
|
+
if (evaluatedVal && this.value != evaluatedVal) {
|
564
562
|
this.$emit('on-input', evaluatedVal)
|
565
563
|
}
|
566
564
|
}
|
567
565
|
},
|
568
566
|
onInputBlur(e) {
|
569
567
|
this.isFocused = false
|
570
|
-
// setting isBlurred so we don't trigger onInput as well
|
571
|
-
this.isBlurred = true
|
572
568
|
let value = e.target.value
|
573
569
|
let evaluatedInput = this.onEvaluateCode(e)
|
574
570
|
this.onChangeHandler(evaluatedInput ? evaluatedInput : value)
|
@@ -1,18 +0,0 @@
|
|
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>
|
@@ -1,20 +0,0 @@
|
|
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>
|