@progress/kendo-vue-inputs 3.12.0 → 3.12.1-dev.202308170413
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/dist/cdn/js/kendo-vue-inputs.js +1 -1
- package/dist/es/checkbox/Checkbox.js +8 -1
- package/dist/es/checkbox/interfaces/CheckboxProps.d.ts +4 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/checkbox/Checkbox.js +8 -1
- package/dist/esm/checkbox/interfaces/CheckboxProps.d.ts +4 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/checkbox/Checkbox.js +8 -1
- package/dist/npm/checkbox/interfaces/CheckboxProps.d.ts +4 -0
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +13 -13
|
@@ -56,6 +56,7 @@ var CheckboxVue2 = {
|
|
|
56
56
|
labelRender: [String, Number, Boolean, Object],
|
|
57
57
|
labelPlacement: String,
|
|
58
58
|
labelOptional: Boolean,
|
|
59
|
+
labelClass: String,
|
|
59
60
|
name: String,
|
|
60
61
|
size: {
|
|
61
62
|
type: String,
|
|
@@ -139,6 +140,12 @@ var CheckboxVue2 = {
|
|
|
139
140
|
isValid: function isValid() {
|
|
140
141
|
var valid = this.$props.valid;
|
|
141
142
|
return valid !== undefined ? valid : !this.$props.required ? true : this.computedChecked ? true : false;
|
|
143
|
+
},
|
|
144
|
+
labelComputedClass: function labelComputedClass() {
|
|
145
|
+
var _a;
|
|
146
|
+
return _a = {
|
|
147
|
+
'k-checkbox-label': true
|
|
148
|
+
}, _a[this.$props.labelClass] = this.$props.labelClass, _a;
|
|
142
149
|
}
|
|
143
150
|
},
|
|
144
151
|
mounted: function mounted() {
|
|
@@ -252,7 +259,7 @@ var CheckboxVue2 = {
|
|
|
252
259
|
}
|
|
253
260
|
var checkboxLabel = function checkboxLabel() {
|
|
254
261
|
return renderedLabel !== undefined ? h("label", {
|
|
255
|
-
"class":
|
|
262
|
+
"class": this.labelComputedClass,
|
|
256
263
|
"for": id || this.calculatedId,
|
|
257
264
|
attrs: this.v3 ? undefined : {
|
|
258
265
|
"for": id || this.calculatedId
|
|
@@ -94,6 +94,10 @@ export interface CheckboxProps extends ToggleBaseProps, FormComponentProps {
|
|
|
94
94
|
* Sets the optional text after the label of the Checkbox component.
|
|
95
95
|
*/
|
|
96
96
|
labelOptional?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Sets the `class` of the label element of the Checkbox.
|
|
99
|
+
*/
|
|
100
|
+
labelClass?: string;
|
|
97
101
|
/**
|
|
98
102
|
* The event handler that will be fired when the user edits the value.
|
|
99
103
|
*/
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-inputs',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1692244743,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -56,6 +56,7 @@ var CheckboxVue2 = {
|
|
|
56
56
|
labelRender: [String, Number, Boolean, Object],
|
|
57
57
|
labelPlacement: String,
|
|
58
58
|
labelOptional: Boolean,
|
|
59
|
+
labelClass: String,
|
|
59
60
|
name: String,
|
|
60
61
|
size: {
|
|
61
62
|
type: String,
|
|
@@ -139,6 +140,12 @@ var CheckboxVue2 = {
|
|
|
139
140
|
isValid: function isValid() {
|
|
140
141
|
var valid = this.$props.valid;
|
|
141
142
|
return valid !== undefined ? valid : !this.$props.required ? true : this.computedChecked ? true : false;
|
|
143
|
+
},
|
|
144
|
+
labelComputedClass: function labelComputedClass() {
|
|
145
|
+
var _a;
|
|
146
|
+
return _a = {
|
|
147
|
+
'k-checkbox-label': true
|
|
148
|
+
}, _a[this.$props.labelClass] = this.$props.labelClass, _a;
|
|
142
149
|
}
|
|
143
150
|
},
|
|
144
151
|
mounted: function mounted() {
|
|
@@ -252,7 +259,7 @@ var CheckboxVue2 = {
|
|
|
252
259
|
}
|
|
253
260
|
var checkboxLabel = function checkboxLabel() {
|
|
254
261
|
return renderedLabel !== undefined ? h("label", {
|
|
255
|
-
"class":
|
|
262
|
+
"class": this.labelComputedClass,
|
|
256
263
|
"for": id || this.calculatedId,
|
|
257
264
|
attrs: this.v3 ? undefined : {
|
|
258
265
|
"for": id || this.calculatedId
|
|
@@ -94,6 +94,10 @@ export interface CheckboxProps extends ToggleBaseProps, FormComponentProps {
|
|
|
94
94
|
* Sets the optional text after the label of the Checkbox component.
|
|
95
95
|
*/
|
|
96
96
|
labelOptional?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Sets the `class` of the label element of the Checkbox.
|
|
99
|
+
*/
|
|
100
|
+
labelClass?: string;
|
|
97
101
|
/**
|
|
98
102
|
* The event handler that will be fired when the user edits the value.
|
|
99
103
|
*/
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-inputs',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1692244743,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -62,6 +62,7 @@ var CheckboxVue2 = {
|
|
|
62
62
|
labelRender: [String, Number, Boolean, Object],
|
|
63
63
|
labelPlacement: String,
|
|
64
64
|
labelOptional: Boolean,
|
|
65
|
+
labelClass: String,
|
|
65
66
|
name: String,
|
|
66
67
|
size: {
|
|
67
68
|
type: String,
|
|
@@ -145,6 +146,12 @@ var CheckboxVue2 = {
|
|
|
145
146
|
isValid: function isValid() {
|
|
146
147
|
var valid = this.$props.valid;
|
|
147
148
|
return valid !== undefined ? valid : !this.$props.required ? true : this.computedChecked ? true : false;
|
|
149
|
+
},
|
|
150
|
+
labelComputedClass: function labelComputedClass() {
|
|
151
|
+
var _a;
|
|
152
|
+
return _a = {
|
|
153
|
+
'k-checkbox-label': true
|
|
154
|
+
}, _a[this.$props.labelClass] = this.$props.labelClass, _a;
|
|
148
155
|
}
|
|
149
156
|
},
|
|
150
157
|
mounted: function mounted() {
|
|
@@ -258,7 +265,7 @@ var CheckboxVue2 = {
|
|
|
258
265
|
}
|
|
259
266
|
var checkboxLabel = function checkboxLabel() {
|
|
260
267
|
return renderedLabel !== undefined ? h("label", {
|
|
261
|
-
"class":
|
|
268
|
+
"class": this.labelComputedClass,
|
|
262
269
|
"for": id || this.calculatedId,
|
|
263
270
|
attrs: this.v3 ? undefined : {
|
|
264
271
|
"for": id || this.calculatedId
|
|
@@ -94,6 +94,10 @@ export interface CheckboxProps extends ToggleBaseProps, FormComponentProps {
|
|
|
94
94
|
* Sets the optional text after the label of the Checkbox component.
|
|
95
95
|
*/
|
|
96
96
|
labelOptional?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Sets the `class` of the label element of the Checkbox.
|
|
99
|
+
*/
|
|
100
|
+
labelClass?: string;
|
|
97
101
|
/**
|
|
98
102
|
* The event handler that will be fired when the user edits the value.
|
|
99
103
|
*/
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-inputs',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1692244743,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-inputs",
|
|
3
3
|
"description": "Kendo UI for Vue Input package",
|
|
4
|
-
"version": "3.12.
|
|
4
|
+
"version": "3.12.1-dev.202308170413",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@progress/kendo-inputs-common": "^3.1.0",
|
|
50
|
-
"@progress/kendo-vue-buttons": "3.12.
|
|
51
|
-
"@progress/kendo-vue-common": "3.12.
|
|
52
|
-
"@progress/kendo-vue-dialogs": "3.12.
|
|
53
|
-
"@progress/kendo-vue-labels": "3.12.
|
|
54
|
-
"@progress/kendo-vue-popup": "3.12.
|
|
50
|
+
"@progress/kendo-vue-buttons": "3.12.1-dev.202308170413",
|
|
51
|
+
"@progress/kendo-vue-common": "3.12.1-dev.202308170413",
|
|
52
|
+
"@progress/kendo-vue-dialogs": "3.12.1-dev.202308170413",
|
|
53
|
+
"@progress/kendo-vue-labels": "3.12.1-dev.202308170413",
|
|
54
|
+
"@progress/kendo-vue-popup": "3.12.1-dev.202308170413"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@progress/kendo-data-query": "^1.5.5",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"@progress/kendo-file-saver": "^1.1.1",
|
|
61
61
|
"@progress/kendo-licensing": "^1.3.0",
|
|
62
62
|
"@progress/kendo-svg-icons": "^1.0.0",
|
|
63
|
-
"@progress/kendo-vue-buttons": "3.12.
|
|
64
|
-
"@progress/kendo-vue-dropdowns": "3.12.
|
|
65
|
-
"@progress/kendo-vue-form": "3.12.
|
|
66
|
-
"@progress/kendo-vue-intl": "3.12.
|
|
67
|
-
"@progress/kendo-vue-labels": "3.12.
|
|
68
|
-
"@progress/kendo-vue-tooltip": "3.12.
|
|
69
|
-
"@progress/kendo-vue-upload": "3.12.
|
|
63
|
+
"@progress/kendo-vue-buttons": "3.12.1-dev.202308170413",
|
|
64
|
+
"@progress/kendo-vue-dropdowns": "3.12.1-dev.202308170413",
|
|
65
|
+
"@progress/kendo-vue-form": "3.12.1-dev.202308170413",
|
|
66
|
+
"@progress/kendo-vue-intl": "3.12.1-dev.202308170413",
|
|
67
|
+
"@progress/kendo-vue-labels": "3.12.1-dev.202308170413",
|
|
68
|
+
"@progress/kendo-vue-tooltip": "3.12.1-dev.202308170413",
|
|
69
|
+
"@progress/kendo-vue-upload": "3.12.1-dev.202308170413",
|
|
70
70
|
"cldr-core": "^41.0.0",
|
|
71
71
|
"cldr-dates-full": "^41.0.0",
|
|
72
72
|
"cldr-numbers-full": "^41.0.0"
|