@pega/cosmos-react-demos 5.0.0-dev.2.1 → 5.0.0-dev.3.0

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 (536) hide show
  1. package/jsx/core/AppShell/AppShell.mocks.d.ts +2 -2
  2. package/jsx/core/AppShell/AppShell.mocks.d.ts.map +1 -1
  3. package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
  4. package/jsx/core/Avatar/Avatar.stories.jsx +1 -2
  5. package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
  6. package/jsx/core/Banner/Banner.mocks.d.ts +1 -1
  7. package/jsx/core/Banner/Banner.mocks.d.ts.map +1 -1
  8. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  9. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  10. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  11. package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  12. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -0
  13. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  14. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +39 -11
  15. package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
  16. package/jsx/core/ComboBox/ComboBox.mocks.d.ts +2 -0
  17. package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  18. package/jsx/core/ComboBox/{ComboBox.mocks.js → ComboBox.mocks.jsx} +5 -1
  19. package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +1 -0
  20. package/jsx/core/ComboBox/ComboBox.stories.d.ts +1 -0
  21. package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  22. package/jsx/core/ComboBox/ComboBox.stories.jsx +15 -7
  23. package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
  24. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +1 -1
  25. package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -1
  26. package/jsx/core/Configuration/Configuration.mocks.d.ts +1 -1
  27. package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -1
  28. package/jsx/core/Dialog/FormDialog.mocks.d.ts +2 -2
  29. package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
  30. package/jsx/core/Dialog/InfoDialog.mocks.d.ts +2 -2
  31. package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
  32. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +3 -3
  33. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  34. package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +1 -1
  35. package/jsx/core/Form/Form.mocks.d.ts +2 -2
  36. package/jsx/core/Form/Form.mocks.d.ts.map +1 -1
  37. package/jsx/core/Icon/Icon.mocks.d.ts +23 -0
  38. package/jsx/core/Icon/Icon.mocks.d.ts.map +1 -1
  39. package/jsx/core/Icon/Icon.mocks.jsx +23 -0
  40. package/jsx/core/Icon/Icon.mocks.jsx.map +1 -1
  41. package/jsx/core/Icon/Icon.stories.d.ts +11 -1
  42. package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
  43. package/jsx/core/Icon/Icon.stories.jsx +41 -7
  44. package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
  45. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +2 -2
  46. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  47. package/jsx/core/LiveLog/LiveLog.mocks.d.ts +1 -1
  48. package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
  49. package/jsx/core/Modal/Modal.mocks.d.ts +1 -1
  50. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
  51. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +5 -5
  52. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  53. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  54. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +1 -1
  55. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  56. package/jsx/core/Popover/Popover.mocks.d.ts +1 -1
  57. package/jsx/core/Popover/Popover.mocks.d.ts.map +1 -1
  58. package/jsx/core/Table/Table.mocks.d.ts +1 -1
  59. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +2 -2
  60. package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
  61. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +1 -1
  62. package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -1
  63. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +1 -1
  64. package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
  65. package/jsx/dnd/StandardDragDropList/Popover.d.ts +1 -1
  66. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  67. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +1 -1
  68. package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
  69. package/jsx/rte/Editor/Editor.mocks.d.ts +7 -0
  70. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -1
  71. package/jsx/social/Email/Email.mocks.d.ts +1 -1
  72. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  73. package/jsx/social/Feed/Feed.mocks.d.ts +2 -2
  74. package/jsx/social/Feed/FeedNewPost.mocks.d.ts +1 -1
  75. package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
  76. package/jsx/social/Feed/FeedPost.mocks.d.ts +1 -1
  77. package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -1
  78. package/jsx/social/Feed/FeedReply.mocks.d.ts +1 -1
  79. package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -1
  80. package/jsx/work/CaseView/Attachments.mocks.d.ts +1 -1
  81. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  82. package/jsx/work/CaseView/CaseView.mocks.d.ts +9 -9
  83. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  84. package/jsx/work/CaseView/CaseView.mocks.jsx +3 -3
  85. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  86. package/jsx/work/CaseView/Details.mocks.d.ts +1 -1
  87. package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -1
  88. package/jsx/work/CaseView/Pulse.mocks.d.ts +1 -1
  89. package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -1
  90. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +6 -6
  91. package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -1
  92. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  93. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  94. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +2 -252
  95. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  96. package/jsx/work/Predictions/Predictions.mocks.d.ts +1 -1
  97. package/jsx/work/Predictions/Predictions.mocks.d.ts.map +1 -1
  98. package/jsx/work/Stages/Stages.mocks.d.ts +1 -1
  99. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +1 -1
  100. package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
  101. package/jsx/wss/AppShell/AppShell.mocks.d.ts +3 -3
  102. package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -1
  103. package/jsx/wss/CaseView/CaseView.mocks.d.ts +1 -1
  104. package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
  105. package/lib/core/Avatar/Avatar.stories.js +1 -2
  106. package/lib/core/Avatar/Avatar.stories.js.map +1 -1
  107. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
  108. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
  109. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
  110. package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
  111. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -0
  112. package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  113. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +39 -11
  114. package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
  115. package/lib/core/ComboBox/ComboBox.mocks.d.ts +2 -0
  116. package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -1
  117. package/lib/core/ComboBox/ComboBox.mocks.js +3 -0
  118. package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -1
  119. package/lib/core/ComboBox/ComboBox.stories.d.ts +1 -0
  120. package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
  121. package/lib/core/ComboBox/ComboBox.stories.js +15 -7
  122. package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
  123. package/lib/core/Icon/Icon.mocks.d.ts +23 -0
  124. package/lib/core/Icon/Icon.mocks.d.ts.map +1 -1
  125. package/lib/core/Icon/Icon.mocks.js +23 -0
  126. package/lib/core/Icon/Icon.mocks.js.map +1 -1
  127. package/lib/core/Icon/Icon.stories.d.ts +11 -1
  128. package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
  129. package/lib/core/Icon/Icon.stories.js +41 -7
  130. package/lib/core/Icon/Icon.stories.js.map +1 -1
  131. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  132. package/lib/core/PageTemplates/PageTemplates.stories.js +1 -1
  133. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  134. package/lib/rte/Editor/Editor.mocks.d.ts +7 -0
  135. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -1
  136. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  137. package/lib/work/CaseView/CaseView.mocks.js +3 -3
  138. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  139. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -1
  140. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  141. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +3 -235
  142. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  143. package/package.json +12 -14
  144. package/jsx/build/AppShell/AppShell.mocks.d.ts +0 -44
  145. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  146. package/jsx/build/AppShell/AppShell.mocks.jsx +0 -419
  147. package/jsx/build/AppShell/AppShell.mocks.jsx.map +0 -1
  148. package/jsx/build/AppShell/AppShell.stories.d.ts +0 -20
  149. package/jsx/build/AppShell/AppShell.stories.d.ts.map +0 -1
  150. package/jsx/build/AppShell/AppShell.stories.jsx +0 -201
  151. package/jsx/build/AppShell/AppShell.stories.jsx.map +0 -1
  152. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  153. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  154. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -101
  155. package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
  156. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts +0 -11
  157. package/jsx/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  158. package/jsx/build/DynamicContentEditor/FieldSelector.jsx +0 -80
  159. package/jsx/build/DynamicContentEditor/FieldSelector.jsx.map +0 -1
  160. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  161. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  162. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  163. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  164. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  165. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  166. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +0 -344
  167. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +0 -1
  168. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  169. package/jsx/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  170. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  171. package/jsx/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  172. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  173. package/jsx/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  174. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx +0 -559
  175. package/jsx/build/FlowModeller/FlowModeller.mocks.jsx.map +0 -1
  176. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  177. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  178. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +0 -501
  179. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +0 -1
  180. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  181. package/jsx/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  182. package/jsx/build/FlowModeller/FlowModeller.styles.js +0 -8
  183. package/jsx/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  184. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  185. package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  186. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  187. package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  188. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  189. package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  190. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +0 -44
  191. package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +0 -1
  192. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  193. package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  194. package/jsx/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  195. package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  196. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  197. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  198. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +0 -873
  199. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +0 -1
  200. package/jsx/build/LifeCycle/utils.d.ts +0 -123
  201. package/jsx/build/LifeCycle/utils.d.ts.map +0 -1
  202. package/jsx/build/LifeCycle/utils.js +0 -302
  203. package/jsx/build/LifeCycle/utils.js.map +0 -1
  204. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  205. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  206. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  207. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  208. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  209. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  210. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx +0 -38
  211. package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +0 -1
  212. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  213. package/jsx/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  214. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx +0 -78
  215. package/jsx/build/ObjectPreview/ObjectPreview.mocks.jsx.map +0 -1
  216. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  217. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  218. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +0 -397
  219. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +0 -1
  220. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  221. package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  222. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx +0 -258
  223. package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +0 -1
  224. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  225. package/jsx/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  226. package/jsx/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  227. package/jsx/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  228. package/jsx/build/PageBanner/PageBanner.stories.d.ts +0 -15
  229. package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  230. package/jsx/build/PageBanner/PageBanner.stories.jsx +0 -41
  231. package/jsx/build/PageBanner/PageBanner.stories.jsx.map +0 -1
  232. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  233. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  234. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +0 -24
  235. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +0 -1
  236. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  237. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  238. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +0 -49
  239. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +0 -1
  240. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  241. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  242. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +0 -144
  243. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +0 -1
  244. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  245. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  246. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +0 -255
  247. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +0 -1
  248. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  249. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  250. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx +0 -42
  251. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +0 -1
  252. package/jsx/build/Workbench/Workbench.mocks.d.ts +0 -9
  253. package/jsx/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  254. package/jsx/build/Workbench/Workbench.mocks.js +0 -67
  255. package/jsx/build/Workbench/Workbench.mocks.js.map +0 -1
  256. package/jsx/build/Workbench/Workbench.stories.d.ts +0 -11
  257. package/jsx/build/Workbench/Workbench.stories.d.ts.map +0 -1
  258. package/jsx/build/Workbench/Workbench.stories.jsx +0 -288
  259. package/jsx/build/Workbench/Workbench.stories.jsx.map +0 -1
  260. package/jsx/core/ComboBox/ComboBox.mocks.js.map +0 -1
  261. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  262. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  263. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx +0 -432
  264. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx.map +0 -1
  265. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  266. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  267. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +0 -173
  268. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +0 -1
  269. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  270. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  271. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  272. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  273. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  274. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  275. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +0 -330
  276. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +0 -1
  277. package/jsx/cs/DialPad/DialPad.stories.d.ts +0 -9
  278. package/jsx/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  279. package/jsx/cs/DialPad/DialPad.stories.jsx +0 -20
  280. package/jsx/cs/DialPad/DialPad.stories.jsx.map +0 -1
  281. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  282. package/jsx/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  283. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  284. package/jsx/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  285. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +0 -12
  286. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  287. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +0 -54
  288. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
  289. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  290. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  291. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  292. package/jsx/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  293. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  294. package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  295. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx +0 -87
  296. package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +0 -1
  297. package/jsx/cs/Picker/Picker.stories.d.ts +0 -11
  298. package/jsx/cs/Picker/Picker.stories.d.ts.map +0 -1
  299. package/jsx/cs/Picker/Picker.stories.jsx +0 -64
  300. package/jsx/cs/Picker/Picker.stories.jsx.map +0 -1
  301. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  302. package/jsx/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  303. package/jsx/cs/TaskManager/TaskManager.mocks.js +0 -228
  304. package/jsx/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  305. package/jsx/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  306. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  307. package/jsx/cs/TaskManager/TaskManager.stories.jsx +0 -419
  308. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +0 -1
  309. package/jsx/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  310. package/jsx/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  311. package/jsx/cs/TaskManager/TaskManager.styles.js +0 -9
  312. package/jsx/cs/TaskManager/TaskManager.styles.js.map +0 -1
  313. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  314. package/jsx/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  315. package/jsx/tools/Clipboard/Clipboard.mocks.jsx +0 -81
  316. package/jsx/tools/Clipboard/Clipboard.mocks.jsx.map +0 -1
  317. package/jsx/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  318. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  319. package/jsx/tools/Clipboard/Clipboard.stories.jsx +0 -67
  320. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +0 -1
  321. package/jsx/tools/DevTools/DevTools.mocks.d.ts +0 -3
  322. package/jsx/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  323. package/jsx/tools/DevTools/DevTools.mocks.js +0 -3
  324. package/jsx/tools/DevTools/DevTools.mocks.js.map +0 -1
  325. package/jsx/tools/DevTools/DevTools.stories.d.ts +0 -10
  326. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  327. package/jsx/tools/DevTools/DevTools.stories.jsx +0 -33
  328. package/jsx/tools/DevTools/DevTools.stories.jsx.map +0 -1
  329. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  330. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  331. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +0 -80
  332. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +0 -1
  333. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  334. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  335. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +0 -184
  336. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +0 -1
  337. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  338. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  339. package/jsx/tools/PreviewShell/PreviewShell.styles.js +0 -6
  340. package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
  341. package/lib/build/AppShell/AppShell.mocks.d.ts +0 -44
  342. package/lib/build/AppShell/AppShell.mocks.d.ts.map +0 -1
  343. package/lib/build/AppShell/AppShell.mocks.js +0 -419
  344. package/lib/build/AppShell/AppShell.mocks.js.map +0 -1
  345. package/lib/build/AppShell/AppShell.stories.d.ts +0 -20
  346. package/lib/build/AppShell/AppShell.stories.d.ts.map +0 -1
  347. package/lib/build/AppShell/AppShell.stories.js +0 -200
  348. package/lib/build/AppShell/AppShell.stories.js.map +0 -1
  349. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
  350. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
  351. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js +0 -85
  352. package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +0 -1
  353. package/lib/build/DynamicContentEditor/FieldSelector.d.ts +0 -14
  354. package/lib/build/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
  355. package/lib/build/DynamicContentEditor/FieldSelector.js +0 -81
  356. package/lib/build/DynamicContentEditor/FieldSelector.js.map +0 -1
  357. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +0 -64
  358. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +0 -1
  359. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +0 -599
  360. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +0 -1
  361. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +0 -29
  362. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +0 -1
  363. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +0 -339
  364. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +0 -1
  365. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts +0 -45
  366. package/lib/build/FlowModeller/AddNodeUtils.mocks.d.ts.map +0 -1
  367. package/lib/build/FlowModeller/AddNodeUtils.mocks.js +0 -291
  368. package/lib/build/FlowModeller/AddNodeUtils.mocks.js.map +0 -1
  369. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts +0 -28
  370. package/lib/build/FlowModeller/FlowModeller.mocks.d.ts.map +0 -1
  371. package/lib/build/FlowModeller/FlowModeller.mocks.js +0 -536
  372. package/lib/build/FlowModeller/FlowModeller.mocks.js.map +0 -1
  373. package/lib/build/FlowModeller/FlowModeller.stories.d.ts +0 -11
  374. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +0 -1
  375. package/lib/build/FlowModeller/FlowModeller.stories.js +0 -481
  376. package/lib/build/FlowModeller/FlowModeller.stories.js.map +0 -1
  377. package/lib/build/FlowModeller/FlowModeller.styles.d.ts +0 -2
  378. package/lib/build/FlowModeller/FlowModeller.styles.d.ts.map +0 -1
  379. package/lib/build/FlowModeller/FlowModeller.styles.js +0 -8
  380. package/lib/build/FlowModeller/FlowModeller.styles.js.map +0 -1
  381. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +0 -3
  382. package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +0 -1
  383. package/lib/build/ItemLibrary/LibraryPicker.mocks.js +0 -45
  384. package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +0 -1
  385. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +0 -5
  386. package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +0 -1
  387. package/lib/build/ItemLibrary/LibraryPicker.stories.js +0 -39
  388. package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +0 -1
  389. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +0 -204
  390. package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +0 -1
  391. package/lib/build/LifeCycle/LifeCycle.mocks.js +0 -1256
  392. package/lib/build/LifeCycle/LifeCycle.mocks.js.map +0 -1
  393. package/lib/build/LifeCycle/LifeCycle.stories.d.ts +0 -11
  394. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +0 -1
  395. package/lib/build/LifeCycle/LifeCycle.stories.js +0 -870
  396. package/lib/build/LifeCycle/LifeCycle.stories.js.map +0 -1
  397. package/lib/build/LifeCycle/utils.d.ts +0 -123
  398. package/lib/build/LifeCycle/utils.d.ts.map +0 -1
  399. package/lib/build/LifeCycle/utils.js +0 -302
  400. package/lib/build/LifeCycle/utils.js.map +0 -1
  401. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +0 -10
  402. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +0 -1
  403. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js +0 -20
  404. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +0 -1
  405. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +0 -8
  406. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +0 -1
  407. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js +0 -39
  408. package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +0 -1
  409. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts +0 -7
  410. package/lib/build/ObjectPreview/ObjectPreview.mocks.d.ts.map +0 -1
  411. package/lib/build/ObjectPreview/ObjectPreview.mocks.js +0 -74
  412. package/lib/build/ObjectPreview/ObjectPreview.mocks.js.map +0 -1
  413. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +0 -64
  414. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +0 -1
  415. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +0 -370
  416. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +0 -1
  417. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +0 -8
  418. package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +0 -1
  419. package/lib/build/ObjectSelect/ObjectSelect.stories.js +0 -240
  420. package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +0 -1
  421. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts +0 -4
  422. package/lib/build/ObjectSelect/ObjectSelect.styles.d.ts.map +0 -1
  423. package/lib/build/ObjectSelect/ObjectSelect.styles.js +0 -27
  424. package/lib/build/ObjectSelect/ObjectSelect.styles.js.map +0 -1
  425. package/lib/build/PageBanner/PageBanner.stories.d.ts +0 -15
  426. package/lib/build/PageBanner/PageBanner.stories.d.ts.map +0 -1
  427. package/lib/build/PageBanner/PageBanner.stories.js +0 -42
  428. package/lib/build/PageBanner/PageBanner.stories.js.map +0 -1
  429. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +0 -21
  430. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +0 -1
  431. package/lib/build/PageTemplates/GalleryPage.mocks.js +0 -25
  432. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +0 -1
  433. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +0 -16
  434. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +0 -1
  435. package/lib/build/PageTemplates/GalleryPage.stories.js +0 -50
  436. package/lib/build/PageTemplates/GalleryPage.stories.js.map +0 -1
  437. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +0 -17
  438. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
  439. package/lib/build/PageTemplates/PageTemplates.mocks.js +0 -107
  440. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +0 -1
  441. package/lib/build/PageTemplates/PageTemplates.stories.d.ts +0 -21
  442. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
  443. package/lib/build/PageTemplates/PageTemplates.stories.js +0 -246
  444. package/lib/build/PageTemplates/PageTemplates.stories.js.map +0 -1
  445. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +0 -17
  446. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +0 -1
  447. package/lib/build/PageTemplates/ShowcasePage.stories.js +0 -43
  448. package/lib/build/PageTemplates/ShowcasePage.stories.js.map +0 -1
  449. package/lib/build/Workbench/Workbench.mocks.d.ts +0 -9
  450. package/lib/build/Workbench/Workbench.mocks.d.ts.map +0 -1
  451. package/lib/build/Workbench/Workbench.mocks.js +0 -67
  452. package/lib/build/Workbench/Workbench.mocks.js.map +0 -1
  453. package/lib/build/Workbench/Workbench.stories.d.ts +0 -11
  454. package/lib/build/Workbench/Workbench.stories.d.ts.map +0 -1
  455. package/lib/build/Workbench/Workbench.stories.js +0 -273
  456. package/lib/build/Workbench/Workbench.stories.js.map +0 -1
  457. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts +0 -90
  458. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts.map +0 -1
  459. package/lib/cs/CSAppShell/CSAppShell.mocks.js +0 -385
  460. package/lib/cs/CSAppShell/CSAppShell.mocks.js.map +0 -1
  461. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +0 -13
  462. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +0 -1
  463. package/lib/cs/CSAppShell/CSAppShell.stories.js +0 -172
  464. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +0 -1
  465. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +0 -21
  466. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +0 -1
  467. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js +0 -252
  468. package/lib/cs/CallControlPanel/CallControlPanel.mocks.js.map +0 -1
  469. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +0 -17
  470. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +0 -1
  471. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +0 -331
  472. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +0 -1
  473. package/lib/cs/DialPad/DialPad.stories.d.ts +0 -9
  474. package/lib/cs/DialPad/DialPad.stories.d.ts.map +0 -1
  475. package/lib/cs/DialPad/DialPad.stories.js +0 -19
  476. package/lib/cs/DialPad/DialPad.stories.js.map +0 -1
  477. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts +0 -11
  478. package/lib/cs/DialPad/DialPadKeyboardData.mock.d.ts.map +0 -1
  479. package/lib/cs/DialPad/DialPadKeyboardData.mock.js +0 -20
  480. package/lib/cs/DialPad/DialPadKeyboardData.mock.js.map +0 -1
  481. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +0 -12
  482. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
  483. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +0 -55
  484. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +0 -1
  485. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts +0 -11
  486. package/lib/cs/InteractionTimer/InteractionTimer.mocks.d.ts.map +0 -1
  487. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js +0 -29
  488. package/lib/cs/InteractionTimer/InteractionTimer.mocks.js.map +0 -1
  489. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +0 -11
  490. package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +0 -1
  491. package/lib/cs/InteractionTimer/InteractionTimer.stories.js +0 -88
  492. package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +0 -1
  493. package/lib/cs/Picker/Picker.stories.d.ts +0 -11
  494. package/lib/cs/Picker/Picker.stories.d.ts.map +0 -1
  495. package/lib/cs/Picker/Picker.stories.js +0 -56
  496. package/lib/cs/Picker/Picker.stories.js.map +0 -1
  497. package/lib/cs/TaskManager/TaskManager.mocks.d.ts +0 -30
  498. package/lib/cs/TaskManager/TaskManager.mocks.d.ts.map +0 -1
  499. package/lib/cs/TaskManager/TaskManager.mocks.js +0 -228
  500. package/lib/cs/TaskManager/TaskManager.mocks.js.map +0 -1
  501. package/lib/cs/TaskManager/TaskManager.stories.d.ts +0 -15
  502. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +0 -1
  503. package/lib/cs/TaskManager/TaskManager.stories.js +0 -395
  504. package/lib/cs/TaskManager/TaskManager.stories.js.map +0 -1
  505. package/lib/cs/TaskManager/TaskManager.styles.d.ts +0 -3
  506. package/lib/cs/TaskManager/TaskManager.styles.d.ts.map +0 -1
  507. package/lib/cs/TaskManager/TaskManager.styles.js +0 -9
  508. package/lib/cs/TaskManager/TaskManager.styles.js.map +0 -1
  509. package/lib/tools/Clipboard/Clipboard.mocks.d.ts +0 -6
  510. package/lib/tools/Clipboard/Clipboard.mocks.d.ts.map +0 -1
  511. package/lib/tools/Clipboard/Clipboard.mocks.js +0 -74
  512. package/lib/tools/Clipboard/Clipboard.mocks.js.map +0 -1
  513. package/lib/tools/Clipboard/Clipboard.stories.d.ts +0 -6
  514. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +0 -1
  515. package/lib/tools/Clipboard/Clipboard.stories.js +0 -74
  516. package/lib/tools/Clipboard/Clipboard.stories.js.map +0 -1
  517. package/lib/tools/DevTools/DevTools.mocks.d.ts +0 -3
  518. package/lib/tools/DevTools/DevTools.mocks.d.ts.map +0 -1
  519. package/lib/tools/DevTools/DevTools.mocks.js +0 -3
  520. package/lib/tools/DevTools/DevTools.mocks.js.map +0 -1
  521. package/lib/tools/DevTools/DevTools.stories.d.ts +0 -10
  522. package/lib/tools/DevTools/DevTools.stories.d.ts.map +0 -1
  523. package/lib/tools/DevTools/DevTools.stories.js +0 -29
  524. package/lib/tools/DevTools/DevTools.stories.js.map +0 -1
  525. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +0 -20
  526. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +0 -1
  527. package/lib/tools/PreviewShell/PreviewShell.mocks.js +0 -77
  528. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +0 -1
  529. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +0 -20
  530. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +0 -1
  531. package/lib/tools/PreviewShell/PreviewShell.stories.js +0 -181
  532. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +0 -1
  533. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +0 -2
  534. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +0 -1
  535. package/lib/tools/PreviewShell/PreviewShell.styles.js +0 -6
  536. package/lib/tools/PreviewShell/PreviewShell.styles.js.map +0 -1
@@ -1,88 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useEffect, useState } from 'react';
3
- import { InteractionTimer } from '@pega/cosmos-react-cs';
4
- import { icons, useLiveLog } from '@pega/cosmos-react-core';
5
- import { formatDuration, InteractionTimerSLAMileStones, InteractionTimerStages } from './InteractionTimer.mocks';
6
- export default {
7
- title: 'Customer Service/InteractionTimer',
8
- component: InteractionTimer
9
- };
10
- export const InteractionTimerDemo = (args) => {
11
- const [timerState, setTimerState] = useState({
12
- slaAnnouncement: `${args.interactionType ? `${args.interactionType}, ` : ''}goal and 0 seconds passed`,
13
- timer: '0:00',
14
- slaStage: 'goal',
15
- currentProgress: 0,
16
- hasNotifications: false,
17
- ariaLabel: ''
18
- });
19
- const { announcePolite } = useLiveLog();
20
- useEffect(() => {
21
- const latestCreatedAt = new Date().getTime();
22
- const timerInterval = args.showTimer &&
23
- setInterval(() => {
24
- const timeElapsed = (new Date().getTime() - latestCreatedAt) / 1000;
25
- const currSlaStage = InteractionTimerSLAMileStones.reduce((prevValue, currValue, currentIndex, arr) => {
26
- if (timeElapsed >= currValue.from &&
27
- (timeElapsed <= currValue.to || currentIndex === arr.length - 1)) {
28
- return currentIndex;
29
- }
30
- return prevValue;
31
- }, 0);
32
- const hasNotifications = currSlaStage > 0;
33
- const formattedDuration = formatDuration(timeElapsed);
34
- setTimerState(prev => {
35
- return {
36
- ...prev,
37
- timer: formattedDuration.visual,
38
- ariaLabel: `${args.interactionType ? `${args.interactionType}, ` : ''}${formattedDuration.ariaLabel}`,
39
- slaStage: InteractionTimerStages[currSlaStage],
40
- currentProgress: Math.floor(Math.min(((timeElapsed - InteractionTimerSLAMileStones[currSlaStage].from) * 100) /
41
- (InteractionTimerSLAMileStones[currSlaStage].to -
42
- InteractionTimerSLAMileStones[currSlaStage].from), 100)),
43
- hasNotifications
44
- };
45
- });
46
- }, 1000);
47
- const ariaInterval = setInterval(() => {
48
- const timeElapsed = (new Date().getTime() - latestCreatedAt) / 1000;
49
- const formattedDuration = formatDuration(timeElapsed);
50
- setTimerState(prev => {
51
- return {
52
- ...prev,
53
- slaAnnouncement: `${args.interactionType ? `${args.interactionType}, ` : ''}${prev.slaStage} and ${formattedDuration.ariaLabel}passed${prev.hasNotifications ? ' with new notifications' : ''}`
54
- };
55
- });
56
- }, 15000);
57
- if (timerInterval && ariaInterval)
58
- return () => {
59
- clearInterval(timerInterval);
60
- clearInterval(ariaInterval);
61
- setTimerState({ ...timerState, timer: '0:00' });
62
- };
63
- }, [args.hasNotifications, args.showTimer, args.interactionType]);
64
- useEffect(() => {
65
- if (timerState.slaAnnouncement)
66
- announcePolite({ message: timerState.slaAnnouncement });
67
- }, [timerState.slaAnnouncement]);
68
- return (_jsx(InteractionTimer, { id: args.id, sla: args.showTimer ? timerState.slaStage : args.sla, hasNotifications: args.hasNotifications ? timerState.hasNotifications : false, icon: args.icon, meta: args.showTimer ? timerState.timer : args.meta, progress: timerState.currentProgress, ariaLabel: timerState.ariaLabel }));
69
- };
70
- InteractionTimerDemo.args = {
71
- hasNotifications: true,
72
- icon: 'chat-solid',
73
- showTimer: true,
74
- meta: 'QR',
75
- interactionType: 'Chat interaction'
76
- };
77
- InteractionTimerDemo.argTypes = {
78
- hasNotifications: { control: { type: 'boolean' } },
79
- icon: { options: icons, control: { type: 'select', icons: true } },
80
- showTimer: { control: { type: 'boolean' } },
81
- meta: { control: { type: 'text' } },
82
- interactionType: {
83
- table: {
84
- disable: true
85
- }
86
- }
87
- };
88
- //# sourceMappingURL=InteractionTimer.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InteractionTimer.stories.js","sourceRoot":"","sources":["../../../src/cs/InteractionTimer/InteractionTimer.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EACL,cAAc,EACd,6BAA6B,EAC7B,sBAAs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AAS,EAAE,IAAI;IACf,IAAI,EAAE,IAAI;IACV,eAAe,EAAE,kBAAkB;CACpC,CAAC;AAEF,oBAAoB,CAAC,QAAQ,GAAG;IAC9B,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAClD,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;IAClE,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC3C,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACnC,eAAe,EAAE;QACf,KAAK,EAAE;YACL,OAAO,EAAE,IAAI;SACd;KACF;CACF,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useEffect, useState } from 'react';\n\nimport { InteractionTimer } from '@pega/cosmos-react-cs';\nimport type { InteractionTimerProps } from '@pega/cosmos-react-cs';\nimport { icons, useLiveLog } from '@pega/cosmos-react-core';\n\nimport {\n formatDuration,\n InteractionTimerSLAMileStones,\n InteractionTimerStages\n} from './InteractionTimer.mocks';\n\nexport default {\n title: 'Customer Service/InteractionTimer',\n component: InteractionTimer\n} as Meta;\n\nexport interface InteractionTimerStoryProps extends InteractionTimerProps {\n id?: string;\n showTimer?: boolean;\n interactionType?: string;\n}\n\nexport const InteractionTimerDemo: StoryFn<InteractionTimerStoryProps> = (\n args: InteractionTimerStoryProps\n) => {\n const [timerState, setTimerState] = useState<{\n timer: string;\n ariaLabel: string;\n slaStage: InteractionTimerProps['sla'];\n currentProgress: number;\n hasNotifications: boolean;\n slaAnnouncement: string;\n }>({\n slaAnnouncement: `${\n args.interactionType ? `${args.interactionType}, ` : ''\n }goal and 0 seconds passed`,\n timer: '0:00',\n slaStage: 'goal',\n currentProgress: 0,\n hasNotifications: false,\n ariaLabel: ''\n });\n const { announcePolite } = useLiveLog();\n\n useEffect(() => {\n const latestCreatedAt = new Date().getTime();\n const timerInterval =\n args.showTimer &&\n setInterval(() => {\n const timeElapsed = (new Date().getTime() - latestCreatedAt) / 1000;\n const currSlaStage = InteractionTimerSLAMileStones.reduce(\n (prevValue, currValue, currentIndex, arr) => {\n if (\n timeElapsed >= currValue.from &&\n (timeElapsed <= currValue.to || currentIndex === arr.length - 1)\n ) {\n return currentIndex;\n }\n return prevValue;\n },\n 0\n );\n\n const hasNotifications = currSlaStage > 0;\n const formattedDuration = formatDuration(timeElapsed);\n setTimerState(prev => {\n return {\n ...prev,\n timer: formattedDuration.visual,\n ariaLabel: `${args.interactionType ? `${args.interactionType}, ` : ''}${\n formattedDuration.ariaLabel\n }`,\n slaStage: InteractionTimerStages[currSlaStage],\n currentProgress: Math.floor(\n Math.min(\n ((timeElapsed - InteractionTimerSLAMileStones[currSlaStage].from) * 100) /\n (InteractionTimerSLAMileStones[currSlaStage].to -\n InteractionTimerSLAMileStones[currSlaStage].from),\n 100\n )\n ),\n hasNotifications\n };\n });\n }, 1000);\n\n const ariaInterval = setInterval(() => {\n const timeElapsed = (new Date().getTime() - latestCreatedAt) / 1000;\n const formattedDuration = formatDuration(timeElapsed);\n setTimerState(prev => {\n return {\n ...prev,\n slaAnnouncement: `${args.interactionType ? `${args.interactionType}, ` : ''}${\n prev.slaStage\n } and ${formattedDuration.ariaLabel}passed${\n prev.hasNotifications ? ' with new notifications' : ''\n }`\n };\n });\n }, 15000);\n\n if (timerInterval && ariaInterval)\n return () => {\n clearInterval(timerInterval);\n clearInterval(ariaInterval);\n setTimerState({ ...timerState, timer: '0:00' });\n };\n }, [args.hasNotifications, args.showTimer, args.interactionType]);\n\n useEffect(() => {\n if (timerState.slaAnnouncement) announcePolite({ message: timerState.slaAnnouncement });\n }, [timerState.slaAnnouncement]);\n\n return (\n <InteractionTimer\n id={args.id}\n sla={args.showTimer ? timerState.slaStage : args.sla}\n hasNotifications={args.hasNotifications ? timerState.hasNotifications : false}\n icon={args.icon}\n meta={args.showTimer ? timerState.timer : args.meta}\n progress={timerState.currentProgress}\n ariaLabel={timerState.ariaLabel}\n />\n );\n};\n\nInteractionTimerDemo.args = {\n hasNotifications: true,\n icon: 'chat-solid',\n showTimer: true,\n meta: 'QR',\n interactionType: 'Chat interaction'\n};\n\nInteractionTimerDemo.argTypes = {\n hasNotifications: { control: { type: 'boolean' } },\n icon: { options: icons, control: { type: 'select', icons: true } },\n showTimer: { control: { type: 'boolean' } },\n meta: { control: { type: 'text' } },\n interactionType: {\n table: {\n disable: true\n }\n }\n};\n"]}
@@ -1,11 +0,0 @@
1
- import type { StoryFn } from '@storybook/react';
2
- import type { OmitStrict } from '@pega/cosmos-react-core';
3
- import type { PickerProps } from '@pega/cosmos-react-cs/lib/components/Picker/Picker.types';
4
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
5
- export default _default;
6
- export interface PickerStoryProps extends OmitStrict<PickerProps, 'selections'> {
7
- title?: string;
8
- }
9
- export declare const PickerDemo: StoryFn<PickerStoryProps>;
10
- export declare const PickerInModal: StoryFn<PickerStoryProps>;
11
- //# sourceMappingURL=Picker.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Picker.stories.d.ts","sourceRoot":"","sources":["../../../src/cs/Picker/Picker.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,yBAAyB,CAAC;AAEzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAC;;AAI5F,wBAeU;AAEV,MAAM,WAAW,gBAAiB,SAAQ,UAAU,CAAC,WAAW,EAAE,YAAY,CAAC;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,gBAAgB,CAgBhD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAuDnD,CAAC"}
@@ -1,56 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useMemo, useState } from 'react';
3
- import { Button, Modal, useModalManager, useModalContext } from '@pega/cosmos-react-core';
4
- import { Picker } from '@pega/cosmos-react-cs';
5
- import { TaskPickerMockData } from '../TaskManager/TaskManager.mocks';
6
- export default {
7
- title: 'Customer Service/Picker',
8
- component: Picker,
9
- args: {
10
- title: 'Add customer inquiry',
11
- contextualLabel: 'inquiries',
12
- multiSelect: false,
13
- reorderSelections: false
14
- },
15
- argTypes: {
16
- title: { control: { type: 'text' } },
17
- contextualLabel: { control: { type: 'text' } },
18
- multiSelect: { control: { type: 'boolean' } },
19
- reorderSelections: { control: { type: 'boolean' } }
20
- }
21
- };
22
- export const PickerDemo = (args) => {
23
- const [selectedItems, setSelectedItems] = useState([]);
24
- const onSelectionChange = (items) => {
25
- setSelectedItems(items);
26
- };
27
- return (_jsx(Picker, { items: TaskPickerMockData.tasks, contextualLabel: args.contextualLabel, reorderSelections: args.reorderSelections, multiSelect: args.multiSelect, onSelectionChange: onSelectionChange, selections: selectedItems }));
28
- };
29
- export const PickerInModal = (args) => {
30
- const MyModal = () => {
31
- const { dismiss } = useModalContext();
32
- const [selectedItems, setSelectedItems] = useState([]);
33
- const actions = useMemo(() => {
34
- return (_jsxs(_Fragment, { children: [_jsx(Button, { onClick: dismiss, children: "Close" }), _jsx(Button, { variant: 'primary', onClick: () => {
35
- dismiss();
36
- }, disabled: !selectedItems.length, children: "Save" })] }));
37
- }, [dismiss, selectedItems]);
38
- return (_jsx(Modal, { actions: actions, heading: args.title, onRequestDismiss: dismiss, children: _jsx(Picker, { contextualLabel: args.contextualLabel, items: TaskPickerMockData.tasks, multiSelect: args.multiSelect, reorderSelections: args.reorderSelections, onSelectionChange: selections => {
39
- setSelectedItems(selections);
40
- }, selections: selectedItems }) }));
41
- };
42
- const ModalButton = () => {
43
- const { create } = useModalManager();
44
- return (_jsx(Button, { onClick: () => {
45
- create(MyModal, undefined, {
46
- onDismiss: () => { }
47
- });
48
- }, children: "Open Picker" }));
49
- };
50
- return _jsx(ModalButton, {});
51
- };
52
- PickerInModal.args = {
53
- multiSelect: true,
54
- reorderSelections: false
55
- };
56
- //# sourceMappingURL=Picker.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Picker.stories.js","sourceRoot":"","sources":["../../../src/cs/Picker/Picker.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1F,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAG/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE;QACJ,KAAK,EAAE,sBAAsB;QAC7B,eAAe,EAAE,WAAW;QAC5B,WAAW,EAAE,KAAK;QAClB,iBAAiB,EAAE,KAAK;KACzB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACpC,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QAC9C,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;QAC7C,iBAAiB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;KACpD;CACM,CAAC;AAMV,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,IAAsB,EAAE,EAAE;IAC9E,MAAM,CAAC,aAAa,EAAE,gBA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WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,iBAAiB,EAAE,UAAU,CAAC,EAAE;oBAC9B,gBAAgB,CAAC,UAAU,CAAC,CAAC;gBAC/B,CAAC,EACD,UAAU,EAAE,aAAa,GACzB,GACI,CACT,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,MAAM,EAAE,MAAM,EAAE,GAAG,eAAe,EAAE,CAAC;QAErC,OAAO,CACL,KAAC,MAAM,IACL,OAAO,EAAE,GAAG,EAAE;gBACZ,MAAM,CAAC,OAAO,EAAE,SAAS,EAAE;oBACzB,SAAS,EAAE,GAAG,EAAE,GAAE,CAAC;iBACpB,CAAC,CAAC;YACL,CAAC,4BAGM,CACV,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,KAAC,WAAW,KAAG,CAAC;AACzB,CAAC,CAAC;AAEF,aAAa,CAAC,IAAI,GAAG;IACnB,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,KAAK;CACzB,CAAC","sourcesContent":["import { useMemo, useState } from 'react';\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport { Button, Modal, useModalManager, useModalContext } from '@pega/cosmos-react-core';\nimport type { OmitStrict, MenuItemProps } from '@pega/cosmos-react-core';\nimport { Picker } from '@pega/cosmos-react-cs';\nimport type { PickerProps } from '@pega/cosmos-react-cs/lib/components/Picker/Picker.types';\n\nimport { TaskPickerMockData } from '../TaskManager/TaskManager.mocks';\n\nexport default {\n title: 'Customer Service/Picker',\n component: Picker,\n args: {\n title: 'Add customer inquiry',\n contextualLabel: 'inquiries',\n multiSelect: false,\n reorderSelections: false\n },\n argTypes: {\n title: { control: { type: 'text' } },\n contextualLabel: { control: { type: 'text' } },\n multiSelect: { control: { type: 'boolean' } },\n reorderSelections: { control: { type: 'boolean' } }\n }\n} as Meta;\n\nexport interface PickerStoryProps extends OmitStrict<PickerProps, 'selections'> {\n title?: string;\n}\n\nexport const PickerDemo: StoryFn<PickerStoryProps> = (args: PickerStoryProps) => {\n const [selectedItems, setSelectedItems] = useState<MenuItemProps[]>([]);\n\n const onSelectionChange = (items: MenuItemProps[]) => {\n setSelectedItems(items);\n };\n return (\n <Picker\n items={TaskPickerMockData.tasks}\n contextualLabel={args.contextualLabel}\n reorderSelections={args.reorderSelections}\n multiSelect={args.multiSelect}\n onSelectionChange={onSelectionChange}\n selections={selectedItems}\n />\n );\n};\n\nexport const PickerInModal: StoryFn<PickerStoryProps> = (args: PickerStoryProps) => {\n const MyModal = () => {\n const { dismiss } = useModalContext();\n const [selectedItems, setSelectedItems] = useState<MenuItemProps[]>([]);\n\n const actions = useMemo(() => {\n return (\n <>\n <Button onClick={dismiss}>Close</Button>\n <Button\n variant='primary'\n onClick={() => {\n dismiss();\n }}\n disabled={!selectedItems.length}\n >\n Save\n </Button>\n </>\n );\n }, [dismiss, selectedItems]);\n\n return (\n <Modal actions={actions} heading={args.title} onRequestDismiss={dismiss}>\n <Picker\n contextualLabel={args.contextualLabel}\n items={TaskPickerMockData.tasks}\n multiSelect={args.multiSelect}\n reorderSelections={args.reorderSelections}\n onSelectionChange={selections => {\n setSelectedItems(selections);\n }}\n selections={selectedItems}\n />\n </Modal>\n );\n };\n\n const ModalButton = () => {\n const { create } = useModalManager();\n\n return (\n <Button\n onClick={() => {\n create(MyModal, undefined, {\n onDismiss: () => {}\n });\n }}\n >\n Open Picker\n </Button>\n );\n };\n\n return <ModalButton />;\n};\n\nPickerInModal.args = {\n multiSelect: true,\n reorderSelections: false\n};\n"]}
@@ -1,30 +0,0 @@
1
- export declare const WrapUpTask: {
2
- id: string;
3
- name: string;
4
- status: string;
5
- variant: string;
6
- };
7
- export declare const TaskPickerMockData: {
8
- tasks: {
9
- id: string;
10
- label: string;
11
- items: {
12
- id: string;
13
- primary: string;
14
- fields: string[];
15
- }[];
16
- }[];
17
- };
18
- export declare const EntityListMock: {
19
- name: string;
20
- value: {
21
- id: string;
22
- entity: {
23
- value: string;
24
- type: string;
25
- name: string;
26
- variant: number;
27
- };
28
- }[];
29
- }[];
30
- //# sourceMappingURL=TaskManager.mocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskManager.mocks.d.ts","sourceRoot":"","sources":["../../../src/cs/TaskManager/TaskManager.mocks.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;CAKtB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;CAqI9B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;GAqF1B,CAAC"}
@@ -1,228 +0,0 @@
1
- import { createUID } from '@pega/cosmos-react-core';
2
- export const WrapUpTask = {
3
- id: createUID(),
4
- name: 'Wrap up',
5
- status: 'In progress',
6
- variant: 'pending'
7
- };
8
- export const TaskPickerMockData = {
9
- tasks: [
10
- {
11
- id: '1',
12
- label: 'Frequently performed',
13
- items: [
14
- {
15
- id: '1-1',
16
- primary: 'Address change',
17
- fields: [
18
- 'Address line 1',
19
- 'Address line 2',
20
- 'Country',
21
- 'City',
22
- 'State',
23
- 'Postal code',
24
- 'Phone',
25
- 'Cell',
26
- 'FAX',
27
- 'Email'
28
- ]
29
- },
30
- {
31
- id: '1-2',
32
- primary: 'Make payment',
33
- fields: ['Account number', 'Amount', 'Comments']
34
- }
35
- ]
36
- },
37
- {
38
- id: '2',
39
- label: 'Account',
40
- items: [
41
- {
42
- id: '2-1',
43
- primary: 'Address change',
44
- fields: [
45
- 'Address line 1',
46
- 'Address line 2',
47
- 'Country',
48
- 'City',
49
- 'State',
50
- 'Postal code',
51
- 'Phone',
52
- 'Cell',
53
- 'FAX',
54
- 'Email'
55
- ]
56
- },
57
- {
58
- id: '2-2',
59
- primary: 'Close account',
60
- fields: ['Reason', 'Comments']
61
- }
62
- ]
63
- },
64
- {
65
- id: '3',
66
- label: 'Contact',
67
- items: [
68
- {
69
- id: '3-1',
70
- primary: 'Modify account links',
71
- fields: ['Customer name', 'Account number', 'Contact number', 'Email', 'Account link']
72
- },
73
- {
74
- id: '3-2',
75
- primary: 'Update contact profile',
76
- fields: ['Customer ID', 'New contact number', 'New email', 'Other comments']
77
- }
78
- ]
79
- },
80
- {
81
- id: '4',
82
- label: 'Sales and offers',
83
- items: [
84
- {
85
- id: '4-1',
86
- primary: 'Create lead',
87
- fields: [
88
- 'Stage',
89
- 'Phone',
90
- 'Email',
91
- 'Territory',
92
- 'First name',
93
- 'Last name',
94
- 'Owner',
95
- 'Rating',
96
- 'Mobile'
97
- ]
98
- },
99
- {
100
- id: '4-2',
101
- primary: 'Create opportunity',
102
- fields: [
103
- 'Amount',
104
- 'Close date',
105
- 'Probability',
106
- 'Owner',
107
- 'Name',
108
- 'Territory',
109
- 'Short name',
110
- 'Primary contact',
111
- 'Forecast category',
112
- 'Stage',
113
- 'Source',
114
- 'Must win'
115
- ]
116
- }
117
- ]
118
- },
119
- {
120
- id: '5',
121
- label: 'General',
122
- items: [
123
- {
124
- id: '5-1',
125
- primary: 'File a complaint',
126
- fields: ['Individual Name', 'Identification number', 'Name', 'Issue', 'Severity']
127
- },
128
- {
129
- id: '5-2',
130
- primary: 'Schedule activity',
131
- fields: ['Activity name', 'Time', 'Date', 'Target completion date and time']
132
- },
133
- {
134
- id: '5-3',
135
- primary: 'Send correspondence',
136
- fields: ['From', 'To', 'Subject', 'Correspondence body', 'Signature']
137
- }
138
- ]
139
- }
140
- ]
141
- };
142
- export const EntityListMock = [
143
- {
144
- name: 'Ticket number',
145
- value: [
146
- {
147
- id: '1',
148
- entity: {
149
- value: '7546383',
150
- type: 'system',
151
- name: 'Ticket number',
152
- variant: 3
153
- }
154
- }
155
- ]
156
- },
157
- {
158
- name: 'Date',
159
- value: [
160
- {
161
- id: '1',
162
- entity: {
163
- value: 'Dec 5,2021 9.05 AM',
164
- type: 'system',
165
- name: 'Date',
166
- variant: 4
167
- }
168
- }
169
- ]
170
- },
171
- {
172
- name: 'Flight Number',
173
- value: [
174
- {
175
- id: '1',
176
- entity: {
177
- value: 'FL-JK-403',
178
- type: 'system',
179
- name: 'Flight Number',
180
- variant: 5
181
- }
182
- }
183
- ]
184
- },
185
- {
186
- name: 'Email',
187
- value: [
188
- {
189
- id: '1',
190
- entity: {
191
- value: 'robert.stanton@example.com',
192
- type: 'system',
193
- name: 'Email',
194
- variant: 2
195
- }
196
- }
197
- ]
198
- },
199
- {
200
- name: 'Address',
201
- value: [
202
- {
203
- id: '1',
204
- entity: {
205
- value: 'Hyderabad',
206
- type: 'system',
207
- name: 'Address',
208
- variant: 15
209
- }
210
- }
211
- ]
212
- },
213
- {
214
- name: 'Location',
215
- value: [
216
- {
217
- id: '1',
218
- entity: {
219
- value: 'Hyderabad',
220
- type: 'system',
221
- name: 'Location',
222
- variant: 8
223
- }
224
- }
225
- ]
226
- }
227
- ];
228
- //# sourceMappingURL=TaskManager.mocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskManager.mocks.js","sourceRoot":"","sources":["../../../src/cs/TaskManager/TaskManager.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,SAAS,EAAE;IACf,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,aAAa;IACrB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,KAAK,EAAE;QACL;YACE,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,sBAAsB;YAC7B,KAAK,EAAE;gBACL;oBACE,EAAE,EAAE,KAAK;oBACT,OAAO,EAAE,gBAAgB;oBACzB,MAAM,EAAE;wBACN,gBAAgB;wBAChB,gBAAgB;wBAChB,SAAS;wBACT,MAAM;wBACN,OAAO;wBACP,aAAa;wBACb,OAAO;wBACP,MAAM;wBACN,KAAK;wBACL,OAAO;qBACR;iBACF;gBACD;oBACE,EAAE,EAAE,KAAK;oBACT,OAA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;gBACE,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE;oBACN,KAAK,EAAE,WAAW;oBAClB,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,eAAe;oBACrB,OAAO,EAAE,CAAC;iBACX;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE;oBACN,KAAK,EAAE,4BAA4B;oBACnC,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,OAAO;oBACb,OAAO,EAAE,CAAC;iBACX;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE;oBACN,KAAK,EAAE,WAAW;oBAClB,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,EAAE;iBACZ;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE;oBACN,KAAK,EAAE,WAAW;oBAClB,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE,CAAC;iBACX;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["import { createUID } from '@pega/cosmos-react-core';\n\nexport const WrapUpTask = {\n id: createUID(),\n name: 'Wrap up',\n status: 'In progress',\n variant: 'pending'\n};\n\nexport const TaskPickerMockData = {\n tasks: [\n {\n id: '1',\n label: 'Frequently performed',\n items: [\n {\n id: '1-1',\n primary: 'Address change',\n fields: [\n 'Address line 1',\n 'Address line 2',\n 'Country',\n 'City',\n 'State',\n 'Postal code',\n 'Phone',\n 'Cell',\n 'FAX',\n 'Email'\n ]\n },\n {\n id: '1-2',\n primary: 'Make payment',\n fields: ['Account number', 'Amount', 'Comments']\n }\n ]\n },\n {\n id: '2',\n label: 'Account',\n items: [\n {\n id: '2-1',\n primary: 'Address change',\n fields: [\n 'Address line 1',\n 'Address line 2',\n 'Country',\n 'City',\n 'State',\n 'Postal code',\n 'Phone',\n 'Cell',\n 'FAX',\n 'Email'\n ]\n },\n {\n id: '2-2',\n primary: 'Close account',\n fields: ['Reason', 'Comments']\n }\n ]\n },\n {\n id: '3',\n label: 'Contact',\n items: [\n {\n id: '3-1',\n primary: 'Modify account links',\n fields: ['Customer name', 'Account number', 'Contact number', 'Email', 'Account link']\n },\n {\n id: '3-2',\n primary: 'Update contact profile',\n fields: ['Customer ID', 'New contact number', 'New email', 'Other comments']\n }\n ]\n },\n {\n id: '4',\n label: 'Sales and offers',\n items: [\n {\n id: '4-1',\n primary: 'Create lead',\n fields: [\n 'Stage',\n 'Phone',\n 'Email',\n 'Territory',\n 'First name',\n 'Last name',\n 'Owner',\n 'Rating',\n 'Mobile'\n ]\n },\n {\n id: '4-2',\n primary: 'Create opportunity',\n fields: [\n 'Amount',\n 'Close date',\n 'Probability',\n 'Owner',\n 'Name',\n 'Territory',\n 'Short name',\n 'Primary contact',\n 'Forecast category',\n 'Stage',\n 'Source',\n 'Must win'\n ]\n }\n ]\n },\n {\n id: '5',\n label: 'General',\n items: [\n {\n id: '5-1',\n primary: 'File a complaint',\n fields: ['Individual Name', 'Identification number', 'Name', 'Issue', 'Severity']\n },\n {\n id: '5-2',\n primary: 'Schedule activity',\n fields: ['Activity name', 'Time', 'Date', 'Target completion date and time']\n },\n {\n id: '5-3',\n primary: 'Send correspondence',\n fields: ['From', 'To', 'Subject', 'Correspondence body', 'Signature']\n }\n ]\n }\n ]\n};\n\nexport const EntityListMock = [\n {\n name: 'Ticket number',\n value: [\n {\n id: '1',\n entity: {\n value: '7546383',\n type: 'system',\n name: 'Ticket number',\n variant: 3\n }\n }\n ]\n },\n {\n name: 'Date',\n value: [\n {\n id: '1',\n entity: {\n value: 'Dec 5,2021 9.05 AM',\n type: 'system',\n name: 'Date',\n variant: 4\n }\n }\n ]\n },\n {\n name: 'Flight Number',\n value: [\n {\n id: '1',\n entity: {\n value: 'FL-JK-403',\n type: 'system',\n name: 'Flight Number',\n variant: 5\n }\n }\n ]\n },\n {\n name: 'Email',\n value: [\n {\n id: '1',\n entity: {\n value: 'robert.stanton@example.com',\n type: 'system',\n name: 'Email',\n variant: 2\n }\n }\n ]\n },\n {\n name: 'Address',\n value: [\n {\n id: '1',\n entity: {\n value: 'Hyderabad',\n type: 'system',\n name: 'Address',\n variant: 15\n }\n }\n ]\n },\n {\n name: 'Location',\n value: [\n {\n id: '1',\n entity: {\n value: 'Hyderabad',\n type: 'system',\n name: 'Location',\n variant: 8\n }\n }\n ]\n }\n];\n"]}
@@ -1,15 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { StoryFn } from '@storybook/react';
3
- import type { DialogueProps, TaskManagerProps, TaskProps } from '@pega/cosmos-react-cs';
4
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
5
- export default _default;
6
- export interface TaskManagerStoryProps extends TaskManagerProps {
7
- initialTasks?: TaskProps[];
8
- main?: ReactNode;
9
- serviceTasksEmpty?: boolean;
10
- colGap?: number;
11
- rowGap?: number;
12
- verbatimStatus?: DialogueProps['verbatimStatus'];
13
- }
14
- export declare const TaskManagerDemo: StoryFn<TaskManagerStoryProps>;
15
- //# sourceMappingURL=TaskManager.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskManager.stories.d.ts","sourceRoot":"","sources":["../../../src/cs/TaskManager/TaskManager.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAkBtD,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AAWxF,wBAGU;AAIV,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;IAC7D,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;CAClD;AAED,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,qBAAqB,CA4e1D,CAAC"}