@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,53 +0,0 @@
1
- import React, { Component } from 'react';
2
- import AlertHeader from '../AlertHeader';
3
- export default class AlertHeader__default extends Component {
4
- constructor(props) {
5
- super(props);
6
- }
7
- render() {
8
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AlertHeader, {
9
- title: "Delete",
10
- onClose: () => {
11
- console.log('On Lookup Close');
12
- },
13
- closeTitle: "Close Lookup"
14
- }), /*#__PURE__*/React.createElement(AlertHeader, {
15
- title: "Error",
16
- type: "error",
17
- onClose: () => {
18
- console.log('On Lookup Close');
19
- }
20
- }), /*#__PURE__*/React.createElement(AlertHeader, {
21
- title: "Info",
22
- type: "info",
23
- onClose: () => {
24
- console.log('On Lookup Close');
25
- }
26
- }), /*#__PURE__*/React.createElement(AlertHeader, {
27
- title: "Notification",
28
- type: "notification",
29
- onClose: () => {
30
- console.log('On Lookup Close');
31
- }
32
- }), /*#__PURE__*/React.createElement(AlertHeader, {
33
- title: "Warning",
34
- type: "warning",
35
- onClose: () => {
36
- console.log('On Lookup Close');
37
- }
38
- }), /*#__PURE__*/React.createElement(AlertHeader, {
39
- title: "Success",
40
- type: "success",
41
- onClose: () => {
42
- console.log('On Lookup Close');
43
- },
44
- iconSize: "14"
45
- }, "[SecondaryName]"));
46
- }
47
- }
48
- if (false) {
49
- AlertHeader__default.docs = {
50
- componentGroup: 'AlertHeader',
51
- folderName: 'Alert'
52
- };
53
- }
@@ -1,150 +0,0 @@
1
- import React, { Component } from 'react';
2
- import AlertLookup from '../AlertLookup';
3
- import Button from '@zohodesk/components/lib/Button/Button';
4
- export default class AlertLookup__default extends Component {
5
- constructor(props) {
6
- super(props);
7
- this.state = {
8
- lookup: false
9
- };
10
- this.onCancel = this.onCancel.bind(this);
11
- this.onClose = this.onClose.bind(this);
12
- this.headerChildren = this.headerChildren.bind(this);
13
- }
14
- lookupOpen(lookup) {
15
- this.setState({
16
- lookup: lookup
17
- });
18
- }
19
- onCancel() {
20
- console.log('from cancel');
21
- this.setState({
22
- lookup: false
23
- });
24
- }
25
- onClose() {
26
- console.log('from close');
27
- this.setState({
28
- lookup: false
29
- });
30
- }
31
- headerChildren() {
32
- return /*#__PURE__*/React.createElement("div", null, "Custom");
33
- }
34
- render() {
35
- let {
36
- lookup
37
- } = this.state;
38
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
39
- style: {
40
- margin: '20px'
41
- }
42
- }, /*#__PURE__*/React.createElement(Button, {
43
- text: "Delete Type Alert",
44
- palette: "dangerFilled",
45
- onClick: this.lookupOpen.bind(this, 'ticketDelete')
46
- })), /*#__PURE__*/React.createElement("div", {
47
- style: {
48
- margin: '20px'
49
- }
50
- }, /*#__PURE__*/React.createElement(Button, {
51
- text: "Remote Assist",
52
- palette: "primaryFilled",
53
- onClick: this.lookupOpen.bind(this, 'remoteAssist')
54
- })), /*#__PURE__*/React.createElement("div", {
55
- style: {
56
- margin: '20px'
57
- }
58
- }, /*#__PURE__*/React.createElement(Button, {
59
- text: "Close Type Alert",
60
- palette: "dangerFilled",
61
- onClick: this.lookupOpen.bind(this, 'ticketClose')
62
- })), /*#__PURE__*/React.createElement("div", {
63
- style: {
64
- margin: '20px'
65
- }
66
- }, /*#__PURE__*/React.createElement(Button, {
67
- text: "Custom children Type Alert",
68
- palette: "dangerFilled",
69
- onClick: this.lookupOpen.bind(this, 'customType')
70
- })), /*#__PURE__*/React.createElement("div", {
71
- style: {
72
- margin: '20px'
73
- }
74
- }, /*#__PURE__*/React.createElement(Button, {
75
- text: "Collision Alert",
76
- palette: "dangerFilled",
77
- onClick: this.lookupOpen.bind(this, 'collsionAlert')
78
- })), /*#__PURE__*/React.createElement(AlertLookup, {
79
- isActive: lookup === 'ticketDelete' ? true : false,
80
- onSubmitClick: () => {
81
- console.log('On Delete');
82
- },
83
- onCancelClick: this.onCancel,
84
- title: "Delete Ticket",
85
- message: "Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin.",
86
- confirmationMessage: "Would you like to delete?",
87
- submitText: "Delete",
88
- cancelText: "Cancel",
89
- onClose: this.onClose,
90
- onEsc: "close"
91
- }), /*#__PURE__*/React.createElement(AlertLookup, {
92
- isActive: lookup === 'remoteAssist' ? true : false,
93
- type: "info",
94
- palette: "primary",
95
- onSubmitClick: () => {
96
- console.log('On Delete');
97
- },
98
- onCancelClick: this.onCancel,
99
- title: "Remote Assist",
100
- message: /*#__PURE__*/React.createElement("div", null, "You are about to send an invite for remote assistance to", ' ', /*#__PURE__*/React.createElement("b", null, "antro.avemaxa@gmail.com")),
101
- confirmationMessage: "Would you like to continue?",
102
- submitText: "Continue",
103
- cancelText: "Cancel"
104
- }), /*#__PURE__*/React.createElement(AlertLookup, {
105
- isActive: lookup === 'ticketClose' ? true : false,
106
- type: "danger",
107
- onSubmitClick: () => {
108
- console.log('On Delete');
109
- },
110
- onCancelClick: this.onCancel,
111
- title: "Close Ticket",
112
- message: "Do you want to close this Ticket?",
113
- submitText: "Ok",
114
- cancelText: "Cancel"
115
- }), /*#__PURE__*/React.createElement(AlertLookup, {
116
- isActive: lookup === 'customType' ? true : false,
117
- type: "danger",
118
- onSubmitClick: () => {
119
- console.log('On Delete');
120
- },
121
- onCancelClick: this.onCancel,
122
- title: "Close Ticket",
123
- submitText: "Ok",
124
- cancelText: "Cancel",
125
- headerChildren: this.headerChildren
126
- }, /*#__PURE__*/React.createElement("div", null, "Custom children Type")), /*#__PURE__*/React.createElement(AlertLookup, {
127
- type: "danger",
128
- isActive: lookup === 'collsionAlert' ? true : false,
129
- onSubmitClick: () => {
130
- console.log('collsionAlert');
131
- },
132
- onCancelClick: this.onCancel,
133
- message: "Antro is already drafting a response.",
134
- confirmationMessage: "Would you still like to reply?",
135
- submitText: "Yes",
136
- cancelText: "No",
137
- onClose: this.onCancel,
138
- needIcon: false,
139
- align: "vertical",
140
- childAnimationName: "expand",
141
- scroll: "vertical"
142
- }));
143
- }
144
- }
145
- if (false) {
146
- AlertLookup__default.docs = {
147
- componentGroup: 'AlertLookup',
148
- folderName: 'Alert'
149
- };
150
- }
@@ -1,89 +0,0 @@
1
- import React, { Component } from 'react';
2
- import DesktopNotification from '../DesktopNotification';
3
- import style from '@zohodesk/components/lib/common/docStyle.module.css';
4
- export default class DesktopNotification__default extends Component {
5
- constructor(props) {
6
- super(props);
7
- }
8
- render() {
9
- return /*#__PURE__*/React.createElement("div", {
10
- className: style.m50
11
- }, /*#__PURE__*/React.createElement("div", {
12
- style: {
13
- marginBottom: '20px'
14
- }
15
- }, /*#__PURE__*/React.createElement(DesktopNotification, {
16
- type: "success",
17
- title: "Updated Successfully",
18
- info: "The Customer Insights(3) extension has been updated successfully",
19
- isAnimate: false,
20
- size: "medium",
21
- i18nKeys: {
22
- closeTitle: 'Custom Close Title'
23
- }
24
- })), /*#__PURE__*/React.createElement("div", {
25
- style: {
26
- marginBottom: '20px'
27
- }
28
- }, /*#__PURE__*/React.createElement(DesktopNotification, {
29
- type: "notification",
30
- title: "Desktop Notification",
31
- info: "Zoho Desk needs your Permission to enable desktop notification.",
32
- submitText: "SUBMIT",
33
- cancelText: "NOT NOW",
34
- isAnimate: false,
35
- size: "medium"
36
- })), /*#__PURE__*/React.createElement("div", {
37
- style: {
38
- marginBottom: '20px'
39
- }
40
- }, /*#__PURE__*/React.createElement(DesktopNotification, {
41
- type: "danger",
42
- title: "Authorization Pending",
43
- info: "Authorize your account for Zoho OAuth service to acivate this extension",
44
- submitText: "AUTHORIZE",
45
- submitType: "danger",
46
- isAnimate: false,
47
- size: "medium"
48
- })), /*#__PURE__*/React.createElement("div", {
49
- style: {
50
- marginBottom: '20px'
51
- }
52
- }, /*#__PURE__*/React.createElement(DesktopNotification, {
53
- type: "info",
54
- title: "Scheduled Call time",
55
- subTitle: "You are 13 Head of the scheduled call time.",
56
- info: "Would you like to proceed this call now?",
57
- submitText: "Yes",
58
- cancelText: "Not Now",
59
- isAnimate: false,
60
- size: "medium"
61
- })), /*#__PURE__*/React.createElement("div", {
62
- style: {
63
- marginBottom: '20px'
64
- }
65
- }, /*#__PURE__*/React.createElement(DesktopNotification, {
66
- type: "success",
67
- title: "You have started following this Ticket",
68
- titleVariant: "secondary",
69
- isAnimate: false,
70
- isShrinkView: true
71
- })), /*#__PURE__*/React.createElement("div", {
72
- style: {
73
- marginBottom: '20px'
74
- }
75
- }, /*#__PURE__*/React.createElement(DesktopNotification, {
76
- type: "danger",
77
- title: "You an integrate with either zoho cliq slack at a time. Please disable the integration with slack and try again.",
78
- titleVariant: "secondary",
79
- isAnimate: false,
80
- isShrinkView: true
81
- })));
82
- }
83
- }
84
- if (false) {
85
- DesktopNotification__default.docs = {
86
- componentGroup: 'DesktopNotification',
87
- folderName: 'Alert'
88
- };
89
- }
@@ -1,54 +0,0 @@
1
- import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
3
- import DesktopNotificationHeader from '../DesktopNotificationHeader';
4
- import style from '@zohodesk/components/lib/common/docStyle.module.css';
5
- export default class DesktopNotificationHeader__default extends Component {
6
- constructor(props) {
7
- super(props);
8
- }
9
- render() {
10
- return /*#__PURE__*/React.createElement("div", {
11
- className: style.m50
12
- }, /*#__PURE__*/React.createElement("div", {
13
- style: {
14
- width: '452px',
15
- marginBottom: '20px'
16
- }
17
- }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
18
- type: "success",
19
- title: "Updated Successfully"
20
- })), /*#__PURE__*/React.createElement("div", {
21
- style: {
22
- width: '452px',
23
- marginBottom: '20px'
24
- }
25
- }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
26
- type: "notification",
27
- title: "Desktop Notification"
28
- })), /*#__PURE__*/React.createElement("div", {
29
- style: {
30
- width: '452px',
31
- marginBottom: '20px'
32
- }
33
- }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
34
- type: "danger",
35
- title: "Authorization Pending"
36
- })), /*#__PURE__*/React.createElement("div", {
37
- style: {
38
- width: '452px',
39
- marginBottom: '20px'
40
- }
41
- }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
42
- type: "success",
43
- title: "You have started following this Ticket",
44
- variant: "secondary"
45
- })));
46
- }
47
- }
48
- DesktopNotificationHeader__default.propTypes = {};
49
- if (false) {
50
- DesktopNotificationHeader__default.docs = {
51
- componentGroup: 'DesktopNotificationHeader',
52
- folderName: 'Alert'
53
- };
54
- }
@@ -1,176 +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 = _interopRequireDefault(require("react"));
9
- var _ActionButton = _interopRequireDefault(require("../ActionButton"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
- 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); } }
13
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
- 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); }
15
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
16
- 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); }; }
17
- 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); }
18
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
19
- 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; } }
20
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
21
- var ActionButton__default = /*#__PURE__*/function (_React$Component) {
22
- _inherits(ActionButton__default, _React$Component);
23
- var _super = _createSuper(ActionButton__default);
24
- function ActionButton__default(props) {
25
- _classCallCheck(this, ActionButton__default);
26
- return _super.call(this, props);
27
- }
28
- _createClass(ActionButton__default, [{
29
- key: "render",
30
- value: function render() {
31
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
32
- style: {
33
- margin: '20px',
34
- display: 'inline-block'
35
- }
36
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
37
- text: "Reply",
38
- size: "small"
39
- })), /*#__PURE__*/_react["default"].createElement("div", {
40
- style: {
41
- margin: '20px',
42
- display: 'inline-block'
43
- }
44
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
45
- text: "Reply",
46
- size: "medium"
47
- })), /*#__PURE__*/_react["default"].createElement("div", {
48
- style: {
49
- margin: '20px',
50
- display: 'inline-block'
51
- }
52
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
53
- text: "Reply",
54
- size: "large"
55
- })), /*#__PURE__*/_react["default"].createElement("div", {
56
- style: {
57
- margin: '20px',
58
- display: 'inline-block'
59
- }
60
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
61
- text: "Reply",
62
- size: "large",
63
- isLoading: true
64
- })), /*#__PURE__*/_react["default"].createElement("div", {
65
- style: {
66
- margin: '20px',
67
- display: 'inline-block'
68
- }
69
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
70
- text: "Reply",
71
- size: "large",
72
- isLoading: true,
73
- palette: "primary"
74
- })), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
75
- style: {
76
- margin: '20px',
77
- display: 'inline-block'
78
- }
79
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
80
- iconName: "ZD-replyall",
81
- iconSize: "9",
82
- onClick: function onClick() {
83
- return '';
84
- },
85
- dropdownChildren: 'children',
86
- dropBoxPosition: "bottomRight",
87
- size: "small",
88
- isDisabled: true
89
- })), /*#__PURE__*/_react["default"].createElement("div", {
90
- style: {
91
- margin: '20px',
92
- display: 'inline-block'
93
- }
94
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
95
- text: "Reply all",
96
- iconName: "ZD-replyall",
97
- iconSize: "9",
98
- onClick: function onClick() {
99
- return '';
100
- },
101
- dropBoxPosition: "bottomRight",
102
- size: "small"
103
- }, "children")), /*#__PURE__*/_react["default"].createElement("div", {
104
- style: {
105
- margin: '20px',
106
- display: 'inline-block'
107
- }
108
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
109
- text: "Reply all",
110
- iconName: "ZD-replyall",
111
- iconSize: "9",
112
- onClick: function onClick() {
113
- return '';
114
- },
115
- dropBoxPosition: "bottomRight",
116
- size: "small",
117
- onHover: true
118
- }, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
119
- style: {
120
- margin: '20px',
121
- display: 'inline-block'
122
- }
123
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
124
- text: "Reply all",
125
- iconName: "ZD-replyall",
126
- iconSize: "9",
127
- dropBoxPosition: "bottomRight",
128
- size: "small",
129
- onHover: true
130
- }, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
131
- style: {
132
- margin: '20px',
133
- display: 'inline-block'
134
- }
135
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
136
- text: "Reply all",
137
- iconName: "ZD-replyall",
138
- iconSize: "9",
139
- dropBoxPosition: "bottomRight",
140
- size: "small"
141
- }, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
142
- style: {
143
- margin: '20px',
144
- display: 'inline-block'
145
- }
146
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
147
- text: "Comment",
148
- subText: "Public"
149
- })), /*#__PURE__*/_react["default"].createElement("div", {
150
- style: {
151
- margin: '20px',
152
- display: 'inline-block'
153
- }
154
- }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
155
- text: "Reply all",
156
- iconName: "ZD-replyall",
157
- iconSize: "9",
158
- onClick: function onClick() {
159
- return '';
160
- },
161
- dropBoxPosition: "bottomRight",
162
- size: "small",
163
- palette: "primary"
164
- }, "children")), /*#__PURE__*/_react["default"].createElement("div", {
165
- style: {
166
- margin: '20px'
167
- }
168
- }));
169
- }
170
- }]);
171
- return ActionButton__default;
172
- }(_react["default"].Component);
173
- exports["default"] = ActionButton__default;
174
- ActionButton__default.docs = {
175
- componentGroup: 'Atom'
176
- };
@@ -1,58 +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 _AlphabeticList = _interopRequireDefault(require("../AlphabeticList"));
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 AlphabeticList__default = /*#__PURE__*/function (_Component) {
24
- _inherits(AlphabeticList__default, _Component);
25
- var _super = _createSuper(AlphabeticList__default);
26
- function AlphabeticList__default(props) {
27
- var _this;
28
- _classCallCheck(this, AlphabeticList__default);
29
- _this = _super.call(this, props);
30
- _this.state = {
31
- selectedCharacter: 'C'
32
- };
33
- _this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
34
- return _this;
35
- }
36
- _createClass(AlphabeticList__default, [{
37
- key: "handleSelect",
38
- value: function handleSelect(selectedCharacter) {
39
- this.setState({
40
- selectedCharacter: selectedCharacter
41
- });
42
- }
43
- }, {
44
- key: "render",
45
- value: function render() {
46
- var selectedCharacter = this.state.selectedCharacter;
47
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
48
- selectedCharacter: selectedCharacter,
49
- onSelect: this.handleSelect
50
- }));
51
- }
52
- }]);
53
- return AlphabeticList__default;
54
- }(_react.Component);
55
- exports["default"] = AlphabeticList__default;
56
- AlphabeticList__default.docs = {
57
- componentGroup: 'Atom'
58
- };
@@ -1,66 +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 _AlphabeticList = _interopRequireDefault(require("../AlphabeticList"));
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 AlphabeticList__horizontal = /*#__PURE__*/function (_Component) {
24
- _inherits(AlphabeticList__horizontal, _Component);
25
- var _super = _createSuper(AlphabeticList__horizontal);
26
- function AlphabeticList__horizontal(props) {
27
- var _this;
28
- _classCallCheck(this, AlphabeticList__horizontal);
29
- _this = _super.call(this, props);
30
- _this.state = {
31
- selectedCharacter: 'C'
32
- };
33
- _this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
34
- return _this;
35
- }
36
- _createClass(AlphabeticList__horizontal, [{
37
- key: "handleSelect",
38
- value: function handleSelect(selectedCharacter) {
39
- this.setState({
40
- selectedCharacter: selectedCharacter
41
- });
42
- }
43
- }, {
44
- key: "render",
45
- value: function render() {
46
- var selectedCharacter = this.state.selectedCharacter;
47
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
48
- selectedCharacter: selectedCharacter,
49
- onSelect: this.handleSelect,
50
- align: "horizontal"
51
- }), /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
52
- type: "numerals",
53
- selectedCharacter: selectedCharacter,
54
- onSelect: this.handleSelect,
55
- align: "horizontal"
56
- }));
57
- }
58
- }]);
59
- return AlphabeticList__horizontal;
60
- }(_react.Component);
61
- exports["default"] = AlphabeticList__horizontal;
62
- if (false) {
63
- AlphabeticList__horizontal.docs = {
64
- componentGroup: 'Atom'
65
- };
66
- }