@epam/uui 4.7.0 → 4.8.0-beta.0
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/assets/styles/buttonLayout.scss +66 -66
- package/assets/styles/controlLayout.scss +11 -11
- package/assets/styles/effects.scss +8 -8
- package/assets/styles/font-faces.scss +51 -51
- package/assets/styles/fonts-variables.scss +24 -24
- package/assets/styles/icons.scss +18 -18
- package/assets/styles/index.scss +7 -7
- package/assets/styles/inputs.scss +69 -69
- package/assets/styles/layout-mixins.scss +8 -8
- package/assets/styles/prettifyScrollBar.scss +44 -44
- package/assets/styles/text-layout.scss +80 -80
- package/assets/styles/text-size.scss +37 -37
- package/assets/styles/typography.scss +3 -3
- package/assets/styles/variables/buttons/button.scss +70 -70
- package/assets/styles/variables/buttons/iconButton.scss +41 -41
- package/assets/styles/variables/buttons/linkButton.scss +6 -6
- package/assets/styles/variables/buttons/tabButton.scss +8 -8
- package/assets/styles/variables/inputs/checkbox.scss +18 -18
- package/assets/styles/variables/inputs/radioInput.scss +14 -14
- package/assets/styles/variables/inputs/switch.scss +24 -24
- package/assets/styles/variables/inputs/textInput.scss +21 -21
- package/assets/styles/variables/layout/accordion.scss +10 -10
- package/assets/styles/variables/layout/iconContainer.scss +22 -22
- package/assets/styles/variables/layout/labeledInput.scss +8 -8
- package/assets/styles/variables/layout/panel.scss +5 -5
- package/assets/styles/variables/layout/scrollBars.scss +3 -3
- package/assets/styles/variables/overlays/dropdownContainer.scss +4 -4
- package/assets/styles/variables/overlays/modals.scss +5 -5
- package/assets/styles/variables/overlays/notificationCard.scss +27 -27
- package/assets/styles/variables/overlays/tooltip.scss +8 -8
- package/assets/styles/variables/pickers/pickerToggler.scss +15 -15
- package/assets/styles/variables/typography/text.scss +19 -19
- package/assets/styles/variables/typography/textPlaceholder.scss +4 -4
- package/assets/styles/variables/widgets/badge.scss +50 -50
- package/assets/styles/variables/widgets/tag.scss +9 -9
- package/bundle-stats.json +1 -1
- package/components/buttons/Button.d.ts +13 -13
- package/components/buttons/IconButton.d.ts +11 -11
- package/components/buttons/LinkButton.d.ts +8 -8
- package/components/buttons/TabButton.d.ts +8 -8
- package/components/buttons/VerticalTabButton.d.ts +4 -4
- package/components/buttons/docs/button.doc.d.ts +5 -5
- package/components/buttons/docs/linkButton.doc.d.ts +5 -5
- package/components/buttons/helper.d.ts +2 -2
- package/components/buttons/index.d.ts +5 -5
- package/components/index.d.ts +9 -9
- package/components/inputs/Checkbox.d.ts +9 -9
- package/components/inputs/RadioInput.d.ts +7 -7
- package/components/inputs/Switch.d.ts +8 -8
- package/components/inputs/TextInput.d.ts +13 -13
- package/components/inputs/docs/checkbox.doc.d.ts +5 -5
- package/components/inputs/docs/radioInput.doc.d.ts +5 -5
- package/components/inputs/docs/switch.doc.d.ts +5 -5
- package/components/inputs/docs/textInput.doc.d.ts +5 -5
- package/components/inputs/index.d.ts +4 -4
- package/components/layout/Accordion.d.ts +8 -8
- package/components/layout/ControlGroup.d.ts +3 -3
- package/components/layout/FlexItems/FlexCell.d.ts +11 -11
- package/components/layout/FlexItems/FlexRow.d.ts +14 -14
- package/components/layout/FlexItems/FlexSpacer.d.ts +4 -4
- package/components/layout/FlexItems/Panel.d.ts +10 -10
- package/components/layout/FlexItems/index.d.ts +4 -4
- package/components/layout/IconContainer.d.ts +9 -9
- package/components/layout/LabeledInput.d.ts +7 -7
- package/components/layout/RadioGroup.d.ts +3 -3
- package/components/layout/ScrollBars.d.ts +5 -5
- package/components/layout/VirtualList.d.ts +7 -7
- package/components/layout/index.d.ts +8 -8
- package/components/overlays/Dropdown.d.ts +5 -5
- package/components/overlays/DropdownContainer.d.ts +6 -6
- package/components/overlays/DropdownMenu.d.ts +36 -36
- package/components/overlays/Modals.d.ts +23 -23
- package/components/overlays/NotificationCard.d.ts +30 -30
- package/components/overlays/Tooltip.d.ts +6 -6
- package/components/overlays/index.d.ts +6 -6
- package/components/pickers/DataPickerBody.d.ts +15 -15
- package/components/pickers/DataPickerFooter.d.ts +8 -8
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts +7 -7
- package/components/pickers/DataPickerRow.d.ts +15 -15
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/MobileDropdownWrapper.d.ts +10 -10
- package/components/pickers/PickerInput.d.ts +16 -16
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts +12 -12
- package/components/pickers/PickerList.d.ts +17 -17
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/PickerListItem.d.ts +8 -8
- package/components/pickers/PickerModal.d.ts +15 -15
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +8 -8
- package/components/pickers/docs/common.d.ts +27 -27
- package/components/pickers/docs/pickerInput.doc.d.ts +4 -4
- package/components/pickers/docs/pickerToggler.doc.d.ts +5 -5
- package/components/pickers/index.d.ts +11 -11
- package/components/tables/DataTableCell.d.ts +9 -9
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/Presets/Preset.d.ts +14 -14
- package/components/tables/Presets/Presets.d.ts +8 -8
- package/components/tables/Presets/index.d.ts +2 -2
- package/components/tables/index.d.ts +3 -3
- package/components/tables/types.d.ts +8 -8
- package/components/types.d.ts +28 -28
- package/components/typography/Text.d.ts +11 -11
- package/components/typography/TextPlaceholder.d.ts +7 -7
- package/components/typography/docs/textPlaceholder.doc.d.ts +4 -4
- package/components/typography/index.d.ts +2 -2
- package/components/widgets/Avatar.d.ts +3 -3
- package/components/widgets/Badge.d.ts +15 -15
- package/components/widgets/Tag.d.ts +8 -8
- package/components/widgets/index.d.ts +3 -3
- package/docs/common.d.ts +10 -10
- package/docs/contexts/DefaultContext.d.ts +6 -6
- package/docs/contexts/index.d.ts +1 -1
- package/docs/index.d.ts +2 -2
- package/helpers/textLayout.d.ts +8 -8
- package/i18n.d.ts +50 -50
- package/icons/icons.d.ts +3 -3
- package/index.d.ts +3 -3
- package/index.docs.d.ts +5 -5
- package/index.js +1770 -1771
- package/index.js.map +1 -1
- package/package.json +6 -6
- package/readme.md +4 -4
- package/styles.css +613 -613
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -648,7 +648,7 @@ function __classPrivateFieldIn(state, receiver) {
|
|
|
648
648
|
/***/ (function(module, exports, __webpack_require__) {
|
|
649
649
|
|
|
650
650
|
// extracted by mini-css-extract-plugin
|
|
651
|
-
module.exports = {"line-height-12":"
|
|
651
|
+
module.exports = {"line-height-12":"_35Qvs","lineHeight12":"_35Qvs","line-height-18":"_1Q_oJ","lineHeight18":"_1Q_oJ","line-height-24":"_1-b2Z","lineHeight24":"_1-b2Z","line-height-30":"_1UI4S","lineHeight30":"_1UI4S","font-size-10":"_3RUfN","fontSize10":"_3RUfN","font-size-12":"_3-qQu","fontSize12":"_3-qQu","font-size-14":"_3qDRU","fontSize14":"_3qDRU","font-size-16":"_3pgZ-","fontSize16":"_3pgZ-","font-size-18":"_2oxtD","fontSize18":"_2oxtD","font-size-24":"sbPyP","fontSize24":"sbPyP","v-padding-2":"_1seO1","vPadding2":"_1seO1","v-padding-3":"_1LOPP","vPadding3":"_1LOPP","v-padding-5":"_2FGMh","vPadding5":"_2FGMh","v-padding-6":"_2ERcM","vPadding6":"_2ERcM","v-padding-8":"_18K7h","vPadding8":"_18K7h","v-padding-9":"_1N3GS","vPadding9":"_1N3GS","v-padding-11":"ztmDB","vPadding11":"ztmDB","v-padding-12":"_1O8pc","vPadding12":"_1O8pc","v-padding-14":"bbjUq","vPadding14":"bbjUq","v-padding-15":"_18HAU","vPadding15":"_18HAU","v-padding-17":"_2vRSm","vPadding17":"_2vRSm","v-padding-18":"_11h-6","vPadding18":"_11h-6","v-padding-23":"_2Epiv","vPadding23":"_2Epiv","v-padding-24":"_3igLU","vPadding24":"_3igLU"};
|
|
652
652
|
|
|
653
653
|
/***/ }),
|
|
654
654
|
|
|
@@ -902,7 +902,7 @@ module.exports = {"line-height-12":"H1tT_","lineHeight12":"H1tT_","line-height-1
|
|
|
902
902
|
/***/ (function(module, exports, __webpack_require__) {
|
|
903
903
|
|
|
904
904
|
// extracted by mini-css-extract-plugin
|
|
905
|
-
module.exports = {"root":"
|
|
905
|
+
module.exports = {"root":"_1qKFr","mode-solid":"_33TYP","modeSolid":"_33TYP","mode-outline":"XLbiQ","modeOutline":"XLbiQ","mode-none":"_1jdiM","modeNone":"_1jdiM","mode-ghost":"_2WO5r","modeGhost":"_2WO5r","size-24":"_2WG5J","size24":"_2WG5J","size-30":"_1aVZ8","size30":"_1aVZ8","size-36":"_25Gjz","size36":"_25Gjz","size-42":"_2Va7m","size42":"_2Va7m","size-48":"_3QV_w","size48":"_3QV_w"};
|
|
906
906
|
|
|
907
907
|
/***/ }),
|
|
908
908
|
|
|
@@ -914,31 +914,31 @@ module.exports = {"root":"_2bUM_","mode-solid":"_3ZhQS","modeSolid":"_3ZhQS","mo
|
|
|
914
914
|
/***/ (function(module, exports, __webpack_require__) {
|
|
915
915
|
|
|
916
916
|
"use strict";
|
|
917
|
-
|
|
918
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
919
|
-
exports.Button = exports.applyButtonMods = exports.allButtonColors = void 0;
|
|
920
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
921
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
922
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
923
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
924
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Button.scss */ "./components/buttons/Button.scss"));
|
|
925
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/button.scss */ "./assets/styles/variables/buttons/button.scss");
|
|
926
|
-
exports.allButtonColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
927
|
-
var defaultSize = '36';
|
|
928
|
-
function applyButtonMods(mods) {
|
|
929
|
-
return [
|
|
930
|
-
'button-vars',
|
|
931
|
-
"button-color-".concat(mods.color || 'primary'),
|
|
932
|
-
css.root,
|
|
933
|
-
css["size-".concat(mods.size || defaultSize)],
|
|
934
|
-
css["mode-".concat(mods.mode || 'solid')],
|
|
935
|
-
];
|
|
936
|
-
}
|
|
937
|
-
exports.applyButtonMods = applyButtonMods;
|
|
938
|
-
exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMods, function (props) { return ({
|
|
939
|
-
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
940
|
-
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
941
|
-
}); });
|
|
917
|
+
|
|
918
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
919
|
+
exports.Button = exports.applyButtonMods = exports.allButtonColors = void 0;
|
|
920
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
921
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
922
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
923
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
924
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Button.scss */ "./components/buttons/Button.scss"));
|
|
925
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/button.scss */ "./assets/styles/variables/buttons/button.scss");
|
|
926
|
+
exports.allButtonColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
927
|
+
var defaultSize = '36';
|
|
928
|
+
function applyButtonMods(mods) {
|
|
929
|
+
return [
|
|
930
|
+
'button-vars',
|
|
931
|
+
"button-color-".concat(mods.color || 'primary'),
|
|
932
|
+
css.root,
|
|
933
|
+
css["size-".concat(mods.size || defaultSize)],
|
|
934
|
+
css["mode-".concat(mods.mode || 'solid')],
|
|
935
|
+
];
|
|
936
|
+
}
|
|
937
|
+
exports.applyButtonMods = applyButtonMods;
|
|
938
|
+
exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMods, function (props) { return ({
|
|
939
|
+
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
940
|
+
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
941
|
+
}); });
|
|
942
942
|
|
|
943
943
|
|
|
944
944
|
/***/ }),
|
|
@@ -951,7 +951,7 @@ exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMo
|
|
|
951
951
|
/***/ (function(module, exports, __webpack_require__) {
|
|
952
952
|
|
|
953
953
|
// extracted by mini-css-extract-plugin
|
|
954
|
-
module.exports = {"root":"
|
|
954
|
+
module.exports = {"root":"_1s_Eo"};
|
|
955
955
|
|
|
956
956
|
/***/ }),
|
|
957
957
|
|
|
@@ -963,22 +963,22 @@ module.exports = {"root":"_2rC_h"};
|
|
|
963
963
|
/***/ (function(module, exports, __webpack_require__) {
|
|
964
964
|
|
|
965
965
|
"use strict";
|
|
966
|
-
|
|
967
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
968
|
-
exports.IconButton = exports.allIconColors = void 0;
|
|
969
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
970
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
971
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
972
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/iconButton.scss */ "./assets/styles/variables/buttons/iconButton.scss");
|
|
973
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconButton.scss */ "./components/buttons/IconButton.scss"));
|
|
974
|
-
exports.allIconColors = ['info', 'success', 'warning', 'error', 'secondary', 'default'];
|
|
975
|
-
function applyIconButtonMods(mods) {
|
|
976
|
-
return [
|
|
977
|
-
"icon-button-color-".concat(mods.color || 'default'),
|
|
978
|
-
css.root,
|
|
979
|
-
];
|
|
980
|
-
}
|
|
981
|
-
exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, applyIconButtonMods);
|
|
966
|
+
|
|
967
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
968
|
+
exports.IconButton = exports.allIconColors = void 0;
|
|
969
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
970
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
971
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
972
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/iconButton.scss */ "./assets/styles/variables/buttons/iconButton.scss");
|
|
973
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconButton.scss */ "./components/buttons/IconButton.scss"));
|
|
974
|
+
exports.allIconColors = ['info', 'success', 'warning', 'error', 'secondary', 'default'];
|
|
975
|
+
function applyIconButtonMods(mods) {
|
|
976
|
+
return [
|
|
977
|
+
"icon-button-color-".concat(mods.color || 'default'),
|
|
978
|
+
css.root,
|
|
979
|
+
];
|
|
980
|
+
}
|
|
981
|
+
exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, applyIconButtonMods);
|
|
982
982
|
|
|
983
983
|
|
|
984
984
|
/***/ }),
|
|
@@ -991,7 +991,7 @@ exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, apply
|
|
|
991
991
|
/***/ (function(module, exports, __webpack_require__) {
|
|
992
992
|
|
|
993
993
|
// extracted by mini-css-extract-plugin
|
|
994
|
-
module.exports = {"root":"
|
|
994
|
+
module.exports = {"root":"_3CJRl","size-18":"_2wYRl","size18":"_2wYRl","size-24":"_2ahMf","size24":"_2ahMf","size-30":"_1s_cK","size30":"_1s_cK","size-36":"_3Nne3","size36":"_3Nne3","size-42":"uCltz","size42":"uCltz","size-48":"_3_7XR","size48":"_3_7XR"};
|
|
995
995
|
|
|
996
996
|
/***/ }),
|
|
997
997
|
|
|
@@ -1003,28 +1003,28 @@ module.exports = {"root":"_2prnk","size-18":"FCCTg","size18":"FCCTg","size-24":"
|
|
|
1003
1003
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1004
1004
|
|
|
1005
1005
|
"use strict";
|
|
1006
|
-
|
|
1007
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1008
|
-
exports.LinkButton = void 0;
|
|
1009
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1010
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1011
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1012
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1013
|
-
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1014
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LinkButton.scss */ "./components/buttons/LinkButton.scss"));
|
|
1015
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/linkButton.scss */ "./assets/styles/variables/buttons/linkButton.scss");
|
|
1016
|
-
var defaultSize = '36';
|
|
1017
|
-
function applyLinkButtonMods(mods) {
|
|
1018
|
-
return (0, tslib_1.__spreadArray)([
|
|
1019
|
-
'link-button-vars',
|
|
1020
|
-
css.root,
|
|
1021
|
-
css['size-' + (mods.size || defaultSize)]
|
|
1022
|
-
], (0, helper_1.getIconClass)(mods), true);
|
|
1023
|
-
}
|
|
1024
|
-
exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLinkButtonMods, function (props) { return ({
|
|
1025
|
-
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1026
|
-
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1027
|
-
}); });
|
|
1006
|
+
|
|
1007
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1008
|
+
exports.LinkButton = void 0;
|
|
1009
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1010
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1011
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1012
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1013
|
+
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1014
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LinkButton.scss */ "./components/buttons/LinkButton.scss"));
|
|
1015
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/linkButton.scss */ "./assets/styles/variables/buttons/linkButton.scss");
|
|
1016
|
+
var defaultSize = '36';
|
|
1017
|
+
function applyLinkButtonMods(mods) {
|
|
1018
|
+
return (0, tslib_1.__spreadArray)([
|
|
1019
|
+
'link-button-vars',
|
|
1020
|
+
css.root,
|
|
1021
|
+
css['size-' + (mods.size || defaultSize)]
|
|
1022
|
+
], (0, helper_1.getIconClass)(mods), true);
|
|
1023
|
+
}
|
|
1024
|
+
exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLinkButtonMods, function (props) { return ({
|
|
1025
|
+
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1026
|
+
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1027
|
+
}); });
|
|
1028
1028
|
|
|
1029
1029
|
|
|
1030
1030
|
/***/ }),
|
|
@@ -1037,7 +1037,7 @@ exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLink
|
|
|
1037
1037
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1038
1038
|
|
|
1039
1039
|
// extracted by mini-css-extract-plugin
|
|
1040
|
-
module.exports = {"root":"
|
|
1040
|
+
module.exports = {"root":"nBKxj","uui-notification":"QU4pL","uuiNotification":"QU4pL","size-36":"oghbC","size36":"oghbC","size-48":"_2hwmv","size48":"_2hwmv","size-60":"ekrg9","size60":"ekrg9"};
|
|
1041
1041
|
|
|
1042
1042
|
/***/ }),
|
|
1043
1043
|
|
|
@@ -1049,25 +1049,25 @@ module.exports = {"root":"_1qtdh","uui-notification":"_1yJeo","uuiNotification":
|
|
|
1049
1049
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1050
1050
|
|
|
1051
1051
|
"use strict";
|
|
1052
|
-
|
|
1053
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1054
|
-
exports.TabButton = void 0;
|
|
1055
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1056
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1057
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1058
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1059
|
-
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1060
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/tabButton.scss */ "./assets/styles/variables/buttons/tabButton.scss");
|
|
1061
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TabButton.scss */ "./components/buttons/TabButton.scss"));
|
|
1062
|
-
function applyTabButtonMods(mods) {
|
|
1063
|
-
return (0, tslib_1.__spreadArray)([
|
|
1064
|
-
'tab-button-vars',
|
|
1065
|
-
css.root,
|
|
1066
|
-
css['size-' + (mods.size || '48')],
|
|
1067
|
-
mods.withNotify && css.uuiNotification
|
|
1068
|
-
], (0, helper_1.getIconClass)(mods), true);
|
|
1069
|
-
}
|
|
1070
|
-
exports.TabButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyTabButtonMods, function (props) { return ((0, tslib_1.__assign)((0, tslib_1.__assign)({ dropdownIcon: icons_1.systemIcons['36'].foldingArrow, clearIcon: icons_1.systemIcons['36'].clear, countPosition: 'right' }, props), { rawProps: (0, tslib_1.__assign)({ role: 'tab' }, props.rawProps) })); });
|
|
1052
|
+
|
|
1053
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1054
|
+
exports.TabButton = void 0;
|
|
1055
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1056
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1057
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1058
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1059
|
+
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1060
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/tabButton.scss */ "./assets/styles/variables/buttons/tabButton.scss");
|
|
1061
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TabButton.scss */ "./components/buttons/TabButton.scss"));
|
|
1062
|
+
function applyTabButtonMods(mods) {
|
|
1063
|
+
return (0, tslib_1.__spreadArray)([
|
|
1064
|
+
'tab-button-vars',
|
|
1065
|
+
css.root,
|
|
1066
|
+
css['size-' + (mods.size || '48')],
|
|
1067
|
+
mods.withNotify && css.uuiNotification
|
|
1068
|
+
], (0, helper_1.getIconClass)(mods), true);
|
|
1069
|
+
}
|
|
1070
|
+
exports.TabButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyTabButtonMods, function (props) { return ((0, tslib_1.__assign)((0, tslib_1.__assign)({ dropdownIcon: icons_1.systemIcons['36'].foldingArrow, clearIcon: icons_1.systemIcons['36'].clear, countPosition: 'right' }, props), { rawProps: (0, tslib_1.__assign)({ role: 'tab' }, props.rawProps) })); });
|
|
1071
1071
|
|
|
1072
1072
|
|
|
1073
1073
|
/***/ }),
|
|
@@ -1080,7 +1080,7 @@ exports.TabButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyTabBu
|
|
|
1080
1080
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1081
1081
|
|
|
1082
1082
|
// extracted by mini-css-extract-plugin
|
|
1083
|
-
module.exports = {"root":"
|
|
1083
|
+
module.exports = {"root":"gIAEL"};
|
|
1084
1084
|
|
|
1085
1085
|
/***/ }),
|
|
1086
1086
|
|
|
@@ -1092,19 +1092,19 @@ module.exports = {"root":"_1bQaA"};
|
|
|
1092
1092
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1093
1093
|
|
|
1094
1094
|
"use strict";
|
|
1095
|
-
|
|
1096
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1097
|
-
exports.VerticalTabButton = void 0;
|
|
1098
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1099
|
-
var VerticalTabButton_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./VerticalTabButton.scss */ "./components/buttons/VerticalTabButton.scss"));
|
|
1100
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1101
|
-
var TabButton_1 = __webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx");
|
|
1102
|
-
function applyVerticalTabButtonMods() {
|
|
1103
|
-
return [
|
|
1104
|
-
VerticalTabButton_scss_1.default.root,
|
|
1105
|
-
];
|
|
1106
|
-
}
|
|
1107
|
-
exports.VerticalTabButton = (0, uui_core_1.withMods)(TabButton_1.TabButton, applyVerticalTabButtonMods);
|
|
1095
|
+
|
|
1096
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1097
|
+
exports.VerticalTabButton = void 0;
|
|
1098
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1099
|
+
var VerticalTabButton_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./VerticalTabButton.scss */ "./components/buttons/VerticalTabButton.scss"));
|
|
1100
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1101
|
+
var TabButton_1 = __webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx");
|
|
1102
|
+
function applyVerticalTabButtonMods() {
|
|
1103
|
+
return [
|
|
1104
|
+
VerticalTabButton_scss_1.default.root,
|
|
1105
|
+
];
|
|
1106
|
+
}
|
|
1107
|
+
exports.VerticalTabButton = (0, uui_core_1.withMods)(TabButton_1.TabButton, applyVerticalTabButtonMods);
|
|
1108
1108
|
|
|
1109
1109
|
|
|
1110
1110
|
/***/ }),
|
|
@@ -1117,29 +1117,29 @@ exports.VerticalTabButton = (0, uui_core_1.withMods)(TabButton_1.TabButton, appl
|
|
|
1117
1117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1118
1118
|
|
|
1119
1119
|
"use strict";
|
|
1120
|
-
|
|
1121
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1122
|
-
exports.getIconClass = void 0;
|
|
1123
|
-
function getIconClass(props) {
|
|
1124
|
-
var classList = {
|
|
1125
|
-
'has-left-icon': false,
|
|
1126
|
-
'has-right-icon': false,
|
|
1127
|
-
};
|
|
1128
|
-
if (props.onClear) {
|
|
1129
|
-
classList['has-right-icon'] = true;
|
|
1130
|
-
}
|
|
1131
|
-
if (props.isDropdown) {
|
|
1132
|
-
classList[props.dropdownIconPosition === 'left' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1133
|
-
}
|
|
1134
|
-
if (props.icon) {
|
|
1135
|
-
classList[props.iconPosition !== 'right' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1136
|
-
}
|
|
1137
|
-
return [
|
|
1138
|
-
classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon',
|
|
1139
|
-
classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon',
|
|
1140
|
-
];
|
|
1141
|
-
}
|
|
1142
|
-
exports.getIconClass = getIconClass;
|
|
1120
|
+
|
|
1121
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1122
|
+
exports.getIconClass = void 0;
|
|
1123
|
+
function getIconClass(props) {
|
|
1124
|
+
var classList = {
|
|
1125
|
+
'has-left-icon': false,
|
|
1126
|
+
'has-right-icon': false,
|
|
1127
|
+
};
|
|
1128
|
+
if (props.onClear) {
|
|
1129
|
+
classList['has-right-icon'] = true;
|
|
1130
|
+
}
|
|
1131
|
+
if (props.isDropdown) {
|
|
1132
|
+
classList[props.dropdownIconPosition === 'left' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1133
|
+
}
|
|
1134
|
+
if (props.icon) {
|
|
1135
|
+
classList[props.iconPosition !== 'right' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1136
|
+
}
|
|
1137
|
+
return [
|
|
1138
|
+
classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon',
|
|
1139
|
+
classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon',
|
|
1140
|
+
];
|
|
1141
|
+
}
|
|
1142
|
+
exports.getIconClass = getIconClass;
|
|
1143
1143
|
|
|
1144
1144
|
|
|
1145
1145
|
/***/ }),
|
|
@@ -1152,14 +1152,14 @@ exports.getIconClass = getIconClass;
|
|
|
1152
1152
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1153
1153
|
|
|
1154
1154
|
"use strict";
|
|
1155
|
-
|
|
1156
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1157
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1158
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Button */ "./components/buttons/Button.tsx"), exports);
|
|
1159
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconButton */ "./components/buttons/IconButton.tsx"), exports);
|
|
1160
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LinkButton */ "./components/buttons/LinkButton.tsx"), exports);
|
|
1161
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx"), exports);
|
|
1162
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VerticalTabButton */ "./components/buttons/VerticalTabButton.tsx"), exports);
|
|
1155
|
+
|
|
1156
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1157
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1158
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Button */ "./components/buttons/Button.tsx"), exports);
|
|
1159
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconButton */ "./components/buttons/IconButton.tsx"), exports);
|
|
1160
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LinkButton */ "./components/buttons/LinkButton.tsx"), exports);
|
|
1161
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx"), exports);
|
|
1162
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VerticalTabButton */ "./components/buttons/VerticalTabButton.tsx"), exports);
|
|
1163
1163
|
|
|
1164
1164
|
|
|
1165
1165
|
/***/ }),
|
|
@@ -1172,18 +1172,18 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1172
1172
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1173
1173
|
|
|
1174
1174
|
"use strict";
|
|
1175
|
-
|
|
1176
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1177
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1178
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./buttons */ "./components/buttons/index.ts"), exports);
|
|
1179
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./inputs */ "./components/inputs/index.ts"), exports);
|
|
1180
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./layout */ "./components/layout/index.ts"), exports);
|
|
1181
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./overlays */ "./components/overlays/index.ts"), exports);
|
|
1182
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./pickers */ "./components/pickers/index.ts"), exports);
|
|
1183
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./typography */ "./components/typography/index.ts"), exports);
|
|
1184
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./widgets */ "./components/widgets/index.ts"), exports);
|
|
1185
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./tables */ "./components/tables/index.ts"), exports);
|
|
1186
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/types.ts"), exports);
|
|
1175
|
+
|
|
1176
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1177
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1178
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./buttons */ "./components/buttons/index.ts"), exports);
|
|
1179
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./inputs */ "./components/inputs/index.ts"), exports);
|
|
1180
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./layout */ "./components/layout/index.ts"), exports);
|
|
1181
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./overlays */ "./components/overlays/index.ts"), exports);
|
|
1182
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./pickers */ "./components/pickers/index.ts"), exports);
|
|
1183
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./typography */ "./components/typography/index.ts"), exports);
|
|
1184
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./widgets */ "./components/widgets/index.ts"), exports);
|
|
1185
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./tables */ "./components/tables/index.ts"), exports);
|
|
1186
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/types.ts"), exports);
|
|
1187
1187
|
|
|
1188
1188
|
|
|
1189
1189
|
/***/ }),
|
|
@@ -1196,7 +1196,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1196
1196
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1197
1197
|
|
|
1198
1198
|
// extracted by mini-css-extract-plugin
|
|
1199
|
-
module.exports = {"root":"
|
|
1199
|
+
module.exports = {"root":"_1ZVhf","size-18":"_56aFw","size18":"_56aFw","size-12":"_3HOuv","size12":"_3HOuv"};
|
|
1200
1200
|
|
|
1201
1201
|
/***/ }),
|
|
1202
1202
|
|
|
@@ -1208,30 +1208,30 @@ module.exports = {"root":"_2lKIq","size-18":"_3h7pH","size18":"_3h7pH","size-12"
|
|
|
1208
1208
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1209
1209
|
|
|
1210
1210
|
"use strict";
|
|
1211
|
-
|
|
1212
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1213
|
-
exports.Checkbox = exports.applyCheckboxMods = void 0;
|
|
1214
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1215
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1216
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1217
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Checkbox.scss */ "./components/inputs/Checkbox.scss"));
|
|
1218
|
-
var check_12_svg_1 = __webpack_require__(/*! ../../icons/check-12.svg */ "./icons/check-12.svg");
|
|
1219
|
-
var check_18_svg_1 = __webpack_require__(/*! ../../icons/check-18.svg */ "./icons/check-18.svg");
|
|
1220
|
-
var partly_select_12_svg_1 = __webpack_require__(/*! ../../icons/partly-select-12.svg */ "./icons/partly-select-12.svg");
|
|
1221
|
-
var partly_select_18_svg_1 = __webpack_require__(/*! ../../icons/partly-select-18.svg */ "./icons/partly-select-18.svg");
|
|
1222
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/checkbox.scss */ "./assets/styles/variables/inputs/checkbox.scss");
|
|
1223
|
-
function applyCheckboxMods(mods) {
|
|
1224
|
-
return [
|
|
1225
|
-
'checkbox-vars',
|
|
1226
|
-
css.root,
|
|
1227
|
-
css['size-' + (mods.size || '18')],
|
|
1228
|
-
];
|
|
1229
|
-
}
|
|
1230
|
-
exports.applyCheckboxMods = applyCheckboxMods;
|
|
1231
|
-
exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyCheckboxMods, function (props) { return ({
|
|
1232
|
-
icon: (props.size === '12') ? check_12_svg_1.ReactComponent : check_18_svg_1.ReactComponent,
|
|
1233
|
-
indeterminateIcon: (props.size === '12') ? partly_select_12_svg_1.ReactComponent : partly_select_18_svg_1.ReactComponent,
|
|
1234
|
-
}); });
|
|
1211
|
+
|
|
1212
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1213
|
+
exports.Checkbox = exports.applyCheckboxMods = void 0;
|
|
1214
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1215
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1216
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1217
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Checkbox.scss */ "./components/inputs/Checkbox.scss"));
|
|
1218
|
+
var check_12_svg_1 = __webpack_require__(/*! ../../icons/check-12.svg */ "./icons/check-12.svg");
|
|
1219
|
+
var check_18_svg_1 = __webpack_require__(/*! ../../icons/check-18.svg */ "./icons/check-18.svg");
|
|
1220
|
+
var partly_select_12_svg_1 = __webpack_require__(/*! ../../icons/partly-select-12.svg */ "./icons/partly-select-12.svg");
|
|
1221
|
+
var partly_select_18_svg_1 = __webpack_require__(/*! ../../icons/partly-select-18.svg */ "./icons/partly-select-18.svg");
|
|
1222
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/checkbox.scss */ "./assets/styles/variables/inputs/checkbox.scss");
|
|
1223
|
+
function applyCheckboxMods(mods) {
|
|
1224
|
+
return [
|
|
1225
|
+
'checkbox-vars',
|
|
1226
|
+
css.root,
|
|
1227
|
+
css['size-' + (mods.size || '18')],
|
|
1228
|
+
];
|
|
1229
|
+
}
|
|
1230
|
+
exports.applyCheckboxMods = applyCheckboxMods;
|
|
1231
|
+
exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyCheckboxMods, function (props) { return ({
|
|
1232
|
+
icon: (props.size === '12') ? check_12_svg_1.ReactComponent : check_18_svg_1.ReactComponent,
|
|
1233
|
+
indeterminateIcon: (props.size === '12') ? partly_select_12_svg_1.ReactComponent : partly_select_18_svg_1.ReactComponent,
|
|
1234
|
+
}); });
|
|
1235
1235
|
|
|
1236
1236
|
|
|
1237
1237
|
/***/ }),
|
|
@@ -1244,7 +1244,7 @@ exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyChec
|
|
|
1244
1244
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1245
1245
|
|
|
1246
1246
|
// extracted by mini-css-extract-plugin
|
|
1247
|
-
module.exports = {"root":"
|
|
1247
|
+
module.exports = {"root":"_3h4NR","size-18":"_2n_ak","size18":"_2n_ak","size-12":"_1imGq","size12":"_1imGq"};
|
|
1248
1248
|
|
|
1249
1249
|
/***/ }),
|
|
1250
1250
|
|
|
@@ -1256,23 +1256,23 @@ module.exports = {"root":"_AOwZ","size-18":"_1ukad","size18":"_1ukad","size-12":
|
|
|
1256
1256
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1257
1257
|
|
|
1258
1258
|
"use strict";
|
|
1259
|
-
|
|
1260
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1261
|
-
exports.RadioInput = void 0;
|
|
1262
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1263
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1264
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1265
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/radioInput.scss */ "./assets/styles/variables/inputs/radioInput.scss");
|
|
1266
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioInput.scss */ "./components/inputs/RadioInput.scss"));
|
|
1267
|
-
var radio_point_svg_1 = __webpack_require__(/*! ../../icons/radio-point.svg */ "./icons/radio-point.svg");
|
|
1268
|
-
function applyRadioInputMods(mods) {
|
|
1269
|
-
return [
|
|
1270
|
-
'radio-input-vars',
|
|
1271
|
-
css.root,
|
|
1272
|
-
css['size-' + (mods.size || '18')],
|
|
1273
|
-
];
|
|
1274
|
-
}
|
|
1275
|
-
exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, applyRadioInputMods, function () { return ({ icon: radio_point_svg_1.ReactComponent }); });
|
|
1259
|
+
|
|
1260
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1261
|
+
exports.RadioInput = void 0;
|
|
1262
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1263
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1264
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1265
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/radioInput.scss */ "./assets/styles/variables/inputs/radioInput.scss");
|
|
1266
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioInput.scss */ "./components/inputs/RadioInput.scss"));
|
|
1267
|
+
var radio_point_svg_1 = __webpack_require__(/*! ../../icons/radio-point.svg */ "./icons/radio-point.svg");
|
|
1268
|
+
function applyRadioInputMods(mods) {
|
|
1269
|
+
return [
|
|
1270
|
+
'radio-input-vars',
|
|
1271
|
+
css.root,
|
|
1272
|
+
css['size-' + (mods.size || '18')],
|
|
1273
|
+
];
|
|
1274
|
+
}
|
|
1275
|
+
exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, applyRadioInputMods, function () { return ({ icon: radio_point_svg_1.ReactComponent }); });
|
|
1276
1276
|
|
|
1277
1277
|
|
|
1278
1278
|
/***/ }),
|
|
@@ -1285,7 +1285,7 @@ exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, apply
|
|
|
1285
1285
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1286
1286
|
|
|
1287
1287
|
// extracted by mini-css-extract-plugin
|
|
1288
|
-
module.exports = {"root":"
|
|
1288
|
+
module.exports = {"root":"_3rHDX","size-12":"OAK6I","size12":"OAK6I","size-18":"_1qbfU","size18":"_1qbfU","size-24":"_3AnSA","size24":"_3AnSA"};
|
|
1289
1289
|
|
|
1290
1290
|
/***/ }),
|
|
1291
1291
|
|
|
@@ -1297,23 +1297,23 @@ module.exports = {"root":"_3C2Tc","size-12":"_2bNT4","size12":"_2bNT4","size-18"
|
|
|
1297
1297
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1298
1298
|
|
|
1299
1299
|
"use strict";
|
|
1300
|
-
|
|
1301
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1302
|
-
exports.Switch = exports.applySwitchMods = void 0;
|
|
1303
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1304
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1305
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1306
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Switch.scss */ "./components/inputs/Switch.scss"));
|
|
1307
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/switch.scss */ "./assets/styles/variables/inputs/switch.scss");
|
|
1308
|
-
function applySwitchMods(mods) {
|
|
1309
|
-
return [
|
|
1310
|
-
'switch-vars',
|
|
1311
|
-
css.root,
|
|
1312
|
-
css['size-' + (mods.size || '18')],
|
|
1313
|
-
];
|
|
1314
|
-
}
|
|
1315
|
-
exports.applySwitchMods = applySwitchMods;
|
|
1316
|
-
exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMods);
|
|
1300
|
+
|
|
1301
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1302
|
+
exports.Switch = exports.applySwitchMods = void 0;
|
|
1303
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1304
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1305
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1306
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Switch.scss */ "./components/inputs/Switch.scss"));
|
|
1307
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/switch.scss */ "./assets/styles/variables/inputs/switch.scss");
|
|
1308
|
+
function applySwitchMods(mods) {
|
|
1309
|
+
return [
|
|
1310
|
+
'switch-vars',
|
|
1311
|
+
css.root,
|
|
1312
|
+
css['size-' + (mods.size || '18')],
|
|
1313
|
+
];
|
|
1314
|
+
}
|
|
1315
|
+
exports.applySwitchMods = applySwitchMods;
|
|
1316
|
+
exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMods);
|
|
1317
1317
|
|
|
1318
1318
|
|
|
1319
1319
|
/***/ }),
|
|
@@ -1326,7 +1326,7 @@ exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMo
|
|
|
1326
1326
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1327
1327
|
|
|
1328
1328
|
// extracted by mini-css-extract-plugin
|
|
1329
|
-
module.exports = {"root":"
|
|
1329
|
+
module.exports = {"root":"vkmSi","mode-form":"Y03lK","modeForm":"Y03lK","mode-cell":"_22h6q","modeCell":"_22h6q","size-24":"Rkkeo","size24":"Rkkeo","size-30":"JpM-n","size30":"JpM-n","size-36":"_1bd-2","size36":"_1bd-2","size-42":"_3ttD3","size42":"_3ttD3","size-48":"NQiFm","size48":"NQiFm"};
|
|
1330
1330
|
|
|
1331
1331
|
/***/ }),
|
|
1332
1332
|
|
|
@@ -1338,50 +1338,50 @@ module.exports = {"root":"_2MxFu","mode-form":"vTBZY","modeForm":"vTBZY","mode-c
|
|
|
1338
1338
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1339
1339
|
|
|
1340
1340
|
"use strict";
|
|
1341
|
-
|
|
1342
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1343
|
-
exports.SearchInput = exports.TextInput = exports.applyTextInputMods = void 0;
|
|
1344
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1345
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
1346
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1347
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1348
|
-
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
1349
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1350
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextInput.scss */ "./components/inputs/TextInput.scss"));
|
|
1351
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/textInput.scss */ "./assets/styles/variables/inputs/textInput.scss");
|
|
1352
|
-
var defaultSize = '36';
|
|
1353
|
-
var defaultMode = types_1.EditMode.FORM;
|
|
1354
|
-
function applyTextInputMods(mods) {
|
|
1355
|
-
return [
|
|
1356
|
-
'text-input-vars',
|
|
1357
|
-
css.root,
|
|
1358
|
-
css['size-' + (mods.size || defaultSize)],
|
|
1359
|
-
css['mode-' + (mods.mode || defaultMode)],
|
|
1360
|
-
];
|
|
1361
|
-
}
|
|
1362
|
-
exports.applyTextInputMods = applyTextInputMods;
|
|
1363
|
-
exports.TextInput = (0, uui_core_1.withMods)(uui_components_1.TextInput, applyTextInputMods, function (props) { return ({
|
|
1364
|
-
acceptIcon: icons_1.systemIcons[props.size || defaultSize].accept,
|
|
1365
|
-
cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1366
|
-
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1367
|
-
}); });
|
|
1368
|
-
var SearchInput = /** @class */ (function (_super) {
|
|
1369
|
-
(0, tslib_1.__extends)(SearchInput, _super);
|
|
1370
|
-
function SearchInput() {
|
|
1371
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1372
|
-
}
|
|
1373
|
-
SearchInput.prototype.render = function () {
|
|
1374
|
-
var _this = this;
|
|
1375
|
-
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
1376
|
-
var textInputProps = (0, tslib_1.__assign)({}, this.props);
|
|
1377
|
-
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1378
|
-
return react_1.default.createElement(uui_core_1.IEditableDebouncer, (0, tslib_1.__assign)({}, this.props, { render: (function (iEditable) {
|
|
1379
|
-
return react_1.default.createElement(exports.TextInput, (0, tslib_1.__assign)({ icon: icons_1.systemIcons[_this.props.size || defaultSize].search, onCancel: !!_this.props.value ? (function () { return iEditable.onValueChange(''); }) : undefined, type: "search", inputMode: "search" }, textInputProps, iEditable));
|
|
1380
|
-
}) }));
|
|
1381
|
-
};
|
|
1382
|
-
return SearchInput;
|
|
1383
|
-
}(react_1.default.Component));
|
|
1384
|
-
exports.SearchInput = SearchInput;
|
|
1341
|
+
|
|
1342
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1343
|
+
exports.SearchInput = exports.TextInput = exports.applyTextInputMods = void 0;
|
|
1344
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1345
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
1346
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1347
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1348
|
+
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
1349
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1350
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextInput.scss */ "./components/inputs/TextInput.scss"));
|
|
1351
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/textInput.scss */ "./assets/styles/variables/inputs/textInput.scss");
|
|
1352
|
+
var defaultSize = '36';
|
|
1353
|
+
var defaultMode = types_1.EditMode.FORM;
|
|
1354
|
+
function applyTextInputMods(mods) {
|
|
1355
|
+
return [
|
|
1356
|
+
'text-input-vars',
|
|
1357
|
+
css.root,
|
|
1358
|
+
css['size-' + (mods.size || defaultSize)],
|
|
1359
|
+
css['mode-' + (mods.mode || defaultMode)],
|
|
1360
|
+
];
|
|
1361
|
+
}
|
|
1362
|
+
exports.applyTextInputMods = applyTextInputMods;
|
|
1363
|
+
exports.TextInput = (0, uui_core_1.withMods)(uui_components_1.TextInput, applyTextInputMods, function (props) { return ({
|
|
1364
|
+
acceptIcon: icons_1.systemIcons[props.size || defaultSize].accept,
|
|
1365
|
+
cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1366
|
+
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1367
|
+
}); });
|
|
1368
|
+
var SearchInput = /** @class */ (function (_super) {
|
|
1369
|
+
(0, tslib_1.__extends)(SearchInput, _super);
|
|
1370
|
+
function SearchInput() {
|
|
1371
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1372
|
+
}
|
|
1373
|
+
SearchInput.prototype.render = function () {
|
|
1374
|
+
var _this = this;
|
|
1375
|
+
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
1376
|
+
var textInputProps = (0, tslib_1.__assign)({}, this.props);
|
|
1377
|
+
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1378
|
+
return react_1.default.createElement(uui_core_1.IEditableDebouncer, (0, tslib_1.__assign)({}, this.props, { render: (function (iEditable) {
|
|
1379
|
+
return react_1.default.createElement(exports.TextInput, (0, tslib_1.__assign)({ icon: icons_1.systemIcons[_this.props.size || defaultSize].search, onCancel: !!_this.props.value ? (function () { return iEditable.onValueChange(''); }) : undefined, type: "search", inputMode: "search" }, textInputProps, iEditable));
|
|
1380
|
+
}) }));
|
|
1381
|
+
};
|
|
1382
|
+
return SearchInput;
|
|
1383
|
+
}(react_1.default.Component));
|
|
1384
|
+
exports.SearchInput = SearchInput;
|
|
1385
1385
|
|
|
1386
1386
|
|
|
1387
1387
|
/***/ }),
|
|
@@ -1394,13 +1394,13 @@ exports.SearchInput = SearchInput;
|
|
|
1394
1394
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1395
1395
|
|
|
1396
1396
|
"use strict";
|
|
1397
|
-
|
|
1398
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1399
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1400
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Checkbox */ "./components/inputs/Checkbox.tsx"), exports);
|
|
1401
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioInput */ "./components/inputs/RadioInput.tsx"), exports);
|
|
1402
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Switch */ "./components/inputs/Switch.tsx"), exports);
|
|
1403
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextInput */ "./components/inputs/TextInput.tsx"), exports);
|
|
1397
|
+
|
|
1398
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1399
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1400
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Checkbox */ "./components/inputs/Checkbox.tsx"), exports);
|
|
1401
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioInput */ "./components/inputs/RadioInput.tsx"), exports);
|
|
1402
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Switch */ "./components/inputs/Switch.tsx"), exports);
|
|
1403
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextInput */ "./components/inputs/TextInput.tsx"), exports);
|
|
1404
1404
|
|
|
1405
1405
|
|
|
1406
1406
|
/***/ }),
|
|
@@ -1413,7 +1413,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1413
1413
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1414
1414
|
|
|
1415
1415
|
// extracted by mini-css-extract-plugin
|
|
1416
|
-
module.exports = {"root":"
|
|
1416
|
+
module.exports = {"root":"_3hMvN","mode-block":"jU9zB","modeBlock":"jU9zB","mode-inline":"_3-Vg2","modeInline":"_3-Vg2","padding-0":"_6kCOx","padding0":"_6kCOx","padding-6":"_3zLlj","padding6":"_3zLlj","padding-12":"_25oZy","padding12":"_25oZy","padding-18":"_2KVG2","padding18":"_2KVG2"};
|
|
1417
1417
|
|
|
1418
1418
|
/***/ }),
|
|
1419
1419
|
|
|
@@ -1425,26 +1425,26 @@ module.exports = {"root":"Gq27a","mode-block":"_2IDUo","modeBlock":"_2IDUo","mod
|
|
|
1425
1425
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1426
1426
|
|
|
1427
1427
|
"use strict";
|
|
1428
|
-
|
|
1429
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1430
|
-
exports.Accordion = void 0;
|
|
1431
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1432
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1433
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1434
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1435
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/accordion.scss */ "./assets/styles/variables/layout/accordion.scss");
|
|
1436
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Accordion.scss */ "./components/layout/Accordion.scss"));
|
|
1437
|
-
function applyAccordionMods(mods) {
|
|
1438
|
-
return [
|
|
1439
|
-
'accordion-vars',
|
|
1440
|
-
css.root,
|
|
1441
|
-
css['mode-' + (mods.mode || 'block')],
|
|
1442
|
-
mods.padding && css['padding-' + mods.padding],
|
|
1443
|
-
];
|
|
1444
|
-
}
|
|
1445
|
-
exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAccordionMods, function (mods) { return ({
|
|
1446
|
-
dropdownIcon: icons_1.systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
1447
|
-
}); });
|
|
1428
|
+
|
|
1429
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1430
|
+
exports.Accordion = void 0;
|
|
1431
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1432
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1433
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1434
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1435
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/accordion.scss */ "./assets/styles/variables/layout/accordion.scss");
|
|
1436
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Accordion.scss */ "./components/layout/Accordion.scss"));
|
|
1437
|
+
function applyAccordionMods(mods) {
|
|
1438
|
+
return [
|
|
1439
|
+
'accordion-vars',
|
|
1440
|
+
css.root,
|
|
1441
|
+
css['mode-' + (mods.mode || 'block')],
|
|
1442
|
+
mods.padding && css['padding-' + mods.padding],
|
|
1443
|
+
];
|
|
1444
|
+
}
|
|
1445
|
+
exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAccordionMods, function (mods) { return ({
|
|
1446
|
+
dropdownIcon: icons_1.systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
1447
|
+
}); });
|
|
1448
1448
|
|
|
1449
1449
|
|
|
1450
1450
|
/***/ }),
|
|
@@ -1457,7 +1457,7 @@ exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAc
|
|
|
1457
1457
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1458
1458
|
|
|
1459
1459
|
// extracted by mini-css-extract-plugin
|
|
1460
|
-
module.exports = {"root":"
|
|
1460
|
+
module.exports = {"root":"_1HVAZ"};
|
|
1461
1461
|
|
|
1462
1462
|
/***/ }),
|
|
1463
1463
|
|
|
@@ -1469,14 +1469,14 @@ module.exports = {"root":"_1qOBt"};
|
|
|
1469
1469
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1470
1470
|
|
|
1471
1471
|
"use strict";
|
|
1472
|
-
|
|
1473
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1474
|
-
exports.ControlGroup = void 0;
|
|
1475
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1476
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./ControlGroup.scss */ "./components/layout/ControlGroup.scss"));
|
|
1477
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1478
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1479
|
-
exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, function () { return [css.root]; });
|
|
1472
|
+
|
|
1473
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1474
|
+
exports.ControlGroup = void 0;
|
|
1475
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1476
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./ControlGroup.scss */ "./components/layout/ControlGroup.scss"));
|
|
1477
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1478
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1479
|
+
exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, function () { return [css.root]; });
|
|
1480
1480
|
|
|
1481
1481
|
|
|
1482
1482
|
/***/ }),
|
|
@@ -1489,16 +1489,16 @@ exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, f
|
|
|
1489
1489
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1490
1490
|
|
|
1491
1491
|
"use strict";
|
|
1492
|
-
|
|
1493
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1494
|
-
exports.FlexCell = void 0;
|
|
1495
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1496
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1497
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1498
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1499
|
-
exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function (props) { return [
|
|
1500
|
-
css.flexCell,
|
|
1501
|
-
]; });
|
|
1492
|
+
|
|
1493
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1494
|
+
exports.FlexCell = void 0;
|
|
1495
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1496
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1497
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1498
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1499
|
+
exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function (props) { return [
|
|
1500
|
+
css.flexCell,
|
|
1501
|
+
]; });
|
|
1502
1502
|
|
|
1503
1503
|
|
|
1504
1504
|
/***/ }),
|
|
@@ -1511,7 +1511,7 @@ exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function
|
|
|
1511
1511
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1512
1512
|
|
|
1513
1513
|
// extracted by mini-css-extract-plugin
|
|
1514
|
-
module.exports = {"root":"
|
|
1514
|
+
module.exports = {"root":"iKySE","top-shadow":"_3AHqC","topShadow":"_3AHqC","size-24":"_1Uubr","size24":"_1Uubr","size-30":"_1VJiJ","size30":"_1VJiJ","size-36":"_20Ob3","size36":"_20Ob3","size-42":"_1YV5y","size42":"_1YV5y","size-48":"m0Ip0","size48":"m0Ip0","padding-6":"_1NZsP","padding6":"_1NZsP","padding-12":"_3iTR5","padding12":"_3iTR5","padding-18":"_2Ohfj","padding18":"_2Ohfj","padding-24":"r6qLP","padding24":"r6qLP","margin-24":"_2vyrE","margin24":"_2vyrE","margin-12":"JyKv2","margin12":"JyKv2","vPadding-12":"mAe7N","vPadding12":"mAe7N","vPadding-18":"NXeyJ","vPadding18":"NXeyJ","vPadding-24":"_1en7j","vPadding24":"_1en7j","vPadding-36":"_3NwpY","vPadding36":"_3NwpY","vPadding-48":"_2p4AP","vPadding48":"_2p4AP","spacing-6":"_1TvA6","spacing6":"_1TvA6","spacing-12":"_1enEU","spacing12":"_1enEU","spacing-18":"_2g-rw","spacing18":"_2g-rw","border-bottom":"_1yGe4","borderBottom":"_1yGe4"};
|
|
1515
1515
|
|
|
1516
1516
|
/***/ }),
|
|
1517
1517
|
|
|
@@ -1523,25 +1523,25 @@ module.exports = {"root":"_3ey8k","top-shadow":"_56yqR","topShadow":"_56yqR","si
|
|
|
1523
1523
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1524
1524
|
|
|
1525
1525
|
"use strict";
|
|
1526
|
-
|
|
1527
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1528
|
-
exports.FlexRow = void 0;
|
|
1529
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1530
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1531
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1532
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1533
|
-
exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (props) {
|
|
1534
|
-
return [
|
|
1535
|
-
css.root,
|
|
1536
|
-
props.size !== null && css['size-' + (props.size || '36')],
|
|
1537
|
-
props.padding && css['padding-' + props.padding],
|
|
1538
|
-
props.vPadding && css['vPadding-' + props.vPadding],
|
|
1539
|
-
props.margin && css['margin-' + props.margin],
|
|
1540
|
-
props.topShadow && css.topShadow,
|
|
1541
|
-
props.borderBottom && css['border-bottom'],
|
|
1542
|
-
props.spacing && css['spacing-' + props.spacing],
|
|
1543
|
-
];
|
|
1544
|
-
});
|
|
1526
|
+
|
|
1527
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1528
|
+
exports.FlexRow = void 0;
|
|
1529
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1530
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1531
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1532
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1533
|
+
exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (props) {
|
|
1534
|
+
return [
|
|
1535
|
+
css.root,
|
|
1536
|
+
props.size !== null && css['size-' + (props.size || '36')],
|
|
1537
|
+
props.padding && css['padding-' + props.padding],
|
|
1538
|
+
props.vPadding && css['vPadding-' + props.vPadding],
|
|
1539
|
+
props.margin && css['margin-' + props.margin],
|
|
1540
|
+
props.topShadow && css.topShadow,
|
|
1541
|
+
props.borderBottom && css['border-bottom'],
|
|
1542
|
+
props.spacing && css['spacing-' + props.spacing],
|
|
1543
|
+
];
|
|
1544
|
+
});
|
|
1545
1545
|
|
|
1546
1546
|
|
|
1547
1547
|
/***/ }),
|
|
@@ -1554,11 +1554,11 @@ exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (p
|
|
|
1554
1554
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1555
1555
|
|
|
1556
1556
|
"use strict";
|
|
1557
|
-
|
|
1558
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1559
|
-
exports.FlexSpacer = void 0;
|
|
1560
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1561
|
-
exports.FlexSpacer = uui_components_1.FlexSpacer;
|
|
1557
|
+
|
|
1558
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1559
|
+
exports.FlexSpacer = void 0;
|
|
1560
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1561
|
+
exports.FlexSpacer = uui_components_1.FlexSpacer;
|
|
1562
1562
|
|
|
1563
1563
|
|
|
1564
1564
|
/***/ }),
|
|
@@ -1571,7 +1571,7 @@ exports.FlexSpacer = uui_components_1.FlexSpacer;
|
|
|
1571
1571
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1572
1572
|
|
|
1573
1573
|
// extracted by mini-css-extract-plugin
|
|
1574
|
-
module.exports = {"root":"
|
|
1574
|
+
module.exports = {"root":"IEt2r","background":"_2VAhC","margin-24":"_2i0K6","margin24":"_2i0K6","padding-12":"_27MTi","padding12":"_27MTi","padding-24":"_1xQVY","padding24":"_1xQVY","shadow":"_24KxZ"};
|
|
1575
1575
|
|
|
1576
1576
|
/***/ }),
|
|
1577
1577
|
|
|
@@ -1583,21 +1583,21 @@ module.exports = {"root":"_2u4ZL","background":"_1RDfT","margin-24":"_3x5uG","ma
|
|
|
1583
1583
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1584
1584
|
|
|
1585
1585
|
"use strict";
|
|
1586
|
-
|
|
1587
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1588
|
-
exports.Panel = void 0;
|
|
1589
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1590
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1591
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1592
|
-
__webpack_require__(/*! ../../../assets/styles/variables/layout/panel.scss */ "./assets/styles/variables/layout/panel.scss");
|
|
1593
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Panel.scss */ "./components/layout/FlexItems/Panel.scss"));
|
|
1594
|
-
exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (props) { return [
|
|
1595
|
-
'panel-vars',
|
|
1596
|
-
css.root,
|
|
1597
|
-
props.shadow && css.shadow,
|
|
1598
|
-
props.background && css.background,
|
|
1599
|
-
props.margin && css['margin-' + props.margin],
|
|
1600
|
-
]; });
|
|
1586
|
+
|
|
1587
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1588
|
+
exports.Panel = void 0;
|
|
1589
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1590
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1591
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1592
|
+
__webpack_require__(/*! ../../../assets/styles/variables/layout/panel.scss */ "./assets/styles/variables/layout/panel.scss");
|
|
1593
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Panel.scss */ "./components/layout/FlexItems/Panel.scss"));
|
|
1594
|
+
exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (props) { return [
|
|
1595
|
+
'panel-vars',
|
|
1596
|
+
css.root,
|
|
1597
|
+
props.shadow && css.shadow,
|
|
1598
|
+
props.background && css.background,
|
|
1599
|
+
props.margin && css['margin-' + props.margin],
|
|
1600
|
+
]; });
|
|
1601
1601
|
|
|
1602
1602
|
|
|
1603
1603
|
/***/ }),
|
|
@@ -1610,13 +1610,13 @@ exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (prop
|
|
|
1610
1610
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1611
1611
|
|
|
1612
1612
|
"use strict";
|
|
1613
|
-
|
|
1614
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1615
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1616
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexCell */ "./components/layout/FlexItems/FlexCell.tsx"), exports);
|
|
1617
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexRow */ "./components/layout/FlexItems/FlexRow.tsx"), exports);
|
|
1618
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexSpacer */ "./components/layout/FlexItems/FlexSpacer.tsx"), exports);
|
|
1619
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Panel */ "./components/layout/FlexItems/Panel.tsx"), exports);
|
|
1613
|
+
|
|
1614
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1615
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1616
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexCell */ "./components/layout/FlexItems/FlexCell.tsx"), exports);
|
|
1617
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexRow */ "./components/layout/FlexItems/FlexRow.tsx"), exports);
|
|
1618
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexSpacer */ "./components/layout/FlexItems/FlexSpacer.tsx"), exports);
|
|
1619
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Panel */ "./components/layout/FlexItems/Panel.tsx"), exports);
|
|
1620
1620
|
|
|
1621
1621
|
|
|
1622
1622
|
/***/ }),
|
|
@@ -1629,7 +1629,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1629
1629
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1630
1630
|
|
|
1631
1631
|
// extracted by mini-css-extract-plugin
|
|
1632
|
-
module.exports = {"root":"
|
|
1632
|
+
module.exports = {"root":"_2fyS4"};
|
|
1633
1633
|
|
|
1634
1634
|
/***/ }),
|
|
1635
1635
|
|
|
@@ -1641,22 +1641,22 @@ module.exports = {"root":"_2-2nR"};
|
|
|
1641
1641
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1642
1642
|
|
|
1643
1643
|
"use strict";
|
|
1644
|
-
|
|
1645
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1646
|
-
exports.IconContainer = exports.applyIconContainerMods = void 0;
|
|
1647
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1648
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1649
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1650
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconContainer.scss */ "./components/layout/IconContainer.scss"));
|
|
1651
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/iconContainer.scss */ "./assets/styles/variables/layout/iconContainer.scss");
|
|
1652
|
-
function applyIconContainerMods(mods) {
|
|
1653
|
-
return [
|
|
1654
|
-
"icon-container-color-".concat(mods.color || 'default'),
|
|
1655
|
-
css.root,
|
|
1656
|
-
];
|
|
1657
|
-
}
|
|
1658
|
-
exports.applyIconContainerMods = applyIconContainerMods;
|
|
1659
|
-
exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer, applyIconContainerMods, function () { return ({ tabIndex: 0 }); });
|
|
1644
|
+
|
|
1645
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1646
|
+
exports.IconContainer = exports.applyIconContainerMods = void 0;
|
|
1647
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1648
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1649
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1650
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconContainer.scss */ "./components/layout/IconContainer.scss"));
|
|
1651
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/iconContainer.scss */ "./assets/styles/variables/layout/iconContainer.scss");
|
|
1652
|
+
function applyIconContainerMods(mods) {
|
|
1653
|
+
return [
|
|
1654
|
+
"icon-container-color-".concat(mods.color || 'default'),
|
|
1655
|
+
css.root,
|
|
1656
|
+
];
|
|
1657
|
+
}
|
|
1658
|
+
exports.applyIconContainerMods = applyIconContainerMods;
|
|
1659
|
+
exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer, applyIconContainerMods, function () { return ({ tabIndex: 0 }); });
|
|
1660
1660
|
|
|
1661
1661
|
|
|
1662
1662
|
/***/ }),
|
|
@@ -1669,7 +1669,7 @@ exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer,
|
|
|
1669
1669
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1670
1670
|
|
|
1671
1671
|
// extracted by mini-css-extract-plugin
|
|
1672
|
-
module.exports = {"root":"
|
|
1672
|
+
module.exports = {"root":"_1xd0Q","size-24":"hgAxi","size24":"hgAxi","size-30":"_1AsFO","size30":"_1AsFO","size-36":"_1TpO8","size36":"_1TpO8","size-42":"_1fzcy","size42":"_1fzcy","size-48":"_3olDq","size48":"_3olDq"};
|
|
1673
1673
|
|
|
1674
1674
|
/***/ }),
|
|
1675
1675
|
|
|
@@ -1681,28 +1681,28 @@ module.exports = {"root":"_2KGem","size-24":"_26tCr","size24":"_26tCr","size-30"
|
|
|
1681
1681
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1682
1682
|
|
|
1683
1683
|
"use strict";
|
|
1684
|
-
|
|
1685
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1686
|
-
exports.LabeledInput = void 0;
|
|
1687
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1688
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1689
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1690
|
-
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
1691
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1692
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/labeledInput.scss */ "./assets/styles/variables/layout/labeledInput.scss");
|
|
1693
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LabeledInput.scss */ "./components/layout/LabeledInput.scss"));
|
|
1694
|
-
var defaultSize = '36';
|
|
1695
|
-
function applyLabeledInputMods(mods) {
|
|
1696
|
-
return [
|
|
1697
|
-
'labeled-input-vars',
|
|
1698
|
-
css.root,
|
|
1699
|
-
css['size-' + (mods.size || defaultSize)],
|
|
1700
|
-
];
|
|
1701
|
-
}
|
|
1702
|
-
exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, applyLabeledInputMods, function (props) { return ({
|
|
1703
|
-
Tooltip: overlays_1.Tooltip,
|
|
1704
|
-
infoIcon: icons_1.systemIcons[props.size || defaultSize].help,
|
|
1705
|
-
}); });
|
|
1684
|
+
|
|
1685
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1686
|
+
exports.LabeledInput = void 0;
|
|
1687
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1688
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1689
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1690
|
+
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
1691
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1692
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/labeledInput.scss */ "./assets/styles/variables/layout/labeledInput.scss");
|
|
1693
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LabeledInput.scss */ "./components/layout/LabeledInput.scss"));
|
|
1694
|
+
var defaultSize = '36';
|
|
1695
|
+
function applyLabeledInputMods(mods) {
|
|
1696
|
+
return [
|
|
1697
|
+
'labeled-input-vars',
|
|
1698
|
+
css.root,
|
|
1699
|
+
css['size-' + (mods.size || defaultSize)],
|
|
1700
|
+
];
|
|
1701
|
+
}
|
|
1702
|
+
exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, applyLabeledInputMods, function (props) { return ({
|
|
1703
|
+
Tooltip: overlays_1.Tooltip,
|
|
1704
|
+
infoIcon: icons_1.systemIcons[props.size || defaultSize].help,
|
|
1705
|
+
}); });
|
|
1706
1706
|
|
|
1707
1707
|
|
|
1708
1708
|
/***/ }),
|
|
@@ -1715,7 +1715,7 @@ exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, a
|
|
|
1715
1715
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1716
1716
|
|
|
1717
1717
|
// extracted by mini-css-extract-plugin
|
|
1718
|
-
module.exports = {"root":"
|
|
1718
|
+
module.exports = {"root":"_1ED2B"};
|
|
1719
1719
|
|
|
1720
1720
|
/***/ }),
|
|
1721
1721
|
|
|
@@ -1727,15 +1727,15 @@ module.exports = {"root":"_3lHrl"};
|
|
|
1727
1727
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1728
1728
|
|
|
1729
1729
|
"use strict";
|
|
1730
|
-
|
|
1731
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1732
|
-
exports.RadioGroup = void 0;
|
|
1733
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1734
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1735
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1736
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1737
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioGroup.scss */ "./components/layout/RadioGroup.scss"));
|
|
1738
|
-
exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, function () { return [css.root]; }, function () { return ({ RadioInput: inputs_1.RadioInput }); });
|
|
1730
|
+
|
|
1731
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1732
|
+
exports.RadioGroup = void 0;
|
|
1733
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1734
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1735
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1736
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1737
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioGroup.scss */ "./components/layout/RadioGroup.scss"));
|
|
1738
|
+
exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, function () { return [css.root]; }, function () { return ({ RadioInput: inputs_1.RadioInput }); });
|
|
1739
1739
|
|
|
1740
1740
|
|
|
1741
1741
|
/***/ }),
|
|
@@ -1759,19 +1759,19 @@ exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, funct
|
|
|
1759
1759
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1760
1760
|
|
|
1761
1761
|
"use strict";
|
|
1762
|
-
|
|
1763
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1764
|
-
exports.ScrollBars = void 0;
|
|
1765
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1766
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1767
|
-
__webpack_require__(/*! ./ScrollBars.scss */ "./components/layout/ScrollBars.scss");
|
|
1768
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1769
|
-
function applyScrollBarsMods() {
|
|
1770
|
-
return [
|
|
1771
|
-
'scroll-bars-vars',
|
|
1772
|
-
];
|
|
1773
|
-
}
|
|
1774
|
-
exports.ScrollBars = (0, uui_core_1.withMods)(uui_components_1.ScrollBars, applyScrollBarsMods);
|
|
1762
|
+
|
|
1763
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1764
|
+
exports.ScrollBars = void 0;
|
|
1765
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1766
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1767
|
+
__webpack_require__(/*! ./ScrollBars.scss */ "./components/layout/ScrollBars.scss");
|
|
1768
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1769
|
+
function applyScrollBarsMods() {
|
|
1770
|
+
return [
|
|
1771
|
+
'scroll-bars-vars',
|
|
1772
|
+
];
|
|
1773
|
+
}
|
|
1774
|
+
exports.ScrollBars = (0, uui_core_1.withMods)(uui_components_1.ScrollBars, applyScrollBarsMods);
|
|
1775
1775
|
|
|
1776
1776
|
|
|
1777
1777
|
/***/ }),
|
|
@@ -1795,19 +1795,19 @@ exports.ScrollBars = (0, uui_core_1.withMods)(uui_components_1.ScrollBars, apply
|
|
|
1795
1795
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1796
1796
|
|
|
1797
1797
|
"use strict";
|
|
1798
|
-
|
|
1799
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1800
|
-
exports.VirtualList = void 0;
|
|
1801
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1802
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1803
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1804
|
-
__webpack_require__(/*! ./VirtualList.scss */ "./components/layout/VirtualList.scss");
|
|
1805
|
-
function applyVirtualListMods() {
|
|
1806
|
-
return [
|
|
1807
|
-
'scroll-bars-vars',
|
|
1808
|
-
];
|
|
1809
|
-
}
|
|
1810
|
-
exports.VirtualList = (0, uui_core_1.withMods)(uui_components_1.VirtualList, applyVirtualListMods);
|
|
1798
|
+
|
|
1799
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1800
|
+
exports.VirtualList = void 0;
|
|
1801
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1802
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1803
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1804
|
+
__webpack_require__(/*! ./VirtualList.scss */ "./components/layout/VirtualList.scss");
|
|
1805
|
+
function applyVirtualListMods() {
|
|
1806
|
+
return [
|
|
1807
|
+
'scroll-bars-vars',
|
|
1808
|
+
];
|
|
1809
|
+
}
|
|
1810
|
+
exports.VirtualList = (0, uui_core_1.withMods)(uui_components_1.VirtualList, applyVirtualListMods);
|
|
1811
1811
|
|
|
1812
1812
|
|
|
1813
1813
|
/***/ }),
|
|
@@ -1820,17 +1820,17 @@ exports.VirtualList = (0, uui_core_1.withMods)(uui_components_1.VirtualList, app
|
|
|
1820
1820
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1821
1821
|
|
|
1822
1822
|
"use strict";
|
|
1823
|
-
|
|
1824
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1825
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1826
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Accordion */ "./components/layout/Accordion.tsx"), exports);
|
|
1827
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ControlGroup */ "./components/layout/ControlGroup.tsx"), exports);
|
|
1828
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexItems */ "./components/layout/FlexItems/index.ts"), exports);
|
|
1829
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconContainer */ "./components/layout/IconContainer.tsx"), exports);
|
|
1830
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LabeledInput */ "./components/layout/LabeledInput.tsx"), exports);
|
|
1831
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioGroup */ "./components/layout/RadioGroup.tsx"), exports);
|
|
1832
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ScrollBars */ "./components/layout/ScrollBars.tsx"), exports);
|
|
1833
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VirtualList */ "./components/layout/VirtualList.tsx"), exports);
|
|
1823
|
+
|
|
1824
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1825
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1826
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Accordion */ "./components/layout/Accordion.tsx"), exports);
|
|
1827
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ControlGroup */ "./components/layout/ControlGroup.tsx"), exports);
|
|
1828
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexItems */ "./components/layout/FlexItems/index.ts"), exports);
|
|
1829
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconContainer */ "./components/layout/IconContainer.tsx"), exports);
|
|
1830
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LabeledInput */ "./components/layout/LabeledInput.tsx"), exports);
|
|
1831
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioGroup */ "./components/layout/RadioGroup.tsx"), exports);
|
|
1832
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ScrollBars */ "./components/layout/ScrollBars.tsx"), exports);
|
|
1833
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VirtualList */ "./components/layout/VirtualList.tsx"), exports);
|
|
1834
1834
|
|
|
1835
1835
|
|
|
1836
1836
|
/***/ }),
|
|
@@ -1843,23 +1843,23 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1843
1843
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1844
1844
|
|
|
1845
1845
|
"use strict";
|
|
1846
|
-
|
|
1847
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1848
|
-
exports.Dropdown = void 0;
|
|
1849
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1850
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1851
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1852
|
-
var Dropdown = /** @class */ (function (_super) {
|
|
1853
|
-
(0, tslib_1.__extends)(Dropdown, _super);
|
|
1854
|
-
function Dropdown() {
|
|
1855
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1856
|
-
}
|
|
1857
|
-
Dropdown.prototype.render = function () {
|
|
1858
|
-
return (React.createElement(uui_components_1.Dropdown, (0, tslib_1.__assign)({}, this.props)));
|
|
1859
|
-
};
|
|
1860
|
-
return Dropdown;
|
|
1861
|
-
}(React.Component));
|
|
1862
|
-
exports.Dropdown = Dropdown;
|
|
1846
|
+
|
|
1847
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1848
|
+
exports.Dropdown = void 0;
|
|
1849
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1850
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1851
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1852
|
+
var Dropdown = /** @class */ (function (_super) {
|
|
1853
|
+
(0, tslib_1.__extends)(Dropdown, _super);
|
|
1854
|
+
function Dropdown() {
|
|
1855
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1856
|
+
}
|
|
1857
|
+
Dropdown.prototype.render = function () {
|
|
1858
|
+
return (React.createElement(uui_components_1.Dropdown, (0, tslib_1.__assign)({}, this.props)));
|
|
1859
|
+
};
|
|
1860
|
+
return Dropdown;
|
|
1861
|
+
}(React.Component));
|
|
1862
|
+
exports.Dropdown = Dropdown;
|
|
1863
1863
|
|
|
1864
1864
|
|
|
1865
1865
|
/***/ }),
|
|
@@ -1872,7 +1872,7 @@ exports.Dropdown = Dropdown;
|
|
|
1872
1872
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1873
1873
|
|
|
1874
1874
|
// extracted by mini-css-extract-plugin
|
|
1875
|
-
module.exports = {"root":"
|
|
1875
|
+
module.exports = {"root":"ddmij"};
|
|
1876
1876
|
|
|
1877
1877
|
/***/ }),
|
|
1878
1878
|
|
|
@@ -1884,21 +1884,21 @@ module.exports = {"root":"szqB4"};
|
|
|
1884
1884
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1885
1885
|
|
|
1886
1886
|
"use strict";
|
|
1887
|
-
|
|
1888
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1889
|
-
exports.DropdownContainer = void 0;
|
|
1890
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1891
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1892
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1893
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/dropdownContainer.scss */ "./assets/styles/variables/overlays/dropdownContainer.scss");
|
|
1894
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownContainer.scss */ "./components/overlays/DropdownContainer.scss"));
|
|
1895
|
-
function applyDropdownContainerMods(mods) {
|
|
1896
|
-
return [
|
|
1897
|
-
'dropdown-container-vars',
|
|
1898
|
-
css.root,
|
|
1899
|
-
];
|
|
1900
|
-
}
|
|
1901
|
-
exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownContainer, applyDropdownContainerMods);
|
|
1887
|
+
|
|
1888
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1889
|
+
exports.DropdownContainer = void 0;
|
|
1890
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1891
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1892
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1893
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/dropdownContainer.scss */ "./assets/styles/variables/overlays/dropdownContainer.scss");
|
|
1894
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownContainer.scss */ "./components/overlays/DropdownContainer.scss"));
|
|
1895
|
+
function applyDropdownContainerMods(mods) {
|
|
1896
|
+
return [
|
|
1897
|
+
'dropdown-container-vars',
|
|
1898
|
+
css.root,
|
|
1899
|
+
];
|
|
1900
|
+
}
|
|
1901
|
+
exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownContainer, applyDropdownContainerMods);
|
|
1902
1902
|
|
|
1903
1903
|
|
|
1904
1904
|
/***/ }),
|
|
@@ -1911,7 +1911,7 @@ exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownCo
|
|
|
1911
1911
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1912
1912
|
|
|
1913
1913
|
// extracted by mini-css-extract-plugin
|
|
1914
|
-
module.exports = {"menuRoot":"
|
|
1914
|
+
module.exports = {"menuRoot":"_1Yydx","bodyRoot":"_2oj9X","submenuRootItem":"_2hwhR","iconAfter":"MK3ld","iconCheck":"_15d-D","splitterRoot":"_3eQAx","splitter":"_9hJ0U","headerRoot":"_1tZSd","itemRoot":"iNrnt","icon":"xn710","link":"hF_Tg"};
|
|
1915
1915
|
|
|
1916
1916
|
/***/ }),
|
|
1917
1917
|
|
|
@@ -1923,136 +1923,136 @@ module.exports = {"menuRoot":"p-rrU","bodyRoot":"WPQRc","submenuRootItem":"cFXVN
|
|
|
1923
1923
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1924
1924
|
|
|
1925
1925
|
"use strict";
|
|
1926
|
-
|
|
1927
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1928
|
-
exports.DropdownMenuSwitchButton = exports.DropdownSubMenu = exports.DropdownMenuHeader = exports.DropdownMenuSplitter = exports.DropdownMenuButton = exports.DropdownMenuBody = exports.DropdownControlKeys = void 0;
|
|
1929
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1930
|
-
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1931
|
-
var react_focus_lock_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react-focus-lock */ "react-focus-lock"));
|
|
1932
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1933
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1934
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1935
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1936
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownMenu.scss */ "./components/overlays/DropdownMenu.scss"));
|
|
1937
|
-
var icons = icons_1.systemIcons['36'];
|
|
1938
|
-
exports.DropdownControlKeys = {
|
|
1939
|
-
ENTER: 'Enter',
|
|
1940
|
-
ESCAPE: 'Escape',
|
|
1941
|
-
LEFT_ARROW: 'ArrowLeft',
|
|
1942
|
-
RIGHT_ARROW: 'ArrowRight',
|
|
1943
|
-
UP_ARROW: 'ArrowUp',
|
|
1944
|
-
DOWN_ARROW: 'ArrowDown',
|
|
1945
|
-
};
|
|
1946
|
-
var DropdownMenuContainer = function (_a) {
|
|
1947
|
-
var onClose = _a.onClose, _b = _a.closeOnKey, closeOnKey = _b === void 0 ? exports.DropdownControlKeys.ESCAPE : _b, props = (0, tslib_1.__rest)(_a, ["onClose", "closeOnKey"]);
|
|
1948
|
-
var menuRef = (0, react_1.useRef)(null);
|
|
1949
|
-
var _c = (0, react_1.useState)(-1), currentlyFocused = _c[0], setFocused = _c[1];
|
|
1950
|
-
var menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll("[role=\"menuitem\"]:not(.".concat(uui_core_1.uuiMod.disabled, ")"))) : [];
|
|
1951
|
-
(0, react_1.useEffect)(function () {
|
|
1952
|
-
var _a;
|
|
1953
|
-
(_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1954
|
-
}, [menuRef.current]);
|
|
1955
|
-
var changeFocus = function (nextFocusedIndex) {
|
|
1956
|
-
if (menuItems.length > 0) {
|
|
1957
|
-
setFocused(nextFocusedIndex);
|
|
1958
|
-
menuItems[nextFocusedIndex].focus();
|
|
1959
|
-
}
|
|
1960
|
-
};
|
|
1961
|
-
var handleArrowKeys = function (e) {
|
|
1962
|
-
e.stopPropagation();
|
|
1963
|
-
var lastMenuItemsIndex = menuItems.length - 1;
|
|
1964
|
-
if (e.key === exports.DropdownControlKeys.UP_ARROW) {
|
|
1965
|
-
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
1966
|
-
}
|
|
1967
|
-
else if (e.key === exports.DropdownControlKeys.DOWN_ARROW) {
|
|
1968
|
-
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
1969
|
-
}
|
|
1970
|
-
else if (e.key === closeOnKey && onClose) {
|
|
1971
|
-
onClose();
|
|
1972
|
-
}
|
|
1973
|
-
};
|
|
1974
|
-
return (react_1.default.createElement(react_focus_lock_1.default, { as: "menu", className: css.menuRoot, returnFocus: true, autoFocus: false, ref: menuRef, lockProps: { onKeyDown: handleArrowKeys, tabIndex: -1 } },
|
|
1975
|
-
react_1.default.createElement(uui_components_1.DropdownContainer, (0, tslib_1.__assign)({}, props, { rawProps: { tabIndex: -1 } }))));
|
|
1976
|
-
};
|
|
1977
|
-
exports.DropdownMenuBody = (0, uui_core_1.withMods)(DropdownMenuContainer, function () { return [css.bodyRoot]; }, function (_a) {
|
|
1978
|
-
var style = _a.style;
|
|
1979
|
-
return ({ style: style });
|
|
1980
|
-
});
|
|
1981
|
-
var DropdownMenuButton = function (props) {
|
|
1982
|
-
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
1983
|
-
var icon = props.icon, iconPosition = props.iconPosition, caption = props.caption, isDisabled = props.isDisabled, isSelected = props.isSelected, link = props.link, href = props.href, onClick = props.onClick, toggleDropdownOpening = props.toggleDropdownOpening, isDropdown = props.isDropdown;
|
|
1984
|
-
var handleClick = function (event) {
|
|
1985
|
-
if (isDisabled || !onClick)
|
|
1986
|
-
return;
|
|
1987
|
-
onClick(event);
|
|
1988
|
-
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1989
|
-
};
|
|
1990
|
-
var handleOpenDropdown = function (event) {
|
|
1991
|
-
if (event.key === exports.DropdownControlKeys.RIGHT_ARROW && isDropdown) {
|
|
1992
|
-
toggleDropdownOpening(true);
|
|
1993
|
-
}
|
|
1994
|
-
else if (event.key === exports.DropdownControlKeys.ENTER && onClick) {
|
|
1995
|
-
onClick(event);
|
|
1996
|
-
}
|
|
1997
|
-
};
|
|
1998
|
-
var getMenuButtonContent = function () {
|
|
1999
|
-
var isIconBefore = Boolean(icon && iconPosition !== "right");
|
|
2000
|
-
var isIconAfter = Boolean(icon && iconPosition === "right");
|
|
2001
|
-
var iconElement = react_1.default.createElement(uui_components_1.IconContainer, { icon: icon, cx: (0, uui_core_1.cx)(css.icon, iconPosition === "right" ? css.iconAfter : css.iconBefore) });
|
|
2002
|
-
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
2003
|
-
isIconBefore && iconElement,
|
|
2004
|
-
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
2005
|
-
isIconAfter && react_1.default.createElement(react_1.default.Fragment, null,
|
|
2006
|
-
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
2007
|
-
iconElement));
|
|
2008
|
-
};
|
|
2009
|
-
var isAnchor = Boolean(link || href);
|
|
2010
|
-
var itemClassNames = (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled, isSelected && uui_core_1.uuiMod.selected);
|
|
2011
|
-
return isAnchor ? (react_1.default.createElement(uui_components_1.Anchor, { cx: (0, uui_core_1.cx)(css.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isDisabled: isDisabled }, getMenuButtonContent())) : (react_1.default.createElement(uui_components_1.FlexRow, { rawProps: {
|
|
2012
|
-
tabIndex: isDisabled ? -1 : 0,
|
|
2013
|
-
role: 'menuitem',
|
|
2014
|
-
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
2015
|
-
}, cx: itemClassNames, onClick: handleClick }, getMenuButtonContent()));
|
|
2016
|
-
};
|
|
2017
|
-
exports.DropdownMenuButton = DropdownMenuButton;
|
|
2018
|
-
exports.DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
2019
|
-
var DropdownMenuSplitter = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.splitterRoot) },
|
|
2020
|
-
react_1.default.createElement("hr", { className: css.splitter }))); };
|
|
2021
|
-
exports.DropdownMenuSplitter = DropdownMenuSplitter;
|
|
2022
|
-
var DropdownMenuHeader = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.headerRoot) },
|
|
2023
|
-
react_1.default.createElement("span", { className: css.header }, props.caption))); };
|
|
2024
|
-
exports.DropdownMenuHeader = DropdownMenuHeader;
|
|
2025
|
-
var DropdownSubMenu = function (props) {
|
|
2026
|
-
return (react_1.default.createElement(uui_components_1.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", placement: "right-start", renderBody: function (_a) {
|
|
2027
|
-
var onClose = _a.onClose;
|
|
2028
|
-
return (react_1.default.createElement(exports.DropdownMenuBody, (0, tslib_1.__assign)({}, props, { closeOnKey: exports.DropdownControlKeys.LEFT_ARROW, onClose: onClose })));
|
|
2029
|
-
}, renderTarget: function (_a) {
|
|
2030
|
-
var toggleDropdownOpening = _a.toggleDropdownOpening;
|
|
2031
|
-
return (react_1.default.createElement(exports.DropdownMenuButton, (0, tslib_1.__assign)({ cx: (0, uui_core_1.cx)(css.submenuRootItem), icon: icons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props)));
|
|
2032
|
-
} }));
|
|
2033
|
-
};
|
|
2034
|
-
exports.DropdownSubMenu = DropdownSubMenu;
|
|
2035
|
-
var DropdownMenuSwitchButton = function (props) {
|
|
2036
|
-
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
2037
|
-
var icon = props.icon, caption = props.caption, isDisabled = props.isDisabled, isSelected = props.isSelected, onValueChange = props.onValueChange;
|
|
2038
|
-
var onHandleValueChange = function (value) {
|
|
2039
|
-
if (isDisabled || !onValueChange)
|
|
2040
|
-
return;
|
|
2041
|
-
onValueChange(value);
|
|
2042
|
-
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2043
|
-
};
|
|
2044
|
-
var handleKeySelect = function (e) {
|
|
2045
|
-
if (e.key === exports.DropdownControlKeys.ENTER) {
|
|
2046
|
-
onHandleValueChange(!isSelected);
|
|
2047
|
-
}
|
|
2048
|
-
};
|
|
2049
|
-
return (react_1.default.createElement(uui_components_1.FlexRow, { cx: (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled), onClick: function () { return onHandleValueChange(!isSelected); }, rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
2050
|
-
icon && react_1.default.createElement(uui_components_1.IconContainer, { icon: icon, cx: css.iconBefore }),
|
|
2051
|
-
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
2052
|
-
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
2053
|
-
react_1.default.createElement(inputs_1.Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2054
|
-
};
|
|
2055
|
-
exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
|
|
1926
|
+
|
|
1927
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1928
|
+
exports.DropdownMenuSwitchButton = exports.DropdownSubMenu = exports.DropdownMenuHeader = exports.DropdownMenuSplitter = exports.DropdownMenuButton = exports.DropdownMenuBody = exports.DropdownControlKeys = void 0;
|
|
1929
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1930
|
+
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1931
|
+
var react_focus_lock_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react-focus-lock */ "react-focus-lock"));
|
|
1932
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1933
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1934
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1935
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1936
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownMenu.scss */ "./components/overlays/DropdownMenu.scss"));
|
|
1937
|
+
var icons = icons_1.systemIcons['36'];
|
|
1938
|
+
exports.DropdownControlKeys = {
|
|
1939
|
+
ENTER: 'Enter',
|
|
1940
|
+
ESCAPE: 'Escape',
|
|
1941
|
+
LEFT_ARROW: 'ArrowLeft',
|
|
1942
|
+
RIGHT_ARROW: 'ArrowRight',
|
|
1943
|
+
UP_ARROW: 'ArrowUp',
|
|
1944
|
+
DOWN_ARROW: 'ArrowDown',
|
|
1945
|
+
};
|
|
1946
|
+
var DropdownMenuContainer = function (_a) {
|
|
1947
|
+
var onClose = _a.onClose, _b = _a.closeOnKey, closeOnKey = _b === void 0 ? exports.DropdownControlKeys.ESCAPE : _b, props = (0, tslib_1.__rest)(_a, ["onClose", "closeOnKey"]);
|
|
1948
|
+
var menuRef = (0, react_1.useRef)(null);
|
|
1949
|
+
var _c = (0, react_1.useState)(-1), currentlyFocused = _c[0], setFocused = _c[1];
|
|
1950
|
+
var menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll("[role=\"menuitem\"]:not(.".concat(uui_core_1.uuiMod.disabled, ")"))) : [];
|
|
1951
|
+
(0, react_1.useEffect)(function () {
|
|
1952
|
+
var _a;
|
|
1953
|
+
(_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1954
|
+
}, [menuRef.current]);
|
|
1955
|
+
var changeFocus = function (nextFocusedIndex) {
|
|
1956
|
+
if (menuItems.length > 0) {
|
|
1957
|
+
setFocused(nextFocusedIndex);
|
|
1958
|
+
menuItems[nextFocusedIndex].focus();
|
|
1959
|
+
}
|
|
1960
|
+
};
|
|
1961
|
+
var handleArrowKeys = function (e) {
|
|
1962
|
+
e.stopPropagation();
|
|
1963
|
+
var lastMenuItemsIndex = menuItems.length - 1;
|
|
1964
|
+
if (e.key === exports.DropdownControlKeys.UP_ARROW) {
|
|
1965
|
+
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
1966
|
+
}
|
|
1967
|
+
else if (e.key === exports.DropdownControlKeys.DOWN_ARROW) {
|
|
1968
|
+
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
1969
|
+
}
|
|
1970
|
+
else if (e.key === closeOnKey && onClose) {
|
|
1971
|
+
onClose();
|
|
1972
|
+
}
|
|
1973
|
+
};
|
|
1974
|
+
return (react_1.default.createElement(react_focus_lock_1.default, { as: "menu", className: css.menuRoot, returnFocus: true, autoFocus: false, ref: menuRef, lockProps: { onKeyDown: handleArrowKeys, tabIndex: -1 } },
|
|
1975
|
+
react_1.default.createElement(uui_components_1.DropdownContainer, (0, tslib_1.__assign)({}, props, { rawProps: { tabIndex: -1 } }))));
|
|
1976
|
+
};
|
|
1977
|
+
exports.DropdownMenuBody = (0, uui_core_1.withMods)(DropdownMenuContainer, function () { return [css.bodyRoot]; }, function (_a) {
|
|
1978
|
+
var style = _a.style;
|
|
1979
|
+
return ({ style: style });
|
|
1980
|
+
});
|
|
1981
|
+
var DropdownMenuButton = function (props) {
|
|
1982
|
+
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
1983
|
+
var icon = props.icon, iconPosition = props.iconPosition, caption = props.caption, isDisabled = props.isDisabled, isSelected = props.isSelected, link = props.link, href = props.href, onClick = props.onClick, toggleDropdownOpening = props.toggleDropdownOpening, isDropdown = props.isDropdown;
|
|
1984
|
+
var handleClick = function (event) {
|
|
1985
|
+
if (isDisabled || !onClick)
|
|
1986
|
+
return;
|
|
1987
|
+
onClick(event);
|
|
1988
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1989
|
+
};
|
|
1990
|
+
var handleOpenDropdown = function (event) {
|
|
1991
|
+
if (event.key === exports.DropdownControlKeys.RIGHT_ARROW && isDropdown) {
|
|
1992
|
+
toggleDropdownOpening(true);
|
|
1993
|
+
}
|
|
1994
|
+
else if (event.key === exports.DropdownControlKeys.ENTER && onClick) {
|
|
1995
|
+
onClick(event);
|
|
1996
|
+
}
|
|
1997
|
+
};
|
|
1998
|
+
var getMenuButtonContent = function () {
|
|
1999
|
+
var isIconBefore = Boolean(icon && iconPosition !== "right");
|
|
2000
|
+
var isIconAfter = Boolean(icon && iconPosition === "right");
|
|
2001
|
+
var iconElement = react_1.default.createElement(uui_components_1.IconContainer, { icon: icon, cx: (0, uui_core_1.cx)(css.icon, iconPosition === "right" ? css.iconAfter : css.iconBefore) });
|
|
2002
|
+
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
2003
|
+
isIconBefore && iconElement,
|
|
2004
|
+
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
2005
|
+
isIconAfter && react_1.default.createElement(react_1.default.Fragment, null,
|
|
2006
|
+
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
2007
|
+
iconElement));
|
|
2008
|
+
};
|
|
2009
|
+
var isAnchor = Boolean(link || href);
|
|
2010
|
+
var itemClassNames = (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled, isSelected && uui_core_1.uuiMod.selected);
|
|
2011
|
+
return isAnchor ? (react_1.default.createElement(uui_components_1.Anchor, { cx: (0, uui_core_1.cx)(css.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isDisabled: isDisabled }, getMenuButtonContent())) : (react_1.default.createElement(uui_components_1.FlexRow, { rawProps: {
|
|
2012
|
+
tabIndex: isDisabled ? -1 : 0,
|
|
2013
|
+
role: 'menuitem',
|
|
2014
|
+
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
2015
|
+
}, cx: itemClassNames, onClick: handleClick }, getMenuButtonContent()));
|
|
2016
|
+
};
|
|
2017
|
+
exports.DropdownMenuButton = DropdownMenuButton;
|
|
2018
|
+
exports.DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
2019
|
+
var DropdownMenuSplitter = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.splitterRoot) },
|
|
2020
|
+
react_1.default.createElement("hr", { className: css.splitter }))); };
|
|
2021
|
+
exports.DropdownMenuSplitter = DropdownMenuSplitter;
|
|
2022
|
+
var DropdownMenuHeader = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.headerRoot) },
|
|
2023
|
+
react_1.default.createElement("span", { className: css.header }, props.caption))); };
|
|
2024
|
+
exports.DropdownMenuHeader = DropdownMenuHeader;
|
|
2025
|
+
var DropdownSubMenu = function (props) {
|
|
2026
|
+
return (react_1.default.createElement(uui_components_1.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", placement: "right-start", renderBody: function (_a) {
|
|
2027
|
+
var onClose = _a.onClose;
|
|
2028
|
+
return (react_1.default.createElement(exports.DropdownMenuBody, (0, tslib_1.__assign)({}, props, { closeOnKey: exports.DropdownControlKeys.LEFT_ARROW, onClose: onClose })));
|
|
2029
|
+
}, renderTarget: function (_a) {
|
|
2030
|
+
var toggleDropdownOpening = _a.toggleDropdownOpening;
|
|
2031
|
+
return (react_1.default.createElement(exports.DropdownMenuButton, (0, tslib_1.__assign)({ cx: (0, uui_core_1.cx)(css.submenuRootItem), icon: icons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props)));
|
|
2032
|
+
} }));
|
|
2033
|
+
};
|
|
2034
|
+
exports.DropdownSubMenu = DropdownSubMenu;
|
|
2035
|
+
var DropdownMenuSwitchButton = function (props) {
|
|
2036
|
+
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
2037
|
+
var icon = props.icon, caption = props.caption, isDisabled = props.isDisabled, isSelected = props.isSelected, onValueChange = props.onValueChange;
|
|
2038
|
+
var onHandleValueChange = function (value) {
|
|
2039
|
+
if (isDisabled || !onValueChange)
|
|
2040
|
+
return;
|
|
2041
|
+
onValueChange(value);
|
|
2042
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2043
|
+
};
|
|
2044
|
+
var handleKeySelect = function (e) {
|
|
2045
|
+
if (e.key === exports.DropdownControlKeys.ENTER) {
|
|
2046
|
+
onHandleValueChange(!isSelected);
|
|
2047
|
+
}
|
|
2048
|
+
};
|
|
2049
|
+
return (react_1.default.createElement(uui_components_1.FlexRow, { cx: (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled), onClick: function () { return onHandleValueChange(!isSelected); }, rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
2050
|
+
icon && react_1.default.createElement(uui_components_1.IconContainer, { icon: icon, cx: css.iconBefore }),
|
|
2051
|
+
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
2052
|
+
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
2053
|
+
react_1.default.createElement(inputs_1.Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2054
|
+
};
|
|
2055
|
+
exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
|
|
2056
2056
|
|
|
2057
2057
|
|
|
2058
2058
|
/***/ }),
|
|
@@ -2065,7 +2065,7 @@ exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
|
|
|
2065
2065
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2066
2066
|
|
|
2067
2067
|
// extracted by mini-css-extract-plugin
|
|
2068
|
-
module.exports = {"modal-blocker":"
|
|
2068
|
+
module.exports = {"modal-blocker":"_1aB-1","modalBlocker":"_1aB-1","animateModalBlocker":"_1Yr7r","blocker-overlay":"_2XuA0","blockerOverlay":"_2XuA0","modal":"_1UC6G","modal-footer":"_3bstD","modalFooter":"_3bstD","border-top":"_15mEL","borderTop":"_15mEL","modal-header":"_1C9OQ","modalHeader":"_1C9OQ"};
|
|
2069
2069
|
|
|
2070
2070
|
/***/ }),
|
|
2071
2071
|
|
|
@@ -2077,58 +2077,58 @@ module.exports = {"modal-blocker":"_2Ud58","modalBlocker":"_2Ud58","animateModal
|
|
|
2077
2077
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2078
2078
|
|
|
2079
2079
|
"use strict";
|
|
2080
|
-
|
|
2081
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2082
|
-
exports.ModalFooter = exports.ModalHeader = exports.ModalWindow = exports.ModalBlocker = void 0;
|
|
2083
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2084
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2085
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2086
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2087
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2088
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2089
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2090
|
-
var navigation_close_24_svg_1 = __webpack_require__(/*! ../../icons/navigation-close-24.svg */ "./icons/navigation-close-24.svg");
|
|
2091
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/modals.scss */ "./assets/styles/variables/overlays/modals.scss");
|
|
2092
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Modals.scss */ "./components/overlays/Modals.scss"));
|
|
2093
|
-
exports.ModalBlocker = (0, uui_core_1.withMods)(uui_components_1.ModalBlocker, function (mods) { return [
|
|
2094
|
-
'modals-vars',
|
|
2095
|
-
css.modalBlocker,
|
|
2096
|
-
mods.overlay && css['blocker-overlay'],
|
|
2097
|
-
]; });
|
|
2098
|
-
exports.ModalWindow = (0, uui_core_1.withMods)(uui_components_1.ModalWindow, function () { return ['modals-vars', css.modal]; }, function (props) { return ({ rawProps: {
|
|
2099
|
-
style: {
|
|
2100
|
-
width: "".concat(props.width || 480, "px"),
|
|
2101
|
-
height: props.height ? "".concat(props.height, "px") : '',
|
|
2102
|
-
},
|
|
2103
|
-
},
|
|
2104
|
-
}); });
|
|
2105
|
-
var ModalHeader = /** @class */ (function (_super) {
|
|
2106
|
-
(0, tslib_1.__extends)(ModalHeader, _super);
|
|
2107
|
-
function ModalHeader() {
|
|
2108
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2109
|
-
}
|
|
2110
|
-
ModalHeader.prototype.render = function () {
|
|
2111
|
-
return (React.createElement(layout_1.FlexRow, { padding: this.props.padding || '24', vPadding: '12', borderBottom: true, cx: ['modals-vars', css.modalHeader, this.props.cx], spacing: '12', rawProps: this.props.rawProps },
|
|
2112
|
-
this.props.title && React.createElement(typography_1.Text, { size: '48', fontSize: '18', font: 'semibold' }, this.props.title),
|
|
2113
|
-
this.props.children,
|
|
2114
|
-
this.props.onClose && React.createElement(layout_1.FlexSpacer, null),
|
|
2115
|
-
this.props.onClose && React.createElement(layout_1.FlexCell, { shrink: 0, width: 'auto' },
|
|
2116
|
-
React.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: this.props.onClose }))));
|
|
2117
|
-
};
|
|
2118
|
-
return ModalHeader;
|
|
2119
|
-
}(React.Component));
|
|
2120
|
-
exports.ModalHeader = ModalHeader;
|
|
2121
|
-
var ModalFooter = /** @class */ (function (_super) {
|
|
2122
|
-
(0, tslib_1.__extends)(ModalFooter, _super);
|
|
2123
|
-
function ModalFooter() {
|
|
2124
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2125
|
-
}
|
|
2126
|
-
ModalFooter.prototype.render = function () {
|
|
2127
|
-
return (React.createElement(layout_1.FlexRow, { spacing: this.props.spacing || '12', cx: ['modals-vars', css.modalFooter, this.props.borderTop && css.borderTop, this.props.cx], padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
2128
|
-
};
|
|
2129
|
-
return ModalFooter;
|
|
2130
|
-
}(React.Component));
|
|
2131
|
-
exports.ModalFooter = ModalFooter;
|
|
2080
|
+
|
|
2081
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2082
|
+
exports.ModalFooter = exports.ModalHeader = exports.ModalWindow = exports.ModalBlocker = void 0;
|
|
2083
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2084
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2085
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2086
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2087
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2088
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2089
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2090
|
+
var navigation_close_24_svg_1 = __webpack_require__(/*! ../../icons/navigation-close-24.svg */ "./icons/navigation-close-24.svg");
|
|
2091
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/modals.scss */ "./assets/styles/variables/overlays/modals.scss");
|
|
2092
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Modals.scss */ "./components/overlays/Modals.scss"));
|
|
2093
|
+
exports.ModalBlocker = (0, uui_core_1.withMods)(uui_components_1.ModalBlocker, function (mods) { return [
|
|
2094
|
+
'modals-vars',
|
|
2095
|
+
css.modalBlocker,
|
|
2096
|
+
mods.overlay && css['blocker-overlay'],
|
|
2097
|
+
]; });
|
|
2098
|
+
exports.ModalWindow = (0, uui_core_1.withMods)(uui_components_1.ModalWindow, function () { return ['modals-vars', css.modal]; }, function (props) { return ({ rawProps: {
|
|
2099
|
+
style: {
|
|
2100
|
+
width: "".concat(props.width || 480, "px"),
|
|
2101
|
+
height: props.height ? "".concat(props.height, "px") : '',
|
|
2102
|
+
},
|
|
2103
|
+
},
|
|
2104
|
+
}); });
|
|
2105
|
+
var ModalHeader = /** @class */ (function (_super) {
|
|
2106
|
+
(0, tslib_1.__extends)(ModalHeader, _super);
|
|
2107
|
+
function ModalHeader() {
|
|
2108
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2109
|
+
}
|
|
2110
|
+
ModalHeader.prototype.render = function () {
|
|
2111
|
+
return (React.createElement(layout_1.FlexRow, { padding: this.props.padding || '24', vPadding: '12', borderBottom: true, cx: ['modals-vars', css.modalHeader, this.props.cx], spacing: '12', rawProps: this.props.rawProps },
|
|
2112
|
+
this.props.title && React.createElement(typography_1.Text, { size: '48', fontSize: '18', font: 'semibold' }, this.props.title),
|
|
2113
|
+
this.props.children,
|
|
2114
|
+
this.props.onClose && React.createElement(layout_1.FlexSpacer, null),
|
|
2115
|
+
this.props.onClose && React.createElement(layout_1.FlexCell, { shrink: 0, width: 'auto' },
|
|
2116
|
+
React.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: this.props.onClose }))));
|
|
2117
|
+
};
|
|
2118
|
+
return ModalHeader;
|
|
2119
|
+
}(React.Component));
|
|
2120
|
+
exports.ModalHeader = ModalHeader;
|
|
2121
|
+
var ModalFooter = /** @class */ (function (_super) {
|
|
2122
|
+
(0, tslib_1.__extends)(ModalFooter, _super);
|
|
2123
|
+
function ModalFooter() {
|
|
2124
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2125
|
+
}
|
|
2126
|
+
ModalFooter.prototype.render = function () {
|
|
2127
|
+
return (React.createElement(layout_1.FlexRow, { spacing: this.props.spacing || '12', cx: ['modals-vars', css.modalFooter, this.props.borderTop && css.borderTop, this.props.cx], padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
2128
|
+
};
|
|
2129
|
+
return ModalFooter;
|
|
2130
|
+
}(React.Component));
|
|
2131
|
+
exports.ModalFooter = ModalFooter;
|
|
2132
2132
|
|
|
2133
2133
|
|
|
2134
2134
|
/***/ }),
|
|
@@ -2141,7 +2141,7 @@ exports.ModalFooter = ModalFooter;
|
|
|
2141
2141
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2142
2142
|
|
|
2143
2143
|
// extracted by mini-css-extract-plugin
|
|
2144
|
-
module.exports = {"root":"
|
|
2144
|
+
module.exports = {"root":"_3ej33","icon-wrapper":"_1uX_5","iconWrapper":"_1uX_5","notification-wrapper":"_2DmkX","notificationWrapper":"_2DmkX","action-wrapper":"_1TkcS","actionWrapper":"_1TkcS","action-link":"_2Bl-C","actionLink":"_2Bl-C","close-icon":"_3jvty","closeIcon":"_3jvty","main-path":"_3E2cM","mainPath":"_3E2cM","content":"_3LZJM","clear-button":"_3f6WJ","clearButton":"_3f6WJ"};
|
|
2145
2145
|
|
|
2146
2146
|
/***/ }),
|
|
2147
2147
|
|
|
@@ -2153,86 +2153,86 @@ module.exports = {"root":"_1KXrC","icon-wrapper":"aIYj4","iconWrapper":"aIYj4","
|
|
|
2153
2153
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2154
2154
|
|
|
2155
2155
|
"use strict";
|
|
2156
|
-
|
|
2157
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2158
|
-
exports.ClearNotification = exports.ErrorNotification = exports.HintNotification = exports.SuccessNotification = exports.WarningNotification = exports.NotificationCard = void 0;
|
|
2159
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2160
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2161
|
-
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2162
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2163
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2164
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2165
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2166
|
-
var notification_check_circle_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-check_circle-fill-24.svg */ "./icons/notification-check_circle-fill-24.svg");
|
|
2167
|
-
var notification_warning_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-warning-fill-24.svg */ "./icons/notification-warning-fill-24.svg");
|
|
2168
|
-
var notification_error_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-error-fill-24.svg */ "./icons/notification-error-fill-24.svg");
|
|
2169
|
-
var notification_help_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-help-fill-24.svg */ "./icons/notification-help-fill-24.svg");
|
|
2170
|
-
var cross_svg_1 = __webpack_require__(/*! ../../icons/snackbar/cross.svg */ "./icons/snackbar/cross.svg");
|
|
2171
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/notificationCard.scss */ "./assets/styles/variables/overlays/notificationCard.scss");
|
|
2172
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./NotificationCard.scss */ "./components/overlays/NotificationCard.scss"));
|
|
2173
|
-
var NotificationCard = /** @class */ (function (_super) {
|
|
2174
|
-
(0, tslib_1.__extends)(NotificationCard, _super);
|
|
2175
|
-
function NotificationCard() {
|
|
2176
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2177
|
-
_this.notificationCardNode = null;
|
|
2178
|
-
return _this;
|
|
2179
|
-
}
|
|
2180
|
-
NotificationCard.prototype.componentDidMount = function () {
|
|
2181
|
-
var _a, _b;
|
|
2182
|
-
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseenter', this.props.clearTimer);
|
|
2183
|
-
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.addEventListener('mouseleave', this.props.refreshTimer);
|
|
2184
|
-
};
|
|
2185
|
-
NotificationCard.prototype.componentWillUnmount = function () {
|
|
2186
|
-
var _a, _b;
|
|
2187
|
-
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseenter', this.props.clearTimer);
|
|
2188
|
-
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', this.props.refreshTimer);
|
|
2189
|
-
};
|
|
2190
|
-
NotificationCard.prototype.render = function () {
|
|
2191
|
-
var _this = this;
|
|
2192
|
-
return (react_1.default.createElement("div", { role: 'alert', className: (0, classnames_1.default)(css.notificationWrapper, 'notification-card-vars', "notification-card-color-".concat(this.props.color), css.root, this.props.cx), ref: function (el) { return _this.notificationCardNode = el; } },
|
|
2193
|
-
react_1.default.createElement("div", { className: css.mainPath },
|
|
2194
|
-
this.props.icon && react_1.default.createElement("div", { className: css.iconWrapper },
|
|
2195
|
-
react_1.default.createElement(uui_components_1.IconContainer, { icon: this.props.icon, cx: css.actionIcon })),
|
|
2196
|
-
react_1.default.createElement("div", { className: css.content },
|
|
2197
|
-
this.props.children,
|
|
2198
|
-
this.props.actions && react_1.default.createElement("div", { className: css.actionWrapper }, this.props.actions.map(function (action) {
|
|
2199
|
-
return react_1.default.createElement(buttons_1.LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css.actionLink, size: '36' });
|
|
2200
|
-
}))),
|
|
2201
|
-
this.props.onClose && react_1.default.createElement(buttons_1.IconButton, { icon: cross_svg_1.ReactComponent, color: 'default', onClick: this.props.onClose, cx: css.closeIcon }))));
|
|
2202
|
-
};
|
|
2203
|
-
return NotificationCard;
|
|
2204
|
-
}(react_1.default.Component));
|
|
2205
|
-
exports.NotificationCard = NotificationCard;
|
|
2206
|
-
var WarningNotification = function (props) {
|
|
2207
|
-
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_warning_fill_24_svg_1.ReactComponent, color: 'warning' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2208
|
-
};
|
|
2209
|
-
exports.WarningNotification = WarningNotification;
|
|
2210
|
-
var SuccessNotification = function (props) {
|
|
2211
|
-
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_check_circle_fill_24_svg_1.ReactComponent, color: 'success' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2212
|
-
};
|
|
2213
|
-
exports.SuccessNotification = SuccessNotification;
|
|
2214
|
-
var HintNotification = function (props) {
|
|
2215
|
-
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_help_fill_24_svg_1.ReactComponent, color: 'info' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2216
|
-
};
|
|
2217
|
-
exports.HintNotification = HintNotification;
|
|
2218
|
-
var ErrorNotification = function (props) {
|
|
2219
|
-
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_error_fill_24_svg_1.ReactComponent, color: 'error' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2220
|
-
};
|
|
2221
|
-
exports.ErrorNotification = ErrorNotification;
|
|
2222
|
-
var ClearNotification = /** @class */ (function (_super) {
|
|
2223
|
-
(0, tslib_1.__extends)(ClearNotification, _super);
|
|
2224
|
-
function ClearNotification() {
|
|
2225
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2226
|
-
}
|
|
2227
|
-
ClearNotification.prototype.render = function () {
|
|
2228
|
-
var _this = this;
|
|
2229
|
-
return react_1.default.createElement("div", { className: (0, classnames_1.default)(css.notificationWrapper, css.clearButton) },
|
|
2230
|
-
react_1.default.createElement(buttons_1.LinkButton, { caption: i18n_1.i18n.notificationCard.closeAllNotificationsButton, onClick: function () { return _this.context.uuiNotifications.clearAll(); } }));
|
|
2231
|
-
};
|
|
2232
|
-
ClearNotification.contextType = uui_core_1.UuiContext;
|
|
2233
|
-
return ClearNotification;
|
|
2234
|
-
}(react_1.default.Component));
|
|
2235
|
-
exports.ClearNotification = ClearNotification;
|
|
2156
|
+
|
|
2157
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2158
|
+
exports.ClearNotification = exports.ErrorNotification = exports.HintNotification = exports.SuccessNotification = exports.WarningNotification = exports.NotificationCard = void 0;
|
|
2159
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2160
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2161
|
+
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2162
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2163
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2164
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2165
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2166
|
+
var notification_check_circle_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-check_circle-fill-24.svg */ "./icons/notification-check_circle-fill-24.svg");
|
|
2167
|
+
var notification_warning_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-warning-fill-24.svg */ "./icons/notification-warning-fill-24.svg");
|
|
2168
|
+
var notification_error_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-error-fill-24.svg */ "./icons/notification-error-fill-24.svg");
|
|
2169
|
+
var notification_help_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-help-fill-24.svg */ "./icons/notification-help-fill-24.svg");
|
|
2170
|
+
var cross_svg_1 = __webpack_require__(/*! ../../icons/snackbar/cross.svg */ "./icons/snackbar/cross.svg");
|
|
2171
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/notificationCard.scss */ "./assets/styles/variables/overlays/notificationCard.scss");
|
|
2172
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./NotificationCard.scss */ "./components/overlays/NotificationCard.scss"));
|
|
2173
|
+
var NotificationCard = /** @class */ (function (_super) {
|
|
2174
|
+
(0, tslib_1.__extends)(NotificationCard, _super);
|
|
2175
|
+
function NotificationCard() {
|
|
2176
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2177
|
+
_this.notificationCardNode = null;
|
|
2178
|
+
return _this;
|
|
2179
|
+
}
|
|
2180
|
+
NotificationCard.prototype.componentDidMount = function () {
|
|
2181
|
+
var _a, _b;
|
|
2182
|
+
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseenter', this.props.clearTimer);
|
|
2183
|
+
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.addEventListener('mouseleave', this.props.refreshTimer);
|
|
2184
|
+
};
|
|
2185
|
+
NotificationCard.prototype.componentWillUnmount = function () {
|
|
2186
|
+
var _a, _b;
|
|
2187
|
+
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseenter', this.props.clearTimer);
|
|
2188
|
+
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', this.props.refreshTimer);
|
|
2189
|
+
};
|
|
2190
|
+
NotificationCard.prototype.render = function () {
|
|
2191
|
+
var _this = this;
|
|
2192
|
+
return (react_1.default.createElement("div", { role: 'alert', className: (0, classnames_1.default)(css.notificationWrapper, 'notification-card-vars', "notification-card-color-".concat(this.props.color), css.root, this.props.cx), ref: function (el) { return _this.notificationCardNode = el; } },
|
|
2193
|
+
react_1.default.createElement("div", { className: css.mainPath },
|
|
2194
|
+
this.props.icon && react_1.default.createElement("div", { className: css.iconWrapper },
|
|
2195
|
+
react_1.default.createElement(uui_components_1.IconContainer, { icon: this.props.icon, cx: css.actionIcon })),
|
|
2196
|
+
react_1.default.createElement("div", { className: css.content },
|
|
2197
|
+
this.props.children,
|
|
2198
|
+
this.props.actions && react_1.default.createElement("div", { className: css.actionWrapper }, this.props.actions.map(function (action) {
|
|
2199
|
+
return react_1.default.createElement(buttons_1.LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css.actionLink, size: '36' });
|
|
2200
|
+
}))),
|
|
2201
|
+
this.props.onClose && react_1.default.createElement(buttons_1.IconButton, { icon: cross_svg_1.ReactComponent, color: 'default', onClick: this.props.onClose, cx: css.closeIcon }))));
|
|
2202
|
+
};
|
|
2203
|
+
return NotificationCard;
|
|
2204
|
+
}(react_1.default.Component));
|
|
2205
|
+
exports.NotificationCard = NotificationCard;
|
|
2206
|
+
var WarningNotification = function (props) {
|
|
2207
|
+
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_warning_fill_24_svg_1.ReactComponent, color: 'warning' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2208
|
+
};
|
|
2209
|
+
exports.WarningNotification = WarningNotification;
|
|
2210
|
+
var SuccessNotification = function (props) {
|
|
2211
|
+
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_check_circle_fill_24_svg_1.ReactComponent, color: 'success' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2212
|
+
};
|
|
2213
|
+
exports.SuccessNotification = SuccessNotification;
|
|
2214
|
+
var HintNotification = function (props) {
|
|
2215
|
+
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_help_fill_24_svg_1.ReactComponent, color: 'info' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2216
|
+
};
|
|
2217
|
+
exports.HintNotification = HintNotification;
|
|
2218
|
+
var ErrorNotification = function (props) {
|
|
2219
|
+
return react_1.default.createElement(NotificationCard, (0, tslib_1.__assign)({ icon: notification_error_fill_24_svg_1.ReactComponent, color: 'error' }, props, { cx: (0, classnames_1.default)(props.cx) }));
|
|
2220
|
+
};
|
|
2221
|
+
exports.ErrorNotification = ErrorNotification;
|
|
2222
|
+
var ClearNotification = /** @class */ (function (_super) {
|
|
2223
|
+
(0, tslib_1.__extends)(ClearNotification, _super);
|
|
2224
|
+
function ClearNotification() {
|
|
2225
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2226
|
+
}
|
|
2227
|
+
ClearNotification.prototype.render = function () {
|
|
2228
|
+
var _this = this;
|
|
2229
|
+
return react_1.default.createElement("div", { className: (0, classnames_1.default)(css.notificationWrapper, css.clearButton) },
|
|
2230
|
+
react_1.default.createElement(buttons_1.LinkButton, { caption: i18n_1.i18n.notificationCard.closeAllNotificationsButton, onClick: function () { return _this.context.uuiNotifications.clearAll(); } }));
|
|
2231
|
+
};
|
|
2232
|
+
ClearNotification.contextType = uui_core_1.UuiContext;
|
|
2233
|
+
return ClearNotification;
|
|
2234
|
+
}(react_1.default.Component));
|
|
2235
|
+
exports.ClearNotification = ClearNotification;
|
|
2236
2236
|
|
|
2237
2237
|
|
|
2238
2238
|
/***/ }),
|
|
@@ -2245,7 +2245,7 @@ exports.ClearNotification = ClearNotification;
|
|
|
2245
2245
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2246
2246
|
|
|
2247
2247
|
// extracted by mini-css-extract-plugin
|
|
2248
|
-
module.exports = {"root":"
|
|
2248
|
+
module.exports = {"root":"_1LVjq"};
|
|
2249
2249
|
|
|
2250
2250
|
/***/ }),
|
|
2251
2251
|
|
|
@@ -2257,21 +2257,21 @@ module.exports = {"root":"xxQX9"};
|
|
|
2257
2257
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2258
2258
|
|
|
2259
2259
|
"use strict";
|
|
2260
|
-
|
|
2261
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2262
|
-
exports.Tooltip = void 0;
|
|
2263
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2264
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2265
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2266
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/tooltip.scss */ "./assets/styles/variables/overlays/tooltip.scss");
|
|
2267
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tooltip.scss */ "./components/overlays/Tooltip.scss"));
|
|
2268
|
-
function applyTooltipMods(mods) {
|
|
2269
|
-
return [
|
|
2270
|
-
'tooltip-vars',
|
|
2271
|
-
css.root,
|
|
2272
|
-
];
|
|
2273
|
-
}
|
|
2274
|
-
exports.Tooltip = (0, uui_core_1.withMods)(uui_components_1.Tooltip, applyTooltipMods);
|
|
2260
|
+
|
|
2261
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2262
|
+
exports.Tooltip = void 0;
|
|
2263
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2264
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2265
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2266
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/tooltip.scss */ "./assets/styles/variables/overlays/tooltip.scss");
|
|
2267
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tooltip.scss */ "./components/overlays/Tooltip.scss"));
|
|
2268
|
+
function applyTooltipMods(mods) {
|
|
2269
|
+
return [
|
|
2270
|
+
'tooltip-vars',
|
|
2271
|
+
css.root,
|
|
2272
|
+
];
|
|
2273
|
+
}
|
|
2274
|
+
exports.Tooltip = (0, uui_core_1.withMods)(uui_components_1.Tooltip, applyTooltipMods);
|
|
2275
2275
|
|
|
2276
2276
|
|
|
2277
2277
|
/***/ }),
|
|
@@ -2284,15 +2284,15 @@ exports.Tooltip = (0, uui_core_1.withMods)(uui_components_1.Tooltip, applyToolti
|
|
|
2284
2284
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2285
2285
|
|
|
2286
2286
|
"use strict";
|
|
2287
|
-
|
|
2288
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2289
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2290
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Dropdown */ "./components/overlays/Dropdown.tsx"), exports);
|
|
2291
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownContainer */ "./components/overlays/DropdownContainer.tsx"), exports);
|
|
2292
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownMenu */ "./components/overlays/DropdownMenu.tsx"), exports);
|
|
2293
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Modals */ "./components/overlays/Modals.tsx"), exports);
|
|
2294
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./NotificationCard */ "./components/overlays/NotificationCard.tsx"), exports);
|
|
2295
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tooltip */ "./components/overlays/Tooltip.tsx"), exports);
|
|
2287
|
+
|
|
2288
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2289
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2290
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Dropdown */ "./components/overlays/Dropdown.tsx"), exports);
|
|
2291
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownContainer */ "./components/overlays/DropdownContainer.tsx"), exports);
|
|
2292
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownMenu */ "./components/overlays/DropdownMenu.tsx"), exports);
|
|
2293
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Modals */ "./components/overlays/Modals.tsx"), exports);
|
|
2294
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./NotificationCard */ "./components/overlays/NotificationCard.tsx"), exports);
|
|
2295
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tooltip */ "./components/overlays/Tooltip.tsx"), exports);
|
|
2296
2296
|
|
|
2297
2297
|
|
|
2298
2298
|
/***/ }),
|
|
@@ -2305,7 +2305,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
2305
2305
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2306
2306
|
|
|
2307
2307
|
// extracted by mini-css-extract-plugin
|
|
2308
|
-
module.exports = {"body":"
|
|
2308
|
+
module.exports = {"body":"_2mX7N","modal":"tC-vF","search":"_1cRY-","checkbox":"_3MoGX","search-wrapper":"_598rG","searchWrapper":"_598rG","search-size-24":"_2MveJ","searchSize24":"_2MveJ","search-size-30":"_3vh4b","searchSize30":"_3vh4b","search-size-36":"_10Q6o","searchSize36":"_10Q6o","search-size-42":"_1tBNQ","searchSize42":"_1tBNQ","no-found-size-24":"_3hx9E","noFoundSize24":"_3hx9E","no-found-size-30":"_3aQfL","noFoundSize30":"_3aQfL","no-found-size-36":"_3bYlZ","noFoundSize36":"_3bYlZ","no-found-size-42":"_3HxZG","noFoundSize42":"_3HxZG"};
|
|
2309
2309
|
|
|
2310
2310
|
/***/ }),
|
|
2311
2311
|
|
|
@@ -2317,48 +2317,48 @@ module.exports = {"body":"_3MOF8","modal":"_2DLR0","search":"_3Kls7","checkbox":
|
|
|
2317
2317
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2318
2318
|
|
|
2319
2319
|
"use strict";
|
|
2320
|
-
|
|
2321
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2322
|
-
exports.DataPickerBody = void 0;
|
|
2323
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2324
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2325
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2326
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2327
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2328
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2329
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2330
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2331
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerBody.scss */ "./components/pickers/DataPickerBody.scss"));
|
|
2332
|
-
var DataPickerBody = /** @class */ (function (_super) {
|
|
2333
|
-
(0, tslib_1.__extends)(DataPickerBody, _super);
|
|
2334
|
-
function DataPickerBody() {
|
|
2335
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2336
|
-
_this.lens = uui_core_1.Lens.onEditableComponent(_this);
|
|
2337
|
-
_this.searchLens = _this.lens.prop('search');
|
|
2338
|
-
return _this;
|
|
2339
|
-
}
|
|
2340
|
-
DataPickerBody.prototype.renderNoFound = function () {
|
|
2341
|
-
if (this.props.renderNotFound) {
|
|
2342
|
-
return this.props.renderNotFound();
|
|
2343
|
-
}
|
|
2344
|
-
return react_1.default.createElement(uui_components_1.FlexCell, { cx: css["no-found-size-".concat(this.props.searchSize || 36)], grow: 1, textAlign: 'center' },
|
|
2345
|
-
react_1.default.createElement(typography_1.Text, { size: this.props.searchSize || '36' }, i18n_1.i18n.dataPickerBody.noRecordsMessage));
|
|
2346
|
-
};
|
|
2347
|
-
DataPickerBody.prototype.render = function () {
|
|
2348
|
-
var value = this.props.value;
|
|
2349
|
-
var searchSize = (0, uui_core_1.isMobile)() ? '48' : (this.props.searchSize || '36');
|
|
2350
|
-
var searchClass = (0, uui_core_1.cx)(css.searchWrapper, css["search-size-".concat(searchSize)]);
|
|
2351
|
-
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
2352
|
-
this.showSearch() && (react_1.default.createElement("div", { key: 'search', className: searchClass },
|
|
2353
|
-
react_1.default.createElement(uui_components_1.FlexCell, { grow: 1 },
|
|
2354
|
-
react_1.default.createElement(inputs_1.SearchInput, (0, tslib_1.__assign)({ cx: css.search, placeholder: i18n_1.i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize }))))),
|
|
2355
|
-
react_1.default.createElement(layout_1.FlexRow, { key: 'body', cx: (0, uui_core_1.cx)(css.body, css[this.props.editMode]), rawProps: { style: { maxHeight: this.props.maxHeight } } }, this.props.rowsCount > 0
|
|
2356
|
-
? react_1.default.createElement(layout_1.VirtualList, (0, tslib_1.__assign)({}, this.lens.toProps(), { rows: this.props.rows, role: "listbox", rawProps: this.props.rawProps, rowsCount: this.props.rowsCount }))
|
|
2357
|
-
: this.renderNoFound()));
|
|
2358
|
-
};
|
|
2359
|
-
return DataPickerBody;
|
|
2360
|
-
}(uui_components_1.PickerBodyBase));
|
|
2361
|
-
exports.DataPickerBody = DataPickerBody;
|
|
2320
|
+
|
|
2321
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2322
|
+
exports.DataPickerBody = void 0;
|
|
2323
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2324
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2325
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2326
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2327
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2328
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2329
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2330
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2331
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerBody.scss */ "./components/pickers/DataPickerBody.scss"));
|
|
2332
|
+
var DataPickerBody = /** @class */ (function (_super) {
|
|
2333
|
+
(0, tslib_1.__extends)(DataPickerBody, _super);
|
|
2334
|
+
function DataPickerBody() {
|
|
2335
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2336
|
+
_this.lens = uui_core_1.Lens.onEditableComponent(_this);
|
|
2337
|
+
_this.searchLens = _this.lens.prop('search');
|
|
2338
|
+
return _this;
|
|
2339
|
+
}
|
|
2340
|
+
DataPickerBody.prototype.renderNoFound = function () {
|
|
2341
|
+
if (this.props.renderNotFound) {
|
|
2342
|
+
return this.props.renderNotFound();
|
|
2343
|
+
}
|
|
2344
|
+
return react_1.default.createElement(uui_components_1.FlexCell, { cx: css["no-found-size-".concat(this.props.searchSize || 36)], grow: 1, textAlign: 'center' },
|
|
2345
|
+
react_1.default.createElement(typography_1.Text, { size: this.props.searchSize || '36' }, i18n_1.i18n.dataPickerBody.noRecordsMessage));
|
|
2346
|
+
};
|
|
2347
|
+
DataPickerBody.prototype.render = function () {
|
|
2348
|
+
var value = this.props.value;
|
|
2349
|
+
var searchSize = (0, uui_core_1.isMobile)() ? '48' : (this.props.searchSize || '36');
|
|
2350
|
+
var searchClass = (0, uui_core_1.cx)(css.searchWrapper, css["search-size-".concat(searchSize)]);
|
|
2351
|
+
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
2352
|
+
this.showSearch() && (react_1.default.createElement("div", { key: 'search', className: searchClass },
|
|
2353
|
+
react_1.default.createElement(uui_components_1.FlexCell, { grow: 1 },
|
|
2354
|
+
react_1.default.createElement(inputs_1.SearchInput, (0, tslib_1.__assign)({ cx: css.search, placeholder: i18n_1.i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize }))))),
|
|
2355
|
+
react_1.default.createElement(layout_1.FlexRow, { key: 'body', cx: (0, uui_core_1.cx)(css.body, css[this.props.editMode]), rawProps: { style: { maxHeight: this.props.maxHeight } } }, this.props.rowsCount > 0
|
|
2356
|
+
? react_1.default.createElement(layout_1.VirtualList, (0, tslib_1.__assign)({}, this.lens.toProps(), { rows: this.props.rows, role: "listbox", rawProps: this.props.rawProps, rowsCount: this.props.rowsCount }))
|
|
2357
|
+
: this.renderNoFound()));
|
|
2358
|
+
};
|
|
2359
|
+
return DataPickerBody;
|
|
2360
|
+
}(uui_components_1.PickerBodyBase));
|
|
2361
|
+
exports.DataPickerBody = DataPickerBody;
|
|
2362
2362
|
|
|
2363
2363
|
|
|
2364
2364
|
/***/ }),
|
|
@@ -2371,7 +2371,7 @@ exports.DataPickerBody = DataPickerBody;
|
|
|
2371
2371
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2372
2372
|
|
|
2373
2373
|
// extracted by mini-css-extract-plugin
|
|
2374
|
-
module.exports = {"footer-wrapper":"
|
|
2374
|
+
module.exports = {"footer-wrapper":"_3IwKV","footerWrapper":"_3IwKV"};
|
|
2375
2375
|
|
|
2376
2376
|
/***/ }),
|
|
2377
2377
|
|
|
@@ -2383,44 +2383,44 @@ module.exports = {"footer-wrapper":"_1fUj1","footerWrapper":"_1fUj1"};
|
|
|
2383
2383
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2384
2384
|
|
|
2385
2385
|
"use strict";
|
|
2386
|
-
|
|
2387
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2388
|
-
exports.DataPickerFooter = void 0;
|
|
2389
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2390
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2391
|
-
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2392
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2393
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2394
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2395
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2396
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2397
|
-
var DataPickerFooter_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerFooter.scss */ "./components/pickers/DataPickerFooter.scss"));
|
|
2398
|
-
var switchSizes = {
|
|
2399
|
-
'24': '12',
|
|
2400
|
-
'36': '18',
|
|
2401
|
-
'42': '24',
|
|
2402
|
-
'48': '24',
|
|
2403
|
-
};
|
|
2404
|
-
var DataPickerFooterImpl = function (props) {
|
|
2405
|
-
var clearSelection = props.clearSelection, view = props.view, showSelected = props.showSelected;
|
|
2406
|
-
var size = (0, uui_core_1.isMobile)() ? '48' : (props.size || '36');
|
|
2407
|
-
var switchSize = switchSizes[size];
|
|
2408
|
-
var hasSelection = view.getSelectedRows().length > 0;
|
|
2409
|
-
var handleKeyDown = function (e) {
|
|
2410
|
-
if (!e.shiftKey && e.key === 'Tab')
|
|
2411
|
-
e.preventDefault();
|
|
2412
|
-
};
|
|
2413
|
-
return (react_1.default.createElement(layout_1.FlexRow, { padding: '12', cx: (0, classnames_1.default)(DataPickerFooter_scss_1.default.footerWrapper) },
|
|
2414
|
-
!props.hideShowOnlySelected && react_1.default.createElement(inputs_1.Switch, { size: switchSize, value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n_1.i18n.pickerInput.showOnlySelectedLabel }),
|
|
2415
|
-
react_1.default.createElement(layout_1.FlexSpacer, null),
|
|
2416
|
-
view.selectAll && (react_1.default.createElement(layout_1.FlexCell, { width: 'auto', alignSelf: 'center' },
|
|
2417
|
-
react_1.default.createElement(buttons_1.LinkButton, { size: size, caption: hasSelection
|
|
2418
|
-
? i18n_1.i18n.pickerInput.clearSelectionButton
|
|
2419
|
-
: i18n_1.i18n.pickerInput.selectAllButton, onClick: hasSelection
|
|
2420
|
-
? clearSelection
|
|
2421
|
-
: function () { return view.selectAll.onValueChange(true); }, rawProps: { onKeyDown: handleKeyDown } })))));
|
|
2422
|
-
};
|
|
2423
|
-
exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
|
|
2386
|
+
|
|
2387
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2388
|
+
exports.DataPickerFooter = void 0;
|
|
2389
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2390
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2391
|
+
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2392
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2393
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2394
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2395
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2396
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2397
|
+
var DataPickerFooter_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerFooter.scss */ "./components/pickers/DataPickerFooter.scss"));
|
|
2398
|
+
var switchSizes = {
|
|
2399
|
+
'24': '12',
|
|
2400
|
+
'36': '18',
|
|
2401
|
+
'42': '24',
|
|
2402
|
+
'48': '24',
|
|
2403
|
+
};
|
|
2404
|
+
var DataPickerFooterImpl = function (props) {
|
|
2405
|
+
var clearSelection = props.clearSelection, view = props.view, showSelected = props.showSelected;
|
|
2406
|
+
var size = (0, uui_core_1.isMobile)() ? '48' : (props.size || '36');
|
|
2407
|
+
var switchSize = switchSizes[size];
|
|
2408
|
+
var hasSelection = view.getSelectedRows().length > 0;
|
|
2409
|
+
var handleKeyDown = function (e) {
|
|
2410
|
+
if (!e.shiftKey && e.key === 'Tab')
|
|
2411
|
+
e.preventDefault();
|
|
2412
|
+
};
|
|
2413
|
+
return (react_1.default.createElement(layout_1.FlexRow, { padding: '12', cx: (0, classnames_1.default)(DataPickerFooter_scss_1.default.footerWrapper) },
|
|
2414
|
+
!props.hideShowOnlySelected && react_1.default.createElement(inputs_1.Switch, { size: switchSize, value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n_1.i18n.pickerInput.showOnlySelectedLabel }),
|
|
2415
|
+
react_1.default.createElement(layout_1.FlexSpacer, null),
|
|
2416
|
+
view.selectAll && (react_1.default.createElement(layout_1.FlexCell, { width: 'auto', alignSelf: 'center' },
|
|
2417
|
+
react_1.default.createElement(buttons_1.LinkButton, { size: size, caption: hasSelection
|
|
2418
|
+
? i18n_1.i18n.pickerInput.clearSelectionButton
|
|
2419
|
+
: i18n_1.i18n.pickerInput.selectAllButton, onClick: hasSelection
|
|
2420
|
+
? clearSelection
|
|
2421
|
+
: function () { return view.selectAll.onValueChange(true); }, rawProps: { onKeyDown: handleKeyDown } })))));
|
|
2422
|
+
};
|
|
2423
|
+
exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
|
|
2424
2424
|
|
|
2425
2425
|
|
|
2426
2426
|
/***/ }),
|
|
@@ -2433,7 +2433,7 @@ exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
|
|
|
2433
2433
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2434
2434
|
|
|
2435
2435
|
// extracted by mini-css-extract-plugin
|
|
2436
|
-
module.exports = {"header":"
|
|
2436
|
+
module.exports = {"header":"_3YObp","close":"_10B-4"};
|
|
2437
2437
|
|
|
2438
2438
|
/***/ }),
|
|
2439
2439
|
|
|
@@ -2445,23 +2445,23 @@ module.exports = {"header":"_1Za3U","close":"_1qPTw"};
|
|
|
2445
2445
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2446
2446
|
|
|
2447
2447
|
"use strict";
|
|
2448
|
-
|
|
2449
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2450
|
-
exports.DataPickerHeader = void 0;
|
|
2451
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2452
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2453
|
-
var DataPickerHeader_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerHeader.scss */ "./components/pickers/DataPickerHeader.scss"));
|
|
2454
|
-
var navigation_close_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/navigation-close-24.svg */ "../epam-assets/icons/common/navigation-close-24.svg");
|
|
2455
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2456
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2457
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2458
|
-
var DataPickerHeaderImpl = function (props) {
|
|
2459
|
-
var title = props.title ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2460
|
-
return (react_1.default.createElement(layout_1.FlexRow, { alignItems: 'center', borderBottom: true, size: "48", cx: DataPickerHeader_scss_1.default.header },
|
|
2461
|
-
react_1.default.createElement(typography_1.Text, { font: 'semibold' }, title),
|
|
2462
|
-
react_1.default.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: function () { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: DataPickerHeader_scss_1.default.close })));
|
|
2463
|
-
};
|
|
2464
|
-
exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
|
|
2448
|
+
|
|
2449
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2450
|
+
exports.DataPickerHeader = void 0;
|
|
2451
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2452
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2453
|
+
var DataPickerHeader_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerHeader.scss */ "./components/pickers/DataPickerHeader.scss"));
|
|
2454
|
+
var navigation_close_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/navigation-close-24.svg */ "../epam-assets/icons/common/navigation-close-24.svg");
|
|
2455
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2456
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2457
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2458
|
+
var DataPickerHeaderImpl = function (props) {
|
|
2459
|
+
var title = props.title ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2460
|
+
return (react_1.default.createElement(layout_1.FlexRow, { alignItems: 'center', borderBottom: true, size: "48", cx: DataPickerHeader_scss_1.default.header },
|
|
2461
|
+
react_1.default.createElement(typography_1.Text, { font: 'semibold' }, title),
|
|
2462
|
+
react_1.default.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: function () { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: DataPickerHeader_scss_1.default.close })));
|
|
2463
|
+
};
|
|
2464
|
+
exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
|
|
2465
2465
|
|
|
2466
2466
|
|
|
2467
2467
|
/***/ }),
|
|
@@ -2474,7 +2474,7 @@ exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
|
|
|
2474
2474
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2475
2475
|
|
|
2476
2476
|
// extracted by mini-css-extract-plugin
|
|
2477
|
-
module.exports = {"render-item":"
|
|
2477
|
+
module.exports = {"render-item":"_3Gj26","renderItem":"_3Gj26","icon-wrapper":"_1BARa","iconWrapper":"_1BARa","picker-row":"_3na2b","pickerRow":"_3na2b"};
|
|
2478
2478
|
|
|
2479
2479
|
/***/ }),
|
|
2480
2480
|
|
|
@@ -2486,51 +2486,52 @@ module.exports = {"render-item":"E5Njb","renderItem":"E5Njb","icon-wrapper":"_1f
|
|
|
2486
2486
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2487
2487
|
|
|
2488
2488
|
"use strict";
|
|
2489
|
-
|
|
2490
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2491
|
-
exports.DataPickerRow = void 0;
|
|
2492
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2493
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2494
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2495
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2496
|
-
var tables_1 = __webpack_require__(/*! ../tables */ "./components/tables/index.ts");
|
|
2497
|
-
var notification_done_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-24.svg */ "../epam-assets/icons/common/notification-done-24.svg");
|
|
2498
|
-
var notification_done_18_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-18.svg */ "../epam-assets/icons/common/notification-done-18.svg");
|
|
2499
|
-
var notification_done_12_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-12.svg */ "../epam-assets/icons/common/notification-done-12.svg");
|
|
2500
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerRow.scss */ "./components/pickers/DataPickerRow.scss"));
|
|
2501
|
-
var DataPickerRow = /** @class */ (function (_super) {
|
|
2502
|
-
(0, tslib_1.__extends)(DataPickerRow, _super);
|
|
2503
|
-
function DataPickerRow() {
|
|
2504
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2505
|
-
_this.getIcon = function (size) {
|
|
2506
|
-
switch (size) {
|
|
2507
|
-
case '24': return notification_done_12_svg_1.ReactComponent;
|
|
2508
|
-
case '30': return notification_done_18_svg_1.ReactComponent;
|
|
2509
|
-
case '36': return notification_done_18_svg_1.ReactComponent;
|
|
2510
|
-
case '42': return notification_done_24_svg_1.ReactComponent;
|
|
2511
|
-
default: return notification_done_18_svg_1.ReactComponent;
|
|
2512
|
-
}
|
|
2513
|
-
};
|
|
2514
|
-
_this.column = {
|
|
2515
|
-
key: 'name',
|
|
2516
|
-
grow: 1,
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2489
|
+
|
|
2490
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2491
|
+
exports.DataPickerRow = void 0;
|
|
2492
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2493
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2494
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2495
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2496
|
+
var tables_1 = __webpack_require__(/*! ../tables */ "./components/tables/index.ts");
|
|
2497
|
+
var notification_done_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-24.svg */ "../epam-assets/icons/common/notification-done-24.svg");
|
|
2498
|
+
var notification_done_18_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-18.svg */ "../epam-assets/icons/common/notification-done-18.svg");
|
|
2499
|
+
var notification_done_12_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-12.svg */ "../epam-assets/icons/common/notification-done-12.svg");
|
|
2500
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerRow.scss */ "./components/pickers/DataPickerRow.scss"));
|
|
2501
|
+
var DataPickerRow = /** @class */ (function (_super) {
|
|
2502
|
+
(0, tslib_1.__extends)(DataPickerRow, _super);
|
|
2503
|
+
function DataPickerRow() {
|
|
2504
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2505
|
+
_this.getIcon = function (size) {
|
|
2506
|
+
switch (size) {
|
|
2507
|
+
case '24': return notification_done_12_svg_1.ReactComponent;
|
|
2508
|
+
case '30': return notification_done_18_svg_1.ReactComponent;
|
|
2509
|
+
case '36': return notification_done_18_svg_1.ReactComponent;
|
|
2510
|
+
case '42': return notification_done_24_svg_1.ReactComponent;
|
|
2511
|
+
default: return notification_done_18_svg_1.ReactComponent;
|
|
2512
|
+
}
|
|
2513
|
+
};
|
|
2514
|
+
_this.column = {
|
|
2515
|
+
key: 'name',
|
|
2516
|
+
grow: 1,
|
|
2517
|
+
width: 0,
|
|
2518
|
+
render: function (item, rowProps) { return React.createElement("div", { key: rowProps.id, className: css.renderItem },
|
|
2519
|
+
_this.props.renderItem(item, rowProps),
|
|
2520
|
+
React.createElement(layout_1.FlexSpacer, null),
|
|
2521
|
+
(rowProps.isChildrenSelected || rowProps.isSelected) && React.createElement("div", { className: css.iconWrapper },
|
|
2522
|
+
React.createElement(layout_1.IconContainer, { icon: _this.getIcon(_this.props.size), color: rowProps.isChildrenSelected ? 'default' : 'info' }))); },
|
|
2523
|
+
};
|
|
2524
|
+
_this.renderContent = function () {
|
|
2525
|
+
return React.createElement(tables_1.DataTableCell, { key: 'name', size: _this.props.size || '36', padding: _this.props.padding || '24', isFirstColumn: true, isLastColumn: false, tabIndex: -1, column: _this.column, rowProps: _this.props, alignActions: _this.props.alignActions || 'top' });
|
|
2526
|
+
};
|
|
2527
|
+
return _this;
|
|
2528
|
+
}
|
|
2529
|
+
DataPickerRow.prototype.render = function () {
|
|
2530
|
+
return React.createElement(uui_components_1.DataPickerRow, (0, tslib_1.__assign)({}, this.props, { cx: [css.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
2531
|
+
};
|
|
2532
|
+
return DataPickerRow;
|
|
2533
|
+
}(React.Component));
|
|
2534
|
+
exports.DataPickerRow = DataPickerRow;
|
|
2534
2535
|
|
|
2535
2536
|
|
|
2536
2537
|
/***/ }),
|
|
@@ -2543,7 +2544,7 @@ exports.DataPickerRow = DataPickerRow;
|
|
|
2543
2544
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2544
2545
|
|
|
2545
2546
|
// extracted by mini-css-extract-plugin
|
|
2546
|
-
module.exports = {"done":"
|
|
2547
|
+
module.exports = {"done":"_1cK02"};
|
|
2547
2548
|
|
|
2548
2549
|
/***/ }),
|
|
2549
2550
|
|
|
@@ -2555,24 +2556,24 @@ module.exports = {"done":"_1wOkk"};
|
|
|
2555
2556
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2556
2557
|
|
|
2557
2558
|
"use strict";
|
|
2558
|
-
|
|
2559
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2560
|
-
exports.MobileDropdownWrapper = void 0;
|
|
2561
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2562
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2563
|
-
var MobileDropdownWrapper_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./MobileDropdownWrapper.scss */ "./components/pickers/MobileDropdownWrapper.scss"));
|
|
2564
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2565
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2566
|
-
var DataPickerHeader_1 = __webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx");
|
|
2567
|
-
var MobileDropdownWrapper = function (props) {
|
|
2568
|
-
var isVisible = (0, uui_core_1.isMobile)();
|
|
2569
|
-
(0, uui_core_1.useAppMobileHeight)();
|
|
2570
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
2571
|
-
isVisible && react_1.default.createElement(DataPickerHeader_1.DataPickerHeader, { title: props.title, close: props.close }),
|
|
2572
|
-
props.children,
|
|
2573
|
-
isVisible && (react_1.default.createElement(buttons_1.LinkButton, { caption: 'DONE', onClick: function () { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: MobileDropdownWrapper_scss_1.default.done, size: '48' }))));
|
|
2574
|
-
};
|
|
2575
|
-
exports.MobileDropdownWrapper = MobileDropdownWrapper;
|
|
2559
|
+
|
|
2560
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2561
|
+
exports.MobileDropdownWrapper = void 0;
|
|
2562
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2563
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2564
|
+
var MobileDropdownWrapper_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./MobileDropdownWrapper.scss */ "./components/pickers/MobileDropdownWrapper.scss"));
|
|
2565
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2566
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2567
|
+
var DataPickerHeader_1 = __webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx");
|
|
2568
|
+
var MobileDropdownWrapper = function (props) {
|
|
2569
|
+
var isVisible = (0, uui_core_1.isMobile)();
|
|
2570
|
+
(0, uui_core_1.useAppMobileHeight)();
|
|
2571
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
2572
|
+
isVisible && react_1.default.createElement(DataPickerHeader_1.DataPickerHeader, { title: props.title, close: props.close }),
|
|
2573
|
+
props.children,
|
|
2574
|
+
isVisible && (react_1.default.createElement(buttons_1.LinkButton, { caption: 'DONE', onClick: function () { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: MobileDropdownWrapper_scss_1.default.done, size: '48' }))));
|
|
2575
|
+
};
|
|
2576
|
+
exports.MobileDropdownWrapper = MobileDropdownWrapper;
|
|
2576
2577
|
|
|
2577
2578
|
|
|
2578
2579
|
/***/ }),
|
|
@@ -2585,7 +2586,7 @@ exports.MobileDropdownWrapper = MobileDropdownWrapper;
|
|
|
2585
2586
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2586
2587
|
|
|
2587
2588
|
// extracted by mini-css-extract-plugin
|
|
2588
|
-
module.exports = {"panel":"
|
|
2589
|
+
module.exports = {"panel":"_3c9r2","footer-wrapper":"_2Ch9R","footerWrapper":"_2Ch9R","footer-size-24":"_2_exV","footerSize24":"_2_exV","footer-size-30":"_2m6l-","footerSize30":"_2m6l-","footer-size-36":"_2Guhj","footerSize36":"_2Guhj","footer-size-42":"_2-sGr","footerSize42":"_2-sGr","footer-size-48":"_2faKF","footerSize48":"_2faKF"};
|
|
2589
2590
|
|
|
2590
2591
|
/***/ }),
|
|
2591
2592
|
|
|
@@ -2597,84 +2598,84 @@ module.exports = {"panel":"fgS5w","footer-wrapper":"_3C4sv","footerWrapper":"_3C
|
|
|
2597
2598
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2598
2599
|
|
|
2599
2600
|
"use strict";
|
|
2600
|
-
|
|
2601
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2602
|
-
exports.PickerInput = void 0;
|
|
2603
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2604
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2605
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2606
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2607
|
-
var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
|
|
2608
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2609
|
-
var PickerToggler_1 = __webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx");
|
|
2610
|
-
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2611
|
-
var PickerItem_1 = __webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx");
|
|
2612
|
-
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2613
|
-
var DataPickerFooter_1 = __webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx");
|
|
2614
|
-
var MobileDropdownWrapper_1 = __webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx");
|
|
2615
|
-
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
2616
|
-
var PickerInput_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerInput.scss */ "./components/pickers/PickerInput.scss"));
|
|
2617
|
-
var pickerHeight = 300;
|
|
2618
|
-
var pickerWidth = 360;
|
|
2619
|
-
var PickerInput = /** @class */ (function (_super) {
|
|
2620
|
-
(0, tslib_1.__extends)(PickerInput, _super);
|
|
2621
|
-
function PickerInput() {
|
|
2622
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2623
|
-
_this.renderItem = function (item, rowProps) {
|
|
2624
|
-
return react_1.default.createElement(PickerItem_1.PickerItem, (0, tslib_1.__assign)({ title: _this.getName(item), size: _this.getRowSize() }, rowProps));
|
|
2625
|
-
};
|
|
2626
|
-
_this.renderRow = function (rowProps) {
|
|
2627
|
-
if (rowProps.isSelectable && _this.isSingleSelect() && _this.props.editMode !== 'modal') {
|
|
2628
|
-
rowProps.onSelect = _this.onSelect;
|
|
2629
|
-
}
|
|
2630
|
-
return _this.props.renderRow ? _this.props.renderRow(rowProps) : (react_1.default.createElement(DataPickerRow_1.DataPickerRow, (0, tslib_1.__assign)({}, rowProps, { key: rowProps.rowKey, borderBottom: 'none', size: _this.getRowSize(), rawProps: { 'aria-selected': rowProps.isSelectable && rowProps.isSelected, role: 'option' }, padding: _this.props.editMode === 'modal' ? '24' : '12', renderItem: _this.renderItem })));
|
|
2631
|
-
};
|
|
2632
|
-
return _this;
|
|
2633
|
-
}
|
|
2634
|
-
PickerInput.prototype.toggleModalOpening = function (opened) {
|
|
2635
|
-
var _this = this;
|
|
2636
|
-
var _a = this.props, renderFooter = _a.renderFooter, restProps = (0, tslib_1.__rest)(_a, ["renderFooter"]);
|
|
2637
|
-
this.context.uuiModals.show(function (props) { return react_1.default.createElement(PickerModal_1.PickerModal, (0, tslib_1.__assign)({}, restProps, props, { caption: _this.getPlaceholder(), initialValue: _this.props.value, renderRow: _this.renderRow, selectionMode: _this.props.selectionMode, valueType: _this.props.valueType })); })
|
|
2638
|
-
.then(function (newSelection) { return _this.handleSelectionValueChange(newSelection); })
|
|
2639
|
-
.catch(function () { return null; });
|
|
2640
|
-
};
|
|
2641
|
-
PickerInput.prototype.getRowSize = function () {
|
|
2642
|
-
return (0, uui_core_1.isMobile)()
|
|
2643
|
-
? '48'
|
|
2644
|
-
: this.props.editMode === 'modal'
|
|
2645
|
-
? '36'
|
|
2646
|
-
: this.props.size;
|
|
2647
|
-
};
|
|
2648
|
-
PickerInput.prototype.getTogglerMods = function () {
|
|
2649
|
-
return {
|
|
2650
|
-
size: this.props.size,
|
|
2651
|
-
mode: this.props.mode ? this.props.mode : types_1.EditMode.FORM,
|
|
2652
|
-
};
|
|
2653
|
-
};
|
|
2654
|
-
PickerInput.prototype.renderFooter = function () {
|
|
2655
|
-
var footerProps = this.getFooterProps();
|
|
2656
|
-
return this.props.renderFooter
|
|
2657
|
-
? this.props.renderFooter(footerProps)
|
|
2658
|
-
: react_1.default.createElement(DataPickerFooter_1.DataPickerFooter, (0, tslib_1.__assign)({}, footerProps, { size: this.props.size }));
|
|
2659
|
-
};
|
|
2660
|
-
PickerInput.prototype.renderTarget = function (targetProps) {
|
|
2661
|
-
var _this = this;
|
|
2662
|
-
var renderTarget = this.props.renderToggler || (function (props) { return react_1.default.createElement(PickerToggler_1.PickerToggler, (0, tslib_1.__assign)({}, props)); });
|
|
2663
|
-
return (react_1.default.createElement(uui_core_1.IEditableDebouncer, { value: this.state.dataSourceState.search, onValueChange: this.handleTogglerSearchChange, render: function (editableProps) { return renderTarget((0, tslib_1.__assign)((0, tslib_1.__assign)((0, tslib_1.__assign)({}, _this.getTogglerMods()), targetProps), editableProps)); } }));
|
|
2664
|
-
};
|
|
2665
|
-
PickerInput.prototype.renderBody = function (props, rows) {
|
|
2666
|
-
var _this = this;
|
|
2667
|
-
var renderedDataRows = rows.map(function (props) { return _this.renderRow(props); });
|
|
2668
|
-
var maxHeight = (0, uui_core_1.isMobile)() ? document.documentElement.clientHeight : (this.props.dropdownHeight || pickerHeight);
|
|
2669
|
-
var minBodyWidth = (0, uui_core_1.isMobile)() ? document.documentElement.clientWidth : (this.props.minBodyWidth || pickerWidth);
|
|
2670
|
-
return (react_1.default.createElement(layout_1.Panel, { shadow: true, style: { width: props.togglerWidth > minBodyWidth ? props.togglerWidth : minBodyWidth }, rawProps: { tabIndex: -1 }, cx: [PickerInput_scss_1.default.panel, uui_core_1.uuiMarkers.lockFocus], background: true },
|
|
2671
|
-
react_1.default.createElement(MobileDropdownWrapper_1.MobileDropdownWrapper, { title: this.props.entityName, close: function () { return _this.toggleBodyOpening(false); } },
|
|
2672
|
-
react_1.default.createElement(DataPickerBody_1.DataPickerBody, (0, tslib_1.__assign)({}, props, { rows: renderedDataRows, maxHeight: maxHeight, searchSize: this.props.size, editMode: 'dropdown' })),
|
|
2673
|
-
!this.isSingleSelect() && this.renderFooter())));
|
|
2674
|
-
};
|
|
2675
|
-
return PickerInput;
|
|
2676
|
-
}(uui_components_1.PickerInputBase));
|
|
2677
|
-
exports.PickerInput = PickerInput;
|
|
2601
|
+
|
|
2602
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2603
|
+
exports.PickerInput = void 0;
|
|
2604
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2605
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2606
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2607
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2608
|
+
var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
|
|
2609
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2610
|
+
var PickerToggler_1 = __webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx");
|
|
2611
|
+
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2612
|
+
var PickerItem_1 = __webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx");
|
|
2613
|
+
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2614
|
+
var DataPickerFooter_1 = __webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx");
|
|
2615
|
+
var MobileDropdownWrapper_1 = __webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx");
|
|
2616
|
+
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
2617
|
+
var PickerInput_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerInput.scss */ "./components/pickers/PickerInput.scss"));
|
|
2618
|
+
var pickerHeight = 300;
|
|
2619
|
+
var pickerWidth = 360;
|
|
2620
|
+
var PickerInput = /** @class */ (function (_super) {
|
|
2621
|
+
(0, tslib_1.__extends)(PickerInput, _super);
|
|
2622
|
+
function PickerInput() {
|
|
2623
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2624
|
+
_this.renderItem = function (item, rowProps) {
|
|
2625
|
+
return react_1.default.createElement(PickerItem_1.PickerItem, (0, tslib_1.__assign)({ title: _this.getName(item), size: _this.getRowSize() }, rowProps));
|
|
2626
|
+
};
|
|
2627
|
+
_this.renderRow = function (rowProps) {
|
|
2628
|
+
if (rowProps.isSelectable && _this.isSingleSelect() && _this.props.editMode !== 'modal') {
|
|
2629
|
+
rowProps.onSelect = _this.onSelect;
|
|
2630
|
+
}
|
|
2631
|
+
return _this.props.renderRow ? _this.props.renderRow(rowProps) : (react_1.default.createElement(DataPickerRow_1.DataPickerRow, (0, tslib_1.__assign)({}, rowProps, { key: rowProps.rowKey, borderBottom: 'none', size: _this.getRowSize(), rawProps: { 'aria-selected': rowProps.isSelectable && rowProps.isSelected, role: 'option' }, padding: _this.props.editMode === 'modal' ? '24' : '12', renderItem: _this.renderItem })));
|
|
2632
|
+
};
|
|
2633
|
+
return _this;
|
|
2634
|
+
}
|
|
2635
|
+
PickerInput.prototype.toggleModalOpening = function (opened) {
|
|
2636
|
+
var _this = this;
|
|
2637
|
+
var _a = this.props, renderFooter = _a.renderFooter, restProps = (0, tslib_1.__rest)(_a, ["renderFooter"]);
|
|
2638
|
+
this.context.uuiModals.show(function (props) { return react_1.default.createElement(PickerModal_1.PickerModal, (0, tslib_1.__assign)({}, restProps, props, { caption: _this.getPlaceholder(), initialValue: _this.props.value, renderRow: _this.renderRow, selectionMode: _this.props.selectionMode, valueType: _this.props.valueType })); })
|
|
2639
|
+
.then(function (newSelection) { return _this.handleSelectionValueChange(newSelection); })
|
|
2640
|
+
.catch(function () { return null; });
|
|
2641
|
+
};
|
|
2642
|
+
PickerInput.prototype.getRowSize = function () {
|
|
2643
|
+
return (0, uui_core_1.isMobile)()
|
|
2644
|
+
? '48'
|
|
2645
|
+
: this.props.editMode === 'modal'
|
|
2646
|
+
? '36'
|
|
2647
|
+
: this.props.size;
|
|
2648
|
+
};
|
|
2649
|
+
PickerInput.prototype.getTogglerMods = function () {
|
|
2650
|
+
return {
|
|
2651
|
+
size: this.props.size,
|
|
2652
|
+
mode: this.props.mode ? this.props.mode : types_1.EditMode.FORM,
|
|
2653
|
+
};
|
|
2654
|
+
};
|
|
2655
|
+
PickerInput.prototype.renderFooter = function () {
|
|
2656
|
+
var footerProps = this.getFooterProps();
|
|
2657
|
+
return this.props.renderFooter
|
|
2658
|
+
? this.props.renderFooter(footerProps)
|
|
2659
|
+
: react_1.default.createElement(DataPickerFooter_1.DataPickerFooter, (0, tslib_1.__assign)({}, footerProps, { size: this.props.size }));
|
|
2660
|
+
};
|
|
2661
|
+
PickerInput.prototype.renderTarget = function (targetProps) {
|
|
2662
|
+
var _this = this;
|
|
2663
|
+
var renderTarget = this.props.renderToggler || (function (props) { return react_1.default.createElement(PickerToggler_1.PickerToggler, (0, tslib_1.__assign)({}, props)); });
|
|
2664
|
+
return (react_1.default.createElement(uui_core_1.IEditableDebouncer, { value: this.state.dataSourceState.search, onValueChange: this.handleTogglerSearchChange, render: function (editableProps) { return renderTarget((0, tslib_1.__assign)((0, tslib_1.__assign)((0, tslib_1.__assign)({}, _this.getTogglerMods()), targetProps), editableProps)); } }));
|
|
2665
|
+
};
|
|
2666
|
+
PickerInput.prototype.renderBody = function (props, rows) {
|
|
2667
|
+
var _this = this;
|
|
2668
|
+
var renderedDataRows = rows.map(function (props) { return _this.renderRow(props); });
|
|
2669
|
+
var maxHeight = (0, uui_core_1.isMobile)() ? document.documentElement.clientHeight : (this.props.dropdownHeight || pickerHeight);
|
|
2670
|
+
var minBodyWidth = (0, uui_core_1.isMobile)() ? document.documentElement.clientWidth : (this.props.minBodyWidth || pickerWidth);
|
|
2671
|
+
return (react_1.default.createElement(layout_1.Panel, { shadow: true, style: { width: props.togglerWidth > minBodyWidth ? props.togglerWidth : minBodyWidth }, rawProps: { tabIndex: -1 }, cx: [PickerInput_scss_1.default.panel, uui_core_1.uuiMarkers.lockFocus], background: true },
|
|
2672
|
+
react_1.default.createElement(MobileDropdownWrapper_1.MobileDropdownWrapper, { title: this.props.entityName, close: function () { return _this.toggleBodyOpening(false); } },
|
|
2673
|
+
react_1.default.createElement(DataPickerBody_1.DataPickerBody, (0, tslib_1.__assign)({}, props, { rows: renderedDataRows, maxHeight: maxHeight, searchSize: this.props.size, editMode: 'dropdown' })),
|
|
2674
|
+
!this.isSingleSelect() && this.renderFooter())));
|
|
2675
|
+
};
|
|
2676
|
+
return PickerInput;
|
|
2677
|
+
}(uui_components_1.PickerInputBase));
|
|
2678
|
+
exports.PickerInput = PickerInput;
|
|
2678
2679
|
|
|
2679
2680
|
|
|
2680
2681
|
/***/ }),
|
|
@@ -2687,7 +2688,7 @@ exports.PickerInput = PickerInput;
|
|
|
2687
2688
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2688
2689
|
|
|
2689
2690
|
// extracted by mini-css-extract-plugin
|
|
2690
|
-
module.exports = {"root":"
|
|
2691
|
+
module.exports = {"root":"_1jSlo","multiline-vertical-padding-24":"GnRhh","multilineVerticalPadding24":"GnRhh","multiline-vertical-padding-30":"qlSYe","multilineVerticalPadding30":"qlSYe","multiline-vertical-padding-36":"HvFpi","multilineVerticalPadding36":"HvFpi","multiline-vertical-padding-42":"HgkW7","multilineVerticalPadding42":"HgkW7","multiline-vertical-padding-48":"_3CsEz","multilineVerticalPadding48":"_3CsEz"};
|
|
2691
2692
|
|
|
2692
2693
|
/***/ }),
|
|
2693
2694
|
|
|
@@ -2699,39 +2700,39 @@ module.exports = {"root":"csvdy","multiline-vertical-padding-24":"_1H0D8","multi
|
|
|
2699
2700
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2700
2701
|
|
|
2701
2702
|
"use strict";
|
|
2702
|
-
|
|
2703
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2704
|
-
exports.PickerItem = void 0;
|
|
2705
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2706
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2707
|
-
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2708
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2709
|
-
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2710
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerItem.scss */ "./components/pickers/PickerItem.scss"));
|
|
2711
|
-
var defaultSize = '36';
|
|
2712
|
-
var PickerItem = /** @class */ (function (_super) {
|
|
2713
|
-
(0, tslib_1.__extends)(PickerItem, _super);
|
|
2714
|
-
function PickerItem() {
|
|
2715
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2716
|
-
_this.getAvatarSize = function (size, isMultiline) {
|
|
2717
|
-
return isMultiline ? size : +size - 6;
|
|
2718
|
-
};
|
|
2719
|
-
return _this;
|
|
2720
|
-
}
|
|
2721
|
-
PickerItem.prototype.render = function () {
|
|
2722
|
-
var _a = this.props, size = _a.size, avatarUrl = _a.avatarUrl, title = _a.title, subtitle = _a.subtitle, isLoading = _a.isLoading, isDisabled = _a.isDisabled;
|
|
2723
|
-
var itemSize = size && size !== 'none' ? size : defaultSize;
|
|
2724
|
-
var isMultiline = !!(title && subtitle);
|
|
2725
|
-
return (React.createElement(FlexItems_1.FlexCell, { width: 'auto', cx: css.root },
|
|
2726
|
-
React.createElement(FlexItems_1.FlexRow, { size: itemSize, cx: isMultiline && css["multiline-vertical-padding-".concat(itemSize)], spacing: '12' },
|
|
2727
|
-
avatarUrl && React.createElement(widgets_1.Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2728
|
-
React.createElement(FlexItems_1.FlexCell, { width: 'auto' },
|
|
2729
|
-
title && React.createElement(typography_1.Text, { size: itemSize, cx: css.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : title),
|
|
2730
|
-
subtitle && React.createElement(typography_1.Text, { size: itemSize, color: 'disabled', cx: css.text }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : subtitle)))));
|
|
2731
|
-
};
|
|
2732
|
-
return PickerItem;
|
|
2733
|
-
}(React.Component));
|
|
2734
|
-
exports.PickerItem = PickerItem;
|
|
2703
|
+
|
|
2704
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2705
|
+
exports.PickerItem = void 0;
|
|
2706
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2707
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2708
|
+
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2709
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2710
|
+
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2711
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerItem.scss */ "./components/pickers/PickerItem.scss"));
|
|
2712
|
+
var defaultSize = '36';
|
|
2713
|
+
var PickerItem = /** @class */ (function (_super) {
|
|
2714
|
+
(0, tslib_1.__extends)(PickerItem, _super);
|
|
2715
|
+
function PickerItem() {
|
|
2716
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2717
|
+
_this.getAvatarSize = function (size, isMultiline) {
|
|
2718
|
+
return isMultiline ? size : +size - 6;
|
|
2719
|
+
};
|
|
2720
|
+
return _this;
|
|
2721
|
+
}
|
|
2722
|
+
PickerItem.prototype.render = function () {
|
|
2723
|
+
var _a = this.props, size = _a.size, avatarUrl = _a.avatarUrl, title = _a.title, subtitle = _a.subtitle, isLoading = _a.isLoading, isDisabled = _a.isDisabled;
|
|
2724
|
+
var itemSize = size && size !== 'none' ? size : defaultSize;
|
|
2725
|
+
var isMultiline = !!(title && subtitle);
|
|
2726
|
+
return (React.createElement(FlexItems_1.FlexCell, { width: 'auto', cx: css.root },
|
|
2727
|
+
React.createElement(FlexItems_1.FlexRow, { size: itemSize, cx: isMultiline && css["multiline-vertical-padding-".concat(itemSize)], spacing: '12' },
|
|
2728
|
+
avatarUrl && React.createElement(widgets_1.Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2729
|
+
React.createElement(FlexItems_1.FlexCell, { width: 'auto' },
|
|
2730
|
+
title && React.createElement(typography_1.Text, { size: itemSize, cx: css.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : title),
|
|
2731
|
+
subtitle && React.createElement(typography_1.Text, { size: itemSize, color: 'disabled', cx: css.text }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : subtitle)))));
|
|
2732
|
+
};
|
|
2733
|
+
return PickerItem;
|
|
2734
|
+
}(React.Component));
|
|
2735
|
+
exports.PickerItem = PickerItem;
|
|
2735
2736
|
|
|
2736
2737
|
|
|
2737
2738
|
/***/ }),
|
|
@@ -2744,58 +2745,56 @@ exports.PickerItem = PickerItem;
|
|
|
2744
2745
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2745
2746
|
|
|
2746
2747
|
"use strict";
|
|
2747
|
-
|
|
2748
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2749
|
-
exports.PickerList = void 0;
|
|
2750
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2751
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2752
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2753
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2754
|
-
var
|
|
2755
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2756
|
-
var PickerListItem_1 = __webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx");
|
|
2757
|
-
var
|
|
2758
|
-
var PickerList = /** @class */ (function (_super) {
|
|
2759
|
-
(0, tslib_1.__extends)(PickerList, _super);
|
|
2760
|
-
function PickerList() {
|
|
2761
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2762
|
-
_this.sessionStartTime = (new Date()).getTime();
|
|
2763
|
-
_this.renderRow = function (row) {
|
|
2764
|
-
return react_1.default.createElement(PickerListItem_1.PickerListItem, (0, tslib_1.__assign)({ getName: function (item) { return _this.getName(item); } }, row, { key: row.rowKey }));
|
|
2765
|
-
};
|
|
2766
|
-
_this.handleShowPicker = function () {
|
|
2767
|
-
_this.context.uuiModals
|
|
2768
|
-
.
|
|
2769
|
-
.
|
|
2770
|
-
_this.
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
};
|
|
2774
|
-
_this.defaultRenderToggler = function (props) { return
|
|
2775
|
-
return _this;
|
|
2776
|
-
}
|
|
2777
|
-
PickerList.prototype.render = function () {
|
|
2778
|
-
var view = this.getView();
|
|
2779
|
-
var viewProps = view.getListProps();
|
|
2780
|
-
var selectedRows = view.getSelectedRows();
|
|
2781
|
-
var rows = this.buildRowsList();
|
|
2782
|
-
|
|
2783
|
-
var
|
|
2784
|
-
var
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
}(uui_components_1.PickerListBase));
|
|
2798
|
-
exports.PickerList = PickerList;
|
|
2748
|
+
|
|
2749
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2750
|
+
exports.PickerList = void 0;
|
|
2751
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2752
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2753
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2754
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2755
|
+
var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
|
|
2756
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2757
|
+
var PickerListItem_1 = __webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx");
|
|
2758
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2759
|
+
var PickerList = /** @class */ (function (_super) {
|
|
2760
|
+
(0, tslib_1.__extends)(PickerList, _super);
|
|
2761
|
+
function PickerList() {
|
|
2762
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2763
|
+
_this.sessionStartTime = (new Date()).getTime();
|
|
2764
|
+
_this.renderRow = function (row) {
|
|
2765
|
+
return react_1.default.createElement(PickerListItem_1.PickerListItem, (0, tslib_1.__assign)({ getName: function (item) { return _this.getName(item); } }, row, { key: row.rowKey }));
|
|
2766
|
+
};
|
|
2767
|
+
_this.handleShowPicker = function () {
|
|
2768
|
+
_this.context.uuiModals.show(function (props) { return react_1.default.createElement(PickerModal_1.PickerModal, (0, tslib_1.__assign)({}, props, _this.props, { caption: _this.props.placeholder || "Please select ".concat(_this.getEntityName() ? _this.getEntityName() : ""), initialValue: _this.props.value, selectionMode: _this.props.selectionMode, valueType: _this.props.valueType })); })
|
|
2769
|
+
.then(function (value) {
|
|
2770
|
+
_this.appendLastSelected((0, tslib_1.__spreadArray)([], _this.getSelectedIdsArray(value), true));
|
|
2771
|
+
_this.props.onValueChange(value);
|
|
2772
|
+
})
|
|
2773
|
+
.catch(function () { return null; });
|
|
2774
|
+
};
|
|
2775
|
+
_this.defaultRenderToggler = function (props) { return react_1.default.createElement(buttons_1.LinkButton, (0, tslib_1.__assign)({ caption: 'Show all' }, props)); };
|
|
2776
|
+
return _this;
|
|
2777
|
+
}
|
|
2778
|
+
PickerList.prototype.render = function () {
|
|
2779
|
+
var view = this.getView();
|
|
2780
|
+
var viewProps = view.getListProps();
|
|
2781
|
+
var selectedRows = view.getSelectedRows();
|
|
2782
|
+
var rows = this.buildRowsList();
|
|
2783
|
+
// This is incorrect condition to hide Show More, it won't work for small tree. Added as a temporary solution.
|
|
2784
|
+
var showPicker = viewProps.totalCount == null || viewProps.totalCount > this.getMaxDefaultItems();
|
|
2785
|
+
var renderToggler = this.props.renderModalToggler || this.defaultRenderToggler;
|
|
2786
|
+
var renderRow = this.props.renderRow || this.renderRow;
|
|
2787
|
+
return (react_1.default.createElement("div", null,
|
|
2788
|
+
!rows.length && (this.props.noOptionsMessage ?
|
|
2789
|
+
this.props.noOptionsMessage :
|
|
2790
|
+
react_1.default.createElement(typography_1.Text, { color: 'secondary', size: this.props.size }, "No options available")),
|
|
2791
|
+
rows.map(function (row) { return renderRow(row); }),
|
|
2792
|
+
showPicker && renderToggler({ onClick: this.handleShowPicker, caption: this.getModalTogglerCaption(viewProps.totalCount, selectedRows.length) }, selectedRows)));
|
|
2793
|
+
};
|
|
2794
|
+
PickerList.contextType = uui_core_1.UuiContext;
|
|
2795
|
+
return PickerList;
|
|
2796
|
+
}(uui_components_1.PickerListBase));
|
|
2797
|
+
exports.PickerList = PickerList;
|
|
2799
2798
|
|
|
2800
2799
|
|
|
2801
2800
|
/***/ }),
|
|
@@ -2808,7 +2807,7 @@ exports.PickerList = PickerList;
|
|
|
2808
2807
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2809
2808
|
|
|
2810
2809
|
// extracted by mini-css-extract-plugin
|
|
2811
|
-
module.exports = {"row":"
|
|
2810
|
+
module.exports = {"row":"PdUoY"};
|
|
2812
2811
|
|
|
2813
2812
|
/***/ }),
|
|
2814
2813
|
|
|
@@ -2820,40 +2819,40 @@ module.exports = {"row":"_2ySVH"};
|
|
|
2820
2819
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2821
2820
|
|
|
2822
2821
|
"use strict";
|
|
2823
|
-
|
|
2824
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2825
|
-
exports.PickerListItem = void 0;
|
|
2826
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2827
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2828
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2829
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2830
|
-
var PickerListItem_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerListItem.scss */ "./components/pickers/PickerListItem.scss"));
|
|
2831
|
-
var PickerListItem = /** @class */ (function (_super) {
|
|
2832
|
-
(0, tslib_1.__extends)(PickerListItem, _super);
|
|
2833
|
-
function PickerListItem() {
|
|
2834
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2835
|
-
}
|
|
2836
|
-
PickerListItem.prototype.render = function () {
|
|
2837
|
-
var _this = this;
|
|
2838
|
-
var label;
|
|
2839
|
-
if (this.props.isLoading) {
|
|
2840
|
-
label = react_1.default.createElement(typography_1.TextPlaceholder, { wordsCount: 2 });
|
|
2841
|
-
}
|
|
2842
|
-
else {
|
|
2843
|
-
label = this.props.getName(this.props.value);
|
|
2844
|
-
}
|
|
2845
|
-
var component;
|
|
2846
|
-
if (this.props.checkbox) {
|
|
2847
|
-
component = react_1.default.createElement(inputs_1.Checkbox, (0, tslib_1.__assign)({}, this.props.checkbox, { isDisabled: this.props.isLoading || this.props.checkbox.isDisabled, label: label, value: this.props.isChecked, onValueChange: function () { return _this.props.onCheck(_this.props); } }));
|
|
2848
|
-
}
|
|
2849
|
-
else {
|
|
2850
|
-
component = react_1.default.createElement(inputs_1.RadioInput, { label: label, value: this.props.isSelected, isDisabled: this.props.isLoading || !this.props.isSelectable, onValueChange: function () { return _this.props.onSelect(_this.props); } });
|
|
2851
|
-
}
|
|
2852
|
-
return react_1.default.createElement("div", { className: PickerListItem_scss_1.default.row }, component);
|
|
2853
|
-
};
|
|
2854
|
-
return PickerListItem;
|
|
2855
|
-
}(react_1.default.Component));
|
|
2856
|
-
exports.PickerListItem = PickerListItem;
|
|
2822
|
+
|
|
2823
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2824
|
+
exports.PickerListItem = void 0;
|
|
2825
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2826
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2827
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2828
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2829
|
+
var PickerListItem_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerListItem.scss */ "./components/pickers/PickerListItem.scss"));
|
|
2830
|
+
var PickerListItem = /** @class */ (function (_super) {
|
|
2831
|
+
(0, tslib_1.__extends)(PickerListItem, _super);
|
|
2832
|
+
function PickerListItem() {
|
|
2833
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2834
|
+
}
|
|
2835
|
+
PickerListItem.prototype.render = function () {
|
|
2836
|
+
var _this = this;
|
|
2837
|
+
var label;
|
|
2838
|
+
if (this.props.isLoading) {
|
|
2839
|
+
label = react_1.default.createElement(typography_1.TextPlaceholder, { wordsCount: 2 });
|
|
2840
|
+
}
|
|
2841
|
+
else {
|
|
2842
|
+
label = this.props.getName(this.props.value);
|
|
2843
|
+
}
|
|
2844
|
+
var component;
|
|
2845
|
+
if (this.props.checkbox) {
|
|
2846
|
+
component = react_1.default.createElement(inputs_1.Checkbox, (0, tslib_1.__assign)({}, this.props.checkbox, { isDisabled: this.props.isLoading || this.props.checkbox.isDisabled, label: label, value: this.props.isChecked, onValueChange: function () { return _this.props.onCheck(_this.props); } }));
|
|
2847
|
+
}
|
|
2848
|
+
else {
|
|
2849
|
+
component = react_1.default.createElement(inputs_1.RadioInput, { label: label, value: this.props.isSelected, isDisabled: this.props.isLoading || !this.props.isSelectable, onValueChange: function () { return _this.props.onSelect(_this.props); } });
|
|
2850
|
+
}
|
|
2851
|
+
return react_1.default.createElement("div", { className: PickerListItem_scss_1.default.row }, component);
|
|
2852
|
+
};
|
|
2853
|
+
return PickerListItem;
|
|
2854
|
+
}(react_1.default.Component));
|
|
2855
|
+
exports.PickerListItem = PickerListItem;
|
|
2857
2856
|
|
|
2858
2857
|
|
|
2859
2858
|
/***/ }),
|
|
@@ -2866,7 +2865,7 @@ exports.PickerListItem = PickerListItem;
|
|
|
2866
2865
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2867
2866
|
|
|
2868
2867
|
// extracted by mini-css-extract-plugin
|
|
2869
|
-
module.exports = {"sub-header-wrapper":"
|
|
2868
|
+
module.exports = {"sub-header-wrapper":"_1c4tS","subHeaderWrapper":"_1c4tS","switch":"_3xtpd"};
|
|
2870
2869
|
|
|
2871
2870
|
/***/ }),
|
|
2872
2871
|
|
|
@@ -2878,87 +2877,87 @@ module.exports = {"sub-header-wrapper":"_1Ulk6","subHeaderWrapper":"_1Ulk6","swi
|
|
|
2878
2877
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2879
2878
|
|
|
2880
2879
|
"use strict";
|
|
2881
|
-
|
|
2882
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2883
|
-
exports.PickerModal = exports.PickerModalImpl = void 0;
|
|
2884
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2885
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2886
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerModal.scss */ "./components/pickers/PickerModal.scss"));
|
|
2887
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2888
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2889
|
-
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2890
|
-
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2891
|
-
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
2892
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2893
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2894
|
-
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2895
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2896
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2897
|
-
var PickerModalImpl = /** @class */ (function (_super) {
|
|
2898
|
-
(0, tslib_1.__extends)(PickerModalImpl, _super);
|
|
2899
|
-
function PickerModalImpl() {
|
|
2900
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2901
|
-
}
|
|
2902
|
-
PickerModalImpl.prototype.renderRow = function (rowProps) {
|
|
2903
|
-
var _this = this;
|
|
2904
|
-
return this.props.renderRow ? this.props.renderRow(rowProps) : (React.createElement(DataPickerRow_1.DataPickerRow, (0, tslib_1.__assign)({}, rowProps, { key: rowProps.rowKey, borderBottom: 'none', padding: '24', size: '36', renderItem: function (i) { return React.createElement(typography_1.Text, { size: '36' }, rowProps.isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : _this.getName(i)); } })));
|
|
2905
|
-
};
|
|
2906
|
-
PickerModalImpl.prototype.renderFooter = function (selectedDataRows) {
|
|
2907
|
-
var _this = this;
|
|
2908
|
-
var hasSelection = selectedDataRows.length > 0;
|
|
2909
|
-
var view = this.getView();
|
|
2910
|
-
return React.createElement(React.Fragment, null,
|
|
2911
|
-
view.selectAll && React.createElement(buttons_1.LinkButton, { caption: hasSelection ? i18n_1.i18n.pickerModal.clearAllButton : i18n_1.i18n.pickerModal.selectAllButton, onClick: hasSelection ? function () { return _this.clearSelection(); } : function () { return view.selectAll.onValueChange(true); } }),
|
|
2912
|
-
React.createElement(FlexItems_1.FlexSpacer, null),
|
|
2913
|
-
React.createElement(buttons_1.Button, { mode: 'outline', color: 'secondary', caption: i18n_1.i18n.pickerModal.cancelButton, onClick: function () { return _this.props.abort(); } }),
|
|
2914
|
-
React.createElement(buttons_1.Button, { color: 'accent', caption: i18n_1.i18n.pickerModal.selectButton, onClick: function () { return _this.props.success(null); } }));
|
|
2915
|
-
};
|
|
2916
|
-
PickerModalImpl.prototype.render = function () {
|
|
2917
|
-
var _this = this;
|
|
2918
|
-
var view = this.getView();
|
|
2919
|
-
var dataRows = this.getRows();
|
|
2920
|
-
var selectedDataRows = view.getSelectedRows();
|
|
2921
|
-
var rows = dataRows.map(function (props) { return _this.renderRow(props); });
|
|
2922
|
-
return (React.createElement(overlays_1.ModalBlocker, (0, tslib_1.__assign)({}, this.props),
|
|
2923
|
-
React.createElement(overlays_1.ModalWindow, { width: 600, height: 700 },
|
|
2924
|
-
React.createElement(overlays_1.ModalHeader, { borderBottom: true, title: this.props.caption || i18n_1.i18n.pickerModal.headerTitle, onClose: function () { return _this.props.abort(); } }),
|
|
2925
|
-
React.createElement(FlexItems_1.FlexCell, { cx: css.subHeaderWrapper },
|
|
2926
|
-
React.createElement(FlexItems_1.FlexRow, { vPadding: '24' },
|
|
2927
|
-
React.createElement(inputs_1.SearchInput, (0, tslib_1.__assign)({}, this.lens.prop('dataSourceState').prop('search').toProps(), { onKeyDown: function (e) { return (0, uui_components_1.handleDataSourceKeyboard)({
|
|
2928
|
-
value: _this.getDataSourceState(),
|
|
2929
|
-
onValueChange: _this.handleDataSourceValueChange,
|
|
2930
|
-
listView: view,
|
|
2931
|
-
rows: dataRows,
|
|
2932
|
-
editMode: 'modal',
|
|
2933
|
-
}, e); }, autoFocus: true, placeholder: i18n_1.i18n.pickerModal.searchPlaceholder }))),
|
|
2934
|
-
!this.isSingleSelect() && React.createElement(inputs_1.Switch, (0, tslib_1.__assign)({ cx: css.switch, size: '18' }, this.stateLens.prop('showSelected').toProps(), { isDisabled: selectedDataRows.length < 1, label: 'Show only selected' })),
|
|
2935
|
-
this.props.renderFilter && React.createElement(FlexItems_1.FlexCell, { grow: 2 }, this.props.renderFilter(this.lens.prop('dataSourceState').prop('filter').toProps()))),
|
|
2936
|
-
React.createElement(DataPickerBody_1.DataPickerBody, (0, tslib_1.__assign)({}, this.getListProps(), { value: this.getDataSourceState(), onValueChange: this.handleDataSourceValueChange, search: this.lens.prop('dataSourceState').prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: this.props.renderNotFound && (function () { return _this.props.renderNotFound({
|
|
2937
|
-
search: _this.state.dataSourceState.search,
|
|
2938
|
-
onClose: function () { return _this.props.success(selectedDataRows); },
|
|
2939
|
-
}); }), editMode: 'modal' })),
|
|
2940
|
-
React.createElement(overlays_1.ModalFooter, { borderTop: true, padding: '24', vPadding: '24' }, this.props.renderFooter
|
|
2941
|
-
? this.props.renderFooter(this.getFooterProps())
|
|
2942
|
-
: this.renderFooter(selectedDataRows)))));
|
|
2943
|
-
};
|
|
2944
|
-
return PickerModalImpl;
|
|
2945
|
-
}(uui_components_1.PickerModalBase));
|
|
2946
|
-
exports.PickerModalImpl = PickerModalImpl;
|
|
2947
|
-
var PickerModal = /** @class */ (function (_super) {
|
|
2948
|
-
(0, tslib_1.__extends)(PickerModal, _super);
|
|
2949
|
-
function PickerModal() {
|
|
2950
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2951
|
-
_this.state = { selection: _this.props.initialValue };
|
|
2952
|
-
_this.lens = uui_core_1.Lens.onState(_this);
|
|
2953
|
-
return _this;
|
|
2954
|
-
}
|
|
2955
|
-
PickerModal.prototype.render = function () {
|
|
2956
|
-
var _this = this;
|
|
2957
|
-
return React.createElement(PickerModalImpl, (0, tslib_1.__assign)({}, this.props, this.lens.prop('selection').toProps(), { success: function () { return _this.props.success(_this.state.selection); } }));
|
|
2958
|
-
};
|
|
2959
|
-
return PickerModal;
|
|
2960
|
-
}(React.Component));
|
|
2961
|
-
exports.PickerModal = PickerModal;
|
|
2880
|
+
|
|
2881
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2882
|
+
exports.PickerModal = exports.PickerModalImpl = void 0;
|
|
2883
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2884
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2885
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerModal.scss */ "./components/pickers/PickerModal.scss"));
|
|
2886
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2887
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2888
|
+
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2889
|
+
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2890
|
+
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
2891
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2892
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2893
|
+
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2894
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2895
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2896
|
+
var PickerModalImpl = /** @class */ (function (_super) {
|
|
2897
|
+
(0, tslib_1.__extends)(PickerModalImpl, _super);
|
|
2898
|
+
function PickerModalImpl() {
|
|
2899
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2900
|
+
}
|
|
2901
|
+
PickerModalImpl.prototype.renderRow = function (rowProps) {
|
|
2902
|
+
var _this = this;
|
|
2903
|
+
return this.props.renderRow ? this.props.renderRow(rowProps) : (React.createElement(DataPickerRow_1.DataPickerRow, (0, tslib_1.__assign)({}, rowProps, { key: rowProps.rowKey, borderBottom: 'none', padding: '24', size: '36', renderItem: function (i) { return React.createElement(typography_1.Text, { size: '36' }, rowProps.isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : _this.getName(i)); } })));
|
|
2904
|
+
};
|
|
2905
|
+
PickerModalImpl.prototype.renderFooter = function (selectedDataRows) {
|
|
2906
|
+
var _this = this;
|
|
2907
|
+
var hasSelection = selectedDataRows.length > 0;
|
|
2908
|
+
var view = this.getView();
|
|
2909
|
+
return React.createElement(React.Fragment, null,
|
|
2910
|
+
view.selectAll && React.createElement(buttons_1.LinkButton, { caption: hasSelection ? i18n_1.i18n.pickerModal.clearAllButton : i18n_1.i18n.pickerModal.selectAllButton, onClick: hasSelection ? function () { return _this.clearSelection(); } : function () { return view.selectAll.onValueChange(true); } }),
|
|
2911
|
+
React.createElement(FlexItems_1.FlexSpacer, null),
|
|
2912
|
+
React.createElement(buttons_1.Button, { mode: 'outline', color: 'secondary', caption: i18n_1.i18n.pickerModal.cancelButton, onClick: function () { return _this.props.abort(); } }),
|
|
2913
|
+
React.createElement(buttons_1.Button, { color: 'accent', caption: i18n_1.i18n.pickerModal.selectButton, onClick: function () { return _this.props.success(null); } }));
|
|
2914
|
+
};
|
|
2915
|
+
PickerModalImpl.prototype.render = function () {
|
|
2916
|
+
var _this = this;
|
|
2917
|
+
var view = this.getView();
|
|
2918
|
+
var dataRows = this.getRows();
|
|
2919
|
+
var selectedDataRows = view.getSelectedRows();
|
|
2920
|
+
var rows = dataRows.map(function (props) { return _this.renderRow(props); });
|
|
2921
|
+
return (React.createElement(overlays_1.ModalBlocker, (0, tslib_1.__assign)({}, this.props),
|
|
2922
|
+
React.createElement(overlays_1.ModalWindow, { width: 600, height: 700 },
|
|
2923
|
+
React.createElement(overlays_1.ModalHeader, { borderBottom: true, title: this.props.caption || i18n_1.i18n.pickerModal.headerTitle, onClose: function () { return _this.props.abort(); } }),
|
|
2924
|
+
React.createElement(FlexItems_1.FlexCell, { cx: css.subHeaderWrapper },
|
|
2925
|
+
React.createElement(FlexItems_1.FlexRow, { vPadding: '24' },
|
|
2926
|
+
React.createElement(inputs_1.SearchInput, (0, tslib_1.__assign)({}, this.lens.prop('dataSourceState').prop('search').toProps(), { onKeyDown: function (e) { return (0, uui_components_1.handleDataSourceKeyboard)({
|
|
2927
|
+
value: _this.getDataSourceState(),
|
|
2928
|
+
onValueChange: _this.handleDataSourceValueChange,
|
|
2929
|
+
listView: view,
|
|
2930
|
+
rows: dataRows,
|
|
2931
|
+
editMode: 'modal',
|
|
2932
|
+
}, e); }, autoFocus: true, placeholder: i18n_1.i18n.pickerModal.searchPlaceholder }))),
|
|
2933
|
+
!this.isSingleSelect() && React.createElement(inputs_1.Switch, (0, tslib_1.__assign)({ cx: css.switch, size: '18' }, this.stateLens.prop('showSelected').toProps(), { isDisabled: selectedDataRows.length < 1, label: 'Show only selected' })),
|
|
2934
|
+
this.props.renderFilter && React.createElement(FlexItems_1.FlexCell, { grow: 2 }, this.props.renderFilter(this.lens.prop('dataSourceState').prop('filter').toProps()))),
|
|
2935
|
+
React.createElement(DataPickerBody_1.DataPickerBody, (0, tslib_1.__assign)({}, this.getListProps(), { value: this.getDataSourceState(), onValueChange: this.handleDataSourceValueChange, search: this.lens.prop('dataSourceState').prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: this.props.renderNotFound && (function () { return _this.props.renderNotFound({
|
|
2936
|
+
search: _this.state.dataSourceState.search,
|
|
2937
|
+
onClose: function () { return _this.props.success(selectedDataRows); },
|
|
2938
|
+
}); }), editMode: 'modal' })),
|
|
2939
|
+
React.createElement(overlays_1.ModalFooter, { borderTop: true, padding: '24', vPadding: '24' }, this.props.renderFooter
|
|
2940
|
+
? this.props.renderFooter(this.getFooterProps())
|
|
2941
|
+
: this.renderFooter(selectedDataRows)))));
|
|
2942
|
+
};
|
|
2943
|
+
return PickerModalImpl;
|
|
2944
|
+
}(uui_components_1.PickerModalBase));
|
|
2945
|
+
exports.PickerModalImpl = PickerModalImpl;
|
|
2946
|
+
var PickerModal = /** @class */ (function (_super) {
|
|
2947
|
+
(0, tslib_1.__extends)(PickerModal, _super);
|
|
2948
|
+
function PickerModal() {
|
|
2949
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2950
|
+
_this.state = { selection: _this.props.initialValue };
|
|
2951
|
+
_this.lens = uui_core_1.Lens.onState(_this);
|
|
2952
|
+
return _this;
|
|
2953
|
+
}
|
|
2954
|
+
PickerModal.prototype.render = function () {
|
|
2955
|
+
var _this = this;
|
|
2956
|
+
return React.createElement(PickerModalImpl, (0, tslib_1.__assign)({}, this.props, this.lens.prop('selection').toProps(), { success: function () { return _this.props.success(_this.state.selection); } }));
|
|
2957
|
+
};
|
|
2958
|
+
return PickerModal;
|
|
2959
|
+
}(React.Component));
|
|
2960
|
+
exports.PickerModal = PickerModal;
|
|
2962
2961
|
|
|
2963
2962
|
|
|
2964
2963
|
/***/ }),
|
|
@@ -2971,7 +2970,7 @@ exports.PickerModal = PickerModal;
|
|
|
2971
2970
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2972
2971
|
|
|
2973
2972
|
// extracted by mini-css-extract-plugin
|
|
2974
|
-
module.exports = {"root":"
|
|
2973
|
+
module.exports = {"root":"h70iL","mode-form":"_2bAZr","modeForm":"_2bAZr","mode-cell":"_1RdyQ","modeCell":"_1RdyQ","size-24":"_3aRNV","size24":"_3aRNV","size-30":"pWhZv","size30":"pWhZv","size-36":"_2OKPB","size36":"_2OKPB","size-42":"_1PcVk","size42":"_1PcVk","size-48":"_1Ihbr","size48":"_1Ihbr"};
|
|
2975
2974
|
|
|
2976
2975
|
/***/ }),
|
|
2977
2976
|
|
|
@@ -2983,63 +2982,63 @@ module.exports = {"root":"Z2ifj","mode-form":"gBRRi","modeForm":"gBRRi","mode-ce
|
|
|
2983
2982
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2984
2983
|
|
|
2985
2984
|
"use strict";
|
|
2986
|
-
|
|
2987
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2988
|
-
exports.PickerToggler = void 0;
|
|
2989
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2990
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2991
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2992
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2993
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
2994
|
-
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2995
|
-
var types = (0, tslib_1.__importStar)(__webpack_require__(/*! ../types */ "./components/types.ts"));
|
|
2996
|
-
__webpack_require__(/*! ../../assets/styles/variables/pickers/pickerToggler.scss */ "./assets/styles/variables/pickers/pickerToggler.scss");
|
|
2997
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerToggler.scss */ "./components/pickers/PickerToggler.scss"));
|
|
2998
|
-
var defaultSize = '36';
|
|
2999
|
-
var defaultMode = types.EditMode.FORM;
|
|
3000
|
-
function applyPickerTogglerMods(mods) {
|
|
3001
|
-
return [
|
|
3002
|
-
'picker-toggler-vars',
|
|
3003
|
-
css.root,
|
|
3004
|
-
css['size-' + (mods.size || defaultSize)],
|
|
3005
|
-
css['mode-' + (mods.mode || defaultMode)],
|
|
3006
|
-
];
|
|
3007
|
-
}
|
|
3008
|
-
function PickerTogglerComponent(props, ref) {
|
|
3009
|
-
var getPickerTogglerButtonSize = function (propSize) {
|
|
3010
|
-
switch (propSize) {
|
|
3011
|
-
case '48':
|
|
3012
|
-
return '42';
|
|
3013
|
-
case '42':
|
|
3014
|
-
return '36';
|
|
3015
|
-
case '36':
|
|
3016
|
-
return '30';
|
|
3017
|
-
case '30':
|
|
3018
|
-
return '24';
|
|
3019
|
-
case '24':
|
|
3020
|
-
return '18';
|
|
3021
|
-
}
|
|
3022
|
-
};
|
|
3023
|
-
var getCaption = function (row) {
|
|
3024
|
-
var _a;
|
|
3025
|
-
var maxItems = (props.maxItems || props.maxItems === 0) ? props.maxItems : 100;
|
|
3026
|
-
if (row.isLoading) {
|
|
3027
|
-
return React.createElement(typography_1.TextPlaceholder, null);
|
|
3028
|
-
}
|
|
3029
|
-
else if (!props.getName || ((_a = props.selection) === null || _a === void 0 ? void 0 : _a.length) > maxItems) {
|
|
3030
|
-
return row.value;
|
|
3031
|
-
}
|
|
3032
|
-
else {
|
|
3033
|
-
return props.getName(row.value);
|
|
3034
|
-
}
|
|
3035
|
-
};
|
|
3036
|
-
var renderItem = function (row) { return (React.createElement(widgets_1.Tag, { key: row.id, caption: getCaption(row), tabIndex: -1, size: props.size ? getPickerTogglerButtonSize(props.size) : '30', onClear: function (e) {
|
|
3037
|
-
row.onCheck && row.onCheck(row);
|
|
3038
|
-
e.stopPropagation();
|
|
3039
|
-
} })); };
|
|
3040
|
-
return (React.createElement(uui_components_1.PickerToggler, (0, tslib_1.__assign)({}, props, { ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: !!props.renderItem ? props.renderItem : renderItem, getName: function (row) { return props.getName ? props.getName(row.value) : row.value; }, cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear, dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow })));
|
|
3041
|
-
}
|
|
3042
|
-
exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
2985
|
+
|
|
2986
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2987
|
+
exports.PickerToggler = void 0;
|
|
2988
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2989
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2990
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2991
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2992
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
2993
|
+
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2994
|
+
var types = (0, tslib_1.__importStar)(__webpack_require__(/*! ../types */ "./components/types.ts"));
|
|
2995
|
+
__webpack_require__(/*! ../../assets/styles/variables/pickers/pickerToggler.scss */ "./assets/styles/variables/pickers/pickerToggler.scss");
|
|
2996
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerToggler.scss */ "./components/pickers/PickerToggler.scss"));
|
|
2997
|
+
var defaultSize = '36';
|
|
2998
|
+
var defaultMode = types.EditMode.FORM;
|
|
2999
|
+
function applyPickerTogglerMods(mods) {
|
|
3000
|
+
return [
|
|
3001
|
+
'picker-toggler-vars',
|
|
3002
|
+
css.root,
|
|
3003
|
+
css['size-' + (mods.size || defaultSize)],
|
|
3004
|
+
css['mode-' + (mods.mode || defaultMode)],
|
|
3005
|
+
];
|
|
3006
|
+
}
|
|
3007
|
+
function PickerTogglerComponent(props, ref) {
|
|
3008
|
+
var getPickerTogglerButtonSize = function (propSize) {
|
|
3009
|
+
switch (propSize) {
|
|
3010
|
+
case '48':
|
|
3011
|
+
return '42';
|
|
3012
|
+
case '42':
|
|
3013
|
+
return '36';
|
|
3014
|
+
case '36':
|
|
3015
|
+
return '30';
|
|
3016
|
+
case '30':
|
|
3017
|
+
return '24';
|
|
3018
|
+
case '24':
|
|
3019
|
+
return '18';
|
|
3020
|
+
}
|
|
3021
|
+
};
|
|
3022
|
+
var getCaption = function (row) {
|
|
3023
|
+
var _a;
|
|
3024
|
+
var maxItems = (props.maxItems || props.maxItems === 0) ? props.maxItems : 100;
|
|
3025
|
+
if (row.isLoading) {
|
|
3026
|
+
return React.createElement(typography_1.TextPlaceholder, null);
|
|
3027
|
+
}
|
|
3028
|
+
else if (!props.getName || ((_a = props.selection) === null || _a === void 0 ? void 0 : _a.length) > maxItems) {
|
|
3029
|
+
return row.value;
|
|
3030
|
+
}
|
|
3031
|
+
else {
|
|
3032
|
+
return props.getName(row.value);
|
|
3033
|
+
}
|
|
3034
|
+
};
|
|
3035
|
+
var renderItem = function (row) { return (React.createElement(widgets_1.Tag, { key: row.id, caption: getCaption(row), tabIndex: -1, size: props.size ? getPickerTogglerButtonSize(props.size) : '30', onClear: function (e) {
|
|
3036
|
+
row.onCheck && row.onCheck(row);
|
|
3037
|
+
e.stopPropagation();
|
|
3038
|
+
} })); };
|
|
3039
|
+
return (React.createElement(uui_components_1.PickerToggler, (0, tslib_1.__assign)({}, props, { ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: !!props.renderItem ? props.renderItem : renderItem, getName: function (row) { return props.getName ? props.getName(row.value) : row.value; }, cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear, dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow })));
|
|
3040
|
+
}
|
|
3041
|
+
exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
3043
3042
|
|
|
3044
3043
|
|
|
3045
3044
|
/***/ }),
|
|
@@ -3052,20 +3051,20 @@ exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
|
3052
3051
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3053
3052
|
|
|
3054
3053
|
"use strict";
|
|
3055
|
-
|
|
3056
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3057
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3058
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx"), exports);
|
|
3059
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx"), exports);
|
|
3060
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx"), exports);
|
|
3061
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx"), exports);
|
|
3062
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx"), exports);
|
|
3063
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerInput */ "./components/pickers/PickerInput.tsx"), exports);
|
|
3064
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx"), exports);
|
|
3065
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerList */ "./components/pickers/PickerList.tsx"), exports);
|
|
3066
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx"), exports);
|
|
3067
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx"), exports);
|
|
3068
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx"), exports);
|
|
3054
|
+
|
|
3055
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3056
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3057
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx"), exports);
|
|
3058
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx"), exports);
|
|
3059
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx"), exports);
|
|
3060
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx"), exports);
|
|
3061
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx"), exports);
|
|
3062
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerInput */ "./components/pickers/PickerInput.tsx"), exports);
|
|
3063
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx"), exports);
|
|
3064
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerList */ "./components/pickers/PickerList.tsx"), exports);
|
|
3065
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx"), exports);
|
|
3066
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx"), exports);
|
|
3067
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx"), exports);
|
|
3069
3068
|
|
|
3070
3069
|
|
|
3071
3070
|
/***/ }),
|
|
@@ -3078,7 +3077,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3078
3077
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3079
3078
|
|
|
3080
3079
|
// extracted by mini-css-extract-plugin
|
|
3081
|
-
module.exports = {"cell":"
|
|
3080
|
+
module.exports = {"cell":"_1nf0e","wrapper":"_1Jfop","align-widgets-top":"_22NR8","alignWidgetsTop":"_22NR8","size-24":"_2gKNR","size24":"_2gKNR","folding-arrow":"_3uWDG","foldingArrow":"_3uWDG","size-30":"_3igDI","size30":"_3igDI","size-36":"_3jn-h","size36":"_3jn-h","size-42":"_3T20x","size42":"_3T20x","size-48":"_2uMT3","size48":"_2uMT3","size-60":"Ck5Lb","size60":"Ck5Lb","align-widgets-center":"_1nF70","alignWidgetsCenter":"_1nF70","padding-12":"_1YF8T","padding12":"_1YF8T","padding-24":"dbMzH","padding24":"dbMzH","padding-left-12":"_2grl-","paddingLeft12":"_2grl-","padding-left-24":"_34Fle","paddingLeft24":"_34Fle","padding-right-24":"_14-K4","paddingRight24":"_14-K4","drag-handle":"xeNYe","dragHandle":"xeNYe","checkbox":"_2l4jU","indent":"_23Whv","folding-arrow-12":"_3SKo3","foldingArrow12":"_3SKo3","folding-arrow-18":"_3CqTU","foldingArrow18":"_3CqTU"};
|
|
3082
3081
|
|
|
3083
3082
|
/***/ }),
|
|
3084
3083
|
|
|
@@ -3090,48 +3089,48 @@ module.exports = {"cell":"UmgNF","wrapper":"_26rkh","align-widgets-top":"_3urju"
|
|
|
3090
3089
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3091
3090
|
|
|
3092
3091
|
"use strict";
|
|
3093
|
-
|
|
3094
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3095
|
-
exports.DataTableCell = void 0;
|
|
3096
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3097
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3098
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3099
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3100
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
3101
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
3102
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
3103
|
-
var tree_folding_arrow_svg_1 = __webpack_require__(/*! ../../icons/tree_folding_arrow.svg */ "./icons/tree_folding_arrow.svg");
|
|
3104
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataTableCell.scss */ "./components/tables/DataTableCell.scss"));
|
|
3105
|
-
var DataTableCell = /** @class */ (function (_super) {
|
|
3106
|
-
(0, tslib_1.__extends)(DataTableCell, _super);
|
|
3107
|
-
function DataTableCell() {
|
|
3108
|
-
var _a, _b, _c;
|
|
3109
|
-
var _this = _super.apply(this, arguments) || this;
|
|
3110
|
-
_this.hasDepsWidgets = !!(((_b = (_a = _this.props.rowProps) === null || _a === void 0 ? void 0 : _a.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) || ((_c = _this.props.rowProps) === null || _c === void 0 ? void 0 : _c.indent));
|
|
3111
|
-
_this.isDraggable = function () { var _a, _b; return !!((_b = (_a = _this.props.rowProps) === null || _a === void 0 ? void 0 : _a.dnd) === null || _b === void 0 ? void 0 : _b.srcData); };
|
|
3112
|
-
_this.getContent = function () {
|
|
3113
|
-
var _a;
|
|
3114
|
-
var row = _this.props.rowProps;
|
|
3115
|
-
var additionalItemSize = +_this.props.size < 30 ? '12' : '18';
|
|
3116
|
-
var cellContent = row.isLoading
|
|
3117
|
-
? React.createElement(typography_1.Text, { size: _this.props.size != '60' ? _this.props.size : '48' },
|
|
3118
|
-
React.createElement(typography_1.TextPlaceholder, null))
|
|
3119
|
-
: _this.props.column.render(_this.props.rowProps.value, _this.props.rowProps);
|
|
3120
|
-
return (React.createElement(React.Fragment, null,
|
|
3121
|
-
_this.props.isFirstColumn && _this.isDraggable() && React.createElement(uui_components_1.DragHandle, { cx: css.dragHandle }),
|
|
3122
|
-
_this.props.isFirstColumn && ((_a = row === null || row === void 0 ? void 0 : row.checkbox) === null || _a === void 0 ? void 0 : _a.isVisible) && React.createElement(inputs_1.Checkbox, { key: 'cb', cx: css.checkbox, tabIndex: _this.props.tabIndex, size: additionalItemSize, value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: function () { return row.onCheck(row); }, isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid }),
|
|
3123
|
-
_this.props.isFirstColumn && row.indent > 0 && (React.createElement("div", { key: 'fold', className: css.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable &&
|
|
3124
|
-
React.createElement(uui_components_1.IconContainer, { key: 'icon', icon: tree_folding_arrow_svg_1.ReactComponent, cx: [css.foldingArrow, css["folding-arrow-".concat(additionalItemSize)], uui_core_1.uuiMarkers.clickable], rotate: row.isFolded ? '90ccw' : '0', onClick: function () { return row.onFold(row); } }))),
|
|
3125
|
-
cellContent));
|
|
3126
|
-
};
|
|
3127
|
-
return _this;
|
|
3128
|
-
}
|
|
3129
|
-
DataTableCell.prototype.render = function () {
|
|
3130
|
-
return (React.createElement(layout_1.FlexCell, (0, tslib_1.__assign)({}, this.props.column, { rawProps: { role: this.props.role }, cx: (0, uui_core_1.cx)(css.cell, this.props.isFirstColumn && this.hasDepsWidgets && css.wrapper, css['size-' + (this.props.size || '36')], css["padding-".concat(this.props.padding || '12')], this.props.isFirstColumn && css["padding-left-".concat(this.props.padding || '24')], this.props.isLastColumn && css['padding-right-24'], this.props.column.cx, css["align-widgets-".concat(this.props.alignActions || 'top')]) }), this.getContent()));
|
|
3131
|
-
};
|
|
3132
|
-
return DataTableCell;
|
|
3133
|
-
}(React.Component));
|
|
3134
|
-
exports.DataTableCell = DataTableCell;
|
|
3092
|
+
|
|
3093
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3094
|
+
exports.DataTableCell = void 0;
|
|
3095
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3096
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3097
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3098
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3099
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
3100
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
3101
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
3102
|
+
var tree_folding_arrow_svg_1 = __webpack_require__(/*! ../../icons/tree_folding_arrow.svg */ "./icons/tree_folding_arrow.svg");
|
|
3103
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataTableCell.scss */ "./components/tables/DataTableCell.scss"));
|
|
3104
|
+
var DataTableCell = /** @class */ (function (_super) {
|
|
3105
|
+
(0, tslib_1.__extends)(DataTableCell, _super);
|
|
3106
|
+
function DataTableCell() {
|
|
3107
|
+
var _a, _b, _c;
|
|
3108
|
+
var _this = _super.apply(this, arguments) || this;
|
|
3109
|
+
_this.hasDepsWidgets = !!(((_b = (_a = _this.props.rowProps) === null || _a === void 0 ? void 0 : _a.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) || ((_c = _this.props.rowProps) === null || _c === void 0 ? void 0 : _c.indent));
|
|
3110
|
+
_this.isDraggable = function () { var _a, _b; return !!((_b = (_a = _this.props.rowProps) === null || _a === void 0 ? void 0 : _a.dnd) === null || _b === void 0 ? void 0 : _b.srcData); };
|
|
3111
|
+
_this.getContent = function () {
|
|
3112
|
+
var _a;
|
|
3113
|
+
var row = _this.props.rowProps;
|
|
3114
|
+
var additionalItemSize = +_this.props.size < 30 ? '12' : '18';
|
|
3115
|
+
var cellContent = row.isLoading
|
|
3116
|
+
? React.createElement(typography_1.Text, { size: _this.props.size != '60' ? _this.props.size : '48' },
|
|
3117
|
+
React.createElement(typography_1.TextPlaceholder, null))
|
|
3118
|
+
: _this.props.column.render(_this.props.rowProps.value, _this.props.rowProps);
|
|
3119
|
+
return (React.createElement(React.Fragment, null,
|
|
3120
|
+
_this.props.isFirstColumn && _this.isDraggable() && React.createElement(uui_components_1.DragHandle, { cx: css.dragHandle }),
|
|
3121
|
+
_this.props.isFirstColumn && ((_a = row === null || row === void 0 ? void 0 : row.checkbox) === null || _a === void 0 ? void 0 : _a.isVisible) && React.createElement(inputs_1.Checkbox, { key: 'cb', cx: css.checkbox, tabIndex: _this.props.tabIndex, size: additionalItemSize, value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: function () { return row.onCheck(row); }, isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid }),
|
|
3122
|
+
_this.props.isFirstColumn && row.indent > 0 && (React.createElement("div", { key: 'fold', className: css.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable &&
|
|
3123
|
+
React.createElement(uui_components_1.IconContainer, { key: 'icon', icon: tree_folding_arrow_svg_1.ReactComponent, cx: [css.foldingArrow, css["folding-arrow-".concat(additionalItemSize)], uui_core_1.uuiMarkers.clickable], rotate: row.isFolded ? '90ccw' : '0', onClick: function () { return row.onFold(row); } }))),
|
|
3124
|
+
cellContent));
|
|
3125
|
+
};
|
|
3126
|
+
return _this;
|
|
3127
|
+
}
|
|
3128
|
+
DataTableCell.prototype.render = function () {
|
|
3129
|
+
return (React.createElement(layout_1.FlexCell, (0, tslib_1.__assign)({}, this.props.column, { rawProps: { role: this.props.role }, cx: (0, uui_core_1.cx)(css.cell, this.props.isFirstColumn && this.hasDepsWidgets && css.wrapper, css['size-' + (this.props.size || '36')], css["padding-".concat(this.props.padding || '12')], this.props.isFirstColumn && css["padding-left-".concat(this.props.padding || '24')], this.props.isLastColumn && css['padding-right-24'], this.props.column.cx, css["align-widgets-".concat(this.props.alignActions || 'top')]) }), this.getContent()));
|
|
3130
|
+
};
|
|
3131
|
+
return DataTableCell;
|
|
3132
|
+
}(React.Component));
|
|
3133
|
+
exports.DataTableCell = DataTableCell;
|
|
3135
3134
|
|
|
3136
3135
|
|
|
3137
3136
|
/***/ }),
|
|
@@ -3144,7 +3143,7 @@ exports.DataTableCell = DataTableCell;
|
|
|
3144
3143
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3145
3144
|
|
|
3146
3145
|
// extracted by mini-css-extract-plugin
|
|
3147
|
-
module.exports = {"container":"
|
|
3146
|
+
module.exports = {"container":"h5cGx","target":"Q0H77","panel":"_3OIE9","divider":"_1dx2D","input":"zQdcx","notification":"_2Ttdo"};
|
|
3148
3147
|
|
|
3149
3148
|
/***/ }),
|
|
3150
3149
|
|
|
@@ -3156,70 +3155,70 @@ module.exports = {"container":"_3KTB1","target":"_2aKgu","panel":"_1okVM","divid
|
|
|
3156
3155
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3157
3156
|
|
|
3158
3157
|
"use strict";
|
|
3159
|
-
|
|
3160
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3161
|
-
exports.Preset = void 0;
|
|
3162
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3163
|
-
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3164
|
-
var __1 = __webpack_require__(/*! ../../ */ "./components/index.ts");
|
|
3165
|
-
var navigation_more_vert_12_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/navigation-more_vert-12.svg */ "../epam-assets/icons/common/navigation-more_vert-12.svg");
|
|
3166
|
-
var Preset_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Preset.scss */ "./components/tables/Presets/Preset.scss"));
|
|
3167
|
-
var Preset = function (_a) {
|
|
3168
|
-
var preset = _a.preset, isActive = _a.isActive, hasChanged = _a.hasChanged, choosePreset = _a.choosePreset, duplicatePreset = _a.duplicatePreset, deletePreset = _a.deletePreset, updatePreset = _a.updatePreset, resetToDefault = _a.resetToDefault;
|
|
3169
|
-
var _b = (0, react_1.useState)(false), isRenaming = _b[0], setIsRenaming = _b[1];
|
|
3170
|
-
var _c = (0, react_1.useState)(""), renamingValue = _c[0], setRenamingValue = _c[1];
|
|
3171
|
-
var handleChoose = (0, react_1.useCallback)(function () { return choosePreset(preset); }, [preset, choosePreset]);
|
|
3172
|
-
var handleUpdate = (0, react_1.useCallback)(function () { return updatePreset(preset); }, [preset, updatePreset]);
|
|
3173
|
-
var acceptRenaming = (0, react_1.useCallback)(function () {
|
|
3174
|
-
if (renamingValue) {
|
|
3175
|
-
var newPreset = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, preset), { name: renamingValue });
|
|
3176
|
-
updatePreset(newPreset);
|
|
3177
|
-
}
|
|
3178
|
-
setIsRenaming(false);
|
|
3179
|
-
}, [renamingValue, updatePreset]);
|
|
3180
|
-
var renderBody = (0, react_1.useCallback)(function (props) {
|
|
3181
|
-
var handleDuplicate = function () {
|
|
3182
|
-
duplicatePreset(preset);
|
|
3183
|
-
props.onClose();
|
|
3184
|
-
};
|
|
3185
|
-
var startRenaming = function () {
|
|
3186
|
-
setIsRenaming(true);
|
|
3187
|
-
setRenamingValue(preset.name);
|
|
3188
|
-
props.onClose();
|
|
3189
|
-
};
|
|
3190
|
-
var handleDelete = function () {
|
|
3191
|
-
deletePreset(preset);
|
|
3192
|
-
if (isActive) {
|
|
3193
|
-
resetToDefault();
|
|
3194
|
-
}
|
|
3195
|
-
props.onClose();
|
|
3196
|
-
};
|
|
3197
|
-
var update = function () {
|
|
3198
|
-
handleUpdate();
|
|
3199
|
-
props.onClose();
|
|
3200
|
-
};
|
|
3201
|
-
var choose = function () {
|
|
3202
|
-
choosePreset(preset);
|
|
3203
|
-
props.onClose();
|
|
3204
|
-
};
|
|
3205
|
-
return (react_1.default.createElement(__1.DropdownMenuBody, (0, tslib_1.__assign)({}, props),
|
|
3206
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Duplicate', onClick: handleDuplicate }),
|
|
3207
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Rename', onClick: startRenaming }),
|
|
3208
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Update', onClick: update, isDisabled: !hasChanged }),
|
|
3209
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Delete', onClick: handleDelete }),
|
|
3210
|
-
react_1.default.createElement(__1.DropdownMenuSplitter, null),
|
|
3211
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Discard all changes', onClick: choose, isDisabled: !hasChanged })));
|
|
3212
|
-
}, [preset, duplicatePreset, deletePreset, isActive, choosePreset, hasChanged]);
|
|
3213
|
-
var renderTarget = (0, react_1.useCallback)(function (props) {
|
|
3214
|
-
return (react_1.default.createElement(__1.Button, (0, tslib_1.__assign)({}, props, { icon: navigation_more_vert_12_svg_1.ReactComponent, size: '24', isDropdown: false, mode: isActive ? 'solid' : 'outline', cx: [Preset_scss_1.default.target, hasChanged && Preset_scss_1.default.notification] })));
|
|
3215
|
-
}, [preset, isActive, hasChanged]);
|
|
3216
|
-
return (react_1.default.createElement(react_1.default.Fragment, null, isRenaming
|
|
3217
|
-
? (react_1.default.createElement(__1.TextInput, { value: renamingValue, onValueChange: setRenamingValue, size: '24', onAccept: acceptRenaming, onBlur: acceptRenaming, cx: Preset_scss_1.default.input, autoFocus: true }))
|
|
3218
|
-
: (react_1.default.createElement(__1.ControlGroup, { cx: Preset_scss_1.default.container },
|
|
3219
|
-
react_1.default.createElement(__1.Button, { key: preset.id, size: '24', caption: preset.name, mode: isActive ? 'solid' : 'outline', onClick: isActive ? null : handleChoose }),
|
|
3220
|
-
!preset.isReadonly && (react_1.default.createElement(__1.Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: 'bottom-end' }))))));
|
|
3221
|
-
};
|
|
3222
|
-
exports.Preset = Preset;
|
|
3158
|
+
|
|
3159
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3160
|
+
exports.Preset = void 0;
|
|
3161
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3162
|
+
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3163
|
+
var __1 = __webpack_require__(/*! ../../ */ "./components/index.ts");
|
|
3164
|
+
var navigation_more_vert_12_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/navigation-more_vert-12.svg */ "../epam-assets/icons/common/navigation-more_vert-12.svg");
|
|
3165
|
+
var Preset_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Preset.scss */ "./components/tables/Presets/Preset.scss"));
|
|
3166
|
+
var Preset = function (_a) {
|
|
3167
|
+
var preset = _a.preset, isActive = _a.isActive, hasChanged = _a.hasChanged, choosePreset = _a.choosePreset, duplicatePreset = _a.duplicatePreset, deletePreset = _a.deletePreset, updatePreset = _a.updatePreset, resetToDefault = _a.resetToDefault;
|
|
3168
|
+
var _b = (0, react_1.useState)(false), isRenaming = _b[0], setIsRenaming = _b[1];
|
|
3169
|
+
var _c = (0, react_1.useState)(""), renamingValue = _c[0], setRenamingValue = _c[1];
|
|
3170
|
+
var handleChoose = (0, react_1.useCallback)(function () { return choosePreset(preset); }, [preset, choosePreset]);
|
|
3171
|
+
var handleUpdate = (0, react_1.useCallback)(function () { return updatePreset(preset); }, [preset, updatePreset]);
|
|
3172
|
+
var acceptRenaming = (0, react_1.useCallback)(function () {
|
|
3173
|
+
if (renamingValue) {
|
|
3174
|
+
var newPreset = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, preset), { name: renamingValue });
|
|
3175
|
+
updatePreset(newPreset);
|
|
3176
|
+
}
|
|
3177
|
+
setIsRenaming(false);
|
|
3178
|
+
}, [renamingValue, updatePreset]);
|
|
3179
|
+
var renderBody = (0, react_1.useCallback)(function (props) {
|
|
3180
|
+
var handleDuplicate = function () {
|
|
3181
|
+
duplicatePreset(preset);
|
|
3182
|
+
props.onClose();
|
|
3183
|
+
};
|
|
3184
|
+
var startRenaming = function () {
|
|
3185
|
+
setIsRenaming(true);
|
|
3186
|
+
setRenamingValue(preset.name);
|
|
3187
|
+
props.onClose();
|
|
3188
|
+
};
|
|
3189
|
+
var handleDelete = function () {
|
|
3190
|
+
deletePreset(preset);
|
|
3191
|
+
if (isActive) {
|
|
3192
|
+
resetToDefault();
|
|
3193
|
+
}
|
|
3194
|
+
props.onClose();
|
|
3195
|
+
};
|
|
3196
|
+
var update = function () {
|
|
3197
|
+
handleUpdate();
|
|
3198
|
+
props.onClose();
|
|
3199
|
+
};
|
|
3200
|
+
var choose = function () {
|
|
3201
|
+
choosePreset(preset);
|
|
3202
|
+
props.onClose();
|
|
3203
|
+
};
|
|
3204
|
+
return (react_1.default.createElement(__1.DropdownMenuBody, (0, tslib_1.__assign)({}, props),
|
|
3205
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Duplicate', onClick: handleDuplicate }),
|
|
3206
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Rename', onClick: startRenaming }),
|
|
3207
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Update', onClick: update, isDisabled: !hasChanged }),
|
|
3208
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Delete', onClick: handleDelete }),
|
|
3209
|
+
react_1.default.createElement(__1.DropdownMenuSplitter, null),
|
|
3210
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Discard all changes', onClick: choose, isDisabled: !hasChanged })));
|
|
3211
|
+
}, [preset, duplicatePreset, deletePreset, isActive, choosePreset, hasChanged]);
|
|
3212
|
+
var renderTarget = (0, react_1.useCallback)(function (props) {
|
|
3213
|
+
return (react_1.default.createElement(__1.Button, (0, tslib_1.__assign)({}, props, { icon: navigation_more_vert_12_svg_1.ReactComponent, size: '24', isDropdown: false, mode: isActive ? 'solid' : 'outline', cx: [Preset_scss_1.default.target, hasChanged && Preset_scss_1.default.notification] })));
|
|
3214
|
+
}, [preset, isActive, hasChanged]);
|
|
3215
|
+
return (react_1.default.createElement(react_1.default.Fragment, null, isRenaming
|
|
3216
|
+
? (react_1.default.createElement(__1.TextInput, { value: renamingValue, onValueChange: setRenamingValue, size: '24', onAccept: acceptRenaming, onBlur: acceptRenaming, cx: Preset_scss_1.default.input, autoFocus: true }))
|
|
3217
|
+
: (react_1.default.createElement(__1.ControlGroup, { cx: Preset_scss_1.default.container },
|
|
3218
|
+
react_1.default.createElement(__1.Button, { key: preset.id, size: '24', caption: preset.name, mode: isActive ? 'solid' : 'outline', onClick: isActive ? null : handleChoose }),
|
|
3219
|
+
!preset.isReadonly && (react_1.default.createElement(__1.Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: 'bottom-end' }))))));
|
|
3220
|
+
};
|
|
3221
|
+
exports.Preset = Preset;
|
|
3223
3222
|
|
|
3224
3223
|
|
|
3225
3224
|
/***/ }),
|
|
@@ -3232,7 +3231,7 @@ exports.Preset = Preset;
|
|
|
3232
3231
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3233
3232
|
|
|
3234
3233
|
// extracted by mini-css-extract-plugin
|
|
3235
|
-
module.exports = {"row":"
|
|
3234
|
+
module.exports = {"row":"_1EYzE"};
|
|
3236
3235
|
|
|
3237
3236
|
/***/ }),
|
|
3238
3237
|
|
|
@@ -3244,31 +3243,31 @@ module.exports = {"row":"_1avdL"};
|
|
|
3244
3243
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3245
3244
|
|
|
3246
3245
|
"use strict";
|
|
3247
|
-
|
|
3248
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3249
|
-
exports.Presets = void 0;
|
|
3250
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3251
|
-
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3252
|
-
var index_1 = __webpack_require__(/*! ../../index */ "./components/index.ts");
|
|
3253
|
-
var layout_1 = __webpack_require__(/*! ../../layout */ "./components/layout/index.ts");
|
|
3254
|
-
var Preset_1 = __webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx");
|
|
3255
|
-
var Presets_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Presets.scss */ "./components/tables/Presets/Presets.scss"));
|
|
3256
|
-
var PresetsImpl = function (_a) {
|
|
3257
|
-
var tableState = _a.tableState, presets = _a.presets, createNewPreset = _a.createNewPreset, activePresetId = _a.activePresetId, isDefaultPresetActive = _a.isDefaultPresetActive, hasPresetChanged = _a.hasPresetChanged, resetToDefault = _a.resetToDefault, choosePreset = _a.choosePreset, duplicatePreset = _a.duplicatePreset, deletePreset = _a.deletePreset, updatePreset = _a.updatePreset;
|
|
3258
|
-
var newPresetTitle = "New preset";
|
|
3259
|
-
var saveNewPreset = (0, react_1.useCallback)(function () {
|
|
3260
|
-
createNewPreset(newPresetTitle);
|
|
3261
|
-
}, [createNewPreset, newPresetTitle]);
|
|
3262
|
-
var activePreset = presets.find(function (p) { return p.id === activePresetId; });
|
|
3263
|
-
var hasActivePresetChanged = (0, react_1.useMemo)(function () {
|
|
3264
|
-
return !isDefaultPresetActive && hasPresetChanged(activePreset);
|
|
3265
|
-
}, [isDefaultPresetActive, activePreset, tableState.filter]);
|
|
3266
|
-
return (react_1.default.createElement(layout_1.FlexRow, { spacing: "6", size: "48", padding: "18", cx: Presets_scss_1.default.row },
|
|
3267
|
-
react_1.default.createElement(index_1.Button, { size: "24", caption: "Default", mode: isDefaultPresetActive ? 'solid' : 'outline', onClick: isDefaultPresetActive ? null : resetToDefault }),
|
|
3268
|
-
presets.map(function (preset) { return (react_1.default.createElement(Preset_1.Preset, { preset: preset, isActive: preset.id === activePresetId, hasChanged: preset.id === activePresetId && hasActivePresetChanged, choosePreset: choosePreset, duplicatePreset: duplicatePreset, deletePreset: deletePreset, updatePreset: updatePreset, resetToDefault: resetToDefault, key: preset.id })); }),
|
|
3269
|
-
hasActivePresetChanged && (react_1.default.createElement(index_1.Button, { caption: "Save as ".concat(newPresetTitle), onClick: saveNewPreset, color: 'accent', mode: 'solid', size: '24' }))));
|
|
3270
|
-
};
|
|
3271
|
-
exports.Presets = react_1.default.memo(PresetsImpl);
|
|
3246
|
+
|
|
3247
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3248
|
+
exports.Presets = void 0;
|
|
3249
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3250
|
+
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3251
|
+
var index_1 = __webpack_require__(/*! ../../index */ "./components/index.ts");
|
|
3252
|
+
var layout_1 = __webpack_require__(/*! ../../layout */ "./components/layout/index.ts");
|
|
3253
|
+
var Preset_1 = __webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx");
|
|
3254
|
+
var Presets_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Presets.scss */ "./components/tables/Presets/Presets.scss"));
|
|
3255
|
+
var PresetsImpl = function (_a) {
|
|
3256
|
+
var tableState = _a.tableState, presets = _a.presets, createNewPreset = _a.createNewPreset, activePresetId = _a.activePresetId, isDefaultPresetActive = _a.isDefaultPresetActive, hasPresetChanged = _a.hasPresetChanged, resetToDefault = _a.resetToDefault, choosePreset = _a.choosePreset, duplicatePreset = _a.duplicatePreset, deletePreset = _a.deletePreset, updatePreset = _a.updatePreset;
|
|
3257
|
+
var newPresetTitle = "New preset";
|
|
3258
|
+
var saveNewPreset = (0, react_1.useCallback)(function () {
|
|
3259
|
+
createNewPreset(newPresetTitle);
|
|
3260
|
+
}, [createNewPreset, newPresetTitle]);
|
|
3261
|
+
var activePreset = presets.find(function (p) { return p.id === activePresetId; });
|
|
3262
|
+
var hasActivePresetChanged = (0, react_1.useMemo)(function () {
|
|
3263
|
+
return !isDefaultPresetActive && hasPresetChanged(activePreset);
|
|
3264
|
+
}, [isDefaultPresetActive, activePreset, tableState.filter]);
|
|
3265
|
+
return (react_1.default.createElement(layout_1.FlexRow, { spacing: "6", size: "48", padding: "18", cx: Presets_scss_1.default.row },
|
|
3266
|
+
react_1.default.createElement(index_1.Button, { size: "24", caption: "Default", mode: isDefaultPresetActive ? 'solid' : 'outline', onClick: isDefaultPresetActive ? null : resetToDefault }),
|
|
3267
|
+
presets.map(function (preset) { return (react_1.default.createElement(Preset_1.Preset, { preset: preset, isActive: preset.id === activePresetId, hasChanged: preset.id === activePresetId && hasActivePresetChanged, choosePreset: choosePreset, duplicatePreset: duplicatePreset, deletePreset: deletePreset, updatePreset: updatePreset, resetToDefault: resetToDefault, key: preset.id })); }),
|
|
3268
|
+
hasActivePresetChanged && (react_1.default.createElement(index_1.Button, { caption: "Save as ".concat(newPresetTitle), onClick: saveNewPreset, color: 'accent', mode: 'solid', size: '24' }))));
|
|
3269
|
+
};
|
|
3270
|
+
exports.Presets = react_1.default.memo(PresetsImpl);
|
|
3272
3271
|
|
|
3273
3272
|
|
|
3274
3273
|
/***/ }),
|
|
@@ -3281,11 +3280,11 @@ exports.Presets = react_1.default.memo(PresetsImpl);
|
|
|
3281
3280
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3282
3281
|
|
|
3283
3282
|
"use strict";
|
|
3284
|
-
|
|
3285
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3286
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3287
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/Presets.tsx"), exports);
|
|
3288
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx"), exports);
|
|
3283
|
+
|
|
3284
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3285
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3286
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/Presets.tsx"), exports);
|
|
3287
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx"), exports);
|
|
3289
3288
|
|
|
3290
3289
|
|
|
3291
3290
|
/***/ }),
|
|
@@ -3298,12 +3297,12 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3298
3297
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3299
3298
|
|
|
3300
3299
|
"use strict";
|
|
3301
|
-
|
|
3302
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3303
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3304
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataTableCell */ "./components/tables/DataTableCell.tsx"), exports);
|
|
3305
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/index.ts"), exports);
|
|
3306
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/tables/types.ts"), exports);
|
|
3300
|
+
|
|
3301
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3302
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3303
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataTableCell */ "./components/tables/DataTableCell.tsx"), exports);
|
|
3304
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/index.ts"), exports);
|
|
3305
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/tables/types.ts"), exports);
|
|
3307
3306
|
|
|
3308
3307
|
|
|
3309
3308
|
/***/ }),
|
|
@@ -3316,8 +3315,8 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3316
3315
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3317
3316
|
|
|
3318
3317
|
"use strict";
|
|
3319
|
-
|
|
3320
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3318
|
+
|
|
3319
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3321
3320
|
|
|
3322
3321
|
|
|
3323
3322
|
/***/ }),
|
|
@@ -3330,20 +3329,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3330
3329
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3331
3330
|
|
|
3332
3331
|
"use strict";
|
|
3333
|
-
|
|
3334
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3335
|
-
exports.EditMode = exports.allFontStyles = exports.allTextSizes = exports.allEpamSemanticColors = exports.allRowSizes = exports.allSizes = exports.allButtonModes = void 0;
|
|
3336
|
-
exports.allButtonModes = ['solid', 'outline', 'ghost', 'none'];
|
|
3337
|
-
exports.allSizes = ['24', '30', '36', '42', '48'];
|
|
3338
|
-
exports.allRowSizes = [null, '24', '30', '36', '42', '48'];
|
|
3339
|
-
exports.allEpamSemanticColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
3340
|
-
exports.allTextSizes = ['18', '24', '30', '36', '48'];
|
|
3341
|
-
exports.allFontStyles = ['regular', 'semibold', 'italic', 'primary', 'promo'];
|
|
3342
|
-
var EditMode;
|
|
3343
|
-
(function (EditMode) {
|
|
3344
|
-
EditMode["FORM"] = "form";
|
|
3345
|
-
EditMode["CELL"] = "cell";
|
|
3346
|
-
})(EditMode = exports.EditMode || (exports.EditMode = {}));
|
|
3332
|
+
|
|
3333
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3334
|
+
exports.EditMode = exports.allFontStyles = exports.allTextSizes = exports.allEpamSemanticColors = exports.allRowSizes = exports.allSizes = exports.allButtonModes = void 0;
|
|
3335
|
+
exports.allButtonModes = ['solid', 'outline', 'ghost', 'none'];
|
|
3336
|
+
exports.allSizes = ['24', '30', '36', '42', '48'];
|
|
3337
|
+
exports.allRowSizes = [null, '24', '30', '36', '42', '48'];
|
|
3338
|
+
exports.allEpamSemanticColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
3339
|
+
exports.allTextSizes = ['18', '24', '30', '36', '48'];
|
|
3340
|
+
exports.allFontStyles = ['regular', 'semibold', 'italic', 'primary', 'promo'];
|
|
3341
|
+
var EditMode;
|
|
3342
|
+
(function (EditMode) {
|
|
3343
|
+
EditMode["FORM"] = "form";
|
|
3344
|
+
EditMode["CELL"] = "cell";
|
|
3345
|
+
})(EditMode = exports.EditMode || (exports.EditMode = {}));
|
|
3347
3346
|
|
|
3348
3347
|
|
|
3349
3348
|
/***/ }),
|
|
@@ -3356,7 +3355,7 @@ var EditMode;
|
|
|
3356
3355
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3357
3356
|
|
|
3358
3357
|
// extracted by mini-css-extract-plugin
|
|
3359
|
-
module.exports = {"root":"
|
|
3358
|
+
module.exports = {"root":"_1c6kD"};
|
|
3360
3359
|
|
|
3361
3360
|
/***/ }),
|
|
3362
3361
|
|
|
@@ -3368,29 +3367,29 @@ module.exports = {"root":"_1VL4r"};
|
|
|
3368
3367
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3369
3368
|
|
|
3370
3369
|
"use strict";
|
|
3371
|
-
|
|
3372
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3373
|
-
exports.Text = void 0;
|
|
3374
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3375
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Text.scss */ "./components/typography/Text.scss"));
|
|
3376
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3377
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3378
|
-
var textLayout_1 = __webpack_require__(/*! ../../helpers/textLayout */ "./helpers/textLayout.tsx");
|
|
3379
|
-
__webpack_require__(/*! ../../assets/styles/variables/typography/text.scss */ "./assets/styles/variables/typography/text.scss");
|
|
3380
|
-
__webpack_require__(/*! ../../assets/styles/fonts-variables.scss */ "./assets/styles/fonts-variables.scss");
|
|
3381
|
-
function applyTextMods(mods) {
|
|
3382
|
-
var textClasses = (0, textLayout_1.getTextClasses)({
|
|
3383
|
-
size: mods.size || '36',
|
|
3384
|
-
lineHeight: mods.lineHeight,
|
|
3385
|
-
fontSize: mods.fontSize,
|
|
3386
|
-
}, false);
|
|
3387
|
-
return [
|
|
3388
|
-
"font-".concat(mods.font || 'regular'),
|
|
3389
|
-
"text-color-".concat(mods.color || 'primary'),
|
|
3390
|
-
css.root,
|
|
3391
|
-
].concat(textClasses);
|
|
3392
|
-
}
|
|
3393
|
-
exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
|
|
3370
|
+
|
|
3371
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3372
|
+
exports.Text = void 0;
|
|
3373
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3374
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Text.scss */ "./components/typography/Text.scss"));
|
|
3375
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3376
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3377
|
+
var textLayout_1 = __webpack_require__(/*! ../../helpers/textLayout */ "./helpers/textLayout.tsx");
|
|
3378
|
+
__webpack_require__(/*! ../../assets/styles/variables/typography/text.scss */ "./assets/styles/variables/typography/text.scss");
|
|
3379
|
+
__webpack_require__(/*! ../../assets/styles/fonts-variables.scss */ "./assets/styles/fonts-variables.scss");
|
|
3380
|
+
function applyTextMods(mods) {
|
|
3381
|
+
var textClasses = (0, textLayout_1.getTextClasses)({
|
|
3382
|
+
size: mods.size || '36',
|
|
3383
|
+
lineHeight: mods.lineHeight,
|
|
3384
|
+
fontSize: mods.fontSize,
|
|
3385
|
+
}, false);
|
|
3386
|
+
return [
|
|
3387
|
+
"font-".concat(mods.font || 'regular'),
|
|
3388
|
+
"text-color-".concat(mods.color || 'primary'),
|
|
3389
|
+
css.root,
|
|
3390
|
+
].concat(textClasses);
|
|
3391
|
+
}
|
|
3392
|
+
exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
|
|
3394
3393
|
|
|
3395
3394
|
|
|
3396
3395
|
/***/ }),
|
|
@@ -3403,7 +3402,7 @@ exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
|
|
|
3403
3402
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3404
3403
|
|
|
3405
3404
|
// extracted by mini-css-extract-plugin
|
|
3406
|
-
module.exports = {"container":"
|
|
3405
|
+
module.exports = {"container":"_3VflS","loading-word":"_1Az0l","loadingWord":"_1Az0l","animated-loading":"_2W0Hr","animatedLoading":"_2W0Hr","skeleton_loading":"_2mnnk","skeletonLoading":"_2mnnk"};
|
|
3407
3406
|
|
|
3408
3407
|
/***/ }),
|
|
3409
3408
|
|
|
@@ -3415,31 +3414,31 @@ module.exports = {"container":"_1VfR_","loading-word":"_1X4m8","loadingWord":"_1
|
|
|
3415
3414
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3416
3415
|
|
|
3417
3416
|
"use strict";
|
|
3418
|
-
|
|
3419
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3420
|
-
exports.TextPlaceholder = void 0;
|
|
3421
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3422
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3423
|
-
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
3424
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextPlaceholder.scss */ "./components/typography/TextPlaceholder.scss"));
|
|
3425
|
-
__webpack_require__(/*! ../../assets/styles/variables/typography/textPlaceholder.scss */ "./assets/styles/variables/typography/textPlaceholder.scss");
|
|
3426
|
-
var TextPlaceholder = function (props) {
|
|
3427
|
-
var pattern = "0";
|
|
3428
|
-
var text = React.useMemo(function () {
|
|
3429
|
-
var words = [];
|
|
3430
|
-
for (var i = 0; i < (props.wordsCount || 1); i++) {
|
|
3431
|
-
var lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
3432
|
-
words.push(pattern.repeat(lengthWord));
|
|
3433
|
-
}
|
|
3434
|
-
return words;
|
|
3435
|
-
}, [props.wordsCount]);
|
|
3436
|
-
return (React.createElement("div", { "aria-busy": true, className: css.container }, text.map(function (it, index) { return (React.createElement("span", { key: index, className: (0, classnames_1.default)([
|
|
3437
|
-
'text-placeholder-vars',
|
|
3438
|
-
css.loadingWord,
|
|
3439
|
-
!props.isNotAnimated && css.animatedLoading,
|
|
3440
|
-
]), dangerouslySetInnerHTML: { __html: it } })); })));
|
|
3441
|
-
};
|
|
3442
|
-
exports.TextPlaceholder = TextPlaceholder;
|
|
3417
|
+
|
|
3418
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3419
|
+
exports.TextPlaceholder = void 0;
|
|
3420
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3421
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3422
|
+
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
3423
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextPlaceholder.scss */ "./components/typography/TextPlaceholder.scss"));
|
|
3424
|
+
__webpack_require__(/*! ../../assets/styles/variables/typography/textPlaceholder.scss */ "./assets/styles/variables/typography/textPlaceholder.scss");
|
|
3425
|
+
var TextPlaceholder = function (props) {
|
|
3426
|
+
var pattern = "0";
|
|
3427
|
+
var text = React.useMemo(function () {
|
|
3428
|
+
var words = [];
|
|
3429
|
+
for (var i = 0; i < (props.wordsCount || 1); i++) {
|
|
3430
|
+
var lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
3431
|
+
words.push(pattern.repeat(lengthWord));
|
|
3432
|
+
}
|
|
3433
|
+
return words;
|
|
3434
|
+
}, [props.wordsCount]);
|
|
3435
|
+
return (React.createElement("div", { "aria-busy": true, className: css.container }, text.map(function (it, index) { return (React.createElement("span", { key: index, className: (0, classnames_1.default)([
|
|
3436
|
+
'text-placeholder-vars',
|
|
3437
|
+
css.loadingWord,
|
|
3438
|
+
!props.isNotAnimated && css.animatedLoading,
|
|
3439
|
+
]), dangerouslySetInnerHTML: { __html: it } })); })));
|
|
3440
|
+
};
|
|
3441
|
+
exports.TextPlaceholder = TextPlaceholder;
|
|
3443
3442
|
|
|
3444
3443
|
|
|
3445
3444
|
/***/ }),
|
|
@@ -3452,11 +3451,11 @@ exports.TextPlaceholder = TextPlaceholder;
|
|
|
3452
3451
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3453
3452
|
|
|
3454
3453
|
"use strict";
|
|
3455
|
-
|
|
3456
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3457
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3458
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Text */ "./components/typography/Text.tsx"), exports);
|
|
3459
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextPlaceholder */ "./components/typography/TextPlaceholder.tsx"), exports);
|
|
3454
|
+
|
|
3455
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3456
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3457
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Text */ "./components/typography/Text.tsx"), exports);
|
|
3458
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextPlaceholder */ "./components/typography/TextPlaceholder.tsx"), exports);
|
|
3460
3459
|
|
|
3461
3460
|
|
|
3462
3461
|
/***/ }),
|
|
@@ -3469,12 +3468,12 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3469
3468
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3470
3469
|
|
|
3471
3470
|
"use strict";
|
|
3472
|
-
|
|
3473
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3474
|
-
exports.Avatar = void 0;
|
|
3475
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3476
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3477
|
-
exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () { return []; });
|
|
3471
|
+
|
|
3472
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3473
|
+
exports.Avatar = void 0;
|
|
3474
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3475
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3476
|
+
exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () { return []; });
|
|
3478
3477
|
|
|
3479
3478
|
|
|
3480
3479
|
/***/ }),
|
|
@@ -3487,7 +3486,7 @@ exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () {
|
|
|
3487
3486
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3488
3487
|
|
|
3489
3488
|
// extracted by mini-css-extract-plugin
|
|
3490
|
-
module.exports = {"root":"
|
|
3489
|
+
module.exports = {"root":"_11RnI","size-18":"_1_d9Q","size18":"_1_d9Q","fill-transparent":"_1HdCz","fillTransparent":"_1HdCz","size-24":"_2lQHG","size24":"_2lQHG","size-30":"_1gNGv","size30":"_1gNGv","size-36":"zYRk6","size36":"zYRk6","size-42":"_2cCcy","size42":"_2cCcy","size-48":"_3DQaU","size48":"_3DQaU","fill-solid":"_3GxNx","fillSolid":"_3GxNx"};
|
|
3491
3490
|
|
|
3492
3491
|
/***/ }),
|
|
3493
3492
|
|
|
@@ -3499,40 +3498,40 @@ module.exports = {"root":"dSdxc","size-18":"_2PY5C","size18":"_2PY5C","fill-tran
|
|
|
3499
3498
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3500
3499
|
|
|
3501
3500
|
"use strict";
|
|
3502
|
-
|
|
3503
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3504
|
-
exports.Badge = exports.applyBadgeMods = void 0;
|
|
3505
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3506
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3507
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3508
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3509
|
-
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3510
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Badge.scss */ "./components/widgets/Badge.scss"));
|
|
3511
|
-
__webpack_require__(/*! ../../assets/styles/variables/widgets/badge.scss */ "./assets/styles/variables/widgets/badge.scss");
|
|
3512
|
-
var defaultSize = '36';
|
|
3513
|
-
var mapSize = {
|
|
3514
|
-
'48': '48',
|
|
3515
|
-
'42': '48',
|
|
3516
|
-
'36': '36',
|
|
3517
|
-
'30': '30',
|
|
3518
|
-
'24': '30',
|
|
3519
|
-
'18': '18',
|
|
3520
|
-
};
|
|
3521
|
-
function applyBadgeMods(mods) {
|
|
3522
|
-
return [
|
|
3523
|
-
"badge-color-".concat((mods.color || 'info')),
|
|
3524
|
-
buttonCss.root,
|
|
3525
|
-
css['size-' + (mods.size || defaultSize)],
|
|
3526
|
-
css['fill-' + (mods.fill || 'solid')],
|
|
3527
|
-
css.root,
|
|
3528
|
-
];
|
|
3529
|
-
}
|
|
3530
|
-
exports.applyBadgeMods = applyBadgeMods;
|
|
3531
|
-
exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods, function (props) { return ({
|
|
3532
|
-
dropdownIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].foldingArrow,
|
|
3533
|
-
clearIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].clear,
|
|
3534
|
-
countPosition: 'left',
|
|
3535
|
-
}); });
|
|
3501
|
+
|
|
3502
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3503
|
+
exports.Badge = exports.applyBadgeMods = void 0;
|
|
3504
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3505
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3506
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3507
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3508
|
+
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3509
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Badge.scss */ "./components/widgets/Badge.scss"));
|
|
3510
|
+
__webpack_require__(/*! ../../assets/styles/variables/widgets/badge.scss */ "./assets/styles/variables/widgets/badge.scss");
|
|
3511
|
+
var defaultSize = '36';
|
|
3512
|
+
var mapSize = {
|
|
3513
|
+
'48': '48',
|
|
3514
|
+
'42': '48',
|
|
3515
|
+
'36': '36',
|
|
3516
|
+
'30': '30',
|
|
3517
|
+
'24': '30',
|
|
3518
|
+
'18': '18',
|
|
3519
|
+
};
|
|
3520
|
+
function applyBadgeMods(mods) {
|
|
3521
|
+
return [
|
|
3522
|
+
"badge-color-".concat((mods.color || 'info')),
|
|
3523
|
+
buttonCss.root,
|
|
3524
|
+
css['size-' + (mods.size || defaultSize)],
|
|
3525
|
+
css['fill-' + (mods.fill || 'solid')],
|
|
3526
|
+
css.root,
|
|
3527
|
+
];
|
|
3528
|
+
}
|
|
3529
|
+
exports.applyBadgeMods = applyBadgeMods;
|
|
3530
|
+
exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods, function (props) { return ({
|
|
3531
|
+
dropdownIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].foldingArrow,
|
|
3532
|
+
clearIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].clear,
|
|
3533
|
+
countPosition: 'left',
|
|
3534
|
+
}); });
|
|
3536
3535
|
|
|
3537
3536
|
|
|
3538
3537
|
/***/ }),
|
|
@@ -3545,7 +3544,7 @@ exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods
|
|
|
3545
3544
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3546
3545
|
|
|
3547
3546
|
// extracted by mini-css-extract-plugin
|
|
3548
|
-
module.exports = {"root":"
|
|
3547
|
+
module.exports = {"root":"_1n8m1","size-18":"_1EBzJ","size18":"_1EBzJ","size-24":"_1Ynyw","size24":"_1Ynyw","size-30":"_3GD1H","size30":"_3GD1H","size-36":"_3aXvY","size36":"_3aXvY","size-42":"Ev5Mj","size42":"Ev5Mj","size-48":"_2dHsC","size48":"_2dHsC"};
|
|
3549
3548
|
|
|
3550
3549
|
/***/ }),
|
|
3551
3550
|
|
|
@@ -3557,38 +3556,38 @@ module.exports = {"root":"_3-uKo","size-18":"_34qf-","size18":"_34qf-","size-24"
|
|
|
3557
3556
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3558
3557
|
|
|
3559
3558
|
"use strict";
|
|
3560
|
-
|
|
3561
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3562
|
-
exports.Tag = exports.applyTagMods = void 0;
|
|
3563
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3564
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3565
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3566
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3567
|
-
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3568
|
-
__webpack_require__(/*! ../../assets/styles/variables/widgets/tag.scss */ "./assets/styles/variables/widgets/tag.scss");
|
|
3569
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tag.scss */ "./components/widgets/Tag.scss"));
|
|
3570
|
-
var defaultSize = '36';
|
|
3571
|
-
var mapSize = {
|
|
3572
|
-
'48': '48',
|
|
3573
|
-
'42': '48',
|
|
3574
|
-
'36': '36',
|
|
3575
|
-
'30': '30',
|
|
3576
|
-
'24': '30',
|
|
3577
|
-
'18': '18',
|
|
3578
|
-
};
|
|
3579
|
-
function applyTagMods(mods) {
|
|
3580
|
-
return [
|
|
3581
|
-
buttonCss.root,
|
|
3582
|
-
'tag-vars',
|
|
3583
|
-
css['size-' + (mods.size || defaultSize)],
|
|
3584
|
-
css.root,
|
|
3585
|
-
];
|
|
3586
|
-
}
|
|
3587
|
-
exports.applyTagMods = applyTagMods;
|
|
3588
|
-
exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, function (props) { return ({
|
|
3589
|
-
dropdownIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].foldingArrow,
|
|
3590
|
-
clearIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].clear,
|
|
3591
|
-
}); });
|
|
3559
|
+
|
|
3560
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3561
|
+
exports.Tag = exports.applyTagMods = void 0;
|
|
3562
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3563
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3564
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3565
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3566
|
+
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3567
|
+
__webpack_require__(/*! ../../assets/styles/variables/widgets/tag.scss */ "./assets/styles/variables/widgets/tag.scss");
|
|
3568
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tag.scss */ "./components/widgets/Tag.scss"));
|
|
3569
|
+
var defaultSize = '36';
|
|
3570
|
+
var mapSize = {
|
|
3571
|
+
'48': '48',
|
|
3572
|
+
'42': '48',
|
|
3573
|
+
'36': '36',
|
|
3574
|
+
'30': '30',
|
|
3575
|
+
'24': '30',
|
|
3576
|
+
'18': '18',
|
|
3577
|
+
};
|
|
3578
|
+
function applyTagMods(mods) {
|
|
3579
|
+
return [
|
|
3580
|
+
buttonCss.root,
|
|
3581
|
+
'tag-vars',
|
|
3582
|
+
css['size-' + (mods.size || defaultSize)],
|
|
3583
|
+
css.root,
|
|
3584
|
+
];
|
|
3585
|
+
}
|
|
3586
|
+
exports.applyTagMods = applyTagMods;
|
|
3587
|
+
exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, function (props) { return ({
|
|
3588
|
+
dropdownIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].foldingArrow,
|
|
3589
|
+
clearIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].clear,
|
|
3590
|
+
}); });
|
|
3592
3591
|
|
|
3593
3592
|
|
|
3594
3593
|
/***/ }),
|
|
@@ -3601,12 +3600,12 @@ exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, fu
|
|
|
3601
3600
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3602
3601
|
|
|
3603
3602
|
"use strict";
|
|
3604
|
-
|
|
3605
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3606
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3607
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Avatar */ "./components/widgets/Avatar.tsx"), exports);
|
|
3608
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Badge */ "./components/widgets/Badge.tsx"), exports);
|
|
3609
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tag */ "./components/widgets/Tag.tsx"), exports);
|
|
3603
|
+
|
|
3604
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3605
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3606
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Avatar */ "./components/widgets/Avatar.tsx"), exports);
|
|
3607
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Badge */ "./components/widgets/Badge.tsx"), exports);
|
|
3608
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tag */ "./components/widgets/Tag.tsx"), exports);
|
|
3610
3609
|
|
|
3611
3610
|
|
|
3612
3611
|
/***/ }),
|
|
@@ -3619,40 +3618,40 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3619
3618
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3620
3619
|
|
|
3621
3620
|
"use strict";
|
|
3622
|
-
|
|
3623
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3624
|
-
exports.getTextClasses = void 0;
|
|
3625
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3626
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ../assets/styles/text-layout.scss */ "./assets/styles/text-layout.scss"));
|
|
3627
|
-
var defaultTextSettings = {
|
|
3628
|
-
18: { lineHeight: 12, fontSize: 10 },
|
|
3629
|
-
24: { lineHeight: 18, fontSize: 12 },
|
|
3630
|
-
30: { lineHeight: 18, fontSize: 14 },
|
|
3631
|
-
36: { lineHeight: 18, fontSize: 14 },
|
|
3632
|
-
42: { lineHeight: 24, fontSize: 16 },
|
|
3633
|
-
48: { lineHeight: 24, fontSize: 16 },
|
|
3634
|
-
60: { lineHeight: 30, fontSize: 24 },
|
|
3635
|
-
};
|
|
3636
|
-
function getTextClasses(props, border) {
|
|
3637
|
-
if (props.size === 'none') {
|
|
3638
|
-
return [
|
|
3639
|
-
css['line-height-' + props.lineHeight],
|
|
3640
|
-
css['font-size-' + props.fontSize],
|
|
3641
|
-
];
|
|
3642
|
-
}
|
|
3643
|
-
var setting = {
|
|
3644
|
-
size: props.size,
|
|
3645
|
-
lineHeight: props.lineHeight || defaultTextSettings[props.size].lineHeight,
|
|
3646
|
-
fontSize: props.fontSize || defaultTextSettings[props.size].fontSize,
|
|
3647
|
-
};
|
|
3648
|
-
var vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3649
|
-
return [
|
|
3650
|
-
css['line-height-' + setting.lineHeight],
|
|
3651
|
-
css['font-size-' + setting.fontSize],
|
|
3652
|
-
css['v-padding-' + vPadding],
|
|
3653
|
-
];
|
|
3654
|
-
}
|
|
3655
|
-
exports.getTextClasses = getTextClasses;
|
|
3621
|
+
|
|
3622
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3623
|
+
exports.getTextClasses = void 0;
|
|
3624
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3625
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ../assets/styles/text-layout.scss */ "./assets/styles/text-layout.scss"));
|
|
3626
|
+
var defaultTextSettings = {
|
|
3627
|
+
18: { lineHeight: 12, fontSize: 10 },
|
|
3628
|
+
24: { lineHeight: 18, fontSize: 12 },
|
|
3629
|
+
30: { lineHeight: 18, fontSize: 14 },
|
|
3630
|
+
36: { lineHeight: 18, fontSize: 14 },
|
|
3631
|
+
42: { lineHeight: 24, fontSize: 16 },
|
|
3632
|
+
48: { lineHeight: 24, fontSize: 16 },
|
|
3633
|
+
60: { lineHeight: 30, fontSize: 24 },
|
|
3634
|
+
};
|
|
3635
|
+
function getTextClasses(props, border) {
|
|
3636
|
+
if (props.size === 'none') {
|
|
3637
|
+
return [
|
|
3638
|
+
css['line-height-' + props.lineHeight],
|
|
3639
|
+
css['font-size-' + props.fontSize],
|
|
3640
|
+
];
|
|
3641
|
+
}
|
|
3642
|
+
var setting = {
|
|
3643
|
+
size: props.size,
|
|
3644
|
+
lineHeight: props.lineHeight || defaultTextSettings[props.size].lineHeight,
|
|
3645
|
+
fontSize: props.fontSize || defaultTextSettings[props.size].fontSize,
|
|
3646
|
+
};
|
|
3647
|
+
var vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3648
|
+
return [
|
|
3649
|
+
css['line-height-' + setting.lineHeight],
|
|
3650
|
+
css['font-size-' + setting.fontSize],
|
|
3651
|
+
css['v-padding-' + vPadding],
|
|
3652
|
+
];
|
|
3653
|
+
}
|
|
3654
|
+
exports.getTextClasses = getTextClasses;
|
|
3656
3655
|
|
|
3657
3656
|
|
|
3658
3657
|
/***/ }),
|
|
@@ -3665,59 +3664,59 @@ exports.getTextClasses = getTextClasses;
|
|
|
3665
3664
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3666
3665
|
|
|
3667
3666
|
"use strict";
|
|
3668
|
-
|
|
3669
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3670
|
-
exports.i18n = void 0;
|
|
3671
|
-
exports.i18n = {
|
|
3672
|
-
dataPickerBody: {
|
|
3673
|
-
searchPlaceholder: 'Search',
|
|
3674
|
-
noRecordsMessage: 'No records found',
|
|
3675
|
-
},
|
|
3676
|
-
pickerModal: {
|
|
3677
|
-
headerTitle: 'Please select',
|
|
3678
|
-
searchPlaceholder: 'Type text for quick search',
|
|
3679
|
-
cancelButton: 'Cancel',
|
|
3680
|
-
selectButton: 'Select',
|
|
3681
|
-
clearAllButton: 'CLEAR ALL',
|
|
3682
|
-
selectAllButton: 'SELECT ALL',
|
|
3683
|
-
},
|
|
3684
|
-
pickerInput: {
|
|
3685
|
-
showOnlySelectedLabel: 'Show only selected',
|
|
3686
|
-
clearSelectionButton: 'CLEAR ALL',
|
|
3687
|
-
selectAllButton: 'SELECT ALL',
|
|
3688
|
-
},
|
|
3689
|
-
notificationCard: {
|
|
3690
|
-
closeAllNotificationsButton: 'CLOSE ALL NOTIFICATIONS',
|
|
3691
|
-
},
|
|
3692
|
-
form: {
|
|
3693
|
-
notifications: {
|
|
3694
|
-
actionButtonCaption: 'Restore',
|
|
3695
|
-
unsavedChangesMessage: 'You have unsaved changes. Click Restore button if you would like to recover the data',
|
|
3696
|
-
},
|
|
3697
|
-
modals: {
|
|
3698
|
-
beforeLeaveMessage: 'Your data may be lost. Do you want to save data?',
|
|
3699
|
-
discardButton: 'Discard',
|
|
3700
|
-
saveButton: 'Save',
|
|
3701
|
-
},
|
|
3702
|
-
},
|
|
3703
|
-
rangeDatePicker: {
|
|
3704
|
-
pickerPlaceholderFrom: 'From:',
|
|
3705
|
-
pickerPlaceholderTo: 'To:',
|
|
3706
|
-
},
|
|
3707
|
-
tables: {
|
|
3708
|
-
columnsConfigurationModal: {
|
|
3709
|
-
applyButton: 'Apply',
|
|
3710
|
-
checkAllButton: 'CHECK ALL',
|
|
3711
|
-
uncheckAllButton: 'UNCHECK ALL',
|
|
3712
|
-
configureColumnsTitle: 'Configure columns',
|
|
3713
|
-
resetToDefaultButton: 'Reset to Default',
|
|
3714
|
-
},
|
|
3715
|
-
},
|
|
3716
|
-
pickerFilterHeader: {
|
|
3717
|
-
sortAscending: 'Sort Ascending',
|
|
3718
|
-
sortDescending: 'Sort Descending',
|
|
3719
|
-
},
|
|
3720
|
-
};
|
|
3667
|
+
|
|
3668
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3669
|
+
exports.i18n = void 0;
|
|
3670
|
+
exports.i18n = {
|
|
3671
|
+
dataPickerBody: {
|
|
3672
|
+
searchPlaceholder: 'Search',
|
|
3673
|
+
noRecordsMessage: 'No records found',
|
|
3674
|
+
},
|
|
3675
|
+
pickerModal: {
|
|
3676
|
+
headerTitle: 'Please select',
|
|
3677
|
+
searchPlaceholder: 'Type text for quick search',
|
|
3678
|
+
cancelButton: 'Cancel',
|
|
3679
|
+
selectButton: 'Select',
|
|
3680
|
+
clearAllButton: 'CLEAR ALL',
|
|
3681
|
+
selectAllButton: 'SELECT ALL',
|
|
3682
|
+
},
|
|
3683
|
+
pickerInput: {
|
|
3684
|
+
showOnlySelectedLabel: 'Show only selected',
|
|
3685
|
+
clearSelectionButton: 'CLEAR ALL',
|
|
3686
|
+
selectAllButton: 'SELECT ALL',
|
|
3687
|
+
},
|
|
3688
|
+
notificationCard: {
|
|
3689
|
+
closeAllNotificationsButton: 'CLOSE ALL NOTIFICATIONS',
|
|
3690
|
+
},
|
|
3691
|
+
form: {
|
|
3692
|
+
notifications: {
|
|
3693
|
+
actionButtonCaption: 'Restore',
|
|
3694
|
+
unsavedChangesMessage: 'You have unsaved changes. Click Restore button if you would like to recover the data',
|
|
3695
|
+
},
|
|
3696
|
+
modals: {
|
|
3697
|
+
beforeLeaveMessage: 'Your data may be lost. Do you want to save data?',
|
|
3698
|
+
discardButton: 'Discard',
|
|
3699
|
+
saveButton: 'Save',
|
|
3700
|
+
},
|
|
3701
|
+
},
|
|
3702
|
+
rangeDatePicker: {
|
|
3703
|
+
pickerPlaceholderFrom: 'From:',
|
|
3704
|
+
pickerPlaceholderTo: 'To:',
|
|
3705
|
+
},
|
|
3706
|
+
tables: {
|
|
3707
|
+
columnsConfigurationModal: {
|
|
3708
|
+
applyButton: 'Apply',
|
|
3709
|
+
checkAllButton: 'CHECK ALL',
|
|
3710
|
+
uncheckAllButton: 'UNCHECK ALL',
|
|
3711
|
+
configureColumnsTitle: 'Configure columns',
|
|
3712
|
+
resetToDefaultButton: 'Reset to Default',
|
|
3713
|
+
},
|
|
3714
|
+
},
|
|
3715
|
+
pickerFilterHeader: {
|
|
3716
|
+
sortAscending: 'Sort Ascending',
|
|
3717
|
+
sortDescending: 'Sort Descending',
|
|
3718
|
+
},
|
|
3719
|
+
};
|
|
3721
3720
|
|
|
3722
3721
|
|
|
3723
3722
|
/***/ }),
|
|
@@ -4207,7 +4206,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4207
4206
|
svgRef: ref
|
|
4208
4207
|
}, props));
|
|
4209
4208
|
});
|
|
4210
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4209
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "8c22fc9b8cbf04371e4f5bf1027a1214.svg");
|
|
4211
4210
|
|
|
4212
4211
|
|
|
4213
4212
|
/***/ }),
|
|
@@ -4256,7 +4255,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4256
4255
|
svgRef: ref
|
|
4257
4256
|
}, props));
|
|
4258
4257
|
});
|
|
4259
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4258
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "3dbfe2a24bf6fd3beb06518cc8b302b6.svg");
|
|
4260
4259
|
|
|
4261
4260
|
|
|
4262
4261
|
/***/ }),
|
|
@@ -4451,7 +4450,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4451
4450
|
svgRef: ref
|
|
4452
4451
|
}, props));
|
|
4453
4452
|
});
|
|
4454
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4453
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "2d55a1b593695615b326b4ec6cbb305b.svg");
|
|
4455
4454
|
|
|
4456
4455
|
|
|
4457
4456
|
/***/ }),
|
|
@@ -4499,7 +4498,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4499
4498
|
svgRef: ref
|
|
4500
4499
|
}, props));
|
|
4501
4500
|
});
|
|
4502
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4501
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "936b8cd53f40395c4e581f4718a5cc2f.svg");
|
|
4503
4502
|
|
|
4504
4503
|
|
|
4505
4504
|
/***/ }),
|
|
@@ -4512,103 +4511,103 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4512
4511
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4513
4512
|
|
|
4514
4513
|
"use strict";
|
|
4515
|
-
|
|
4516
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4517
|
-
exports.systemIcons = void 0;
|
|
4518
|
-
var btn_cross_12_svg_1 = __webpack_require__(/*! ./btn-cross-12.svg */ "./icons/btn-cross-12.svg");
|
|
4519
|
-
var btn_cross_18_svg_1 = __webpack_require__(/*! ./btn-cross-18.svg */ "./icons/btn-cross-18.svg");
|
|
4520
|
-
var btn_cross_24_svg_1 = __webpack_require__(/*! ./btn-cross-24.svg */ "./icons/btn-cross-24.svg");
|
|
4521
|
-
var folding_arrow_12_svg_1 = __webpack_require__(/*! ./folding-arrow-12.svg */ "./icons/folding-arrow-12.svg");
|
|
4522
|
-
var folding_arrow_18_svg_1 = __webpack_require__(/*! ./folding-arrow-18.svg */ "./icons/folding-arrow-18.svg");
|
|
4523
|
-
var folding_arrow_24_svg_1 = __webpack_require__(/*! ./folding-arrow-24.svg */ "./icons/folding-arrow-24.svg");
|
|
4524
|
-
var accept_12_svg_1 = __webpack_require__(/*! ./accept-12.svg */ "./icons/accept-12.svg");
|
|
4525
|
-
var accept_18_svg_1 = __webpack_require__(/*! ./accept-18.svg */ "./icons/accept-18.svg");
|
|
4526
|
-
var accept_24_svg_1 = __webpack_require__(/*! ./accept-24.svg */ "./icons/accept-24.svg");
|
|
4527
|
-
var search_12_svg_1 = __webpack_require__(/*! ./search-12.svg */ "./icons/search-12.svg");
|
|
4528
|
-
var search_18_svg_1 = __webpack_require__(/*! ./search-18.svg */ "./icons/search-18.svg");
|
|
4529
|
-
var search_24_svg_1 = __webpack_require__(/*! ./search-24.svg */ "./icons/search-24.svg");
|
|
4530
|
-
var calendar_12_svg_1 = __webpack_require__(/*! ./calendar-12.svg */ "./icons/calendar-12.svg");
|
|
4531
|
-
var calendar_18_svg_1 = __webpack_require__(/*! ./calendar-18.svg */ "./icons/calendar-18.svg");
|
|
4532
|
-
var calendar_24_svg_1 = __webpack_require__(/*! ./calendar-24.svg */ "./icons/calendar-24.svg");
|
|
4533
|
-
var info_12_svg_1 = __webpack_require__(/*! ./info-12.svg */ "./icons/info-12.svg");
|
|
4534
|
-
var info_18_svg_1 = __webpack_require__(/*! ./info-18.svg */ "./icons/info-18.svg");
|
|
4535
|
-
var info_24_svg_1 = __webpack_require__(/*! ./info-24.svg */ "./icons/info-24.svg");
|
|
4536
|
-
var help_fill_10_svg_1 = __webpack_require__(/*! ./help-fill-10.svg */ "./icons/help-fill-10.svg");
|
|
4537
|
-
var help_fill_16_svg_1 = __webpack_require__(/*! ./help-fill-16.svg */ "./icons/help-fill-16.svg");
|
|
4538
|
-
exports.systemIcons = {
|
|
4539
|
-
'18': {
|
|
4540
|
-
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4541
|
-
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4542
|
-
accept: accept_12_svg_1.ReactComponent,
|
|
4543
|
-
search: search_12_svg_1.ReactComponent,
|
|
4544
|
-
calendar: calendar_12_svg_1.ReactComponent,
|
|
4545
|
-
info: info_12_svg_1.ReactComponent,
|
|
4546
|
-
help: help_fill_10_svg_1.ReactComponent,
|
|
4547
|
-
},
|
|
4548
|
-
'24': {
|
|
4549
|
-
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4550
|
-
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4551
|
-
accept: accept_12_svg_1.ReactComponent,
|
|
4552
|
-
search: search_12_svg_1.ReactComponent,
|
|
4553
|
-
calendar: calendar_12_svg_1.ReactComponent,
|
|
4554
|
-
info: info_12_svg_1.ReactComponent,
|
|
4555
|
-
help: help_fill_10_svg_1.ReactComponent,
|
|
4556
|
-
},
|
|
4557
|
-
'30': {
|
|
4558
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4559
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4560
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4561
|
-
search: search_18_svg_1.ReactComponent,
|
|
4562
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4563
|
-
info: info_18_svg_1.ReactComponent,
|
|
4564
|
-
help: help_fill_10_svg_1.ReactComponent,
|
|
4565
|
-
},
|
|
4566
|
-
'36': {
|
|
4567
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4568
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4569
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4570
|
-
search: search_18_svg_1.ReactComponent,
|
|
4571
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4572
|
-
info: info_18_svg_1.ReactComponent,
|
|
4573
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4574
|
-
},
|
|
4575
|
-
'42': {
|
|
4576
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4577
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4578
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4579
|
-
search: search_18_svg_1.ReactComponent,
|
|
4580
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4581
|
-
info: info_18_svg_1.ReactComponent,
|
|
4582
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4583
|
-
},
|
|
4584
|
-
'48': {
|
|
4585
|
-
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4586
|
-
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4587
|
-
accept: accept_24_svg_1.ReactComponent,
|
|
4588
|
-
search: search_24_svg_1.ReactComponent,
|
|
4589
|
-
calendar: calendar_24_svg_1.ReactComponent,
|
|
4590
|
-
info: info_24_svg_1.ReactComponent,
|
|
4591
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4592
|
-
},
|
|
4593
|
-
'60': {
|
|
4594
|
-
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4595
|
-
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4596
|
-
accept: accept_24_svg_1.ReactComponent,
|
|
4597
|
-
search: search_24_svg_1.ReactComponent,
|
|
4598
|
-
calendar: calendar_24_svg_1.ReactComponent,
|
|
4599
|
-
info: info_24_svg_1.ReactComponent,
|
|
4600
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4601
|
-
},
|
|
4602
|
-
'none': {
|
|
4603
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4604
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4605
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4606
|
-
search: search_18_svg_1.ReactComponent,
|
|
4607
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4608
|
-
info: info_18_svg_1.ReactComponent,
|
|
4609
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4610
|
-
},
|
|
4611
|
-
};
|
|
4514
|
+
|
|
4515
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4516
|
+
exports.systemIcons = void 0;
|
|
4517
|
+
var btn_cross_12_svg_1 = __webpack_require__(/*! ./btn-cross-12.svg */ "./icons/btn-cross-12.svg");
|
|
4518
|
+
var btn_cross_18_svg_1 = __webpack_require__(/*! ./btn-cross-18.svg */ "./icons/btn-cross-18.svg");
|
|
4519
|
+
var btn_cross_24_svg_1 = __webpack_require__(/*! ./btn-cross-24.svg */ "./icons/btn-cross-24.svg");
|
|
4520
|
+
var folding_arrow_12_svg_1 = __webpack_require__(/*! ./folding-arrow-12.svg */ "./icons/folding-arrow-12.svg");
|
|
4521
|
+
var folding_arrow_18_svg_1 = __webpack_require__(/*! ./folding-arrow-18.svg */ "./icons/folding-arrow-18.svg");
|
|
4522
|
+
var folding_arrow_24_svg_1 = __webpack_require__(/*! ./folding-arrow-24.svg */ "./icons/folding-arrow-24.svg");
|
|
4523
|
+
var accept_12_svg_1 = __webpack_require__(/*! ./accept-12.svg */ "./icons/accept-12.svg");
|
|
4524
|
+
var accept_18_svg_1 = __webpack_require__(/*! ./accept-18.svg */ "./icons/accept-18.svg");
|
|
4525
|
+
var accept_24_svg_1 = __webpack_require__(/*! ./accept-24.svg */ "./icons/accept-24.svg");
|
|
4526
|
+
var search_12_svg_1 = __webpack_require__(/*! ./search-12.svg */ "./icons/search-12.svg");
|
|
4527
|
+
var search_18_svg_1 = __webpack_require__(/*! ./search-18.svg */ "./icons/search-18.svg");
|
|
4528
|
+
var search_24_svg_1 = __webpack_require__(/*! ./search-24.svg */ "./icons/search-24.svg");
|
|
4529
|
+
var calendar_12_svg_1 = __webpack_require__(/*! ./calendar-12.svg */ "./icons/calendar-12.svg");
|
|
4530
|
+
var calendar_18_svg_1 = __webpack_require__(/*! ./calendar-18.svg */ "./icons/calendar-18.svg");
|
|
4531
|
+
var calendar_24_svg_1 = __webpack_require__(/*! ./calendar-24.svg */ "./icons/calendar-24.svg");
|
|
4532
|
+
var info_12_svg_1 = __webpack_require__(/*! ./info-12.svg */ "./icons/info-12.svg");
|
|
4533
|
+
var info_18_svg_1 = __webpack_require__(/*! ./info-18.svg */ "./icons/info-18.svg");
|
|
4534
|
+
var info_24_svg_1 = __webpack_require__(/*! ./info-24.svg */ "./icons/info-24.svg");
|
|
4535
|
+
var help_fill_10_svg_1 = __webpack_require__(/*! ./help-fill-10.svg */ "./icons/help-fill-10.svg");
|
|
4536
|
+
var help_fill_16_svg_1 = __webpack_require__(/*! ./help-fill-16.svg */ "./icons/help-fill-16.svg");
|
|
4537
|
+
exports.systemIcons = {
|
|
4538
|
+
'18': {
|
|
4539
|
+
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4540
|
+
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4541
|
+
accept: accept_12_svg_1.ReactComponent,
|
|
4542
|
+
search: search_12_svg_1.ReactComponent,
|
|
4543
|
+
calendar: calendar_12_svg_1.ReactComponent,
|
|
4544
|
+
info: info_12_svg_1.ReactComponent,
|
|
4545
|
+
help: help_fill_10_svg_1.ReactComponent,
|
|
4546
|
+
},
|
|
4547
|
+
'24': {
|
|
4548
|
+
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4549
|
+
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4550
|
+
accept: accept_12_svg_1.ReactComponent,
|
|
4551
|
+
search: search_12_svg_1.ReactComponent,
|
|
4552
|
+
calendar: calendar_12_svg_1.ReactComponent,
|
|
4553
|
+
info: info_12_svg_1.ReactComponent,
|
|
4554
|
+
help: help_fill_10_svg_1.ReactComponent,
|
|
4555
|
+
},
|
|
4556
|
+
'30': {
|
|
4557
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4558
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4559
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4560
|
+
search: search_18_svg_1.ReactComponent,
|
|
4561
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4562
|
+
info: info_18_svg_1.ReactComponent,
|
|
4563
|
+
help: help_fill_10_svg_1.ReactComponent,
|
|
4564
|
+
},
|
|
4565
|
+
'36': {
|
|
4566
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4567
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4568
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4569
|
+
search: search_18_svg_1.ReactComponent,
|
|
4570
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4571
|
+
info: info_18_svg_1.ReactComponent,
|
|
4572
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4573
|
+
},
|
|
4574
|
+
'42': {
|
|
4575
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4576
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4577
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4578
|
+
search: search_18_svg_1.ReactComponent,
|
|
4579
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4580
|
+
info: info_18_svg_1.ReactComponent,
|
|
4581
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4582
|
+
},
|
|
4583
|
+
'48': {
|
|
4584
|
+
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4585
|
+
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4586
|
+
accept: accept_24_svg_1.ReactComponent,
|
|
4587
|
+
search: search_24_svg_1.ReactComponent,
|
|
4588
|
+
calendar: calendar_24_svg_1.ReactComponent,
|
|
4589
|
+
info: info_24_svg_1.ReactComponent,
|
|
4590
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4591
|
+
},
|
|
4592
|
+
'60': {
|
|
4593
|
+
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4594
|
+
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4595
|
+
accept: accept_24_svg_1.ReactComponent,
|
|
4596
|
+
search: search_24_svg_1.ReactComponent,
|
|
4597
|
+
calendar: calendar_24_svg_1.ReactComponent,
|
|
4598
|
+
info: info_24_svg_1.ReactComponent,
|
|
4599
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4600
|
+
},
|
|
4601
|
+
'none': {
|
|
4602
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4603
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4604
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4605
|
+
search: search_18_svg_1.ReactComponent,
|
|
4606
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4607
|
+
info: info_18_svg_1.ReactComponent,
|
|
4608
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4609
|
+
},
|
|
4610
|
+
};
|
|
4612
4611
|
|
|
4613
4612
|
|
|
4614
4613
|
/***/ }),
|
|
@@ -4657,7 +4656,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4657
4656
|
svgRef: ref
|
|
4658
4657
|
}, props));
|
|
4659
4658
|
});
|
|
4660
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4659
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "77b7c4fba164c58228be2d8d0d6dec98.svg");
|
|
4661
4660
|
|
|
4662
4661
|
|
|
4663
4662
|
/***/ }),
|
|
@@ -5049,7 +5048,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5049
5048
|
svgRef: ref
|
|
5050
5049
|
}, props));
|
|
5051
5050
|
});
|
|
5052
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5051
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "35106eb8a4be4afeb326f2926347d63c.svg");
|
|
5053
5052
|
|
|
5054
5053
|
|
|
5055
5054
|
/***/ }),
|
|
@@ -5098,7 +5097,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5098
5097
|
svgRef: ref
|
|
5099
5098
|
}, props));
|
|
5100
5099
|
});
|
|
5101
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5100
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "77e60738884942dab88dae51d3dbccd2.svg");
|
|
5102
5101
|
|
|
5103
5102
|
|
|
5104
5103
|
/***/ }),
|
|
@@ -5148,7 +5147,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5148
5147
|
svgRef: ref
|
|
5149
5148
|
}, props));
|
|
5150
5149
|
});
|
|
5151
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5150
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "e0a2a4521d4572e6b2c97c177d398463.svg");
|
|
5152
5151
|
|
|
5153
5152
|
|
|
5154
5153
|
/***/ }),
|
|
@@ -5399,7 +5398,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5399
5398
|
svgRef: ref
|
|
5400
5399
|
}, props));
|
|
5401
5400
|
});
|
|
5402
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5401
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "4a0775e7f6abd130329c74c2eba659c7.svg");
|
|
5403
5402
|
|
|
5404
5403
|
|
|
5405
5404
|
/***/ }),
|
|
@@ -5412,13 +5411,13 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5412
5411
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5413
5412
|
|
|
5414
5413
|
"use strict";
|
|
5415
|
-
|
|
5416
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5417
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
5418
|
-
__webpack_require__(/*! ./assets/styles/font-faces.scss */ "./assets/styles/font-faces.scss");
|
|
5419
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./components */ "./components/index.ts"), exports);
|
|
5420
|
-
// export * from './i18n';
|
|
5421
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! @epam/uui-core */ "@epam/uui-core"), exports);
|
|
5414
|
+
|
|
5415
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5416
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
5417
|
+
__webpack_require__(/*! ./assets/styles/font-faces.scss */ "./assets/styles/font-faces.scss");
|
|
5418
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./components */ "./components/index.ts"), exports);
|
|
5419
|
+
// export * from './i18n';
|
|
5420
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! @epam/uui-core */ "@epam/uui-core"), exports);
|
|
5422
5421
|
|
|
5423
5422
|
|
|
5424
5423
|
/***/ }),
|
|
@@ -5430,7 +5429,7 @@ __webpack_require__(/*! ./assets/styles/font-faces.scss */ "./assets/styles/font
|
|
|
5430
5429
|
/*! no static exports found */
|
|
5431
5430
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5432
5431
|
|
|
5433
|
-
module.exports = __webpack_require__(/*!
|
|
5432
|
+
module.exports = __webpack_require__(/*! C:\Users\Aliaksei_Manetau\WebstormProjects\uui\uui\index.tsx */"./index.tsx");
|
|
5434
5433
|
|
|
5435
5434
|
|
|
5436
5435
|
/***/ }),
|