bootstrap-vue-wrapper 1.5.1 → 1.7.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bootstrap-vue-wrapper",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "bootstrap 5 components in Vue3 warapper.",
|
|
5
5
|
"author": "Gabor Zemko <gaborzemko@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/zemkogabor/bootstrap-vue-wrapper",
|
|
@@ -12,30 +12,21 @@
|
|
|
12
12
|
},
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"bootstrap": "^5.
|
|
16
|
-
"
|
|
17
|
-
"vue": "^
|
|
18
|
-
"vue-i18n": "^9.1.6",
|
|
19
|
-
"vue-router": "^4.0.5"
|
|
15
|
+
"bootstrap": "^5.1",
|
|
16
|
+
"vue": "^3.2",
|
|
17
|
+
"vue-router": "^4.0"
|
|
20
18
|
},
|
|
21
19
|
"devDependencies": {
|
|
22
|
-
"
|
|
23
|
-
"@semantic-release/github": "^7.2.3",
|
|
24
|
-
"babel-eslint": "^10.1.0",
|
|
25
|
-
"eslint": "^7.28.0",
|
|
20
|
+
"eslint": "^8.8.0",
|
|
26
21
|
"eslint-config-standard": "^16.0.3",
|
|
27
|
-
"eslint-plugin-import": "^2.
|
|
22
|
+
"eslint-plugin-import": "^2.25.4",
|
|
28
23
|
"eslint-plugin-node": "^11.1.0",
|
|
29
|
-
"eslint-plugin-promise": "^
|
|
30
|
-
"eslint-plugin-vue": "^
|
|
31
|
-
"sass": "^1.34.1",
|
|
32
|
-
"sass-loader": "^10.2.0",
|
|
33
|
-
"semantic-release": "^17.4.7"
|
|
24
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
25
|
+
"eslint-plugin-vue": "^8.4.1"
|
|
34
26
|
},
|
|
35
27
|
"scripts": {
|
|
36
28
|
"eslint": "eslint '{**/*,*}.{js,ts,jsx,tsx,vue}'",
|
|
37
|
-
"eslint:fix": "npm run eslint -- --fix"
|
|
38
|
-
"semantic-release": "semantic-release"
|
|
29
|
+
"eslint:fix": "npm run eslint -- --fix"
|
|
39
30
|
},
|
|
40
31
|
"keywords": [
|
|
41
32
|
"bootstrap",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
v-text="label"
|
|
20
20
|
/>
|
|
21
21
|
<div
|
|
22
|
-
v-if="invalidMessage !== null"
|
|
22
|
+
v-if="invalidMessage !== null && !hideValidationMessage"
|
|
23
23
|
class="invalid-feedback"
|
|
24
24
|
v-text="invalidMessage"
|
|
25
25
|
/>
|
|
@@ -95,6 +95,13 @@ export default {
|
|
|
95
95
|
type: String,
|
|
96
96
|
default: null,
|
|
97
97
|
},
|
|
98
|
+
/**
|
|
99
|
+
* If this is true the validation message does not appear.
|
|
100
|
+
*/
|
|
101
|
+
hideValidationMessage: {
|
|
102
|
+
type: Boolean,
|
|
103
|
+
default: false,
|
|
104
|
+
},
|
|
98
105
|
},
|
|
99
106
|
emits: ['update:modelValue'],
|
|
100
107
|
computed: {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
@invalid="onInvalid"
|
|
16
16
|
>
|
|
17
17
|
<div
|
|
18
|
-
v-if="invalidMessage !== null"
|
|
18
|
+
v-if="invalidMessage !== null && !hideValidationMessage"
|
|
19
19
|
class="invalid-feedback"
|
|
20
20
|
v-text="invalidMessage"
|
|
21
21
|
/>
|
|
@@ -62,6 +62,13 @@ export default {
|
|
|
62
62
|
type: String,
|
|
63
63
|
default: null,
|
|
64
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* If this is true the validation message does not appear.
|
|
67
|
+
*/
|
|
68
|
+
hideValidationMessage: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: false,
|
|
71
|
+
},
|
|
65
72
|
},
|
|
66
73
|
emits: ['update:modelValue'],
|
|
67
74
|
methods: {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</option>
|
|
32
32
|
</select>
|
|
33
33
|
<div
|
|
34
|
-
v-if="invalidMessage !== null"
|
|
34
|
+
v-if="invalidMessage !== null && !hideValidationMessage"
|
|
35
35
|
class="invalid-feedback"
|
|
36
36
|
v-text="invalidMessage"
|
|
37
37
|
/>
|
|
@@ -92,6 +92,13 @@ export default {
|
|
|
92
92
|
type: String,
|
|
93
93
|
default: null,
|
|
94
94
|
},
|
|
95
|
+
/**
|
|
96
|
+
* If this is true the validation message does not appear.
|
|
97
|
+
*/
|
|
98
|
+
hideValidationMessage: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: false,
|
|
101
|
+
},
|
|
95
102
|
},
|
|
96
103
|
emits: ['update:modelValue'],
|
|
97
104
|
methods: {
|
|
@@ -28,6 +28,13 @@
|
|
|
28
28
|
</slot>
|
|
29
29
|
</td>
|
|
30
30
|
</tr>
|
|
31
|
+
<tr v-else-if="items.length === 0">
|
|
32
|
+
<td :colspan="fields.length">
|
|
33
|
+
<slot name="empty">
|
|
34
|
+
<div v-t="'table.empty_text'" class="text-center" />
|
|
35
|
+
</slot>
|
|
36
|
+
</td>
|
|
37
|
+
</tr>
|
|
31
38
|
<tr v-for="(item, key) in items" v-else :key="key">
|
|
32
39
|
<template v-for="field in fields" :key="field.key">
|
|
33
40
|
<td
|
|
@@ -36,11 +43,10 @@
|
|
|
36
43
|
}"
|
|
37
44
|
>
|
|
38
45
|
<slot
|
|
39
|
-
v-if="field.key in item"
|
|
40
|
-
name="td"
|
|
41
46
|
:key="key"
|
|
47
|
+
name="td"
|
|
42
48
|
:field="field.key"
|
|
43
|
-
:item="item[field.key]"
|
|
49
|
+
:item="field.key in item ? item[field.key] : null"
|
|
44
50
|
>
|
|
45
51
|
{{ item[field.key] }}
|
|
46
52
|
</slot>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
@invalid="onInvalid"
|
|
16
16
|
/>
|
|
17
17
|
<div
|
|
18
|
-
v-if="invalidMessage !== null"
|
|
18
|
+
v-if="invalidMessage !== null && !hideValidationMessage"
|
|
19
19
|
class="invalid-feedback"
|
|
20
20
|
v-text="invalidMessage"
|
|
21
21
|
/>
|
|
@@ -62,6 +62,13 @@ export default {
|
|
|
62
62
|
type: String,
|
|
63
63
|
default: null,
|
|
64
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* If this is true the validation message does not appear.
|
|
67
|
+
*/
|
|
68
|
+
hideValidationMessage: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: false,
|
|
71
|
+
},
|
|
65
72
|
},
|
|
66
73
|
emits: ['update:modelValue'],
|
|
67
74
|
methods: {
|