@luminati-io/uikit 3.2.13 → 3.2.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -38662,7 +38662,8 @@ var Number = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRe
|
|
38662
38662
|
placeholder = props.placeholder,
|
38663
38663
|
changeOnBlur = props.changeOnBlur;
|
38664
38664
|
var handleChange = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
|
38665
|
-
var v =
|
38665
|
+
var v = e.target.value;
|
38666
|
+
if (v != '') v = +v;
|
38666
38667
|
onChange === null || onChange === void 0 ? void 0 : onChange(v, e);
|
38667
38668
|
}, [onChange, minValue, maxValue]);
|
38668
38669
|
var handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
|
@@ -41402,6 +41403,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
41402
41403
|
/* harmony import */ var _pinned_columns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pinned_columns */ "./src/table/pinned_columns.js");
|
41403
41404
|
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./util */ "./src/table/util.js");
|
41404
41405
|
/* harmony import */ var _expandable_rows__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./expandable_rows */ "./src/table/expandable_rows.js");
|
41406
|
+
/* harmony import */ var _select_rows__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./select_rows */ "./src/table/select_rows.js");
|
41405
41407
|
// LICENSE_CODE ZON
|
41406
41408
|
|
41407
41409
|
|
@@ -41435,6 +41437,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
41435
41437
|
|
41436
41438
|
|
41437
41439
|
|
41440
|
+
|
41438
41441
|
var assign = Object.assign;
|
41439
41442
|
var defaultPropGetter = function defaultPropGetter() {
|
41440
41443
|
return {};
|
@@ -41525,7 +41528,7 @@ var Provider = function Provider(props) {
|
|
41525
41528
|
getCellProps: getCellProps,
|
41526
41529
|
getFooterProps: getFooterProps,
|
41527
41530
|
ExpandHandleComp: ExpandHandleComp
|
41528
|
-
}, rest), useCanHideColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useExpanded, _expandable_rows__WEBPACK_IMPORTED_MODULE_9__.useExpandHandle, react_table__WEBPACK_IMPORTED_MODULE_2__.usePagination, props.fullWidth ? react_table__WEBPACK_IMPORTED_MODULE_2__.useFlexLayout : react_table__WEBPACK_IMPORTED_MODULE_2__.useBlockLayout, react_table__WEBPACK_IMPORTED_MODULE_2__.useResizeColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useColumnOrder, _pinned_columns__WEBPACK_IMPORTED_MODULE_7__.usePinnedColumns, _editable_columns__WEBPACK_IMPORTED_MODULE_6__.useEditableColumns].concat(_toConsumableArray(hooks)));
|
41531
|
+
}, rest), useCanHideColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useExpanded, _expandable_rows__WEBPACK_IMPORTED_MODULE_9__.useExpandHandle, react_table__WEBPACK_IMPORTED_MODULE_2__.usePagination, props.fullWidth ? react_table__WEBPACK_IMPORTED_MODULE_2__.useFlexLayout : react_table__WEBPACK_IMPORTED_MODULE_2__.useBlockLayout, react_table__WEBPACK_IMPORTED_MODULE_2__.useResizeColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useColumnOrder, _pinned_columns__WEBPACK_IMPORTED_MODULE_7__.usePinnedColumns, _editable_columns__WEBPACK_IMPORTED_MODULE_6__.useEditableColumns, react_table__WEBPACK_IMPORTED_MODULE_2__.useRowSelect, _select_rows__WEBPACK_IMPORTED_MODULE_10__.useSelectRows].concat(_toConsumableArray(hooks)));
|
41529
41532
|
var _table$state = table.state,
|
41530
41533
|
pageIndex = _table$state.pageIndex,
|
41531
41534
|
_pageSize = _table$state.pageSize;
|
@@ -41620,7 +41623,8 @@ Provider.propTypes = {
|
|
41620
41623
|
onRowClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
41621
41624
|
stickyHeader: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)]),
|
41622
41625
|
scrollTarget: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
|
41623
|
-
className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
41626
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
41627
|
+
onSelectRows: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
41624
41628
|
};
|
41625
41629
|
var calcPageCount = function calcPageCount(totalCount, pageSize) {
|
41626
41630
|
return Math.ceil(totalCount / pageSize);
|
@@ -42980,20 +42984,17 @@ var usePinnedColumns = function usePinnedColumns(hooks) {
|
|
42980
42984
|
hooks.getHeaderProps.push(function (props, _ref) {
|
42981
42985
|
var instance = _ref.instance,
|
42982
42986
|
column = _ref.column;
|
42983
|
-
|
42984
|
-
return [props, nextProps];
|
42987
|
+
return [props, getPinnedProps(column, instance)];
|
42985
42988
|
});
|
42986
42989
|
hooks.getCellProps.push(function (props, _ref2) {
|
42987
42990
|
var instance = _ref2.instance,
|
42988
42991
|
cell = _ref2.cell;
|
42989
|
-
|
42990
|
-
return [props, nextProps];
|
42992
|
+
return [props, getPinnedProps(cell.column, instance)];
|
42991
42993
|
});
|
42992
42994
|
hooks.getFooterProps.push(function (props, _ref3) {
|
42993
42995
|
var instance = _ref3.instance,
|
42994
42996
|
column = _ref3.column;
|
42995
|
-
|
42996
|
-
return [props, nextProps];
|
42997
|
+
return [props, getPinnedProps(column, instance)];
|
42997
42998
|
});
|
42998
42999
|
hooks.stateReducers.push(usePinnedReducer);
|
42999
43000
|
hooks.useInstance.push(usePinnedInstance);
|
@@ -43126,6 +43127,126 @@ var renderRow = function renderRow(opt) {
|
|
43126
43127
|
|
43127
43128
|
/***/ }),
|
43128
43129
|
|
43130
|
+
/***/ "./src/table/select_rows.js":
|
43131
|
+
/*!**********************************!*\
|
43132
|
+
!*** ./src/table/select_rows.js ***!
|
43133
|
+
\**********************************/
|
43134
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
43135
|
+
|
43136
|
+
"use strict";
|
43137
|
+
__webpack_require__.r(__webpack_exports__);
|
43138
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
43139
|
+
/* harmony export */ useSelectRows: () => (/* binding */ useSelectRows)
|
43140
|
+
/* harmony export */ });
|
43141
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
43142
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
43143
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
43144
|
+
// LICENSE_CODE ZON
|
43145
|
+
|
43146
|
+
|
43147
|
+
/*jslint react:true*/
|
43148
|
+
var _excluded = ["indeterminate"];
|
43149
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
43150
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
43151
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
43152
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
43153
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
43154
|
+
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; }
|
43155
|
+
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); }
|
43156
|
+
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; }
|
43157
|
+
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; }
|
43158
|
+
|
43159
|
+
|
43160
|
+
var WIDTH = 54;
|
43161
|
+
var IndeterminateCheckbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (_ref, ref) {
|
43162
|
+
var indeterminate = _ref.indeterminate,
|
43163
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
43164
|
+
var defaultRef = react__WEBPACK_IMPORTED_MODULE_0___default().useRef();
|
43165
|
+
var resolvedRef = ref || defaultRef;
|
43166
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(function () {
|
43167
|
+
resolvedRef.current.indeterminate = indeterminate;
|
43168
|
+
}, [resolvedRef, indeterminate]);
|
43169
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("input", _extends({
|
43170
|
+
type: "checkbox",
|
43171
|
+
ref: resolvedRef
|
43172
|
+
}, rest));
|
43173
|
+
});
|
43174
|
+
IndeterminateCheckbox.displayName = 'IndeterminateCheckbox';
|
43175
|
+
var useInstance = function useInstance(instance) {
|
43176
|
+
var onSelectRows = instance.onSelectRows,
|
43177
|
+
state = instance.state;
|
43178
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(function () {
|
43179
|
+
if (onSelectRows) onSelectRows(state.selectedRowIds);
|
43180
|
+
}, [onSelectRows, state.selectedRowIds]);
|
43181
|
+
};
|
43182
|
+
var getCellProps = function getCellProps(header, instance) {
|
43183
|
+
var style = {};
|
43184
|
+
if (header.id == 'selection') {
|
43185
|
+
style = {
|
43186
|
+
position: 'sticky',
|
43187
|
+
width: "".concat(WIDTH, "px"),
|
43188
|
+
left: '0',
|
43189
|
+
zIndex: _constants__WEBPACK_IMPORTED_MODULE_1__.Z_INDEX.pinnedColumnHeader + 1
|
43190
|
+
};
|
43191
|
+
}
|
43192
|
+
return {
|
43193
|
+
style: style
|
43194
|
+
};
|
43195
|
+
};
|
43196
|
+
var useSelectRows = function useSelectRows(hooks) {
|
43197
|
+
hooks.visibleColumns.push(function (columns, _ref2) {
|
43198
|
+
var instance = _ref2.instance;
|
43199
|
+
if (!instance.onSelectRows) return columns;
|
43200
|
+
var onClick = function onClick(e) {
|
43201
|
+
// e.preventDefault();
|
43202
|
+
e.stopPropagation();
|
43203
|
+
};
|
43204
|
+
// Let's make a column for selection
|
43205
|
+
return [{
|
43206
|
+
id: 'selection',
|
43207
|
+
// The header can use the table's getToggleAllRowsSelectedProps
|
43208
|
+
// method to render a checkbox
|
43209
|
+
Header: function Header(_ref3) {
|
43210
|
+
var getToggleAllRowsSelectedProps = _ref3.getToggleAllRowsSelectedProps;
|
43211
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(IndeterminateCheckbox, getToggleAllRowsSelectedProps());
|
43212
|
+
},
|
43213
|
+
// The cell can use the individual row's getToggleRowSelectedProps
|
43214
|
+
// method to the render a checkbox
|
43215
|
+
Cell: function Cell(_ref4) {
|
43216
|
+
var row = _ref4.row;
|
43217
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
43218
|
+
onClick: onClick
|
43219
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(IndeterminateCheckbox, row.getToggleRowSelectedProps()));
|
43220
|
+
},
|
43221
|
+
disableResizing: true,
|
43222
|
+
disableHiding: true,
|
43223
|
+
disablePinning: true,
|
43224
|
+
width: WIDTH,
|
43225
|
+
maxWidth: WIDTH,
|
43226
|
+
minWidth: WIDTH
|
43227
|
+
}].concat(_toConsumableArray(columns));
|
43228
|
+
});
|
43229
|
+
hooks.useInstance.push(useInstance);
|
43230
|
+
hooks.getHeaderProps.push(function (props, _ref5) {
|
43231
|
+
var instance = _ref5.instance,
|
43232
|
+
column = _ref5.column;
|
43233
|
+
return [props, getCellProps(column, instance)];
|
43234
|
+
});
|
43235
|
+
hooks.getCellProps.push(function (props, _ref6) {
|
43236
|
+
var instance = _ref6.instance,
|
43237
|
+
cell = _ref6.cell;
|
43238
|
+
return [props, getCellProps(cell.column, instance)];
|
43239
|
+
});
|
43240
|
+
hooks.getFooterProps.push(function (props, _ref7) {
|
43241
|
+
var instance = _ref7.instance,
|
43242
|
+
column = _ref7.column;
|
43243
|
+
return [props, getCellProps(column, instance)];
|
43244
|
+
});
|
43245
|
+
};
|
43246
|
+
useSelectRows.pluginName = 'useSelectRows';
|
43247
|
+
|
43248
|
+
/***/ }),
|
43249
|
+
|
43129
43250
|
/***/ "./src/table/sort_icon.js":
|
43130
43251
|
/*!********************************!*\
|
43131
43252
|
!*** ./src/table/sort_icon.js ***!
|
@@ -43815,8 +43936,8 @@ var StyledTagBody = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_la
|
|
43815
43936
|
"use strict";
|
43816
43937
|
__webpack_require__.r(__webpack_exports__);
|
43817
43938
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
43818
|
-
/* harmony export */
|
43819
|
-
/* harmony export */
|
43939
|
+
/* harmony export */ ClickableTag: () => (/* binding */ ClickableTag),
|
43940
|
+
/* harmony export */ StyledTagBase: () => (/* binding */ StyledTagBase)
|
43820
43941
|
/* harmony export */ });
|
43821
43942
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
43822
43943
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -43868,18 +43989,16 @@ ClickableTag.propTypes = {
|
|
43868
43989
|
onClick: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
|
43869
43990
|
disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
|
43870
43991
|
};
|
43871
|
-
var activeCss = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";border-color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_2, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11);
|
43872
43992
|
var StyledTagBase = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_base__WEBPACK_IMPORTED_MODULE_4__["default"]).withConfig({
|
43873
43993
|
displayName: "StyledTagBase",
|
43874
43994
|
componentId: "sc-pc5g8t-0"
|
43875
43995
|
})(["", ";"], function (props) {
|
43876
|
-
return props.active &&
|
43996
|
+
return props.active && (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";border-color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_2, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11);
|
43877
43997
|
});
|
43878
43998
|
var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().button.withConfig({
|
43879
43999
|
displayName: "StyledButton",
|
43880
44000
|
componentId: "sc-pc5g8t-1"
|
43881
|
-
})(["display:flex;background:transparent;padding:0;margin:0;border:none;cursor:pointer;&:hover > ", "{background-color:", ";border-color:", ";}&:active > ", "{", "}&:disabled > ", "{background-color:", ";border-color:transparent;color:", ";cursor:not-allowed;}"], StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_6, StyledTagBase,
|
43882
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClickableTag);
|
44001
|
+
})(["display:flex;background:transparent;padding:0;margin:0;border:none;cursor:pointer;&:hover > ", "{background-color:", ";border-color:", ";}&:active > ", "{background-color:", ";border-color:", ";}&:disabled > ", "{background-color:", ";border-color:transparent;color:", ";cursor:not-allowed;}"], StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_6, StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_2, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.blue_11, StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_9);
|
43883
44002
|
|
43884
44003
|
/***/ }),
|
43885
44004
|
|
@@ -43892,9 +44011,9 @@ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().butt
|
|
43892
44011
|
"use strict";
|
43893
44012
|
__webpack_require__.r(__webpack_exports__);
|
43894
44013
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
43895
|
-
/* harmony export */ ClickableTag: () => (/* reexport safe */ _clickable_tag__WEBPACK_IMPORTED_MODULE_0__
|
43896
|
-
/* harmony export */ RemovableTag: () => (/* reexport safe */ _removable_tag__WEBPACK_IMPORTED_MODULE_1__
|
43897
|
-
/* harmony export */ TagGroup: () => (/* reexport safe */ _tag_group__WEBPACK_IMPORTED_MODULE_2__
|
44014
|
+
/* harmony export */ ClickableTag: () => (/* reexport safe */ _clickable_tag__WEBPACK_IMPORTED_MODULE_0__.ClickableTag),
|
44015
|
+
/* harmony export */ RemovableTag: () => (/* reexport safe */ _removable_tag__WEBPACK_IMPORTED_MODULE_1__.RemovableTag),
|
44016
|
+
/* harmony export */ TagGroup: () => (/* reexport safe */ _tag_group__WEBPACK_IMPORTED_MODULE_2__.TagGroup)
|
43898
44017
|
/* harmony export */ });
|
43899
44018
|
/* harmony import */ var _clickable_tag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clickable_tag */ "./src/tag/clickable_tag.js");
|
43900
44019
|
/* harmony import */ var _removable_tag__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./removable_tag */ "./src/tag/removable_tag.js");
|
@@ -43907,7 +44026,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
43907
44026
|
|
43908
44027
|
|
43909
44028
|
|
43910
|
-
|
43911
44029
|
/***/ }),
|
43912
44030
|
|
43913
44031
|
/***/ "./src/tag/removable_tag.js":
|
@@ -43919,7 +44037,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
43919
44037
|
"use strict";
|
43920
44038
|
__webpack_require__.r(__webpack_exports__);
|
43921
44039
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
43922
|
-
/* harmony export */
|
44040
|
+
/* harmony export */ RemovableTag: () => (/* binding */ RemovableTag)
|
43923
44041
|
/* harmony export */ });
|
43924
44042
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
43925
44043
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -43980,7 +44098,6 @@ var StyledRemoveButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default(
|
|
43980
44098
|
displayName: "StyledRemoveButton",
|
43981
44099
|
componentId: "sc-4wrknd-1"
|
43982
44100
|
})(["border-radius:", ";min-width:16px;width:16px;min-height:16px;height:16px;:disabled{background-color:", ";}"], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['05'], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_2);
|
43983
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemovableTag);
|
43984
44101
|
|
43985
44102
|
/***/ }),
|
43986
44103
|
|
@@ -43993,6 +44110,7 @@ var StyledRemoveButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default(
|
|
43993
44110
|
"use strict";
|
43994
44111
|
__webpack_require__.r(__webpack_exports__);
|
43995
44112
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
44113
|
+
/* harmony export */ TagGroup: () => (/* binding */ TagGroup),
|
43996
44114
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
43997
44115
|
/* harmony export */ });
|
43998
44116
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
@@ -44003,7 +44121,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
44003
44121
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
44004
44122
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
44005
44123
|
/* harmony import */ var _clickable_tag__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./clickable_tag */ "./src/tag/clickable_tag.js");
|
44006
|
-
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
|
44007
44124
|
// LICENSE_CODE ZON
|
44008
44125
|
|
44009
44126
|
|
@@ -44013,7 +44130,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
44013
44130
|
|
44014
44131
|
|
44015
44132
|
|
44016
|
-
|
44017
44133
|
var TagGroup = function TagGroup(props) {
|
44018
44134
|
var className = props.className,
|
44019
44135
|
style = props.style,
|
@@ -44036,7 +44152,7 @@ var TagGroup = function TagGroup(props) {
|
|
44036
44152
|
}, options.map(function (o, i) {
|
44037
44153
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", {
|
44038
44154
|
key: "tag_group_item-".concat(o.id, "-").concat(i)
|
44039
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_clickable_tag__WEBPACK_IMPORTED_MODULE_4__
|
44155
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_clickable_tag__WEBPACK_IMPORTED_MODULE_4__.ClickableTag, {
|
44040
44156
|
size: size,
|
44041
44157
|
text: o.text,
|
44042
44158
|
icon: o.icon,
|
@@ -44051,15 +44167,10 @@ TagGroup.propTypes = {
|
|
44051
44167
|
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
|
44052
44168
|
size: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['sm', 'md'])
|
44053
44169
|
};
|
44054
|
-
var StyledGroup = styled_components__WEBPACK_IMPORTED_MODULE_1___default()
|
44055
|
-
align_items: 'stretch',
|
44056
|
-
as: 'ul',
|
44057
|
-
margin: 0,
|
44058
|
-
padding: 0
|
44059
|
-
}).withConfig({
|
44170
|
+
var StyledGroup = styled_components__WEBPACK_IMPORTED_MODULE_1___default().ul.withConfig({
|
44060
44171
|
displayName: "StyledGroup",
|
44061
44172
|
componentId: "sc-cpk6as-0"
|
44062
|
-
})(["li{display:inline-flex;list-style:none;margin:0;padding:0;}", "{border-radius:0;height:100%;}& > *:first-of-type ", "{border-top-left-radius:", ";border-bottom-left-radius:", ";}& > *:last-of-type ", "{border-top-right-radius:", ";border-bottom-right-radius:", ";}"], _clickable_tag__WEBPACK_IMPORTED_MODULE_4__.StyledTagBase, _clickable_tag__WEBPACK_IMPORTED_MODULE_4__.StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02'], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02'], _clickable_tag__WEBPACK_IMPORTED_MODULE_4__.StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02'], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02']);
|
44173
|
+
})(["display:flex;align-items:stretch;margin:0;padding:0;li{display:inline-flex;list-style:none;margin:0;padding:0;}", "{border-radius:0;height:100%;}& > *:first-of-type ", "{border-top-left-radius:", ";border-bottom-left-radius:", ";}& > *:last-of-type ", "{border-top-right-radius:", ";border-bottom-right-radius:", ";}"], _clickable_tag__WEBPACK_IMPORTED_MODULE_4__.StyledTagBase, _clickable_tag__WEBPACK_IMPORTED_MODULE_4__.StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02'], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02'], _clickable_tag__WEBPACK_IMPORTED_MODULE_4__.StyledTagBase, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02'], _theme__WEBPACK_IMPORTED_MODULE_3__["default"].spacing['02']);
|
44063
44174
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TagGroup);
|
44064
44175
|
|
44065
44176
|
/***/ }),
|