@progress/kendo-vue-labels 6.4.1 → 6.4.2-develop.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/Error.mjs CHANGED
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineComponent as t, createVNode as e } from "vue";
9
9
  import { packageMetadata as o } from "./package-metadata.mjs";
10
- import { validatePackage as a, getDefaultSlots as i } from "@progress/kendo-vue-common";
10
+ import { getDefaultSlots as a, validatePackage as i } from "@progress/kendo-vue-common";
11
11
  const p = /* @__PURE__ */ t({
12
12
  name: "KendoError",
13
13
  props: {
@@ -21,7 +21,7 @@ const p = /* @__PURE__ */ t({
21
21
  }
22
22
  },
23
23
  created() {
24
- a(o);
24
+ i(o);
25
25
  },
26
26
  computed: {
27
27
  errorClassName() {
@@ -33,7 +33,7 @@ const p = /* @__PURE__ */ t({
33
33
  }
34
34
  },
35
35
  render() {
36
- const r = i(this);
36
+ const r = a(this);
37
37
  return e("div", {
38
38
  id: this.$props.id,
39
39
  role: "alert",
package/FloatingLabel.mjs CHANGED
@@ -5,8 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as p, inject as c, createVNode as e } from "vue";
9
- import { validatePackage as u, getDefaultSlots as h } from "@progress/kendo-vue-common";
8
+ import { defineComponent as p, createVNode as e, inject as c } from "vue";
9
+ import { getDefaultSlots as u, validatePackage as h } from "@progress/kendo-vue-common";
10
10
  import { provideLocalizationService as m } from "@progress/kendo-vue-intl";
11
11
  import { labelsOptional as r, messages as f } from "./messages/main.mjs";
12
12
  import { packageMetadata as b } from "./package-metadata.mjs";
@@ -42,7 +42,7 @@ const C = /* @__PURE__ */ p({
42
42
  }
43
43
  },
44
44
  created() {
45
- u(b);
45
+ h(b);
46
46
  },
47
47
  computed: {
48
48
  computedFocused() {
@@ -80,7 +80,7 @@ const C = /* @__PURE__ */ p({
80
80
  };
81
81
  },
82
82
  render() {
83
- const o = h(this), {
83
+ const o = u(this), {
84
84
  label: t,
85
85
  editorId: s,
86
86
  id: a,
package/Hint.mjs CHANGED
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineComponent as e, createVNode as r } from "vue";
9
9
  import { packageMetadata as i } from "./package-metadata.mjs";
10
- import { validatePackage as n, getDefaultSlots as a } from "@progress/kendo-vue-common";
10
+ import { getDefaultSlots as n, validatePackage as a } from "@progress/kendo-vue-common";
11
11
  const p = /* @__PURE__ */ e({
12
12
  name: "KendoHint",
13
13
  props: {
@@ -21,7 +21,7 @@ const p = /* @__PURE__ */ e({
21
21
  }
22
22
  },
23
23
  created() {
24
- n(i);
24
+ a(i);
25
25
  },
26
26
  computed: {
27
27
  hintClassName() {
@@ -33,7 +33,7 @@ const p = /* @__PURE__ */ e({
33
33
  }
34
34
  },
35
35
  render() {
36
- const t = a(this);
36
+ const t = n(this);
37
37
  return r("div", {
38
38
  id: this.$props.id,
39
39
  class: this.hintClassName
package/Label.mjs CHANGED
@@ -5,8 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as n, inject as d, createVNode as i } from "vue";
9
- import { validatePackage as p, getDefaultSlots as c } from "@progress/kendo-vue-common";
8
+ import { defineComponent as n, createVNode as i, inject as d } from "vue";
9
+ import { getDefaultSlots as p, validatePackage as c } from "@progress/kendo-vue-common";
10
10
  import { labelsOptional as r, messages as f } from "./messages/main.mjs";
11
11
  import { provideLocalizationService as u } from "@progress/kendo-vue-intl";
12
12
  import { packageMetadata as m } from "./package-metadata.mjs";
@@ -29,7 +29,7 @@ const L = /* @__PURE__ */ n({
29
29
  }
30
30
  },
31
31
  created() {
32
- p(m);
32
+ c(m);
33
33
  },
34
34
  computed: {
35
35
  labelClassName() {
@@ -56,7 +56,7 @@ const L = /* @__PURE__ */ n({
56
56
  };
57
57
  },
58
58
  render() {
59
- this.defaultSlots = c(this);
59
+ this.defaultSlots = p(this);
60
60
  const e = u(this), {
61
61
  id: t,
62
62
  editorId: a,
@@ -12,4 +12,4 @@
12
12
  * Licensed under commercial license. See LICENSE.md in the package root for more information
13
13
  *-------------------------------------------------------------------------------------------
14
14
  */
15
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@progress/kendo-vue-common"),require("@progress/kendo-vue-intl")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-common","@progress/kendo-vue-intl"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueLabels={},e.Vue,e.KendoVueCommon,e.KendoVueIntl)}(this,(function(e,t,o,i){"use strict";const r="labels.optional",s={[r]:"(Optional)"},a={name:"@progress/kendo-vue-labels",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1641721324,version:"6.4.1",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"},n=t.defineComponent({name:"KendoLabel",props:{id:String,editorId:String,editorRef:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,optional:Boolean},inject:{kendoLocalizationService:{default:null}},created(){o.validatePackage(a)},computed:{labelClassName(){return{"k-label":!0,"k-label-empty":!this.defaultSlots,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":!0===this.$props.editorDisabled}}},methods:{onLabelClick(e){if(this.$props.editorRef&&this.$props.editorRef.current&&!this.$props.editorDisabled){this.$props.editorRef.current.focus&&(e.preventDefault(),this.$props.editorRef.current.focus());const t=this.$props.editorRef.current.actionElement;t&&(e.preventDefault(),t.click())}}},setup:()=>({kendoLocalizationService:t.inject("kendoLocalizationService",{})}),render(){this.defaultSlots=o.getDefaultSlots(this);const e=i.provideLocalizationService(this),{id:a,editorId:n,optional:l}=this.$props,d=l?e.toLanguageString(r,s[r]):"",p=d&&t.createVNode("span",{class:"k-label-optional"},[d]);return t.createVNode("label",{id:a,for:n,onClick:this.onLabelClick,class:this.labelClassName},[this.defaultSlots,p])}}),l=t.defineComponent({name:"KendoError",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created(){o.validatePackage(a)},computed:{errorClassName(){return{"k-form-error":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},render(){const e=o.getDefaultSlots(this);return t.createVNode("div",{id:this.$props.id,role:"alert",class:this.errorClassName},[e])}}),d=t.defineComponent({name:"KendoHint",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created(){o.validatePackage(a)},computed:{hintClassName(){return{"k-form-hint":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},render(){const e=o.getDefaultSlots(this);return t.createVNode("div",{id:this.$props.id,class:this.hintClassName},[e])}}),p=t.defineComponent({name:"KendoFloatingLabel",props:{label:String,labelClass:String,editorId:String,editorValue:[String,Boolean,Number],editorPlaceholder:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,id:String,optional:Boolean,focused:{type:Boolean,default:void 0},dir:String},data:()=>({currentFocused:!1}),inject:{kendoLocalizationService:{default:null}},created(){o.validatePackage(a)},computed:{computedFocused(){return void 0!==this.$props.focused?this.$props.focused:this.currentFocused},spanClassNames(){return{"k-floating-label-container":!0,"k-focus":this.computedFocused,"k-empty":!this.$props.editorPlaceholder&&!this.$props.editorValue&&0!==this.$props.editorValue,"k-text-disabled":this.$props.editorDisabled,"k-rtl":"rtl"===this.$props.dir}},labelClassNames(){return{"k-floating-label":!0,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":this.$props.editorDisabled,[this.$props.labelClass]:this.$props.labelClass}}},methods:{handleFocus(){this.currentFocused=!0},handleBlur(){this.currentFocused=!1}},setup:()=>({kendoLocalizationService:t.inject("kendoLocalizationService",{})}),render(){const e=o.getDefaultSlots(this),{label:a,editorId:n,id:l,optional:d}=this.$props,p=i.provideLocalizationService(this),c=d?p.toLanguageString(r,s[r]):"",u=c&&t.createVNode("span",{class:"k-label-optional"},[c]);return t.createVNode("span",{class:this.spanClassNames,onFocusin:this.handleFocus,onFocusout:this.handleBlur,dir:this.$props.dir},[e,a?n?t.createVNode("label",{id:l,for:n,class:this.labelClassNames},[a,u]):t.createVNode("span",{id:l,class:this.labelClassNames},[a,u]):null])}});e.Error=l,e.FloatingLabel=p,e.Hint=d,e.Label=n}));
15
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@progress/kendo-vue-common"),require("@progress/kendo-vue-intl")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-common","@progress/kendo-vue-intl"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueLabels={},e.Vue,e.KendoVueCommon,e.KendoVueIntl)}(this,(function(e,t,o,i){"use strict";const r="labels.optional",s={[r]:"(Optional)"},a={name:"@progress/kendo-vue-labels",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1641721324,version:"6.4.2-develop.3",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"},n=t.defineComponent({name:"KendoLabel",props:{id:String,editorId:String,editorRef:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,optional:Boolean},inject:{kendoLocalizationService:{default:null}},created(){o.validatePackage(a)},computed:{labelClassName(){return{"k-label":!0,"k-label-empty":!this.defaultSlots,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":!0===this.$props.editorDisabled}}},methods:{onLabelClick(e){if(this.$props.editorRef&&this.$props.editorRef.current&&!this.$props.editorDisabled){this.$props.editorRef.current.focus&&(e.preventDefault(),this.$props.editorRef.current.focus());const t=this.$props.editorRef.current.actionElement;t&&(e.preventDefault(),t.click())}}},setup:()=>({kendoLocalizationService:t.inject("kendoLocalizationService",{})}),render(){this.defaultSlots=o.getDefaultSlots(this);const e=i.provideLocalizationService(this),{id:a,editorId:n,optional:l}=this.$props,d=l?e.toLanguageString(r,s[r]):"",p=d&&t.createVNode("span",{class:"k-label-optional"},[d]);return t.createVNode("label",{id:a,for:n,onClick:this.onLabelClick,class:this.labelClassName},[this.defaultSlots,p])}}),l=t.defineComponent({name:"KendoError",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created(){o.validatePackage(a)},computed:{errorClassName(){return{"k-form-error":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},render(){const e=o.getDefaultSlots(this);return t.createVNode("div",{id:this.$props.id,role:"alert",class:this.errorClassName},[e])}}),d=t.defineComponent({name:"KendoHint",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created(){o.validatePackage(a)},computed:{hintClassName(){return{"k-form-hint":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},render(){const e=o.getDefaultSlots(this);return t.createVNode("div",{id:this.$props.id,class:this.hintClassName},[e])}}),p=t.defineComponent({name:"KendoFloatingLabel",props:{label:String,labelClass:String,editorId:String,editorValue:[String,Boolean,Number],editorPlaceholder:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,id:String,optional:Boolean,focused:{type:Boolean,default:void 0},dir:String},data:()=>({currentFocused:!1}),inject:{kendoLocalizationService:{default:null}},created(){o.validatePackage(a)},computed:{computedFocused(){return void 0!==this.$props.focused?this.$props.focused:this.currentFocused},spanClassNames(){return{"k-floating-label-container":!0,"k-focus":this.computedFocused,"k-empty":!this.$props.editorPlaceholder&&!this.$props.editorValue&&0!==this.$props.editorValue,"k-text-disabled":this.$props.editorDisabled,"k-rtl":"rtl"===this.$props.dir}},labelClassNames(){return{"k-floating-label":!0,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":this.$props.editorDisabled,[this.$props.labelClass]:this.$props.labelClass}}},methods:{handleFocus(){this.currentFocused=!0},handleBlur(){this.currentFocused=!1}},setup:()=>({kendoLocalizationService:t.inject("kendoLocalizationService",{})}),render(){const e=o.getDefaultSlots(this),{label:a,editorId:n,id:l,optional:d}=this.$props,p=i.provideLocalizationService(this),c=d?p.toLanguageString(r,s[r]):"",u=c&&t.createVNode("span",{class:"k-label-optional"},[c]);return t.createVNode("span",{class:this.spanClassNames,onFocusin:this.handleFocus,onFocusout:this.handleBlur,dir:this.$props.dir},[e,a?n?t.createVNode("label",{id:l,for:n,class:this.labelClassNames},[a,u]):t.createVNode("span",{id:l,class:this.labelClassNames},[a,u]):null])}});e.Error=l,e.FloatingLabel=p,e.Hint=d,e.Label=n}));
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-labels",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1748961909,version:"6.4.1",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"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-labels",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1750421606,version:"6.4.2-develop.3",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"};exports.packageMetadata=e;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1748961909,
14
- version: "6.4.1",
13
+ publishDate: 1750421606,
14
+ version: "6.4.2-develop.3",
15
15
  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"
16
16
  };
17
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-labels",
3
- "version": "6.4.1",
3
+ "version": "6.4.2-develop.3",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -19,8 +19,8 @@
19
19
  "sideEffects": false,
20
20
  "peerDependencies": {
21
21
  "@progress/kendo-licensing": "^1.4.0",
22
- "@progress/kendo-vue-common": "6.4.1",
23
- "@progress/kendo-vue-intl": "6.4.1",
22
+ "@progress/kendo-vue-common": "6.4.2-develop.3",
23
+ "@progress/kendo-vue-intl": "6.4.2-develop.3",
24
24
  "vue": "^3.0.2"
25
25
  },
26
26
  "dependencies": {},
@@ -40,7 +40,7 @@
40
40
  "package": {
41
41
  "productName": "Kendo UI for Vue",
42
42
  "productCode": "KENDOUIVUE",
43
- "publishDate": 1748961909,
43
+ "publishDate": 1750421606,
44
44
  "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"
45
45
  }
46
46
  },