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