@progress/kendo-vue-layout 2.6.3 → 2.6.4

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 (118) hide show
  1. package/dist/cdn/js/kendo-vue-layout.js +1 -1
  2. package/dist/es/drawer/Drawer.d.ts +47 -0
  3. package/dist/es/drawer/Drawer.js +186 -0
  4. package/dist/es/drawer/DrawerContent.d.ts +36 -0
  5. package/dist/es/drawer/DrawerContent.js +26 -0
  6. package/dist/es/drawer/DrawerItem.d.ts +38 -0
  7. package/dist/es/drawer/DrawerItem.js +108 -0
  8. package/dist/es/drawer/DrawerNavigation.d.ts +45 -0
  9. package/dist/es/drawer/DrawerNavigation.js +182 -0
  10. package/dist/es/drawer/context/DrawerContext.d.ts +17 -0
  11. package/dist/es/drawer/context/DrawerContext.js +13 -0
  12. package/dist/es/drawer/interfaces/DrawerAnimation.d.ts +14 -0
  13. package/dist/es/drawer/interfaces/DrawerAnimation.js +0 -0
  14. package/dist/es/drawer/interfaces/DrawerContentProps.d.ts +5 -0
  15. package/dist/es/drawer/interfaces/DrawerContentProps.js +0 -0
  16. package/dist/es/drawer/interfaces/DrawerItemHandle.d.ts +17 -0
  17. package/dist/es/drawer/interfaces/DrawerItemHandle.js +0 -0
  18. package/dist/es/drawer/interfaces/DrawerItemProps.d.ts +43 -0
  19. package/dist/es/drawer/interfaces/DrawerItemProps.js +0 -0
  20. package/dist/es/drawer/interfaces/DrawerNavigationProps.d.ts +5 -0
  21. package/dist/es/drawer/interfaces/DrawerNavigationProps.js +0 -0
  22. package/dist/es/drawer/interfaces/DrawerProps.d.ts +69 -0
  23. package/dist/es/drawer/interfaces/DrawerProps.js +0 -0
  24. package/dist/es/drawer/interfaces/DrawerSelectEvent.d.ts +13 -0
  25. package/dist/es/drawer/interfaces/DrawerSelectEvent.js +0 -0
  26. package/dist/es/main.d.ts +21 -0
  27. package/dist/es/main.js +21 -0
  28. package/dist/es/menu/MenuProps.d.ts +2 -2
  29. package/dist/es/menu/components/Menu.js +5 -1
  30. package/dist/es/menu/models/BaseMenuItem.d.ts +3 -3
  31. package/dist/es/package-metadata.js +1 -1
  32. package/dist/es/stepper/Step.d.ts +38 -0
  33. package/dist/es/stepper/Step.js +197 -0
  34. package/dist/es/stepper/Stepper.d.ts +39 -0
  35. package/dist/es/stepper/Stepper.js +351 -0
  36. package/dist/es/stepper/contants.d.ts +8 -0
  37. package/dist/es/stepper/contants.js +8 -0
  38. package/dist/es/stepper/context/StepperContext.d.ts +16 -0
  39. package/dist/es/stepper/context/StepperContext.js +8 -0
  40. package/dist/es/stepper/interfaces/StepChangeEvent.d.ts +9 -0
  41. package/dist/es/stepper/interfaces/StepChangeEvent.js +0 -0
  42. package/dist/es/stepper/interfaces/StepFocusEvent.d.ts +5 -0
  43. package/dist/es/stepper/interfaces/StepFocusEvent.js +0 -0
  44. package/dist/es/stepper/interfaces/StepHandle.d.ts +13 -0
  45. package/dist/es/stepper/interfaces/StepHandle.js +3 -0
  46. package/dist/es/stepper/interfaces/StepProps.d.ts +67 -0
  47. package/dist/es/stepper/interfaces/StepProps.js +0 -0
  48. package/dist/es/stepper/interfaces/StepperChangeEvent.d.ts +9 -0
  49. package/dist/es/stepper/interfaces/StepperChangeEvent.js +0 -0
  50. package/dist/es/stepper/interfaces/StepperFocusEvent.d.ts +5 -0
  51. package/dist/es/stepper/interfaces/StepperFocusEvent.js +0 -0
  52. package/dist/es/stepper/interfaces/StepperHandle.d.ts +13 -0
  53. package/dist/es/stepper/interfaces/StepperHandle.js +3 -0
  54. package/dist/es/stepper/interfaces/StepperOnNavigateEvent.d.ts +23 -0
  55. package/dist/es/stepper/interfaces/StepperOnNavigateEvent.js +15 -0
  56. package/dist/es/stepper/interfaces/StepperProps.d.ts +80 -0
  57. package/dist/es/stepper/interfaces/StepperProps.js +0 -0
  58. package/dist/es/stepper/messages/index.d.ts +10 -0
  59. package/dist/es/stepper/messages/index.js +11 -0
  60. package/dist/npm/drawer/Drawer.d.ts +47 -0
  61. package/dist/npm/drawer/Drawer.js +198 -0
  62. package/dist/npm/drawer/DrawerContent.d.ts +36 -0
  63. package/dist/npm/drawer/DrawerContent.js +36 -0
  64. package/dist/npm/drawer/DrawerItem.d.ts +38 -0
  65. package/dist/npm/drawer/DrawerItem.js +118 -0
  66. package/dist/npm/drawer/DrawerNavigation.d.ts +45 -0
  67. package/dist/npm/drawer/DrawerNavigation.js +193 -0
  68. package/dist/npm/drawer/context/DrawerContext.d.ts +17 -0
  69. package/dist/npm/drawer/context/DrawerContext.js +15 -0
  70. package/dist/npm/drawer/interfaces/DrawerAnimation.d.ts +14 -0
  71. package/dist/npm/drawer/interfaces/DrawerAnimation.js +2 -0
  72. package/dist/npm/drawer/interfaces/DrawerContentProps.d.ts +5 -0
  73. package/dist/npm/drawer/interfaces/DrawerContentProps.js +2 -0
  74. package/dist/npm/drawer/interfaces/DrawerItemHandle.d.ts +17 -0
  75. package/dist/npm/drawer/interfaces/DrawerItemHandle.js +2 -0
  76. package/dist/npm/drawer/interfaces/DrawerItemProps.d.ts +43 -0
  77. package/dist/npm/drawer/interfaces/DrawerItemProps.js +2 -0
  78. package/dist/npm/drawer/interfaces/DrawerNavigationProps.d.ts +5 -0
  79. package/dist/npm/drawer/interfaces/DrawerNavigationProps.js +2 -0
  80. package/dist/npm/drawer/interfaces/DrawerProps.d.ts +69 -0
  81. package/dist/npm/drawer/interfaces/DrawerProps.js +2 -0
  82. package/dist/npm/drawer/interfaces/DrawerSelectEvent.d.ts +13 -0
  83. package/dist/npm/drawer/interfaces/DrawerSelectEvent.js +2 -0
  84. package/dist/npm/main.d.ts +21 -0
  85. package/dist/npm/main.js +21 -0
  86. package/dist/npm/menu/MenuProps.d.ts +2 -2
  87. package/dist/npm/menu/components/Menu.js +5 -1
  88. package/dist/npm/menu/models/BaseMenuItem.d.ts +3 -3
  89. package/dist/npm/package-metadata.js +1 -1
  90. package/dist/npm/stepper/Step.d.ts +38 -0
  91. package/dist/npm/stepper/Step.js +210 -0
  92. package/dist/npm/stepper/Stepper.d.ts +39 -0
  93. package/dist/npm/stepper/Stepper.js +366 -0
  94. package/dist/npm/stepper/contants.d.ts +8 -0
  95. package/dist/npm/stepper/contants.js +11 -0
  96. package/dist/npm/stepper/context/StepperContext.d.ts +16 -0
  97. package/dist/npm/stepper/context/StepperContext.js +10 -0
  98. package/dist/npm/stepper/interfaces/StepChangeEvent.d.ts +9 -0
  99. package/dist/npm/stepper/interfaces/StepChangeEvent.js +2 -0
  100. package/dist/npm/stepper/interfaces/StepFocusEvent.d.ts +5 -0
  101. package/dist/npm/stepper/interfaces/StepFocusEvent.js +2 -0
  102. package/dist/npm/stepper/interfaces/StepHandle.d.ts +13 -0
  103. package/dist/npm/stepper/interfaces/StepHandle.js +5 -0
  104. package/dist/npm/stepper/interfaces/StepProps.d.ts +67 -0
  105. package/dist/npm/stepper/interfaces/StepProps.js +2 -0
  106. package/dist/npm/stepper/interfaces/StepperChangeEvent.d.ts +9 -0
  107. package/dist/npm/stepper/interfaces/StepperChangeEvent.js +2 -0
  108. package/dist/npm/stepper/interfaces/StepperFocusEvent.d.ts +5 -0
  109. package/dist/npm/stepper/interfaces/StepperFocusEvent.js +2 -0
  110. package/dist/npm/stepper/interfaces/StepperHandle.d.ts +13 -0
  111. package/dist/npm/stepper/interfaces/StepperHandle.js +5 -0
  112. package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.d.ts +23 -0
  113. package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.js +18 -0
  114. package/dist/npm/stepper/interfaces/StepperProps.d.ts +80 -0
  115. package/dist/npm/stepper/interfaces/StepperProps.js +2 -0
  116. package/dist/npm/stepper/messages/index.d.ts +10 -0
  117. package/dist/npm/stepper/messages/index.js +14 -0
  118. package/package.json +11 -9
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * The Step ref.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Represents the props of the [Kendo UI for Vue Step component]({% slug overview_stepper %}).
3
+ */
4
+ export interface StepProps {
5
+ /**
6
+ * Represents the children that are passed to the Step.
7
+ */
8
+ children?: any;
9
+ /**
10
+ * Specifies a list of CSS classes that will be added to the Step element.
11
+ */
12
+ className?: string;
13
+ /**
14
+ * Represents the content that will be rendered inside each Step.
15
+ *
16
+ * @hidden
17
+ */
18
+ content?: any;
19
+ /**
20
+ * Specifies the current Step.
21
+ */
22
+ current?: boolean;
23
+ /**
24
+ * Sets a custom property.
25
+ */
26
+ [customProp: string]: any;
27
+ /**
28
+ * Specifies if the Step is disabled
29
+ * ([see example]({% slug display_modes_stepper %})).
30
+ */
31
+ disabled?: boolean;
32
+ /**
33
+ * Defines the name for an existing icon in a Kendo UI for Vue theme.
34
+ * The icon is rendered inside the Step indicator by a `span.k-icon` element
35
+ * ([see example]({% slug display_modes_stepper %})).
36
+ */
37
+ icon?: string;
38
+ /**
39
+ * Sets the index of the Step that is used to identify it.
40
+ */
41
+ index?: number;
42
+ /**
43
+ * Specifies the validity of the step
44
+ * ([see example]({% slug display_modes_stepper %})).
45
+ */
46
+ isValid?: boolean;
47
+ /**
48
+ * Specifies the label of the Step
49
+ * ([see example]({% slug display_modes_stepper %})).
50
+ */
51
+ label?: string;
52
+ /**
53
+ * Specifies if the step is optional. The validation is not applied to these steps
54
+ * ([see example]({% slug display_modes_stepper %})).
55
+ */
56
+ optional?: boolean;
57
+ /**
58
+ * Sets the `tabIndex` property of the Step.
59
+ * Defaults to `0`.
60
+ */
61
+ tabIndex?: number;
62
+ /**
63
+ * Specifies the text content of the Step indicator
64
+ * ([see example]({% slug display_modes_stepper %})).
65
+ */
66
+ text?: string;
67
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The arguments for the `onChange` Stepper event.
3
+ */
4
+ export interface StepperChangeEvent {
5
+ /**
6
+ * The index of the selected Step.
7
+ */
8
+ value: number;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The arguments for the `onFocus` Stepper event.
3
+ */
4
+ export interface StepperFocusEvent {
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The Stepper ref.
3
+ */
4
+ export interface StepperHandle {
5
+ /**
6
+ * The Stepper element.
7
+ */
8
+ element: HTMLMenuElement | null;
9
+ /**
10
+ * Focus the Stepper's first focusable child.
11
+ */
12
+ focus: () => void;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * The Stepper ref.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import { StepperHandle } from './../interfaces/StepperHandle';
2
+ /**
3
+ * The `StepperOnNavigateEvent` event.
4
+ */
5
+ export declare class StepperOnNavigateEvent {
6
+ /**
7
+ * The Stepper component.
8
+ */
9
+ target: StepperHandle;
10
+ event: any;
11
+ /**
12
+ * The previous index of the Step.
13
+ */
14
+ prevIndex: number;
15
+ /**
16
+ * The new index of the Step.
17
+ */
18
+ nextIndex: number;
19
+ /**
20
+ * @hidden
21
+ */
22
+ constructor(target: StepperHandle, prevIndex: number, nextIndex: number);
23
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StepperOnNavigateEvent = void 0;
4
+ /**
5
+ * The `StepperOnNavigateEvent` event.
6
+ */
7
+ var StepperOnNavigateEvent = /** @class */ (function () {
8
+ /**
9
+ * @hidden
10
+ */
11
+ function StepperOnNavigateEvent(target, prevIndex, nextIndex) {
12
+ this.target = target;
13
+ this.prevIndex = prevIndex;
14
+ this.nextIndex = nextIndex;
15
+ }
16
+ return StepperOnNavigateEvent;
17
+ }());
18
+ exports.StepperOnNavigateEvent = StepperOnNavigateEvent;
@@ -0,0 +1,80 @@
1
+ import { StepProps } from './StepProps';
2
+ import { StepperChangeEvent } from './StepperChangeEvent';
3
+ import { StepperFocusEvent } from './StepperFocusEvent';
4
+ /**
5
+ * Represents the props of the [Kendo UI for Vue Stepper component]({% slug overview_stepper %}).
6
+ */
7
+ export interface StepperProps {
8
+ /**
9
+ * Sets the duration of the Stepper animation. Defaults to `400ms`.
10
+ */
11
+ animationDuration?: boolean | number;
12
+ /**
13
+ * Represents the children that are passed to the Stepper.
14
+ */
15
+ children?: any;
16
+ /**
17
+ * Specifies a list of CSS classes that will be added to the Stepper.
18
+ */
19
+ className?: string;
20
+ /**
21
+ * Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
22
+ */
23
+ dir?: string;
24
+ /**
25
+ * Disables the whole Stepper.
26
+ */
27
+ disabled?: boolean;
28
+ /**
29
+ * Specifies a custom icon that will be rendered inside the step for invalid steps.
30
+ */
31
+ errorIcon?: string;
32
+ /**
33
+ * Overrides the default component responsible for visualizing a single item ([see example]({% slug custom_rendering_stepper %})).
34
+ *
35
+ * The default Component is: [Step]({% slug api_layout_step %}).
36
+ */
37
+ item?: any;
38
+ /**
39
+ * The collection of steps that will be rendered in the Stepper ([see example]({% slug overview_stepper %})).
40
+ */
41
+ items: Array<StepProps>;
42
+ /**
43
+ * Specifies the linear flow of the Stepper.
44
+ * ([see example]({% slug linear_mode_stepper %})).
45
+ */
46
+ linear?: boolean;
47
+ /**
48
+ * Specifies the display mode of the Stepper
49
+ * ([see example]({% slug display_modes_stepper %})).
50
+ * * The possible values are:
51
+ * * (Default) `steps`. Render step indicator and optional label.
52
+ * * `labels`. Render labels only.
53
+ */
54
+ mode?: 'steps' | 'labels' | string;
55
+ /**
56
+ * Specifies the orientation of the Stepper
57
+ * ([see example]({% slug orientation_stepper %})).
58
+ *
59
+ * The possible values are:
60
+ * * (Default) `horizontal`
61
+ * * `vertical`
62
+ */
63
+ orientation?: 'horizontal' | 'vertical' | string;
64
+ /**
65
+ * Specifies a custom icon that will be rendered inside the step for valid steps.
66
+ */
67
+ successIcon?: string;
68
+ /**
69
+ * Specifies the index of the selected Step.
70
+ */
71
+ value: number;
72
+ /**
73
+ * The event handler that will be fired when the value is changed.
74
+ */
75
+ onChange?: (event: StepperChangeEvent) => void;
76
+ /**
77
+ * The event handler that will be fired when a Step is focused.
78
+ */
79
+ onFocus?: (event: StepperFocusEvent) => void;
80
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @hidden
3
+ */
4
+ export declare const optionalText = "stepper.optionalText";
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare const messages: {
9
+ "stepper.optionalText": string;
10
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.messages = exports.optionalText = void 0;
5
+ /**
6
+ * @hidden
7
+ */
8
+ exports.optionalText = 'stepper.optionalText';
9
+ /**
10
+ * @hidden
11
+ */
12
+ exports.messages = (_a = {},
13
+ _a[exports.optionalText] = '(Optional)',
14
+ _a);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-layout",
3
3
  "description": "Kendo UI for Vue Layouts package",
4
- "version": "2.6.3",
4
+ "version": "2.6.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -33,23 +33,25 @@
33
33
  "peerDependencies": {
34
34
  "@progress/kendo-licensing": "^1.1.0",
35
35
  "@progress/kendo-vue-intl": "^2.3.0",
36
+ "@progress/kendo-vue-progressbars": "^2.6.3",
36
37
  "vue": "^2.6.12 || ^3.0.2"
37
38
  },
38
39
  "dependencies": {
39
- "@progress/kendo-vue-animation": "2.6.3",
40
- "@progress/kendo-vue-common": "2.6.3",
41
- "@progress/kendo-vue-popup": "2.6.3"
40
+ "@progress/kendo-vue-animation": "2.6.4",
41
+ "@progress/kendo-vue-common": "2.6.4",
42
+ "@progress/kendo-vue-popup": "2.6.4"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@progress/kendo-data-query": "^1.5.0",
45
46
  "@progress/kendo-date-math": "^1.5.1",
46
47
  "@progress/kendo-drawing": "^1.8.0",
47
48
  "@progress/kendo-licensing": "^1.0.1",
48
- "@progress/kendo-vue-buttons": "2.6.3",
49
- "@progress/kendo-vue-dateinputs": "2.6.3",
50
- "@progress/kendo-vue-dropdowns": "2.6.3",
51
- "@progress/kendo-vue-inputs": "2.6.3",
52
- "@progress/kendo-vue-intl": "2.6.3"
49
+ "@progress/kendo-vue-buttons": "2.6.4",
50
+ "@progress/kendo-vue-dateinputs": "2.6.4",
51
+ "@progress/kendo-vue-dropdowns": "2.6.4",
52
+ "@progress/kendo-vue-inputs": "2.6.4",
53
+ "@progress/kendo-vue-intl": "2.6.4",
54
+ "@progress/kendo-vue-progressbars": "2.6.4"
53
55
  },
54
56
  "@progress": {
55
57
  "friendlyName": "Layouts",