@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
package/dist/plesk-ui-library.js
CHANGED
|
@@ -62576,7 +62576,7 @@ module.exports = function(module) {
|
|
|
62576
62576
|
/*! exports provided: name, version, description, main, module, types, sideEffects, scripts, files, dependencies, devDependencies, peerDependencies, resolutions, browserslist, author, license, default */
|
|
62577
62577
|
/***/ (function(module) {
|
|
62578
62578
|
|
|
62579
|
-
module.exports = JSON.parse("{\"name\":\"@plesk/ui-library\",\"version\":\"3.25.
|
|
62579
|
+
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\"}");
|
|
62580
62580
|
|
|
62581
62581
|
/***/ }),
|
|
62582
62582
|
|
|
@@ -62633,9 +62633,9 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
62633
62633
|
|
|
62634
62634
|
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); }
|
|
62635
62635
|
|
|
62636
|
-
/**
|
|
62637
|
-
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
62638
|
-
* @since 0.0.68
|
|
62636
|
+
/**
|
|
62637
|
+
* `Action` component is used mostly for navigation, to go between pages, and not for immediate action or submitting data.
|
|
62638
|
+
* @since 0.0.68
|
|
62639
62639
|
*/
|
|
62640
62640
|
const Action = ({
|
|
62641
62641
|
baseClassName = "".concat(_constants.CLS_PREFIX, "action"),
|
|
@@ -63380,10 +63380,10 @@ const renderCaret = ({
|
|
|
63380
63380
|
|
|
63381
63381
|
return caretElement;
|
|
63382
63382
|
};
|
|
63383
|
-
/**
|
|
63384
|
-
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
63385
|
-
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
63386
|
-
* @since 0.0.37
|
|
63383
|
+
/**
|
|
63384
|
+
* `Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.
|
|
63385
|
+
* As a rule, you should not use buttons for navigation between individual pages (use `Link` instead).
|
|
63386
|
+
* @since 0.0.37
|
|
63387
63387
|
*/
|
|
63388
63388
|
|
|
63389
63389
|
|
|
@@ -63503,97 +63503,97 @@ const Button = ({
|
|
|
63503
63503
|
};
|
|
63504
63504
|
|
|
63505
63505
|
Button.propTypes = {
|
|
63506
|
-
/**
|
|
63507
|
-
* Button size.
|
|
63508
|
-
* @since 2.5.0
|
|
63506
|
+
/**
|
|
63507
|
+
* Button size.
|
|
63508
|
+
* @since 2.5.0
|
|
63509
63509
|
*/
|
|
63510
63510
|
size: _propTypes.default.oneOf(['md', 'lg']),
|
|
63511
63511
|
|
|
63512
|
-
/**
|
|
63513
|
-
* Visual intent color to apply to component.
|
|
63514
|
-
* @since 0.0.42
|
|
63512
|
+
/**
|
|
63513
|
+
* Visual intent color to apply to component.
|
|
63514
|
+
* @since 0.0.42
|
|
63515
63515
|
*/
|
|
63516
63516
|
intent: _propTypes.default.oneOf(['primary', 'secondary', 'success', 'warning', 'danger', 'info']),
|
|
63517
63517
|
|
|
63518
|
-
/**
|
|
63519
|
-
* Display button with transparent background.
|
|
63520
|
-
* @since 2.1.0
|
|
63518
|
+
/**
|
|
63519
|
+
* Display button with transparent background.
|
|
63520
|
+
* @since 2.1.0
|
|
63521
63521
|
*/
|
|
63522
63522
|
ghost: _propTypes.default.bool,
|
|
63523
63523
|
|
|
63524
|
-
/**
|
|
63525
|
-
* Arrow button.
|
|
63526
|
-
* @since 2.6.0
|
|
63524
|
+
/**
|
|
63525
|
+
* Arrow button.
|
|
63526
|
+
* @since 2.6.0
|
|
63527
63527
|
*/
|
|
63528
63528
|
arrow: _propTypes.default.oneOf(['forward', 'backward']),
|
|
63529
63529
|
|
|
63530
|
-
/**
|
|
63531
|
-
* Selected state of toggle button. Used in controlled component mode.
|
|
63532
|
-
* @since 0.0.68
|
|
63530
|
+
/**
|
|
63531
|
+
* Selected state of toggle button. Used in controlled component mode.
|
|
63532
|
+
* @since 0.0.68
|
|
63533
63533
|
*/
|
|
63534
63534
|
selected: _propTypes.default.bool,
|
|
63535
63535
|
|
|
63536
|
-
/**
|
|
63537
|
-
* Toggle button callback. Used in uncontrolled component mode.
|
|
63538
|
-
* @since 0.0.68
|
|
63536
|
+
/**
|
|
63537
|
+
* Toggle button callback. Used in uncontrolled component mode.
|
|
63538
|
+
* @since 0.0.68
|
|
63539
63539
|
*/
|
|
63540
63540
|
onToggle: _propTypes.default.func,
|
|
63541
63541
|
|
|
63542
|
-
/**
|
|
63543
|
-
* State of the button
|
|
63544
|
-
* @since 0.0.42
|
|
63542
|
+
/**
|
|
63543
|
+
* State of the button
|
|
63544
|
+
* @since 0.0.42
|
|
63545
63545
|
*/
|
|
63546
63546
|
state: _propTypes.default.oneOf(['active', 'loading', 'hovered', 'focused']),
|
|
63547
63547
|
|
|
63548
|
-
/**
|
|
63549
|
-
* Is button disabled?
|
|
63550
|
-
* @since 0.0.42
|
|
63548
|
+
/**
|
|
63549
|
+
* Is button disabled?
|
|
63550
|
+
* @since 0.0.42
|
|
63551
63551
|
*/
|
|
63552
63552
|
disabled: _propTypes.default.bool,
|
|
63553
63553
|
|
|
63554
|
-
/**
|
|
63555
|
-
* Tooltip for component
|
|
63556
|
-
* @since 0.0.42
|
|
63554
|
+
/**
|
|
63555
|
+
* Tooltip for component
|
|
63556
|
+
* @since 0.0.42
|
|
63557
63557
|
*/
|
|
63558
63558
|
tooltip: _propTypes.default.node,
|
|
63559
63559
|
|
|
63560
|
-
/**
|
|
63561
|
-
* Name of icon or [Icon](#!/Icon) component
|
|
63562
|
-
* @since 0.0.42
|
|
63560
|
+
/**
|
|
63561
|
+
* Name of icon or [Icon](#!/Icon) component
|
|
63562
|
+
* @since 0.0.42
|
|
63563
63563
|
*/
|
|
63564
63564
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
63565
63565
|
|
|
63566
|
-
/**
|
|
63567
|
-
* Show caret
|
|
63568
|
-
* @since 0.0.42
|
|
63566
|
+
/**
|
|
63567
|
+
* Show caret
|
|
63568
|
+
* @since 0.0.42
|
|
63569
63569
|
*/
|
|
63570
63570
|
caret: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.element]),
|
|
63571
63571
|
|
|
63572
|
-
/**
|
|
63573
|
-
* Dynamically expand the button to fill out the whole available width of its parent container.
|
|
63574
|
-
* @since 1.8.0
|
|
63572
|
+
/**
|
|
63573
|
+
* Dynamically expand the button to fill out the whole available width of its parent container.
|
|
63574
|
+
* @since 1.8.0
|
|
63575
63575
|
*/
|
|
63576
63576
|
fill: _propTypes.default.bool,
|
|
63577
63577
|
|
|
63578
|
-
/**
|
|
63579
|
-
* Content of the button
|
|
63580
|
-
* @since 0.0.37
|
|
63578
|
+
/**
|
|
63579
|
+
* Content of the button
|
|
63580
|
+
* @since 0.0.37
|
|
63581
63581
|
*/
|
|
63582
63582
|
children: _propTypes.default.node,
|
|
63583
63583
|
|
|
63584
|
-
/**
|
|
63585
|
-
* Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.
|
|
63586
|
-
* @since 0.0.42
|
|
63584
|
+
/**
|
|
63585
|
+
* Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.
|
|
63586
|
+
* @since 0.0.42
|
|
63587
63587
|
*/
|
|
63588
63588
|
component: _propTypes.default.elementType,
|
|
63589
63589
|
|
|
63590
|
-
/**
|
|
63591
|
-
* @ignore
|
|
63590
|
+
/**
|
|
63591
|
+
* @ignore
|
|
63592
63592
|
*/
|
|
63593
63593
|
className: _propTypes.default.string,
|
|
63594
63594
|
|
|
63595
|
-
/**
|
|
63596
|
-
* @ignore
|
|
63595
|
+
/**
|
|
63596
|
+
* @ignore
|
|
63597
63597
|
*/
|
|
63598
63598
|
baseClassName: _propTypes.default.string
|
|
63599
63599
|
};
|
|
@@ -65771,9 +65771,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
65771
65771
|
|
|
65772
65772
|
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); }
|
|
65773
65773
|
|
|
65774
|
-
/**
|
|
65775
|
-
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
65776
|
-
* @since 0.0.55
|
|
65774
|
+
/**
|
|
65775
|
+
* `Checkbox` component is used for turning an option on or off and selecting or deselecting an item.
|
|
65776
|
+
* @since 0.0.55
|
|
65777
65777
|
*/
|
|
65778
65778
|
const Checkbox = ({
|
|
65779
65779
|
baseClassName = "".concat(_constants.CLS_PREFIX, "checkbox"),
|
|
@@ -66050,9 +66050,9 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
66050
66050
|
|
|
66051
66051
|
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; }
|
|
66052
66052
|
|
|
66053
|
-
/**
|
|
66054
|
-
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
66055
|
-
* @since 0.0.61
|
|
66053
|
+
/**
|
|
66054
|
+
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
66055
|
+
* @since 0.0.61
|
|
66056
66056
|
*/
|
|
66057
66057
|
class CodeEditor extends _react.Component {
|
|
66058
66058
|
constructor(...args) {
|
|
@@ -66258,82 +66258,82 @@ class CodeEditor extends _react.Component {
|
|
|
66258
66258
|
}
|
|
66259
66259
|
|
|
66260
66260
|
CodeEditor.propTypes = {
|
|
66261
|
-
/**
|
|
66262
|
-
* The mode to use. When not given, this will default to the first mode that was loaded.
|
|
66263
|
-
* @since 0.0.61
|
|
66261
|
+
/**
|
|
66262
|
+
* The mode to use. When not given, this will default to the first mode that was loaded.
|
|
66263
|
+
* @since 0.0.61
|
|
66264
66264
|
*/
|
|
66265
66265
|
mode: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
|
|
66266
66266
|
|
|
66267
|
-
/**
|
|
66268
|
-
* CodeEditor can detect mode by file name. Will be ignored if you set mode property.
|
|
66269
|
-
* @since 0.0.61
|
|
66267
|
+
/**
|
|
66268
|
+
* CodeEditor can detect mode by file name. Will be ignored if you set mode property.
|
|
66269
|
+
* @since 0.0.61
|
|
66270
66270
|
*/
|
|
66271
66271
|
fileName: _propTypes.default.string,
|
|
66272
66272
|
|
|
66273
|
-
/**
|
|
66274
|
-
* Content of the `CodeEditor`.
|
|
66275
|
-
* @since 0.0.61
|
|
66273
|
+
/**
|
|
66274
|
+
* Content of the `CodeEditor`.
|
|
66275
|
+
* @since 0.0.61
|
|
66276
66276
|
*/
|
|
66277
66277
|
children: _propTypes.default.string,
|
|
66278
66278
|
|
|
66279
|
-
/**
|
|
66280
|
-
* Set read only.
|
|
66281
|
-
* @since 0.0.61
|
|
66279
|
+
/**
|
|
66280
|
+
* Set read only.
|
|
66281
|
+
* @since 0.0.61
|
|
66282
66282
|
*/
|
|
66283
66283
|
readOnly: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
66284
66284
|
|
|
66285
|
-
/**
|
|
66286
|
-
* Set auto focus.
|
|
66287
|
-
* @since 0.0.61
|
|
66285
|
+
/**
|
|
66286
|
+
* Set auto focus.
|
|
66287
|
+
* @since 0.0.61
|
|
66288
66288
|
*/
|
|
66289
66289
|
autofocus: _propTypes.default.bool,
|
|
66290
66290
|
|
|
66291
|
-
/**
|
|
66292
|
-
* onInit event handler.
|
|
66293
|
-
* @since 0.0.61
|
|
66291
|
+
/**
|
|
66292
|
+
* onInit event handler.
|
|
66293
|
+
* @since 0.0.61
|
|
66294
66294
|
*/
|
|
66295
66295
|
onInit: _propTypes.default.func,
|
|
66296
66296
|
|
|
66297
|
-
/**
|
|
66298
|
-
* onChange event handler.
|
|
66299
|
-
* @since 0.0.61
|
|
66297
|
+
/**
|
|
66298
|
+
* onChange event handler.
|
|
66299
|
+
* @since 0.0.61
|
|
66300
66300
|
*/
|
|
66301
66301
|
onChange: _propTypes.default.func,
|
|
66302
66302
|
|
|
66303
|
-
/**
|
|
66304
|
-
* onSave event handler.
|
|
66305
|
-
* @since 0.0.61
|
|
66303
|
+
/**
|
|
66304
|
+
* onSave event handler.
|
|
66305
|
+
* @since 0.0.61
|
|
66306
66306
|
*/
|
|
66307
66307
|
onSave: _propTypes.default.func,
|
|
66308
66308
|
|
|
66309
|
-
/**
|
|
66310
|
-
* See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.
|
|
66311
|
-
* @since 0.0.61
|
|
66309
|
+
/**
|
|
66310
|
+
* See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.
|
|
66311
|
+
* @since 0.0.61
|
|
66312
66312
|
*/
|
|
66313
66313
|
options: _propTypes.default.object,
|
|
66314
66314
|
|
|
66315
|
-
/**
|
|
66316
|
-
* Set scroll position.
|
|
66317
|
-
* @since 1.12.4
|
|
66315
|
+
/**
|
|
66316
|
+
* Set scroll position.
|
|
66317
|
+
* @since 1.12.4
|
|
66318
66318
|
*/
|
|
66319
66319
|
scrollPosition: _propTypes.default.shape({
|
|
66320
66320
|
left: _propTypes.default.number,
|
|
66321
66321
|
top: _propTypes.default.number
|
|
66322
66322
|
}),
|
|
66323
66323
|
|
|
66324
|
-
/**
|
|
66325
|
-
* onScroll event handler.
|
|
66326
|
-
* @since 1.12.4
|
|
66324
|
+
/**
|
|
66325
|
+
* onScroll event handler.
|
|
66326
|
+
* @since 1.12.4
|
|
66327
66327
|
*/
|
|
66328
66328
|
onScroll: _propTypes.default.func,
|
|
66329
66329
|
|
|
66330
|
-
/**
|
|
66331
|
-
* @ignore
|
|
66330
|
+
/**
|
|
66331
|
+
* @ignore
|
|
66332
66332
|
*/
|
|
66333
66333
|
className: _propTypes.default.string,
|
|
66334
66334
|
|
|
66335
|
-
/**
|
|
66336
|
-
* @ignore
|
|
66335
|
+
/**
|
|
66336
|
+
* @ignore
|
|
66337
66337
|
*/
|
|
66338
66338
|
baseClassName: _propTypes.default.string
|
|
66339
66339
|
};
|
|
@@ -67949,9 +67949,9 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
67949
67949
|
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); }
|
|
67950
67950
|
|
|
67951
67951
|
const isProps = value => value && typeof value === 'object' && ! /*#__PURE__*/(0, _react.isValidElement)(value);
|
|
67952
|
-
/**
|
|
67953
|
-
* `Dialog` is a modal window that asks users to make a decision or enter additional information.
|
|
67954
|
-
* @since 0.0.68
|
|
67952
|
+
/**
|
|
67953
|
+
* `Dialog` is a modal window that asks users to make a decision or enter additional information.
|
|
67954
|
+
* @since 0.0.68
|
|
67955
67955
|
*/
|
|
67956
67956
|
|
|
67957
67957
|
|
|
@@ -68117,126 +68117,126 @@ const Dialog = ({
|
|
|
68117
68117
|
};
|
|
68118
68118
|
|
|
68119
68119
|
Dialog.propTypes = {
|
|
68120
|
-
/**
|
|
68121
|
-
* Toggles visibility.
|
|
68122
|
-
* @since 0.0.68
|
|
68120
|
+
/**
|
|
68121
|
+
* Toggles visibility.
|
|
68122
|
+
* @since 0.0.68
|
|
68123
68123
|
*/
|
|
68124
68124
|
isOpen: _propTypes.default.bool,
|
|
68125
68125
|
|
|
68126
|
-
/**
|
|
68127
|
-
* Banner. Renders in front of content as wide as dialog.
|
|
68128
|
-
* @since 0.0.68
|
|
68126
|
+
/**
|
|
68127
|
+
* Banner. Renders in front of content as wide as dialog.
|
|
68128
|
+
* @since 0.0.68
|
|
68129
68129
|
*/
|
|
68130
68130
|
banner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
68131
68131
|
|
|
68132
|
-
/**
|
|
68133
|
-
* Block with an image, placed at the side of the component
|
|
68134
|
-
* @since 3.25.0
|
|
68132
|
+
/**
|
|
68133
|
+
* Block with an image, placed at the side of the component
|
|
68134
|
+
* @since 3.25.0
|
|
68135
68135
|
*/
|
|
68136
68136
|
sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
68137
68137
|
|
|
68138
|
-
/**
|
|
68139
|
-
* Additional properties for the sideBanner
|
|
68140
|
-
* @since 3.25.0
|
|
68138
|
+
/**
|
|
68139
|
+
* Additional properties for the sideBanner
|
|
68140
|
+
* @since 3.25.0
|
|
68141
68141
|
*/
|
|
68142
68142
|
sideBannerContainer: _propTypes.default.shape({
|
|
68143
|
-
/**
|
|
68144
|
-
* Values for css background property
|
|
68143
|
+
/**
|
|
68144
|
+
* Values for css background property
|
|
68145
68145
|
*/
|
|
68146
68146
|
background: _propTypes.default.string,
|
|
68147
68147
|
|
|
68148
|
-
/**
|
|
68149
|
-
* One of: center, flex-start, flex-end
|
|
68148
|
+
/**
|
|
68149
|
+
* One of: center, flex-start, flex-end
|
|
68150
68150
|
*/
|
|
68151
68151
|
align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
|
|
68152
68152
|
}),
|
|
68153
68153
|
|
|
68154
|
-
/**
|
|
68155
|
-
* Image. Renders into content.
|
|
68156
|
-
* @since 0.0.68
|
|
68154
|
+
/**
|
|
68155
|
+
* Image. Renders into content.
|
|
68156
|
+
* @since 0.0.68
|
|
68157
68157
|
*/
|
|
68158
68158
|
image: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
68159
68159
|
|
|
68160
|
-
/**
|
|
68161
|
-
* Title
|
|
68162
|
-
* @since 0.0.68
|
|
68160
|
+
/**
|
|
68161
|
+
* Title
|
|
68162
|
+
* @since 0.0.68
|
|
68163
68163
|
*/
|
|
68164
68164
|
title: _propTypes.default.node,
|
|
68165
68165
|
|
|
68166
|
-
/**
|
|
68167
|
-
* The subtitle of the `Dialog`.
|
|
68168
|
-
* @since 4.0.0
|
|
68166
|
+
/**
|
|
68167
|
+
* The subtitle of the `Dialog`.
|
|
68168
|
+
* @since 4.0.0
|
|
68169
68169
|
*/
|
|
68170
68170
|
subtitle: _propTypes.default.node,
|
|
68171
68171
|
|
|
68172
|
-
/**
|
|
68173
|
-
* Title of "cancel" button
|
|
68174
|
-
* @since 0.0.68
|
|
68175
|
-
* @deprecated Use `cancelButton` instead.
|
|
68172
|
+
/**
|
|
68173
|
+
* Title of "cancel" button
|
|
68174
|
+
* @since 0.0.68
|
|
68175
|
+
* @deprecated Use `cancelButton` instead.
|
|
68176
68176
|
*/
|
|
68177
68177
|
cancelTitle: _propTypes.default.node,
|
|
68178
68178
|
|
|
68179
|
-
/**
|
|
68180
|
-
* Cancel button visibility or custom configuration. It accepts all props of the `Button` component.
|
|
68181
|
-
* @since 3.13.0
|
|
68179
|
+
/**
|
|
68180
|
+
* Cancel button visibility or custom configuration. It accepts all props of the `Button` component.
|
|
68181
|
+
* @since 3.13.0
|
|
68182
68182
|
*/
|
|
68183
68183
|
cancelButton: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.object]),
|
|
68184
68184
|
|
|
68185
|
-
/**
|
|
68186
|
-
* Buttons except "cancel" button
|
|
68187
|
-
* @since 0.0.68
|
|
68185
|
+
/**
|
|
68186
|
+
* Buttons except "cancel" button
|
|
68187
|
+
* @since 0.0.68
|
|
68188
68188
|
*/
|
|
68189
68189
|
buttons: _propTypes.default.node,
|
|
68190
68190
|
|
|
68191
|
-
/**
|
|
68192
|
-
* Actions which will be shown in Dialog header
|
|
68193
|
-
* @since 1.2.0
|
|
68191
|
+
/**
|
|
68192
|
+
* Actions which will be shown in Dialog header
|
|
68193
|
+
* @since 1.2.0
|
|
68194
68194
|
*/
|
|
68195
68195
|
actions: _propTypes.default.node,
|
|
68196
68196
|
|
|
68197
|
-
/**
|
|
68198
|
-
* Wraps children into [Form](#!/Form) if not empty.
|
|
68199
|
-
* @since 0.0.68
|
|
68197
|
+
/**
|
|
68198
|
+
* Wraps children into [Form](#!/Form) if not empty.
|
|
68199
|
+
* @since 0.0.68
|
|
68200
68200
|
*/
|
|
68201
68201
|
form: _propTypes.default.object,
|
|
68202
68202
|
|
|
68203
|
-
/**
|
|
68204
|
-
* Dialog width
|
|
68205
|
-
* @since 0.0.68
|
|
68203
|
+
/**
|
|
68204
|
+
* Dialog width
|
|
68205
|
+
* @since 0.0.68
|
|
68206
68206
|
*/
|
|
68207
68207
|
size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
|
|
68208
68208
|
|
|
68209
|
-
/**
|
|
68210
|
-
* If the value is false, the dialog cannot be closed and the Close button is hidden.
|
|
68211
|
-
* @since 1.2.0
|
|
68209
|
+
/**
|
|
68210
|
+
* If the value is false, the dialog cannot be closed and the Close button is hidden.
|
|
68211
|
+
* @since 1.2.0
|
|
68212
68212
|
*/
|
|
68213
68213
|
closable: _propTypes.default.bool,
|
|
68214
68214
|
|
|
68215
|
-
/**
|
|
68216
|
-
* On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.
|
|
68217
|
-
* @since 0.0.68
|
|
68215
|
+
/**
|
|
68216
|
+
* On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.
|
|
68217
|
+
* @since 0.0.68
|
|
68218
68218
|
*/
|
|
68219
68219
|
onClose: _propTypes.default.func,
|
|
68220
68220
|
|
|
68221
|
-
/**
|
|
68222
|
-
* Whether show or not a confirmation dialog on close.
|
|
68223
|
-
* @since 3.21.0
|
|
68221
|
+
/**
|
|
68222
|
+
* Whether show or not a confirmation dialog on close.
|
|
68223
|
+
* @since 3.21.0
|
|
68224
68224
|
*/
|
|
68225
68225
|
closingConfirmation: _propTypes.default.bool,
|
|
68226
68226
|
|
|
68227
|
-
/**
|
|
68228
|
-
* Content of the `DialogWindow`.
|
|
68229
|
-
* @since 0.0.68
|
|
68227
|
+
/**
|
|
68228
|
+
* Content of the `DialogWindow`.
|
|
68229
|
+
* @since 0.0.68
|
|
68230
68230
|
*/
|
|
68231
68231
|
children: _propTypes.default.node,
|
|
68232
68232
|
|
|
68233
|
-
/**
|
|
68234
|
-
* @ignore
|
|
68233
|
+
/**
|
|
68234
|
+
* @ignore
|
|
68235
68235
|
*/
|
|
68236
68236
|
className: _propTypes.default.string,
|
|
68237
68237
|
|
|
68238
|
-
/**
|
|
68239
|
-
* @ignore
|
|
68238
|
+
/**
|
|
68239
|
+
* @ignore
|
|
68240
68240
|
*/
|
|
68241
68241
|
baseClassName: _propTypes.default.string
|
|
68242
68242
|
};
|
|
@@ -68413,107 +68413,107 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
68413
68413
|
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); }
|
|
68414
68414
|
|
|
68415
68415
|
const propTypes = {
|
|
68416
|
-
/**
|
|
68417
|
-
* Toggles visibility.
|
|
68418
|
-
* @since 0.0.65
|
|
68416
|
+
/**
|
|
68417
|
+
* Toggles visibility.
|
|
68418
|
+
* @since 0.0.65
|
|
68419
68419
|
*/
|
|
68420
68420
|
isOpen: _propTypes.default.bool,
|
|
68421
68421
|
|
|
68422
|
-
/**
|
|
68423
|
-
* The title of the `Drawer`.
|
|
68424
|
-
* @since 0.0.65
|
|
68422
|
+
/**
|
|
68423
|
+
* The title of the `Drawer`.
|
|
68424
|
+
* @since 0.0.65
|
|
68425
68425
|
*/
|
|
68426
68426
|
title: _propTypes.default.node.isRequired,
|
|
68427
68427
|
|
|
68428
|
-
/**
|
|
68429
|
-
* The subtitle of the `Drawer`.
|
|
68430
|
-
* @since 0.0.65
|
|
68428
|
+
/**
|
|
68429
|
+
* The subtitle of the `Drawer`.
|
|
68430
|
+
* @since 0.0.65
|
|
68431
68431
|
*/
|
|
68432
68432
|
subtitle: _propTypes.default.node,
|
|
68433
68433
|
|
|
68434
|
-
/**
|
|
68435
|
-
* Show the minimize button and the inactive close button.
|
|
68436
|
-
* @since 1.4.1
|
|
68434
|
+
/**
|
|
68435
|
+
* Show the minimize button and the inactive close button.
|
|
68436
|
+
* @since 1.4.1
|
|
68437
68437
|
*/
|
|
68438
68438
|
hideButton: _propTypes.default.bool,
|
|
68439
68439
|
|
|
68440
|
-
/**
|
|
68441
|
-
* Show back button in the header. If true the close button is not show.
|
|
68442
|
-
* @deprecated Not recommended to use. Use default close button instead.
|
|
68443
|
-
* @since 0.0.65
|
|
68440
|
+
/**
|
|
68441
|
+
* Show back button in the header. If true the close button is not show.
|
|
68442
|
+
* @deprecated Not recommended to use. Use default close button instead.
|
|
68443
|
+
* @since 0.0.65
|
|
68444
68444
|
*/
|
|
68445
68445
|
backButton: _propTypes.default.bool,
|
|
68446
68446
|
|
|
68447
|
-
/**
|
|
68448
|
-
* Overlay placement.
|
|
68449
|
-
* @since 0.0.65
|
|
68447
|
+
/**
|
|
68448
|
+
* Overlay placement.
|
|
68449
|
+
* @since 0.0.65
|
|
68450
68450
|
*/
|
|
68451
68451
|
placement: _propTypes.default.oneOf(['left', 'right']),
|
|
68452
68452
|
|
|
68453
|
-
/**
|
|
68454
|
-
* Overlay size.
|
|
68455
|
-
* @since 0.0.65
|
|
68453
|
+
/**
|
|
68454
|
+
* Overlay size.
|
|
68455
|
+
* @since 0.0.65
|
|
68456
68456
|
*/
|
|
68457
68457
|
size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
|
|
68458
68458
|
|
|
68459
|
-
/**
|
|
68460
|
-
* onClose handler.
|
|
68461
|
-
* @since 0.0.65
|
|
68459
|
+
/**
|
|
68460
|
+
* onClose handler.
|
|
68461
|
+
* @since 0.0.65
|
|
68462
68462
|
*/
|
|
68463
68463
|
onClose: _propTypes.default.func,
|
|
68464
68464
|
|
|
68465
|
-
/**
|
|
68466
|
-
* Whether show or not a confirmation dialog on close.
|
|
68467
|
-
* @since 3.21.0
|
|
68465
|
+
/**
|
|
68466
|
+
* Whether show or not a confirmation dialog on close.
|
|
68467
|
+
* @since 3.21.0
|
|
68468
68468
|
*/
|
|
68469
68469
|
closingConfirmation: _propTypes.default.bool,
|
|
68470
68470
|
|
|
68471
|
-
/**
|
|
68472
|
-
* Wraps children into [Form](#!/Form) if not empty.
|
|
68473
|
-
* @since 0.0.66
|
|
68471
|
+
/**
|
|
68472
|
+
* Wraps children into [Form](#!/Form) if not empty.
|
|
68473
|
+
* @since 0.0.66
|
|
68474
68474
|
*/
|
|
68475
68475
|
form: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.element]),
|
|
68476
68476
|
|
|
68477
|
-
/**
|
|
68478
|
-
* Block with an image, placed at the side of the component
|
|
68479
|
-
* @since 3.25.0
|
|
68477
|
+
/**
|
|
68478
|
+
* Block with an image, placed at the side of the component
|
|
68479
|
+
* @since 3.25.0
|
|
68480
68480
|
*/
|
|
68481
68481
|
sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
68482
68482
|
|
|
68483
|
-
/**
|
|
68484
|
-
* Additional properties for the sideBanner
|
|
68485
|
-
* @since 3.25.0
|
|
68483
|
+
/**
|
|
68484
|
+
* Additional properties for the sideBanner
|
|
68485
|
+
* @since 3.25.0
|
|
68486
68486
|
*/
|
|
68487
68487
|
sideBannerContainer: _propTypes.default.shape({
|
|
68488
|
-
/**
|
|
68489
|
-
* Values for css background property
|
|
68488
|
+
/**
|
|
68489
|
+
* Values for css background property
|
|
68490
68490
|
*/
|
|
68491
68491
|
background: _propTypes.default.string,
|
|
68492
68492
|
|
|
68493
|
-
/**
|
|
68494
|
-
* One of: center, flex-start, flex-end
|
|
68493
|
+
/**
|
|
68494
|
+
* One of: center, flex-start, flex-end
|
|
68495
68495
|
*/
|
|
68496
68496
|
align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
|
|
68497
68497
|
}),
|
|
68498
68498
|
|
|
68499
|
-
/**
|
|
68500
|
-
* Content of the `Drawer`.
|
|
68501
|
-
* @since 0.0.65
|
|
68499
|
+
/**
|
|
68500
|
+
* Content of the `Drawer`.
|
|
68501
|
+
* @since 0.0.65
|
|
68502
68502
|
*/
|
|
68503
68503
|
children: _propTypes.default.node,
|
|
68504
68504
|
|
|
68505
|
-
/**
|
|
68506
|
-
* Adds [Progress](#!/Progress) into footer.
|
|
68507
|
-
* @since 1.11.0
|
|
68505
|
+
/**
|
|
68506
|
+
* Adds [Progress](#!/Progress) into footer.
|
|
68507
|
+
* @since 1.11.0
|
|
68508
68508
|
*/
|
|
68509
68509
|
progress: _propTypes.default.shape({
|
|
68510
|
-
/**
|
|
68511
|
-
* A title for the progress.
|
|
68510
|
+
/**
|
|
68511
|
+
* A title for the progress.
|
|
68512
68512
|
*/
|
|
68513
68513
|
title: _propTypes.default.string,
|
|
68514
68514
|
|
|
68515
|
-
/**
|
|
68516
|
-
* An array of [ProgressStep](#!/ProgressStep) props.
|
|
68515
|
+
/**
|
|
68516
|
+
* An array of [ProgressStep](#!/ProgressStep) props.
|
|
68517
68517
|
*/
|
|
68518
68518
|
steps: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
68519
68519
|
title: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
|
|
@@ -68522,35 +68522,35 @@ const propTypes = {
|
|
|
68522
68522
|
icon: _propTypes.default.string
|
|
68523
68523
|
})).isRequired,
|
|
68524
68524
|
|
|
68525
|
-
/**
|
|
68526
|
-
* An option that controls drawer closing ability.
|
|
68525
|
+
/**
|
|
68526
|
+
* An option that controls drawer closing ability.
|
|
68527
68527
|
*/
|
|
68528
68528
|
cancelable: _propTypes.default.bool,
|
|
68529
68529
|
|
|
68530
|
-
/**
|
|
68531
|
-
* On overall status event handler.
|
|
68532
|
-
* @since 3.8.0
|
|
68530
|
+
/**
|
|
68531
|
+
* On overall status event handler.
|
|
68532
|
+
* @since 3.8.0
|
|
68533
68533
|
*/
|
|
68534
68534
|
onStatusChange: _propTypes.default.func,
|
|
68535
68535
|
|
|
68536
|
-
/**
|
|
68537
|
-
* @ignore
|
|
68536
|
+
/**
|
|
68537
|
+
* @ignore
|
|
68538
68538
|
*/
|
|
68539
68539
|
onClose: _propTypes.default.func,
|
|
68540
68540
|
|
|
68541
|
-
/**
|
|
68542
|
-
* @ignore
|
|
68541
|
+
/**
|
|
68542
|
+
* @ignore
|
|
68543
68543
|
*/
|
|
68544
68544
|
onClosableChange: _propTypes.default.func
|
|
68545
68545
|
}),
|
|
68546
68546
|
|
|
68547
|
-
/**
|
|
68548
|
-
* @ignore
|
|
68547
|
+
/**
|
|
68548
|
+
* @ignore
|
|
68549
68549
|
*/
|
|
68550
68550
|
className: _propTypes.default.string,
|
|
68551
68551
|
|
|
68552
|
-
/**
|
|
68553
|
-
* @ignore
|
|
68552
|
+
/**
|
|
68553
|
+
* @ignore
|
|
68554
68554
|
*/
|
|
68555
68555
|
baseClassName: _propTypes.default.string
|
|
68556
68556
|
};
|
|
@@ -68571,10 +68571,10 @@ const defaultProps = {
|
|
|
68571
68571
|
className: null,
|
|
68572
68572
|
baseClassName: "".concat(_constants.CLS_PREFIX, "drawer")
|
|
68573
68573
|
};
|
|
68574
|
-
/**
|
|
68575
|
-
* `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
|
|
68576
|
-
* The component is similar to `Dialog` but it is intended to work with more complex forms or lists.
|
|
68577
|
-
* @since 0.0.65
|
|
68574
|
+
/**
|
|
68575
|
+
* `Drawer` component is used for working with properties of an object (or system) without leaving the context of the object.
|
|
68576
|
+
* The component is similar to `Dialog` but it is intended to work with more complex forms or lists.
|
|
68577
|
+
* @since 0.0.65
|
|
68578
68578
|
*/
|
|
68579
68579
|
|
|
68580
68580
|
const Drawer = ({
|
|
@@ -70629,10 +70629,10 @@ class Form extends _react.Component {
|
|
|
70629
70629
|
}
|
|
70630
70630
|
|
|
70631
70631
|
}
|
|
70632
|
-
/**
|
|
70633
|
-
* `Form` component is used for entering and submitting of user data.
|
|
70634
|
-
* [More details about designing of forms.](#!/Good%20Forms)
|
|
70635
|
-
* @since 0.0.54
|
|
70632
|
+
/**
|
|
70633
|
+
* `Form` component is used for entering and submitting of user data.
|
|
70634
|
+
* [More details about designing of forms.](#!/Good%20Forms)
|
|
70635
|
+
* @since 0.0.54
|
|
70636
70636
|
*/
|
|
70637
70637
|
|
|
70638
70638
|
|
|
@@ -70933,11 +70933,11 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
70933
70933
|
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; }
|
|
70934
70934
|
|
|
70935
70935
|
const defaultValue = undefined;
|
|
70936
|
-
/**
|
|
70937
|
-
* Simple helper to handle situations when we expecting only array
|
|
70938
|
-
* @param value
|
|
70939
|
-
* @param nonEmpty
|
|
70940
|
-
* @returns {Array}
|
|
70936
|
+
/**
|
|
70937
|
+
* Simple helper to handle situations when we expecting only array
|
|
70938
|
+
* @param value
|
|
70939
|
+
* @param nonEmpty
|
|
70940
|
+
* @returns {Array}
|
|
70941
70941
|
*/
|
|
70942
70942
|
|
|
70943
70943
|
const getArrayHelper = (value, nonEmpty = false) => {
|
|
@@ -70955,8 +70955,8 @@ const getArrayHelper = (value, nonEmpty = false) => {
|
|
|
70955
70955
|
};
|
|
70956
70956
|
|
|
70957
70957
|
const isControlled = props => props.value !== undefined;
|
|
70958
|
-
/**
|
|
70959
|
-
* @since 0.0.54
|
|
70958
|
+
/**
|
|
70959
|
+
* @since 0.0.54
|
|
70960
70960
|
*/
|
|
70961
70961
|
|
|
70962
70962
|
|
|
@@ -71321,10 +71321,10 @@ class FormField extends _react.Component {
|
|
|
71321
71321
|
|
|
71322
71322
|
clearTimeout(this.focusTimer);
|
|
71323
71323
|
}
|
|
71324
|
-
/**
|
|
71325
|
-
* Field API provided to field
|
|
71326
|
-
* @param index
|
|
71327
|
-
* @returns {Object}
|
|
71324
|
+
/**
|
|
71325
|
+
* Field API provided to field
|
|
71326
|
+
* @param index
|
|
71327
|
+
* @returns {Object}
|
|
71328
71328
|
*/
|
|
71329
71329
|
|
|
71330
71330
|
|
|
@@ -71348,127 +71348,127 @@ class FormField extends _react.Component {
|
|
|
71348
71348
|
}
|
|
71349
71349
|
|
|
71350
71350
|
const propTypes = {
|
|
71351
|
-
/**
|
|
71352
|
-
* Field ID.
|
|
71353
|
-
* @since 0.0.59
|
|
71351
|
+
/**
|
|
71352
|
+
* Field ID.
|
|
71353
|
+
* @since 0.0.59
|
|
71354
71354
|
*/
|
|
71355
71355
|
id: _propTypes.default.string,
|
|
71356
71356
|
|
|
71357
|
-
/**
|
|
71358
|
-
* Field name.
|
|
71359
|
-
* @since 0.0.54
|
|
71357
|
+
/**
|
|
71358
|
+
* Field name.
|
|
71359
|
+
* @since 0.0.54
|
|
71360
71360
|
*/
|
|
71361
71361
|
name: _propTypes.default.string,
|
|
71362
71362
|
|
|
71363
|
-
/**
|
|
71364
|
-
* Field value.
|
|
71365
|
-
* @deprecated Use [Form](#!/Form) values.
|
|
71366
|
-
* @since 0.0.57
|
|
71363
|
+
/**
|
|
71364
|
+
* Field value.
|
|
71365
|
+
* @deprecated Use [Form](#!/Form) values.
|
|
71366
|
+
* @since 0.0.57
|
|
71367
71367
|
*/
|
|
71368
71368
|
value: _propTypes.default.any,
|
|
71369
71369
|
|
|
71370
|
-
/**
|
|
71371
|
-
* A callback function, can be executed when the value is changing.
|
|
71372
|
-
* @since 0.4.1
|
|
71370
|
+
/**
|
|
71371
|
+
* A callback function, can be executed when the value is changing.
|
|
71372
|
+
* @since 0.4.1
|
|
71373
71373
|
*/
|
|
71374
71374
|
onChange: _propTypes.default.func,
|
|
71375
71375
|
|
|
71376
|
-
/**
|
|
71377
|
-
* Field label.
|
|
71378
|
-
* @since 0.0.54
|
|
71376
|
+
/**
|
|
71377
|
+
* Field label.
|
|
71378
|
+
* @since 0.0.54
|
|
71379
71379
|
*/
|
|
71380
71380
|
label: _propTypes.default.any,
|
|
71381
71381
|
|
|
71382
|
-
/**
|
|
71383
|
-
* Field description.
|
|
71384
|
-
* @since 0.0.57
|
|
71382
|
+
/**
|
|
71383
|
+
* Field description.
|
|
71384
|
+
* @since 0.0.57
|
|
71385
71385
|
*/
|
|
71386
71386
|
description: _propTypes.default.any,
|
|
71387
71387
|
|
|
71388
|
-
/**
|
|
71389
|
-
* Show long descriptions in popover after clicking on "( i )" icon
|
|
71390
|
-
* @since 3.14.0
|
|
71388
|
+
/**
|
|
71389
|
+
* Show long descriptions in popover after clicking on "( i )" icon
|
|
71390
|
+
* @since 3.14.0
|
|
71391
71391
|
*/
|
|
71392
71392
|
fullDescription: _propTypes.default.node,
|
|
71393
71393
|
|
|
71394
|
-
/**
|
|
71395
|
-
* Field errors.
|
|
71396
|
-
* @deprecated Use [Form](#!/Form) errors.
|
|
71397
|
-
* @since 0.0.57
|
|
71394
|
+
/**
|
|
71395
|
+
* Field errors.
|
|
71396
|
+
* @deprecated Use [Form](#!/Form) errors.
|
|
71397
|
+
* @since 0.0.57
|
|
71398
71398
|
*/
|
|
71399
71399
|
errors: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]),
|
|
71400
71400
|
|
|
71401
|
-
/**
|
|
71402
|
-
* Indicates whether field is required.
|
|
71403
|
-
* @since 0.0.54
|
|
71401
|
+
/**
|
|
71402
|
+
* Indicates whether field is required.
|
|
71403
|
+
* @since 0.0.54
|
|
71404
71404
|
*/
|
|
71405
71405
|
required: _propTypes.default.bool,
|
|
71406
71406
|
|
|
71407
|
-
/**
|
|
71408
|
-
* Content of the `FormField`.
|
|
71409
|
-
* @since 0.0.54
|
|
71407
|
+
/**
|
|
71408
|
+
* Content of the `FormField`.
|
|
71409
|
+
* @since 0.0.54
|
|
71410
71410
|
*/
|
|
71411
71411
|
children: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
|
|
71412
71412
|
|
|
71413
|
-
/**
|
|
71414
|
-
* If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
|
|
71415
|
-
* @since 1.12.0
|
|
71413
|
+
/**
|
|
71414
|
+
* If 'true', a field will be multiple. You can also limit the number of fields with a value like { max: 5 }.
|
|
71415
|
+
* @since 1.12.0
|
|
71416
71416
|
*/
|
|
71417
71417
|
multi: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.shape({
|
|
71418
71418
|
max: _propTypes.default.number.isRequired
|
|
71419
71419
|
})]),
|
|
71420
71420
|
|
|
71421
|
-
/**
|
|
71422
|
-
* @ignore Disabled state of multiple field.
|
|
71421
|
+
/**
|
|
71422
|
+
* @ignore Disabled state of multiple field.
|
|
71423
71423
|
*/
|
|
71424
71424
|
disabled: _propTypes.default.bool,
|
|
71425
71425
|
|
|
71426
|
-
/**
|
|
71427
|
-
* Localization messages
|
|
71428
|
-
* @since 1.12.0
|
|
71426
|
+
/**
|
|
71427
|
+
* Localization messages
|
|
71428
|
+
* @since 1.12.0
|
|
71429
71429
|
*/
|
|
71430
71430
|
locale: _propTypes.default.shape({
|
|
71431
71431
|
addMore: _propTypes.default.node,
|
|
71432
71432
|
remove: _propTypes.default.node
|
|
71433
71433
|
}),
|
|
71434
71434
|
|
|
71435
|
-
/**
|
|
71436
|
-
* Callback which called for all values. If it returns 'true' a pseudo-link 'Add more' will be disabled
|
|
71437
|
-
* @ignore
|
|
71438
|
-
* @deprecated
|
|
71435
|
+
/**
|
|
71436
|
+
* Callback which called for all values. If it returns 'true' a pseudo-link 'Add more' will be disabled
|
|
71437
|
+
* @ignore
|
|
71438
|
+
* @deprecated
|
|
71439
71439
|
*/
|
|
71440
71440
|
addMoreValidator: _propTypes.default.func,
|
|
71441
71441
|
|
|
71442
|
-
/**
|
|
71443
|
-
* A callback function, can be executed when the row is removed.
|
|
71444
|
-
* @since 1.12.0
|
|
71442
|
+
/**
|
|
71443
|
+
* A callback function, can be executed when the row is removed.
|
|
71444
|
+
* @since 1.12.0
|
|
71445
71445
|
*/
|
|
71446
71446
|
onRemoveRow: _propTypes.default.func,
|
|
71447
71447
|
|
|
71448
|
-
/**
|
|
71449
|
-
* @ignore
|
|
71448
|
+
/**
|
|
71449
|
+
* @ignore
|
|
71450
71450
|
*/
|
|
71451
71451
|
className: _propTypes.default.string,
|
|
71452
71452
|
|
|
71453
|
-
/**
|
|
71454
|
-
* @ignore
|
|
71453
|
+
/**
|
|
71454
|
+
* @ignore
|
|
71455
71455
|
*/
|
|
71456
71456
|
baseClassName: _propTypes.default.string,
|
|
71457
71457
|
|
|
71458
|
-
/**
|
|
71459
|
-
* @ignore
|
|
71458
|
+
/**
|
|
71459
|
+
* @ignore
|
|
71460
71460
|
*/
|
|
71461
71461
|
form: _propTypes.default.object,
|
|
71462
71462
|
|
|
71463
|
-
/**
|
|
71464
|
-
* Vertical or horizontal field view.
|
|
71465
|
-
* If it is not defined explicitly, the vertical mode will use from Form or Section components.
|
|
71466
|
-
* @since 3.13.0
|
|
71463
|
+
/**
|
|
71464
|
+
* Vertical or horizontal field view.
|
|
71465
|
+
* If it is not defined explicitly, the vertical mode will use from Form or Section components.
|
|
71466
|
+
* @since 3.13.0
|
|
71467
71467
|
*/
|
|
71468
71468
|
vertical: _propTypes.default.bool,
|
|
71469
71469
|
|
|
71470
|
-
/**
|
|
71471
|
-
* @ignore
|
|
71470
|
+
/**
|
|
71471
|
+
* @ignore
|
|
71472
71472
|
*/
|
|
71473
71473
|
scrollableElement: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Element), _propTypes.default.instanceOf(Window)])
|
|
71474
71474
|
};
|
|
@@ -71496,14 +71496,14 @@ const defaultProps = {
|
|
|
71496
71496
|
};
|
|
71497
71497
|
FormField.propTypes = propTypes;
|
|
71498
71498
|
FormField.defaultProps = defaultProps;
|
|
71499
|
-
/**
|
|
71500
|
-
* `FormField` component is used for showing of parameter values in Form or
|
|
71501
|
-
* for entering of user data with any form elements.
|
|
71502
|
-
*
|
|
71503
|
-
* For the most cases the following form elements can be used:
|
|
71504
|
-
* * [FormFieldText](#!/FormFieldText) for entering text,
|
|
71505
|
-
* * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
|
|
71506
|
-
* [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
|
|
71499
|
+
/**
|
|
71500
|
+
* `FormField` component is used for showing of parameter values in Form or
|
|
71501
|
+
* for entering of user data with any form elements.
|
|
71502
|
+
*
|
|
71503
|
+
* For the most cases the following form elements can be used:
|
|
71504
|
+
* * [FormFieldText](#!/FormFieldText) for entering text,
|
|
71505
|
+
* * [FormFieldSelect](#!/FormFieldSelect), [FormFieldCheckbox](#!/FormFieldCheckbox),
|
|
71506
|
+
* [FormFieldRadioButtons](#!/FormFieldRadioButtons) for selecting options.
|
|
71507
71507
|
*/
|
|
71508
71508
|
|
|
71509
71509
|
const FormFieldWrapper = props => {
|
|
@@ -71607,10 +71607,10 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
71607
71607
|
|
|
71608
71608
|
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); }
|
|
71609
71609
|
|
|
71610
|
-
/**
|
|
71611
|
-
* `FormFieldCheckbox` component component is used for turning an option on or off
|
|
71612
|
-
* and selecting or deselecting an item.
|
|
71613
|
-
* @since 0.0.58
|
|
71610
|
+
/**
|
|
71611
|
+
* `FormFieldCheckbox` component component is used for turning an option on or off
|
|
71612
|
+
* and selecting or deselecting an item.
|
|
71613
|
+
* @since 0.0.58
|
|
71614
71614
|
*/
|
|
71615
71615
|
const FormFieldCheckbox = ({
|
|
71616
71616
|
baseClassName,
|
|
@@ -71652,52 +71652,52 @@ const FormFieldCheckbox = ({
|
|
|
71652
71652
|
}, label)));
|
|
71653
71653
|
|
|
71654
71654
|
FormFieldCheckbox.propTypes = {
|
|
71655
|
-
/**
|
|
71656
|
-
* Disabled state of field.
|
|
71657
|
-
* @since 0.1.0
|
|
71655
|
+
/**
|
|
71656
|
+
* Disabled state of field.
|
|
71657
|
+
* @since 0.1.0
|
|
71658
71658
|
*/
|
|
71659
71659
|
disabled: _propTypes.default.bool,
|
|
71660
71660
|
|
|
71661
|
-
/**
|
|
71662
|
-
* Custom checked value. Default is boolean true.
|
|
71663
|
-
* @since 0.0.59
|
|
71661
|
+
/**
|
|
71662
|
+
* Custom checked value. Default is boolean true.
|
|
71663
|
+
* @since 0.0.59
|
|
71664
71664
|
*/
|
|
71665
71665
|
checkedValue: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
71666
71666
|
|
|
71667
|
-
/**
|
|
71668
|
-
* Custom unchecked value. Default is boolean false.
|
|
71669
|
-
* @since 0.0.59
|
|
71667
|
+
/**
|
|
71668
|
+
* Custom unchecked value. Default is boolean false.
|
|
71669
|
+
* @since 0.0.59
|
|
71670
71670
|
*/
|
|
71671
71671
|
uncheckedValue: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
|
|
71672
71672
|
|
|
71673
|
-
/**
|
|
71674
|
-
* The browser will automatically focus on the component upon rendering the screen
|
|
71675
|
-
* @since 1.9.0
|
|
71673
|
+
/**
|
|
71674
|
+
* The browser will automatically focus on the component upon rendering the screen
|
|
71675
|
+
* @since 1.9.0
|
|
71676
71676
|
*/
|
|
71677
71677
|
autoFocus: _propTypes.default.bool,
|
|
71678
71678
|
|
|
71679
|
-
/**
|
|
71680
|
-
* @ignore Field cannot be multiple
|
|
71679
|
+
/**
|
|
71680
|
+
* @ignore Field cannot be multiple
|
|
71681
71681
|
*/
|
|
71682
71682
|
multi: _propTypes.default.bool,
|
|
71683
71683
|
|
|
71684
|
-
/**
|
|
71685
|
-
* @ignore
|
|
71684
|
+
/**
|
|
71685
|
+
* @ignore
|
|
71686
71686
|
*/
|
|
71687
71687
|
label: _propTypes.default.any,
|
|
71688
71688
|
|
|
71689
|
-
/**
|
|
71690
|
-
* @ignore
|
|
71689
|
+
/**
|
|
71690
|
+
* @ignore
|
|
71691
71691
|
*/
|
|
71692
71692
|
required: _propTypes.default.bool,
|
|
71693
71693
|
|
|
71694
|
-
/**
|
|
71695
|
-
* @ignore
|
|
71694
|
+
/**
|
|
71695
|
+
* @ignore
|
|
71696
71696
|
*/
|
|
71697
71697
|
className: _propTypes.default.string,
|
|
71698
71698
|
|
|
71699
|
-
/**
|
|
71700
|
-
* @ignore
|
|
71699
|
+
/**
|
|
71700
|
+
* @ignore
|
|
71701
71701
|
*/
|
|
71702
71702
|
baseClassName: _propTypes.default.string,
|
|
71703
71703
|
fullDescription: _propTypes.default.string
|
|
@@ -71819,9 +71819,9 @@ const generatePassword = () => {
|
|
|
71819
71819
|
const password = ['upper', 'lower', 'lower', 'lower', 'number', 'number', 'special', 'number', 'upper', 'upper', 'lower', 'lower', 'lower', 'lower', 'lower', 'lower'];
|
|
71820
71820
|
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('');
|
|
71821
71821
|
};
|
|
71822
|
-
/**
|
|
71823
|
-
* `FormFieldPassword` component provides secure way to enter a password.
|
|
71824
|
-
* @since 0.0.58
|
|
71822
|
+
/**
|
|
71823
|
+
* `FormFieldPassword` component provides secure way to enter a password.
|
|
71824
|
+
* @since 0.0.58
|
|
71825
71825
|
*/
|
|
71826
71826
|
|
|
71827
71827
|
|
|
@@ -72074,33 +72074,33 @@ class FormFieldPassword extends _react.Component {
|
|
|
72074
72074
|
}
|
|
72075
72075
|
|
|
72076
72076
|
FormFieldPassword.propTypes = {
|
|
72077
|
-
/**
|
|
72078
|
-
* Is show button hidden?
|
|
72079
|
-
* @since 0.0.59
|
|
72077
|
+
/**
|
|
72078
|
+
* Is show button hidden?
|
|
72079
|
+
* @since 0.0.59
|
|
72080
72080
|
*/
|
|
72081
72081
|
hideShowButton: _propTypes.default.bool,
|
|
72082
72082
|
|
|
72083
|
-
/**
|
|
72084
|
-
* Is generate button hidden?
|
|
72085
|
-
* @since 0.0.59
|
|
72083
|
+
/**
|
|
72084
|
+
* Is generate button hidden?
|
|
72085
|
+
* @since 0.0.59
|
|
72086
72086
|
*/
|
|
72087
72087
|
hideGenerateButton: _propTypes.default.bool,
|
|
72088
72088
|
|
|
72089
|
-
/**
|
|
72090
|
-
* Is password meter hidden?
|
|
72091
|
-
* @since 0.0.59
|
|
72089
|
+
/**
|
|
72090
|
+
* Is password meter hidden?
|
|
72091
|
+
* @since 0.0.59
|
|
72092
72092
|
*/
|
|
72093
72093
|
hidePasswordMeter: _propTypes.default.bool,
|
|
72094
72094
|
|
|
72095
|
-
/**
|
|
72096
|
-
* Additional props for password meter. . See [Popover](#!/Popover) for more information.
|
|
72097
|
-
* @since 1.5.6
|
|
72095
|
+
/**
|
|
72096
|
+
* Additional props for password meter. . See [Popover](#!/Popover) for more information.
|
|
72097
|
+
* @since 1.5.6
|
|
72098
72098
|
*/
|
|
72099
72099
|
passwordMeterProps: _propTypes.default.object,
|
|
72100
72100
|
|
|
72101
|
-
/**
|
|
72102
|
-
* A set of custom password score rules.
|
|
72103
|
-
* @since 3.21.0
|
|
72101
|
+
/**
|
|
72102
|
+
* A set of custom password score rules.
|
|
72103
|
+
* @since 3.21.0
|
|
72104
72104
|
*/
|
|
72105
72105
|
passwordScoreRules: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
72106
72106
|
name: _propTypes.default.string,
|
|
@@ -72108,37 +72108,37 @@ FormFieldPassword.propTypes = {
|
|
|
72108
72108
|
score: _propTypes.default.func.isRequired
|
|
72109
72109
|
})),
|
|
72110
72110
|
|
|
72111
|
-
/**
|
|
72112
|
-
* Size of the control
|
|
72113
|
-
* @since 1.5.6
|
|
72111
|
+
/**
|
|
72112
|
+
* Size of the control
|
|
72113
|
+
* @since 1.5.6
|
|
72114
72114
|
*/
|
|
72115
72115
|
size: _propTypes.default.oneOf(['md', 'lg', 'xl', 'fill']),
|
|
72116
72116
|
|
|
72117
|
-
/**
|
|
72118
|
-
* The browser will automatically focus on the component upon rendering the screen
|
|
72119
|
-
* @since 1.9.0
|
|
72117
|
+
/**
|
|
72118
|
+
* The browser will automatically focus on the component upon rendering the screen
|
|
72119
|
+
* @since 1.9.0
|
|
72120
72120
|
*/
|
|
72121
72121
|
autoFocus: _propTypes.default.bool,
|
|
72122
72122
|
|
|
72123
|
-
/**
|
|
72124
|
-
* Prevent password autocompletion.
|
|
72125
|
-
* @since 2.5.1
|
|
72123
|
+
/**
|
|
72124
|
+
* Prevent password autocompletion.
|
|
72125
|
+
* @since 2.5.1
|
|
72126
72126
|
*/
|
|
72127
72127
|
autoComplete: _propTypes.default.oneOf(['new-password']),
|
|
72128
72128
|
|
|
72129
|
-
/**
|
|
72130
|
-
* A render function for customizing the password generation button.
|
|
72131
|
-
* @since 3.13.0
|
|
72129
|
+
/**
|
|
72130
|
+
* A render function for customizing the password generation button.
|
|
72131
|
+
* @since 3.13.0
|
|
72132
72132
|
*/
|
|
72133
72133
|
generateButton: _propTypes.default.func,
|
|
72134
72134
|
|
|
72135
|
-
/**
|
|
72136
|
-
* @ignore
|
|
72135
|
+
/**
|
|
72136
|
+
* @ignore
|
|
72137
72137
|
*/
|
|
72138
72138
|
className: _propTypes.default.string,
|
|
72139
72139
|
|
|
72140
|
-
/**
|
|
72141
|
-
* @ignore
|
|
72140
|
+
/**
|
|
72141
|
+
* @ignore
|
|
72142
72142
|
*/
|
|
72143
72143
|
baseClassName: _propTypes.default.string
|
|
72144
72144
|
};
|
|
@@ -72530,9 +72530,10 @@ FormFieldRadioButtons.propTypes = {
|
|
|
72530
72530
|
|
|
72531
72531
|
/**
|
|
72532
72532
|
* Value of current chosen option.
|
|
72533
|
+
* @deprecated Use [Form](#!/Form) values.
|
|
72533
72534
|
* @since 0.2.0
|
|
72534
72535
|
*/
|
|
72535
|
-
value: _propTypes.default.string
|
|
72536
|
+
value: _propTypes.default.string,
|
|
72536
72537
|
|
|
72537
72538
|
/**
|
|
72538
72539
|
* Disabled state of field.
|
|
@@ -72562,6 +72563,7 @@ FormFieldRadioButtons.propTypes = {
|
|
|
72562
72563
|
baseClassName: _propTypes.default.string
|
|
72563
72564
|
};
|
|
72564
72565
|
FormFieldRadioButtons.defaultProps = {
|
|
72566
|
+
value: undefined,
|
|
72565
72567
|
disabled: undefined,
|
|
72566
72568
|
autoFocus: undefined,
|
|
72567
72569
|
multi: undefined,
|
|
@@ -73691,12 +73693,12 @@ const getHref = (name, size) => {
|
|
|
73691
73693
|
return "".concat(_symbols.default, "#").concat(name, ":").concat(iconSize);
|
|
73692
73694
|
};
|
|
73693
73695
|
|
|
73694
|
-
/**
|
|
73695
|
-
* `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
|
|
73696
|
-
* bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
|
|
73697
|
-
* of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
|
|
73698
|
-
* standard sizes.
|
|
73699
|
-
* @since 0.0.35
|
|
73696
|
+
/**
|
|
73697
|
+
* `Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to
|
|
73698
|
+
* bring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part
|
|
73699
|
+
* of a [Button](#!/Button) and helps differentiate this particular [Button](#!/Button) from others. `Icons` come in several
|
|
73700
|
+
* standard sizes.
|
|
73701
|
+
* @since 0.0.35
|
|
73700
73702
|
*/
|
|
73701
73703
|
const Icon = ({
|
|
73702
73704
|
baseClassName = "".concat(_constants.CLS_PREFIX, "icon"),
|
|
@@ -73772,7 +73774,7 @@ exports.NAMES = NAMES;
|
|
|
73772
73774
|
/*! no static exports found */
|
|
73773
73775
|
/***/ (function(module, exports, __webpack_require__) {
|
|
73774
73776
|
|
|
73775
|
-
module.exports = __webpack_require__.p + "images/symbols.svg?
|
|
73777
|
+
module.exports = __webpack_require__.p + "images/symbols.svg?3809cf4d9f2b04083975958d91cf049c";
|
|
73776
73778
|
|
|
73777
73779
|
/***/ }),
|
|
73778
73780
|
|
|
@@ -74618,9 +74620,9 @@ const toNumber = value => {
|
|
|
74618
74620
|
const isMinDisabled = (value, min) => min !== undefined && value !== '' && value <= min;
|
|
74619
74621
|
|
|
74620
74622
|
const isMaxDisabled = (value, max) => max !== undefined && value !== '' && value >= max;
|
|
74621
|
-
/**
|
|
74622
|
-
* `InputNumber` component is used for entering integer numbers.
|
|
74623
|
-
* @since 2.2.0
|
|
74623
|
+
/**
|
|
74624
|
+
* `InputNumber` component is used for entering integer numbers.
|
|
74625
|
+
* @since 2.2.0
|
|
74624
74626
|
*/
|
|
74625
74627
|
|
|
74626
74628
|
|
|
@@ -74834,10 +74836,10 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
74834
74836
|
|
|
74835
74837
|
const VIEW_SIMPLE = 'simple';
|
|
74836
74838
|
const VIEW_CARD = 'card';
|
|
74837
|
-
/**
|
|
74838
|
-
* `Item` component is element of [ItemList](#!/ItemList) and it is presented as
|
|
74839
|
-
* a combination of icon, text title and content (similar to [Media](#!/Media)).
|
|
74840
|
-
* @since 0.0.48
|
|
74839
|
+
/**
|
|
74840
|
+
* `Item` component is element of [ItemList](#!/ItemList) and it is presented as
|
|
74841
|
+
* a combination of icon, text title and content (similar to [Media](#!/Media)).
|
|
74842
|
+
* @since 0.0.48
|
|
74841
74843
|
*/
|
|
74842
74844
|
|
|
74843
74845
|
class Item extends _react.Component {
|
|
@@ -74952,73 +74954,73 @@ class Item extends _react.Component {
|
|
|
74952
74954
|
}
|
|
74953
74955
|
|
|
74954
74956
|
Item.propTypes = {
|
|
74955
|
-
/**
|
|
74956
|
-
* Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.
|
|
74957
|
-
* @since 0.0.48
|
|
74957
|
+
/**
|
|
74958
|
+
* Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.
|
|
74959
|
+
* @since 0.0.48
|
|
74958
74960
|
*/
|
|
74959
74961
|
component: _propTypes.default.elementType,
|
|
74960
74962
|
|
|
74961
|
-
/**
|
|
74962
|
-
* View mode.
|
|
74963
|
-
* @since 2.1.0
|
|
74963
|
+
/**
|
|
74964
|
+
* View mode.
|
|
74965
|
+
* @since 2.1.0
|
|
74964
74966
|
*/
|
|
74965
74967
|
view: _propTypes.default.oneOf([VIEW_SIMPLE, VIEW_CARD]),
|
|
74966
74968
|
|
|
74967
|
-
/**
|
|
74968
|
-
* Icon.
|
|
74969
|
-
* @since 0.0.48
|
|
74969
|
+
/**
|
|
74970
|
+
* Icon.
|
|
74971
|
+
* @since 0.0.48
|
|
74970
74972
|
*/
|
|
74971
74973
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
74972
74974
|
|
|
74973
|
-
/**
|
|
74974
|
-
* Title.
|
|
74975
|
-
* @since 0.0.48
|
|
74975
|
+
/**
|
|
74976
|
+
* Title.
|
|
74977
|
+
* @since 0.0.48
|
|
74976
74978
|
*/
|
|
74977
74979
|
title: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
74978
74980
|
|
|
74979
|
-
/**
|
|
74980
|
-
* Content for footer.
|
|
74981
|
-
* @since 2.1.0
|
|
74981
|
+
/**
|
|
74982
|
+
* Content for footer.
|
|
74983
|
+
* @since 2.1.0
|
|
74982
74984
|
*/
|
|
74983
74985
|
footer: _propTypes.default.node,
|
|
74984
74986
|
|
|
74985
|
-
/**
|
|
74986
|
-
* Description. Renders as small grey text.
|
|
74987
|
-
* @since 2.1.0
|
|
74987
|
+
/**
|
|
74988
|
+
* Description. Renders as small grey text.
|
|
74989
|
+
* @since 2.1.0
|
|
74988
74990
|
*/
|
|
74989
74991
|
description: _propTypes.default.node,
|
|
74990
74992
|
|
|
74991
|
-
/**
|
|
74992
|
-
* Content of the `Item`.
|
|
74993
|
-
* @since 0.0.48
|
|
74993
|
+
/**
|
|
74994
|
+
* Content of the `Item`.
|
|
74995
|
+
* @since 0.0.48
|
|
74994
74996
|
*/
|
|
74995
74997
|
children: _propTypes.default.node,
|
|
74996
74998
|
|
|
74997
|
-
/**
|
|
74998
|
-
* An unique value. It needs only in ItemList with selectable view.
|
|
74999
|
-
* @since 2.3.0
|
|
74999
|
+
/**
|
|
75000
|
+
* An unique value. It needs only in ItemList with selectable view.
|
|
75001
|
+
* @since 2.3.0
|
|
75000
75002
|
*/
|
|
75001
75003
|
value: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
75002
75004
|
|
|
75003
|
-
/**
|
|
75004
|
-
* Tooltip for component.
|
|
75005
|
-
* @since 2.5.1
|
|
75005
|
+
/**
|
|
75006
|
+
* Tooltip for component.
|
|
75007
|
+
* @since 2.5.1
|
|
75006
75008
|
*/
|
|
75007
75009
|
tooltip: _propTypes.default.node,
|
|
75008
75010
|
|
|
75009
|
-
/**
|
|
75010
|
-
* @ignore
|
|
75011
|
+
/**
|
|
75012
|
+
* @ignore
|
|
75011
75013
|
*/
|
|
75012
75014
|
className: _propTypes.default.string,
|
|
75013
75015
|
|
|
75014
|
-
/**
|
|
75015
|
-
* @ignore
|
|
75016
|
+
/**
|
|
75017
|
+
* @ignore
|
|
75016
75018
|
*/
|
|
75017
75019
|
baseClassName: _propTypes.default.string,
|
|
75018
75020
|
|
|
75019
|
-
/**
|
|
75020
|
-
* Whether disabled or not.
|
|
75021
|
-
* @since 3.15.0
|
|
75021
|
+
/**
|
|
75022
|
+
* Whether disabled or not.
|
|
75023
|
+
* @since 3.15.0
|
|
75022
75024
|
*/
|
|
75023
75025
|
disabled: _propTypes.default.bool
|
|
75024
75026
|
};
|
|
@@ -75259,10 +75261,10 @@ const getNextSelectedValue = (value, prevValue, toggleable) => {
|
|
|
75259
75261
|
return value;
|
|
75260
75262
|
};
|
|
75261
75263
|
|
|
75262
|
-
/**
|
|
75263
|
-
* `ItemList` component is used for displaying list of [Items](#!/Item)
|
|
75264
|
-
* according to [Grid](#!/Grid) principle.
|
|
75265
|
-
* @since 0.0.48
|
|
75264
|
+
/**
|
|
75265
|
+
* `ItemList` component is used for displaying list of [Items](#!/Item)
|
|
75266
|
+
* according to [Grid](#!/Grid) principle.
|
|
75267
|
+
* @since 0.0.48
|
|
75266
75268
|
*/
|
|
75267
75269
|
class ItemList extends _react.Component {
|
|
75268
75270
|
constructor(_props) {
|
|
@@ -75757,104 +75759,104 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
75757
75759
|
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; }
|
|
75758
75760
|
|
|
75759
75761
|
const propTypes = {
|
|
75760
|
-
/**
|
|
75761
|
-
* Type of the `Layout`
|
|
75762
|
-
* @since 1.4.0
|
|
75762
|
+
/**
|
|
75763
|
+
* Type of the `Layout`
|
|
75764
|
+
* @since 1.4.0
|
|
75763
75765
|
*/
|
|
75764
75766
|
type: _propTypes.default.oneOf(['fluid', 'simplified']),
|
|
75765
75767
|
|
|
75766
|
-
/**
|
|
75767
|
-
* Header content.
|
|
75768
|
-
* @since 1.4.0
|
|
75768
|
+
/**
|
|
75769
|
+
* Header content.
|
|
75770
|
+
* @since 1.4.0
|
|
75769
75771
|
*/
|
|
75770
75772
|
header: _propTypes.default.node,
|
|
75771
75773
|
|
|
75772
|
-
/**
|
|
75773
|
-
* Define header position - always on top (fixed) or static.
|
|
75774
|
-
* @since 1.4.0
|
|
75774
|
+
/**
|
|
75775
|
+
* Define header position - always on top (fixed) or static.
|
|
75776
|
+
* @since 1.4.0
|
|
75775
75777
|
*/
|
|
75776
75778
|
headerFixed: _propTypes.default.bool,
|
|
75777
75779
|
|
|
75778
|
-
/**
|
|
75779
|
-
* Additional content at the top of the header.
|
|
75780
|
-
* @since 3.2.0
|
|
75780
|
+
/**
|
|
75781
|
+
* Additional content at the top of the header.
|
|
75782
|
+
* @since 3.2.0
|
|
75781
75783
|
*/
|
|
75782
75784
|
headerAddon: _propTypes.default.node,
|
|
75783
75785
|
|
|
75784
|
-
/**
|
|
75785
|
-
* Sidebar content.
|
|
75786
|
-
* @since 1.4.0
|
|
75786
|
+
/**
|
|
75787
|
+
* Sidebar content.
|
|
75788
|
+
* @since 1.4.0
|
|
75787
75789
|
*/
|
|
75788
75790
|
sidebar: _propTypes.default.node,
|
|
75789
75791
|
|
|
75790
|
-
/**
|
|
75791
|
-
* Sidebar type.
|
|
75792
|
-
* @since 3.2.0
|
|
75792
|
+
/**
|
|
75793
|
+
* Sidebar type.
|
|
75794
|
+
* @since 3.2.0
|
|
75793
75795
|
*/
|
|
75794
75796
|
sidebarType: _propTypes.default.oneOf(['collapsed', 'folded']),
|
|
75795
75797
|
|
|
75796
|
-
/**
|
|
75797
|
-
* Define if sidebar can collapse.
|
|
75798
|
-
* @since 1.4.0
|
|
75798
|
+
/**
|
|
75799
|
+
* Define if sidebar can collapse.
|
|
75800
|
+
* @since 1.4.0
|
|
75799
75801
|
*/
|
|
75800
75802
|
sidebarCollapsible: _propTypes.default.bool,
|
|
75801
75803
|
|
|
75802
|
-
/**
|
|
75803
|
-
* Sidebar collapsed state.
|
|
75804
|
-
* 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']`.
|
|
75805
|
-
*
|
|
75806
|
-
* @since 1.4.0
|
|
75804
|
+
/**
|
|
75805
|
+
* Sidebar collapsed state.
|
|
75806
|
+
* 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']`.
|
|
75807
|
+
*
|
|
75808
|
+
* @since 1.4.0
|
|
75807
75809
|
*/
|
|
75808
75810
|
sidebarCollapsed: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.array]),
|
|
75809
75811
|
|
|
75810
|
-
/**
|
|
75811
|
-
* Additional content between header and main content.
|
|
75812
|
-
* @since 1.4.0
|
|
75812
|
+
/**
|
|
75813
|
+
* Additional content between header and main content.
|
|
75814
|
+
* @since 1.4.0
|
|
75813
75815
|
*/
|
|
75814
75816
|
contentAddon: _propTypes.default.node,
|
|
75815
75817
|
|
|
75816
|
-
/**
|
|
75817
|
-
* Content header.
|
|
75818
|
-
* @since 3.0.0
|
|
75818
|
+
/**
|
|
75819
|
+
* Content header.
|
|
75820
|
+
* @since 3.0.0
|
|
75819
75821
|
*/
|
|
75820
75822
|
contentHeader: _propTypes.default.node,
|
|
75821
75823
|
|
|
75822
|
-
/**
|
|
75823
|
-
* Footer content.
|
|
75824
|
-
* @since 1.4.0
|
|
75824
|
+
/**
|
|
75825
|
+
* Footer content.
|
|
75826
|
+
* @since 1.4.0
|
|
75825
75827
|
*/
|
|
75826
75828
|
footer: _propTypes.default.node,
|
|
75827
75829
|
|
|
75828
|
-
/**
|
|
75829
|
-
* Main content of the `Layout`.
|
|
75830
|
-
* @since 1.4.0
|
|
75830
|
+
/**
|
|
75831
|
+
* Main content of the `Layout`.
|
|
75832
|
+
* @since 1.4.0
|
|
75831
75833
|
*/
|
|
75832
75834
|
children: _propTypes.default.node,
|
|
75833
75835
|
|
|
75834
|
-
/**
|
|
75835
|
-
* Width of the content
|
|
75836
|
-
* @since 3.0.0
|
|
75836
|
+
/**
|
|
75837
|
+
* Width of the content
|
|
75838
|
+
* @since 3.0.0
|
|
75837
75839
|
*/
|
|
75838
75840
|
width: _propTypes.default.oneOf(['sm', 'md', 'lg']),
|
|
75839
75841
|
|
|
75840
|
-
/**
|
|
75841
|
-
* Sidebar onToggle handler.
|
|
75842
|
-
* The handler is called with two args:
|
|
75843
|
-
*
|
|
75844
|
-
* * Whether collapsed or not.
|
|
75845
|
-
* * In which mode: responsive or desktop.
|
|
75846
|
-
*
|
|
75847
|
-
* @since 1.4.0
|
|
75842
|
+
/**
|
|
75843
|
+
* Sidebar onToggle handler.
|
|
75844
|
+
* The handler is called with two args:
|
|
75845
|
+
*
|
|
75846
|
+
* * Whether collapsed or not.
|
|
75847
|
+
* * In which mode: responsive or desktop.
|
|
75848
|
+
*
|
|
75849
|
+
* @since 1.4.0
|
|
75848
75850
|
*/
|
|
75849
75851
|
onSidebarToggle: _propTypes.default.func,
|
|
75850
75852
|
|
|
75851
|
-
/**
|
|
75852
|
-
* @ignore
|
|
75853
|
+
/**
|
|
75854
|
+
* @ignore
|
|
75853
75855
|
*/
|
|
75854
75856
|
className: _propTypes.default.string,
|
|
75855
75857
|
|
|
75856
|
-
/**
|
|
75857
|
-
* @ignore
|
|
75858
|
+
/**
|
|
75859
|
+
* @ignore
|
|
75858
75860
|
*/
|
|
75859
75861
|
baseClassName: _propTypes.default.string
|
|
75860
75862
|
};
|
|
@@ -75904,8 +75906,8 @@ const subscribeClickOutside = (refs, handler) => {
|
|
|
75904
75906
|
document.removeEventListener('touchstart', listener);
|
|
75905
75907
|
};
|
|
75906
75908
|
};
|
|
75907
|
-
/**
|
|
75908
|
-
* @since 1.4.0
|
|
75909
|
+
/**
|
|
75910
|
+
* @since 1.4.0
|
|
75909
75911
|
*/
|
|
75910
75912
|
|
|
75911
75913
|
|
|
@@ -76630,10 +76632,10 @@ const getHumanTotalRows = ({
|
|
|
76630
76632
|
return null;
|
|
76631
76633
|
}
|
|
76632
76634
|
};
|
|
76633
|
-
/**
|
|
76634
|
-
* `List` component is used for displaying a collection of tabular data.
|
|
76635
|
-
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
76636
|
-
* @since 0.0.42
|
|
76635
|
+
/**
|
|
76636
|
+
* `List` component is used for displaying a collection of tabular data.
|
|
76637
|
+
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
76638
|
+
* @since 0.0.42
|
|
76637
76639
|
*/
|
|
76638
76640
|
|
|
76639
76641
|
|
|
@@ -77822,214 +77824,214 @@ class List extends _react.Component {
|
|
|
77822
77824
|
}
|
|
77823
77825
|
|
|
77824
77826
|
List.propTypes = {
|
|
77825
|
-
/**
|
|
77826
|
-
* Columns definition.
|
|
77827
|
-
*
|
|
77828
|
-
* In addition to the properties described below, you can use any native properties
|
|
77829
|
-
* supported by the `TH` element like `className`, `style`, etc.
|
|
77830
|
-
* @since 0.0.42
|
|
77827
|
+
/**
|
|
77828
|
+
* Columns definition.
|
|
77829
|
+
*
|
|
77830
|
+
* In addition to the properties described below, you can use any native properties
|
|
77831
|
+
* supported by the `TH` element like `className`, `style`, etc.
|
|
77832
|
+
* @since 0.0.42
|
|
77831
77833
|
*/
|
|
77832
77834
|
columns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
77833
|
-
/**
|
|
77834
|
-
* Unique column key.
|
|
77835
|
+
/**
|
|
77836
|
+
* Unique column key.
|
|
77835
77837
|
*/
|
|
77836
77838
|
key: _propTypes.default.string.isRequired,
|
|
77837
77839
|
|
|
77838
|
-
/**
|
|
77839
|
-
* Column title.
|
|
77840
|
+
/**
|
|
77841
|
+
* Column title.
|
|
77840
77842
|
*/
|
|
77841
77843
|
title: _propTypes.default.node,
|
|
77842
77844
|
|
|
77843
|
-
/**
|
|
77844
|
-
* Optional cell renderer function: `row => Component`. By default render value of cell.
|
|
77845
|
-
* The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
|
|
77845
|
+
/**
|
|
77846
|
+
* Optional cell renderer function: `row => Component`. By default render value of cell.
|
|
77847
|
+
* The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
|
|
77846
77848
|
*/
|
|
77847
77849
|
render: _propTypes.default.func,
|
|
77848
77850
|
|
|
77849
|
-
/**
|
|
77850
|
-
* Is column sortable.
|
|
77851
|
-
* Default is `false`
|
|
77851
|
+
/**
|
|
77852
|
+
* Is column sortable.
|
|
77853
|
+
* Default is `false`
|
|
77852
77854
|
*/
|
|
77853
77855
|
sortable: _propTypes.default.bool,
|
|
77854
77856
|
|
|
77855
|
-
/**
|
|
77856
|
-
* Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
|
|
77857
|
+
/**
|
|
77858
|
+
* Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
|
|
77857
77859
|
*/
|
|
77858
77860
|
sort: _propTypes.default.func,
|
|
77859
77861
|
|
|
77860
|
-
/**
|
|
77861
|
-
* Column alignment.
|
|
77862
|
+
/**
|
|
77863
|
+
* Column alignment.
|
|
77862
77864
|
*/
|
|
77863
77865
|
align: _propTypes.default.oneOf(['left', 'center', 'right']),
|
|
77864
77866
|
|
|
77865
|
-
/**
|
|
77866
|
-
* Truncate the text in cell with an ellipsis.
|
|
77867
|
+
/**
|
|
77868
|
+
* Truncate the text in cell with an ellipsis.
|
|
77867
77869
|
*/
|
|
77868
77870
|
truncate: _propTypes.default.bool,
|
|
77869
77871
|
|
|
77870
|
-
/**
|
|
77871
|
-
* Determine type of column content.
|
|
77872
|
-
*
|
|
77873
|
-
* * title - There should a title of the row.
|
|
77874
|
-
* * controls - There should be some control: a button or a dropdown.
|
|
77875
|
-
* * actions - There should be the ListAction component.
|
|
77872
|
+
/**
|
|
77873
|
+
* Determine type of column content.
|
|
77874
|
+
*
|
|
77875
|
+
* * title - There should a title of the row.
|
|
77876
|
+
* * controls - There should be some control: a button or a dropdown.
|
|
77877
|
+
* * actions - There should be the ListAction component.
|
|
77876
77878
|
*/
|
|
77877
77879
|
type: _propTypes.default.oneOf(['title', 'controls', 'actions'])
|
|
77878
77880
|
})).isRequired,
|
|
77879
77881
|
|
|
77880
|
-
/**
|
|
77881
|
-
* Array of row objects.
|
|
77882
|
-
*
|
|
77883
|
-
* Each row must contains `key` property, all columns keys, and can contain `disabled` property.
|
|
77884
|
-
* @since 0.0.42
|
|
77882
|
+
/**
|
|
77883
|
+
* Array of row objects.
|
|
77884
|
+
*
|
|
77885
|
+
* Each row must contains `key` property, all columns keys, and can contain `disabled` property.
|
|
77886
|
+
* @since 0.0.42
|
|
77885
77887
|
*/
|
|
77886
77888
|
data: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
77887
|
-
/**
|
|
77888
|
-
* Unique column key. This property can by renamed using `rowKey` property of List.
|
|
77889
|
+
/**
|
|
77890
|
+
* Unique column key. This property can by renamed using `rowKey` property of List.
|
|
77889
77891
|
*/
|
|
77890
77892
|
key: _propTypes.default.string,
|
|
77891
77893
|
|
|
77892
|
-
/**
|
|
77893
|
-
* Optional property for disabling ability to select this row.
|
|
77894
|
+
/**
|
|
77895
|
+
* Optional property for disabling ability to select this row.
|
|
77894
77896
|
*/
|
|
77895
77897
|
disabled: _propTypes.default.bool,
|
|
77896
77898
|
|
|
77897
|
-
/**
|
|
77898
|
-
* Optional array of children rows.
|
|
77899
|
+
/**
|
|
77900
|
+
* Optional array of children rows.
|
|
77899
77901
|
*/
|
|
77900
77902
|
data: _propTypes.default.array
|
|
77901
77903
|
})),
|
|
77902
77904
|
|
|
77903
|
-
/**
|
|
77904
|
-
* Current sort column key
|
|
77905
|
-
* @since 0.0.42
|
|
77905
|
+
/**
|
|
77906
|
+
* Current sort column key
|
|
77907
|
+
* @since 0.0.42
|
|
77906
77908
|
*/
|
|
77907
77909
|
sortColumn: _propTypes.default.string,
|
|
77908
77910
|
|
|
77909
|
-
/**
|
|
77910
|
-
* Sort direction of the column being sorted.
|
|
77911
|
-
* @since 0.0.42
|
|
77911
|
+
/**
|
|
77912
|
+
* Sort direction of the column being sorted.
|
|
77913
|
+
* @since 0.0.42
|
|
77912
77914
|
*/
|
|
77913
77915
|
sortDirection: _propTypes.default.oneOf(['ASC', 'DESC']),
|
|
77914
77916
|
|
|
77915
|
-
/**
|
|
77916
|
-
* Sort change handler
|
|
77917
|
-
* @since 0.0.42
|
|
77917
|
+
/**
|
|
77918
|
+
* Sort change handler
|
|
77919
|
+
* @since 0.0.42
|
|
77918
77920
|
*/
|
|
77919
77921
|
onSortChange: _propTypes.default.func,
|
|
77920
77922
|
|
|
77921
|
-
/**
|
|
77922
|
-
* Array of keys of selected rows
|
|
77923
|
-
* @since 0.0.42
|
|
77923
|
+
/**
|
|
77924
|
+
* Array of keys of selected rows
|
|
77925
|
+
* @since 0.0.42
|
|
77924
77926
|
*/
|
|
77925
77927
|
selection: _propTypes.default.array,
|
|
77926
77928
|
|
|
77927
|
-
/**
|
|
77928
|
-
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
77929
|
-
* @since 0.0.42
|
|
77929
|
+
/**
|
|
77930
|
+
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
77931
|
+
* @since 0.0.42
|
|
77930
77932
|
*/
|
|
77931
77933
|
onSelectionChange: _propTypes.default.func,
|
|
77932
77934
|
|
|
77933
|
-
/**
|
|
77934
|
-
* Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
|
|
77935
|
-
* @since 3.19.0
|
|
77935
|
+
/**
|
|
77936
|
+
* Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
|
|
77937
|
+
* @since 3.19.0
|
|
77936
77938
|
*/
|
|
77937
77939
|
renderSelectionCheckbox: _propTypes.default.func,
|
|
77938
77940
|
|
|
77939
|
-
/**
|
|
77940
|
-
* Row's key getter. Could be a string or function like: `row => <unique_string>`
|
|
77941
|
-
* @since 0.0.45
|
|
77941
|
+
/**
|
|
77942
|
+
* Row's key getter. Could be a string or function like: `row => <unique_string>`
|
|
77943
|
+
* @since 0.0.45
|
|
77942
77944
|
*/
|
|
77943
77945
|
rowKey: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
|
|
77944
77946
|
|
|
77945
|
-
/**
|
|
77946
|
-
* Renderer for a row body. Should return ReactNode.
|
|
77947
|
-
* @since 1.12.0
|
|
77947
|
+
/**
|
|
77948
|
+
* Renderer for a row body. Should return ReactNode.
|
|
77949
|
+
* @since 1.12.0
|
|
77948
77950
|
*/
|
|
77949
77951
|
renderRowBody: _propTypes.default.func,
|
|
77950
77952
|
|
|
77951
|
-
/**
|
|
77952
|
-
* Array of keys of expanded rows
|
|
77953
|
-
* @since 1.12.0
|
|
77953
|
+
/**
|
|
77954
|
+
* Array of keys of expanded rows
|
|
77955
|
+
* @since 1.12.0
|
|
77954
77956
|
*/
|
|
77955
77957
|
expandedRows: _propTypes.default.array,
|
|
77956
77958
|
|
|
77957
|
-
/**
|
|
77958
|
-
* Array of keys of rows which not have expand indicator
|
|
77959
|
-
* @since 1.12.0
|
|
77959
|
+
/**
|
|
77960
|
+
* Array of keys of rows which not have expand indicator
|
|
77961
|
+
* @since 1.12.0
|
|
77960
77962
|
*/
|
|
77961
77963
|
notExpandableRows: _propTypes.default.array,
|
|
77962
77964
|
|
|
77963
|
-
/**
|
|
77964
|
-
* Rows expanding change handler.
|
|
77965
|
-
* @since 1.12.0
|
|
77965
|
+
/**
|
|
77966
|
+
* Rows expanding change handler.
|
|
77967
|
+
* @since 1.12.0
|
|
77966
77968
|
*/
|
|
77967
77969
|
onExpandedRowsChange: _propTypes.default.func,
|
|
77968
77970
|
|
|
77969
|
-
/**
|
|
77970
|
-
* Array of keys of loading rows. They are displayed instead of checkboxes.
|
|
77971
|
-
* @since 2.5.0
|
|
77971
|
+
/**
|
|
77972
|
+
* Array of keys of loading rows. They are displayed instead of checkboxes.
|
|
77973
|
+
* @since 2.5.0
|
|
77972
77974
|
*/
|
|
77973
77975
|
loadingRows: _propTypes.default.array,
|
|
77974
77976
|
|
|
77975
|
-
/**
|
|
77976
|
-
* A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
|
|
77977
|
-
* @since 2.4.0
|
|
77977
|
+
/**
|
|
77978
|
+
* A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
|
|
77979
|
+
* @since 2.4.0
|
|
77978
77980
|
*/
|
|
77979
77981
|
pagination: _propTypes.default.node,
|
|
77980
77982
|
|
|
77981
|
-
/**
|
|
77982
|
-
* Total rows count, including nested rows. Usually, it uses together with pagination.
|
|
77983
|
-
* @since 2.4.0
|
|
77983
|
+
/**
|
|
77984
|
+
* Total rows count, including nested rows. Usually, it uses together with pagination.
|
|
77985
|
+
* @since 2.4.0
|
|
77984
77986
|
*/
|
|
77985
77987
|
totalRows: _propTypes.default.number,
|
|
77986
77988
|
|
|
77987
|
-
/**
|
|
77988
|
-
* A `Toolbar` element.
|
|
77989
|
-
* @since 2.4.0
|
|
77989
|
+
/**
|
|
77990
|
+
* A `Toolbar` element.
|
|
77991
|
+
* @since 2.4.0
|
|
77990
77992
|
*/
|
|
77991
77993
|
toolbar: _propTypes.default.node,
|
|
77992
77994
|
|
|
77993
|
-
/**
|
|
77994
|
-
* A flag that all rows are selected.
|
|
77995
|
-
* @since 2.4.0
|
|
77995
|
+
/**
|
|
77996
|
+
* A flag that all rows are selected.
|
|
77997
|
+
* @since 2.4.0
|
|
77996
77998
|
*/
|
|
77997
77999
|
allRowsSelected: _propTypes.default.bool,
|
|
77998
78000
|
|
|
77999
|
-
/**
|
|
78000
|
-
* A callback executed when the allRowsSelected prop is changed.
|
|
78001
|
-
* @since 2.4.0
|
|
78001
|
+
/**
|
|
78002
|
+
* A callback executed when the allRowsSelected prop is changed.
|
|
78003
|
+
* @since 2.4.0
|
|
78002
78004
|
*/
|
|
78003
78005
|
onAllRowsSelectedChange: _propTypes.default.func,
|
|
78004
78006
|
|
|
78005
|
-
/**
|
|
78006
|
-
* Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
|
|
78007
|
-
* @since 3.0.1
|
|
78007
|
+
/**
|
|
78008
|
+
* Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
|
|
78009
|
+
* @since 3.0.1
|
|
78008
78010
|
*/
|
|
78009
78011
|
filtered: _propTypes.default.bool,
|
|
78010
78012
|
|
|
78011
|
-
/**
|
|
78012
|
-
* A custom view for the case when data is absent.
|
|
78013
|
-
* @since 2.5.0
|
|
78013
|
+
/**
|
|
78014
|
+
* A custom view for the case when data is absent.
|
|
78015
|
+
* @since 2.5.0
|
|
78014
78016
|
*/
|
|
78015
78017
|
emptyView: _propTypes.default.node,
|
|
78016
78018
|
|
|
78017
|
-
/**
|
|
78018
|
-
* Which part of the List component should be replaced by the empty view.
|
|
78019
|
-
* @since 2.6.0
|
|
78020
|
-
* @deprecated Use `filtered` instead.
|
|
78019
|
+
/**
|
|
78020
|
+
* Which part of the List component should be replaced by the empty view.
|
|
78021
|
+
* @since 2.6.0
|
|
78022
|
+
* @deprecated Use `filtered` instead.
|
|
78021
78023
|
*/
|
|
78022
78024
|
emptyViewMode: _propTypes.default.oneOf(['all', 'items']),
|
|
78023
78025
|
|
|
78024
|
-
/**
|
|
78025
|
-
* A slot on the right of the items.
|
|
78026
|
-
* @since 2.6.0
|
|
78026
|
+
/**
|
|
78027
|
+
* A slot on the right of the items.
|
|
78028
|
+
* @since 2.6.0
|
|
78027
78029
|
*/
|
|
78028
78030
|
sidebar: _propTypes.default.node,
|
|
78029
78031
|
|
|
78030
|
-
/**
|
|
78031
|
-
* Custom localization messages.
|
|
78032
|
-
* @since 2.6.0
|
|
78032
|
+
/**
|
|
78033
|
+
* Custom localization messages.
|
|
78034
|
+
* @since 2.6.0
|
|
78033
78035
|
*/
|
|
78034
78036
|
locale: _propTypes.default.shape({
|
|
78035
78037
|
selectAll: _propTypes.default.node,
|
|
@@ -78039,49 +78041,49 @@ List.propTypes = {
|
|
|
78039
78041
|
selectedRows: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])
|
|
78040
78042
|
}),
|
|
78041
78043
|
|
|
78042
|
-
/**
|
|
78043
|
-
* Render List row's content vertically.
|
|
78044
|
-
* When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
|
|
78045
|
-
* @since 3.3.0
|
|
78044
|
+
/**
|
|
78045
|
+
* Render List row's content vertically.
|
|
78046
|
+
* When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
|
|
78047
|
+
* @since 3.3.0
|
|
78046
78048
|
*/
|
|
78047
78049
|
vertical: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.number]),
|
|
78048
78050
|
|
|
78049
|
-
/**
|
|
78050
|
-
* Indicate the loading state of the list.
|
|
78051
|
-
* @since 3.3.1
|
|
78051
|
+
/**
|
|
78052
|
+
* Indicate the loading state of the list.
|
|
78053
|
+
* @since 3.3.1
|
|
78052
78054
|
*/
|
|
78053
78055
|
loading: _propTypes.default.bool,
|
|
78054
78056
|
|
|
78055
|
-
/**
|
|
78056
|
-
* Apply some props to each row.
|
|
78057
|
-
*
|
|
78058
|
-
* `virtual` - Virtual row does not have any controls.
|
|
78059
|
-
*
|
|
78060
|
-
* @since 3.11.0
|
|
78057
|
+
/**
|
|
78058
|
+
* Apply some props to each row.
|
|
78059
|
+
*
|
|
78060
|
+
* `virtual` - Virtual row does not have any controls.
|
|
78061
|
+
*
|
|
78062
|
+
* @since 3.11.0
|
|
78061
78063
|
*/
|
|
78062
78064
|
rowProps: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
78063
78065
|
virtual: _propTypes.default.bool
|
|
78064
78066
|
}), _propTypes.default.func]),
|
|
78065
78067
|
|
|
78066
|
-
/**
|
|
78067
|
-
* Enable reorderable view.
|
|
78068
|
-
* @since 3.18.0
|
|
78068
|
+
/**
|
|
78069
|
+
* Enable reorderable view.
|
|
78070
|
+
* @since 3.18.0
|
|
78069
78071
|
*/
|
|
78070
78072
|
reorderable: _propTypes.default.bool,
|
|
78071
78073
|
|
|
78072
|
-
/**
|
|
78073
|
-
* Reorder end handler.
|
|
78074
|
-
* @since 3.18.0
|
|
78074
|
+
/**
|
|
78075
|
+
* Reorder end handler.
|
|
78076
|
+
* @since 3.18.0
|
|
78075
78077
|
*/
|
|
78076
78078
|
onReorderEnd: _propTypes.default.func,
|
|
78077
78079
|
|
|
78078
|
-
/**
|
|
78079
|
-
* @ignore
|
|
78080
|
+
/**
|
|
78081
|
+
* @ignore
|
|
78080
78082
|
*/
|
|
78081
78083
|
className: _propTypes.default.string,
|
|
78082
78084
|
|
|
78083
|
-
/**
|
|
78084
|
-
* @ignore
|
|
78085
|
+
/**
|
|
78086
|
+
* @ignore
|
|
78085
78087
|
*/
|
|
78086
78088
|
baseClassName: _propTypes.default.string
|
|
78087
78089
|
};
|
|
@@ -79696,9 +79698,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
79696
79698
|
|
|
79697
79699
|
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); }
|
|
79698
79700
|
|
|
79699
|
-
/**
|
|
79700
|
-
* `MenuBaseItem` component.
|
|
79701
|
-
* @since 0.0.60
|
|
79701
|
+
/**
|
|
79702
|
+
* `MenuBaseItem` component.
|
|
79703
|
+
* @since 0.0.60
|
|
79702
79704
|
*/
|
|
79703
79705
|
const MenuBaseItem = ({
|
|
79704
79706
|
baseClassName,
|
|
@@ -79721,37 +79723,37 @@ const MenuBaseItem = ({
|
|
|
79721
79723
|
}, label));
|
|
79722
79724
|
|
|
79723
79725
|
MenuBaseItem.propTypes = {
|
|
79724
|
-
/**
|
|
79725
|
-
* Icon
|
|
79726
|
-
* @since 0.0.60
|
|
79726
|
+
/**
|
|
79727
|
+
* Icon
|
|
79728
|
+
* @since 0.0.60
|
|
79727
79729
|
*/
|
|
79728
79730
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
79729
79731
|
|
|
79730
|
-
/**
|
|
79731
|
-
* Right label of item.
|
|
79732
|
-
* @since 0.0.60
|
|
79732
|
+
/**
|
|
79733
|
+
* Right label of item.
|
|
79734
|
+
* @since 0.0.60
|
|
79733
79735
|
*/
|
|
79734
79736
|
label: _propTypes.default.node,
|
|
79735
79737
|
|
|
79736
|
-
/**
|
|
79737
|
-
* Content of the `MenuBaseItem`.
|
|
79738
|
-
* @since 0.0.60
|
|
79738
|
+
/**
|
|
79739
|
+
* Content of the `MenuBaseItem`.
|
|
79740
|
+
* @since 0.0.60
|
|
79739
79741
|
*/
|
|
79740
79742
|
children: _propTypes.default.node,
|
|
79741
79743
|
|
|
79742
|
-
/**
|
|
79743
|
-
* @ignore
|
|
79744
|
+
/**
|
|
79745
|
+
* @ignore
|
|
79744
79746
|
*/
|
|
79745
79747
|
className: _propTypes.default.string,
|
|
79746
79748
|
|
|
79747
|
-
/**
|
|
79748
|
-
* @ignore
|
|
79749
|
+
/**
|
|
79750
|
+
* @ignore
|
|
79749
79751
|
*/
|
|
79750
79752
|
baseClassName: _propTypes.default.string,
|
|
79751
79753
|
|
|
79752
|
-
/**
|
|
79753
|
-
* Component to render as the root element. Useful when rendering a `MenuBaseItem` as other component or tag.
|
|
79754
|
-
* @since 1.9.1
|
|
79754
|
+
/**
|
|
79755
|
+
* Component to render as the root element. Useful when rendering a `MenuBaseItem` as other component or tag.
|
|
79756
|
+
* @since 1.9.1
|
|
79755
79757
|
*/
|
|
79756
79758
|
component: _propTypes.default.elementType
|
|
79757
79759
|
};
|
|
@@ -80458,12 +80460,12 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
80458
80460
|
|
|
80459
80461
|
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; }
|
|
80460
80462
|
|
|
80461
|
-
/**
|
|
80462
|
-
* `Overlay` component.
|
|
80463
|
+
/**
|
|
80464
|
+
* `Overlay` component.
|
|
80463
80465
|
*/
|
|
80464
80466
|
const overlays = [];
|
|
80465
|
-
/**
|
|
80466
|
-
* @since 0.0.65
|
|
80467
|
+
/**
|
|
80468
|
+
* @since 0.0.65
|
|
80467
80469
|
*/
|
|
80468
80470
|
|
|
80469
80471
|
class Overlay extends _react.Component {
|
|
@@ -80702,75 +80704,75 @@ class Overlay extends _react.Component {
|
|
|
80702
80704
|
exports.default = Overlay;
|
|
80703
80705
|
|
|
80704
80706
|
_defineProperty(Overlay, "propTypes", {
|
|
80705
|
-
/**
|
|
80706
|
-
* Toggles visibility.
|
|
80707
|
+
/**
|
|
80708
|
+
* Toggles visibility.
|
|
80707
80709
|
*/
|
|
80708
80710
|
isOpen: _propTypes.default.bool,
|
|
80709
80711
|
|
|
80710
|
-
/**
|
|
80711
|
-
* Overlay placement.
|
|
80712
|
+
/**
|
|
80713
|
+
* Overlay placement.
|
|
80712
80714
|
*/
|
|
80713
80715
|
placement: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
80714
80716
|
|
|
80715
|
-
/**
|
|
80716
|
-
* Overlay size.
|
|
80717
|
+
/**
|
|
80718
|
+
* Overlay size.
|
|
80717
80719
|
*/
|
|
80718
80720
|
size: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
|
|
80719
80721
|
|
|
80720
|
-
/**
|
|
80721
|
-
* onClose handler.
|
|
80722
|
+
/**
|
|
80723
|
+
* onClose handler.
|
|
80722
80724
|
*/
|
|
80723
80725
|
onClose: _propTypes.default.func,
|
|
80724
80726
|
|
|
80725
|
-
/**
|
|
80726
|
-
* Indicating if clicking the backdrop should close the overlay.
|
|
80727
|
+
/**
|
|
80728
|
+
* Indicating if clicking the backdrop should close the overlay.
|
|
80727
80729
|
*/
|
|
80728
80730
|
canCloseOnBackdropClick: _propTypes.default.bool,
|
|
80729
80731
|
|
|
80730
|
-
/**
|
|
80731
|
-
* Indicating if pressing the escape key should close the overlay.
|
|
80732
|
+
/**
|
|
80733
|
+
* Indicating if pressing the escape key should close the overlay.
|
|
80732
80734
|
*/
|
|
80733
80735
|
canCloseOnEscapePress: _propTypes.default.bool,
|
|
80734
80736
|
|
|
80735
|
-
/**
|
|
80736
|
-
* Block with an image, placed at the side of the component
|
|
80737
|
-
* @since 3.25.0
|
|
80737
|
+
/**
|
|
80738
|
+
* Block with an image, placed at the side of the component
|
|
80739
|
+
* @since 3.25.0
|
|
80738
80740
|
*/
|
|
80739
80741
|
sideBanner: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
80740
80742
|
|
|
80741
|
-
/**
|
|
80742
|
-
* Additional properties for the sideBanner
|
|
80743
|
-
* @since 3.25.0
|
|
80743
|
+
/**
|
|
80744
|
+
* Additional properties for the sideBanner
|
|
80745
|
+
* @since 3.25.0
|
|
80744
80746
|
*/
|
|
80745
80747
|
sideBannerContainer: _propTypes.default.shape({
|
|
80746
|
-
/**
|
|
80747
|
-
* Values for css background property
|
|
80748
|
+
/**
|
|
80749
|
+
* Values for css background property
|
|
80748
80750
|
*/
|
|
80749
80751
|
background: _propTypes.default.string,
|
|
80750
80752
|
|
|
80751
|
-
/**
|
|
80752
|
-
* One of: center, flex-start, flex-end
|
|
80753
|
+
/**
|
|
80754
|
+
* One of: center, flex-start, flex-end
|
|
80753
80755
|
*/
|
|
80754
80756
|
align: _propTypes.default.oneOf(['center', 'flex-start', 'flex-end'])
|
|
80755
80757
|
}),
|
|
80756
80758
|
|
|
80757
|
-
/**
|
|
80758
|
-
* @ignore
|
|
80759
|
+
/**
|
|
80760
|
+
* @ignore
|
|
80759
80761
|
*/
|
|
80760
80762
|
style: _propTypes.default.object,
|
|
80761
80763
|
|
|
80762
|
-
/**
|
|
80763
|
-
* Content of the `Overlay`.
|
|
80764
|
+
/**
|
|
80765
|
+
* Content of the `Overlay`.
|
|
80764
80766
|
*/
|
|
80765
80767
|
children: _propTypes.default.node,
|
|
80766
80768
|
|
|
80767
|
-
/**
|
|
80768
|
-
* @ignore
|
|
80769
|
+
/**
|
|
80770
|
+
* @ignore
|
|
80769
80771
|
*/
|
|
80770
80772
|
className: _propTypes.default.string,
|
|
80771
80773
|
|
|
80772
|
-
/**
|
|
80773
|
-
* @ignore
|
|
80774
|
+
/**
|
|
80775
|
+
* @ignore
|
|
80774
80776
|
*/
|
|
80775
80777
|
baseClassName: _propTypes.default.string
|
|
80776
80778
|
});
|
|
@@ -81011,9 +81013,9 @@ exports.ITEMS_PER_PAGE_OPTIONS = ITEMS_PER_PAGE_OPTIONS;
|
|
|
81011
81013
|
const VIEW_DEFAULT = 'default';
|
|
81012
81014
|
const VIEW_POPOVER = 'popover';
|
|
81013
81015
|
|
|
81014
|
-
/**
|
|
81015
|
-
* `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
|
|
81016
|
-
* @since 0.0.54
|
|
81016
|
+
/**
|
|
81017
|
+
* `Pagination` component is used for navigating objects in [List](#!/List) which content is displayed on multiple pages.
|
|
81018
|
+
* @since 0.0.54
|
|
81017
81019
|
*/
|
|
81018
81020
|
const Pagination = ({
|
|
81019
81021
|
baseClassName = "".concat(_constants.CLS_PREFIX, "pagination"),
|
|
@@ -82108,8 +82110,8 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
82108
82110
|
|
|
82109
82111
|
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; }
|
|
82110
82112
|
|
|
82111
|
-
/**
|
|
82112
|
-
* `Popper` component.
|
|
82113
|
+
/**
|
|
82114
|
+
* `Popper` component.
|
|
82113
82115
|
*/
|
|
82114
82116
|
class Popper extends _react.Component {
|
|
82115
82117
|
constructor(...args) {
|
|
@@ -82288,75 +82290,75 @@ class Popper extends _react.Component {
|
|
|
82288
82290
|
}
|
|
82289
82291
|
|
|
82290
82292
|
Popper.propTypes = {
|
|
82291
|
-
/**
|
|
82292
|
-
* Whether show popper content.
|
|
82293
|
+
/**
|
|
82294
|
+
* Whether show popper content.
|
|
82293
82295
|
*/
|
|
82294
82296
|
show: _propTypes.default.bool,
|
|
82295
82297
|
|
|
82296
|
-
/**
|
|
82297
|
-
* Content of the `Popper`.
|
|
82298
|
+
/**
|
|
82299
|
+
* Content of the `Popper`.
|
|
82298
82300
|
*/
|
|
82299
82301
|
children: _propTypes.default.node,
|
|
82300
82302
|
|
|
82301
|
-
/**
|
|
82302
|
-
* Target for popper.
|
|
82303
|
+
/**
|
|
82304
|
+
* Target for popper.
|
|
82303
82305
|
*/
|
|
82304
82306
|
target: _propTypes.default.any.isRequired,
|
|
82305
82307
|
|
|
82306
|
-
/**
|
|
82307
|
-
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
82308
|
+
/**
|
|
82309
|
+
* A React reference to the DOM element that needs for calculating the position of the popup.
|
|
82308
82310
|
*/
|
|
82309
82311
|
targetRef: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.shape({
|
|
82310
82312
|
current: _propTypes.default.instanceOf(HTMLElement)
|
|
82311
82313
|
})]),
|
|
82312
82314
|
|
|
82313
|
-
/**
|
|
82314
|
-
* Arrow element of popper
|
|
82315
|
+
/**
|
|
82316
|
+
* Arrow element of popper
|
|
82315
82317
|
*/
|
|
82316
82318
|
arrow: _propTypes.default.element,
|
|
82317
82319
|
|
|
82318
|
-
/**
|
|
82319
|
-
* Placement for popper.
|
|
82320
|
+
/**
|
|
82321
|
+
* Placement for popper.
|
|
82320
82322
|
*/
|
|
82321
82323
|
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']),
|
|
82322
82324
|
|
|
82323
|
-
/**
|
|
82324
|
-
* The behavior used to change the popper's placement.
|
|
82325
|
+
/**
|
|
82326
|
+
* The behavior used to change the popper's placement.
|
|
82325
82327
|
*/
|
|
82326
82328
|
behavior: _propTypes.default.oneOfType([_propTypes.default.oneOf(['flip', 'clockwise', 'counterclockwise']), _propTypes.default.arrayOf(_propTypes.default.string)]),
|
|
82327
82329
|
|
|
82328
|
-
/**
|
|
82329
|
-
* Shift your popper on both axis.
|
|
82330
|
+
/**
|
|
82331
|
+
* Shift your popper on both axis.
|
|
82330
82332
|
*/
|
|
82331
82333
|
offset: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
82332
82334
|
|
|
82333
|
-
/**
|
|
82334
|
-
* Update callback function
|
|
82335
|
+
/**
|
|
82336
|
+
* Update callback function
|
|
82335
82337
|
*/
|
|
82336
82338
|
onUpdate: _propTypes.default.func,
|
|
82337
82339
|
|
|
82338
|
-
/**
|
|
82339
|
-
* @ignore
|
|
82340
|
+
/**
|
|
82341
|
+
* @ignore
|
|
82340
82342
|
*/
|
|
82341
82343
|
className: _propTypes.default.string,
|
|
82342
82344
|
|
|
82343
|
-
/**
|
|
82344
|
-
* @ignore
|
|
82345
|
+
/**
|
|
82346
|
+
* @ignore
|
|
82345
82347
|
*/
|
|
82346
82348
|
baseClassName: _propTypes.default.string,
|
|
82347
82349
|
|
|
82348
|
-
/**
|
|
82349
|
-
* zIndex value.
|
|
82350
|
+
/**
|
|
82351
|
+
* zIndex value.
|
|
82350
82352
|
*/
|
|
82351
82353
|
zIndex: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
82352
82354
|
|
|
82353
|
-
/**
|
|
82354
|
-
* Boundaries element for preventOverflow property.
|
|
82355
|
+
/**
|
|
82356
|
+
* Boundaries element for preventOverflow property.
|
|
82355
82357
|
*/
|
|
82356
82358
|
boundariesElement: _propTypes.default.oneOfType([_propTypes.default.oneOf(['scrollParent', 'window', 'viewport']), _propTypes.default.instanceOf(HTMLElement)]),
|
|
82357
82359
|
|
|
82358
|
-
/**
|
|
82359
|
-
* @ignore
|
|
82360
|
+
/**
|
|
82361
|
+
* @ignore
|
|
82360
82362
|
*/
|
|
82361
82363
|
style: _propTypes.default.object
|
|
82362
82364
|
};
|
|
@@ -83778,10 +83780,10 @@ const getVertical = (props, verticalContext) => {
|
|
|
83778
83780
|
|
|
83779
83781
|
return undefined;
|
|
83780
83782
|
};
|
|
83781
|
-
/**
|
|
83782
|
-
* `Section` component is used for dividing of complex content into groups for better readability
|
|
83783
|
-
* and comprehension of the presented information.
|
|
83784
|
-
* @since 0.0.54
|
|
83783
|
+
/**
|
|
83784
|
+
* `Section` component is used for dividing of complex content into groups for better readability
|
|
83785
|
+
* and comprehension of the presented information.
|
|
83786
|
+
* @since 0.0.54
|
|
83785
83787
|
*/
|
|
83786
83788
|
|
|
83787
83789
|
|
|
@@ -83956,68 +83958,68 @@ class Section extends _react.Component {
|
|
|
83956
83958
|
}
|
|
83957
83959
|
|
|
83958
83960
|
Section.propTypes = {
|
|
83959
|
-
/**
|
|
83960
|
-
* Title of the section.
|
|
83961
|
-
* @since 0.0.54
|
|
83961
|
+
/**
|
|
83962
|
+
* Title of the section.
|
|
83963
|
+
* @since 0.0.54
|
|
83962
83964
|
*/
|
|
83963
83965
|
title: _propTypes.default.node,
|
|
83964
83966
|
|
|
83965
|
-
/**
|
|
83966
|
-
* Visual intent color to apply to component.
|
|
83967
|
-
* @since 0.0.54
|
|
83967
|
+
/**
|
|
83968
|
+
* Visual intent color to apply to component.
|
|
83969
|
+
* @since 0.0.54
|
|
83968
83970
|
*/
|
|
83969
83971
|
intent: _propTypes.default.oneOf(['danger', 'warning', 'success', 'inactive']),
|
|
83970
83972
|
|
|
83971
|
-
/**
|
|
83972
|
-
* Is section collapsible.
|
|
83973
|
-
* @since 0.0.54
|
|
83973
|
+
/**
|
|
83974
|
+
* Is section collapsible.
|
|
83975
|
+
* @since 0.0.54
|
|
83974
83976
|
*/
|
|
83975
83977
|
collapsible: _propTypes.default.bool,
|
|
83976
83978
|
|
|
83977
|
-
/**
|
|
83978
|
-
* Is section collapsed now.
|
|
83979
|
-
* @since 0.0.54
|
|
83979
|
+
/**
|
|
83980
|
+
* Is section collapsed now.
|
|
83981
|
+
* @since 0.0.54
|
|
83980
83982
|
*/
|
|
83981
83983
|
collapsed: _propTypes.default.bool,
|
|
83982
83984
|
|
|
83983
|
-
/**
|
|
83984
|
-
* Event handler of title change with inline editing form.
|
|
83985
|
-
* @since 0.0.54
|
|
83985
|
+
/**
|
|
83986
|
+
* Event handler of title change with inline editing form.
|
|
83987
|
+
* @since 0.0.54
|
|
83986
83988
|
*/
|
|
83987
83989
|
onTitleChange: _propTypes.default.func,
|
|
83988
83990
|
|
|
83989
|
-
/**
|
|
83990
|
-
* Event handler of closing section with X-sign at the right.
|
|
83991
|
-
* @since 0.0.54
|
|
83991
|
+
/**
|
|
83992
|
+
* Event handler of closing section with X-sign at the right.
|
|
83993
|
+
* @since 0.0.54
|
|
83992
83994
|
*/
|
|
83993
83995
|
onClose: _propTypes.default.func,
|
|
83994
83996
|
|
|
83995
|
-
/**
|
|
83996
|
-
* Array of custom section action button at the right.
|
|
83997
|
-
* @since 0.0.54
|
|
83997
|
+
/**
|
|
83998
|
+
* Array of custom section action button at the right.
|
|
83999
|
+
* @since 0.0.54
|
|
83998
84000
|
*/
|
|
83999
84001
|
buttons: _propTypes.default.arrayOf(_propTypes.default.element),
|
|
84000
84002
|
|
|
84001
|
-
/**
|
|
84002
|
-
* Vertical or horizontal section view.
|
|
84003
|
-
* Section view will be automatically switched if this parameter is not specified explicitly.
|
|
84004
|
-
* @since 0.3.0
|
|
84003
|
+
/**
|
|
84004
|
+
* Vertical or horizontal section view.
|
|
84005
|
+
* Section view will be automatically switched if this parameter is not specified explicitly.
|
|
84006
|
+
* @since 0.3.0
|
|
84005
84007
|
*/
|
|
84006
84008
|
vertical: _propTypes.default.bool,
|
|
84007
84009
|
|
|
84008
|
-
/**
|
|
84009
|
-
* Content of the `Section`.
|
|
84010
|
-
* @since 0.0.54
|
|
84010
|
+
/**
|
|
84011
|
+
* Content of the `Section`.
|
|
84012
|
+
* @since 0.0.54
|
|
84011
84013
|
*/
|
|
84012
84014
|
children: _propTypes.default.node,
|
|
84013
84015
|
|
|
84014
|
-
/**
|
|
84015
|
-
* @ignore
|
|
84016
|
+
/**
|
|
84017
|
+
* @ignore
|
|
84016
84018
|
*/
|
|
84017
84019
|
className: _propTypes.default.string,
|
|
84018
84020
|
|
|
84019
|
-
/**
|
|
84020
|
-
* @ignore
|
|
84021
|
+
/**
|
|
84022
|
+
* @ignore
|
|
84021
84023
|
*/
|
|
84022
84024
|
baseClassName: _propTypes.default.string
|
|
84023
84025
|
};
|
|
@@ -84889,9 +84891,9 @@ const getNextValue = (value, prevValue) => {
|
|
|
84889
84891
|
return value;
|
|
84890
84892
|
};
|
|
84891
84893
|
|
|
84892
|
-
/**
|
|
84893
|
-
* `Select` component is used for making a choice among a set of related options.
|
|
84894
|
-
* @since 2.3.0
|
|
84894
|
+
/**
|
|
84895
|
+
* `Select` component is used for making a choice among a set of related options.
|
|
84896
|
+
* @since 2.3.0
|
|
84895
84897
|
*/
|
|
84896
84898
|
const Select = ({
|
|
84897
84899
|
id,
|
|
@@ -85434,7 +85436,7 @@ const SelectControl = /*#__PURE__*/(0, _react.forwardRef)(function SelectControl
|
|
|
85434
85436
|
"aria-hidden": "true",
|
|
85435
85437
|
focusable: "false"
|
|
85436
85438
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
85437
|
-
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"
|
|
85439
|
+
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"
|
|
85438
85440
|
})))), /*#__PURE__*/_react.default.createElement("button", {
|
|
85439
85441
|
type: "button",
|
|
85440
85442
|
className: (0, _classnames.default)("".concat(baseClassName, "__indicator"), "".concat(baseClassName, "__indicator--dropdown")),
|
|
@@ -88140,58 +88142,58 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
88140
88142
|
|
|
88141
88143
|
/* eslint-disable react/no-unused-prop-types */
|
|
88142
88144
|
|
|
88143
|
-
/**
|
|
88144
|
-
* `Tab` is an individual element of the [Tabs](#!/Tabs) component.
|
|
88145
|
-
*
|
|
88146
|
-
* Each `Tab` can display an icon near the tab name for easier identification.
|
|
88147
|
-
* It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
|
|
88148
|
-
* You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
|
|
88149
|
-
* @since 0.0.35
|
|
88145
|
+
/**
|
|
88146
|
+
* `Tab` is an individual element of the [Tabs](#!/Tabs) component.
|
|
88147
|
+
*
|
|
88148
|
+
* Each `Tab` can display an icon near the tab name for easier identification.
|
|
88149
|
+
* It can also display a [Label](#!/Label) next to the tab name for showing additional information about its content.
|
|
88150
|
+
* You can make `Tabs` closeable, for example, if you are using them for opening and displaying files.
|
|
88151
|
+
* @since 0.0.35
|
|
88150
88152
|
*/
|
|
88151
88153
|
const Tab = ({
|
|
88152
88154
|
children
|
|
88153
88155
|
}) => /*#__PURE__*/_react.default.createElement("div", null, children);
|
|
88154
88156
|
|
|
88155
88157
|
Tab.propTypes = {
|
|
88156
|
-
/**
|
|
88157
|
-
* Tab title
|
|
88158
|
-
* @since 0.0.35
|
|
88158
|
+
/**
|
|
88159
|
+
* Tab title
|
|
88160
|
+
* @since 0.0.35
|
|
88159
88161
|
*/
|
|
88160
88162
|
title: _propTypes.default.node.isRequired,
|
|
88161
88163
|
|
|
88162
|
-
/**
|
|
88163
|
-
* Label in tab title
|
|
88164
|
-
* @since 0.0.42
|
|
88164
|
+
/**
|
|
88165
|
+
* Label in tab title
|
|
88166
|
+
* @since 0.0.42
|
|
88165
88167
|
*/
|
|
88166
88168
|
label: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
|
|
88167
88169
|
|
|
88168
|
-
/**
|
|
88169
|
-
* Name of icon or Icon component for tab
|
|
88170
|
-
* @since 0.0.42
|
|
88170
|
+
/**
|
|
88171
|
+
* Name of icon or Icon component for tab
|
|
88172
|
+
* @since 0.0.42
|
|
88171
88173
|
*/
|
|
88172
88174
|
icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.element]),
|
|
88173
88175
|
|
|
88174
|
-
/**
|
|
88175
|
-
* Activate callback.
|
|
88176
|
-
* @since 0.0.43
|
|
88176
|
+
/**
|
|
88177
|
+
* Activate callback.
|
|
88178
|
+
* @since 0.0.43
|
|
88177
88179
|
*/
|
|
88178
88180
|
onActivate: _propTypes.default.func,
|
|
88179
88181
|
|
|
88180
|
-
/**
|
|
88181
|
-
* Close callback
|
|
88182
|
-
* @since 0.0.58
|
|
88182
|
+
/**
|
|
88183
|
+
* Close callback
|
|
88184
|
+
* @since 0.0.58
|
|
88183
88185
|
*/
|
|
88184
88186
|
onClose: _propTypes.default.func,
|
|
88185
88187
|
|
|
88186
|
-
/**
|
|
88187
|
-
* Component to render as the root element.
|
|
88188
|
-
* @since 2.5.1
|
|
88188
|
+
/**
|
|
88189
|
+
* Component to render as the root element.
|
|
88190
|
+
* @since 2.5.1
|
|
88189
88191
|
*/
|
|
88190
88192
|
component: _propTypes.default.elementType,
|
|
88191
88193
|
|
|
88192
|
-
/**
|
|
88193
|
-
* Tab content
|
|
88194
|
-
* @since 0.0.47
|
|
88194
|
+
/**
|
|
88195
|
+
* Tab content
|
|
88196
|
+
* @since 0.0.47
|
|
88195
88197
|
*/
|
|
88196
88198
|
children: _propTypes.default.node
|
|
88197
88199
|
};
|
|
@@ -88262,12 +88264,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
88262
88264
|
const ADDON_LEFT_PADDING = 5;
|
|
88263
88265
|
const MIN_ADDON_WIDTH_DEFAULT = 150;
|
|
88264
88266
|
const COLLAPSED_SEARCH_WIDTH = 60;
|
|
88265
|
-
/**
|
|
88266
|
-
* `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
|
|
88267
|
-
* in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
|
|
88268
|
-
* the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
|
|
88269
|
-
* group name and a navigation button.
|
|
88270
|
-
* @since 0.0.35
|
|
88267
|
+
/**
|
|
88268
|
+
* `Tabs` component is a content area with a group of individual [Tab](#!/Tab) elements, each displaying different content
|
|
88269
|
+
* in the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so
|
|
88270
|
+
* the content is broken into logical groups and each group is displayed under its own [Tab](#!/Tab) that serves both as a
|
|
88271
|
+
* group name and a navigation button.
|
|
88272
|
+
* @since 0.0.35
|
|
88271
88273
|
*/
|
|
88272
88274
|
|
|
88273
88275
|
class Tabs extends _react.Component {
|
|
@@ -88843,57 +88845,57 @@ class Tabs extends _react.Component {
|
|
|
88843
88845
|
}
|
|
88844
88846
|
|
|
88845
88847
|
Tabs.propTypes = {
|
|
88846
|
-
/**
|
|
88847
|
-
* Number of active tab
|
|
88848
|
-
* @since 0.0.35
|
|
88848
|
+
/**
|
|
88849
|
+
* Number of active tab
|
|
88850
|
+
* @since 0.0.35
|
|
88849
88851
|
*/
|
|
88850
88852
|
active: _propTypes.default.number,
|
|
88851
88853
|
|
|
88852
|
-
/**
|
|
88853
|
-
* Addon for search bar, dropdown etc.
|
|
88854
|
-
* @since 0.0.58
|
|
88854
|
+
/**
|
|
88855
|
+
* Addon for search bar, dropdown etc.
|
|
88856
|
+
* @since 0.0.58
|
|
88855
88857
|
*/
|
|
88856
88858
|
addon: _propTypes.default.element,
|
|
88857
88859
|
|
|
88858
|
-
/**
|
|
88859
|
-
* Placeholder for search bar, dropdown etc.
|
|
88860
|
-
*
|
|
88861
|
-
* @deprecated Do not use! Use `addon` instead!
|
|
88862
|
-
* @since 0.0.42
|
|
88860
|
+
/**
|
|
88861
|
+
* Placeholder for search bar, dropdown etc.
|
|
88862
|
+
*
|
|
88863
|
+
* @deprecated Do not use! Use `addon` instead!
|
|
88864
|
+
* @since 0.0.42
|
|
88863
88865
|
*/
|
|
88864
88866
|
placeholder: _propTypes.default.element,
|
|
88865
88867
|
|
|
88866
|
-
/**
|
|
88867
|
-
* Minimum add-on width in pixels
|
|
88868
|
-
* @since 0.0.58
|
|
88868
|
+
/**
|
|
88869
|
+
* Minimum add-on width in pixels
|
|
88870
|
+
* @since 0.0.58
|
|
88869
88871
|
*/
|
|
88870
88872
|
addonMinWidth: _propTypes.default.number,
|
|
88871
88873
|
|
|
88872
|
-
/**
|
|
88873
|
-
* Monospaced version of tabs (all visible tabs as wide as widest of them)
|
|
88874
|
-
* @since 0.0.58
|
|
88874
|
+
/**
|
|
88875
|
+
* Monospaced version of tabs (all visible tabs as wide as widest of them)
|
|
88876
|
+
* @since 0.0.58
|
|
88875
88877
|
*/
|
|
88876
88878
|
monospaced: _propTypes.default.bool,
|
|
88877
88879
|
|
|
88878
|
-
/**
|
|
88879
|
-
* [SearchBar](#!/SearchBar) element
|
|
88880
|
-
* @since 0.0.58
|
|
88880
|
+
/**
|
|
88881
|
+
* [SearchBar](#!/SearchBar) element
|
|
88882
|
+
* @since 0.0.58
|
|
88881
88883
|
*/
|
|
88882
88884
|
search: _propTypes.default.element,
|
|
88883
88885
|
|
|
88884
|
-
/**
|
|
88885
|
-
* [Tabs](#!/Tab)
|
|
88886
|
-
* @since 0.0.47
|
|
88886
|
+
/**
|
|
88887
|
+
* [Tabs](#!/Tab)
|
|
88888
|
+
* @since 0.0.47
|
|
88887
88889
|
*/
|
|
88888
88890
|
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.element), _propTypes.default.element]),
|
|
88889
88891
|
|
|
88890
|
-
/**
|
|
88891
|
-
* @ignore
|
|
88892
|
+
/**
|
|
88893
|
+
* @ignore
|
|
88892
88894
|
*/
|
|
88893
88895
|
className: _propTypes.default.string,
|
|
88894
88896
|
|
|
88895
|
-
/**
|
|
88896
|
-
* @ignore
|
|
88897
|
+
/**
|
|
88898
|
+
* @ignore
|
|
88897
88899
|
*/
|
|
88898
88900
|
baseClassName: _propTypes.default.string
|
|
88899
88901
|
};
|
|
@@ -91151,9 +91153,9 @@ const isLikeText = node => {
|
|
|
91151
91153
|
|
|
91152
91154
|
return false;
|
|
91153
91155
|
};
|
|
91154
|
-
/**
|
|
91155
|
-
* `Translate` component.
|
|
91156
|
-
* @since 0.0.42
|
|
91156
|
+
/**
|
|
91157
|
+
* `Translate` component.
|
|
91158
|
+
* @since 0.0.42
|
|
91157
91159
|
*/
|
|
91158
91160
|
|
|
91159
91161
|
|
|
@@ -91196,49 +91198,49 @@ const Translate = ({
|
|
|
91196
91198
|
};
|
|
91197
91199
|
|
|
91198
91200
|
Translate.propTypes = {
|
|
91199
|
-
/**
|
|
91200
|
-
* A some prefix for the message key.
|
|
91201
|
-
* @since 2.6.0
|
|
91201
|
+
/**
|
|
91202
|
+
* A some prefix for the message key.
|
|
91203
|
+
* @since 2.6.0
|
|
91202
91204
|
*/
|
|
91203
91205
|
namespace: _propTypes.default.string,
|
|
91204
91206
|
|
|
91205
|
-
/**
|
|
91206
|
-
* Translatable content or message key.
|
|
91207
|
-
* @since 0.0.42
|
|
91207
|
+
/**
|
|
91208
|
+
* Translatable content or message key.
|
|
91209
|
+
* @since 0.0.42
|
|
91208
91210
|
*/
|
|
91209
91211
|
content: _propTypes.default.string,
|
|
91210
91212
|
|
|
91211
|
-
/**
|
|
91212
|
-
* Message params
|
|
91213
|
-
* @since 0.0.42
|
|
91213
|
+
/**
|
|
91214
|
+
* Message params
|
|
91215
|
+
* @since 0.0.42
|
|
91214
91216
|
*/
|
|
91215
91217
|
params: _propTypes.default.object,
|
|
91216
91218
|
|
|
91217
|
-
/**
|
|
91218
|
-
* Fallback translation value.
|
|
91219
|
-
* @since 0.0.47
|
|
91219
|
+
/**
|
|
91220
|
+
* Fallback translation value.
|
|
91221
|
+
* @since 0.0.47
|
|
91220
91222
|
*/
|
|
91221
91223
|
fallback: _propTypes.default.string,
|
|
91222
91224
|
|
|
91223
|
-
/**
|
|
91224
|
-
* Component to render as the root element. Useful when rendering a `Translate` as `<option>`.
|
|
91225
|
-
* @since 0.0.42
|
|
91225
|
+
/**
|
|
91226
|
+
* Component to render as the root element. Useful when rendering a `Translate` as `<option>`.
|
|
91227
|
+
* @since 0.0.42
|
|
91226
91228
|
*/
|
|
91227
91229
|
component: _propTypes.default.elementType,
|
|
91228
91230
|
|
|
91229
|
-
/**
|
|
91230
|
-
* A set of translation messages. If the set contains a message key, the component uses an item from the set for rendering.
|
|
91231
|
-
* @ignore
|
|
91231
|
+
/**
|
|
91232
|
+
* A set of translation messages. If the set contains a message key, the component uses an item from the set for rendering.
|
|
91233
|
+
* @ignore
|
|
91232
91234
|
*/
|
|
91233
91235
|
translators: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])),
|
|
91234
91236
|
|
|
91235
|
-
/**
|
|
91236
|
-
* @ignore
|
|
91237
|
+
/**
|
|
91238
|
+
* @ignore
|
|
91237
91239
|
*/
|
|
91238
91240
|
unsafe: _propTypes.default.bool,
|
|
91239
91241
|
|
|
91240
|
-
/**
|
|
91241
|
-
* @ignore
|
|
91242
|
+
/**
|
|
91243
|
+
* @ignore
|
|
91242
91244
|
*/
|
|
91243
91245
|
children: _propTypes.default.string
|
|
91244
91246
|
};
|