@progress/kendo-vue-scheduler 3.1.5 → 3.2.0-dev.202204120815

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.
@@ -39,6 +39,8 @@ var messages_1 = require("../messages"); // import { useSchedulerPropsContext, u
39
39
 
40
40
  var FilterableComboBox_1 = require("./FilterableComboBox");
41
41
 
42
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
43
+
42
44
  var RecurrenceEditor_1 = require("../recurrence/RecurrenceEditor");
43
45
 
44
46
  var ResourceEditor_1 = require("./ResourceEditor");
@@ -261,9 +263,9 @@ var SchedulerFormEditorVue2 = {
261
263
  var _this = this;
262
264
 
263
265
  var h = gh || createElement;
266
+ var defaultSlots = kendo_vue_common_1.getDefaultSlots(this);
264
267
  var timezones = kendo_date_math_1.timezoneNames();
265
- var localization = kendo_vue_intl_1.provideLocalizationService(this); // const fields = useSchedulerFieldsContext();
266
- // const { resources, timezone } = useSchedulerPropsContext();
268
+ var localization = kendo_vue_intl_1.provideLocalizationService(this);
267
269
 
268
270
  var _a = this.$props,
269
271
  Component = _a.as,
@@ -302,359 +304,719 @@ var SchedulerFormEditorVue2 = {
302
304
  var endTimezone = this.kendoForm.valueGetter(this.ks.fields.endTimezone) || this.ks.timezone || '';
303
305
  this.requiredValidationMessage = localization.toLanguageString(messages_1.editorValidationRequired, messages_1.messages[messages_1.editorValidationRequired]);
304
306
  var title = this.ks.fields.title;
305
- return h("div", {
306
- // {...other}
307
- "class": 'k-scheduler-edit-form'
308
- }, [h("div", {
309
- "class": "k-form-field"
310
- }, [// @ts-ignore function children
311
- h(kendo_vue_form_1.Field, {
312
- name: title,
313
- attrs: this.v3 ? undefined : {
307
+ return (// @ts-ignore function children
308
+ h(kendo_vue_form_1.FormElement, {
309
+ "class": 'k-scheduler-edit-form'
310
+ }, this.v3 ? function () {
311
+ return [h("div", {
312
+ "class": "k-form-field"
313
+ }, [// @ts-ignore function children
314
+ h(kendo_vue_form_1.Field, {
315
+ name: title,
316
+ attrs: _this.v3 ? undefined : {
317
+ name: title,
318
+ component: TitleLabel,
319
+ editorId: 'k-scheduler-editor-title'
320
+ },
321
+ component: TitleLabel,
322
+ editorId: 'k-scheduler-editor-title'
323
+ }, _this.v3 ? function () {
324
+ return [localization.toLanguageString(messages_1.editorEventTitle, messages_1.messages[messages_1.editorEventTitle])];
325
+ } : [localization.toLanguageString(messages_1.editorEventTitle, messages_1.messages[messages_1.editorEventTitle])]), h("div", {
326
+ "class": "k-form-field-wrap"
327
+ }, [h(kendo_vue_form_1.Field, {
328
+ id: "k-scheduler-editor-title",
329
+ attrs: _this.v3 ? undefined : {
330
+ id: "k-scheduler-editor-title",
331
+ name: title,
332
+ field: title,
333
+ component: TitleEditor
334
+ },
335
+ name: title,
336
+ field: title,
337
+ component: TitleEditor
338
+ }), _this.kendoForm.errors[title] && // @ts-ignore function children
339
+ h(kendo_vue_form_1.Field, {
340
+ name: title,
341
+ attrs: _this.v3 ? undefined : {
342
+ name: title,
343
+ component: TitleError
344
+ },
345
+ component: TitleError
346
+ }, _this.v3 ? function () {
347
+ return [_this.kendoForm.errors[title]];
348
+ } : [_this.kendoForm.errors[title]])])]), h("div", {
349
+ "class": "k-form-field"
350
+ }, [// @ts-ignore function children
351
+ h(kendo_vue_form_1.Field, {
352
+ name: _this.ks.fields.start,
353
+ attrs: _this.v3 ? undefined : {
354
+ name: _this.ks.fields.start,
355
+ component: StartLabel,
356
+ editorId: "k-scheduler-editor-start"
357
+ },
358
+ component: StartLabel,
359
+ editorId: "k-scheduler-editor-start"
360
+ }, _this.v3 ? function () {
361
+ return [localization.toLanguageString(messages_1.editorEventStart, messages_1.messages[messages_1.editorEventStart])];
362
+ } : [localization.toLanguageString(messages_1.editorEventStart, messages_1.messages[messages_1.editorEventStart])]), h("div", {
363
+ "class": "k-form-field-wrap",
364
+ style: {
365
+ display: 'flex'
366
+ }
367
+ }, [h("div", [h(kendo_vue_form_1.Field, {
368
+ id: "k-scheduler-editor-start",
369
+ attrs: _this.v3 ? undefined : {
370
+ id: "k-scheduler-editor-start",
371
+ name: _this.ks.fields.start,
372
+ width: "auto",
373
+ component: StartEditor,
374
+ isAllDay: !!_this.kendoForm.values.isAllDay,
375
+ timezone: _this.ks.timezone
376
+ },
377
+ name: _this.ks.fields.start,
378
+ width: "auto",
379
+ component: StartEditor,
380
+ isAllDay: !!_this.kendoForm.values.isAllDay,
381
+ timezone: _this.ks.timezone
382
+ }), _this.kendoForm.errors[_this.ks.fields.start] && // @ts-ignore function children
383
+ h(kendo_vue_form_1.Field, {
384
+ name: _this.ks.fields.start,
385
+ attrs: _this.v3 ? undefined : {
386
+ name: _this.ks.fields.start,
387
+ component: StartError
388
+ },
389
+ component: StartError
390
+ }, _this.v3 ? function () {
391
+ return [_this.kendoForm.errors[_this.ks.fields.start]];
392
+ } : [_this.kendoForm.errors[_this.ks.fields.start]])]), "\xA0", timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
393
+ id: 'k-scheduler-editor-set-start-timezone',
394
+ attrs: _this.v3 ? undefined : {
395
+ id: 'k-scheduler-editor-set-start-timezone',
396
+ value: _this.startZoneChecked
397
+ },
398
+ onChange: _this.handleStartZoneCheckboxChange,
399
+ on: _this.v3 ? undefined : {
400
+ "change": _this.handleStartZoneCheckboxChange
401
+ },
402
+ value: _this.startZoneChecked
403
+ }), "\xA0", // @ts-ignore function children
404
+ h(StartTimezoneCheckedLabel, {
405
+ "class": 'k-checkbox-label',
406
+ editorId: 'k-scheduler-editor-set-start-timezone',
407
+ attrs: _this.v3 ? undefined : {
408
+ editorId: 'k-scheduler-editor-set-start-timezone'
409
+ },
410
+ style: {
411
+ display: 'inline-flex'
412
+ }
413
+ }, _this.v3 ? function () {
414
+ return [localization.toLanguageString(messages_1.editorEventTimeZone, messages_1.messages[messages_1.editorEventTimeZone])];
415
+ } : [localization.toLanguageString(messages_1.editorEventTimeZone, messages_1.messages[messages_1.editorEventTimeZone])])])])]), _this.startZoneChecked && h("div", {
416
+ "class": "k-form-field"
417
+ }, [// @ts-ignore function children
418
+ h(kendo_vue_form_1.Field, {
419
+ name: _this.ks.fields.start,
420
+ attrs: _this.v3 ? undefined : {
421
+ name: _this.ks.fields.start,
422
+ component: StartTimezoneLabel
423
+ },
424
+ component: StartTimezoneLabel
425
+ }, _this.v3 ? function () {
426
+ return [localization.toLanguageString(messages_1.editorEventStartTimeZone, messages_1.messages[messages_1.editorEventStartTimeZone])];
427
+ } : [localization.toLanguageString(messages_1.editorEventStartTimeZone, messages_1.messages[messages_1.editorEventStartTimeZone])]), h("div", {
428
+ "class": "k-form-field-wrap"
429
+ }, [h(kendo_vue_form_1.Field, {
430
+ component: StartTimezoneEditor,
431
+ attrs: _this.v3 ? undefined : {
432
+ component: StartTimezoneEditor,
433
+ value: startTimezone,
434
+ validator: _this.startTimezoneValidator,
435
+ dataItems: timezones,
436
+ name: _this.ks.fields.startTimezone
437
+ },
438
+ value: startTimezone,
439
+ validator: _this.startTimezoneValidator,
440
+ dataItems: timezones,
441
+ name: _this.ks.fields.startTimezone
442
+ }), _this.kendoForm.errors[_this.ks.fields.startTimezone] && // @ts-ignore function children
443
+ h(kendo_vue_form_1.Field, {
444
+ name: _this.ks.fields.startTimezone,
445
+ attrs: _this.v3 ? undefined : {
446
+ name: _this.ks.fields.startTimezone,
447
+ component: StartTimezoneError
448
+ },
449
+ component: StartTimezoneError
450
+ }, _this.v3 ? function () {
451
+ return [_this.kendoForm.errors[_this.ks.fields.startTimezone]];
452
+ } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])]), h("div", {
453
+ "class": "k-form-field"
454
+ }, [// @ts-ignore function children
455
+ h(kendo_vue_form_1.Field, {
456
+ name: _this.ks.fields.end,
457
+ attrs: _this.v3 ? undefined : {
458
+ name: _this.ks.fields.end,
459
+ component: EndLabel,
460
+ editorId: "k-scheduler-editor-end"
461
+ },
462
+ component: EndLabel,
463
+ editorId: "k-scheduler-editor-end"
464
+ }, _this.v3 ? function () {
465
+ return [localization.toLanguageString(messages_1.editorEventEnd, messages_1.messages[messages_1.editorEventEnd])];
466
+ } : [localization.toLanguageString(messages_1.editorEventEnd, messages_1.messages[messages_1.editorEventEnd])]), h("div", {
467
+ "class": "k-form-field-wrap",
468
+ style: {
469
+ display: 'flex'
470
+ }
471
+ }, [h("div", [h(kendo_vue_form_1.Field, {
472
+ id: "k-scheduler-editor-end",
473
+ attrs: _this.v3 ? undefined : {
474
+ id: "k-scheduler-editor-end",
475
+ name: _this.ks.fields.end,
476
+ width: "auto",
477
+ component: EndEditor,
478
+ isAllDay: !!_this.kendoForm.values.isAllDay,
479
+ timezone: _this.ks.timezone
480
+ },
481
+ name: _this.ks.fields.end,
482
+ width: "auto",
483
+ component: EndEditor,
484
+ isAllDay: !!_this.kendoForm.values.isAllDay,
485
+ timezone: _this.ks.timezone
486
+ }), _this.kendoForm.errors[_this.ks.fields.end] && // @ts-ignore function children
487
+ h(kendo_vue_form_1.Field, {
488
+ name: _this.ks.fields.end,
489
+ attrs: _this.v3 ? undefined : {
490
+ name: _this.ks.fields.end,
491
+ component: EndError
492
+ },
493
+ component: EndError
494
+ }, _this.v3 ? function () {
495
+ return [_this.kendoForm.errors[_this.ks.fields.end]];
496
+ } : [_this.kendoForm.errors[_this.ks.fields.end]])]), "\xA0", h("div", [_this.startZoneChecked && [h(EndTimezoneCheckedEditor, {
497
+ id: 'k-scheduler-editor-set-end-timezone',
498
+ attrs: _this.v3 ? undefined : {
499
+ id: 'k-scheduler-editor-set-end-timezone',
500
+ value: _this.endZoneChecked
501
+ },
502
+ onChange: _this.handleEndZoneCheckboxChange,
503
+ on: _this.v3 ? undefined : {
504
+ "change": _this.handleEndZoneCheckboxChange
505
+ },
506
+ value: _this.endZoneChecked
507
+ }), // @ts-ignore function children
508
+ h(EndTimezoneCheckedLabel, {
509
+ "class": 'k-checkbox-label',
510
+ editorId: 'k-scheduler-editor-set-end-timezone',
511
+ attrs: _this.v3 ? undefined : {
512
+ editorId: 'k-scheduler-editor-set-end-timezone'
513
+ },
514
+ style: {
515
+ display: 'inline-flex'
516
+ }
517
+ }, _this.v3 ? function () {
518
+ return [localization.toLanguageString(messages_1.editorEventSeparateTimeZones, messages_1.messages[messages_1.editorEventSeparateTimeZones])];
519
+ } : [localization.toLanguageString(messages_1.editorEventSeparateTimeZones, messages_1.messages[messages_1.editorEventSeparateTimeZones])])]])])]), _this.endZoneChecked && h("div", {
520
+ "class": "k-form-field"
521
+ }, [// @ts-ignore function children
522
+ h(kendo_vue_form_1.Field, {
523
+ name: _this.ks.fields.endTimezone,
524
+ attrs: _this.v3 ? undefined : {
525
+ name: _this.ks.fields.endTimezone,
526
+ component: EndTimezoneLabel
527
+ },
528
+ component: EndTimezoneLabel
529
+ }, _this.v3 ? function () {
530
+ return [localization.toLanguageString(messages_1.editorEventEndTimeZone, messages_1.messages[messages_1.editorEventEndTimeZone])];
531
+ } : [localization.toLanguageString(messages_1.editorEventEndTimeZone, messages_1.messages[messages_1.editorEventEndTimeZone])]), h("div", {
532
+ "class": "k-form-field-wrap"
533
+ }, [h(kendo_vue_form_1.Field, {
534
+ value: endTimezone,
535
+ attrs: _this.v3 ? undefined : {
536
+ value: endTimezone,
537
+ dataItems: timezones,
538
+ validator: _this.endTimezoneValidator,
539
+ component: EndTimezoneEditor,
540
+ name: _this.ks.fields.endTimezone
541
+ },
542
+ dataItems: timezones,
543
+ validator: _this.endTimezoneValidator,
544
+ component: EndTimezoneEditor,
545
+ name: _this.ks.fields.endTimezone
546
+ }), _this.kendoForm.errors[_this.ks.fields.endTimezone] && // @ts-ignore function children
547
+ h(kendo_vue_form_1.Field, {
548
+ name: _this.ks.fields.endTimezone,
549
+ attrs: _this.v3 ? undefined : {
550
+ name: _this.ks.fields.endTimezone,
551
+ component: EndTimezoneError
552
+ },
553
+ component: EndTimezoneError
554
+ }, _this.v3 ? function () {
555
+ return [_this.kendoForm.errors[_this.ks.fields.endTimezone]];
556
+ } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])]), h("div", {
557
+ "class": "k-form-field"
558
+ }, [h(kendo_vue_form_1.Field, {
559
+ name: _this.ks.fields.isAllDay,
560
+ attrs: _this.v3 ? undefined : {
561
+ name: _this.ks.fields.isAllDay,
562
+ component: kendo_vue_labels_1.Label
563
+ },
564
+ component: kendo_vue_labels_1.Label
565
+ }), h("div", {
566
+ "class": "k-form-field-wrap"
567
+ }, [h(kendo_vue_form_1.Field, {
568
+ id: 'k-is-allday-checkbox',
569
+ attrs: _this.v3 ? undefined : {
570
+ id: 'k-is-allday-checkbox',
571
+ name: _this.ks.fields.isAllDay,
572
+ component: AllDayEditor
573
+ },
574
+ name: _this.ks.fields.isAllDay,
575
+ component: AllDayEditor
576
+ }), "\xA0", // @ts-ignore function children
577
+ h(kendo_vue_form_1.Field, {
578
+ name: _this.ks.fields.isAllDay,
579
+ attrs: _this.v3 ? undefined : {
580
+ name: _this.ks.fields.isAllDay,
581
+ field: _this.ks.fields.isAllDay,
582
+ editorId: 'k-is-allday-checkbox',
583
+ component: AllDayLabel
584
+ },
585
+ field: _this.ks.fields.isAllDay,
586
+ editorId: 'k-is-allday-checkbox',
587
+ "class": 'k-checkbox-label',
588
+ component: AllDayLabel
589
+ }, _this.v3 ? function () {
590
+ return [localization.toLanguageString(messages_1.editorEventAllDay, messages_1.messages[messages_1.editorEventAllDay])];
591
+ } : [localization.toLanguageString(messages_1.editorEventAllDay, messages_1.messages[messages_1.editorEventAllDay])])])]), h(kendo_vue_form_1.Field, {
592
+ component: RecurrenceEditor,
593
+ attrs: _this.v3 ? undefined : {
594
+ component: RecurrenceEditor,
595
+ changeOnInput: false,
596
+ field: _this.ks.fields.recurrenceRule,
597
+ name: _this.ks.fields.recurrenceRule,
598
+ start: start
599
+ },
600
+ changeOnInput: false,
601
+ field: _this.ks.fields.recurrenceRule,
602
+ name: _this.ks.fields.recurrenceRule,
603
+ start: start
604
+ }), h("div", {
605
+ "class": "k-form-field"
606
+ }, [// @ts-ignore function children
607
+ h(kendo_vue_form_1.Field, {
608
+ name: _this.ks.fields.description,
609
+ attrs: _this.v3 ? undefined : {
610
+ name: _this.ks.fields.description,
611
+ component: DescriptionLabel
612
+ },
613
+ component: DescriptionLabel
614
+ }, _this.v3 ? function () {
615
+ return [localization.toLanguageString(messages_1.editorEventDescription, messages_1.messages[messages_1.editorEventDescription])];
616
+ } : [localization.toLanguageString(messages_1.editorEventDescription, messages_1.messages[messages_1.editorEventDescription])]), h("div", {
617
+ "class": "k-form-field-wrap"
618
+ }, [h(kendo_vue_form_1.Field, {
619
+ component: DescriptionEditor,
620
+ attrs: _this.v3 ? undefined : {
621
+ component: DescriptionEditor,
622
+ name: _this.ks.fields.description,
623
+ rows: 1,
624
+ id: 'k-event-description'
625
+ },
626
+ name: _this.ks.fields.description,
627
+ rows: 1,
628
+ id: 'k-event-description',
629
+ style: {
630
+ width: '100%'
631
+ }
632
+ }), _this.kendoForm.errors[_this.ks.fields.description] && // @ts-ignore function children
633
+ h(kendo_vue_form_1.Field, {
634
+ name: _this.ks.fields.description,
635
+ attrs: _this.v3 ? undefined : {
636
+ name: _this.ks.fields.description,
637
+ component: DescriptionError
638
+ },
639
+ component: DescriptionError
640
+ }, _this.v3 ? function () {
641
+ return [_this.kendoForm.errors[_this.ks.fields.description]];
642
+ } : [_this.kendoForm.errors[_this.ks.fields.description]])])]), (_this.ks.props.resources || []).map(function (resource) {
643
+ return h("div", {
644
+ key: resource.field
645
+ }, [h("div", {
646
+ "class": "k-form-field"
647
+ }, [h(kendo_vue_form_1.Field, {
648
+ name: resource.field,
649
+ attrs: this.v3 ? undefined : {
650
+ name: resource.field,
651
+ component: ResourceLabel
652
+ },
653
+ component: ResourceLabel
654
+ }), // @ts-ignore function children
655
+ h(Label, this.v3 ? function () {
656
+ return [resource.name];
657
+ } : [resource.name]), h(kendo_vue_form_1.Field, {
658
+ name: resource.field,
659
+ attrs: this.v3 ? undefined : {
660
+ name: resource.field,
661
+ component: ResourceEditor,
662
+ resource: resource,
663
+ multiple: resource.multiple,
664
+ dataItems: resource.data,
665
+ textField: resource.textField,
666
+ valueField: resource.valueField,
667
+ colorField: resource.colorField
668
+ },
669
+ component: ResourceEditor,
670
+ resource: resource,
671
+ multiple: resource.multiple,
672
+ dataItems: resource.data,
673
+ textField: resource.textField,
674
+ valueField: resource.valueField,
675
+ colorField: resource.colorField
676
+ })])]);
677
+ }, _this), defaultSlots];
678
+ } : [h("div", {
679
+ "class": "k-form-field"
680
+ }, [h(kendo_vue_form_1.Field, {
314
681
  name: title,
682
+ attrs: _this.v3 ? undefined : {
683
+ name: title,
684
+ component: TitleLabel,
685
+ editorId: 'k-scheduler-editor-title'
686
+ },
315
687
  component: TitleLabel,
316
688
  editorId: 'k-scheduler-editor-title'
317
- },
318
- component: TitleLabel,
319
- editorId: 'k-scheduler-editor-title'
320
- }, this.v3 ? function () {
321
- return [localization.toLanguageString(messages_1.editorEventTitle, messages_1.messages[messages_1.editorEventTitle])];
322
- } : [localization.toLanguageString(messages_1.editorEventTitle, messages_1.messages[messages_1.editorEventTitle])]), h("div", {
323
- "class": "k-form-field-wrap"
324
- }, [h(kendo_vue_form_1.Field, {
325
- id: "k-scheduler-editor-title",
326
- attrs: this.v3 ? undefined : {
689
+ }, _this.v3 ? function () {
690
+ return [localization.toLanguageString(messages_1.editorEventTitle, messages_1.messages[messages_1.editorEventTitle])];
691
+ } : [localization.toLanguageString(messages_1.editorEventTitle, messages_1.messages[messages_1.editorEventTitle])]), h("div", {
692
+ "class": "k-form-field-wrap"
693
+ }, [h(kendo_vue_form_1.Field, {
327
694
  id: "k-scheduler-editor-title",
695
+ attrs: _this.v3 ? undefined : {
696
+ id: "k-scheduler-editor-title",
697
+ name: title,
698
+ field: title,
699
+ component: TitleEditor
700
+ },
328
701
  name: title,
329
702
  field: title,
330
703
  component: TitleEditor
331
- },
332
- name: title,
333
- field: title,
334
- component: TitleEditor
335
- }), this.kendoForm.errors[title] && // @ts-ignore function children
336
- h(kendo_vue_form_1.Field, {
337
- name: title,
338
- attrs: this.v3 ? undefined : {
704
+ }), _this.kendoForm.errors[title] && h(kendo_vue_form_1.Field, {
339
705
  name: title,
706
+ attrs: _this.v3 ? undefined : {
707
+ name: title,
708
+ component: TitleError
709
+ },
340
710
  component: TitleError
341
- },
342
- component: TitleError
343
- }, this.v3 ? function () {
344
- return [_this.kendoForm.errors[title]];
345
- } : [_this.kendoForm.errors[title]])])]), h("div", {
346
- "class": "k-form-field"
347
- }, [// @ts-ignore function children
348
- h(kendo_vue_form_1.Field, {
349
- name: this.ks.fields.start,
350
- attrs: this.v3 ? undefined : {
351
- name: this.ks.fields.start,
711
+ }, _this.v3 ? function () {
712
+ return [_this.kendoForm.errors[title]];
713
+ } : [_this.kendoForm.errors[title]])])]), h("div", {
714
+ "class": "k-form-field"
715
+ }, [h(kendo_vue_form_1.Field, {
716
+ name: _this.ks.fields.start,
717
+ attrs: _this.v3 ? undefined : {
718
+ name: _this.ks.fields.start,
719
+ component: StartLabel,
720
+ editorId: "k-scheduler-editor-start"
721
+ },
352
722
  component: StartLabel,
353
723
  editorId: "k-scheduler-editor-start"
354
- },
355
- component: StartLabel,
356
- editorId: "k-scheduler-editor-start"
357
- }, this.v3 ? function () {
358
- return [localization.toLanguageString(messages_1.editorEventStart, messages_1.messages[messages_1.editorEventStart])];
359
- } : [localization.toLanguageString(messages_1.editorEventStart, messages_1.messages[messages_1.editorEventStart])]), h("div", {
360
- "class": "k-form-field-wrap",
361
- style: {
362
- display: 'flex'
363
- }
364
- }, [h("div", [h(kendo_vue_form_1.Field, {
365
- id: "k-scheduler-editor-start",
366
- attrs: this.v3 ? undefined : {
724
+ }, _this.v3 ? function () {
725
+ return [localization.toLanguageString(messages_1.editorEventStart, messages_1.messages[messages_1.editorEventStart])];
726
+ } : [localization.toLanguageString(messages_1.editorEventStart, messages_1.messages[messages_1.editorEventStart])]), h("div", {
727
+ "class": "k-form-field-wrap",
728
+ style: {
729
+ display: 'flex'
730
+ }
731
+ }, [h("div", [h(kendo_vue_form_1.Field, {
367
732
  id: "k-scheduler-editor-start",
368
- name: this.ks.fields.start,
733
+ attrs: _this.v3 ? undefined : {
734
+ id: "k-scheduler-editor-start",
735
+ name: _this.ks.fields.start,
736
+ width: "auto",
737
+ component: StartEditor,
738
+ isAllDay: !!_this.kendoForm.values.isAllDay,
739
+ timezone: _this.ks.timezone
740
+ },
741
+ name: _this.ks.fields.start,
369
742
  width: "auto",
370
743
  component: StartEditor,
371
- isAllDay: !!this.kendoForm.values.isAllDay,
372
- timezone: this.ks.timezone
373
- },
374
- name: this.ks.fields.start,
375
- width: "auto",
376
- component: StartEditor,
377
- isAllDay: !!this.kendoForm.values.isAllDay,
378
- timezone: this.ks.timezone
379
- }), this.kendoForm.errors[this.ks.fields.start] && // @ts-ignore function children
380
- h(kendo_vue_form_1.Field, {
381
- name: this.ks.fields.start,
382
- attrs: this.v3 ? undefined : {
383
- name: this.ks.fields.start,
744
+ isAllDay: !!_this.kendoForm.values.isAllDay,
745
+ timezone: _this.ks.timezone
746
+ }), _this.kendoForm.errors[_this.ks.fields.start] && h(kendo_vue_form_1.Field, {
747
+ name: _this.ks.fields.start,
748
+ attrs: _this.v3 ? undefined : {
749
+ name: _this.ks.fields.start,
750
+ component: StartError
751
+ },
384
752
  component: StartError
385
- },
386
- component: StartError
387
- }, this.v3 ? function () {
388
- return [_this.kendoForm.errors[_this.ks.fields.start]];
389
- } : [_this.kendoForm.errors[_this.ks.fields.start]])]), "\xA0", timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
390
- id: 'k-scheduler-editor-set-start-timezone',
391
- attrs: this.v3 ? undefined : {
753
+ }, _this.v3 ? function () {
754
+ return [_this.kendoForm.errors[_this.ks.fields.start]];
755
+ } : [_this.kendoForm.errors[_this.ks.fields.start]])]), "\xA0", timezones.length > 0 && h("div", [h(StartTimezoneCheckedEditor, {
392
756
  id: 'k-scheduler-editor-set-start-timezone',
393
- value: this.startZoneChecked
394
- },
395
- onChange: this.handleStartZoneCheckboxChange,
396
- on: this.v3 ? undefined : {
397
- "change": this.handleStartZoneCheckboxChange
398
- },
399
- value: this.startZoneChecked
400
- }), "\xA0", // @ts-ignore function children
401
- h(StartTimezoneCheckedLabel, {
402
- "class": 'k-checkbox-label',
403
- editorId: 'k-scheduler-editor-set-start-timezone',
404
- attrs: this.v3 ? undefined : {
405
- editorId: 'k-scheduler-editor-set-start-timezone'
406
- },
407
- style: {
408
- display: 'inline-flex'
409
- }
410
- }, this.v3 ? function () {
411
- return [localization.toLanguageString(messages_1.editorEventTimeZone, messages_1.messages[messages_1.editorEventTimeZone])];
412
- } : [localization.toLanguageString(messages_1.editorEventTimeZone, messages_1.messages[messages_1.editorEventTimeZone])])])])]), this.startZoneChecked && h("div", {
413
- "class": "k-form-field"
414
- }, [// @ts-ignore function children
415
- h(kendo_vue_form_1.Field, {
416
- name: this.ks.fields.start,
417
- attrs: this.v3 ? undefined : {
418
- name: this.ks.fields.start,
757
+ attrs: _this.v3 ? undefined : {
758
+ id: 'k-scheduler-editor-set-start-timezone',
759
+ value: _this.startZoneChecked
760
+ },
761
+ onChange: _this.handleStartZoneCheckboxChange,
762
+ on: _this.v3 ? undefined : {
763
+ "change": _this.handleStartZoneCheckboxChange
764
+ },
765
+ value: _this.startZoneChecked
766
+ }), "\xA0", h(StartTimezoneCheckedLabel, {
767
+ "class": 'k-checkbox-label',
768
+ editorId: 'k-scheduler-editor-set-start-timezone',
769
+ attrs: _this.v3 ? undefined : {
770
+ editorId: 'k-scheduler-editor-set-start-timezone'
771
+ },
772
+ style: {
773
+ display: 'inline-flex'
774
+ }
775
+ }, _this.v3 ? function () {
776
+ return [localization.toLanguageString(messages_1.editorEventTimeZone, messages_1.messages[messages_1.editorEventTimeZone])];
777
+ } : [localization.toLanguageString(messages_1.editorEventTimeZone, messages_1.messages[messages_1.editorEventTimeZone])])])])]), _this.startZoneChecked && h("div", {
778
+ "class": "k-form-field"
779
+ }, [h(kendo_vue_form_1.Field, {
780
+ name: _this.ks.fields.start,
781
+ attrs: _this.v3 ? undefined : {
782
+ name: _this.ks.fields.start,
783
+ component: StartTimezoneLabel
784
+ },
419
785
  component: StartTimezoneLabel
420
- },
421
- component: StartTimezoneLabel
422
- }, this.v3 ? function () {
423
- return [localization.toLanguageString(messages_1.editorEventStartTimeZone, messages_1.messages[messages_1.editorEventStartTimeZone])];
424
- } : [localization.toLanguageString(messages_1.editorEventStartTimeZone, messages_1.messages[messages_1.editorEventStartTimeZone])]), h("div", {
425
- "class": "k-form-field-wrap"
426
- }, [h(kendo_vue_form_1.Field, {
427
- component: StartTimezoneEditor,
428
- attrs: this.v3 ? undefined : {
786
+ }, _this.v3 ? function () {
787
+ return [localization.toLanguageString(messages_1.editorEventStartTimeZone, messages_1.messages[messages_1.editorEventStartTimeZone])];
788
+ } : [localization.toLanguageString(messages_1.editorEventStartTimeZone, messages_1.messages[messages_1.editorEventStartTimeZone])]), h("div", {
789
+ "class": "k-form-field-wrap"
790
+ }, [h(kendo_vue_form_1.Field, {
429
791
  component: StartTimezoneEditor,
792
+ attrs: _this.v3 ? undefined : {
793
+ component: StartTimezoneEditor,
794
+ value: startTimezone,
795
+ validator: _this.startTimezoneValidator,
796
+ dataItems: timezones,
797
+ name: _this.ks.fields.startTimezone
798
+ },
430
799
  value: startTimezone,
431
- validator: this.startTimezoneValidator,
800
+ validator: _this.startTimezoneValidator,
432
801
  dataItems: timezones,
433
- name: this.ks.fields.startTimezone
434
- },
435
- value: startTimezone,
436
- validator: this.startTimezoneValidator,
437
- dataItems: timezones,
438
- name: this.ks.fields.startTimezone
439
- }), this.kendoForm.errors[this.ks.fields.startTimezone] && // @ts-ignore function children
440
- h(kendo_vue_form_1.Field, {
441
- name: this.ks.fields.startTimezone,
442
- attrs: this.v3 ? undefined : {
443
- name: this.ks.fields.startTimezone,
802
+ name: _this.ks.fields.startTimezone
803
+ }), _this.kendoForm.errors[_this.ks.fields.startTimezone] && h(kendo_vue_form_1.Field, {
804
+ name: _this.ks.fields.startTimezone,
805
+ attrs: _this.v3 ? undefined : {
806
+ name: _this.ks.fields.startTimezone,
807
+ component: StartTimezoneError
808
+ },
444
809
  component: StartTimezoneError
445
- },
446
- component: StartTimezoneError
447
- }, this.v3 ? function () {
448
- return [_this.kendoForm.errors[_this.ks.fields.startTimezone]];
449
- } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])]), h("div", {
450
- "class": "k-form-field"
451
- }, [// @ts-ignore function children
452
- h(kendo_vue_form_1.Field, {
453
- name: this.ks.fields.end,
454
- attrs: this.v3 ? undefined : {
455
- name: this.ks.fields.end,
810
+ }, _this.v3 ? function () {
811
+ return [_this.kendoForm.errors[_this.ks.fields.startTimezone]];
812
+ } : [_this.kendoForm.errors[_this.ks.fields.startTimezone]])])]), h("div", {
813
+ "class": "k-form-field"
814
+ }, [h(kendo_vue_form_1.Field, {
815
+ name: _this.ks.fields.end,
816
+ attrs: _this.v3 ? undefined : {
817
+ name: _this.ks.fields.end,
818
+ component: EndLabel,
819
+ editorId: "k-scheduler-editor-end"
820
+ },
456
821
  component: EndLabel,
457
822
  editorId: "k-scheduler-editor-end"
458
- },
459
- component: EndLabel,
460
- editorId: "k-scheduler-editor-end"
461
- }, this.v3 ? function () {
462
- return [localization.toLanguageString(messages_1.editorEventEnd, messages_1.messages[messages_1.editorEventEnd])];
463
- } : [localization.toLanguageString(messages_1.editorEventEnd, messages_1.messages[messages_1.editorEventEnd])]), h("div", {
464
- "class": "k-form-field-wrap",
465
- style: {
466
- display: 'flex'
467
- }
468
- }, [h("div", [h(kendo_vue_form_1.Field, {
469
- id: "k-scheduler-editor-end",
470
- attrs: this.v3 ? undefined : {
823
+ }, _this.v3 ? function () {
824
+ return [localization.toLanguageString(messages_1.editorEventEnd, messages_1.messages[messages_1.editorEventEnd])];
825
+ } : [localization.toLanguageString(messages_1.editorEventEnd, messages_1.messages[messages_1.editorEventEnd])]), h("div", {
826
+ "class": "k-form-field-wrap",
827
+ style: {
828
+ display: 'flex'
829
+ }
830
+ }, [h("div", [h(kendo_vue_form_1.Field, {
471
831
  id: "k-scheduler-editor-end",
472
- name: this.ks.fields.end,
832
+ attrs: _this.v3 ? undefined : {
833
+ id: "k-scheduler-editor-end",
834
+ name: _this.ks.fields.end,
835
+ width: "auto",
836
+ component: EndEditor,
837
+ isAllDay: !!_this.kendoForm.values.isAllDay,
838
+ timezone: _this.ks.timezone
839
+ },
840
+ name: _this.ks.fields.end,
473
841
  width: "auto",
474
842
  component: EndEditor,
475
- isAllDay: !!this.kendoForm.values.isAllDay,
476
- timezone: this.ks.timezone
477
- },
478
- name: this.ks.fields.end,
479
- width: "auto",
480
- component: EndEditor,
481
- isAllDay: !!this.kendoForm.values.isAllDay,
482
- timezone: this.ks.timezone
483
- }), this.kendoForm.errors[this.ks.fields.end] && // @ts-ignore function children
484
- h(kendo_vue_form_1.Field, {
485
- name: this.ks.fields.end,
486
- attrs: this.v3 ? undefined : {
487
- name: this.ks.fields.end,
843
+ isAllDay: !!_this.kendoForm.values.isAllDay,
844
+ timezone: _this.ks.timezone
845
+ }), _this.kendoForm.errors[_this.ks.fields.end] && h(kendo_vue_form_1.Field, {
846
+ name: _this.ks.fields.end,
847
+ attrs: _this.v3 ? undefined : {
848
+ name: _this.ks.fields.end,
849
+ component: EndError
850
+ },
488
851
  component: EndError
489
- },
490
- component: EndError
491
- }, this.v3 ? function () {
492
- return [_this.kendoForm.errors[_this.ks.fields.end]];
493
- } : [_this.kendoForm.errors[_this.ks.fields.end]])]), "\xA0", h("div", [this.startZoneChecked && [h(EndTimezoneCheckedEditor, {
494
- id: 'k-scheduler-editor-set-end-timezone',
495
- attrs: this.v3 ? undefined : {
852
+ }, _this.v3 ? function () {
853
+ return [_this.kendoForm.errors[_this.ks.fields.end]];
854
+ } : [_this.kendoForm.errors[_this.ks.fields.end]])]), "\xA0", h("div", [_this.startZoneChecked && [h(EndTimezoneCheckedEditor, {
496
855
  id: 'k-scheduler-editor-set-end-timezone',
497
- value: this.endZoneChecked
498
- },
499
- onChange: this.handleEndZoneCheckboxChange,
500
- on: this.v3 ? undefined : {
501
- "change": this.handleEndZoneCheckboxChange
502
- },
503
- value: this.endZoneChecked
504
- }), // @ts-ignore function children
505
- h(EndTimezoneCheckedLabel, {
506
- "class": 'k-checkbox-label',
507
- editorId: 'k-scheduler-editor-set-end-timezone',
508
- attrs: this.v3 ? undefined : {
509
- editorId: 'k-scheduler-editor-set-end-timezone'
510
- },
511
- style: {
512
- display: 'inline-flex'
513
- }
514
- }, this.v3 ? function () {
515
- return [localization.toLanguageString(messages_1.editorEventSeparateTimeZones, messages_1.messages[messages_1.editorEventSeparateTimeZones])];
516
- } : [localization.toLanguageString(messages_1.editorEventSeparateTimeZones, messages_1.messages[messages_1.editorEventSeparateTimeZones])])]])])]), this.endZoneChecked && h("div", {
517
- "class": "k-form-field"
518
- }, [// @ts-ignore function children
519
- h(kendo_vue_form_1.Field, {
520
- name: this.ks.fields.endTimezone,
521
- attrs: this.v3 ? undefined : {
522
- name: this.ks.fields.endTimezone,
856
+ attrs: _this.v3 ? undefined : {
857
+ id: 'k-scheduler-editor-set-end-timezone',
858
+ value: _this.endZoneChecked
859
+ },
860
+ onChange: _this.handleEndZoneCheckboxChange,
861
+ on: _this.v3 ? undefined : {
862
+ "change": _this.handleEndZoneCheckboxChange
863
+ },
864
+ value: _this.endZoneChecked
865
+ }), h(EndTimezoneCheckedLabel, {
866
+ "class": 'k-checkbox-label',
867
+ editorId: 'k-scheduler-editor-set-end-timezone',
868
+ attrs: _this.v3 ? undefined : {
869
+ editorId: 'k-scheduler-editor-set-end-timezone'
870
+ },
871
+ style: {
872
+ display: 'inline-flex'
873
+ }
874
+ }, _this.v3 ? function () {
875
+ return [localization.toLanguageString(messages_1.editorEventSeparateTimeZones, messages_1.messages[messages_1.editorEventSeparateTimeZones])];
876
+ } : [localization.toLanguageString(messages_1.editorEventSeparateTimeZones, messages_1.messages[messages_1.editorEventSeparateTimeZones])])]])])]), _this.endZoneChecked && h("div", {
877
+ "class": "k-form-field"
878
+ }, [h(kendo_vue_form_1.Field, {
879
+ name: _this.ks.fields.endTimezone,
880
+ attrs: _this.v3 ? undefined : {
881
+ name: _this.ks.fields.endTimezone,
882
+ component: EndTimezoneLabel
883
+ },
523
884
  component: EndTimezoneLabel
524
- },
525
- component: EndTimezoneLabel
526
- }, this.v3 ? function () {
527
- return [localization.toLanguageString(messages_1.editorEventEndTimeZone, messages_1.messages[messages_1.editorEventEndTimeZone])];
528
- } : [localization.toLanguageString(messages_1.editorEventEndTimeZone, messages_1.messages[messages_1.editorEventEndTimeZone])]), h("div", {
529
- "class": "k-form-field-wrap"
530
- }, [h(kendo_vue_form_1.Field, {
531
- value: endTimezone,
532
- attrs: this.v3 ? undefined : {
885
+ }, _this.v3 ? function () {
886
+ return [localization.toLanguageString(messages_1.editorEventEndTimeZone, messages_1.messages[messages_1.editorEventEndTimeZone])];
887
+ } : [localization.toLanguageString(messages_1.editorEventEndTimeZone, messages_1.messages[messages_1.editorEventEndTimeZone])]), h("div", {
888
+ "class": "k-form-field-wrap"
889
+ }, [h(kendo_vue_form_1.Field, {
533
890
  value: endTimezone,
891
+ attrs: _this.v3 ? undefined : {
892
+ value: endTimezone,
893
+ dataItems: timezones,
894
+ validator: _this.endTimezoneValidator,
895
+ component: EndTimezoneEditor,
896
+ name: _this.ks.fields.endTimezone
897
+ },
534
898
  dataItems: timezones,
535
- validator: this.endTimezoneValidator,
899
+ validator: _this.endTimezoneValidator,
536
900
  component: EndTimezoneEditor,
537
- name: this.ks.fields.endTimezone
538
- },
539
- dataItems: timezones,
540
- validator: this.endTimezoneValidator,
541
- component: EndTimezoneEditor,
542
- name: this.ks.fields.endTimezone
543
- }), this.kendoForm.errors[this.ks.fields.endTimezone] && // @ts-ignore function children
544
- h(kendo_vue_form_1.Field, {
545
- name: this.ks.fields.endTimezone,
546
- attrs: this.v3 ? undefined : {
547
- name: this.ks.fields.endTimezone,
901
+ name: _this.ks.fields.endTimezone
902
+ }), _this.kendoForm.errors[_this.ks.fields.endTimezone] && h(kendo_vue_form_1.Field, {
903
+ name: _this.ks.fields.endTimezone,
904
+ attrs: _this.v3 ? undefined : {
905
+ name: _this.ks.fields.endTimezone,
906
+ component: EndTimezoneError
907
+ },
548
908
  component: EndTimezoneError
549
- },
550
- component: EndTimezoneError
551
- }, this.v3 ? function () {
552
- return [_this.kendoForm.errors[_this.ks.fields.endTimezone]];
553
- } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])]), h("div", {
554
- "class": "k-form-field"
555
- }, [h(kendo_vue_form_1.Field, {
556
- name: this.ks.fields.isAllDay,
557
- attrs: this.v3 ? undefined : {
558
- name: this.ks.fields.isAllDay,
909
+ }, _this.v3 ? function () {
910
+ return [_this.kendoForm.errors[_this.ks.fields.endTimezone]];
911
+ } : [_this.kendoForm.errors[_this.ks.fields.endTimezone]])])]), h("div", {
912
+ "class": "k-form-field"
913
+ }, [h(kendo_vue_form_1.Field, {
914
+ name: _this.ks.fields.isAllDay,
915
+ attrs: _this.v3 ? undefined : {
916
+ name: _this.ks.fields.isAllDay,
917
+ component: kendo_vue_labels_1.Label
918
+ },
559
919
  component: kendo_vue_labels_1.Label
560
- },
561
- component: kendo_vue_labels_1.Label
562
- }), h("div", {
563
- "class": "k-form-field-wrap"
564
- }, [h(kendo_vue_form_1.Field, {
565
- id: 'k-is-allday-checkbox',
566
- attrs: this.v3 ? undefined : {
920
+ }), h("div", {
921
+ "class": "k-form-field-wrap"
922
+ }, [h(kendo_vue_form_1.Field, {
567
923
  id: 'k-is-allday-checkbox',
568
- name: this.ks.fields.isAllDay,
924
+ attrs: _this.v3 ? undefined : {
925
+ id: 'k-is-allday-checkbox',
926
+ name: _this.ks.fields.isAllDay,
927
+ component: AllDayEditor
928
+ },
929
+ name: _this.ks.fields.isAllDay,
569
930
  component: AllDayEditor
570
- },
571
- name: this.ks.fields.isAllDay,
572
- component: AllDayEditor
573
- }), "\xA0", // @ts-ignore function children
574
- h(kendo_vue_form_1.Field, {
575
- name: this.ks.fields.isAllDay,
576
- attrs: this.v3 ? undefined : {
577
- name: this.ks.fields.isAllDay,
578
- field: this.ks.fields.isAllDay,
931
+ }), "\xA0", h(kendo_vue_form_1.Field, {
932
+ name: _this.ks.fields.isAllDay,
933
+ attrs: _this.v3 ? undefined : {
934
+ name: _this.ks.fields.isAllDay,
935
+ field: _this.ks.fields.isAllDay,
936
+ editorId: 'k-is-allday-checkbox',
937
+ component: AllDayLabel
938
+ },
939
+ field: _this.ks.fields.isAllDay,
579
940
  editorId: 'k-is-allday-checkbox',
941
+ "class": 'k-checkbox-label',
580
942
  component: AllDayLabel
581
- },
582
- field: this.ks.fields.isAllDay,
583
- editorId: 'k-is-allday-checkbox',
584
- "class": 'k-checkbox-label',
585
- component: AllDayLabel
586
- }, this.v3 ? function () {
587
- return [localization.toLanguageString(messages_1.editorEventAllDay, messages_1.messages[messages_1.editorEventAllDay])];
588
- } : [localization.toLanguageString(messages_1.editorEventAllDay, messages_1.messages[messages_1.editorEventAllDay])])])]), h(kendo_vue_form_1.Field, {
589
- component: RecurrenceEditor,
590
- attrs: this.v3 ? undefined : {
943
+ }, _this.v3 ? function () {
944
+ return [localization.toLanguageString(messages_1.editorEventAllDay, messages_1.messages[messages_1.editorEventAllDay])];
945
+ } : [localization.toLanguageString(messages_1.editorEventAllDay, messages_1.messages[messages_1.editorEventAllDay])])])]), h(kendo_vue_form_1.Field, {
591
946
  component: RecurrenceEditor,
947
+ attrs: _this.v3 ? undefined : {
948
+ component: RecurrenceEditor,
949
+ changeOnInput: false,
950
+ field: _this.ks.fields.recurrenceRule,
951
+ name: _this.ks.fields.recurrenceRule,
952
+ start: start
953
+ },
592
954
  changeOnInput: false,
593
- field: this.ks.fields.recurrenceRule,
594
- name: this.ks.fields.recurrenceRule,
955
+ field: _this.ks.fields.recurrenceRule,
956
+ name: _this.ks.fields.recurrenceRule,
595
957
  start: start
596
- },
597
- changeOnInput: false,
598
- field: this.ks.fields.recurrenceRule,
599
- name: this.ks.fields.recurrenceRule,
600
- start: start
601
- }), h("div", {
602
- "class": "k-form-field"
603
- }, [// @ts-ignore function children
604
- h(kendo_vue_form_1.Field, {
605
- name: this.ks.fields.description,
606
- attrs: this.v3 ? undefined : {
607
- name: this.ks.fields.description,
958
+ }), h("div", {
959
+ "class": "k-form-field"
960
+ }, [h(kendo_vue_form_1.Field, {
961
+ name: _this.ks.fields.description,
962
+ attrs: _this.v3 ? undefined : {
963
+ name: _this.ks.fields.description,
964
+ component: DescriptionLabel
965
+ },
608
966
  component: DescriptionLabel
609
- },
610
- component: DescriptionLabel
611
- }, this.v3 ? function () {
612
- return [localization.toLanguageString(messages_1.editorEventDescription, messages_1.messages[messages_1.editorEventDescription])];
613
- } : [localization.toLanguageString(messages_1.editorEventDescription, messages_1.messages[messages_1.editorEventDescription])]), h("div", {
614
- "class": "k-form-field-wrap"
615
- }, [h(kendo_vue_form_1.Field, {
616
- component: DescriptionEditor,
617
- attrs: this.v3 ? undefined : {
967
+ }, _this.v3 ? function () {
968
+ return [localization.toLanguageString(messages_1.editorEventDescription, messages_1.messages[messages_1.editorEventDescription])];
969
+ } : [localization.toLanguageString(messages_1.editorEventDescription, messages_1.messages[messages_1.editorEventDescription])]), h("div", {
970
+ "class": "k-form-field-wrap"
971
+ }, [h(kendo_vue_form_1.Field, {
618
972
  component: DescriptionEditor,
619
- name: this.ks.fields.description,
973
+ attrs: _this.v3 ? undefined : {
974
+ component: DescriptionEditor,
975
+ name: _this.ks.fields.description,
976
+ rows: 1,
977
+ id: 'k-event-description'
978
+ },
979
+ name: _this.ks.fields.description,
620
980
  rows: 1,
621
- id: 'k-event-description'
622
- },
623
- name: this.ks.fields.description,
624
- rows: 1,
625
- id: 'k-event-description',
626
- style: {
627
- width: '100%'
628
- }
629
- }), this.kendoForm.errors[this.ks.fields.description] && // @ts-ignore function children
630
- h(kendo_vue_form_1.Field, {
631
- name: this.ks.fields.description,
632
- attrs: this.v3 ? undefined : {
633
- name: this.ks.fields.description,
981
+ id: 'k-event-description',
982
+ style: {
983
+ width: '100%'
984
+ }
985
+ }), _this.kendoForm.errors[_this.ks.fields.description] && h(kendo_vue_form_1.Field, {
986
+ name: _this.ks.fields.description,
987
+ attrs: _this.v3 ? undefined : {
988
+ name: _this.ks.fields.description,
989
+ component: DescriptionError
990
+ },
634
991
  component: DescriptionError
635
- },
636
- component: DescriptionError
637
- }, this.v3 ? function () {
638
- return [_this.kendoForm.errors[_this.ks.fields.description]];
639
- } : [_this.kendoForm.errors[_this.ks.fields.description]])])]), (this.ks.props.resources || []).map(function (resource) {
640
- return h("div", {
641
- key: resource.field
642
- }, [h("div", {
643
- "class": "k-form-field"
644
- }, [h(kendo_vue_form_1.Field, {
645
- name: resource.field,
646
- attrs: this.v3 ? undefined : {
992
+ }, _this.v3 ? function () {
993
+ return [_this.kendoForm.errors[_this.ks.fields.description]];
994
+ } : [_this.kendoForm.errors[_this.ks.fields.description]])])]), (_this.ks.props.resources || []).map(function (resource) {
995
+ return h("div", {
996
+ key: resource.field
997
+ }, [h("div", {
998
+ "class": "k-form-field"
999
+ }, [h(kendo_vue_form_1.Field, {
647
1000
  name: resource.field,
1001
+ attrs: this.v3 ? undefined : {
1002
+ name: resource.field,
1003
+ component: ResourceLabel
1004
+ },
648
1005
  component: ResourceLabel
649
- },
650
- component: ResourceLabel
651
- }), // @ts-ignore function children
652
- h(Label, this.v3 ? function () {
653
- return [resource.name];
654
- } : [resource.name]), h(kendo_vue_form_1.Field, {
655
- name: resource.field,
656
- attrs: this.v3 ? undefined : {
1006
+ }), h(Label, this.v3 ? function () {
1007
+ return [resource.name];
1008
+ } : [resource.name]), h(kendo_vue_form_1.Field, {
657
1009
  name: resource.field,
1010
+ attrs: this.v3 ? undefined : {
1011
+ name: resource.field,
1012
+ component: ResourceEditor,
1013
+ resource: resource,
1014
+ multiple: resource.multiple,
1015
+ dataItems: resource.data,
1016
+ textField: resource.textField,
1017
+ valueField: resource.valueField,
1018
+ colorField: resource.colorField
1019
+ },
658
1020
  component: ResourceEditor,
659
1021
  resource: resource,
660
1022
  multiple: resource.multiple,
@@ -662,16 +1024,9 @@ var SchedulerFormEditorVue2 = {
662
1024
  textField: resource.textField,
663
1025
  valueField: resource.valueField,
664
1026
  colorField: resource.colorField
665
- },
666
- component: ResourceEditor,
667
- resource: resource,
668
- multiple: resource.multiple,
669
- dataItems: resource.data,
670
- textField: resource.textField,
671
- valueField: resource.valueField,
672
- colorField: resource.colorField
673
- })])]);
674
- }, this)]);
1027
+ })])]);
1028
+ }, _this), defaultSlots])
1029
+ );
675
1030
  },
676
1031
  methods: {
677
1032
  handleStartZoneCheckboxChange: function handleStartZoneCheckboxChange(e) {