@progress/kendo-vue-scheduler 3.10.2 → 3.11.0-dev.202305230751

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 (38) hide show
  1. package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
  2. package/dist/es/Scheduler.js +17 -9
  3. package/dist/es/components/SchedulerActionButtons.js +34 -5
  4. package/dist/es/components/SchedulerForm.js +1 -1
  5. package/dist/es/components/header/view-selector/SchedulerViewSelector.js +1 -13
  6. package/dist/es/components/header/view-selector/ViewSelectorItem.js +1 -0
  7. package/dist/es/components/header/view-selector/ViewSelectorList.js +31 -80
  8. package/dist/es/editors/SchedulerFormEditor.js +869 -169
  9. package/dist/es/items/SchedulerItem.js +48 -28
  10. package/dist/es/package-metadata.js +1 -1
  11. package/dist/es/recurrence/RecurrenceEditor.js +313 -100
  12. package/dist/es/recurrence/RecurrenceFrequencyEditor.js +1 -0
  13. package/dist/es/views/agenda/AgendaViewBody.js +8 -8
  14. package/dist/esm/Scheduler.js +17 -9
  15. package/dist/esm/components/SchedulerActionButtons.js +34 -5
  16. package/dist/esm/components/SchedulerForm.js +1 -1
  17. package/dist/esm/components/header/view-selector/SchedulerViewSelector.js +1 -13
  18. package/dist/esm/components/header/view-selector/ViewSelectorItem.js +1 -0
  19. package/dist/esm/components/header/view-selector/ViewSelectorList.js +31 -80
  20. package/dist/esm/editors/SchedulerFormEditor.js +869 -169
  21. package/dist/esm/items/SchedulerItem.js +48 -28
  22. package/dist/esm/package-metadata.js +1 -1
  23. package/dist/esm/recurrence/RecurrenceEditor.js +313 -100
  24. package/dist/esm/recurrence/RecurrenceFrequencyEditor.js +1 -0
  25. package/dist/esm/views/agenda/AgendaViewBody.js +8 -8
  26. package/dist/npm/Scheduler.js +16 -8
  27. package/dist/npm/components/SchedulerActionButtons.js +34 -5
  28. package/dist/npm/components/SchedulerForm.js +1 -1
  29. package/dist/npm/components/header/view-selector/SchedulerViewSelector.js +1 -12
  30. package/dist/npm/components/header/view-selector/ViewSelectorItem.js +1 -0
  31. package/dist/npm/components/header/view-selector/ViewSelectorList.js +30 -79
  32. package/dist/npm/editors/SchedulerFormEditor.js +868 -168
  33. package/dist/npm/items/SchedulerItem.js +48 -28
  34. package/dist/npm/package-metadata.js +1 -1
  35. package/dist/npm/recurrence/RecurrenceEditor.js +313 -100
  36. package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +1 -0
  37. package/dist/npm/views/agenda/AgendaViewBody.js +8 -8
  38. package/package.json +12 -12
@@ -13,11 +13,10 @@ import * as Vue from 'vue';
13
13
  var allVue = Vue;
14
14
  var gh = allVue.h;
15
15
  var isV3 = allVue.version && allVue.version[0] === '3';
16
- var inject = allVue.inject;
17
16
  import { timezoneNames } from '@progress/kendo-date-math';
18
17
  import { Error, Label as KLabel } from '@progress/kendo-vue-labels';
19
18
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
20
- import { Field, FormElement } from '@progress/kendo-vue-form';
19
+ import { Field, FormElement, FieldWrapper } from '@progress/kendo-vue-form';
21
20
  import { Input as KInput, Checkbox, TextArea } from '@progress/kendo-vue-inputs';
22
21
  import { getListeners, templateRendering } from '@progress/kendo-vue-common';
23
22
  import { messages, editorEventTitle, editorEventStart, editorEventEnd, editorEventDescription, editorEventAllDay, editorEventTimeZone, editorEventSeparateTimeZones, editorEventStartTimeZone, editorEventEndTimeZone, editorValidationRequired } from '../messages/main';
@@ -287,11 +286,48 @@ var SchedulerFormEditorVue2 = {
287
286
  h(FormElement, {
288
287
  "class": 'k-scheduler-edit-form'
289
288
  }, this.v3 ? function () {
290
- return [h("div", {
291
- "class": "k-form-field"
292
- }, [
289
+ return [
293
290
  // @ts-ignore function children
294
- h(Field, {
291
+ h(FieldWrapper, _this.v3 ? function () {
292
+ return [
293
+ // @ts-ignore function children
294
+ h(Field, {
295
+ name: title,
296
+ attrs: _this.v3 ? undefined : {
297
+ name: title,
298
+ component: titleLabel,
299
+ editorId: 'k-scheduler-editor-title'
300
+ },
301
+ component: titleLabel,
302
+ editorId: 'k-scheduler-editor-title'
303
+ }, _this.v3 ? function () {
304
+ return [localization.toLanguageString(editorEventTitle, messages[editorEventTitle])];
305
+ } : [localization.toLanguageString(editorEventTitle, messages[editorEventTitle])]), h("div", {
306
+ "class": "k-form-field-wrap"
307
+ }, [h(Field, {
308
+ id: "k-scheduler-editor-title",
309
+ attrs: _this.v3 ? undefined : {
310
+ id: "k-scheduler-editor-title",
311
+ name: title,
312
+ field: title,
313
+ component: titleEditor
314
+ },
315
+ name: title,
316
+ field: title,
317
+ component: titleEditor
318
+ }), _this.kendoForm.errors[title] &&
319
+ // @ts-ignore function children
320
+ h(Field, {
321
+ name: title,
322
+ attrs: _this.v3 ? undefined : {
323
+ name: title,
324
+ component: titleError
325
+ },
326
+ component: titleError
327
+ }, _this.v3 ? function () {
328
+ return [_this.kendoForm.errors[title]];
329
+ } : [_this.kendoForm.errors[title]])])];
330
+ } : [h(Field, {
295
331
  name: title,
296
332
  attrs: _this.v3 ? undefined : {
297
333
  name: title,
@@ -315,9 +351,7 @@ var SchedulerFormEditorVue2 = {
315
351
  name: title,
316
352
  field: title,
317
353
  component: titleEditor
318
- }), _this.kendoForm.errors[title] &&
319
- // @ts-ignore function children
320
- h(Field, {
354
+ }), _this.kendoForm.errors[title] && h(Field, {
321
355
  name: title,
322
356
  attrs: _this.v3 ? undefined : {
323
357
  name: title,
@@ -326,11 +360,53 @@ var SchedulerFormEditorVue2 = {
326
360
  component: titleError
327
361
  }, _this.v3 ? function () {
328
362
  return [_this.kendoForm.errors[title]];
329
- } : [_this.kendoForm.errors[title]])])]), h("div", {
330
- "class": "k-form-field"
331
- }, [
363
+ } : [_this.kendoForm.errors[title]])])]),
332
364
  // @ts-ignore function children
333
- h(Field, {
365
+ h(FieldWrapper, _this.v3 ? function () {
366
+ return [
367
+ // @ts-ignore function children
368
+ h(Field, {
369
+ name: _this.ks.fields.start,
370
+ attrs: _this.v3 ? undefined : {
371
+ name: _this.ks.fields.start,
372
+ component: startLabel,
373
+ editorId: "k-scheduler-editor-start"
374
+ },
375
+ component: startLabel,
376
+ editorId: "k-scheduler-editor-start",
377
+ "class": 'k-form-label'
378
+ }, _this.v3 ? function () {
379
+ return [localization.toLanguageString(editorEventStart, messages[editorEventStart])];
380
+ } : [localization.toLanguageString(editorEventStart, messages[editorEventStart])]), h("div", {
381
+ "class": "k-form-field-wrap"
382
+ }, [h(Field, {
383
+ id: "k-scheduler-editor-start",
384
+ attrs: _this.v3 ? undefined : {
385
+ id: "k-scheduler-editor-start",
386
+ name: _this.ks.fields.start,
387
+ width: "auto",
388
+ component: startEditor,
389
+ isAllDay: !!_this.kendoForm.values.isAllDay,
390
+ timezone: _this.ks.timezone
391
+ },
392
+ name: _this.ks.fields.start,
393
+ width: "auto",
394
+ component: startEditor,
395
+ isAllDay: !!_this.kendoForm.values.isAllDay,
396
+ timezone: _this.ks.timezone
397
+ }), _this.kendoForm.errors[_this.ks.fields.start] &&
398
+ // @ts-ignore function children
399
+ h(Field, {
400
+ name: _this.ks.fields.start,
401
+ attrs: _this.v3 ? undefined : {
402
+ name: _this.ks.fields.start,
403
+ component: startError
404
+ },
405
+ component: startError
406
+ }, _this.v3 ? function () {
407
+ return [_this.kendoForm.errors[_this.ks.fields.start]];
408
+ } : [_this.kendoForm.errors[_this.ks.fields.start]])])];
409
+ } : [h(Field, {
334
410
  name: _this.ks.fields.start,
335
411
  attrs: _this.v3 ? undefined : {
336
412
  name: _this.ks.fields.start,
@@ -338,15 +414,13 @@ var SchedulerFormEditorVue2 = {
338
414
  editorId: "k-scheduler-editor-start"
339
415
  },
340
416
  component: startLabel,
341
- editorId: "k-scheduler-editor-start"
417
+ editorId: "k-scheduler-editor-start",
418
+ "class": 'k-form-label'
342
419
  }, _this.v3 ? function () {
343
420
  return [localization.toLanguageString(editorEventStart, messages[editorEventStart])];
344
421
  } : [localization.toLanguageString(editorEventStart, messages[editorEventStart])]), h("div", {
345
- "class": "k-form-field-wrap",
346
- style: {
347
- display: 'flex'
348
- }
349
- }, [h("div", [h(Field, {
422
+ "class": "k-form-field-wrap"
423
+ }, [h(Field, {
350
424
  id: "k-scheduler-editor-start",
351
425
  attrs: _this.v3 ? undefined : {
352
426
  id: "k-scheduler-editor-start",
@@ -361,9 +435,7 @@ var SchedulerFormEditorVue2 = {
361
435
  component: startEditor,
362
436
  isAllDay: !!_this.kendoForm.values.isAllDay,
363
437
  timezone: _this.ks.timezone
364
- }), _this.kendoForm.errors[_this.ks.fields.start] &&
365
- // @ts-ignore function children
366
- h(Field, {
438
+ }), _this.kendoForm.errors[_this.ks.fields.start] && h(Field, {
367
439
  name: _this.ks.fields.start,
368
440
  attrs: _this.v3 ? undefined : {
369
441
  name: _this.ks.fields.start,
@@ -372,7 +444,35 @@ var SchedulerFormEditorVue2 = {
372
444
  component: startError
373
445
  }, _this.v3 ? function () {
374
446
  return [_this.kendoForm.errors[_this.ks.fields.start]];
375
- } : [_this.kendoForm.errors[_this.ks.fields.start]])]), timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
447
+ } : [_this.kendoForm.errors[_this.ks.fields.start]])])]),
448
+ // @ts-ignore function children
449
+ h(FieldWrapper, _this.v3 ? function () {
450
+ return [timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
451
+ id: 'k-scheduler-editor-set-start-timezone',
452
+ attrs: _this.v3 ? undefined : {
453
+ id: 'k-scheduler-editor-set-start-timezone',
454
+ value: _this.startZoneChecked
455
+ },
456
+ onChange: _this.handleStartZoneCheckboxChange,
457
+ on: _this.v3 ? undefined : {
458
+ "change": _this.handleStartZoneCheckboxChange
459
+ },
460
+ value: _this.startZoneChecked
461
+ }),
462
+ // @ts-ignore function children
463
+ h(StartTimezoneCheckedLabel, {
464
+ "class": 'k-checkbox-label',
465
+ editorId: 'k-scheduler-editor-set-start-timezone',
466
+ attrs: _this.v3 ? undefined : {
467
+ editorId: 'k-scheduler-editor-set-start-timezone'
468
+ },
469
+ style: {
470
+ display: 'inline-flex'
471
+ }
472
+ }, _this.v3 ? function () {
473
+ return [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])];
474
+ } : [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])])])];
475
+ } : [timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
376
476
  id: 'k-scheduler-editor-set-start-timezone',
377
477
  attrs: _this.v3 ? undefined : {
378
478
  id: 'k-scheduler-editor-set-start-timezone',
@@ -383,9 +483,7 @@ var SchedulerFormEditorVue2 = {
383
483
  "change": _this.handleStartZoneCheckboxChange
384
484
  },
385
485
  value: _this.startZoneChecked
386
- }),
387
- // @ts-ignore function children
388
- h(StartTimezoneCheckedLabel, {
486
+ }), h(StartTimezoneCheckedLabel, {
389
487
  "class": 'k-checkbox-label',
390
488
  editorId: 'k-scheduler-editor-set-start-timezone',
391
489
  attrs: _this.v3 ? undefined : {
@@ -396,11 +494,48 @@ var SchedulerFormEditorVue2 = {
396
494
  }
397
495
  }, _this.v3 ? function () {
398
496
  return [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])];
399
- } : [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])])])])]), _this.startZoneChecked && h("div", {
400
- "class": "k-form-field"
401
- }, [
497
+ } : [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])])])]), _this.startZoneChecked &&
402
498
  // @ts-ignore function children
403
- h(Field, {
499
+ h(FieldWrapper, _this.v3 ? function () {
500
+ return [
501
+ // @ts-ignore function children
502
+ h(Field, {
503
+ name: _this.ks.fields.start,
504
+ attrs: _this.v3 ? undefined : {
505
+ name: _this.ks.fields.start,
506
+ component: startTimezoneLabel
507
+ },
508
+ component: startTimezoneLabel
509
+ }, _this.v3 ? function () {
510
+ return [localization.toLanguageString(editorEventStartTimeZone, messages[editorEventStartTimeZone])];
511
+ } : [localization.toLanguageString(editorEventStartTimeZone, messages[editorEventStartTimeZone])]), h("div", {
512
+ "class": "k-form-field-wrap"
513
+ }, [h(Field, {
514
+ component: startTimezoneEditor,
515
+ attrs: _this.v3 ? undefined : {
516
+ component: startTimezoneEditor,
517
+ value: startTimezone,
518
+ validator: _this.startTimezoneValidator,
519
+ dataItems: timezones,
520
+ name: _this.ks.fields.startTimezone
521
+ },
522
+ value: startTimezone,
523
+ validator: _this.startTimezoneValidator,
524
+ dataItems: timezones,
525
+ name: _this.ks.fields.startTimezone
526
+ }), _this.kendoForm.errors[_this.ks.fields.startTimezone] &&
527
+ // @ts-ignore function children
528
+ h(Field, {
529
+ name: _this.ks.fields.startTimezone,
530
+ attrs: _this.v3 ? undefined : {
531
+ name: _this.ks.fields.startTimezone,
532
+ component: startTimezoneError
533
+ },
534
+ component: startTimezoneError
535
+ }, _this.v3 ? function () {
536
+ return [_this.kendoForm.errors[_this.ks.fields.startTimezone]];
537
+ } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])];
538
+ } : [h(Field, {
404
539
  name: _this.ks.fields.start,
405
540
  attrs: _this.v3 ? undefined : {
406
541
  name: _this.ks.fields.start,
@@ -424,9 +559,7 @@ var SchedulerFormEditorVue2 = {
424
559
  validator: _this.startTimezoneValidator,
425
560
  dataItems: timezones,
426
561
  name: _this.ks.fields.startTimezone
427
- }), _this.kendoForm.errors[_this.ks.fields.startTimezone] &&
428
- // @ts-ignore function children
429
- h(Field, {
562
+ }), _this.kendoForm.errors[_this.ks.fields.startTimezone] && h(Field, {
430
563
  name: _this.ks.fields.startTimezone,
431
564
  attrs: _this.v3 ? undefined : {
432
565
  name: _this.ks.fields.startTimezone,
@@ -435,11 +568,53 @@ var SchedulerFormEditorVue2 = {
435
568
  component: startTimezoneError
436
569
  }, _this.v3 ? function () {
437
570
  return [_this.kendoForm.errors[_this.ks.fields.startTimezone]];
438
- } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])]), h("div", {
439
- "class": "k-form-field"
440
- }, [
571
+ } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])]),
441
572
  // @ts-ignore function children
442
- h(Field, {
573
+ h(FieldWrapper, _this.v3 ? function () {
574
+ return [
575
+ // @ts-ignore function children
576
+ h(Field, {
577
+ name: _this.ks.fields.end,
578
+ attrs: _this.v3 ? undefined : {
579
+ name: _this.ks.fields.end,
580
+ component: endLabel,
581
+ editorId: "k-scheduler-editor-end"
582
+ },
583
+ component: endLabel,
584
+ editorId: "k-scheduler-editor-end",
585
+ "class": 'k-form-label'
586
+ }, _this.v3 ? function () {
587
+ return [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])];
588
+ } : [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])]), h("div", {
589
+ "class": "k-form-field-wrap"
590
+ }, [h(Field, {
591
+ id: "k-scheduler-editor-end",
592
+ attrs: _this.v3 ? undefined : {
593
+ id: "k-scheduler-editor-end",
594
+ name: _this.ks.fields.end,
595
+ width: "auto",
596
+ component: endEditor,
597
+ isAllDay: !!_this.kendoForm.values.isAllDay,
598
+ timezone: _this.ks.timezone
599
+ },
600
+ name: _this.ks.fields.end,
601
+ width: "auto",
602
+ component: endEditor,
603
+ isAllDay: !!_this.kendoForm.values.isAllDay,
604
+ timezone: _this.ks.timezone
605
+ }), _this.kendoForm.errors[_this.ks.fields.end] &&
606
+ // @ts-ignore function children
607
+ h(Field, {
608
+ name: _this.ks.fields.end,
609
+ attrs: _this.v3 ? undefined : {
610
+ name: _this.ks.fields.end,
611
+ component: endError
612
+ },
613
+ component: endError
614
+ }, _this.v3 ? function () {
615
+ return [_this.kendoForm.errors[_this.ks.fields.end]];
616
+ } : [_this.kendoForm.errors[_this.ks.fields.end]])])];
617
+ } : [h(Field, {
443
618
  name: _this.ks.fields.end,
444
619
  attrs: _this.v3 ? undefined : {
445
620
  name: _this.ks.fields.end,
@@ -447,15 +622,13 @@ var SchedulerFormEditorVue2 = {
447
622
  editorId: "k-scheduler-editor-end"
448
623
  },
449
624
  component: endLabel,
450
- editorId: "k-scheduler-editor-end"
625
+ editorId: "k-scheduler-editor-end",
626
+ "class": 'k-form-label'
451
627
  }, _this.v3 ? function () {
452
628
  return [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])];
453
629
  } : [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])]), h("div", {
454
- "class": "k-form-field-wrap",
455
- style: {
456
- display: 'flex'
457
- }
458
- }, [h("div", [h(Field, {
630
+ "class": "k-form-field-wrap"
631
+ }, [h(Field, {
459
632
  id: "k-scheduler-editor-end",
460
633
  attrs: _this.v3 ? undefined : {
461
634
  id: "k-scheduler-editor-end",
@@ -470,9 +643,7 @@ var SchedulerFormEditorVue2 = {
470
643
  component: endEditor,
471
644
  isAllDay: !!_this.kendoForm.values.isAllDay,
472
645
  timezone: _this.ks.timezone
473
- }), _this.kendoForm.errors[_this.ks.fields.end] &&
474
- // @ts-ignore function children
475
- h(Field, {
646
+ }), _this.kendoForm.errors[_this.ks.fields.end] && h(Field, {
476
647
  name: _this.ks.fields.end,
477
648
  attrs: _this.v3 ? undefined : {
478
649
  name: _this.ks.fields.end,
@@ -481,7 +652,45 @@ var SchedulerFormEditorVue2 = {
481
652
  component: endError
482
653
  }, _this.v3 ? function () {
483
654
  return [_this.kendoForm.errors[_this.ks.fields.end]];
484
- } : [_this.kendoForm.errors[_this.ks.fields.end]])]), h("div", [_this.startZoneChecked && [h(EndTimezoneCheckedEditor, {
655
+ } : [_this.kendoForm.errors[_this.ks.fields.end]])])]), _this.startZoneChecked &&
656
+ // @ts-ignore function children
657
+ h(FieldWrapper, _this.v3 ? function () {
658
+ return [h("div", {
659
+ className: "k-form-field-wrap",
660
+ attrs: _this.v3 ? undefined : {
661
+ className: "k-form-field-wrap"
662
+ }
663
+ }, [h(EndTimezoneCheckedEditor, {
664
+ id: 'k-scheduler-editor-set-end-timezone',
665
+ attrs: _this.v3 ? undefined : {
666
+ id: 'k-scheduler-editor-set-end-timezone',
667
+ value: _this.endZoneChecked
668
+ },
669
+ onChange: _this.handleEndZoneCheckboxChange,
670
+ on: _this.v3 ? undefined : {
671
+ "change": _this.handleEndZoneCheckboxChange
672
+ },
673
+ value: _this.endZoneChecked
674
+ })]),
675
+ // @ts-ignore function children
676
+ h(EndTimezoneCheckedLabel, {
677
+ "class": 'k-checkbox-label',
678
+ editorId: 'k-scheduler-editor-set-end-timezone',
679
+ attrs: _this.v3 ? undefined : {
680
+ editorId: 'k-scheduler-editor-set-end-timezone'
681
+ },
682
+ style: {
683
+ display: 'inline-flex'
684
+ }
685
+ }, _this.v3 ? function () {
686
+ return [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])];
687
+ } : [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])])];
688
+ } : [h("div", {
689
+ className: "k-form-field-wrap",
690
+ attrs: _this.v3 ? undefined : {
691
+ className: "k-form-field-wrap"
692
+ }
693
+ }, [h(EndTimezoneCheckedEditor, {
485
694
  id: 'k-scheduler-editor-set-end-timezone',
486
695
  attrs: _this.v3 ? undefined : {
487
696
  id: 'k-scheduler-editor-set-end-timezone',
@@ -492,9 +701,7 @@ var SchedulerFormEditorVue2 = {
492
701
  "change": _this.handleEndZoneCheckboxChange
493
702
  },
494
703
  value: _this.endZoneChecked
495
- }),
496
- // @ts-ignore function children
497
- h(EndTimezoneCheckedLabel, {
704
+ })]), h(EndTimezoneCheckedLabel, {
498
705
  "class": 'k-checkbox-label',
499
706
  editorId: 'k-scheduler-editor-set-end-timezone',
500
707
  attrs: _this.v3 ? undefined : {
@@ -505,17 +712,56 @@ var SchedulerFormEditorVue2 = {
505
712
  }
506
713
  }, _this.v3 ? function () {
507
714
  return [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])];
508
- } : [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])])]])])]), _this.endZoneChecked && h("div", {
509
- "class": "k-form-field"
510
- }, [
715
+ } : [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])])]), _this.endZoneChecked &&
511
716
  // @ts-ignore function children
512
- h(Field, {
717
+ h(FieldWrapper, _this.v3 ? function () {
718
+ return [
719
+ // @ts-ignore function children
720
+ h(Field, {
721
+ name: _this.ks.fields.endTimezone,
722
+ attrs: _this.v3 ? undefined : {
723
+ name: _this.ks.fields.endTimezone,
724
+ component: endTimezoneLabel
725
+ },
726
+ component: endTimezoneLabel,
727
+ "class": 'k-form-label'
728
+ }, _this.v3 ? function () {
729
+ return [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])];
730
+ } : [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])]), h("div", {
731
+ "class": "k-form-field-wrap"
732
+ }, [h(Field, {
733
+ value: endTimezone,
734
+ attrs: _this.v3 ? undefined : {
735
+ value: endTimezone,
736
+ dataItems: timezones,
737
+ validator: _this.endTimezoneValidator,
738
+ component: endTimezoneEditor,
739
+ name: _this.ks.fields.endTimezone
740
+ },
741
+ dataItems: timezones,
742
+ validator: _this.endTimezoneValidator,
743
+ component: endTimezoneEditor,
744
+ name: _this.ks.fields.endTimezone
745
+ }), _this.kendoForm.errors[_this.ks.fields.endTimezone] &&
746
+ // @ts-ignore function children
747
+ h(Field, {
748
+ name: _this.ks.fields.endTimezone,
749
+ attrs: _this.v3 ? undefined : {
750
+ name: _this.ks.fields.endTimezone,
751
+ component: endTimezoneError
752
+ },
753
+ component: endTimezoneError
754
+ }, _this.v3 ? function () {
755
+ return [_this.kendoForm.errors[_this.ks.fields.endTimezone]];
756
+ } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])];
757
+ } : [h(Field, {
513
758
  name: _this.ks.fields.endTimezone,
514
759
  attrs: _this.v3 ? undefined : {
515
760
  name: _this.ks.fields.endTimezone,
516
761
  component: endTimezoneLabel
517
762
  },
518
- component: endTimezoneLabel
763
+ component: endTimezoneLabel,
764
+ "class": 'k-form-label'
519
765
  }, _this.v3 ? function () {
520
766
  return [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])];
521
767
  } : [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])]), h("div", {
@@ -533,9 +779,7 @@ var SchedulerFormEditorVue2 = {
533
779
  validator: _this.endTimezoneValidator,
534
780
  component: endTimezoneEditor,
535
781
  name: _this.ks.fields.endTimezone
536
- }), _this.kendoForm.errors[_this.ks.fields.endTimezone] &&
537
- // @ts-ignore function children
538
- h(Field, {
782
+ }), _this.kendoForm.errors[_this.ks.fields.endTimezone] && h(Field, {
539
783
  name: _this.ks.fields.endTimezone,
540
784
  attrs: _this.v3 ? undefined : {
541
785
  name: _this.ks.fields.endTimezone,
@@ -544,15 +788,53 @@ var SchedulerFormEditorVue2 = {
544
788
  component: endTimezoneError
545
789
  }, _this.v3 ? function () {
546
790
  return [_this.kendoForm.errors[_this.ks.fields.endTimezone]];
547
- } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])]), h("div", {
548
- "class": "k-form-field"
549
- }, [h(Field, {
791
+ } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])]),
792
+ // @ts-ignore function children
793
+ h(FieldWrapper, _this.v3 ? function () {
794
+ return [h(Field, {
795
+ name: _this.ks.fields.isAllDay,
796
+ attrs: _this.v3 ? undefined : {
797
+ name: _this.ks.fields.isAllDay,
798
+ component: KLabel
799
+ },
800
+ component: KLabel,
801
+ "class": 'k-form-label'
802
+ }), h("div", {
803
+ "class": "k-form-field-wrap"
804
+ }, [h(Field, {
805
+ id: 'k-is-allday-checkbox',
806
+ attrs: _this.v3 ? undefined : {
807
+ id: 'k-is-allday-checkbox',
808
+ name: _this.ks.fields.isAllDay,
809
+ component: allDayEditor
810
+ },
811
+ name: _this.ks.fields.isAllDay,
812
+ component: allDayEditor
813
+ }),
814
+ // @ts-ignore function children
815
+ h(Field, {
816
+ name: _this.ks.fields.isAllDay,
817
+ attrs: _this.v3 ? undefined : {
818
+ name: _this.ks.fields.isAllDay,
819
+ field: _this.ks.fields.isAllDay,
820
+ editorId: 'k-is-allday-checkbox',
821
+ component: allDayLabel
822
+ },
823
+ field: _this.ks.fields.isAllDay,
824
+ editorId: 'k-is-allday-checkbox',
825
+ "class": 'k-checkbox-label',
826
+ component: allDayLabel
827
+ }, _this.v3 ? function () {
828
+ return [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])];
829
+ } : [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])])])];
830
+ } : [h(Field, {
550
831
  name: _this.ks.fields.isAllDay,
551
832
  attrs: _this.v3 ? undefined : {
552
833
  name: _this.ks.fields.isAllDay,
553
834
  component: KLabel
554
835
  },
555
- component: KLabel
836
+ component: KLabel,
837
+ "class": 'k-form-label'
556
838
  }), h("div", {
557
839
  "class": "k-form-field-wrap"
558
840
  }, [h(Field, {
@@ -564,9 +846,7 @@ var SchedulerFormEditorVue2 = {
564
846
  },
565
847
  name: _this.ks.fields.isAllDay,
566
848
  component: allDayEditor
567
- }),
568
- // @ts-ignore function children
569
- h(Field, {
849
+ }), h(Field, {
570
850
  name: _this.ks.fields.isAllDay,
571
851
  attrs: _this.v3 ? undefined : {
572
852
  name: _this.ks.fields.isAllDay,
@@ -580,7 +860,9 @@ var SchedulerFormEditorVue2 = {
580
860
  component: allDayLabel
581
861
  }, _this.v3 ? function () {
582
862
  return [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])];
583
- } : [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])])])]), h(Field, {
863
+ } : [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])])])]), h("div", {
864
+ "class": "k-recurrence-editor"
865
+ }, [h(Field, {
584
866
  component: recurrenceEditor,
585
867
  attrs: _this.v3 ? undefined : {
586
868
  component: recurrenceEditor,
@@ -593,17 +875,54 @@ var SchedulerFormEditorVue2 = {
593
875
  field: _this.ks.fields.recurrenceRule,
594
876
  name: _this.ks.fields.recurrenceRule,
595
877
  start: start
596
- }), h("div", {
597
- "class": "k-form-field"
598
- }, [
878
+ })]),
599
879
  // @ts-ignore function children
600
- h(Field, {
880
+ h(FieldWrapper, _this.v3 ? function () {
881
+ return [
882
+ // @ts-ignore function children
883
+ h(Field, {
884
+ name: _this.ks.fields.description,
885
+ attrs: _this.v3 ? undefined : {
886
+ name: _this.ks.fields.description,
887
+ component: descriptionLabel
888
+ },
889
+ component: descriptionLabel,
890
+ "class": 'k-form-label'
891
+ }, _this.v3 ? function () {
892
+ return [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])];
893
+ } : [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])]), h("div", {
894
+ "class": "k-form-field-wrap"
895
+ }, [h(Field, {
896
+ component: descriptionEditor,
897
+ attrs: _this.v3 ? undefined : {
898
+ component: descriptionEditor,
899
+ name: _this.ks.fields.description,
900
+ rows: 1,
901
+ id: 'k-event-description'
902
+ },
903
+ name: _this.ks.fields.description,
904
+ rows: 1,
905
+ id: 'k-event-description'
906
+ }), _this.kendoForm.errors[_this.ks.fields.description] &&
907
+ // @ts-ignore function children
908
+ h(Field, {
909
+ name: _this.ks.fields.description,
910
+ attrs: _this.v3 ? undefined : {
911
+ name: _this.ks.fields.description,
912
+ component: descriptionError
913
+ },
914
+ component: descriptionError
915
+ }, _this.v3 ? function () {
916
+ return [_this.kendoForm.errors[_this.ks.fields.description]];
917
+ } : [_this.kendoForm.errors[_this.ks.fields.description]])])];
918
+ } : [h(Field, {
601
919
  name: _this.ks.fields.description,
602
920
  attrs: _this.v3 ? undefined : {
603
921
  name: _this.ks.fields.description,
604
922
  component: descriptionLabel
605
923
  },
606
- component: descriptionLabel
924
+ component: descriptionLabel,
925
+ "class": 'k-form-label'
607
926
  }, _this.v3 ? function () {
608
927
  return [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])];
609
928
  } : [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])]), h("div", {
@@ -618,13 +937,8 @@ var SchedulerFormEditorVue2 = {
618
937
  },
619
938
  name: _this.ks.fields.description,
620
939
  rows: 1,
621
- id: 'k-event-description',
622
- style: {
623
- width: '100%'
624
- }
625
- }), _this.kendoForm.errors[_this.ks.fields.description] &&
626
- // @ts-ignore function children
627
- h(Field, {
940
+ id: 'k-event-description'
941
+ }), _this.kendoForm.errors[_this.ks.fields.description] && h(Field, {
628
942
  name: _this.ks.fields.description,
629
943
  attrs: _this.v3 ? undefined : {
630
944
  name: _this.ks.fields.description,
@@ -635,25 +949,80 @@ var SchedulerFormEditorVue2 = {
635
949
  return [_this.kendoForm.errors[_this.ks.fields.description]];
636
950
  } : [_this.kendoForm.errors[_this.ks.fields.description]])])]), (_this.ks.props.resources || []).map(function (resource) {
637
951
  var _this2 = this;
638
- return h("div", {
639
- key: resource.field
640
- }, [h("div", {
641
- "class": "k-form-field"
642
- }, [h(Field, {
643
- name: resource.field,
644
- attrs: this.v3 ? undefined : {
952
+ return (
953
+ // @ts-ignore function children
954
+ h(FieldWrapper, {
955
+ key: resource.field
956
+ }, this.v3 ? function () {
957
+ return [h(Field, {
958
+ name: resource.field,
959
+ attrs: _this2.v3 ? undefined : {
960
+ name: resource.field,
961
+ component: resourceLabel
962
+ },
963
+ component: resourceLabel,
964
+ "class": 'k-form-label'
965
+ }),
966
+ // @ts-ignore function children
967
+ h(KLabel, {
968
+ "class": 'k-form-label'
969
+ }, _this2.v3 ? function () {
970
+ return [resource.name];
971
+ } : [resource.name]), h(Field, {
972
+ name: resource.field,
973
+ attrs: _this2.v3 ? undefined : {
974
+ name: resource.field,
975
+ component: resourceEditor,
976
+ resource: resource,
977
+ multiple: resource.multiple,
978
+ dataItems: resource.data,
979
+ textField: resource.textField,
980
+ valueField: resource.valueField,
981
+ colorField: resource.colorField
982
+ },
983
+ component: resourceEditor,
984
+ resource: resource,
985
+ multiple: resource.multiple,
986
+ dataItems: resource.data,
987
+ textField: resource.textField,
988
+ valueField: resource.valueField,
989
+ colorField: resource.colorField
990
+ }), _this2.kendoForm.errors[resource.field] &&
991
+ // @ts-ignore function children
992
+ h(Field, {
993
+ name: resource.field,
994
+ attrs: _this2.v3 ? undefined : {
995
+ name: resource.field,
996
+ component: Error
997
+ },
998
+ component: Error
999
+ }, _this2.v3 ? function () {
1000
+ return [_this2.kendoForm.errors[resource.field]];
1001
+ } : [_this2.kendoForm.errors[resource.field]])];
1002
+ } : [h(Field, {
645
1003
  name: resource.field,
646
- component: resourceLabel
647
- },
648
- component: resourceLabel
649
- }),
650
- // @ts-ignore function children
651
- h(KLabel, this.v3 ? function () {
652
- return [resource.name];
653
- } : [resource.name]), h(Field, {
654
- name: resource.field,
655
- attrs: this.v3 ? undefined : {
1004
+ attrs: _this2.v3 ? undefined : {
1005
+ name: resource.field,
1006
+ component: resourceLabel
1007
+ },
1008
+ component: resourceLabel,
1009
+ "class": 'k-form-label'
1010
+ }), h(KLabel, {
1011
+ "class": 'k-form-label'
1012
+ }, _this2.v3 ? function () {
1013
+ return [resource.name];
1014
+ } : [resource.name]), h(Field, {
656
1015
  name: resource.field,
1016
+ attrs: _this2.v3 ? undefined : {
1017
+ name: resource.field,
1018
+ component: resourceEditor,
1019
+ resource: resource,
1020
+ multiple: resource.multiple,
1021
+ dataItems: resource.data,
1022
+ textField: resource.textField,
1023
+ valueField: resource.valueField,
1024
+ colorField: resource.colorField
1025
+ },
657
1026
  component: resourceEditor,
658
1027
  resource: resource,
659
1028
  multiple: resource.multiple,
@@ -661,30 +1030,54 @@ var SchedulerFormEditorVue2 = {
661
1030
  textField: resource.textField,
662
1031
  valueField: resource.valueField,
663
1032
  colorField: resource.colorField
664
- },
665
- component: resourceEditor,
666
- resource: resource,
667
- multiple: resource.multiple,
668
- dataItems: resource.data,
669
- textField: resource.textField,
670
- valueField: resource.valueField,
671
- colorField: resource.colorField
672
- }), this.kendoForm.errors[resource.field] &&
673
- // @ts-ignore function children
674
- h(Field, {
675
- name: resource.field,
676
- attrs: this.v3 ? undefined : {
1033
+ }), _this2.kendoForm.errors[resource.field] && h(Field, {
677
1034
  name: resource.field,
1035
+ attrs: _this2.v3 ? undefined : {
1036
+ name: resource.field,
1037
+ component: Error
1038
+ },
678
1039
  component: Error
679
- },
680
- component: Error
681
- }, this.v3 ? function () {
682
- return [_this2.kendoForm.errors[resource.field]];
683
- } : [_this2.kendoForm.errors[resource.field]])])]);
1040
+ }, _this2.v3 ? function () {
1041
+ return [_this2.kendoForm.errors[resource.field]];
1042
+ } : [_this2.kendoForm.errors[resource.field]])])
1043
+ );
684
1044
  }, _this), defaultSlots];
685
- } : [h("div", {
686
- "class": "k-form-field"
687
- }, [h(Field, {
1045
+ } : [h(FieldWrapper, _this.v3 ? function () {
1046
+ return [h(Field, {
1047
+ name: title,
1048
+ attrs: _this.v3 ? undefined : {
1049
+ name: title,
1050
+ component: titleLabel,
1051
+ editorId: 'k-scheduler-editor-title'
1052
+ },
1053
+ component: titleLabel,
1054
+ editorId: 'k-scheduler-editor-title'
1055
+ }, _this.v3 ? function () {
1056
+ return [localization.toLanguageString(editorEventTitle, messages[editorEventTitle])];
1057
+ } : [localization.toLanguageString(editorEventTitle, messages[editorEventTitle])]), h("div", {
1058
+ "class": "k-form-field-wrap"
1059
+ }, [h(Field, {
1060
+ id: "k-scheduler-editor-title",
1061
+ attrs: _this.v3 ? undefined : {
1062
+ id: "k-scheduler-editor-title",
1063
+ name: title,
1064
+ field: title,
1065
+ component: titleEditor
1066
+ },
1067
+ name: title,
1068
+ field: title,
1069
+ component: titleEditor
1070
+ }), _this.kendoForm.errors[title] && h(Field, {
1071
+ name: title,
1072
+ attrs: _this.v3 ? undefined : {
1073
+ name: title,
1074
+ component: titleError
1075
+ },
1076
+ component: titleError
1077
+ }, _this.v3 ? function () {
1078
+ return [_this.kendoForm.errors[title]];
1079
+ } : [_this.kendoForm.errors[title]])])];
1080
+ } : [h(Field, {
688
1081
  name: title,
689
1082
  attrs: _this.v3 ? undefined : {
690
1083
  name: title,
@@ -717,9 +1110,47 @@ var SchedulerFormEditorVue2 = {
717
1110
  component: titleError
718
1111
  }, _this.v3 ? function () {
719
1112
  return [_this.kendoForm.errors[title]];
720
- } : [_this.kendoForm.errors[title]])])]), h("div", {
721
- "class": "k-form-field"
722
- }, [h(Field, {
1113
+ } : [_this.kendoForm.errors[title]])])]), h(FieldWrapper, _this.v3 ? function () {
1114
+ return [h(Field, {
1115
+ name: _this.ks.fields.start,
1116
+ attrs: _this.v3 ? undefined : {
1117
+ name: _this.ks.fields.start,
1118
+ component: startLabel,
1119
+ editorId: "k-scheduler-editor-start"
1120
+ },
1121
+ component: startLabel,
1122
+ editorId: "k-scheduler-editor-start",
1123
+ "class": 'k-form-label'
1124
+ }, _this.v3 ? function () {
1125
+ return [localization.toLanguageString(editorEventStart, messages[editorEventStart])];
1126
+ } : [localization.toLanguageString(editorEventStart, messages[editorEventStart])]), h("div", {
1127
+ "class": "k-form-field-wrap"
1128
+ }, [h(Field, {
1129
+ id: "k-scheduler-editor-start",
1130
+ attrs: _this.v3 ? undefined : {
1131
+ id: "k-scheduler-editor-start",
1132
+ name: _this.ks.fields.start,
1133
+ width: "auto",
1134
+ component: startEditor,
1135
+ isAllDay: !!_this.kendoForm.values.isAllDay,
1136
+ timezone: _this.ks.timezone
1137
+ },
1138
+ name: _this.ks.fields.start,
1139
+ width: "auto",
1140
+ component: startEditor,
1141
+ isAllDay: !!_this.kendoForm.values.isAllDay,
1142
+ timezone: _this.ks.timezone
1143
+ }), _this.kendoForm.errors[_this.ks.fields.start] && h(Field, {
1144
+ name: _this.ks.fields.start,
1145
+ attrs: _this.v3 ? undefined : {
1146
+ name: _this.ks.fields.start,
1147
+ component: startError
1148
+ },
1149
+ component: startError
1150
+ }, _this.v3 ? function () {
1151
+ return [_this.kendoForm.errors[_this.ks.fields.start]];
1152
+ } : [_this.kendoForm.errors[_this.ks.fields.start]])])];
1153
+ } : [h(Field, {
723
1154
  name: _this.ks.fields.start,
724
1155
  attrs: _this.v3 ? undefined : {
725
1156
  name: _this.ks.fields.start,
@@ -727,15 +1158,13 @@ var SchedulerFormEditorVue2 = {
727
1158
  editorId: "k-scheduler-editor-start"
728
1159
  },
729
1160
  component: startLabel,
730
- editorId: "k-scheduler-editor-start"
1161
+ editorId: "k-scheduler-editor-start",
1162
+ "class": 'k-form-label'
731
1163
  }, _this.v3 ? function () {
732
1164
  return [localization.toLanguageString(editorEventStart, messages[editorEventStart])];
733
1165
  } : [localization.toLanguageString(editorEventStart, messages[editorEventStart])]), h("div", {
734
- "class": "k-form-field-wrap",
735
- style: {
736
- display: 'flex'
737
- }
738
- }, [h("div", [h(Field, {
1166
+ "class": "k-form-field-wrap"
1167
+ }, [h(Field, {
739
1168
  id: "k-scheduler-editor-start",
740
1169
  attrs: _this.v3 ? undefined : {
741
1170
  id: "k-scheduler-editor-start",
@@ -759,7 +1188,31 @@ var SchedulerFormEditorVue2 = {
759
1188
  component: startError
760
1189
  }, _this.v3 ? function () {
761
1190
  return [_this.kendoForm.errors[_this.ks.fields.start]];
762
- } : [_this.kendoForm.errors[_this.ks.fields.start]])]), timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
1191
+ } : [_this.kendoForm.errors[_this.ks.fields.start]])])]), h(FieldWrapper, _this.v3 ? function () {
1192
+ return [timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
1193
+ id: 'k-scheduler-editor-set-start-timezone',
1194
+ attrs: _this.v3 ? undefined : {
1195
+ id: 'k-scheduler-editor-set-start-timezone',
1196
+ value: _this.startZoneChecked
1197
+ },
1198
+ onChange: _this.handleStartZoneCheckboxChange,
1199
+ on: _this.v3 ? undefined : {
1200
+ "change": _this.handleStartZoneCheckboxChange
1201
+ },
1202
+ value: _this.startZoneChecked
1203
+ }), h(StartTimezoneCheckedLabel, {
1204
+ "class": 'k-checkbox-label',
1205
+ editorId: 'k-scheduler-editor-set-start-timezone',
1206
+ attrs: _this.v3 ? undefined : {
1207
+ editorId: 'k-scheduler-editor-set-start-timezone'
1208
+ },
1209
+ style: {
1210
+ display: 'inline-flex'
1211
+ }
1212
+ }, _this.v3 ? function () {
1213
+ return [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])];
1214
+ } : [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])])])];
1215
+ } : [timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
763
1216
  id: 'k-scheduler-editor-set-start-timezone',
764
1217
  attrs: _this.v3 ? undefined : {
765
1218
  id: 'k-scheduler-editor-set-start-timezone',
@@ -781,9 +1234,42 @@ var SchedulerFormEditorVue2 = {
781
1234
  }
782
1235
  }, _this.v3 ? function () {
783
1236
  return [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])];
784
- } : [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])])])])]), _this.startZoneChecked && h("div", {
785
- "class": "k-form-field"
786
- }, [h(Field, {
1237
+ } : [localization.toLanguageString(editorEventTimeZone, messages[editorEventTimeZone])])])]), _this.startZoneChecked && h(FieldWrapper, _this.v3 ? function () {
1238
+ return [h(Field, {
1239
+ name: _this.ks.fields.start,
1240
+ attrs: _this.v3 ? undefined : {
1241
+ name: _this.ks.fields.start,
1242
+ component: startTimezoneLabel
1243
+ },
1244
+ component: startTimezoneLabel
1245
+ }, _this.v3 ? function () {
1246
+ return [localization.toLanguageString(editorEventStartTimeZone, messages[editorEventStartTimeZone])];
1247
+ } : [localization.toLanguageString(editorEventStartTimeZone, messages[editorEventStartTimeZone])]), h("div", {
1248
+ "class": "k-form-field-wrap"
1249
+ }, [h(Field, {
1250
+ component: startTimezoneEditor,
1251
+ attrs: _this.v3 ? undefined : {
1252
+ component: startTimezoneEditor,
1253
+ value: startTimezone,
1254
+ validator: _this.startTimezoneValidator,
1255
+ dataItems: timezones,
1256
+ name: _this.ks.fields.startTimezone
1257
+ },
1258
+ value: startTimezone,
1259
+ validator: _this.startTimezoneValidator,
1260
+ dataItems: timezones,
1261
+ name: _this.ks.fields.startTimezone
1262
+ }), _this.kendoForm.errors[_this.ks.fields.startTimezone] && h(Field, {
1263
+ name: _this.ks.fields.startTimezone,
1264
+ attrs: _this.v3 ? undefined : {
1265
+ name: _this.ks.fields.startTimezone,
1266
+ component: startTimezoneError
1267
+ },
1268
+ component: startTimezoneError
1269
+ }, _this.v3 ? function () {
1270
+ return [_this.kendoForm.errors[_this.ks.fields.startTimezone]];
1271
+ } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])];
1272
+ } : [h(Field, {
787
1273
  name: _this.ks.fields.start,
788
1274
  attrs: _this.v3 ? undefined : {
789
1275
  name: _this.ks.fields.start,
@@ -816,9 +1302,47 @@ var SchedulerFormEditorVue2 = {
816
1302
  component: startTimezoneError
817
1303
  }, _this.v3 ? function () {
818
1304
  return [_this.kendoForm.errors[_this.ks.fields.startTimezone]];
819
- } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])]), h("div", {
820
- "class": "k-form-field"
821
- }, [h(Field, {
1305
+ } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])]), h(FieldWrapper, _this.v3 ? function () {
1306
+ return [h(Field, {
1307
+ name: _this.ks.fields.end,
1308
+ attrs: _this.v3 ? undefined : {
1309
+ name: _this.ks.fields.end,
1310
+ component: endLabel,
1311
+ editorId: "k-scheduler-editor-end"
1312
+ },
1313
+ component: endLabel,
1314
+ editorId: "k-scheduler-editor-end",
1315
+ "class": 'k-form-label'
1316
+ }, _this.v3 ? function () {
1317
+ return [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])];
1318
+ } : [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])]), h("div", {
1319
+ "class": "k-form-field-wrap"
1320
+ }, [h(Field, {
1321
+ id: "k-scheduler-editor-end",
1322
+ attrs: _this.v3 ? undefined : {
1323
+ id: "k-scheduler-editor-end",
1324
+ name: _this.ks.fields.end,
1325
+ width: "auto",
1326
+ component: endEditor,
1327
+ isAllDay: !!_this.kendoForm.values.isAllDay,
1328
+ timezone: _this.ks.timezone
1329
+ },
1330
+ name: _this.ks.fields.end,
1331
+ width: "auto",
1332
+ component: endEditor,
1333
+ isAllDay: !!_this.kendoForm.values.isAllDay,
1334
+ timezone: _this.ks.timezone
1335
+ }), _this.kendoForm.errors[_this.ks.fields.end] && h(Field, {
1336
+ name: _this.ks.fields.end,
1337
+ attrs: _this.v3 ? undefined : {
1338
+ name: _this.ks.fields.end,
1339
+ component: endError
1340
+ },
1341
+ component: endError
1342
+ }, _this.v3 ? function () {
1343
+ return [_this.kendoForm.errors[_this.ks.fields.end]];
1344
+ } : [_this.kendoForm.errors[_this.ks.fields.end]])])];
1345
+ } : [h(Field, {
822
1346
  name: _this.ks.fields.end,
823
1347
  attrs: _this.v3 ? undefined : {
824
1348
  name: _this.ks.fields.end,
@@ -826,15 +1350,13 @@ var SchedulerFormEditorVue2 = {
826
1350
  editorId: "k-scheduler-editor-end"
827
1351
  },
828
1352
  component: endLabel,
829
- editorId: "k-scheduler-editor-end"
1353
+ editorId: "k-scheduler-editor-end",
1354
+ "class": 'k-form-label'
830
1355
  }, _this.v3 ? function () {
831
1356
  return [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])];
832
1357
  } : [localization.toLanguageString(editorEventEnd, messages[editorEventEnd])]), h("div", {
833
- "class": "k-form-field-wrap",
834
- style: {
835
- display: 'flex'
836
- }
837
- }, [h("div", [h(Field, {
1358
+ "class": "k-form-field-wrap"
1359
+ }, [h(Field, {
838
1360
  id: "k-scheduler-editor-end",
839
1361
  attrs: _this.v3 ? undefined : {
840
1362
  id: "k-scheduler-editor-end",
@@ -858,7 +1380,41 @@ var SchedulerFormEditorVue2 = {
858
1380
  component: endError
859
1381
  }, _this.v3 ? function () {
860
1382
  return [_this.kendoForm.errors[_this.ks.fields.end]];
861
- } : [_this.kendoForm.errors[_this.ks.fields.end]])]), h("div", [_this.startZoneChecked && [h(EndTimezoneCheckedEditor, {
1383
+ } : [_this.kendoForm.errors[_this.ks.fields.end]])])]), _this.startZoneChecked && h(FieldWrapper, _this.v3 ? function () {
1384
+ return [h("div", {
1385
+ className: "k-form-field-wrap",
1386
+ attrs: _this.v3 ? undefined : {
1387
+ className: "k-form-field-wrap"
1388
+ }
1389
+ }, [h(EndTimezoneCheckedEditor, {
1390
+ id: 'k-scheduler-editor-set-end-timezone',
1391
+ attrs: _this.v3 ? undefined : {
1392
+ id: 'k-scheduler-editor-set-end-timezone',
1393
+ value: _this.endZoneChecked
1394
+ },
1395
+ onChange: _this.handleEndZoneCheckboxChange,
1396
+ on: _this.v3 ? undefined : {
1397
+ "change": _this.handleEndZoneCheckboxChange
1398
+ },
1399
+ value: _this.endZoneChecked
1400
+ })]), h(EndTimezoneCheckedLabel, {
1401
+ "class": 'k-checkbox-label',
1402
+ editorId: 'k-scheduler-editor-set-end-timezone',
1403
+ attrs: _this.v3 ? undefined : {
1404
+ editorId: 'k-scheduler-editor-set-end-timezone'
1405
+ },
1406
+ style: {
1407
+ display: 'inline-flex'
1408
+ }
1409
+ }, _this.v3 ? function () {
1410
+ return [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])];
1411
+ } : [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])])];
1412
+ } : [h("div", {
1413
+ className: "k-form-field-wrap",
1414
+ attrs: _this.v3 ? undefined : {
1415
+ className: "k-form-field-wrap"
1416
+ }
1417
+ }, [h(EndTimezoneCheckedEditor, {
862
1418
  id: 'k-scheduler-editor-set-end-timezone',
863
1419
  attrs: _this.v3 ? undefined : {
864
1420
  id: 'k-scheduler-editor-set-end-timezone',
@@ -869,7 +1425,7 @@ var SchedulerFormEditorVue2 = {
869
1425
  "change": _this.handleEndZoneCheckboxChange
870
1426
  },
871
1427
  value: _this.endZoneChecked
872
- }), h(EndTimezoneCheckedLabel, {
1428
+ })]), h(EndTimezoneCheckedLabel, {
873
1429
  "class": 'k-checkbox-label',
874
1430
  editorId: 'k-scheduler-editor-set-end-timezone',
875
1431
  attrs: _this.v3 ? undefined : {
@@ -880,15 +1436,50 @@ var SchedulerFormEditorVue2 = {
880
1436
  }
881
1437
  }, _this.v3 ? function () {
882
1438
  return [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])];
883
- } : [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])])]])])]), _this.endZoneChecked && h("div", {
884
- "class": "k-form-field"
885
- }, [h(Field, {
1439
+ } : [localization.toLanguageString(editorEventSeparateTimeZones, messages[editorEventSeparateTimeZones])])]), _this.endZoneChecked && h(FieldWrapper, _this.v3 ? function () {
1440
+ return [h(Field, {
1441
+ name: _this.ks.fields.endTimezone,
1442
+ attrs: _this.v3 ? undefined : {
1443
+ name: _this.ks.fields.endTimezone,
1444
+ component: endTimezoneLabel
1445
+ },
1446
+ component: endTimezoneLabel,
1447
+ "class": 'k-form-label'
1448
+ }, _this.v3 ? function () {
1449
+ return [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])];
1450
+ } : [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])]), h("div", {
1451
+ "class": "k-form-field-wrap"
1452
+ }, [h(Field, {
1453
+ value: endTimezone,
1454
+ attrs: _this.v3 ? undefined : {
1455
+ value: endTimezone,
1456
+ dataItems: timezones,
1457
+ validator: _this.endTimezoneValidator,
1458
+ component: endTimezoneEditor,
1459
+ name: _this.ks.fields.endTimezone
1460
+ },
1461
+ dataItems: timezones,
1462
+ validator: _this.endTimezoneValidator,
1463
+ component: endTimezoneEditor,
1464
+ name: _this.ks.fields.endTimezone
1465
+ }), _this.kendoForm.errors[_this.ks.fields.endTimezone] && h(Field, {
1466
+ name: _this.ks.fields.endTimezone,
1467
+ attrs: _this.v3 ? undefined : {
1468
+ name: _this.ks.fields.endTimezone,
1469
+ component: endTimezoneError
1470
+ },
1471
+ component: endTimezoneError
1472
+ }, _this.v3 ? function () {
1473
+ return [_this.kendoForm.errors[_this.ks.fields.endTimezone]];
1474
+ } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])];
1475
+ } : [h(Field, {
886
1476
  name: _this.ks.fields.endTimezone,
887
1477
  attrs: _this.v3 ? undefined : {
888
1478
  name: _this.ks.fields.endTimezone,
889
1479
  component: endTimezoneLabel
890
1480
  },
891
- component: endTimezoneLabel
1481
+ component: endTimezoneLabel,
1482
+ "class": 'k-form-label'
892
1483
  }, _this.v3 ? function () {
893
1484
  return [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])];
894
1485
  } : [localization.toLanguageString(editorEventEndTimeZone, messages[editorEventEndTimeZone])]), h("div", {
@@ -915,15 +1506,49 @@ var SchedulerFormEditorVue2 = {
915
1506
  component: endTimezoneError
916
1507
  }, _this.v3 ? function () {
917
1508
  return [_this.kendoForm.errors[_this.ks.fields.endTimezone]];
918
- } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])]), h("div", {
919
- "class": "k-form-field"
920
- }, [h(Field, {
1509
+ } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])]), h(FieldWrapper, _this.v3 ? function () {
1510
+ return [h(Field, {
1511
+ name: _this.ks.fields.isAllDay,
1512
+ attrs: _this.v3 ? undefined : {
1513
+ name: _this.ks.fields.isAllDay,
1514
+ component: KLabel
1515
+ },
1516
+ component: KLabel,
1517
+ "class": 'k-form-label'
1518
+ }), h("div", {
1519
+ "class": "k-form-field-wrap"
1520
+ }, [h(Field, {
1521
+ id: 'k-is-allday-checkbox',
1522
+ attrs: _this.v3 ? undefined : {
1523
+ id: 'k-is-allday-checkbox',
1524
+ name: _this.ks.fields.isAllDay,
1525
+ component: allDayEditor
1526
+ },
1527
+ name: _this.ks.fields.isAllDay,
1528
+ component: allDayEditor
1529
+ }), h(Field, {
1530
+ name: _this.ks.fields.isAllDay,
1531
+ attrs: _this.v3 ? undefined : {
1532
+ name: _this.ks.fields.isAllDay,
1533
+ field: _this.ks.fields.isAllDay,
1534
+ editorId: 'k-is-allday-checkbox',
1535
+ component: allDayLabel
1536
+ },
1537
+ field: _this.ks.fields.isAllDay,
1538
+ editorId: 'k-is-allday-checkbox',
1539
+ "class": 'k-checkbox-label',
1540
+ component: allDayLabel
1541
+ }, _this.v3 ? function () {
1542
+ return [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])];
1543
+ } : [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])])])];
1544
+ } : [h(Field, {
921
1545
  name: _this.ks.fields.isAllDay,
922
1546
  attrs: _this.v3 ? undefined : {
923
1547
  name: _this.ks.fields.isAllDay,
924
1548
  component: KLabel
925
1549
  },
926
- component: KLabel
1550
+ component: KLabel,
1551
+ "class": 'k-form-label'
927
1552
  }), h("div", {
928
1553
  "class": "k-form-field-wrap"
929
1554
  }, [h(Field, {
@@ -949,7 +1574,9 @@ var SchedulerFormEditorVue2 = {
949
1574
  component: allDayLabel
950
1575
  }, _this.v3 ? function () {
951
1576
  return [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])];
952
- } : [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])])])]), h(Field, {
1577
+ } : [localization.toLanguageString(editorEventAllDay, messages[editorEventAllDay])])])]), h("div", {
1578
+ "class": "k-recurrence-editor"
1579
+ }, [h(Field, {
953
1580
  component: recurrenceEditor,
954
1581
  attrs: _this.v3 ? undefined : {
955
1582
  component: recurrenceEditor,
@@ -962,15 +1589,48 @@ var SchedulerFormEditorVue2 = {
962
1589
  field: _this.ks.fields.recurrenceRule,
963
1590
  name: _this.ks.fields.recurrenceRule,
964
1591
  start: start
965
- }), h("div", {
966
- "class": "k-form-field"
967
- }, [h(Field, {
1592
+ })]), h(FieldWrapper, _this.v3 ? function () {
1593
+ return [h(Field, {
1594
+ name: _this.ks.fields.description,
1595
+ attrs: _this.v3 ? undefined : {
1596
+ name: _this.ks.fields.description,
1597
+ component: descriptionLabel
1598
+ },
1599
+ component: descriptionLabel,
1600
+ "class": 'k-form-label'
1601
+ }, _this.v3 ? function () {
1602
+ return [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])];
1603
+ } : [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])]), h("div", {
1604
+ "class": "k-form-field-wrap"
1605
+ }, [h(Field, {
1606
+ component: descriptionEditor,
1607
+ attrs: _this.v3 ? undefined : {
1608
+ component: descriptionEditor,
1609
+ name: _this.ks.fields.description,
1610
+ rows: 1,
1611
+ id: 'k-event-description'
1612
+ },
1613
+ name: _this.ks.fields.description,
1614
+ rows: 1,
1615
+ id: 'k-event-description'
1616
+ }), _this.kendoForm.errors[_this.ks.fields.description] && h(Field, {
1617
+ name: _this.ks.fields.description,
1618
+ attrs: _this.v3 ? undefined : {
1619
+ name: _this.ks.fields.description,
1620
+ component: descriptionError
1621
+ },
1622
+ component: descriptionError
1623
+ }, _this.v3 ? function () {
1624
+ return [_this.kendoForm.errors[_this.ks.fields.description]];
1625
+ } : [_this.kendoForm.errors[_this.ks.fields.description]])])];
1626
+ } : [h(Field, {
968
1627
  name: _this.ks.fields.description,
969
1628
  attrs: _this.v3 ? undefined : {
970
1629
  name: _this.ks.fields.description,
971
1630
  component: descriptionLabel
972
1631
  },
973
- component: descriptionLabel
1632
+ component: descriptionLabel,
1633
+ "class": 'k-form-label'
974
1634
  }, _this.v3 ? function () {
975
1635
  return [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])];
976
1636
  } : [localization.toLanguageString(editorEventDescription, messages[editorEventDescription])]), h("div", {
@@ -985,10 +1645,7 @@ var SchedulerFormEditorVue2 = {
985
1645
  },
986
1646
  name: _this.ks.fields.description,
987
1647
  rows: 1,
988
- id: 'k-event-description',
989
- style: {
990
- width: '100%'
991
- }
1648
+ id: 'k-event-description'
992
1649
  }), _this.kendoForm.errors[_this.ks.fields.description] && h(Field, {
993
1650
  name: _this.ks.fields.description,
994
1651
  attrs: _this.v3 ? undefined : {
@@ -1000,22 +1657,65 @@ var SchedulerFormEditorVue2 = {
1000
1657
  return [_this.kendoForm.errors[_this.ks.fields.description]];
1001
1658
  } : [_this.kendoForm.errors[_this.ks.fields.description]])])]), (_this.ks.props.resources || []).map(function (resource) {
1002
1659
  var _this2 = this;
1003
- return h("div", {
1660
+ return h(FieldWrapper, {
1004
1661
  key: resource.field
1005
- }, [h("div", {
1006
- "class": "k-form-field"
1007
- }, [h(Field, {
1662
+ }, this.v3 ? function () {
1663
+ return [h(Field, {
1664
+ name: resource.field,
1665
+ attrs: _this2.v3 ? undefined : {
1666
+ name: resource.field,
1667
+ component: resourceLabel
1668
+ },
1669
+ component: resourceLabel,
1670
+ "class": 'k-form-label'
1671
+ }), h(KLabel, {
1672
+ "class": 'k-form-label'
1673
+ }, _this2.v3 ? function () {
1674
+ return [resource.name];
1675
+ } : [resource.name]), h(Field, {
1676
+ name: resource.field,
1677
+ attrs: _this2.v3 ? undefined : {
1678
+ name: resource.field,
1679
+ component: resourceEditor,
1680
+ resource: resource,
1681
+ multiple: resource.multiple,
1682
+ dataItems: resource.data,
1683
+ textField: resource.textField,
1684
+ valueField: resource.valueField,
1685
+ colorField: resource.colorField
1686
+ },
1687
+ component: resourceEditor,
1688
+ resource: resource,
1689
+ multiple: resource.multiple,
1690
+ dataItems: resource.data,
1691
+ textField: resource.textField,
1692
+ valueField: resource.valueField,
1693
+ colorField: resource.colorField
1694
+ }), _this2.kendoForm.errors[resource.field] && h(Field, {
1695
+ name: resource.field,
1696
+ attrs: _this2.v3 ? undefined : {
1697
+ name: resource.field,
1698
+ component: Error
1699
+ },
1700
+ component: Error
1701
+ }, _this2.v3 ? function () {
1702
+ return [_this2.kendoForm.errors[resource.field]];
1703
+ } : [_this2.kendoForm.errors[resource.field]])];
1704
+ } : [h(Field, {
1008
1705
  name: resource.field,
1009
- attrs: this.v3 ? undefined : {
1706
+ attrs: _this2.v3 ? undefined : {
1010
1707
  name: resource.field,
1011
1708
  component: resourceLabel
1012
1709
  },
1013
- component: resourceLabel
1014
- }), h(KLabel, this.v3 ? function () {
1710
+ component: resourceLabel,
1711
+ "class": 'k-form-label'
1712
+ }), h(KLabel, {
1713
+ "class": 'k-form-label'
1714
+ }, _this2.v3 ? function () {
1015
1715
  return [resource.name];
1016
1716
  } : [resource.name]), h(Field, {
1017
1717
  name: resource.field,
1018
- attrs: this.v3 ? undefined : {
1718
+ attrs: _this2.v3 ? undefined : {
1019
1719
  name: resource.field,
1020
1720
  component: resourceEditor,
1021
1721
  resource: resource,
@@ -1032,16 +1732,16 @@ var SchedulerFormEditorVue2 = {
1032
1732
  textField: resource.textField,
1033
1733
  valueField: resource.valueField,
1034
1734
  colorField: resource.colorField
1035
- }), this.kendoForm.errors[resource.field] && h(Field, {
1735
+ }), _this2.kendoForm.errors[resource.field] && h(Field, {
1036
1736
  name: resource.field,
1037
- attrs: this.v3 ? undefined : {
1737
+ attrs: _this2.v3 ? undefined : {
1038
1738
  name: resource.field,
1039
1739
  component: Error
1040
1740
  },
1041
1741
  component: Error
1042
- }, this.v3 ? function () {
1742
+ }, _this2.v3 ? function () {
1043
1743
  return [_this2.kendoForm.errors[resource.field]];
1044
- } : [_this2.kendoForm.errors[resource.field]])])]);
1744
+ } : [_this2.kendoForm.errors[resource.field]])]);
1045
1745
  }, _this), defaultSlots])
1046
1746
  );
1047
1747
  },