@luminati-io/uikit 3.5.1-beta.2 → 3.5.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -261,16 +261,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
261
261
|
/* harmony import */ var _upload_svg__WEBPACK_IMPORTED_MODULE_236__ = __webpack_require__(/*! ./upload.svg */ "./assets/icons/upload.svg");
|
262
262
|
/* harmony import */ var _url_svg__WEBPACK_IMPORTED_MODULE_237__ = __webpack_require__(/*! ./url.svg */ "./assets/icons/url.svg");
|
263
263
|
/* harmony import */ var _verify_svg__WEBPACK_IMPORTED_MODULE_238__ = __webpack_require__(/*! ./verify.svg */ "./assets/icons/verify.svg");
|
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
|
264
|
+
/* harmony import */ var _verify_solid_svg__WEBPACK_IMPORTED_MODULE_239__ = __webpack_require__(/*! ./verify_solid.svg */ "./assets/icons/verify_solid.svg");
|
265
|
+
/* harmony import */ var _verify_warning_svg__WEBPACK_IMPORTED_MODULE_240__ = __webpack_require__(/*! ./verify_warning.svg */ "./assets/icons/verify_warning.svg");
|
266
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_241__ = __webpack_require__(/*! ./video.svg */ "./assets/icons/video.svg");
|
267
|
+
/* harmony import */ var _visa_svg__WEBPACK_IMPORTED_MODULE_242__ = __webpack_require__(/*! ./visa.svg */ "./assets/icons/visa.svg");
|
268
|
+
/* harmony import */ var _warning_svg__WEBPACK_IMPORTED_MODULE_243__ = __webpack_require__(/*! ./warning.svg */ "./assets/icons/warning.svg");
|
269
|
+
/* harmony import */ var _warning_solid_svg__WEBPACK_IMPORTED_MODULE_244__ = __webpack_require__(/*! ./warning_solid.svg */ "./assets/icons/warning_solid.svg");
|
270
|
+
/* harmony import */ var _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_245__ = __webpack_require__(/*! ./web_scrapper.svg */ "./assets/icons/web_scrapper.svg");
|
271
|
+
/* harmony import */ var _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_246__ = __webpack_require__(/*! ./web_scrapper_small.svg */ "./assets/icons/web_scrapper_small.svg");
|
272
|
+
/* harmony import */ var _web_unlock_svg__WEBPACK_IMPORTED_MODULE_247__ = __webpack_require__(/*! ./web_unlock.svg */ "./assets/icons/web_unlock.svg");
|
273
|
+
/* harmony import */ var _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_248__ = __webpack_require__(/*! ./web_unlock_small.svg */ "./assets/icons/web_unlock_small.svg");
|
274
|
+
/* harmony import */ var _wire_svg__WEBPACK_IMPORTED_MODULE_249__ = __webpack_require__(/*! ./wire.svg */ "./assets/icons/wire.svg");
|
274
275
|
// LICENSE_CODE ZON
|
275
276
|
/*jslint react:true*/
|
276
277
|
|
@@ -522,6 +523,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
522
523
|
|
523
524
|
|
524
525
|
|
526
|
+
|
525
527
|
|
526
528
|
|
527
529
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
@@ -764,16 +766,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
764
766
|
Upload: _upload_svg__WEBPACK_IMPORTED_MODULE_236__["default"],
|
765
767
|
Url: _url_svg__WEBPACK_IMPORTED_MODULE_237__["default"],
|
766
768
|
Verify: _verify_svg__WEBPACK_IMPORTED_MODULE_238__["default"],
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
769
|
+
VerifySolid: _verify_solid_svg__WEBPACK_IMPORTED_MODULE_239__["default"],
|
770
|
+
VerifyWarning: _verify_warning_svg__WEBPACK_IMPORTED_MODULE_240__["default"],
|
771
|
+
Video: _video_svg__WEBPACK_IMPORTED_MODULE_241__["default"],
|
772
|
+
Visa: _visa_svg__WEBPACK_IMPORTED_MODULE_242__["default"],
|
773
|
+
Warning: _warning_svg__WEBPACK_IMPORTED_MODULE_243__["default"],
|
774
|
+
WarningSolid: _warning_solid_svg__WEBPACK_IMPORTED_MODULE_244__["default"],
|
775
|
+
WebScrapper: _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_245__["default"],
|
776
|
+
WebScrapperSmall: _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_246__["default"],
|
777
|
+
WebUnlock: _web_unlock_svg__WEBPACK_IMPORTED_MODULE_247__["default"],
|
778
|
+
WebUnlockSmall: _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_248__["default"],
|
779
|
+
Wire: _wire_svg__WEBPACK_IMPORTED_MODULE_249__["default"],
|
777
780
|
});
|
778
781
|
|
779
782
|
|
@@ -32225,7 +32228,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
32225
32228
|
/*jslint react:true*/
|
32226
32229
|
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); }
|
32227
32230
|
|
32228
|
-
var _excluded = ["id", "styles", "size", "async", "creatable", "isOptionDisabled", "className", "label", "labelIcon", "required", "necessityIndicator", "invalid", "helperText", "placeholder", "disabled"];
|
32231
|
+
var _excluded = ["id", "styles", "size", "async", "creatable", "isOptionDisabled", "className", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "invalid", "helperText", "placeholder", "disabled"];
|
32229
32232
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
32230
32233
|
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; }
|
32231
32234
|
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; }
|
@@ -32257,6 +32260,7 @@ var CheckboxList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().for
|
|
32257
32260
|
className = props.className,
|
32258
32261
|
label = props.label,
|
32259
32262
|
labelIcon = props.labelIcon,
|
32263
|
+
labelTooltip = props.labelTooltip,
|
32260
32264
|
required = props.required,
|
32261
32265
|
necessityIndicator = props.necessityIndicator,
|
32262
32266
|
invalid = props.invalid,
|
@@ -32291,6 +32295,7 @@ var CheckboxList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().for
|
|
32291
32295
|
id: labelId,
|
32292
32296
|
label: label,
|
32293
32297
|
labelIcon: labelIcon,
|
32298
|
+
labelTooltip: labelTooltip,
|
32294
32299
|
required: required,
|
32295
32300
|
necessityIndicator: necessityIndicator
|
32296
32301
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SelectComp, _extends({}, selectProps, {
|
@@ -32326,6 +32331,7 @@ CheckboxList.propTypes = {
|
|
32326
32331
|
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
32327
32332
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
32328
32333
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
32334
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
32329
32335
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
32330
32336
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg']),
|
32331
32337
|
virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
@@ -33526,7 +33532,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
33526
33532
|
|
33527
33533
|
|
33528
33534
|
/*jslint react:true*/
|
33529
|
-
var _excluded = ["id", "label", "labelIcon", "required", "necessityIndicator", "placeholder", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "className", "classNamePrefix", "hideSelectedOptions", "isOptionDisabled", "async", "searchable", "closeMenuOnSelect"];
|
33535
|
+
var _excluded = ["id", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "placeholder", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "className", "classNamePrefix", "hideSelectedOptions", "isOptionDisabled", "async", "searchable", "closeMenuOnSelect"];
|
33530
33536
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
33531
33537
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
33532
33538
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
@@ -33560,6 +33566,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
33560
33566
|
var id = restProps.id,
|
33561
33567
|
label = restProps.label,
|
33562
33568
|
labelIcon = restProps.labelIcon,
|
33569
|
+
labelTooltip = restProps.labelTooltip,
|
33563
33570
|
required = restProps.required,
|
33564
33571
|
necessityIndicator = restProps.necessityIndicator,
|
33565
33572
|
placeholder = restProps.placeholder,
|
@@ -33595,6 +33602,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
33595
33602
|
id: labelId,
|
33596
33603
|
label: label,
|
33597
33604
|
labelIcon: labelIcon,
|
33605
|
+
labelTooltip: labelTooltip,
|
33598
33606
|
required: required,
|
33599
33607
|
necessityIndicator: necessityIndicator,
|
33600
33608
|
classNamePrefix: className
|
@@ -33637,6 +33645,7 @@ Dropdown.propTypes = {
|
|
33637
33645
|
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
33638
33646
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
33639
33647
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
33648
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
33640
33649
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
33641
33650
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
|
33642
33651
|
options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)),
|
@@ -34363,6 +34372,7 @@ Number.propTypes = {
|
|
34363
34372
|
rightOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
34364
34373
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
34365
34374
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
34375
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
34366
34376
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
34367
34377
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
|
34368
34378
|
changeOnBlur: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
@@ -34406,7 +34416,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
34406
34416
|
|
34407
34417
|
/*jslint react:true*/
|
34408
34418
|
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); }
|
34409
|
-
var _excluded = ["className", "classNamePrefix", "value", "onChange", "disabled", "options", "variant", "size", "label", "labelIcon", "helperText", "invalid", "required", "necessityIndicator"],
|
34419
|
+
var _excluded = ["className", "classNamePrefix", "value", "onChange", "disabled", "options", "variant", "size", "label", "labelIcon", "labelTooltip", "helperText", "invalid", "required", "necessityIndicator"],
|
34410
34420
|
_excluded2 = ["classNamePrefix", "value", "checked", "onClick", "label", "disabled", "size", "tooltip", "interactive_tooltip", "verticalAlign"];
|
34411
34421
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
34412
34422
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
@@ -34436,6 +34446,7 @@ var RadioGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
|
|
34436
34446
|
size = props.size,
|
34437
34447
|
label = props.label,
|
34438
34448
|
labelIcon = props.labelIcon,
|
34449
|
+
labelTooltip = props.labelTooltip,
|
34439
34450
|
helperText = props.helperText,
|
34440
34451
|
invalid = props.invalid,
|
34441
34452
|
required = props.required,
|
@@ -34457,6 +34468,7 @@ var RadioGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
|
|
34457
34468
|
id: labelId,
|
34458
34469
|
label: label,
|
34459
34470
|
labelIcon: labelIcon,
|
34471
|
+
labelTooltip: labelTooltip,
|
34460
34472
|
required: required,
|
34461
34473
|
necessityIndicator: necessityIndicator,
|
34462
34474
|
variant: "lg"
|
@@ -34497,6 +34509,7 @@ RadioGroup.propTypes = {
|
|
34497
34509
|
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34498
34510
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34499
34511
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
34512
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34500
34513
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34501
34514
|
size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md']),
|
34502
34515
|
options: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
@@ -34648,16 +34661,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
34648
34661
|
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
34649
34662
|
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
|
34650
34663
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
34651
|
-
/* harmony import */ var
|
34652
|
-
/* harmony import */ var
|
34653
|
-
/* harmony import */ var
|
34654
|
-
/* harmony import */ var
|
34664
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip.js");
|
34665
|
+
/* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../translation */ "./src/translation.js");
|
34666
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
34667
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
34668
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
34655
34669
|
// LICENSE_CODE ZON
|
34656
34670
|
|
34657
34671
|
|
34658
34672
|
/*jslint react:true*/
|
34659
34673
|
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); }
|
34660
|
-
var _excluded = ["id", "value", "leftInnerContent", "leftOuterContent", "rightInnerContent", "rightOuterContent", "heightCalculationCallback", "Field", "onChange", "onFocus", "onBlur", "placeholder", "disabled", "invalid", "autofocus", "helperText", "label", "labelIcon", "required", "necessityIndicator", "autoresize", "verticalAlign", "innerWrapper"];
|
34674
|
+
var _excluded = ["id", "value", "leftInnerContent", "leftOuterContent", "rightInnerContent", "rightOuterContent", "heightCalculationCallback", "Field", "onChange", "onFocus", "onBlur", "placeholder", "disabled", "invalid", "autofocus", "helperText", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "autoresize", "verticalAlign", "innerWrapper"];
|
34661
34675
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
34662
34676
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
34663
34677
|
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); }
|
@@ -34681,6 +34695,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
34681
34695
|
|
34682
34696
|
|
34683
34697
|
|
34698
|
+
|
34684
34699
|
var inputVerticalPadding = 4;
|
34685
34700
|
var inputHorizontalPadding = 12;
|
34686
34701
|
var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
|
@@ -34702,6 +34717,7 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
34702
34717
|
helperText = props.helperText,
|
34703
34718
|
label = props.label,
|
34704
34719
|
labelIcon = props.labelIcon,
|
34720
|
+
labelTooltip = props.labelTooltip,
|
34705
34721
|
required = props.required,
|
34706
34722
|
necessityIndicator = props.necessityIndicator,
|
34707
34723
|
autoresize = props.autoresize,
|
@@ -34731,18 +34747,19 @@ var FieldWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
|
|
34731
34747
|
}, []);
|
34732
34748
|
(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
|
34733
34749
|
// XXX vadimv: hack to autoresize textarea
|
34734
|
-
if (autoresize) field.current.style.height = (0,
|
34750
|
+
if (autoresize) field.current.style.height = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(field.current.scrollHeight);
|
34735
34751
|
}, [autoresize, value]);
|
34736
34752
|
var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useLabelId)(id);
|
34737
34753
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex, _extends({
|
34738
34754
|
ref: ref
|
34739
|
-
}, (0,
|
34755
|
+
}, (0,_util__WEBPACK_IMPORTED_MODULE_10__.getCommonProps)(rest), {
|
34740
34756
|
flex_direction: "column",
|
34741
34757
|
gap: "4px"
|
34742
34758
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InputLabel, {
|
34743
34759
|
id: labelId,
|
34744
34760
|
label: label,
|
34745
34761
|
labelIcon: labelIcon,
|
34762
|
+
labelTooltip: labelTooltip,
|
34746
34763
|
required: required,
|
34747
34764
|
necessityIndicator: necessityIndicator
|
34748
34765
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InputContentWrapper, {
|
@@ -34788,6 +34805,8 @@ FieldWrapper.propTypes = {
|
|
34788
34805
|
rightInnerContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34789
34806
|
rightOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
34790
34807
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34808
|
+
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
34809
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34791
34810
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34792
34811
|
inputProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
34793
34812
|
Field: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().elementType)
|
@@ -34803,17 +34822,18 @@ var InputLabel = function InputLabel(props) {
|
|
34803
34822
|
id = props.id,
|
34804
34823
|
label = props.label,
|
34805
34824
|
labelIcon = props.labelIcon,
|
34825
|
+
labelTooltip = props.labelTooltip,
|
34806
34826
|
required = props.required,
|
34807
34827
|
necessityIndicator = props.necessityIndicator,
|
34808
34828
|
variant = props.variant;
|
34809
|
-
var t = (0,
|
34829
|
+
var t = (0,_translation__WEBPACK_IMPORTED_MODULE_8__.useReactTranslate)();
|
34810
34830
|
if (!label) return null;
|
34811
34831
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(LabelWrapper, {
|
34812
|
-
className: (0,
|
34832
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
34813
34833
|
label: true
|
34814
34834
|
}, className)
|
34815
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
34816
|
-
className: (0,
|
34835
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_9__.Label, {
|
34836
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, _defineProperty({
|
34817
34837
|
labelText: true
|
34818
34838
|
}, 'labelText--is-required', required)),
|
34819
34839
|
id: id,
|
@@ -34823,14 +34843,17 @@ var InputLabel = function InputLabel(props) {
|
|
34823
34843
|
}, t(label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(NecessityIndicator, {
|
34824
34844
|
required: required,
|
34825
34845
|
indicator: necessityIndicator
|
34826
|
-
})), labelIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
34827
|
-
|
34846
|
+
})), labelIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__.Tooltip, {
|
34847
|
+
tooltip: labelTooltip,
|
34848
|
+
noWrap: true
|
34849
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
34850
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_10__.classNames)(classNamePrefix, {
|
34828
34851
|
labelIcon: true
|
34829
34852
|
}),
|
34830
34853
|
name: labelIcon,
|
34831
34854
|
size: "xs",
|
34832
34855
|
color: "gray_9"
|
34833
|
-
}));
|
34856
|
+
})));
|
34834
34857
|
};
|
34835
34858
|
InputLabel.displayName = 'InputLabel';
|
34836
34859
|
InputLabel.defaultProps = {
|
@@ -34839,6 +34862,7 @@ InputLabel.defaultProps = {
|
|
34839
34862
|
InputLabel.propTypes = {
|
34840
34863
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34841
34864
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
34865
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
34842
34866
|
required: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34843
34867
|
necessityIndicator: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['asterisk', 'text']),
|
34844
34868
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'lg'])
|
@@ -34853,7 +34877,7 @@ var LabelWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
34853
34877
|
var NecessityIndicator = function NecessityIndicator(props) {
|
34854
34878
|
var required = props.required,
|
34855
34879
|
indicator = props.indicator;
|
34856
|
-
var t = (0,
|
34880
|
+
var t = (0,_translation__WEBPACK_IMPORTED_MODULE_8__.useReactTranslate)();
|
34857
34881
|
if (indicator == 'text') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Indicator, null, t(required ? '(required)' : '(optional)'));
|
34858
34882
|
return required ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Asterisk, null) : null;
|
34859
34883
|
};
|
@@ -34861,7 +34885,7 @@ var Indicator = styled_components__WEBPACK_IMPORTED_MODULE_2___default().span.wi
|
|
34861
34885
|
displayName: "Indicator",
|
34862
34886
|
componentId: "sc-r60v1b-2"
|
34863
34887
|
})(["color:", ";margin-left:", ";"], _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_9, _theme__WEBPACK_IMPORTED_MODULE_6__["default"].spacing['02']);
|
34864
|
-
var Asterisk = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
34888
|
+
var Asterisk = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_9__.Label).attrs({
|
34865
34889
|
tag: 'span',
|
34866
34890
|
variant: 'xs',
|
34867
34891
|
color: 'red_11',
|
@@ -34906,7 +34930,7 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
34906
34930
|
borderTopRightRadius = borderBottomRightRadius = 0;
|
34907
34931
|
borderRightWidth = 0;
|
34908
34932
|
}
|
34909
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["border-left-width:", ";border-right-width:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";"], (0,
|
34933
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["border-left-width:", ";border-right-width:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";"], (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(borderLeftWidth), (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(borderRightWidth), (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(borderTopLeftRadius), (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(borderBottomLeftRadius), (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(borderTopRightRadius), (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(borderBottomRightRadius));
|
34910
34934
|
}, function (props) {
|
34911
34935
|
var _props$$heightCalcula;
|
34912
34936
|
return (_props$$heightCalcula = props.$heightCalculationCallback) === null || _props$$heightCalcula === void 0 ? void 0 : _props$$heightCalcula.call(props);
|
@@ -34936,7 +34960,7 @@ var HelperText = function HelperText(props) {
|
|
34936
34960
|
invalid = props.invalid;
|
34937
34961
|
if (!children) return null;
|
34938
34962
|
var color = invalid ? 'red_11' : 'gray_11_50';
|
34939
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
34963
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_9__.Label, {
|
34940
34964
|
"data-role": "description",
|
34941
34965
|
variant: "xs",
|
34942
34966
|
color: color
|
@@ -34954,7 +34978,7 @@ var useHeightCalculationCallback = function useHeightCalculationCallback(size) {
|
|
34954
34978
|
md: 40,
|
34955
34979
|
lg: 48
|
34956
34980
|
};
|
34957
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["height:", ";"], (0,
|
34981
|
+
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["height:", ";"], (0,_utils__WEBPACK_IMPORTED_MODULE_11__.toPixel)(height[size] || height.sm));
|
34958
34982
|
}, [size]);
|
34959
34983
|
};
|
34960
34984
|
|
@@ -35036,6 +35060,7 @@ Textarea.propTypes = {
|
|
35036
35060
|
rightOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
35037
35061
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
35038
35062
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
35063
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
35039
35064
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
35040
35065
|
rows: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
|
35041
35066
|
};
|
@@ -35111,6 +35136,7 @@ Textbox.propTypes = {
|
|
35111
35136
|
rightOuterContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
|
35112
35137
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
35113
35138
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
35139
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
35114
35140
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
35115
35141
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
|
35116
35142
|
autofocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
|
@@ -35409,7 +35435,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35409
35435
|
|
35410
35436
|
/*jslint node:true, react:true*/
|
35411
35437
|
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); }
|
35412
|
-
var _excluded = ["className", "size", "label", "labelIcon", "required", "necessityIndicator", "disabled", "buttonText", "onButtonClick", "invalid", "helperText", "placeholder", "value", "onFocus", "onBlur", "onValidate", "onRemoveItem", "onChange", "maxItems", "itemRenderer", "isItemDisabled", "defaultInputValue", "defaultValue"];
|
35438
|
+
var _excluded = ["className", "size", "label", "labelIcon", "labelTooltip", "required", "necessityIndicator", "disabled", "buttonText", "onButtonClick", "invalid", "helperText", "placeholder", "value", "onFocus", "onBlur", "onValidate", "onRemoveItem", "onChange", "maxItems", "itemRenderer", "isItemDisabled", "defaultInputValue", "defaultValue"];
|
35413
35439
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
35414
35440
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
35415
35441
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
@@ -35439,6 +35465,7 @@ var TextboxList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forw
|
|
35439
35465
|
size = props.size,
|
35440
35466
|
label = props.label,
|
35441
35467
|
labelIcon = props.labelIcon,
|
35468
|
+
labelTooltip = props.labelTooltip,
|
35442
35469
|
required = props.required,
|
35443
35470
|
necessityIndicator = props.necessityIndicator,
|
35444
35471
|
disabled = props.disabled,
|
@@ -35556,6 +35583,7 @@ var TextboxList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forw
|
|
35556
35583
|
id: labelId,
|
35557
35584
|
label: label,
|
35558
35585
|
labelIcon: labelIcon,
|
35586
|
+
labelTooltip: labelTooltip,
|
35559
35587
|
required: required,
|
35560
35588
|
necessityIndicator: necessityIndicator,
|
35561
35589
|
classNamePrefix: className
|
@@ -35598,6 +35626,7 @@ TextboxList.propTypes = {
|
|
35598
35626
|
invalid: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
|
35599
35627
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
35600
35628
|
labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
35629
|
+
labelTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
35601
35630
|
helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
35602
35631
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg']),
|
35603
35632
|
buttonText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
|
@@ -37756,7 +37785,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
37756
37785
|
/*jslint react:true*/
|
37757
37786
|
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); }
|
37758
37787
|
|
37759
|
-
var _excluded = ["data", "pageSize", "pageSizes", "children", "stateManager", "hooks", "NoDataComp", "LoadingComp", "ExpandHandleComp", "noDataText", "loadingText", "isLoading", "onPageChange", "manualPagination", "totalCount", "paginateExpandedRows", "getHeaderProps", "getColumnProps", "getRowProps", "getCellProps", "getFooterProps", "selectedRowIds", "canOrderColumns", "rowActions", "columnSort", "onColumnSortChanged", "isCellEditable", "onStartEdit"];
|
37788
|
+
var _excluded = ["columns", "data", "pageSize", "pageSizes", "children", "stateManager", "hooks", "NoDataComp", "LoadingComp", "ExpandHandleComp", "noDataText", "loadingText", "isLoading", "onPageChange", "manualPagination", "totalCount", "paginateExpandedRows", "getHeaderProps", "getColumnProps", "getRowProps", "getCellProps", "getFooterProps", "selectedRowIds", "canOrderColumns", "rowActions", "columnSort", "onColumnSortChanged", "isCellEditable", "onStartEdit"];
|
37760
37789
|
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; }
|
37761
37790
|
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; }
|
37762
37791
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
@@ -37801,13 +37830,15 @@ var Cell = function Cell(props) {
|
|
37801
37830
|
}, String(props.value));
|
37802
37831
|
};
|
37803
37832
|
var Provider = function Provider(props) {
|
37833
|
+
var _columns$;
|
37804
37834
|
var defaultColumn = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
37805
37835
|
return {
|
37806
37836
|
minWidth: 100,
|
37807
37837
|
Cell: Cell
|
37808
37838
|
};
|
37809
37839
|
}, []);
|
37810
|
-
var
|
37840
|
+
var columns = props.columns,
|
37841
|
+
data = props.data,
|
37811
37842
|
pageSize = props.pageSize,
|
37812
37843
|
pageSizes = props.pageSizes,
|
37813
37844
|
children = props.children,
|
@@ -37860,6 +37891,7 @@ var Provider = function Provider(props) {
|
|
37860
37891
|
selectedRowIds: selectedRowIds
|
37861
37892
|
});
|
37862
37893
|
var table = react_table__WEBPACK_IMPORTED_MODULE_3__.useTable.apply(void 0, [_objectSpread({
|
37894
|
+
columns: columns,
|
37863
37895
|
data: data,
|
37864
37896
|
defaultColumn: defaultColumn,
|
37865
37897
|
initialState: initialState,
|
@@ -37893,6 +37925,7 @@ var Provider = function Provider(props) {
|
|
37893
37925
|
var _LoadingComp = useComp(loadingText, LoadingComp);
|
37894
37926
|
var _NoDataComp = useComp(noDataText, NoDataComp);
|
37895
37927
|
var orderLogic = (0,_order_logic__WEBPACK_IMPORTED_MODULE_13__.useOrderLogic)(table);
|
37928
|
+
var expandColumnId = (_columns$ = columns[0]) === null || _columns$ === void 0 ? void 0 : _columns$.id;
|
37896
37929
|
var value = _objectSpread(_objectSpread({
|
37897
37930
|
columnSort: columnSort,
|
37898
37931
|
onColumnSortChanged: onColumnSortChanged,
|
@@ -37903,7 +37936,8 @@ var Provider = function Provider(props) {
|
|
37903
37936
|
orderLogic: orderLogic,
|
37904
37937
|
LoadingComp: _LoadingComp,
|
37905
37938
|
NoDataComp: _NoDataComp,
|
37906
|
-
rowActions: rowActions
|
37939
|
+
rowActions: rowActions,
|
37940
|
+
expandColumnId: expandColumnId
|
37907
37941
|
});
|
37908
37942
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableContext.Provider, {
|
37909
37943
|
value: value
|
@@ -38862,7 +38896,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
38862
38896
|
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
38863
38897
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
38864
38898
|
/* harmony import */ var _sort_icon__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./sort_icon */ "./src/table/sort_icon.js");
|
38865
|
-
/* harmony import */ var
|
38899
|
+
/* harmony import */ var _sys_columns__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./sys_columns */ "./src/table/sys_columns.js");
|
38866
38900
|
// LICENSE_CODE ZON
|
38867
38901
|
|
38868
38902
|
|
@@ -38885,7 +38919,7 @@ var HeaderFunctions = function HeaderFunctions(props) {
|
|
38885
38919
|
orderLogic = props.orderLogic,
|
38886
38920
|
canSort = props.canSort,
|
38887
38921
|
onSortChanged = props.onSortChanged;
|
38888
|
-
if ((0,
|
38922
|
+
if ((0,_sys_columns__WEBPACK_IMPORTED_MODULE_9__.isSysColumn)(header)) return null;
|
38889
38923
|
var id = header.id,
|
38890
38924
|
canHide = header.canHide,
|
38891
38925
|
canPin = header.canPin,
|
@@ -39136,11 +39170,11 @@ _table__WEBPACK_IMPORTED_MODULE_3__.Table.plugins = _plugin__WEBPACK_IMPORTED_MO
|
|
39136
39170
|
"use strict";
|
39137
39171
|
__webpack_require__.r(__webpack_exports__);
|
39138
39172
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
39139
|
-
/* harmony export */ isSysColumn: () => (/* binding */ isSysColumn),
|
39140
39173
|
/* harmony export */ useOrderLogic: () => (/* binding */ useOrderLogic)
|
39141
39174
|
/* harmony export */ });
|
39142
39175
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
39143
39176
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
39177
|
+
/* harmony import */ var _sys_columns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sys_columns */ "./src/table/sys_columns.js");
|
39144
39178
|
// LICENSE_CODE ZON
|
39145
39179
|
|
39146
39180
|
|
@@ -39162,10 +39196,7 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symb
|
|
39162
39196
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
39163
39197
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
39164
39198
|
|
39165
|
-
|
39166
|
-
var isSysColumn = function isSysColumn(id) {
|
39167
|
-
return sysColumns.includes(id);
|
39168
|
-
};
|
39199
|
+
|
39169
39200
|
var useOrderLogic = function useOrderLogic(table) {
|
39170
39201
|
var _table$state = table.state,
|
39171
39202
|
columnOrder = _table$state.columnOrder,
|
@@ -39174,12 +39205,12 @@ var useOrderLogic = function useOrderLogic(table) {
|
|
39174
39205
|
setColumnOrder = table.setColumnOrder,
|
39175
39206
|
setHiddenColumns = table.setHiddenColumns,
|
39176
39207
|
togglePinColumn = table.togglePinColumn,
|
39177
|
-
|
39208
|
+
all = table.allColumns;
|
39178
39209
|
var allColumns = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
|
39179
|
-
return
|
39180
|
-
return !
|
39210
|
+
return all.filter(function (c) {
|
39211
|
+
return !(0,_sys_columns__WEBPACK_IMPORTED_MODULE_1__.isSysColumn)(c);
|
39181
39212
|
});
|
39182
|
-
}, [
|
39213
|
+
}, [all]);
|
39183
39214
|
var getColumnCategory = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (id) {
|
39184
39215
|
if (hiddenColumns.includes(id)) return 'hidden';
|
39185
39216
|
if (pinnedColumns.includes(id)) return 'pinned';
|
@@ -39229,7 +39260,7 @@ var useOrderLogic = function useOrderLogic(table) {
|
|
39229
39260
|
return setColumnOrder([].concat(_toConsumableArray(pinned), _toConsumableArray(visible), _toConsumableArray(hidden)));
|
39230
39261
|
}, [setColumnOrder]);
|
39231
39262
|
var moveBackwards = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (id) {
|
39232
|
-
if (isSysColumn(id)) return;
|
39263
|
+
if ((0,_sys_columns__WEBPACK_IMPORTED_MODULE_1__.isSysColumn)(id)) return;
|
39233
39264
|
var category = getColumnCategory(id);
|
39234
39265
|
var arr = orders[category];
|
39235
39266
|
var n = arr.indexOf(id);
|
@@ -39241,7 +39272,7 @@ var useOrderLogic = function useOrderLogic(table) {
|
|
39241
39272
|
setOrders(newOrder);
|
39242
39273
|
}, [getColumnCategory, orders, setOrders]);
|
39243
39274
|
var moveForward = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (id) {
|
39244
|
-
if (isSysColumn(id)) return;
|
39275
|
+
if ((0,_sys_columns__WEBPACK_IMPORTED_MODULE_1__.isSysColumn)(id)) return;
|
39245
39276
|
var category = getColumnCategory(id);
|
39246
39277
|
var arr = orders[category];
|
39247
39278
|
var n = arr.indexOf(id);
|
@@ -39253,7 +39284,7 @@ var useOrderLogic = function useOrderLogic(table) {
|
|
39253
39284
|
setOrders(newOrder);
|
39254
39285
|
}, [getColumnCategory, orders, setOrders]);
|
39255
39286
|
var moveColumn = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (id, cat, n) {
|
39256
|
-
if (isSysColumn(id)) return;
|
39287
|
+
if ((0,_sys_columns__WEBPACK_IMPORTED_MODULE_1__.isSysColumn)(id)) return;
|
39257
39288
|
var srcCat = getColumnCategory(id);
|
39258
39289
|
if (srcCat == cat && orders[srcCat][n] == id) return;
|
39259
39290
|
var newOrders = _objectSpread({}, orders);
|
@@ -39806,16 +39837,19 @@ var renderRow = function renderRow(opt) {
|
|
39806
39837
|
rowDensity = opt.rowDensity,
|
39807
39838
|
isLast = opt.isLast,
|
39808
39839
|
renderRowSubComponent = opt.renderRowSubComponent;
|
39840
|
+
var isExpanded = row.isExpanded,
|
39841
|
+
isPinned = row.isPinned,
|
39842
|
+
original = row.original;
|
39809
39843
|
var rowProps = row.getRowProps(getRowProps === null || getRowProps === void 0 ? void 0 : getRowProps(row));
|
39810
39844
|
var onClick = onRowClick ? function (evt) {
|
39811
|
-
if (!evt.target.matches(".".concat(preventOnClickClass, " *"))) onRowClick(
|
39845
|
+
if (!evt.target.matches(".".concat(preventOnClickClass, " *"))) onRowClick(original, evt);
|
39812
39846
|
} : undefined;
|
39813
39847
|
var cursor = onRowClick ? 'pointer' : undefined;
|
39814
39848
|
var tableRow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TableRow, _extends({}, rowProps, {
|
39815
39849
|
onClick: onClick,
|
39816
39850
|
className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(className, {
|
39817
39851
|
tableRow: true,
|
39818
|
-
'tableRow--is-pinned':
|
39852
|
+
'tableRow--is-pinned': isPinned,
|
39819
39853
|
'tableRow--is-last': isLast
|
39820
39854
|
}, rowProps.className),
|
39821
39855
|
$cursor: cursor,
|
@@ -39828,7 +39862,7 @@ var renderRow = function renderRow(opt) {
|
|
39828
39862
|
className: className
|
39829
39863
|
});
|
39830
39864
|
}));
|
39831
|
-
if (!
|
39865
|
+
if (!isExpanded || !renderRowSubComponent) return tableRow;
|
39832
39866
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
|
39833
39867
|
key: "".concat(rowProps.key, "_fragment")
|
39834
39868
|
}, tableRow, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TableRow, _extends({}, rowProps, {
|
@@ -39844,7 +39878,7 @@ var renderRow = function renderRow(opt) {
|
|
39844
39878
|
var TableRow = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
39845
39879
|
displayName: "TableRow",
|
39846
39880
|
componentId: "sc-vrm5bg-0"
|
39847
|
-
})(["cursor:", ";border-bottom:", ";& ", "{height:", "px;}&:hover ", "{background-color:", ";}"], function (props) {
|
39881
|
+
})(["cursor:", ";border-bottom:", ";& ", "{min-height:", "px;}&:hover ", "{background-color:", ";}"], function (props) {
|
39848
39882
|
return props.$cursor;
|
39849
39883
|
}, function (props) {
|
39850
39884
|
return props.$isLast ? 'none' : "1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_3);
|
@@ -40433,6 +40467,29 @@ _plugin__WEBPACK_IMPORTED_MODULE_2__.plugins.stickyRows = function () {
|
|
40433
40467
|
|
40434
40468
|
/***/ }),
|
40435
40469
|
|
40470
|
+
/***/ "./src/table/sys_columns.js":
|
40471
|
+
/*!**********************************!*\
|
40472
|
+
!*** ./src/table/sys_columns.js ***!
|
40473
|
+
\**********************************/
|
40474
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
40475
|
+
|
40476
|
+
"use strict";
|
40477
|
+
__webpack_require__.r(__webpack_exports__);
|
40478
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40479
|
+
/* harmony export */ isSysColumn: () => (/* binding */ isSysColumn)
|
40480
|
+
/* harmony export */ });
|
40481
|
+
// LICENSE_CODE ZON
|
40482
|
+
|
40483
|
+
|
40484
|
+
/*jslint react:true*/
|
40485
|
+
var SYS_COLUMNS = ['selection', 'row_menu'];
|
40486
|
+
var isSysColumn = function isSysColumn(_ref) {
|
40487
|
+
var id = _ref.id;
|
40488
|
+
return SYS_COLUMNS.includes(id);
|
40489
|
+
};
|
40490
|
+
|
40491
|
+
/***/ }),
|
40492
|
+
|
40436
40493
|
/***/ "./src/table/table.js":
|
40437
40494
|
/*!****************************!*\
|
40438
40495
|
!*** ./src/table/table.js ***!
|
@@ -40593,6 +40650,7 @@ var TableBody = function TableBody(props) {
|
|
40593
40650
|
rowDensity: rowDensity,
|
40594
40651
|
onRowClick: onRowClick,
|
40595
40652
|
isLast: i == page.length - 1,
|
40653
|
+
showExpand: row.canExpand,
|
40596
40654
|
className: className,
|
40597
40655
|
getRowProps: getRowProps,
|
40598
40656
|
renderRowSubComponent: renderRowSubComponent
|
@@ -40665,7 +40723,10 @@ var TableCell = function TableCell(props) {
|
|
40665
40723
|
var row = cell.row,
|
40666
40724
|
column = cell.column,
|
40667
40725
|
isEditing = cell.isEditing;
|
40668
|
-
var rowId = row.id
|
40726
|
+
var rowId = row.id,
|
40727
|
+
canExpand = row.canExpand,
|
40728
|
+
isExpanded = row.isExpanded,
|
40729
|
+
depth = row.depth;
|
40669
40730
|
var columnId = column.id,
|
40670
40731
|
_column$type = column.type,
|
40671
40732
|
type = _column$type === void 0 ? 'string' : _column$type,
|
@@ -40677,8 +40738,9 @@ var TableCell = function TableCell(props) {
|
|
40677
40738
|
getColumnProps = _useTableContext.getColumnProps,
|
40678
40739
|
getCellProps = _useTableContext.getCellProps,
|
40679
40740
|
isCellEditable = _useTableContext.isCellEditable,
|
40680
|
-
onStartEdit = _useTableContext.onStartEdit
|
40681
|
-
|
40741
|
+
onStartEdit = _useTableContext.onStartEdit,
|
40742
|
+
expandColumnId = _useTableContext.expandColumnId;
|
40743
|
+
var isEditable = canEdit && isCellEditable(cell);
|
40682
40744
|
var startEditing = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
|
40683
40745
|
columnStartEditing(columnId, rowId);
|
40684
40746
|
}, [columnStartEditing, columnId, rowId]);
|
@@ -40686,26 +40748,29 @@ var TableCell = function TableCell(props) {
|
|
40686
40748
|
columnDoneEditing(columnId, rowId);
|
40687
40749
|
}, [columnDoneEditing, columnId, rowId]);
|
40688
40750
|
var onClick = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (evt) {
|
40689
|
-
if (
|
40751
|
+
if (isEditable) {
|
40690
40752
|
evt.stopPropagation();
|
40691
40753
|
onStartEdit === null || onStartEdit === void 0 || onStartEdit(cell, {
|
40692
40754
|
startEditing: startEditing,
|
40693
40755
|
doneEditing: doneEditing
|
40694
40756
|
});
|
40695
40757
|
}
|
40696
|
-
}, [
|
40758
|
+
}, [isEditable, onStartEdit, startEditing, doneEditing]);
|
40697
40759
|
var cellProps = cell.getCellProps([getColumnProps(column), getCellProps(cell)]);
|
40698
40760
|
cellProps.className = (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(null, null, (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(column.className, {
|
40699
40761
|
cell: true
|
40700
40762
|
}), (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(className, {
|
40701
40763
|
tableCell: true
|
40702
40764
|
}), (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(className, {
|
40703
|
-
'tableCell--is-editable':
|
40765
|
+
'tableCell--is-editable': isEditable
|
40766
|
+
}), (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(className, {
|
40767
|
+
'tableCell--is-expanded': canExpand && isExpanded
|
40704
40768
|
}), cellProps.className);
|
40705
|
-
var
|
40706
|
-
|
40769
|
+
var Wrapper = expandColumnId == columnId && (canExpand && isExpanded || depth > 0) ? ExpandedTableCellContent : TableCellContent;
|
40770
|
+
var Content = isEditable ? EditableCellContent : CellContent;
|
40771
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Wrapper, _extends({}, cellProps, {
|
40707
40772
|
$isLastPinned: isLastPinned
|
40708
|
-
}
|
40773
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Content, {
|
40709
40774
|
$type: type,
|
40710
40775
|
$isEditing: isEditing,
|
40711
40776
|
onClick: onClick
|
@@ -40722,16 +40787,20 @@ var TableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
|
|
40722
40787
|
})(["background-color:", ";border-right:", ";"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, function (props) {
|
40723
40788
|
return props.$isLastPinned ? "2px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_3) : 'none';
|
40724
40789
|
});
|
40790
|
+
var ExpandedTableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(TableCellContent).withConfig({
|
40791
|
+
displayName: "ExpandedTableCellContent",
|
40792
|
+
componentId: "sc-1gdt4qg-1"
|
40793
|
+
})(["position:relative;&::before{content:'';position:absolute;left:0;top:0;height:calc(100% + 1px);border-left:4px solid ", ";}"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.blue_6);
|
40725
40794
|
var CellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
40726
40795
|
displayName: "CellContent",
|
40727
|
-
componentId: "sc-1gdt4qg-
|
40728
|
-
})(["box-sizing:border-box;display:flex;align-items:center;padding:
|
40796
|
+
componentId: "sc-1gdt4qg-2"
|
40797
|
+
})(["box-sizing:border-box;display:flex;align-items:center;padding:4px 16px;overflow:clip;", ""], function (props) {
|
40729
40798
|
return props.$type == 'number' ? 'text-align: right;' : null;
|
40730
40799
|
});
|
40731
40800
|
var EditableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(CellContent).withConfig({
|
40732
40801
|
displayName: "EditableCellContent",
|
40733
|
-
componentId: "sc-1gdt4qg-
|
40734
|
-
})(["padding:
|
40802
|
+
componentId: "sc-1gdt4qg-3"
|
40803
|
+
})(["padding:3px 15px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_9, function (props) {
|
40735
40804
|
return props.$isEditing ? (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";border:1px solid ", " !important;box-shadow:inset 0px 0px 0px 3px rgba(0,106,220,0.4);"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.blue_11) : undefined;
|
40736
40805
|
});
|
40737
40806
|
|
@@ -41247,6 +41316,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
41247
41316
|
|
41248
41317
|
|
41249
41318
|
/*jslint react:true*/
|
41319
|
+
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); }
|
41320
|
+
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; }
|
41321
|
+
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; }
|
41322
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
41323
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
41324
|
+
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); }
|
41250
41325
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
41251
41326
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
41252
41327
|
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."); }
|
@@ -41268,7 +41343,8 @@ var Tooltip = function Tooltip(props) {
|
|
41268
41343
|
tooltip = props.tooltip,
|
41269
41344
|
placement = props.placement,
|
41270
41345
|
noWrap = props.noWrap,
|
41271
|
-
interactive = props.interactive
|
41346
|
+
interactive = props.interactive,
|
41347
|
+
trigger = props.trigger;
|
41272
41348
|
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null),
|
41273
41349
|
_useState2 = _slicedToArray(_useState, 2),
|
41274
41350
|
referenceElement = _useState2[0],
|
@@ -41323,14 +41399,19 @@ var Tooltip = function Tooltip(props) {
|
|
41323
41399
|
if (visible && tooltip != tooltipRef.current && typeof update == 'function') update();
|
41324
41400
|
tooltipRef.current = tooltip;
|
41325
41401
|
if (!tooltip) return children;
|
41402
|
+
var triggerProps = {};
|
41403
|
+
if (trigger == 'hover') {
|
41404
|
+
triggerProps.onPointerEnter = show;
|
41405
|
+
triggerProps.onPointerLeave = hide;
|
41406
|
+
} else if (trigger == 'focus') {
|
41407
|
+
triggerProps.onFocus = show;
|
41408
|
+
triggerProps.onBlur = hide;
|
41409
|
+
}
|
41326
41410
|
var tooltipNode = visible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipBody, _extends({
|
41327
41411
|
ref: setPopperElement,
|
41328
41412
|
role: "tooltip",
|
41329
41413
|
style: styles.popper
|
41330
|
-
}, attributes.popper, {
|
41331
|
-
onPointerEnter: interactive ? show : undefined,
|
41332
|
-
onPointerLeave: interactive ? hide : undefined
|
41333
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
41414
|
+
}, attributes.popper, interactive ? triggerProps : {}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
41334
41415
|
variant: "sm",
|
41335
41416
|
color: "white"
|
41336
41417
|
}, tooltip), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipArrow, _extends({
|
@@ -41339,26 +41420,24 @@ var Tooltip = function Tooltip(props) {
|
|
41339
41420
|
}, attributes.arrow))) : null;
|
41340
41421
|
if (noWrap) {
|
41341
41422
|
var child = react__WEBPACK_IMPORTED_MODULE_1__.Children.only(children);
|
41342
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(child, {
|
41343
|
-
ref: setReferenceElement
|
41344
|
-
|
41345
|
-
onPointerLeave: hide
|
41346
|
-
}), tooltipNode);
|
41423
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(child, _objectSpread({
|
41424
|
+
ref: setReferenceElement
|
41425
|
+
}, triggerProps)), tooltipNode);
|
41347
41426
|
}
|
41348
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipReference, {
|
41349
|
-
ref: setReferenceElement
|
41350
|
-
|
41351
|
-
onPointerLeave: hide
|
41352
|
-
}, children), tooltipNode);
|
41427
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipReference, _extends({
|
41428
|
+
ref: setReferenceElement
|
41429
|
+
}, triggerProps), children), tooltipNode);
|
41353
41430
|
};
|
41354
41431
|
Tooltip.defaultProps = {
|
41355
|
-
placement: 'top'
|
41432
|
+
placement: 'top',
|
41433
|
+
trigger: 'hover'
|
41356
41434
|
};
|
41357
41435
|
Tooltip.propTypes = {
|
41358
41436
|
tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
41359
41437
|
placement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_5__.tooltipPlacements),
|
41360
41438
|
noWrap: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41361
|
-
interactive: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
41439
|
+
interactive: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41440
|
+
trigger: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['hover', 'focus'])
|
41362
41441
|
};
|
41363
41442
|
var withTooltip = function withTooltip(Comp, tooltipProps) {
|
41364
41443
|
return function WithTooltip(props) {
|
@@ -88070,6 +88149,34 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
|
|
88070
88149
|
|
88071
88150
|
/***/ }),
|
88072
88151
|
|
88152
|
+
/***/ "./assets/icons/verify_solid.svg":
|
88153
|
+
/*!***************************************!*\
|
88154
|
+
!*** ./assets/icons/verify_solid.svg ***!
|
88155
|
+
\***************************************/
|
88156
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
88157
|
+
|
88158
|
+
"use strict";
|
88159
|
+
__webpack_require__.r(__webpack_exports__);
|
88160
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
88161
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
88162
|
+
/* harmony export */ });
|
88163
|
+
/* 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");
|
88164
|
+
/* 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__);
|
88165
|
+
/* 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");
|
88166
|
+
/* 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__);
|
88167
|
+
|
88168
|
+
|
88169
|
+
var symbol = new (_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default())({
|
88170
|
+
"id": "verify_solid_uikit_icon",
|
88171
|
+
"use": "verify_solid_uikit_icon-usage",
|
88172
|
+
"viewBox": "0 0 24 24",
|
88173
|
+
"content": "<symbol fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" id=\"verify_solid_uikit_icon\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.436 21.764a.879.879 0 01-.872 0C9.895 20.826 4 17.148 4 11.998V5.691a1 1 0 01.649-.936l7-2.625a1 1 0 01.702 0l7 2.625a1 1 0 01.649.936v6.307c0 5.15-5.895 8.828-7.564 9.766zm3.888-12.282a.75.75 0 10-1.148-.964l-3.842 4.573-1.765-2.057a.75.75 0 10-1.138.977l2.34 2.727a.75.75 0 001.144-.006l4.41-5.25z\" fill=\"currentColor\" /></symbol>"
|
88174
|
+
});
|
88175
|
+
var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default().add(symbol);
|
88176
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (symbol);
|
88177
|
+
|
88178
|
+
/***/ }),
|
88179
|
+
|
88073
88180
|
/***/ "./assets/icons/verify_warning.svg":
|
88074
88181
|
/*!*****************************************!*\
|
88075
88182
|
!*** ./assets/icons/verify_warning.svg ***!
|