@pega/react-sdk-components 8.23.10 → 23.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 (558) hide show
  1. package/lib/bridge/Context/StoreContext.d.ts +3 -2
  2. package/lib/bridge/Context/StoreContext.d.ts.map +1 -1
  3. package/lib/bridge/Context/StoreContext.js +2 -3
  4. package/lib/bridge/Context/StoreContext.js.map +1 -1
  5. package/lib/bridge/helpers/sdk_component_map.d.ts +1 -0
  6. package/lib/bridge/helpers/sdk_component_map.d.ts.map +1 -1
  7. package/lib/bridge/helpers/sdk_component_map.js +22 -0
  8. package/lib/bridge/helpers/sdk_component_map.js.map +1 -1
  9. package/lib/bridge/react_pconnect.d.ts.map +1 -1
  10. package/lib/bridge/react_pconnect.js +2 -14
  11. package/lib/bridge/react_pconnect.js.map +1 -1
  12. package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts +10 -0
  13. package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts.map +1 -0
  14. package/lib/components/designSystemExtension/AlertBanner/AlertBanner.js +19 -0
  15. package/lib/components/designSystemExtension/AlertBanner/AlertBanner.js.map +1 -0
  16. package/lib/components/designSystemExtension/AlertBanner/index.d.ts +2 -0
  17. package/lib/components/designSystemExtension/AlertBanner/index.d.ts.map +1 -0
  18. package/lib/components/designSystemExtension/AlertBanner/index.js +2 -0
  19. package/lib/components/designSystemExtension/AlertBanner/index.js.map +1 -0
  20. package/lib/components/designSystemExtension/Banner/Banner.d.ts +15 -1
  21. package/lib/components/designSystemExtension/Banner/Banner.d.ts.map +1 -1
  22. package/lib/components/designSystemExtension/Banner/Banner.js.map +1 -1
  23. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts +6 -9
  24. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -1
  25. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js +3 -7
  26. package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js.map +1 -1
  27. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts +4 -10
  28. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts.map +1 -1
  29. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js +1 -8
  30. package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js.map +1 -1
  31. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts +6 -2
  32. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts.map +1 -1
  33. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js +3 -3
  34. package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js.map +1 -1
  35. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.d.ts +7 -2
  36. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.d.ts.map +1 -1
  37. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js +4 -4
  38. package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js.map +1 -1
  39. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts +7 -2
  40. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts.map +1 -1
  41. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js +3 -3
  42. package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js.map +1 -1
  43. package/lib/components/designSystemExtension/Operator/Operator.d.ts +17 -7
  44. package/lib/components/designSystemExtension/Operator/Operator.d.ts.map +1 -1
  45. package/lib/components/designSystemExtension/Operator/Operator.js +13 -16
  46. package/lib/components/designSystemExtension/Operator/Operator.js.map +1 -1
  47. package/lib/components/designSystemExtension/Pulse/Pulse.d.ts +5 -1
  48. package/lib/components/designSystemExtension/Pulse/Pulse.d.ts.map +1 -1
  49. package/lib/components/designSystemExtension/Pulse/Pulse.js +3 -6
  50. package/lib/components/designSystemExtension/Pulse/Pulse.js.map +1 -1
  51. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.d.ts +19 -0
  52. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.d.ts.map +1 -0
  53. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js +77 -0
  54. package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js.map +1 -0
  55. package/lib/components/designSystemExtension/RichTextEditor/index.d.ts +2 -0
  56. package/lib/components/designSystemExtension/RichTextEditor/index.d.ts.map +1 -0
  57. package/lib/components/designSystemExtension/RichTextEditor/index.js +2 -0
  58. package/lib/components/designSystemExtension/RichTextEditor/index.js.map +1 -0
  59. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.d.ts +6 -1
  60. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.d.ts.map +1 -1
  61. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js +2 -2
  62. package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js.map +1 -1
  63. package/lib/components/field/AutoComplete/AutoComplete.d.ts +15 -1
  64. package/lib/components/field/AutoComplete/AutoComplete.d.ts.map +1 -1
  65. package/lib/components/field/AutoComplete/AutoComplete.js +18 -16
  66. package/lib/components/field/AutoComplete/AutoComplete.js.map +1 -1
  67. package/lib/components/field/CancelAlert/CancelAlert.d.ts +7 -2
  68. package/lib/components/field/CancelAlert/CancelAlert.d.ts.map +1 -1
  69. package/lib/components/field/CancelAlert/CancelAlert.js +12 -10
  70. package/lib/components/field/CancelAlert/CancelAlert.js.map +1 -1
  71. package/lib/components/field/Checkbox/Checkbox.d.ts.map +1 -1
  72. package/lib/components/field/Checkbox/Checkbox.js +38 -10
  73. package/lib/components/field/Checkbox/Checkbox.js.map +1 -1
  74. package/lib/components/field/Currency/Currency.d.ts +6 -1
  75. package/lib/components/field/Currency/Currency.d.ts.map +1 -1
  76. package/lib/components/field/Currency/Currency.js +12 -12
  77. package/lib/components/field/Currency/Currency.js.map +1 -1
  78. package/lib/components/field/Currency/currency-utils.d.ts +1 -1
  79. package/lib/components/field/Currency/currency-utils.d.ts.map +1 -1
  80. package/lib/components/field/Currency/currency-utils.js +1 -1
  81. package/lib/components/field/Currency/currency-utils.js.map +1 -1
  82. package/lib/components/field/Date/Date.d.ts +5 -1
  83. package/lib/components/field/Date/Date.d.ts.map +1 -1
  84. package/lib/components/field/Date/Date.js +20 -12
  85. package/lib/components/field/Date/Date.js.map +1 -1
  86. package/lib/components/field/DateTime/DateTime.d.ts +5 -1
  87. package/lib/components/field/DateTime/DateTime.d.ts.map +1 -1
  88. package/lib/components/field/DateTime/DateTime.js +16 -10
  89. package/lib/components/field/DateTime/DateTime.js.map +1 -1
  90. package/lib/components/field/Decimal/Decimal.d.ts +8 -1
  91. package/lib/components/field/Decimal/Decimal.d.ts.map +1 -1
  92. package/lib/components/field/Decimal/Decimal.js +43 -9
  93. package/lib/components/field/Decimal/Decimal.js.map +1 -1
  94. package/lib/components/field/Dropdown/Dropdown.d.ts.map +1 -1
  95. package/lib/components/field/Dropdown/Dropdown.js +39 -11
  96. package/lib/components/field/Dropdown/Dropdown.js.map +1 -1
  97. package/lib/components/field/Email/Email.d.ts +5 -1
  98. package/lib/components/field/Email/Email.d.ts.map +1 -1
  99. package/lib/components/field/Email/Email.js +7 -5
  100. package/lib/components/field/Email/Email.js.map +1 -1
  101. package/lib/components/field/Integer/Integer.d.ts +5 -1
  102. package/lib/components/field/Integer/Integer.d.ts.map +1 -1
  103. package/lib/components/field/Integer/Integer.js +6 -4
  104. package/lib/components/field/Integer/Integer.js.map +1 -1
  105. package/lib/components/field/Percentage/Percentage.d.ts +5 -1
  106. package/lib/components/field/Percentage/Percentage.d.ts.map +1 -1
  107. package/lib/components/field/Percentage/Percentage.js +6 -4
  108. package/lib/components/field/Percentage/Percentage.js.map +1 -1
  109. package/lib/components/field/Phone/Phone.d.ts +5 -1
  110. package/lib/components/field/Phone/Phone.d.ts.map +1 -1
  111. package/lib/components/field/Phone/Phone.js +10 -7
  112. package/lib/components/field/Phone/Phone.js.map +1 -1
  113. package/lib/components/field/RadioButtons/RadioButtons.d.ts.map +1 -1
  114. package/lib/components/field/RadioButtons/RadioButtons.js +33 -13
  115. package/lib/components/field/RadioButtons/RadioButtons.js.map +1 -1
  116. package/lib/components/field/RichText/RichText.d.ts +7 -0
  117. package/lib/components/field/RichText/RichText.d.ts.map +1 -0
  118. package/lib/components/field/RichText/RichText.js +53 -0
  119. package/lib/components/field/RichText/RichText.js.map +1 -0
  120. package/lib/components/field/RichText/index.d.ts +2 -0
  121. package/lib/components/field/RichText/index.d.ts.map +1 -0
  122. package/lib/components/field/RichText/index.js +2 -0
  123. package/lib/components/field/RichText/index.js.map +1 -0
  124. package/lib/components/field/ScalarList/ScalarList.d.ts +13 -0
  125. package/lib/components/field/ScalarList/ScalarList.d.ts.map +1 -0
  126. package/lib/components/field/ScalarList/ScalarList.js +34 -0
  127. package/lib/components/field/ScalarList/ScalarList.js.map +1 -0
  128. package/lib/components/field/ScalarList/index.d.ts +2 -0
  129. package/lib/components/field/ScalarList/index.d.ts.map +1 -0
  130. package/lib/components/field/ScalarList/index.js +2 -0
  131. package/lib/components/field/ScalarList/index.js.map +1 -0
  132. package/lib/components/field/SemanticLink/SemanticLink.d.ts +5 -9
  133. package/lib/components/field/SemanticLink/SemanticLink.d.ts.map +1 -1
  134. package/lib/components/field/SemanticLink/SemanticLink.js +10 -14
  135. package/lib/components/field/SemanticLink/SemanticLink.js.map +1 -1
  136. package/lib/components/field/SemanticLink/utils.d.ts.map +1 -1
  137. package/lib/components/field/SemanticLink/utils.js.map +1 -1
  138. package/lib/components/field/TextArea/TextArea.d.ts +6 -1
  139. package/lib/components/field/TextArea/TextArea.d.ts.map +1 -1
  140. package/lib/components/field/TextArea/TextArea.js +5 -3
  141. package/lib/components/field/TextArea/TextArea.js.map +1 -1
  142. package/lib/components/field/TextContent/TextContent.d.ts +7 -1
  143. package/lib/components/field/TextContent/TextContent.d.ts.map +1 -1
  144. package/lib/components/field/TextContent/TextContent.js.map +1 -1
  145. package/lib/components/field/TextInput/TextInput.d.ts +6 -1
  146. package/lib/components/field/TextInput/TextInput.d.ts.map +1 -1
  147. package/lib/components/field/TextInput/TextInput.js +24 -5
  148. package/lib/components/field/TextInput/TextInput.js.map +1 -1
  149. package/lib/components/field/Time/Time.d.ts +5 -1
  150. package/lib/components/field/Time/Time.d.ts.map +1 -1
  151. package/lib/components/field/Time/Time.js +14 -8
  152. package/lib/components/field/Time/Time.js.map +1 -1
  153. package/lib/components/field/URL/URL.d.ts +5 -1
  154. package/lib/components/field/URL/URL.d.ts.map +1 -1
  155. package/lib/components/field/URL/URL.js +11 -5
  156. package/lib/components/field/URL/URL.js.map +1 -1
  157. package/lib/components/field/UserReference/UserReference.d.ts +19 -40
  158. package/lib/components/field/UserReference/UserReference.d.ts.map +1 -1
  159. package/lib/components/field/UserReference/UserReference.js +16 -45
  160. package/lib/components/field/UserReference/UserReference.js.map +1 -1
  161. package/lib/components/helpers/attachmentHelpers.d.ts +6 -6
  162. package/lib/components/helpers/attachmentHelpers.d.ts.map +1 -1
  163. package/lib/components/helpers/attachmentHelpers.js +2 -2
  164. package/lib/components/helpers/attachmentHelpers.js.map +1 -1
  165. package/lib/components/helpers/auth.d.ts +8 -6
  166. package/lib/components/helpers/auth.d.ts.map +1 -1
  167. package/lib/components/helpers/auth.js +642 -327
  168. package/lib/components/helpers/auth.js.map +1 -1
  169. package/lib/components/helpers/authManager.d.ts +20 -17
  170. package/lib/components/helpers/authManager.d.ts.map +1 -1
  171. package/lib/components/helpers/authManager.js +713 -438
  172. package/lib/components/helpers/authManager.js.map +1 -1
  173. package/lib/components/helpers/case-utils.d.ts +20 -0
  174. package/lib/components/helpers/case-utils.d.ts.map +1 -0
  175. package/lib/components/helpers/case-utils.js +82 -0
  176. package/lib/components/helpers/case-utils.js.map +1 -0
  177. package/lib/components/helpers/common-utils.d.ts +2 -0
  178. package/lib/components/helpers/common-utils.d.ts.map +1 -0
  179. package/lib/components/helpers/common-utils.js +5 -0
  180. package/lib/components/helpers/common-utils.js.map +1 -0
  181. package/lib/components/helpers/config_access.d.ts.map +1 -1
  182. package/lib/components/helpers/config_access.js +28 -98
  183. package/lib/components/helpers/config_access.js.map +1 -1
  184. package/lib/components/helpers/data_page.d.ts.map +1 -1
  185. package/lib/components/helpers/data_page.js.map +1 -1
  186. package/lib/components/helpers/date-format-utils.d.ts +1 -6
  187. package/lib/components/helpers/date-format-utils.d.ts.map +1 -1
  188. package/lib/components/helpers/date-format-utils.js +23 -14
  189. package/lib/components/helpers/date-format-utils.js.map +1 -1
  190. package/lib/components/helpers/event-utils.d.ts +1 -1
  191. package/lib/components/helpers/event-utils.d.ts.map +1 -1
  192. package/lib/components/helpers/event-utils.js.map +1 -1
  193. package/lib/components/helpers/field-group-utils.d.ts +15 -2
  194. package/lib/components/helpers/field-group-utils.d.ts.map +1 -1
  195. package/lib/components/helpers/field-group-utils.js +6 -10
  196. package/lib/components/helpers/field-group-utils.js.map +1 -1
  197. package/lib/components/helpers/formatters/Boolean.d.ts +3 -3
  198. package/lib/components/helpers/formatters/Boolean.d.ts.map +1 -1
  199. package/lib/components/helpers/formatters/Boolean.js.map +1 -1
  200. package/lib/components/helpers/formatters/Currency.d.ts +6 -6
  201. package/lib/components/helpers/formatters/Currency.d.ts.map +1 -1
  202. package/lib/components/helpers/formatters/Currency.js +6 -5
  203. package/lib/components/helpers/formatters/Currency.js.map +1 -1
  204. package/lib/components/helpers/formatters/CurrencyMap.d.ts +881 -1399
  205. package/lib/components/helpers/formatters/CurrencyMap.d.ts.map +1 -1
  206. package/lib/components/helpers/formatters/CurrencyMap.js.map +1 -1
  207. package/lib/components/helpers/formatters/Date.d.ts +4 -4
  208. package/lib/components/helpers/formatters/Date.d.ts.map +1 -1
  209. package/lib/components/helpers/formatters/Date.js +1 -1
  210. package/lib/components/helpers/formatters/Date.js.map +1 -1
  211. package/lib/components/helpers/formatters/common.d.ts +2 -2
  212. package/lib/components/helpers/formatters/common.d.ts.map +1 -1
  213. package/lib/components/helpers/formatters/common.js +4 -5
  214. package/lib/components/helpers/formatters/common.js.map +1 -1
  215. package/lib/components/helpers/formatters/index.d.ts +11 -11
  216. package/lib/components/helpers/formatters/index.d.ts.map +1 -1
  217. package/lib/components/helpers/formatters/index.js.map +1 -1
  218. package/lib/components/helpers/reactContextHelpers.d.ts +3 -2
  219. package/lib/components/helpers/reactContextHelpers.d.ts.map +1 -1
  220. package/lib/components/helpers/reactContextHelpers.js.map +1 -1
  221. package/lib/components/helpers/simpleTableHelpers.d.ts +5 -3
  222. package/lib/components/helpers/simpleTableHelpers.d.ts.map +1 -1
  223. package/lib/components/helpers/simpleTableHelpers.js +10 -5
  224. package/lib/components/helpers/simpleTableHelpers.js.map +1 -1
  225. package/lib/components/helpers/state-utils.d.ts +4 -0
  226. package/lib/components/helpers/state-utils.d.ts.map +1 -0
  227. package/lib/components/helpers/state-utils.js +36 -0
  228. package/lib/components/helpers/state-utils.js.map +1 -0
  229. package/lib/components/helpers/template-utils.d.ts +7 -3
  230. package/lib/components/helpers/template-utils.d.ts.map +1 -1
  231. package/lib/components/helpers/template-utils.js.map +1 -1
  232. package/lib/components/helpers/utils.d.ts +1 -1
  233. package/lib/components/helpers/utils.d.ts.map +1 -1
  234. package/lib/components/helpers/utils.js +9 -3
  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.map +1 -1
  238. package/lib/components/infra/ActionButtons/ActionButtons.d.ts +6 -13
  239. package/lib/components/infra/ActionButtons/ActionButtons.d.ts.map +1 -1
  240. package/lib/components/infra/ActionButtons/ActionButtons.js +5 -15
  241. package/lib/components/infra/ActionButtons/ActionButtons.js.map +1 -1
  242. package/lib/components/infra/Assignment/Assignment.d.ts +1 -15
  243. package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -1
  244. package/lib/components/infra/Assignment/Assignment.js +47 -35
  245. package/lib/components/infra/Assignment/Assignment.js.map +1 -1
  246. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts +8 -14
  247. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts.map +1 -1
  248. package/lib/components/infra/AssignmentCard/AssignmentCard.js +3 -16
  249. package/lib/components/infra/AssignmentCard/AssignmentCard.js.map +1 -1
  250. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts +1 -21
  251. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -1
  252. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +53 -52
  253. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -1
  254. package/lib/components/infra/Containers/FlowContainer/helpers.d.ts +12 -12
  255. package/lib/components/infra/Containers/FlowContainer/helpers.d.ts.map +1 -1
  256. package/lib/components/infra/Containers/FlowContainer/helpers.js +17 -16
  257. package/lib/components/infra/Containers/FlowContainer/helpers.js.map +1 -1
  258. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +1 -17
  259. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -1
  260. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +20 -22
  261. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -1
  262. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +9 -22
  263. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -1
  264. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js +13 -24
  265. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js.map +1 -1
  266. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts +9 -19
  267. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts.map +1 -1
  268. package/lib/components/infra/DashboardFilter/DashboardFilter.js +2 -16
  269. package/lib/components/infra/DashboardFilter/DashboardFilter.js.map +1 -1
  270. package/lib/components/infra/DashboardFilter/filterUtils.d.ts.map +1 -1
  271. package/lib/components/infra/DashboardFilter/filterUtils.js +1 -1
  272. package/lib/components/infra/DashboardFilter/filterUtils.js.map +1 -1
  273. package/lib/components/infra/DeferLoad/DeferLoad.d.ts +1 -14
  274. package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -1
  275. package/lib/components/infra/DeferLoad/DeferLoad.js +13 -15
  276. package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -1
  277. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts +5 -12
  278. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  279. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js +10 -17
  280. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js.map +1 -1
  281. package/lib/components/infra/MultiStep/MultiStep.d.ts +11 -17
  282. package/lib/components/infra/MultiStep/MultiStep.d.ts.map +1 -1
  283. package/lib/components/infra/MultiStep/MultiStep.js +6 -20
  284. package/lib/components/infra/MultiStep/MultiStep.js.map +1 -1
  285. package/lib/components/infra/NavBar/NavBar.d.ts +8 -16
  286. package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -1
  287. package/lib/components/infra/NavBar/NavBar.js +9 -20
  288. package/lib/components/infra/NavBar/NavBar.js.map +1 -1
  289. package/lib/components/infra/Reference/Reference.d.ts +1 -18
  290. package/lib/components/infra/Reference/Reference.d.ts.map +1 -1
  291. package/lib/components/infra/Reference/Reference.js +11 -16
  292. package/lib/components/infra/Reference/Reference.js.map +1 -1
  293. package/lib/components/infra/Region/Region.d.ts +4 -7
  294. package/lib/components/infra/Region/Region.d.ts.map +1 -1
  295. package/lib/components/infra/Region/Region.js +0 -4
  296. package/lib/components/infra/Region/Region.js.map +1 -1
  297. package/lib/components/infra/RootContainer/RootContainer.d.ts +1 -21
  298. package/lib/components/infra/RootContainer/RootContainer.d.ts.map +1 -1
  299. package/lib/components/infra/RootContainer/RootContainer.js +16 -36
  300. package/lib/components/infra/RootContainer/RootContainer.js.map +1 -1
  301. package/lib/components/infra/Stages/Stages.d.ts +5 -8
  302. package/lib/components/infra/Stages/Stages.d.ts.map +1 -1
  303. package/lib/components/infra/Stages/Stages.js +3 -7
  304. package/lib/components/infra/Stages/Stages.js.map +1 -1
  305. package/lib/components/infra/VerticalTabs/LeftAlignVerticalTabs/LeftAlignVerticalTabs.d.ts.map +1 -1
  306. package/lib/components/infra/VerticalTabs/LeftAlignVerticalTabs/LeftAlignVerticalTabs.js.map +1 -1
  307. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.d.ts +4 -10
  308. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.d.ts.map +1 -1
  309. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js +4 -9
  310. package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js.map +1 -1
  311. package/lib/components/infra/View/View.d.ts +13 -16
  312. package/lib/components/infra/View/View.d.ts.map +1 -1
  313. package/lib/components/infra/View/View.js +10 -55
  314. package/lib/components/infra/View/View.js.map +1 -1
  315. package/lib/components/template/AppShell/AppShell.d.ts +20 -15
  316. package/lib/components/template/AppShell/AppShell.d.ts.map +1 -1
  317. package/lib/components/template/AppShell/AppShell.js +17 -29
  318. package/lib/components/template/AppShell/AppShell.js.map +1 -1
  319. package/lib/components/template/BannerPage/BannerPage.d.ts +11 -23
  320. package/lib/components/template/BannerPage/BannerPage.d.ts.map +1 -1
  321. package/lib/components/template/BannerPage/BannerPage.js +4 -22
  322. package/lib/components/template/BannerPage/BannerPage.js.map +1 -1
  323. package/lib/components/template/CaseSummary/CaseSummary.d.ts +5 -7
  324. package/lib/components/template/CaseSummary/CaseSummary.d.ts.map +1 -1
  325. package/lib/components/template/CaseSummary/CaseSummary.js +6 -6
  326. package/lib/components/template/CaseSummary/CaseSummary.js.map +1 -1
  327. package/lib/components/template/CaseView/CaseView.d.ts +10 -22
  328. package/lib/components/template/CaseView/CaseView.d.ts.map +1 -1
  329. package/lib/components/template/CaseView/CaseView.js +41 -45
  330. package/lib/components/template/CaseView/CaseView.js.map +1 -1
  331. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts +8 -13
  332. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts.map +1 -1
  333. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js +9 -16
  334. package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js.map +1 -1
  335. package/lib/components/template/Confirmation/Confirmation.d.ts +10 -16
  336. package/lib/components/template/Confirmation/Confirmation.d.ts.map +1 -1
  337. package/lib/components/template/Confirmation/Confirmation.js +12 -23
  338. package/lib/components/template/Confirmation/Confirmation.js.map +1 -1
  339. package/lib/components/template/DataReference/DataReference.d.ts +15 -30
  340. package/lib/components/template/DataReference/DataReference.d.ts.map +1 -1
  341. package/lib/components/template/DataReference/DataReference.js +25 -48
  342. package/lib/components/template/DataReference/DataReference.js.map +1 -1
  343. package/lib/components/template/DefaultForm/DefaultForm.d.ts +1 -11
  344. package/lib/components/template/DefaultForm/DefaultForm.d.ts.map +1 -1
  345. package/lib/components/template/DefaultForm/DefaultForm.js +18 -15
  346. package/lib/components/template/DefaultForm/DefaultForm.js.map +1 -1
  347. package/lib/components/template/DefaultForm/utils/index.d.ts +3 -0
  348. package/lib/components/template/DefaultForm/utils/index.d.ts.map +1 -0
  349. package/lib/components/template/DefaultForm/utils/index.js +27 -0
  350. package/lib/components/template/DefaultForm/utils/index.js.map +1 -0
  351. package/lib/components/template/Details/Details/Details.d.ts +1 -16
  352. package/lib/components/template/Details/Details/Details.d.ts.map +1 -1
  353. package/lib/components/template/Details/Details/Details.js +10 -15
  354. package/lib/components/template/Details/Details/Details.js.map +1 -1
  355. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts +7 -15
  356. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -1
  357. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.js +1 -13
  358. package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.js.map +1 -1
  359. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +1 -16
  360. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -1
  361. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js +14 -16
  362. package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -1
  363. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +1 -16
  364. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -1
  365. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js +14 -16
  366. package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -1
  367. package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts +4 -0
  368. package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts.map +1 -0
  369. package/lib/components/template/Details/DynamicTabs/DynamicTabs.js +56 -0
  370. package/lib/components/template/Details/DynamicTabs/DynamicTabs.js.map +1 -0
  371. package/lib/components/template/Details/DynamicTabs/index.d.ts +2 -0
  372. package/lib/components/template/Details/DynamicTabs/index.d.ts.map +1 -0
  373. package/lib/components/template/Details/DynamicTabs/index.js +2 -0
  374. package/lib/components/template/Details/DynamicTabs/index.js.map +1 -0
  375. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts +12 -19
  376. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -1
  377. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js +7 -21
  378. package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -1
  379. package/lib/components/template/InlineDashboard/InlineDashboard.d.ts +7 -7
  380. package/lib/components/template/InlineDashboard/InlineDashboard.d.ts.map +1 -1
  381. package/lib/components/template/InlineDashboard/InlineDashboard.js +0 -5
  382. package/lib/components/template/InlineDashboard/InlineDashboard.js.map +1 -1
  383. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts +8 -15
  384. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -1
  385. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.js +6 -15
  386. package/lib/components/template/InlineDashboardPage/InlineDashboardPage.js.map +1 -1
  387. package/lib/components/template/ListPage/ListPage.d.ts +5 -13
  388. package/lib/components/template/ListPage/ListPage.d.ts.map +1 -1
  389. package/lib/components/template/ListPage/ListPage.js +6 -10
  390. package/lib/components/template/ListPage/ListPage.js.map +1 -1
  391. package/lib/components/template/ListView/DefaultViewMeta.d.ts +1 -90
  392. package/lib/components/template/ListView/DefaultViewMeta.d.ts.map +1 -1
  393. package/lib/components/template/ListView/DefaultViewMeta.js.map +1 -1
  394. package/lib/components/template/ListView/ListView.d.ts +1 -9
  395. package/lib/components/template/ListView/ListView.d.ts.map +1 -1
  396. package/lib/components/template/ListView/ListView.js +177 -192
  397. package/lib/components/template/ListView/ListView.js.map +1 -1
  398. package/lib/components/template/ListView/hooks.d.ts.map +1 -1
  399. package/lib/components/template/ListView/hooks.js +0 -1
  400. package/lib/components/template/ListView/hooks.js.map +1 -1
  401. package/lib/components/template/ListView/utils.d.ts +72 -16
  402. package/lib/components/template/ListView/utils.d.ts.map +1 -1
  403. package/lib/components/template/ListView/utils.js +143 -3
  404. package/lib/components/template/ListView/utils.js.map +1 -1
  405. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +9 -13
  406. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -1
  407. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js +2 -13
  408. package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -1
  409. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts +10 -1
  410. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -1
  411. package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.js.map +1 -1
  412. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +1 -16
  413. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -1
  414. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +14 -16
  415. package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -1
  416. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +5 -1
  417. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -1
  418. package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +1 -1
  419. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +7 -14
  420. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -1
  421. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.js +4 -13
  422. package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -1
  423. package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts +4 -7
  424. package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts.map +1 -1
  425. package/lib/components/template/OneColumn/OneColumn/OneColumn.js +0 -5
  426. package/lib/components/template/OneColumn/OneColumn/OneColumn.js.map +1 -1
  427. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts +4 -8
  428. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -1
  429. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.js +3 -6
  430. package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -1
  431. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts +4 -7
  432. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -1
  433. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.js +0 -5
  434. package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.js.map +1 -1
  435. package/lib/components/template/PromotedFilters/PromotedFilters.d.ts +1 -15
  436. package/lib/components/template/PromotedFilters/PromotedFilters.d.ts.map +1 -1
  437. package/lib/components/template/PromotedFilters/PromotedFilters.js +17 -13
  438. package/lib/components/template/PromotedFilters/PromotedFilters.js.map +1 -1
  439. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -1
  440. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js +57 -5
  441. package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js.map +1 -1
  442. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +18 -1
  443. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -1
  444. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js +6 -6
  445. package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -1
  446. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +1 -29
  447. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -1
  448. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js +22 -28
  449. package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +1 -1
  450. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +14 -26
  451. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -1
  452. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js +5 -26
  453. package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -1
  454. package/lib/components/template/SubTabs/SubTabs.d.ts +4 -10
  455. package/lib/components/template/SubTabs/SubTabs.d.ts.map +1 -1
  456. package/lib/components/template/SubTabs/SubTabs.js +1 -8
  457. package/lib/components/template/SubTabs/SubTabs.js.map +1 -1
  458. package/lib/components/template/SubTabs/tabUtils.d.ts.map +1 -1
  459. package/lib/components/template/SubTabs/tabUtils.js.map +1 -1
  460. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts +5 -11
  461. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -1
  462. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js +1 -12
  463. package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js.map +1 -1
  464. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +4 -8
  465. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -1
  466. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.js +3 -6
  467. package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -1
  468. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +5 -11
  469. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -1
  470. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js +1 -9
  471. package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +1 -1
  472. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts +10 -1
  473. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -1
  474. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.js +1 -1
  475. package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.js.map +1 -1
  476. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +1 -16
  477. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -1
  478. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +31 -23
  479. package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -1
  480. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +5 -1
  481. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -1
  482. package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +1 -1
  483. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +7 -14
  484. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -1
  485. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.js +4 -14
  486. package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -1
  487. package/lib/components/template/WssNavBar/WssNavBar.d.ts +17 -1
  488. package/lib/components/template/WssNavBar/WssNavBar.d.ts.map +1 -1
  489. package/lib/components/template/WssNavBar/WssNavBar.js +2 -2
  490. package/lib/components/template/WssNavBar/WssNavBar.js.map +1 -1
  491. package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts +8 -17
  492. package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts.map +1 -1
  493. package/lib/components/widget/AppAnnouncement/AppAnnouncement.js +4 -19
  494. package/lib/components/widget/AppAnnouncement/AppAnnouncement.js.map +1 -1
  495. package/lib/components/widget/Attachment/Attachment.css +15 -3
  496. package/lib/components/widget/Attachment/Attachment.d.ts.map +1 -1
  497. package/lib/components/widget/Attachment/Attachment.js +44 -32
  498. package/lib/components/widget/Attachment/Attachment.js.map +1 -1
  499. package/lib/components/widget/CaseHistory/CaseHistory.d.ts +4 -7
  500. package/lib/components/widget/CaseHistory/CaseHistory.d.ts.map +1 -1
  501. package/lib/components/widget/CaseHistory/CaseHistory.js +4 -8
  502. package/lib/components/widget/CaseHistory/CaseHistory.js.map +1 -1
  503. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts +8 -1
  504. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts.map +1 -1
  505. package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js.map +1 -1
  506. package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts +5 -1
  507. package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts.map +1 -1
  508. package/lib/components/widget/FileUtility/FileUtility/FileUtility.js +33 -23
  509. package/lib/components/widget/FileUtility/FileUtility/FileUtility.js.map +1 -1
  510. package/lib/components/widget/Followers/Followers.d.ts +4 -5
  511. package/lib/components/widget/Followers/Followers.d.ts.map +1 -1
  512. package/lib/components/widget/Followers/Followers.js +3 -10
  513. package/lib/components/widget/Followers/Followers.js.map +1 -1
  514. package/lib/components/widget/QuickCreate/QuickCreate.d.ts.map +1 -1
  515. package/lib/components/widget/QuickCreate/QuickCreate.js +12 -4
  516. package/lib/components/widget/QuickCreate/QuickCreate.js.map +1 -1
  517. package/lib/components/widget/SummaryItem/SummaryItem.d.ts +7 -1
  518. package/lib/components/widget/SummaryItem/SummaryItem.d.ts.map +1 -1
  519. package/lib/components/widget/SummaryItem/SummaryItem.js +2 -2
  520. package/lib/components/widget/SummaryItem/SummaryItem.js.map +1 -1
  521. package/lib/components/widget/SummaryList/SummaryList.d.ts +7 -1
  522. package/lib/components/widget/SummaryList/SummaryList.d.ts.map +1 -1
  523. package/lib/components/widget/SummaryList/SummaryList.js +5 -2
  524. package/lib/components/widget/SummaryList/SummaryList.js.map +1 -1
  525. package/lib/components/widget/ToDo/ToDo.d.ts +13 -27
  526. package/lib/components/widget/ToDo/ToDo.d.ts.map +1 -1
  527. package/lib/components/widget/ToDo/ToDo.js +35 -67
  528. package/lib/components/widget/ToDo/ToDo.js.map +1 -1
  529. package/lib/components_map.d.ts +3 -3
  530. package/lib/components_map.d.ts.map +1 -1
  531. package/lib/components_map.js +819 -818
  532. package/lib/components_map.js.map +1 -1
  533. package/lib/doc/KeyReleaseUpdates.md +66 -9
  534. package/lib/hooks/index.d.ts +4 -0
  535. package/lib/hooks/index.d.ts.map +1 -0
  536. package/lib/hooks/index.js +4 -0
  537. package/lib/hooks/index.js.map +1 -0
  538. package/lib/hooks/useAfterInitialEffect.d.ts +9 -0
  539. package/lib/hooks/useAfterInitialEffect.d.ts.map +1 -0
  540. package/lib/hooks/useAfterInitialEffect.js +16 -0
  541. package/lib/hooks/useAfterInitialEffect.js.map +1 -0
  542. package/lib/hooks/useConsolidatedRef.d.ts +9 -0
  543. package/lib/hooks/useConsolidatedRef.d.ts.map +1 -0
  544. package/lib/hooks/useConsolidatedRef.js +30 -0
  545. package/lib/hooks/useConsolidatedRef.js.map +1 -0
  546. package/lib/hooks/useUID.d.ts +8 -0
  547. package/lib/hooks/useUID.d.ts.map +1 -0
  548. package/lib/hooks/useUID.js +14 -0
  549. package/lib/hooks/useUID.js.map +1 -0
  550. package/lib/index.d.ts +1 -0
  551. package/lib/index.d.ts.map +1 -1
  552. package/lib/index.js +2 -1
  553. package/lib/index.js.map +1 -1
  554. package/lib/sdk-pega-component-map.d.ts +17 -1
  555. package/lib/sdk-pega-component-map.js +17 -1
  556. package/lib/sdk-pega-component-map.js.map +1 -1
  557. package/lib/types/PConnProps.d.ts +42 -0
  558. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultViewMeta.js","sourceRoot":"","sources":["../../../../src/components/template/ListView/DefaultViewMeta.js"],"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,CA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E,SAAS;qBAC5B;iBACF,CAAC;aACH;iBAAM;gBACL,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,UAAU,IAAI,EAAE,CAAC;gBAC5C,QAAQ,GAAG;oBACT,IAAI,EAAE,UAAU;oBAChB,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,qBAAqB;YACxB;gBACE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,UAAU,IAAI,EAAE,CAAC;gBAC5C,QAAQ,GAAG;oBACT,IAAI,EAAE,cAAc;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\n\nexport default function getDefaultViewMeta(fieldMeta, classID, showField) {\n const { type, name, displayAs, fieldID, isUserReference, associationID, datasource, label, fieldType } =\n 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,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;AAGF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,S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C5C,QAAQ,GAAG;oBACT,IAAI,EAAE,cAAc;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\n\nexport default function getDefaultViewMeta(fieldMeta, classID, showField) {\n const { type, name, displayAs, fieldID, isUserReference, associationID, datasource, label, fieldType } =\n 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,12 +1,4 @@
1
1
  /// <reference types="react" />
2
- import PropTypes from 'prop-types';
3
2
  import './ListView.css';
4
- declare function ListView(props: any): JSX.Element;
5
- declare namespace ListView {
6
- var defaultProps: {};
7
- var propTypes: {
8
- getPConnect: PropTypes.Validator<(...args: any[]) => any>;
9
- };
10
- }
11
- export default ListView;
3
+ export default function ListView(props: any): JSX.Element;
12
4
  //# sourceMappingURL=ListView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../../src/components/template/ListView/ListView.tsx"],"names":[],"mappings":";AAMA,OAAO,SAAS,MAAM,YAAY,CAAC;AAkCnC,OAAO,gBAAgB,CAAC;AAiBxB,iBAAwB,QAAQ,CAAC,KAAK,KAAA,eAkuCrC;kBAluCuB,QAAQ;;;;;;eAAR,QAAQ"}
1
+ {"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../../src/components/template/ListView/ListView.tsx"],"names":[],"mappings":";AAsCA,OAAO,gBAAgB,CAAC;AAuCxB,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,KAAA,eA+oCrC"}