@progress/kendo-angular-scheduler 21.1.1-develop.2 → 21.2.0-develop.10
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/esm2022/editing/date-time-picker.component.mjs +59 -56
- package/esm2022/editing/edit-dialog.component.mjs +373 -359
- package/esm2022/editing/recurrence/recurrence-editor.component.mjs +262 -253
- package/esm2022/editing/recurrence/recurrence-frequency-editor.component.mjs +44 -41
- package/esm2022/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +190 -193
- package/esm2022/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +44 -43
- package/esm2022/editing/resource-multiple-editor.component.mjs +49 -41
- package/esm2022/editing/resource-single-editor.component.mjs +35 -31
- package/esm2022/editing/timezone-editor.component.mjs +20 -17
- package/esm2022/navigation/shortcuts.directive.mjs +12 -12
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command.directive.mjs +27 -17
- package/esm2022/scheduler.component.mjs +631 -625
- package/esm2022/toolbar/toolbar.component.mjs +37 -37
- package/esm2022/toolbar/view-selector.component.mjs +42 -33
- package/esm2022/views/agenda/agenda-header-item.component.mjs +23 -19
- package/esm2022/views/agenda/agenda-header.component.mjs +28 -26
- package/esm2022/views/agenda/agenda-task-item.component.mjs +49 -29
- package/esm2022/views/agenda/agenda-view-list.component.mjs +117 -95
- package/esm2022/views/common/resize-hint.component.mjs +16 -9
- package/esm2022/views/common/view-footer.component.mjs +27 -25
- package/esm2022/views/day-time/day-time-view-item.component.mjs +125 -85
- package/esm2022/views/month/month-slot.component.mjs +39 -29
- package/esm2022/views/month/month-view-item.component.mjs +81 -61
- package/esm2022/views/month/month-view-renderer.component.mjs +349 -281
- package/esm2022/views/multi-day/day-view.component.mjs +72 -69
- package/esm2022/views/multi-day/multi-day-view-renderer.component.mjs +665 -515
- package/esm2022/views/multi-day/multi-day-view.component.mjs +76 -73
- package/esm2022/views/multi-day/week-view.component.mjs +78 -75
- package/esm2022/views/multi-day/work-week-view.component.mjs +80 -77
- package/esm2022/views/timeline/timeline-month-view.component.mjs +74 -71
- package/esm2022/views/timeline/timeline-multi-day-view.component.mjs +449 -359
- package/esm2022/views/timeline/timeline-view.component.mjs +68 -65
- package/esm2022/views/timeline/timeline-week-view.component.mjs +74 -71
- package/esm2022/views/year/year-view-internal.component.mjs +151 -131
- package/fesm2022/progress-kendo-angular-scheduler.mjs +4460 -3901
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +3 -3
|
@@ -6,7 +6,6 @@ import { Component, ViewChildren, QueryList } from '@angular/core';
|
|
|
6
6
|
import { RecurrenceService } from './recurrence.service';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { Button, ButtonComponent, ButtonGroupComponent } from '@progress/kendo-angular-buttons';
|
|
9
|
-
import { NgFor } from '@angular/common';
|
|
10
9
|
import { LabelComponent } from '@progress/kendo-angular-label';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
import * as i1 from "./recurrence.service";
|
|
@@ -44,28 +43,30 @@ export class RecurrenceFrequencyEditorComponent {
|
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
46
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RecurrenceFrequencyEditorComponent, isStandalone: true, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
48
47
|
<div class='k-form-field'>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</
|
|
66
|
-
|
|
48
|
+
<kendo-label
|
|
49
|
+
[text]="textFor('repeat')"
|
|
50
|
+
(click)="onFrequencyClick()"
|
|
51
|
+
labelCssClass="k-form-label"
|
|
52
|
+
></kendo-label>
|
|
53
|
+
<div class="k-form-field-wrap">
|
|
54
|
+
<kendo-buttongroup
|
|
55
|
+
class="k-scheduler-recurrence-repeat k-button-group-solid"
|
|
56
|
+
width="100%"
|
|
57
|
+
selection="single"
|
|
58
|
+
>
|
|
59
|
+
@for (freq of frequencies; track freq) {
|
|
60
|
+
<button kendoButton
|
|
61
|
+
[toggleable]="true"
|
|
62
|
+
[selected]="freq.value === selected"
|
|
63
|
+
(click)="onClick(freq)"
|
|
64
|
+
>{{ freq.text }}</button>
|
|
65
|
+
}
|
|
66
|
+
</kendo-buttongroup>
|
|
67
|
+
</div>
|
|
67
68
|
</div>
|
|
68
|
-
|
|
69
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
69
70
|
}
|
|
70
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
71
72
|
type: Component,
|
|
@@ -73,28 +74,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
73
74
|
selector: 'kendo-recurrence-frequency-editor',
|
|
74
75
|
template: `
|
|
75
76
|
<div class='k-form-field'>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</
|
|
93
|
-
|
|
77
|
+
<kendo-label
|
|
78
|
+
[text]="textFor('repeat')"
|
|
79
|
+
(click)="onFrequencyClick()"
|
|
80
|
+
labelCssClass="k-form-label"
|
|
81
|
+
></kendo-label>
|
|
82
|
+
<div class="k-form-field-wrap">
|
|
83
|
+
<kendo-buttongroup
|
|
84
|
+
class="k-scheduler-recurrence-repeat k-button-group-solid"
|
|
85
|
+
width="100%"
|
|
86
|
+
selection="single"
|
|
87
|
+
>
|
|
88
|
+
@for (freq of frequencies; track freq) {
|
|
89
|
+
<button kendoButton
|
|
90
|
+
[toggleable]="true"
|
|
91
|
+
[selected]="freq.value === selected"
|
|
92
|
+
(click)="onClick(freq)"
|
|
93
|
+
>{{ freq.text }}</button>
|
|
94
|
+
}
|
|
95
|
+
</kendo-buttongroup>
|
|
96
|
+
</div>
|
|
94
97
|
</div>
|
|
95
|
-
|
|
98
|
+
`,
|
|
96
99
|
standalone: true,
|
|
97
|
-
imports: [LabelComponent, ButtonGroupComponent,
|
|
100
|
+
imports: [LabelComponent, ButtonGroupComponent, ButtonComponent]
|
|
98
101
|
}]
|
|
99
102
|
}], ctorParameters: () => [{ type: i1.RecurrenceService }, { type: i2.LocalizationService }], propDecorators: { weekDayButtons: [{
|
|
100
103
|
type: ViewChildren,
|
|
@@ -10,7 +10,6 @@ import { RepeatOnRadioButtonDirective } from './repeat-on-radio-button.directive
|
|
|
10
10
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
11
|
import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent } from '@progress/kendo-angular-inputs';
|
|
12
12
|
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
13
|
-
import { NgIf } from '@angular/common';
|
|
14
13
|
import { LabelComponent, LabelDirective } from '@progress/kendo-angular-label';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
import * as i1 from "./recurrence.service";
|
|
@@ -249,109 +248,108 @@ export class RecurrenceMonthlyYearlyEditorComponent {
|
|
|
249
248
|
}
|
|
250
249
|
}
|
|
251
250
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
252
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
251
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RecurrenceMonthlyYearlyEditorComponent, isStandalone: true, selector: "kendo-recurrence-monthly-yearly-editor", inputs: { userNumericOptions: "userNumericOptions" }, viewQueries: [{ propertyName: "repeatOnRadioButtons", predicate: RepeatOnRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
253
252
|
<div class='k-form-field'>
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
253
|
+
<kendo-label
|
|
254
|
+
[text]="textForRepeatOn()"
|
|
255
|
+
labelCssClass="k-form-label"
|
|
256
|
+
(click)="onRepeatOnLabelClick()"
|
|
257
|
+
></kendo-label>
|
|
258
|
+
<div class="k-form-field-wrap">
|
|
259
|
+
<ul class='k-radio-list'>
|
|
260
|
+
<li class='k-radio-list-item'>
|
|
261
|
+
<span class="k-radio-wrap">
|
|
262
|
+
<input kendoRecurrenceRepeatOnRadioButton='monthday-{{uniqueId}}' />
|
|
263
|
+
</span>
|
|
264
|
+
<label [labelClass]="false" class='k-radio-label' for='k-repeaton-monthday-{{uniqueId}}'>
|
|
265
|
+
@if (currentFreq === 'monthly') {
|
|
266
|
+
{{ textFor('monthlyDay') }}
|
|
267
|
+
}
|
|
268
|
+
</label>
|
|
270
269
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
270
|
+
@if (currentFreq === 'yearly') {
|
|
271
|
+
<kendo-dropdownlist
|
|
272
|
+
[data]='months'
|
|
273
|
+
textField='text'
|
|
274
|
+
valueField='value'
|
|
275
|
+
[value]='currentMonthMonthDay'
|
|
276
|
+
[valuePrimitive]='true'
|
|
277
|
+
(valueChange)="onMonthChange($event, 'monthday')"
|
|
278
|
+
[disabled]="isDisabled('monthday')"
|
|
279
|
+
[style.width.px]="170"
|
|
280
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
281
|
+
</kendo-dropdownlist>
|
|
282
|
+
}
|
|
284
283
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
284
|
+
<kendo-numerictextbox
|
|
285
|
+
class="k-recur-monthday"
|
|
286
|
+
[min]="numericOptions.min"
|
|
287
|
+
[max]="numericOptions.max"
|
|
288
|
+
[decimals]="0"
|
|
289
|
+
[format]="numericOptions.format"
|
|
290
|
+
[autoCorrect]="numericOptions.autoCorrect"
|
|
291
|
+
[readonly]="numericOptions.readonly"
|
|
292
|
+
[selectOnFocus]="numericOptions.selectOnFocus"
|
|
293
|
+
[spinners]="numericOptions.spinners"
|
|
294
|
+
[step]="numericOptions.step"
|
|
295
|
+
[title]="numericOptions.title"
|
|
296
|
+
[value]='monthDay'
|
|
297
|
+
(valueChange)='onMonthDayChange($event)'
|
|
298
|
+
[disabled]="isDisabled('monthday')"
|
|
299
|
+
>
|
|
300
|
+
<kendo-numerictextbox-messages
|
|
301
|
+
[increment]="textFor('numericIncrement')"
|
|
302
|
+
[decrement]="textFor('numericDecrement')"
|
|
303
|
+
>
|
|
304
|
+
</kendo-numerictextbox-messages>
|
|
305
|
+
</kendo-numerictextbox>
|
|
306
|
+
</li>
|
|
307
|
+
<li class='k-radio-list-item'>
|
|
308
|
+
<span class="k-radio-wrap">
|
|
309
|
+
<input kendoRecurrenceRepeatOnRadioButton='weekday-{{uniqueId}}' />
|
|
310
|
+
</span>
|
|
311
|
+
<label [labelClass]="false" class='k-radio-label' for='k-repeaton-weekday-{{uniqueId}}'></label>
|
|
313
312
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
313
|
+
<kendo-dropdownlist
|
|
314
|
+
[data]='offsetPositions'
|
|
315
|
+
textField='text'
|
|
316
|
+
valueField='value'
|
|
317
|
+
[value]='offset'
|
|
318
|
+
[valuePrimitive]='true'
|
|
319
|
+
(valueChange)='onOffsetPositionChange($event)'
|
|
320
|
+
[disabled]="isDisabled('weekday')"
|
|
321
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
322
|
+
</kendo-dropdownlist>
|
|
324
323
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
324
|
+
<kendo-dropdownlist
|
|
325
|
+
[data]="extendedWeekDays"
|
|
326
|
+
textField='text'
|
|
327
|
+
valueField='value'
|
|
328
|
+
[value]='weekDay'
|
|
329
|
+
[valuePrimitive]='true'
|
|
330
|
+
(valueChange)='onWeekDayChange($event)'
|
|
331
|
+
[disabled]="isDisabled('weekday')"
|
|
332
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
333
|
+
</kendo-dropdownlist>
|
|
335
334
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
</div>
|
|
335
|
+
@if (currentFreq === 'yearly') {
|
|
336
|
+
<span>{{ textFor('yearlyOf') }}</span>
|
|
337
|
+
<kendo-dropdownlist
|
|
338
|
+
[data]='months'
|
|
339
|
+
textField='text'
|
|
340
|
+
valueField='value'
|
|
341
|
+
[value]='currentMonthWeekDay'
|
|
342
|
+
[valuePrimitive]='true'
|
|
343
|
+
(valueChange)="onMonthChange($event, 'weekday')"
|
|
344
|
+
[disabled]="isDisabled('weekday')"
|
|
345
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
346
|
+
</kendo-dropdownlist>
|
|
347
|
+
}
|
|
348
|
+
</li>
|
|
349
|
+
</ul>
|
|
350
|
+
</div>
|
|
353
351
|
</div>
|
|
354
|
-
|
|
352
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: RepeatOnRadioButtonDirective, selector: "[kendoRecurrenceRepeatOnRadioButton]", inputs: ["kendoRecurrenceRepeatOnRadioButton"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }] });
|
|
355
353
|
}
|
|
356
354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, decorators: [{
|
|
357
355
|
type: Component,
|
|
@@ -359,109 +357,108 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
359
357
|
selector: 'kendo-recurrence-monthly-yearly-editor',
|
|
360
358
|
template: `
|
|
361
359
|
<div class='k-form-field'>
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
<ng-template [ngIf]="currentFreq === 'yearly'">
|
|
380
|
-
<kendo-dropdownlist
|
|
381
|
-
[data]='months'
|
|
382
|
-
textField='text'
|
|
383
|
-
valueField='value'
|
|
384
|
-
[value]='currentMonthMonthDay'
|
|
385
|
-
[valuePrimitive]='true'
|
|
386
|
-
(valueChange)="onMonthChange($event, 'monthday')"
|
|
387
|
-
[disabled]="isDisabled('monthday')"
|
|
388
|
-
[style.width.px]="170"
|
|
389
|
-
[style.margin]="'0 .4ex 0 1ex'">
|
|
390
|
-
</kendo-dropdownlist>
|
|
391
|
-
</ng-template>
|
|
360
|
+
<kendo-label
|
|
361
|
+
[text]="textForRepeatOn()"
|
|
362
|
+
labelCssClass="k-form-label"
|
|
363
|
+
(click)="onRepeatOnLabelClick()"
|
|
364
|
+
></kendo-label>
|
|
365
|
+
<div class="k-form-field-wrap">
|
|
366
|
+
<ul class='k-radio-list'>
|
|
367
|
+
<li class='k-radio-list-item'>
|
|
368
|
+
<span class="k-radio-wrap">
|
|
369
|
+
<input kendoRecurrenceRepeatOnRadioButton='monthday-{{uniqueId}}' />
|
|
370
|
+
</span>
|
|
371
|
+
<label [labelClass]="false" class='k-radio-label' for='k-repeaton-monthday-{{uniqueId}}'>
|
|
372
|
+
@if (currentFreq === 'monthly') {
|
|
373
|
+
{{ textFor('monthlyDay') }}
|
|
374
|
+
}
|
|
375
|
+
</label>
|
|
392
376
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
(valueChange)='onMonthDayChange($event)'
|
|
407
|
-
[disabled]="isDisabled('monthday')"
|
|
408
|
-
>
|
|
409
|
-
<kendo-numerictextbox-messages
|
|
410
|
-
[increment]="textFor('numericIncrement')"
|
|
411
|
-
[decrement]="textFor('numericDecrement')"
|
|
412
|
-
>
|
|
413
|
-
</kendo-numerictextbox-messages>
|
|
414
|
-
</kendo-numerictextbox>
|
|
415
|
-
</li>
|
|
416
|
-
<li class='k-radio-list-item'>
|
|
417
|
-
<span class="k-radio-wrap">
|
|
418
|
-
<input kendoRecurrenceRepeatOnRadioButton='weekday-{{uniqueId}}' />
|
|
419
|
-
</span>
|
|
420
|
-
<label [labelClass]="false" class='k-radio-label' for='k-repeaton-weekday-{{uniqueId}}'></label>
|
|
377
|
+
@if (currentFreq === 'yearly') {
|
|
378
|
+
<kendo-dropdownlist
|
|
379
|
+
[data]='months'
|
|
380
|
+
textField='text'
|
|
381
|
+
valueField='value'
|
|
382
|
+
[value]='currentMonthMonthDay'
|
|
383
|
+
[valuePrimitive]='true'
|
|
384
|
+
(valueChange)="onMonthChange($event, 'monthday')"
|
|
385
|
+
[disabled]="isDisabled('monthday')"
|
|
386
|
+
[style.width.px]="170"
|
|
387
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
388
|
+
</kendo-dropdownlist>
|
|
389
|
+
}
|
|
421
390
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
391
|
+
<kendo-numerictextbox
|
|
392
|
+
class="k-recur-monthday"
|
|
393
|
+
[min]="numericOptions.min"
|
|
394
|
+
[max]="numericOptions.max"
|
|
395
|
+
[decimals]="0"
|
|
396
|
+
[format]="numericOptions.format"
|
|
397
|
+
[autoCorrect]="numericOptions.autoCorrect"
|
|
398
|
+
[readonly]="numericOptions.readonly"
|
|
399
|
+
[selectOnFocus]="numericOptions.selectOnFocus"
|
|
400
|
+
[spinners]="numericOptions.spinners"
|
|
401
|
+
[step]="numericOptions.step"
|
|
402
|
+
[title]="numericOptions.title"
|
|
403
|
+
[value]='monthDay'
|
|
404
|
+
(valueChange)='onMonthDayChange($event)'
|
|
405
|
+
[disabled]="isDisabled('monthday')"
|
|
406
|
+
>
|
|
407
|
+
<kendo-numerictextbox-messages
|
|
408
|
+
[increment]="textFor('numericIncrement')"
|
|
409
|
+
[decrement]="textFor('numericDecrement')"
|
|
410
|
+
>
|
|
411
|
+
</kendo-numerictextbox-messages>
|
|
412
|
+
</kendo-numerictextbox>
|
|
413
|
+
</li>
|
|
414
|
+
<li class='k-radio-list-item'>
|
|
415
|
+
<span class="k-radio-wrap">
|
|
416
|
+
<input kendoRecurrenceRepeatOnRadioButton='weekday-{{uniqueId}}' />
|
|
417
|
+
</span>
|
|
418
|
+
<label [labelClass]="false" class='k-radio-label' for='k-repeaton-weekday-{{uniqueId}}'></label>
|
|
432
419
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
420
|
+
<kendo-dropdownlist
|
|
421
|
+
[data]='offsetPositions'
|
|
422
|
+
textField='text'
|
|
423
|
+
valueField='value'
|
|
424
|
+
[value]='offset'
|
|
425
|
+
[valuePrimitive]='true'
|
|
426
|
+
(valueChange)='onOffsetPositionChange($event)'
|
|
427
|
+
[disabled]="isDisabled('weekday')"
|
|
428
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
429
|
+
</kendo-dropdownlist>
|
|
443
430
|
|
|
444
|
-
|
|
445
|
-
|
|
431
|
+
<kendo-dropdownlist
|
|
432
|
+
[data]="extendedWeekDays"
|
|
433
|
+
textField='text'
|
|
434
|
+
valueField='value'
|
|
435
|
+
[value]='weekDay'
|
|
436
|
+
[valuePrimitive]='true'
|
|
437
|
+
(valueChange)='onWeekDayChange($event)'
|
|
438
|
+
[disabled]="isDisabled('weekday')"
|
|
439
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
440
|
+
</kendo-dropdownlist>
|
|
446
441
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
442
|
+
@if (currentFreq === 'yearly') {
|
|
443
|
+
<span>{{ textFor('yearlyOf') }}</span>
|
|
444
|
+
<kendo-dropdownlist
|
|
445
|
+
[data]='months'
|
|
446
|
+
textField='text'
|
|
447
|
+
valueField='value'
|
|
448
|
+
[value]='currentMonthWeekDay'
|
|
449
|
+
[valuePrimitive]='true'
|
|
450
|
+
(valueChange)="onMonthChange($event, 'weekday')"
|
|
451
|
+
[disabled]="isDisabled('weekday')"
|
|
452
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
453
|
+
</kendo-dropdownlist>
|
|
454
|
+
}
|
|
455
|
+
</li>
|
|
456
|
+
</ul>
|
|
457
|
+
</div>
|
|
461
458
|
</div>
|
|
462
|
-
|
|
459
|
+
`,
|
|
463
460
|
standalone: true,
|
|
464
|
-
imports: [LabelComponent, RepeatOnRadioButtonDirective, LabelDirective,
|
|
461
|
+
imports: [LabelComponent, RepeatOnRadioButtonDirective, LabelDirective, DropDownListComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent]
|
|
465
462
|
}]
|
|
466
463
|
}], ctorParameters: () => [{ type: i1.RecurrenceService }, { type: i2.LocalizationService }], propDecorators: { userNumericOptions: [{
|
|
467
464
|
type: Input
|