@progress/kendo-react-dateinputs 9.0.0-develop.2 → 9.0.0-develop.3
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/README.md +47 -46
- package/calendar/components/Calendar.mjs +57 -60
- package/calendar/components/CalendarNavigationItem.mjs +10 -12
- package/calendar/components/CalendarWeekCell.mjs +9 -1
- package/calendar/components/HorizontalViewList.mjs +8 -11
- package/calendar/components/MultiViewCalendar.mjs +13 -8
- package/calendar/components/Navigation.mjs +11 -11
- package/calendar/components/View.mjs +8 -25
- package/common/PickerWrap.mjs +2 -15
- package/dateinput/models/kendo-date.js +1 -1
- package/dateinput/models/kendo-date.mjs +8 -7
- package/datepicker/DatePicker.mjs +14 -6
- package/daterangepicker/DateRangePicker.mjs +14 -3
- package/datetimepicker/DateTimePicker.mjs +22 -15
- package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
- package/hooks/usePickerFloatingLabel.mjs +1 -7
- package/index.d.mts +4 -1
- package/index.d.ts +4 -1
- package/package-metadata.mjs +1 -1
- package/package.json +7 -7
- package/timepicker/TimeList.mjs +27 -12
- package/timepicker/TimePart.mjs +55 -75
- package/timepicker/TimePicker.mjs +11 -5
- package/timepicker/services/DOMService.mjs +7 -4
- package/timepicker/services/DayPeriodService.mjs +1 -4
- package/timepicker/utils.mjs +3 -15
- package/virtualization/Virtualization.js +1 -1
- package/virtualization/Virtualization.mjs +3 -13
|
@@ -72,7 +72,10 @@ const o = class o extends i.Component {
|
|
|
72
72
|
adaptiveTitle: this.props.adaptiveTitle,
|
|
73
73
|
windowWidth: t,
|
|
74
74
|
footer: {
|
|
75
|
-
cancelText: this.localizationService.toLanguageString(
|
|
75
|
+
cancelText: this.localizationService.toLanguageString(
|
|
76
|
+
b,
|
|
77
|
+
l[b]
|
|
78
|
+
),
|
|
76
79
|
onCancel: this.handleCancel,
|
|
77
80
|
applyText: this.localizationService.toLanguageString(C, l[C]),
|
|
78
81
|
onApply: this.handleBlur
|
|
@@ -288,7 +291,10 @@ const o = class o extends i.Component {
|
|
|
288
291
|
onMouseDown: this.handleReverseMouseDown,
|
|
289
292
|
onClick: this.handleReverseClick,
|
|
290
293
|
"aria-controls": s + " " + n,
|
|
291
|
-
"aria-label": m(this).toLanguageString(
|
|
294
|
+
"aria-label": m(this).toLanguageString(
|
|
295
|
+
d,
|
|
296
|
+
l[d]
|
|
297
|
+
)
|
|
292
298
|
},
|
|
293
299
|
/* @__PURE__ */ i.createElement(F, { style: { transform: "rotate(90deg)" }, name: "arrows-swap", icon: L })
|
|
294
300
|
);
|
|
@@ -421,7 +427,12 @@ o.displayName = "DateRangePicker", o.propTypes = {
|
|
|
421
427
|
autoFocus: !1
|
|
422
428
|
};
|
|
423
429
|
let u = o;
|
|
424
|
-
const Z = B(), j = z(
|
|
430
|
+
const Z = B(), j = z(
|
|
431
|
+
A(
|
|
432
|
+
Z,
|
|
433
|
+
u
|
|
434
|
+
)
|
|
435
|
+
);
|
|
425
436
|
j.displayName = "KendoReactDateRangePicker";
|
|
426
437
|
N(u);
|
|
427
438
|
export {
|
|
@@ -30,17 +30,7 @@ const o = class o extends a.Component {
|
|
|
30
30
|
const i = this.dateInputElement();
|
|
31
31
|
i && i.focus();
|
|
32
32
|
}, this.renderPicker = () => {
|
|
33
|
-
const {
|
|
34
|
-
disabled: i,
|
|
35
|
-
minTime: s,
|
|
36
|
-
maxTime: n,
|
|
37
|
-
format: h,
|
|
38
|
-
calendar: l,
|
|
39
|
-
cancelButton: r,
|
|
40
|
-
weekNumber: u,
|
|
41
|
-
focusedDate: g,
|
|
42
|
-
unstyled: v
|
|
43
|
-
} = this.props;
|
|
33
|
+
const { disabled: i, minTime: s, maxTime: n, format: h, calendar: l, cancelButton: r, weekNumber: u, focusedDate: g, unstyled: v } = this.props;
|
|
44
34
|
return /* @__PURE__ */ a.createElement(
|
|
45
35
|
he,
|
|
46
36
|
{
|
|
@@ -67,7 +57,13 @@ const o = class o extends a.Component {
|
|
|
67
57
|
}
|
|
68
58
|
);
|
|
69
59
|
}, this.renderAdaptivePopup = () => {
|
|
70
|
-
const { windowWidth: i = 0 } = this.state, s = m(this).toLanguageString(
|
|
60
|
+
const { windowWidth: i = 0 } = this.state, s = m(this).toLanguageString(
|
|
61
|
+
P,
|
|
62
|
+
p[P]
|
|
63
|
+
), n = m(this).toLanguageString(
|
|
64
|
+
C,
|
|
65
|
+
p[C]
|
|
66
|
+
), h = {
|
|
71
67
|
expand: this.show,
|
|
72
68
|
onClose: this.handleBlur,
|
|
73
69
|
adaptiveTitle: this.props.adaptiveTitle,
|
|
@@ -333,11 +329,17 @@ const o = class o extends a.Component {
|
|
|
333
329
|
svgIcon: Y,
|
|
334
330
|
onMouseDown: this.handleIconMouseDown,
|
|
335
331
|
onClick: this.mobileMode ? void 0 : this.handleDateIconClick,
|
|
336
|
-
title: m(this).toLanguageString(
|
|
332
|
+
title: m(this).toLanguageString(
|
|
333
|
+
c,
|
|
334
|
+
p[c]
|
|
335
|
+
),
|
|
337
336
|
className: I(D.inputButton({ c: y })),
|
|
338
337
|
rounded: null,
|
|
339
338
|
fillMode: s,
|
|
340
|
-
"aria-label": m(this).toLanguageString(
|
|
339
|
+
"aria-label": m(this).toLanguageString(
|
|
340
|
+
c,
|
|
341
|
+
p[c]
|
|
342
|
+
)
|
|
341
343
|
}
|
|
342
344
|
),
|
|
343
345
|
/* @__PURE__ */ a.createElement(
|
|
@@ -417,7 +419,12 @@ o.displayName = "DateTimePicker", o.propTypes = {
|
|
|
417
419
|
})
|
|
418
420
|
]),
|
|
419
421
|
formatPlaceholder: e.oneOfType([
|
|
420
|
-
e.oneOf([
|
|
422
|
+
e.oneOf([
|
|
423
|
+
"wide",
|
|
424
|
+
"narrow",
|
|
425
|
+
"short",
|
|
426
|
+
"formatPattern"
|
|
427
|
+
]),
|
|
421
428
|
e.shape({
|
|
422
429
|
year: e.string,
|
|
423
430
|
month: e.string,
|