@epam/uui 4.8.5 → 4.9.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -651,7 +651,7 @@ function __classPrivateFieldIn(state, receiver) {
651
651
  /***/ (function(module, exports, __webpack_require__) {
652
652
 
653
653
  // extracted by mini-css-extract-plugin
654
- module.exports = {"line-height-12":"_1yD-h","lineHeight12":"_1yD-h","line-height-18":"_2pn65","lineHeight18":"_2pn65","line-height-24":"_11Yot","lineHeight24":"_11Yot","line-height-30":"hMksP","lineHeight30":"hMksP","font-size-10":"_1HPca","fontSize10":"_1HPca","font-size-12":"_1Yvvk","fontSize12":"_1Yvvk","font-size-14":"_1rit5","fontSize14":"_1rit5","font-size-16":"_3RLrb","fontSize16":"_3RLrb","font-size-18":"_3lWd7","fontSize18":"_3lWd7","font-size-24":"_3VUVD","fontSize24":"_3VUVD","v-padding-2":"_1Jyzk","vPadding2":"_1Jyzk","v-padding-3":"_3e-Xm","vPadding3":"_3e-Xm","v-padding-5":"_3Dt5T","vPadding5":"_3Dt5T","v-padding-6":"_3qkk3","vPadding6":"_3qkk3","v-padding-8":"_17BLL","vPadding8":"_17BLL","v-padding-9":"_2q2tb","vPadding9":"_2q2tb","v-padding-11":"_1iHqz","vPadding11":"_1iHqz","v-padding-12":"grZZd","vPadding12":"grZZd","v-padding-14":"_2Lsh0","vPadding14":"_2Lsh0","v-padding-15":"Btid4","vPadding15":"Btid4","v-padding-17":"_2Tjb1","vPadding17":"_2Tjb1","v-padding-18":"_3eNeD","vPadding18":"_3eNeD","v-padding-23":"_3JVX0","vPadding23":"_3JVX0","v-padding-24":"_1Nvv7","vPadding24":"_1Nvv7"};
654
+ module.exports = {"line-height-12":"_3-e5A","lineHeight12":"_3-e5A","line-height-18":"_3lj_p","lineHeight18":"_3lj_p","line-height-24":"_2_LYd","lineHeight24":"_2_LYd","line-height-30":"_3H0Ri","lineHeight30":"_3H0Ri","font-size-10":"GeUqX","fontSize10":"GeUqX","font-size-12":"v_qh1","fontSize12":"v_qh1","font-size-14":"_1T4ZM","fontSize14":"_1T4ZM","font-size-16":"_3ghNL","fontSize16":"_3ghNL","font-size-18":"_2CaRF","fontSize18":"_2CaRF","font-size-24":"_1rEJV","fontSize24":"_1rEJV","v-padding-2":"_3FUhH","vPadding2":"_3FUhH","v-padding-3":"_3Sv6C","vPadding3":"_3Sv6C","v-padding-5":"_3yHDc","vPadding5":"_3yHDc","v-padding-6":"_2jvYp","vPadding6":"_2jvYp","v-padding-8":"_3UiPe","vPadding8":"_3UiPe","v-padding-9":"_3RYuH","vPadding9":"_3RYuH","v-padding-11":"_1zt0r","vPadding11":"_1zt0r","v-padding-12":"_343mc","vPadding12":"_343mc","v-padding-14":"vIGem","vPadding14":"vIGem","v-padding-15":"_3pqqp","vPadding15":"_3pqqp","v-padding-17":"K8L7w","vPadding17":"K8L7w","v-padding-18":"_12XE5","vPadding18":"_12XE5","v-padding-23":"_34nm3","vPadding23":"_34nm3","v-padding-24":"_2CsFl","vPadding24":"_2CsFl"};
655
655
 
656
656
  /***/ }),
657
657
 
@@ -905,7 +905,7 @@ module.exports = {"line-height-12":"_1yD-h","lineHeight12":"_1yD-h","line-height
905
905
  /***/ (function(module, exports, __webpack_require__) {
906
906
 
907
907
  // extracted by mini-css-extract-plugin
908
- module.exports = {"root":"_1jjNH","mode-solid":"_3NrLA","modeSolid":"_3NrLA","mode-outline":"_3Le56","modeOutline":"_3Le56","mode-none":"gNPAF","modeNone":"gNPAF","mode-ghost":"_2lGsA","modeGhost":"_2lGsA","size-24":"_1771n","size24":"_1771n","size-30":"_3V3VQ","size30":"_3V3VQ","size-36":"B7sbA","size36":"B7sbA","size-42":"_3B0KL","size42":"_3B0KL","size-48":"xbZVo","size48":"xbZVo"};
908
+ module.exports = {"root":"_2MpJQ","mode-solid":"SJ6OM","modeSolid":"SJ6OM","mode-outline":"_2LQD2","modeOutline":"_2LQD2","mode-none":"_2Un2Y","modeNone":"_2Un2Y","mode-ghost":"_1V5jf","modeGhost":"_1V5jf","size-24":"GEavZ","size24":"GEavZ","size-30":"_2HM8g","size30":"_2HM8g","size-36":"_3GOqz","size36":"_3GOqz","size-42":"_5CpdW","size42":"_5CpdW","size-48":"_2Tz07","size48":"_2Tz07"};
909
909
 
910
910
  /***/ }),
911
911
 
@@ -920,28 +920,28 @@ module.exports = {"root":"_1jjNH","mode-solid":"_3NrLA","modeSolid":"_3NrLA","mo
920
920
 
921
921
  Object.defineProperty(exports, "__esModule", { value: true });
922
922
  exports.Button = exports.applyButtonMods = exports.allButtonColors = void 0;
923
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
924
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
925
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
926
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
927
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Button.scss */ "./components/buttons/Button.scss"));
923
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
924
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
925
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
926
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
927
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Button.scss */ "./components/buttons/Button.scss"));
928
928
  __webpack_require__(/*! ../../assets/styles/variables/buttons/button.scss */ "./assets/styles/variables/buttons/button.scss");
929
929
  exports.allButtonColors = ['accent', 'primary', 'secondary', 'negative'];
930
- var defaultSize = '36';
930
+ const defaultSize = '36';
931
931
  function applyButtonMods(mods) {
932
932
  return [
933
933
  'button-vars',
934
- "button-color-".concat(mods.color || 'primary'),
934
+ `button-color-${mods.color || 'primary'}`,
935
935
  css.root,
936
- css["size-".concat(mods.size || defaultSize)],
937
- css["mode-".concat(mods.mode || 'solid')],
936
+ css[`size-${mods.size || defaultSize}`],
937
+ css[`mode-${mods.mode || 'solid'}`],
938
938
  ];
939
939
  }
940
940
  exports.applyButtonMods = applyButtonMods;
941
- exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMods, function (props) { return ({
941
+ exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMods, (props) => ({
942
942
  dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
943
943
  clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
944
- }); });
944
+ }));
945
945
 
946
946
 
947
947
  /***/ }),
@@ -954,7 +954,7 @@ exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMo
954
954
  /***/ (function(module, exports, __webpack_require__) {
955
955
 
956
956
  // extracted by mini-css-extract-plugin
957
- module.exports = {"root":"_2hip6"};
957
+ module.exports = {"root":"_3z9uB"};
958
958
 
959
959
  /***/ }),
960
960
 
@@ -969,15 +969,15 @@ module.exports = {"root":"_2hip6"};
969
969
 
970
970
  Object.defineProperty(exports, "__esModule", { value: true });
971
971
  exports.IconButton = exports.allIconColors = void 0;
972
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
973
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
974
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
972
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
973
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
974
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
975
975
  __webpack_require__(/*! ../../assets/styles/variables/buttons/iconButton.scss */ "./assets/styles/variables/buttons/iconButton.scss");
976
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconButton.scss */ "./components/buttons/IconButton.scss"));
976
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconButton.scss */ "./components/buttons/IconButton.scss"));
977
977
  exports.allIconColors = ['info', 'success', 'warning', 'error', 'secondary', 'default'];
978
978
  function applyIconButtonMods(mods) {
979
979
  return [
980
- "icon-button-color-".concat(mods.color || 'default'),
980
+ `icon-button-color-${mods.color || 'default'}`,
981
981
  css.root,
982
982
  ];
983
983
  }
@@ -994,7 +994,7 @@ exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, apply
994
994
  /***/ (function(module, exports, __webpack_require__) {
995
995
 
996
996
  // extracted by mini-css-extract-plugin
997
- module.exports = {"root":"HD0yY","size-18":"_3-dm_","size18":"_3-dm_","size-24":"_2Pcpv","size24":"_2Pcpv","size-30":"_2qJZf","size30":"_2qJZf","size-36":"_29Nlq","size36":"_29Nlq","size-42":"be_VT","size42":"be_VT","size-48":"_3SC1Y","size48":"_3SC1Y"};
997
+ module.exports = {"root":"_3pgx_","size-18":"_2y_FV","size18":"_2y_FV","size-24":"_3_O5Y","size24":"_3_O5Y","size-30":"_14cwo","size30":"_14cwo","size-36":"_3Wiol","size36":"_3Wiol","size-42":"_3juMh","size42":"_3juMh","size-48":"BhLr8","size48":"BhLr8"};
998
998
 
999
999
  /***/ }),
1000
1000
 
@@ -1009,25 +1009,26 @@ module.exports = {"root":"HD0yY","size-18":"_3-dm_","size18":"_3-dm_","size-24":
1009
1009
 
1010
1010
  Object.defineProperty(exports, "__esModule", { value: true });
1011
1011
  exports.LinkButton = void 0;
1012
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1013
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1014
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1015
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1016
- var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
1017
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LinkButton.scss */ "./components/buttons/LinkButton.scss"));
1012
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1013
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1014
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1015
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1016
+ const helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
1017
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LinkButton.scss */ "./components/buttons/LinkButton.scss"));
1018
1018
  __webpack_require__(/*! ../../assets/styles/variables/buttons/linkButton.scss */ "./assets/styles/variables/buttons/linkButton.scss");
1019
- var defaultSize = '36';
1019
+ const defaultSize = '36';
1020
1020
  function applyLinkButtonMods(mods) {
1021
- return (0, tslib_1.__spreadArray)([
1021
+ return [
1022
1022
  'link-button-vars',
1023
1023
  css.root,
1024
- css['size-' + (mods.size || defaultSize)]
1025
- ], (0, helper_1.getIconClass)(mods), true);
1024
+ css['size-' + (mods.size || defaultSize)],
1025
+ ...(0, helper_1.getIconClass)(mods),
1026
+ ];
1026
1027
  }
1027
- exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLinkButtonMods, function (props) { return ({
1028
+ exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLinkButtonMods, (props) => ({
1028
1029
  dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
1029
1030
  clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
1030
- }); });
1031
+ }));
1031
1032
 
1032
1033
 
1033
1034
  /***/ }),
@@ -1040,7 +1041,7 @@ exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLink
1040
1041
  /***/ (function(module, exports, __webpack_require__) {
1041
1042
 
1042
1043
  // extracted by mini-css-extract-plugin
1043
- module.exports = {"root":"iO5HH","uui-notification":"IJpcq","uuiNotification":"IJpcq","size-36":"_1Z39o","size36":"_1Z39o","size-48":"_28Fsr","size48":"_28Fsr","size-60":"_3m-EP","size60":"_3m-EP"};
1044
+ module.exports = {"root":"_3YM91","uui-notification":"_1leQ_","uuiNotification":"_1leQ_","size-36":"_16tIO","size36":"_16tIO","size-48":"dlVV2","size48":"dlVV2","size-60":"_1EmoE","size60":"_1EmoE"};
1044
1045
 
1045
1046
  /***/ }),
1046
1047
 
@@ -1055,22 +1056,23 @@ module.exports = {"root":"iO5HH","uui-notification":"IJpcq","uuiNotification":"I
1055
1056
 
1056
1057
  Object.defineProperty(exports, "__esModule", { value: true });
1057
1058
  exports.TabButton = void 0;
1058
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1059
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1060
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1061
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1062
- var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
1059
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1060
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1061
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1062
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1063
+ const helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
1063
1064
  __webpack_require__(/*! ../../assets/styles/variables/buttons/tabButton.scss */ "./assets/styles/variables/buttons/tabButton.scss");
1064
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TabButton.scss */ "./components/buttons/TabButton.scss"));
1065
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TabButton.scss */ "./components/buttons/TabButton.scss"));
1065
1066
  function applyTabButtonMods(mods) {
1066
- return (0, tslib_1.__spreadArray)([
1067
+ return [
1067
1068
  'tab-button-vars',
1068
1069
  css.root,
1069
1070
  css['size-' + (mods.size || '48')],
1070
- mods.withNotify && css.uuiNotification
1071
- ], (0, helper_1.getIconClass)(mods), true);
1071
+ mods.withNotify && css.uuiNotification,
1072
+ ...(0, helper_1.getIconClass)(mods),
1073
+ ];
1072
1074
  }
1073
- 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) })); });
1075
+ exports.TabButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyTabButtonMods, props => (Object.assign(Object.assign({ dropdownIcon: icons_1.systemIcons['36'].foldingArrow, clearIcon: icons_1.systemIcons['36'].clear, countPosition: 'right' }, props), { rawProps: Object.assign({ role: 'tab' }, props.rawProps) })));
1074
1076
 
1075
1077
 
1076
1078
  /***/ }),
@@ -1083,7 +1085,7 @@ exports.TabButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyTabBu
1083
1085
  /***/ (function(module, exports, __webpack_require__) {
1084
1086
 
1085
1087
  // extracted by mini-css-extract-plugin
1086
- module.exports = {"root":"_1ZgtL"};
1088
+ module.exports = {"root":"_3xu2j"};
1087
1089
 
1088
1090
  /***/ }),
1089
1091
 
@@ -1098,10 +1100,10 @@ module.exports = {"root":"_1ZgtL"};
1098
1100
 
1099
1101
  Object.defineProperty(exports, "__esModule", { value: true });
1100
1102
  exports.VerticalTabButton = void 0;
1101
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1102
- var VerticalTabButton_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./VerticalTabButton.scss */ "./components/buttons/VerticalTabButton.scss"));
1103
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1104
- var TabButton_1 = __webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx");
1103
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1104
+ const VerticalTabButton_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./VerticalTabButton.scss */ "./components/buttons/VerticalTabButton.scss"));
1105
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1106
+ const TabButton_1 = __webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx");
1105
1107
  function applyVerticalTabButtonMods() {
1106
1108
  return [
1107
1109
  VerticalTabButton_scss_1.default.root,
@@ -1124,7 +1126,7 @@ exports.VerticalTabButton = (0, uui_core_1.withMods)(TabButton_1.TabButton, appl
1124
1126
  Object.defineProperty(exports, "__esModule", { value: true });
1125
1127
  exports.getIconClass = void 0;
1126
1128
  function getIconClass(props) {
1127
- var classList = {
1129
+ let classList = {
1128
1130
  'has-left-icon': false,
1129
1131
  'has-right-icon': false,
1130
1132
  };
@@ -1157,7 +1159,7 @@ exports.getIconClass = getIconClass;
1157
1159
  "use strict";
1158
1160
 
1159
1161
  Object.defineProperty(exports, "__esModule", { value: true });
1160
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1162
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1161
1163
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Button */ "./components/buttons/Button.tsx"), exports);
1162
1164
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconButton */ "./components/buttons/IconButton.tsx"), exports);
1163
1165
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./LinkButton */ "./components/buttons/LinkButton.tsx"), exports);
@@ -1177,7 +1179,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
1177
1179
  "use strict";
1178
1180
 
1179
1181
  Object.defineProperty(exports, "__esModule", { value: true });
1180
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1182
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1181
1183
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./buttons */ "./components/buttons/index.ts"), exports);
1182
1184
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./inputs */ "./components/inputs/index.ts"), exports);
1183
1185
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./layout */ "./components/layout/index.ts"), exports);
@@ -1199,7 +1201,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
1199
1201
  /***/ (function(module, exports, __webpack_require__) {
1200
1202
 
1201
1203
  // extracted by mini-css-extract-plugin
1202
- module.exports = {"root":"mEVKx","size-18":"_3gooq","size18":"_3gooq","size-12":"_3NXJ1","size12":"_3NXJ1"};
1204
+ module.exports = {"root":"_2VGyj","size-18":"_2FjPh","size18":"_2FjPh","size-12":"_18zVX","size12":"_18zVX"};
1203
1205
 
1204
1206
  /***/ }),
1205
1207
 
@@ -1214,14 +1216,14 @@ module.exports = {"root":"mEVKx","size-18":"_3gooq","size18":"_3gooq","size-12":
1214
1216
 
1215
1217
  Object.defineProperty(exports, "__esModule", { value: true });
1216
1218
  exports.Checkbox = exports.applyCheckboxMods = void 0;
1217
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1218
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1219
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1220
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Checkbox.scss */ "./components/inputs/Checkbox.scss"));
1221
- var check_12_svg_1 = __webpack_require__(/*! ../../icons/check-12.svg */ "./icons/check-12.svg");
1222
- var check_18_svg_1 = __webpack_require__(/*! ../../icons/check-18.svg */ "./icons/check-18.svg");
1223
- var partly_select_12_svg_1 = __webpack_require__(/*! ../../icons/partly-select-12.svg */ "./icons/partly-select-12.svg");
1224
- var partly_select_18_svg_1 = __webpack_require__(/*! ../../icons/partly-select-18.svg */ "./icons/partly-select-18.svg");
1219
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1220
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1221
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1222
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Checkbox.scss */ "./components/inputs/Checkbox.scss"));
1223
+ const check_12_svg_1 = __webpack_require__(/*! ../../icons/check-12.svg */ "./icons/check-12.svg");
1224
+ const check_18_svg_1 = __webpack_require__(/*! ../../icons/check-18.svg */ "./icons/check-18.svg");
1225
+ const partly_select_12_svg_1 = __webpack_require__(/*! ../../icons/partly-select-12.svg */ "./icons/partly-select-12.svg");
1226
+ const partly_select_18_svg_1 = __webpack_require__(/*! ../../icons/partly-select-18.svg */ "./icons/partly-select-18.svg");
1225
1227
  __webpack_require__(/*! ../../assets/styles/variables/inputs/checkbox.scss */ "./assets/styles/variables/inputs/checkbox.scss");
1226
1228
  function applyCheckboxMods(mods) {
1227
1229
  return [
@@ -1231,10 +1233,10 @@ function applyCheckboxMods(mods) {
1231
1233
  ];
1232
1234
  }
1233
1235
  exports.applyCheckboxMods = applyCheckboxMods;
1234
- exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyCheckboxMods, function (props) { return ({
1236
+ exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyCheckboxMods, (props) => ({
1235
1237
  icon: (props.size === '12') ? check_12_svg_1.ReactComponent : check_18_svg_1.ReactComponent,
1236
1238
  indeterminateIcon: (props.size === '12') ? partly_select_12_svg_1.ReactComponent : partly_select_18_svg_1.ReactComponent,
1237
- }); });
1239
+ }));
1238
1240
 
1239
1241
 
1240
1242
  /***/ }),
@@ -1247,7 +1249,7 @@ exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyChec
1247
1249
  /***/ (function(module, exports, __webpack_require__) {
1248
1250
 
1249
1251
  // extracted by mini-css-extract-plugin
1250
- module.exports = {"root":"M5J2d","size-18":"_3xuBu","size18":"_3xuBu","size-12":"_1G0Fa","size12":"_1G0Fa"};
1252
+ module.exports = {"root":"_1zMIh","size-18":"_1kfgj","size18":"_1kfgj","size-12":"_1girw","size12":"_1girw"};
1251
1253
 
1252
1254
  /***/ }),
1253
1255
 
@@ -1262,12 +1264,12 @@ module.exports = {"root":"M5J2d","size-18":"_3xuBu","size18":"_3xuBu","size-12":
1262
1264
 
1263
1265
  Object.defineProperty(exports, "__esModule", { value: true });
1264
1266
  exports.RadioInput = void 0;
1265
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1266
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1267
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1267
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1268
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1269
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1268
1270
  __webpack_require__(/*! ../../assets/styles/variables/inputs/radioInput.scss */ "./assets/styles/variables/inputs/radioInput.scss");
1269
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioInput.scss */ "./components/inputs/RadioInput.scss"));
1270
- var radio_point_svg_1 = __webpack_require__(/*! ../../icons/radio-point.svg */ "./icons/radio-point.svg");
1271
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioInput.scss */ "./components/inputs/RadioInput.scss"));
1272
+ const radio_point_svg_1 = __webpack_require__(/*! ../../icons/radio-point.svg */ "./icons/radio-point.svg");
1271
1273
  function applyRadioInputMods(mods) {
1272
1274
  return [
1273
1275
  'radio-input-vars',
@@ -1275,7 +1277,7 @@ function applyRadioInputMods(mods) {
1275
1277
  css['size-' + (mods.size || '18')],
1276
1278
  ];
1277
1279
  }
1278
- exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, applyRadioInputMods, function () { return ({ icon: radio_point_svg_1.ReactComponent }); });
1280
+ exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, applyRadioInputMods, () => ({ icon: radio_point_svg_1.ReactComponent }));
1279
1281
 
1280
1282
 
1281
1283
  /***/ }),
@@ -1288,7 +1290,7 @@ exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, apply
1288
1290
  /***/ (function(module, exports, __webpack_require__) {
1289
1291
 
1290
1292
  // extracted by mini-css-extract-plugin
1291
- module.exports = {"root":"_3NNfq","size-12":"_2QbTL","size12":"_2QbTL","size-18":"_3OOh3","size18":"_3OOh3","size-24":"_1vEuy","size24":"_1vEuy"};
1293
+ module.exports = {"root":"_2WZXk","size-12":"_1CHhD","size12":"_1CHhD","size-18":"_2fE4M","size18":"_2fE4M","size-24":"_1ETlc","size24":"_1ETlc"};
1292
1294
 
1293
1295
  /***/ }),
1294
1296
 
@@ -1303,10 +1305,10 @@ module.exports = {"root":"_3NNfq","size-12":"_2QbTL","size12":"_2QbTL","size-18"
1303
1305
 
1304
1306
  Object.defineProperty(exports, "__esModule", { value: true });
1305
1307
  exports.Switch = exports.applySwitchMods = void 0;
1306
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1307
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1308
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1309
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Switch.scss */ "./components/inputs/Switch.scss"));
1308
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1309
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1310
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1311
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Switch.scss */ "./components/inputs/Switch.scss"));
1310
1312
  __webpack_require__(/*! ../../assets/styles/variables/inputs/switch.scss */ "./assets/styles/variables/inputs/switch.scss");
1311
1313
  function applySwitchMods(mods) {
1312
1314
  return [
@@ -1329,7 +1331,7 @@ exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMo
1329
1331
  /***/ (function(module, exports, __webpack_require__) {
1330
1332
 
1331
1333
  // extracted by mini-css-extract-plugin
1332
- module.exports = {"root":"_1XlR9","mode-form":"_24_ta","modeForm":"_24_ta","mode-cell":"_1HI-9","modeCell":"_1HI-9","size-24":"_2uP4F","size24":"_2uP4F","size-30":"_27dWI","size30":"_27dWI","size-36":"_3auX3","size36":"_3auX3","size-42":"_4Bp0F","size42":"_4Bp0F","size-48":"_15saF","size48":"_15saF"};
1334
+ module.exports = {"root":"_27nvG","mode-form":"_3ny50","modeForm":"_3ny50","mode-cell":"_3VRdA","modeCell":"_3VRdA","size-24":"_35K9n","size24":"_35K9n","size-30":"_2kAjg","size30":"_2kAjg","size-36":"_12E1T","size36":"_12E1T","size-42":"_1aUEj","size42":"_1aUEj","size-48":"_37O6y","size48":"_37O6y"};
1333
1335
 
1334
1336
  /***/ }),
1335
1337
 
@@ -1344,16 +1346,16 @@ module.exports = {"root":"_1XlR9","mode-form":"_24_ta","modeForm":"_24_ta","mode
1344
1346
 
1345
1347
  Object.defineProperty(exports, "__esModule", { value: true });
1346
1348
  exports.SearchInput = exports.TextInput = exports.applyTextInputMods = void 0;
1347
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1348
- var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
1349
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1350
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1351
- var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
1352
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1353
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextInput.scss */ "./components/inputs/TextInput.scss"));
1349
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1350
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
1351
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1352
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1353
+ const types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
1354
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1355
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextInput.scss */ "./components/inputs/TextInput.scss"));
1354
1356
  __webpack_require__(/*! ../../assets/styles/variables/inputs/textInput.scss */ "./assets/styles/variables/inputs/textInput.scss");
1355
- var defaultSize = '36';
1356
- var defaultMode = types_1.EditMode.FORM;
1357
+ const defaultSize = '36';
1358
+ const defaultMode = types_1.EditMode.FORM;
1357
1359
  function applyTextInputMods(mods) {
1358
1360
  return [
1359
1361
  'text-input-vars',
@@ -1363,27 +1365,19 @@ function applyTextInputMods(mods) {
1363
1365
  ];
1364
1366
  }
1365
1367
  exports.applyTextInputMods = applyTextInputMods;
1366
- exports.TextInput = (0, uui_core_1.withMods)(uui_components_1.TextInput, applyTextInputMods, function (props) { return ({
1368
+ exports.TextInput = (0, uui_core_1.withMods)(uui_components_1.TextInput, applyTextInputMods, (props) => ({
1367
1369
  acceptIcon: icons_1.systemIcons[props.size || defaultSize].accept,
1368
1370
  cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear,
1369
1371
  dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
1370
- }); });
1371
- var SearchInput = /** @class */ (function (_super) {
1372
- (0, tslib_1.__extends)(SearchInput, _super);
1373
- function SearchInput() {
1374
- return _super !== null && _super.apply(this, arguments) || this;
1375
- }
1376
- SearchInput.prototype.render = function () {
1377
- var _this = this;
1372
+ }));
1373
+ class SearchInput extends react_1.default.Component {
1374
+ render() {
1378
1375
  // analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
1379
- var textInputProps = (0, tslib_1.__assign)({}, this.props);
1376
+ const textInputProps = Object.assign({}, this.props);
1380
1377
  delete textInputProps.getValueChangeAnalyticsEvent;
1381
- return react_1.default.createElement(uui_core_1.IEditableDebouncer, (0, tslib_1.__assign)({}, this.props, { render: (function (iEditable) {
1382
- 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));
1383
- }) }));
1384
- };
1385
- return SearchInput;
1386
- }(react_1.default.Component));
1378
+ return react_1.default.createElement(uui_core_1.IEditableDebouncer, Object.assign({}, this.props, { render: (iEditable => react_1.default.createElement(exports.TextInput, Object.assign({ icon: icons_1.systemIcons[this.props.size || defaultSize].search, onCancel: !!this.props.value ? (() => iEditable.onValueChange('')) : undefined, type: "search", inputMode: "search" }, textInputProps, iEditable))) }));
1379
+ }
1380
+ }
1387
1381
  exports.SearchInput = SearchInput;
1388
1382
 
1389
1383
 
@@ -1399,7 +1393,7 @@ exports.SearchInput = SearchInput;
1399
1393
  "use strict";
1400
1394
 
1401
1395
  Object.defineProperty(exports, "__esModule", { value: true });
1402
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1396
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1403
1397
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Checkbox */ "./components/inputs/Checkbox.tsx"), exports);
1404
1398
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioInput */ "./components/inputs/RadioInput.tsx"), exports);
1405
1399
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Switch */ "./components/inputs/Switch.tsx"), exports);
@@ -1416,7 +1410,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
1416
1410
  /***/ (function(module, exports, __webpack_require__) {
1417
1411
 
1418
1412
  // extracted by mini-css-extract-plugin
1419
- module.exports = {"root":"bgQAS","mode-block":"kemvW","modeBlock":"kemvW","mode-inline":"_3Kb6A","modeInline":"_3Kb6A","padding-0":"czWEA","padding0":"czWEA","padding-6":"_1bO1v","padding6":"_1bO1v","padding-12":"_1KdUI","padding12":"_1KdUI","padding-18":"_2-EQ8","padding18":"_2-EQ8"};
1413
+ module.exports = {"root":"_1sRAF","mode-block":"_2MkrE","modeBlock":"_2MkrE","mode-inline":"_2ZSQ6","modeInline":"_2ZSQ6","padding-0":"_36Uao","padding0":"_36Uao","padding-6":"_1of8Y","padding6":"_1of8Y","padding-12":"_1AOWw","padding12":"_1AOWw","padding-18":"_3iGiZ","padding18":"_3iGiZ"};
1420
1414
 
1421
1415
  /***/ }),
1422
1416
 
@@ -1431,12 +1425,12 @@ module.exports = {"root":"bgQAS","mode-block":"kemvW","modeBlock":"kemvW","mode-
1431
1425
 
1432
1426
  Object.defineProperty(exports, "__esModule", { value: true });
1433
1427
  exports.Accordion = void 0;
1434
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1435
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1436
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1437
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1428
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1429
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1430
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1431
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1438
1432
  __webpack_require__(/*! ../../assets/styles/variables/layout/accordion.scss */ "./assets/styles/variables/layout/accordion.scss");
1439
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Accordion.scss */ "./components/layout/Accordion.scss"));
1433
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Accordion.scss */ "./components/layout/Accordion.scss"));
1440
1434
  function applyAccordionMods(mods) {
1441
1435
  return [
1442
1436
  'accordion-vars',
@@ -1445,9 +1439,9 @@ function applyAccordionMods(mods) {
1445
1439
  mods.padding && css['padding-' + mods.padding],
1446
1440
  ];
1447
1441
  }
1448
- exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAccordionMods, function (mods) { return ({
1449
- dropdownIcon: icons_1.systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
1450
- }); });
1442
+ exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAccordionMods, (mods) => ({
1443
+ dropdownIcon: mods.dropdownIcon !== null && icons_1.systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
1444
+ }));
1451
1445
 
1452
1446
 
1453
1447
  /***/ }),
@@ -1460,7 +1454,7 @@ exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAc
1460
1454
  /***/ (function(module, exports, __webpack_require__) {
1461
1455
 
1462
1456
  // extracted by mini-css-extract-plugin
1463
- module.exports = {"root":"_3cZz6"};
1457
+ module.exports = {"root":"_1ACdG"};
1464
1458
 
1465
1459
  /***/ }),
1466
1460
 
@@ -1475,11 +1469,11 @@ module.exports = {"root":"_3cZz6"};
1475
1469
 
1476
1470
  Object.defineProperty(exports, "__esModule", { value: true });
1477
1471
  exports.ControlGroup = void 0;
1478
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1479
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./ControlGroup.scss */ "./components/layout/ControlGroup.scss"));
1480
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1481
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1482
- exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, function () { return [css.root]; });
1472
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1473
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./ControlGroup.scss */ "./components/layout/ControlGroup.scss"));
1474
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1475
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1476
+ exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, () => [css.root]);
1483
1477
 
1484
1478
 
1485
1479
  /***/ }),
@@ -1495,13 +1489,13 @@ exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, f
1495
1489
 
1496
1490
  Object.defineProperty(exports, "__esModule", { value: true });
1497
1491
  exports.FlexCell = void 0;
1498
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1499
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
1500
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1501
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1502
- exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function (props) { return [
1492
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1493
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
1494
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1495
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1496
+ exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, props => [
1503
1497
  css.flexCell,
1504
- ]; });
1498
+ ]);
1505
1499
 
1506
1500
 
1507
1501
  /***/ }),
@@ -1514,7 +1508,7 @@ exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function
1514
1508
  /***/ (function(module, exports, __webpack_require__) {
1515
1509
 
1516
1510
  // extracted by mini-css-extract-plugin
1517
- module.exports = {"root":"_37CWB","top-shadow":"H9N1D","topShadow":"H9N1D","size-24":"k_kDE","size24":"k_kDE","size-30":"_2mCLQ","size30":"_2mCLQ","size-36":"_1YZrY","size36":"_1YZrY","size-42":"_3Z5Hs","size42":"_3Z5Hs","size-48":"_2NRsG","size48":"_2NRsG","padding-6":"_3rzfA","padding6":"_3rzfA","padding-12":"BCDFF","padding12":"BCDFF","padding-18":"_1uwpd","padding18":"_1uwpd","padding-24":"_1i2IX","padding24":"_1i2IX","margin-24":"_3LSnG","margin24":"_3LSnG","margin-12":"_2JLXB","margin12":"_2JLXB","vPadding-12":"_3sLl-","vPadding12":"_3sLl-","vPadding-18":"_3oPsE","vPadding18":"_3oPsE","vPadding-24":"XmATo","vPadding24":"XmATo","vPadding-36":"_3jVXV","vPadding36":"_3jVXV","vPadding-48":"_3inhJ","vPadding48":"_3inhJ","spacing-6":"_1SBBN","spacing6":"_1SBBN","spacing-12":"_1Kakg","spacing12":"_1Kakg","spacing-18":"_1rJ6H","spacing18":"_1rJ6H","border-bottom":"_2aAsI","borderBottom":"_2aAsI"};
1511
+ module.exports = {"root":"_1gH-A","top-shadow":"_2eGFK","topShadow":"_2eGFK","size-24":"_33ogB","size24":"_33ogB","size-30":"X0sau","size30":"X0sau","size-36":"_3Y8P5","size36":"_3Y8P5","size-42":"_2sHSm","size42":"_2sHSm","size-48":"_3bskJ","size48":"_3bskJ","padding-6":"_1r0Cj","padding6":"_1r0Cj","padding-12":"_25KX4","padding12":"_25KX4","padding-18":"_1FouQ","padding18":"_1FouQ","padding-24":"IRH9M","padding24":"IRH9M","margin-24":"_1oNpz","margin24":"_1oNpz","margin-12":"_3AW0T","margin12":"_3AW0T","vPadding-12":"_1Dyhs","vPadding12":"_1Dyhs","vPadding-18":"CTXx5","vPadding18":"CTXx5","vPadding-24":"mO0bU","vPadding24":"mO0bU","vPadding-36":"_31RY1","vPadding36":"_31RY1","vPadding-48":"_3cqdJ","vPadding48":"_3cqdJ","spacing-6":"RedRq","spacing6":"RedRq","spacing-12":"_2W0Je","spacing12":"_2W0Je","spacing-18":"_3DZ9W","spacing18":"_3DZ9W","border-bottom":"_1MjUT","borderBottom":"_1MjUT"};
1518
1512
 
1519
1513
  /***/ }),
1520
1514
 
@@ -1529,11 +1523,11 @@ module.exports = {"root":"_37CWB","top-shadow":"H9N1D","topShadow":"H9N1D","size
1529
1523
 
1530
1524
  Object.defineProperty(exports, "__esModule", { value: true });
1531
1525
  exports.FlexRow = void 0;
1532
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1533
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1534
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1535
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
1536
- exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (props) {
1526
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1527
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1528
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1529
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
1530
+ exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, props => {
1537
1531
  return [
1538
1532
  css.root,
1539
1533
  props.size !== null && css['size-' + (props.size || '36')],
@@ -1560,7 +1554,7 @@ exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (p
1560
1554
 
1561
1555
  Object.defineProperty(exports, "__esModule", { value: true });
1562
1556
  exports.FlexSpacer = void 0;
1563
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1557
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1564
1558
  exports.FlexSpacer = uui_components_1.FlexSpacer;
1565
1559
 
1566
1560
 
@@ -1574,7 +1568,7 @@ exports.FlexSpacer = uui_components_1.FlexSpacer;
1574
1568
  /***/ (function(module, exports, __webpack_require__) {
1575
1569
 
1576
1570
  // extracted by mini-css-extract-plugin
1577
- module.exports = {"root":"eg9Ko","background":"_2czOO","margin-24":"_2QGHn","margin24":"_2QGHn","padding-12":"_1bkRt","padding12":"_1bkRt","padding-24":"_1cF-E","padding24":"_1cF-E","shadow":"_2l_Lg"};
1571
+ module.exports = {"root":"UR49G","background":"_1kDXG","margin-24":"_1GZtc","margin24":"_1GZtc","padding-12":"_3Hr_J","padding12":"_3Hr_J","padding-24":"_2IZ8s","padding24":"_2IZ8s","shadow":"bP2rX"};
1578
1572
 
1579
1573
  /***/ }),
1580
1574
 
@@ -1589,18 +1583,18 @@ module.exports = {"root":"eg9Ko","background":"_2czOO","margin-24":"_2QGHn","mar
1589
1583
 
1590
1584
  Object.defineProperty(exports, "__esModule", { value: true });
1591
1585
  exports.Panel = void 0;
1592
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1593
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1594
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1586
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1587
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1588
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1595
1589
  __webpack_require__(/*! ../../../assets/styles/variables/layout/panel.scss */ "./assets/styles/variables/layout/panel.scss");
1596
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Panel.scss */ "./components/layout/FlexItems/Panel.scss"));
1597
- exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (props) { return [
1590
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Panel.scss */ "./components/layout/FlexItems/Panel.scss"));
1591
+ exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, props => [
1598
1592
  'panel-vars',
1599
1593
  css.root,
1600
1594
  props.shadow && css.shadow,
1601
1595
  props.background && css.background,
1602
1596
  props.margin && css['margin-' + props.margin],
1603
- ]; });
1597
+ ]);
1604
1598
 
1605
1599
 
1606
1600
  /***/ }),
@@ -1615,7 +1609,7 @@ exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (prop
1615
1609
  "use strict";
1616
1610
 
1617
1611
  Object.defineProperty(exports, "__esModule", { value: true });
1618
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1612
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1619
1613
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexCell */ "./components/layout/FlexItems/FlexCell.tsx"), exports);
1620
1614
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexRow */ "./components/layout/FlexItems/FlexRow.tsx"), exports);
1621
1615
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexSpacer */ "./components/layout/FlexItems/FlexSpacer.tsx"), exports);
@@ -1632,7 +1626,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
1632
1626
  /***/ (function(module, exports, __webpack_require__) {
1633
1627
 
1634
1628
  // extracted by mini-css-extract-plugin
1635
- module.exports = {"root":"n38C-"};
1629
+ module.exports = {"root":"hcfIC"};
1636
1630
 
1637
1631
  /***/ }),
1638
1632
 
@@ -1647,19 +1641,19 @@ module.exports = {"root":"n38C-"};
1647
1641
 
1648
1642
  Object.defineProperty(exports, "__esModule", { value: true });
1649
1643
  exports.IconContainer = exports.applyIconContainerMods = void 0;
1650
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1651
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1652
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1653
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconContainer.scss */ "./components/layout/IconContainer.scss"));
1644
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1645
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1646
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1647
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconContainer.scss */ "./components/layout/IconContainer.scss"));
1654
1648
  __webpack_require__(/*! ../../assets/styles/variables/layout/iconContainer.scss */ "./assets/styles/variables/layout/iconContainer.scss");
1655
1649
  function applyIconContainerMods(mods) {
1656
1650
  return [
1657
- "icon-container-color-".concat(mods.color || 'default'),
1651
+ `icon-container-color-${mods.color || 'default'}`,
1658
1652
  css.root,
1659
1653
  ];
1660
1654
  }
1661
1655
  exports.applyIconContainerMods = applyIconContainerMods;
1662
- exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer, applyIconContainerMods, function () { return ({ tabIndex: 0 }); });
1656
+ exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer, applyIconContainerMods, () => ({ tabIndex: 0 }));
1663
1657
 
1664
1658
 
1665
1659
  /***/ }),
@@ -1672,7 +1666,7 @@ exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer,
1672
1666
  /***/ (function(module, exports, __webpack_require__) {
1673
1667
 
1674
1668
  // extracted by mini-css-extract-plugin
1675
- module.exports = {"root":"_1o08q","size-24":"_3k7h1","size24":"_3k7h1","size-30":"_2GFqU","size30":"_2GFqU","size-36":"_1dFB8","size36":"_1dFB8","size-42":"_1iuIE","size42":"_1iuIE","size-48":"jk2P7","size48":"jk2P7"};
1669
+ module.exports = {"root":"_3gVoD","size-24":"ljpPn","size24":"ljpPn","size-30":"_1bmSl","size30":"_1bmSl","size-36":"_2AioQ","size36":"_2AioQ","size-42":"_2_1nA","size42":"_2_1nA","size-48":"_3qfJF","size48":"_3qfJF"};
1676
1670
 
1677
1671
  /***/ }),
1678
1672
 
@@ -1687,14 +1681,14 @@ module.exports = {"root":"_1o08q","size-24":"_3k7h1","size24":"_3k7h1","size-30"
1687
1681
 
1688
1682
  Object.defineProperty(exports, "__esModule", { value: true });
1689
1683
  exports.LabeledInput = void 0;
1690
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1691
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1692
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1693
- var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
1694
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1684
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1685
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1686
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1687
+ const overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
1688
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1695
1689
  __webpack_require__(/*! ../../assets/styles/variables/layout/labeledInput.scss */ "./assets/styles/variables/layout/labeledInput.scss");
1696
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LabeledInput.scss */ "./components/layout/LabeledInput.scss"));
1697
- var defaultSize = '36';
1690
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LabeledInput.scss */ "./components/layout/LabeledInput.scss"));
1691
+ const defaultSize = '36';
1698
1692
  function applyLabeledInputMods(mods) {
1699
1693
  return [
1700
1694
  'labeled-input-vars',
@@ -1702,10 +1696,10 @@ function applyLabeledInputMods(mods) {
1702
1696
  css['size-' + (mods.size || defaultSize)],
1703
1697
  ];
1704
1698
  }
1705
- exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, applyLabeledInputMods, function (props) { return ({
1699
+ exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, applyLabeledInputMods, (props) => ({
1706
1700
  Tooltip: overlays_1.Tooltip,
1707
1701
  infoIcon: icons_1.systemIcons[props.size || defaultSize].help,
1708
- }); });
1702
+ }));
1709
1703
 
1710
1704
 
1711
1705
  /***/ }),
@@ -1718,7 +1712,7 @@ exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, a
1718
1712
  /***/ (function(module, exports, __webpack_require__) {
1719
1713
 
1720
1714
  // extracted by mini-css-extract-plugin
1721
- module.exports = {"root":"_1LC35"};
1715
+ module.exports = {"root":"yt9Rp"};
1722
1716
 
1723
1717
  /***/ }),
1724
1718
 
@@ -1733,12 +1727,12 @@ module.exports = {"root":"_1LC35"};
1733
1727
 
1734
1728
  Object.defineProperty(exports, "__esModule", { value: true });
1735
1729
  exports.RadioGroup = void 0;
1736
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1737
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1738
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1739
- var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
1740
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioGroup.scss */ "./components/layout/RadioGroup.scss"));
1741
- exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, function () { return [css.root]; }, function () { return ({ RadioInput: inputs_1.RadioInput }); });
1730
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1731
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1732
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1733
+ const inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
1734
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioGroup.scss */ "./components/layout/RadioGroup.scss"));
1735
+ exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, () => [css.root], () => ({ RadioInput: inputs_1.RadioInput }));
1742
1736
 
1743
1737
 
1744
1738
  /***/ }),
@@ -1765,8 +1759,8 @@ exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, funct
1765
1759
 
1766
1760
  Object.defineProperty(exports, "__esModule", { value: true });
1767
1761
  exports.ScrollBars = void 0;
1768
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1769
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1762
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1763
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1770
1764
  __webpack_require__(/*! ./ScrollBars.scss */ "./components/layout/ScrollBars.scss");
1771
1765
  __webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
1772
1766
  function applyScrollBarsMods() {
@@ -1801,8 +1795,8 @@ exports.ScrollBars = (0, uui_core_1.withMods)(uui_components_1.ScrollBars, apply
1801
1795
 
1802
1796
  Object.defineProperty(exports, "__esModule", { value: true });
1803
1797
  exports.VirtualList = void 0;
1804
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1805
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1798
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1799
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1806
1800
  __webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
1807
1801
  __webpack_require__(/*! ./VirtualList.scss */ "./components/layout/VirtualList.scss");
1808
1802
  function applyVirtualListMods() {
@@ -1825,7 +1819,7 @@ exports.VirtualList = (0, uui_core_1.withMods)(uui_components_1.VirtualList, app
1825
1819
  "use strict";
1826
1820
 
1827
1821
  Object.defineProperty(exports, "__esModule", { value: true });
1828
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1822
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1829
1823
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Accordion */ "./components/layout/Accordion.tsx"), exports);
1830
1824
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./ControlGroup */ "./components/layout/ControlGroup.tsx"), exports);
1831
1825
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexItems */ "./components/layout/FlexItems/index.ts"), exports);
@@ -1849,19 +1843,14 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
1849
1843
 
1850
1844
  Object.defineProperty(exports, "__esModule", { value: true });
1851
1845
  exports.Dropdown = void 0;
1852
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1853
- var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
1854
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1855
- var Dropdown = /** @class */ (function (_super) {
1856
- (0, tslib_1.__extends)(Dropdown, _super);
1857
- function Dropdown() {
1858
- return _super !== null && _super.apply(this, arguments) || this;
1846
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1847
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
1848
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1849
+ class Dropdown extends React.Component {
1850
+ render() {
1851
+ return (React.createElement(uui_components_1.Dropdown, Object.assign({}, this.props)));
1859
1852
  }
1860
- Dropdown.prototype.render = function () {
1861
- return (React.createElement(uui_components_1.Dropdown, (0, tslib_1.__assign)({}, this.props)));
1862
- };
1863
- return Dropdown;
1864
- }(React.Component));
1853
+ }
1865
1854
  exports.Dropdown = Dropdown;
1866
1855
 
1867
1856
 
@@ -1875,7 +1864,7 @@ exports.Dropdown = Dropdown;
1875
1864
  /***/ (function(module, exports, __webpack_require__) {
1876
1865
 
1877
1866
  // extracted by mini-css-extract-plugin
1878
- module.exports = {"root":"_3rKzq"};
1867
+ module.exports = {"root":"_12KAn"};
1879
1868
 
1880
1869
  /***/ }),
1881
1870
 
@@ -1890,11 +1879,11 @@ module.exports = {"root":"_3rKzq"};
1890
1879
 
1891
1880
  Object.defineProperty(exports, "__esModule", { value: true });
1892
1881
  exports.DropdownContainer = void 0;
1893
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1894
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1895
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1882
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1883
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1884
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1896
1885
  __webpack_require__(/*! ../../assets/styles/variables/overlays/dropdownContainer.scss */ "./assets/styles/variables/overlays/dropdownContainer.scss");
1897
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownContainer.scss */ "./components/overlays/DropdownContainer.scss"));
1886
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownContainer.scss */ "./components/overlays/DropdownContainer.scss"));
1898
1887
  function applyDropdownContainerMods(mods) {
1899
1888
  return [
1900
1889
  'dropdown-container-vars',
@@ -1914,7 +1903,7 @@ exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownCo
1914
1903
  /***/ (function(module, exports, __webpack_require__) {
1915
1904
 
1916
1905
  // extracted by mini-css-extract-plugin
1917
- module.exports = {"menuRoot":"_1cKME","bodyRoot":"RjL0v","submenuRootItem":"_30CI3","iconAfter":"hdQTX","iconCheck":"_2bV5g","splitterRoot":"_2JkYN","splitter":"_1_NBL","headerRoot":"_1ntQf","itemRoot":"s1H4x","icon":"_1EjVl","link":"bonze"};
1906
+ module.exports = {"menuRoot":"_1kaKY","bodyRoot":"_50vbN","submenuRootItem":"_3Ckfl","iconAfter":"XjoLb","iconCheck":"_3WdoH","splitterRoot":"_1cFMw","splitter":"_2OUEu","headerRoot":"_1qyI5","itemRoot":"cxf47","icon":"_29AH7","link":"_3KzBV"};
1918
1907
 
1919
1908
  /***/ }),
1920
1909
 
@@ -1929,15 +1918,15 @@ module.exports = {"menuRoot":"_1cKME","bodyRoot":"RjL0v","submenuRootItem":"_30C
1929
1918
 
1930
1919
  Object.defineProperty(exports, "__esModule", { value: true });
1931
1920
  exports.DropdownMenuSwitchButton = exports.DropdownSubMenu = exports.DropdownMenuHeader = exports.DropdownMenuSplitter = exports.DropdownMenuButton = exports.DropdownMenuBody = exports.DropdownControlKeys = void 0;
1932
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1933
- var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
1934
- var react_focus_lock_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react-focus-lock */ "react-focus-lock"));
1935
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1936
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1937
- var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
1938
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1939
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownMenu.scss */ "./components/overlays/DropdownMenu.scss"));
1940
- var icons = icons_1.systemIcons['36'];
1921
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
1922
+ const react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
1923
+ const react_focus_lock_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react-focus-lock */ "react-focus-lock"));
1924
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
1925
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
1926
+ const inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
1927
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
1928
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownMenu.scss */ "./components/overlays/DropdownMenu.scss"));
1929
+ const icons = icons_1.systemIcons['36'];
1941
1930
  exports.DropdownControlKeys = {
1942
1931
  ENTER: 'Enter',
1943
1932
  ESCAPE: 'Escape',
@@ -1946,23 +1935,23 @@ exports.DropdownControlKeys = {
1946
1935
  UP_ARROW: 'ArrowUp',
1947
1936
  DOWN_ARROW: 'ArrowDown',
1948
1937
  };
1949
- var DropdownMenuContainer = function (props) {
1950
- var menuRef = (0, react_1.useRef)(null);
1951
- var _a = (0, react_1.useState)(-1), currentlyFocused = _a[0], setFocused = _a[1];
1952
- var menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll("[role=\"menuitem\"]:not(.".concat(uui_core_1.uuiMod.disabled, ")"))) : [];
1953
- (0, react_1.useEffect)(function () {
1938
+ const DropdownMenuContainer = (props) => {
1939
+ const menuRef = (0, react_1.useRef)(null);
1940
+ const [currentlyFocused, setFocused] = (0, react_1.useState)(-1);
1941
+ const menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll(`[role="menuitem"]:not(.${uui_core_1.uuiMod.disabled})`)) : [];
1942
+ (0, react_1.useEffect)(() => {
1954
1943
  var _a;
1955
1944
  (_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.focus();
1956
1945
  }, [menuRef.current]);
1957
- var changeFocus = function (nextFocusedIndex) {
1946
+ const changeFocus = (nextFocusedIndex) => {
1958
1947
  if (menuItems.length > 0) {
1959
1948
  setFocused(nextFocusedIndex);
1960
1949
  menuItems[nextFocusedIndex].focus();
1961
1950
  }
1962
1951
  };
1963
- var handleArrowKeys = function (e) {
1952
+ const handleArrowKeys = (e) => {
1964
1953
  e.stopPropagation();
1965
- var lastMenuItemsIndex = menuItems.length - 1;
1954
+ const lastMenuItemsIndex = menuItems.length - 1;
1966
1955
  if (e.key === exports.DropdownControlKeys.UP_ARROW) {
1967
1956
  changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
1968
1957
  }
@@ -1974,22 +1963,19 @@ var DropdownMenuContainer = function (props) {
1974
1963
  }
1975
1964
  };
1976
1965
  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 } },
1977
- react_1.default.createElement(uui_components_1.DropdownContainer, (0, tslib_1.__assign)({}, props, { rawProps: { tabIndex: -1 } }))));
1966
+ react_1.default.createElement(uui_components_1.DropdownContainer, Object.assign({}, props, { rawProps: { tabIndex: -1 } }))));
1978
1967
  };
1979
- exports.DropdownMenuBody = (0, uui_core_1.withMods)(DropdownMenuContainer, function () { return [css.bodyRoot]; }, function (_a) {
1980
- var style = _a.style;
1981
- return ({ style: style });
1982
- });
1983
- var DropdownMenuButton = function (props) {
1984
- var context = (0, react_1.useContext)(uui_core_1.UuiContext);
1985
- 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;
1986
- var handleClick = function (event) {
1968
+ exports.DropdownMenuBody = (0, uui_core_1.withMods)(DropdownMenuContainer, () => [css.bodyRoot], ({ style }) => ({ style }));
1969
+ const DropdownMenuButton = (props) => {
1970
+ const context = (0, react_1.useContext)(uui_core_1.UuiContext);
1971
+ const { icon, iconPosition, caption, isDisabled, isSelected, link, href, onClick, toggleDropdownOpening, isDropdown, } = props;
1972
+ const handleClick = (event) => {
1987
1973
  if (isDisabled || !onClick)
1988
1974
  return;
1989
1975
  onClick(event);
1990
1976
  context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
1991
1977
  };
1992
- var handleOpenDropdown = function (event) {
1978
+ const handleOpenDropdown = (event) => {
1993
1979
  if (event.key === exports.DropdownControlKeys.RIGHT_ARROW && isDropdown) {
1994
1980
  toggleDropdownOpening(true);
1995
1981
  }
@@ -1997,10 +1983,10 @@ var DropdownMenuButton = function (props) {
1997
1983
  onClick(event);
1998
1984
  }
1999
1985
  };
2000
- var getMenuButtonContent = function () {
2001
- var isIconBefore = Boolean(icon && iconPosition !== "right");
2002
- var isIconAfter = Boolean(icon && iconPosition === "right");
2003
- 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) });
1986
+ const getMenuButtonContent = () => {
1987
+ const isIconBefore = Boolean(icon && iconPosition !== "right");
1988
+ const isIconAfter = Boolean(icon && iconPosition === "right");
1989
+ const 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) });
2004
1990
  return react_1.default.createElement(react_1.default.Fragment, null,
2005
1991
  isIconBefore && iconElement,
2006
1992
  react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
@@ -2008,8 +1994,8 @@ var DropdownMenuButton = function (props) {
2008
1994
  react_1.default.createElement(uui_components_1.FlexSpacer, null),
2009
1995
  iconElement));
2010
1996
  };
2011
- var isAnchor = Boolean(link || href);
2012
- var itemClassNames = (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled, isSelected && uui_core_1.uuiMod.selected);
1997
+ const isAnchor = Boolean(link || href);
1998
+ const itemClassNames = (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled, isSelected && uui_core_1.uuiMod.selected);
2013
1999
  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: {
2014
2000
  tabIndex: isDisabled ? -1 : 0,
2015
2001
  role: 'menuitem',
@@ -2018,34 +2004,31 @@ var DropdownMenuButton = function (props) {
2018
2004
  };
2019
2005
  exports.DropdownMenuButton = DropdownMenuButton;
2020
2006
  exports.DropdownMenuButton.displayName = 'DropdownMenuButton';
2021
- var DropdownMenuSplitter = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.splitterRoot) },
2022
- react_1.default.createElement("hr", { className: css.splitter }))); };
2007
+ const DropdownMenuSplitter = (props) => (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.splitterRoot) },
2008
+ react_1.default.createElement("hr", { className: css.splitter })));
2023
2009
  exports.DropdownMenuSplitter = DropdownMenuSplitter;
2024
- var DropdownMenuHeader = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.headerRoot) },
2025
- react_1.default.createElement("span", { className: css.header }, props.caption))); };
2010
+ const DropdownMenuHeader = (props) => (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.headerRoot) },
2011
+ react_1.default.createElement("span", { className: css.header }, props.caption)));
2026
2012
  exports.DropdownMenuHeader = DropdownMenuHeader;
2027
- var DropdownSubMenu = function (props) {
2028
- return (react_1.default.createElement(uui_components_1.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", placement: "right-start", renderBody: function (props) { return (react_1.default.createElement(exports.DropdownMenuBody, (0, tslib_1.__assign)({ closeOnKey: exports.DropdownControlKeys.LEFT_ARROW }, props))); }, renderTarget: function (_a) {
2029
- var toggleDropdownOpening = _a.toggleDropdownOpening;
2030
- 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)));
2031
- } }));
2013
+ const DropdownSubMenu = (props) => {
2014
+ return (react_1.default.createElement(uui_components_1.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", placement: "right-start", renderBody: (props) => (react_1.default.createElement(exports.DropdownMenuBody, Object.assign({ closeOnKey: exports.DropdownControlKeys.LEFT_ARROW }, props))), renderTarget: ({ toggleDropdownOpening }) => (react_1.default.createElement(exports.DropdownMenuButton, Object.assign({ cx: (0, uui_core_1.cx)(css.submenuRootItem), icon: icons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props))) }));
2032
2015
  };
2033
2016
  exports.DropdownSubMenu = DropdownSubMenu;
2034
- var DropdownMenuSwitchButton = function (props) {
2035
- var context = (0, react_1.useContext)(uui_core_1.UuiContext);
2036
- var icon = props.icon, caption = props.caption, isDisabled = props.isDisabled, isSelected = props.isSelected, onValueChange = props.onValueChange;
2037
- var onHandleValueChange = function (value) {
2017
+ const DropdownMenuSwitchButton = (props) => {
2018
+ const context = (0, react_1.useContext)(uui_core_1.UuiContext);
2019
+ const { icon, caption, isDisabled, isSelected, onValueChange, } = props;
2020
+ const onHandleValueChange = (value) => {
2038
2021
  if (isDisabled || !onValueChange)
2039
2022
  return;
2040
2023
  onValueChange(value);
2041
2024
  context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
2042
2025
  };
2043
- var handleKeySelect = function (e) {
2026
+ const handleKeySelect = (e) => {
2044
2027
  if (e.key === exports.DropdownControlKeys.ENTER) {
2045
2028
  onHandleValueChange(!isSelected);
2046
2029
  }
2047
2030
  };
2048
- 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 } },
2031
+ 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: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
2049
2032
  icon && react_1.default.createElement(uui_components_1.IconContainer, { icon: icon, cx: css.iconBefore }),
2050
2033
  react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
2051
2034
  react_1.default.createElement(uui_components_1.FlexSpacer, null),
@@ -2064,7 +2047,7 @@ exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
2064
2047
  /***/ (function(module, exports, __webpack_require__) {
2065
2048
 
2066
2049
  // extracted by mini-css-extract-plugin
2067
- module.exports = {"modal-blocker":"_2bjua","modalBlocker":"_2bjua","animateModalBlocker":"_2KKMj","blocker-overlay":"_3RTPh","blockerOverlay":"_3RTPh","modal":"_1l2HE","modal-footer":"ljwt1","modalFooter":"ljwt1","border-top":"_37BTe","borderTop":"_37BTe","modal-header":"_1xkBk","modalHeader":"_1xkBk"};
2050
+ module.exports = {"modal-blocker":"_1dxbf","modalBlocker":"_1dxbf","animateModalBlocker":"_3i_uu","blocker-overlay":"qKkgc","blockerOverlay":"qKkgc","modal":"_1XOdL","modal-footer":"_3oDUu","modalFooter":"_3oDUu","border-top":"_11lF_","borderTop":"_11lF_","modal-header":"Jc6LZ","modalHeader":"Jc6LZ"};
2068
2051
 
2069
2052
  /***/ }),
2070
2053
 
@@ -2079,54 +2062,44 @@ module.exports = {"modal-blocker":"_2bjua","modalBlocker":"_2bjua","animateModal
2079
2062
 
2080
2063
  Object.defineProperty(exports, "__esModule", { value: true });
2081
2064
  exports.ModalFooter = exports.ModalHeader = exports.ModalWindow = exports.ModalBlocker = void 0;
2082
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2083
- var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
2084
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2085
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2086
- var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
2087
- var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2088
- var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2089
- var navigation_close_24_svg_1 = __webpack_require__(/*! ../../icons/navigation-close-24.svg */ "./icons/navigation-close-24.svg");
2065
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2066
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
2067
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2068
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2069
+ const layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
2070
+ const buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2071
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2072
+ const navigation_close_24_svg_1 = __webpack_require__(/*! ../../icons/navigation-close-24.svg */ "./icons/navigation-close-24.svg");
2090
2073
  __webpack_require__(/*! ../../assets/styles/variables/overlays/modals.scss */ "./assets/styles/variables/overlays/modals.scss");
2091
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Modals.scss */ "./components/overlays/Modals.scss"));
2092
- exports.ModalBlocker = (0, uui_core_1.withMods)(uui_components_1.ModalBlocker, function (mods) { return [
2074
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Modals.scss */ "./components/overlays/Modals.scss"));
2075
+ exports.ModalBlocker = (0, uui_core_1.withMods)(uui_components_1.ModalBlocker, mods => [
2093
2076
  'modals-vars',
2094
2077
  css.modalBlocker,
2095
2078
  mods.overlay && css['blocker-overlay'],
2096
- ]; });
2097
- exports.ModalWindow = (0, uui_core_1.withMods)(uui_components_1.ModalWindow, function () { return ['modals-vars', css.modal]; }, function (props) { return ({ rawProps: {
2079
+ ]);
2080
+ exports.ModalWindow = (0, uui_core_1.withMods)(uui_components_1.ModalWindow, () => ['modals-vars', css.modal], props => ({ rawProps: {
2098
2081
  style: {
2099
- width: "".concat(props.width || 480, "px"),
2100
- height: props.height ? "".concat(props.height, "px") : '',
2082
+ width: `${props.width || 480}px`,
2083
+ height: props.height ? `${props.height}px` : '',
2101
2084
  },
2102
2085
  },
2103
- }); });
2104
- var ModalHeader = /** @class */ (function (_super) {
2105
- (0, tslib_1.__extends)(ModalHeader, _super);
2106
- function ModalHeader() {
2107
- return _super !== null && _super.apply(this, arguments) || this;
2108
- }
2109
- ModalHeader.prototype.render = function () {
2086
+ }));
2087
+ class ModalHeader extends React.Component {
2088
+ render() {
2110
2089
  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 },
2111
2090
  this.props.title && React.createElement(typography_1.Text, { size: '48', fontSize: '18', font: 'semibold' }, this.props.title),
2112
2091
  this.props.children,
2113
2092
  this.props.onClose && React.createElement(layout_1.FlexSpacer, null),
2114
2093
  this.props.onClose && React.createElement(layout_1.FlexCell, { shrink: 0, width: 'auto' },
2115
2094
  React.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: this.props.onClose }))));
2116
- };
2117
- return ModalHeader;
2118
- }(React.Component));
2119
- exports.ModalHeader = ModalHeader;
2120
- var ModalFooter = /** @class */ (function (_super) {
2121
- (0, tslib_1.__extends)(ModalFooter, _super);
2122
- function ModalFooter() {
2123
- return _super !== null && _super.apply(this, arguments) || this;
2124
2095
  }
2125
- ModalFooter.prototype.render = function () {
2096
+ }
2097
+ exports.ModalHeader = ModalHeader;
2098
+ class ModalFooter extends React.Component {
2099
+ render() {
2126
2100
  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));
2127
- };
2128
- return ModalFooter;
2129
- }(React.Component));
2101
+ }
2102
+ }
2130
2103
  exports.ModalFooter = ModalFooter;
2131
2104
 
2132
2105
 
@@ -2140,7 +2113,7 @@ exports.ModalFooter = ModalFooter;
2140
2113
  /***/ (function(module, exports, __webpack_require__) {
2141
2114
 
2142
2115
  // extracted by mini-css-extract-plugin
2143
- module.exports = {"root":"_1LCgx","icon-wrapper":"_32Nj1","iconWrapper":"_32Nj1","notification-wrapper":"IkcLn","notificationWrapper":"IkcLn","action-wrapper":"_24m6L","actionWrapper":"_24m6L","action-link":"_1FPZp","actionLink":"_1FPZp","close-icon":"_2EMgT","closeIcon":"_2EMgT","main-path":"hOr0z","mainPath":"hOr0z","content":"_25c23","clear-button":"_1SXPS","clearButton":"_1SXPS","close-wrapper":"_3OIwR","closeWrapper":"_3OIwR"};
2116
+ module.exports = {"root":"yy2Bh","icon-wrapper":"_1uJTA","iconWrapper":"_1uJTA","notification-wrapper":"_2M3nj","notificationWrapper":"_2M3nj","action-wrapper":"DaFjO","actionWrapper":"DaFjO","action-link":"_54AYd","actionLink":"_54AYd","close-icon":"JH85Y","closeIcon":"JH85Y","main-path":"np8Mh","mainPath":"np8Mh","content":"_8yero","clear-button":"_2h-Mh","clearButton":"_2h-Mh","close-wrapper":"_1ij9O","closeWrapper":"_1ij9O"};
2144
2117
 
2145
2118
  /***/ }),
2146
2119
 
@@ -2155,84 +2128,66 @@ module.exports = {"root":"_1LCgx","icon-wrapper":"_32Nj1","iconWrapper":"_32Nj1"
2155
2128
 
2156
2129
  Object.defineProperty(exports, "__esModule", { value: true });
2157
2130
  exports.ClearNotification = exports.ErrorNotification = exports.HintNotification = exports.SuccessNotification = exports.WarningNotification = exports.NotificationCard = void 0;
2158
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2159
- var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2160
- var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
2161
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2162
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2163
- var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2164
- var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
2165
- var notification_check_circle_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-check_circle-fill-24.svg */ "./icons/notification-check_circle-fill-24.svg");
2166
- var notification_warning_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-warning-fill-24.svg */ "./icons/notification-warning-fill-24.svg");
2167
- var notification_error_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-error-fill-24.svg */ "./icons/notification-error-fill-24.svg");
2168
- var notification_help_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-help-fill-24.svg */ "./icons/notification-help-fill-24.svg");
2169
- var cross_svg_1 = __webpack_require__(/*! ../../icons/snackbar/cross.svg */ "./icons/snackbar/cross.svg");
2131
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2132
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2133
+ const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
2134
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2135
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2136
+ const buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2137
+ const i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
2138
+ const notification_check_circle_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-check_circle-fill-24.svg */ "./icons/notification-check_circle-fill-24.svg");
2139
+ const notification_warning_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-warning-fill-24.svg */ "./icons/notification-warning-fill-24.svg");
2140
+ const notification_error_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-error-fill-24.svg */ "./icons/notification-error-fill-24.svg");
2141
+ const notification_help_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-help-fill-24.svg */ "./icons/notification-help-fill-24.svg");
2142
+ const cross_svg_1 = __webpack_require__(/*! ../../icons/snackbar/cross.svg */ "./icons/snackbar/cross.svg");
2170
2143
  __webpack_require__(/*! ../../assets/styles/variables/overlays/notificationCard.scss */ "./assets/styles/variables/overlays/notificationCard.scss");
2171
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./NotificationCard.scss */ "./components/overlays/NotificationCard.scss"));
2172
- var NotificationCard = /** @class */ (function (_super) {
2173
- (0, tslib_1.__extends)(NotificationCard, _super);
2174
- function NotificationCard() {
2175
- var _this = _super !== null && _super.apply(this, arguments) || this;
2176
- _this.notificationCardNode = null;
2177
- return _this;
2144
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./NotificationCard.scss */ "./components/overlays/NotificationCard.scss"));
2145
+ class NotificationCard extends react_1.default.Component {
2146
+ constructor() {
2147
+ super(...arguments);
2148
+ this.notificationCardNode = null;
2178
2149
  }
2179
- NotificationCard.prototype.componentDidMount = function () {
2150
+ componentDidMount() {
2180
2151
  var _a, _b;
2181
2152
  (_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseenter', this.props.clearTimer);
2182
2153
  (_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.addEventListener('mouseleave', this.props.refreshTimer);
2183
- };
2184
- NotificationCard.prototype.componentWillUnmount = function () {
2154
+ }
2155
+ componentWillUnmount() {
2185
2156
  var _a, _b;
2186
2157
  (_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseenter', this.props.clearTimer);
2187
2158
  (_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', this.props.refreshTimer);
2188
- };
2189
- NotificationCard.prototype.render = function () {
2190
- var _this = this;
2191
- 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; } },
2159
+ }
2160
+ render() {
2161
+ return (react_1.default.createElement("div", { role: 'alert', className: (0, classnames_1.default)(css.notificationWrapper, 'notification-card-vars', `notification-card-color-${this.props.color}`, css.root, this.props.cx), ref: (el) => this.notificationCardNode = el },
2192
2162
  react_1.default.createElement("div", { className: css.mainPath },
2193
2163
  this.props.icon && react_1.default.createElement("div", { className: css.iconWrapper },
2194
2164
  react_1.default.createElement(uui_components_1.IconContainer, { icon: this.props.icon, cx: css.actionIcon })),
2195
2165
  react_1.default.createElement("div", { className: css.content },
2196
2166
  this.props.children,
2197
- this.props.actions && react_1.default.createElement("div", { className: css.actionWrapper }, this.props.actions.map(function (action) {
2167
+ this.props.actions && react_1.default.createElement("div", { className: css.actionWrapper }, this.props.actions.map((action) => {
2198
2168
  return react_1.default.createElement(buttons_1.LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css.actionLink, size: '36' });
2199
2169
  }))),
2200
2170
  this.props.onClose && react_1.default.createElement("div", { className: css.closeWrapper },
2201
2171
  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));
2172
+ }
2173
+ }
2205
2174
  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
- };
2175
+ const WarningNotification = (props) => react_1.default.createElement(NotificationCard, Object.assign({ icon: notification_warning_fill_24_svg_1.ReactComponent, color: 'warning' }, props, { cx: (0, classnames_1.default)(props.cx) }));
2209
2176
  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
- };
2177
+ const SuccessNotification = (props) => react_1.default.createElement(NotificationCard, Object.assign({ icon: notification_check_circle_fill_24_svg_1.ReactComponent, color: 'success' }, props, { cx: (0, classnames_1.default)(props.cx) }));
2213
2178
  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
- };
2179
+ const HintNotification = (props) => react_1.default.createElement(NotificationCard, Object.assign({ icon: notification_help_fill_24_svg_1.ReactComponent, color: 'info' }, props, { cx: (0, classnames_1.default)(props.cx) }));
2217
2180
  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
- };
2181
+ const ErrorNotification = (props) => react_1.default.createElement(NotificationCard, Object.assign({ icon: notification_error_fill_24_svg_1.ReactComponent, color: 'error' }, props, { cx: (0, classnames_1.default)(props.cx) }));
2221
2182
  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;
2183
+ class ClearNotification extends react_1.default.Component {
2184
+ render() {
2229
2185
  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));
2186
+ react_1.default.createElement(buttons_1.LinkButton, { caption: i18n_1.i18n.notificationCard.closeAllNotificationsButton, onClick: () => this.context.uuiNotifications.clearAll() }));
2187
+ }
2188
+ }
2235
2189
  exports.ClearNotification = ClearNotification;
2190
+ ClearNotification.contextType = uui_core_1.UuiContext;
2236
2191
 
2237
2192
 
2238
2193
  /***/ }),
@@ -2245,7 +2200,7 @@ exports.ClearNotification = ClearNotification;
2245
2200
  /***/ (function(module, exports, __webpack_require__) {
2246
2201
 
2247
2202
  // extracted by mini-css-extract-plugin
2248
- module.exports = {"root":"_126II"};
2203
+ module.exports = {"root":"_3kTSO"};
2249
2204
 
2250
2205
  /***/ }),
2251
2206
 
@@ -2260,11 +2215,11 @@ module.exports = {"root":"_126II"};
2260
2215
 
2261
2216
  Object.defineProperty(exports, "__esModule", { value: true });
2262
2217
  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");
2218
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2219
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2220
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2266
2221
  __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"));
2222
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tooltip.scss */ "./components/overlays/Tooltip.scss"));
2268
2223
  function applyTooltipMods(mods) {
2269
2224
  return [
2270
2225
  'tooltip-vars',
@@ -2286,7 +2241,7 @@ exports.Tooltip = (0, uui_core_1.withMods)(uui_components_1.Tooltip, applyToolti
2286
2241
  "use strict";
2287
2242
 
2288
2243
  Object.defineProperty(exports, "__esModule", { value: true });
2289
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2244
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2290
2245
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Dropdown */ "./components/overlays/Dropdown.tsx"), exports);
2291
2246
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownContainer */ "./components/overlays/DropdownContainer.tsx"), exports);
2292
2247
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownMenu */ "./components/overlays/DropdownMenu.tsx"), exports);
@@ -2305,7 +2260,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
2305
2260
  /***/ (function(module, exports, __webpack_require__) {
2306
2261
 
2307
2262
  // extracted by mini-css-extract-plugin
2308
- module.exports = {"body":"_3hgfx","modal":"_1RoQD","search":"_3FydJ","checkbox":"_2iVvy","search-wrapper":"_35j6Q","searchWrapper":"_35j6Q","search-size-24":"_3wo08","searchSize24":"_3wo08","search-size-30":"_2Li-h","searchSize30":"_2Li-h","search-size-36":"_3PEAC","searchSize36":"_3PEAC","search-size-42":"_3eSJ1","searchSize42":"_3eSJ1","no-found-size-24":"_1CU2T","noFoundSize24":"_1CU2T","no-found-size-30":"_2q3di","noFoundSize30":"_2q3di","no-found-size-36":"_1wY-U","noFoundSize36":"_1wY-U","no-found-size-42":"_1UXoJ","noFoundSize42":"_1UXoJ"};
2263
+ module.exports = {"body":"_2nY4Z","modal":"_2WAHF","search":"_2XFPq","checkbox":"_1Sef8","search-wrapper":"A8ngn","searchWrapper":"A8ngn","search-size-24":"_3lm5M","searchSize24":"_3lm5M","search-size-30":"_3Yfa0","searchSize30":"_3Yfa0","search-size-36":"dsjq0","searchSize36":"dsjq0","search-size-42":"_1ELBZ","searchSize42":"_1ELBZ","no-found-size-24":"W3g6g","noFoundSize24":"W3g6g","no-found-size-30":"_3pfQS","noFoundSize30":"_3pfQS","no-found-size-36":"_31SN_","noFoundSize36":"_31SN_","no-found-size-42":"_1B5jt","noFoundSize42":"_1B5jt"};
2309
2264
 
2310
2265
  /***/ }),
2311
2266
 
@@ -2320,44 +2275,41 @@ module.exports = {"body":"_3hgfx","modal":"_1RoQD","search":"_3FydJ","checkbox":
2320
2275
 
2321
2276
  Object.defineProperty(exports, "__esModule", { value: true });
2322
2277
  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;
2278
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2279
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2280
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2281
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2282
+ const inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
2283
+ const layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
2284
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2285
+ const i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
2286
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerBody.scss */ "./components/pickers/DataPickerBody.scss"));
2287
+ class DataPickerBody extends uui_components_1.PickerBodyBase {
2288
+ constructor() {
2289
+ super(...arguments);
2290
+ this.lens = uui_core_1.Lens.onEditableComponent(this);
2291
+ this.searchLens = this.lens.prop('search');
2339
2292
  }
2340
- DataPickerBody.prototype.renderNoFound = function () {
2293
+ renderNoFound() {
2341
2294
  if (this.props.renderNotFound) {
2342
2295
  return this.props.renderNotFound();
2343
2296
  }
2344
- return react_1.default.createElement(uui_components_1.FlexCell, { cx: css["no-found-size-".concat(this.props.searchSize || 36)], grow: 1, textAlign: 'center' },
2297
+ return react_1.default.createElement(uui_components_1.FlexCell, { cx: css[`no-found-size-${this.props.searchSize || 36}`], grow: 1, textAlign: 'center' },
2345
2298
  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)]);
2299
+ }
2300
+ render() {
2301
+ const value = this.props.value;
2302
+ const searchSize = (0, uui_core_1.isMobile)() ? '48' : (this.props.searchSize || '36');
2303
+ const searchClass = (0, uui_core_1.cx)(css.searchWrapper, css[`search-size-${searchSize}`]);
2351
2304
  return react_1.default.createElement(react_1.default.Fragment, null,
2352
2305
  this.showSearch() && (react_1.default.createElement("div", { key: 'search', className: searchClass },
2353
2306
  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 }))))),
2307
+ react_1.default.createElement(inputs_1.SearchInput, Object.assign({ cx: css.search, placeholder: i18n_1.i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize }))))),
2355
2308
  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 }))
2309
+ ? react_1.default.createElement(layout_1.VirtualList, Object.assign({}, this.lens.toProps(), { rows: this.props.rows, role: "listbox", rawProps: this.props.rawProps, rowsCount: this.props.rowsCount }))
2357
2310
  : this.renderNoFound()));
2358
- };
2359
- return DataPickerBody;
2360
- }(uui_components_1.PickerBodyBase));
2311
+ }
2312
+ }
2361
2313
  exports.DataPickerBody = DataPickerBody;
2362
2314
 
2363
2315
 
@@ -2371,7 +2323,7 @@ exports.DataPickerBody = DataPickerBody;
2371
2323
  /***/ (function(module, exports, __webpack_require__) {
2372
2324
 
2373
2325
  // extracted by mini-css-extract-plugin
2374
- module.exports = {"footer-wrapper":"_3PdLf","footerWrapper":"_3PdLf"};
2326
+ module.exports = {"footer-wrapper":"kp3uC","footerWrapper":"kp3uC"};
2375
2327
 
2376
2328
  /***/ }),
2377
2329
 
@@ -2386,27 +2338,27 @@ module.exports = {"footer-wrapper":"_3PdLf","footerWrapper":"_3PdLf"};
2386
2338
 
2387
2339
  Object.defineProperty(exports, "__esModule", { value: true });
2388
2340
  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 = {
2341
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2342
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2343
+ const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
2344
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2345
+ const i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
2346
+ const inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
2347
+ const layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
2348
+ const buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2349
+ const DataPickerFooter_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerFooter.scss */ "./components/pickers/DataPickerFooter.scss"));
2350
+ const switchSizes = {
2399
2351
  '24': '12',
2400
2352
  '36': '18',
2401
2353
  '42': '24',
2402
2354
  '48': '24',
2403
2355
  };
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) {
2356
+ const DataPickerFooterImpl = (props) => {
2357
+ const { clearSelection, view, showSelected } = props;
2358
+ const size = (0, uui_core_1.isMobile)() ? '48' : (props.size || '36');
2359
+ const switchSize = switchSizes[size];
2360
+ const hasSelection = view.getSelectedRows().length > 0;
2361
+ const handleKeyDown = (e) => {
2410
2362
  if (!e.shiftKey && e.key === 'Tab')
2411
2363
  e.preventDefault();
2412
2364
  };
@@ -2418,7 +2370,7 @@ var DataPickerFooterImpl = function (props) {
2418
2370
  ? i18n_1.i18n.pickerInput.clearSelectionButton
2419
2371
  : i18n_1.i18n.pickerInput.selectAllButton, onClick: hasSelection
2420
2372
  ? clearSelection
2421
- : function () { return view.selectAll.onValueChange(true); }, rawProps: { onKeyDown: handleKeyDown } })))));
2373
+ : () => view.selectAll.onValueChange(true), rawProps: { onKeyDown: handleKeyDown } })))));
2422
2374
  };
2423
2375
  exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
2424
2376
 
@@ -2433,7 +2385,7 @@ exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
2433
2385
  /***/ (function(module, exports, __webpack_require__) {
2434
2386
 
2435
2387
  // extracted by mini-css-extract-plugin
2436
- module.exports = {"header":"U_-k1","close":"-MNpi"};
2388
+ module.exports = {"header":"_1l2aP","close":"_27R0H"};
2437
2389
 
2438
2390
  /***/ }),
2439
2391
 
@@ -2448,18 +2400,18 @@ module.exports = {"header":"U_-k1","close":"-MNpi"};
2448
2400
 
2449
2401
  Object.defineProperty(exports, "__esModule", { value: true });
2450
2402
  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) : '';
2403
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2404
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2405
+ const DataPickerHeader_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerHeader.scss */ "./components/pickers/DataPickerHeader.scss"));
2406
+ const navigation_close_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/navigation-close-24.svg */ "../epam-assets/icons/common/navigation-close-24.svg");
2407
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2408
+ const buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2409
+ const layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
2410
+ const DataPickerHeaderImpl = props => {
2411
+ const title = props.title ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
2460
2412
  return (react_1.default.createElement(layout_1.FlexRow, { alignItems: 'center', borderBottom: true, size: "48", cx: DataPickerHeader_scss_1.default.header },
2461
2413
  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 })));
2414
+ react_1.default.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: DataPickerHeader_scss_1.default.close })));
2463
2415
  };
2464
2416
  exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
2465
2417
 
@@ -2474,7 +2426,7 @@ exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
2474
2426
  /***/ (function(module, exports, __webpack_require__) {
2475
2427
 
2476
2428
  // extracted by mini-css-extract-plugin
2477
- module.exports = {"render-item":"_2NacH","renderItem":"_2NacH","icon-wrapper":"_180RS","iconWrapper":"_180RS","picker-row":"_1GGpK","pickerRow":"_1GGpK"};
2429
+ module.exports = {"render-item":"_3t3FW","renderItem":"_3t3FW","icon-wrapper":"_3jtx8","iconWrapper":"_3jtx8","picker-row":"_2XDCz","pickerRow":"_2XDCz"};
2478
2430
 
2479
2431
  /***/ }),
2480
2432
 
@@ -2489,20 +2441,19 @@ module.exports = {"render-item":"_2NacH","renderItem":"_2NacH","icon-wrapper":"_
2489
2441
 
2490
2442
  Object.defineProperty(exports, "__esModule", { value: true });
2491
2443
  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) {
2444
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2445
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
2446
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2447
+ const layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
2448
+ const tables_1 = __webpack_require__(/*! ../tables */ "./components/tables/index.ts");
2449
+ const notification_done_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-24.svg */ "../epam-assets/icons/common/notification-done-24.svg");
2450
+ const notification_done_18_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-18.svg */ "../epam-assets/icons/common/notification-done-18.svg");
2451
+ const notification_done_12_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-12.svg */ "../epam-assets/icons/common/notification-done-12.svg");
2452
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerRow.scss */ "./components/pickers/DataPickerRow.scss"));
2453
+ class DataPickerRow extends React.Component {
2454
+ constructor() {
2455
+ super(...arguments);
2456
+ this.getIcon = (size) => {
2506
2457
  switch (size) {
2507
2458
  case '24': return notification_done_12_svg_1.ReactComponent;
2508
2459
  case '30': return notification_done_18_svg_1.ReactComponent;
@@ -2511,25 +2462,24 @@ var DataPickerRow = /** @class */ (function (_super) {
2511
2462
  default: return notification_done_18_svg_1.ReactComponent;
2512
2463
  }
2513
2464
  };
2514
- _this.column = {
2465
+ this.column = {
2515
2466
  key: 'name',
2516
2467
  grow: 1,
2517
- render: function (item, rowProps) { return React.createElement("div", { key: rowProps.id, className: css.renderItem },
2518
- _this.props.renderItem(item, rowProps),
2468
+ width: 0,
2469
+ render: (item, rowProps) => React.createElement("div", { key: rowProps.id, className: css.renderItem },
2470
+ this.props.renderItem(item, rowProps),
2519
2471
  React.createElement(layout_1.FlexSpacer, null),
2520
2472
  (rowProps.isChildrenSelected || rowProps.isSelected) && React.createElement("div", { className: css.iconWrapper },
2521
- React.createElement(layout_1.IconContainer, { icon: _this.getIcon(_this.props.size), color: rowProps.isChildrenSelected ? 'default' : 'info' }))); },
2473
+ React.createElement(layout_1.IconContainer, { icon: this.getIcon(this.props.size), color: rowProps.isChildrenSelected ? 'default' : 'info' }))),
2522
2474
  };
2523
- _this.renderContent = function () {
2524
- 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' });
2475
+ this.renderContent = () => {
2476
+ 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' });
2525
2477
  };
2526
- return _this;
2527
2478
  }
2528
- DataPickerRow.prototype.render = function () {
2529
- return React.createElement(uui_components_1.DataPickerRow, (0, tslib_1.__assign)({}, this.props, { cx: [css.pickerRow, this.props.cx], renderContent: this.renderContent }));
2530
- };
2531
- return DataPickerRow;
2532
- }(React.Component));
2479
+ render() {
2480
+ return React.createElement(uui_components_1.DataPickerRow, Object.assign({}, this.props, { cx: [css.pickerRow, this.props.cx], renderContent: this.renderContent }));
2481
+ }
2482
+ }
2533
2483
  exports.DataPickerRow = DataPickerRow;
2534
2484
 
2535
2485
 
@@ -2543,7 +2493,7 @@ exports.DataPickerRow = DataPickerRow;
2543
2493
  /***/ (function(module, exports, __webpack_require__) {
2544
2494
 
2545
2495
  // extracted by mini-css-extract-plugin
2546
- module.exports = {"done":"_3zsbx"};
2496
+ module.exports = {"done":"Tl49d"};
2547
2497
 
2548
2498
  /***/ }),
2549
2499
 
@@ -2558,19 +2508,19 @@ module.exports = {"done":"_3zsbx"};
2558
2508
 
2559
2509
  Object.defineProperty(exports, "__esModule", { value: true });
2560
2510
  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)();
2511
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2512
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2513
+ const MobileDropdownWrapper_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./MobileDropdownWrapper.scss */ "./components/pickers/MobileDropdownWrapper.scss"));
2514
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2515
+ const buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2516
+ const DataPickerHeader_1 = __webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx");
2517
+ const MobileDropdownWrapper = props => {
2518
+ const isVisible = (0, uui_core_1.isMobile)();
2569
2519
  (0, uui_core_1.useAppMobileHeight)();
2570
2520
  return (react_1.default.createElement(react_1.default.Fragment, null,
2571
2521
  isVisible && react_1.default.createElement(DataPickerHeader_1.DataPickerHeader, { title: props.title, close: props.close }),
2572
2522
  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' }))));
2523
+ isVisible && (react_1.default.createElement(buttons_1.LinkButton, { caption: 'DONE', onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: MobileDropdownWrapper_scss_1.default.done, size: '48' }))));
2574
2524
  };
2575
2525
  exports.MobileDropdownWrapper = MobileDropdownWrapper;
2576
2526
 
@@ -2585,7 +2535,7 @@ exports.MobileDropdownWrapper = MobileDropdownWrapper;
2585
2535
  /***/ (function(module, exports, __webpack_require__) {
2586
2536
 
2587
2537
  // extracted by mini-css-extract-plugin
2588
- module.exports = {"panel":"_1VHp1","footer-wrapper":"_3gAh8","footerWrapper":"_3gAh8","footer-size-24":"_3AGjB","footerSize24":"_3AGjB","footer-size-30":"heLzR","footerSize30":"heLzR","footer-size-36":"_2vnCR","footerSize36":"_2vnCR","footer-size-42":"_1TlXM","footerSize42":"_1TlXM","footer-size-48":"_1I-Gc","footerSize48":"_1I-Gc"};
2538
+ module.exports = {"panel":"BRJrB","footer-wrapper":"_35b2s","footerWrapper":"_35b2s","footer-size-24":"KD4ay","footerSize24":"KD4ay","footer-size-30":"_3aJ3E","footerSize30":"_3aJ3E","footer-size-36":"_1mt8Z","footerSize36":"_1mt8Z","footer-size-42":"ZHGOQ","footerSize42":"ZHGOQ","footer-size-48":"_2wqPV","footerSize48":"_2wqPV"};
2589
2539
 
2590
2540
  /***/ }),
2591
2541
 
@@ -2600,80 +2550,71 @@ module.exports = {"panel":"_1VHp1","footer-wrapper":"_3gAh8","footerWrapper":"_3
2600
2550
 
2601
2551
  Object.defineProperty(exports, "__esModule", { value: true });
2602
2552
  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));
2553
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2554
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2555
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2556
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2557
+ const PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
2558
+ const layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
2559
+ const PickerToggler_1 = __webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx");
2560
+ const DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
2561
+ const PickerItem_1 = __webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx");
2562
+ const DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
2563
+ const DataPickerFooter_1 = __webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx");
2564
+ const MobileDropdownWrapper_1 = __webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx");
2565
+ const types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
2566
+ const PickerInput_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerInput.scss */ "./components/pickers/PickerInput.scss"));
2567
+ const pickerHeight = 300;
2568
+ const pickerWidth = 360;
2569
+ class PickerInput extends uui_components_1.PickerInputBase {
2570
+ constructor() {
2571
+ super(...arguments);
2572
+ this.renderItem = (item, rowProps) => {
2573
+ return react_1.default.createElement(PickerItem_1.PickerItem, Object.assign({ title: this.getName(item), size: this.getRowSize() }, rowProps));
2625
2574
  };
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 })));
2575
+ this.renderRow = (rowProps) => {
2576
+ return this.props.renderRow ? this.props.renderRow(rowProps) : (react_1.default.createElement(DataPickerRow_1.DataPickerRow, Object.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
2577
  };
2632
- return _this;
2633
2578
  }
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 () {
2579
+ toggleModalOpening(opened) {
2580
+ const _a = this.props, { renderFooter } = _a, restProps = (0, tslib_1.__rest)(_a, ["renderFooter"]);
2581
+ this.context.uuiModals.show(props => react_1.default.createElement(PickerModal_1.PickerModal, Object.assign({}, restProps, props, { caption: this.getPlaceholder(), initialValue: this.props.value, renderRow: this.renderRow, selectionMode: this.props.selectionMode, valueType: this.props.valueType })))
2582
+ .then(newSelection => this.handleSelectionValueChange(newSelection))
2583
+ .catch(() => null);
2584
+ }
2585
+ getRowSize() {
2642
2586
  return (0, uui_core_1.isMobile)()
2643
2587
  ? '48'
2644
2588
  : this.props.editMode === 'modal'
2645
2589
  ? '36'
2646
2590
  : this.props.size;
2647
- };
2648
- PickerInput.prototype.getTogglerMods = function () {
2591
+ }
2592
+ getTogglerMods() {
2649
2593
  return {
2650
2594
  size: this.props.size,
2651
2595
  mode: this.props.mode ? this.props.mode : types_1.EditMode.FORM,
2652
2596
  };
2653
- };
2654
- PickerInput.prototype.renderFooter = function () {
2655
- var footerProps = this.getFooterProps();
2597
+ }
2598
+ renderFooter() {
2599
+ const footerProps = this.getFooterProps();
2656
2600
  return this.props.renderFooter
2657
2601
  ? 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);
2602
+ : react_1.default.createElement(DataPickerFooter_1.DataPickerFooter, Object.assign({}, footerProps, { size: this.props.size }));
2603
+ }
2604
+ renderTarget(targetProps) {
2605
+ const renderTarget = this.props.renderToggler || (props => react_1.default.createElement(PickerToggler_1.PickerToggler, Object.assign({}, props)));
2606
+ return (react_1.default.createElement(uui_core_1.IEditableDebouncer, { value: this.state.dataSourceState.search, onValueChange: this.handleTogglerSearchChange, render: editableProps => renderTarget(Object.assign(Object.assign(Object.assign({}, this.getTogglerMods()), targetProps), editableProps)) }));
2607
+ }
2608
+ renderBody(props, rows) {
2609
+ const renderedDataRows = rows.map((props) => this.renderRow(props));
2610
+ const maxHeight = (0, uui_core_1.isMobile)() ? document.documentElement.clientHeight : (this.props.dropdownHeight || pickerHeight);
2611
+ const minBodyWidth = (0, uui_core_1.isMobile)() ? document.documentElement.clientWidth : (this.props.minBodyWidth || pickerWidth);
2670
2612
  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' })),
2613
+ react_1.default.createElement(MobileDropdownWrapper_1.MobileDropdownWrapper, { title: this.props.entityName, close: () => this.toggleBodyOpening(false) },
2614
+ react_1.default.createElement(DataPickerBody_1.DataPickerBody, Object.assign({}, props, { rows: renderedDataRows, maxHeight: maxHeight, searchSize: this.props.size, editMode: 'dropdown' })),
2673
2615
  !this.isSingleSelect() && this.renderFooter())));
2674
- };
2675
- return PickerInput;
2676
- }(uui_components_1.PickerInputBase));
2616
+ }
2617
+ }
2677
2618
  exports.PickerInput = PickerInput;
2678
2619
 
2679
2620
 
@@ -2687,7 +2628,7 @@ exports.PickerInput = PickerInput;
2687
2628
  /***/ (function(module, exports, __webpack_require__) {
2688
2629
 
2689
2630
  // extracted by mini-css-extract-plugin
2690
- module.exports = {"root":"_1MRLg","multiline-vertical-padding-24":"_3scyA","multilineVerticalPadding24":"_3scyA","multiline-vertical-padding-30":"_1tmzl","multilineVerticalPadding30":"_1tmzl","multiline-vertical-padding-36":"_1oaID","multilineVerticalPadding36":"_1oaID","multiline-vertical-padding-42":"_3dIXa","multilineVerticalPadding42":"_3dIXa","multiline-vertical-padding-48":"_377HE","multilineVerticalPadding48":"_377HE"};
2631
+ module.exports = {"root":"_1PTu0","multiline-vertical-padding-24":"aXmV5","multilineVerticalPadding24":"aXmV5","multiline-vertical-padding-30":"TZb8h","multilineVerticalPadding30":"TZb8h","multiline-vertical-padding-36":"_1yfer","multilineVerticalPadding36":"_1yfer","multiline-vertical-padding-42":"_3VowF","multilineVerticalPadding42":"_3VowF","multiline-vertical-padding-48":"_3FSNY","multilineVerticalPadding48":"_3FSNY"};
2691
2632
 
2692
2633
  /***/ }),
2693
2634
 
@@ -2702,35 +2643,32 @@ module.exports = {"root":"_1MRLg","multiline-vertical-padding-24":"_3scyA","mult
2702
2643
 
2703
2644
  Object.defineProperty(exports, "__esModule", { value: true });
2704
2645
  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) {
2646
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2647
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
2648
+ const FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
2649
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2650
+ const widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
2651
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerItem.scss */ "./components/pickers/PickerItem.scss"));
2652
+ const defaultSize = '36';
2653
+ class PickerItem extends React.Component {
2654
+ constructor() {
2655
+ super(...arguments);
2656
+ this.getAvatarSize = (size, isMultiline) => {
2717
2657
  return isMultiline ? size : +size - 6;
2718
2658
  };
2719
- return _this;
2720
2659
  }
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);
2660
+ render() {
2661
+ const { size, avatarUrl, title, subtitle, isLoading, isDisabled } = this.props;
2662
+ const itemSize = size && size !== 'none' ? size : defaultSize;
2663
+ const isMultiline = !!(title && subtitle);
2725
2664
  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' },
2665
+ React.createElement(FlexItems_1.FlexRow, { size: itemSize, cx: isMultiline && css[`multiline-vertical-padding-${itemSize}`], spacing: '12' },
2727
2666
  avatarUrl && React.createElement(widgets_1.Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
2728
2667
  React.createElement(FlexItems_1.FlexCell, { width: 'auto' },
2729
2668
  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
2669
  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));
2670
+ }
2671
+ }
2734
2672
  exports.PickerItem = PickerItem;
2735
2673
 
2736
2674
 
@@ -2747,55 +2685,52 @@ exports.PickerItem = PickerItem;
2747
2685
 
2748
2686
  Object.defineProperty(exports, "__esModule", { value: true });
2749
2687
  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 typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2755
- var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2756
- var PickerListItem_1 = __webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx");
2757
- var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
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 }));
2688
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2689
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2690
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2691
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2692
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2693
+ const buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2694
+ const PickerListItem_1 = __webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx");
2695
+ const PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
2696
+ class PickerList extends uui_components_1.PickerListBase {
2697
+ constructor() {
2698
+ super(...arguments);
2699
+ this.sessionStartTime = (new Date()).getTime();
2700
+ this.renderRow = (row) => {
2701
+ return react_1.default.createElement(PickerListItem_1.PickerListItem, Object.assign({ getName: item => this.getName(item) }, row, { key: row.rowKey }));
2765
2702
  };
2766
- _this.handleShowPicker = function () {
2767
- _this.context.uuiModals
2768
- .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);
2703
+ this.handleShowPicker = () => {
2704
+ this.context.uuiModals
2705
+ .show(props => (react_1.default.createElement(PickerModal_1.PickerModal, Object.assign({}, props, this.props, { caption: this.props.placeholder || `Please select ${this.getEntityName() ? this.getEntityName() : ""}`, initialValue: this.props.value, selectionMode: this.props.selectionMode, valueType: this.props.valueType }))))
2706
+ .then((value) => {
2707
+ this.appendLastSelected([...this.getSelectedIdsArray(value)]);
2708
+ this.props.onValueChange(value);
2772
2709
  });
2773
2710
  };
2774
- _this.defaultRenderToggler = function (props) { return (react_1.default.createElement(buttons_1.LinkButton, (0, tslib_1.__assign)({ caption: 'Show all' }, props))); };
2775
- return _this;
2711
+ this.defaultRenderToggler = (props) => (react_1.default.createElement(buttons_1.LinkButton, Object.assign({ caption: 'Show all' }, props)));
2776
2712
  }
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
- var showPicker = viewProps.totalCount == null || viewProps.totalCount > this.getMaxDefaultItems();
2783
- var renderToggler = this.props.renderModalToggler || this.defaultRenderToggler;
2784
- var renderRow = this.props.renderRow || this.renderRow;
2713
+ render() {
2714
+ const view = this.getView();
2715
+ const viewProps = view.getListProps();
2716
+ const selectedRows = view.getSelectedRows();
2717
+ const rows = this.buildRowsList();
2718
+ const showPicker = viewProps.totalCount == null || viewProps.totalCount > this.getMaxDefaultItems();
2719
+ const renderToggler = this.props.renderModalToggler || this.defaultRenderToggler;
2720
+ const renderRow = this.props.renderRow || this.renderRow;
2785
2721
  return (react_1.default.createElement("div", null,
2786
2722
  !rows.length && (this.props.noOptionsMessage ?
2787
2723
  this.props.noOptionsMessage :
2788
2724
  react_1.default.createElement(typography_1.Text, { color: 'secondary', size: this.props.size }, "No options available")),
2789
- rows.map(function (row) { return renderRow(row); }),
2725
+ rows.map(row => renderRow(row)),
2790
2726
  showPicker && renderToggler({
2791
2727
  onClick: this.handleShowPicker,
2792
2728
  caption: this.getModalTogglerCaption(viewProps.totalCount, selectedRows.length),
2793
2729
  }, selectedRows)));
2794
- };
2795
- PickerList.contextType = uui_core_1.UuiContext;
2796
- return PickerList;
2797
- }(uui_components_1.PickerListBase));
2730
+ }
2731
+ }
2798
2732
  exports.PickerList = PickerList;
2733
+ PickerList.contextType = uui_core_1.UuiContext;
2799
2734
 
2800
2735
 
2801
2736
  /***/ }),
@@ -2808,7 +2743,7 @@ exports.PickerList = PickerList;
2808
2743
  /***/ (function(module, exports, __webpack_require__) {
2809
2744
 
2810
2745
  // extracted by mini-css-extract-plugin
2811
- module.exports = {"row":"H4vHv"};
2746
+ module.exports = {"row":"_3au2w"};
2812
2747
 
2813
2748
  /***/ }),
2814
2749
 
@@ -2823,36 +2758,30 @@ module.exports = {"row":"H4vHv"};
2823
2758
 
2824
2759
  Object.defineProperty(exports, "__esModule", { value: true });
2825
2760
  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;
2761
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2762
+ const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
2763
+ const inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
2764
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2765
+ const PickerListItem_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerListItem.scss */ "./components/pickers/PickerListItem.scss"));
2766
+ class PickerListItem extends react_1.default.Component {
2767
+ render() {
2768
+ let label;
2839
2769
  if (this.props.isLoading) {
2840
2770
  label = react_1.default.createElement(typography_1.TextPlaceholder, { wordsCount: 2 });
2841
2771
  }
2842
2772
  else {
2843
2773
  label = this.props.getName(this.props.value);
2844
2774
  }
2845
- var component;
2775
+ let component;
2846
2776
  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); } }));
2777
+ component = react_1.default.createElement(inputs_1.Checkbox, Object.assign({}, this.props.checkbox, { isDisabled: this.props.isLoading || this.props.checkbox.isDisabled, label: label, value: this.props.isChecked, onValueChange: () => this.props.onCheck(this.props) }));
2848
2778
  }
2849
2779
  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); } });
2780
+ component = react_1.default.createElement(inputs_1.RadioInput, { label: label, value: this.props.isSelected, isDisabled: this.props.isLoading || !this.props.isSelectable, onValueChange: () => this.props.onSelect(this.props) });
2851
2781
  }
2852
2782
  return react_1.default.createElement("div", { className: PickerListItem_scss_1.default.row }, component);
2853
- };
2854
- return PickerListItem;
2855
- }(react_1.default.Component));
2783
+ }
2784
+ }
2856
2785
  exports.PickerListItem = PickerListItem;
2857
2786
 
2858
2787
 
@@ -2866,7 +2795,7 @@ exports.PickerListItem = PickerListItem;
2866
2795
  /***/ (function(module, exports, __webpack_require__) {
2867
2796
 
2868
2797
  // extracted by mini-css-extract-plugin
2869
- module.exports = {"sub-header-wrapper":"_1Sfeq","subHeaderWrapper":"_1Sfeq","switch":"JACUd"};
2798
+ module.exports = {"sub-header-wrapper":"_1UnXc","subHeaderWrapper":"_1UnXc","switch":"_3ispc"};
2870
2799
 
2871
2800
  /***/ }),
2872
2801
 
@@ -2881,83 +2810,71 @@ module.exports = {"sub-header-wrapper":"_1Sfeq","subHeaderWrapper":"_1Sfeq","swi
2881
2810
 
2882
2811
  Object.defineProperty(exports, "__esModule", { value: true });
2883
2812
  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;
2813
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2814
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
2815
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerModal.scss */ "./components/pickers/PickerModal.scss"));
2816
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
2817
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2818
+ const DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
2819
+ const FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
2820
+ const overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
2821
+ const inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
2822
+ const buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
2823
+ const DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
2824
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2825
+ const i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
2826
+ class PickerModalImpl extends uui_components_1.PickerModalBase {
2827
+ renderRow(rowProps) {
2828
+ return this.props.renderRow ? this.props.renderRow(rowProps) : (React.createElement(DataPickerRow_1.DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, borderBottom: 'none', padding: '24', size: '36', renderItem: (i) => React.createElement(typography_1.Text, { size: '36' }, rowProps.isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : this.getName(i)) })));
2901
2829
  }
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();
2830
+ renderFooter(selectedDataRows) {
2831
+ const hasSelection = selectedDataRows.length > 0;
2832
+ const view = this.getView();
2910
2833
  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); } }),
2834
+ view.selectAll && React.createElement(buttons_1.LinkButton, { caption: hasSelection ? i18n_1.i18n.pickerModal.clearAllButton : i18n_1.i18n.pickerModal.selectAllButton, onClick: hasSelection ? () => this.clearSelection() : () => view.selectAll.onValueChange(true) }),
2912
2835
  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),
2836
+ React.createElement(buttons_1.Button, { mode: 'outline', color: 'secondary', caption: i18n_1.i18n.pickerModal.cancelButton, onClick: () => this.props.abort() }),
2837
+ React.createElement(buttons_1.Button, { color: 'accent', caption: i18n_1.i18n.pickerModal.selectButton, onClick: () => this.props.success(null) }));
2838
+ }
2839
+ render() {
2840
+ const view = this.getView();
2841
+ const dataRows = this.getRows();
2842
+ const selectedDataRows = view.getSelectedRows();
2843
+ const rows = dataRows.map(props => this.renderRow(props));
2844
+ return (React.createElement(overlays_1.ModalBlocker, Object.assign({}, this.props),
2923
2845
  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(); } }),
2846
+ React.createElement(overlays_1.ModalHeader, { borderBottom: true, title: this.props.caption || i18n_1.i18n.pickerModal.headerTitle, onClose: () => this.props.abort() }),
2925
2847
  React.createElement(FlexItems_1.FlexCell, { cx: css.subHeaderWrapper },
2926
2848
  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,
2849
+ React.createElement(inputs_1.SearchInput, Object.assign({}, this.lens.prop('dataSourceState').prop('search').toProps(), { onKeyDown: (e) => (0, uui_components_1.handleDataSourceKeyboard)({
2850
+ value: this.getDataSourceState(),
2851
+ onValueChange: this.handleDataSourceValueChange,
2930
2852
  listView: view,
2931
2853
  rows: dataRows,
2932
2854
  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' })),
2855
+ }, e), autoFocus: true, placeholder: i18n_1.i18n.pickerModal.searchPlaceholder }))),
2856
+ !this.isSingleSelect() && React.createElement(inputs_1.Switch, Object.assign({ cx: css.switch, size: '18' }, this.stateLens.prop('showSelected').toProps(), { isDisabled: selectedDataRows.length < 1, label: 'Show only selected' })),
2935
2857
  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' })),
2858
+ React.createElement(DataPickerBody_1.DataPickerBody, Object.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 && (() => this.props.renderNotFound({
2859
+ search: this.state.dataSourceState.search,
2860
+ onClose: () => this.props.success(selectedDataRows),
2861
+ })), editMode: 'modal' })),
2940
2862
  React.createElement(overlays_1.ModalFooter, { borderTop: true, padding: '24', vPadding: '24' }, this.props.renderFooter
2941
2863
  ? this.props.renderFooter(this.getFooterProps())
2942
2864
  : this.renderFooter(selectedDataRows)))));
2943
- };
2944
- return PickerModalImpl;
2945
- }(uui_components_1.PickerModalBase));
2865
+ }
2866
+ }
2946
2867
  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;
2868
+ class PickerModal extends React.Component {
2869
+ constructor() {
2870
+ super(...arguments);
2871
+ this.state = { selection: this.props.initialValue };
2872
+ this.lens = uui_core_1.Lens.onState(this);
2954
2873
  }
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));
2874
+ render() {
2875
+ return React.createElement(PickerModalImpl, Object.assign({}, this.props, this.lens.prop('selection').toProps(), { success: () => this.props.success(this.state.selection) }));
2876
+ }
2877
+ }
2961
2878
  exports.PickerModal = PickerModal;
2962
2879
 
2963
2880
 
@@ -2971,7 +2888,7 @@ exports.PickerModal = PickerModal;
2971
2888
  /***/ (function(module, exports, __webpack_require__) {
2972
2889
 
2973
2890
  // extracted by mini-css-extract-plugin
2974
- module.exports = {"root":"_3cMFB","mode-form":"kH3Cw","modeForm":"kH3Cw","mode-cell":"_2TRHm","modeCell":"_2TRHm","size-24":"_2TZNO","size24":"_2TZNO","size-30":"-Lwr_","size30":"-Lwr_","size-36":"_1x6xA","size36":"_1x6xA","size-42":"_3tdK_","size42":"_3tdK_","size-48":"_2q5Ui","size48":"_2q5Ui"};
2891
+ module.exports = {"root":"bLiuq","mode-form":"_1eBBR","modeForm":"_1eBBR","mode-cell":"cASlj","modeCell":"cASlj","size-24":"_1gKeM","size24":"_1gKeM","size-30":"ySojn","size30":"ySojn","size-36":"_2yS0W","size36":"_2yS0W","size-42":"_14dN1","size42":"_14dN1","size-48":"_3eZEJ","size48":"_3eZEJ"};
2975
2892
 
2976
2893
  /***/ }),
2977
2894
 
@@ -2986,17 +2903,17 @@ module.exports = {"root":"_3cMFB","mode-form":"kH3Cw","modeForm":"kH3Cw","mode-c
2986
2903
 
2987
2904
  Object.defineProperty(exports, "__esModule", { value: true });
2988
2905
  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"));
2906
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2907
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
2908
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
2909
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
2910
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
2911
+ const widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
2912
+ const types = (0, tslib_1.__importStar)(__webpack_require__(/*! ../types */ "./components/types.ts"));
2996
2913
  __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;
2914
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerToggler.scss */ "./components/pickers/PickerToggler.scss"));
2915
+ const defaultSize = '36';
2916
+ const defaultMode = types.EditMode.FORM;
3000
2917
  function applyPickerTogglerMods(mods) {
3001
2918
  return [
3002
2919
  'picker-toggler-vars',
@@ -3006,7 +2923,7 @@ function applyPickerTogglerMods(mods) {
3006
2923
  ];
3007
2924
  }
3008
2925
  function PickerTogglerComponent(props, ref) {
3009
- var getPickerTogglerButtonSize = function (propSize) {
2926
+ const getPickerTogglerButtonSize = (propSize) => {
3010
2927
  switch (propSize) {
3011
2928
  case '48':
3012
2929
  return '42';
@@ -3020,9 +2937,9 @@ function PickerTogglerComponent(props, ref) {
3020
2937
  return '18';
3021
2938
  }
3022
2939
  };
3023
- var getCaption = function (row) {
2940
+ const getCaption = (row) => {
3024
2941
  var _a;
3025
- var maxItems = (props.maxItems || props.maxItems === 0) ? props.maxItems : 100;
2942
+ const maxItems = (props.maxItems || props.maxItems === 0) ? props.maxItems : 100;
3026
2943
  if (row.isLoading) {
3027
2944
  return React.createElement(typography_1.TextPlaceholder, null);
3028
2945
  }
@@ -3033,14 +2950,14 @@ function PickerTogglerComponent(props, ref) {
3033
2950
  return props.getName(row.value);
3034
2951
  }
3035
2952
  };
3036
- var renderItem = function (row) {
2953
+ const renderItem = (row) => {
3037
2954
  var _a;
3038
- return (React.createElement(widgets_1.Tag, { key: row.id, caption: getCaption(row), tabIndex: -1, size: props.size ? getPickerTogglerButtonSize(props.size) : '30', onClear: function (e) {
2955
+ return (React.createElement(widgets_1.Tag, { key: row.id, caption: getCaption(row), tabIndex: -1, size: props.size ? getPickerTogglerButtonSize(props.size) : '30', onClear: e => {
3039
2956
  row.onCheck && row.onCheck(row);
3040
2957
  e.stopPropagation();
3041
2958
  }, isDisabled: props.isDisabled || props.isReadonly || ((_a = row === null || row === void 0 ? void 0 : row.checkbox) === null || _a === void 0 ? void 0 : _a.isDisabled) }));
3042
2959
  };
3043
- 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 (item) { return props.getName ? props.getName(item) : item; }, cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear, dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow })));
2960
+ return (React.createElement(uui_components_1.PickerToggler, Object.assign({}, props, { ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: !!props.renderItem ? props.renderItem : renderItem, getName: (item) => props.getName ? props.getName(item) : item, cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear, dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow })));
3044
2961
  }
3045
2962
  exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
3046
2963
 
@@ -3057,7 +2974,7 @@ exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
3057
2974
  "use strict";
3058
2975
 
3059
2976
  Object.defineProperty(exports, "__esModule", { value: true });
3060
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
2977
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3061
2978
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx"), exports);
3062
2979
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx"), exports);
3063
2980
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx"), exports);
@@ -3081,7 +2998,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
3081
2998
  /***/ (function(module, exports, __webpack_require__) {
3082
2999
 
3083
3000
  // extracted by mini-css-extract-plugin
3084
- module.exports = {"cell":"_3DNeD","wrapper":"_25pq-","align-widgets-top":"_1LWWc","alignWidgetsTop":"_1LWWc","size-24":"_35sGP","size24":"_35sGP","folding-arrow":"_3Z6Tr","foldingArrow":"_3Z6Tr","size-30":"_1m510","size30":"_1m510","size-36":"_1PYI7","size36":"_1PYI7","size-42":"_1tlBC","size42":"_1tlBC","size-48":"FFtbb","size48":"FFtbb","size-60":"_3aFfP","size60":"_3aFfP","align-widgets-center":"_1h3Mv","alignWidgetsCenter":"_1h3Mv","padding-12":"_2wOOZ","padding12":"_2wOOZ","padding-24":"_3ocxo","padding24":"_3ocxo","padding-left-12":"V8EtZ","paddingLeft12":"V8EtZ","padding-left-24":"_1Lz4T","paddingLeft24":"_1Lz4T","padding-right-24":"_3h6cg","paddingRight24":"_3h6cg","drag-handle":"RpecM","dragHandle":"RpecM","checkbox":"_382GO","indent":"_3zWnf","folding-arrow-12":"_2wLZX","foldingArrow12":"_2wLZX","folding-arrow-18":"_3f6cV","foldingArrow18":"_3f6cV"};
3001
+ module.exports = {"cell":"AN8pM","wrapper":"_2Krjd","align-widgets-top":"_1evKg","alignWidgetsTop":"_1evKg","size-24":"_2voJw","size24":"_2voJw","folding-arrow":"_3HNqa","foldingArrow":"_3HNqa","size-30":"_91rET","size30":"_91rET","size-36":"_2WSyT","size36":"_2WSyT","size-42":"_2nC8t","size42":"_2nC8t","size-48":"wmMPW","size48":"wmMPW","size-60":"_3Apfp","size60":"_3Apfp","align-widgets-center":"_2Sbv2","alignWidgetsCenter":"_2Sbv2","padding-12":"_363JH","padding12":"_363JH","padding-24":"NXHy0","padding24":"NXHy0","padding-left-12":"_1i7-D","paddingLeft12":"_1i7-D","padding-left-24":"_2AvHf","paddingLeft24":"_2AvHf","padding-right-24":"rhqd8","paddingRight24":"rhqd8","drag-handle":"_2MfK-","dragHandle":"_2MfK-","checkbox":"_2BMjs","indent":"_1GcXn","folding-arrow-12":"_1BnHa","foldingArrow12":"_1BnHa","folding-arrow-18":"Z_mNq","foldingArrow18":"Z_mNq"};
3085
3002
 
3086
3003
  /***/ }),
3087
3004
 
@@ -3096,44 +3013,41 @@ module.exports = {"cell":"_3DNeD","wrapper":"_25pq-","align-widgets-top":"_1LWWc
3096
3013
 
3097
3014
  Object.defineProperty(exports, "__esModule", { value: true });
3098
3015
  exports.DataTableCell = void 0;
3099
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3100
- var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3101
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3102
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3103
- var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
3104
- var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
3105
- var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
3106
- var tree_folding_arrow_svg_1 = __webpack_require__(/*! ../../icons/tree_folding_arrow.svg */ "./icons/tree_folding_arrow.svg");
3107
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataTableCell.scss */ "./components/tables/DataTableCell.scss"));
3108
- var DataTableCell = /** @class */ (function (_super) {
3109
- (0, tslib_1.__extends)(DataTableCell, _super);
3110
- function DataTableCell() {
3016
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3017
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3018
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3019
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3020
+ const typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
3021
+ const layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
3022
+ const inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
3023
+ const tree_folding_arrow_svg_1 = __webpack_require__(/*! ../../icons/tree_folding_arrow.svg */ "./icons/tree_folding_arrow.svg");
3024
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataTableCell.scss */ "./components/tables/DataTableCell.scss"));
3025
+ class DataTableCell extends React.Component {
3026
+ constructor() {
3111
3027
  var _a, _b, _c;
3112
- var _this = _super.apply(this, arguments) || this;
3113
- _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));
3114
- _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); };
3115
- _this.getContent = function () {
3028
+ super(...arguments);
3029
+ 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));
3030
+ this.isDraggable = () => { 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); };
3031
+ this.getContent = () => {
3116
3032
  var _a;
3117
- var row = _this.props.rowProps;
3118
- var additionalItemSize = +_this.props.size < 30 ? '12' : '18';
3119
- var cellContent = row.isLoading
3120
- ? React.createElement(typography_1.Text, { size: _this.props.size != '60' ? _this.props.size : '48' },
3033
+ const row = this.props.rowProps;
3034
+ const additionalItemSize = +this.props.size < 30 ? '12' : '18';
3035
+ const cellContent = row.isLoading
3036
+ ? React.createElement(typography_1.Text, { size: this.props.size != '60' ? this.props.size : '48' },
3121
3037
  React.createElement(typography_1.TextPlaceholder, null))
3122
- : _this.props.column.render(_this.props.rowProps.value, _this.props.rowProps);
3038
+ : this.props.column.render(this.props.rowProps.value, this.props.rowProps);
3123
3039
  return (React.createElement(React.Fragment, null,
3124
- _this.props.isFirstColumn && _this.isDraggable() && React.createElement(uui_components_1.DragHandle, { cx: css.dragHandle }),
3125
- _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 }),
3126
- _this.props.isFirstColumn && row.indent > 0 && (React.createElement("div", { key: 'fold', className: css.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable &&
3127
- 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); } }))),
3040
+ this.props.isFirstColumn && this.isDraggable() && React.createElement(uui_components_1.DragHandle, { cx: css.dragHandle }),
3041
+ 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: () => row.onCheck(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid }),
3042
+ this.props.isFirstColumn && row.indent > 0 && (React.createElement("div", { key: 'fold', className: css.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable &&
3043
+ React.createElement(uui_components_1.IconContainer, { key: 'icon', icon: tree_folding_arrow_svg_1.ReactComponent, cx: [css.foldingArrow, css[`folding-arrow-${additionalItemSize}`], uui_core_1.uuiMarkers.clickable], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))),
3128
3044
  cellContent));
3129
3045
  };
3130
- return _this;
3131
3046
  }
3132
- DataTableCell.prototype.render = function () {
3133
- 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()));
3134
- };
3135
- return DataTableCell;
3136
- }(React.Component));
3047
+ render() {
3048
+ return (React.createElement(layout_1.FlexCell, Object.assign({}, this.props.column, { rawProps: { role: 'cell' }, cx: (0, uui_core_1.cx)(css.cell, this.props.isFirstColumn && this.hasDepsWidgets && css.wrapper, css['size-' + (this.props.size || '36')], css[`padding-${this.props.padding || '12'}`], this.props.isFirstColumn && css[`padding-left-${this.props.padding || '24'}`], this.props.isLastColumn && css['padding-right-24'], this.props.column.cx, css[`align-widgets-${this.props.alignActions || 'top'}`]) }), this.getContent()));
3049
+ }
3050
+ }
3137
3051
  exports.DataTableCell = DataTableCell;
3138
3052
 
3139
3053
 
@@ -3147,7 +3061,7 @@ exports.DataTableCell = DataTableCell;
3147
3061
  /***/ (function(module, exports, __webpack_require__) {
3148
3062
 
3149
3063
  // extracted by mini-css-extract-plugin
3150
- module.exports = {"container":"_1_6LY","target":"_2W62V","panel":"_1OZST","divider":"_9f_vV","input":"_2iBaj","notification":"_3tsLp"};
3064
+ module.exports = {"container":"_1RJjp","target":"_2fLje","panel":"_301i5","divider":"T4MUw","input":"_3ibuP","notification":"_2XfLJ"};
3151
3065
 
3152
3066
  /***/ }),
3153
3067
 
@@ -3162,50 +3076,46 @@ module.exports = {"container":"_1_6LY","target":"_2W62V","panel":"_1OZST","divid
3162
3076
 
3163
3077
  Object.defineProperty(exports, "__esModule", { value: true });
3164
3078
  exports.Preset = void 0;
3165
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3166
- var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3167
- var __1 = __webpack_require__(/*! ../../ */ "./components/index.ts");
3168
- 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");
3169
- var Preset_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Preset.scss */ "./components/tables/Presets/Preset.scss"));
3170
- var Preset = function (_a) {
3171
- 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;
3172
- var _b = (0, react_1.useState)(false), isRenaming = _b[0], setIsRenaming = _b[1];
3173
- var _c = (0, react_1.useState)(""), renamingValue = _c[0], setRenamingValue = _c[1];
3174
- var handleChoose = (0, react_1.useCallback)(function () { return choosePreset(preset); }, [preset, choosePreset]);
3175
- var handleUpdate = (0, react_1.useCallback)(function () { return updatePreset(preset); }, [preset, updatePreset]);
3176
- var acceptRenaming = (0, react_1.useCallback)(function () {
3079
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3080
+ const react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3081
+ const __1 = __webpack_require__(/*! ../../ */ "./components/index.ts");
3082
+ const 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");
3083
+ const Preset_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Preset.scss */ "./components/tables/Presets/Preset.scss"));
3084
+ const Preset = ({ preset, isActive, hasChanged, choosePreset, duplicatePreset, deletePreset, updatePreset, }) => {
3085
+ const [isRenaming, setIsRenaming] = (0, react_1.useState)(false);
3086
+ const [renamingValue, setRenamingValue] = (0, react_1.useState)("");
3087
+ const handleChoose = (0, react_1.useCallback)(() => choosePreset(preset), [preset, choosePreset]);
3088
+ const handleUpdate = (0, react_1.useCallback)(() => updatePreset(preset), [preset, updatePreset]);
3089
+ const acceptRenaming = (0, react_1.useCallback)(() => {
3177
3090
  if (renamingValue) {
3178
- var newPreset = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, preset), { name: renamingValue });
3091
+ const newPreset = Object.assign(Object.assign({}, preset), { name: renamingValue });
3179
3092
  updatePreset(newPreset);
3180
3093
  }
3181
3094
  setIsRenaming(false);
3182
3095
  }, [renamingValue, updatePreset]);
3183
- var renderBody = (0, react_1.useCallback)(function (props) {
3184
- var handleDuplicate = function () {
3096
+ const renderBody = (0, react_1.useCallback)((props) => {
3097
+ const handleDuplicate = () => {
3185
3098
  duplicatePreset(preset);
3186
3099
  props.onClose();
3187
3100
  };
3188
- var startRenaming = function () {
3101
+ const startRenaming = () => {
3189
3102
  setIsRenaming(true);
3190
3103
  setRenamingValue(preset.name);
3191
3104
  props.onClose();
3192
3105
  };
3193
- var handleDelete = function () {
3106
+ const handleDelete = () => {
3194
3107
  deletePreset(preset);
3195
- if (isActive) {
3196
- resetToDefault();
3197
- }
3198
3108
  props.onClose();
3199
3109
  };
3200
- var update = function () {
3110
+ const update = () => {
3201
3111
  handleUpdate();
3202
3112
  props.onClose();
3203
3113
  };
3204
- var choose = function () {
3114
+ const choose = () => {
3205
3115
  choosePreset(preset);
3206
3116
  props.onClose();
3207
3117
  };
3208
- return (react_1.default.createElement(__1.DropdownMenuBody, (0, tslib_1.__assign)({}, props),
3118
+ return (react_1.default.createElement(__1.DropdownMenuBody, Object.assign({}, props),
3209
3119
  react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Duplicate', onClick: handleDuplicate }),
3210
3120
  react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Rename', onClick: startRenaming }),
3211
3121
  react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Update', onClick: update, isDisabled: !hasChanged }),
@@ -3213,8 +3123,8 @@ var Preset = function (_a) {
3213
3123
  react_1.default.createElement(__1.DropdownMenuSplitter, null),
3214
3124
  react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Discard all changes', onClick: choose, isDisabled: !hasChanged })));
3215
3125
  }, [preset, duplicatePreset, deletePreset, isActive, choosePreset, hasChanged]);
3216
- var renderTarget = (0, react_1.useCallback)(function (props) {
3217
- 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] })));
3126
+ const renderTarget = (0, react_1.useCallback)((props) => {
3127
+ return (react_1.default.createElement(__1.Button, Object.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] })));
3218
3128
  }, [preset, isActive, hasChanged]);
3219
3129
  return (react_1.default.createElement(react_1.default.Fragment, null, isRenaming
3220
3130
  ? (react_1.default.createElement(__1.TextInput, { value: renamingValue, onValueChange: setRenamingValue, size: '24', onAccept: acceptRenaming, onBlur: acceptRenaming, cx: Preset_scss_1.default.input, autoFocus: true }))
@@ -3235,7 +3145,7 @@ exports.Preset = Preset;
3235
3145
  /***/ (function(module, exports, __webpack_require__) {
3236
3146
 
3237
3147
  // extracted by mini-css-extract-plugin
3238
- module.exports = {"row":"_1sgVx"};
3148
+ module.exports = {"row":"_2fTAk"};
3239
3149
 
3240
3150
  /***/ }),
3241
3151
 
@@ -3250,26 +3160,24 @@ module.exports = {"row":"_1sgVx"};
3250
3160
 
3251
3161
  Object.defineProperty(exports, "__esModule", { value: true });
3252
3162
  exports.Presets = void 0;
3253
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3254
- var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3255
- var index_1 = __webpack_require__(/*! ../../index */ "./components/index.ts");
3256
- var layout_1 = __webpack_require__(/*! ../../layout */ "./components/layout/index.ts");
3257
- var Preset_1 = __webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx");
3258
- var Presets_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Presets.scss */ "./components/tables/Presets/Presets.scss"));
3259
- var PresetsImpl = function (_a) {
3260
- 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;
3261
- var newPresetTitle = "New preset";
3262
- var saveNewPreset = (0, react_1.useCallback)(function () {
3163
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3164
+ const react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3165
+ const index_1 = __webpack_require__(/*! ../../index */ "./components/index.ts");
3166
+ const layout_1 = __webpack_require__(/*! ../../layout */ "./components/layout/index.ts");
3167
+ const Preset_1 = __webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx");
3168
+ const Presets_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Presets.scss */ "./components/tables/Presets/Presets.scss"));
3169
+ const PresetsImpl = ({ tableState, presets, createNewPreset, activePresetId, hasPresetChanged, choosePreset, duplicatePreset, deletePreset, updatePreset }) => {
3170
+ const newPresetTitle = "New preset";
3171
+ const saveNewPreset = (0, react_1.useCallback)(() => {
3263
3172
  createNewPreset(newPresetTitle);
3264
3173
  }, [createNewPreset, newPresetTitle]);
3265
- var activePreset = presets.find(function (p) { return p.id === activePresetId; });
3266
- var hasActivePresetChanged = (0, react_1.useMemo)(function () {
3267
- return !isDefaultPresetActive && hasPresetChanged(activePreset);
3268
- }, [isDefaultPresetActive, activePreset, tableState.filter]);
3174
+ const activePreset = presets.find(p => p.id === activePresetId);
3175
+ const hasActivePresetChanged = (0, react_1.useMemo)(() => {
3176
+ return hasPresetChanged(activePreset);
3177
+ }, [activePreset, tableState.filter]);
3269
3178
  return (react_1.default.createElement(layout_1.FlexRow, { spacing: "6", size: "48", padding: "18", cx: Presets_scss_1.default.row },
3270
- react_1.default.createElement(index_1.Button, { size: "24", caption: "Default", mode: isDefaultPresetActive ? 'solid' : 'outline', onClick: isDefaultPresetActive ? null : resetToDefault }),
3271
- 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 })); }),
3272
- hasActivePresetChanged && (react_1.default.createElement(index_1.Button, { caption: "Save as ".concat(newPresetTitle), onClick: saveNewPreset, color: 'accent', mode: 'solid', size: '24' }))));
3179
+ presets.map(preset => (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, key: preset.id }))),
3180
+ hasActivePresetChanged && (react_1.default.createElement(index_1.Button, { caption: `Save as ${newPresetTitle}`, onClick: saveNewPreset, color: 'accent', mode: 'solid', size: '24' }))));
3273
3181
  };
3274
3182
  exports.Presets = react_1.default.memo(PresetsImpl);
3275
3183
 
@@ -3286,7 +3194,7 @@ exports.Presets = react_1.default.memo(PresetsImpl);
3286
3194
  "use strict";
3287
3195
 
3288
3196
  Object.defineProperty(exports, "__esModule", { value: true });
3289
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3197
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3290
3198
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/Presets.tsx"), exports);
3291
3199
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx"), exports);
3292
3200
 
@@ -3303,7 +3211,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
3303
3211
  "use strict";
3304
3212
 
3305
3213
  Object.defineProperty(exports, "__esModule", { value: true });
3306
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3214
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3307
3215
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataTableCell */ "./components/tables/DataTableCell.tsx"), exports);
3308
3216
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/index.ts"), exports);
3309
3217
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/tables/types.ts"), exports);
@@ -3359,7 +3267,7 @@ var EditMode;
3359
3267
  /***/ (function(module, exports, __webpack_require__) {
3360
3268
 
3361
3269
  // extracted by mini-css-extract-plugin
3362
- module.exports = {"root":"_3B36F"};
3270
+ module.exports = {"root":"_31qXI"};
3363
3271
 
3364
3272
  /***/ }),
3365
3273
 
@@ -3374,22 +3282,22 @@ module.exports = {"root":"_3B36F"};
3374
3282
 
3375
3283
  Object.defineProperty(exports, "__esModule", { value: true });
3376
3284
  exports.Text = void 0;
3377
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3378
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Text.scss */ "./components/typography/Text.scss"));
3379
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3380
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3381
- var textLayout_1 = __webpack_require__(/*! ../../helpers/textLayout */ "./helpers/textLayout.tsx");
3285
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3286
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Text.scss */ "./components/typography/Text.scss"));
3287
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3288
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3289
+ const textLayout_1 = __webpack_require__(/*! ../../helpers/textLayout */ "./helpers/textLayout.tsx");
3382
3290
  __webpack_require__(/*! ../../assets/styles/variables/typography/text.scss */ "./assets/styles/variables/typography/text.scss");
3383
3291
  __webpack_require__(/*! ../../assets/styles/fonts-variables.scss */ "./assets/styles/fonts-variables.scss");
3384
3292
  function applyTextMods(mods) {
3385
- var textClasses = (0, textLayout_1.getTextClasses)({
3293
+ const textClasses = (0, textLayout_1.getTextClasses)({
3386
3294
  size: mods.size || '36',
3387
3295
  lineHeight: mods.lineHeight,
3388
3296
  fontSize: mods.fontSize,
3389
3297
  }, false);
3390
3298
  return [
3391
- "font-".concat(mods.font || 'regular'),
3392
- "text-color-".concat(mods.color || 'primary'),
3299
+ `font-${mods.font || 'regular'}`,
3300
+ `text-color-${mods.color || 'primary'}`,
3393
3301
  css.root,
3394
3302
  ].concat(textClasses);
3395
3303
  }
@@ -3406,7 +3314,7 @@ exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
3406
3314
  /***/ (function(module, exports, __webpack_require__) {
3407
3315
 
3408
3316
  // extracted by mini-css-extract-plugin
3409
- module.exports = {"container":"_1RzQO","loading-word":"_3D_63","loadingWord":"_3D_63","animated-loading":"_33sOA","animatedLoading":"_33sOA","skeleton_loading":"_3tVdb","skeletonLoading":"_3tVdb"};
3317
+ module.exports = {"container":"_3XBX8","loading-word":"_1Z4BH","loadingWord":"_1Z4BH","animated-loading":"_1wYYK","animatedLoading":"_1wYYK","skeleton_loading":"_3UwDP","skeletonLoading":"_3UwDP"};
3410
3318
 
3411
3319
  /***/ }),
3412
3320
 
@@ -3421,26 +3329,26 @@ module.exports = {"container":"_1RzQO","loading-word":"_3D_63","loadingWord":"_3
3421
3329
 
3422
3330
  Object.defineProperty(exports, "__esModule", { value: true });
3423
3331
  exports.TextPlaceholder = void 0;
3424
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3425
- var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3426
- var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
3427
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextPlaceholder.scss */ "./components/typography/TextPlaceholder.scss"));
3332
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3333
+ const React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
3334
+ const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
3335
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextPlaceholder.scss */ "./components/typography/TextPlaceholder.scss"));
3428
3336
  __webpack_require__(/*! ../../assets/styles/variables/typography/textPlaceholder.scss */ "./assets/styles/variables/typography/textPlaceholder.scss");
3429
- var TextPlaceholder = function (props) {
3430
- var pattern = "0";
3431
- var text = React.useMemo(function () {
3432
- var words = [];
3433
- for (var i = 0; i < (props.wordsCount || 1); i++) {
3434
- var lengthWord = Math.floor(Math.random() * 10 + 8);
3337
+ const TextPlaceholder = (props) => {
3338
+ const pattern = `0`;
3339
+ const text = React.useMemo(() => {
3340
+ const words = [];
3341
+ for (let i = 0; i < (props.wordsCount || 1); i++) {
3342
+ let lengthWord = Math.floor(Math.random() * 10 + 8);
3435
3343
  words.push(pattern.repeat(lengthWord));
3436
3344
  }
3437
3345
  return words;
3438
3346
  }, [props.wordsCount]);
3439
- 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)([
3347
+ return (React.createElement("div", { "aria-busy": true, className: css.container }, text.map((it, index) => (React.createElement("span", { key: index, className: (0, classnames_1.default)([
3440
3348
  'text-placeholder-vars',
3441
3349
  css.loadingWord,
3442
3350
  !props.isNotAnimated && css.animatedLoading,
3443
- ]), dangerouslySetInnerHTML: { __html: it } })); })));
3351
+ ]), dangerouslySetInnerHTML: { __html: it } })))));
3444
3352
  };
3445
3353
  exports.TextPlaceholder = TextPlaceholder;
3446
3354
 
@@ -3457,7 +3365,7 @@ exports.TextPlaceholder = TextPlaceholder;
3457
3365
  "use strict";
3458
3366
 
3459
3367
  Object.defineProperty(exports, "__esModule", { value: true });
3460
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3368
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3461
3369
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Text */ "./components/typography/Text.tsx"), exports);
3462
3370
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextPlaceholder */ "./components/typography/TextPlaceholder.tsx"), exports);
3463
3371
 
@@ -3475,9 +3383,9 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
3475
3383
 
3476
3384
  Object.defineProperty(exports, "__esModule", { value: true });
3477
3385
  exports.Avatar = void 0;
3478
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3479
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3480
- exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () { return []; });
3386
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3387
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3388
+ exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, () => []);
3481
3389
 
3482
3390
 
3483
3391
  /***/ }),
@@ -3490,7 +3398,7 @@ exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () {
3490
3398
  /***/ (function(module, exports, __webpack_require__) {
3491
3399
 
3492
3400
  // extracted by mini-css-extract-plugin
3493
- module.exports = {"root":"U2wq1","size-18":"CKedr","size18":"CKedr","fill-transparent":"_3B-De","fillTransparent":"_3B-De","size-24":"_1Ihmg","size24":"_1Ihmg","size-30":"_1SH02","size30":"_1SH02","size-36":"_84U6O","size36":"_84U6O","size-42":"_17Iay","size42":"_17Iay","size-48":"_3UXEY","size48":"_3UXEY","fill-solid":"_3ksnx","fillSolid":"_3ksnx"};
3401
+ module.exports = {"root":"_17Bsg","size-18":"qRQZD","size18":"qRQZD","fill-transparent":"_1Vnlk","fillTransparent":"_1Vnlk","size-24":"_2vZjF","size24":"_2vZjF","size-30":"_3voUa","size30":"_3voUa","size-36":"_2WWn6","size36":"_2WWn6","size-42":"_3LWS0","size42":"_3LWS0","size-48":"y9RQG","size48":"y9RQG","fill-solid":"_2WFgL","fillSolid":"_2WFgL"};
3494
3402
 
3495
3403
  /***/ }),
3496
3404
 
@@ -3505,15 +3413,15 @@ module.exports = {"root":"U2wq1","size-18":"CKedr","size18":"CKedr","fill-transp
3505
3413
 
3506
3414
  Object.defineProperty(exports, "__esModule", { value: true });
3507
3415
  exports.Badge = exports.applyBadgeMods = void 0;
3508
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3509
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3510
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3511
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
3512
- var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
3513
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Badge.scss */ "./components/widgets/Badge.scss"));
3416
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3417
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3418
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3419
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
3420
+ const buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
3421
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Badge.scss */ "./components/widgets/Badge.scss"));
3514
3422
  __webpack_require__(/*! ../../assets/styles/variables/widgets/badge.scss */ "./assets/styles/variables/widgets/badge.scss");
3515
- var defaultSize = '36';
3516
- var mapSize = {
3423
+ const defaultSize = '36';
3424
+ const mapSize = {
3517
3425
  '48': '48',
3518
3426
  '42': '48',
3519
3427
  '36': '36',
@@ -3523,7 +3431,7 @@ var mapSize = {
3523
3431
  };
3524
3432
  function applyBadgeMods(mods) {
3525
3433
  return [
3526
- "badge-color-".concat((mods.color || 'info')),
3434
+ `badge-color-${(mods.color || 'info')}`,
3527
3435
  buttonCss.root,
3528
3436
  css['size-' + (mods.size || defaultSize)],
3529
3437
  css['fill-' + (mods.fill || 'solid')],
@@ -3531,11 +3439,11 @@ function applyBadgeMods(mods) {
3531
3439
  ];
3532
3440
  }
3533
3441
  exports.applyBadgeMods = applyBadgeMods;
3534
- exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods, function (props) { return ({
3442
+ exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods, (props) => ({
3535
3443
  dropdownIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].foldingArrow,
3536
3444
  clearIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].clear,
3537
3445
  countPosition: 'left',
3538
- }); });
3446
+ }));
3539
3447
 
3540
3448
 
3541
3449
  /***/ }),
@@ -3548,7 +3456,7 @@ exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods
3548
3456
  /***/ (function(module, exports, __webpack_require__) {
3549
3457
 
3550
3458
  // extracted by mini-css-extract-plugin
3551
- module.exports = {"root":"ZVdaF","size-18":"_2VEPO","size18":"_2VEPO","size-24":"YADCR","size24":"YADCR","size-30":"_3fXej","size30":"_3fXej","size-36":"_1EbVB","size36":"_1EbVB","size-42":"_3Up3a","size42":"_3Up3a","size-48":"_2pxBE","size48":"_2pxBE"};
3459
+ module.exports = {"root":"_3niLc","size-18":"_3lRTy","size18":"_3lRTy","size-24":"O5IqU","size24":"O5IqU","size-30":"HwqtS","size30":"HwqtS","size-36":"_32Fyd","size36":"_32Fyd","size-42":"_1Mn8c","size42":"_1Mn8c","size-48":"_1QcE3","size48":"_1QcE3"};
3552
3460
 
3553
3461
  /***/ }),
3554
3462
 
@@ -3563,15 +3471,15 @@ module.exports = {"root":"ZVdaF","size-18":"_2VEPO","size18":"_2VEPO","size-24":
3563
3471
 
3564
3472
  Object.defineProperty(exports, "__esModule", { value: true });
3565
3473
  exports.Tag = exports.applyTagMods = void 0;
3566
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3567
- var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3568
- var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3569
- var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
3570
- var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
3474
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3475
+ const uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
3476
+ const uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
3477
+ const icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
3478
+ const buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
3571
3479
  __webpack_require__(/*! ../../assets/styles/variables/widgets/tag.scss */ "./assets/styles/variables/widgets/tag.scss");
3572
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tag.scss */ "./components/widgets/Tag.scss"));
3573
- var defaultSize = '36';
3574
- var mapSize = {
3480
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tag.scss */ "./components/widgets/Tag.scss"));
3481
+ const defaultSize = '36';
3482
+ const mapSize = {
3575
3483
  '48': '48',
3576
3484
  '42': '48',
3577
3485
  '36': '36',
@@ -3588,10 +3496,10 @@ function applyTagMods(mods) {
3588
3496
  ];
3589
3497
  }
3590
3498
  exports.applyTagMods = applyTagMods;
3591
- exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, function (props) { return ({
3499
+ exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, (props) => ({
3592
3500
  dropdownIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].foldingArrow,
3593
3501
  clearIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].clear,
3594
- }); });
3502
+ }));
3595
3503
 
3596
3504
 
3597
3505
  /***/ }),
@@ -3606,7 +3514,7 @@ exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, fu
3606
3514
  "use strict";
3607
3515
 
3608
3516
  Object.defineProperty(exports, "__esModule", { value: true });
3609
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3517
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3610
3518
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Avatar */ "./components/widgets/Avatar.tsx"), exports);
3611
3519
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Badge */ "./components/widgets/Badge.tsx"), exports);
3612
3520
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tag */ "./components/widgets/Tag.tsx"), exports);
@@ -3625,9 +3533,9 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
3625
3533
 
3626
3534
  Object.defineProperty(exports, "__esModule", { value: true });
3627
3535
  exports.getTextClasses = void 0;
3628
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3629
- var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ../assets/styles/text-layout.scss */ "./assets/styles/text-layout.scss"));
3630
- var defaultTextSettings = {
3536
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
3537
+ const css = (0, tslib_1.__importStar)(__webpack_require__(/*! ../assets/styles/text-layout.scss */ "./assets/styles/text-layout.scss"));
3538
+ const defaultTextSettings = {
3631
3539
  18: { lineHeight: 12, fontSize: 10 },
3632
3540
  24: { lineHeight: 18, fontSize: 12 },
3633
3541
  30: { lineHeight: 18, fontSize: 14 },
@@ -3643,12 +3551,12 @@ function getTextClasses(props, border) {
3643
3551
  css['font-size-' + props.fontSize],
3644
3552
  ];
3645
3553
  }
3646
- var setting = {
3554
+ const setting = {
3647
3555
  size: props.size,
3648
3556
  lineHeight: props.lineHeight || defaultTextSettings[props.size].lineHeight,
3649
3557
  fontSize: props.fontSize || defaultTextSettings[props.size].fontSize,
3650
3558
  };
3651
- var vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
3559
+ const vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
3652
3560
  return [
3653
3561
  css['line-height-' + setting.lineHeight],
3654
3562
  css['font-size-' + setting.fontSize],
@@ -4518,26 +4426,26 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
4518
4426
 
4519
4427
  Object.defineProperty(exports, "__esModule", { value: true });
4520
4428
  exports.systemIcons = void 0;
4521
- var btn_cross_12_svg_1 = __webpack_require__(/*! ./btn-cross-12.svg */ "./icons/btn-cross-12.svg");
4522
- var btn_cross_18_svg_1 = __webpack_require__(/*! ./btn-cross-18.svg */ "./icons/btn-cross-18.svg");
4523
- var btn_cross_24_svg_1 = __webpack_require__(/*! ./btn-cross-24.svg */ "./icons/btn-cross-24.svg");
4524
- var folding_arrow_12_svg_1 = __webpack_require__(/*! ./folding-arrow-12.svg */ "./icons/folding-arrow-12.svg");
4525
- var folding_arrow_18_svg_1 = __webpack_require__(/*! ./folding-arrow-18.svg */ "./icons/folding-arrow-18.svg");
4526
- var folding_arrow_24_svg_1 = __webpack_require__(/*! ./folding-arrow-24.svg */ "./icons/folding-arrow-24.svg");
4527
- var accept_12_svg_1 = __webpack_require__(/*! ./accept-12.svg */ "./icons/accept-12.svg");
4528
- var accept_18_svg_1 = __webpack_require__(/*! ./accept-18.svg */ "./icons/accept-18.svg");
4529
- var accept_24_svg_1 = __webpack_require__(/*! ./accept-24.svg */ "./icons/accept-24.svg");
4530
- var search_12_svg_1 = __webpack_require__(/*! ./search-12.svg */ "./icons/search-12.svg");
4531
- var search_18_svg_1 = __webpack_require__(/*! ./search-18.svg */ "./icons/search-18.svg");
4532
- var search_24_svg_1 = __webpack_require__(/*! ./search-24.svg */ "./icons/search-24.svg");
4533
- var calendar_12_svg_1 = __webpack_require__(/*! ./calendar-12.svg */ "./icons/calendar-12.svg");
4534
- var calendar_18_svg_1 = __webpack_require__(/*! ./calendar-18.svg */ "./icons/calendar-18.svg");
4535
- var calendar_24_svg_1 = __webpack_require__(/*! ./calendar-24.svg */ "./icons/calendar-24.svg");
4536
- var info_12_svg_1 = __webpack_require__(/*! ./info-12.svg */ "./icons/info-12.svg");
4537
- var info_18_svg_1 = __webpack_require__(/*! ./info-18.svg */ "./icons/info-18.svg");
4538
- var info_24_svg_1 = __webpack_require__(/*! ./info-24.svg */ "./icons/info-24.svg");
4539
- var help_fill_10_svg_1 = __webpack_require__(/*! ./help-fill-10.svg */ "./icons/help-fill-10.svg");
4540
- var help_fill_16_svg_1 = __webpack_require__(/*! ./help-fill-16.svg */ "./icons/help-fill-16.svg");
4429
+ const btn_cross_12_svg_1 = __webpack_require__(/*! ./btn-cross-12.svg */ "./icons/btn-cross-12.svg");
4430
+ const btn_cross_18_svg_1 = __webpack_require__(/*! ./btn-cross-18.svg */ "./icons/btn-cross-18.svg");
4431
+ const btn_cross_24_svg_1 = __webpack_require__(/*! ./btn-cross-24.svg */ "./icons/btn-cross-24.svg");
4432
+ const folding_arrow_12_svg_1 = __webpack_require__(/*! ./folding-arrow-12.svg */ "./icons/folding-arrow-12.svg");
4433
+ const folding_arrow_18_svg_1 = __webpack_require__(/*! ./folding-arrow-18.svg */ "./icons/folding-arrow-18.svg");
4434
+ const folding_arrow_24_svg_1 = __webpack_require__(/*! ./folding-arrow-24.svg */ "./icons/folding-arrow-24.svg");
4435
+ const accept_12_svg_1 = __webpack_require__(/*! ./accept-12.svg */ "./icons/accept-12.svg");
4436
+ const accept_18_svg_1 = __webpack_require__(/*! ./accept-18.svg */ "./icons/accept-18.svg");
4437
+ const accept_24_svg_1 = __webpack_require__(/*! ./accept-24.svg */ "./icons/accept-24.svg");
4438
+ const search_12_svg_1 = __webpack_require__(/*! ./search-12.svg */ "./icons/search-12.svg");
4439
+ const search_18_svg_1 = __webpack_require__(/*! ./search-18.svg */ "./icons/search-18.svg");
4440
+ const search_24_svg_1 = __webpack_require__(/*! ./search-24.svg */ "./icons/search-24.svg");
4441
+ const calendar_12_svg_1 = __webpack_require__(/*! ./calendar-12.svg */ "./icons/calendar-12.svg");
4442
+ const calendar_18_svg_1 = __webpack_require__(/*! ./calendar-18.svg */ "./icons/calendar-18.svg");
4443
+ const calendar_24_svg_1 = __webpack_require__(/*! ./calendar-24.svg */ "./icons/calendar-24.svg");
4444
+ const info_12_svg_1 = __webpack_require__(/*! ./info-12.svg */ "./icons/info-12.svg");
4445
+ const info_18_svg_1 = __webpack_require__(/*! ./info-18.svg */ "./icons/info-18.svg");
4446
+ const info_24_svg_1 = __webpack_require__(/*! ./info-24.svg */ "./icons/info-24.svg");
4447
+ const help_fill_10_svg_1 = __webpack_require__(/*! ./help-fill-10.svg */ "./icons/help-fill-10.svg");
4448
+ const help_fill_16_svg_1 = __webpack_require__(/*! ./help-fill-16.svg */ "./icons/help-fill-16.svg");
4541
4449
  exports.systemIcons = {
4542
4450
  '18': {
4543
4451
  clear: btn_cross_12_svg_1.ReactComponent,
@@ -5417,7 +5325,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
5417
5325
  "use strict";
5418
5326
 
5419
5327
  Object.defineProperty(exports, "__esModule", { value: true });
5420
- var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
5328
+ const tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
5421
5329
  __webpack_require__(/*! ./assets/styles/font-faces.scss */ "./assets/styles/font-faces.scss");
5422
5330
  (0, tslib_1.__exportStar)(__webpack_require__(/*! ./components */ "./components/index.ts"), exports);
5423
5331
  // export * from './i18n';