@itwin/reports-config-widget-react 0.0.8 → 0.1.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 (171) hide show
  1. package/.rush/temp/package-deps_rebuild.json +23 -13
  2. package/.rush/temp/shrinkwrap-deps.json +1 -1
  3. package/CHANGELOG.json +12 -0
  4. package/CHANGELOG.md +8 -1
  5. package/coverage/clover.xml +354 -128
  6. package/coverage/coverage-final.json +17 -8
  7. package/coverage/lcov-report/index.html +36 -21
  8. package/coverage/lcov-report/src/ReportsConfigWidget.ts.html +2 -2
  9. package/coverage/lcov-report/src/index.html +1 -1
  10. package/coverage/lcov-report/src/test/index.html +1 -1
  11. package/coverage/lcov-report/src/test/test-utils.tsx.html +1 -1
  12. package/coverage/lcov-report/src/widget/ReportsConfigUiProvider.tsx.html +1 -1
  13. package/coverage/lcov-report/src/widget/components/ActionPanel.tsx.html +1 -1
  14. package/coverage/lcov-report/src/widget/components/AddMappingsModal.tsx.html +1 -1
  15. package/coverage/lcov-report/src/widget/components/BulkExtractor.ts.html +553 -0
  16. package/coverage/lcov-report/src/widget/components/Constants.ts.html +106 -0
  17. package/coverage/lcov-report/src/widget/components/DeleteModal.tsx.html +4 -4
  18. package/coverage/lcov-report/src/widget/components/Extraction.tsx.html +1 -1
  19. package/coverage/lcov-report/src/widget/components/ExtractionStates/FailedExtractionState.tsx.html +187 -0
  20. package/coverage/lcov-report/src/widget/components/ExtractionStates/QueuedExtractionState.tsx.html +145 -0
  21. package/coverage/lcov-report/src/widget/components/ExtractionStates/RunningExtractionState.tsx.html +139 -0
  22. package/coverage/lcov-report/src/widget/components/ExtractionStates/StartingExtractionState.tsx.html +151 -0
  23. package/coverage/lcov-report/src/widget/components/ExtractionStates/SucceededExtractionState.tsx.html +187 -0
  24. package/coverage/lcov-report/src/widget/components/ExtractionStates/index.html +176 -0
  25. package/coverage/lcov-report/src/widget/components/ExtractionStatus.tsx.html +295 -0
  26. package/coverage/lcov-report/src/widget/components/HorizontalTile.tsx.html +73 -40
  27. package/coverage/lcov-report/src/widget/components/LocalizedTablePaginator.tsx.html +1 -1
  28. package/coverage/lcov-report/src/widget/components/ReportAction.tsx.html +1 -1
  29. package/coverage/lcov-report/src/widget/components/ReportHorizontalTile.tsx.html +478 -0
  30. package/coverage/lcov-report/src/widget/components/ReportMappings.tsx.html +6 -24
  31. package/coverage/lcov-report/src/widget/components/Reports.tsx.html +129 -111
  32. package/coverage/lcov-report/src/widget/components/ReportsContainer.tsx.html +1 -1
  33. package/coverage/lcov-report/src/widget/components/SearchBar.tsx.html +5 -5
  34. package/coverage/lcov-report/src/widget/components/SelectIModel.tsx.html +1 -1
  35. package/coverage/lcov-report/src/widget/components/index.html +83 -23
  36. package/coverage/lcov-report/src/widget/components/utils.tsx.html +3 -3
  37. package/coverage/lcov-report/src/widget/context/ReportsApiConfigContext.tsx.html +4 -4
  38. package/coverage/lcov-report/src/widget/context/index.html +1 -1
  39. package/coverage/lcov-report/src/widget/hooks/index.html +1 -1
  40. package/coverage/lcov-report/src/widget/hooks/useValidator.ts.html +1 -1
  41. package/coverage/lcov-report/src/widget/index.html +1 -1
  42. package/coverage/lcov.info +699 -287
  43. package/jest.config.js +1 -0
  44. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  45. package/lib/cjs/widget/components/BulkExtractor.d.ts +28 -0
  46. package/lib/cjs/widget/components/BulkExtractor.d.ts.map +1 -0
  47. package/lib/cjs/widget/components/BulkExtractor.js +126 -0
  48. package/lib/cjs/widget/components/BulkExtractor.js.map +1 -0
  49. package/lib/cjs/widget/components/Constants.d.ts +4 -0
  50. package/lib/cjs/widget/components/Constants.d.ts.map +1 -0
  51. package/lib/cjs/widget/components/Constants.js +11 -0
  52. package/lib/cjs/widget/components/Constants.js.map +1 -0
  53. package/lib/cjs/widget/components/ExtractionStates/FailedExtractionState.d.ts +8 -0
  54. package/lib/cjs/widget/components/ExtractionStates/FailedExtractionState.d.ts.map +1 -0
  55. package/lib/cjs/widget/components/ExtractionStates/FailedExtractionState.js +23 -0
  56. package/lib/cjs/widget/components/ExtractionStates/FailedExtractionState.js.map +1 -0
  57. package/lib/cjs/widget/components/ExtractionStates/QueuedExtractionState.d.ts +3 -0
  58. package/lib/cjs/widget/components/ExtractionStates/QueuedExtractionState.d.ts.map +1 -0
  59. package/lib/cjs/widget/components/ExtractionStates/QueuedExtractionState.js +18 -0
  60. package/lib/cjs/widget/components/ExtractionStates/QueuedExtractionState.js.map +1 -0
  61. package/lib/cjs/widget/components/ExtractionStates/RunningExtractionState.d.ts +3 -0
  62. package/lib/cjs/widget/components/ExtractionStates/RunningExtractionState.d.ts.map +1 -0
  63. package/lib/cjs/widget/components/ExtractionStates/RunningExtractionState.js +17 -0
  64. package/lib/cjs/widget/components/ExtractionStates/RunningExtractionState.js.map +1 -0
  65. package/lib/cjs/widget/components/ExtractionStates/StartingExtractionState.d.ts +3 -0
  66. package/lib/cjs/widget/components/ExtractionStates/StartingExtractionState.d.ts.map +1 -0
  67. package/lib/cjs/widget/components/ExtractionStates/StartingExtractionState.js +18 -0
  68. package/lib/cjs/widget/components/ExtractionStates/StartingExtractionState.js.map +1 -0
  69. package/lib/cjs/widget/components/ExtractionStates/SucceededExtractionState.d.ts +8 -0
  70. package/lib/cjs/widget/components/ExtractionStates/SucceededExtractionState.d.ts.map +1 -0
  71. package/lib/cjs/widget/components/ExtractionStates/SucceededExtractionState.js +23 -0
  72. package/lib/cjs/widget/components/ExtractionStates/SucceededExtractionState.js.map +1 -0
  73. package/lib/cjs/widget/components/ExtractionStatus.d.ts +17 -0
  74. package/lib/cjs/widget/components/ExtractionStatus.d.ts.map +1 -0
  75. package/lib/cjs/widget/components/ExtractionStatus.js +76 -0
  76. package/lib/cjs/widget/components/ExtractionStatus.js.map +1 -0
  77. package/lib/cjs/widget/components/ExtractionStatus.scss +27 -0
  78. package/lib/cjs/widget/components/HorizontalTile.d.ts +8 -7
  79. package/lib/cjs/widget/components/HorizontalTile.d.ts.map +1 -1
  80. package/lib/cjs/widget/components/HorizontalTile.js +10 -6
  81. package/lib/cjs/widget/components/HorizontalTile.js.map +1 -1
  82. package/lib/cjs/widget/components/HorizontalTile.scss +42 -22
  83. package/lib/cjs/widget/components/ReportHorizontalTile.d.ts +16 -0
  84. package/lib/cjs/widget/components/ReportHorizontalTile.d.ts.map +1 -0
  85. package/lib/cjs/widget/components/ReportHorizontalTile.js +72 -0
  86. package/lib/cjs/widget/components/ReportHorizontalTile.js.map +1 -0
  87. package/lib/cjs/widget/components/ReportMappings.d.ts.map +1 -1
  88. package/lib/cjs/widget/components/ReportMappings.js +1 -1
  89. package/lib/cjs/widget/components/ReportMappings.js.map +1 -1
  90. package/lib/cjs/widget/components/Reports.d.ts.map +1 -1
  91. package/lib/cjs/widget/components/Reports.js +34 -26
  92. package/lib/cjs/widget/components/Reports.js.map +1 -1
  93. package/lib/cjs/widget/components/Reports.scss +7 -3
  94. package/lib/cjs/widget/components/SearchBar.js +1 -1
  95. package/lib/cjs/widget/components/SearchBar.js.map +1 -1
  96. package/lib/cjs/widget/components/SearchBar.scss +6 -0
  97. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  98. package/lib/esm/widget/components/BulkExtractor.d.ts +28 -0
  99. package/lib/esm/widget/components/BulkExtractor.d.ts.map +1 -0
  100. package/lib/esm/widget/components/BulkExtractor.js +123 -0
  101. package/lib/esm/widget/components/BulkExtractor.js.map +1 -0
  102. package/lib/esm/widget/components/Constants.d.ts +4 -0
  103. package/lib/esm/widget/components/Constants.d.ts.map +1 -0
  104. package/lib/esm/widget/components/Constants.js +8 -0
  105. package/lib/esm/widget/components/Constants.js.map +1 -0
  106. package/lib/esm/widget/components/ExtractionStates/FailedExtractionState.d.ts +8 -0
  107. package/lib/esm/widget/components/ExtractionStates/FailedExtractionState.d.ts.map +1 -0
  108. package/lib/esm/widget/components/ExtractionStates/FailedExtractionState.js +16 -0
  109. package/lib/esm/widget/components/ExtractionStates/FailedExtractionState.js.map +1 -0
  110. package/lib/esm/widget/components/ExtractionStates/QueuedExtractionState.d.ts +3 -0
  111. package/lib/esm/widget/components/ExtractionStates/QueuedExtractionState.d.ts.map +1 -0
  112. package/lib/esm/widget/components/ExtractionStates/QueuedExtractionState.js +11 -0
  113. package/lib/esm/widget/components/ExtractionStates/QueuedExtractionState.js.map +1 -0
  114. package/lib/esm/widget/components/ExtractionStates/RunningExtractionState.d.ts +3 -0
  115. package/lib/esm/widget/components/ExtractionStates/RunningExtractionState.d.ts.map +1 -0
  116. package/lib/esm/widget/components/ExtractionStates/RunningExtractionState.js +10 -0
  117. package/lib/esm/widget/components/ExtractionStates/RunningExtractionState.js.map +1 -0
  118. package/lib/esm/widget/components/ExtractionStates/StartingExtractionState.d.ts +3 -0
  119. package/lib/esm/widget/components/ExtractionStates/StartingExtractionState.d.ts.map +1 -0
  120. package/lib/esm/widget/components/ExtractionStates/StartingExtractionState.js +11 -0
  121. package/lib/esm/widget/components/ExtractionStates/StartingExtractionState.js.map +1 -0
  122. package/lib/esm/widget/components/ExtractionStates/SucceededExtractionState.d.ts +8 -0
  123. package/lib/esm/widget/components/ExtractionStates/SucceededExtractionState.d.ts.map +1 -0
  124. package/lib/esm/widget/components/ExtractionStates/SucceededExtractionState.js +16 -0
  125. package/lib/esm/widget/components/ExtractionStates/SucceededExtractionState.js.map +1 -0
  126. package/lib/esm/widget/components/ExtractionStatus.d.ts +17 -0
  127. package/lib/esm/widget/components/ExtractionStatus.d.ts.map +1 -0
  128. package/lib/esm/widget/components/ExtractionStatus.js +53 -0
  129. package/lib/esm/widget/components/ExtractionStatus.js.map +1 -0
  130. package/lib/esm/widget/components/ExtractionStatus.scss +27 -0
  131. package/lib/esm/widget/components/HorizontalTile.d.ts +8 -7
  132. package/lib/esm/widget/components/HorizontalTile.d.ts.map +1 -1
  133. package/lib/esm/widget/components/HorizontalTile.js +10 -6
  134. package/lib/esm/widget/components/HorizontalTile.js.map +1 -1
  135. package/lib/esm/widget/components/HorizontalTile.scss +42 -22
  136. package/lib/esm/widget/components/ReportHorizontalTile.d.ts +16 -0
  137. package/lib/esm/widget/components/ReportHorizontalTile.d.ts.map +1 -0
  138. package/lib/esm/widget/components/ReportHorizontalTile.js +65 -0
  139. package/lib/esm/widget/components/ReportHorizontalTile.js.map +1 -0
  140. package/lib/esm/widget/components/ReportMappings.d.ts.map +1 -1
  141. package/lib/esm/widget/components/ReportMappings.js +1 -1
  142. package/lib/esm/widget/components/ReportMappings.js.map +1 -1
  143. package/lib/esm/widget/components/Reports.d.ts.map +1 -1
  144. package/lib/esm/widget/components/Reports.js +36 -28
  145. package/lib/esm/widget/components/Reports.js.map +1 -1
  146. package/lib/esm/widget/components/Reports.scss +7 -3
  147. package/lib/esm/widget/components/SearchBar.js +1 -1
  148. package/lib/esm/widget/components/SearchBar.js.map +1 -1
  149. package/lib/esm/widget/components/SearchBar.scss +6 -0
  150. package/lib/public/locales/en/ReportsConfigWidget.json +2 -1
  151. package/package.json +5 -2
  152. package/public/locales/en/ReportsConfigWidget.json +2 -1
  153. package/reports-config-widget-react.build.error.log +4 -4
  154. package/reports-config-widget-react.build.log +44 -34
  155. package/src/widget/components/BulkExtractor.ts +156 -0
  156. package/src/widget/components/Constants.ts +7 -0
  157. package/src/widget/components/ExtractionStates/FailedExtractionState.tsx +34 -0
  158. package/src/widget/components/ExtractionStates/QueuedExtractionState.tsx +20 -0
  159. package/src/widget/components/ExtractionStates/RunningExtractionState.tsx +18 -0
  160. package/src/widget/components/ExtractionStates/StartingExtractionState.tsx +22 -0
  161. package/src/widget/components/ExtractionStates/SucceededExtractionState.tsx +34 -0
  162. package/src/widget/components/ExtractionStatus.scss +27 -0
  163. package/src/widget/components/ExtractionStatus.tsx +70 -0
  164. package/src/widget/components/HorizontalTile.scss +42 -22
  165. package/src/widget/components/HorizontalTile.tsx +45 -34
  166. package/src/widget/components/ReportHorizontalTile.tsx +131 -0
  167. package/src/widget/components/ReportMappings.tsx +4 -10
  168. package/src/widget/components/Reports.scss +7 -3
  169. package/src/widget/components/Reports.tsx +66 -60
  170. package/src/widget/components/SearchBar.scss +6 -0
  171. package/src/widget/components/SearchBar.tsx +1 -1
package/jest.config.js CHANGED
@@ -4,6 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  module.exports = {
6
6
  preset: 'ts-jest',
7
+ testTimeout: 10000,
7
8
  testEnvironment: 'jsdom',
8
9
  transform: {
9
10
  "\\.(ts)$": ['ts-jest'],