@epam/uui 4.6.0 → 4.6.2-select-all-fix.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/assets/styles/buttonLayout.scss +66 -66
- package/assets/styles/controlLayout.scss +11 -11
- package/assets/styles/effects.scss +8 -8
- package/assets/styles/font-faces.scss +51 -51
- package/assets/styles/fonts-variables.scss +24 -24
- package/assets/styles/icons.scss +18 -18
- package/assets/styles/index.scss +7 -7
- package/assets/styles/inputs.scss +69 -69
- package/assets/styles/layout-mixins.scss +8 -8
- package/assets/styles/prettifyScrollBar.scss +44 -44
- package/assets/styles/text-layout.scss +80 -80
- package/assets/styles/text-size.scss +37 -37
- package/assets/styles/typography.scss +3 -3
- package/assets/styles/variables/buttons/button.scss +70 -70
- package/assets/styles/variables/buttons/iconButton.scss +41 -41
- package/assets/styles/variables/buttons/linkButton.scss +6 -6
- package/assets/styles/variables/buttons/tabButton.scss +8 -8
- package/assets/styles/variables/inputs/checkbox.scss +18 -18
- package/assets/styles/variables/inputs/radioInput.scss +14 -14
- package/assets/styles/variables/inputs/switch.scss +24 -24
- package/assets/styles/variables/inputs/textInput.scss +21 -21
- package/assets/styles/variables/layout/accordion.scss +11 -11
- package/assets/styles/variables/layout/iconContainer.scss +22 -22
- package/assets/styles/variables/layout/labeledInput.scss +8 -8
- package/assets/styles/variables/layout/panel.scss +5 -5
- package/assets/styles/variables/layout/scrollBars.scss +3 -3
- package/assets/styles/variables/overlays/dropdownContainer.scss +4 -4
- package/assets/styles/variables/overlays/modals.scss +5 -5
- package/assets/styles/variables/overlays/notificationCard.scss +27 -27
- package/assets/styles/variables/overlays/tooltip.scss +8 -8
- package/assets/styles/variables/pickers/pickerToggler.scss +15 -15
- package/assets/styles/variables/typography/text.scss +19 -19
- package/assets/styles/variables/typography/textPlaceholder.scss +4 -4
- package/assets/styles/variables/widgets/badge.scss +50 -50
- package/assets/styles/variables/widgets/tag.scss +9 -9
- package/bundle-stats.json +1 -1
- package/components/buttons/Button.d.ts +13 -13
- package/components/buttons/IconButton.d.ts +11 -11
- package/components/buttons/LinkButton.d.ts +8 -8
- package/components/buttons/TabButton.d.ts +8 -8
- package/components/buttons/VerticalTabButton.d.ts +4 -4
- package/components/buttons/docs/button.doc.d.ts +5 -5
- package/components/buttons/docs/linkButton.doc.d.ts +5 -5
- package/components/buttons/helper.d.ts +2 -2
- package/components/buttons/index.d.ts +5 -5
- package/components/index.d.ts +9 -9
- package/components/inputs/Checkbox.d.ts +9 -9
- package/components/inputs/RadioInput.d.ts +7 -7
- package/components/inputs/Switch.d.ts +8 -8
- package/components/inputs/TextInput.d.ts +13 -13
- package/components/inputs/docs/checkbox.doc.d.ts +5 -5
- package/components/inputs/docs/radioInput.doc.d.ts +5 -5
- package/components/inputs/docs/switch.doc.d.ts +5 -5
- package/components/inputs/docs/textInput.doc.d.ts +5 -5
- package/components/inputs/index.d.ts +4 -4
- package/components/layout/Accordion.d.ts +8 -8
- package/components/layout/ControlGroup.d.ts +3 -3
- package/components/layout/FlexItems/FlexCell.d.ts +11 -11
- package/components/layout/FlexItems/FlexRow.d.ts +14 -14
- package/components/layout/FlexItems/FlexSpacer.d.ts +1 -1
- package/components/layout/FlexItems/Panel.d.ts +10 -10
- package/components/layout/FlexItems/index.d.ts +4 -4
- package/components/layout/IconContainer.d.ts +9 -9
- package/components/layout/LabeledInput.d.ts +7 -7
- package/components/layout/RadioGroup.d.ts +3 -3
- package/components/layout/ScrollBars.d.ts +5 -5
- package/components/layout/VirtualList.d.ts +7 -7
- package/components/layout/index.d.ts +8 -8
- package/components/overlays/Dropdown.d.ts +5 -5
- package/components/overlays/DropdownContainer.d.ts +6 -6
- package/components/overlays/DropdownMenu.d.ts +36 -36
- package/components/overlays/Modals.d.ts +23 -23
- package/components/overlays/NotificationCard.d.ts +30 -30
- package/components/overlays/Tooltip.d.ts +6 -6
- package/components/overlays/index.d.ts +6 -6
- package/components/pickers/DataPickerBody.d.ts +15 -15
- package/components/pickers/DataPickerFooter.d.ts +8 -8
- package/components/pickers/DataPickerHeader.d.ts +7 -7
- package/components/pickers/DataPickerRow.d.ts +15 -15
- package/components/pickers/MobileDropdownWrapper.d.ts +10 -10
- package/components/pickers/PickerInput.d.ts +16 -16
- package/components/pickers/PickerItem.d.ts +12 -12
- package/components/pickers/PickerList.d.ts +17 -17
- package/components/pickers/PickerListItem.d.ts +8 -8
- package/components/pickers/PickerModal.d.ts +15 -15
- package/components/pickers/PickerToggler.d.ts +8 -8
- package/components/pickers/docs/common.d.ts +28 -28
- package/components/pickers/docs/pickerInput.doc.d.ts +4 -4
- package/components/pickers/docs/pickerToggler.doc.d.ts +5 -5
- package/components/pickers/index.d.ts +11 -11
- package/components/tables/DataTableCell.d.ts +9 -9
- package/components/tables/Presets/Preset.d.ts +14 -14
- package/components/tables/Presets/Presets.d.ts +9 -9
- package/components/tables/Presets/index.d.ts +2 -2
- package/components/tables/index.d.ts +3 -3
- package/components/tables/types.d.ts +27 -27
- package/components/types.d.ts +28 -28
- package/components/typography/Text.d.ts +11 -11
- package/components/typography/TextPlaceholder.d.ts +7 -7
- package/components/typography/docs/textPlaceholder.doc.d.ts +4 -4
- package/components/typography/index.d.ts +2 -2
- package/components/widgets/Avatar.d.ts +3 -3
- package/components/widgets/Badge.d.ts +15 -15
- package/components/widgets/Tag.d.ts +8 -8
- package/components/widgets/index.d.ts +3 -3
- package/docs/common.d.ts +10 -10
- package/docs/contexts/DefaultContext.d.ts +6 -6
- package/docs/contexts/index.d.ts +1 -1
- package/docs/index.d.ts +2 -2
- package/helpers/textLayout.d.ts +8 -8
- package/i18n.d.ts +50 -50
- package/icons/icons.d.ts +3 -3
- package/index.d.ts +3 -3
- package/index.docs.d.ts +5 -5
- package/index.js +1776 -1776
- package/index.js.map +1 -1
- package/package.json +6 -6
- package/readme.md +4 -4
- package/styles.css +613 -613
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -638,7 +638,7 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
638
638
|
/***/ (function(module, exports, __webpack_require__) {
|
|
639
639
|
|
|
640
640
|
// extracted by mini-css-extract-plugin
|
|
641
|
-
module.exports = {"line-height-12":"
|
|
641
|
+
module.exports = {"line-height-12":"_3DM2P","lineHeight12":"_3DM2P","line-height-18":"_1U6ZB","lineHeight18":"_1U6ZB","line-height-24":"_2SzDk","lineHeight24":"_2SzDk","line-height-30":"_3PZeG","lineHeight30":"_3PZeG","font-size-10":"_3RbfR","fontSize10":"_3RbfR","font-size-12":"_2X2bJ","fontSize12":"_2X2bJ","font-size-14":"_2zP3m","fontSize14":"_2zP3m","font-size-16":"_2nTYO","fontSize16":"_2nTYO","font-size-18":"_3SzJ8","fontSize18":"_3SzJ8","font-size-24":"kpb-g","fontSize24":"kpb-g","v-padding-2":"_2ga2i","vPadding2":"_2ga2i","v-padding-3":"_2bSBN","vPadding3":"_2bSBN","v-padding-5":"_3KdsU","vPadding5":"_3KdsU","v-padding-6":"_5W_Ly","vPadding6":"_5W_Ly","v-padding-8":"_9iUli","vPadding8":"_9iUli","v-padding-9":"tDim7","vPadding9":"tDim7","v-padding-11":"_3IdFa","vPadding11":"_3IdFa","v-padding-12":"_1vzqx","vPadding12":"_1vzqx","v-padding-14":"_3VRXI","vPadding14":"_3VRXI","v-padding-15":"_2Ldxz","vPadding15":"_2Ldxz","v-padding-17":"_27WNm","vPadding17":"_27WNm","v-padding-18":"bKw5Q","vPadding18":"bKw5Q","v-padding-23":"_3Im9b","vPadding23":"_3Im9b","v-padding-24":"_1dK21","vPadding24":"_1dK21"};
|
|
642
642
|
|
|
643
643
|
/***/ }),
|
|
644
644
|
|
|
@@ -892,7 +892,7 @@ module.exports = {"line-height-12":"_16du_","lineHeight12":"_16du_","line-height
|
|
|
892
892
|
/***/ (function(module, exports, __webpack_require__) {
|
|
893
893
|
|
|
894
894
|
// extracted by mini-css-extract-plugin
|
|
895
|
-
module.exports = {"root":"
|
|
895
|
+
module.exports = {"root":"d6a-t","mode-solid":"_2V7_3","modeSolid":"_2V7_3","mode-outline":"_3KRIh","modeOutline":"_3KRIh","mode-none":"_2hhGL","modeNone":"_2hhGL","mode-ghost":"_19pmO","modeGhost":"_19pmO","size-24":"-v1rm","size24":"-v1rm","size-30":"_1fD3N","size30":"_1fD3N","size-36":"_3ZgLH","size36":"_3ZgLH","size-42":"_1_lh6","size42":"_1_lh6","size-48":"_1JMzr","size48":"_1JMzr"};
|
|
896
896
|
|
|
897
897
|
/***/ }),
|
|
898
898
|
|
|
@@ -904,31 +904,31 @@ module.exports = {"root":"srq9Y","mode-solid":"cWVCK","modeSolid":"cWVCK","mode-
|
|
|
904
904
|
/***/ (function(module, exports, __webpack_require__) {
|
|
905
905
|
|
|
906
906
|
"use strict";
|
|
907
|
-
|
|
908
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
909
|
-
exports.Button = exports.applyButtonMods = exports.allButtonColors = void 0;
|
|
910
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
911
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
912
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
913
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
914
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Button.scss */ "./components/buttons/Button.scss"));
|
|
915
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/button.scss */ "./assets/styles/variables/buttons/button.scss");
|
|
916
|
-
exports.allButtonColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
917
|
-
var defaultSize = '36';
|
|
918
|
-
function applyButtonMods(mods) {
|
|
919
|
-
return [
|
|
920
|
-
'button-vars',
|
|
921
|
-
"button-color-".concat(mods.color || 'primary'),
|
|
922
|
-
css.root,
|
|
923
|
-
css["size-".concat(mods.size || defaultSize)],
|
|
924
|
-
css["mode-".concat(mods.mode || 'solid')],
|
|
925
|
-
];
|
|
926
|
-
}
|
|
927
|
-
exports.applyButtonMods = applyButtonMods;
|
|
928
|
-
exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMods, function (props) { return ({
|
|
929
|
-
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
930
|
-
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
931
|
-
}); });
|
|
907
|
+
|
|
908
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
909
|
+
exports.Button = exports.applyButtonMods = exports.allButtonColors = void 0;
|
|
910
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
911
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
912
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
913
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
914
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Button.scss */ "./components/buttons/Button.scss"));
|
|
915
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/button.scss */ "./assets/styles/variables/buttons/button.scss");
|
|
916
|
+
exports.allButtonColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
917
|
+
var defaultSize = '36';
|
|
918
|
+
function applyButtonMods(mods) {
|
|
919
|
+
return [
|
|
920
|
+
'button-vars',
|
|
921
|
+
"button-color-".concat(mods.color || 'primary'),
|
|
922
|
+
css.root,
|
|
923
|
+
css["size-".concat(mods.size || defaultSize)],
|
|
924
|
+
css["mode-".concat(mods.mode || 'solid')],
|
|
925
|
+
];
|
|
926
|
+
}
|
|
927
|
+
exports.applyButtonMods = applyButtonMods;
|
|
928
|
+
exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMods, function (props) { return ({
|
|
929
|
+
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
930
|
+
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
931
|
+
}); });
|
|
932
932
|
|
|
933
933
|
|
|
934
934
|
/***/ }),
|
|
@@ -941,7 +941,7 @@ exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMo
|
|
|
941
941
|
/***/ (function(module, exports, __webpack_require__) {
|
|
942
942
|
|
|
943
943
|
// extracted by mini-css-extract-plugin
|
|
944
|
-
module.exports = {"root":"
|
|
944
|
+
module.exports = {"root":"_2gxEi"};
|
|
945
945
|
|
|
946
946
|
/***/ }),
|
|
947
947
|
|
|
@@ -953,22 +953,22 @@ module.exports = {"root":"_3Mjbx"};
|
|
|
953
953
|
/***/ (function(module, exports, __webpack_require__) {
|
|
954
954
|
|
|
955
955
|
"use strict";
|
|
956
|
-
|
|
957
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
958
|
-
exports.IconButton = exports.allIconColors = void 0;
|
|
959
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
960
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
961
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
962
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/iconButton.scss */ "./assets/styles/variables/buttons/iconButton.scss");
|
|
963
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconButton.scss */ "./components/buttons/IconButton.scss"));
|
|
964
|
-
exports.allIconColors = ['info', 'success', 'warning', 'error', 'secondary', 'default'];
|
|
965
|
-
function applyIconButtonMods(mods) {
|
|
966
|
-
return [
|
|
967
|
-
"icon-button-color-".concat(mods.color || 'default'),
|
|
968
|
-
css.root,
|
|
969
|
-
];
|
|
970
|
-
}
|
|
971
|
-
exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, applyIconButtonMods);
|
|
956
|
+
|
|
957
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
958
|
+
exports.IconButton = exports.allIconColors = void 0;
|
|
959
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
960
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
961
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
962
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/iconButton.scss */ "./assets/styles/variables/buttons/iconButton.scss");
|
|
963
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconButton.scss */ "./components/buttons/IconButton.scss"));
|
|
964
|
+
exports.allIconColors = ['info', 'success', 'warning', 'error', 'secondary', 'default'];
|
|
965
|
+
function applyIconButtonMods(mods) {
|
|
966
|
+
return [
|
|
967
|
+
"icon-button-color-".concat(mods.color || 'default'),
|
|
968
|
+
css.root,
|
|
969
|
+
];
|
|
970
|
+
}
|
|
971
|
+
exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, applyIconButtonMods);
|
|
972
972
|
|
|
973
973
|
|
|
974
974
|
/***/ }),
|
|
@@ -981,7 +981,7 @@ exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, apply
|
|
|
981
981
|
/***/ (function(module, exports, __webpack_require__) {
|
|
982
982
|
|
|
983
983
|
// extracted by mini-css-extract-plugin
|
|
984
|
-
module.exports = {"root":"
|
|
984
|
+
module.exports = {"root":"nmChl","size-18":"_2H0Oj","size18":"_2H0Oj","size-24":"_11v3l","size24":"_11v3l","size-30":"CySyM","size30":"CySyM","size-36":"srrvT","size36":"srrvT","size-42":"_15dYq","size42":"_15dYq","size-48":"_3STkO","size48":"_3STkO"};
|
|
985
985
|
|
|
986
986
|
/***/ }),
|
|
987
987
|
|
|
@@ -993,28 +993,28 @@ module.exports = {"root":"_3Rq_x","size-18":"_2PyXT","size18":"_2PyXT","size-24"
|
|
|
993
993
|
/***/ (function(module, exports, __webpack_require__) {
|
|
994
994
|
|
|
995
995
|
"use strict";
|
|
996
|
-
|
|
997
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
998
|
-
exports.LinkButton = void 0;
|
|
999
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1000
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1001
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1002
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1003
|
-
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1004
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LinkButton.scss */ "./components/buttons/LinkButton.scss"));
|
|
1005
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/linkButton.scss */ "./assets/styles/variables/buttons/linkButton.scss");
|
|
1006
|
-
var defaultSize = '36';
|
|
1007
|
-
function applyLinkButtonMods(mods) {
|
|
1008
|
-
return (0, tslib_1.__spreadArray)([
|
|
1009
|
-
'link-button-vars',
|
|
1010
|
-
css.root,
|
|
1011
|
-
css['size-' + (mods.size || defaultSize)]
|
|
1012
|
-
], (0, helper_1.getIconClass)(mods), true);
|
|
1013
|
-
}
|
|
1014
|
-
exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLinkButtonMods, function (props) { return ({
|
|
1015
|
-
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1016
|
-
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1017
|
-
}); });
|
|
996
|
+
|
|
997
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
998
|
+
exports.LinkButton = void 0;
|
|
999
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1000
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1001
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1002
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1003
|
+
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1004
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LinkButton.scss */ "./components/buttons/LinkButton.scss"));
|
|
1005
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/linkButton.scss */ "./assets/styles/variables/buttons/linkButton.scss");
|
|
1006
|
+
var defaultSize = '36';
|
|
1007
|
+
function applyLinkButtonMods(mods) {
|
|
1008
|
+
return (0, tslib_1.__spreadArray)([
|
|
1009
|
+
'link-button-vars',
|
|
1010
|
+
css.root,
|
|
1011
|
+
css['size-' + (mods.size || defaultSize)]
|
|
1012
|
+
], (0, helper_1.getIconClass)(mods), true);
|
|
1013
|
+
}
|
|
1014
|
+
exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLinkButtonMods, function (props) { return ({
|
|
1015
|
+
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1016
|
+
clearIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1017
|
+
}); });
|
|
1018
1018
|
|
|
1019
1019
|
|
|
1020
1020
|
/***/ }),
|
|
@@ -1027,7 +1027,7 @@ exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLink
|
|
|
1027
1027
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1028
1028
|
|
|
1029
1029
|
// extracted by mini-css-extract-plugin
|
|
1030
|
-
module.exports = {"root":"
|
|
1030
|
+
module.exports = {"root":"_2Obwg","uui-notification":"_2feU-","uuiNotification":"_2feU-","size-36":"_2IBWK","size36":"_2IBWK","size-48":"_1IAr5","size48":"_1IAr5","size-60":"_2UUOx","size60":"_2UUOx"};
|
|
1031
1031
|
|
|
1032
1032
|
/***/ }),
|
|
1033
1033
|
|
|
@@ -1039,25 +1039,25 @@ module.exports = {"root":"_3XiPh","uui-notification":"_25Muh","uuiNotification":
|
|
|
1039
1039
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1040
1040
|
|
|
1041
1041
|
"use strict";
|
|
1042
|
-
|
|
1043
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1044
|
-
exports.TabButton = void 0;
|
|
1045
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1046
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1047
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1048
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1049
|
-
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1050
|
-
__webpack_require__(/*! ../../assets/styles/variables/buttons/tabButton.scss */ "./assets/styles/variables/buttons/tabButton.scss");
|
|
1051
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TabButton.scss */ "./components/buttons/TabButton.scss"));
|
|
1052
|
-
function applyTabButtonMods(mods) {
|
|
1053
|
-
return (0, tslib_1.__spreadArray)([
|
|
1054
|
-
'tab-button-vars',
|
|
1055
|
-
css.root,
|
|
1056
|
-
css['size-' + (mods.size || '48')],
|
|
1057
|
-
mods.withNotify && css.uuiNotification
|
|
1058
|
-
], (0, helper_1.getIconClass)(mods), true);
|
|
1059
|
-
}
|
|
1060
|
-
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) })); });
|
|
1042
|
+
|
|
1043
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1044
|
+
exports.TabButton = void 0;
|
|
1045
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1046
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1047
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1048
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1049
|
+
var helper_1 = __webpack_require__(/*! ./helper */ "./components/buttons/helper.ts");
|
|
1050
|
+
__webpack_require__(/*! ../../assets/styles/variables/buttons/tabButton.scss */ "./assets/styles/variables/buttons/tabButton.scss");
|
|
1051
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TabButton.scss */ "./components/buttons/TabButton.scss"));
|
|
1052
|
+
function applyTabButtonMods(mods) {
|
|
1053
|
+
return (0, tslib_1.__spreadArray)([
|
|
1054
|
+
'tab-button-vars',
|
|
1055
|
+
css.root,
|
|
1056
|
+
css['size-' + (mods.size || '48')],
|
|
1057
|
+
mods.withNotify && css.uuiNotification
|
|
1058
|
+
], (0, helper_1.getIconClass)(mods), true);
|
|
1059
|
+
}
|
|
1060
|
+
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) })); });
|
|
1061
1061
|
|
|
1062
1062
|
|
|
1063
1063
|
/***/ }),
|
|
@@ -1070,7 +1070,7 @@ exports.TabButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyTabBu
|
|
|
1070
1070
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1071
1071
|
|
|
1072
1072
|
// extracted by mini-css-extract-plugin
|
|
1073
|
-
module.exports = {"root":"
|
|
1073
|
+
module.exports = {"root":"_1TuKl"};
|
|
1074
1074
|
|
|
1075
1075
|
/***/ }),
|
|
1076
1076
|
|
|
@@ -1082,19 +1082,19 @@ module.exports = {"root":"_2hVm2"};
|
|
|
1082
1082
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1083
1083
|
|
|
1084
1084
|
"use strict";
|
|
1085
|
-
|
|
1086
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1087
|
-
exports.VerticalTabButton = void 0;
|
|
1088
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1089
|
-
var VerticalTabButton_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./VerticalTabButton.scss */ "./components/buttons/VerticalTabButton.scss"));
|
|
1090
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1091
|
-
var TabButton_1 = __webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx");
|
|
1092
|
-
function applyVerticalTabButtonMods() {
|
|
1093
|
-
return [
|
|
1094
|
-
VerticalTabButton_scss_1.default.root,
|
|
1095
|
-
];
|
|
1096
|
-
}
|
|
1097
|
-
exports.VerticalTabButton = (0, uui_core_1.withMods)(TabButton_1.TabButton, applyVerticalTabButtonMods);
|
|
1085
|
+
|
|
1086
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1087
|
+
exports.VerticalTabButton = void 0;
|
|
1088
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1089
|
+
var VerticalTabButton_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./VerticalTabButton.scss */ "./components/buttons/VerticalTabButton.scss"));
|
|
1090
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1091
|
+
var TabButton_1 = __webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx");
|
|
1092
|
+
function applyVerticalTabButtonMods() {
|
|
1093
|
+
return [
|
|
1094
|
+
VerticalTabButton_scss_1.default.root,
|
|
1095
|
+
];
|
|
1096
|
+
}
|
|
1097
|
+
exports.VerticalTabButton = (0, uui_core_1.withMods)(TabButton_1.TabButton, applyVerticalTabButtonMods);
|
|
1098
1098
|
|
|
1099
1099
|
|
|
1100
1100
|
/***/ }),
|
|
@@ -1107,29 +1107,29 @@ exports.VerticalTabButton = (0, uui_core_1.withMods)(TabButton_1.TabButton, appl
|
|
|
1107
1107
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1108
1108
|
|
|
1109
1109
|
"use strict";
|
|
1110
|
-
|
|
1111
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1112
|
-
exports.getIconClass = void 0;
|
|
1113
|
-
function getIconClass(props) {
|
|
1114
|
-
var classList = {
|
|
1115
|
-
'has-left-icon': false,
|
|
1116
|
-
'has-right-icon': false,
|
|
1117
|
-
};
|
|
1118
|
-
if (props.onClear) {
|
|
1119
|
-
classList['has-right-icon'] = true;
|
|
1120
|
-
}
|
|
1121
|
-
if (props.isDropdown) {
|
|
1122
|
-
classList[props.dropdownIconPosition === 'left' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1123
|
-
}
|
|
1124
|
-
if (props.icon) {
|
|
1125
|
-
classList[props.iconPosition !== 'right' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1126
|
-
}
|
|
1127
|
-
return [
|
|
1128
|
-
classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon',
|
|
1129
|
-
classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon',
|
|
1130
|
-
];
|
|
1131
|
-
}
|
|
1132
|
-
exports.getIconClass = getIconClass;
|
|
1110
|
+
|
|
1111
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1112
|
+
exports.getIconClass = void 0;
|
|
1113
|
+
function getIconClass(props) {
|
|
1114
|
+
var classList = {
|
|
1115
|
+
'has-left-icon': false,
|
|
1116
|
+
'has-right-icon': false,
|
|
1117
|
+
};
|
|
1118
|
+
if (props.onClear) {
|
|
1119
|
+
classList['has-right-icon'] = true;
|
|
1120
|
+
}
|
|
1121
|
+
if (props.isDropdown) {
|
|
1122
|
+
classList[props.dropdownIconPosition === 'left' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1123
|
+
}
|
|
1124
|
+
if (props.icon) {
|
|
1125
|
+
classList[props.iconPosition !== 'right' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
1126
|
+
}
|
|
1127
|
+
return [
|
|
1128
|
+
classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon',
|
|
1129
|
+
classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon',
|
|
1130
|
+
];
|
|
1131
|
+
}
|
|
1132
|
+
exports.getIconClass = getIconClass;
|
|
1133
1133
|
|
|
1134
1134
|
|
|
1135
1135
|
/***/ }),
|
|
@@ -1142,14 +1142,14 @@ exports.getIconClass = getIconClass;
|
|
|
1142
1142
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1143
1143
|
|
|
1144
1144
|
"use strict";
|
|
1145
|
-
|
|
1146
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1147
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1148
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Button */ "./components/buttons/Button.tsx"), exports);
|
|
1149
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconButton */ "./components/buttons/IconButton.tsx"), exports);
|
|
1150
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LinkButton */ "./components/buttons/LinkButton.tsx"), exports);
|
|
1151
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx"), exports);
|
|
1152
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VerticalTabButton */ "./components/buttons/VerticalTabButton.tsx"), exports);
|
|
1145
|
+
|
|
1146
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1147
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1148
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Button */ "./components/buttons/Button.tsx"), exports);
|
|
1149
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconButton */ "./components/buttons/IconButton.tsx"), exports);
|
|
1150
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LinkButton */ "./components/buttons/LinkButton.tsx"), exports);
|
|
1151
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TabButton */ "./components/buttons/TabButton.tsx"), exports);
|
|
1152
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VerticalTabButton */ "./components/buttons/VerticalTabButton.tsx"), exports);
|
|
1153
1153
|
|
|
1154
1154
|
|
|
1155
1155
|
/***/ }),
|
|
@@ -1162,18 +1162,18 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1162
1162
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1163
1163
|
|
|
1164
1164
|
"use strict";
|
|
1165
|
-
|
|
1166
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1167
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1168
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./buttons */ "./components/buttons/index.ts"), exports);
|
|
1169
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./inputs */ "./components/inputs/index.ts"), exports);
|
|
1170
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./layout */ "./components/layout/index.ts"), exports);
|
|
1171
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./overlays */ "./components/overlays/index.ts"), exports);
|
|
1172
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./pickers */ "./components/pickers/index.ts"), exports);
|
|
1173
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./typography */ "./components/typography/index.ts"), exports);
|
|
1174
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./widgets */ "./components/widgets/index.ts"), exports);
|
|
1175
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./tables */ "./components/tables/index.ts"), exports);
|
|
1176
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/types.ts"), exports);
|
|
1165
|
+
|
|
1166
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1167
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1168
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./buttons */ "./components/buttons/index.ts"), exports);
|
|
1169
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./inputs */ "./components/inputs/index.ts"), exports);
|
|
1170
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./layout */ "./components/layout/index.ts"), exports);
|
|
1171
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./overlays */ "./components/overlays/index.ts"), exports);
|
|
1172
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./pickers */ "./components/pickers/index.ts"), exports);
|
|
1173
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./typography */ "./components/typography/index.ts"), exports);
|
|
1174
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./widgets */ "./components/widgets/index.ts"), exports);
|
|
1175
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./tables */ "./components/tables/index.ts"), exports);
|
|
1176
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/types.ts"), exports);
|
|
1177
1177
|
|
|
1178
1178
|
|
|
1179
1179
|
/***/ }),
|
|
@@ -1186,7 +1186,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1186
1186
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1187
1187
|
|
|
1188
1188
|
// extracted by mini-css-extract-plugin
|
|
1189
|
-
module.exports = {"root":"
|
|
1189
|
+
module.exports = {"root":"_239Br","size-18":"F79I2","size18":"F79I2","size-12":"UBmil","size12":"UBmil"};
|
|
1190
1190
|
|
|
1191
1191
|
/***/ }),
|
|
1192
1192
|
|
|
@@ -1198,30 +1198,30 @@ module.exports = {"root":"_1AaC_","size-18":"_1NSzd","size18":"_1NSzd","size-12"
|
|
|
1198
1198
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1199
1199
|
|
|
1200
1200
|
"use strict";
|
|
1201
|
-
|
|
1202
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1203
|
-
exports.Checkbox = exports.applyCheckboxMods = void 0;
|
|
1204
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1205
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1206
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1207
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Checkbox.scss */ "./components/inputs/Checkbox.scss"));
|
|
1208
|
-
var check_12_svg_1 = __webpack_require__(/*! ../../icons/check-12.svg */ "./icons/check-12.svg");
|
|
1209
|
-
var check_18_svg_1 = __webpack_require__(/*! ../../icons/check-18.svg */ "./icons/check-18.svg");
|
|
1210
|
-
var partly_select_12_svg_1 = __webpack_require__(/*! ../../icons/partly-select-12.svg */ "./icons/partly-select-12.svg");
|
|
1211
|
-
var partly_select_18_svg_1 = __webpack_require__(/*! ../../icons/partly-select-18.svg */ "./icons/partly-select-18.svg");
|
|
1212
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/checkbox.scss */ "./assets/styles/variables/inputs/checkbox.scss");
|
|
1213
|
-
function applyCheckboxMods(mods) {
|
|
1214
|
-
return [
|
|
1215
|
-
'checkbox-vars',
|
|
1216
|
-
css.root,
|
|
1217
|
-
css['size-' + (mods.size || '18')],
|
|
1218
|
-
];
|
|
1219
|
-
}
|
|
1220
|
-
exports.applyCheckboxMods = applyCheckboxMods;
|
|
1221
|
-
exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyCheckboxMods, function (props) { return ({
|
|
1222
|
-
icon: (props.size === '12') ? check_12_svg_1.ReactComponent : check_18_svg_1.ReactComponent,
|
|
1223
|
-
indeterminateIcon: (props.size === '12') ? partly_select_12_svg_1.ReactComponent : partly_select_18_svg_1.ReactComponent,
|
|
1224
|
-
}); });
|
|
1201
|
+
|
|
1202
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1203
|
+
exports.Checkbox = exports.applyCheckboxMods = void 0;
|
|
1204
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1205
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1206
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1207
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Checkbox.scss */ "./components/inputs/Checkbox.scss"));
|
|
1208
|
+
var check_12_svg_1 = __webpack_require__(/*! ../../icons/check-12.svg */ "./icons/check-12.svg");
|
|
1209
|
+
var check_18_svg_1 = __webpack_require__(/*! ../../icons/check-18.svg */ "./icons/check-18.svg");
|
|
1210
|
+
var partly_select_12_svg_1 = __webpack_require__(/*! ../../icons/partly-select-12.svg */ "./icons/partly-select-12.svg");
|
|
1211
|
+
var partly_select_18_svg_1 = __webpack_require__(/*! ../../icons/partly-select-18.svg */ "./icons/partly-select-18.svg");
|
|
1212
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/checkbox.scss */ "./assets/styles/variables/inputs/checkbox.scss");
|
|
1213
|
+
function applyCheckboxMods(mods) {
|
|
1214
|
+
return [
|
|
1215
|
+
'checkbox-vars',
|
|
1216
|
+
css.root,
|
|
1217
|
+
css['size-' + (mods.size || '18')],
|
|
1218
|
+
];
|
|
1219
|
+
}
|
|
1220
|
+
exports.applyCheckboxMods = applyCheckboxMods;
|
|
1221
|
+
exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyCheckboxMods, function (props) { return ({
|
|
1222
|
+
icon: (props.size === '12') ? check_12_svg_1.ReactComponent : check_18_svg_1.ReactComponent,
|
|
1223
|
+
indeterminateIcon: (props.size === '12') ? partly_select_12_svg_1.ReactComponent : partly_select_18_svg_1.ReactComponent,
|
|
1224
|
+
}); });
|
|
1225
1225
|
|
|
1226
1226
|
|
|
1227
1227
|
/***/ }),
|
|
@@ -1234,7 +1234,7 @@ exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyChec
|
|
|
1234
1234
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1235
1235
|
|
|
1236
1236
|
// extracted by mini-css-extract-plugin
|
|
1237
|
-
module.exports = {"root":"
|
|
1237
|
+
module.exports = {"root":"_2pO5i","size-18":"_7W-de","size18":"_7W-de","size-12":"_28l3R","size12":"_28l3R"};
|
|
1238
1238
|
|
|
1239
1239
|
/***/ }),
|
|
1240
1240
|
|
|
@@ -1246,23 +1246,23 @@ module.exports = {"root":"_1xnkv","size-18":"_2vYt_","size18":"_2vYt_","size-12"
|
|
|
1246
1246
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1247
1247
|
|
|
1248
1248
|
"use strict";
|
|
1249
|
-
|
|
1250
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1251
|
-
exports.RadioInput = void 0;
|
|
1252
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1253
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1254
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1255
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/radioInput.scss */ "./assets/styles/variables/inputs/radioInput.scss");
|
|
1256
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioInput.scss */ "./components/inputs/RadioInput.scss"));
|
|
1257
|
-
var radio_point_svg_1 = __webpack_require__(/*! ../../icons/radio-point.svg */ "./icons/radio-point.svg");
|
|
1258
|
-
function applyRadioInputMods(mods) {
|
|
1259
|
-
return [
|
|
1260
|
-
'radio-input-vars',
|
|
1261
|
-
css.root,
|
|
1262
|
-
css['size-' + (mods.size || '18')],
|
|
1263
|
-
];
|
|
1264
|
-
}
|
|
1265
|
-
exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, applyRadioInputMods, function () { return ({ icon: radio_point_svg_1.ReactComponent }); });
|
|
1249
|
+
|
|
1250
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1251
|
+
exports.RadioInput = void 0;
|
|
1252
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1253
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1254
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1255
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/radioInput.scss */ "./assets/styles/variables/inputs/radioInput.scss");
|
|
1256
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioInput.scss */ "./components/inputs/RadioInput.scss"));
|
|
1257
|
+
var radio_point_svg_1 = __webpack_require__(/*! ../../icons/radio-point.svg */ "./icons/radio-point.svg");
|
|
1258
|
+
function applyRadioInputMods(mods) {
|
|
1259
|
+
return [
|
|
1260
|
+
'radio-input-vars',
|
|
1261
|
+
css.root,
|
|
1262
|
+
css['size-' + (mods.size || '18')],
|
|
1263
|
+
];
|
|
1264
|
+
}
|
|
1265
|
+
exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, applyRadioInputMods, function () { return ({ icon: radio_point_svg_1.ReactComponent }); });
|
|
1266
1266
|
|
|
1267
1267
|
|
|
1268
1268
|
/***/ }),
|
|
@@ -1275,7 +1275,7 @@ exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, apply
|
|
|
1275
1275
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1276
1276
|
|
|
1277
1277
|
// extracted by mini-css-extract-plugin
|
|
1278
|
-
module.exports = {"root":"
|
|
1278
|
+
module.exports = {"root":"i3mOv","size-12":"_3lei-","size12":"_3lei-","size-18":"_1hMyM","size18":"_1hMyM","size-24":"_2W1ww","size24":"_2W1ww"};
|
|
1279
1279
|
|
|
1280
1280
|
/***/ }),
|
|
1281
1281
|
|
|
@@ -1287,23 +1287,23 @@ module.exports = {"root":"_2NMs_","size-12":"_13Ln1","size12":"_13Ln1","size-18"
|
|
|
1287
1287
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1288
1288
|
|
|
1289
1289
|
"use strict";
|
|
1290
|
-
|
|
1291
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1292
|
-
exports.Switch = exports.applySwitchMods = void 0;
|
|
1293
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1294
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1295
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1296
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Switch.scss */ "./components/inputs/Switch.scss"));
|
|
1297
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/switch.scss */ "./assets/styles/variables/inputs/switch.scss");
|
|
1298
|
-
function applySwitchMods(mods) {
|
|
1299
|
-
return [
|
|
1300
|
-
'switch-vars',
|
|
1301
|
-
css.root,
|
|
1302
|
-
css['size-' + (mods.size || '18')],
|
|
1303
|
-
];
|
|
1304
|
-
}
|
|
1305
|
-
exports.applySwitchMods = applySwitchMods;
|
|
1306
|
-
exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMods);
|
|
1290
|
+
|
|
1291
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1292
|
+
exports.Switch = exports.applySwitchMods = void 0;
|
|
1293
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1294
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1295
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1296
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Switch.scss */ "./components/inputs/Switch.scss"));
|
|
1297
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/switch.scss */ "./assets/styles/variables/inputs/switch.scss");
|
|
1298
|
+
function applySwitchMods(mods) {
|
|
1299
|
+
return [
|
|
1300
|
+
'switch-vars',
|
|
1301
|
+
css.root,
|
|
1302
|
+
css['size-' + (mods.size || '18')],
|
|
1303
|
+
];
|
|
1304
|
+
}
|
|
1305
|
+
exports.applySwitchMods = applySwitchMods;
|
|
1306
|
+
exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMods);
|
|
1307
1307
|
|
|
1308
1308
|
|
|
1309
1309
|
/***/ }),
|
|
@@ -1316,7 +1316,7 @@ exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMo
|
|
|
1316
1316
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1317
1317
|
|
|
1318
1318
|
// extracted by mini-css-extract-plugin
|
|
1319
|
-
module.exports = {"root":"
|
|
1319
|
+
module.exports = {"root":"_1sQHH","mode-form":"_3UK6W","modeForm":"_3UK6W","mode-cell":"_24fwj","modeCell":"_24fwj","size-24":"_1pLq-","size24":"_1pLq-","size-30":"_2Dk3w","size30":"_2Dk3w","size-36":"_27jOC","size36":"_27jOC","size-42":"_3PbM3","size42":"_3PbM3","size-48":"_38mie","size48":"_38mie"};
|
|
1320
1320
|
|
|
1321
1321
|
/***/ }),
|
|
1322
1322
|
|
|
@@ -1328,50 +1328,50 @@ module.exports = {"root":"EWDDJ","mode-form":"_17n32","modeForm":"_17n32","mode-
|
|
|
1328
1328
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1329
1329
|
|
|
1330
1330
|
"use strict";
|
|
1331
|
-
|
|
1332
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1333
|
-
exports.SearchInput = exports.TextInput = exports.applyTextInputMods = void 0;
|
|
1334
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1335
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
1336
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1337
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1338
|
-
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
1339
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1340
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextInput.scss */ "./components/inputs/TextInput.scss"));
|
|
1341
|
-
__webpack_require__(/*! ../../assets/styles/variables/inputs/textInput.scss */ "./assets/styles/variables/inputs/textInput.scss");
|
|
1342
|
-
var defaultSize = '36';
|
|
1343
|
-
var defaultMode = types_1.EditMode.FORM;
|
|
1344
|
-
function applyTextInputMods(mods) {
|
|
1345
|
-
return [
|
|
1346
|
-
'text-input-vars',
|
|
1347
|
-
css.root,
|
|
1348
|
-
css['size-' + (mods.size || defaultSize)],
|
|
1349
|
-
css['mode-' + (mods.mode || defaultMode)],
|
|
1350
|
-
];
|
|
1351
|
-
}
|
|
1352
|
-
exports.applyTextInputMods = applyTextInputMods;
|
|
1353
|
-
exports.TextInput = (0, uui_core_1.withMods)(uui_components_1.TextInput, applyTextInputMods, function (props) { return ({
|
|
1354
|
-
acceptIcon: icons_1.systemIcons[props.size || defaultSize].accept,
|
|
1355
|
-
cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1356
|
-
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1357
|
-
}); });
|
|
1358
|
-
var SearchInput = /** @class */ (function (_super) {
|
|
1359
|
-
(0, tslib_1.__extends)(SearchInput, _super);
|
|
1360
|
-
function SearchInput() {
|
|
1361
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1362
|
-
}
|
|
1363
|
-
SearchInput.prototype.render = function () {
|
|
1364
|
-
var _this = this;
|
|
1365
|
-
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
1366
|
-
var textInputProps = (0, tslib_1.__assign)({}, this.props);
|
|
1367
|
-
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1368
|
-
return react_1.default.createElement(uui_core_1.IEditableDebouncer, (0, tslib_1.__assign)({}, this.props, { render: (function (iEditable) {
|
|
1369
|
-
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));
|
|
1370
|
-
}) }));
|
|
1371
|
-
};
|
|
1372
|
-
return SearchInput;
|
|
1373
|
-
}(react_1.default.Component));
|
|
1374
|
-
exports.SearchInput = SearchInput;
|
|
1331
|
+
|
|
1332
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1333
|
+
exports.SearchInput = exports.TextInput = exports.applyTextInputMods = void 0;
|
|
1334
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1335
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
1336
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1337
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1338
|
+
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
1339
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1340
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextInput.scss */ "./components/inputs/TextInput.scss"));
|
|
1341
|
+
__webpack_require__(/*! ../../assets/styles/variables/inputs/textInput.scss */ "./assets/styles/variables/inputs/textInput.scss");
|
|
1342
|
+
var defaultSize = '36';
|
|
1343
|
+
var defaultMode = types_1.EditMode.FORM;
|
|
1344
|
+
function applyTextInputMods(mods) {
|
|
1345
|
+
return [
|
|
1346
|
+
'text-input-vars',
|
|
1347
|
+
css.root,
|
|
1348
|
+
css['size-' + (mods.size || defaultSize)],
|
|
1349
|
+
css['mode-' + (mods.mode || defaultMode)],
|
|
1350
|
+
];
|
|
1351
|
+
}
|
|
1352
|
+
exports.applyTextInputMods = applyTextInputMods;
|
|
1353
|
+
exports.TextInput = (0, uui_core_1.withMods)(uui_components_1.TextInput, applyTextInputMods, function (props) { return ({
|
|
1354
|
+
acceptIcon: icons_1.systemIcons[props.size || defaultSize].accept,
|
|
1355
|
+
cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear,
|
|
1356
|
+
dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow,
|
|
1357
|
+
}); });
|
|
1358
|
+
var SearchInput = /** @class */ (function (_super) {
|
|
1359
|
+
(0, tslib_1.__extends)(SearchInput, _super);
|
|
1360
|
+
function SearchInput() {
|
|
1361
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1362
|
+
}
|
|
1363
|
+
SearchInput.prototype.render = function () {
|
|
1364
|
+
var _this = this;
|
|
1365
|
+
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
1366
|
+
var textInputProps = (0, tslib_1.__assign)({}, this.props);
|
|
1367
|
+
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1368
|
+
return react_1.default.createElement(uui_core_1.IEditableDebouncer, (0, tslib_1.__assign)({}, this.props, { render: (function (iEditable) {
|
|
1369
|
+
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));
|
|
1370
|
+
}) }));
|
|
1371
|
+
};
|
|
1372
|
+
return SearchInput;
|
|
1373
|
+
}(react_1.default.Component));
|
|
1374
|
+
exports.SearchInput = SearchInput;
|
|
1375
1375
|
|
|
1376
1376
|
|
|
1377
1377
|
/***/ }),
|
|
@@ -1384,13 +1384,13 @@ exports.SearchInput = SearchInput;
|
|
|
1384
1384
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1385
1385
|
|
|
1386
1386
|
"use strict";
|
|
1387
|
-
|
|
1388
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1389
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1390
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Checkbox */ "./components/inputs/Checkbox.tsx"), exports);
|
|
1391
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioInput */ "./components/inputs/RadioInput.tsx"), exports);
|
|
1392
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Switch */ "./components/inputs/Switch.tsx"), exports);
|
|
1393
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextInput */ "./components/inputs/TextInput.tsx"), exports);
|
|
1387
|
+
|
|
1388
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1389
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1390
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Checkbox */ "./components/inputs/Checkbox.tsx"), exports);
|
|
1391
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioInput */ "./components/inputs/RadioInput.tsx"), exports);
|
|
1392
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Switch */ "./components/inputs/Switch.tsx"), exports);
|
|
1393
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextInput */ "./components/inputs/TextInput.tsx"), exports);
|
|
1394
1394
|
|
|
1395
1395
|
|
|
1396
1396
|
/***/ }),
|
|
@@ -1403,7 +1403,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1403
1403
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1404
1404
|
|
|
1405
1405
|
// extracted by mini-css-extract-plugin
|
|
1406
|
-
module.exports = {"root":"
|
|
1406
|
+
module.exports = {"root":"_19-mc","mode-block":"KGwfD","modeBlock":"KGwfD","mode-inline":"_3zi_V","modeInline":"_3zi_V","padding-0":"_2LXLE","padding0":"_2LXLE","padding-6":"_2svbb","padding6":"_2svbb","padding-12":"_2A5Ph","padding12":"_2A5Ph","padding-18":"_2EbP0","padding18":"_2EbP0"};
|
|
1407
1407
|
|
|
1408
1408
|
/***/ }),
|
|
1409
1409
|
|
|
@@ -1415,26 +1415,26 @@ module.exports = {"root":"_2bFj0","mode-block":"_3WDK0","modeBlock":"_3WDK0","mo
|
|
|
1415
1415
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1416
1416
|
|
|
1417
1417
|
"use strict";
|
|
1418
|
-
|
|
1419
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1420
|
-
exports.Accordion = void 0;
|
|
1421
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1422
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1423
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1424
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1425
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/accordion.scss */ "./assets/styles/variables/layout/accordion.scss");
|
|
1426
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Accordion.scss */ "./components/layout/Accordion.scss"));
|
|
1427
|
-
function applyAccordionMods(mods) {
|
|
1428
|
-
return [
|
|
1429
|
-
'accordion-vars',
|
|
1430
|
-
css.root,
|
|
1431
|
-
css['mode-' + (mods.mode || 'block')],
|
|
1432
|
-
mods.padding && css['padding-' + mods.padding],
|
|
1433
|
-
];
|
|
1434
|
-
}
|
|
1435
|
-
exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAccordionMods, function (mods) { return ({
|
|
1436
|
-
dropdownIcon: icons_1.systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
1437
|
-
}); });
|
|
1418
|
+
|
|
1419
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1420
|
+
exports.Accordion = void 0;
|
|
1421
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1422
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1423
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1424
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1425
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/accordion.scss */ "./assets/styles/variables/layout/accordion.scss");
|
|
1426
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Accordion.scss */ "./components/layout/Accordion.scss"));
|
|
1427
|
+
function applyAccordionMods(mods) {
|
|
1428
|
+
return [
|
|
1429
|
+
'accordion-vars',
|
|
1430
|
+
css.root,
|
|
1431
|
+
css['mode-' + (mods.mode || 'block')],
|
|
1432
|
+
mods.padding && css['padding-' + mods.padding],
|
|
1433
|
+
];
|
|
1434
|
+
}
|
|
1435
|
+
exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAccordionMods, function (mods) { return ({
|
|
1436
|
+
dropdownIcon: icons_1.systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
1437
|
+
}); });
|
|
1438
1438
|
|
|
1439
1439
|
|
|
1440
1440
|
/***/ }),
|
|
@@ -1447,7 +1447,7 @@ exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAc
|
|
|
1447
1447
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1448
1448
|
|
|
1449
1449
|
// extracted by mini-css-extract-plugin
|
|
1450
|
-
module.exports = {"root":"
|
|
1450
|
+
module.exports = {"root":"_1IxNb"};
|
|
1451
1451
|
|
|
1452
1452
|
/***/ }),
|
|
1453
1453
|
|
|
@@ -1459,14 +1459,14 @@ module.exports = {"root":"_1QnUD"};
|
|
|
1459
1459
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1460
1460
|
|
|
1461
1461
|
"use strict";
|
|
1462
|
-
|
|
1463
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1464
|
-
exports.ControlGroup = void 0;
|
|
1465
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1466
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./ControlGroup.scss */ "./components/layout/ControlGroup.scss"));
|
|
1467
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1468
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1469
|
-
exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, function () { return [css.root]; });
|
|
1462
|
+
|
|
1463
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1464
|
+
exports.ControlGroup = void 0;
|
|
1465
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1466
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./ControlGroup.scss */ "./components/layout/ControlGroup.scss"));
|
|
1467
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1468
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1469
|
+
exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, function () { return [css.root]; });
|
|
1470
1470
|
|
|
1471
1471
|
|
|
1472
1472
|
/***/ }),
|
|
@@ -1479,16 +1479,16 @@ exports.ControlGroup = (0, uui_core_1.withMods)(uui_components_1.ControlGroup, f
|
|
|
1479
1479
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1480
1480
|
|
|
1481
1481
|
"use strict";
|
|
1482
|
-
|
|
1483
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1484
|
-
exports.FlexCell = void 0;
|
|
1485
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1486
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1487
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1488
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1489
|
-
exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function (props) { return [
|
|
1490
|
-
css.flexCell,
|
|
1491
|
-
]; });
|
|
1482
|
+
|
|
1483
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1484
|
+
exports.FlexCell = void 0;
|
|
1485
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1486
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1487
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1488
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1489
|
+
exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function (props) { return [
|
|
1490
|
+
css.flexCell,
|
|
1491
|
+
]; });
|
|
1492
1492
|
|
|
1493
1493
|
|
|
1494
1494
|
/***/ }),
|
|
@@ -1501,7 +1501,7 @@ exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function
|
|
|
1501
1501
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1502
1502
|
|
|
1503
1503
|
// extracted by mini-css-extract-plugin
|
|
1504
|
-
module.exports = {"root":"
|
|
1504
|
+
module.exports = {"root":"_2bc3g","top-shadow":"_2yPa1","topShadow":"_2yPa1","size-24":"_2Bz-I","size24":"_2Bz-I","size-30":"_1Bs02","size30":"_1Bs02","size-36":"_2shlB","size36":"_2shlB","size-42":"H211Q","size42":"H211Q","size-48":"T8Cet","size48":"T8Cet","padding-6":"_1CJOi","padding6":"_1CJOi","padding-12":"_3QYPo","padding12":"_3QYPo","padding-18":"_1bYfn","padding18":"_1bYfn","padding-24":"_1vUMs","padding24":"_1vUMs","margin-24":"_1Ak7J","margin24":"_1Ak7J","margin-12":"_21ipv","margin12":"_21ipv","vPadding-12":"_3_Ja7","vPadding12":"_3_Ja7","vPadding-18":"_13Pl4","vPadding18":"_13Pl4","vPadding-24":"_2-Ynh","vPadding24":"_2-Ynh","vPadding-36":"_1Ckgr","vPadding36":"_1Ckgr","vPadding-48":"_1MRR3","vPadding48":"_1MRR3","spacing-6":"_3yFvr","spacing6":"_3yFvr","spacing-12":"_3GSUW","spacing12":"_3GSUW","spacing-18":"_1lJuV","spacing18":"_1lJuV","border-bottom":"_2Urr2","borderBottom":"_2Urr2"};
|
|
1505
1505
|
|
|
1506
1506
|
/***/ }),
|
|
1507
1507
|
|
|
@@ -1513,25 +1513,25 @@ module.exports = {"root":"_3zcH2","top-shadow":"_2GMaC","topShadow":"_2GMaC","si
|
|
|
1513
1513
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1514
1514
|
|
|
1515
1515
|
"use strict";
|
|
1516
|
-
|
|
1517
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1518
|
-
exports.FlexRow = void 0;
|
|
1519
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1520
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1521
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1522
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1523
|
-
exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (props) {
|
|
1524
|
-
return [
|
|
1525
|
-
css.root,
|
|
1526
|
-
props.size !== null && css['size-' + (props.size || '36')],
|
|
1527
|
-
props.padding && css['padding-' + props.padding],
|
|
1528
|
-
props.vPadding && css['vPadding-' + props.vPadding],
|
|
1529
|
-
props.margin && css['margin-' + props.margin],
|
|
1530
|
-
props.topShadow && css.topShadow,
|
|
1531
|
-
props.borderBottom && css['border-bottom'],
|
|
1532
|
-
props.spacing && css['spacing-' + props.spacing],
|
|
1533
|
-
];
|
|
1534
|
-
});
|
|
1516
|
+
|
|
1517
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1518
|
+
exports.FlexRow = void 0;
|
|
1519
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1520
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1521
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1522
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./FlexRow.scss */ "./components/layout/FlexItems/FlexRow.scss"));
|
|
1523
|
+
exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (props) {
|
|
1524
|
+
return [
|
|
1525
|
+
css.root,
|
|
1526
|
+
props.size !== null && css['size-' + (props.size || '36')],
|
|
1527
|
+
props.padding && css['padding-' + props.padding],
|
|
1528
|
+
props.vPadding && css['vPadding-' + props.vPadding],
|
|
1529
|
+
props.margin && css['margin-' + props.margin],
|
|
1530
|
+
props.topShadow && css.topShadow,
|
|
1531
|
+
props.borderBottom && css['border-bottom'],
|
|
1532
|
+
props.spacing && css['spacing-' + props.spacing],
|
|
1533
|
+
];
|
|
1534
|
+
});
|
|
1535
1535
|
|
|
1536
1536
|
|
|
1537
1537
|
/***/ }),
|
|
@@ -1544,11 +1544,11 @@ exports.FlexRow = (0, uui_core_1.withMods)(uui_components_1.FlexRow, function (p
|
|
|
1544
1544
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1545
1545
|
|
|
1546
1546
|
"use strict";
|
|
1547
|
-
|
|
1548
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1549
|
-
exports.FlexSpacer = void 0;
|
|
1550
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1551
|
-
exports.FlexSpacer = uui_components_1.FlexSpacer;
|
|
1547
|
+
|
|
1548
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1549
|
+
exports.FlexSpacer = void 0;
|
|
1550
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1551
|
+
exports.FlexSpacer = uui_components_1.FlexSpacer;
|
|
1552
1552
|
|
|
1553
1553
|
|
|
1554
1554
|
/***/ }),
|
|
@@ -1561,7 +1561,7 @@ exports.FlexSpacer = uui_components_1.FlexSpacer;
|
|
|
1561
1561
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1562
1562
|
|
|
1563
1563
|
// extracted by mini-css-extract-plugin
|
|
1564
|
-
module.exports = {"root":"
|
|
1564
|
+
module.exports = {"root":"_2_JPr","background":"_3evR2","margin-24":"hq_A_","margin24":"hq_A_","padding-12":"LCOPD","padding12":"LCOPD","padding-24":"_3GG_G","padding24":"_3GG_G","shadow":"_4_McR"};
|
|
1565
1565
|
|
|
1566
1566
|
/***/ }),
|
|
1567
1567
|
|
|
@@ -1573,21 +1573,21 @@ module.exports = {"root":"_3AQyv","background":"KDhL6","margin-24":"_2uVPu","mar
|
|
|
1573
1573
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1574
1574
|
|
|
1575
1575
|
"use strict";
|
|
1576
|
-
|
|
1577
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1578
|
-
exports.Panel = void 0;
|
|
1579
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1580
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1581
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1582
|
-
__webpack_require__(/*! ../../../assets/styles/variables/layout/panel.scss */ "./assets/styles/variables/layout/panel.scss");
|
|
1583
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Panel.scss */ "./components/layout/FlexItems/Panel.scss"));
|
|
1584
|
-
exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (props) { return [
|
|
1585
|
-
'panel-vars',
|
|
1586
|
-
css.root,
|
|
1587
|
-
props.shadow && css.shadow,
|
|
1588
|
-
props.background && css.background,
|
|
1589
|
-
props.margin && css['margin-' + props.margin],
|
|
1590
|
-
]; });
|
|
1576
|
+
|
|
1577
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1578
|
+
exports.Panel = void 0;
|
|
1579
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1580
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1581
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1582
|
+
__webpack_require__(/*! ../../../assets/styles/variables/layout/panel.scss */ "./assets/styles/variables/layout/panel.scss");
|
|
1583
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Panel.scss */ "./components/layout/FlexItems/Panel.scss"));
|
|
1584
|
+
exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (props) { return [
|
|
1585
|
+
'panel-vars',
|
|
1586
|
+
css.root,
|
|
1587
|
+
props.shadow && css.shadow,
|
|
1588
|
+
props.background && css.background,
|
|
1589
|
+
props.margin && css['margin-' + props.margin],
|
|
1590
|
+
]; });
|
|
1591
1591
|
|
|
1592
1592
|
|
|
1593
1593
|
/***/ }),
|
|
@@ -1600,13 +1600,13 @@ exports.Panel = (0, uui_core_1.withMods)(uui_components_1.VPanel, function (prop
|
|
|
1600
1600
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1601
1601
|
|
|
1602
1602
|
"use strict";
|
|
1603
|
-
|
|
1604
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1605
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1606
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexCell */ "./components/layout/FlexItems/FlexCell.tsx"), exports);
|
|
1607
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexRow */ "./components/layout/FlexItems/FlexRow.tsx"), exports);
|
|
1608
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexSpacer */ "./components/layout/FlexItems/FlexSpacer.tsx"), exports);
|
|
1609
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Panel */ "./components/layout/FlexItems/Panel.tsx"), exports);
|
|
1603
|
+
|
|
1604
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1605
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1606
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexCell */ "./components/layout/FlexItems/FlexCell.tsx"), exports);
|
|
1607
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexRow */ "./components/layout/FlexItems/FlexRow.tsx"), exports);
|
|
1608
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexSpacer */ "./components/layout/FlexItems/FlexSpacer.tsx"), exports);
|
|
1609
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Panel */ "./components/layout/FlexItems/Panel.tsx"), exports);
|
|
1610
1610
|
|
|
1611
1611
|
|
|
1612
1612
|
/***/ }),
|
|
@@ -1619,7 +1619,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1619
1619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1620
1620
|
|
|
1621
1621
|
// extracted by mini-css-extract-plugin
|
|
1622
|
-
module.exports = {"root":"
|
|
1622
|
+
module.exports = {"root":"UsvX6"};
|
|
1623
1623
|
|
|
1624
1624
|
/***/ }),
|
|
1625
1625
|
|
|
@@ -1631,22 +1631,22 @@ module.exports = {"root":"_1wBJS"};
|
|
|
1631
1631
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1632
1632
|
|
|
1633
1633
|
"use strict";
|
|
1634
|
-
|
|
1635
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1636
|
-
exports.IconContainer = exports.applyIconContainerMods = void 0;
|
|
1637
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1638
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1639
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1640
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconContainer.scss */ "./components/layout/IconContainer.scss"));
|
|
1641
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/iconContainer.scss */ "./assets/styles/variables/layout/iconContainer.scss");
|
|
1642
|
-
function applyIconContainerMods(mods) {
|
|
1643
|
-
return [
|
|
1644
|
-
"icon-container-color-".concat(mods.color || 'default'),
|
|
1645
|
-
css.root,
|
|
1646
|
-
];
|
|
1647
|
-
}
|
|
1648
|
-
exports.applyIconContainerMods = applyIconContainerMods;
|
|
1649
|
-
exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer, applyIconContainerMods, function () { return ({ tabIndex: 0 }); });
|
|
1634
|
+
|
|
1635
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1636
|
+
exports.IconContainer = exports.applyIconContainerMods = void 0;
|
|
1637
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1638
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1639
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1640
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./IconContainer.scss */ "./components/layout/IconContainer.scss"));
|
|
1641
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/iconContainer.scss */ "./assets/styles/variables/layout/iconContainer.scss");
|
|
1642
|
+
function applyIconContainerMods(mods) {
|
|
1643
|
+
return [
|
|
1644
|
+
"icon-container-color-".concat(mods.color || 'default'),
|
|
1645
|
+
css.root,
|
|
1646
|
+
];
|
|
1647
|
+
}
|
|
1648
|
+
exports.applyIconContainerMods = applyIconContainerMods;
|
|
1649
|
+
exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer, applyIconContainerMods, function () { return ({ tabIndex: 0 }); });
|
|
1650
1650
|
|
|
1651
1651
|
|
|
1652
1652
|
/***/ }),
|
|
@@ -1659,7 +1659,7 @@ exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer,
|
|
|
1659
1659
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1660
1660
|
|
|
1661
1661
|
// extracted by mini-css-extract-plugin
|
|
1662
|
-
module.exports = {"root":"
|
|
1662
|
+
module.exports = {"root":"-tDyR","size-24":"_-9c8L","size24":"_-9c8L","size-30":"_38IiU","size30":"_38IiU","size-36":"_3KbpD","size36":"_3KbpD","size-42":"_1bljF","size42":"_1bljF","size-48":"_1P7Vp","size48":"_1P7Vp"};
|
|
1663
1663
|
|
|
1664
1664
|
/***/ }),
|
|
1665
1665
|
|
|
@@ -1671,28 +1671,28 @@ module.exports = {"root":"_1AtsR","size-24":"E52hK","size24":"E52hK","size-30":"
|
|
|
1671
1671
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1672
1672
|
|
|
1673
1673
|
"use strict";
|
|
1674
|
-
|
|
1675
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1676
|
-
exports.LabeledInput = void 0;
|
|
1677
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1678
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1679
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1680
|
-
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
1681
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1682
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/labeledInput.scss */ "./assets/styles/variables/layout/labeledInput.scss");
|
|
1683
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LabeledInput.scss */ "./components/layout/LabeledInput.scss"));
|
|
1684
|
-
var defaultSize = '36';
|
|
1685
|
-
function applyLabeledInputMods(mods) {
|
|
1686
|
-
return [
|
|
1687
|
-
'labeled-input-color',
|
|
1688
|
-
css.root,
|
|
1689
|
-
css['size-' + (mods.size || defaultSize)],
|
|
1690
|
-
];
|
|
1691
|
-
}
|
|
1692
|
-
exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, applyLabeledInputMods, function (props) { return ({
|
|
1693
|
-
Tooltip: overlays_1.Tooltip,
|
|
1694
|
-
infoIcon: icons_1.systemIcons[props.size || defaultSize].help,
|
|
1695
|
-
}); });
|
|
1674
|
+
|
|
1675
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1676
|
+
exports.LabeledInput = void 0;
|
|
1677
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1678
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1679
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1680
|
+
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
1681
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1682
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/labeledInput.scss */ "./assets/styles/variables/layout/labeledInput.scss");
|
|
1683
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./LabeledInput.scss */ "./components/layout/LabeledInput.scss"));
|
|
1684
|
+
var defaultSize = '36';
|
|
1685
|
+
function applyLabeledInputMods(mods) {
|
|
1686
|
+
return [
|
|
1687
|
+
'labeled-input-color',
|
|
1688
|
+
css.root,
|
|
1689
|
+
css['size-' + (mods.size || defaultSize)],
|
|
1690
|
+
];
|
|
1691
|
+
}
|
|
1692
|
+
exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, applyLabeledInputMods, function (props) { return ({
|
|
1693
|
+
Tooltip: overlays_1.Tooltip,
|
|
1694
|
+
infoIcon: icons_1.systemIcons[props.size || defaultSize].help,
|
|
1695
|
+
}); });
|
|
1696
1696
|
|
|
1697
1697
|
|
|
1698
1698
|
/***/ }),
|
|
@@ -1705,7 +1705,7 @@ exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, a
|
|
|
1705
1705
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1706
1706
|
|
|
1707
1707
|
// extracted by mini-css-extract-plugin
|
|
1708
|
-
module.exports = {"root":"
|
|
1708
|
+
module.exports = {"root":"sjoEL"};
|
|
1709
1709
|
|
|
1710
1710
|
/***/ }),
|
|
1711
1711
|
|
|
@@ -1717,15 +1717,15 @@ module.exports = {"root":"_1mJll"};
|
|
|
1717
1717
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1718
1718
|
|
|
1719
1719
|
"use strict";
|
|
1720
|
-
|
|
1721
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1722
|
-
exports.RadioGroup = void 0;
|
|
1723
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1724
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1725
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1726
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1727
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioGroup.scss */ "./components/layout/RadioGroup.scss"));
|
|
1728
|
-
exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, function () { return [css.root]; }, function () { return ({ RadioInput: inputs_1.RadioInput }); });
|
|
1720
|
+
|
|
1721
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1722
|
+
exports.RadioGroup = void 0;
|
|
1723
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1724
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1725
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1726
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1727
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./RadioGroup.scss */ "./components/layout/RadioGroup.scss"));
|
|
1728
|
+
exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, function () { return [css.root]; }, function () { return ({ RadioInput: inputs_1.RadioInput }); });
|
|
1729
1729
|
|
|
1730
1730
|
|
|
1731
1731
|
/***/ }),
|
|
@@ -1749,19 +1749,19 @@ exports.RadioGroup = (0, uui_core_1.withMods)(uui_components_1.RadioGroup, funct
|
|
|
1749
1749
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1750
1750
|
|
|
1751
1751
|
"use strict";
|
|
1752
|
-
|
|
1753
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1754
|
-
exports.ScrollBars = void 0;
|
|
1755
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1756
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1757
|
-
__webpack_require__(/*! ./ScrollBars.scss */ "./components/layout/ScrollBars.scss");
|
|
1758
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1759
|
-
function applyScrollBarsMods() {
|
|
1760
|
-
return [
|
|
1761
|
-
'scroll-bars-vars',
|
|
1762
|
-
];
|
|
1763
|
-
}
|
|
1764
|
-
exports.ScrollBars = (0, uui_core_1.withMods)(uui_components_1.ScrollBars, applyScrollBarsMods);
|
|
1752
|
+
|
|
1753
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1754
|
+
exports.ScrollBars = void 0;
|
|
1755
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1756
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1757
|
+
__webpack_require__(/*! ./ScrollBars.scss */ "./components/layout/ScrollBars.scss");
|
|
1758
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1759
|
+
function applyScrollBarsMods() {
|
|
1760
|
+
return [
|
|
1761
|
+
'scroll-bars-vars',
|
|
1762
|
+
];
|
|
1763
|
+
}
|
|
1764
|
+
exports.ScrollBars = (0, uui_core_1.withMods)(uui_components_1.ScrollBars, applyScrollBarsMods);
|
|
1765
1765
|
|
|
1766
1766
|
|
|
1767
1767
|
/***/ }),
|
|
@@ -1785,19 +1785,19 @@ exports.ScrollBars = (0, uui_core_1.withMods)(uui_components_1.ScrollBars, apply
|
|
|
1785
1785
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1786
1786
|
|
|
1787
1787
|
"use strict";
|
|
1788
|
-
|
|
1789
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1790
|
-
exports.VirtualList = void 0;
|
|
1791
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1792
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1793
|
-
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1794
|
-
__webpack_require__(/*! ./VirtualList.scss */ "./components/layout/VirtualList.scss");
|
|
1795
|
-
function applyVirtualListMods() {
|
|
1796
|
-
return [
|
|
1797
|
-
'scroll-bars-vars',
|
|
1798
|
-
];
|
|
1799
|
-
}
|
|
1800
|
-
exports.VirtualList = (0, uui_core_1.withMods)(uui_components_1.VirtualList, applyVirtualListMods);
|
|
1788
|
+
|
|
1789
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1790
|
+
exports.VirtualList = void 0;
|
|
1791
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1792
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1793
|
+
__webpack_require__(/*! ../../assets/styles/variables/layout/scrollBars.scss */ "./assets/styles/variables/layout/scrollBars.scss");
|
|
1794
|
+
__webpack_require__(/*! ./VirtualList.scss */ "./components/layout/VirtualList.scss");
|
|
1795
|
+
function applyVirtualListMods() {
|
|
1796
|
+
return [
|
|
1797
|
+
'scroll-bars-vars',
|
|
1798
|
+
];
|
|
1799
|
+
}
|
|
1800
|
+
exports.VirtualList = (0, uui_core_1.withMods)(uui_components_1.VirtualList, applyVirtualListMods);
|
|
1801
1801
|
|
|
1802
1802
|
|
|
1803
1803
|
/***/ }),
|
|
@@ -1810,17 +1810,17 @@ exports.VirtualList = (0, uui_core_1.withMods)(uui_components_1.VirtualList, app
|
|
|
1810
1810
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1811
1811
|
|
|
1812
1812
|
"use strict";
|
|
1813
|
-
|
|
1814
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1815
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1816
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Accordion */ "./components/layout/Accordion.tsx"), exports);
|
|
1817
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ControlGroup */ "./components/layout/ControlGroup.tsx"), exports);
|
|
1818
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexItems */ "./components/layout/FlexItems/index.ts"), exports);
|
|
1819
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconContainer */ "./components/layout/IconContainer.tsx"), exports);
|
|
1820
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LabeledInput */ "./components/layout/LabeledInput.tsx"), exports);
|
|
1821
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioGroup */ "./components/layout/RadioGroup.tsx"), exports);
|
|
1822
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ScrollBars */ "./components/layout/ScrollBars.tsx"), exports);
|
|
1823
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VirtualList */ "./components/layout/VirtualList.tsx"), exports);
|
|
1813
|
+
|
|
1814
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1815
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1816
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Accordion */ "./components/layout/Accordion.tsx"), exports);
|
|
1817
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ControlGroup */ "./components/layout/ControlGroup.tsx"), exports);
|
|
1818
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./FlexItems */ "./components/layout/FlexItems/index.ts"), exports);
|
|
1819
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IconContainer */ "./components/layout/IconContainer.tsx"), exports);
|
|
1820
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./LabeledInput */ "./components/layout/LabeledInput.tsx"), exports);
|
|
1821
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./RadioGroup */ "./components/layout/RadioGroup.tsx"), exports);
|
|
1822
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./ScrollBars */ "./components/layout/ScrollBars.tsx"), exports);
|
|
1823
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./VirtualList */ "./components/layout/VirtualList.tsx"), exports);
|
|
1824
1824
|
|
|
1825
1825
|
|
|
1826
1826
|
/***/ }),
|
|
@@ -1833,23 +1833,23 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1833
1833
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1834
1834
|
|
|
1835
1835
|
"use strict";
|
|
1836
|
-
|
|
1837
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1838
|
-
exports.Dropdown = void 0;
|
|
1839
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1840
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1841
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1842
|
-
var Dropdown = /** @class */ (function (_super) {
|
|
1843
|
-
(0, tslib_1.__extends)(Dropdown, _super);
|
|
1844
|
-
function Dropdown() {
|
|
1845
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1846
|
-
}
|
|
1847
|
-
Dropdown.prototype.render = function () {
|
|
1848
|
-
return (React.createElement(uui_components_1.Dropdown, (0, tslib_1.__assign)({}, this.props)));
|
|
1849
|
-
};
|
|
1850
|
-
return Dropdown;
|
|
1851
|
-
}(React.Component));
|
|
1852
|
-
exports.Dropdown = Dropdown;
|
|
1836
|
+
|
|
1837
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1838
|
+
exports.Dropdown = void 0;
|
|
1839
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1840
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1841
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1842
|
+
var Dropdown = /** @class */ (function (_super) {
|
|
1843
|
+
(0, tslib_1.__extends)(Dropdown, _super);
|
|
1844
|
+
function Dropdown() {
|
|
1845
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1846
|
+
}
|
|
1847
|
+
Dropdown.prototype.render = function () {
|
|
1848
|
+
return (React.createElement(uui_components_1.Dropdown, (0, tslib_1.__assign)({}, this.props)));
|
|
1849
|
+
};
|
|
1850
|
+
return Dropdown;
|
|
1851
|
+
}(React.Component));
|
|
1852
|
+
exports.Dropdown = Dropdown;
|
|
1853
1853
|
|
|
1854
1854
|
|
|
1855
1855
|
/***/ }),
|
|
@@ -1862,7 +1862,7 @@ exports.Dropdown = Dropdown;
|
|
|
1862
1862
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1863
1863
|
|
|
1864
1864
|
// extracted by mini-css-extract-plugin
|
|
1865
|
-
module.exports = {"root":"
|
|
1865
|
+
module.exports = {"root":"_3LIbc"};
|
|
1866
1866
|
|
|
1867
1867
|
/***/ }),
|
|
1868
1868
|
|
|
@@ -1874,21 +1874,21 @@ module.exports = {"root":"_2_FxU"};
|
|
|
1874
1874
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1875
1875
|
|
|
1876
1876
|
"use strict";
|
|
1877
|
-
|
|
1878
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1879
|
-
exports.DropdownContainer = void 0;
|
|
1880
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1881
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1882
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1883
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/dropdownContainer.scss */ "./assets/styles/variables/overlays/dropdownContainer.scss");
|
|
1884
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownContainer.scss */ "./components/overlays/DropdownContainer.scss"));
|
|
1885
|
-
function applyDropdownContainerMods(mods) {
|
|
1886
|
-
return [
|
|
1887
|
-
'dropdown-container-vars',
|
|
1888
|
-
css.root,
|
|
1889
|
-
];
|
|
1890
|
-
}
|
|
1891
|
-
exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownContainer, applyDropdownContainerMods);
|
|
1877
|
+
|
|
1878
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1879
|
+
exports.DropdownContainer = void 0;
|
|
1880
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1881
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1882
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1883
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/dropdownContainer.scss */ "./assets/styles/variables/overlays/dropdownContainer.scss");
|
|
1884
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownContainer.scss */ "./components/overlays/DropdownContainer.scss"));
|
|
1885
|
+
function applyDropdownContainerMods(mods) {
|
|
1886
|
+
return [
|
|
1887
|
+
'dropdown-container-vars',
|
|
1888
|
+
css.root,
|
|
1889
|
+
];
|
|
1890
|
+
}
|
|
1891
|
+
exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownContainer, applyDropdownContainerMods);
|
|
1892
1892
|
|
|
1893
1893
|
|
|
1894
1894
|
/***/ }),
|
|
@@ -1901,7 +1901,7 @@ exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownCo
|
|
|
1901
1901
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1902
1902
|
|
|
1903
1903
|
// extracted by mini-css-extract-plugin
|
|
1904
|
-
module.exports = {"menuRoot":"
|
|
1904
|
+
module.exports = {"menuRoot":"p7mnd","bodyRoot":"_2vrIA","submenuRootItem":"_3F7vN","iconAfter":"_1M1TP","iconCheck":"KOd2t","splitterRoot":"_1Sw4f","splitter":"P1vv6","headerRoot":"_2rT51","itemRoot":"_4Y0sF","icon":"_10MRt","link":"CJiU3"};
|
|
1905
1905
|
|
|
1906
1906
|
/***/ }),
|
|
1907
1907
|
|
|
@@ -1913,136 +1913,136 @@ module.exports = {"menuRoot":"_33aFx","bodyRoot":"uX3PA","submenuRootItem":"_1KU
|
|
|
1913
1913
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1914
1914
|
|
|
1915
1915
|
"use strict";
|
|
1916
|
-
|
|
1917
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1918
|
-
exports.DropdownMenuSwitchButton = exports.DropdownSubMenu = exports.DropdownMenuHeader = exports.DropdownMenuSplitter = exports.DropdownMenuButton = exports.DropdownMenuBody = exports.DropdownControlKeys = void 0;
|
|
1919
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1920
|
-
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1921
|
-
var react_focus_lock_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react-focus-lock */ "react-focus-lock"));
|
|
1922
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1923
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1924
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1925
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1926
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownMenu.scss */ "./components/overlays/DropdownMenu.scss"));
|
|
1927
|
-
var icons = icons_1.systemIcons['36'];
|
|
1928
|
-
exports.DropdownControlKeys = {
|
|
1929
|
-
ENTER: 'Enter',
|
|
1930
|
-
ESCAPE: 'Escape',
|
|
1931
|
-
LEFT_ARROW: 'ArrowLeft',
|
|
1932
|
-
RIGHT_ARROW: 'ArrowRight',
|
|
1933
|
-
UP_ARROW: 'ArrowUp',
|
|
1934
|
-
DOWN_ARROW: 'ArrowDown',
|
|
1935
|
-
};
|
|
1936
|
-
var DropdownMenuContainer = function (_a) {
|
|
1937
|
-
var onClose = _a.onClose, _b = _a.closeOnKey, closeOnKey = _b === void 0 ? exports.DropdownControlKeys.ESCAPE : _b, props = (0, tslib_1.__rest)(_a, ["onClose", "closeOnKey"]);
|
|
1938
|
-
var menuRef = (0, react_1.useRef)(null);
|
|
1939
|
-
var _c = (0, react_1.useState)(-1), currentlyFocused = _c[0], setFocused = _c[1];
|
|
1940
|
-
var menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll("[role=\"menuitem\"]:not(.".concat(uui_core_1.uuiMod.disabled, ")"))) : [];
|
|
1941
|
-
(0, react_1.useEffect)(function () {
|
|
1942
|
-
var _a;
|
|
1943
|
-
(_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1944
|
-
}, [menuRef.current]);
|
|
1945
|
-
var changeFocus = function (nextFocusedIndex) {
|
|
1946
|
-
if (menuItems.length > 0) {
|
|
1947
|
-
setFocused(nextFocusedIndex);
|
|
1948
|
-
menuItems[nextFocusedIndex].focus();
|
|
1949
|
-
}
|
|
1950
|
-
};
|
|
1951
|
-
var handleArrowKeys = function (e) {
|
|
1952
|
-
e.stopPropagation();
|
|
1953
|
-
var lastMenuItemsIndex = menuItems.length - 1;
|
|
1954
|
-
if (e.key === exports.DropdownControlKeys.UP_ARROW) {
|
|
1955
|
-
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
1956
|
-
}
|
|
1957
|
-
else if (e.key === exports.DropdownControlKeys.DOWN_ARROW) {
|
|
1958
|
-
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
1959
|
-
}
|
|
1960
|
-
else if (e.key === closeOnKey && onClose) {
|
|
1961
|
-
onClose();
|
|
1962
|
-
}
|
|
1963
|
-
};
|
|
1964
|
-
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 } },
|
|
1965
|
-
react_1.default.createElement(uui_components_1.DropdownContainer, (0, tslib_1.__assign)({}, props, { rawProps: { tabIndex: -1 } }))));
|
|
1966
|
-
};
|
|
1967
|
-
exports.DropdownMenuBody = (0, uui_core_1.withMods)(DropdownMenuContainer, function () { return [css.bodyRoot]; }, function (_a) {
|
|
1968
|
-
var style = _a.style;
|
|
1969
|
-
return ({ style: style });
|
|
1970
|
-
});
|
|
1971
|
-
var DropdownMenuButton = function (props) {
|
|
1972
|
-
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
1973
|
-
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;
|
|
1974
|
-
var handleClick = function (event) {
|
|
1975
|
-
if (isDisabled || !onClick)
|
|
1976
|
-
return;
|
|
1977
|
-
onClick(event);
|
|
1978
|
-
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1979
|
-
};
|
|
1980
|
-
var handleOpenDropdown = function (event) {
|
|
1981
|
-
if (event.key === exports.DropdownControlKeys.RIGHT_ARROW && isDropdown) {
|
|
1982
|
-
toggleDropdownOpening(true);
|
|
1983
|
-
}
|
|
1984
|
-
else if (event.key === exports.DropdownControlKeys.ENTER && onClick) {
|
|
1985
|
-
onClick(event);
|
|
1986
|
-
}
|
|
1987
|
-
};
|
|
1988
|
-
var getMenuButtonContent = function () {
|
|
1989
|
-
var isIconBefore = Boolean(icon && iconPosition !== "right");
|
|
1990
|
-
var isIconAfter = Boolean(icon && iconPosition === "right");
|
|
1991
|
-
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) });
|
|
1992
|
-
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
1993
|
-
isIconBefore && iconElement,
|
|
1994
|
-
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
1995
|
-
isIconAfter && react_1.default.createElement(react_1.default.Fragment, null,
|
|
1996
|
-
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
1997
|
-
iconElement));
|
|
1998
|
-
};
|
|
1999
|
-
var isAnchor = Boolean(link || href);
|
|
2000
|
-
var itemClassNames = (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled, isSelected && uui_core_1.uuiMod.selected);
|
|
2001
|
-
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: {
|
|
2002
|
-
tabIndex: isDisabled ? -1 : 0,
|
|
2003
|
-
role: 'menuitem',
|
|
2004
|
-
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
2005
|
-
}, cx: itemClassNames, onClick: handleClick }, getMenuButtonContent()));
|
|
2006
|
-
};
|
|
2007
|
-
exports.DropdownMenuButton = DropdownMenuButton;
|
|
2008
|
-
exports.DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
2009
|
-
var DropdownMenuSplitter = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.splitterRoot) },
|
|
2010
|
-
react_1.default.createElement("hr", { className: css.splitter }))); };
|
|
2011
|
-
exports.DropdownMenuSplitter = DropdownMenuSplitter;
|
|
2012
|
-
var DropdownMenuHeader = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.headerRoot) },
|
|
2013
|
-
react_1.default.createElement("span", { className: css.header }, props.caption))); };
|
|
2014
|
-
exports.DropdownMenuHeader = DropdownMenuHeader;
|
|
2015
|
-
var DropdownSubMenu = function (props) {
|
|
2016
|
-
return (react_1.default.createElement(uui_components_1.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", placement: "right-start", renderBody: function (_a) {
|
|
2017
|
-
var onClose = _a.onClose;
|
|
2018
|
-
return (react_1.default.createElement(exports.DropdownMenuBody, (0, tslib_1.__assign)({}, props, { closeOnKey: exports.DropdownControlKeys.LEFT_ARROW, onClose: onClose })));
|
|
2019
|
-
}, renderTarget: function (_a) {
|
|
2020
|
-
var toggleDropdownOpening = _a.toggleDropdownOpening;
|
|
2021
|
-
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)));
|
|
2022
|
-
} }));
|
|
2023
|
-
};
|
|
2024
|
-
exports.DropdownSubMenu = DropdownSubMenu;
|
|
2025
|
-
var DropdownMenuSwitchButton = function (props) {
|
|
2026
|
-
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
2027
|
-
var icon = props.icon, caption = props.caption, isDisabled = props.isDisabled, isSelected = props.isSelected, onValueChange = props.onValueChange;
|
|
2028
|
-
var onHandleValueChange = function (value) {
|
|
2029
|
-
if (isDisabled || !onValueChange)
|
|
2030
|
-
return;
|
|
2031
|
-
onValueChange(value);
|
|
2032
|
-
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2033
|
-
};
|
|
2034
|
-
var handleKeySelect = function (e) {
|
|
2035
|
-
if (e.key === exports.DropdownControlKeys.ENTER) {
|
|
2036
|
-
onHandleValueChange(!isSelected);
|
|
2037
|
-
}
|
|
2038
|
-
};
|
|
2039
|
-
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 } },
|
|
2040
|
-
icon && react_1.default.createElement(uui_components_1.IconContainer, { icon: icon, cx: css.iconBefore }),
|
|
2041
|
-
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
2042
|
-
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
2043
|
-
react_1.default.createElement(inputs_1.Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2044
|
-
};
|
|
2045
|
-
exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
|
|
1916
|
+
|
|
1917
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1918
|
+
exports.DropdownMenuSwitchButton = exports.DropdownSubMenu = exports.DropdownMenuHeader = exports.DropdownMenuSplitter = exports.DropdownMenuButton = exports.DropdownMenuBody = exports.DropdownControlKeys = void 0;
|
|
1919
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
1920
|
+
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
1921
|
+
var react_focus_lock_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react-focus-lock */ "react-focus-lock"));
|
|
1922
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
1923
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
1924
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
1925
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
1926
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DropdownMenu.scss */ "./components/overlays/DropdownMenu.scss"));
|
|
1927
|
+
var icons = icons_1.systemIcons['36'];
|
|
1928
|
+
exports.DropdownControlKeys = {
|
|
1929
|
+
ENTER: 'Enter',
|
|
1930
|
+
ESCAPE: 'Escape',
|
|
1931
|
+
LEFT_ARROW: 'ArrowLeft',
|
|
1932
|
+
RIGHT_ARROW: 'ArrowRight',
|
|
1933
|
+
UP_ARROW: 'ArrowUp',
|
|
1934
|
+
DOWN_ARROW: 'ArrowDown',
|
|
1935
|
+
};
|
|
1936
|
+
var DropdownMenuContainer = function (_a) {
|
|
1937
|
+
var onClose = _a.onClose, _b = _a.closeOnKey, closeOnKey = _b === void 0 ? exports.DropdownControlKeys.ESCAPE : _b, props = (0, tslib_1.__rest)(_a, ["onClose", "closeOnKey"]);
|
|
1938
|
+
var menuRef = (0, react_1.useRef)(null);
|
|
1939
|
+
var _c = (0, react_1.useState)(-1), currentlyFocused = _c[0], setFocused = _c[1];
|
|
1940
|
+
var menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll("[role=\"menuitem\"]:not(.".concat(uui_core_1.uuiMod.disabled, ")"))) : [];
|
|
1941
|
+
(0, react_1.useEffect)(function () {
|
|
1942
|
+
var _a;
|
|
1943
|
+
(_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1944
|
+
}, [menuRef.current]);
|
|
1945
|
+
var changeFocus = function (nextFocusedIndex) {
|
|
1946
|
+
if (menuItems.length > 0) {
|
|
1947
|
+
setFocused(nextFocusedIndex);
|
|
1948
|
+
menuItems[nextFocusedIndex].focus();
|
|
1949
|
+
}
|
|
1950
|
+
};
|
|
1951
|
+
var handleArrowKeys = function (e) {
|
|
1952
|
+
e.stopPropagation();
|
|
1953
|
+
var lastMenuItemsIndex = menuItems.length - 1;
|
|
1954
|
+
if (e.key === exports.DropdownControlKeys.UP_ARROW) {
|
|
1955
|
+
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
1956
|
+
}
|
|
1957
|
+
else if (e.key === exports.DropdownControlKeys.DOWN_ARROW) {
|
|
1958
|
+
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
1959
|
+
}
|
|
1960
|
+
else if (e.key === closeOnKey && onClose) {
|
|
1961
|
+
onClose();
|
|
1962
|
+
}
|
|
1963
|
+
};
|
|
1964
|
+
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 } },
|
|
1965
|
+
react_1.default.createElement(uui_components_1.DropdownContainer, (0, tslib_1.__assign)({}, props, { rawProps: { tabIndex: -1 } }))));
|
|
1966
|
+
};
|
|
1967
|
+
exports.DropdownMenuBody = (0, uui_core_1.withMods)(DropdownMenuContainer, function () { return [css.bodyRoot]; }, function (_a) {
|
|
1968
|
+
var style = _a.style;
|
|
1969
|
+
return ({ style: style });
|
|
1970
|
+
});
|
|
1971
|
+
var DropdownMenuButton = function (props) {
|
|
1972
|
+
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
1973
|
+
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;
|
|
1974
|
+
var handleClick = function (event) {
|
|
1975
|
+
if (isDisabled || !onClick)
|
|
1976
|
+
return;
|
|
1977
|
+
onClick(event);
|
|
1978
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1979
|
+
};
|
|
1980
|
+
var handleOpenDropdown = function (event) {
|
|
1981
|
+
if (event.key === exports.DropdownControlKeys.RIGHT_ARROW && isDropdown) {
|
|
1982
|
+
toggleDropdownOpening(true);
|
|
1983
|
+
}
|
|
1984
|
+
else if (event.key === exports.DropdownControlKeys.ENTER && onClick) {
|
|
1985
|
+
onClick(event);
|
|
1986
|
+
}
|
|
1987
|
+
};
|
|
1988
|
+
var getMenuButtonContent = function () {
|
|
1989
|
+
var isIconBefore = Boolean(icon && iconPosition !== "right");
|
|
1990
|
+
var isIconAfter = Boolean(icon && iconPosition === "right");
|
|
1991
|
+
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) });
|
|
1992
|
+
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
1993
|
+
isIconBefore && iconElement,
|
|
1994
|
+
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
1995
|
+
isIconAfter && react_1.default.createElement(react_1.default.Fragment, null,
|
|
1996
|
+
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
1997
|
+
iconElement));
|
|
1998
|
+
};
|
|
1999
|
+
var isAnchor = Boolean(link || href);
|
|
2000
|
+
var itemClassNames = (0, uui_core_1.cx)(props.cx, css.itemRoot, isDisabled && uui_core_1.uuiMod.disabled, isSelected && uui_core_1.uuiMod.selected);
|
|
2001
|
+
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: {
|
|
2002
|
+
tabIndex: isDisabled ? -1 : 0,
|
|
2003
|
+
role: 'menuitem',
|
|
2004
|
+
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
2005
|
+
}, cx: itemClassNames, onClick: handleClick }, getMenuButtonContent()));
|
|
2006
|
+
};
|
|
2007
|
+
exports.DropdownMenuButton = DropdownMenuButton;
|
|
2008
|
+
exports.DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
2009
|
+
var DropdownMenuSplitter = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.splitterRoot) },
|
|
2010
|
+
react_1.default.createElement("hr", { className: css.splitter }))); };
|
|
2011
|
+
exports.DropdownMenuSplitter = DropdownMenuSplitter;
|
|
2012
|
+
var DropdownMenuHeader = function (props) { return (react_1.default.createElement("div", { className: (0, uui_core_1.cx)(props.cx, css.headerRoot) },
|
|
2013
|
+
react_1.default.createElement("span", { className: css.header }, props.caption))); };
|
|
2014
|
+
exports.DropdownMenuHeader = DropdownMenuHeader;
|
|
2015
|
+
var DropdownSubMenu = function (props) {
|
|
2016
|
+
return (react_1.default.createElement(uui_components_1.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", placement: "right-start", renderBody: function (_a) {
|
|
2017
|
+
var onClose = _a.onClose;
|
|
2018
|
+
return (react_1.default.createElement(exports.DropdownMenuBody, (0, tslib_1.__assign)({}, props, { closeOnKey: exports.DropdownControlKeys.LEFT_ARROW, onClose: onClose })));
|
|
2019
|
+
}, renderTarget: function (_a) {
|
|
2020
|
+
var toggleDropdownOpening = _a.toggleDropdownOpening;
|
|
2021
|
+
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)));
|
|
2022
|
+
} }));
|
|
2023
|
+
};
|
|
2024
|
+
exports.DropdownSubMenu = DropdownSubMenu;
|
|
2025
|
+
var DropdownMenuSwitchButton = function (props) {
|
|
2026
|
+
var context = (0, react_1.useContext)(uui_core_1.UuiContext);
|
|
2027
|
+
var icon = props.icon, caption = props.caption, isDisabled = props.isDisabled, isSelected = props.isSelected, onValueChange = props.onValueChange;
|
|
2028
|
+
var onHandleValueChange = function (value) {
|
|
2029
|
+
if (isDisabled || !onValueChange)
|
|
2030
|
+
return;
|
|
2031
|
+
onValueChange(value);
|
|
2032
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2033
|
+
};
|
|
2034
|
+
var handleKeySelect = function (e) {
|
|
2035
|
+
if (e.key === exports.DropdownControlKeys.ENTER) {
|
|
2036
|
+
onHandleValueChange(!isSelected);
|
|
2037
|
+
}
|
|
2038
|
+
};
|
|
2039
|
+
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 } },
|
|
2040
|
+
icon && react_1.default.createElement(uui_components_1.IconContainer, { icon: icon, cx: css.iconBefore }),
|
|
2041
|
+
react_1.default.createElement(uui_components_1.Text, { cx: css.caption }, caption),
|
|
2042
|
+
react_1.default.createElement(uui_components_1.FlexSpacer, null),
|
|
2043
|
+
react_1.default.createElement(inputs_1.Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2044
|
+
};
|
|
2045
|
+
exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
|
|
2046
2046
|
|
|
2047
2047
|
|
|
2048
2048
|
/***/ }),
|
|
@@ -2055,7 +2055,7 @@ exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
|
|
|
2055
2055
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2056
2056
|
|
|
2057
2057
|
// extracted by mini-css-extract-plugin
|
|
2058
|
-
module.exports = {"modal-blocker":"
|
|
2058
|
+
module.exports = {"modal-blocker":"_17jSp","modalBlocker":"_17jSp","animateModalBlocker":"vF09_","blocker-overlay":"_64Xo7","blockerOverlay":"_64Xo7","modal":"_3TDE8","modal-footer":"_3GZah","modalFooter":"_3GZah","border-top":"_16oSN","borderTop":"_16oSN","modal-header":"_1feXL","modalHeader":"_1feXL"};
|
|
2059
2059
|
|
|
2060
2060
|
/***/ }),
|
|
2061
2061
|
|
|
@@ -2067,58 +2067,58 @@ module.exports = {"modal-blocker":"peBa1","modalBlocker":"peBa1","animateModalBl
|
|
|
2067
2067
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2068
2068
|
|
|
2069
2069
|
"use strict";
|
|
2070
|
-
|
|
2071
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2072
|
-
exports.ModalFooter = exports.ModalHeader = exports.ModalWindow = exports.ModalBlocker = void 0;
|
|
2073
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2074
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2075
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2076
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2077
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2078
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2079
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2080
|
-
var navigation_close_24_svg_1 = __webpack_require__(/*! ../../icons/navigation-close-24.svg */ "./icons/navigation-close-24.svg");
|
|
2081
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/modals.scss */ "./assets/styles/variables/overlays/modals.scss");
|
|
2082
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Modals.scss */ "./components/overlays/Modals.scss"));
|
|
2083
|
-
exports.ModalBlocker = (0, uui_core_1.withMods)(uui_components_1.ModalBlocker, function (mods) { return [
|
|
2084
|
-
'modals-vars',
|
|
2085
|
-
css.modalBlocker,
|
|
2086
|
-
mods.overlay && css['blocker-overlay'],
|
|
2087
|
-
]; });
|
|
2088
|
-
exports.ModalWindow = (0, uui_core_1.withMods)(uui_components_1.ModalWindow, function () { return ['modals-vars', css.modal]; }, function (props) { return ({ rawProps: {
|
|
2089
|
-
style: {
|
|
2090
|
-
width: "".concat(props.width || 480, "px"),
|
|
2091
|
-
height: props.height ? "".concat(props.height, "px") : '',
|
|
2092
|
-
},
|
|
2093
|
-
},
|
|
2094
|
-
}); });
|
|
2095
|
-
var ModalHeader = /** @class */ (function (_super) {
|
|
2096
|
-
(0, tslib_1.__extends)(ModalHeader, _super);
|
|
2097
|
-
function ModalHeader() {
|
|
2098
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2099
|
-
}
|
|
2100
|
-
ModalHeader.prototype.render = function () {
|
|
2101
|
-
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 },
|
|
2102
|
-
this.props.title && React.createElement(typography_1.Text, { size: '48', fontSize: '18', font: 'semibold' }, this.props.title),
|
|
2103
|
-
this.props.children,
|
|
2104
|
-
this.props.onClose && React.createElement(layout_1.FlexSpacer, null),
|
|
2105
|
-
this.props.onClose && React.createElement(layout_1.FlexCell, { shrink: 0, width: 'auto' },
|
|
2106
|
-
React.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: this.props.onClose }))));
|
|
2107
|
-
};
|
|
2108
|
-
return ModalHeader;
|
|
2109
|
-
}(React.Component));
|
|
2110
|
-
exports.ModalHeader = ModalHeader;
|
|
2111
|
-
var ModalFooter = /** @class */ (function (_super) {
|
|
2112
|
-
(0, tslib_1.__extends)(ModalFooter, _super);
|
|
2113
|
-
function ModalFooter() {
|
|
2114
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2115
|
-
}
|
|
2116
|
-
ModalFooter.prototype.render = function () {
|
|
2117
|
-
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));
|
|
2118
|
-
};
|
|
2119
|
-
return ModalFooter;
|
|
2120
|
-
}(React.Component));
|
|
2121
|
-
exports.ModalFooter = ModalFooter;
|
|
2070
|
+
|
|
2071
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2072
|
+
exports.ModalFooter = exports.ModalHeader = exports.ModalWindow = exports.ModalBlocker = void 0;
|
|
2073
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2074
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2075
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2076
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2077
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2078
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2079
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2080
|
+
var navigation_close_24_svg_1 = __webpack_require__(/*! ../../icons/navigation-close-24.svg */ "./icons/navigation-close-24.svg");
|
|
2081
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/modals.scss */ "./assets/styles/variables/overlays/modals.scss");
|
|
2082
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Modals.scss */ "./components/overlays/Modals.scss"));
|
|
2083
|
+
exports.ModalBlocker = (0, uui_core_1.withMods)(uui_components_1.ModalBlocker, function (mods) { return [
|
|
2084
|
+
'modals-vars',
|
|
2085
|
+
css.modalBlocker,
|
|
2086
|
+
mods.overlay && css['blocker-overlay'],
|
|
2087
|
+
]; });
|
|
2088
|
+
exports.ModalWindow = (0, uui_core_1.withMods)(uui_components_1.ModalWindow, function () { return ['modals-vars', css.modal]; }, function (props) { return ({ rawProps: {
|
|
2089
|
+
style: {
|
|
2090
|
+
width: "".concat(props.width || 480, "px"),
|
|
2091
|
+
height: props.height ? "".concat(props.height, "px") : '',
|
|
2092
|
+
},
|
|
2093
|
+
},
|
|
2094
|
+
}); });
|
|
2095
|
+
var ModalHeader = /** @class */ (function (_super) {
|
|
2096
|
+
(0, tslib_1.__extends)(ModalHeader, _super);
|
|
2097
|
+
function ModalHeader() {
|
|
2098
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2099
|
+
}
|
|
2100
|
+
ModalHeader.prototype.render = function () {
|
|
2101
|
+
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 },
|
|
2102
|
+
this.props.title && React.createElement(typography_1.Text, { size: '48', fontSize: '18', font: 'semibold' }, this.props.title),
|
|
2103
|
+
this.props.children,
|
|
2104
|
+
this.props.onClose && React.createElement(layout_1.FlexSpacer, null),
|
|
2105
|
+
this.props.onClose && React.createElement(layout_1.FlexCell, { shrink: 0, width: 'auto' },
|
|
2106
|
+
React.createElement(buttons_1.IconButton, { icon: navigation_close_24_svg_1.ReactComponent, onClick: this.props.onClose }))));
|
|
2107
|
+
};
|
|
2108
|
+
return ModalHeader;
|
|
2109
|
+
}(React.Component));
|
|
2110
|
+
exports.ModalHeader = ModalHeader;
|
|
2111
|
+
var ModalFooter = /** @class */ (function (_super) {
|
|
2112
|
+
(0, tslib_1.__extends)(ModalFooter, _super);
|
|
2113
|
+
function ModalFooter() {
|
|
2114
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2115
|
+
}
|
|
2116
|
+
ModalFooter.prototype.render = function () {
|
|
2117
|
+
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));
|
|
2118
|
+
};
|
|
2119
|
+
return ModalFooter;
|
|
2120
|
+
}(React.Component));
|
|
2121
|
+
exports.ModalFooter = ModalFooter;
|
|
2122
2122
|
|
|
2123
2123
|
|
|
2124
2124
|
/***/ }),
|
|
@@ -2131,7 +2131,7 @@ exports.ModalFooter = ModalFooter;
|
|
|
2131
2131
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2132
2132
|
|
|
2133
2133
|
// extracted by mini-css-extract-plugin
|
|
2134
|
-
module.exports = {"root":"
|
|
2134
|
+
module.exports = {"root":"_3kdCJ","icon-wrapper":"_2UPaF","iconWrapper":"_2UPaF","notification-wrapper":"_1jvZj","notificationWrapper":"_1jvZj","action-wrapper":"_7fplo","actionWrapper":"_7fplo","action-link":"_2ouvX","actionLink":"_2ouvX","close-icon":"_391-n","closeIcon":"_391-n","main-path":"G9cr5","mainPath":"G9cr5","content":"xacbs","clear-button":"_3JvcB","clearButton":"_3JvcB"};
|
|
2135
2135
|
|
|
2136
2136
|
/***/ }),
|
|
2137
2137
|
|
|
@@ -2143,86 +2143,86 @@ module.exports = {"root":"_1oPqn","icon-wrapper":"EzIBO","iconWrapper":"EzIBO","
|
|
|
2143
2143
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2144
2144
|
|
|
2145
2145
|
"use strict";
|
|
2146
|
-
|
|
2147
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2148
|
-
exports.ClearNotification = exports.ErrorNotification = exports.HintNotification = exports.SuccessNotification = exports.WarningNotification = exports.NotificationCard = void 0;
|
|
2149
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2150
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2151
|
-
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2152
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2153
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2154
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2155
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2156
|
-
var notification_check_circle_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-check_circle-fill-24.svg */ "./icons/notification-check_circle-fill-24.svg");
|
|
2157
|
-
var notification_warning_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-warning-fill-24.svg */ "./icons/notification-warning-fill-24.svg");
|
|
2158
|
-
var notification_error_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-error-fill-24.svg */ "./icons/notification-error-fill-24.svg");
|
|
2159
|
-
var notification_help_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-help-fill-24.svg */ "./icons/notification-help-fill-24.svg");
|
|
2160
|
-
var cross_svg_1 = __webpack_require__(/*! ../../icons/snackbar/cross.svg */ "./icons/snackbar/cross.svg");
|
|
2161
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/notificationCard.scss */ "./assets/styles/variables/overlays/notificationCard.scss");
|
|
2162
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./NotificationCard.scss */ "./components/overlays/NotificationCard.scss"));
|
|
2163
|
-
var NotificationCard = /** @class */ (function (_super) {
|
|
2164
|
-
(0, tslib_1.__extends)(NotificationCard, _super);
|
|
2165
|
-
function NotificationCard() {
|
|
2166
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2167
|
-
_this.notificationCardNode = null;
|
|
2168
|
-
return _this;
|
|
2169
|
-
}
|
|
2170
|
-
NotificationCard.prototype.componentDidMount = function () {
|
|
2171
|
-
var _a, _b;
|
|
2172
|
-
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseenter', this.props.clearTimer);
|
|
2173
|
-
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.addEventListener('mouseleave', this.props.refreshTimer);
|
|
2174
|
-
};
|
|
2175
|
-
NotificationCard.prototype.componentWillUnmount = function () {
|
|
2176
|
-
var _a, _b;
|
|
2177
|
-
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseenter', this.props.clearTimer);
|
|
2178
|
-
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', this.props.refreshTimer);
|
|
2179
|
-
};
|
|
2180
|
-
NotificationCard.prototype.render = function () {
|
|
2181
|
-
var _this = this;
|
|
2182
|
-
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; } },
|
|
2183
|
-
react_1.default.createElement("div", { className: css.mainPath },
|
|
2184
|
-
this.props.icon && react_1.default.createElement("div", { className: css.iconWrapper },
|
|
2185
|
-
react_1.default.createElement(uui_components_1.IconContainer, { icon: this.props.icon, cx: css.actionIcon })),
|
|
2186
|
-
react_1.default.createElement("div", { className: css.content },
|
|
2187
|
-
this.props.children,
|
|
2188
|
-
this.props.actions && react_1.default.createElement("div", { className: css.actionWrapper }, this.props.actions.map(function (action) {
|
|
2189
|
-
return react_1.default.createElement(buttons_1.LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css.actionLink, size: '36' });
|
|
2190
|
-
}))),
|
|
2191
|
-
this.props.onClose && react_1.default.createElement(buttons_1.IconButton, { icon: cross_svg_1.ReactComponent, color: 'default', onClick: this.props.onClose, cx: css.closeIcon }))));
|
|
2192
|
-
};
|
|
2193
|
-
return NotificationCard;
|
|
2194
|
-
}(react_1.default.Component));
|
|
2195
|
-
exports.NotificationCard = NotificationCard;
|
|
2196
|
-
var WarningNotification = function (props) {
|
|
2197
|
-
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) }));
|
|
2198
|
-
};
|
|
2199
|
-
exports.WarningNotification = WarningNotification;
|
|
2200
|
-
var SuccessNotification = function (props) {
|
|
2201
|
-
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) }));
|
|
2202
|
-
};
|
|
2203
|
-
exports.SuccessNotification = SuccessNotification;
|
|
2204
|
-
var HintNotification = function (props) {
|
|
2205
|
-
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) }));
|
|
2206
|
-
};
|
|
2207
|
-
exports.HintNotification = HintNotification;
|
|
2208
|
-
var ErrorNotification = function (props) {
|
|
2209
|
-
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) }));
|
|
2210
|
-
};
|
|
2211
|
-
exports.ErrorNotification = ErrorNotification;
|
|
2212
|
-
var ClearNotification = /** @class */ (function (_super) {
|
|
2213
|
-
(0, tslib_1.__extends)(ClearNotification, _super);
|
|
2214
|
-
function ClearNotification() {
|
|
2215
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2216
|
-
}
|
|
2217
|
-
ClearNotification.prototype.render = function () {
|
|
2218
|
-
var _this = this;
|
|
2219
|
-
return react_1.default.createElement("div", { className: (0, classnames_1.default)(css.notificationWrapper, css.clearButton) },
|
|
2220
|
-
react_1.default.createElement(buttons_1.LinkButton, { caption: i18n_1.i18n.notificationCard.closeAllNotificationsButton, onClick: function () { return _this.context.uuiNotifications.clearAll(); } }));
|
|
2221
|
-
};
|
|
2222
|
-
ClearNotification.contextType = uui_core_1.UuiContext;
|
|
2223
|
-
return ClearNotification;
|
|
2224
|
-
}(react_1.default.Component));
|
|
2225
|
-
exports.ClearNotification = ClearNotification;
|
|
2146
|
+
|
|
2147
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2148
|
+
exports.ClearNotification = exports.ErrorNotification = exports.HintNotification = exports.SuccessNotification = exports.WarningNotification = exports.NotificationCard = void 0;
|
|
2149
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2150
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2151
|
+
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2152
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2153
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2154
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2155
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2156
|
+
var notification_check_circle_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-check_circle-fill-24.svg */ "./icons/notification-check_circle-fill-24.svg");
|
|
2157
|
+
var notification_warning_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-warning-fill-24.svg */ "./icons/notification-warning-fill-24.svg");
|
|
2158
|
+
var notification_error_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-error-fill-24.svg */ "./icons/notification-error-fill-24.svg");
|
|
2159
|
+
var notification_help_fill_24_svg_1 = __webpack_require__(/*! ../../icons/notification-help-fill-24.svg */ "./icons/notification-help-fill-24.svg");
|
|
2160
|
+
var cross_svg_1 = __webpack_require__(/*! ../../icons/snackbar/cross.svg */ "./icons/snackbar/cross.svg");
|
|
2161
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/notificationCard.scss */ "./assets/styles/variables/overlays/notificationCard.scss");
|
|
2162
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./NotificationCard.scss */ "./components/overlays/NotificationCard.scss"));
|
|
2163
|
+
var NotificationCard = /** @class */ (function (_super) {
|
|
2164
|
+
(0, tslib_1.__extends)(NotificationCard, _super);
|
|
2165
|
+
function NotificationCard() {
|
|
2166
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2167
|
+
_this.notificationCardNode = null;
|
|
2168
|
+
return _this;
|
|
2169
|
+
}
|
|
2170
|
+
NotificationCard.prototype.componentDidMount = function () {
|
|
2171
|
+
var _a, _b;
|
|
2172
|
+
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseenter', this.props.clearTimer);
|
|
2173
|
+
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.addEventListener('mouseleave', this.props.refreshTimer);
|
|
2174
|
+
};
|
|
2175
|
+
NotificationCard.prototype.componentWillUnmount = function () {
|
|
2176
|
+
var _a, _b;
|
|
2177
|
+
(_a = this.notificationCardNode) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseenter', this.props.clearTimer);
|
|
2178
|
+
(_b = this.notificationCardNode) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', this.props.refreshTimer);
|
|
2179
|
+
};
|
|
2180
|
+
NotificationCard.prototype.render = function () {
|
|
2181
|
+
var _this = this;
|
|
2182
|
+
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; } },
|
|
2183
|
+
react_1.default.createElement("div", { className: css.mainPath },
|
|
2184
|
+
this.props.icon && react_1.default.createElement("div", { className: css.iconWrapper },
|
|
2185
|
+
react_1.default.createElement(uui_components_1.IconContainer, { icon: this.props.icon, cx: css.actionIcon })),
|
|
2186
|
+
react_1.default.createElement("div", { className: css.content },
|
|
2187
|
+
this.props.children,
|
|
2188
|
+
this.props.actions && react_1.default.createElement("div", { className: css.actionWrapper }, this.props.actions.map(function (action) {
|
|
2189
|
+
return react_1.default.createElement(buttons_1.LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css.actionLink, size: '36' });
|
|
2190
|
+
}))),
|
|
2191
|
+
this.props.onClose && react_1.default.createElement(buttons_1.IconButton, { icon: cross_svg_1.ReactComponent, color: 'default', onClick: this.props.onClose, cx: css.closeIcon }))));
|
|
2192
|
+
};
|
|
2193
|
+
return NotificationCard;
|
|
2194
|
+
}(react_1.default.Component));
|
|
2195
|
+
exports.NotificationCard = NotificationCard;
|
|
2196
|
+
var WarningNotification = function (props) {
|
|
2197
|
+
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) }));
|
|
2198
|
+
};
|
|
2199
|
+
exports.WarningNotification = WarningNotification;
|
|
2200
|
+
var SuccessNotification = function (props) {
|
|
2201
|
+
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) }));
|
|
2202
|
+
};
|
|
2203
|
+
exports.SuccessNotification = SuccessNotification;
|
|
2204
|
+
var HintNotification = function (props) {
|
|
2205
|
+
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) }));
|
|
2206
|
+
};
|
|
2207
|
+
exports.HintNotification = HintNotification;
|
|
2208
|
+
var ErrorNotification = function (props) {
|
|
2209
|
+
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) }));
|
|
2210
|
+
};
|
|
2211
|
+
exports.ErrorNotification = ErrorNotification;
|
|
2212
|
+
var ClearNotification = /** @class */ (function (_super) {
|
|
2213
|
+
(0, tslib_1.__extends)(ClearNotification, _super);
|
|
2214
|
+
function ClearNotification() {
|
|
2215
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2216
|
+
}
|
|
2217
|
+
ClearNotification.prototype.render = function () {
|
|
2218
|
+
var _this = this;
|
|
2219
|
+
return react_1.default.createElement("div", { className: (0, classnames_1.default)(css.notificationWrapper, css.clearButton) },
|
|
2220
|
+
react_1.default.createElement(buttons_1.LinkButton, { caption: i18n_1.i18n.notificationCard.closeAllNotificationsButton, onClick: function () { return _this.context.uuiNotifications.clearAll(); } }));
|
|
2221
|
+
};
|
|
2222
|
+
ClearNotification.contextType = uui_core_1.UuiContext;
|
|
2223
|
+
return ClearNotification;
|
|
2224
|
+
}(react_1.default.Component));
|
|
2225
|
+
exports.ClearNotification = ClearNotification;
|
|
2226
2226
|
|
|
2227
2227
|
|
|
2228
2228
|
/***/ }),
|
|
@@ -2235,7 +2235,7 @@ exports.ClearNotification = ClearNotification;
|
|
|
2235
2235
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2236
2236
|
|
|
2237
2237
|
// extracted by mini-css-extract-plugin
|
|
2238
|
-
module.exports = {"root":"
|
|
2238
|
+
module.exports = {"root":"kbWQN"};
|
|
2239
2239
|
|
|
2240
2240
|
/***/ }),
|
|
2241
2241
|
|
|
@@ -2247,21 +2247,21 @@ module.exports = {"root":"_1bHrx"};
|
|
|
2247
2247
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2248
2248
|
|
|
2249
2249
|
"use strict";
|
|
2250
|
-
|
|
2251
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2252
|
-
exports.Tooltip = void 0;
|
|
2253
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2254
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2255
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2256
|
-
__webpack_require__(/*! ../../assets/styles/variables/overlays/tooltip.scss */ "./assets/styles/variables/overlays/tooltip.scss");
|
|
2257
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tooltip.scss */ "./components/overlays/Tooltip.scss"));
|
|
2258
|
-
function applyTooltipMods(mods) {
|
|
2259
|
-
return [
|
|
2260
|
-
'tooltip-vars',
|
|
2261
|
-
css.root,
|
|
2262
|
-
];
|
|
2263
|
-
}
|
|
2264
|
-
exports.Tooltip = (0, uui_core_1.withMods)(uui_components_1.Tooltip, applyTooltipMods);
|
|
2250
|
+
|
|
2251
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2252
|
+
exports.Tooltip = void 0;
|
|
2253
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2254
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2255
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2256
|
+
__webpack_require__(/*! ../../assets/styles/variables/overlays/tooltip.scss */ "./assets/styles/variables/overlays/tooltip.scss");
|
|
2257
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tooltip.scss */ "./components/overlays/Tooltip.scss"));
|
|
2258
|
+
function applyTooltipMods(mods) {
|
|
2259
|
+
return [
|
|
2260
|
+
'tooltip-vars',
|
|
2261
|
+
css.root,
|
|
2262
|
+
];
|
|
2263
|
+
}
|
|
2264
|
+
exports.Tooltip = (0, uui_core_1.withMods)(uui_components_1.Tooltip, applyTooltipMods);
|
|
2265
2265
|
|
|
2266
2266
|
|
|
2267
2267
|
/***/ }),
|
|
@@ -2274,15 +2274,15 @@ exports.Tooltip = (0, uui_core_1.withMods)(uui_components_1.Tooltip, applyToolti
|
|
|
2274
2274
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2275
2275
|
|
|
2276
2276
|
"use strict";
|
|
2277
|
-
|
|
2278
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2279
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2280
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Dropdown */ "./components/overlays/Dropdown.tsx"), exports);
|
|
2281
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownContainer */ "./components/overlays/DropdownContainer.tsx"), exports);
|
|
2282
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownMenu */ "./components/overlays/DropdownMenu.tsx"), exports);
|
|
2283
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Modals */ "./components/overlays/Modals.tsx"), exports);
|
|
2284
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./NotificationCard */ "./components/overlays/NotificationCard.tsx"), exports);
|
|
2285
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tooltip */ "./components/overlays/Tooltip.tsx"), exports);
|
|
2277
|
+
|
|
2278
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2279
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2280
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Dropdown */ "./components/overlays/Dropdown.tsx"), exports);
|
|
2281
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownContainer */ "./components/overlays/DropdownContainer.tsx"), exports);
|
|
2282
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DropdownMenu */ "./components/overlays/DropdownMenu.tsx"), exports);
|
|
2283
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Modals */ "./components/overlays/Modals.tsx"), exports);
|
|
2284
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./NotificationCard */ "./components/overlays/NotificationCard.tsx"), exports);
|
|
2285
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tooltip */ "./components/overlays/Tooltip.tsx"), exports);
|
|
2286
2286
|
|
|
2287
2287
|
|
|
2288
2288
|
/***/ }),
|
|
@@ -2295,7 +2295,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
2295
2295
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2296
2296
|
|
|
2297
2297
|
// extracted by mini-css-extract-plugin
|
|
2298
|
-
module.exports = {"body":"
|
|
2298
|
+
module.exports = {"body":"_1w_6i","modal":"_2iln0","search":"_1F3xh","checkbox":"_1Gtym","search-wrapper":"mDmYg","searchWrapper":"mDmYg","search-size-24":"_3echr","searchSize24":"_3echr","search-size-30":"_3uhvi","searchSize30":"_3uhvi","search-size-36":"_3tVK8","searchSize36":"_3tVK8","search-size-42":"_2OPzm","searchSize42":"_2OPzm","no-found-size-24":"_1yAkC","noFoundSize24":"_1yAkC","no-found-size-30":"GsOUD","noFoundSize30":"GsOUD","no-found-size-36":"_39r0G","noFoundSize36":"_39r0G","no-found-size-42":"_21F26","noFoundSize42":"_21F26"};
|
|
2299
2299
|
|
|
2300
2300
|
/***/ }),
|
|
2301
2301
|
|
|
@@ -2307,48 +2307,48 @@ module.exports = {"body":"_3BQn4","modal":"_1HgAt","search":"_3SHLT","checkbox":
|
|
|
2307
2307
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2308
2308
|
|
|
2309
2309
|
"use strict";
|
|
2310
|
-
|
|
2311
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2312
|
-
exports.DataPickerBody = void 0;
|
|
2313
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2314
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2315
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2316
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2317
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2318
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2319
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2320
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2321
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerBody.scss */ "./components/pickers/DataPickerBody.scss"));
|
|
2322
|
-
var DataPickerBody = /** @class */ (function (_super) {
|
|
2323
|
-
(0, tslib_1.__extends)(DataPickerBody, _super);
|
|
2324
|
-
function DataPickerBody() {
|
|
2325
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2326
|
-
_this.lens = uui_core_1.Lens.onEditableComponent(_this);
|
|
2327
|
-
_this.searchLens = _this.lens.prop('search');
|
|
2328
|
-
return _this;
|
|
2329
|
-
}
|
|
2330
|
-
DataPickerBody.prototype.renderNoFound = function () {
|
|
2331
|
-
if (this.props.renderNotFound) {
|
|
2332
|
-
return this.props.renderNotFound();
|
|
2333
|
-
}
|
|
2334
|
-
return react_1.default.createElement(uui_components_1.FlexCell, { cx: css["no-found-size-".concat(this.props.searchSize || 36)], grow: 1, textAlign: 'center' },
|
|
2335
|
-
react_1.default.createElement(typography_1.Text, { size: this.props.searchSize || '36' }, i18n_1.i18n.dataPickerBody.noRecordsMessage));
|
|
2336
|
-
};
|
|
2337
|
-
DataPickerBody.prototype.render = function () {
|
|
2338
|
-
var value = this.props.value;
|
|
2339
|
-
var searchSize = (0, uui_core_1.isMobile)() ? '48' : (this.props.searchSize || '36');
|
|
2340
|
-
var searchClass = (0, uui_core_1.cx)(css.searchWrapper, css["search-size-".concat(searchSize)]);
|
|
2341
|
-
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
2342
|
-
this.showSearch() && (react_1.default.createElement("div", { key: 'search', className: searchClass },
|
|
2343
|
-
react_1.default.createElement(uui_components_1.FlexCell, { grow: 1 },
|
|
2344
|
-
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 }))))),
|
|
2345
|
-
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
|
|
2346
|
-
? 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, focusedIndex: value && value.focusedIndex || 0 }))
|
|
2347
|
-
: this.renderNoFound()));
|
|
2348
|
-
};
|
|
2349
|
-
return DataPickerBody;
|
|
2350
|
-
}(uui_components_1.PickerBodyBase));
|
|
2351
|
-
exports.DataPickerBody = DataPickerBody;
|
|
2310
|
+
|
|
2311
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2312
|
+
exports.DataPickerBody = void 0;
|
|
2313
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2314
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2315
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2316
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2317
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2318
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2319
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2320
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2321
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerBody.scss */ "./components/pickers/DataPickerBody.scss"));
|
|
2322
|
+
var DataPickerBody = /** @class */ (function (_super) {
|
|
2323
|
+
(0, tslib_1.__extends)(DataPickerBody, _super);
|
|
2324
|
+
function DataPickerBody() {
|
|
2325
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2326
|
+
_this.lens = uui_core_1.Lens.onEditableComponent(_this);
|
|
2327
|
+
_this.searchLens = _this.lens.prop('search');
|
|
2328
|
+
return _this;
|
|
2329
|
+
}
|
|
2330
|
+
DataPickerBody.prototype.renderNoFound = function () {
|
|
2331
|
+
if (this.props.renderNotFound) {
|
|
2332
|
+
return this.props.renderNotFound();
|
|
2333
|
+
}
|
|
2334
|
+
return react_1.default.createElement(uui_components_1.FlexCell, { cx: css["no-found-size-".concat(this.props.searchSize || 36)], grow: 1, textAlign: 'center' },
|
|
2335
|
+
react_1.default.createElement(typography_1.Text, { size: this.props.searchSize || '36' }, i18n_1.i18n.dataPickerBody.noRecordsMessage));
|
|
2336
|
+
};
|
|
2337
|
+
DataPickerBody.prototype.render = function () {
|
|
2338
|
+
var value = this.props.value;
|
|
2339
|
+
var searchSize = (0, uui_core_1.isMobile)() ? '48' : (this.props.searchSize || '36');
|
|
2340
|
+
var searchClass = (0, uui_core_1.cx)(css.searchWrapper, css["search-size-".concat(searchSize)]);
|
|
2341
|
+
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
2342
|
+
this.showSearch() && (react_1.default.createElement("div", { key: 'search', className: searchClass },
|
|
2343
|
+
react_1.default.createElement(uui_components_1.FlexCell, { grow: 1 },
|
|
2344
|
+
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 }))))),
|
|
2345
|
+
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
|
|
2346
|
+
? 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, focusedIndex: value && value.focusedIndex || 0 }))
|
|
2347
|
+
: this.renderNoFound()));
|
|
2348
|
+
};
|
|
2349
|
+
return DataPickerBody;
|
|
2350
|
+
}(uui_components_1.PickerBodyBase));
|
|
2351
|
+
exports.DataPickerBody = DataPickerBody;
|
|
2352
2352
|
|
|
2353
2353
|
|
|
2354
2354
|
/***/ }),
|
|
@@ -2361,7 +2361,7 @@ exports.DataPickerBody = DataPickerBody;
|
|
|
2361
2361
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2362
2362
|
|
|
2363
2363
|
// extracted by mini-css-extract-plugin
|
|
2364
|
-
module.exports = {"footer-wrapper":"
|
|
2364
|
+
module.exports = {"footer-wrapper":"_29wE8","footerWrapper":"_29wE8"};
|
|
2365
2365
|
|
|
2366
2366
|
/***/ }),
|
|
2367
2367
|
|
|
@@ -2373,44 +2373,44 @@ module.exports = {"footer-wrapper":"_1uSoB","footerWrapper":"_1uSoB"};
|
|
|
2373
2373
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2374
2374
|
|
|
2375
2375
|
"use strict";
|
|
2376
|
-
|
|
2377
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2378
|
-
exports.DataPickerFooter = void 0;
|
|
2379
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2380
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2381
|
-
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2382
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2383
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2384
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2385
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2386
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2387
|
-
var DataPickerFooter_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerFooter.scss */ "./components/pickers/DataPickerFooter.scss"));
|
|
2388
|
-
var switchSizes = {
|
|
2389
|
-
'24': '12',
|
|
2390
|
-
'36': '18',
|
|
2391
|
-
'42': '24',
|
|
2392
|
-
'48': '24',
|
|
2393
|
-
};
|
|
2394
|
-
var DataPickerFooterImpl = function (props) {
|
|
2395
|
-
var clearSelection = props.clearSelection, view = props.view, showSelected = props.showSelected;
|
|
2396
|
-
var size = (0, uui_core_1.isMobile)() ? '48' : (props.size || '36');
|
|
2397
|
-
var switchSize = switchSizes[size];
|
|
2398
|
-
var hasSelection = view.getSelectedRows().length > 0;
|
|
2399
|
-
var handleKeyDown = function (e) {
|
|
2400
|
-
if (!e.shiftKey && e.key === 'Tab')
|
|
2401
|
-
e.preventDefault();
|
|
2402
|
-
};
|
|
2403
|
-
return (react_1.default.createElement(layout_1.FlexRow, { padding: '12', cx: (0, classnames_1.default)(DataPickerFooter_scss_1.default.footerWrapper) },
|
|
2404
|
-
!props.hideShowOnlySelected && react_1.default.createElement(inputs_1.Switch, { size: switchSize, value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n_1.i18n.pickerInput.showOnlySelectedLabel }),
|
|
2405
|
-
react_1.default.createElement(layout_1.FlexSpacer, null),
|
|
2406
|
-
view.selectAll && (react_1.default.createElement(layout_1.FlexCell, { width: 'auto', alignSelf: 'center' },
|
|
2407
|
-
react_1.default.createElement(buttons_1.LinkButton, { size: size, caption: hasSelection
|
|
2408
|
-
? i18n_1.i18n.pickerInput.clearSelectionButton
|
|
2409
|
-
: i18n_1.i18n.pickerInput.selectAllButton, onClick: hasSelection
|
|
2410
|
-
? clearSelection
|
|
2411
|
-
: function () { return view.selectAll.onValueChange(true); }, rawProps: { onKeyDown: handleKeyDown } })))));
|
|
2412
|
-
};
|
|
2413
|
-
exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
|
|
2376
|
+
|
|
2377
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2378
|
+
exports.DataPickerFooter = void 0;
|
|
2379
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2380
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2381
|
+
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
2382
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2383
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2384
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2385
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2386
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2387
|
+
var DataPickerFooter_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerFooter.scss */ "./components/pickers/DataPickerFooter.scss"));
|
|
2388
|
+
var switchSizes = {
|
|
2389
|
+
'24': '12',
|
|
2390
|
+
'36': '18',
|
|
2391
|
+
'42': '24',
|
|
2392
|
+
'48': '24',
|
|
2393
|
+
};
|
|
2394
|
+
var DataPickerFooterImpl = function (props) {
|
|
2395
|
+
var clearSelection = props.clearSelection, view = props.view, showSelected = props.showSelected;
|
|
2396
|
+
var size = (0, uui_core_1.isMobile)() ? '48' : (props.size || '36');
|
|
2397
|
+
var switchSize = switchSizes[size];
|
|
2398
|
+
var hasSelection = view.getSelectedRows().length > 0;
|
|
2399
|
+
var handleKeyDown = function (e) {
|
|
2400
|
+
if (!e.shiftKey && e.key === 'Tab')
|
|
2401
|
+
e.preventDefault();
|
|
2402
|
+
};
|
|
2403
|
+
return (react_1.default.createElement(layout_1.FlexRow, { padding: '12', cx: (0, classnames_1.default)(DataPickerFooter_scss_1.default.footerWrapper) },
|
|
2404
|
+
!props.hideShowOnlySelected && react_1.default.createElement(inputs_1.Switch, { size: switchSize, value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n_1.i18n.pickerInput.showOnlySelectedLabel }),
|
|
2405
|
+
react_1.default.createElement(layout_1.FlexSpacer, null),
|
|
2406
|
+
view.selectAll && (react_1.default.createElement(layout_1.FlexCell, { width: 'auto', alignSelf: 'center' },
|
|
2407
|
+
react_1.default.createElement(buttons_1.LinkButton, { size: size, caption: hasSelection
|
|
2408
|
+
? i18n_1.i18n.pickerInput.clearSelectionButton
|
|
2409
|
+
: i18n_1.i18n.pickerInput.selectAllButton, onClick: hasSelection
|
|
2410
|
+
? clearSelection
|
|
2411
|
+
: function () { return view.selectAll.onValueChange(true); }, rawProps: { onKeyDown: handleKeyDown } })))));
|
|
2412
|
+
};
|
|
2413
|
+
exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
|
|
2414
2414
|
|
|
2415
2415
|
|
|
2416
2416
|
/***/ }),
|
|
@@ -2423,7 +2423,7 @@ exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
|
|
|
2423
2423
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2424
2424
|
|
|
2425
2425
|
// extracted by mini-css-extract-plugin
|
|
2426
|
-
module.exports = {"header":"
|
|
2426
|
+
module.exports = {"header":"_2bMuS","close":"_2HSnN"};
|
|
2427
2427
|
|
|
2428
2428
|
/***/ }),
|
|
2429
2429
|
|
|
@@ -2435,23 +2435,23 @@ module.exports = {"header":"_3n59A","close":"_1K59J"};
|
|
|
2435
2435
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2436
2436
|
|
|
2437
2437
|
"use strict";
|
|
2438
|
-
|
|
2439
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2440
|
-
exports.DataPickerHeader = void 0;
|
|
2441
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2442
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2443
|
-
var DataPickerHeader_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerHeader.scss */ "./components/pickers/DataPickerHeader.scss"));
|
|
2444
|
-
var navigation_close_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/navigation-close-24.svg */ "../epam-assets/icons/common/navigation-close-24.svg");
|
|
2445
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2446
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2447
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2448
|
-
var DataPickerHeaderImpl = function (props) {
|
|
2449
|
-
var title = props.title ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2450
|
-
return (react_1.default.createElement(layout_1.FlexRow, { alignItems: 'center', borderBottom: true, size: "48", cx: DataPickerHeader_scss_1.default.header },
|
|
2451
|
-
react_1.default.createElement(typography_1.Text, { font: 'semibold' }, title),
|
|
2452
|
-
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 })));
|
|
2453
|
-
};
|
|
2454
|
-
exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
|
|
2438
|
+
|
|
2439
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2440
|
+
exports.DataPickerHeader = void 0;
|
|
2441
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2442
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2443
|
+
var DataPickerHeader_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./DataPickerHeader.scss */ "./components/pickers/DataPickerHeader.scss"));
|
|
2444
|
+
var navigation_close_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/navigation-close-24.svg */ "../epam-assets/icons/common/navigation-close-24.svg");
|
|
2445
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2446
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2447
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2448
|
+
var DataPickerHeaderImpl = function (props) {
|
|
2449
|
+
var title = props.title ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2450
|
+
return (react_1.default.createElement(layout_1.FlexRow, { alignItems: 'center', borderBottom: true, size: "48", cx: DataPickerHeader_scss_1.default.header },
|
|
2451
|
+
react_1.default.createElement(typography_1.Text, { font: 'semibold' }, title),
|
|
2452
|
+
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 })));
|
|
2453
|
+
};
|
|
2454
|
+
exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
|
|
2455
2455
|
|
|
2456
2456
|
|
|
2457
2457
|
/***/ }),
|
|
@@ -2464,7 +2464,7 @@ exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
|
|
|
2464
2464
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2465
2465
|
|
|
2466
2466
|
// extracted by mini-css-extract-plugin
|
|
2467
|
-
module.exports = {"render-item":"
|
|
2467
|
+
module.exports = {"render-item":"_10_h5","renderItem":"_10_h5","icon-wrapper":"_2KJsb","iconWrapper":"_2KJsb","picker-row":"_2fy5a","pickerRow":"_2fy5a"};
|
|
2468
2468
|
|
|
2469
2469
|
/***/ }),
|
|
2470
2470
|
|
|
@@ -2476,51 +2476,51 @@ module.exports = {"render-item":"_1hlXk","renderItem":"_1hlXk","icon-wrapper":"_
|
|
|
2476
2476
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2477
2477
|
|
|
2478
2478
|
"use strict";
|
|
2479
|
-
|
|
2480
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2481
|
-
exports.DataPickerRow = void 0;
|
|
2482
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2483
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2484
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2485
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2486
|
-
var tables_1 = __webpack_require__(/*! ../tables */ "./components/tables/index.ts");
|
|
2487
|
-
var notification_done_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-24.svg */ "../epam-assets/icons/common/notification-done-24.svg");
|
|
2488
|
-
var notification_done_18_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-18.svg */ "../epam-assets/icons/common/notification-done-18.svg");
|
|
2489
|
-
var notification_done_12_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-12.svg */ "../epam-assets/icons/common/notification-done-12.svg");
|
|
2490
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerRow.scss */ "./components/pickers/DataPickerRow.scss"));
|
|
2491
|
-
var DataPickerRow = /** @class */ (function (_super) {
|
|
2492
|
-
(0, tslib_1.__extends)(DataPickerRow, _super);
|
|
2493
|
-
function DataPickerRow() {
|
|
2494
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2495
|
-
_this.getIcon = function (size) {
|
|
2496
|
-
switch (size) {
|
|
2497
|
-
case '24': return notification_done_12_svg_1.ReactComponent;
|
|
2498
|
-
case '30': return notification_done_18_svg_1.ReactComponent;
|
|
2499
|
-
case '36': return notification_done_18_svg_1.ReactComponent;
|
|
2500
|
-
case '42': return notification_done_24_svg_1.ReactComponent;
|
|
2501
|
-
default: return notification_done_18_svg_1.ReactComponent;
|
|
2502
|
-
}
|
|
2503
|
-
};
|
|
2504
|
-
_this.column = {
|
|
2505
|
-
key: 'name',
|
|
2506
|
-
grow: 1,
|
|
2507
|
-
render: function (item, rowProps) { return React.createElement("div", { key: rowProps.id, className: css.renderItem },
|
|
2508
|
-
_this.props.renderItem(item, rowProps),
|
|
2509
|
-
React.createElement(layout_1.FlexSpacer, null),
|
|
2510
|
-
(rowProps.isChildrenSelected || rowProps.isSelected) && React.createElement("div", { className: css.iconWrapper },
|
|
2511
|
-
React.createElement(layout_1.IconContainer, { icon: _this.getIcon(_this.props.size), color: rowProps.isChildrenSelected ? 'default' : 'info' }))); },
|
|
2512
|
-
};
|
|
2513
|
-
_this.renderContent = function () {
|
|
2514
|
-
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' });
|
|
2515
|
-
};
|
|
2516
|
-
return _this;
|
|
2517
|
-
}
|
|
2518
|
-
DataPickerRow.prototype.render = function () {
|
|
2519
|
-
return React.createElement(uui_components_1.DataPickerRow, (0, tslib_1.__assign)({}, this.props, { cx: [css.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
2520
|
-
};
|
|
2521
|
-
return DataPickerRow;
|
|
2522
|
-
}(React.Component));
|
|
2523
|
-
exports.DataPickerRow = DataPickerRow;
|
|
2479
|
+
|
|
2480
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2481
|
+
exports.DataPickerRow = void 0;
|
|
2482
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2483
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2484
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2485
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2486
|
+
var tables_1 = __webpack_require__(/*! ../tables */ "./components/tables/index.ts");
|
|
2487
|
+
var notification_done_24_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-24.svg */ "../epam-assets/icons/common/notification-done-24.svg");
|
|
2488
|
+
var notification_done_18_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-18.svg */ "../epam-assets/icons/common/notification-done-18.svg");
|
|
2489
|
+
var notification_done_12_svg_1 = __webpack_require__(/*! @epam/assets/icons/common/notification-done-12.svg */ "../epam-assets/icons/common/notification-done-12.svg");
|
|
2490
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataPickerRow.scss */ "./components/pickers/DataPickerRow.scss"));
|
|
2491
|
+
var DataPickerRow = /** @class */ (function (_super) {
|
|
2492
|
+
(0, tslib_1.__extends)(DataPickerRow, _super);
|
|
2493
|
+
function DataPickerRow() {
|
|
2494
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2495
|
+
_this.getIcon = function (size) {
|
|
2496
|
+
switch (size) {
|
|
2497
|
+
case '24': return notification_done_12_svg_1.ReactComponent;
|
|
2498
|
+
case '30': return notification_done_18_svg_1.ReactComponent;
|
|
2499
|
+
case '36': return notification_done_18_svg_1.ReactComponent;
|
|
2500
|
+
case '42': return notification_done_24_svg_1.ReactComponent;
|
|
2501
|
+
default: return notification_done_18_svg_1.ReactComponent;
|
|
2502
|
+
}
|
|
2503
|
+
};
|
|
2504
|
+
_this.column = {
|
|
2505
|
+
key: 'name',
|
|
2506
|
+
grow: 1,
|
|
2507
|
+
render: function (item, rowProps) { return React.createElement("div", { key: rowProps.id, className: css.renderItem },
|
|
2508
|
+
_this.props.renderItem(item, rowProps),
|
|
2509
|
+
React.createElement(layout_1.FlexSpacer, null),
|
|
2510
|
+
(rowProps.isChildrenSelected || rowProps.isSelected) && React.createElement("div", { className: css.iconWrapper },
|
|
2511
|
+
React.createElement(layout_1.IconContainer, { icon: _this.getIcon(_this.props.size), color: rowProps.isChildrenSelected ? 'default' : 'info' }))); },
|
|
2512
|
+
};
|
|
2513
|
+
_this.renderContent = function () {
|
|
2514
|
+
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' });
|
|
2515
|
+
};
|
|
2516
|
+
return _this;
|
|
2517
|
+
}
|
|
2518
|
+
DataPickerRow.prototype.render = function () {
|
|
2519
|
+
return React.createElement(uui_components_1.DataPickerRow, (0, tslib_1.__assign)({}, this.props, { cx: [css.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
2520
|
+
};
|
|
2521
|
+
return DataPickerRow;
|
|
2522
|
+
}(React.Component));
|
|
2523
|
+
exports.DataPickerRow = DataPickerRow;
|
|
2524
2524
|
|
|
2525
2525
|
|
|
2526
2526
|
/***/ }),
|
|
@@ -2533,7 +2533,7 @@ exports.DataPickerRow = DataPickerRow;
|
|
|
2533
2533
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2534
2534
|
|
|
2535
2535
|
// extracted by mini-css-extract-plugin
|
|
2536
|
-
module.exports = {"done":"
|
|
2536
|
+
module.exports = {"done":"_16jfK"};
|
|
2537
2537
|
|
|
2538
2538
|
/***/ }),
|
|
2539
2539
|
|
|
@@ -2545,24 +2545,24 @@ module.exports = {"done":"_3MWlw"};
|
|
|
2545
2545
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2546
2546
|
|
|
2547
2547
|
"use strict";
|
|
2548
|
-
|
|
2549
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2550
|
-
exports.MobileDropdownWrapper = void 0;
|
|
2551
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2552
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2553
|
-
var MobileDropdownWrapper_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./MobileDropdownWrapper.scss */ "./components/pickers/MobileDropdownWrapper.scss"));
|
|
2554
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2555
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2556
|
-
var DataPickerHeader_1 = __webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx");
|
|
2557
|
-
var MobileDropdownWrapper = function (props) {
|
|
2558
|
-
var isVisible = (0, uui_core_1.isMobile)();
|
|
2559
|
-
(0, uui_core_1.useAppMobileHeight)();
|
|
2560
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
2561
|
-
isVisible && react_1.default.createElement(DataPickerHeader_1.DataPickerHeader, { title: props.title, close: props.close }),
|
|
2562
|
-
props.children,
|
|
2563
|
-
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' }))));
|
|
2564
|
-
};
|
|
2565
|
-
exports.MobileDropdownWrapper = MobileDropdownWrapper;
|
|
2548
|
+
|
|
2549
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2550
|
+
exports.MobileDropdownWrapper = void 0;
|
|
2551
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2552
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2553
|
+
var MobileDropdownWrapper_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./MobileDropdownWrapper.scss */ "./components/pickers/MobileDropdownWrapper.scss"));
|
|
2554
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2555
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2556
|
+
var DataPickerHeader_1 = __webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx");
|
|
2557
|
+
var MobileDropdownWrapper = function (props) {
|
|
2558
|
+
var isVisible = (0, uui_core_1.isMobile)();
|
|
2559
|
+
(0, uui_core_1.useAppMobileHeight)();
|
|
2560
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
2561
|
+
isVisible && react_1.default.createElement(DataPickerHeader_1.DataPickerHeader, { title: props.title, close: props.close }),
|
|
2562
|
+
props.children,
|
|
2563
|
+
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' }))));
|
|
2564
|
+
};
|
|
2565
|
+
exports.MobileDropdownWrapper = MobileDropdownWrapper;
|
|
2566
2566
|
|
|
2567
2567
|
|
|
2568
2568
|
/***/ }),
|
|
@@ -2575,7 +2575,7 @@ exports.MobileDropdownWrapper = MobileDropdownWrapper;
|
|
|
2575
2575
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2576
2576
|
|
|
2577
2577
|
// extracted by mini-css-extract-plugin
|
|
2578
|
-
module.exports = {"panel":"
|
|
2578
|
+
module.exports = {"panel":"O_Em0","footer-wrapper":"_1UNHH","footerWrapper":"_1UNHH","footer-size-24":"WwAjC","footerSize24":"WwAjC","footer-size-30":"_3VbgH","footerSize30":"_3VbgH","footer-size-36":"_3BbcU","footerSize36":"_3BbcU","footer-size-42":"_8hnO0","footerSize42":"_8hnO0","footer-size-48":"dJR0O","footerSize48":"dJR0O"};
|
|
2579
2579
|
|
|
2580
2580
|
/***/ }),
|
|
2581
2581
|
|
|
@@ -2587,83 +2587,83 @@ module.exports = {"panel":"_3ne8u","footer-wrapper":"_17Rq7","footerWrapper":"_1
|
|
|
2587
2587
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2588
2588
|
|
|
2589
2589
|
"use strict";
|
|
2590
|
-
|
|
2591
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2592
|
-
exports.PickerInput = void 0;
|
|
2593
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2594
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2595
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2596
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2597
|
-
var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
|
|
2598
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2599
|
-
var PickerToggler_1 = __webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx");
|
|
2600
|
-
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2601
|
-
var PickerItem_1 = __webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx");
|
|
2602
|
-
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2603
|
-
var DataPickerFooter_1 = __webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx");
|
|
2604
|
-
var MobileDropdownWrapper_1 = __webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx");
|
|
2605
|
-
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
2606
|
-
var PickerInput_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerInput.scss */ "./components/pickers/PickerInput.scss"));
|
|
2607
|
-
var pickerHeight = 300;
|
|
2608
|
-
var pickerWidth = 360;
|
|
2609
|
-
var PickerInput = /** @class */ (function (_super) {
|
|
2610
|
-
(0, tslib_1.__extends)(PickerInput, _super);
|
|
2611
|
-
function PickerInput() {
|
|
2612
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2613
|
-
_this.renderItem = function (item, rowProps) {
|
|
2614
|
-
return react_1.default.createElement(PickerItem_1.PickerItem, (0, tslib_1.__assign)({ title: _this.getName(item), size: _this.getRowSize() }, rowProps));
|
|
2615
|
-
};
|
|
2616
|
-
_this.renderRow = function (rowProps) {
|
|
2617
|
-
if (rowProps.isSelectable && _this.isSingleSelect() && _this.props.editMode !== 'modal') {
|
|
2618
|
-
rowProps.onSelect = _this.onSelect;
|
|
2619
|
-
}
|
|
2620
|
-
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 })));
|
|
2621
|
-
};
|
|
2622
|
-
return _this;
|
|
2623
|
-
}
|
|
2624
|
-
PickerInput.prototype.toggleModalOpening = function (opened) {
|
|
2625
|
-
var _this = this;
|
|
2626
|
-
this.context.uuiModals.show(function (props) { return react_1.default.createElement(PickerModal_1.PickerModal, (0, tslib_1.__assign)({}, _this.props, props, { caption: _this.getPlaceholder(), initialValue: _this.props.value, renderRow: _this.renderRow, selectionMode: _this.props.selectionMode, valueType: _this.props.valueType })); })
|
|
2627
|
-
.then(function (newSelection) { return _this.handleSelectionValueChange(newSelection); })
|
|
2628
|
-
.catch(function () { return null; });
|
|
2629
|
-
};
|
|
2630
|
-
PickerInput.prototype.getRowSize = function () {
|
|
2631
|
-
return (0, uui_core_1.isMobile)()
|
|
2632
|
-
? '48'
|
|
2633
|
-
: this.props.editMode === 'modal'
|
|
2634
|
-
? '36'
|
|
2635
|
-
: this.props.size;
|
|
2636
|
-
};
|
|
2637
|
-
PickerInput.prototype.getTogglerMods = function () {
|
|
2638
|
-
return {
|
|
2639
|
-
size: this.props.size,
|
|
2640
|
-
mode: this.props.mode ? this.props.mode : types_1.EditMode.FORM,
|
|
2641
|
-
};
|
|
2642
|
-
};
|
|
2643
|
-
PickerInput.prototype.renderFooter = function () {
|
|
2644
|
-
var footerProps = this.getFooterProps();
|
|
2645
|
-
return this.props.renderFooter
|
|
2646
|
-
? this.props.renderFooter(footerProps)
|
|
2647
|
-
: react_1.default.createElement(DataPickerFooter_1.DataPickerFooter, (0, tslib_1.__assign)({}, footerProps, { size: this.props.size }));
|
|
2648
|
-
};
|
|
2649
|
-
PickerInput.prototype.renderTarget = function (targetProps) {
|
|
2650
|
-
var _this = this;
|
|
2651
|
-
var renderTarget = this.props.renderToggler || (function (props) { return react_1.default.createElement(PickerToggler_1.PickerToggler, (0, tslib_1.__assign)({}, props)); });
|
|
2652
|
-
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)); } }));
|
|
2653
|
-
};
|
|
2654
|
-
PickerInput.prototype.renderBody = function (props, rows) {
|
|
2655
|
-
var _this = this;
|
|
2656
|
-
var renderedDataRows = rows.map(function (props) { return _this.renderRow(props); });
|
|
2657
|
-
var maxHeight = (0, uui_core_1.isMobile)() ? document.documentElement.clientHeight : (this.props.dropdownHeight || pickerHeight);
|
|
2658
|
-
var minBodyWidth = (0, uui_core_1.isMobile)() ? document.documentElement.clientWidth : (this.props.minBodyWidth || pickerWidth);
|
|
2659
|
-
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 },
|
|
2660
|
-
react_1.default.createElement(MobileDropdownWrapper_1.MobileDropdownWrapper, { title: this.props.entityName, close: function () { return _this.toggleBodyOpening(false); } },
|
|
2661
|
-
react_1.default.createElement(DataPickerBody_1.DataPickerBody, (0, tslib_1.__assign)({}, props, { rows: renderedDataRows, maxHeight: maxHeight, searchSize: this.props.size, editMode: 'dropdown' })),
|
|
2662
|
-
!this.isSingleSelect() && this.renderFooter())));
|
|
2663
|
-
};
|
|
2664
|
-
return PickerInput;
|
|
2665
|
-
}(uui_components_1.PickerInputBase));
|
|
2666
|
-
exports.PickerInput = PickerInput;
|
|
2590
|
+
|
|
2591
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2592
|
+
exports.PickerInput = void 0;
|
|
2593
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2594
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2595
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2596
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2597
|
+
var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
|
|
2598
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
2599
|
+
var PickerToggler_1 = __webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx");
|
|
2600
|
+
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2601
|
+
var PickerItem_1 = __webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx");
|
|
2602
|
+
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2603
|
+
var DataPickerFooter_1 = __webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx");
|
|
2604
|
+
var MobileDropdownWrapper_1 = __webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx");
|
|
2605
|
+
var types_1 = __webpack_require__(/*! ../types */ "./components/types.ts");
|
|
2606
|
+
var PickerInput_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerInput.scss */ "./components/pickers/PickerInput.scss"));
|
|
2607
|
+
var pickerHeight = 300;
|
|
2608
|
+
var pickerWidth = 360;
|
|
2609
|
+
var PickerInput = /** @class */ (function (_super) {
|
|
2610
|
+
(0, tslib_1.__extends)(PickerInput, _super);
|
|
2611
|
+
function PickerInput() {
|
|
2612
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2613
|
+
_this.renderItem = function (item, rowProps) {
|
|
2614
|
+
return react_1.default.createElement(PickerItem_1.PickerItem, (0, tslib_1.__assign)({ title: _this.getName(item), size: _this.getRowSize() }, rowProps));
|
|
2615
|
+
};
|
|
2616
|
+
_this.renderRow = function (rowProps) {
|
|
2617
|
+
if (rowProps.isSelectable && _this.isSingleSelect() && _this.props.editMode !== 'modal') {
|
|
2618
|
+
rowProps.onSelect = _this.onSelect;
|
|
2619
|
+
}
|
|
2620
|
+
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 })));
|
|
2621
|
+
};
|
|
2622
|
+
return _this;
|
|
2623
|
+
}
|
|
2624
|
+
PickerInput.prototype.toggleModalOpening = function (opened) {
|
|
2625
|
+
var _this = this;
|
|
2626
|
+
this.context.uuiModals.show(function (props) { return react_1.default.createElement(PickerModal_1.PickerModal, (0, tslib_1.__assign)({}, _this.props, props, { caption: _this.getPlaceholder(), initialValue: _this.props.value, renderRow: _this.renderRow, selectionMode: _this.props.selectionMode, valueType: _this.props.valueType })); })
|
|
2627
|
+
.then(function (newSelection) { return _this.handleSelectionValueChange(newSelection); })
|
|
2628
|
+
.catch(function () { return null; });
|
|
2629
|
+
};
|
|
2630
|
+
PickerInput.prototype.getRowSize = function () {
|
|
2631
|
+
return (0, uui_core_1.isMobile)()
|
|
2632
|
+
? '48'
|
|
2633
|
+
: this.props.editMode === 'modal'
|
|
2634
|
+
? '36'
|
|
2635
|
+
: this.props.size;
|
|
2636
|
+
};
|
|
2637
|
+
PickerInput.prototype.getTogglerMods = function () {
|
|
2638
|
+
return {
|
|
2639
|
+
size: this.props.size,
|
|
2640
|
+
mode: this.props.mode ? this.props.mode : types_1.EditMode.FORM,
|
|
2641
|
+
};
|
|
2642
|
+
};
|
|
2643
|
+
PickerInput.prototype.renderFooter = function () {
|
|
2644
|
+
var footerProps = this.getFooterProps();
|
|
2645
|
+
return this.props.renderFooter
|
|
2646
|
+
? this.props.renderFooter(footerProps)
|
|
2647
|
+
: react_1.default.createElement(DataPickerFooter_1.DataPickerFooter, (0, tslib_1.__assign)({}, footerProps, { size: this.props.size }));
|
|
2648
|
+
};
|
|
2649
|
+
PickerInput.prototype.renderTarget = function (targetProps) {
|
|
2650
|
+
var _this = this;
|
|
2651
|
+
var renderTarget = this.props.renderToggler || (function (props) { return react_1.default.createElement(PickerToggler_1.PickerToggler, (0, tslib_1.__assign)({}, props)); });
|
|
2652
|
+
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)); } }));
|
|
2653
|
+
};
|
|
2654
|
+
PickerInput.prototype.renderBody = function (props, rows) {
|
|
2655
|
+
var _this = this;
|
|
2656
|
+
var renderedDataRows = rows.map(function (props) { return _this.renderRow(props); });
|
|
2657
|
+
var maxHeight = (0, uui_core_1.isMobile)() ? document.documentElement.clientHeight : (this.props.dropdownHeight || pickerHeight);
|
|
2658
|
+
var minBodyWidth = (0, uui_core_1.isMobile)() ? document.documentElement.clientWidth : (this.props.minBodyWidth || pickerWidth);
|
|
2659
|
+
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 },
|
|
2660
|
+
react_1.default.createElement(MobileDropdownWrapper_1.MobileDropdownWrapper, { title: this.props.entityName, close: function () { return _this.toggleBodyOpening(false); } },
|
|
2661
|
+
react_1.default.createElement(DataPickerBody_1.DataPickerBody, (0, tslib_1.__assign)({}, props, { rows: renderedDataRows, maxHeight: maxHeight, searchSize: this.props.size, editMode: 'dropdown' })),
|
|
2662
|
+
!this.isSingleSelect() && this.renderFooter())));
|
|
2663
|
+
};
|
|
2664
|
+
return PickerInput;
|
|
2665
|
+
}(uui_components_1.PickerInputBase));
|
|
2666
|
+
exports.PickerInput = PickerInput;
|
|
2667
2667
|
|
|
2668
2668
|
|
|
2669
2669
|
/***/ }),
|
|
@@ -2676,7 +2676,7 @@ exports.PickerInput = PickerInput;
|
|
|
2676
2676
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2677
2677
|
|
|
2678
2678
|
// extracted by mini-css-extract-plugin
|
|
2679
|
-
module.exports = {"root":"
|
|
2679
|
+
module.exports = {"root":"_3m3Bc","multiline-vertical-padding-24":"_3YpMu","multilineVerticalPadding24":"_3YpMu","multiline-vertical-padding-30":"_3DHJE","multilineVerticalPadding30":"_3DHJE","multiline-vertical-padding-36":"_2UoxP","multilineVerticalPadding36":"_2UoxP","multiline-vertical-padding-42":"VuZ-u","multilineVerticalPadding42":"VuZ-u","multiline-vertical-padding-48":"_2Wm1O","multilineVerticalPadding48":"_2Wm1O"};
|
|
2680
2680
|
|
|
2681
2681
|
/***/ }),
|
|
2682
2682
|
|
|
@@ -2688,39 +2688,39 @@ module.exports = {"root":"ehRSn","multiline-vertical-padding-24":"_2AcvR","multi
|
|
|
2688
2688
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2689
2689
|
|
|
2690
2690
|
"use strict";
|
|
2691
|
-
|
|
2692
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2693
|
-
exports.PickerItem = void 0;
|
|
2694
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2695
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2696
|
-
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2697
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2698
|
-
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2699
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerItem.scss */ "./components/pickers/PickerItem.scss"));
|
|
2700
|
-
var defaultSize = '36';
|
|
2701
|
-
var PickerItem = /** @class */ (function (_super) {
|
|
2702
|
-
(0, tslib_1.__extends)(PickerItem, _super);
|
|
2703
|
-
function PickerItem() {
|
|
2704
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2705
|
-
_this.getAvatarSize = function (size, isMultiline) {
|
|
2706
|
-
return isMultiline ? size : +size - 6;
|
|
2707
|
-
};
|
|
2708
|
-
return _this;
|
|
2709
|
-
}
|
|
2710
|
-
PickerItem.prototype.render = function () {
|
|
2711
|
-
var _a = this.props, size = _a.size, avatarUrl = _a.avatarUrl, title = _a.title, subtitle = _a.subtitle, isLoading = _a.isLoading, isDisabled = _a.isDisabled;
|
|
2712
|
-
var itemSize = size && size !== 'none' ? size : defaultSize;
|
|
2713
|
-
var isMultiline = !!(title && subtitle);
|
|
2714
|
-
return (React.createElement(FlexItems_1.FlexCell, { width: 'auto', cx: css.root },
|
|
2715
|
-
React.createElement(FlexItems_1.FlexRow, { size: itemSize, cx: isMultiline && css["multiline-vertical-padding-".concat(itemSize)], spacing: '12' },
|
|
2716
|
-
avatarUrl && React.createElement(widgets_1.Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2717
|
-
React.createElement(FlexItems_1.FlexCell, { width: 'auto' },
|
|
2718
|
-
title && React.createElement(typography_1.Text, { size: itemSize, cx: css.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : title),
|
|
2719
|
-
subtitle && React.createElement(typography_1.Text, { size: itemSize, color: 'disabled', cx: css.text }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : subtitle)))));
|
|
2720
|
-
};
|
|
2721
|
-
return PickerItem;
|
|
2722
|
-
}(React.Component));
|
|
2723
|
-
exports.PickerItem = PickerItem;
|
|
2691
|
+
|
|
2692
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2693
|
+
exports.PickerItem = void 0;
|
|
2694
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2695
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2696
|
+
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2697
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2698
|
+
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2699
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerItem.scss */ "./components/pickers/PickerItem.scss"));
|
|
2700
|
+
var defaultSize = '36';
|
|
2701
|
+
var PickerItem = /** @class */ (function (_super) {
|
|
2702
|
+
(0, tslib_1.__extends)(PickerItem, _super);
|
|
2703
|
+
function PickerItem() {
|
|
2704
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2705
|
+
_this.getAvatarSize = function (size, isMultiline) {
|
|
2706
|
+
return isMultiline ? size : +size - 6;
|
|
2707
|
+
};
|
|
2708
|
+
return _this;
|
|
2709
|
+
}
|
|
2710
|
+
PickerItem.prototype.render = function () {
|
|
2711
|
+
var _a = this.props, size = _a.size, avatarUrl = _a.avatarUrl, title = _a.title, subtitle = _a.subtitle, isLoading = _a.isLoading, isDisabled = _a.isDisabled;
|
|
2712
|
+
var itemSize = size && size !== 'none' ? size : defaultSize;
|
|
2713
|
+
var isMultiline = !!(title && subtitle);
|
|
2714
|
+
return (React.createElement(FlexItems_1.FlexCell, { width: 'auto', cx: css.root },
|
|
2715
|
+
React.createElement(FlexItems_1.FlexRow, { size: itemSize, cx: isMultiline && css["multiline-vertical-padding-".concat(itemSize)], spacing: '12' },
|
|
2716
|
+
avatarUrl && React.createElement(widgets_1.Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2717
|
+
React.createElement(FlexItems_1.FlexCell, { width: 'auto' },
|
|
2718
|
+
title && React.createElement(typography_1.Text, { size: itemSize, cx: css.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : title),
|
|
2719
|
+
subtitle && React.createElement(typography_1.Text, { size: itemSize, color: 'disabled', cx: css.text }, isLoading ? React.createElement(typography_1.TextPlaceholder, { wordsCount: 2 }) : subtitle)))));
|
|
2720
|
+
};
|
|
2721
|
+
return PickerItem;
|
|
2722
|
+
}(React.Component));
|
|
2723
|
+
exports.PickerItem = PickerItem;
|
|
2724
2724
|
|
|
2725
2725
|
|
|
2726
2726
|
/***/ }),
|
|
@@ -2733,58 +2733,58 @@ exports.PickerItem = PickerItem;
|
|
|
2733
2733
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2734
2734
|
|
|
2735
2735
|
"use strict";
|
|
2736
|
-
|
|
2737
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2738
|
-
exports.PickerList = void 0;
|
|
2739
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2740
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2741
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2742
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2743
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2744
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2745
|
-
var PickerListItem_1 = __webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx");
|
|
2746
|
-
var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
|
|
2747
|
-
var PickerList = /** @class */ (function (_super) {
|
|
2748
|
-
(0, tslib_1.__extends)(PickerList, _super);
|
|
2749
|
-
function PickerList() {
|
|
2750
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2751
|
-
_this.sessionStartTime = (new Date()).getTime();
|
|
2752
|
-
_this.renderRow = function (row) {
|
|
2753
|
-
return react_1.default.createElement(PickerListItem_1.PickerListItem, (0, tslib_1.__assign)({ getName: function (item) { return _this.getName(item); } }, row, { key: row.rowKey }));
|
|
2754
|
-
};
|
|
2755
|
-
_this.handleShowPicker = function () {
|
|
2756
|
-
_this.context.uuiModals
|
|
2757
|
-
.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 }))); })
|
|
2758
|
-
.then(function (value) {
|
|
2759
|
-
_this.appendLastSelected((0, tslib_1.__spreadArray)([], _this.getSelectedIdsArray(value), true));
|
|
2760
|
-
_this.props.onValueChange(value);
|
|
2761
|
-
});
|
|
2762
|
-
};
|
|
2763
|
-
_this.defaultRenderToggler = function (props) { return (react_1.default.createElement(buttons_1.LinkButton, (0, tslib_1.__assign)({ caption: 'Show all' }, props))); };
|
|
2764
|
-
return _this;
|
|
2765
|
-
}
|
|
2766
|
-
PickerList.prototype.render = function () {
|
|
2767
|
-
var view = this.getView();
|
|
2768
|
-
var viewProps = view.getListProps();
|
|
2769
|
-
var selectedRows = view.getSelectedRows();
|
|
2770
|
-
var rows = this.buildRowsList();
|
|
2771
|
-
var showPicker = viewProps.totalCount == null || viewProps.totalCount > this.getMaxDefaultItems();
|
|
2772
|
-
var renderToggler = this.props.renderModalToggler || this.defaultRenderToggler;
|
|
2773
|
-
var renderRow = this.props.renderRow || this.renderRow;
|
|
2774
|
-
return (react_1.default.createElement("div", null,
|
|
2775
|
-
!rows.length && (this.props.noOptionsMessage ?
|
|
2776
|
-
this.props.noOptionsMessage :
|
|
2777
|
-
react_1.default.createElement(typography_1.Text, { color: 'secondary', size: this.props.size }, "No options available")),
|
|
2778
|
-
rows.map(function (row) { return renderRow(row); }),
|
|
2779
|
-
showPicker && renderToggler({
|
|
2780
|
-
onClick: this.handleShowPicker,
|
|
2781
|
-
caption: this.getModalTogglerCaption(viewProps.totalCount, selectedRows.length),
|
|
2782
|
-
}, selectedRows)));
|
|
2783
|
-
};
|
|
2784
|
-
PickerList.contextType = uui_core_1.UuiContext;
|
|
2785
|
-
return PickerList;
|
|
2786
|
-
}(uui_components_1.PickerListBase));
|
|
2787
|
-
exports.PickerList = PickerList;
|
|
2736
|
+
|
|
2737
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2738
|
+
exports.PickerList = void 0;
|
|
2739
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2740
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2741
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2742
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2743
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2744
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2745
|
+
var PickerListItem_1 = __webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx");
|
|
2746
|
+
var PickerModal_1 = __webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx");
|
|
2747
|
+
var PickerList = /** @class */ (function (_super) {
|
|
2748
|
+
(0, tslib_1.__extends)(PickerList, _super);
|
|
2749
|
+
function PickerList() {
|
|
2750
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2751
|
+
_this.sessionStartTime = (new Date()).getTime();
|
|
2752
|
+
_this.renderRow = function (row) {
|
|
2753
|
+
return react_1.default.createElement(PickerListItem_1.PickerListItem, (0, tslib_1.__assign)({ getName: function (item) { return _this.getName(item); } }, row, { key: row.rowKey }));
|
|
2754
|
+
};
|
|
2755
|
+
_this.handleShowPicker = function () {
|
|
2756
|
+
_this.context.uuiModals
|
|
2757
|
+
.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 }))); })
|
|
2758
|
+
.then(function (value) {
|
|
2759
|
+
_this.appendLastSelected((0, tslib_1.__spreadArray)([], _this.getSelectedIdsArray(value), true));
|
|
2760
|
+
_this.props.onValueChange(value);
|
|
2761
|
+
});
|
|
2762
|
+
};
|
|
2763
|
+
_this.defaultRenderToggler = function (props) { return (react_1.default.createElement(buttons_1.LinkButton, (0, tslib_1.__assign)({ caption: 'Show all' }, props))); };
|
|
2764
|
+
return _this;
|
|
2765
|
+
}
|
|
2766
|
+
PickerList.prototype.render = function () {
|
|
2767
|
+
var view = this.getView();
|
|
2768
|
+
var viewProps = view.getListProps();
|
|
2769
|
+
var selectedRows = view.getSelectedRows();
|
|
2770
|
+
var rows = this.buildRowsList();
|
|
2771
|
+
var showPicker = viewProps.totalCount == null || viewProps.totalCount > this.getMaxDefaultItems();
|
|
2772
|
+
var renderToggler = this.props.renderModalToggler || this.defaultRenderToggler;
|
|
2773
|
+
var renderRow = this.props.renderRow || this.renderRow;
|
|
2774
|
+
return (react_1.default.createElement("div", null,
|
|
2775
|
+
!rows.length && (this.props.noOptionsMessage ?
|
|
2776
|
+
this.props.noOptionsMessage :
|
|
2777
|
+
react_1.default.createElement(typography_1.Text, { color: 'secondary', size: this.props.size }, "No options available")),
|
|
2778
|
+
rows.map(function (row) { return renderRow(row); }),
|
|
2779
|
+
showPicker && renderToggler({
|
|
2780
|
+
onClick: this.handleShowPicker,
|
|
2781
|
+
caption: this.getModalTogglerCaption(viewProps.totalCount, selectedRows.length),
|
|
2782
|
+
}, selectedRows)));
|
|
2783
|
+
};
|
|
2784
|
+
PickerList.contextType = uui_core_1.UuiContext;
|
|
2785
|
+
return PickerList;
|
|
2786
|
+
}(uui_components_1.PickerListBase));
|
|
2787
|
+
exports.PickerList = PickerList;
|
|
2788
2788
|
|
|
2789
2789
|
|
|
2790
2790
|
/***/ }),
|
|
@@ -2797,7 +2797,7 @@ exports.PickerList = PickerList;
|
|
|
2797
2797
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2798
2798
|
|
|
2799
2799
|
// extracted by mini-css-extract-plugin
|
|
2800
|
-
module.exports = {"row":"
|
|
2800
|
+
module.exports = {"row":"TiSCC"};
|
|
2801
2801
|
|
|
2802
2802
|
/***/ }),
|
|
2803
2803
|
|
|
@@ -2809,40 +2809,40 @@ module.exports = {"row":"_2kB6c"};
|
|
|
2809
2809
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2810
2810
|
|
|
2811
2811
|
"use strict";
|
|
2812
|
-
|
|
2813
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2814
|
-
exports.PickerListItem = void 0;
|
|
2815
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2816
|
-
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2817
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2818
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2819
|
-
var PickerListItem_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerListItem.scss */ "./components/pickers/PickerListItem.scss"));
|
|
2820
|
-
var PickerListItem = /** @class */ (function (_super) {
|
|
2821
|
-
(0, tslib_1.__extends)(PickerListItem, _super);
|
|
2822
|
-
function PickerListItem() {
|
|
2823
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2824
|
-
}
|
|
2825
|
-
PickerListItem.prototype.render = function () {
|
|
2826
|
-
var _this = this;
|
|
2827
|
-
var label;
|
|
2828
|
-
if (this.props.isLoading) {
|
|
2829
|
-
label = react_1.default.createElement(typography_1.TextPlaceholder, { wordsCount: 2 });
|
|
2830
|
-
}
|
|
2831
|
-
else {
|
|
2832
|
-
label = this.props.getName(this.props.value);
|
|
2833
|
-
}
|
|
2834
|
-
var component;
|
|
2835
|
-
if (this.props.checkbox) {
|
|
2836
|
-
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); } }));
|
|
2837
|
-
}
|
|
2838
|
-
else {
|
|
2839
|
-
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); } });
|
|
2840
|
-
}
|
|
2841
|
-
return react_1.default.createElement("div", { className: PickerListItem_scss_1.default.row }, component);
|
|
2842
|
-
};
|
|
2843
|
-
return PickerListItem;
|
|
2844
|
-
}(react_1.default.Component));
|
|
2845
|
-
exports.PickerListItem = PickerListItem;
|
|
2812
|
+
|
|
2813
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2814
|
+
exports.PickerListItem = void 0;
|
|
2815
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2816
|
+
var react_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! react */ "react"));
|
|
2817
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2818
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2819
|
+
var PickerListItem_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./PickerListItem.scss */ "./components/pickers/PickerListItem.scss"));
|
|
2820
|
+
var PickerListItem = /** @class */ (function (_super) {
|
|
2821
|
+
(0, tslib_1.__extends)(PickerListItem, _super);
|
|
2822
|
+
function PickerListItem() {
|
|
2823
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2824
|
+
}
|
|
2825
|
+
PickerListItem.prototype.render = function () {
|
|
2826
|
+
var _this = this;
|
|
2827
|
+
var label;
|
|
2828
|
+
if (this.props.isLoading) {
|
|
2829
|
+
label = react_1.default.createElement(typography_1.TextPlaceholder, { wordsCount: 2 });
|
|
2830
|
+
}
|
|
2831
|
+
else {
|
|
2832
|
+
label = this.props.getName(this.props.value);
|
|
2833
|
+
}
|
|
2834
|
+
var component;
|
|
2835
|
+
if (this.props.checkbox) {
|
|
2836
|
+
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); } }));
|
|
2837
|
+
}
|
|
2838
|
+
else {
|
|
2839
|
+
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); } });
|
|
2840
|
+
}
|
|
2841
|
+
return react_1.default.createElement("div", { className: PickerListItem_scss_1.default.row }, component);
|
|
2842
|
+
};
|
|
2843
|
+
return PickerListItem;
|
|
2844
|
+
}(react_1.default.Component));
|
|
2845
|
+
exports.PickerListItem = PickerListItem;
|
|
2846
2846
|
|
|
2847
2847
|
|
|
2848
2848
|
/***/ }),
|
|
@@ -2855,7 +2855,7 @@ exports.PickerListItem = PickerListItem;
|
|
|
2855
2855
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2856
2856
|
|
|
2857
2857
|
// extracted by mini-css-extract-plugin
|
|
2858
|
-
module.exports = {"sub-header-wrapper":"
|
|
2858
|
+
module.exports = {"sub-header-wrapper":"_1wDIF","subHeaderWrapper":"_1wDIF","switch":"_164Nb"};
|
|
2859
2859
|
|
|
2860
2860
|
/***/ }),
|
|
2861
2861
|
|
|
@@ -2867,91 +2867,91 @@ module.exports = {"sub-header-wrapper":"_2JQIM","subHeaderWrapper":"_2JQIM","swi
|
|
|
2867
2867
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2868
2868
|
|
|
2869
2869
|
"use strict";
|
|
2870
|
-
|
|
2871
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2872
|
-
exports.PickerModal = exports.PickerModalImpl = void 0;
|
|
2873
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2874
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2875
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerModal.scss */ "./components/pickers/PickerModal.scss"));
|
|
2876
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2877
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2878
|
-
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2879
|
-
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2880
|
-
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
2881
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2882
|
-
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2883
|
-
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2884
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2885
|
-
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2886
|
-
var PickerModalImpl = /** @class */ (function (_super) {
|
|
2887
|
-
(0, tslib_1.__extends)(PickerModalImpl, _super);
|
|
2888
|
-
function PickerModalImpl() {
|
|
2889
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2890
|
-
}
|
|
2891
|
-
PickerModalImpl.prototype.renderRow = function (rowProps) {
|
|
2892
|
-
var _this = this;
|
|
2893
|
-
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)); } })));
|
|
2894
|
-
};
|
|
2895
|
-
PickerModalImpl.prototype.renderFooter = function (selectedDataRows) {
|
|
2896
|
-
var _this = this;
|
|
2897
|
-
var hasSelection = selectedDataRows.length > 0;
|
|
2898
|
-
var view = this.getView();
|
|
2899
|
-
return React.createElement(React.Fragment, null,
|
|
2900
|
-
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); } }),
|
|
2901
|
-
React.createElement(FlexItems_1.FlexSpacer, null),
|
|
2902
|
-
React.createElement(buttons_1.Button, { mode: 'outline', color: 'secondary', caption: i18n_1.i18n.pickerModal.cancelButton, onClick: function () { return _this.props.abort(); } }),
|
|
2903
|
-
React.createElement(buttons_1.Button, { color: 'accent', caption: i18n_1.i18n.pickerModal.selectButton, onClick: function () { return _this.props.success(null); } }));
|
|
2904
|
-
};
|
|
2905
|
-
PickerModalImpl.prototype.render = function () {
|
|
2906
|
-
var _this = this;
|
|
2907
|
-
var view = this.getView();
|
|
2908
|
-
var dataRows = this.getRows();
|
|
2909
|
-
var selectedDataRows = view.getSelectedRows();
|
|
2910
|
-
var rows = dataRows.map(function (props) { return _this.renderRow(props); });
|
|
2911
|
-
return (React.createElement(overlays_1.ModalBlocker, (0, tslib_1.__assign)({}, this.props),
|
|
2912
|
-
React.createElement(overlays_1.ModalWindow, { width: 600, height: 700 },
|
|
2913
|
-
React.createElement(overlays_1.ModalHeader, { borderBottom: true, title: this.props.caption || i18n_1.i18n.pickerModal.headerTitle, onClose: function () { return _this.props.abort(); } }),
|
|
2914
|
-
React.createElement(FlexItems_1.FlexCell, { cx: css.subHeaderWrapper },
|
|
2915
|
-
React.createElement(FlexItems_1.FlexRow, { vPadding: '24' },
|
|
2916
|
-
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)({
|
|
2917
|
-
value: _this.getDataSourceState(),
|
|
2918
|
-
onValueChange: _this.handleDataSourceValueChange,
|
|
2919
|
-
listView: view,
|
|
2920
|
-
rows: dataRows,
|
|
2921
|
-
editMode: 'modal',
|
|
2922
|
-
}, e); }, autoFocus: true, placeholder: i18n_1.i18n.pickerModal.searchPlaceholder }))),
|
|
2923
|
-
!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' })),
|
|
2924
|
-
this.props.renderFilter && React.createElement(FlexItems_1.FlexCell, { grow: 2 }, this.props.renderFilter(this.lens.prop('dataSourceState').prop('filter').toProps()))),
|
|
2925
|
-
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({
|
|
2926
|
-
search: _this.state.dataSourceState.search,
|
|
2927
|
-
onClose: function () { return _this.props.success(selectedDataRows); },
|
|
2928
|
-
}); }), editMode: 'modal' })),
|
|
2929
|
-
React.createElement(overlays_1.ModalFooter, { borderTop: true, padding: '24', vPadding: '24' }, this.props.renderFooter
|
|
2930
|
-
? this.props.renderFooter({
|
|
2931
|
-
view: view,
|
|
2932
|
-
showSelected: this.lens.prop('showSelected').toProps(),
|
|
2933
|
-
clearSelection: this.clearSelection,
|
|
2934
|
-
})
|
|
2935
|
-
: this.renderFooter(selectedDataRows)))));
|
|
2936
|
-
};
|
|
2937
|
-
return PickerModalImpl;
|
|
2938
|
-
}(uui_components_1.PickerModalBase));
|
|
2939
|
-
exports.PickerModalImpl = PickerModalImpl;
|
|
2940
|
-
var PickerModal = /** @class */ (function (_super) {
|
|
2941
|
-
(0, tslib_1.__extends)(PickerModal, _super);
|
|
2942
|
-
function PickerModal() {
|
|
2943
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2944
|
-
_this.state = { selection: _this.props.initialValue };
|
|
2945
|
-
_this.lens = uui_core_1.Lens.onState(_this);
|
|
2946
|
-
return _this;
|
|
2947
|
-
}
|
|
2948
|
-
PickerModal.prototype.render = function () {
|
|
2949
|
-
var _this = this;
|
|
2950
|
-
return React.createElement(PickerModalImpl, (0, tslib_1.__assign)({}, this.props, this.lens.prop('selection').toProps(), { success: function () { return _this.props.success(_this.state.selection); } }));
|
|
2951
|
-
};
|
|
2952
|
-
return PickerModal;
|
|
2953
|
-
}(React.Component));
|
|
2954
|
-
exports.PickerModal = PickerModal;
|
|
2870
|
+
|
|
2871
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2872
|
+
exports.PickerModal = exports.PickerModalImpl = void 0;
|
|
2873
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2874
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2875
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerModal.scss */ "./components/pickers/PickerModal.scss"));
|
|
2876
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
2877
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2878
|
+
var DataPickerBody_1 = __webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx");
|
|
2879
|
+
var FlexItems_1 = __webpack_require__(/*! ../layout/FlexItems */ "./components/layout/FlexItems/index.ts");
|
|
2880
|
+
var overlays_1 = __webpack_require__(/*! ../overlays */ "./components/overlays/index.ts");
|
|
2881
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
2882
|
+
var buttons_1 = __webpack_require__(/*! ../buttons */ "./components/buttons/index.ts");
|
|
2883
|
+
var DataPickerRow_1 = __webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx");
|
|
2884
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2885
|
+
var i18n_1 = __webpack_require__(/*! ../../i18n */ "./i18n.ts");
|
|
2886
|
+
var PickerModalImpl = /** @class */ (function (_super) {
|
|
2887
|
+
(0, tslib_1.__extends)(PickerModalImpl, _super);
|
|
2888
|
+
function PickerModalImpl() {
|
|
2889
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2890
|
+
}
|
|
2891
|
+
PickerModalImpl.prototype.renderRow = function (rowProps) {
|
|
2892
|
+
var _this = this;
|
|
2893
|
+
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)); } })));
|
|
2894
|
+
};
|
|
2895
|
+
PickerModalImpl.prototype.renderFooter = function (selectedDataRows) {
|
|
2896
|
+
var _this = this;
|
|
2897
|
+
var hasSelection = selectedDataRows.length > 0;
|
|
2898
|
+
var view = this.getView();
|
|
2899
|
+
return React.createElement(React.Fragment, null,
|
|
2900
|
+
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); } }),
|
|
2901
|
+
React.createElement(FlexItems_1.FlexSpacer, null),
|
|
2902
|
+
React.createElement(buttons_1.Button, { mode: 'outline', color: 'secondary', caption: i18n_1.i18n.pickerModal.cancelButton, onClick: function () { return _this.props.abort(); } }),
|
|
2903
|
+
React.createElement(buttons_1.Button, { color: 'accent', caption: i18n_1.i18n.pickerModal.selectButton, onClick: function () { return _this.props.success(null); } }));
|
|
2904
|
+
};
|
|
2905
|
+
PickerModalImpl.prototype.render = function () {
|
|
2906
|
+
var _this = this;
|
|
2907
|
+
var view = this.getView();
|
|
2908
|
+
var dataRows = this.getRows();
|
|
2909
|
+
var selectedDataRows = view.getSelectedRows();
|
|
2910
|
+
var rows = dataRows.map(function (props) { return _this.renderRow(props); });
|
|
2911
|
+
return (React.createElement(overlays_1.ModalBlocker, (0, tslib_1.__assign)({}, this.props),
|
|
2912
|
+
React.createElement(overlays_1.ModalWindow, { width: 600, height: 700 },
|
|
2913
|
+
React.createElement(overlays_1.ModalHeader, { borderBottom: true, title: this.props.caption || i18n_1.i18n.pickerModal.headerTitle, onClose: function () { return _this.props.abort(); } }),
|
|
2914
|
+
React.createElement(FlexItems_1.FlexCell, { cx: css.subHeaderWrapper },
|
|
2915
|
+
React.createElement(FlexItems_1.FlexRow, { vPadding: '24' },
|
|
2916
|
+
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)({
|
|
2917
|
+
value: _this.getDataSourceState(),
|
|
2918
|
+
onValueChange: _this.handleDataSourceValueChange,
|
|
2919
|
+
listView: view,
|
|
2920
|
+
rows: dataRows,
|
|
2921
|
+
editMode: 'modal',
|
|
2922
|
+
}, e); }, autoFocus: true, placeholder: i18n_1.i18n.pickerModal.searchPlaceholder }))),
|
|
2923
|
+
!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' })),
|
|
2924
|
+
this.props.renderFilter && React.createElement(FlexItems_1.FlexCell, { grow: 2 }, this.props.renderFilter(this.lens.prop('dataSourceState').prop('filter').toProps()))),
|
|
2925
|
+
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({
|
|
2926
|
+
search: _this.state.dataSourceState.search,
|
|
2927
|
+
onClose: function () { return _this.props.success(selectedDataRows); },
|
|
2928
|
+
}); }), editMode: 'modal' })),
|
|
2929
|
+
React.createElement(overlays_1.ModalFooter, { borderTop: true, padding: '24', vPadding: '24' }, this.props.renderFooter
|
|
2930
|
+
? this.props.renderFooter({
|
|
2931
|
+
view: view,
|
|
2932
|
+
showSelected: this.lens.prop('showSelected').toProps(),
|
|
2933
|
+
clearSelection: this.clearSelection,
|
|
2934
|
+
})
|
|
2935
|
+
: this.renderFooter(selectedDataRows)))));
|
|
2936
|
+
};
|
|
2937
|
+
return PickerModalImpl;
|
|
2938
|
+
}(uui_components_1.PickerModalBase));
|
|
2939
|
+
exports.PickerModalImpl = PickerModalImpl;
|
|
2940
|
+
var PickerModal = /** @class */ (function (_super) {
|
|
2941
|
+
(0, tslib_1.__extends)(PickerModal, _super);
|
|
2942
|
+
function PickerModal() {
|
|
2943
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2944
|
+
_this.state = { selection: _this.props.initialValue };
|
|
2945
|
+
_this.lens = uui_core_1.Lens.onState(_this);
|
|
2946
|
+
return _this;
|
|
2947
|
+
}
|
|
2948
|
+
PickerModal.prototype.render = function () {
|
|
2949
|
+
var _this = this;
|
|
2950
|
+
return React.createElement(PickerModalImpl, (0, tslib_1.__assign)({}, this.props, this.lens.prop('selection').toProps(), { success: function () { return _this.props.success(_this.state.selection); } }));
|
|
2951
|
+
};
|
|
2952
|
+
return PickerModal;
|
|
2953
|
+
}(React.Component));
|
|
2954
|
+
exports.PickerModal = PickerModal;
|
|
2955
2955
|
|
|
2956
2956
|
|
|
2957
2957
|
/***/ }),
|
|
@@ -2964,7 +2964,7 @@ exports.PickerModal = PickerModal;
|
|
|
2964
2964
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2965
2965
|
|
|
2966
2966
|
// extracted by mini-css-extract-plugin
|
|
2967
|
-
module.exports = {"root":"
|
|
2967
|
+
module.exports = {"root":"_2sWYI","mode-form":"_3fUSZ","modeForm":"_3fUSZ","mode-cell":"_1tjES","modeCell":"_1tjES","size-24":"_2aLMH","size24":"_2aLMH","size-30":"_15sAT","size30":"_15sAT","size-36":"H38F_","size36":"H38F_","size-42":"fYfV2","size42":"fYfV2","size-48":"_1eRFO","size48":"_1eRFO"};
|
|
2968
2968
|
|
|
2969
2969
|
/***/ }),
|
|
2970
2970
|
|
|
@@ -2976,63 +2976,63 @@ module.exports = {"root":"_2F4yZ","mode-form":"_2U-GG","modeForm":"_2U-GG","mode
|
|
|
2976
2976
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2977
2977
|
|
|
2978
2978
|
"use strict";
|
|
2979
|
-
|
|
2980
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2981
|
-
exports.PickerToggler = void 0;
|
|
2982
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2983
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2984
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2985
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2986
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
2987
|
-
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2988
|
-
var types = (0, tslib_1.__importStar)(__webpack_require__(/*! ../types */ "./components/types.ts"));
|
|
2989
|
-
__webpack_require__(/*! ../../assets/styles/variables/pickers/pickerToggler.scss */ "./assets/styles/variables/pickers/pickerToggler.scss");
|
|
2990
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerToggler.scss */ "./components/pickers/PickerToggler.scss"));
|
|
2991
|
-
var defaultSize = '36';
|
|
2992
|
-
var defaultMode = types.EditMode.FORM;
|
|
2993
|
-
function applyPickerTogglerMods(mods) {
|
|
2994
|
-
return [
|
|
2995
|
-
'picker-toggler-vars',
|
|
2996
|
-
css.root,
|
|
2997
|
-
css['size-' + (mods.size || defaultSize)],
|
|
2998
|
-
css['mode-' + (mods.mode || defaultMode)],
|
|
2999
|
-
];
|
|
3000
|
-
}
|
|
3001
|
-
function PickerTogglerComponent(props, ref) {
|
|
3002
|
-
var getPickerTogglerButtonSize = function (propSize) {
|
|
3003
|
-
switch (propSize) {
|
|
3004
|
-
case '48':
|
|
3005
|
-
return '42';
|
|
3006
|
-
case '42':
|
|
3007
|
-
return '36';
|
|
3008
|
-
case '36':
|
|
3009
|
-
return '30';
|
|
3010
|
-
case '30':
|
|
3011
|
-
return '24';
|
|
3012
|
-
case '24':
|
|
3013
|
-
return '18';
|
|
3014
|
-
}
|
|
3015
|
-
};
|
|
3016
|
-
var getCaption = function (row) {
|
|
3017
|
-
var _a;
|
|
3018
|
-
var maxItems = (props.maxItems || props.maxItems === 0) ? props.maxItems : 100;
|
|
3019
|
-
if (row.isLoading) {
|
|
3020
|
-
return React.createElement(typography_1.TextPlaceholder, null);
|
|
3021
|
-
}
|
|
3022
|
-
else if (!props.getName || ((_a = props.selection) === null || _a === void 0 ? void 0 : _a.length) > maxItems) {
|
|
3023
|
-
return row.value;
|
|
3024
|
-
}
|
|
3025
|
-
else {
|
|
3026
|
-
return props.getName(row.value);
|
|
3027
|
-
}
|
|
3028
|
-
};
|
|
3029
|
-
var renderItem = function (row) { return (React.createElement(widgets_1.Tag, { key: row.id, caption: getCaption(row), tabIndex: -1, size: props.size ? getPickerTogglerButtonSize(props.size) : '30', onClear: function (e) {
|
|
3030
|
-
row.onCheck && row.onCheck(row);
|
|
3031
|
-
e.stopPropagation();
|
|
3032
|
-
} })); };
|
|
3033
|
-
return (React.createElement(uui_components_1.PickerToggler, (0, tslib_1.__assign)({}, props, { ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: !!props.renderItem ? props.renderItem : renderItem, getName: function (row) { return props.getName ? props.getName(row.value) : row.value; }, cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear, dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow })));
|
|
3034
|
-
}
|
|
3035
|
-
exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
2979
|
+
|
|
2980
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2981
|
+
exports.PickerToggler = void 0;
|
|
2982
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
2983
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
2984
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
2985
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
2986
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
2987
|
+
var widgets_1 = __webpack_require__(/*! ../widgets */ "./components/widgets/index.ts");
|
|
2988
|
+
var types = (0, tslib_1.__importStar)(__webpack_require__(/*! ../types */ "./components/types.ts"));
|
|
2989
|
+
__webpack_require__(/*! ../../assets/styles/variables/pickers/pickerToggler.scss */ "./assets/styles/variables/pickers/pickerToggler.scss");
|
|
2990
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./PickerToggler.scss */ "./components/pickers/PickerToggler.scss"));
|
|
2991
|
+
var defaultSize = '36';
|
|
2992
|
+
var defaultMode = types.EditMode.FORM;
|
|
2993
|
+
function applyPickerTogglerMods(mods) {
|
|
2994
|
+
return [
|
|
2995
|
+
'picker-toggler-vars',
|
|
2996
|
+
css.root,
|
|
2997
|
+
css['size-' + (mods.size || defaultSize)],
|
|
2998
|
+
css['mode-' + (mods.mode || defaultMode)],
|
|
2999
|
+
];
|
|
3000
|
+
}
|
|
3001
|
+
function PickerTogglerComponent(props, ref) {
|
|
3002
|
+
var getPickerTogglerButtonSize = function (propSize) {
|
|
3003
|
+
switch (propSize) {
|
|
3004
|
+
case '48':
|
|
3005
|
+
return '42';
|
|
3006
|
+
case '42':
|
|
3007
|
+
return '36';
|
|
3008
|
+
case '36':
|
|
3009
|
+
return '30';
|
|
3010
|
+
case '30':
|
|
3011
|
+
return '24';
|
|
3012
|
+
case '24':
|
|
3013
|
+
return '18';
|
|
3014
|
+
}
|
|
3015
|
+
};
|
|
3016
|
+
var getCaption = function (row) {
|
|
3017
|
+
var _a;
|
|
3018
|
+
var maxItems = (props.maxItems || props.maxItems === 0) ? props.maxItems : 100;
|
|
3019
|
+
if (row.isLoading) {
|
|
3020
|
+
return React.createElement(typography_1.TextPlaceholder, null);
|
|
3021
|
+
}
|
|
3022
|
+
else if (!props.getName || ((_a = props.selection) === null || _a === void 0 ? void 0 : _a.length) > maxItems) {
|
|
3023
|
+
return row.value;
|
|
3024
|
+
}
|
|
3025
|
+
else {
|
|
3026
|
+
return props.getName(row.value);
|
|
3027
|
+
}
|
|
3028
|
+
};
|
|
3029
|
+
var renderItem = function (row) { return (React.createElement(widgets_1.Tag, { key: row.id, caption: getCaption(row), tabIndex: -1, size: props.size ? getPickerTogglerButtonSize(props.size) : '30', onClear: function (e) {
|
|
3030
|
+
row.onCheck && row.onCheck(row);
|
|
3031
|
+
e.stopPropagation();
|
|
3032
|
+
} })); };
|
|
3033
|
+
return (React.createElement(uui_components_1.PickerToggler, (0, tslib_1.__assign)({}, props, { ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: !!props.renderItem ? props.renderItem : renderItem, getName: function (row) { return props.getName ? props.getName(row.value) : row.value; }, cancelIcon: icons_1.systemIcons[props.size || defaultSize].clear, dropdownIcon: icons_1.systemIcons[props.size || defaultSize].foldingArrow })));
|
|
3034
|
+
}
|
|
3035
|
+
exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
3036
3036
|
|
|
3037
3037
|
|
|
3038
3038
|
/***/ }),
|
|
@@ -3045,20 +3045,20 @@ exports.PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
|
3045
3045
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3046
3046
|
|
|
3047
3047
|
"use strict";
|
|
3048
|
-
|
|
3049
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3050
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3051
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx"), exports);
|
|
3052
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx"), exports);
|
|
3053
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx"), exports);
|
|
3054
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx"), exports);
|
|
3055
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx"), exports);
|
|
3056
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerInput */ "./components/pickers/PickerInput.tsx"), exports);
|
|
3057
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx"), exports);
|
|
3058
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerList */ "./components/pickers/PickerList.tsx"), exports);
|
|
3059
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx"), exports);
|
|
3060
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx"), exports);
|
|
3061
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx"), exports);
|
|
3048
|
+
|
|
3049
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3050
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3051
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerBody */ "./components/pickers/DataPickerBody.tsx"), exports);
|
|
3052
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerFooter */ "./components/pickers/DataPickerFooter.tsx"), exports);
|
|
3053
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerHeader */ "./components/pickers/DataPickerHeader.tsx"), exports);
|
|
3054
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataPickerRow */ "./components/pickers/DataPickerRow.tsx"), exports);
|
|
3055
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./MobileDropdownWrapper */ "./components/pickers/MobileDropdownWrapper.tsx"), exports);
|
|
3056
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerInput */ "./components/pickers/PickerInput.tsx"), exports);
|
|
3057
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerItem */ "./components/pickers/PickerItem.tsx"), exports);
|
|
3058
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerList */ "./components/pickers/PickerList.tsx"), exports);
|
|
3059
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerListItem */ "./components/pickers/PickerListItem.tsx"), exports);
|
|
3060
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerModal */ "./components/pickers/PickerModal.tsx"), exports);
|
|
3061
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./PickerToggler */ "./components/pickers/PickerToggler.tsx"), exports);
|
|
3062
3062
|
|
|
3063
3063
|
|
|
3064
3064
|
/***/ }),
|
|
@@ -3071,7 +3071,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3071
3071
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3072
3072
|
|
|
3073
3073
|
// extracted by mini-css-extract-plugin
|
|
3074
|
-
module.exports = {"cell":"
|
|
3074
|
+
module.exports = {"cell":"_2TaeE","wrapper":"_3JLiI","align-widgets-top":"_1XCUA","alignWidgetsTop":"_1XCUA","size-24":"_2AyPy","size24":"_2AyPy","folding-arrow":"_2LUe_","foldingArrow":"_2LUe_","size-30":"_2MiU-","size30":"_2MiU-","size-36":"HdQUn","size36":"HdQUn","size-42":"_33MIS","size42":"_33MIS","size-48":"_1hfbP","size48":"_1hfbP","size-60":"_1ARaN","size60":"_1ARaN","align-widgets-center":"_1I_ky","alignWidgetsCenter":"_1I_ky","padding-12":"tZd1n","padding12":"tZd1n","padding-24":"_1pmye","padding24":"_1pmye","padding-left-12":"n-jzT","paddingLeft12":"n-jzT","padding-left-24":"lifVy","paddingLeft24":"lifVy","padding-right-24":"_3O2yK","paddingRight24":"_3O2yK","drag-handle":"_2l0ao","dragHandle":"_2l0ao","checkbox":"_3F2al","indent":"_2KrZ9","folding-arrow-12":"_2pyhR","foldingArrow12":"_2pyhR","folding-arrow-18":"_1Iy6G","foldingArrow18":"_1Iy6G"};
|
|
3075
3075
|
|
|
3076
3076
|
/***/ }),
|
|
3077
3077
|
|
|
@@ -3083,48 +3083,48 @@ module.exports = {"cell":"_29rEX","wrapper":"_3hI9K","align-widgets-top":"_1dxrc
|
|
|
3083
3083
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3084
3084
|
|
|
3085
3085
|
"use strict";
|
|
3086
|
-
|
|
3087
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3088
|
-
exports.DataTableCell = void 0;
|
|
3089
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3090
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3091
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3092
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3093
|
-
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
3094
|
-
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
3095
|
-
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
3096
|
-
var tree_folding_arrow_svg_1 = __webpack_require__(/*! ../../icons/tree_folding_arrow.svg */ "./icons/tree_folding_arrow.svg");
|
|
3097
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataTableCell.scss */ "./components/tables/DataTableCell.scss"));
|
|
3098
|
-
var DataTableCell = /** @class */ (function (_super) {
|
|
3099
|
-
(0, tslib_1.__extends)(DataTableCell, _super);
|
|
3100
|
-
function DataTableCell() {
|
|
3101
|
-
var _a, _b, _c;
|
|
3102
|
-
var _this = _super.apply(this, arguments) || this;
|
|
3103
|
-
_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));
|
|
3104
|
-
_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); };
|
|
3105
|
-
_this.getContent = function () {
|
|
3106
|
-
var _a;
|
|
3107
|
-
var row = _this.props.rowProps;
|
|
3108
|
-
var additionalItemSize = +_this.props.size < 30 ? '12' : '18';
|
|
3109
|
-
var cellContent = row.isLoading
|
|
3110
|
-
? React.createElement(typography_1.Text, { size: _this.props.size != '60' ? _this.props.size : '48' },
|
|
3111
|
-
React.createElement(typography_1.TextPlaceholder, null))
|
|
3112
|
-
: _this.props.column.render(_this.props.rowProps.value, _this.props.rowProps);
|
|
3113
|
-
return (React.createElement(React.Fragment, null,
|
|
3114
|
-
_this.props.isFirstColumn && _this.isDraggable() && React.createElement(uui_components_1.DragHandle, { cx: css.dragHandle }),
|
|
3115
|
-
_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 }),
|
|
3116
|
-
_this.props.isFirstColumn && row.indent > 0 && (React.createElement("div", { key: 'fold', className: css.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable &&
|
|
3117
|
-
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); } }))),
|
|
3118
|
-
cellContent));
|
|
3119
|
-
};
|
|
3120
|
-
return _this;
|
|
3121
|
-
}
|
|
3122
|
-
DataTableCell.prototype.render = function () {
|
|
3123
|
-
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()));
|
|
3124
|
-
};
|
|
3125
|
-
return DataTableCell;
|
|
3126
|
-
}(React.Component));
|
|
3127
|
-
exports.DataTableCell = DataTableCell;
|
|
3086
|
+
|
|
3087
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3088
|
+
exports.DataTableCell = void 0;
|
|
3089
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3090
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3091
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3092
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3093
|
+
var typography_1 = __webpack_require__(/*! ../typography */ "./components/typography/index.ts");
|
|
3094
|
+
var layout_1 = __webpack_require__(/*! ../layout */ "./components/layout/index.ts");
|
|
3095
|
+
var inputs_1 = __webpack_require__(/*! ../inputs */ "./components/inputs/index.ts");
|
|
3096
|
+
var tree_folding_arrow_svg_1 = __webpack_require__(/*! ../../icons/tree_folding_arrow.svg */ "./icons/tree_folding_arrow.svg");
|
|
3097
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./DataTableCell.scss */ "./components/tables/DataTableCell.scss"));
|
|
3098
|
+
var DataTableCell = /** @class */ (function (_super) {
|
|
3099
|
+
(0, tslib_1.__extends)(DataTableCell, _super);
|
|
3100
|
+
function DataTableCell() {
|
|
3101
|
+
var _a, _b, _c;
|
|
3102
|
+
var _this = _super.apply(this, arguments) || this;
|
|
3103
|
+
_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));
|
|
3104
|
+
_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); };
|
|
3105
|
+
_this.getContent = function () {
|
|
3106
|
+
var _a;
|
|
3107
|
+
var row = _this.props.rowProps;
|
|
3108
|
+
var additionalItemSize = +_this.props.size < 30 ? '12' : '18';
|
|
3109
|
+
var cellContent = row.isLoading
|
|
3110
|
+
? React.createElement(typography_1.Text, { size: _this.props.size != '60' ? _this.props.size : '48' },
|
|
3111
|
+
React.createElement(typography_1.TextPlaceholder, null))
|
|
3112
|
+
: _this.props.column.render(_this.props.rowProps.value, _this.props.rowProps);
|
|
3113
|
+
return (React.createElement(React.Fragment, null,
|
|
3114
|
+
_this.props.isFirstColumn && _this.isDraggable() && React.createElement(uui_components_1.DragHandle, { cx: css.dragHandle }),
|
|
3115
|
+
_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 }),
|
|
3116
|
+
_this.props.isFirstColumn && row.indent > 0 && (React.createElement("div", { key: 'fold', className: css.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable &&
|
|
3117
|
+
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); } }))),
|
|
3118
|
+
cellContent));
|
|
3119
|
+
};
|
|
3120
|
+
return _this;
|
|
3121
|
+
}
|
|
3122
|
+
DataTableCell.prototype.render = function () {
|
|
3123
|
+
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()));
|
|
3124
|
+
};
|
|
3125
|
+
return DataTableCell;
|
|
3126
|
+
}(React.Component));
|
|
3127
|
+
exports.DataTableCell = DataTableCell;
|
|
3128
3128
|
|
|
3129
3129
|
|
|
3130
3130
|
/***/ }),
|
|
@@ -3137,7 +3137,7 @@ exports.DataTableCell = DataTableCell;
|
|
|
3137
3137
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3138
3138
|
|
|
3139
3139
|
// extracted by mini-css-extract-plugin
|
|
3140
|
-
module.exports = {"container":"
|
|
3140
|
+
module.exports = {"container":"_1N2lQ","target":"_2Fjjz","panel":"eFjl6","divider":"_27ocj","input":"_3DwkO","notification":"XV29c"};
|
|
3141
3141
|
|
|
3142
3142
|
/***/ }),
|
|
3143
3143
|
|
|
@@ -3149,70 +3149,70 @@ module.exports = {"container":"_1pu2g","target":"_1EnC3","panel":"_1R-Sm","divid
|
|
|
3149
3149
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3150
3150
|
|
|
3151
3151
|
"use strict";
|
|
3152
|
-
|
|
3153
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3154
|
-
exports.Preset = void 0;
|
|
3155
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3156
|
-
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3157
|
-
var __1 = __webpack_require__(/*! ../../ */ "./components/index.ts");
|
|
3158
|
-
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");
|
|
3159
|
-
var Preset_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Preset.scss */ "./components/tables/Presets/Preset.scss"));
|
|
3160
|
-
var Preset = function (_a) {
|
|
3161
|
-
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;
|
|
3162
|
-
var _b = (0, react_1.useState)(false), isRenaming = _b[0], setIsRenaming = _b[1];
|
|
3163
|
-
var _c = (0, react_1.useState)(""), renamingValue = _c[0], setRenamingValue = _c[1];
|
|
3164
|
-
var handleChoose = (0, react_1.useCallback)(function () { return choosePreset(preset); }, [preset, choosePreset]);
|
|
3165
|
-
var handleUpdate = (0, react_1.useCallback)(function () { return updatePreset(preset); }, [preset, updatePreset]);
|
|
3166
|
-
var acceptRenaming = (0, react_1.useCallback)(function () {
|
|
3167
|
-
if (renamingValue) {
|
|
3168
|
-
var newPreset = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, preset), { name: renamingValue });
|
|
3169
|
-
updatePreset(newPreset);
|
|
3170
|
-
}
|
|
3171
|
-
setIsRenaming(false);
|
|
3172
|
-
}, [renamingValue, updatePreset]);
|
|
3173
|
-
var renderBody = (0, react_1.useCallback)(function (props) {
|
|
3174
|
-
var handleDuplicate = function () {
|
|
3175
|
-
duplicatePreset(preset);
|
|
3176
|
-
props.onClose();
|
|
3177
|
-
};
|
|
3178
|
-
var startRenaming = function () {
|
|
3179
|
-
setIsRenaming(true);
|
|
3180
|
-
setRenamingValue(preset.name);
|
|
3181
|
-
props.onClose();
|
|
3182
|
-
};
|
|
3183
|
-
var handleDelete = function () {
|
|
3184
|
-
deletePreset(preset);
|
|
3185
|
-
if (isActive) {
|
|
3186
|
-
resetToDefault();
|
|
3187
|
-
}
|
|
3188
|
-
props.onClose();
|
|
3189
|
-
};
|
|
3190
|
-
var update = function () {
|
|
3191
|
-
handleUpdate();
|
|
3192
|
-
props.onClose();
|
|
3193
|
-
};
|
|
3194
|
-
var choose = function () {
|
|
3195
|
-
choosePreset(preset);
|
|
3196
|
-
props.onClose();
|
|
3197
|
-
};
|
|
3198
|
-
return (react_1.default.createElement(__1.DropdownMenuBody, (0, tslib_1.__assign)({}, props),
|
|
3199
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Duplicate', onClick: handleDuplicate }),
|
|
3200
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Rename', onClick: startRenaming }),
|
|
3201
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Update', onClick: update, isDisabled: !hasChanged }),
|
|
3202
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Delete', onClick: handleDelete }),
|
|
3203
|
-
react_1.default.createElement(__1.DropdownMenuSplitter, null),
|
|
3204
|
-
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Discard all changes', onClick: choose, isDisabled: !hasChanged })));
|
|
3205
|
-
}, [preset, duplicatePreset, deletePreset, isActive, choosePreset, hasChanged]);
|
|
3206
|
-
var renderTarget = (0, react_1.useCallback)(function (props) {
|
|
3207
|
-
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] })));
|
|
3208
|
-
}, [preset, isActive, hasChanged]);
|
|
3209
|
-
return (react_1.default.createElement(react_1.default.Fragment, null, isRenaming
|
|
3210
|
-
? (react_1.default.createElement(__1.TextInput, { value: renamingValue, onValueChange: setRenamingValue, size: '24', onAccept: acceptRenaming, onBlur: acceptRenaming, cx: Preset_scss_1.default.input, autoFocus: true }))
|
|
3211
|
-
: (react_1.default.createElement(__1.ControlGroup, { cx: Preset_scss_1.default.container },
|
|
3212
|
-
react_1.default.createElement(__1.Button, { key: preset.id, size: '24', caption: preset.name, mode: isActive ? 'solid' : 'outline', onClick: isActive ? null : handleChoose }),
|
|
3213
|
-
!preset.isReadonly && (react_1.default.createElement(__1.Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: 'bottom-end' }))))));
|
|
3214
|
-
};
|
|
3215
|
-
exports.Preset = Preset;
|
|
3152
|
+
|
|
3153
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3154
|
+
exports.Preset = void 0;
|
|
3155
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3156
|
+
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3157
|
+
var __1 = __webpack_require__(/*! ../../ */ "./components/index.ts");
|
|
3158
|
+
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");
|
|
3159
|
+
var Preset_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Preset.scss */ "./components/tables/Presets/Preset.scss"));
|
|
3160
|
+
var Preset = function (_a) {
|
|
3161
|
+
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;
|
|
3162
|
+
var _b = (0, react_1.useState)(false), isRenaming = _b[0], setIsRenaming = _b[1];
|
|
3163
|
+
var _c = (0, react_1.useState)(""), renamingValue = _c[0], setRenamingValue = _c[1];
|
|
3164
|
+
var handleChoose = (0, react_1.useCallback)(function () { return choosePreset(preset); }, [preset, choosePreset]);
|
|
3165
|
+
var handleUpdate = (0, react_1.useCallback)(function () { return updatePreset(preset); }, [preset, updatePreset]);
|
|
3166
|
+
var acceptRenaming = (0, react_1.useCallback)(function () {
|
|
3167
|
+
if (renamingValue) {
|
|
3168
|
+
var newPreset = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, preset), { name: renamingValue });
|
|
3169
|
+
updatePreset(newPreset);
|
|
3170
|
+
}
|
|
3171
|
+
setIsRenaming(false);
|
|
3172
|
+
}, [renamingValue, updatePreset]);
|
|
3173
|
+
var renderBody = (0, react_1.useCallback)(function (props) {
|
|
3174
|
+
var handleDuplicate = function () {
|
|
3175
|
+
duplicatePreset(preset);
|
|
3176
|
+
props.onClose();
|
|
3177
|
+
};
|
|
3178
|
+
var startRenaming = function () {
|
|
3179
|
+
setIsRenaming(true);
|
|
3180
|
+
setRenamingValue(preset.name);
|
|
3181
|
+
props.onClose();
|
|
3182
|
+
};
|
|
3183
|
+
var handleDelete = function () {
|
|
3184
|
+
deletePreset(preset);
|
|
3185
|
+
if (isActive) {
|
|
3186
|
+
resetToDefault();
|
|
3187
|
+
}
|
|
3188
|
+
props.onClose();
|
|
3189
|
+
};
|
|
3190
|
+
var update = function () {
|
|
3191
|
+
handleUpdate();
|
|
3192
|
+
props.onClose();
|
|
3193
|
+
};
|
|
3194
|
+
var choose = function () {
|
|
3195
|
+
choosePreset(preset);
|
|
3196
|
+
props.onClose();
|
|
3197
|
+
};
|
|
3198
|
+
return (react_1.default.createElement(__1.DropdownMenuBody, (0, tslib_1.__assign)({}, props),
|
|
3199
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Duplicate', onClick: handleDuplicate }),
|
|
3200
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Rename', onClick: startRenaming }),
|
|
3201
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Update', onClick: update, isDisabled: !hasChanged }),
|
|
3202
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Delete', onClick: handleDelete }),
|
|
3203
|
+
react_1.default.createElement(__1.DropdownMenuSplitter, null),
|
|
3204
|
+
react_1.default.createElement(__1.DropdownMenuButton, { caption: 'Discard all changes', onClick: choose, isDisabled: !hasChanged })));
|
|
3205
|
+
}, [preset, duplicatePreset, deletePreset, isActive, choosePreset, hasChanged]);
|
|
3206
|
+
var renderTarget = (0, react_1.useCallback)(function (props) {
|
|
3207
|
+
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] })));
|
|
3208
|
+
}, [preset, isActive, hasChanged]);
|
|
3209
|
+
return (react_1.default.createElement(react_1.default.Fragment, null, isRenaming
|
|
3210
|
+
? (react_1.default.createElement(__1.TextInput, { value: renamingValue, onValueChange: setRenamingValue, size: '24', onAccept: acceptRenaming, onBlur: acceptRenaming, cx: Preset_scss_1.default.input, autoFocus: true }))
|
|
3211
|
+
: (react_1.default.createElement(__1.ControlGroup, { cx: Preset_scss_1.default.container },
|
|
3212
|
+
react_1.default.createElement(__1.Button, { key: preset.id, size: '24', caption: preset.name, mode: isActive ? 'solid' : 'outline', onClick: isActive ? null : handleChoose }),
|
|
3213
|
+
!preset.isReadonly && (react_1.default.createElement(__1.Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: 'bottom-end' }))))));
|
|
3214
|
+
};
|
|
3215
|
+
exports.Preset = Preset;
|
|
3216
3216
|
|
|
3217
3217
|
|
|
3218
3218
|
/***/ }),
|
|
@@ -3225,7 +3225,7 @@ exports.Preset = Preset;
|
|
|
3225
3225
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3226
3226
|
|
|
3227
3227
|
// extracted by mini-css-extract-plugin
|
|
3228
|
-
module.exports = {"row":"
|
|
3228
|
+
module.exports = {"row":"_1NrN6"};
|
|
3229
3229
|
|
|
3230
3230
|
/***/ }),
|
|
3231
3231
|
|
|
@@ -3237,33 +3237,33 @@ module.exports = {"row":"_1CdDF"};
|
|
|
3237
3237
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3238
3238
|
|
|
3239
3239
|
"use strict";
|
|
3240
|
-
|
|
3241
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3242
|
-
exports.Presets = void 0;
|
|
3243
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3244
|
-
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3245
|
-
var index_1 = __webpack_require__(/*! ../../index */ "./components/index.ts");
|
|
3246
|
-
var layout_1 = __webpack_require__(/*! ../../layout */ "./components/layout/index.ts");
|
|
3247
|
-
var Preset_1 = __webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx");
|
|
3248
|
-
var Presets_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Presets.scss */ "./components/tables/Presets/Presets.scss"));
|
|
3249
|
-
var PresetsImpl = function (_a) {
|
|
3250
|
-
var tableState = _a.tableState, presets = _a.presets, createNewPreset = _a.createNewPreset, getActivePresetId = _a.getActivePresetId, isDefaultPresetActive = _a.isDefaultPresetActive, hasPresetChanged = _a.hasPresetChanged, resetToDefault = _a.resetToDefault, choosePreset = _a.choosePreset, duplicatePreset = _a.duplicatePreset, deletePreset = _a.deletePreset, updatePreset = _a.updatePreset;
|
|
3251
|
-
var newPresetTitle = 'New preset';
|
|
3252
|
-
var activePresetId = getActivePresetId();
|
|
3253
|
-
var saveNewPreset = (0, react_1.useCallback)(function () {
|
|
3254
|
-
createNewPreset(newPresetTitle);
|
|
3255
|
-
}, [createNewPreset, newPresetTitle]);
|
|
3256
|
-
var activePreset = presets.find(function (p) { return p.id === activePresetId; });
|
|
3257
|
-
var hasActivePresetChanged = (0, react_1.useMemo)(function () {
|
|
3258
|
-
return !isDefaultPresetActive()
|
|
3259
|
-
&& hasPresetChanged(activePreset);
|
|
3260
|
-
}, [isDefaultPresetActive, activePreset, tableState.filter]);
|
|
3261
|
-
return (react_1.default.createElement(layout_1.FlexRow, { spacing: '6', size: '48', padding: '18', cx: Presets_scss_1.default.row },
|
|
3262
|
-
react_1.default.createElement(index_1.Button, { size: '24', caption: 'Default', mode: isDefaultPresetActive() ? 'solid' : 'outline', onClick: isDefaultPresetActive() ? null : resetToDefault }),
|
|
3263
|
-
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 })); }),
|
|
3264
|
-
hasActivePresetChanged && (react_1.default.createElement(index_1.Button, { caption: "Save as ".concat(newPresetTitle), onClick: saveNewPreset, color: 'accent', mode: 'solid', size: '24' }))));
|
|
3265
|
-
};
|
|
3266
|
-
exports.Presets = react_1.default.memo(PresetsImpl);
|
|
3240
|
+
|
|
3241
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3242
|
+
exports.Presets = void 0;
|
|
3243
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3244
|
+
var react_1 = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3245
|
+
var index_1 = __webpack_require__(/*! ../../index */ "./components/index.ts");
|
|
3246
|
+
var layout_1 = __webpack_require__(/*! ../../layout */ "./components/layout/index.ts");
|
|
3247
|
+
var Preset_1 = __webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx");
|
|
3248
|
+
var Presets_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Presets.scss */ "./components/tables/Presets/Presets.scss"));
|
|
3249
|
+
var PresetsImpl = function (_a) {
|
|
3250
|
+
var tableState = _a.tableState, presets = _a.presets, createNewPreset = _a.createNewPreset, getActivePresetId = _a.getActivePresetId, isDefaultPresetActive = _a.isDefaultPresetActive, hasPresetChanged = _a.hasPresetChanged, resetToDefault = _a.resetToDefault, choosePreset = _a.choosePreset, duplicatePreset = _a.duplicatePreset, deletePreset = _a.deletePreset, updatePreset = _a.updatePreset;
|
|
3251
|
+
var newPresetTitle = 'New preset';
|
|
3252
|
+
var activePresetId = getActivePresetId();
|
|
3253
|
+
var saveNewPreset = (0, react_1.useCallback)(function () {
|
|
3254
|
+
createNewPreset(newPresetTitle);
|
|
3255
|
+
}, [createNewPreset, newPresetTitle]);
|
|
3256
|
+
var activePreset = presets.find(function (p) { return p.id === activePresetId; });
|
|
3257
|
+
var hasActivePresetChanged = (0, react_1.useMemo)(function () {
|
|
3258
|
+
return !isDefaultPresetActive()
|
|
3259
|
+
&& hasPresetChanged(activePreset);
|
|
3260
|
+
}, [isDefaultPresetActive, activePreset, tableState.filter]);
|
|
3261
|
+
return (react_1.default.createElement(layout_1.FlexRow, { spacing: '6', size: '48', padding: '18', cx: Presets_scss_1.default.row },
|
|
3262
|
+
react_1.default.createElement(index_1.Button, { size: '24', caption: 'Default', mode: isDefaultPresetActive() ? 'solid' : 'outline', onClick: isDefaultPresetActive() ? null : resetToDefault }),
|
|
3263
|
+
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 })); }),
|
|
3264
|
+
hasActivePresetChanged && (react_1.default.createElement(index_1.Button, { caption: "Save as ".concat(newPresetTitle), onClick: saveNewPreset, color: 'accent', mode: 'solid', size: '24' }))));
|
|
3265
|
+
};
|
|
3266
|
+
exports.Presets = react_1.default.memo(PresetsImpl);
|
|
3267
3267
|
|
|
3268
3268
|
|
|
3269
3269
|
/***/ }),
|
|
@@ -3276,11 +3276,11 @@ exports.Presets = react_1.default.memo(PresetsImpl);
|
|
|
3276
3276
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3277
3277
|
|
|
3278
3278
|
"use strict";
|
|
3279
|
-
|
|
3280
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3281
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3282
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/Presets.tsx"), exports);
|
|
3283
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx"), exports);
|
|
3279
|
+
|
|
3280
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3281
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3282
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/Presets.tsx"), exports);
|
|
3283
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx"), exports);
|
|
3284
3284
|
|
|
3285
3285
|
|
|
3286
3286
|
/***/ }),
|
|
@@ -3293,12 +3293,12 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3293
3293
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3294
3294
|
|
|
3295
3295
|
"use strict";
|
|
3296
|
-
|
|
3297
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3298
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3299
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataTableCell */ "./components/tables/DataTableCell.tsx"), exports);
|
|
3300
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/index.ts"), exports);
|
|
3301
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/tables/types.ts"), exports);
|
|
3296
|
+
|
|
3297
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3298
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3299
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./DataTableCell */ "./components/tables/DataTableCell.tsx"), exports);
|
|
3300
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Presets */ "./components/tables/Presets/index.ts"), exports);
|
|
3301
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types */ "./components/tables/types.ts"), exports);
|
|
3302
3302
|
|
|
3303
3303
|
|
|
3304
3304
|
/***/ }),
|
|
@@ -3311,8 +3311,8 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3311
3311
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3312
3312
|
|
|
3313
3313
|
"use strict";
|
|
3314
|
-
|
|
3315
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3314
|
+
|
|
3315
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3316
3316
|
|
|
3317
3317
|
|
|
3318
3318
|
/***/ }),
|
|
@@ -3325,20 +3325,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3325
3325
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3326
3326
|
|
|
3327
3327
|
"use strict";
|
|
3328
|
-
|
|
3329
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3330
|
-
exports.EditMode = exports.allFontStyles = exports.allTextSizes = exports.allEpamSemanticColors = exports.allRowSizes = exports.allSizes = exports.allButtonModes = void 0;
|
|
3331
|
-
exports.allButtonModes = ['solid', 'outline', 'ghost', 'none'];
|
|
3332
|
-
exports.allSizes = ['24', '30', '36', '42', '48'];
|
|
3333
|
-
exports.allRowSizes = [null, '24', '30', '36', '42', '48'];
|
|
3334
|
-
exports.allEpamSemanticColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
3335
|
-
exports.allTextSizes = ['18', '24', '30', '36', '48'];
|
|
3336
|
-
exports.allFontStyles = ['regular', 'semibold', 'italic', 'primary', 'promo'];
|
|
3337
|
-
var EditMode;
|
|
3338
|
-
(function (EditMode) {
|
|
3339
|
-
EditMode["FORM"] = "form";
|
|
3340
|
-
EditMode["CELL"] = "cell";
|
|
3341
|
-
})(EditMode = exports.EditMode || (exports.EditMode = {}));
|
|
3328
|
+
|
|
3329
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3330
|
+
exports.EditMode = exports.allFontStyles = exports.allTextSizes = exports.allEpamSemanticColors = exports.allRowSizes = exports.allSizes = exports.allButtonModes = void 0;
|
|
3331
|
+
exports.allButtonModes = ['solid', 'outline', 'ghost', 'none'];
|
|
3332
|
+
exports.allSizes = ['24', '30', '36', '42', '48'];
|
|
3333
|
+
exports.allRowSizes = [null, '24', '30', '36', '42', '48'];
|
|
3334
|
+
exports.allEpamSemanticColors = ['accent', 'primary', 'secondary', 'negative'];
|
|
3335
|
+
exports.allTextSizes = ['18', '24', '30', '36', '48'];
|
|
3336
|
+
exports.allFontStyles = ['regular', 'semibold', 'italic', 'primary', 'promo'];
|
|
3337
|
+
var EditMode;
|
|
3338
|
+
(function (EditMode) {
|
|
3339
|
+
EditMode["FORM"] = "form";
|
|
3340
|
+
EditMode["CELL"] = "cell";
|
|
3341
|
+
})(EditMode = exports.EditMode || (exports.EditMode = {}));
|
|
3342
3342
|
|
|
3343
3343
|
|
|
3344
3344
|
/***/ }),
|
|
@@ -3351,7 +3351,7 @@ var EditMode;
|
|
|
3351
3351
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3352
3352
|
|
|
3353
3353
|
// extracted by mini-css-extract-plugin
|
|
3354
|
-
module.exports = {"root":"
|
|
3354
|
+
module.exports = {"root":"_1iXjz"};
|
|
3355
3355
|
|
|
3356
3356
|
/***/ }),
|
|
3357
3357
|
|
|
@@ -3363,29 +3363,29 @@ module.exports = {"root":"_2iat0"};
|
|
|
3363
3363
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3364
3364
|
|
|
3365
3365
|
"use strict";
|
|
3366
|
-
|
|
3367
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3368
|
-
exports.Text = void 0;
|
|
3369
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3370
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Text.scss */ "./components/typography/Text.scss"));
|
|
3371
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3372
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3373
|
-
var textLayout_1 = __webpack_require__(/*! ../../helpers/textLayout */ "./helpers/textLayout.tsx");
|
|
3374
|
-
__webpack_require__(/*! ../../assets/styles/variables/typography/text.scss */ "./assets/styles/variables/typography/text.scss");
|
|
3375
|
-
__webpack_require__(/*! ../../assets/styles/fonts-variables.scss */ "./assets/styles/fonts-variables.scss");
|
|
3376
|
-
function applyTextMods(mods) {
|
|
3377
|
-
var textClasses = (0, textLayout_1.getTextClasses)({
|
|
3378
|
-
size: mods.size || '36',
|
|
3379
|
-
lineHeight: mods.lineHeight,
|
|
3380
|
-
fontSize: mods.fontSize,
|
|
3381
|
-
}, false);
|
|
3382
|
-
return [
|
|
3383
|
-
"font-".concat(mods.font || 'regular'),
|
|
3384
|
-
"text-color-".concat(mods.color || 'primary'),
|
|
3385
|
-
css.root,
|
|
3386
|
-
].concat(textClasses);
|
|
3387
|
-
}
|
|
3388
|
-
exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
|
|
3366
|
+
|
|
3367
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3368
|
+
exports.Text = void 0;
|
|
3369
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3370
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Text.scss */ "./components/typography/Text.scss"));
|
|
3371
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3372
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3373
|
+
var textLayout_1 = __webpack_require__(/*! ../../helpers/textLayout */ "./helpers/textLayout.tsx");
|
|
3374
|
+
__webpack_require__(/*! ../../assets/styles/variables/typography/text.scss */ "./assets/styles/variables/typography/text.scss");
|
|
3375
|
+
__webpack_require__(/*! ../../assets/styles/fonts-variables.scss */ "./assets/styles/fonts-variables.scss");
|
|
3376
|
+
function applyTextMods(mods) {
|
|
3377
|
+
var textClasses = (0, textLayout_1.getTextClasses)({
|
|
3378
|
+
size: mods.size || '36',
|
|
3379
|
+
lineHeight: mods.lineHeight,
|
|
3380
|
+
fontSize: mods.fontSize,
|
|
3381
|
+
}, false);
|
|
3382
|
+
return [
|
|
3383
|
+
"font-".concat(mods.font || 'regular'),
|
|
3384
|
+
"text-color-".concat(mods.color || 'primary'),
|
|
3385
|
+
css.root,
|
|
3386
|
+
].concat(textClasses);
|
|
3387
|
+
}
|
|
3388
|
+
exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
|
|
3389
3389
|
|
|
3390
3390
|
|
|
3391
3391
|
/***/ }),
|
|
@@ -3398,7 +3398,7 @@ exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
|
|
|
3398
3398
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3399
3399
|
|
|
3400
3400
|
// extracted by mini-css-extract-plugin
|
|
3401
|
-
module.exports = {"container":"
|
|
3401
|
+
module.exports = {"container":"_3EQb1","loading-word":"_2-Uj4","loadingWord":"_2-Uj4","animated-loading":"_2M_2m","animatedLoading":"_2M_2m","skeleton_loading":"_1kdUG","skeletonLoading":"_1kdUG"};
|
|
3402
3402
|
|
|
3403
3403
|
/***/ }),
|
|
3404
3404
|
|
|
@@ -3410,31 +3410,31 @@ module.exports = {"container":"mXSQJ","loading-word":"_2BcXk","loadingWord":"_2B
|
|
|
3410
3410
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3411
3411
|
|
|
3412
3412
|
"use strict";
|
|
3413
|
-
|
|
3414
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3415
|
-
exports.TextPlaceholder = void 0;
|
|
3416
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3417
|
-
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3418
|
-
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
3419
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextPlaceholder.scss */ "./components/typography/TextPlaceholder.scss"));
|
|
3420
|
-
__webpack_require__(/*! ../../assets/styles/variables/typography/textPlaceholder.scss */ "./assets/styles/variables/typography/textPlaceholder.scss");
|
|
3421
|
-
var TextPlaceholder = function (props) {
|
|
3422
|
-
var pattern = "0";
|
|
3423
|
-
var text = React.useMemo(function () {
|
|
3424
|
-
var words = [];
|
|
3425
|
-
for (var i = 0; i < (props.wordsCount || 1); i++) {
|
|
3426
|
-
var lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
3427
|
-
words.push(pattern.repeat(lengthWord));
|
|
3428
|
-
}
|
|
3429
|
-
return words;
|
|
3430
|
-
}, [props.wordsCount]);
|
|
3431
|
-
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)([
|
|
3432
|
-
'text-placeholder-vars',
|
|
3433
|
-
css.loadingWord,
|
|
3434
|
-
!props.isNotAnimated && css.animatedLoading,
|
|
3435
|
-
]), dangerouslySetInnerHTML: { __html: it } })); })));
|
|
3436
|
-
};
|
|
3437
|
-
exports.TextPlaceholder = TextPlaceholder;
|
|
3413
|
+
|
|
3414
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3415
|
+
exports.TextPlaceholder = void 0;
|
|
3416
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3417
|
+
var React = (0, tslib_1.__importStar)(__webpack_require__(/*! react */ "react"));
|
|
3418
|
+
var classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! classnames */ "classnames"));
|
|
3419
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./TextPlaceholder.scss */ "./components/typography/TextPlaceholder.scss"));
|
|
3420
|
+
__webpack_require__(/*! ../../assets/styles/variables/typography/textPlaceholder.scss */ "./assets/styles/variables/typography/textPlaceholder.scss");
|
|
3421
|
+
var TextPlaceholder = function (props) {
|
|
3422
|
+
var pattern = "0";
|
|
3423
|
+
var text = React.useMemo(function () {
|
|
3424
|
+
var words = [];
|
|
3425
|
+
for (var i = 0; i < (props.wordsCount || 1); i++) {
|
|
3426
|
+
var lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
3427
|
+
words.push(pattern.repeat(lengthWord));
|
|
3428
|
+
}
|
|
3429
|
+
return words;
|
|
3430
|
+
}, [props.wordsCount]);
|
|
3431
|
+
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)([
|
|
3432
|
+
'text-placeholder-vars',
|
|
3433
|
+
css.loadingWord,
|
|
3434
|
+
!props.isNotAnimated && css.animatedLoading,
|
|
3435
|
+
]), dangerouslySetInnerHTML: { __html: it } })); })));
|
|
3436
|
+
};
|
|
3437
|
+
exports.TextPlaceholder = TextPlaceholder;
|
|
3438
3438
|
|
|
3439
3439
|
|
|
3440
3440
|
/***/ }),
|
|
@@ -3447,11 +3447,11 @@ exports.TextPlaceholder = TextPlaceholder;
|
|
|
3447
3447
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3448
3448
|
|
|
3449
3449
|
"use strict";
|
|
3450
|
-
|
|
3451
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3452
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3453
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Text */ "./components/typography/Text.tsx"), exports);
|
|
3454
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextPlaceholder */ "./components/typography/TextPlaceholder.tsx"), exports);
|
|
3450
|
+
|
|
3451
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3452
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3453
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Text */ "./components/typography/Text.tsx"), exports);
|
|
3454
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./TextPlaceholder */ "./components/typography/TextPlaceholder.tsx"), exports);
|
|
3455
3455
|
|
|
3456
3456
|
|
|
3457
3457
|
/***/ }),
|
|
@@ -3464,12 +3464,12 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3464
3464
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3465
3465
|
|
|
3466
3466
|
"use strict";
|
|
3467
|
-
|
|
3468
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3469
|
-
exports.Avatar = void 0;
|
|
3470
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3471
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3472
|
-
exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () { return []; });
|
|
3467
|
+
|
|
3468
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3469
|
+
exports.Avatar = void 0;
|
|
3470
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3471
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3472
|
+
exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () { return []; });
|
|
3473
3473
|
|
|
3474
3474
|
|
|
3475
3475
|
/***/ }),
|
|
@@ -3482,7 +3482,7 @@ exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () {
|
|
|
3482
3482
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3483
3483
|
|
|
3484
3484
|
// extracted by mini-css-extract-plugin
|
|
3485
|
-
module.exports = {"root":"
|
|
3485
|
+
module.exports = {"root":"_3bD5j","size-18":"_95gBb","size18":"_95gBb","fill-transparent":"CduFD","fillTransparent":"CduFD","size-24":"kGvsr","size24":"kGvsr","size-30":"_2aTq8","size30":"_2aTq8","size-36":"_7TsXU","size36":"_7TsXU","size-42":"_2tNgB","size42":"_2tNgB","size-48":"AUSQ3","size48":"AUSQ3","fill-solid":"_2Wruj","fillSolid":"_2Wruj"};
|
|
3486
3486
|
|
|
3487
3487
|
/***/ }),
|
|
3488
3488
|
|
|
@@ -3494,40 +3494,40 @@ module.exports = {"root":"_2fNNq","size-18":"_2o1qW","size18":"_2o1qW","fill-tra
|
|
|
3494
3494
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3495
3495
|
|
|
3496
3496
|
"use strict";
|
|
3497
|
-
|
|
3498
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3499
|
-
exports.Badge = exports.applyBadgeMods = void 0;
|
|
3500
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3501
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3502
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3503
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3504
|
-
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3505
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Badge.scss */ "./components/widgets/Badge.scss"));
|
|
3506
|
-
__webpack_require__(/*! ../../assets/styles/variables/widgets/badge.scss */ "./assets/styles/variables/widgets/badge.scss");
|
|
3507
|
-
var defaultSize = '36';
|
|
3508
|
-
var mapSize = {
|
|
3509
|
-
'48': '48',
|
|
3510
|
-
'42': '48',
|
|
3511
|
-
'36': '36',
|
|
3512
|
-
'30': '30',
|
|
3513
|
-
'24': '30',
|
|
3514
|
-
'18': '18',
|
|
3515
|
-
};
|
|
3516
|
-
function applyBadgeMods(mods) {
|
|
3517
|
-
return [
|
|
3518
|
-
"badge-color-".concat((mods.color || 'info')),
|
|
3519
|
-
buttonCss.root,
|
|
3520
|
-
css['size-' + (mods.size || defaultSize)],
|
|
3521
|
-
css['fill-' + (mods.fill || 'solid')],
|
|
3522
|
-
css.root,
|
|
3523
|
-
];
|
|
3524
|
-
}
|
|
3525
|
-
exports.applyBadgeMods = applyBadgeMods;
|
|
3526
|
-
exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods, function (props) { return ({
|
|
3527
|
-
dropdownIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].foldingArrow,
|
|
3528
|
-
clearIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].clear,
|
|
3529
|
-
countPosition: 'left',
|
|
3530
|
-
}); });
|
|
3497
|
+
|
|
3498
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3499
|
+
exports.Badge = exports.applyBadgeMods = void 0;
|
|
3500
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3501
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3502
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3503
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3504
|
+
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3505
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Badge.scss */ "./components/widgets/Badge.scss"));
|
|
3506
|
+
__webpack_require__(/*! ../../assets/styles/variables/widgets/badge.scss */ "./assets/styles/variables/widgets/badge.scss");
|
|
3507
|
+
var defaultSize = '36';
|
|
3508
|
+
var mapSize = {
|
|
3509
|
+
'48': '48',
|
|
3510
|
+
'42': '48',
|
|
3511
|
+
'36': '36',
|
|
3512
|
+
'30': '30',
|
|
3513
|
+
'24': '30',
|
|
3514
|
+
'18': '18',
|
|
3515
|
+
};
|
|
3516
|
+
function applyBadgeMods(mods) {
|
|
3517
|
+
return [
|
|
3518
|
+
"badge-color-".concat((mods.color || 'info')),
|
|
3519
|
+
buttonCss.root,
|
|
3520
|
+
css['size-' + (mods.size || defaultSize)],
|
|
3521
|
+
css['fill-' + (mods.fill || 'solid')],
|
|
3522
|
+
css.root,
|
|
3523
|
+
];
|
|
3524
|
+
}
|
|
3525
|
+
exports.applyBadgeMods = applyBadgeMods;
|
|
3526
|
+
exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods, function (props) { return ({
|
|
3527
|
+
dropdownIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].foldingArrow,
|
|
3528
|
+
clearIcon: icons_1.systemIcons[props.size && mapSize[props.size] || defaultSize].clear,
|
|
3529
|
+
countPosition: 'left',
|
|
3530
|
+
}); });
|
|
3531
3531
|
|
|
3532
3532
|
|
|
3533
3533
|
/***/ }),
|
|
@@ -3540,7 +3540,7 @@ exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods
|
|
|
3540
3540
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3541
3541
|
|
|
3542
3542
|
// extracted by mini-css-extract-plugin
|
|
3543
|
-
module.exports = {"root":"
|
|
3543
|
+
module.exports = {"root":"_2OjV8","size-18":"_3a3zm","size18":"_3a3zm","size-24":"egGis","size24":"egGis","size-30":"_1GYm5","size30":"_1GYm5","size-36":"_2lAq9","size36":"_2lAq9","size-42":"_3loZl","size42":"_3loZl","size-48":"_2f2fC","size48":"_2f2fC"};
|
|
3544
3544
|
|
|
3545
3545
|
/***/ }),
|
|
3546
3546
|
|
|
@@ -3552,38 +3552,38 @@ module.exports = {"root":"_3NvLH","size-18":"_3tZxY","size18":"_3tZxY","size-24"
|
|
|
3552
3552
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3553
3553
|
|
|
3554
3554
|
"use strict";
|
|
3555
|
-
|
|
3556
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3557
|
-
exports.Tag = exports.applyTagMods = void 0;
|
|
3558
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3559
|
-
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3560
|
-
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3561
|
-
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3562
|
-
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3563
|
-
__webpack_require__(/*! ../../assets/styles/variables/widgets/tag.scss */ "./assets/styles/variables/widgets/tag.scss");
|
|
3564
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tag.scss */ "./components/widgets/Tag.scss"));
|
|
3565
|
-
var defaultSize = '36';
|
|
3566
|
-
var mapSize = {
|
|
3567
|
-
'48': '48',
|
|
3568
|
-
'42': '48',
|
|
3569
|
-
'36': '36',
|
|
3570
|
-
'30': '30',
|
|
3571
|
-
'24': '30',
|
|
3572
|
-
'18': '18',
|
|
3573
|
-
};
|
|
3574
|
-
function applyTagMods(mods) {
|
|
3575
|
-
return [
|
|
3576
|
-
buttonCss.root,
|
|
3577
|
-
'tag-vars',
|
|
3578
|
-
css['size-' + (mods.size || defaultSize)],
|
|
3579
|
-
css.root,
|
|
3580
|
-
];
|
|
3581
|
-
}
|
|
3582
|
-
exports.applyTagMods = applyTagMods;
|
|
3583
|
-
exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, function (props) { return ({
|
|
3584
|
-
dropdownIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].foldingArrow,
|
|
3585
|
-
clearIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].clear,
|
|
3586
|
-
}); });
|
|
3555
|
+
|
|
3556
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3557
|
+
exports.Tag = exports.applyTagMods = void 0;
|
|
3558
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3559
|
+
var uui_core_1 = __webpack_require__(/*! @epam/uui-core */ "@epam/uui-core");
|
|
3560
|
+
var uui_components_1 = __webpack_require__(/*! @epam/uui-components */ "@epam/uui-components");
|
|
3561
|
+
var icons_1 = __webpack_require__(/*! ../../icons/icons */ "./icons/icons.tsx");
|
|
3562
|
+
var buttonCss = (0, tslib_1.__importStar)(__webpack_require__(/*! ../buttons/Button.scss */ "./components/buttons/Button.scss"));
|
|
3563
|
+
__webpack_require__(/*! ../../assets/styles/variables/widgets/tag.scss */ "./assets/styles/variables/widgets/tag.scss");
|
|
3564
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ./Tag.scss */ "./components/widgets/Tag.scss"));
|
|
3565
|
+
var defaultSize = '36';
|
|
3566
|
+
var mapSize = {
|
|
3567
|
+
'48': '48',
|
|
3568
|
+
'42': '48',
|
|
3569
|
+
'36': '36',
|
|
3570
|
+
'30': '30',
|
|
3571
|
+
'24': '30',
|
|
3572
|
+
'18': '18',
|
|
3573
|
+
};
|
|
3574
|
+
function applyTagMods(mods) {
|
|
3575
|
+
return [
|
|
3576
|
+
buttonCss.root,
|
|
3577
|
+
'tag-vars',
|
|
3578
|
+
css['size-' + (mods.size || defaultSize)],
|
|
3579
|
+
css.root,
|
|
3580
|
+
];
|
|
3581
|
+
}
|
|
3582
|
+
exports.applyTagMods = applyTagMods;
|
|
3583
|
+
exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, function (props) { return ({
|
|
3584
|
+
dropdownIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].foldingArrow,
|
|
3585
|
+
clearIcon: icons_1.systemIcons[mapSize[props.size] || defaultSize].clear,
|
|
3586
|
+
}); });
|
|
3587
3587
|
|
|
3588
3588
|
|
|
3589
3589
|
/***/ }),
|
|
@@ -3596,12 +3596,12 @@ exports.Tag = (0, uui_core_1.withMods)(uui_components_1.Button, applyTagMods, fu
|
|
|
3596
3596
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3597
3597
|
|
|
3598
3598
|
"use strict";
|
|
3599
|
-
|
|
3600
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3601
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3602
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Avatar */ "./components/widgets/Avatar.tsx"), exports);
|
|
3603
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Badge */ "./components/widgets/Badge.tsx"), exports);
|
|
3604
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tag */ "./components/widgets/Tag.tsx"), exports);
|
|
3599
|
+
|
|
3600
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3601
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3602
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Avatar */ "./components/widgets/Avatar.tsx"), exports);
|
|
3603
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Badge */ "./components/widgets/Badge.tsx"), exports);
|
|
3604
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./Tag */ "./components/widgets/Tag.tsx"), exports);
|
|
3605
3605
|
|
|
3606
3606
|
|
|
3607
3607
|
/***/ }),
|
|
@@ -3614,40 +3614,40 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3614
3614
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3615
3615
|
|
|
3616
3616
|
"use strict";
|
|
3617
|
-
|
|
3618
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3619
|
-
exports.getTextClasses = void 0;
|
|
3620
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3621
|
-
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ../assets/styles/text-layout.scss */ "./assets/styles/text-layout.scss"));
|
|
3622
|
-
var defaultTextSettings = {
|
|
3623
|
-
18: { lineHeight: 12, fontSize: 10 },
|
|
3624
|
-
24: { lineHeight: 18, fontSize: 12 },
|
|
3625
|
-
30: { lineHeight: 18, fontSize: 14 },
|
|
3626
|
-
36: { lineHeight: 18, fontSize: 14 },
|
|
3627
|
-
42: { lineHeight: 24, fontSize: 16 },
|
|
3628
|
-
48: { lineHeight: 24, fontSize: 16 },
|
|
3629
|
-
60: { lineHeight: 30, fontSize: 24 },
|
|
3630
|
-
};
|
|
3631
|
-
function getTextClasses(props, border) {
|
|
3632
|
-
if (props.size === 'none') {
|
|
3633
|
-
return [
|
|
3634
|
-
css['line-height-' + props.lineHeight],
|
|
3635
|
-
css['font-size-' + props.fontSize],
|
|
3636
|
-
];
|
|
3637
|
-
}
|
|
3638
|
-
var setting = {
|
|
3639
|
-
size: props.size,
|
|
3640
|
-
lineHeight: props.lineHeight || defaultTextSettings[props.size].lineHeight,
|
|
3641
|
-
fontSize: props.fontSize || defaultTextSettings[props.size].fontSize,
|
|
3642
|
-
};
|
|
3643
|
-
var vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3644
|
-
return [
|
|
3645
|
-
css['line-height-' + setting.lineHeight],
|
|
3646
|
-
css['font-size-' + setting.fontSize],
|
|
3647
|
-
css['v-padding-' + vPadding],
|
|
3648
|
-
];
|
|
3649
|
-
}
|
|
3650
|
-
exports.getTextClasses = getTextClasses;
|
|
3617
|
+
|
|
3618
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3619
|
+
exports.getTextClasses = void 0;
|
|
3620
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
3621
|
+
var css = (0, tslib_1.__importStar)(__webpack_require__(/*! ../assets/styles/text-layout.scss */ "./assets/styles/text-layout.scss"));
|
|
3622
|
+
var defaultTextSettings = {
|
|
3623
|
+
18: { lineHeight: 12, fontSize: 10 },
|
|
3624
|
+
24: { lineHeight: 18, fontSize: 12 },
|
|
3625
|
+
30: { lineHeight: 18, fontSize: 14 },
|
|
3626
|
+
36: { lineHeight: 18, fontSize: 14 },
|
|
3627
|
+
42: { lineHeight: 24, fontSize: 16 },
|
|
3628
|
+
48: { lineHeight: 24, fontSize: 16 },
|
|
3629
|
+
60: { lineHeight: 30, fontSize: 24 },
|
|
3630
|
+
};
|
|
3631
|
+
function getTextClasses(props, border) {
|
|
3632
|
+
if (props.size === 'none') {
|
|
3633
|
+
return [
|
|
3634
|
+
css['line-height-' + props.lineHeight],
|
|
3635
|
+
css['font-size-' + props.fontSize],
|
|
3636
|
+
];
|
|
3637
|
+
}
|
|
3638
|
+
var setting = {
|
|
3639
|
+
size: props.size,
|
|
3640
|
+
lineHeight: props.lineHeight || defaultTextSettings[props.size].lineHeight,
|
|
3641
|
+
fontSize: props.fontSize || defaultTextSettings[props.size].fontSize,
|
|
3642
|
+
};
|
|
3643
|
+
var vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3644
|
+
return [
|
|
3645
|
+
css['line-height-' + setting.lineHeight],
|
|
3646
|
+
css['font-size-' + setting.fontSize],
|
|
3647
|
+
css['v-padding-' + vPadding],
|
|
3648
|
+
];
|
|
3649
|
+
}
|
|
3650
|
+
exports.getTextClasses = getTextClasses;
|
|
3651
3651
|
|
|
3652
3652
|
|
|
3653
3653
|
/***/ }),
|
|
@@ -3660,59 +3660,59 @@ exports.getTextClasses = getTextClasses;
|
|
|
3660
3660
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3661
3661
|
|
|
3662
3662
|
"use strict";
|
|
3663
|
-
|
|
3664
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3665
|
-
exports.i18n = void 0;
|
|
3666
|
-
exports.i18n = {
|
|
3667
|
-
dataPickerBody: {
|
|
3668
|
-
searchPlaceholder: 'Search',
|
|
3669
|
-
noRecordsMessage: 'No records found',
|
|
3670
|
-
},
|
|
3671
|
-
pickerModal: {
|
|
3672
|
-
headerTitle: 'Please select',
|
|
3673
|
-
searchPlaceholder: 'Type text for quick search',
|
|
3674
|
-
cancelButton: 'Cancel',
|
|
3675
|
-
selectButton: 'Select',
|
|
3676
|
-
clearAllButton: 'CLEAR ALL',
|
|
3677
|
-
selectAllButton: 'SELECT ALL',
|
|
3678
|
-
},
|
|
3679
|
-
pickerInput: {
|
|
3680
|
-
showOnlySelectedLabel: 'Show only selected',
|
|
3681
|
-
clearSelectionButton: 'CLEAR ALL',
|
|
3682
|
-
selectAllButton: 'SELECT ALL',
|
|
3683
|
-
},
|
|
3684
|
-
notificationCard: {
|
|
3685
|
-
closeAllNotificationsButton: 'CLOSE ALL NOTIFICATIONS',
|
|
3686
|
-
},
|
|
3687
|
-
form: {
|
|
3688
|
-
notifications: {
|
|
3689
|
-
actionButtonCaption: 'Restore',
|
|
3690
|
-
unsavedChangesMessage: 'You have unsaved changes. Click Restore button if you would like to recover the data',
|
|
3691
|
-
},
|
|
3692
|
-
modals: {
|
|
3693
|
-
beforeLeaveMessage: 'Your data may be lost. Do you want to save data?',
|
|
3694
|
-
discardButton: 'Discard',
|
|
3695
|
-
saveButton: 'Save',
|
|
3696
|
-
},
|
|
3697
|
-
},
|
|
3698
|
-
rangeDatePicker: {
|
|
3699
|
-
pickerPlaceholderFrom: 'From:',
|
|
3700
|
-
pickerPlaceholderTo: 'To:',
|
|
3701
|
-
},
|
|
3702
|
-
tables: {
|
|
3703
|
-
columnsConfigurationModal: {
|
|
3704
|
-
applyButton: 'Apply',
|
|
3705
|
-
checkAllButton: 'CHECK ALL',
|
|
3706
|
-
uncheckAllButton: 'UNCHECK ALL',
|
|
3707
|
-
configureColumnsTitle: 'Configure columns',
|
|
3708
|
-
resetToDefaultButton: 'Reset to Default',
|
|
3709
|
-
},
|
|
3710
|
-
},
|
|
3711
|
-
pickerFilterHeader: {
|
|
3712
|
-
sortAscending: 'Sort Ascending',
|
|
3713
|
-
sortDescending: 'Sort Descending',
|
|
3714
|
-
},
|
|
3715
|
-
};
|
|
3663
|
+
|
|
3664
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3665
|
+
exports.i18n = void 0;
|
|
3666
|
+
exports.i18n = {
|
|
3667
|
+
dataPickerBody: {
|
|
3668
|
+
searchPlaceholder: 'Search',
|
|
3669
|
+
noRecordsMessage: 'No records found',
|
|
3670
|
+
},
|
|
3671
|
+
pickerModal: {
|
|
3672
|
+
headerTitle: 'Please select',
|
|
3673
|
+
searchPlaceholder: 'Type text for quick search',
|
|
3674
|
+
cancelButton: 'Cancel',
|
|
3675
|
+
selectButton: 'Select',
|
|
3676
|
+
clearAllButton: 'CLEAR ALL',
|
|
3677
|
+
selectAllButton: 'SELECT ALL',
|
|
3678
|
+
},
|
|
3679
|
+
pickerInput: {
|
|
3680
|
+
showOnlySelectedLabel: 'Show only selected',
|
|
3681
|
+
clearSelectionButton: 'CLEAR ALL',
|
|
3682
|
+
selectAllButton: 'SELECT ALL',
|
|
3683
|
+
},
|
|
3684
|
+
notificationCard: {
|
|
3685
|
+
closeAllNotificationsButton: 'CLOSE ALL NOTIFICATIONS',
|
|
3686
|
+
},
|
|
3687
|
+
form: {
|
|
3688
|
+
notifications: {
|
|
3689
|
+
actionButtonCaption: 'Restore',
|
|
3690
|
+
unsavedChangesMessage: 'You have unsaved changes. Click Restore button if you would like to recover the data',
|
|
3691
|
+
},
|
|
3692
|
+
modals: {
|
|
3693
|
+
beforeLeaveMessage: 'Your data may be lost. Do you want to save data?',
|
|
3694
|
+
discardButton: 'Discard',
|
|
3695
|
+
saveButton: 'Save',
|
|
3696
|
+
},
|
|
3697
|
+
},
|
|
3698
|
+
rangeDatePicker: {
|
|
3699
|
+
pickerPlaceholderFrom: 'From:',
|
|
3700
|
+
pickerPlaceholderTo: 'To:',
|
|
3701
|
+
},
|
|
3702
|
+
tables: {
|
|
3703
|
+
columnsConfigurationModal: {
|
|
3704
|
+
applyButton: 'Apply',
|
|
3705
|
+
checkAllButton: 'CHECK ALL',
|
|
3706
|
+
uncheckAllButton: 'UNCHECK ALL',
|
|
3707
|
+
configureColumnsTitle: 'Configure columns',
|
|
3708
|
+
resetToDefaultButton: 'Reset to Default',
|
|
3709
|
+
},
|
|
3710
|
+
},
|
|
3711
|
+
pickerFilterHeader: {
|
|
3712
|
+
sortAscending: 'Sort Ascending',
|
|
3713
|
+
sortDescending: 'Sort Descending',
|
|
3714
|
+
},
|
|
3715
|
+
};
|
|
3716
3716
|
|
|
3717
3717
|
|
|
3718
3718
|
/***/ }),
|
|
@@ -4202,7 +4202,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4202
4202
|
svgRef: ref
|
|
4203
4203
|
}, props));
|
|
4204
4204
|
});
|
|
4205
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4205
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "8c22fc9b8cbf04371e4f5bf1027a1214.svg");
|
|
4206
4206
|
|
|
4207
4207
|
|
|
4208
4208
|
/***/ }),
|
|
@@ -4251,7 +4251,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4251
4251
|
svgRef: ref
|
|
4252
4252
|
}, props));
|
|
4253
4253
|
});
|
|
4254
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4254
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "3dbfe2a24bf6fd3beb06518cc8b302b6.svg");
|
|
4255
4255
|
|
|
4256
4256
|
|
|
4257
4257
|
/***/ }),
|
|
@@ -4446,7 +4446,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4446
4446
|
svgRef: ref
|
|
4447
4447
|
}, props));
|
|
4448
4448
|
});
|
|
4449
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4449
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "2d55a1b593695615b326b4ec6cbb305b.svg");
|
|
4450
4450
|
|
|
4451
4451
|
|
|
4452
4452
|
/***/ }),
|
|
@@ -4494,7 +4494,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4494
4494
|
svgRef: ref
|
|
4495
4495
|
}, props));
|
|
4496
4496
|
});
|
|
4497
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4497
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "936b8cd53f40395c4e581f4718a5cc2f.svg");
|
|
4498
4498
|
|
|
4499
4499
|
|
|
4500
4500
|
/***/ }),
|
|
@@ -4507,103 +4507,103 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4507
4507
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4508
4508
|
|
|
4509
4509
|
"use strict";
|
|
4510
|
-
|
|
4511
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4512
|
-
exports.systemIcons = void 0;
|
|
4513
|
-
var btn_cross_12_svg_1 = __webpack_require__(/*! ./btn-cross-12.svg */ "./icons/btn-cross-12.svg");
|
|
4514
|
-
var btn_cross_18_svg_1 = __webpack_require__(/*! ./btn-cross-18.svg */ "./icons/btn-cross-18.svg");
|
|
4515
|
-
var btn_cross_24_svg_1 = __webpack_require__(/*! ./btn-cross-24.svg */ "./icons/btn-cross-24.svg");
|
|
4516
|
-
var folding_arrow_12_svg_1 = __webpack_require__(/*! ./folding-arrow-12.svg */ "./icons/folding-arrow-12.svg");
|
|
4517
|
-
var folding_arrow_18_svg_1 = __webpack_require__(/*! ./folding-arrow-18.svg */ "./icons/folding-arrow-18.svg");
|
|
4518
|
-
var folding_arrow_24_svg_1 = __webpack_require__(/*! ./folding-arrow-24.svg */ "./icons/folding-arrow-24.svg");
|
|
4519
|
-
var accept_12_svg_1 = __webpack_require__(/*! ./accept-12.svg */ "./icons/accept-12.svg");
|
|
4520
|
-
var accept_18_svg_1 = __webpack_require__(/*! ./accept-18.svg */ "./icons/accept-18.svg");
|
|
4521
|
-
var accept_24_svg_1 = __webpack_require__(/*! ./accept-24.svg */ "./icons/accept-24.svg");
|
|
4522
|
-
var search_12_svg_1 = __webpack_require__(/*! ./search-12.svg */ "./icons/search-12.svg");
|
|
4523
|
-
var search_18_svg_1 = __webpack_require__(/*! ./search-18.svg */ "./icons/search-18.svg");
|
|
4524
|
-
var search_24_svg_1 = __webpack_require__(/*! ./search-24.svg */ "./icons/search-24.svg");
|
|
4525
|
-
var calendar_12_svg_1 = __webpack_require__(/*! ./calendar-12.svg */ "./icons/calendar-12.svg");
|
|
4526
|
-
var calendar_18_svg_1 = __webpack_require__(/*! ./calendar-18.svg */ "./icons/calendar-18.svg");
|
|
4527
|
-
var calendar_24_svg_1 = __webpack_require__(/*! ./calendar-24.svg */ "./icons/calendar-24.svg");
|
|
4528
|
-
var info_12_svg_1 = __webpack_require__(/*! ./info-12.svg */ "./icons/info-12.svg");
|
|
4529
|
-
var info_18_svg_1 = __webpack_require__(/*! ./info-18.svg */ "./icons/info-18.svg");
|
|
4530
|
-
var info_24_svg_1 = __webpack_require__(/*! ./info-24.svg */ "./icons/info-24.svg");
|
|
4531
|
-
var help_fill_10_svg_1 = __webpack_require__(/*! ./help-fill-10.svg */ "./icons/help-fill-10.svg");
|
|
4532
|
-
var help_fill_16_svg_1 = __webpack_require__(/*! ./help-fill-16.svg */ "./icons/help-fill-16.svg");
|
|
4533
|
-
exports.systemIcons = {
|
|
4534
|
-
'18': {
|
|
4535
|
-
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4536
|
-
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4537
|
-
accept: accept_12_svg_1.ReactComponent,
|
|
4538
|
-
search: search_12_svg_1.ReactComponent,
|
|
4539
|
-
calendar: calendar_12_svg_1.ReactComponent,
|
|
4540
|
-
info: info_12_svg_1.ReactComponent,
|
|
4541
|
-
help: help_fill_10_svg_1.ReactComponent,
|
|
4542
|
-
},
|
|
4543
|
-
'24': {
|
|
4544
|
-
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4545
|
-
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4546
|
-
accept: accept_12_svg_1.ReactComponent,
|
|
4547
|
-
search: search_12_svg_1.ReactComponent,
|
|
4548
|
-
calendar: calendar_12_svg_1.ReactComponent,
|
|
4549
|
-
info: info_12_svg_1.ReactComponent,
|
|
4550
|
-
help: help_fill_10_svg_1.ReactComponent,
|
|
4551
|
-
},
|
|
4552
|
-
'30': {
|
|
4553
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4554
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4555
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4556
|
-
search: search_18_svg_1.ReactComponent,
|
|
4557
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4558
|
-
info: info_18_svg_1.ReactComponent,
|
|
4559
|
-
help: help_fill_10_svg_1.ReactComponent,
|
|
4560
|
-
},
|
|
4561
|
-
'36': {
|
|
4562
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4563
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4564
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4565
|
-
search: search_18_svg_1.ReactComponent,
|
|
4566
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4567
|
-
info: info_18_svg_1.ReactComponent,
|
|
4568
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4569
|
-
},
|
|
4570
|
-
'42': {
|
|
4571
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4572
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4573
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4574
|
-
search: search_18_svg_1.ReactComponent,
|
|
4575
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4576
|
-
info: info_18_svg_1.ReactComponent,
|
|
4577
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4578
|
-
},
|
|
4579
|
-
'48': {
|
|
4580
|
-
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4581
|
-
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4582
|
-
accept: accept_24_svg_1.ReactComponent,
|
|
4583
|
-
search: search_24_svg_1.ReactComponent,
|
|
4584
|
-
calendar: calendar_24_svg_1.ReactComponent,
|
|
4585
|
-
info: info_24_svg_1.ReactComponent,
|
|
4586
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4587
|
-
},
|
|
4588
|
-
'60': {
|
|
4589
|
-
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4590
|
-
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4591
|
-
accept: accept_24_svg_1.ReactComponent,
|
|
4592
|
-
search: search_24_svg_1.ReactComponent,
|
|
4593
|
-
calendar: calendar_24_svg_1.ReactComponent,
|
|
4594
|
-
info: info_24_svg_1.ReactComponent,
|
|
4595
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4596
|
-
},
|
|
4597
|
-
'none': {
|
|
4598
|
-
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4599
|
-
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4600
|
-
accept: accept_18_svg_1.ReactComponent,
|
|
4601
|
-
search: search_18_svg_1.ReactComponent,
|
|
4602
|
-
calendar: calendar_18_svg_1.ReactComponent,
|
|
4603
|
-
info: info_18_svg_1.ReactComponent,
|
|
4604
|
-
help: help_fill_16_svg_1.ReactComponent,
|
|
4605
|
-
},
|
|
4606
|
-
};
|
|
4510
|
+
|
|
4511
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4512
|
+
exports.systemIcons = void 0;
|
|
4513
|
+
var btn_cross_12_svg_1 = __webpack_require__(/*! ./btn-cross-12.svg */ "./icons/btn-cross-12.svg");
|
|
4514
|
+
var btn_cross_18_svg_1 = __webpack_require__(/*! ./btn-cross-18.svg */ "./icons/btn-cross-18.svg");
|
|
4515
|
+
var btn_cross_24_svg_1 = __webpack_require__(/*! ./btn-cross-24.svg */ "./icons/btn-cross-24.svg");
|
|
4516
|
+
var folding_arrow_12_svg_1 = __webpack_require__(/*! ./folding-arrow-12.svg */ "./icons/folding-arrow-12.svg");
|
|
4517
|
+
var folding_arrow_18_svg_1 = __webpack_require__(/*! ./folding-arrow-18.svg */ "./icons/folding-arrow-18.svg");
|
|
4518
|
+
var folding_arrow_24_svg_1 = __webpack_require__(/*! ./folding-arrow-24.svg */ "./icons/folding-arrow-24.svg");
|
|
4519
|
+
var accept_12_svg_1 = __webpack_require__(/*! ./accept-12.svg */ "./icons/accept-12.svg");
|
|
4520
|
+
var accept_18_svg_1 = __webpack_require__(/*! ./accept-18.svg */ "./icons/accept-18.svg");
|
|
4521
|
+
var accept_24_svg_1 = __webpack_require__(/*! ./accept-24.svg */ "./icons/accept-24.svg");
|
|
4522
|
+
var search_12_svg_1 = __webpack_require__(/*! ./search-12.svg */ "./icons/search-12.svg");
|
|
4523
|
+
var search_18_svg_1 = __webpack_require__(/*! ./search-18.svg */ "./icons/search-18.svg");
|
|
4524
|
+
var search_24_svg_1 = __webpack_require__(/*! ./search-24.svg */ "./icons/search-24.svg");
|
|
4525
|
+
var calendar_12_svg_1 = __webpack_require__(/*! ./calendar-12.svg */ "./icons/calendar-12.svg");
|
|
4526
|
+
var calendar_18_svg_1 = __webpack_require__(/*! ./calendar-18.svg */ "./icons/calendar-18.svg");
|
|
4527
|
+
var calendar_24_svg_1 = __webpack_require__(/*! ./calendar-24.svg */ "./icons/calendar-24.svg");
|
|
4528
|
+
var info_12_svg_1 = __webpack_require__(/*! ./info-12.svg */ "./icons/info-12.svg");
|
|
4529
|
+
var info_18_svg_1 = __webpack_require__(/*! ./info-18.svg */ "./icons/info-18.svg");
|
|
4530
|
+
var info_24_svg_1 = __webpack_require__(/*! ./info-24.svg */ "./icons/info-24.svg");
|
|
4531
|
+
var help_fill_10_svg_1 = __webpack_require__(/*! ./help-fill-10.svg */ "./icons/help-fill-10.svg");
|
|
4532
|
+
var help_fill_16_svg_1 = __webpack_require__(/*! ./help-fill-16.svg */ "./icons/help-fill-16.svg");
|
|
4533
|
+
exports.systemIcons = {
|
|
4534
|
+
'18': {
|
|
4535
|
+
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4536
|
+
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4537
|
+
accept: accept_12_svg_1.ReactComponent,
|
|
4538
|
+
search: search_12_svg_1.ReactComponent,
|
|
4539
|
+
calendar: calendar_12_svg_1.ReactComponent,
|
|
4540
|
+
info: info_12_svg_1.ReactComponent,
|
|
4541
|
+
help: help_fill_10_svg_1.ReactComponent,
|
|
4542
|
+
},
|
|
4543
|
+
'24': {
|
|
4544
|
+
clear: btn_cross_12_svg_1.ReactComponent,
|
|
4545
|
+
foldingArrow: folding_arrow_12_svg_1.ReactComponent,
|
|
4546
|
+
accept: accept_12_svg_1.ReactComponent,
|
|
4547
|
+
search: search_12_svg_1.ReactComponent,
|
|
4548
|
+
calendar: calendar_12_svg_1.ReactComponent,
|
|
4549
|
+
info: info_12_svg_1.ReactComponent,
|
|
4550
|
+
help: help_fill_10_svg_1.ReactComponent,
|
|
4551
|
+
},
|
|
4552
|
+
'30': {
|
|
4553
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4554
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4555
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4556
|
+
search: search_18_svg_1.ReactComponent,
|
|
4557
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4558
|
+
info: info_18_svg_1.ReactComponent,
|
|
4559
|
+
help: help_fill_10_svg_1.ReactComponent,
|
|
4560
|
+
},
|
|
4561
|
+
'36': {
|
|
4562
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4563
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4564
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4565
|
+
search: search_18_svg_1.ReactComponent,
|
|
4566
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4567
|
+
info: info_18_svg_1.ReactComponent,
|
|
4568
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4569
|
+
},
|
|
4570
|
+
'42': {
|
|
4571
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4572
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4573
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4574
|
+
search: search_18_svg_1.ReactComponent,
|
|
4575
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4576
|
+
info: info_18_svg_1.ReactComponent,
|
|
4577
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4578
|
+
},
|
|
4579
|
+
'48': {
|
|
4580
|
+
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4581
|
+
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4582
|
+
accept: accept_24_svg_1.ReactComponent,
|
|
4583
|
+
search: search_24_svg_1.ReactComponent,
|
|
4584
|
+
calendar: calendar_24_svg_1.ReactComponent,
|
|
4585
|
+
info: info_24_svg_1.ReactComponent,
|
|
4586
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4587
|
+
},
|
|
4588
|
+
'60': {
|
|
4589
|
+
clear: btn_cross_24_svg_1.ReactComponent,
|
|
4590
|
+
foldingArrow: folding_arrow_24_svg_1.ReactComponent,
|
|
4591
|
+
accept: accept_24_svg_1.ReactComponent,
|
|
4592
|
+
search: search_24_svg_1.ReactComponent,
|
|
4593
|
+
calendar: calendar_24_svg_1.ReactComponent,
|
|
4594
|
+
info: info_24_svg_1.ReactComponent,
|
|
4595
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4596
|
+
},
|
|
4597
|
+
'none': {
|
|
4598
|
+
clear: btn_cross_18_svg_1.ReactComponent,
|
|
4599
|
+
foldingArrow: folding_arrow_18_svg_1.ReactComponent,
|
|
4600
|
+
accept: accept_18_svg_1.ReactComponent,
|
|
4601
|
+
search: search_18_svg_1.ReactComponent,
|
|
4602
|
+
calendar: calendar_18_svg_1.ReactComponent,
|
|
4603
|
+
info: info_18_svg_1.ReactComponent,
|
|
4604
|
+
help: help_fill_16_svg_1.ReactComponent,
|
|
4605
|
+
},
|
|
4606
|
+
};
|
|
4607
4607
|
|
|
4608
4608
|
|
|
4609
4609
|
/***/ }),
|
|
@@ -4652,7 +4652,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
4652
4652
|
svgRef: ref
|
|
4653
4653
|
}, props));
|
|
4654
4654
|
});
|
|
4655
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
4655
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "77b7c4fba164c58228be2d8d0d6dec98.svg");
|
|
4656
4656
|
|
|
4657
4657
|
|
|
4658
4658
|
/***/ }),
|
|
@@ -5044,7 +5044,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5044
5044
|
svgRef: ref
|
|
5045
5045
|
}, props));
|
|
5046
5046
|
});
|
|
5047
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5047
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "35106eb8a4be4afeb326f2926347d63c.svg");
|
|
5048
5048
|
|
|
5049
5049
|
|
|
5050
5050
|
/***/ }),
|
|
@@ -5093,7 +5093,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5093
5093
|
svgRef: ref
|
|
5094
5094
|
}, props));
|
|
5095
5095
|
});
|
|
5096
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5096
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "77e60738884942dab88dae51d3dbccd2.svg");
|
|
5097
5097
|
|
|
5098
5098
|
|
|
5099
5099
|
/***/ }),
|
|
@@ -5143,7 +5143,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5143
5143
|
svgRef: ref
|
|
5144
5144
|
}, props));
|
|
5145
5145
|
});
|
|
5146
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5146
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "e0a2a4521d4572e6b2c97c177d398463.svg");
|
|
5147
5147
|
|
|
5148
5148
|
|
|
5149
5149
|
/***/ }),
|
|
@@ -5394,7 +5394,7 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5394
5394
|
svgRef: ref
|
|
5395
5395
|
}, props));
|
|
5396
5396
|
});
|
|
5397
|
-
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "
|
|
5397
|
+
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "4a0775e7f6abd130329c74c2eba659c7.svg");
|
|
5398
5398
|
|
|
5399
5399
|
|
|
5400
5400
|
/***/ }),
|
|
@@ -5407,13 +5407,13 @@ var ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.forwa
|
|
|
5407
5407
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5408
5408
|
|
|
5409
5409
|
"use strict";
|
|
5410
|
-
|
|
5411
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5412
|
-
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
5413
|
-
__webpack_require__(/*! ./assets/styles/font-faces.scss */ "./assets/styles/font-faces.scss");
|
|
5414
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./components */ "./components/index.ts"), exports);
|
|
5415
|
-
// export * from './i18n';
|
|
5416
|
-
(0, tslib_1.__exportStar)(__webpack_require__(/*! @epam/uui-core */ "@epam/uui-core"), exports);
|
|
5410
|
+
|
|
5411
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5412
|
+
var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.js");
|
|
5413
|
+
__webpack_require__(/*! ./assets/styles/font-faces.scss */ "./assets/styles/font-faces.scss");
|
|
5414
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./components */ "./components/index.ts"), exports);
|
|
5415
|
+
// export * from './i18n';
|
|
5416
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! @epam/uui-core */ "@epam/uui-core"), exports);
|
|
5417
5417
|
|
|
5418
5418
|
|
|
5419
5419
|
/***/ }),
|
|
@@ -5425,7 +5425,7 @@ __webpack_require__(/*! ./assets/styles/font-faces.scss */ "./assets/styles/font
|
|
|
5425
5425
|
/*! no static exports found */
|
|
5426
5426
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5427
5427
|
|
|
5428
|
-
module.exports = __webpack_require__(/*!
|
|
5428
|
+
module.exports = __webpack_require__(/*! D:\dev\UUI-4.6.1patch\uui\index.tsx */"./index.tsx");
|
|
5429
5429
|
|
|
5430
5430
|
|
|
5431
5431
|
/***/ }),
|