@bigbinary/neetoui 7.1.0 → 8.0.0
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/DatePicker.js +1 -5
- package/dist/DatePicker.js.map +1 -1
- package/dist/TimePicker.js +1 -5
- package/dist/TimePicker.js.map +1 -1
- package/dist/cjs/DatePicker.js +1 -5
- package/dist/cjs/DatePicker.js.map +1 -1
- package/dist/cjs/TimePicker.js +1 -5
- package/dist/cjs/TimePicker.js.map +1 -1
- package/dist/cjs/{index-e2dbc0bd.js → index-e17b2a64.js} +28 -171
- package/dist/cjs/index-e17b2a64.js.map +1 -0
- package/dist/cjs/index.js +1 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/{index-266ce6a6.js → index-7862413e.js} +13 -153
- package/dist/index-7862413e.js.map +1 -0
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/index.d.ts +0 -4
- package/package.json +1 -1
- package/dist/DateTimePicker.js +0 -96
- package/dist/DateTimePicker.js.map +0 -1
- package/dist/TimePickerInput.js +0 -263
- package/dist/TimePickerInput.js.map +0 -1
- package/dist/cjs/DateTimePicker.js +0 -102
- package/dist/cjs/DateTimePicker.js.map +0 -1
- package/dist/cjs/TimePickerInput.js +0 -278
- package/dist/cjs/TimePickerInput.js.map +0 -1
- package/dist/cjs/index-e2dbc0bd.js.map +0 -1
- package/dist/index-266ce6a6.js.map +0 -1
- package/types/DateTimePicker.d.ts +0 -26
- package/types/TimePickerInput.d.ts +0 -22
package/dist/DatePicker.js
CHANGED
|
@@ -23,7 +23,7 @@ import 'react-colorful';
|
|
|
23
23
|
import './tinycolor-282c618c.js';
|
|
24
24
|
import './Dropdown.js';
|
|
25
25
|
import './index-9040fef3.js';
|
|
26
|
-
export { D as default } from './index-
|
|
26
|
+
export { D as default } from './index-7862413e.js';
|
|
27
27
|
import './Input.js';
|
|
28
28
|
import './Label.js';
|
|
29
29
|
import './MultiEmailInput.js';
|
|
@@ -62,7 +62,6 @@ import 'react-drag-listview';
|
|
|
62
62
|
import './HeaderCellMenu-5ba3873f.js';
|
|
63
63
|
import 'react-resizable';
|
|
64
64
|
import './Tag.js';
|
|
65
|
-
import './TimePickerInput.js';
|
|
66
65
|
import './Toastr.js';
|
|
67
66
|
import 'react-i18next';
|
|
68
67
|
import 'i18next';
|
|
@@ -80,7 +79,6 @@ import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
|
|
|
80
79
|
import '@babel/runtime/helpers/esm/inheritsLoose';
|
|
81
80
|
import './index-283bc6a6.js';
|
|
82
81
|
import '@babel/runtime/helpers/esm/assertThisInitialized';
|
|
83
|
-
import 'dayjs/plugin/customParseFormat';
|
|
84
82
|
import '@babel/runtime/helpers/toArray';
|
|
85
83
|
import '@babel/runtime/helpers/esm/classCallCheck';
|
|
86
84
|
import '@babel/runtime/helpers/esm/createClass';
|
|
@@ -88,8 +86,6 @@ import '@babel/runtime/helpers/esm/inherits';
|
|
|
88
86
|
import '@babel/runtime/helpers/esm/createSuper';
|
|
89
87
|
import '@babel/runtime/helpers/esm/taggedTemplateLiteral';
|
|
90
88
|
import '@babel/runtime/helpers/esm/typeof';
|
|
91
|
-
import '@wojtekmaj/react-timerange-picker';
|
|
92
|
-
import 'react-time-picker';
|
|
93
89
|
import 'react-toastify';
|
|
94
90
|
import 'linkify-react';
|
|
95
91
|
import 'antd/lib/tree-select';
|
package/dist/DatePicker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/TimePicker.js
CHANGED
|
@@ -23,7 +23,7 @@ import 'react-colorful';
|
|
|
23
23
|
import './tinycolor-282c618c.js';
|
|
24
24
|
import './Dropdown.js';
|
|
25
25
|
import './index-9040fef3.js';
|
|
26
|
-
export { T as default } from './index-
|
|
26
|
+
export { T as default } from './index-7862413e.js';
|
|
27
27
|
import './Input.js';
|
|
28
28
|
import './Label.js';
|
|
29
29
|
import './MultiEmailInput.js';
|
|
@@ -62,7 +62,6 @@ import 'react-drag-listview';
|
|
|
62
62
|
import './HeaderCellMenu-5ba3873f.js';
|
|
63
63
|
import 'react-resizable';
|
|
64
64
|
import './Tag.js';
|
|
65
|
-
import './TimePickerInput.js';
|
|
66
65
|
import './Toastr.js';
|
|
67
66
|
import 'i18next';
|
|
68
67
|
import 'antd/lib/tree';
|
|
@@ -80,7 +79,6 @@ import '@babel/runtime/helpers/esm/inheritsLoose';
|
|
|
80
79
|
import './index-283bc6a6.js';
|
|
81
80
|
import '@babel/runtime/helpers/esm/assertThisInitialized';
|
|
82
81
|
import 'antd/lib/date-picker';
|
|
83
|
-
import 'dayjs/plugin/customParseFormat';
|
|
84
82
|
import '@babel/runtime/helpers/toArray';
|
|
85
83
|
import '@babel/runtime/helpers/esm/classCallCheck';
|
|
86
84
|
import '@babel/runtime/helpers/esm/createClass';
|
|
@@ -88,8 +86,6 @@ import '@babel/runtime/helpers/esm/inherits';
|
|
|
88
86
|
import '@babel/runtime/helpers/esm/createSuper';
|
|
89
87
|
import '@babel/runtime/helpers/esm/taggedTemplateLiteral';
|
|
90
88
|
import '@babel/runtime/helpers/esm/typeof';
|
|
91
|
-
import '@wojtekmaj/react-timerange-picker';
|
|
92
|
-
import 'react-time-picker';
|
|
93
89
|
import 'react-toastify';
|
|
94
90
|
import 'linkify-react';
|
|
95
91
|
import 'antd/lib/tree-select';
|
package/dist/TimePicker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/DatePicker.js
CHANGED
|
@@ -25,7 +25,7 @@ require('react-colorful');
|
|
|
25
25
|
require('./tinycolor-b1e9a7b2.js');
|
|
26
26
|
require('./Dropdown.js');
|
|
27
27
|
require('./index-7a8fe498.js');
|
|
28
|
-
var DatePicker = require('./index-
|
|
28
|
+
var DatePicker = require('./index-e17b2a64.js');
|
|
29
29
|
require('./Input.js');
|
|
30
30
|
require('./Label.js');
|
|
31
31
|
require('./MultiEmailInput.js');
|
|
@@ -64,7 +64,6 @@ require('react-drag-listview');
|
|
|
64
64
|
require('./HeaderCellMenu-1eb017e2.js');
|
|
65
65
|
require('react-resizable');
|
|
66
66
|
require('./Tag.js');
|
|
67
|
-
require('./TimePickerInput.js');
|
|
68
67
|
require('./Toastr.js');
|
|
69
68
|
require('react-i18next');
|
|
70
69
|
require('i18next');
|
|
@@ -82,7 +81,6 @@ require('@babel/runtime/helpers/esm/objectWithoutPropertiesLoose');
|
|
|
82
81
|
require('@babel/runtime/helpers/esm/inheritsLoose');
|
|
83
82
|
require('./index-63580e68.js');
|
|
84
83
|
require('@babel/runtime/helpers/esm/assertThisInitialized');
|
|
85
|
-
require('dayjs/plugin/customParseFormat');
|
|
86
84
|
require('@babel/runtime/helpers/toArray');
|
|
87
85
|
require('@babel/runtime/helpers/esm/classCallCheck');
|
|
88
86
|
require('@babel/runtime/helpers/esm/createClass');
|
|
@@ -90,8 +88,6 @@ require('@babel/runtime/helpers/esm/inherits');
|
|
|
90
88
|
require('@babel/runtime/helpers/esm/createSuper');
|
|
91
89
|
require('@babel/runtime/helpers/esm/taggedTemplateLiteral');
|
|
92
90
|
require('@babel/runtime/helpers/esm/typeof');
|
|
93
|
-
require('@wojtekmaj/react-timerange-picker');
|
|
94
|
-
require('react-time-picker');
|
|
95
91
|
require('react-toastify');
|
|
96
92
|
require('linkify-react');
|
|
97
93
|
require('antd/lib/tree-select');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/TimePicker.js
CHANGED
|
@@ -25,7 +25,7 @@ require('react-colorful');
|
|
|
25
25
|
require('./tinycolor-b1e9a7b2.js');
|
|
26
26
|
require('./Dropdown.js');
|
|
27
27
|
require('./index-7a8fe498.js');
|
|
28
|
-
var DatePicker = require('./index-
|
|
28
|
+
var DatePicker = require('./index-e17b2a64.js');
|
|
29
29
|
require('./Input.js');
|
|
30
30
|
require('./Label.js');
|
|
31
31
|
require('./MultiEmailInput.js');
|
|
@@ -64,7 +64,6 @@ require('react-drag-listview');
|
|
|
64
64
|
require('./HeaderCellMenu-1eb017e2.js');
|
|
65
65
|
require('react-resizable');
|
|
66
66
|
require('./Tag.js');
|
|
67
|
-
require('./TimePickerInput.js');
|
|
68
67
|
require('./Toastr.js');
|
|
69
68
|
require('i18next');
|
|
70
69
|
require('antd/lib/tree');
|
|
@@ -82,7 +81,6 @@ require('@babel/runtime/helpers/esm/inheritsLoose');
|
|
|
82
81
|
require('./index-63580e68.js');
|
|
83
82
|
require('@babel/runtime/helpers/esm/assertThisInitialized');
|
|
84
83
|
require('antd/lib/date-picker');
|
|
85
|
-
require('dayjs/plugin/customParseFormat');
|
|
86
84
|
require('@babel/runtime/helpers/toArray');
|
|
87
85
|
require('@babel/runtime/helpers/esm/classCallCheck');
|
|
88
86
|
require('@babel/runtime/helpers/esm/createClass');
|
|
@@ -90,8 +88,6 @@ require('@babel/runtime/helpers/esm/inherits');
|
|
|
90
88
|
require('@babel/runtime/helpers/esm/createSuper');
|
|
91
89
|
require('@babel/runtime/helpers/esm/taggedTemplateLiteral');
|
|
92
90
|
require('@babel/runtime/helpers/esm/typeof');
|
|
93
|
-
require('@wojtekmaj/react-timerange-picker');
|
|
94
|
-
require('react-time-picker');
|
|
95
91
|
require('react-toastify');
|
|
96
92
|
require('linkify-react');
|
|
97
93
|
require('antd/lib/tree-select');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -24,20 +24,17 @@ require('@babel/runtime/regenerator');
|
|
|
24
24
|
require('react-colorful');
|
|
25
25
|
require('./tinycolor-b1e9a7b2.js');
|
|
26
26
|
require('./Dropdown.js');
|
|
27
|
-
var index
|
|
27
|
+
var index = require('./index-7a8fe498.js');
|
|
28
28
|
var _DatePicker = require('antd/lib/date-picker');
|
|
29
29
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
30
|
-
|
|
31
|
-
var customParseFormat = require('dayjs/plugin/customParseFormat');
|
|
30
|
+
require('./Input.js');
|
|
32
31
|
var Label = require('./Label.js');
|
|
33
|
-
|
|
34
|
-
var useId = require('./useId-4e3deb5c.js');
|
|
32
|
+
require('./MultiEmailInput.js');
|
|
35
33
|
require('react-router-dom');
|
|
34
|
+
var useId = require('./useId-4e3deb5c.js');
|
|
36
35
|
require('@bigbinary/neeto-hotkeys');
|
|
37
36
|
require('./overlayManager.js');
|
|
38
37
|
require('qs');
|
|
39
|
-
require('./Input.js');
|
|
40
|
-
require('./MultiEmailInput.js');
|
|
41
38
|
var Textarea = require('./Textarea-af523fdb.js');
|
|
42
39
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
43
40
|
require('./Pane.js');
|
|
@@ -82,8 +79,6 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
82
79
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
83
80
|
var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
|
|
84
81
|
var _DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(_DatePicker);
|
|
85
|
-
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
86
|
-
var customParseFormat__default = /*#__PURE__*/_interopDefaultLegacy(customParseFormat);
|
|
87
82
|
|
|
88
83
|
var IconOverride = function IconOverride(_ref) {
|
|
89
84
|
var Icon = _ref.icon;
|
|
@@ -95,13 +90,13 @@ var IconOverride = function IconOverride(_ref) {
|
|
|
95
90
|
}));
|
|
96
91
|
};
|
|
97
92
|
|
|
98
|
-
function ownKeys$
|
|
99
|
-
function _objectSpread$
|
|
93
|
+
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
94
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
100
95
|
var Provider = function Provider(_ref) {
|
|
101
96
|
var children = _ref.children;
|
|
102
97
|
return /*#__PURE__*/React__default["default"].createElement(_ConfigProvider__default["default"], {
|
|
103
98
|
theme: {
|
|
104
|
-
token: _objectSpread$
|
|
99
|
+
token: _objectSpread$2({}, index.ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES),
|
|
105
100
|
components: {
|
|
106
101
|
DatePicker: {
|
|
107
102
|
activeBg: "rgb(var(--neeto-ui-white))",
|
|
@@ -165,7 +160,7 @@ var Today = function Today(_ref) {
|
|
|
165
160
|
onClick: onClick,
|
|
166
161
|
className: "neeto-ui-rounded-md hover:neeto-ui-bg-gray-200 px-2 py-1 text-xs font-medium transition duration-300 ease-in-out",
|
|
167
162
|
"data-cy": "year-month-mode-today"
|
|
168
|
-
}, index
|
|
163
|
+
}, index.getLocale(i18n, t, "neetoui.datePicker.today")));
|
|
169
164
|
};
|
|
170
165
|
|
|
171
166
|
var getAllowedDate = function getAllowedDate(date, minDate, maxDate) {
|
|
@@ -192,8 +187,8 @@ var formattedString = function formattedString(date, dateFormat) {
|
|
|
192
187
|
};
|
|
193
188
|
|
|
194
189
|
var _excluded$1 = ["className", "label", "size", "dropdownClassName", "popupClassName", "dateFormat", "timeFormat", "placeholder", "onChange", "onOk", "picker", "mode", "showTime", "type", "nakedInput", "error", "defaultValue", "value", "labelProps", "required", "allowClear", "maxDate", "minDate", "timePickerProps", "timezone"];
|
|
195
|
-
function ownKeys$
|
|
196
|
-
function _objectSpread$
|
|
190
|
+
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
191
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
197
192
|
var INPUT_SIZES$1 = {
|
|
198
193
|
small: "small",
|
|
199
194
|
medium: "medium",
|
|
@@ -221,9 +216,9 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
221
216
|
timeFormat = _ref$timeFormat === void 0 ? "HH:mm:ss" : _ref$timeFormat,
|
|
222
217
|
placeholder = _ref.placeholder,
|
|
223
218
|
_ref$onChange = _ref.onChange,
|
|
224
|
-
onChange = _ref$onChange === void 0 ? index
|
|
219
|
+
onChange = _ref$onChange === void 0 ? index.noop : _ref$onChange,
|
|
225
220
|
_ref$onOk = _ref.onOk,
|
|
226
|
-
onOk = _ref$onOk === void 0 ? index
|
|
221
|
+
onOk = _ref$onOk === void 0 ? index.noop : _ref$onOk,
|
|
227
222
|
_ref$picker = _ref.picker,
|
|
228
223
|
picker = _ref$picker === void 0 ? "date" : _ref$picker,
|
|
229
224
|
_ref$mode = _ref.mode,
|
|
@@ -289,16 +284,16 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
289
284
|
};
|
|
290
285
|
return /*#__PURE__*/React__default["default"].createElement(Provider, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
291
286
|
className: "neeto-ui-input__wrapper"
|
|
292
|
-
}, label && /*#__PURE__*/React__default["default"].createElement(Label, _objectSpread$
|
|
287
|
+
}, label && /*#__PURE__*/React__default["default"].createElement(Label, _objectSpread$1({
|
|
293
288
|
required: required
|
|
294
289
|
}, labelProps), label), /*#__PURE__*/React__default["default"].createElement(Component, _extends__default["default"]({
|
|
295
|
-
"data-cy": label ? "".concat(index
|
|
290
|
+
"data-cy": label ? "".concat(index.hyphenize(label), "-input") : "picker-input",
|
|
296
291
|
placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : format,
|
|
297
292
|
ref: datePickerRef,
|
|
298
|
-
showTime: showTime && _objectSpread$
|
|
293
|
+
showTime: showTime && _objectSpread$1({
|
|
299
294
|
format: timeFormat
|
|
300
295
|
}, timePickerProps),
|
|
301
|
-
value: getAllowed(index
|
|
296
|
+
value: getAllowed(index.convertToDayjsObjects(value), minDate, maxDate),
|
|
302
297
|
className: classnames__default["default"]("neeto-ui-date-input", [className], {
|
|
303
298
|
"neeto-ui-date-input--small": size === "small",
|
|
304
299
|
"neeto-ui-date-input--medium": size === "medium",
|
|
@@ -307,12 +302,12 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
307
302
|
"neeto-ui-date-input--naked": nakedInput,
|
|
308
303
|
"neeto-ui-date-input--error": !!error
|
|
309
304
|
}),
|
|
310
|
-
defaultValue: getAllowed(index
|
|
305
|
+
defaultValue: getAllowed(index.convertToDayjsObjects(defaultValue), minDate, maxDate),
|
|
311
306
|
popupClassName: classnames__default["default"]("neeto-ui-date-time-dropdown", [dropdownClassName,
|
|
312
307
|
// Will be removed in the next major version
|
|
313
308
|
popupClassName]),
|
|
314
309
|
onChange: handleOnChange
|
|
315
|
-
}, _objectSpread$
|
|
310
|
+
}, _objectSpread$1(_objectSpread$1({
|
|
316
311
|
format: format,
|
|
317
312
|
maxDate: maxDate,
|
|
318
313
|
minDate: minDate,
|
|
@@ -352,149 +347,12 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
352
347
|
})
|
|
353
348
|
})), !!error && typeof error === "string" && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
354
349
|
className: "neeto-ui-input__error",
|
|
355
|
-
"data-cy": "".concat(index
|
|
350
|
+
"data-cy": "".concat(index.hyphenize(label), "-input-error"),
|
|
356
351
|
id: errorId
|
|
357
352
|
}, error)));
|
|
358
353
|
});
|
|
359
354
|
DatePicker.displayName = "DatePicker";
|
|
360
355
|
|
|
361
|
-
var DATE_FORMAT = "YYYY-MM-DD";
|
|
362
|
-
var TIME_FORMAT = "HH:mm";
|
|
363
|
-
var getDateTime = function getDateTime(date, time) {
|
|
364
|
-
if (neetoCist.isPresent(date) && neetoCist.isPresent(time)) {
|
|
365
|
-
return dayjs__default["default"]("".concat(date.format(DATE_FORMAT), " ").concat(time.format(TIME_FORMAT)));
|
|
366
|
-
}
|
|
367
|
-
return null;
|
|
368
|
-
};
|
|
369
|
-
var getAllowedTime = function getAllowedTime(date, time, minDateTime, maxDateTime) {
|
|
370
|
-
var newTime = getDateTime(date, time || dayjs__default["default"]());
|
|
371
|
-
if (neetoCist.isPresent(minDateTime) && date !== null && date !== void 0 && date.isSame(minDateTime, "day") && newTime !== null && newTime !== void 0 && newTime.isBefore(minDateTime)) {
|
|
372
|
-
return minDateTime;
|
|
373
|
-
}
|
|
374
|
-
if (neetoCist.isPresent(maxDateTime) && date !== null && date !== void 0 && date.isSame(maxDateTime, "day") && newTime !== null && newTime !== void 0 && newTime.isAfter(maxDateTime)) {
|
|
375
|
-
return maxDateTime;
|
|
376
|
-
}
|
|
377
|
-
return newTime;
|
|
378
|
-
};
|
|
379
|
-
var getTime = function getTime(date) {
|
|
380
|
-
return date === null || date === void 0 ? void 0 : date.format(TIME_FORMAT);
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
384
|
-
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
385
|
-
dayjs__default["default"].extend(customParseFormat__default["default"]);
|
|
386
|
-
var DateTimePicker = function DateTimePicker(_ref) {
|
|
387
|
-
var _ref$className = _ref.className,
|
|
388
|
-
className = _ref$className === void 0 ? "" : _ref$className,
|
|
389
|
-
_ref$label = _ref.label,
|
|
390
|
-
label = _ref$label === void 0 ? "" : _ref$label,
|
|
391
|
-
size = _ref.size,
|
|
392
|
-
dropdownClassName = _ref.dropdownClassName,
|
|
393
|
-
popupClassName = _ref.popupClassName,
|
|
394
|
-
dateFormat = _ref.dateFormat,
|
|
395
|
-
_ref$onChange = _ref.onChange,
|
|
396
|
-
onChange = _ref$onChange === void 0 ? index$1.noop : _ref$onChange,
|
|
397
|
-
_ref$nakedInput = _ref.nakedInput,
|
|
398
|
-
nakedInput = _ref$nakedInput === void 0 ? false : _ref$nakedInput,
|
|
399
|
-
_ref$error = _ref.error,
|
|
400
|
-
error = _ref$error === void 0 ? "" : _ref$error,
|
|
401
|
-
defaultValue = _ref.defaultValue,
|
|
402
|
-
value = _ref.value,
|
|
403
|
-
labelProps = _ref.labelProps,
|
|
404
|
-
_ref$required = _ref.required,
|
|
405
|
-
required = _ref$required === void 0 ? false : _ref$required,
|
|
406
|
-
id = _ref.id,
|
|
407
|
-
datePickerProps = _ref.datePickerProps,
|
|
408
|
-
timePickerProps = _ref.timePickerProps,
|
|
409
|
-
minDateTime = _ref.minDateTime,
|
|
410
|
-
maxDateTime = _ref.maxDateTime,
|
|
411
|
-
_ref$onTimeInputBlur = _ref.onTimeInputBlur,
|
|
412
|
-
onTimeInputBlur = _ref$onTimeInputBlur === void 0 ? index$1.noop : _ref$onTimeInputBlur,
|
|
413
|
-
_ref$onBlur = _ref.onBlur,
|
|
414
|
-
onBlur = _ref$onBlur === void 0 ? index$1.noop : _ref$onBlur;
|
|
415
|
-
var _useState = React.useState(null),
|
|
416
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
417
|
-
date = _useState2[0],
|
|
418
|
-
setDate = _useState2[1];
|
|
419
|
-
var _useState3 = React.useState(null),
|
|
420
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
421
|
-
time = _useState4[0],
|
|
422
|
-
setTime = _useState4[1];
|
|
423
|
-
var _useState5 = React.useState(),
|
|
424
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
425
|
-
changedField = _useState6[0],
|
|
426
|
-
setChangedField = _useState6[1];
|
|
427
|
-
var timeRef = React__default["default"].useRef(null);
|
|
428
|
-
var defaultId = useId.useId(id);
|
|
429
|
-
var errorId = "error_".concat(defaultId);
|
|
430
|
-
React.useEffect(function () {
|
|
431
|
-
var inputValue = value || defaultValue;
|
|
432
|
-
if (neetoCist.isNotPresent(inputValue)) {
|
|
433
|
-
setDate(null);
|
|
434
|
-
setTime(null);
|
|
435
|
-
return;
|
|
436
|
-
}
|
|
437
|
-
if (dayjs__default["default"](inputValue).isValid()) {
|
|
438
|
-
var dateTime = dayjs__default["default"].isDayjs(inputValue) ? inputValue : dayjs__default["default"](inputValue);
|
|
439
|
-
setDate(dateTime);
|
|
440
|
-
setTime(dateTime);
|
|
441
|
-
}
|
|
442
|
-
}, [value, defaultValue]);
|
|
443
|
-
React.useEffect(function () {
|
|
444
|
-
if (neetoCist.isNotPresent(changedField)) return;
|
|
445
|
-
onChange(getDateTime(date, time), changedField);
|
|
446
|
-
setChangedField(); // reset to avoid unnecessary trigger on rerender
|
|
447
|
-
}, [date, time, changedField]);
|
|
448
|
-
var handleDateChange = function handleDateChange(newDate) {
|
|
449
|
-
var _timeRef$current;
|
|
450
|
-
(_timeRef$current = timeRef.current) === null || _timeRef$current === void 0 || (_timeRef$current = _timeRef$current.querySelector(".react-time-picker__inputGroup__hour")) === null || _timeRef$current === void 0 || _timeRef$current.focus();
|
|
451
|
-
setDate(newDate);
|
|
452
|
-
setTime(getAllowedTime(newDate, time, minDateTime, maxDateTime));
|
|
453
|
-
setChangedField("date");
|
|
454
|
-
};
|
|
455
|
-
var handleTimeChange = function handleTimeChange(newTime) {
|
|
456
|
-
setTime(newTime.isValid() ? newTime : null);
|
|
457
|
-
if (newTime.isValid() && !date) setDate(newTime);
|
|
458
|
-
setChangedField("time");
|
|
459
|
-
};
|
|
460
|
-
var handleTimeBlur = function handleTimeBlur() {
|
|
461
|
-
var dateTime = getDateTime(date, time);
|
|
462
|
-
onTimeInputBlur(dateTime);
|
|
463
|
-
onBlur(dateTime);
|
|
464
|
-
};
|
|
465
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
466
|
-
className: "neeto-ui-input__wrapper"
|
|
467
|
-
}, label && /*#__PURE__*/React__default["default"].createElement(Label, _objectSpread$1({
|
|
468
|
-
required: required
|
|
469
|
-
}, labelProps), label), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
470
|
-
className: classnames__default["default"]("neeto-ui-date-time-input", className)
|
|
471
|
-
}, /*#__PURE__*/React__default["default"].createElement(DatePicker, _extends__default["default"]({
|
|
472
|
-
dateFormat: dateFormat,
|
|
473
|
-
dropdownClassName: dropdownClassName,
|
|
474
|
-
nakedInput: nakedInput,
|
|
475
|
-
popupClassName: popupClassName,
|
|
476
|
-
size: size,
|
|
477
|
-
error: !!error,
|
|
478
|
-
maxDate: maxDateTime,
|
|
479
|
-
minDate: minDateTime,
|
|
480
|
-
picker: "date",
|
|
481
|
-
showTime: false,
|
|
482
|
-
type: "date",
|
|
483
|
-
value: date,
|
|
484
|
-
onChange: handleDateChange
|
|
485
|
-
}, datePickerProps)), /*#__PURE__*/React__default["default"].createElement(TimePickerInput, _extends__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
486
|
-
error: error,
|
|
487
|
-
nakedInput: nakedInput,
|
|
488
|
-
size: size
|
|
489
|
-
}, "error", !!error), "maxTime", (date === null || date === void 0 ? void 0 : date.isSame(maxDateTime, "day")) && getTime(maxDateTime)), "minTime", (date === null || date === void 0 ? void 0 : date.isSame(minDateTime, "day")) && getTime(minDateTime)), "ref", timeRef), "value", time), "onBlur", handleTimeBlur), "onChange", handleTimeChange), timePickerProps))), !!error && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
490
|
-
className: "neeto-ui-input__error",
|
|
491
|
-
"data-cy": "".concat(index$1.hyphenize(label), "-input-error"),
|
|
492
|
-
id: errorId
|
|
493
|
-
}, error));
|
|
494
|
-
};
|
|
495
|
-
DateTimePicker.displayName = "DateTimePicker";
|
|
496
|
-
var index = /*#__PURE__*/React__default["default"].memo(DateTimePicker);
|
|
497
|
-
|
|
498
356
|
var RangePicker = _DatePicker__default["default"].RangePicker;
|
|
499
357
|
var TIME_PICKER_TYPES = {
|
|
500
358
|
range: RangePicker,
|
|
@@ -530,7 +388,7 @@ var TimePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
530
388
|
_ref$interval = _ref.interval,
|
|
531
389
|
interval = _ref$interval === void 0 ? TIME_PICKER_INTERVAL : _ref$interval,
|
|
532
390
|
_ref$onChange = _ref.onChange,
|
|
533
|
-
onChange = _ref$onChange === void 0 ? index
|
|
391
|
+
onChange = _ref$onChange === void 0 ? index.noop : _ref$onChange,
|
|
534
392
|
_ref$type = _ref.type,
|
|
535
393
|
type = _ref$type === void 0 ? "time" : _ref$type,
|
|
536
394
|
_ref$nakedInput = _ref.nakedInput,
|
|
@@ -576,17 +434,17 @@ var TimePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
576
434
|
className: "neeto-ui-date-input-custom-panel__header-cols"
|
|
577
435
|
}, showTimeLabels.hour && /*#__PURE__*/React__default["default"].createElement("li", {
|
|
578
436
|
className: "neeto-ui-date-input-custom-panel__header-col"
|
|
579
|
-
}, index
|
|
437
|
+
}, index.getLocale(i18n, t, "neetoui.timePicker.hours")), showTimeLabels.minute && /*#__PURE__*/React__default["default"].createElement("li", {
|
|
580
438
|
className: "neeto-ui-date-input-custom-panel__header-col"
|
|
581
|
-
}, index
|
|
439
|
+
}, index.getLocale(i18n, t, "neetoui.timePicker.minutes")), showTimeLabels.second && /*#__PURE__*/React__default["default"].createElement("li", {
|
|
582
440
|
className: "neeto-ui-date-input-custom-panel__header-col"
|
|
583
|
-
}, index
|
|
441
|
+
}, index.getLocale(i18n, t, "neetoui.timePicker.seconds")))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
584
442
|
className: "neeto-ui-date-input-custom-panel__body"
|
|
585
443
|
}, originalPanel));
|
|
586
444
|
};
|
|
587
445
|
return /*#__PURE__*/React__default["default"].createElement(_ConfigProvider__default["default"], {
|
|
588
446
|
theme: {
|
|
589
|
-
token: _objectSpread({}, index
|
|
447
|
+
token: _objectSpread({}, index.ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES),
|
|
590
448
|
components: {
|
|
591
449
|
DatePicker: {
|
|
592
450
|
// Global overrides
|
|
@@ -632,11 +490,11 @@ var TimePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
632
490
|
}, otherProps), {}, {
|
|
633
491
|
panelRender: panelRender
|
|
634
492
|
}), {
|
|
635
|
-
defaultValue: index
|
|
493
|
+
defaultValue: index.convertToDayjsObjects(defaultValue),
|
|
636
494
|
mode: undefined,
|
|
637
495
|
picker: "time",
|
|
638
496
|
placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : format,
|
|
639
|
-
value: index
|
|
497
|
+
value: index.convertToDayjsObjects(value),
|
|
640
498
|
suffixIcon: timezone ? /*#__PURE__*/React__default["default"].createElement(Tag, {
|
|
641
499
|
label: timezone
|
|
642
500
|
}) : /*#__PURE__*/React__default["default"].createElement(neetoIcons.Clock, {
|
|
@@ -644,7 +502,7 @@ var TimePicker = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
644
502
|
})
|
|
645
503
|
})), !!error && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
646
504
|
className: "neeto-ui-input__error",
|
|
647
|
-
"data-cy": "".concat(index
|
|
505
|
+
"data-cy": "".concat(index.hyphenize(label), "-input-error"),
|
|
648
506
|
id: errorId
|
|
649
507
|
}, error)));
|
|
650
508
|
});
|
|
@@ -652,5 +510,4 @@ TimePicker.displayName = "TimePicker";
|
|
|
652
510
|
|
|
653
511
|
exports.DatePicker = DatePicker;
|
|
654
512
|
exports.TimePicker = TimePicker;
|
|
655
|
-
|
|
656
|
-
//# sourceMappingURL=index-e2dbc0bd.js.map
|
|
513
|
+
//# sourceMappingURL=index-e17b2a64.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-e17b2a64.js","sources":["../../src/components/DatePicker/IconOverride.jsx","../../src/components/DatePicker/Provider.jsx","../../src/components/DatePicker/Today.jsx","../../src/components/DatePicker/utils.js","../../src/components/DatePicker/index.jsx","../../src/components/TimePicker/constants.js","../../src/components/TimePicker/index.jsx"],"sourcesContent":["import React from \"react\";\n\nconst IconOverride = ({ icon: Icon }) => (\n <span className=\"neeto-ui-btn neeto-ui-btn--style-text neeto-ui-btn--size-medium neeto-ui-btn--icon-only\">\n <Icon className=\"neeto-ui-btn__icon\" size={20} />\n </span>\n);\n\nexport default IconOverride;\n","import React from \"react\";\n\nimport { ConfigProvider } from \"antd\";\n\nimport { ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from \"utils\";\n\nconst Provider = ({ children }) => (\n <ConfigProvider\n theme={{\n token: { ...ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES },\n components: {\n DatePicker: {\n activeBg: \"rgb(var(--neeto-ui-white))\",\n activeBorderColor: \"rgb(var(--neeto-ui-primary-500))\",\n addonBg: \"rgb(var(--neeto-ui-gray-100))\",\n cellActiveWithRangeBg: \"rgb(var(--neeto-ui-primary-100))\",\n cellBgDisabled: \"rgb(var(--neeto-ui-gray-100))\",\n cellHoverBg: \"rgb(var(--neeto-ui-gray-200))\",\n cellHoverWithRangeBg: \"rgb(var(--neeto-ui-primary-100))\",\n cellRangeBorderColor: \"rgb(var(--neeto-ui-primary-100))\",\n hoverBg: \"rgb(var(--neeto-ui-white))\",\n hoverBorderColor: \"rgb(var(--neeto-ui-primary-500))\",\n\n // Global overrides\n colorBgContainer: \"rgb(var(--neeto-ui-white))\",\n colorBgElevated: \"rgb(var(--neeto-ui-white))\",\n colorPrimary: \"rgb(var(--neeto-ui-primary-500))\",\n colorPrimaryBorder: \"rgb(var(--neeto-ui-primary-100))\",\n colorPrimaryHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorBorder: \"rgb(var(--neeto-ui-gray-300))\",\n colorError: \"rgb(var(--neeto-ui-error-500))\",\n colorErrorHover: \"rgb(var(--neeto-ui-error-600))\",\n colorErrorOutline: \"rgb(var(--neeto-ui-error-100))\",\n colorFillAlter: \"rgb(var(--neeto-ui-gray-100))\",\n colorIcon: \"rgb(var(--neeto-ui-gray-700))\",\n colorIconHover: \"rgb(var(--neeto-ui-gray-800))\",\n colorLink: \"rgb(var(--neeto-ui-primary-500))\",\n colorLinkHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorLinkActive: \"rgb(var(--neeto-ui-primary-800))\",\n colorSplit: \"rgb(var(--neeto-ui-gray-200))\",\n colorText: \"rgb(var(--neeto-ui-gray-800))\",\n colorTextDescription: \"rgb(var(--neeto-ui-gray-700))\",\n colorTextDisabled: \"rgb(var(--neeto-ui-gray-500))\",\n colorTextHeading: \"rgb(var(--neeto-ui-black))\",\n colorTextLightSolid: \"rgb(var(--neeto-ui-white))\",\n colorTextPlaceholder: \"rgb(var(--neeto-ui-gray-400))\",\n colorTextQuaternary: \"rgb(var(--neeto-ui-gray-400))\",\n colorWarning: \"rgb(var(--neeto-ui-warning-500))\",\n colorWarningHover: \"rgb(var(--neeto-ui-warning-600))\",\n colorWarningOutline: \"rgb(var(--neeto-ui-warning-100))\",\n controlItemBgActive: \"rgb(var(--neeto-ui-pastel-purple))\",\n controlItemBgHover: \"rgb(var(--neeto-ui-gray-100))\",\n controlOutline: \"rgb(var(--neeto-ui-gray-300))\",\n\n // Sizes\n cellHeight: 32,\n padding: 22,\n },\n },\n }}\n >\n {children}\n </ConfigProvider>\n);\n\nexport default Provider;\n","/* eslint-disable @bigbinary/neeto/no-dumb-components-with-use-translation */\nimport React from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { getLocale } from \"utils\";\n\nconst Today = ({ onClick }) => {\n const { t, i18n } = useTranslation();\n\n return (\n <div className=\"text-center\">\n <button\n {...{ onClick }}\n className=\"neeto-ui-rounded-md hover:neeto-ui-bg-gray-200 px-2 py-1 text-xs font-medium transition duration-300 ease-in-out\"\n data-cy=\"year-month-mode-today\"\n >\n {getLocale(i18n, t, \"neetoui.datePicker.today\")}\n </button>\n </div>\n );\n};\n\nexport default Today;\n","import { isPresent } from \"neetocist\";\n\nconst getAllowedDate = (date, minDate, maxDate) => {\n if (isPresent(minDate) && date?.isBefore(minDate)) {\n return minDate;\n }\n\n if (isPresent(maxDate) && date?.isAfter(maxDate)) {\n return maxDate;\n }\n\n return date;\n};\n\nconst getAllowedRange = (dates, minDate, maxDate) =>\n dates.map(item => getAllowedDate(item, minDate, maxDate));\n\nconst getAllowed = (date, minDate, maxDate) =>\n (Array.isArray(date) ? getAllowedRange : getAllowedDate)(\n date,\n minDate,\n maxDate\n );\n\nconst formattedString = (date, dateFormat) =>\n Array.isArray(date)\n ? date.map(item => item?.format(dateFormat))\n : date?.format(dateFormat);\n\nexport { getAllowed, formattedString };\n","import React, { forwardRef, useState, useEffect } from \"react\";\n\nimport { DatePicker as AntDatePicker } from \"antd\";\nimport classnames from \"classnames\";\nimport { isNotPresent } from \"neetocist\";\nimport { Left, Right, Calendar, Close } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\n\nimport { Tag } from \"components\";\nimport Label from \"components/Label\";\nimport { useSyncedRef, useId } from \"hooks\";\nimport { convertToDayjsObjects, noop, hyphenize } from \"utils\";\n\nimport IconOverride from \"./IconOverride\";\nimport Provider from \"./Provider\";\nimport Today from \"./Today\";\nimport { getAllowed, formattedString } from \"./utils\";\n\nconst INPUT_SIZES = { small: \"small\", medium: \"medium\", large: \"large\" };\n\nconst { RangePicker } = AntDatePicker;\n\nconst datePickerTypes = { range: RangePicker, date: AntDatePicker };\n\nconst DatePicker = forwardRef(\n (\n {\n className = \"\",\n label = \"\",\n size = INPUT_SIZES.medium,\n dropdownClassName = \"\",\n popupClassName = \"\",\n dateFormat = \"DD/MM/YYYY\",\n timeFormat = \"HH:mm:ss\",\n placeholder,\n onChange = noop,\n onOk = noop,\n picker = \"date\",\n mode: inputMode = \"date\",\n showTime = false,\n type = \"date\",\n nakedInput = false,\n error = \"\",\n defaultValue,\n value: inputValue,\n labelProps,\n required = false,\n allowClear = true,\n maxDate,\n minDate,\n timePickerProps,\n timezone,\n ...otherProps\n },\n ref\n ) => {\n const [value, setValue] = useState(inputValue);\n const [mode, setMode] = useState(inputMode);\n const [pickerValue, setPickerValue] = useState();\n const id = useId(otherProps.id);\n const datePickerRef = useSyncedRef(ref);\n\n const Component = datePickerTypes[type?.toLowerCase()];\n const format = showTime ? `${dateFormat} ${timeFormat}` : dateFormat;\n\n const errorId = `error_${id}`;\n\n useEffect(() => {\n setValue(inputValue);\n }, [inputValue]);\n\n const handleOnChange = (date, dateString) => {\n if (type === \"range\" && isNotPresent(date)) {\n return onChange([], dateString);\n }\n const allowed = getAllowed(date, minDate, maxDate);\n setValue(allowed);\n\n return onChange(allowed, formattedString(allowed, dateFormat));\n };\n\n const renderExtraFooter = () => {\n if (type === \"range\" || mode === \"date\") return null;\n\n return (\n <Today\n onClick={() => {\n setMode(\"date\");\n setTimeout(() => {\n document.querySelector(\".ant-picker-now-btn\").click();\n });\n }}\n />\n );\n };\n\n return (\n <Provider>\n <div className=\"neeto-ui-input__wrapper\">\n {label && <Label {...{ required, ...labelProps }}>{label}</Label>}\n <Component\n data-cy={label ? `${hyphenize(label)}-input` : \"picker-input\"}\n placeholder={placeholder ?? format}\n ref={datePickerRef}\n showTime={showTime && { format: timeFormat, ...timePickerProps }}\n value={getAllowed(convertToDayjsObjects(value), minDate, maxDate)}\n className={classnames(\"neeto-ui-date-input\", [className], {\n \"neeto-ui-date-input--small\": size === \"small\",\n \"neeto-ui-date-input--medium\": size === \"medium\",\n \"neeto-ui-date-input--large\": size === \"large\",\n \"neeto-ui-date-input--disabled\": otherProps.disabled,\n \"neeto-ui-date-input--naked\": nakedInput,\n \"neeto-ui-date-input--error\": !!error,\n })}\n defaultValue={getAllowed(\n convertToDayjsObjects(defaultValue),\n minDate,\n maxDate\n )}\n popupClassName={classnames(\"neeto-ui-date-time-dropdown\", [\n dropdownClassName, // Will be removed in the next major version\n popupClassName,\n ])}\n onChange={handleOnChange}\n {...{\n format,\n maxDate,\n minDate,\n onOk,\n picker,\n ...otherProps,\n ...(type === \"date\" && {\n mode,\n pickerValue,\n renderExtraFooter,\n onPanelChange: (pickerValue, mode) => {\n setPickerValue(pickerValue);\n setMode(mode);\n },\n }),\n }}\n nextIcon={<IconOverride icon={Right} />}\n prevIcon={<IconOverride icon={Left} />}\n superNextIcon={<IconOverride icon={Right} />}\n superPrevIcon={<IconOverride icon={Left} />}\n allowClear={\n allowClear && {\n clearIcon: <Close data-cy=\"date-time-clear-icon\" size={16} />,\n }\n }\n suffixIcon={\n timezone ? <Tag label={timezone} /> : <Calendar size={16} />\n }\n />\n {!!error && typeof error === \"string\" && (\n <p\n className=\"neeto-ui-input__error\"\n data-cy={`${hyphenize(label)}-input-error`}\n id={errorId}\n >\n {error}\n </p>\n )}\n </div>\n </Provider>\n );\n }\n);\n\nDatePicker.displayName = \"DatePicker\";\n\nDatePicker.propTypes = {\n /**\n * To provide external classnames to DatePicker component.\n */\n className: PropTypes.string,\n /**\n * To set the text to be displayed above the DatePicker.\n */\n label: PropTypes.string,\n /**\n * To specify the label props to be passed to the Label component.\n */\n labelProps: PropTypes.object,\n /**\n * To set the size of the DatePicker.\n */\n size: PropTypes.oneOf(Object.values(INPUT_SIZES)),\n /**\n * To set the DatePicker as naked Input field.\n */\n nakedInput: PropTypes.bool,\n /**\n * To specify the error message to be shown in the DatePicker.\n */\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n /**\n * To set DatePicker as disabled.\n */\n disabled: PropTypes.bool,\n /**\n * To specify custom classnames to be applied to the DatePicker dropdown.\n */\n dropdownClassName: PropTypes.string,\n /**\n * To specify the date format.\n */\n dateFormat: PropTypes.string,\n /**\n * To specify the time format.\n */\n timeFormat: PropTypes.string,\n /**\n * To specify the placeholder text for the DatePicker, if not provided, the format will be used as placeholder.\n */\n placeholder: PropTypes.string,\n /**\n * To specify props to be passed to the time picker.\n */\n timePickerProps: PropTypes.object,\n /**\n * To specify the timezone.\n */\n timezone: PropTypes.string,\n /**\n * For `DateInput`,(date, dateString) => {} <br />\n * For `DateRange`, (date, [startDate, endDate]) => {}\n */\n onChange: PropTypes.func,\n /**\n * Callback function which will be invoked when ok button is clicked in DateInput\n */\n onOk: PropTypes.func,\n /**\n * To specify the type of the picker.\n */\n picker: PropTypes.oneOf([\"date\", \"week\", \"month\", \"quarter\", \"year\"]),\n /**\n * To show time picker\n */\n showTime: PropTypes.bool,\n /**\n * To specify the type of the DatePicker.\n */\n type: PropTypes.oneOf(Object.keys(datePickerTypes)),\n /**\n * To specify the values to be displayed inside the DatePicker.\n */\n value: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify the default values to be displayed inside the DatePicker.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify whether the Date picker is required or not.\n */\n required: PropTypes.bool,\n /**\n * To specify whether the Date picker value can be cleared or not.\n */\n allowClear: PropTypes.bool,\n /**\n * To specify the minimum date of the DatePicker.\n */\n minDate: PropTypes.object,\n /**\n * To specify the maximum date of the DatePicker.\n */\n maxDate: PropTypes.object,\n};\n\nexport default DatePicker;\n","import { DatePicker as AntTimePicker } from \"antd\";\n\nconst { RangePicker } = AntTimePicker;\n\nexport const TIME_PICKER_TYPES = {\n range: RangePicker,\n time: AntTimePicker,\n};\n","import React, { forwardRef } from \"react\";\n\nimport { ConfigProvider } from \"antd\";\nimport classnames from \"classnames\";\nimport { Clock } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { Tag } from \"components\";\nimport Label from \"components/Label\";\nimport { useSyncedRef, useId } from \"hooks\";\nimport {\n convertToDayjsObjects,\n noop,\n hyphenize,\n ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES,\n getLocale,\n} from \"utils\";\n\nimport { TIME_PICKER_TYPES } from \"./constants\";\n\nconst INPUT_SIZES = { small: \"small\", medium: \"medium\", large: \"large\" };\n\nconst TIME_PICKER_INTERVAL = {\n hourStep: 1,\n minuteStep: 1,\n secondStep: 1,\n};\n\nconst TimePicker = forwardRef(\n (\n {\n className = \"\",\n label = \"\",\n size = INPUT_SIZES.medium,\n dropdownClassName = \"\",\n popupClassName = \"\",\n format = \"HH:mm:ss\",\n interval = TIME_PICKER_INTERVAL,\n onChange = noop,\n type = \"time\",\n nakedInput = false,\n disabled = false,\n error = \"\",\n defaultValue,\n value,\n labelProps,\n required = false,\n placeholder,\n timezone,\n ...otherProps\n },\n ref\n ) => {\n const { t, i18n } = useTranslation();\n const id = useId(otherProps.id);\n const timePickerRef = useSyncedRef(ref);\n\n const Component = TIME_PICKER_TYPES[type.toLowerCase()];\n\n const errorId = `error_${id}`;\n\n const showTimeLabels = {};\n if (format.includes(\"s\")) {\n showTimeLabels.second = true;\n }\n\n if (format.includes(\"m\")) {\n showTimeLabels.minute = true;\n }\n\n if (format.includes(\"H\") || format.includes(\"h\")) {\n showTimeLabels.hour = true;\n }\n\n const handleOnChange = (time, timeString) => {\n type === \"range\" && !time\n ? onChange([], timeString)\n : onChange(time, timeString);\n };\n\n const panelRender = originalPanel => (\n <div className=\"neeto-ui-date-input-custom-panel\">\n <div className=\"neeto-ui-date-input-custom-panel__header\">\n <ul className=\"neeto-ui-date-input-custom-panel__header-cols\">\n {showTimeLabels.hour && (\n <li className=\"neeto-ui-date-input-custom-panel__header-col\">\n {getLocale(i18n, t, \"neetoui.timePicker.hours\")}\n </li>\n )}\n {showTimeLabels.minute && (\n <li className=\"neeto-ui-date-input-custom-panel__header-col\">\n {getLocale(i18n, t, \"neetoui.timePicker.minutes\")}\n </li>\n )}\n {showTimeLabels.second && (\n <li className=\"neeto-ui-date-input-custom-panel__header-col\">\n {getLocale(i18n, t, \"neetoui.timePicker.seconds\")}\n </li>\n )}\n </ul>\n </div>\n <div className=\"neeto-ui-date-input-custom-panel__body\">\n {originalPanel}\n </div>\n </div>\n );\n\n return (\n <ConfigProvider\n theme={{\n token: { ...ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES },\n components: {\n DatePicker: {\n // Global overrides\n colorBgElevated: \"rgb(var(--neeto-ui-white))\",\n colorPrimary: \"rgb(var(--neeto-ui-primary-500))\",\n colorPrimaryHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorBorder: \"rgb(var(--neeto-ui-gray-300))\",\n colorLink: \"rgb(var(--neeto-ui-primary-500))\",\n colorLinkHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorText: \"rgb(var(--neeto-ui-gray-800))\",\n colorTextDisabled: \"rgb(var(--neeto-ui-gray-500))\",\n colorTextPlaceholder: \"rgb(var(--neeto-ui-gray-400))\",\n controlItemBgActive: \"rgb(var(--neeto-ui-primary-800))\",\n controlItemBgHover: \"rgb(var(--neeto-ui-gray-100))\",\n controlOutline: \"rgb(var(--neeto-ui-gray-300))\",\n },\n },\n }}\n >\n <div className=\"neeto-ui-input__wrapper\">\n {label && <Label {...{ required, ...labelProps }}>{label}</Label>}\n <Component\n hourStep={interval.hourStep}\n minuteStep={interval.minuteStep}\n ref={timePickerRef}\n secondStep={interval.secondStep}\n className={classnames(\"neeto-ui-time-input\", [className], {\n \"neeto-ui-time-input--small\": size === \"small\",\n \"neeto-ui-time-input--medium\": size === \"medium\",\n \"neeto-ui-time-input--large\": size === \"large\",\n \"neeto-ui-time-input--disabled\": disabled,\n \"neeto-ui-time-input--naked\": nakedInput,\n \"neeto-ui-time-input--error\": error,\n })}\n popupClassName={classnames(\"neeto-ui-date-time-dropdown\", [\n dropdownClassName, // Will be removed in the next major version\n popupClassName,\n ])}\n onChange={handleOnChange}\n {...{ disabled, format, ...otherProps, panelRender }}\n defaultValue={convertToDayjsObjects(defaultValue)}\n mode={undefined}\n picker=\"time\"\n placeholder={placeholder ?? format}\n value={convertToDayjsObjects(value)}\n suffixIcon={\n timezone ? <Tag label={timezone} /> : <Clock size={16} />\n }\n />\n {!!error && (\n <p\n className=\"neeto-ui-input__error\"\n data-cy={`${hyphenize(label)}-input-error`}\n id={errorId}\n >\n {error}\n </p>\n )}\n </div>\n </ConfigProvider>\n );\n }\n);\n\nTimePicker.displayName = \"TimePicker\";\n\nTimePicker.propTypes = {\n /**\n * To provide external classnames to TimePicker component.\n */\n className: PropTypes.string,\n /**\n * To set the text to be displayed above the TimePicker.\n */\n label: PropTypes.string,\n /**\n * To specify the label props to be passed to the Label component.\n */\n labelProps: PropTypes.object,\n /**\n * To set the size of the TimePicker.\n */\n size: PropTypes.oneOf(Object.values(INPUT_SIZES)),\n /**\n * To set the TimePicker as naked Input field.\n */\n nakedInput: PropTypes.bool,\n /**\n * To specify the error message to be shown in the TimePicker.\n */\n error: PropTypes.string,\n /**\n * To specify the time format.\n */\n format: PropTypes.string,\n /**\n * To specify the timezone.\n */\n timezone: PropTypes.string,\n /**\n * To set the placeholder text for the TimePicker, if not provided, the format will be used as placeholder.\n */\n placeholder: PropTypes.string,\n /**\n * To specify the time interval.\n */\n interval: PropTypes.object,\n /**\n * For `TimeInput`,(time, timeString) => {} <br />\n * For `TimeRange`, (time, [startTime, endTime]) => {}\n */\n onChange: PropTypes.func,\n /**\n * To specify the type of the TimePicker.\n */\n type: PropTypes.oneOf([\"time\", \"range\"]),\n /**\n * To set TimePicker as disabled.\n */\n disabled: PropTypes.bool,\n /**\n * To specify the values to be displayed inside the TimePicker.\n */\n value: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify custom classnames to be applied to the TimePicker dropdown.\n */\n dropdownClassName: PropTypes.string,\n /**\n * To specify the default values to be displayed inside the TimePicker.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify whether the Time picker is required or not.\n */\n required: PropTypes.bool,\n};\n\nexport default TimePicker;\n"],"names":["IconOverride","_ref","Icon","icon","React","createElement","className","size","Provider","children","_ConfigProvider","theme","token","_objectSpread","ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES","components","DatePicker","activeBg","activeBorderColor","addonBg","cellActiveWithRangeBg","cellBgDisabled","cellHoverBg","cellHoverWithRangeBg","cellRangeBorderColor","hoverBg","hoverBorderColor","colorBgContainer","colorBgElevated","colorPrimary","colorPrimaryBorder","colorPrimaryHover","colorBorder","colorError","colorErrorHover","colorErrorOutline","colorFillAlter","colorIcon","colorIconHover","colorLink","colorLinkHover","colorLinkActive","colorSplit","colorText","colorTextDescription","colorTextDisabled","colorTextHeading","colorTextLightSolid","colorTextPlaceholder","colorTextQuaternary","colorWarning","colorWarningHover","colorWarningOutline","controlItemBgActive","controlItemBgHover","controlOutline","cellHeight","padding","Today","onClick","_useTranslation","useTranslation","t","i18n","getLocale","getAllowedDate","date","minDate","maxDate","isPresent","isBefore","isAfter","getAllowedRange","dates","map","item","getAllowed","Array","isArray","formattedString","dateFormat","format","INPUT_SIZES","small","medium","large","RangePicker","_DatePicker","datePickerTypes","range","forwardRef","ref","_ref$className","_ref$label","label","_ref$size","_ref$dropdownClassNam","dropdownClassName","_ref$popupClassName","popupClassName","_ref$dateFormat","_ref$timeFormat","timeFormat","placeholder","_ref$onChange","onChange","noop","_ref$onOk","onOk","_ref$picker","picker","_ref$mode","mode","inputMode","_ref$showTime","showTime","_ref$type","type","_ref$nakedInput","nakedInput","_ref$error","error","defaultValue","inputValue","value","labelProps","_ref$required","required","_ref$allowClear","allowClear","timePickerProps","timezone","otherProps","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","setValue","_useState3","_useState4","setMode","_useState5","_useState6","pickerValue","setPickerValue","id","useId","datePickerRef","useSyncedRef","Component","toLowerCase","concat","errorId","useEffect","handleOnChange","dateString","isNotPresent","allowed","renderExtraFooter","setTimeout","document","querySelector","click","Label","_extends","hyphenize","convertToDayjsObjects","classnames","disabled","onPanelChange","nextIcon","Right","prevIcon","Left","superNextIcon","superPrevIcon","clearIcon","Close","suffixIcon","Tag","Calendar","displayName","TIME_PICKER_TYPES","time","TIME_PICKER_INTERVAL","hourStep","minuteStep","secondStep","TimePicker","_ref$format","_ref$interval","interval","_ref$disabled","timePickerRef","showTimeLabels","includes","second","minute","hour","timeString","panelRender","originalPanel","undefined","Clock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAYC,IAAI,GAAAD,IAAA,CAAVE,IAAI,CAAA;EAAA,oBAC1BC,yBAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AAAMC,IAAAA,SAAS,EAAC,yFAAA;AAAyF,GAAA,eACvGF,yBAAA,CAAAC,aAAA,CAACH,IAAI,EAAA;AAACI,IAAAA,SAAS,EAAC,oBAAoB;AAACC,IAAAA,IAAI,EAAE,EAAA;AAAG,GAAA,CAAG,CAC5C,CAAA;AAAA,CACR;;;;ACAD,IAAMC,QAAQ,GAAG,SAAXA,QAAQA,CAAAP,IAAA,EAAA;AAAA,EAAA,IAAMQ,QAAQ,GAAAR,IAAA,CAARQ,QAAQ,CAAA;AAAA,EAAA,oBAC1BL,yBAAA,CAAAC,aAAA,CAAAK,mCAAA,EAAA;AACEC,IAAAA,KAAK,EAAE;AACLC,MAAAA,KAAK,EAAAC,eAAA,CAAOC,EAAAA,EAAAA,uCAAiC,CAAE;AAC/CC,MAAAA,UAAU,EAAE;AACVC,QAAAA,UAAU,EAAE;AACVC,UAAAA,QAAQ,EAAE,4BAA4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