@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
|
@@ -3,8 +3,8 @@ import * as Vue from 'vue';
|
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
-
var inject = allVue.inject;
|
|
7
6
|
import { provideLocalizationService, provideIntlService } from '@progress/kendo-vue-intl';
|
|
7
|
+
import { FieldWrapper } from '@progress/kendo-vue-form';
|
|
8
8
|
import { messages, recurrenceEditorEndLabel, recurrenceEditorEndAfter, recurrenceEditorEndNever, recurrenceEditorEndOccurrence, recurrenceEditorEndOn, recurrenceEditorWeeklyRepeatOn, recurrenceEditorYearlyRepeatOn, recurrenceEditorMonthlyRepeatOn, recurrenceEditorMonthlyDay, recurrenceEditorYearlyOf, recurrenceEditorRepeat } from '../messages/main';
|
|
9
9
|
import { serializeRule } from '@progress/kendo-recurrence';
|
|
10
10
|
import { toLocalDate, ZonedDate } from '@progress/kendo-date-math';
|
|
@@ -351,222 +351,435 @@ var RecurrenceEditorVue2 = {
|
|
|
351
351
|
};
|
|
352
352
|
return (
|
|
353
353
|
// fragment
|
|
354
|
-
h("div", [
|
|
355
|
-
"class": "k-form-field"
|
|
356
|
-
}, [
|
|
354
|
+
h("div", [
|
|
357
355
|
// @ts-ignore function children
|
|
358
|
-
h(
|
|
356
|
+
h(FieldWrapper, this.v3 ? function () {
|
|
357
|
+
return [
|
|
358
|
+
// @ts-ignore function children
|
|
359
|
+
h(Label, {
|
|
360
|
+
"class": 'k-form-label'
|
|
361
|
+
}, _this2.v3 ? function () {
|
|
362
|
+
return [_this2.localization.toLanguageString(recurrenceEditorRepeat, messages[recurrenceEditorRepeat])];
|
|
363
|
+
} : [_this2.localization.toLanguageString(recurrenceEditorRepeat, messages[recurrenceEditorRepeat])]), h("div", {
|
|
364
|
+
"class": "k-form-field-wrap"
|
|
365
|
+
}, [h(RecurrenceFrequencyEditor, {
|
|
366
|
+
value: _this2.frequency,
|
|
367
|
+
attrs: _this2.v3 ? undefined : {
|
|
368
|
+
value: _this2.frequency,
|
|
369
|
+
dataItems: _this2.frequencies
|
|
370
|
+
},
|
|
371
|
+
dataItems: _this2.frequencies,
|
|
372
|
+
onChange: _this2.handleFrequencyChange,
|
|
373
|
+
on: _this2.v3 ? undefined : {
|
|
374
|
+
"change": _this2.handleFrequencyChange
|
|
375
|
+
}
|
|
376
|
+
})])];
|
|
377
|
+
} : [h(Label, {
|
|
378
|
+
"class": 'k-form-label'
|
|
379
|
+
}, _this2.v3 ? function () {
|
|
359
380
|
return [_this2.localization.toLanguageString(recurrenceEditorRepeat, messages[recurrenceEditorRepeat])];
|
|
360
381
|
} : [_this2.localization.toLanguageString(recurrenceEditorRepeat, messages[recurrenceEditorRepeat])]), h("div", {
|
|
361
382
|
"class": "k-form-field-wrap"
|
|
362
383
|
}, [h(RecurrenceFrequencyEditor, {
|
|
363
|
-
value:
|
|
364
|
-
attrs:
|
|
365
|
-
value:
|
|
366
|
-
dataItems:
|
|
384
|
+
value: _this2.frequency,
|
|
385
|
+
attrs: _this2.v3 ? undefined : {
|
|
386
|
+
value: _this2.frequency,
|
|
387
|
+
dataItems: _this2.frequencies
|
|
367
388
|
},
|
|
368
|
-
dataItems:
|
|
369
|
-
onChange:
|
|
370
|
-
on:
|
|
371
|
-
"change":
|
|
389
|
+
dataItems: _this2.frequencies,
|
|
390
|
+
onChange: _this2.handleFrequencyChange,
|
|
391
|
+
on: _this2.v3 ? undefined : {
|
|
392
|
+
"change": _this2.handleFrequencyChange
|
|
372
393
|
}
|
|
373
|
-
})])]), this.frequency !== 'never' &&
|
|
374
|
-
"class": 'k-form-field'
|
|
375
|
-
}, [
|
|
394
|
+
})])]), this.frequency !== 'never' &&
|
|
376
395
|
// @ts-ignore function children
|
|
377
|
-
h(
|
|
396
|
+
h(FieldWrapper, this.v3 ? function () {
|
|
397
|
+
return [
|
|
398
|
+
// @ts-ignore function children
|
|
399
|
+
h(Label, {
|
|
400
|
+
editorId: "interval-editor",
|
|
401
|
+
attrs: _this2.v3 ? undefined : {
|
|
402
|
+
editorId: "interval-editor"
|
|
403
|
+
},
|
|
404
|
+
"class": 'k-form-label'
|
|
405
|
+
}, _this2.v3 ? function () {
|
|
406
|
+
return [_this2.localizeMessage(capitalize(_this2.frequency) + 'RepeatEvery')];
|
|
407
|
+
} : [_this2.localizeMessage(capitalize(_this2.frequency) + 'RepeatEvery')]), h("div", {
|
|
408
|
+
"class": "k-form-field-wrap"
|
|
409
|
+
}, [h(NumericTextBox, {
|
|
410
|
+
min: 1,
|
|
411
|
+
attrs: _this2.v3 ? undefined : {
|
|
412
|
+
min: 1,
|
|
413
|
+
step: 1,
|
|
414
|
+
defaultValue: 1,
|
|
415
|
+
value: _this2.rrule.interval,
|
|
416
|
+
id: "interval-editor"
|
|
417
|
+
},
|
|
418
|
+
step: 1,
|
|
419
|
+
defaultValue: 1,
|
|
420
|
+
value: _this2.rrule.interval,
|
|
421
|
+
onChange: _this2.handleIntervalChange,
|
|
422
|
+
on: _this2.v3 ? undefined : {
|
|
423
|
+
"change": _this2.handleIntervalChange
|
|
424
|
+
},
|
|
425
|
+
id: "interval-editor"
|
|
426
|
+
}),
|
|
427
|
+
// @ts-ignore function children
|
|
428
|
+
h(Label, {
|
|
429
|
+
editorId: "interval-editor",
|
|
430
|
+
attrs: _this2.v3 ? undefined : {
|
|
431
|
+
editorId: "interval-editor"
|
|
432
|
+
}
|
|
433
|
+
}, _this2.v3 ? function () {
|
|
434
|
+
return [_this2.localizeMessage(capitalize(_this2.frequency) + 'Interval')];
|
|
435
|
+
} : [_this2.localizeMessage(capitalize(_this2.frequency) + 'Interval')])])];
|
|
436
|
+
} : [h(Label, {
|
|
378
437
|
editorId: "interval-editor",
|
|
379
|
-
attrs:
|
|
438
|
+
attrs: _this2.v3 ? undefined : {
|
|
380
439
|
editorId: "interval-editor"
|
|
381
|
-
}
|
|
382
|
-
|
|
440
|
+
},
|
|
441
|
+
"class": 'k-form-label'
|
|
442
|
+
}, _this2.v3 ? function () {
|
|
383
443
|
return [_this2.localizeMessage(capitalize(_this2.frequency) + 'RepeatEvery')];
|
|
384
444
|
} : [_this2.localizeMessage(capitalize(_this2.frequency) + 'RepeatEvery')]), h("div", {
|
|
385
445
|
"class": "k-form-field-wrap"
|
|
386
|
-
}, [h("div", {
|
|
387
|
-
style: {
|
|
388
|
-
display: 'flex',
|
|
389
|
-
alignItems: 'center'
|
|
390
|
-
}
|
|
391
446
|
}, [h(NumericTextBox, {
|
|
392
447
|
min: 1,
|
|
393
|
-
attrs:
|
|
448
|
+
attrs: _this2.v3 ? undefined : {
|
|
394
449
|
min: 1,
|
|
395
450
|
step: 1,
|
|
396
451
|
defaultValue: 1,
|
|
397
|
-
value:
|
|
452
|
+
value: _this2.rrule.interval,
|
|
398
453
|
id: "interval-editor"
|
|
399
454
|
},
|
|
400
455
|
step: 1,
|
|
401
456
|
defaultValue: 1,
|
|
402
|
-
value:
|
|
403
|
-
onChange:
|
|
404
|
-
on:
|
|
405
|
-
"change":
|
|
457
|
+
value: _this2.rrule.interval,
|
|
458
|
+
onChange: _this2.handleIntervalChange,
|
|
459
|
+
on: _this2.v3 ? undefined : {
|
|
460
|
+
"change": _this2.handleIntervalChange
|
|
406
461
|
},
|
|
407
462
|
id: "interval-editor"
|
|
408
|
-
}),
|
|
409
|
-
// @ts-ignore function children
|
|
410
|
-
h(Label, {
|
|
463
|
+
}), h(Label, {
|
|
411
464
|
editorId: "interval-editor",
|
|
412
|
-
attrs:
|
|
465
|
+
attrs: _this2.v3 ? undefined : {
|
|
413
466
|
editorId: "interval-editor"
|
|
414
467
|
}
|
|
415
|
-
},
|
|
468
|
+
}, _this2.v3 ? function () {
|
|
416
469
|
return [_this2.localizeMessage(capitalize(_this2.frequency) + 'Interval')];
|
|
417
|
-
} : [_this2.localizeMessage(capitalize(_this2.frequency) + 'Interval')])])])
|
|
418
|
-
"class": "k-form-field"
|
|
419
|
-
}, [
|
|
470
|
+
} : [_this2.localizeMessage(capitalize(_this2.frequency) + 'Interval')])])]), this.frequency === 'weekly' &&
|
|
420
471
|
// @ts-ignore function children
|
|
421
|
-
h(
|
|
472
|
+
h(FieldWrapper, this.v3 ? function () {
|
|
473
|
+
return [
|
|
474
|
+
// @ts-ignore function children
|
|
475
|
+
h(Label, {
|
|
476
|
+
"class": 'k-form-label'
|
|
477
|
+
}, _this2.v3 ? function () {
|
|
478
|
+
return [_this2.localizeMessage(recurrenceEditorWeeklyRepeatOn, true)];
|
|
479
|
+
} : [_this2.localizeMessage(recurrenceEditorWeeklyRepeatOn, true)]), h("div", {
|
|
480
|
+
"class": "k-form-field-wrap"
|
|
481
|
+
}, [h(RecurrenceRepeatOnWeekEditor, {
|
|
482
|
+
dataItems: _this2.weekDays,
|
|
483
|
+
attrs: _this2.v3 ? undefined : {
|
|
484
|
+
dataItems: _this2.weekDays,
|
|
485
|
+
value: (_this2.rrule.byWeekDay || []).map(function (_a) {
|
|
486
|
+
var day = _a.day;
|
|
487
|
+
return day;
|
|
488
|
+
})
|
|
489
|
+
},
|
|
490
|
+
value: (_this2.rrule.byWeekDay || []).map(function (_a) {
|
|
491
|
+
var day = _a.day;
|
|
492
|
+
return day;
|
|
493
|
+
}),
|
|
494
|
+
onChange: _this2.handleWeekDaysChange,
|
|
495
|
+
on: _this2.v3 ? undefined : {
|
|
496
|
+
"change": _this2.handleWeekDaysChange
|
|
497
|
+
}
|
|
498
|
+
})])];
|
|
499
|
+
} : [h(Label, {
|
|
500
|
+
"class": 'k-form-label'
|
|
501
|
+
}, _this2.v3 ? function () {
|
|
422
502
|
return [_this2.localizeMessage(recurrenceEditorWeeklyRepeatOn, true)];
|
|
423
503
|
} : [_this2.localizeMessage(recurrenceEditorWeeklyRepeatOn, true)]), h("div", {
|
|
424
504
|
"class": "k-form-field-wrap"
|
|
425
505
|
}, [h(RecurrenceRepeatOnWeekEditor, {
|
|
426
|
-
dataItems:
|
|
427
|
-
attrs:
|
|
428
|
-
dataItems:
|
|
429
|
-
value: (
|
|
506
|
+
dataItems: _this2.weekDays,
|
|
507
|
+
attrs: _this2.v3 ? undefined : {
|
|
508
|
+
dataItems: _this2.weekDays,
|
|
509
|
+
value: (_this2.rrule.byWeekDay || []).map(function (_a) {
|
|
430
510
|
var day = _a.day;
|
|
431
511
|
return day;
|
|
432
512
|
})
|
|
433
513
|
},
|
|
434
|
-
value: (
|
|
514
|
+
value: (_this2.rrule.byWeekDay || []).map(function (_a) {
|
|
435
515
|
var day = _a.day;
|
|
436
516
|
return day;
|
|
437
517
|
}),
|
|
438
|
-
onChange:
|
|
439
|
-
on:
|
|
440
|
-
"change":
|
|
518
|
+
onChange: _this2.handleWeekDaysChange,
|
|
519
|
+
on: _this2.v3 ? undefined : {
|
|
520
|
+
"change": _this2.handleWeekDaysChange
|
|
441
521
|
}
|
|
442
|
-
})])]), this.frequency === 'monthly' &&
|
|
443
|
-
"class": "k-form-field"
|
|
444
|
-
}, [
|
|
522
|
+
})])]), this.frequency === 'monthly' &&
|
|
445
523
|
// @ts-ignore function children
|
|
446
|
-
h(
|
|
447
|
-
|
|
448
|
-
|
|
524
|
+
h(FieldWrapper, this.v3 ? function () {
|
|
525
|
+
return [
|
|
526
|
+
// @ts-ignore function children
|
|
527
|
+
h(Label, {
|
|
528
|
+
key: "recurrence-repeat-on-monthly-label",
|
|
529
|
+
"class": 'k-form-label'
|
|
530
|
+
}, _this2.v3 ? function () {
|
|
531
|
+
return [_this2.localizeMessage(recurrenceEditorMonthlyRepeatOn, true)];
|
|
532
|
+
} : [_this2.localizeMessage(recurrenceEditorMonthlyRepeatOn, true)]), h("div", {
|
|
533
|
+
"class": "k-form-field-wrap"
|
|
534
|
+
}, [h(RadioGroup, {
|
|
535
|
+
value: _this2.repeatOnRule,
|
|
536
|
+
attrs: _this2.v3 ? undefined : {
|
|
537
|
+
value: _this2.repeatOnRule,
|
|
538
|
+
dataItems: [{
|
|
539
|
+
value: 'monthday',
|
|
540
|
+
style: itemStyle,
|
|
541
|
+
label: _this2.localizeMessage(recurrenceEditorMonthlyDay, true),
|
|
542
|
+
content: monthlyMonthDay.call(_this2)
|
|
543
|
+
}, {
|
|
544
|
+
value: 'weekday',
|
|
545
|
+
style: itemStyle,
|
|
546
|
+
label: ' ',
|
|
547
|
+
content: monthlyWeekDay.call(_this2)
|
|
548
|
+
}]
|
|
549
|
+
},
|
|
550
|
+
onChange: _this2.handleRepeatOnRuleChange,
|
|
551
|
+
on: _this2.v3 ? undefined : {
|
|
552
|
+
"change": _this2.handleRepeatOnRuleChange
|
|
553
|
+
},
|
|
554
|
+
"class": "k-reset",
|
|
555
|
+
dataItems: [{
|
|
556
|
+
value: 'monthday',
|
|
557
|
+
style: itemStyle,
|
|
558
|
+
label: _this2.localizeMessage(recurrenceEditorMonthlyDay, true),
|
|
559
|
+
content: monthlyMonthDay.call(_this2)
|
|
560
|
+
}, {
|
|
561
|
+
value: 'weekday',
|
|
562
|
+
style: itemStyle,
|
|
563
|
+
label: ' ',
|
|
564
|
+
content: monthlyWeekDay.call(_this2)
|
|
565
|
+
}]
|
|
566
|
+
})])];
|
|
567
|
+
} : [h(Label, {
|
|
568
|
+
key: "recurrence-repeat-on-monthly-label",
|
|
569
|
+
"class": 'k-form-label'
|
|
570
|
+
}, _this2.v3 ? function () {
|
|
449
571
|
return [_this2.localizeMessage(recurrenceEditorMonthlyRepeatOn, true)];
|
|
450
572
|
} : [_this2.localizeMessage(recurrenceEditorMonthlyRepeatOn, true)]), h("div", {
|
|
451
573
|
"class": "k-form-field-wrap"
|
|
452
574
|
}, [h(RadioGroup, {
|
|
453
|
-
value:
|
|
454
|
-
attrs:
|
|
455
|
-
value:
|
|
575
|
+
value: _this2.repeatOnRule,
|
|
576
|
+
attrs: _this2.v3 ? undefined : {
|
|
577
|
+
value: _this2.repeatOnRule,
|
|
456
578
|
dataItems: [{
|
|
457
579
|
value: 'monthday',
|
|
458
580
|
style: itemStyle,
|
|
459
|
-
label:
|
|
460
|
-
content: monthlyMonthDay.call(
|
|
581
|
+
label: _this2.localizeMessage(recurrenceEditorMonthlyDay, true),
|
|
582
|
+
content: monthlyMonthDay.call(_this2)
|
|
461
583
|
}, {
|
|
462
584
|
value: 'weekday',
|
|
463
585
|
style: itemStyle,
|
|
464
586
|
label: ' ',
|
|
465
|
-
content: monthlyWeekDay.call(
|
|
587
|
+
content: monthlyWeekDay.call(_this2)
|
|
466
588
|
}]
|
|
467
589
|
},
|
|
468
|
-
onChange:
|
|
469
|
-
on:
|
|
470
|
-
"change":
|
|
590
|
+
onChange: _this2.handleRepeatOnRuleChange,
|
|
591
|
+
on: _this2.v3 ? undefined : {
|
|
592
|
+
"change": _this2.handleRepeatOnRuleChange
|
|
471
593
|
},
|
|
472
594
|
"class": "k-reset",
|
|
473
595
|
dataItems: [{
|
|
474
596
|
value: 'monthday',
|
|
475
597
|
style: itemStyle,
|
|
476
|
-
label:
|
|
477
|
-
content: monthlyMonthDay.call(
|
|
598
|
+
label: _this2.localizeMessage(recurrenceEditorMonthlyDay, true),
|
|
599
|
+
content: monthlyMonthDay.call(_this2)
|
|
478
600
|
}, {
|
|
479
601
|
value: 'weekday',
|
|
480
602
|
style: itemStyle,
|
|
481
603
|
label: ' ',
|
|
482
|
-
content: monthlyWeekDay.call(
|
|
604
|
+
content: monthlyWeekDay.call(_this2)
|
|
483
605
|
}]
|
|
484
|
-
})])]), this.frequency === 'yearly' &&
|
|
485
|
-
"class": "k-form-field"
|
|
486
|
-
}, [
|
|
606
|
+
})])]), this.frequency === 'yearly' &&
|
|
487
607
|
// @ts-ignore function children
|
|
488
|
-
h(
|
|
608
|
+
h(FieldWrapper, this.v3 ? function () {
|
|
609
|
+
return [
|
|
610
|
+
// @ts-ignore function children
|
|
611
|
+
h(Label, {
|
|
612
|
+
"class": 'k-form-label'
|
|
613
|
+
}, _this2.v3 ? function () {
|
|
614
|
+
return [_this2.localizeMessage(recurrenceEditorYearlyRepeatOn, true)];
|
|
615
|
+
} : [_this2.localizeMessage(recurrenceEditorYearlyRepeatOn, true)]), h("div", {
|
|
616
|
+
"class": "k-form-field-wrap"
|
|
617
|
+
}, [h(RadioGroup, {
|
|
618
|
+
value: _this2.repeatOnRule,
|
|
619
|
+
attrs: _this2.v3 ? undefined : {
|
|
620
|
+
value: _this2.repeatOnRule,
|
|
621
|
+
dataItems: [{
|
|
622
|
+
value: 'monthday',
|
|
623
|
+
label: ' ',
|
|
624
|
+
style: itemStyle,
|
|
625
|
+
content: yearlyMonthDay.call(_this2)
|
|
626
|
+
}, {
|
|
627
|
+
value: 'weekday',
|
|
628
|
+
label: ' ',
|
|
629
|
+
style: itemStyle,
|
|
630
|
+
content: yearlyWeekDay.call(_this2)
|
|
631
|
+
}]
|
|
632
|
+
},
|
|
633
|
+
onChange: _this2.handleRepeatOnRuleChange,
|
|
634
|
+
on: _this2.v3 ? undefined : {
|
|
635
|
+
"change": _this2.handleRepeatOnRuleChange
|
|
636
|
+
},
|
|
637
|
+
"class": "k-reset",
|
|
638
|
+
dataItems: [{
|
|
639
|
+
value: 'monthday',
|
|
640
|
+
label: ' ',
|
|
641
|
+
style: itemStyle,
|
|
642
|
+
content: yearlyMonthDay.call(_this2)
|
|
643
|
+
}, {
|
|
644
|
+
value: 'weekday',
|
|
645
|
+
label: ' ',
|
|
646
|
+
style: itemStyle,
|
|
647
|
+
content: yearlyWeekDay.call(_this2)
|
|
648
|
+
}]
|
|
649
|
+
})])];
|
|
650
|
+
} : [h(Label, {
|
|
651
|
+
"class": 'k-form-label'
|
|
652
|
+
}, _this2.v3 ? function () {
|
|
489
653
|
return [_this2.localizeMessage(recurrenceEditorYearlyRepeatOn, true)];
|
|
490
654
|
} : [_this2.localizeMessage(recurrenceEditorYearlyRepeatOn, true)]), h("div", {
|
|
491
655
|
"class": "k-form-field-wrap"
|
|
492
656
|
}, [h(RadioGroup, {
|
|
493
|
-
value:
|
|
494
|
-
attrs:
|
|
495
|
-
value:
|
|
657
|
+
value: _this2.repeatOnRule,
|
|
658
|
+
attrs: _this2.v3 ? undefined : {
|
|
659
|
+
value: _this2.repeatOnRule,
|
|
496
660
|
dataItems: [{
|
|
497
661
|
value: 'monthday',
|
|
498
662
|
label: ' ',
|
|
499
663
|
style: itemStyle,
|
|
500
|
-
content: yearlyMonthDay.call(
|
|
664
|
+
content: yearlyMonthDay.call(_this2)
|
|
501
665
|
}, {
|
|
502
666
|
value: 'weekday',
|
|
503
667
|
label: ' ',
|
|
504
668
|
style: itemStyle,
|
|
505
|
-
content: yearlyWeekDay.call(
|
|
669
|
+
content: yearlyWeekDay.call(_this2)
|
|
506
670
|
}]
|
|
507
671
|
},
|
|
508
|
-
onChange:
|
|
509
|
-
on:
|
|
510
|
-
"change":
|
|
672
|
+
onChange: _this2.handleRepeatOnRuleChange,
|
|
673
|
+
on: _this2.v3 ? undefined : {
|
|
674
|
+
"change": _this2.handleRepeatOnRuleChange
|
|
511
675
|
},
|
|
512
676
|
"class": "k-reset",
|
|
513
677
|
dataItems: [{
|
|
514
678
|
value: 'monthday',
|
|
515
679
|
label: ' ',
|
|
516
680
|
style: itemStyle,
|
|
517
|
-
content: yearlyMonthDay.call(
|
|
681
|
+
content: yearlyMonthDay.call(_this2)
|
|
518
682
|
}, {
|
|
519
683
|
value: 'weekday',
|
|
520
684
|
label: ' ',
|
|
521
685
|
style: itemStyle,
|
|
522
|
-
content: yearlyWeekDay.call(
|
|
686
|
+
content: yearlyWeekDay.call(_this2)
|
|
523
687
|
}]
|
|
524
|
-
})])]), this.frequency !== 'never' &&
|
|
525
|
-
"class": "k-form-field"
|
|
526
|
-
}, [
|
|
688
|
+
})])]), this.frequency !== 'never' &&
|
|
527
689
|
// @ts-ignore function children
|
|
528
|
-
h(
|
|
690
|
+
h(FieldWrapper, this.v3 ? function () {
|
|
691
|
+
return [
|
|
692
|
+
// @ts-ignore function children
|
|
693
|
+
h(Label, {
|
|
694
|
+
"class": 'k-form-label'
|
|
695
|
+
}, _this2.v3 ? function () {
|
|
696
|
+
return [_this2.localizeMessage(recurrenceEditorEndLabel, true)];
|
|
697
|
+
} : [_this2.localizeMessage(recurrenceEditorEndLabel, true)]), h("div", {
|
|
698
|
+
"class": "k-form-field-wrap"
|
|
699
|
+
}, [h(RadioGroup, {
|
|
700
|
+
value: _this2.endRule,
|
|
701
|
+
attrs: _this2.v3 ? undefined : {
|
|
702
|
+
value: _this2.endRule,
|
|
703
|
+
dataItems: [{
|
|
704
|
+
value: 'never',
|
|
705
|
+
style: itemStyle,
|
|
706
|
+
label: _this2.localizeMessage(recurrenceEditorEndNever, true)
|
|
707
|
+
}, {
|
|
708
|
+
value: 'count',
|
|
709
|
+
style: itemStyle,
|
|
710
|
+
label: _this2.localizeMessage(recurrenceEditorEndAfter, true),
|
|
711
|
+
content: count.call(_this2)
|
|
712
|
+
}, {
|
|
713
|
+
value: 'until',
|
|
714
|
+
style: itemStyle,
|
|
715
|
+
label: _this2.localizeMessage(recurrenceEditorEndOn, true),
|
|
716
|
+
content: dpUntil.call(_this2)
|
|
717
|
+
}]
|
|
718
|
+
},
|
|
719
|
+
onChange: _this2.handleEndRuleChange,
|
|
720
|
+
on: _this2.v3 ? undefined : {
|
|
721
|
+
"change": _this2.handleEndRuleChange
|
|
722
|
+
},
|
|
723
|
+
dataItems: [{
|
|
724
|
+
value: 'never',
|
|
725
|
+
style: itemStyle,
|
|
726
|
+
label: _this2.localizeMessage(recurrenceEditorEndNever, true)
|
|
727
|
+
}, {
|
|
728
|
+
value: 'count',
|
|
729
|
+
style: itemStyle,
|
|
730
|
+
label: _this2.localizeMessage(recurrenceEditorEndAfter, true),
|
|
731
|
+
content: count.call(_this2)
|
|
732
|
+
}, {
|
|
733
|
+
value: 'until',
|
|
734
|
+
style: itemStyle,
|
|
735
|
+
label: _this2.localizeMessage(recurrenceEditorEndOn, true),
|
|
736
|
+
content: dpUntil.call(_this2)
|
|
737
|
+
}]
|
|
738
|
+
})])];
|
|
739
|
+
} : [h(Label, {
|
|
740
|
+
"class": 'k-form-label'
|
|
741
|
+
}, _this2.v3 ? function () {
|
|
529
742
|
return [_this2.localizeMessage(recurrenceEditorEndLabel, true)];
|
|
530
743
|
} : [_this2.localizeMessage(recurrenceEditorEndLabel, true)]), h("div", {
|
|
531
744
|
"class": "k-form-field-wrap"
|
|
532
745
|
}, [h(RadioGroup, {
|
|
533
|
-
value:
|
|
534
|
-
attrs:
|
|
535
|
-
value:
|
|
746
|
+
value: _this2.endRule,
|
|
747
|
+
attrs: _this2.v3 ? undefined : {
|
|
748
|
+
value: _this2.endRule,
|
|
536
749
|
dataItems: [{
|
|
537
750
|
value: 'never',
|
|
538
751
|
style: itemStyle,
|
|
539
|
-
label:
|
|
752
|
+
label: _this2.localizeMessage(recurrenceEditorEndNever, true)
|
|
540
753
|
}, {
|
|
541
754
|
value: 'count',
|
|
542
755
|
style: itemStyle,
|
|
543
|
-
label:
|
|
544
|
-
content: count.call(
|
|
756
|
+
label: _this2.localizeMessage(recurrenceEditorEndAfter, true),
|
|
757
|
+
content: count.call(_this2)
|
|
545
758
|
}, {
|
|
546
759
|
value: 'until',
|
|
547
760
|
style: itemStyle,
|
|
548
|
-
label:
|
|
549
|
-
content: dpUntil.call(
|
|
761
|
+
label: _this2.localizeMessage(recurrenceEditorEndOn, true),
|
|
762
|
+
content: dpUntil.call(_this2)
|
|
550
763
|
}]
|
|
551
764
|
},
|
|
552
|
-
onChange:
|
|
553
|
-
on:
|
|
554
|
-
"change":
|
|
765
|
+
onChange: _this2.handleEndRuleChange,
|
|
766
|
+
on: _this2.v3 ? undefined : {
|
|
767
|
+
"change": _this2.handleEndRuleChange
|
|
555
768
|
},
|
|
556
769
|
dataItems: [{
|
|
557
770
|
value: 'never',
|
|
558
771
|
style: itemStyle,
|
|
559
|
-
label:
|
|
772
|
+
label: _this2.localizeMessage(recurrenceEditorEndNever, true)
|
|
560
773
|
}, {
|
|
561
774
|
value: 'count',
|
|
562
775
|
style: itemStyle,
|
|
563
|
-
label:
|
|
564
|
-
content: count.call(
|
|
776
|
+
label: _this2.localizeMessage(recurrenceEditorEndAfter, true),
|
|
777
|
+
content: count.call(_this2)
|
|
565
778
|
}, {
|
|
566
779
|
value: 'until',
|
|
567
780
|
style: itemStyle,
|
|
568
|
-
label:
|
|
569
|
-
content: dpUntil.call(
|
|
781
|
+
label: _this2.localizeMessage(recurrenceEditorEndOn, true),
|
|
782
|
+
content: dpUntil.call(_this2)
|
|
570
783
|
}]
|
|
571
784
|
})])])])
|
|
572
785
|
);
|
|
@@ -135,19 +135,19 @@ var AgendaViewBodyVue2 = {
|
|
|
135
135
|
}, [h("div", {
|
|
136
136
|
"class": "k-scheduler-cell k-scheduler-timecolumn"
|
|
137
137
|
}, [h("div", [item.tail && h(Icon, {
|
|
138
|
-
name:
|
|
138
|
+
name: this.ks.isRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
139
139
|
attrs: this.v3 ? undefined : {
|
|
140
|
-
name:
|
|
141
|
-
icon: caretAltLeftIcon
|
|
140
|
+
name: this.ks.isRtl ? 'caret-alt-right' : 'caret-alt-left',
|
|
141
|
+
icon: this.ks.isRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
142
142
|
},
|
|
143
|
-
icon: caretAltLeftIcon
|
|
143
|
+
icon: this.ks.isRtl ? caretAltRightIcon : caretAltLeftIcon
|
|
144
144
|
}), item.isAllDay ? localization.toLanguageString(allDay, messages[allDay]) : getTimeFormat(this.intl, item), item.head && h(Icon, {
|
|
145
|
-
name:
|
|
145
|
+
name: this.ks.isRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
146
146
|
attrs: this.v3 ? undefined : {
|
|
147
|
-
name:
|
|
148
|
-
icon: caretAltRightIcon
|
|
147
|
+
name: this.ks.isRtl ? 'caret-alt-left' : 'caret-alt-right',
|
|
148
|
+
icon: this.ks.isRtl ? caretAltLeftIcon : caretAltRightIcon
|
|
149
149
|
},
|
|
150
|
-
icon: caretAltRightIcon
|
|
150
|
+
icon: this.ks.isRtl ? caretAltLeftIcon : caretAltRightIcon
|
|
151
151
|
})])]), h("div", {
|
|
152
152
|
"class": "k-scheduler-cell"
|
|
153
153
|
}, [h(EditTask, {
|