@luminati-io/uikit 6.3.6 → 6.3.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -253,36 +253,37 @@ __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
|
285
|
-
/* harmony import */ var
|
256
|
+
/* harmony import */ var _tag_svg__WEBPACK_IMPORTED_MODULE_231__ = __webpack_require__(/*! ./tag.svg */ "./assets/icons/tag.svg");
|
257
|
+
/* harmony import */ var _tasks_svg__WEBPACK_IMPORTED_MODULE_232__ = __webpack_require__(/*! ./tasks.svg */ "./assets/icons/tasks.svg");
|
258
|
+
/* harmony import */ var _target_svg__WEBPACK_IMPORTED_MODULE_233__ = __webpack_require__(/*! ./target.svg */ "./assets/icons/target.svg");
|
259
|
+
/* harmony import */ var _terminal_window_svg__WEBPACK_IMPORTED_MODULE_234__ = __webpack_require__(/*! ./terminal_window.svg */ "./assets/icons/terminal_window.svg");
|
260
|
+
/* harmony import */ var _testing_svg__WEBPACK_IMPORTED_MODULE_235__ = __webpack_require__(/*! ./testing.svg */ "./assets/icons/testing.svg");
|
261
|
+
/* harmony import */ var _text_svg__WEBPACK_IMPORTED_MODULE_236__ = __webpack_require__(/*! ./text.svg */ "./assets/icons/text.svg");
|
262
|
+
/* harmony import */ var _thumb_up_svg__WEBPACK_IMPORTED_MODULE_237__ = __webpack_require__(/*! ./thumb_up.svg */ "./assets/icons/thumb_up.svg");
|
263
|
+
/* harmony import */ var _ticket_svg__WEBPACK_IMPORTED_MODULE_238__ = __webpack_require__(/*! ./ticket.svg */ "./assets/icons/ticket.svg");
|
264
|
+
/* harmony import */ var _tool_svg__WEBPACK_IMPORTED_MODULE_239__ = __webpack_require__(/*! ./tool.svg */ "./assets/icons/tool.svg");
|
265
|
+
/* harmony import */ var _top1_svg__WEBPACK_IMPORTED_MODULE_240__ = __webpack_require__(/*! ./top1.svg */ "./assets/icons/top1.svg");
|
266
|
+
/* harmony import */ var _transparency_svg__WEBPACK_IMPORTED_MODULE_241__ = __webpack_require__(/*! ./transparency.svg */ "./assets/icons/transparency.svg");
|
267
|
+
/* harmony import */ var _trash_svg__WEBPACK_IMPORTED_MODULE_242__ = __webpack_require__(/*! ./trash.svg */ "./assets/icons/trash.svg");
|
268
|
+
/* harmony import */ var _unblock_svg__WEBPACK_IMPORTED_MODULE_243__ = __webpack_require__(/*! ./unblock.svg */ "./assets/icons/unblock.svg");
|
269
|
+
/* harmony import */ var _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_244__ = __webpack_require__(/*! ./unblocking_infrastructure.svg */ "./assets/icons/unblocking_infrastructure.svg");
|
270
|
+
/* harmony import */ var _unique_svg__WEBPACK_IMPORTED_MODULE_245__ = __webpack_require__(/*! ./unique.svg */ "./assets/icons/unique.svg");
|
271
|
+
/* harmony import */ var _unpin_svg__WEBPACK_IMPORTED_MODULE_246__ = __webpack_require__(/*! ./unpin.svg */ "./assets/icons/unpin.svg");
|
272
|
+
/* harmony import */ var _upgrade_svg__WEBPACK_IMPORTED_MODULE_247__ = __webpack_require__(/*! ./upgrade.svg */ "./assets/icons/upgrade.svg");
|
273
|
+
/* harmony import */ var _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_248__ = __webpack_require__(/*! ./upload_cloud.svg */ "./assets/icons/upload_cloud.svg");
|
274
|
+
/* harmony import */ var _upload_svg__WEBPACK_IMPORTED_MODULE_249__ = __webpack_require__(/*! ./upload.svg */ "./assets/icons/upload.svg");
|
275
|
+
/* harmony import */ var _url_svg__WEBPACK_IMPORTED_MODULE_250__ = __webpack_require__(/*! ./url.svg */ "./assets/icons/url.svg");
|
276
|
+
/* harmony import */ var _verify_svg__WEBPACK_IMPORTED_MODULE_251__ = __webpack_require__(/*! ./verify.svg */ "./assets/icons/verify.svg");
|
277
|
+
/* harmony import */ var _verify_solid_svg__WEBPACK_IMPORTED_MODULE_252__ = __webpack_require__(/*! ./verify_solid.svg */ "./assets/icons/verify_solid.svg");
|
278
|
+
/* harmony import */ var _verify_warning_svg__WEBPACK_IMPORTED_MODULE_253__ = __webpack_require__(/*! ./verify_warning.svg */ "./assets/icons/verify_warning.svg");
|
279
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_254__ = __webpack_require__(/*! ./video.svg */ "./assets/icons/video.svg");
|
280
|
+
/* harmony import */ var _visa_svg__WEBPACK_IMPORTED_MODULE_255__ = __webpack_require__(/*! ./visa.svg */ "./assets/icons/visa.svg");
|
281
|
+
/* harmony import */ var _warning_svg__WEBPACK_IMPORTED_MODULE_256__ = __webpack_require__(/*! ./warning.svg */ "./assets/icons/warning.svg");
|
282
|
+
/* harmony import */ var _warning_solid_svg__WEBPACK_IMPORTED_MODULE_257__ = __webpack_require__(/*! ./warning_solid.svg */ "./assets/icons/warning_solid.svg");
|
283
|
+
/* harmony import */ var _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_258__ = __webpack_require__(/*! ./web_scrapper.svg */ "./assets/icons/web_scrapper.svg");
|
284
|
+
/* harmony import */ var _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_259__ = __webpack_require__(/*! ./web_scrapper_small.svg */ "./assets/icons/web_scrapper_small.svg");
|
285
|
+
/* harmony import */ var _web_unlock_svg__WEBPACK_IMPORTED_MODULE_260__ = __webpack_require__(/*! ./web_unlock.svg */ "./assets/icons/web_unlock.svg");
|
286
|
+
/* harmony import */ var _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_261__ = __webpack_require__(/*! ./web_unlock_small.svg */ "./assets/icons/web_unlock_small.svg");
|
286
287
|
// LICENSE_CODE ZON
|
287
288
|
/*jslint react:true*/
|
288
289
|
|
@@ -546,6 +547,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
546
547
|
|
547
548
|
|
548
549
|
|
550
|
+
|
549
551
|
|
550
552
|
|
551
553
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
@@ -780,36 +782,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
780
782
|
Support: _support_svg__WEBPACK_IMPORTED_MODULE_228__["default"],
|
781
783
|
Switch: _switch_svg__WEBPACK_IMPORTED_MODULE_229__["default"],
|
782
784
|
Table: _table_svg__WEBPACK_IMPORTED_MODULE_230__["default"],
|
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
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
785
|
+
Tag: _tag_svg__WEBPACK_IMPORTED_MODULE_231__["default"],
|
786
|
+
Tasks: _tasks_svg__WEBPACK_IMPORTED_MODULE_232__["default"],
|
787
|
+
Target: _target_svg__WEBPACK_IMPORTED_MODULE_233__["default"],
|
788
|
+
TerminalWindow: _terminal_window_svg__WEBPACK_IMPORTED_MODULE_234__["default"],
|
789
|
+
Testing: _testing_svg__WEBPACK_IMPORTED_MODULE_235__["default"],
|
790
|
+
Text: _text_svg__WEBPACK_IMPORTED_MODULE_236__["default"],
|
791
|
+
ThumbUp: _thumb_up_svg__WEBPACK_IMPORTED_MODULE_237__["default"],
|
792
|
+
Ticket: _ticket_svg__WEBPACK_IMPORTED_MODULE_238__["default"],
|
793
|
+
Tool: _tool_svg__WEBPACK_IMPORTED_MODULE_239__["default"],
|
794
|
+
Top1: _top1_svg__WEBPACK_IMPORTED_MODULE_240__["default"],
|
795
|
+
Transparency: _transparency_svg__WEBPACK_IMPORTED_MODULE_241__["default"],
|
796
|
+
Trash: _trash_svg__WEBPACK_IMPORTED_MODULE_242__["default"],
|
797
|
+
Unblock: _unblock_svg__WEBPACK_IMPORTED_MODULE_243__["default"],
|
798
|
+
UnblockingInfrastructure: _unblocking_infrastructure_svg__WEBPACK_IMPORTED_MODULE_244__["default"],
|
799
|
+
Unique: _unique_svg__WEBPACK_IMPORTED_MODULE_245__["default"],
|
800
|
+
Unpin: _unpin_svg__WEBPACK_IMPORTED_MODULE_246__["default"],
|
801
|
+
Upgrade: _upgrade_svg__WEBPACK_IMPORTED_MODULE_247__["default"],
|
802
|
+
UploadCloud: _upload_cloud_svg__WEBPACK_IMPORTED_MODULE_248__["default"],
|
803
|
+
Upload: _upload_svg__WEBPACK_IMPORTED_MODULE_249__["default"],
|
804
|
+
Url: _url_svg__WEBPACK_IMPORTED_MODULE_250__["default"],
|
805
|
+
Verify: _verify_svg__WEBPACK_IMPORTED_MODULE_251__["default"],
|
806
|
+
VerifySolid: _verify_solid_svg__WEBPACK_IMPORTED_MODULE_252__["default"],
|
807
|
+
VerifyWarning: _verify_warning_svg__WEBPACK_IMPORTED_MODULE_253__["default"],
|
808
|
+
Video: _video_svg__WEBPACK_IMPORTED_MODULE_254__["default"],
|
809
|
+
Visa: _visa_svg__WEBPACK_IMPORTED_MODULE_255__["default"],
|
810
|
+
Warning: _warning_svg__WEBPACK_IMPORTED_MODULE_256__["default"],
|
811
|
+
WarningSolid: _warning_solid_svg__WEBPACK_IMPORTED_MODULE_257__["default"],
|
812
|
+
WebScrapper: _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_258__["default"],
|
813
|
+
WebScrapperSmall: _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_259__["default"],
|
814
|
+
WebUnlock: _web_unlock_svg__WEBPACK_IMPORTED_MODULE_260__["default"],
|
815
|
+
WebUnlockSmall: _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_261__["default"],
|
813
816
|
});
|
814
817
|
|
815
818
|
|
@@ -39876,6 +39879,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
39876
39879
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
39877
39880
|
/* harmony export */ INPUT_HORIZONTAL_PADDING: () => (/* binding */ INPUT_HORIZONTAL_PADDING),
|
39878
39881
|
/* harmony export */ INPUT_VERTICAL_PADDING: () => (/* binding */ INPUT_VERTICAL_PADDING),
|
39882
|
+
/* harmony export */ PT_INPUT_SHARED: () => (/* binding */ PT_INPUT_SHARED),
|
39879
39883
|
/* harmony export */ PT_NECESSITY_INDICATOR: () => (/* binding */ PT_NECESSITY_INDICATOR),
|
39880
39884
|
/* harmony export */ PT_TOOLTIP_PLACEMENT: () => (/* binding */ PT_TOOLTIP_PLACEMENT),
|
39881
39885
|
/* harmony export */ PT_TRIGGER: () => (/* binding */ PT_TRIGGER),
|
@@ -39918,6 +39922,32 @@ var TOOLTIP_PLACEMENT = function () {
|
|
39918
39922
|
});
|
39919
39923
|
});
|
39920
39924
|
}();
|
39925
|
+
var PT_INPUT_SHARED = {
|
39926
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
39927
|
+
classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
39928
|
+
value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
|
39929
|
+
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
39930
|
+
onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
39931
|
+
onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
39932
|
+
onKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
39933
|
+
placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
39934
|
+
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
39935
|
+
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
39936
|
+
after: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39937
|
+
before: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39938
|
+
leftInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39939
|
+
leftOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39940
|
+
rightInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39941
|
+
rightOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39942
|
+
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39943
|
+
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
39944
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39945
|
+
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39946
|
+
inputProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
39947
|
+
required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
39948
|
+
necessityIndicator: PT_NECESSITY_INDICATOR,
|
39949
|
+
autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
39950
|
+
};
|
39921
39951
|
|
39922
39952
|
/***/ }),
|
39923
39953
|
|
@@ -45871,21 +45901,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
45871
45901
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
45872
45902
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
45873
45903
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
45874
|
-
/* harmony import */ var
|
45875
|
-
/* harmony import */ var
|
45876
|
-
/* harmony import */ var
|
45877
|
-
/* harmony import */ var
|
45878
|
-
/* harmony import */ var
|
45879
|
-
/* harmony import */ var
|
45880
|
-
/* harmony import */ var
|
45881
|
-
/* harmony import */ var
|
45882
|
-
/* harmony import */ var
|
45904
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
45905
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.js");
|
45906
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
45907
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
|
45908
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip/index.js");
|
45909
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../translation */ "./src/translation.js");
|
45910
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
45911
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
45912
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
45913
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
45883
45914
|
// LICENSE_CODE ZON
|
45884
45915
|
|
45885
45916
|
|
45886
45917
|
/*jslint react:true*/
|
45887
45918
|
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); }
|
45888
|
-
var _excluded = ["id", "name", "value", "leftInnerContent", "
|
45919
|
+
var _excluded = ["id", "name", "value", "leftInnerContent", "rightInnerContent", "heightCalculationCallback", "Field", "fieldRef", "onChange", "onFocus", "onBlur", "onKeyDown", "placeholder", "disabled", "invalid", "autoFocus", "helperText", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "autoresize", "verticalAlign", "innerWrapper", "classNamePrefix", "className"];
|
45920
|
+
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; }
|
45921
|
+
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; }
|
45889
45922
|
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; }
|
45890
45923
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
45891
45924
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
@@ -45910,14 +45943,13 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
45910
45943
|
|
45911
45944
|
|
45912
45945
|
|
45946
|
+
|
45913
45947
|
var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
|
45914
45948
|
var id = props.id,
|
45915
45949
|
name = props.name,
|
45916
45950
|
value = props.value,
|
45917
45951
|
leftInnerContent = props.leftInnerContent,
|
45918
|
-
leftOuterContent = props.leftOuterContent,
|
45919
45952
|
rightInnerContent = props.rightInnerContent,
|
45920
|
-
rightOuterContent = props.rightOuterContent,
|
45921
45953
|
heightCalculationCallback = props.heightCalculationCallback,
|
45922
45954
|
Field = props.Field,
|
45923
45955
|
fieldRef = props.fieldRef,
|
@@ -45942,7 +45974,7 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
45942
45974
|
className = props.className,
|
45943
45975
|
rest = _objectWithoutProperties(props, _excluded);
|
45944
45976
|
var field = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
|
45945
|
-
var setFieldRefs = (0,
|
45977
|
+
var setFieldRefs = (0,_util__WEBPACK_IMPORTED_MODULE_10__.useSetRefsCallback)([fieldRef, field]);
|
45946
45978
|
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),
|
45947
45979
|
_useState2 = _slicedToArray(_useState, 2),
|
45948
45980
|
active = _useState2[0],
|
@@ -45975,13 +46007,15 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
45975
46007
|
}, []);
|
45976
46008
|
(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
|
45977
46009
|
// XXX vadimv: hack to autoresize textarea
|
45978
|
-
if (autoresize) field.current.style.height = (0,
|
46010
|
+
if (autoresize) field.current.style.height = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(field.current.scrollHeight);
|
45979
46011
|
}, [autoresize, value]);
|
45980
|
-
var labelId = (0,
|
45981
|
-
|
46012
|
+
var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_4__.useLabelId)(id);
|
46013
|
+
var leftOuterContent = props.leftOuterContent || props.before;
|
46014
|
+
var rightOuterContent = props.rightOuterContent || props.after;
|
46015
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, _extends({
|
45982
46016
|
ref: ref
|
45983
|
-
}, (0,
|
45984
|
-
className: (0,
|
46017
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest), {
|
46018
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
45985
46019
|
container: true
|
45986
46020
|
}, className),
|
45987
46021
|
flex_direction: "column",
|
@@ -45997,9 +46031,10 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
45997
46031
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InputContentWrapper, {
|
45998
46032
|
$heightCalculationCallback: heightCalculationCallback
|
45999
46033
|
}, leftOuterContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(LeftOuterContentWrapper, {
|
46000
|
-
className: (0,
|
46034
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
46001
46035
|
leftOuterContent: true
|
46002
|
-
})
|
46036
|
+
}),
|
46037
|
+
$unstyled: !!props.leftOuterContent
|
46003
46038
|
}, leftOuterContent), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InputWrapper, {
|
46004
46039
|
ref: innerWrapper,
|
46005
46040
|
$active: active,
|
@@ -46025,43 +46060,25 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
46025
46060
|
placeholder: placeholder,
|
46026
46061
|
"aria-labelledby": label ? labelId : undefined
|
46027
46062
|
})), rightInnerContent), rightOuterContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RightOuterContentWrapper, {
|
46028
|
-
className: (0,
|
46063
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
46029
46064
|
rightOuterContent: true
|
46030
|
-
})
|
46065
|
+
}),
|
46066
|
+
$unstyled: !!props.rightOuterContent
|
46031
46067
|
}, rightOuterContent)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(HelperText, {
|
46032
46068
|
classNamePrefix: classNamePrefix,
|
46033
46069
|
invalid: invalid
|
46034
46070
|
}, helperText));
|
46035
46071
|
});
|
46036
46072
|
FieldWrapper.displayName = 'FieldWrapper';
|
46037
|
-
FieldWrapper.propTypes = {
|
46038
|
-
|
46039
|
-
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
46040
|
-
onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
46041
|
-
onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
46042
|
-
placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
46043
|
-
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
46044
|
-
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
46045
|
-
leftInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46046
|
-
leftOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46047
|
-
rightInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46048
|
-
rightOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46049
|
-
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46050
|
-
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
46051
|
-
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46052
|
-
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46053
|
-
inputProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
46073
|
+
FieldWrapper.propTypes = _objectSpread(_objectSpread({}, _constants__WEBPACK_IMPORTED_MODULE_12__.PT_INPUT_SHARED), {}, {
|
46074
|
+
heightCalculationCallback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
46054
46075
|
Field: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().elementType),
|
46055
46076
|
fieldRef: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
46056
46077
|
current: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Element)
|
46057
46078
|
})]),
|
46058
|
-
required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
46059
|
-
necessityIndicator: _constants__WEBPACK_IMPORTED_MODULE_11__.PT_NECESSITY_INDICATOR,
|
46060
|
-
autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
46061
|
-
heightCalculationCallback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
46062
46079
|
autoresize: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
46063
46080
|
verticalAlign: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
46064
|
-
};
|
46081
|
+
});
|
46065
46082
|
var Field = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input.withConfig({
|
46066
46083
|
displayName: "Field",
|
46067
46084
|
componentId: "sc-r60v1b-0"
|
@@ -46096,14 +46113,14 @@ var InputLabel = function InputLabel(_ref7) {
|
|
46096
46113
|
necessityIndicator = _ref7$necessityIndica === void 0 ? 'asterisk' : _ref7$necessityIndica,
|
46097
46114
|
_ref7$variant = _ref7.variant,
|
46098
46115
|
variant = _ref7$variant === void 0 ? 'sm' : _ref7$variant;
|
46099
|
-
var t = (0,
|
46116
|
+
var t = (0,_translation__WEBPACK_IMPORTED_MODULE_8__.useReactTranslate)();
|
46100
46117
|
if (!label) return null;
|
46101
46118
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(LabelWrapper, {
|
46102
|
-
className: (0,
|
46119
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
46103
46120
|
label: true
|
46104
46121
|
}, className)
|
46105
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
46106
|
-
className: (0,
|
46122
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_9__.Label, {
|
46123
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, _defineProperty({
|
46107
46124
|
labelText: true
|
46108
46125
|
}, 'labelText--is-required', required)),
|
46109
46126
|
id: id,
|
@@ -46113,10 +46130,10 @@ var InputLabel = function InputLabel(_ref7) {
|
|
46113
46130
|
}, t(label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(NecessityIndicator, {
|
46114
46131
|
required: required,
|
46115
46132
|
indicator: necessityIndicator
|
46116
|
-
})), labelIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
46133
|
+
})), labelIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__.Tooltip2, {
|
46117
46134
|
tooltip: labelTooltip
|
46118
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
46119
|
-
className: (0,
|
46135
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, {
|
46136
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
46120
46137
|
labelIcon: true
|
46121
46138
|
}),
|
46122
46139
|
name: labelIcon,
|
@@ -46125,11 +46142,14 @@ var InputLabel = function InputLabel(_ref7) {
|
|
46125
46142
|
})));
|
46126
46143
|
};
|
46127
46144
|
InputLabel.propTypes = {
|
46145
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
46146
|
+
classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
46147
|
+
id: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
46128
46148
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46129
46149
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
46130
46150
|
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
46131
46151
|
required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
46132
|
-
necessityIndicator:
|
46152
|
+
necessityIndicator: _constants__WEBPACK_IMPORTED_MODULE_12__.PT_NECESSITY_INDICATOR,
|
46133
46153
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'lg'])
|
46134
46154
|
};
|
46135
46155
|
var LabelWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
@@ -46139,25 +46159,27 @@ var LabelWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
46139
46159
|
var spacing = _ref8.theme.spacing;
|
46140
46160
|
return spacing['03'];
|
46141
46161
|
});
|
46142
|
-
var NecessityIndicator = function NecessityIndicator(
|
46143
|
-
var required =
|
46144
|
-
indicator =
|
46145
|
-
var t = (0,
|
46162
|
+
var NecessityIndicator = function NecessityIndicator(_ref9) {
|
46163
|
+
var required = _ref9.required,
|
46164
|
+
indicator = _ref9.indicator;
|
46165
|
+
var t = (0,_translation__WEBPACK_IMPORTED_MODULE_8__.useReactTranslate)();
|
46146
46166
|
if (indicator == 'none') return null;
|
46147
|
-
if (indicator == 'text')
|
46167
|
+
if (indicator == 'text') {
|
46168
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Indicator, null, t(required ? '(required)' : '(optional)'));
|
46169
|
+
}
|
46148
46170
|
return required ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Asterisk, null) : null;
|
46149
46171
|
};
|
46150
46172
|
var Indicator = styled_components__WEBPACK_IMPORTED_MODULE_2___default().span.withConfig({
|
46151
46173
|
displayName: "Indicator",
|
46152
46174
|
componentId: "sc-r60v1b-2"
|
46153
|
-
})(["color:", ";margin-left:", ";"], function (
|
46154
|
-
var color =
|
46175
|
+
})(["color:", ";margin-left:", ";"], function (_ref10) {
|
46176
|
+
var color = _ref10.theme.color;
|
46155
46177
|
return color.text_disabled;
|
46156
|
-
}, function (
|
46157
|
-
var spacing =
|
46178
|
+
}, function (_ref11) {
|
46179
|
+
var spacing = _ref11.theme.spacing;
|
46158
46180
|
return spacing['02'];
|
46159
46181
|
});
|
46160
|
-
var Asterisk = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
46182
|
+
var Asterisk = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_9__.Label).attrs({
|
46161
46183
|
tag: 'span',
|
46162
46184
|
variant: 'xs',
|
46163
46185
|
color: 'border_error',
|
@@ -46165,73 +46187,84 @@ var Asterisk = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typogra
|
|
46165
46187
|
}).withConfig({
|
46166
46188
|
displayName: "Asterisk",
|
46167
46189
|
componentId: "sc-r60v1b-3"
|
46168
|
-
})(["margin-left:", ";"], function (
|
46169
|
-
var spacing =
|
46190
|
+
})(["margin-left:", ";"], function (_ref12) {
|
46191
|
+
var spacing = _ref12.theme.spacing;
|
46170
46192
|
return spacing['02'];
|
46171
46193
|
});
|
46172
46194
|
var LeftOuterContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
46173
46195
|
displayName: "LeftOuterContentWrapper",
|
46174
46196
|
componentId: "sc-r60v1b-4"
|
46175
|
-
})(["display:flex;align-items:center;justify-content:center;background-color:", ";height:100%;box-sizing:border-box;border-top:
|
46176
|
-
var color = _ref12.theme.color;
|
46177
|
-
return color.bg_fill;
|
46178
|
-
}, function (_ref13) {
|
46197
|
+
})(["display:flex;align-items:center;justify-content:center;background-color:", ";height:100%;box-sizing:border-box;border-top:", ";border-bottom:", ";border-left:", ";padding:", ";border-top-left-radius:4px;border-bottom-left-radius:4px;font-family:", ";font-size:", ";font-weight:", ";line-height:normal;color:", ";"], function (_ref13) {
|
46179
46198
|
var color = _ref13.theme.color;
|
46180
|
-
return color.
|
46199
|
+
return color.bg_fill;
|
46181
46200
|
}, function (_ref14) {
|
46182
|
-
var
|
46183
|
-
|
46201
|
+
var $unstyled = _ref14.$unstyled,
|
46202
|
+
color = _ref14.theme.color;
|
46203
|
+
return $unstyled ? '0 none' : "1px solid ".concat(color.border);
|
46184
46204
|
}, function (_ref15) {
|
46185
|
-
var
|
46186
|
-
|
46205
|
+
var $unstyled = _ref15.$unstyled,
|
46206
|
+
color = _ref15.theme.color;
|
46207
|
+
return $unstyled ? '0 none' : "1px solid ".concat(color.border);
|
46187
46208
|
}, function (_ref16) {
|
46188
|
-
var
|
46189
|
-
|
46209
|
+
var $unstyled = _ref16.$unstyled,
|
46210
|
+
color = _ref16.theme.color;
|
46211
|
+
return $unstyled ? '0 none' : "1px solid ".concat(color.border);
|
46190
46212
|
}, function (_ref17) {
|
46191
|
-
var
|
46192
|
-
|
46213
|
+
var $unstyled = _ref17.$unstyled,
|
46214
|
+
spacing = _ref17.theme.spacing;
|
46215
|
+
return $unstyled ? '0' : spacing['04'];
|
46193
46216
|
}, function (_ref18) {
|
46194
|
-
var
|
46195
|
-
return
|
46217
|
+
var font_family = _ref18.theme.font_family;
|
46218
|
+
return font_family.sans;
|
46196
46219
|
}, function (_ref19) {
|
46197
|
-
var
|
46198
|
-
return
|
46220
|
+
var font_size = _ref19.theme.font_size;
|
46221
|
+
return font_size.sm;
|
46199
46222
|
}, function (_ref20) {
|
46200
|
-
var
|
46223
|
+
var font_weight = _ref20.theme.font_weight;
|
46224
|
+
return font_weight.regular;
|
46225
|
+
}, function (_ref21) {
|
46226
|
+
var color = _ref21.theme.color;
|
46201
46227
|
return color.text_quaternary;
|
46202
46228
|
});
|
46203
46229
|
var RightOuterContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
46204
46230
|
displayName: "RightOuterContentWrapper",
|
46205
46231
|
componentId: "sc-r60v1b-5"
|
46206
|
-
})(["display:flex;align-items:center;justify-content:center;background-color:", ";height:100%;box-sizing:border-box;border-top:
|
46207
|
-
var color = _ref21.theme.color;
|
46208
|
-
return color.bg_fill;
|
46209
|
-
}, function (_ref22) {
|
46232
|
+
})(["display:flex;align-items:center;justify-content:center;background-color:", ";height:100%;box-sizing:border-box;padding:0 ", ";border-top:", ";border-right:", ";border-bottom:", ";padding:", ";border-top-right-radius:4px;border-bottom-right-radius:4px;font-family:", ";font-size:", ";font-weight:", ";line-height:normal;color:", ";"], function (_ref22) {
|
46210
46233
|
var color = _ref22.theme.color;
|
46211
|
-
return color.
|
46234
|
+
return color.bg_fill;
|
46212
46235
|
}, function (_ref23) {
|
46213
|
-
var
|
46214
|
-
return
|
46236
|
+
var spacing = _ref23.theme.spacing;
|
46237
|
+
return spacing['04'];
|
46215
46238
|
}, function (_ref24) {
|
46216
|
-
var
|
46217
|
-
|
46239
|
+
var $unstyled = _ref24.$unstyled,
|
46240
|
+
color = _ref24.theme.color;
|
46241
|
+
return $unstyled ? '0 none' : "1px solid ".concat(color.border);
|
46218
46242
|
}, function (_ref25) {
|
46219
|
-
var
|
46220
|
-
|
46243
|
+
var $unstyled = _ref25.$unstyled,
|
46244
|
+
color = _ref25.theme.color;
|
46245
|
+
return $unstyled ? '0 none' : "1px solid ".concat(color.border);
|
46221
46246
|
}, function (_ref26) {
|
46222
|
-
var
|
46223
|
-
|
46247
|
+
var $unstyled = _ref26.$unstyled,
|
46248
|
+
color = _ref26.theme.color;
|
46249
|
+
return $unstyled ? '0 none' : "1px solid ".concat(color.border);
|
46224
46250
|
}, function (_ref27) {
|
46225
|
-
var
|
46226
|
-
|
46251
|
+
var $unstyled = _ref27.$unstyled,
|
46252
|
+
spacing = _ref27.theme.spacing;
|
46253
|
+
return $unstyled ? '0' : spacing['04'];
|
46227
46254
|
}, function (_ref28) {
|
46228
|
-
var
|
46229
|
-
return
|
46255
|
+
var font_family = _ref28.theme.font_family;
|
46256
|
+
return font_family.sans;
|
46230
46257
|
}, function (_ref29) {
|
46231
|
-
var
|
46258
|
+
var font_size = _ref29.theme.font_size;
|
46259
|
+
return font_size.sm;
|
46260
|
+
}, function (_ref30) {
|
46261
|
+
var font_weight = _ref30.theme.font_weight;
|
46262
|
+
return font_weight.regular;
|
46263
|
+
}, function (_ref31) {
|
46264
|
+
var color = _ref31.theme.color;
|
46232
46265
|
return color.text_quaternary;
|
46233
46266
|
});
|
46234
|
-
var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
46267
|
+
var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex).withConfig({
|
46235
46268
|
displayName: "InputContentWrapper",
|
46236
46269
|
componentId: "sc-r60v1b-6"
|
46237
46270
|
})(["", " border-radius:4px;"], function (props) {
|
@@ -46240,11 +46273,11 @@ var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
|
|
46240
46273
|
var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
46241
46274
|
displayName: "InputWrapper",
|
46242
46275
|
componentId: "sc-r60v1b-7"
|
46243
|
-
})(["position:relative;width:100%;border:1px solid;border-radius:4px;box-sizing:border-box;font-family:", ";padding:", "px ", "px;overflow:auto;display:flex;gap:8px;align-items:", ";border-left-width:1px;border-right-width:1px;border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";", " ", " box-shadow:", ";"], function (
|
46244
|
-
var font_family =
|
46276
|
+
})(["position:relative;width:100%;border:1px solid;border-radius:4px;box-sizing:border-box;font-family:", ";padding:", "px ", "px;overflow:auto;display:flex;gap:8px;align-items:", ";border-left-width:1px;border-right-width:1px;border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";", " ", " box-shadow:", ";"], function (_ref32) {
|
46277
|
+
var font_family = _ref32.theme.font_family;
|
46245
46278
|
return font_family.sans;
|
46246
|
-
},
|
46247
|
-
var $verticalAlign =
|
46279
|
+
}, _constants__WEBPACK_IMPORTED_MODULE_12__.INPUT_VERTICAL_PADDING, _constants__WEBPACK_IMPORTED_MODULE_12__.INPUT_HORIZONTAL_PADDING, function (_ref33) {
|
46280
|
+
var $verticalAlign = _ref33.$verticalAlign;
|
46248
46281
|
return $verticalAlign !== null && $verticalAlign !== void 0 ? $verticalAlign : 'normal';
|
46249
46282
|
}, function (props) {
|
46250
46283
|
return props.$leftOuterContent ? '0' : '4px';
|
@@ -46257,28 +46290,28 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
46257
46290
|
}, function (props) {
|
46258
46291
|
var _props$$heightCalcula;
|
46259
46292
|
return (_props$$heightCalcula = props.$heightCalculationCallback) === null || _props$$heightCalcula === void 0 ? void 0 : _props$$heightCalcula.call(props);
|
46260
|
-
}, function (
|
46261
|
-
var $disabled =
|
46262
|
-
$invalid =
|
46263
|
-
$active =
|
46264
|
-
color =
|
46293
|
+
}, function (_ref34) {
|
46294
|
+
var $disabled = _ref34.$disabled,
|
46295
|
+
$invalid = _ref34.$invalid,
|
46296
|
+
$active = _ref34.$active,
|
46297
|
+
color = _ref34.theme.color;
|
46265
46298
|
if ($disabled) {
|
46266
46299
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:default;background-color:", ";border-color:", ";color:", ";"], color.bg_fill_teritary, color.border_disabled, color.text_disabled);
|
46267
46300
|
}
|
46268
46301
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:text;background-color:", ";color:", ";border-color:", ";&:hover{border-color:", ";}"], color.bg, color.text_tertiary, $invalid ? color.border_error : $active ? color.border_primary : color.border, color.border_accent);
|
46269
|
-
}, function (
|
46270
|
-
var $active =
|
46271
|
-
shadow =
|
46302
|
+
}, function (_ref35) {
|
46303
|
+
var $active = _ref35.$active,
|
46304
|
+
shadow = _ref35.theme.shadow;
|
46272
46305
|
return $active ? shadow.primary : null;
|
46273
46306
|
});
|
46274
|
-
var HelperText = function HelperText(
|
46275
|
-
var classNamePrefix =
|
46276
|
-
children =
|
46277
|
-
invalid =
|
46307
|
+
var HelperText = function HelperText(_ref36) {
|
46308
|
+
var classNamePrefix = _ref36.classNamePrefix,
|
46309
|
+
children = _ref36.children,
|
46310
|
+
invalid = _ref36.invalid;
|
46278
46311
|
if (!children) return null;
|
46279
46312
|
var color = invalid ? 'text_error' : 'text_quaternary';
|
46280
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
46281
|
-
className: (0,
|
46313
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_9__.Label, {
|
46314
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
46282
46315
|
helperText: true,
|
46283
46316
|
'helperText--invalid': invalid
|
46284
46317
|
}),
|
@@ -46289,6 +46322,7 @@ var HelperText = function HelperText(_ref34) {
|
|
46289
46322
|
};
|
46290
46323
|
HelperText.displayName = 'HelperText';
|
46291
46324
|
HelperText.propTypes = {
|
46325
|
+
classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
46292
46326
|
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
46293
46327
|
};
|
46294
46328
|
var useHeightCalculationCallback = function useHeightCalculationCallback(size) {
|
@@ -46299,7 +46333,7 @@ var useHeightCalculationCallback = function useHeightCalculationCallback(size) {
|
|
46299
46333
|
md: 40,
|
46300
46334
|
lg: 48
|
46301
46335
|
};
|
46302
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["height:", ";"], (0,
|
46336
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["height:", ";"], (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(height[size] || height.sm));
|
46303
46337
|
}, [size]);
|
46304
46338
|
};
|
46305
46339
|
|
@@ -46517,40 +46551,16 @@ var Textbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardR
|
|
46517
46551
|
}, inputProps)
|
46518
46552
|
}));
|
46519
46553
|
});
|
46520
|
-
Textbox.propTypes = {
|
46521
|
-
className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46522
|
-
classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46554
|
+
Textbox.propTypes = _objectSpread(_objectSpread({}, _constants__WEBPACK_IMPORTED_MODULE_2__.PT_INPUT_SHARED), {}, {
|
46523
46555
|
value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46524
|
-
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
46525
|
-
onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
46526
|
-
onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
46527
|
-
onKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
46528
|
-
placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46529
|
-
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
46530
|
-
required: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
46531
|
-
necessityIndicator: _constants__WEBPACK_IMPORTED_MODULE_2__.PT_NECESSITY_INDICATOR,
|
46532
|
-
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
46533
|
-
leftInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
46534
|
-
leftOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
46535
|
-
rightInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
46536
|
-
rightOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
46537
|
-
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
46538
|
-
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46539
|
-
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
46540
|
-
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
46541
|
-
inputProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
|
46542
46556
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
|
46543
|
-
autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
46544
|
-
fieldRef: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().func), prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
|
46545
|
-
current: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(Element)
|
46546
|
-
})]),
|
46547
46557
|
minLength: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
|
46548
46558
|
maxLength: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
|
46549
46559
|
type: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
46550
46560
|
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
|
46551
46561
|
readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
46552
46562
|
autoComplete: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
46553
|
-
};
|
46563
|
+
});
|
46554
46564
|
Textbox.displayName = 'Textbox';
|
46555
46565
|
|
46556
46566
|
/***/ }),
|
@@ -114225,6 +114235,34 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
|
|
114225
114235
|
|
114226
114236
|
/***/ }),
|
114227
114237
|
|
114238
|
+
/***/ "./assets/icons/tag.svg":
|
114239
|
+
/*!******************************!*\
|
114240
|
+
!*** ./assets/icons/tag.svg ***!
|
114241
|
+
\******************************/
|
114242
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
114243
|
+
|
114244
|
+
"use strict";
|
114245
|
+
__webpack_require__.r(__webpack_exports__);
|
114246
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
114247
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
114248
|
+
/* harmony export */ });
|
114249
|
+
/* 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");
|
114250
|
+
/* 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__);
|
114251
|
+
/* 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");
|
114252
|
+
/* 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__);
|
114253
|
+
|
114254
|
+
|
114255
|
+
var symbol = new (_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default())({
|
114256
|
+
"id": "tag_uikit_icon",
|
114257
|
+
"use": "tag_uikit_icon-usage",
|
114258
|
+
"viewBox": "0 0 18 18",
|
114259
|
+
"content": "<symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\" id=\"tag_uikit_icon\"><path fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\".094\" d=\"m9.217.9 7.759 7.758.033-.033-.034.033a1.2 1.2 0 0 1 0 1.702l.034.033-.034-.033-6.615 6.616.033.033-.033-.034a1.2 1.2 0 0 1-1.702 0l-.033.034.033-.034L.9 9.218a1.2 1.2 0 0 1-.353-.85V1.124a.58.58 0 0 1 .578-.578h7.241a1.2 1.2 0 0 1 .85.352Zm.258 15.258.034.033.033-.033 6.616-6.616.033-.033-.033-.034L8.4 1.717l-.014-.014H1.703v6.683l.014.014zM5.453 4.563a.89.89 0 1 1-1.781 0 .89.89 0 0 1 1.781 0Z\" /></symbol>"
|
114260
|
+
});
|
114261
|
+
var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default().add(symbol);
|
114262
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (symbol);
|
114263
|
+
|
114264
|
+
/***/ }),
|
114265
|
+
|
114228
114266
|
/***/ "./assets/icons/target.svg":
|
114229
114267
|
/*!*********************************!*\
|
114230
114268
|
!*** ./assets/icons/target.svg ***!
|