@progress/kendo-vue-layout 3.11.0 → 3.11.1-dev.202307101150

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 (47) hide show
  1. package/dist/cdn/js/kendo-vue-layout.js +1 -1
  2. package/dist/es/actionsheet/ActionSheet.d.ts +124 -0
  3. package/dist/es/actionsheet/ActionSheet.js +387 -0
  4. package/dist/es/actionsheet/ActionSheetContent.d.ts +41 -0
  5. package/dist/es/actionsheet/ActionSheetContent.js +31 -0
  6. package/dist/es/actionsheet/ActionSheetFooter.d.ts +41 -0
  7. package/dist/es/actionsheet/ActionSheetFooter.js +31 -0
  8. package/dist/es/actionsheet/ActionSheetHeader.d.ts +41 -0
  9. package/dist/es/actionsheet/ActionSheetHeader.js +31 -0
  10. package/dist/es/actionsheet/ActionSheetItem.d.ts +42 -0
  11. package/dist/es/actionsheet/ActionSheetItem.js +111 -0
  12. package/dist/es/actionsheet/interfaces/ActionSheetItemProps.d.ts +62 -0
  13. package/dist/es/actionsheet/interfaces/ActionSheetItemProps.js +1 -0
  14. package/dist/es/main.d.ts +6 -0
  15. package/dist/es/main.js +6 -0
  16. package/dist/es/package-metadata.js +1 -1
  17. package/dist/esm/actionsheet/ActionSheet.d.ts +124 -0
  18. package/dist/esm/actionsheet/ActionSheet.js +387 -0
  19. package/dist/esm/actionsheet/ActionSheetContent.d.ts +41 -0
  20. package/dist/esm/actionsheet/ActionSheetContent.js +31 -0
  21. package/dist/esm/actionsheet/ActionSheetFooter.d.ts +41 -0
  22. package/dist/esm/actionsheet/ActionSheetFooter.js +31 -0
  23. package/dist/esm/actionsheet/ActionSheetHeader.d.ts +41 -0
  24. package/dist/esm/actionsheet/ActionSheetHeader.js +31 -0
  25. package/dist/esm/actionsheet/ActionSheetItem.d.ts +42 -0
  26. package/dist/esm/actionsheet/ActionSheetItem.js +111 -0
  27. package/dist/esm/actionsheet/interfaces/ActionSheetItemProps.d.ts +62 -0
  28. package/dist/esm/actionsheet/interfaces/ActionSheetItemProps.js +1 -0
  29. package/dist/esm/main.d.ts +6 -0
  30. package/dist/esm/main.js +6 -0
  31. package/dist/esm/package-metadata.js +1 -1
  32. package/dist/npm/actionsheet/ActionSheet.d.ts +124 -0
  33. package/dist/npm/actionsheet/ActionSheet.js +394 -0
  34. package/dist/npm/actionsheet/ActionSheetContent.d.ts +41 -0
  35. package/dist/npm/actionsheet/ActionSheetContent.js +38 -0
  36. package/dist/npm/actionsheet/ActionSheetFooter.d.ts +41 -0
  37. package/dist/npm/actionsheet/ActionSheetFooter.js +38 -0
  38. package/dist/npm/actionsheet/ActionSheetHeader.d.ts +41 -0
  39. package/dist/npm/actionsheet/ActionSheetHeader.js +38 -0
  40. package/dist/npm/actionsheet/ActionSheetItem.d.ts +42 -0
  41. package/dist/npm/actionsheet/ActionSheetItem.js +118 -0
  42. package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.d.ts +62 -0
  43. package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.js +5 -0
  44. package/dist/npm/main.d.ts +6 -0
  45. package/dist/npm/main.js +6 -0
  46. package/dist/npm/package-metadata.js +1 -1
  47. package/package.json +13 -13
@@ -0,0 +1,394 @@
1
+ "use strict";
2
+
3
+ var __spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
4
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
5
+ if (ar || !(i in from)) {
6
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
7
+ ar[i] = from[i];
8
+ }
9
+ }
10
+ return to.concat(ar || Array.prototype.slice.call(from));
11
+ };
12
+ Object.defineProperty(exports, "__esModule", {
13
+ value: true
14
+ });
15
+ exports.ActionSheetVue2 = exports.ActionSheet = void 0;
16
+ // @ts-ignore
17
+ var Vue = require("vue");
18
+ var allVue = Vue;
19
+ var gh = allVue.h;
20
+ var isV3 = allVue.version && allVue.version[0] === '3';
21
+ var kendo_vue_animation_1 = require("@progress/kendo-vue-animation");
22
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
23
+ var package_metadata_1 = require("../package-metadata");
24
+ var ActionSheetItem_1 = require("./ActionSheetItem");
25
+ var ActionSheetHeader_1 = require("./ActionSheetHeader");
26
+ var ActionSheetFooter_1 = require("./ActionSheetFooter");
27
+ var ActionSheetContent_1 = require("./ActionSheetContent");
28
+ var DEFAULT_DURATION = 300;
29
+ /**
30
+ * @hidden
31
+ */
32
+ var ActionSheetVue2 = {
33
+ name: 'KendoActionSheet',
34
+ props: {
35
+ expand: Boolean,
36
+ animation: {
37
+ type: Boolean,
38
+ default: true
39
+ },
40
+ animationDuration: {
41
+ type: Number,
42
+ default: DEFAULT_DURATION
43
+ },
44
+ animationStyles: Object,
45
+ tabIndex: Number,
46
+ items: Array,
47
+ subTitle: String,
48
+ title: String,
49
+ className: String,
50
+ header: [String, Object, Function],
51
+ content: [String, Object, Function],
52
+ footer: [String, Object, Function],
53
+ item: [String, Object, Function],
54
+ navigatable: {
55
+ type: Boolean,
56
+ default: true
57
+ },
58
+ navigatableElements: {
59
+ type: Array,
60
+ default: function _default() {
61
+ return [];
62
+ }
63
+ }
64
+ },
65
+ created: function created() {
66
+ this.bottomPosition = {
67
+ bottom: '0px',
68
+ width: '100%'
69
+ };
70
+ this.guidId = (0, kendo_vue_common_1.guid)();
71
+ (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
72
+ },
73
+ mounted: function mounted() {
74
+ this.element = (0, kendo_vue_common_1.getRef)(this, 'actionSheet');
75
+ if (this.$props.expand && !this.show) {
76
+ this.show = true;
77
+ }
78
+ },
79
+ updated: function updated() {
80
+ var _this = this;
81
+ this.element = (0, kendo_vue_common_1.getRef)(this, 'actionSheet');
82
+ if (this.$props.expand && !this.show) {
83
+ this.show = true;
84
+ }
85
+ if (this.element && !this.$props.className) {
86
+ this.element.style.setProperty('--kendo-actionsheet-height', 'auto');
87
+ this.element.style.setProperty('--kendo-actionsheet-max-height', 'none');
88
+ }
89
+ if (this.element) {
90
+ if (this.$props.navigatable) {
91
+ var innerElements = ['.k-actionsheet-footer', '.k-actionsheet-content', '.k-actionsheet-titlebar'].map(function (selector) {
92
+ return kendo_vue_common_1.FOCUSABLE_ELEMENTS.concat(_this.$props.navigatableElements).map(function (focusableSelector) {
93
+ return "".concat(selector, " ").concat(focusableSelector);
94
+ });
95
+ });
96
+ var selectors = __spreadArray(['.k-actionsheet-item'], innerElements.flat(), true);
97
+ this.navigation = new kendo_vue_common_1.Navigation({
98
+ tabIndex: this.$props.tabIndex || 0,
99
+ root: this.element,
100
+ rovingTabIndex: false,
101
+ selectors: selectors,
102
+ keyboardEvents: {
103
+ keydown: {
104
+ 'Tab': this.onTab,
105
+ 'Enter': this.onEnter,
106
+ 'Escape': this.onEscape
107
+ }
108
+ }
109
+ });
110
+ this.navigation.focusElement(this.navigation.first, null);
111
+ }
112
+ }
113
+ },
114
+ data: function data() {
115
+ return {
116
+ show: false,
117
+ slide: false
118
+ };
119
+ },
120
+ computed: {
121
+ topGroupItems: function topGroupItems() {
122
+ var _a;
123
+ return (_a = this.items) === null || _a === void 0 ? void 0 : _a.filter(function (item) {
124
+ return !item.group || item.group === 'top';
125
+ });
126
+ },
127
+ bottomGroupItems: function bottomGroupItems() {
128
+ var _a;
129
+ return (_a = this.items) === null || _a === void 0 ? void 0 : _a.filter(function (item) {
130
+ return item.group === 'bottom';
131
+ });
132
+ },
133
+ shouldRenderSeparator: function shouldRenderSeparator() {
134
+ return this.topGroupItems && this.topGroupItems.length > 0 && this.bottomGroupItems && this.bottomGroupItems.length > 0;
135
+ }
136
+ },
137
+ // @ts-ignore
138
+ setup: !isV3 ? undefined : function () {
139
+ var v3 = !!isV3;
140
+ return {
141
+ v3: v3
142
+ };
143
+ },
144
+ render: function render(createElement) {
145
+ var h = gh || createElement;
146
+ var _a = this.$props,
147
+ title = _a.title,
148
+ subTitle = _a.subTitle,
149
+ animationStyles = _a.animationStyles,
150
+ animation = _a.animation,
151
+ expand = _a.expand,
152
+ tabIndex = _a.tabIndex,
153
+ className = _a.className,
154
+ animationDuration = _a.animationDuration;
155
+ var header = kendo_vue_common_1.templateRendering.call(this, this.$props.header, kendo_vue_common_1.getListeners.call(this));
156
+ var headerContent = kendo_vue_common_1.getTemplate.call(this, {
157
+ h: h,
158
+ template: header,
159
+ defaultRendering: null
160
+ });
161
+ var content = kendo_vue_common_1.templateRendering.call(this, this.$props.content, kendo_vue_common_1.getListeners.call(this));
162
+ var contentTemplate = kendo_vue_common_1.getTemplate.call(this, {
163
+ h: h,
164
+ template: content,
165
+ defaultRendering: null
166
+ });
167
+ var footer = kendo_vue_common_1.templateRendering.call(this, this.$props.footer, kendo_vue_common_1.getListeners.call(this));
168
+ var footerContent = kendo_vue_common_1.getTemplate.call(this, {
169
+ h: h,
170
+ template: footer,
171
+ defaultRendering: null
172
+ });
173
+ var actionSheetPanel = h("div", {
174
+ "class": (0, kendo_vue_common_1.classNames)('k-actionsheet', className, {
175
+ 'k-actionsheet-bottom': !className
176
+ }),
177
+ role: "dialog",
178
+ attrs: this.v3 ? undefined : {
179
+ role: "dialog",
180
+ "aria-modal": "true",
181
+ "aria-hidden": false,
182
+ "aria-labelledby": this.guidId
183
+ },
184
+ "aria-modal": "true",
185
+ "aria-hidden": false,
186
+ "aria-labelledby": this.guidId,
187
+ ref: (0, kendo_vue_common_1.setRef)(this, 'actionSheet'),
188
+ onKeydown: this.handleKeyDown,
189
+ on: this.v3 ? undefined : {
190
+ "keydown": this.handleKeyDown
191
+ }
192
+ }, [this.$props.header && !title && !subTitle &&
193
+ // @ts-ignore function children
194
+ h(ActionSheetHeader_1.ActionSheetHeader, this.v3 ? function () {
195
+ return [headerContent];
196
+ } : [headerContent]), (title || subTitle) && h("div", {
197
+ "class": "k-actionsheet-titlebar k-text-center"
198
+ }, [h("div", {
199
+ "class": "k-actionsheet-titlebar-group k-hbox"
200
+ }, [h("div", {
201
+ "class": 'k-actionsheet-title',
202
+ id: this.guidId,
203
+ attrs: this.v3 ? undefined : {
204
+ id: this.guidId
205
+ }
206
+ }, [title && h("div", [title]), subTitle && h("div", {
207
+ "class": "k-actionsheet-subtitle"
208
+ }, [subTitle])])])]), !this.$props.content ? h("div", {
209
+ "class": "k-actionsheet-content"
210
+ }, [h("div", {
211
+ "class": "k-list-ul",
212
+ role: "group",
213
+ attrs: this.v3 ? undefined : {
214
+ role: "group"
215
+ }
216
+ }, [this.topGroupItems && this.topGroupItems.map(function (item, idx) {
217
+ var itemContent = kendo_vue_common_1.templateRendering.call(this, this.$props.item || item.content, kendo_vue_common_1.getListeners.call(this));
218
+ return h(ActionSheetItem_1.ActionSheetItem, {
219
+ title: item.title,
220
+ attrs: this.v3 ? undefined : {
221
+ title: item.title,
222
+ description: item.description,
223
+ disabled: item.disabled,
224
+ id: idx,
225
+ item: item,
226
+ icon: item.icon,
227
+ svgIcon: item.svgIcon,
228
+ iconSize: item.iconSize,
229
+ iconColor: item.iconColor,
230
+ tabIndex: tabIndex || 0,
231
+ content: itemContent
232
+ },
233
+ description: item.description,
234
+ disabled: item.disabled,
235
+ id: idx,
236
+ key: idx,
237
+ item: item,
238
+ icon: item.icon,
239
+ svgIcon: item.svgIcon,
240
+ iconSize: item.iconSize,
241
+ iconColor: item.iconColor,
242
+ tabIndex: tabIndex || 0,
243
+ content: itemContent,
244
+ onClick: this.handleItemClick,
245
+ on: this.v3 ? undefined : {
246
+ "click": this.handleItemClick
247
+ }
248
+ });
249
+ }, this)]), this.shouldRenderSeparator && h("hr", {
250
+ "class": "k-hr"
251
+ }), h("div", {
252
+ "class": "k-list-ul",
253
+ role: "group",
254
+ attrs: this.v3 ? undefined : {
255
+ role: "group"
256
+ }
257
+ }, [this.bottomGroupItems && this.bottomGroupItems.map(function (item, idx) {
258
+ var _a;
259
+ return h(ActionSheetItem_1.ActionSheetItem, {
260
+ id: idx + (((_a = this.topGroupItems) === null || _a === void 0 ? void 0 : _a.length) || 0),
261
+ attrs: this.v3 ? undefined : {
262
+ id: idx + (((_a = this.topGroupItems) === null || _a === void 0 ? void 0 : _a.length) || 0),
263
+ item: item,
264
+ title: item.title,
265
+ description: item.description,
266
+ disabled: item.disabled,
267
+ icon: item.icon,
268
+ svgIcon: item.svgIcon,
269
+ iconSize: item.iconSize,
270
+ iconColor: item.iconColor,
271
+ tabIndex: tabIndex || 0
272
+ },
273
+ key: idx,
274
+ item: item,
275
+ title: item.title,
276
+ description: item.description,
277
+ disabled: item.disabled,
278
+ icon: item.icon,
279
+ svgIcon: item.svgIcon,
280
+ iconSize: item.iconSize,
281
+ iconColor: item.iconColor,
282
+ tabIndex: tabIndex || 0,
283
+ onClick: this.handleItemClick,
284
+ on: this.v3 ? undefined : {
285
+ "click": this.handleItemClick
286
+ }
287
+ });
288
+ }, this)])]) :
289
+ // @ts-ignore function children
290
+ h(ActionSheetContent_1.ActionSheetContent, this.v3 ? function () {
291
+ return [contentTemplate];
292
+ } : [contentTemplate]), this.$props.footer &&
293
+ // @ts-ignore function children
294
+ h(ActionSheetFooter_1.ActionSheetFooter, this.v3 ? function () {
295
+ return [footerContent];
296
+ } : [footerContent])]);
297
+ return this.show && h("div", {
298
+ "class": "k-actionsheet-container"
299
+ }, [h("div", {
300
+ "class": "k-overlay",
301
+ onClick: this.handleOverlayClick,
302
+ on: this.v3 ? undefined : {
303
+ "click": this.handleOverlayClick
304
+ }
305
+ }), animation ?
306
+ // @ts-ignore function children
307
+ h(kendo_vue_animation_1.Slide, {
308
+ id: 'test',
309
+ attrs: this.v3 ? undefined : {
310
+ id: 'test',
311
+ direction: 'up',
312
+ componentChildStyle: animationStyles || this.bottomPosition,
313
+ transitionEnterDuration: animationDuration,
314
+ transitionExitDuration: animationDuration,
315
+ appear: expand
316
+ },
317
+ onExited: this.hideActionSheet,
318
+ on: this.v3 ? undefined : {
319
+ "exited": this.hideActionSheet
320
+ },
321
+ direction: 'up',
322
+ componentChildStyle: animationStyles || this.bottomPosition,
323
+ transitionEnterDuration: animationDuration,
324
+ transitionExitDuration: animationDuration,
325
+ appear: expand
326
+ }, this.v3 ? function () {
327
+ return [expand ? actionSheetPanel : null];
328
+ } : [expand ? actionSheetPanel : null]) : actionSheetPanel]);
329
+ },
330
+ methods: {
331
+ handleKeyDown: function handleKeyDown(e) {
332
+ if (this.$props.navigatable) {
333
+ this.navigation.triggerKeyboardEvent(e);
334
+ }
335
+ },
336
+ onTab: function onTab(target, nav, ev) {
337
+ ev.preventDefault();
338
+ if (ev.shiftKey) {
339
+ nav.focusPrevious(target);
340
+ } else {
341
+ nav.focusNext(target);
342
+ }
343
+ },
344
+ handleOverlayClick: function handleOverlayClick(ev) {
345
+ this.$emit('close', ev);
346
+ if (!this.$props.animation) {
347
+ this.hideActionSheet();
348
+ }
349
+ },
350
+ handleItemClick: function handleItemClick(ev) {
351
+ this.$emit('itemselect', ev);
352
+ if (!this.$props.animation) {
353
+ this.hideActionSheet();
354
+ }
355
+ },
356
+ onEnter: function onEnter(target, nav, ev) {
357
+ if (target.ariaDisabled) {
358
+ return;
359
+ }
360
+ var isItem = target.className && target.className.indexOf('k-actionsheet-item') !== -1;
361
+ var allItems = nav.elements.filter(function (e) {
362
+ return e.className.indexOf('k-actionsheet-item') !== -1;
363
+ });
364
+ if (isItem) {
365
+ ev.preventDefault();
366
+ var item = this.$props.items[allItems.indexOf(target)];
367
+ this.$emit('itemselect', {
368
+ syntheticEvent: ev,
369
+ item: item,
370
+ title: item && item.title
371
+ });
372
+ }
373
+ if (!this.$props.animation) {
374
+ this.hideActionSheet();
375
+ }
376
+ },
377
+ onEscape: function onEscape(_target, _nav, ev) {
378
+ ev.preventDefault();
379
+ this.$emit('close', ev);
380
+ if (!this.$props.animation) {
381
+ this.hideActionSheet();
382
+ }
383
+ },
384
+ hideActionSheet: function hideActionSheet() {
385
+ this.show = false;
386
+ }
387
+ }
388
+ };
389
+ exports.ActionSheetVue2 = ActionSheetVue2;
390
+ /**
391
+ * @hidden
392
+ */
393
+ var ActionSheet = ActionSheetVue2;
394
+ exports.ActionSheet = ActionSheet;
@@ -0,0 +1,41 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ /**
7
+ * @hidden
8
+ */
9
+ export interface ActionSheetContentState {
10
+ }
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface ActionSheetContentComputed {
15
+ [key: string]: any;
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface ActionSheetContentMethods {
21
+ [key: string]: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface ActionSheetContentData {
27
+ }
28
+ /**
29
+ * @hidden
30
+ */
31
+ export interface ActionSheetContentAll extends Vue2type, ActionSheetContentMethods, ActionSheetContentData, ActionSheetContentComputed, ActionSheetContentState {
32
+ }
33
+ /**
34
+ * @hidden
35
+ */
36
+ declare let ActionSheetContentVue2: ComponentOptions<ActionSheetContentAll, DefaultData<ActionSheetContentData>, DefaultMethods<ActionSheetContentAll>, ActionSheetContentComputed, RecordPropsDefinition<{}>>;
37
+ /**
38
+ * @hidden
39
+ */
40
+ declare const ActionSheetContent: DefineComponent<{}, any, ActionSheetContentData, ActionSheetContentComputed, ActionSheetContentMethods, {}, {}, {}, string, {}, {}, {}>;
41
+ export { ActionSheetContent, ActionSheetContentVue2 };
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ActionSheetContentVue2 = exports.ActionSheetContent = void 0;
7
+ // @ts-ignore
8
+ var Vue = require("vue");
9
+ var allVue = Vue;
10
+ var gh = allVue.h;
11
+ var isV3 = allVue.version && allVue.version[0] === '3';
12
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
+ /**
14
+ * @hidden
15
+ */
16
+ var ActionSheetContentVue2 = {
17
+ name: 'KendoActionSheetContent',
18
+ // @ts-ignore
19
+ setup: !isV3 ? undefined : function () {
20
+ var v3 = !!isV3;
21
+ return {
22
+ v3: v3
23
+ };
24
+ },
25
+ render: function render(createElement) {
26
+ var h = gh || createElement;
27
+ var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
28
+ return h("div", {
29
+ "class": 'k-actionsheet-content'
30
+ }, [defaultSlot]);
31
+ }
32
+ };
33
+ exports.ActionSheetContentVue2 = ActionSheetContentVue2;
34
+ /**
35
+ * @hidden
36
+ */
37
+ var ActionSheetContent = ActionSheetContentVue2;
38
+ exports.ActionSheetContent = ActionSheetContent;
@@ -0,0 +1,41 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ /**
7
+ * @hidden
8
+ */
9
+ export interface ActionSheetFooterState {
10
+ }
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface ActionSheetFooterComputed {
15
+ [key: string]: any;
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface ActionSheetFooterMethods {
21
+ [key: string]: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface ActionSheetFooterData {
27
+ }
28
+ /**
29
+ * @hidden
30
+ */
31
+ export interface ActionSheetFooterAll extends Vue2type, ActionSheetFooterMethods, ActionSheetFooterData, ActionSheetFooterComputed, ActionSheetFooterState {
32
+ }
33
+ /**
34
+ * @hidden
35
+ */
36
+ declare let ActionSheetFooterVue2: ComponentOptions<ActionSheetFooterAll, DefaultData<ActionSheetFooterData>, DefaultMethods<ActionSheetFooterAll>, ActionSheetFooterComputed, RecordPropsDefinition<{}>>;
37
+ /**
38
+ * @hidden
39
+ */
40
+ declare const ActionSheetFooter: DefineComponent<{}, any, ActionSheetFooterData, ActionSheetFooterComputed, ActionSheetFooterMethods, {}, {}, {}, string, {}, {}, {}>;
41
+ export { ActionSheetFooter, ActionSheetFooterVue2 };
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ActionSheetFooterVue2 = exports.ActionSheetFooter = void 0;
7
+ // @ts-ignore
8
+ var Vue = require("vue");
9
+ var allVue = Vue;
10
+ var gh = allVue.h;
11
+ var isV3 = allVue.version && allVue.version[0] === '3';
12
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
+ /**
14
+ * @hidden
15
+ */
16
+ var ActionSheetFooterVue2 = {
17
+ name: 'KendoActionSheetFooter',
18
+ // @ts-ignore
19
+ setup: !isV3 ? undefined : function () {
20
+ var v3 = !!isV3;
21
+ return {
22
+ v3: v3
23
+ };
24
+ },
25
+ render: function render(createElement) {
26
+ var h = gh || createElement;
27
+ var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
28
+ return h("div", {
29
+ "class": 'k-actionsheet-footer'
30
+ }, [defaultSlot]);
31
+ }
32
+ };
33
+ exports.ActionSheetFooterVue2 = ActionSheetFooterVue2;
34
+ /**
35
+ * @hidden
36
+ */
37
+ var ActionSheetFooter = ActionSheetFooterVue2;
38
+ exports.ActionSheetFooter = ActionSheetFooter;
@@ -0,0 +1,41 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ /**
7
+ * @hidden
8
+ */
9
+ export interface ActionSheetHeaderState {
10
+ }
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface ActionSheetHeaderComputed {
15
+ [key: string]: any;
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface ActionSheetHeaderMethods {
21
+ [key: string]: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface ActionSheetHeaderData {
27
+ }
28
+ /**
29
+ * @hidden
30
+ */
31
+ export interface ActionSheetHeaderAll extends Vue2type, ActionSheetHeaderMethods, ActionSheetHeaderData, ActionSheetHeaderComputed, ActionSheetHeaderState {
32
+ }
33
+ /**
34
+ * @hidden
35
+ */
36
+ declare let ActionSheetHeaderVue2: ComponentOptions<ActionSheetHeaderAll, DefaultData<ActionSheetHeaderData>, DefaultMethods<ActionSheetHeaderAll>, ActionSheetHeaderComputed, RecordPropsDefinition<{}>>;
37
+ /**
38
+ * @hidden
39
+ */
40
+ declare const ActionSheetHeader: DefineComponent<{}, any, ActionSheetHeaderData, ActionSheetHeaderComputed, ActionSheetHeaderMethods, {}, {}, {}, string, {}, {}, {}>;
41
+ export { ActionSheetHeader, ActionSheetHeaderVue2 };
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ActionSheetHeaderVue2 = exports.ActionSheetHeader = void 0;
7
+ // @ts-ignore
8
+ var Vue = require("vue");
9
+ var allVue = Vue;
10
+ var gh = allVue.h;
11
+ var isV3 = allVue.version && allVue.version[0] === '3';
12
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
+ /**
14
+ * @hidden
15
+ */
16
+ var ActionSheetHeaderVue2 = {
17
+ name: 'KendoActionSheetHeader',
18
+ // @ts-ignore
19
+ setup: !isV3 ? undefined : function () {
20
+ var v3 = !!isV3;
21
+ return {
22
+ v3: v3
23
+ };
24
+ },
25
+ render: function render(createElement) {
26
+ var h = gh || createElement;
27
+ var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
28
+ return h("div", {
29
+ "class": 'k-actionsheet-titlebar'
30
+ }, [defaultSlot]);
31
+ }
32
+ };
33
+ exports.ActionSheetHeaderVue2 = ActionSheetHeaderVue2;
34
+ /**
35
+ * @hidden
36
+ */
37
+ var ActionSheetHeader = ActionSheetHeaderVue2;
38
+ exports.ActionSheetHeader = ActionSheetHeader;
@@ -0,0 +1,42 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { ActionSheetItemProps } from './interfaces/ActionSheetItemProps';
7
+ /**
8
+ * @hidden
9
+ */
10
+ export interface ActionSheetItemState {
11
+ }
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface ActionSheetItemComputed {
16
+ [key: string]: any;
17
+ }
18
+ /**
19
+ * @hidden
20
+ */
21
+ export interface ActionSheetItemMethods {
22
+ [key: string]: any;
23
+ }
24
+ /**
25
+ * @hidden
26
+ */
27
+ export interface ActionSheetItemData {
28
+ }
29
+ /**
30
+ * @hidden
31
+ */
32
+ export interface ActionSheetItemAll extends Vue2type, ActionSheetItemMethods, ActionSheetItemData, ActionSheetItemComputed, ActionSheetItemState {
33
+ }
34
+ /**
35
+ * @hidden
36
+ */
37
+ declare let ActionSheetItemVue2: ComponentOptions<ActionSheetItemAll, DefaultData<ActionSheetItemData>, DefaultMethods<ActionSheetItemAll>, ActionSheetItemComputed, RecordPropsDefinition<ActionSheetItemProps>>;
38
+ /**
39
+ * @hidden
40
+ */
41
+ declare const ActionSheetItem: DefineComponent<ActionSheetItemProps, any, ActionSheetItemData, ActionSheetItemComputed, ActionSheetItemMethods, {}, {}, {}, string, ActionSheetItemProps, ActionSheetItemProps, {}>;
42
+ export { ActionSheetItem, ActionSheetItemVue2 };