@pega/react-sdk-components 0.25.1 → 0.25.3

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 (542) 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.js +2 -2
  13. package/lib/components/designSystemExtension/Banner/Banner.js.map +1 -1
  14. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
  15. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -1
  16. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js +49 -34
  17. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js.map +1 -1
  18. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts.map +1 -1
  19. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js +6 -8
  20. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js.map +1 -1
  21. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts +1 -1
  22. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts.map +1 -1
  23. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js +3 -5
  24. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js.map +1 -1
  25. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js +2 -2
  26. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js.map +1 -1
  27. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts.map +1 -1
  28. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js +4 -6
  29. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js.map +1 -1
  30. package/lib/components/designSystemExtension/Operator/Operator.d.ts +1 -1
  31. package/lib/components/designSystemExtension/Operator/Operator.d.ts.map +1 -1
  32. package/lib/components/designSystemExtension/Operator/Operator.js +12 -9
  33. package/lib/components/designSystemExtension/Operator/Operator.js.map +1 -1
  34. package/lib/components/designSystemExtension/Pulse/Pulse.d.ts +1 -1
  35. package/lib/components/designSystemExtension/Pulse/Pulse.d.ts.map +1 -1
  36. package/lib/components/designSystemExtension/Pulse/Pulse.js.map +1 -1
  37. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  38. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js +28 -4
  39. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js.map +1 -1
  40. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.css +4 -4
  41. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js +1 -1
  42. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js.map +1 -1
  43. package/lib/components/field/AutoComplete/AutoComplete.d.ts +1 -1
  44. package/lib/components/field/AutoComplete/AutoComplete.d.ts.map +1 -1
  45. package/lib/components/field/AutoComplete/AutoComplete.js.map +1 -1
  46. package/lib/components/field/CancelAlert/CancelAlert.css +4 -4
  47. package/lib/components/field/CancelAlert/CancelAlert.d.ts +1 -1
  48. package/lib/components/field/CancelAlert/CancelAlert.d.ts.map +1 -1
  49. package/lib/components/field/CancelAlert/CancelAlert.js +3 -3
  50. package/lib/components/field/CancelAlert/CancelAlert.js.map +1 -1
  51. package/lib/components/field/Checkbox/Checkbox.d.ts +9 -1
  52. package/lib/components/field/Checkbox/Checkbox.d.ts.map +1 -1
  53. package/lib/components/field/Checkbox/Checkbox.js +52 -3
  54. package/lib/components/field/Checkbox/Checkbox.js.map +1 -1
  55. package/lib/components/field/Currency/Currency.d.ts +1 -1
  56. package/lib/components/field/Currency/Currency.d.ts.map +1 -1
  57. package/lib/components/field/Currency/Currency.js +2 -2
  58. package/lib/components/field/Currency/Currency.js.map +1 -1
  59. package/lib/components/field/Currency/currency-utils.d.ts.map +1 -1
  60. package/lib/components/field/Currency/currency-utils.js +0 -2
  61. package/lib/components/field/Currency/currency-utils.js.map +1 -1
  62. package/lib/components/field/Date/Date.d.ts +1 -1
  63. package/lib/components/field/Date/Date.d.ts.map +1 -1
  64. package/lib/components/field/Date/Date.js +3 -6
  65. package/lib/components/field/Date/Date.js.map +1 -1
  66. package/lib/components/field/DateTime/DateTime.d.ts +1 -1
  67. package/lib/components/field/DateTime/DateTime.d.ts.map +1 -1
  68. package/lib/components/field/DateTime/DateTime.js +4 -7
  69. package/lib/components/field/DateTime/DateTime.js.map +1 -1
  70. package/lib/components/field/Decimal/Decimal.d.ts +1 -1
  71. package/lib/components/field/Decimal/Decimal.d.ts.map +1 -1
  72. package/lib/components/field/Decimal/Decimal.js +2 -4
  73. package/lib/components/field/Decimal/Decimal.js.map +1 -1
  74. package/lib/components/field/Dropdown/Dropdown.d.ts +1 -1
  75. package/lib/components/field/Dropdown/Dropdown.d.ts.map +1 -1
  76. package/lib/components/field/Dropdown/Dropdown.js +6 -9
  77. package/lib/components/field/Dropdown/Dropdown.js.map +1 -1
  78. package/lib/components/field/Email/Email.d.ts +1 -1
  79. package/lib/components/field/Email/Email.d.ts.map +1 -1
  80. package/lib/components/field/Email/Email.js +6 -7
  81. package/lib/components/field/Email/Email.js.map +1 -1
  82. package/lib/components/field/Group/Group.d.ts +2 -2
  83. package/lib/components/field/Group/Group.d.ts.map +1 -1
  84. package/lib/components/field/Group/Group.js +2 -2
  85. package/lib/components/field/Group/Group.js.map +1 -1
  86. package/lib/components/field/Integer/Integer.d.ts +1 -1
  87. package/lib/components/field/Integer/Integer.d.ts.map +1 -1
  88. package/lib/components/field/Integer/Integer.js +4 -5
  89. package/lib/components/field/Integer/Integer.js.map +1 -1
  90. package/lib/components/field/Location/Location.d.ts +10 -0
  91. package/lib/components/field/Location/Location.d.ts.map +1 -0
  92. package/lib/components/field/Location/Location.js +157 -0
  93. package/lib/components/field/Location/Location.js.map +1 -0
  94. package/lib/components/field/Location/index.d.ts +2 -0
  95. package/lib/components/field/Location/index.d.ts.map +1 -0
  96. package/lib/components/field/Location/index.js +2 -0
  97. package/lib/components/field/Location/index.js.map +1 -0
  98. package/lib/components/field/Multiselect/Multiselect.js.map +1 -1
  99. package/lib/components/field/Multiselect/utils.d.ts +2 -1
  100. package/lib/components/field/Multiselect/utils.d.ts.map +1 -1
  101. package/lib/components/field/Multiselect/utils.js.map +1 -1
  102. package/lib/components/field/ObjectReference/ObjectReference.d.ts +16 -0
  103. package/lib/components/field/ObjectReference/ObjectReference.d.ts.map +1 -0
  104. package/lib/components/field/ObjectReference/ObjectReference.js +165 -0
  105. package/lib/components/field/ObjectReference/ObjectReference.js.map +1 -0
  106. package/lib/components/field/ObjectReference/index.d.ts +2 -0
  107. package/lib/components/field/ObjectReference/index.d.ts.map +1 -0
  108. package/lib/components/field/ObjectReference/index.js +2 -0
  109. package/lib/components/field/ObjectReference/index.js.map +1 -0
  110. package/lib/components/field/ObjectReference/utils.d.ts +17 -0
  111. package/lib/components/field/ObjectReference/utils.d.ts.map +1 -0
  112. package/lib/components/field/ObjectReference/utils.js +99 -0
  113. package/lib/components/field/ObjectReference/utils.js.map +1 -0
  114. package/lib/components/field/Percentage/Percentage.d.ts +1 -1
  115. package/lib/components/field/Percentage/Percentage.d.ts.map +1 -1
  116. package/lib/components/field/Percentage/Percentage.js +2 -5
  117. package/lib/components/field/Percentage/Percentage.js.map +1 -1
  118. package/lib/components/field/Phone/Phone.d.ts +1 -1
  119. package/lib/components/field/Phone/Phone.d.ts.map +1 -1
  120. package/lib/components/field/Phone/Phone.js +6 -4
  121. package/lib/components/field/Phone/Phone.js.map +1 -1
  122. package/lib/components/field/RadioButtons/RadioButtons.d.ts +8 -1
  123. package/lib/components/field/RadioButtons/RadioButtons.d.ts.map +1 -1
  124. package/lib/components/field/RadioButtons/RadioButtons.js +12 -1
  125. package/lib/components/field/RadioButtons/RadioButtons.js.map +1 -1
  126. package/lib/components/field/RichText/RichText.d.ts +1 -1
  127. package/lib/components/field/RichText/RichText.d.ts.map +1 -1
  128. package/lib/components/field/RichText/RichText.js.map +1 -1
  129. package/lib/components/field/ScalarList/ScalarList.d.ts +1 -1
  130. package/lib/components/field/ScalarList/ScalarList.d.ts.map +1 -1
  131. package/lib/components/field/ScalarList/ScalarList.js +1 -2
  132. package/lib/components/field/ScalarList/ScalarList.js.map +1 -1
  133. package/lib/components/field/SelectableCard/SelectableCard.d.ts +2 -0
  134. package/lib/components/field/SelectableCard/SelectableCard.d.ts.map +1 -0
  135. package/lib/components/field/SelectableCard/SelectableCard.js +57 -0
  136. package/lib/components/field/SelectableCard/SelectableCard.js.map +1 -0
  137. package/lib/components/field/SelectableCard/index.d.ts +2 -0
  138. package/lib/components/field/SelectableCard/index.d.ts.map +1 -0
  139. package/lib/components/field/SelectableCard/index.js +2 -0
  140. package/lib/components/field/SelectableCard/index.js.map +1 -0
  141. package/lib/components/field/SelectableCard/utils.d.ts +14 -0
  142. package/lib/components/field/SelectableCard/utils.d.ts.map +1 -0
  143. package/lib/components/field/SelectableCard/utils.js +185 -0
  144. package/lib/components/field/SelectableCard/utils.js.map +1 -0
  145. package/lib/components/field/SemanticLink/SemanticLink.d.ts +10 -2
  146. package/lib/components/field/SemanticLink/SemanticLink.d.ts.map +1 -1
  147. package/lib/components/field/SemanticLink/SemanticLink.js +128 -15
  148. package/lib/components/field/SemanticLink/SemanticLink.js.map +1 -1
  149. package/lib/components/field/SemanticLink/utils.js +1 -1
  150. package/lib/components/field/SemanticLink/utils.js.map +1 -1
  151. package/lib/components/field/TextArea/TextArea.d.ts +1 -1
  152. package/lib/components/field/TextArea/TextArea.d.ts.map +1 -1
  153. package/lib/components/field/TextArea/TextArea.js +4 -5
  154. package/lib/components/field/TextArea/TextArea.js.map +1 -1
  155. package/lib/components/field/TextContent/TextContent.d.ts +1 -1
  156. package/lib/components/field/TextContent/TextContent.d.ts.map +1 -1
  157. package/lib/components/field/TextContent/TextContent.js +0 -1
  158. package/lib/components/field/TextContent/TextContent.js.map +1 -1
  159. package/lib/components/field/TextInput/TextInput.d.ts +1 -1
  160. package/lib/components/field/TextInput/TextInput.d.ts.map +1 -1
  161. package/lib/components/field/TextInput/TextInput.js +4 -5
  162. package/lib/components/field/TextInput/TextInput.js.map +1 -1
  163. package/lib/components/field/Time/Time.d.ts +1 -1
  164. package/lib/components/field/Time/Time.d.ts.map +1 -1
  165. package/lib/components/field/Time/Time.js +2 -5
  166. package/lib/components/field/Time/Time.js.map +1 -1
  167. package/lib/components/field/URL/URL.d.ts +1 -1
  168. package/lib/components/field/URL/URL.d.ts.map +1 -1
  169. package/lib/components/field/URL/URL.js +4 -5
  170. package/lib/components/field/URL/URL.js.map +1 -1
  171. package/lib/components/field/UserReference/UserReference.d.ts +1 -2
  172. package/lib/components/field/UserReference/UserReference.d.ts.map +1 -1
  173. package/lib/components/field/UserReference/UserReference.js +0 -1
  174. package/lib/components/field/UserReference/UserReference.js.map +1 -1
  175. package/lib/components/field/UserReference/UserReferenceUtils.d.ts.map +1 -1
  176. package/lib/components/field/UserReference/UserReferenceUtils.js.map +1 -1
  177. package/lib/components/helpers/attachmentHelpers.d.ts +14 -11
  178. package/lib/components/helpers/attachmentHelpers.d.ts.map +1 -1
  179. package/lib/components/helpers/attachmentHelpers.js +52 -30
  180. package/lib/components/helpers/attachmentHelpers.js.map +1 -1
  181. package/lib/components/helpers/case-utils.js.map +1 -1
  182. package/lib/components/helpers/common-utils.d.ts +1 -1
  183. package/lib/components/helpers/common-utils.js.map +1 -1
  184. package/lib/components/helpers/data_page.d.ts.map +1 -1
  185. package/lib/components/helpers/data_page.js +0 -1
  186. package/lib/components/helpers/data_page.js.map +1 -1
  187. package/lib/components/helpers/date-format-utils.d.ts.map +1 -1
  188. package/lib/components/helpers/event-utils.d.ts.map +1 -1
  189. package/lib/components/helpers/event-utils.js.map +1 -1
  190. package/lib/components/helpers/field-group-utils.d.ts +1 -1
  191. package/lib/components/helpers/field-group-utils.d.ts.map +1 -1
  192. package/lib/components/helpers/field-group-utils.js.map +1 -1
  193. package/lib/components/helpers/formatters/Boolean.js.map +1 -1
  194. package/lib/components/helpers/formatters/Currency.js.map +1 -1
  195. package/lib/components/helpers/formatters/CurrencyMap.d.ts.map +1 -1
  196. package/lib/components/helpers/formatters/CurrencyMap.js +0 -1
  197. package/lib/components/helpers/formatters/CurrencyMap.js.map +1 -1
  198. package/lib/components/helpers/formatters/Date.js.map +1 -1
  199. package/lib/components/helpers/formatters/index.js.map +1 -1
  200. package/lib/components/helpers/instructions-utils.d.ts.map +1 -1
  201. package/lib/components/helpers/reactContextHelpers.d.ts +0 -1
  202. package/lib/components/helpers/reactContextHelpers.d.ts.map +1 -1
  203. package/lib/components/helpers/simpleTableHelpers.d.ts +15 -1
  204. package/lib/components/helpers/simpleTableHelpers.d.ts.map +1 -1
  205. package/lib/components/helpers/simpleTableHelpers.js +111 -5
  206. package/lib/components/helpers/simpleTableHelpers.js.map +1 -1
  207. package/lib/components/helpers/state-utils.d.ts.map +1 -1
  208. package/lib/components/helpers/state-utils.js.map +1 -1
  209. package/lib/components/helpers/template-utils.js.map +1 -1
  210. package/lib/components/helpers/utils.d.ts +1 -0
  211. package/lib/components/helpers/utils.d.ts.map +1 -1
  212. package/lib/components/helpers/utils.js +7 -1
  213. package/lib/components/helpers/utils.js.map +1 -1
  214. package/lib/components/helpers/versionHelpers.d.ts.map +1 -1
  215. package/lib/components/helpers/versionHelpers.js +0 -1
  216. package/lib/components/helpers/versionHelpers.js.map +1 -1
  217. package/lib/components/infra/ActionButtons/ActionButtons.d.ts.map +1 -1
  218. package/lib/components/infra/ActionButtons/ActionButtons.js +12 -7
  219. package/lib/components/infra/ActionButtons/ActionButtons.js.map +1 -1
  220. package/lib/components/infra/Assignment/Assignment.d.ts +2 -2
  221. package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -1
  222. package/lib/components/infra/Assignment/Assignment.js +1 -2
  223. package/lib/components/infra/Assignment/Assignment.js.map +1 -1
  224. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts +2 -2
  225. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts.map +1 -1
  226. package/lib/components/infra/AssignmentCard/AssignmentCard.js.map +1 -1
  227. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts +1 -2
  228. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -1
  229. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +13 -77
  230. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -1
  231. package/lib/components/infra/Containers/FlowContainer/helpers.d.ts.map +1 -1
  232. package/lib/components/infra/Containers/FlowContainer/helpers.js.map +1 -1
  233. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts +1 -1
  234. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts.map +1 -1
  235. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.js +0 -1
  236. package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.js.map +1 -1
  237. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +1 -1
  238. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -1
  239. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +0 -2
  240. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -1
  241. package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts +0 -1
  242. package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts.map +1 -1
  243. package/lib/components/infra/Containers/SimpleView/helper.d.ts +0 -1
  244. package/lib/components/infra/Containers/SimpleView/helper.d.ts.map +1 -1
  245. package/lib/components/infra/Containers/SimpleView/helper.js.map +1 -1
  246. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +1 -1
  247. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -1
  248. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js +3 -4
  249. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js.map +1 -1
  250. package/lib/components/infra/Containers/container-helpers.d.ts +1 -0
  251. package/lib/components/infra/Containers/container-helpers.d.ts.map +1 -1
  252. package/lib/components/infra/Containers/container-helpers.js +46 -1
  253. package/lib/components/infra/Containers/container-helpers.js.map +1 -1
  254. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts +2 -2
  255. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts.map +1 -1
  256. package/lib/components/infra/DashboardFilter/DashboardFilter.js +0 -2
  257. package/lib/components/infra/DashboardFilter/DashboardFilter.js.map +1 -1
  258. package/lib/components/infra/DashboardFilter/filterUtils.d.ts.map +1 -1
  259. package/lib/components/infra/DashboardFilter/filterUtils.js +2 -3
  260. package/lib/components/infra/DashboardFilter/filterUtils.js.map +1 -1
  261. package/lib/components/infra/DeferLoad/DeferLoad.d.ts +1 -1
  262. package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -1
  263. package/lib/components/infra/DeferLoad/DeferLoad.js +2 -4
  264. package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -1
  265. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  266. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  267. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js +0 -2
  268. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js.map +1 -1
  269. package/lib/components/infra/MultiStep/MultiStep.css +8 -8
  270. package/lib/components/infra/MultiStep/MultiStep.d.ts +2 -2
  271. package/lib/components/infra/MultiStep/MultiStep.d.ts.map +1 -1
  272. package/lib/components/infra/MultiStep/MultiStep.js +1 -1
  273. package/lib/components/infra/MultiStep/MultiStep.js.map +1 -1
  274. package/lib/components/infra/NavBar/NavBar.css +1 -1
  275. package/lib/components/infra/NavBar/NavBar.d.ts +1 -1
  276. package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -1
  277. package/lib/components/infra/NavBar/NavBar.js +4 -5
  278. package/lib/components/infra/NavBar/NavBar.js.map +1 -1
  279. package/lib/components/infra/Reference/Reference.d.ts +1 -1
  280. package/lib/components/infra/Reference/Reference.d.ts.map +1 -1
  281. package/lib/components/infra/Reference/Reference.js +2 -3
  282. package/lib/components/infra/Reference/Reference.js.map +1 -1
  283. package/lib/components/infra/Region/Region.d.ts +1 -1
  284. package/lib/components/infra/Region/Region.d.ts.map +1 -1
  285. package/lib/components/infra/Region/Region.js.map +1 -1
  286. package/lib/components/infra/RootContainer/RootContainer.d.ts +2 -2
  287. package/lib/components/infra/RootContainer/RootContainer.d.ts.map +1 -1
  288. package/lib/components/infra/RootContainer/RootContainer.js +0 -1
  289. package/lib/components/infra/RootContainer/RootContainer.js.map +1 -1
  290. package/lib/components/infra/Stages/Stages.d.ts +1 -1
  291. package/lib/components/infra/Stages/Stages.d.ts.map +1 -1
  292. package/lib/components/infra/Stages/Stages.js.map +1 -1
  293. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js +1 -1
  294. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js.map +1 -1
  295. package/lib/components/infra/View/View.d.ts +2 -2
  296. package/lib/components/infra/View/View.d.ts.map +1 -1
  297. package/lib/components/infra/View/View.js.map +1 -1
  298. package/lib/components/template/AdvancedSearch/AdvancedSearch.d.ts.map +1 -1
  299. package/lib/components/template/AdvancedSearch/AdvancedSearch.js +0 -1
  300. package/lib/components/template/AdvancedSearch/AdvancedSearch.js.map +1 -1
  301. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.d.ts +0 -1
  302. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.d.ts.map +1 -1
  303. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.js +2 -8
  304. package/lib/components/template/AdvancedSearch/SearchGroup/persistUtils.js.map +1 -1
  305. package/lib/components/template/AdvancedSearch/SearchGroups/SearchGroups.d.ts.map +1 -1
  306. package/lib/components/template/AdvancedSearch/SearchGroups/SearchGroups.js +3 -5
  307. package/lib/components/template/AdvancedSearch/SearchGroups/SearchGroups.js.map +1 -1
  308. package/lib/components/template/AdvancedSearch/SearchGroups/hooks.js +0 -1
  309. package/lib/components/template/AdvancedSearch/SearchGroups/hooks.js.map +1 -1
  310. package/lib/components/template/AdvancedSearch/SearchGroups/utils.js.map +1 -1
  311. package/lib/components/template/AdvancedSearch/TemplateContext.d.ts +0 -1
  312. package/lib/components/template/AdvancedSearch/TemplateContext.d.ts.map +1 -1
  313. package/lib/components/template/AppShell/AppShell.css +1 -1
  314. package/lib/components/template/AppShell/AppShell.d.ts +2 -2
  315. package/lib/components/template/AppShell/AppShell.d.ts.map +1 -1
  316. package/lib/components/template/AppShell/AppShell.js +4 -9
  317. package/lib/components/template/AppShell/AppShell.js.map +1 -1
  318. package/lib/components/template/BannerPage/BannerPage.d.ts +2 -2
  319. package/lib/components/template/BannerPage/BannerPage.d.ts.map +1 -1
  320. package/lib/components/template/BannerPage/BannerPage.js.map +1 -1
  321. package/lib/components/template/CaseSummary/CaseSummary.d.ts +2 -2
  322. package/lib/components/template/CaseSummary/CaseSummary.d.ts.map +1 -1
  323. package/lib/components/template/CaseSummary/CaseSummary.js +0 -1
  324. package/lib/components/template/CaseSummary/CaseSummary.js.map +1 -1
  325. package/lib/components/template/CaseView/CaseView.d.ts +2 -2
  326. package/lib/components/template/CaseView/CaseView.d.ts.map +1 -1
  327. package/lib/components/template/CaseView/CaseView.js +4 -5
  328. package/lib/components/template/CaseView/CaseView.js.map +1 -1
  329. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts +1 -1
  330. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts.map +1 -1
  331. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js +1 -1
  332. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js.map +1 -1
  333. package/lib/components/template/Confirmation/Confirmation.d.ts +2 -2
  334. package/lib/components/template/Confirmation/Confirmation.d.ts.map +1 -1
  335. package/lib/components/template/Confirmation/Confirmation.js +0 -1
  336. package/lib/components/template/Confirmation/Confirmation.js.map +1 -1
  337. package/lib/components/template/DataReference/DataReference.d.ts +2 -2
  338. package/lib/components/template/DataReference/DataReference.d.ts.map +1 -1
  339. package/lib/components/template/DataReference/DataReference.js +8 -12
  340. package/lib/components/template/DataReference/DataReference.js.map +1 -1
  341. package/lib/components/template/DataReference/DataReferenceAdvancedSearchContext.d.ts +1 -1
  342. package/lib/components/template/DataReference/DataReferenceAdvancedSearchContext.d.ts.map +1 -1
  343. package/lib/components/template/DataReference/DataReferenceAdvancedSearchContext.js.map +1 -1
  344. package/lib/components/template/DataReference/SearchForm.d.ts.map +1 -1
  345. package/lib/components/template/DataReference/SearchForm.js +3 -2
  346. package/lib/components/template/DataReference/SearchForm.js.map +1 -1
  347. package/lib/components/template/DataReference/utils.d.ts +4 -4
  348. package/lib/components/template/DataReference/utils.d.ts.map +1 -1
  349. package/lib/components/template/DataReference/utils.js +1 -1
  350. package/lib/components/template/DataReference/utils.js.map +1 -1
  351. package/lib/components/template/DefaultForm/DefaultForm.d.ts +2 -2
  352. package/lib/components/template/DefaultForm/DefaultForm.d.ts.map +1 -1
  353. package/lib/components/template/DefaultForm/DefaultForm.js.map +1 -1
  354. package/lib/components/template/DefaultForm/utils/index.d.ts.map +1 -1
  355. package/lib/components/template/DefaultForm/utils/index.js.map +1 -1
  356. package/lib/components/template/Details/Details/Details.d.ts +1 -1
  357. package/lib/components/template/Details/Details/Details.d.ts.map +1 -1
  358. package/lib/components/template/Details/Details/Details.js +2 -3
  359. package/lib/components/template/Details/Details/Details.js.map +1 -1
  360. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts +2 -2
  361. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -1
  362. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.js.map +1 -1
  363. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +1 -1
  364. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -1
  365. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js +2 -3
  366. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -1
  367. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +1 -1
  368. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -1
  369. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js +2 -3
  370. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -1
  371. package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts +1 -1
  372. package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts.map +1 -1
  373. package/lib/components/template/Details/DynamicTabs/DynamicTabs.js.map +1 -1
  374. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts +1 -1
  375. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -1
  376. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js +1 -2
  377. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -1
  378. package/lib/components/template/InlineDashboard/InlineDashboard.d.ts +2 -2
  379. package/lib/components/template/InlineDashboard/InlineDashboard.d.ts.map +1 -1
  380. package/lib/components/template/InlineDashboard/InlineDashboard.js +2 -2
  381. package/lib/components/template/InlineDashboard/InlineDashboard.js.map +1 -1
  382. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts +2 -2
  383. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -1
  384. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.js.map +1 -1
  385. package/lib/components/template/ListPage/ListPage.d.ts +1 -1
  386. package/lib/components/template/ListPage/ListPage.d.ts.map +1 -1
  387. package/lib/components/template/ListPage/ListPage.js.map +1 -1
  388. package/lib/components/template/ListView/DefaultViewMeta.js.map +1 -1
  389. package/lib/components/template/ListView/ListView.d.ts +1 -1
  390. package/lib/components/template/ListView/ListView.d.ts.map +1 -1
  391. package/lib/components/template/ListView/ListView.js +3 -14
  392. package/lib/components/template/ListView/ListView.js.map +1 -1
  393. package/lib/components/template/ListView/hooks.d.ts.map +1 -1
  394. package/lib/components/template/ListView/hooks.js +2 -5
  395. package/lib/components/template/ListView/hooks.js.map +1 -1
  396. package/lib/components/template/ListView/utils.d.ts.map +1 -1
  397. package/lib/components/template/ListView/utils.js +0 -1
  398. package/lib/components/template/ListView/utils.js.map +1 -1
  399. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +1 -1
  400. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -1
  401. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -1
  402. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts +2 -2
  403. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -1
  404. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.js.map +1 -1
  405. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +1 -1
  406. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -1
  407. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +2 -3
  408. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -1
  409. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +2 -2
  410. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -1
  411. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +1 -1
  412. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +2 -2
  413. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -1
  414. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -1
  415. package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts +2 -2
  416. package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts.map +1 -1
  417. package/lib/components/template/OneColumn/OneColumn/OneColumn.js +2 -2
  418. package/lib/components/template/OneColumn/OneColumn/OneColumn.js.map +1 -1
  419. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts +1 -1
  420. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -1
  421. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -1
  422. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts +2 -2
  423. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -1
  424. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.js.map +1 -1
  425. package/lib/components/template/PromotedFilters/PromotedFilters.d.ts +1 -1
  426. package/lib/components/template/PromotedFilters/PromotedFilters.d.ts.map +1 -1
  427. package/lib/components/template/PromotedFilters/PromotedFilters.js +0 -1
  428. package/lib/components/template/PromotedFilters/PromotedFilters.js.map +1 -1
  429. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts +1 -1
  430. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -1
  431. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js +1 -2
  432. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js.map +1 -1
  433. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +2 -2
  434. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -1
  435. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js +33 -31
  436. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -1
  437. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +1 -1
  438. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -1
  439. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +1 -1
  440. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +1 -1
  441. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -1
  442. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -1
  443. package/lib/components/template/SubTabs/SubTabs.d.ts +2 -2
  444. package/lib/components/template/SubTabs/SubTabs.d.ts.map +1 -1
  445. package/lib/components/template/SubTabs/SubTabs.js.map +1 -1
  446. package/lib/components/template/SubTabs/tabUtils.d.ts.map +1 -1
  447. package/lib/components/template/SubTabs/tabUtils.js.map +1 -1
  448. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts +2 -2
  449. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -1
  450. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js +2 -3
  451. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js.map +1 -1
  452. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +1 -1
  453. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -1
  454. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -1
  455. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +2 -2
  456. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -1
  457. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js +2 -3
  458. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +1 -1
  459. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts +2 -2
  460. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -1
  461. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.js.map +1 -1
  462. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +1 -1
  463. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -1
  464. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +2 -3
  465. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -1
  466. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +2 -2
  467. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -1
  468. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +1 -1
  469. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +2 -2
  470. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -1
  471. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -1
  472. package/lib/components/template/WssNavBar/WssNavBar.css +1 -1
  473. package/lib/components/template/WssNavBar/WssNavBar.d.ts +1 -1
  474. package/lib/components/template/WssNavBar/WssNavBar.d.ts.map +1 -1
  475. package/lib/components/template/WssNavBar/WssNavBar.js +3 -3
  476. package/lib/components/template/WssNavBar/WssNavBar.js.map +1 -1
  477. package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts +1 -1
  478. package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts.map +1 -1
  479. package/lib/components/widget/AppAnnouncement/AppAnnouncement.js.map +1 -1
  480. package/lib/components/widget/Attachment/Attachment.css +6 -8
  481. package/lib/components/widget/Attachment/Attachment.d.ts +1 -1
  482. package/lib/components/widget/Attachment/Attachment.d.ts.map +1 -1
  483. package/lib/components/widget/Attachment/Attachment.js +52 -51
  484. package/lib/components/widget/Attachment/Attachment.js.map +1 -1
  485. package/lib/components/widget/CaseHistory/CaseHistory.d.ts +1 -1
  486. package/lib/components/widget/CaseHistory/CaseHistory.d.ts.map +1 -1
  487. package/lib/components/widget/CaseHistory/CaseHistory.js +2 -2
  488. package/lib/components/widget/CaseHistory/CaseHistory.js.map +1 -1
  489. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +0 -14
  490. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts +1 -1
  491. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts.map +1 -1
  492. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js +1 -1
  493. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js.map +1 -1
  494. package/lib/components/widget/FileUtility/FileUtility/FileUtility.css +7 -6
  495. package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts +1 -1
  496. package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts.map +1 -1
  497. package/lib/components/widget/FileUtility/FileUtility/FileUtility.js +9 -10
  498. package/lib/components/widget/FileUtility/FileUtility/FileUtility.js.map +1 -1
  499. package/lib/components/widget/Followers/Followers.d.ts +2 -2
  500. package/lib/components/widget/Followers/Followers.d.ts.map +1 -1
  501. package/lib/components/widget/Followers/Followers.js +0 -2
  502. package/lib/components/widget/Followers/Followers.js.map +1 -1
  503. package/lib/components/widget/QuickCreate/QuickCreate.d.ts +1 -1
  504. package/lib/components/widget/QuickCreate/QuickCreate.d.ts.map +1 -1
  505. package/lib/components/widget/QuickCreate/QuickCreate.js +0 -1
  506. package/lib/components/widget/QuickCreate/QuickCreate.js.map +1 -1
  507. package/lib/components/widget/SummaryItem/SummaryItem.css +9 -11
  508. package/lib/components/widget/SummaryItem/SummaryItem.d.ts +1 -1
  509. package/lib/components/widget/SummaryItem/SummaryItem.d.ts.map +1 -1
  510. package/lib/components/widget/SummaryItem/SummaryItem.js +1 -1
  511. package/lib/components/widget/SummaryItem/SummaryItem.js.map +1 -1
  512. package/lib/components/widget/SummaryList/SummaryList.d.ts +1 -1
  513. package/lib/components/widget/SummaryList/SummaryList.d.ts.map +1 -1
  514. package/lib/components/widget/SummaryList/SummaryList.js.map +1 -1
  515. package/lib/components/widget/ToDo/ToDo.css +1 -13
  516. package/lib/components/widget/ToDo/ToDo.d.ts +1 -1
  517. package/lib/components/widget/ToDo/ToDo.d.ts.map +1 -1
  518. package/lib/components/widget/ToDo/ToDo.js +14 -8
  519. package/lib/components/widget/ToDo/ToDo.js.map +1 -1
  520. package/lib/hooks/useAfterInitialEffect.d.ts +1 -1
  521. package/lib/hooks/useAfterInitialEffect.d.ts.map +1 -1
  522. package/lib/hooks/useAfterInitialEffect.js.map +1 -1
  523. package/lib/hooks/useConsolidatedRef.d.ts +1 -1
  524. package/lib/hooks/useConsolidatedRef.d.ts.map +1 -1
  525. package/lib/hooks/useConsolidatedRef.js.map +1 -1
  526. package/lib/hooks/useFocusFirstField.d.ts.map +1 -1
  527. package/lib/hooks/useFocusFirstField.js.map +1 -1
  528. package/lib/hooks/useGetTabsCount.d.ts +0 -1
  529. package/lib/hooks/useGetTabsCount.d.ts.map +1 -1
  530. package/lib/hooks/useGetTabsCount.js +2 -3
  531. package/lib/hooks/useGetTabsCount.js.map +1 -1
  532. package/lib/hooks/useScrolltoTop.d.ts.map +1 -1
  533. package/lib/sdk-pega-component-map.d.ts +112 -106
  534. package/lib/sdk-pega-component-map.d.ts.map +1 -1
  535. package/lib/sdk-pega-component-map.js +9 -2
  536. package/lib/sdk-pega-component-map.js.map +1 -1
  537. package/lib/theme.d.ts +23 -0
  538. package/lib/theme.d.ts.map +1 -1
  539. package/lib/theme.js +189 -2
  540. package/lib/theme.js.map +1 -1
  541. package/lib/types/PConnProps.d.ts +1 -1
  542. package/package.json +16 -14
@@ -1 +1 @@
1
- {"version":3,"file":"InlineDashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboard/InlineDashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,oBAAqB,SAAQ,UAAU;IAE/C,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA6BD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,2CAmCrF"}
1
+ {"version":3,"file":"InlineDashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboard/InlineDashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAG7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,oBAAqB,SAAQ,UAAU;IAE/C,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA6BD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,2CAiCrF"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Grid, Typography } from '@mui/material';
2
+ import { Grid2, Typography } from '@mui/material';
3
3
  import makeStyles from '@mui/styles/makeStyles';
4
4
  const useStyles = makeStyles(( /* theme */) => ({
5
5
  headerStyles: {
@@ -32,6 +32,6 @@ export default function InlineDashboard(props) {
32
32
  const { children, title, filterPosition } = props;
33
33
  const childrenToRender = children;
34
34
  const direction = filterPosition === 'inline-start' ? 'row-reverse' : 'row';
35
- return (_jsxs(_Fragment, { children: [_jsx(Typography, { variant: 'h4', className: classes.headerStyles, children: title }), filterPosition === 'block-start' && (_jsxs(Grid, { container: true, spacing: 2, direction: 'column-reverse', className: classes.containerStyles, children: [_jsx(Grid, { item: true, xs: 12, className: classes.colStyles, children: childrenToRender[0] }), _jsx(Grid, { id: 'filters', item: true, xs: 12, className: classes.filterContainerStyles, children: childrenToRender[1] })] })), filterPosition !== 'block-start' && (_jsxs(Grid, { container: true, spacing: 2, direction: direction, className: classes.containerStyles, children: [_jsx(Grid, { item: true, xs: 9, children: childrenToRender[0] }), _jsx(Grid, { id: 'filters', item: true, xs: 3, className: classes.inlineStyles, children: childrenToRender[1] })] }))] }));
35
+ return (_jsxs(_Fragment, { children: [_jsx(Typography, { variant: 'h4', className: classes.headerStyles, children: title }), filterPosition === 'block-start' && (_jsxs(Grid2, { container: true, spacing: 2, direction: 'column-reverse', className: classes.containerStyles, children: [_jsx(Grid2, { size: { xs: 12 }, className: classes.colStyles, children: childrenToRender[0] }), _jsx(Grid2, { id: 'filters', size: { xs: 12 }, className: classes.filterContainerStyles, children: childrenToRender[1] })] })), filterPosition !== 'block-start' && (_jsxs(Grid2, { container: true, spacing: 2, direction: direction, className: classes.containerStyles, children: [_jsx(Grid2, { size: { xs: 9 }, children: childrenToRender[0] }), _jsx(Grid2, { id: 'filters', size: { xs: 3 }, className: classes.inlineStyles, children: childrenToRender[1] })] }))] }));
36
36
  }
37
37
  //# sourceMappingURL=InlineDashboard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InlineDashboard.js","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboard/InlineDashboard.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,U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C,gBAAgB,CAAC,CAAC,CAAC,GACf,EACP,KAAC,IAAI,IAAC,EAAE,EAAC,SAAS,EAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,qBAAqB,YACrE,gBAAgB,CAAC,CAAC,CAAC,GACf,IACF,CACR,EACA,cAAc,KAAK,aAAa,IAAI,CACnC,MAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,eAAe,aAClF,KAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC,YACb,gBAAgB,CAAC,CAAC,CAAC,GACf,EACP,KAAC,IAAI,IAAC,EAAE,EAAC,SAAS,EAAC,IAAI,QAAC,EAAE,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,YAAY,YAC3D,gBAAgB,CAAC,CAAC,CAAC,GACf,IACF,CACR,IACA,CACJ,CAAC;AACJ,CAAC","sourcesContent":["import { PropsWithChildren, ReactElement } from 'react';\nimport { Grid, Typography } from '@mui/material';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { PConnProps } from '../../../types/PConnProps';\n\ninterface InlineDashboardProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n title: string;\n filterPosition?: string;\n}\n\nconst useStyles = makeStyles((/* theme */) => ({\n headerStyles: {\n fontWeight: 500,\n fontSize: '1.25rem'\n },\n containerStyles: {\n marginTop: '1rem',\n marginBottom: '1rem'\n },\n colStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline'\n },\n filterContainerStyles: {\n display: 'grid',\n gap: '1rem',\n gridTemplateColumns: 'repeat(7, 1fr);'\n },\n inlineStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline',\n marginTop: '1rem'\n }\n}));\n\nexport default function InlineDashboard(props: PropsWithChildren<InlineDashboardProps>) {\n const classes = useStyles();\n\n const { children, title, filterPosition } = props;\n const childrenToRender = children as ReactElement[];\n\n const direction = filterPosition === 'inline-start' ? 'row-reverse' : 'row';\n return (\n <>\n <Typography variant='h4' className={classes.headerStyles}>\n {title}\n </Typography>\n\n {filterPosition === 'block-start' && (\n <Grid container spacing={2} direction='column-reverse' className={classes.containerStyles}>\n <Grid item xs={12} className={classes.colStyles}>\n {childrenToRender[0]}\n </Grid>\n <Grid id='filters' item xs={12} className={classes.filterContainerStyles}>\n {childrenToRender[1]}\n </Grid>\n </Grid>\n )}\n {filterPosition !== 'block-start' && (\n <Grid container spacing={2} direction={direction} className={classes.containerStyles}>\n <Grid item xs={9}>\n {childrenToRender[0]}\n </Grid>\n <Grid id='filters' item xs={3} className={classes.inlineStyles}>\n {childrenToRender[1]}\n </Grid>\n </Grid>\n )}\n </>\n );\n}\n"]}
1
+ {"version":3,"file":"InlineDashboard.js","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboard/InlineDashboard.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAShD,MAAM,SAAS,GAAG,UAAU,CAAC,EAAC,WAAW,EAAE,EAAE,CAAC,CAAC;IAC7C,YAAY,EAAE;QACZ,UAAU,EAAE,GAAG;QACf,QAAQ,EAAE,SAAS;KACpB;IACD,eAAe,EAAE;QACf,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,MAAM;KACrB;IACD,SAAS,EAAE;QACT,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,YAAY,EAAE,UAAU;KACzB;IACD,qBAAqB,EAAE;QACrB,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,mBAAmB,EAAE,iBAAiB;KACvC;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,YAAY,EAAE,UAAU;QACxB,SAAS,EAAE,MAAM;KAClB;CACF,CAAC,CAAC,CAAC;AAEJ,MA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,CAAC,YAAY,YACjE,gBAAgB,CAAC,CAAC,CAAC,GACd,IACF,CACT,IACA,CACJ,CAAC;AACJ,CAAC","sourcesContent":["import type { PropsWithChildren, ReactElement } from 'react';\nimport { Grid2, Typography } from '@mui/material';\nimport makeStyles from '@mui/styles/makeStyles';\nimport type { PConnProps } from '../../../types/PConnProps';\n\ninterface InlineDashboardProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n title: string;\n filterPosition?: string;\n}\n\nconst useStyles = makeStyles((/* theme */) => ({\n headerStyles: {\n fontWeight: 500,\n fontSize: '1.25rem'\n },\n containerStyles: {\n marginTop: '1rem',\n marginBottom: '1rem'\n },\n colStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline'\n },\n filterContainerStyles: {\n display: 'grid',\n gap: '1rem',\n gridTemplateColumns: 'repeat(7, 1fr);'\n },\n inlineStyles: {\n display: 'grid',\n gap: '1rem',\n alignContent: 'baseline',\n marginTop: '1rem'\n }\n}));\n\nexport default function InlineDashboard(props: PropsWithChildren<InlineDashboardProps>) {\n const classes = useStyles();\n\n const { children, title, filterPosition } = props;\n const childrenToRender = children as ReactElement[];\n\n const direction = filterPosition === 'inline-start' ? 'row-reverse' : 'row';\n return (\n <>\n <Typography variant='h4' className={classes.headerStyles}>\n {title}\n </Typography>\n\n {filterPosition === 'block-start' && (\n <Grid2 container spacing={2} direction='column-reverse' className={classes.containerStyles}>\n <Grid2 size={{ xs: 12 }} className={classes.colStyles}>\n {childrenToRender[0]}\n </Grid2>\n <Grid2 id='filters' size={{ xs: 12 }} className={classes.filterContainerStyles}>\n {childrenToRender[1]}\n </Grid2>\n </Grid2>\n )}\n {filterPosition !== 'block-start' && (\n <Grid2 container spacing={2} direction={direction} className={classes.containerStyles}>\n <Grid2 size={{ xs: 9 }}>{childrenToRender[0]}</Grid2>\n <Grid2 id='filters' size={{ xs: 3 }} className={classes.inlineStyles}>\n {childrenToRender[1]}\n </Grid2>\n </Grid2>\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 InlineDashboardPageProps extends PConnProps {
4
4
  title: string;
5
5
  icon?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"InlineDashboardPage.d.ts","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboardPage/InlineDashboardPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIlF,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,wBAAyB,SAAQ,UAAU;IAEnD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,wBAAwB,CAAC,2CAyB7F"}
1
+ {"version":3,"file":"InlineDashboardPage.d.ts","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboardPage/InlineDashboardPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIvF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,wBAAyB,SAAQ,UAAU;IAEnD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,wBAAwB,CAAC,2CAyB7F"}
@@ -1 +1 @@
1
- {"version":3,"file":"InlineDashboardPage.js","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboardPage/InlineDashboardPage.tsx"],"names":[],"mappings":";AA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AAC9C,CAAC","sourcesContent":["import { useMemo, Children, useEffect, useState, PropsWithChildren } from 'react';\n\nimport { buildFilterComponents } from '../../infra/DashboardFilter/filterUtils';\nimport { getComponentFromMap } from '../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../types/PConnProps';\n\ninterface InlineDashboardPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n title: string;\n icon?: string;\n filterPosition?: string;\n}\n\nexport default function InlineDashboardPage(props: PropsWithChildren<InlineDashboardPageProps>) {\n // Get emitted components from map (so we can get any override that may exist)\n const InlineDashboard = getComponentFromMap('InlineDashboard');\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, getPConnect, icon = '', filterPosition = 'block-start' } = props;\n const [filterComponents, setFilterComponents] = useState([]);\n const childArray = useMemo(() => {\n return Children.toArray(children);\n }, [children]);\n\n const allFilters = (getPConnect().getRawMetadata() as any).children[1];\n\n useEffect(() => {\n setFilterComponents(buildFilterComponents(getPConnect, allFilters));\n }, []);\n\n const inlineProps = { ...props };\n inlineProps.children = [];\n // Region layout views\n inlineProps.children[0] = childArray[0];\n // filter items\n inlineProps.children[1] = filterComponents;\n\n return <InlineDashboard {...inlineProps} />;\n}\n"]}
1
+ {"version":3,"file":"InlineDashboardPage.js","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboardPage/InlineDashboardPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAA0B,MAAM,OAAO,CAAC;AAEvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAUhF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAkD;IAC5F,8EAA8E;IAC9E,MAAM,eAAe,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;IAE/D,6DAA6D;IAC7D,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,GAAG,EAAE,EAAE,cAAc,GAAG,aAAa,EAAE,GAAG,KAAK,CAAC;IACnF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7D,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,EAAE;QAC9B,OAAO,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,UAAU,GAAI,WAAW,EAAE,CAAC,cAAc,EAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEvE,SAAS,CAAC,GAAG,EAAE;QACb,mBAAmB,CAAC,qBAAqB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC;IACtE,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;IACjC,WAAW,CAAC,QAAQ,GAAG,EAAE,CAAC;IAC1B,sBAAsB;IACtB,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;IACxC,eAAe;IACf,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC;IAE3C,OAAO,KAAC,eAAe,OAAK,WAAW,GAAI,CAAC;AAC9C,CAAC","sourcesContent":["import { useMemo, Children, useEffect, useState, type PropsWithChildren } from 'react';\n\nimport { buildFilterComponents } from '../../infra/DashboardFilter/filterUtils';\nimport { getComponentFromMap } from '../../../bridge/helpers/sdk_component_map';\nimport type { PConnProps } from '../../../types/PConnProps';\n\ninterface InlineDashboardPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n title: string;\n icon?: string;\n filterPosition?: string;\n}\n\nexport default function InlineDashboardPage(props: PropsWithChildren<InlineDashboardPageProps>) {\n // Get emitted components from map (so we can get any override that may exist)\n const InlineDashboard = getComponentFromMap('InlineDashboard');\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, getPConnect, icon = '', filterPosition = 'block-start' } = props;\n const [filterComponents, setFilterComponents] = useState([]);\n const childArray = useMemo(() => {\n return Children.toArray(children);\n }, [children]);\n\n const allFilters = (getPConnect().getRawMetadata() as any).children[1];\n\n useEffect(() => {\n setFilterComponents(buildFilterComponents(getPConnect, allFilters));\n }, []);\n\n const inlineProps = { ...props };\n inlineProps.children = [];\n // Region layout views\n inlineProps.children[0] = childArray[0];\n // filter items\n inlineProps.children[1] = filterComponents;\n\n return <InlineDashboard {...inlineProps} />;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { PConnProps } from '../../../types/PConnProps';
1
+ import type { PConnProps } from '../../../types/PConnProps';
2
2
  interface ListPageProps extends PConnProps {
3
3
  parameters: object;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ListPage.d.ts","sourceRoot":"","sources":["../../../../src/components/template/ListPage/ListPage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,aAAc,SAAQ,UAAU;IAExC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAOpD"}
1
+ {"version":3,"file":"ListPage.d.ts","sourceRoot":"","sources":["../../../../src/components/template/ListPage/ListPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,aAAc,SAAQ,UAAU;IAExC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAOpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListPage.js","sourceRoot":"","sources":["../../../../src/components/template/ListPage/ListPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAQhF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAoB;IACnD,8EAA8E;IAC9E,MAAM,QAAQ,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAEjD,4CAA4C;IAC5C,MAAM,aAAa,GAAG,EAAE,GAAG,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACnD,OAAO,KAAC,QAAQ,OAAK,aAAa,GAAI,CAAC;AACzC,CAAC","sourcesContent":["import { getComponentFromMap } from '../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../types/PConnProps';\n\ninterface ListPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n parameters: object;\n}\n\nexport default function ListPage(props: ListPageProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const ListView = getComponentFromMap('ListView');\n\n // special case for ListView - add in a prop\n const listViewProps = { ...props, bInForm: false };\n return <ListView {...listViewProps} />;\n}\n"]}
1
+ {"version":3,"file":"ListPage.js","sourceRoot":"","sources":["../../../../src/components/template/ListPage/ListPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAQhF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAoB;IACnD,8EAA8E;IAC9E,MAAM,QAAQ,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAEjD,4CAA4C;IAC5C,MAAM,aAAa,GAAG,EAAE,GAAG,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACnD,OAAO,KAAC,QAAQ,OAAK,aAAa,GAAI,CAAC;AACzC,CAAC","sourcesContent":["import { getComponentFromMap } from '../../../bridge/helpers/sdk_component_map';\nimport type { PConnProps } from '../../../types/PConnProps';\n\ninterface ListPageProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n parameters: object;\n}\n\nexport default function ListPage(props: ListPageProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const ListView = getComponentFromMap('ListView');\n\n // special case for ListView - add in a prop\n const listViewProps = { ...props, bInForm: false };\n return <ListView {...listViewProps} />;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultViewMeta.js","sourceRoot":"","sources":["../../../../src/components/template/ListView/DefaultViewMeta.ts"],"names":[],"mappings":"AAAA,MAAM,sBAAsB,GAAG,KAAK,CAAC;AACrC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACnC,MAAM,eAAe,GAAG,SAAS,CAAC;AAClC,MAAM,qBAAqB,GAAG,eAAe,CAAC;AAC9C,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAEtC,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACpD,MAAM,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,OAAO,EAAE,gBAAgB,EACzB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,aAAa,EACd,GAAG,SAAS,CAAC;IACd,OAAO;QACL,KAAK,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;QAC1F,KAAK,EAAE,sBAAsB,CAAC,MAAM,CAAC,IAAI,IAAI,KAAK,CAAC;QACnD,SAAS;QACT,YAAY,EAAE,QAAQ,IAAI,IAAI;QAC9B,OAAO,EAAE,OAAO,IAAI,gBAAgB;QACpC,SAAS;QACT,aAAa;QACb,QAAQ;QACR,IAAI;QACJ,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5F,aAAa;KACd,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS;IACtE,MAA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Ac;oBACpB,MAAM,EAAE;wBACN,GAAG,aAAa;wBAChB,WAAW,EAAE,WAAW;wBACxB,QAAQ,EAAE,YAAY;wBACtB,UAAU,EAAE,qBAAqB,CAAC,MAAM,CAAC,OAAO,CAAC;wBACjD,eAAe,EAAE,SAAS,KAAK,UAAU;qBAC1C;iBACF,CAAC;aACH;YACD,MAAM;QACR,KAAK,kBAAkB;YACrB,QAAQ,GAAG;gBACT,IAAI,EAAE,WAAW;gBACjB,MAAM,EAAE,aAAa;aACtB,CAAC;YACF,MAAM;QACR;YACE,QAAQ,GAAG;gBACT,IAAI;gBACJ,MAAM,EAAE,aAAa;aACtB,CAAC;KACL;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["const LOCALIZATON_ANNOTATION = '@L ';\nconst PROPERTY_ANNOTATION = '@P .';\nconst USER_ANNOTATION = '@USER .';\nconst ASSOCIATED_ANNOTATION = '@ASSOCIATED .';\nconst ASSOCIATION_ANNOTATION = '@CA ';\n\nconst getDefaultConfig = (fieldMeta, classID, show) => {\n const {\n name,\n label,\n fieldID,\n fieldType,\n dataType,\n type,\n classID: fieldMetaClassID,\n displayAs,\n displayAsLink,\n category,\n associationClassID,\n associationID\n } = fieldMeta;\n return {\n value: (associationClassID ? ASSOCIATION_ANNOTATION : PROPERTY_ANNOTATION).concat(fieldID),\n label: LOCALIZATON_ANNOTATION.concat(name || label),\n fieldType,\n propertyType: dataType || type,\n classID: classID || fieldMetaClassID,\n displayAs,\n displayAsLink,\n category,\n show,\n ...(associationClassID ? { associationLabel: LOCALIZATON_ANNOTATION.concat(category) } : {}),\n associationID\n };\n};\n\nexport default function getDefaultViewMeta(fieldMeta, classID, showField) {\n const { type, name, displayAs, fieldID, isUserReference, associationID, datasource, label, fieldType } = fieldMeta;\n const mapperKey = type && displayAs ? type.concat(':').concat(displayAs) : type;\n const defaultConfig = getDefaultConfig(fieldMeta, classID, showField);\n let viewMeta;\n switch (mapperKey) {\n case 'True-False:pxCheckbox':\n viewMeta = {\n type: 'Checkbox',\n config: {\n ...defaultConfig,\n trueLabel: '@L Yes',\n falseLabel: '@L No',\n caption: LOCALIZATON_ANNOTATION.concat(name || label),\n label: undefined\n }\n };\n break;\n case 'Decimal:pxCurrency':\n viewMeta = {\n type: 'Currency',\n config: defaultConfig\n };\n break;\n case 'Date Time:pxDateTime':\n case 'Date & time:pxDateTime':\n viewMeta = {\n type: 'DateTime',\n config: defaultConfig\n };\n break;\n case 'Date:pxDateTime':\n case 'Date only:pxDateTime':\n viewMeta = {\n type: 'Date',\n config: defaultConfig\n };\n break;\n case 'Decimal:pxNumber':\n viewMeta = {\n type: 'Decimal',\n config: defaultConfig\n };\n break;\n case 'Text:pxEmail':\n viewMeta = {\n type: 'Email',\n config: defaultConfig\n };\n break;\n case 'Integer:pxInteger':\n viewMeta = {\n type: 'Integer',\n config: defaultConfig\n };\n break;\n case 'Decimal:pxPercentage':\n viewMeta = {\n type: 'Percentage',\n config: defaultConfig\n };\n break;\n case 'Text:pxPhone':\n viewMeta = {\n type: 'Phone',\n config: {\n ...defaultConfig,\n datasource: {\n source: '@DATASOURCE D_pyCountryCallingCodeList.pxResults',\n fields: {\n value: '@P .pyCallingCode'\n }\n }\n }\n };\n break;\n case 'TimeOfDay:pxDateTime':\n viewMeta = {\n type: 'Time',\n config: defaultConfig\n };\n break;\n case 'Text:pxURL':\n case 'Text:pxUrl':\n viewMeta = {\n type: 'URL',\n config: defaultConfig\n };\n break;\n case 'Text:pxTextArea':\n viewMeta = {\n type: 'TextArea',\n config: defaultConfig\n };\n break;\n case 'Text:pxRichTextEditor':\n viewMeta = {\n type: 'RichText',\n config: defaultConfig\n };\n break;\n case 'Text:pxAutoComplete':\n if (isUserReference || fieldType === 'User reference') {\n viewMeta = {\n type: 'UserReference',\n config: {\n ...defaultConfig,\n value: USER_ANNOTATION.concat(fieldID),\n placeholder: 'Select...',\n displayAs: 'Search box',\n associationID,\n associationLabel: undefined\n }\n };\n } else {\n const { tableType = '' } = datasource || {};\n viewMeta = {\n type: 'AutoComplete',\n config: {\n ...defaultConfig,\n placeholder: 'Select...',\n listType: 'associated',\n datasource: ASSOCIATED_ANNOTATION.concat(fieldID),\n deferDatasource: tableType === 'DataPage'\n }\n };\n }\n break;\n case 'Text:pxDropdown':\n if (isUserReference || fieldType === 'User reference') {\n viewMeta = {\n type: 'UserReference',\n config: {\n ...defaultConfig,\n value: USER_ANNOTATION.concat(fieldID),\n placeholder: 'Select...',\n displayAs: 'Drop-down list',\n associationID,\n associationLabel: undefined\n }\n };\n } else {\n const { tableType = '' } = datasource || {};\n viewMeta = {\n type: 'Dropdown',\n config: {\n ...defaultConfig,\n placeholder: 'Select...',\n listType: 'associated',\n datasource: ASSOCIATED_ANNOTATION.concat(fieldID),\n deferDatasource: tableType === 'DataPage'\n }\n };\n }\n break;\n case 'Text:pxRadioButtons':\n {\n const { tableType = '' } = datasource || {};\n viewMeta = {\n type: 'RadioButtons',\n config: {\n ...defaultConfig,\n placeholder: 'Select...',\n listType: 'associated',\n datasource: ASSOCIATED_ANNOTATION.concat(fieldID),\n deferDatasource: tableType === 'DataPage'\n }\n };\n }\n break;\n case 'Text:pxTextInput':\n viewMeta = {\n type: 'TextInput',\n config: defaultConfig\n };\n break;\n default:\n viewMeta = {\n type,\n config: defaultConfig\n };\n }\n return viewMeta;\n}\n"]}
1
+ {"version":3,"file":"DefaultViewMeta.js","sourceRoot":"","sources":["../../../../src/components/template/ListView/DefaultViewMeta.ts"],"names":[],"mappings":"AAAA,MAAM,sBAAsB,GAAG,KAAK,CAAC;AACrC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACnC,MAAM,eAAe,GAAG,SAAS,CAAC;AAClC,MAAM,qBAAqB,GAAG,eAAe,CAAC;AAC9C,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAEtC,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IACpD,MAAM,EACJ,IAAI,EACJ,KAAK,EACL,OAA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AAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["const LOCALIZATON_ANNOTATION = '@L ';\nconst PROPERTY_ANNOTATION = '@P .';\nconst USER_ANNOTATION = '@USER .';\nconst ASSOCIATED_ANNOTATION = '@ASSOCIATED .';\nconst ASSOCIATION_ANNOTATION = '@CA ';\n\nconst getDefaultConfig = (fieldMeta, classID, show) => {\n const {\n name,\n label,\n fieldID,\n fieldType,\n dataType,\n type,\n classID: fieldMetaClassID,\n displayAs,\n displayAsLink,\n category,\n associationClassID,\n associationID\n } = fieldMeta;\n return {\n value: (associationClassID ? ASSOCIATION_ANNOTATION : PROPERTY_ANNOTATION).concat(fieldID),\n label: LOCALIZATON_ANNOTATION.concat(name || label),\n fieldType,\n propertyType: dataType || type,\n classID: classID || fieldMetaClassID,\n displayAs,\n displayAsLink,\n category,\n show,\n ...(associationClassID ? { associationLabel: LOCALIZATON_ANNOTATION.concat(category) } : {}),\n associationID\n };\n};\n\nexport default function getDefaultViewMeta(fieldMeta, classID, showField) {\n const { type, name, displayAs, fieldID, isUserReference, associationID, datasource, label, fieldType } = fieldMeta;\n const mapperKey = type && displayAs ? type.concat(':').concat(displayAs) : type;\n const defaultConfig = getDefaultConfig(fieldMeta, classID, showField);\n let viewMeta;\n switch (mapperKey) {\n case 'True-False:pxCheckbox':\n viewMeta = {\n type: 'Checkbox',\n config: {\n ...defaultConfig,\n trueLabel: '@L Yes',\n falseLabel: '@L No',\n caption: LOCALIZATON_ANNOTATION.concat(name || label),\n label: undefined\n }\n };\n break;\n case 'Decimal:pxCurrency':\n viewMeta = {\n type: 'Currency',\n config: defaultConfig\n };\n break;\n case 'Date Time:pxDateTime':\n case 'Date & time:pxDateTime':\n viewMeta = {\n type: 'DateTime',\n config: defaultConfig\n };\n break;\n case 'Date:pxDateTime':\n case 'Date only:pxDateTime':\n viewMeta = {\n type: 'Date',\n config: defaultConfig\n };\n break;\n case 'Decimal:pxNumber':\n viewMeta = {\n type: 'Decimal',\n config: defaultConfig\n };\n break;\n case 'Text:pxEmail':\n viewMeta = {\n type: 'Email',\n config: defaultConfig\n };\n break;\n case 'Integer:pxInteger':\n viewMeta = {\n type: 'Integer',\n config: defaultConfig\n };\n break;\n case 'Decimal:pxPercentage':\n viewMeta = {\n type: 'Percentage',\n config: defaultConfig\n };\n break;\n case 'Text:pxPhone':\n viewMeta = {\n type: 'Phone',\n config: {\n ...defaultConfig,\n datasource: {\n source: '@DATASOURCE D_pyCountryCallingCodeList.pxResults',\n fields: {\n value: '@P .pyCallingCode'\n }\n }\n }\n };\n break;\n case 'TimeOfDay:pxDateTime':\n viewMeta = {\n type: 'Time',\n config: defaultConfig\n };\n break;\n case 'Text:pxURL':\n case 'Text:pxUrl':\n viewMeta = {\n type: 'URL',\n config: defaultConfig\n };\n break;\n case 'Text:pxTextArea':\n viewMeta = {\n type: 'TextArea',\n config: defaultConfig\n };\n break;\n case 'Text:pxRichTextEditor':\n viewMeta = {\n type: 'RichText',\n config: defaultConfig\n };\n break;\n case 'Text:pxAutoComplete':\n if (isUserReference || fieldType === 'User reference') {\n viewMeta = {\n type: 'UserReference',\n config: {\n ...defaultConfig,\n value: USER_ANNOTATION.concat(fieldID),\n placeholder: 'Select...',\n displayAs: 'Search box',\n associationID,\n associationLabel: undefined\n }\n };\n } else {\n const { tableType = '' } = datasource || {};\n viewMeta = {\n type: 'AutoComplete',\n config: {\n ...defaultConfig,\n placeholder: 'Select...',\n listType: 'associated',\n datasource: ASSOCIATED_ANNOTATION.concat(fieldID),\n deferDatasource: tableType === 'DataPage'\n }\n };\n }\n break;\n case 'Text:pxDropdown':\n if (isUserReference || fieldType === 'User reference') {\n viewMeta = {\n type: 'UserReference',\n config: {\n ...defaultConfig,\n value: USER_ANNOTATION.concat(fieldID),\n placeholder: 'Select...',\n displayAs: 'Drop-down list',\n associationID,\n associationLabel: undefined\n }\n };\n } else {\n const { tableType = '' } = datasource || {};\n viewMeta = {\n type: 'Dropdown',\n config: {\n ...defaultConfig,\n placeholder: 'Select...',\n listType: 'associated',\n datasource: ASSOCIATED_ANNOTATION.concat(fieldID),\n deferDatasource: tableType === 'DataPage'\n }\n };\n }\n break;\n case 'Text:pxRadioButtons':\n {\n const { tableType = '' } = datasource || {};\n viewMeta = {\n type: 'RadioButtons',\n config: {\n ...defaultConfig,\n placeholder: 'Select...',\n listType: 'associated',\n datasource: ASSOCIATED_ANNOTATION.concat(fieldID),\n deferDatasource: tableType === 'DataPage'\n }\n };\n }\n break;\n case 'Text:pxTextInput':\n viewMeta = {\n type: 'TextInput',\n config: defaultConfig\n };\n break;\n default:\n viewMeta = {\n type,\n config: defaultConfig\n };\n }\n return viewMeta;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import './ListView.css';
2
- import { PConnProps } from '../../../types/PConnProps';
2
+ import type { PConnProps } from '../../../types/PConnProps';
3
3
  interface ListViewProps extends PConnProps {
4
4
  bInForm?: boolean;
5
5
  globalSearch?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../../src/components/template/ListView/ListView.tsx"],"names":[],"mappings":"AAyCA,OAAO,gBAAgB,CAAC;AAOxB,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,aAAc,SAAQ,UAAU;IAExC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC;IAEtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAovCpD"}
1
+ {"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../../src/components/template/ListView/ListView.tsx"],"names":[],"mappings":"AAoCA,OAAO,gBAAgB,CAAC;AAOxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,aAAc,SAAQ,UAAU;IAExC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC;IAEtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,aAAa,2CA6uCpD"}
@@ -1,8 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- /* eslint-disable no-plusplus */
3
- /* eslint-disable @typescript-eslint/no-use-before-define */
4
- /* eslint-disable @typescript-eslint/no-shadow */
5
- import { useState, useEffect, useRef, useCallback } from 'react';
2
+ import React, { useState, useEffect, useRef, useCallback } from 'react';
6
3
  import createStyles from '@mui/styles/createStyles';
7
4
  import makeStyles from '@mui/styles/makeStyles';
8
5
  import Table from '@mui/material/Table';
@@ -19,7 +16,7 @@ import FilterListIcon from '@mui/icons-material/FilterList';
19
16
  import SubjectIcon from '@mui/icons-material/Subject';
20
17
  import SearchIcon from '@mui/icons-material/Search';
21
18
  import TextField from '@mui/material/TextField';
22
- import Grid from '@mui/material/Grid';
19
+ import Grid2 from '@mui/material/Grid2';
23
20
  import Menu from '@mui/material/Menu';
24
21
  import MenuItem from '@mui/material/MenuItem';
25
22
  import Dialog from '@mui/material/Dialog';
@@ -60,15 +57,12 @@ export default function ListView(props) {
60
57
  // List component context
61
58
  const [listContext, setListContext] = useState({});
62
59
  const { meta } = listContext;
63
- const xRayApis = PCore.getDebugger().getXRayRuntime();
64
- const xRayUid = xRayApis.startXRay();
65
60
  const { current: uniqueId } = useRef(crypto.randomUUID());
66
61
  useInit({
67
62
  ...props,
68
63
  setListContext,
69
64
  ref,
70
65
  showDynamicFields,
71
- xRayUid,
72
66
  cosmosTableRef
73
67
  });
74
68
  useClearSelectionsAndUpdateTable({ getPConnect, uniqueId, viewName });
@@ -251,7 +245,6 @@ export default function ListView(props) {
251
245
  if (selectionMode === SELECTION_MODE.SINGLE || selectionMode === SELECTION_MODE.MULTI) {
252
246
  const record = arTableData?.length > 0 ? arTableData[0] : '';
253
247
  if (typeof record === 'object' && !('pyGUID' in record) && !('pyID' in record)) {
254
- // eslint-disable-next-line no-console
255
248
  console.error('pyGUID or pyID values are mandatory to select the required row from the list');
256
249
  }
257
250
  }
@@ -317,14 +310,12 @@ export default function ListView(props) {
317
310
  const filter = filters.current[filterExp];
318
311
  // If the filter is null then we can skip this iteration
319
312
  if (filter === null) {
320
- // eslint-disable-next-line no-continue
321
313
  continue;
322
314
  }
323
315
  // Checking if the filter is of type- Date Range
324
316
  isDateRange = filter?.AND;
325
317
  field = getFieldFromFilter(filter, isDateRange);
326
318
  if (!(columnList.current.length && columnList.current.includes(field))) {
327
- // eslint-disable-next-line no-continue
328
319
  continue;
329
320
  }
330
321
  // If we reach here that implies we've at least one valid filter, hence setting the flag
@@ -585,7 +576,6 @@ export default function ListView(props) {
585
576
  }
586
577
  function showToast(message) {
587
578
  const theMessage = `Assignment: ${message}`;
588
- // eslint-disable-next-line no-console
589
579
  console.error(theMessage);
590
580
  setSnackbarMessage(message);
591
581
  setShowSnackbar(true);
@@ -696,7 +686,6 @@ export default function ListView(props) {
696
686
  function _showFilteredIcon(columnId) {
697
687
  for (const filterObj of filterByColumns) {
698
688
  if (filterObj.ref === columnId) {
699
- // eslint-disable-next-line sonarjs/prefer-single-boolean-return
700
689
  if (filterObj.containsFilterValue !== '') {
701
690
  return true;
702
691
  }
@@ -890,7 +879,7 @@ export default function ListView(props) {
890
879
  }
891
880
  return val;
892
881
  };
893
- return (_jsxs(_Fragment, { children: [arColumns && arColumns.length > 0 && (_jsxs(Paper, { className: classes.paper, children: [_jsx(Typography, { className: classes.title, variant: 'h6', color: 'textPrimary', gutterBottom: true, children: _listTitle() }), globalSearch && (_jsxs(Grid, { container: true, spacing: 1, alignItems: 'flex-end', className: classes.search, children: [_jsx(Grid, { item: true, children: _jsx(SearchIcon, {}) }), _jsx(Grid, { item: true, children: _jsx(TextField, { label: PCore.getLocaleUtils().getLocaleValue('Search', 'Search'), fullWidth: true, variant: 'outlined', placeholder: '', size: 'small', id: 'search', onChange: _onSearch }) })] })), _jsx(_Fragment, { children: !bInForm ? (_jsx(TableContainer, { id: 'list-view', className: classes.tableInForm, children: _jsxs(Table, { stickyHeader: true, "aria-label": 'sticky table', children: [_jsx(TableHead, { children: _jsx(TableRow, { children: arColumns.map(column => {
882
+ return (_jsxs(_Fragment, { children: [arColumns && arColumns.length > 0 && (_jsxs(Paper, { className: classes.paper, children: [_jsx(Typography, { className: classes.title, variant: 'h6', color: 'textPrimary', gutterBottom: true, children: _listTitle() }), globalSearch && (_jsxs(Grid2, { container: true, spacing: 1, alignItems: 'flex-end', className: classes.search, children: [_jsx(Grid2, { children: _jsx(SearchIcon, {}) }), _jsx(Grid2, { children: _jsx(TextField, { label: PCore.getLocaleUtils().getLocaleValue('Search', 'Search'), fullWidth: true, variant: 'outlined', placeholder: '', size: 'small', id: 'search', onChange: _onSearch }) })] })), _jsx(_Fragment, { children: !bInForm ? (_jsx(TableContainer, { id: 'list-view', className: classes.tableInForm, children: _jsxs(Table, { stickyHeader: true, "aria-label": 'sticky table', children: [_jsx(TableHead, { children: _jsx(TableRow, { children: arColumns.map(column => {
894
883
  return (_jsxs(TableCell, { className: classes.cell, sortDirection: orderBy === column.id ? order : false, children: [_jsxs(TableSortLabel, { active: orderBy === column.id, direction: orderBy === column.id ? order : 'asc', onClick: createSortHandler(column.id), children: [column.label, _showFilteredIcon(column.id) && _jsx(FilterListIcon, { className: classes.filteredIcon }), orderBy === column.id ? (_jsx("span", { className: classes.visuallyHidden, children: order === 'desc' ? 'sorted descending' : 'sorted ascending' })) : null] }), _jsx(MoreIcon, { className: classes.moreIcon, onClick: event => {
895
884
  _menuClick(event, column.id, column.type, column.label);
896
885
  } })] }, column.id));