@pega/lists-core 8.0.0-build.27.14

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 (468) hide show
  1. package/LICENSE +185 -0
  2. package/README.md +80 -0
  3. package/SECURITY.md +11 -0
  4. package/lib/index.d.ts +13 -0
  5. package/lib/index.d.ts.map +1 -0
  6. package/lib/index.js +14 -0
  7. package/lib/index.js.map +1 -0
  8. package/lib/src/core/RsCore.d.ts +37 -0
  9. package/lib/src/core/RsCore.d.ts.map +1 -0
  10. package/lib/src/core/RsCore.js +48 -0
  11. package/lib/src/core/RsCore.js.map +1 -0
  12. package/lib/src/core/RsInternal.d.ts +85 -0
  13. package/lib/src/core/RsInternal.d.ts.map +1 -0
  14. package/lib/src/core/RsInternal.js +104 -0
  15. package/lib/src/core/RsInternal.js.map +1 -0
  16. package/lib/src/core/RsProps.d.ts +52 -0
  17. package/lib/src/core/RsProps.d.ts.map +1 -0
  18. package/lib/src/core/RsProps.js +47 -0
  19. package/lib/src/core/RsProps.js.map +1 -0
  20. package/lib/src/core/RsStore.d.ts +62 -0
  21. package/lib/src/core/RsStore.d.ts.map +1 -0
  22. package/lib/src/core/RsStore.js +59 -0
  23. package/lib/src/core/RsStore.js.map +1 -0
  24. package/lib/src/core/StateResolver.d.ts +45 -0
  25. package/lib/src/core/StateResolver.d.ts.map +1 -0
  26. package/lib/src/core/StateResolver.js +276 -0
  27. package/lib/src/core/StateResolver.js.map +1 -0
  28. package/lib/src/core/a11y/BaseA11y.d.ts +161 -0
  29. package/lib/src/core/a11y/BaseA11y.d.ts.map +1 -0
  30. package/lib/src/core/a11y/BaseA11y.js +549 -0
  31. package/lib/src/core/a11y/BaseA11y.js.map +1 -0
  32. package/lib/src/core/actions/actionConstants.d.ts +77 -0
  33. package/lib/src/core/actions/actionConstants.d.ts.map +1 -0
  34. package/lib/src/core/actions/actionConstants.js +79 -0
  35. package/lib/src/core/actions/actionConstants.js.map +1 -0
  36. package/lib/src/core/actions/actions.d.ts +400 -0
  37. package/lib/src/core/actions/actions.d.ts.map +1 -0
  38. package/lib/src/core/actions/actions.js +537 -0
  39. package/lib/src/core/actions/actions.js.map +1 -0
  40. package/lib/src/core/actions/actions.types.d.ts +504 -0
  41. package/lib/src/core/actions/actions.types.d.ts.map +1 -0
  42. package/lib/src/core/actions/actions.types.js +5 -0
  43. package/lib/src/core/actions/actions.types.js.map +1 -0
  44. package/lib/src/core/config/config.d.ts +9 -0
  45. package/lib/src/core/config/config.d.ts.map +1 -0
  46. package/lib/src/core/config/config.js +93 -0
  47. package/lib/src/core/config/config.js.map +1 -0
  48. package/lib/src/core/config/filterConfig.d.ts +123 -0
  49. package/lib/src/core/config/filterConfig.d.ts.map +1 -0
  50. package/lib/src/core/config/filterConfig.js +238 -0
  51. package/lib/src/core/config/filterConfig.js.map +1 -0
  52. package/lib/src/core/constants.d.ts +146 -0
  53. package/lib/src/core/constants.d.ts.map +1 -0
  54. package/lib/src/core/constants.js +124 -0
  55. package/lib/src/core/constants.js.map +1 -0
  56. package/lib/src/core/features/featureFactory.d.ts +52 -0
  57. package/lib/src/core/features/featureFactory.d.ts.map +1 -0
  58. package/lib/src/core/features/featureFactory.js +118 -0
  59. package/lib/src/core/features/featureFactory.js.map +1 -0
  60. package/lib/src/core/features/uIFeatures/afterRender/animation.d.ts +24 -0
  61. package/lib/src/core/features/uIFeatures/afterRender/animation.d.ts.map +1 -0
  62. package/lib/src/core/features/uIFeatures/afterRender/animation.js +157 -0
  63. package/lib/src/core/features/uIFeatures/afterRender/animation.js.map +1 -0
  64. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.d.ts +29 -0
  65. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.d.ts.map +1 -0
  66. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.js +114 -0
  67. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.js.map +1 -0
  68. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.d.ts +38 -0
  69. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.d.ts.map +1 -0
  70. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.js +157 -0
  71. package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.js.map +1 -0
  72. package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.d.ts +16 -0
  73. package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.d.ts.map +1 -0
  74. package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.js +32 -0
  75. package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.js.map +1 -0
  76. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.d.ts +25 -0
  77. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.d.ts.map +1 -0
  78. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.js +139 -0
  79. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.js.map +1 -0
  80. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.d.ts +18 -0
  81. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.d.ts.map +1 -0
  82. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.js +46 -0
  83. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.js.map +1 -0
  84. package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.d.ts +13 -0
  85. package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.d.ts.map +1 -0
  86. package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.js +38 -0
  87. package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.js.map +1 -0
  88. package/lib/src/core/features/uIFeatures/beforeRender/aggregation.d.ts +11 -0
  89. package/lib/src/core/features/uIFeatures/beforeRender/aggregation.d.ts.map +1 -0
  90. package/lib/src/core/features/uIFeatures/beforeRender/aggregation.js +48 -0
  91. package/lib/src/core/features/uIFeatures/beforeRender/aggregation.js.map +1 -0
  92. package/lib/src/core/features/uIFeatures/beforeRender/animation.d.ts +25 -0
  93. package/lib/src/core/features/uIFeatures/beforeRender/animation.d.ts.map +1 -0
  94. package/lib/src/core/features/uIFeatures/beforeRender/animation.js +106 -0
  95. package/lib/src/core/features/uIFeatures/beforeRender/animation.js.map +1 -0
  96. package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.d.ts +18 -0
  97. package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.d.ts.map +1 -0
  98. package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.js +56 -0
  99. package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.js.map +1 -0
  100. package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.d.ts +7 -0
  101. package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.d.ts.map +1 -0
  102. package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.js +34 -0
  103. package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.js.map +1 -0
  104. package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.d.ts +10 -0
  105. package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.d.ts.map +1 -0
  106. package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.js +72 -0
  107. package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.js.map +1 -0
  108. package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.d.ts +9 -0
  109. package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.d.ts.map +1 -0
  110. package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.js +26 -0
  111. package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.js.map +1 -0
  112. package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.d.ts +9 -0
  113. package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.d.ts.map +1 -0
  114. package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.js +29 -0
  115. package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.js.map +1 -0
  116. package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.d.ts +11 -0
  117. package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.d.ts.map +1 -0
  118. package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.js +38 -0
  119. package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.js.map +1 -0
  120. package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.d.ts +11 -0
  121. package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.d.ts.map +1 -0
  122. package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.js +199 -0
  123. package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.js.map +1 -0
  124. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.d.ts +5 -0
  125. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.d.ts.map +1 -0
  126. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.js +29 -0
  127. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.js.map +1 -0
  128. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.d.ts +14 -0
  129. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.d.ts.map +1 -0
  130. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.js +118 -0
  131. package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.js.map +1 -0
  132. package/lib/src/core/features/uIFeatures/beforeRender/columnSort.d.ts +8 -0
  133. package/lib/src/core/features/uIFeatures/beforeRender/columnSort.d.ts.map +1 -0
  134. package/lib/src/core/features/uIFeatures/beforeRender/columnSort.js +25 -0
  135. package/lib/src/core/features/uIFeatures/beforeRender/columnSort.js.map +1 -0
  136. package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.d.ts +9 -0
  137. package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.d.ts.map +1 -0
  138. package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.js +26 -0
  139. package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.js.map +1 -0
  140. package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.d.ts +12 -0
  141. package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.d.ts.map +1 -0
  142. package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.js +57 -0
  143. package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.js.map +1 -0
  144. package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.d.ts +9 -0
  145. package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.d.ts.map +1 -0
  146. package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.js +36 -0
  147. package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.js.map +1 -0
  148. package/lib/src/core/features/uIFeatures/beforeRender/customColumn.d.ts +9 -0
  149. package/lib/src/core/features/uIFeatures/beforeRender/customColumn.d.ts.map +1 -0
  150. package/lib/src/core/features/uIFeatures/beforeRender/customColumn.js +70 -0
  151. package/lib/src/core/features/uIFeatures/beforeRender/customColumn.js.map +1 -0
  152. package/lib/src/core/features/uIFeatures/beforeRender/edit.d.ts +12 -0
  153. package/lib/src/core/features/uIFeatures/beforeRender/edit.d.ts.map +1 -0
  154. package/lib/src/core/features/uIFeatures/beforeRender/edit.js +94 -0
  155. package/lib/src/core/features/uIFeatures/beforeRender/edit.js.map +1 -0
  156. package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.d.ts +9 -0
  157. package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.d.ts.map +1 -0
  158. package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.js +26 -0
  159. package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.js.map +1 -0
  160. package/lib/src/core/features/uIFeatures/beforeRender/filter.d.ts +10 -0
  161. package/lib/src/core/features/uIFeatures/beforeRender/filter.d.ts.map +1 -0
  162. package/lib/src/core/features/uIFeatures/beforeRender/filter.js +36 -0
  163. package/lib/src/core/features/uIFeatures/beforeRender/filter.js.map +1 -0
  164. package/lib/src/core/features/uIFeatures/beforeRender/freeze.d.ts +15 -0
  165. package/lib/src/core/features/uIFeatures/beforeRender/freeze.d.ts.map +1 -0
  166. package/lib/src/core/features/uIFeatures/beforeRender/freeze.js +119 -0
  167. package/lib/src/core/features/uIFeatures/beforeRender/freeze.js.map +1 -0
  168. package/lib/src/core/features/uIFeatures/beforeRender/grouping.d.ts +38 -0
  169. package/lib/src/core/features/uIFeatures/beforeRender/grouping.d.ts.map +1 -0
  170. package/lib/src/core/features/uIFeatures/beforeRender/grouping.js +451 -0
  171. package/lib/src/core/features/uIFeatures/beforeRender/grouping.js.map +1 -0
  172. package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.d.ts +7 -0
  173. package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.d.ts.map +1 -0
  174. package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.js +36 -0
  175. package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.js.map +1 -0
  176. package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.d.ts +7 -0
  177. package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.d.ts.map +1 -0
  178. package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.js +76 -0
  179. package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.js.map +1 -0
  180. package/lib/src/core/features/uIFeatures/beforeRender/personalization.d.ts +16 -0
  181. package/lib/src/core/features/uIFeatures/beforeRender/personalization.d.ts.map +1 -0
  182. package/lib/src/core/features/uIFeatures/beforeRender/personalization.js +306 -0
  183. package/lib/src/core/features/uIFeatures/beforeRender/personalization.js.map +1 -0
  184. package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.d.ts +7 -0
  185. package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.d.ts.map +1 -0
  186. package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.js +59 -0
  187. package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.js.map +1 -0
  188. package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.d.ts +7 -0
  189. package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.d.ts.map +1 -0
  190. package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.js +30 -0
  191. package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.js.map +1 -0
  192. package/lib/src/core/features/uIFeatures/beforeRender/refresh.d.ts +15 -0
  193. package/lib/src/core/features/uIFeatures/beforeRender/refresh.d.ts.map +1 -0
  194. package/lib/src/core/features/uIFeatures/beforeRender/refresh.js +40 -0
  195. package/lib/src/core/features/uIFeatures/beforeRender/refresh.js.map +1 -0
  196. package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.d.ts +7 -0
  197. package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.d.ts.map +1 -0
  198. package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.js +21 -0
  199. package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.js.map +1 -0
  200. package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.d.ts +7 -0
  201. package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.d.ts.map +1 -0
  202. package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.js +55 -0
  203. package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.js.map +1 -0
  204. package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.d.ts +7 -0
  205. package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.d.ts.map +1 -0
  206. package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.js +24 -0
  207. package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.js.map +1 -0
  208. package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.d.ts +9 -0
  209. package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.d.ts.map +1 -0
  210. package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.js +232 -0
  211. package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.js.map +1 -0
  212. package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.d.ts +7 -0
  213. package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.d.ts.map +1 -0
  214. package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.js +18 -0
  215. package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.js.map +1 -0
  216. package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.d.ts +23 -0
  217. package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.d.ts.map +1 -0
  218. package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.js +135 -0
  219. package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.js.map +1 -0
  220. package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.d.ts +14 -0
  221. package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.d.ts.map +1 -0
  222. package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.js +36 -0
  223. package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.js.map +1 -0
  224. package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.d.ts +19 -0
  225. package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.d.ts.map +1 -0
  226. package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.js +157 -0
  227. package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.js.map +1 -0
  228. package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.d.ts +29 -0
  229. package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.d.ts.map +1 -0
  230. package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.js +214 -0
  231. package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.js.map +1 -0
  232. package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.d.ts +11 -0
  233. package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.d.ts.map +1 -0
  234. package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.js +26 -0
  235. package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.js.map +1 -0
  236. package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.d.ts +12 -0
  237. package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.d.ts.map +1 -0
  238. package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.js +51 -0
  239. package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.js.map +1 -0
  240. package/lib/src/core/features/uIFeatures/index.d.ts +55 -0
  241. package/lib/src/core/features/uIFeatures/index.d.ts.map +1 -0
  242. package/lib/src/core/features/uIFeatures/index.js +95 -0
  243. package/lib/src/core/features/uIFeatures/index.js.map +1 -0
  244. package/lib/src/core/generators/ColumnGenerator.d.ts +349 -0
  245. package/lib/src/core/generators/ColumnGenerator.d.ts.map +1 -0
  246. package/lib/src/core/generators/ColumnGenerator.js +725 -0
  247. package/lib/src/core/generators/ColumnGenerator.js.map +1 -0
  248. package/lib/src/core/generators/ColumnGenerator.types.d.ts +149 -0
  249. package/lib/src/core/generators/ColumnGenerator.types.d.ts.map +1 -0
  250. package/lib/src/core/generators/ColumnGenerator.types.js +2 -0
  251. package/lib/src/core/generators/ColumnGenerator.types.js.map +1 -0
  252. package/lib/src/core/generators/GroupGenerator.d.ts +59 -0
  253. package/lib/src/core/generators/GroupGenerator.d.ts.map +1 -0
  254. package/lib/src/core/generators/GroupGenerator.js +64 -0
  255. package/lib/src/core/generators/GroupGenerator.js.map +1 -0
  256. package/lib/src/core/generators/RowGenerator.d.ts +97 -0
  257. package/lib/src/core/generators/RowGenerator.d.ts.map +1 -0
  258. package/lib/src/core/generators/RowGenerator.js +285 -0
  259. package/lib/src/core/generators/RowGenerator.js.map +1 -0
  260. package/lib/src/core/generators/RowGenerator.types.d.ts +95 -0
  261. package/lib/src/core/generators/RowGenerator.types.d.ts.map +1 -0
  262. package/lib/src/core/generators/RowGenerator.types.js +2 -0
  263. package/lib/src/core/generators/RowGenerator.types.js.map +1 -0
  264. package/lib/src/core/generators/ViewGenerator.d.ts +280 -0
  265. package/lib/src/core/generators/ViewGenerator.d.ts.map +1 -0
  266. package/lib/src/core/generators/ViewGenerator.js +585 -0
  267. package/lib/src/core/generators/ViewGenerator.js.map +1 -0
  268. package/lib/src/core/generators/ViewGenerator.types.d.ts +180 -0
  269. package/lib/src/core/generators/ViewGenerator.types.d.ts.map +1 -0
  270. package/lib/src/core/generators/ViewGenerator.types.js +2 -0
  271. package/lib/src/core/generators/ViewGenerator.types.js.map +1 -0
  272. package/lib/src/core/generators/__tests__/viewUtilityMockSetup.d.ts +69 -0
  273. package/lib/src/core/generators/__tests__/viewUtilityMockSetup.d.ts.map +1 -0
  274. package/lib/src/core/generators/__tests__/viewUtilityMockSetup.js +16 -0
  275. package/lib/src/core/generators/__tests__/viewUtilityMockSetup.js.map +1 -0
  276. package/lib/src/core/generators/viewUtilityMethods.d.ts +316 -0
  277. package/lib/src/core/generators/viewUtilityMethods.d.ts.map +1 -0
  278. package/lib/src/core/generators/viewUtilityMethods.js +542 -0
  279. package/lib/src/core/generators/viewUtilityMethods.js.map +1 -0
  280. package/lib/src/core/index.d.ts +7 -0
  281. package/lib/src/core/index.d.ts.map +1 -0
  282. package/lib/src/core/index.js +80 -0
  283. package/lib/src/core/index.js.map +1 -0
  284. package/lib/src/core/pubSub/events.d.ts +6 -0
  285. package/lib/src/core/pubSub/events.d.ts.map +1 -0
  286. package/lib/src/core/pubSub/events.js +6 -0
  287. package/lib/src/core/pubSub/events.js.map +1 -0
  288. package/lib/src/core/pubSub/index.d.ts +7 -0
  289. package/lib/src/core/pubSub/index.d.ts.map +1 -0
  290. package/lib/src/core/pubSub/index.js +35 -0
  291. package/lib/src/core/pubSub/index.js.map +1 -0
  292. package/lib/src/core/reducers/aggregation.d.ts +5 -0
  293. package/lib/src/core/reducers/aggregation.d.ts.map +1 -0
  294. package/lib/src/core/reducers/aggregation.js +35 -0
  295. package/lib/src/core/reducers/aggregation.js.map +1 -0
  296. package/lib/src/core/reducers/bootstrap.d.ts +5 -0
  297. package/lib/src/core/reducers/bootstrap.d.ts.map +1 -0
  298. package/lib/src/core/reducers/bootstrap.js +12 -0
  299. package/lib/src/core/reducers/bootstrap.js.map +1 -0
  300. package/lib/src/core/reducers/columnAlias.d.ts +5 -0
  301. package/lib/src/core/reducers/columnAlias.d.ts.map +1 -0
  302. package/lib/src/core/reducers/columnAlias.js +28 -0
  303. package/lib/src/core/reducers/columnAlias.js.map +1 -0
  304. package/lib/src/core/reducers/conditionalStyleFormat.d.ts +5 -0
  305. package/lib/src/core/reducers/conditionalStyleFormat.d.ts.map +1 -0
  306. package/lib/src/core/reducers/conditionalStyleFormat.js +13 -0
  307. package/lib/src/core/reducers/conditionalStyleFormat.js.map +1 -0
  308. package/lib/src/core/reducers/customColumn.d.ts +5 -0
  309. package/lib/src/core/reducers/customColumn.d.ts.map +1 -0
  310. package/lib/src/core/reducers/customColumn.js +40 -0
  311. package/lib/src/core/reducers/customColumn.js.map +1 -0
  312. package/lib/src/core/reducers/dragDrop.d.ts +6 -0
  313. package/lib/src/core/reducers/dragDrop.d.ts.map +1 -0
  314. package/lib/src/core/reducers/dragDrop.js +100 -0
  315. package/lib/src/core/reducers/dragDrop.js.map +1 -0
  316. package/lib/src/core/reducers/edit.d.ts +5 -0
  317. package/lib/src/core/reducers/edit.d.ts.map +1 -0
  318. package/lib/src/core/reducers/edit.js +65 -0
  319. package/lib/src/core/reducers/edit.js.map +1 -0
  320. package/lib/src/core/reducers/error.d.ts +69 -0
  321. package/lib/src/core/reducers/error.d.ts.map +1 -0
  322. package/lib/src/core/reducers/error.js +21 -0
  323. package/lib/src/core/reducers/error.js.map +1 -0
  324. package/lib/src/core/reducers/externalState.d.ts +5 -0
  325. package/lib/src/core/reducers/externalState.d.ts.map +1 -0
  326. package/lib/src/core/reducers/externalState.js +20 -0
  327. package/lib/src/core/reducers/externalState.js.map +1 -0
  328. package/lib/src/core/reducers/filter.d.ts +5 -0
  329. package/lib/src/core/reducers/filter.d.ts.map +1 -0
  330. package/lib/src/core/reducers/filter.js +29 -0
  331. package/lib/src/core/reducers/filter.js.map +1 -0
  332. package/lib/src/core/reducers/forceUpdate.d.ts +5 -0
  333. package/lib/src/core/reducers/forceUpdate.d.ts.map +1 -0
  334. package/lib/src/core/reducers/forceUpdate.js +25 -0
  335. package/lib/src/core/reducers/forceUpdate.js.map +1 -0
  336. package/lib/src/core/reducers/freeze.d.ts +5 -0
  337. package/lib/src/core/reducers/freeze.d.ts.map +1 -0
  338. package/lib/src/core/reducers/freeze.js +36 -0
  339. package/lib/src/core/reducers/freeze.js.map +1 -0
  340. package/lib/src/core/reducers/grouping.d.ts +5 -0
  341. package/lib/src/core/reducers/grouping.d.ts.map +1 -0
  342. package/lib/src/core/reducers/grouping.js +142 -0
  343. package/lib/src/core/reducers/grouping.js.map +1 -0
  344. package/lib/src/core/reducers/index.d.ts +5 -0
  345. package/lib/src/core/reducers/index.d.ts.map +1 -0
  346. package/lib/src/core/reducers/index.js +77 -0
  347. package/lib/src/core/reducers/index.js.map +1 -0
  348. package/lib/src/core/reducers/moveRecords.d.ts +5 -0
  349. package/lib/src/core/reducers/moveRecords.d.ts.map +1 -0
  350. package/lib/src/core/reducers/moveRecords.js +10 -0
  351. package/lib/src/core/reducers/moveRecords.js.map +1 -0
  352. package/lib/src/core/reducers/notificationsReducer.d.ts +4 -0
  353. package/lib/src/core/reducers/notificationsReducer.d.ts.map +1 -0
  354. package/lib/src/core/reducers/notificationsReducer.js +49 -0
  355. package/lib/src/core/reducers/notificationsReducer.js.map +1 -0
  356. package/lib/src/core/reducers/paginations.d.ts +5 -0
  357. package/lib/src/core/reducers/paginations.d.ts.map +1 -0
  358. package/lib/src/core/reducers/paginations.js +19 -0
  359. package/lib/src/core/reducers/paginations.js.map +1 -0
  360. package/lib/src/core/reducers/personalizationDirtyReducer.d.ts +5 -0
  361. package/lib/src/core/reducers/personalizationDirtyReducer.d.ts.map +1 -0
  362. package/lib/src/core/reducers/personalizationDirtyReducer.js +46 -0
  363. package/lib/src/core/reducers/personalizationDirtyReducer.js.map +1 -0
  364. package/lib/src/core/reducers/personalizationReducer.d.ts +5 -0
  365. package/lib/src/core/reducers/personalizationReducer.d.ts.map +1 -0
  366. package/lib/src/core/reducers/personalizationReducer.js +238 -0
  367. package/lib/src/core/reducers/personalizationReducer.js.map +1 -0
  368. package/lib/src/core/reducers/refresh.d.ts +5 -0
  369. package/lib/src/core/reducers/refresh.d.ts.map +1 -0
  370. package/lib/src/core/reducers/refresh.js +16 -0
  371. package/lib/src/core/reducers/refresh.js.map +1 -0
  372. package/lib/src/core/reducers/renderFormatter.d.ts +5 -0
  373. package/lib/src/core/reducers/renderFormatter.d.ts.map +1 -0
  374. package/lib/src/core/reducers/renderFormatter.js +22 -0
  375. package/lib/src/core/reducers/renderFormatter.js.map +1 -0
  376. package/lib/src/core/reducers/resize.d.ts +5 -0
  377. package/lib/src/core/reducers/resize.d.ts.map +1 -0
  378. package/lib/src/core/reducers/resize.js +32 -0
  379. package/lib/src/core/reducers/resize.js.map +1 -0
  380. package/lib/src/core/reducers/rowSelect.d.ts +5 -0
  381. package/lib/src/core/reducers/rowSelect.d.ts.map +1 -0
  382. package/lib/src/core/reducers/rowSelect.js +86 -0
  383. package/lib/src/core/reducers/rowSelect.js.map +1 -0
  384. package/lib/src/core/reducers/sanitize.d.ts +5 -0
  385. package/lib/src/core/reducers/sanitize.d.ts.map +1 -0
  386. package/lib/src/core/reducers/sanitize.js +21 -0
  387. package/lib/src/core/reducers/sanitize.js.map +1 -0
  388. package/lib/src/core/reducers/search.d.ts +5 -0
  389. package/lib/src/core/reducers/search.d.ts.map +1 -0
  390. package/lib/src/core/reducers/search.js +13 -0
  391. package/lib/src/core/reducers/search.js.map +1 -0
  392. package/lib/src/core/reducers/showHeaderIcons.d.ts +5 -0
  393. package/lib/src/core/reducers/showHeaderIcons.d.ts.map +1 -0
  394. package/lib/src/core/reducers/showHeaderIcons.js +13 -0
  395. package/lib/src/core/reducers/showHeaderIcons.js.map +1 -0
  396. package/lib/src/core/reducers/smallScreen.d.ts +5 -0
  397. package/lib/src/core/reducers/smallScreen.d.ts.map +1 -0
  398. package/lib/src/core/reducers/smallScreen.js +22 -0
  399. package/lib/src/core/reducers/smallScreen.js.map +1 -0
  400. package/lib/src/core/reducers/sort.d.ts +5 -0
  401. package/lib/src/core/reducers/sort.d.ts.map +1 -0
  402. package/lib/src/core/reducers/sort.js +71 -0
  403. package/lib/src/core/reducers/sort.js.map +1 -0
  404. package/lib/src/core/reducers/versioning/index.d.ts +16 -0
  405. package/lib/src/core/reducers/versioning/index.d.ts.map +1 -0
  406. package/lib/src/core/reducers/versioning/index.js +46 -0
  407. package/lib/src/core/reducers/versioning/index.js.map +1 -0
  408. package/lib/src/core/reducers/versioning/v1.d.ts +136 -0
  409. package/lib/src/core/reducers/versioning/v1.d.ts.map +1 -0
  410. package/lib/src/core/reducers/versioning/v1.js +156 -0
  411. package/lib/src/core/reducers/versioning/v1.js.map +1 -0
  412. package/lib/src/core/reducers/visibility.d.ts +5 -0
  413. package/lib/src/core/reducers/visibility.d.ts.map +1 -0
  414. package/lib/src/core/reducers/visibility.js +49 -0
  415. package/lib/src/core/reducers/visibility.js.map +1 -0
  416. package/lib/src/core/test/junitMocks.d.ts +756 -0
  417. package/lib/src/core/test/junitMocks.d.ts.map +1 -0
  418. package/lib/src/core/test/junitMocks.js +2923 -0
  419. package/lib/src/core/test/junitMocks.js.map +1 -0
  420. package/lib/src/core/test/samples/a11ySample.d.ts +8 -0
  421. package/lib/src/core/test/samples/a11ySample.d.ts.map +1 -0
  422. package/lib/src/core/test/samples/a11ySample.js +1131 -0
  423. package/lib/src/core/test/samples/a11ySample.js.map +1 -0
  424. package/lib/src/core/test/samples/a11ySampleWithLoaders.d.ts +8 -0
  425. package/lib/src/core/test/samples/a11ySampleWithLoaders.d.ts.map +1 -0
  426. package/lib/src/core/test/samples/a11ySampleWithLoaders.js +1134 -0
  427. package/lib/src/core/test/samples/a11ySampleWithLoaders.js.map +1 -0
  428. package/lib/src/core/test/samples/utils.d.ts +2 -0
  429. package/lib/src/core/test/samples/utils.d.ts.map +1 -0
  430. package/lib/src/core/test/samples/utils.js +9 -0
  431. package/lib/src/core/test/samples/utils.js.map +1 -0
  432. package/lib/src/core/test/utils/rowDragDropUtils.d.ts +20 -0
  433. package/lib/src/core/test/utils/rowDragDropUtils.d.ts.map +1 -0
  434. package/lib/src/core/test/utils/rowDragDropUtils.js +98 -0
  435. package/lib/src/core/test/utils/rowDragDropUtils.js.map +1 -0
  436. package/lib/src/core/utils/condition-utils.d.ts +15 -0
  437. package/lib/src/core/utils/condition-utils.d.ts.map +1 -0
  438. package/lib/src/core/utils/condition-utils.js +114 -0
  439. package/lib/src/core/utils/condition-utils.js.map +1 -0
  440. package/lib/src/core/utils/util.d.ts +380 -0
  441. package/lib/src/core/utils/util.d.ts.map +1 -0
  442. package/lib/src/core/utils/util.js +912 -0
  443. package/lib/src/core/utils/util.js.map +1 -0
  444. package/lib/src/core/utils/util.types.d.ts +43 -0
  445. package/lib/src/core/utils/util.types.d.ts.map +1 -0
  446. package/lib/src/core/utils/util.types.js +2 -0
  447. package/lib/src/core/utils/util.types.js.map +1 -0
  448. package/lib/types/ApiContext.types.d.ts +392 -0
  449. package/lib/types/ApiContext.types.d.ts.map +1 -0
  450. package/lib/types/ApiContext.types.js +2 -0
  451. package/lib/types/ApiContext.types.js.map +1 -0
  452. package/lib/types/Meta.types.d.ts +705 -0
  453. package/lib/types/Meta.types.d.ts.map +1 -0
  454. package/lib/types/Meta.types.js +37 -0
  455. package/lib/types/Meta.types.js.map +1 -0
  456. package/lib/types/RsCoreBootArgs.types.d.ts +103 -0
  457. package/lib/types/RsCoreBootArgs.types.d.ts.map +1 -0
  458. package/lib/types/RsCoreBootArgs.types.js +2 -0
  459. package/lib/types/RsCoreBootArgs.types.js.map +1 -0
  460. package/lib/types/State.types.d.ts +374 -0
  461. package/lib/types/State.types.d.ts.map +1 -0
  462. package/lib/types/State.types.js +5 -0
  463. package/lib/types/State.types.js.map +1 -0
  464. package/lib/types.d.ts +30 -0
  465. package/lib/types.d.ts.map +1 -0
  466. package/lib/types.js +2 -0
  467. package/lib/types.js.map +1 -0
  468. package/package.json +30 -0
@@ -0,0 +1,504 @@
1
+ import type { FieldDef, Meta } from '../../../types/Meta.types';
2
+ import type { AggregationType, Group, Sort, State } from '../../../types/State.types';
3
+ import type { STATE } from '../constants';
4
+ import type { FeatureProps } from '../features/featureFactory';
5
+ import type Column from '../generators/ColumnGenerator';
6
+ import type { RowData } from '../generators/RowGenerator.types';
7
+ import type View from '../generators/ViewGenerator';
8
+ import ActionTypes from './actionConstants';
9
+ import * as Actions from './actions';
10
+ /** A Type function utility that accepts an object of methods and returns a union of return type of all the methods. Used in case of actions functions. */
11
+ type GenerateActionType<T extends {
12
+ [key: string]: (...args: any[]) => any;
13
+ }> = {
14
+ [K in keyof T]: ReturnType<T[K]>;
15
+ }[keyof T];
16
+ export interface ActionMeta {
17
+ /**
18
+ * Instantly dispatches a render by calling the external store reference's dispatch method.
19
+ * This action bypasses the usual waiting for actions, features, or side effects to complete.
20
+ */
21
+ instantRender?: boolean;
22
+ /** Indicates to skip the action queue and directly call reducer. */
23
+ skipActionQueue?: boolean;
24
+ /** Indicates to take latest action from the action queue if multiple actions of same type are present. */
25
+ takeLatestAction?: boolean;
26
+ }
27
+ export interface ColumnFilteringActionPayload {
28
+ filterExp: NonNullable<State['filterExpression']>;
29
+ }
30
+ export interface ColumnSortPayload {
31
+ id: FieldDef['id'];
32
+ flushState: boolean;
33
+ sortOrderId: Sort['order'];
34
+ }
35
+ export interface PaginationPayload {
36
+ id: string;
37
+ startIndex: number;
38
+ endIndex: number;
39
+ }
40
+ export interface PaginateAction extends ActionMeta {
41
+ payload: PaginationPayload;
42
+ type: typeof ActionTypes.PAGINATE;
43
+ }
44
+ export interface ColumnResizePayload {
45
+ data: {
46
+ [fieldId: string]: number;
47
+ };
48
+ }
49
+ export interface ColumnDragDropAction {
50
+ payload: {
51
+ sourceColId: string;
52
+ targetColId: string;
53
+ };
54
+ type: typeof ActionTypes.COLUMN_DRAG_DROP;
55
+ }
56
+ export interface ExpandCollapsePayload {
57
+ groupHeader?: NonNullable<View['groupHeaders']>[number];
58
+ groups?: Group[];
59
+ }
60
+ export interface MoveRecordKeysUpdatePayload {
61
+ sourceID?: string;
62
+ destinationID?: string;
63
+ sourceKey?: string;
64
+ destinationKey?: string;
65
+ }
66
+ export interface RowSelectionUpdatePayload {
67
+ key: string;
68
+ selected: boolean;
69
+ data: RowData;
70
+ status: typeof STATE.NOT_STARTED;
71
+ mode: Meta['selectionMode'];
72
+ }
73
+ export interface RowSelectionItemsUpdatePayload {
74
+ selectedRows: string[];
75
+ mode: NonNullable<Meta['selectionMode']>;
76
+ }
77
+ export interface UpdateRowSelectionStatusPayload {
78
+ keys: string[];
79
+ status: typeof STATE.IN_PROGRESS;
80
+ mode: NonNullable<Meta['selectionMode']>;
81
+ }
82
+ export type SearchGlobalActionAsFunction = (dispatch: FeatureProps['dispatch'], getState: FeatureProps['getState'], meta: Meta) => void;
83
+ export interface SearchGlobalAction {
84
+ type: typeof ActionTypes.SEARCH;
85
+ payload: {
86
+ query: string;
87
+ fields: string[];
88
+ };
89
+ }
90
+ export interface MergeColumnsPayload {
91
+ sourceId: string;
92
+ targetId: string;
93
+ title: string;
94
+ templateName: string;
95
+ bHideColumns: boolean;
96
+ uniqueID: string;
97
+ hideColumns?: [string, string];
98
+ }
99
+ export interface DeleteCustomColumnPayload {
100
+ columnId: FieldDef['id'] | FieldDef['id'][];
101
+ }
102
+ export type SanitizableProperties = Pick<State, 'sortingOrder' | 'freezeColumns' | 'hiddenColumns' | 'columnWidths' | 'colOrder' | 'aggregationInfo' | 'groups' | 'customFields' | 'filterExpression' | 'hierarchicalGroup' | 'renderFormatter'>;
103
+ export interface UpdateAggregationPayload {
104
+ columnId: FieldDef['id'];
105
+ type: AggregationType;
106
+ }
107
+ export interface UpdateRenderFormatterPayload {
108
+ columnId: FieldDef['id'];
109
+ name: Column['formatterName'];
110
+ }
111
+ export interface ChangeLabelActionPayload {
112
+ columnId: FieldDef['id'];
113
+ label: Column['label'];
114
+ }
115
+ export interface SubmitChangeSetPayload {
116
+ key: string;
117
+ name: string;
118
+ newValue: string | number | Date | boolean;
119
+ oldValue: string | number | Date | boolean;
120
+ status: string;
121
+ }
122
+ export type PersonalizationCreateAction = ReturnType<typeof Actions.actionPersonalizationCreate>;
123
+ export type PersonalizationDeleteAction = ReturnType<typeof Actions.actionPersonalizationDelete>;
124
+ export type PersonalizationEditAction = ReturnType<typeof Actions.actionPersonalizationEdit>;
125
+ export type PersonalizationSetActiveAction = ReturnType<typeof Actions.actionPersonalizationSetActive>;
126
+ export type PersonalizationSetAppDefaultAction = ReturnType<typeof Actions.actionPersonalizationSetAppDefault>;
127
+ export type PersonalizationSetDefaultAction = ReturnType<typeof Actions.actionPersonalizationSetDefault>;
128
+ export type PersonalizationUpdateAction = ReturnType<typeof Actions.actionPersonalizationUpdate>;
129
+ export type PersonalizationUpdateIdAction = ReturnType<typeof Actions.actionPersonalizationUpdateId>;
130
+ export type PersonalizationUpdatePresetIdAction = ReturnType<typeof Actions.actionPersonalizationUpdatePresetId>;
131
+ export type GetPersonalizationsAction = ReturnType<typeof Actions.actionGetPersonalizations>;
132
+ export type PersonalizationActions = PersonalizationCreateAction | PersonalizationDeleteAction | PersonalizationEditAction | PersonalizationSetActiveAction | PersonalizationSetAppDefaultAction | PersonalizationSetDefaultAction | PersonalizationUpdateAction | PersonalizationUpdateIdAction | PersonalizationUpdatePresetIdAction | GetPersonalizationsAction;
133
+ export type ActionAsFunction = SearchGlobalActionAsFunction;
134
+ declare const objectActions: {
135
+ actionNotificationAdd(notifications: import("../../../types/State.types").Notification | import("../../../types/State.types").Notification[]): {
136
+ type: "NOTIFICATION_ADD";
137
+ payload: {
138
+ msgs: import("../../../types/State.types").Notification[];
139
+ };
140
+ };
141
+ actionNotificationRemove(ids: string | string[]): {
142
+ type: "NOTIFICATION_REMOVE";
143
+ payload: {
144
+ ids: string | string[];
145
+ };
146
+ };
147
+ actionGroupingExpandCollapseAll(payload: boolean): {
148
+ type: "toggleExpandCollapseAll";
149
+ payload: boolean;
150
+ };
151
+ actionColumnFiltering(payload: ColumnFilteringActionPayload): {
152
+ type: "columnFiltering";
153
+ payload: ColumnFilteringActionPayload;
154
+ };
155
+ actionClearFiltering(colId: string): {
156
+ type: "columnClearFiltering";
157
+ payload: {
158
+ colId: string;
159
+ };
160
+ };
161
+ actionColumnSort(payload: ColumnSortPayload): {
162
+ type: "columnSort";
163
+ payload: ColumnSortPayload;
164
+ };
165
+ actionUpdateSort(payload: NonNullable<State["sortingOrder"]>): {
166
+ type: "updateSort";
167
+ payload: Sort[];
168
+ };
169
+ actionPaginate(payload: PaginationPayload, actionMeta?: ActionMeta): PaginateAction;
170
+ actionRowHeightChange(payload: typeof import("../../../types/Meta.types").ROW_DENSITY[keyof typeof import("../../../types/Meta.types").ROW_DENSITY]): {
171
+ type: "rowHeightChange";
172
+ payload: "1" | "2" | "3" | "4";
173
+ };
174
+ actionColumnResize(columnResizeObj: ColumnResizePayload["data"]): {
175
+ type: "columnResize";
176
+ payload: {
177
+ data: {
178
+ [fieldId: string]: number;
179
+ };
180
+ };
181
+ };
182
+ actionColumnAutoSize(column: Column, domContainer: NonNullable<View["domContainer"]>, forceAutoSize?: boolean): {
183
+ type: "columnResize";
184
+ payload: {
185
+ data: {
186
+ [x: string]: number;
187
+ };
188
+ };
189
+ };
190
+ actionColumnsAutoSize(columns: Column[], domContainer: NonNullable<View["domContainer"]>, reset?: boolean): {
191
+ type: "columnResize";
192
+ payload: {
193
+ data: ColumnResizePayload["data"];
194
+ };
195
+ };
196
+ actionColumnToggle(toggledColumns: string[]): {
197
+ type: "columnToggle";
198
+ payload: string[];
199
+ };
200
+ actionHiddenColumnUpdate(hiddenColumns: string[], ootbColumns: {
201
+ dragHandle?: boolean;
202
+ }): {
203
+ type: "hiddenColumnUpdate";
204
+ payload: {
205
+ hiddenColumns: string[];
206
+ ootbColumns: {
207
+ dragHandle?: boolean;
208
+ };
209
+ };
210
+ };
211
+ actionColumnPin(pinnedColumns: string[]): {
212
+ type: "togglePin";
213
+ payload: string[];
214
+ };
215
+ actionColumnPinAtIndex(pinnedColumn: string, index: number): {
216
+ type: "togglePinAtIndex";
217
+ payload: {
218
+ pinnedColumn: string;
219
+ index: number;
220
+ };
221
+ };
222
+ actionColumnDragDrop(sourceColId: string, targetColId: string): ColumnDragDropAction;
223
+ actionToggleGrouping(payload: FieldDef): {
224
+ type: "toggleGrouping";
225
+ payload: FieldDef;
226
+ };
227
+ actionToggleExpandCollpase(payload: ExpandCollapsePayload): {
228
+ type: "toggleExpandCollapse";
229
+ payload: ExpandCollapsePayload;
230
+ };
231
+ actionToggleGroupingSort(payload: FieldDef): {
232
+ type: "toggleGroupingSort";
233
+ payload: FieldDef;
234
+ };
235
+ actionAddGroups(payload: Group[]): {
236
+ type: "addGroups";
237
+ payload: Group[];
238
+ };
239
+ actionMoveRecordKeysUpdate(payload: MoveRecordKeysUpdatePayload): {
240
+ type: "moverecordkeys";
241
+ payload: MoveRecordKeysUpdatePayload;
242
+ };
243
+ actionRowSelectionUpdate(payload: RowSelectionUpdatePayload): {
244
+ type: "updateRowSelection";
245
+ payload: RowSelectionUpdatePayload;
246
+ };
247
+ actionRowSelectionItemsUpdate(payload: RowSelectionItemsUpdatePayload): {
248
+ type: "UPDATE_ROW_SELECTION_ITEMS";
249
+ payload: RowSelectionItemsUpdatePayload;
250
+ };
251
+ actionUpdateRowSelectionStatus(payload: UpdateRowSelectionStatusPayload): {
252
+ type: "UPDATE_ROW_SELECTION_STATUS";
253
+ payload: UpdateRowSelectionStatusPayload;
254
+ };
255
+ actionClearRowSelectionStatus(payload: {
256
+ keys: string[];
257
+ }): {
258
+ type: "CLEAR_ROW_SELECTION";
259
+ payload: {
260
+ keys: string[];
261
+ };
262
+ };
263
+ actionMergeColumns(payload: MergeColumnsPayload): {
264
+ type: "columnMerge";
265
+ payload: MergeColumnsPayload;
266
+ };
267
+ actionGetPersonalizations(payload: NonNullable<State["personalization"]> & {
268
+ personalizationKey?: string;
269
+ }): {
270
+ skipActionQueue: boolean;
271
+ type: "PERSONALIZATION_GET";
272
+ payload: import("../../../types/State.types").Personalization & {
273
+ personalizationKey?: string;
274
+ };
275
+ };
276
+ actionDeleteCustomColumn(payload: DeleteCustomColumnPayload): {
277
+ type: "customColumnDelete";
278
+ payload: DeleteCustomColumnPayload;
279
+ };
280
+ actionHydrateState(payload: State): {
281
+ skipActionQueue: boolean;
282
+ type: "HYDRATE_STATE";
283
+ payload: State;
284
+ };
285
+ actionSanitizeState(payload: SanitizableProperties): {
286
+ skipActionQueue: boolean;
287
+ type: "sanitizeState";
288
+ payload: SanitizableProperties;
289
+ };
290
+ actionUpdateColumnOrder(payload: [string]): {
291
+ type: "updateColumnOrder";
292
+ payload: [string];
293
+ };
294
+ actionNewColumnOrder(payload: string[]): {
295
+ type: "newColumnOrder";
296
+ payload: string[];
297
+ };
298
+ actionUpdateTableHeight(payload: View["bodyHeight"]): {
299
+ type: "updateTableHeight";
300
+ payload: string | number | undefined;
301
+ };
302
+ actionPersonalizationUpdate(personalizationKey: string, markAsDefault: boolean, markAsAppDefault: boolean): {
303
+ type: "PERSONALIZATION_UPDATE";
304
+ payload: {
305
+ personalizationKey: string;
306
+ markAsDefault: boolean;
307
+ markAsAppDefault: boolean;
308
+ };
309
+ };
310
+ actionPersonalizationUpdateId(oldPersonalizationId: string, newPersonalizationId: string): {
311
+ type: "PERSONALIZATION_UPDATE_ID";
312
+ payload: {
313
+ oldPersonalizationId: string;
314
+ newPersonalizationId: string;
315
+ };
316
+ };
317
+ actionPersonalizationUpdatePresetId(personalizationKey: string, oldPresetId: string, newPresetId: string): {
318
+ type: "PERSONALIZATION_UPDATE_PRESET_ID";
319
+ payload: {
320
+ oldPresetId: string;
321
+ newPresetId: string;
322
+ personalizationKey: string;
323
+ };
324
+ };
325
+ actionPersonalizationDelete(personalizationKey: string, deletePresetPersonalizations?: boolean): {
326
+ type: "PERSONALIZATION_DELETE";
327
+ payload: {
328
+ personalizationKey: string;
329
+ deletePresetPersonalizations: boolean | undefined;
330
+ };
331
+ };
332
+ actionPersonalizationSetActive({ id, isPreset }: {
333
+ id: string;
334
+ isPreset: boolean;
335
+ }): {
336
+ type: "PERSONALIZATION_SET_ACTIVE";
337
+ payload: {
338
+ personalizationKey: string;
339
+ isPreset: boolean;
340
+ };
341
+ };
342
+ actionPersonalizationCreate(personalizationName: string, markAsDefault: boolean, template?: string, presetId?: string): {
343
+ type: "PERSONALIZATION_CREATE";
344
+ payload: {
345
+ personalizationKey: string;
346
+ personalizationName: string;
347
+ markAsDefault: boolean;
348
+ template: string | undefined;
349
+ presetId: string | undefined;
350
+ };
351
+ };
352
+ actionPersonalizationEdit(personalizationKey: string, personalizationName: string, markAsDefault: boolean, markAsAppDefault: boolean): {
353
+ type: "PERSONALIZATION_EDIT";
354
+ payload: {
355
+ personalizationKey: string;
356
+ personalizationName: string;
357
+ markAsDefault: boolean;
358
+ markAsAppDefault: boolean;
359
+ };
360
+ };
361
+ actionPersonalizationSetDefault(personalizationKey: string): {
362
+ type: "PERSONALIZATION_SET_DEFAULT";
363
+ payload: {
364
+ personalizationKey: string;
365
+ };
366
+ };
367
+ actionPersonalizationSetAppDefault(personalizationKey: string, personalizationName: string): {
368
+ type: "PERSONALIZATION_SET_APP_DEFAULT";
369
+ payload: {
370
+ personalizationKey: string;
371
+ personalizationName: string;
372
+ };
373
+ };
374
+ actionBootstrap(): {
375
+ type: "bootstrap";
376
+ };
377
+ actionUpdateStateVersion(): {
378
+ type: "updateStateVersion";
379
+ };
380
+ actionUpdateAggregation(payload: UpdateAggregationPayload): {
381
+ type: "updateAggregation";
382
+ payload: UpdateAggregationPayload;
383
+ };
384
+ actionUpdateAggregations(payload: NonNullable<State["aggregationInfo"]>): {
385
+ type: "updateAggregations";
386
+ payload: import("../../../types/State.types").Aggregation[];
387
+ };
388
+ actionUpdateRenderFormatter(payload: UpdateRenderFormatterPayload): {
389
+ type: "changeRenderFormatter";
390
+ payload: UpdateRenderFormatterPayload;
391
+ };
392
+ actionUpdateDisplayMode(payload: import("../../../types/Meta.types").HierarchicalInfo): {
393
+ type: "COLUMN_DISPLAY_CHANGE’";
394
+ payload: import("../../../types/Meta.types").HierarchicalInfo;
395
+ };
396
+ actionChangeLabel(payload: ChangeLabelActionPayload): {
397
+ type: "changeLabel";
398
+ payload: ChangeLabelActionPayload;
399
+ };
400
+ actionReplaceLabels(payload: NonNullable<State["columnAlias"]>): {
401
+ type: "replaceLabels";
402
+ payload: {
403
+ [key: string]: string;
404
+ };
405
+ };
406
+ actionEditCell(payload: import("../../../types/State.types").EditInfo): {
407
+ type: "changeCellMode";
408
+ payload: import("../../../types/State.types").EditInfo;
409
+ };
410
+ actionUpdateChangeSet(payload: SubmitChangeSetPayload): {
411
+ type: "updateChangeSet";
412
+ payload: SubmitChangeSetPayload;
413
+ };
414
+ actionSubmitChangeSet(payload: SubmitChangeSetPayload): {
415
+ type: "submitChangeSet";
416
+ payload: SubmitChangeSetPayload;
417
+ };
418
+ actionClearChangeSet(payload: SubmitChangeSetPayload): {
419
+ type: "clearChangeSet";
420
+ payload: SubmitChangeSetPayload;
421
+ };
422
+ actionShowHeaderIcons(showHeaderIcons: boolean): {
423
+ type: "showHeaderIcons";
424
+ payload: boolean;
425
+ };
426
+ actionForceUpdate(instantRender?: boolean, forceUpdateFeatures?: State["forceUpdateFeatures"]): {
427
+ instantRender: boolean;
428
+ type: "forceUpdate";
429
+ payload: {
430
+ forceUpdateFeatures: {
431
+ forceRenderOnNextRun?: boolean;
432
+ forceCalculateAutoWidth?: boolean;
433
+ updateSelectedRows?: number;
434
+ };
435
+ };
436
+ };
437
+ actionForceRefresh(flushState?: {
438
+ [key: string]: boolean;
439
+ }, featuresToAvoid?: string[]): {
440
+ type: "forceRefresh";
441
+ payload: {
442
+ stateToReset: {};
443
+ featuresToAvoid: string[];
444
+ };
445
+ };
446
+ actionToggleSelectAllCheckbox(payload: {
447
+ showSelectAllCheckbox: boolean;
448
+ }): {
449
+ type: "toggleSelectAllCheckbox";
450
+ payload: {
451
+ showSelectAllCheckbox: boolean;
452
+ };
453
+ };
454
+ actionSetDataRefreshNotification(): {
455
+ type: "notifyDataRefresh";
456
+ };
457
+ actionClearDataRefreshNotification(): {
458
+ type: "clearDataRefreshNotification";
459
+ };
460
+ showConfirmationAction(): {
461
+ type: "userConfirmationAction";
462
+ instantRender: boolean;
463
+ };
464
+ completeConfirmationAction(): {
465
+ type: "completeUserConfirmationAction";
466
+ instantRender: boolean;
467
+ };
468
+ setDataErrors(payload: import("../../../types/State.types").Errors["dataErrors"]): {
469
+ type: "setDataError";
470
+ payload: import("../../../types/State.types").DataError;
471
+ };
472
+ setDomContainerResponsiveBreakpoints(payload: {
473
+ breakpoint: string;
474
+ value: boolean;
475
+ }): {
476
+ type: "setDomContainerResponsiveBreakpoints";
477
+ payload: {
478
+ breakpoint: string;
479
+ value: boolean;
480
+ };
481
+ };
482
+ setExternalState(payload: NonNullable<State["externalState"]>): {
483
+ type: "setInExternalState";
484
+ payload: {
485
+ [key: string]: object;
486
+ };
487
+ };
488
+ updateColumnsVisibility(payload: {
489
+ [key: FieldDef["id"]]: boolean;
490
+ }): {
491
+ type: "updateColumnsVisibility";
492
+ payload: {
493
+ [key: string]: boolean;
494
+ };
495
+ };
496
+ setConditionalStyleFormats(payload: import("../../../types/Meta.types").ConditionalStyleFormat[]): {
497
+ type: "setConditionalStyleFormats";
498
+ payload: import("../../../types/Meta.types").ConditionalStyleFormat[];
499
+ };
500
+ };
501
+ export type Action = GenerateActionType<typeof objectActions> | SearchGlobalAction;
502
+ export type BaseAction = Action | ActionAsFunction;
503
+ export {};
504
+ //# sourceMappingURL=actions.types.d.ts.map
@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C,6BAA6B,CAC7C,CAAC;AACF,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAC1D,OAAO,OAAO,CAAC,mCAAmC,CACnD,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAC7F,MAAM,MAAM,sBAAsB,GAC9B,2BAA2B,GAC3B,2BAA2B,GAC3B,yBAAyB,GACzB,8BAA8B,GAC9B,kCAAkC,GAClC,+BAA+B,GAC/B,2BAA2B,GAC3B,6BAA6B,GAC7B,mCAAmC,GACnC,yBAAyB,CAAC;AAI9B,MAAM,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;AAG5D,QAAA,MAA+B,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA9CJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAoDm3B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CANr2B,CAAC;AACzD,MAAM,MAAM,MAAM,GAAG,kBAAkB,CAAC,OAAO,aAAa,CAAC,GAAG,kBAAkB,CAAC;AAInF,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import ActionTypes from './actionConstants';
2
+ import * as Actions from './actions';
3
+ // All Actions of type object with signature {type: TYPE: payload: PAYLOAD}
4
+ const { actionSearchGlobal, ...objectActions } = Actions;
5
+ //# sourceMappingURL=actions.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.types.js","sourceRoot":"","sources":["../../../../src/core/actions/actions.types.ts"],"names":[],"mappings":"AAQA,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAuLrC,2EAA2E;AAC3E,MAAM,EAAE,kBAAkB,EAAE,GAAG,aAAa,EAAE,GAAG,OAAO,CAAC","sourcesContent":["import type { FieldDef, Meta } from '../../../types/Meta.types';\nimport type { AggregationType, Group, Sort, State } from '../../../types/State.types';\nimport type { STATE } from '../constants';\nimport type { FeatureProps } from '../features/featureFactory';\nimport type Column from '../generators/ColumnGenerator';\nimport type { RowData } from '../generators/RowGenerator.types';\nimport type View from '../generators/ViewGenerator';\n\nimport ActionTypes from './actionConstants';\nimport * as Actions from './actions';\n\n/** A Type function utility that accepts an object of methods and returns a union of return type of all the methods. Used in case of actions functions. */\ntype GenerateActionType<T extends { [key: string]: (...args: any[]) => any }> = {\n [K in keyof T]: ReturnType<T[K]>;\n}[keyof T];\n\nexport interface ActionMeta {\n /**\n * Instantly dispatches a render by calling the external store reference's dispatch method.\n * This action bypasses the usual waiting for actions, features, or side effects to complete.\n */\n instantRender?: boolean;\n /** Indicates to skip the action queue and directly call reducer. */\n skipActionQueue?: boolean;\n /** Indicates to take latest action from the action queue if multiple actions of same type are present. */\n takeLatestAction?: boolean;\n}\n\nexport interface ColumnFilteringActionPayload {\n filterExp: NonNullable<State['filterExpression']>;\n}\n\nexport interface ColumnSortPayload {\n id: FieldDef['id'];\n flushState: boolean;\n sortOrderId: Sort['order'];\n}\n\nexport interface PaginationPayload {\n id: string;\n startIndex: number;\n endIndex: number;\n}\n\nexport interface PaginateAction extends ActionMeta {\n payload: PaginationPayload;\n type: typeof ActionTypes.PAGINATE;\n}\n\nexport interface ColumnResizePayload {\n data: { [fieldId: string]: number };\n}\n\nexport interface ColumnDragDropAction {\n payload: {\n sourceColId: string;\n targetColId: string;\n };\n type: typeof ActionTypes.COLUMN_DRAG_DROP;\n}\n\nexport interface ExpandCollapsePayload {\n groupHeader?: NonNullable<View['groupHeaders']>[number];\n groups?: Group[];\n}\n\nexport interface MoveRecordKeysUpdatePayload {\n sourceID?: string;\n destinationID?: string;\n sourceKey?: string;\n destinationKey?: string;\n}\n\nexport interface RowSelectionUpdatePayload {\n key: string;\n selected: boolean;\n data: RowData;\n status: typeof STATE.NOT_STARTED;\n mode: Meta['selectionMode'];\n}\n\nexport interface RowSelectionItemsUpdatePayload {\n selectedRows: string[];\n mode: NonNullable<Meta['selectionMode']>;\n}\n\nexport interface UpdateRowSelectionStatusPayload {\n keys: string[];\n status: typeof STATE.IN_PROGRESS;\n mode: NonNullable<Meta['selectionMode']>;\n}\n\nexport type SearchGlobalActionAsFunction = (\n dispatch: FeatureProps['dispatch'],\n getState: FeatureProps['getState'],\n meta: Meta\n) => void;\n\nexport interface SearchGlobalAction {\n type: typeof ActionTypes.SEARCH;\n payload: { query: string; fields: string[] };\n}\n\nexport interface MergeColumnsPayload {\n sourceId: string;\n targetId: string;\n title: string;\n templateName: string;\n bHideColumns: boolean;\n uniqueID: string;\n hideColumns?: [string, string];\n}\n\nexport interface DeleteCustomColumnPayload {\n columnId: FieldDef['id'] | FieldDef['id'][];\n}\n\n// cSpell:disable-next-line\nexport type SanitizableProperties = Pick<\n State,\n | 'sortingOrder'\n | 'freezeColumns'\n | 'hiddenColumns'\n | 'columnWidths'\n | 'colOrder'\n | 'aggregationInfo'\n | 'groups'\n | 'customFields'\n | 'filterExpression'\n | 'hierarchicalGroup'\n | 'renderFormatter'\n>;\nexport interface UpdateAggregationPayload {\n columnId: FieldDef['id'];\n type: AggregationType;\n}\n\nexport interface UpdateRenderFormatterPayload {\n columnId: FieldDef['id'];\n name: Column['formatterName'];\n}\n\nexport interface ChangeLabelActionPayload {\n columnId: FieldDef['id'];\n label: Column['label'];\n}\n\nexport interface SubmitChangeSetPayload {\n key: string;\n name: string;\n newValue: string | number | Date | boolean;\n oldValue: string | number | Date | boolean;\n status: string;\n}\n\n// Personalization Actions.\nexport type PersonalizationCreateAction = ReturnType<typeof Actions.actionPersonalizationCreate>;\nexport type PersonalizationDeleteAction = ReturnType<typeof Actions.actionPersonalizationDelete>;\nexport type PersonalizationEditAction = ReturnType<typeof Actions.actionPersonalizationEdit>;\nexport type PersonalizationSetActiveAction = ReturnType<\n typeof Actions.actionPersonalizationSetActive\n>;\nexport type PersonalizationSetAppDefaultAction = ReturnType<\n typeof Actions.actionPersonalizationSetAppDefault\n>;\nexport type PersonalizationSetDefaultAction = ReturnType<\n typeof Actions.actionPersonalizationSetDefault\n>;\nexport type PersonalizationUpdateAction = ReturnType<typeof Actions.actionPersonalizationUpdate>;\nexport type PersonalizationUpdateIdAction = ReturnType<\n typeof Actions.actionPersonalizationUpdateId\n>;\nexport type PersonalizationUpdatePresetIdAction = ReturnType<\n typeof Actions.actionPersonalizationUpdatePresetId\n>;\nexport type GetPersonalizationsAction = ReturnType<typeof Actions.actionGetPersonalizations>;\nexport type PersonalizationActions =\n | PersonalizationCreateAction\n | PersonalizationDeleteAction\n | PersonalizationEditAction\n | PersonalizationSetActiveAction\n | PersonalizationSetAppDefaultAction\n | PersonalizationSetDefaultAction\n | PersonalizationUpdateAction\n | PersonalizationUpdateIdAction\n | PersonalizationUpdatePresetIdAction\n | GetPersonalizationsAction;\n\n// TODO: Remove Action as function.The logic for Search global action function can be move to reducer.\n// Needs further refactor, but it is required to remove the Actions as function usecase in reducer.\nexport type ActionAsFunction = SearchGlobalActionAsFunction;\n\n// All Actions of type object with signature {type: TYPE: payload: PAYLOAD}\nconst { actionSearchGlobal, ...objectActions } = Actions;\nexport type Action = GenerateActionType<typeof objectActions> | SearchGlobalAction;\n\n// Generic Action that represents Actions as object and Action as function.\n// TODO Action as function should be removed, only one use case is present as of today which can be migrated to Action as object.\nexport type BaseAction = Action | ActionAsFunction;\n"]}
@@ -0,0 +1,9 @@
1
+ import type { Meta } from '../../../types/Meta.types';
2
+ export type DefaultConfigType = Required<Pick<Meta, 'template' | 'basicMode' | 'sortOrder' | 'defaultRowHeight' | 'allowBulkActions' | 'displayDensity' | 'height' | 'toggleFieldVisibility' | 'dynamicFieldTemplates' | 'grouping' | 'reorderFields' | 'globalSearch' | 'headerBar' | 'editing' | 'relativeDates' | 'showCount' | 'toolbar' | 'footer' | 'enableAppDefault' | 'personalization' | 'showHeaderIcons' | 'dragHandle' | 'reorderItems' | 'rowDensity' | 'resetColumnWidths' | 'enableFreezeColumns' | 'autoSizeColumns' | 'title' | 'icon' | 'nonPersonalizationViewName' | 'aggregateOptions' | 'locale' | 'timezone' | 'rowActions' | 'displayFeatures' | 'showErrorField'>> & {
3
+ defaultFieldDef: NonNullable<Meta['defaultFieldDef']>;
4
+ pageSize: Meta['pageSize'];
5
+ dateFunctions: Meta['dateFunctions'];
6
+ };
7
+ declare const DefaultConfig: DefaultConfigType;
8
+ export default DefaultConfig;
9
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/core/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACtC,IAAI,CACF,IAAI,EACF,UAAU,GACV,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,QAAQ,GACR,uBAAuB,GACvB,uBAAuB,GACvB,UAAU,GACV,eAAe,GACf,cAAc,GACd,WAAW,GACX,SAAS,GACT,eAAe,GACf,WAAW,GACX,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,GACjB,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,mBAAmB,GACnB,qBAAqB,GACrB,iBAAiB,GACjB,OAAO,GACP,MAAM,GACN,4BAA4B,GAC5B,kBAAkB,GAClB,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,iBAAiB,GACjB,gBAAgB,CACnB,CACF,GAAG;IACF,eAAe,EAAE,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;CACtC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,iBA0FpB,CAAC;AACF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,93 @@
1
+ const DefaultConfig = {
2
+ template: 'Table',
3
+ basicMode: false,
4
+ sortOrder: ['asc', 'desc', null],
5
+ defaultRowHeight: '1',
6
+ allowBulkActions: false,
7
+ pageSize: undefined,
8
+ defaultFieldDef: {
9
+ minWidth: 90,
10
+ filter: true,
11
+ filterPickList: false,
12
+ reorderFields: true,
13
+ sort: true,
14
+ resize: true,
15
+ autosize: true,
16
+ freeze: true,
17
+ aggregation: true,
18
+ /* sortRenderer: 'CustomSort', */
19
+ toggle: true,
20
+ show: true,
21
+ showMenu: true,
22
+ noContextMenu: false,
23
+ grouping: true,
24
+ hideGroupColumnNameLabel: false,
25
+ customizeColumn: true,
26
+ combineColumn: true
27
+ },
28
+ displayDensity: [
29
+ { name: 'Short', id: '1' },
30
+ { name: 'Medium', id: '2' },
31
+ { name: 'Tall', id: '3' },
32
+ { name: 'Full content', id: '4' }
33
+ ],
34
+ height: {
35
+ minHeight: 600
36
+ },
37
+ toggleFieldVisibility: true,
38
+ dynamicFieldTemplates: [
39
+ {
40
+ name: 'Comma separated',
41
+ value: 'comma',
42
+ selected: true
43
+ },
44
+ {
45
+ name: 'Space separated',
46
+ value: 'space'
47
+ },
48
+ {
49
+ name: 'Multi line',
50
+ value: 'multiline'
51
+ },
52
+ {
53
+ name: 'Forward slash',
54
+ value: 'forwardslash'
55
+ }
56
+ ],
57
+ grouping: true,
58
+ reorderFields: true,
59
+ autoSizeColumns: true,
60
+ enableFreezeColumns: true,
61
+ resetColumnWidths: true,
62
+ rowDensity: true,
63
+ reorderItems: false,
64
+ dragHandle: false,
65
+ showHeaderIcons: false,
66
+ globalSearch: true,
67
+ personalization: true,
68
+ enableAppDefault: false,
69
+ footer: true,
70
+ toolbar: true,
71
+ showCount: true,
72
+ dateFunctions: undefined,
73
+ relativeDates: false,
74
+ editing: false,
75
+ headerBar: false,
76
+ title: '<label not set>',
77
+ icon: 'picture',
78
+ nonPersonalizationViewName: 'Initial view',
79
+ aggregateOptions: {
80
+ number: ['Sum', 'Min', 'Max', 'Avg']
81
+ },
82
+ locale: 'en-US',
83
+ timezone: 'America/New_York',
84
+ rowActions: [],
85
+ displayFeatures: {
86
+ filter: true,
87
+ grouping: true,
88
+ sort: true
89
+ },
90
+ showErrorField: false
91
+ };
92
+ export default DefaultConfig;
93
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/core/config/config.ts"],"names":[],"mappings":"AAgDA,MAAM,aAAa,GAAsB;IACvC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,KAAK;IAChB,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC;IAChC,gBAAgB,EAAE,GAAG;IACrB,gBAAgB,EAAE,KAAK;IACvB,QAAQ,EAAE,SAAS;IACnB,eAAe,EAAE;QACf,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,IAAI;QACnB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,WAAW,EAAE,IAAI;QACjB,iCAAiC;QACjC,MAAM,EAAE,IAAI;QACZ,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,aAAa,EAAE,KAAK;QACpB,QAAQ,EAAE,IAAI;QACd,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EA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AE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACrC;IACD,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,EAAE;IACd,eAAe,EAAE;QACf,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACX;IACD,cAAc,EAAE,KAAK;CACtB,CAAC;AACF,eAAe,aAAa,CAAC","sourcesContent":["import type { Meta } from '../../../types/Meta.types';\n\nexport type DefaultConfigType = Required<\n Pick<\n Meta,\n | 'template'\n | 'basicMode'\n | 'sortOrder'\n | 'defaultRowHeight'\n | 'allowBulkActions'\n | 'displayDensity'\n | 'height'\n | 'toggleFieldVisibility'\n | 'dynamicFieldTemplates'\n | 'grouping'\n | 'reorderFields'\n | 'globalSearch'\n | 'headerBar'\n | 'editing'\n | 'relativeDates'\n | 'showCount'\n | 'toolbar'\n | 'footer'\n | 'enableAppDefault'\n | 'personalization'\n | 'showHeaderIcons'\n | 'dragHandle'\n | 'reorderItems'\n | 'rowDensity'\n | 'resetColumnWidths'\n | 'enableFreezeColumns'\n | 'autoSizeColumns'\n | 'title'\n | 'icon'\n | 'nonPersonalizationViewName'\n | 'aggregateOptions'\n | 'locale'\n | 'timezone'\n | 'rowActions'\n | 'displayFeatures'\n | 'showErrorField'\n >\n> & {\n defaultFieldDef: NonNullable<Meta['defaultFieldDef']>;\n pageSize: Meta['pageSize'];\n dateFunctions: Meta['dateFunctions'];\n};\n\nconst DefaultConfig: DefaultConfigType = {\n template: 'Table',\n basicMode: false,\n sortOrder: ['asc', 'desc', null],\n defaultRowHeight: '1',\n allowBulkActions: false,\n pageSize: undefined,\n defaultFieldDef: {\n minWidth: 90,\n filter: true,\n filterPickList: false,\n reorderFields: true,\n sort: true,\n resize: true,\n autosize: true,\n freeze: true,\n aggregation: true,\n /* sortRenderer: 'CustomSort', */\n toggle: true,\n show: true,\n showMenu: true,\n noContextMenu: false,\n grouping: true,\n hideGroupColumnNameLabel: false,\n customizeColumn: true,\n combineColumn: true\n },\n displayDensity: [\n { name: 'Short', id: '1' },\n { name: 'Medium', id: '2' },\n { name: 'Tall', id: '3' },\n { name: 'Full content', id: '4' }\n ],\n height: {\n minHeight: 600\n },\n toggleFieldVisibility: true,\n dynamicFieldTemplates: [\n {\n name: 'Comma separated',\n value: 'comma',\n selected: true\n },\n {\n name: 'Space separated',\n value: 'space'\n },\n {\n name: 'Multi line',\n value: 'multiline'\n },\n {\n name: 'Forward slash',\n value: 'forwardslash'\n }\n ],\n grouping: true,\n reorderFields: true,\n autoSizeColumns: true,\n enableFreezeColumns: true,\n resetColumnWidths: true,\n rowDensity: true,\n reorderItems: false,\n dragHandle: false,\n showHeaderIcons: false,\n globalSearch: true,\n personalization: true,\n enableAppDefault: false,\n footer: true,\n toolbar: true,\n showCount: true,\n dateFunctions: undefined,\n relativeDates: false,\n editing: false,\n headerBar: false,\n title: '<label not set>',\n icon: 'picture',\n nonPersonalizationViewName: 'Initial view',\n aggregateOptions: {\n number: ['Sum', 'Min', 'Max', 'Avg']\n },\n locale: 'en-US',\n timezone: 'America/New_York',\n rowActions: [],\n displayFeatures: {\n filter: true,\n grouping: true,\n sort: true\n },\n showErrorField: false\n};\nexport default DefaultConfig;\n"]}