@luminati-io/uikit 6.3.2-beta.0 → 6.3.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -253,35 +253,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
253
253
|
/* harmony import */ var _support_svg__WEBPACK_IMPORTED_MODULE_228__ = __webpack_require__(/*! ./support.svg */ "./assets/icons/support.svg");
|
254
254
|
/* harmony import */ var _switch_svg__WEBPACK_IMPORTED_MODULE_229__ = __webpack_require__(/*! ./switch.svg */ "./assets/icons/switch.svg");
|
255
255
|
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_230__ = __webpack_require__(/*! ./table.svg */ "./assets/icons/table.svg");
|
256
|
-
/* harmony import */ var
|
257
|
-
/* harmony import */ var
|
258
|
-
/* harmony import */ var
|
259
|
-
/* harmony import */ var
|
260
|
-
/* harmony import */ var
|
261
|
-
/* harmony import */ var
|
262
|
-
/* harmony import */ var
|
263
|
-
/* harmony import */ var
|
264
|
-
/* harmony import */ var
|
265
|
-
/* harmony import */ var
|
266
|
-
/* harmony import */ var
|
267
|
-
/* harmony import */ var
|
268
|
-
/* harmony import */ var
|
269
|
-
/* harmony import */ var
|
270
|
-
/* harmony import */ var
|
271
|
-
/* harmony import */ var
|
272
|
-
/* harmony import */ var
|
273
|
-
/* harmony import */ var
|
274
|
-
/* harmony import */ var
|
275
|
-
/* harmony import */ var
|
276
|
-
/* harmony import */ var
|
277
|
-
/* harmony import */ var
|
278
|
-
/* harmony import */ var
|
279
|
-
/* harmony import */ var
|
280
|
-
/* harmony import */ var
|
281
|
-
/* harmony import */ var
|
282
|
-
/* harmony import */ var
|
283
|
-
/* harmony import */ var
|
284
|
-
/* harmony import */ var
|
256
|
+
/* harmony import */ var _tasks_svg__WEBPACK_IMPORTED_MODULE_231__ = __webpack_require__(/*! ./tasks.svg */ "./assets/icons/tasks.svg");
|
257
|
+
/* harmony import */ var _target_svg__WEBPACK_IMPORTED_MODULE_232__ = __webpack_require__(/*! ./target.svg */ "./assets/icons/target.svg");
|
258
|
+
/* harmony import */ var _terminal_window_svg__WEBPACK_IMPORTED_MODULE_233__ = __webpack_require__(/*! ./terminal_window.svg */ "./assets/icons/terminal_window.svg");
|
259
|
+
/* harmony import */ var _testing_svg__WEBPACK_IMPORTED_MODULE_234__ = __webpack_require__(/*! ./testing.svg */ "./assets/icons/testing.svg");
|
260
|
+
/* harmony import */ var _text_svg__WEBPACK_IMPORTED_MODULE_235__ = __webpack_require__(/*! ./text.svg */ "./assets/icons/text.svg");
|
261
|
+
/* harmony import */ var _thumb_up_svg__WEBPACK_IMPORTED_MODULE_236__ = __webpack_require__(/*! ./thumb_up.svg */ "./assets/icons/thumb_up.svg");
|
262
|
+
/* harmony import */ var _ticket_svg__WEBPACK_IMPORTED_MODULE_237__ = __webpack_require__(/*! ./ticket.svg */ "./assets/icons/ticket.svg");
|
263
|
+
/* harmony import */ var _tool_svg__WEBPACK_IMPORTED_MODULE_238__ = __webpack_require__(/*! ./tool.svg */ "./assets/icons/tool.svg");
|
264
|
+
/* harmony import */ var _top1_svg__WEBPACK_IMPORTED_MODULE_239__ = __webpack_require__(/*! ./top1.svg */ "./assets/icons/top1.svg");
|
265
|
+
/* harmony import */ var _transparency_svg__WEBPACK_IMPORTED_MODULE_240__ = __webpack_require__(/*! ./transparency.svg */ "./assets/icons/transparency.svg");
|
266
|
+
/* harmony import */ var _trash_svg__WEBPACK_IMPORTED_MODULE_241__ = __webpack_require__(/*! ./trash.svg */ "./assets/icons/trash.svg");
|
267
|
+
/* harmony import */ var _unblock_svg__WEBPACK_IMPORTED_MODULE_242__ = __webpack_require__(/*! ./unblock.svg */ "./assets/icons/unblock.svg");
|
268
|
+
/* harmony import */ var _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_243__ = __webpack_require__(/*! ./unblocking_infrastructure.svg */ "./assets/icons/unblocking_infrastructure.svg");
|
269
|
+
/* harmony import */ var _unique_svg__WEBPACK_IMPORTED_MODULE_244__ = __webpack_require__(/*! ./unique.svg */ "./assets/icons/unique.svg");
|
270
|
+
/* harmony import */ var _unpin_svg__WEBPACK_IMPORTED_MODULE_245__ = __webpack_require__(/*! ./unpin.svg */ "./assets/icons/unpin.svg");
|
271
|
+
/* harmony import */ var _upgrade_svg__WEBPACK_IMPORTED_MODULE_246__ = __webpack_require__(/*! ./upgrade.svg */ "./assets/icons/upgrade.svg");
|
272
|
+
/* harmony import */ var _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_247__ = __webpack_require__(/*! ./upload_cloud.svg */ "./assets/icons/upload_cloud.svg");
|
273
|
+
/* harmony import */ var _upload_svg__WEBPACK_IMPORTED_MODULE_248__ = __webpack_require__(/*! ./upload.svg */ "./assets/icons/upload.svg");
|
274
|
+
/* harmony import */ var _url_svg__WEBPACK_IMPORTED_MODULE_249__ = __webpack_require__(/*! ./url.svg */ "./assets/icons/url.svg");
|
275
|
+
/* harmony import */ var _verify_svg__WEBPACK_IMPORTED_MODULE_250__ = __webpack_require__(/*! ./verify.svg */ "./assets/icons/verify.svg");
|
276
|
+
/* harmony import */ var _verify_solid_svg__WEBPACK_IMPORTED_MODULE_251__ = __webpack_require__(/*! ./verify_solid.svg */ "./assets/icons/verify_solid.svg");
|
277
|
+
/* harmony import */ var _verify_warning_svg__WEBPACK_IMPORTED_MODULE_252__ = __webpack_require__(/*! ./verify_warning.svg */ "./assets/icons/verify_warning.svg");
|
278
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_253__ = __webpack_require__(/*! ./video.svg */ "./assets/icons/video.svg");
|
279
|
+
/* harmony import */ var _visa_svg__WEBPACK_IMPORTED_MODULE_254__ = __webpack_require__(/*! ./visa.svg */ "./assets/icons/visa.svg");
|
280
|
+
/* harmony import */ var _warning_svg__WEBPACK_IMPORTED_MODULE_255__ = __webpack_require__(/*! ./warning.svg */ "./assets/icons/warning.svg");
|
281
|
+
/* harmony import */ var _warning_solid_svg__WEBPACK_IMPORTED_MODULE_256__ = __webpack_require__(/*! ./warning_solid.svg */ "./assets/icons/warning_solid.svg");
|
282
|
+
/* harmony import */ var _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_257__ = __webpack_require__(/*! ./web_scrapper.svg */ "./assets/icons/web_scrapper.svg");
|
283
|
+
/* harmony import */ var _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_258__ = __webpack_require__(/*! ./web_scrapper_small.svg */ "./assets/icons/web_scrapper_small.svg");
|
284
|
+
/* harmony import */ var _web_unlock_svg__WEBPACK_IMPORTED_MODULE_259__ = __webpack_require__(/*! ./web_unlock.svg */ "./assets/icons/web_unlock.svg");
|
285
|
+
/* harmony import */ var _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_260__ = __webpack_require__(/*! ./web_unlock_small.svg */ "./assets/icons/web_unlock_small.svg");
|
285
286
|
// LICENSE_CODE ZON
|
286
287
|
/*jslint react:true*/
|
287
288
|
|
@@ -544,6 +545,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
544
545
|
|
545
546
|
|
546
547
|
|
548
|
+
|
547
549
|
|
548
550
|
|
549
551
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
@@ -778,35 +780,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
778
780
|
Support: _support_svg__WEBPACK_IMPORTED_MODULE_228__["default"],
|
779
781
|
Switch: _switch_svg__WEBPACK_IMPORTED_MODULE_229__["default"],
|
780
782
|
Table: _table_svg__WEBPACK_IMPORTED_MODULE_230__["default"],
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
783
|
+
Tasks: _tasks_svg__WEBPACK_IMPORTED_MODULE_231__["default"],
|
784
|
+
Target: _target_svg__WEBPACK_IMPORTED_MODULE_232__["default"],
|
785
|
+
TerminalWindow: _terminal_window_svg__WEBPACK_IMPORTED_MODULE_233__["default"],
|
786
|
+
Testing: _testing_svg__WEBPACK_IMPORTED_MODULE_234__["default"],
|
787
|
+
Text: _text_svg__WEBPACK_IMPORTED_MODULE_235__["default"],
|
788
|
+
ThumbUp: _thumb_up_svg__WEBPACK_IMPORTED_MODULE_236__["default"],
|
789
|
+
Ticket: _ticket_svg__WEBPACK_IMPORTED_MODULE_237__["default"],
|
790
|
+
Tool: _tool_svg__WEBPACK_IMPORTED_MODULE_238__["default"],
|
791
|
+
Top1: _top1_svg__WEBPACK_IMPORTED_MODULE_239__["default"],
|
792
|
+
Transparency: _transparency_svg__WEBPACK_IMPORTED_MODULE_240__["default"],
|
793
|
+
Trash: _trash_svg__WEBPACK_IMPORTED_MODULE_241__["default"],
|
794
|
+
Unblock: _unblock_svg__WEBPACK_IMPORTED_MODULE_242__["default"],
|
795
|
+
UnblockingInfrastructure: _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_243__["default"],
|
796
|
+
Unique: _unique_svg__WEBPACK_IMPORTED_MODULE_244__["default"],
|
797
|
+
Unpin: _unpin_svg__WEBPACK_IMPORTED_MODULE_245__["default"],
|
798
|
+
Upgrade: _upgrade_svg__WEBPACK_IMPORTED_MODULE_246__["default"],
|
799
|
+
UploadCloud: _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_247__["default"],
|
800
|
+
Upload: _upload_svg__WEBPACK_IMPORTED_MODULE_248__["default"],
|
801
|
+
Url: _url_svg__WEBPACK_IMPORTED_MODULE_249__["default"],
|
802
|
+
Verify: _verify_svg__WEBPACK_IMPORTED_MODULE_250__["default"],
|
803
|
+
VerifySolid: _verify_solid_svg__WEBPACK_IMPORTED_MODULE_251__["default"],
|
804
|
+
VerifyWarning: _verify_warning_svg__WEBPACK_IMPORTED_MODULE_252__["default"],
|
805
|
+
Video: _video_svg__WEBPACK_IMPORTED_MODULE_253__["default"],
|
806
|
+
Visa: _visa_svg__WEBPACK_IMPORTED_MODULE_254__["default"],
|
807
|
+
Warning: _warning_svg__WEBPACK_IMPORTED_MODULE_255__["default"],
|
808
|
+
WarningSolid: _warning_solid_svg__WEBPACK_IMPORTED_MODULE_256__["default"],
|
809
|
+
WebScrapper: _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_257__["default"],
|
810
|
+
WebScrapperSmall: _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_258__["default"],
|
811
|
+
WebUnlock: _web_unlock_svg__WEBPACK_IMPORTED_MODULE_259__["default"],
|
812
|
+
WebUnlockSmall: _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_260__["default"],
|
810
813
|
});
|
811
814
|
|
812
815
|
|
@@ -42242,7 +42245,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
42242
42245
|
/* harmony export */ DatePicker: () => (/* binding */ DatePicker),
|
42243
42246
|
/* harmony export */ StyledDayPicker: () => (/* binding */ StyledDayPicker)
|
42244
42247
|
/* harmony export */ });
|
42245
|
-
/* harmony import */ var
|
42248
|
+
/* harmony import */ var date_fns_format__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! date-fns/format */ "./node_modules/date-fns/format.mjs");
|
42246
42249
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
42247
42250
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
42248
42251
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
@@ -42250,17 +42253,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
42250
42253
|
/* harmony import */ var react_day_picker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-day-picker */ "./node_modules/react-day-picker/dist/index.esm.js");
|
42251
42254
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
|
42252
42255
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
42253
|
-
/* harmony import */ var
|
42254
|
-
/* harmony import */ var
|
42255
|
-
/* harmony import */ var
|
42256
|
-
/* harmony import */ var
|
42256
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
42257
|
+
/* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../popover */ "./src/popover/index.js");
|
42258
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../translation */ "./src/translation.js");
|
42259
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
42260
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
42261
|
+
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./shared */ "./src/input/shared.js");
|
42257
42262
|
// LICENSE_CODE ZON
|
42258
42263
|
|
42259
42264
|
|
42260
42265
|
/*jslint react:true*/
|
42261
|
-
var _excluded = ["onChange", "disabledDays", "isRange", "defaultMonth", "month", "onMonthChange", "renderPopover", "format", "size", "value"],
|
42262
|
-
_excluded2 = ["
|
42266
|
+
var _excluded = ["onChange", "disabledDays", "isRange", "defaultMonth", "month", "onMonthChange", "renderPopover", "format", "size", "value", "popoverPlacement"],
|
42267
|
+
_excluded2 = ["popoverPlacement", "popoverProps", "size", "placeholder", "onOpenChange"],
|
42268
|
+
_excluded3 = ["mode", "selected", "onChange", "renderPopover", "hidePopover"];
|
42263
42269
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
42270
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
42271
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
42272
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
42273
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
42274
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
42275
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
42264
42276
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
42265
42277
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
42266
42278
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
@@ -42278,6 +42290,8 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
42278
42290
|
|
42279
42291
|
|
42280
42292
|
|
42293
|
+
|
42294
|
+
|
42281
42295
|
var DatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (_ref, ref) {
|
42282
42296
|
var onChange = _ref.onChange,
|
42283
42297
|
disabledDays = _ref.disabledDays,
|
@@ -42292,6 +42306,8 @@ var DatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
|
|
42292
42306
|
_ref$size = _ref.size,
|
42293
42307
|
size = _ref$size === void 0 ? 'md' : _ref$size,
|
42294
42308
|
_value = _ref.value,
|
42309
|
+
_ref$popoverPlacement = _ref.popoverPlacement,
|
42310
|
+
popoverPlacement = _ref$popoverPlacement === void 0 ? 'bottomLeft' : _ref$popoverPlacement,
|
42295
42311
|
rest = _objectWithoutProperties(_ref, _excluded);
|
42296
42312
|
var value = usePickerValue({
|
42297
42313
|
isRange: isRange,
|
@@ -42310,11 +42326,18 @@ var DatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
|
|
42310
42326
|
renderPopover: renderPopover
|
42311
42327
|
};
|
42312
42328
|
}, [value, disabledDays, onChange, isRange, defaultMonth, month, onMonthChange, renderPopover]);
|
42313
|
-
|
42329
|
+
var leftInnerContent = (0,_util__WEBPACK_IMPORTED_MODULE_8__.firstDefined)(rest.leftInnerContent, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
42330
|
+
name: "Calendar",
|
42331
|
+
color: "icon",
|
42332
|
+
size: size == 'lg' ? 'sm' : 'xs'
|
42333
|
+
}));
|
42334
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PickerField, _extends({
|
42314
42335
|
ref: ref
|
42315
42336
|
}, rest, {
|
42337
|
+
leftInnerContent: leftInnerContent,
|
42316
42338
|
format: fmt,
|
42317
42339
|
value: value,
|
42340
|
+
popoverPlacement: popoverPlacement,
|
42318
42341
|
popoverProps: popoverProps,
|
42319
42342
|
size: size,
|
42320
42343
|
isRange: isRange
|
@@ -42330,7 +42353,7 @@ DatePicker.propTypes = {
|
|
42330
42353
|
placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
42331
42354
|
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
42332
42355
|
required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
42333
|
-
necessityIndicator:
|
42356
|
+
necessityIndicator: _constants__WEBPACK_IMPORTED_MODULE_7__.PT_NECESSITY_INDICATOR,
|
42334
42357
|
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
42335
42358
|
leftInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
42336
42359
|
leftOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
@@ -42346,50 +42369,65 @@ DatePicker.propTypes = {
|
|
42346
42369
|
onOpenChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
42347
42370
|
defaultMonth: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)]),
|
42348
42371
|
month: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Date)]),
|
42349
|
-
onMonthChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
42372
|
+
onMonthChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
42373
|
+
popoverPlacement: _constants__WEBPACK_IMPORTED_MODULE_7__.PT_TOOLTIP_PLACEMENT
|
42350
42374
|
};
|
42351
|
-
var PickerField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (
|
42352
|
-
var
|
42353
|
-
|
42354
|
-
|
42355
|
-
|
42356
|
-
|
42357
|
-
|
42358
|
-
|
42359
|
-
var cb = function cb() {
|
42360
|
-
return popover.show();
|
42361
|
-
};
|
42362
|
-
innerWrapper.addEventListener('click', cb);
|
42363
|
-
return function () {
|
42364
|
-
return innerWrapper.removeEventListener('click', cb);
|
42365
|
-
};
|
42366
|
-
}, [innerWrapperRef.current]);
|
42367
|
-
var inputProps = _objectSpread(_objectSpread({}, props.inputProps), {}, {
|
42375
|
+
var PickerField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (_ref2, ref) {
|
42376
|
+
var popoverPlacement = _ref2.popoverPlacement,
|
42377
|
+
popoverProps = _ref2.popoverProps,
|
42378
|
+
size = _ref2.size,
|
42379
|
+
placeholder = _ref2.placeholder,
|
42380
|
+
onOpenChange = _ref2.onOpenChange,
|
42381
|
+
rest = _objectWithoutProperties(_ref2, _excluded2);
|
42382
|
+
var inputProps = _objectSpread(_objectSpread({}, rest.inputProps), {}, {
|
42368
42383
|
type: 'text',
|
42369
42384
|
readOnly: true
|
42370
42385
|
});
|
42371
|
-
var
|
42372
|
-
|
42373
|
-
|
42386
|
+
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false),
|
42387
|
+
_useState2 = _slicedToArray(_useState, 2),
|
42388
|
+
visible = _useState2[0],
|
42389
|
+
setVisible = _useState2[1];
|
42390
|
+
var onVisibleChange = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (value) {
|
42391
|
+
setVisible(value);
|
42392
|
+
onOpenChange === null || onOpenChange === void 0 || onOpenChange(value);
|
42393
|
+
}, [onOpenChange]);
|
42394
|
+
var fieldRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
|
42395
|
+
var hidePopover = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {
|
42396
|
+
var _fieldRef$current;
|
42397
|
+
(_fieldRef$current = fieldRef.current) === null || _fieldRef$current === void 0 || _fieldRef$current.blur();
|
42398
|
+
}, []);
|
42399
|
+
var heightCalculationCallback = (0,_shared__WEBPACK_IMPORTED_MODULE_9__.useHeightCalculationCallback)(size);
|
42400
|
+
var t = (0,_translation__WEBPACK_IMPORTED_MODULE_6__.useTranslate)();
|
42401
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_popover__WEBPACK_IMPORTED_MODULE_5__.Popover, {
|
42402
|
+
trigger: "focus",
|
42403
|
+
placement: popoverPlacement,
|
42404
|
+
zIndex: _constants__WEBPACK_IMPORTED_MODULE_7__.Z_INDEX.datepicker,
|
42405
|
+
popover: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PickerPopover, _extends({
|
42406
|
+
hidePopover: hidePopover
|
42407
|
+
}, popoverProps)),
|
42408
|
+
visible: visible,
|
42409
|
+
onVisibleChange: onVisibleChange
|
42410
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.FieldWrapper, _extends({}, rest, {
|
42374
42411
|
ref: ref,
|
42375
|
-
|
42412
|
+
fieldRef: (0,_util__WEBPACK_IMPORTED_MODULE_8__.mergeRefs)(rest.fieldRef, fieldRef),
|
42413
|
+
size: size,
|
42376
42414
|
heightCalculationCallback: heightCalculationCallback,
|
42377
42415
|
autoresize: false,
|
42378
42416
|
verticalAlign: "center",
|
42379
|
-
Field:
|
42380
|
-
value: getDateText(
|
42417
|
+
Field: _shared__WEBPACK_IMPORTED_MODULE_9__.Field,
|
42418
|
+
value: getDateText(rest),
|
42381
42419
|
placeholder: t(placeholder),
|
42382
42420
|
inputProps: inputProps
|
42383
|
-
}));
|
42421
|
+
})));
|
42384
42422
|
});
|
42385
42423
|
PickerField.displayName = 'PickerField';
|
42386
|
-
var PickerPopover = function PickerPopover(
|
42387
|
-
var mode =
|
42388
|
-
selected =
|
42389
|
-
onChange =
|
42390
|
-
renderPopover =
|
42391
|
-
|
42392
|
-
rest = _objectWithoutProperties(
|
42424
|
+
var PickerPopover = function PickerPopover(_ref3) {
|
42425
|
+
var mode = _ref3.mode,
|
42426
|
+
selected = _ref3.selected,
|
42427
|
+
onChange = _ref3.onChange,
|
42428
|
+
renderPopover = _ref3.renderPopover,
|
42429
|
+
hidePopover = _ref3.hidePopover,
|
42430
|
+
rest = _objectWithoutProperties(_ref3, _excluded3);
|
42393
42431
|
var handleDayClick = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (day, activeModifiers) {
|
42394
42432
|
if (activeModifiers.disabled) return;
|
42395
42433
|
var val = day;
|
@@ -42409,8 +42447,8 @@ var PickerPopover = function PickerPopover(props) {
|
|
42409
42447
|
}
|
42410
42448
|
onChange(val);
|
42411
42449
|
}, [mode, selected]);
|
42412
|
-
var render = typeof renderPopover == 'function' ? renderPopover : function (
|
42413
|
-
var picker =
|
42450
|
+
var render = typeof renderPopover == 'function' ? renderPopover : function (_ref4) {
|
42451
|
+
var picker = _ref4.picker;
|
42414
42452
|
return picker;
|
42415
42453
|
};
|
42416
42454
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DayPickerWrapper, {
|
@@ -42424,27 +42462,22 @@ var PickerPopover = function PickerPopover(props) {
|
|
42424
42462
|
mode: mode,
|
42425
42463
|
selected: selected
|
42426
42464
|
})),
|
42427
|
-
|
42465
|
+
hidePopover: hidePopover,
|
42466
|
+
// XXX legacy api
|
42467
|
+
popover: {
|
42468
|
+
hide: hidePopover,
|
42469
|
+
show: function show() {},
|
42470
|
+
toggle: function toggle() {}
|
42471
|
+
}
|
42428
42472
|
}));
|
42429
42473
|
};
|
42430
|
-
PickerPopover.displayName = 'PickerPopover';
|
42431
|
-
var Picker = (0,_hoc__WEBPACK_IMPORTED_MODULE_4__.withPopover)(PickerField, PickerPopover, {
|
42432
|
-
placement: 'bottom',
|
42433
|
-
zIndex: _constants__WEBPACK_IMPORTED_MODULE_6__.Z_INDEX.datepicker
|
42434
|
-
});
|
42435
42474
|
var borderRadius = '4px';
|
42436
42475
|
var DayPickerWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
42437
42476
|
displayName: "DayPickerWrapper",
|
42438
42477
|
componentId: "sc-1gurvxq-0"
|
42439
|
-
})(["margin:0;padding:", " 0;box-sizing:border-box;
|
42440
|
-
var spacing =
|
42478
|
+
})(["margin:0;padding:", " 0;box-sizing:border-box;border-radius:4px;"], function (_ref5) {
|
42479
|
+
var spacing = _ref5.theme.spacing;
|
42441
42480
|
return spacing['02'];
|
42442
|
-
}, function (_ref4) {
|
42443
|
-
var color = _ref4.theme.color;
|
42444
|
-
return color.bg_elevated;
|
42445
|
-
}, function (_ref5) {
|
42446
|
-
var shadow = _ref5.theme.shadow;
|
42447
|
-
return shadow.medium;
|
42448
42481
|
});
|
42449
42482
|
var StyledDayPicker = function StyledDayPicker(props) {
|
42450
42483
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DayPickerStyles, _extends({}, props, {
|
@@ -42622,9 +42655,9 @@ var getDateText = function getDateText(props) {
|
|
42622
42655
|
if (isRange) {
|
42623
42656
|
var from = value.from,
|
42624
42657
|
to = value.to;
|
42625
|
-
return (from ? (0,
|
42658
|
+
return (from ? (0,date_fns_format__WEBPACK_IMPORTED_MODULE_10__["default"])(from, fmt) : placeholder || '') + ' - ' + (to ? (0,date_fns_format__WEBPACK_IMPORTED_MODULE_10__["default"])(to, fmt) : placeholder || '');
|
42626
42659
|
}
|
42627
|
-
return (0,
|
42660
|
+
return (0,date_fns_format__WEBPACK_IMPORTED_MODULE_10__["default"])(value, fmt);
|
42628
42661
|
};
|
42629
42662
|
var getDefaultMonth = function getDefaultMonth(value) {
|
42630
42663
|
if (value instanceof Date) return value;
|
@@ -47724,7 +47757,7 @@ var MenuItemComp = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef
|
|
47724
47757
|
rest = _objectWithoutProperties(_ref2, _excluded3);
|
47725
47758
|
var button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemButton, _extends({
|
47726
47759
|
ref: ref
|
47727
|
-
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest)));
|
47760
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest)), rest.children);
|
47728
47761
|
if (subItems) {
|
47729
47762
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_popup__WEBPACK_IMPORTED_MODULE_13__.MenuItemPopup, {
|
47730
47763
|
subItems: subItems,
|
@@ -49583,11 +49616,11 @@ var theme = function theme(cb) {
|
|
49583
49616
|
};
|
49584
49617
|
};
|
49585
49618
|
var PopoverStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{position:absolute;display:block;visibility:visible;width:fit-content;border-radius:4px;border:1px solid ", ";background:", ";box-shadow:", ";&-hidden{display:none;}&-mask{position:fixed;inset:0;pointer-events:none;&-hidden{display:none;}}&-motion{&-enter,&-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-enter&-enter-active,&-appear&-appear-active{animation-name:rcPopoverZoomIn;animation-play-state:running;}&-leave&-leave-active{animation-name:rcPopoverZoomOut;animation-play-state:running;}}@keyframes rcPopoverZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcPopoverZoomOut{0%{opacity:1;transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], prefixCls, theme(function (t) {
|
49586
|
-
return t.color.
|
49619
|
+
return t.color.popover_border;
|
49587
49620
|
}), theme(function (t) {
|
49588
|
-
return t.color.
|
49621
|
+
return t.color.bg;
|
49589
49622
|
}), theme(function (t) {
|
49590
|
-
return t.
|
49623
|
+
return t.color.popover_shadow;
|
49591
49624
|
}));
|
49592
49625
|
|
49593
49626
|
/***/ }),
|
@@ -54963,7 +54996,9 @@ var componentLight = {
|
|
54963
54996
|
tooltip_bg_white: color.white,
|
54964
54997
|
tooltip_text_black: color.white,
|
54965
54998
|
tooltip_text_white: semanticLight.text_secondary,
|
54966
|
-
tooltip_border_white: semanticLight.border
|
54999
|
+
tooltip_border_white: semanticLight.border,
|
55000
|
+
popover_border: semanticLight.border_secondary,
|
55001
|
+
popover_shadow: shadow.medium
|
54967
55002
|
};
|
54968
55003
|
var lightTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
|
54969
55004
|
color: _objectSpread(_objectSpread(_objectSpread({}, color), semanticLight), componentLight)
|
@@ -55101,7 +55136,9 @@ var componentDark = _objectSpread(_objectSpread({}, componentLight), {}, {
|
|
55101
55136
|
tooltip_bg_white: color.white,
|
55102
55137
|
tooltip_text_black: color.white,
|
55103
55138
|
tooltip_text_white: color.gray_11_50,
|
55104
|
-
tooltip_border_white: semanticDark.border
|
55139
|
+
tooltip_border_white: semanticDark.border,
|
55140
|
+
popover_border: semanticDark.border,
|
55141
|
+
popover_shadow: '0px 6px 12px -3px rgba(1, 4, 9, 0.40), ' + '0px 6px 16px 0px rgba(1, 4, 9, 0.40);'
|
55105
55142
|
});
|
55106
55143
|
var darkTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
|
55107
55144
|
color: _objectSpread(_objectSpread(_objectSpread({}, color), semanticDark), componentDark)
|
@@ -114044,6 +114081,34 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
|
|
114044
114081
|
|
114045
114082
|
/***/ }),
|
114046
114083
|
|
114084
|
+
/***/ "./assets/icons/tasks.svg":
|
114085
|
+
/*!********************************!*\
|
114086
|
+
!*** ./assets/icons/tasks.svg ***!
|
114087
|
+
\********************************/
|
114088
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
114089
|
+
|
114090
|
+
"use strict";
|
114091
|
+
__webpack_require__.r(__webpack_exports__);
|
114092
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
114093
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
114094
|
+
/* harmony export */ });
|
114095
|
+
/* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/svg-baker-runtime/browser-symbol.js */ "./node_modules/svg-baker-runtime/browser-symbol.js");
|
114096
|
+
/* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
|
114097
|
+
/* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../node_modules/svg-sprite-loader/runtime/browser-sprite.build.js */ "./node_modules/svg-sprite-loader/runtime/browser-sprite.build.js");
|
114098
|
+
/* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__);
|
114099
|
+
|
114100
|
+
|
114101
|
+
var symbol = new (_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default())({
|
114102
|
+
"id": "tasks_uikit_icon",
|
114103
|
+
"use": "tasks_uikit_icon-usage",
|
114104
|
+
"viewBox": "0 0 16 16",
|
114105
|
+
"content": "<symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 16\" id=\"tasks_uikit_icon\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6.6 2.6a1.98 1.98 0 0 1 3.38 1.38H6.02A1.98 1.98 0 0 1 6.6 2.6m-.845-.62A3.02 3.02 0 0 1 8 .98a3.02 3.02 0 0 1 2.246 1H12.5A1.02 1.02 0 0 1 13.52 3v10.5a1.02 1.02 0 0 1-1.02 1.02h-9a1.02 1.02 0 0 1-1.02-1.02V3A1.02 1.02 0 0 1 3.5 1.98zm-.611 1.04H3.52v10.46h8.96V3.02h-1.623c.107.312.164.643.164.98v.5a.52.52 0 0 1-.52.52h-5a.52.52 0 0 1-.52-.52V4c0-.337.056-.668.163-.98M6 6.98a.52.52 0 1 0 0 1.04h4a.52.52 0 1 0 0-1.04zm0 2a.52.52 0 1 0 0 1.04h4a.52.52 0 0 0 0-1.04z\" clip-rule=\"evenodd\" /></symbol>"
|
114106
|
+
});
|
114107
|
+
var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default().add(symbol);
|
114108
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (symbol);
|
114109
|
+
|
114110
|
+
/***/ }),
|
114111
|
+
|
114047
114112
|
/***/ "./assets/icons/terminal_window.svg":
|
114048
114113
|
/*!******************************************!*\
|
114049
114114
|
!*** ./assets/icons/terminal_window.svg ***!
|