@progress/kendo-vue-indicators 7.1.0-develop.6 → 7.1.0-develop.7
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/badge/Badge.js +1 -1
- package/badge/Badge.mjs +14 -18
- package/badge/BadgeContainer.js +1 -1
- package/badge/BadgeContainer.mjs +29 -32
- package/dist/cdn/js/kendo-vue-indicators.js +1 -1
- package/index.d.mts +50 -77
- package/index.d.ts +50 -77
- package/loader/Loader.js +1 -1
- package/loader/Loader.mjs +5 -6
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +3 -3
package/badge/Badge.js
CHANGED
|
@@ -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 d=require("vue"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("vue"),r=require("@progress/kendo-vue-common"),s=require("../package-metadata.js"),u=d.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(s.packageMetadata),this.currentDir=void 0},mounted(){this.currentDir=r.getDir(this.$el,this.$props.dir)},computed:{badgeClasses(){const{size:e,fillMode:n,cutoutBorder:l,position:i,align:t,themeColor:a,rounded:o}=this.$props;return{"k-badge":!0,"k-badge-sm":e==="small","k-badge-md":e==="medium","k-badge-lg":e==="large",[`k-badge-${n}`]:n,[`k-badge-${a}`]:a,[`k-rounded-${r.kendoThemeMaps.roundedMap[o]||o}`]:o,"k-badge-border-cutout":l,[`k-badge-${i}`]:i,"k-top-start":t.vertical==="top"&&t.horizontal==="start","k-top-end":t.vertical==="top"&&t.horizontal==="end","k-bottom-start":t.vertical==="bottom"&&t.horizontal==="start","k-bottom-end":t.vertical==="bottom"&&t.horizontal==="end"}}},render(){const e=r.getDefaultSlots(this);return d.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[e])},methods:{focusElement(){this.$el&&this.$el.focus()}}});exports.Badge=u;
|
package/badge/Badge.mjs
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { getDefaultSlots as s, kendoThemeMaps as u, getDir as c, validatePackage as
|
|
10
|
-
import { packageMetadata as
|
|
11
|
-
const k = /* @__PURE__ */
|
|
8
|
+
import { defineComponent as d, createVNode as l } from "vue";
|
|
9
|
+
import { getDefaultSlots as s, kendoThemeMaps as u, getDir as c, validatePackage as g } from "@progress/kendo-vue-common";
|
|
10
|
+
import { packageMetadata as m } from "../package-metadata.mjs";
|
|
11
|
+
const k = /* @__PURE__ */ d({
|
|
12
12
|
name: "KendoBadge",
|
|
13
13
|
props: {
|
|
14
14
|
dir: String,
|
|
@@ -23,30 +23,26 @@ const k = /* @__PURE__ */ n({
|
|
|
23
23
|
},
|
|
24
24
|
size: {
|
|
25
25
|
type: String,
|
|
26
|
-
default: "medium",
|
|
27
26
|
validator: function(e) {
|
|
28
27
|
return ["small", "medium", "large"].includes(e);
|
|
29
28
|
}
|
|
30
29
|
},
|
|
31
30
|
fillMode: {
|
|
32
31
|
type: String,
|
|
33
|
-
default: "solid",
|
|
34
32
|
validator: function(e) {
|
|
35
33
|
return ["solid", "outline"].includes(e);
|
|
36
34
|
}
|
|
37
35
|
},
|
|
38
36
|
themeColor: {
|
|
39
37
|
type: String,
|
|
40
|
-
default: "primary",
|
|
41
38
|
validator: function(e) {
|
|
42
39
|
return ["primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse"].includes(e);
|
|
43
40
|
}
|
|
44
41
|
},
|
|
45
42
|
rounded: {
|
|
46
43
|
type: String,
|
|
47
|
-
default: "medium",
|
|
48
44
|
validator: function(e) {
|
|
49
|
-
return [
|
|
45
|
+
return ["none", "small", "medium", "large", "full"].includes(e);
|
|
50
46
|
}
|
|
51
47
|
},
|
|
52
48
|
position: {
|
|
@@ -59,7 +55,7 @@ const k = /* @__PURE__ */ n({
|
|
|
59
55
|
cutoutBorder: Boolean
|
|
60
56
|
},
|
|
61
57
|
created() {
|
|
62
|
-
m
|
|
58
|
+
g(m), this.currentDir = void 0;
|
|
63
59
|
},
|
|
64
60
|
mounted() {
|
|
65
61
|
this.currentDir = c(this.$el, this.$props.dir);
|
|
@@ -68,22 +64,22 @@ const k = /* @__PURE__ */ n({
|
|
|
68
64
|
badgeClasses() {
|
|
69
65
|
const {
|
|
70
66
|
size: e,
|
|
71
|
-
fillMode:
|
|
72
|
-
cutoutBorder:
|
|
67
|
+
fillMode: o,
|
|
68
|
+
cutoutBorder: a,
|
|
73
69
|
position: i,
|
|
74
70
|
align: t,
|
|
75
|
-
themeColor:
|
|
76
|
-
rounded:
|
|
71
|
+
themeColor: n,
|
|
72
|
+
rounded: r
|
|
77
73
|
} = this.$props;
|
|
78
74
|
return {
|
|
79
75
|
"k-badge": !0,
|
|
80
76
|
"k-badge-sm": e === "small",
|
|
81
77
|
"k-badge-md": e === "medium",
|
|
82
78
|
"k-badge-lg": e === "large",
|
|
83
|
-
[`k-badge-${
|
|
84
|
-
[`k-badge-${
|
|
85
|
-
[`k-rounded-${u.roundedMap[
|
|
86
|
-
"k-badge-border-cutout":
|
|
79
|
+
[`k-badge-${o}`]: o,
|
|
80
|
+
[`k-badge-${n}`]: n,
|
|
81
|
+
[`k-rounded-${u.roundedMap[r] || r}`]: r,
|
|
82
|
+
"k-badge-border-cutout": a,
|
|
87
83
|
[`k-badge-${i}`]: i,
|
|
88
84
|
"k-top-start": t.vertical === "top" && t.horizontal === "start",
|
|
89
85
|
"k-top-end": t.vertical === "top" && t.horizontal === "end",
|
package/badge/BadgeContainer.js
CHANGED
|
@@ -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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("@progress/kendo-vue-common"),l=require("../package-metadata.js"),u=o.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(){n.validatePackage(l.packageMetadata),this.currentDir=void 0},mounted(){this.currentDir=n.getDir(this.$el,this.$props.dir)},computed:{badgeContainerClasses(){return{"k-badge-container":!0}},badgeClasses(){const{size:e,fillMode:r,cutoutBorder:i,position:d,align:t,themeColor:s,rounded:a}=this.$props;return{"k-badge":!0,"k-badge-sm":e==="small","k-badge-md":e==="medium","k-badge-lg":e==="large",[`k-badge-${r}`]:r,[`k-badge-${r}-${s}`]:!!(r&&s),[`k-rounded-${n.kendoThemeMaps.roundedMap[a]||a}`]:a,"k-badge-border-cutout":i,[`k-badge-${d}`]:d,"k-top-start":t.vertical==="top"&&t.horizontal==="start","k-top-end":t.vertical==="top"&&t.horizontal==="end","k-bottom-start":t.vertical==="bottom"&&t.horizontal==="start","k-bottom-end":t.vertical==="bottom"&&t.horizontal==="end"}}},render(){const e=n.getDefaultSlots(this),r=n.templateRendering.call(this,this.content,n.getListeners.call(this)),i=n.getTemplate.call(this,{h:o.h,template:r,additionalProps:this.$props});return o.createVNode("span",{class:this.badgeContainerClasses,style:{display:"inline-block"},dir:this.currentDir},[e,o.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[i])])},methods:{focusElement(){this.$el&&this.$el.focus()}}});exports.BadgeContainer=u;
|
package/badge/BadgeContainer.mjs
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { getDefaultSlots as u, templateRendering as c, getListeners as
|
|
8
|
+
import { defineComponent as d, h as s, createVNode as l } from "vue";
|
|
9
|
+
import { getDefaultSlots as u, templateRendering as c, getListeners as g, getTemplate as p, kendoThemeMaps as m, getDir as h, validatePackage as f } from "@progress/kendo-vue-common";
|
|
10
10
|
import { packageMetadata as b } from "../package-metadata.mjs";
|
|
11
|
-
const C = /* @__PURE__ */
|
|
11
|
+
const C = /* @__PURE__ */ d({
|
|
12
12
|
name: "KendoBadgeContainer",
|
|
13
13
|
props: {
|
|
14
14
|
dir: String,
|
|
@@ -23,37 +23,34 @@ const C = /* @__PURE__ */ l({
|
|
|
23
23
|
},
|
|
24
24
|
size: {
|
|
25
25
|
type: String,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return ["small", "medium", "large"].includes(e);
|
|
26
|
+
validator: function(t) {
|
|
27
|
+
return ["none", "small", "medium", "large"].includes(t);
|
|
29
28
|
}
|
|
30
29
|
},
|
|
31
30
|
fillMode: {
|
|
32
31
|
type: String,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return ["solid", "outline"].includes(e);
|
|
32
|
+
validator: function(t) {
|
|
33
|
+
return ["solid", "outline"].includes(t);
|
|
36
34
|
}
|
|
37
35
|
},
|
|
38
36
|
themeColor: {
|
|
39
37
|
type: String,
|
|
40
38
|
default: "primary",
|
|
41
|
-
validator: function(
|
|
42
|
-
return ["primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse"].includes(
|
|
39
|
+
validator: function(t) {
|
|
40
|
+
return ["primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse"].includes(t);
|
|
43
41
|
}
|
|
44
42
|
},
|
|
45
43
|
rounded: {
|
|
46
44
|
type: String,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return [null, "small", "medium", "large", "full"].includes(e);
|
|
45
|
+
validator: function(t) {
|
|
46
|
+
return [null, "small", "medium", "large", "full"].includes(t);
|
|
50
47
|
}
|
|
51
48
|
},
|
|
52
49
|
position: {
|
|
53
50
|
type: String,
|
|
54
51
|
default: "edge",
|
|
55
|
-
validator: function(
|
|
56
|
-
return ["edge", "outside", "inside"].includes(
|
|
52
|
+
validator: function(t) {
|
|
53
|
+
return ["edge", "outside", "inside"].includes(t);
|
|
57
54
|
}
|
|
58
55
|
},
|
|
59
56
|
cutoutBorder: Boolean,
|
|
@@ -73,44 +70,44 @@ const C = /* @__PURE__ */ l({
|
|
|
73
70
|
},
|
|
74
71
|
badgeClasses() {
|
|
75
72
|
const {
|
|
76
|
-
size:
|
|
73
|
+
size: t,
|
|
77
74
|
fillMode: r,
|
|
78
75
|
cutoutBorder: n,
|
|
79
|
-
position:
|
|
80
|
-
align:
|
|
76
|
+
position: i,
|
|
77
|
+
align: e,
|
|
81
78
|
themeColor: a,
|
|
82
|
-
rounded:
|
|
79
|
+
rounded: o
|
|
83
80
|
} = this.$props;
|
|
84
81
|
return {
|
|
85
82
|
"k-badge": !0,
|
|
86
|
-
"k-badge-sm":
|
|
87
|
-
"k-badge-md":
|
|
88
|
-
"k-badge-lg":
|
|
83
|
+
"k-badge-sm": t === "small",
|
|
84
|
+
"k-badge-md": t === "medium",
|
|
85
|
+
"k-badge-lg": t === "large",
|
|
89
86
|
[`k-badge-${r}`]: r,
|
|
90
87
|
[`k-badge-${r}-${a}`]: !!(r && a),
|
|
91
|
-
[`k-rounded-${
|
|
88
|
+
[`k-rounded-${m.roundedMap[o] || o}`]: o,
|
|
92
89
|
"k-badge-border-cutout": n,
|
|
93
|
-
[`k-badge-${
|
|
94
|
-
"k-top-start":
|
|
95
|
-
"k-top-end":
|
|
96
|
-
"k-bottom-start":
|
|
97
|
-
"k-bottom-end":
|
|
90
|
+
[`k-badge-${i}`]: i,
|
|
91
|
+
"k-top-start": e.vertical === "top" && e.horizontal === "start",
|
|
92
|
+
"k-top-end": e.vertical === "top" && e.horizontal === "end",
|
|
93
|
+
"k-bottom-start": e.vertical === "bottom" && e.horizontal === "start",
|
|
94
|
+
"k-bottom-end": e.vertical === "bottom" && e.horizontal === "end"
|
|
98
95
|
};
|
|
99
96
|
}
|
|
100
97
|
},
|
|
101
98
|
render() {
|
|
102
|
-
const
|
|
99
|
+
const t = u(this), r = c.call(this, this.content, g.call(this)), n = p.call(this, {
|
|
103
100
|
h: s,
|
|
104
101
|
template: r,
|
|
105
102
|
additionalProps: this.$props
|
|
106
103
|
});
|
|
107
|
-
return
|
|
104
|
+
return l("span", {
|
|
108
105
|
class: this.badgeContainerClasses,
|
|
109
106
|
style: {
|
|
110
107
|
display: "inline-block"
|
|
111
108
|
},
|
|
112
109
|
dir: this.currentDir
|
|
113
|
-
}, [
|
|
110
|
+
}, [t, l("span", {
|
|
114
111
|
class: this.badgeClasses,
|
|
115
112
|
dir: this.currentDir
|
|
116
113
|
}, [n])]);
|
|
@@ -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:"7.1.0-develop.
|
|
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:"7.1.0-develop.7",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}));
|
package/index.d.mts
CHANGED
|
@@ -29,23 +29,19 @@ default: () => BadgeAlign;
|
|
|
29
29
|
};
|
|
30
30
|
size: {
|
|
31
31
|
type: PropType<"small" | "medium" | "large">;
|
|
32
|
-
|
|
33
|
-
validator: (value: string) => any;
|
|
32
|
+
validator: (value: string) => boolean;
|
|
34
33
|
};
|
|
35
34
|
fillMode: {
|
|
36
|
-
type: PropType<
|
|
37
|
-
|
|
38
|
-
validator: (value: string) => any;
|
|
35
|
+
type: PropType<"solid" | "outline">;
|
|
36
|
+
validator: (value: string) => boolean;
|
|
39
37
|
};
|
|
40
38
|
themeColor: {
|
|
41
|
-
type: PropType<
|
|
42
|
-
|
|
43
|
-
validator: (value: string) => any;
|
|
39
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
40
|
+
validator: (value: string) => boolean;
|
|
44
41
|
};
|
|
45
42
|
rounded: {
|
|
46
|
-
type: PropType<
|
|
47
|
-
|
|
48
|
-
validator: (value: string) => any;
|
|
43
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
44
|
+
validator: (value: string) => boolean;
|
|
49
45
|
};
|
|
50
46
|
position: {
|
|
51
47
|
type: PropType<string>;
|
|
@@ -76,23 +72,19 @@ default: () => BadgeAlign;
|
|
|
76
72
|
};
|
|
77
73
|
size: {
|
|
78
74
|
type: PropType<"small" | "medium" | "large">;
|
|
79
|
-
|
|
80
|
-
validator: (value: string) => any;
|
|
75
|
+
validator: (value: string) => boolean;
|
|
81
76
|
};
|
|
82
77
|
fillMode: {
|
|
83
|
-
type: PropType<
|
|
84
|
-
|
|
85
|
-
validator: (value: string) => any;
|
|
78
|
+
type: PropType<"solid" | "outline">;
|
|
79
|
+
validator: (value: string) => boolean;
|
|
86
80
|
};
|
|
87
81
|
themeColor: {
|
|
88
|
-
type: PropType<
|
|
89
|
-
|
|
90
|
-
validator: (value: string) => any;
|
|
82
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
83
|
+
validator: (value: string) => boolean;
|
|
91
84
|
};
|
|
92
85
|
rounded: {
|
|
93
|
-
type: PropType<
|
|
94
|
-
|
|
95
|
-
validator: (value: string) => any;
|
|
86
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
87
|
+
validator: (value: string) => boolean;
|
|
96
88
|
};
|
|
97
89
|
position: {
|
|
98
90
|
type: PropType<string>;
|
|
@@ -101,10 +93,6 @@ validator: (value: string) => any;
|
|
|
101
93
|
};
|
|
102
94
|
cutoutBorder: PropType<boolean>;
|
|
103
95
|
}>> & Readonly<{}>, {
|
|
104
|
-
themeColor: string;
|
|
105
|
-
size: "small" | "medium" | "large";
|
|
106
|
-
rounded: string;
|
|
107
|
-
fillMode: string;
|
|
108
96
|
position: string;
|
|
109
97
|
align: BadgeAlign;
|
|
110
98
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -147,28 +135,25 @@ default: () => BadgeAlign;
|
|
|
147
135
|
};
|
|
148
136
|
size: {
|
|
149
137
|
type: PropType<"small" | "medium" | "large">;
|
|
150
|
-
|
|
151
|
-
validator: (value: string) => any;
|
|
138
|
+
validator: (value: string) => boolean;
|
|
152
139
|
};
|
|
153
140
|
fillMode: {
|
|
154
|
-
type: PropType<
|
|
155
|
-
|
|
156
|
-
validator: (value: string) => any;
|
|
141
|
+
type: PropType<"solid" | "outline">;
|
|
142
|
+
validator: (value: string) => boolean;
|
|
157
143
|
};
|
|
158
144
|
themeColor: {
|
|
159
|
-
type: PropType<
|
|
145
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
160
146
|
default: string;
|
|
161
|
-
validator: (value: string) =>
|
|
147
|
+
validator: (value: string) => boolean;
|
|
162
148
|
};
|
|
163
149
|
rounded: {
|
|
164
|
-
type: PropType<
|
|
165
|
-
|
|
166
|
-
validator: (value: string) => any;
|
|
150
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
151
|
+
validator: (value: string) => boolean;
|
|
167
152
|
};
|
|
168
153
|
position: {
|
|
169
154
|
type: PropType<string>;
|
|
170
155
|
default: string;
|
|
171
|
-
validator: (value: string) =>
|
|
156
|
+
validator: (value: string) => boolean;
|
|
172
157
|
};
|
|
173
158
|
cutoutBorder: PropType<boolean>;
|
|
174
159
|
content: PropType<any>;
|
|
@@ -198,36 +183,30 @@ default: () => BadgeAlign;
|
|
|
198
183
|
};
|
|
199
184
|
size: {
|
|
200
185
|
type: PropType<"small" | "medium" | "large">;
|
|
201
|
-
|
|
202
|
-
validator: (value: string) => any;
|
|
186
|
+
validator: (value: string) => boolean;
|
|
203
187
|
};
|
|
204
188
|
fillMode: {
|
|
205
|
-
type: PropType<
|
|
206
|
-
|
|
207
|
-
validator: (value: string) => any;
|
|
189
|
+
type: PropType<"solid" | "outline">;
|
|
190
|
+
validator: (value: string) => boolean;
|
|
208
191
|
};
|
|
209
192
|
themeColor: {
|
|
210
|
-
type: PropType<
|
|
193
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
211
194
|
default: string;
|
|
212
|
-
validator: (value: string) =>
|
|
195
|
+
validator: (value: string) => boolean;
|
|
213
196
|
};
|
|
214
197
|
rounded: {
|
|
215
|
-
type: PropType<
|
|
216
|
-
|
|
217
|
-
validator: (value: string) => any;
|
|
198
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
199
|
+
validator: (value: string) => boolean;
|
|
218
200
|
};
|
|
219
201
|
position: {
|
|
220
202
|
type: PropType<string>;
|
|
221
203
|
default: string;
|
|
222
|
-
validator: (value: string) =>
|
|
204
|
+
validator: (value: string) => boolean;
|
|
223
205
|
};
|
|
224
206
|
cutoutBorder: PropType<boolean>;
|
|
225
207
|
content: PropType<any>;
|
|
226
208
|
}>> & Readonly<{}>, {
|
|
227
|
-
themeColor:
|
|
228
|
-
size: "small" | "medium" | "large";
|
|
229
|
-
rounded: string;
|
|
230
|
-
fillMode: string;
|
|
209
|
+
themeColor: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit";
|
|
231
210
|
position: string;
|
|
232
211
|
align: BadgeAlign;
|
|
233
212
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -276,42 +255,40 @@ export declare interface BadgeProps {
|
|
|
276
255
|
*
|
|
277
256
|
* The possible values are:
|
|
278
257
|
* * `small`
|
|
279
|
-
* * `medium`
|
|
258
|
+
* * `medium`
|
|
280
259
|
* * `large`
|
|
281
|
-
* * null—Does not set a size `className`
|
|
282
260
|
*
|
|
283
|
-
* @default `
|
|
261
|
+
* @default `undefined`
|
|
284
262
|
*/
|
|
285
|
-
size?:
|
|
263
|
+
size?: 'small' | 'medium' | 'large';
|
|
286
264
|
/**
|
|
287
265
|
* Specifies the roundness of the Badge.
|
|
288
266
|
*
|
|
289
267
|
* The possible values are:
|
|
268
|
+
* - none
|
|
290
269
|
* - small
|
|
291
|
-
* - medium
|
|
270
|
+
* - medium
|
|
292
271
|
* - large
|
|
293
272
|
* - full
|
|
294
|
-
* - null—Does not set a rounded `className`
|
|
295
273
|
*
|
|
296
|
-
* @default `
|
|
274
|
+
* @default `undefined`
|
|
297
275
|
*/
|
|
298
|
-
rounded?:
|
|
276
|
+
rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
|
|
299
277
|
/**
|
|
300
278
|
* Specifies the appearance fill style of the Badge.
|
|
301
279
|
*
|
|
302
280
|
* The possible values are:
|
|
303
|
-
* * `solid`
|
|
281
|
+
* * `solid`
|
|
304
282
|
* * `outline`
|
|
305
|
-
* * null—Does not set a fillMode `className`
|
|
306
283
|
*
|
|
307
|
-
* @default `
|
|
284
|
+
* @default `undefined`
|
|
308
285
|
*/
|
|
309
|
-
fillMode?:
|
|
286
|
+
fillMode?: 'solid' | 'outline';
|
|
310
287
|
/**
|
|
311
288
|
* Specifies the theme color of the Badge.
|
|
312
289
|
*
|
|
313
290
|
* The possible values are:
|
|
314
|
-
* * `primary
|
|
291
|
+
* * `primary`—Applies coloring based on primary theme color.
|
|
315
292
|
* * `secondary`—Applies coloring based on secondary theme color.
|
|
316
293
|
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
317
294
|
* * `inherit`— Applies inherited coloring value.
|
|
@@ -322,11 +299,10 @@ export declare interface BadgeProps {
|
|
|
322
299
|
* * `dark`— Applies coloring based on dark theme color.
|
|
323
300
|
* * `light`— Applies coloring based on light theme color.
|
|
324
301
|
* * `inverse`— Applies coloring based on inverse theme color.
|
|
325
|
-
* * null—Does not set a themeColor `className`.
|
|
326
302
|
*
|
|
327
|
-
* @default `
|
|
303
|
+
* @default `undefined`
|
|
328
304
|
*/
|
|
329
|
-
themeColor?:
|
|
305
|
+
themeColor?: 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'inherit';
|
|
330
306
|
/**
|
|
331
307
|
* Specifies the alignment of the Badge.
|
|
332
308
|
*
|
|
@@ -416,17 +392,16 @@ export declare const Loader: DefineComponent<ExtractPropTypes< {
|
|
|
416
392
|
type: {
|
|
417
393
|
type: PropType<string>;
|
|
418
394
|
default: string;
|
|
419
|
-
validator: (value: string) =>
|
|
395
|
+
validator: (value: string) => boolean;
|
|
420
396
|
};
|
|
421
397
|
size: {
|
|
422
398
|
type: PropType<string>;
|
|
423
|
-
|
|
424
|
-
validator: (value: string) => any;
|
|
399
|
+
validator: (value: string) => boolean;
|
|
425
400
|
};
|
|
426
401
|
themeColor: {
|
|
427
402
|
type: PropType<string>;
|
|
428
403
|
default: string;
|
|
429
|
-
validator: (value: string) =>
|
|
404
|
+
validator: (value: string) => boolean;
|
|
430
405
|
};
|
|
431
406
|
}>, {}, {}, {
|
|
432
407
|
loaderClasses(): {
|
|
@@ -454,22 +429,20 @@ focus(e: any): void;
|
|
|
454
429
|
type: {
|
|
455
430
|
type: PropType<string>;
|
|
456
431
|
default: string;
|
|
457
|
-
validator: (value: string) =>
|
|
432
|
+
validator: (value: string) => boolean;
|
|
458
433
|
};
|
|
459
434
|
size: {
|
|
460
435
|
type: PropType<string>;
|
|
461
|
-
|
|
462
|
-
validator: (value: string) => any;
|
|
436
|
+
validator: (value: string) => boolean;
|
|
463
437
|
};
|
|
464
438
|
themeColor: {
|
|
465
439
|
type: PropType<string>;
|
|
466
440
|
default: string;
|
|
467
|
-
validator: (value: string) =>
|
|
441
|
+
validator: (value: string) => boolean;
|
|
468
442
|
};
|
|
469
443
|
}>> & Readonly<{}>, {
|
|
470
444
|
type: string;
|
|
471
445
|
themeColor: string;
|
|
472
|
-
size: string;
|
|
473
446
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
474
447
|
|
|
475
448
|
/**
|
package/index.d.ts
CHANGED
|
@@ -29,23 +29,19 @@ default: () => BadgeAlign;
|
|
|
29
29
|
};
|
|
30
30
|
size: {
|
|
31
31
|
type: PropType<"small" | "medium" | "large">;
|
|
32
|
-
|
|
33
|
-
validator: (value: string) => any;
|
|
32
|
+
validator: (value: string) => boolean;
|
|
34
33
|
};
|
|
35
34
|
fillMode: {
|
|
36
|
-
type: PropType<
|
|
37
|
-
|
|
38
|
-
validator: (value: string) => any;
|
|
35
|
+
type: PropType<"solid" | "outline">;
|
|
36
|
+
validator: (value: string) => boolean;
|
|
39
37
|
};
|
|
40
38
|
themeColor: {
|
|
41
|
-
type: PropType<
|
|
42
|
-
|
|
43
|
-
validator: (value: string) => any;
|
|
39
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
40
|
+
validator: (value: string) => boolean;
|
|
44
41
|
};
|
|
45
42
|
rounded: {
|
|
46
|
-
type: PropType<
|
|
47
|
-
|
|
48
|
-
validator: (value: string) => any;
|
|
43
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
44
|
+
validator: (value: string) => boolean;
|
|
49
45
|
};
|
|
50
46
|
position: {
|
|
51
47
|
type: PropType<string>;
|
|
@@ -76,23 +72,19 @@ default: () => BadgeAlign;
|
|
|
76
72
|
};
|
|
77
73
|
size: {
|
|
78
74
|
type: PropType<"small" | "medium" | "large">;
|
|
79
|
-
|
|
80
|
-
validator: (value: string) => any;
|
|
75
|
+
validator: (value: string) => boolean;
|
|
81
76
|
};
|
|
82
77
|
fillMode: {
|
|
83
|
-
type: PropType<
|
|
84
|
-
|
|
85
|
-
validator: (value: string) => any;
|
|
78
|
+
type: PropType<"solid" | "outline">;
|
|
79
|
+
validator: (value: string) => boolean;
|
|
86
80
|
};
|
|
87
81
|
themeColor: {
|
|
88
|
-
type: PropType<
|
|
89
|
-
|
|
90
|
-
validator: (value: string) => any;
|
|
82
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
83
|
+
validator: (value: string) => boolean;
|
|
91
84
|
};
|
|
92
85
|
rounded: {
|
|
93
|
-
type: PropType<
|
|
94
|
-
|
|
95
|
-
validator: (value: string) => any;
|
|
86
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
87
|
+
validator: (value: string) => boolean;
|
|
96
88
|
};
|
|
97
89
|
position: {
|
|
98
90
|
type: PropType<string>;
|
|
@@ -101,10 +93,6 @@ validator: (value: string) => any;
|
|
|
101
93
|
};
|
|
102
94
|
cutoutBorder: PropType<boolean>;
|
|
103
95
|
}>> & Readonly<{}>, {
|
|
104
|
-
themeColor: string;
|
|
105
|
-
size: "small" | "medium" | "large";
|
|
106
|
-
rounded: string;
|
|
107
|
-
fillMode: string;
|
|
108
96
|
position: string;
|
|
109
97
|
align: BadgeAlign;
|
|
110
98
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -147,28 +135,25 @@ default: () => BadgeAlign;
|
|
|
147
135
|
};
|
|
148
136
|
size: {
|
|
149
137
|
type: PropType<"small" | "medium" | "large">;
|
|
150
|
-
|
|
151
|
-
validator: (value: string) => any;
|
|
138
|
+
validator: (value: string) => boolean;
|
|
152
139
|
};
|
|
153
140
|
fillMode: {
|
|
154
|
-
type: PropType<
|
|
155
|
-
|
|
156
|
-
validator: (value: string) => any;
|
|
141
|
+
type: PropType<"solid" | "outline">;
|
|
142
|
+
validator: (value: string) => boolean;
|
|
157
143
|
};
|
|
158
144
|
themeColor: {
|
|
159
|
-
type: PropType<
|
|
145
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
160
146
|
default: string;
|
|
161
|
-
validator: (value: string) =>
|
|
147
|
+
validator: (value: string) => boolean;
|
|
162
148
|
};
|
|
163
149
|
rounded: {
|
|
164
|
-
type: PropType<
|
|
165
|
-
|
|
166
|
-
validator: (value: string) => any;
|
|
150
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
151
|
+
validator: (value: string) => boolean;
|
|
167
152
|
};
|
|
168
153
|
position: {
|
|
169
154
|
type: PropType<string>;
|
|
170
155
|
default: string;
|
|
171
|
-
validator: (value: string) =>
|
|
156
|
+
validator: (value: string) => boolean;
|
|
172
157
|
};
|
|
173
158
|
cutoutBorder: PropType<boolean>;
|
|
174
159
|
content: PropType<any>;
|
|
@@ -198,36 +183,30 @@ default: () => BadgeAlign;
|
|
|
198
183
|
};
|
|
199
184
|
size: {
|
|
200
185
|
type: PropType<"small" | "medium" | "large">;
|
|
201
|
-
|
|
202
|
-
validator: (value: string) => any;
|
|
186
|
+
validator: (value: string) => boolean;
|
|
203
187
|
};
|
|
204
188
|
fillMode: {
|
|
205
|
-
type: PropType<
|
|
206
|
-
|
|
207
|
-
validator: (value: string) => any;
|
|
189
|
+
type: PropType<"solid" | "outline">;
|
|
190
|
+
validator: (value: string) => boolean;
|
|
208
191
|
};
|
|
209
192
|
themeColor: {
|
|
210
|
-
type: PropType<
|
|
193
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit">;
|
|
211
194
|
default: string;
|
|
212
|
-
validator: (value: string) =>
|
|
195
|
+
validator: (value: string) => boolean;
|
|
213
196
|
};
|
|
214
197
|
rounded: {
|
|
215
|
-
type: PropType<
|
|
216
|
-
|
|
217
|
-
validator: (value: string) => any;
|
|
198
|
+
type: PropType<"small" | "medium" | "large" | "none" | "full">;
|
|
199
|
+
validator: (value: string) => boolean;
|
|
218
200
|
};
|
|
219
201
|
position: {
|
|
220
202
|
type: PropType<string>;
|
|
221
203
|
default: string;
|
|
222
|
-
validator: (value: string) =>
|
|
204
|
+
validator: (value: string) => boolean;
|
|
223
205
|
};
|
|
224
206
|
cutoutBorder: PropType<boolean>;
|
|
225
207
|
content: PropType<any>;
|
|
226
208
|
}>> & Readonly<{}>, {
|
|
227
|
-
themeColor:
|
|
228
|
-
size: "small" | "medium" | "large";
|
|
229
|
-
rounded: string;
|
|
230
|
-
fillMode: string;
|
|
209
|
+
themeColor: "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "dark" | "light" | "inverse" | "inherit";
|
|
231
210
|
position: string;
|
|
232
211
|
align: BadgeAlign;
|
|
233
212
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -276,42 +255,40 @@ export declare interface BadgeProps {
|
|
|
276
255
|
*
|
|
277
256
|
* The possible values are:
|
|
278
257
|
* * `small`
|
|
279
|
-
* * `medium`
|
|
258
|
+
* * `medium`
|
|
280
259
|
* * `large`
|
|
281
|
-
* * null—Does not set a size `className`
|
|
282
260
|
*
|
|
283
|
-
* @default `
|
|
261
|
+
* @default `undefined`
|
|
284
262
|
*/
|
|
285
|
-
size?:
|
|
263
|
+
size?: 'small' | 'medium' | 'large';
|
|
286
264
|
/**
|
|
287
265
|
* Specifies the roundness of the Badge.
|
|
288
266
|
*
|
|
289
267
|
* The possible values are:
|
|
268
|
+
* - none
|
|
290
269
|
* - small
|
|
291
|
-
* - medium
|
|
270
|
+
* - medium
|
|
292
271
|
* - large
|
|
293
272
|
* - full
|
|
294
|
-
* - null—Does not set a rounded `className`
|
|
295
273
|
*
|
|
296
|
-
* @default `
|
|
274
|
+
* @default `undefined`
|
|
297
275
|
*/
|
|
298
|
-
rounded?:
|
|
276
|
+
rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
|
|
299
277
|
/**
|
|
300
278
|
* Specifies the appearance fill style of the Badge.
|
|
301
279
|
*
|
|
302
280
|
* The possible values are:
|
|
303
|
-
* * `solid`
|
|
281
|
+
* * `solid`
|
|
304
282
|
* * `outline`
|
|
305
|
-
* * null—Does not set a fillMode `className`
|
|
306
283
|
*
|
|
307
|
-
* @default `
|
|
284
|
+
* @default `undefined`
|
|
308
285
|
*/
|
|
309
|
-
fillMode?:
|
|
286
|
+
fillMode?: 'solid' | 'outline';
|
|
310
287
|
/**
|
|
311
288
|
* Specifies the theme color of the Badge.
|
|
312
289
|
*
|
|
313
290
|
* The possible values are:
|
|
314
|
-
* * `primary
|
|
291
|
+
* * `primary`—Applies coloring based on primary theme color.
|
|
315
292
|
* * `secondary`—Applies coloring based on secondary theme color.
|
|
316
293
|
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
317
294
|
* * `inherit`— Applies inherited coloring value.
|
|
@@ -322,11 +299,10 @@ export declare interface BadgeProps {
|
|
|
322
299
|
* * `dark`— Applies coloring based on dark theme color.
|
|
323
300
|
* * `light`— Applies coloring based on light theme color.
|
|
324
301
|
* * `inverse`— Applies coloring based on inverse theme color.
|
|
325
|
-
* * null—Does not set a themeColor `className`.
|
|
326
302
|
*
|
|
327
|
-
* @default `
|
|
303
|
+
* @default `undefined`
|
|
328
304
|
*/
|
|
329
|
-
themeColor?:
|
|
305
|
+
themeColor?: 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'inherit';
|
|
330
306
|
/**
|
|
331
307
|
* Specifies the alignment of the Badge.
|
|
332
308
|
*
|
|
@@ -416,17 +392,16 @@ export declare const Loader: DefineComponent<ExtractPropTypes< {
|
|
|
416
392
|
type: {
|
|
417
393
|
type: PropType<string>;
|
|
418
394
|
default: string;
|
|
419
|
-
validator: (value: string) =>
|
|
395
|
+
validator: (value: string) => boolean;
|
|
420
396
|
};
|
|
421
397
|
size: {
|
|
422
398
|
type: PropType<string>;
|
|
423
|
-
|
|
424
|
-
validator: (value: string) => any;
|
|
399
|
+
validator: (value: string) => boolean;
|
|
425
400
|
};
|
|
426
401
|
themeColor: {
|
|
427
402
|
type: PropType<string>;
|
|
428
403
|
default: string;
|
|
429
|
-
validator: (value: string) =>
|
|
404
|
+
validator: (value: string) => boolean;
|
|
430
405
|
};
|
|
431
406
|
}>, {}, {}, {
|
|
432
407
|
loaderClasses(): {
|
|
@@ -454,22 +429,20 @@ focus(e: any): void;
|
|
|
454
429
|
type: {
|
|
455
430
|
type: PropType<string>;
|
|
456
431
|
default: string;
|
|
457
|
-
validator: (value: string) =>
|
|
432
|
+
validator: (value: string) => boolean;
|
|
458
433
|
};
|
|
459
434
|
size: {
|
|
460
435
|
type: PropType<string>;
|
|
461
|
-
|
|
462
|
-
validator: (value: string) => any;
|
|
436
|
+
validator: (value: string) => boolean;
|
|
463
437
|
};
|
|
464
438
|
themeColor: {
|
|
465
439
|
type: PropType<string>;
|
|
466
440
|
default: string;
|
|
467
|
-
validator: (value: string) =>
|
|
441
|
+
validator: (value: string) => boolean;
|
|
468
442
|
};
|
|
469
443
|
}>> & Readonly<{}>, {
|
|
470
444
|
type: string;
|
|
471
445
|
themeColor: string;
|
|
472
|
-
size: string;
|
|
473
446
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
474
447
|
|
|
475
448
|
/**
|
package/loader/Loader.js
CHANGED
|
@@ -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 a=require("vue"),s=require("@progress/kendo-vue-common"),t=require("../package-metadata.js"),i={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l=a.defineComponent({name:"KendoLoader",props:{type:{type:String,default:"pulsing",validator:function(e){return["pulsing","infinite-spinner","converging-spinner"].includes(e)}},size:{type:String,
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),s=require("@progress/kendo-vue-common"),t=require("../package-metadata.js"),i={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l=a.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(){s.validatePackage(t.packageMetadata)},computed:{loaderClasses(){const{type:e,size:n,themeColor:r}=this.$props;return{"k-loader":!0,"k-loader-sm":n==="small","k-loader-md":n==="medium","k-loader-lg":n==="large","k-loader-primary":r==="primary","k-loader-secondary":r==="secondary","k-loader-tertiary":r==="tertiary","k-loader-info":r==="info","k-loader-success":r==="success","k-loader-warning":r==="warning","k-loader-error":r==="error","k-loader-dark":r==="dark","k-loader-light":r==="light","k-loader-inverse":r==="inverse","k-loader-pulsing-2":e==="pulsing","k-loader-spinner-3":e==="infinite-spinner","k-loader-spinner-4":e==="converging-spinner"}}},render(){const{type:e}=this.$props,n=new Array(i[e]);return n.fill(0,0,i[e]),a.createVNode("div",{class:this.loaderClasses},[a.createVNode("div",{class:"k-loader-canvas"},[n.map(function(r,o){return a.createVNode("span",{key:o,class:"k-loader-segment"},null)},this)])])},methods:{focus(e){this.$el&&this.$el.focus(e)}}});exports.Loader=l;
|
package/loader/Loader.mjs
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
8
|
+
import { defineComponent as s, createVNode as i } from "vue";
|
|
9
9
|
import { validatePackage as t } from "@progress/kendo-vue-common";
|
|
10
10
|
import { packageMetadata as l } from "../package-metadata.mjs";
|
|
11
11
|
const a = {
|
|
12
12
|
pulsing: 2,
|
|
13
13
|
"infinite-spinner": 3,
|
|
14
14
|
"converging-spinner": 4
|
|
15
|
-
}, u = /* @__PURE__ */
|
|
15
|
+
}, u = /* @__PURE__ */ s({
|
|
16
16
|
name: "KendoLoader",
|
|
17
17
|
props: {
|
|
18
18
|
type: {
|
|
@@ -24,9 +24,8 @@ const a = {
|
|
|
24
24
|
},
|
|
25
25
|
size: {
|
|
26
26
|
type: String,
|
|
27
|
-
default: "medium",
|
|
28
27
|
validator: function(e) {
|
|
29
|
-
return ["small", "medium", "large"].includes(e);
|
|
28
|
+
return ["none", "small", "medium", "large"].includes(e);
|
|
30
29
|
}
|
|
31
30
|
},
|
|
32
31
|
themeColor: {
|
|
@@ -76,9 +75,9 @@ const a = {
|
|
|
76
75
|
class: this.loaderClasses
|
|
77
76
|
}, [i("div", {
|
|
78
77
|
class: "k-loader-canvas"
|
|
79
|
-
}, [n.map(function(r,
|
|
78
|
+
}, [n.map(function(r, o) {
|
|
80
79
|
return i("span", {
|
|
81
|
-
key:
|
|
80
|
+
key: o,
|
|
82
81
|
class: "k-loader-segment"
|
|
83
82
|
}, null);
|
|
84
83
|
}, this)])]);
|
package/package-metadata.js
CHANGED
|
@@ -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-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1770355293,version:"7.1.0-develop.7",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;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "7.1.0-develop.
|
|
13
|
+
publishDate: 1770355293,
|
|
14
|
+
version: "7.1.0-develop.7",
|
|
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-indicators",
|
|
3
|
-
"version": "7.1.0-develop.
|
|
3
|
+
"version": "7.1.0-develop.7",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@progress/kendo-licensing": "^1.7.2",
|
|
22
|
-
"@progress/kendo-vue-common": "7.1.0-develop.
|
|
22
|
+
"@progress/kendo-vue-common": "7.1.0-develop.7",
|
|
23
23
|
"vue": "^3.0.2"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"package": {
|
|
40
40
|
"productName": "Kendo UI for Vue",
|
|
41
41
|
"productCode": "KENDOUIVUE",
|
|
42
|
-
"publishDate":
|
|
42
|
+
"publishDate": 1770355293,
|
|
43
43
|
"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"
|
|
44
44
|
}
|
|
45
45
|
},
|