@progress/kendo-react-dateinputs 9.2.0-develop.2 → 9.2.0-develop.4

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 (114) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/calendar/components/Calendar.js +1 -1
  4. package/calendar/components/Calendar.mjs +1 -1
  5. package/calendar/components/CalendarCell.js +1 -1
  6. package/calendar/components/CalendarCell.mjs +1 -1
  7. package/calendar/components/CalendarHeaderTitle.js +1 -1
  8. package/calendar/components/CalendarHeaderTitle.mjs +1 -1
  9. package/calendar/components/CalendarNavigationItem.js +1 -1
  10. package/calendar/components/CalendarNavigationItem.mjs +1 -1
  11. package/calendar/components/CalendarWeekCell.js +1 -1
  12. package/calendar/components/CalendarWeekCell.mjs +1 -1
  13. package/calendar/components/Header.js +1 -1
  14. package/calendar/components/Header.mjs +1 -1
  15. package/calendar/components/HorizontalViewList.js +1 -1
  16. package/calendar/components/HorizontalViewList.mjs +1 -1
  17. package/calendar/components/MultiViewCalendar.js +1 -1
  18. package/calendar/components/MultiViewCalendar.mjs +1 -1
  19. package/calendar/components/Navigation.js +1 -1
  20. package/calendar/components/Navigation.mjs +1 -1
  21. package/calendar/components/TodayCommand.js +1 -1
  22. package/calendar/components/TodayCommand.mjs +1 -1
  23. package/calendar/components/View.js +1 -1
  24. package/calendar/components/View.mjs +1 -1
  25. package/calendar/components/ViewList.js +1 -1
  26. package/calendar/components/ViewList.mjs +1 -1
  27. package/calendar/models/CalendarViewEnum.js +1 -1
  28. package/calendar/models/CalendarViewEnum.mjs +1 -1
  29. package/calendar/models/NavigationAction.js +1 -1
  30. package/calendar/models/NavigationAction.mjs +1 -1
  31. package/calendar/models/SelectionRange.js +1 -1
  32. package/calendar/models/SelectionRange.mjs +1 -1
  33. package/calendar/services/BusViewService.js +1 -1
  34. package/calendar/services/BusViewService.mjs +1 -1
  35. package/calendar/services/CenturyViewService.js +1 -1
  36. package/calendar/services/CenturyViewService.mjs +1 -1
  37. package/calendar/services/DOMService.js +1 -1
  38. package/calendar/services/DOMService.mjs +1 -1
  39. package/calendar/services/DecadeViewService.js +1 -1
  40. package/calendar/services/DecadeViewService.mjs +1 -1
  41. package/calendar/services/MonthViewService.js +1 -1
  42. package/calendar/services/MonthViewService.mjs +1 -1
  43. package/calendar/services/NavigationService.js +1 -1
  44. package/calendar/services/NavigationService.mjs +1 -1
  45. package/calendar/services/ScrollSyncService.js +1 -1
  46. package/calendar/services/ScrollSyncService.mjs +1 -1
  47. package/calendar/services/WeekNamesService.js +1 -1
  48. package/calendar/services/WeekNamesService.mjs +1 -1
  49. package/calendar/services/YearViewService.js +1 -1
  50. package/calendar/services/YearViewService.mjs +1 -1
  51. package/common/AdaptiveMode.js +2 -2
  52. package/common/AdaptiveMode.mjs +44 -37
  53. package/common/ClearButton.js +1 -1
  54. package/common/ClearButton.mjs +1 -1
  55. package/common/PickerWrap.js +1 -1
  56. package/common/PickerWrap.mjs +1 -1
  57. package/dateinput/DateInput.js +1 -1
  58. package/dateinput/DateInput.mjs +1 -1
  59. package/dateinput/dateInputIntl.js +1 -1
  60. package/dateinput/dateInputIntl.mjs +1 -1
  61. package/dateinput/utils.js +1 -1
  62. package/dateinput/utils.mjs +1 -1
  63. package/datepicker/DatePicker.js +2 -2
  64. package/datepicker/DatePicker.mjs +70 -71
  65. package/datepicker/ToggleButton.js +1 -1
  66. package/datepicker/ToggleButton.mjs +1 -1
  67. package/daterangepicker/DateRangePicker.js +2 -2
  68. package/daterangepicker/DateRangePicker.mjs +25 -26
  69. package/datetimepicker/DateTimePicker.js +2 -2
  70. package/datetimepicker/DateTimePicker.mjs +38 -39
  71. package/datetimepicker/DateTimeSelector.js +1 -1
  72. package/datetimepicker/DateTimeSelector.mjs +1 -1
  73. package/dist/cdn/js/kendo-react-dateinputs.js +2 -2
  74. package/hooks/usePickerFloatingLabel.js +1 -1
  75. package/hooks/usePickerFloatingLabel.mjs +1 -1
  76. package/index.d.mts +1 -1
  77. package/index.d.ts +1 -1
  78. package/index.js +1 -1
  79. package/index.mjs +1 -1
  80. package/messages/index.js +1 -1
  81. package/messages/index.mjs +1 -1
  82. package/package-metadata.js +1 -1
  83. package/package-metadata.mjs +2 -2
  84. package/package.json +7 -7
  85. package/timepicker/TimeList.js +1 -1
  86. package/timepicker/TimeList.mjs +1 -1
  87. package/timepicker/TimePart.js +1 -1
  88. package/timepicker/TimePart.mjs +1 -1
  89. package/timepicker/TimePicker.js +2 -2
  90. package/timepicker/TimePicker.mjs +49 -50
  91. package/timepicker/TimeSelector.js +1 -1
  92. package/timepicker/TimeSelector.mjs +1 -1
  93. package/timepicker/models/TimePart.js +1 -1
  94. package/timepicker/models/TimePart.mjs +1 -1
  95. package/timepicker/services/DOMService.js +1 -1
  96. package/timepicker/services/DOMService.mjs +1 -1
  97. package/timepicker/services/DayPeriodService.js +1 -1
  98. package/timepicker/services/DayPeriodService.mjs +1 -1
  99. package/timepicker/services/HoursService.js +1 -1
  100. package/timepicker/services/HoursService.mjs +1 -1
  101. package/timepicker/services/MinutesService.js +1 -1
  102. package/timepicker/services/MinutesService.mjs +1 -1
  103. package/timepicker/services/SecondsService.js +1 -1
  104. package/timepicker/services/SecondsService.mjs +1 -1
  105. package/timepicker/utils.js +1 -1
  106. package/timepicker/utils.mjs +1 -1
  107. package/utils.js +1 -1
  108. package/utils.mjs +1 -1
  109. package/virtualization/Virtualization.js +1 -1
  110. package/virtualization/Virtualization.mjs +1 -1
  111. package/virtualization/services/ScrollerService.js +1 -1
  112. package/virtualization/services/ScrollerService.mjs +1 -1
  113. package/common/constants.js +0 -8
  114. package/common/constants.mjs +0 -12
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/messages/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-dateinputs",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1734711462,
13
+ publishDate: 1736416104,
14
14
  version: "",
15
15
  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"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-dateinputs",
3
- "version": "9.2.0-develop.2",
3
+ "version": "9.2.0-develop.4",
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",
@@ -25,12 +25,12 @@
25
25
  "@progress/kendo-date-math": "^1.4.0",
26
26
  "@progress/kendo-licensing": "^1.3.4",
27
27
  "@progress/kendo-dateinputs-common": "0.4.0",
28
- "@progress/kendo-react-buttons": "9.2.0-develop.2",
29
- "@progress/kendo-react-common": "9.2.0-develop.2",
30
- "@progress/kendo-react-intl": "9.2.0-develop.2",
31
- "@progress/kendo-react-labels": "9.2.0-develop.2",
32
- "@progress/kendo-react-layout": "9.2.0-develop.2",
33
- "@progress/kendo-react-popup": "9.2.0-develop.2",
28
+ "@progress/kendo-react-buttons": "9.2.0-develop.4",
29
+ "@progress/kendo-react-common": "9.2.0-develop.4",
30
+ "@progress/kendo-react-intl": "9.2.0-develop.4",
31
+ "@progress/kendo-react-labels": "9.2.0-develop.4",
32
+ "@progress/kendo-react-layout": "9.2.0-develop.4",
33
+ "@progress/kendo-react-popup": "9.2.0-develop.4",
34
34
  "@progress/kendo-svg-icons": "^4.0.0",
35
35
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
36
36
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("react"),e=require("prop-types"),X=require("@progress/kendo-react-popup"),y=require("@progress/kendo-date-math"),n=require("@progress/kendo-react-common"),Z=require("@progress/kendo-svg-icons"),I=require("@progress/kendo-react-intl"),$=require("../package-metadata.js"),l=require("../messages/index.js"),J=require("../dateinput/DateInput.js"),Q=require("./TimeSelector.js"),p=require("../utils.js"),f=require("./utils.js"),Y=require("../hooks/usePickerFloatingLabel.js"),ee=require("@progress/kendo-react-buttons"),te=require("../common/constants.js"),ie=require("../common/AdaptiveMode.js"),se=require("@progress/kendo-react-layout");function oe(c){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(c){for(const t in c)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(c,t);Object.defineProperty(i,t,s.get?s:{enumerable:!0,get:()=>c[t]})}}return i.default=c,Object.freeze(i)}const r=oe(G),a=class a extends r.Component{constructor(i){super(i),this._element=null,this._dateInput=r.createRef(),this._timeSelector=null,this.shouldFocusDateInput=!1,this.prevShow=!1,this.focus=()=>{this.dateInput&&this.dateInput.focus()},this.renderTimeSelector=()=>{const{smoothScroll:t,cancelButton:s,nowButton:o,disabled:u,format:d,steps:h,unstyled:g}=this.props;return r.createElement(Q.TimeSelector,{ref:this.setTimeSelectorRef,mobileMode:this.mobileMode,show:this.show,cancelButton:s,disabled:u,nowButton:o,format:d,min:this.min,max:this.max,steps:h,smoothScroll:t,value:this.value,footer:!this.mobileMode,handleTimeChange:this.mobileMode&&this.handleTimeChange,onChange:this.handleValueChange,onReject:this.handleValueReject,unstyled:g})},this.renderPopup=()=>{const{popupClass:t,...s}=this.popupSettings,{unstyled:o}=this.props,u=o&&o.uTimePicker,d=n.classNames(t),h={popupClass:n.uTimePicker.popup({c:u}),show:this.show,animate:this.element!==null,anchor:this.element,className:d,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},...s};return this.props.popup?r.createElement(this.props.popup,{...h},this.renderTimeSelector()):r.createElement(X.Popup,{...h},this.renderTimeSelector())},this.renderAdaptivePopup=()=>{const{windowWidth:t=0}=this.state,s={expand:this.show,onClose:this.handleBlur,adaptiveTitle:this.props.adaptiveTitle,windowWidth:t,footer:{cancelText:this.localizationService.toLanguageString(l.toggleClock,l.messages[l.timePickerCancel]),onCancel:this.handleValueReject,applyText:this.localizationService.toLanguageString(l.timePickerSet,l.messages[l.timePickerSet]),onApply:o=>this.handleValueChange(o)}};return r.createElement(ie.AdaptiveMode,{...s},r.createElement(se.ActionSheetContent,{overflowHidden:!0},this.renderTimeSelector()))},this.setTimeSelectorRef=t=>{this._timeSelector=t},this.nextValue=(t,s)=>t.value!==void 0?t.value:s.value,this.nextShow=(t,s)=>t.show!==void 0?t.show:s.show,this.handleInputValueChange=t=>{const s=this.mergeTime(t.value);this.handleValueChange({...t,value:s})},this.handleTimeChange=t=>{this.setState({candidate:t.time})},this.handleValueChange=t=>{this.setState({value:y.cloneDate(t.value||this.state.candidate)}),this.valueDuringOnChange=t.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0;const{onChange:s}=this.props,o=this.state.candidate||this.value;s&&s.call(void 0,{syntheticEvent:t.syntheticEvent,nativeEvent:t.nativeEvent,value:o,show:this.show,target:this}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0,this.setShow(!1)},this.handleFocus=()=>{this.setState({focused:!0})},this.handleBlur=()=>{this.setState({focused:!1}),this.setShow(!1)},this.handleValueReject=t=>{this.setShow(!1)},this.handleIconClick=t=>{this.props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.show))},this.handleIconMouseDown=t=>{t.preventDefault()},this.handleKeyDown=t=>{const{altKey:s,keyCode:o}=t;if(o===n.Keys.esc){this.shouldFocusDateInput=!0,this.setShow(!1);return}s&&(o===n.Keys.up||o===n.Keys.down)&&(t.preventDefault(),t.stopPropagation(),this.shouldFocusDateInput=o===n.Keys.up,this.setShow(o===n.Keys.down))},n.validatePackage($.packageMetadata),this.state={value:this.props.defaultValue||a.defaultProps.defaultValue,show:this.props.defaultShow||a.defaultProps.defaultShow,focused:!1,candidate:null},this.normalizeTime=this.normalizeTime.bind(this),this.setShow=this.setShow.bind(this),this.mergeTime=this.mergeTime.bind(this)}get _popupId(){return this.props.id+"-popup-id"}get document(){if(n.canUseDOM)return this.element&&this.element.ownerDocument||document}get element(){return this._element}get dateInput(){return this._dateInput.current}get timeSelector(){return this._timeSelector}get value(){const i=this.valueDuringOnChange!==void 0?this.valueDuringOnChange:this.props.value!==void 0?this.props.value:this.state.value;return i!==null?y.cloneDate(i):null}get show(){return this.showDuringOnChange!==void 0?this.showDuringOnChange:this.props.show!==void 0?this.props.show:this.state.show}get name(){return this.props.name}get validity(){const i=this.value&&this.normalizeTime(this.value),t=this.normalizeTime(this.min),s=this.normalizeTime(this.max),o=f.isInRange(i,t,s),u=this.props.validationMessage!==void 0,d=(!this.required||this.value!==null)&&o,h=this.props.valid!==void 0?this.props.valid:d;return{customError:u,rangeOverflow:f.isBiggerThanMax(i,s),rangeUnderflow:f.isSmallerThanMin(i,t),valid:h,valueMissing:this.value===null}}get mobileMode(){return!!(this.state.windowWidth&&this.state.windowWidth<=te.MOBILE_MEDIUM_DEVISE&&this.props.adaptive)}get validityStyles(){return this.props.validityStyles!==void 0?this.props.validityStyles:a.defaultProps.validityStyles}get required(){return this.props.required!==void 0?this.props.required:!1}get popupSettings(){return this.props.popupSettings||a.defaultProps.popupSettings}get min(){return this.props.min!==void 0?this.props.min:a.defaultProps.min}get max(){return this.props.max!==void 0?this.props.max:a.defaultProps.max}get dateInputComp(){return this.props.dateInput||a.defaultProps.dateInput}get localizationService(){return I.provideLocalizationService(this)}componentDidMount(){var i;this.observerResize=n.canUseDOM&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.show&&this.forceUpdate(),(i=this.document)!=null&&i.body&&this.observerResize&&this.observerResize.observe(this.document.body)}componentDidUpdate(){this._timeSelector&&this.show&&!this.prevShow?this._timeSelector.focusActiveList():this.dateInput&&this.dateInput.element&&!this.show&&this.shouldFocusDateInput&&this.dateInput.element.focus({preventScroll:!0}),this.prevShow=this.show,this.shouldFocusDateInput=!1}componentWillUnmount(){var i;(i=this.document)!=null&&i.body&&this.observerResize&&this.observerResize.disconnect()}render(){const{size:i=a.defaultProps.size,rounded:t=a.defaultProps.rounded,fillMode:s=a.defaultProps.fillMode,disabled:o,tabIndex:u,title:d,id:h,className:g,format:M,formatPlaceholder:P,width:D,name:O,steps:k,validationMessage:z,required:q,validityStyles:x,ariaLabelledBy:R,ariaDescribedBy:E,unstyled:v,enableMouseWheel:B,autoCorrectParts:V,autoSwitchParts:F,autoSwitchKeys:A,allowCaretMode:N,inputAttributes:L}=this.props,w=v&&v.uTimePicker,S=!this.validityStyles||this.validity.valid,_={disabled:o,format:M,formatPlaceholder:P,id:h,ariaLabelledBy:R,ariaDescribedBy:E,max:this.normalizeTime(this.max),min:this.normalizeTime(this.min),name:O,onChange:this.handleInputValueChange,required:q,steps:k,tabIndex:this.show?-1:u,title:d,valid:this.validity.valid,validationMessage:z,validityStyles:x,value:this.value&&this.normalizeTime(this.value),label:void 0,placeholder:this.state.focused?null:this.props.placeholder,ariaHasPopup:"dialog",ariaExpanded:this.show,size:null,fillMode:null,rounded:null,enableMouseWheel:B,autoCorrectParts:V,autoSwitchParts:F,autoSwitchKeys:A,allowCaretMode:N,inputAttributes:L},K=this.localizationService.toLanguageString(l.toggleClock,l.messages[l.toggleClock]),j=this.localizationService.toLanguageString(l.toggleTimeSelector,l.messages[l.toggleTimeSelector]),b=r.createElement(n.AsyncFocusBlur,{onFocus:this.handleFocus,onBlur:this.mobileMode?void 0:this.handleBlur,onSyncBlur:this.props.onBlur,onSyncFocus:this.props.onFocus},({onFocus:U,onBlur:H})=>r.createElement(r.Fragment,null,r.createElement("span",{id:this.props.id,ref:W=>{this._element=W},className:n.classNames(n.uTimePicker.wrapper({c:w,size:i,rounded:t,fillMode:s,invalid:!S,required:this.required,disabled:o}),g),onKeyDown:this.handleKeyDown,style:{width:D},onFocus:U,onBlur:H,onClick:this.mobileMode?this.handleIconClick:void 0},r.createElement(this.dateInputComp,{_ref:this._dateInput,ariaRole:"combobox",ariaControls:this._popupId,..._}),r.createElement(ee.Button,{tabIndex:-1,type:"button",icon:"clock",svgIcon:Z.clockIcon,onMouseDown:this.handleIconMouseDown,onClick:this.mobileMode?void 0:this.handleIconClick,title:j,className:n.classNames(n.uTimePicker.inputButton({c:w})),rounded:null,fillMode:s,"aria-label":K}),!this.mobileMode&&this.renderPopup()),this.mobileMode&&this.renderAdaptivePopup()));return this.props.label?r.createElement(Y.PickerFloatingLabel,{dateInput:this._dateInput,label:this.props.label,editorId:h,editorValid:S,editorDisabled:this.props.disabled,children:b,style:{width:this.props.width}}):b}normalizeTime(i){return p.setTime(p.MIDNIGHT_DATE,i)}setShow(i){const{onOpen:t,onClose:s}=this.props;this.show!==i&&(this.setState({show:i}),i&&t&&t.call(void 0,{target:this}),!i&&s&&s.call(void 0,{target:this}))}mergeTime(i){return this.value&&i?p.setTime(this.value,i):i}calculateMedia(i){for(const t of i)this.setState({windowWidth:t.target.clientWidth})}};a.displayName="TimePicker",a.propTypes={className:e.string,cancelButton:e.bool,nowButton:e.bool,defaultShow:e.bool,defaultValue:e.instanceOf(Date),disabled:e.bool,format:e.oneOfType([e.string,e.shape({skeleton:e.string,pattern:e.string,date:e.oneOf(["short","medium","long","full"]),time:e.oneOf(["short","medium","long","full"]),datetime:e.oneOf(["short","medium","long","full"]),era:e.oneOf(["narrow","short","long"]),year:e.oneOf(["numeric","2-digit"]),month:e.oneOf(["numeric","2-digit","narrow","short","long"]),day:e.oneOf(["numeric","2-digit"]),weekday:e.oneOf(["narrow","short","long"]),hour:e.oneOf(["numeric","2-digit"]),hour12:e.bool,minute:e.oneOf(["numeric","2-digit"]),second:e.oneOf(["numeric","2-digit"]),timeZoneName:e.oneOf(["short","long"])})]),formatPlaceholder:e.oneOfType([e.oneOf(["wide","narrow","short","formatPattern"]),e.shape({year:e.string,month:e.string,day:e.string,hour:e.string,minute:e.string,second:e.string})]),id:e.string,ariaLabelledBy:e.string,ariaDescribedBy:e.string,min:e.instanceOf(Date),max:e.instanceOf(Date),name:e.string,popupSettings:e.shape({animate:e.bool,appendTo:e.any,popupClass:e.string}),show:e.bool,steps:e.shape({hour:e.number,minute:e.number,second:e.number}),smoothScroll:e.bool,tabIndex:e.number,title:e.string,value:e.instanceOf(Date),width:e.oneOfType([e.number,e.string]),validationMessage:e.string,required:e.bool,validate:e.bool,valid:e.bool,size:e.oneOf([null,"small","medium","large"]),rounded:e.oneOf([null,"small","medium","large","full"]),fillMode:e.oneOf([null,"solid","flat","outline"]),inputAttributes:e.object},a.defaultProps={defaultShow:!1,defaultValue:null,disabled:!1,format:"t",max:p.MAX_TIME,min:p.MIN_TIME,popupSettings:{},tabIndex:0,steps:{},validityStyles:!0,dateInput:J.DateInput,size:"medium",rounded:"medium",fillMode:"solid"};let m=a;const T=n.createPropsContext(),C=n.withIdHOC(n.withPropsContext(T,n.withUnstyledHOC(m)));C.displayName="KendoReactTimePicker";I.registerForLocalization(m);exports.TimePicker=C;exports.TimePickerPropsContext=T;exports.TimePickerWithoutContext=m;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("react"),e=require("prop-types"),X=require("@progress/kendo-react-popup"),y=require("@progress/kendo-date-math"),o=require("@progress/kendo-react-common"),Z=require("@progress/kendo-svg-icons"),I=require("@progress/kendo-react-intl"),$=require("../package-metadata.js"),l=require("../messages/index.js"),J=require("../dateinput/DateInput.js"),Q=require("./TimeSelector.js"),p=require("../utils.js"),f=require("./utils.js"),Y=require("../hooks/usePickerFloatingLabel.js"),ee=require("@progress/kendo-react-buttons"),te=require("../common/AdaptiveMode.js"),ie=require("@progress/kendo-react-layout");function se(c){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(c){for(const t in c)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(c,t);Object.defineProperty(i,t,s.get?s:{enumerable:!0,get:()=>c[t]})}}return i.default=c,Object.freeze(i)}const r=se(G),a=class a extends r.Component{constructor(i){super(i),this._element=null,this._dateInput=r.createRef(),this._timeSelector=null,this.shouldFocusDateInput=!1,this.prevShow=!1,this.focus=()=>{this.dateInput&&this.dateInput.focus()},this.renderTimeSelector=()=>{const{smoothScroll:t,cancelButton:s,nowButton:n,disabled:u,format:d,steps:h,unstyled:g}=this.props;return r.createElement(Q.TimeSelector,{ref:this.setTimeSelectorRef,mobileMode:this.mobileMode,show:this.show,cancelButton:s,disabled:u,nowButton:n,format:d,min:this.min,max:this.max,steps:h,smoothScroll:t,value:this.value,footer:!this.mobileMode,handleTimeChange:this.mobileMode&&this.handleTimeChange,onChange:this.handleValueChange,onReject:this.handleValueReject,unstyled:g})},this.renderPopup=()=>{const{popupClass:t,...s}=this.popupSettings,{unstyled:n}=this.props,u=n&&n.uTimePicker,d=o.classNames(t),h={popupClass:o.uTimePicker.popup({c:u}),show:this.show,animate:this.element!==null,anchor:this.element,className:d,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},...s};return this.props.popup?r.createElement(this.props.popup,{...h},this.renderTimeSelector()):r.createElement(X.Popup,{...h},this.renderTimeSelector())},this.renderAdaptivePopup=()=>{const{windowWidth:t=0}=this.state,s={expand:this.show,onClose:this.handleBlur,title:this.props.adaptiveTitle,windowWidth:t,footer:{cancelText:this.localizationService.toLanguageString(l.toggleClock,l.messages[l.timePickerCancel]),onCancel:this.handleValueReject,applyText:this.localizationService.toLanguageString(l.timePickerSet,l.messages[l.timePickerSet]),onApply:n=>this.handleValueChange(n)}};return r.createElement(te.AdaptiveMode,{...s},r.createElement(ie.ActionSheetContent,{overflowHidden:!0},this.renderTimeSelector()))},this.setTimeSelectorRef=t=>{this._timeSelector=t},this.nextValue=(t,s)=>t.value!==void 0?t.value:s.value,this.nextShow=(t,s)=>t.show!==void 0?t.show:s.show,this.handleInputValueChange=t=>{const s=this.mergeTime(t.value);this.handleValueChange({...t,value:s})},this.handleTimeChange=t=>{this.setState({candidate:t.time})},this.handleValueChange=t=>{this.setState({value:y.cloneDate(t.value||this.state.candidate)}),this.valueDuringOnChange=t.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0;const{onChange:s}=this.props,n=this.state.candidate||this.value;s&&s.call(void 0,{syntheticEvent:t.syntheticEvent,nativeEvent:t.nativeEvent,value:n,show:this.show,target:this}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0,this.setShow(!1)},this.handleFocus=()=>{this.setState({focused:!0})},this.handleBlur=()=>{this.setState({focused:!1}),this.setShow(!1)},this.handleValueReject=t=>{this.setShow(!1)},this.handleIconClick=t=>{this.props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.show))},this.handleIconMouseDown=t=>{t.preventDefault()},this.handleKeyDown=t=>{const{altKey:s,keyCode:n}=t;if(n===o.Keys.esc){this.shouldFocusDateInput=!0,this.setShow(!1);return}s&&(n===o.Keys.up||n===o.Keys.down)&&(t.preventDefault(),t.stopPropagation(),this.shouldFocusDateInput=n===o.Keys.up,this.setShow(n===o.Keys.down))},o.validatePackage($.packageMetadata),this.state={value:this.props.defaultValue||a.defaultProps.defaultValue,show:this.props.defaultShow||a.defaultProps.defaultShow,focused:!1,candidate:null},this.normalizeTime=this.normalizeTime.bind(this),this.setShow=this.setShow.bind(this),this.mergeTime=this.mergeTime.bind(this)}get _popupId(){return this.props.id+"-popup-id"}get document(){if(o.canUseDOM)return this.element&&this.element.ownerDocument||document}get element(){return this._element}get dateInput(){return this._dateInput.current}get timeSelector(){return this._timeSelector}get value(){const i=this.valueDuringOnChange!==void 0?this.valueDuringOnChange:this.props.value!==void 0?this.props.value:this.state.value;return i!==null?y.cloneDate(i):null}get show(){return this.showDuringOnChange!==void 0?this.showDuringOnChange:this.props.show!==void 0?this.props.show:this.state.show}get name(){return this.props.name}get validity(){const i=this.value&&this.normalizeTime(this.value),t=this.normalizeTime(this.min),s=this.normalizeTime(this.max),n=f.isInRange(i,t,s),u=this.props.validationMessage!==void 0,d=(!this.required||this.value!==null)&&n,h=this.props.valid!==void 0?this.props.valid:d;return{customError:u,rangeOverflow:f.isBiggerThanMax(i,s),rangeUnderflow:f.isSmallerThanMin(i,t),valid:h,valueMissing:this.value===null}}get mobileMode(){return!!(this.state.windowWidth&&this.state.windowWidth<=o.ADAPTIVE_MEDIUM_BREAKPOINT&&this.props.adaptive)}get validityStyles(){return this.props.validityStyles!==void 0?this.props.validityStyles:a.defaultProps.validityStyles}get required(){return this.props.required!==void 0?this.props.required:!1}get popupSettings(){return this.props.popupSettings||a.defaultProps.popupSettings}get min(){return this.props.min!==void 0?this.props.min:a.defaultProps.min}get max(){return this.props.max!==void 0?this.props.max:a.defaultProps.max}get dateInputComp(){return this.props.dateInput||a.defaultProps.dateInput}get localizationService(){return I.provideLocalizationService(this)}componentDidMount(){var i;this.observerResize=o.canUseDOM&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.show&&this.forceUpdate(),(i=this.document)!=null&&i.body&&this.observerResize&&this.observerResize.observe(this.document.body)}componentDidUpdate(){this._timeSelector&&this.show&&!this.prevShow?this._timeSelector.focusActiveList():this.dateInput&&this.dateInput.element&&!this.show&&this.shouldFocusDateInput&&this.dateInput.element.focus({preventScroll:!0}),this.prevShow=this.show,this.shouldFocusDateInput=!1}componentWillUnmount(){var i;(i=this.document)!=null&&i.body&&this.observerResize&&this.observerResize.disconnect()}render(){const{size:i=a.defaultProps.size,rounded:t=a.defaultProps.rounded,fillMode:s=a.defaultProps.fillMode,disabled:n,tabIndex:u,title:d,id:h,className:g,format:P,formatPlaceholder:M,width:D,name:O,steps:k,validationMessage:z,required:x,validityStyles:R,ariaLabelledBy:q,ariaDescribedBy:E,unstyled:v,enableMouseWheel:B,autoCorrectParts:A,autoSwitchParts:V,autoSwitchKeys:F,allowCaretMode:N,inputAttributes:_}=this.props,w=v&&v.uTimePicker,b=!this.validityStyles||this.validity.valid,K={disabled:n,format:P,formatPlaceholder:M,id:h,ariaLabelledBy:q,ariaDescribedBy:E,max:this.normalizeTime(this.max),min:this.normalizeTime(this.min),name:O,onChange:this.handleInputValueChange,required:x,steps:k,tabIndex:this.show?-1:u,title:d,valid:this.validity.valid,validationMessage:z,validityStyles:R,value:this.value&&this.normalizeTime(this.value),label:void 0,placeholder:this.state.focused?null:this.props.placeholder,ariaHasPopup:"dialog",ariaExpanded:this.show,size:null,fillMode:null,rounded:null,enableMouseWheel:B,autoCorrectParts:A,autoSwitchParts:V,autoSwitchKeys:F,allowCaretMode:N,inputAttributes:_},L=this.localizationService.toLanguageString(l.toggleClock,l.messages[l.toggleClock]),j=this.localizationService.toLanguageString(l.toggleTimeSelector,l.messages[l.toggleTimeSelector]),S=r.createElement(o.AsyncFocusBlur,{onFocus:this.handleFocus,onBlur:this.mobileMode?void 0:this.handleBlur,onSyncBlur:this.props.onBlur,onSyncFocus:this.props.onFocus},({onFocus:U,onBlur:H})=>r.createElement(r.Fragment,null,r.createElement("span",{id:this.props.id,ref:W=>{this._element=W},className:o.classNames(o.uTimePicker.wrapper({c:w,size:i,rounded:t,fillMode:s,invalid:!b,required:this.required,disabled:n}),g),onKeyDown:this.handleKeyDown,style:{width:D},onFocus:U,onBlur:H,onClick:this.mobileMode?this.handleIconClick:void 0},r.createElement(this.dateInputComp,{_ref:this._dateInput,ariaRole:"combobox",ariaControls:this._popupId,...K}),r.createElement(ee.Button,{tabIndex:-1,type:"button",icon:"clock",svgIcon:Z.clockIcon,onMouseDown:this.handleIconMouseDown,onClick:this.mobileMode?void 0:this.handleIconClick,title:j,className:o.classNames(o.uTimePicker.inputButton({c:w})),rounded:null,fillMode:s,"aria-label":L}),!this.mobileMode&&this.renderPopup()),this.mobileMode&&this.renderAdaptivePopup()));return this.props.label?r.createElement(Y.PickerFloatingLabel,{dateInput:this._dateInput,label:this.props.label,editorId:h,editorValid:b,editorDisabled:this.props.disabled,children:S,style:{width:this.props.width}}):S}normalizeTime(i){return p.setTime(p.MIDNIGHT_DATE,i)}setShow(i){const{onOpen:t,onClose:s}=this.props;this.show!==i&&(this.setState({show:i}),i&&t&&t.call(void 0,{target:this}),!i&&s&&s.call(void 0,{target:this}))}mergeTime(i){return this.value&&i?p.setTime(this.value,i):i}calculateMedia(i){for(const t of i)this.setState({windowWidth:t.target.clientWidth})}};a.displayName="TimePicker",a.propTypes={className:e.string,cancelButton:e.bool,nowButton:e.bool,defaultShow:e.bool,defaultValue:e.instanceOf(Date),disabled:e.bool,format:e.oneOfType([e.string,e.shape({skeleton:e.string,pattern:e.string,date:e.oneOf(["short","medium","long","full"]),time:e.oneOf(["short","medium","long","full"]),datetime:e.oneOf(["short","medium","long","full"]),era:e.oneOf(["narrow","short","long"]),year:e.oneOf(["numeric","2-digit"]),month:e.oneOf(["numeric","2-digit","narrow","short","long"]),day:e.oneOf(["numeric","2-digit"]),weekday:e.oneOf(["narrow","short","long"]),hour:e.oneOf(["numeric","2-digit"]),hour12:e.bool,minute:e.oneOf(["numeric","2-digit"]),second:e.oneOf(["numeric","2-digit"]),timeZoneName:e.oneOf(["short","long"])})]),formatPlaceholder:e.oneOfType([e.oneOf(["wide","narrow","short","formatPattern"]),e.shape({year:e.string,month:e.string,day:e.string,hour:e.string,minute:e.string,second:e.string})]),id:e.string,ariaLabelledBy:e.string,ariaDescribedBy:e.string,min:e.instanceOf(Date),max:e.instanceOf(Date),name:e.string,popupSettings:e.shape({animate:e.bool,appendTo:e.any,popupClass:e.string}),show:e.bool,steps:e.shape({hour:e.number,minute:e.number,second:e.number}),smoothScroll:e.bool,tabIndex:e.number,title:e.string,value:e.instanceOf(Date),width:e.oneOfType([e.number,e.string]),validationMessage:e.string,required:e.bool,validate:e.bool,valid:e.bool,size:e.oneOf([null,"small","medium","large"]),rounded:e.oneOf([null,"small","medium","large","full"]),fillMode:e.oneOf([null,"solid","flat","outline"]),inputAttributes:e.object},a.defaultProps={defaultShow:!1,defaultValue:null,disabled:!1,format:"t",max:p.MAX_TIME,min:p.MIN_TIME,popupSettings:{},tabIndex:0,steps:{},validityStyles:!0,dateInput:J.DateInput,size:"medium",rounded:"medium",fillMode:"solid"};let m=a;const T=o.createPropsContext(),C=o.withIdHOC(o.withPropsContext(T,o.withUnstyledHOC(m)));C.displayName="KendoReactTimePicker";I.registerForLocalization(m);exports.TimePicker=C;exports.TimePickerPropsContext=T;exports.TimePickerWithoutContext=m;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -10,18 +10,17 @@ import * as a from "react";
10
10
  import e from "prop-types";
11
11
  import { Popup as X } from "@progress/kendo-react-popup";
12
12
  import { cloneDate as y } from "@progress/kendo-date-math";
13
- import { classNames as c, uTimePicker as g, Keys as u, validatePackage as Z, canUseDOM as I, AsyncFocusBlur as J, createPropsContext as Q, withIdHOC as Y, withPropsContext as $, withUnstyledHOC as ee } from "@progress/kendo-react-common";
14
- import { clockIcon as te } from "@progress/kendo-svg-icons";
15
- import { provideLocalizationService as ie, registerForLocalization as se } from "@progress/kendo-react-intl";
16
- import { packageMetadata as oe } from "../package-metadata.mjs";
17
- import { toggleClock as f, messages as d, timePickerCancel as ne, timePickerSet as C, toggleTimeSelector as T } from "../messages/index.mjs";
18
- import { DateInput as ae } from "../dateinput/DateInput.mjs";
19
- import { TimeSelector as re } from "./TimeSelector.mjs";
20
- import { MAX_TIME as le, MIN_TIME as he, setTime as M, MIDNIGHT_DATE as ue } from "../utils.mjs";
21
- import { isInRange as de, isBiggerThanMax as pe, isSmallerThanMin as me } from "./utils.mjs";
22
- import { PickerFloatingLabel as ce } from "../hooks/usePickerFloatingLabel.mjs";
23
- import { Button as ge } from "@progress/kendo-react-buttons";
24
- import { MOBILE_MEDIUM_DEVISE as fe } from "../common/constants.mjs";
13
+ import { classNames as m, uTimePicker as g, Keys as u, validatePackage as Z, canUseDOM as I, ADAPTIVE_MEDIUM_BREAKPOINT as J, AsyncFocusBlur as Q, createPropsContext as Y, withIdHOC as $, withPropsContext as ee, withUnstyledHOC as te } from "@progress/kendo-react-common";
14
+ import { clockIcon as ie } from "@progress/kendo-svg-icons";
15
+ import { provideLocalizationService as se, registerForLocalization as oe } from "@progress/kendo-react-intl";
16
+ import { packageMetadata as ne } from "../package-metadata.mjs";
17
+ import { toggleClock as f, messages as d, timePickerCancel as ae, timePickerSet as C, toggleTimeSelector as T } from "../messages/index.mjs";
18
+ import { DateInput as re } from "../dateinput/DateInput.mjs";
19
+ import { TimeSelector as le } from "./TimeSelector.mjs";
20
+ import { MAX_TIME as he, MIN_TIME as ue, setTime as M, MIDNIGHT_DATE as de } from "../utils.mjs";
21
+ import { isInRange as pe, isBiggerThanMax as ce, isSmallerThanMin as me } from "./utils.mjs";
22
+ import { PickerFloatingLabel as ge } from "../hooks/usePickerFloatingLabel.mjs";
23
+ import { Button as fe } from "@progress/kendo-react-buttons";
25
24
  import { AdaptiveMode as ve } from "../common/AdaptiveMode.mjs";
26
25
  import { ActionSheetContent as we } from "@progress/kendo-react-layout";
27
26
  const n = class n extends a.Component {
@@ -29,9 +28,9 @@ const n = class n extends a.Component {
29
28
  super(i), this._element = null, this._dateInput = a.createRef(), this._timeSelector = null, this.shouldFocusDateInput = !1, this.prevShow = !1, this.focus = () => {
30
29
  this.dateInput && this.dateInput.focus();
31
30
  }, this.renderTimeSelector = () => {
32
- const { smoothScroll: t, cancelButton: s, nowButton: o, disabled: l, format: h, steps: r, unstyled: m } = this.props;
31
+ const { smoothScroll: t, cancelButton: s, nowButton: o, disabled: l, format: h, steps: r, unstyled: c } = this.props;
33
32
  return /* @__PURE__ */ a.createElement(
34
- re,
33
+ le,
35
34
  {
36
35
  ref: this.setTimeSelectorRef,
37
36
  mobileMode: this.mobileMode,
@@ -49,11 +48,11 @@ const n = class n extends a.Component {
49
48
  handleTimeChange: this.mobileMode && this.handleTimeChange,
50
49
  onChange: this.handleValueChange,
51
50
  onReject: this.handleValueReject,
52
- unstyled: m
51
+ unstyled: c
53
52
  }
54
53
  );
55
54
  }, this.renderPopup = () => {
56
- const { popupClass: t, ...s } = this.popupSettings, { unstyled: o } = this.props, l = o && o.uTimePicker, h = c(t), r = {
55
+ const { popupClass: t, ...s } = this.popupSettings, { unstyled: o } = this.props, l = o && o.uTimePicker, h = m(t), r = {
57
56
  popupClass: g.popup({ c: l }),
58
57
  show: this.show,
59
58
  animate: this.element !== null,
@@ -75,10 +74,10 @@ const n = class n extends a.Component {
75
74
  const { windowWidth: t = 0 } = this.state, s = {
76
75
  expand: this.show,
77
76
  onClose: this.handleBlur,
78
- adaptiveTitle: this.props.adaptiveTitle,
77
+ title: this.props.adaptiveTitle,
79
78
  windowWidth: t,
80
79
  footer: {
81
- cancelText: this.localizationService.toLanguageString(f, d[ne]),
80
+ cancelText: this.localizationService.toLanguageString(f, d[ae]),
82
81
  onCancel: this.handleValueReject,
83
82
  applyText: this.localizationService.toLanguageString(C, d[C]),
84
83
  onApply: (o) => this.handleValueChange(o)
@@ -121,7 +120,7 @@ const n = class n extends a.Component {
121
120
  return;
122
121
  }
123
122
  s && (o === u.up || o === u.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = o === u.up, this.setShow(o === u.down));
124
- }, Z(oe), this.state = {
123
+ }, Z(ne), this.state = {
125
124
  value: this.props.defaultValue || n.defaultProps.defaultValue,
126
125
  show: this.props.defaultShow || n.defaultProps.defaultShow,
127
126
  focused: !1,
@@ -176,10 +175,10 @@ const n = class n extends a.Component {
176
175
  * Represents the validity state into which the TimePicker is set.
177
176
  */
178
177
  get validity() {
179
- const i = this.value && this.normalizeTime(this.value), t = this.normalizeTime(this.min), s = this.normalizeTime(this.max), o = de(i, t, s), l = this.props.validationMessage !== void 0, h = (!this.required || this.value !== null) && o, r = this.props.valid !== void 0 ? this.props.valid : h;
178
+ const i = this.value && this.normalizeTime(this.value), t = this.normalizeTime(this.min), s = this.normalizeTime(this.max), o = pe(i, t, s), l = this.props.validationMessage !== void 0, h = (!this.required || this.value !== null) && o, r = this.props.valid !== void 0 ? this.props.valid : h;
180
179
  return {
181
180
  customError: l,
182
- rangeOverflow: pe(i, s),
181
+ rangeOverflow: ce(i, s),
183
182
  rangeUnderflow: me(i, t),
184
183
  valid: r,
185
184
  valueMissing: this.value === null
@@ -189,7 +188,7 @@ const n = class n extends a.Component {
189
188
  * The mobile mode of the ComboBox.
190
189
  */
191
190
  get mobileMode() {
192
- return !!(this.state.windowWidth && this.state.windowWidth <= fe && this.props.adaptive);
191
+ return !!(this.state.windowWidth && this.state.windowWidth <= J && this.props.adaptive);
193
192
  }
194
193
  /**
195
194
  * @hidden
@@ -216,7 +215,7 @@ const n = class n extends a.Component {
216
215
  return this.props.dateInput || n.defaultProps.dateInput;
217
216
  }
218
217
  get localizationService() {
219
- return ie(this);
218
+ return se(this);
220
219
  }
221
220
  /**
222
221
  * @hidden
@@ -250,7 +249,7 @@ const n = class n extends a.Component {
250
249
  tabIndex: l,
251
250
  title: h,
252
251
  id: r,
253
- className: m,
252
+ className: c,
254
253
  format: D,
255
254
  formatPlaceholder: O,
256
255
  width: P,
@@ -258,12 +257,12 @@ const n = class n extends a.Component {
258
257
  steps: x,
259
258
  validationMessage: E,
260
259
  required: k,
261
- validityStyles: B,
262
- ariaLabelledBy: R,
263
- ariaDescribedBy: V,
260
+ validityStyles: R,
261
+ ariaLabelledBy: B,
262
+ ariaDescribedBy: A,
264
263
  unstyled: v,
265
- enableMouseWheel: F,
266
- autoCorrectParts: A,
264
+ enableMouseWheel: V,
265
+ autoCorrectParts: F,
267
266
  autoSwitchParts: N,
268
267
  autoSwitchKeys: L,
269
268
  allowCaretMode: _,
@@ -273,8 +272,8 @@ const n = class n extends a.Component {
273
272
  format: D,
274
273
  formatPlaceholder: O,
275
274
  id: r,
276
- ariaLabelledBy: R,
277
- ariaDescribedBy: V,
275
+ ariaLabelledBy: B,
276
+ ariaDescribedBy: A,
278
277
  max: this.normalizeTime(this.max),
279
278
  min: this.normalizeTime(this.min),
280
279
  name: z,
@@ -285,7 +284,7 @@ const n = class n extends a.Component {
285
284
  title: h,
286
285
  valid: this.validity.valid,
287
286
  validationMessage: E,
288
- validityStyles: B,
287
+ validityStyles: R,
289
288
  value: this.value && this.normalizeTime(this.value),
290
289
  label: void 0,
291
290
  placeholder: this.state.focused ? null : this.props.placeholder,
@@ -294,8 +293,8 @@ const n = class n extends a.Component {
294
293
  size: null,
295
294
  fillMode: null,
296
295
  rounded: null,
297
- enableMouseWheel: F,
298
- autoCorrectParts: A,
296
+ enableMouseWheel: V,
297
+ autoCorrectParts: F,
299
298
  autoSwitchParts: N,
300
299
  autoSwitchKeys: L,
301
300
  allowCaretMode: _,
@@ -304,7 +303,7 @@ const n = class n extends a.Component {
304
303
  T,
305
304
  d[T]
306
305
  ), b = /* @__PURE__ */ a.createElement(
307
- J,
306
+ Q,
308
307
  {
309
308
  onFocus: this.handleFocus,
310
309
  onBlur: this.mobileMode ? void 0 : this.handleBlur,
@@ -318,7 +317,7 @@ const n = class n extends a.Component {
318
317
  ref: (G) => {
319
318
  this._element = G;
320
319
  },
321
- className: c(
320
+ className: m(
322
321
  g.wrapper({
323
322
  c: w,
324
323
  size: i,
@@ -328,7 +327,7 @@ const n = class n extends a.Component {
328
327
  required: this.required,
329
328
  disabled: o
330
329
  }),
331
- m
330
+ c
332
331
  ),
333
332
  onKeyDown: this.handleKeyDown,
334
333
  style: { width: P },
@@ -346,16 +345,16 @@ const n = class n extends a.Component {
346
345
  }
347
346
  ),
348
347
  /* @__PURE__ */ a.createElement(
349
- ge,
348
+ fe,
350
349
  {
351
350
  tabIndex: -1,
352
351
  type: "button",
353
352
  icon: "clock",
354
- svgIcon: te,
353
+ svgIcon: ie,
355
354
  onMouseDown: this.handleIconMouseDown,
356
355
  onClick: this.mobileMode ? void 0 : this.handleIconClick,
357
356
  title: j,
358
- className: c(g.inputButton({ c: w })),
357
+ className: m(g.inputButton({ c: w })),
359
358
  rounded: null,
360
359
  fillMode: s,
361
360
  "aria-label": U
@@ -365,7 +364,7 @@ const n = class n extends a.Component {
365
364
  ), this.mobileMode && this.renderAdaptivePopup())
366
365
  );
367
366
  return this.props.label ? /* @__PURE__ */ a.createElement(
368
- ce,
367
+ ge,
369
368
  {
370
369
  dateInput: this._dateInput,
371
370
  label: this.props.label,
@@ -378,7 +377,7 @@ const n = class n extends a.Component {
378
377
  ) : b;
379
378
  }
380
379
  normalizeTime(i) {
381
- return M(ue, i);
380
+ return M(de, i);
382
381
  }
383
382
  setShow(i) {
384
383
  const { onOpen: t, onClose: s } = this.props;
@@ -474,26 +473,26 @@ n.displayName = "TimePicker", n.propTypes = {
474
473
  defaultValue: null,
475
474
  disabled: !1,
476
475
  format: "t",
477
- max: le,
478
- min: he,
476
+ max: he,
477
+ min: ue,
479
478
  popupSettings: {},
480
479
  tabIndex: 0,
481
480
  steps: {},
482
481
  validityStyles: !0,
483
- dateInput: ae,
482
+ dateInput: re,
484
483
  size: "medium",
485
484
  rounded: "medium",
486
485
  fillMode: "solid"
487
486
  };
488
487
  let p = n;
489
- const Se = Q(), be = Y(
490
- $(
488
+ const Se = Y(), be = $(
489
+ ee(
491
490
  Se,
492
- ee(p)
491
+ te(p)
493
492
  )
494
493
  );
495
494
  be.displayName = "KendoReactTimePicker";
496
- se(p);
495
+ oe(p);
497
496
  export {
498
497
  be as TimePicker,
499
498
  Se as TimePickerPropsContext,
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */