@pega/react-sdk-components 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (841) hide show
  1. package/lib/bridge/Context/StoreContext.d.ts +4 -0
  2. package/lib/bridge/Context/StoreContext.d.ts.map +1 -0
  3. package/lib/bridge/Context/StoreContext.js +10 -0
  4. package/lib/bridge/Context/StoreContext.js.map +1 -0
  5. package/lib/bridge/helpers/sdk_component_map.d.ts +3 -0
  6. package/lib/bridge/helpers/sdk_component_map.d.ts.map +1 -0
  7. package/lib/bridge/helpers/sdk_component_map.js +239 -0
  8. package/lib/bridge/helpers/sdk_component_map.js.map +1 -0
  9. package/lib/bridge/react_pconnect.d.ts +9 -0
  10. package/lib/bridge/react_pconnect.d.ts.map +1 -0
  11. package/lib/bridge/react_pconnect.js +334 -0
  12. package/lib/bridge/react_pconnect.js.map +1 -0
  13. package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.css +19 -0
  14. package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.d.ts +13 -0
  15. package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -0
  16. package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js +102 -0
  17. package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js.map +1 -0
  18. package/lib/components/designSystemExtensions/CaseSummaryFields/index.d.ts +2 -0
  19. package/lib/components/designSystemExtensions/CaseSummaryFields/index.d.ts.map +1 -0
  20. package/lib/components/designSystemExtensions/CaseSummaryFields/index.js +2 -0
  21. package/lib/components/designSystemExtensions/CaseSummaryFields/index.js.map +1 -0
  22. package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.d.ts +13 -0
  23. package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.d.ts.map +1 -0
  24. package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.js +112 -0
  25. package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.js.map +1 -0
  26. package/lib/components/designSystemExtensions/DetailsFields/index.d.ts +2 -0
  27. package/lib/components/designSystemExtensions/DetailsFields/index.d.ts.map +1 -0
  28. package/lib/components/designSystemExtensions/DetailsFields/index.js +2 -0
  29. package/lib/components/designSystemExtensions/DetailsFields/index.js.map +1 -0
  30. package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.d.ts +4 -0
  31. package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.d.ts.map +1 -0
  32. package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.js +76 -0
  33. package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.js.map +1 -0
  34. package/lib/components/designSystemExtensions/FieldGroup/index.d.ts +2 -0
  35. package/lib/components/designSystemExtensions/FieldGroup/index.d.ts.map +1 -0
  36. package/lib/components/designSystemExtensions/FieldGroup/index.js +2 -0
  37. package/lib/components/designSystemExtensions/FieldGroup/index.js.map +1 -0
  38. package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.d.ts +4 -0
  39. package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.d.ts.map +1 -0
  40. package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.js +27 -0
  41. package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.js.map +1 -0
  42. package/lib/components/designSystemExtensions/FieldGroupList/index.d.ts +2 -0
  43. package/lib/components/designSystemExtensions/FieldGroupList/index.d.ts.map +1 -0
  44. package/lib/components/designSystemExtensions/FieldGroupList/index.js +2 -0
  45. package/lib/components/designSystemExtensions/FieldGroupList/index.js.map +1 -0
  46. package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.d.ts +4 -0
  47. package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.d.ts.map +1 -0
  48. package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.js +69 -0
  49. package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.js.map +1 -0
  50. package/lib/components/designSystemExtensions/FieldValueList/index.d.ts +2 -0
  51. package/lib/components/designSystemExtensions/FieldValueList/index.d.ts.map +1 -0
  52. package/lib/components/designSystemExtensions/FieldValueList/index.js +2 -0
  53. package/lib/components/designSystemExtensions/FieldValueList/index.js.map +1 -0
  54. package/lib/components/designSystemExtensions/Operator/Operator.d.ts +11 -0
  55. package/lib/components/designSystemExtensions/Operator/Operator.d.ts.map +1 -0
  56. package/lib/components/designSystemExtensions/Operator/Operator.js +154 -0
  57. package/lib/components/designSystemExtensions/Operator/Operator.js.map +1 -0
  58. package/lib/components/designSystemExtensions/Operator/index.d.ts +2 -0
  59. package/lib/components/designSystemExtensions/Operator/index.d.ts.map +1 -0
  60. package/lib/components/designSystemExtensions/Operator/index.js +2 -0
  61. package/lib/components/designSystemExtensions/Operator/index.js.map +1 -0
  62. package/lib/components/designSystemExtensions/Pulse/Pulse.d.ts +3 -0
  63. package/lib/components/designSystemExtensions/Pulse/Pulse.d.ts.map +1 -0
  64. package/lib/components/designSystemExtensions/Pulse/Pulse.js +24 -0
  65. package/lib/components/designSystemExtensions/Pulse/Pulse.js.map +1 -0
  66. package/lib/components/designSystemExtensions/Pulse/index.d.ts +2 -0
  67. package/lib/components/designSystemExtensions/Pulse/index.d.ts.map +1 -0
  68. package/lib/components/designSystemExtensions/Pulse/index.js +2 -0
  69. package/lib/components/designSystemExtensions/Pulse/index.js.map +1 -0
  70. package/lib/components/forms/AutoComplete/AutoComplete.d.ts +3 -0
  71. package/lib/components/forms/AutoComplete/AutoComplete.d.ts.map +1 -0
  72. package/lib/components/forms/AutoComplete/AutoComplete.js +118 -0
  73. package/lib/components/forms/AutoComplete/AutoComplete.js.map +1 -0
  74. package/lib/components/forms/AutoComplete/index.d.ts +2 -0
  75. package/lib/components/forms/AutoComplete/index.d.ts.map +1 -0
  76. package/lib/components/forms/AutoComplete/index.js +2 -0
  77. package/lib/components/forms/AutoComplete/index.js.map +1 -0
  78. package/lib/components/forms/CancelAlert/CancelAlert.css +24 -0
  79. package/lib/components/forms/CancelAlert/CancelAlert.d.ts +5 -0
  80. package/lib/components/forms/CancelAlert/CancelAlert.d.ts.map +1 -0
  81. package/lib/components/forms/CancelAlert/CancelAlert.js +81 -0
  82. package/lib/components/forms/CancelAlert/CancelAlert.js.map +1 -0
  83. package/lib/components/forms/CancelAlert/index.d.ts +2 -0
  84. package/lib/components/forms/CancelAlert/index.d.ts.map +1 -0
  85. package/lib/components/forms/CancelAlert/index.js +2 -0
  86. package/lib/components/forms/CancelAlert/index.js.map +1 -0
  87. package/lib/components/forms/Checkbox/Checkbox.d.ts +3 -0
  88. package/lib/components/forms/Checkbox/Checkbox.d.ts.map +1 -0
  89. package/lib/components/forms/Checkbox/Checkbox.js +34 -0
  90. package/lib/components/forms/Checkbox/Checkbox.js.map +1 -0
  91. package/lib/components/forms/Checkbox/index.d.ts +2 -0
  92. package/lib/components/forms/Checkbox/index.d.ts.map +1 -0
  93. package/lib/components/forms/Checkbox/index.js +2 -0
  94. package/lib/components/forms/Checkbox/index.js.map +1 -0
  95. package/lib/components/forms/Currency/Currency.d.ts +3 -0
  96. package/lib/components/forms/Currency/Currency.d.ts.map +1 -0
  97. package/lib/components/forms/Currency/Currency.js +46 -0
  98. package/lib/components/forms/Currency/Currency.js.map +1 -0
  99. package/lib/components/forms/Currency/index.d.ts +2 -0
  100. package/lib/components/forms/Currency/index.d.ts.map +1 -0
  101. package/lib/components/forms/Currency/index.js +2 -0
  102. package/lib/components/forms/Currency/index.js.map +1 -0
  103. package/lib/components/forms/Date/Date.d.ts +3 -0
  104. package/lib/components/forms/Date/Date.d.ts.map +1 -0
  105. package/lib/components/forms/Date/Date.js +36 -0
  106. package/lib/components/forms/Date/Date.js.map +1 -0
  107. package/lib/components/forms/Date/index.d.ts +2 -0
  108. package/lib/components/forms/Date/index.d.ts.map +1 -0
  109. package/lib/components/forms/Date/index.js +2 -0
  110. package/lib/components/forms/Date/index.js.map +1 -0
  111. package/lib/components/forms/DateTime/DateTime.d.ts +3 -0
  112. package/lib/components/forms/DateTime/DateTime.d.ts.map +1 -0
  113. package/lib/components/forms/DateTime/DateTime.js +35 -0
  114. package/lib/components/forms/DateTime/DateTime.js.map +1 -0
  115. package/lib/components/forms/DateTime/index.d.ts +2 -0
  116. package/lib/components/forms/DateTime/index.d.ts.map +1 -0
  117. package/lib/components/forms/DateTime/index.js +2 -0
  118. package/lib/components/forms/DateTime/index.js.map +1 -0
  119. package/lib/components/forms/Decimal/Decimal.d.ts +3 -0
  120. package/lib/components/forms/Decimal/Decimal.d.ts.map +1 -0
  121. package/lib/components/forms/Decimal/Decimal.js +19 -0
  122. package/lib/components/forms/Decimal/Decimal.js.map +1 -0
  123. package/lib/components/forms/Decimal/index.d.ts +2 -0
  124. package/lib/components/forms/Decimal/index.d.ts.map +1 -0
  125. package/lib/components/forms/Decimal/index.js +2 -0
  126. package/lib/components/forms/Decimal/index.js.map +1 -0
  127. package/lib/components/forms/Dropdown/Dropdown.d.ts +3 -0
  128. package/lib/components/forms/Dropdown/Dropdown.d.ts.map +1 -0
  129. package/lib/components/forms/Dropdown/Dropdown.js +34 -0
  130. package/lib/components/forms/Dropdown/Dropdown.js.map +1 -0
  131. package/lib/components/forms/Dropdown/index.d.ts +2 -0
  132. package/lib/components/forms/Dropdown/index.d.ts.map +1 -0
  133. package/lib/components/forms/Dropdown/index.js +2 -0
  134. package/lib/components/forms/Dropdown/index.js.map +1 -0
  135. package/lib/components/forms/Email/Email.d.ts +3 -0
  136. package/lib/components/forms/Email/Email.d.ts.map +1 -0
  137. package/lib/components/forms/Email/Email.js +28 -0
  138. package/lib/components/forms/Email/Email.js.map +1 -0
  139. package/lib/components/forms/Email/index.d.ts +2 -0
  140. package/lib/components/forms/Email/index.d.ts.map +1 -0
  141. package/lib/components/forms/Email/index.js +2 -0
  142. package/lib/components/forms/Email/index.js.map +1 -0
  143. package/lib/components/forms/Integer/Integer.d.ts +3 -0
  144. package/lib/components/forms/Integer/Integer.d.ts.map +1 -0
  145. package/lib/components/forms/Integer/Integer.js +37 -0
  146. package/lib/components/forms/Integer/Integer.js.map +1 -0
  147. package/lib/components/forms/Integer/index.d.ts +2 -0
  148. package/lib/components/forms/Integer/index.d.ts.map +1 -0
  149. package/lib/components/forms/Integer/index.js +2 -0
  150. package/lib/components/forms/Integer/index.js.map +1 -0
  151. package/lib/components/forms/Percentage/Percentage.d.ts +3 -0
  152. package/lib/components/forms/Percentage/Percentage.d.ts.map +1 -0
  153. package/lib/components/forms/Percentage/Percentage.js +42 -0
  154. package/lib/components/forms/Percentage/Percentage.js.map +1 -0
  155. package/lib/components/forms/Percentage/index.d.ts +2 -0
  156. package/lib/components/forms/Percentage/index.d.ts.map +1 -0
  157. package/lib/components/forms/Percentage/index.js +2 -0
  158. package/lib/components/forms/Percentage/index.js.map +1 -0
  159. package/lib/components/forms/Phone/Phone.d.ts +3 -0
  160. package/lib/components/forms/Phone/Phone.d.ts.map +1 -0
  161. package/lib/components/forms/Phone/Phone.js +36 -0
  162. package/lib/components/forms/Phone/Phone.js.map +1 -0
  163. package/lib/components/forms/Phone/index.d.ts +2 -0
  164. package/lib/components/forms/Phone/index.d.ts.map +1 -0
  165. package/lib/components/forms/Phone/index.js +2 -0
  166. package/lib/components/forms/Phone/index.js.map +1 -0
  167. package/lib/components/forms/RadioButtons/RadioButtons.d.ts +3 -0
  168. package/lib/components/forms/RadioButtons/RadioButtons.d.ts.map +1 -0
  169. package/lib/components/forms/RadioButtons/RadioButtons.js +33 -0
  170. package/lib/components/forms/RadioButtons/RadioButtons.js.map +1 -0
  171. package/lib/components/forms/RadioButtons/index.d.ts +2 -0
  172. package/lib/components/forms/RadioButtons/index.d.ts.map +1 -0
  173. package/lib/components/forms/RadioButtons/index.js +2 -0
  174. package/lib/components/forms/RadioButtons/index.js.map +1 -0
  175. package/lib/components/forms/SemanticLink/SemanticLink.d.ts +12 -0
  176. package/lib/components/forms/SemanticLink/SemanticLink.d.ts.map +1 -0
  177. package/lib/components/forms/SemanticLink/SemanticLink.js +55 -0
  178. package/lib/components/forms/SemanticLink/SemanticLink.js.map +1 -0
  179. package/lib/components/forms/SemanticLink/index.d.ts +2 -0
  180. package/lib/components/forms/SemanticLink/index.d.ts.map +1 -0
  181. package/lib/components/forms/SemanticLink/index.js +2 -0
  182. package/lib/components/forms/SemanticLink/index.js.map +1 -0
  183. package/lib/components/forms/SemanticLink/utils.d.ts +14 -0
  184. package/lib/components/forms/SemanticLink/utils.d.ts.map +1 -0
  185. package/lib/components/forms/SemanticLink/utils.js +42 -0
  186. package/lib/components/forms/SemanticLink/utils.js.map +1 -0
  187. package/lib/components/forms/TextArea/TextArea.d.ts +3 -0
  188. package/lib/components/forms/TextArea/TextArea.d.ts.map +1 -0
  189. package/lib/components/forms/TextArea/TextArea.js +26 -0
  190. package/lib/components/forms/TextArea/TextArea.js.map +1 -0
  191. package/lib/components/forms/TextArea/index.d.ts +2 -0
  192. package/lib/components/forms/TextArea/index.d.ts.map +1 -0
  193. package/lib/components/forms/TextArea/index.js +2 -0
  194. package/lib/components/forms/TextArea/index.js.map +1 -0
  195. package/lib/components/forms/TextContent/TextContent.d.ts +3 -0
  196. package/lib/components/forms/TextContent/TextContent.d.ts.map +1 -0
  197. package/lib/components/forms/TextContent/TextContent.js +29 -0
  198. package/lib/components/forms/TextContent/TextContent.js.map +1 -0
  199. package/lib/components/forms/TextContent/index.d.ts +2 -0
  200. package/lib/components/forms/TextContent/index.d.ts.map +1 -0
  201. package/lib/components/forms/TextContent/index.js +2 -0
  202. package/lib/components/forms/TextContent/index.js.map +1 -0
  203. package/lib/components/forms/TextInput/TextInput.d.ts +3 -0
  204. package/lib/components/forms/TextInput/TextInput.d.ts.map +1 -0
  205. package/lib/components/forms/TextInput/TextInput.js +24 -0
  206. package/lib/components/forms/TextInput/TextInput.js.map +1 -0
  207. package/lib/components/forms/TextInput/index.d.ts +2 -0
  208. package/lib/components/forms/TextInput/index.d.ts.map +1 -0
  209. package/lib/components/forms/TextInput/index.js +2 -0
  210. package/lib/components/forms/TextInput/index.js.map +1 -0
  211. package/lib/components/forms/Time/Time.d.ts +3 -0
  212. package/lib/components/forms/Time/Time.d.ts.map +1 -0
  213. package/lib/components/forms/Time/Time.js +34 -0
  214. package/lib/components/forms/Time/Time.js.map +1 -0
  215. package/lib/components/forms/Time/index.d.ts +2 -0
  216. package/lib/components/forms/Time/index.d.ts.map +1 -0
  217. package/lib/components/forms/Time/index.js +2 -0
  218. package/lib/components/forms/Time/index.js.map +1 -0
  219. package/lib/components/forms/URL/URL.d.ts +3 -0
  220. package/lib/components/forms/URL/URL.d.ts.map +1 -0
  221. package/lib/components/forms/URL/URL.js +22 -0
  222. package/lib/components/forms/URL/URL.js.map +1 -0
  223. package/lib/components/forms/URL/index.d.ts +2 -0
  224. package/lib/components/forms/URL/index.d.ts.map +1 -0
  225. package/lib/components/forms/URL/index.js +2 -0
  226. package/lib/components/forms/URL/index.js.map +1 -0
  227. package/lib/components/forms/UserReference/UserReference.d.ts +43 -0
  228. package/lib/components/forms/UserReference/UserReference.d.ts.map +1 -0
  229. package/lib/components/forms/UserReference/UserReference.js +127 -0
  230. package/lib/components/forms/UserReference/UserReference.js.map +1 -0
  231. package/lib/components/forms/UserReference/UserReferenceUtils.d.ts +3 -0
  232. package/lib/components/forms/UserReference/UserReferenceUtils.d.ts.map +1 -0
  233. package/lib/components/forms/UserReference/UserReferenceUtils.js +14 -0
  234. package/lib/components/forms/UserReference/UserReferenceUtils.js.map +1 -0
  235. package/lib/components/forms/UserReference/index.d.ts +2 -0
  236. package/lib/components/forms/UserReference/index.d.ts.map +1 -0
  237. package/lib/components/forms/UserReference/index.js +2 -0
  238. package/lib/components/forms/UserReference/index.js.map +1 -0
  239. package/lib/components/helpers/auth.d.ts +16 -0
  240. package/lib/components/helpers/auth.d.ts.map +1 -0
  241. package/lib/components/helpers/auth.js +437 -0
  242. package/lib/components/helpers/auth.js.map +1 -0
  243. package/lib/components/helpers/authManager.d.ts +18 -0
  244. package/lib/components/helpers/authManager.d.ts.map +1 -0
  245. package/lib/components/helpers/authManager.js +588 -0
  246. package/lib/components/helpers/authManager.js.map +1 -0
  247. package/lib/components/helpers/config_access.d.ts +3 -0
  248. package/lib/components/helpers/config_access.d.ts.map +1 -0
  249. package/lib/components/helpers/config_access.js +268 -0
  250. package/lib/components/helpers/config_access.js.map +1 -0
  251. package/lib/components/helpers/data_page.d.ts +2 -0
  252. package/lib/components/helpers/data_page.d.ts.map +1 -0
  253. package/lib/components/helpers/data_page.js +23 -0
  254. package/lib/components/helpers/data_page.js.map +1 -0
  255. package/lib/components/helpers/event-utils.d.ts +3 -0
  256. package/lib/components/helpers/event-utils.d.ts.map +1 -0
  257. package/lib/components/helpers/event-utils.js +19 -0
  258. package/lib/components/helpers/event-utils.js.map +1 -0
  259. package/lib/components/helpers/field-group-utils.d.ts +3 -0
  260. package/lib/components/helpers/field-group-utils.d.ts.map +1 -0
  261. package/lib/components/helpers/field-group-utils.js +57 -0
  262. package/lib/components/helpers/field-group-utils.js.map +1 -0
  263. package/lib/components/helpers/formatters/Boolean.d.ts +5 -0
  264. package/lib/components/helpers/formatters/Boolean.d.ts.map +1 -0
  265. package/lib/components/helpers/formatters/Boolean.js +31 -0
  266. package/lib/components/helpers/formatters/Boolean.js.map +1 -0
  267. package/lib/components/helpers/formatters/Currency.d.ts +10 -0
  268. package/lib/components/helpers/formatters/Currency.d.ts.map +1 -0
  269. package/lib/components/helpers/formatters/Currency.js +62 -0
  270. package/lib/components/helpers/formatters/Currency.js.map +1 -0
  271. package/lib/components/helpers/formatters/CurrencyMap.d.ts +1401 -0
  272. package/lib/components/helpers/formatters/CurrencyMap.d.ts.map +1 -0
  273. package/lib/components/helpers/formatters/CurrencyMap.js +903 -0
  274. package/lib/components/helpers/formatters/CurrencyMap.js.map +1 -0
  275. package/lib/components/helpers/formatters/Date.d.ts +11 -0
  276. package/lib/components/helpers/formatters/Date.d.ts.map +1 -0
  277. package/lib/components/helpers/formatters/Date.js +69 -0
  278. package/lib/components/helpers/formatters/Date.js.map +1 -0
  279. package/lib/components/helpers/formatters/common.d.ts +3 -0
  280. package/lib/components/helpers/formatters/common.d.ts.map +1 -0
  281. package/lib/components/helpers/formatters/common.js +12 -0
  282. package/lib/components/helpers/formatters/common.js.map +1 -0
  283. package/lib/components/helpers/formatters/index.d.ts +19 -0
  284. package/lib/components/helpers/formatters/index.d.ts.map +1 -0
  285. package/lib/components/helpers/formatters/index.js +104 -0
  286. package/lib/components/helpers/formatters/index.js.map +1 -0
  287. package/lib/components/helpers/utils.d.ts +19 -0
  288. package/lib/components/helpers/utils.d.ts.map +1 -0
  289. package/lib/components/helpers/utils.js +310 -0
  290. package/lib/components/helpers/utils.js.map +1 -0
  291. package/lib/components/helpers/versionHelpers.d.ts +9 -0
  292. package/lib/components/helpers/versionHelpers.d.ts.map +1 -0
  293. package/lib/components/helpers/versionHelpers.js +13 -0
  294. package/lib/components/helpers/versionHelpers.js.map +1 -0
  295. package/lib/components/infra/ActionButtons/ActionButtons.d.ts +16 -0
  296. package/lib/components/infra/ActionButtons/ActionButtons.d.ts.map +1 -0
  297. package/lib/components/infra/ActionButtons/ActionButtons.js +42 -0
  298. package/lib/components/infra/ActionButtons/ActionButtons.js.map +1 -0
  299. package/lib/components/infra/ActionButtons/index.d.ts +2 -0
  300. package/lib/components/infra/ActionButtons/index.d.ts.map +1 -0
  301. package/lib/components/infra/ActionButtons/index.js +2 -0
  302. package/lib/components/infra/ActionButtons/index.js.map +1 -0
  303. package/lib/components/infra/Assignment/Assignment.d.ts +17 -0
  304. package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -0
  305. package/lib/components/infra/Assignment/Assignment.js +217 -0
  306. package/lib/components/infra/Assignment/Assignment.js.map +1 -0
  307. package/lib/components/infra/Assignment/index.d.ts +2 -0
  308. package/lib/components/infra/Assignment/index.d.ts.map +1 -0
  309. package/lib/components/infra/Assignment/index.js +2 -0
  310. package/lib/components/infra/Assignment/index.js.map +1 -0
  311. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts +17 -0
  312. package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts.map +1 -0
  313. package/lib/components/infra/AssignmentCard/AssignmentCard.js +35 -0
  314. package/lib/components/infra/AssignmentCard/AssignmentCard.js.map +1 -0
  315. package/lib/components/infra/AssignmentCard/index.d.ts +2 -0
  316. package/lib/components/infra/AssignmentCard/index.d.ts.map +1 -0
  317. package/lib/components/infra/AssignmentCard/index.js +2 -0
  318. package/lib/components/infra/AssignmentCard/index.js.map +1 -0
  319. package/lib/components/infra/Attachment/Attachment.css +18 -0
  320. package/lib/components/infra/Attachment/Attachment.d.ts +4 -0
  321. package/lib/components/infra/Attachment/Attachment.d.ts.map +1 -0
  322. package/lib/components/infra/Attachment/Attachment.js +334 -0
  323. package/lib/components/infra/Attachment/Attachment.js.map +1 -0
  324. package/lib/components/infra/Attachment/AttachmentUtils.d.ts +13 -0
  325. package/lib/components/infra/Attachment/AttachmentUtils.d.ts.map +1 -0
  326. package/lib/components/infra/Attachment/AttachmentUtils.js +72 -0
  327. package/lib/components/infra/Attachment/AttachmentUtils.js.map +1 -0
  328. package/lib/components/infra/Attachment/index.d.ts +2 -0
  329. package/lib/components/infra/Attachment/index.d.ts.map +1 -0
  330. package/lib/components/infra/Attachment/index.js +2 -0
  331. package/lib/components/infra/Attachment/index.js.map +1 -0
  332. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts +23 -0
  333. package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -0
  334. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +370 -0
  335. package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -0
  336. package/lib/components/infra/Containers/FlowContainer/helpers.d.ts +13 -0
  337. package/lib/components/infra/Containers/FlowContainer/helpers.d.ts.map +1 -0
  338. package/lib/components/infra/Containers/FlowContainer/helpers.js +117 -0
  339. package/lib/components/infra/Containers/FlowContainer/helpers.js.map +1 -0
  340. package/lib/components/infra/Containers/FlowContainer/index.d.ts +2 -0
  341. package/lib/components/infra/Containers/FlowContainer/index.d.ts.map +1 -0
  342. package/lib/components/infra/Containers/FlowContainer/index.js +2 -0
  343. package/lib/components/infra/Containers/FlowContainer/index.js.map +1 -0
  344. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +19 -0
  345. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -0
  346. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +248 -0
  347. package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -0
  348. package/lib/components/infra/Containers/ModalViewContainer/index.d.ts +2 -0
  349. package/lib/components/infra/Containers/ModalViewContainer/index.d.ts.map +1 -0
  350. package/lib/components/infra/Containers/ModalViewContainer/index.js +2 -0
  351. package/lib/components/infra/Containers/ModalViewContainer/index.js.map +1 -0
  352. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +25 -0
  353. package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -0
  354. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js +167 -0
  355. package/lib/components/infra/Containers/ViewContainer/ViewContainer.js.map +1 -0
  356. package/lib/components/infra/Containers/ViewContainer/index.d.ts +2 -0
  357. package/lib/components/infra/Containers/ViewContainer/index.d.ts.map +1 -0
  358. package/lib/components/infra/Containers/ViewContainer/index.js +2 -0
  359. package/lib/components/infra/Containers/ViewContainer/index.js.map +1 -0
  360. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts +23 -0
  361. package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts.map +1 -0
  362. package/lib/components/infra/DashboardFilter/DashboardFilter.js +110 -0
  363. package/lib/components/infra/DashboardFilter/DashboardFilter.js.map +1 -0
  364. package/lib/components/infra/DashboardFilter/filterUtils.d.ts +35 -0
  365. package/lib/components/infra/DashboardFilter/filterUtils.d.ts.map +1 -0
  366. package/lib/components/infra/DashboardFilter/filterUtils.js +134 -0
  367. package/lib/components/infra/DashboardFilter/filterUtils.js.map +1 -0
  368. package/lib/components/infra/DashboardFilter/index.d.ts +2 -0
  369. package/lib/components/infra/DashboardFilter/index.d.ts.map +1 -0
  370. package/lib/components/infra/DashboardFilter/index.js +2 -0
  371. package/lib/components/infra/DashboardFilter/index.js.map +1 -0
  372. package/lib/components/infra/DeferLoad/DeferLoad.d.ts +15 -0
  373. package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -0
  374. package/lib/components/infra/DeferLoad/DeferLoad.js +139 -0
  375. package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -0
  376. package/lib/components/infra/DeferLoad/index.d.ts +2 -0
  377. package/lib/components/infra/DeferLoad/index.d.ts.map +1 -0
  378. package/lib/components/infra/DeferLoad/index.js +2 -0
  379. package/lib/components/infra/DeferLoad/index.js.map +1 -0
  380. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts +15 -0
  381. package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts.map +1 -0
  382. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js +86 -0
  383. package/lib/components/infra/ErrorBoundary/ErrorBoundary.js.map +1 -0
  384. package/lib/components/infra/ErrorBoundary/index.d.ts +2 -0
  385. package/lib/components/infra/ErrorBoundary/index.d.ts.map +1 -0
  386. package/lib/components/infra/ErrorBoundary/index.js +2 -0
  387. package/lib/components/infra/ErrorBoundary/index.js.map +1 -0
  388. package/lib/components/infra/MultiStep/MultiStep.css +261 -0
  389. package/lib/components/infra/MultiStep/MultiStep.d.ts +21 -0
  390. package/lib/components/infra/MultiStep/MultiStep.d.ts.map +1 -0
  391. package/lib/components/infra/MultiStep/MultiStep.js +130 -0
  392. package/lib/components/infra/MultiStep/MultiStep.js.map +1 -0
  393. package/lib/components/infra/MultiStep/index.d.ts +2 -0
  394. package/lib/components/infra/MultiStep/index.d.ts.map +1 -0
  395. package/lib/components/infra/MultiStep/index.js +2 -0
  396. package/lib/components/infra/MultiStep/index.js.map +1 -0
  397. package/lib/components/infra/NavBar/NavBar.css +170 -0
  398. package/lib/components/infra/NavBar/NavBar.d.ts +20 -0
  399. package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -0
  400. package/lib/components/infra/NavBar/NavBar.js +266 -0
  401. package/lib/components/infra/NavBar/NavBar.js.map +1 -0
  402. package/lib/components/infra/NavBar/index.d.ts +2 -0
  403. package/lib/components/infra/NavBar/index.d.ts.map +1 -0
  404. package/lib/components/infra/NavBar/index.js +2 -0
  405. package/lib/components/infra/NavBar/index.js.map +1 -0
  406. package/lib/components/infra/Reference/Reference.d.ts +20 -0
  407. package/lib/components/infra/Reference/Reference.d.ts.map +1 -0
  408. package/lib/components/infra/Reference/Reference.js +48 -0
  409. package/lib/components/infra/Reference/Reference.js.map +1 -0
  410. package/lib/components/infra/Reference/index.d.ts +2 -0
  411. package/lib/components/infra/Reference/index.d.ts.map +1 -0
  412. package/lib/components/infra/Reference/index.js +2 -0
  413. package/lib/components/infra/Reference/index.js.map +1 -0
  414. package/lib/components/infra/Region/Region.d.ts +10 -0
  415. package/lib/components/infra/Region/Region.d.ts.map +1 -0
  416. package/lib/components/infra/Region/Region.js +11 -0
  417. package/lib/components/infra/Region/Region.js.map +1 -0
  418. package/lib/components/infra/Region/index.d.ts +2 -0
  419. package/lib/components/infra/Region/index.d.ts.map +1 -0
  420. package/lib/components/infra/Region/index.js +2 -0
  421. package/lib/components/infra/Region/index.js.map +1 -0
  422. package/lib/components/infra/RootContainer/RootContainer.d.ts +22 -0
  423. package/lib/components/infra/RootContainer/RootContainer.d.ts.map +1 -0
  424. package/lib/components/infra/RootContainer/RootContainer.js +258 -0
  425. package/lib/components/infra/RootContainer/RootContainer.js.map +1 -0
  426. package/lib/components/infra/RootContainer/index.d.ts +2 -0
  427. package/lib/components/infra/RootContainer/index.d.ts.map +1 -0
  428. package/lib/components/infra/RootContainer/index.js +2 -0
  429. package/lib/components/infra/RootContainer/index.js.map +1 -0
  430. package/lib/components/infra/Stages/Stages.d.ts +11 -0
  431. package/lib/components/infra/Stages/Stages.d.ts.map +1 -0
  432. package/lib/components/infra/Stages/Stages.js +94 -0
  433. package/lib/components/infra/Stages/Stages.js.map +1 -0
  434. package/lib/components/infra/Stages/index.d.ts +2 -0
  435. package/lib/components/infra/Stages/index.d.ts.map +1 -0
  436. package/lib/components/infra/Stages/index.js +2 -0
  437. package/lib/components/infra/Stages/index.js.map +1 -0
  438. package/lib/components/infra/ToDo/ToDo.css +87 -0
  439. package/lib/components/infra/ToDo/ToDo.d.ts +29 -0
  440. package/lib/components/infra/ToDo/ToDo.d.ts.map +1 -0
  441. package/lib/components/infra/ToDo/ToDo.js +226 -0
  442. package/lib/components/infra/ToDo/ToDo.js.map +1 -0
  443. package/lib/components/infra/ToDo/index.d.ts +2 -0
  444. package/lib/components/infra/ToDo/index.d.ts.map +1 -0
  445. package/lib/components/infra/ToDo/index.js +2 -0
  446. package/lib/components/infra/ToDo/index.js.map +1 -0
  447. package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.d.ts +3 -0
  448. package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.d.ts.map +1 -0
  449. package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.js +23 -0
  450. package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.js.map +1 -0
  451. package/lib/components/infra/VerticalTabs/VerticalTabs.d.ts +13 -0
  452. package/lib/components/infra/VerticalTabs/VerticalTabs.d.ts.map +1 -0
  453. package/lib/components/infra/VerticalTabs/VerticalTabs.js +50 -0
  454. package/lib/components/infra/VerticalTabs/VerticalTabs.js.map +1 -0
  455. package/lib/components/infra/VerticalTabs/index.d.ts +2 -0
  456. package/lib/components/infra/VerticalTabs/index.d.ts.map +1 -0
  457. package/lib/components/infra/VerticalTabs/index.js +2 -0
  458. package/lib/components/infra/VerticalTabs/index.js.map +1 -0
  459. package/lib/components/infra/View/View.css +8 -0
  460. package/lib/components/infra/View/View.d.ts +23 -0
  461. package/lib/components/infra/View/View.d.ts.map +1 -0
  462. package/lib/components/infra/View/View.js +136 -0
  463. package/lib/components/infra/View/View.js.map +1 -0
  464. package/lib/components/infra/View/index.d.ts +2 -0
  465. package/lib/components/infra/View/index.d.ts.map +1 -0
  466. package/lib/components/infra/View/index.js +2 -0
  467. package/lib/components/infra/View/index.js.map +1 -0
  468. package/lib/components/templates/AppShell/AppShell.css +40 -0
  469. package/lib/components/templates/AppShell/AppShell.d.ts +24 -0
  470. package/lib/components/templates/AppShell/AppShell.d.ts.map +1 -0
  471. package/lib/components/templates/AppShell/AppShell.js +390 -0
  472. package/lib/components/templates/AppShell/AppShell.js.map +1 -0
  473. package/lib/components/templates/AppShell/index.d.ts +2 -0
  474. package/lib/components/templates/AppShell/index.d.ts.map +1 -0
  475. package/lib/components/templates/AppShell/index.js +2 -0
  476. package/lib/components/templates/AppShell/index.js.map +1 -0
  477. package/lib/components/templates/CaseSummary/CaseSummary.d.ts +10 -0
  478. package/lib/components/templates/CaseSummary/CaseSummary.d.ts.map +1 -0
  479. package/lib/components/templates/CaseSummary/CaseSummary.js +40 -0
  480. package/lib/components/templates/CaseSummary/CaseSummary.js.map +1 -0
  481. package/lib/components/templates/CaseSummary/index.d.ts +2 -0
  482. package/lib/components/templates/CaseSummary/index.d.ts.map +1 -0
  483. package/lib/components/templates/CaseSummary/index.js +2 -0
  484. package/lib/components/templates/CaseSummary/index.js.map +1 -0
  485. package/lib/components/templates/CaseView/CaseView.d.ts +25 -0
  486. package/lib/components/templates/CaseView/CaseView.d.ts.map +1 -0
  487. package/lib/components/templates/CaseView/CaseView.js +180 -0
  488. package/lib/components/templates/CaseView/CaseView.js.map +1 -0
  489. package/lib/components/templates/CaseView/CaseViewActionsMenu.d.ts +16 -0
  490. package/lib/components/templates/CaseView/CaseViewActionsMenu.d.ts.map +1 -0
  491. package/lib/components/templates/CaseView/CaseViewActionsMenu.js +43 -0
  492. package/lib/components/templates/CaseView/CaseViewActionsMenu.js.map +1 -0
  493. package/lib/components/templates/CaseView/index.d.ts +2 -0
  494. package/lib/components/templates/CaseView/index.d.ts.map +1 -0
  495. package/lib/components/templates/CaseView/index.js +2 -0
  496. package/lib/components/templates/CaseView/index.js.map +1 -0
  497. package/lib/components/templates/DataReference/DataReference.d.ts +32 -0
  498. package/lib/components/templates/DataReference/DataReference.d.ts.map +1 -0
  499. package/lib/components/templates/DataReference/DataReference.js +221 -0
  500. package/lib/components/templates/DataReference/DataReference.js.map +1 -0
  501. package/lib/components/templates/DataReference/index.d.ts +2 -0
  502. package/lib/components/templates/DataReference/index.d.ts.map +1 -0
  503. package/lib/components/templates/DataReference/index.js +2 -0
  504. package/lib/components/templates/DataReference/index.js.map +1 -0
  505. package/lib/components/templates/DefaultForm/DefaultForm.css +25 -0
  506. package/lib/components/templates/DefaultForm/DefaultForm.d.ts +14 -0
  507. package/lib/components/templates/DefaultForm/DefaultForm.d.ts.map +1 -0
  508. package/lib/components/templates/DefaultForm/DefaultForm.js +39 -0
  509. package/lib/components/templates/DefaultForm/DefaultForm.js.map +1 -0
  510. package/lib/components/templates/DefaultForm/index.d.ts +2 -0
  511. package/lib/components/templates/DefaultForm/index.d.ts.map +1 -0
  512. package/lib/components/templates/DefaultForm/index.js +2 -0
  513. package/lib/components/templates/DefaultForm/index.js.map +1 -0
  514. package/lib/components/templates/Details/Details/Details.d.ts +8 -0
  515. package/lib/components/templates/Details/Details/Details.d.ts.map +1 -0
  516. package/lib/components/templates/Details/Details/Details.js +24 -0
  517. package/lib/components/templates/Details/Details/Details.js.map +1 -0
  518. package/lib/components/templates/Details/Details/index.d.ts +2 -0
  519. package/lib/components/templates/Details/Details/index.d.ts.map +1 -0
  520. package/lib/components/templates/Details/Details/index.js +2 -0
  521. package/lib/components/templates/Details/Details/index.js.map +1 -0
  522. package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.d.ts +18 -0
  523. package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -0
  524. package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.js +45 -0
  525. package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.js.map +1 -0
  526. package/lib/components/templates/Details/DetailsSubTabs/index.d.ts +2 -0
  527. package/lib/components/templates/Details/DetailsSubTabs/index.d.ts.map +1 -0
  528. package/lib/components/templates/Details/DetailsSubTabs/index.js +2 -0
  529. package/lib/components/templates/Details/DetailsSubTabs/index.js.map +1 -0
  530. package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +7 -0
  531. package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -0
  532. package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.js +32 -0
  533. package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -0
  534. package/lib/components/templates/Details/DetailsThreeColumn/index.d.ts +2 -0
  535. package/lib/components/templates/Details/DetailsThreeColumn/index.d.ts.map +1 -0
  536. package/lib/components/templates/Details/DetailsThreeColumn/index.js +2 -0
  537. package/lib/components/templates/Details/DetailsThreeColumn/index.js.map +1 -0
  538. package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +7 -0
  539. package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -0
  540. package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.js +30 -0
  541. package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -0
  542. package/lib/components/templates/Details/DetailsTwoColumn/index.d.ts +2 -0
  543. package/lib/components/templates/Details/DetailsTwoColumn/index.d.ts.map +1 -0
  544. package/lib/components/templates/Details/DetailsTwoColumn/index.js +2 -0
  545. package/lib/components/templates/Details/DetailsTwoColumn/index.js.map +1 -0
  546. package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.d.ts +22 -0
  547. package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -0
  548. package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.js +70 -0
  549. package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -0
  550. package/lib/components/templates/FieldGroupTemplate/index.d.ts +2 -0
  551. package/lib/components/templates/FieldGroupTemplate/index.d.ts.map +1 -0
  552. package/lib/components/templates/FieldGroupTemplate/index.js +2 -0
  553. package/lib/components/templates/FieldGroupTemplate/index.js.map +1 -0
  554. package/lib/components/templates/InlineDashboard/InlineDashboard.d.ts +10 -0
  555. package/lib/components/templates/InlineDashboard/InlineDashboard.d.ts.map +1 -0
  556. package/lib/components/templates/InlineDashboard/InlineDashboard.js +48 -0
  557. package/lib/components/templates/InlineDashboard/InlineDashboard.js.map +1 -0
  558. package/lib/components/templates/InlineDashboard/index.d.ts +2 -0
  559. package/lib/components/templates/InlineDashboard/index.d.ts.map +1 -0
  560. package/lib/components/templates/InlineDashboard/index.js +2 -0
  561. package/lib/components/templates/InlineDashboard/index.js.map +1 -0
  562. package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.d.ts +18 -0
  563. package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -0
  564. package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.js +34 -0
  565. package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.js.map +1 -0
  566. package/lib/components/templates/InlineDashboardPage/index.d.ts +2 -0
  567. package/lib/components/templates/InlineDashboardPage/index.d.ts.map +1 -0
  568. package/lib/components/templates/InlineDashboardPage/index.js +2 -0
  569. package/lib/components/templates/InlineDashboardPage/index.js.map +1 -0
  570. package/lib/components/templates/ListPage/ListPage.d.ts +16 -0
  571. package/lib/components/templates/ListPage/ListPage.d.ts.map +1 -0
  572. package/lib/components/templates/ListPage/ListPage.js +14 -0
  573. package/lib/components/templates/ListPage/ListPage.js.map +1 -0
  574. package/lib/components/templates/ListPage/index.d.ts +2 -0
  575. package/lib/components/templates/ListPage/index.d.ts.map +1 -0
  576. package/lib/components/templates/ListPage/index.js +2 -0
  577. package/lib/components/templates/ListPage/index.js.map +1 -0
  578. package/lib/components/templates/ListView/ListView.css +10 -0
  579. package/lib/components/templates/ListView/ListView.d.ts +12 -0
  580. package/lib/components/templates/ListView/ListView.d.ts.map +1 -0
  581. package/lib/components/templates/ListView/ListView.js +842 -0
  582. package/lib/components/templates/ListView/ListView.js.map +1 -0
  583. package/lib/components/templates/ListView/index.d.ts +2 -0
  584. package/lib/components/templates/ListView/index.d.ts.map +1 -0
  585. package/lib/components/templates/ListView/index.js +2 -0
  586. package/lib/components/templates/ListView/index.js.map +1 -0
  587. package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +17 -0
  588. package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -0
  589. package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.js +34 -0
  590. package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -0
  591. package/lib/components/templates/MultiReferenceReadOnly/index.d.ts +2 -0
  592. package/lib/components/templates/MultiReferenceReadOnly/index.d.ts.map +1 -0
  593. package/lib/components/templates/MultiReferenceReadOnly/index.js +2 -0
  594. package/lib/components/templates/MultiReferenceReadOnly/index.js.map +1 -0
  595. package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.css +21 -0
  596. package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.d.ts +4 -0
  597. package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -0
  598. package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.js +16 -0
  599. package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.js.map +1 -0
  600. package/lib/components/templates/NarrowWide/NarrowWide/index.d.ts +2 -0
  601. package/lib/components/templates/NarrowWide/NarrowWide/index.d.ts.map +1 -0
  602. package/lib/components/templates/NarrowWide/NarrowWide/index.js +2 -0
  603. package/lib/components/templates/NarrowWide/NarrowWide/index.js.map +1 -0
  604. package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +7 -0
  605. package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -0
  606. package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +35 -0
  607. package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -0
  608. package/lib/components/templates/NarrowWide/NarrowWideDetails/index.d.ts +2 -0
  609. package/lib/components/templates/NarrowWide/NarrowWideDetails/index.d.ts.map +1 -0
  610. package/lib/components/templates/NarrowWide/NarrowWideDetails/index.js +2 -0
  611. package/lib/components/templates/NarrowWide/NarrowWideDetails/index.js.map +1 -0
  612. package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.css +21 -0
  613. package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +4 -0
  614. package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -0
  615. package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.js +10 -0
  616. package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +1 -0
  617. package/lib/components/templates/NarrowWide/NarrowWideForm/index.d.ts +2 -0
  618. package/lib/components/templates/NarrowWide/NarrowWideForm/index.d.ts.map +1 -0
  619. package/lib/components/templates/NarrowWide/NarrowWideForm/index.js +2 -0
  620. package/lib/components/templates/NarrowWide/NarrowWideForm/index.js.map +1 -0
  621. package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +17 -0
  622. package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -0
  623. package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.js +25 -0
  624. package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -0
  625. package/lib/components/templates/NarrowWide/NarrowWidePage/index.d.ts +2 -0
  626. package/lib/components/templates/NarrowWide/NarrowWidePage/index.d.ts.map +1 -0
  627. package/lib/components/templates/NarrowWide/NarrowWidePage/index.js +2 -0
  628. package/lib/components/templates/NarrowWide/NarrowWidePage/index.js.map +1 -0
  629. package/lib/components/templates/OneColumn/OneColumn/OneColumn.d.ts +10 -0
  630. package/lib/components/templates/OneColumn/OneColumn/OneColumn.d.ts.map +1 -0
  631. package/lib/components/templates/OneColumn/OneColumn/OneColumn.js +22 -0
  632. package/lib/components/templates/OneColumn/OneColumn/OneColumn.js.map +1 -0
  633. package/lib/components/templates/OneColumn/OneColumn/index.d.ts +2 -0
  634. package/lib/components/templates/OneColumn/OneColumn/index.d.ts.map +1 -0
  635. package/lib/components/templates/OneColumn/OneColumn/index.js +2 -0
  636. package/lib/components/templates/OneColumn/OneColumn/index.js.map +1 -0
  637. package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.d.ts +11 -0
  638. package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -0
  639. package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.js +15 -0
  640. package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -0
  641. package/lib/components/templates/OneColumn/OneColumnPage/index.d.ts +2 -0
  642. package/lib/components/templates/OneColumn/OneColumnPage/index.d.ts.map +1 -0
  643. package/lib/components/templates/OneColumn/OneColumnPage/index.js +2 -0
  644. package/lib/components/templates/OneColumn/OneColumnPage/index.js.map +1 -0
  645. package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.d.ts +10 -0
  646. package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -0
  647. package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.js +11 -0
  648. package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.js.map +1 -0
  649. package/lib/components/templates/OneColumn/OneColumnTab/index.d.ts +2 -0
  650. package/lib/components/templates/OneColumn/OneColumnTab/index.d.ts.map +1 -0
  651. package/lib/components/templates/OneColumn/OneColumnTab/index.js +2 -0
  652. package/lib/components/templates/OneColumn/OneColumnTab/index.js.map +1 -0
  653. package/lib/components/templates/PromotedFilters/PromotedFilters.css +7 -0
  654. package/lib/components/templates/PromotedFilters/PromotedFilters.d.ts +17 -0
  655. package/lib/components/templates/PromotedFilters/PromotedFilters.d.ts.map +1 -0
  656. package/lib/components/templates/PromotedFilters/PromotedFilters.js +130 -0
  657. package/lib/components/templates/PromotedFilters/PromotedFilters.js.map +1 -0
  658. package/lib/components/templates/PromotedFilters/index.d.ts +2 -0
  659. package/lib/components/templates/PromotedFilters/index.d.ts.map +1 -0
  660. package/lib/components/templates/PromotedFilters/index.js +2 -0
  661. package/lib/components/templates/PromotedFilters/index.js.map +1 -0
  662. package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.d.ts +3 -0
  663. package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -0
  664. package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.js +26 -0
  665. package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.js.map +1 -0
  666. package/lib/components/templates/SimpleTable/SimpleTable/index.d.ts +2 -0
  667. package/lib/components/templates/SimpleTable/SimpleTable/index.d.ts.map +1 -0
  668. package/lib/components/templates/SimpleTable/SimpleTable/index.js +2 -0
  669. package/lib/components/templates/SimpleTable/SimpleTable/index.js.map +1 -0
  670. package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +3 -0
  671. package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -0
  672. package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.js +505 -0
  673. package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -0
  674. package/lib/components/templates/SimpleTable/SimpleTableManual/index.d.ts +2 -0
  675. package/lib/components/templates/SimpleTable/SimpleTableManual/index.d.ts.map +1 -0
  676. package/lib/components/templates/SimpleTable/SimpleTableManual/index.js +2 -0
  677. package/lib/components/templates/SimpleTable/SimpleTableManual/index.js.map +1 -0
  678. package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +35 -0
  679. package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -0
  680. package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.js +105 -0
  681. package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +1 -0
  682. package/lib/components/templates/SimpleTable/SimpleTableSelect/index.d.ts +2 -0
  683. package/lib/components/templates/SimpleTable/SimpleTableSelect/index.d.ts.map +1 -0
  684. package/lib/components/templates/SimpleTable/SimpleTableSelect/index.js +2 -0
  685. package/lib/components/templates/SimpleTable/SimpleTableSelect/index.js.map +1 -0
  686. package/lib/components/templates/SimpleTable/helpers.d.ts +79 -0
  687. package/lib/components/templates/SimpleTable/helpers.d.ts.map +1 -0
  688. package/lib/components/templates/SimpleTable/helpers.js +306 -0
  689. package/lib/components/templates/SimpleTable/helpers.js.map +1 -0
  690. package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +28 -0
  691. package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -0
  692. package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.js +51 -0
  693. package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -0
  694. package/lib/components/templates/SingleReferenceReadOnly/index.d.ts +2 -0
  695. package/lib/components/templates/SingleReferenceReadOnly/index.d.ts.map +1 -0
  696. package/lib/components/templates/SingleReferenceReadOnly/index.js +2 -0
  697. package/lib/components/templates/SingleReferenceReadOnly/index.js.map +1 -0
  698. package/lib/components/templates/SubTabs/SubTabs.d.ts +13 -0
  699. package/lib/components/templates/SubTabs/SubTabs.d.ts.map +1 -0
  700. package/lib/components/templates/SubTabs/SubTabs.js +33 -0
  701. package/lib/components/templates/SubTabs/SubTabs.js.map +1 -0
  702. package/lib/components/templates/SubTabs/index.d.ts +2 -0
  703. package/lib/components/templates/SubTabs/index.d.ts.map +1 -0
  704. package/lib/components/templates/SubTabs/index.js +2 -0
  705. package/lib/components/templates/SubTabs/index.js.map +1 -0
  706. package/lib/components/templates/SubTabs/tabUtils.d.ts +5 -0
  707. package/lib/components/templates/SubTabs/tabUtils.d.ts.map +1 -0
  708. package/lib/components/templates/SubTabs/tabUtils.js +62 -0
  709. package/lib/components/templates/SubTabs/tabUtils.js.map +1 -0
  710. package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.css +13 -0
  711. package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.d.ts +14 -0
  712. package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -0
  713. package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.js +43 -0
  714. package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.js.map +1 -0
  715. package/lib/components/templates/TwoColumn/TwoColumn/index.d.ts +2 -0
  716. package/lib/components/templates/TwoColumn/TwoColumn/index.d.ts.map +1 -0
  717. package/lib/components/templates/TwoColumn/TwoColumn/index.js +2 -0
  718. package/lib/components/templates/TwoColumn/TwoColumn/index.js.map +1 -0
  719. package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +11 -0
  720. package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -0
  721. package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.js +16 -0
  722. package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -0
  723. package/lib/components/templates/TwoColumn/TwoColumnPage/index.d.ts +2 -0
  724. package/lib/components/templates/TwoColumn/TwoColumnPage/index.d.ts.map +1 -0
  725. package/lib/components/templates/TwoColumn/TwoColumnPage/index.js +2 -0
  726. package/lib/components/templates/TwoColumn/TwoColumnPage/index.js.map +1 -0
  727. package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.css +12 -0
  728. package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +14 -0
  729. package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -0
  730. package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.js +40 -0
  731. package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +1 -0
  732. package/lib/components/templates/TwoColumn/TwoColumnTab/index.d.ts +2 -0
  733. package/lib/components/templates/TwoColumn/TwoColumnTab/index.d.ts.map +1 -0
  734. package/lib/components/templates/TwoColumn/TwoColumnTab/index.js +2 -0
  735. package/lib/components/templates/TwoColumn/TwoColumnTab/index.js.map +1 -0
  736. package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.css +21 -0
  737. package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.d.ts +4 -0
  738. package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -0
  739. package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.js +16 -0
  740. package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.js.map +1 -0
  741. package/lib/components/templates/WideNarrow/WideNarrow/index.d.ts +2 -0
  742. package/lib/components/templates/WideNarrow/WideNarrow/index.d.ts.map +1 -0
  743. package/lib/components/templates/WideNarrow/WideNarrow/index.js +2 -0
  744. package/lib/components/templates/WideNarrow/WideNarrow/index.js.map +1 -0
  745. package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +7 -0
  746. package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -0
  747. package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +35 -0
  748. package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -0
  749. package/lib/components/templates/WideNarrow/WideNarrowDetails/index.d.ts +2 -0
  750. package/lib/components/templates/WideNarrow/WideNarrowDetails/index.d.ts.map +1 -0
  751. package/lib/components/templates/WideNarrow/WideNarrowDetails/index.js +2 -0
  752. package/lib/components/templates/WideNarrow/WideNarrowDetails/index.js.map +1 -0
  753. package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.css +21 -0
  754. package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +4 -0
  755. package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -0
  756. package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.js +10 -0
  757. package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +1 -0
  758. package/lib/components/templates/WideNarrow/WideNarrowForm/index.d.ts +2 -0
  759. package/lib/components/templates/WideNarrow/WideNarrowForm/index.d.ts.map +1 -0
  760. package/lib/components/templates/WideNarrow/WideNarrowForm/index.js +2 -0
  761. package/lib/components/templates/WideNarrow/WideNarrowForm/index.js.map +1 -0
  762. package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +17 -0
  763. package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -0
  764. package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.js +25 -0
  765. package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -0
  766. package/lib/components/templates/WideNarrow/WideNarrowPage/index.d.ts +2 -0
  767. package/lib/components/templates/WideNarrow/WideNarrowPage/index.d.ts.map +1 -0
  768. package/lib/components/templates/WideNarrow/WideNarrowPage/index.js +2 -0
  769. package/lib/components/templates/WideNarrow/WideNarrowPage/index.js.map +1 -0
  770. package/lib/components/templates/utils.d.ts +3 -0
  771. package/lib/components/templates/utils.d.ts.map +1 -0
  772. package/lib/components/templates/utils.js +22 -0
  773. package/lib/components/templates/utils.js.map +1 -0
  774. package/lib/components/widgets/AppAnnouncement/AppAnnouncement.d.ts +19 -0
  775. package/lib/components/widgets/AppAnnouncement/AppAnnouncement.d.ts.map +1 -0
  776. package/lib/components/widgets/AppAnnouncement/AppAnnouncement.js +53 -0
  777. package/lib/components/widgets/AppAnnouncement/AppAnnouncement.js.map +1 -0
  778. package/lib/components/widgets/AppAnnouncement/index.d.ts +2 -0
  779. package/lib/components/widgets/AppAnnouncement/index.d.ts.map +1 -0
  780. package/lib/components/widgets/AppAnnouncement/index.js +2 -0
  781. package/lib/components/widgets/AppAnnouncement/index.js.map +1 -0
  782. package/lib/components/widgets/CaseHistory/CaseHistory.d.ts +10 -0
  783. package/lib/components/widgets/CaseHistory/CaseHistory.d.ts.map +1 -0
  784. package/lib/components/widgets/CaseHistory/CaseHistory.js +118 -0
  785. package/lib/components/widgets/CaseHistory/CaseHistory.js.map +1 -0
  786. package/lib/components/widgets/CaseHistory/index.d.ts +2 -0
  787. package/lib/components/widgets/CaseHistory/index.d.ts.map +1 -0
  788. package/lib/components/widgets/CaseHistory/index.js +2 -0
  789. package/lib/components/widgets/CaseHistory/index.js.map +1 -0
  790. package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.css +27 -0
  791. package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.d.ts +4 -0
  792. package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.d.ts.map +1 -0
  793. package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.js +9 -0
  794. package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.js.map +1 -0
  795. package/lib/components/widgets/FileUtility/FileUtility.css +117 -0
  796. package/lib/components/widgets/FileUtility/FileUtility.d.ts +4 -0
  797. package/lib/components/widgets/FileUtility/FileUtility.d.ts.map +1 -0
  798. package/lib/components/widgets/FileUtility/FileUtility.js +456 -0
  799. package/lib/components/widgets/FileUtility/FileUtility.js.map +1 -0
  800. package/lib/components/widgets/FileUtility/index.d.ts +1 -0
  801. package/lib/components/widgets/FileUtility/index.d.ts.map +1 -0
  802. package/lib/components/widgets/FileUtility/index.js +2 -0
  803. package/lib/components/widgets/FileUtility/index.js.map +1 -0
  804. package/lib/components/widgets/Followers/Followers.d.ts +8 -0
  805. package/lib/components/widgets/Followers/Followers.d.ts.map +1 -0
  806. package/lib/components/widgets/Followers/Followers.js +40 -0
  807. package/lib/components/widgets/Followers/Followers.js.map +1 -0
  808. package/lib/components/widgets/Followers/index.d.ts +2 -0
  809. package/lib/components/widgets/Followers/index.d.ts.map +1 -0
  810. package/lib/components/widgets/Followers/index.js +2 -0
  811. package/lib/components/widgets/Followers/index.js.map +1 -0
  812. package/lib/components/widgets/SummaryItem/SummaryItem.css +78 -0
  813. package/lib/components/widgets/SummaryItem/SummaryItem.d.ts +4 -0
  814. package/lib/components/widgets/SummaryItem/SummaryItem.d.ts.map +1 -0
  815. package/lib/components/widgets/SummaryItem/SummaryItem.js +46 -0
  816. package/lib/components/widgets/SummaryItem/SummaryItem.js.map +1 -0
  817. package/lib/components/widgets/SummaryItem/index.d.ts +2 -0
  818. package/lib/components/widgets/SummaryItem/index.d.ts.map +1 -0
  819. package/lib/components/widgets/SummaryItem/index.js +2 -0
  820. package/lib/components/widgets/SummaryItem/index.js.map +1 -0
  821. package/lib/components/widgets/SummaryList/SummaryList.d.ts +3 -0
  822. package/lib/components/widgets/SummaryList/SummaryList.d.ts.map +1 -0
  823. package/lib/components/widgets/SummaryList/SummaryList.js +6 -0
  824. package/lib/components/widgets/SummaryList/SummaryList.js.map +1 -0
  825. package/lib/components/widgets/SummaryList/index.d.ts +2 -0
  826. package/lib/components/widgets/SummaryList/index.d.ts.map +1 -0
  827. package/lib/components/widgets/SummaryList/index.js +2 -0
  828. package/lib/components/widgets/SummaryList/index.js.map +1 -0
  829. package/lib/components_map.d.ts +4 -0
  830. package/lib/components_map.d.ts.map +1 -0
  831. package/lib/components_map.js +820 -0
  832. package/lib/components_map.js.map +1 -0
  833. package/lib/index.d.ts +1 -0
  834. package/lib/index.d.ts.map +1 -0
  835. package/lib/index.js +3 -0
  836. package/lib/index.js.map +1 -0
  837. package/lib/sdk-pega-component-map.d.ts +156 -0
  838. package/lib/sdk-pega-component-map.d.ts.map +1 -0
  839. package/lib/sdk-pega-component-map.js +167 -0
  840. package/lib/sdk-pega-component-map.js.map +1 -0
  841. package/package.json +14 -0
@@ -0,0 +1,51 @@
1
+ import PropTypes from "prop-types";
2
+ export default function SingleReferenceReadOnly(props) {
3
+ const { getPConnect, displayAs, ruleClass, label, type, displayMode, referenceType, hideLabel, dataRelationshipContext, config } = props;
4
+ const editableComponents = ["AutoComplete", "SimpleTableSelect", "Dropdown"];
5
+ if (editableComponents.includes(type)) {
6
+ config.caseClass = ruleClass;
7
+ config.text = config.primaryField;
8
+ config.caseID = config.value;
9
+ config.contextPage = `@P .${dataRelationshipContext}`;
10
+ config.resourceParams = {
11
+ "workID": displayAs === "table" ? config.selectionKey : config.value
12
+ };
13
+ config.resourcePayload = {
14
+ "caseClassName": ruleClass
15
+ };
16
+ }
17
+ return getPConnect().createComponent({
18
+ type: 'SemanticLink',
19
+ config: {
20
+ ...config,
21
+ label,
22
+ displayMode,
23
+ referenceType,
24
+ hideLabel,
25
+ dataRelationshipContext
26
+ }
27
+ });
28
+ }
29
+ SingleReferenceReadOnly.defaultProps = {
30
+ displayAs: "",
31
+ ruleClass: "",
32
+ label: "",
33
+ displayMode: "",
34
+ type: "",
35
+ referenceType: "",
36
+ hideLabel: false,
37
+ dataRelationshipContext: null
38
+ };
39
+ SingleReferenceReadOnly.propTypes = {
40
+ config: PropTypes.object,
41
+ getPConnect: PropTypes.func.isRequired,
42
+ displayAs: PropTypes.string,
43
+ ruleClass: PropTypes.string,
44
+ label: PropTypes.string,
45
+ displayMode: PropTypes.string,
46
+ type: PropTypes.string,
47
+ referenceType: PropTypes.string,
48
+ hideLabel: PropTypes.bool,
49
+ dataRelationshipContext: PropTypes.string
50
+ };
51
+ //# sourceMappingURL=SingleReferenceReadOnly.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SingleReferenceReadOnly.js","sourceRoot":"","sources":["../../../../src/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,KAAK;IACnD,MAAM,EACJ,WAAW,EACX,SAAS,EACT,SAAS,EACT,KAAK,EACL,IAAI,EACJ,WAAW,EACX,aAAa,EACb,SAAS,EACT,uBAAuB,EACvB,MAAM,EACP,GAAG,KAAK,CAAC;IACV,MAAM,kBAAkB,GAAG,CAAC,cAAc,EAAE,mBAAmB,EAAE,UAAU,CAAC,CAAC;IAE7E,IAAI,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;QACrC,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;QAC7B,MAAM,CAAC,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC;QAClC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC;QAC7B,MAAM,CAAC,WAAW,GAAG,OAAO,uBAAuB,EAAE,CAAC;QACtD,MAAM,CAAC,cAAc,GAAG;YACtB,QAAQ,EAAE,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK;SACrE,CAAC;QACF,MAAM,CAAC,eAAe,GAAG;YACvB,eAAe,EAAE,SAAS;SAC3B,CAAC;KACH;IAED,OAAO,WAAW,EAAE,CAAC,eAAe,CAAC;QACnC,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE;YACN,GAAG,MAAM;YACT,KAAK;YACL,WAAW;YACX,aAAa;YACb,SAAS;YACT,uBAAuB;SACxB;KACF,CAAC,CAAC;AACL,CAAC;AAED,uBAAuB,CAAC,YAAY,GAAG;IACrC,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,EAAE;IACT,WAAW,EAAE,EAAE;IACf,IAAI,EAAE,EAAE;IACR,aAAa,EAAE,EAAE;IACjB,SAAS,EAAE,KAAK;IAChB,uBAAuB,EAAE,IAAI;CAC9B,CAAC;AAEF,uBAAuB,CAAC,SAAS,GAAG;IAClC,MAAM,EAAE,SAAS,CAAC,MAAM;IACxB,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACtC,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,KAAK,EAAE,SAAS,CAAC,MAAM;IACvB,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,IAAI,EAAE,SAAS,CAAC,MAAM;IACtB,aAAa,EAAE,SAAS,CAAC,MAAM;IAC/B,SAAS,EAAE,SAAS,CAAC,IAAI;IACzB,uBAAuB,EAAE,SAAS,CAAC,MAAM;CAC1C,CAAC","sourcesContent":["import PropTypes from \"prop-types\";\n\nexport default function SingleReferenceReadOnly(props) {\n const {\n getPConnect,\n displayAs,\n ruleClass,\n label,\n type,\n displayMode,\n referenceType,\n hideLabel,\n dataRelationshipContext,\n config\n } = props;\n const editableComponents = [\"AutoComplete\", \"SimpleTableSelect\", \"Dropdown\"];\n\n if (editableComponents.includes(type)) {\n config.caseClass = ruleClass;\n config.text = config.primaryField;\n config.caseID = config.value;\n config.contextPage = `@P .${dataRelationshipContext}`;\n config.resourceParams = {\n \"workID\": displayAs === \"table\" ? config.selectionKey : config.value\n };\n config.resourcePayload = {\n \"caseClassName\": ruleClass\n };\n }\n\n return getPConnect().createComponent({\n type: 'SemanticLink',\n config: {\n ...config,\n label,\n displayMode,\n referenceType,\n hideLabel,\n dataRelationshipContext\n }\n });\n}\n\nSingleReferenceReadOnly.defaultProps = {\n displayAs: \"\",\n ruleClass: \"\",\n label: \"\",\n displayMode: \"\",\n type: \"\",\n referenceType: \"\",\n hideLabel: false,\n dataRelationshipContext: null\n};\n\nSingleReferenceReadOnly.propTypes = {\n config: PropTypes.object,\n getPConnect: PropTypes.func.isRequired,\n displayAs: PropTypes.string,\n ruleClass: PropTypes.string,\n label: PropTypes.string,\n displayMode: PropTypes.string,\n type: PropTypes.string,\n referenceType: PropTypes.string,\n hideLabel: PropTypes.bool,\n dataRelationshipContext: PropTypes.string\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export { default } from './SingleReferenceReadOnly';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SingleReferenceReadOnly/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './SingleReferenceReadOnly';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/templates/SingleReferenceReadOnly/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { default } from './SingleReferenceReadOnly';\n"]}
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from "prop-types";
3
+ declare function SubTabs(props: any): JSX.Element;
4
+ declare namespace SubTabs {
5
+ var defaultProps: {
6
+ children: never[];
7
+ };
8
+ var propTypes: {
9
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
10
+ };
11
+ }
12
+ export default SubTabs;
13
+ //# sourceMappingURL=SubTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/SubTabs.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,iBAAwB,OAAO,CAAC,KAAK,KAAA,eAkDpC;kBAlDuB,OAAO;;;;;;;;eAAP,OAAO"}
@@ -0,0 +1,33 @@
1
+ import React, { Fragment, useEffect, useState } from "react";
2
+ import PropTypes from "prop-types";
3
+ import { Tab, Tabs } from "@material-ui/core";
4
+ import { TabContext, TabPanel } from '@material-ui/lab';
5
+ import { getTransientTabs, getVisibleTabs, tabClick } from './tabUtils';
6
+ export default function SubTabs(props) {
7
+ const { children } = props;
8
+ const defaultTabIndex = 0;
9
+ const deferLoadedTabs = children[0];
10
+ const availableTabs = getVisibleTabs(deferLoadedTabs, "tabsSubs");
11
+ const [currentTabId, setCurrentTabId] = useState(defaultTabIndex.toString());
12
+ const [tabItems, setTabitem] = useState([]);
13
+ useEffect(() => {
14
+ const tempTabItems = getTransientTabs(availableTabs, currentTabId, tabItems);
15
+ setTabitem(tempTabItems);
16
+ }, [currentTabId]);
17
+ const handleTabClick = (id, index) => {
18
+ setCurrentTabId(index);
19
+ tabClick(index, availableTabs, currentTabId, setCurrentTabId, tabItems);
20
+ };
21
+ return (React.createElement(Fragment, null,
22
+ React.createElement(TabContext, { value: currentTabId.toString() },
23
+ React.createElement(Tabs, { onChange: handleTabClick, value: currentTabId, variant: "scrollable" }, tabItems.map((tab) => React.createElement(Tab, { key: tab.id, label: tab.name, value: tab.id }))),
24
+ tabItems.map((tab) => (React.createElement(TabPanel, { key: tab.id, value: tab.id, tabIndex: +tab.id },
25
+ React.createElement("div", null, tab.content ? tab.content : "No content exists")))))));
26
+ }
27
+ SubTabs.defaultProps = {
28
+ children: []
29
+ };
30
+ SubTabs.propTypes = {
31
+ children: PropTypes.arrayOf(PropTypes.node)
32
+ };
33
+ //# sourceMappingURL=SubTabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubTabs.js","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/SubTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK;IACnC,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,MAAM,eAAe,GAAG,CAAC,CAAC;IAC1B,MAAM,eAAe,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACpC,MAAM,aAAa,GAAG,cAAc,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;IAClE,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC;IAE7E,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAa,EAAE,CAAC,CAAC;IACxD,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,YAAY,GAAG,gBAAgB,CACnC,aAAa,EACb,YAAY,EACZ,QAAQ,CACT,CAAC;QACF,UAAU,CAAC,YAAY,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAGnB,MAAM,cAAc,GAAG,CAAC,EAAE,EAAE,KAAa,EAAE,EAAE;QAC3C,eAAe,CAAC,KAAK,CAAC,CAAC;QACvB,QAAQ,CAAC,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ,CAAC,CAAC;IAC1E,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,QAAQ;QACP,oBAAC,UAAU,IAAC,KAAK,EAAE,YAAY,CAAC,QAAQ,EAAE;YAC1C,oBAAC,IAAI,IACH,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,YAAY,EACnB,OAAO,EAAC,YAAY,IAErB,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAO,EAAE,EAAE,CACxB,oBAAC,GAAG,IACJ,GAAG,EAAE,GAAG,CAAC,EAAE,EACX,KAAK,EAAE,GAAG,CAAC,IAAI,EACf,KAAK,EAAE,GAAG,CAAC,EAAE,GACX,CACP,CACQ;YAGH,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAO,EAAE,EAAE,CAAC,CACxB,oBAAC,QAAQ,IAAC,GAAG,EAAE,GAAG,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE;gBACrD,iCAAM,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAO,CACnD,CACZ,CAAC,CACS,CACJ,CACZ,CAAC;AACJ,CAAC;AAED,OAAO,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,EAAE;CACd,CAAA;AAED,OAAO,CAAC,SAAS,GAAG;IACjB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;CAC7C,CAAC","sourcesContent":["import React, { Fragment, useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Tab, Tabs } from \"@material-ui/core\";\nimport { TabContext, TabPanel } from '@material-ui/lab';\nimport { getTransientTabs, getVisibleTabs, tabClick } from './tabUtils';\n\nexport default function SubTabs(props) {\n const { children } = props;\n\n const defaultTabIndex = 0;\n const deferLoadedTabs = children[0];\n const availableTabs = getVisibleTabs(deferLoadedTabs, \"tabsSubs\");\n const [currentTabId, setCurrentTabId] = useState(defaultTabIndex.toString());\n\n const [tabItems, setTabitem] = useState<Array<any>>([]);\n useEffect(() => {\n const tempTabItems = getTransientTabs(\n availableTabs,\n currentTabId,\n tabItems\n );\n setTabitem(tempTabItems);\n }, [currentTabId]);\n\n\n const handleTabClick = (id, index: string) => {\n setCurrentTabId(index);\n tabClick(index, availableTabs, currentTabId, setCurrentTabId, tabItems);\n };\n\n return (\n <Fragment>\n <TabContext value={currentTabId.toString()}>\n <Tabs\n onChange={handleTabClick}\n value={currentTabId}\n variant=\"scrollable\"\n >\n {tabItems.map((tab:any) =>\n <Tab\n key={tab.id}\n label={tab.name}\n value={tab.id}\n />\n )}\n </Tabs>\n\n {\n tabItems.map((tab:any) => (\n <TabPanel key={tab.id} value={tab.id} tabIndex={+tab.id}>\n <div>{tab.content ? tab.content : \"No content exists\"}</div>\n </TabPanel>\n ))}\n </TabContext>\n </Fragment>\n );\n}\n\nSubTabs.defaultProps = {\n children: []\n}\n\nSubTabs.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node)\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export { default } from './SubTabs';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './SubTabs';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC","sourcesContent":["export { default } from './SubTabs';\n"]}
@@ -0,0 +1,5 @@
1
+ export declare const getDeferFriendlyTabs: (allTabs: any) => any;
2
+ export declare const getVisibleTabs: (allTabs: any, uuid: any) => any;
3
+ export declare const getTransientTabs: (availableTabs: any, currentTabId: any, tabItems: any) => any;
4
+ export declare const tabClick: (id: any, availableTabs: any, currentTabId: any, setCurrentTabId: any, tabItems: any) => void;
5
+ //# sourceMappingURL=tabUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabUtils.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/tabUtils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,uBAKhC,CAAC;AAEF,eAAO,MAAM,cAAc,kCAoB1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,+DAuB5B,CAAC;AAEF,eAAO,MAAM,QAAQ,+FAepB,CAAC"}
@@ -0,0 +1,62 @@
1
+ export const getDeferFriendlyTabs = allTabs => {
2
+ return allTabs.map(tab => {
3
+ const theTabCompConfig = tab.getPConnect().getConfigProps();
4
+ return { type: 'DeferLoad', config: theTabCompConfig };
5
+ });
6
+ };
7
+ export const getVisibleTabs = (allTabs, uuid) => {
8
+ let index = 0;
9
+ return allTabs.props
10
+ .getPConnect()
11
+ .getChildren()
12
+ ?.filter(child => {
13
+ // US-402838: Filter out tab entries if the config object does not contain the visibility attribute or it evaluates to the boolean true,
14
+ const config = child.getPConnect().getConfigProps();
15
+ // BUG-642335 - adding isChildDeferLoad prop
16
+ if (child.getPConnect().getComponentName() === 'DeferLoad') {
17
+ const { name: viewName, deferLoadId = `${viewName}_${uuid}_${index}` } = config;
18
+ child.getPConnect().registerAdditionalProps({
19
+ deferLoadId,
20
+ isChildDeferLoad: true
21
+ });
22
+ }
23
+ index += 1;
24
+ return !('visibility' in config) || config.visibility === true;
25
+ });
26
+ };
27
+ export const getTransientTabs = (availableTabs, currentTabId, tabItems) => {
28
+ return (availableTabs?.map((child, i) => {
29
+ const config = child.getPConnect().getConfigProps();
30
+ const tabLabel = config.label ||
31
+ config.inheritedProps?.find(obj => obj.prop === 'label')?.value ||
32
+ PCore.getLocaleUtils().getLocaleValue('No label specified in config', 'Generic');
33
+ const tabContent = () => {
34
+ if (i.toString() === currentTabId) {
35
+ return tabItems?.[i.toString()]?.content
36
+ ? tabItems?.[i.toString()]?.content
37
+ : child.getPConnect().getComponent();
38
+ }
39
+ return tabItems?.[i.toString()]?.content;
40
+ };
41
+ return {
42
+ name: tabLabel,
43
+ id: i.toString(),
44
+ content: tabContent()
45
+ };
46
+ }) || []);
47
+ };
48
+ export const tabClick = (id, availableTabs, currentTabId, setCurrentTabId, tabItems) => {
49
+ const currentPConn = availableTabs[currentTabId].getPConnect();
50
+ const { deferLoadId } = currentPConn.getConfigProps();
51
+ PCore.getDeferLoadManager().deactivate(deferLoadId, currentPConn.getContextName());
52
+ setCurrentTabId(id);
53
+ const index = parseInt(id, 10);
54
+ if (tabItems[index]?.content === null) {
55
+ tabItems[index].content = availableTabs[index].getPConnect().getComponent();
56
+ }
57
+ const nextPConn = availableTabs[id].getPConnect();
58
+ const { deferLoadId: activeId } = nextPConn?.getConfigProps();
59
+ PCore.getDeferLoadManager().activate(activeId, nextPConn?.getContextName());
60
+ PCore.getDeferLoadManager().refreshComponent(activeId, nextPConn?.getContextName());
61
+ };
62
+ //# sourceMappingURL=tabUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabUtils.js","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/tabUtils.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,oBAAoB,GAAG,OAAO,CAAC,EAAE;IAC5C,OAAO,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QACvB,MAAM,gBAAgB,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC;QAC5D,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE;IAC9C,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,OAAO,OAAO,CAAC,KAAK;SACjB,WAAW,EAAE;SACb,WAAW,EAAE;QACd,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE;QACf,wIAAwI;QACxI,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC;QAEpD,4CAA4C;QAC5C,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC,gBAAgB,EAAE,KAAK,WAAW,EAAE;YAC1D,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,GAAG,GAAG,QAAQ,IAAI,IAAI,IAAI,KAAK,EAAE,EAAE,GAAG,MAAM,CAAC;YAChF,KAAK,CAAC,WAAW,EAAE,CAAC,uBAAuB,CAAC;gBAC1C,WAAW;gBACX,gBAAgB,EAAE,IAAI;aACvB,CAAC,CAAC;SACJ;QACD,KAAK,IAAI,CAAC,CAAC;QACX,OAAO,CAAC,CAAC,YAAY,IAAI,MAAM,CAAC,IAAI,MAAM,CAAC,UAAU,KAAK,IAAI,CAAC;IACjE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE;IACxE,OAAO,CACL,aAAa,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE;QAC9B,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC;QACpD,MAAM,QAAQ,GACZ,MAAM,CAAC,KAAK;YACZ,MAAM,CAAC,cAAc,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,OAAO,CAAC,EAAE,KAAK;YAC/D,KAAK,CAAC,cAAc,EAAE,CAAC,cAAc,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC;QACnF,MAAM,UAAU,GAAG,GAAG,EAAE;YACtB,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,YAAY,EAAE;gBACjC,OAAO,QAAQ,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,EAAE,OAAO;oBACtC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,EAAE,OAAO;oBACnC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC;aACxC;YACD,OAAO,QAAQ,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,EAAE,OAAO,CAAC;QAC3C,CAAC,CAAC;QACF,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;YAChB,OAAO,EAAE,UAAU,EAAE;SACtB,CAAC;IACJ,CAAC,CAAC,IAAI,EAAE,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,aAAa,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE;IACrF,MAAM,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE,CAAC;IAC/D,MAAM,EAAE,WAAW,EAAE,GAAG,YAAY,CAAC,cAAc,EAAE,CAAC;IACtD,KAAK,CAAC,mBAAmB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;IAEnF,eAAe,CAAC,EAAE,CAAC,CAAC;IACpB,MAAM,KAAK,GAAG,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/B,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,EAAE;QACrC,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC;KAC7E;IAED,MAAM,SAAS,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;IAClD,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,cAAc,EAAE,CAAC;IAC9D,KAAK,CAAC,mBAAmB,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,CAAC;IAC5E,KAAK,CAAC,mBAAmB,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,CAAC;AACtF,CAAC,CAAC","sourcesContent":["\ndeclare const PCore;\n\nexport const getDeferFriendlyTabs = allTabs => {\n return allTabs.map(tab => {\n const theTabCompConfig = tab.getPConnect().getConfigProps();\n return { type: 'DeferLoad', config: theTabCompConfig };\n });\n};\n\nexport const getVisibleTabs = (allTabs, uuid) => {\n let index = 0;\n return allTabs.props\n .getPConnect()\n .getChildren()\n ?.filter(child => {\n // US-402838: Filter out tab entries if the config object does not contain the visibility attribute or it evaluates to the boolean true,\n const config = child.getPConnect().getConfigProps();\n\n // BUG-642335 - adding isChildDeferLoad prop\n if (child.getPConnect().getComponentName() === 'DeferLoad') {\n const { name: viewName, deferLoadId = `${viewName}_${uuid}_${index}` } = config;\n child.getPConnect().registerAdditionalProps({\n deferLoadId,\n isChildDeferLoad: true\n });\n }\n index += 1;\n return !('visibility' in config) || config.visibility === true;\n });\n};\n\nexport const getTransientTabs = (availableTabs, currentTabId, tabItems) => {\n return (\n availableTabs?.map((child, i) => {\n const config = child.getPConnect().getConfigProps();\n const tabLabel =\n config.label ||\n config.inheritedProps?.find(obj => obj.prop === 'label')?.value ||\n PCore.getLocaleUtils().getLocaleValue('No label specified in config', 'Generic');\n const tabContent = () => {\n if (i.toString() === currentTabId) {\n return tabItems?.[i.toString()]?.content\n ? tabItems?.[i.toString()]?.content\n : child.getPConnect().getComponent();\n }\n return tabItems?.[i.toString()]?.content;\n };\n return {\n name: tabLabel,\n id: i.toString(),\n content: tabContent()\n };\n }) || []\n );\n};\n\nexport const tabClick = (id, availableTabs, currentTabId, setCurrentTabId, tabItems) => {\n const currentPConn = availableTabs[currentTabId].getPConnect();\n const { deferLoadId } = currentPConn.getConfigProps();\n PCore.getDeferLoadManager().deactivate(deferLoadId, currentPConn.getContextName());\n\n setCurrentTabId(id);\n const index = parseInt(id, 10);\n if (tabItems[index]?.content === null) {\n tabItems[index].content = availableTabs[index].getPConnect().getComponent();\n }\n\n const nextPConn = availableTabs[id].getPConnect();\n const { deferLoadId: activeId } = nextPConn?.getConfigProps();\n PCore.getDeferLoadManager().activate(activeId, nextPConn?.getContextName());\n PCore.getDeferLoadManager().refreshComponent(activeId, nextPConn?.getContextName());\n};\n"]}
@@ -0,0 +1,13 @@
1
+ .psdk-two-column {
2
+ display: flow-root;
3
+ height: 100%;
4
+ }
5
+
6
+ /* Create two equal columns that floats next to each other */
7
+ .psdk-two-column-column {
8
+ width: 50%;
9
+ float: left;
10
+ padding: 0rem 0.3125rem;
11
+ height: 100%;
12
+
13
+ }
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from "prop-types";
3
+ declare function TwoColumn(props: any): JSX.Element;
4
+ declare namespace TwoColumn {
5
+ var propTypes: {
6
+ children: PropTypes.Validator<PropTypes.ReactNodeLike[]>;
7
+ templateCol: PropTypes.Requireable<string>;
8
+ };
9
+ var defaultProps: {
10
+ templateCol: string;
11
+ };
12
+ }
13
+ export default TwoColumn;
14
+ //# sourceMappingURL=TwoColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TwoColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/TwoColumn.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAYnC,iBAAwB,SAAS,CAAC,KAAK,KAAA,eAgCtC;kBAhCuB,SAAS;;;;;;;;;eAAT,SAAS"}
@@ -0,0 +1,43 @@
1
+ import React from "react";
2
+ import PropTypes from "prop-types";
3
+ import { Grid } from "@material-ui/core";
4
+ import { makeStyles } from '@material-ui/core/styles';
5
+ const useStyles = makeStyles(() => ({
6
+ colStyles: {
7
+ display: "grid",
8
+ gap: "1rem",
9
+ alignContent: "baseline",
10
+ },
11
+ }));
12
+ export default function TwoColumn(props) {
13
+ const classes = useStyles();
14
+ const { children, templateCol } = props;
15
+ if (children.length !== 2) {
16
+ // eslint-disable-next-line no-console
17
+ console.error(`TwoColumn template sees more than 2 columns: ${children.length}`);
18
+ }
19
+ // Calculate the size
20
+ // Default to assume the 2 columns are evenly split. However, override if templateCol
21
+ // (example value: "1fr 1fr")
22
+ let aSize = 6;
23
+ let bSize = 6;
24
+ const colAArray = templateCol.replaceAll(/[a-z]+/g, "").split(/\s/).map(itm => Number(itm));
25
+ const totalCols = colAArray.reduce((v, itm) => itm + v, 0);
26
+ const ratio = 12 / totalCols;
27
+ aSize = (ratio * colAArray[0]);
28
+ bSize = (ratio * colAArray[1]);
29
+ return (React.createElement(Grid, { container: true, spacing: 1 },
30
+ React.createElement(Grid, { item: true, xs: 12, md: aSize, className: classes.colStyles }, children[0]),
31
+ React.createElement(Grid, { item: true, xs: 12, md: bSize, className: classes.colStyles }, children[1])));
32
+ }
33
+ TwoColumn.propTypes = {
34
+ children: PropTypes.arrayOf(PropTypes.node).isRequired,
35
+ // title: PropTypes.string,
36
+ templateCol: PropTypes.string,
37
+ // icon: PropTypes.string
38
+ };
39
+ TwoColumn.defaultProps = {
40
+ templateCol: "1fr 1fr",
41
+ // icon: ""
42
+ };
43
+ //# sourceMappingURL=TwoColumn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TwoColumn.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/TwoColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAY,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC;IAClC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,YAAY,EAAE,UAAU;KACzB;CACF,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK;IACrC,MAAM,OAAO,GAAG,SAAS,EAAE,CAAC;IAE7B,MAAM,EAAC,QAAQ,EAAE,WAAW,EAAC,GAAG,KAAK,CAAC;IAEtC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;QAC1B,sCAAsC;QACtC,OAAO,CAAC,KAAK,CAAE,gDAAgD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;KAClF;IAEA,qBAAqB;IACrB,sFAAsF;IACtF,8BAA8B;IAC9B,IAAI,KAAK,GAAa,CAAC,CAAC;IACxB,IAAI,KAAK,GAAa,CAAC,CAAC;IAExB,MAAM,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5F,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3D,MAAM,KAAK,GAAG,EAAE,GAAG,SAAS,CAAC;IAC7B,KAAK,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAa,CAAC;IAC3C,KAAK,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAa,CAAC;IAE5C,OAAO,CACL,oBAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC;QACxB,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IACvD,QAAQ,CAAC,CAAC,CAAC,CACP;QACP,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IACvD,QAAQ,CAAC,CAAC,CAAC,CACP,CACF,CACR,CAAA;AACF,CAAC;AAED,SAAS,CAAC,SAAS,GAAG;IACpB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,2BAA2B;IAC3B,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,yBAAyB;CAC1B,CAAC;AAEF,SAAS,CAAC,YAAY,GAAG;IACvB,WAAW,EAAE,SAAS;IACtB,WAAW;CACZ,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Grid, GridSize } from \"@material-ui/core\";\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: \"grid\",\n gap: \"1rem\",\n alignContent: \"baseline\",\n },\n}));\n\nexport default function TwoColumn(props) {\n const classes = useStyles();\n\n const {children, templateCol} = props;\n\n if (children.length !== 2) {\n // eslint-disable-next-line no-console\n console.error( `TwoColumn template sees more than 2 columns: ${children.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol.replaceAll(/[a-z]+/g, \"\").split(/\\s/).map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid container spacing={1}>\n <Grid item xs={12} md={aSize} className={classes.colStyles}>\n {children[0]}\n </Grid>\n <Grid item xs={12} md={bSize} className={classes.colStyles}>\n {children[1]}\n </Grid>\n </Grid>\n )\n}\n\nTwoColumn.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n // title: PropTypes.string,\n templateCol: PropTypes.string,\n // icon: PropTypes.string\n};\n\nTwoColumn.defaultProps = {\n templateCol: \"1fr 1fr\",\n // icon: \"\"\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export { default } from './TwoColumn';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './TwoColumn';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC","sourcesContent":["export { default } from './TwoColumn';\n"]}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from "prop-types";
3
+ declare function TwoColumnPage(props: any): JSX.Element;
4
+ declare namespace TwoColumnPage {
5
+ var propTypes: {
6
+ children: PropTypes.Validator<PropTypes.ReactNodeLike[]>;
7
+ };
8
+ var defaultProps: {};
9
+ }
10
+ export default TwoColumnPage;
11
+ //# sourceMappingURL=TwoColumnPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TwoColumnPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AASnC,iBAAwB,aAAa,CAAC,KAAK,KAAA,eAO1C;kBAPuB,aAAa;;;;;;eAAb,aAAa"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import PropTypes from "prop-types";
3
+ // import { TwoColumnPage as TwoColumn } from "@pega/cosmos-react-core";
4
+ import TwoColumn from '../TwoColumn';
5
+ /*
6
+ * The wrapper handles knowing how to take in just children
7
+ * and mapping to the TwoColumn template.
8
+ */
9
+ export default function TwoColumnPage(props) {
10
+ return (React.createElement(TwoColumn, { ...props }));
11
+ }
12
+ TwoColumnPage.propTypes = {
13
+ children: PropTypes.arrayOf(PropTypes.node).isRequired,
14
+ };
15
+ TwoColumnPage.defaultProps = {};
16
+ //# sourceMappingURL=TwoColumnPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TwoColumnPage.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,wEAAwE;AACxE,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK;IAEzC,OAAO,CACL,oBAAC,SAAS,OACJ,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;CACvD,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG,EAC5B,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// import { TwoColumnPage as TwoColumn } from \"@pega/cosmos-react-core\";\nimport TwoColumn from '../TwoColumn';\n\n/*\n * The wrapper handles knowing how to take in just children\n * and mapping to the TwoColumn template.\n */\nexport default function TwoColumnPage(props) {\n\n return (\n <TwoColumn\n {...props}\n />\n );\n}\n\nTwoColumnPage.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n};\n\nTwoColumnPage.defaultProps = {\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export { default } from './TwoColumnPage';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './TwoColumnPage';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { default } from './TwoColumnPage';\n"]}
@@ -0,0 +1,12 @@
1
+ .psdk-two-column {
2
+ display: flow-root;
3
+ height: 100%;
4
+ }
5
+
6
+ /* Create two equal columns that floats next to each other */
7
+ .psdk-two-column-column {
8
+ width: 50%;
9
+ float: left;
10
+ padding: 0rem 0.3125rem;
11
+ height: 100%;
12
+ }
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from "prop-types";
3
+ declare function TwoColumnTab(props: any): JSX.Element;
4
+ declare namespace TwoColumnTab {
5
+ var propTypes: {
6
+ children: PropTypes.Validator<PropTypes.ReactNodeLike[]>;
7
+ templateCol: PropTypes.Requireable<string>;
8
+ };
9
+ var defaultProps: {
10
+ templateCol: string;
11
+ };
12
+ }
13
+ export default TwoColumnTab;
14
+ //# sourceMappingURL=TwoColumnTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TwoColumnTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAYnC,iBAAwB,YAAY,CAAC,KAAK,KAAA,eAgCzC;kBAhCuB,YAAY;;;;;;;;;eAAZ,YAAY"}
@@ -0,0 +1,40 @@
1
+ import React from "react";
2
+ import PropTypes from "prop-types";
3
+ import { Grid } from "@material-ui/core";
4
+ import { makeStyles } from '@material-ui/core/styles';
5
+ const useStyles = makeStyles(() => ({
6
+ colStyles: {
7
+ display: "grid",
8
+ gap: "1rem",
9
+ alignContent: "baseline",
10
+ },
11
+ }));
12
+ export default function TwoColumnTab(props) {
13
+ const classes = useStyles();
14
+ const { children, templateCol } = props;
15
+ if (children.length !== 2) {
16
+ // eslint-disable-next-line no-console
17
+ console.error(`TwoColumn template sees more than 2 columns: ${children.length}`);
18
+ }
19
+ // Calculate the size
20
+ // Default to assume the 2 columns are evenly split. However, override if templateCol
21
+ // (example value: "1fr 1fr")
22
+ let aSize = 6;
23
+ let bSize = 6;
24
+ const colAArray = templateCol.replaceAll(/[a-z]+/g, "").split(/\s/).map(itm => Number(itm));
25
+ const totalCols = colAArray.reduce((v, itm) => itm + v, 0);
26
+ const ratio = 12 / totalCols;
27
+ aSize = (ratio * colAArray[0]);
28
+ bSize = (ratio * colAArray[1]);
29
+ return (React.createElement(Grid, { container: true, spacing: 1 },
30
+ React.createElement(Grid, { item: true, xs: 12, md: aSize, className: classes.colStyles }, children[0]),
31
+ React.createElement(Grid, { item: true, xs: 12, md: bSize, className: classes.colStyles }, children[1])));
32
+ }
33
+ TwoColumnTab.propTypes = {
34
+ children: PropTypes.arrayOf(PropTypes.node).isRequired,
35
+ templateCol: PropTypes.string,
36
+ };
37
+ TwoColumnTab.defaultProps = {
38
+ templateCol: "1fr 1fr",
39
+ };
40
+ //# sourceMappingURL=TwoColumnTab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TwoColumnTab.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAY,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC;IAClC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,YAAY,EAAE,UAAU;KACzB;CACF,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK;IACxC,MAAM,OAAO,GAAG,SAAS,EAAE,CAAC;IAE7B,MAAM,EAAC,QAAQ,EAAE,WAAW,EAAC,GAAG,KAAK,CAAC;IAEtC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;QAC1B,sCAAsC;QACtC,OAAO,CAAC,KAAK,CAAE,gDAAgD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;KAClF;IAEA,qBAAqB;IACrB,sFAAsF;IACtF,8BAA8B;IAC9B,IAAI,KAAK,GAAa,CAAC,CAAC;IACxB,IAAI,KAAK,GAAa,CAAC,CAAC;IAExB,MAAM,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5F,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3D,MAAM,KAAK,GAAG,EAAE,GAAG,SAAS,CAAC;IAC7B,KAAK,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAa,CAAC;IAC3C,KAAK,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAa,CAAC;IAE5C,OAAO,CACL,oBAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC;QACxB,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IACvD,QAAQ,CAAC,CAAC,CAAC,CACP;QACP,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IACvD,QAAQ,CAAC,CAAC,CAAC,CACP,CACF,CACR,CAAA;AACF,CAAC;AAED,YAAY,CAAC,SAAS,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,WAAW,EAAE,SAAS,CAAC,MAAM;CAC9B,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC1B,WAAW,EAAE,SAAS;CACvB,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Grid, GridSize } from \"@material-ui/core\";\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: \"grid\",\n gap: \"1rem\",\n alignContent: \"baseline\",\n },\n}));\n\nexport default function TwoColumnTab(props) {\n const classes = useStyles();\n\n const {children, templateCol} = props;\n\n if (children.length !== 2) {\n // eslint-disable-next-line no-console\n console.error( `TwoColumn template sees more than 2 columns: ${children.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol.replaceAll(/[a-z]+/g, \"\").split(/\\s/).map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid container spacing={1}>\n <Grid item xs={12} md={aSize} className={classes.colStyles}>\n {children[0]}\n </Grid>\n <Grid item xs={12} md={bSize} className={classes.colStyles}>\n {children[1]}\n </Grid>\n </Grid>\n )\n}\n\nTwoColumnTab.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n templateCol: PropTypes.string,\n};\n\nTwoColumnTab.defaultProps = {\n templateCol: \"1fr 1fr\",\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export { default } from './TwoColumnTab';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './TwoColumnTab';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { default } from './TwoColumnTab';\n"]}
@@ -0,0 +1,21 @@
1
+ .psdk-wide-narrow-column {
2
+ display: flow-root;
3
+ height: 100%;
4
+ }
5
+
6
+ /* Create two columns that float next to each other */
7
+ .psdk-wide-narrow-column .psdk-narrow-column-column {
8
+ width: 30%;
9
+ float: left;
10
+ padding: 0rem 0rem 0rem 0.3125rem;
11
+ height: 100%;
12
+
13
+ }
14
+
15
+ .psdk-wide-narrow-column .psdk-wide-column-column {
16
+ width: 70%;
17
+ float: left;
18
+ padding: 0rem 0.3125rem 0rem 0rem;
19
+ height: 100%;
20
+
21
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './WideNarrow.css';
3
+ export default function WideNarrow(props: any): JSX.Element;
4
+ //# sourceMappingURL=WideNarrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WideNarrow.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":";AAEA,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,KAAA,eA8BvC"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import './WideNarrow.css';
3
+ export default function WideNarrow(props) {
4
+ // const {a, b /*, cols, icon, title */ } = props;
5
+ const { a, b, children } = props;
6
+ return (React.createElement(React.Fragment, null,
7
+ children && children.length === 2 &&
8
+ React.createElement("div", { className: "psdk-wide-narrow-column" },
9
+ React.createElement("div", { className: "psdk-wide-column-column" }, children[0]),
10
+ React.createElement("div", { className: "psdk-narrow-column-column" }, children[1])),
11
+ a && b &&
12
+ React.createElement("div", { className: "psdk-wide-narrow-column" },
13
+ React.createElement("div", { className: "psdk-wide-column-column" }, a),
14
+ React.createElement("div", { className: "psdk-narrow-column-column" }, b))));
15
+ }
16
+ //# sourceMappingURL=WideNarrow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WideNarrow.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK;IACtC,kDAAkD;IAClD,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEjC,OAAO,CACL,oBAAC,KAAK,CAAC,QAAQ;QACd,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;YAChC,6BAAK,SAAS,EAAC,yBAAyB;gBACtC,6BAAK,SAAS,EAAC,yBAAyB,IACrC,QAAQ,CAAC,CAAC,CAAC,CACR;gBACN,6BAAK,SAAS,EAAC,2BAA2B,IACvC,QAAQ,CAAC,CAAC,CAAC,CACR,CACF;QAEP,CAAC,IAAI,CAAC;YACL,6BAAK,SAAS,EAAC,yBAAyB;gBACtC,6BAAK,SAAS,EAAC,yBAAyB,IACrC,CAAC,CACE;gBACN,6BAAK,SAAS,EAAC,2BAA2B,IACvC,CAAC,CACE,CACF,CAES,CAElB,CAAA;AAEH,CAAC","sourcesContent":["import React from \"react\";\n\nimport './WideNarrow.css';\n\nexport default function WideNarrow(props) {\n // const {a, b /*, cols, icon, title */ } = props;\n const { a, b, children } = props;\n\n return (\n <React.Fragment>\n {children && children.length === 2 &&\n <div className=\"psdk-wide-narrow-column\">\n <div className=\"psdk-wide-column-column\">\n {children[0]}\n </div>\n <div className=\"psdk-narrow-column-column\">\n {children[1]}\n </div>\n </div>\n }\n {a && b &&\n <div className=\"psdk-wide-narrow-column\">\n <div className=\"psdk-wide-column-column\">\n {a}\n </div>\n <div className=\"psdk-narrow-column-column\">\n {b}\n </div>\n </div>\n }\n </React.Fragment>\n\n )\n\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export { default } from './WideNarrow';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './WideNarrow';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC","sourcesContent":["export { default } from './WideNarrow';\n"]}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare function WideNarrowDetails(props: any): JSX.Element;
3
+ declare namespace WideNarrowDetails {
4
+ var propTypes: {};
5
+ }
6
+ export default WideNarrowDetails;
7
+ //# sourceMappingURL=WideNarrowDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WideNarrowDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx"],"names":[],"mappings":";AAKA,iBAAwB,iBAAiB,CAAC,KAAK,KAAA,eAyC9C;kBAzCuB,iBAAiB;;;eAAjB,iBAAiB"}