@progress/kendo-vue-indicators 8.0.3-develop.2 → 8.0.3-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.
@@ -0,0 +1,93 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BadgeAlign } from './BadgeProps';
9
+ import { PropType } from 'vue';
10
+ /**
11
+ * Represents the [Kendo UI for Vue Badge component]({% slug api_indicators_badgeprops %}).
12
+ *
13
+ * @example
14
+ * ```jsx
15
+ * <Badge>99+</Badge>
16
+ * ```
17
+ */
18
+ declare const Badge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
19
+ dir: PropType<string>;
20
+ align: {
21
+ type: PropType<BadgeAlign>;
22
+ default: () => BadgeAlign;
23
+ };
24
+ size: {
25
+ type: PropType<"small" | "medium" | "large">;
26
+ validator: (value: string) => boolean;
27
+ };
28
+ fillMode: {
29
+ type: PropType<"solid" | "outline">;
30
+ validator: (value: string) => boolean;
31
+ };
32
+ themeColor: {
33
+ type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
34
+ validator: (value: string) => boolean;
35
+ };
36
+ rounded: {
37
+ type: PropType<"small" | "medium" | "large" | "none" | "full">;
38
+ validator: (value: string) => boolean;
39
+ };
40
+ position: {
41
+ type: PropType<string>;
42
+ default: string;
43
+ validator: (value: string) => any;
44
+ };
45
+ cutoutBorder: PropType<boolean>;
46
+ }>, {}, {}, {
47
+ badgeClasses(): {
48
+ [x: string]: any;
49
+ 'k-badge': boolean;
50
+ 'k-badge-sm': boolean;
51
+ 'k-badge-md': boolean;
52
+ 'k-badge-lg': boolean;
53
+ 'k-badge-border-cutout': any;
54
+ 'k-top-start': boolean;
55
+ 'k-top-end': boolean;
56
+ 'k-bottom-start': boolean;
57
+ 'k-bottom-end': boolean;
58
+ };
59
+ }, {
60
+ focusElement(): void;
61
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
+ dir: PropType<string>;
63
+ align: {
64
+ type: PropType<BadgeAlign>;
65
+ default: () => BadgeAlign;
66
+ };
67
+ size: {
68
+ type: PropType<"small" | "medium" | "large">;
69
+ validator: (value: string) => boolean;
70
+ };
71
+ fillMode: {
72
+ type: PropType<"solid" | "outline">;
73
+ validator: (value: string) => boolean;
74
+ };
75
+ themeColor: {
76
+ type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
77
+ validator: (value: string) => boolean;
78
+ };
79
+ rounded: {
80
+ type: PropType<"small" | "medium" | "large" | "none" | "full">;
81
+ validator: (value: string) => boolean;
82
+ };
83
+ position: {
84
+ type: PropType<string>;
85
+ default: string;
86
+ validator: (value: string) => any;
87
+ };
88
+ cutoutBorder: PropType<boolean>;
89
+ }>> & Readonly<{}>, {
90
+ position: string;
91
+ align: BadgeAlign;
92
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
93
+ export { Badge };
@@ -0,0 +1,101 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BadgeAlign } from './BadgeProps';
9
+ import { PropType } from 'vue';
10
+ /**
11
+ * Represents the [Kendo UI for Vue BadgeContainer component]({% slug api_indicators_badgeprops %}).
12
+ *
13
+ * @example
14
+ * ```jsx
15
+ * <BadgeContainer>99+</BadgeContainer>
16
+ * ```
17
+ */
18
+ declare const BadgeContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
19
+ dir: PropType<string>;
20
+ align: {
21
+ type: PropType<BadgeAlign>;
22
+ default: () => BadgeAlign;
23
+ };
24
+ size: {
25
+ type: PropType<"small" | "medium" | "large">;
26
+ validator: (value: string) => boolean;
27
+ };
28
+ fillMode: {
29
+ type: PropType<"solid" | "outline">;
30
+ validator: (value: string) => boolean;
31
+ };
32
+ themeColor: {
33
+ type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
34
+ default: string;
35
+ validator: (value: string) => boolean;
36
+ };
37
+ rounded: {
38
+ type: PropType<"small" | "medium" | "large" | "none" | "full">;
39
+ validator: (value: string) => boolean;
40
+ };
41
+ position: {
42
+ type: PropType<string>;
43
+ default: string;
44
+ validator: (value: string) => boolean;
45
+ };
46
+ cutoutBorder: PropType<boolean>;
47
+ content: PropType<any>;
48
+ }>, {}, {}, {
49
+ badgeContainerClasses(): {
50
+ 'k-badge-container': boolean;
51
+ };
52
+ badgeClasses(): {
53
+ [x: string]: any;
54
+ 'k-badge': boolean;
55
+ 'k-badge-sm': boolean;
56
+ 'k-badge-md': boolean;
57
+ 'k-badge-lg': boolean;
58
+ 'k-badge-border-cutout': any;
59
+ 'k-top-start': boolean;
60
+ 'k-top-end': boolean;
61
+ 'k-bottom-start': boolean;
62
+ 'k-bottom-end': boolean;
63
+ };
64
+ }, {
65
+ focusElement(): void;
66
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
67
+ dir: PropType<string>;
68
+ align: {
69
+ type: PropType<BadgeAlign>;
70
+ default: () => BadgeAlign;
71
+ };
72
+ size: {
73
+ type: PropType<"small" | "medium" | "large">;
74
+ validator: (value: string) => boolean;
75
+ };
76
+ fillMode: {
77
+ type: PropType<"solid" | "outline">;
78
+ validator: (value: string) => boolean;
79
+ };
80
+ themeColor: {
81
+ type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
82
+ default: string;
83
+ validator: (value: string) => boolean;
84
+ };
85
+ rounded: {
86
+ type: PropType<"small" | "medium" | "large" | "none" | "full">;
87
+ validator: (value: string) => boolean;
88
+ };
89
+ position: {
90
+ type: PropType<string>;
91
+ default: string;
92
+ validator: (value: string) => boolean;
93
+ };
94
+ cutoutBorder: PropType<boolean>;
95
+ content: PropType<any>;
96
+ }>> & Readonly<{}>, {
97
+ themeColor: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit";
98
+ position: string;
99
+ align: BadgeAlign;
100
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
101
+ export { BadgeContainer };
@@ -0,0 +1,196 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * Represents the props of the [Kendo UI for Vue Badge component]({% slug overview_badge %}).
10
+ */
11
+ export interface BadgeProps {
12
+ /**
13
+ * Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
14
+ */
15
+ dir?: string;
16
+ /**
17
+ * Specifies the size of the Badge.
18
+ *
19
+ * The possible values are:
20
+ * * `small`
21
+ * * `medium`
22
+ * * `large`
23
+ *
24
+ * @default `undefined`
25
+ */
26
+ size?: 'small' | 'medium' | 'large';
27
+ /**
28
+ * Specifies the roundness of the Badge.
29
+ *
30
+ * The possible values are:
31
+ * - none
32
+ * - small
33
+ * - medium
34
+ * - large
35
+ * - full
36
+ *
37
+ * @default `undefined`
38
+ */
39
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
40
+ /**
41
+ * Specifies the appearance fill style of the Badge.
42
+ *
43
+ * The possible values are:
44
+ * * `solid`
45
+ * * `outline`
46
+ *
47
+ * @default `undefined`
48
+ */
49
+ fillMode?: 'solid' | 'outline';
50
+ /**
51
+ * Specifies the theme color of the Badge.
52
+ *
53
+ * The possible values are:
54
+ * * `primary`&mdash;Applies coloring based on primary theme color.
55
+ * * `secondary`&mdash;Applies coloring based on secondary theme color.
56
+ * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
57
+ * * `inherit`&mdash; Applies inherited coloring value.
58
+ * * `info`&mdash;Applies coloring based on info theme color.
59
+ * * `success`&mdash; Applies coloring based on success theme color.
60
+ * * `warning`&mdash; Applies coloring based on warning theme color.
61
+ * * `error`&mdash; Applies coloring based on error theme color.
62
+ * * `dark`&mdash; Applies coloring based on dark theme color.
63
+ * * `light`&mdash; Applies coloring based on light theme color.
64
+ * * `inverse`&mdash; Applies coloring based on inverse theme color.
65
+ *
66
+ * @default `undefined`
67
+ */
68
+ themeColor?: 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'inherit';
69
+ /**
70
+ * Specifies the alignment of the Badge.
71
+ *
72
+ * The possible keys are:
73
+ * * `horizontal`&mdash; Defines the possible horizontal alignment of the Badge.
74
+ * * `start`&mdash;Uses the start point of the parent element.
75
+ * * `end`(Default)&mdash;Uses the end point of the parent element.
76
+ * * `vertical`&mdash; Defines the possible vertical alignment of the Badge.
77
+ * * `top`(Default)&mdash;Uses the top point of the parent element.
78
+ * * `bottom`&mdash;Uses the bottom point of the parent element.
79
+ *
80
+ */
81
+ align?: {
82
+ /**
83
+ * Defines the possible horizontal alignment of the Badge.
84
+ *
85
+ * The available values are:
86
+ * - `start`&mdash;Uses the start point of the parent element.
87
+ * - `end`(Default)&mdash;Uses the end point of the parent element.
88
+ */
89
+ horizontal: 'start' | 'end';
90
+ /**
91
+ * Defines the possible vertical alignment of the Badge.
92
+ *
93
+ * The available values are:
94
+ * - `top`(Default)&mdash;Uses the top point of the parent element.
95
+ * - `bottom`&mdash;Uses the bottom point of the parent element.
96
+ */
97
+ vertical: 'top' | 'bottom';
98
+ };
99
+ /**
100
+ * Specifies the position of the Badge relative to the edge of the container element.
101
+ *
102
+ * The possible values are:
103
+ * * `edge` (Default)&mdash;The center of the Badge is positioned on the edge of the container element.
104
+ * * `outside`&mdash;The Badge is entirely positioned outside the edge of the container element.
105
+ * * `inside`&mdash;The Badge is entirely positioned inside the edge of the the container element.
106
+ *
107
+ * @default `edge`
108
+ */
109
+ position?: 'edge' | 'outside' | 'inside' | string;
110
+ /**
111
+ * Specifies wether or not to render additional "cutout" border around the Badge.
112
+ *
113
+ * The possible values are:
114
+ * * `true`
115
+ * * `false` (Default)
116
+ *
117
+ */
118
+ cutoutBorder?: boolean;
119
+ }
120
+ /**
121
+ * Represents the props of the [Kendo UI for Vue Badge component]({% slug overview_badge %}).
122
+ */
123
+ export interface BadgeContainerProps extends BadgeProps {
124
+ /**
125
+ * Defines the custom rendering of the Badge content. Accepts a slot name, a `render` function, or a Vue Component.
126
+ */
127
+ content?: any;
128
+ }
129
+ /**
130
+ * Specifies the theme color of the Badge.
131
+ *
132
+ * The possible values are:
133
+ * * `primary` (Default)&mdash;Applies coloring based on primary theme color.
134
+ * * `secondary`&mdash;Applies coloring based on secondary theme color.
135
+ * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
136
+ * * `inherit`&mdash; Applies inherited coloring value.
137
+ * * `info`&mdash;Applies coloring based on info theme color.
138
+ * * `success`&mdash; Applies coloring based on success theme color.
139
+ * * `warning`&mdash; Applies coloring based on warning theme color.
140
+ * * `error`&mdash; Applies coloring based on error theme color.
141
+ * * `dark`&mdash; Applies coloring based on dark theme color.
142
+ * * `light`&mdash; Applies coloring based on light theme color.
143
+ * * `inverse`&mdash; Applies coloring based on inverse theme color.
144
+ *
145
+ */
146
+ export type BadgeThemeColor = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'inherit';
147
+ /**
148
+ * Specifies the size of the Badge.
149
+ *
150
+ * The possible values are:
151
+ * * `small`
152
+ * * `medium` (Default)
153
+ * * `large`
154
+ *
155
+ */
156
+ export type BadgeSize = 'small' | 'medium' | 'large';
157
+ /**
158
+ * Specifies the horizontal and vertical alignment of the Badge in a relation to the element.
159
+ */
160
+ export interface BadgeAlign {
161
+ /**
162
+ * Defines the possible horizontal alignment of the Badge.
163
+ *
164
+ * The available values are:
165
+ * - `start`&mdash;Uses the start point of the parent element.
166
+ * - `end`(Default)&mdash;Uses the end point of the parent element.
167
+ */
168
+ horizontal: 'start' | 'end';
169
+ /**
170
+ * Defines the possible vertical alignment of the Badge.
171
+ *
172
+ * The available values are:
173
+ * - `top`(Default)&mdash;Uses the top point of the parent element.
174
+ * - `bottom`&mdash;Uses the bottom point of the parent element.
175
+ */
176
+ vertical: 'top' | 'bottom';
177
+ }
178
+ /**
179
+ * Specifies the appearance fill style of the Badge.
180
+ *
181
+ * The possible values are:
182
+ * * `solid` (Default)
183
+ * * `outline`
184
+ *
185
+ */
186
+ export type BadgeFill = 'solid' | 'outline';
187
+ /**
188
+ * Specifies the position of the Badge relative to the edge of the container element.
189
+ *
190
+ * The possible values are:
191
+ * * `edge` (Default)&mdash;The center of the Badge is positioned on the edge of the container element.
192
+ * * `outside`&mdash;The Badge is entirely positioned outside the edge of the container element.
193
+ * * `inside`&mdash;The Badge is entirely positioned inside the edge of the the container element.
194
+ *
195
+ */
196
+ export type BadgePosition = 'edge' | 'outside' | 'inside';
@@ -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")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueIndicators={},e.Vue,e.KendoVueCommon)}(this,(function(e,t,r){"use strict";const n={name:"@progress/kendo-vue-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1636623080,version:"8.0.3-develop.2",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"},i=t.defineComponent({name:"KendoBadge",props:{dir:String,align:{type:Object,default:function(){return{vertical:"top",horizontal:"end"}}},size:{type:String,validator:function(e){return["small","medium","large"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","outline"].includes(e)}},themeColor:{type:String,validator:function(e){return["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"].includes(e)}},rounded:{type:String,validator:function(e){return["none","small","medium","large","full"].includes(e)}},position:{type:String,default:"edge",validator:function(e){return["edge","outside","inside"].includes(e)}},cutoutBorder:Boolean},created(){r.validatePackage(n),this.currentDir=void 0},mounted(){this.currentDir=r.getDir(this.$el,this.$props.dir)},computed:{badgeClasses(){const{size:e,fillMode:t,cutoutBorder:n,position:i,align:o,themeColor:a,rounded:s}=this.$props;return{"k-badge":!0,"k-badge-sm":"small"===e,"k-badge-md":"medium"===e,"k-badge-lg":"large"===e,[`k-badge-${t}`]:t,[`k-badge-${a}`]:a,[`k-rounded-${r.kendoThemeMaps.roundedMap[s]||s}`]:s,"k-badge-border-cutout":n,[`k-badge-${i}`]:i,"k-top-start":"top"===o.vertical&&"start"===o.horizontal,"k-top-end":"top"===o.vertical&&"end"===o.horizontal,"k-bottom-start":"bottom"===o.vertical&&"start"===o.horizontal,"k-bottom-end":"bottom"===o.vertical&&"end"===o.horizontal}}},render(){const e=r.getDefaultSlots(this);return t.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[e])},methods:{focusElement(){this.$el&&this.$el.focus()}}}),o=t.defineComponent({name:"KendoBadgeContainer",props:{dir:String,align:{type:Object,default:function(){return{vertical:"top",horizontal:"end"}}},size:{type:String,validator:function(e){return["none","small","medium","large"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","outline"].includes(e)}},themeColor:{type:String,default:"primary",validator:function(e){return["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"].includes(e)}},rounded:{type:String,validator:function(e){return[null,"small","medium","large","full"].includes(e)}},position:{type:String,default:"edge",validator:function(e){return["edge","outside","inside"].includes(e)}},cutoutBorder:Boolean,content:[String,Function,Object]},created(){r.validatePackage(n),this.currentDir=void 0},mounted(){this.currentDir=r.getDir(this.$el,this.$props.dir)},computed:{badgeContainerClasses:()=>({"k-badge-container":!0}),badgeClasses(){const{size:e,fillMode:t,cutoutBorder:n,position:i,align:o,themeColor:a,rounded:s}=this.$props;return{"k-badge":!0,"k-badge-sm":"small"===e,"k-badge-md":"medium"===e,"k-badge-lg":"large"===e,[`k-badge-${t}`]:t,[`k-badge-${t}-${a}`]:!(!t||!a),[`k-rounded-${r.kendoThemeMaps.roundedMap[s]||s}`]:s,"k-badge-border-cutout":n,[`k-badge-${i}`]:i,"k-top-start":"top"===o.vertical&&"start"===o.horizontal,"k-top-end":"top"===o.vertical&&"end"===o.horizontal,"k-bottom-start":"bottom"===o.vertical&&"start"===o.horizontal,"k-bottom-end":"bottom"===o.vertical&&"end"===o.horizontal}}},render(){const e=r.getDefaultSlots(this),n=r.templateRendering.call(this,this.content,r.getListeners.call(this)),i=r.getTemplate.call(this,{h:t.h,template:n,additionalProps:this.$props});return t.createVNode("span",{class:this.badgeContainerClasses,style:{display:"inline-block"},dir:this.currentDir},[e,t.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[i])])},methods:{focusElement(){this.$el&&this.$el.focus()}}}),a={pulsing:2,"infinite-spinner":3,"converging-spinner":4},s=t.defineComponent({name:"KendoLoader",props:{type:{type:String,default:"pulsing",validator:function(e){return["pulsing","infinite-spinner","converging-spinner"].includes(e)}},size:{type:String,validator:function(e){return["none","small","medium","large"].includes(e)}},themeColor:{type:String,default:"primary",validator:function(e){return["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"].includes(e)}}},created(){r.validatePackage(n)},computed:{loaderClasses(){const{type:e,size:t,themeColor:r}=this.$props;return{"k-loader":!0,"k-loader-sm":"small"===t,"k-loader-md":"medium"===t,"k-loader-lg":"large"===t,"k-loader-primary":"primary"===r,"k-loader-secondary":"secondary"===r,"k-loader-tertiary":"tertiary"===r,"k-loader-info":"info"===r,"k-loader-success":"success"===r,"k-loader-warning":"warning"===r,"k-loader-error":"error"===r,"k-loader-dark":"dark"===r,"k-loader-light":"light"===r,"k-loader-inverse":"inverse"===r,"k-loader-pulsing-2":"pulsing"===e,"k-loader-spinner-3":"infinite-spinner"===e,"k-loader-spinner-4":"converging-spinner"===e}}},render(){const{type:e}=this.$props,r=new Array(a[e]);return r.fill(0,0,a[e]),t.createVNode("div",{class:this.loaderClasses},[t.createVNode("div",{class:"k-loader-canvas"},[r.map((function(e,r){return t.createVNode("span",{key:r,class:"k-loader-segment"},null)}),this)])])},methods:{focus(e){this.$el&&this.$el.focus(e)}}}),d=t.defineComponent({name:"KendoSkeleton",props:{animation:{type:[Object,Boolean],default:function(){return{type:"pulse"}},validator:function(e){return!1===e||["wave","pulse"].includes(e.type)}},shape:{type:String,default:"text",validator:function(e){return["circle","rectangle","text"].includes(e)}},ariaBusy:{type:Boolean,default:void 0},role:{type:String,default:void 0}},created(){r.validatePackage(n)},computed:{skeletonClasses(){return{"k-skeleton":!0,"k-skeleton-circle":"circle"===this.shape,"k-skeleton-rect":"rectangle"===this.shape,"k-skeleton-text":"text"===this.shape,"k-skeleton-pulse":r.isObject(this.animation)&&"pulse"===this.animation.type,"k-skeleton-wave":r.isObject(this.animation)&&"wave"===this.animation.type||!0===this.animation}}},render(){return t.createVNode("span",{role:this.$props.role,class:this.skeletonClasses,"aria-busy":this.$props.ariaBusy},null)}});e.Badge=i,e.BadgeContainer=o,e.Loader=s,e.Skeleton=d}));
15
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueIndicators={},e.Vue,e.KendoVueCommon)}(this,function(e,t,r){"use strict";const n={name:"@progress/kendo-vue-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1636623080,version:"8.0.3-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"},i=t.defineComponent({name:"KendoBadge",props:{dir:String,align:{type:Object,default:function(){return{vertical:"top",horizontal:"end"}}},size:{type:String,validator:function(e){return["small","medium","large"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","outline"].includes(e)}},themeColor:{type:String,validator:function(e){return["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"].includes(e)}},rounded:{type:String,validator:function(e){return["none","small","medium","large","full"].includes(e)}},position:{type:String,default:"edge",validator:function(e){return["edge","outside","inside"].includes(e)}},cutoutBorder:Boolean},created(){r.validatePackage(n),this.currentDir=void 0},mounted(){this.currentDir=r.getDir(this.$el,this.$props.dir)},computed:{badgeClasses(){const{size:e,fillMode:t,cutoutBorder:n,position:i,align:o,themeColor:a,rounded:s}=this.$props;return{"k-badge":!0,"k-badge-sm":"small"===e,"k-badge-md":"medium"===e,"k-badge-lg":"large"===e,[`k-badge-${t}`]:t,[`k-badge-${a}`]:a,[`k-rounded-${r.kendoThemeMaps.roundedMap[s]||s}`]:s,"k-badge-border-cutout":n,[`k-badge-${i}`]:i,"k-top-start":"top"===o.vertical&&"start"===o.horizontal,"k-top-end":"top"===o.vertical&&"end"===o.horizontal,"k-bottom-start":"bottom"===o.vertical&&"start"===o.horizontal,"k-bottom-end":"bottom"===o.vertical&&"end"===o.horizontal}}},render(){const e=r.getDefaultSlots(this);return t.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[e])},methods:{focusElement(){this.$el&&this.$el.focus()}}}),o=t.defineComponent({name:"KendoBadgeContainer",props:{dir:String,align:{type:Object,default:function(){return{vertical:"top",horizontal:"end"}}},size:{type:String,validator:function(e){return["none","small","medium","large"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","outline"].includes(e)}},themeColor:{type:String,default:"primary",validator:function(e){return["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"].includes(e)}},rounded:{type:String,validator:function(e){return[null,"small","medium","large","full"].includes(e)}},position:{type:String,default:"edge",validator:function(e){return["edge","outside","inside"].includes(e)}},cutoutBorder:Boolean,content:[String,Function,Object]},created(){r.validatePackage(n),this.currentDir=void 0},mounted(){this.currentDir=r.getDir(this.$el,this.$props.dir)},computed:{badgeContainerClasses:()=>({"k-badge-container":!0}),badgeClasses(){const{size:e,fillMode:t,cutoutBorder:n,position:i,align:o,themeColor:a,rounded:s}=this.$props;return{"k-badge":!0,"k-badge-sm":"small"===e,"k-badge-md":"medium"===e,"k-badge-lg":"large"===e,[`k-badge-${t}`]:t,[`k-badge-${t}-${a}`]:!(!t||!a),[`k-rounded-${r.kendoThemeMaps.roundedMap[s]||s}`]:s,"k-badge-border-cutout":n,[`k-badge-${i}`]:i,"k-top-start":"top"===o.vertical&&"start"===o.horizontal,"k-top-end":"top"===o.vertical&&"end"===o.horizontal,"k-bottom-start":"bottom"===o.vertical&&"start"===o.horizontal,"k-bottom-end":"bottom"===o.vertical&&"end"===o.horizontal}}},render(){const e=r.getDefaultSlots(this),n=r.templateRendering.call(this,this.content,r.getListeners.call(this)),i=r.getTemplate.call(this,{h:t.h,template:n,additionalProps:this.$props});return t.createVNode("span",{class:this.badgeContainerClasses,style:{display:"inline-block"},dir:this.currentDir},[e,t.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[i])])},methods:{focusElement(){this.$el&&this.$el.focus()}}}),a={pulsing:2,"infinite-spinner":3,"converging-spinner":4},s=t.defineComponent({name:"KendoLoader",props:{type:{type:String,default:"pulsing",validator:function(e){return["pulsing","infinite-spinner","converging-spinner"].includes(e)}},size:{type:String,validator:function(e){return["none","small","medium","large"].includes(e)}},themeColor:{type:String,default:"primary",validator:function(e){return["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"].includes(e)}}},created(){r.validatePackage(n)},computed:{loaderClasses(){const{type:e,size:t,themeColor:r}=this.$props;return{"k-loader":!0,"k-loader-sm":"small"===t,"k-loader-md":"medium"===t,"k-loader-lg":"large"===t,"k-loader-primary":"primary"===r,"k-loader-secondary":"secondary"===r,"k-loader-tertiary":"tertiary"===r,"k-loader-info":"info"===r,"k-loader-success":"success"===r,"k-loader-warning":"warning"===r,"k-loader-error":"error"===r,"k-loader-dark":"dark"===r,"k-loader-light":"light"===r,"k-loader-inverse":"inverse"===r,"k-loader-pulsing-2":"pulsing"===e,"k-loader-spinner-3":"infinite-spinner"===e,"k-loader-spinner-4":"converging-spinner"===e}}},render(){const{type:e}=this.$props,r=new Array(a[e]);return r.fill(0,0,a[e]),t.createVNode("div",{class:this.loaderClasses},[t.createVNode("div",{class:"k-loader-canvas"},[r.map(function(e,r){return t.createVNode("span",{key:r,class:"k-loader-segment"},null)},this)])])},methods:{focus(e){this.$el&&this.$el.focus(e)}}}),d=t.defineComponent({name:"KendoSkeleton",props:{animation:{type:[Object,Boolean],default:function(){return{type:"pulse"}},validator:function(e){return!1===e||["wave","pulse"].includes(e.type)}},shape:{type:String,default:"text",validator:function(e){return["circle","rectangle","text"].includes(e)}},ariaBusy:{type:Boolean,default:void 0},role:{type:String,default:void 0}},created(){r.validatePackage(n)},computed:{skeletonClasses(){return{"k-skeleton":!0,"k-skeleton-circle":"circle"===this.shape,"k-skeleton-rect":"rectangle"===this.shape,"k-skeleton-text":"text"===this.shape,"k-skeleton-pulse":r.isObject(this.animation)&&"pulse"===this.animation.type,"k-skeleton-wave":r.isObject(this.animation)&&"wave"===this.animation.type||!0===this.animation}}},render(){return t.createVNode("span",{role:this.$props.role,class:this.skeletonClasses,"aria-busy":this.$props.ariaBusy},null)}});e.Badge=i,e.BadgeContainer=o,e.Loader=s,e.Skeleton=d});