@plesk/ui-library 3.25.3 → 3.25.4
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/README.md +35 -35
- package/cjs/components/Action/Action.js +3 -3
- package/cjs/components/Button/Button.js +50 -50
- package/cjs/components/Checkbox/Checkbox.js +3 -3
- package/cjs/components/CodeEditor/CodeEditor.js +40 -40
- package/cjs/components/Dialog/Dialog.js +63 -63
- package/cjs/components/Drawer/Drawer.js +68 -68
- package/cjs/components/Form/Form.js +4 -4
- package/cjs/components/FormField/FormField.js +78 -78
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
- package/cjs/components/FormFieldPassword/FormFieldPassword.js +34 -34
- package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +3 -1
- package/cjs/components/Icon/Icon.js +6 -6
- package/cjs/components/Icon/images/symbols.svg +1631 -1631
- package/cjs/components/InputNumber/InputNumber.js +3 -3
- package/cjs/components/Item/Item.js +38 -38
- package/cjs/components/ItemList/ItemList.js +4 -4
- package/cjs/components/Layout/Layout.js +55 -55
- package/cjs/components/List/List.js +133 -133
- package/cjs/components/Menu/MenuBaseItem.js +19 -19
- package/cjs/components/Overlay/Overlay.js +34 -34
- package/cjs/components/Pagination/Pagination.js +3 -3
- package/cjs/components/Popper/Popper.js +30 -30
- package/cjs/components/Section/Section.js +36 -36
- package/cjs/components/Select/Select.js +3 -3
- package/cjs/components/Select/SelectControl.js +1 -1
- package/cjs/components/Tabs/Tab.js +28 -28
- package/cjs/components/Tabs/Tabs.js +33 -33
- package/cjs/components/Translate/Translate.js +25 -25
- package/cjs/index.js +1 -1
- package/dist/images/symbols.svg +1631 -1631
- package/dist/plesk-ui-library-rtl.css.map +1 -1
- package/dist/plesk-ui-library.css.map +1 -1
- package/dist/plesk-ui-library.js +825 -823
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +825 -823
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Action/Action.js +3 -3
- package/esm/components/Button/Button.js +50 -50
- package/esm/components/Checkbox/Checkbox.js +3 -3
- package/esm/components/CodeEditor/CodeEditor.js +40 -40
- package/esm/components/Dialog/Dialog.js +63 -63
- package/esm/components/Drawer/Drawer.js +68 -68
- package/esm/components/Form/Form.js +4 -4
- package/esm/components/FormField/FormField.js +78 -78
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
- package/esm/components/FormFieldPassword/FormFieldPassword.js +34 -34
- package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +3 -1
- package/esm/components/Icon/Icon.js +6 -6
- package/esm/components/Icon/images/symbols.svg +1631 -1631
- package/esm/components/InputNumber/InputNumber.js +3 -3
- package/esm/components/Item/Item.js +38 -38
- package/esm/components/ItemList/ItemList.js +4 -4
- package/esm/components/Layout/Layout.js +55 -55
- package/esm/components/List/List.js +133 -133
- package/esm/components/Menu/MenuBaseItem.js +19 -19
- package/esm/components/Overlay/Overlay.js +34 -34
- package/esm/components/Pagination/Pagination.js +3 -3
- package/esm/components/Popper/Popper.js +30 -30
- package/esm/components/Section/Section.js +36 -36
- package/esm/components/Select/Select.js +3 -3
- package/esm/components/Select/SelectControl.js +1 -1
- package/esm/components/Tabs/Tab.js +28 -28
- package/esm/components/Tabs/Tabs.js +33 -33
- package/esm/components/Translate/Translate.js +25 -25
- package/esm/index.js +1 -1
- package/package.json +145 -145
- package/styleguide/build/bundle.cef4705c.js +2 -0
- package/styleguide/build/{bundle.47dacd83.js.LICENSE.txt → bundle.cef4705c.js.LICENSE.txt} +0 -0
- package/styleguide/images/symbols.svg +1631 -1631
- package/styleguide/index.html +2 -2
- package/styleguide/build/bundle.47dacd83.js +0 -2
|
@@ -16230,9 +16230,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
16230
16230
|
|
|
16231
16231
|
function _extends() { _extends = Object.assign || 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); }
|
|
16232
16232
|
|
|
16233
|
-
/**
|
|
16234
|
-
* `MenuBaseItem` component.
|
|
16235
|
-
* @since 0.0.60
|
|
16233
|
+
/**
|
|
16234
|
+
* `MenuBaseItem` component.
|
|
16235
|
+
* @since 0.0.60
|
|
16236
16236
|
*/
|
|
16237
16237
|
const MenuBaseItem = ({
|
|
16238
16238
|
baseClassName,
|
|
@@ -16255,37 +16255,37 @@ const MenuBaseItem = ({
|
|
|
16255
16255
|
}, label));
|
|
16256
16256
|
|
|
16257
16257
|
MenuBaseItem.propTypes = {
|
|
16258
|
-
/**
|
|
16259
|
-
* Icon
|
|
16260
|
-
* @since 0.0.60
|
|
16258
|
+
/**
|
|
16259
|
+
* Icon
|
|
16260
|
+
* @since 0.0.60
|
|
16261
16261
|
*/
|
|
16262
16262
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
16263
16263
|
|
|
16264
|
-
/**
|
|
16265
|
-
* Right label of item.
|
|
16266
|
-
* @since 0.0.60
|
|
16264
|
+
/**
|
|
16265
|
+
* Right label of item.
|
|
16266
|
+
* @since 0.0.60
|
|
16267
16267
|
*/
|
|
16268
16268
|
label: _propTypes.default.node,
|
|
16269
16269
|
|
|
16270
|
-
/**
|
|
16271
|
-
* Content of the `MenuBaseItem`.
|
|
16272
|
-
* @since 0.0.60
|
|
16270
|
+
/**
|
|
16271
|
+
* Content of the `MenuBaseItem`.
|
|
16272
|
+
* @since 0.0.60
|
|
16273
16273
|
*/
|
|
16274
16274
|
children: _propTypes.default.node,
|
|
16275
16275
|
|
|
16276
|
-
/**
|
|
16277
|
-
* @ignore
|
|
16276
|
+
/**
|
|
16277
|
+
* @ignore
|
|
16278
16278
|
*/
|
|
16279
16279
|
className: _propTypes.default.string,
|
|
16280
16280
|
|
|
16281
|
-
/**
|
|
16282
|
-
* @ignore
|
|
16281
|
+
/**
|
|
16282
|
+
* @ignore
|
|
16283
16283
|
*/
|
|
16284
16284
|
baseClassName: _propTypes.default.string,
|
|
16285
16285
|
|
|
16286
|
-
/**
|
|
16287
|
-
* Component to render as the root element. Useful when rendering a `MenuBaseItem` as other component or tag.
|
|
16288
|
-
* @since 1.9.1
|
|
16286
|
+
/**
|
|
16287
|
+
* Component to render as the root element. Useful when rendering a `MenuBaseItem` as other component or tag.
|
|
16288
|
+
* @since 1.9.1
|
|
16289
16289
|
*/
|
|
16290
16290
|
component: _propTypes.default.elementType
|
|
16291
16291
|
};
|
|
@@ -18996,12 +18996,12 @@ const getHref = (name, size) => {
|
|
|
18996
18996
|
return "".concat(_symbols.default, "#").concat(name, ":").concat(iconSize);
|
|
18997
18997
|
};
|
|
18998
18998
|
|
|
18999
|
-
/**
|
|
19000
|
-
* `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
|
|
19001
|
-
* bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
|
|
19002
|
-
* of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
|
|
19003
|
-
* standard sizes.
|
|
19004
|
-
* @since 0.0.35
|
|
18999
|
+
/**
|
|
19000
|
+
* `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
|
|
19001
|
+
* bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
|
|
19002
|
+
* of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
|
|
19003
|
+
* standard sizes.
|
|
19004
|
+
* @since 0.0.35
|
|
19005
19005
|
*/
|
|
19006
19006
|
const Icon = ({
|
|
19007
19007
|
baseClassName = "".concat(_constants.CLS_PREFIX, "icon"),
|
|
@@ -26151,58 +26151,58 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
26151
26151
|
|
|
26152
26152
|
/* eslint-disable react/no-unused-prop-types */
|
|
26153
26153
|
|
|
26154
|
-
/**
|
|
26155
|
-
* `Tab` is an individual element of the [Tabs](#!/Tabs) component.
|
|
26156
|
-
*
|
|
26157
|
-
* Each `Tab` can display an icon near the tab name for easier identification.
|
|
26158
|
-
* It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
|
|
26159
|
-
* You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
|
|
26160
|
-
* @since 0.0.35
|
|
26154
|
+
/**
|
|
26155
|
+
* `Tab` is an individual element of the [Tabs](#!/Tabs) component.
|
|
26156
|
+
*
|
|
26157
|
+
* Each `Tab` can display an icon near the tab name for easier identification.
|
|
26158
|
+
* It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
|
|
26159
|
+
* You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
|
|
26160
|
+
* @since 0.0.35
|
|
26161
26161
|
*/
|
|
26162
26162
|
const Tab = ({
|
|
26163
26163
|
children
|
|
26164
26164
|
}) => /*#__PURE__*/_react.default.createElement("div", null, children);
|
|
26165
26165
|
|
|
26166
26166
|
Tab.propTypes = {
|
|
26167
|
-
/**
|
|
26168
|
-
* Tab title
|
|
26169
|
-
* @since 0.0.35
|
|
26167
|
+
/**
|
|
26168
|
+
* Tab title
|
|
26169
|
+
* @since 0.0.35
|
|
26170
26170
|
*/
|
|
26171
26171
|
title: _propTypes.default.node.isRequired,
|
|
26172
26172
|
|
|
26173
|
-
/**
|
|
26174
|
-
* Label in tab title
|
|
26175
|
-
* @since 0.0.42
|
|
26173
|
+
/**
|
|
26174
|
+
* Label in tab title
|
|
26175
|
+
* @since 0.0.42
|
|
26176
26176
|
*/
|
|
26177
26177
|
label: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
|
|
26178
26178
|
|
|
26179
|
-
/**
|
|
26180
|
-
* Name of icon or Icon component for tab
|
|
26181
|
-
* @since 0.0.42
|
|
26179
|
+
/**
|
|
26180
|
+
* Name of icon or Icon component for tab
|
|
26181
|
+
* @since 0.0.42
|
|
26182
26182
|
*/
|
|
26183
26183
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
26184
26184
|
|
|
26185
|
-
/**
|
|
26186
|
-
* Activate callback.
|
|
26187
|
-
* @since 0.0.43
|
|
26185
|
+
/**
|
|
26186
|
+
* Activate callback.
|
|
26187
|
+
* @since 0.0.43
|
|
26188
26188
|
*/
|
|
26189
26189
|
onActivate: _propTypes.default.func,
|
|
26190
26190
|
|
|
26191
|
-
/**
|
|
26192
|
-
* Close callback
|
|
26193
|
-
* @since 0.0.58
|
|
26191
|
+
/**
|
|
26192
|
+
* Close callback
|
|
26193
|
+
* @since 0.0.58
|
|
26194
26194
|
*/
|
|
26195
26195
|
onClose: _propTypes.default.func,
|
|
26196
26196
|
|
|
26197
|
-
/**
|
|
26198
|
-
* Component to render as the root element.
|
|
26199
|
-
* @since 2.5.1
|
|
26197
|
+
/**
|
|
26198
|
+
* Component to render as the root element.
|
|
26199
|
+
* @since 2.5.1
|
|
26200
26200
|
*/
|
|
26201
26201
|
component: _propTypes.default.elementType,
|
|
26202
26202
|
|
|
26203
|
-
/**
|
|
26204
|
-
* Tab content
|
|
26205
|
-
* @since 0.0.47
|
|
26203
|
+
/**
|
|
26204
|
+
* Tab content
|
|
26205
|
+
* @since 0.0.47
|
|
26206
26206
|
*/
|
|
26207
26207
|
children: _propTypes.default.node
|
|
26208
26208
|
};
|
|
@@ -27338,7 +27338,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!function(root,
|
|
|
27338
27338
|
/* 165 */
|
|
27339
27339
|
/***/ (function(module) {
|
|
27340
27340
|
|
|
27341
|
-
module.exports = JSON.parse("{\"name\":\"@plesk/ui-library\",\"version\":\"3.25.
|
|
27341
|
+
module.exports = JSON.parse("{\"name\":\"@plesk/ui-library\",\"version\":\"3.25.4\",\"description\":\"Plesk UI Library\",\"main\":\"index.js\",\"module\":\"esm/index.js\",\"types\":\"./types/src\",\"sideEffects\":[\"cjs/index.js\",\"esm/index.js\",\"dist/*.js\",\"dist/*.css\"],\"scripts\":{\"pretest\":\"yarn lint\",\"test\":\"jest --ci --coverage --coverageReporters text-summary\",\"test:vr\":\"cross-env VISUAL_REGRESSION=true jest\",\"build\":\"yarn build:types && yarn build:umd && yarn build:esm && yarn build:cjs\",\"build:umd\":\"webpack --config ./configs/build.config.js\",\"build:esm\":\"cross-env NODE_ENV=esm node ./scripts/build.js\",\"build:cjs\":\"cross-env NODE_ENV=cjs node ./scripts/build.js\",\"build:types\":\"rimraf ./types && tsc --project ./configs/types-generator.config.json\",\"create-svg-sprite\":\"node ./scripts/create-svg-sprite.js\",\"lint\":\"yarn lint:es && yarn lint:types && yarn lint:style\",\"lint:es\":\"eslint --ext js,md,tsx src configs scripts styleguidist\",\"lint:types\":\"tsc\",\"lint:style\":\"stylelint \\\"src/**/*.less\\\"\",\"styleguide\":\"styleguidist server --config ./configs/styleguide.config.js\",\"styleguide:build\":\"styleguidist build --config ./configs/styleguide.config.js\",\"create-component\":\"node scripts/create-component.js\",\"prepublishOnly\":\"yarn install && yarn test && yarn build && yarn styleguide:build\",\"storybook\":\"cross-env NODE_ENV=umd webpack-dev-server --config ./configs/storybook.config.js\",\"postinstall\":\"node ./scripts/postinstall.js\"},\"files\":[\"esm\",\"cjs\",\"dist\",\"styleguide\",\"types\",\"/scripts/postinstall.js\",\"/index.js\"],\"dependencies\":{\"@babel/runtime\":\"^7.12.5\",\"@plesk/react-movable\":\"^2.6.0\",\"@types/classnames\":\"2.2.7\",\"@types/react\":\"16.8.13\",\"@types/react-dom\":\"16.8.4\",\"@types/react-measure\":\"2.0.4\",\"@types/react-transition-group\":\"^4.2.3\",\"@types/svg4everybody\":\"2.1.0\",\"classnames\":\"^2.2.5\",\"codemirror\":\"5.48.0\",\"marked\":\"0.3.19\",\"memoize-one\":\"^5.1.1\",\"popper.js\":\"1.14.3\",\"prop-types\":\"^15.7.2\",\"react-measure\":\"2.3.0\",\"react-sortable-hoc\":\"0.6.8\",\"react-transition-group\":\"^4.4.1\",\"scroll-into-view-if-needed\":\"^2.2.20\",\"svg4everybody\":\"2.1.9\",\"use-focus-visible\":\"^1.0.0\"},\"devDependencies\":{\"@babel/core\":\"^7.12.10\",\"@babel/plugin-proposal-class-properties\":\"^7.12.1\",\"@babel/plugin-syntax-dynamic-import\":\"^7.8.3\",\"@babel/plugin-transform-runtime\":\"^7.12.10\",\"@babel/preset-env\":\"^7.12.10\",\"@babel/preset-react\":\"^7.12.10\",\"@babel/preset-typescript\":\"^7.12.7\",\"@plesk/eslint-config\":\"^1.1.0\",\"@plesk/stylelint-config\":\"^0.0.6\",\"@types/buble\":\"^0.19.2\",\"@types/cheerio\":\"^0.22.30\",\"@types/doctrine\":\"^0.0.3\",\"@types/enzyme\":\"^3.10.9\",\"@types/jest\":\"^23.3.12\",\"@types/webpack-dev-server\":\"^3.10.1\",\"@typescript-eslint/eslint-plugin\":\"^2.7.0\",\"@typescript-eslint/parser\":\"^2.7.0\",\"autoprefixer\":\"^10.1.0\",\"babel-loader\":\"^8.2.2\",\"babel-plugin-dynamic-import-node\":\"^2.3.3\",\"babel-plugin-transform-require-ignore\":\"^0.1.1\",\"clean-webpack-plugin\":\"^1.0.1\",\"cross-env\":\"^5.2.0\",\"css-loader\":\"^2.1.0\",\"css-minimizer-webpack-plugin\":\"^1.3.0\",\"enzyme\":\"^3.11.0\",\"enzyme-adapter-react-16\":\"^1.15.6\",\"enzyme-to-json\":\"^3.6.2\",\"eslint-config-prettier\":\"^6.11.0\",\"eslint-plugin-markdown\":\"^1.0.2\",\"eslint-plugin-prettier\":\"^3.1.3\",\"expect-puppeteer\":\"^4.4.0\",\"file-loader\":\"^3.0.1\",\"fs-extra\":\"^7.0.0\",\"html-webpack-plugin\":\"^3.2.0\",\"inquirer\":\"^3.2.1\",\"jest\":\"^24.9.0\",\"jest-dev-server\":\"^4.4.0\",\"jest-image-snapshot\":\"^4.0.2\",\"less\":\"^3.12.2\",\"less-loader\":\"^7.1.0\",\"mini-css-extract-plugin\":\"^1.3.2\",\"postcss\":\"^8.2.0\",\"postcss-loader\":\"^4.1.0\",\"postcss-logical\":\"^4.0.2\",\"prettier\":\"^2.0.5\",\"puppeteer-core\":\"^5.2.1\",\"react\":\"^16.8.6\",\"react-dom\":\"^16.8.6\",\"react-styleguidist\":\"^11.0.5\",\"react-test-renderer\":\"^16.8.6\",\"rimraf\":\"^3.0.1\",\"rtlcss\":\"^3.0.0\",\"style-loader\":\"^2.0.0\",\"stylelint-config-prettier\":\"^8.0.1\",\"stylelint-prettier\":\"^1.1.2\",\"svg-mixer\":\"^2.3.4\",\"typescript\":\"^3.7.2\",\"webpack\":\"^4.42.0\",\"webpack-cli\":\"^3.2.1\"},\"peerDependencies\":{\"react\":\"^16.8.6\",\"react-dom\":\"^16.8.6\"},\"resolutions\":{\"@babel/types\":\"^7.4.4\",\"@types/node\":\"^12.12.8\"},\"browserslist\":[\"last 2 versions\",\">1%\",\"not op_mini all\",\"not dead\",\"not ie 11\"],\"author\":\"Plesk Developers <plesk-dev-leads@plesk.com> (https://www.plesk.com/)\",\"license\":\"Apache-2.0\"}");
|
|
27342
27342
|
|
|
27343
27343
|
/***/ }),
|
|
27344
27344
|
/* 166 */
|
|
@@ -28362,9 +28362,9 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
28362
28362
|
|
|
28363
28363
|
function _extends() { _extends = Object.assign || 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); }
|
|
28364
28364
|
|
|
28365
|
-
/**
|
|
28366
|
-
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
28367
|
-
* @since 0.0.68
|
|
28365
|
+
/**
|
|
28366
|
+
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
28367
|
+
* @since 0.0.68
|
|
28368
28368
|
*/
|
|
28369
28369
|
const Action = ({
|
|
28370
28370
|
baseClassName = "".concat(_constants.CLS_PREFIX, "action"),
|
|
@@ -28512,7 +28512,7 @@ exports.default = _default;
|
|
|
28512
28512
|
/* 170 */
|
|
28513
28513
|
/***/ (function(module, exports, __webpack_require__) {
|
|
28514
28514
|
|
|
28515
|
-
module.exports = __webpack_require__.p + "images/symbols.svg?
|
|
28515
|
+
module.exports = __webpack_require__.p + "images/symbols.svg?3809cf4d9f2b04083975958d91cf049c";
|
|
28516
28516
|
|
|
28517
28517
|
/***/ }),
|
|
28518
28518
|
/* 171 */
|
|
@@ -29260,10 +29260,10 @@ const renderCaret = ({
|
|
|
29260
29260
|
|
|
29261
29261
|
return caretElement;
|
|
29262
29262
|
};
|
|
29263
|
-
/**
|
|
29264
|
-
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
29265
|
-
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
29266
|
-
* @since 0.0.37
|
|
29263
|
+
/**
|
|
29264
|
+
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
29265
|
+
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
29266
|
+
* @since 0.0.37
|
|
29267
29267
|
*/
|
|
29268
29268
|
|
|
29269
29269
|
|
|
@@ -29383,97 +29383,97 @@ const Button = ({
|
|
|
29383
29383
|
};
|
|
29384
29384
|
|
|
29385
29385
|
Button.propTypes = {
|
|
29386
|
-
/**
|
|
29387
|
-
* Button size.
|
|
29388
|
-
* @since 2.5.0
|
|
29386
|
+
/**
|
|
29387
|
+
* Button size.
|
|
29388
|
+
* @since 2.5.0
|
|
29389
29389
|
*/
|
|
29390
29390
|
size: _propTypes.default.oneOf(['md', 'lg']),
|
|
29391
29391
|
|
|
29392
|
-
/**
|
|
29393
|
-
* Visual intent color to apply to component.
|
|
29394
|
-
* @since 0.0.42
|
|
29392
|
+
/**
|
|
29393
|
+
* Visual intent color to apply to component.
|
|
29394
|
+
* @since 0.0.42
|
|
29395
29395
|
*/
|
|
29396
29396
|
intent: _propTypes.default.oneOf(['primary', 'secondary', 'success', 'warning', 'danger', 'info']),
|
|
29397
29397
|
|
|
29398
|
-
/**
|
|
29399
|
-
* Display button with transparent background.
|
|
29400
|
-
* @since 2.1.0
|
|
29398
|
+
/**
|
|
29399
|
+
* Display button with transparent background.
|
|
29400
|
+
* @since 2.1.0
|
|
29401
29401
|
*/
|
|
29402
29402
|
ghost: _propTypes.default.bool,
|
|
29403
29403
|
|
|
29404
|
-
/**
|
|
29405
|
-
* Arrow button.
|
|
29406
|
-
* @since 2.6.0
|
|
29404
|
+
/**
|
|
29405
|
+
* Arrow button.
|
|
29406
|
+
* @since 2.6.0
|
|
29407
29407
|
*/
|
|
29408
29408
|
arrow: _propTypes.default.oneOf(['forward', 'backward']),
|
|
29409
29409
|
|
|
29410
|
-
/**
|
|
29411
|
-
* Selected state of toggle button. Used in controlled component mode.
|
|
29412
|
-
* @since 0.0.68
|
|
29410
|
+
/**
|
|
29411
|
+
* Selected state of toggle button. Used in controlled component mode.
|
|
29412
|
+
* @since 0.0.68
|
|
29413
29413
|
*/
|
|
29414
29414
|
selected: _propTypes.default.bool,
|
|
29415
29415
|
|
|
29416
|
-
/**
|
|
29417
|
-
* Toggle button callback. Used in uncontrolled component mode.
|
|
29418
|
-
* @since 0.0.68
|
|
29416
|
+
/**
|
|
29417
|
+
* Toggle button callback. Used in uncontrolled component mode.
|
|
29418
|
+
* @since 0.0.68
|
|
29419
29419
|
*/
|
|
29420
29420
|
onToggle: _propTypes.default.func,
|
|
29421
29421
|
|
|
29422
|
-
/**
|
|
29423
|
-
* State of the button
|
|
29424
|
-
* @since 0.0.42
|
|
29422
|
+
/**
|
|
29423
|
+
* State of the button
|
|
29424
|
+
* @since 0.0.42
|
|
29425
29425
|
*/
|
|
29426
29426
|
state: _propTypes.default.oneOf(['active', 'loading', 'hovered', 'focused']),
|
|
29427
29427
|
|
|
29428
|
-
/**
|
|
29429
|
-
* Is button disabled?
|
|
29430
|
-
* @since 0.0.42
|
|
29428
|
+
/**
|
|
29429
|
+
* Is button disabled?
|
|
29430
|
+
* @since 0.0.42
|
|
29431
29431
|
*/
|
|
29432
29432
|
disabled: _propTypes.default.bool,
|
|
29433
29433
|
|
|
29434
|
-
/**
|
|
29435
|
-
* Tooltip for component
|
|
29436
|
-
* @since 0.0.42
|
|
29434
|
+
/**
|
|
29435
|
+
* Tooltip for component
|
|
29436
|
+
* @since 0.0.42
|
|
29437
29437
|
*/
|
|
29438
29438
|
tooltip: _propTypes.default.node,
|
|
29439
29439
|
|
|
29440
|
-
/**
|
|
29441
|
-
* Name of icon or [Icon](#!/Icon) component
|
|
29442
|
-
* @since 0.0.42
|
|
29440
|
+
/**
|
|
29441
|
+
* Name of icon or [Icon](#!/Icon) component
|
|
29442
|
+
* @since 0.0.42
|
|
29443
29443
|
*/
|
|
29444
29444
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
29445
29445
|
|
|
29446
|
-
/**
|
|
29447
|
-
* Show caret
|
|
29448
|
-
* @since 0.0.42
|
|
29446
|
+
/**
|
|
29447
|
+
* Show caret
|
|
29448
|
+
* @since 0.0.42
|
|
29449
29449
|
*/
|
|
29450
29450
|
caret: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.element]),
|
|
29451
29451
|
|
|
29452
|
-
/**
|
|
29453
|
-
* Dynamically expand the button to fill out the whole available width of its parent container.
|
|
29454
|
-
* @since 1.8.0
|
|
29452
|
+
/**
|
|
29453
|
+
* Dynamically expand the button to fill out the whole available width of its parent container.
|
|
29454
|
+
* @since 1.8.0
|
|
29455
29455
|
*/
|
|
29456
29456
|
fill: _propTypes.default.bool,
|
|
29457
29457
|
|
|
29458
|
-
/**
|
|
29459
|
-
* Content of the button
|
|
29460
|
-
* @since 0.0.37
|
|
29458
|
+
/**
|
|
29459
|
+
* Content of the button
|
|
29460
|
+
* @since 0.0.37
|
|
29461
29461
|
*/
|
|
29462
29462
|
children: _propTypes.default.node,
|
|
29463
29463
|
|
|
29464
|
-
/**
|
|
29465
|
-
* Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.
|
|
29466
|
-
* @since 0.0.42
|
|
29464
|
+
/**
|
|
29465
|
+
* Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.
|
|
29466
|
+
* @since 0.0.42
|
|
29467
29467
|
*/
|
|
29468
29468
|
component: _propTypes.default.elementType,
|
|
29469
29469
|
|
|
29470
|
-
/**
|
|
29471
|
-
* @ignore
|
|
29470
|
+
/**
|
|
29471
|
+
* @ignore
|
|
29472
29472
|
*/
|
|
29473
29473
|
className: _propTypes.default.string,
|
|
29474
29474
|
|
|
29475
|
-
/**
|
|
29476
|
-
* @ignore
|
|
29475
|
+
/**
|
|
29476
|
+
* @ignore
|
|
29477
29477
|
*/
|
|
29478
29478
|
baseClassName: _propTypes.default.string
|
|
29479
29479
|
};
|
|
@@ -30706,9 +30706,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
30706
30706
|
|
|
30707
30707
|
function _extends() { _extends = Object.assign || 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); }
|
|
30708
30708
|
|
|
30709
|
-
/**
|
|
30710
|
-
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
30711
|
-
* @since 0.0.55
|
|
30709
|
+
/**
|
|
30710
|
+
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
30711
|
+
* @since 0.0.55
|
|
30712
30712
|
*/
|
|
30713
30713
|
const Checkbox = ({
|
|
30714
30714
|
baseClassName = "".concat(_constants.CLS_PREFIX, "checkbox"),
|
|
@@ -31109,8 +31109,8 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
31109
31109
|
|
|
31110
31110
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
31111
31111
|
|
|
31112
|
-
/**
|
|
31113
|
-
* `Popper` component.
|
|
31112
|
+
/**
|
|
31113
|
+
* `Popper` component.
|
|
31114
31114
|
*/
|
|
31115
31115
|
class Popper extends _react.Component {
|
|
31116
31116
|
constructor(...args) {
|
|
@@ -31289,75 +31289,75 @@ class Popper extends _react.Component {
|
|
|
31289
31289
|
}
|
|
31290
31290
|
|
|
31291
31291
|
Popper.propTypes = {
|
|
31292
|
-
/**
|
|
31293
|
-
* Whether show popper content.
|
|
31292
|
+
/**
|
|
31293
|
+
* Whether show popper content.
|
|
31294
31294
|
*/
|
|
31295
31295
|
show: _propTypes.default.bool,
|
|
31296
31296
|
|
|
31297
|
-
/**
|
|
31298
|
-
* Content of the `Popper`.
|
|
31297
|
+
/**
|
|
31298
|
+
* Content of the `Popper`.
|
|
31299
31299
|
*/
|
|
31300
31300
|
children: _propTypes.default.node,
|
|
31301
31301
|
|
|
31302
|
-
/**
|
|
31303
|
-
* Target for popper.
|
|
31302
|
+
/**
|
|
31303
|
+
* Target for popper.
|
|
31304
31304
|
*/
|
|
31305
31305
|
target: _propTypes.default.any.isRequired,
|
|
31306
31306
|
|
|
31307
|
-
/**
|
|
31308
|
-
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
31307
|
+
/**
|
|
31308
|
+
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
31309
31309
|
*/
|
|
31310
31310
|
targetRef: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.shape({
|
|
31311
31311
|
current: _propTypes.default.instanceOf(HTMLElement)
|
|
31312
31312
|
})]),
|
|
31313
31313
|
|
|
31314
|
-
/**
|
|
31315
|
-
* Arrow element of popper
|
|
31314
|
+
/**
|
|
31315
|
+
* Arrow element of popper
|
|
31316
31316
|
*/
|
|
31317
31317
|
arrow: _propTypes.default.element,
|
|
31318
31318
|
|
|
31319
|
-
/**
|
|
31320
|
-
* Placement for popper.
|
|
31319
|
+
/**
|
|
31320
|
+
* Placement for popper.
|
|
31321
31321
|
*/
|
|
31322
31322
|
placement: _propTypes.default.oneOf(['auto', 'auto-start', 'auto-end', 'auto-top', 'auto-right', 'auto-bottom', 'auto-left', 'top', 'top-start', 'top-end', 'right', 'right-start', 'right-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end']),
|
|
31323
31323
|
|
|
31324
|
-
/**
|
|
31325
|
-
* The behavior used to change the popper's placement.
|
|
31324
|
+
/**
|
|
31325
|
+
* The behavior used to change the popper's placement.
|
|
31326
31326
|
*/
|
|
31327
31327
|
behavior: _propTypes.default.oneOfType([_propTypes.default.oneOf(['flip', 'clockwise', 'counterclockwise']), _propTypes.default.arrayOf(_propTypes.default.string)]),
|
|
31328
31328
|
|
|
31329
|
-
/**
|
|
31330
|
-
* Shift your popper on both axis.
|
|
31329
|
+
/**
|
|
31330
|
+
* Shift your popper on both axis.
|
|
31331
31331
|
*/
|
|
31332
31332
|
offset: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
31333
31333
|
|
|
31334
|
-
/**
|
|
31335
|
-
* Update callback function
|
|
31334
|
+
/**
|
|
31335
|
+
* Update callback function
|
|
31336
31336
|
*/
|
|
31337
31337
|
onUpdate: _propTypes.default.func,
|
|
31338
31338
|
|
|
31339
|
-
/**
|
|
31340
|
-
* @ignore
|
|
31339
|
+
/**
|
|
31340
|
+
* @ignore
|
|
31341
31341
|
*/
|
|
31342
31342
|
className: _propTypes.default.string,
|
|
31343
31343
|
|
|
31344
|
-
/**
|
|
31345
|
-
* @ignore
|
|
31344
|
+
/**
|
|
31345
|
+
* @ignore
|
|
31346
31346
|
*/
|
|
31347
31347
|
baseClassName: _propTypes.default.string,
|
|
31348
31348
|
|
|
31349
|
-
/**
|
|
31350
|
-
* zIndex value.
|
|
31349
|
+
/**
|
|
31350
|
+
* zIndex value.
|
|
31351
31351
|
*/
|
|
31352
31352
|
zIndex: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
31353
31353
|
|
|
31354
|
-
/**
|
|
31355
|
-
* Boundaries element for preventOverflow property.
|
|
31354
|
+
/**
|
|
31355
|
+
* Boundaries element for preventOverflow property.
|
|
31356
31356
|
*/
|
|
31357
31357
|
boundariesElement: _propTypes.default.oneOfType([_propTypes.default.oneOf(['scrollParent', 'window', 'viewport']), _propTypes.default.instanceOf(HTMLElement)]),
|
|
31358
31358
|
|
|
31359
|
-
/**
|
|
31360
|
-
* @ignore
|
|
31359
|
+
/**
|
|
31360
|
+
* @ignore
|
|
31361
31361
|
*/
|
|
31362
31362
|
style: _propTypes.default.object
|
|
31363
31363
|
};
|
|
@@ -34289,9 +34289,9 @@ const isLikeText = node => {
|
|
|
34289
34289
|
|
|
34290
34290
|
return false;
|
|
34291
34291
|
};
|
|
34292
|
-
/**
|
|
34293
|
-
* `Translate` component.
|
|
34294
|
-
* @since 0.0.42
|
|
34292
|
+
/**
|
|
34293
|
+
* `Translate` component.
|
|
34294
|
+
* @since 0.0.42
|
|
34295
34295
|
*/
|
|
34296
34296
|
|
|
34297
34297
|
|
|
@@ -34334,49 +34334,49 @@ const Translate = ({
|
|
|
34334
34334
|
};
|
|
34335
34335
|
|
|
34336
34336
|
Translate.propTypes = {
|
|
34337
|
-
/**
|
|
34338
|
-
* A some prefix for the message key.
|
|
34339
|
-
* @since 2.6.0
|
|
34337
|
+
/**
|
|
34338
|
+
* A some prefix for the message key.
|
|
34339
|
+
* @since 2.6.0
|
|
34340
34340
|
*/
|
|
34341
34341
|
namespace: _propTypes.default.string,
|
|
34342
34342
|
|
|
34343
|
-
/**
|
|
34344
|
-
* Translatable content or message key.
|
|
34345
|
-
* @since 0.0.42
|
|
34343
|
+
/**
|
|
34344
|
+
* Translatable content or message key.
|
|
34345
|
+
* @since 0.0.42
|
|
34346
34346
|
*/
|
|
34347
34347
|
content: _propTypes.default.string,
|
|
34348
34348
|
|
|
34349
|
-
/**
|
|
34350
|
-
* Message params
|
|
34351
|
-
* @since 0.0.42
|
|
34349
|
+
/**
|
|
34350
|
+
* Message params
|
|
34351
|
+
* @since 0.0.42
|
|
34352
34352
|
*/
|
|
34353
34353
|
params: _propTypes.default.object,
|
|
34354
34354
|
|
|
34355
|
-
/**
|
|
34356
|
-
* Fallback translation value.
|
|
34357
|
-
* @since 0.0.47
|
|
34355
|
+
/**
|
|
34356
|
+
* Fallback translation value.
|
|
34357
|
+
* @since 0.0.47
|
|
34358
34358
|
*/
|
|
34359
34359
|
fallback: _propTypes.default.string,
|
|
34360
34360
|
|
|
34361
|
-
/**
|
|
34362
|
-
* Component to render as the root element. Useful when rendering a `Translate` as `<option>`.
|
|
34363
|
-
* @since 0.0.42
|
|
34361
|
+
/**
|
|
34362
|
+
* Component to render as the root element. Useful when rendering a `Translate` as `<option>`.
|
|
34363
|
+
* @since 0.0.42
|
|
34364
34364
|
*/
|
|
34365
34365
|
component: _propTypes.default.elementType,
|
|
34366
34366
|
|
|
34367
|
-
/**
|
|
34368
|
-
* A set of translation messages. If the set contains a message key, the component uses an item from the set for rendering.
|
|
34369
|
-
* @ignore
|
|
34367
|
+
/**
|
|
34368
|
+
* A set of translation messages. If the set contains a message key, the component uses an item from the set for rendering.
|
|
34369
|
+
* @ignore
|
|
34370
34370
|
*/
|
|
34371
34371
|
translators: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])),
|
|
34372
34372
|
|
|
34373
|
-
/**
|
|
34374
|
-
* @ignore
|
|
34373
|
+
/**
|
|
34374
|
+
* @ignore
|
|
34375
34375
|
*/
|
|
34376
34376
|
unsafe: _propTypes.default.bool,
|
|
34377
34377
|
|
|
34378
|
-
/**
|
|
34379
|
-
* @ignore
|
|
34378
|
+
/**
|
|
34379
|
+
* @ignore
|
|
34380
34380
|
*/
|
|
34381
34381
|
children: _propTypes.default.string
|
|
34382
34382
|
};
|
|
@@ -35035,9 +35035,9 @@ exports.ITEMS_PER_PAGE_OPTIONS = ITEMS_PER_PAGE_OPTIONS;
|
|
|
35035
35035
|
const VIEW_DEFAULT = 'default';
|
|
35036
35036
|
const VIEW_POPOVER = 'popover';
|
|
35037
35037
|
|
|
35038
|
-
/**
|
|
35039
|
-
* `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
|
|
35040
|
-
* @since 0.0.54
|
|
35038
|
+
/**
|
|
35039
|
+
* `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
|
|
35040
|
+
* @since 0.0.54
|
|
35041
35041
|
*/
|
|
35042
35042
|
const Pagination = ({
|
|
35043
35043
|
baseClassName = "".concat(_constants.CLS_PREFIX, "pagination"),
|
|
@@ -35210,9 +35210,9 @@ const toNumber = value => {
|
|
|
35210
35210
|
const isMinDisabled = (value, min) => min !== undefined && value !== '' && value <= min;
|
|
35211
35211
|
|
|
35212
35212
|
const isMaxDisabled = (value, max) => max !== undefined && value !== '' && value >= max;
|
|
35213
|
-
/**
|
|
35214
|
-
* `InputNumber` component is used for entering integer numbers.
|
|
35215
|
-
* @since 2.2.0
|
|
35213
|
+
/**
|
|
35214
|
+
* `InputNumber` component is used for entering integer numbers.
|
|
35215
|
+
* @since 2.2.0
|
|
35216
35216
|
*/
|
|
35217
35217
|
|
|
35218
35218
|
|
|
@@ -37948,10 +37948,10 @@ const getHumanTotalRows = ({
|
|
|
37948
37948
|
return null;
|
|
37949
37949
|
}
|
|
37950
37950
|
};
|
|
37951
|
-
/**
|
|
37952
|
-
* `List` component is used for displaying a collection of tabular data.
|
|
37953
|
-
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
37954
|
-
* @since 0.0.42
|
|
37951
|
+
/**
|
|
37952
|
+
* `List` component is used for displaying a collection of tabular data.
|
|
37953
|
+
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
37954
|
+
* @since 0.0.42
|
|
37955
37955
|
*/
|
|
37956
37956
|
|
|
37957
37957
|
|
|
@@ -39140,214 +39140,214 @@ class List extends _react.Component {
|
|
|
39140
39140
|
}
|
|
39141
39141
|
|
|
39142
39142
|
List.propTypes = {
|
|
39143
|
-
/**
|
|
39144
|
-
* Columns definition.
|
|
39145
|
-
*
|
|
39146
|
-
* In addition to the properties described below, you can use any native properties
|
|
39147
|
-
* supported by the `TH` element like `className`, `style`, etc.
|
|
39148
|
-
* @since 0.0.42
|
|
39143
|
+
/**
|
|
39144
|
+
* Columns definition.
|
|
39145
|
+
*
|
|
39146
|
+
* In addition to the properties described below, you can use any native properties
|
|
39147
|
+
* supported by the `TH` element like `className`, `style`, etc.
|
|
39148
|
+
* @since 0.0.42
|
|
39149
39149
|
*/
|
|
39150
39150
|
columns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
39151
|
-
/**
|
|
39152
|
-
* Unique column key.
|
|
39151
|
+
/**
|
|
39152
|
+
* Unique column key.
|
|
39153
39153
|
*/
|
|
39154
39154
|
key: _propTypes.default.string.isRequired,
|
|
39155
39155
|
|
|
39156
|
-
/**
|
|
39157
|
-
* Column title.
|
|
39156
|
+
/**
|
|
39157
|
+
* Column title.
|
|
39158
39158
|
*/
|
|
39159
39159
|
title: _propTypes.default.node,
|
|
39160
39160
|
|
|
39161
|
-
/**
|
|
39162
|
-
* Optional cell renderer function: `row => Component`. By default render value of cell.
|
|
39163
|
-
* The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
|
|
39161
|
+
/**
|
|
39162
|
+
* Optional cell renderer function: `row => Component`. By default render value of cell.
|
|
39163
|
+
* The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
|
|
39164
39164
|
*/
|
|
39165
39165
|
render: _propTypes.default.func,
|
|
39166
39166
|
|
|
39167
|
-
/**
|
|
39168
|
-
* Is column sortable.
|
|
39169
|
-
* Default is `false`
|
|
39167
|
+
/**
|
|
39168
|
+
* Is column sortable.
|
|
39169
|
+
* Default is `false`
|
|
39170
39170
|
*/
|
|
39171
39171
|
sortable: _propTypes.default.bool,
|
|
39172
39172
|
|
|
39173
|
-
/**
|
|
39174
|
-
* Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
|
|
39173
|
+
/**
|
|
39174
|
+
* Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
|
|
39175
39175
|
*/
|
|
39176
39176
|
sort: _propTypes.default.func,
|
|
39177
39177
|
|
|
39178
|
-
/**
|
|
39179
|
-
* Column alignment.
|
|
39178
|
+
/**
|
|
39179
|
+
* Column alignment.
|
|
39180
39180
|
*/
|
|
39181
39181
|
align: _propTypes.default.oneOf(['left', 'center', 'right']),
|
|
39182
39182
|
|
|
39183
|
-
/**
|
|
39184
|
-
* Truncate the text in cell with an ellipsis.
|
|
39183
|
+
/**
|
|
39184
|
+
* Truncate the text in cell with an ellipsis.
|
|
39185
39185
|
*/
|
|
39186
39186
|
truncate: _propTypes.default.bool,
|
|
39187
39187
|
|
|
39188
|
-
/**
|
|
39189
|
-
* Determine type of column content.
|
|
39190
|
-
*
|
|
39191
|
-
* * title - There should a title of the row.
|
|
39192
|
-
* * controls - There should be some control: a button or a dropdown.
|
|
39193
|
-
* * actions - There should be the ListAction component.
|
|
39188
|
+
/**
|
|
39189
|
+
* Determine type of column content.
|
|
39190
|
+
*
|
|
39191
|
+
* * title - There should a title of the row.
|
|
39192
|
+
* * controls - There should be some control: a button or a dropdown.
|
|
39193
|
+
* * actions - There should be the ListAction component.
|
|
39194
39194
|
*/
|
|
39195
39195
|
type: _propTypes.default.oneOf(['title', 'controls', 'actions'])
|
|
39196
39196
|
})).isRequired,
|
|
39197
39197
|
|
|
39198
|
-
/**
|
|
39199
|
-
* Array of row objects.
|
|
39200
|
-
*
|
|
39201
|
-
* Each row must contains `key` property, all columns keys, and can contain `disabled` property.
|
|
39202
|
-
* @since 0.0.42
|
|
39198
|
+
/**
|
|
39199
|
+
* Array of row objects.
|
|
39200
|
+
*
|
|
39201
|
+
* Each row must contains `key` property, all columns keys, and can contain `disabled` property.
|
|
39202
|
+
* @since 0.0.42
|
|
39203
39203
|
*/
|
|
39204
39204
|
data: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
39205
|
-
/**
|
|
39206
|
-
* Unique column key. This property can by renamed using `rowKey` property of List.
|
|
39205
|
+
/**
|
|
39206
|
+
* Unique column key. This property can by renamed using `rowKey` property of List.
|
|
39207
39207
|
*/
|
|
39208
39208
|
key: _propTypes.default.string,
|
|
39209
39209
|
|
|
39210
|
-
/**
|
|
39211
|
-
* Optional property for disabling ability to select this row.
|
|
39210
|
+
/**
|
|
39211
|
+
* Optional property for disabling ability to select this row.
|
|
39212
39212
|
*/
|
|
39213
39213
|
disabled: _propTypes.default.bool,
|
|
39214
39214
|
|
|
39215
|
-
/**
|
|
39216
|
-
* Optional array of children rows.
|
|
39215
|
+
/**
|
|
39216
|
+
* Optional array of children rows.
|
|
39217
39217
|
*/
|
|
39218
39218
|
data: _propTypes.default.array
|
|
39219
39219
|
})),
|
|
39220
39220
|
|
|
39221
|
-
/**
|
|
39222
|
-
* Current sort column key
|
|
39223
|
-
* @since 0.0.42
|
|
39221
|
+
/**
|
|
39222
|
+
* Current sort column key
|
|
39223
|
+
* @since 0.0.42
|
|
39224
39224
|
*/
|
|
39225
39225
|
sortColumn: _propTypes.default.string,
|
|
39226
39226
|
|
|
39227
|
-
/**
|
|
39228
|
-
* Sort direction of the column being sorted.
|
|
39229
|
-
* @since 0.0.42
|
|
39227
|
+
/**
|
|
39228
|
+
* Sort direction of the column being sorted.
|
|
39229
|
+
* @since 0.0.42
|
|
39230
39230
|
*/
|
|
39231
39231
|
sortDirection: _propTypes.default.oneOf(['ASC', 'DESC']),
|
|
39232
39232
|
|
|
39233
|
-
/**
|
|
39234
|
-
* Sort change handler
|
|
39235
|
-
* @since 0.0.42
|
|
39233
|
+
/**
|
|
39234
|
+
* Sort change handler
|
|
39235
|
+
* @since 0.0.42
|
|
39236
39236
|
*/
|
|
39237
39237
|
onSortChange: _propTypes.default.func,
|
|
39238
39238
|
|
|
39239
|
-
/**
|
|
39240
|
-
* Array of keys of selected rows
|
|
39241
|
-
* @since 0.0.42
|
|
39239
|
+
/**
|
|
39240
|
+
* Array of keys of selected rows
|
|
39241
|
+
* @since 0.0.42
|
|
39242
39242
|
*/
|
|
39243
39243
|
selection: _propTypes.default.array,
|
|
39244
39244
|
|
|
39245
|
-
/**
|
|
39246
|
-
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
39247
|
-
* @since 0.0.42
|
|
39245
|
+
/**
|
|
39246
|
+
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
39247
|
+
* @since 0.0.42
|
|
39248
39248
|
*/
|
|
39249
39249
|
onSelectionChange: _propTypes.default.func,
|
|
39250
39250
|
|
|
39251
|
-
/**
|
|
39252
|
-
* Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
|
|
39253
|
-
* @since 3.19.0
|
|
39251
|
+
/**
|
|
39252
|
+
* Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
|
|
39253
|
+
* @since 3.19.0
|
|
39254
39254
|
*/
|
|
39255
39255
|
renderSelectionCheckbox: _propTypes.default.func,
|
|
39256
39256
|
|
|
39257
|
-
/**
|
|
39258
|
-
* Row's key getter. Could be a string or function like: `row => <unique_string>`
|
|
39259
|
-
* @since 0.0.45
|
|
39257
|
+
/**
|
|
39258
|
+
* Row's key getter. Could be a string or function like: `row => <unique_string>`
|
|
39259
|
+
* @since 0.0.45
|
|
39260
39260
|
*/
|
|
39261
39261
|
rowKey: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
|
|
39262
39262
|
|
|
39263
|
-
/**
|
|
39264
|
-
* Renderer for a row body. Should return ReactNode.
|
|
39265
|
-
* @since 1.12.0
|
|
39263
|
+
/**
|
|
39264
|
+
* Renderer for a row body. Should return ReactNode.
|
|
39265
|
+
* @since 1.12.0
|
|
39266
39266
|
*/
|
|
39267
39267
|
renderRowBody: _propTypes.default.func,
|
|
39268
39268
|
|
|
39269
|
-
/**
|
|
39270
|
-
* Array of keys of expanded rows
|
|
39271
|
-
* @since 1.12.0
|
|
39269
|
+
/**
|
|
39270
|
+
* Array of keys of expanded rows
|
|
39271
|
+
* @since 1.12.0
|
|
39272
39272
|
*/
|
|
39273
39273
|
expandedRows: _propTypes.default.array,
|
|
39274
39274
|
|
|
39275
|
-
/**
|
|
39276
|
-
* Array of keys of rows which not have expand indicator
|
|
39277
|
-
* @since 1.12.0
|
|
39275
|
+
/**
|
|
39276
|
+
* Array of keys of rows which not have expand indicator
|
|
39277
|
+
* @since 1.12.0
|
|
39278
39278
|
*/
|
|
39279
39279
|
notExpandableRows: _propTypes.default.array,
|
|
39280
39280
|
|
|
39281
|
-
/**
|
|
39282
|
-
* Rows expanding change handler.
|
|
39283
|
-
* @since 1.12.0
|
|
39281
|
+
/**
|
|
39282
|
+
* Rows expanding change handler.
|
|
39283
|
+
* @since 1.12.0
|
|
39284
39284
|
*/
|
|
39285
39285
|
onExpandedRowsChange: _propTypes.default.func,
|
|
39286
39286
|
|
|
39287
|
-
/**
|
|
39288
|
-
* Array of keys of loading rows. They are displayed instead of checkboxes.
|
|
39289
|
-
* @since 2.5.0
|
|
39287
|
+
/**
|
|
39288
|
+
* Array of keys of loading rows. They are displayed instead of checkboxes.
|
|
39289
|
+
* @since 2.5.0
|
|
39290
39290
|
*/
|
|
39291
39291
|
loadingRows: _propTypes.default.array,
|
|
39292
39292
|
|
|
39293
|
-
/**
|
|
39294
|
-
* A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
|
|
39295
|
-
* @since 2.4.0
|
|
39293
|
+
/**
|
|
39294
|
+
* A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
|
|
39295
|
+
* @since 2.4.0
|
|
39296
39296
|
*/
|
|
39297
39297
|
pagination: _propTypes.default.node,
|
|
39298
39298
|
|
|
39299
|
-
/**
|
|
39300
|
-
* Total rows count, including nested rows. Usually, it uses together with pagination.
|
|
39301
|
-
* @since 2.4.0
|
|
39299
|
+
/**
|
|
39300
|
+
* Total rows count, including nested rows. Usually, it uses together with pagination.
|
|
39301
|
+
* @since 2.4.0
|
|
39302
39302
|
*/
|
|
39303
39303
|
totalRows: _propTypes.default.number,
|
|
39304
39304
|
|
|
39305
|
-
/**
|
|
39306
|
-
* A `Toolbar` element.
|
|
39307
|
-
* @since 2.4.0
|
|
39305
|
+
/**
|
|
39306
|
+
* A `Toolbar` element.
|
|
39307
|
+
* @since 2.4.0
|
|
39308
39308
|
*/
|
|
39309
39309
|
toolbar: _propTypes.default.node,
|
|
39310
39310
|
|
|
39311
|
-
/**
|
|
39312
|
-
* A flag that all rows are selected.
|
|
39313
|
-
* @since 2.4.0
|
|
39311
|
+
/**
|
|
39312
|
+
* A flag that all rows are selected.
|
|
39313
|
+
* @since 2.4.0
|
|
39314
39314
|
*/
|
|
39315
39315
|
allRowsSelected: _propTypes.default.bool,
|
|
39316
39316
|
|
|
39317
|
-
/**
|
|
39318
|
-
* A callback executed when the allRowsSelected prop is changed.
|
|
39319
|
-
* @since 2.4.0
|
|
39317
|
+
/**
|
|
39318
|
+
* A callback executed when the allRowsSelected prop is changed.
|
|
39319
|
+
* @since 2.4.0
|
|
39320
39320
|
*/
|
|
39321
39321
|
onAllRowsSelectedChange: _propTypes.default.func,
|
|
39322
39322
|
|
|
39323
|
-
/**
|
|
39324
|
-
* Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
|
|
39325
|
-
* @since 3.0.1
|
|
39323
|
+
/**
|
|
39324
|
+
* Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
|
|
39325
|
+
* @since 3.0.1
|
|
39326
39326
|
*/
|
|
39327
39327
|
filtered: _propTypes.default.bool,
|
|
39328
39328
|
|
|
39329
|
-
/**
|
|
39330
|
-
* A custom view for the case when data is absent.
|
|
39331
|
-
* @since 2.5.0
|
|
39329
|
+
/**
|
|
39330
|
+
* A custom view for the case when data is absent.
|
|
39331
|
+
* @since 2.5.0
|
|
39332
39332
|
*/
|
|
39333
39333
|
emptyView: _propTypes.default.node,
|
|
39334
39334
|
|
|
39335
|
-
/**
|
|
39336
|
-
* Which part of the List component should be replaced by the empty view.
|
|
39337
|
-
* @since 2.6.0
|
|
39338
|
-
* @deprecated Use `filtered` instead.
|
|
39335
|
+
/**
|
|
39336
|
+
* Which part of the List component should be replaced by the empty view.
|
|
39337
|
+
* @since 2.6.0
|
|
39338
|
+
* @deprecated Use `filtered` instead.
|
|
39339
39339
|
*/
|
|
39340
39340
|
emptyViewMode: _propTypes.default.oneOf(['all', 'items']),
|
|
39341
39341
|
|
|
39342
|
-
/**
|
|
39343
|
-
* A slot on the right of the items.
|
|
39344
|
-
* @since 2.6.0
|
|
39342
|
+
/**
|
|
39343
|
+
* A slot on the right of the items.
|
|
39344
|
+
* @since 2.6.0
|
|
39345
39345
|
*/
|
|
39346
39346
|
sidebar: _propTypes.default.node,
|
|
39347
39347
|
|
|
39348
|
-
/**
|
|
39349
|
-
* Custom localization messages.
|
|
39350
|
-
* @since 2.6.0
|
|
39348
|
+
/**
|
|
39349
|
+
* Custom localization messages.
|
|
39350
|
+
* @since 2.6.0
|
|
39351
39351
|
*/
|
|
39352
39352
|
locale: _propTypes.default.shape({
|
|
39353
39353
|
selectAll: _propTypes.default.node,
|
|
@@ -39357,49 +39357,49 @@ List.propTypes = {
|
|
|
39357
39357
|
selectedRows: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])
|
|
39358
39358
|
}),
|
|
39359
39359
|
|
|
39360
|
-
/**
|
|
39361
|
-
* Render List row's content vertically.
|
|
39362
|
-
* When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
|
|
39363
|
-
* @since 3.3.0
|
|
39360
|
+
/**
|
|
39361
|
+
* Render List row's content vertically.
|
|
39362
|
+
* When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
|
|
39363
|
+
* @since 3.3.0
|
|
39364
39364
|
*/
|
|
39365
39365
|
vertical: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.number]),
|
|
39366
39366
|
|
|
39367
|
-
/**
|
|
39368
|
-
* Indicate the loading state of the list.
|
|
39369
|
-
* @since 3.3.1
|
|
39367
|
+
/**
|
|
39368
|
+
* Indicate the loading state of the list.
|
|
39369
|
+
* @since 3.3.1
|
|
39370
39370
|
*/
|
|
39371
39371
|
loading: _propTypes.default.bool,
|
|
39372
39372
|
|
|
39373
|
-
/**
|
|
39374
|
-
* Apply some props to each row.
|
|
39375
|
-
*
|
|
39376
|
-
* `virtual` - Virtual row does not have any controls.
|
|
39377
|
-
*
|
|
39378
|
-
* @since 3.11.0
|
|
39373
|
+
/**
|
|
39374
|
+
* Apply some props to each row.
|
|
39375
|
+
*
|
|
39376
|
+
* `virtual` - Virtual row does not have any controls.
|
|
39377
|
+
*
|
|
39378
|
+
* @since 3.11.0
|
|
39379
39379
|
*/
|
|
39380
39380
|
rowProps: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
39381
39381
|
virtual: _propTypes.default.bool
|
|
39382
39382
|
}), _propTypes.default.func]),
|
|
39383
39383
|
|
|
39384
|
-
/**
|
|
39385
|
-
* Enable reorderable view.
|
|
39386
|
-
* @since 3.18.0
|
|
39384
|
+
/**
|
|
39385
|
+
* Enable reorderable view.
|
|
39386
|
+
* @since 3.18.0
|
|
39387
39387
|
*/
|
|
39388
39388
|
reorderable: _propTypes.default.bool,
|
|
39389
39389
|
|
|
39390
|
-
/**
|
|
39391
|
-
* Reorder end handler.
|
|
39392
|
-
* @since 3.18.0
|
|
39390
|
+
/**
|
|
39391
|
+
* Reorder end handler.
|
|
39392
|
+
* @since 3.18.0
|
|
39393
39393
|
*/
|
|
39394
39394
|
onReorderEnd: _propTypes.default.func,
|
|
39395
39395
|
|
|
39396
|
-
/**
|
|
39397
|
-
* @ignore
|
|
39396
|
+
/**
|
|
39397
|
+
* @ignore
|
|
39398
39398
|
*/
|
|
39399
39399
|
className: _propTypes.default.string,
|
|
39400
39400
|
|
|
39401
|
-
/**
|
|
39402
|
-
* @ignore
|
|
39401
|
+
/**
|
|
39402
|
+
* @ignore
|
|
39403
39403
|
*/
|
|
39404
39404
|
baseClassName: _propTypes.default.string
|
|
39405
39405
|
};
|
|
@@ -41522,9 +41522,9 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
41522
41522
|
|
|
41523
41523
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
41524
41524
|
|
|
41525
|
-
/**
|
|
41526
|
-
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
41527
|
-
* @since 0.0.61
|
|
41525
|
+
/**
|
|
41526
|
+
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
41527
|
+
* @since 0.0.61
|
|
41528
41528
|
*/
|
|
41529
41529
|
class CodeEditor extends _react.Component {
|
|
41530
41530
|
constructor(...args) {
|
|
@@ -41730,82 +41730,82 @@ class CodeEditor extends _react.Component {
|
|
|
41730
41730
|
}
|
|
41731
41731
|
|
|
41732
41732
|
CodeEditor.propTypes = {
|
|
41733
|
-
/**
|
|
41734
|
-
* The mode to use. When not given, this will default to the first mode that was loaded.
|
|
41735
|
-
* @since 0.0.61
|
|
41733
|
+
/**
|
|
41734
|
+
* The mode to use. When not given, this will default to the first mode that was loaded.
|
|
41735
|
+
* @since 0.0.61
|
|
41736
41736
|
*/
|
|
41737
41737
|
mode: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
|
|
41738
41738
|
|
|
41739
|
-
/**
|
|
41740
|
-
* CodeEditor can detect mode by file name. Will be ignored if you set mode property.
|
|
41741
|
-
* @since 0.0.61
|
|
41739
|
+
/**
|
|
41740
|
+
* CodeEditor can detect mode by file name. Will be ignored if you set mode property.
|
|
41741
|
+
* @since 0.0.61
|
|
41742
41742
|
*/
|
|
41743
41743
|
fileName: _propTypes.default.string,
|
|
41744
41744
|
|
|
41745
|
-
/**
|
|
41746
|
-
* Content of the `CodeEditor`.
|
|
41747
|
-
* @since 0.0.61
|
|
41745
|
+
/**
|
|
41746
|
+
* Content of the `CodeEditor`.
|
|
41747
|
+
* @since 0.0.61
|
|
41748
41748
|
*/
|
|
41749
41749
|
children: _propTypes.default.string,
|
|
41750
41750
|
|
|
41751
|
-
/**
|
|
41752
|
-
* Set read only.
|
|
41753
|
-
* @since 0.0.61
|
|
41751
|
+
/**
|
|
41752
|
+
* Set read only.
|
|
41753
|
+
* @since 0.0.61
|
|
41754
41754
|
*/
|
|
41755
41755
|
readOnly: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
41756
41756
|
|
|
41757
|
-
/**
|
|
41758
|
-
* Set auto focus.
|
|
41759
|
-
* @since 0.0.61
|
|
41757
|
+
/**
|
|
41758
|
+
* Set auto focus.
|
|
41759
|
+
* @since 0.0.61
|
|
41760
41760
|
*/
|
|
41761
41761
|
autofocus: _propTypes.default.bool,
|
|
41762
41762
|
|
|
41763
|
-
/**
|
|
41764
|
-
* onInit event handler.
|
|
41765
|
-
* @since 0.0.61
|
|
41763
|
+
/**
|
|
41764
|
+
* onInit event handler.
|
|
41765
|
+
* @since 0.0.61
|
|
41766
41766
|
*/
|
|
41767
41767
|
onInit: _propTypes.default.func,
|
|
41768
41768
|
|
|
41769
|
-
/**
|
|
41770
|
-
* onChange event handler.
|
|
41771
|
-
* @since 0.0.61
|
|
41769
|
+
/**
|
|
41770
|
+
* onChange event handler.
|
|
41771
|
+
* @since 0.0.61
|
|
41772
41772
|
*/
|
|
41773
41773
|
onChange: _propTypes.default.func,
|
|
41774
41774
|
|
|
41775
|
-
/**
|
|
41776
|
-
* onSave event handler.
|
|
41777
|
-
* @since 0.0.61
|
|
41775
|
+
/**
|
|
41776
|
+
* onSave event handler.
|
|
41777
|
+
* @since 0.0.61
|
|
41778
41778
|
*/
|
|
41779
41779
|
onSave: _propTypes.default.func,
|
|
41780
41780
|
|
|
41781
|
-
/**
|
|
41782
|
-
* See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.
|
|
41783
|
-
* @since 0.0.61
|
|
41781
|
+
/**
|
|
41782
|
+
* See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.
|
|
41783
|
+
* @since 0.0.61
|
|
41784
41784
|
*/
|
|
41785
41785
|
options: _propTypes.default.object,
|
|
41786
41786
|
|
|
41787
|
-
/**
|
|
41788
|
-
* Set scroll position.
|
|
41789
|
-
* @since 1.12.4
|
|
41787
|
+
/**
|
|
41788
|
+
* Set scroll position.
|
|
41789
|
+
* @since 1.12.4
|
|
41790
41790
|
*/
|
|
41791
41791
|
scrollPosition: _propTypes.default.shape({
|
|
41792
41792
|
left: _propTypes.default.number,
|
|
41793
41793
|
top: _propTypes.default.number
|
|
41794
41794
|
}),
|
|
41795
41795
|
|
|
41796
|
-
/**
|
|
41797
|
-
* onScroll event handler.
|
|
41798
|
-
* @since 1.12.4
|
|
41796
|
+
/**
|
|
41797
|
+
* onScroll event handler.
|
|
41798
|
+
* @since 1.12.4
|
|
41799
41799
|
*/
|
|
41800
41800
|
onScroll: _propTypes.default.func,
|
|
41801
41801
|
|
|
41802
|
-
/**
|
|
41803
|
-
* @ignore
|
|
41802
|
+
/**
|
|
41803
|
+
* @ignore
|
|
41804
41804
|
*/
|
|
41805
41805
|
className: _propTypes.default.string,
|
|
41806
41806
|
|
|
41807
|
-
/**
|
|
41808
|
-
* @ignore
|
|
41807
|
+
/**
|
|
41808
|
+
* @ignore
|
|
41809
41809
|
*/
|
|
41810
41810
|
baseClassName: _propTypes.default.string
|
|
41811
41811
|
};
|
|
@@ -67002,9 +67002,9 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
67002
67002
|
function _extends() { _extends = Object.assign || 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); }
|
|
67003
67003
|
|
|
67004
67004
|
const isProps = value => value && typeof value === 'object' && ! /*#__PURE__*/(0, _react.isValidElement)(value);
|
|
67005
|
-
/**
|
|
67006
|
-
* `Dialog` is a modal window that asks users to make a decision or enter additional information.
|
|
67007
|
-
* @since 0.0.68
|
|
67005
|
+
/**
|
|
67006
|
+
* `Dialog` is a modal window that asks users to make a decision or enter additional information.
|
|
67007
|
+
* @since 0.0.68
|
|
67008
67008
|
*/
|
|
67009
67009
|
|
|
67010
67010
|
|
|
@@ -67170,126 +67170,126 @@ const Dialog = ({
|
|
|
67170
67170
|
};
|
|
67171
67171
|
|
|
67172
67172
|
Dialog.propTypes = {
|
|
67173
|
-
/**
|
|
67174
|
-
* Toggles visibility.
|
|
67175
|
-
* @since 0.0.68
|
|
67173
|
+
/**
|
|
67174
|
+
* Toggles visibility.
|
|
67175
|
+
* @since 0.0.68
|
|
67176
67176
|
*/
|
|
67177
67177
|
isOpen: _propTypes.default.bool,
|
|
67178
67178
|
|
|
67179
|
-
/**
|
|
67180
|
-
* Banner. Renders in front of content as wide as dialog.
|
|
67181
|
-
* @since 0.0.68
|
|
67179
|
+
/**
|
|
67180
|
+
* Banner. Renders in front of content as wide as dialog.
|
|
67181
|
+
* @since 0.0.68
|
|
67182
67182
|
*/
|
|
67183
67183
|
banner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
67184
67184
|
|
|
67185
|
-
/**
|
|
67186
|
-
* Block with an image, placed at the side of the component
|
|
67187
|
-
* @since 3.25.0
|
|
67185
|
+
/**
|
|
67186
|
+
* Block with an image, placed at the side of the component
|
|
67187
|
+
* @since 3.25.0
|
|
67188
67188
|
*/
|
|
67189
67189
|
sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
67190
67190
|
|
|
67191
|
-
/**
|
|
67192
|
-
* Additional properties for the sideBanner
|
|
67193
|
-
* @since 3.25.0
|
|
67191
|
+
/**
|
|
67192
|
+
* Additional properties for the sideBanner
|
|
67193
|
+
* @since 3.25.0
|
|
67194
67194
|
*/
|
|
67195
67195
|
sideBannerContainer: _propTypes.default.shape({
|
|
67196
|
-
/**
|
|
67197
|
-
* Values for css background property
|
|
67196
|
+
/**
|
|
67197
|
+
* Values for css background property
|
|
67198
67198
|
*/
|
|
67199
67199
|
background: _propTypes.default.string,
|
|
67200
67200
|
|
|
67201
|
-
/**
|
|
67202
|
-
* One of: center, flex-start, flex-end
|
|
67201
|
+
/**
|
|
67202
|
+
* One of: center, flex-start, flex-end
|
|
67203
67203
|
*/
|
|
67204
67204
|
align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
|
|
67205
67205
|
}),
|
|
67206
67206
|
|
|
67207
|
-
/**
|
|
67208
|
-
* Image. Renders into content.
|
|
67209
|
-
* @since 0.0.68
|
|
67207
|
+
/**
|
|
67208
|
+
* Image. Renders into content.
|
|
67209
|
+
* @since 0.0.68
|
|
67210
67210
|
*/
|
|
67211
67211
|
image: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
67212
67212
|
|
|
67213
|
-
/**
|
|
67214
|
-
* Title
|
|
67215
|
-
* @since 0.0.68
|
|
67213
|
+
/**
|
|
67214
|
+
* Title
|
|
67215
|
+
* @since 0.0.68
|
|
67216
67216
|
*/
|
|
67217
67217
|
title: _propTypes.default.node,
|
|
67218
67218
|
|
|
67219
|
-
/**
|
|
67220
|
-
* The subtitle of the `Dialog`.
|
|
67221
|
-
* @since 4.0.0
|
|
67219
|
+
/**
|
|
67220
|
+
* The subtitle of the `Dialog`.
|
|
67221
|
+
* @since 4.0.0
|
|
67222
67222
|
*/
|
|
67223
67223
|
subtitle: _propTypes.default.node,
|
|
67224
67224
|
|
|
67225
|
-
/**
|
|
67226
|
-
* Title of "cancel" button
|
|
67227
|
-
* @since 0.0.68
|
|
67228
|
-
* @deprecated Use `cancelButton` instead.
|
|
67225
|
+
/**
|
|
67226
|
+
* Title of "cancel" button
|
|
67227
|
+
* @since 0.0.68
|
|
67228
|
+
* @deprecated Use `cancelButton` instead.
|
|
67229
67229
|
*/
|
|
67230
67230
|
cancelTitle: _propTypes.default.node,
|
|
67231
67231
|
|
|
67232
|
-
/**
|
|
67233
|
-
* Cancel button visibility or custom configuration. It accepts all props of the `Button` component.
|
|
67234
|
-
* @since 3.13.0
|
|
67232
|
+
/**
|
|
67233
|
+
* Cancel button visibility or custom configuration. It accepts all props of the `Button` component.
|
|
67234
|
+
* @since 3.13.0
|
|
67235
67235
|
*/
|
|
67236
67236
|
cancelButton: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.object]),
|
|
67237
67237
|
|
|
67238
|
-
/**
|
|
67239
|
-
* Buttons except "cancel" button
|
|
67240
|
-
* @since 0.0.68
|
|
67238
|
+
/**
|
|
67239
|
+
* Buttons except "cancel" button
|
|
67240
|
+
* @since 0.0.68
|
|
67241
67241
|
*/
|
|
67242
67242
|
buttons: _propTypes.default.node,
|
|
67243
67243
|
|
|
67244
|
-
/**
|
|
67245
|
-
* Actions which will be shown in Dialog header
|
|
67246
|
-
* @since 1.2.0
|
|
67244
|
+
/**
|
|
67245
|
+
* Actions which will be shown in Dialog header
|
|
67246
|
+
* @since 1.2.0
|
|
67247
67247
|
*/
|
|
67248
67248
|
actions: _propTypes.default.node,
|
|
67249
67249
|
|
|
67250
|
-
/**
|
|
67251
|
-
* Wraps children into [Form](#!/Form) if not empty.
|
|
67252
|
-
* @since 0.0.68
|
|
67250
|
+
/**
|
|
67251
|
+
* Wraps children into [Form](#!/Form) if not empty.
|
|
67252
|
+
* @since 0.0.68
|
|
67253
67253
|
*/
|
|
67254
67254
|
form: _propTypes.default.object,
|
|
67255
67255
|
|
|
67256
|
-
/**
|
|
67257
|
-
* Dialog width
|
|
67258
|
-
* @since 0.0.68
|
|
67256
|
+
/**
|
|
67257
|
+
* Dialog width
|
|
67258
|
+
* @since 0.0.68
|
|
67259
67259
|
*/
|
|
67260
67260
|
size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
|
|
67261
67261
|
|
|
67262
|
-
/**
|
|
67263
|
-
* If the value is false, the dialog cannot be closed and the Close button is hidden.
|
|
67264
|
-
* @since 1.2.0
|
|
67262
|
+
/**
|
|
67263
|
+
* If the value is false, the dialog cannot be closed and the Close button is hidden.
|
|
67264
|
+
* @since 1.2.0
|
|
67265
67265
|
*/
|
|
67266
67266
|
closable: _propTypes.default.bool,
|
|
67267
67267
|
|
|
67268
|
-
/**
|
|
67269
|
-
* On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.
|
|
67270
|
-
* @since 0.0.68
|
|
67268
|
+
/**
|
|
67269
|
+
* On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.
|
|
67270
|
+
* @since 0.0.68
|
|
67271
67271
|
*/
|
|
67272
67272
|
onClose: _propTypes.default.func,
|
|
67273
67273
|
|
|
67274
|
-
/**
|
|
67275
|
-
* Whether show or not a confirmation dialog on close.
|
|
67276
|
-
* @since 3.21.0
|
|
67274
|
+
/**
|
|
67275
|
+
* Whether show or not a confirmation dialog on close.
|
|
67276
|
+
* @since 3.21.0
|
|
67277
67277
|
*/
|
|
67278
67278
|
closingConfirmation: _propTypes.default.bool,
|
|
67279
67279
|
|
|
67280
|
-
/**
|
|
67281
|
-
* Content of the `DialogWindow`.
|
|
67282
|
-
* @since 0.0.68
|
|
67280
|
+
/**
|
|
67281
|
+
* Content of the `DialogWindow`.
|
|
67282
|
+
* @since 0.0.68
|
|
67283
67283
|
*/
|
|
67284
67284
|
children: _propTypes.default.node,
|
|
67285
67285
|
|
|
67286
|
-
/**
|
|
67287
|
-
* @ignore
|
|
67286
|
+
/**
|
|
67287
|
+
* @ignore
|
|
67288
67288
|
*/
|
|
67289
67289
|
className: _propTypes.default.string,
|
|
67290
67290
|
|
|
67291
|
-
/**
|
|
67292
|
-
* @ignore
|
|
67291
|
+
/**
|
|
67292
|
+
* @ignore
|
|
67293
67293
|
*/
|
|
67294
67294
|
baseClassName: _propTypes.default.string
|
|
67295
67295
|
};
|
|
@@ -67363,12 +67363,12 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
67363
67363
|
|
|
67364
67364
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
67365
67365
|
|
|
67366
|
-
/**
|
|
67367
|
-
* `Overlay` component.
|
|
67366
|
+
/**
|
|
67367
|
+
* `Overlay` component.
|
|
67368
67368
|
*/
|
|
67369
67369
|
const overlays = [];
|
|
67370
|
-
/**
|
|
67371
|
-
* @since 0.0.65
|
|
67370
|
+
/**
|
|
67371
|
+
* @since 0.0.65
|
|
67372
67372
|
*/
|
|
67373
67373
|
|
|
67374
67374
|
class Overlay extends _react.Component {
|
|
@@ -67607,75 +67607,75 @@ class Overlay extends _react.Component {
|
|
|
67607
67607
|
exports.default = Overlay;
|
|
67608
67608
|
|
|
67609
67609
|
_defineProperty(Overlay, "propTypes", {
|
|
67610
|
-
/**
|
|
67611
|
-
* Toggles visibility.
|
|
67610
|
+
/**
|
|
67611
|
+
* Toggles visibility.
|
|
67612
67612
|
*/
|
|
67613
67613
|
isOpen: _propTypes.default.bool,
|
|
67614
67614
|
|
|
67615
|
-
/**
|
|
67616
|
-
* Overlay placement.
|
|
67615
|
+
/**
|
|
67616
|
+
* Overlay placement.
|
|
67617
67617
|
*/
|
|
67618
67618
|
placement: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
67619
67619
|
|
|
67620
|
-
/**
|
|
67621
|
-
* Overlay size.
|
|
67620
|
+
/**
|
|
67621
|
+
* Overlay size.
|
|
67622
67622
|
*/
|
|
67623
67623
|
size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
|
|
67624
67624
|
|
|
67625
|
-
/**
|
|
67626
|
-
* onClose handler.
|
|
67625
|
+
/**
|
|
67626
|
+
* onClose handler.
|
|
67627
67627
|
*/
|
|
67628
67628
|
onClose: _propTypes.default.func,
|
|
67629
67629
|
|
|
67630
|
-
/**
|
|
67631
|
-
* Indicating if clicking the backdrop should close the overlay.
|
|
67630
|
+
/**
|
|
67631
|
+
* Indicating if clicking the backdrop should close the overlay.
|
|
67632
67632
|
*/
|
|
67633
67633
|
canCloseOnBackdropClick: _propTypes.default.bool,
|
|
67634
67634
|
|
|
67635
|
-
/**
|
|
67636
|
-
* Indicating if pressing the escape key should close the overlay.
|
|
67635
|
+
/**
|
|
67636
|
+
* Indicating if pressing the escape key should close the overlay.
|
|
67637
67637
|
*/
|
|
67638
67638
|
canCloseOnEscapePress: _propTypes.default.bool,
|
|
67639
67639
|
|
|
67640
|
-
/**
|
|
67641
|
-
* Block with an image, placed at the side of the component
|
|
67642
|
-
* @since 3.25.0
|
|
67640
|
+
/**
|
|
67641
|
+
* Block with an image, placed at the side of the component
|
|
67642
|
+
* @since 3.25.0
|
|
67643
67643
|
*/
|
|
67644
67644
|
sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
67645
67645
|
|
|
67646
|
-
/**
|
|
67647
|
-
* Additional properties for the sideBanner
|
|
67648
|
-
* @since 3.25.0
|
|
67646
|
+
/**
|
|
67647
|
+
* Additional properties for the sideBanner
|
|
67648
|
+
* @since 3.25.0
|
|
67649
67649
|
*/
|
|
67650
67650
|
sideBannerContainer: _propTypes.default.shape({
|
|
67651
|
-
/**
|
|
67652
|
-
* Values for css background property
|
|
67651
|
+
/**
|
|
67652
|
+
* Values for css background property
|
|
67653
67653
|
*/
|
|
67654
67654
|
background: _propTypes.default.string,
|
|
67655
67655
|
|
|
67656
|
-
/**
|
|
67657
|
-
* One of: center, flex-start, flex-end
|
|
67656
|
+
/**
|
|
67657
|
+
* One of: center, flex-start, flex-end
|
|
67658
67658
|
*/
|
|
67659
67659
|
align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
|
|
67660
67660
|
}),
|
|
67661
67661
|
|
|
67662
|
-
/**
|
|
67663
|
-
* @ignore
|
|
67662
|
+
/**
|
|
67663
|
+
* @ignore
|
|
67664
67664
|
*/
|
|
67665
67665
|
style: _propTypes.default.object,
|
|
67666
67666
|
|
|
67667
|
-
/**
|
|
67668
|
-
* Content of the `Overlay`.
|
|
67667
|
+
/**
|
|
67668
|
+
* Content of the `Overlay`.
|
|
67669
67669
|
*/
|
|
67670
67670
|
children: _propTypes.default.node,
|
|
67671
67671
|
|
|
67672
|
-
/**
|
|
67673
|
-
* @ignore
|
|
67672
|
+
/**
|
|
67673
|
+
* @ignore
|
|
67674
67674
|
*/
|
|
67675
67675
|
className: _propTypes.default.string,
|
|
67676
67676
|
|
|
67677
|
-
/**
|
|
67678
|
-
* @ignore
|
|
67677
|
+
/**
|
|
67678
|
+
* @ignore
|
|
67679
67679
|
*/
|
|
67680
67680
|
baseClassName: _propTypes.default.string
|
|
67681
67681
|
});
|
|
@@ -68291,10 +68291,10 @@ class Form extends _react.Component {
|
|
|
68291
68291
|
}
|
|
68292
68292
|
|
|
68293
68293
|
}
|
|
68294
|
-
/**
|
|
68295
|
-
* `Form` component is used for entering and submitting of user data.
|
|
68296
|
-
* [More details about designing of forms.](#!/Good%20Forms)
|
|
68297
|
-
* @since 0.0.54
|
|
68294
|
+
/**
|
|
68295
|
+
* `Form` component is used for entering and submitting of user data.
|
|
68296
|
+
* [More details about designing of forms.](#!/Good%20Forms)
|
|
68297
|
+
* @since 0.0.54
|
|
68298
68298
|
*/
|
|
68299
68299
|
|
|
68300
68300
|
|
|
@@ -68403,11 +68403,11 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
68403
68403
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
68404
68404
|
|
|
68405
68405
|
const defaultValue = undefined;
|
|
68406
|
-
/**
|
|
68407
|
-
* Simple helper to handle situations when we expecting only array
|
|
68408
|
-
* @param value
|
|
68409
|
-
* @param nonEmpty
|
|
68410
|
-
* @returns {Array}
|
|
68406
|
+
/**
|
|
68407
|
+
* Simple helper to handle situations when we expecting only array
|
|
68408
|
+
* @param value
|
|
68409
|
+
* @param nonEmpty
|
|
68410
|
+
* @returns {Array}
|
|
68411
68411
|
*/
|
|
68412
68412
|
|
|
68413
68413
|
const getArrayHelper = (value, nonEmpty = false) => {
|
|
@@ -68425,8 +68425,8 @@ const getArrayHelper = (value, nonEmpty = false) => {
|
|
|
68425
68425
|
};
|
|
68426
68426
|
|
|
68427
68427
|
const isControlled = props => props.value !== undefined;
|
|
68428
|
-
/**
|
|
68429
|
-
* @since 0.0.54
|
|
68428
|
+
/**
|
|
68429
|
+
* @since 0.0.54
|
|
68430
68430
|
*/
|
|
68431
68431
|
|
|
68432
68432
|
|
|
@@ -68791,10 +68791,10 @@ class FormField extends _react.Component {
|
|
|
68791
68791
|
|
|
68792
68792
|
clearTimeout(this.focusTimer);
|
|
68793
68793
|
}
|
|
68794
|
-
/**
|
|
68795
|
-
* Field API provided to field
|
|
68796
|
-
* @param index
|
|
68797
|
-
* @returns {Object}
|
|
68794
|
+
/**
|
|
68795
|
+
* Field API provided to field
|
|
68796
|
+
* @param index
|
|
68797
|
+
* @returns {Object}
|
|
68798
68798
|
*/
|
|
68799
68799
|
|
|
68800
68800
|
|
|
@@ -68818,127 +68818,127 @@ class FormField extends _react.Component {
|
|
|
68818
68818
|
}
|
|
68819
68819
|
|
|
68820
68820
|
const propTypes = {
|
|
68821
|
-
/**
|
|
68822
|
-
* Field ID.
|
|
68823
|
-
* @since 0.0.59
|
|
68821
|
+
/**
|
|
68822
|
+
* Field ID.
|
|
68823
|
+
* @since 0.0.59
|
|
68824
68824
|
*/
|
|
68825
68825
|
id: _propTypes.default.string,
|
|
68826
68826
|
|
|
68827
|
-
/**
|
|
68828
|
-
* Field name.
|
|
68829
|
-
* @since 0.0.54
|
|
68827
|
+
/**
|
|
68828
|
+
* Field name.
|
|
68829
|
+
* @since 0.0.54
|
|
68830
68830
|
*/
|
|
68831
68831
|
name: _propTypes.default.string,
|
|
68832
68832
|
|
|
68833
|
-
/**
|
|
68834
|
-
* Field value.
|
|
68835
|
-
* @deprecated Use [Form](#!/Form) values.
|
|
68836
|
-
* @since 0.0.57
|
|
68833
|
+
/**
|
|
68834
|
+
* Field value.
|
|
68835
|
+
* @deprecated Use [Form](#!/Form) values.
|
|
68836
|
+
* @since 0.0.57
|
|
68837
68837
|
*/
|
|
68838
68838
|
value: _propTypes.default.any,
|
|
68839
68839
|
|
|
68840
|
-
/**
|
|
68841
|
-
* A callback function, can be executed when the value is changing.
|
|
68842
|
-
* @since 0.4.1
|
|
68840
|
+
/**
|
|
68841
|
+
* A callback function, can be executed when the value is changing.
|
|
68842
|
+
* @since 0.4.1
|
|
68843
68843
|
*/
|
|
68844
68844
|
onChange: _propTypes.default.func,
|
|
68845
68845
|
|
|
68846
|
-
/**
|
|
68847
|
-
* Field label.
|
|
68848
|
-
* @since 0.0.54
|
|
68846
|
+
/**
|
|
68847
|
+
* Field label.
|
|
68848
|
+
* @since 0.0.54
|
|
68849
68849
|
*/
|
|
68850
68850
|
label: _propTypes.default.any,
|
|
68851
68851
|
|
|
68852
|
-
/**
|
|
68853
|
-
* Field description.
|
|
68854
|
-
* @since 0.0.57
|
|
68852
|
+
/**
|
|
68853
|
+
* Field description.
|
|
68854
|
+
* @since 0.0.57
|
|
68855
68855
|
*/
|
|
68856
68856
|
description: _propTypes.default.any,
|
|
68857
68857
|
|
|
68858
|
-
/**
|
|
68859
|
-
* Show long descriptions in popover after clicking on "( i )" icon
|
|
68860
|
-
* @since 3.14.0
|
|
68858
|
+
/**
|
|
68859
|
+
* Show long descriptions in popover after clicking on "( i )" icon
|
|
68860
|
+
* @since 3.14.0
|
|
68861
68861
|
*/
|
|
68862
68862
|
fullDescription: _propTypes.default.node,
|
|
68863
68863
|
|
|
68864
|
-
/**
|
|
68865
|
-
* Field errors.
|
|
68866
|
-
* @deprecated Use [Form](#!/Form) errors.
|
|
68867
|
-
* @since 0.0.57
|
|
68864
|
+
/**
|
|
68865
|
+
* Field errors.
|
|
68866
|
+
* @deprecated Use [Form](#!/Form) errors.
|
|
68867
|
+
* @since 0.0.57
|
|
68868
68868
|
*/
|
|
68869
68869
|
errors: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]),
|
|
68870
68870
|
|
|
68871
|
-
/**
|
|
68872
|
-
* Indicates whether field is required.
|
|
68873
|
-
* @since 0.0.54
|
|
68871
|
+
/**
|
|
68872
|
+
* Indicates whether field is required.
|
|
68873
|
+
* @since 0.0.54
|
|
68874
68874
|
*/
|
|
68875
68875
|
required: _propTypes.default.bool,
|
|
68876
68876
|
|
|
68877
|
-
/**
|
|
68878
|
-
* Content of the `FormField`.
|
|
68879
|
-
* @since 0.0.54
|
|
68877
|
+
/**
|
|
68878
|
+
* Content of the `FormField`.
|
|
68879
|
+
* @since 0.0.54
|
|
68880
68880
|
*/
|
|
68881
68881
|
children: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
|
|
68882
68882
|
|
|
68883
|
-
/**
|
|
68884
|
-
* If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
|
|
68885
|
-
* @since 1.12.0
|
|
68883
|
+
/**
|
|
68884
|
+
* If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
|
|
68885
|
+
* @since 1.12.0
|
|
68886
68886
|
*/
|
|
68887
68887
|
multi: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.shape({
|
|
68888
68888
|
max: _propTypes.default.number.isRequired
|
|
68889
68889
|
})]),
|
|
68890
68890
|
|
|
68891
|
-
/**
|
|
68892
|
-
* @ignore Disabled state of multiple field.
|
|
68891
|
+
/**
|
|
68892
|
+
* @ignore Disabled state of multiple field.
|
|
68893
68893
|
*/
|
|
68894
68894
|
disabled: _propTypes.default.bool,
|
|
68895
68895
|
|
|
68896
|
-
/**
|
|
68897
|
-
* Localization messages
|
|
68898
|
-
* @since 1.12.0
|
|
68896
|
+
/**
|
|
68897
|
+
* Localization messages
|
|
68898
|
+
* @since 1.12.0
|
|
68899
68899
|
*/
|
|
68900
68900
|
locale: _propTypes.default.shape({
|
|
68901
68901
|
addMore: _propTypes.default.node,
|
|
68902
68902
|
remove: _propTypes.default.node
|
|
68903
68903
|
}),
|
|
68904
68904
|
|
|
68905
|
-
/**
|
|
68906
|
-
* Callback which called for all values. If it returns 'true' a pseudo-link 'Add more' will be disabled
|
|
68907
|
-
* @ignore
|
|
68908
|
-
* @deprecated
|
|
68905
|
+
/**
|
|
68906
|
+
* Callback which called for all values. If it returns 'true' a pseudo-link 'Add more' will be disabled
|
|
68907
|
+
* @ignore
|
|
68908
|
+
* @deprecated
|
|
68909
68909
|
*/
|
|
68910
68910
|
addMoreValidator: _propTypes.default.func,
|
|
68911
68911
|
|
|
68912
|
-
/**
|
|
68913
|
-
* A callback function, can be executed when the row is removed.
|
|
68914
|
-
* @since 1.12.0
|
|
68912
|
+
/**
|
|
68913
|
+
* A callback function, can be executed when the row is removed.
|
|
68914
|
+
* @since 1.12.0
|
|
68915
68915
|
*/
|
|
68916
68916
|
onRemoveRow: _propTypes.default.func,
|
|
68917
68917
|
|
|
68918
|
-
/**
|
|
68919
|
-
* @ignore
|
|
68918
|
+
/**
|
|
68919
|
+
* @ignore
|
|
68920
68920
|
*/
|
|
68921
68921
|
className: _propTypes.default.string,
|
|
68922
68922
|
|
|
68923
|
-
/**
|
|
68924
|
-
* @ignore
|
|
68923
|
+
/**
|
|
68924
|
+
* @ignore
|
|
68925
68925
|
*/
|
|
68926
68926
|
baseClassName: _propTypes.default.string,
|
|
68927
68927
|
|
|
68928
|
-
/**
|
|
68929
|
-
* @ignore
|
|
68928
|
+
/**
|
|
68929
|
+
* @ignore
|
|
68930
68930
|
*/
|
|
68931
68931
|
form: _propTypes.default.object,
|
|
68932
68932
|
|
|
68933
|
-
/**
|
|
68934
|
-
* Vertical or horizontal field view.
|
|
68935
|
-
* If it is not defined explicitly, the vertical mode will use from Form or Section components.
|
|
68936
|
-
* @since 3.13.0
|
|
68933
|
+
/**
|
|
68934
|
+
* Vertical or horizontal field view.
|
|
68935
|
+
* If it is not defined explicitly, the vertical mode will use from Form or Section components.
|
|
68936
|
+
* @since 3.13.0
|
|
68937
68937
|
*/
|
|
68938
68938
|
vertical: _propTypes.default.bool,
|
|
68939
68939
|
|
|
68940
|
-
/**
|
|
68941
|
-
* @ignore
|
|
68940
|
+
/**
|
|
68941
|
+
* @ignore
|
|
68942
68942
|
*/
|
|
68943
68943
|
scrollableElement: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Element), _propTypes.default.instanceOf(Window)])
|
|
68944
68944
|
};
|
|
@@ -68966,14 +68966,14 @@ const defaultProps = {
|
|
|
68966
68966
|
};
|
|
68967
68967
|
FormField.propTypes = propTypes;
|
|
68968
68968
|
FormField.defaultProps = defaultProps;
|
|
68969
|
-
/**
|
|
68970
|
-
* `FormField` component is used for showing of parameter values in Form or
|
|
68971
|
-
* for entering of user data with any form elements.
|
|
68972
|
-
*
|
|
68973
|
-
* For the most cases the following form elements can be used:
|
|
68974
|
-
* * [FormFieldText](#!/FormFieldText) for entering text,
|
|
68975
|
-
* * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
|
|
68976
|
-
* [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
|
|
68969
|
+
/**
|
|
68970
|
+
* `FormField` component is used for showing of parameter values in Form or
|
|
68971
|
+
* for entering of user data with any form elements.
|
|
68972
|
+
*
|
|
68973
|
+
* For the most cases the following form elements can be used:
|
|
68974
|
+
* * [FormFieldText](#!/FormFieldText) for entering text,
|
|
68975
|
+
* * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
|
|
68976
|
+
* [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
|
|
68977
68977
|
*/
|
|
68978
68978
|
|
|
68979
68979
|
const FormFieldWrapper = props => {
|
|
@@ -69049,10 +69049,10 @@ const getVertical = (props, verticalContext) => {
|
|
|
69049
69049
|
|
|
69050
69050
|
return undefined;
|
|
69051
69051
|
};
|
|
69052
|
-
/**
|
|
69053
|
-
* `Section` component is used for dividing of complex content into groups for better readability
|
|
69054
|
-
* and comprehension of the presented information.
|
|
69055
|
-
* @since 0.0.54
|
|
69052
|
+
/**
|
|
69053
|
+
* `Section` component is used for dividing of complex content into groups for better readability
|
|
69054
|
+
* and comprehension of the presented information.
|
|
69055
|
+
* @since 0.0.54
|
|
69056
69056
|
*/
|
|
69057
69057
|
|
|
69058
69058
|
|
|
@@ -69227,68 +69227,68 @@ class Section extends _react.Component {
|
|
|
69227
69227
|
}
|
|
69228
69228
|
|
|
69229
69229
|
Section.propTypes = {
|
|
69230
|
-
/**
|
|
69231
|
-
* Title of the section.
|
|
69232
|
-
* @since 0.0.54
|
|
69230
|
+
/**
|
|
69231
|
+
* Title of the section.
|
|
69232
|
+
* @since 0.0.54
|
|
69233
69233
|
*/
|
|
69234
69234
|
title: _propTypes.default.node,
|
|
69235
69235
|
|
|
69236
|
-
/**
|
|
69237
|
-
* Visual intent color to apply to component.
|
|
69238
|
-
* @since 0.0.54
|
|
69236
|
+
/**
|
|
69237
|
+
* Visual intent color to apply to component.
|
|
69238
|
+
* @since 0.0.54
|
|
69239
69239
|
*/
|
|
69240
69240
|
intent: _propTypes.default.oneOf(['danger', 'warning', 'success', 'inactive']),
|
|
69241
69241
|
|
|
69242
|
-
/**
|
|
69243
|
-
* Is section collapsible.
|
|
69244
|
-
* @since 0.0.54
|
|
69242
|
+
/**
|
|
69243
|
+
* Is section collapsible.
|
|
69244
|
+
* @since 0.0.54
|
|
69245
69245
|
*/
|
|
69246
69246
|
collapsible: _propTypes.default.bool,
|
|
69247
69247
|
|
|
69248
|
-
/**
|
|
69249
|
-
* Is section collapsed now.
|
|
69250
|
-
* @since 0.0.54
|
|
69248
|
+
/**
|
|
69249
|
+
* Is section collapsed now.
|
|
69250
|
+
* @since 0.0.54
|
|
69251
69251
|
*/
|
|
69252
69252
|
collapsed: _propTypes.default.bool,
|
|
69253
69253
|
|
|
69254
|
-
/**
|
|
69255
|
-
* Event handler of title change with inline editing form.
|
|
69256
|
-
* @since 0.0.54
|
|
69254
|
+
/**
|
|
69255
|
+
* Event handler of title change with inline editing form.
|
|
69256
|
+
* @since 0.0.54
|
|
69257
69257
|
*/
|
|
69258
69258
|
onTitleChange: _propTypes.default.func,
|
|
69259
69259
|
|
|
69260
|
-
/**
|
|
69261
|
-
* Event handler of closing section with X-sign at the right.
|
|
69262
|
-
* @since 0.0.54
|
|
69260
|
+
/**
|
|
69261
|
+
* Event handler of closing section with X-sign at the right.
|
|
69262
|
+
* @since 0.0.54
|
|
69263
69263
|
*/
|
|
69264
69264
|
onClose: _propTypes.default.func,
|
|
69265
69265
|
|
|
69266
|
-
/**
|
|
69267
|
-
* Array of custom section action button at the right.
|
|
69268
|
-
* @since 0.0.54
|
|
69266
|
+
/**
|
|
69267
|
+
* Array of custom section action button at the right.
|
|
69268
|
+
* @since 0.0.54
|
|
69269
69269
|
*/
|
|
69270
69270
|
buttons: _propTypes.default.arrayOf(_propTypes.default.element),
|
|
69271
69271
|
|
|
69272
|
-
/**
|
|
69273
|
-
* Vertical or horizontal section view.
|
|
69274
|
-
* Section view will be automatically switched if this parameter is not specified explicitly.
|
|
69275
|
-
* @since 0.3.0
|
|
69272
|
+
/**
|
|
69273
|
+
* Vertical or horizontal section view.
|
|
69274
|
+
* Section view will be automatically switched if this parameter is not specified explicitly.
|
|
69275
|
+
* @since 0.3.0
|
|
69276
69276
|
*/
|
|
69277
69277
|
vertical: _propTypes.default.bool,
|
|
69278
69278
|
|
|
69279
|
-
/**
|
|
69280
|
-
* Content of the `Section`.
|
|
69281
|
-
* @since 0.0.54
|
|
69279
|
+
/**
|
|
69280
|
+
* Content of the `Section`.
|
|
69281
|
+
* @since 0.0.54
|
|
69282
69282
|
*/
|
|
69283
69283
|
children: _propTypes.default.node,
|
|
69284
69284
|
|
|
69285
|
-
/**
|
|
69286
|
-
* @ignore
|
|
69285
|
+
/**
|
|
69286
|
+
* @ignore
|
|
69287
69287
|
*/
|
|
69288
69288
|
className: _propTypes.default.string,
|
|
69289
69289
|
|
|
69290
|
-
/**
|
|
69291
|
-
* @ignore
|
|
69290
|
+
/**
|
|
69291
|
+
* @ignore
|
|
69292
69292
|
*/
|
|
69293
69293
|
baseClassName: _propTypes.default.string
|
|
69294
69294
|
};
|
|
@@ -69790,107 +69790,107 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
69790
69790
|
function _extends() { _extends = Object.assign || 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); }
|
|
69791
69791
|
|
|
69792
69792
|
const propTypes = {
|
|
69793
|
-
/**
|
|
69794
|
-
* Toggles visibility.
|
|
69795
|
-
* @since 0.0.65
|
|
69793
|
+
/**
|
|
69794
|
+
* Toggles visibility.
|
|
69795
|
+
* @since 0.0.65
|
|
69796
69796
|
*/
|
|
69797
69797
|
isOpen: _propTypes.default.bool,
|
|
69798
69798
|
|
|
69799
|
-
/**
|
|
69800
|
-
* The title of the `Drawer`.
|
|
69801
|
-
* @since 0.0.65
|
|
69799
|
+
/**
|
|
69800
|
+
* The title of the `Drawer`.
|
|
69801
|
+
* @since 0.0.65
|
|
69802
69802
|
*/
|
|
69803
69803
|
title: _propTypes.default.node.isRequired,
|
|
69804
69804
|
|
|
69805
|
-
/**
|
|
69806
|
-
* The subtitle of the `Drawer`.
|
|
69807
|
-
* @since 0.0.65
|
|
69805
|
+
/**
|
|
69806
|
+
* The subtitle of the `Drawer`.
|
|
69807
|
+
* @since 0.0.65
|
|
69808
69808
|
*/
|
|
69809
69809
|
subtitle: _propTypes.default.node,
|
|
69810
69810
|
|
|
69811
|
-
/**
|
|
69812
|
-
* Show the minimize button and the inactive close button.
|
|
69813
|
-
* @since 1.4.1
|
|
69811
|
+
/**
|
|
69812
|
+
* Show the minimize button and the inactive close button.
|
|
69813
|
+
* @since 1.4.1
|
|
69814
69814
|
*/
|
|
69815
69815
|
hideButton: _propTypes.default.bool,
|
|
69816
69816
|
|
|
69817
|
-
/**
|
|
69818
|
-
* Show back button in the header. If true the close button is not show.
|
|
69819
|
-
* @deprecated Not recommended to use. Use default close button instead.
|
|
69820
|
-
* @since 0.0.65
|
|
69817
|
+
/**
|
|
69818
|
+
* Show back button in the header. If true the close button is not show.
|
|
69819
|
+
* @deprecated Not recommended to use. Use default close button instead.
|
|
69820
|
+
* @since 0.0.65
|
|
69821
69821
|
*/
|
|
69822
69822
|
backButton: _propTypes.default.bool,
|
|
69823
69823
|
|
|
69824
|
-
/**
|
|
69825
|
-
* Overlay placement.
|
|
69826
|
-
* @since 0.0.65
|
|
69824
|
+
/**
|
|
69825
|
+
* Overlay placement.
|
|
69826
|
+
* @since 0.0.65
|
|
69827
69827
|
*/
|
|
69828
69828
|
placement: _propTypes.default.oneOf(['left', 'right']),
|
|
69829
69829
|
|
|
69830
|
-
/**
|
|
69831
|
-
* Overlay size.
|
|
69832
|
-
* @since 0.0.65
|
|
69830
|
+
/**
|
|
69831
|
+
* Overlay size.
|
|
69832
|
+
* @since 0.0.65
|
|
69833
69833
|
*/
|
|
69834
69834
|
size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
|
|
69835
69835
|
|
|
69836
|
-
/**
|
|
69837
|
-
* onClose handler.
|
|
69838
|
-
* @since 0.0.65
|
|
69836
|
+
/**
|
|
69837
|
+
* onClose handler.
|
|
69838
|
+
* @since 0.0.65
|
|
69839
69839
|
*/
|
|
69840
69840
|
onClose: _propTypes.default.func,
|
|
69841
69841
|
|
|
69842
|
-
/**
|
|
69843
|
-
* Whether show or not a confirmation dialog on close.
|
|
69844
|
-
* @since 3.21.0
|
|
69842
|
+
/**
|
|
69843
|
+
* Whether show or not a confirmation dialog on close.
|
|
69844
|
+
* @since 3.21.0
|
|
69845
69845
|
*/
|
|
69846
69846
|
closingConfirmation: _propTypes.default.bool,
|
|
69847
69847
|
|
|
69848
|
-
/**
|
|
69849
|
-
* Wraps children into [Form](#!/Form) if not empty.
|
|
69850
|
-
* @since 0.0.66
|
|
69848
|
+
/**
|
|
69849
|
+
* Wraps children into [Form](#!/Form) if not empty.
|
|
69850
|
+
* @since 0.0.66
|
|
69851
69851
|
*/
|
|
69852
69852
|
form: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.element]),
|
|
69853
69853
|
|
|
69854
|
-
/**
|
|
69855
|
-
* Block with an image, placed at the side of the component
|
|
69856
|
-
* @since 3.25.0
|
|
69854
|
+
/**
|
|
69855
|
+
* Block with an image, placed at the side of the component
|
|
69856
|
+
* @since 3.25.0
|
|
69857
69857
|
*/
|
|
69858
69858
|
sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
69859
69859
|
|
|
69860
|
-
/**
|
|
69861
|
-
* Additional properties for the sideBanner
|
|
69862
|
-
* @since 3.25.0
|
|
69860
|
+
/**
|
|
69861
|
+
* Additional properties for the sideBanner
|
|
69862
|
+
* @since 3.25.0
|
|
69863
69863
|
*/
|
|
69864
69864
|
sideBannerContainer: _propTypes.default.shape({
|
|
69865
|
-
/**
|
|
69866
|
-
* Values for css background property
|
|
69865
|
+
/**
|
|
69866
|
+
* Values for css background property
|
|
69867
69867
|
*/
|
|
69868
69868
|
background: _propTypes.default.string,
|
|
69869
69869
|
|
|
69870
|
-
/**
|
|
69871
|
-
* One of: center, flex-start, flex-end
|
|
69870
|
+
/**
|
|
69871
|
+
* One of: center, flex-start, flex-end
|
|
69872
69872
|
*/
|
|
69873
69873
|
align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
|
|
69874
69874
|
}),
|
|
69875
69875
|
|
|
69876
|
-
/**
|
|
69877
|
-
* Content of the `Drawer`.
|
|
69878
|
-
* @since 0.0.65
|
|
69876
|
+
/**
|
|
69877
|
+
* Content of the `Drawer`.
|
|
69878
|
+
* @since 0.0.65
|
|
69879
69879
|
*/
|
|
69880
69880
|
children: _propTypes.default.node,
|
|
69881
69881
|
|
|
69882
|
-
/**
|
|
69883
|
-
* Adds [Progress](#!/Progress) into footer.
|
|
69884
|
-
* @since 1.11.0
|
|
69882
|
+
/**
|
|
69883
|
+
* Adds [Progress](#!/Progress) into footer.
|
|
69884
|
+
* @since 1.11.0
|
|
69885
69885
|
*/
|
|
69886
69886
|
progress: _propTypes.default.shape({
|
|
69887
|
-
/**
|
|
69888
|
-
* A title for the progress.
|
|
69887
|
+
/**
|
|
69888
|
+
* A title for the progress.
|
|
69889
69889
|
*/
|
|
69890
69890
|
title: _propTypes.default.string,
|
|
69891
69891
|
|
|
69892
|
-
/**
|
|
69893
|
-
* An array of [ProgressStep](#!/ProgressStep) props.
|
|
69892
|
+
/**
|
|
69893
|
+
* An array of [ProgressStep](#!/ProgressStep) props.
|
|
69894
69894
|
*/
|
|
69895
69895
|
steps: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
69896
69896
|
title: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
|
|
@@ -69899,35 +69899,35 @@ const propTypes = {
|
|
|
69899
69899
|
icon: _propTypes.default.string
|
|
69900
69900
|
})).isRequired,
|
|
69901
69901
|
|
|
69902
|
-
/**
|
|
69903
|
-
* An option that controls drawer closing ability.
|
|
69902
|
+
/**
|
|
69903
|
+
* An option that controls drawer closing ability.
|
|
69904
69904
|
*/
|
|
69905
69905
|
cancelable: _propTypes.default.bool,
|
|
69906
69906
|
|
|
69907
|
-
/**
|
|
69908
|
-
* On overall status event handler.
|
|
69909
|
-
* @since 3.8.0
|
|
69907
|
+
/**
|
|
69908
|
+
* On overall status event handler.
|
|
69909
|
+
* @since 3.8.0
|
|
69910
69910
|
*/
|
|
69911
69911
|
onStatusChange: _propTypes.default.func,
|
|
69912
69912
|
|
|
69913
|
-
/**
|
|
69914
|
-
* @ignore
|
|
69913
|
+
/**
|
|
69914
|
+
* @ignore
|
|
69915
69915
|
*/
|
|
69916
69916
|
onClose: _propTypes.default.func,
|
|
69917
69917
|
|
|
69918
|
-
/**
|
|
69919
|
-
* @ignore
|
|
69918
|
+
/**
|
|
69919
|
+
* @ignore
|
|
69920
69920
|
*/
|
|
69921
69921
|
onClosableChange: _propTypes.default.func
|
|
69922
69922
|
}),
|
|
69923
69923
|
|
|
69924
|
-
/**
|
|
69925
|
-
* @ignore
|
|
69924
|
+
/**
|
|
69925
|
+
* @ignore
|
|
69926
69926
|
*/
|
|
69927
69927
|
className: _propTypes.default.string,
|
|
69928
69928
|
|
|
69929
|
-
/**
|
|
69930
|
-
* @ignore
|
|
69929
|
+
/**
|
|
69930
|
+
* @ignore
|
|
69931
69931
|
*/
|
|
69932
69932
|
baseClassName: _propTypes.default.string
|
|
69933
69933
|
};
|
|
@@ -69948,10 +69948,10 @@ const defaultProps = {
|
|
|
69948
69948
|
className: null,
|
|
69949
69949
|
baseClassName: "".concat(_constants.CLS_PREFIX, "drawer")
|
|
69950
69950
|
};
|
|
69951
|
-
/**
|
|
69952
|
-
* `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
|
|
69953
|
-
* The component is similar to `Dialog` but it is intended to work with more complex forms or lists.
|
|
69954
|
-
* @since 0.0.65
|
|
69951
|
+
/**
|
|
69952
|
+
* `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
|
|
69953
|
+
* The component is similar to `Dialog` but it is intended to work with more complex forms or lists.
|
|
69954
|
+
* @since 0.0.65
|
|
69955
69955
|
*/
|
|
69956
69956
|
|
|
69957
69957
|
const Drawer = ({
|
|
@@ -71534,10 +71534,10 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
71534
71534
|
|
|
71535
71535
|
function _extends() { _extends = Object.assign || 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); }
|
|
71536
71536
|
|
|
71537
|
-
/**
|
|
71538
|
-
* `FormFieldCheckbox` component component is used for turning an option on or off
|
|
71539
|
-
* and selecting or deselecting an item.
|
|
71540
|
-
* @since 0.0.58
|
|
71537
|
+
/**
|
|
71538
|
+
* `FormFieldCheckbox` component component is used for turning an option on or off
|
|
71539
|
+
* and selecting or deselecting an item.
|
|
71540
|
+
* @since 0.0.58
|
|
71541
71541
|
*/
|
|
71542
71542
|
const FormFieldCheckbox = ({
|
|
71543
71543
|
baseClassName,
|
|
@@ -71579,52 +71579,52 @@ const FormFieldCheckbox = ({
|
|
|
71579
71579
|
}, label)));
|
|
71580
71580
|
|
|
71581
71581
|
FormFieldCheckbox.propTypes = {
|
|
71582
|
-
/**
|
|
71583
|
-
* Disabled state of field.
|
|
71584
|
-
* @since 0.1.0
|
|
71582
|
+
/**
|
|
71583
|
+
* Disabled state of field.
|
|
71584
|
+
* @since 0.1.0
|
|
71585
71585
|
*/
|
|
71586
71586
|
disabled: _propTypes.default.bool,
|
|
71587
71587
|
|
|
71588
|
-
/**
|
|
71589
|
-
* Custom checked value. Default is boolean true.
|
|
71590
|
-
* @since 0.0.59
|
|
71588
|
+
/**
|
|
71589
|
+
* Custom checked value. Default is boolean true.
|
|
71590
|
+
* @since 0.0.59
|
|
71591
71591
|
*/
|
|
71592
71592
|
checkedValue: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
71593
71593
|
|
|
71594
|
-
/**
|
|
71595
|
-
* Custom unchecked value. Default is boolean false.
|
|
71596
|
-
* @since 0.0.59
|
|
71594
|
+
/**
|
|
71595
|
+
* Custom unchecked value. Default is boolean false.
|
|
71596
|
+
* @since 0.0.59
|
|
71597
71597
|
*/
|
|
71598
71598
|
uncheckedValue: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
71599
71599
|
|
|
71600
|
-
/**
|
|
71601
|
-
* The browser will automatically focus on the component upon rendering the screen
|
|
71602
|
-
* @since 1.9.0
|
|
71600
|
+
/**
|
|
71601
|
+
* The browser will automatically focus on the component upon rendering the screen
|
|
71602
|
+
* @since 1.9.0
|
|
71603
71603
|
*/
|
|
71604
71604
|
autoFocus: _propTypes.default.bool,
|
|
71605
71605
|
|
|
71606
|
-
/**
|
|
71607
|
-
* @ignore Field cannot be multiple
|
|
71606
|
+
/**
|
|
71607
|
+
* @ignore Field cannot be multiple
|
|
71608
71608
|
*/
|
|
71609
71609
|
multi: _propTypes.default.bool,
|
|
71610
71610
|
|
|
71611
|
-
/**
|
|
71612
|
-
* @ignore
|
|
71611
|
+
/**
|
|
71612
|
+
* @ignore
|
|
71613
71613
|
*/
|
|
71614
71614
|
label: _propTypes.default.any,
|
|
71615
71615
|
|
|
71616
|
-
/**
|
|
71617
|
-
* @ignore
|
|
71616
|
+
/**
|
|
71617
|
+
* @ignore
|
|
71618
71618
|
*/
|
|
71619
71619
|
required: _propTypes.default.bool,
|
|
71620
71620
|
|
|
71621
|
-
/**
|
|
71622
|
-
* @ignore
|
|
71621
|
+
/**
|
|
71622
|
+
* @ignore
|
|
71623
71623
|
*/
|
|
71624
71624
|
className: _propTypes.default.string,
|
|
71625
71625
|
|
|
71626
|
-
/**
|
|
71627
|
-
* @ignore
|
|
71626
|
+
/**
|
|
71627
|
+
* @ignore
|
|
71628
71628
|
*/
|
|
71629
71629
|
baseClassName: _propTypes.default.string,
|
|
71630
71630
|
fullDescription: _propTypes.default.string
|
|
@@ -71739,9 +71739,9 @@ const generatePassword = () => {
|
|
|
71739
71739
|
const password = ['upper', 'lower', 'lower', 'lower', 'number', 'number', 'special', 'number', 'upper', 'upper', 'lower', 'lower', 'lower', 'lower', 'lower', 'lower'];
|
|
71740
71740
|
return password.sort((a, b) => Math.floor(b.length * Math.random()) - Math.floor(a.length * Math.random())).map(symbolClass => symbolClasses[symbolClass][Math.floor(symbolClasses[symbolClass].length * Math.random())]).join('');
|
|
71741
71741
|
};
|
|
71742
|
-
/**
|
|
71743
|
-
* `FormFieldPassword` component provides secure way to enter a password.
|
|
71744
|
-
* @since 0.0.58
|
|
71742
|
+
/**
|
|
71743
|
+
* `FormFieldPassword` component provides secure way to enter a password.
|
|
71744
|
+
* @since 0.0.58
|
|
71745
71745
|
*/
|
|
71746
71746
|
|
|
71747
71747
|
|
|
@@ -71994,33 +71994,33 @@ class FormFieldPassword extends _react.Component {
|
|
|
71994
71994
|
}
|
|
71995
71995
|
|
|
71996
71996
|
FormFieldPassword.propTypes = {
|
|
71997
|
-
/**
|
|
71998
|
-
* Is show button hidden?
|
|
71999
|
-
* @since 0.0.59
|
|
71997
|
+
/**
|
|
71998
|
+
* Is show button hidden?
|
|
71999
|
+
* @since 0.0.59
|
|
72000
72000
|
*/
|
|
72001
72001
|
hideShowButton: _propTypes.default.bool,
|
|
72002
72002
|
|
|
72003
|
-
/**
|
|
72004
|
-
* Is generate button hidden?
|
|
72005
|
-
* @since 0.0.59
|
|
72003
|
+
/**
|
|
72004
|
+
* Is generate button hidden?
|
|
72005
|
+
* @since 0.0.59
|
|
72006
72006
|
*/
|
|
72007
72007
|
hideGenerateButton: _propTypes.default.bool,
|
|
72008
72008
|
|
|
72009
|
-
/**
|
|
72010
|
-
* Is password meter hidden?
|
|
72011
|
-
* @since 0.0.59
|
|
72009
|
+
/**
|
|
72010
|
+
* Is password meter hidden?
|
|
72011
|
+
* @since 0.0.59
|
|
72012
72012
|
*/
|
|
72013
72013
|
hidePasswordMeter: _propTypes.default.bool,
|
|
72014
72014
|
|
|
72015
|
-
/**
|
|
72016
|
-
* Additional props for password meter. . See [Popover](#!/Popover) for more information.
|
|
72017
|
-
* @since 1.5.6
|
|
72015
|
+
/**
|
|
72016
|
+
* Additional props for password meter. . See [Popover](#!/Popover) for more information.
|
|
72017
|
+
* @since 1.5.6
|
|
72018
72018
|
*/
|
|
72019
72019
|
passwordMeterProps: _propTypes.default.object,
|
|
72020
72020
|
|
|
72021
|
-
/**
|
|
72022
|
-
* A set of custom password score rules.
|
|
72023
|
-
* @since 3.21.0
|
|
72021
|
+
/**
|
|
72022
|
+
* A set of custom password score rules.
|
|
72023
|
+
* @since 3.21.0
|
|
72024
72024
|
*/
|
|
72025
72025
|
passwordScoreRules: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
72026
72026
|
name: _propTypes.default.string,
|
|
@@ -72028,37 +72028,37 @@ FormFieldPassword.propTypes = {
|
|
|
72028
72028
|
score: _propTypes.default.func.isRequired
|
|
72029
72029
|
})),
|
|
72030
72030
|
|
|
72031
|
-
/**
|
|
72032
|
-
* Size of the control
|
|
72033
|
-
* @since 1.5.6
|
|
72031
|
+
/**
|
|
72032
|
+
* Size of the control
|
|
72033
|
+
* @since 1.5.6
|
|
72034
72034
|
*/
|
|
72035
72035
|
size: _propTypes.default.oneOf(['md', 'lg', 'xl', 'fill']),
|
|
72036
72036
|
|
|
72037
|
-
/**
|
|
72038
|
-
* The browser will automatically focus on the component upon rendering the screen
|
|
72039
|
-
* @since 1.9.0
|
|
72037
|
+
/**
|
|
72038
|
+
* The browser will automatically focus on the component upon rendering the screen
|
|
72039
|
+
* @since 1.9.0
|
|
72040
72040
|
*/
|
|
72041
72041
|
autoFocus: _propTypes.default.bool,
|
|
72042
72042
|
|
|
72043
|
-
/**
|
|
72044
|
-
* Prevent password autocompletion.
|
|
72045
|
-
* @since 2.5.1
|
|
72043
|
+
/**
|
|
72044
|
+
* Prevent password autocompletion.
|
|
72045
|
+
* @since 2.5.1
|
|
72046
72046
|
*/
|
|
72047
72047
|
autoComplete: _propTypes.default.oneOf(['new-password']),
|
|
72048
72048
|
|
|
72049
|
-
/**
|
|
72050
|
-
* A render function for customizing the password generation button.
|
|
72051
|
-
* @since 3.13.0
|
|
72049
|
+
/**
|
|
72050
|
+
* A render function for customizing the password generation button.
|
|
72051
|
+
* @since 3.13.0
|
|
72052
72052
|
*/
|
|
72053
72053
|
generateButton: _propTypes.default.func,
|
|
72054
72054
|
|
|
72055
|
-
/**
|
|
72056
|
-
* @ignore
|
|
72055
|
+
/**
|
|
72056
|
+
* @ignore
|
|
72057
72057
|
*/
|
|
72058
72058
|
className: _propTypes.default.string,
|
|
72059
72059
|
|
|
72060
|
-
/**
|
|
72061
|
-
* @ignore
|
|
72060
|
+
/**
|
|
72061
|
+
* @ignore
|
|
72062
72062
|
*/
|
|
72063
72063
|
baseClassName: _propTypes.default.string
|
|
72064
72064
|
};
|
|
@@ -72417,9 +72417,10 @@ FormFieldRadioButtons.propTypes = {
|
|
|
72417
72417
|
|
|
72418
72418
|
/**
|
|
72419
72419
|
* Value of current chosen option.
|
|
72420
|
+
* @deprecated Use [Form](#!/Form) values.
|
|
72420
72421
|
* @since 0.2.0
|
|
72421
72422
|
*/
|
|
72422
|
-
value: _propTypes.default.string
|
|
72423
|
+
value: _propTypes.default.string,
|
|
72423
72424
|
|
|
72424
72425
|
/**
|
|
72425
72426
|
* Disabled state of field.
|
|
@@ -72449,6 +72450,7 @@ FormFieldRadioButtons.propTypes = {
|
|
|
72449
72450
|
baseClassName: _propTypes.default.string
|
|
72450
72451
|
};
|
|
72451
72452
|
FormFieldRadioButtons.defaultProps = {
|
|
72453
|
+
value: undefined,
|
|
72452
72454
|
disabled: undefined,
|
|
72453
72455
|
autoFocus: undefined,
|
|
72454
72456
|
multi: undefined,
|
|
@@ -73179,9 +73181,9 @@ const getNextValue = (value, prevValue) => {
|
|
|
73179
73181
|
return value;
|
|
73180
73182
|
};
|
|
73181
73183
|
|
|
73182
|
-
/**
|
|
73183
|
-
* `Select` component is used for making a choice among a set of related options.
|
|
73184
|
-
* @since 2.3.0
|
|
73184
|
+
/**
|
|
73185
|
+
* `Select` component is used for making a choice among a set of related options.
|
|
73186
|
+
* @since 2.3.0
|
|
73185
73187
|
*/
|
|
73186
73188
|
const Select = ({
|
|
73187
73189
|
id,
|
|
@@ -73705,7 +73707,7 @@ const SelectControl = /*#__PURE__*/(0, _react.forwardRef)(function SelectControl
|
|
|
73705
73707
|
"aria-hidden": "true",
|
|
73706
73708
|
focusable: "false"
|
|
73707
73709
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
73708
|
-
d: "M.85 7.854a.498.498 0 1 1-.704-.704L3.296 4 .146.85A.498.498 0 0 1 .85.146L4 3.296 7.15.146a.498.498 0 0 1 .704.704L4.704 4l3.15 3.15a.498.498 0 0 1-.704.704L4 4.704.85 7.854z"
|
|
73710
|
+
d: "M.85 7.854a.498.498 0 1 1-.704-.704L3.296 4 .146.85A.498.498 0 0 1 .85.146L4 3.296 7.15.146a.498.498 0 0 1\r .704.704L4.704 4l3.15 3.15a.498.498 0 0 1-.704.704L4 4.704.85 7.854z"
|
|
73709
73711
|
})))), /*#__PURE__*/_react.default.createElement("button", {
|
|
73710
73712
|
type: "button",
|
|
73711
73713
|
className: (0, _classnames.default)("".concat(baseClassName, "__indicator"), "".concat(baseClassName, "__indicator--dropdown")),
|
|
@@ -74075,10 +74077,10 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
74075
74077
|
|
|
74076
74078
|
const VIEW_SIMPLE = 'simple';
|
|
74077
74079
|
const VIEW_CARD = 'card';
|
|
74078
|
-
/**
|
|
74079
|
-
* `Item` component is element of [ItemList](#!/ItemList) and it is presented as
|
|
74080
|
-
* a combination of icon, text title and content (similar to [Media](#!/Media)).
|
|
74081
|
-
* @since 0.0.48
|
|
74080
|
+
/**
|
|
74081
|
+
* `Item` component is element of [ItemList](#!/ItemList) and it is presented as
|
|
74082
|
+
* a combination of icon, text title and content (similar to [Media](#!/Media)).
|
|
74083
|
+
* @since 0.0.48
|
|
74082
74084
|
*/
|
|
74083
74085
|
|
|
74084
74086
|
class Item extends _react.Component {
|
|
@@ -74193,73 +74195,73 @@ class Item extends _react.Component {
|
|
|
74193
74195
|
}
|
|
74194
74196
|
|
|
74195
74197
|
Item.propTypes = {
|
|
74196
|
-
/**
|
|
74197
|
-
* Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.
|
|
74198
|
-
* @since 0.0.48
|
|
74198
|
+
/**
|
|
74199
|
+
* Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.
|
|
74200
|
+
* @since 0.0.48
|
|
74199
74201
|
*/
|
|
74200
74202
|
component: _propTypes.default.elementType,
|
|
74201
74203
|
|
|
74202
|
-
/**
|
|
74203
|
-
* View mode.
|
|
74204
|
-
* @since 2.1.0
|
|
74204
|
+
/**
|
|
74205
|
+
* View mode.
|
|
74206
|
+
* @since 2.1.0
|
|
74205
74207
|
*/
|
|
74206
74208
|
view: _propTypes.default.oneOf([VIEW_SIMPLE, VIEW_CARD]),
|
|
74207
74209
|
|
|
74208
|
-
/**
|
|
74209
|
-
* Icon.
|
|
74210
|
-
* @since 0.0.48
|
|
74210
|
+
/**
|
|
74211
|
+
* Icon.
|
|
74212
|
+
* @since 0.0.48
|
|
74211
74213
|
*/
|
|
74212
74214
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
74213
74215
|
|
|
74214
|
-
/**
|
|
74215
|
-
* Title.
|
|
74216
|
-
* @since 0.0.48
|
|
74216
|
+
/**
|
|
74217
|
+
* Title.
|
|
74218
|
+
* @since 0.0.48
|
|
74217
74219
|
*/
|
|
74218
74220
|
title: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
74219
74221
|
|
|
74220
|
-
/**
|
|
74221
|
-
* Content for footer.
|
|
74222
|
-
* @since 2.1.0
|
|
74222
|
+
/**
|
|
74223
|
+
* Content for footer.
|
|
74224
|
+
* @since 2.1.0
|
|
74223
74225
|
*/
|
|
74224
74226
|
footer: _propTypes.default.node,
|
|
74225
74227
|
|
|
74226
|
-
/**
|
|
74227
|
-
* Description. Renders as small grey text.
|
|
74228
|
-
* @since 2.1.0
|
|
74228
|
+
/**
|
|
74229
|
+
* Description. Renders as small grey text.
|
|
74230
|
+
* @since 2.1.0
|
|
74229
74231
|
*/
|
|
74230
74232
|
description: _propTypes.default.node,
|
|
74231
74233
|
|
|
74232
|
-
/**
|
|
74233
|
-
* Content of the `Item`.
|
|
74234
|
-
* @since 0.0.48
|
|
74234
|
+
/**
|
|
74235
|
+
* Content of the `Item`.
|
|
74236
|
+
* @since 0.0.48
|
|
74235
74237
|
*/
|
|
74236
74238
|
children: _propTypes.default.node,
|
|
74237
74239
|
|
|
74238
|
-
/**
|
|
74239
|
-
* An unique value. It needs only in ItemList with selectable view.
|
|
74240
|
-
* @since 2.3.0
|
|
74240
|
+
/**
|
|
74241
|
+
* An unique value. It needs only in ItemList with selectable view.
|
|
74242
|
+
* @since 2.3.0
|
|
74241
74243
|
*/
|
|
74242
74244
|
value: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
74243
74245
|
|
|
74244
|
-
/**
|
|
74245
|
-
* Tooltip for component.
|
|
74246
|
-
* @since 2.5.1
|
|
74246
|
+
/**
|
|
74247
|
+
* Tooltip for component.
|
|
74248
|
+
* @since 2.5.1
|
|
74247
74249
|
*/
|
|
74248
74250
|
tooltip: _propTypes.default.node,
|
|
74249
74251
|
|
|
74250
|
-
/**
|
|
74251
|
-
* @ignore
|
|
74252
|
+
/**
|
|
74253
|
+
* @ignore
|
|
74252
74254
|
*/
|
|
74253
74255
|
className: _propTypes.default.string,
|
|
74254
74256
|
|
|
74255
|
-
/**
|
|
74256
|
-
* @ignore
|
|
74257
|
+
/**
|
|
74258
|
+
* @ignore
|
|
74257
74259
|
*/
|
|
74258
74260
|
baseClassName: _propTypes.default.string,
|
|
74259
74261
|
|
|
74260
|
-
/**
|
|
74261
|
-
* Whether disabled or not.
|
|
74262
|
-
* @since 3.15.0
|
|
74262
|
+
/**
|
|
74263
|
+
* Whether disabled or not.
|
|
74264
|
+
* @since 3.15.0
|
|
74263
74265
|
*/
|
|
74264
74266
|
disabled: _propTypes.default.bool
|
|
74265
74267
|
};
|
|
@@ -74447,10 +74449,10 @@ const getNextSelectedValue = (value, prevValue, toggleable) => {
|
|
|
74447
74449
|
return value;
|
|
74448
74450
|
};
|
|
74449
74451
|
|
|
74450
|
-
/**
|
|
74451
|
-
* `ItemList` component is used for displaying list of [Items](#!/Item)
|
|
74452
|
-
* according to [Grid](#!/Grid) principle.
|
|
74453
|
-
* @since 0.0.48
|
|
74452
|
+
/**
|
|
74453
|
+
* `ItemList` component is used for displaying list of [Items](#!/Item)
|
|
74454
|
+
* according to [Grid](#!/Grid) principle.
|
|
74455
|
+
* @since 0.0.48
|
|
74454
74456
|
*/
|
|
74455
74457
|
class ItemList extends _react.Component {
|
|
74456
74458
|
constructor(_props) {
|
|
@@ -79567,104 +79569,104 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
79567
79569
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
79568
79570
|
|
|
79569
79571
|
const propTypes = {
|
|
79570
|
-
/**
|
|
79571
|
-
* Type of the `Layout`
|
|
79572
|
-
* @since 1.4.0
|
|
79572
|
+
/**
|
|
79573
|
+
* Type of the `Layout`
|
|
79574
|
+
* @since 1.4.0
|
|
79573
79575
|
*/
|
|
79574
79576
|
type: _propTypes.default.oneOf(['fluid', 'simplified']),
|
|
79575
79577
|
|
|
79576
|
-
/**
|
|
79577
|
-
* Header content.
|
|
79578
|
-
* @since 1.4.0
|
|
79578
|
+
/**
|
|
79579
|
+
* Header content.
|
|
79580
|
+
* @since 1.4.0
|
|
79579
79581
|
*/
|
|
79580
79582
|
header: _propTypes.default.node,
|
|
79581
79583
|
|
|
79582
|
-
/**
|
|
79583
|
-
* Define header position - always on top (fixed) or static.
|
|
79584
|
-
* @since 1.4.0
|
|
79584
|
+
/**
|
|
79585
|
+
* Define header position - always on top (fixed) or static.
|
|
79586
|
+
* @since 1.4.0
|
|
79585
79587
|
*/
|
|
79586
79588
|
headerFixed: _propTypes.default.bool,
|
|
79587
79589
|
|
|
79588
|
-
/**
|
|
79589
|
-
* Additional content at the top of the header.
|
|
79590
|
-
* @since 3.2.0
|
|
79590
|
+
/**
|
|
79591
|
+
* Additional content at the top of the header.
|
|
79592
|
+
* @since 3.2.0
|
|
79591
79593
|
*/
|
|
79592
79594
|
headerAddon: _propTypes.default.node,
|
|
79593
79595
|
|
|
79594
|
-
/**
|
|
79595
|
-
* Sidebar content.
|
|
79596
|
-
* @since 1.4.0
|
|
79596
|
+
/**
|
|
79597
|
+
* Sidebar content.
|
|
79598
|
+
* @since 1.4.0
|
|
79597
79599
|
*/
|
|
79598
79600
|
sidebar: _propTypes.default.node,
|
|
79599
79601
|
|
|
79600
|
-
/**
|
|
79601
|
-
* Sidebar type.
|
|
79602
|
-
* @since 3.2.0
|
|
79602
|
+
/**
|
|
79603
|
+
* Sidebar type.
|
|
79604
|
+
* @since 3.2.0
|
|
79603
79605
|
*/
|
|
79604
79606
|
sidebarType: _propTypes.default.oneOf(['collapsed', 'folded']),
|
|
79605
79607
|
|
|
79606
|
-
/**
|
|
79607
|
-
* Define if sidebar can collapse.
|
|
79608
|
-
* @since 1.4.0
|
|
79608
|
+
/**
|
|
79609
|
+
* Define if sidebar can collapse.
|
|
79610
|
+
* @since 1.4.0
|
|
79609
79611
|
*/
|
|
79610
79612
|
sidebarCollapsible: _propTypes.default.bool,
|
|
79611
79613
|
|
|
79612
|
-
/**
|
|
79613
|
-
* Sidebar collapsed state.
|
|
79614
|
-
* A boolean value is used for desktop mode only, but you can set an array with collapsed states for all modes, e.g. `['responsive', 'desktop']`.
|
|
79615
|
-
*
|
|
79616
|
-
* @since 1.4.0
|
|
79614
|
+
/**
|
|
79615
|
+
* Sidebar collapsed state.
|
|
79616
|
+
* A boolean value is used for desktop mode only, but you can set an array with collapsed states for all modes, e.g. `['responsive', 'desktop']`.
|
|
79617
|
+
*
|
|
79618
|
+
* @since 1.4.0
|
|
79617
79619
|
*/
|
|
79618
79620
|
sidebarCollapsed: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.array]),
|
|
79619
79621
|
|
|
79620
|
-
/**
|
|
79621
|
-
* Additional content between header and main content.
|
|
79622
|
-
* @since 1.4.0
|
|
79622
|
+
/**
|
|
79623
|
+
* Additional content between header and main content.
|
|
79624
|
+
* @since 1.4.0
|
|
79623
79625
|
*/
|
|
79624
79626
|
contentAddon: _propTypes.default.node,
|
|
79625
79627
|
|
|
79626
|
-
/**
|
|
79627
|
-
* Content header.
|
|
79628
|
-
* @since 3.0.0
|
|
79628
|
+
/**
|
|
79629
|
+
* Content header.
|
|
79630
|
+
* @since 3.0.0
|
|
79629
79631
|
*/
|
|
79630
79632
|
contentHeader: _propTypes.default.node,
|
|
79631
79633
|
|
|
79632
|
-
/**
|
|
79633
|
-
* Footer content.
|
|
79634
|
-
* @since 1.4.0
|
|
79634
|
+
/**
|
|
79635
|
+
* Footer content.
|
|
79636
|
+
* @since 1.4.0
|
|
79635
79637
|
*/
|
|
79636
79638
|
footer: _propTypes.default.node,
|
|
79637
79639
|
|
|
79638
|
-
/**
|
|
79639
|
-
* Main content of the `Layout`.
|
|
79640
|
-
* @since 1.4.0
|
|
79640
|
+
/**
|
|
79641
|
+
* Main content of the `Layout`.
|
|
79642
|
+
* @since 1.4.0
|
|
79641
79643
|
*/
|
|
79642
79644
|
children: _propTypes.default.node,
|
|
79643
79645
|
|
|
79644
|
-
/**
|
|
79645
|
-
* Width of the content
|
|
79646
|
-
* @since 3.0.0
|
|
79646
|
+
/**
|
|
79647
|
+
* Width of the content
|
|
79648
|
+
* @since 3.0.0
|
|
79647
79649
|
*/
|
|
79648
79650
|
width: _propTypes.default.oneOf(['sm', 'md', 'lg']),
|
|
79649
79651
|
|
|
79650
|
-
/**
|
|
79651
|
-
* Sidebar onToggle handler.
|
|
79652
|
-
* The handler is called with two args:
|
|
79653
|
-
*
|
|
79654
|
-
* * Whether collapsed or not.
|
|
79655
|
-
* * In which mode: responsive or desktop.
|
|
79656
|
-
*
|
|
79657
|
-
* @since 1.4.0
|
|
79652
|
+
/**
|
|
79653
|
+
* Sidebar onToggle handler.
|
|
79654
|
+
* The handler is called with two args:
|
|
79655
|
+
*
|
|
79656
|
+
* * Whether collapsed or not.
|
|
79657
|
+
* * In which mode: responsive or desktop.
|
|
79658
|
+
*
|
|
79659
|
+
* @since 1.4.0
|
|
79658
79660
|
*/
|
|
79659
79661
|
onSidebarToggle: _propTypes.default.func,
|
|
79660
79662
|
|
|
79661
|
-
/**
|
|
79662
|
-
* @ignore
|
|
79663
|
+
/**
|
|
79664
|
+
* @ignore
|
|
79663
79665
|
*/
|
|
79664
79666
|
className: _propTypes.default.string,
|
|
79665
79667
|
|
|
79666
|
-
/**
|
|
79667
|
-
* @ignore
|
|
79668
|
+
/**
|
|
79669
|
+
* @ignore
|
|
79668
79670
|
*/
|
|
79669
79671
|
baseClassName: _propTypes.default.string
|
|
79670
79672
|
};
|
|
@@ -79714,8 +79716,8 @@ const subscribeClickOutside = (refs, handler) => {
|
|
|
79714
79716
|
document.removeEventListener('touchstart', listener);
|
|
79715
79717
|
};
|
|
79716
79718
|
};
|
|
79717
|
-
/**
|
|
79718
|
-
* @since 1.4.0
|
|
79719
|
+
/**
|
|
79720
|
+
* @since 1.4.0
|
|
79719
79721
|
*/
|
|
79720
79722
|
|
|
79721
79723
|
|
|
@@ -83886,12 +83888,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
83886
83888
|
const ADDON_LEFT_PADDING = 5;
|
|
83887
83889
|
const MIN_ADDON_WIDTH_DEFAULT = 150;
|
|
83888
83890
|
const COLLAPSED_SEARCH_WIDTH = 60;
|
|
83889
|
-
/**
|
|
83890
|
-
* `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
|
|
83891
|
-
* in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
|
|
83892
|
-
* the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
|
|
83893
|
-
* group name and a navigation button.
|
|
83894
|
-
* @since 0.0.35
|
|
83891
|
+
/**
|
|
83892
|
+
* `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
|
|
83893
|
+
* in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
|
|
83894
|
+
* the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
|
|
83895
|
+
* group name and a navigation button.
|
|
83896
|
+
* @since 0.0.35
|
|
83895
83897
|
*/
|
|
83896
83898
|
|
|
83897
83899
|
class Tabs extends _react.Component {
|
|
@@ -84467,57 +84469,57 @@ class Tabs extends _react.Component {
|
|
|
84467
84469
|
}
|
|
84468
84470
|
|
|
84469
84471
|
Tabs.propTypes = {
|
|
84470
|
-
/**
|
|
84471
|
-
* Number of active tab
|
|
84472
|
-
* @since 0.0.35
|
|
84472
|
+
/**
|
|
84473
|
+
* Number of active tab
|
|
84474
|
+
* @since 0.0.35
|
|
84473
84475
|
*/
|
|
84474
84476
|
active: _propTypes.default.number,
|
|
84475
84477
|
|
|
84476
|
-
/**
|
|
84477
|
-
* Addon for search bar, dropdown etc.
|
|
84478
|
-
* @since 0.0.58
|
|
84478
|
+
/**
|
|
84479
|
+
* Addon for search bar, dropdown etc.
|
|
84480
|
+
* @since 0.0.58
|
|
84479
84481
|
*/
|
|
84480
84482
|
addon: _propTypes.default.element,
|
|
84481
84483
|
|
|
84482
|
-
/**
|
|
84483
|
-
* Placeholder for search bar, dropdown etc.
|
|
84484
|
-
*
|
|
84485
|
-
* @deprecated Do not use! Use `addon` instead!
|
|
84486
|
-
* @since 0.0.42
|
|
84484
|
+
/**
|
|
84485
|
+
* Placeholder for search bar, dropdown etc.
|
|
84486
|
+
*
|
|
84487
|
+
* @deprecated Do not use! Use `addon` instead!
|
|
84488
|
+
* @since 0.0.42
|
|
84487
84489
|
*/
|
|
84488
84490
|
placeholder: _propTypes.default.element,
|
|
84489
84491
|
|
|
84490
|
-
/**
|
|
84491
|
-
* Minimum add-on width in pixels
|
|
84492
|
-
* @since 0.0.58
|
|
84492
|
+
/**
|
|
84493
|
+
* Minimum add-on width in pixels
|
|
84494
|
+
* @since 0.0.58
|
|
84493
84495
|
*/
|
|
84494
84496
|
addonMinWidth: _propTypes.default.number,
|
|
84495
84497
|
|
|
84496
|
-
/**
|
|
84497
|
-
* Monospaced version of tabs (all visible tabs as wide as widest of them)
|
|
84498
|
-
* @since 0.0.58
|
|
84498
|
+
/**
|
|
84499
|
+
* Monospaced version of tabs (all visible tabs as wide as widest of them)
|
|
84500
|
+
* @since 0.0.58
|
|
84499
84501
|
*/
|
|
84500
84502
|
monospaced: _propTypes.default.bool,
|
|
84501
84503
|
|
|
84502
|
-
/**
|
|
84503
|
-
* [SearchBar](#!/SearchBar) element
|
|
84504
|
-
* @since 0.0.58
|
|
84504
|
+
/**
|
|
84505
|
+
* [SearchBar](#!/SearchBar) element
|
|
84506
|
+
* @since 0.0.58
|
|
84505
84507
|
*/
|
|
84506
84508
|
search: _propTypes.default.element,
|
|
84507
84509
|
|
|
84508
|
-
/**
|
|
84509
|
-
* [Tabs](#!/Tab)
|
|
84510
|
-
* @since 0.0.47
|
|
84510
|
+
/**
|
|
84511
|
+
* [Tabs](#!/Tab)
|
|
84512
|
+
* @since 0.0.47
|
|
84511
84513
|
*/
|
|
84512
84514
|
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.element), _propTypes.default.element]),
|
|
84513
84515
|
|
|
84514
|
-
/**
|
|
84515
|
-
* @ignore
|
|
84516
|
+
/**
|
|
84517
|
+
* @ignore
|
|
84516
84518
|
*/
|
|
84517
84519
|
className: _propTypes.default.string,
|
|
84518
84520
|
|
|
84519
|
-
/**
|
|
84520
|
-
* @ignore
|
|
84521
|
+
/**
|
|
84522
|
+
* @ignore
|
|
84521
84523
|
*/
|
|
84522
84524
|
baseClassName: _propTypes.default.string
|
|
84523
84525
|
};
|