@zohodesk/components 1.0.0-temp-38 → 1.0.0-temp-42

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.
Files changed (280) hide show
  1. package/README.md +68 -20
  2. package/es/AppContainer/AppContainer.js +47 -6
  3. package/es/Appearance/dark/mode/darkMode.module.css +355 -402
  4. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  5. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -30
  6. package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  7. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -29
  8. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  9. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -29
  10. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  11. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -29
  12. package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  13. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -29
  14. package/es/Appearance/default/mode/defaultMode.module.css +356 -403
  15. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  16. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -30
  17. package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  18. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -29
  19. package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  20. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -29
  21. package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  22. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -29
  23. package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  24. package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -29
  25. package/es/Button/Button.module.css +7 -7
  26. package/es/ListItem/ListItemWithAvatar.js +11 -3
  27. package/es/ListItem/ListItemWithIcon.js +12 -4
  28. package/es/MultiSelect/AdvancedMultiSelect.js +21 -9
  29. package/es/MultiSelect/MultiSelect.js +9 -2
  30. package/es/MultiSelect/Suggestions.js +11 -2
  31. package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +18 -3
  32. package/es/Provider/Config.js +2 -1
  33. package/es/Provider.js +8 -2
  34. package/es/Responsive/ResizeComponent.js +1 -1
  35. package/es/Select/GroupSelect.js +4 -4
  36. package/es/Select/Select.js +51 -10
  37. package/es/Select/docs/Select__default.docs.js +79 -0
  38. package/es/Stencils/Stencils.js +1 -1
  39. package/es/Tab/Tabs.js +14 -2
  40. package/es/Tag/Tag.module.css +1 -0
  41. package/es/TextBox/TextBox.js +7 -4
  42. package/es/TextBoxIcon/TextBoxIcon.js +13 -4
  43. package/es/common/animation.module.css +12 -0
  44. package/es/utils/Common.js +1 -1
  45. package/es/utils/ContextOptimizer.js +1 -1
  46. package/es/utils/dropDownUtils.js +12 -5
  47. package/es/utils/shallowEqual.js +32 -0
  48. package/lib/Accordion/Accordion.js +3 -3
  49. package/lib/Accordion/AccordionItem.js +3 -3
  50. package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
  51. package/lib/Animation/Animation.js +3 -3
  52. package/lib/Animation/docs/Animation__default.docs.js +3 -3
  53. package/lib/Animation/docs/Animation__fadeIn.docs.js +3 -3
  54. package/lib/Animation/docs/Animation__scaleIn.docs.js +3 -3
  55. package/lib/Animation/docs/Animation__skewIn.docs.js +3 -3
  56. package/lib/Animation/docs/Animation__slideDown.docs.js +3 -3
  57. package/lib/Animation/docs/Animation__slideLeft.docs.js +3 -3
  58. package/lib/Animation/docs/Animation__zoomIn.docs.js +3 -3
  59. package/lib/AppContainer/AppContainer.js +59 -10
  60. package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
  61. package/lib/Appearance/dark/mode/darkMode.module.css +355 -402
  62. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  63. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -30
  64. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  65. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -29
  66. package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  67. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -29
  68. package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  69. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -29
  70. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  71. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -29
  72. package/lib/Appearance/default/mode/defaultMode.module.css +356 -403
  73. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  74. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -30
  75. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  76. package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -29
  77. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  78. package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -29
  79. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  80. package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -29
  81. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  82. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -29
  83. package/lib/Avatar/Avatar.js +3 -3
  84. package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
  85. package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
  86. package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
  87. package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
  88. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  89. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
  90. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
  91. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +3 -3
  92. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
  93. package/lib/Button/Button.js +3 -3
  94. package/lib/Button/Button.module.css +7 -7
  95. package/lib/Button/docs/Button__custom.docs.js +3 -3
  96. package/lib/Button/docs/Button__default.docs.js +3 -3
  97. package/lib/Buttongroup/Buttongroup.js +3 -3
  98. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
  99. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
  100. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
  101. package/lib/Card/Card.js +3 -3
  102. package/lib/Card/__tests__/Card.spec.js +1 -1
  103. package/lib/Card/docs/Card__Custom.docs.js +3 -3
  104. package/lib/Card/docs/Card__Default.docs.js +3 -3
  105. package/lib/Card/docs/Card__Scroll.docs.js +3 -3
  106. package/lib/Card/index.js +1 -1
  107. package/lib/CheckBox/CheckBox.js +3 -3
  108. package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
  109. package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
  110. package/lib/DateTime/CalendarView.js +3 -3
  111. package/lib/DateTime/DateTime.js +3 -3
  112. package/lib/DateTime/DateTimePopupFooter.js +3 -3
  113. package/lib/DateTime/DateTimePopupHeader.js +3 -3
  114. package/lib/DateTime/DateWidget.js +3 -3
  115. package/lib/DateTime/DaysRow.js +3 -3
  116. package/lib/DateTime/Time.js +3 -3
  117. package/lib/DateTime/YearView.js +3 -3
  118. package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
  119. package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
  120. package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
  121. package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
  122. package/lib/DateTime/objectUtils.js +1 -1
  123. package/lib/DropBox/DropBox.js +3 -3
  124. package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
  125. package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
  126. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
  127. package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
  128. package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
  129. package/lib/DropDown/DropDown.js +3 -3
  130. package/lib/DropDown/DropDownHeading.js +3 -3
  131. package/lib/DropDown/DropDownItem.js +3 -3
  132. package/lib/DropDown/DropDownSearch.js +3 -3
  133. package/lib/DropDown/DropDownSeparator.js +3 -3
  134. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
  135. package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
  136. package/lib/Label/Label.js +3 -3
  137. package/lib/Label/docs/Label__clipped.docs.js +3 -3
  138. package/lib/Label/docs/Label__custom.docs.js +3 -3
  139. package/lib/Label/docs/Label__palette.docs.js +3 -3
  140. package/lib/Label/docs/Label__size.docs.js +3 -3
  141. package/lib/Label/docs/Label__type.docs.js +3 -3
  142. package/lib/Layout/docs/Layout__Hidden.docs.js +3 -3
  143. package/lib/Layout/docs/Layout__default.docs.js +3 -3
  144. package/lib/Layout/docs/Layout__four_Column.docs.js +3 -3
  145. package/lib/Layout/docs/Layout__three_Column.docs.js +3 -3
  146. package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
  147. package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
  148. package/lib/ListItem/ListItem.js +3 -3
  149. package/lib/ListItem/ListItemWithAvatar.js +12 -6
  150. package/lib/ListItem/ListItemWithCheckBox.js +3 -3
  151. package/lib/ListItem/ListItemWithIcon.js +14 -7
  152. package/lib/ListItem/ListItemWithRadio.js +3 -3
  153. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
  154. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
  155. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
  156. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
  157. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
  158. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
  159. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
  160. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
  161. package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
  162. package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
  163. package/lib/Modal/Modal.js +3 -3
  164. package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
  165. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -3
  166. package/lib/MultiSelect/AdvancedMultiSelect.js +23 -11
  167. package/lib/MultiSelect/EmptyState.js +3 -3
  168. package/lib/MultiSelect/MultiSelect.js +11 -5
  169. package/lib/MultiSelect/MultiSelectHeader.js +3 -3
  170. package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -3
  171. package/lib/MultiSelect/SelectedOptions.js +3 -3
  172. package/lib/MultiSelect/Suggestions.js +19 -5
  173. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
  174. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +21 -6
  175. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
  176. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
  177. package/lib/PopOver/PopOver.js +3 -3
  178. package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
  179. package/lib/Popup/Popup.js +3 -3
  180. package/lib/Popup/__tests__/Popup.spec.js +3 -3
  181. package/lib/Provider/Config.js +2 -1
  182. package/lib/Provider/LibraryContext.js +3 -3
  183. package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
  184. package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
  185. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
  186. package/lib/Provider.js +12 -5
  187. package/lib/Radio/Radio.js +3 -3
  188. package/lib/Radio/docs/Radio__custom.docs.js +3 -3
  189. package/lib/Radio/docs/Radio__default.docs.js +3 -3
  190. package/lib/Responsive/CustomResponsive.js +3 -3
  191. package/lib/Responsive/RefWrapper.js +1 -1
  192. package/lib/Responsive/ResizeComponent.js +4 -4
  193. package/lib/Responsive/ResizeObserver.js +1 -1
  194. package/lib/Responsive/Responsive.js +3 -3
  195. package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
  196. package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
  197. package/lib/Responsive/sizeObservers.js +4 -4
  198. package/lib/Responsive/utils/shallowCompare.js +1 -1
  199. package/lib/Ribbon/Ribbon.js +3 -3
  200. package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
  201. package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
  202. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +3 -3
  203. package/lib/Select/GroupSelect.js +6 -6
  204. package/lib/Select/Select.js +57 -15
  205. package/lib/Select/SelectWithAvatar.js +3 -3
  206. package/lib/Select/SelectWithIcon.js +3 -3
  207. package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
  208. package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
  209. package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
  210. package/lib/Select/docs/Select__default.docs.js +82 -3
  211. package/lib/Stencils/Stencils.js +6 -6
  212. package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
  213. package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
  214. package/lib/Switch/Switch.js +3 -3
  215. package/lib/Switch/docs/Switch__custom.docs.js +3 -3
  216. package/lib/Switch/docs/Switch__default.docs.js +3 -3
  217. package/lib/Tab/Tab.js +1 -1
  218. package/lib/Tab/TabWrapper.js +1 -1
  219. package/lib/Tab/Tabs.js +16 -5
  220. package/lib/Tab/docs/Tab__default.docs.js +3 -3
  221. package/lib/Tag/Tag.js +3 -3
  222. package/lib/Tag/Tag.module.css +1 -0
  223. package/lib/Tag/docs/Tag__custom.docs.js +3 -3
  224. package/lib/Tag/docs/Tag__default.docs.js +3 -3
  225. package/lib/TextBox/TextBox.js +9 -7
  226. package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
  227. package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
  228. package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
  229. package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
  230. package/lib/TextBoxIcon/TextBoxIcon.js +15 -7
  231. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
  232. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
  233. package/lib/Textarea/Textarea.js +3 -3
  234. package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
  235. package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
  236. package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
  237. package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
  238. package/lib/Tooltip/Tooltip.js +3 -3
  239. package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
  240. package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
  241. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
  242. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +3 -3
  243. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  244. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +3 -3
  245. package/lib/a11y/FocusScope/FocusScope.js +1 -1
  246. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
  247. package/lib/beta/FocusRing/FocusRing.js +3 -3
  248. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
  249. package/lib/common/animation.module.css +12 -0
  250. package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
  251. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
  252. package/lib/semantic/Button/Button.js +3 -3
  253. package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
  254. package/lib/utils/Common.js +1 -1
  255. package/lib/utils/ContextOptimizer.js +2 -2
  256. package/lib/utils/datetime/common.js +1 -1
  257. package/lib/utils/dropDownUtils.js +14 -5
  258. package/lib/utils/shallowEqual.js +41 -0
  259. package/package.json +9 -5
  260. package/preprocess/componentAppearanceColors.js +65 -0
  261. package/preprocess/componentThemeColors.js +119 -0
  262. package/preprocess/ctaThemeColors.js +95 -0
  263. package/preprocess/index.js +3 -0
  264. package/preprocess/json/componentAppearanceVariableJson.js +1515 -0
  265. package/preprocess/json/componentThemeVariableJson.js +259 -0
  266. package/preprocess/json/ctaThemeVariableJson.js +337 -0
  267. package/es/deprecated/Theme/darkTheme.module.css +0 -393
  268. package/es/deprecated/Theme/defaultTheme.module.css +0 -393
  269. package/es/deprecated/Theme/palette/darkCTAPalette.module.css +0 -116
  270. package/es/deprecated/Theme/palette/darkPalette.module.css +0 -155
  271. package/es/deprecated/Theme/palette/defaultCTAPalette.module.css +0 -116
  272. package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -155
  273. package/es/deprecated/customscroll_Old.module.css +0 -46
  274. package/lib/deprecated/Theme/darkTheme.module.css +0 -393
  275. package/lib/deprecated/Theme/defaultTheme.module.css +0 -393
  276. package/lib/deprecated/Theme/palette/darkCTAPalette.module.css +0 -116
  277. package/lib/deprecated/Theme/palette/darkPalette.module.css +0 -155
  278. package/lib/deprecated/Theme/palette/defaultCTAPalette.module.css +0 -116
  279. package/lib/deprecated/Theme/palette/defaultPalette.module.css +0 -155
  280. package/lib/deprecated/customscroll_Old.module.css +0 -46
@@ -37,6 +37,40 @@ let option = [{
37
37
  text: 'Pineapple',
38
38
  id: '10'
39
39
  }];
40
+ let customOption = [{
41
+ text: 'Apple',
42
+ id: 0,
43
+ listItemProps: {
44
+ style: {
45
+ 'color': 'red'
46
+ }
47
+ }
48
+ }, {
49
+ text: 'Banana',
50
+ id: '1',
51
+ listItemProps: {
52
+ style: {
53
+ 'color': 'orange'
54
+ }
55
+ }
56
+ }, {
57
+ text: 'Blackberries',
58
+ id: '2',
59
+ listItemProps: {
60
+ style: {
61
+ 'color': 'blue'
62
+ }
63
+ }
64
+ }, {
65
+ text: 'Guava',
66
+ id: '3'
67
+ }, {
68
+ text: 'Grapes',
69
+ id: '4'
70
+ }, {
71
+ text: 'Jackfruit',
72
+ id: '5'
73
+ }];
40
74
  export default class Select__default extends React.Component {
41
75
  constructor(props) {
42
76
  super(props);
@@ -94,6 +128,51 @@ export default class Select__default extends React.Component {
94
128
  searchBoxPlaceHolder: "Search",
95
129
  isDefaultSelectValue: false,
96
130
  isDisabled: true
131
+ }), /*#__PURE__*/React.createElement("div", null, "Custom Props"), /*#__PURE__*/React.createElement(Select, {
132
+ options: customOption,
133
+ onChange: this.handleChange,
134
+ selectedValue: value,
135
+ needSearch: true,
136
+ emptyMessage: "No matches found",
137
+ placeHolder: "PlaceHolder",
138
+ searchBoxPlaceHolder: "Search",
139
+ isDefaultSelectValue: false,
140
+ i18nKeys: {
141
+ loadingText: 'Loading',
142
+ emptyText: 'emptyText',
143
+ noMoreText: 'noMoreText',
144
+ searchEmptyText: 'searchEmptyText',
145
+ TextBoxIcon_i18n: {
146
+ clearText: 'Clear Data'
147
+ }
148
+ },
149
+ customProps: {
150
+ listItemProps: {
151
+ style: {
152
+ 'color': 'green'
153
+ }
154
+ },
155
+ TextBoxProps: {
156
+ style: {
157
+ 'color': 'brown'
158
+ }
159
+ },
160
+ DropdownSearchTextBoxProps: {
161
+ style: {
162
+ 'color': 'purple'
163
+ }
164
+ }
165
+ }
166
+ }), /*#__PURE__*/React.createElement("div", null, "Disabled"), /*#__PURE__*/React.createElement(Select, {
167
+ options: option,
168
+ onChange: this.handleChange,
169
+ selectedValue: value,
170
+ needSearch: true,
171
+ emptyMessage: "No matches found",
172
+ placeHolder: "isDisabled",
173
+ searchBoxPlaceHolder: "Search",
174
+ isDefaultSelectValue: false,
175
+ isDisabled: true
97
176
  }), /*#__PURE__*/React.createElement("div", null, "Readonly"), /*#__PURE__*/React.createElement(Select, {
98
177
  options: option,
99
178
  onChange: this.handleChange,
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
3
3
  /* eslint css-modules/no-unused-class: [2, { markAsUsed: [primary, secondary, small, default, medium, large, clarge, cmedium, cdefault, csmall] }] */
4
4
 
5
5
  import style from './Stencils.module.css';
6
- export default class Stencils extends React.Component {
6
+ export default class Stencils extends React.PureComponent {
7
7
  render() {
8
8
  let {
9
9
  shape,
package/es/Tab/Tabs.js CHANGED
@@ -266,13 +266,14 @@ class Tabs extends React.Component {
266
266
  let {
267
267
  children,
268
268
  maxTabsCount,
269
- minTabsCount
269
+ minTabsCount,
270
+ isResponsive
270
271
  } = this.props;
271
272
  let mainTabs = [],
272
273
  moreTabs = [],
273
274
  otherTabs = [];
274
275
 
275
- if (totalDimension) {
276
+ if (totalDimension && isResponsive) {
276
277
  let {
277
278
  childType,
278
279
  selectedTab
@@ -318,6 +319,17 @@ class Tabs extends React.Component {
318
319
  mainTabs = newTabs; */
319
320
  this.setMaxDim(totalDimension);
320
321
  }
322
+ } else if (!isResponsive) {
323
+ let {
324
+ childType
325
+ } = this.props;
326
+ React.Children.forEach(children, child => {
327
+ if (child && child.type === childType && child.props.id) {
328
+ mainTabs.push(child);
329
+ } else {
330
+ otherTabs.push(child);
331
+ }
332
+ });
321
333
  } else {
322
334
  moreTabs = children;
323
335
  }
@@ -230,6 +230,7 @@
230
230
  }
231
231
  .dark:hover {
232
232
  --tag_bg_color: var(--zdt_tag_dark_hover_bg);
233
+ --tag_text_color: var(--zdt_tag_dark_hover_text);
233
234
  }
234
235
  .darkTagClose {
235
236
  --tag_closeicon_bg_color: var(--zdt_tag_dark_close_bg);
@@ -92,7 +92,8 @@ export default class Textbox extends React.PureComponent {
92
92
  htmlId,
93
93
  a11y,
94
94
  customClass,
95
- isFocus
95
+ isFocus,
96
+ customProps
96
97
  } = this.props;
97
98
  let {
98
99
  ariaLabel,
@@ -162,7 +163,7 @@ export default class Textbox extends React.PureComponent {
162
163
  value: value,
163
164
  onKeyPress: onKeyPress,
164
165
  onMouseDown: onMouseDown
165
- }, options));
166
+ }, options, customProps));
166
167
  }
167
168
 
168
169
  }
@@ -182,7 +183,8 @@ Textbox.defaultProps = {
182
183
  autoComplete: true,
183
184
  borderColor: 'default',
184
185
  a11y: {},
185
- isFocus: false
186
+ isFocus: false,
187
+ customProps: {}
186
188
  };
187
189
  Textbox.propTypes = {
188
190
  autofocus: PropTypes.bool,
@@ -233,7 +235,8 @@ Textbox.propTypes = {
233
235
  ariaReadonly: PropTypes.bool,
234
236
  ariaMultiselectable: PropTypes.bool
235
237
  }),
236
- isFocus: PropTypes.bool
238
+ isFocus: PropTypes.bool,
239
+ customProps: PropTypes.object
237
240
  };
238
241
 
239
242
  if (false) {
@@ -79,7 +79,8 @@ export default class TextBoxIcon extends React.Component {
79
79
  customClass,
80
80
  iconOnHover,
81
81
  isFocus,
82
- onClearMouseDown
82
+ onClearMouseDown,
83
+ customProps
83
84
  } = this.props;
84
85
  const {
85
86
  isActive
@@ -93,6 +94,9 @@ export default class TextBoxIcon extends React.Component {
93
94
  const {
94
95
  clearText = 'Clear'
95
96
  } = i18nKeys;
97
+ let {
98
+ TextBoxProps = {}
99
+ } = customProps;
96
100
  return /*#__PURE__*/React.createElement(Container, {
97
101
  alignBox: "row",
98
102
  isCover: false,
@@ -125,7 +129,8 @@ export default class TextBoxIcon extends React.Component {
125
129
  onKeyPress: onKeyPress,
126
130
  onMouseDown: onMouseDown,
127
131
  needBorder: false,
128
- customClass: customTextBox
132
+ customClass: customTextBox,
133
+ customProps: TextBoxProps
129
134
  }))), /*#__PURE__*/React.createElement(Box, {
130
135
  className: `${style.iconContainer} ${customTBoxIcon}`
131
136
  }, /*#__PURE__*/React.createElement(Container, {
@@ -169,7 +174,8 @@ TextBoxIcon.defaultProps = {
169
174
  i18nKeys: {},
170
175
  customClass: {},
171
176
  iconOnHover: false,
172
- isFocus: false
177
+ isFocus: false,
178
+ customProps: {}
173
179
  };
174
180
  TextBoxIcon.propTypes = {
175
181
  borderColor: PropTypes.oneOf(['transparent', 'default', 'error']),
@@ -214,7 +220,10 @@ TextBoxIcon.propTypes = {
214
220
  }),
215
221
  iconOnHover: PropTypes.bool,
216
222
  isFocus: PropTypes.bool,
217
- onClearMouseDown: PropTypes.func
223
+ onClearMouseDown: PropTypes.func,
224
+ customProps: PropTypes.shape({
225
+ TextBoxProps: PropTypes.object
226
+ })
218
227
  };
219
228
 
220
229
  if (false) {
@@ -21,6 +21,18 @@
21
21
  -webkit-animation-iteration-count: infinite;
22
22
  -ms-animation-iteration-count: infinite;
23
23
  }
24
+ [dir=ltr] .both {
25
+ animation-fill-mode: both;
26
+ -webkit-animation-fill-mode: both;
27
+ -ms-animation-fill-mode: both;
28
+ -moz-animation-fill-mode: both;
29
+ }
30
+ [dir=rtl] .both {
31
+ animation-fill-mode: both;
32
+ -webkit-animation-fill-mode: both;
33
+ -ms-animation-fill-mode: both;
34
+ -moz-animation-fill-mode: both;
35
+ }
24
36
  .fadeIn {
25
37
  opacity: 0;
26
38
  }
@@ -365,5 +365,5 @@ export function getElementSpace(elementRef) {
365
365
  }
366
366
  export function getSearchString() {
367
367
  let charachers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
368
- return charachers.toLowerCase(); //.replace(/\s+/g, '');
368
+ return (charachers || '').toString().toLowerCase(); //.replace(/\s+/g, '');
369
369
  }
@@ -1,7 +1,7 @@
1
1
  /** ** Libraries *** */
2
2
  import { useContext, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { shallowEqual } from 'react-redux'; // Please use this component with children as inline function for force this components rerender when parent rerender regardless of reason
4
+ import shallowEqual from './shallowEqual'; // Please use this component with children as inline function for force this components rerender when parent rerender regardless of reason
5
5
  // Because below componends only rerender when children or calculation are changed, unless no changes will update below
6
6
  // this component logic based on return same children reference to stop rerender.
7
7
  // Think before change logic
@@ -1,6 +1,6 @@
1
1
  /***** Libraries *****/
2
2
  import { createSelector } from 'reselect';
3
- import { getIsEmptyValue } from './Common';
3
+ import { getIsEmptyValue, getSearchString } from './Common';
4
4
  export const dummyArray = [];
5
5
  export const dummyObj = {};
6
6
  export const getOptions = props => props.options || dummyArray;
@@ -36,6 +36,8 @@ const getIsStartWithSearch = props => props.isStartsWithSearch;
36
36
 
37
37
  const getDisabledOptions = props => props.disabledOptions || dummyArray;
38
38
 
39
+ const getListItemProps = props => props.listItemProps || '';
40
+
39
41
  export const makeGetMultiSelectFilterSuggestions = () => createSelector([getOptions, getSelectedOptionsSel, getSearchStr, getNeedSearch, getIsStartWithSearch], (options, selectedOptions, searchStr, needSearch, isStartsWithSearch) => {
40
42
  const suggestions = [];
41
43
  const suggestionIds = [];
@@ -44,8 +46,8 @@ export const makeGetMultiSelectFilterSuggestions = () => createSelector([getOpti
44
46
  id,
45
47
  value = ''
46
48
  } = option;
47
- const valueString = value.toLowerCase();
48
- const searchString = searchStr.toLowerCase();
49
+ const valueString = getSearchString(value);
50
+ const searchString = getSearchString(searchStr);
49
51
  const isMatch = needSearch ? isStartsWithSearch ? valueString.startsWith(searchString) : valueString.indexOf(searchString) !== -1 : true;
50
52
 
51
53
  if (selectedOptions.indexOf(id) === -1 && isMatch) {
@@ -100,7 +102,7 @@ export const extractOptionId = id => {
100
102
  };
101
103
  }
102
104
  };
103
- export const makeFormatOptions = () => createSelector([getOptions, getValueField, getTextField, getImageField, getPrefixText, getIconName, getIconSize, getOptionType, getDisabledOptions], (options, valueField, textField, imageField, prefixText, iconName, iconSize, optionType, disabledOptions) => {
105
+ export const makeFormatOptions = () => createSelector([getOptions, getValueField, getTextField, getImageField, getPrefixText, getIconName, getIconSize, getOptionType, getDisabledOptions, getListItemProps], (options, valueField, textField, imageField, prefixText, iconName, iconSize, optionType, disabledOptions, listItemProps) => {
104
106
  const revampOptions = [];
105
107
  const remvampOptionIds = [];
106
108
  const normalizedAllOptions = {};
@@ -114,7 +116,8 @@ export const makeFormatOptions = () => createSelector([getOptions, getValueField
114
116
  imageField: impImageField,
115
117
  optionType: impOptionType,
116
118
  iconName: impIconName,
117
- iconSize: impIconSize
119
+ iconSize: impIconSize,
120
+ listItemProps: listStyle
118
121
  } = option;
119
122
  let id = typeof option === 'object' ? option[impValueField || valueField] : option;
120
123
  const value = typeof option === 'object' ? option[impTextField || textField] : option;
@@ -146,6 +149,10 @@ export const makeFormatOptions = () => createSelector([getOptions, getValueField
146
149
  optionDetails.isDisabled = disabledOptions.indexOf(id) >= 0;
147
150
  }
148
151
 
152
+ if (listStyle || listItemProps) {
153
+ optionDetails.listItemProps = listStyle || listItemProps;
154
+ }
155
+
149
156
  normalizedFormatOptions[id] = optionDetails;
150
157
  normalizedAllOptions[id] = option;
151
158
  revampOptions.push(optionDetails);
@@ -0,0 +1,32 @@
1
+ function is(x, y) {
2
+ if (x === y) {
3
+ return x !== 0 || y !== 0 || 1 / x === 1 / y;
4
+ } else {
5
+ return x !== x && y !== y;
6
+ }
7
+ }
8
+
9
+ export default function shallowEqual(objA, objB) {
10
+ if (is(objA, objB)) {
11
+ return true;
12
+ }
13
+
14
+ if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
15
+ return false;
16
+ }
17
+
18
+ const keysA = Object.keys(objA);
19
+ const keysB = Object.keys(objB);
20
+
21
+ if (keysA.length !== keysB.length) {
22
+ return false;
23
+ }
24
+
25
+ for (let i = 0; i < keysA.length; i++) {
26
+ if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
27
+ return false;
28
+ }
29
+ }
30
+
31
+ return true;
32
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -17,9 +17,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
17
17
 
18
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
19
 
20
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
22
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
23
 
24
24
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
25
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -19,9 +19,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
19
19
 
20
20
  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); } }
21
21
 
22
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
22
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
23
23
 
24
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
24
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
25
 
26
26
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29