@configuratorware/configurator-admingui 1.56.2 → 1.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App/Api.js +12 -8
- package/App/Config/app.js +3 -3
- package/App/Data.js +11 -9
- package/App/ErrorBoundary.js +9 -7
- package/App/Main.js +11 -9
- package/App/Reducers/Api/Actions.js +1 -0
- package/App/Reducers/Entity/Actions.js +4 -4
- package/App/Services/WindowCommunication.js +2 -1
- package/App/TestHelpers.js +13 -9
- package/App/i18n.js +3 -3
- package/App/index.js +8 -6
- package/App/initServices.js +4 -2
- package/Components/CallToActionField.js +30 -19
- package/Components/CopyPaste.js +10 -8
- package/Components/DefaultForm.js +8 -6
- package/Components/DefaultList.js +20 -17
- package/Components/DefaultScreen.js +9 -7
- package/Components/Form.js +15 -12
- package/Components/FormFragments/AttributeValueChip.js +17 -16
- package/Components/FormFragments/AutoComplete.js +18 -16
- package/Components/FormFragments/AutocompleteEntity.js +16 -14
- package/Components/FormFragments/Chip.js +15 -14
- package/Components/FormFragments/DynSourceInput.js +9 -7
- package/Components/FormFragments/File.js +4 -4
- package/Components/FormFragments/InlineAddButton.js +14 -12
- package/Components/FormFragments/InputArray.js +18 -16
- package/Components/FormFragments/IntlInput.js +17 -13
- package/Components/FormFragments/NestedDataComponent.js +15 -13
- package/Components/FormFragments/SetInput.js +10 -8
- package/Components/FormFragments/SimpleNestedData.js +8 -6
- package/Components/FormFragments/SimpleTable.js +13 -11
- package/Components/FormFragments/Tabs.js +15 -13
- package/Components/FormFragments/TwoSideSelect.js +17 -13
- package/Components/GeneralFragments/ConfigurationEditor.js +35 -24
- package/Components/GeneralFragments/ConfiguratorOverlay.js +8 -6
- package/Components/GeneralFragments/Image.js +10 -8
- package/Components/GeneralFragments/MiniPopup.js +11 -9
- package/Components/LicenseInfo.js +8 -6
- package/Components/List.js +17 -15
- package/Components/ListColumnFilter.js +15 -13
- package/Components/Menu.js +11 -9
- package/Components/ModalContainer.js +9 -7
- package/Components/OrderList.js +14 -12
- package/Components/Pagination.js +14 -12
- package/Components/SearchBar.js +11 -9
- package/Components/TranslateComponent.js +14 -11
- package/Screens/ApiKeys/Containers/Edit.js +26 -15
- package/Screens/Attribute/__tests/AttributeScreen.js +1 -1
- package/Screens/AttributeValue/__tests/AttributeValueScreen.js +1 -1
- package/Screens/Channel/__tests/ChannelScreen.js +1 -1
- package/Screens/ColorPalettes/Components/DefaultColorSwitch.js +9 -7
- package/Screens/ColorPalettes/Reducers/Reducer.js +1 -0
- package/Screens/ConfigurationTypeEditor/Screen.js +8 -6
- package/Screens/ConfigurationWorkflowStatus/Containers/List.js +14 -10
- package/Screens/ConfigurationWorkflowStatus/Screen.js +8 -6
- package/Screens/Creator/Components/BaseConfigurationEditor.js +15 -11
- package/Screens/Creator/Components/CheckData/ApiCalls.js +17 -6
- package/Screens/Creator/Components/CheckData/CheckData.js +39 -30
- package/Screens/Creator/Components/CheckData/Translations.js +5 -5
- package/Screens/Creator/Components/ComponentEditor.js +27 -19
- package/Screens/Creator/Components/OptionclassificationEditor.js +49 -39
- package/Screens/Creator/Components/Rules/Containers/Edit.js +17 -12
- package/Screens/Creator/Components/Rules/Containers/RuleForms/AdditionalOption.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/AttributeValueGroupAutoSwitch.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/DefaultOption.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMatch.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMaxSum.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMaxAmount.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMinAmount.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionDependency.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionExclusion.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionMaxAmount.js +8 -6
- package/Screens/Creator/Components/Rules/Containers/RuleForms/RuleForm.js +9 -7
- package/Screens/Creator/Components/Rules/index.js +8 -6
- package/Screens/Creator/Components/VisualizationAndMediaData/ApiCalls.js +18 -7
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/ImageEditTools.js +75 -64
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/PathStructure.js +1 -1
- package/Screens/Creator/Components/VisualizationAndMediaData/VisualizationAndMediaData.js +181 -164
- package/Screens/Creator/Containers/Edit.js +19 -15
- package/Screens/Creator/Reducers/ConfigurationActions.js +49 -39
- package/Screens/Demo/Screen.js +10 -8
- package/Screens/DesignProductionMethods/Reducers/DesignProductionMethodsReducer.js +2 -0
- package/Screens/Designer/Components/DesignDataTransfer.js +67 -54
- package/Screens/Designer/Components/TemplateDefaultList.js +27 -25
- package/Screens/Designer/Components/TemplateList.js +14 -12
- package/Screens/Designer/Containers/Edit.js +37 -26
- package/Screens/Designer/SubScreens/DesignAreas/Components/ColorPalettes.js +22 -18
- package/Screens/Designer/SubScreens/DesignAreas/Components/FormArray.js +15 -13
- package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorCanvas.js +27 -19
- package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorField.js +25 -17
- package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/withFileUpload.js +27 -19
- package/Screens/Designer/SubScreens/DesignAreas/Containers/FormProductionMethods.js +20 -18
- package/Screens/Designer/SubScreens/DesignAreas/Utils/getMaskSrcByType.js +2 -1
- package/Screens/Designer/SubScreens/Designviews/Reducers/Actions.js +19 -8
- package/Screens/Designer/SubScreens/Visualization/ApiCalls.js +28 -14
- package/Screens/Designer/SubScreens/Visualization/Components/AdvancedShapeEditor.js +17 -4
- package/Screens/Designer/SubScreens/Visualization/Components/AreaEditor.js +58 -44
- package/Screens/Designer/SubScreens/Visualization/Components/DesignAreaDimensionsEditor.js +198 -0
- package/Screens/Designer/SubScreens/Visualization/Components/ExpansionContainer.js +9 -7
- package/Screens/Designer/SubScreens/Visualization/Components/Three2DEditor.js +88 -62
- package/Screens/Designer/SubScreens/Visualization/Components/VisualizationContainer.js +10 -8
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/DataLinks.js +5 -2
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/Edit.js +192 -126
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/VisualizationUtils.js +29 -21
- package/Screens/Designer/SubScreens/Visualization/Containers/List.js +21 -6
- package/Screens/Designer/SubScreens/Visualization/Translations.js +2 -0
- package/Screens/Finder/Reducers/Actions.js +22 -13
- package/Screens/Font/Reducers/Actions.js +4 -3
- package/Screens/ImageGallery/Containers/Edit.js +8 -6
- package/Screens/ImageGallery/Containers/List.js +36 -23
- package/Screens/ImageGallery/ImageTags/TagsEditorPopup.js +8 -6
- package/Screens/ImageGallery/Reducers/Actions.js +1 -0
- package/Screens/ImageGallery/Reducers/Reducer.js +2 -0
- package/Screens/Inspirations/Reducers/Actions.js +18 -7
- package/Screens/Item/ApiCalls.js +19 -8
- package/Screens/Item/Components/AttributeEditorPopup.js +8 -6
- package/Screens/Item/Components/CopyCreatorItemDialog.js +26 -15
- package/Screens/Item/Components/ExportCreatorItemDialog.js +28 -17
- package/Screens/Item/Components/Images/ItemImageUploadDialog.js +31 -22
- package/Screens/Item/Components/ImportItemDialog.js +31 -23
- package/Screens/Item/Components/ListItemStatusEditor.js +25 -14
- package/Screens/Item/Components/Variants/VariantsAutocomplete.js +64 -53
- package/Screens/Item/Components/Variants/VariantsEditor.js +28 -26
- package/Screens/Item/Components/Variants/VariantsEditorDialog.js +8 -6
- package/Screens/Item/Components/Variants/VariantsEditorPopup.js +24 -14
- package/Screens/Item/Components/Variants/VariantsSelection.js +13 -11
- package/Screens/Item/Components/Variants/VariantsSortFilter.js +18 -16
- package/Screens/Item/Containers/Edit.js +31 -21
- package/Screens/Item/DataStructures/Prices/ActionHelpers.js +20 -6
- package/Screens/Login/Screen.js +15 -12
- package/Screens/Login/__tests/LoginScreen.js +2 -2
- package/Screens/PriceTypes/Reducers/Reducer.js +2 -0
- package/Screens/ProductionView/Components/ConfigurationDataSheet.js +8 -6
- package/Screens/ProductionView/Containers/List.js +11 -8
- package/Screens/ReceiveOfferRequests/Components/ConfigurationDataSheet.js +8 -6
- package/Screens/ReceiveOfferRequests/Containers/List.js +8 -6
- package/Screens/Savedconfigurations/Components/ConfigurationDataSheet.js +8 -6
- package/Screens/Savedconfigurations/Containers/List.js +15 -10
- package/Screens/Setting/Containers/Edit.js +8 -6
- package/Screens/TranslationFileHandling/Containers/Edit.js +57 -45
- package/Screens/User/__tests/UserScreen.js +1 -1
- package/UIComponents/AutoComplete.js +12 -10
- package/UIComponents/ChipInput.js +14 -12
- package/UIComponents/IconMenu.js +12 -10
- package/UIComponents/InlineHelp/index.js +8 -6
- package/UIComponents/Pagination.js +12 -10
- package/UIComponents/SelectField.js +8 -6
- package/UIComponents/Table/Table.js +15 -13
- package/UIComponents/Table/TableBody.js +8 -6
- package/UIComponents/Table/TableHead.js +8 -6
- package/UIComponents/Table/TableRow.js +8 -6
- package/Utils/Async/Deferred.js +4 -2
- package/Utils/Async/newestRequest.js +23 -14
- package/Utils/Decorators/Observable.js +2 -1
- package/Utils/FunDraw/createMask.js +17 -7
- package/Utils/FunDraw/funDraw.js +71 -54
- package/Utils/FunDraw/movableObject.js +21 -12
- package/Utils/HOCs/AsyncProps.js +24 -16
- package/Utils/HOCs/LocalState.js +11 -9
- package/Utils/Request/lazyFetch.js +46 -38
- package/default.js +1 -1
- package/dev.js +1 -1
- package/package.json +3 -3
|
@@ -13,7 +13,7 @@ var _MenuItem = _interopRequireDefault(require("@material-ui/core/MenuItem"));
|
|
|
13
13
|
var _withStyles = _interopRequireDefault(require("@material-ui/core/styles/withStyles"));
|
|
14
14
|
var _lodash = _interopRequireDefault(require("lodash"));
|
|
15
15
|
var _excluded = ["InputProps", "classes", "ref"];
|
|
16
|
-
var
|
|
16
|
+
var _class2;
|
|
17
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
18
|
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); }
|
|
19
19
|
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; }
|
|
@@ -21,13 +21,13 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
21
21
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
22
22
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
23
23
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
24
|
-
function
|
|
24
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
25
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
26
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
25
27
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
26
28
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
27
29
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
28
30
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
29
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
30
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
31
31
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
32
32
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
33
33
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -123,21 +123,22 @@ _defineProperty(Filters, "regexpFilter", function (searchText, key) {
|
|
|
123
123
|
return !!regexp.test(key);
|
|
124
124
|
});
|
|
125
125
|
var AutoComplete = /*#__PURE__*/function (_React$Component) {
|
|
126
|
+
_inherits(AutoComplete, _React$Component);
|
|
127
|
+
var _super = _createSuper(AutoComplete);
|
|
126
128
|
function AutoComplete() {
|
|
127
129
|
var _this;
|
|
128
130
|
_classCallCheck(this, AutoComplete);
|
|
129
131
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
130
132
|
args[_key] = arguments[_key];
|
|
131
133
|
}
|
|
132
|
-
_this =
|
|
133
|
-
_defineProperty(_this, "state", {
|
|
134
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
135
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
|
134
136
|
inputValue: _this.props.searchText,
|
|
135
137
|
selectedItem: []
|
|
136
138
|
});
|
|
137
139
|
return _this;
|
|
138
140
|
}
|
|
139
|
-
|
|
140
|
-
return _createClass(AutoComplete, [{
|
|
141
|
+
_createClass(AutoComplete, [{
|
|
141
142
|
key: "render",
|
|
142
143
|
value: function render() {
|
|
143
144
|
var _this$props = this.props,
|
|
@@ -210,11 +211,12 @@ var AutoComplete = /*#__PURE__*/function (_React$Component) {
|
|
|
210
211
|
}));
|
|
211
212
|
}
|
|
212
213
|
}]);
|
|
214
|
+
return AutoComplete;
|
|
213
215
|
}(_react["default"].Component);
|
|
214
|
-
|
|
216
|
+
_class2 = AutoComplete;
|
|
215
217
|
_defineProperty(AutoComplete, "propTypes", propTypes);
|
|
216
218
|
_defineProperty(AutoComplete, "defaultProps", {
|
|
217
|
-
filter:
|
|
219
|
+
filter: _class2.defaultFilter
|
|
218
220
|
});
|
|
219
221
|
_defineProperty(AutoComplete, "defaultFilter", Filters.defaultFilter);
|
|
220
222
|
_defineProperty(AutoComplete, "fuzzyFilter", Filters.fuzzyFilter);
|
|
@@ -23,13 +23,13 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
23
23
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
24
24
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
25
25
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
26
|
-
function
|
|
26
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
27
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
28
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
27
29
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
28
30
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
29
31
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
30
32
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
31
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
32
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
33
33
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
34
34
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
35
35
|
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); }
|
|
@@ -104,33 +104,35 @@ var propTypes = exports.propTypes = {
|
|
|
104
104
|
placeholder: _propTypes["default"].string
|
|
105
105
|
};
|
|
106
106
|
var ChipInput = /*#__PURE__*/function (_React$Component) {
|
|
107
|
+
_inherits(ChipInput, _React$Component);
|
|
108
|
+
var _super = _createSuper(ChipInput);
|
|
107
109
|
function ChipInput() {
|
|
108
110
|
var _this;
|
|
109
111
|
_classCallCheck(this, ChipInput);
|
|
110
112
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
111
113
|
args[_key] = arguments[_key];
|
|
112
114
|
}
|
|
113
|
-
_this =
|
|
114
|
-
_defineProperty(_this, "state", {
|
|
115
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
116
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
|
115
117
|
selectedItem: [],
|
|
116
118
|
inputValue: ''
|
|
117
119
|
});
|
|
118
|
-
_defineProperty(_this, "handleDelete", function (item, id) {
|
|
120
|
+
_defineProperty(_assertThisInitialized(_this), "handleDelete", function (item, id) {
|
|
119
121
|
return function () {
|
|
120
122
|
_this.props.onRequestDelete(item, id);
|
|
121
123
|
};
|
|
122
124
|
});
|
|
123
|
-
_defineProperty(_this, "itemToString", function (item) {
|
|
125
|
+
_defineProperty(_assertThisInitialized(_this), "itemToString", function (item) {
|
|
124
126
|
return item ? item[_this.props.dataSourceConfig.text] : '';
|
|
125
127
|
});
|
|
126
|
-
_defineProperty(_this, "onInputChange", function (_ref) {
|
|
128
|
+
_defineProperty(_assertThisInitialized(_this), "onInputChange", function (_ref) {
|
|
127
129
|
var value = _ref.target.value;
|
|
128
130
|
_this.setState({
|
|
129
131
|
inputValue: value
|
|
130
132
|
});
|
|
131
133
|
_this.props.onInputValueChange(value);
|
|
132
134
|
});
|
|
133
|
-
_defineProperty(_this, "handleChange", function (input) {
|
|
135
|
+
_defineProperty(_assertThisInitialized(_this), "handleChange", function (input) {
|
|
134
136
|
_this.setState({
|
|
135
137
|
inputValue: ''
|
|
136
138
|
});
|
|
@@ -139,7 +141,7 @@ var ChipInput = /*#__PURE__*/function (_React$Component) {
|
|
|
139
141
|
}
|
|
140
142
|
_this.props.handleChange(input);
|
|
141
143
|
});
|
|
142
|
-
_defineProperty(_this, "onBlur", function () {
|
|
144
|
+
_defineProperty(_assertThisInitialized(_this), "onBlur", function () {
|
|
143
145
|
_this.setState({
|
|
144
146
|
inputValue: ''
|
|
145
147
|
});
|
|
@@ -147,8 +149,7 @@ var ChipInput = /*#__PURE__*/function (_React$Component) {
|
|
|
147
149
|
});
|
|
148
150
|
return _this;
|
|
149
151
|
}
|
|
150
|
-
|
|
151
|
-
return _createClass(ChipInput, [{
|
|
152
|
+
_createClass(ChipInput, [{
|
|
152
153
|
key: "render",
|
|
153
154
|
value: function render() {
|
|
154
155
|
var _this2 = this;
|
|
@@ -233,6 +234,7 @@ var ChipInput = /*#__PURE__*/function (_React$Component) {
|
|
|
233
234
|
}));
|
|
234
235
|
}
|
|
235
236
|
}]);
|
|
237
|
+
return ChipInput;
|
|
236
238
|
}(_react["default"].Component);
|
|
237
239
|
_defineProperty(ChipInput, "propTypes", propTypes);
|
|
238
240
|
function renderSuggestion(_ref3) {
|
package/UIComponents/IconMenu.js
CHANGED
|
@@ -20,13 +20,13 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
20
20
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
21
21
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
22
22
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
23
|
-
function
|
|
23
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
24
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
25
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
24
26
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
25
27
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
26
28
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
27
29
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
28
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
29
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
30
30
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
31
31
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
32
32
|
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); }
|
|
@@ -50,24 +50,26 @@ var styles = function styles(theme) {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
var IconMenu = /*#__PURE__*/function (_React$Component) {
|
|
53
|
+
_inherits(IconMenu, _React$Component);
|
|
54
|
+
var _super = _createSuper(IconMenu);
|
|
53
55
|
function IconMenu() {
|
|
54
56
|
var _this;
|
|
55
57
|
_classCallCheck(this, IconMenu);
|
|
56
58
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
57
59
|
args[_key] = arguments[_key];
|
|
58
60
|
}
|
|
59
|
-
_this =
|
|
60
|
-
_defineProperty(_this, "state", {
|
|
61
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
62
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
|
61
63
|
open: false
|
|
62
64
|
});
|
|
63
|
-
_defineProperty(_this, "handleToggle", function () {
|
|
65
|
+
_defineProperty(_assertThisInitialized(_this), "handleToggle", function () {
|
|
64
66
|
_this.setState(function (state) {
|
|
65
67
|
return {
|
|
66
68
|
open: !state.open
|
|
67
69
|
};
|
|
68
70
|
});
|
|
69
71
|
});
|
|
70
|
-
_defineProperty(_this, "handleClose", function (event) {
|
|
72
|
+
_defineProperty(_assertThisInitialized(_this), "handleClose", function (event) {
|
|
71
73
|
if (_this.anchorEl.contains(event.target)) {
|
|
72
74
|
return;
|
|
73
75
|
}
|
|
@@ -75,7 +77,7 @@ var IconMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
75
77
|
open: false
|
|
76
78
|
});
|
|
77
79
|
});
|
|
78
|
-
_defineProperty(_this, "renderItem", function (item) {
|
|
80
|
+
_defineProperty(_assertThisInitialized(_this), "renderItem", function (item) {
|
|
79
81
|
var renderLabel = _this.props.renderLabel;
|
|
80
82
|
switch (_typeof(renderLabel)) {
|
|
81
83
|
case 'string':
|
|
@@ -88,8 +90,7 @@ var IconMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
88
90
|
});
|
|
89
91
|
return _this;
|
|
90
92
|
}
|
|
91
|
-
|
|
92
|
-
return _createClass(IconMenu, [{
|
|
93
|
+
_createClass(IconMenu, [{
|
|
93
94
|
key: "render",
|
|
94
95
|
value: function render() {
|
|
95
96
|
var _this2 = this;
|
|
@@ -146,6 +147,7 @@ var IconMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
146
147
|
}));
|
|
147
148
|
}
|
|
148
149
|
}]);
|
|
150
|
+
return IconMenu;
|
|
149
151
|
}(_react["default"].Component);
|
|
150
152
|
_defineProperty(IconMenu, "defaultProps", {
|
|
151
153
|
placement: 'bottom-end',
|
|
@@ -17,13 +17,13 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
|
|
|
17
17
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
19
|
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); }
|
|
20
|
-
function
|
|
20
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
21
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
22
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
21
23
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
22
24
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
23
25
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
24
26
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
25
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
26
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
27
27
|
var styles = function styles(theme) {
|
|
28
28
|
return {
|
|
29
29
|
root: {
|
|
@@ -42,12 +42,13 @@ var styles = function styles(theme) {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
var InlineHelp = /*#__PURE__*/function (_Component) {
|
|
45
|
+
_inherits(InlineHelp, _Component);
|
|
46
|
+
var _super = _createSuper(InlineHelp);
|
|
45
47
|
function InlineHelp() {
|
|
46
48
|
_classCallCheck(this, InlineHelp);
|
|
47
|
-
return
|
|
49
|
+
return _super.apply(this, arguments);
|
|
48
50
|
}
|
|
49
|
-
|
|
50
|
-
return _createClass(InlineHelp, [{
|
|
51
|
+
_createClass(InlineHelp, [{
|
|
51
52
|
key: "render",
|
|
52
53
|
value: function render() {
|
|
53
54
|
var _this$props = this.props,
|
|
@@ -67,6 +68,7 @@ var InlineHelp = /*#__PURE__*/function (_Component) {
|
|
|
67
68
|
})));
|
|
68
69
|
}
|
|
69
70
|
}]);
|
|
71
|
+
return InlineHelp;
|
|
70
72
|
}(_react.Component);
|
|
71
73
|
InlineHelp.propTypes = {
|
|
72
74
|
children: _propTypes["default"].string.isRequired,
|
|
@@ -23,13 +23,13 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
23
23
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
24
24
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
25
25
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
26
|
-
function
|
|
26
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
27
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
28
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
27
29
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
28
30
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
29
31
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
30
32
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
31
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
32
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
33
33
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
34
34
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
35
35
|
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); }
|
|
@@ -43,29 +43,30 @@ var actionsStyles = function actionsStyles(theme) {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
var TablePaginationActions = /*#__PURE__*/function (_React$Component) {
|
|
46
|
+
_inherits(TablePaginationActions, _React$Component);
|
|
47
|
+
var _super = _createSuper(TablePaginationActions);
|
|
46
48
|
function TablePaginationActions() {
|
|
47
49
|
var _this;
|
|
48
50
|
_classCallCheck(this, TablePaginationActions);
|
|
49
51
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
50
52
|
args[_key] = arguments[_key];
|
|
51
53
|
}
|
|
52
|
-
_this =
|
|
53
|
-
_defineProperty(_this, "handleFirstPageButtonClick", function (event) {
|
|
54
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
55
|
+
_defineProperty(_assertThisInitialized(_this), "handleFirstPageButtonClick", function (event) {
|
|
54
56
|
_this.props.onChangePage(event, 0);
|
|
55
57
|
});
|
|
56
|
-
_defineProperty(_this, "handleBackButtonClick", function (event) {
|
|
58
|
+
_defineProperty(_assertThisInitialized(_this), "handleBackButtonClick", function (event) {
|
|
57
59
|
_this.props.onChangePage(event, _this.props.page - 1);
|
|
58
60
|
});
|
|
59
|
-
_defineProperty(_this, "handleNextButtonClick", function (event) {
|
|
61
|
+
_defineProperty(_assertThisInitialized(_this), "handleNextButtonClick", function (event) {
|
|
60
62
|
_this.props.onChangePage(event, _this.props.page + 1);
|
|
61
63
|
});
|
|
62
|
-
_defineProperty(_this, "handleLastPageButtonClick", function (event) {
|
|
64
|
+
_defineProperty(_assertThisInitialized(_this), "handleLastPageButtonClick", function (event) {
|
|
63
65
|
_this.props.onChangePage(event, Math.max(0, Math.ceil(_this.props.count / _this.props.rowsPerPage) - 1));
|
|
64
66
|
});
|
|
65
67
|
return _this;
|
|
66
68
|
}
|
|
67
|
-
|
|
68
|
-
return _createClass(TablePaginationActions, [{
|
|
69
|
+
_createClass(TablePaginationActions, [{
|
|
69
70
|
key: "render",
|
|
70
71
|
value: function render() {
|
|
71
72
|
var _this$props = this.props,
|
|
@@ -95,6 +96,7 @@ var TablePaginationActions = /*#__PURE__*/function (_React$Component) {
|
|
|
95
96
|
}, theme.direction === 'rtl' ? /*#__PURE__*/_react["default"].createElement(_FirstPage["default"], null) : /*#__PURE__*/_react["default"].createElement(_LastPage["default"], null)));
|
|
96
97
|
}
|
|
97
98
|
}]);
|
|
99
|
+
return TablePaginationActions;
|
|
98
100
|
}(_react["default"].Component);
|
|
99
101
|
TablePaginationActions.propTypes = {
|
|
100
102
|
classes: _propTypes["default"].object.isRequired,
|
|
@@ -19,13 +19,13 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
|
|
|
19
19
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
20
20
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
21
21
|
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); }
|
|
22
|
-
function
|
|
22
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
23
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
24
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
23
25
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
24
26
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
25
27
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26
28
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
27
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
28
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
29
29
|
var styles = function styles(theme) {
|
|
30
30
|
return {
|
|
31
31
|
root: {
|
|
@@ -41,12 +41,13 @@ var styles = function styles(theme) {
|
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
var UISelectField = /*#__PURE__*/function (_React$Component) {
|
|
44
|
+
_inherits(UISelectField, _React$Component);
|
|
45
|
+
var _super = _createSuper(UISelectField);
|
|
44
46
|
function UISelectField() {
|
|
45
47
|
_classCallCheck(this, UISelectField);
|
|
46
|
-
return
|
|
48
|
+
return _super.apply(this, arguments);
|
|
47
49
|
}
|
|
48
|
-
|
|
49
|
-
return _createClass(UISelectField, [{
|
|
50
|
+
_createClass(UISelectField, [{
|
|
50
51
|
key: "render",
|
|
51
52
|
value: function render() {
|
|
52
53
|
var _this$props = this.props,
|
|
@@ -91,5 +92,6 @@ var UISelectField = /*#__PURE__*/function (_React$Component) {
|
|
|
91
92
|
}, placeholder), children), error && /*#__PURE__*/_react["default"].createElement(_FormHelperText["default"], null, error));
|
|
92
93
|
}
|
|
93
94
|
}]);
|
|
95
|
+
return UISelectField;
|
|
94
96
|
}(_react["default"].Component);
|
|
95
97
|
var _default = exports["default"] = (0, _withStyles["default"])(styles)(UISelectField);
|
|
@@ -15,29 +15,31 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
15
15
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
16
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
17
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
-
function
|
|
18
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
19
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
20
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
19
21
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
20
22
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
21
23
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
22
24
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
23
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
24
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
25
25
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
26
26
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
27
27
|
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); }
|
|
28
28
|
var UITable = /*#__PURE__*/function (_React$Component) {
|
|
29
|
+
_inherits(UITable, _React$Component);
|
|
30
|
+
var _super = _createSuper(UITable);
|
|
29
31
|
function UITable() {
|
|
30
32
|
var _this;
|
|
31
33
|
_classCallCheck(this, UITable);
|
|
32
34
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
33
35
|
args[_key] = arguments[_key];
|
|
34
36
|
}
|
|
35
|
-
_this =
|
|
36
|
-
_defineProperty(_this, "state", {
|
|
37
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
38
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
|
37
39
|
selected: [],
|
|
38
40
|
allSelected: false
|
|
39
41
|
});
|
|
40
|
-
_defineProperty(_this, "onRowSelected", function (event, id) {
|
|
42
|
+
_defineProperty(_assertThisInitialized(_this), "onRowSelected", function (event, id) {
|
|
41
43
|
var isMultiple = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
42
44
|
if (!_this.props.isRowSelectable || _this.props.isRowSelectable(id) === true) {
|
|
43
45
|
var selected = _this.state.selected;
|
|
@@ -65,10 +67,10 @@ var UITable = /*#__PURE__*/function (_React$Component) {
|
|
|
65
67
|
_this.onSelectedCallback(newSelected, event);
|
|
66
68
|
}
|
|
67
69
|
});
|
|
68
|
-
_defineProperty(_this, "isSelected", function (id) {
|
|
70
|
+
_defineProperty(_assertThisInitialized(_this), "isSelected", function (id) {
|
|
69
71
|
return _this.state.selected.indexOf(id) !== -1;
|
|
70
72
|
});
|
|
71
|
-
_defineProperty(_this, "onAllRowsSelected", function (event) {
|
|
73
|
+
_defineProperty(_assertThisInitialized(_this), "onAllRowsSelected", function (event) {
|
|
72
74
|
var newSelected = [];
|
|
73
75
|
if (_this.state.allSelected) {
|
|
74
76
|
var selected = _this.props.selected;
|
|
@@ -90,20 +92,19 @@ var UITable = /*#__PURE__*/function (_React$Component) {
|
|
|
90
92
|
}
|
|
91
93
|
_this.onSelectedCallback(newSelected, event);
|
|
92
94
|
});
|
|
93
|
-
_defineProperty(_this, "isAllSelected", function () {
|
|
95
|
+
_defineProperty(_assertThisInitialized(_this), "isAllSelected", function () {
|
|
94
96
|
return _this.state.allSelected;
|
|
95
97
|
});
|
|
96
|
-
_defineProperty(_this, "onSelectedCallback", function (items, event) {
|
|
98
|
+
_defineProperty(_assertThisInitialized(_this), "onSelectedCallback", function (items, event) {
|
|
97
99
|
var onRowSelected = _this.props.onRowSelected;
|
|
98
100
|
if (onRowSelected) {
|
|
99
101
|
onRowSelected(items, event);
|
|
100
102
|
}
|
|
101
103
|
});
|
|
102
|
-
_defineProperty(_this, "tableBodyRef", /*#__PURE__*/_react["default"].createRef());
|
|
104
|
+
_defineProperty(_assertThisInitialized(_this), "tableBodyRef", /*#__PURE__*/_react["default"].createRef());
|
|
103
105
|
return _this;
|
|
104
106
|
}
|
|
105
|
-
|
|
106
|
-
return _createClass(UITable, [{
|
|
107
|
+
_createClass(UITable, [{
|
|
107
108
|
key: "componentDidMount",
|
|
108
109
|
value: function componentDidMount() {
|
|
109
110
|
var selected = this.props.selected;
|
|
@@ -156,5 +157,6 @@ var UITable = /*#__PURE__*/function (_React$Component) {
|
|
|
156
157
|
}) : children);
|
|
157
158
|
}
|
|
158
159
|
}]);
|
|
160
|
+
return UITable;
|
|
159
161
|
}(_react["default"].Component);
|
|
160
162
|
var _default = exports["default"] = UITable;
|
|
@@ -15,13 +15,13 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
15
15
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
16
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
17
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
-
function
|
|
18
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
19
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
20
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
19
21
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
20
22
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
21
23
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
22
24
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
23
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
24
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
25
25
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
26
26
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
27
27
|
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); }
|
|
@@ -38,12 +38,13 @@ var styles = {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
var UITableBody = /*#__PURE__*/function (_React$Component) {
|
|
41
|
+
_inherits(UITableBody, _React$Component);
|
|
42
|
+
var _super = _createSuper(UITableBody);
|
|
41
43
|
function UITableBody() {
|
|
42
44
|
_classCallCheck(this, UITableBody);
|
|
43
|
-
return
|
|
45
|
+
return _super.apply(this, arguments);
|
|
44
46
|
}
|
|
45
|
-
|
|
46
|
-
return _createClass(UITableBody, [{
|
|
47
|
+
_createClass(UITableBody, [{
|
|
47
48
|
key: "render",
|
|
48
49
|
value: function render() {
|
|
49
50
|
var _this$props = this.props,
|
|
@@ -84,6 +85,7 @@ var UITableBody = /*#__PURE__*/function (_React$Component) {
|
|
|
84
85
|
}) : children);
|
|
85
86
|
}
|
|
86
87
|
}]);
|
|
88
|
+
return UITableBody;
|
|
87
89
|
}(_react["default"].Component);
|
|
88
90
|
_defineProperty(UITableBody, "name", 'UITableBody');
|
|
89
91
|
var _default = exports["default"] = UITableBody;
|
|
@@ -17,13 +17,13 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
17
17
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
18
18
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
19
19
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
20
|
-
function
|
|
20
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
21
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
22
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
21
23
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
22
24
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
23
25
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
24
26
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
25
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
26
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
27
27
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
28
28
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
29
29
|
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); }
|
|
@@ -36,12 +36,13 @@ var styles = {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
var UITableHead = /*#__PURE__*/function (_React$Component) {
|
|
39
|
+
_inherits(UITableHead, _React$Component);
|
|
40
|
+
var _super = _createSuper(UITableHead);
|
|
39
41
|
function UITableHead() {
|
|
40
42
|
_classCallCheck(this, UITableHead);
|
|
41
|
-
return
|
|
43
|
+
return _super.apply(this, arguments);
|
|
42
44
|
}
|
|
43
|
-
|
|
44
|
-
return _createClass(UITableHead, [{
|
|
45
|
+
_createClass(UITableHead, [{
|
|
45
46
|
key: "render",
|
|
46
47
|
value: function render() {
|
|
47
48
|
var _this$props = this.props,
|
|
@@ -71,6 +72,7 @@ var UITableHead = /*#__PURE__*/function (_React$Component) {
|
|
|
71
72
|
}) : children);
|
|
72
73
|
}
|
|
73
74
|
}]);
|
|
75
|
+
return UITableHead;
|
|
74
76
|
}(_react["default"].Component);
|
|
75
77
|
_defineProperty(UITableHead, "name", 'UITableHead');
|
|
76
78
|
var _default = exports["default"] = UITableHead;
|
|
@@ -14,23 +14,24 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
14
14
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
15
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
-
function
|
|
17
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
18
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
19
|
+
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
18
20
|
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
19
21
|
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
20
22
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
23
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
22
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
23
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
24
24
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
25
25
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26
26
|
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); }
|
|
27
27
|
var UITableRow = /*#__PURE__*/function (_React$Component) {
|
|
28
|
+
_inherits(UITableRow, _React$Component);
|
|
29
|
+
var _super = _createSuper(UITableRow);
|
|
28
30
|
function UITableRow() {
|
|
29
31
|
_classCallCheck(this, UITableRow);
|
|
30
|
-
return
|
|
32
|
+
return _super.apply(this, arguments);
|
|
31
33
|
}
|
|
32
|
-
|
|
33
|
-
return _createClass(UITableRow, [{
|
|
34
|
+
_createClass(UITableRow, [{
|
|
34
35
|
key: "render",
|
|
35
36
|
value: function render() {
|
|
36
37
|
var _this$props = this.props,
|
|
@@ -41,6 +42,7 @@ var UITableRow = /*#__PURE__*/function (_React$Component) {
|
|
|
41
42
|
return /*#__PURE__*/_react["default"].createElement(_TableRow["default"], rowProps, firstCell, children, lastCell);
|
|
42
43
|
}
|
|
43
44
|
}]);
|
|
45
|
+
return UITableRow;
|
|
44
46
|
}(_react["default"].Component);
|
|
45
47
|
_defineProperty(UITableRow, "name", 'UITableRow');
|
|
46
48
|
var _default = exports["default"] = UITableRow;
|