@progress/kendo-react-dateinputs 14.0.0-develop.1 → 14.0.0-develop.2
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/calendar/components/Calendar.mjs +6 -6
- package/calendar/components/MultiViewCalendar.mjs +6 -6
- package/dateinput/DateInput.mjs +3 -3
- package/datepicker/DatePicker.mjs +6 -6
- package/daterangepicker/DateRangePicker.mjs +8 -8
- package/datetimepicker/DateTimePicker.mjs +7 -7
- package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
- package/index.js +1 -1
- package/index.mjs +22 -22
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +1 -1
- package/package.json +10 -10
- package/timepicker/TimePicker.mjs +8 -8
- package/timepicker/utils.mjs +1 -1
package/index.js
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./calendar/components/Calendar.js"),i=require("./dateinput/DateInput.js"),a=require("./datepicker/DatePicker.js"),n=require("./timepicker/TimePicker.js"),o=require("./calendar/components/MultiViewCalendar.js"),c=require("./daterangepicker/DateRangePicker.js"),u=require("./calendar/components/CalendarCell.js"),l=require("./calendar/components/CalendarWeekCell.js"),d=require("./calendar/components/CalendarHeaderTitle.js"),C=require("./calendar/components/CalendarNavigationItem.js"),S=require("./calendar/models/NavigationAction.js"),P=require("./calendar/models/CalendarViewEnum.js"),T=require("./calendar/models/SelectionRange.js"),s=require("./datetimepicker/DateTimePicker.js"),v=require("./datepicker/ToggleButton.js"),D=require("./calendar/components/Header.js"),m=require("./timepicker/TimeList.js"),q=require("./timepicker/TimePart.js"),V=require("./calendar/components/TodayCommand.js"),e=require("./messages/index.js"),g=require("./calendar/components/ViewList.js"),w=require("./virtualization/Virtualization.js"),k=require("./calendar/components/HorizontalViewList.js"),M=require("./timepicker/TimeSelector.js"),r=require("./utils.js"),p=require("./timepicker/utils.js"),x=require("./
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./calendar/components/Calendar.js"),i=require("./dateinput/DateInput.js"),a=require("./datepicker/DatePicker.js"),n=require("./timepicker/TimePicker.js"),o=require("./calendar/components/MultiViewCalendar.js"),c=require("./daterangepicker/DateRangePicker.js"),u=require("./calendar/components/CalendarCell.js"),l=require("./calendar/components/CalendarWeekCell.js"),d=require("./calendar/components/CalendarHeaderTitle.js"),C=require("./calendar/components/CalendarNavigationItem.js"),S=require("./calendar/models/NavigationAction.js"),P=require("./calendar/models/CalendarViewEnum.js"),T=require("./calendar/models/SelectionRange.js"),s=require("./datetimepicker/DateTimePicker.js"),v=require("./datepicker/ToggleButton.js"),D=require("./calendar/components/Header.js"),m=require("./timepicker/TimeList.js"),q=require("./timepicker/TimePart.js"),V=require("./calendar/components/TodayCommand.js"),e=require("./messages/index.js"),g=require("./calendar/components/ViewList.js"),w=require("./virtualization/Virtualization.js"),k=require("./calendar/components/HorizontalViewList.js"),M=require("./timepicker/TimeSelector.js"),r=require("./utils.js"),p=require("./timepicker/utils.js"),x=require("./calendar/services/BusViewService.js"),E=require("./calendar/services/CenturyViewService.js"),I=require("./calendar/services/DOMService.js"),N=require("./timepicker/services/DayPeriodService.js"),y=require("./calendar/services/DecadeViewService.js"),W=require("./timepicker/services/HoursService.js"),h=require("./timepicker/services/MinutesService.js"),A=require("./calendar/services/MonthViewService.js"),H=require("./calendar/services/NavigationService.js"),L=require("./calendar/services/ScrollSyncService.js"),R=require("./timepicker/services/SecondsService.js"),_=require("./calendar/services/WeekNamesService.js"),z=require("./calendar/services/YearViewService.js");exports.Calendar=t.Calendar;exports.CalendarPropsContext=t.CalendarPropsContext;exports.CalendarWithoutContext=t.CalendarWithoutContext;exports.DateInput=i.DateInput;exports.DateInputPropsContext=i.DateInputPropsContext;exports.dateInputDefaultProps=i.dateInputDefaultProps;exports.DatePicker=a.DatePicker;exports.DatePickerPropsContext=a.DatePickerPropsContext;exports.datePickerDefaultProps=a.datePickerDefaultProps;exports.TimePicker=n.TimePicker;exports.TimePickerPropsContext=n.TimePickerPropsContext;exports.TimePickerWithoutContext=n.TimePickerWithoutContext;exports.MultiViewCalendar=o.MultiViewCalendar;exports.MultiViewCalendarPropsContext=o.MultiViewCalendarPropsContext;exports.MultiViewCalendarWithoutContext=o.MultiViewCalendarWithoutContext;exports.DateRangePicker=c.DateRangePicker;exports.DateRangePickerPropsContext=c.DateRangePickerPropsContext;exports.DateRangePickerWithoutContext=c.DateRangePickerWithoutContext;exports.CalendarCell=u.CalendarCell;exports.CalendarWeekCell=l.CalendarWeekCell;exports.CalendarHeaderTitle=d.CalendarHeaderTitle;exports.CalendarNavigationItem=C.CalendarNavigationItem;exports.Action=S.Action;exports.CalendarViewEnum=P.CalendarViewEnum;exports.EMPTY_SELECTIONRANGE=T.EMPTY_SELECTIONRANGE;exports.DateTimePicker=s.DateTimePicker;exports.DateTimePickerPropsContext=s.DateTimePickerPropsContext;exports.DateTimePickerWithoutContext=s.DateTimePickerWithoutContext;exports.ToggleButton=v.ToggleButton;exports.Header=D.Header;exports.TimeList=m.TimeList;exports.TimePart=q.TimePart;exports.TodayCommand=V.TodayCommand;exports.dateInputsMessages=e.messages;exports.decreaseValue=e.decreaseValue;exports.end=e.end;exports.increaseValue=e.increaseValue;exports.separator=e.separator;exports.start=e.start;exports.swapStartEnd=e.swapStartEnd;exports.today=e.today;exports.toggleCalendar=e.toggleCalendar;exports.toggleDateTimeSelector=e.toggleDateTimeSelector;exports.ViewList=g.ViewList;exports.Virtualization=w.Virtualization;exports.HorizontalViewList=k.HorizontalViewList;exports.TimeSelector=M.TimeSelector;exports.MAX_DATE=r.MAX_DATE;exports.MAX_TIME=r.MAX_TIME;exports.MIN_DATE=r.MIN_DATE;exports.MIN_TIME=r.MIN_TIME;exports.getToday=r.getToday;exports.getNow=p.getNow;exports.BusViewService=x.BusViewService;exports.CenturyViewService=E.CenturyViewService;exports.DOMService=I.DOMService;exports.DayPeriodService=N.DayPeriodService;exports.DecadeViewService=y.DecadeViewService;exports.HoursService=W.HoursService;exports.MinutesService=h.MinutesService;exports.MonthViewService=A.MonthViewService;exports.NavigationService=H.NavigationService;exports.ScrollSyncService=L.ScrollSyncService;exports.SecondsService=R.SecondsService;exports.WeekNamesService=_.WeekNamesService;exports.YearViewService=z.YearViewService;
|
package/index.mjs
CHANGED
|
@@ -32,22 +32,22 @@ import { HorizontalViewList as de } from "./calendar/components/HorizontalViewLi
|
|
|
32
32
|
import { TimeSelector as ue } from "./timepicker/TimeSelector.mjs";
|
|
33
33
|
import { MAX_DATE as Te, MAX_TIME as De, MIN_DATE as ge, MIN_TIME as ve, getToday as ke } from "./utils.mjs";
|
|
34
34
|
import { getNow as Ve } from "./timepicker/utils.mjs";
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
35
|
+
import { BusViewService as Ee } from "./calendar/services/BusViewService.mjs";
|
|
36
|
+
import { CenturyViewService as Ne } from "./calendar/services/CenturyViewService.mjs";
|
|
37
|
+
import { DOMService as he } from "./calendar/services/DOMService.mjs";
|
|
38
|
+
import { DayPeriodService as Ae } from "./timepicker/services/DayPeriodService.mjs";
|
|
39
|
+
import { DecadeViewService as He } from "./calendar/services/DecadeViewService.mjs";
|
|
40
|
+
import { HoursService as Re } from "./timepicker/services/HoursService.mjs";
|
|
41
|
+
import { MinutesService as Be } from "./timepicker/services/MinutesService.mjs";
|
|
42
|
+
import { MonthViewService as Xe } from "./calendar/services/MonthViewService.mjs";
|
|
43
|
+
import { NavigationService as Ge } from "./calendar/services/NavigationService.mjs";
|
|
44
|
+
import { ScrollSyncService as je } from "./calendar/services/ScrollSyncService.mjs";
|
|
45
|
+
import { SecondsService as Fe } from "./timepicker/services/SecondsService.mjs";
|
|
46
46
|
import { WeekNamesService as Ke } from "./calendar/services/WeekNamesService.mjs";
|
|
47
47
|
import { YearViewService as Ue } from "./calendar/services/YearViewService.mjs";
|
|
48
48
|
export {
|
|
49
49
|
_ as Action,
|
|
50
|
-
|
|
50
|
+
Ee as BusViewService,
|
|
51
51
|
o as Calendar,
|
|
52
52
|
w as CalendarCell,
|
|
53
53
|
W as CalendarHeaderTitle,
|
|
@@ -56,8 +56,8 @@ export {
|
|
|
56
56
|
L as CalendarViewEnum,
|
|
57
57
|
I as CalendarWeekCell,
|
|
58
58
|
a as CalendarWithoutContext,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
Ne as CenturyViewService,
|
|
60
|
+
he as DOMService,
|
|
61
61
|
m as DateInput,
|
|
62
62
|
p as DateInputPropsContext,
|
|
63
63
|
f as DatePicker,
|
|
@@ -68,24 +68,24 @@ export {
|
|
|
68
68
|
O as DateTimePicker,
|
|
69
69
|
X as DateTimePickerPropsContext,
|
|
70
70
|
Y as DateTimePickerWithoutContext,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
Ae as DayPeriodService,
|
|
72
|
+
He as DecadeViewService,
|
|
73
73
|
z as EMPTY_SELECTIONRANGE,
|
|
74
74
|
q as Header,
|
|
75
75
|
de as HorizontalViewList,
|
|
76
|
-
|
|
76
|
+
Re as HoursService,
|
|
77
77
|
Te as MAX_DATE,
|
|
78
78
|
De as MAX_TIME,
|
|
79
79
|
ge as MIN_DATE,
|
|
80
80
|
ve as MIN_TIME,
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
Be as MinutesService,
|
|
82
|
+
Xe as MonthViewService,
|
|
83
83
|
S as MultiViewCalendar,
|
|
84
84
|
T as MultiViewCalendarPropsContext,
|
|
85
85
|
D as MultiViewCalendarWithoutContext,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
Ge as NavigationService,
|
|
87
|
+
je as ScrollSyncService,
|
|
88
|
+
Fe as SecondsService,
|
|
89
89
|
J as TimeList,
|
|
90
90
|
Q as TimePart,
|
|
91
91
|
C as TimePicker,
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-dateinputs",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-dateinputs",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770669983,version:"14.0.0-develop.2",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
|
|
|
7
7
|
productCode: 'KENDOUIREACT',
|
|
8
8
|
productCodes: ['KENDOUIREACT'],
|
|
9
9
|
publishDate: 1617189075,
|
|
10
|
-
version: '14.0.0-develop.
|
|
10
|
+
version: '14.0.0-develop.2',
|
|
11
11
|
licensingDocsUrl:
|
|
12
12
|
'https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-dateinputs",
|
|
3
|
-
"version": "14.0.0-develop.
|
|
3
|
+
"version": "14.0.0-develop.2",
|
|
4
4
|
"description": "React DateInput is a perfect input component for handling quick and efficient date values. KendoReact Date Inputs package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"@progress/kendo-date-math": "^1.4.0",
|
|
29
29
|
"@progress/kendo-licensing": "^1.7.2",
|
|
30
30
|
"@progress/kendo-dateinputs-common": "^0.4.7",
|
|
31
|
-
"@progress/kendo-react-buttons": "14.0.0-develop.
|
|
32
|
-
"@progress/kendo-react-common": "14.0.0-develop.
|
|
33
|
-
"@progress/kendo-react-intl": "14.0.0-develop.
|
|
34
|
-
"@progress/kendo-react-labels": "14.0.0-develop.
|
|
35
|
-
"@progress/kendo-react-layout": "14.0.0-develop.
|
|
36
|
-
"@progress/kendo-react-popup": "14.0.0-develop.
|
|
31
|
+
"@progress/kendo-react-buttons": "14.0.0-develop.2",
|
|
32
|
+
"@progress/kendo-react-common": "14.0.0-develop.2",
|
|
33
|
+
"@progress/kendo-react-intl": "14.0.0-develop.2",
|
|
34
|
+
"@progress/kendo-react-labels": "14.0.0-develop.2",
|
|
35
|
+
"@progress/kendo-react-layout": "14.0.0-develop.2",
|
|
36
|
+
"@progress/kendo-react-popup": "14.0.0-develop.2",
|
|
37
37
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
38
|
-
"react": "^
|
|
39
|
-
"react-dom": "^
|
|
38
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
39
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"prop-types": "^15.6.0"
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"package": {
|
|
90
90
|
"productName": "KendoReact",
|
|
91
91
|
"productCode": "KENDOUIREACT",
|
|
92
|
-
"publishDate":
|
|
92
|
+
"publishDate": 1770669983,
|
|
93
93
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
@@ -9,7 +9,7 @@ import * as n from "react";
|
|
|
9
9
|
import e from "prop-types";
|
|
10
10
|
import { Popup as J } from "@progress/kendo-react-popup";
|
|
11
11
|
import { cloneDate as y } from "@progress/kendo-date-math";
|
|
12
|
-
import { withIdHOC as Q,
|
|
12
|
+
import { withIdHOC as Q, withPropsContext as Y, withUnstyledHOC as $, withAdaptiveModeContext as ee, createPropsContext as te, classNames as c, uTimePicker as g, Keys as d, validatePackage as ie, getLicenseMessage as se, canUseDOM as T, subscribeToKendoPaste as oe, AsyncFocusBlur as ne, WatermarkOverlay as ae } from "@progress/kendo-react-common";
|
|
13
13
|
import { clockIcon as re } from "@progress/kendo-svg-icons";
|
|
14
14
|
import { provideLocalizationService as le, registerForLocalization as he } from "@progress/kendo-react-intl";
|
|
15
15
|
import { packageMetadata as C } from "../package-metadata.mjs";
|
|
@@ -144,7 +144,7 @@ const a = class a extends n.Component {
|
|
|
144
144
|
return;
|
|
145
145
|
}
|
|
146
146
|
i && (o === d.up || o === d.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = o === d.up, this.setShow(o === d.down));
|
|
147
|
-
}, this.showLicenseWatermark =
|
|
147
|
+
}, this.showLicenseWatermark = !ie(C, { component: "TimePicker" }), this.licenseMessage = se(C), this.state = {
|
|
148
148
|
value: this.props.defaultValue || a.defaultProps.defaultValue,
|
|
149
149
|
show: this.props.defaultShow || a.defaultProps.defaultShow,
|
|
150
150
|
focused: !1,
|
|
@@ -249,7 +249,7 @@ const a = class a extends n.Component {
|
|
|
249
249
|
var t;
|
|
250
250
|
this.observerResize = T && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.show && this.forceUpdate(), (t = this.document) != null && t.body && this.observerResize && this.observerResize.observe(this.document.body);
|
|
251
251
|
const s = this.props.name || this.props.id;
|
|
252
|
-
this.KendoPasteSubscription =
|
|
252
|
+
this.KendoPasteSubscription = oe(this._element, {
|
|
253
253
|
fieldName: s,
|
|
254
254
|
onValueChange: (i) => {
|
|
255
255
|
this.handleKendoPasteValue(i);
|
|
@@ -334,7 +334,7 @@ const a = class a extends n.Component {
|
|
|
334
334
|
M,
|
|
335
335
|
u[M]
|
|
336
336
|
), S = /* @__PURE__ */ n.createElement(
|
|
337
|
-
|
|
337
|
+
ne,
|
|
338
338
|
{
|
|
339
339
|
onFocus: this.handleFocus,
|
|
340
340
|
onBlur: this.mobileMode ? void 0 : this.handleBlur,
|
|
@@ -390,7 +390,7 @@ const a = class a extends n.Component {
|
|
|
390
390
|
}
|
|
391
391
|
),
|
|
392
392
|
!this.mobileMode && this.renderPopup()
|
|
393
|
-
), this.mobileMode && this.renderAdaptivePopup(), this.showLicenseWatermark && /* @__PURE__ */ n.createElement(
|
|
393
|
+
), this.mobileMode && this.renderAdaptivePopup(), this.showLicenseWatermark && /* @__PURE__ */ n.createElement(ae, { message: this.licenseMessage }))
|
|
394
394
|
);
|
|
395
395
|
return this.props.label ? /* @__PURE__ */ n.createElement(
|
|
396
396
|
we,
|
|
@@ -514,10 +514,10 @@ a.displayName = "TimePicker", a.propTypes = {
|
|
|
514
514
|
fillMode: void 0
|
|
515
515
|
};
|
|
516
516
|
let p = a;
|
|
517
|
-
const Te =
|
|
518
|
-
|
|
517
|
+
const Te = te(), Ce = Q(
|
|
518
|
+
Y(
|
|
519
519
|
Te,
|
|
520
|
-
|
|
520
|
+
$(ee(p))
|
|
521
521
|
)
|
|
522
522
|
);
|
|
523
523
|
Ce.displayName = "KendoReactTimePicker";
|
package/timepicker/utils.mjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { cloneDate as g, addDays as f } from "@progress/kendo-date-math";
|
|
9
9
|
import { TIME_PART as l } from "./models/TimePart.mjs";
|
|
10
10
|
import { setTime as u, MIDNIGHT_DATE as c } from "../utils.mjs";
|
|
11
11
|
const a = (e) => (t, r) => {
|