@eturnity/eturnity_reusable_components 7.20.0-EPDM-10613.0 → 7.20.0-qa-09.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.20.0-EPDM-10613.0",
3
+ "version": "7.20.0-qa-09.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -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,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>
@@ -548,19 +548,19 @@ export default {
548
548
  }
549
549
  return array
550
550
  },
551
- onInput(event) {
551
+ onInput(value) {
552
552
  if (this.isBlurred) {
553
553
  this.isBlurred = false
554
554
  return
555
555
  }
556
- if (event.target.value === '') {
556
+ if (value === '' && this.isFocused) {
557
557
  this.$emit('on-input', '')
558
558
  }
559
559
  let evaluatedVal
560
560
  try {
561
561
  evaluatedVal = this.onEvaluateCode(event)
562
562
  } finally {
563
- if (evaluatedVal) {
563
+ if (evaluatedVal && this.isFocused && this.value != evaluatedVal) {
564
564
  this.$emit('on-input', evaluatedVal)
565
565
  }
566
566
  }
@@ -646,10 +646,10 @@ export default {
646
646
  }
647
647
  },
648
648
  initInteraction(e) {
649
+ this.focusInput()
650
+ e.preventDefault()
649
651
  window.addEventListener('mousemove', this.interact, false)
650
652
  window.addEventListener('mouseup', this.stopInteract, false)
651
- e.preventDefault()
652
- this.focusInput()
653
653
  },
654
654
  interact(e) {
655
655
  e.preventDefault()