@pega/react-sdk-components 24.2.10 → 25.1.10

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 (643) hide show
  1. package/lib/bridge/Context/StoreContext.d.ts +0 -1
  2. package/lib/bridge/Context/StoreContext.d.ts.map +1 -1
  3. package/lib/bridge/Context/StoreContext.js.map +1 -1
  4. package/lib/bridge/helpers/sdk_component_map.d.ts.map +1 -1
  5. package/lib/bridge/helpers/sdk_component_map.js +0 -6
  6. package/lib/bridge/helpers/sdk_component_map.js.map +1 -1
  7. package/lib/bridge/react_pconnect.d.ts.map +1 -1
  8. package/lib/bridge/react_pconnect.js +11 -14
  9. package/lib/bridge/react_pconnect.js.map +1 -1
  10. package/lib/components/designSystemExtension/AlertBanner/AlertBanner.js.map +1 -1
  11. package/lib/components/designSystemExtension/Banner/Banner.css +1 -1
  12. package/lib/components/designSystemExtension/Banner/Banner.d.ts.map +1 -1
  13. package/lib/components/designSystemExtension/Banner/Banner.js +2 -2
  14. package/lib/components/designSystemExtension/Banner/Banner.js.map +1 -1
  15. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
  16. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -1
  17. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js +50 -35
  18. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js.map +1 -1
  19. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts.map +1 -1
  20. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js +6 -8
  21. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js.map +1 -1
  22. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts +1 -1
  23. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts.map +1 -1
  24. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js +3 -5
  25. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js.map +1 -1
  26. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js +2 -2
  27. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js.map +1 -1
  28. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts.map +1 -1
  29. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js +4 -6
  30. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js.map +1 -1
  31. package/lib/components/designSystemExtension/Operator/Operator.d.ts +1 -1
  32. package/lib/components/designSystemExtension/Operator/Operator.d.ts.map +1 -1
  33. package/lib/components/designSystemExtension/Operator/Operator.js +12 -9
  34. package/lib/components/designSystemExtension/Operator/Operator.js.map +1 -1
  35. package/lib/components/designSystemExtension/Pulse/Pulse.d.ts +1 -1
  36. package/lib/components/designSystemExtension/Pulse/Pulse.d.ts.map +1 -1
  37. package/lib/components/designSystemExtension/Pulse/Pulse.js.map +1 -1
  38. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  39. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js +32 -4
  40. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js.map +1 -1
  41. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.css +7 -14
  42. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.d.ts.map +1 -1
  43. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js +12 -2
  44. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js.map +1 -1
  45. package/lib/components/field/AutoComplete/AutoComplete.d.ts +1 -1
  46. package/lib/components/field/AutoComplete/AutoComplete.d.ts.map +1 -1
  47. package/lib/components/field/AutoComplete/AutoComplete.js.map +1 -1
  48. package/lib/components/field/CancelAlert/CancelAlert.css +4 -4
  49. package/lib/components/field/CancelAlert/CancelAlert.d.ts +1 -1
  50. package/lib/components/field/CancelAlert/CancelAlert.d.ts.map +1 -1
  51. package/lib/components/field/CancelAlert/CancelAlert.js +4 -7
  52. package/lib/components/field/CancelAlert/CancelAlert.js.map +1 -1
  53. package/lib/components/field/Checkbox/Checkbox.d.ts +9 -1
  54. package/lib/components/field/Checkbox/Checkbox.d.ts.map +1 -1
  55. package/lib/components/field/Checkbox/Checkbox.js +52 -3
  56. package/lib/components/field/Checkbox/Checkbox.js.map +1 -1
  57. package/lib/components/field/Currency/Currency.d.ts +1 -1
  58. package/lib/components/field/Currency/Currency.d.ts.map +1 -1
  59. package/lib/components/field/Currency/Currency.js +8 -7
  60. package/lib/components/field/Currency/Currency.js.map +1 -1
  61. package/lib/components/field/Currency/currency-utils.d.ts.map +1 -1
  62. package/lib/components/field/Currency/currency-utils.js +0 -2
  63. package/lib/components/field/Currency/currency-utils.js.map +1 -1
  64. package/lib/components/field/Date/Date.d.ts +1 -1
  65. package/lib/components/field/Date/Date.d.ts.map +1 -1
  66. package/lib/components/field/Date/Date.js +7 -7
  67. package/lib/components/field/Date/Date.js.map +1 -1
  68. package/lib/components/field/DateTime/DateTime.d.ts +1 -1
  69. package/lib/components/field/DateTime/DateTime.d.ts.map +1 -1
  70. package/lib/components/field/DateTime/DateTime.js +15 -11
  71. package/lib/components/field/DateTime/DateTime.js.map +1 -1
  72. package/lib/components/field/Decimal/Decimal.d.ts +1 -1
  73. package/lib/components/field/Decimal/Decimal.d.ts.map +1 -1
  74. package/lib/components/field/Decimal/Decimal.js +7 -6
  75. package/lib/components/field/Decimal/Decimal.js.map +1 -1
  76. package/lib/components/field/Dropdown/Dropdown.d.ts +1 -1
  77. package/lib/components/field/Dropdown/Dropdown.d.ts.map +1 -1
  78. package/lib/components/field/Dropdown/Dropdown.js +16 -13
  79. package/lib/components/field/Dropdown/Dropdown.js.map +1 -1
  80. package/lib/components/field/Email/Email.d.ts +1 -1
  81. package/lib/components/field/Email/Email.d.ts.map +1 -1
  82. package/lib/components/field/Email/Email.js +6 -7
  83. package/lib/components/field/Email/Email.js.map +1 -1
  84. package/lib/components/field/Group/Group.d.ts +2 -2
  85. package/lib/components/field/Group/Group.d.ts.map +1 -1
  86. package/lib/components/field/Group/Group.js +4 -3
  87. package/lib/components/field/Group/Group.js.map +1 -1
  88. package/lib/components/field/Integer/Integer.d.ts +1 -1
  89. package/lib/components/field/Integer/Integer.d.ts.map +1 -1
  90. package/lib/components/field/Integer/Integer.js +4 -5
  91. package/lib/components/field/Integer/Integer.js.map +1 -1
  92. package/lib/components/field/Location/Location.css +4 -0
  93. package/lib/components/field/Location/Location.d.ts +11 -0
  94. package/lib/components/field/Location/Location.d.ts.map +1 -0
  95. package/lib/components/field/Location/Location.js +158 -0
  96. package/lib/components/field/Location/Location.js.map +1 -0
  97. package/lib/components/field/Location/index.d.ts +2 -0
  98. package/lib/components/field/Location/index.d.ts.map +1 -0
  99. package/lib/components/field/Location/index.js +2 -0
  100. package/lib/components/field/Location/index.js.map +1 -0
  101. package/lib/components/field/Multiselect/Multiselect.js.map +1 -1
  102. package/lib/components/field/Multiselect/utils.d.ts +2 -1
  103. package/lib/components/field/Multiselect/utils.d.ts.map +1 -1
  104. package/lib/components/field/Multiselect/utils.js +1 -1
  105. package/lib/components/field/Multiselect/utils.js.map +1 -1
  106. package/lib/components/field/ObjectReference/ObjectReference.d.ts +16 -0
  107. package/lib/components/field/ObjectReference/ObjectReference.d.ts.map +1 -0
  108. package/lib/components/field/ObjectReference/ObjectReference.js +165 -0
  109. package/lib/components/field/ObjectReference/ObjectReference.js.map +1 -0
  110. package/lib/components/field/ObjectReference/index.d.ts +2 -0
  111. package/lib/components/field/ObjectReference/index.d.ts.map +1 -0
  112. package/lib/components/field/ObjectReference/index.js +2 -0
  113. package/lib/components/field/ObjectReference/index.js.map +1 -0
  114. package/lib/components/field/ObjectReference/utils.d.ts +17 -0
  115. package/lib/components/field/ObjectReference/utils.d.ts.map +1 -0
  116. package/lib/components/field/ObjectReference/utils.js +99 -0
  117. package/lib/components/field/ObjectReference/utils.js.map +1 -0
  118. package/lib/components/field/Percentage/Percentage.d.ts +1 -1
  119. package/lib/components/field/Percentage/Percentage.d.ts.map +1 -1
  120. package/lib/components/field/Percentage/Percentage.js +7 -7
  121. package/lib/components/field/Percentage/Percentage.js.map +1 -1
  122. package/lib/components/field/Phone/Phone.d.ts +1 -1
  123. package/lib/components/field/Phone/Phone.d.ts.map +1 -1
  124. package/lib/components/field/Phone/Phone.js +6 -4
  125. package/lib/components/field/Phone/Phone.js.map +1 -1
  126. package/lib/components/field/RadioButtons/RadioButtons.d.ts +8 -1
  127. package/lib/components/field/RadioButtons/RadioButtons.d.ts.map +1 -1
  128. package/lib/components/field/RadioButtons/RadioButtons.js +15 -10
  129. package/lib/components/field/RadioButtons/RadioButtons.js.map +1 -1
  130. package/lib/components/field/RichText/RichText.css +79 -0
  131. package/lib/components/field/RichText/RichText.d.ts +2 -1
  132. package/lib/components/field/RichText/RichText.d.ts.map +1 -1
  133. package/lib/components/field/RichText/RichText.js +1 -0
  134. package/lib/components/field/RichText/RichText.js.map +1 -1
  135. package/lib/components/field/ScalarList/ScalarList.d.ts +1 -1
  136. package/lib/components/field/ScalarList/ScalarList.d.ts.map +1 -1
  137. package/lib/components/field/ScalarList/ScalarList.js +3 -4
  138. package/lib/components/field/ScalarList/ScalarList.js.map +1 -1
  139. package/lib/components/field/SelectableCard/SelectableCard.d.ts +2 -0
  140. package/lib/components/field/SelectableCard/SelectableCard.d.ts.map +1 -0
  141. package/lib/components/field/SelectableCard/SelectableCard.js +57 -0
  142. package/lib/components/field/SelectableCard/SelectableCard.js.map +1 -0
  143. package/lib/components/field/SelectableCard/index.d.ts +2 -0
  144. package/lib/components/field/SelectableCard/index.d.ts.map +1 -0
  145. package/lib/components/field/SelectableCard/index.js +2 -0
  146. package/lib/components/field/SelectableCard/index.js.map +1 -0
  147. package/lib/components/field/SelectableCard/utils.d.ts +13 -0
  148. package/lib/components/field/SelectableCard/utils.d.ts.map +1 -0
  149. package/lib/components/field/SelectableCard/utils.js +183 -0
  150. package/lib/components/field/SelectableCard/utils.js.map +1 -0
  151. package/lib/components/field/SemanticLink/SemanticLink.d.ts +10 -2
  152. package/lib/components/field/SemanticLink/SemanticLink.d.ts.map +1 -1
  153. package/lib/components/field/SemanticLink/SemanticLink.js +128 -15
  154. package/lib/components/field/SemanticLink/SemanticLink.js.map +1 -1
  155. package/lib/components/field/SemanticLink/utils.js +1 -1
  156. package/lib/components/field/SemanticLink/utils.js.map +1 -1
  157. package/lib/components/field/TextArea/TextArea.d.ts +1 -1
  158. package/lib/components/field/TextArea/TextArea.d.ts.map +1 -1
  159. package/lib/components/field/TextArea/TextArea.js +4 -5
  160. package/lib/components/field/TextArea/TextArea.js.map +1 -1
  161. package/lib/components/field/TextContent/TextContent.d.ts +1 -1
  162. package/lib/components/field/TextContent/TextContent.d.ts.map +1 -1
  163. package/lib/components/field/TextContent/TextContent.js +0 -1
  164. package/lib/components/field/TextContent/TextContent.js.map +1 -1
  165. package/lib/components/field/TextInput/TextInput.d.ts +1 -1
  166. package/lib/components/field/TextInput/TextInput.d.ts.map +1 -1
  167. package/lib/components/field/TextInput/TextInput.js +4 -5
  168. package/lib/components/field/TextInput/TextInput.js.map +1 -1
  169. package/lib/components/field/Time/Time.d.ts +1 -1
  170. package/lib/components/field/Time/Time.d.ts.map +1 -1
  171. package/lib/components/field/Time/Time.js +3 -6
  172. package/lib/components/field/Time/Time.js.map +1 -1
  173. package/lib/components/field/URL/URL.d.ts +1 -1
  174. package/lib/components/field/URL/URL.d.ts.map +1 -1
  175. package/lib/components/field/URL/URL.js +4 -5
  176. package/lib/components/field/URL/URL.js.map +1 -1
  177. package/lib/components/field/UserReference/UserReference.d.ts +1 -2
  178. package/lib/components/field/UserReference/UserReference.d.ts.map +1 -1
  179. package/lib/components/field/UserReference/UserReference.js +2 -5
  180. package/lib/components/field/UserReference/UserReference.js.map +1 -1
  181. package/lib/components/field/UserReference/UserReferenceUtils.d.ts.map +1 -1
  182. package/lib/components/field/UserReference/UserReferenceUtils.js.map +1 -1
  183. package/lib/components/helpers/attachmentShared.d.ts +2 -0
  184. package/lib/components/helpers/attachmentShared.d.ts.map +1 -0
  185. package/lib/components/helpers/attachmentShared.js +6 -0
  186. package/lib/components/helpers/attachmentShared.js.map +1 -0
  187. package/lib/components/helpers/case-utils.js.map +1 -1
  188. package/lib/components/helpers/common-utils.d.ts +8 -1
  189. package/lib/components/helpers/common-utils.d.ts.map +1 -1
  190. package/lib/components/helpers/common-utils.js +20 -1
  191. package/lib/components/helpers/common-utils.js.map +1 -1
  192. package/lib/components/helpers/data_page.d.ts.map +1 -1
  193. package/lib/components/helpers/data_page.js +0 -1
  194. package/lib/components/helpers/data_page.js.map +1 -1
  195. package/lib/components/helpers/date-format-utils.d.ts.map +1 -1
  196. package/lib/components/helpers/event-utils.d.ts.map +1 -1
  197. package/lib/components/helpers/event-utils.js.map +1 -1
  198. package/lib/components/helpers/field-group-utils.d.ts +1 -1
  199. package/lib/components/helpers/field-group-utils.d.ts.map +1 -1
  200. package/lib/components/helpers/field-group-utils.js.map +1 -1
  201. package/lib/components/helpers/formatters/Boolean.js.map +1 -1
  202. package/lib/components/helpers/formatters/Currency.d.ts +1 -0
  203. package/lib/components/helpers/formatters/Currency.d.ts.map +1 -1
  204. package/lib/components/helpers/formatters/Currency.js +20 -19
  205. package/lib/components/helpers/formatters/Currency.js.map +1 -1
  206. package/lib/components/helpers/formatters/CurrencyMap.d.ts.map +1 -1
  207. package/lib/components/helpers/formatters/CurrencyMap.js +0 -1
  208. package/lib/components/helpers/formatters/CurrencyMap.js.map +1 -1
  209. package/lib/components/helpers/formatters/Date.js.map +1 -1
  210. package/lib/components/helpers/formatters/common.d.ts +2 -2
  211. package/lib/components/helpers/formatters/common.d.ts.map +1 -1
  212. package/lib/components/helpers/formatters/common.js +2 -1
  213. package/lib/components/helpers/formatters/common.js.map +1 -1
  214. package/lib/components/helpers/formatters/index.d.ts +1 -0
  215. package/lib/components/helpers/formatters/index.d.ts.map +1 -1
  216. package/lib/components/helpers/formatters/index.js +2 -3
  217. package/lib/components/helpers/formatters/index.js.map +1 -1
  218. package/lib/components/helpers/instructions-utils.d.ts.map +1 -1
  219. package/lib/components/helpers/object-utils.d.ts +9 -0
  220. package/lib/components/helpers/object-utils.d.ts.map +1 -0
  221. package/lib/components/helpers/object-utils.js +11 -0
  222. package/lib/components/helpers/object-utils.js.map +1 -0
  223. package/lib/components/helpers/reactContextHelpers.d.ts +0 -1
  224. package/lib/components/helpers/reactContextHelpers.d.ts.map +1 -1
  225. package/lib/components/helpers/simpleTableHelpers.d.ts +16 -2
  226. package/lib/components/helpers/simpleTableHelpers.d.ts.map +1 -1
  227. package/lib/components/helpers/simpleTableHelpers.js +111 -5
  228. package/lib/components/helpers/simpleTableHelpers.js.map +1 -1
  229. package/lib/components/helpers/state-utils.d.ts.map +1 -1
  230. package/lib/components/helpers/state-utils.js.map +1 -1
  231. package/lib/components/helpers/template-utils.js.map +1 -1
  232. package/lib/components/helpers/utils.d.ts +1 -0
  233. package/lib/components/helpers/utils.d.ts.map +1 -1
  234. package/lib/components/helpers/utils.js +7 -1
  235. package/lib/components/helpers/utils.js.map +1 -1
  236. package/lib/components/helpers/versionHelpers.d.ts.map +1 -1
  237. package/lib/components/helpers/versionHelpers.js +0 -1
  238. package/lib/components/helpers/versionHelpers.js.map +1 -1
  239. package/lib/components/infra/ActionButtons/ActionButtons.d.ts.map +1 -1
  240. package/lib/components/infra/ActionButtons/ActionButtons.js +12 -7
  241. package/lib/components/infra/ActionButtons/ActionButtons.js.map +1 -1
  242. package/lib/components/infra/Assignment/Assignment.d.ts +2 -2
  243. package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -1
  244. package/lib/components/infra/Assignment/Assignment.js +35 -36
  245. package/lib/components/infra/Assignment/Assignment.js.map +1 -1
  246. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts +2 -2
  247. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts.map +1 -1
  248. package/lib/components/infra/AssignmentCard/AssignmentCard.js.map +1 -1
  249. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts +1 -2
  250. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -1
  251. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +18 -93
  252. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -1
  253. package/lib/components/infra/Containers/FlowContainer/helpers.d.ts.map +1 -1
  254. package/lib/components/infra/Containers/FlowContainer/helpers.js +1 -5
  255. package/lib/components/infra/Containers/FlowContainer/helpers.js.map +1 -1
  256. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts +1 -1
  257. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts.map +1 -1
  258. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.js +3 -2
  259. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.js.map +1 -1
  260. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +1 -1
  261. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -1
  262. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +4 -5
  263. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -1
  264. package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts +0 -1
  265. package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts.map +1 -1
  266. package/lib/components/infra/Containers/SimpleView/helper.d.ts +0 -1
  267. package/lib/components/infra/Containers/SimpleView/helper.d.ts.map +1 -1
  268. package/lib/components/infra/Containers/SimpleView/helper.js +1 -1
  269. package/lib/components/infra/Containers/SimpleView/helper.js.map +1 -1
  270. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +1 -1
  271. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -1
  272. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js +3 -4
  273. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js.map +1 -1
  274. package/lib/components/infra/Containers/container-helpers.d.ts +3 -0
  275. package/lib/components/infra/Containers/container-helpers.d.ts.map +1 -0
  276. package/lib/components/infra/Containers/container-helpers.js +52 -0
  277. package/lib/components/infra/Containers/container-helpers.js.map +1 -0
  278. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts +2 -2
  279. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts.map +1 -1
  280. package/lib/components/infra/DashboardFilter/DashboardFilter.js +3 -7
  281. package/lib/components/infra/DashboardFilter/DashboardFilter.js.map +1 -1
  282. package/lib/components/infra/DashboardFilter/filterUtils.d.ts.map +1 -1
  283. package/lib/components/infra/DashboardFilter/filterUtils.js +2 -5
  284. package/lib/components/infra/DashboardFilter/filterUtils.js.map +1 -1
  285. package/lib/components/infra/DeferLoad/DeferLoad.d.ts +2 -1
  286. package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -1
  287. package/lib/components/infra/DeferLoad/DeferLoad.js +6 -9
  288. package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -1
  289. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  290. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  291. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js +0 -2
  292. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js.map +1 -1
  293. package/lib/components/infra/MultiStep/MultiStep.css +48 -70
  294. package/lib/components/infra/MultiStep/MultiStep.d.ts +2 -2
  295. package/lib/components/infra/MultiStep/MultiStep.d.ts.map +1 -1
  296. package/lib/components/infra/MultiStep/MultiStep.js +19 -41
  297. package/lib/components/infra/MultiStep/MultiStep.js.map +1 -1
  298. package/lib/components/infra/NavBar/NavBar.css +1 -1
  299. package/lib/components/infra/NavBar/NavBar.d.ts +1 -1
  300. package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -1
  301. package/lib/components/infra/NavBar/NavBar.js +13 -7
  302. package/lib/components/infra/NavBar/NavBar.js.map +1 -1
  303. package/lib/components/infra/Reference/Reference.d.ts +1 -1
  304. package/lib/components/infra/Reference/Reference.d.ts.map +1 -1
  305. package/lib/components/infra/Reference/Reference.js +2 -3
  306. package/lib/components/infra/Reference/Reference.js.map +1 -1
  307. package/lib/components/infra/Region/Region.d.ts +1 -1
  308. package/lib/components/infra/Region/Region.d.ts.map +1 -1
  309. package/lib/components/infra/Region/Region.js.map +1 -1
  310. package/lib/components/infra/RootContainer/RootContainer.d.ts +2 -2
  311. package/lib/components/infra/RootContainer/RootContainer.d.ts.map +1 -1
  312. package/lib/components/infra/RootContainer/RootContainer.js +1 -2
  313. package/lib/components/infra/RootContainer/RootContainer.js.map +1 -1
  314. package/lib/components/infra/Stages/Stages.d.ts +1 -1
  315. package/lib/components/infra/Stages/Stages.d.ts.map +1 -1
  316. package/lib/components/infra/Stages/Stages.js +2 -2
  317. package/lib/components/infra/Stages/Stages.js.map +1 -1
  318. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js +1 -1
  319. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js.map +1 -1
  320. package/lib/components/infra/View/View.d.ts +2 -2
  321. package/lib/components/infra/View/View.d.ts.map +1 -1
  322. package/lib/components/infra/View/View.js +2 -1
  323. package/lib/components/infra/View/View.js.map +1 -1
  324. package/lib/components/template/AdvancedSearch/AdvancedSearch.d.ts +2 -0
  325. package/lib/components/template/AdvancedSearch/AdvancedSearch.d.ts.map +1 -0
  326. package/lib/components/template/AdvancedSearch/AdvancedSearch.js +68 -0
  327. package/lib/components/template/AdvancedSearch/AdvancedSearch.js.map +1 -0
  328. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.d.ts +23 -0
  329. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.d.ts.map +1 -0
  330. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.js +26 -0
  331. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.js.map +1 -0
  332. package/lib/components/template/AdvancedSearch/SearchGroups/SearchGroups.d.ts +3 -0
  333. package/lib/components/template/AdvancedSearch/SearchGroups/SearchGroups.d.ts.map +1 -0
  334. package/lib/components/template/AdvancedSearch/SearchGroups/SearchGroups.js +179 -0
  335. package/lib/components/template/AdvancedSearch/SearchGroups/SearchGroups.js.map +1 -0
  336. package/lib/components/template/AdvancedSearch/SearchGroups/hooks.d.ts +10 -0
  337. package/lib/components/template/AdvancedSearch/SearchGroups/hooks.d.ts.map +1 -0
  338. package/lib/components/template/AdvancedSearch/SearchGroups/hooks.js +25 -0
  339. package/lib/components/template/AdvancedSearch/SearchGroups/hooks.js.map +1 -0
  340. package/lib/components/template/AdvancedSearch/SearchGroups/index.d.ts +2 -0
  341. package/lib/components/template/AdvancedSearch/SearchGroups/index.d.ts.map +1 -0
  342. package/lib/components/template/AdvancedSearch/SearchGroups/index.js +2 -0
  343. package/lib/components/template/AdvancedSearch/SearchGroups/index.js.map +1 -0
  344. package/lib/components/template/AdvancedSearch/SearchGroups/utils.d.ts +16 -0
  345. package/lib/components/template/AdvancedSearch/SearchGroups/utils.d.ts.map +1 -0
  346. package/lib/components/template/AdvancedSearch/SearchGroups/utils.js +22 -0
  347. package/lib/components/template/AdvancedSearch/SearchGroups/utils.js.map +1 -0
  348. package/lib/components/template/AdvancedSearch/TemplateContext.d.ts +10 -0
  349. package/lib/components/template/AdvancedSearch/TemplateContext.d.ts.map +1 -0
  350. package/lib/components/template/AdvancedSearch/TemplateContext.js +11 -0
  351. package/lib/components/template/AdvancedSearch/TemplateContext.js.map +1 -0
  352. package/lib/components/template/AdvancedSearch/index.d.ts +2 -0
  353. package/lib/components/template/AdvancedSearch/index.d.ts.map +1 -0
  354. package/lib/components/template/AdvancedSearch/index.js +2 -0
  355. package/lib/components/template/AdvancedSearch/index.js.map +1 -0
  356. package/lib/components/template/AppShell/AppShell.css +1 -1
  357. package/lib/components/template/AppShell/AppShell.d.ts +2 -2
  358. package/lib/components/template/AppShell/AppShell.d.ts.map +1 -1
  359. package/lib/components/template/AppShell/AppShell.js +14 -17
  360. package/lib/components/template/AppShell/AppShell.js.map +1 -1
  361. package/lib/components/template/BannerPage/BannerPage.d.ts +2 -2
  362. package/lib/components/template/BannerPage/BannerPage.d.ts.map +1 -1
  363. package/lib/components/template/BannerPage/BannerPage.js.map +1 -1
  364. package/lib/components/template/CaseSummary/CaseSummary.d.ts +4 -2
  365. package/lib/components/template/CaseSummary/CaseSummary.d.ts.map +1 -1
  366. package/lib/components/template/CaseSummary/CaseSummary.js +24 -37
  367. package/lib/components/template/CaseSummary/CaseSummary.js.map +1 -1
  368. package/lib/components/template/CaseView/CaseView.d.ts +3 -2
  369. package/lib/components/template/CaseView/CaseView.d.ts.map +1 -1
  370. package/lib/components/template/CaseView/CaseView.js +14 -16
  371. package/lib/components/template/CaseView/CaseView.js.map +1 -1
  372. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts +1 -1
  373. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts.map +1 -1
  374. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js +1 -1
  375. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js.map +1 -1
  376. package/lib/components/template/Confirmation/Confirmation.d.ts +2 -2
  377. package/lib/components/template/Confirmation/Confirmation.d.ts.map +1 -1
  378. package/lib/components/template/Confirmation/Confirmation.js +1 -2
  379. package/lib/components/template/Confirmation/Confirmation.js.map +1 -1
  380. package/lib/components/template/DataReference/DataReference.d.ts +9 -2
  381. package/lib/components/template/DataReference/DataReference.d.ts.map +1 -1
  382. package/lib/components/template/DataReference/DataReference.js +239 -80
  383. package/lib/components/template/DataReference/DataReference.js.map +1 -1
  384. package/lib/components/template/DataReference/DataReferenceAdvancedSearchContext.d.ts +8 -0
  385. package/lib/components/template/DataReference/DataReferenceAdvancedSearchContext.d.ts.map +1 -0
  386. package/lib/components/template/DataReference/DataReferenceAdvancedSearchContext.js +9 -0
  387. package/lib/components/template/DataReference/DataReferenceAdvancedSearchContext.js.map +1 -0
  388. package/lib/components/template/DataReference/SearchForm.d.ts +3 -0
  389. package/lib/components/template/DataReference/SearchForm.d.ts.map +1 -0
  390. package/lib/components/template/DataReference/SearchForm.js +87 -0
  391. package/lib/components/template/DataReference/SearchForm.js.map +1 -0
  392. package/lib/components/template/DataReference/utils.d.ts +15 -0
  393. package/lib/components/template/DataReference/utils.d.ts.map +1 -0
  394. package/lib/components/template/DataReference/utils.js +75 -0
  395. package/lib/components/template/DataReference/utils.js.map +1 -0
  396. package/lib/components/template/DefaultForm/DefaultForm.d.ts +2 -2
  397. package/lib/components/template/DefaultForm/DefaultForm.d.ts.map +1 -1
  398. package/lib/components/template/DefaultForm/DefaultForm.js.map +1 -1
  399. package/lib/components/template/DefaultForm/utils/index.d.ts.map +1 -1
  400. package/lib/components/template/DefaultForm/utils/index.js +1 -2
  401. package/lib/components/template/DefaultForm/utils/index.js.map +1 -1
  402. package/lib/components/template/DefaultPage/DefaultPage.d.ts +36 -0
  403. package/lib/components/template/DefaultPage/DefaultPage.d.ts.map +1 -0
  404. package/lib/components/template/DefaultPage/DefaultPage.js +28 -0
  405. package/lib/components/template/DefaultPage/DefaultPage.js.map +1 -0
  406. package/lib/components/template/DefaultPage/index.d.ts +2 -0
  407. package/lib/components/template/DefaultPage/index.d.ts.map +1 -0
  408. package/lib/components/template/DefaultPage/index.js +2 -0
  409. package/lib/components/template/DefaultPage/index.js.map +1 -0
  410. package/lib/components/template/Details/Details/Details.d.ts +1 -1
  411. package/lib/components/template/Details/Details/Details.d.ts.map +1 -1
  412. package/lib/components/template/Details/Details/Details.js +2 -3
  413. package/lib/components/template/Details/Details/Details.js.map +1 -1
  414. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts +2 -2
  415. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -1
  416. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.js.map +1 -1
  417. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +1 -1
  418. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -1
  419. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js +2 -3
  420. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -1
  421. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +1 -1
  422. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -1
  423. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js +2 -3
  424. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -1
  425. package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts +1 -1
  426. package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts.map +1 -1
  427. package/lib/components/template/Details/DynamicTabs/DynamicTabs.js +0 -1
  428. package/lib/components/template/Details/DynamicTabs/DynamicTabs.js.map +1 -1
  429. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts +1 -1
  430. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -1
  431. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js +1 -4
  432. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -1
  433. package/lib/components/template/InlineDashboard/InlineDashboard.d.ts +2 -2
  434. package/lib/components/template/InlineDashboard/InlineDashboard.d.ts.map +1 -1
  435. package/lib/components/template/InlineDashboard/InlineDashboard.js +2 -2
  436. package/lib/components/template/InlineDashboard/InlineDashboard.js.map +1 -1
  437. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts +2 -2
  438. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -1
  439. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.js.map +1 -1
  440. package/lib/components/template/ListPage/ListPage.d.ts +1 -1
  441. package/lib/components/template/ListPage/ListPage.d.ts.map +1 -1
  442. package/lib/components/template/ListPage/ListPage.js.map +1 -1
  443. package/lib/components/template/ListView/DefaultViewMeta.js.map +1 -1
  444. package/lib/components/template/ListView/ListView.d.ts +4 -1
  445. package/lib/components/template/ListView/ListView.d.ts.map +1 -1
  446. package/lib/components/template/ListView/ListView.js +134 -67
  447. package/lib/components/template/ListView/ListView.js.map +1 -1
  448. package/lib/components/template/ListView/hooks.d.ts.map +1 -1
  449. package/lib/components/template/ListView/hooks.js +2 -5
  450. package/lib/components/template/ListView/hooks.js.map +1 -1
  451. package/lib/components/template/ListView/utils.d.ts.map +1 -1
  452. package/lib/components/template/ListView/utils.js +28 -6
  453. package/lib/components/template/ListView/utils.js.map +1 -1
  454. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +1 -1
  455. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -1
  456. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -1
  457. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts +2 -2
  458. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -1
  459. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.js.map +1 -1
  460. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +1 -1
  461. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -1
  462. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +2 -3
  463. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -1
  464. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +2 -2
  465. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -1
  466. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +1 -1
  467. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +2 -2
  468. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -1
  469. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -1
  470. package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts +2 -2
  471. package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts.map +1 -1
  472. package/lib/components/template/OneColumn/OneColumn/OneColumn.js +2 -2
  473. package/lib/components/template/OneColumn/OneColumn/OneColumn.js.map +1 -1
  474. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts +1 -1
  475. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -1
  476. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -1
  477. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts +2 -2
  478. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -1
  479. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.js.map +1 -1
  480. package/lib/components/template/PromotedFilters/PromotedFilters.d.ts +1 -1
  481. package/lib/components/template/PromotedFilters/PromotedFilters.d.ts.map +1 -1
  482. package/lib/components/template/PromotedFilters/PromotedFilters.js +0 -2
  483. package/lib/components/template/PromotedFilters/PromotedFilters.js.map +1 -1
  484. package/lib/components/template/SelfServiceCaseView/SelfServiceCaseView.d.ts +2 -0
  485. package/lib/components/template/SelfServiceCaseView/SelfServiceCaseView.d.ts.map +1 -0
  486. package/lib/components/template/SelfServiceCaseView/SelfServiceCaseView.js +73 -0
  487. package/lib/components/template/SelfServiceCaseView/SelfServiceCaseView.js.map +1 -0
  488. package/lib/components/template/SelfServiceCaseView/index.d.ts +2 -0
  489. package/lib/components/template/SelfServiceCaseView/index.d.ts.map +1 -0
  490. package/lib/components/template/SelfServiceCaseView/index.js +2 -0
  491. package/lib/components/template/SelfServiceCaseView/index.js.map +1 -0
  492. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts +1 -1
  493. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -1
  494. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js +1 -4
  495. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js.map +1 -1
  496. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +4 -2
  497. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -1
  498. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js +64 -47
  499. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -1
  500. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +1 -1
  501. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -1
  502. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js +2 -4
  503. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +1 -1
  504. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +1 -1
  505. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -1
  506. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js +3 -2
  507. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -1
  508. package/lib/components/template/SubTabs/SubTabs.d.ts +2 -2
  509. package/lib/components/template/SubTabs/SubTabs.d.ts.map +1 -1
  510. package/lib/components/template/SubTabs/SubTabs.js.map +1 -1
  511. package/lib/components/template/SubTabs/tabUtils.d.ts +10 -0
  512. package/lib/components/template/SubTabs/tabUtils.d.ts.map +1 -1
  513. package/lib/components/template/SubTabs/tabUtils.js +102 -1
  514. package/lib/components/template/SubTabs/tabUtils.js.map +1 -1
  515. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts +2 -2
  516. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -1
  517. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js +2 -3
  518. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js.map +1 -1
  519. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +1 -1
  520. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -1
  521. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -1
  522. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +2 -2
  523. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -1
  524. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js +2 -3
  525. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +1 -1
  526. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts +2 -2
  527. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -1
  528. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.js.map +1 -1
  529. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +1 -1
  530. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -1
  531. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +2 -3
  532. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -1
  533. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +2 -2
  534. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -1
  535. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +1 -1
  536. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +2 -2
  537. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -1
  538. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -1
  539. package/lib/components/template/WssNavBar/WssNavBar.css +1 -1
  540. package/lib/components/template/WssNavBar/WssNavBar.d.ts +1 -1
  541. package/lib/components/template/WssNavBar/WssNavBar.d.ts.map +1 -1
  542. package/lib/components/template/WssNavBar/WssNavBar.js +4 -4
  543. package/lib/components/template/WssNavBar/WssNavBar.js.map +1 -1
  544. package/lib/components/template/utils.d.ts +7 -0
  545. package/lib/components/template/utils.d.ts.map +1 -0
  546. package/lib/components/template/utils.js +52 -0
  547. package/lib/components/template/utils.js.map +1 -0
  548. package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts +1 -1
  549. package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts.map +1 -1
  550. package/lib/components/widget/AppAnnouncement/AppAnnouncement.js.map +1 -1
  551. package/lib/components/widget/Attachment/Attachment.css +7 -8
  552. package/lib/components/widget/Attachment/Attachment.d.ts +4 -2
  553. package/lib/components/widget/Attachment/Attachment.d.ts.map +1 -1
  554. package/lib/components/widget/Attachment/Attachment.js +255 -207
  555. package/lib/components/widget/Attachment/Attachment.js.map +1 -1
  556. package/lib/components/widget/Attachment/Attachment.types.d.ts +90 -0
  557. package/lib/components/widget/Attachment/Attachment.types.d.ts.map +1 -0
  558. package/lib/components/widget/Attachment/Attachment.types.js +2 -0
  559. package/lib/components/widget/Attachment/Attachment.types.js.map +1 -0
  560. package/lib/components/widget/Attachment/AttachmentUtils.d.ts +25 -0
  561. package/lib/components/widget/Attachment/AttachmentUtils.d.ts.map +1 -0
  562. package/lib/components/widget/Attachment/AttachmentUtils.js +255 -0
  563. package/lib/components/widget/Attachment/AttachmentUtils.js.map +1 -0
  564. package/lib/components/widget/CaseHistory/CaseHistory.d.ts +1 -1
  565. package/lib/components/widget/CaseHistory/CaseHistory.d.ts.map +1 -1
  566. package/lib/components/widget/CaseHistory/CaseHistory.js +2 -2
  567. package/lib/components/widget/CaseHistory/CaseHistory.js.map +1 -1
  568. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +0 -14
  569. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts +1 -1
  570. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts.map +1 -1
  571. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js +1 -1
  572. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js.map +1 -1
  573. package/lib/components/widget/FileUtility/FileUtility/FileUtility.css +7 -6
  574. package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts +2 -1
  575. package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts.map +1 -1
  576. package/lib/components/widget/FileUtility/FileUtility/FileUtility.js +29 -17
  577. package/lib/components/widget/FileUtility/FileUtility/FileUtility.js.map +1 -1
  578. package/lib/components/widget/Followers/Followers.d.ts +2 -2
  579. package/lib/components/widget/Followers/Followers.d.ts.map +1 -1
  580. package/lib/components/widget/Followers/Followers.js +0 -2
  581. package/lib/components/widget/Followers/Followers.js.map +1 -1
  582. package/lib/components/widget/QuickCreate/QuickCreate.d.ts +1 -1
  583. package/lib/components/widget/QuickCreate/QuickCreate.d.ts.map +1 -1
  584. package/lib/components/widget/QuickCreate/QuickCreate.js +0 -2
  585. package/lib/components/widget/QuickCreate/QuickCreate.js.map +1 -1
  586. package/lib/components/widget/SummaryItem/SummaryItem.css +9 -11
  587. package/lib/components/widget/SummaryItem/SummaryItem.d.ts +1 -1
  588. package/lib/components/widget/SummaryItem/SummaryItem.d.ts.map +1 -1
  589. package/lib/components/widget/SummaryItem/SummaryItem.js +1 -1
  590. package/lib/components/widget/SummaryItem/SummaryItem.js.map +1 -1
  591. package/lib/components/widget/SummaryList/SummaryList.d.ts +1 -1
  592. package/lib/components/widget/SummaryList/SummaryList.d.ts.map +1 -1
  593. package/lib/components/widget/SummaryList/SummaryList.js.map +1 -1
  594. package/lib/components/widget/ToDo/ToDo.css +1 -13
  595. package/lib/components/widget/ToDo/ToDo.d.ts +1 -1
  596. package/lib/components/widget/ToDo/ToDo.d.ts.map +1 -1
  597. package/lib/components/widget/ToDo/ToDo.js +22 -17
  598. package/lib/components/widget/ToDo/ToDo.js.map +1 -1
  599. package/lib/hooks/useAfterInitialEffect.d.ts +1 -1
  600. package/lib/hooks/useAfterInitialEffect.d.ts.map +1 -1
  601. package/lib/hooks/useAfterInitialEffect.js.map +1 -1
  602. package/lib/hooks/useConsolidatedRef.d.ts +1 -1
  603. package/lib/hooks/useConsolidatedRef.d.ts.map +1 -1
  604. package/lib/hooks/useConsolidatedRef.js.map +1 -1
  605. package/lib/hooks/useFocusFirstField.d.ts.map +1 -1
  606. package/lib/hooks/useFocusFirstField.js.map +1 -1
  607. package/lib/hooks/useGetTabsCount.d.ts +10 -0
  608. package/lib/hooks/useGetTabsCount.d.ts.map +1 -0
  609. package/lib/hooks/useGetTabsCount.js +165 -0
  610. package/lib/hooks/useGetTabsCount.js.map +1 -0
  611. package/lib/hooks/useIsMount.d.ts +2 -0
  612. package/lib/hooks/useIsMount.d.ts.map +1 -0
  613. package/lib/hooks/useIsMount.js +9 -0
  614. package/lib/hooks/useIsMount.js.map +1 -0
  615. package/lib/hooks/useScrolltoTop.d.ts.map +1 -1
  616. package/lib/mediaco/ToDo/ToDo.css +81 -0
  617. package/lib/mediaco/ToDo/ToDo.d.ts +16 -0
  618. package/lib/mediaco/ToDo/ToDo.d.ts.map +1 -0
  619. package/lib/mediaco/ToDo/ToDo.js +187 -0
  620. package/lib/mediaco/ToDo/ToDo.js.map +1 -0
  621. package/lib/mediaco/ToDo/index.d.ts +2 -0
  622. package/lib/mediaco/ToDo/index.d.ts.map +1 -0
  623. package/lib/mediaco/ToDo/index.js +2 -0
  624. package/lib/mediaco/ToDo/index.js.map +1 -0
  625. package/lib/samples/Embedded/styles.css +26 -0
  626. package/lib/sdk-pega-component-map.d.ts +119 -103
  627. package/lib/sdk-pega-component-map.d.ts.map +1 -1
  628. package/lib/sdk-pega-component-map.js +20 -3
  629. package/lib/sdk-pega-component-map.js.map +1 -1
  630. package/lib/theme.d.ts +30 -1
  631. package/lib/theme.d.ts.map +1 -1
  632. package/lib/theme.js +209 -2
  633. package/lib/theme.js.map +1 -1
  634. package/lib/types/PConnProps.d.ts +1 -1
  635. package/package.json +32 -1
  636. package/lib/components/helpers/attachmentHelpers.d.ts +0 -13
  637. package/lib/components/helpers/attachmentHelpers.d.ts.map +0 -1
  638. package/lib/components/helpers/attachmentHelpers.js +0 -72
  639. package/lib/components/helpers/attachmentHelpers.js.map +0 -1
  640. package/lib/components/infra/Containers/helpers.d.ts +0 -2
  641. package/lib/components/infra/Containers/helpers.d.ts.map +0 -1
  642. package/lib/components/infra/Containers/helpers.js +0 -7
  643. package/lib/components/infra/Containers/helpers.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { PConnProps } from '../../../../types/PConnProps';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { PConnProps } from '../../../../types/PConnProps';
3
3
  interface TwoColumnProps extends PConnProps {
4
4
  templateCol?: string;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumn/TwoColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,UAAU,cAAe,SAAQ,UAAU;IAEzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAUD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,2CAoCzE"}
1
+ {"version":3,"file":"TwoColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumn/TwoColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAG7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,UAAU,cAAe,SAAQ,UAAU;IAEzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAUD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,2CAmCzE"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Grid } from '@mui/material';
2
+ import Grid2, {} from '@mui/material/Grid2';
3
3
  import makeStyles from '@mui/styles/makeStyles';
4
4
  const useStyles = makeStyles(() => ({
5
5
  colStyles: {
@@ -13,7 +13,6 @@ export default function TwoColumn(props) {
13
13
  const { children, templateCol = '1fr 1fr' } = props;
14
14
  const childrenToRender = children;
15
15
  if (childrenToRender.length !== 2) {
16
- // eslint-disable-next-line no-console
17
16
  console.error(`TwoColumn template sees more than 2 columns: ${childrenToRender.length}`);
18
17
  }
19
18
  // Calculate the size
@@ -29,6 +28,6 @@ export default function TwoColumn(props) {
29
28
  const ratio = 12 / totalCols;
30
29
  aSize = (ratio * colAArray[0]);
31
30
  bSize = (ratio * colAArray[1]);
32
- return (_jsxs(Grid, { container: true, spacing: 1, children: [_jsx(Grid, { item: true, xs: 12, md: aSize, className: classes.colStyles, children: childrenToRender[0] }), _jsx(Grid, { item: true, xs: 12, md: bSize, className: classes.colStyles, children: childrenToRender[1] })] }));
31
+ return (_jsxs(Grid2, { container: true, spacing: 1, children: [_jsx(Grid2, { size: { xs: 12, md: aSize }, className: classes.colStyles, children: childrenToRender[0] }), _jsx(Grid2, { size: { xs: 12, md: bSize }, className: classes.colStyles, children: childrenToRender[1] })] }));
33
32
  }
34
33
  //# sourceMappingURL=TwoColumn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumn.js","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumn/TwoColumn.tsx"],"names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,CAAC,CAAC,CAAa,CAAC;IAE3C,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC,aACxB,KAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,YACvD,gBAAgB,CAAC,CAAC,CAAC,GACf,EACP,KAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,YACvD,gBAAgB,CAAC,CAAC,CAAC,GACf,IACF,CACR,CAAC;AACJ,CAAC","sourcesContent":["import { PropsWithChildren, ReactElement } from 'react';\nimport { Grid, GridSize } from '@mui/material';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { PConnProps } from '../../../../types/PConnProps';\n\ninterface TwoColumnProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n templateCol?: string;\n}\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline'\n }\n}));\n\nexport default function TwoColumn(props: PropsWithChildren<TwoColumnProps>) {\n const classes = useStyles();\n\n const { children, templateCol = '1fr 1fr' } = props;\n const childrenToRender = children as ReactElement[];\n\n if (childrenToRender.length !== 2) {\n // eslint-disable-next-line no-console\n console.error(`TwoColumn template sees more than 2 columns: ${childrenToRender.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol\n .replaceAll(/[a-z]+/g, '')\n .split(/\\s/)\n .map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid container spacing={1}>\n <Grid item xs={12} md={aSize} className={classes.colStyles}>\n {childrenToRender[0]}\n </Grid>\n <Grid item xs={12} md={bSize} className={classes.colStyles}>\n {childrenToRender[1]}\n </Grid>\n </Grid>\n );\n}\n"]}
1
+ {"version":3,"file":"TwoColumn.js","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumn/TwoColumn.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,EAAiB,MAAM,qBAAqB,CAAC;AAC3D,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAQhD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC;IAClC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,YAAY,EAAE,UAAU;KACzB;CACF,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAwC;IACxE,MAAM,OAAO,GAAG,SAAS,EAAE,CAAC;IAE5B,MAAM,EAAE,QAAQ,EAAE,WAAW,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IACpD,MAAM,gBAAgB,GAAG,QAA0B,CAAC;IAEpD,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,KAAK,CAAC,gDAAgD,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED,qBAAqB;IACrB,sFAAsF;IACtF,8BAA8B;IAC9B,IAAI,KAAK,GAAa,CAAC,CAAC;IACxB,IAAI,KAAK,GAAa,CAAC,CAAC;IAExB,MAAM,SAAS,GAAG,WAAW;SAC1B,UAAU,CAAC,SAAS,EAAE,EAAE,CAAC;SACzB,KAAK,CAAC,IAAI,CAAC;SACX,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3D,MAAM,KAAK,GAAG,EAAE,GAAG,SAAS,CAAC;IAC7B,KAAK,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAa,CAAC;IAC3C,KAAK,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAa,CAAC;IAE3C,OAAO,CACL,MAAC,KAAK,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC,aACzB,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,YAC7D,gBAAgB,CAAC,CAAC,CAAC,GACd,EACR,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,YAC7D,gBAAgB,CAAC,CAAC,CAAC,GACd,IACF,CACT,CAAC;AACJ,CAAC","sourcesContent":["import type { PropsWithChildren, ReactElement } from 'react';\nimport Grid2, { type GridSize } from '@mui/material/Grid2';\nimport makeStyles from '@mui/styles/makeStyles';\nimport type { PConnProps } from '../../../../types/PConnProps';\n\ninterface TwoColumnProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n templateCol?: string;\n}\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline'\n }\n}));\n\nexport default function TwoColumn(props: PropsWithChildren<TwoColumnProps>) {\n const classes = useStyles();\n\n const { children, templateCol = '1fr 1fr' } = props;\n const childrenToRender = children as ReactElement[];\n\n if (childrenToRender.length !== 2) {\n console.error(`TwoColumn template sees more than 2 columns: ${childrenToRender.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol\n .replaceAll(/[a-z]+/g, '')\n .split(/\\s/)\n .map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid2 container spacing={1}>\n <Grid2 size={{ xs: 12, md: aSize }} className={classes.colStyles}>\n {childrenToRender[0]}\n </Grid2>\n <Grid2 size={{ xs: 12, md: bSize }} className={classes.colStyles}>\n {childrenToRender[1]}\n </Grid2>\n </Grid2>\n );\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { PConnProps } from '../../../../types/PConnProps';
1
+ import type { PConnProps } from '../../../../types/PConnProps';
2
2
  interface TwoColumnPageProps extends PConnProps {
3
3
  }
4
4
  export default function TwoColumnPage(props: TwoColumnPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumnPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,UAAU,kBAAmB,SAAQ,UAAU;CAE9C;AAMD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAK9D"}
1
+ {"version":3,"file":"TwoColumnPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,UAAU,kBAAmB,SAAQ,UAAU;CAE9C;AAMD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAK9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumnPage.js","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAOnF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAyB;IAC7D,8EAA8E;IAC9E,MAAM,SAAS,GAAG,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAEnD,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../../types/PConnProps';\n\ninterface TwoColumnPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n}\n\n/*\n * The wrapper handles knowing how to take in just children\n * and mapping to the TwoColumn template.\n */\nexport default function TwoColumnPage(props: TwoColumnPageProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const TwoColumn = getComponentFromMap('TwoColumn');\n\n return <TwoColumn {...props} />;\n}\n"]}
1
+ {"version":3,"file":"TwoColumnPage.js","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAOnF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAyB;IAC7D,8EAA8E;IAC9E,MAAM,SAAS,GAAG,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAEnD,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\nimport type { PConnProps } from '../../../../types/PConnProps';\n\ninterface TwoColumnPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n}\n\n/*\n * The wrapper handles knowing how to take in just children\n * and mapping to the TwoColumn template.\n */\nexport default function TwoColumnPage(props: TwoColumnPageProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const TwoColumn = getComponentFromMap('TwoColumn');\n\n return <TwoColumn {...props} />;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { PConnProps } from '../../../../types/PConnProps';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { PConnProps } from '../../../../types/PConnProps';
3
3
  interface TwoColumnTabProps extends PConnProps {
4
4
  templateCol?: string;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumnTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,UAAU,iBAAkB,SAAQ,UAAU;IAE5C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAUD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,2CAoC/E"}
1
+ {"version":3,"file":"TwoColumnTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAG7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,UAAU,iBAAkB,SAAQ,UAAU;IAE5C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAUD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,2CAmC/E"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Grid } from '@mui/material';
2
+ import Grid2, {} from '@mui/material/Grid2';
3
3
  import makeStyles from '@mui/styles/makeStyles';
4
4
  const useStyles = makeStyles(() => ({
5
5
  colStyles: {
@@ -13,7 +13,6 @@ export default function TwoColumnTab(props) {
13
13
  const { children, templateCol = '1fr 1fr' } = props;
14
14
  const childrenToRender = children;
15
15
  if (childrenToRender.length !== 2) {
16
- // eslint-disable-next-line no-console
17
16
  console.error(`TwoColumn template sees more than 2 columns: ${childrenToRender.length}`);
18
17
  }
19
18
  // Calculate the size
@@ -29,6 +28,6 @@ export default function TwoColumnTab(props) {
29
28
  const ratio = 12 / totalCols;
30
29
  aSize = (ratio * colAArray[0]);
31
30
  bSize = (ratio * colAArray[1]);
32
- return (_jsxs(Grid, { container: true, spacing: 1, children: [_jsx(Grid, { item: true, xs: 12, md: aSize, className: classes.colStyles, children: childrenToRender[0] }), _jsx(Grid, { item: true, xs: 12, md: bSize, className: classes.colStyles, children: childrenToRender[1] })] }));
31
+ return (_jsxs(Grid2, { container: true, spacing: 1, children: [_jsx(Grid2, { size: { xs: 12, md: aSize }, className: classes.colStyles, children: childrenToRender[0] }), _jsx(Grid2, { size: { xs: 12, md: bSize }, className: classes.colStyles, children: childrenToRender[1] })] }));
33
32
  }
34
33
  //# sourceMappingURL=TwoColumnTab.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumnTab.js","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AAC/C,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAQhD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC;IAClC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,YAAY,EAAE,UAAU;KACzB;CACF,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAA2C;IAC9E,MAAM,OAAO,GAAG,SAAS,EAAE,CAAC;IAE5B,MAAM,EAAE,QAAQ,EAAE,WAAW,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;I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, ReactElement } from 'react';\nimport { Grid, GridSize } from '@mui/material';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { PConnProps } from '../../../../types/PConnProps';\n\ninterface TwoColumnTabProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n templateCol?: string;\n}\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline'\n }\n}));\n\nexport default function TwoColumnTab(props: PropsWithChildren<TwoColumnTabProps>) {\n const classes = useStyles();\n\n const { children, templateCol = '1fr 1fr' } = props;\n const childrenToRender = children as ReactElement[];\n\n if (childrenToRender.length !== 2) {\n // eslint-disable-next-line no-console\n console.error(`TwoColumn template sees more than 2 columns: ${childrenToRender.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol\n .replaceAll(/[a-z]+/g, '')\n .split(/\\s/)\n .map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid container spacing={1}>\n <Grid item xs={12} md={aSize} className={classes.colStyles}>\n {childrenToRender[0]}\n </Grid>\n <Grid item xs={12} md={bSize} className={classes.colStyles}>\n {childrenToRender[1]}\n </Grid>\n </Grid>\n );\n}\n"]}
1
+ {"version":3,"file":"TwoColumnTab.js","sourceRoot":"","sources":["../../../../../src/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,EAAiB,MAAM,qBAAqB,CAAC;AAC3D,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAQhD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC;IAClC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM;QACf,GAAG,EAAE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,YAC7D,gBAAgB,CAAC,CAAC,CAAC,GACd,EACR,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,YAC7D,gBAAgB,CAAC,CAAC,CAAC,GACd,IACF,CACT,CAAC;AACJ,CAAC","sourcesContent":["import type { PropsWithChildren, ReactElement } from 'react';\nimport Grid2, { type GridSize } from '@mui/material/Grid2';\nimport makeStyles from '@mui/styles/makeStyles';\nimport type { PConnProps } from '../../../../types/PConnProps';\n\ninterface TwoColumnTabProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n templateCol?: string;\n}\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline'\n }\n}));\n\nexport default function TwoColumnTab(props: PropsWithChildren<TwoColumnTabProps>) {\n const classes = useStyles();\n\n const { children, templateCol = '1fr 1fr' } = props;\n const childrenToRender = children as ReactElement[];\n\n if (childrenToRender.length !== 2) {\n console.error(`TwoColumn template sees more than 2 columns: ${childrenToRender.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol\n .replaceAll(/[a-z]+/g, '')\n .split(/\\s/)\n .map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid2 container spacing={1}>\n <Grid2 size={{ xs: 12, md: aSize }} className={classes.colStyles}>\n {childrenToRender[0]}\n </Grid2>\n <Grid2 size={{ xs: 12, md: bSize }} className={classes.colStyles}>\n {childrenToRender[1]}\n </Grid2>\n </Grid2>\n );\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { PConnProps } from '../../../../types/PConnProps';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { PConnProps } from '../../../../types/PConnProps';
3
3
  import './WideNarrow.css';
4
4
  interface WideNarrowProps extends PConnProps {
5
5
  a: any;
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrow.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,kBAAkB,CAAC;AAE1B,UAAU,eAAgB,SAAQ,UAAU;IAE1C,CAAC,EAAE,GAAG,CAAC;IACP,CAAC,EAAE,GAAG,CAAC;IAEP,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,2CAoB3E"}
1
+ {"version":3,"file":"WideNarrow.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,kBAAkB,CAAC;AAE1B,UAAU,eAAgB,SAAQ,UAAU;IAE1C,CAAC,EAAE,GAAG,CAAC;IACP,CAAC,EAAE,GAAG,CAAC;IAEP,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,2CAoB3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrow.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":";AAEA,OAAO,kBAAkB,CAAC;AAc1B,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAyC;IAC1E,kDAAkD;IAClD,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAEtC,OAAO,CACL,8BACG,QAAQ,IAAK,QAA2B,CAAC,MAAM,KAAK,CAAC,IAAI,CACxD,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,yBAAyB,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,EAC5D,cAAK,SAAS,EAAC,2BAA2B,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,IAC1D,CACP,EACA,CAAC,IAAI,CAAC,IAAI,CACT,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,yBAAyB,YAAE,CAAC,GAAO,EAClD,cAAK,SAAS,EAAC,2BAA2B,YAAE,CAAC,GAAO,IAChD,CACP,IACA,CACJ,CAAC;AACJ,CAAC","sourcesContent":["import { PropsWithChildren, ReactElement } from 'react';\nimport { PConnProps } from '../../../../types/PConnProps';\nimport './WideNarrow.css';\n\ninterface WideNarrowProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n a: any;\n b: any;\n // eslint-disable-next-line react/no-unused-prop-types\n title?: string;\n // eslint-disable-next-line react/no-unused-prop-types\n cols?: string;\n // eslint-disable-next-line react/no-unused-prop-types\n icon?: string;\n}\n\nexport default function WideNarrow(props: PropsWithChildren<WideNarrowProps>) {\n // const {a, b /*, cols, icon, title */ } = props;\n const { a, b, children = [] } = props;\n\n return (\n <>\n {children && (children as ReactElement[]).length === 2 && (\n <div className='psdk-wide-narrow-column'>\n <div className='psdk-wide-column-column'>{children[0]}</div>\n <div className='psdk-narrow-column-column'>{children[1]}</div>\n </div>\n )}\n {a && b && (\n <div className='psdk-wide-narrow-column'>\n <div className='psdk-wide-column-column'>{a}</div>\n <div className='psdk-narrow-column-column'>{b}</div>\n </div>\n )}\n </>\n );\n}\n"]}
1
+ {"version":3,"file":"WideNarrow.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":";AAEA,OAAO,kBAAkB,CAAC;AAc1B,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAyC;IAC1E,kDAAkD;IAClD,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAEtC,OAAO,CACL,8BACG,QAAQ,IAAK,QAA2B,CAAC,MAAM,KAAK,CAAC,IAAI,CACxD,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,yBAAyB,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,EAC5D,cAAK,SAAS,EAAC,2BAA2B,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,IAC1D,CACP,EACA,CAAC,IAAI,CAAC,IAAI,CACT,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,yBAAyB,YAAE,CAAC,GAAO,EAClD,cAAK,SAAS,EAAC,2BAA2B,YAAE,CAAC,GAAO,IAChD,CACP,IACA,CACJ,CAAC;AACJ,CAAC","sourcesContent":["import type { PropsWithChildren, ReactElement } from 'react';\nimport type { PConnProps } from '../../../../types/PConnProps';\nimport './WideNarrow.css';\n\ninterface WideNarrowProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n a: any;\n b: any;\n\n title?: string;\n\n cols?: string;\n\n icon?: string;\n}\n\nexport default function WideNarrow(props: PropsWithChildren<WideNarrowProps>) {\n // const {a, b /*, cols, icon, title */ } = props;\n const { a, b, children = [] } = props;\n\n return (\n <>\n {children && (children as ReactElement[]).length === 2 && (\n <div className='psdk-wide-narrow-column'>\n <div className='psdk-wide-column-column'>{children[0]}</div>\n <div className='psdk-narrow-column-column'>{children[1]}</div>\n </div>\n )}\n {a && b && (\n <div className='psdk-wide-narrow-column'>\n <div className='psdk-wide-column-column'>{a}</div>\n <div className='psdk-narrow-column-column'>{b}</div>\n </div>\n )}\n </>\n );\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { PConnProps } from '../../../../types/PConnProps';
1
+ import type { PConnProps } from '../../../../types/PConnProps';
2
2
  interface WideNarrowDetailsProps extends PConnProps {
3
3
  showLabel?: boolean;
4
4
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrowDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,UAAU,sBAAuB,SAAQ,UAAU;IAEjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAID,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAoEtE"}
1
+ {"version":3,"file":"WideNarrowDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,UAAU,sBAAuB,SAAQ,UAAU;IAEjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAID,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAoEtE"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { createElement } from 'react';
3
- import Grid from '@mui/material/Grid';
3
+ import Grid2, {} from '@mui/material/Grid2';
4
4
  import createPConnectComponent from '../../../../bridge/react_pconnect';
5
5
  import { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';
6
6
  const COLUMN_WIDTHS = [8, 4];
@@ -21,7 +21,6 @@ export default function WideNarrowDetails(props) {
21
21
  }
22
22
  return createElement(createPConnectComponent(), {
23
23
  ...theConfigObject,
24
- // eslint-disable-next-line react/no-array-index-key
25
24
  key: index.toString()
26
25
  });
27
26
  });
@@ -43,6 +42,6 @@ export default function WideNarrowDetails(props) {
43
42
  if (propsToUse?.showLabel && propsToUse.label) {
44
43
  theName = propsToUse.label;
45
44
  }
46
- return (_jsxs(FieldGroup, { name: theName, children: [showHighlightedData && highlightedDataArr.length > 0 && (_jsx(Grid, { container: true, spacing: 1, style: { padding: '0 0 1em' }, children: highlightedDataArr.map((child, i) => (_jsx(Grid, { item: true, xs: COLUMN_WIDTHS[i], children: child }, `hf-${i + 1}`))) })), _jsx(Grid, { container: true, spacing: 1, children: children?.map((child, i) => (_jsx(Grid, { item: true, xs: COLUMN_WIDTHS[i], children: child }, `r-${i + 1}`))) })] }));
45
+ return (_jsxs(FieldGroup, { name: theName, children: [showHighlightedData && highlightedDataArr.length > 0 && (_jsx(Grid2, { container: true, spacing: 1, style: { padding: '0 0 1em' }, children: highlightedDataArr.map((child, i) => (_jsx(Grid2, { size: { xs: COLUMN_WIDTHS[i] }, children: child }, `hf-${i + 1}`))) })), _jsx(Grid2, { container: true, spacing: 1, children: children?.map((child, i) => (_jsx(Grid2, { size: { xs: COLUMN_WIDTHS[i] }, children: child }, `r-${i + 1}`))) })] }));
47
46
  }
48
47
  //# sourceMappingURL=WideNarrowDetails.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrowDetails.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx"],"names":[],"mappings":";AAAA,OAAO,EA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B,KAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,aAAa,CAAC,CAAC,CAAa,YACxC,KAAK,IAD0C,KAAK,CAAC,GAAG,CAAC,EAAE,CAEvD,CACR,CAAC,GACG,IACI,CACd,CAAC;AACJ,CAAC","sourcesContent":["import { createElement } from 'react';\nimport Grid, { GridSize } from '@mui/material/Grid';\n\nimport createPConnectComponent from '../../../../bridge/react_pconnect';\nimport { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\n\nimport { PConnProps } from '../../../../types/PConnProps';\n\ninterface WideNarrowDetailsProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n showLabel?: boolean;\n label?: string;\n showHighlightedData?: boolean;\n}\n\nconst COLUMN_WIDTHS = [8, 4];\n\nexport default function WideNarrowDetails(props: WideNarrowDetailsProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const FieldGroup = getComponentFromMap('FieldGroup');\n\n const { label, showLabel = true, getPConnect, showHighlightedData = false } = props;\n\n // Get the inherited props from the parent to determine label settings\n const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };\n\n // Set display mode prop and re-create the children so this part of the dom tree renders\n // in a readonly (display) mode instead of a editable\n getPConnect().setInheritedProp('displayMode', 'DISPLAY_ONLY');\n getPConnect().setInheritedProp('readOnly', true);\n const children = (getPConnect().getChildren() as any[])?.map((configObject, index) => {\n let theConfigObject: object = configObject;\n if (!theConfigObject) {\n theConfigObject = {};\n }\n\n return createElement(createPConnectComponent(), {\n ...theConfigObject,\n // eslint-disable-next-line react/no-array-index-key\n key: index.toString()\n });\n });\n\n // Set up highlighted data to pass in return if is set to show, need raw metadata to pass to createComponent\n let highlightedDataArr = [];\n if (showHighlightedData) {\n const { highlightedData = [] } = (getPConnect().getRawMetadata() as any).config;\n highlightedDataArr = highlightedData.map(field => {\n field.config.displayMode = 'STACKED_LARGE_VAL';\n\n // Mark as status display when using pyStatusWork\n if (field.config.value === '@P .pyStatusWork') {\n field.type = 'TextInput';\n field.config.displayAsStatus = true;\n }\n\n return getPConnect().createComponent(field, '', 0, {}); // 2nd, 3rd, and 4th args empty string/object/null until typedef marked correctly as optional\n });\n }\n\n let theName = '';\n if (propsToUse?.showLabel && propsToUse.label) {\n theName = propsToUse.label;\n }\n\n return (\n <FieldGroup name={theName}>\n {showHighlightedData && highlightedDataArr.length > 0 && (\n <Grid container spacing={1} style={{ padding: '0 0 1em' }}>\n {highlightedDataArr.map((child, i) => (\n <Grid item xs={COLUMN_WIDTHS[i] as GridSize} key={`hf-${i + 1}`}>\n {child}\n </Grid>\n ))}\n </Grid>\n )}\n <Grid container spacing={1}>\n {children?.map((child, i) => (\n <Grid item xs={COLUMN_WIDTHS[i] as GridSize} key={`r-${i + 1}`}>\n {child}\n </Grid>\n ))}\n </Grid>\n </FieldGroup>\n );\n}\n"]}
1
+ {"version":3,"file":"WideNarrowDetails.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,EAAiB,MAAM,qBAAqB,CAAC;AAE3D,OAAO,uBAAuB,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAWnF,MAAM,aAAa,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE7B,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAA6B;IACrE,8EAA8E;IAC9E,MAAM,UAAU,GAAG,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAErD,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI,EAAE,WAAW,EAAE,mBAAmB,GAAG,KAAK,EAAE,GAAG,KAAK,CAAC;IAEpF,sEAAsE;IACtE,MAAM,UAAU,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,CAAC,iBAAiB,EAAE,EAAE,CAAC;IAE9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U,EAAE,SAAS,IAAI,UAAU,CAAC,KAAK,EAAE,CAAC;QAC9C,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC;IAC7B,CAAC;IAED,OAAO,CACL,MAAC,UAAU,IAAC,IAAI,EAAE,OAAO,aACtB,mBAAmB,IAAI,kBAAkB,CAAC,MAAM,GAAG,CAAC,IAAI,CACvD,KAAC,KAAK,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,YACvD,kBAAkB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACpC,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,aAAa,CAAC,CAAC,CAAa,EAAE,YAC9C,KAAK,IADgD,MAAM,CAAC,GAAG,CAAC,EAAE,CAE7D,CACT,CAAC,GACI,CACT,EACD,KAAC,KAAK,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC,YACxB,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAC3B,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,aAAa,CAAC,CAAC,CAAa,EAAE,YAC9C,KAAK,IADgD,KAAK,CAAC,GAAG,CAAC,EAAE,CAE5D,CACT,CAAC,GACI,IACG,CACd,CAAC;AACJ,CAAC","sourcesContent":["import { createElement } from 'react';\nimport Grid2, { type GridSize } from '@mui/material/Grid2';\n\nimport createPConnectComponent from '../../../../bridge/react_pconnect';\nimport { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\n\nimport type { PConnProps } from '../../../../types/PConnProps';\n\ninterface WideNarrowDetailsProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n showLabel?: boolean;\n label?: string;\n showHighlightedData?: boolean;\n}\n\nconst COLUMN_WIDTHS = [8, 4];\n\nexport default function WideNarrowDetails(props: WideNarrowDetailsProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const FieldGroup = getComponentFromMap('FieldGroup');\n\n const { label, showLabel = true, getPConnect, showHighlightedData = false } = props;\n\n // Get the inherited props from the parent to determine label settings\n const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };\n\n // Set display mode prop and re-create the children so this part of the dom tree renders\n // in a readonly (display) mode instead of a editable\n getPConnect().setInheritedProp('displayMode', 'DISPLAY_ONLY');\n getPConnect().setInheritedProp('readOnly', true);\n const children = (getPConnect().getChildren() as any[])?.map((configObject, index) => {\n let theConfigObject: object = configObject;\n if (!theConfigObject) {\n theConfigObject = {};\n }\n\n return createElement(createPConnectComponent(), {\n ...theConfigObject,\n\n key: index.toString()\n });\n });\n\n // Set up highlighted data to pass in return if is set to show, need raw metadata to pass to createComponent\n let highlightedDataArr = [];\n if (showHighlightedData) {\n const { highlightedData = [] } = (getPConnect().getRawMetadata() as any).config;\n highlightedDataArr = highlightedData.map(field => {\n field.config.displayMode = 'STACKED_LARGE_VAL';\n\n // Mark as status display when using pyStatusWork\n if (field.config.value === '@P .pyStatusWork') {\n field.type = 'TextInput';\n field.config.displayAsStatus = true;\n }\n\n return getPConnect().createComponent(field, '', 0, {}); // 2nd, 3rd, and 4th args empty string/object/null until typedef marked correctly as optional\n });\n }\n\n let theName = '';\n if (propsToUse?.showLabel && propsToUse.label) {\n theName = propsToUse.label;\n }\n\n return (\n <FieldGroup name={theName}>\n {showHighlightedData && highlightedDataArr.length > 0 && (\n <Grid2 container spacing={1} style={{ padding: '0 0 1em' }}>\n {highlightedDataArr.map((child, i) => (\n <Grid2 size={{ xs: COLUMN_WIDTHS[i] as GridSize }} key={`hf-${i + 1}`}>\n {child}\n </Grid2>\n ))}\n </Grid2>\n )}\n <Grid2 container spacing={1}>\n {children?.map((child, i) => (\n <Grid2 size={{ xs: COLUMN_WIDTHS[i] as GridSize }} key={`r-${i + 1}`}>\n {child}\n </Grid2>\n ))}\n </Grid2>\n </FieldGroup>\n );\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { PConnProps } from '../../../../types/PConnProps';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { PConnProps } from '../../../../types/PConnProps';
3
3
  import './WideNarrowForm.css';
4
4
  interface WideNarrowFormProps extends PConnProps {
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrowForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,sBAAsB,CAAC;AAE9B,UAAU,mBAAoB,SAAQ,UAAU;CAE/C;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,2CAanF"}
1
+ {"version":3,"file":"WideNarrowForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,sBAAsB,CAAC;AAE9B,UAAU,mBAAoB,SAAQ,UAAU;CAE/C;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,2CAanF"}
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrowForm.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.tsx"],"names":[],"mappings":";AAEA,OAAO,sBAAsB,CAAC;AAM9B,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAA6C;IAClF,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,CACL,4BACG,QAAQ,IAAK,QAA2B,CAAC,MAAM,KAAK,CAAC,IAAI,CACxD,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,yBAAyB,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,EAC5D,cAAK,SAAS,EAAC,2BAA2B,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,IAC1D,CACP,GACA,CACJ,CAAC;AACJ,CAAC","sourcesContent":["import { PropsWithChildren, ReactElement } from 'react';\nimport { PConnProps } from '../../../../types/PConnProps';\nimport './WideNarrowForm.css';\n\ninterface WideNarrowFormProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n}\n\nexport default function WideNarrowForm(props: PropsWithChildren<WideNarrowFormProps>) {\n const { children } = props;\n\n return (\n <>\n {children && (children as ReactElement[]).length === 2 && (\n <div className='psdk-wide-narrow-column'>\n <div className='psdk-wide-column-column'>{children[0]}</div>\n <div className='psdk-narrow-column-column'>{children[1]}</div>\n </div>\n )}\n </>\n );\n}\n"]}
1
+ {"version":3,"file":"WideNarrowForm.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.tsx"],"names":[],"mappings":";AAEA,OAAO,sBAAsB,CAAC;AAM9B,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAA6C;IAClF,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,CACL,4BACG,QAAQ,IAAK,QAA2B,CAAC,MAAM,KAAK,CAAC,IAAI,CACxD,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,yBAAyB,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,EAC5D,cAAK,SAAS,EAAC,2BAA2B,YAAE,QAAQ,CAAC,CAAC,CAAC,GAAO,IAC1D,CACP,GACA,CACJ,CAAC;AACJ,CAAC","sourcesContent":["import type { PropsWithChildren, ReactElement } from 'react';\nimport type { PConnProps } from '../../../../types/PConnProps';\nimport './WideNarrowForm.css';\n\ninterface WideNarrowFormProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n}\n\nexport default function WideNarrowForm(props: PropsWithChildren<WideNarrowFormProps>) {\n const { children } = props;\n\n return (\n <>\n {children && (children as ReactElement[]).length === 2 && (\n <div className='psdk-wide-narrow-column'>\n <div className='psdk-wide-column-column'>{children[0]}</div>\n <div className='psdk-narrow-column-column'>{children[1]}</div>\n </div>\n )}\n </>\n );\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { PConnProps } from '../../../../types/PConnProps';
1
+ import { type PropsWithChildren } from 'react';
2
+ import type { PConnProps } from '../../../../types/PConnProps';
3
3
  interface WideNarrowPageProps extends PConnProps {
4
4
  title: string;
5
5
  templateCol?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrowPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,UAAU,mBAAoB,SAAQ,UAAU;IAE9C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAMD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,2CAYnF"}
1
+ {"version":3,"file":"WideNarrowPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,UAAU,mBAAoB,SAAQ,UAAU;IAE9C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAMD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,2CAYnF"}
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrowPage.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAUnF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAA6C;IAClF,8EAA8E;IAC9E,MAAM,UAAU,GAAG,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAErD,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IACtE,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE9C,OAAO,CACL,wBACE,KAAC,UAAU,IAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,GAAI,GAClH,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { Children, PropsWithChildren } from 'react';\nimport { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../../types/PConnProps';\n\ninterface WideNarrowPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n title: string;\n templateCol?: string;\n icon?: string;\n}\n\n/*\n * The wrapper handles knowing how to take in just children and mapping\n * to the Cosmos template.\n */\nexport default function WideNarrowPage(props: PropsWithChildren<WideNarrowPageProps>) {\n // Get emitted components from map (so we can get any override that may exist)\n const WideNarrow = getComponentFromMap('WideNarrow');\n\n const { children, title, templateCol = '1fr 1fr', icon = '' } = props;\n const childArray = Children.toArray(children);\n\n return (\n <div>\n <WideNarrow a={childArray[0]} b={childArray[1]} title={title} cols={templateCol} icon={icon?.replace('pi pi-', '')} />\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"WideNarrowPage.js","sourceRoot":"","sources":["../../../../../src/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAA0B,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAUnF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAA6C;IAClF,8EAA8E;IAC9E,MAAM,UAAU,GAAG,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAErD,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IACtE,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE9C,OAAO,CACL,wBACE,KAAC,UAAU,IAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,GAAI,GAClH,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { Children, type PropsWithChildren } from 'react';\nimport { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\nimport type { PConnProps } from '../../../../types/PConnProps';\n\ninterface WideNarrowPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n title: string;\n templateCol?: string;\n icon?: string;\n}\n\n/*\n * The wrapper handles knowing how to take in just children and mapping\n * to the Cosmos template.\n */\nexport default function WideNarrowPage(props: PropsWithChildren<WideNarrowPageProps>) {\n // Get emitted components from map (so we can get any override that may exist)\n const WideNarrow = getComponentFromMap('WideNarrow');\n\n const { children, title, templateCol = '1fr 1fr', icon = '' } = props;\n const childArray = Children.toArray(children);\n\n return (\n <div>\n <WideNarrow a={childArray[0]} b={childArray[1]} title={title} cols={templateCol} icon={icon?.replace('pi pi-', '')} />\n </div>\n );\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  .link-style {
2
- color: white !important;
2
+ color: var(--app-text-color) !important;
3
3
  text-transform: capitalize !important;
4
4
  font-size: 1rem !important;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { PConnProps } from '../../../types/PConnProps';
1
+ import type { PConnProps } from '../../../types/PConnProps';
2
2
  import './WssNavBar.css';
3
3
  interface WssNavBarProps extends PConnProps {
4
4
  appInfo: any;
@@ -1 +1 @@
1
- {"version":3,"file":"WssNavBar.d.ts","sourceRoot":"","sources":["../../../../src/components/template/WssNavBar/WssNavBar.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,iBAAiB,CAAC;AAEzB,UAAU,cAAe,SAAQ,UAAU;IAEzC,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,EAAE,CAAC;IAChB,QAAQ,EAAE;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,iBAAiB,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAE3D,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IAEjB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC;CACd;AAuBD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,cAAc,2CA+GtD"}
1
+ {"version":3,"file":"WssNavBar.d.ts","sourceRoot":"","sources":["../../../../src/components/template/WssNavBar/WssNavBar.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,iBAAiB,CAAC;AAEzB,UAAU,cAAe,SAAQ,UAAU;IAEzC,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,EAAE,CAAC;IAChB,QAAQ,EAAE;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,iBAAiB,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAE3D,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IAEjB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC;CACd;AAuBD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,cAAc,2CA+GtD"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { useState } from 'react';
2
+ import React, { useState } from 'react';
3
3
  import makeStyles from '@mui/styles/makeStyles';
4
4
  import AppBar from '@mui/material/AppBar';
5
5
  import Box from '@mui/material/Box';
@@ -21,10 +21,10 @@ const useStyles = makeStyles(theme => ({
21
21
  marginRight: theme.spacing(2)
22
22
  },
23
23
  appListLogo: {
24
- width: '3.6rem'
24
+ maxWidth: '100%',
25
+ height: '3rem'
25
26
  },
26
27
  appName: {
27
- color: 'white',
28
28
  marginLeft: theme.spacing(2),
29
29
  marginRight: theme.spacing(4),
30
30
  fontSize: '1.5rem'
@@ -51,7 +51,7 @@ export default function WssNavBar(props) {
51
51
  setAnchorElUser(null);
52
52
  };
53
53
  const navLinksContent = (_jsx(Box, { id: 'nav-links', sx: { flexGrow: 1, display: { xs: 'none', md: 'flex' } }, style: { justifyContent: alignment }, children: navLinks.map(link => (_jsx(Button, { className: 'link-style', onClick: link.onClick, children: link.text }, link.text))) }));
54
- return (_jsx("div", { id: 'NavBar', className: 'nav-bar', children: _jsx(AppBar, { position: 'static', color: 'primary', children: _jsxs(Container, { maxWidth: 'xl', children: [_jsxs(Toolbar, { disableGutters: true, style: { justifyContent: 'space-between' }, children: [_jsxs(Button, { id: 'appName', style: { textTransform: 'capitalize' }, onClick: appInfo.onClick, children: [_jsx("img", { src: appInfo.imageSrc, className: classes.appListLogo }), _jsx("span", { className: classes.appName, children: appInfo.appName })] }), _jsxs(Box, { sx: { flexGrow: 1, display: { xs: 'flex', md: 'none' } }, children: [_jsx(IconButton, { size: 'small', "aria-label": 'account of current user', "aria-controls": 'menu-appbar', "aria-haspopup": 'true', onClick: handleOpenNavMenu, color: 'inherit', children: _jsx(MenuIcon, {}) }), _jsx(Menu, { id: 'menu-appbar', anchorEl: anchorElNav, anchorOrigin: {
54
+ return (_jsx("div", { id: 'NavBar', className: 'nav-bar', children: _jsx(AppBar, { position: 'static', color: 'primary', children: _jsxs(Container, { maxWidth: false, children: [_jsxs(Toolbar, { disableGutters: true, style: { justifyContent: 'space-between' }, children: [_jsxs(Button, { id: 'appName', style: { textTransform: 'capitalize' }, onClick: appInfo.onClick, children: [_jsx("img", { src: appInfo.imageSrc, className: classes.appListLogo }), _jsx("span", { className: classes.appName, children: appInfo.appName })] }), _jsxs(Box, { sx: { flexGrow: 1, display: { xs: 'flex', md: 'none' } }, children: [_jsx(IconButton, { size: 'small', "aria-label": 'account of current user', "aria-controls": 'menu-appbar', "aria-haspopup": 'true', onClick: handleOpenNavMenu, color: 'inherit', children: _jsx(MenuIcon, {}) }), _jsx(Menu, { id: 'menu-appbar', anchorEl: anchorElNav, anchorOrigin: {
55
55
  vertical: 'bottom',
56
56
  horizontal: 'left'
57
57
  }, keepMounted: true, transformOrigin: {
@@ -1 +1 @@
1
- {"version":3,"file":"WssNavBar.js","sourceRoot":"","sources":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AAC,QAAQ,IAAiB,OAAO,EAAE,IAAI,CAAC,OAAO,YAC7C,KAAC,UAAU,cAAE,IAAI,CAAC,IAAI,GAAc,IADvB,IAAI,CAAC,IAAI,CAEb,CACZ,CAAC,GACG,IACH,EAEL,QAAQ,KAAK,QAAQ,IAAI,4BAAG,eAAe,GAAI,EAEhD,MAAC,GAAG,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,aACtB,KAAC,UAAU,IAAC,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAC,OAAO,YACnD,KAAC,MAAM,cAAE,QAAQ,CAAC,mBAAmB,GAAU,GACpC,EACb,KAAC,IAAI,IACH,EAAE,EAAC,aAAa,EAChB,QAAQ,EAAE,YAAY,EACtB,YAAY,EAAE;4CACZ,QAAQ,EAAE,KAAK;4CACf,UAAU,EAAE,OAAO;yCACpB,EACD,WAAW,QACX,eAAe,EAAE;4CACf,QAAQ,EAAE,KAAK;4CACf,UAAU,EAAE,OAAO;yCACpB,EACD,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,EAC3B,OAAO,EAAE,mBAAmB,YAE5B,KAAC,QAAQ,IAAC,OAAO,EAAE,MAAM,YACvB,KAAC,UAAU,cAAE,YAAY,CAAC,SAAS,EAAE,cAAc,CAAC,GAAc,GACzD,GACN,IACH,IACE,EACT,QAAQ,KAAK,OAAO,IAAI,4BAAG,eAAe,GAAI,IACrC,GACL,GACL,CACP,CAAC;AACJ,CAAC","sourcesContent":["import React, { useState } from 'react';\nimport makeStyles from '@mui/styles/makeStyles';\nimport AppBar from '@mui/material/AppBar';\nimport Box from '@mui/material/Box';\nimport Toolbar from '@mui/material/Toolbar';\nimport Container from '@mui/material/Container';\nimport { IconButton, Menu, MenuItem, Typography, Button } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport MenuIcon from '@mui/icons-material/Menu';\nimport { logout } from '@pega/auth/lib/sdk-auth-manager';\nimport { PConnProps } from '../../../types/PConnProps';\nimport './WssNavBar.css';\n\ninterface WssNavBarProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n appInfo: any;\n navLinks: any[];\n operator: { currentUserInitials: string };\n navDisplayOptions: { alignment: string; position: string };\n // eslint-disable-next-line react/no-unused-prop-types\n portalName: string;\n imageSrc: string;\n // eslint-disable-next-line react/no-unused-prop-types\n fullImageSrc: string;\n appName: any;\n}\n\nconst useStyles = makeStyles(theme => ({\n root: {\n display: 'flex'\n },\n content: {\n flexGrow: 1,\n height: '100vh',\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n },\n appListLogo: {\n width: '3.6rem'\n },\n appName: {\n color: 'white',\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(4),\n fontSize: '1.5rem'\n }\n}));\n\nexport default function WssNavBar(props: WssNavBarProps) {\n const { appInfo, navLinks, operator, navDisplayOptions } = props;\n const { alignment, position } = navDisplayOptions;\n const classes = useStyles();\n\n const [anchorElNav, setAnchorElNav] = useState<null | HTMLElement>(null);\n const [anchorElUser, setAnchorElUser] = useState<null | HTMLElement>(null);\n\n const localizedVal = PCore.getLocaleUtils().getLocaleValue;\n const localeCategory = 'AppShell';\n\n const handleOpenNavMenu = (event: React.MouseEvent<HTMLElement>) => {\n setAnchorElNav(event.currentTarget);\n };\n const handleOpenUserMenu = (event: React.MouseEvent<HTMLElement>) => {\n setAnchorElUser(event.currentTarget);\n };\n\n const handleCloseNavMenu = () => {\n setAnchorElNav(null);\n };\n\n const handleCloseUserMenu = () => {\n setAnchorElUser(null);\n };\n\n const navLinksContent = (\n <Box id='nav-links' sx={{ flexGrow: 1, display: { xs: 'none', md: 'flex' } }} style={{ justifyContent: alignment }}>\n {navLinks.map(link => (\n <Button className='link-style' key={link.text} onClick={link.onClick}>\n {link.text}\n </Button>\n ))}\n </Box>\n );\n\n return (\n <div id='NavBar' className='nav-bar'>\n <AppBar position='static' color='primary'>\n <Container maxWidth='xl'>\n <Toolbar disableGutters style={{ justifyContent: 'space-between' }}>\n <Button id='appName' style={{ textTransform: 'capitalize' }} onClick={appInfo.onClick}>\n <img src={appInfo.imageSrc} className={classes.appListLogo} />\n <span className={classes.appName}>{appInfo.appName}</span>\n </Button>\n <Box sx={{ flexGrow: 1, display: { xs: 'flex', md: 'none' } }}>\n <IconButton\n size='small'\n aria-label='account of current user'\n aria-controls='menu-appbar'\n aria-haspopup='true'\n onClick={handleOpenNavMenu}\n color='inherit'\n >\n <MenuIcon />\n </IconButton>\n <Menu\n id='menu-appbar'\n anchorEl={anchorElNav}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'left'\n }}\n keepMounted\n transformOrigin={{\n vertical: 'top',\n horizontal: 'left'\n }}\n open={Boolean(anchorElNav)}\n onClose={handleCloseNavMenu}\n >\n {navLinks.map(link => (\n <MenuItem key={link.text} onClick={link.onClick}>\n <Typography>{link.text}</Typography>\n </MenuItem>\n ))}\n </Menu>\n </Box>\n\n {position === 'inline' && <>{navLinksContent}</>}\n\n <Box sx={{ flexGrow: 0 }}>\n <IconButton onClick={handleOpenUserMenu} size='large'>\n <Avatar>{operator.currentUserInitials}</Avatar>\n </IconButton>\n <Menu\n id='menu-appbar'\n anchorEl={anchorElUser}\n anchorOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n keepMounted\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n open={Boolean(anchorElUser)}\n onClose={handleCloseUserMenu}\n >\n <MenuItem onClick={logout}>\n <Typography>{localizedVal('Log off', localeCategory)}</Typography>\n </MenuItem>\n </Menu>\n </Box>\n </Toolbar>\n {position === 'below' && <>{navLinksContent}</>}\n </Container>\n </AppBar>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"WssNavBar.js","sourceRoot":"","sources":["../../../../src/components/template/WssNavBar/WssNavBar.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,MAAM,MAAM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Q,KAAK,QAAQ,IAAI,4BAAG,eAAe,GAAI,EAEhD,MAAC,GAAG,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,aACtB,KAAC,UAAU,IAAC,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAC,OAAO,YACnD,KAAC,MAAM,cAAE,QAAQ,CAAC,mBAAmB,GAAU,GACpC,EACb,KAAC,IAAI,IACH,EAAE,EAAC,aAAa,EAChB,QAAQ,EAAE,YAAY,EACtB,YAAY,EAAE;4CACZ,QAAQ,EAAE,KAAK;4CACf,UAAU,EAAE,OAAO;yCACpB,EACD,WAAW,QACX,eAAe,EAAE;4CACf,QAAQ,EAAE,KAAK;4CACf,UAAU,EAAE,OAAO;yCACpB,EACD,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,EAC3B,OAAO,EAAE,mBAAmB,YAE5B,KAAC,QAAQ,IAAC,OAAO,EAAE,MAAM,YACvB,KAAC,UAAU,cAAE,YAAY,CAAC,SAAS,EAAE,cAAc,CAAC,GAAc,GACzD,GACN,IACH,IACE,EACT,QAAQ,KAAK,OAAO,IAAI,4BAAG,eAAe,GAAI,IACrC,GACL,GACL,CACP,CAAC;AACJ,CAAC","sourcesContent":["import React, { useState } from 'react';\nimport makeStyles from '@mui/styles/makeStyles';\nimport AppBar from '@mui/material/AppBar';\nimport Box from '@mui/material/Box';\nimport Toolbar from '@mui/material/Toolbar';\nimport Container from '@mui/material/Container';\nimport { IconButton, Menu, MenuItem, Typography, Button } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport MenuIcon from '@mui/icons-material/Menu';\nimport { logout } from '@pega/auth/lib/sdk-auth-manager';\nimport type { PConnProps } from '../../../types/PConnProps';\nimport './WssNavBar.css';\n\ninterface WssNavBarProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n appInfo: any;\n navLinks: any[];\n operator: { currentUserInitials: string };\n navDisplayOptions: { alignment: string; position: string };\n\n portalName: string;\n imageSrc: string;\n\n fullImageSrc: string;\n appName: any;\n}\n\nconst useStyles = makeStyles(theme => ({\n root: {\n display: 'flex'\n },\n content: {\n flexGrow: 1,\n height: '100vh',\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n },\n appListLogo: {\n maxWidth: '100%',\n height: '3rem'\n },\n appName: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(4),\n fontSize: '1.5rem'\n }\n}));\n\nexport default function WssNavBar(props: WssNavBarProps) {\n const { appInfo, navLinks, operator, navDisplayOptions } = props;\n const { alignment, position } = navDisplayOptions;\n const classes = useStyles();\n\n const [anchorElNav, setAnchorElNav] = useState<null | HTMLElement>(null);\n const [anchorElUser, setAnchorElUser] = useState<null | HTMLElement>(null);\n\n const localizedVal = PCore.getLocaleUtils().getLocaleValue;\n const localeCategory = 'AppShell';\n\n const handleOpenNavMenu = (event: React.MouseEvent<HTMLElement>) => {\n setAnchorElNav(event.currentTarget);\n };\n const handleOpenUserMenu = (event: React.MouseEvent<HTMLElement>) => {\n setAnchorElUser(event.currentTarget);\n };\n\n const handleCloseNavMenu = () => {\n setAnchorElNav(null);\n };\n\n const handleCloseUserMenu = () => {\n setAnchorElUser(null);\n };\n\n const navLinksContent = (\n <Box id='nav-links' sx={{ flexGrow: 1, display: { xs: 'none', md: 'flex' } }} style={{ justifyContent: alignment }}>\n {navLinks.map(link => (\n <Button className='link-style' key={link.text} onClick={link.onClick}>\n {link.text}\n </Button>\n ))}\n </Box>\n );\n\n return (\n <div id='NavBar' className='nav-bar'>\n <AppBar position='static' color='primary'>\n <Container maxWidth={false}>\n <Toolbar disableGutters style={{ justifyContent: 'space-between' }}>\n <Button id='appName' style={{ textTransform: 'capitalize' }} onClick={appInfo.onClick}>\n <img src={appInfo.imageSrc} className={classes.appListLogo} />\n <span className={classes.appName}>{appInfo.appName}</span>\n </Button>\n <Box sx={{ flexGrow: 1, display: { xs: 'flex', md: 'none' } }}>\n <IconButton\n size='small'\n aria-label='account of current user'\n aria-controls='menu-appbar'\n aria-haspopup='true'\n onClick={handleOpenNavMenu}\n color='inherit'\n >\n <MenuIcon />\n </IconButton>\n <Menu\n id='menu-appbar'\n anchorEl={anchorElNav}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'left'\n }}\n keepMounted\n transformOrigin={{\n vertical: 'top',\n horizontal: 'left'\n }}\n open={Boolean(anchorElNav)}\n onClose={handleCloseNavMenu}\n >\n {navLinks.map(link => (\n <MenuItem key={link.text} onClick={link.onClick}>\n <Typography>{link.text}</Typography>\n </MenuItem>\n ))}\n </Menu>\n </Box>\n\n {position === 'inline' && <>{navLinksContent}</>}\n\n <Box sx={{ flexGrow: 0 }}>\n <IconButton onClick={handleOpenUserMenu} size='large'>\n <Avatar>{operator.currentUserInitials}</Avatar>\n </IconButton>\n <Menu\n id='menu-appbar'\n anchorEl={anchorElUser}\n anchorOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n keepMounted\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n open={Boolean(anchorElUser)}\n onClose={handleCloseUserMenu}\n >\n <MenuItem onClick={logout}>\n <Typography>{localizedVal('Log off', localeCategory)}</Typography>\n </MenuItem>\n </Menu>\n </Box>\n </Toolbar>\n {position === 'below' && <>{navLinksContent}</>}\n </Container>\n </AppBar>\n </div>\n );\n}\n"]}
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ export declare function prepareCaseSummaryData(caseSummaryRegion: any, portalSpecificVisibilityChecker?: any): {
3
+ primarySummaryFields: any;
4
+ secondarySummaryFields: any;
5
+ };
6
+ export declare const filterUtilities: (utils: ReactNode) => any;
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/template/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,wBAAgB,sBAAsB,CAAC,iBAAiB,KAAA,EAAE,+BAA+B,CAAC,KAAA;;;EAuCzF;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,SAAS,QAa/C,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { isValidElement } from 'react';
2
+ export function prepareCaseSummaryData(caseSummaryRegion, portalSpecificVisibilityChecker) {
3
+ const filterVisibleChildren = children => {
4
+ return children
5
+ ?.getPConnect()
6
+ ?.getChildren()
7
+ ?.filter(child => {
8
+ const configProps = child.getPConnect().getConfigProps();
9
+ const defaultVisibilityCn = !('visibility' in configProps) || configProps.visibility === true;
10
+ return defaultVisibilityCn && (portalSpecificVisibilityChecker?.(configProps) ?? true);
11
+ });
12
+ };
13
+ const convertChildrenToSummaryData = children => {
14
+ return children?.map(childItem => {
15
+ const childPConnData = childItem.getPConnect().resolveConfigProps(childItem.getPConnect().getRawMetadata());
16
+ return childPConnData;
17
+ });
18
+ };
19
+ const summaryFieldChildren = caseSummaryRegion.props
20
+ .getPConnect()
21
+ .getChildren()[0]
22
+ ?.getPConnect()
23
+ ?.getReferencedViewPConnect()
24
+ ?.getPConnect()
25
+ ?.getChildren();
26
+ const primarySummaryFields = summaryFieldChildren && summaryFieldChildren.length > 0
27
+ ? convertChildrenToSummaryData(filterVisibleChildren(summaryFieldChildren[0]))
28
+ : undefined;
29
+ const secondarySummaryFields = summaryFieldChildren && summaryFieldChildren.length > 1
30
+ ? convertChildrenToSummaryData(filterVisibleChildren(summaryFieldChildren[1]))
31
+ : undefined;
32
+ return {
33
+ primarySummaryFields,
34
+ secondarySummaryFields
35
+ };
36
+ }
37
+ export const filterUtilities = (utils) => {
38
+ let utilsMeta;
39
+ if (isValidElement(utils)) {
40
+ const pConnect = utils.props.getPConnect();
41
+ utilsMeta = pConnect.getRawMetadata?.();
42
+ if (!utilsMeta?.children?.length)
43
+ return;
44
+ utilsMeta = {
45
+ ...utilsMeta,
46
+ children: utilsMeta.children.filter((child) => child.config?.availableInChannel?.selfService === true)
47
+ };
48
+ return utilsMeta.children?.length ? pConnect.createComponent(utilsMeta) : undefined;
49
+ }
50
+ return utilsMeta;
51
+ };
52
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/template/utils.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,UAAU,sBAAsB,CAAC,iBAAiB,EAAE,+BAAgC;IACxF,MAAM,qBAAqB,GAAG,QAAQ,CAAC,EAAE;QACvC,OAAO,QAAQ;YACb,EAAE,WAAW,EAAE;YACf,EAAE,WAAW,EAAE;YACf,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE;YACf,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC;YACzD,MAAM,mBAAmB,GAAG,CAAC,CAAC,YAAY,IAAI,WAAW,CAAC,IAAI,WAAW,CAAC,UAAU,KAAK,IAAI,CAAC;YAC9F,OAAO,mBAAmB,IAAI,CAAC,+BAA+B,EAAE,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC;QACzF,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;IACF,MAAM,4BAA4B,GAAG,QAAQ,CAAC,EAAE;QAC9C,OAAO,QAAQ,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE;YAC/B,MAAM,cAAc,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC,kBAAkB,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC,CAAC;YAC5G,OAAO,cAAc,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,KAAK;SACjD,WAAW,EAAE;SACb,WAAW,EAAE,CAAC,CAAC,CAAC;QACjB,EAAE,WAAW,EAAE;QACf,EAAE,yBAAyB,EAAE;QAC7B,EAAE,WAAW,EAAE;QACf,EAAE,WAAW,EAAE,CAAC;IAElB,MAAM,oBAAoB,GACxB,oBAAoB,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC;QACrD,CAAC,CAAC,4BAA4B,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9E,CAAC,CAAC,SAAS,CAAC;IAChB,MAAM,sBAAsB,GAC1B,oBAAoB,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC;QACrD,CAAC,CAAC,4BAA4B,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9E,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO;QACL,oBAAoB;QACpB,sBAAsB;KACvB,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAgB,EAAE,EAAE;IAClD,IAAI,SAAS,CAAC;IACd,IAAI,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAC3C,SAAS,GAAG,QAAQ,CAAC,cAAc,EAAE,EAAE,CAAC;QACxC,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM;YAAE,OAAO;QACzC,SAAS,GAAG;YACV,GAAG,SAAS;YACZ,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,kBAAkB,EAAE,WAAW,KAAK,IAAI,CAAC;SAC5G,CAAC;QACF,OAAO,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACtF,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC","sourcesContent":["import type { ReactNode } from 'react';\nimport { isValidElement } from 'react';\n\nexport function prepareCaseSummaryData(caseSummaryRegion, portalSpecificVisibilityChecker?) {\n const filterVisibleChildren = children => {\n return children\n ?.getPConnect()\n ?.getChildren()\n ?.filter(child => {\n const configProps = child.getPConnect().getConfigProps();\n const defaultVisibilityCn = !('visibility' in configProps) || configProps.visibility === true;\n return defaultVisibilityCn && (portalSpecificVisibilityChecker?.(configProps) ?? true);\n });\n };\n const convertChildrenToSummaryData = children => {\n return children?.map(childItem => {\n const childPConnData = childItem.getPConnect().resolveConfigProps(childItem.getPConnect().getRawMetadata());\n return childPConnData;\n });\n };\n\n const summaryFieldChildren = caseSummaryRegion.props\n .getPConnect()\n .getChildren()[0]\n ?.getPConnect()\n ?.getReferencedViewPConnect()\n ?.getPConnect()\n ?.getChildren();\n\n const primarySummaryFields =\n summaryFieldChildren && summaryFieldChildren.length > 0\n ? convertChildrenToSummaryData(filterVisibleChildren(summaryFieldChildren[0]))\n : undefined;\n const secondarySummaryFields =\n summaryFieldChildren && summaryFieldChildren.length > 1\n ? convertChildrenToSummaryData(filterVisibleChildren(summaryFieldChildren[1]))\n : undefined;\n\n return {\n primarySummaryFields,\n secondarySummaryFields\n };\n}\n\nexport const filterUtilities = (utils: ReactNode) => {\n let utilsMeta;\n if (isValidElement(utils)) {\n const pConnect = utils.props.getPConnect();\n utilsMeta = pConnect.getRawMetadata?.();\n if (!utilsMeta?.children?.length) return;\n utilsMeta = {\n ...utilsMeta,\n children: utilsMeta.children.filter((child: any) => child.config?.availableInChannel?.selfService === true)\n };\n return utilsMeta.children?.length ? pConnect.createComponent(utilsMeta) : undefined;\n }\n return utilsMeta;\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { PConnProps } from '../../../types/PConnProps';
1
+ import type { PConnProps } from '../../../types/PConnProps';
2
2
  interface AppAnnouncementProps extends PConnProps {
3
3
  header?: string;
4
4
  description?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AppAnnouncement.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/AppAnnouncement/AppAnnouncement.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,oBAAqB,SAAQ,UAAU;IAE/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAWD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAsClE"}
1
+ {"version":3,"file":"AppAnnouncement.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/AppAnnouncement/AppAnnouncement.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,oBAAqB,SAAQ,UAAU;IAE/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAWD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAsClE"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppAnnouncement.js","sourceRoot":"","sources":["../../../../src/components/widget/AppAnnouncement/AppAnnouncement.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAWhD,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACrC,IAAI,EAAE;QACJ,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QAC3B,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QAC9B,UAAU,EAAE,WAAW;QACvB,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAA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J,CAAC","sourcesContent":["import { Card, CardContent, CardHeader, Typography, CardActions, Button } from '@mui/material';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { PConnProps } from '../../../types/PConnProps';\n\ninterface AppAnnouncementProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n header?: string;\n description?: string;\n datasource?: any;\n whatsnewlink?: string;\n}\n\nconst useStyles = makeStyles(theme => ({\n root: {\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1),\n borderLeft: '6px solid',\n borderLeftColor: theme.palette.primary.light\n }\n}));\n\nexport default function AppAnnouncement(props: AppAnnouncementProps) {\n const { header = '', description = '', datasource = [], whatsnewlink = '' } = props;\n let details = [];\n if (datasource && datasource.source) {\n details = datasource.source.map(item => {\n return item.name;\n });\n }\n\n const classes = useStyles();\n\n const handleClick = () => {\n window.open(whatsnewlink);\n };\n\n return (\n <Card title='AppAnnouncement' className={classes.root}>\n <CardHeader title={<Typography variant='h6'>{header}</Typography>} />\n <CardContent>\n <Typography variant='body1' gutterBottom>\n {description}\n </Typography>\n {details.map((itm, idx) => {\n const theKey = `AppAnn-item-${idx}`;\n return (\n <Typography key={theKey} variant='body2'>\n - {itm}\n </Typography>\n );\n })}\n </CardContent>\n <CardActions>\n <Button color='primary' onClick={handleClick} size='small'>\n See what&apos;s new\n </Button>\n </CardActions>\n </Card>\n );\n}\n"]}
1
+ {"version":3,"file":"AppAnnouncement.js","sourceRoot":"","sources":["../../../../src/components/widget/AppAnnouncement/AppAnnouncement.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAWhD,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACrC,IAAI,EAAE;QACJ,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;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,CAAC,IACU,EACd,KAAC,WAAW,cACV,KAAC,MAAM,IAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAC,OAAO,+BAEjD,GACG,IACT,CACR,CAAC;AACJ,CAAC","sourcesContent":["import { Card, CardContent, CardHeader, Typography, CardActions, Button } from '@mui/material';\nimport makeStyles from '@mui/styles/makeStyles';\nimport type { PConnProps } from '../../../types/PConnProps';\n\ninterface AppAnnouncementProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n header?: string;\n description?: string;\n datasource?: any;\n whatsnewlink?: string;\n}\n\nconst useStyles = makeStyles(theme => ({\n root: {\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1),\n borderLeft: '6px solid',\n borderLeftColor: theme.palette.primary.light\n }\n}));\n\nexport default function AppAnnouncement(props: AppAnnouncementProps) {\n const { header = '', description = '', datasource = [], whatsnewlink = '' } = props;\n let details = [];\n if (datasource && datasource.source) {\n details = datasource.source.map(item => {\n return item.name;\n });\n }\n\n const classes = useStyles();\n\n const handleClick = () => {\n window.open(whatsnewlink);\n };\n\n return (\n <Card title='AppAnnouncement' className={classes.root}>\n <CardHeader title={<Typography variant='h6'>{header}</Typography>} />\n <CardContent>\n <Typography variant='body1' gutterBottom>\n {description}\n </Typography>\n {details.map((itm, idx) => {\n const theKey = `AppAnn-item-${idx}`;\n return (\n <Typography key={theKey} variant='body2'>\n - {itm}\n </Typography>\n );\n })}\n </CardContent>\n <CardActions>\n <Button color='primary' onClick={handleClick} size='small'>\n See what&apos;s new\n </Button>\n </CardActions>\n </Card>\n );\n}\n"]}
@@ -34,6 +34,7 @@
34
34
 
35
35
  .file-error {
36
36
  color: var(--app-error-color);
37
+ font-size: 14px;
37
38
  }
38
39
 
39
40
  .psdk-utility-card {
@@ -41,6 +42,10 @@
41
42
  flex-direction: row;
42
43
  padding: 0.25rem 0rem 0.25rem 0.25rem;
43
44
  margin-bottom: 0.5rem;
45
+ align-items: center;
46
+ border: 0.0625rem solid var(--utility-card-border-color);
47
+ border-radius: calc(0.25rem);
48
+ min-height: 3rem;
44
49
  }
45
50
 
46
51
  .psdk-utility-card-icon {
@@ -53,6 +58,7 @@
53
58
  .psdk-utility-card-svg-icon {
54
59
  width: 2.5rem;
55
60
  display: inline-block;
61
+ filter: var(--svg-color);
56
62
  }
57
63
 
58
64
  .psdk-utility-card-main {
@@ -70,14 +76,7 @@
70
76
  .psdk-utility-card-action-svg-icon {
71
77
  width: 1.4rem;
72
78
  display: inline-block;
73
- }
74
-
75
- .psdk-utility-card {
76
- display: flex;
77
- align-items: center;
78
- border: 0.0625rem solid rgb(207, 207, 207);
79
- border-radius: calc(0.25rem);
80
- min-height: 3rem;
79
+ filter: var(--svg-color);
81
80
  }
82
81
 
83
82
  .psdk-utility-button {
@@ -1,9 +1,11 @@
1
- import { PConnFieldProps } from '../../../types/PConnProps';
1
+ import type { PConnFieldProps } from '../../../types/PConnProps';
2
2
  import './Attachment.css';
3
3
  interface AttachmentProps extends Omit<PConnFieldProps, 'value'> {
4
4
  value: any;
5
- allowMultiple: string;
5
+ allowMultiple: boolean | string;
6
6
  extensions: string;
7
+ editMode: string;
8
+ isTableFormatter: boolean;
7
9
  }
8
10
  export default function Attachment(props: AttachmentProps): import("react/jsx-runtime").JSX.Element;
9
11
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/Attachment/Attachment.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,kBAAkB,CAAC;AAE1B,UAAU,eAAgB,SAAQ,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC;IAE9D,KAAK,EAAE,GAAG,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAeD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,eAAe,2CAibxD"}
1
+ {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/Attachment/Attachment.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,kBAAkB,CAAC;AAE1B,UAAU,eAAgB,SAAQ,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC;IAE9D,KAAK,EAAE,GAAG,CAAC;IACX,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,eAAe,2CA8fxD"}