@zohodesk/dot 1.0.0-beta.239 → 1.0.0-beta.240

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 (547) hide show
  1. package/README.md +1166 -1159
  2. package/dubFinder.js +96 -96
  3. package/es/ActionButton/ActionButton.module.css +136 -136
  4. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  5. package/es/Attachment/Attachment.module.css +157 -157
  6. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -354
  7. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  8. package/es/Drawer/Drawer.js +12 -3
  9. package/es/Drawer/Drawer.module.css +151 -151
  10. package/es/ExternalLink/ExternalLink.js +0 -0
  11. package/es/ExternalLink/ExternalLink.module.css +3 -3
  12. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  13. package/es/FlipCard/FlipCard.module.css +44 -44
  14. package/es/FormAction/FormAction.module.css +82 -82
  15. package/es/FreezeLayer/FreezeLayer.module.css +42 -42
  16. package/es/IconButton/IconButton.module.css +22 -22
  17. package/es/Image/Image.module.css +10 -10
  18. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  19. package/es/Link/Link.js +6 -3
  20. package/es/Link/Link.module.css +3 -3
  21. package/es/Loader/Loader.module.css +46 -46
  22. package/es/Message/Message.module.css +102 -102
  23. package/es/MessageBanner/MessageBanner.module.css +46 -46
  24. package/es/NewStar/NewStar.module.css +110 -110
  25. package/es/PlusIcon/PlusIcon.js +0 -0
  26. package/es/PlusIcon/PlusIcon.module.css +16 -16
  27. package/es/ToastMessage/ToastMessage.js +0 -0
  28. package/es/ToastMessage/ToastMessage.module.css +328 -328
  29. package/es/Upload/Upload.module.css +125 -125
  30. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  31. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  32. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  33. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  34. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  35. package/es/avatar/AvatarStatus/AvatarStatus.js +4 -1
  36. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  37. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  38. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  39. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  40. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  41. package/es/common/dot_animation.module.css +26 -26
  42. package/es/common/dot_common.module.css +3 -3
  43. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  44. package/es/deprecated/utils/KeyboardApi.js +25 -25
  45. package/es/docs/formDocs.js +15 -15
  46. package/es/docs/generalDocs.js +104 -73
  47. package/es/docs/lookupDocs.js +25 -20
  48. package/es/docs/setupDocs.js +14 -11
  49. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  50. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  51. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  52. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  53. package/es/errorstate/EmptyStates.module.css +87 -87
  54. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  55. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  56. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  57. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  58. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  59. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  60. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  61. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  62. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  63. package/es/form/fields/DateField/DateField.js +8 -2
  64. package/es/form/fields/Fields.module.css +183 -183
  65. package/es/form/fields/MultiSelectField/MultiSelectField.js +3 -1
  66. package/es/form/fields/SelectField/SelectField.js +8 -3
  67. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  68. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  69. package/es/form/fields/TextBoxField/TextBoxField.js +8 -2
  70. package/es/form/fields/TextEditor/TextEditor.module.css +666 -666
  71. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  72. package/es/form/fields/TextareaField/TextareaField.js +5 -1
  73. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  74. package/es/form/layout/Field/Field.js +0 -0
  75. package/es/form/layout/Field/Field.module.css +22 -22
  76. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  77. package/es/form/layout/Section/Section.js +0 -0
  78. package/es/index.js +3 -4
  79. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  80. package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -146
  81. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  82. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  83. package/es/list/Comment/Comment.js +4 -1
  84. package/es/list/Comment/Comment.module.css +29 -29
  85. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  86. package/es/list/Dot/Dot.module.css +15 -15
  87. package/es/list/DotNew/DotNew.module.css +22 -22
  88. package/es/list/GridStencils/GridStencils.module.css +146 -146
  89. package/es/list/Icons/Icons.module.css +16 -16
  90. package/es/list/ListLayout/ListLayout.module.css +57 -57
  91. package/es/list/ListStencils/ListStencils.module.css +67 -67
  92. package/es/list/SecondaryText/AccountName.js +3 -1
  93. package/es/list/SecondaryText/ContactName.js +5 -2
  94. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  95. package/es/list/SecondaryText/Website.js +0 -0
  96. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  97. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  98. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  99. package/es/list/Subject/Subject.module.css +27 -27
  100. package/es/list/TagNew/TagNew.module.css +115 -115
  101. package/es/list/Thread/Thread.js +4 -1
  102. package/es/list/Thread/Thread.module.css +42 -42
  103. package/es/list/UserTime/UserTime.js +3 -1
  104. package/es/list/UserTime/UserTime.module.css +58 -58
  105. package/es/list/listCommon.module.css +60 -60
  106. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  107. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  108. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
  109. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  110. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  111. package/es/lookup/Lookup/Lookup.js +0 -0
  112. package/es/lookup/Lookup/Lookup.module.css +26 -26
  113. package/es/lookup/Section/LookupSection.module.css +8 -8
  114. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  115. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  116. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  117. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  118. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  119. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  120. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  121. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  122. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  123. package/es/setup/header/Search/Search.module.css +68 -68
  124. package/es/setup/header/Views/Views.module.css +37 -37
  125. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  126. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  127. package/es/setup/helptips/Link/Link.js +0 -0
  128. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  129. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  130. package/es/setup/helptips/Title/Title.js +0 -0
  131. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  132. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  133. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  134. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  135. package/es/setup/table/Text/TableText.module.css +37 -37
  136. package/es/setup/table/Text/Text.js +0 -0
  137. package/es/svg/PlusIcon.js +1 -1
  138. package/es/svg/SnippetIcon.js +2 -2
  139. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  140. package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -124
  141. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  142. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  143. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  144. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  145. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  146. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
  147. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  148. package/lib/ActionButton/ActionButton.module.css +136 -136
  149. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  150. package/lib/Attachment/Attachment.module.css +157 -157
  151. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -354
  152. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  153. package/lib/Drawer/Drawer.js +12 -3
  154. package/lib/Drawer/Drawer.module.css +151 -151
  155. package/lib/ExternalLink/ExternalLink.js +0 -0
  156. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  157. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  158. package/lib/FlipCard/FlipCard.module.css +44 -44
  159. package/lib/FormAction/FormAction.module.css +82 -82
  160. package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
  161. package/lib/IconButton/IconButton.module.css +22 -22
  162. package/lib/Image/Image.module.css +10 -10
  163. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  164. package/lib/Link/Link.js +6 -3
  165. package/lib/Link/Link.module.css +3 -3
  166. package/lib/Loader/Loader.module.css +46 -46
  167. package/lib/Message/Message.module.css +102 -102
  168. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  169. package/lib/NewStar/NewStar.module.css +110 -110
  170. package/lib/PlusIcon/PlusIcon.js +0 -0
  171. package/lib/PlusIcon/PlusIcon.module.css +16 -16
  172. package/lib/ToastMessage/ToastMessage.js +0 -0
  173. package/lib/ToastMessage/ToastMessage.module.css +328 -328
  174. package/lib/Upload/Upload.module.css +125 -125
  175. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  176. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  177. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  178. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  179. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  180. package/lib/avatar/AvatarStatus/AvatarStatus.js +4 -1
  181. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  182. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  183. package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
  184. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  185. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  186. package/lib/common/dot_animation.module.css +26 -26
  187. package/lib/common/dot_common.module.css +3 -3
  188. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  189. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  190. package/lib/docs/formDocs.js +0 -105
  191. package/lib/docs/generalDocs.js +0 -511
  192. package/lib/docs/lookupDocs.js +0 -133
  193. package/lib/docs/setupDocs.js +0 -77
  194. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  195. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  196. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  197. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  198. package/lib/errorstate/EmptyStates.module.css +87 -87
  199. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  200. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  201. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  202. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  203. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  204. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  205. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  206. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  207. package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  208. package/lib/form/fields/DateField/DateField.js +8 -2
  209. package/lib/form/fields/Fields.module.css +183 -183
  210. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -1
  211. package/lib/form/fields/SelectField/SelectField.js +8 -3
  212. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  213. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  214. package/lib/form/fields/TextBoxField/TextBoxField.js +8 -2
  215. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -666
  216. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  217. package/lib/form/fields/TextareaField/TextareaField.js +5 -1
  218. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  219. package/lib/form/layout/Field/Field.js +0 -0
  220. package/lib/form/layout/Field/Field.module.css +22 -22
  221. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  222. package/lib/form/layout/Section/Section.js +0 -0
  223. package/lib/index.js +1 -40
  224. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  225. package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -146
  226. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  227. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  228. package/lib/list/Comment/Comment.js +4 -1
  229. package/lib/list/Comment/Comment.module.css +29 -29
  230. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  231. package/lib/list/Dot/Dot.module.css +15 -15
  232. package/lib/list/DotNew/DotNew.module.css +22 -22
  233. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  234. package/lib/list/Icons/Icons.module.css +16 -16
  235. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  236. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  237. package/lib/list/SecondaryText/AccountName.js +3 -1
  238. package/lib/list/SecondaryText/ContactName.js +5 -2
  239. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  240. package/lib/list/SecondaryText/Website.js +0 -0
  241. package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
  242. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  243. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  244. package/lib/list/Subject/Subject.module.css +27 -27
  245. package/lib/list/TagNew/TagNew.module.css +115 -115
  246. package/lib/list/Thread/Thread.js +4 -1
  247. package/lib/list/Thread/Thread.module.css +42 -42
  248. package/lib/list/UserTime/UserTime.js +3 -1
  249. package/lib/list/UserTime/UserTime.module.css +58 -58
  250. package/lib/list/listCommon.module.css +60 -60
  251. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  252. package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
  253. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
  254. package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
  255. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  256. package/lib/lookup/Lookup/Lookup.js +0 -0
  257. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  258. package/lib/lookup/Section/LookupSection.module.css +8 -8
  259. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  260. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  261. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  262. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  263. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  264. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  265. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  266. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  267. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  268. package/lib/setup/header/Search/Search.module.css +68 -68
  269. package/lib/setup/header/Views/Views.module.css +37 -37
  270. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  271. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  272. package/lib/setup/helptips/Link/Link.js +0 -0
  273. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  274. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  275. package/lib/setup/helptips/Title/Title.js +0 -0
  276. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  277. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  278. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  279. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  280. package/lib/setup/table/Text/TableText.module.css +37 -37
  281. package/lib/setup/table/Text/Text.js +0 -0
  282. package/lib/svg/PlusIcon.js +1 -1
  283. package/lib/svg/SnippetIcon.js +2 -2
  284. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  285. package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -124
  286. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  287. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  288. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  289. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  290. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  291. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
  292. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  293. package/package.json +91 -91
  294. package/es/ActionButton/docs/ActionButton__default.docs.js +0 -142
  295. package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -31
  296. package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -39
  297. package/es/Attachment/docs/Attachment__default.docs.js +0 -52
  298. package/es/AttachmentViewer/docs/AttachmentViewer__default.docs.js +0 -68
  299. package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -54
  300. package/es/Drawer/docs/Drawer__default.docs.js +0 -81
  301. package/es/Drawer/docs/Drawer__multiDrawer.docs.js +0 -103
  302. package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -17
  303. package/es/Drawer/docs/Drawer__withModal.docs.js +0 -68
  304. package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -17
  305. package/es/FlipCard/docs/FlipCard__default.docs.js +0 -63
  306. package/es/FormAction/docs/FormAction__default.docs.js +0 -70
  307. package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -47
  308. package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -44
  309. package/es/IconButton/docs/IconButton__default.docs.js +0 -217
  310. package/es/Image/docs/Image__default.docs.js +0 -20
  311. package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -19
  312. package/es/Link/docs/Link__default.docs.js +0 -32
  313. package/es/Loader/docs/Loader__default.docs.js +0 -20
  314. package/es/Message/docs/Message__default.docs.js +0 -52
  315. package/es/MessageBanner/docs/MessageBanner__default.docs.js +0 -85
  316. package/es/NewStar/docs/NewStar__default.docs.js +0 -60
  317. package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -14
  318. package/es/Provider.js +0 -147
  319. package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -85
  320. package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -52
  321. package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -122
  322. package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -35
  323. package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -59
  324. package/es/Upload/docs/Upload__default.docs.js +0 -59
  325. package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -60
  326. package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -126
  327. package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -23
  328. package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -32
  329. package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -37
  330. package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -43
  331. package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -32
  332. package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -50
  333. package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -163
  334. package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -170
  335. package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -21
  336. package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
  337. package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -224
  338. package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -105
  339. package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -19
  340. package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -17
  341. package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -15
  342. package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -17
  343. package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -18
  344. package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -17
  345. package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -17
  346. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -18
  347. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -17
  348. package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -19
  349. package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -34
  350. package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +0 -33
  351. package/es/form/fields/DateField/docs/DateField__default.docs.js +0 -29
  352. package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +0 -43
  353. package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -51
  354. package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -23
  355. package/es/form/fields/SelectField/docs/SelectField__default.docs.js +0 -61
  356. package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -72
  357. package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -79
  358. package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -66
  359. package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -46
  360. package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -30
  361. package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -55
  362. package/es/form/layout/Field/docs/Field__default.docs.js +0 -22
  363. package/es/form/layout/Section/docs/Section__default.docs.js +0 -18
  364. package/es/i18n.js +0 -4349
  365. package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -26
  366. package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -63
  367. package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -97
  368. package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -16
  369. package/es/list/Comment/docs/Comment__default.docs.js +0 -23
  370. package/es/list/DotNew/docs/DotNew__default.docs.js +0 -17
  371. package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -32
  372. package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -22
  373. package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -56
  374. package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -17
  375. package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +0 -111
  376. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
  377. package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -77
  378. package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -16
  379. package/es/list/Subject/docs/Subject__default.docs.js +0 -41
  380. package/es/list/TagNew/docs/TagNew__default.docs.js +0 -20
  381. package/es/list/Thread/docs/Thread__default.docs.js +0 -19
  382. package/es/list/UserTime/docs/UserTime__default.docs.js +0 -144
  383. package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -125
  384. package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -26
  385. package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -18
  386. package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -18
  387. package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -15
  388. package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -18
  389. package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -186
  390. package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -62
  391. package/es/lookup/header/Close/docs/Close__default.docs.js +0 -16
  392. package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -47
  393. package/es/lookup/header/Search/docs/Search__default.docs.js +0 -119
  394. package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -78
  395. package/es/lookup/header/Title/docs/Title__default.docs.js +0 -18
  396. package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -71
  397. package/es/setup/header/Button/docs/Button__default.docs.js +0 -19
  398. package/es/setup/header/Link/docs/Link__default.docs.js +0 -20
  399. package/es/setup/header/Search/docs/Search__default.docs.js +0 -38
  400. package/es/setup/header/Views/docs/Views__default.docs.js +0 -21
  401. package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -23
  402. package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -24
  403. package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -27
  404. package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -23
  405. package/es/setup/table/Table/docs/Table__default.docs.js +0 -176
  406. package/es/setup/table/Text/docs/Text__default.docs.js +0 -33
  407. package/es/svg/docs/SVG__default.docs.js +0 -47
  408. package/es/version2/AlertClose/docs/AlertClose__default.docs.js +0 -44
  409. package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -92
  410. package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -135
  411. package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -16
  412. package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -18
  413. package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -26
  414. package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -16
  415. package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -18
  416. package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -16
  417. package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -53
  418. package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -150
  419. package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -89
  420. package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -54
  421. package/lib/ActionButton/docs/ActionButton__default.docs.js +0 -176
  422. package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -58
  423. package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -66
  424. package/lib/Attachment/docs/Attachment__default.docs.js +0 -81
  425. package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +0 -99
  426. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -86
  427. package/lib/Drawer/docs/Drawer__default.docs.js +0 -116
  428. package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +0 -144
  429. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -43
  430. package/lib/Drawer/docs/Drawer__withModal.docs.js +0 -103
  431. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -45
  432. package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -94
  433. package/lib/FormAction/docs/FormAction__default.docs.js +0 -101
  434. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -77
  435. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -74
  436. package/lib/IconButton/docs/IconButton__default.docs.js +0 -248
  437. package/lib/Image/docs/Image__default.docs.js +0 -51
  438. package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -45
  439. package/lib/Link/docs/Link__default.docs.js +0 -66
  440. package/lib/Loader/docs/Loader__default.docs.js +0 -46
  441. package/lib/Message/docs/Message__default.docs.js +0 -78
  442. package/lib/MessageBanner/docs/MessageBanner__default.docs.js +0 -109
  443. package/lib/NewStar/docs/NewStar__default.docs.js +0 -89
  444. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -45
  445. package/lib/Provider.js +0 -169
  446. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -123
  447. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -83
  448. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -150
  449. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -66
  450. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -90
  451. package/lib/Upload/docs/Upload__default.docs.js +0 -88
  452. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -88
  453. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -162
  454. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -49
  455. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -58
  456. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -69
  457. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -73
  458. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -64
  459. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -79
  460. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -191
  461. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -198
  462. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -49
  463. package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -57
  464. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -254
  465. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -141
  466. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -50
  467. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -46
  468. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -44
  469. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -46
  470. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -47
  471. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -46
  472. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -46
  473. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -47
  474. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -46
  475. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -48
  476. package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -62
  477. package/lib/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +0 -61
  478. package/lib/form/fields/DateField/docs/DateField__default.docs.js +0 -57
  479. package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +0 -79
  480. package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -81
  481. package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -51
  482. package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +0 -91
  483. package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -102
  484. package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -89
  485. package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -102
  486. package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -75
  487. package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -58
  488. package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -81
  489. package/lib/form/layout/Field/docs/Field__default.docs.js +0 -50
  490. package/lib/form/layout/Section/docs/Section__default.docs.js +0 -46
  491. package/lib/i18n.js +0 -3413
  492. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -56
  493. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -93
  494. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -125
  495. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -42
  496. package/lib/list/Comment/docs/Comment__default.docs.js +0 -51
  497. package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -45
  498. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -60
  499. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -53
  500. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -86
  501. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -45
  502. package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +0 -138
  503. package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
  504. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -105
  505. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -42
  506. package/lib/list/Subject/docs/Subject__default.docs.js +0 -69
  507. package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -48
  508. package/lib/list/Thread/docs/Thread__default.docs.js +0 -47
  509. package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -162
  510. package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -155
  511. package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -55
  512. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -46
  513. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -46
  514. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -43
  515. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -46
  516. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -219
  517. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -94
  518. package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -44
  519. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -74
  520. package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -149
  521. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -108
  522. package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -46
  523. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -96
  524. package/lib/setup/header/Button/docs/Button__default.docs.js +0 -45
  525. package/lib/setup/header/Link/docs/Link__default.docs.js +0 -46
  526. package/lib/setup/header/Search/docs/Search__default.docs.js +0 -67
  527. package/lib/setup/header/Views/docs/Views__default.docs.js +0 -47
  528. package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -49
  529. package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -50
  530. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -53
  531. package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -49
  532. package/lib/setup/table/Table/docs/Table__default.docs.js +0 -208
  533. package/lib/setup/table/Text/docs/Text__default.docs.js +0 -62
  534. package/lib/svg/docs/SVG__default.docs.js +0 -76
  535. package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +0 -72
  536. package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -119
  537. package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -163
  538. package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -45
  539. package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -47
  540. package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -56
  541. package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -45
  542. package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -47
  543. package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -45
  544. package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -81
  545. package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -186
  546. package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -117
  547. package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -82
@@ -1,219 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _propTypes = _interopRequireDefault(require("prop-types"));
10
- var _Modal = _interopRequireDefault(require("@zohodesk/components/lib/Modal/Modal"));
11
- var _General = require("../../../utils/General");
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
- 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); } }
17
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
18
- 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); }
19
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
20
- 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); }; }
21
- 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); }
22
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
23
- 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; } }
24
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
25
- var contacts = {
26
- id_1: {
27
- firstName: 'Antro Arul ',
28
- lastName: 'Xavier',
29
- src: null,
30
- email: 'antro.j@zohocorp.com',
31
- mobile: '9600745911',
32
- accountId: '1236',
33
- account: {
34
- accountName: 'Zoho Desk'
35
- },
36
- id: 'id_1',
37
- secondaryEmail: 'antro.j+1@zohocorp.com',
38
- phoneNo: '9600745912'
39
- },
40
- id_2: {
41
- firstName: 'Ujil Axper',
42
- email: null,
43
- mobile: null,
44
- id: 'id_2',
45
- secondaryEmail: '',
46
- phone: '9600745912'
47
- },
48
- id_3: {
49
- lastName: 'Selva Kumar PL',
50
- email: '',
51
- mobile: null,
52
- accountId: '1235',
53
- account: {
54
- accountName: 'My Account'
55
- },
56
- id: 'id_3',
57
- secondaryEmail: 'selva.kumar+1@zohocorp.com',
58
- phone: '9600745912'
59
- },
60
- id_4: {
61
- firstName: 'Arun Kumar M',
62
- email: 'arun.kumar@zohocorp.com',
63
- mobile: '9089765342',
64
- accountId: '1234',
65
- account: {
66
- accountName: 'Zoho CRM'
67
- },
68
- id: 'id_4',
69
- secondaryEmail: '',
70
- phone: ''
71
- },
72
- id_5: {
73
- lastName: 'Ravikumar Selvam',
74
- email: '',
75
- mobile: '8765432910',
76
- accountName: {},
77
- id: 'id_5',
78
- secondaryEmail: '',
79
- phone: ''
80
- }
81
- };
82
- var accounts = {
83
- '1234': {
84
- accountName: 'Zoho CRM'
85
- },
86
- '1235': {
87
- accountName: 'My Account'
88
- },
89
- '1236': {
90
- accountName: 'Zoho Desk'
91
- }
92
- };
93
- var Lookup__contact = /*#__PURE__*/function (_Component) {
94
- _inherits(Lookup__contact, _Component);
95
- var _super = _createSuper(Lookup__contact);
96
- function Lookup__contact(props) {
97
- var _this;
98
- _classCallCheck(this, Lookup__contact);
99
- _this = _super.call(this, props);
100
- _this.state = {
101
- value: '',
102
- selected: '',
103
- searchStr: '',
104
- isShowAlert: false
105
- };
106
- _this.handleLookupShow = _this.handleLookupShow.bind(_assertThisInitialized(_this));
107
- _this.handleLookupHide = _this.handleLookupHide.bind(_assertThisInitialized(_this));
108
- _this.handleSearch = _this.handleSearch.bind(_assertThisInitialized(_this));
109
- _this.handleClear = _this.handleClear.bind(_assertThisInitialized(_this));
110
- _this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
111
- _this.handleSelectStartsWith = _this.handleSelectStartsWith.bind(_assertThisInitialized(_this));
112
- _this.handleSearchAPI = _this.handleSearchAPI.bind(_assertThisInitialized(_this));
113
- return _this;
114
- }
115
- _createClass(Lookup__contact, [{
116
- key: "handleLookupShow",
117
- value: function handleLookupShow() {
118
- this.setState({
119
- isShowAlert: true
120
- });
121
- }
122
- }, {
123
- key: "handleLookupHide",
124
- value: function handleLookupHide() {
125
- this.setState({
126
- isShowAlert: false
127
- });
128
- }
129
- }, {
130
- key: "handleSearch",
131
- value: function handleSearch(val) {
132
- this.setState({
133
- value: val,
134
- selected: ''
135
- });
136
- }
137
- }, {
138
- key: "handleClear",
139
- value: function handleClear() {
140
- this.handleSearch('');
141
- }
142
- }, {
143
- key: "handleSelect",
144
- value: function handleSelect(id) {
145
- var onSelect = this.props.onSelect;
146
- onSelect && onSelect(id);
147
- var _contacts$id = contacts[id],
148
- _contacts$id$firstNam = _contacts$id.firstName,
149
- firstName = _contacts$id$firstNam === void 0 ? '' : _contacts$id$firstNam,
150
- _contacts$id$lastName = _contacts$id.lastName,
151
- lastName = _contacts$id$lastName === void 0 ? '' : _contacts$id$lastName;
152
- var contactName = (0, _General.getFullName)(firstName, lastName);
153
- this.setState({
154
- selected: contactName,
155
- value: ''
156
- });
157
- this.handleLookupHide();
158
- }
159
- }, {
160
- key: "handleSelectStartsWith",
161
- value: function handleSelectStartsWith(startsWith) {
162
- this.setState({
163
- selectedStartsWithChar: startsWith
164
- });
165
- }
166
- }, {
167
- key: "handleSearchAPI",
168
- value: function handleSearchAPI(val) {
169
- this.setState({
170
- searchStr: val
171
- });
172
- }
173
- }, {
174
- key: "render",
175
- value: function render() {
176
- var _this$state = this.state,
177
- value = _this$state.value,
178
- selected = _this$state.selected,
179
- selectedStartsWithChar = _this$state.selectedStartsWithChar,
180
- searchStr = _this$state.searchStr,
181
- isShowAlert = _this$state.isShowAlert;
182
- var getLookupTarget = this.props.getLookupTarget;
183
- return /*#__PURE__*/_react["default"].createElement("div", {
184
- style: {
185
- height: '90vh'
186
- }
187
- }, getLookupTarget ? getLookupTarget({
188
- onLookupShow: this.handleLookupShow
189
- }) : {
190
- /* <ContactLookupController
191
- value={value || selected}
192
- suggestionItems={['id_1', 'id_2', 'id_3', 'id_4', 'id_5']}
193
- moduleData={contacts}
194
- accounts={accounts}
195
- needClearIcon
196
- needSearchIcon
197
- needSuggestionBox
198
- onClear={this.handleClear}
199
- onChange={this.handleSearch}
200
- onSearch={this.handleLookupShow}
201
- onSelect={this.handleSelect}
202
- searchStr={searchStr}
203
- onSearchAPI={this.handleSearchAPI}
204
- />*/
205
- }, /*#__PURE__*/_react["default"].createElement(_Modal["default"], null));
206
- }
207
- }]);
208
- return Lookup__contact;
209
- }(_react.Component);
210
- exports["default"] = Lookup__contact;
211
- Lookup__contact.propTypes = {
212
- getLookupTarget: _propTypes["default"].func,
213
- onSelect: _propTypes["default"].func
214
- };
215
- if (false) {
216
- Lookup__contact.docs = {
217
- componentGroup: 'Lookup'
218
- };
219
- }
@@ -1,94 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _Lookup = _interopRequireDefault(require("../Lookup"));
10
- var _ModuleHeader = _interopRequireDefault(require("../../header/ModuleHeader/ModuleHeader"));
11
- var _Section = _interopRequireDefault(require("../../Section/Section"));
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
- 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); } }
17
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
18
- 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); }
19
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
20
- 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); }; }
21
- 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); }
22
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
23
- 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; } }
24
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
25
- var Lookup__default = /*#__PURE__*/function (_Component) {
26
- _inherits(Lookup__default, _Component);
27
- var _super = _createSuper(Lookup__default);
28
- function Lookup__default(props) {
29
- var _this;
30
- _classCallCheck(this, Lookup__default);
31
- _this = _super.call(this, props);
32
- _this.state = {
33
- isShow: false,
34
- searchStr: ''
35
- };
36
- _this.handleLookupShow = _this.handleLookupShow.bind(_assertThisInitialized(_this));
37
- _this.handleLookupHide = _this.handleLookupHide.bind(_assertThisInitialized(_this));
38
- _this.handleLookupSearch = _this.handleLookupSearch.bind(_assertThisInitialized(_this));
39
- return _this;
40
- }
41
- _createClass(Lookup__default, [{
42
- key: "handleLookupShow",
43
- value: function handleLookupShow() {
44
- this.setState({
45
- isShow: true
46
- });
47
- }
48
- }, {
49
- key: "handleLookupHide",
50
- value: function handleLookupHide() {
51
- this.setState({
52
- isShow: false
53
- });
54
- }
55
- }, {
56
- key: "handleLookupSearch",
57
- value: function handleLookupSearch(val) {
58
- this.setState({
59
- searchStr: val
60
- });
61
- }
62
- }, {
63
- key: "render",
64
- value: function render() {
65
- var _this$state = this.state,
66
- isShow = _this$state.isShow,
67
- searchStr = _this$state.searchStr;
68
- return /*#__PURE__*/_react["default"].createElement("div", {
69
- style: {
70
- height: '90vh'
71
- }
72
- }, /*#__PURE__*/_react["default"].createElement("span", {
73
- onClick: this.handleLookupShow
74
- }, "Open"), /*#__PURE__*/_react["default"].createElement(_Lookup["default"], {
75
- animationStyle: "scale",
76
- isActive: isShow
77
- }, /*#__PURE__*/_react["default"].createElement(_ModuleHeader["default"], {
78
- title: "Select Contact",
79
- needSearch: true,
80
- onLookupClose: this.handleLookupHide,
81
- onSearchChange: this.handleLookupSearch,
82
- searchStr: searchStr,
83
- searchPlaceHolder: "Search contact"
84
- }), /*#__PURE__*/_react["default"].createElement(_Section["default"], null)));
85
- }
86
- }]);
87
- return Lookup__default;
88
- }(_react.Component);
89
- exports["default"] = Lookup__default;
90
- if (false) {
91
- Lookup__default.docs = {
92
- componentGroup: 'Lookup'
93
- };
94
- }
@@ -1,44 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _propTypes = _interopRequireDefault(require("prop-types"));
10
- var _Close = _interopRequireDefault(require("../Close"));
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
- 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); } }
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
- 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); }
18
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
19
- 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); }; }
20
- 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); }
21
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
22
- 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; } }
23
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
- var Close__default = /*#__PURE__*/function (_Component) {
25
- _inherits(Close__default, _Component);
26
- var _super = _createSuper(Close__default);
27
- function Close__default(props) {
28
- _classCallCheck(this, Close__default);
29
- return _super.call(this, props);
30
- }
31
- _createClass(Close__default, [{
32
- key: "render",
33
- value: function render() {
34
- return /*#__PURE__*/_react["default"].createElement(_Close["default"], null);
35
- }
36
- }]);
37
- return Close__default;
38
- }(_react.Component);
39
- exports["default"] = Close__default;
40
- if (false) {
41
- Close__default.docs = {
42
- componentGroup: 'Lookup'
43
- };
44
- }
@@ -1,74 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _ModuleHeader = _interopRequireDefault(require("../ModuleHeader"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
14
- 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); } }
15
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
16
- 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); }
17
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
18
- 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); }; }
19
- 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); }
20
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
21
- 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; } }
22
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
23
- var ModuleHeader__default = /*#__PURE__*/function (_Component) {
24
- _inherits(ModuleHeader__default, _Component);
25
- var _super = _createSuper(ModuleHeader__default);
26
- function ModuleHeader__default(props) {
27
- var _this;
28
- _classCallCheck(this, ModuleHeader__default);
29
- _this = _super.call(this, props);
30
- _this.state = {
31
- searchStr: ''
32
- };
33
- _this.handleSearch = _this.handleSearch.bind(_assertThisInitialized(_this));
34
- return _this;
35
- }
36
- _createClass(ModuleHeader__default, [{
37
- key: "handleSearch",
38
- value: function handleSearch(value) {
39
- this.setState({
40
- searchStr: value
41
- });
42
- }
43
- }, {
44
- key: "render",
45
- value: function render() {
46
- var searchStr = this.state.searchStr;
47
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_ModuleHeader["default"], {
48
- title: "Find Duplicate",
49
- needSearch: true,
50
- searchStr: searchStr,
51
- onSearchChange: this.handleSearch,
52
- searchPlaceHolder: "Search",
53
- miniDescription: "Select a field to search for duplicate records",
54
- onLookupClose: function onLookupClose() {}
55
- }), /*#__PURE__*/_react["default"].createElement(_ModuleHeader["default"], {
56
- title: "Find Duplicate",
57
- needSearch: true,
58
- searchStr: searchStr,
59
- onSearchChange: this.handleSearch,
60
- searchPlaceHolder: "Search",
61
- miniDescription: "Select a field to search for duplicate records",
62
- onLookupClose: function onLookupClose() {},
63
- palette: "white"
64
- }));
65
- }
66
- }]);
67
- return ModuleHeader__default;
68
- }(_react.Component);
69
- exports["default"] = ModuleHeader__default;
70
- if (false) {
71
- ModuleHeader__default.docs = {
72
- componentGroup: 'Lookup'
73
- };
74
- }
@@ -1,149 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _Layout = require("@zohodesk/components/lib/Layout");
10
- var _Search = _interopRequireDefault(require("../Search"));
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
- 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); } }
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
- 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); }
18
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
19
- 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); }; }
20
- 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); }
21
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
22
- 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; } }
23
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
- var Search__default = /*#__PURE__*/function (_Component) {
25
- _inherits(Search__default, _Component);
26
- var _super = _createSuper(Search__default);
27
- function Search__default(props) {
28
- var _this;
29
- _classCallCheck(this, Search__default);
30
- _this = _super.call(this, props);
31
- _this.state = {
32
- searchStr: '',
33
- value: 'All Fields',
34
- selectedId: '1'
35
- };
36
- _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
37
- _this.onSelect = _this.onSelect.bind(_assertThisInitialized(_this));
38
- return _this;
39
- }
40
- _createClass(Search__default, [{
41
- key: "handleChange",
42
- value: function handleChange(value) {
43
- this.setState({
44
- searchStr: value
45
- });
46
- }
47
- }, {
48
- key: "onSelect",
49
- value: function onSelect(element, e) {
50
- this.setState({
51
- value: e.value,
52
- selectedId: e.id
53
- });
54
- }
55
- }, {
56
- key: "render",
57
- value: function render() {
58
- var _this$state = this.state,
59
- searchStr = _this$state.searchStr,
60
- value = _this$state.value,
61
- selectedId = _this$state.selectedId;
62
- var Obj = [{
63
- value: 'All Fields',
64
- id: '1'
65
- }, {
66
- needDivider: true
67
- }, {
68
- value: 'Conatct Name, Email, Phone',
69
- id: '2'
70
- }, {
71
- value: 'Account',
72
- id: '3'
73
- }, {
74
- value: 'Customer Place',
75
- id: '4'
76
- }, {
77
- value: 'Conatct ID',
78
- id: '5'
79
- }];
80
- var style = {
81
- width: '280px',
82
- margin: '20px'
83
- },
84
- boxStyle = {
85
- border: '1px solid #e3e6eb',
86
- padding: '15px 20px 25px',
87
- marginBottom: '10px'
88
- },
89
- titleStyle = {
90
- fontSize: '13px',
91
- paddingBottom: '25px',
92
- textTransform: 'upperCase'
93
- };
94
- return /*#__PURE__*/_react["default"].createElement("div", {
95
- style: style
96
- }, /*#__PURE__*/_react["default"].createElement("div", {
97
- style: boxStyle
98
- }, /*#__PURE__*/_react["default"].createElement("div", {
99
- style: titleStyle
100
- }, "Default"), /*#__PURE__*/_react["default"].createElement(_Search["default"], {
101
- placeHolder: "Search",
102
- onChange: this.handleChange,
103
- onSearch: function onSearch(e) {
104
- console.log(e);
105
- },
106
- searchStr: searchStr
107
- })), /*#__PURE__*/_react["default"].createElement("div", {
108
- style: boxStyle
109
- }, /*#__PURE__*/_react["default"].createElement("div", {
110
- style: titleStyle
111
- }, "Search With Options"), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
112
- alignBox: "row"
113
- }, /*#__PURE__*/_react["default"].createElement(_Search["default"], {
114
- placeHolder: "Search",
115
- onChange: this.handleChange,
116
- onSearch: function onSearch(e) {
117
- console.log(e);
118
- },
119
- searchStr: searchStr,
120
- isBoxed: true,
121
- options: Obj,
122
- value: value,
123
- selectedId: selectedId,
124
- title: value,
125
- onSelect: this.onSelect
126
- }))), /*#__PURE__*/_react["default"].createElement("div", {
127
- style: boxStyle
128
- }, /*#__PURE__*/_react["default"].createElement("div", {
129
- style: titleStyle
130
- }, "Search Icon With Box"), /*#__PURE__*/_react["default"].createElement(_Search["default"], {
131
- placeHolder: "Search",
132
- onChange: this.handleChange,
133
- onSearch: function onSearch(e) {
134
- console.log(e);
135
- },
136
- searchStr: searchStr,
137
- isBoxed: true,
138
- isSearchIconNeed: true
139
- })));
140
- }
141
- }]);
142
- return Search__default;
143
- }(_react.Component);
144
- exports["default"] = Search__default;
145
- if (false) {
146
- Search__default.docs = {
147
- componentGroup: 'Lookup'
148
- };
149
- }