@progress/kendo-vue-layout 2.7.2-dev.202201051440 → 2.8.0-dev.202201111325

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.
Files changed (112) hide show
  1. package/dist/cdn/js/kendo-vue-layout.js +1 -1
  2. package/dist/es/additionalTypes.ts +7 -1
  3. package/dist/es/card/Avatar.d.ts +5 -6
  4. package/dist/es/card/Avatar.js +31 -17
  5. package/dist/es/card/Card.d.ts +5 -6
  6. package/dist/es/card/Card.js +3 -3
  7. package/dist/es/card/CardActions.d.ts +5 -6
  8. package/dist/es/card/CardActions.js +3 -3
  9. package/dist/es/card/CardBody.d.ts +5 -6
  10. package/dist/es/card/CardBody.js +3 -3
  11. package/dist/es/card/CardFooter.d.ts +5 -6
  12. package/dist/es/card/CardFooter.js +3 -3
  13. package/dist/es/card/CardHeader.d.ts +5 -6
  14. package/dist/es/card/CardHeader.js +3 -3
  15. package/dist/es/card/CardImage.d.ts +5 -6
  16. package/dist/es/card/CardImage.js +3 -3
  17. package/dist/es/card/CardSubtitle.d.ts +5 -6
  18. package/dist/es/card/CardSubtitle.js +3 -3
  19. package/dist/es/card/CardTitle.d.ts +5 -6
  20. package/dist/es/card/CardTitle.js +3 -3
  21. package/dist/es/card/interfaces/AvatarProps.d.ts +34 -17
  22. package/dist/es/card/interfaces/Enums.d.ts +0 -22
  23. package/dist/es/card/interfaces/Enums.js +0 -31
  24. package/dist/es/drawer/Drawer.d.ts +5 -6
  25. package/dist/es/drawer/Drawer.js +3 -3
  26. package/dist/es/drawer/DrawerContent.d.ts +5 -6
  27. package/dist/es/drawer/DrawerContent.js +3 -3
  28. package/dist/es/drawer/DrawerItem.d.ts +5 -6
  29. package/dist/es/drawer/DrawerItem.js +3 -3
  30. package/dist/es/drawer/DrawerNavigation.d.ts +5 -6
  31. package/dist/es/drawer/DrawerNavigation.js +3 -3
  32. package/dist/es/menu/components/Menu.d.ts +5 -6
  33. package/dist/es/menu/components/Menu.js +3 -3
  34. package/dist/es/menu/components/MenuItemArrow.d.ts +5 -6
  35. package/dist/es/menu/components/MenuItemArrow.js +3 -3
  36. package/dist/es/menu/components/MenuItemInternal.d.ts +5 -6
  37. package/dist/es/menu/components/MenuItemInternal.js +3 -3
  38. package/dist/es/menu/components/MenuItemInternalsList.d.ts +5 -6
  39. package/dist/es/menu/components/MenuItemInternalsList.js +3 -3
  40. package/dist/es/menu/components/MenuItemLink.d.ts +5 -6
  41. package/dist/es/menu/components/MenuItemLink.js +3 -3
  42. package/dist/es/package-metadata.js +1 -1
  43. package/dist/es/stepper/Step.d.ts +5 -6
  44. package/dist/es/stepper/Step.js +3 -3
  45. package/dist/es/stepper/Stepper.d.ts +5 -6
  46. package/dist/es/stepper/Stepper.js +3 -3
  47. package/dist/es/tabstrip/TabStrip.d.ts +5 -6
  48. package/dist/es/tabstrip/TabStrip.js +3 -3
  49. package/dist/es/tabstrip/TabStripContent.d.ts +5 -6
  50. package/dist/es/tabstrip/TabStripContent.js +3 -3
  51. package/dist/es/tabstrip/TabStripNavigation.d.ts +5 -6
  52. package/dist/es/tabstrip/TabStripNavigation.js +3 -3
  53. package/dist/es/tabstrip/TabStripNavigationItem.d.ts +5 -6
  54. package/dist/es/tabstrip/TabStripNavigationItem.js +3 -3
  55. package/dist/es/tabstrip/TabStripTab.d.ts +6 -8
  56. package/dist/es/tabstrip/TabStripTab.js +3 -3
  57. package/dist/npm/additionalTypes.ts +7 -1
  58. package/dist/npm/card/Avatar.d.ts +5 -6
  59. package/dist/npm/card/Avatar.js +31 -17
  60. package/dist/npm/card/Card.d.ts +5 -6
  61. package/dist/npm/card/Card.js +5 -5
  62. package/dist/npm/card/CardActions.d.ts +5 -6
  63. package/dist/npm/card/CardActions.js +5 -5
  64. package/dist/npm/card/CardBody.d.ts +5 -6
  65. package/dist/npm/card/CardBody.js +5 -5
  66. package/dist/npm/card/CardFooter.d.ts +5 -6
  67. package/dist/npm/card/CardFooter.js +5 -5
  68. package/dist/npm/card/CardHeader.d.ts +5 -6
  69. package/dist/npm/card/CardHeader.js +5 -5
  70. package/dist/npm/card/CardImage.d.ts +5 -6
  71. package/dist/npm/card/CardImage.js +5 -5
  72. package/dist/npm/card/CardSubtitle.d.ts +5 -6
  73. package/dist/npm/card/CardSubtitle.js +5 -5
  74. package/dist/npm/card/CardTitle.d.ts +5 -6
  75. package/dist/npm/card/CardTitle.js +5 -5
  76. package/dist/npm/card/interfaces/AvatarProps.d.ts +34 -17
  77. package/dist/npm/card/interfaces/Enums.d.ts +0 -22
  78. package/dist/npm/card/interfaces/Enums.js +1 -32
  79. package/dist/npm/drawer/Drawer.d.ts +5 -6
  80. package/dist/npm/drawer/Drawer.js +5 -5
  81. package/dist/npm/drawer/DrawerContent.d.ts +5 -6
  82. package/dist/npm/drawer/DrawerContent.js +5 -5
  83. package/dist/npm/drawer/DrawerItem.d.ts +5 -6
  84. package/dist/npm/drawer/DrawerItem.js +5 -5
  85. package/dist/npm/drawer/DrawerNavigation.d.ts +5 -6
  86. package/dist/npm/drawer/DrawerNavigation.js +5 -5
  87. package/dist/npm/menu/components/Menu.d.ts +5 -6
  88. package/dist/npm/menu/components/Menu.js +5 -5
  89. package/dist/npm/menu/components/MenuItemArrow.d.ts +5 -6
  90. package/dist/npm/menu/components/MenuItemArrow.js +5 -5
  91. package/dist/npm/menu/components/MenuItemInternal.d.ts +5 -6
  92. package/dist/npm/menu/components/MenuItemInternal.js +5 -5
  93. package/dist/npm/menu/components/MenuItemInternalsList.d.ts +5 -6
  94. package/dist/npm/menu/components/MenuItemInternalsList.js +5 -5
  95. package/dist/npm/menu/components/MenuItemLink.d.ts +5 -6
  96. package/dist/npm/menu/components/MenuItemLink.js +5 -5
  97. package/dist/npm/package-metadata.js +1 -1
  98. package/dist/npm/stepper/Step.d.ts +5 -6
  99. package/dist/npm/stepper/Step.js +5 -5
  100. package/dist/npm/stepper/Stepper.d.ts +5 -6
  101. package/dist/npm/stepper/Stepper.js +5 -5
  102. package/dist/npm/tabstrip/TabStrip.d.ts +5 -6
  103. package/dist/npm/tabstrip/TabStrip.js +5 -5
  104. package/dist/npm/tabstrip/TabStripContent.d.ts +5 -6
  105. package/dist/npm/tabstrip/TabStripContent.js +5 -5
  106. package/dist/npm/tabstrip/TabStripNavigation.d.ts +5 -6
  107. package/dist/npm/tabstrip/TabStripNavigation.js +5 -5
  108. package/dist/npm/tabstrip/TabStripNavigationItem.d.ts +5 -6
  109. package/dist/npm/tabstrip/TabStripNavigationItem.js +5 -5
  110. package/dist/npm/tabstrip/TabStripTab.d.ts +6 -8
  111. package/dist/npm/tabstrip/TabStripTab.js +5 -5
  112. package/package.json +10 -10
@@ -1,3 +1,9 @@
1
1
  // @ts-ignore
2
2
  import { DefineComponent } from 'vue';
3
- export { DefineComponent };
3
+ // @ts-ignore
4
+ import * as Vue from 'vue';
5
+ // @ts-ignore
6
+ type Vue2type = Vue.default;
7
+ // @ts-ignore
8
+ import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
9
+ export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface AvatarComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface AvatarAll extends AvatarMethods, AvatarState, AvatarData, AvatarComputed, Vue {
33
+ export interface AvatarAll extends AvatarMethods, AvatarState, AvatarData, AvatarComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `Avatar` component.
38
37
  */
39
- declare const Avatar: ComponentOptions<Vue, DefaultData<AvatarData>, DefaultMethods<AvatarAll>, AvatarComputed, RecordPropsDefinition<AvatarProps>>;
40
- declare let AvatarVue3: DefineComponent<AvatarProps, any, AvatarData, AvatarComputed, AvatarMethods, {}, {}, {}, string, AvatarProps, AvatarProps, {}>;
41
- export { Avatar, AvatarVue3 };
38
+ declare const AvatarVue2: ComponentOptions<Vue2type, DefaultData<AvatarData>, DefaultMethods<AvatarAll>, AvatarComputed, RecordPropsDefinition<AvatarProps>>;
39
+ declare let Avatar: DefineComponent<AvatarProps, any, AvatarData, AvatarComputed, AvatarMethods, {}, {}, {}, string, AvatarProps, AvatarProps, {}>;
40
+ export { Avatar, AvatarVue2 };
@@ -2,47 +2,48 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
- import { avatarType, avatarShape, avatarSize, avatarFill, avatarThemeColor } from './interfaces/Enums';
5
+ import { avatarType } from './interfaces/Enums';
6
6
  import { packageMetadata } from '../package-metadata';
7
- import { getDefaultSlots, validatePackage } from '@progress/kendo-vue-common';
7
+ import { getDefaultSlots, validatePackage, kendoThemeMaps } from '@progress/kendo-vue-common';
8
8
  /**
9
9
  * Represents the default `Avatar` component.
10
10
  */
11
11
 
12
- var Avatar = {
12
+ var AvatarVue2 = {
13
13
  name: 'KendoAvatar',
14
14
  props: {
15
- shape: {
15
+ type: {
16
16
  type: String,
17
- default: avatarShape.SQUARE,
17
+ default: avatarType.TEXT,
18
18
  validator: function validator(value) {
19
- return ['circle', 'square', 'rounded', 'rectangle'].includes(value);
19
+ return ['text', 'image', 'icon'].includes(value);
20
20
  }
21
21
  },
22
- type: {
22
+ border: Boolean,
23
+ rounded: {
23
24
  type: String,
24
- default: avatarType.TEXT,
25
+ default: 'medium',
25
26
  validator: function validator(value) {
26
- return ['text', 'image', 'icon'].includes(value);
27
+ return ['small', 'medium', 'large', 'full'].includes(value);
27
28
  }
28
29
  },
29
- fill: {
30
+ fillMode: {
30
31
  type: String,
31
- default: avatarFill.SOLID,
32
+ default: 'solid',
32
33
  validator: function validator(value) {
33
34
  return ['solid', 'outline'].includes(value);
34
35
  }
35
36
  },
36
37
  size: {
37
38
  type: String,
38
- default: avatarSize.MEDIUM,
39
+ default: 'medium',
39
40
  validator: function validator(value) {
40
41
  return ['small', 'medium', 'large'].includes(value);
41
42
  }
42
43
  },
43
44
  themeColor: {
44
45
  type: String,
45
- default: avatarThemeColor.PRIMARY,
46
+ default: 'primary',
46
47
  validator: function validator(value) {
47
48
  return ['primary', 'secondary', 'tertiary', 'info', 'success', 'warning', 'error', 'dark', 'light', 'inverse', 'inherit'].includes(value);
48
49
  }
@@ -62,9 +63,22 @@ var Avatar = {
62
63
  wrapperClass: function wrapperClass() {
63
64
  var _a;
64
65
 
66
+ var _b = this.$props,
67
+ border = _b.border,
68
+ type = _b.type,
69
+ size = _b.size,
70
+ rounded = _b.rounded,
71
+ fillMode = _b.fillMode,
72
+ themeColor = _b.themeColor;
65
73
  return _a = {
74
+ 'k-avatar-bordered': border,
66
75
  'k-avatar': true
67
- }, _a["k-avatar-" + this.$props.fill] = true, _a["k-avatar-" + this.$props.shape] = true, _a["k-avatar-" + this.$props.themeColor] = true, _a['k-avatar-bordered'] = this.$props.border, _a['k-avatar-sm'] = this.$props.size === 'small', _a['k-avatar-md'] = this.$props.size === 'medium', _a['k-avatar-lg'] = this.$props.size === 'large', _a;
76
+ }, _a["k-avatar-" + type] = type, _a["k-avatar-" + (kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a["k-avatar-" + fillMode] = fillMode, _a["k-avatar-" + fillMode + "-" + themeColor] = Boolean(fillMode && themeColor), _a;
77
+ },
78
+ innerClass: function innerClass() {
79
+ var _a;
80
+
81
+ return _a = {}, _a["k-avatar-" + this.$props.type] = this.$props.type, _a;
68
82
  }
69
83
  },
70
84
  render: function render(createElement) {
@@ -73,9 +87,9 @@ var Avatar = {
73
87
  return h("div", {
74
88
  "class": this.wrapperClass
75
89
  }, [h("span", {
76
- "class": "k-avatar-" + this.$props.type
90
+ "class": this.innerClass
77
91
  }, [defaultSlots])]);
78
92
  }
79
93
  };
80
- var AvatarVue3 = Avatar;
81
- export { Avatar, AvatarVue3 };
94
+ var Avatar = AvatarVue2;
95
+ export { Avatar, AvatarVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardAll extends CardMethods, CardState, CardData, CardComputed, Vue {
33
+ export interface CardAll extends CardMethods, CardState, CardData, CardComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `Card` component.
38
37
  */
39
- declare const Card: ComponentOptions<Vue, DefaultData<CardData>, DefaultMethods<CardAll>, CardComputed, RecordPropsDefinition<CardProps>>;
40
- declare let CardVue3: DefineComponent<CardProps, any, CardData, CardComputed, CardMethods, {}, {}, {}, string, CardProps, CardProps, {}>;
41
- export { Card, CardVue3 };
38
+ declare const CardVue2: ComponentOptions<Vue2type, DefaultData<CardData>, DefaultMethods<CardAll>, CardComputed, RecordPropsDefinition<CardProps>>;
39
+ declare let Card: DefineComponent<CardProps, any, CardData, CardComputed, CardMethods, {}, {}, {}, string, CardProps, CardProps, {}>;
40
+ export { Card, CardVue2 };
@@ -10,7 +10,7 @@ import { getDefaultSlots, validatePackage } from '@progress/kendo-vue-common';
10
10
  * Represents the default `Card` component.
11
11
  */
12
12
 
13
- var Card = {
13
+ var CardVue2 = {
14
14
  name: 'KendoCard',
15
15
  props: {
16
16
  dir: String,
@@ -61,5 +61,5 @@ var Card = {
61
61
  }, [defaultSlots]);
62
62
  }
63
63
  };
64
- var CardVue3 = Card;
65
- export { Card, CardVue3 };
64
+ var Card = CardVue2;
65
+ export { Card, CardVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardActionsComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardActionsAll extends CardActionsMethods, CardActionsState, CardActionsData, CardActionsComputed, Vue {
33
+ export interface CardActionsAll extends CardActionsMethods, CardActionsState, CardActionsData, CardActionsComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `CardActions` component.
38
37
  */
39
- declare const CardActions: ComponentOptions<Vue, DefaultData<CardActionsData>, DefaultMethods<CardActionsAll>, CardActionsComputed, RecordPropsDefinition<CardActionsProps>>;
40
- declare let CardActionsVue3: DefineComponent<CardActionsProps, any, CardActionsData, CardActionsComputed, CardActionsMethods, {}, {}, {}, string, CardActionsProps, CardActionsProps, {}>;
41
- export { CardActions, CardActionsVue3 };
38
+ declare const CardActionsVue2: ComponentOptions<Vue2type, DefaultData<CardActionsData>, DefaultMethods<CardActionsAll>, CardActionsComputed, RecordPropsDefinition<CardActionsProps>>;
39
+ declare let CardActions: DefineComponent<CardActionsProps, any, CardActionsData, CardActionsComputed, CardActionsMethods, {}, {}, {}, string, CardActionsProps, CardActionsProps, {}>;
40
+ export { CardActions, CardActionsVue2 };
@@ -8,7 +8,7 @@ import { cardActionsLayout, cardOrientation } from './interfaces/Enums';
8
8
  * Represents the default `CardActions` component.
9
9
  */
10
10
 
11
- var CardActions = {
11
+ var CardActionsVue2 = {
12
12
  name: 'KendoCardActions',
13
13
  props: {
14
14
  layout: {
@@ -50,5 +50,5 @@ var CardActions = {
50
50
  }, [defaultSlots]);
51
51
  }
52
52
  };
53
- var CardActionsVue3 = CardActions;
54
- export { CardActions, CardActionsVue3 };
53
+ var CardActions = CardActionsVue2;
54
+ export { CardActions, CardActionsVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardBodyComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardBodyAll extends CardBodyMethods, CardBodyState, CardBodyData, CardBodyComputed, Vue {
33
+ export interface CardBodyAll extends CardBodyMethods, CardBodyState, CardBodyData, CardBodyComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `CardBody` component.
38
37
  */
39
- declare const CardBody: ComponentOptions<Vue, DefaultData<CardBodyData>, DefaultMethods<CardBodyAll>, CardBodyComputed, RecordPropsDefinition<CardBodyProps>>;
40
- declare const CardBodyVue3: DefineComponent<CardBodyProps, any, CardBodyData, CardBodyComputed, CardBodyMethods, {}, {}, {}, string, CardBodyProps, CardBodyProps, {}>;
41
- export { CardBody, CardBodyVue3 };
38
+ declare const CardBodyVue2: ComponentOptions<Vue2type, DefaultData<CardBodyData>, DefaultMethods<CardBodyAll>, CardBodyComputed, RecordPropsDefinition<CardBodyProps>>;
39
+ declare const CardBody: DefineComponent<CardBodyProps, any, CardBodyData, CardBodyComputed, CardBodyMethods, {}, {}, {}, string, CardBodyProps, CardBodyProps, {}>;
40
+ export { CardBody, CardBodyVue2 };
@@ -7,7 +7,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  * Represents the default `CardBody` component.
8
8
  */
9
9
 
10
- var CardBody = {
10
+ var CardBodyVue2 = {
11
11
  name: 'KendoCardBody',
12
12
  // @ts-ignore
13
13
  setup: !gh ? undefined : function () {
@@ -24,5 +24,5 @@ var CardBody = {
24
24
  }, [defaultSlots]);
25
25
  }
26
26
  };
27
- var CardBodyVue3 = CardBody;
28
- export { CardBody, CardBodyVue3 };
27
+ var CardBody = CardBodyVue2;
28
+ export { CardBody, CardBodyVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardFooterComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardFooterAll extends CardFooterMethods, CardFooterState, CardFooterData, CardFooterComputed, Vue {
33
+ export interface CardFooterAll extends CardFooterMethods, CardFooterState, CardFooterData, CardFooterComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `CardFooter` component.
38
37
  */
39
- declare const CardFooter: ComponentOptions<Vue, DefaultData<CardFooterData>, DefaultMethods<CardFooterAll>, CardFooterComputed, RecordPropsDefinition<CardFooterProps>>;
40
- declare const CardFooterVue3: DefineComponent<CardFooterProps, any, CardFooterData, CardFooterComputed, CardFooterMethods, {}, {}, {}, string, CardFooterProps, CardFooterProps, {}>;
41
- export { CardFooter, CardFooterVue3 };
38
+ declare const CardFooterVue2: ComponentOptions<Vue2type, DefaultData<CardFooterData>, DefaultMethods<CardFooterAll>, CardFooterComputed, RecordPropsDefinition<CardFooterProps>>;
39
+ declare const CardFooter: DefineComponent<CardFooterProps, any, CardFooterData, CardFooterComputed, CardFooterMethods, {}, {}, {}, string, CardFooterProps, CardFooterProps, {}>;
40
+ export { CardFooter, CardFooterVue2 };
@@ -7,7 +7,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  * Represents the default `CardFooter` component.
8
8
  */
9
9
 
10
- var CardFooter = {
10
+ var CardFooterVue2 = {
11
11
  name: 'KendoCardFooter',
12
12
  // @ts-ignore
13
13
  setup: !gh ? undefined : function () {
@@ -24,5 +24,5 @@ var CardFooter = {
24
24
  }, [defaultSlots]);
25
25
  }
26
26
  };
27
- var CardFooterVue3 = CardFooter;
28
- export { CardFooter, CardFooterVue3 };
27
+ var CardFooter = CardFooterVue2;
28
+ export { CardFooter, CardFooterVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardHeaderComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardHeaderAll extends CardHeaderMethods, CardHeaderState, CardHeaderData, CardHeaderComputed, Vue {
33
+ export interface CardHeaderAll extends CardHeaderMethods, CardHeaderState, CardHeaderData, CardHeaderComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `CardHeader` component.
38
37
  */
39
- declare const CardHeader: ComponentOptions<Vue, DefaultData<CardHeaderData>, DefaultMethods<CardHeaderAll>, CardHeaderComputed, RecordPropsDefinition<CardHeaderProps>>;
40
- declare const CardHeaderVue3: DefineComponent<CardHeaderProps, any, CardHeaderData, CardHeaderComputed, CardHeaderMethods, {}, {}, {}, string, CardHeaderProps, CardHeaderProps, {}>;
41
- export { CardHeader, CardHeaderVue3 };
38
+ declare const CardHeaderVue2: ComponentOptions<Vue2type, DefaultData<CardHeaderData>, DefaultMethods<CardHeaderAll>, CardHeaderComputed, RecordPropsDefinition<CardHeaderProps>>;
39
+ declare const CardHeader: DefineComponent<CardHeaderProps, any, CardHeaderData, CardHeaderComputed, CardHeaderMethods, {}, {}, {}, string, CardHeaderProps, CardHeaderProps, {}>;
40
+ export { CardHeader, CardHeaderVue2 };
@@ -7,7 +7,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  * Represents the default `CardHeader` component.
8
8
  */
9
9
 
10
- var CardHeader = {
10
+ var CardHeaderVue2 = {
11
11
  name: 'KendoCardHeader',
12
12
  // @ts-ignore
13
13
  setup: !gh ? undefined : function () {
@@ -24,5 +24,5 @@ var CardHeader = {
24
24
  }, [defaultSlots]);
25
25
  }
26
26
  };
27
- var CardHeaderVue3 = CardHeader;
28
- export { CardHeader, CardHeaderVue3 };
27
+ var CardHeader = CardHeaderVue2;
28
+ export { CardHeader, CardHeaderVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardImageComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardImageAll extends CardImageMethods, CardImageState, CardImageData, CardImageComputed, Vue {
33
+ export interface CardImageAll extends CardImageMethods, CardImageState, CardImageData, CardImageComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `CardImage` component.
38
37
  */
39
- declare const CardImage: ComponentOptions<Vue, DefaultData<CardImageData>, DefaultMethods<CardImageAll>, CardImageComputed, RecordPropsDefinition<CardImageProps>>;
40
- declare const CardImageVue3: DefineComponent<CardImageProps, any, CardImageData, CardImageComputed, CardImageMethods, {}, {}, {}, string, CardImageProps, CardImageProps, {}>;
41
- export { CardImage, CardImageVue3 };
38
+ declare const CardImageVue2: ComponentOptions<Vue2type, DefaultData<CardImageData>, DefaultMethods<CardImageAll>, CardImageComputed, RecordPropsDefinition<CardImageProps>>;
39
+ declare const CardImage: DefineComponent<CardImageProps, any, CardImageData, CardImageComputed, CardImageMethods, {}, {}, {}, string, CardImageProps, CardImageProps, {}>;
40
+ export { CardImage, CardImageVue2 };
@@ -7,7 +7,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  * Represents the default `CardImage` component.
8
8
  */
9
9
 
10
- var CardImage = {
10
+ var CardImageVue2 = {
11
11
  name: 'KendoCardImage',
12
12
  props: {
13
13
  src: String
@@ -31,5 +31,5 @@ var CardImage = {
31
31
  });
32
32
  }
33
33
  };
34
- var CardImageVue3 = CardImage;
35
- export { CardImage, CardImageVue3 };
34
+ var CardImage = CardImageVue2;
35
+ export { CardImage, CardImageVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardSubtitleComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardSubtitleAll extends CardSubtitleMethods, CardSubtitleState, CardSubtitleData, CardSubtitleComputed, Vue {
33
+ export interface CardSubtitleAll extends CardSubtitleMethods, CardSubtitleState, CardSubtitleData, CardSubtitleComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `CardSubtitle` component.
38
37
  */
39
- declare const CardSubtitle: ComponentOptions<Vue, DefaultData<CardSubtitleData>, DefaultMethods<CardSubtitleAll>, CardSubtitleComputed, RecordPropsDefinition<CardSubtitleProps>>;
40
- declare const CardSubtitleVue3: DefineComponent<CardSubtitleProps, any, CardSubtitleData, CardSubtitleComputed, CardSubtitleMethods, {}, {}, {}, string, CardSubtitleProps, CardSubtitleProps, {}>;
41
- export { CardSubtitle, CardSubtitleVue3 };
38
+ declare const CardSubtitleVue2: ComponentOptions<Vue2type, DefaultData<CardSubtitleData>, DefaultMethods<CardSubtitleAll>, CardSubtitleComputed, RecordPropsDefinition<CardSubtitleProps>>;
39
+ declare const CardSubtitle: DefineComponent<CardSubtitleProps, any, CardSubtitleData, CardSubtitleComputed, CardSubtitleMethods, {}, {}, {}, string, CardSubtitleProps, CardSubtitleProps, {}>;
40
+ export { CardSubtitle, CardSubtitleVue2 };
@@ -7,7 +7,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  * Represents the default `CardSubtitle` component.
8
8
  */
9
9
 
10
- var CardSubtitle = {
10
+ var CardSubtitleVue2 = {
11
11
  name: 'KendoCardSubtitle',
12
12
  // @ts-ignore
13
13
  setup: !gh ? undefined : function () {
@@ -24,5 +24,5 @@ var CardSubtitle = {
24
24
  }, [defaultSlots]);
25
25
  }
26
26
  };
27
- var CardSubtitleVue3 = CardSubtitle;
28
- export { CardSubtitle, CardSubtitleVue3 };
27
+ var CardSubtitle = CardSubtitleVue2;
28
+ export { CardSubtitle, CardSubtitleVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -31,11 +30,11 @@ export interface CardTitleComputed {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CardTitleAll extends CardTitleMethods, CardTitleState, CardTitleData, CardTitleComputed, Vue {
33
+ export interface CardTitleAll extends CardTitleMethods, CardTitleState, CardTitleData, CardTitleComputed, Vue2type {
35
34
  }
36
35
  /**
37
36
  * Represents the default `CardTitle` component.
38
37
  */
39
- declare const CardTitle: ComponentOptions<Vue, DefaultData<CardTitleData>, DefaultMethods<CardTitleAll>, CardTitleComputed, RecordPropsDefinition<CardTitleProps>>;
40
- declare const CardTitleVue3: DefineComponent<CardTitleProps, any, CardTitleData, CardTitleComputed, CardTitleMethods, {}, {}, {}, string, CardTitleProps, CardTitleProps, {}>;
41
- export { CardTitle, CardTitleVue3 };
38
+ declare const CardTitleVue2: ComponentOptions<Vue2type, DefaultData<CardTitleData>, DefaultMethods<CardTitleAll>, CardTitleComputed, RecordPropsDefinition<CardTitleProps>>;
39
+ declare const CardTitle: DefineComponent<CardTitleProps, any, CardTitleData, CardTitleComputed, CardTitleMethods, {}, {}, {}, string, CardTitleProps, CardTitleProps, {}>;
40
+ export { CardTitle, CardTitleVue2 };
@@ -7,7 +7,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  * Represents the default `CardTitle` component.
8
8
  */
9
9
 
10
- var CardTitle = {
10
+ var CardTitleVue2 = {
11
11
  name: 'KendoCardTitle',
12
12
  // @ts-ignore
13
13
  setup: !gh ? undefined : function () {
@@ -24,5 +24,5 @@ var CardTitle = {
24
24
  }, [defaultSlots]);
25
25
  }
26
26
  };
27
- var CardTitleVue3 = CardTitle;
28
- export { CardTitle, CardTitleVue3 };
27
+ var CardTitle = CardTitleVue2;
28
+ export { CardTitle, CardTitleVue2 };
@@ -1,4 +1,4 @@
1
- import { avatarShape, avatarSize, avatarType, avatarFill, avatarThemeColor } from './Enums';
1
+ import { avatarShape, avatarType } from './Enums';
2
2
  export interface AvatarProps {
3
3
  /**
4
4
  * Specifies the appearance fill style of the Avatar.
@@ -8,7 +8,7 @@ export interface AvatarProps {
8
8
  * * `outline`
9
9
  *
10
10
  */
11
- fill?: avatarFill | string;
11
+ fillMode?: null | 'solid' | 'outline' | string;
12
12
  /**
13
13
  * Set the shape of the Avatar.
14
14
  *
@@ -27,11 +27,25 @@ export interface AvatarProps {
27
27
  * * `large`
28
28
  *
29
29
  */
30
- size?: avatarSize | string;
30
+ size?: null | 'small' | 'medium' | 'large' | string;
31
31
  /**
32
32
  * Sets a border to the Avatar.
33
33
  */
34
34
  border?: boolean;
35
+ /**
36
+ * Configures the `roundness` of the Button.
37
+ *
38
+ * The available options are:
39
+ * - small
40
+ * - medium
41
+ * - large
42
+ * - circle
43
+ * - full
44
+ * - null&mdash;Does not set a rounded `className`.
45
+ *
46
+ * @default `medium`
47
+ */
48
+ rounded?: null | 'small' | 'medium' | 'large' | 'circle' | string;
35
49
  /**
36
50
  * Set the type of the Avatar.
37
51
  *
@@ -42,20 +56,23 @@ export interface AvatarProps {
42
56
  */
43
57
  type?: avatarType | string;
44
58
  /**
45
- * Specifies the theme color of the Avatar.
59
+ * Configures the `themeColor` of the Button.
46
60
  *
47
- * The possible values are:
48
- * * `primary` (Default)&mdash;Applies coloring based on primary theme color.
49
- * * `secondary`&mdash;Applies coloring based on secondary theme color.
50
- * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
51
- * * `info`&mdash;Applies coloring based on info theme color.
52
- * * `success`&mdash; Applies coloring based on success theme color.
53
- * * `warning`&mdash; Applies coloring based on warning theme color.
54
- * * `error`&mdash; Applies coloring based on error theme color.
55
- * * `dark`&mdash; Applies coloring based on dark theme color.
56
- * * `light`&mdash; Applies coloring based on light theme color.
57
- * * `inverse`&mdash; Applies coloring based on inverse theme color.
58
- * * `inherit`&mdash; Applies inherited coloring value.
61
+ * The available options are:
62
+ * - base
63
+ * - primary
64
+ * - secondary
65
+ * - tertiary
66
+ * - info
67
+ * - success
68
+ * - error
69
+ * - warning
70
+ * - dark
71
+ * - light
72
+ * - inverse
73
+ * - null&mdash;Does not set a themeColor `className`.
74
+ *
75
+ * @default `base`
59
76
  */
60
- themeColor?: avatarThemeColor | string;
77
+ themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'error' | 'warning' | 'dark' | 'light' | 'inverse' | string;
61
78
  }
@@ -9,28 +9,6 @@ export declare enum avatarType {
9
9
  IMAGE = "image",
10
10
  ICON = "icon"
11
11
  }
12
- export declare enum avatarSize {
13
- SMALL = "small",
14
- MEDIUM = "medium",
15
- LARGE = "large"
16
- }
17
- export declare enum avatarFill {
18
- SOLID = "solid",
19
- OUTLINE = "outline"
20
- }
21
- export declare enum avatarThemeColor {
22
- PRIMARY = "primary",
23
- SECONDARY = "secondary",
24
- TERTIARY = "tertiary",
25
- INFO = "info",
26
- SUCCESS = "success",
27
- WARNING = "warning",
28
- ERROR = "error",
29
- DARK = "dark",
30
- LIGHT = "light",
31
- INVERSE = "inverse",
32
- INHERIT = "inherit"
33
- }
34
12
  export declare enum cardOrientation {
35
13
  HORIZONTAL = "horizontal",
36
14
  VERTICAL = "vertical"
@@ -15,37 +15,6 @@ export var avatarType;
15
15
  avatarType["ICON"] = "icon";
16
16
  })(avatarType || (avatarType = {}));
17
17
 
18
- export var avatarSize;
19
-
20
- (function (avatarSize) {
21
- avatarSize["SMALL"] = "small";
22
- avatarSize["MEDIUM"] = "medium";
23
- avatarSize["LARGE"] = "large";
24
- })(avatarSize || (avatarSize = {}));
25
-
26
- export var avatarFill;
27
-
28
- (function (avatarFill) {
29
- avatarFill["SOLID"] = "solid";
30
- avatarFill["OUTLINE"] = "outline";
31
- })(avatarFill || (avatarFill = {}));
32
-
33
- export var avatarThemeColor;
34
-
35
- (function (avatarThemeColor) {
36
- avatarThemeColor["PRIMARY"] = "primary";
37
- avatarThemeColor["SECONDARY"] = "secondary";
38
- avatarThemeColor["TERTIARY"] = "tertiary";
39
- avatarThemeColor["INFO"] = "info";
40
- avatarThemeColor["SUCCESS"] = "success";
41
- avatarThemeColor["WARNING"] = "warning";
42
- avatarThemeColor["ERROR"] = "error";
43
- avatarThemeColor["DARK"] = "dark";
44
- avatarThemeColor["LIGHT"] = "light";
45
- avatarThemeColor["INVERSE"] = "inverse";
46
- avatarThemeColor["INHERIT"] = "inherit";
47
- })(avatarThemeColor || (avatarThemeColor = {}));
48
-
49
18
  export var cardOrientation;
50
19
 
51
20
  (function (cardOrientation) {
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -39,8 +38,8 @@ export interface DrawerData {
39
38
  /**
40
39
  * @hidden
41
40
  */
42
- export interface DrawerAll extends Vue, DrawerMethods, DrawerData, DrawerComputed, DrawerState {
41
+ export interface DrawerAll extends Vue2type, DrawerMethods, DrawerData, DrawerComputed, DrawerState {
43
42
  }
44
- declare let Drawer: ComponentOptions<DrawerAll, DefaultData<DrawerData>, DefaultMethods<DrawerAll>, DrawerComputed, RecordPropsDefinition<DrawerProps>>;
45
- declare const DrawerVue3: DefineComponent<DrawerProps, any, DrawerData, DrawerComputed, DrawerMethods, {}, {}, {}, string, DrawerProps, DrawerProps, {}>;
46
- export { Drawer, DrawerVue3 };
43
+ declare let DrawerVue2: ComponentOptions<DrawerAll, DefaultData<DrawerData>, DefaultMethods<DrawerAll>, DrawerComputed, RecordPropsDefinition<DrawerProps>>;
44
+ declare const Drawer: DefineComponent<DrawerProps, any, DrawerData, DrawerComputed, DrawerMethods, {}, {}, {}, string, DrawerProps, DrawerProps, {}>;
45
+ export { Drawer, DrawerVue2 };