tenjin-ui-kit 0.3.20 → 0.3.22
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.
|
@@ -10,7 +10,7 @@ var _FormControl = _interopRequireDefault(require("@mui/material/FormControl"));
|
|
|
10
10
|
var _Menu = _interopRequireDefault(require("@mui/material/Menu"));
|
|
11
11
|
var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
|
|
12
12
|
var _fa = require("react-icons/fa");
|
|
13
|
-
var
|
|
13
|
+
var _text = require("../text");
|
|
14
14
|
var _excluded = ["options", "onChange", "value", "defaultValue", "fullWidth"];
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -23,7 +23,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
23
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
24
|
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; }
|
|
25
25
|
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; }
|
|
26
|
-
var
|
|
26
|
+
var GroupSimpleSelect = function GroupSimpleSelect(_ref) {
|
|
27
27
|
var options = _ref.options,
|
|
28
28
|
onChange = _ref.onChange,
|
|
29
29
|
propValue = _ref.value,
|
|
@@ -152,7 +152,7 @@ var GroupedSelect = function GroupedSelect(_ref) {
|
|
|
152
152
|
options = _ref3[1];
|
|
153
153
|
return /*#__PURE__*/React.createElement("div", {
|
|
154
154
|
key: pageTitle
|
|
155
|
-
}, /*#__PURE__*/React.createElement(
|
|
155
|
+
}, /*#__PURE__*/React.createElement(_text.Text, {
|
|
156
156
|
style: {
|
|
157
157
|
padding: "5px 10px",
|
|
158
158
|
backgroundColor: "#f5f5f5"
|
|
@@ -172,5 +172,5 @@ var GroupedSelect = function GroupedSelect(_ref) {
|
|
|
172
172
|
}));
|
|
173
173
|
})))));
|
|
174
174
|
};
|
|
175
|
-
var _default =
|
|
175
|
+
var _default = GroupSimpleSelect;
|
|
176
176
|
exports.default = _default;
|