@progress/kendo-react-dateinputs 5.4.0-dev.202205250548 → 5.4.0-dev.202205271059
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-react-dateinputs.js +1 -1
- package/dist/es/PopupSettings.js +1 -0
- package/dist/es/calendar/components/Calendar.d.ts +8 -8
- package/dist/es/calendar/components/Calendar.js +9 -7
- package/dist/es/calendar/components/CalendarCell.js +7 -3
- package/dist/es/calendar/components/CalendarHeaderTitle.js +7 -3
- package/dist/es/calendar/components/CalendarNavigationItem.js +7 -3
- package/dist/es/calendar/components/CalendarWeekCell.js +7 -3
- package/dist/es/calendar/components/Header.d.ts +4 -4
- package/dist/es/calendar/components/Header.js +7 -5
- package/dist/es/calendar/components/HorizontalViewList.d.ts +4 -4
- package/dist/es/calendar/components/HorizontalViewList.js +7 -5
- package/dist/es/calendar/components/MultiViewCalendar.d.ts +11 -11
- package/dist/es/calendar/components/MultiViewCalendar.js +12 -10
- package/dist/es/calendar/components/Navigation.d.ts +1 -1
- package/dist/es/calendar/components/Navigation.js +4 -2
- package/dist/es/calendar/components/TodayCommand.d.ts +3 -3
- package/dist/es/calendar/components/TodayCommand.js +6 -4
- package/dist/es/calendar/components/View.d.ts +7 -7
- package/dist/es/calendar/components/View.js +10 -8
- package/dist/es/calendar/components/ViewList.d.ts +6 -6
- package/dist/es/calendar/components/ViewList.js +9 -7
- package/dist/es/calendar/models/ActiveView.js +1 -0
- package/dist/es/calendar/models/CalendarSettings.js +1 -0
- package/dist/es/calendar/models/CellContext.js +1 -0
- package/dist/es/calendar/models/MultiViewCalendarMode.js +1 -0
- package/dist/es/calendar/models/MultiViewCalendarSettings.js +1 -0
- package/dist/es/calendar/models/SelectionRangeEnd.js +1 -0
- package/dist/es/calendar/models/ViewService.js +1 -0
- package/dist/es/dateinput/DateInput.d.ts +17 -17
- package/dist/es/dateinput/DateInput.js +23 -16
- package/dist/es/dateinput/models/DateInputSettings.js +1 -0
- package/dist/es/dateinput/models/format-placeholder.js +1 -0
- package/dist/es/dateinput/models/incremental-steps.js +1 -0
- package/dist/es/dateinput/models/kendo-date.d.ts +2 -2
- package/dist/es/dateinput/models/kendo-date.js +2 -2
- package/dist/es/dateinput/models/selection.js +1 -0
- package/dist/es/dateinput/utils.d.ts +1 -1
- package/dist/es/datepicker/DatePicker.d.ts +21 -21
- package/dist/es/datepicker/DatePicker.js +24 -20
- package/dist/es/datepicker/models/DatePickerSettings.js +1 -0
- package/dist/es/datepicker/models/index.js +1 -0
- package/dist/es/daterangepicker/DateRangePicker.d.ts +11 -11
- package/dist/es/daterangepicker/DateRangePicker.js +16 -14
- package/dist/es/daterangepicker/models/DateRangePickerCalendarSettings.js +1 -0
- package/dist/es/daterangepicker/models/DateRangePickerDateInputSettings.js +1 -0
- package/dist/es/daterangepicker/models/DateRangePickerPopupSettings.js +1 -0
- package/dist/es/daterangepicker/models/DateRangePickerSettings.js +1 -0
- package/dist/es/daterangepicker/models/index.js +1 -0
- package/dist/es/datetimepicker/DateTimePicker.d.ts +16 -16
- package/dist/es/datetimepicker/DateTimePicker.js +30 -15
- package/dist/es/datetimepicker/DateTimeSelector.d.ts +6 -6
- package/dist/es/datetimepicker/DateTimeSelector.js +12 -7
- package/dist/es/datetimepicker/models/DateTimePickerSettings.js +1 -0
- package/dist/es/datetimepicker/models/index.js +1 -0
- package/dist/es/hooks/usePickerFloatingLabel.d.ts +1 -1
- package/dist/es/messages/index.d.ts +21 -21
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/TimeList.d.ts +5 -5
- package/dist/es/timepicker/TimeList.js +8 -6
- package/dist/es/timepicker/TimePart.d.ts +7 -7
- package/dist/es/timepicker/TimePart.js +10 -8
- package/dist/es/timepicker/TimePicker.d.ts +19 -19
- package/dist/es/timepicker/TimePicker.js +23 -19
- package/dist/es/timepicker/TimeSelector.d.ts +4 -4
- package/dist/es/timepicker/TimeSelector.js +7 -5
- package/dist/es/timepicker/models/IncrementalSteps.js +1 -0
- package/dist/es/timepicker/models/ListItem.js +1 -0
- package/dist/es/timepicker/models/ListService.js +1 -0
- package/dist/es/timepicker/models/ListServiceSettings.js +1 -0
- package/dist/es/timepicker/models/TimePickerSettings.js +1 -0
- package/dist/es/timepicker/utils.d.ts +4 -4
- package/dist/es/utils.d.ts +1 -1
- package/dist/es/utils.js +6 -1
- package/dist/es/virtualization/Virtualization.d.ts +7 -7
- package/dist/es/virtualization/Virtualization.js +9 -7
- package/dist/es/virtualization/services/RowHeightService.js +6 -1
- package/dist/npm/calendar/components/Calendar.d.ts +8 -8
- package/dist/npm/calendar/components/Calendar.js +10 -7
- package/dist/npm/calendar/components/CalendarCell.js +8 -3
- package/dist/npm/calendar/components/CalendarHeaderTitle.js +8 -3
- package/dist/npm/calendar/components/CalendarNavigationItem.js +8 -3
- package/dist/npm/calendar/components/CalendarWeekCell.js +8 -3
- package/dist/npm/calendar/components/Header.d.ts +4 -4
- package/dist/npm/calendar/components/Header.js +8 -5
- package/dist/npm/calendar/components/HorizontalViewList.d.ts +4 -4
- package/dist/npm/calendar/components/HorizontalViewList.js +8 -5
- package/dist/npm/calendar/components/MultiViewCalendar.d.ts +11 -11
- package/dist/npm/calendar/components/MultiViewCalendar.js +13 -10
- package/dist/npm/calendar/components/Navigation.d.ts +1 -1
- package/dist/npm/calendar/components/Navigation.js +5 -2
- package/dist/npm/calendar/components/TodayCommand.d.ts +3 -3
- package/dist/npm/calendar/components/TodayCommand.js +7 -4
- package/dist/npm/calendar/components/View.d.ts +7 -7
- package/dist/npm/calendar/components/View.js +11 -8
- package/dist/npm/calendar/components/ViewList.d.ts +6 -6
- package/dist/npm/calendar/components/ViewList.js +10 -7
- package/dist/npm/calendar/models/CalendarViewEnum.js +1 -0
- package/dist/npm/calendar/models/NavigationAction.js +1 -0
- package/dist/npm/calendar/models/SelectionRange.js +1 -0
- package/dist/npm/calendar/models/index.js +4 -3
- package/dist/npm/calendar/services/BusViewService.js +2 -1
- package/dist/npm/calendar/services/CenturyViewService.js +2 -1
- package/dist/npm/calendar/services/DOMService.js +1 -0
- package/dist/npm/calendar/services/DecadeViewService.js +2 -1
- package/dist/npm/calendar/services/MonthViewService.js +2 -1
- package/dist/npm/calendar/services/NavigationService.js +1 -0
- package/dist/npm/calendar/services/ScrollSyncService.js +1 -0
- package/dist/npm/calendar/services/WeekNamesService.js +1 -0
- package/dist/npm/calendar/services/YearViewService.js +2 -1
- package/dist/npm/calendar/services/index.js +10 -9
- package/dist/npm/common/PickerWrap.js +1 -0
- package/dist/npm/dateinput/DateInput.d.ts +17 -17
- package/dist/npm/dateinput/DateInput.js +24 -16
- package/dist/npm/dateinput/models/index.js +3 -2
- package/dist/npm/dateinput/models/kendo-date.d.ts +2 -2
- package/dist/npm/dateinput/models/kendo-date.js +3 -2
- package/dist/npm/dateinput/models/mask.js +1 -0
- package/dist/npm/dateinput/utils.d.ts +1 -1
- package/dist/npm/dateinput/utils.js +9 -4
- package/dist/npm/datepicker/DatePicker.d.ts +21 -21
- package/dist/npm/datepicker/DatePicker.js +25 -20
- package/dist/npm/datepicker/ToggleButton.js +1 -0
- package/dist/npm/daterangepicker/DateRangePicker.d.ts +11 -11
- package/dist/npm/daterangepicker/DateRangePicker.js +17 -14
- package/dist/npm/datetimepicker/DateTimePicker.d.ts +16 -16
- package/dist/npm/datetimepicker/DateTimePicker.js +31 -15
- package/dist/npm/datetimepicker/DateTimeSelector.d.ts +6 -6
- package/dist/npm/datetimepicker/DateTimeSelector.js +13 -7
- package/dist/npm/defaults.js +1 -0
- package/dist/npm/hooks/usePickerFloatingLabel.d.ts +1 -1
- package/dist/npm/hooks/usePickerFloatingLabel.js +5 -2
- package/dist/npm/main.js +22 -21
- package/dist/npm/messages/index.d.ts +21 -21
- package/dist/npm/messages/index.js +2 -1
- package/dist/npm/package-metadata.js +2 -1
- package/dist/npm/timepicker/TimeList.d.ts +5 -5
- package/dist/npm/timepicker/TimeList.js +10 -7
- package/dist/npm/timepicker/TimePart.d.ts +7 -7
- package/dist/npm/timepicker/TimePart.js +11 -8
- package/dist/npm/timepicker/TimePicker.d.ts +19 -19
- package/dist/npm/timepicker/TimePicker.js +24 -19
- package/dist/npm/timepicker/TimeSelector.d.ts +4 -4
- package/dist/npm/timepicker/TimeSelector.js +8 -5
- package/dist/npm/timepicker/models/TimePart.js +1 -0
- package/dist/npm/timepicker/models/index.js +2 -1
- package/dist/npm/timepicker/services/DOMService.js +1 -0
- package/dist/npm/timepicker/services/DayPeriodService.js +1 -0
- package/dist/npm/timepicker/services/HoursService.js +1 -0
- package/dist/npm/timepicker/services/MinutesService.js +1 -0
- package/dist/npm/timepicker/services/SecondsService.js +1 -0
- package/dist/npm/timepicker/services/index.js +6 -5
- package/dist/npm/timepicker/utils.d.ts +4 -4
- package/dist/npm/timepicker/utils.js +19 -9
- package/dist/npm/utils.d.ts +1 -1
- package/dist/npm/utils.js +33 -14
- package/dist/npm/virtualization/Virtualization.d.ts +7 -7
- package/dist/npm/virtualization/Virtualization.js +11 -8
- package/dist/npm/virtualization/services/RowHeightService.js +7 -1
- package/dist/npm/virtualization/services/ScrollerService.js +1 -0
- package/dist/npm/virtualization/services/index.js +5 -4
- package/dist/systemjs/kendo-react-dateinputs.js +1 -1
- package/package.json +12 -12
|
@@ -110,7 +110,7 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
110
110
|
second: PropTypes.Requireable<string>;
|
|
111
111
|
timeZoneName: PropTypes.Requireable<string>;
|
|
112
112
|
}>>;
|
|
113
|
-
formatPlaceholder: PropTypes.Requireable<"
|
|
113
|
+
formatPlaceholder: PropTypes.Requireable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
|
|
114
114
|
year: PropTypes.Requireable<string>;
|
|
115
115
|
month: PropTypes.Requireable<string>;
|
|
116
116
|
day: PropTypes.Requireable<string>;
|
|
@@ -147,8 +147,8 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
147
147
|
validate: PropTypes.Requireable<boolean>;
|
|
148
148
|
valid: PropTypes.Requireable<boolean>;
|
|
149
149
|
size: PropTypes.Requireable<"small" | "medium" | "large">;
|
|
150
|
-
rounded: PropTypes.Requireable<"small" | "medium" | "
|
|
151
|
-
fillMode: PropTypes.Requireable<"
|
|
150
|
+
rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
|
|
151
|
+
fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
|
|
152
152
|
};
|
|
153
153
|
/**
|
|
154
154
|
* @hidden
|
|
@@ -156,8 +156,8 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
156
156
|
static defaultProps: {
|
|
157
157
|
format: string;
|
|
158
158
|
size: "small" | "medium" | "large";
|
|
159
|
-
rounded: "small" | "medium" | "
|
|
160
|
-
fillMode: "
|
|
159
|
+
rounded: "small" | "medium" | "full" | "large";
|
|
160
|
+
fillMode: "flat" | "solid" | "outline";
|
|
161
161
|
formatPlaceholder: DateInputFormatPlaceholder;
|
|
162
162
|
spinners: boolean;
|
|
163
163
|
disabled: boolean;
|
|
@@ -198,21 +198,21 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
198
198
|
/**
|
|
199
199
|
* Gets the value of the DateInput.
|
|
200
200
|
*/
|
|
201
|
-
|
|
201
|
+
get value(): Date | null;
|
|
202
202
|
/**
|
|
203
203
|
* Gets the `name` property of the DateInput.
|
|
204
204
|
*/
|
|
205
|
-
|
|
206
|
-
protected
|
|
207
|
-
protected
|
|
205
|
+
get name(): string | undefined;
|
|
206
|
+
protected get min(): Date;
|
|
207
|
+
protected get max(): Date;
|
|
208
208
|
/**
|
|
209
209
|
* @hidden
|
|
210
210
|
*/
|
|
211
|
-
|
|
211
|
+
get text(): string;
|
|
212
212
|
/**
|
|
213
213
|
* Represents the validity state into which the DateInput is set.
|
|
214
214
|
*/
|
|
215
|
-
|
|
215
|
+
get validity(): FormComponentValidity;
|
|
216
216
|
/**
|
|
217
217
|
* Gets the element of the DateInput.
|
|
218
218
|
*
|
|
@@ -244,7 +244,7 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
244
244
|
* );
|
|
245
245
|
* ```
|
|
246
246
|
*/
|
|
247
|
-
|
|
247
|
+
get element(): HTMLInputElement | null;
|
|
248
248
|
/**
|
|
249
249
|
* @hidden
|
|
250
250
|
*/
|
|
@@ -252,15 +252,15 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
252
252
|
/**
|
|
253
253
|
* @hidden
|
|
254
254
|
*/
|
|
255
|
-
protected
|
|
255
|
+
protected get validityStyles(): boolean;
|
|
256
256
|
/**
|
|
257
257
|
* @hidden
|
|
258
258
|
*/
|
|
259
|
-
protected
|
|
259
|
+
protected get required(): boolean;
|
|
260
260
|
/**
|
|
261
261
|
* @hidden
|
|
262
262
|
*/
|
|
263
|
-
protected
|
|
263
|
+
protected get wrapper(): HTMLSpanElement | null;
|
|
264
264
|
/**
|
|
265
265
|
* @hidden
|
|
266
266
|
*/
|
|
@@ -269,7 +269,7 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
269
269
|
* @hidden
|
|
270
270
|
*/
|
|
271
271
|
protected setValidity: () => void;
|
|
272
|
-
protected updateOnPaste: (event: React.SyntheticEvent<HTMLInputElement
|
|
272
|
+
protected updateOnPaste: (event: React.SyntheticEvent<HTMLInputElement>) => void;
|
|
273
273
|
private spinnersMouseDown;
|
|
274
274
|
private handlePaste;
|
|
275
275
|
private elementChange;
|
|
@@ -281,7 +281,7 @@ export declare class DateInputWithoutContext extends React.Component<DateInputPr
|
|
|
281
281
|
private elementKeyDown;
|
|
282
282
|
private elementOnFocus;
|
|
283
283
|
private elementOnBlur;
|
|
284
|
-
private
|
|
284
|
+
private get selection();
|
|
285
285
|
private setSelection;
|
|
286
286
|
private triggerChange;
|
|
287
287
|
private selectionBySymbol;
|
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -23,7 +25,13 @@ var __assign = (this && this.__assign) || function () {
|
|
|
23
25
|
};
|
|
24
26
|
return __assign.apply(this, arguments);
|
|
25
27
|
};
|
|
28
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
29
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
30
|
+
to[j] = from[i];
|
|
31
|
+
return to;
|
|
32
|
+
};
|
|
26
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.DateInput = exports.DateInputPropsContext = exports.DateInputWithoutContext = void 0;
|
|
27
35
|
var React = require("react");
|
|
28
36
|
var PropTypes = require("prop-types");
|
|
29
37
|
var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
@@ -240,7 +248,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
240
248
|
this.props._ref.current = this;
|
|
241
249
|
}
|
|
242
250
|
var localizationService = kendo_react_intl_1.provideLocalizationService(this);
|
|
243
|
-
var props = __assign({}, DateInputWithoutContext.defaultProps, this.props);
|
|
251
|
+
var props = __assign(__assign({}, DateInputWithoutContext.defaultProps), this.props);
|
|
244
252
|
var min = props.min, max = props.max, name = props.name, label = props.label, id = props.id;
|
|
245
253
|
var currentText = this.text;
|
|
246
254
|
var text = currentText === this.props.placeholder ? '' : currentText;
|
|
@@ -255,13 +263,13 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
255
263
|
if (this.value !== null) {
|
|
256
264
|
ariaProps['aria-valuenow'] = this.value.getTime();
|
|
257
265
|
}
|
|
258
|
-
var wrapperClassesInstance = utils_1.wrapperClasses
|
|
266
|
+
var wrapperClassesInstance = __spreadArray([], utils_1.wrapperClasses);
|
|
259
267
|
if (this.props.className) {
|
|
260
268
|
wrapperClassesInstance.push(this.props.className);
|
|
261
269
|
}
|
|
262
270
|
var dateinput = (React.createElement(kendo_react_common_1.AsyncFocusBlur, { onFocus: this.elementOnFocus, onBlur: this.elementOnBlur }, function (_a) {
|
|
263
|
-
var onFocus = _a.onFocus, onBlur = _a.onBlur;
|
|
264
271
|
var _b;
|
|
272
|
+
var onFocus = _a.onFocus, onBlur = _a.onBlur;
|
|
265
273
|
return (React.createElement("span", { ref: function (span) { _this._wrapper = span; }, style: !label
|
|
266
274
|
? { width: _this.props.width }
|
|
267
275
|
: undefined, dir: _this.props.dir, className: kendo_react_common_1.classNames('k-dateinput', 'k-input', (_b = {},
|
|
@@ -293,7 +301,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
293
301
|
}
|
|
294
302
|
return this.kendoDate && this.kendoDate.getDateObject();
|
|
295
303
|
},
|
|
296
|
-
enumerable:
|
|
304
|
+
enumerable: false,
|
|
297
305
|
configurable: true
|
|
298
306
|
});
|
|
299
307
|
Object.defineProperty(DateInputWithoutContext.prototype, "name", {
|
|
@@ -303,7 +311,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
303
311
|
get: function () {
|
|
304
312
|
return this.props.name;
|
|
305
313
|
},
|
|
306
|
-
enumerable:
|
|
314
|
+
enumerable: false,
|
|
307
315
|
configurable: true
|
|
308
316
|
});
|
|
309
317
|
Object.defineProperty(DateInputWithoutContext.prototype, "min", {
|
|
@@ -312,7 +320,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
312
320
|
? this.props.min
|
|
313
321
|
: DateInputWithoutContext.defaultProps.min;
|
|
314
322
|
},
|
|
315
|
-
enumerable:
|
|
323
|
+
enumerable: false,
|
|
316
324
|
configurable: true
|
|
317
325
|
});
|
|
318
326
|
Object.defineProperty(DateInputWithoutContext.prototype, "max", {
|
|
@@ -321,7 +329,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
321
329
|
? this.props.max
|
|
322
330
|
: DateInputWithoutContext.defaultProps.max;
|
|
323
331
|
},
|
|
324
|
-
enumerable:
|
|
332
|
+
enumerable: false,
|
|
325
333
|
configurable: true
|
|
326
334
|
});
|
|
327
335
|
Object.defineProperty(DateInputWithoutContext.prototype, "text", {
|
|
@@ -329,7 +337,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
329
337
|
* @hidden
|
|
330
338
|
*/
|
|
331
339
|
get: function () {
|
|
332
|
-
var props = __assign({}, exports.DateInput.defaultProps, this.props);
|
|
340
|
+
var props = __assign(__assign({}, exports.DateInput.defaultProps), this.props);
|
|
333
341
|
var _a = props.formatPlaceholder, formatPlaceholder = _a === void 0 ? DateInputWithoutContext.defaultProps.formatPlaceholder : _a, _b = props.format, format = _b === void 0 ? DateInputWithoutContext.defaultProps.format : _b, value = props.value, defaultValue = props.defaultValue;
|
|
334
342
|
if (this.kendoDate === null) {
|
|
335
343
|
this.kendoDate = new models_1.KendoDate(this.intl.bind(this), formatPlaceholder, format);
|
|
@@ -350,7 +358,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
350
358
|
? props.placeholder
|
|
351
359
|
: currentText;
|
|
352
360
|
},
|
|
353
|
-
enumerable:
|
|
361
|
+
enumerable: false,
|
|
354
362
|
configurable: true
|
|
355
363
|
});
|
|
356
364
|
Object.defineProperty(DateInputWithoutContext.prototype, "validity", {
|
|
@@ -371,7 +379,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
371
379
|
valueMissing: this.value === null
|
|
372
380
|
};
|
|
373
381
|
},
|
|
374
|
-
enumerable:
|
|
382
|
+
enumerable: false,
|
|
375
383
|
configurable: true
|
|
376
384
|
});
|
|
377
385
|
Object.defineProperty(DateInputWithoutContext.prototype, "element", {
|
|
@@ -409,7 +417,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
409
417
|
get: function () {
|
|
410
418
|
return this._element;
|
|
411
419
|
},
|
|
412
|
-
enumerable:
|
|
420
|
+
enumerable: false,
|
|
413
421
|
configurable: true
|
|
414
422
|
});
|
|
415
423
|
Object.defineProperty(DateInputWithoutContext.prototype, "validityStyles", {
|
|
@@ -421,7 +429,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
421
429
|
? this.props.validityStyles
|
|
422
430
|
: DateInputWithoutContext.defaultProps.validityStyles;
|
|
423
431
|
},
|
|
424
|
-
enumerable:
|
|
432
|
+
enumerable: false,
|
|
425
433
|
configurable: true
|
|
426
434
|
});
|
|
427
435
|
Object.defineProperty(DateInputWithoutContext.prototype, "required", {
|
|
@@ -433,7 +441,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
433
441
|
? this.props.required
|
|
434
442
|
: DateInputWithoutContext.defaultProps.required;
|
|
435
443
|
},
|
|
436
|
-
enumerable:
|
|
444
|
+
enumerable: false,
|
|
437
445
|
configurable: true
|
|
438
446
|
});
|
|
439
447
|
Object.defineProperty(DateInputWithoutContext.prototype, "wrapper", {
|
|
@@ -443,7 +451,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
443
451
|
get: function () {
|
|
444
452
|
return this._wrapper;
|
|
445
453
|
},
|
|
446
|
-
enumerable:
|
|
454
|
+
enumerable: false,
|
|
447
455
|
configurable: true
|
|
448
456
|
});
|
|
449
457
|
/**
|
|
@@ -461,7 +469,7 @@ var DateInputWithoutContext = /** @class */ (function (_super) {
|
|
|
461
469
|
}
|
|
462
470
|
return returnValue;
|
|
463
471
|
},
|
|
464
|
-
enumerable:
|
|
472
|
+
enumerable: false,
|
|
465
473
|
configurable: true
|
|
466
474
|
});
|
|
467
475
|
DateInputWithoutContext.prototype.setSelection = function (selection) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Mask = exports.KendoDate = void 0;
|
|
3
4
|
var kendo_date_1 = require("./kendo-date");
|
|
4
|
-
exports
|
|
5
|
+
Object.defineProperty(exports, "KendoDate", { enumerable: true, get: function () { return kendo_date_1.KendoDate; } });
|
|
5
6
|
var mask_1 = require("./mask");
|
|
6
|
-
exports
|
|
7
|
+
Object.defineProperty(exports, "Mask", { enumerable: true, get: function () { return mask_1.Mask; } });
|
|
@@ -25,9 +25,9 @@ export declare class KendoDate {
|
|
|
25
25
|
private knownParts;
|
|
26
26
|
private symbols;
|
|
27
27
|
private intlProvider;
|
|
28
|
-
|
|
28
|
+
get intl(): IntlService;
|
|
29
29
|
private _value;
|
|
30
|
-
|
|
30
|
+
get value(): Date;
|
|
31
31
|
constructor(intlProvider: () => IntlService, formatPlaceholder: DateInputFormatPlaceholder, format: string | DateFormatOptions);
|
|
32
32
|
setValue(value: Date | null): void;
|
|
33
33
|
hasValue(): boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KendoDate = void 0;
|
|
3
4
|
var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
4
5
|
var mask_1 = require("./mask");
|
|
5
6
|
var utils_1 = require("./../utils");
|
|
@@ -39,14 +40,14 @@ var KendoDate = /** @class */ (function () {
|
|
|
39
40
|
get: function () {
|
|
40
41
|
return this.intlProvider();
|
|
41
42
|
},
|
|
42
|
-
enumerable:
|
|
43
|
+
enumerable: false,
|
|
43
44
|
configurable: true
|
|
44
45
|
});
|
|
45
46
|
Object.defineProperty(KendoDate.prototype, "value", {
|
|
46
47
|
get: function () {
|
|
47
48
|
return this._value;
|
|
48
49
|
},
|
|
49
|
-
enumerable:
|
|
50
|
+
enumerable: false,
|
|
50
51
|
configurable: true
|
|
51
52
|
});
|
|
52
53
|
KendoDate.prototype.setValue = function (value) {
|
|
@@ -21,7 +21,7 @@ export declare const dateSymbolMap: (map: any, part: any) => Function;
|
|
|
21
21
|
/**
|
|
22
22
|
* @hidden
|
|
23
23
|
*/
|
|
24
|
-
export declare const isInRange: (candidate: Date, min: Date, max: Date) => boolean;
|
|
24
|
+
export declare const isInRange: (candidate: Date | null, min: Date, max: Date) => boolean;
|
|
25
25
|
/**
|
|
26
26
|
* @hidden
|
|
27
27
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.wrapperClasses = exports.invalidClasses = exports.isInRange = exports.dateSymbolMap = exports.approximateStringMatching = exports.padZero = exports.defaultFormatPlaceholder = exports.defaultFormat = void 0;
|
|
3
4
|
/**
|
|
4
5
|
* @hidden
|
|
5
6
|
*/
|
|
@@ -11,11 +12,12 @@ exports.defaultFormatPlaceholder = 'wide';
|
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
var padZero = function (length) { return new Array(Math.max(length, 0)).fill('0').join(''); };
|
|
16
|
+
exports.padZero = padZero;
|
|
15
17
|
/**
|
|
16
18
|
* @hidden
|
|
17
19
|
*/
|
|
18
|
-
|
|
20
|
+
var approximateStringMatching = function (oldTextOrigin, oldFormat, newTextOrigin, selectionStart) {
|
|
19
21
|
/*
|
|
20
22
|
Remove the right part of the cursor.
|
|
21
23
|
oldFormat = oldFormat.substring(0, caret + oldText.length - newText.length);
|
|
@@ -69,14 +71,17 @@ exports.approximateStringMatching = function (oldTextOrigin, oldFormat, newTextO
|
|
|
69
71
|
/* Handle typing over a correctly selected part. */
|
|
70
72
|
return [[oldFormat[selectionStart - 1], newText[selectionStart - 1]]];
|
|
71
73
|
};
|
|
74
|
+
exports.approximateStringMatching = approximateStringMatching;
|
|
72
75
|
/**
|
|
73
76
|
* @hidden
|
|
74
77
|
*/
|
|
75
|
-
|
|
78
|
+
var dateSymbolMap = function (map, part) { map[part.pattern[0]] = part.type; return map; };
|
|
79
|
+
exports.dateSymbolMap = dateSymbolMap;
|
|
76
80
|
/**
|
|
77
81
|
* @hidden
|
|
78
82
|
*/
|
|
79
|
-
|
|
83
|
+
var isInRange = function (candidate, min, max) { return (candidate === null || !((min && min > candidate) || (max && max < candidate))); };
|
|
84
|
+
exports.isInRange = isInRange;
|
|
80
85
|
/**
|
|
81
86
|
* @hidden
|
|
82
87
|
*/
|
|
@@ -113,7 +113,7 @@ export declare class DatePickerWithoutContext extends React.Component<DatePicker
|
|
|
113
113
|
second: PropTypes.Requireable<string>;
|
|
114
114
|
timeZoneName: PropTypes.Requireable<string>;
|
|
115
115
|
}>>;
|
|
116
|
-
formatPlaceholder: PropTypes.Requireable<"
|
|
116
|
+
formatPlaceholder: PropTypes.Requireable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
|
|
117
117
|
year: PropTypes.Requireable<string>;
|
|
118
118
|
month: PropTypes.Requireable<string>;
|
|
119
119
|
day: PropTypes.Requireable<string>;
|
|
@@ -144,8 +144,8 @@ export declare class DatePickerWithoutContext extends React.Component<DatePicker
|
|
|
144
144
|
validate: PropTypes.Requireable<boolean>;
|
|
145
145
|
valid: PropTypes.Requireable<boolean>;
|
|
146
146
|
size: PropTypes.Requireable<"small" | "medium" | "large">;
|
|
147
|
-
rounded: PropTypes.Requireable<"small" | "medium" | "
|
|
148
|
-
fillMode: PropTypes.Requireable<"
|
|
147
|
+
rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
|
|
148
|
+
fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
151
151
|
* @hidden
|
|
@@ -168,8 +168,8 @@ export declare class DatePickerWithoutContext extends React.Component<DatePicker
|
|
|
168
168
|
required: boolean;
|
|
169
169
|
validityStyles: boolean;
|
|
170
170
|
size: "small" | "medium" | "large";
|
|
171
|
-
rounded: "small" | "medium" | "
|
|
172
|
-
fillMode: "
|
|
171
|
+
rounded: "small" | "medium" | "full" | "large";
|
|
172
|
+
fillMode: "flat" | "solid" | "outline";
|
|
173
173
|
};
|
|
174
174
|
/**
|
|
175
175
|
* @hidden
|
|
@@ -188,46 +188,46 @@ export declare class DatePickerWithoutContext extends React.Component<DatePicker
|
|
|
188
188
|
/**
|
|
189
189
|
* Gets the wrapping element of the DatePickerWithoutContext.
|
|
190
190
|
*/
|
|
191
|
-
|
|
191
|
+
get element(): HTMLSpanElement | null;
|
|
192
192
|
/**
|
|
193
193
|
* Gets the DateInput component inside the DatePicker component.
|
|
194
194
|
*/
|
|
195
|
-
|
|
195
|
+
get dateInput(): DateInput | null;
|
|
196
196
|
/**
|
|
197
197
|
* Gets the Calendar component inside the DatePicker component.
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
get calendar(): Calendar | null;
|
|
200
200
|
/**
|
|
201
201
|
* Gets the value of the DatePickerWithoutContext.
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
get value(): Date | null;
|
|
204
204
|
/**
|
|
205
205
|
* Gets the popup state of the DatePickerWithoutContext.
|
|
206
206
|
*/
|
|
207
|
-
|
|
207
|
+
get show(): boolean;
|
|
208
208
|
/**
|
|
209
209
|
* Gets the `name` property of the DatePickerWithoutContext.
|
|
210
210
|
*/
|
|
211
|
-
|
|
212
|
-
protected
|
|
213
|
-
protected
|
|
214
|
-
protected
|
|
215
|
-
protected
|
|
216
|
-
protected
|
|
217
|
-
protected
|
|
218
|
-
protected
|
|
211
|
+
get name(): string | undefined;
|
|
212
|
+
protected get min(): Date;
|
|
213
|
+
protected get max(): Date;
|
|
214
|
+
protected get dateInputComp(): React.ComponentType<DateInputProps<any>>;
|
|
215
|
+
protected get toggleButtonComp(): React.ComponentType<ToggleButtonProps>;
|
|
216
|
+
protected get calendarComp(): React.ComponentType<CalendarProps<any>>;
|
|
217
|
+
protected get popupComp(): React.ComponentType<PopupProps>;
|
|
218
|
+
protected get pickerWrapComp(): React.ComponentType<PickerWrapProps>;
|
|
219
219
|
/**
|
|
220
220
|
* Represents the validity state into which the DatePicker is set.
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
get validity(): FormComponentValidity;
|
|
223
223
|
/**
|
|
224
224
|
* @hidden
|
|
225
225
|
*/
|
|
226
|
-
protected
|
|
226
|
+
protected get validityStyles(): boolean;
|
|
227
227
|
/**
|
|
228
228
|
* @hidden
|
|
229
229
|
*/
|
|
230
|
-
protected
|
|
230
|
+
protected get required(): boolean;
|
|
231
231
|
/**
|
|
232
232
|
* @hidden
|
|
233
233
|
*/
|
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
28
30
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
29
31
|
t[p] = s[p];
|
|
30
32
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
31
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
32
|
-
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
33
37
|
return t;
|
|
34
38
|
};
|
|
35
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.DatePicker = exports.DatePickerPropsContext = exports.DatePickerWithoutContext = void 0;
|
|
36
41
|
var React = require("react");
|
|
37
42
|
var PropTypes = require("prop-types");
|
|
38
43
|
var kendo_react_popup_1 = require("@progress/kendo-react-popup");
|
|
@@ -153,7 +158,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
153
158
|
get: function () {
|
|
154
159
|
return this._element;
|
|
155
160
|
},
|
|
156
|
-
enumerable:
|
|
161
|
+
enumerable: false,
|
|
157
162
|
configurable: true
|
|
158
163
|
});
|
|
159
164
|
Object.defineProperty(DatePickerWithoutContext.prototype, "dateInput", {
|
|
@@ -163,7 +168,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
163
168
|
get: function () {
|
|
164
169
|
return this._dateInput.current;
|
|
165
170
|
},
|
|
166
|
-
enumerable:
|
|
171
|
+
enumerable: false,
|
|
167
172
|
configurable: true
|
|
168
173
|
});
|
|
169
174
|
Object.defineProperty(DatePickerWithoutContext.prototype, "calendar", {
|
|
@@ -173,7 +178,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
173
178
|
get: function () {
|
|
174
179
|
return this._calendar;
|
|
175
180
|
},
|
|
176
|
-
enumerable:
|
|
181
|
+
enumerable: false,
|
|
177
182
|
configurable: true
|
|
178
183
|
});
|
|
179
184
|
Object.defineProperty(DatePickerWithoutContext.prototype, "value", {
|
|
@@ -188,7 +193,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
188
193
|
: this.state.value;
|
|
189
194
|
return (value !== null) ? kendo_date_math_1.cloneDate(value) : null;
|
|
190
195
|
},
|
|
191
|
-
enumerable:
|
|
196
|
+
enumerable: false,
|
|
192
197
|
configurable: true
|
|
193
198
|
});
|
|
194
199
|
Object.defineProperty(DatePickerWithoutContext.prototype, "show", {
|
|
@@ -202,7 +207,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
202
207
|
? this.props.show
|
|
203
208
|
: this.state.show;
|
|
204
209
|
},
|
|
205
|
-
enumerable:
|
|
210
|
+
enumerable: false,
|
|
206
211
|
configurable: true
|
|
207
212
|
});
|
|
208
213
|
Object.defineProperty(DatePickerWithoutContext.prototype, "name", {
|
|
@@ -212,7 +217,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
212
217
|
get: function () {
|
|
213
218
|
return this.props.name;
|
|
214
219
|
},
|
|
215
|
-
enumerable:
|
|
220
|
+
enumerable: false,
|
|
216
221
|
configurable: true
|
|
217
222
|
});
|
|
218
223
|
Object.defineProperty(DatePickerWithoutContext.prototype, "min", {
|
|
@@ -221,7 +226,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
221
226
|
? this.props.min
|
|
222
227
|
: DatePickerWithoutContext.defaultProps.min;
|
|
223
228
|
},
|
|
224
|
-
enumerable:
|
|
229
|
+
enumerable: false,
|
|
225
230
|
configurable: true
|
|
226
231
|
});
|
|
227
232
|
Object.defineProperty(DatePickerWithoutContext.prototype, "max", {
|
|
@@ -230,42 +235,42 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
230
235
|
? this.props.max
|
|
231
236
|
: DatePickerWithoutContext.defaultProps.max;
|
|
232
237
|
},
|
|
233
|
-
enumerable:
|
|
238
|
+
enumerable: false,
|
|
234
239
|
configurable: true
|
|
235
240
|
});
|
|
236
241
|
Object.defineProperty(DatePickerWithoutContext.prototype, "dateInputComp", {
|
|
237
242
|
get: function () {
|
|
238
243
|
return this.props.dateInput || DatePickerWithoutContext.defaultProps.dateInput;
|
|
239
244
|
},
|
|
240
|
-
enumerable:
|
|
245
|
+
enumerable: false,
|
|
241
246
|
configurable: true
|
|
242
247
|
});
|
|
243
248
|
Object.defineProperty(DatePickerWithoutContext.prototype, "toggleButtonComp", {
|
|
244
249
|
get: function () {
|
|
245
250
|
return this.props.toggleButton || DatePickerWithoutContext.defaultProps.toggleButton;
|
|
246
251
|
},
|
|
247
|
-
enumerable:
|
|
252
|
+
enumerable: false,
|
|
248
253
|
configurable: true
|
|
249
254
|
});
|
|
250
255
|
Object.defineProperty(DatePickerWithoutContext.prototype, "calendarComp", {
|
|
251
256
|
get: function () {
|
|
252
257
|
return this.props.calendar || DatePickerWithoutContext.defaultProps.calendar;
|
|
253
258
|
},
|
|
254
|
-
enumerable:
|
|
259
|
+
enumerable: false,
|
|
255
260
|
configurable: true
|
|
256
261
|
});
|
|
257
262
|
Object.defineProperty(DatePickerWithoutContext.prototype, "popupComp", {
|
|
258
263
|
get: function () {
|
|
259
264
|
return this.props.popup || DatePickerWithoutContext.defaultProps.popup;
|
|
260
265
|
},
|
|
261
|
-
enumerable:
|
|
266
|
+
enumerable: false,
|
|
262
267
|
configurable: true
|
|
263
268
|
});
|
|
264
269
|
Object.defineProperty(DatePickerWithoutContext.prototype, "pickerWrapComp", {
|
|
265
270
|
get: function () {
|
|
266
271
|
return this.props.pickerWrap || DatePickerWithoutContext.defaultProps.pickerWrap;
|
|
267
272
|
},
|
|
268
|
-
enumerable:
|
|
273
|
+
enumerable: false,
|
|
269
274
|
configurable: true
|
|
270
275
|
});
|
|
271
276
|
Object.defineProperty(DatePickerWithoutContext.prototype, "validity", {
|
|
@@ -285,7 +290,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
285
290
|
valueMissing: this.value === null
|
|
286
291
|
};
|
|
287
292
|
},
|
|
288
|
-
enumerable:
|
|
293
|
+
enumerable: false,
|
|
289
294
|
configurable: true
|
|
290
295
|
});
|
|
291
296
|
Object.defineProperty(DatePickerWithoutContext.prototype, "validityStyles", {
|
|
@@ -297,7 +302,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
297
302
|
? this.props.validityStyles
|
|
298
303
|
: DatePickerWithoutContext.defaultProps.validityStyles;
|
|
299
304
|
},
|
|
300
|
-
enumerable:
|
|
305
|
+
enumerable: false,
|
|
301
306
|
configurable: true
|
|
302
307
|
});
|
|
303
308
|
Object.defineProperty(DatePickerWithoutContext.prototype, "required", {
|
|
@@ -309,7 +314,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
309
314
|
? this.props.required
|
|
310
315
|
: DatePickerWithoutContext.defaultProps.required;
|
|
311
316
|
},
|
|
312
|
-
enumerable:
|
|
317
|
+
enumerable: false,
|
|
313
318
|
configurable: true
|
|
314
319
|
});
|
|
315
320
|
/**
|
|
@@ -401,8 +406,8 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
401
406
|
var toggleButtonTitle = kendo_react_intl_1.provideLocalizationService(this)
|
|
402
407
|
.toLanguageString(messages_1.toggleCalendar, messages_1.messages[messages_1.toggleCalendar]);
|
|
403
408
|
var datepicker = (React.createElement(kendo_react_common_1.AsyncFocusBlur, { onFocus: this.handleFocus, onBlur: this.handleBlur, onSyncBlur: this.props.onBlur, onSyncFocus: this.props.onFocus }, function (_a) {
|
|
404
|
-
var onFocus = _a.onFocus, onBlur = _a.onBlur;
|
|
405
409
|
var _b;
|
|
410
|
+
var onFocus = _a.onFocus, onBlur = _a.onBlur;
|
|
406
411
|
return (React.createElement("span", { role: "group", "aria-expanded": _this.show, ref: function (span) { _this._element = span; }, className: kendo_react_common_1.classNames('k-input', 'k-datepicker', (_b = {},
|
|
407
412
|
_b["k-input-" + (kendo_react_common_1.kendoThemeMaps.sizeMap[size] || size)] = size,
|
|
408
413
|
_b["k-rounded-" + (kendo_react_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ToggleButton = void 0;
|
|
3
4
|
var kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
|
|
4
5
|
/**
|
|
5
6
|
* Represents the default `toggleButton` component rendered by the [KendoReact Scheduler DatePicker]({% slug overview_datepicker %}).
|