@progress/kendo-vue-inputs 3.0.6 → 3.0.8-dev.202202151243

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.
@@ -97,7 +97,6 @@ export interface InputData {
97
97
  autofill?: boolean;
98
98
  currentValue?: string | string[] | number;
99
99
  valueDuringOnChange?: string;
100
- inputId?: string;
101
100
  focused?: boolean;
102
101
  }
103
102
  /**
@@ -106,6 +105,7 @@ export interface InputData {
106
105
  export interface InputState {
107
106
  inputRef: any;
108
107
  _input: any;
108
+ _inputId?: string;
109
109
  v3: boolean;
110
110
  }
111
111
  /**
@@ -106,12 +106,13 @@ var InputVue2 = {
106
106
  autofill: false,
107
107
  currentValue: '',
108
108
  valueDuringOnChange: '',
109
- inputId: guid(),
110
109
  focused: false
111
110
  };
112
111
  },
113
112
  created: function created() {
114
113
  validatePackage(packageMetadata);
114
+ this._input = undefined;
115
+ this._inputId = guid();
115
116
  this.$data.valueDuringOnChange = undefined;
116
117
  this.$data.currentValue = this.$props.defaultValue;
117
118
  },
@@ -16,6 +16,10 @@ var MaskedTextBoxVue2 = {
16
16
  event: 'changemodel'
17
17
  },
18
18
  props: {
19
+ type: {
20
+ type: String,
21
+ default: 'text'
22
+ },
19
23
  modelValue: String,
20
24
  modelRawValue: String,
21
25
  value: String,
@@ -357,9 +361,9 @@ var MaskedTextBoxVue2 = {
357
361
  width: this.$props.width
358
362
  } : undefined
359
363
  }, [h("input", {
360
- type: "text",
364
+ type: this.$props.type,
361
365
  attrs: this.v3 ? undefined : {
362
- type: "text",
366
+ type: this.$props.type,
363
367
  autoComplete: "off",
364
368
  autoCorrect: "off",
365
369
  autoCapitalize: "off",
@@ -180,4 +180,8 @@ export interface MaskedTextBoxProps extends FormComponentProps {
180
180
  * v-model value
181
181
  */
182
182
  modelValue?: string;
183
+ /**
184
+ * The type of the input - 'text' by default
185
+ */
186
+ type?: string;
183
187
  }
@@ -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: 1644494077,
8
+ publishDate: 1644928529,
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
  };
@@ -97,7 +97,6 @@ export interface InputData {
97
97
  autofill?: boolean;
98
98
  currentValue?: string | string[] | number;
99
99
  valueDuringOnChange?: string;
100
- inputId?: string;
101
100
  focused?: boolean;
102
101
  }
103
102
  /**
@@ -106,6 +105,7 @@ export interface InputData {
106
105
  export interface InputState {
107
106
  inputRef: any;
108
107
  _input: any;
108
+ _inputId?: string;
109
109
  v3: boolean;
110
110
  }
111
111
  /**
@@ -117,12 +117,13 @@ var InputVue2 = {
117
117
  autofill: false,
118
118
  currentValue: '',
119
119
  valueDuringOnChange: '',
120
- inputId: kendo_vue_common_1.guid(),
121
120
  focused: false
122
121
  };
123
122
  },
124
123
  created: function created() {
125
124
  kendo_vue_common_1.validatePackage(package_metadata_1.packageMetadata);
125
+ this._input = undefined;
126
+ this._inputId = kendo_vue_common_1.guid();
126
127
  this.$data.valueDuringOnChange = undefined;
127
128
  this.$data.currentValue = this.$props.defaultValue;
128
129
  },
@@ -28,6 +28,10 @@ var MaskedTextBoxVue2 = {
28
28
  event: 'changemodel'
29
29
  },
30
30
  props: {
31
+ type: {
32
+ type: String,
33
+ default: 'text'
34
+ },
31
35
  modelValue: String,
32
36
  modelRawValue: String,
33
37
  value: String,
@@ -369,9 +373,9 @@ var MaskedTextBoxVue2 = {
369
373
  width: this.$props.width
370
374
  } : undefined
371
375
  }, [h("input", {
372
- type: "text",
376
+ type: this.$props.type,
373
377
  attrs: this.v3 ? undefined : {
374
- type: "text",
378
+ type: this.$props.type,
375
379
  autoComplete: "off",
376
380
  autoCorrect: "off",
377
381
  autoCapitalize: "off",
@@ -180,4 +180,8 @@ export interface MaskedTextBoxProps extends FormComponentProps {
180
180
  * v-model value
181
181
  */
182
182
  modelValue?: string;
183
+ /**
184
+ * The type of the input - 'text' by default
185
+ */
186
+ type?: string;
183
187
  }
@@ -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: 1644494077,
11
+ publishDate: 1644928529,
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.0.6",
4
+ "version": "3.0.8-dev.202202151243",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -38,21 +38,21 @@
38
38
  "vue": "^2.6.12 || ^3.0.2"
39
39
  },
40
40
  "dependencies": {
41
- "@progress/kendo-vue-buttons": "3.0.6",
42
- "@progress/kendo-vue-common": "3.0.6",
43
- "@progress/kendo-vue-labels": "3.0.6",
44
- "@progress/kendo-vue-popup": "3.0.6"
41
+ "@progress/kendo-vue-buttons": "3.0.8-dev.202202151243",
42
+ "@progress/kendo-vue-common": "3.0.8-dev.202202151243",
43
+ "@progress/kendo-vue-labels": "3.0.8-dev.202202151243",
44
+ "@progress/kendo-vue-popup": "3.0.8-dev.202202151243"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@progress/kendo-data-query": "^1.5.5",
48
48
  "@progress/kendo-date-math": "^1.5.4",
49
49
  "@progress/kendo-drawing": "^1.8.0",
50
50
  "@progress/kendo-licensing": "^1.1.0",
51
- "@progress/kendo-vue-buttons": "3.0.6",
52
- "@progress/kendo-vue-form": "3.0.6",
53
- "@progress/kendo-vue-intl": "3.0.6",
54
- "@progress/kendo-vue-labels": "3.0.6",
55
- "@progress/kendo-vue-tooltip": "3.0.6",
51
+ "@progress/kendo-vue-buttons": "3.0.8-dev.202202151243",
52
+ "@progress/kendo-vue-form": "3.0.8-dev.202202151243",
53
+ "@progress/kendo-vue-intl": "3.0.8-dev.202202151243",
54
+ "@progress/kendo-vue-labels": "3.0.8-dev.202202151243",
55
+ "@progress/kendo-vue-tooltip": "3.0.8-dev.202202151243",
56
56
  "cldr-core": "^34.0.0",
57
57
  "cldr-dates-full": "^34.0.0",
58
58
  "cldr-numbers-full": "^34.0.0"