@progress/kendo-react-scheduler 5.6.0-next.202208311110 → 5.6.1-dev.202209121134
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/LICENSE.md +2 -2
- package/README.md +4 -4
- package/about.md +1 -1
- package/dist/cdn/js/kendo-react-scheduler.js +1 -1
- package/dist/es/Scheduler.js +6 -9
- package/dist/es/components/header/navigation/NavigationDatePicker.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/Scheduler.js +5 -8
- package/dist/npm/components/header/navigation/NavigationDatePicker.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-scheduler.js +1 -1
- package/package.json +13 -13
package/dist/es/Scheduler.js
CHANGED
|
@@ -21,7 +21,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
21
21
|
import * as React from 'react';
|
|
22
22
|
import * as PropTypes from 'prop-types';
|
|
23
23
|
import { getModelFields, getField, findMaster, setField, toSchedulerGroups, getToday } from './utils';
|
|
24
|
-
import { classNames, useRtl as useDir, clone
|
|
24
|
+
import { classNames, useRtl as useDir, clone } from '@progress/kendo-react-common';
|
|
25
25
|
import { SchedulerContext } from './context/SchedulerContext';
|
|
26
26
|
import { useControlledState } from './hooks/useControlledState';
|
|
27
27
|
import { useInternationalization, useLocalization } from '@progress/kendo-react-intl';
|
|
@@ -304,14 +304,11 @@ export var Scheduler = React.forwardRef(function (props, ref) {
|
|
|
304
304
|
React.createElement(ViewSelectorList, null))),
|
|
305
305
|
view && (React.createElement(view.type, __assign({ editable: props.editable, key: view.props.name, item: props.item, viewItem: props.viewItem, editItem: props.editItem, task: props.task, viewTask: props.viewTask, editTask: props.viewTask, slot: props.slot, viewSlot: props.viewSlot, editSlot: props.editSlot, form: props.form, onDataAction: handleDataAction, showWorkHours: showWorkHours }, view.props))),
|
|
306
306
|
React.createElement(Footer, null, (slotDuration && slotDuration < (24 * 60)) && (React.createElement(BusinessHours, null,
|
|
307
|
-
React.createElement(Button, { tabIndex: -1, onClick: handleShowWorkHoursClick },
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
: showWorkDay, messages[showWorkHours
|
|
313
|
-
? showFullDay
|
|
314
|
-
: showWorkDay]))))))));
|
|
307
|
+
React.createElement(Button, { tabIndex: -1, onClick: handleShowWorkHoursClick, icon: "clock" }, localization.toLanguageString(showWorkHours
|
|
308
|
+
? showFullDay
|
|
309
|
+
: showWorkDay, messages[showWorkHours
|
|
310
|
+
? showFullDay
|
|
311
|
+
: showWorkDay]))))))));
|
|
315
312
|
});
|
|
316
313
|
var defaultProps = {
|
|
317
314
|
data: [],
|
|
@@ -83,7 +83,7 @@ export var NavigationDatePicker = React.forwardRef(function (props, ref) {
|
|
|
83
83
|
}, [focused, show]);
|
|
84
84
|
var _f = useAsyncFocusBlur({ onFocus: handleFocus, onBlur: handleBlur }), onFocus = _f.onFocus, onBlur = _f.onBlur;
|
|
85
85
|
return (React.createElement(React.Fragment, null,
|
|
86
|
-
React.createElement(Button, { ref: button, onFocus: onFocus, onBlur: onBlur, fillMode: 'flat', className: 'k-nav-current', "aria-live": "polite",
|
|
86
|
+
React.createElement(Button, { ref: button, onFocus: onFocus, onBlur: onBlur, fillMode: 'flat', className: 'k-nav-current', icon: "calendar", "aria-live": "polite", tabIndex: -1, onClick: handleClick }, media === 'desktop'
|
|
87
87
|
? text
|
|
88
88
|
: shortText),
|
|
89
89
|
React.createElement(Popup, { anchor: (_a = button.current) === null || _a === void 0 ? void 0 : _a.element, show: show },
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-scheduler',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1662982109,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/npm/Scheduler.js
CHANGED
|
@@ -307,14 +307,11 @@ exports.Scheduler = React.forwardRef(function (props, ref) {
|
|
|
307
307
|
React.createElement(ViewSelectorList_1.ViewSelectorList, null))),
|
|
308
308
|
view && (React.createElement(view.type, __assign({ editable: props.editable, key: view.props.name, item: props.item, viewItem: props.viewItem, editItem: props.editItem, task: props.task, viewTask: props.viewTask, editTask: props.viewTask, slot: props.slot, viewSlot: props.viewSlot, editSlot: props.editSlot, form: props.form, onDataAction: handleDataAction, showWorkHours: showWorkHours }, view.props))),
|
|
309
309
|
React.createElement(Footer, null, (slotDuration && slotDuration < (24 * 60)) && (React.createElement(BussinessHours_1.BusinessHours, null,
|
|
310
|
-
React.createElement(kendo_react_buttons_1.Button, { tabIndex: -1, onClick: handleShowWorkHoursClick },
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
: messages_1.showWorkDay, messages_1.messages[showWorkHours
|
|
316
|
-
? messages_1.showFullDay
|
|
317
|
-
: messages_1.showWorkDay]))))))));
|
|
310
|
+
React.createElement(kendo_react_buttons_1.Button, { tabIndex: -1, onClick: handleShowWorkHoursClick, icon: "clock" }, localization.toLanguageString(showWorkHours
|
|
311
|
+
? messages_1.showFullDay
|
|
312
|
+
: messages_1.showWorkDay, messages_1.messages[showWorkHours
|
|
313
|
+
? messages_1.showFullDay
|
|
314
|
+
: messages_1.showWorkDay]))))))));
|
|
318
315
|
});
|
|
319
316
|
var defaultProps = {
|
|
320
317
|
data: [],
|
|
@@ -86,7 +86,7 @@ exports.NavigationDatePicker = React.forwardRef(function (props, ref) {
|
|
|
86
86
|
}, [focused, show]);
|
|
87
87
|
var _f = (0, kendo_react_common_1.useAsyncFocusBlur)({ onFocus: handleFocus, onBlur: handleBlur }), onFocus = _f.onFocus, onBlur = _f.onBlur;
|
|
88
88
|
return (React.createElement(React.Fragment, null,
|
|
89
|
-
React.createElement(kendo_react_buttons_1.Button, { ref: button, onFocus: onFocus, onBlur: onBlur, fillMode: 'flat', className: 'k-nav-current', "aria-live": "polite",
|
|
89
|
+
React.createElement(kendo_react_buttons_1.Button, { ref: button, onFocus: onFocus, onBlur: onBlur, fillMode: 'flat', className: 'k-nav-current', icon: "calendar", "aria-live": "polite", tabIndex: -1, onClick: handleClick }, media === 'desktop'
|
|
90
90
|
? text
|
|
91
91
|
: shortText),
|
|
92
92
|
React.createElement(kendo_react_popup_1.Popup, { anchor: (_a = button.current) === null || _a === void 0 ? void 0 : _a.element, show: show },
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-scheduler',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1662982109,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|