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