@progress/kendo-angular-dateinputs 7.0.0-next.202204010857 → 7.0.0-next.202204081436

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.
Files changed (30) hide show
  1. package/bundles/kendo-angular-dateinputs.umd.js +1 -1
  2. package/calendar/calendar.component.d.ts +3 -0
  3. package/common/models/fillmode.d.ts +5 -5
  4. package/common/models/rounded.d.ts +6 -6
  5. package/common/models/size.d.ts +5 -5
  6. package/dateinput/dateinput.component.d.ts +13 -13
  7. package/datepicker/datepicker.component.d.ts +13 -13
  8. package/daterange/date-range-end-input.directive.d.ts +1 -2
  9. package/daterange/date-range-input.d.ts +1 -3
  10. package/daterange/date-range-popup.component.d.ts +2 -4
  11. package/daterange/date-range-start-input.directive.d.ts +1 -2
  12. package/daterange/date-range.service.d.ts +33 -0
  13. package/esm2015/calendar/calendar.component.js +3 -0
  14. package/esm2015/dateinput/dateinput.component.js +36 -33
  15. package/esm2015/datepicker/datepicker.component.js +29 -26
  16. package/esm2015/daterange/date-range-end-input.directive.js +4 -5
  17. package/esm2015/daterange/date-range-input.js +8 -11
  18. package/esm2015/daterange/date-range-popup.component.js +7 -9
  19. package/esm2015/daterange/date-range-start-input.directive.js +4 -5
  20. package/esm2015/daterange/date-range.component.js +2 -3
  21. package/esm2015/daterange/date-range.service.js +61 -0
  22. package/esm2015/main.js +0 -1
  23. package/esm2015/package-metadata.js +1 -1
  24. package/esm2015/util.js +12 -0
  25. package/fesm2015/kendo-angular-dateinputs.js +159 -162
  26. package/main.d.ts +0 -1
  27. package/package.json +6 -6
  28. package/util.d.ts +12 -0
  29. package/daterange/date-range-popup.service.d.ts +0 -52
  30. package/esm2015/daterange/date-range-popup.service.js +0 -87
@@ -11,10 +11,9 @@ import { isPresent } from '../common/utils';
11
11
  * @hidden
12
12
  */
13
13
  export class DateRangeInput {
14
- constructor(activeRangeEnd, dateRangeService, dateRangePopupService, input, element, renderer, zone) {
14
+ constructor(activeRangeEnd, dateRangeService, input, element, renderer, zone) {
15
15
  this.activeRangeEnd = activeRangeEnd;
16
16
  this.dateRangeService = dateRangeService;
17
- this.dateRangePopupService = dateRangePopupService;
18
17
  this.input = input;
19
18
  this.element = element;
20
19
  this.renderer = renderer;
@@ -27,7 +26,7 @@ export class DateRangeInput {
27
26
  return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
28
27
  }
29
28
  get popupCalendarActivated() {
30
- const popup = this.dateRangePopupService.dateRangePopup$.value;
29
+ const popup = this.dateRangeService.dateRangePopup$.value;
31
30
  return isPresent(popup) && isPresent(popup.calendar);
32
31
  }
33
32
  init() {
@@ -44,7 +43,7 @@ export class DateRangeInput {
44
43
  }
45
44
  this.toggleActiveClass(this.isActiveEnd);
46
45
  }),
47
- this.dateRangePopupService.dateRangePopup$.subscribe(popup => this.initPopup(popup)),
46
+ this.dateRangeService.dateRangePopup$.subscribe(popup => this.initPopup(popup)),
48
47
  this.dateRangeService.range$.subscribe(range => this.updateInputValue(range)),
49
48
  fromEvent(this.element.nativeElement, 'click').subscribe(() => this.activate()),
50
49
  fromEvent(this.element.nativeElement, 'keydown').subscribe((event) => this.togglePopup(event || {}))
@@ -74,19 +73,17 @@ export class DateRangeInput {
74
73
  }
75
74
  activate() {
76
75
  this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
77
- this.dateRangePopupService.activatePopup();
76
+ this.dateRangeService.activatePopup();
78
77
  }
79
78
  deactivate() {
80
79
  this.zone.runOutsideAngular(() => {
81
80
  setTimeout(() => {
82
81
  this.updateRange(this.input.value, 'blur');
83
- const startInputValue = this.dateRangeService.startInput$.value;
84
- const endInputValue = this.dateRangeService.endInput$.value;
85
- if (this.dateRangePopupService.hasActiveComponent(startInputValue, endInputValue)) {
82
+ if (this.dateRangeService.hasActiveComponent()) {
86
83
  return;
87
84
  }
88
85
  this.toggleActiveClass(false);
89
- this.zone.run(() => this.dateRangePopupService.deactivatePopup());
86
+ this.zone.run(() => this.dateRangeService.deactivatePopup());
90
87
  });
91
88
  });
92
89
  }
@@ -99,10 +96,10 @@ export class DateRangeInput {
99
96
  }
100
97
  togglePopup({ altKey, keyCode }) {
101
98
  if (keyCode === Keys.Escape) {
102
- this.dateRangePopupService.cancelPopup();
99
+ this.dateRangeService.cancelPopup();
103
100
  }
104
101
  else if (altKey && keyCode === Keys.ArrowDown) {
105
- this.dateRangePopupService.activatePopup();
102
+ this.dateRangeService.activatePopup();
106
103
  }
107
104
  }
108
105
  focusActiveDate() {
@@ -15,9 +15,8 @@ import { isPresent } from '../common/utils';
15
15
  import * as i0 from "@angular/core";
16
16
  import * as i1 from "@progress/kendo-angular-popup";
17
17
  import * as i2 from "./date-range.service";
18
- import * as i3 from "./date-range-popup.service";
19
- import * as i4 from "../calendar/multiview-calendar.component";
20
- import * as i5 from "./date-range-selection.directive";
18
+ import * as i3 from "../calendar/multiview-calendar.component";
19
+ import * as i4 from "./date-range-selection.directive";
21
20
  /**
22
21
  * Represents the Kendo UI DateRangePopup component for Angular.
23
22
  *
@@ -38,10 +37,9 @@ import * as i5 from "./date-range-selection.directive";
38
37
  * ```
39
38
  */
40
39
  export class DateRangePopupComponent {
41
- constructor(popupService, dateRangeService, dateRangePopupService, ref, zone, rtl) {
40
+ constructor(popupService, dateRangeService, ref, zone, rtl) {
42
41
  this.popupService = popupService;
43
42
  this.dateRangeService = dateRangeService;
44
- this.dateRangePopupService = dateRangePopupService;
45
43
  this.ref = ref;
46
44
  this.zone = zone;
47
45
  this.rtl = rtl;
@@ -134,7 +132,7 @@ export class DateRangePopupComponent {
134
132
  return this._show;
135
133
  }
136
134
  ngOnInit() {
137
- this.dateRangePopupService.registerPopup(this);
135
+ this.dateRangeService.registerPopup(this);
138
136
  }
139
137
  ngAfterViewInit() {
140
138
  this.calendarSubscriptions.add(this.contentCalendar.changes.subscribe((changes) => this.calendar = changes.first));
@@ -293,13 +291,13 @@ export class DateRangePopupComponent {
293
291
  }
294
292
  }
295
293
  }
296
- DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1.PopupService }, { token: i2.DateRangeService }, { token: i3.DateRangePopupService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
294
+ DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1.PopupService }, { token: i2.DateRangeService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
297
295
  DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: DateRangePopupTemplateDirective, descendants: true }, { propertyName: "contentCalendar", predicate: MultiViewCalendarComponent }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true }, { propertyName: "viewCalendar", predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-daterange-popup"], ngImport: i0, template: `
298
296
  <ng-container #container></ng-container>
299
297
  <ng-template #defaultTemplate>
300
298
  <kendo-multiviewcalendar kendoDateRangeSelection></kendo-multiviewcalendar>
301
299
  </ng-template>
302
- `, isInline: true, components: [{ type: i4.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur"], exportAs: ["kendo-multiviewcalendar"] }], directives: [{ type: i5.DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }] });
300
+ `, isInline: true, components: [{ type: i3.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur"], exportAs: ["kendo-multiviewcalendar"] }], directives: [{ type: i4.DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }] });
303
301
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangePopupComponent, decorators: [{
304
302
  type: Component,
305
303
  args: [{
@@ -312,7 +310,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
312
310
  </ng-template>
313
311
  `
314
312
  }]
315
- }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.DateRangeService }, { type: i3.DateRangePopupService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
313
+ }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.DateRangeService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
316
314
  type: Optional
317
315
  }, {
318
316
  type: Inject,
@@ -10,15 +10,14 @@ import { clampRange, isInRange } from '../util';
10
10
  import * as i0 from "@angular/core";
11
11
  import * as i1 from "./date-range.service";
12
12
  import * as i2 from "../dateinput/dateinput.component";
13
- import * as i3 from "./date-range-popup.service";
14
13
  /**
15
14
  * A directive which manages the start selection range.
16
15
  *
17
16
  * > You can use the DateRangeStartInputDirective only with a DateInput component.
18
17
  */
19
18
  export class DateRangeStartInputDirective extends DateRangeInput {
20
- constructor(rangeService, dateInput, rangePopupService, element, renderer, zone) {
21
- super('start', rangeService, rangePopupService, dateInput, element, renderer, zone);
19
+ constructor(rangeService, dateInput, element, renderer, zone) {
20
+ super('start', rangeService, dateInput, element, renderer, zone);
22
21
  this.rangeService = rangeService;
23
22
  this.dateInput = dateInput;
24
23
  /**
@@ -74,14 +73,14 @@ export class DateRangeStartInputDirective extends DateRangeInput {
74
73
  this.dateInput.notify();
75
74
  }
76
75
  }
77
- DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i3.DateRangePopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
76
+ DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
78
77
  DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
79
78
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
80
79
  type: Directive,
81
80
  args: [{
82
81
  selector: '[kendoDateRangeStartInput]'
83
82
  }]
84
- }], ctorParameters: function () { return [{ type: i1.DateRangeService }, { type: i2.DateInputComponent }, { type: i3.DateRangePopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
83
+ }], ctorParameters: function () { return [{ type: i1.DateRangeService }, { type: i2.DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
85
84
  type: Input
86
85
  }], navigateCalendarOnFocus: [{
87
86
  type: Input
@@ -7,7 +7,6 @@ import { validatePackage } from '@progress/kendo-licensing';
7
7
  import { packageMetadata } from '../package-metadata';
8
8
  import { DateRangePopupComponent } from './date-range-popup.component';
9
9
  import { DateRangeService } from './date-range.service';
10
- import { DateRangePopupService } from './date-range-popup.service';
11
10
  import * as i0 from "@angular/core";
12
11
  import * as i1 from "./date-range-popup.component";
13
12
  import * as i2 from "@angular/common";
@@ -54,14 +53,14 @@ export class DateRangeComponent {
54
53
  }
55
54
  }
56
55
  DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
- DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeComponent, selector: "kendo-daterange", providers: [DateRangeService, DateRangePopupService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
56
+ DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeComponent, selector: "kendo-daterange", providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
58
57
  <ng-content></ng-content>
59
58
  <kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
60
59
  `, isInline: true, components: [{ type: i1.DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
61
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeComponent, decorators: [{
62
61
  type: Component,
63
62
  args: [{
64
- providers: [DateRangeService, DateRangePopupService],
63
+ providers: [DateRangeService],
65
64
  selector: 'kendo-daterange',
66
65
  template: `
67
66
  <ng-content></ng-content>
@@ -7,6 +7,8 @@ import { BehaviorSubject } from 'rxjs';
7
7
  import { EMPTY_SELECTIONRANGE } from '../calendar/models/selection-range.interface';
8
8
  import { isEqual } from '@progress/kendo-date-math';
9
9
  import * as i0 from "@angular/core";
10
+ const isActive = (cmp) => (cmp && cmp.isActive) || false;
11
+ const hasActiveContent = (popup) => popup && popup.hasActiveContent();
10
12
  /**
11
13
  * A service that handles the communication between the components that are placed inside the DateRangeComponent.
12
14
  * For example, the start and end `DateInput` and `DateRangePopup` components.
@@ -31,6 +33,10 @@ export class DateRangeService {
31
33
  * For example, when a new start `DateInput` is attached or the old one is detached.
32
34
  */
33
35
  this.startInput$ = new BehaviorSubject(null);
36
+ /**
37
+ * An Observable instance that notifies when the `DateRangePopup` component is changed.
38
+ */
39
+ this.dateRangePopup$ = new BehaviorSubject(null);
34
40
  /**
35
41
  * An Observable instance that notifies when the state of the selection range is changed.
36
42
  */
@@ -68,17 +74,66 @@ export class DateRangeService {
68
74
  get selectionRange() {
69
75
  return this.range$.value;
70
76
  }
77
+ /**
78
+ * Activates the registered `DateRangePopup` component.
79
+ * The method opens the popup and focuses the calendar.
80
+ */
81
+ activatePopup() {
82
+ const dateRangePopup = this.dateRangePopup$.value;
83
+ if (!dateRangePopup) {
84
+ return;
85
+ }
86
+ dateRangePopup.activate();
87
+ }
88
+ /**
89
+ * Deactivates the registered `DateRangePopup` component.
90
+ * The method closes the popup.
91
+ */
92
+ deactivatePopup() {
93
+ const dateRangePopup = this.dateRangePopup$.value;
94
+ if (!(dateRangePopup && dateRangePopup.show)) {
95
+ return;
96
+ }
97
+ dateRangePopup.show = false;
98
+ }
99
+ /**
100
+ * @hidden
101
+ *
102
+ * Deactivates the registered `DateRangePopup` component and fires the `cancel` event.
103
+ * The method closes the popup.
104
+ */
105
+ cancelPopup() {
106
+ const dateRangePopup = this.dateRangePopup$.value;
107
+ if (!(dateRangePopup && dateRangePopup.show)) {
108
+ return;
109
+ }
110
+ dateRangePopup.cancelPopup();
111
+ }
71
112
  /**
72
113
  * Completes all observables to mitigate possible memory leaks.
73
114
  * Calls the method when a component that uses it is destroyed.
74
115
  */
75
116
  destroy() {
76
117
  this.activeRangeEnd$.complete();
118
+ this.dateRangePopup$.complete();
77
119
  this.focusedDate$.complete();
78
120
  this.endInput$.complete();
79
121
  this.startInput$.complete();
80
122
  this.range$.complete();
81
123
  }
124
+ /**
125
+ * Returns `true` when an active component that is placed inside the `DateRangeComponent` is detected.
126
+ * For example, the opened popup or the focused DateInput.
127
+ *
128
+ * @returns `true` if an active component is present.
129
+ */
130
+ hasActiveComponent() {
131
+ const popup = this.dateRangePopup$.value;
132
+ const isPopup = isActive(popup);
133
+ const isStart = isActive(this.startInput$.value);
134
+ const isEnd = isActive(this.endInput$.value);
135
+ return isPopup || isStart || isEnd || hasActiveContent(popup) || false;
136
+ }
82
137
  /**
83
138
  * Registers a new start `DateInput` component. Notifies all `startInput$` listeners.
84
139
  */
@@ -91,6 +146,12 @@ export class DateRangeService {
91
146
  registerEndInput(endInput) {
92
147
  this.endInput$.next(endInput);
93
148
  }
149
+ /**
150
+ * Registers a new `DateRangePopup` component. Notifies all `dateRangePopup$` listeners.
151
+ */
152
+ registerPopup(dateRangePopup) {
153
+ this.dateRangePopup$.next(dateRangePopup);
154
+ }
94
155
  /**
95
156
  * Updates the `activeRangeEnd` value. Notifies all `activeRangeEnd$` listeners.
96
157
  */
package/esm2015/main.js CHANGED
@@ -42,7 +42,6 @@ export { DateTimePickerModule } from './datetimepicker/datetimepicker.module';
42
42
  export { MultiViewCalendarModule } from './calendar/multiview-calendar.module';
43
43
  export { DateRangeModule } from './daterange/date-range.module';
44
44
  export { DateRangeService } from './daterange/date-range.service';
45
- export { DateRangePopupService } from './daterange/date-range-popup.service';
46
45
  export { CalendarCustomMessagesComponent } from './calendar/localization/calendar-custom-messages.component';
47
46
  export { DateInputCustomMessagesComponent } from './dateinput/localization/dateinput-custom-messages.component';
48
47
  export { DatePickerCustomMessagesComponent } from './datepicker/localization/datepicker-custom-messages.component';
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dateinputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1648803322,
12
+ publishDate: 1649428453,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
package/esm2015/util.js CHANGED
@@ -382,3 +382,15 @@ export const getFillModeClass = (component, fillMode) => {
382
382
  };
383
383
  return FILLMODE_CLASSES[fillMode];
384
384
  };
385
+ /**
386
+ * @hidden
387
+ */
388
+ export const DEFAULT_ROUNDED = 'medium';
389
+ /**
390
+ * @hidden
391
+ */
392
+ export const DEFAULT_SIZE = 'medium';
393
+ /**
394
+ * @hidden
395
+ */
396
+ export const DEFAULT_FILL_MODE = 'solid';