@pega/cosmos-react-demos 4.0.0-dev.1.1 → 4.0.0-dev.10.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 (495) hide show
  1. package/jsx/build/AppShell/AppShell.mocks.d.ts +18 -55
  2. package/jsx/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  3. package/jsx/build/AppShell/AppShell.mocks.jsx +249 -376
  4. package/jsx/build/AppShell/AppShell.mocks.jsx.map +1 -1
  5. package/jsx/build/AppShell/AppShell.stories.d.ts +13 -10
  6. package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
  7. package/jsx/build/AppShell/AppShell.stories.jsx +72 -98
  8. package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
  9. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +2 -0
  10. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -1
  11. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +23 -0
  12. package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -1
  13. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
  14. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +4 -4
  15. package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +1 -1
  16. package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  17. package/jsx/build/FlowModeller/FlowModeller.stories.jsx +125 -9
  18. package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
  19. package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  20. package/jsx/build/LifeCycle/LifeCycle.stories.jsx +44 -3
  21. package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
  22. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +1 -0
  23. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +1 -1
  24. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js +2 -1
  25. package/jsx/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +1 -1
  26. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts +3 -2
  27. package/jsx/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -1
  28. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx +3 -0
  29. package/jsx/build/ObjectSelect/ObjectSelect.mocks.jsx.map +1 -1
  30. package/jsx/build/PageBanner/PageBanner.stories.d.ts +15 -0
  31. package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +1 -0
  32. package/jsx/build/PageBanner/PageBanner.stories.jsx +41 -0
  33. package/jsx/build/PageBanner/PageBanner.stories.jsx.map +1 -0
  34. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts +0 -2
  35. package/jsx/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -1
  36. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx +1 -50
  37. package/jsx/build/PageTemplates/GalleryPage.mocks.jsx.map +1 -1
  38. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +7 -3
  39. package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  40. package/jsx/build/PageTemplates/GalleryPage.stories.jsx +32 -31
  41. package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
  42. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts +0 -1
  43. package/jsx/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  44. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx +2 -156
  45. package/jsx/build/PageTemplates/PageTemplates.mocks.jsx.map +1 -1
  46. package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  47. package/jsx/build/PageTemplates/PageTemplates.stories.jsx +6 -5
  48. package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  49. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +17 -0
  50. package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -0
  51. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx +42 -0
  52. package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +1 -0
  53. package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  54. package/jsx/condition-builder/ConditionBuilder/props.mock.js +4 -1
  55. package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  56. package/jsx/core/AppShell/AppShell.mocks.jsx +1 -1
  57. package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -1
  58. package/jsx/core/AppShell/AppShell.stories.d.ts +1 -0
  59. package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
  60. package/jsx/core/AppShell/AppShell.stories.jsx +52 -15
  61. package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
  62. package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
  63. package/jsx/core/Backdrop/Backdrop.stories.jsx +12 -12
  64. package/jsx/core/Backdrop/Backdrop.stories.jsx.map +1 -1
  65. package/jsx/core/Badges/Count.stories.jsx +1 -1
  66. package/jsx/core/Badges/Count.stories.jsx.map +1 -1
  67. package/jsx/core/Banner/Banner.stories.d.ts +8 -4
  68. package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
  69. package/jsx/core/Banner/Banner.stories.jsx +95 -46
  70. package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
  71. package/jsx/core/Currency/Currency.stories.d.ts +1 -1
  72. package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
  73. package/jsx/core/Dialog/Dialog.mocks.d.ts +26 -0
  74. package/jsx/core/Dialog/Dialog.mocks.d.ts.map +1 -0
  75. package/jsx/core/Dialog/Dialog.mocks.jsx +136 -0
  76. package/jsx/core/Dialog/Dialog.mocks.jsx.map +1 -0
  77. package/jsx/core/Dialog/Dialog.stories.d.ts +1 -1
  78. package/jsx/core/Dialog/Dialog.stories.d.ts.map +1 -1
  79. package/jsx/core/Dialog/Dialog.stories.jsx +78 -69
  80. package/jsx/core/Dialog/Dialog.stories.jsx.map +1 -1
  81. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  82. package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  83. package/jsx/core/Form/Form.stories.d.ts.map +1 -1
  84. package/jsx/core/Form/Form.stories.jsx +2 -2
  85. package/jsx/core/Form/Form.stories.jsx.map +1 -1
  86. package/jsx/core/Link/Link.stories.d.ts +8 -4
  87. package/jsx/core/Link/Link.stories.d.ts.map +1 -1
  88. package/jsx/core/Link/Link.stories.jsx +13 -30
  89. package/jsx/core/Link/Link.stories.jsx.map +1 -1
  90. package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  91. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +47 -52
  92. package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -1
  93. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +1 -2
  94. package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  95. package/jsx/core/ListToolbar/ListToolbar.stories.jsx +13 -18
  96. package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
  97. package/jsx/core/LiveLog/LiveLog.mocks.d.ts +5 -0
  98. package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +1 -0
  99. package/jsx/core/LiveLog/LiveLog.mocks.jsx +47 -0
  100. package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +1 -0
  101. package/jsx/core/LiveLog/LiveLog.stories.d.ts +9 -0
  102. package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +1 -0
  103. package/jsx/core/LiveLog/LiveLog.stories.jsx +19 -0
  104. package/jsx/core/LiveLog/LiveLog.stories.jsx.map +1 -0
  105. package/jsx/core/Location/Location.stories.jsx +2 -2
  106. package/jsx/core/Location/Location.stories.jsx.map +1 -1
  107. package/jsx/core/MenuButton/MenuButton.stories.d.ts +1 -1
  108. package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  109. package/jsx/core/Modal/Modal.mocks.d.ts +1 -1
  110. package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -1
  111. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +4 -1
  112. package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  113. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +25 -3
  114. package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -1
  115. package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  116. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +59 -29
  117. package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
  118. package/jsx/core/Number/Number.stories.d.ts +1 -1
  119. package/jsx/core/Number/Number.stories.d.ts.map +1 -1
  120. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +1 -1
  121. package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  122. package/jsx/core/PageTemplates/PageTemplates.stories.jsx +2 -2
  123. package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
  124. package/jsx/core/Progress/Progress.stories.d.ts +7 -2
  125. package/jsx/core/Progress/Progress.stories.d.ts.map +1 -1
  126. package/jsx/core/Progress/Progress.stories.jsx +82 -51
  127. package/jsx/core/Progress/Progress.stories.jsx.map +1 -1
  128. package/jsx/core/Progress/Progress.styles.d.ts.map +1 -1
  129. package/jsx/core/Progress/Progress.styles.js +2 -1
  130. package/jsx/core/Progress/Progress.styles.js.map +1 -1
  131. package/jsx/core/QRCode/QRCode.stories.d.ts +9 -0
  132. package/jsx/core/QRCode/QRCode.stories.d.ts.map +1 -0
  133. package/jsx/core/QRCode/QRCode.stories.jsx +17 -0
  134. package/jsx/core/QRCode/QRCode.stories.jsx.map +1 -0
  135. package/jsx/core/SearchInput/SearchInput.stories.jsx +1 -1
  136. package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
  137. package/jsx/core/Slider/Slider.stories.d.ts +1 -1
  138. package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
  139. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +1 -1
  140. package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  141. package/jsx/core/Tree/Tree.stories.d.ts +1 -1
  142. package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
  143. package/jsx/core/Tree/Tree.stories.jsx +10 -18
  144. package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
  145. package/jsx/core/URL/URL.stories.jsx +1 -1
  146. package/jsx/core/URL/URL.stories.jsx.map +1 -1
  147. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts +18 -1
  148. package/jsx/cs/CSAppShell/CSAppShell.mocks.d.ts.map +1 -1
  149. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx +139 -4
  150. package/jsx/cs/CSAppShell/CSAppShell.mocks.jsx.map +1 -1
  151. package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
  152. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx +3 -33
  153. package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +1 -1
  154. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts +2 -2
  155. package/jsx/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  156. package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  157. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx +1 -2
  158. package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
  159. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -1
  160. package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  161. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx +18 -4
  162. package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
  163. package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  164. package/jsx/cs/TaskManager/TaskManager.stories.jsx +1 -1
  165. package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
  166. package/jsx/dnd/StandardDragDropList/Popover.d.ts +1 -1
  167. package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  168. package/jsx/dnd/StandardDragDropList/mockData.d.ts +2 -2
  169. package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +1 -1
  170. package/jsx/rte/Editor/Editor.mocks.d.ts +7 -0
  171. package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -1
  172. package/jsx/social/Chat/Chat.mocks.d.ts +2 -1
  173. package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
  174. package/jsx/social/Chat/Chat.mocks.js +26 -0
  175. package/jsx/social/Chat/Chat.mocks.js.map +1 -1
  176. package/jsx/social/Chat/Chat.stories.d.ts +5 -2
  177. package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
  178. package/jsx/social/Chat/Chat.stories.jsx +35 -103
  179. package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
  180. package/jsx/social/Email/Email.mocks.d.ts +50 -8
  181. package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
  182. package/jsx/social/Email/Email.mocks.jsx +130 -18
  183. package/jsx/social/Email/Email.mocks.jsx.map +1 -1
  184. package/jsx/social/Email/Email.stories.d.ts +10 -0
  185. package/jsx/social/Email/Email.stories.d.ts.map +1 -1
  186. package/jsx/social/Email/Email.stories.jsx +143 -23
  187. package/jsx/social/Email/Email.stories.jsx.map +1 -1
  188. package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
  189. package/jsx/social/Feed/Feed.mocks.jsx +2 -2
  190. package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
  191. package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
  192. package/jsx/social/Feed/FeedPost.stories.jsx +1 -3
  193. package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
  194. package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
  195. package/jsx/tools/Clipboard/Clipboard.stories.jsx +12 -14
  196. package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +1 -1
  197. package/jsx/tools/DevTools/DevTools.stories.d.ts.map +1 -1
  198. package/jsx/tools/DevTools/DevTools.stories.jsx +2 -4
  199. package/jsx/tools/DevTools/DevTools.stories.jsx.map +1 -1
  200. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts +13 -1
  201. package/jsx/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -1
  202. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx +27 -2
  203. package/jsx/tools/PreviewShell/PreviewShell.mocks.jsx.map +1 -1
  204. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +4 -2
  205. package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  206. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx +77 -51
  207. package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +1 -1
  208. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts +1 -2
  209. package/jsx/tools/PreviewShell/PreviewShell.styles.d.ts.map +1 -1
  210. package/jsx/tools/PreviewShell/PreviewShell.styles.js +1 -2
  211. package/jsx/tools/PreviewShell/PreviewShell.styles.js.map +1 -1
  212. package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  213. package/jsx/work/CaseView/Attachments.mocks.jsx +3 -3
  214. package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
  215. package/jsx/work/CaseView/CaseView.mocks.d.ts +4 -16
  216. package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  217. package/jsx/work/CaseView/CaseView.mocks.jsx +25 -13
  218. package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
  219. package/jsx/work/CaseView/CaseView.stories.jsx +2 -3
  220. package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
  221. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  222. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +9 -2
  223. package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
  224. package/jsx/work/SearchResults/SearchResults.mocks.d.ts +1 -1
  225. package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  226. package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  227. package/jsx/work/SearchResults/SearchResults.stories.jsx +21 -2
  228. package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
  229. package/jsx/work/Stages/Stages.mocks.jsx +6 -6
  230. package/jsx/work/Stages/Stages.mocks.jsx.map +1 -1
  231. package/jsx/work/Stages/Stages.stories.d.ts.map +1 -1
  232. package/jsx/work/Stages/Stages.stories.jsx +22 -8
  233. package/jsx/work/Stages/Stages.stories.jsx.map +1 -1
  234. package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -1
  235. package/jsx/work/Tasks/Tasks.stories.jsx +15 -13
  236. package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
  237. package/jsx/work/Timeline/Timeline.stories.jsx +1 -1
  238. package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
  239. package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -1
  240. package/jsx/wss/AppShell/AppShell.stories.jsx +18 -0
  241. package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -1
  242. package/jsx/wss/CaseView/CaseView.stories.jsx +1 -1
  243. package/jsx/wss/CaseView/CaseView.stories.jsx.map +1 -1
  244. package/lib/build/AppShell/AppShell.mocks.d.ts +18 -55
  245. package/lib/build/AppShell/AppShell.mocks.d.ts.map +1 -1
  246. package/lib/build/AppShell/AppShell.mocks.js +249 -376
  247. package/lib/build/AppShell/AppShell.mocks.js.map +1 -1
  248. package/lib/build/AppShell/AppShell.stories.d.ts +13 -10
  249. package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
  250. package/lib/build/AppShell/AppShell.stories.js +70 -98
  251. package/lib/build/AppShell/AppShell.stories.js.map +1 -1
  252. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +2 -0
  253. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -1
  254. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +23 -0
  255. package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -1
  256. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
  257. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +4 -4
  258. package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +1 -1
  259. package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
  260. package/lib/build/FlowModeller/FlowModeller.stories.js +119 -9
  261. package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
  262. package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
  263. package/lib/build/LifeCycle/LifeCycle.stories.js +44 -4
  264. package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
  265. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts +1 -0
  266. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.d.ts.map +1 -1
  267. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js +2 -1
  268. package/lib/build/MobileBuildSummary/MobileBuildSummary.mocks.js.map +1 -1
  269. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts +3 -2
  270. package/lib/build/ObjectSelect/ObjectSelect.mocks.d.ts.map +1 -1
  271. package/lib/build/ObjectSelect/ObjectSelect.mocks.js +3 -0
  272. package/lib/build/ObjectSelect/ObjectSelect.mocks.js.map +1 -1
  273. package/lib/build/PageBanner/PageBanner.stories.d.ts +15 -0
  274. package/lib/build/PageBanner/PageBanner.stories.d.ts.map +1 -0
  275. package/lib/build/PageBanner/PageBanner.stories.js +42 -0
  276. package/lib/build/PageBanner/PageBanner.stories.js.map +1 -0
  277. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts +0 -2
  278. package/lib/build/PageTemplates/GalleryPage.mocks.d.ts.map +1 -1
  279. package/lib/build/PageTemplates/GalleryPage.mocks.js +1 -50
  280. package/lib/build/PageTemplates/GalleryPage.mocks.js.map +1 -1
  281. package/lib/build/PageTemplates/GalleryPage.stories.d.ts +7 -3
  282. package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
  283. package/lib/build/PageTemplates/GalleryPage.stories.js +32 -31
  284. package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
  285. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts +0 -1
  286. package/lib/build/PageTemplates/PageTemplates.mocks.d.ts.map +1 -1
  287. package/lib/build/PageTemplates/PageTemplates.mocks.js +2 -154
  288. package/lib/build/PageTemplates/PageTemplates.mocks.js.map +1 -1
  289. package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  290. package/lib/build/PageTemplates/PageTemplates.stories.js +4 -5
  291. package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
  292. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +17 -0
  293. package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -0
  294. package/lib/build/PageTemplates/ShowcasePage.stories.js +43 -0
  295. package/lib/build/PageTemplates/ShowcasePage.stories.js.map +1 -0
  296. package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
  297. package/lib/condition-builder/ConditionBuilder/props.mock.js +4 -1
  298. package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
  299. package/lib/core/AppShell/AppShell.mocks.js +1 -1
  300. package/lib/core/AppShell/AppShell.mocks.js.map +1 -1
  301. package/lib/core/AppShell/AppShell.stories.d.ts +1 -0
  302. package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
  303. package/lib/core/AppShell/AppShell.stories.js +52 -15
  304. package/lib/core/AppShell/AppShell.stories.js.map +1 -1
  305. package/lib/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
  306. package/lib/core/Backdrop/Backdrop.stories.js +2 -2
  307. package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
  308. package/lib/core/Badges/Count.stories.js +1 -1
  309. package/lib/core/Badges/Count.stories.js.map +1 -1
  310. package/lib/core/Banner/Banner.stories.d.ts +8 -4
  311. package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
  312. package/lib/core/Banner/Banner.stories.js +92 -32
  313. package/lib/core/Banner/Banner.stories.js.map +1 -1
  314. package/lib/core/Currency/Currency.stories.d.ts +1 -1
  315. package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
  316. package/lib/core/Dialog/Dialog.mocks.d.ts +26 -0
  317. package/lib/core/Dialog/Dialog.mocks.d.ts.map +1 -0
  318. package/lib/core/Dialog/Dialog.mocks.js +132 -0
  319. package/lib/core/Dialog/Dialog.mocks.js.map +1 -0
  320. package/lib/core/Dialog/Dialog.stories.d.ts +1 -1
  321. package/lib/core/Dialog/Dialog.stories.d.ts.map +1 -1
  322. package/lib/core/Dialog/Dialog.stories.js +65 -41
  323. package/lib/core/Dialog/Dialog.stories.js.map +1 -1
  324. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +1 -1
  325. package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
  326. package/lib/core/Form/Form.stories.d.ts.map +1 -1
  327. package/lib/core/Form/Form.stories.js +2 -2
  328. package/lib/core/Form/Form.stories.js.map +1 -1
  329. package/lib/core/Link/Link.stories.d.ts +8 -4
  330. package/lib/core/Link/Link.stories.d.ts.map +1 -1
  331. package/lib/core/Link/Link.stories.js +6 -9
  332. package/lib/core/Link/Link.stories.js.map +1 -1
  333. package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -1
  334. package/lib/core/ListToolbar/ListToolbar.mocks.js +26 -33
  335. package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -1
  336. package/lib/core/ListToolbar/ListToolbar.stories.d.ts +1 -2
  337. package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
  338. package/lib/core/ListToolbar/ListToolbar.stories.js +23 -20
  339. package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
  340. package/lib/core/LiveLog/LiveLog.mocks.d.ts +5 -0
  341. package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +1 -0
  342. package/lib/core/LiveLog/LiveLog.mocks.js +29 -0
  343. package/lib/core/LiveLog/LiveLog.mocks.js.map +1 -0
  344. package/lib/core/LiveLog/LiveLog.stories.d.ts +9 -0
  345. package/lib/core/LiveLog/LiveLog.stories.d.ts.map +1 -0
  346. package/lib/core/LiveLog/LiveLog.stories.js +20 -0
  347. package/lib/core/LiveLog/LiveLog.stories.js.map +1 -0
  348. package/lib/core/Location/Location.stories.js +2 -2
  349. package/lib/core/Location/Location.stories.js.map +1 -1
  350. package/lib/core/MenuButton/MenuButton.stories.d.ts +1 -1
  351. package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
  352. package/lib/core/Modal/Modal.mocks.d.ts +1 -1
  353. package/lib/core/Modal/Modal.mocks.d.ts.map +1 -1
  354. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +4 -1
  355. package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
  356. package/lib/core/MultiStepForm/MultiStepForm.mocks.js +17 -4
  357. package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -1
  358. package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
  359. package/lib/core/MultiStepForm/MultiStepForm.stories.js +57 -27
  360. package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
  361. package/lib/core/Number/Number.stories.d.ts +1 -1
  362. package/lib/core/Number/Number.stories.d.ts.map +1 -1
  363. package/lib/core/PageTemplates/PageTemplates.stories.d.ts +1 -1
  364. package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
  365. package/lib/core/PageTemplates/PageTemplates.stories.js +2 -2
  366. package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
  367. package/lib/core/Progress/Progress.stories.d.ts +7 -2
  368. package/lib/core/Progress/Progress.stories.d.ts.map +1 -1
  369. package/lib/core/Progress/Progress.stories.js +68 -44
  370. package/lib/core/Progress/Progress.stories.js.map +1 -1
  371. package/lib/core/Progress/Progress.styles.d.ts.map +1 -1
  372. package/lib/core/Progress/Progress.styles.js +2 -1
  373. package/lib/core/Progress/Progress.styles.js.map +1 -1
  374. package/lib/core/QRCode/QRCode.stories.d.ts +9 -0
  375. package/lib/core/QRCode/QRCode.stories.d.ts.map +1 -0
  376. package/lib/core/QRCode/QRCode.stories.js +18 -0
  377. package/lib/core/QRCode/QRCode.stories.js.map +1 -0
  378. package/lib/core/SearchInput/SearchInput.stories.js +1 -1
  379. package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
  380. package/lib/core/Slider/Slider.stories.d.ts +1 -1
  381. package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
  382. package/lib/core/SummaryItem/SummaryItem.stories.d.ts +1 -1
  383. package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
  384. package/lib/core/Tree/Tree.stories.d.ts +1 -1
  385. package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
  386. package/lib/core/Tree/Tree.stories.js +10 -20
  387. package/lib/core/Tree/Tree.stories.js.map +1 -1
  388. package/lib/core/URL/URL.stories.js +1 -1
  389. package/lib/core/URL/URL.stories.js.map +1 -1
  390. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts +18 -1
  391. package/lib/cs/CSAppShell/CSAppShell.mocks.d.ts.map +1 -1
  392. package/lib/cs/CSAppShell/CSAppShell.mocks.js +109 -4
  393. package/lib/cs/CSAppShell/CSAppShell.mocks.js.map +1 -1
  394. package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
  395. package/lib/cs/CSAppShell/CSAppShell.stories.js +4 -17
  396. package/lib/cs/CSAppShell/CSAppShell.stories.js.map +1 -1
  397. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts +2 -2
  398. package/lib/cs/CallControlPanel/CallControlPanel.mocks.d.ts.map +1 -1
  399. package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
  400. package/lib/cs/CallControlPanel/CallControlPanel.stories.js +1 -2
  401. package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
  402. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -1
  403. package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
  404. package/lib/cs/InteractionNotification/InteractionNotification.stories.js +18 -4
  405. package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
  406. package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
  407. package/lib/cs/TaskManager/TaskManager.stories.js +1 -1
  408. package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
  409. package/lib/dnd/StandardDragDropList/Popover.d.ts +1 -1
  410. package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
  411. package/lib/dnd/StandardDragDropList/mockData.d.ts +2 -2
  412. package/lib/dnd/StandardDragDropList/mockData.d.ts.map +1 -1
  413. package/lib/rte/Editor/Editor.mocks.d.ts +7 -0
  414. package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -1
  415. package/lib/social/Chat/Chat.mocks.d.ts +2 -1
  416. package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
  417. package/lib/social/Chat/Chat.mocks.js +26 -0
  418. package/lib/social/Chat/Chat.mocks.js.map +1 -1
  419. package/lib/social/Chat/Chat.stories.d.ts +5 -2
  420. package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
  421. package/lib/social/Chat/Chat.stories.js +36 -78
  422. package/lib/social/Chat/Chat.stories.js.map +1 -1
  423. package/lib/social/Email/Email.mocks.d.ts +50 -8
  424. package/lib/social/Email/Email.mocks.d.ts.map +1 -1
  425. package/lib/social/Email/Email.mocks.js +130 -18
  426. package/lib/social/Email/Email.mocks.js.map +1 -1
  427. package/lib/social/Email/Email.stories.d.ts +10 -0
  428. package/lib/social/Email/Email.stories.d.ts.map +1 -1
  429. package/lib/social/Email/Email.stories.js +148 -23
  430. package/lib/social/Email/Email.stories.js.map +1 -1
  431. package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
  432. package/lib/social/Feed/Feed.mocks.js +2 -2
  433. package/lib/social/Feed/Feed.mocks.js.map +1 -1
  434. package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
  435. package/lib/social/Feed/FeedPost.stories.js +1 -1
  436. package/lib/social/Feed/FeedPost.stories.js.map +1 -1
  437. package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
  438. package/lib/tools/Clipboard/Clipboard.stories.js +13 -17
  439. package/lib/tools/Clipboard/Clipboard.stories.js.map +1 -1
  440. package/lib/tools/DevTools/DevTools.stories.d.ts.map +1 -1
  441. package/lib/tools/DevTools/DevTools.stories.js +2 -4
  442. package/lib/tools/DevTools/DevTools.stories.js.map +1 -1
  443. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts +13 -1
  444. package/lib/tools/PreviewShell/PreviewShell.mocks.d.ts.map +1 -1
  445. package/lib/tools/PreviewShell/PreviewShell.mocks.js +23 -2
  446. package/lib/tools/PreviewShell/PreviewShell.mocks.js.map +1 -1
  447. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +4 -2
  448. package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
  449. package/lib/tools/PreviewShell/PreviewShell.stories.js +72 -52
  450. package/lib/tools/PreviewShell/PreviewShell.stories.js.map +1 -1
  451. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts +1 -2
  452. package/lib/tools/PreviewShell/PreviewShell.styles.d.ts.map +1 -1
  453. package/lib/tools/PreviewShell/PreviewShell.styles.js +1 -2
  454. package/lib/tools/PreviewShell/PreviewShell.styles.js.map +1 -1
  455. package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
  456. package/lib/work/CaseView/Attachments.mocks.js +3 -3
  457. package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
  458. package/lib/work/CaseView/CaseView.mocks.d.ts +4 -16
  459. package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
  460. package/lib/work/CaseView/CaseView.mocks.js +25 -13
  461. package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
  462. package/lib/work/CaseView/CaseView.stories.js +2 -3
  463. package/lib/work/CaseView/CaseView.stories.js.map +1 -1
  464. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
  465. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +9 -2
  466. package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
  467. package/lib/work/SearchResults/SearchResults.mocks.d.ts +1 -1
  468. package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
  469. package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
  470. package/lib/work/SearchResults/SearchResults.stories.js +21 -2
  471. package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
  472. package/lib/work/Stages/Stages.mocks.js +6 -6
  473. package/lib/work/Stages/Stages.mocks.js.map +1 -1
  474. package/lib/work/Stages/Stages.stories.d.ts.map +1 -1
  475. package/lib/work/Stages/Stages.stories.js +22 -8
  476. package/lib/work/Stages/Stages.stories.js.map +1 -1
  477. package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -1
  478. package/lib/work/Tasks/Tasks.stories.js +2 -2
  479. package/lib/work/Tasks/Tasks.stories.js.map +1 -1
  480. package/lib/work/Timeline/Timeline.stories.js +1 -1
  481. package/lib/work/Timeline/Timeline.stories.js.map +1 -1
  482. package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -1
  483. package/lib/wss/AppShell/AppShell.stories.js +18 -0
  484. package/lib/wss/AppShell/AppShell.stories.js.map +1 -1
  485. package/lib/wss/CaseView/CaseView.stories.js +1 -1
  486. package/lib/wss/CaseView/CaseView.stories.js.map +1 -1
  487. package/package.json +12 -11
  488. package/jsx/build/AppHeader/AppHeader.stories.d.ts +0 -13
  489. package/jsx/build/AppHeader/AppHeader.stories.d.ts.map +0 -1
  490. package/jsx/build/AppHeader/AppHeader.stories.jsx +0 -153
  491. package/jsx/build/AppHeader/AppHeader.stories.jsx.map +0 -1
  492. package/lib/build/AppHeader/AppHeader.stories.d.ts +0 -13
  493. package/lib/build/AppHeader/AppHeader.stories.d.ts.map +0 -1
  494. package/lib/build/AppHeader/AppHeader.stories.js +0 -152
  495. package/lib/build/AppHeader/AppHeader.stories.js.map +0 -1
@@ -1,8 +1,10 @@
1
1
  import { TabbedPage, Text } from '@pega/cosmos-react-core';
2
+ import { ShowcasePage } from '@pega/cosmos-react-build';
3
+ import { TableDemo } from '../../core/Table/Table.stories';
2
4
  export const getPath = (args) => {
3
- const { showBreadcrumbs, pageContent: { data: { pageTitle, breadcrumbsPath } } } = args;
5
+ const { showBreadcrumbs, pageContent: { title, breadcrumbsPath } } = args;
4
6
  if (showBreadcrumbs) {
5
- const path = pageTitle === 'Overview' ? 'Home' : breadcrumbsPath;
7
+ const path = title === 'Overview' ? 'Home' : breadcrumbsPath;
6
8
  return path
7
9
  ? path.split(',').map((crumb, i) => {
8
10
  return {
@@ -14,512 +16,372 @@ export const getPath = (args) => {
14
16
  : [];
15
17
  }
16
18
  };
17
- export const appExplorerMenuList = [
19
+ export const defaultNavItems = [
18
20
  {
19
- id: '50',
20
- label: 'SysAdmin',
21
- nodes: [
22
- {
23
- id: '54',
24
- label: 'Class',
25
- nodes: [
26
- {
27
- id: '55',
28
- label: 'OJ4RFS-PegaTest-Work'
29
- }
30
- ]
31
- }
32
- ]
21
+ id: 'overview',
22
+ label: 'Overview',
23
+ href: '#overview',
24
+ icon: 'home-solid'
33
25
  },
34
26
  {
35
- id: '51',
36
- label: 'XCompass',
37
- nodes: [
38
- {
39
- id: '56',
40
- label: 'Data Model'
41
- },
27
+ id: 'caseTypes',
28
+ label: 'Case Types',
29
+ icon: 'chevron-solid',
30
+ href: '#caseTypes'
31
+ },
32
+ {
33
+ id: 'liveData',
34
+ label: 'Live Data',
35
+ href: '#liveData',
36
+ icon: 'disc-stack-solid'
37
+ },
38
+ {
39
+ id: 'insights',
40
+ label: 'Insights',
41
+ href: '#insights',
42
+ icon: 'search-analytics-solid'
43
+ },
44
+ {
45
+ id: 'personas',
46
+ label: 'Personas',
47
+ href: '#personas',
48
+ icon: 'users-solid'
49
+ },
50
+ {
51
+ id: 'appSettings',
52
+ label: 'App Settings',
53
+ href: '#appSettings',
54
+ icon: 'gear-solid'
55
+ },
56
+ {
57
+ id: 'rulesLibrary',
58
+ label: 'Rules Library',
59
+ icon: 'book-solid',
60
+ items: [
61
+ { id: 'appLogic', label: 'App Logic', href: '#appLogic' },
62
+ { id: 'application', label: 'Application', href: '#application' },
63
+ { id: 'data', label: 'Data', href: '#data' },
42
64
  {
43
- id: '57',
44
- label: 'Process',
45
- nodes: [
65
+ id: 'integration',
66
+ label: 'Integration',
67
+ items: [
68
+ { id: 'emailAccounts', label: 'Email Accounts', href: '#emailAccounts' },
46
69
  {
47
- id: '60',
48
- label: 'Case Type'
70
+ id: 'integrationSystems',
71
+ label: 'Integration Systems',
72
+ href: '#integrationSystems'
49
73
  },
50
74
  {
51
- id: '61',
52
- label: 'Flow'
75
+ id: 'jsonTransforms',
76
+ label: 'JSON Transforms',
77
+ href: '#jsonTransforms'
53
78
  },
54
79
  {
55
- id: '62',
56
- label: 'Work Parties'
80
+ id: 'restConnectors',
81
+ label: 'REST Connectors',
82
+ href: '#restConnectors'
57
83
  }
58
84
  ]
59
85
  },
60
86
  {
61
- id: '58',
62
- label: 'Reports',
63
- nodes: [
87
+ id: 'process',
88
+ label: 'Process',
89
+ items: [
90
+ { id: 'process-actions', label: 'Actions', href: '#actions' },
91
+ { id: 'process-caseStatus', label: 'Case Status', href: '#caseStatus' },
92
+ { id: 'process-caseTypes', label: 'Case Types', href: '#caseTypes' },
93
+ { id: 'process-processes', label: 'Processes', href: '#processes' },
94
+ { id: 'process-SLAs', label: 'SLAs', href: '#SLAs' },
95
+ { id: 'process-stages', label: 'Stages', href: '#stages' },
96
+ { id: 'process-workQueues', label: 'Work Queues', href: '#workQueues' }
97
+ ]
98
+ },
99
+ {
100
+ id: 'security',
101
+ label: 'Security',
102
+ items: [
103
+ {
104
+ id: 'accessConditions',
105
+ label: 'Access Conditions',
106
+ href: '#accessConditions'
107
+ },
108
+ { id: 'accessGroups', label: 'Access Groups', href: '#accessGroups' },
64
109
  {
65
- id: '63',
66
- label: 'Report Definition'
110
+ id: 'accessPolicies',
111
+ label: 'Access Policies',
112
+ href: '#accessPolicies'
113
+ },
114
+ { id: 'accessRoles', label: 'Access Roles', href: '#accessRoles' },
115
+ {
116
+ id: 'authentication',
117
+ label: 'Authentication',
118
+ items: [
119
+ {
120
+ id: 'authProfiles',
121
+ label: 'Authentication Profiles',
122
+ href: '#authProfiles'
123
+ }
124
+ ]
67
125
  }
68
126
  ]
69
127
  },
70
- {
71
- id: '59',
72
- label: 'SysAdmin'
73
- }
128
+ { id: 'systemAdmin', label: 'System Admin', href: '#systemAdmin' },
129
+ { id: 'userInterface', label: 'User Interface', href: '#userInterface' }
74
130
  ]
75
131
  }
76
132
  ];
77
- export const branchesMenuList = [
78
- {
79
- icon: 'nodes-right',
80
- id: '40',
81
- label: 'Theme-Cosmos'
82
- },
83
- {
84
- icon: 'nodes-right',
85
- id: '41',
86
- label: 'PegaDevelopment'
87
- },
88
- {
89
- icon: 'nodes-right',
90
- id: '42',
91
- label: 'PegaSSOT'
92
- },
93
- {
94
- icon: 'nodes-right',
95
- id: '43',
96
- label: 'PegaRULES'
97
- }
98
- ];
99
133
  export const contents = [
100
134
  {
101
- id: '1',
135
+ id: 'overview',
102
136
  data: {
103
- pageTitle: 'Application definition',
137
+ template: 'tabbed',
138
+ title: 'Overview',
104
139
  breadcrumbsPath: 'Home',
105
140
  tabs: ['Application']
106
141
  }
107
142
  },
108
143
  {
109
- id: '100',
144
+ id: 'caseTypes',
110
145
  data: {
111
- pageTitle: 'Decisions',
112
- breadcrumbsPath: 'Home, U+ Desk',
113
- tabs: ['Application', 'User Interface']
146
+ template: 'showcase',
147
+ title: 'Case Types',
148
+ description: 'Case Types are the life cycles, or units of work, that deliver a meaningful result to customers and users. Case Types are a part of the overall customer journey that achieves all of a subset of the required business outcomes.',
149
+ actionLabel: 'Add Case Type',
150
+ imageSrc: './build-live-data.svg'
114
151
  }
115
152
  },
116
153
  {
117
- id: '101',
154
+ id: 'liveData',
118
155
  data: {
119
- pageTitle: 'Validations',
120
- breadcrumbsPath: 'Home, U+ Desk',
121
- tabs: ['Application']
156
+ template: 'showcase',
157
+ title: 'Live Data',
158
+ description: 'Live Data allows users to quickly and easily define the data required to build the apps they need, and then access that data in their running application - all without having to worry about how and where the data is actually stored and accessed.',
159
+ actionLabel: 'Add Data Type',
160
+ imageSrc: './build-live-data.svg'
122
161
  }
123
162
  },
124
163
  {
125
- id: '102',
164
+ id: 'insights',
126
165
  data: {
127
- pageTitle: 'When',
128
- breadcrumbsPath: 'Home, U+ Desk',
129
- tabs: ['Application', 'User Interface']
166
+ template: 'showcase',
167
+ title: 'Insights',
168
+ description: 'Insights allow you to easily explore and analyze data in your application. You can use Insights to transform data queries into tables or visualizations that you can share between users.',
169
+ actionLabel: 'Add Insight',
170
+ imageSrc: './build-live-data.svg'
130
171
  }
131
172
  },
132
173
  {
133
- id: '103',
174
+ id: 'personas',
134
175
  data: {
135
- pageTitle: 'Configuration sets',
136
- breadcrumbsPath: 'Home, U+ Desk',
137
- tabs: ['Application']
176
+ template: 'showcase',
177
+ title: 'Personas',
178
+ description: 'A Persona is the business representation of a role. Personas are made up of a collection of permissions, portals and work queues that define the user experience of an application.',
179
+ actionLabel: 'Add Persona',
180
+ imageSrc: './build-live-data.svg'
138
181
  }
139
182
  },
140
183
  {
141
- id: '104',
184
+ id: 'appSettings',
142
185
  data: {
143
- pageTitle: 'Data pages',
144
- breadcrumbsPath: 'Home, U+ Desk',
145
- tabs: ['Application', 'User Interface']
146
- }
147
- },
148
- {
149
- id: '105',
150
- data: {
151
- pageTitle: 'Data sources',
152
- breadcrumbsPath: 'Home, U+ Desk',
153
- tabs: ['Application']
154
- }
155
- },
156
- {
157
- id: '106',
158
- data: {
159
- pageTitle: 'Data transforms',
160
- breadcrumbsPath: 'Home, U+ Desk',
161
- tabs: ['Application', 'User Interface']
162
- }
163
- },
164
- {
165
- id: '107',
166
- data: {
167
- pageTitle: 'Fields',
168
- breadcrumbsPath: 'Home, U+ Desk',
169
- tabs: ['Application']
170
- }
171
- },
172
- {
173
- id: '108',
174
- data: {
175
- pageTitle: 'Queries',
176
- breadcrumbsPath: 'Home, U+ Desk',
177
- tabs: ['Application', 'User Interface']
178
- }
179
- },
180
- {
181
- id: '109',
182
- data: {
183
- pageTitle: 'Email account',
184
- breadcrumbsPath: 'Home, U+ Desk',
185
- tabs: ['Application']
186
- }
187
- },
188
- {
189
- id: '110',
190
- data: {
191
- pageTitle: 'Integration systems',
192
- breadcrumbsPath: 'Home, U+ Desk',
193
- tabs: ['Application', 'User Interface']
194
- }
195
- },
196
- {
197
- id: '111',
198
- data: {
199
- pageTitle: 'Actions',
200
- breadcrumbsPath: 'Home, U+ Desk',
201
- tabs: ['Application']
202
- }
203
- },
204
- {
205
- id: '112',
206
- data: {
207
- pageTitle: 'Automations',
208
- breadcrumbsPath: 'Home, U+ Desk',
209
- tabs: ['Application', 'User Interface']
210
- }
211
- },
212
- {
213
- id: '113',
214
- data: {
215
- pageTitle: 'Access groups',
216
- breadcrumbsPath: 'Home, U+ Desk',
217
- tabs: ['Application']
186
+ template: 'tabbed',
187
+ title: 'App Settings',
188
+ breadcrumbsPath: 'Home',
189
+ tabs: ['App Settings']
218
190
  }
219
191
  },
220
192
  {
221
- id: '114',
193
+ id: 'appLogic',
222
194
  data: {
223
- pageTitle: 'Access roles',
224
- breadcrumbsPath: 'Home, U+ Desk',
225
- tabs: ['Application', 'User Interface']
195
+ template: 'tabbed',
196
+ title: 'App Logic',
197
+ breadcrumbsPath: 'Home, Rules Library',
198
+ tabs: ['Rules Library', 'App Logic']
226
199
  }
227
200
  },
228
201
  {
229
- id: '55',
202
+ id: 'application',
230
203
  data: {
231
- pageTitle: 'OJ4RFS-PegaTest-Work',
232
- breadcrumbsPath: 'Home, U+ Desk',
233
- tabs: ['Application']
204
+ template: 'tabbed',
205
+ title: 'Application',
206
+ breadcrumbsPath: 'Home, Rules Library',
207
+ tabs: ['Rules Library', 'Application']
234
208
  }
235
209
  },
236
210
  {
237
- id: '',
211
+ id: 'data',
238
212
  data: {
239
- pageTitle: 'OJ4RFS-PegaTest-Work',
240
- breadcrumbsPath: 'Home, U+ Desk',
241
- tabs: ['Application', 'User Interface']
213
+ template: 'tabbed',
214
+ title: 'Data',
215
+ breadcrumbsPath: 'Home, Rules Library',
216
+ tabs: ['Rules Library', 'Data']
242
217
  }
243
218
  },
244
219
  {
245
- id: '56',
220
+ id: 'emailAccounts',
246
221
  data: {
247
- pageTitle: 'Data Model',
248
- breadcrumbsPath: 'Home, U+ Desk',
249
- tabs: ['Application']
222
+ template: 'tabbed',
223
+ title: 'Email Accounts',
224
+ breadcrumbsPath: 'Home, Rules Library, Integration',
225
+ tabs: ['Rules Library', 'Integration', 'Email Accounts']
250
226
  }
251
227
  },
252
228
  {
253
- id: '60',
229
+ id: 'integrationSystems',
254
230
  data: {
255
- pageTitle: 'Case Type',
256
- breadcrumbsPath: 'Home, U+ Desk',
257
- tabs: ['Application', 'User Interface']
231
+ template: 'tabbed',
232
+ title: 'Integration Systems',
233
+ breadcrumbsPath: 'Home, Rules Library, Integration',
234
+ tabs: ['Rules Library', 'Integration', 'Integration Systems']
258
235
  }
259
236
  },
260
237
  {
261
- id: '61',
238
+ id: 'jsonTransforms',
262
239
  data: {
263
- pageTitle: 'Flow',
264
- breadcrumbsPath: 'Home, U+ Desk',
265
- tabs: ['Application']
240
+ template: 'tabbed',
241
+ title: 'JSON Transforms',
242
+ breadcrumbsPath: 'Home, Rules Library, Integration',
243
+ tabs: ['Rules Library', 'Integration', 'JSON Transforms']
266
244
  }
267
245
  },
268
246
  {
269
- id: '62',
247
+ id: 'restConnectors',
270
248
  data: {
271
- pageTitle: 'Work Parties',
272
- breadcrumbsPath: 'Home, U+ Desk',
273
- tabs: ['Application', 'User Interface']
249
+ template: 'tabbed',
250
+ title: 'REST Connectors',
251
+ breadcrumbsPath: 'Home, Rules Library, Integration',
252
+ tabs: ['Rules Library', 'Integration', 'REST Connectors']
274
253
  }
275
254
  },
276
255
  {
277
- id: '63',
256
+ id: 'process-actions',
278
257
  data: {
279
- pageTitle: 'Report Definition',
280
- breadcrumbsPath: 'Home, U+ Desk',
281
- tabs: ['Application']
258
+ template: 'tabbed',
259
+ title: 'Actions',
260
+ breadcrumbsPath: 'Home, Rules Library, Process',
261
+ tabs: ['Rules Library', 'Process', 'Actions']
282
262
  }
283
263
  },
284
264
  {
285
- id: '59',
265
+ id: 'process-caseStatus',
286
266
  data: {
287
- pageTitle: 'SysAdmin',
288
- breadcrumbsPath: 'Home, U+ Desk',
289
- tabs: ['Application', 'User Interface']
267
+ template: 'tabbed',
268
+ title: 'Case Status',
269
+ breadcrumbsPath: 'Home, Rules Library, Process',
270
+ tabs: ['Rules Library', 'Process', 'Case Status']
290
271
  }
291
272
  },
292
273
  {
293
- id: '40',
274
+ id: 'process-caseTypes',
294
275
  data: {
295
- pageTitle: 'Theme-Cosmos',
296
- breadcrumbsPath: 'Home, U+ Desk',
297
- tabs: ['Application']
276
+ template: 'tabbed',
277
+ title: 'Case Types',
278
+ breadcrumbsPath: 'Home, Rules Library, Process',
279
+ tabs: ['Rules Library', 'Process', 'Case Types']
298
280
  }
299
281
  },
300
282
  {
301
- id: '41',
283
+ id: 'process-processes',
302
284
  data: {
303
- pageTitle: 'PegaDevelopment',
304
- breadcrumbsPath: 'Home, U+ Desk',
305
- tabs: ['Application', 'User Interface']
285
+ template: 'tabbed',
286
+ title: 'Processes',
287
+ breadcrumbsPath: 'Home, Rules Library, Process',
288
+ tabs: ['Rules Library', 'Process', 'Processes']
306
289
  }
307
290
  },
308
291
  {
309
- id: '42',
292
+ id: 'process-SLAs',
310
293
  data: {
311
- pageTitle: 'PegaSSOT',
312
- breadcrumbsPath: 'Home, U+ Desk',
313
- tabs: ['Application']
294
+ template: 'tabbed',
295
+ title: 'SLAs',
296
+ breadcrumbsPath: 'Home, Rules Library, Process',
297
+ tabs: ['Rules Library', 'Process', 'SLAs']
314
298
  }
315
299
  },
316
300
  {
317
- id: '43',
301
+ id: 'process-stages',
318
302
  data: {
319
- pageTitle: 'PegaRULES',
320
- breadcrumbsPath: 'Home, U+ Desk',
321
- tabs: ['Application', 'User Interface']
303
+ template: 'tabbed',
304
+ title: 'Stages',
305
+ breadcrumbsPath: 'Home, Rules Library, Process',
306
+ tabs: ['Rules Library', 'Process', 'Stages']
322
307
  }
323
308
  },
324
309
  {
325
- id: '25',
310
+ id: 'process-workQueues',
326
311
  data: {
327
- pageTitle: 'Association',
328
- breadcrumbsPath: 'Home, U+ Desk',
329
- tabs: ['Application']
312
+ template: 'tabbed',
313
+ title: 'Work Queues',
314
+ breadcrumbsPath: 'Home, Rules Library, Process',
315
+ tabs: ['Rules Library', 'Process', 'Work Queues']
330
316
  }
331
317
  },
332
318
  {
333
- id: '26',
319
+ id: 'accessConditions',
334
320
  data: {
335
- pageTitle: 'Data Flow',
336
- breadcrumbsPath: 'Home, U+ Desk',
337
- tabs: ['Application', 'User Interface']
321
+ template: 'tabbed',
322
+ title: 'Access Conditions',
323
+ breadcrumbsPath: 'Home, Rules Library, Security',
324
+ tabs: ['Rules Library', 'Security', 'Access Conditions']
338
325
  }
339
326
  },
340
327
  {
341
- id: '27',
328
+ id: 'accessGroups',
342
329
  data: {
343
- pageTitle: 'Adaptive Model',
344
- breadcrumbsPath: 'Home, U+ Desk',
345
- tabs: ['Application']
330
+ template: 'tabbed',
331
+ title: 'Access Groups',
332
+ breadcrumbsPath: 'Home, Rules Library, Security',
333
+ tabs: ['Rules Library', 'Security', 'Access Groups']
346
334
  }
347
335
  },
348
336
  {
349
- id: '28',
337
+ id: 'accessPolicies',
350
338
  data: {
351
- pageTitle: 'Case Match',
352
- breadcrumbsPath: 'Home, U+ Desk',
353
- tabs: ['Application', 'User Interface']
339
+ template: 'tabbed',
340
+ title: 'Access Policies',
341
+ breadcrumbsPath: 'Home, Rules Library, Security',
342
+ tabs: ['Rules Library', 'Security', 'Access Policies']
354
343
  }
355
344
  },
356
345
  {
357
- id: '29',
346
+ id: 'accessRoles',
358
347
  data: {
359
- pageTitle: 'Connect File',
360
- breadcrumbsPath: 'Home, U+ Desk',
361
- tabs: ['Application']
348
+ template: 'tabbed',
349
+ title: 'Access Roles',
350
+ breadcrumbsPath: 'Home, Rules Library, Security',
351
+ tabs: ['Rules Library', 'Security', 'Access Roles']
362
352
  }
363
353
  },
364
354
  {
365
- id: '30',
355
+ id: 'authProfiles',
366
356
  data: {
367
- pageTitle: 'Connect Cassandra',
368
- breadcrumbsPath: 'Home, U+ Desk',
369
- tabs: ['Application', 'User Interface']
357
+ template: 'tabbed',
358
+ title: 'Authentication Profiles',
359
+ breadcrumbsPath: 'Home, Rules Library, Security, Authentication',
360
+ tabs: ['Rules Library', 'Security', 'Authentication', 'Authentication Profiles']
370
361
  }
371
362
  },
372
363
  {
373
- id: '31',
364
+ id: 'systemAdmin',
374
365
  data: {
375
- pageTitle: 'EForm File',
376
- breadcrumbsPath: 'Home, U+ Desk',
377
- tabs: ['Application']
366
+ template: 'tabbed',
367
+ title: 'System Admin',
368
+ breadcrumbsPath: 'Home',
369
+ tabs: ['Rules Library', 'System Admin']
378
370
  }
379
371
  },
380
372
  {
381
- id: '32',
373
+ id: 'userInterface',
382
374
  data: {
383
- pageTitle: 'Map eForm',
384
- breadcrumbsPath: 'Home, U+ Desk',
385
- tabs: ['Application', 'User Interface']
375
+ template: 'tabbed',
376
+ title: 'User Interface',
377
+ breadcrumbsPath: 'Home',
378
+ tabs: ['Rules Library', 'User Interface']
386
379
  }
387
380
  }
388
381
  ];
389
- export const recordMenuList = [
390
- {
391
- id: '21',
392
- label: 'Data Model',
393
- nodes: [
394
- { id: '25', label: 'Association' },
395
- { id: '26', label: 'Data Flow' }
396
- ]
397
- },
398
- {
399
- id: '22',
400
- label: 'Decision',
401
- nodes: [
402
- { id: '27', label: 'Adaptive Model' },
403
- { id: '28', label: 'Case Match' }
404
- ]
405
- },
406
- {
407
- id: '23',
408
- label: 'Integration-Connectors',
409
- nodes: [
410
- { id: '29', label: 'Connect File' },
411
- { id: '30', label: 'Connect Cassandra' }
412
- ]
413
- },
414
- {
415
- id: '24',
416
- label: 'Integration-Mapping',
417
- nodes: [
418
- { id: '31', label: 'EForm File' },
419
- { id: '32', label: 'Map eForm' }
420
- ]
421
- }
422
- ];
423
- export const treeList = [
424
- {
425
- id: '1',
426
- label: 'Application definition'
427
- },
428
- {
429
- id: '2',
430
- label: 'App logic',
431
- nodes: [
432
- {
433
- id: '100',
434
- label: 'Decisions'
435
- },
436
- {
437
- id: '101',
438
- label: 'Validations'
439
- },
440
- {
441
- id: '102',
442
- label: 'When'
443
- }
444
- ]
445
- },
446
- {
447
- id: '3',
448
- label: 'Applications',
449
- nodes: [
450
- {
451
- id: '103',
452
- label: 'Configuration sets'
453
- }
454
- ]
455
- },
456
- {
457
- id: '4',
458
- label: 'Data',
459
- nodes: [
460
- {
461
- id: '104',
462
- label: 'Data pages'
463
- },
464
- {
465
- id: '105',
466
- label: 'Data sources'
467
- },
468
- {
469
- id: '106',
470
- label: 'Data transforms'
471
- },
472
- {
473
- id: '107',
474
- label: 'Fields'
475
- },
476
- {
477
- id: '108',
478
- label: 'Queries'
479
- }
480
- ]
481
- },
482
- {
483
- id: '5',
484
- label: 'Integration',
485
- nodes: [
486
- {
487
- id: '109',
488
- label: 'Email account'
489
- },
490
- {
491
- id: '110',
492
- label: 'Integration systems'
493
- }
494
- ]
495
- },
496
- {
497
- id: '6',
498
- label: 'Process',
499
- nodes: [
500
- {
501
- id: '111',
502
- label: 'Actions'
503
- },
504
- { id: '112', label: 'Automations' }
505
- ]
506
- },
507
- {
508
- id: '7',
509
- label: 'Security',
510
- nodes: [
511
- {
512
- id: '113',
513
- label: 'Access groups'
514
- },
515
- { id: '114', label: 'Access roles' }
516
- ]
517
- }
518
- ];
519
- export const TabbedPageComp = (args) => {
520
- const { pageContent, showBreadcrumbs } = args;
521
- return (<TabbedPage path={getPath({ showBreadcrumbs, pageContent })} title={pageContent.data.pageTitle} tabs={{
522
- tabs: pageContent.data.tabs.map((name, i) => {
382
+ export const TabbedPageComp = ({ pageContent, showBreadcrumbs }) => {
383
+ return (<TabbedPage path={getPath({ showBreadcrumbs, pageContent })} title={pageContent.title} tabs={{
384
+ tabs: pageContent.tabs.map((name, i) => {
523
385
  const id = `${i + 1}`;
524
386
  return {
525
387
  id,
@@ -532,4 +394,15 @@ export const TabbedPageComp = (args) => {
532
394
  type: 'horizontal'
533
395
  }}/>);
534
396
  };
397
+ export const ShowcasePageComp = ({ title, description, actionLabel, imageSrc }) => {
398
+ return (<ShowcasePage title={title} description={description} image={{
399
+ src: imageSrc,
400
+ alt: 'Image for the banner'
401
+ }} actions={[
402
+ {
403
+ label: actionLabel,
404
+ onClick: () => { }
405
+ }
406
+ ]} link={{ label: 'Learn more', href: '#' }} content={<TableDemo title={title}/>}/>);
407
+ };
535
408
  //# sourceMappingURL=AppShell.mocks.jsx.map