@tagplus/components 2.1.0 → 2.1.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/README.md +3 -3
- package/dist/tp.common.js +1 -1
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.css +1 -1
- package/dist/tp.umd.js +1 -1
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +6 -4
- package/src/components/Autosuggest/Autosuggest.vue +6 -2
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"email": "bruno@tagplus.com.br"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
|
-
"version": "2.1.
|
|
11
|
+
"version": "2.1.3",
|
|
12
12
|
"main": "./dist/tp.common.js",
|
|
13
13
|
"directories": {
|
|
14
14
|
"lib": "src/lib"
|
|
@@ -35,8 +35,10 @@
|
|
|
35
35
|
"docs": "nodemon --exec \"vuese gen && vuese serve\" --watch ./src -e js,vue,scss",
|
|
36
36
|
"docs:gen": "vuese gen",
|
|
37
37
|
"lint": "eslint --cache --ext .js,.vue --ignore-path .gitignore .",
|
|
38
|
-
"pub": "npm run build && npm publish --access public",
|
|
39
|
-
"pub:
|
|
38
|
+
"pub:major": "npm run build && npm version major && npm publish --access public",
|
|
39
|
+
"pub:minor": "npm run build && npm version minor && npm publish --access public",
|
|
40
|
+
"pub": "npm run build && npm version patch && npm publish --access public",
|
|
41
|
+
"pub:beta": "npm run build && npm version patch && npm publish --tag beta",
|
|
40
42
|
"serve": "vue-cli-service serve --open ./examples/main.js",
|
|
41
43
|
"start": "npm run serve",
|
|
42
44
|
"install:clean": "rm -rf package-lock.json yarn.lock & rm -rf node_modules & npm install",
|
|
@@ -79,7 +81,7 @@
|
|
|
79
81
|
"eslint-plugin-vue": "^9.4.0",
|
|
80
82
|
"husky": "^8.0.1",
|
|
81
83
|
"jest": "^27.1.0",
|
|
82
|
-
"lint-staged": "^13.
|
|
84
|
+
"lint-staged": "^13.2.2",
|
|
83
85
|
"node-sass": "^7.0.1",
|
|
84
86
|
"nodemon": "^2.0.19",
|
|
85
87
|
"prettier": "^2.7.1",
|
|
@@ -426,6 +426,10 @@ export default {
|
|
|
426
426
|
},
|
|
427
427
|
|
|
428
428
|
methods: {
|
|
429
|
+
handleFocus (event) {
|
|
430
|
+
this.focused = true
|
|
431
|
+
this.$emit('focus', event)
|
|
432
|
+
},
|
|
429
433
|
/**
|
|
430
434
|
* Adiciona um evento no elemento dinamicamente
|
|
431
435
|
* @args el {Object} Elemento que tem o listener
|
|
@@ -521,7 +525,7 @@ export default {
|
|
|
521
525
|
const cachedOption = this.cachedOptions[i]
|
|
522
526
|
const isEqual = isObject
|
|
523
527
|
? getValueByPath(cachedOption.value, this.valueKey) ===
|
|
524
|
-
|
|
528
|
+
getValueByPath(value, this.valueKey)
|
|
525
529
|
: cachedOption.value === value
|
|
526
530
|
|
|
527
531
|
if (isEqual) {
|
|
@@ -676,7 +680,7 @@ export default {
|
|
|
676
680
|
</script>
|
|
677
681
|
|
|
678
682
|
<style lang="scss" scoped>
|
|
679
|
-
:deep(){
|
|
683
|
+
:deep() {
|
|
680
684
|
.el-input-group__append {
|
|
681
685
|
padding: 0px 6px 0px 0px;
|
|
682
686
|
border: 0;
|