@progress/kendo-vue-progressbars 11.0.0-develop.1 → 11.0.1-develop.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/NOTICE.txt CHANGED
@@ -1,18 +1,18 @@
1
1
 
2
- Progress Kendo UI for Vue 2026 Updated August 2026
2
+ Progress Kendo UI for Vue 2026 Updated November 2026
3
3
 
4
4
  ----------------------------------------------------------------------------------------------------------------------------
5
5
  NOTICES REPORT
6
6
  ----------------------------------------------------------------------------------------------------------------------------
7
7
 
8
8
  Portions of the Products include certain open source and commercial third-party components listed below ("Third-Party
9
- Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include the
10
- following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
11
- acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-Party
12
- Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
9
+ Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include
10
+ the following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
11
+ acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-
12
+ Party Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
13
13
  Components. Notwithstanding anything to the contrary, to the extent that any of the terms and conditions of the Progress
14
- Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for these
15
- technologies, such terms and conditions are offered by PSC alone and not by any other party.
14
+ Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for
15
+ these technologies, such terms and conditions are offered by PSC alone and not by any other party.
16
16
 
17
17
  ----------------------------------------------------------------------------------------------------------------------------
18
18
  Report Content
@@ -28,8 +28,8 @@
28
28
  GENERATIVE ARTIFICIAL INTELLIGENCE INTEGRATION
29
29
  If the Software documentation specifies integration with some form of generative artificial intelligence (AI), then the
30
30
  Software will include a configuration to connect to AI. You acknowledge that a separate license or subscription access
31
- to AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access of
32
- AI capabilities integrated with the Software. You will be responsible to comply with the terms of such license agreement
31
+ to AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access
32
+ of AI capabilities integrated with the Software. You will be responsible to comply with the terms of such license agreement
33
33
  for a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
34
34
  and AI licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
35
35
  disclaims any and all liabilities for any output, error, damages, loss, etc., or any other result of Your use of AI
@@ -37,8 +37,8 @@
37
37
 
38
38
  ----------------------------------------------------------------------------------------------------------------------------
39
39
 
40
- NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or other
41
- documentation that accompanies updates received in connection with support of the Product.
40
+ NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or
41
+ other documentation that accompanies updates received in connection with support of the Product.
42
42
 
43
43
  ----------------------------------------------------------------------------------------------------------------------------
44
44
 
@@ -52,9 +52,9 @@ Components:
52
52
  | | readme | |
53
53
  | @progress/pako-esm 1.0.1 | https://github.com/telerik/pako-esm#r | MIT License |
54
54
  | | eadme | |
55
- | prosemirror-commands 1.7.1 | https://github.com/prosemirror/prosem | MIT License |
55
+ | prosemirror-commands 1.7.2 | https://github.com/prosemirror/prosem | MIT License |
56
56
  | | irror-commands#readme | |
57
- | prosemirror-dropcursor 1.8.2 | https://github.com/prosemirror/prosem | MIT License |
57
+ | prosemirror-dropcursor 1.8.3 | https://github.com/prosemirror/prosem | MIT License |
58
58
  | | irror-dropcursor#readme | |
59
59
  | prosemirror-gapcursor 1.4.1 | https://github.com/prosemirror/prosem | MIT License |
60
60
  | | irror-gapcursor#readme | |
@@ -64,7 +64,7 @@ Components:
64
64
  | | irror-inputrules#readme | |
65
65
  | prosemirror-keymap 1.2.3 | https://github.com/prosemirror/prosem | MIT License |
66
66
  | | irror-keymap#readme | |
67
- | prosemirror-model 1.25.9 | https://github.com/prosemirror/prosem | MIT License |
67
+ | prosemirror-model 1.25.12 | https://github.com/prosemirror/prosem | MIT License |
68
68
  | | irror-model#readme | |
69
69
  | prosemirror-schema-list 1.5.1 | https://github.com/prosemirror/prosem | MIT License |
70
70
  | | irror-schema-list#readme | |
@@ -72,9 +72,9 @@ Components:
72
72
  | | irror-state#readme | |
73
73
  | prosemirror-tables 1.8.5 | https://github.com/prosemirror/prosem | MIT License |
74
74
  | | irror-tables#readme | |
75
- | prosemirror-transform 1.10.5 | https://github.com/prosemirror/prosem | MIT License |
75
+ | prosemirror-transform 1.12.1 | https://github.com/prosemirror/prosem | MIT License |
76
76
  | | irror-transform#readme | |
77
- | prosemirror-view 1.41.6 | https://github.com/prosemirror/prosem | MIT License |
77
+ | prosemirror-view 1.42.5 | https://github.com/prosemirror/prosem | MIT License |
78
78
  | | irror-view#readme | |
79
79
  | -------------------------------------- | ------------------------------------- | ---------------------------------------- |
80
80
 
@@ -269,7 +269,7 @@ third-party archives.
269
269
  ---
270
270
 
271
271
  MIT License
272
- (@progress/jszip-esm 1.0.4, @progress/pako-esm 1.0.1, prosemirror-commands 1.7.1, prosemirror-dropcursor 1.8.2, prosemirror-gapcursor 1.4.1, prosemirror-history 1.5.0, prosemirror-inputrules 1.5.1, prosemirror-keymap 1.2.3, prosemirror-model 1.25.9, prosemirror-schema-list 1.5.1, prosemirror-state 1.4.4, prosemirror-tables 1.8.5, prosemirror-transform 1.10.5, prosemirror-view 1.41.6)
272
+ (@progress/jszip-esm 1.0.4, @progress/pako-esm 1.0.1, prosemirror-commands 1.7.2, prosemirror-dropcursor 1.8.3, prosemirror-gapcursor 1.4.1, prosemirror-history 1.5.0, prosemirror-inputrules 1.5.1, prosemirror-keymap 1.2.3, prosemirror-model 1.25.12, prosemirror-schema-list 1.5.1, prosemirror-state 1.4.4, prosemirror-tables 1.8.5, prosemirror-transform 1.12.1, prosemirror-view 1.42.5)
273
273
 
274
274
  The MIT License
275
275
  ===============
@@ -7,7 +7,17 @@
7
7
  */
8
8
  import { PropType } from 'vue';
9
9
  /**
10
- * @hidden
10
+ * Represents the [KendoVue ChunkProgressBar component](slug:overview_chunkprogressbar).
11
+ * Accepts properties of type [ChunkProgressBarProps](slug:api_progressbars_chunkprogressbarprops).
12
+ *
13
+ * @example
14
+ * ```vue
15
+ * <ChunkProgressBar
16
+ * :value="40"
17
+ * :chunk-count="10"
18
+ * :aria-label="'Order fulfillment progress'"
19
+ * />
20
+ * ```
11
21
  */
12
22
  declare const ChunkProgressBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
23
  chunkCount: {
@@ -7,11 +7,13 @@
7
7
  */
8
8
  import { BaseProps } from '../../common/BaseProps';
9
9
  /**
10
- * Represents the props of the [Kendo UI for Vue ChunkProgressBar component]({% slug overview_chunkprogressbar %}).
10
+ * Represents the props of the [KendoVue ChunkProgressBar component](slug:overview_chunkprogressbar).
11
11
  */
12
12
  export interface ChunkProgressBarProps extends BaseProps {
13
13
  /**
14
- * Sets the number of chunks into which the ChunkProgressBar will be split. Defaults to `5`.
14
+ * Sets the number of chunks in the ChunkProgressBar.
15
+ *
16
+ * @default `5`
15
17
  */
16
18
  chunkCount?: number;
17
19
  }
@@ -16,70 +16,99 @@ export interface BaseProps {
16
16
  */
17
17
  type?: 'linear' | 'circular';
18
18
  /**
19
- * Sets the value of the progress bar. Has to be between `min` and `max` values. Defaults to `0`.
20
- * Set `null` to enable the indeterminate state of the progress bar.
21
- * See examples ([here]({% slug overview_progressbar %})).
19
+ * Sets the value of the progress bar. The value must be between `min` and `max`.
20
+ * Set it to `null` to show the indeterminate state of the progress bar.
21
+ * See examples ([here](slug:overview_progressbar)).
22
+ * The component uses this value for the `aria-valuenow` attribute.
23
+ *
24
+ * @default `0`
25
+ *
26
+ * @remarks
27
+ * This property is related to accessibility.
22
28
  */
23
29
  value?: number | null;
24
30
  /**
25
- * The minimum value of the progress bar. Defaults to `0`.
31
+ * Sets the minimum value of the progress bar.
32
+ * The component uses this value for the `aria-valuemin` attribute.
33
+ *
34
+ * @default `0`
35
+ *
36
+ * @remarks
37
+ * This property is related to accessibility.
26
38
  */
27
39
  min?: number;
28
40
  /**
29
- * The maximum value of the progress bar. Defaults to `100`.
41
+ * Sets the maximum value of the progress bar.
42
+ *
43
+ * @default `100`
30
44
  */
31
45
  max?: number;
32
46
  /**
33
- * Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
47
+ * Sets the `dir` HTML attribute of the progress bar. Use it to switch between LTR and RTL.
34
48
  */
35
49
  dir?: string;
36
50
  /**
37
- * The accessible label of the component.
51
+ * Sets the accessible name of the progress bar.
52
+ * When you do not set it, the component uses `progress`.
53
+ *
54
+ * @remarks
55
+ * This property is related to accessibility.
38
56
  */
39
57
  ariaLabel?: string;
40
58
  /**
41
- * Sets the disabled state of the progress bar.
42
- * See examples ([here]({% slug progressbar_disabled %})).
59
+ * Disables the progress bar.
60
+ * See examples ([here](slug:progressbar_disabled)).
61
+ *
62
+ * @default `false`
63
+ *
64
+ * @remarks
65
+ * This property is related to accessibility.
43
66
  */
44
67
  disabled?: boolean;
45
68
  /**
46
- * Defines the orientation of the progress bar.
47
- * See examples ([here]({% slug progressbar_orientation %})) .
48
- * Defaults to `horizontal`.
69
+ * Sets the orientation of the progress bar.
70
+ * See examples ([here](slug:progressbar_orientation)).
71
+ *
72
+ * @default `horizontal`
49
73
  */
50
74
  orientation?: 'horizontal' | 'vertical' | string;
51
75
  /**
52
- * If set to `true`, the progress bar will be reversed.
53
- * See examples ([here]({% slug progressbar_direction %})).
54
- * Defaults to `false`.
76
+ * Reverses the progress bar when you set it to `true`.
77
+ * See examples ([here](slug:progressbar_direction)).
78
+ *
79
+ * @default `false`
55
80
  */
56
81
  reverse?: boolean;
57
82
  /**
58
- * Specifies a list of CSS classes that will be added to the progress bar element.
83
+ * Sets a list of CSS classes on the progress bar element.
59
84
  */
60
85
  className?: string;
61
86
  /**
62
- * The styles that are applied to the inner element which represents the empty portion of the progress bar.
63
- * See examples ([here]({% slug progressbar_appearance %})).
87
+ * Sets the styles of the inner element that shows the empty part of the progress bar.
88
+ * See examples ([here](slug:progressbar_appearance)).
64
89
  */
65
90
  emptyStyle?: object;
66
91
  /**
67
- * Sets additional classes to the inner element which represents the empty portion of the progress bar.
68
- * See examples ([here]({% slug progressbar_appearance %})).
92
+ * Sets additional CSS classes on the inner element that shows the empty part of the progress bar.
93
+ * See examples ([here](slug:progressbar_appearance)).
69
94
  */
70
95
  emptyClassName?: string;
71
96
  /**
72
- * The styles that are applied to the inner element which represents the full portion of the progress bar.
73
- * See examples ([here]({% slug progressbar_appearance %})).
97
+ * Sets the styles of the inner element that shows the full part of the progress bar.
98
+ * See examples ([here](slug:progressbar_appearance)).
74
99
  */
75
100
  progressStyle?: object;
76
101
  /**
77
- * Sets additional classes to the inner element which represents the full portion of the progress bar.
78
- * See examples ([here]({% slug progressbar_appearance %})).
102
+ * Sets additional CSS classes on the inner element that shows the full part of the progress bar.
103
+ * See examples ([here](slug:progressbar_appearance)).
79
104
  */
80
105
  progressClassName?: string;
81
106
  /**
82
- * Sets the `tabIndex` property of the progress bar.
107
+ * Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)
108
+ * of the progress bar.
109
+ *
110
+ * @remarks
111
+ * This property is related to accessibility.
83
112
  */
84
113
  tabIndex?: number;
85
114
  }
@@ -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-animation"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-animation","@progress/kendo-vue-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueProgressbars={},e.Vue,e.KendoVueAnimation,e.KendoVueCommon)}(this,function(e,t,r,s){"use strict";const a=(e,t,r)=>{const s=Math.abs((t-e)/100);return Math.abs((r-e)/s)},i=(e,t,r,s)=>{const a=0===r?0:Math.max(r,.01),i=0===a?100:100/a*100;e&&t&&(e.style.width=s?"100%":`${a}%`,t.style.width=s?"100%":`${i}%`,e.style.height=s?`${a}%`:"100%",t.style.height=s?`${i}%`:"100%")},o={name:"@progress/kendo-vue-progressbars",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1636730390,version:"11.0.0-develop.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:"KendoProgressBar",props:{animation:{type:[Boolean,Object],default:!1},disabled:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},label:String,labelRender:[String,Object,Function],labelVisible:{type:Boolean,default:!0},labelPlacement:{type:String,default:void 0,validator:function(e){return["start","center","end"].includes(e)}},dir:{type:String,default:void 0},max:{type:Number,default:100},min:{type:Number,default:0},value:{type:Number,default:0},orientation:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},tabIndex:Number,emptyStyle:Object,emptyClassName:String,progressStyle:Object,progressClassName:String,ariaLabel:String},created(){s.validatePackage(o),this.currentDir=this.$props.dir},mounted(){this._progressStatus=s.getRef(this,"progressStatus"),this._progressStatusWrap=s.getRef(this,"progressStatusWrap"),this.currentDir=void 0!==this.$props.dir?this.$props.dir:s.isRtl(this.$el)?"rtl":"ltr",this.animationFrame=r.animate({duration:this.animationDuration,onStart:this.handleStart,onUpdate:this.handleUpdate,onEnd:this.handleEnd})},unmounted(){r.cancelAnimation(this.animationFrame)},data:()=>({currentDir:void 0}),watch:{value:function(e,t){this.prevValue=t,this.animationFrame=r.animate({duration:this.animationDuration,onStart:this.handleStart,onUpdate:this.handleUpdate,onEnd:this.handleEnd})}},computed:{wrapperClass(){const{disabled:e,reverse:t,orientation:r,value:s}=this.$props,a="vertical"===r;return{"k-progressbar":!0,"k-progressbar-horizontal":!a,"k-progressbar-vertical":a,"k-progressbar-reverse":t,"k-progressbar-indeterminate":null===s,"k-disabled":e}},isVertical(){return"vertical"===this.orientation},animationDuration(){const{animation:e}=this.$props;return"boolean"!=typeof e&&void 0!==e?e.duration:e?400:0}},render(){const{disabled:e,labelVisible:r,labelPlacement:a,max:i,min:o,tabIndex:n,emptyStyle:l,emptyClassName:p,progressStyle:d,progressClassName:u}=this.$props,h=this.$props.value||0,c=null===this.$props.value,m=(e=>{const t=e.toString().split(".");return 1===t.length?`${t[0]}`:`${t[0]}.${t[1].substr(0,3)}`})(h),g={value:h},b=this.$props.labelRender?s.templateRendering.call(this,this.$props.labelRender,s.getListeners.call(this)):void 0,v=t.h("span",{class:"k-progress-status"},m),f=s.getTemplate.call(this,{h:t.h,template:b,defaultRendering:v,additionalProps:g}),y=r?this.$props.label?t.createVNode("span",{class:"k-progress-status"},[this.$props.label]):f:void 0,k=s.classNames("k-progress-status-wrap",{"k-progress-start":"start"===a,"k-progress-center":"center"===a,"k-progress-end":"end"===a||void 0===a});return t.createVNode("div",{class:this.wrapperClass,dir:this.currentDir,tabindex:s.getTabIndex(n,e),role:"progressbar","aria-valuemin":o,"aria-valuemax":i,"aria-valuenow":c?void 0:h,"aria-disabled":e||void 0,"aria-label":this.$props.ariaLabel||"progress"},[t.createVNode("span",{class:k+(p?" "+p:""),style:l},[y]),t.createVNode("div",{class:"k-progressbar-value k-selected",style:d,ref:s.setRef(this,"progressStatus")},[t.createVNode("span",{class:k+(u?" "+u:""),ref:s.setRef(this,"progressStatusWrap")},[y])])])},methods:{focus(){this.$el&&this.$el.focus()},progressStatusElement(){return this._progressStatus},progressStatusWrapElement(){return this._progressStatusWrap},handleStart(){const e=a(this.min,this.max,this.prevValue);i(this._progressStatus,this._progressStatusWrap,e,this.isVertical)},handleUpdate(e){const t=a(this.min,this.max,this.prevValue+(this.value-this.prevValue)*e);i(this._progressStatus,this._progressStatusWrap,t,this.isVertical)},handleEnd(){const e=a(this.min,this.max,this.value);i(this._progressStatus,this._progressStatusWrap,e,this.isVertical)}}}),l=t.defineComponent({name:"KendoChunkProgressBar",props:{chunkCount:{type:Number,default:5},ariaLabel:String,disabled:Boolean,reverse:{type:Boolean,default:!1},max:{type:Number,default:100},min:{type:Number,default:0},value:{type:Number,default:0},tabIndex:Number,emptyStyle:Object,emptyClassName:String,progressStyle:Object,progressClassName:String,orientation:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}}},created(){s.validatePackage(o)},data:()=>({currentDir:void 0}),mounted(){this.currentDir=s.getDir(this.$el,this.$props.dir)},render(){const{chunkCount:e,disabled:r,orientation:a,min:i,max:o,reverse:n,tabIndex:l,emptyStyle:p,emptyClassName:d,progressStyle:u,progressClassName:h}=this.$props,c=this.$props.value,m=null===this.$props.value,g="vertical"===a;return t.createVNode("div",{class:s.classNames("k-progressbar","k-chunk-progressbar",{"k-progressbar-horizontal":!g,"k-progressbar-vertical":g,"k-progressbar-reverse":n,"k-progressbar-indeterminate":m,"k-disabled":r}),dir:this.currentDir,tabindex:s.getTabIndex(l,r),role:"progressbar","aria-label":this.$props.ariaLabel||"progress","aria-valuemin":i,"aria-valuemax":e,"aria-valuenow":m?void 0:c,"aria-disabled":r||void 0},[t.createVNode("ul",{class:"k-progressbar-chunks k-reset"},[function(e){let r=[];const a=100/e+"%",n=((e,t,r)=>Math.max((r-e)/(t-e),1e-5))(i,o,c),l=Math.floor(n*e),m=Array(e).fill(!1);for(let e=0;e<l;e++)m[e]=!0;for(let i=0;i<e;++i){const o=m[i],n=o?h:d,l={width:g?void 0:a,height:g?a:void 0,...o?u:p};r.push(t.createVNode("li",{key:i,class:s.classNames("k-progressbar-chunk",{"k-first":0===i,"k-last":i===e-1,"k-selected":o},n),style:l},null))}return r}.call(this,e)])])},methods:{focusElement(){this.$el&&this.$el.focus()}}});e.ChunkProgressBar=l,e.ProgressBar=n});
15
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@progress/kendo-vue-animation"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-animation","@progress/kendo-vue-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueProgressbars={},e.Vue,e.KendoVueAnimation,e.KendoVueCommon)}(this,function(e,t,r,s){"use strict";const a=(e,t,r)=>{const s=Math.abs((t-e)/100);return Math.abs((r-e)/s)},i=(e,t,r,s)=>{const a=0===r?0:Math.max(r,.01),i=0===a?100:100/a*100;e&&t&&(e.style.width=s?"100%":`${a}%`,t.style.width=s?"100%":`${i}%`,e.style.height=s?`${a}%`:"100%",t.style.height=s?`${i}%`:"100%")},o={name:"@progress/kendo-vue-progressbars",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1636730390,version:"11.0.1-develop.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:"KendoProgressBar",props:{animation:{type:[Boolean,Object],default:!1},disabled:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},label:String,labelRender:[String,Object,Function],labelVisible:{type:Boolean,default:!0},labelPlacement:{type:String,default:void 0,validator:function(e){return["start","center","end"].includes(e)}},dir:{type:String,default:void 0},max:{type:Number,default:100},min:{type:Number,default:0},value:{type:Number,default:0},orientation:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}},tabIndex:Number,emptyStyle:Object,emptyClassName:String,progressStyle:Object,progressClassName:String,ariaLabel:String},created(){s.validatePackage(o),this.currentDir=this.$props.dir},mounted(){this._progressStatus=s.getRef(this,"progressStatus"),this._progressStatusWrap=s.getRef(this,"progressStatusWrap"),this.currentDir=void 0!==this.$props.dir?this.$props.dir:s.isRtl(this.$el)?"rtl":"ltr",this.animationFrame=r.animate({duration:this.animationDuration,onStart:this.handleStart,onUpdate:this.handleUpdate,onEnd:this.handleEnd})},unmounted(){r.cancelAnimation(this.animationFrame)},data:()=>({currentDir:void 0}),watch:{value:function(e,t){this.prevValue=t,this.animationFrame=r.animate({duration:this.animationDuration,onStart:this.handleStart,onUpdate:this.handleUpdate,onEnd:this.handleEnd})}},computed:{wrapperClass(){const{disabled:e,reverse:t,orientation:r,value:s}=this.$props,a="vertical"===r;return{"k-progressbar":!0,"k-progressbar-horizontal":!a,"k-progressbar-vertical":a,"k-progressbar-reverse":t,"k-progressbar-indeterminate":null===s,"k-disabled":e}},isVertical(){return"vertical"===this.orientation},animationDuration(){const{animation:e}=this.$props;return"boolean"!=typeof e&&void 0!==e?e.duration:e?400:0}},render(){const{disabled:e,labelVisible:r,labelPlacement:a,max:i,min:o,tabIndex:n,emptyStyle:l,emptyClassName:p,progressStyle:d,progressClassName:u}=this.$props,h=this.$props.value||0,c=null===this.$props.value,m=(e=>{const t=e.toString().split(".");return 1===t.length?`${t[0]}`:`${t[0]}.${t[1].substr(0,3)}`})(h),g={value:h},b=this.$props.labelRender?s.templateRendering.call(this,this.$props.labelRender,s.getListeners.call(this)):void 0,v=t.h("span",{class:"k-progress-status"},m),f=s.getTemplate.call(this,{h:t.h,template:b,defaultRendering:v,additionalProps:g}),y=r?this.$props.label?t.createVNode("span",{class:"k-progress-status"},[this.$props.label]):f:void 0,k=s.classNames("k-progress-status-wrap",{"k-progress-start":"start"===a,"k-progress-center":"center"===a,"k-progress-end":"end"===a||void 0===a});return t.createVNode("div",{class:this.wrapperClass,dir:this.currentDir,tabindex:s.getTabIndex(n,e),role:"progressbar","aria-valuemin":o,"aria-valuemax":i,"aria-valuenow":c?void 0:h,"aria-disabled":e||void 0,"aria-label":this.$props.ariaLabel||"progress"},[t.createVNode("span",{class:k+(p?" "+p:""),style:l},[y]),t.createVNode("div",{class:"k-progressbar-value k-selected",style:d,ref:s.setRef(this,"progressStatus")},[t.createVNode("span",{class:k+(u?" "+u:""),ref:s.setRef(this,"progressStatusWrap")},[y])])])},methods:{focus(){this.$el&&this.$el.focus()},progressStatusElement(){return this._progressStatus},progressStatusWrapElement(){return this._progressStatusWrap},handleStart(){const e=a(this.min,this.max,this.prevValue);i(this._progressStatus,this._progressStatusWrap,e,this.isVertical)},handleUpdate(e){const t=a(this.min,this.max,this.prevValue+(this.value-this.prevValue)*e);i(this._progressStatus,this._progressStatusWrap,t,this.isVertical)},handleEnd(){const e=a(this.min,this.max,this.value);i(this._progressStatus,this._progressStatusWrap,e,this.isVertical)}}}),l=t.defineComponent({name:"KendoChunkProgressBar",props:{chunkCount:{type:Number,default:5},ariaLabel:String,disabled:Boolean,reverse:{type:Boolean,default:!1},max:{type:Number,default:100},min:{type:Number,default:0},value:{type:Number,default:0},tabIndex:Number,emptyStyle:Object,emptyClassName:String,progressStyle:Object,progressClassName:String,orientation:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].includes(e)}}},created(){s.validatePackage(o)},data:()=>({currentDir:void 0}),mounted(){this.currentDir=s.getDir(this.$el,this.$props.dir)},render(){const{chunkCount:e,disabled:r,orientation:a,min:i,max:o,reverse:n,tabIndex:l,emptyStyle:p,emptyClassName:d,progressStyle:u,progressClassName:h}=this.$props,c=this.$props.value,m=null===this.$props.value,g="vertical"===a;return t.createVNode("div",{class:s.classNames("k-progressbar","k-chunk-progressbar",{"k-progressbar-horizontal":!g,"k-progressbar-vertical":g,"k-progressbar-reverse":n,"k-progressbar-indeterminate":m,"k-disabled":r}),dir:this.currentDir,tabindex:s.getTabIndex(l,r),role:"progressbar","aria-label":this.$props.ariaLabel||"progress","aria-valuemin":i,"aria-valuemax":e,"aria-valuenow":m?void 0:c,"aria-disabled":r||void 0},[t.createVNode("ul",{class:"k-progressbar-chunks k-reset"},[function(e){let r=[];const a=100/e+"%",n=((e,t,r)=>Math.max((r-e)/(t-e),1e-5))(i,o,c),l=Math.floor(n*e),m=Array(e).fill(!1);for(let e=0;e<l;e++)m[e]=!0;for(let i=0;i<e;++i){const o=m[i],n=o?h:d,l={width:g?void 0:a,height:g?a:void 0,...o?u:p};r.push(t.createVNode("li",{key:i,class:s.classNames("k-progressbar-chunk",{"k-first":0===i,"k-last":i===e-1,"k-selected":o},n),style:l},null))}return r}.call(this,e)])])},methods:{focusElement(){this.$el&&this.$el.focus()}}});e.ChunkProgressBar=l,e.ProgressBar=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-progressbars",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1794299458,version:"11.0.0-develop.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-progressbars",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1794913570,version:"11.0.1-develop.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;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1794299458,
14
- version: "11.0.0-develop.1",
13
+ publishDate: 1794913570,
14
+ version: "11.0.1-develop.1",
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-progressbars",
3
- "version": "11.0.0-develop.1",
3
+ "version": "11.0.1-develop.1",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "sideEffects": false,
26
26
  "peerDependencies": {
27
- "@progress/kendo-licensing": "^1.13.0",
28
- "@progress/kendo-vue-common": "11.0.0-develop.1",
29
- "@progress/kendo-vue-animation": "11.0.0-develop.1",
27
+ "@progress/kendo-licensing": "^1.13.1",
28
+ "@progress/kendo-vue-common": "11.0.1-develop.1",
29
+ "@progress/kendo-vue-animation": "11.0.1-develop.1",
30
30
  "vue": "^3.0.2"
31
31
  },
32
32
  "dependencies": {},
@@ -46,7 +46,7 @@
46
46
  "package": {
47
47
  "productName": "Kendo UI for Vue",
48
48
  "productCode": "KENDOUIVUE",
49
- "publishDate": 1794299458,
49
+ "publishDate": 1794913570,
50
50
  "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"
51
51
  }
52
52
  },
@@ -16,7 +16,19 @@ export interface ProgressBarComputed {
16
16
  animationDuration: number;
17
17
  }
18
18
  /**
19
- * @hidden
19
+ * Represents the [KendoVue ProgressBar component](slug:overview_progressbar).
20
+ * Accepts properties of type [ProgressBarProps](slug:api_progressbars_progressbarprops).
21
+ *
22
+ * @example
23
+ * ```vue
24
+ * <ProgressBar
25
+ * :value="65"
26
+ * :min="0"
27
+ * :max="100"
28
+ * :label-placement="'center'"
29
+ * :aria-label="'Upload progress'"
30
+ * />
31
+ * ```
20
32
  */
21
33
  declare const ProgressBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
22
34
  animation: {
@@ -8,29 +8,36 @@
8
8
  import { BaseProps } from '../../common/BaseProps';
9
9
  import { ProgressBarAnimation } from './ProgressBarAnimation';
10
10
  /**
11
- * Represents the props of the [Kendo UI for Vue ProgressBar component]({% slug overview_progressbar %}).
11
+ * Represents the props of the [KendoVue ProgressBar component](slug:overview_progressbar).
12
12
  */
13
13
  export interface ProgressBarProps extends BaseProps {
14
14
  /**
15
- * Specifies the animation settings of the ProgressBar. Defaults to `false`.
16
- * If boolean, enables or disables the default animation.
17
- * Use ProgressBarAnimation to set slide animation with customizable duration option. Accepts a number in milliseconds.
15
+ * Sets the animation of the ProgressBar ([see example](slug:progressbar_animation)).
16
+ * Set it to `true` or `false` to turn the default animation on or off.
17
+ * To set a custom duration in milliseconds, pass a `ProgressBarAnimation` object.
18
+ *
19
+ * @default `false`
18
20
  */
19
21
  animation?: boolean | ProgressBarAnimation;
20
22
  /**
21
- * Overrides the default label ([see example]({% slug progressbar_label %})).
23
+ * Sets custom text that replaces the default label ([see example](slug:progressbar_label)).
22
24
  */
23
25
  label?: any;
24
26
  /**
25
- * Overrides the default label template ([see example]({% slug progressbar_label %})).
27
+ * Sets a custom template for the label ([see example](slug:progressbar_label)).
28
+ * Accepts a Vue component, a `render` function, or a slot name.
29
+ * The template receives the [`LabelProps`](slug:api_progressbars_labelprops).
26
30
  */
27
31
  labelRender?: any;
28
32
  /**
29
- * Sets the visibility of the progress status label. Defaults to `true`.
33
+ * Shows or hides the progress status label.
34
+ *
35
+ * @default `true`
30
36
  */
31
37
  labelVisible?: boolean;
32
38
  /**
33
- * Sets the position of the progress status label. Defaults to `end` ([see example]({% slug progressbar_label %})).
39
+ * Sets the position of the progress status label ([see example](slug:progressbar_label)).
40
+ * When you do not set it, the label appears at the `end`.
34
41
  */
35
42
  labelPlacement?: 'start' | 'center' | 'end' | any;
36
43
  }