@zohodesk/components 1.0.0-alpha-238 → 1.0.0-alpha-241
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -6
- package/assets/Appearance/dark/mode/darkMode.module.css +0 -2
- package/assets/Appearance/default/mode/defaultMode.module.css +1 -3
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +10 -12
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css +2 -2
- package/docs/external/active-line.js +72 -0
- package/docs/external/autorefresh.js +47 -0
- package/docs/external/codemirror.js +9681 -0
- package/docs/external/css/hopscotch.css +576 -0
- package/docs/external/css/styleGuide.css +1100 -0
- package/docs/external/css.js +466 -0
- package/docs/external/designTokens.js +1 -0
- package/docs/external/foldcode.js +152 -0
- package/docs/external/format.js +129 -0
- package/docs/external/htmlmixed.js +84 -0
- package/docs/external/images/bottom.png +0 -0
- package/docs/external/images/bottombg.jpg +0 -0
- package/docs/external/images/desk.png +0 -0
- package/docs/external/images/desklogo.png +0 -0
- package/docs/external/images/menu.png +0 -0
- package/docs/external/index.html +127 -0
- package/docs/external/javascript.js +422 -0
- package/docs/external/jsx.js +148 -0
- package/docs/external/matchbrackets.js +145 -0
- package/docs/external/xml.js +322 -0
- package/docs/package.json +41 -0
- package/docs/src/index.js +1311 -0
- package/es/Accordion/docs/Accordion__Demo.docs.js +80 -0
- package/es/Animation/docs/Animation__default.docs.js +34 -0
- package/es/Animation/docs/Animation__fadeIn.docs.js +34 -0
- package/es/Animation/docs/Animation__scaleIn.docs.js +34 -0
- package/es/Animation/docs/Animation__skewIn.docs.js +34 -0
- package/es/Animation/docs/Animation__slideDown.docs.js +34 -0
- package/es/Animation/docs/Animation__slideLeft.docs.js +34 -0
- package/es/Animation/docs/Animation__zoomIn.docs.js +34 -0
- package/es/AppContainer/docs/AppContainer__default.docs.js +20 -0
- package/es/Avatar/docs/Avatar__custom.docs.js +29 -0
- package/es/Avatar/docs/Avatar__default.docs.js +29 -0
- package/es/Avatar/docs/Avatar__palette.docs.js +49 -0
- package/es/Avatar/docs/Avatar__text.docs.js +28 -0
- package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +73 -0
- package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +31 -0
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +50 -0
- package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +49 -0
- package/es/Button/docs/Button__custom.docs.js +771 -0
- package/es/Button/docs/Button__default.docs.js +536 -0
- package/es/Buttongroup/docs/Buttongroup__custom.docs.js +37 -0
- package/es/Buttongroup/docs/Buttongroup__footer.docs.js +33 -0
- package/es/Buttongroup/docs/Buttongroup__header.docs.js +42 -0
- package/es/Card/docs/Card__Custom.docs.js +34 -0
- package/es/Card/docs/Card__Default.docs.js +37 -0
- package/es/Card/docs/Card__Scroll.docs.js +59 -0
- package/es/CheckBox/docs/CheckBox__custom.docs.js +293 -0
- package/es/CheckBox/docs/CheckBox__default.docs.js +219 -0
- package/es/DateTime/DateTime.js +46 -19
- package/es/DateTime/DateWidget.js +10 -2
- package/es/DateTime/DateWidget.module.css +0 -4
- package/es/DateTime/docs/DateTime__default.docs.js +91 -0
- package/es/DateTime/docs/DateWidget__default.docs.js +183 -0
- package/es/DateTime/docs/timezonedata.json +1 -0
- package/es/DropBox/docs/DropBox__custom.docs.js +66 -0
- package/es/DropBox/docs/DropBox__customOrder.docs.js +92 -0
- package/es/DropBox/docs/DropBox__fixedPosition.docs.js +91 -0
- package/es/DropBox/docs/DropBox__position.docs.js +87 -0
- package/es/DropBox/docs/DropBox__size.docs.js +61 -0
- package/es/DropDown/docs/DropDownHeading__custom.docs.js +23 -0
- package/es/DropDown/docs/DropDownHeading__default.docs.js +21 -0
- package/es/Label/docs/Label__clipped.docs.js +27 -0
- package/es/Label/docs/Label__custom.docs.js +30 -0
- package/es/Label/docs/Label__palette.docs.js +42 -0
- package/es/Label/docs/Label__size.docs.js +29 -0
- package/es/Label/docs/Label__type.docs.js +37 -0
- package/es/Layout/docs/Layout__Hidden.docs.js +77 -0
- package/es/Layout/docs/Layout__default.docs.js +49 -0
- package/es/Layout/docs/Layout__four_Column.docs.js +85 -0
- package/es/Layout/docs/Layout__three_Column.docs.js +76 -0
- package/es/Layout/docs/Layout__two_Column.docs.js +69 -0
- package/es/LightNightMode/docs/AlternativeColors.docs.js +74 -0
- package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +155 -0
- package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +112 -0
- package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +91 -0
- package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +65 -0
- package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +68 -0
- package/es/ListItem/docs/ListItemWithIcon__default.docs.js +62 -0
- package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +91 -0
- package/es/ListItem/docs/ListItemWithRadio__default.docs.js +65 -0
- package/es/ListItem/docs/ListItem__custom.docs.js +114 -0
- package/es/ListItem/docs/ListItem__default.docs.js +82 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +100 -75
- package/es/MultiSelect/AdvancedMultiSelect.js +75 -49
- package/es/MultiSelect/MultiSelect.js +80 -55
- package/es/MultiSelect/MultiSelect.module.css +6 -1
- package/es/MultiSelect/MultiSelectWithAvatar.js +77 -52
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +125 -0
- package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +114 -0
- package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +141 -0
- package/es/MultiSelect/docs/MultiSelect__default.docs.js +161 -0
- package/es/PopOver/PopOver.js +10 -4
- package/es/PopOver/docs/PopOver__default.docs.js +32 -0
- package/es/Provider/docs/Provider_Id__Class.docs.js +29 -0
- package/es/Provider/docs/Provider_Id__Function.docs.js +18 -0
- package/es/Provider/docs/Provider_Zindex__Class.docs.js +32 -0
- package/es/Provider/docs/Provider_Zindex__Function.docs.js +23 -0
- package/es/Provider.js +5 -105
- package/es/Radio/docs/Radio__custom.docs.js +245 -0
- package/es/Radio/docs/Radio__default.docs.js +169 -0
- package/es/Responsive/docs/Responsive__Custom.docs.js +206 -0
- package/es/Responsive/docs/Responsive__default.docs.js +97 -0
- package/es/Responsive/docs/style.module.css +56 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +74 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/es/Ribbon/docs/Ribbon__custom.docs.js +386 -0
- package/es/Ribbon/docs/Ribbon__default.docs.js +342 -0
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +435 -0
- package/es/Select/GroupSelect.js +99 -74
- package/es/Select/Select.js +95 -68
- package/es/Select/Select.module.css +6 -0
- package/es/Select/SelectWithAvatar.js +91 -66
- package/es/Select/SelectWithIcon.js +99 -74
- package/es/Select/docs/GroupSelect__default.docs.js +149 -0
- package/es/Select/docs/SelectWithAvatar__default.docs.js +97 -0
- package/es/Select/docs/SelectWithIcon__default.docs.js +138 -0
- package/es/Select/docs/Select__default.docs.js +288 -0
- package/es/Stencils/docs/Stencils__custom.docs.js +45 -0
- package/es/Stencils/docs/Stencils__default.docs.js +50 -0
- package/es/Switch/docs/Switch__custom.docs.js +153 -0
- package/es/Switch/docs/Switch__default.docs.js +107 -0
- package/es/Tab/Tabs.js +68 -43
- package/es/Tab/Tabs.module.css +2 -1
- package/es/Tab/docs/Tab__default.docs.js +258 -0
- package/es/Tab/docs/tabdocs.module.css +29 -0
- package/es/Tag/docs/Tag__custom.docs.js +368 -0
- package/es/Tag/docs/Tag__default.docs.js +323 -0
- package/es/TextBox/docs/TextBox__custom.docs.js +43 -0
- package/es/TextBox/docs/TextBox__default.docs.js +40 -0
- package/es/TextBox/docs/TextBox__size.docs.js +38 -0
- package/es/TextBox/docs/TextBox__variant.docs.js +38 -0
- package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +89 -0
- package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +61 -0
- package/es/Textarea/docs/Textarea__animated.docs.js +41 -0
- package/es/Textarea/docs/Textarea__custom.docs.js +82 -0
- package/es/Textarea/docs/Textarea__default.docs.js +76 -0
- package/es/Textarea/docs/Textarea__disabled.docs.js +29 -0
- package/es/Tooltip/Tooltip.js +1 -1
- package/es/Tooltip/docs/Tooltip__default.docs.js +371 -0
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +97 -0
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +150 -0
- package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +139 -0
- package/es/beta/FocusRing/docs/FocusRing__default.docs.js +48 -0
- package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +72 -0
- package/es/index.js +2 -1
- package/es/semantic/Button/docs/Button__default.docs.js +20 -0
- package/lib/Accordion/docs/Accordion__Demo.docs.js +126 -0
- package/lib/Animation/docs/Animation__default.docs.js +85 -0
- package/lib/Animation/docs/Animation__fadeIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__scaleIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__skewIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__slideDown.docs.js +85 -0
- package/lib/Animation/docs/Animation__slideLeft.docs.js +85 -0
- package/lib/Animation/docs/Animation__zoomIn.docs.js +85 -0
- package/lib/AppContainer/docs/AppContainer__default.docs.js +70 -0
- package/lib/Avatar/docs/Avatar__custom.docs.js +87 -0
- package/lib/Avatar/docs/Avatar__default.docs.js +83 -0
- package/lib/Avatar/docs/Avatar__palette.docs.js +107 -0
- package/lib/Avatar/docs/Avatar__text.docs.js +86 -0
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +124 -0
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +82 -0
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +101 -0
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +100 -0
- package/lib/Button/docs/Button__custom.docs.js +826 -0
- package/lib/Button/docs/Button__default.docs.js +590 -0
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +89 -0
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +85 -0
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +98 -0
- package/lib/Card/docs/Card__Custom.docs.js +90 -0
- package/lib/Card/docs/Card__Default.docs.js +92 -0
- package/lib/Card/docs/Card__Scroll.docs.js +114 -0
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +348 -0
- package/lib/CheckBox/docs/CheckBox__default.docs.js +273 -0
- package/lib/DateTime/DateTime.js +46 -20
- package/lib/DateTime/DateWidget.js +10 -2
- package/lib/DateTime/DateWidget.module.css +0 -4
- package/lib/DateTime/docs/DateTime__default.docs.js +142 -0
- package/lib/DateTime/docs/DateWidget__default.docs.js +240 -0
- package/lib/DateTime/docs/timezonedata.json +1 -0
- package/lib/DropBox/docs/DropBox__custom.docs.js +122 -0
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +141 -0
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +140 -0
- package/lib/DropBox/docs/DropBox__position.docs.js +142 -0
- package/lib/DropBox/docs/DropBox__size.docs.js +116 -0
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +73 -0
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +70 -0
- package/lib/Label/docs/Label__clipped.docs.js +81 -0
- package/lib/Label/docs/Label__custom.docs.js +85 -0
- package/lib/Label/docs/Label__palette.docs.js +96 -0
- package/lib/Label/docs/Label__size.docs.js +83 -0
- package/lib/Label/docs/Label__type.docs.js +91 -0
- package/lib/Layout/docs/Layout__Hidden.docs.js +127 -0
- package/lib/Layout/docs/Layout__default.docs.js +98 -0
- package/lib/Layout/docs/Layout__four_Column.docs.js +135 -0
- package/lib/Layout/docs/Layout__three_Column.docs.js +126 -0
- package/lib/Layout/docs/Layout__two_Column.docs.js +119 -0
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +131 -0
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +206 -0
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +162 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +142 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +115 -0
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +119 -0
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +112 -0
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +142 -0
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +115 -0
- package/lib/ListItem/docs/ListItem__custom.docs.js +164 -0
- package/lib/ListItem/docs/ListItem__default.docs.js +131 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +99 -77
- package/lib/MultiSelect/AdvancedMultiSelect.js +76 -50
- package/lib/MultiSelect/MultiSelect.js +81 -56
- package/lib/MultiSelect/MultiSelect.module.css +6 -1
- package/lib/MultiSelect/MultiSelectWithAvatar.js +78 -53
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +177 -0
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +165 -0
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +191 -0
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +214 -0
- package/lib/PopOver/PopOver.js +11 -4
- package/lib/PopOver/docs/PopOver__default.docs.js +86 -0
- package/lib/Provider/docs/Provider_Id__Class.docs.js +77 -0
- package/lib/Provider/docs/Provider_Id__Function.docs.js +29 -0
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +80 -0
- package/lib/Provider/docs/Provider_Zindex__Function.docs.js +34 -0
- package/lib/Provider.js +6 -123
- package/lib/Radio/docs/Radio__custom.docs.js +299 -0
- package/lib/Radio/docs/Radio__default.docs.js +222 -0
- package/lib/Responsive/docs/Responsive__Custom.docs.js +272 -0
- package/lib/Responsive/docs/Responsive__default.docs.js +142 -0
- package/lib/Responsive/docs/style.module.css +56 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +437 -0
- package/lib/Ribbon/docs/Ribbon__default.docs.js +392 -0
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +484 -0
- package/lib/Select/GroupSelect.js +99 -76
- package/lib/Select/Select.js +102 -75
- package/lib/Select/Select.module.css +6 -0
- package/lib/Select/SelectWithAvatar.js +96 -71
- package/lib/Select/SelectWithIcon.js +97 -74
- package/lib/Select/docs/GroupSelect__default.docs.js +199 -0
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +152 -0
- package/lib/Select/docs/SelectWithIcon__default.docs.js +190 -0
- package/lib/Select/docs/Select__default.docs.js +340 -0
- package/lib/Stencils/docs/Stencils__custom.docs.js +96 -0
- package/lib/Stencils/docs/Stencils__default.docs.js +101 -0
- package/lib/Switch/docs/Switch__custom.docs.js +203 -0
- package/lib/Switch/docs/Switch__default.docs.js +156 -0
- package/lib/Tab/Tabs.js +67 -44
- package/lib/Tab/Tabs.module.css +2 -1
- package/lib/Tab/docs/Tab__default.docs.js +308 -0
- package/lib/Tab/docs/tabdocs.module.css +29 -0
- package/lib/Tag/docs/Tag__custom.docs.js +423 -0
- package/lib/Tag/docs/Tag__default.docs.js +377 -0
- package/lib/TextBox/docs/TextBox__custom.docs.js +98 -0
- package/lib/TextBox/docs/TextBox__default.docs.js +95 -0
- package/lib/TextBox/docs/TextBox__size.docs.js +93 -0
- package/lib/TextBox/docs/TextBox__variant.docs.js +93 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +145 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +117 -0
- package/lib/Textarea/docs/Textarea__animated.docs.js +95 -0
- package/lib/Textarea/docs/Textarea__custom.docs.js +137 -0
- package/lib/Textarea/docs/Textarea__default.docs.js +130 -0
- package/lib/Textarea/docs/Textarea__disabled.docs.js +83 -0
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/Tooltip/docs/Tooltip__default.docs.js +430 -0
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +150 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +206 -0
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +191 -0
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +101 -0
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +145 -0
- package/lib/index.js +10 -1
- package/lib/semantic/Button/docs/Button__default.docs.js +66 -0
- package/package.json +3 -3
|
@@ -13,8 +13,6 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
13
13
|
|
|
14
14
|
var _Popup = _interopRequireDefault(require("../Popup/Popup"));
|
|
15
15
|
|
|
16
|
-
var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
|
|
17
|
-
|
|
18
16
|
var _TextBoxIcon = _interopRequireDefault(require("../TextBoxIcon/TextBoxIcon"));
|
|
19
17
|
|
|
20
18
|
var _Layout = require("../Layout");
|
|
@@ -33,6 +31,10 @@ var _CssProvider = _interopRequireDefault(require("../Provider/CssProvider"));
|
|
|
33
31
|
|
|
34
32
|
var _IdProvider = require("../Provider/IdProvider");
|
|
35
33
|
|
|
34
|
+
var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/ResponsiveDropBox"));
|
|
35
|
+
|
|
36
|
+
var _CustomResponsive = require("../Responsive/CustomResponsive");
|
|
37
|
+
|
|
36
38
|
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
37
39
|
|
|
38
40
|
var _MultiSelectModule = _interopRequireDefault(require("./MultiSelect.module.css"));
|
|
@@ -901,9 +903,21 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
901
903
|
openPopupOnly: openPopupOnly
|
|
902
904
|
});
|
|
903
905
|
}
|
|
906
|
+
}, {
|
|
907
|
+
key: "responsiveFunc",
|
|
908
|
+
value: function responsiveFunc(_ref6) {
|
|
909
|
+
var mediaQueryOR = _ref6.mediaQueryOR;
|
|
910
|
+
return {
|
|
911
|
+
tabletMode: mediaQueryOR([{
|
|
912
|
+
maxWidth: 700
|
|
913
|
+
}])
|
|
914
|
+
};
|
|
915
|
+
}
|
|
904
916
|
}, {
|
|
905
917
|
key: "render",
|
|
906
918
|
value: function render() {
|
|
919
|
+
var _this5 = this;
|
|
920
|
+
|
|
907
921
|
var _this$props13 = this.props,
|
|
908
922
|
isReadOnly = _this$props13.isReadOnly,
|
|
909
923
|
needSelectAll = _this$props13.needSelectAll,
|
|
@@ -1050,60 +1064,71 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1050
1064
|
size: "15"
|
|
1051
1065
|
})) : null, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
1052
1066
|
dataId: "".concat(dataId, "_children")
|
|
1053
|
-
}, children) : null)))), !isReadOnly && !isDisabled && !disableAction && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1067
|
+
}, children) : null)))), !isReadOnly && !isDisabled && !disableAction && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
1068
|
+
query: this.responsiveFunc,
|
|
1069
|
+
responsiveId: "Helmet"
|
|
1070
|
+
}, function (_ref7) {
|
|
1071
|
+
var tabletMode = _ref7.tabletMode;
|
|
1072
|
+
return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
|
|
1073
|
+
animationStyle: animationStyle,
|
|
1074
|
+
boxPosition: position || "".concat(defaultDropBoxPosition),
|
|
1075
|
+
getRef: getContainerRef,
|
|
1076
|
+
isActive: isPopupReady,
|
|
1077
|
+
isAnimate: isAnimate,
|
|
1078
|
+
isArrow: false,
|
|
1079
|
+
onClick: removeClose,
|
|
1080
|
+
needResponsive: needResponsive,
|
|
1081
|
+
isPadding: false,
|
|
1082
|
+
isBoxPaddingNeed: isBoxPaddingNeed,
|
|
1083
|
+
palette: palette,
|
|
1084
|
+
htmlId: setAriaId,
|
|
1085
|
+
a11y: {
|
|
1086
|
+
role: 'listbox',
|
|
1087
|
+
ariaMultiselectable: true
|
|
1088
|
+
},
|
|
1089
|
+
size: boxSize,
|
|
1090
|
+
alignBox: "row",
|
|
1091
|
+
isResponsivePadding: getFooter ? false : true
|
|
1092
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
1093
|
+
flexible: true
|
|
1094
|
+
}, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
|
|
1095
|
+
customClass: "".concat(_MultiSelectModule["default"].box, " ").concat(_MultiSelectModule["default"]["".concat(palette, "Box")]),
|
|
1096
|
+
onScroll: _this5.handleScroll
|
|
1097
|
+
}, /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement(_MultiSelectHeader["default"], {
|
|
1098
|
+
needSelectAll: needSelectAll,
|
|
1099
|
+
onSelect: _this5.handleSelectAll,
|
|
1100
|
+
selectAllText: selectAllText,
|
|
1101
|
+
suggestions: suggestions,
|
|
1102
|
+
dataId: dataId
|
|
1103
|
+
})), /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
|
|
1104
|
+
shrink: true,
|
|
1105
|
+
customClass: !tabletMode && dropBoxSize ? _MultiSelectModule["default"][dropBoxSize] : '',
|
|
1106
|
+
eleRef: _this5.suggestionContainerRef
|
|
1107
|
+
}, isSearching ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
1108
|
+
className: _MultiSelectModule["default"][palette]
|
|
1109
|
+
}, searchText) : suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
|
|
1110
|
+
suggestions: suggestions,
|
|
1111
|
+
getRef: _this5.suggestionItemRef,
|
|
1112
|
+
hoverOption: hoverOption,
|
|
1113
|
+
onClick: _this5.handleSelectOption,
|
|
1114
|
+
onMouseEnter: _this5.handleMouseEnter,
|
|
1115
|
+
needBorder: false,
|
|
1116
|
+
dataId: "".concat(dataId, "_Options"),
|
|
1117
|
+
palette: palette,
|
|
1118
|
+
a11y: {
|
|
1119
|
+
role: 'option'
|
|
1120
|
+
}
|
|
1121
|
+
}) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
|
|
1122
|
+
isLoading: isFetchingOptions,
|
|
1123
|
+
options: options,
|
|
1124
|
+
searchString: searchStr,
|
|
1125
|
+
suggestions: suggestions,
|
|
1126
|
+
dataId: dataId,
|
|
1127
|
+
palette: palette,
|
|
1128
|
+
i18nKeys: i18nKeys,
|
|
1129
|
+
htmlId: ariaErrorId
|
|
1130
|
+
})), getFooter ? /*#__PURE__*/_react["default"].createElement(_Card.CardFooter, null, getFooter()) : null)));
|
|
1131
|
+
}) : null);
|
|
1107
1132
|
}
|
|
1108
1133
|
}]);
|
|
1109
1134
|
|
|
@@ -101,7 +101,9 @@
|
|
|
101
101
|
[dir=rtl] .container.medium .tag {
|
|
102
102
|
margin: var(--zd_size5) 0 0 var(--zd_size10);
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
.responsiveParent{
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
105
107
|
.box {
|
|
106
108
|
background: var(--zdt_multiselect_box_bg);
|
|
107
109
|
}
|
|
@@ -191,3 +193,6 @@
|
|
|
191
193
|
[dir=rtl] .clearIconSpace {
|
|
192
194
|
padding-left: var(--zd_size37)
|
|
193
195
|
}
|
|
196
|
+
.search{
|
|
197
|
+
padding: 0px 20px;
|
|
198
|
+
}
|
|
@@ -15,8 +15,6 @@ var _MultiSelect = require("./MultiSelect");
|
|
|
15
15
|
|
|
16
16
|
var _Popup = _interopRequireDefault(require("../Popup/Popup"));
|
|
17
17
|
|
|
18
|
-
var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
|
|
19
|
-
|
|
20
18
|
var _TextBoxIcon = _interopRequireDefault(require("../TextBoxIcon/TextBoxIcon"));
|
|
21
19
|
|
|
22
20
|
var _Layout = require("../Layout");
|
|
@@ -35,6 +33,10 @@ var _CssProvider = _interopRequireDefault(require("../Provider/CssProvider"));
|
|
|
35
33
|
|
|
36
34
|
var _IdProvider = require("../Provider/IdProvider");
|
|
37
35
|
|
|
36
|
+
var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/ResponsiveDropBox"));
|
|
37
|
+
|
|
38
|
+
var _CustomResponsive = require("../Responsive/CustomResponsive");
|
|
39
|
+
|
|
38
40
|
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
39
41
|
|
|
40
42
|
var _MultiSelectModule = _interopRequireDefault(require("./MultiSelect.module.css"));
|
|
@@ -103,9 +105,21 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
103
105
|
disabledOptions: disabledOptions
|
|
104
106
|
});
|
|
105
107
|
}
|
|
108
|
+
}, {
|
|
109
|
+
key: "responsiveFunc",
|
|
110
|
+
value: function responsiveFunc(_ref) {
|
|
111
|
+
var mediaQueryOR = _ref.mediaQueryOR;
|
|
112
|
+
return {
|
|
113
|
+
tabletMode: mediaQueryOR([{
|
|
114
|
+
maxWidth: 700
|
|
115
|
+
}])
|
|
116
|
+
};
|
|
117
|
+
}
|
|
106
118
|
}, {
|
|
107
119
|
key: "render",
|
|
108
120
|
value: function render() {
|
|
121
|
+
var _this2 = this;
|
|
122
|
+
|
|
109
123
|
var _this$props = this.props,
|
|
110
124
|
isReadOnly = _this$props.isReadOnly,
|
|
111
125
|
needSelectAll = _this$props.needSelectAll,
|
|
@@ -238,57 +252,68 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
238
252
|
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
239
253
|
name: "ZD-delete",
|
|
240
254
|
size: "15"
|
|
241
|
-
})) : null)))), popUpState ? /*#__PURE__*/_react["default"].createElement(
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
255
|
+
})) : null)))), popUpState ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
256
|
+
query: this.responsiveFunc,
|
|
257
|
+
responsiveId: "Helmet"
|
|
258
|
+
}, function (_ref2) {
|
|
259
|
+
var tabletMode = _ref2.tabletMode;
|
|
260
|
+
return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
|
|
261
|
+
animationStyle: animationStyle,
|
|
262
|
+
boxPosition: position || "".concat(defaultDropBoxPosition, "Center"),
|
|
263
|
+
getRef: getContainerRef,
|
|
264
|
+
isActive: isPopupReady,
|
|
265
|
+
isAnimate: isAnimate,
|
|
266
|
+
isArrow: false,
|
|
267
|
+
onClick: removeClose,
|
|
268
|
+
needResponsive: needResponsive,
|
|
269
|
+
isPadding: false,
|
|
270
|
+
isBoxPaddingNeed: isBoxPaddingNeed,
|
|
271
|
+
palette: palette,
|
|
272
|
+
htmlId: setAriaId,
|
|
273
|
+
a11y: {
|
|
274
|
+
ariaMultiselectable: true,
|
|
275
|
+
role: 'listbox'
|
|
276
|
+
},
|
|
277
|
+
isResponsivePadding: true,
|
|
278
|
+
alignBox: "row"
|
|
279
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
280
|
+
flexible: true
|
|
281
|
+
}, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
|
|
282
|
+
customClass: "".concat(_MultiSelectModule["default"].box, " ").concat(_MultiSelectModule["default"]["".concat(palette, "Box")]),
|
|
283
|
+
onScroll: _this2.handleScroll
|
|
284
|
+
}, /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement(_MultiSelectHeader["default"], {
|
|
285
|
+
needSelectAll: needSelectAll,
|
|
286
|
+
onSelect: _this2.handleSelectAll,
|
|
287
|
+
selectAllText: selectAllText,
|
|
288
|
+
suggestions: suggestions,
|
|
289
|
+
dataId: dataId
|
|
290
|
+
})), /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
|
|
291
|
+
shrink: true,
|
|
292
|
+
customClass: !tabletMode && dropBoxSize ? _MultiSelectModule["default"][dropBoxSize] : '',
|
|
293
|
+
eleRef: _this2.suggestionContainerRef
|
|
294
|
+
}, suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
|
|
295
|
+
suggestions: suggestions,
|
|
296
|
+
getRef: _this2.suggestionItemRef,
|
|
297
|
+
hoverOption: hoverOption,
|
|
298
|
+
onClick: _this2.handleSelectOption,
|
|
299
|
+
onMouseEnter: _this2.handleMouseEnter,
|
|
300
|
+
needBorder: false,
|
|
301
|
+
dataId: "".concat(dataId, "_Options"),
|
|
302
|
+
palette: palette,
|
|
303
|
+
a11y: {
|
|
304
|
+
role: 'option'
|
|
305
|
+
}
|
|
306
|
+
}) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
|
|
307
|
+
isLoading: isFetchingOptions,
|
|
308
|
+
options: options,
|
|
309
|
+
searchString: searchStr,
|
|
310
|
+
suggestions: suggestions,
|
|
311
|
+
dataId: dataId,
|
|
312
|
+
palette: palette,
|
|
313
|
+
i18nKeys: i18nKeys,
|
|
314
|
+
htmlId: ariaErrorId
|
|
315
|
+
})))));
|
|
316
|
+
}) : null);
|
|
292
317
|
}
|
|
293
318
|
}]);
|
|
294
319
|
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _AdvancedGroupMultiSelect = _interopRequireDefault(require("../AdvancedGroupMultiSelect"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
|
|
18
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
19
|
+
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
+
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
|
+
|
|
24
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
|
+
|
|
26
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
27
|
+
|
|
28
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
29
|
+
|
|
30
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
31
|
+
|
|
32
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
33
|
+
|
|
34
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
35
|
+
|
|
36
|
+
var AdvancedGroupMultiSelect__default = /*#__PURE__*/function (_React$Component) {
|
|
37
|
+
_inherits(AdvancedGroupMultiSelect__default, _React$Component);
|
|
38
|
+
|
|
39
|
+
var _super = _createSuper(AdvancedGroupMultiSelect__default);
|
|
40
|
+
|
|
41
|
+
function AdvancedGroupMultiSelect__default(props) {
|
|
42
|
+
var _this;
|
|
43
|
+
|
|
44
|
+
_classCallCheck(this, AdvancedGroupMultiSelect__default);
|
|
45
|
+
|
|
46
|
+
_this = _super.call(this, props);
|
|
47
|
+
_this.handleSelectOptions = _this.handleSelectOptions.bind(_assertThisInitialized(_this));
|
|
48
|
+
_this.getNextOptions = _this.getNextOptions.bind(_assertThisInitialized(_this));
|
|
49
|
+
_this.groupFooter = _this.groupFooter.bind(_assertThisInitialized(_this));
|
|
50
|
+
_this.onSearch = _this.onSearch.bind(_assertThisInitialized(_this));
|
|
51
|
+
_this.state = {
|
|
52
|
+
selectedGroupOptions: [{
|
|
53
|
+
groupId: 'Group1',
|
|
54
|
+
id: 'group13'
|
|
55
|
+
}, {
|
|
56
|
+
groupId: 'Group1',
|
|
57
|
+
id: '1212'
|
|
58
|
+
}, {
|
|
59
|
+
groupId: 'Group2',
|
|
60
|
+
id: '2222'
|
|
61
|
+
}],
|
|
62
|
+
selectedOptionDetails: {
|
|
63
|
+
Group1: [{
|
|
64
|
+
value: 'Ashok',
|
|
65
|
+
id: '1212'
|
|
66
|
+
}],
|
|
67
|
+
Group2: [{
|
|
68
|
+
value: 'team 1',
|
|
69
|
+
id: '2222'
|
|
70
|
+
}]
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
return _this;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
_createClass(AdvancedGroupMultiSelect__default, [{
|
|
77
|
+
key: "getNextOptions",
|
|
78
|
+
value: function getNextOptions(searchStr) {
|
|
79
|
+
return Promise.resolve();
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
key: "onSearch",
|
|
83
|
+
value: function onSearch(searchStr) {
|
|
84
|
+
return Promise.resolve();
|
|
85
|
+
}
|
|
86
|
+
}, {
|
|
87
|
+
key: "handleSelectOptions",
|
|
88
|
+
value: function handleSelectOptions() {
|
|
89
|
+
var selectedGroupOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
90
|
+
this.setState({
|
|
91
|
+
selectedGroupOptions: selectedGroupOptions
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}, {
|
|
95
|
+
key: "groupFooter",
|
|
96
|
+
value: function groupFooter() {
|
|
97
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, "Footer");
|
|
98
|
+
}
|
|
99
|
+
}, {
|
|
100
|
+
key: "render",
|
|
101
|
+
value: function render() {
|
|
102
|
+
var groupOptions = [{
|
|
103
|
+
id: 'Group1',
|
|
104
|
+
name: 'Group 1',
|
|
105
|
+
options: [{
|
|
106
|
+
id: 'group11',
|
|
107
|
+
value: 'Option 1'
|
|
108
|
+
}, {
|
|
109
|
+
id: 'group12',
|
|
110
|
+
value: 'Option 2'
|
|
111
|
+
}, {
|
|
112
|
+
id: 'group13',
|
|
113
|
+
value: 'Option 3'
|
|
114
|
+
}],
|
|
115
|
+
textField: 'value',
|
|
116
|
+
valueField: 'id'
|
|
117
|
+
}, {
|
|
118
|
+
id: 'Group2',
|
|
119
|
+
name: 'Group 2',
|
|
120
|
+
options: [{
|
|
121
|
+
id: 'group21',
|
|
122
|
+
value: 'Group2 Option 1'
|
|
123
|
+
}, {
|
|
124
|
+
id: 'group22',
|
|
125
|
+
value: 'Group2 Option 2'
|
|
126
|
+
}, {
|
|
127
|
+
id: 'group23',
|
|
128
|
+
value: 'Group2 Option 3'
|
|
129
|
+
}],
|
|
130
|
+
textField: 'value',
|
|
131
|
+
valueField: 'id'
|
|
132
|
+
}];
|
|
133
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AdvancedGroupMultiSelect["default"], {
|
|
134
|
+
groupedOptions: groupOptions,
|
|
135
|
+
selectedGroupOptions: this.state.selectedGroupOptions,
|
|
136
|
+
onChange: this.handleSelectOptions,
|
|
137
|
+
dataIdSrchEmptyMsg: "EmptySearch",
|
|
138
|
+
dataIdNoOptnsMsg: "NoData",
|
|
139
|
+
needLocalSearch: true,
|
|
140
|
+
getNextOptions: this.getNextOptions,
|
|
141
|
+
onSearch: this.onSearch,
|
|
142
|
+
selectedOptionDetails: this.state.selectedOptionDetails,
|
|
143
|
+
i18nKeys: {
|
|
144
|
+
clearText: 'Clear Selected Items',
|
|
145
|
+
loadingText: 'Fetching...',
|
|
146
|
+
emptyText: 'No Options .',
|
|
147
|
+
noMoreText: 'No More Options .',
|
|
148
|
+
searchEmptyText: 'No Matches Found .'
|
|
149
|
+
}
|
|
150
|
+
}), /*#__PURE__*/_react["default"].createElement(_AdvancedGroupMultiSelect["default"], {
|
|
151
|
+
groupedOptions: groupOptions,
|
|
152
|
+
selectedGroupOptions: this.state.selectedGroupOptions,
|
|
153
|
+
onChange: this.handleSelectOptions,
|
|
154
|
+
emptyMessage: "No data found",
|
|
155
|
+
searchEmptyMessage: "No results found",
|
|
156
|
+
dataIdSrchEmptyMsg: "EmptySearch",
|
|
157
|
+
dataIdNoOptnsMsg: "NoData",
|
|
158
|
+
needLocalSearch: true,
|
|
159
|
+
getNextOptions: this.getNextOptions,
|
|
160
|
+
onSearch: this.onSearch,
|
|
161
|
+
selectedOptionDetails: this.state.selectedOptionDetails,
|
|
162
|
+
getFooter: this.groupFooter
|
|
163
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "Children")));
|
|
164
|
+
}
|
|
165
|
+
}]);
|
|
166
|
+
|
|
167
|
+
return AdvancedGroupMultiSelect__default;
|
|
168
|
+
}(_react["default"].Component);
|
|
169
|
+
|
|
170
|
+
exports["default"] = AdvancedGroupMultiSelect__default;
|
|
171
|
+
|
|
172
|
+
if (false) {
|
|
173
|
+
AdvancedGroupMultiSelect__default.docs = {
|
|
174
|
+
componentGroup: 'Form Elements',
|
|
175
|
+
folderName: 'Style Guide'
|
|
176
|
+
};
|
|
177
|
+
}
|